/* Три дыма — стили */
:root {
  --bg: #0f0e0e;
  --bg-2: #161413;
  --surface: #1c1917;
  --surface-2: #25201d;
  --line: rgba(240, 190, 130, .12);
  --line-2: rgba(240, 190, 130, .22);
  --text: #f4ede4;
  --muted: #a99d91;
  --dim: #6f665e;
  --amber: #f0a33c;
  --amber-2: #ffbf66;
  --ember: #e2622a;
  --wine: #8e1f27;
  --wine-2: #b12c33;
  --ok: #7cc48a;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px rgba(0, 0, 0, .45);
  --glow: 0 0 0 1px rgba(240, 163, 60, .35), 0 18px 50px rgba(226, 98, 42, .18);
  --f-head: 'Playfair Display', Georgia, serif;
  --f-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
@media (min-width: 768px) { .container { width: min(1240px, 100% - 64px); } }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--f-head); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
h3 { font-size: 1.35rem; line-height: 1.2; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 .78rem/1 var(--f-body); letter-spacing: .22em; text-transform: uppercase; color: var(--amber);
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 56ch; }
.accent { color: var(--amber); font-style: italic; }
.placeholder { color: var(--amber-2); background: rgba(240, 163, 60, .1); border: 1px dashed rgba(240, 163, 60, .45); border-radius: 6px; padding: 0 6px; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--amber);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 28px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; letter-spacing: .01em; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn-primary { background: linear-gradient(135deg, var(--amber-2), var(--amber) 45%, var(--ember)); color: #1a0f07; box-shadow: 0 10px 30px rgba(226, 98, 42, .35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(226, 98, 42, .5); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--text); background: rgba(255, 255, 255, .03); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber-2); }
.btn-wine { background: var(--wine); color: #fff; }
.btn-wine:hover { background: var(--wine-2); }
.btn-sm { height: 44px; padding: 0 18px; font-size: .95rem; }
.btn-block { width: 100%; }
.btn:active { transform: translateY(1px) scale(.98); box-shadow: none; }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--surface-2); color: var(--dim); border-color: var(--line); box-shadow: none; transform: none; cursor: not-allowed; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.header.is-solid, .header.always-solid { background: rgba(15, 14, 14, .82); backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); }
.header .container { display: flex; align-items: center; gap: 24px; height: 100%; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--f-head); font-weight: 800; font-size: 1.35rem; letter-spacing: -.01em; }
.logo-img { display: block; height: 52px; width: auto; }
.logo-mark {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffcf85, var(--amber) 40%, var(--ember) 75%, var(--wine));
  color: #1a0f07; font-family: var(--f-body); font-weight: 800; font-size: .95rem;
  box-shadow: 0 0 24px rgba(240, 163, 60, .35);
}
.nav { display: none; gap: 28px; margin-left: auto; }
.nav a { color: var(--muted); font-weight: 600; font-size: .95rem; transition: color .2s; position: relative; }
.nav a:hover, .nav a.active { color: var(--text); }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--amber); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header-phone { display: none; font-weight: 700; font-size: .95rem; }
.minicart {
  display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px 0 12px;
  border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03);
  transition: border-color .2s, background .2s;
}
.minicart:hover { border-color: var(--amber); }
.minicart:active { background: var(--surface-2); }
.minicart svg { width: 22px; height: 22px; color: var(--amber); }
.minicart-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--wine-2);
  display: grid; place-items: center; font-size: .75rem; font-weight: 800;
}
.minicart-sum { font-weight: 700; font-variant-numeric: tabular-nums; }
.minicart.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.08); border-color: var(--amber); } }
.burger { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: var(--text); position: relative; border-radius: 2px; transition: transform .25s; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0; z-index: 49; background: rgba(12, 11, 11, .97); backdrop-filter: blur(10px);
  display: flex; flex-direction: column; padding: 32px 24px; gap: 6px;
  opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease);
}
.menu-open .mobile-nav { opacity: 1; pointer-events: auto; transform: none; }
.mobile-nav a { font-family: var(--f-head); font-size: 2rem; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mobile-nav .mn-foot { margin-top: auto; color: var(--muted); font-size: .95rem; }
@media (min-width: 1024px) {
  .nav { display: flex; }
  .burger { display: none; }
  .header-actions { margin-left: 32px; }
  .header-phone { display: block; }
}
.nav a, .header-phone { white-space: nowrap; }
/* Узкий ноутбук и планшет в альбомной ориентации: меню, телефон и три кнопки не помещаются в строку */
@media (min-width: 1024px) and (max-width: 1279px) {
  .header .container { gap: 16px; }
  .nav { gap: 20px; }
  .header-actions { margin-left: 16px; }
  .header-phone { display: none; }
}
@media (max-width: 479px) { .minicart-sum { display: none; } .minicart { padding: 0 12px; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: -8% 0 0; z-index: -3; will-change: transform; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; filter: saturate(1.08) contrast(1.05); animation: heroZoom 18s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 60% 50% at 70% 60%, rgba(226, 98, 42, .18), transparent 70%),
    linear-gradient(180deg, rgba(15, 14, 14, .55) 0%, rgba(15, 14, 14, .15) 30%, rgba(15, 14, 14, .55) 65%, var(--bg) 100%),
    linear-gradient(90deg, rgba(15, 14, 14, .85) 0%, rgba(15, 14, 14, .35) 55%, transparent 100%);
}
.hero-fx { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero-content { padding: calc(var(--header-h) + 60px) 0 clamp(64px, 10vh, 120px); }
.hero h1 { font-size: clamp(3rem, 9vw, 7.6rem); line-height: .95; max-width: 11ch; margin: 20px 0 24px; }
.hero h1 .dash { color: var(--amber); font-style: italic; font-weight: 600; display: block; font-size: .55em; margin-top: .2em; letter-spacing: 0; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #d9cfc4; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 48px; color: var(--muted); font-size: .92rem; }
.hero-facts b { display: block; color: var(--text); font-family: var(--f-head); font-size: 1.6rem; line-height: 1.1; }
.scroll-hint { position: absolute; left: 50%; bottom: 20px; width: 24px; height: 38px; border: 1px solid var(--line-2); border-radius: 12px; transform: translateX(-50%); display: none; }
.scroll-hint::after { content: ''; position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; border-radius: 2px; background: var(--amber); transform: translateX(-50%); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 12px); } }
@media (min-width: 768px) { .scroll-hint { display: block; } }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-head h2 { margin-top: 14px; }

/* ---------- Menu ---------- */
.cats {
  position: sticky; top: var(--header-h); z-index: 20; margin: 0 0 32px;
  background: linear-gradient(var(--bg) 70%, transparent); padding: 12px 0 18px;
}
.cats-scroll { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.cats-scroll::-webkit-scrollbar { display: none; }
.cat {
  flex: none; height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-2);
  color: var(--muted); font-weight: 600; transition: all .2s;
}
.cat:hover { color: var(--text); border-color: var(--amber); }
.cat.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.menu-group { margin-bottom: 64px; }
.menu-group > h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 24px; display: flex; align-items: baseline; gap: 14px; }
.menu-group > h3 small { font-family: var(--f-body); font-size: .9rem; color: var(--dim); font-weight: 600; }
.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.card {
  position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius);
  border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--glow); border-color: rgba(240, 163, 60, .4); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); cursor: pointer; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .5s; }
