/* Online pickup ordering demo — design system (guest screen only).
   A menu as a bound card: one column of typographic rows with dotted leaders to the price.
   The demo uses the light "cafe" look (lime plaster, light oak, awning saffron). */
:root {
  --ink: #14100d;          /* позадина: зачадено ореово дрво */
  --panel: #1d1813;
  --panel-2: #29221b;
  --line: rgba(237, 226, 206, 0.12);
  --line-strong: rgba(237, 226, 206, 0.24);
  --text: #ede3d1;         /* слонова коска */
  --muted: #a5987f;
  --faint: #756a58;
  --brass: #c9a46a;        /* стар месинг */
  --brass-hi: #dfc08b;
  --brass-ink: #1b140b;
  --brass-wash: rgba(201, 164, 106, 0.13);
  --ok: #8dbb95;
  --ok-wash: rgba(141, 187, 149, 0.16);
  --warn: #e3a84d;
  --hot: #e56b52;
  --hot-ink: #1d0c07;
  --shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
  --cta: #c9a46a;          /* пополнети копчиња */
  --cta-hi: #dfc08b;
  --cta-ink: #1b140b;
  --on-cta-wash: rgba(27, 20, 11, 0.14);
  --accent-soft: rgba(201, 164, 106, 0.55);
  --accent-line: rgba(201, 164, 106, 0.5);
  --glow: rgba(201, 164, 106, 0.11);
  --scrim: rgba(8, 6, 4, 0.6);
  --frame: #0b0907;
  --promo-a: #3b2c1c;      /* банер: темен месинг */
  --promo-b: #16110c;
  --promo-glow: rgba(201, 164, 106, 0.55);
  --promo-ink: #f4ead8;
  --promo-muted: rgba(244, 234, 216, 0.74);
  --promo-cta: #c9a46a;
  --promo-cta-ink: #1b140b;
  --f-display: 'Prata', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --f-body: 'Jost', 'Avenir Next', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}

[hidden] { display: none !important; }
/* ---------- Light "cafe" look ----------
   Lime plaster, light oak, travertine, a saffron awning, olive greens, organic arches.
   A light look for a venue that works by day. */
