/* AYESH Phase 7 — classic WooCommerce cart/checkout, presentation only.
   Payment/shipping amounts remain under WooCommerce & enabled extensions. */
:root{--ayesh-p7-crimson:#C91524;--ayesh-p7-ink:#141414;--ayesh-p7-muted:#667078;--ayesh-p7-line:#E6E8EA;--ayesh-p7-soft:#FAF9F7}
body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce{color:var(--ayesh-p7-ink)}
body.woocommerce-cart .hb-cart-hero,
body.woocommerce-checkout .hb-checkout-hero{margin-bottom:20px!important;padding-block:10px!important}
body.woocommerce-cart .hb-cart-hero h1,
body.woocommerce-checkout .hb-checkout-hero h1{font-size:clamp(24px,2.5vw,32px)!important;line-height:1.2!important;letter-spacing:-.035em!important}
body.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper,
body.woocommerce-checkout .woocommerce > .woocommerce-notices-wrapper{grid-column:1/-1}
/* The native Woo cart template retains product image, variations, price, qty,
   line total, coupon input, cart nonces, removal links and total calculations. */
@media(min-width:1000px){
 body.woocommerce-cart .woocommerce:has(> .woocommerce-cart-form){display:grid!important;grid-template-columns:minmax(0,1.65fr) minmax(285px,.9fr)!important;column-gap:24px!important;row-gap:16px!important;align-items:start!important}
 body.woocommerce-cart .woocommerce > :not(.woocommerce-cart-form):not(.cart-collaterals){grid-column:1/-1}
 body.woocommerce-cart .woocommerce > .woocommerce-cart-form{grid-column:1!important;grid-row:auto!important;width:100%!important;min-width:0!important;float:none!important;margin:0!important}
 body.woocommerce-cart .woocommerce > .cart-collaterals{grid-column:2!important;grid-row:auto!important;width:100%!important;min-width:0!important;float:none!important;margin:0!important}
 body.woocommerce-cart .woocommerce > .cart-collaterals .cart_totals{width:100%!important;float:none!important;position:sticky!important;top:100px!important;margin:0!important}
}
body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals,
body.woocommerce-checkout form.checkout .hb-checkout-flow-section,
body.woocommerce-checkout .hb-checkout-summary-wrap,
body.woocommerce-checkout .hb-checkout-payment-wrap{
 border:1px solid var(--ayesh-p7-line)!important;border-radius:16px!important;
 background:#fff!important;box-shadow:0 5px 22px rgba(20,20,20,.035)!important;
}
body.woocommerce-cart .woocommerce-cart-form table.cart{width:100%!important;border-collapse:separate!important;border-spacing:0!important;border:0!important;margin:0!important}
body.woocommerce-cart .woocommerce-cart-form table.cart thead th{text-transform:none!important;font-size:12px!important;letter-spacing:0!important;color:var(--ayesh-p7-muted)!important;background:var(--ayesh-p7-soft)!important;padding:13px 10px!important;font-weight:650!important}
body.woocommerce-cart .woocommerce-cart-form table.cart tbody td{border-color:var(--ayesh-p7-line)!important;padding:16px 10px!important;vertical-align:middle!important}
body.woocommerce-cart .woocommerce-cart-form table.cart td.product-name a{color:var(--ayesh-p7-ink)!important;text-decoration:none!important;font-weight:650!important}
body.woocommerce-cart .woocommerce-cart-form table.cart td.product-name a:hover{color:var(--ayesh-p7-crimson)!important}
body.woocommerce-cart .woocommerce-cart-form table.cart td.product-thumbnail img{width:76px!important;max-width:100%!important;height:76px!important;object-fit:contain!important;background:#fff;border-radius:10px}
body.woocommerce-cart .woocommerce-cart-form table.cart td.product-remove a.remove{display:inline-flex!important;align-items:center;justify-content:center;min-width:32px!important;min-height:32px!important;font-size:20px!important;border-radius:9px!important;text-decoration:none!important;color:#6A7077!important}
body.woocommerce-cart .woocommerce-cart-form table.cart td.product-remove a.remove:hover{background:#FFF0F1!important;color:var(--ayesh-p7-crimson)!important}
body.woocommerce-cart .woocommerce-cart-form table.cart td.actions{padding:18px!important}
body.woocommerce-cart .woocommerce-cart-form table.cart td.actions .coupon{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px!important;float:none!important}
body.woocommerce-cart .woocommerce-cart-form table.cart td.actions .coupon input.input-text{min-width:150px!important;max-width:240px!important;min-height:42px!important;border:1px solid var(--ayesh-p7-line)!important;border-radius:9px!important;padding:8px 12px!important;float:none!important}
body.woocommerce-cart .woocommerce-cart-form table.cart td.actions button.button,
body.woocommerce-cart .woocommerce-cart-form table.cart td.actions input.button{min-height:42px!important;border-radius:9px!important;font-size:13px!important;letter-spacing:0!important}
/* Undo inherited oversized green-gradient totals while leaving all price HTML untouched. */
html body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals table.shop_table tr.order-total,
html body.woocommerce-cart .woocommerce > .cart-collaterals .cart_totals > table.shop_table > tbody > tr.order-total{
 background:#FDF2F3!important;background-image:none!important;border:1px solid #F3D6DA!important;border-radius:12px!important;
 box-shadow:none!important;min-height:0!important;padding:15px 16px!important;margin:14px 0 0!important;gap:10px!important}
html body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals table.shop_table tr.order-total::after{display:none!important}
html body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals table.shop_table tr.order-total th,
html body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals table.shop_table tr.order-total td,
html body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals table.shop_table tr.order-total td *,
html body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals table.shop_table tr.order-total th *{
 color:var(--ayesh-p7-ink)!important;-webkit-text-fill-color:var(--ayesh-p7-ink)!important;font-size:16px!important;font-weight:750!important}
html body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals .wc-proceed-to-checkout a.checkout-button{
 display:flex!important;justify-content:center!important;align-items:center!important;min-height:48px!important;width:100%!important;
 padding:10px 16px!important;border:1px solid var(--ayesh-p7-crimson)!important;border-radius:11px!important;
 background:var(--ayesh-p7-crimson)!important;background-image:none!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
 font-weight:700!important;letter-spacing:0!important;box-shadow:none!important;text-transform:none!important}
html body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals .wc-proceed-to-checkout a.checkout-button:hover{background:#A4101E!important;border-color:#A4101E!important}
html body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals .wc-proceed-to-checkout a.checkout-button::before,
html body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals .wc-proceed-to-checkout a.checkout-button::after{display:none!important}
/* Checkout information hierarchy; do not hide gateway-specific required inputs. */
body.woocommerce-checkout .woocommerce form.checkout .form-row label{font-size:13px!important;font-weight:650!important;color:#26313B!important}
body.woocommerce-checkout .woocommerce form.checkout :is(input.input-text,textarea,select){min-height:44px;border:1px solid #DADEE2!important;border-radius:10px!important;background:#fff!important;color:var(--ayesh-p7-ink)!important;font-size:14px!important;padding:10px 12px!important}
body.woocommerce-checkout .woocommerce form.checkout textarea{min-height:70px!important;resize:vertical}
body.woocommerce-checkout .woocommerce form.checkout .form-row .required{color:var(--ayesh-p7-crimson)!important}
body.woocommerce-checkout .woocommerce form.checkout :is(input.input-text,textarea,select):focus{outline:2px solid rgba(201,21,36,.2)!important;outline-offset:1px;border-color:var(--ayesh-p7-crimson)!important}
body.woocommerce-checkout .woocommerce form.checkout .woocommerce-invalid :is(input.input-text,textarea,select){border-color:#C91524!important}
body.woocommerce-checkout .woocommerce .hb-checkout-summary-wrap,
body.woocommerce-checkout .woocommerce .hb-checkout-payment-wrap{padding:18px!important;margin-block:0 16px!important}
body.woocommerce-checkout .woocommerce #order_review .hbco-totals .order-total :is(th,td){font-size:17px!important;color:var(--ayesh-p7-ink)!important}
body.woocommerce-checkout .woocommerce #payment{background:#fff!important}
body.woocommerce-checkout .woocommerce #payment .payment_methods{padding:0!important}
body.woocommerce-checkout .woocommerce #payment .payment_methods > li{border:1px solid var(--ayesh-p7-line)!important;border-radius:10px!important;padding:12px!important;margin-bottom:10px!important}
body.woocommerce-checkout .woocommerce #payment .payment_box{background:var(--ayesh-p7-soft)!important;border-radius:8px!important;color:var(--ayesh-p7-ink)!important}
body.woocommerce-checkout .woocommerce #payment .place-order #place_order{width:100%!important;min-height:48px!important;border-radius:10px!important;background:var(--ayesh-p7-crimson)!important;color:white!important;-webkit-text-fill-color:white!important}
body.woocommerce-checkout .woocommerce .woocommerce-error,
body.woocommerce-cart .woocommerce .woocommerce-error{border-color:var(--ayesh-p7-crimson)!important}
body.woocommerce-checkout .woocommerce .woocommerce-error:focus{outline:2px solid var(--ayesh-p7-crimson);outline-offset:4px}
body.woocommerce-checkout .ayesh-phase7-next-step{margin:18px 0;padding:14px 16px;border-inline-start:3px solid var(--ayesh-p7-crimson);background:var(--ayesh-p7-soft);border-radius:0 9px 9px 0;font-size:14px;line-height:1.6}
body.woocommerce-cart .cart-empty{border:1px solid var(--ayesh-p7-line);border-radius:16px;padding:32px 24px!important;background:var(--ayesh-p7-soft)!important;text-align:center}
body.woocommerce-cart .cart-empty .ayesh-phase7-empty__title{display:block;font-size:22px;font-weight:750;color:var(--ayesh-p7-ink);margin-bottom:7px}
body.woocommerce-cart .cart-empty .ayesh-phase7-empty__copy{display:block;font-size:14px;color:var(--ayesh-p7-muted)}
body.woocommerce-cart .return-to-shop .button{background:var(--ayesh-p7-crimson)!important;border-radius:10px!important;color:white!important;padding:14px 24px!important}
@media(max-width:999px){
 body.woocommerce-cart .woocommerce > .woocommerce-cart-form,
 body.woocommerce-cart .woocommerce > .cart-collaterals{width:100%!important;float:none!important;min-width:0!important}
 body.woocommerce-cart .woocommerce > .cart-collaterals .cart_totals{width:100%!important;position:static!important}
}
@media(max-width:767px){
 body.woocommerce-cart .woocommerce-cart-form table.cart td.product-thumbnail img{height:70px!important;width:70px!important}
 body.woocommerce-cart .woocommerce-cart-form table.cart td.actions{padding:12px!important}
 body.woocommerce-cart .woocommerce-cart-form table.cart td.actions .coupon input.input-text{flex:1 1 135px!important;min-width:0!important}
 body.woocommerce-cart .woocommerce-cart-form table.cart td.actions .coupon button{flex:0 0 auto!important}
 body.woocommerce-checkout .woocommerce .hb-checkout-summary-wrap,
 body.woocommerce-checkout .woocommerce .hb-checkout-payment-wrap{padding:14px!important}
 body.woocommerce-checkout .woocommerce form.checkout .form-row-first,
 body.woocommerce-checkout .woocommerce form.checkout .form-row-last{width:100%!important;float:none!important}
}
@media(prefers-reduced-motion:reduce){body.woocommerce-cart *,body.woocommerce-checkout *{scroll-behavior:auto!important;transition-duration:.01ms!important}}