.card:hover .card-media img { transform: scale(1.06); filter: saturate(1.15) brightness(1.05); }
.card-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(28, 25, 23, .85)); pointer-events: none; }
.badge {
  position: absolute; top: 14px; left: 14px; z-index: 2; padding: 6px 12px; border-radius: 999px;
  background: rgba(15, 14, 14, .75); backdrop-filter: blur(8px); border: 1px solid var(--line-2);
  font-size: .75rem; font-weight: 700; letter-spacing: .04em; color: var(--amber-2);
}
.badge.spicy { left: auto; right: 14px; color: #ff8a6b; }
.card-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.card-title { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.card-title h3 { margin: 0; font: 700 1.15rem/1.25 var(--f-body); letter-spacing: 0; cursor: pointer; }
.card-title .w { color: var(--dim); font-size: .85rem; white-space: nowrap; font-weight: 600; }
.card p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.5; }
.card-opts { align-self: flex-start; color: var(--amber); font-size: .88rem; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.card-opts:hover { color: var(--amber-2); }
.card-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 10px; margin-top: auto; padding-top: 12px; }
.price { font: 700 1.35rem/1 var(--f-body); font-variant-numeric: tabular-nums; white-space: nowrap; }
.card-foot .price { flex-basis: 100%; }
.qty {
  display: inline-flex; align-items: center; height: 44px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02);
}
.qty button { width: 38px; height: 100%; display: grid; place-items: center; color: var(--muted); font-size: 1.2rem; transition: color .2s; }
.qty button:hover { color: var(--amber); }
.qty output { min-width: 22px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.add-btn { flex: 1; justify-content: center; white-space: nowrap; height: 44px; padding: 0 18px; border-radius: 999px; font-weight: 700; background: var(--amber); color: #1a0f07; transition: background .2s, transform .15s; display: inline-flex; align-items: center; gap: 8px; }
.add-btn:hover { background: var(--amber-2); }
.add-btn:active { transform: scale(.96); }
.add-btn svg { width: 18px; height: 18px; }


/* ---------- Delivery ---------- */
.delivery { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.tiles { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.tile { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.tile .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(240, 163, 60, .1); color: var(--amber); margin-bottom: 18px; }
.tile .ic svg { width: 22px; height: 22px; }
.tile .big { font-family: var(--f-head); font-size: 2rem; line-height: 1.1; }
.tile p { color: var(--muted); margin: 8px 0 0; font-size: .95rem; }
.zones { margin-top: 20px; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .zones { grid-template-columns: 1.3fr 1fr; } }
.zone-table { width: 100%; border-collapse: collapse; }
.zone-table th, .zone-table td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.zone-table th { color: var(--dim); font-weight: 600; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.zone-table td:not(:first-child), .zone-table th:not(:first-child) { text-align: right; }
.zone-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 10px; }
.pay-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.pay-list li { display: flex; gap: 12px; align-items: center; color: var(--muted); }
.pay-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); flex: none; }
.addr-card { display: flex; gap: 18px; align-items: flex-start; }
.addr-card .ic { flex: none; margin: 0; }

/* ---------- About ---------- */
.about { overflow: hidden; }
.about-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1.05fr 1fr; gap: 80px; } }
.about-media { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; }
.about-media img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.about-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(15, 14, 14, .7)); }
.about-media .stamp {
  position: absolute; right: 20px; bottom: 20px; z-index: 2; width: 120px; height: 120px; border-radius: 50%;
  display: grid; place-items: center; text-align: center; background: rgba(15, 14, 14, .7); backdrop-filter: blur(8px);
  border: 1px solid var(--line-2); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); line-height: 1.3;
}
.about-media .stamp b { display: block; font-family: var(--f-head); font-size: 2.2rem; color: var(--amber); letter-spacing: 0; text-transform: none; }
.about p { color: var(--muted); font-size: 1.05rem; }
.pillars { display: grid; gap: 18px; margin-top: 36px; }
.pillar { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.pillar .n { font-family: var(--f-head); font-size: 2rem; color: var(--amber); line-height: 1; }
.pillar h3 { font-family: var(--f-body); font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.pillar p { margin: 0; font-size: .95rem; }

/* ---------- Contacts ---------- */
.contacts { background: var(--bg-2); }
.contact-grid { display: grid; gap: 20px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.3fr; } }
.contact-list { display: grid; gap: 14px; }
.contact-item { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s; }
a.contact-item:hover { border-color: var(--amber); }
a.contact-item:active { background: var(--surface-2); }
.contact-item .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(240, 163, 60, .1); color: var(--amber); flex: none; }
.contact-item .ic svg { width: 22px; height: 22px; }
.contact-item small { display: block; color: var(--dim); font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.contact-item span { font-weight: 700; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 4px 0; } .hours td:last-child { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.map {
  position: relative; min-height: 380px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background:
    radial-gradient(circle at 55% 48%, rgba(240, 163, 60, .25), transparent 12%),
    repeating-linear-gradient(35deg, transparent 0 46px, rgba(255, 255, 255, .035) 46px 48px),
    repeating-linear-gradient(-55deg, transparent 0 70px, rgba(255, 255, 255, .03) 70px 73px),
    var(--surface);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.3) invert(.9) hue-rotate(180deg) contrast(.9); }
.map-pin { position: absolute; left: 55%; top: 48%; transform: translate(-50%, -100%); color: var(--amber); }
.map-pin svg { width: 44px; height: 44px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .5)); }
.map-note { position: absolute; left: 20px; right: 20px; bottom: 20px; padding: 16px 18px; border-radius: var(--radius-sm); background: rgba(15, 14, 14, .85); backdrop-filter: blur(8px); border: 1px solid var(--line); display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { padding: 48px 0 110px; border-top: 1px solid var(--line); color: var(--dim); font-size: .9rem; }
.footer .container { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center; }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer a:hover { color: var(--text); }
@media (min-width: 1024px) { .footer { padding-bottom: 48px; } }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 60px; padding: 0 10px 0 22px; border-radius: 999px;
  background: linear-gradient(135deg, var(--amber-2), var(--amber) 45%, var(--ember)); color: #1a0f07;
  font-weight: 800; box-shadow: 0 14px 40px rgba(0, 0, 0, .55), 0 6px 24px rgba(226, 98, 42, .4);
  transform: translateY(140%); transition: transform .35s var(--ease);
}
.sticky-cta.show { transform: none; }
.sticky-cta.show:active { transform: scale(.98); }
.sticky-cta .pill { background: rgba(26, 15, 7, .9); color: var(--amber-2); height: 42px; padding: 0 16px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
@media (min-width: 1024px) { .sticky-cta { display: none; } }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; z-index: 90; left: 50%; top: calc(var(--header-h) + 12px); transform: translateX(-50%); display: grid; gap: 8px; width: min(420px, calc(100% - 24px)); pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; pointer-events: auto;
  background: rgba(30, 26, 24, .96); border: 1px solid var(--line-2); box-shadow: var(--shadow); backdrop-filter: blur(10px);
  animation: toastIn .3s var(--ease) both;
}
.toast.out { animation: toastOut .25s ease both; }
.toast img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.toast .t1 { font-weight: 700; font-size: .95rem; }
.toast .t2 { color: var(--muted); font-size: .82rem; }
.toast a { margin-left: auto; color: var(--amber); font-weight: 700; font-size: .9rem; white-space: nowrap; }
.toast .check { width: 26px; height: 26px; border-radius: 50%; background: var(--ok); color: #0f0e0e; display: grid; place-items: center; flex: none; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px) scale(.98); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-8px); } }

/* ---------- Modal (опции блюда) ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: end center; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .7); backdrop-filter: blur(4px); animation: fade .25s both; }
.modal-panel {
  position: relative; width: 100%; max-height: 92svh; overflow: auto; overscroll-behavior: contain;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 24px 24px 0 0;
  animation: sheetUp .35s var(--ease) both;
}
@media (min-width: 760px) {
  .modal { place-items: center; }
  .modal-panel { width: min(880px, calc(100% - 48px)); border-radius: 24px; display: grid; grid-template-columns: 1fr 1.1fr; max-height: 88vh; overflow: hidden; animation-name: pop; }
  .modal-media { height: 100%; }
  .modal-body { overflow: auto; max-height: 88vh; }
}
@keyframes fade { from { opacity: 0; } }
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } }
@keyframes pop { from { transform: scale(.97); opacity: 0; } }
.modal-media { position: relative; aspect-ratio: 4 / 3; background: var(--surface); }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 760px) { .modal-media { aspect-ratio: auto; } }
.m-facts:empty { display: none; }
.m-facts { margin-top: 14px; font-size: 14px; line-height: 1.5; }
.m-ingr span { color: var(--muted); }
.m-allergens { margin-top: 8px; color: var(--muted); }
.m-nutr { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; }
.m-nutr span { padding: 8px 4px; border: 1px solid var(--line-2); border-radius: 12px; text-align: center; font-size: 12px; color: var(--muted); }
.m-nutr b { display: block; font-size: 16px; color: var(--text); }
.m-nutr-note { margin-top: 6px; font-size: 12px; color: var(--muted); }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; background: rgba(15, 14, 14, .75); backdrop-filter: blur(6px); display: grid; place-items: center; border: 1px solid var(--line-2); }
.modal-close svg { width: 18px; height: 18px; }
.modal-body { padding: 24px 22px 0; display: flex; flex-direction: column; }
.modal-body h3 { font-size: 1.8rem; }
.modal-body .meta { color: var(--dim); font-weight: 600; margin: 6px 0 10px; font-size: .9rem; }
.modal-body > p { color: var(--muted); margin: 0 0 8px; }
.opt-group { border: 0; padding: 0; margin: 18px 0 0; }
.opt-group legend { font-weight: 700; margin-bottom: 10px; display: flex; gap: 8px; align-items: center; padding: 0; }
.opt-group legend .req { font-size: .72rem; color: var(--amber); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chip span {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px; border-radius: 12px;
  border: 1px solid var(--line-2); color: var(--muted); font-size: .9rem; font-weight: 600; transition: all .15s;
}
.chip span em { font-style: normal; color: var(--dim); font-weight: 600; }
.chip input:checked + span { border-color: var(--amber); color: var(--text); background: rgba(240, 163, 60, .1); }
.chip input:checked + span em { color: var(--amber); }
.chip input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }
.field { display: grid; gap: 6px; }
.field label, .field .lbl { font-size: .82rem; font-weight: 600; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; height: 50px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--surface); color: var(--text); transition: border-color .2s, box-shadow .2s; outline: 0;
}
.textarea { height: auto; min-height: 84px; padding: 12px 16px; resize: vertical; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(240, 163, 60, .15); }
.input.invalid { border-color: #e2574c; box-shadow: 0 0 0 3px rgba(226, 87, 76, .15); }
.input::placeholder, .textarea::placeholder { color: var(--dim); }
.modal-foot {
  position: sticky; bottom: 0; margin: 20px -22px 0; padding: 16px 22px calc(16px + env(safe-area-inset-bottom));
  background: linear-gradient(transparent, var(--bg-2) 20%); display: flex; gap: 12px; align-items: center;
}
.modal-foot .btn { flex: 1; }
body.no-scroll { overflow: hidden; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }

/* ============ Корзина / оформление ============ */
.page-top { padding: calc(var(--header-h) + 40px) 0 24px; }
.page-top h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); margin-top: 12px; }
.steps { display: flex; gap: 8px; margin-top: 20px; color: var(--dim); font-size: .88rem; font-weight: 600; flex-wrap: wrap; }
.steps span { display: inline-flex; align-items: center; gap: 8px; }
.steps span + span::before { content: ''; width: 24px; height: 1px; background: var(--line-2); }
.steps .on { color: var(--amber); }
.checkout { display: grid; gap: 28px; padding-bottom: 80px; }
@media (min-width: 1024px) { .checkout { grid-template-columns: 1fr 400px; align-items: start; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
@media (min-width: 768px) { .panel { padding: 28px; } }
.panel + .panel { margin-top: 20px; }
.panel h2 { font-size: 1.6rem; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.panel h2 .num { width: 30px; height: 30px; border-radius: 50%; background: rgba(240, 163, 60, .12); color: var(--amber); font: 700 .9rem/30px var(--f-body); text-align: center; flex: none; }
.line { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line:first-child { padding-top: 0; }
.line img { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; }
.line-top { display: flex; justify-content: space-between; gap: 10px; }
.line h3 { font: 700 1rem/1.3 var(--f-body); }
.line .opts { color: var(--muted); font-size: .85rem; margin: 4px 0 10px; line-height: 1.45; }
.line .opts i { color: var(--dim); font-style: normal; }
.line-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.line .price { font-size: 1.1rem; margin: 0; }
.line .unit { color: var(--dim); font-size: .8rem; font-weight: 600; display: block; margin-top: 4px; }
.rm { color: var(--dim); width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; transition: color .2s, background .2s; flex: none; }
.rm:hover { color: #ff8a6b; background: rgba(255, 138, 107, .08); }
.rm svg { width: 18px; height: 18px; }
.empty { text-align: center; padding: 48px 12px; }
.empty .big { font-family: var(--f-head); font-size: 2rem; margin-bottom: 8px; }
.empty p { color: var(--muted); margin: 0 0 24px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 58px; border-radius: 12px; font-weight: 700; color: var(--muted); cursor: pointer; transition: all .2s; text-align: center; padding: 6px; }
.seg span small { font-weight: 600; font-size: .78rem; color: var(--dim); }
.seg input:checked + span { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--amber); }
.seg input:checked + span small { color: var(--amber); }
.seg input:focus-visible + span { outline: 2px solid var(--amber); }
.form-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); margin-top: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(4, 1fr); } .form-grid .half { grid-column: span 2; } }
.pay-opts { display: grid; gap: 10px; }
.pay-opt { position: relative; }
.pay-opt input { position: absolute; opacity: 0; }
.pay-opt > span {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2);
  cursor: pointer; transition: all .2s; font-weight: 700;
}
.pay-opt > span small { display: block; font-weight: 500; color: var(--dim); font-size: .82rem; }
.pay-opt .pi { width: 40px; height: 40px; border-radius: 10px; background: var(--bg-2); display: grid; place-items: center; color: var(--amber); flex: none; }
.pay-opt .pi svg { width: 22px; height: 22px; }
.pay-opt .radio { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; transition: all .2s; }
.pay-opt input:checked + span { border-color: var(--amber); background: rgba(240, 163, 60, .06); }
.pay-opt input:checked + span .radio { border: 6px solid var(--amber); }
.pay-opt input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }
.pay-opt[hidden] { display: none; }
.pay-info { margin-top: 14px; padding: 16px 18px; border-radius: 14px; background: rgba(240, 163, 60, .06); border: 1px solid rgba(240, 163, 60, .25); color: #e2d6c9; font-size: .93rem; display: flex; gap: 16px; align-items: flex-start; }
.pay-info ol { margin: 0; padding-left: 18px; } .pay-info li + li { margin-top: 4px; }
.pay-info .qr { width: 132px; height: 132px; border-radius: 12px; background: #fff; padding: 8px; flex: none; }
.pay-info .field { margin-top: 12px; }
@media (max-width: 520px) { .pay-info { flex-direction: column; } }
.summary { position: sticky; top: calc(var(--header-h) + 20px); }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; color: var(--muted); font-variant-numeric: tabular-nums; }
.sum-row b { color: var(--text); font-weight: 700; }
.sum-row.discount b { color: var(--ok); }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 20px; margin-top: 8px; border-top: 1px solid var(--line); font-weight: 800; font-size: 1.1rem; }
.sum-total b { font-family: var(--f-head); font-size: 2rem; }
.promo { display: flex; gap: 8px; margin: 16px 0 8px; }
.promo .input { height: 46px; text-transform: uppercase; }
.promo .btn { height: 46px; }
.promo-msg { font-size: .85rem; min-height: 1.3em; }
.promo-msg.ok { color: var(--ok); } .promo-msg.err { color: #ff8a6b; }
.hint { color: var(--dim); font-size: .85rem; margin: 8px 0 0; }
.progress { height: 6px; border-radius: 3px; background: var(--bg-2); overflow: hidden; margin: 6px 0 2px; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--amber), var(--ember)); border-radius: 3px; transition: width .4s var(--ease); }
.err-text { color: #ff8a6b; font-size: .85rem; margin-top: 10px; }
.time-row { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 14px; }

/* Success */
.success { text-align: center; padding: calc(var(--header-h) + 48px) 0 80px; }
.success .ring { width: 96px; height: 96px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, rgba(240, 163, 60, .25), transparent 70%); border: 1px solid rgba(240, 163, 60, .5); color: var(--amber); animation: pop .5s var(--ease) both; }
.success .ring svg { width: 44px; height: 44px; }
.success h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.success .order-no { display: inline-block; margin: 18px 0 8px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 800; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.success-card { max-width: 640px; margin: 32px auto 0; text-align: left; }
.eta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.eta div { padding: 14px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); text-align: center; }
.eta small { display: block; color: var(--dim); font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.eta b { font-family: var(--f-head); font-size: 1.4rem; }
.success-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-fx { display: none; }
}

