/* Public shop page. Mobile first; the shop colour arrives as --accent (set by core.js together with
   readable variants for text on light and dark backgrounds). Layout direction never changes. */
@font-face { font-family: "Onest"; src: url("/assets/fonts/onest-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; src: url("/assets/fonts/onest-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage"; src: url("/assets/fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url("/assets/fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url("/assets/fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2") format("woff2"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url("/assets/fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2") format("woff2"); font-weight: 700 900; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/assets/fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --accent: #3b4bd8; --on-accent: #fff; --accent-ink-l: #3b4bd8; --accent-ink-d: #9aa6ff; --accent-soft-l: #eef0fd; --accent-soft-d: #22264a; --accent-deep: #1b2030;
  --bg: #f4f2ee; --surface: #fff; --surface-2: #faf9f6; --sunken: #ecebe6;
  --ink: #15171c; --ink-2: #474c57; --ink-3: #626875;
  --line: rgba(21, 23, 28, .1); --line-2: rgba(21, 23, 28, .2);
  --accent-ink: var(--accent-ink-l); --accent-soft: var(--accent-soft-l);
  --ok: #137a45; --ok-soft: #e4f4ea; --warn: #9a5800; --warn-soft: #fbf0dc; --bad: #b42318; --bad-soft: #fde9e7; --info: #285ec9; --info-soft: #e7eefb;
  --r: 20px; --r-s: 13px; --r-xs: 9px;
  --shadow: 0 1px 2px rgba(16, 18, 24, .05), 0 10px 30px -16px rgba(16, 18, 24, .22);
  --shadow-lg: 0 2px 4px rgba(16, 18, 24, .06), 0 30px 60px -20px rgba(16, 18, 24, .38);
  --font: "Onest", "Plex Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Bricolage", "Onest", "Plex Arabic", system-ui, sans-serif;
  --mono: "Plex Mono", ui-monospace, Menlo, monospace;
  --nav-h: 52px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1015; --surface: #161920; --surface-2: #1b1f27; --sunken: #0b0d11;
    --ink: #eef0f4; --ink-2: #c0c5cf; --ink-3: #9da3af;
    --line: rgba(238, 240, 244, .1); --line-2: rgba(238, 240, 244, .2);
    --accent-ink: var(--accent-ink-d); --accent-soft: var(--accent-soft-d);
    --ok: #4ccb84; --ok-soft: #12291d; --warn: #f0b04a; --warn-soft: #2d230f; --bad: #ff8577; --bad-soft: #321613; --info: #86a9ff; --info-soft: #172240;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px -16px rgba(0, 0, 0, .7);
    --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--accent-ink); text-underline-offset: .18em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2.5px solid var(--accent-ink); outline-offset: 2px; border-radius: 6px; }
[lang="ar"], [lang="fa"] { font-family: "Plex Arabic", var(--font); line-height: 1.7; }
h1[lang="ar"], h2[lang="ar"], h3[lang="ar"], .hero-name[lang="ar"] { line-height: 1.4; }
[hidden] { display: none !important; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--ink-3); }
.small { font-size: 13.5px; }
.mono { font-family: var(--mono); letter-spacing: .02em; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
.nojs { padding: 24px; text-align: center; }

/* icons */
.ic { display: inline-flex; width: 1.2em; height: 1.2em; flex: none; }
.ic svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic-xl { width: 40px; height: 40px; color: var(--ink-3); }
.ic-ok { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15.5px; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .12s ease, background-color .15s, border-color .15s, box-shadow .15s; position: relative; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn-accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 6px 18px -8px var(--accent); }
.btn-accent:hover:not([disabled]) { filter: brightness(1.06); }
.btn-line { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--ink-3); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--sunken); }
.btn-soft { background: var(--accent-soft); color: var(--accent-ink); }
.btn-soft:hover { filter: brightness(.97); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn-lg { min-height: 54px; padding: 0 24px; font-size: 16.5px; }
.btn-block { width: 100%; }
.btn-icon { width: 46px; padding: 0; }
.btn.busy { color: transparent !important; pointer-events: none; }
.btn.busy::after { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--on-accent); border-right-color: transparent; animation: spin .7s linear infinite; }
.btn-line.busy::after, .btn-ghost.busy::after { border-color: var(--ink); border-right-color: transparent; }
.btn .ic { width: 1.15em; height: 1.15em; }
.link { background: none; border: 0; padding: 0; color: var(--accent-ink); text-decoration: underline; text-underline-offset: .18em; cursor: pointer; font: inherit; }
.spin { display: inline-block; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--line-2); border-top-color: var(--accent-ink); animation: spin .7s linear infinite; vertical-align: -3px; }
.spin-sm { width: 14px; height: 14px; border-width: 2px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* boot skeleton */
.boot-cover { height: 200px; background: linear-gradient(120deg, #2a2f3d, #1b2030); }
.boot-logo { width: 84px; height: 84px; border-radius: 50%; background: var(--sunken); margin-top: -42px; border: 4px solid var(--bg); }
.boot-line { height: 22px; width: 60%; background: var(--sunken); border-radius: 8px; margin-top: 16px; }
.boot-line.short { width: 36%; height: 14px; }

/* demo bar */
.demo-bar { background: var(--ink); color: var(--bg); font-size: 13.5px; }
.demo-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; padding-top: 8px; padding-bottom: 8px; }
.demo-bar p { flex: 1 1 300px; }
.demo-bar .demo-sel { width: auto; min-height: 34px; flex: 0 1 auto; }
.demo-sel { background: transparent; color: inherit; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; padding: 5px 30px 5px 12px; font-size: 13px;
  appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 15px) 52%, calc(100% - 10px) 52%; background-size: 5px 5px; background-repeat: no-repeat; max-width: 100%; }
.demo-sel option { color: #111; }
@media (prefers-color-scheme: dark) { .demo-bar { background: #e9ebf0; color: #12151c; } .demo-sel { border-color: rgba(0, 0, 0, .25); } }
.demo-hint { font-size: 13px; color: var(--ink-3); background: var(--sunken); border-radius: 10px; padding: 8px 12px; margin-top: 12px; }
.demo-hint a { font-family: var(--mono); font-weight: 600; }

/* hero */
.hero { position: relative; }
.hero-cover { height: 210px; overflow: hidden; background: var(--accent-deep); }
.hero-cover img { width: 100%; height: 100%; object-fit: cover; }
.hero-cover::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 210px; background: linear-gradient(180deg, rgba(0, 0, 0, .28), transparent 40%); pointer-events: none; }
.hero-in { position: static; }
.hero-top { display: flex; align-items: flex-end; justify-content: space-between; margin-top: -46px; }
.hero-brand { display: inline-block; border-radius: 50%; position: relative; z-index: 1; }
.logo { width: 92px; height: 92px; border-radius: 50%; border: 4px solid var(--bg); box-shadow: var(--shadow); background: var(--surface); }
.hero .lang { position: absolute; top: 12px; right: 12px; z-index: 5; }
.hero-text { margin-top: 12px; }
.hero-name { font-family: var(--display); font-size: clamp(32px, 8.6vw, 56px); font-weight: 750; letter-spacing: -.025em; line-height: 1.02; overflow-wrap: anywhere; }
.hero-tag { margin-top: 8px; font-size: 17px; color: var(--ink-2); max-width: 46ch; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 14px; }
.hero-addr { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-3); font-size: 14.5px; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 4px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none;
  background: var(--sunken); color: var(--ink-2); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.pill.open { background: var(--ok-soft); color: var(--ok); }
.pill.open .dot { box-shadow: 0 0 0 0 currentColor; animation: pulse 2.2s infinite; }
.pill.soon { background: var(--warn-soft); color: var(--warn); }
.pill.closed { background: var(--bad-soft); color: var(--bad); }
.pill-note { font-weight: 500; }
.pill-big { min-height: 38px; font-size: 15px; margin: 4px 0 10px; }
p.today { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-weight: 650; color: var(--ink); }
p.today .ic { color: var(--accent-ink); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 55%, transparent); } 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.qas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 0 6px; }
.qa { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 68px; padding: 8px 4px; border-radius: 16px; background: var(--surface);
  border: 1px solid var(--line); color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; box-shadow: 0 1px 1px rgba(0, 0, 0, .02); transition: border-color .15s, transform .12s; }
.qa .ic { width: 22px; height: 22px; color: var(--accent-ink); }
.qa:hover { border-color: var(--line-2); }
.qa:active { transform: scale(.97); }

/* language */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 11px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); background: rgba(12, 14, 20, .38);
  color: #fff; font-size: 13px; font-weight: 650; letter-spacing: .03em; cursor: pointer; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.lang-btn .ic { width: 17px; height: 17px; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 170px; padding: 6px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); }
