
/* =========================================================
   ZASH Kitchen Premium Cart — v4.3
   ========================================================= */

body.woocommerce-cart .zash-page-wrap{
    background:
        radial-gradient(circle at 10% 4%,rgba(215,162,58,.09),transparent 25%),
        linear-gradient(180deg,#f6f2e9 0%,#f1eee7 100%);
    padding-top:0;
    padding-bottom:64px;
}

body.woocommerce-cart .zash-page-title{
    display:none;
}

body.woocommerce-cart .zash-page-content{
    max-width:1180px;
    margin:0 auto;
    padding:0;
    background:transparent;
    border-radius:0;
}

/* ---------- Hero ---------- */
.zash-cart-hero{
    max-width:1180px;
    margin:0 auto 22px;
    padding:34px 36px;
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:24px;
    color:#fff;
    border-radius:0 0 22px 22px;
    background:
        radial-gradient(circle at 88% 20%,rgba(215,162,58,.15),transparent 28%),
        linear-gradient(135deg,#080c12 0%,#101722 58%,#17120c 100%);
    border-bottom:1px solid rgba(215,162,58,.5);
    box-shadow:0 18px 40px rgba(13,17,23,.15);
}

.zash-cart-kicker{
    display:block;
    margin-bottom:8px;
    color:#d7a23a;
    font-size:10px;
    font-weight:900;
    letter-spacing:2px;
}

.zash-cart-hero h1{
    margin:0;
    color:#fff;
    font-family:Georgia,serif;
    font-size:clamp(42px,5vw,64px);
    line-height:1;
}

.zash-cart-hero p{
    margin:10px 0 0;
    color:#b7c0cc;
    font-size:15px;
}

.zash-cart-hero-badges{
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-end;
    gap:8px;
}

.zash-cart-hero-badges span{
    padding:8px 10px;
    border:1px solid rgba(215,162,58,.25);
    border-radius:999px;
    background:rgba(255,255,255,.03);
    color:#d7dee8;
    font-size:11px;
    font-weight:700;
}

/* ---------- Main cart layout ---------- */
body.woocommerce-cart .woocommerce{
    display:grid;
    grid-template-columns:minmax(0,1.65fr) minmax(320px,.8fr);
    gap:22px;
    align-items:start;
}

body.woocommerce-cart .woocommerce-notices-wrapper,
body.woocommerce-cart .woocommerce>.zash-cart-hero,
body.woocommerce-cart .woocommerce>.zash-cart-trust-strip{
    grid-column:1/-1;
}

body.woocommerce-cart .woocommerce-cart-form{
    margin:0;
    padding:20px;
    border:1px solid #e5ddcf;
    border-radius:20px;
    background:#fff;
    box-shadow:0 18px 45px rgba(20,25,34,.07);
}

body.woocommerce-cart .cart-collaterals{
    margin:0;
    width:auto!important;
    float:none!important;
    position:sticky;
    top:95px;
}

body.woocommerce-cart .cart_totals{
    width:100%!important;
    float:none!important;
    margin:0!important;
    padding:22px;
    border-radius:20px;
    background:#0b111a;
    border:1px solid rgba(215,162,58,.28);
    box-shadow:0 18px 44px rgba(12,17,24,.17);
    color:#fff;
}

body.woocommerce-cart .cart_totals h2{
    margin:0 0 16px;
    padding-bottom:14px;
    border-bottom:1px solid rgba(255,255,255,.1);
    color:#f7f3eb;
    font-family:Georgia,serif;
    font-size:28px;
}

body.woocommerce-cart .cart_totals table{
    border-collapse:collapse!important;
    border:0!important;
    background:transparent!important;
}

body.woocommerce-cart .cart_totals th,
body.woocommerce-cart .cart_totals td{
    padding:13px 0!important;
    border:0!important;
    border-bottom:1px solid rgba(255,255,255,.09)!important;
    background:transparent!important;
    color:#d8dee7!important;
}

body.woocommerce-cart .cart_totals td{
    text-align:right;
}

body.woocommerce-cart .cart_totals .order-total th,
body.woocommerce-cart .cart_totals .order-total td{
    color:#e8b955!important;
    font-size:20px;
    font-weight:900;
}

body.woocommerce-cart .wc-proceed-to-checkout{
    padding:16px 0 0!important;
}

body.woocommerce-cart .checkout-button{
    min-height:54px;
    display:flex!important;
    align-items:center;
    justify-content:center;
    border-radius:11px!important;
    background:linear-gradient(135deg,#f0c464,#c78a20)!important;
    color:#16110a!important;
    font-size:15px!important;
    font-weight:900!important;
    box-shadow:0 12px 26px rgba(199,138,32,.2);
}

body.woocommerce-cart .checkout-button:after{
    content:" →";
    margin-left:7px;
    font-size:18px;
}

body.woocommerce-cart .checkout-button:hover{
    transform:translateY(-1px);
    filter:brightness(1.03);
}

/* ---------- Cart table ---------- */
body.woocommerce-cart table.shop_table{
    margin:0!important;
    border:0!important;
    border-collapse:separate!important;
    border-spacing:0;
}

body.woocommerce-cart table.shop_table thead th{
    padding:0 0 14px!important;
    border-bottom:1px solid #e8e0d4!important;
    background:transparent!important;
    color:#7b6e5a!important;
    font-size:10px!important;
    font-weight:900!important;
    letter-spacing:1.2px;
    text-transform:uppercase;
}

body.woocommerce-cart table.shop_table td{
    padding:18px 8px!important;
    border-top:0!important;
    border-bottom:1px solid #eee7dc!important;
    background:transparent!important;
    vertical-align:middle!important;
}

body.woocommerce-cart .product-thumbnail img{
    width:86px!important;
    min-width:86px;
    border-radius:12px;
    border:1px solid #e6dfd4;
    box-shadow:0 7px 18px rgba(16,20,26,.08);
}

body.woocommerce-cart .product-name a{
    color:#17191e!important;
    font-weight:900;
    font-size:15px;
}

body.woocommerce-cart .product-name p,
body.woocommerce-cart .product-name .variation{
    color:#6b7280!important;
    font-size:12px;
}

body.woocommerce-cart .product-price,
body.woocommerce-cart .product-subtotal{
    color:#a66f0c!important;
    font-weight:850;
}

body.woocommerce-cart .quantity{
    display:inline-flex!important;
    align-items:center;
    border:1px solid #d9d3ca;
    border-radius:10px;
    overflow:hidden;
    background:#fff;
}

body.woocommerce-cart .quantity .qty{
    min-height:39px;
    width:58px!important;
    border:0!important;
    text-align:center;
    font-weight:800;
    background:transparent;
}

body.woocommerce-cart .product-remove a{
    width:34px;
    height:34px;
    display:grid!important;
    place-items:center;
    border:1px solid #e0d9ce;
    border-radius:9px;
    color:#7a4d42!important;
    background:#fff;
}

body.woocommerce-cart .product-remove a:hover{
    background:#181d26;
    color:#fff!important;
    border-color:#181d26;
}

/* Coupon */
body.woocommerce-cart .actions{
    padding-top:18px!important;
    border-bottom:0!important;
}

body.woocommerce-cart .coupon{
    display:flex;
    gap:8px;
    align-items:center;
    width:100%;
    padding:14px;
    border-radius:13px;
    background:#faf7f0;
    border:1px solid #eadfca;
}

body.woocommerce-cart .coupon:before{
    content:"🎟️";
    font-size:20px;
}

body.woocommerce-cart .coupon input{
    min-height:43px;
    flex:1;
    border:1px solid #d9d9dc!important;
    border-radius:9px!important;
    padding:8px 10px!important;
    background:#fff!important;
}

body.woocommerce-cart .coupon button,
body.woocommerce-cart .actions>button{
    min-height:43px!important;
    border-radius:9px!important;
    border:1px solid #c99936!important;
    background:#111722!important;
    color:#e8b954!important;
    font-weight:850!important;
}

body.woocommerce-cart .coupon button:hover,
body.woocommerce-cart .actions>button:hover{
    background:#d7a23a!important;
    color:#15110b!important;
}

/* ---------- Delivery note ---------- */
.zash-cart-delivery-note{
    display:flex;
    align-items:flex-start;
    gap:14px;
    margin-top:16px;
    padding:16px;
    border-radius:14px;
    background:#0d131c;
    border:1px solid rgba(215,162,58,.22);
    color:#fff;
}

.zash-cart-note-icon{
    width:44px;
    height:44px;
    flex:0 0 44px;
    display:grid;
    place-items:center;
    border-radius:11px;
    background:rgba(215,162,58,.12);
    font-size:20px;
}

.zash-cart-delivery-note strong{
    display:block;
    margin-bottom:4px;
    color:#f0c66b;
}

.zash-cart-delivery-note p{
    margin:0;
    color:#aeb7c3;
    font-size:12px;
    line-height:1.5;
}

/* ---------- Trust strip ---------- */
.zash-cart-trust-strip{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:1px;
    margin-top:4px;
    overflow:hidden;
    border-radius:16px;
    background:#2a3038;
    border:1px solid #343b44;
}

.zash-cart-trust-strip>div{
    display:grid;
    grid-template-columns:42px 1fr;
    grid-template-rows:auto auto;
    column-gap:12px;
    padding:18px 20px;
    background:#10161f;
}

.zash-cart-trust-strip span{
    grid-row:1/3;
    display:grid;
    place-items:center;
    color:#e5b750;
    font-size:23px;
}

.zash-cart-trust-strip strong{
    color:#fff;
    font-size:13px;
}

.zash-cart-trust-strip small{
    color:#919ba8;
    font-size:10px;
}

/* ---------- Unique View Cart button after AJAX add-to-cart ---------- */
.woocommerce a.added_to_cart,
.woocommerce-page a.added_to_cart{
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    min-height:44px;
    margin-left:8px!important;
    padding:0 16px!important;
    border:1px solid #d7a23a!important;
    border-radius:10px!important;
    background:#10161f!important;
    color:#e9bd5b!important;
    font-size:12px!important;
    font-weight:900!important;
    text-decoration:none!important;
    vertical-align:middle;
    box-shadow:0 7px 18px rgba(16,22,31,.12);
}

.woocommerce a.added_to_cart:before,
.woocommerce-page a.added_to_cart:before{
    content:"🛒";
    margin-right:7px;
    font-size:14px;
}

.woocommerce a.added_to_cart:hover,
.woocommerce-page a.added_to_cart:hover{
    background:#d7a23a!important;
    color:#15110b!important;
    transform:translateY(-1px);
}

/* ---------- Responsive ---------- */
@media(max-width:900px){
    .zash-cart-hero{
        align-items:flex-start;
        flex-direction:column;
        padding:28px 24px;
    }

    .zash-cart-hero-badges{
        justify-content:flex-start;
    }

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

    body.woocommerce-cart .cart-collaterals{
        position:static;
    }

    .zash-cart-trust-strip{
        grid-template-columns:1fr;
    }
}

@media(max-width:620px){
    body.woocommerce-cart .zash-page-wrap{
        padding-bottom:42px;
    }

    .zash-cart-hero{
        margin-bottom:14px;
        padding:23px 17px;
        border-radius:0 0 16px 16px;
    }

    body.woocommerce-cart .woocommerce-cart-form{
        padding:13px;
        border-radius:15px;
    }

    body.woocommerce-cart table.shop_table_responsive tr{
        display:grid!important;
        grid-template-columns:76px 1fr;
        gap:8px 10px;
        padding:12px 0;
        border-bottom:1px solid #eee7dc;
    }

    body.woocommerce-cart table.shop_table_responsive tr td{
        padding:4px 0!important;
        border:0!important;
        text-align:left!important;
    }

    body.woocommerce-cart table.shop_table_responsive tr td:before{
        display:none!important;
    }

    body.woocommerce-cart .product-thumbnail{
        display:block!important;
        grid-row:1/4;
    }

    body.woocommerce-cart .product-thumbnail img{
        width:70px!important;
        min-width:70px;
    }

    body.woocommerce-cart .product-name,
    body.woocommerce-cart .product-price,
    body.woocommerce-cart .product-quantity,
    body.woocommerce-cart .product-subtotal,
    body.woocommerce-cart .product-remove{
        grid-column:2;
    }

    body.woocommerce-cart .coupon{
        flex-wrap:wrap;
    }

    body.woocommerce-cart .coupon input{
        flex:1 1 100%;
    }

    body.woocommerce-cart .cart_totals{
        padding:18px;
    }
}


/* =========================================================
   v4.4 — WooCommerce Cart Block support
   The user's Cart page uses the WooCommerce Cart BLOCK,
   not the old classic [woocommerce_cart] markup.
   ========================================================= */

body.woocommerce-cart .zash-cart-page-content{
    max-width:1180px;
    margin:0 auto;
    padding:0 0 22px;
}

/* Main block shell */
body.woocommerce-cart .wp-block-woocommerce-cart{
    margin:0!important;
    padding:0!important;
}

body.woocommerce-cart .wc-block-cart{
    margin:0!important;
}

body.woocommerce-cart .wc-block-components-sidebar-layout{
    display:grid!important;
    grid-template-columns:minmax(0,1.55fr) minmax(320px,.8fr)!important;
    gap:22px!important;
    align-items:start!important;
}

/* Left cart items panel */
body.woocommerce-cart .wc-block-components-main{
    width:auto!important;
    margin:0!important;
    padding:20px!important;
    border:1px solid #e4ddcf!important;
    border-radius:20px!important;
    background:#fff!important;
    box-shadow:0 18px 45px rgba(20,25,34,.07)!important;
}

body.woocommerce-cart .wc-block-cart-items{
    border:0!important;
    margin:0!important;
}

body.woocommerce-cart .wc-block-cart-items thead th{
    padding:0 0 14px!important;
    border-bottom:1px solid #e8e0d4!important;
    color:#776d5f!important;
    font-size:10px!important;
    font-weight:900!important;
    letter-spacing:1.2px!important;
    text-transform:uppercase!important;
}

body.woocommerce-cart .wc-block-cart-items__row{
    border-bottom:1px solid #eee7dc!important;
}

body.woocommerce-cart .wc-block-cart-items__row td{
    padding-top:18px!important;
    padding-bottom:18px!important;
    border:0!important;
}

body.woocommerce-cart .wc-block-cart-item__image img{
    border-radius:12px!important;
    border:1px solid #e6dfd4!important;
    box-shadow:0 7px 18px rgba(16,20,26,.08)!important;
}

body.woocommerce-cart .wc-block-components-product-name{
    color:#17191e!important;
    font-weight:900!important;
    font-size:15px!important;
    line-height:1.35!important;
}

body.woocommerce-cart .wc-block-components-product-price,
body.woocommerce-cart .wc-block-components-product-price__value,
body.woocommerce-cart .wc-block-formatted-money-amount{
    color:#a66f0c!important;
    font-weight:850!important;
}

body.woocommerce-cart .wc-block-components-product-badge{
    border-color:#d7a23a!important;
    color:#8b6417!important;
    border-radius:999px!important;
}

/* Quantity selector */
body.woocommerce-cart .wc-block-components-quantity-selector{
    min-height:40px!important;
    border:1px solid #d9d3ca!important;
    border-radius:10px!important;
    background:#fff!important;
    overflow:hidden!important;
}

body.woocommerce-cart .wc-block-components-quantity-selector input{
    font-weight:800!important;
}

body.woocommerce-cart .wc-block-components-quantity-selector button{
    color:#5d6470!important;
}

body.woocommerce-cart .wc-block-cart-item__remove-link{
    margin-top:6px!important;
    color:#8e5547!important;
    font-size:11px!important;
    font-weight:800!important;
    text-decoration:none!important;
}

body.woocommerce-cart .wc-block-cart-item__remove-link:hover{
    color:#111722!important;
}

/* Right summary panel */
body.woocommerce-cart .wc-block-components-sidebar{
    width:auto!important;
    margin:0!important;
    padding:22px!important;
    position:sticky!important;
    top:95px!important;
    border:1px solid rgba(215,162,58,.28)!important;
    border-radius:20px!important;
    background:#0b111a!important;
    color:#fff!important;
    box-shadow:0 18px 44px rgba(12,17,24,.17)!important;
}

body.woocommerce-cart .wc-block-cart__totals-title{
    margin:0 0 14px!important;
    padding:0 0 14px!important;
    border-bottom:1px solid rgba(255,255,255,.1)!important;
    color:#fff!important;
    font-family:Georgia,serif!important;
    font-size:27px!important;
    font-weight:800!important;
    text-align:left!important;
    text-transform:none!important;
}

body.woocommerce-cart .wc-block-components-totals-wrapper{
    padding:13px 0!important;
    border-top:0!important;
    border-bottom:1px solid rgba(255,255,255,.08)!important;
}

body.woocommerce-cart .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-components-totals-item__value,
body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value{
    color:#d9e0e8!important;
}

body.woocommerce-cart .wc-block-components-totals-footer-item{
    margin-top:8px!important;
    padding-top:16px!important;
}

body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value{
    color:#e8b955!important;
    font-size:20px!important;
    font-weight:900!important;
}

body.woocommerce-cart .wc-block-components-totals-coupon-link{
    color:#e4b450!important;
    font-weight:800!important;
}

body.woocommerce-cart .wc-block-components-totals-coupon__input input{
    min-height:44px!important;
    border-radius:9px!important;
    border:1px solid rgba(255,255,255,.18)!important;
    background:#fff!important;
    color:#111827!important;
}

body.woocommerce-cart .wc-block-components-totals-coupon__button{
    min-height:44px!important;
    border-radius:9px!important;
    background:#d7a23a!important;
    color:#15110b!important;
    font-weight:900!important;
}

/* Proceed button */
body.woocommerce-cart .wc-block-cart__submit-container{
    margin-top:16px!important;
}

body.woocommerce-cart .wc-block-cart__submit-button{
    min-height:54px!important;
    border-radius:11px!important;
    background:linear-gradient(135deg,#f0c464,#c78a20)!important;
    color:#16110a!important;
    font-size:15px!important;
    font-weight:900!important;
    box-shadow:0 12px 26px rgba(199,138,32,.2)!important;
}

body.woocommerce-cart .wc-block-cart__submit-button:hover{
    filter:brightness(1.03)!important;
    transform:translateY(-1px);
}

/* Hide/store editor-only or low-value block extras cleanly */
body.woocommerce-cart .wc-block-components-main .wc-block-components-product-metadata{
    color:#6b7280!important;
    font-size:11px!important;
}

/* Empty cart block */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block{
    padding:34px!important;
    border-radius:20px!important;
    background:#fff!important;
    border:1px solid #e4ddcf!important;
    box-shadow:0 18px 45px rgba(20,25,34,.07)!important;
    text-align:center!important;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block h2{
    font-family:Georgia,serif!important;
    color:#14171d!important;
}

/* Remove the huge blank area caused by old cart spacing */
body.woocommerce-cart .zash-page-content > .wp-block-woocommerce-cart,
body.woocommerce-cart .zash-page-content > .woocommerce{
    min-height:0!important;
}

/* v4.4 direct extras below block cart */
body.woocommerce-cart .zash-cart-delivery-note,
body.woocommerce-cart .zash-cart-trust-strip{
    max-width:1180px;
    margin-left:auto;
    margin-right:auto;
}

/* Responsive block cart */
@media(max-width:900px){
    body.woocommerce-cart .wc-block-components-sidebar-layout{
        grid-template-columns:1fr!important;
    }

    body.woocommerce-cart .wc-block-components-sidebar{
        position:static!important;
    }
}

@media(max-width:620px){
    body.woocommerce-cart .wc-block-components-main,
    body.woocommerce-cart .wc-block-components-sidebar{
        padding:14px!important;
        border-radius:15px!important;
    }

    body.woocommerce-cart .wc-block-cart-items__row{
        grid-template-columns:76px 1fr!important;
    }

    body.woocommerce-cart .wc-block-cart-item__image{
        width:70px!important;
    }
}