/* ============ Статьи ============ */
.nav a.active { color: var(--text); }
.articles-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .articles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .articles-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.a-card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.a-card:hover { transform: translateY(-4px); box-shadow: var(--glow); border-color: rgba(240, 163, 60, .4); }
.a-card:active { transform: translateY(-1px); }
.a-card .card-media { aspect-ratio: 16 / 10; }
.a-card:hover .card-media img { transform: scale(1.06); }
.a-card .card-body { gap: 12px; }
.a-meta { color: var(--dim); font-size: .82rem; font-weight: 600; letter-spacing: .02em; }
.a-card h2, .a-card h3 { font-size: 1.4rem; line-height: 1.2; margin: 0; }
.a-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.a-more { margin-top: auto; padding-top: 6px; color: var(--amber); font-weight: 700; font-size: .92rem; }

.article-hero { position: relative; padding: calc(var(--header-h) + 48px) 0 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--dim); font-size: .85rem; font-weight: 600; margin-bottom: 18px; }
.crumbs a:hover { color: var(--amber); }
.crumbs span[aria-hidden] { opacity: .6; }
.article-hero h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); max-width: 20ch; }
.article-hero .lead { margin-top: 18px; }
.article-cover { margin: 36px 0 0; border-radius: 24px; overflow: hidden; aspect-ratio: 21 / 9; background: var(--surface); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .article-cover { aspect-ratio: 4 / 3; } }