.lang-menu button { display: flex; width: 100%; min-height: 40px; align-items: center; padding: 0 12px; border: 0; border-radius: 9px; background: none; cursor: pointer; font-size: 15px; text-align: left; }
.lang-menu button[aria-checked="true"] { background: var(--accent-soft); color: var(--accent-ink); font-weight: 650; }
.lang-menu button:hover { background: var(--sunken); }
.trk-top .lang-btn { background: var(--surface); color: var(--ink); border-color: var(--line-2); backdrop-filter: none; }

/* section nav */
.secnav { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; margin-top: 18px; transition: border-color .2s; }
.scrolled .secnav { border-bottom-color: var(--line); }
.secnav .wrap { padding: 0; }
.secnav-in { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 9px 16px; height: var(--nav-h); align-items: center; }
.secnav-in::-webkit-scrollbar { display: none; }
.secnav a { flex: none; display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; color: var(--ink-2); font-size: 14.5px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.secnav a:hover { background: var(--sunken); }
.secnav a.on { background: var(--ink); color: var(--bg); }

/* layout */
.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 40px; padding-bottom: 40px; }
.col-main { min-width: 0; }
.col-side { display: grid; gap: 16px; align-content: start; padding-top: 24px; }
.sec { padding: 30px 0 34px; border-top: 1px solid var(--line); }
.sec:first-child { border-top: 0; padding-top: 22px; }
.sec-head { margin-bottom: 18px; }
.sec-title { font-family: var(--display); font-size: clamp(25px, 6.4vw, 34px); font-weight: 720; letter-spacing: -.02em; }
.sec-sub { margin-top: 6px; color: var(--ink-3); max-width: 62ch; }
.sec > .sec-sub { margin: -10px 0 14px; }
.lead { font-size: 17.5px; line-height: 1.6; color: var(--ink-2); max-width: 64ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; font-weight: 550; }
.chips .ic { color: var(--accent-ink); width: 17px; height: 17px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); }
.card-title { font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 10px; }
.card-accent { border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); background: linear-gradient(180deg, var(--accent-soft), var(--surface) 70%); }

