/* Menu page (sddanismanlikadana.com.tr/menu). Brand colours: charcoal and fire yellow; warm neutrals.
   Light and dark follow the ordering site's choice (tema.js). */
:root {
  --brand: #ffc21a;
  --brand-ink: #141414;
  --fire: #ff7a1a;
  --coal: #121212;
  --page: #f7f3ea;
  --card: #ffffff;
  --ink: #1c1814;
  --text: #3a342c;
  --muted: #776f62;
  --line: #e9e2d2;
  --chip: #ffffff;
  --tile: #efe8d8;
  --shadow: 0 1px 2px rgba(40, 30, 10, 0.06), 0 6px 18px rgba(40, 30, 10, 0.06);
  --green: #1f9d55;
  --red: #d64545;
  --radius: 16px;
  --bar-h: 112px;
}
html[data-theme="dark"] {
  --page: #11100e;
  --card: #1b1916;
  --ink: #f4f0e6;
  --text: #ddd6c8;
  --muted: #a39b8c;
  --line: #2b2823;
  --chip: #1f1d19;
  --tile: #24211c;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 22px rgba(0, 0, 0, 0.35);
  --green: #3cc47a;
  --red: #ef6a6a;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 12px); }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
button { font: inherit; color: inherit; }
/* Anything hidden stays hidden, whatever display it has otherwise. */
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Top bar (the same as the site's information pages; tema.js adds the light/dark button). */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: var(--coal); color: #fff; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; font-weight: 800; font-size: 17px; }
.brand-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mark { width: 32px; height: 32px; flex: none; display: grid; place-items: center; visibility: hidden; }
.mark.on { visibility: visible; }
.mark.flame { border-radius: 9px; background: var(--brand); color: var(--coal); font-weight: 900; }
.mark img { width: 32px; height: 32px; object-fit: contain; display: block; }
.actions { display: flex; align-items: center; gap: 8px; }
.theme { width: 36px; height: 36px; flex: none; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff; display: grid; place-items: center; cursor: pointer; }
.theme svg { width: 18px; height: 18px; }
.theme:hover { background: rgba(255, 255, 255, 0.24); }
.back { background: var(--brand); color: var(--brand-ink); text-decoration: none; font-weight: 800; padding: 8px 14px; border-radius: 10px; font-size: 14px; white-space: nowrap; }
.theme:focus-visible, .back:focus-visible, .btn:focus-visible, .chip:focus-visible, .card:focus-visible, .sheet-close:focus-visible, .clear:focus-visible,
.add:focus-visible, .stepper button:focus-visible, .choice:focus-visible, .cartbar-btn:focus-visible, .link-btn:focus-visible {
  outline: 3px solid var(--brand); outline-offset: 2px;
}

/* Cover: the fire's glow behind the logo. */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 120%, rgba(255, 122, 26, 0.55), rgba(255, 122, 26, 0) 60%),
    radial-gradient(70% 60% at 50% 110%, rgba(255, 194, 26, 0.55), rgba(255, 194, 26, 0) 70%),
    var(--coal);
  color: #fff;
}
.hero-in { max-width: 980px; margin: 0 auto; padding: 28px 18px 30px; text-align: center; }
.hero-logo { width: 96px; height: 96px; margin: 0 auto 12px; display: grid; place-items: center; }
.hero-logo img { width: 96px; height: 96px; object-fit: contain; display: block; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45)); }
.hero-logo.flame { border-radius: 26px; background: var(--brand); color: var(--coal); font-weight: 900; font-size: 44px; }
.hero-eyebrow { margin: 0; color: var(--brand); font-weight: 800; letter-spacing: 2.5px; font-size: 12px; text-transform: uppercase; }
.hero h1 { margin: 4px 0 10px; font-size: 34px; line-height: 1.1; letter-spacing: -0.6px; font-weight: 900; }
.hero-sub { display: block; font-size: 15px; font-weight: 700; letter-spacing: 6px; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); margin-top: 6px; }
.status { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); font-size: 14px; font-weight: 700; }
.status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(60, 196, 122, 0.25); }
.status.closed .dot { background: var(--red); box-shadow: 0 0 0 4px rgba(239, 106, 106, 0.25); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 18px; border-radius: 14px; font-weight: 800; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; }
.btn-brand { background: var(--brand); color: var(--brand-ink); }
.btn-brand:hover { filter: brightness(1.05); }
.btn-ghost { background: rgba(255, 255, 255, 0.12); color: #fff; border: 1px solid rgba(255, 255, 255, 0.22); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.2); }
.btn-wide { width: 100%; min-height: 52px; font-size: 16px; }
/* Phone: the order button across, call and directions side by side under it. */
@media (max-width: 759px) {
  .hero-actions { max-width: 440px; margin: 0 auto; }
  .hero-actions .btn-brand { flex: 1 1 100%; min-height: 50px; }
  .hero-actions .btn-ghost { flex: 1 1 0; }
}

/* Search and categories: stay at the top while the menu scrolls. */
.bar { position: sticky; top: 0; z-index: 20; background: var(--page); border-bottom: 1px solid var(--line); box-shadow: 0 6px 14px -12px rgba(0, 0, 0, 0.35); }
.bar-in { max-width: 980px; margin: 0 auto; padding: 12px 16px 10px; }
.search { position: relative; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 12px 0 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); color: var(--muted); }
.search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(255, 194, 26, 0.25); }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 16px; }
.search input::placeholder { color: var(--muted); }
.search input::-webkit-search-cancel-button { display: none; }
.clear { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--tile); color: var(--ink); cursor: pointer; padding: 0; }
.clear svg { width: 16px; height: 16px; }
.cats { display: flex; gap: 8px; overflow-x: auto; padding: 10px 2px 2px; margin: 0 -2px; scrollbar-width: none; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }
.cats::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--chip); color: var(--ink); font-weight: 700; font-size: 14px; white-space: nowrap; cursor: pointer; }
.chip:hover { border-color: var(--brand); }
.chip.on { background: var(--coal); border-color: var(--coal); color: #fff; }
html[data-theme="dark"] .chip.on { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.chip[hidden] { display: none; }

/* The menu. */
.menu { max-width: 980px; margin: 0 auto; padding: 8px 16px 28px; min-height: 50vh; }
.cat { padding-top: 18px; }
.cat[hidden] { display: none; }
.cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 6px 2px 12px; }
.cat-head h2 { margin: 0; font-size: 22px; letter-spacing: -0.3px; font-weight: 900; }
.cat-head span { color: var(--muted); font-size: 13px; font-weight: 600; white-space: nowrap; }
.grid { display: grid; gap: 12px; }
.card {
  display: flex; gap: 14px; align-items: stretch; width: 100%; padding: 12px; text-align: left;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  cursor: pointer; transition: transform 0.12s ease, border-color 0.12s ease;
}
.card[hidden] { display: none; }
.card:hover { border-color: var(--brand); }
.card:active { transform: scale(0.99); }
.card-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 2px 0; }
.card-name { display: block; font-weight: 800; font-size: 16px; line-height: 1.3; color: var(--ink); }
.card-desc { color: var(--muted); font-size: 13.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { margin-top: auto; padding-top: 6px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.price { font-weight: 900; font-size: 17px; color: var(--ink); letter-spacing: -0.2px; }
.tag { font-size: 12px; font-weight: 700; color: var(--muted); background: var(--tile); padding: 3px 8px; border-radius: 999px; }
/* Photo with the brand mark underneath: a missing photo leaves a tidy tile, never an empty box. */
.ph { position: relative; flex: none; width: 108px; height: 108px; border-radius: 14px; overflow: hidden; background: var(--tile); display: grid; place-items: center; }
.ph .ph-mark { width: 46%; height: 46%; object-fit: contain; opacity: 0.55; filter: grayscale(0.2); }
.ph .ph-mark.flame { display: grid; place-items: center; border-radius: 12px; background: var(--brand); color: var(--coal); font-weight: 900; font-size: 22px; opacity: 0.8; }
.ph .ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.25s ease; }
.ph .ph-img.ok { opacity: 1; }
.empty { text-align: center; padding: 48px 12px; color: var(--muted); }
.empty b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 6px; }
.empty p { margin: 0 auto; max-width: 420px; }
.empty .btn { margin-top: 16px; }

