/* Cart recommendations now use the exact native homepage quantity display. */
body.woocommerce-cart .ayazma-empty-cart-products .ayazma-card-stepper{display:flex!important;align-items:center!important;min-width:0!important;overflow:hidden!important}
body.woocommerce-cart .ayazma-empty-cart-products .ayazma-card-stepper.ayazma-typing-active>.ayazma-typed-quantity{display:block!important;position:static!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;clip-path:none!important;flex:1 1 0!important;min-width:23px!important;max-width:100%!important;width:100%!important;box-sizing:border-box!important;color:#205e32!important;text-align:center!important;font-weight:850!important}
body.woocommerce-cart .ayazma-empty-cart-products .ayazma-card-stepper:not(.ayazma-typing-active)>input[name="quantity"]{display:none!important;visibility:visible!important;position:static!important;opacity:1!important;clip-path:none!important;flex:1 1 0!important;min-width:23px!important;width:100%!important;max-width:100%!important;color:#205e32!important;text-align:center!important;pointer-events:auto!important}
body.woocommerce-cart .ayazma-empty-cart-products .ayazma-card-stepper.ayazma-typing-active>input[name="quantity"]{display:none!important}
body.woocommerce-cart .ayazma-empty-cart-products .ayazma-card-stepper>.ayazma-unit-display{display:none!important}
@media(max-width:767px){body.woocommerce-cart .ayazma-empty-cart-products .ayazma-card-stepper>button[data-dir]{flex:0 0 32px!important;width:32px!important;min-width:32px!important;height:36px!important}}
/* Avoid old Blocks product tiles flashing before JS replaces the live empty-cart state. */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block:not(.ayazma-native-empty-cart):not(:has(.ayazma-empty-cart-products)){visibility:hidden}
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block.ayazma-native-empty-cart{visibility:visible!important}
/* Keep the number physically between minus and plus even when JS inserts it after the unit label. */
body.woocommerce-cart .ayazma-empty-cart-products .ayazma-card-stepper>button[data-dir="-1"]{order:1!important}
body.woocommerce-cart .ayazma-empty-cart-products .ayazma-card-stepper>.ayazma-typed-quantity,
body.woocommerce-cart .ayazma-empty-cart-products .ayazma-card-stepper>input[name="quantity"]{order:2!important}
body.woocommerce-cart .ayazma-empty-cart-products .ayazma-card-stepper>button[data-dir="1"]{order:3!important}

/* v11.15.72: PHP-rendered editable quantity stays visible even when hydration is delayed.
   Make old native field invisible (but present for validation) independently of JS state. */
body.woocommerce-cart .ayazma-empty-cart-products .ayazma-card-stepper{position:relative!important}
body.woocommerce-cart .ayazma-empty-cart-products .ayazma-card-stepper>input.ayazma-typed-quantity{
 display:block!important;visibility:visible!important;opacity:1!important;position:relative!important;
 flex:1 1 28px!important;min-width:28px!important;width:100%!important;max-width:none!important;
 margin:0!important;padding:0 2px!important;order:2!important;z-index:1!important;
 text-align:center!important;font-size:14px!important;color:#205e32!important;font-weight:850!important;
 -webkit-text-fill-color:#205e32!important;clip-path:none!important;pointer-events:auto!important;
}
body.woocommerce-cart .ayazma-empty-cart-products .ayazma-card-stepper>input.qty[name="quantity"]{
 position:absolute!important;visibility:hidden!important;opacity:0!important;display:block!important;
 width:1px!important;min-width:0!important;height:1px!important;flex:0 0 0!important;
 clip-path:inset(50%)!important;pointer-events:none!important;
}
@media(max-width:767px){body.woocommerce-cart .ayazma-empty-cart-products .ayazma-card-stepper>input.ayazma-typed-quantity{font-size:13px!important}}
