#shopping-list { scroll-margin-top: 5rem; }
#shopping-list-body { display: grid; gap: 1rem; }
.basket-store { border:1px solid #b5c4b5; border-radius: 12px; background:#fff; padding:clamp(1rem,3vw,1.7rem); }
.basket-store h3 { margin:0 0 .6rem; }
.basket-row { display:grid; grid-template-columns:minmax(10rem,1fr) auto auto; align-items:center; gap:1.1rem; padding:.65rem 0; border-bottom:1px solid #d9e1d8; }
.basket-item { display:flex; align-items:center; gap:.7rem; min-height:44px; }
.basket-item input { width:1.3rem; height:1.3rem; accent-color:#22543f; }
.basket-item span { display:grid; gap:.2rem; }
.basket-item small,.basket-meta { color:#46594a; font-size:.9rem; }
.basket-item input:checked + span strong { text-decoration:line-through; }
.basket-value,.basket-subtotal { font-variant-numeric:tabular-nums; font-weight:700; }
.basket-controls { display:flex; flex-wrap:wrap; align-items:center; gap:.3rem; }
.basket-controls button,.basket-controls input { min-width:44px; min-height:44px; border:1px solid #97ac9b; background:#fff; color:#193c2c; text-align:center; border-radius:6px; font:inherit; }
.basket-controls input { width:3.4rem; }
.basket-controls button:disabled { opacity:.5; }
.basket-controls [data-action="remove"] { border:0; text-decoration:underline; padding:0 .5rem; }
.basket-subtotal { margin:.9rem 0 .25rem; }
.basket-meta,.list-notice { margin:.35rem 0; }
.list-notice { min-height:1.4em; }
.list-shortcut { position:fixed; z-index:8; right:max(1rem,env(safe-area-inset-right)); bottom:max(.75rem,env(safe-area-inset-bottom)); background:#143e30; color:#fff; padding:.85rem 1.15rem; border:1px solid #fff; border-radius:999px; font-weight:700; box-shadow:0 3px 12px #172b242d; text-decoration:none; }
.list-shortcut[hidden] { display:none; }
body:has(.list-shortcut:not([hidden])) { padding-bottom:4.5rem; }
@media(max-width:680px) {
  .basket-row { grid-template-columns:1fr auto; gap:.3rem .65rem; }
  .basket-controls { grid-column:1/-1; }
}