/* contact card */
.contact .card-title { margin-bottom: 8px; }
.hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours th, .hours td { padding: 7px 0; border-bottom: 1px dashed var(--line); font-weight: 450; }
.hours th { text-align: left; color: var(--ink-2); }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.today th, .hours tr.today td { font-weight: 700; color: var(--ink); }
.hours tr.today th::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: 2px; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.exceptions { margin-top: 10px; display: grid; gap: 4px; font-size: 13.5px; color: var(--warn); background: var(--warn-soft); padding: 10px 12px; border-radius: 12px; }
.addr { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; }
.contact-list { display: grid; gap: 2px; margin-top: 12px; }
.contact-list a { display: flex; align-items: center; gap: 10px; min-height: 42px; color: var(--ink); text-decoration: none; font-weight: 550; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--accent-ink); }
.contact-list .ic { color: var(--accent-ink); }

/* services */
.svc-groups { display: grid; gap: 22px; }
.svc-cat { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.svc-list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 2px 16px; box-shadow: var(--shadow); }
.svc { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.svc:last-child { border-bottom: 0; }
.svc-main { display: grid; gap: 2px; min-width: 0; }
.svc-name { font-weight: 650; }
.svc-desc { color: var(--ink-3); font-size: 14.5px; }
.svc-dur { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-3); font-size: 13.5px; margin-top: 2px; }
.svc-dur .ic { width: 15px; height: 15px; }
.svc-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex: none; }
.svc-price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.svc-price.free { color: var(--ok); }

