/* Speisebote – Kunden-Shop. Lädt nach app.css; Markenfarbe (--brand) kommt je Restaurant aus dem Theme. */

@font-face { font-family: "Shop Display"; src: url(/shop/fonts/bricolage-grotesque-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Shop Display"; src: url(/shop/fonts/bricolage-grotesque-latin-800-normal.woff2) format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --s-bg: #f6f5f2;
  --s-surface: #ffffff;
  --s-surface-2: #f1efea;
  --s-ink: #17171a;
  --s-muted: #6b6864;
  --s-line: #e8e5df;
  --s-ok: #188046;
  --s-danger: #c0392b;
  --s-shadow: 0 1px 2px rgba(20, 16, 10, .05), 0 8px 24px rgba(20, 16, 10, .06);
  --s-shadow-lg: 0 24px 64px rgba(20, 16, 10, .22);
  --s-radius: 16px;
  --brand-text: color-mix(in srgb, var(--brand) 88%, #000);
  --brand-soft: color-mix(in srgb, var(--brand) 10%, var(--s-surface));
  --brand-soft-2: color-mix(in srgb, var(--brand) 18%, var(--s-surface));
  --display: "Shop Display", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Basis-Tokens von app.css übernehmen (Kasse, Status) */
  --bg: var(--s-bg); --surface: var(--s-surface); --surface-2: var(--s-surface-2);
  --ink: var(--s-ink); --muted: var(--s-muted); --line: var(--s-line);
  --accent: var(--brand); --ok: var(--s-ok);
  color-scheme: light;
}
/* Der Shop ist bewusst immer hell – wirkt einladender und entspricht dem, was Gäste von Lieferportalen kennen. */

body.shop { background: var(--s-bg); color: var(--s-ink); -webkit-tap-highlight-color: transparent; }
.ic { flex: none; display: inline-block; vertical-align: middle; }
.ic.flip { transform: rotate(180deg); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--s-muted); }
button { font: inherit; color: inherit; }

/* ---------- Kopf ---------- */
.s-cover { position: relative; height: clamp(170px, 30vw, 300px); background: var(--brand) center / cover no-repeat; overflow: hidden; }
.s-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,.35) 100%); pointer-events: none; }
.s-cover.is-pattern { background: radial-gradient(900px 300px at 85% -10%, color-mix(in srgb, var(--brand) 60%, #fff) 0%, transparent 60%), linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 70%, #000)); }
.s-cover-icons { position: absolute; inset: -10% -5%; display: flex; flex-wrap: wrap; gap: 46px 56px; align-content: center; justify-content: center; color: #fff; opacity: .16; transform: rotate(-12deg); }
.s-cover-icons .ic { width: 46px; height: 46px; }
.s-round-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--s-surface); color: var(--s-ink); box-shadow: 0 2px 10px rgba(0,0,0,.12); cursor: pointer; text-decoration: none; flex: none; }
.s-round-btn.sm { width: 34px; height: 34px; box-shadow: none; background: var(--s-surface-2); }
.s-round-btn:hover { filter: brightness(.97); }
.s-info-btn { position: absolute; top: 14px; right: 14px; z-index: 2; }

.s-head { display: flex; align-items: flex-start; gap: 16px; margin-top: -46px; position: relative; z-index: 2; }
.s-logo { width: 92px; height: 92px; border-radius: 22px; background: var(--brand); border: 4px solid var(--s-bg); box-shadow: var(--s-shadow); overflow: hidden; display: grid; place-items: center; flex: none; color: #fff; font: 800 30px/1 var(--display); }
.s-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.s-logo.sm { width: 56px; height: 56px; border-radius: 14px; border-width: 0; font-size: 20px; }
.s-logo.xs { width: 40px; height: 40px; border-radius: 10px; border-width: 0; font-size: 15px; box-shadow: none; }
.s-title { padding-top: 56px; min-width: 0; } /* Name unterhalb der Titelbild-Kante, nur das Logo überlappt */
.s-title h1 { margin: 0; font: 800 clamp(26px, 4.4vw, 40px)/1.05 var(--display); letter-spacing: -.02em; }
.s-title p { margin: 6px 0 0; color: var(--s-muted); font-size: 15px; }

.s-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.s-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--s-surface); border: 1px solid var(--s-line); font-size: 13.5px; font-weight: 550; color: var(--s-ink); white-space: nowrap; }
.s-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--s-muted); }
.s-chip.open .dot { background: var(--s-ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--s-ok) 22%, transparent); }
.s-chip.closed .dot { background: var(--s-danger); }
.s-chip-link { cursor: pointer; color: var(--brand-text); }
.s-chip-link:hover { background: var(--brand-soft); }

