/* AZ Boutique front palette — cart, main header and PDP. */

/* STEP 9 — Cart product rows and functional cards. */
body.checkout-cart-index #shopping-cart-table > tbody > tr:nth-child(odd),
body.checkout-cart-index #shopping-cart-table > tbody > tr.odd {
    background-color: #fff !important;
    background-image: none !important;
}

body.checkout-cart-index #shopping-cart-table > tbody > tr:nth-child(even),
body.checkout-cart-index #shopping-cart-table > tbody > tr.even {
    background-color: #faf7f4 !important;
    background-image: none !important;
}

body.checkout-cart-index #shopping-cart-table > tbody > tr > td {
    background-color: transparent !important;
    background-image: none !important;
}

@media (max-width: 767px) {
    body.checkout-cart-index .cart-collaterals > .cart-left-column,
    body.checkout-cart-index .cart-collaterals .mobile-grid-half {
        box-sizing: border-box !important;
        float: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }

    body.checkout-cart-index .cart-collaterals .mobile-grid-half {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    body.checkout-cart-index .cart #azb-loyalty-cart .azb-loyalty-box {
        box-sizing: border-box;
        margin-left: -16px;
        width: calc(100% + 32px);
    }
}

body.checkout-cart-index .cart-collaterals .mobile-grid-half,
body.checkout-cart-index .cart .totals {
    background-color: #faf7f4 !important;
    background-image: linear-gradient(180deg, #ffffff 0%, #faf7f4 100%) !important;
}

/* Paint each complete card once; nested legacy panels must not add a gray/white layer. */
body.checkout-cart-index .cart .discount,
body.checkout-cart-index .cart #custshipping,
body.checkout-cart-index .cart .shipping,
body.checkout-cart-index .cart .totals .totals-inner,
body.checkout-cart-index .cart .totals .date-estimate-box,
body.checkout-cart-index .cart .totals #shopping-cart-totals-table,
body.checkout-cart-index .cart .totals #display-total-mobile,
body.checkout-cart-index .cart #azb-loyalty-cart {
    background-color: transparent !important;
    background-image: none !important;
}

body.checkout-cart-index .cart #azb-loyalty-cart .azb-loyalty-box {
    background-color: #faf7f4 !important;
    background-image: linear-gradient(180deg, #ffffff 0%, #faf7f4 100%) !important;
}

/* Join the cart directly to the eKomi band without exposing the page artwork. */
body.checkout-cart-index .footer-container2 > .ecomi-block {
    padding-top: 0 !important;
    background-image: none !important;
}

@media (min-width: 768px) {
    body.checkout-cart-index .cart .customorderplacebutton {
        display: none !important;
    }
}

/* STEP 10 — Main header only; the top utility bar remains untouched. */
.header-primary-container {
    background-color: #faf7f4 !important;
    background-image: none !important;
}

/* Utility strip: visible neutral gray, aligned with the established palette. */
.header-top-container {
    background-color: #e3e5e5 !important;
    background-image: none !important;
}

/* Keep the centred logo clear of the two 44px account/cart targets at 320px. */
@media (max-width: 350px) {
    html body .header-primary .logo-wrapper,
    html body .header-primary .logo,
    html body .header-primary .logo img {
        max-width: 118px !important;
        width: 118px !important;
    }
}

/* STEP 15 — PDP brand/collection attributes and tab strip. */
body.catalog-product-view .box-tabs .data-table tr.odd,
body.catalog-product-view .box-tabs .data-table tr.odd > th,
body.catalog-product-view .box-tabs .data-table tr.odd > td {
    background-color: #fff !important;
    background-image: none !important;
}

body.catalog-product-view .box-tabs .data-table tr.even,
body.catalog-product-view .box-tabs .data-table tr.even > th,
body.catalog-product-view .box-tabs .data-table tr.even > td,
body.catalog-product-view .gen-tabs .tabs {
    background-color: #faf7f4 !important;
    background-image: none !important;
}

body.catalog-product-view .gen-tabs .acctab:not(.current) {
    background-color: #faf7f4 !important;
}
