/* FS ON Shop – mobile first
   Richtung: warm, schnell, ein bisschen frech
   Welt: Bäckereitheke, Backpapier, Kassabon
   Signatur: Kassabon mit Mono-Ziffern und gezackter Abrisskante */

:root {
  --bg: #f6f3ee;
  --surface: #ffffff;
  --surface-2: #efebe4;
  --text: #1f1b17;
  --text-2: #5c554d;
  --muted: #857c73;
  --line: rgba(31, 27, 23, 0.09);
  --line-strong: rgba(31, 27, 23, 0.16);
  --accent: #a24c17;       /* Golatschen-Kruste, 5.6:1 mit Weiß */
  --accent-hover: #8a3f12;
  --accent-soft: #f4e7dc;
  --ok: #3d7a4f;
  --error: #b3392f;
  --paper: #fffdf8;

  --font: 'Bricolage Grotesque', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;

  --nav-h: 56px;
  --tap: 44px;             /* Mindestgröße für Tippflächen */
  --safe-b: env(safe-area-inset-bottom, 0px);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --fast: 140ms;
  --base: 260ms;

  --zigzag: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 12px 100%;

  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 64px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
}
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button, a, input, label { touch-action: manipulation; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }

.icon {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ---------- Navigation ---------- */

.nav {
  position: sticky; top: 0; z-index: 20;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(246, 243, 238, 0.94);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 8px; height: var(--nav-h); }
.logo { font-size: 19px; font-weight: 600; text-decoration: none; letter-spacing: -0.01em; margin-right: auto; }
.logo span { color: var(--accent); }
.nav-links { display: none; }

.nav-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: var(--tap); height: var(--tap); padding: 0 10px;
  background: transparent; border: 0; border-radius: 12px; cursor: pointer;
  transition: background-color var(--fast) var(--ease);
}
.nav-btn:active { background: var(--surface-2); }
.nav-btn-label { display: none; font-size: 15px; }
.cart-count {
  position: absolute; top: 4px; right: 2px;
  min-width: 18px; height: 18px; padding: 0 5px;
  display: inline-grid; place-items: center;
  border-radius: 9px; background: var(--accent); color: #fff;
  font-family: var(--mono); font-size: 11px; font-weight: 500; font-variant-numeric: tabular-nums;
}
.cart-count:not(.has-items) { display: none; }
.nav-btn.signed-in .icon { color: var(--accent); }

/* ---------- Hero ---------- */