.s-modebar { margin-top: 14px; }
.s-seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--s-surface-2); gap: 2px; }
.s-seg button { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 9px 18px; border-radius: 999px; font-weight: 650; font-size: 15px; cursor: pointer; color: var(--s-muted); }
.s-seg button[aria-pressed="true"] { background: var(--s-surface); color: var(--s-ink); box-shadow: 0 1px 4px rgba(0,0,0,.1); }
.s-seg button:disabled { opacity: .4; cursor: not-allowed; }

.s-notices { display: grid; gap: 8px; margin-top: 14px; }
.s-notices:empty { display: none; }
.s-notice { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--brand-soft); color: var(--s-ink); font-size: 14.5px; text-decoration: none; }
.s-notice > .ic:first-child { color: var(--brand-text); }
.s-notice > div { flex: 1; }
.s-notice a { color: inherit; font-weight: 650; }
.s-notice.info { background: color-mix(in srgb, #2f6fed 12%, var(--s-surface)); }
.s-notice.info > .ic:first-child { color: #2f6fed; }
.s-notice.danger { background: color-mix(in srgb, var(--s-danger) 13%, var(--s-surface)); }
.s-notice.danger > .ic:first-child { color: var(--s-danger); }
.s-notice.ok { background: color-mix(in srgb, var(--s-ok) 13%, var(--s-surface)); }
.s-notice.ok > .ic:first-child { color: var(--s-ok); }

/* ---------- Kategorie-Leiste ---------- */
.s-nav { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--s-bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); margin-top: 18px; border-bottom: 1px solid transparent; transition: border-color .2s; }
.s-nav.stuck { border-bottom-color: var(--s-line); }
.s-nav-inner { display: flex; align-items: center; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
.s-cats { flex: 1; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.s-cats::-webkit-scrollbar { display: none; }
.s-cats a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--s-muted); text-decoration: none; white-space: nowrap; scroll-snap-align: start; transition: background .15s, color .15s; }
.s-cats a:hover { color: var(--s-ink); background: var(--s-surface-2); }
.s-cats a.active { background: var(--s-ink); color: var(--s-bg); }
.s-search { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 999px; background: var(--s-surface); border: 1px solid var(--s-line); color: var(--s-muted); width: 40px; overflow: hidden; transition: width .2s; cursor: text; flex: none; }
.s-search input { border: 0; outline: 0; background: none; font: inherit; font-size: 15px; color: var(--s-ink); width: 100%; min-width: 0; }
.s-search.open, .s-search:focus-within { width: min(260px, 60vw); border-color: var(--brand); }
@media (min-width: 900px) { .s-search { width: 240px; } }

/* ---------- Abschnitte & Karten ---------- */
.s-layout { display: grid; grid-template-columns: 1fr; gap: 28px; padding-bottom: 120px; }
@media (min-width: 1100px) { .s-layout { grid-template-columns: 1fr 340px; padding-bottom: 60px; } }
.s-sec { padding-top: 22px; scroll-margin-top: 70px; }
.s-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.s-sec h2 { display: flex; align-items: center; gap: 10px; margin: 0; font: 700 23px/1.2 var(--display); letter-spacing: -.01em; }
.s-sec h2 .ic { color: var(--brand-text); }
.s-sec-note { margin: 6px 0 0; color: var(--s-muted); font-size: 14.5px; }
.s-items { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 14px; }
@media (min-width: 760px) { .s-items { grid-template-columns: 1fr 1fr; } }

.s-item { display: flex; gap: 14px; justify-content: space-between; text-align: left; width: 100%; padding: 14px; border-radius: var(--s-radius); background: var(--s-surface); border: 1px solid var(--s-line); cursor: pointer; transition: transform .12s, box-shadow .15s, border-color .15s; min-height: 132px; }
.s-item:hover { box-shadow: var(--s-shadow); border-color: color-mix(in srgb, var(--brand) 30%, var(--s-line)); }
.s-item:active { transform: scale(.99); }
.s-item:focus-visible, .s-pop-card:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; }
.s-item-txt { display: flex; flex-direction: column; gap: 5px; min-width: 0; flex: 1; }
.s-item-name { font-weight: 700; font-size: 16px; line-height: 1.3; }
.s-item-name .nr { color: var(--s-muted); font-weight: 500; font-size: 13px; margin-right: 6px; }
.s-item-desc { color: var(--s-muted); font-size: 14px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.s-item-price { margin-top: auto; padding-top: 4px; font-weight: 700; color: var(--brand-text); font-size: 15px; }
.s-sold { color: var(--s-danger); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.s-item.soldout { cursor: not-allowed; }
.s-item.soldout .s-item-txt, .s-item.soldout .s-item-media { opacity: .5; }
.s-item-media { position: relative; width: 112px; height: 104px; border-radius: 12px; overflow: hidden; flex: none; background: var(--s-surface-2); align-self: center; }
.s-item-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.s-item-media.is-ph, .s-pop-media .s-ph, .s-sheet-media.is-ph { background: var(--brand-soft); }
.s-ph { width: 100%; height: 100%; display: grid; place-items: center; color: color-mix(in srgb, var(--brand-text) 75%, transparent); }
.s-add { position: absolute; right: 8px; bottom: 8px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--s-surface); color: var(--brand-text); box-shadow: 0 2px 8px rgba(0,0,0,.18); font-weight: 800; font-size: 14px; transition: transform .12s; }
.s-add.in { background: var(--brand); color: #fff; }
.s-item:hover .s-add, .s-pop-card:hover .s-add { transform: scale(1.08); }
@media (max-width: 420px) { .s-item-media { width: 96px; height: 96px; } }

.tgs { display: flex; flex-wrap: wrap; gap: 5px; }
.tg { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--s-surface-2); color: var(--s-muted); white-space: nowrap; }
.tg-vegan .ic, .tg-vegetarian .ic { color: var(--s-ok); }
.tg-spicy .ic { color: #e2462d; }
.tg-popular .ic, .tg-new .ic { color: #d99a00; }

/* Beliebt-Leiste */
.s-scroll-btns { display: none; gap: 6px; }
@media (min-width: 760px) { .s-scroll-btns { display: flex; } }
.s-pop { display: grid; grid-auto-flow: column; grid-auto-columns: 168px; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; margin: 14px -16px 0; padding: 2px 16px 6px; }
.s-pop::-webkit-scrollbar { display: none; }
@media (min-width: 760px) { .s-pop { grid-auto-columns: 200px; margin: 14px 0 0; padding: 2px 0 6px; } }
.s-pop-card { display: flex; flex-direction: column; gap: 4px; text-align: left; border: 0; background: none; padding: 0; cursor: pointer; scroll-snap-align: start; }
.s-pop-media { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--s-surface-2); margin-bottom: 6px; }
.s-pop-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.s-pop-card:hover .s-pop-media img { transform: scale(1.04); }
.s-pop-name { font-weight: 650; font-size: 15px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.s-pop-price { font-weight: 700; color: var(--brand-text); font-size: 14.5px; }
.s-empty { text-align: center; color: var(--s-muted); padding: 60px 0; }

/* ---------- Warenkorb ---------- */
.s-cart-side { display: none; }
@media (min-width: 1100px) { .s-cart-side { display: block; padding-top: 22px; } .s-cart-side .s-cart { position: sticky; top: 80px; background: var(--s-surface); border: 1px solid var(--s-line); border-radius: 20px; padding: 18px; box-shadow: var(--s-shadow); } }
.s-cart h3 { margin: 0 0 12px; font: 700 20px/1.2 var(--display); }
.s-cart-empty { text-align: center; color: var(--s-muted); padding: 22px 0 10px; }
.s-cart-empty .ic { color: var(--s-line); }
.s-cart-empty p { margin: 8px 0 0; font-size: 14px; }
.s-cart-lines { display: grid; gap: 14px; max-height: 46vh; overflow: auto; }
.s-line { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: start; }
.s-line-txt { display: grid; gap: 2px; min-width: 0; font-size: 14.5px; }
.s-line-txt span { color: var(--s-muted); font-size: 13px; }
.s-line-price { font-weight: 650; font-size: 14.5px; white-space: nowrap; }
.s-link-btn { border: 0; background: none; padding: 0; color: var(--brand-text); font-weight: 600; font-size: 13px; cursor: pointer; justify-self: start; text-decoration: none; }
.s-link-btn:hover { text-decoration: underline; }
.s-sums { display: grid; gap: 6px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--s-line); font-size: 14.5px; }
.s-sums > div { display: flex; justify-content: space-between; }
.s-min { display: flex; gap: 8px; align-items: center; margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--brand-soft); font-size: 13.5px; }
.s-cart .s-btn-primary { margin-top: 14px; }

.s-qty { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: var(--s-surface-2); }
.s-qty button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--s-surface); display: grid; place-items: center; cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.s-qty span { min-width: 28px; text-align: center; font-weight: 700; }
.s-qty.sm button { width: 28px; height: 28px; box-shadow: none; background: transparent; }
.s-qty.sm span { min-width: 18px; font-size: 14px; }

.s-btn-primary { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 52px; padding: 0 20px; border: 0; border-radius: 14px; background: var(--brand); color: #fff; font-weight: 700; font-size: 16px; cursor: pointer; text-decoration: none; box-shadow: 0 6px 18px color-mix(in srgb, var(--brand) 35%, transparent); transition: filter .15s, transform .1s; }
.s-btn-primary:hover { filter: brightness(1.06); }
.s-btn-primary:active { transform: scale(.99); }
.s-btn-primary:disabled, .s-btn-primary.disabled { opacity: .45; cursor: not-allowed; box-shadow: none; pointer-events: none; justify-content: center; }
.s-btn-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; border: 0; border-radius: 14px; background: var(--s-surface-2); color: var(--s-ink); font-weight: 650; cursor: pointer; }
.s-pill { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; background: var(--s-surface-2); color: var(--s-ink); font-weight: 600; font-size: 14px; text-decoration: none; border: 0; cursor: pointer; }
.s-pill:hover { background: var(--brand-soft-2); }
.s-count { min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px; background: rgba(255,255,255,.22); display: grid; place-items: center; font-size: 14px; }

.s-cartbar { position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 40; transform: translateY(120%); transition: transform .25s; pointer-events: none; }
.s-cartbar.show { transform: none; pointer-events: auto; }
.s-cartbar .s-btn-primary { max-width: 560px; margin: 0 auto; min-height: 56px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
@media (min-width: 1100px) { .s-cartbar { display: none; } }

/* ---------- Fenster (Gericht, Infos, Warenkorb) ---------- */
.s-overlay { position: fixed; inset: 0; z-index: 60; background: rgba(10, 8, 6, 0); display: flex; align-items: flex-end; justify-content: center; transition: background .18s; padding: 0; }
.s-overlay.in { background: rgba(10, 8, 6, .55); }
.s-sheet { position: relative; width: 100%; max-height: 94vh; background: var(--s-surface); color: var(--s-ink); border-radius: 22px 22px 0 0; display: flex; flex-direction: column; overflow: hidden; transform: translateY(40px); opacity: 0; transition: transform .2s ease-out, opacity .18s; box-shadow: var(--s-shadow-lg); }
.s-overlay.in .s-sheet { transform: none; opacity: 1; }
@media (min-width: 700px) {
  .s-overlay { align-items: center; padding: 24px; }
  .s-sheet { max-width: 560px; border-radius: 22px; max-height: min(88vh, 900px); }
}
.s-sheet-scroll { overflow-y: auto; overscroll-behavior: contain; flex: 1; }
.s-sheet-media { position: relative; aspect-ratio: 16 / 10; background: var(--s-surface-2); }
.s-sheet-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.s-sheet-media.is-ph { aspect-ratio: 16 / 7; }
.s-close { position: absolute; top: 12px; right: 12px; }
.s-sheet-body { padding: 18px 20px 20px; }
.s-sheet-body h3 { margin: 0; font: 800 26px/1.15 var(--display); letter-spacing: -.01em; }
.s-sheet-price { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-weight: 700; font-size: 17px; color: var(--brand-text); }
.s-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; background: var(--brand-soft-2); color: var(--brand-text); font-size: 12px; font-weight: 700; }
.s-sheet-desc { margin: 10px 0; color: var(--s-muted); line-height: 1.5; }
.s-sheet-body > .tgs { margin-top: 8px; }

.s-group { border: 0; margin: 20px 0 0; padding: 0; }
.s-group legend, .s-group > label:not(.s-choice) { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 0 0 8px; margin-bottom: 4px; border-bottom: 1px solid var(--s-line); font-weight: 700; font-size: 16px; }
.s-req { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--brand-soft-2); color: var(--brand-text); }
.s-opt { font-size: 12.5px; font-weight: 500; color: var(--s-muted); }
.s-choice { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--s-line); cursor: pointer; }
.s-choice:last-child { border-bottom: 0; }
.s-choice input { position: absolute; opacity: 0; pointer-events: none; }
.s-choice-mark { width: 22px; height: 22px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--s-muted) 60%, transparent); display: grid; place-items: center; transition: border-color .12s, background .12s; }
.s-choice.multi .s-choice-mark { border-radius: 7px; }
.s-choice input:checked + .s-choice-mark { border-color: var(--brand); background: var(--brand); box-shadow: inset 0 0 0 4px var(--s-surface); }
.s-choice.multi input:checked + .s-choice-mark { box-shadow: none; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.s-choice input:focus-visible + .s-choice-mark { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 2px; }
.s-choice-name { font-size: 15.5px; }
.s-choice-price { color: var(--s-muted); font-size: 14.5px; white-space: nowrap; }
.s-note textarea { width: 100%; margin-top: 8px; padding: 12px; border-radius: 12px; border: 1.5px solid var(--s-line); background: var(--s-surface); color: var(--s-ink); font: inherit; resize: vertical; }
.s-note textarea:focus { outline: 0; border-color: var(--brand); }
.s-codes { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; border: 0; background: none; padding: 0; color: var(--s-muted); font-size: 13px; cursor: pointer; }
.s-sheet-foot { display: flex; gap: 12px; align-items: center; padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--s-line); background: var(--s-surface); }
.s-sheet-foot .s-btn-primary { flex: 1; }
.s-sheet.scrolled .s-sheet-media .s-close { position: fixed; }