.prose { max-width: 720px; margin: 48px auto 0; font-size: 1.08rem; line-height: 1.75; color: #ddd3c8; }
.prose h2 { font-size: clamp(1.6rem, 3.2vw, 2.1rem); margin: 48px 0 16px; color: var(--text); }
.prose h3 { font-size: 1.25rem; margin: 32px 0 10px; color: var(--text); }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--amber); }
.prose strong { color: var(--text); }
.prose a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 28px 0; padding: 18px 22px; border-left: 3px solid var(--amber); background: rgba(240, 163, 60, .06); border-radius: 0 12px 12px 0; color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--dim); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.article-cta { max-width: 720px; margin: 48px auto 0; padding: 28px; border-radius: var(--radius); background: linear-gradient(135deg, rgba(240, 163, 60, .12), rgba(142, 31, 39, .18)); border: 1px solid var(--line-2); display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.article-cta h2 { font-size: 1.6rem; }
.article-cta p { margin: 6px 0 0; color: var(--muted); }
.related { margin-top: 80px; }
.related h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 28px; }

/* ============ Реквизиты исполнителя ============ */
.legal-card { margin-top: 20px; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.legal-card h3 { font-size: 1.4rem; margin-bottom: 16px; }
.legal-list { display: grid; gap: 0; margin: 0; }
.legal-list > div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.legal-list > div:last-child { border-bottom: 0; }
.legal-list dt { color: var(--dim); font-size: .85rem; font-weight: 600; }
.legal-list dd { margin: 0; font-weight: 600; word-break: break-word; font-variant-numeric: tabular-nums; }
.legal-list a { color: var(--amber); }
@media (max-width: 560px) { .legal-list > div { grid-template-columns: 1fr; gap: 2px; } }
.legal-bank { margin-top: 14px; }
.legal-bank summary { cursor: pointer; color: var(--amber); font-weight: 700; padding: 8px 0; list-style: none; }
.legal-bank summary::-webkit-details-marker { display: none; }
.legal-bank summary::before { content: '+ '; }
.legal-bank[open] summary::before { content: '− '; }
.footer .legal-short { flex-basis: 100%; font-size: .8rem; color: var(--dim); }

/* ============ Кабинет в шапке ============ */
.account-link { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); font-weight: 700; font-size: .92rem; transition: border-color .2s; max-width: 180px; }
.account-link:hover { border-color: var(--amber); }
.account-link svg { width: 20px; height: 20px; color: var(--amber); flex: none; }
.account-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) { .account-link { padding: 0 12px; } .account-label { display: none; } }

