/* ЖАРА — motion-версия. Тёмный фон, горчичный акцент, томатный красный. */

:root {
  --bg: #120e0b;
  --surface: #1c1612;
  --surface-2: #261e18;
  --cream: #fff1dc;
  --muted: rgba(255, 241, 220, .62);
  --line: rgba(255, 241, 220, .12);
  --accent: #ffc23a;      /* горчица — главные кнопки, тёмный текст на ней */
  --accent-hover: #ffd166;
  --red: #e5372b;         /* томатный — бренд, метки, акценты */
  --green: #7bd88f;
  --error: #ff7a6b;

  --f-display: "Dela Gothic One", "Manrope", system-ui, sans-serif;
  --f-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 22px;
  --r-sm: 14px;
  --gutter: clamp(16px, 3vw, 40px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: calc(var(--header-h) + 64px); -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font: 16px/1.5 var(--f-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure, dl, dd, ul { margin: 0; padding: 0; }
ul { list-style: none; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
svg { display: block; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--accent); color: var(--bg); border-radius: 10px; font-weight: 700; }
.skip:focus { left: 8px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font: 800 16px/1 var(--f-sans);
  transition: transform .25s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn--accent { background: var(--accent); color: #1a1208; }
.btn--accent:hover { background: var(--accent-hover); }
.btn--ghost { border-color: var(--line); color: var(--cream); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--block { width: 100%; }
.btn--grow { flex: 1; }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }

.icon-btn {
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; background: var(--surface-2); flex: none;
  transition: background-color .2s, transform .2s;
}
.icon-btn:hover { background: #33281f; transform: rotate(90deg); }
.icon-btn[data-back]:hover { transform: translateX(-3px); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

/* ---------- Интро ---------- */
.intro { display: none; }
.js .intro {
  position: fixed; inset: 0; z-index: 90;
  display: grid; place-items: center; align-content: center; gap: 4px;
  background: var(--red);
  overflow: hidden;
}
.intro__burger {
  position: absolute; width: min(70vw, 620px); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .45);
}
.intro__burger img { width: 100%; height: 100%; object-fit: cover; }
.intro__word {
  position: relative; display: flex; overflow: hidden;
  font: 400 clamp(84px, 22vw, 300px)/1 var(--f-display); color: var(--cream); letter-spacing: -.02em;
  text-shadow: 0 10px 40px rgba(0, 0, 0, .35);
}
.intro__word span { display: inline-block; }
.intro__sub { position: relative; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; font-size: 13px; }

/* ---------- Шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 28px;
  height: var(--header-h); padding: 0 var(--gutter);
  background: rgba(18, 14, 11, .8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.logo { position: relative; font: 400 26px var(--f-display); letter-spacing: .02em; }
.logo i { position: absolute; right: -10px; top: 2px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.header__info { display: flex; gap: 22px; margin-left: 12px; font-size: 14px; color: var(--muted); }
.header__info li { display: flex; align-items: center; gap: 8px; }
.header__info svg { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.header__phone { margin-left: auto; font-weight: 700; transition: color .2s; }
.header__phone:hover { color: var(--accent); }
.orders-btn {
  position: relative; display: flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line);
  font-weight: 700; transition: border-color .2s, color .2s;
}
.orders-btn:hover { border-color: var(--accent); color: var(--accent); }
.orders-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.orders-btn__count {
  position: absolute; top: -6px; right: -6px; min-width: 24px; height: 24px; padding: 0 6px;
  display: grid; place-items: center; border-radius: 999px;
  background: var(--green); color: #0b2410; font-size: 12px; font-weight: 800; border: 2px solid var(--bg);
}
.cart-btn {
  position: relative; display: flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 20px; border-radius: 999px;
  background: var(--accent); color: #1a1208; font-weight: 800;
  transition: transform .25s var(--ease), background-color .2s;
}
.cart-btn:hover { background: var(--accent-hover); transform: translateY(-2px); }
.cart-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linejoin: round; }
.cart-btn__count {
  position: absolute; top: -6px; right: -6px; min-width: 24px; height: 24px; padding: 0 6px;
  display: grid; place-items: center; border-radius: 999px;
  background: var(--red); color: #fff; font-size: 12px; font-weight: 800; border: 2px solid var(--bg);
}

/* ---------- Hero (компактный — меню видно сразу) ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 24px;
  padding: clamp(24px, 4vw, 48px) var(--gutter) 24px;
  min-height: min(68vh, 640px);
}
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: var(--surface-2); font-size: 14px; font-weight: 700; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(123, 216, 143, .6); animation: pulse 2s infinite; }
.dot.is-closed { background: var(--error); animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(123, 216, 143, 0); } 100% { box-shadow: 0 0 0 0 rgba(123, 216, 143, 0); } }
.hero__title { margin: 22px 0 18px; font: 400 clamp(46px, 7.4vw, 112px)/.95 var(--f-display); text-transform: uppercase; letter-spacing: -.01em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: inline-block; }
.hero__title .line--accent { color: var(--accent); }
.hero__lead { max-width: 440px; margin-bottom: 28px; color: var(--muted); font-size: 18px; }
.hero__visual { position: relative; aspect-ratio: 1; max-height: 560px; justify-self: center; width: 100%; max-width: 560px; }
.hero__burger { position: absolute; inset: 6%; border-radius: 50%; overflow: hidden; box-shadow: 0 30px 80px rgba(229, 55, 43, .25), 0 0 0 10px var(--surface); }
.hero__burger img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.hero__badge { position: absolute; left: -2%; bottom: 4%; width: 130px; height: 130px; padding: 6px; border-radius: 50%; background: var(--red); }
.hero__badge text { font: 800 11.5px var(--f-sans); letter-spacing: .14em; fill: #fff; }
.hero__sticker {
  position: absolute; right: 0; top: 10%; padding: 14px 20px; border-radius: 18px;
  background: var(--accent); color: #1a1208; font-weight: 700; transform: rotate(8deg);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
}
.hero__sticker b { display: block; font: 400 28px/1 var(--f-display); }

/* ---------- Бегущая строка ---------- */
.marquee { overflow: hidden; background: var(--red); color: #fff; transform: rotate(-1.2deg); margin: 8px -10px 0; }
.marquee__track { display: flex; width: max-content; padding: 14px 0; font: 400 22px/1 var(--f-display); text-transform: uppercase; white-space: nowrap; }
.marquee__track span { padding: 0 22px; }
.marquee__track i { font-style: normal; color: var(--accent); }

/* ---------- Табы категорий ---------- */
.tabs {
  position: sticky; top: var(--header-h); z-index: 20;
  margin-top: 28px; padding: 12px var(--gutter);
  background: rgba(18, 14, 11, .88); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.tabs__scroll { position: relative; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.tabs__scroll::-webkit-scrollbar { display: none; }
.tab {
  position: relative; z-index: 1; flex: none;
  display: inline-flex; align-items: center;
  height: 44px; padding: 0 18px; border-radius: 999px;
  font-weight: 700; color: var(--muted); white-space: nowrap;
  transition: color .25s;
}
.tab:hover { color: var(--cream); }
.tab.is-active { color: #1a1208; }
.tabs__pill { position: absolute; left: 0; top: 0; height: 44px; width: 0; border-radius: 999px; background: var(--accent); transition: transform .45s var(--ease), width .45s var(--ease); }

/* ---------- Меню ---------- */
.menu { padding: 12px var(--gutter) 40px; }
.cat { padding-top: 44px; }
.cat__title { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; font: 400 clamp(30px, 4vw, 52px)/1 var(--f-display); text-transform: uppercase; }
.cat__title small { font: 700 15px var(--f-sans); color: var(--muted); text-transform: none; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.grid--combo { grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s;
}
.card:hover { transform: translateY(-6px) scale(1.015); border-color: rgba(255, 194, 58, .4); box-shadow: 0 24px 50px -20px rgba(229, 55, 43, .45); }
.card__media { position: relative; display: block; width: 100%; aspect-ratio: 5 / 4; overflow: hidden; background: var(--surface-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card__media img { transform: scale(1.09) rotate(-1.5deg); }
.grid--combo .card { flex-direction: row; }
.grid--combo .card__media { width: 48%; aspect-ratio: auto; min-height: 220px; }
.tag {
  position: absolute; left: 14px; top: 14px; z-index: 1;
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  background: var(--accent); color: #1a1208;
}
.tag--new { background: var(--green); }
.tag--spicy { background: var(--red); color: #fff; }
.card__qty {
  position: absolute; right: 14px; top: 14px; z-index: 1;
  min-width: 32px; height: 32px; padding: 0 10px; display: grid; place-items: center;
  border-radius: 999px; background: var(--cream); color: var(--bg); font-weight: 800; font-size: 14px;
}
.card__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 18px 18px 18px; }
.card__name { font-size: 19px; font-weight: 800; line-height: 1.25; }
.card__desc { color: var(--muted); font-size: 14px; line-height: 1.45; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; }
.price { font-weight: 800; font-size: 19px; }
.price small { font-size: 13px; font-weight: 600; color: var(--muted); margin-right: 3px; }
.add {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px;
  border-radius: 999px; background: var(--surface-2); font-weight: 800; font-size: 15px;
  transition: background-color .2s, color .2s, transform .2s var(--ease);
}
.add svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.card:hover .add, .add:focus-visible { background: var(--accent); color: #1a1208; }
.add:active { transform: scale(.94); }

.fly { position: fixed; z-index: 80; border-radius: 50%; overflow: hidden; pointer-events: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.fly img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Промо-полоса ---------- */
.promo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 20px var(--gutter) 70px; }
.promo__item { padding: 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .3s; }
.promo__item:hover { transform: translateY(-4px); border-color: rgba(255, 194, 58, .4); }
.promo__item b { display: block; font: 400 38px/1 var(--f-display); color: var(--accent); margin-bottom: 10px; }
.promo__item span { color: var(--muted); }

/* ---------- Подвал ---------- */
.footer { padding: 0 var(--gutter) 28px; border-top: 1px solid var(--line); }
.footer__brand { font: 400 clamp(90px, 22vw, 320px)/.9 var(--f-display); color: var(--red); letter-spacing: -.03em; margin: 30px 0 10px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.footer__h { color: var(--muted); font-size: 14px; margin-bottom: 4px; }
.footer__cols a:hover { color: var(--accent); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; font-size: 14px; color: var(--muted); }
.footer__bottom a { color: var(--accent); font-weight: 700; }
.footer__bottom a:hover { text-decoration: underline; }

/* ---------- Карточка блюда (dialog) ---------- */
.sheet {
  width: min(880px, calc(100% - 32px)); max-height: calc(100% - 32px);
  padding: 0; border: 0; border-radius: 28px;
  background: var(--surface); color: var(--cream);
  overflow: hidden;
}
.sheet::backdrop { background: rgba(8, 6, 4, .7); backdrop-filter: blur(6px); }
.sheet__inner { display: grid; grid-template-columns: 1fr 1fr; max-height: calc(100vh - 32px); }
.sheet__img { background: var(--surface-2); }
.sheet__img img { width: 100%; height: 100%; object-fit: cover; }
.sheet__body { display: flex; flex-direction: column; gap: 12px; padding: 34px 30px 28px; overflow-y: auto; }
.sheet__close { position: absolute; right: 16px; top: 16px; z-index: 2; }
.sheet__title { font: 400 34px/1.05 var(--f-display); text-transform: uppercase; padding-right: 40px; }
.sheet__meta { color: var(--muted); font-size: 14px; font-weight: 700; }
.sheet__desc { color: var(--muted); }
.opts legend { margin-bottom: 10px; font-weight: 800; }
.opts__row { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-chip input { position: absolute; opacity: 0; pointer-events: none; }
.opt-chip span {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 18px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2);
  font-weight: 700; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s;
}
.opt-chip span small { color: var(--muted); font-weight: 600; }
.opt-chip:hover span { border-color: var(--accent); }
.opt-chip input:checked + span { background: var(--cream); color: var(--bg); border-color: var(--cream); }
.opt-chip input:checked + span small { color: rgba(18, 14, 11, .6); }
.opt-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.sheet__foot { display: flex; gap: 12px; margin-top: auto; padding-top: 18px; }
.stepper { display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; background: var(--surface-2); }
.stepper button { width: 40px; height: 40px; border-radius: 50%; font-size: 20px; font-weight: 700; transition: background-color .2s; }
.stepper button:hover { background: #3a2e24; }
.stepper output { min-width: 26px; text-align: center; font-weight: 800; }

/* ---------- Доставка / самовывоз ---------- */
.mode { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 16px 20px 0; padding: 4px; border-radius: 16px; background: var(--bg); }
.mode label { position: relative; }
.mode input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mode span {
  display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; cursor: pointer; text-align: center;
  transition: background-color .25s, color .25s;
}
.mode b { font-size: 15px; }
.mode small { font-size: 12px; color: var(--muted); }
.mode label:hover span { background: var(--surface-2); }
.mode input:checked + span { background: var(--accent); color: #1a1208; }
.mode input:checked + span small { color: rgba(26, 18, 8, .7); }
.mode input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.addr { display: grid; gap: 14px; }
.pickup-info { display: flex; gap: 14px; padding: 16px; border-radius: var(--r-sm); background: var(--surface-2); }
.pickup-info svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pickup-info__h { font-weight: 800; }
.pickup-info__sub { color: var(--muted); font-size: 14px; margin-top: 2px; }

/* ---------- Корзина ---------- */
.overlay { position: fixed; inset: 0; z-index: 60; background: rgba(8, 6, 4, .6); backdrop-filter: blur(4px); }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 70;
  display: flex; flex-direction: column;
  width: min(460px, 100%);
  background: var(--surface); border-left: 1px solid var(--line);
  transform: translateX(105%); visibility: hidden;
  transition: transform .5s var(--ease), visibility 0s .5s;
}
.drawer.is-open { transform: none; visibility: visible; transition: transform .5s var(--ease); }
.drawer__head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font: 400 26px var(--f-display); text-transform: uppercase; margin-right: auto; }
.drawer__step { display: flex; flex-direction: column; flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; }
.drawer__foot { position: sticky; bottom: 0; margin-top: auto; padding: 18px 20px 22px; background: var(--surface); border-top: 1px solid var(--line); }

.free { padding: 16px 20px 6px; }
.free p { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.free p b { color: var(--accent); }
.free__bar { height: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.free__bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--red), var(--accent)); transition: width .6s var(--ease); }

.lines { padding: 6px 20px; }
.line-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line-item img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.line-item__name { font-weight: 800; line-height: 1.25; }
.line-item__opt { color: var(--muted); font-size: 13px; }
.line-item__price { font-weight: 700; margin-top: 2px; }
.line-item .stepper { padding: 3px; }
.line-item .stepper button { width: 34px; height: 34px; font-size: 18px; }

.empty { display: grid; justify-items: center; gap: 8px; padding: 60px 24px; text-align: center; color: var(--muted); }
.empty__big { font: 400 30px var(--f-display); color: var(--cream); text-transform: uppercase; }
.empty .btn { margin-top: 14px; }

.sum { display: grid; gap: 6px; margin-bottom: 14px; }
.sum div { display: flex; justify-content: space-between; color: var(--muted); }
.sum dd { color: var(--cream); font-weight: 700; }
.sum .sum__total { margin-top: 6px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 20px; color: var(--cream); font-weight: 800; }
.hint { margin-bottom: 12px; color: var(--accent); font-size: 14px; font-weight: 700; }

.form { gap: 14px; padding: 18px 20px 0; }
.form .drawer__foot { margin: auto -20px 0; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-size: 14px; font-weight: 700; color: var(--muted); }
.field .opt { font-weight: 500; opacity: .7; }
.field input:not([type="radio"]), .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px;
  background: var(--bg); color: var(--cream);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  font: 500 16px var(--f-sans);
  transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 70px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field.is-invalid input { border-color: var(--error); }
.field--row { grid-template-columns: repeat(3, 1fr); gap: 10px; }
.field--row > div { display: grid; gap: 6px; min-width: 0; }
.err { min-height: 0; color: var(--error); font-size: 13px; font-weight: 600; }
.err:empty { display: none; }
.pay { grid-template-columns: 1fr 1fr; gap: 8px; }
.pay legend { margin-bottom: 6px; }
.pay__opt { position: relative; }
.pay__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pay__opt span {
  display: grid; place-items: center; min-height: 50px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--bg); font-weight: 700; cursor: pointer;
  transition: border-color .2s, background-color .2s, color .2s;
}
.pay__opt:hover span { border-color: var(--accent); }
.pay__opt input:checked + span { background: var(--cream); color: var(--bg); border-color: var(--cream); }
.pay__opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form__error { color: var(--error); font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.form__error:empty { display: none; }

.done { align-items: center; justify-content: center; gap: 14px; padding: 40px 28px; text-align: center; }
.done__icon svg { width: 96px; height: 96px; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.done__icon circle { stroke: var(--accent); }
.done__icon path { stroke: var(--cream); }
.done h3 { font: 400 32px var(--f-display); text-transform: uppercase; }
.done p { color: var(--muted); max-width: 320px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 95;
  padding: 14px 20px; border-radius: 999px;
  background: var(--cream); color: var(--bg); font-weight: 800;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .4);
  transform: translate(-50%, calc(100% + 40px)); visibility: hidden;
  transition: transform .45s var(--ease), visibility 0s .45s;
  pointer-events: none;
}
.toast.is-shown { transform: translate(-50%, 0); visibility: visible; transition: transform .45s var(--ease); }

/* ---------- Мои заказы ---------- */
.track {
  width: min(560px, calc(100% - 32px)); max-height: calc(100% - 32px);
  padding: 0; border: 0; border-radius: 28px; background: var(--surface); color: var(--cream);
}
.track::backdrop { background: rgba(8, 6, 4, .7); backdrop-filter: blur(6px); }
.t-inner { display: flex; flex-direction: column; max-height: calc(100vh - 32px); }
.t-top { display: flex; align-items: center; justify-content: space-between; padding: 22px 22px 4px; }
.t-top h2 { font: 400 28px var(--f-display); text-transform: uppercase; }
.t-close { width: 44px; height: 44px; border-radius: 50%; background: var(--surface-2); font-size: 18px; }
.t-close:hover { background: #33281f; }
.t-time { padding: 0 22px 12px; color: var(--muted); font-size: 13px; }
.t-body { display: grid; gap: 14px; padding: 0 22px 22px; overflow-y: auto; }
.t-empty { padding: 30px 0; color: var(--muted); text-align: center; }
.t-warn { padding: 10px 14px; border-radius: 12px; background: rgba(255, 122, 107, .15); color: var(--error); font-weight: 700; font-size: 14px; }
.t-order { display: grid; gap: 10px; padding: 18px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); }
.t-order.is-active { border-color: rgba(255, 194, 58, .5); }
.t-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.t-head h3 { font-size: 19px; font-weight: 800; }
.t-badge { padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; background: var(--accent); color: #1a1208; }
.t-badge--done { background: var(--green); color: #0b2410; }
.t-badge--cancelled { background: var(--error); color: #2a0703; }
.t-meta { color: var(--muted); font-size: 14px; margin-top: -4px; }
.t-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 4px 0 0; padding: 0; list-style: none; }
.t-steps li { padding-top: 10px; border-top: 4px solid var(--surface-2); font-size: 12px; color: var(--muted); line-height: 1.25; }
.t-steps li.is-done { border-color: var(--accent); }
.t-steps li.is-current { border-color: var(--accent); color: var(--cream); font-weight: 800; }
.t-note { font-weight: 600; }
.t-items { margin: 0; padding: 10px 14px; list-style: none; border-radius: 12px; background: var(--surface); font-size: 15px; }
.t-items li { display: flex; justify-content: space-between; gap: 10px; padding: 2px 0; }
.t-total { color: var(--muted); font-size: 14px; }
.t-total b { color: var(--cream); font-size: 17px; }

/* ---------- Адаптив ---------- */
@media (max-width: 1080px) {
  .header__info { display: none; }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .header { gap: 12px; }
  .header__phone { display: none; }
  .orders-btn { margin-left: auto; padding: 0 12px; }
  .orders-btn__text { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 20px; }
  .hero { grid-template-columns: minmax(0, 1fr) 108px; align-items: start; gap: 8px; }
  .hero__visual { order: 0; grid-column: 2; grid-row: 2; max-width: 108px; margin-top: 8px; }
  .hero__burger { box-shadow: 0 16px 40px rgba(229, 55, 43, .25), 0 0 0 5px var(--surface); }
  .hero__badge { display: none; }
  .hero__sticker { top: auto; bottom: -16px; right: 0; padding: 6px 10px; border-radius: 12px; font-size: 12px; }
  .hero__sticker b { font-size: 18px; }
  .hero__text { display: contents; }
  .hero__kicker { grid-column: 1 / -1; grid-row: 1; justify-self: start; }
  .hero__title { grid-column: 1; grid-row: 2; margin: 6px 0 0; font-size: clamp(32px, 9.6vw, 50px); }
  .hero__lead { grid-column: 1 / -1; grid-row: 3; }
  .hero .btn { grid-column: 1 / -1; grid-row: 4; }
  .hero__lead { font-size: 15px; margin: 6px 0 4px; max-width: none; }
  .hero .btn { justify-self: start; min-height: 46px; }
  .tabs { margin-top: 18px; }
  .promo { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; gap: 14px; }
  .sheet { width: 100%; max-width: 100%; max-height: 92vh; margin: auto 0 0; border-radius: 28px 28px 0 0; }
  .sheet__inner { grid-template-columns: 1fr; max-height: 92vh; overflow-y: auto; }
  .sheet__img { aspect-ratio: 16 / 11; }
  .sheet__body { overflow: visible; padding: 22px 20px 24px; }
  .sheet__title { font-size: 28px; }
  .grid--combo .card { flex-direction: column; }
  .grid--combo .card__media { width: 100%; aspect-ratio: 5 / 4; min-height: 0; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .grid--combo { grid-template-columns: 1fr; }
  .card__body { padding: 12px; }
  .card__name { font-size: 16px; }
  .card__desc { display: none; }
  .grid--combo .card__desc { display: block; }
  .card__foot { flex-direction: column; align-items: stretch; gap: 8px; padding-top: 8px; }
  .price { font-size: 17px; }
  .add { justify-content: center; background: var(--accent); color: #1a1208; }
  .card:hover { transform: none; box-shadow: none; }
  .cart-btn__sum { font-size: 14px; }
  .tag { left: 10px; top: 10px; padding: 4px 9px; font-size: 11px; }
  .marquee__track { font-size: 17px; padding: 11px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .js .intro { display: none; }
}

/* Водяной знак демо-сайта */
.watermark {
  position: fixed; inset: 0; z-index: 9989; pointer-events: none; user-select: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='220'%3E%3Ctext x='180' y='120' fill='white' font-family='monospace' font-size='18' font-weight='700' letter-spacing='2' text-anchor='middle' transform='rotate(-24 180 110)'%3E@sorators · DEMO%3C/text%3E%3C/svg%3E");
}