/* gallery */
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery li { scroll-snap-align: start; }
.g-item { display: block; position: relative; width: 100%; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; cursor: zoom-in; background: var(--sunken); aspect-ratio: 4 / 3; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.g-item:hover img { transform: scale(1.03); }
.g-cap { position: absolute; left: 10px; bottom: 10px; right: 10px; padding: 6px 11px; border-radius: 10px; background: rgba(12, 14, 20, .58); color: #fff; font-size: 13.5px; font-weight: 550; text-align: left;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); width: fit-content; max-width: calc(100% - 20px); }
.lb { margin: 0; }
.lb-img { width: 100%; border-radius: 14px; background: var(--sunken); aspect-ratio: 4 / 3; object-fit: cover; }
.lb-cap { margin-top: 10px; color: var(--ink-2); }
.lb-nav { display: flex; justify-content: space-between; }

/* menu & cart */
.order-info { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.tag .ic { color: var(--accent-ink); width: 16px; height: 16px; }
.tag.muted { font-weight: 500; }
.cats { position: sticky; top: var(--nav-h); z-index: 20; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 8px 16px; margin: 0 -16px 6px; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.cats::-webkit-scrollbar { display: none; }
.cat { flex: none; padding: 7px 13px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; }
.cat:hover { border-color: var(--line-2); }
.menu-cat { padding-top: 14px; scroll-margin-top: calc(var(--nav-h) + 60px); }
.menu-h { font-family: var(--display); font-size: 20px; font-weight: 700; margin: 4px 0 10px; }
.menu-list { display: grid; gap: 10px; }
.item { display: flex; justify-content: space-between; gap: 14px; padding: 14px 14px 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; transition: border-color .15s; }
.item:has(.stepper.has) { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.item-main { display: grid; gap: 3px; align-content: start; min-width: 0; }
.item-name { font-weight: 650; }
.item-desc { color: var(--ink-3); font-size: 14px; }
.item-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 3px; }
.itag { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 650; padding: 2px 8px 2px 6px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); }
.itag-scharf { background: var(--bad-soft); color: var(--bad); }
.itag .ic { width: 13px; height: 13px; }
.item-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 10px; flex: none; }
.item-price { font-weight: 700; font-variant-numeric: tabular-nums; }
.stepper { display: inline-flex; align-items: center; gap: 2px; border-radius: 999px; }
.stepper .st-btn:not(.st-plus), .stepper .st-n { display: none; }
.stepper.has { background: var(--accent-soft); }
.stepper.has .st-btn, .stepper.has .st-n { display: inline-flex; }
.st-btn { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); cursor: pointer; padding: 0; transition: transform .1s; }
.st-btn:active { transform: scale(.92); }
.st-btn[disabled] { opacity: .4; cursor: not-allowed; }
.st-plus { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.stepper.has .st-btn { border-color: transparent; background: transparent; color: var(--accent-ink); }
.st-n { min-width: 24px; justify-content: center; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--accent-ink); }
.skel { height: 74px; border-radius: 16px; background: linear-gradient(90deg, var(--sunken), var(--surface-2), var(--sunken)); background-size: 200% 100%; animation: shimmer 1.3s infinite; margin-bottom: 10px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.cart-side { display: none; }
.cart-top { display: flex; align-items: center; justify-content: space-between; }
.badge { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 13px; font-weight: 700; }
.badge-on { background: var(--on-accent); color: var(--accent); }
.cart-lines { display: grid; }
.cart-lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.cl-name { font-weight: 600; font-size: 14.5px; min-width: 0; overflow-wrap: anywhere; }
.cl-name small { display: block; color: var(--ink-3); font-weight: 450; }
.cl-sum { font-variant-numeric: tabular-nums; font-weight: 600; min-width: 64px; text-align: right; }
.cart-lines .stepper.has { background: transparent; }
.cart-lines .st-btn { width: 32px; height: 32px; }
.cart-lines-lg .st-btn { width: 38px; height: 38px; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0; font-size: 17px; }
.cart-total strong { font-size: 20px; }
.cart-empty { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 16px 0 8px; }
.btn-cart { width: 100%; justify-content: space-between; }
.cart-sum { font-variant-numeric: tabular-nums; }

/* forms */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field > label, .label { font-weight: 650; font-size: 14.5px; }
.optl { color: var(--ink-3); font-weight: 450; }
input[type="text"], input[type="tel"], input[type="email"], input[type="number"], input[type="date"], input[type="time"], textarea, select {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: var(--r-s); border: 1px solid var(--line-2); background: var(--surface); font-size: 16px; transition: border-color .15s, box-shadow .15s; }
textarea { resize: vertical; min-height: 80px; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
[aria-invalid="true"] { border-color: var(--bad) !important; }
.select { position: relative; }
.select select { appearance: none; padding-right: 40px; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.hint { font-size: 13.5px; color: var(--ink-3); }
.field-err, .form-err { color: var(--bad); font-size: 14px; font-weight: 550; }
.field-err:empty, .form-err:empty { display: none; }
.form-err { margin-bottom: 10px; }
.grid2 { display: grid; gap: 0 12px; }
.grid3 { display: grid; gap: 0 12px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr); }
@media (max-width: 520px) { .grid3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .grid3 > .field:nth-child(2) { grid-column: 1 / -1; grid-row: 1; } }
.date-other { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 12px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.date-other input { width: auto; min-width: 0; flex: 1 1 150px; max-width: 220px; min-height: 42px; padding: 7px 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin: 4px 0 6px; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--info-soft); color: var(--info); font-size: 14.5px; font-weight: 550; margin-top: 12px; }
.notice .ic { margin-top: 2px; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--sunken); margin-bottom: 14px; }
.seg button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; border: 0; border-radius: 10px; background: transparent; font-weight: 650; cursor: pointer; color: var(--ink-2); padding: 0 8px; }
.seg button[aria-checked="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.seg-days { margin-bottom: 8px; }
.pay { display: grid; gap: 8px; }
.pay-opt { display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border: 1px solid var(--line-2); border-radius: 14px; cursor: pointer; }
.pay-opt:has(input:checked) { border-color: var(--accent-ink); background: var(--accent-soft); }
.pay-opt input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.pay-opt span { display: grid; gap: 2px; }
.pay-opt small { color: var(--ink-3); font-size: 13.5px; }
.totals { display: grid; gap: 6px; margin: 14px 0 0; }
.totals div { display: flex; justify-content: space-between; color: var(--ink-2); }
.totals dd, .totals dt { margin: 0; }
.totals dd { font-variant-numeric: tabular-nums; }
.totals .total { color: var(--ink); font-weight: 700; font-size: 18px; padding-top: 8px; border-top: 1px solid var(--line); }

/* day strip & slots */
.days { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 8px; margin: 0 -2px 6px; scroll-snap-type: x proximity; }
.days::-webkit-scrollbar { display: none; }
.day { flex: none; width: 64px; display: grid; justify-items: center; gap: 1px; padding: 9px 0 8px; border-radius: 15px; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; scroll-snap-align: start; transition: border-color .15s, background-color .15s; }
.day-w { font-size: 12px; font-weight: 650; color: var(--ink-3); text-transform: capitalize; white-space: nowrap; max-width: 60px; overflow: hidden; text-overflow: ellipsis; }
.day-n { font-family: var(--display); font-size: 23px; font-weight: 700; line-height: 1.1; }
.day-m { font-size: 11.5px; color: var(--ink-3); }
.day:hover:not([disabled]) { border-color: var(--ink-3); }
.day[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.day[aria-checked="true"] .day-w, .day[aria-checked="true"] .day-m { color: inherit; opacity: .8; }
.day[disabled] { opacity: .38; cursor: not-allowed; background: transparent; }
.day[disabled] .day-n { text-decoration: line-through; text-decoration-thickness: 1.5px; }
.slots { display: grid; gap: 14px; }
.slot-h { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); margin-bottom: 8px; }
.slot-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.slot { min-height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); font-weight: 650; font-variant-numeric: tabular-nums; cursor: pointer; font-size: 15.5px; transition: border-color .12s, background-color .12s; }
.slot:hover { border-color: var(--accent-ink); color: var(--accent-ink); }
.slot[aria-checked="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.slot-box { min-height: 140px; }
.slot-load { display: flex; align-items: center; gap: 10px; color: var(--ink-3); padding: 18px 0; }
.empty { display: grid; justify-items: start; gap: 12px; padding: 18px; border-radius: 14px; background: var(--sunken); }
p.empty { display: block; }

/* reservation */
.res-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 12px 14px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-ink); margin: 6px 0 16px; }
.done-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* success & summaries */
.success { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 8px 0 18px; }
.success-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; animation: pop .45s cubic-bezier(.2, 1.4, .4, 1); }
.success-ic .ic { width: 32px; height: 32px; }
.success-ic .ic svg { stroke-width: 2.4; }
.success-h { font-family: var(--display); font-size: 24px; font-weight: 720; outline: none; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.summary { display: grid; margin: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-2); padding: 4px 14px; }
.summary div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.summary div:last-child { border-bottom: 0; }
.summary dt { color: var(--ink-3); font-size: 14px; flex: none; }
.summary dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; min-width: 0; }
.summary-tight { padding: 0 12px; }
.summary-tight div { padding: 7px 0; }
.sum-lines { display: grid; gap: 4px; margin: 12px 2px; color: var(--ink-2); font-size: 14.5px; }
.sum-lines li { display: flex; justify-content: space-between; gap: 12px; }
.bank { display: grid; gap: 16px; margin-top: 16px; padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.bank-qr { width: 180px; justify-self: center; background: #fff; border-radius: 12px; padding: 6px; border: 1px solid var(--line); }
.bank-qr svg, .qr svg { display: block; width: 100%; height: auto; }
.bank h4 { font-size: 16px; margin-bottom: 4px; }
.bank .summary { margin-top: 10px; }
.copy .mono { font-size: 14px; letter-spacing: 0; }
.copy { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 0; cursor: pointer; font-weight: 600; text-align: right; }
.copy .ic { color: var(--accent-ink); width: 16px; height: 16px; }

/* appointments */
.appt { display: grid; gap: 18px; }
.team { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: -4px -18px 0; padding: 4px 18px; }
.team::-webkit-scrollbar { display: none; }
.member { flex: none; width: 112px; display: grid; justify-items: center; gap: 4px; padding: 12px 6px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface-2); cursor: pointer; text-align: center; transition: border-color .15s, transform .12s; }
.member:hover { border-color: var(--accent-ink); }
.member .avatar { border-radius: 50%; margin-bottom: 4px; box-shadow: 0 0 0 3px var(--surface), 0 0 0 4px var(--line); }
.member-name { font-weight: 700; font-size: 15px; }
.member-spec { font-size: 12.5px; color: var(--ink-3); line-height: 1.3; }
.appt-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.next-free { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 14.5px; font-weight: 550; }
.next-free .ic { color: var(--accent-ink); }
.avatar { border-radius: 50%; flex: none; }
.opt-h { font-size: 12.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); margin: 16px 0 8px; }
.opt-h:first-child { margin-top: 0; }
.opts { display: grid; gap: 8px; }
.opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 62px; padding: 12px 16px; border-radius: 15px; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; text-align: left; transition: border-color .12s, box-shadow .12s; }
.opt:hover { border-color: var(--accent-ink); }
.opt.on { border-color: var(--accent-ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
.opt-main { display: grid; gap: 2px; min-width: 0; }
.opt-main small { color: var(--ink-3); font-size: 13.5px; }
.opt-price { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.opt > .ic { color: var(--accent-ink); }
.staff { display: grid; gap: 8px; margin-top: 12px; }
.staff-opt { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; text-align: left; }
.staff-opt:hover { border-color: var(--accent-ink); }
.staff-opt[aria-checked="true"] { border-color: var(--accent-ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
.staff-txt { display: grid; gap: 2px; flex: 1; min-width: 0; }
.staff-txt small { color: var(--ink-3); font-size: 13.5px; }
.any-ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); flex: none; }
.any-ic .ic { width: 26px; height: 26px; }
.radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; }
.staff-opt[aria-checked="true"] .radio { border: 7px solid var(--accent); }
.pick-sum { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); margin-bottom: 14px; }
.pick-sum > span { color: var(--ink-3); font-size: 14.5px; }
.pick-who { display: inline-flex; align-items: center; gap: 7px; color: var(--ink) !important; font-weight: 600; }
.with { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; font-weight: 600; }
.assigned { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; background: var(--accent-soft); margin-bottom: 14px; }
.assigned > div { display: grid; gap: 1px; }
.auto { display: inline-block; width: fit-content; margin-top: 4px; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--surface); color: var(--accent-ink); }