:root[data-look="cafe"] {
  --ink: #f3ece2;          /* малтер */
  --panel: #fbf8f3;        /* травертин */
  --panel-2: #ebe1d4;
  --line: rgba(58, 38, 24, 0.12);
  --line-strong: rgba(58, 38, 24, 0.22);
  --text: #33241a;         /* орев од подот */
  --muted: #76614f;
  --faint: #7b6653;
  --brass: #955a2b;        /* светол даб, затемнет за читливост */
  --brass-hi: #9d5f2f;
  --brass-ink: #fff8ef;
  --brass-wash: rgba(168, 101, 50, 0.1);
  --ok: #56704a;           /* маслинка */
  --ok-wash: rgba(86, 112, 74, 0.14);
  --warn: #955d0e;
  --hot: #b3402a;
  --hot-ink: #fff6f2;
  --shadow: 0 14px 34px rgba(90, 58, 30, 0.16);
  --cta: #e39a3f;          /* тендата */
  --cta-hi: #eaa853;
  --cta-ink: #2c1b0e;
  --on-cta-wash: rgba(44, 27, 14, 0.12);
  --accent-soft: rgba(149, 90, 43, 0.45);
  --accent-line: rgba(227, 154, 63, 0.55);
  --glow: rgba(227, 154, 63, 0.14);
  --scrim: rgba(51, 36, 26, 0.32);
  --frame: #2b1e15;
  --promo-a: #7b451e;      /* банер: оревот од подот + сјај од тендата */
  --promo-b: #3a2314;
  --promo-glow: rgba(227, 154, 63, 0.75);
  --promo-ink: #fbf3e6;
  --promo-muted: rgba(251, 243, 230, 0.78);
  --promo-cta: #e39a3f;
  --promo-cta-ink: #2c1b0e;
  --f-display: 'Alegreya', 'Iowan Old Style', Georgia, serif;
  --f-body: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
[data-look="cafe"] .g-venue { font-size: 40px; font-weight: 500; letter-spacing: 0.02em; }
[data-look="cafe"] .g-sec-title { font-style: italic; font-weight: 500; color: var(--brass); }
[data-look="cafe"] .g-name, [data-look="cafe"] .g-li-name { font-weight: 500; font-size: 19px; }
[data-look="cafe"] .g-svc { border-radius: 999px; }
[data-look="cafe"] .g-status-mark { border-radius: 999px 999px 14px 14px; height: 76px; }  /* лакот од ѕидот */
[data-look="cafe"] .g-sheet-panel { border-radius: 28px 28px 0 0; }
[data-look="cafe"] .g-bar { border-radius: 999px; }

html { background: var(--ink); }
body {
  margin: 0;
  background: var(--ink);
  background-image: radial-gradient(130% 55% at 50% -12%, var(--glow), transparent 62%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.tnum { font-variant-numeric: tabular-nums; }
h1, h2, h3 { text-wrap: balance; }

/* ---------- Копчиња ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 20px; border-radius: 14px;
  border: 1px solid transparent; font-weight: 600; font-size: 15px; letter-spacing: 0.02em;
  transition: transform 0.12s ease, opacity 0.2s ease, background-color 0.2s ease;
}
.btn:active:not(:disabled) { transform: scale(0.98); }
.btn-brass { background: var(--cta); color: var(--cta-ink); }
.btn-brass:hover:not(:disabled) { background: var(--cta-hi); }
.btn-brass:disabled { opacity: 0.45; }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--text); }
.btn-danger { background: var(--hot); color: var(--hot-ink); }
.btn-block { width: 100%; }
.btn-small { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; white-space: nowrap; }

/* =========================================================
   ГОСТИН
   ========================================================= */
.g {
  position: relative;
  height: 100%;
  display: flex; flex-direction: column;
  overflow: hidden;
  color: var(--text);
  font-family: var(--f-body);
}
.g-scroll {
  flex: 1; min-height: 0;
  overflow-y: auto; overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 0 20px 112px;
}
.g-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 30px 0 20px; }
.g-brand { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.g-venue { font-family: var(--f-display); font-size: 36px; line-height: 1; letter-spacing: 0.01em; }
.g-table { font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); }
.g-lang {
  flex: none; height: 36px; min-width: 50px; padding: 0 12px;
  border-radius: 999px; border: 1px solid var(--line-strong); background: transparent;
  font-size: 13px; font-weight: 500; letter-spacing: 0.1em;
}
.g-svcrow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.g-svc {
  min-height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--panel); font-size: 14px; font-weight: 500; letter-spacing: 0.02em;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.g-svc.is-sent { border-color: var(--brass); color: var(--brass-hi); }
.g-lastpill {
  width: 100%; display: flex; align-items: center; gap: 8px; margin: 0 0 12px;
  padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--panel); color: var(--muted); font-size: 14px; text-align: left;
}
.g-lastpill strong { color: var(--text); font-weight: 500; }
.g-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brass); flex: none; }
.g-dot-served { background: var(--ok); }
.g-dot-new, .g-dot-accepted { animation: lo-pulse 1.6s ease-in-out infinite; }

.g-cats {
  position: sticky; top: 0; z-index: 5;
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  margin: 0 -20px; padding: 10px 20px 12px;
  background: linear-gradient(var(--ink) 78%, transparent);
}
.g-cats::-webkit-scrollbar { display: none; }
.g-cat {
  flex: none; height: 34px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--muted);
  font-size: 14px; white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.g-cat.is-on { background: var(--cta); border-color: var(--cta); color: var(--cta-ink); font-weight: 600; }