/* ============ Cookie-баннер ============ */
.cookie-banner {
  position: fixed; z-index: 70; left: 12px; right: 12px; bottom: calc(84px + env(safe-area-inset-bottom));
  max-width: 560px; margin-inline: auto; padding: 18px 20px; border-radius: 18px;
  background: rgba(28, 25, 23, .97); border: 1px solid var(--line-2); box-shadow: var(--shadow); backdrop-filter: blur(12px);
  transform: translateY(20px); opacity: 0; transition: transform .35s var(--ease), opacity .35s;
}
.cookie-banner.show { transform: none; opacity: 1; }
.cookie-banner p { margin: 0 0 14px; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.cookie-banner a { color: var(--amber); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
@media (min-width: 1024px) { .cookie-banner { left: auto; right: 24px; bottom: 24px; margin: 0; } }

/* ============ Формы: галочки, ссылки-кнопки ============ */
.check { display: flex; gap: 12px; align-items: flex-start; margin: 14px 0; font-size: .9rem; color: var(--muted); line-height: 1.5; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--amber); cursor: pointer; }
.check a { color: var(--amber); text-decoration: underline; text-underline-offset: 2px; }
.link-btn { color: var(--amber); font-weight: 700; font-size: .9rem; padding: 0; }
.link-btn:disabled { color: var(--dim); cursor: default; }
.code-input { font-size: 1.6rem; letter-spacing: .5em; text-align: center; height: 60px; }
.dev-code { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(124, 196, 138, .1); border: 1px dashed rgba(124, 196, 138, .5); color: var(--ok); font-size: .9rem; }

/* ============ Личный кабинет ============ */
.account-wrap { max-width: 760px; padding-bottom: 100px; margin-left: max(16px, calc((100% - 1240px) / 2)); }
.auth-panel { max-width: 460px; }
.auth-panel h2 { font-size: 1.6rem; }
.cab-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.cab-name { font-family: var(--f-head); font-size: 1.8rem; font-weight: 700; }
.cab-tabs { grid-template-columns: repeat(3, 1fr); margin-bottom: 20px; }
.cab-tabs span { min-height: 48px; }
.order-card .order-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.order-sum { font-family: var(--f-head); font-size: 1.5rem; font-weight: 700; white-space: nowrap; }
.order-items { list-style: none; padding: 0; margin: 14px 0 16px; color: var(--muted); font-size: .92rem; }
.order-items li { padding: 4px 0; } .order-items span { color: var(--dim); }
.addr-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
#cab-body > .panel + .panel { margin-top: 14px; }

/* ============ Документы в подвале ============ */
.footer .legal-links { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .82rem; }
.footer .legal-links a { color: var(--dim); text-decoration: underline; text-underline-offset: 2px; }
.footer .legal-links a:hover { color: var(--text); }

/* ============ Вопросы и ответы ============ */
.faq-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; } }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s; }
.faq-item[open] { border-color: rgba(240, 163, 60, .4); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:active h3 { color: var(--amber-2); }
.faq-item h3 { font: 700 1.05rem/1.35 var(--f-body); margin: 0; }
.faq-item p { margin: 0; padding: 0 20px 20px; color: var(--muted); line-height: 1.6; }
.faq-ic { position: relative; width: 22px; height: 22px; flex: none; }
.faq-ic::before, .faq-ic::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--amber); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .25s var(--ease); }
.faq-ic::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-ic::after { transform: translate(-50%, -50%) rotate(0deg); }

