/* IKAROS POS — customer ordering pages. Phone first, plain CSS, no build step. */
/* Brand tokens and the Commissioner font (public/css/tokens.css, docs/brand.md). */
@import url("tokens.css");
:root {
    --bg: #faf8f5;
    --card: #ffffff;
    --ink: #1c1917;
    --muted: #6b6560; /* 5.4:1 on the page background (WCAG AA) */
    --line: #ece7e1;
    /* The brand blue unless the store (or its partner) has its own colour: shop/layout adds that.
       blue-ink: white on it 7.3:1, it on the soft tint 6.4:1 (the accent is also text here). */
    --accent: var(--ik-blue-ink);
    --accent-ink: #ffffff;
    --accent-soft: var(--ik-blue-soft);
    --ok: #15803d;
    --ok-soft: #dcfce7;
    --danger: #b91c1c;
    --danger-soft: #fee2e2;
    --radius: 14px;
    --wrap: 720px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
    margin: 0; background: var(--bg); color: var(--ink);
    font: 16px/1.45 var(--ik-font);
    padding-bottom: env(safe-area-inset-bottom);
}
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
input, textarea { font: inherit; color: inherit; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }

/* ---------- header ---------- */
.hero { background: var(--ink); color: #fff; padding: 22px 0 18px; }
.hero .top { display: flex; align-items: flex-start; gap: 12px; }
.store-logo { height: 44px; width: auto; max-width: 120px; object-fit: contain; border-radius: 8px; background: #fff; padding: 3px; }
.hero h1 { margin: 0; font-size: 22px; line-height: 1.2; letter-spacing: -.01em; flex: 1; min-width: 0; overflow-wrap: break-word; }
@media (max-width: 480px) { .hero .top { flex-wrap: wrap; } .hero .top .store-logo { max-width: 110px; height: 40px; } .hero h1 { flex-basis: 100%; order: 3; } }
.hero .meta { margin-top: 6px; color: #d6d3d1; font-size: 14px; }
.hero .meta a { color: #fff; }
.lang { display: flex; border: 1px solid #44403c; border-radius: 999px; overflow: hidden; font-size: 13px; }
.lang a { padding: 4px 10px; text-decoration: none; color: #d6d3d1; }
.lang a.on { background: #fff; color: var(--ink); font-weight: 700; }
.lang-pick { align-items: center; gap: 4px; padding: 0 4px 0 10px; color: #d6d3d1; }
.lang-pick select { background: transparent; border: 0; color: #fff; font: inherit; font-weight: 700; padding: 5px 4px; max-width: 150px; }
.lang-pick select option { color: #1c1917; }
.status { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 5px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status.open { background: rgba(34,197,94,.15); color: #86efac; }
.status.table { background: rgba(255,255,255,.12); color: #fff; margin-right: 6px; }
.status.table::before { display: none; }
.status.closed { background: rgba(239,68,68,.18); color: #fca5a5; }
.status.menu { background: rgba(255,255,255,.12); color: #fff; }
.status.menu::before { display: none; }
[x-cloak] { display: none !important; }
.notice { margin: 14px 0 0; padding: 12px 14px; border-radius: var(--radius); background: var(--accent-soft); color: #7c2d12; font-size: 15px; }

/* ---------- category chips ---------- */
.chips { position: sticky; top: 0; z-index: 20; background: rgba(250,248,245,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.chips .wrap { display: flex; gap: 8px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.chips .wrap::-webkit-scrollbar { display: none; }
.chips a { flex: none; padding: 7px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .15s, color .15s; }
.chips a.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-search { flex: none; width: 44px; height: 36px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 15px; }
.search-row { display: flex; gap: 10px; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.search-row input { flex: 1; min-width: 0; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); outline: none; font-size: 16px; }
.search-row input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.search-row button { flex: none; color: var(--accent); font-weight: 700; font-size: 15px; }

/* ---------- menu ---------- */
.section { padding-top: 22px; }
.section h2 { margin: 0 0 10px; font-size: 19px; letter-spacing: -.01em; }
.items { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.item { display: flex; gap: 12px; align-items: center; width: 100%; padding: 14px; text-align: left; border-top: 1px solid var(--line); }
.item:first-child { border-top: 0; }
.item:active { background: #f5f5f4; }
.item .info { flex: 1; min-width: 0; }
.item .name { font-weight: 650; }
.item .desc { color: var(--muted); font-size: 14px; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item .price { margin-top: 4px; font-weight: 700; }
.item .hint { color: var(--muted); font-size: 13px; font-weight: 400; margin-left: 6px; }
.item .pic { position: relative; flex: none; width: 92px; height: 92px; }
.item .pic img { width: 92px; height: 92px; object-fit: cover; border-radius: 12px; display: block; }
.item .pic .plus { position: absolute; right: -6px; bottom: -6px; box-shadow: 0 2px 8px rgba(0,0,0,.15); background: var(--card); }
.item .plus { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 22px; font-weight: 700; transition: transform .12s; }
.item .plus.has { background: var(--accent); color: var(--accent-ink); font-size: 16px; }
/* A weighed product in the basket: its weight ("0,75 kg") in a pill instead of a count. */
.item .plus.kg { width: auto; min-width: 36px; padding: 0 10px; border-radius: 18px; font-size: 13px; white-space: nowrap; }
.item:active .plus { transform: scale(.92); }

/* ---------- basket bar ---------- */
.spacer { height: 110px; }
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--bg) 70%, transparent); }
.bar .btn { max-width: var(--wrap); margin: 0 auto; }
.btn {
    display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
    min-height: 54px; padding: 0 18px; border-radius: var(--radius); font-weight: 700;
    background: var(--card); border: 1px solid var(--line);
}
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 20px rgb(0 0 0 / .18); }
.btn.primary .count { background: rgba(255,255,255,.22); border-radius: 999px; padding: 1px 9px; font-size: 14px; }
.btn.primary .sum { margin-left: auto; }
.sheet footer .btn.primary { justify-content: space-between; }
.btn[disabled] { opacity: .5; pointer-events: none; box-shadow: none; }
.btn.link { border: 0; background: none; min-height: 44px; color: var(--muted); font-weight: 600; }

/* ---------- sheets (extras, basket) ---------- */
.sheet-bg { position: fixed; inset: 0; z-index: 40; background: rgba(28,25,23,.5); display: flex; align-items: flex-end; justify-content: center; }
.sheet { width: 100%; max-width: var(--wrap); max-height: 92vh; display: flex; flex-direction: column; background: var(--card); border-radius: 20px 20px 0 0; overflow: hidden; }
@media (min-width: 760px) { .sheet-bg { align-items: center; } .sheet { border-radius: 20px; max-height: 86vh; } }
.sheet-pic { width: 100%; height: 200px; object-fit: cover; display: block; flex: none; }
.sheet header { display: flex; align-items: flex-start; gap: 12px; padding: 18px 18px 12px; border-bottom: 1px solid var(--line); }
.sheet header h3 { margin: 0; font-size: 19px; flex: 1; }
.sheet header .sub { color: var(--muted); font-size: 14px; font-weight: 400; margin-top: 2px; }
.sheet .x { width: 44px; height: 44px; border-radius: 50%; background: #f5f5f4; font-size: 18px; }
.sheet .body { padding: 6px 18px 18px; overflow-y: auto; }
.sheet footer { padding: 12px 18px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: flex; gap: 12px; align-items: center; }
.group { padding-top: 14px; }
.group .title { display: flex; align-items: baseline; gap: 8px; font-weight: 700; margin-bottom: 8px; }
.group .rule { font-size: 12px; font-weight: 600; color: var(--muted); background: #f5f5f4; padding: 2px 8px; border-radius: 999px; }
.group .rule.req { color: var(--accent); background: var(--accent-soft); }
.choice { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 2px; border-top: 1px solid var(--line); text-align: left; }
.choice .mark { width: 22px; height: 22px; flex: none; border: 2px solid #d6d3d1; border-radius: 6px; display: grid; place-items: center; }
.choice.radio .mark { border-radius: 50%; }
.choice.on .mark { border-color: var(--accent); background: var(--accent); }
.choice.on .mark::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.choice.sold-out { opacity: .5; cursor: not-allowed; }
.choice .soldout-tag { margin-left: 6px; font-size: 12px; font-weight: 600; color: var(--muted, #78716c); }
.choice .label { flex: 1; }
.choice .delta { color: var(--muted); font-size: 14px; }
.stepper { display: flex; align-items: center; gap: 4px; background: #f5f5f4; border-radius: 999px; padding: 4px; flex: none; }
.stepper button { width: 44px; height: 44px; border-radius: 50%; background: var(--card); font-size: 20px; font-weight: 700; }
.stepper span { min-width: 26px; text-align: center; font-weight: 700; }
.stepper.sm button { width: 36px; height: 36px; font-size: 17px; }
.field { display: block; margin-top: 14px; }
.field > span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); outline: none; }
.field input:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field textarea { min-height: 70px; resize: vertical; }
.field .err { color: var(--danger); font-size: 13px; margin-top: 4px; }
.alert { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--danger-soft); color: var(--danger); font-weight: 600; font-size: 15px; }

/* ---------- basket lines ---------- */
.line { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); }
.line:first-child { border-top: 0; }
.line .info { flex: 1; min-width: 0; }
.line .name { font-weight: 650; }
.line .mods { color: var(--muted); font-size: 14px; }
.line .amount { font-weight: 700; white-space: nowrap; }
.totals { padding-top: 10px; border-top: 1px solid var(--line); }
.totals div { display: flex; justify-content: space-between; padding: 4px 0; color: var(--muted); }
.totals .grand { color: var(--ink); font-weight: 800; font-size: 19px; padding-top: 8px; }

/* ---------- checkout ---------- */
.page-head { display: flex; align-items: center; gap: 10px; padding: 16px 0 4px; }
.page-head h2 { margin: 0; font-size: 22px; }
.back { width: 44px; height: 44px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); font-size: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-top: 14px; }
.card h3 { margin: 0 0 4px; font-size: 16px; }
.segment { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; background: #f5f5f4; border-radius: 12px; padding: 4px; }
.segment button { min-height: 46px; border-radius: 9px; font-weight: 700; color: var(--muted); }
.segment button.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.segment small { display: block; font-weight: 500; font-size: 12px; }
.pay-note { color: var(--muted); font-size: 14px; margin-top: 10px; }

/* ---------- tracking ---------- */
.track-head { text-align: center; padding: 28px 0 8px; }
.track-head .num { font-size: 15px; color: var(--muted); font-weight: 600; }
.track-head h2 { margin: 6px 0 4px; font-size: 26px; letter-spacing: -.01em; }
.track-head .when { font-size: 17px; }
.track-head .when b { font-size: 22px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 18px 0 6px; }
.steps div { text-align: center; font-size: 13px; color: var(--muted); font-weight: 600; }
.steps div::before { content: ""; display: block; height: 6px; border-radius: 999px; background: var(--line); margin-bottom: 8px; }
.steps div.done { color: var(--ink); }
.steps div.done::before { background: var(--ok); }
.steps div.now::before { background: var(--accent); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }
.big-state { margin: 18px auto 0; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-size: 34px; }
.big-state.ok { background: var(--ok-soft); color: var(--ok); }
.big-state.wait { background: var(--accent-soft); color: var(--accent); }
.big-state.bad { background: var(--danger-soft); color: var(--danger); }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 15px; }
.kv span:first-child { color: var(--muted); }

/* ---------- toast & footer ---------- */
.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 50; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; box-shadow: 0 8px 24px rgba(0,0,0,.2); white-space: nowrap; }
.powered { text-align: center; color: #a8a29e; font-size: 12px; padding: 28px 0 140px; }
.powered a { color: inherit; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* Table booking (/book/...) */
.muted { color: var(--muted); }
.day-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.day-chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 9px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 600; white-space: nowrap; }
.chip.on, .slot.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.party-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.party-row .hint { color: var(--muted); font-size: 13px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.slot { padding: 11px 0; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-weight: 700; font-variant-numeric: tabular-nums; }
.slot[disabled] { opacity: .35; text-decoration: line-through; }
.booking-card { margin-top: 18px; padding: 0 14px; }
.big-state:not(.ok):not(.wait):not(.bad) { background: #f5f5f4; color: var(--muted); }
.book-btn { flex-direction: column; gap: 2px; padding: 8px 18px; }
.book-btn .sum { margin: 0; font-size: 13px; font-weight: 600; opacity: .85; }

/* ---------- checkout (how → where → who → pay) ---------- */
.checkout .card h3 { margin-bottom: 10px; }
.summary summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; list-style: none; }
.summary summary::-webkit-details-marker { display: none; }
.summary[open] summary { margin-bottom: 6px; }
.btn.link.mini { min-height: 0; padding: 4px 0; font-size: 14px; width: auto; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.tile { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--card); text-align: left; min-height: 86px; }
.tile .ico { font-size: 24px; line-height: 1; margin-bottom: 4px; }
.tile b { font-size: 15px; }
.tile small { color: var(--muted); font-size: 12.5px; }
.tile.on { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent) inset; }
.tile.locked { cursor: default; }
.hint-box { margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; background: #eff6ff; color: #1e3a8a; font-size: 14px; line-height: 1.5; }
.addr-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.addr-choices .chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.addr-choices .chip[disabled] { opacity: .6; }
.addr-field { position: relative; }
.suggest { position: absolute; z-index: 25; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 4px; list-style: none; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 28px rgba(0,0,0,.14); max-height: 260px; overflow-y: auto; }
.suggest button { display: block; width: 100%; text-align: left; padding: 11px 12px; border-radius: 9px; font-size: 15px; }
.suggest button:hover, .suggest button:focus { background: var(--accent-soft); outline: none; }
.addr-map-wrap { margin-top: 12px; }
.addr-map { height: 210px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); z-index: 0; }
.addr-map-wrap small { display: block; margin-top: 6px; font-size: 13px; }
.zone { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; font-size: 14px; font-weight: 600; background: #f5f5f4; color: var(--muted); }
.zone.ok { background: var(--ok-soft); color: var(--ok); }
.zone.bad { background: var(--danger-soft); color: var(--danger); }
.err { color: var(--danger); font-size: 13px; margin-top: 6px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
@media (max-width: 520px) { .two { grid-template-columns: 1fr; } }
.toggles { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.toggles .btn.link { color: var(--accent); }
.totals-card .totals { border-top: 0; padding-top: 0; }
.paybar .btn { justify-content: space-between; }
.tile.hinting { border-style: dashed; }
.tile.hinting.open { border-color: #1e3a8a; background: #eff6ff; }
.field select.select { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font: inherit; color: inherit; }
.paybar .btn .sum { white-space: nowrap; }

/* ---------- header call button, account card ---------- */
.name-row { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.name-row h1 { flex: 1; }
/* Narrow screens: the name gets its own row, so a long name never breaks letter by letter
   next to the logo, account link and language buttons. */
@media (max-width: 640px) { .hero .top { flex-wrap: wrap; } .hero .top .name-row { flex-basis: 100%; order: 3; } }
.call-btn { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #22c55e; color: #fff; text-decoration: none; box-shadow: 0 4px 14px rgba(34,197,94,.35); }
.call-btn:active { transform: scale(.94); }
.account-hint { display: flex; align-items: center; gap: 12px; margin: 6px 0 4px; padding: 12px 12px 12px 14px; border-radius: 14px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.account-hint .ico { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--card); font-size: 18px; }
.account-hint .txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.account-hint .txt b { font-size: 15px; }
.account-hint .txt small { color: var(--muted); font-size: 13px; }
.account-hint .pill { flex: none; padding: 9px 14px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 14px; }
.account-hint.in { background: var(--ok-soft); border-color: transparent; }
.account-hint.in .ico { color: var(--ok); font-weight: 800; }
.hero .name-row h1 { order: 0; flex-basis: auto; }
/* Store's banner (photo and/or short text, optional link), above the menu */
.promo { display: block; position: relative; margin: 14px auto 0; max-width: var(--wrap); padding: 0 16px; text-decoration: none; color: #fff; }
.promo .in { position: relative; overflow: hidden; border-radius: 18px; background: var(--accent); min-height: 64px; display: flex; align-items: flex-end; }
.promo img { width: 100%; height: auto; aspect-ratio: 3 / 1; object-fit: cover; display: block; }
.promo .txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px; font-weight: 800; font-size: 17px; line-height: 1.3; background: linear-gradient(to top, rgba(0,0,0,.6), transparent); }
.promo .in.text-only .txt { position: static; background: none; padding: 16px; }
.promo .go { margin-left: 6px; opacity: .85; }

/* ---------- offers ---------- */
.totals .saving { color: var(--ok); font-weight: 600; }
.btn .was { opacity: .65; font-weight: 500; margin-right: 4px; }
.save-tag { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-size: 12.5px; font-weight: 700; }

/* Store cover photo behind the header, darkened so text stays readable */
.hero.has-cover { background: linear-gradient(180deg, rgba(12,10,9,.45) 0%, rgba(12,10,9,.7) 60%, rgba(12,10,9,.88) 100%), var(--cover) center / cover no-repeat, var(--ink); padding: 26px 0 22px; }
.hero.has-cover h1, .hero.has-cover .meta { text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.hero.has-cover .meta { color: #f5f5f4; }

/* Sold out (marked by staff on the POS): still listed, greyed, cannot be added. */
.item.sold-out { cursor: default; }
.item.sold-out .name, .item.sold-out .desc, .item.sold-out .pic img { opacity: .5; }
.item.sold-out .price { color: var(--muted); }
.sold-tag { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; background: #f5f5f4; color: #57534e; font-size: 12.5px; font-weight: 700; vertical-align: 1px; }

/* Header: round logo, share, store info (address, hours, links, Wi-Fi), take away / delivery switch */
/* The store's logo in a frame that fits its shape (App\Support\LogoFrame, trimmed copy):
   lf-circle  round/square logos in the white circle (a round badge fills it: lf-round),
   lf-rounded wide/tall logos in a white rounded rectangle as tall as the circle,
   lf-none    the logo as it is, no white behind it (when the owner picks it). */
.hero .store-logo { --lh: 96px; height: var(--lh); width: auto; max-width: none; box-sizing: border-box; object-fit: contain; flex: none; border-radius: 0; padding: 0; background: none; }
.hero .store-logo.lf-circle, .hero .store-logo.lf-rounded { background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.9), 0 6px 18px rgba(0,0,0,.35); }
.hero .store-logo.lf-circle { width: var(--lh); border-radius: 50%; padding: calc(var(--lh) * .06); }
.hero .store-logo.lf-circle.lf-round { padding: calc(var(--lh) * .02); }
.hero .store-logo.lf-rounded { max-width: min(260px, 62vw); border-radius: calc(var(--lh) * .22); padding: calc(var(--lh) * .08) calc(var(--lh) * .11); }
.hero .store-logo.lf-none { max-width: min(280px, 62vw); filter: drop-shadow(0 4px 14px rgba(0,0,0,.45)); }
@media (min-width: 481px) { .hero .top { align-items: center; } }
@media (min-width: 1024px) { .hero .store-logo { --lh: 112px; } }

.share-btn { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(6px); }
.share-btn:active { transform: scale(.94); }
.store-info { margin-top: 10px; display: grid; gap: 6px; font-size: 14px; color: #e7e5e4; }
.hero.has-cover .store-info { color: #fafaf9; text-shadow: 0 1px 6px rgba(0,0,0,.45); }
.si-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.si-link { color: #fff; font-weight: 700; text-decoration: none; border-bottom: 1px dotted rgba(255,255,255,.6); }
.si-open { color: #86efac; font-weight: 700; }
.si-open.soon { color: #fcd34d; }
.si-closed { color: #fca5a5; font-weight: 700; }
.si-icons { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.si-icon { height: 40px; min-width: 40px; padding: 0 9px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: #fff; text-decoration: none; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); font-size: 13px; font-weight: 700; text-shadow: none; }
.si-wifi { position: absolute; top: 42px; left: 0; z-index: 20; min-width: 240px; display: grid; gap: 8px; padding: 12px 14px; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 0 12px 30px rgba(0,0,0,.25); text-shadow: none; }
.si-wifi small { display: block; color: var(--muted); font-size: 12px; }
.si-wifi b { font-size: 16px; word-break: break-all; }
.si-wifi button { justify-self: start; padding: 7px 14px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.mode-switch { display: inline-flex; margin-top: 12px; margin-left: 6px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); vertical-align: middle; }
.mode-switch button { padding: 6px 14px; border-radius: 999px; color: #fff; font-weight: 700; font-size: 14px; }
.mode-switch button.on { background: #fff; color: var(--ink); }
.mode-note { margin-top: 8px; font-size: 13px; color: #d6d3d1; }
[x-cloak] { display: none !important; }

/* Product sheet: the group still needing a choice; loading feedback; visible unselected radios */
.group.missing { border-radius: 14px; box-shadow: 0 0 0 2px #dc2626; padding: 8px 10px; margin-left: -10px; margin-right: -10px; }
.group.missing .rule.req { background: #fee2e2; color: #b91c1c; }
.item.busy { opacity: .6; }
.item.busy .plus { animation: plus-pulse .8s ease-in-out infinite; }
@keyframes plus-pulse { 50% { transform: scale(.85); } }
.choice .mark { border-color: #a8a29e; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Call the waiter / ask for the bill (QR page of a table, sunbed or room) */
.staff-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.staff-btn { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.12); color: #fff; font: 700 15px/1 inherit; cursor: pointer; }
.staff-btn:disabled { opacity: .6; }
.staff-bill { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: rgba(255,255,255,.85); font-size: 14px; }

/* Menu | Mini market tabs, the mini market's short rows, 18+ */
.section-tabs { display: flex; gap: 6px; padding-top: 10px !important; padding-bottom: 0 !important; }
.section-tabs button { flex: 1; padding: 9px 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-weight: 700; font-size: 15px; }
.section-tabs button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.section h2 .count { color: var(--muted); font-size: 13px; font-weight: 600; margin-left: 4px; }
.items.rows .item { padding: 10px 14px; gap: 10px; }
.items.rows .item .price { margin-top: 0; font-weight: 700; white-space: nowrap; }
.items.rows .item .info { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.items.rows .item .name { font-weight: 600; font-size: 15px; }
.items.rows .item .plus { width: 32px; height: 32px; font-size: 20px; }
.items.rows .item .thumb { width: 44px; height: 44px; flex: none; border-radius: 8px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
@media (min-width: 760px) {
    .items.rows { display: grid; grid-template-columns: 1fr 1fr; }
    .items.rows .item:nth-child(2) { border-top: 0; }
    .items.rows .item:nth-child(odd) { border-right: 1px solid var(--line); }
}
.age-tag { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 6px; background: #dc2626; color: #fff; font-size: 11px; font-weight: 800; vertical-align: 2px; letter-spacing: .02em; }
.chips a .age-tag { margin-left: 4px; font-size: 10px; }
.age-note { margin: -4px 0 10px; color: #991b1b; font-size: 13.5px; }
.cat-desc { margin: -4px 0 12px; color: #57534e; font-size: 14px; line-height: 1.45; }

/* ---------- «Προσφορές»: offer cards with a spread photo (shop/partials/offer-row) ---------- */
.offer-row { padding-top: 14px; }
.row-title { margin: 0 0 8px; font-size: 19px; letter-spacing: -.01em; }
.offer-scroll { display: flex; gap: 12px; overflow-x: auto; list-style: none; margin: 0 -16px; padding: 2px 16px 8px; scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none; }
.offer-scroll::-webkit-scrollbar { display: none; }
.oc-li { flex: none; width: min(74vw, 272px); scroll-snap-align: start; display: flex; }
.oc { position: relative; width: 100%; display: flex; flex-direction: column; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; font: inherit; color: inherit; }
button.oc { cursor: pointer; transition: border-color .15s, transform .12s; }
button.oc:hover { border-color: var(--accent); }
button.oc:active { transform: scale(.985); }
button.oc:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.oc[aria-disabled="true"] { opacity: .6; }
.oc.busy { opacity: .7; }
.oc-pic { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden;
    background: radial-gradient(120% 90% at 50% 40%, #fbf8f4 0%, #f1ebe3 70%, #ebe3d8 100%); }
.oc-pic > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.oc-ico { display: grid; place-items: center; width: 100%; height: 100%; font-size: 44px; }
.oc-badge { position: absolute; left: 10px; top: 10px; max-width: calc(100% - 20px); padding: 4px 9px; border-radius: 999px; background: var(--accent); color: var(--accent-ink);
    font-size: 13px; font-weight: 800; letter-spacing: .01em; line-height: 1.25; box-shadow: 0 2px 8px rgb(0 0 0 / .18); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oc-pic .plus { position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; background: var(--card); color: var(--accent); display: grid; place-items: center; font-size: 22px; font-weight: 700; box-shadow: 0 2px 8px rgb(0 0 0 / .18); }
.oc-body { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; }
.oc-title { font-weight: 700; font-size: 15.5px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.oc-text { color: var(--muted); font-size: 13.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.oc-price { margin-top: 4px; font-weight: 800; font-size: 15px; }
.oc-price s { margin-left: 6px; color: var(--muted); font-weight: 500; font-size: 13.5px; }
/* The collage: 2–4 item photos laid out together on a neutral surface (no server work, cached by the browser). */
.spread { position: absolute; inset: 0; display: block; }
.spread img { position: absolute; aspect-ratio: 1; height: auto; object-fit: cover; border-radius: 14px; border: 3px solid #fff; background: #fff; box-shadow: 0 6px 16px rgb(60 40 20 / .18); }
.spread.n1 img { width: 46%; left: 27%; top: 9%; }
.spread.n2 img { width: 44%; top: 12%; }
.spread.n2 img:nth-child(1) { left: 6%; transform: rotate(-6deg); }
.spread.n2 img:nth-child(2) { right: 6%; top: 18%; transform: rotate(5deg); }
.spread.n3 img { width: 37%; }
.spread.n3 img:nth-child(1) { left: 3%; top: 12%; transform: rotate(-8deg); }
.spread.n3 img:nth-child(2) { left: 31.5%; top: 26%; transform: rotate(2deg); z-index: 2; }
.spread.n3 img:nth-child(3) { right: 3%; top: 8%; transform: rotate(7deg); }
.spread.n4 img { width: 31%; }
.spread.n4 img:nth-child(1) { left: 3%; top: 10%; transform: rotate(-7deg); }
.spread.n4 img:nth-child(2) { left: 25%; top: 36%; transform: rotate(3deg); z-index: 2; }
.spread.n4 img:nth-child(3) { right: 25%; top: 5%; transform: rotate(-3deg); }
.spread.n4 img:nth-child(4) { right: 3%; top: 32%; transform: rotate(8deg); z-index: 3; }
@media (prefers-reduced-motion: reduce) { button.oc { transition: none; } button.oc:active { transform: none; } }
.pick-bar { display: flex; align-items: center; gap: 10px; justify-content: space-between; margin: 14px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--accent-soft); color: #7c2d12; font-size: 14.5px; }
.pick-bar:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pick-bar button { flex: none; min-height: 40px; padding: 0 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 700; color: var(--ink); }

/* ---------- «Κατηγορίες»: square photo tiles (shop/partials/category-tiles) ---------- */
.tile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 560px) { .tile-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile-grid li { display: flex; min-width: 0; }
.ct { width: 100%; display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; border-radius: 14px; }
.ct:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.ct-pic { display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #f1ebe3; border: 1px solid var(--line); transition: transform .12s; }
.ct:hover .ct-pic { transform: translateY(-2px); }
.ct-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ct-ico { display: grid; place-items: center; width: 100%; height: 100%; color: #57534e; background: linear-gradient(160deg, #faf7f2, #efe8de); }
.ct-name { font-weight: 650; font-size: 14px; line-height: 1.25; text-align: center; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .ct-pic { transition: none; } .ct:hover .ct-pic { transform: none; } }

/* ---------- computer screens: categories left, products in columns, basket right ---------- */
.chip-search-label, .side-cart { display: none; }
@media (min-width: 1024px) {
    :root { --wide: 1360px; }
    html { scroll-padding-top: 16px; }
    .hero .wrap, .offer-row .wrap { max-width: var(--wide); padding: 0 24px; }
    .promo { max-width: var(--wide); padding: 0 24px; }
    .promo img { aspect-ratio: auto; height: 240px; }
    /* Status, pickup / delivery, delivery note and the store's message in one row. */
    .hero .wrap > .status, .hero .wrap > .mode-switch, .hero .wrap > .mode-note, .hero .wrap > .notice { display: inline-flex; vertical-align: middle; margin-right: 10px; }
    .hero .wrap > .notice { padding: 6px 14px; font-size: 14px; }
    #pwa-slot { display: none; } /* installing the app is a phone thing */
    .offer-scroll { margin: 0; padding: 2px 2px 10px; scrollbar-width: thin; }
    .oc-li { width: 260px; }
    .tile-grid { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); }

    .menu-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr) 340px; gap: 28px; max-width: var(--wide); margin: 0 auto; padding: 18px 24px 0; align-items: start; }
    .menu-layout .chips { position: sticky; top: 16px; background: none; backdrop-filter: none; border: 0; max-height: calc(100vh - 32px); overflow-y: auto; scrollbar-width: thin; }
    .menu-layout .chips .wrap { flex-direction: column; overflow: visible; padding: 0; gap: 2px; max-width: none; }
    .menu-layout .chips a { padding: 9px 12px; border-radius: 10px; border: 0; background: none; white-space: normal; line-height: 1.3; }
    .menu-layout .chips a:hover { background: var(--card); }
    .menu-layout .chips a.on { background: var(--ink); color: #fff; }
    .chip-search { width: 100%; height: 40px; margin-bottom: 8px; text-align: left; padding: 0 14px; border-radius: 10px; }
    .chip-search-label { display: inline; color: var(--muted); }
    .menu-layout .chips .section-tabs { flex-direction: row; padding: 0 0 10px !important; gap: 6px; }
    .menu-layout .search-row { padding: 0 0 8px; flex-wrap: wrap; }
    .menu-layout > main.wrap { max-width: none; padding: 0; margin: 0; }
    .menu-layout .section:first-child { padding-top: 0; }

    /* Products in two columns. */
    .items:not(.rows) { display: grid; grid-template-columns: 1fr 1fr; }
    .items:not(.rows) .item:nth-child(2) { border-top: 0; }
    .items:not(.rows) .item:nth-child(odd) { border-right: 1px solid var(--line); }
    .items:not(.rows) .item:hover, .items.rows .item:hover { background: #fafaf9; }

    /* The basket, always in view. */
    .side-cart { display: flex; flex-direction: column; position: sticky; top: 16px; max-height: calc(100vh - 32px); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
    .side-cart h3 { margin: 0 0 6px; font-size: 18px; }
    .side-lines { overflow-y: auto; min-height: 0; flex: 1; }
    .side-empty { color: var(--muted); margin: 6px 0 2px; font-size: 15px; }
    .side-note { color: var(--danger); font-size: 14px; margin: 8px 0 0; }
    .side-cart .btn { margin-top: 12px; justify-content: space-between; }
    .spacer { height: 40px; }
}
@media (min-width: 1400px) {
    .menu-layout { grid-template-columns: 240px minmax(0, 1fr) 360px; }
}
.bar-note { max-width: var(--wrap); margin: 0 auto 8px; padding: 8px 12px; border-radius: 12px; background: #fff7ed; color: #9a3412; font-size: 13.5px; font-weight: 600; text-align: center; box-shadow: 0 2px 10px rgb(0 0 0 / .08); }
.co-lines { display: none; }
@media (min-width: 1024px) {
    .bar:not(.paybar) { display: none; }
    main.checkout { max-width: 1180px; padding: 0 24px; }
    main.checkout > .summary { display: none; } /* the order is in the right column */
    .co-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
    .co-side { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 12px; }
    .co-side > * { margin: 0 !important; }
    .co-lines { display: block; max-height: 38vh; overflow-y: auto; }
    .co-lines h3 { margin: 0 0 4px; font-size: 17px; }
    .co-side .spacer { display: none; }
    .co-side .paybar { position: static; padding: 0; background: none; }
    .co-side .paybar .btn { max-width: none; }
}
.line-x { flex: none; width: 36px; height: 36px; border-radius: 50%; font-size: 15px; opacity: .7; align-self: center; }
.line-x:hover { opacity: 1; background: var(--danger-soft); }

/* Order status pictures (track page) */
.state-art { margin: 18px auto 0; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.state-art.ready, .state-art.ride { background: var(--ok-soft); color: var(--ok); }
.state-art svg { overflow: visible; }
.sa-turn { transform-origin: 32px 32px; animation: sa-turn 2.4s ease-in-out infinite; }
@keyframes sa-turn { 0%, 70% { transform: rotate(0); } 85%, 100% { transform: rotate(180deg); } }
.sa-sand { transform-origin: 32px 50px; animation: sa-sand 2.4s ease-in-out infinite; }
@keyframes sa-sand { 0% { transform: scaleY(.2); } 70% { transform: scaleY(1); } 100% { transform: scaleY(1); } }
.sa-steam { opacity: 0; animation: sa-steam 2.2s ease-in-out infinite; }
.sa-steam.s2 { animation-delay: .5s; } .sa-steam.s3 { animation-delay: 1s; }
@keyframes sa-steam { 0% { opacity: 0; transform: translateY(6px); } 40% { opacity: .9; } 100% { opacity: 0; transform: translateY(-8px); } }
.sa-lid { animation: sa-lid 1.1s ease-in-out infinite; transform-origin: 32px 26px; }
@keyframes sa-lid { 0%, 100% { transform: translateY(0) rotate(0); } 30% { transform: translateY(-3px) rotate(-4deg); } 60% { transform: translateY(-2px) rotate(3deg); } }
.sa-drop { animation: sa-drop 1.6s ease-in infinite; }
@keyframes sa-drop { 0% { transform: translateY(-6px); opacity: 0; } 20% { opacity: 1; } 70% { transform: translateY(16px); opacity: 1; } 100% { transform: translateY(18px); opacity: 0; } }
.sa-ride { animation: sa-ride .5s ease-in-out infinite alternate; }
@keyframes sa-ride { from { transform: translate(-2px, 0); } to { transform: translate(2px, -1.5px); } }
.sa-wind { animation: sa-wind .8s linear infinite; }
@keyframes sa-wind { from { transform: translateX(4px); opacity: 1; } to { transform: translateX(-6px); opacity: 0; } }
.sa-tick { stroke-dasharray: 30; stroke-dashoffset: 30; animation: sa-tick .7s .2s ease-out forwards; }
@keyframes sa-tick { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .state-art * { animation: none !important; opacity: 1 !important; stroke-dashoffset: 0 !important; } }
.earn-note { margin: 8px 0 0; padding: 8px 12px; border-radius: 10px; background: #fffbeb; color: #92400e; font-size: 14px; font-weight: 600; }
.earn-note a { color: inherit; }
.earn-chip { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: #fef3c7; color: #92400e; font-size: 12.5px; font-weight: 700; }
.points-card h3 small { font-weight: 500; }

/* Legal pages, footer links, cookie notice */
.legal-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 16px; padding: 24px 16px 0; font-size: 13px; }
.legal-links a { color: #78716c; }
.legal-links + .powered { padding-top: 8px; }
.legal-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 12px; }
.legal-tabs a { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid #e7e5e4; color: #44403c; text-decoration: none; font-size: 14px; }
.legal-tabs a.on { background: var(--accent, #1c1917); border-color: var(--accent, #1c1917); color: #fff; }
.legal-text { line-height: 1.6; overflow-x: auto; }
.legal-text h1 { font-size: 22px; margin-top: 4px; }
.legal-text h2 { font-size: 17px; margin-top: 22px; }
.legal-text table { border-collapse: collapse; width: 100%; font-size: 14px; }
.legal-text td, .legal-text th { border: 1px solid #e7e5e4; padding: 6px 8px; text-align: left; vertical-align: top; }
.legal-accept { font-size: 12px; }
.legal-accept a, .legal-links a { text-decoration: underline; }
.cookie-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; max-width: 560px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; border-radius: 14px; background: #1c1917; color: #fafaf9; font-size: 13px; box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.cookie-bar span { flex: 1; }
.cookie-bar a { color: #fcd34d; }
.cookie-bar button { flex: none; border: 0; border-radius: 10px; padding: 8px 14px; background: #fafaf9; color: #1c1917; font-weight: 600; cursor: pointer; }
.cookie-bar[hidden] { display: none; }
.fixed-note { margin: 10px 0 0; font-size: 13px; color: var(--muted, #78716c); }
.group .need { margin: 0 0 8px; color: #b91c1c; font-weight: 600; font-size: 14px; }

/* The cookie notice sits above the basket bar, never over the header, and steps aside while a sheet is open. */
body:has(.bar) .cookie-bar { bottom: calc(92px + env(safe-area-inset-bottom)); }
body:has(.sheet-bg) .cookie-bar { display: none; }
@media (min-width: 1100px) { body:has(.bar) .cookie-bar { bottom: 16px; left: 16px; right: auto; max-width: 440px; } }
.field .req { color: var(--danger); margin-left: 2px; }

/* UI audit round 2 */
.line-x { width: 44px; height: 44px; margin-right: 6px; }
body:has(.sheet-bg) .toast { display: none !important; }
/* Many short options (sugar, milk): a compact grid instead of a long list of rows. */
.group.opt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.group.opt-grid .title, .group.opt-grid .need { grid-column: 1 / -1; }
.group.opt-grid .choice { margin: 0; min-height: 48px; padding: 8px 10px; }
@media (min-width: 560px) { .group.opt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.totals .muted { color: var(--muted); font-weight: 500; font-size: 13.5px; }
.group.opt-grid .choice { border: 1px solid var(--line); border-radius: 12px; gap: 8px; }
.group.opt-grid .choice.on { border-color: var(--accent, #d97706); background: color-mix(in srgb, var(--accent, #d97706) 10%, transparent); }
.group.opt-grid .choice .label { min-width: 0; overflow-wrap: anywhere; font-size: 14px; }
.pickup-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; } .pickup-actions .btn { flex: 1; min-width: 140px; text-decoration: none; }

/* Tourists: a hint to use the browser's own translation. */
.translate-hint { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 16px; background: #eff6ff; color: #1e3a8a; font-size: 13.5px; line-height: 1.35; }
.translate-hint[hidden] { display: none; }
.translate-hint > span { flex: 1; }
.translate-hint button { flex: none; width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent; color: inherit; font-size: 16px; cursor: pointer; }

/* "Goes well with" in the basket */
.goes-with { margin: 14px 0 4px; }
.gw-title { font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.gw-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.gw-card { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--card, #fff); text-align: left; cursor: pointer; min-height: 44px; font: inherit; color: inherit; }
.gw-card:hover { border-color: var(--accent); }
.gw-card img, .gw-ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: color-mix(in srgb, var(--accent, #d97706) 12%, transparent); display: grid; place-items: center; font-weight: 800; font-size: 22px; color: var(--accent, #d97706); }
.gw-name { font-size: 13px; font-weight: 600; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gw-price { font-size: 13px; font-weight: 700; color: var(--accent, #d97706); }

/* Pay the table's bill from the phone */
.staff-btn.pay-here { background: var(--accent, #e8590c); color: #fff; border-color: transparent; }
.paid-note { background: #e6f6ea; color: #1b6b34; margin-top: 8px; }
.bill-sheet .bill-modes { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.bill-sheet .bill-modes button { flex: 1 1 0; min-height: 44px; padding: 8px 6px; white-space: nowrap; font-size: 15px; border-radius: 12px; border: 1px solid #ddd; background: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.bill-sheet .bill-modes button.on { background: #222; color: #fff; border-color: #222; }
.bill-lines { list-style: none; margin: 0; padding: 0; }
.bill-lines li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #eee; }
.bill-lines .bl-name { flex: 1; min-width: 0; }
.bill-lines .bl-price { font-variant-numeric: tabular-nums; white-space: nowrap; }
.bill-sheet .qty { display: inline-flex; align-items: center; gap: 8px; }
.bill-sheet .qty button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #ccc; background: #fff; font-size: 18px; cursor: pointer; }
.bill-sheet .qty button:disabled { opacity: .35; cursor: default; }
.bill-due { text-align: right; margin: 10px 0 14px; }
.bill-people, .bill-tips { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 12px 0; flex-wrap: wrap; }
.bill-tips .bill-modes { margin: 0; flex: 1 1 220px; }

/* Group order */
.group-start { width: 100%; margin-top: 10px; min-height: 44px; }
.btn.sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.group-box { margin-top: 12px; padding: 12px 14px; border: 1px dashed var(--line); border-radius: 14px; background: var(--accent-soft); }
.group-head { font-size: 15px; }
.group-names { color: var(--muted); font-size: 14px; margin: 4px 0 8px; }
.group-share { display: flex; gap: 8px; flex-wrap: wrap; }
.group-box .small { font-size: 13px; margin: 8px 0 0; }
.group-bar { margin-top: 10px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; font-weight: 600; font-size: 14px; display: inline-block; }
.group-bar.sent { background: #e6f6ea; color: #1b6b34; }
.group-bar .linkish { background: none; border: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; padding: 0; }
.line-who { font-size: 13px; font-weight: 700; color: var(--muted); margin: 10px 0 2px; }

/* The store's description and FAQ under the menu (also what Google reads). */
.shop-about { max-width: 760px; margin: 28px auto 8px; padding: 0 16px; color: #44403c; font-size: 14.5px; line-height: 1.55; }
.shop-about h2 { font-size: 17px; margin: 0 0 8px; color: var(--ink, #1c1917); }
.shop-about p { margin: 0 0 10px; }
.shop-about details { border-top: 1px solid #e7e5e4; padding: 10px 0; }
.shop-about summary { cursor: pointer; font-weight: 600; color: var(--ink, #1c1917); }
.shop-about details p { margin: 6px 0 0; }

/* Menus in Hebrew or Arabic: each text runs in its own direction, the page layout stays as it is. */
html[lang="he"] *, html[lang="ar"] * { unicode-bidi: plaintext; }

/* ---------- step 2 quick wins (online): store state, phone hero, tap targets, contrast ---------- */
/* Paused / closed: one clear card at the top, before anything is browsed. */
.state-banner { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; border-radius: var(--radius); background: #fffbeb; color: #78350f; box-shadow: 0 4px 14px rgb(0 0 0 / .18); }
.state-banner.paused { background: #fef2f2; color: #7f1d1d; }
.state-banner.later-on { background: #ecfdf5; color: #065f46; }
.state-banner .sb-ico { font-size: 22px; line-height: 1; flex: none; }
.state-banner .sb-txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.state-banner .sb-txt b { font-size: 15.5px; }
.state-banner .sb-txt small { font-size: 13.5px; }
.state-banner .sb-cta { flex: none; min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 14px; }
@media (max-width: 420px) { .state-banner { flex-wrap: wrap; } .state-banner .sb-cta { width: 100%; } }
/* Nothing can be added now: the "+" greys out (tapping says why). */
.item.blocked .plus, .item.blocked .pic .plus { background: #e7e5e4; color: #78716c; box-shadow: none; }
.item.blocked:active { background: none; }
.item.blocked:active .plus { transform: none; }

/* Tap targets ≥ 44 px (WCAG 2.5.5) on the header's controls, chips and small links. */
.account-link { margin-left: auto; margin-right: 8px; display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: #e7e5e4; text-decoration: none; font-size: 14px; white-space: nowrap; max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
.lang a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; }
.lang-pick select { min-height: 44px; }
.mode-switch button { min-height: 44px; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; }
.chip-search { height: 44px; }
.btn.link.mini { min-height: 44px; padding: 0 4px; display: inline-flex; align-items: center; }
.legal-links a { display: inline-flex; align-items: center; min-height: 44px; }
.powered a { display: inline-flex; align-items: center; min-height: 44px; }
.stepper button, .line-x { min-width: 44px; min-height: 44px; }
/* Footer credit readable: --muted is 5.4:1 on the page background (was #a8a29e, 2.4:1). */
.powered { color: var(--muted); }
/* A visible focus ring, also on the dark hero and on accent buttons. */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.hero :focus-visible, .btn.primary:focus-visible, .state-banner .sb-cta:focus-visible { outline-color: #fff; box-shadow: 0 0 0 5px var(--ink); }

/* Phones: a shorter hero, so the first products show above the fold (390×844). */
@media (max-width: 480px) {
    .hero, .hero.has-cover { padding: 12px 0 14px; }
    .hero h1 { font-size: 20px; }
    .hero .top .store-logo { --lh: 72px; height: var(--lh); max-width: none; }
    .hero .top .store-logo.lf-rounded, .hero .top .store-logo.lf-none { max-width: 150px; }
    .hero .top .store-logo.lf-rounded { padding: 6px 8px; }
    .store-info { margin-top: 6px; gap: 2px; font-size: 13.5px; }
    .status { margin-top: 8px; padding: 4px 10px; font-size: 13.5px; }
    .mode-switch { margin-top: 8px; }
    .mode-switch button { padding: 0 12px; font-size: 14px; }
    .mode-note { font-size: 13px; }
    .notice { margin-top: 8px; padding: 8px 12px; font-size: 14px; }
    .promo { margin-top: 10px; }
    .promo img { aspect-ratio: 4 / 1; }
}

/* Customer "not found" page (unknown store link, old table code). */
.not-found { padding-top: 28px; padding-bottom: 40px; display: grid; gap: 14px; }
.nf-card h1, .nf-card h2 { margin: 0 0 6px; font-size: 21px; }
.nf-card p { margin: 6px 0 0; color: var(--muted); }
.nf-code { margin: 0 0 4px !important; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.not-found .btn { display: inline-flex; width: auto; text-decoration: none; }

/* «Δημοφιλή»: a row of photo cards first on the menu (scrolls sideways on phones). */
.popular .pop-row { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 2px 8px; margin: 0 -2px; scrollbar-width: thin; }
.pop-card { position: relative; flex: none; width: 150px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 0 0 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); text-align: left; cursor: pointer; font: inherit; color: inherit; overflow: hidden; }
.pop-card:hover { border-color: var(--accent); }
.pop-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.pop-card[aria-disabled="true"] { opacity: .6; }
.pop-card.busy { opacity: .7; }
.pop-pic { position: relative; display: block; }
.pop-pic img, .pop-ph { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 30px; }
.pop-pic .plus { position: absolute; right: 8px; bottom: 8px; width: 32px; height: 32px; border-radius: 50%; background: var(--card); color: var(--accent); display: grid; place-items: center; font-size: 20px; font-weight: 700; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.pop-pic .plus.has { background: var(--accent); color: var(--accent-ink); font-size: 15px; }
.pop-pic .plus.kg { width: auto; padding: 0 8px; border-radius: 999px; font-size: 12px; }
.pop-name { padding: 0 10px; font-weight: 650; font-size: 14.5px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pop-price { padding: 0 10px; font-weight: 700; font-size: 14px; }
@media (min-width: 1024px) { .pop-card { width: 172px; } }

/* «Θα ταίριαζε…» after an add: a light card above the basket bar, closable. */
.pair-strip { position: fixed; left: 50%; bottom: calc(80px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 31; width: min(calc(100% - 24px), 520px); padding: 10px 12px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 10px 30px rgba(0,0,0,.16); animation: pair-in .18s ease-out; }
.pair-strip .goes-with { margin: 0; }
.pair-strip .gw-title { padding-right: 40px; min-height: 28px; display: flex; align-items: center; }
.pair-strip .gw-card img, .pair-strip .gw-ph { width: 40px; height: 40px; flex: none; aspect-ratio: 1; font-size: 16px; border-radius: 8px; }
.pair-strip .gw-card { display: grid; grid-template-columns: 40px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 8px; row-gap: 2px; }
.pair-strip .gw-card img, .pair-strip .gw-ph { grid-row: span 2; }
.pair-x { position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: none; color: var(--muted); font-size: 18px; cursor: pointer; }
.pair-x:hover { background: var(--bg); color: var(--ink); }
.pair-x:focus-visible, .gw-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
body:has(.pair-strip) .toast { bottom: calc(80px + env(safe-area-inset-bottom) + 200px); }
@media (max-width: 420px) { .pair-strip .gw-card { grid-template-columns: 1fr; } .pair-strip .gw-card img, .pair-strip .gw-ph { grid-row: auto; width: 100%; height: 48px; } }
/* Computers: the basket on the right already shows the ideas; it lights up instead of a second card. */
@media (min-width: 1024px) {
    .pair-strip { display: none; }
    .side-cart .goes-with.fresh { border-radius: 14px; box-shadow: 0 0 0 2px var(--accent); padding: 8px; margin-left: -8px; margin-right: -8px; animation: gw-fresh 1.2s ease-out 2; }
}
@keyframes gw-fresh { 50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 35%, transparent); } }
@keyframes pair-in { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Category icons on the category chips (CategoryIcons, step 3) */
.chip-ico { display: inline-flex; vertical-align: -3px; margin-right: 6px; opacity: .8; }
.chip-ico svg { width: 18px; height: 18px; }

/* ---------- Builders (step 4): meal / pizza stepper (shop/partials/builder, BuildsMeals) ----------
   Phones: one step per screen with a sticky bottom bar; computers: a side sheet with every step.
   The brand colour is only a fill with its own ink (--accent / --accent-ink) or a border; text stays --ink. */
.b-sheet .b-kicker { margin: 0 0 2px; font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.b-sheet header .sub { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.b-progress { padding: 10px 14px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; flex: none; }
.b-progress::-webkit-scrollbar { display: none; }
.b-progress ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.b-dot button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 4px 12px 4px 4px; border-radius: 999px; background: #f5f5f4; color: var(--muted); font-size: 14px; font-weight: 650; white-space: nowrap; }
.b-dot button[disabled] { cursor: default; opacity: 1; }
.b-dot.now button { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 2px var(--accent); }
.b-dot.done button { color: var(--ink); }
.b-n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #e7e5e4; color: var(--ink); font-weight: 800; flex: none; }
.b-dot.now .b-n, .b-dot.done .b-n { background: var(--accent); color: var(--accent-ink); }
.b-body { flex: 1 1 auto; min-height: 0; }
.b-step { padding-top: 12px; }
.b-title { margin: 6px 0 10px; font-size: 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; outline: none; }
.b-title .rule { font-size: 12px; font-weight: 600; color: var(--muted); background: #f5f5f4; padding: 2px 8px; border-radius: 999px; }
.b-title .rule.req { color: var(--ink); background: var(--accent-soft); }
.b-step-of { flex-basis: 100%; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.b-step.missing { border-radius: 14px; box-shadow: inset 0 0 0 2px #dc2626; padding: 8px 10px 12px; margin: 8px 0; }
.b-step .need { margin: 0 0 10px; color: #b91c1c; font-weight: 600; font-size: 14px; }
.b-hint { margin: -4px 0 10px; color: var(--muted); font-size: 14px; }
.b-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 560px) { .b-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.b-tile-wrap { position: relative; }
.b-tile { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; gap: 6px; padding: 6px 6px 10px; border-radius: 14px; background: var(--card); border: 2px solid var(--line); text-align: left; color: var(--ink); }
.b-tile img, .b-tile .b-ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; display: block; background: var(--accent-soft); }
.b-tile .b-ph { display: grid; place-items: center; font-size: 34px; font-weight: 800; color: var(--muted); background: linear-gradient(150deg, var(--accent-soft), #fff); }
.b-tile-wrap.on .b-tile { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); background: color-mix(in srgb, var(--accent-soft) 60%, #fff); }
.b-tile-wrap.sold-out .b-tile { opacity: .55; }
.b-tile-name { font-weight: 700; font-size: 15px; line-height: 1.25; padding: 0 4px; }
.b-tile-name small { display: block; font-weight: 500; font-size: 13px; color: var(--muted); }
.b-tile-price { margin-top: auto; padding: 0 4px; font-weight: 700; font-size: 14.5px; }
.b-check { position: absolute; top: 10px; right: 10px; min-width: 32px; height: 32px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 800; box-shadow: 0 2px 8px rgb(0 0 0 / .2); }
.b-less { position: absolute; top: 6px; left: 6px; width: 44px; height: 44px; border-radius: 50%; background: var(--card); font-size: 22px; font-weight: 800; box-shadow: 0 2px 8px rgb(0 0 0 / .2); }
.b-text .b-tile { min-height: 76px; padding: 12px; justify-content: space-between; }
.b-options { margin-top: 12px; padding: 4px 12px 8px; border: 1px solid var(--line); border-radius: 14px; }
.b-options-title { margin: 8px 0 0; font-weight: 700; }
.b-summary ul { list-style: none; margin: 0; padding: 0; }
.b-summary li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.b-sum-step { grid-column: 1 / -1; font-size: 13px; font-weight: 600; color: var(--muted); }
.b-sum-pick b { display: block; font-weight: 650; }
.b-sum-pick small { display: block; color: var(--muted); font-size: 13.5px; }
.b-edit { min-height: 44px; }
.b-summary .field { margin-top: 12px; }
.b-foot { flex: none; }
.b-foot > div { display: flex; gap: 12px; align-items: center; width: 100%; }
.b-foot .btn.primary { flex: 1; justify-content: space-between; }
.b-desk { display: none !important; }
/* Phones and tablets: one step at a time. */
@media (max-width: 1023px) {
    .b-step:not(.current) { display: none; }
}
/* Computers: a side sheet on the right, every step as a section and one «Προσθήκη» button. */
@media (min-width: 1024px) {
    .b-sheet-bg { align-items: stretch; justify-content: flex-end; }
    .b-sheet { max-width: 560px; max-height: none; height: 100vh; border-radius: 20px 0 0 20px; }
    .b-progress { display: none; }
    .b-step { padding: 14px 0 8px; border-top: 1px solid var(--line); }
    .b-step:first-child { border-top: 0; }
    .b-phone { display: none !important; }
    .b-desk { display: flex !important; }
}
/* A meal's picks under its name (basket, checkout, tracking). */
.comps { list-style: none; margin: 4px 0 0; padding: 0 0 0 10px; border-left: 3px solid var(--accent-soft); color: var(--muted); font-size: 14px; }
.comps li { padding: 1px 0; }
.make-meal { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 6px; padding: 6px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--ink); border: 1.5px solid var(--accent); font-weight: 700; font-size: 14px; }
.make-meal:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.meal-strip { padding: 12px 14px 14px; }
.meal-strip-body { margin: 2px 44px 10px 2px; font-weight: 600; }
.meal-strip .btn.block { width: 100%; justify-content: center; }
.b-foot .btn { width: auto; }
.b-foot .btn.primary { flex: 1 1 auto; min-width: 0; }
.b-foot .sum { white-space: nowrap; }
.b-phone > .btn:not(.primary) { flex: 0 0 auto; min-width: 96px; }
.b-sheet, .b-body { overflow-x: hidden; }
.make-meal { white-space: nowrap; }
.b-tile:focus-visible, .b-dot button:focus-visible, .b-less:focus-visible, .b-edit:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
/* An 18+ photo switched off here (AgeRules «Φωτογραφίες 18+»): the category icon + «18+», same size as the photo. */
.age-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: color-mix(in srgb, currentColor 7%, transparent); color: var(--muted, #57534e); overflow: hidden; font-size: inherit; }
.item .pic .age-tile { width: 92px; height: 92px; border-radius: 12px; }
.age-tile.sheet-pic { height: 200px; }
.age-tile-ico { display: flex; }
.age-tile-badge, .ct-age { font-size: 12px; font-weight: 800; line-height: 1; padding: 3px 7px; border-radius: 999px; background: #292524; color: #fff; letter-spacing: .02em; }
.pair-strip .age-tile-ico { display: none; }
.ct-pic .ct-age { position: absolute; right: 8px; bottom: 8px; }
.ct-pic { position: relative; }
/* Mini market rows without an own photo: the category's icon on its colour (App\Support\TileColors::forCategory). */
.items.rows .item .thumb-icon { display: inline-flex; align-items: center; justify-content: center; background: var(--tc-soft, #eef2f7); color: var(--tc, #475569); border-color: transparent; }

/* Small laptops / half-screen windows (1024–1279px): three columns squeezed the products into narrow cards and the
   basket lines into slivers. Narrower side columns, one product column, and the basket's −/+ under the item. */
@media (min-width: 1024px) and (max-width: 1279px) {
    .menu-layout { grid-template-columns: 190px minmax(0, 1fr) 300px; gap: 18px; padding: 18px 16px 0; }
    .items:not(.rows) { grid-template-columns: 1fr; }
    .items:not(.rows) .item:nth-child(odd) { border-right: 0; }
    .items:not(.rows) .item:nth-child(2) { border-top: 1px solid var(--line); }
}
@media (min-width: 1024px) {
    .side-cart .line { flex-wrap: wrap; row-gap: 6px; }
    .side-cart .line .info { flex: 1 1 100%; }
    .side-cart .line .line-x { margin-left: auto; }
}
