/* AYAZMA v11.15.77 — One recognizable quantity input across product cards,
   empty-cart recommendations, product detail, classic cart and WC Cart Blocks.
   Presentation only: the original WooCommerce/AYAZMA quantity logic is intact. */
:root {--ayq-border:#c9dec9;--ayq-green:#25783a;--ayq-light:#edf7ed;}
form.ayazma-card-buy .ayazma-card-stepper,
.woocommerce .ayazma-cart-kg-stepper,
.ayazma-detail-purchase form.cart .quantity.ayazma-typing-active,
.wc-block-components-quantity-selector.ayazma-typing-active {
 box-sizing:border-box!important; display:flex!important; flex-direction:row!important;
 align-items:center!important; justify-content:space-between!important;
 gap:3px!important; padding:3px!important; min-width:0!important;
 min-height:43px!important; border:1px solid var(--ayq-border)!important;
 border-radius:12px!important; background:#f7fbf6!important;
 box-shadow:none!important; overflow:visible!important;
}
form.ayazma-card-buy .ayazma-card-stepper>button[data-dir],
.woocommerce .ayazma-cart-kg-stepper>button,
.ayazma-detail-purchase form.cart .quantity.ayazma-typing-active>button,
.wc-block-components-quantity-selector.ayazma-typing-active>.wc-block-components-quantity-selector__button {
 display:flex!important;align-items:center!important;justify-content:center!important;
 flex:0 0 34px!important;min-width:34px!important;width:34px!important;
 height:35px!important;min-height:35px!important;padding:0!important;margin:0!important;
 border:0!important;border-radius:9px!important;background:#e6f3e6!important;
 color:var(--ayq-green)!important;font-size:21px!important;font-weight:750!important;
 line-height:1!important;cursor:pointer!important;box-shadow:none!important;
}
form.ayazma-card-buy .ayazma-card-stepper>button[data-dir]:hover,
.woocommerce .ayazma-cart-kg-stepper>button:hover,
.wc-block-components-quantity-selector.ayazma-typing-active>.wc-block-components-quantity-selector__button:hover {background:#d8ecd9!important;}
form.ayazma-card-buy .ayazma-card-stepper>.ayazma-typed-quantity,
.woocommerce .ayazma-cart-kg-stepper.ayazma-typing-active>.ayazma-typed-quantity,
.ayazma-detail-purchase form.cart .quantity.ayazma-typing-active>.ayazma-typed-quantity,
.wc-block-components-quantity-selector.ayazma-typing-active>.ayazma-typed-quantity {
 position:relative!important;display:block!important;visibility:visible!important;opacity:1!important;
 order:2!important; flex:1 1 36px!important;width:100%!important;max-width:none!important;
 min-width:24px!important;height:34px!important;min-height:34px!important;
 padding:3px 14px 3px 4px!important;margin:0!important;
 border:1px dashed #9dbfa3!important;border-radius:8px!important;
 background-color:#fff!important;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2363946b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.12 2.12 0 0 1 3 3L9 17l-4 1 1-4Z'/%3E%3C/svg%3E")!important;
 background-repeat:no-repeat!important;background-position:right 2px center!important;background-size:11px 11px!important;
 color:#195b2e!important;-webkit-text-fill-color:#195b2e!important;
 font:800 13px/1.2 inherit!important;text-align:center!important;
 pointer-events:auto!important;clip-path:none!important;box-shadow:none!important;
 font-variant-numeric:tabular-nums!important;cursor:text!important;
}
form.ayazma-card-buy .ayazma-card-stepper>.ayazma-typed-quantity:focus,
.woocommerce .ayazma-cart-kg-stepper>.ayazma-typed-quantity:focus,
.ayazma-detail-purchase form.cart .quantity>.ayazma-typed-quantity:focus,
.wc-block-components-quantity-selector>.ayazma-typed-quantity:focus {
 border:1px solid var(--ayq-green)!important;outline:2px solid #b3ddbb!important;
 outline-offset:1px!important;background-color:#fff!important;
}
/* Unit is always immediately after the editable number, before the plus button. */
form.ayazma-card-buy .ayazma-card-stepper::after,
.woocommerce .ayazma-cart-kg-stepper.ayazma-typing-active::after,
.ayazma-detail-purchase form.cart .quantity.ayazma-typing-active::after,
.wc-block-components-quantity-selector.ayazma-typing-active::after {
 content:'adet'!important;position:static!important;order:3!important;
 display:block!important;flex:0 0 auto!important;
 margin:0 2px 0 0!important;padding:0!important;
 color:var(--ayq-green)!important;font-size:10px!important;
 font-weight:800!important;white-space:nowrap!important;line-height:1!important;
}
form.ayazma-card-buy .ayazma-card-stepper[data-weighted="1"]::after,
.woocommerce .ayazma-cart-kg-stepper.ayazma-typing-active:has(.ayazma-typed-kg)::after,
.ayazma-detail-purchase form.cart .quantity.ayazma-typing-active:has(.ayazma-typed-kg)::after,
.wc-block-components-quantity-selector.ayazma-typing-active:has(.ayazma-typed-kg)::after {content:'kg'!important;}
form.ayazma-card-buy .ayazma-card-stepper>button[data-dir="-1"] {order:1!important;}
form.ayazma-card-buy .ayazma-card-stepper>button[data-dir="1"] {order:4!important;}
.woocommerce .ayazma-cart-kg-stepper>button:first-child {order:1!important;}
.woocommerce .ayazma-cart-kg-stepper>button:last-child {order:4!important;}
form.ayazma-card-buy .ayazma-card-stepper>.ayazma-unit-display {display:none!important;}
.woocommerce .ayazma-cart-kg-stepper.ayazma-typing-active>.ayazma-cart-kg-label {display:none!important;}
/* WC Blocks' original selector buttons may not be direct siblings of the input. */
.wc-block-components-quantity-selector.ayazma-typing-active>.wc-block-components-quantity-selector__button:first-of-type {order:1!important;}
.wc-block-components-quantity-selector.ayazma-typing-active>.wc-block-components-quantity-selector__button:last-of-type {order:4!important;}
@media(max-width:600px){
 form.ayazma-card-buy .ayazma-card-stepper,
 .woocommerce .ayazma-cart-kg-stepper,
 .wc-block-components-quantity-selector.ayazma-typing-active {min-height:42px!important;gap:2px!important;padding:3px!important;}
 form.ayazma-card-buy .ayazma-card-stepper>button[data-dir],
 .woocommerce .ayazma-cart-kg-stepper>button,
 .wc-block-components-quantity-selector.ayazma-typing-active>.wc-block-components-quantity-selector__button {
  flex-basis:30px!important;width:30px!important;min-width:30px!important;height:34px!important;min-height:34px!important;
 }
 form.ayazma-card-buy .ayazma-card-stepper>.ayazma-typed-quantity,
 .woocommerce .ayazma-cart-kg-stepper>.ayazma-typed-quantity,
 .wc-block-components-quantity-selector.ayazma-typing-active>.ayazma-typed-quantity {
  min-width:18px!important;font-size:12px!important;padding-left:2px!important;padding-right:11px!important;
 }
 form.ayazma-card-buy .ayazma-card-stepper::after,
 .woocommerce .ayazma-cart-kg-stepper.ayazma-typing-active::after,
 .wc-block-components-quantity-selector.ayazma-typing-active::after {font-size:9px!important;margin-right:0!important;}
}
@media(max-width:350px){form.ayazma-card-buy .ayazma-card-stepper>button[data-dir]{flex-basis:27px!important;min-width:27px!important;width:27px!important}}