/* Infos */
.s-info .s-sheet-body h4 { display: flex; align-items: center; gap: 8px; margin: 22px 0 10px; font-size: 16px; }
.s-info .s-sheet-body h4 .ic { color: var(--brand-text); }
.s-info-head { display: flex; align-items: center; gap: 12px; }
.s-info-head > div { flex: 1; min-width: 0; }
.s-info-head h3 { font-size: 22px; }
.s-info-head p { margin: 2px 0 0; font-size: 14px; }
.s-info-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.s-hours { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.s-hours td { padding: 7px 0; border-bottom: 1px solid var(--s-line); }
.s-hours td:last-child { text-align: right; }
.s-hours tr.today td { font-weight: 700; color: var(--brand-text); }
.s-zones { display: grid; gap: 8px; font-size: 14.5px; }
.s-zones span { display: block; color: var(--s-muted); font-size: 13px; }
.s-legend { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 520px) { .s-legend { grid-template-columns: 1fr 1fr; } }
.s-legend h5 { margin: 0 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--s-muted); }
.s-legend dl { display: grid; grid-template-columns: 28px 1fr; gap: 4px 8px; margin: 0; font-size: 13.5px; }
.s-legend dt { font-weight: 700; }
.s-legend dd { margin: 0; color: var(--s-muted); }
.s-legal-links { margin-top: 18px; font-size: 14px; }
.s-legal-links a { color: var(--brand-text); }
.s-cart-sheet .s-cart-lines { max-height: none; }

