.basket-quantity:not(:empty){display:inline-flex;align-items:center;justify-content:space-between;gap:4px}
.product-body>.basket-quantity{margin-top:14px}
.basket-quantity button[data-delta]{min-height:44px;min-width:44px;width:auto;margin:0;flex:0 0 auto;padding:6px 10px}
.basket-quantity button:only-child{width:100%}
.basket-quantity output{flex:1;min-width:2ch;text-align:center;font-weight:700;font-variant-numeric:tabular-nums}
.basket-quantity button:focus-visible{outline:2px solid #155a43;outline-offset:2px}

.basket-undo{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0;padding:4px 10px;background:#f1f6ec;border:1px solid #bed0bc;border-radius:8px;color:#204a3e;font-size:14px;line-height:1.4}
.basket-undo span{min-width:0;overflow-wrap:anywhere}
.basket-panel>.basket-undo{position:sticky;top:0;z-index:1;flex-shrink:0}
.basket-undo button,.product-body .basket-undo button{background:transparent;color:#18563e;border:0;margin:0;width:auto;min-height:44px;min-width:44px;flex-shrink:0;padding:4px 8px;font:inherit;font-weight:700;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.basket-undo button:focus-visible{outline:2px solid #155a43;outline-offset:1px}