.hero { display: grid; gap: 20px; padding-top: 20px; padding-bottom: 0; }
.eyebrow { color: var(--accent); font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.hero h1 { font-size: 32px; line-height: 1.06; letter-spacing: -0.02em; }
.lead { margin-top: 12px; font-size: 16px; color: var(--text-2); max-width: 36ch; }
.hero-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.hero-actions .btn-quiet { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 20px; border-radius: 14px;
  font-size: 17px; font-weight: 500; text-decoration: none; cursor: pointer; border: 0;
  transition: background-color var(--fast) var(--ease), border-color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:disabled { background: var(--line-strong); color: var(--muted); cursor: not-allowed; transform: none; }
.btn-quiet { background: transparent; color: var(--text); border: 1px solid var(--line-strong); }
.btn-quiet:hover { background: var(--surface); }
.btn-block { width: 100%; }

.hero-visual {
  position: relative; margin: 0;
  background: var(--surface); border-radius: var(--r-xl);
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10; overflow: hidden;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }

.tag {
  position: absolute; left: 16px; bottom: 16px;
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 14px 16px;
  background: var(--paper); border-radius: 4px 4px 0 0;
  filter: drop-shadow(0 6px 16px rgba(31, 27, 23, 0.12));
  font-family: var(--mono);
  -webkit-mask: var(--zigzag); mask: var(--zigzag);
}
.tag-name { font-size: 11px; color: var(--text-2); }
.tag-price { font-size: 20px; font-weight: 500; font-variant-numeric: tabular-nums; }

/* ---------- Sortiment ---------- */

.section { padding-top: 48px; padding-bottom: 16px; }
.section h2 { font-size: 26px; letter-spacing: -0.015em; }
.section-head { margin-bottom: 12px; }

/* Kategorien kleben auf dem Handy unter der Navigation */
.filters-bar {
  position: sticky; top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); z-index: 10;
  padding: 8px 0;
  background: var(--bg);
}
.filters {
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  margin: 0 -16px; padding: 0 16px;
}
.filters::-webkit-scrollbar { display: none; }
.filter {
  flex: none; height: 40px; padding: 0 16px; border-radius: 20px;
  border: 1px solid var(--line-strong); background: var(--surface);
  color: var(--text-2); cursor: pointer; font-size: 15px;
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.filter[aria-selected="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 8px; }

.card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden;
}
.card-media { aspect-ratio: 1 / 1; background: #fff; border-bottom: 1px solid var(--line); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { display: flex; flex-direction: column; gap: 2px; padding: 12px; flex: 1; }
.card-brand { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.card-name { font-size: 16px; line-height: 1.25; }
.card-note { display: none; font-size: 14px; color: var(--text-2); }
.card-foot { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 10px; }
.price { font-family: var(--mono); font-size: 17px; font-weight: 500; font-variant-numeric: tabular-nums; }
.price.is-sale { color: var(--accent); }
.price .was { font-size: 13px; font-weight: 400; color: var(--muted); margin-left: 4px; }
.price-meta { display: block; white-space: nowrap; font-family: var(--mono); font-size: 11px; color: var(--muted); font-weight: 400; }

.add-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; height: var(--tap); padding: 0 14px; border: 0; border-radius: 12px;
  background: var(--accent); color: #fff; cursor: pointer; font-size: 16px; font-weight: 500;
  transition: background-color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.add-btn:hover { background: var(--accent-hover); }
.add-btn:active { transform: scale(0.97); }

.stepper {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--tap); border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface);
}
.stepper button {
  width: var(--tap); height: calc(var(--tap) - 2px); display: grid; place-items: center;
  border: 0; background: transparent; cursor: pointer; color: var(--text);
  border-radius: 11px; transition: background-color var(--fast) var(--ease);
}
.stepper button:active { background: var(--surface-2); }
.stepper output { min-width: 28px; text-align: center; font-family: var(--mono); font-size: 16px; font-variant-numeric: tabular-nums; }
.stepper.small { display: inline-flex; width: 132px; }

/* ---------- Abholung ---------- */

.steps { padding-bottom: 48px; }
.step-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.step-list li { display: flex; gap: 14px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.step-no {
  flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px;
  border-radius: 8px; background: var(--accent-soft); color: var(--accent);
  font-family: var(--mono); font-size: 14px; font-weight: 500;
}
.step-list h3 { font-size: 17px; margin-bottom: 4px; }
.step-list p { color: var(--text-2); font-size: 15px; }

.footer {
  display: flex; flex-direction: column; gap: 4px;
  padding-top: 20px; padding-bottom: calc(96px + var(--safe-b));
  border-top: 1px solid var(--line); font-size: 13px; color: var(--text-2);
}
.muted { color: var(--muted); }

/* ---------- Warenkorb-Leiste (Handy) ---------- */

.cart-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 10px 12px calc(10px + var(--safe-b));
  background: linear-gradient(to top, var(--bg) 70%, rgba(246, 243, 238, 0));
  animation: bar-in var(--base) var(--ease);
}
.cart-bar-btn {
  display: flex; align-items: center; gap: 12px; width: 100%;
  height: 56px; padding: 0 8px 0 18px; border: 0; border-radius: 16px;
  background: var(--text); color: var(--bg); cursor: pointer;
  box-shadow: 0 8px 24px rgba(31, 27, 23, 0.18);
  transition: transform var(--fast) var(--ease);
}
.cart-bar-btn:active { transform: scale(0.985); }
.cart-bar-count { font-size: 15px; color: rgba(246, 243, 238, 0.72); }
.cart-bar-total { font-family: var(--mono); font-size: 17px; font-weight: 500; font-variant-numeric: tabular-nums; margin-right: auto; }
.cart-bar-cta { height: 40px; padding: 0 16px; display: inline-grid; place-items: center; border-radius: 11px; background: var(--accent); color: #fff; font-size: 15px; font-weight: 500; }
@keyframes bar-in { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Sheet: von unten auf dem Handy, von rechts am Desktop ---------- */

.scrim {
  position: fixed; inset: 0; z-index: 40; background: rgba(31, 27, 23, 0.36);
  opacity: 0; transition: opacity var(--base) var(--ease);
}
.scrim.open { opacity: 1; }

.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  height: calc(100dvh - 24px - env(safe-area-inset-top, 0px));
  display: flex; flex-direction: column;
  background: var(--bg); border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 32px rgba(31, 27, 23, 0.12);
  transform: translateY(100%);
  transition: transform var(--base) var(--ease);
}
.sheet.open { transform: none; }
.sheet-grip { width: 36px; height: 4px; border-radius: 2px; background: var(--line-strong); margin: 8px auto 0; flex: none; }
.sheet-head { display: flex; align-items: center; gap: 4px; height: 52px; padding: 0 8px 0 16px; flex: none; }
.sheet-head h2 { font-size: 20px; margin-right: auto; }
.sheet-head [data-back]:not([hidden]) + h2 { margin-left: -4px; }
.sheet-body {
  flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  padding: 8px 16px 24px; display: flex; flex-direction: column; gap: 16px;
}
.sheet-foot {
  flex: none; display: flex; flex-direction: column; gap: 8px;
  padding: 12px 16px calc(12px + var(--safe-b));
  border-top: 1px solid var(--line); background: var(--bg);
}

.icon-btn {
  width: var(--tap); height: var(--tap); display: grid; place-items: center; flex: none;
  border: 0; border-radius: 12px; background: transparent; cursor: pointer; color: var(--text-2);
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.icon-btn:active, .icon-btn:hover { background: var(--surface-2); color: var(--text); }

.empty { text-align: center; padding: 48px 16px; color: var(--text-2); display: flex; flex-direction: column; align-items: center; gap: 16px; }

/* Kassabon */
.receipt {
  background: var(--paper);
  padding: 16px 16px 26px;
  font-family: var(--mono); font-size: 14px; font-variant-numeric: tabular-nums;
  filter: drop-shadow(0 2px 6px rgba(31, 27, 23, 0.06));
  -webkit-mask: var(--zigzag); mask: var(--zigzag);
}
.receipt-head { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; padding-bottom: 10px; border-bottom: 1px dashed var(--line-strong); }
.receipt-line { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.receipt-line .name { font-family: var(--font); font-size: 16px; }
.receipt-line .meta { color: var(--muted); font-size: 12px; grid-column: 1 / -1; }
.receipt-line .sum { text-align: right; align-self: start; }
.receipt-line .controls { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.link-btn {
  min-height: var(--tap); border: 0; background: none; padding: 0 4px; color: var(--text-2); cursor: pointer;
  font-size: 14px; text-decoration: underline; text-underline-offset: 3px;
}
.link-btn:hover { color: var(--text); }
.receipt-row { display: flex; justify-content: space-between; padding-top: 8px; color: var(--text-2); }
.receipt-total { display: flex; justify-content: space-between; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--text); font-size: 18px; font-weight: 500; color: var(--text); }
.receipt-big { text-align: center; padding: 16px 0 12px; border-bottom: 1px dashed var(--line-strong); }
.receipt-big .label { font-size: 12px; color: var(--muted); }
.receipt-big .no { font-size: 48px; font-weight: 500; letter-spacing: 0.08em; line-height: 1.2; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; color: var(--text-2); }
.field input {
  height: 52px; padding: 0 14px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: var(--surface);
  font-size: 16px; /* 16px verhindert das Hineinzoomen auf iPhones */
  color: var(--text);
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field .hint { font-size: 13px; color: var(--muted); }
.form { display: flex; flex-direction: column; gap: 14px; }

.notice { padding: 12px 14px; border-radius: 12px; font-size: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--text-2); }
.notice.error { border-color: rgba(179, 57, 47, 0.3); background: #fbefed; color: var(--error); }
.notice.ok { border-color: rgba(61, 122, 79, 0.3); background: #eef5ef; color: var(--ok); }
.secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: var(--muted); }
.secure .icon { width: 16px; height: 16px; }

.pay-box { min-height: 400px; flex: none; }
.pay-box #sumup-card { width: 100%; }

/* Zahlungsart-Auswahl */
.methods { display: flex; flex-direction: column; gap: 8px; }
.methods-title { font-size: 14px; color: var(--text-2); }
.method {
  display: flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 0 14px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line-strong); cursor: pointer;
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.method:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.method input { width: 20px; height: 20px; margin: 0; accent-color: var(--accent); flex: none; }
.method .card-chip { font-family: var(--mono); font-size: 12px; padding: 3px 6px; border-radius: 4px; background: var(--surface-2); color: var(--text-2); }
.method .digits { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* Konto */
.account-head { display: flex; align-items: center; gap: 12px; }
.avatar { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 20px; font-weight: 600; text-transform: uppercase; flex: none; }
.account-head .who { font-size: 18px; }
.account-head .sub { font-size: 13px; color: var(--muted); }
.group { display: flex; flex-direction: column; gap: 8px; }
.group-title { font-size: 14px; color: var(--text-2); }
.list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.list-row { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 8px 6px 14px; border-top: 1px solid var(--line); }
.list-row:first-child { border-top: 0; }
.list-row .grow { flex: 1; min-width: 0; }
.list-row .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 14px; }
.list-row .meta { font-size: 12px; color: var(--muted); }
.list-empty { padding: 16px 14px; color: var(--muted); font-size: 14px; }
.switch-line { text-align: center; font-size: 15px; color: var(--text-2); }

/* ---------- Einstieg ---------- */

@media (prefers-reduced-motion: no-preference) {
  .hero-text, .hero-visual { animation: rise 420ms var(--ease) both; }
  .hero-visual { animation-delay: 60ms; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sheet, .scrim, .cart-bar { transition: none; animation: none; }
}
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Größere Handys / Tablets ---------- */

@media (min-width: 600px) {
  .wrap { padding: 0 24px; }
  .filters { margin: 0 -24px; padding: 0 24px; }
  .hero-actions { flex-direction: row; }
  .hero-actions .btn-quiet { display: inline-flex; }
  .hero-visual { aspect-ratio: 4 / 3; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .card-body { padding: 16px; }
  .card-note { display: block; }
  .step-list { grid-template-columns: repeat(3, 1fr); }
  .step-list li { flex-direction: column; }
  .sheet { max-width: 560px; margin: 0 auto; }
}

/* ---------- Desktop ---------- */

@media (min-width: 900px) {
  :root { --nav-h: 64px; }
  .wrap { padding: 0 32px; }
  .filters { margin: 0; padding: 0; }
  .nav-inner { gap: 12px; }
  .nav-links { display: flex; gap: 24px; margin-right: auto; }
  .nav-links a { color: var(--text-2); text-decoration: none; font-size: 15px; transition: color var(--fast) var(--ease); }
  .nav-links a:hover { color: var(--text); }
  .logo { margin-right: 20px; font-size: 20px; }
  .nav-btn { border: 1px solid var(--line-strong); background: var(--surface); padding: 0 14px; height: 40px; border-radius: 10px; }
  .nav-btn:hover { background: var(--surface-2); }
  .nav-btn-label { display: inline; }
  .cart-count { position: static; height: 22px; min-width: 22px; border-radius: 6px; }
  .cart-count:not(.has-items) { display: inline-grid; background: var(--surface-2); color: var(--text-2); }

  .hero { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; min-height: calc(100svh - var(--nav-h) - 64px); padding-top: 48px; padding-bottom: 48px; }
  .hero h1 { font-size: clamp(44px, 5vw, 60px); line-height: 1.04; letter-spacing: -0.025em; max-width: 13ch; }
  .lead { font-size: 19px; margin-top: 20px; }
  .hero-actions { margin-top: 32px; }
  .hero-visual { aspect-ratio: 1 / 1; }
  .tag { left: 24px; bottom: 24px; padding: 12px 16px 18px; }
  .tag-name { font-size: 12px; }
  .tag-price { font-size: 22px; }

  .section { padding-top: 96px; }
  .section h2 { font-size: 32px; }
  .section-head { margin-bottom: 8px; }
  .filters-bar { position: static; padding: 0 0 16px; }
  .grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .card { transition: border-color var(--fast) var(--ease); }
  .card:hover { border-color: var(--line-strong); }
  .card-body { padding: 20px; }
  .card-name { font-size: 18px; }
  .price { font-size: 18px; }

  .steps { padding-bottom: 96px; }
  .footer { flex-direction: row; justify-content: space-between; padding-bottom: 40px; }

  .cart-bar { display: none !important; }

  .sheet {
    left: auto; top: 0; height: auto; width: 440px; max-width: none; margin: 0;
    border-radius: 0; border-left: 1px solid var(--line);
    transform: translateX(100%);
  }
  .sheet-grip { display: none; }
  .sheet-head { height: 64px; padding: 0 12px 0 24px; border-bottom: 1px solid var(--line); }
  .sheet-body { padding: 24px; }
  .sheet-foot { padding: 16px 24px 24px; }
}

/* ---------- Gutschein und ausverkauft ---------- */

.receipt-row.discount { color: var(--ok); }
.voucher-toggle { align-self: flex-start; }
.voucher-form { display: flex; gap: 8px; }
.voucher-form input {
  flex: 1; min-width: 0; height: 52px; padding: 0 14px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: var(--surface);
  font-family: var(--mono); font-size: 16px; text-transform: uppercase; color: var(--text);
}
.voucher-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.voucher-applied {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 4px 4px 4px 14px; border-radius: 12px; background: #eef5ef; border: 1px solid rgba(61, 122, 79, 0.3);
  color: var(--ok); font-size: 14px;
}
.voucher-applied .mono { font-family: var(--mono); }
.card.is-sold-out .card-media img { opacity: 0.45; filter: grayscale(0.6); }
.add-btn.sold-out { background: var(--surface-2); color: var(--muted); cursor: not-allowed; }

/* ---------- Größenauswahl ---------- */

.sizes { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 3px; margin: 6px 0 2px; background: var(--surface-2); border-radius: 10px; }
.sizes button {
  position: relative; height: 34px; border: 0; border-radius: 8px; background: transparent; cursor: pointer;
  font-family: var(--mono); font-size: 13px; color: var(--text-2);
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.sizes button[aria-checked="true"] { background: var(--surface); color: var(--text); box-shadow: 0 0 0 1px var(--line-strong); }
.sizes button.off { text-decoration: line-through; color: var(--muted); }
.size-qty {
  position: absolute; top: -5px; right: -3px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px;
  background: var(--accent); color: #fff; font-size: 10px; line-height: 16px;
}