/* ---------- Footer ---------- */
.s-foot { border-top: 1px solid var(--s-line); background: var(--s-surface); padding: 22px 0 calc(100px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 1100px) { .s-foot { padding-bottom: 28px; } }
.s-foot-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.s-foot-brand { display: flex; align-items: center; gap: 10px; }
.s-foot-brand span { display: block; color: var(--s-muted); font-size: 13.5px; }
.s-foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 14px; }
.s-foot-links a { color: var(--s-muted); text-decoration: none; }
.s-foot-links a:hover { color: var(--s-ink); }
.s-foot-links .s-link-btn { font-size: 14px; }

/* ---------- Kasse & Bestellstatus ---------- */
.s-topbar { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--s-bg) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--s-line); }
.s-topbar-inner { display: flex; align-items: center; gap: 12px; height: 60px; }
.s-topbar-inner b { font: 700 19px/1 var(--display); }
.s-topbar-shop { margin-left: auto; color: var(--s-muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-topbar .s-round-btn { box-shadow: none; background: var(--s-surface-2); }
body.shop .card { background: var(--s-surface); border: 1px solid var(--s-line); border-radius: 20px; box-shadow: none; }
body.shop .section h3, body.shop .card h3 { font: 700 18px/1.25 var(--display); }
body.shop .radio-card { border-radius: 14px; border-color: var(--s-line); background: var(--s-surface); }
body.shop .radio-card:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); background: var(--brand-soft); }
body.shop .field input, body.shop .field select, body.shop .field textarea { background: var(--s-surface); color: var(--s-ink); border-color: var(--s-line); border-radius: 12px; }
body.shop .field input:focus, body.shop .field select:focus, body.shop .field textarea:focus { border-color: var(--brand); outline: 0; }
body.shop .s-submit { margin-top: 14px; justify-content: center; }
body.shop .steps .bar, body.shop .step.done i { background: var(--brand); }
body.shop .step.now i { border-color: var(--brand); color: var(--brand-text); }
body.shop .eta-big { color: var(--brand-text); font-family: var(--display); }
body.shop .track-hero h2 { font-family: var(--display); }
body.shop .err { border-radius: 12px; }
body.shop .toast { border-radius: 14px; }
body.shop .s-btn-secondary .ic { color: var(--brand-text); }