/* repair calculator */
.rep { display: grid; gap: 4px; padding: 18px 18px 8px; }
.rep-h { display: block; font-size: 16px; font-weight: 700; margin: 4px 0 10px; font-family: var(--font); }
.rep-result { display: grid; gap: 14px; margin: 0 -18px; padding: 18px; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--accent-soft), transparent); }
.rep-price { display: grid; gap: 2px; }
.rep-price strong { font-family: var(--display); font-size: 36px; font-weight: 750; letter-spacing: -.02em; color: var(--accent-ink); line-height: 1.1; }
.rep-price > span:last-child { color: var(--ink-2); font-weight: 550; }
.rep-picks { display: grid; gap: 0 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); padding-bottom: 6px; }
.rep-appt:not(:empty), .rep-req { padding: 16px 0 6px; border-top: 1px solid var(--line); margin-top: 14px; }
.rep-req .btn-lg { width: 100%; margin-bottom: 10px; }
.cart-fee { display: flex; justify-content: space-between; margin-top: 10px; color: var(--ink-2); font-size: 15px; }

/* tracking input */
.track-card form > label { display: block; font-weight: 650; margin-bottom: 8px; }
.track-row { display: flex; gap: 8px; flex-wrap: wrap; }
.track-row input { flex: 1 1 180px; font-family: var(--mono); font-size: 18px; letter-spacing: .12em; text-transform: uppercase; }
.track-row .btn { flex: 1 0 auto; }
.track-form .hint { margin-top: 8px; }