.g-sec { padding-top: 26px; scroll-margin-top: 60px; }
.g-sec-title {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 4px; font-family: var(--f-display); font-weight: 400;
  font-size: 23px; color: var(--brass-hi);
}
.g-sec-title::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.g-item { padding: 15px 0 14px; border-bottom: 1px solid var(--line); transition: opacity 0.2s ease; }
.g-line1 { display: flex; align-items: baseline; gap: 8px; }
.g-name { margin: 0; font-family: var(--f-display); font-size: 18px; font-weight: 400; line-height: 1.25; min-width: 0; transition: color 0.2s ease; }
.g-leader { flex: 1; min-width: 14px; border-bottom: 1px dotted var(--line-strong); transform: translateY(-5px); }
.g-price { font-size: 15px; font-weight: 500; white-space: nowrap; }
.g-line2 { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 5px; min-height: 36px; }
.g-desc { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; min-width: 0; }
.g-item.in-cart .g-name { color: var(--brass-hi); }
.g-item.is-out { opacity: 0.42; }
.g-soldout { flex: none; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.g-add {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--brass); background: transparent; color: var(--brass);
  display: grid; place-items: center; font-size: 21px; line-height: 1;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.g-add:hover { background: var(--brass); color: var(--brass-ink); }
.g-step {
  flex: none; display: inline-flex; align-items: center; height: 38px;
  border: 1px solid var(--brass); border-radius: 999px; background: var(--brass-wash);
}
.g-step button { width: 38px; height: 36px; border: 0; background: transparent; color: var(--brass-hi); font-size: 19px; line-height: 1; }
.g-step button:disabled { opacity: 0.35; }
.g-step span { min-width: 20px; text-align: center; font-weight: 600; }
.g-endnote { height: 24px; }

/* Сликички во редовите на менито (само кога менито има фотографии) */
.g-item.has-thumb { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 14px; align-items: start; }
.g-item-body { min-width: 0; }
.g-thumb-btn { display: block; padding: 0; border: 0; background: none; border-radius: 999px 999px 14px 14px; cursor: zoom-in; }
.g-thumb-btn:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.g-thumb {
  position: relative; width: 78px; height: 90px; overflow: hidden;
  border-radius: 999px 999px 14px 14px;
  background: var(--brass-wash); box-shadow: inset 0 0 0 1px var(--line);
}
.g-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.g-thumb-btn:hover .g-thumb img { transform: scale(1.04); }
.g-thumb.is-mono { display: grid; place-items: center; }
.g-thumb .g-mono-arch { inset: 8px 8px 0; border-color: var(--line-strong); opacity: 0.8; }
.g-thumb .g-mono-letter { font-size: 34px; color: var(--brass); transform: translateY(6px); }
.g-item.has-thumb .g-desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.g-item.is-out .g-thumb img { filter: grayscale(1); }

.g-photo {
  position: absolute; inset: 0; z-index: 40; display: grid; place-items: center; padding: 20px;
  background: rgba(20, 16, 10, 0.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 0.2s ease;
}
.g-photo.is-open { opacity: 1; }
.g-photo-card {
  position: relative; margin: 0; width: min(420px, 100%); overflow: hidden;
  border-radius: 26px; background: var(--panel); color: var(--text); box-shadow: var(--shadow);
  transform: translateY(10px) scale(0.98); transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.g-photo.is-open .g-photo-card { transform: none; }
.g-photo-card img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--brass-wash); }
.g-photo-card figcaption { padding: 16px 18px 18px; }
.g-photo-card .g-desc { margin-top: 6px; }
.g-photo-add {
  margin-top: 14px; width: 100%; height: 48px; border: 0; border-radius: 14px;
  background: var(--cta); color: var(--cta-ink); font-size: 15px; font-weight: 600;
}
.g-photo-x {
  position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0;
  background: rgba(20, 16, 10, 0.55); color: #fff; font-size: 22px; line-height: 1; display: grid; place-items: center;
}
@media (prefers-reduced-motion: reduce) { .g-photo, .g-photo-card, .g-thumb img { transition: none; } }

.g-bar {
  position: absolute; z-index: 10;
  left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  height: 58px; padding: 0 18px; border: 0; border-radius: 16px;
  display: flex; align-items: center; gap: 12px;
  background: var(--cta); color: var(--cta-ink); box-shadow: var(--shadow);
  font-size: 15px; font-weight: 600;
  animation: lo-rise 0.28s ease-out;
}
.g-bar-count { width: 30px; height: 30px; border-radius: 50%; background: var(--on-cta-wash); display: grid; place-items: center; font-size: 14px; }
.g-bar-label { flex: 1; text-align: left; }
.g-bar-total { font-variant-numeric: tabular-nums; }

.g-sheet { position: absolute; inset: 0; z-index: 20; }
.g-sheet-scrim { position: absolute; inset: 0; background: var(--scrim); opacity: 0; transition: opacity 0.22s ease; }
.g-sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 88%;
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--panel); border-top: 1px solid var(--line-strong);
  border-radius: 22px 22px 0 0;
  padding: 18px 20px calc(20px + env(safe-area-inset-bottom, 0px));
  transform: translateY(100%); transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.g-sheet.is-open .g-sheet-scrim { opacity: 1; }