@media (prefers-reduced-motion: reduce) {
  .s-sheet, .s-overlay, .s-cartbar, .s-item, .s-pop-media img, .s-search { transition: none; }
}

/* Auswahlzeilen: allgemeine label-Regeln aus app.css neutralisieren */
.s-choice { text-align: left; font-weight: 400; color: var(--s-ink); font-size: inherit; margin: 0; }
.s-choice-name { font-weight: 500; text-align: left; }
.s-overlay { text-align: left; }
/* Gitterspalte darf nicht von der scrollbaren Beliebt-Leiste aufgedehnt werden */
.s-layout > main, .s-layout > aside { min-width: 0; }

/* ---------- Warenkorb (Feinschliff) ---------- */
.s-cart-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.s-cart-head h3 { margin: 0; }
.s-cart-head .muted { font-size: 13.5px; }
.s-cart-empty span { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--s-surface-2); color: var(--s-muted); }
.s-cart-empty p { line-height: 1.5; }
.s-cart-empty b { color: var(--s-ink); }
.s-line { grid-template-columns: 48px 1fr auto; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--s-line); }
.s-line:last-child { border-bottom: 0; padding-bottom: 0; }
.s-line-thumb { width: 48px; height: 48px; border-radius: 10px; overflow: hidden; background: var(--s-surface-2); display: grid; place-items: center; color: var(--brand-text); }
.s-line-thumb.is-ph { background: var(--brand-soft); }
.s-line-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.s-line-txt b { font-size: 14.5px; line-height: 1.3; }
.s-line-end { display: grid; justify-items: end; gap: 6px; }
.s-line-end .s-qty.sm { background: var(--s-surface-2); }
.s-progress { display: grid; gap: 7px; margin-top: 14px; padding: 12px; border-radius: 12px; background: var(--brand-soft); font-size: 13.5px; }
.s-progress span { display: block; line-height: 1.45; }
.s-progress span .ic { margin: -2px 6px 0 0; }
.s-progress span .ic { color: var(--brand-text); }
.s-progress-bar { height: 6px; border-radius: 99px; background: color-mix(in srgb, var(--brand) 18%, var(--s-surface)); overflow: hidden; }
.s-progress-bar i { display: block; height: 100%; border-radius: inherit; background: var(--brand); transition: width .3s; }
.s-progress.free { background: color-mix(in srgb, var(--s-ok) 12%, var(--s-surface)); }
.s-progress.free .s-progress-bar { background: color-mix(in srgb, var(--s-ok) 20%, var(--s-surface)); }
.s-progress.free .s-progress-bar i { background: var(--s-ok); }
.s-progress.free span .ic { color: var(--s-ok); }

