/* === INICIO CARRITO === */
.seccion-carrito {
    padding-bottom: 6rem;
}

.card-collapse.collapsed {
    padding: 1.6rem;
    border: 1px solid var(--gray-400);
    border-radius: 0;
    font-size: 1.375rem;
    color: var(--primary-color);
    background: transparent;
    transition: all 0.3s;
}
.card-collapse.collapsed:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.card-collapse {
    width: 100%;
    padding: 1.6rem;
    border: 1px solid var(--gray-400);
    border-radius: 0;
    background: transparent;
    font-size: 1.375rem;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.collapse {
    border-top: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.collapse.show {
    /* border: 1px solid var(--gray-400); */
    border-top: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.container-carrito {
    border: 1px solid var(--gray-400);
    padding-top: 2.4rem;
    padding-bottom: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.table-cart {
    width: 100%;
    margin-top: 2rem;
    border-collapse: collapse;
}
.table th,
.table td {
    border-top: none;
    border-bottom: 0.1rem solid #ebebeb;
}
.table th {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--secondary-color);
    padding-left: 0;
    padding-right: 0;
    padding-top: 1.4rem;
    padding-bottom: 1.4rem;
}
.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
}
.table td {
    padding-top: 1.4rem;
    padding-bottom: 1.4rem;
    padding-left: 0;
    padding-right: 0.875rem;
    vertical-align: middle;
}

.product-col .product {
    display: flex;
    align-items: center;
    column-gap: 1rem;
    box-shadow: none;
    margin: 0 auto;
}

.product-col .product-media {
    margin-bottom: 0;
        padding: 0;
    width: unset;
    width: 60px;
    max-width: 60px;
    min-width: 60px;
}
.product-col .product-media img {
    display: block;
    width: 60px;
}
.product-col .product-title a {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.25;
    margin: 0;
}
.link-product-carrito {
    font-size: 0.875rem;
    line-height: 1.2;
}
.table .price-col {
    color: var(--secondary-color);
    font-weight: 400;
    font-size: 1rem;
    white-space: nowrap;
}
.table .total-col {
    white-space: nowrap;
    font-size: 1rem;
    font-weight: 400;
    color: var(--secondary-color);
}
.cart-bottom {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}
.cart-discount {
    margin-top: 1rem;
    margin-left: auto;
    width: 320px;
}
.cart-discount p {
    font-size: 0.94rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}
.form-verificar-cupon {
    height: 46px;
    padding-left: 0.5rem;
    border-radius: 0;
    position: relative;
    border: 1px solid var(--secondary-color);
    overflow: hidden;
}
.form-verificar-cupon input {
    border: 0;
    width: 100%;
    height: 100%;
    padding-left: 1rem;
}
.btn-canjear {
    background: var(--primary-color);
    border-radius: 0;
    color: var(--white);
    font-size: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    height: 38px;
    position: absolute;
    top: 50%;
    right: 2px;
    transform: translateY(-50%);
    border: 0;
    outline: 0;
}
/* Total */
.summary {
    padding: 1.6rem;
    border: 0.1rem dashed var(--gray-400);
    background-color: var(--gray-100);
    border-radius: 0;
    margin-bottom: 2rem;
}
.table-summary {
    width: 100%;
}
.summary-title {
    font-weight: 600;
    font-size: 1.125rem;
    letter-spacing: 0.5px;
    padding-bottom: 1rem;
    border-bottom: 0.1rem solid var(--gray-400);
    margin-bottom: 1.4rem;
}
.summary-subtotal td:nth-child(1) {
    text-align: left;
}
.summary-subtotal td:nth-child(2) {
    text-align: right;
}
.summary-envio td:nth-child(1) {
    text-align: left;
    color: var(--gray-text);
    font-size: 0.9rem;
}
.summary-envio td:nth-child(2) {
    text-align: right;
    color: var(--gray-text);
    font-size: 0.9rem;
}
.summary-total td:nth-child(1) {
    text-align: left;
    color: var(--primary-color);
    font-size: 1.125rem;
}
.summary-total td:nth-child(2) {
    text-align: right;
    color: var(--primary-color);
    font-size: 1.125rem;
}
.lista-btn-carrito {
    padding-left: 0;
    margin-top: 1.6rem;
    margin-bottom: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.btn-checkout-line {
    height: 48px;
    width: 100%;
    font-size: 1rem;
    letter-spacing: 0.02rem;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 0.5rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    transition: all 0.3s;
}
.btn-checkout-line:hover {
    color: var(--primary-color);
    background: var(--white);
    border: 1px solid var(--secondary-color);
}

/* Fin Total */

@media screen and (max-width: 1100px) {
    .titulo-banner {
        font-size: 2rem;
    }
    .card-collapse {
        font-size: 1.2rem;
    }
    .table {
        margin-bottom: 3rem;
    }

    .table thead {
        display: none;
    }
    .table tr .product-col {
        margin: 0 auto;
        padding-bottom: 0.6rem;
    }
    .table tr td {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.1rem 0;
        border-bottom: none;
        flex-direction: column;
    }
    .table .product-col .product {
        padding-right: 0;
        justify-content: center;
    }
    .table .product-col .product-title {
        text-align: left;
    }
    .table,
    .table tbody,
    .table tr,
    .table td {
        width: 100%;
        display: block;
    }
    .table .remove-col {
        padding-bottom: 1rem;
        border-bottom: 1px solid #28326f4f;
    }
    .table .remove-col .card-btn-remove {
        color: var(--red);
    }
    .table .quantity-col {
        margin: 1rem 0;
    }
    td[data-title]::before {
        content: attr(data-title);
    }
    .cart-bottom {
        justify-content: center;
    }
    .cart-discount {
        margin: 0 auto;
    }
    .cart-discount p {
        text-align: center;
    }
    .table-summary tr {
        display: flex;
        justify-content: space-between;
        width: 100%;
        margin-bottom: 1rem;
    }
}

@media screen and (max-width: 768px) {
    .form-box {
        padding: 1.6rem;
    }
    .nav.nav-pills.nav-login .nav-item .nav-link {
        padding-left: 1.2rem;
        padding-right: 1.2rem;
        font-size: 1.2rem;
    }
    .row-redes {
        gap: 1rem;
    }
    .prods-summary .table-summary {
        display: block;
    }
    .prods-summary .table-summary tr {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .prods-summary .table-summary tr td {
        display: block;
        padding-left: 0;
        padding-right: 0;
        text-align: center;
    }
    .summary-link {
        justify-content: center;
    }
}

/* === FIN CARRITO === */