/* dialogs */
dialog.sheet { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; margin: 0; color: var(--ink); overflow: hidden; }
dialog.sheet::backdrop { background: rgba(8, 10, 15, .52); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.sh-panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 94dvh; display: flex; flex-direction: column; background: var(--bg); border-radius: 24px 24px 0 0; box-shadow: var(--shadow-lg); animation: up .28s cubic-bezier(.2, .9, .25, 1); }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.sh-head { display: flex; align-items: center; gap: 8px; padding: 12px 12px 10px; border-bottom: 1px solid var(--line); }
.sh-head::before { content: ""; position: absolute; top: 6px; left: 50%; width: 38px; height: 4px; margin-left: -19px; border-radius: 4px; background: var(--line-2); }
.sh-titles { flex: 1; min-width: 0; display: grid; gap: 6px; padding-top: 4px; }
.sh-title { font-family: var(--display); font-size: 20px; font-weight: 720; letter-spacing: -.01em; overflow-wrap: anywhere; }
.sh-steps { display: flex; gap: 4px; }
.sh-steps:empty { display: none; }
.sh-steps i { flex: 1; max-width: 46px; height: 4px; border-radius: 4px; background: var(--line-2); }
.sh-steps i.on { background: var(--accent); }
.sh-steps i.cur { background: color-mix(in srgb, var(--accent) 50%, var(--line-2)); }
.sh-back, .sh-close { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--sunken); display: grid; place-items: center; cursor: pointer; color: var(--ink); flex: none; }
.sh-back:hover, .sh-close:hover { background: var(--line-2); }
.sh-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 18px 16px 8px; }
.sh-foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg); display: grid; gap: 8px; }
.sh-foot:empty { display: none; }
.has-sheet body { overflow: hidden; }
.legal p { margin-bottom: 10px; }

/* bottom action bar (phones) */
.actbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-top: 1px solid var(--line); }
.actbar-in { display: flex; gap: 8px; max-width: 640px; margin: 0 auto; }
.actbar-main { flex: 1; display: flex; min-width: 0; }
.actbar-main .btn { flex: 1; min-height: 50px; }
.actbar .btn-ghost { background: var(--surface); border-color: var(--line); width: 50px; min-height: 50px; }
body:has(.actbar) { padding-bottom: 84px; }
html:has(.actbar) { scroll-padding-bottom: 84px; }
.actbar { transition: transform .2s ease, visibility .2s; }
.actbar.off { transform: translateY(110%); visibility: hidden; }

/* toast */
#toast { position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px); z-index: 90; background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 14.5px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100% - 32px); }
#toast.on { opacity: 1; transform: translate(-50%, 0); }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 22px 0 26px; font-size: 14px; color: var(--ink-3); }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.foot-l { display: flex; align-items: center; gap: 10px; }
.foot-l img { border-radius: 50%; }
.foot-l div { display: grid; }
.foot-l strong { color: var(--ink); }
.foot-r { display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: center; }
.foot-r a, .foot-r .link { color: var(--ink-2); font-size: 14px; }
.made { text-decoration: none; }
.made b { color: var(--ink); }