/* ---------- Kasse ---------- */
.s-co { display: grid; grid-template-columns: 1fr; gap: 16px; padding-top: 18px; padding-bottom: 110px; }
@media (min-width: 1024px) { .s-co { grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; padding-bottom: 48px; } }
.s-co-main { display: grid; gap: 14px; min-width: 0; }
.s-co-card { background: var(--s-surface); border: 1px solid var(--s-line); border-radius: 20px; padding: 18px; }
.s-co-card h3, .s-co-summary h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 700 18px/1.25 var(--display); }
.s-step { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; font: 700 13px/1 system-ui, sans-serif; flex: none; }
.s-seg-full { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
.s-seg-full label { position: relative; cursor: pointer; }
.s-seg-full input { position: absolute; opacity: 0; pointer-events: none; }
.s-seg-full span { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 12px; border-radius: 999px; font-weight: 650; color: var(--s-muted); transition: background .15s, color .15s; }
.s-seg-full input:checked + span { background: var(--s-surface); color: var(--s-ink); box-shadow: 0 1px 4px rgba(0,0,0,.1); }
.s-seg-full input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); }
.s-seg-full label.disabled { opacity: .4; cursor: not-allowed; }
.s-co-hint { display: flex; align-items: center; gap: 8px; margin: 12px 2px 0; color: var(--s-muted); font-size: 14px; }