/* Loading */
.skeleton .sk-title, .skeleton .sk-card { background: linear-gradient(90deg, var(--tile) 25%, var(--card) 37%, var(--tile) 63%); background-size: 400% 100%; animation: sk 1.3s ease infinite; border-radius: 14px; }
.skeleton .sk-title { height: 26px; width: 46%; margin: 22px 2px 14px; }
.skeleton .sk-card { height: 132px; margin-bottom: 12px; }
@keyframes sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* Contact */
.info { background: var(--card); border-top: 1px solid var(--line); }
.info-in { max-width: 980px; margin: 0 auto; padding: 26px 16px 28px; }
.info h2 { margin: 0 0 14px; font-size: 22px; font-weight: 900; }
.info-grid { display: grid; gap: 14px; margin-bottom: 20px; }
.info-item { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-size: 15px; }
.info-item svg { margin-top: 2px; color: var(--fire); }
.info-item b { display: block; color: var(--ink); font-size: 14px; margin-bottom: 2px; }
.info-item a { font-weight: 700; color: var(--ink); }
.info-item [hidden] { display: none; }
#address-map { display: inline-block; margin-top: 4px; font-size: 14px; }
.hours-row { display: flex; justify-content: space-between; gap: 16px; max-width: 280px; }
.foot { max-width: 980px; margin: 0 auto; padding: 18px 16px 26px; color: var(--muted); font-size: 13px; text-align: center; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-bottom: 8px; }
.foot-links a { color: var(--muted); text-decoration: none; font-weight: 600; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }
.foot p { margin: 0; }