/* ============ Кнопка «Заказать» в шапке ============ */
.header-cta { display: none; }
@media (min-width: 1024px) { .header-cta { display: inline-flex; height: 46px; padding: 0 22px; } }

/* ============ Компактные карточки блюд ============ */
.card-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { flex-wrap: nowrap; justify-content: space-between; }
.card-foot .price { flex-basis: auto; }
.card-action .add-btn { flex: none; }
.qty-live { border-color: var(--amber); background: rgba(240, 163, 60, .08); }
.qty-live output { color: var(--amber-2); min-width: 26px; }
.group-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 20px; display: flex; align-items: baseline; gap: 14px; }
.group-title small { font-family: var(--f-body); font-size: .9rem; color: var(--dim); font-weight: 600; }
@media (max-width: 619px) {
  .grid { gap: 12px; }
  .card { flex-direction: row; min-height: 132px; }
  .card:hover { transform: none; }
  .card-media { flex: none; width: 112px; aspect-ratio: auto; }
  .card-media::after { display: none; }
  .card .badge { top: 8px; left: 8px; padding: 4px 8px; font-size: .66rem; }
  .card .badge.spicy { display: none; }
  .card-body { padding: 12px 14px; gap: 6px; }
  .card-title { flex-direction: column; gap: 2px; }
  .card-title h3 { font-size: 1rem; }
  .card-title .w { font-size: .78rem; }
  .card-desc { font-size: .84rem !important; -webkit-line-clamp: 2; }
  .card-opts { display: none; }
  .card-foot { padding-top: 4px; }
  .card .price { font-size: 1.1rem; }
  .card .add-btn { height: 40px; padding: 0 14px; }
  .card .add-btn .t { display: none; }
  .card .add-btn:disabled .t { display: inline; font-size: .85rem; }
  .card .qty { height: 40px; }
  .card .qty button { width: 34px; }
}