.s-field { display: grid; gap: 6px; margin-top: 12px; }
.s-co-card h3 + .s-field, .s-co-card h3 + .s-grid2 > .s-field:first-child { margin-top: 0; }
.s-field > label { font-size: 13.5px; font-weight: 650; color: var(--s-ink); }
.s-field > label .muted { font-weight: 500; }
.s-field input, .s-field select, .s-field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--s-line); background: var(--s-surface); color: var(--s-ink); font: inherit; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.s-field textarea { min-height: 72px; resize: vertical; }
.s-field input:focus, .s-field select:focus, .s-field textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.s-field-err { display: none; color: var(--s-danger); font-size: 13px; font-weight: 550; }
.s-field.invalid input, .s-field.invalid select { border-color: var(--s-danger); background: color-mix(in srgb, var(--s-danger) 5%, var(--s-surface)); }
.s-field.invalid .s-field-err { display: block; }
.s-grid2, .s-grid-addr { display: grid; grid-template-columns: 1fr; gap: 0 12px; }
@media (min-width: 560px) { .s-grid2 { grid-template-columns: 1fr 1fr; } .s-grid-addr { grid-template-columns: 1.2fr 1fr; } }
.s-co-zone { display: flex; align-items: flex-start; gap: 8px; margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--s-surface-2); color: var(--s-muted); font-size: 13.5px; line-height: 1.45; }
.s-co-zone .ic { margin-top: 1px; }
.s-co-zone.ok { background: color-mix(in srgb, var(--s-ok) 10%, var(--s-surface)); color: var(--s-ink); }
.s-co-zone.ok .ic { color: var(--s-ok); }

