.bag-quantity{min-width:0;max-width:100%;overflow-wrap:anywhere}
.bag-quantity-controls{display:inline-grid;grid-template-columns:44px minmax(44px,4ch) 44px;align-items:center;gap:4px}
.bag-quantity-controls button{min-width:44px;min-height:44px;border:1px solid var(--bt-border,#ded0c3);border-radius:8px;background:var(--bt-surface,#fffdf9);color:var(--bt-text,#493524);font:inherit;cursor:pointer}
.bag-quantity-controls button:disabled{opacity:.55;cursor:default}
.bag-quantity-controls :is(button,input):focus-visible{outline:2px solid var(--bt-focus,currentColor);outline-offset:2px}
.bag-quantity-controls input{width:100%;min-height:44px;box-sizing:border-box;padding:0;border:1px solid var(--bt-border,#ded0c3);border-radius:8px;background:var(--bt-surface,#fffdf9);color:var(--bt-text,#493524);text-align:center;font:inherit;font-size:16px;font-variant-numeric:tabular-nums}
.bag-quantity-limit,.bag-quantity-error,.bag-quantity-sync,.bag-quantity-validation{margin:4px 0 0;color:inherit;font-size:.875em;line-height:1.4}
.bag-quantity-retry{min-height:44px;margin-top:4px}
.bag-quantity [hidden]{display:none!important}
.cart-item .bag-quantity-controls input{min-width:0;border:0;box-shadow:none;background:transparent}
@media(max-width:600px){.cart-item .bag-quantity-controls{grid-template-columns:44px 44px 44px;gap:2px;white-space:nowrap}}
