/* =========================
   CARRITO PARFUM BA
========================= */

.cart-page {
    padding: 145px 7% 110px;
}


/* =========================
   ENCABEZADO
========================= */

.cart-header {
    margin-bottom: 75px;
}

.cart-header p {
    margin: 0 0 20px;

    font-size: 10px;
    letter-spacing: 4px;

    color: #777;
}

.cart-header h1 {
    margin: 0;

    font-size: clamp(55px, 8vw, 115px);

    line-height: 0.86;

    font-weight: 400;

    letter-spacing: -5px;
}


/* =========================
   LAYOUT
========================= */

.cart-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        340px;

    gap: 80px;

    align-items: start;
}


/* =========================
   PRODUCTO
========================= */

.cart-product {

    display: grid;

    grid-template-columns:
        145px
        minmax(0, 1fr)
        auto;

    gap: 28px;

    padding: 25px 0;

    border-top: 1px solid #dedbd7;

}


/* =========================
   IMAGEN
========================= */

.cart-product img {

    width: 145px;
    height: 175px;

    object-fit: cover;

    background: #ebe7e1;

    display: block;
}


/* =========================
   INFORMACIÓN
========================= */

.cart-product-info {

    padding-top: 5px;
}

.cart-product-info h3 {

    margin: 0 0 10px;

    font-size: 18px;

    font-weight: 400;

    letter-spacing: 0.2px;
}

.cart-product-info p {

    margin: 0;

    font-size: 12px;

    color: #777;
}


/* =========================
   CANTIDAD
========================= */

.quantity {

    display: flex;

    align-items: center;

    gap: 14px;

    margin-top: 35px;
}

.quantity button {

    width: 30px;
    height: 30px;

    border: 1px solid #d2cec9;

    background: transparent;

    font-size: 17px;

    font-weight: 300;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.quantity button:hover {

    background: #1d1d1d;

    color: white;
}

.quantity span {

    min-width: 15px;

    text-align: center;

    font-size: 12px;
}


/* =========================
   PRECIO / ELIMINAR
========================= */

.cart-product-right {

    text-align: right;

    padding-top: 5px;
}

.cart-product-right strong {

    display: block;

    font-size: 14px;

    font-weight: 400;
}

.remove-product {

    margin-top: 30px;

    padding: 0;

    border: none;

    background: transparent;

    color: #777;

    font-family: inherit;

    font-size: 9px;

    letter-spacing: 1.3px;

    text-transform: uppercase;

    text-decoration: underline;

    cursor: pointer;
}

.remove-product:hover {

    color: #1d1d1d;
}


/* =========================
   RESUMEN
========================= */

.cart-summary {

    position: sticky;

    top: 110px;

    padding: 30px;

    background: #ebe7e1;
}

.cart-summary > p {

    margin: 0 0 30px;

    font-size: 10px;

    letter-spacing: 2.5px;

    color: #555;
}


/* =========================
   TOTAL
========================= */

.cart-total-row {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 22px 0;

    border-top: 1px solid #ccc;

    border-bottom: 1px solid #ccc;

    margin-bottom: 25px;
}

.cart-total-row span {

    font-size: 12px;
}

.cart-total-row strong {

    font-size: 20px;

    font-weight: 400;
}


/* =========================
   WHATSAPP
========================= */

.whatsapp-button {

    width: 100%;

    padding: 17px;

    border: none;

    background: #1d1d1d;

    color: white;

    font-family: inherit;

    font-size: 9px;

    letter-spacing: 2px;

    cursor: pointer;

    transition: opacity 0.25s ease;
}

.whatsapp-button:hover {

    opacity: 0.75;
}

.cart-summary small {

    display: block;

    margin-top: 20px;

    font-size: 10px;

    line-height: 1.7;

    color: #777;
}


/* =========================
   CARRITO VACÍO
========================= */

.cart-empty {

    padding: 90px 30px;

    text-align: center;

    border-top: 1px solid #dedbd7;

    border-bottom: 1px solid #dedbd7;
}

.cart-empty h2 {

    margin: 0 0 15px;

    font-size: 25px;

    font-weight: 400;
}

.cart-empty p {

    margin: 0 0 30px;

    font-size: 13px;

    color: #777;
}


/* =========================
   TABLET
========================= */

@media (max-width: 950px) {

    .cart-layout {

        grid-template-columns: 1fr;

        gap: 50px;
    }

    .cart-summary {

        position: static;
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .cart-page {

        padding: 110px 20px 70px;
    }

    .cart-header {

        margin-bottom: 50px;
    }

    .cart-header h1 {

        font-size: 55px;

        letter-spacing: -3px;
    }

    .cart-product {

        grid-template-columns:
            90px
            minmax(0, 1fr);

        gap: 15px;

        padding: 20px 0;
    }

    .cart-product img {

        width: 90px;
        height: 115px;
    }

    .cart-product-info h3 {

        font-size: 15px;
    }

    .quantity {

        margin-top: 20px;
    }

    .cart-product-right {

        grid-column: 2;

        display: flex;

        align-items: center;

        justify-content: space-between;

        text-align: left;

        padding-top: 0;
    }

    .remove-product {

        margin-top: 0;
    }

    .cart-summary {

        padding: 25px;
    }

}

/* =========================
   ENVÍOS
========================= */

.shipping-info {

    margin-top: 90px;

    padding-top: 35px;

    border-top: 1px solid #dedbd7;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 50px;
}

.shipping-option {

    display: flex;

    gap: 20px;

    align-items: flex-start;
}

.shipping-option > span {

    font-size: 9px;

    letter-spacing: 1.5px;

    color: #999;

    padding-top: 2px;
}

.shipping-option h3 {

    margin: 0 0 10px;

    font-size: 10px;

    letter-spacing: 1.8px;

    font-weight: 400;
}

.shipping-option p {

    max-width: 300px;

    margin: 0;

    font-size: 11px;

    line-height: 1.6;

    color: #777;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

    .shipping-info {

        grid-template-columns: 1fr;

        gap: 30px;

        margin-top: 65px;

        padding-top: 30px;
    }

}