/* Phone: the order button stays at the bottom once the cover has scrolled away. */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--page) 70%, rgba(0, 0, 0, 0)); transform: translateY(110%); transition: transform 0.2s ease; pointer-events: none; }
.dock.on { transform: none; pointer-events: auto; }
.dock .btn { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); }
body.docked .foot { padding-bottom: 96px; }

/* Product details */
.sheet { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.sheet[hidden] { display: none; }
.sheet-back { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55); animation: fade 0.18s ease; }
.sheet-box { position: relative; width: 100%; max-width: 560px; max-height: 92vh; overflow: auto; background: var(--card); border-radius: 22px 22px 0 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.35); animation: up 0.22s ease; overscroll-behavior: contain; }
.sheet-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.55); color: #fff; display: grid; place-items: center; cursor: pointer; }
.sheet-photo.ph { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 0; }
.sheet-photo.ph .ph-mark { width: 28%; height: 28%; }
.sheet-body { padding: 18px 20px calc(20px + env(safe-area-inset-bottom)); }
.sheet-cat { margin: 0 0 4px; color: var(--fire); font-weight: 800; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; }
.sheet-body h3 { margin: 0 0 8px; font-size: 24px; line-height: 1.2; font-weight: 900; letter-spacing: -0.3px; }
.sheet-desc { margin: 0 0 14px; color: var(--text); font-size: 15px; }
.sheet-desc:empty { display: none; }
.sheet-prices { margin: 0 0 18px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.sheet-prices .row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--line); font-size: 15px; }
.sheet-prices .row:first-child { border-top: 0; }
.sheet-prices .row b { font-weight: 900; }
.sheet-prices .sub { padding: 8px 14px; background: var(--tile); color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; border-top: 1px solid var(--line); }
body.locked { overflow: hidden; }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(40px); opacity: 0.6; } }