.s-chips-row { display: flex; flex-wrap: wrap; gap: 8px; }
.s-chip-opt { position: relative; cursor: pointer; }
.s-chip-opt input { position: absolute; opacity: 0; pointer-events: none; }
.s-chip-opt > span { display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--s-line); background: var(--s-surface); font-weight: 600; font-size: 14.5px; transition: border-color .15s, background .15s; }
.s-chip-opt input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--s-ink); box-shadow: 0 0 0 1px var(--brand); }
.s-chip-opt input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 2px; }
.s-chip-opt.big { flex: 1 1 200px; }
.s-chip-opt.big > span { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; border-radius: 14px; padding: 12px 14px; width: 100%; }
.s-chip-opt.big small { grid-column: 2; color: var(--s-muted); font-weight: 500; font-size: 13px; }
.s-chip-opt.big .ic { grid-row: span 2; align-self: center; color: var(--brand-text); }
#slotField { margin-top: 12px; }

.s-pay { display: grid; gap: 8px; }
.s-pay-opt { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; border: 1.5px solid var(--s-line); cursor: pointer; position: relative; }
.s-pay-opt input { position: absolute; opacity: 0; pointer-events: none; }
.s-pay-opt > span { flex: 1; display: grid; }
.s-pay-opt small { color: var(--s-muted); font-size: 13px; }
.s-pay-opt:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 1px var(--brand); }
.s-pay-opt:has(input:checked) .s-choice-mark { border-color: var(--brand); background: var(--brand); box-shadow: inset 0 0 0 4px var(--s-surface); }
.s-pay-opt.disabled { opacity: .5; cursor: not-allowed; }

.s-co-side { min-width: 0; }
.s-co-summary { background: var(--s-surface); border: 1px solid var(--s-line); border-radius: 20px; padding: 18px; display: grid; gap: 12px; }
@media (min-width: 1024px) { .s-co-summary { position: sticky; top: 76px; box-shadow: var(--s-shadow); } }
.s-co-summary h3 { margin-bottom: 0; }
.s-co-summary .s-sums { margin-top: 0; }
.s-co-summary .s-cart-lines { max-height: none; }
.s-co-shop { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: var(--s-surface-2); }
.s-co-shop span { display: block; color: var(--s-muted); font-size: 13px; }
.s-co-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.s-total { padding-top: 8px; margin-top: 2px; border-top: 1px dashed var(--s-line); font-weight: 800; font-size: 18px; }
.s-free { color: var(--s-ok); }
.s-co-summary .s-submit { margin-top: 2px; justify-content: space-between; }
.s-legal { margin: 0; color: var(--s-muted); font-size: 12.5px; line-height: 1.5; }
.s-legal a { color: inherit; }
.s-co-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--s-bg) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--s-line); }
.s-co-bar .s-btn-primary { max-width: 560px; margin: 0 auto; }
.s-co-summary .s-submit { display: none; }
@media (min-width: 1024px) { .s-co-bar { display: none; } .s-co-summary .s-submit { display: flex; } }
.s-spin { width: 20px; height: 20px; border-width: 2px; border-color: rgba(255,255,255,.4); border-top-color: #fff; }
.s-btn-primary .s-spin + span { flex: 1; text-align: center; }

/* hidden-Attribut gewinnt immer gegen Layout-Regeln */
body.shop [hidden] { display: none !important; }
.s-demo-next { margin: 18px auto 0; max-width: 360px; }
.s-dep { display: block; font-size: 12px; font-weight: 500; color: var(--s-muted); }
.s-sheet-price .s-dep { display: inline; margin-left: 8px; }
.s-vat { text-align: right; font-size: 12px; color: var(--s-muted); margin-top: -2px; }