/* tracking page */
.trk-top { border-bottom: 1px solid var(--line); background: var(--surface); }
.trk-top-in { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 60px; }
.trk-back { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 14.5px; min-height: 44px; min-width: 0; }
.trk-back span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trk-brand { display: none; align-items: center; gap: 10px; }
.trk-brand img { border-radius: 50%; }
.wrap.trk { max-width: 760px; display: grid; gap: 14px; padding-top: 18px; padding-bottom: 40px; }
.trk-load { display: flex; align-items: center; gap: 10px; color: var(--ink-3); padding: 40px 0; }
.trk-ids { display: flex; gap: 8px; align-items: baseline; font-size: 14px; }
.trk-device { font-family: var(--display); font-size: clamp(26px, 7vw, 36px); font-weight: 740; letter-spacing: -.02em; margin: 6px 0 2px; }
.trk-status { margin-top: 14px; padding: 12px 14px; border-radius: 14px; font-weight: 650; background: var(--info-soft); color: var(--info); }
.trk-status.st-fertig, .trk-status.st-abgeholt { background: var(--ok-soft); color: var(--ok); }
.trk-status.st-wartet_freigabe, .trk-status.st-teil_bestellt, .trk-status.st-wartet_teil { background: var(--warn-soft); color: var(--warn); }
.trk-status.st-abgelehnt, .trk-status.st-nicht_reparierbar, .trk-status.st-nicht_abgeholt { background: var(--bad-soft); color: var(--bad); }
.prog { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 20px; counter-reset: s; }
.prog li { position: relative; display: grid; justify-items: center; align-content: start; gap: 8px; text-align: center; font-size: 11.5px; hyphens: auto; overflow-wrap: anywhere; font-weight: 600; color: var(--ink-3); line-height: 1.25; padding: 0 2px; }
.prog li::before { content: ""; position: absolute; top: 15px; right: 50%; width: 100%; height: 3px; background: var(--line-2); z-index: 0; }
.prog li:first-child::before { display: none; }
.prog li.prog-done::before, .prog li.prog-cur::before { background: var(--accent); }
.prog i { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--line-2); font-style: normal; }
.prog i b { font-size: 13px; }
.prog-done i { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.prog-done i .ic { width: 17px; height: 17px; }
.prog-done i .ic svg { stroke-width: 2.6; }
.prog-cur i { border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 18%, transparent); }
.prog-cur { color: var(--ink) !important; }
.unlock { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; }
.unlock-ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--accent-ink); border: 1px solid var(--line); }
.unlock-main .card-title { margin-bottom: 4px; }
.unlock-row { display: flex; gap: 8px; margin-top: 12px; }
.unlock-row input { width: 110px; flex: none; font-family: var(--mono); font-size: 22px; letter-spacing: .4em; text-align: center; padding-left: 20px; }
.quote { border-color: color-mix(in srgb, var(--warn) 40%, var(--line)); }
.quote-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.quote-amount { font-family: var(--display); font-size: 40px; font-weight: 760; letter-spacing: -.02em; line-height: 1; }
.quote-lines { display: grid; gap: 6px; margin: 14px 0; }
.quote-lines li { display: flex; gap: 8px; align-items: center; }
.quote-lines .ic { color: var(--ok); }
.quote-w, .quote-note { display: flex; gap: 8px; align-items: flex-start; color: var(--ink-2); font-size: 14.5px; margin-bottom: 8px; }
.quote-w .ic { color: var(--accent-ink); }
.quote-note { background: var(--warn-soft); color: var(--warn); padding: 10px 12px; border-radius: 12px; font-weight: 550; }
.quote-acts { display: grid; gap: 8px; margin: 16px 0 10px; }
.decided { display: flex; gap: 14px; align-items: center; }
.decided .card-title { margin-bottom: 2px; }
.dec-decline .ic-ok { background: var(--bad-soft); color: var(--bad); }
.dec-callback .ic-ok { background: var(--info-soft); color: var(--info); }
.pickup { display: grid; gap: 16px; border-color: color-mix(in srgb, var(--ok) 35%, var(--line)); }
.pickup-main { display: grid; gap: 8px; justify-items: start; }
.pickup-due { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pickup-due strong { font-family: var(--display); font-size: 30px; font-weight: 750; }
.pickup-due.paid { color: var(--ok); font-weight: 650; }
.pickup-qr { margin: 0; display: grid; justify-items: center; gap: 6px; text-align: center; font-size: 13.5px; color: var(--ink-3); }
.qr { width: 150px; background: #fff; border-radius: 12px; padding: 4px; border: 1px solid var(--line); }
.trk-warranty { display: flex; align-items: center; gap: 14px; }
.trk-warranty .card-title { margin-bottom: 0; }
.tl { position: relative; display: grid; gap: 14px; padding-left: 22px; }
.tl::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: var(--line-2); }
.tl li { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; }
.tl li::before { content: ""; position: absolute; left: -22px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); }
.tl li:first-child::before { background: var(--accent); }
.tl time { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.tl span { font-weight: 600; }
.trk-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.trk-photos img { border-radius: 12px; width: 100%; height: auto; }
.trk-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.trk-empty { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 34px 18px; }
.trk-h { font-family: var(--display); font-size: 26px; }
.code { font-family: var(--mono); background: var(--sunken); padding: 4px 10px; border-radius: 8px; }

/* index & error */
.wrap.idx { padding-top: 40px; padding-bottom: 60px; max-width: 760px; }
.idx-home { font-weight: 700; color: var(--ink); text-decoration: none; }
.idx-h { font-family: var(--display); font-size: clamp(34px, 9vw, 54px); font-weight: 760; letter-spacing: -.03em; margin: 24px 0 10px; }
.idx-list { display: grid; gap: 10px; margin-top: 26px; }
.idx-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
.idx-card:hover { transform: translateY(-1px); border-color: var(--line-2); }
.idx-card img { border-radius: 50%; }
.idx-card > span { flex: 1; display: grid; gap: 1px; min-width: 0; }
.idx-card > .ic { color: var(--ink-3); }
.wrap.err-page { padding-top: 60px; padding-bottom: 60px; max-width: 560px; }
.err-card { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 34px 22px; }
.err-card h1 { font-family: var(--display); font-size: 28px; }
.err-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 8px; }