/* ------------------------------------------------------------------ QR menü: ordering at a table */
/* At a table the delivery site's buttons are not for the guest. */
body.table .back, body.table #hero-actions, body.table #status, body.table #info-online, body.table .dock, body.table #sheet-online { display: none !important; }
.table-box { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 460px; margin: 2px auto 0; }
.table-name { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 9px 20px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font-weight: 900; font-size: 20px; letter-spacing: -0.2px; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35); }
.table-name .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.55); }
.table-box.closed .table-name .dot { background: var(--red); }
.table-note { margin: 0; color: rgba(255, 255, 255, 0.82); font-size: 14.5px; line-height: 1.45; }
.table-box .btn-ghost { min-height: 42px; padding: 8px 16px; font-size: 14.5px; }
.table-warn { max-width: 460px; margin: 14px auto 0; padding: 11px 14px; border-radius: 12px; background: rgba(239, 106, 106, 0.18); border: 1px solid rgba(239, 106, 106, 0.5); color: #fff; font-weight: 700; font-size: 14.5px; line-height: 1.45; }

/* "+" on a card, over the photo's corner; how many are in the cart, on the photo. */
.item { position: relative; display: flex; }
.item .card { flex: 1; }
.add { display: none; position: absolute; right: 18px; bottom: 18px; z-index: 1; width: 40px; height: 40px; padding: 0; border: 2px solid var(--card); border-radius: 50%; background: var(--brand); color: var(--brand-ink); place-items: center; cursor: pointer; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28); }
.add svg { width: 20px; height: 20px; stroke-width: 2.8; }
.add:active { transform: scale(0.94); }
body.can-order .add { display: grid; }
.incart { position: absolute; left: 6px; top: 6px; z-index: 1; padding: 3px 8px; border-radius: 999px; background: var(--coal); color: #fff; font-size: 12px; font-weight: 800; line-height: 1.3; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); }
html[data-theme="dark"] .incart { background: var(--brand); color: var(--brand-ink); }

/* Choices in the product window */
.sheet-price { margin: 0 0 16px; font-size: 20px; font-weight: 900; letter-spacing: -0.2px; }
.sheet.ordering .sheet-body { padding-bottom: 8px; }
.sheet-order { margin-bottom: 8px; }
.group { margin: 0 0 16px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.group-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; background: var(--tile); }
.group-head b { display: block; font-size: 15.5px; font-weight: 900; }
.group-head small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.35; margin-top: 1px; }
.pill { flex: none; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--card); color: var(--muted); border: 1px solid var(--line); }
.pill.strong { background: var(--coal); color: #fff; border-color: var(--coal); }
html[data-theme="dark"] .pill.strong { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.choice { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 10px 14px; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; font-size: 15.5px; }
button.choice { cursor: pointer; }
button.choice:hover { background: var(--tile); }
.radio { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--muted); display: grid; place-items: center; }
.choice[aria-checked="true"] .radio { border-color: var(--ink); }
.choice[aria-checked="true"] .radio::after { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); }
.choice-name { flex: 1; min-width: 0; font-weight: 600; }
.choice-name small { display: block; color: var(--muted); font-size: 13px; font-weight: 600; }
.choice[aria-checked="true"] .choice-name { font-weight: 800; }
.choice-price { font-weight: 800; white-space: nowrap; }
.group-hint { margin: 0; padding: 10px 14px 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.field { display: block; margin: 0 0 4px; }
.field > span { display: block; margin-bottom: 6px; color: var(--ink); font-size: 14px; font-weight: 800; }
.field textarea { display: block; width: 100%; min-height: 50px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--page); color: var(--ink); font: inherit; font-size: 16px; line-height: 1.4; resize: vertical; }
.field textarea::placeholder { color: var(--muted); }
.field textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(255, 194, 26, 0.25); }
.sheet-foot { position: sticky; bottom: 0; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--line); }
.add-btn { flex: 1; justify-content: space-between; min-height: 52px; padding: 10px 18px; font-size: 16px; }
.add-btn b { font-weight: 900; }
.btn:disabled { opacity: 0.5; cursor: default; filter: none; }
.btn-line { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-line:hover { border-color: var(--brand); }
.btn.refresh { margin-top: 10px; min-height: 46px; font-size: 15px; }

/* − 2 + */
.stepper { flex: none; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.stepper button { width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.stepper button svg { width: 18px; height: 18px; stroke-width: 2.6; }
.stepper button:disabled { opacity: 0.3; cursor: default; }
.stepper span { min-width: 24px; text-align: center; font-weight: 900; font-size: 17px; }
.stepper.sm button { width: 36px; height: 36px; }
.stepper.sm button svg { width: 16px; height: 16px; }
.stepper.sm span { min-width: 20px; font-size: 15px; }

/* The cart / orders bar at the bottom */
.cartbar { 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(--page) 60%, rgba(0, 0, 0, 0)); pointer-events: none; }
.cartbar-btn { pointer-events: auto; display: flex; align-items: center; gap: 12px; width: 100%; max-width: 560px; min-height: 58px; margin: 0 auto; padding: 8px 16px 8px 9px; border: 0; border-radius: 18px; background: var(--coal); color: #fff; font-size: 16px; font-weight: 800; cursor: pointer; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32); animation: up 0.22s ease; }
html[data-theme="dark"] .cartbar-btn { background: var(--brand); color: var(--brand-ink); }
.cartbar-count { min-width: 42px; height: 42px; padding: 0 8px; border-radius: 13px; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-size: 17px; font-weight: 900; }
html[data-theme="dark"] .cartbar-count { background: var(--coal); color: var(--brand); }
.cartbar-text { flex: 1; text-align: left; }
.cartbar-total { font-weight: 900; font-size: 17px; white-space: nowrap; }
.cartbar.orders .cartbar-total { font-size: 14px; font-weight: 800; opacity: 0.85; }
body.carted .foot { padding-bottom: 104px; }

/* A short message ("Sepete eklendi") */
.toast { position: fixed; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); z-index: 70; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); padding: 11px 16px; border-radius: 12px; background: var(--coal); color: #fff; font-size: 14.5px; font-weight: 700; text-align: center; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3); }
.toast.in { animation: toast 0.22s ease; }
html[data-theme="dark"] .toast { background: #f4f0e6; color: #141414; }
@keyframes toast { from { opacity: 0; transform: translate(-50%, 10px); } }

/* Cart and orders window */
.panel-head { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 12px 20px; background: var(--card); border-bottom: 1px solid var(--line); }
.panel-head h3 { margin: 0; font-size: 20px; font-weight: 900; letter-spacing: -0.2px; }
.sheet-close.panel-close { position: static; flex: none; background: var(--tile); color: var(--ink); }
.panel-body { padding: 6px 20px 18px; }
.panel-foot { position: sticky; bottom: 0; z-index: 3; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--line); }
.panel-foot:empty { display: none; }
.panel-sub { margin: 8px 0 2px; color: var(--muted); font-size: 14px; font-weight: 700; }
.line { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ph.line-ph { width: 60px; height: 60px; border-radius: 12px; align-self: flex-start; }
.line-txt { flex: 1; min-width: 0; }
.line-name { font-weight: 800; line-height: 1.3; }
.line-sub { color: var(--muted); font-size: 13.5px; line-height: 1.4; overflow-wrap: anywhere; }
.line-price { margin-top: 4px; font-weight: 900; }
.link-btn { display: inline-block; margin: 6px 0 12px; padding: 10px 0; border: 0; background: transparent; color: var(--ink); font-weight: 800; font-size: 15px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.notice { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--tile); color: var(--text); font-size: 14px; line-height: 1.45; }
.notice.warn { background: rgba(214, 69, 69, 0.1); border: 1px solid rgba(214, 69, 69, 0.35); color: var(--red); font-weight: 700; }
.total-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 2px 10px; font-weight: 800; }
.total-row b { font-size: 21px; font-weight: 900; letter-spacing: -0.2px; }
.spin { width: 18px; height: 18px; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty.small { padding: 30px 8px; }
.done { text-align: center; padding: 18px 0 6px; }
.done-mark { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(31, 157, 85, 0.15); }
.done-mark svg { width: 38px; height: 38px; stroke-width: 3; }
.done h4 { margin: 0 0 4px; font-size: 21px; font-weight: 900; }
.done p { margin: 0 auto; max-width: 380px; color: var(--text); }
.done .done-no { margin-bottom: 6px; color: var(--ink); font-weight: 800; }
.list-title { margin: 22px 0 0; font-size: 16px; font-weight: 900; }
.muted { color: var(--muted); }
.order { margin-top: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; }
.order-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.order-no { font-size: 18px; font-weight: 900; }
.state { padding: 4px 10px; border-radius: 999px; background: var(--tile); color: var(--muted); font-size: 12.5px; font-weight: 800; text-align: right; }
.state.go { background: rgba(31, 157, 85, 0.14); color: var(--green); }
.state.stop { background: rgba(214, 69, 69, 0.12); color: var(--red); }
.order-time { color: var(--muted); font-size: 13px; margin-top: 2px; }
.order-lines { margin-top: 6px; color: var(--text); font-size: 14.5px; }
.order-total { margin-top: 6px; font-weight: 900; }

/* Tablet and computer: two columns of cards, details in the middle of the screen. */
@media (min-width: 760px) {
  .hero-in { padding: 40px 24px 42px; }
  .hero h1 { font-size: 44px; }
  .hero-logo, .hero-logo img { width: 112px; height: 112px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .ph { width: 120px; height: 120px; }
  .ph.line-ph { width: 64px; height: 64px; }
  .bar-in, .menu, .info-in { padding-left: 24px; padding-right: 24px; }
  .info-grid { grid-template-columns: repeat(3, 1fr); }
  .info .btn-wide { max-width: 360px; }
  .sheet { align-items: center; padding: 24px; }
  .sheet-box { border-radius: 22px; max-height: 88vh; }
  .dock { display: none; }
  body.docked .foot { padding-bottom: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