.g-sheet.is-open .g-sheet-panel { transform: translateY(0); }
.g-sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.g-sheet-title { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: 26px; }
.g-x { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; font-size: 22px; line-height: 1; color: var(--muted); }
.g-lines { display: flex; flex-direction: column; }
.g-lineitem { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.g-li-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.g-li-name { font-family: var(--f-display); font-size: 17px; }
.g-li-price { color: var(--muted); font-size: 14px; }
.g-note {
  display: block; width: 100%; box-sizing: border-box; margin-top: 16px; padding: 12px 14px;
  border-radius: 12px; border: 1px solid var(--line); background: var(--ink);
  font-size: 16px; resize: none;
}
.g-note::placeholder { color: var(--faint); }
.g-sum { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 0 14px; color: var(--muted); font-size: 15px; }
.g-sum .tnum { font-family: var(--f-display); font-size: 26px; color: var(--text); }
.g-paynote { margin: 12px 0 0; text-align: center; color: var(--faint); font-size: 13px; }
.g-muted { color: var(--muted); }

.g-status {
  position: absolute; inset: 0; z-index: 15; overflow-y: auto;
  background: var(--ink);
  background-image: radial-gradient(120% 50% at 50% 0%, var(--glow), transparent 65%);
  padding: 44px 24px calc(28px + env(safe-area-inset-bottom, 0px));
  animation: lo-fade 0.25s ease-out;
}
.g-status-mark {
  width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid var(--brass); color: var(--brass);
  display: grid; place-items: center; font-size: 20px; margin-bottom: 24px;
}
.g-eyebrow { margin: 0; font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); }
.g-status-title { margin: 8px 0 8px; font-family: var(--f-display); font-weight: 400; font-size: 32px; line-height: 1.15; }
.g-status .g-muted { margin: 0; font-size: 15px; }
.g-station { margin-top: 22px; }
.g-station-name { margin: 0; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.g-track { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.g-station .g-track { margin-top: 10px; }
.g-track li { display: flex; flex-direction: column; gap: 8px; font-size: 12px; line-height: 1.25; color: var(--faint); }
.g-track-dot { height: 4px; border-radius: 2px; background: var(--line-strong); }
.g-track li.done { color: var(--muted); }
.g-track li.done .g-track-dot { background: var(--accent-soft); }
.g-track li.now { color: var(--text); font-weight: 500; }
.g-track li.now .g-track-dot { background: var(--brass); animation: lo-pulse 1.6s ease-in-out infinite; }
.g-track.is-cancelled li { color: var(--faint); }
.g-recap { list-style: none; margin: 26px 0 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.g-recap li { display: flex; gap: 10px; font-size: 15px; }
.g-recap .tnum { color: var(--brass); min-width: 28px; font-weight: 600; }
.g-status-actions { display: grid; gap: 10px; margin-top: 26px; }

.g-toast {
  position: absolute; z-index: 30; left: 16px; right: 16px;
  bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  padding: 14px 16px; border-radius: 14px;
  background: var(--panel-2); border: 1px solid var(--line-strong); box-shadow: var(--shadow);
  font-size: 14px; animation: lo-rise 0.22s ease-out;
}
.g-empty { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px; gap: 6px; }
.g-empty h1 { margin: 12px 0 4px; font-family: var(--f-display); font-weight: 400; font-size: 26px; max-width: 20ch; }
.g-empty p { margin: 0; color: var(--muted); max-width: 32ch; }
.g-empty-mark { font-size: 28px; color: var(--brass); }

/* =========================================================
   v2 — ГОСТИН: промо банер (билборд), понуда, статус
   ========================================================= */
.g-closed {
  margin: 0 0 14px; padding: 12px 14px; border-radius: 12px;
  background: var(--panel-2); border: 1px solid var(--line-strong); font-size: 14px; line-height: 1.4;
}
.g-promo { margin: 2px 0 16px; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.g-promo-stage {
  position: relative; height: 218px; border-radius: 22px; overflow: hidden; isolation: isolate;
  background: var(--promo-b); box-shadow: var(--shadow);
}
.g-slide {
  position: absolute; inset: 0; display: flex; opacity: 0; visibility: hidden;
  transform: scale(1.035); transition: opacity 0.9s ease, transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s linear 0.9s;
}
.g-slide.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity 0.9s ease, transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s; }
.g-slide-bg { position: absolute; inset: 0; background: linear-gradient(140deg, var(--promo-a) 0%, var(--promo-b) 78%); overflow: hidden; }
.g-slide-bg.has-img { background: linear-gradient(180deg, rgba(0,0,0,0.05) 20%, rgba(0,0,0,0.72) 100%), var(--img) center / cover no-repeat, var(--promo-b); }
.g-slide-bg.has-img .g-orb, .g-slide-bg.has-img .g-arch { display: none; }
.g-orb { position: absolute; border-radius: 50%; filter: blur(34px); background: var(--promo-glow); opacity: 0.55; }
.g-orb-a { width: 190px; height: 190px; right: -40px; top: -60px; animation: lo-drift-a 16s ease-in-out infinite alternate; }
.g-orb-b { width: 130px; height: 130px; left: 30%; bottom: -80px; opacity: 0.3; animation: lo-drift-b 19s ease-in-out infinite alternate; }
.g-arch {
  position: absolute; right: 22px; bottom: -2px; width: 118px; height: 168px;
  border: 1px solid var(--promo-muted); border-bottom: 0; border-radius: 999px 999px 0 0; opacity: 0.28;
}
.g-arch::after {
  content: ''; position: absolute; inset: 14px 14px 0; border: 1px solid var(--promo-muted); border-bottom: 0;
  border-radius: 999px 999px 0 0; opacity: 0.6;
}
.g-slide-body {
  position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end;
  gap: 6px; width: 100%; padding: 20px 20px 18px; color: var(--promo-ink); box-sizing: border-box;
}
.g-slide-tag {
  align-self: flex-start; margin: 0 0 auto; padding: 5px 10px; border-radius: 999px;
  border: 1px solid var(--promo-muted); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}
.g-slide-name {
  margin: 0; max-width: 78%; font-family: var(--f-display); font-weight: 500; font-size: 31px; line-height: 1.04;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.g-slide.is-on .g-slide-name { animation: lo-rise-soft 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both 0.15s; }
.g-slide-desc {
  margin: 0; max-width: 80%; color: var(--promo-muted); font-size: 13.5px; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.g-slide-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.g-slide-price { font-family: var(--f-display); font-size: 22px; }
.g-slide-add {
  min-height: 42px; padding: 0 18px; border: 0; border-radius: 999px;
  background: var(--promo-cta); color: var(--promo-cta-ink); font-size: 14px; font-weight: 700; letter-spacing: 0.02em;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25); transition: transform 0.12s ease, background-color 0.2s ease;
}
.g-slide-add:active { transform: scale(0.97); }
.g-slide-add.is-added { background: var(--promo-ink); color: var(--promo-b); }
.g-dots { display: flex; gap: 6px; margin-top: 10px; padding: 0 2px; }
.g-dot-seg { flex: 1; height: 16px; padding: 6px 0; border: 0; background: transparent; }
.g-dot-seg .g-dot-fill { display: block; height: 3px; border-radius: 2px; background: var(--line-strong); position: relative; overflow: hidden; }
.g-dot-seg .g-dot-fill::after { content: ''; position: absolute; inset: 0; width: 0; background: var(--brass); }
.g-dot-seg.is-on .g-dot-fill::after { animation: lo-fill var(--promo-dur, 6000ms) linear forwards; }
.g-promo.is-paused .g-dot-seg.is-on .g-dot-fill::after { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .g-dot-seg.is-on .g-dot-fill::after { width: 100%; } }

.g-notice {
  margin: 8px 0 2px; padding: 10px 12px; border-radius: 12px;
  background: var(--panel-2); color: var(--text); font-size: 13.5px; line-height: 1.4;
}
.g-offer {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px 16px; align-items: center;
  margin-top: 18px; padding: 16px; border-radius: 22px;
  background: linear-gradient(140deg, var(--promo-a) 0%, var(--promo-b) 85%);
  color: var(--promo-ink); box-shadow: var(--shadow);
  animation: lo-offer-in 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.g-offer-glow {
  position: absolute; z-index: -1; right: -50px; top: -70px; width: 200px; height: 200px; border-radius: 50%;
  background: var(--promo-glow); filter: blur(40px); opacity: 0.55;
  animation: lo-drift-a 14s ease-in-out infinite alternate;
}
.g-offer-media {
  position: relative; width: 96px; height: 112px; border-radius: 999px 999px 18px 18px; overflow: hidden;
  background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px var(--promo-muted);
}
.g-offer-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.g-offer-media.is-mono { display: grid; place-items: center; }
.g-mono-arch {
  position: absolute; inset: 10px 10px 0; border: 1px solid var(--promo-muted); border-bottom: 0;
  border-radius: 999px 999px 0 0; opacity: 0.45;
}
.g-mono-letter { position: relative; font-family: var(--f-display); font-size: 46px; line-height: 1; color: var(--promo-cta); transform: translateY(8px); }
.g-offer-main { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.g-offer-eyebrow { margin: 0 0 2px; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--promo-cta); }
.g-offer-name { margin: 0; font-family: var(--f-display); font-weight: 500; font-size: 24px; line-height: 1.08; }
.g-offer-pair { margin: 2px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; font-size: 13.5px; color: var(--promo-muted); }
.g-offer-plus {
  display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%;
  background: var(--promo-cta); color: var(--promo-cta-ink); font-size: 13px; font-weight: 700; line-height: 1;
}
.g-offer-desc { margin: 2px 0 0; color: var(--promo-muted); font-size: 12.5px; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.g-offer-cta {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 50px; padding: 0 20px; border: 0; border-radius: 999px;
  background: var(--promo-cta); color: var(--promo-cta-ink); font-size: 15px; font-weight: 700; letter-spacing: 0.02em;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22); transition: transform 0.12s ease, filter 0.2s ease;
}
.g-offer-cta:hover { filter: brightness(1.05); }
.g-offer-cta:active { transform: scale(0.98); }
.g-offer-cta-price { font-weight: 600; opacity: 0.85; }
@keyframes lo-offer-in { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }

.g-status-mark.is-received { border-color: var(--ok); color: var(--ok); }
.g-status-mark.is-cancelled { border-color: var(--hot); color: var(--hot); }
.g-steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.g-steps li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--faint); }
.g-steps li.done, .g-steps li.now { color: var(--text); }
.g-step-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line-strong); box-sizing: border-box; flex: none; }
.g-steps li.done .g-step-dot { background: var(--brass); border-color: var(--brass); }
.g-steps li.now .g-step-dot { border-color: var(--brass); animation: lo-pulse 1.6s ease-in-out infinite; }
.g-steps li.off .g-step-dot { background: var(--hot); border-color: var(--hot); }
.g-dot-sent { animation: lo-pulse 1.6s ease-in-out infinite; }
.g-dot-received { background: var(--ok); }
.g-dot-cancelled { background: var(--hot); }

/* ---------- Анимации ---------- */
@keyframes lo-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@keyframes lo-rise { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes lo-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lo-fill { from { width: 0; } to { width: 100%; } }
@keyframes lo-rise-soft { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes lo-drift-a { from { transform: translate(0, 0) scale(1); } to { transform: translate(-60px, 40px) scale(1.15); } }
@keyframes lo-drift-b { from { transform: translate(0, 0); } to { transform: translate(70px, -30px); } }
@keyframes lo-glow { 0% { box-shadow: 0 0 0 0 var(--accent-line); } 100% { box-shadow: 0 0 0 14px transparent; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =========================================================
   PICKUP DEMO — additions on top of the guest screen
   ========================================================= */
/* "Demo by KellnerAI" pill (top right, where the language switch sat) */
.g-kai {
  flex: none; display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 11px 0 9px;
  border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted);
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; text-decoration: none; white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.g-kai:hover { color: var(--text); border-color: var(--brass); }
.g-kai-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cta); }
.g-foot { margin: 26px 0 0; text-align: center; font-size: 12.5px; letter-spacing: 0.04em; }
.g-foot a { color: var(--faint); text-decoration: none; border-bottom: 1px dotted var(--line-strong); }
.g-foot a:hover { color: var(--text); }

/* Pickup facts under the venue name */
.g-info { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 16px; padding: 0; }
.g-info li {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px;
  border-radius: 999px; background: var(--panel); border: 1px solid var(--line);
  font-size: 13px; font-weight: 500; color: var(--muted);
}
.g-info-ico { color: var(--brass); font-size: 13px; line-height: 1; }

/* Pickup details in the cart */
.g-pickup { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.g-pickup-title { margin: 0; font-family: var(--f-display); font-weight: 500; font-size: 21px; }
.g-field { display: grid; gap: 6px; min-width: 0; }
.g-label { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.g-input {
  display: block; width: 100%; box-sizing: border-box; height: 50px; padding: 0 14px;
  border-radius: 12px; border: 1px solid var(--line-strong); background: var(--ink);
  font-size: 16px; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.g-input::placeholder { color: var(--faint); opacity: 0.75; }
.g-input:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px var(--brass-wash); }
.g-input[aria-invalid="true"] { border-color: var(--hot); }
.g-input.is-shake { animation: lo-shake 0.32s ease; }
.g-ferr { margin: 0; color: var(--hot); font-size: 13px; }
.g-times { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 2px 20px 4px; }
.g-times::-webkit-scrollbar { display: none; }
.g-time {
  flex: none; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px;
  min-height: 46px; padding: 0 16px; border-radius: 14px;
  border: 1px solid var(--line-strong); background: transparent; color: var(--text);
  font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.12s ease;
}
.g-time:active { transform: scale(0.97); }
.g-time-sub { font-size: 12px; font-weight: 500; color: var(--muted); }
.g-time.is-on { background: var(--cta); border-color: var(--cta); color: var(--cta-ink); }
.g-time.is-on .g-time-sub { color: var(--cta-ink); opacity: 0.75; }
.g-pickup + .g-sum { margin-top: 22px; }

/* Confirmation */
.g-status-title:focus { outline: none; }
.g-steps li { transition: color 0.3s ease; }
.g-recap-name { flex: 1; min-width: 0; }
.g-recap-price { color: var(--muted); white-space: nowrap; }
.g-recap .g-recap-price { min-width: 0; color: var(--muted); font-weight: 500; }
.g-recap-total { margin-top: 6px; padding-top: 10px; border-top: 1px dotted var(--line-strong); justify-content: space-between; font-weight: 600; }
.g-recap .g-recap-total .tnum { color: var(--text); font-family: var(--f-display); font-size: 22px; font-weight: 500; }
.g-who { margin: 18px 0 0; display: grid; gap: 8px; }
.g-who > div { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.g-who dt { color: var(--muted); }
.g-who dd { margin: 0; text-align: right; font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
.g-paybox {
  display: flex; align-items: center; gap: 10px; margin: 20px 0 0; padding: 13px 16px; border-radius: 14px;
  background: var(--brass-wash); border: 1px solid var(--accent-line); font-size: 14.5px; font-weight: 600;
}
.g-paybox-ico { color: var(--brass); }
.g-how { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.g-how-title { margin: 0 0 4px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); }
.g-how-body { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.g-status-body { max-width: 520px; margin: 0 auto; animation: lo-rise 0.35s ease-out; }
.g-status-mark.is-received { animation: lo-pop 0.45s cubic-bezier(0.2, 0.8, 0.2, 1.4); }
.g-steps li.done .g-step-dot { animation: lo-pop 0.35s ease-out; }
@keyframes lo-pop { from { transform: scale(0.82); opacity: 0.4; } to { transform: none; opacity: 1; } }
@keyframes lo-shake { 0%, 100% { transform: none; } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

/* Desktop: the menu stays a phone-width column, centred on the wall */
@media (min-width: 640px) {
  html, body { background-color: var(--panel-2); }
  #app {
    max-width: 460px; margin: 0 auto; background: var(--ink);
    background-image: radial-gradient(130% 55% at 50% -12%, var(--glow), transparent 62%);
    box-shadow: 0 0 0 1px var(--line), 0 30px 80px rgba(90, 58, 30, 0.18);
  }
}