/* ============ Корзина: панель оформления снизу (телефон) ============ */
.checkout-bar { display: none; }
@media (max-width: 1023px) {
  .checkout-bar {
    position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(22, 20, 19, .96); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line-2); box-shadow: 0 -10px 30px rgba(0, 0, 0, .4);
  }
  .checkout-bar[hidden] { display: none; }
  .checkout-bar small { display: block; color: var(--dim); font-size: .75rem; font-weight: 600; }
  .checkout-bar b { font-family: var(--f-head); font-size: 1.5rem; line-height: 1; font-variant-numeric: tabular-nums; }
  .checkout-bar .btn { flex: 1; max-width: 260px; }
  body.has-checkout-bar .footer { padding-bottom: 120px; }
}
.sticky-cta.force-hide { transform: translateY(140%); }
.menu-top { padding-top: calc(var(--header-h) + 20px); padding-bottom: 4px; }
.menu-top h1 { font-size: clamp(2rem, 6vw, 3.2rem); margin: 0; }

/* ============ «Следить за заказом» на экране заказа ============ */
.track-box { display: flex; align-items: center; gap: 14px; margin: 22px auto 0; max-width: 640px; padding: 16px 18px; border-radius: var(--radius-sm); background: rgba(240, 163, 60, .08); border: 1px solid var(--line-2); text-align: left; transition: border-color .2s, background .2s; }
.track-box:hover { border-color: var(--amber); background: rgba(240, 163, 60, .14); }
.track-box:active { background: rgba(240, 163, 60, .2); }
.track-box .hint { margin: 2px 0 0; }
.track-ic { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--amber); color: var(--bg); }
.track-ic svg { width: 20px; height: 20px; }
.order-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ============ Страница статуса заказа ============ */
.track-wrap { max-width: 640px; }
.track-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.track-head h2 { margin: 0; font-size: 1.4rem; }
.track-steps { list-style: none; margin: 22px 0 6px; padding: 0; }
.track-steps li { position: relative; padding: 0 0 22px 40px; color: var(--dim); }
.track-steps li:last-child { padding-bottom: 0; }
.track-steps li::before { content: ''; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--bg-2); }
.track-steps li:not(:last-child)::after { content: ''; position: absolute; left: 10px; top: 24px; bottom: 2px; width: 2px; background: var(--line-2); }
.track-steps li.is-done { color: var(--muted); }
.track-steps li.is-done::before { background: var(--amber); border-color: var(--amber); }
.track-steps li.is-done:not(:last-child)::after { background: var(--amber); }
.track-steps li.is-now { color: var(--text); font-weight: 700; }
.track-steps li.is-now::before { border-color: var(--amber); box-shadow: 0 0 0 5px rgba(240, 163, 60, .18); background: var(--amber); }
.track-steps small { display: block; font-weight: 500; color: var(--muted); }
.track-cancel { margin: 18px 0 0; padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(178, 44, 51, .12); border: 1px solid rgba(178, 44, 51, .35); }

