/* =========================================================
   AUREN LEATHER
   CART PAGE
========================================================= */

.cart-container {
    width: min(1200px, 92%);
    margin: auto;
}


/* =========================================
   CART PAGE
========================================= */

.cart-page {
    padding: 70px 0 100px;
    background: #fff;
}


/* =========================================
   HEADING
========================================= */

.cart-heading {
    text-align: center;
    margin-bottom: 55px;
}

.cart-heading > span {
    color: #96704e;
    font-size: 11px;
    letter-spacing: 2.5px;
    font-weight: 700;
}

.cart-heading h1 {
    margin: 10px 0 12px;
    font-size: clamp(36px, 5vw, 52px);
    line-height: 1.1;
    font-weight: 500;
    color: #292017;
}

.cart-heading p {
    margin: 0 auto;
    max-width: 550px;
    color: #777;
    line-height: 1.7;
    font-size: 15px;
}


/* =========================================
   CART CONTENT
========================================= */

.cart-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 55px;
    align-items: start;
}


/* =========================================
   CART ITEMS
========================================= */

.cart-items-section {
    min-width: 0;
}

.cart-items-header {
    display: grid;
    grid-template-columns: minmax(250px, 1fr) 110px 145px 110px;
    gap: 20px;
    padding: 0 0 15px;
    border-bottom: 1px solid #dcd5cc;
    color: #777;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.cart-items-header span:not(:first-child) {
    text-align: center;
}


/* =========================================
   CART ITEM
========================================= */

.cart-item {
    display: grid;
    grid-template-columns: minmax(250px, 1fr) 110px 145px 110px;
    gap: 20px;
    align-items: center;
    padding: 25px 0;
    border-bottom: 1px solid #e8e2da;
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
}

.cart-product-image {
    flex: 0 0 105px;
    width: 105px;
    height: 85px;
    background: #f5f1eb;
    overflow: hidden;
}

.cart-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-product-info {
    min-width: 0;
}

.cart-product-category {
    display: block;
    margin-bottom: 6px;
    color: #96704e;
    font-size: 10px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.cart-product-name {
    display: block;
    color: #292017;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.35;
}

.cart-product-name:hover {
    color: #8a5a35;
}

.cart-product-remove {
    margin-top: 9px;
    padding: 0;
    border: none;
    background: none;
    color: #999;
    cursor: pointer;
    font-family: inherit;
    font-size: 11px;
    text-decoration: underline;
}

.cart-product-remove:hover {
    color: #8a5a35;
}


/* =========================================
   PRICE
========================================= */

.cart-item-price,
.cart-item-total {
    text-align: center;
    color: #292017;
    font-size: 14px;
    font-weight: 600;
}


/* =========================================
   QUANTITY
========================================= */

.cart-quantity {
    width: 120px;
    height: 42px;
    margin: auto;
    border: 1px solid #d8d0c7;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-quantity button {
    width: 38px;
    height: 100%;
    border: none;
    background: transparent;
    color: #292017;
    cursor: pointer;
}

.cart-quantity button:hover {
    background: #f5f1eb;
}

.cart-quantity span {
    font-size: 13px;
    font-weight: 700;
}


/* =========================================
   CART BOTTOM ACTIONS
========================================= */

.cart-actions-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 25px;
}

.continue-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #292017;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.continue-link:hover {
    color: #8a5a35;
}

.clear-cart-btn {
    padding: 0;
    border: none;
    background: none;
    color: #999;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    text-decoration: underline;
}

.clear-cart-btn:hover {
    color: #8a5a35;
}


/* =========================================
   ORDER SUMMARY
========================================= */

.cart-summary {
    position: sticky;
    top: 25px;
    padding: 30px;
    background: #f7f3ee;
}

.cart-summary h2 {
    margin: 0 0 28px;
    color: #292017;
    font-size: 24px;
    font-weight: 500;
}

.summary-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 0;
    color: #666;
    font-size: 14px;
}

.summary-row strong {
    max-width: 170px;
    color: #292017;
    font-weight: 600;
    text-align: right;
    font-size: 13px;
}

.summary-divider {
    height: 1px;
    margin: 20px 0;
    background: #ddd4ca;
}

.summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #292017;
}

.summary-total span {
    font-size: 15px;
    font-weight: 700;
}

.summary-total strong {
    font-size: 23px;
}

.tax-note {
    margin: 15px 0 25px;
    color: #888;
    font-size: 11px;
    line-height: 1.6;
}


/* =========================================
   CHECKOUT BUTTON
========================================= */

.checkout-btn {
    min-height: 55px;
    padding: 15px 18px;
    background: #292017;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.3px;
    transition: 0.3s;
}

.checkout-btn:hover {
    background: #4b3727;
}

.checkout-btn.disabled {
    opacity: 0.45;
    pointer-events: none;
}


/* =========================================
   SECURE CHECKOUT
========================================= */

.secure-checkout {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: #777;
    font-size: 11px;
}

.secure-checkout i {
    color: #96704e;
}


/* =========================================
   BENEFITS
========================================= */

.cart-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 80px;
    background: #ddd5cc;
}

.cart-benefit {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px;
    background: white;
}

.cart-benefit > i {
    width: 28px;
    color: #96704e;
    font-size: 19px;
}

.cart-benefit strong,
.cart-benefit span {
    display: block;
}

.cart-benefit strong {
    margin-bottom: 4px;
    color: #292017;
    font-size: 13px;
}

.cart-benefit span {
    color: #888;
    font-size: 11px;
    line-height: 1.5;
}


/* =========================================
   EMPTY CART
========================================= */

.empty-cart {
    max-width: 650px;
    margin: 0 auto;
    padding: 70px 30px;
    text-align: center;
    background: #f7f3ee;
}

.empty-cart-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 25px;
    border: 1px solid #d6cabe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #96704e;
    font-size: 25px;
}

.empty-cart h2 {
    margin: 0 0 12px;
    color: #292017;
    font-size: 30px;
    font-weight: 500;
}

.empty-cart p {
    max-width: 450px;
    margin: 0 auto 30px;
    color: #777;
    font-size: 14px;
    line-height: 1.7;
}

.continue-shopping-btn {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    background: #292017;
    color: white;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.continue-shopping-btn:hover {
    background: #4b3727;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1000px) {

    .cart-content {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .cart-summary {
        position: static;
    }

}


@media (max-width: 760px) {

    .cart-items-header {
        display: none;
    }

    .cart-item {
        grid-template-columns: 1fr auto;
        gap: 15px;
        position: relative;
        padding: 22px 0;
    }

    .cart-product {
        grid-column: 1 / -1;
    }

    .cart-item-price {
        text-align: left;
    }

    .cart-quantity {
        margin: 0;
    }

    .cart-item-total {
        display: none;
    }

    .cart-actions-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .cart-benefits {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 500px) {

    .cart-page {
        padding-top: 45px;
    }

    .cart-summary {
        padding: 22px;
    }

    .cart-product-image {
        flex-basis: 85px;
        width: 85px;
        height: 70px;
    }

    .cart-product-name {
        font-size: 14px;
    }

}