/* «Кочегар» — Горячо и громко. Dela Gothic One + Rubik. */
:root {
  --bg: #FFF3E3;
  --surface: #FFFFFF;
  --surface-2: #FFE3BF;
  --photo: #FBD68E;
  --dark: #1F140E;
  --dark-2: #2B1D15;
  --text: #1F140E;
  --muted: #6A584B;
  --line: #EFD8BC;
  --accent: #BE2F17;
  --accent-ink: #FFFFFF;
  --accent-on-dark: #FF6B4A;
  --shadow: 0 20px 60px rgb(31 20 14 / .18);
  --ff-d: 'Dela Gothic One', 'Arial Black', Impact, sans-serif;
  --ff: 'Rubik', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pad: 40px;
  --head-h: 76px;
  --sec: 120px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
@media (max-width: 760px) {
  :root { --pad: 16px; --head-h: 60px; --sec: 72px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.5 var(--ff);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
html.is-locked, html.is-locked body { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
button:disabled { cursor: not-allowed; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: calc(1320px + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.acc { color: var(--accent); font-style: normal; }
.muted { color: var(--muted); }
.nw { white-space: nowrap; }

/* ---------- типографика ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font: 500 14px/1.2 var(--ff); letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: currentColor; opacity: .5; flex: none; }
.h2 { font: 400 56px/1.02 var(--ff-d); letter-spacing: -.01em; max-width: 16em; text-wrap: balance; }
.lead { font-size: 19px; line-height: 1.5; max-width: 34em; margin-top: 24px; color: var(--text); }
.sec { padding: var(--sec) 0; }
.sec-head { margin-bottom: 56px; }
@media (max-width: 760px) {
  .h2 { font-size: 32px; line-height: 1.05; }
  .lead { font-size: 16px; margin-top: 16px; }
  .sec-head { margin-bottom: 32px; }
  .eyebrow { font-size: 12px; margin-bottom: 14px; }
}

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border-radius: 999px;
  font: 600 17px/1 var(--ff); text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, transform .15s, border-color .2s;
  border: 1.5px solid transparent;
}
.btn:active:not(:disabled) { transform: scale(.97); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover:not(:disabled) { background: #AF2B15; }
.btn--accent:disabled { background: var(--line); color: var(--muted); }
.btn--line { border-color: var(--text); color: var(--text); }
.btn--line:hover { background: var(--text); color: var(--bg); }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: #3a2a20; }
.btn--light-o { border-color: rgb(255 243 227 / .6); color: var(--bg); }
.btn--light-o:hover { background: var(--bg); color: var(--dark); border-color: var(--bg); }
.btn--wide { width: 100%; }
.btn svg { flex: none; }
.btn-o {
  display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 14px;
  border: 1.5px solid var(--text); border-radius: 999px; font: 600 15px/1 var(--ff); white-space: nowrap;
  transition: background .2s, color .2s;
}
.btn-o:hover { background: var(--text); color: #fff; }
.link {
  font: 500 15px/1.3 var(--ff); color: var(--text); text-decoration: underline; text-underline-offset: 3px;
  text-decoration-thickness: 1px; padding: 6px 0; min-height: 32px;
}
.link:hover { text-decoration-thickness: 2px; }
.link--inline { padding: 0; min-height: 0; font-size: inherit; }
.link--light { color: rgb(255 243 227 / .75); }
.link--light:hover { color: var(--accent-on-dark); }
.plus {
  display: grid; place-items: center; flex: none; border-radius: 50%;
  width: 48px; height: 48px; color: #fff; transition: transform .15s var(--ease), background .2s;
}
.plus--acc { background: var(--accent); }
.plus--acc:hover { background: #A82813; }
.plus--dark { background: var(--dark); width: 44px; height: 44px; }
.plus--dark:hover { background: #3a2a20; }
.plus:active, .plus.is-press { animation: press .22s var(--ease); }
.plus:disabled { opacity: .35; }
@keyframes press { 50% { transform: scale(.9); } }
.x { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bg); color: var(--text); flex: none; }
.x:hover { background: var(--surface-2); }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); text-decoration: none; }
.tag {
  position: absolute; left: 16px; top: 16px; z-index: 2;
  padding: 7px 12px; border-radius: 999px; background: var(--surface); color: var(--text);
  font: 600 13px/1 var(--ff); letter-spacing: .02em;
}

/* ---------- шапка ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.hdr__in { height: var(--head-h); display: flex; align-items: center; gap: 32px; }
.logo { display: flex; flex-direction: column; justify-content: center; min-height: 44px; text-decoration: none; line-height: 1; flex: none; }
.logo__w { font: 400 26px/1 var(--ff-d); letter-spacing: -.01em; }
.logo__s { font: 400 12px/1 var(--ff); color: var(--muted); margin-top: 5px; letter-spacing: .01em; }
.hdr__nav { display: flex; gap: 28px; margin-left: 16px; }
.hdr__nav a { font: 500 16px/1 var(--ff); text-decoration: none; padding: 10px 0; position: relative; }
.hdr__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.hdr__nav a:hover::after, .hdr__nav a[aria-current]::after { transform: scaleX(1); }
.hdr__r { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.zchip { font: 500 14px/1 var(--ff); padding: 10px 14px; border-radius: 999px; background: var(--surface-2); white-space: nowrap; }
.hdr__tel { display: flex; flex-direction: column; align-items: flex-end; text-decoration: none; line-height: 1.1; }
.hdr__tel b { font: 600 17px/1.1 var(--ff); }
.hdr__tel small { font-size: 12px; color: var(--muted); margin-top: 3px; }
.hcart {
  position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px 0 18px;
  background: var(--dark); color: #fff; border-radius: 999px; font: 600 16px/1 var(--ff);
}
.hcart__n { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: var(--bg); color: var(--text); font: 700 13px/1 var(--ff); }
.hdr__call, .hdr__burger { display: none; }
@media (max-width: 1180px) { .zchip { display: none; } .hdr__nav { gap: 20px; margin-left: 0; } }
@media (max-width: 960px) {
  .hdr__nav, .hdr__tel { display: none; }
  .hdr__call, .hdr__burger { display: grid; }
  .hdr__r { gap: 8px; }
}
@media (max-width: 760px) {
  .hcart { display: none; }
  .logo__w { font-size: 22px; }
  .logo__s { font-size: 11px; margin-top: 4px; }
}

/* меню-оверлей (мобила) */
.mnav { position: fixed; inset: 0; z-index: 120; }
.mnav .mnav__panel { position: absolute; box-shadow: none; inset: 0; background: var(--bg); padding: 12px 16px calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; overflow: auto; opacity: 0; transform: translateY(-12px); transition: opacity .25s, transform .3s var(--ease); }
.mnav.is-open .mnav__panel { opacity: 1; transform: none; }
.mnav__top { display: flex; align-items: center; justify-content: space-between; min-height: 48px; }
.mnav__top .logo__w { font-size: 22px; }
.mnav__links { display: flex; flex-direction: column; margin-top: 40px; }
.mnav__links a { font: 400 32px/1.1 var(--ff-d); text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mnav__info { margin-top: auto; padding-top: 32px; display: grid; gap: 6px; color: var(--muted); }
.mnav__info a { font: 600 22px/1.2 var(--ff); color: var(--text); text-decoration: none; margin-bottom: 6px; }

/* ---------- hero ---------- */
.hero { padding: 36px 0 96px; }
.hero__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; grid-template-rows: auto 1fr; }
.hero__text { grid-column: 1 / 8; grid-row: 1; padding-top: 12px; position: relative; z-index: 2; }
.hero__h { font: 400 72px/1.02 var(--ff-d); letter-spacing: -.01em; }
.hero__lead { font-size: 20px; line-height: 1.5; max-width: 520px; margin-top: 28px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__media { grid-column: 8 / 13; grid-row: 1 / 3; position: relative; align-self: start; margin-top: 8px; }
.hero__plate { background: var(--photo); border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; }
.hero__plate img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }
.sticker {
  position: absolute; right: -24px; bottom: 40px;
  display: grid; grid-template-columns: auto 48px; align-items: end; column-gap: 20px;
  background: var(--surface); border-radius: 24px; padding: 18px 18px 18px 22px;
  transform: rotate(-3deg); transform-origin: 80% 80%;
}
.sticker__n { grid-column: 1 / -1; font: 500 14px/1.2 var(--ff); color: var(--muted); margin-bottom: 4px; }
.sticker__p { font: 400 48px/1 var(--ff-d); color: var(--accent); letter-spacing: -.01em; }
.facts { grid-column: 1 / 8; grid-row: 2; align-self: end; display: flex; margin-top: 56px; }
.facts > div { padding: 0 28px; border-left: 1px solid var(--line); }
.facts > div:first-child { padding-left: 0; border-left: 0; }
.facts dt { font: 400 30px/1 var(--ff-d); letter-spacing: -.01em; }
.facts dd { font-size: 14px; line-height: 1.35; color: var(--muted); margin-top: 8px; max-width: 13em; }
@media (min-width: 761px) and (max-height: 860px) {
  .hero { padding-top: 32px; }
  .hero__lead { margin-top: 22px; }
  .hero__cta { margin-top: 28px; }
  .facts { margin-top: 36px; }
}
@media (max-width: 1180px) {
  .hero__h { font-size: 60px; }
}
@media (max-width: 960px) {
  .hero__text, .facts { grid-column: 1 / -1; }
  .hero__media { grid-column: 1 / -1; grid-row: auto; margin-top: 40px; }
  .hero__plate { aspect-ratio: 4 / 3; }
  .facts { grid-row: auto; }
}
@media (max-width: 760px) {
  .hero { padding: 20px 0 56px; }
  .hero__text { padding-top: 0; }
  .hero__h { font-size: 40px; line-height: 1.04; }
  .hero__h br { display: none; }
  .hero__lead { font-size: 16px; margin-top: 16px; }
  .hero__cta { margin-top: 22px; flex-direction: column; align-items: stretch; gap: 4px; }
  .hero__cta .btn--line { border: 0; min-height: 44px; font-weight: 500; font-size: 16px; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
  .hero__cta .btn--line:hover { background: none; color: var(--text); }
  .hero__media { margin-top: 16px; }
  .hero__plate { border-radius: 22px; aspect-ratio: 4 / 3.4; }
  .sticker { right: 10px; bottom: -22px; padding: 12px 12px 12px 16px; column-gap: 14px; border-radius: 20px; }
  .sticker__n { font-size: 12px; }
  .sticker__p { font-size: 34px; }
  .facts { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); }
  .facts > div { padding: 0 10px; }
  .facts dt { font-size: 22px; }
  .facts dd { font-size: 12.5px; margin-top: 6px; }
}

/* ---------- меню ---------- */
.menu { padding: 40px 0 var(--sec); }
.menu .sec-head { margin-bottom: 28px; }
.ribbon { position: sticky; top: var(--head-h); z-index: 40; background: var(--bg); padding: 10px 0; margin-bottom: 24px; }
.ribbon__in { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.ribbon__in::-webkit-scrollbar { display: none; }
.ribbon a {
  flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px;
  background: var(--surface); text-decoration: none; font: 500 16px/1 var(--ff); transition: background .2s, color .2s;
}
.ribbon a:hover { background: var(--surface-2); }
.ribbon a.is-active { background: var(--dark); color: #fff; }
.cat { padding-top: 40px; scroll-margin-top: calc(var(--head-h) + 76px); }
.cat__head { display: flex; align-items: baseline; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.cat__h { font: 400 32px/1.05 var(--ff-d); letter-spacing: -.01em; }
.cat__cap { font-size: 15px; color: var(--muted); }
.cat__cap--after { margin-top: 16px; }
.grid-dish { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-dish + .grid-typo { margin-top: 24px; }
.grid-typo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.dish { background: var(--surface); border-radius: 24px; padding: 8px; display: flex; flex-direction: column; }
.dish__media { position: relative; border-radius: 20px; overflow: hidden; background: var(--photo); aspect-ratio: 1; }
.dish__img { display: block; width: 100%; height: 100%; }
.dish__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
@media (hover: hover) { .dish:hover .dish__img img { transform: scale(1.03); } }
.dish__media::after { content: ''; position: absolute; inset: auto 0 0 0; height: 42%; background: linear-gradient(to top, rgb(251 214 142 / .92), rgb(251 214 142 / 0)); pointer-events: none; }
.dish__price { position: absolute; left: 16px; bottom: 14px; z-index: 2; display: flex; flex-direction: column; line-height: 1; pointer-events: none; }
.dish__price b { font: 400 36px/1 var(--ff-d); letter-spacing: -.01em; font-weight: 400; }
.dish__price small { font: 500 13px/1 var(--ff); margin-top: 6px; }
.dish .plus { position: absolute; right: 12px; bottom: 12px; z-index: 2; }
.dish__body { padding: 16px 12px 14px; display: flex; flex-direction: column; flex: 1; }
.dish__name { font: 400 22px/1.1 var(--ff-d); letter-spacing: -.01em; }
.dish__name button { text-align: left; font: inherit; letter-spacing: inherit; }
.dish__name button:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.dish__desc { font-size: 15px; line-height: 1.45; color: var(--muted); margin-top: 8px; }
.dish__note { font: 500 14px/1.35 var(--ff); margin-top: 8px; }
.dish__w { font-size: 14px; color: var(--muted); margin-top: auto; padding-top: 10px; }

.tcard { position: relative; background: var(--surface-2); border-radius: 24px; padding: 18px 18px 16px 20px; min-height: 132px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; }
.tcard__n { font: 600 17px/1.25 var(--ff); }
.tcard__m { font-size: 14px; line-height: 1.35; color: var(--muted); margin-top: 4px; }
.tcard__f { display: flex; align-items: center; gap: 10px; }
.tcard__p { font: 700 20px/1 var(--ff); margin-right: auto; }
.tcard__q { font: 600 14px/1 var(--ff); padding: 7px 9px; border-radius: 999px; background: var(--surface); }
/* раскладка категорий на широком экране: маленькие категории встают рядом */
@media (min-width: 1101px) {
  .menu__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
  .cat { grid-column: 1 / -1; }
  .cat--wok { grid-column: 1 / 7; }
  .cat--snacks { grid-column: 7 / 13; }
  .cat--dessert { grid-column: 1 / 5; }
  .cat--drinks { grid-column: 5 / 9; }
  .cat--sauce { grid-column: 9 / 13; }
  .cat--wok .grid-dish { grid-template-columns: repeat(2, 1fr); }
  .cat--dessert .grid-typo, .cat--drinks .grid-typo, .cat--sauce .grid-typo { grid-template-columns: 1fr; gap: 12px; }
  .cat--dessert .tcard, .cat--drinks .tcard, .cat--sauce .tcard { min-height: 96px; flex-direction: row; align-items: center; gap: 16px; padding: 16px 16px 16px 22px; }
  .cat--dessert .tcard__f, .cat--drinks .tcard__f, .cat--sauce .tcard__f { flex: none; gap: 14px; }
  .cat--dessert .tcard__q, .cat--drinks .tcard__q, .cat--sauce .tcard__q { order: -1; }
}
.snack-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.typo-stack { display: grid; gap: 16px; }
.dish--wide { grid-column: span 2; display: grid; grid-template-columns: 1.1fr 1fr; column-gap: 4px; }
.dish--wide .dish__media { aspect-ratio: auto; align-self: stretch; min-height: 100%; }
.dish--wide .dish__img img { object-fit: cover; }
.dish--wide .dish__body { padding: 24px 20px 18px 24px; }
.dish--wide .dish__name { font-size: 30px; }
.set__list { margin-top: 18px; border-top: 1px solid var(--line); }
.set__list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.3; }
.set__list li span + span { color: var(--muted); white-space: nowrap; }
.set__save { margin-top: 18px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.set__save b { font: 400 34px/1 var(--ff-d); letter-spacing: -.01em; }
.set__save span { font-size: 14px; line-height: 1.35; color: var(--muted); }
@media (max-width: 1100px) { .grid-dish { grid-template-columns: repeat(2, 1fr); } .grid-typo { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }
@media (max-width: 760px) {
  .menu { padding-top: 16px; }
  .ribbon { padding: 8px 0; margin-bottom: 8px; }
  .ribbon .wrap { padding: 0; }
  .ribbon__in { padding: 0 16px; scroll-padding: 0 16px; }
  .ribbon a { padding: 0 16px; font-size: 15px; }
  .cat { padding-top: 28px; scroll-margin-top: calc(var(--head-h) + 66px); }
  .cat__head { margin-bottom: 14px; gap: 6px 16px; }
  .cat__h { font-size: 24px; }
  .cat__cap { font-size: 13.5px; }
  .grid-dish { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .grid-typo { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .grid-dish + .grid-typo { margin-top: 10px; }
  .dish { border-radius: 20px; padding: 6px; }
  .dish__media { border-radius: 16px; }
  .dish__price { left: 10px; bottom: 10px; }
  .dish__price b { font-size: 24px; }
  .dish__price small { font-size: 12px; margin-top: 4px; }
  .dish .plus { width: 44px; height: 44px; right: 8px; bottom: 8px; }
  .tag { left: 10px; top: 10px; font-size: 12px; padding: 6px 9px; }
  .dish__body { padding: 12px 6px 8px; }
  .dish__name { font-size: 18px; hyphens: auto; } /* «Запечённый» на 320 не распирает карточку */
  .dish__desc { font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .dish__note { font-size: 13px; }
  .dish__w { font-size: 13px; }
  .tcard { border-radius: 20px; padding: 14px 12px 12px 14px; min-height: 132px; }
  .tcard__n { font-size: 15.5px; }
  .tcard__m { font-size: 13px; }
  .tcard__p { font-size: 18px; }
  .tcard__q { position: absolute; right: 10px; top: 10px; }
  .snack-grid { gap: 10px; }
  .typo-stack { gap: 10px; }
  .dish--wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 6px; }
  .dish--wide .dish__media { aspect-ratio: 1; min-height: 0; align-self: start; }
  .dish--wide .dish__body { padding: 10px 8px 8px 10px; }
  .dish--wide .dish__name { font-size: 20px; }
  .dish--wide .dish__desc { -webkit-line-clamp: 3; }
  .dish--wide .set__list { display: none; }
  .dish--wide .set__save { margin-top: 10px; gap: 2px; }
  .dish--wide .set__save b { font-size: 24px; }
  .dish--wide .set__save span { font-size: 12.5px; }
}

/* ---------- полоса доверия ---------- */
.trust { background: var(--surface); padding: 26px 0; }
.trust__list { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 0; font-size: 16px; }
.trust__list li + li::before { content: '·'; margin: 0 18px; color: var(--muted); }
@media (max-width: 900px) {
  .trust { padding: 22px 0; }
  .trust__list { flex-direction: column; align-items: flex-start; gap: 10px; font-size: 15px; }
  .trust__list li { display: flex; align-items: center; gap: 12px; }
  .trust__list li::before, .trust__list li + li::before { content: ''; margin: 0; color: inherit; width: 26px; height: 1px; background: currentColor; opacity: .5; flex: none; }
}

/* ---------- доставка ---------- */
.delivery__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.delivery__intro { grid-column: 1 / 6; }
.checker { grid-column: 7 / 13; background: var(--surface); border-radius: 28px; padding: 32px; }
.zones { margin-top: 72px; }
.zt { width: 100%; border-collapse: collapse; }
.zt th, .zt td { text-align: left; vertical-align: top; padding: 22px 20px 22px 0; border-bottom: 1px solid var(--line); }
.zt thead th { font: 500 13px/1.2 var(--ff); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 0; padding-bottom: 14px; }
.zt tbody th { font: 400 20px/1.1 var(--ff-d); letter-spacing: -.01em; white-space: nowrap; }
.zt td { font-size: 16px; }
.zt td:nth-child(2) { max-width: 360px; color: var(--muted); }
.zt td:nth-child(3), .zt td:nth-child(4) { white-space: nowrap; }
.zones__pick { margin-top: 28px; font: 500 17px/1.4 var(--ff); }
.zones__note { margin-top: 8px; font-size: 14px; color: var(--muted); }
@media (max-width: 960px) {
  .delivery__intro, .checker { grid-column: 1 / -1; }
  .checker { padding: 24px; }
}
@media (max-width: 760px) {
  .checker { padding: 20px 16px; border-radius: 24px; margin-top: 8px; }
  .zones { margin-top: 40px; }
  .zt thead { display: none; }
  .zt, .zt tbody, .zt tr, .zt th, .zt td { display: block; }
  .zt tr { background: var(--surface); border-radius: 20px; padding: 18px 18px 8px; margin-bottom: 10px; }
  .zt tbody th { border: 0; padding: 0 0 10px; font-size: 22px; }
  .zt td { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
  .zt td:last-child { border-bottom: 0; }
  .zt td::before { content: attr(data-l); color: var(--muted); flex: none; max-width: 45%; text-align: left; }
  .zt td { text-align: right; white-space: normal !important; }
  .zt td:nth-child(2) { max-width: none; color: var(--text); }
  .zones__pick { font-size: 16px; margin-top: 18px; }
}

/* компонент проверки адреса */
.ac { position: relative; }
.f__l { display: block; font: 500 14px/1.2 var(--ff); margin-bottom: 8px; }
.input {
  width: 100%; min-height: 56px; padding: 14px 18px; border-radius: 16px; border: 1.5px solid var(--line);
  background: var(--surface); font-size: 17px; transition: border-color .2s;
  -webkit-appearance: none; appearance: none;
}
.input::placeholder { color: #9b8878; }
.input:hover { border-color: #e2c29c; }
.input:focus { outline: none; border-color: var(--text); }
.input:focus-visible { outline: none; box-shadow: 0 0 0 3px rgb(31 20 14 / .12); }
.input[aria-invalid="true"] { border-color: var(--accent); }
select.input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%231F140E' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
textarea.input { min-height: 96px; resize: vertical; line-height: 1.4; }
.ac__field { position: relative; }
.ac__list {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; background: var(--surface);
  border-radius: 16px; box-shadow: var(--shadow); padding: 6px; max-height: 320px; overflow: auto;
}
.ac__opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0 14px; border-radius: 12px; cursor: pointer; font-size: 16px; }
.ac__opt small { color: var(--muted); font-size: 13px; }
.ac__opt[aria-selected="true"], .ac__opt:hover { background: var(--bg); }
.ac__hint { font-size: 14px; color: var(--muted); margin: 14px 0 10px; }
.ac__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dchip { min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--bg); font: 500 15px/1 var(--ff); transition: background .2s, color .2s; }
.dchip:hover { background: var(--surface-2); }
.dchip[aria-pressed="true"] { background: var(--dark); color: #fff; }
.ac__res:not(:empty) { margin-top: 24px; }
.zres { border-top: 1px solid var(--line); padding-top: 22px; animation: rise .35s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.zres__street { font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.zres__title { font: 400 26px/1.1 var(--ff-d); letter-spacing: -.01em; }
.zres__text { font-size: 16px; line-height: 1.5; margin-top: 8px; }
.zres--nf .zres__text { margin-top: 0; }
.zres__text a { font-weight: 600; white-space: nowrap; }
.zres__vals { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 32px; margin-top: 18px; }
.zres__vals div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.zres__vals dd { font: 400 22px/1.1 var(--ff-d); letter-spacing: -.01em; }
.zres__vals dt { font-size: 13px; color: var(--muted); margin-top: 6px; }
.zres__acts { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; margin-top: 22px; }
.ac--checkout .zres { padding-top: 14px; }
.ac--checkout .zres__title { font-size: 19px; }
.ac--checkout .zres__vals { margin-top: 10px; gap: 8px 22px; }
.ac--checkout .zres__vals dd { font-size: 16px; }
.ac--checkout .zres__acts { margin-top: 8px; }
.ac--checkout .ac__res:not(:empty) { margin-top: 16px; }
.ac--checkout .dchip { min-height: 36px; font-size: 14px; padding: 0 12px; }
@media (max-width: 760px) {
  .ac__opt { min-height: 48px; }
  .dchip { min-height: 44px; padding: 0 16px; }
  .ac--checkout .dchip { min-height: 44px; }
  .zres__vals { grid-template-columns: 1fr; gap: 14px; }
  .zres__title { font-size: 22px; }
  .zres__acts .btn { flex: 1 1 100%; }
}

/* ---------- баллы ---------- */
.bonus { background: var(--surface-2); }
.bonus__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.bills { grid-column: 1 / 7; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.bill {
  position: relative; background: var(--surface); padding: 26px 24px 30px;
  font: 400 15px/1.35 var(--ff); font-variant-numeric: tabular-nums;
  -webkit-mask: radial-gradient(circle at 8px 100%, transparent 6px, #000 6.5px) -8px 100% / 16px 100% repeat-x;
          mask: radial-gradient(circle at 8px 100%, transparent 6px, #000 6.5px) -8px 100% / 16px 100% repeat-x;
}
.bill--agg { color: var(--muted); transform: rotate(-1.5deg); margin-top: 18px; }
.bill--site { transform: rotate(1deg); }
.bill__h { font: 600 13px/1.2 var(--ff); letter-spacing: .08em; text-transform: uppercase; padding-bottom: 14px; border-bottom: 1.5px dashed currentColor; margin-bottom: 12px; }
.bill--agg .bill__h { color: var(--muted); }
.bill__lines { display: grid; gap: 8px; }
.bill__lines li, .bill__tot, .bill__pts { display: flex; justify-content: space-between; gap: 10px; }
.bill__lines b { font-weight: 500; white-space: nowrap; }
.bill__tot { margin-top: 14px; padding-top: 12px; border-top: 1.5px dashed currentColor; font-weight: 600; font-size: 17px; }
.bill__tot b, .bill__pts b { white-space: nowrap; }
.bill__pts { margin-top: 6px; }
.bills__diff { grid-column: 1 / -1; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; }
.bills__diff b { font: 400 72px/1 var(--ff-d); letter-spacing: -.02em; }
.bills__diff span { font-size: 17px; line-height: 1.4; max-width: 18em; }
.bonus__facts { grid-column: 8 / 13; display: grid; }
.bfact { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 22px 0; border-top: 1.5px solid var(--text); }
.bfact:first-child { padding-top: 0; border-top: 0; }
.bfact__num { font: 400 36px/1 var(--ff-d); letter-spacing: -.02em; }
.bfact__h { font: 600 19px/1.25 var(--ff); }
.bfact p:not(.bfact__num) { font-size: 15.5px; line-height: 1.5; margin-top: 6px; }
.bonus__cta { margin-top: 12px; justify-self: start; }
@media (max-width: 1100px) {
  .bills { grid-column: 1 / -1; max-width: 640px; }
  .bonus__facts { grid-column: 1 / -1; margin-top: 40px; }
}
@media (max-width: 760px) {
  .bills { gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bill { padding: 16px 12px 22px; font-size: 13px; }
  .bill__h { font-size: 11px; padding-bottom: 10px; margin-bottom: 10px; }
  .bill__lines { gap: 6px; }
  .bill__tot { font-size: 14px; margin-top: 10px; padding-top: 10px; }
  .bill--agg { margin-top: 12px; }
  .bills__diff b { font-size: 48px; }
  .bills__diff span { font-size: 15px; }
  .bfact { grid-template-columns: 64px 1fr; gap: 12px; padding: 18px 0; }
  .bfact__num { font-size: 26px; }
  .bfact__h { font-size: 17px; }
  .bfact p:not(.bfact__num) { font-size: 14.5px; }
  .bonus__cta { width: 100%; }
}

/* ---------- трекер: превью на тёмном ---------- */
.tp { background: var(--dark); color: var(--bg); }
.tp .eyebrow { color: rgb(255 243 227 / .6); }
.tp .lead { color: rgb(255 243 227 / .82); }
.tp__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.tp__text { grid-column: 1 / 7; }
.tp__text .btn { margin-top: 36px; }
.tp__card { grid-column: 8 / 13; background: var(--dark-2); border: 1px solid rgb(255 243 227 / .1); border-radius: 28px; padding: 36px 36px 32px; }
.tp__num { font-size: 14px; color: rgb(255 243 227 / .6); }
.tp__timer { font: 400 44px/1.05 var(--ff-d); letter-spacing: -.01em; color: var(--accent-on-dark); margin: 10px 0 36px; min-height: 2.1em; }
.tp__timer.is-done { color: var(--bg); }
.tp__stage { margin-top: 28px; font-size: 16px; color: rgb(255 243 227 / .82); min-height: 3em; }
@media (max-width: 960px) {
  .tp__text, .tp__card { grid-column: 1 / -1; }
  .tp__card { margin-top: 24px; }
}
@media (max-width: 760px) {
  .tp__text .btn { width: 100%; margin-top: 24px; }
  .tp__card { padding: 24px 20px; border-radius: 24px; }
  .tp__timer { font-size: 28px; margin-bottom: 24px; }
  .tp__stage { margin-top: 12px; font-size: 15px; }
}

/* трекер общий */
.trk { display: grid; grid-template-columns: repeat(4, 1fr); }
.trk__s { position: relative; padding: 38px 18px 0 0; --f: 0; }
.trk__dot { position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); background: var(--bg); z-index: 1; transition: background .3s, border-color .3s; }
.trk__seg { position: absolute; left: 20px; right: 0; top: 8px; height: 4px; background: var(--line); overflow: hidden; }
.trk__s:last-child .trk__seg { display: none; }
.trk__seg i { display: block; width: 100%; height: 100%; background: var(--text); transform: scaleX(var(--f)); transform-origin: left; transition: transform .6s var(--ease); }
.trk__n { display: block; font: 600 17px/1.2 var(--ff); color: var(--muted); transition: color .3s; }
.trk__t { display: block; font-size: 14px; line-height: 1.4; color: var(--muted); margin-top: 6px; opacity: .75; }
.trk__s.is-done .trk__dot, .trk__s.is-cur .trk__dot { background: var(--text); border-color: var(--text); }
.trk__s.is-done .trk__n, .trk__s.is-cur .trk__n { color: var(--text); }
.trk__s.is-cur .trk__t { color: var(--text); opacity: 1; }
.trk__s.is-cur .trk__dot::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--text); animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
/* на тёмном */
.tp .trk__dot { border-color: rgb(255 243 227 / .25); background: var(--dark-2); }
.tp .trk__seg { background: rgb(255 243 227 / .16); }
.tp .trk__seg i { background: var(--bg); }
.tp .trk__n { color: rgb(255 243 227 / .5); font-size: 16px; }
.tp .trk__s.is-done .trk__dot, .tp .trk__s.is-cur .trk__dot { background: var(--bg); border-color: var(--bg); }
.tp .trk__s.is-done .trk__n, .tp .trk__s.is-cur .trk__n { color: var(--bg); }
.tp .trk__s.is-cur .trk__dot::after { border-color: var(--bg); }
@media (max-width: 760px) {
  .trk { grid-template-columns: 1fr; }
  .trk__s { padding: 0 0 26px 40px; min-height: 48px; }
  .trk__s:last-child { padding-bottom: 0; }
  .trk__seg { left: 8px; right: auto; top: 20px; bottom: 0; width: 4px; height: auto; }
  .trk__seg i { transform: scaleY(var(--f)); transform-origin: top; }
  .trk__n { line-height: 20px; }
  .trk--compact .trk__s { padding-bottom: 18px; min-height: 38px; }
}

/* ---------- отзывы ---------- */
.rev__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.rev { grid-column: span 6; background: var(--surface); border-radius: 24px; padding: 32px 32px 28px; display: flex; flex-direction: column; gap: 28px; }
.rev blockquote { font-size: 18px; line-height: 1.55; }
.rev figcaption { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.rev figcaption b { font: 600 16px/1.2 var(--ff); }
.rev time { font-size: 14px; color: var(--muted); white-space: nowrap; }
.rev--big { grid-column: 1 / -1; background: none; border-radius: 0; padding: 0 0 24px; gap: 24px; }
.rev--big blockquote { font: 500 36px/1.3 var(--ff); letter-spacing: -.01em; max-width: 30em; text-wrap: pretty; }
.rev--big figcaption { border-top: 0; padding-top: 0; justify-content: flex-start; gap: 16px; }
@media (max-width: 960px) { .rev { grid-column: 1 / -1; } .rev__grid { gap: 12px; } .rev--big blockquote { font-size: 28px; } }
@media (max-width: 760px) { .rev { padding: 22px 20px 20px; gap: 18px; border-radius: 20px; } .rev blockquote { font-size: 16px; } .rev--big { padding: 0 0 16px; border-radius: 0; } .rev--big blockquote { font-size: 21px; line-height: 1.35; } }

/* ---------- FAQ ---------- */
.faq { padding-top: 0; }
.faq__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.faq .sec-head { grid-column: 1 / 5; }
.faq__list { grid-column: 6 / 13; border-top: 1.5px solid var(--text); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 76px; padding: 18px 0; font: 600 20px/1.3 var(--ff); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ''; flex: none; width: 20px; height: 20px; background: linear-gradient(currentColor, currentColor) center / 20px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 20px no-repeat; transition: transform .25s var(--ease); }
.qa[open] summary::after { background: linear-gradient(currentColor, currentColor) center / 20px 2px no-repeat; }
.qa p { font-size: 17px; line-height: 1.55; padding: 0 48px 26px 0; max-width: 40em; }
@media (max-width: 960px) { .faq .sec-head, .faq__list { grid-column: 1 / -1; } }
@media (max-width: 760px) { .qa summary { font-size: 17px; min-height: 64px; } .qa p { font-size: 15.5px; padding-right: 0; } }

/* ---------- футер ---------- */
.ftr { background: var(--dark); color: rgb(255 243 227 / .78); padding: 96px 0 32px; }
.ftr a { text-decoration: none; transition: color .2s; }
.ftr a:hover { color: var(--accent-on-dark); }
.ftr__grid { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: 32px; }
.logo--light { color: var(--bg); }
.logo--light:hover { color: var(--bg) !important; }
.ftr__brand .logo__w { font-size: 30px; }
.ftr__brand p { margin-top: 14px; max-width: 24em; }
.ftr__h { font: 500 13px/1 var(--ff); letter-spacing: .08em; text-transform: uppercase; color: rgb(255 243 227 / .5); margin-bottom: 18px; }
.ftr__col ul { display: grid; gap: 10px; }
.ftr__tel { color: var(--accent-on-dark); font: 600 20px/1.2 var(--ff); }
.ftr__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; border-top: 1px solid rgb(255 243 227 / .12); padding-top: 22px; margin-top: 72px; }
@media (max-width: 760px) {
  .ftr { padding: 56px 0 24px; }
  .ftr__grid { grid-template-columns: 1fr; gap: 36px; }
  .ftr__bottom { margin-top: 44px; }
  .ftr__bottom { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* ---------- корзина-пилюля и нижняя панель ---------- */
.pill {
  position: fixed; left: 50%; bottom: 24px; z-index: 45; transform: translate(-50%, 140%);
  display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 12px;
  min-width: 320px; max-width: 420px; width: max-content; min-height: 60px; padding: 0 22px 0 12px;
  border-radius: 999px; background: var(--dark); color: #fff; overflow: hidden;
  transition: transform .45s var(--ease), visibility .45s;
  visibility: hidden;
}
.pill.is-on { transform: translate(-50%, 0); visibility: visible; }
.pill__n, .mpill__n { display: grid; place-items: center; min-width: 32px; height: 32px; padding: 0 8px; border-radius: 16px; background: var(--bg); color: var(--text); font: 700 15px/1 var(--ff); }
.pill__sum { font: 400 22px/1 var(--ff-d); letter-spacing: -.01em; }
.pill__go { justify-self: end; display: inline-flex; align-items: center; gap: 8px; font: 600 16px/1 var(--ff); padding-left: 24px; }
.pill__bar, .mpill__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgb(255 255 255 / .12); }
.pill__bar i, .mpill__bar i { display: block; height: 100%; background: var(--accent-on-dark); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
@media (max-width: 760px) { .pill { display: none; } }

.mbar { display: none; }
@media (max-width: 760px) {
  body[data-page="index"] { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  .mbar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgb(255 243 227 / .95);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  }
  .mbar__empty, .mbar__full { display: flex; gap: 8px; align-items: center; min-height: 48px; }
  .mbar__full { display: none; }
  .mbar.is-full .mbar__empty { display: none; }
  .mbar.is-full .mbar__full { display: flex; }
  .mbar__call { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--text); text-decoration: none; font: 600 16px/1 var(--ff); }
  .mbar__menu { flex: 1; min-height: 48px; }
  .mbar__round { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--text); flex: none; }
  .mpill { position: relative; flex: 1; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 8px; border-radius: 999px; background: var(--dark); color: #fff; overflow: hidden; }
  .mpill__n { min-width: 32px; height: 32px; }
  .mpill__sum { font: 400 19px/1 var(--ff-d); letter-spacing: -.01em; }
  .mpill__go { margin-left: auto; font: 600 16px/1 var(--ff); }
}

/* полёт в корзину */
.fly { position: fixed; z-index: 200; width: 56px; height: 56px; pointer-events: none; will-change: transform; }
.fly__in { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: var(--photo); border: 3px solid #fff; will-change: transform; }
.fly__in img { width: 100%; height: 100%; object-fit: cover; }
.fly__in--np { display: grid; place-items: center; background: var(--dark); color: #fff; }

/* тост */
.toast {
  position: fixed; left: 50%; bottom: 100px; z-index: 150; transform: translate(-50%, 16px); opacity: 0;
  display: flex; align-items: center; gap: 18px; max-width: calc(100vw - 32px); width: max-content;
  padding: 12px 12px 12px 22px; min-height: 56px; border-radius: 999px; background: var(--surface); color: var(--text);
  box-shadow: 0 10px 30px rgb(31 20 14 / .16); font: 500 15px/1.3 var(--ff);
  transition: opacity .25s, transform .3s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast__edit { min-height: 36px; padding: 0 16px; border-radius: 999px; background: var(--bg); font-weight: 600; white-space: nowrap; }
.toast__edit:hover { background: var(--surface-2); }
@media (max-width: 760px) { .toast { bottom: calc(84px + env(safe-area-inset-bottom)); } }

/* ---------- слои ---------- */
.layer { position: fixed; inset: 0; z-index: 100; display: flex; }
.layer__bg { position: absolute; inset: 0; background: rgb(31 20 14 / .45); opacity: 0; transition: opacity .3s; }
.layer.is-open .layer__bg { opacity: 1; }
.panel { position: relative; background: var(--surface); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.grab { display: none; }
.layer--drawer { justify-content: flex-end; }
.layer--drawer .panel { width: 440px; max-width: 100%; height: 100%; transform: translateX(100%); transition: transform .34s var(--ease); }
.layer--drawer.is-open .panel { transform: none; }
.layer--modal { align-items: center; justify-content: center; padding: 24px; }
.layer--modal .panel { border-radius: 28px; width: min(920px, 100%); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .25s, transform .34s var(--ease); overflow: hidden; }
.layer--modal.is-open .panel { opacity: 1; transform: none; }
.layer--sm .panel { width: min(600px, 100%); }
@media (max-width: 760px) {
  .grab { display: block; width: 44px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto; position: absolute; left: 50%; top: 8px; transform: translateX(-50%); }
  .panel__drag { touch-action: none; }
  .layer--drawer .panel, .layer--modal .panel {
    position: absolute; left: 0; right: 0; bottom: 0; width: 100%; max-height: 92vh; max-height: 92dvh;
    border-radius: 28px 28px 0 0; transform: translateY(100%); opacity: 1; transition: transform .34s var(--ease);
  }
  .layer--drawer .panel { height: 92vh; height: 92dvh; }
  .layer--drawer.is-open .panel, .layer--modal.is-open .panel { transform: none; }
  .layer--modal { padding: 0; }
}

/* корзина */
.cart__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 20px 16px 28px; border-bottom: 1px solid var(--line); position: relative; }
.cart__title { font: 400 28px/1 var(--ff-d); letter-spacing: -.01em; }
.cart__count { font: 500 16px/1 var(--ff); color: var(--muted); vertical-align: middle; display: inline-block; }
.cart__body { flex: 1; overflow: auto; padding: 8px 28px 24px; overscroll-behavior: contain; }
.cart__empty { padding: 56px 0; display: flex; flex-direction: column; align-items: flex-start; }
.cart__emptyT { font: 400 40px/1 var(--ff-d); letter-spacing: -.01em; }
.cart__emptyS { font-size: 17px; line-height: 1.45; margin: 14px 0 28px; color: var(--muted); max-width: 22em; }
.cl { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cl--np { grid-template-columns: 1fr auto; }
.cl__img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; background: var(--photo); }
.cl__name { font: 600 16px/1.25 var(--ff); }
.cl__cfg { display: block; font-size: 14px; line-height: 1.35; color: var(--muted); margin-top: 3px; text-align: left; }
.cl__cfg--btn { text-decoration: underline dotted; text-underline-offset: 3px; padding: 2px 0; }
.cl__cfg--btn:hover { color: var(--text); }
.cl__sum { font: 700 16px/1.25 var(--ff); white-space: nowrap; }
.qty { display: inline-flex; align-items: center; gap: 2px; margin-top: 10px; background: var(--bg); border-radius: 999px; padding: 2px; }
.qty button { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; }
.qty button::after { content: ''; position: absolute; inset: -4px; } /* тап-зона 44×44 при визуальном круге 36 */
.qty button:hover:not(:disabled) { background: var(--surface-2); }
.qty button:disabled { opacity: .3; }
.qty button svg { width: 16px; height: 16px; }
.qty output { min-width: 24px; text-align: center; font: 600 15px/1 var(--ff); }
.qty--lg button { width: 44px; height: 44px; }
.qty--lg output { font-size: 18px; min-width: 32px; }
.seg { display: grid; grid-template-columns: repeat(var(--n, 2), 1fr); background: var(--bg); border-radius: 999px; padding: 4px; gap: 4px; }
.seg--mode { margin-top: 28px; }
.seg__i { position: relative; }
.seg__i input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg__i span { display: grid; place-items: center; min-height: 44px; padding: 0 10px; border-radius: 999px; font: 500 15px/1.1 var(--ff); text-align: center; transition: background .2s, color .2s; }
.seg__i input:checked + span { background: var(--dark); color: #fff; }
.seg__i input:focus-visible + span { outline: 3px solid var(--text); outline-offset: 2px; }
.seg__i input:disabled + span { color: #b5a595; text-decoration: line-through; }
.seg__i input:disabled { cursor: not-allowed; }
.cart__addr { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; margin-top: 18px; font-size: 15px; }
.cart__addr b { font-weight: 600; }
.free { margin-top: 18px; padding: 14px 16px; background: var(--bg); border-radius: 16px; transition: background .3s; }
.free__t { font: 500 15px/1.3 var(--ff); }
.free__t b { font-weight: 700; }
.free__bar { height: 6px; background: var(--line); border-radius: 3px; margin-top: 10px; overflow: hidden; }
.free__bar i { display: block; height: 100%; background: var(--text); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); border-radius: 3px; }
.free.is-flash { animation: flash .7s ease-out; }
@keyframes flash { 30% { background: var(--surface-2); } }
.cart__pickup { margin-top: 18px; padding: 14px 16px; background: var(--bg); border-radius: 16px; font: 500 15px/1.35 var(--ff); }
.up { margin-top: 26px; }
.up__t { font: 600 15px/1 var(--ff); margin-bottom: 12px; }
.up__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.upc { background: var(--bg); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.upc__n { font: 600 14px/1.25 var(--ff); }
.upc__m { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.upc .btn-o { margin-top: auto; min-height: 40px; font-size: 14px; padding: 0 8px; }
.cart__foot { padding: 18px 28px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); }
.sum { display: grid; gap: 8px; }
.sum div { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.sum dt { color: var(--muted); }
.sum dd { font-weight: 500; text-align: right; }
.sum__tot { margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--line); }
.sum__tot dt, .sum__tot dd { color: var(--text); font: 400 22px/1.1 var(--ff-d); letter-spacing: -.01em; }
.pts { font-size: 14px; color: var(--muted); margin-top: 8px; }
.minmsg { margin-top: 12px; font: 500 14px/1.4 var(--ff); padding: 10px 14px; background: var(--bg); border-radius: 12px; }
.cart__foot .btn { margin-top: 14px; }
.nozone p { font: 500 16px/1.4 var(--ff); padding: 14px 16px; background: var(--bg); border-radius: 16px; }
.nozone .btn { margin-top: 12px; }
@media (max-width: 760px) {
  .cart__head { padding: 24px 16px 14px 20px; }
  .cart__title { font-size: 24px; }
  .cart__body { padding: 4px 20px 20px; }
  .cart__foot { padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); }
  .up__row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .upc { padding: 10px; }
  .upc .btn-o { font-size: 13px; min-height: 44px; }
  .sum__tot dt, .sum__tot dd { font-size: 20px; }
  .cart__emptyT { font-size: 32px; }
  .cart__foot .sum { gap: 4px; }
  .cart__foot .sum div { font-size: 14px; }
  .cart__foot .sum__tot { padding-top: 8px; }
  .cart__foot .btn { margin-top: 10px; min-height: 52px; }
  .minmsg { margin-top: 8px; padding: 8px 12px; font-size: 13px; }
}
@media (max-width: 479px) {
  /* строка позиции: название сверху, степпер и цена в одну строку */
  .cl { grid-template-columns: 56px 1fr auto; grid-template-areas: "img name name" "img cfg cfg" "img qty sum"; gap: 0 14px; }
  .cl--np { grid-template-columns: 1fr auto; grid-template-areas: "name name" "cfg cfg" "qty sum"; }
  .cl__img { grid-area: img; }
  .cl__info { display: contents; }
  .cl__name { grid-area: name; }
  .cl__cfg { grid-area: cfg; justify-self: start; }
  .cl .qty { grid-area: qty; justify-self: start; margin-top: 8px; }
  .cl__sum { grid-area: sum; align-self: center; margin-top: 8px; }
  /* допродажи — компактная лента в одну строку */
  .up { margin-top: 20px; }
  .up__t { margin-bottom: 10px; }
  .up__row { display: flex; gap: 8px; overflow-x: auto; margin: 0 -20px; padding: 0 20px 2px; scroll-padding-inline: 20px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .up__row::-webkit-scrollbar { display: none; }
  .upc { flex: none; flex-direction: row; align-items: center; gap: 12px; min-height: 64px; padding: 10px 10px 10px 14px; scroll-snap-align: start; }
  .upc__n { white-space: nowrap; }
  .upc__m { display: none; }
  .upc .btn-o { margin-top: 0; flex: none; min-height: 44px; padding: 0 12px; }
}

/* модалка блюда */
.dm { display: grid !important; grid-template-columns: 1fr 1fr; width: min(980px, 100%) !important; height: min(640px, calc(100dvh - 48px)); }
.dm__drag { display: none; }
.dm__x { position: absolute; right: 16px; top: 16px; z-index: 3; background: var(--surface); }
.dm__media { background: var(--photo); min-height: 0; }
.dm__media img { width: 100%; height: 100%; object-fit: cover; }
.dm__side { display: flex; flex-direction: column; min-height: 0; }
.dm__scroll { flex: 1; overflow: auto; padding: 36px 36px 20px; overscroll-behavior: contain; }
.dm__scroll .tag { position: static; display: inline-block; background: var(--surface-2); margin-bottom: 14px; }
.dm__title { font: 400 36px/1.05 var(--ff-d); letter-spacing: -.01em; padding-right: 40px; }
.dm__desc { font-size: 16px; line-height: 1.5; color: var(--muted); margin-top: 10px; }
.dm__w { font-size: 15px; color: var(--muted); margin-top: 6px; }
.dm__note { font: 500 15px/1.4 var(--ff); margin-top: 8px; }
.dm__opts { margin-top: 8px; }
.dm__foot { padding: 16px 36px 24px; border-top: 1px solid var(--line); }
.opt { border: 0; padding: 0; margin: 22px 0 0; min-width: 0; }
.opt__t { font: 600 15px/1.2 var(--ff); margin-bottom: 10px; padding: 0; }
.opt__meta { font-size: 14px; color: var(--muted); margin-top: 8px; }
.opt__note { font: 500 14px/1.35 var(--ff); margin-top: 8px; }
.opt--row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.opt--row .opt__t { margin-bottom: 2px; }
.opt--row .opt__meta { margin-top: 0; }
.opt--row .qty { margin-top: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--bg); border: 1.5px solid transparent; cursor: pointer; font-size: 15px; transition: background .2s, border-color .2s; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip__p { color: var(--muted); font-size: 14px; }
.chip:hover { background: var(--surface-2); }
.chip:has(input:checked) { border-color: var(--text); background: var(--surface); }
.chip:has(input:checked) .chip__l { font-weight: 600; }
.chip:has(input:focus-visible) { outline: 3px solid var(--text); outline-offset: 2px; }
.chip--strike:has(input:checked) .chip__l { text-decoration: line-through; font-weight: 500; }
.check { display: inline-flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 15px; line-height: 1.4; position: relative; min-height: 28px; }
.check input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; }
.check__box { flex: none; width: 24px; height: 24px; border-radius: 8px; border: 1.5px solid var(--muted); background: var(--surface); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.check input:checked + .check__box { background: var(--dark); border-color: var(--dark); }
.check input:checked + .check__box::after { content: ''; width: 10px; height: 6px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); }
.check input:focus-visible + .check__box { outline: 3px solid var(--text); outline-offset: 2px; }
.check input[aria-invalid="true"] + .check__box { border-color: var(--accent); }
@media (max-width: 760px) {
  .dm { display: flex !important; flex-direction: column; height: auto; }
  .dm__drag { display: block; position: absolute; left: 0; right: 0; top: 0; height: 28px; z-index: 3; }
  .dm__drag .grab { background: rgb(255 255 255 / .8); }
  .dm__x { right: 12px; top: 12px; }
  .dm__media { height: 34vh; height: 34dvh; flex: none; }
  .dm__side { flex: 1; min-height: 0; }
  .dm__scroll { padding: 20px 20px 12px; }
  .dm__title { font-size: 28px; }
  .dm__desc { font-size: 15px; }
  .dm__foot { padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); }
}

/* простые модалки */
.pm__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 20px 12px 32px; position: relative; }
.pm__title { font: 400 28px/1.1 var(--ff-d); letter-spacing: -.01em; }
.pm__body { padding: 8px 32px 32px; overflow: auto; }
.pm__text { font-size: 16px; line-height: 1.6; margin-bottom: 24px; }
@media (max-width: 760px) {
  .pm__head { padding: 26px 12px 8px 20px; }
  .pm__title { font-size: 22px; }
  .pm__body { padding: 8px 20px calc(24px + env(safe-area-inset-bottom)); }
  .pm__body > .btn { width: 100%; }
}

/* оформление */
.layer--co .panel { width: min(1080px, 100%); }
.co__head { display: flex; align-items: center; justify-content: space-between; padding: 24px 24px 16px 36px; border-bottom: 1px solid var(--line); position: relative; }
.co__title { font: 400 30px/1 var(--ff-d); letter-spacing: -.01em; }
.co__grid { display: grid; grid-template-columns: 1fr 340px; min-height: 0; flex: 1; overflow: auto; overscroll-behavior: contain; background: linear-gradient(to left, var(--bg) 340px, var(--line) 340px, var(--line) 341px, transparent 341px); }
.co__main { padding: 8px 36px 32px; min-width: 0; }
.co__main > .seg--mode { margin-top: 20px; max-width: 420px; }
.co__row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.co__addr { margin-top: 22px; }
.co__row4 { display: grid; grid-template-columns: 1.1fr 1.3fr 1fr 1fr; gap: 12px; margin-top: 18px; }
.co__pick { margin-top: 22px; font: 500 16px/1.4 var(--ff); padding: 14px 16px; background: var(--bg); border-radius: 16px; }
.f { margin-top: 18px; min-width: 0; }
.co__row2 .f, .co__row4 .f { margin-top: 0; }
.f__h { font-size: 13px; color: var(--muted); margin-top: 6px; }
.f__count { text-align: right; }
.f__e { font: 500 14px/1.35 var(--ff); color: var(--accent); margin-top: 6px; }
#coStreet-e { margin-top: 10px; }
.radios { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.radio { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-size: 16px; }
.radio input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.radio__dot { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--muted); display: grid; place-items: center; flex: none; background: var(--surface); }
.radio input:checked + .radio__dot { border-color: var(--dark); }
.radio input:checked + .radio__dot::after { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--dark); }
.radio input:focus-visible + .radio__dot { outline: 3px solid var(--text); outline-offset: 2px; }
.radio input:disabled ~ span { color: #b5a595; }
#coSlotF, #coChangeF .f { max-width: 320px; }
.co__submit { margin-top: 28px; }
.co__demo { font-size: 12.5px; color: var(--muted); margin-top: 10px; text-align: center; }
.co__sum { padding: 28px 28px 32px; align-self: start; position: sticky; top: 0; }
.co__sumT { font: 400 22px/1 var(--ff-d); letter-spacing: -.01em; margin-bottom: 16px; }
.co__lines { display: grid; gap: 12px; margin-bottom: 18px; }
.co__lines li { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; line-height: 1.35; }
.co__lines small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.co__lines b { font-weight: 600; white-space: nowrap; }
.co__mobsum { display: none; }
@media (max-width: 900px) {
  .co__grid { grid-template-columns: 1fr; background: none; }
  .co__sum { display: none; }
  .co__mobsum { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 10px 10px 10px 16px; background: var(--bg); border-radius: 16px; font: 600 15px/1.3 var(--ff); }
}
@media (max-width: 760px) {
  .layer--co .panel { height: 92vh; height: 92dvh; }
  .co__head { padding: 26px 12px 12px 20px; }
  .co__title { font-size: 24px; }
  .co__main { padding: 4px 20px calc(28px + env(safe-area-inset-bottom)); }
  .co__row2 { grid-template-columns: 1fr; gap: 16px; }
  .co__row4 { grid-template-columns: 1fr 1fr; }
  .radios { flex-direction: column; gap: 0; }
}

/* ---------- страница статуса ---------- */
.st { padding: 56px 0 var(--sec); }
.st__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px 48px; align-items: start; }
.st__main { grid-column: 1 / 8; }
.st__side { grid-column: 8 / 13; position: sticky; top: calc(var(--head-h) + 24px); }
.st__timer { font: 400 72px/1.02 var(--ff-d); letter-spacing: -.01em; min-height: 2.04em; }
.st__sub { font-size: 18px; color: var(--muted); margin-top: 14px; }
.st__demo { display: flex; align-items: center; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; margin-top: 28px; padding: 14px 20px; background: var(--surface-2); border-radius: 16px; font: 500 15px/1.4 var(--ff); }
.st__trk { margin-top: 40px; }
.route { margin: 0 0 16px; background: var(--surface); border-radius: 24px; padding: 14px 14px 16px; }
.route__svg { display: block; width: 100%; height: auto; }
.route__river { fill: none; stroke: var(--surface-2); stroke-width: 18; stroke-linecap: round; }
.route__streets path { fill: none; stroke: var(--line); stroke-width: 5; stroke-linecap: round; }
.route__streets .route__lane { stroke-width: 2.5; }
.route__base { fill: none; stroke: var(--muted); stroke-opacity: .45; stroke-width: 3; stroke-dasharray: .012 .012; stroke-linejoin: round; stroke-linecap: round; }
.route__done { fill: none; stroke: var(--text); stroke-width: 6; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset .6s linear; }
.route__kbg { fill: var(--dark); }
.route__flame { fill: var(--bg); transform-box: fill-box; transform-origin: 50% 100%; }
.route__pulse { fill: none; stroke: var(--text); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.route.is-cooking .route__pulse { animation: pulse 1.6s ease-out infinite; }
.route.is-cooking .route__flame { animation: flicker .5s ease-in-out infinite alternate; }
@keyframes flicker { from { transform: scale(1, 1); } to { transform: scale(.88, 1.12); } }
.route__h circle { fill: var(--surface); stroke: var(--text); stroke-width: 2; transition: fill .3s; }
.route__h path { stroke: var(--text); transition: stroke .3s; }
.route.is-done .route__h circle { fill: var(--dark); }
.route.is-done .route__h path { stroke: var(--bg); }
.route__chk { opacity: 0; transition: opacity .3s; }
.route.is-done .route__house { opacity: 0; }
.route.is-done .route__chk { opacity: 1; }
.route__car { opacity: 0; transition: opacity .3s, transform .6s linear; }
.route__car rect { fill: var(--dark); }
.route__car path { stroke: var(--bg); }
.route.is-onway .route__car { opacity: 1; }
.route__legend { display: flex; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; margin-top: 10px; padding: 0 4px; font-size: 14px; line-height: 1.35; color: var(--muted); }
.route__legend b { color: var(--text); font-weight: 600; margin-right: 4px; }
.route__to { text-align: right; }
.ocard__pics { display: flex; margin: -4px 0 18px; }
.ocard__pics img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--photo); border: 3px solid var(--surface); }
.ocard__pics img + img { margin-left: -14px; }
.st__ctrl { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); }
.switch { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font: 500 15px/1.2 var(--ff); text-align: left; }
.switch__t { width: 48px; height: 28px; border-radius: 14px; background: var(--line); position: relative; flex: none; transition: background .2s; }
.switch__t i { position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); box-shadow: 0 1px 3px rgb(31 20 14 / .2); }
.switch[aria-checked="true"] .switch__t { background: var(--dark); }
.switch[aria-checked="true"] .switch__t i { transform: translateX(20px); }
.courier { margin-top: 32px; scroll-margin: 110px 0 24px; background: var(--surface); border-radius: 24px; padding: 24px 28px; display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; align-items: center; animation: rise .4s var(--ease); }
.courier__n { font: 400 22px/1.2 var(--ff-d); letter-spacing: -.01em; }
.courier .btn { grid-row: 1 / 3; grid-column: 2; }
.courier__s { font-size: 14px; color: var(--muted); }
.final { margin-top: 32px; scroll-margin: 110px 0 24px; background: var(--surface); border-radius: 24px; padding: 32px; animation: rise .45s var(--ease); }
.final__pts { font: 400 36px/1.05 var(--ff-d); letter-spacing: -.01em; }
.final__sub { font-size: 16px; color: var(--muted); margin-top: 8px; }
.final__rate { margin: 26px 0 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.final__q { font: 600 16px/1.2 var(--ff); margin-bottom: 8px; }
.stars { display: flex; gap: 2px; }
.stars button { width: 48px; height: 48px; display: grid; place-items: center; color: var(--line); border-radius: 12px; transition: color .15s, transform .15s; }
.stars button:hover { transform: scale(1.1); }
.stars button.is-on { color: var(--text); }
.final__thanks { margin-top: 8px; font: 500 15px/1.3 var(--ff); }
.st__help { margin-top: 36px; font-size: 16px; color: var(--muted); }
.st__help a { color: var(--text); font-weight: 600; white-space: nowrap; }
.ocard { background: var(--surface); border-radius: 24px; padding: 28px; }
.ocard__h { font: 400 24px/1 var(--ff-d); letter-spacing: -.01em; margin-bottom: 20px; }
.sbar { display: none; }
@media (max-width: 960px) {
  /* планшет и телефон: трекер → курьер/баллы → карта → управление → состав */
  .st__grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .st__main, .st__side { display: contents; }
  .st__grid .route { order: 1; margin: 32px 0 0; }
  .st__ctrl { order: 2; }
  .st__help { order: 3; }
  .ocard { order: 4; margin-top: 32px; }
}
@media (max-width: 760px) {
  .page-status { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  .st { padding-top: 28px; }
  .st__timer { font-size: 40px; min-height: 2.1em; }
  .st__sub { font-size: 15px; margin-top: 10px; }
  .st__demo { padding: 12px 16px; font-size: 14px; }
  .st__trk { margin-top: 32px; }
  .st__grid .route { margin-top: 28px; border-radius: 20px; padding: 8px 8px 12px; }
  .st__trk .trk__s:not(.is-cur) .trk__t { display: none; }
  .courier, .final { scroll-margin-bottom: 104px; }
  .route__legend { font-size: 13px; }
  .courier { grid-template-columns: 1fr; padding: 20px; }
  .courier .btn { grid-row: auto; grid-column: auto; width: 100%; }
  .final { padding: 22px 20px; }
  .final__pts { font-size: 28px; }
  .final .btn { width: 100%; }
  .ocard { padding: 22px 20px; }
  .sbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgb(255 243 227 / .95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .sbar .btn { min-height: 48px; }
}

/* ---------- появление ---------- */
.js .rv { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .rv { opacity: 1; transform: none; }
  .trk__s.is-cur .trk__dot::after { display: none; }
  .route.is-cooking .route__pulse, .route.is-cooking .route__flame { animation: none; }
}
/* 320–359: «Позвонить» и «Открыть меню» в нижней панели и названия блюд помещаются в экран */
@media (max-width: 359px) {
  .mbar__call { padding: 0 14px; }
  .mbar__menu { min-width: 0; padding-inline: 12px; }
  .dish__name { font-size: 17px; }
}