/* ============ Страница сотрудников ============ */
.staff-wrap { max-width: 860px; }
.staff-bar { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 18px; }
.staff-card .order-top { margin-bottom: 10px; }
.staff-card dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 14px; }
.staff-card dt { color: var(--dim); }
.staff-card dd { margin: 0; }
.staff-card .note { color: var(--amber-2); }
.staff-card.st-new { border-color: var(--amber); }
.staff-status { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.status-badge { display: inline-block; margin-left: 6px; padding: 2px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: rgba(240, 163, 60, .12); color: var(--amber-2); vertical-align: 2px; }
.status-badge.st-done { background: rgba(124, 196, 138, .12); color: var(--ok); }
.status-badge.st-cancelled { background: rgba(255, 138, 107, .1); color: #ff8a6b; }

/* ---------- Плашка «день рождения» в кабинете ---------- */
.bday-promo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 0 0 18px;
  border-color: rgba(240, 163, 60, .45); background: linear-gradient(135deg, rgba(240,163,60,.10), rgba(142,31,39,.12)), var(--surface); }
.bday-promo .bday-text { flex: 1 1 260px; }
.bday-promo .bday-row { display: flex; gap: 10px; flex: 0 1 auto; }
.bday-promo .bday-row .input { width: 170px; }
.bday-promo .err-text { flex-basis: 100%; margin: 0; }
@media (max-width: 619px) { .bday-promo .bday-row { width: 100%; } .bday-promo .bday-row .input { flex: 1; width: auto; } }

/* ---------- Блюдо без утверждённой цены ---------- */
.price.price-tbd { font-size: .86rem; font-weight: 600; color: var(--muted); }
.add-btn:disabled { background: var(--surface-2); color: var(--muted); box-shadow: none; transform: none; cursor: not-allowed; }