/* ------------------------------------------------------------------ larger screens */
@media (min-width: 560px) {
  .grid2 { grid-template-columns: 1fr 1fr; }
  .grid-addr { grid-template-columns: 1fr 140px; }
  .faults { grid-template-columns: 1fr 1fr; }
  .bank { grid-template-columns: 180px minmax(0, 1fr); align-items: start; }
  .bank-qr { justify-self: start; }
  .quote-acts { grid-template-columns: auto auto 1fr; justify-content: start; }
  .quote-acts .btn-ghost { justify-self: start; }
  .pickup { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .trk-photos { grid-template-columns: repeat(3, 1fr); }
  .prog li { font-size: 13px; }
  .trk-brand { display: inline-flex; }
}
@media (min-width: 760px) {
  .wrap { padding: 0 28px; }
  .hero-cover, .hero-cover::after { height: 320px; }
  .hero .lang { top: 18px; right: 22px; }
  .hero-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "logo text acts"; align-items: end; column-gap: 24px; }
  .hero-top { grid-area: logo; margin-top: -64px; }
  .logo { width: 132px; height: 132px; border-width: 5px; }
  .hero-text { grid-area: text; margin-top: 0; padding: 22px 0 4px; }
  .qas { grid-area: acts; display: flex; margin: 0 0 6px; gap: 8px; }
  .qa { flex-direction: row; min-height: 44px; padding: 0 14px; border-radius: 999px; font-size: 14px; }
  .qa .ic { width: 18px; height: 18px; }
  .secnav { margin-top: 24px; }
  .secnav-in { padding: 9px 28px; }
  .cats { margin: 0 -28px 6px; padding: 8px 28px; }
  .gallery { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); overflow: visible; margin: 0; padding: 0; }
  .gallery li:first-child { grid-column: span 2; }
  .gallery li:first-child .g-item { aspect-ratio: 16 / 7; }
  .menu-list { grid-template-columns: 1fr 1fr; }
  .card { padding: 22px; }
  .rep { padding: 22px 22px 8px; }
  .rep-result { margin: 0 -22px; padding: 22px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .rep-go { justify-items: end; text-align: right; max-width: 300px; }
  .team { margin: -4px -22px 0; padding: 4px 22px; }
  dialog.sheet .sh-panel { left: 50%; top: 50%; bottom: auto; right: auto; width: min(600px, calc(100% - 48px)); max-height: min(860px, 88vh); transform: translate(-50%, -50%); border-radius: 24px; animation: fadein .2s ease; }
  dialog.sheet-wide .sh-panel { width: min(920px, calc(100% - 48px)); }
  .sh-head::before { display: none; }
  .sh-body { padding: 22px 24px 10px; }
  .sh-foot { padding: 14px 24px 18px; }
  .sh-head { padding: 14px 16px 12px 18px; }
  @keyframes fadein { from { opacity: 0; transform: translate(-50%, -48%) scale(.98); } }
}
@media (min-width: 1024px) {
  .hero-cover, .hero-cover::after { height: 360px; }
  .layout { grid-template-columns: minmax(0, 1fr) 372px; }
  .col-side { position: sticky; top: calc(var(--nav-h) + 16px); padding-top: 28px; max-height: calc(100vh - var(--nav-h) - 24px); overflow-y: auto; scrollbar-width: thin; }
  .cart-side { display: block; }
  .cart-side[hidden] { display: none; }
  .actbar { display: none; }
  body:has(.actbar) { padding-bottom: 0; }
  #toast { bottom: 28px; }
  .sec { padding: 40px 0 44px; }
  .sec:first-child { padding-top: 30px; }
  .cats { position: static; margin: 0 0 6px; padding: 0 0 8px; background: none; backdrop-filter: none; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery li:first-child { grid-column: span 3; }
}
@media (min-width: 1024px) and (max-height: 760px) { .col-side { position: static; max-height: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
@media print { .actbar, .secnav, .demo-bar, .lang, .qas { display: none !important; } body { background: #fff; } }
.res form > .hint { margin: -6px 0 6px; }
.res form > .hint + .hint { margin-bottom: 14px; }

/* allergen codes A–R (Austrian letter codes) */
.item-allerg { display: inline-block; margin-top: 4px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; color: var(--ink-3); direction: ltr; unicode-bidi: isolate; }
.allerg-legend { margin: 18px 0 0; font-size: 13px; line-height: 1.7; color: var(--ink-3); }
.allerg-legend > span { display: inline-block; margin-inline-end: 12px; }
.allerg-code { color: var(--ink); }
