:root {
  --bg:var(--ls-surface, #070605);
  --gold: #f5c518;
  --gold-2: #ffd84a;
  --text:var(--ls-ink, #f6f1e7);
  --muted:var(--ls-muted, #b7ab9c);
  --line:var(--ls-line, rgba(255, 255, 255, 0.08));
  --header:var(--ls-surface, rgba(8, 7, 6, 0.92));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { min-height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:var(--bg);
  color:var(--text);
  font-family: Manrope, sans-serif;
}

.container {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background:var(--ls-surface, #070605);
  border-bottom:1px solid var(--line);
  backdrop-filter: none;
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 78px;
}
.logo img {
  display: block;
  height: 64px;
  width: auto;
}
.nav {
  display: flex;
  gap: 22px;
  margin-right: auto;
}
.nav__link {
  color:var(--ls-ink, #eee6da);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 8px 0;
}
.nav__link.is-active {
  color:var(--ls-accent-ink, var(--gold));
  box-shadow: inset 0 -2px 0 var(--gold);
}
.header__tools {
  display: flex;
  align-items: center;
  gap: 10px;
}
.city, .phone, .cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  text-decoration: none;
  color:var(--text);
  font-weight: 700;
  font-size: 14px;
}
.city, .phone {
  background:transparent;
  border:1px solid var(--ls-line, #3a342c);
  color:var(--text);
  padding: 8px 14px;
}
.city { cursor: pointer; }
.cart {
  background:var(--gold);
  color:#1a1408;
  padding: 10px 16px;
}
.icon { display: inline-flex; color:var(--ls-accent-ink, var(--gold)); }
.cart .icon { color:#1a1408; }
.caret { color:var(--muted); font-size: 12px; }
.burger {
  display: none;
  align-items: center;
  gap: 8px;
  height: 42px;
  border-radius: 10px;
  border:1px solid var(--ls-line, #3a342c);
  background:transparent;
  padding: 0 12px;
  color:var(--ls-ink, #fff);
  font-weight: 700;
}
.burger__text { display: none; font-size: 14px; }
.burger__bars { display: flex; flex-direction: column; }
.burger__bars span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 2px 0;
  background:#fff;
}
.side-menu {
  position: fixed;
  z-index: 40;
  inset: 0;
  background:rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.side-menu.is-open { opacity: 1; pointer-events: auto; }
.side-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 86vw);
  height: 100%;
  padding: 18px 16px;
  background:var(--ls-surface, #100e0c);
  border-left:1px solid var(--ls-line, #2c2824);
  transform: translateX(100%);
  transition: transform .25s ease;
  overflow: auto;
}
.side-menu.is-open .side-menu__panel { transform: none; }
.side-menu__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.side-menu__x {
  width: 36px;
  height: 36px;
  border:0;
  border-radius: 10px;
  background:var(--ls-surface, #1b1714);
  color:var(--ls-ink, #fff);
  font-size: 22px;
}
.side-menu__nav { display: flex; flex-direction: column; gap: 6px; }
.side-menu__nav a {
  padding: 12px 10px;
  border-radius: 12px;
  color:var(--text);
  text-decoration: none;
  background:var(--ls-surface, #070605);
}
.side-menu { display: none; }
@media (max-width: 980px) {
  .side-menu { display: block; }
}


.hero {
  position: relative;
  overflow: visible;
  padding: 8px 16px 6px;
  background:transparent;
}
/* Decorative media only: preserve product images, links and scrolling. */
video.side-fire,
video.tel-bg,
img[data-decorative-media] {
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}
video.side-fire,
video.tel-bg { pointer-events: none; }
video.side-fire::-webkit-media-controls,
video.side-fire::-webkit-media-controls-enclosure,
video.tel-bg::-webkit-media-controls,
video.tel-bg::-webkit-media-controls-enclosure { display: none !important; }
.side-fire {
  position: fixed;
  z-index: 0;
  top: 0;
  left: auto;
  top: 78px;
  height: calc(100vh - 78px);
  width: auto;
  aspect-ratio: 5 / 8;
  object-fit: cover;
  filter: blur(5px);
  pointer-events: none;
}
.side-fire--left { left: 0; }
.side-fire--right { right: 0; }
.tel-bg, .hero__tel { display: none; }
.hero, .perks, .block, .footer, .menu-page { position: relative; z-index: 1; }
.header { z-index: 10; }
.tabbar { z-index: 20; }
.hero__plate {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4.8 / 1;
  height: auto;
  background:none;
}
.hero__fire {
  position: absolute;
  z-index: 0;
  left: 0;
  top: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  border-radius: 28px 0 0 28px;
}
.hero__photo {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  pointer-events: none;
  border-radius: 0 28px 28px 0;
  overflow: hidden;
}
.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 64px 36px 0 56px;
}
.hero__copy h1 {
  margin: 0;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: clamp(52px, 5.2vw, 76px);
  line-height: 1;
  letter-spacing: -0.04em;
}
.hero__sub {
  margin: 18px 0 64px;
  color:var(--ls-ink, #fff);
  font-size: 24px;
  white-space: nowrap;
  transform: translateX(120px);
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}
.btn--gold { background:var(--gold); color:#1a1408; }
.btn--ghost { border:1px solid var(--ls-line, rgba(255,255,255,0.35)); color:var(--ls-ink, #fff); }
.hero__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.perks { padding: 0 0 20px; }
.perks__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border:1px solid var(--ls-line, #2c2824);
  border-radius: 16px;
  background:var(--ls-surface, #100e0c);
}
.perk {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 20px;
}
.perk + .perk { border-left:1px solid var(--ls-line, #2c2824); }
.perk__icon { color:var(--ls-accent-ink, var(--gold)); }
.perk strong { display: block; margin-bottom: 4px; }
.perk strong, .perk strong .perk__full { color:var(--ls-ink, #fff); }
.perk__full, .perk__short { color:var(--ls-accent-ink, var(--gold)); font-size: 14px; }
.perk__short { display: none; }

.block { padding: 18px 0 8px; }
.block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.block__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 28px;
}
.flame { color:var(--ls-accent-ink, var(--gold)); display: inline-flex; }
.block__line {
  width: 72px;
  height: 2px;
  margin-left: 8px;
  background:var(--gold);
}
.block__tools { display: flex; align-items: center; gap: 8px; }
.see-all {
  color:var(--ls-accent-ink, var(--gold));
  text-decoration: none;
  font-weight: 700;
  margin-right: 8px;
}
.rail-wrap { position: relative; }
.scroll-btn--side {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  background:rgba(10, 9, 8, 0.72);
}
.scroll-btn--prev { left: -6px; }
.scroll-btn--next { right: -6px; }
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 70px) / 6.33);
  gap: 14px;
  overflow: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.scroll-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border:1px solid var(--ls-line, #3a342c);
  background:transparent;
  color:var(--ls-ink, #fff);
  font-size: 20px;
  cursor: pointer;
}
.slot, .empty, .banner, .cat--note {
  border:1px dashed var(--ls-line, #3a342c);
  border-radius: 14px;
  color:var(--muted);
  background:var(--ls-surface, #100e0c);
}
.slot {
  min-height: 240px;
  padding: 16px;
  display: flex;
  align-items: flex-end;
}
.banner {
  display: block;
  overflow: hidden;
  min-height: 0;
  padding: 0;
  border:0;
  border-radius: 16px;
  aspect-ratio: 9 / 1;
}
.banner img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.cats {
  display: flex;
  gap: 10px;
  overflow: auto;
}
.cat {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 8px 14px;
  border:1px solid var(--ls-line, #2c2824);
  border-radius: 14px;
  color:var(--text);
  text-decoration: none;
  white-space: nowrap;
  background:var(--ls-surface, #100e0c);
}
.cat.is-active { border-color:var(--gold); }
.cat__pic {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background:var(--ls-surface, #1b1714);
  color:var(--muted);
  font-size: 11px;
  display: grid;
  place-items: center;
}
.cat--note { border-style: dashed; }
.about__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: start;
}
.about__story p {
  margin: 0 0 12px;
  color:var(--ls-ink, #ddd4c8);
  font-size: 18px;
  line-height: 1.55;
}
.about__photo {
  aspect-ratio: 4 / 3;
  border:1px dashed var(--ls-line, #3a342c);
  border-radius: 16px;
  background:var(--ls-surface, #100e0c);
  color:var(--muted);
  display: grid;
  place-items: center;
}

.tabbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: fixed;
  z-index: 20;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: 33.33%;
  padding: 10px 8px 12px;
  border-radius: 18px;
  background:rgba(10, 9, 8, 0.1);
  border:1px solid var(--ls-line, rgba(255, 255, 255, 0.16));
  backdrop-filter: blur(5px);
  transition: left .35s ease, right .35s ease, transform .35s ease;
}
body.menu-screen .tabbar { background:rgba(0, 0, 0, 0.72); }
.tabbar.is-corner {
  left: auto;
  right: 12px;
  transform: none;
}
.tabbar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color:var(--ls-muted, rgba(255, 255, 255, 0.55));
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
}
.tabbar__item svg {
  width: 22px;
  height: 22px;
  fill: rgba(255, 255, 255, 0.12);
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tabbar__item.is-active { color:var(--ls-accent-ink, var(--gold)); }
.tabbar__item.is-active svg {
  fill: rgba(245, 197, 24, 0.18);
  stroke: var(--gold);
}
.tabbar__icon { position: relative; display: inline-flex; }
.tabbar__badge {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background:var(--ls-surface, #e23b3b);
  color:var(--ls-ink, #fff);
  font-size: 10px;
  line-height: 16px;
  text-align: center;
}
body { padding-bottom: 0; }

.truck-run {
  position: fixed;
  z-index: 40;
  inset: 0;
  background:rgba(7, 6, 5, 0.55);
  pointer-events: none;
}
.truck-run svg {
  position: absolute;
  color:var(--ls-accent-ink, var(--gold));
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.45));
}
.truck-run.is-on svg { animation: truck-drive 0.6s ease-in forwards; }
@keyframes truck-drive {
  to { transform: translateX(110vw); }
}
.home-cat { margin-top: 18px; }
.home-cat__title { margin: 0 0 12px; font-size: 22px; }
.cat { cursor: pointer; font: inherit; }
.menu-page { padding: 28px 0 48px; }
.menu-page h1 { margin: 0 0 16px; font-family: Unbounded, Manrope, sans-serif; }
.menu-cats {
  display: flex;
  gap: 8px;
  overflow: auto;
  position: sticky;
  top: 78px;
  z-index: 8;
  margin-bottom: 22px;
  padding: 10px 0;
  background:var(--ls-surface, #070605);
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.menu-cats::-webkit-scrollbar { height: 6px; }
.menu-cats::-webkit-scrollbar-track { background:transparent; }
.menu-cats::-webkit-scrollbar-thumb { background:var(--gold); border-radius: 999px; }
.menu-cats a {
  flex: none;
  padding: 8px 12px;
  border:1px solid var(--ls-line, #2c2824);
  border-radius: 999px;
  color:var(--text);
  text-decoration: none;
  background:var(--ls-surface, #100e0c);
}
.promo { overflow: hidden; margin-bottom: 8px; }
.promo__track { display: flex; gap: 12px; width: max-content; will-change: transform; }
.promo__card { flex: 0 0 180px; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; background:var(--ls-surface, #1b1714); cursor: pointer; }
.promo__card img { width: 100%; height: 100%; object-fit: cover; }
/* Fixed geometry makes the loop independent of image decoding/intrinsic widths. */
#home-promo .promo__track { gap: 0; }
#home-promo .promo__group { display: flex; flex: none; gap: 12px; padding-right: 12px; width: max-content; }
#home-promo .promo__card { width: 180px; min-width: 0; }
#home-promo img { display: block; }
#popular-rail { grid-auto-columns: calc((100% - 42px) / 4); }
@media (max-width: 980px) {
  #promos { padding-inline: 0; }
  #promos > .container { width: 100%; max-width: none; margin-inline: 0; }
  #popular-rail { grid-auto-columns: calc((100% - 14px) / 2); }
}
.menu-section { margin: 28px 0; scroll-margin-top: 150px; }
.menu-section h2 { margin: 0 0 12px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.card {
  display: flex;
  flex-direction: column;
  padding: 12px;
  border:1px solid rgba(245, 197, 24, 0.45);
  border-radius: 16px;
  background:var(--ls-surface, #120f0c);
  box-shadow: inset 0 1px 0 rgba(245, 197, 24, 0.12);
}
.card__pic {
  aspect-ratio: 1;
  border-radius: 12px;
  background:var(--ls-surface, #1b1714);
  overflow: hidden;
  margin-bottom: 10px;
}
.card__pic img { width: 100%; height: 100%; object-fit: cover; }
.card h3 { margin: 0 0 6px; font-size: 16px; }
.card__meta, .card__desc { margin: 0 0 8px; color:var(--muted); font-size: 13px; }
.card__row { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card { cursor: pointer; }
.card__add {
  min-height: 48px;
  min-width: 140px;
  padding: 0 16px;
  border:1px solid var(--gold);
  background:transparent;
  color:var(--ls-accent-ink, var(--gold));
  font-size: 16px;
  cursor: pointer;
}
.stepper {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-sizing: border-box;
  min-height: 48px;
  min-width: 140px;
  padding: 0 8px;
  border-radius: 999px;
  background:var(--gold);
  color:#1a1408;
  font-size: 18px;
  animation: step-in .28s ease;
}
.stepper button {
  width: 32px;
  height: 32px;
  border:0;
  border-radius: 50%;
  background:var(--ls-surface, #1a1408);
  color:var(--ls-accent-ink, var(--gold));
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}
@keyframes step-in {
  from { transform: scale(.86); opacity: .4; }
  to { transform: none; opacity: 1; }
}
.dish {
  position: fixed;
  z-index: 30;
  inset: 0;
  display: grid;
  place-items: center;
  background:rgba(7, 6, 5, 0.72);
}
.dish__card {
  position: relative;
  width: min(520px, calc(100% - 32px));
  padding: 18px;
  border-radius: 18px;
  background:var(--ls-surface, #1a120c);
  border:1px solid var(--ls-line, #3a2a1c);
  animation: step-in .24s ease;
}
.dish__x {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border:0;
  border-radius: 50%;
  background:var(--ls-surface, #1b1714);
  color:var(--ls-ink, #fff);
  cursor: pointer;
}
.dish__pic { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background:var(--ls-surface, #1b1714); margin-bottom: 12px; }
.dish__pic img { width: 100%; height: 100%; object-fit: cover; }
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 48px 0;
  color:var(--muted);
  text-align: center;
}
.cart-empty p { margin: 0; font-size: 18px; }
.cart-row { display: flex; align-items: center; gap: 16px; padding: 14px; border:1px solid var(--ls-line, #2c2824); border-radius: 14px; background:var(--ls-surface, #100e0c); }
.cart-name { flex: 1; text-align: left; font-size: 20px; }
.cart-checkout {
  min-width: 240px;
  justify-content: center;
  border:0;
  color:#1a1408;
  background:linear-gradient(100deg,
    #ffd84a 0%,
    #ff7a18 18%,
    var(--ls-surface, #e23b3b) 36%,
    #ffd84a 54%,
    #ffb000 72%,
    var(--ls-surface, #e23b3b) 90%,
    #ffd84a 100%);
  background-size: 200% 100%;
  animation: fire-flow 3.2s linear infinite;
}
@keyframes fire-flow {
  from { background-position: 0% 50%; }
  to { background-position: 200% 50%; }
}
.cart-total {
  margin: 18px 0 0;
  font-size: 28px;
  font-weight: 800;
  color:var(--ls-accent-ink, var(--gold));
}
.cart-qty { display: flex; align-items: center; gap: 8px; }
.cart-qty button { width: 28px; height: 28px; border-radius: 8px; border:1px solid var(--ls-line, #3a342c); background:transparent; color:var(--ls-ink, #fff); }
.cart-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-bottom: 96px;
}
.cart-more__plus { display: none; }
body.cart-page .menu-page { min-height: calc(100vh - 90px); }
body.cart-page .menu-page .container { display: flex; flex-direction: column; min-height: calc(100vh - 150px); }
.cart-clear {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 22px;
  border:1px solid #e23b3b;
  border-radius: 999px;
  background:transparent;
  color:#e23b3b;
  font-weight: 800;
  cursor: pointer;
}
.profile { padding-bottom: 40px; }
.profile-card, .profile-stats article, .profile-orders {
  border:1px solid var(--ls-line, #2c2824);
  border-radius: 18px;
  background:var(--ls-surface, #100e0c);
}
.profile-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
}
.profile-ava {
  width: 72px;
  height: 72px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:var(--gold);
  color:#1a1408;
  font-weight: 800;
  font-size: 24px;
}
.profile-card h1 { margin: 0 0 6px; font-size: 32px; }
.profile-card p, .profile-orders p { margin: 0; color:var(--muted); }
.profile-stats {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 14px;
  margin: 14px 0;
}
.profile-stats article { padding: 20px; }
.profile-stats span { color:var(--muted); font-size: 14px; }
.profile-stats strong { display: block; margin: 8px 0 6px; color:var(--ls-accent-ink, var(--gold)); font-size: 28px; }
.profile-stats p { margin: 0; color:var(--muted); }
.profile-orders { padding: 22px; }
.profile-orders h2 { margin: 0 0 8px; font-size: 22px; }
@media (max-width: 980px) {
  .profile-stats { grid-template-columns: 1fr; }
  .profile-card { gap: 12px; padding: 14px; }
  .profile-ava { width: 52px; height: 52px; font-size: 18px; }
  .profile-card h1 { font-size: 22px; }
  .profile-card p { font-size: 13px; }
  .profile-stats { gap: 8px; margin: 10px 0; }
  .profile-stats article, .profile-orders { padding: 14px; }
  .profile-stats strong { font-size: 20px; margin: 4px 0; }
  .profile-stats p, .profile-orders p { font-size: 13px; }
  .profile-orders h2 { font-size: 18px; }
  .cart-head h1 { font-size: 26px; }
  .bonus { font-size: 11px; }
  .cart-row { gap: 8px; padding: 10px; }
  .cart-name { font-size: 15px; }
  .cart-price { margin-right: 0; font-size: 15px; }
  .cart-total { font-size: 20px; }
  .cart-actions {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 8px;
    padding-bottom: 20px;
  }
  .cart-actions__right { display: contents; }
  .cart-more { grid-column: 1; grid-row: 1; width: 44px; padding: 0; justify-content: center; }
  .cart-more__text { display: none; }
  .cart-more__plus { display: inline; font-size: 26px; line-height: 1; }
  .cart-checkout { grid-column: 2; grid-row: 1; width: 100%; order: 0; justify-content: center; }
  .cart-clear { grid-column: 1 / -1; justify-content: center; }
  .cart-checkout, .cart-clear, .cart-actions .btn { min-height: 44px; min-width: 0; font-size: 14px; }
  .cart-empty { margin-top: 72px; }
}
@media (max-width: 980px) {
  .cards { grid-template-columns: 1fr 1fr; gap: 8px; }
  .card {
    min-width: 0;
    overflow: hidden;
    padding: 8px;
  }
  .card__pic { margin-bottom: 8px; }
  .card h3 {
    margin: 0 0 4px;
    font-size: 13px;
    line-height: 1.25;
    height: 2.5em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .card__meta { margin: 0 0 6px; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .card__row { gap: 6px; }
  .card__row strong { font-size: 16px; }
  .card__buy { flex: none; }
  .card .card__desc { display: none; }
  .dish__card .card__desc { display: block; }
  .menu-cats { background:var(--ls-surface, #070605); }
  .card__add {
    position: relative;
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 0;
    border-radius: 12px;
    color:transparent;
    font-size: 0;
    overflow: hidden;
  }
  .card__add::before {
    content: "+";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color:var(--ls-accent-ink, var(--gold));
    font-size: 28px;
    line-height: 1;
  }
  .stepper {
    min-height: 36px;
    min-width: 104px;
    padding: 0 2px;
    gap: 8px;
  }
  .stepper button { width: 28px; height: 28px; font-size: 16px; }
  .stepper span { font-size: 15px; }
  .profile__grid { grid-template-columns: 1fr; }
}
.legal-page .header__tools { margin-left: auto; }
.legal-phone {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 26px;
  font-weight: 800;
  color:var(--text);
  pointer-events: none;
}
.legal h1 {
  margin: 0 0 16px;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 32px;
}
.legal h2 { margin: 28px 0 10px; font-size: 20px; }
.legal p, .legal li { color:var(--ls-ink, #ddd4c8); line-height: 1.6; }
.legal ul { margin: 8px 0 16px; padding-left: 20px; }
.delivery__zones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 22px 0 28px;
}
.delivery__zone {
  padding: 18px 18px 8px;
  border:1px solid var(--ls-line, #2c2824);
  border-radius: 16px;
  background:var(--ls-surface, #100e0c);
}
.delivery__zone h2 { margin: 0 0 10px; color:var(--ls-accent-ink, var(--gold)); }
.delivery__zone ul { margin: 0; padding: 0 0 8px; list-style: none; }
.delivery__zone li {
  padding: 7px 0 7px 18px;
  border-top:1px solid var(--ls-line, #2c2824);
  color:var(--ls-ink, #ddd4c8);
  position: relative;
}
.delivery__zone li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background:var(--gold);
}
.delivery__scroll { overflow: auto; }
.tariff {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
.tariff th, .tariff td {
  padding: 12px 10px;
  text-align: left;
  border-bottom:1px solid var(--ls-line, #2c2824);
}
.tariff th { color:#1a1408; background:var(--gold); }
.tariff td { color:var(--ls-ink, #ddd4c8); background:var(--ls-surface, #100e0c); }
.delivery__hint { color:var(--muted); }
.delivery__warn {
  padding: 12px 14px;
  border:1px solid var(--gold);
  border-radius: 12px;
  color:var(--ls-accent-ink, var(--gold));
  font-weight: 700;
}
.delivery__meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.delivery__meta p { margin: 0; }
.delivery__meta span, .delivery__meta a {
  display: block;
  margin-top: 4px;
  color:var(--ls-accent-ink, var(--gold));
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
}

.footer {
  margin-top: auto;
  background:#191919;
  border:0;
  border-radius:24px 24px 0 0;
  padding:24px 20px calc(24px + env(safe-area-inset-bottom, 0px));
  color:#eee9df;
}
.footer__main {
  display: grid;
  grid-template-columns:minmax(90px,.55fr) minmax(220px,1fr) minmax(320px,2fr);
  gap:16px 28px;
  align-items:start;
  padding-bottom:18px;
}
.footer__brand .logo img {
  display:block;
  height:68px;
  width:90px;
  object-fit:contain;
}
.footer__tagline {
  margin:8px 0 0;
  font-size:12px;
  line-height: 1.5;
  color:#aaa59b;
}
.footer__title {
  margin:0 0 10px;
  color:#fff;
  font-size:13px;
  font-weight: 700;
}
.footer__text {
  margin:0 0 8px;
  font-size:12px;
  line-height: 1.5;
  color:#eee9df;
}
.footer__text a {
  color:#eee9df;
  text-decoration: none;
}
.footer__text a:hover { color:#e9bc55; }
.footer__nav {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px 20px;
}
.footer__nav a {
  color:#eee9df;
  text-decoration: none;
  font-size:12px;
  line-height:1.55;
  overflow-wrap:anywhere;
}
.footer__nav a:visited { color:#eee9df; }
.footer__nav a:hover { color:#e9bc55; }
.footer__social {
  display: flex;
  gap:12px;
  margin-top:12px;
}
.footer__social a {
  display: inline-flex;
  color:#eee9df;
  transition: color .2s;
}
.footer__social a:hover { color:#e9bc55; }
.footer__bottom {
  border-top:1px solid #ffffff24;
  padding:12px 0 0;
  font-size:12px;
}
.footer__note {
  margin: 0 0 6px;
  color:var(--muted);
}
.footer__copy {
  margin: 0;
  color:#aaa59b;
}
.footer__payments { min-height:20px; }
.contact-details { margin:20px 0; padding:20px; background:var(--ls-card, #fffaf4); border:1px solid var(--ls-line, #e4d1bd); border-radius:14px; }
.contact-details h2 { margin:18px 0 10px; font-size:18px; }
.contact-details h2:first-child { margin-top:0; }
.contact-details p { margin:8px 0; line-height:1.6; overflow-wrap:anywhere; }
.contact-details a { color:inherit; }
@media(max-width:980px){
  .footer { padding:20px 16px calc(112px + env(safe-area-inset-bottom, 0px)); }
  .footer__main { grid-template-columns:72px minmax(0,1fr); gap:14px 16px; padding-bottom:14px; }
  .footer__brand .logo img { width:72px; height:54px; }
  .footer__brand { grid-row:1; }
  .footer__col:not(.footer__info) { grid-column:2; grid-row:1; }
  .footer__info { grid-column:1/-1; }
  .footer__title { margin-bottom:8px; }
}

@media (max-width: 980px) {
  .nav, .city, .cart { display: none; }
  .phone {
    display: inline-flex;
    width: auto;
    height: 42px;
    padding: 0 14px;
    justify-content: center;
    gap: 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
  }
  .phone .icon { font-size: 16px; }
  .header__tools { margin-left: auto; }
  .burger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: auto;
    padding: 0 12px;
  }
  .burger__text { display: inline; font-weight: 700; color:var(--ls-ink, #fff); font-size: 14px; }
  .header__inner { min-height: 60px; }
  .menu-cats { top: 60px; }
  .logo img { height: 48px; }
  .container { width: min(1440px, calc(100% - 28px)); }

  .side-fire { display: none; }
  .tel-bg {
    display: block;
    position: fixed;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(5px);
    pointer-events: none;
  }

  .hero { padding: 8px 12px; }
  .hero__plate { aspect-ratio: 16 / 9; min-height: 0; }
  .hero__actions { flex-wrap: nowrap; }
  .btn { min-height: 44px; padding: 0 12px; font-size: 13px; }
  .hero__fire, .hero__photo { display: none; }
  .hero__tel {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
  }
  .hero__copy { padding: 4px 16px 6px; height: 100%; display: flex; flex-direction: column; }
  .hero__copy h1 { font-size: 40px; }
  .hero__sub { margin: 8px 0 0; font-size: 13px; white-space: normal; transform: none; }
  .hero__city { display: block; }
  .hero__actions { margin-top: auto; }

  .perks .container { overflow: hidden; }
  .perks__grid {
    display: flex;
    gap: 10px;
    width: max-content;
    border:0;
    background:transparent;
    animation: perks-roll 10s linear infinite;
  }
  .perks__grid:hover { animation-play-state: paused; }
  .perk {
    flex: 0 0 132px;
    aspect-ratio: 3 / 2;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
    padding: 10px 8px;
    border:1px solid var(--ls-line, #2c2824);
    border-radius: 14px;
    background:var(--ls-surface, #100e0c);
  }
  .perk + .perk { border:1px solid var(--ls-line, #2c2824); }
  .perk__icon svg { width: 22px; height: 22px; }
  .perk strong { font-size: 13px; margin-bottom: 0; }
  .perk__full { display: none !important; }
  .perk__short { display: block; font-size: 11px; }
  .perk strong .perk__short { display: inline; color:var(--text); font-size: 13px; }
  @keyframes perks-roll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }
  .block__title { font-size: 16px; gap: 4px; }
  .block__line { display: none; }
  .see-all { font-size: 13px; }
  .see-all__arrow { display: none; }
  .rail { grid-auto-columns: 72%; }
  .slot { min-height: 200px; }

  .about__grid { grid-template-columns: 1fr; }
  .about__story p { font-size: 16px; }
  .delivery__zones { grid-template-columns: 1fr; }

  .footer__main { grid-template-columns:72px minmax(0,1fr); gap:14px 16px; padding-bottom:14px; }
  .footer__brand .logo img { width:72px; height:54px; }

  body { padding-bottom: 0; }
  .tabbar {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    transform: none;
    border-radius: 0;
    border-left:0;
    border-right:0;
    border-bottom:0;
    padding: 8px 6px calc(10px + env(safe-area-inset-bottom));
    transition: transform .25s ease;
  }
  .tabbar.is-hidden { transform: translateY(110%); }
}

.cart-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cart-head h1 { margin: 0; }
.bonus { margin: 0; color:var(--ls-accent-ink, var(--gold)); font-size: 20px; font-weight: 800; }
.cart-mark { display: flex; align-items: center; }
.cart-check {
  appearance: none;
  width: 22px;
  height: 22px;
  flex: none;
  margin: 0;
  border:1px solid var(--ls-line, #3a342c);
  border-radius: 6px;
  background:var(--ls-surface, #070605);
  cursor: pointer;
}
.cart-check:checked {
  border-color:#2f9e5a;
  background: #2f9e5a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.card__row strong, .dish__card .card__row strong {
  font-size: 22px;
  font-weight: 800;
}

/* Responsive sizing only: preserve the original controls, colours and typography. */
.cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card, .card__row, .card__buy, .cart-name, .profile-card > div,
.profile-stats article, .footer__main > div { min-width: 0; }
.cart-name, .profile-card p, .footer__nav a { overflow-wrap: anywhere; }
.cart-price, .cart-qty, .cart-mark { flex-shrink: 0; }
.dish { overflow-y: auto; padding-block: 16px; }
.dish__card { max-height: calc(100dvh - 32px); overflow-y: auto; }

@media (min-width: 981px) and (max-width: 1300px) {
  .header__inner { flex-wrap: wrap; gap: 12px 28px; padding-block: 8px; }
  .header__tools { margin-left: auto; }
  .nav { order: 3; width: 100%; justify-content: center; }
  .menu-cats { top: 140px; }
  .menu-section { scroll-margin-top: 220px; }
}
@media (min-width: 981px) and (max-width: 1200px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__main { gap:20px; grid-template-columns:minmax(90px,.55fr) minmax(190px,1fr) minmax(280px,2fr); }
}
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card__buy { flex: 0 1 auto; min-width: 0; }
  .card__row strong { min-width: 0; overflow-wrap: anywhere; }
  .card .stepper { width: 104px; min-width: 0; max-width: 100%; gap: 2px; }
  .card .stepper button { flex: 0 1 28px; min-width: 20px; }
  .card .stepper span { flex-shrink: 0; }
  .cart-head { flex-wrap: wrap; }
  .cart-head .bonus { font-size: 11px; }
  .cart-price { white-space: nowrap; }
  .legal h1 { overflow-wrap: anywhere; }
}
@media (max-width: 380px) {
  .header__inner { gap: 6px; }
  .header__tools { gap: 6px; }
  .header .logo { flex-shrink: 0; }
  .header .logo img { width: 52px; height: auto; }
  .phone { padding-inline: 6px; gap: 4px; }
  .burger { padding-inline: 6px; gap: 6px; }
}

@media (max-width: 600px) {
  .header__inner:has(.legal-phone) { flex-wrap: wrap; gap: 8px 28px; padding-block: 8px; }
  .legal-phone { position: static; order: 3; width: 100%; transform: none; text-align: center; }
}
/* Keep scrolled controls clear of the sticky header and bottom navigation. */
html { scroll-padding-block: 150px 100px; }
@media (min-width: 981px) and (max-width: 1300px) {
  html { scroll-padding-top: 220px; }
}
@media (max-width: 980px) {
  .card__row strong { flex: 0 0 auto; max-width: calc(100% - 42px); }
}
@media (max-width: 380px) {
  .card .card__row strong { font-size: clamp(16px, 5vw, 19px); }
}

/* Contain the mobile layout even with wide logos and loaded web fonts. */
@media (max-width: 980px) {
  html, body { min-width: 0; width: 100%; }
  body > .header, body > .hero, body > .perks, body > .block,
  body > .footer, body > main { min-width: 0; max-width: 100%; }
  .container, .home-cat, #menu-list, .menu-section, .cards { min-width: 0; }
  .container { max-width: calc(100% - 28px); }
  .cards { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { max-width: 100%; }
  .header__inner { gap: clamp(6px, 2vw, 12px); }
  .header .logo { flex: 0 1 72px; min-width: 40px; }
  .header .logo img { max-width: 100%; width: auto; height: auto; max-height: 48px; object-fit: contain; }
  .header__tools { min-width: 0; gap: 6px; }
  .phone { flex-shrink: 0; padding-inline: clamp(6px, 2.5vw, 14px); gap: 6px; font-size: clamp(10px, 2.92vw, 12px); }
  .burger { flex-shrink: 0; padding-inline: clamp(6px, 2.5vw, 12px); gap: 6px; }
  .hero__copy { min-width: 0; max-width: 100%; }
  .hero__actions { min-width: 0; width: 100%; }
  .hero__actions .btn { min-width: 0; flex: 0 1 auto; white-space: nowrap; font-size: clamp(11px, 3.16vw, 13px); padding-inline: clamp(8px, 2.92vw, 12px); }
  .hero__actions .btn svg { flex-shrink: 0; }
  .block__head { min-width: 0; gap: 8px; }
  .block__title { min-width: 0; flex: 1 1 auto; overflow-wrap: anywhere; }
  .block__title .flame { flex-shrink: 0; }
  .block__tools, .see-all { flex-shrink: 0; }
  .see-all { white-space: nowrap; font-size: clamp(11px, 3.16vw, 13px); }
  .tabbar { max-width: 100%; }
  .tabbar__item { min-width: 0; }
}
@media (max-width: 380px) {
  .hero__actions { gap: 8px; }
  .hero__actions .btn { gap: 6px; }
  .hero__actions .btn svg { width: 14px; height: 14px; }
}
@media (min-width: 381px) and (max-width: 980px) {
  .hero__actions .btn, .see-all { font-size: 13px; }
}
@media (max-width: 980px) {
  .hero__copy { container-type: inline-size; }
}
@container (max-width: 300px) {
  .hero__copy h1 { font-size: clamp(30px, 13.4cqi, 40px); }
  .hero__actions .btn { font-size: clamp(10px, 4.2cqi, 13px); padding-inline: 8px; gap: 6px; }
  .hero__actions .btn svg { width: 14px; height: 14px; }
}
@media (max-width: 980px) {
  .header__inner { container-type: inline-size; }
}
@container (max-width: 340px) {
  .header .logo { flex-basis: clamp(40px, 18cqi, 60px); }
  .phone { font-size: clamp(9px, 3.5cqi, 12px); padding-inline: 6px; gap: 4px; }
  .burger { padding-inline: 6px; gap: 4px; }
  .burger__text { font-size: clamp(11px, 4cqi, 14px); }
}
@media (max-width: 980px) {
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
}

/* Жёлтая окантовка только на ПК */
@media (min-width: 981px) {
  .tabbar {
    border:1px solid #ffd600;
  }
}
@media (max-width: 600px) {
  .card h3 {
    height: auto;
    min-height: 0;
  }

  .card .card__meta {
    margin-bottom: 2px;
  }

  .card .card__row {
    margin-top: auto;
  }
}
@media (max-width: 600px) {
  .card .card__row > strong {
    position: relative;
    top: -6px;
  }
}

/* Оформление только для телефона */
@media (max-width: 600px) {
  body {
    --gold: #ffcc00;
    --text:var(--ls-ink, #f5f3ef);
    --muted:var(--ls-muted, #999999);
    background-color:var(--ls-surface, #0d0d0d);
    color:var(--text);
  }

  /* Карточки */
  .cards {
    gap: 12px;
  }

  .card {
    padding: 10px;
    border:0;
    border-radius: 16px;
    background:var(--ls-surface, #202020);
    box-shadow: none;
  }

  .card__pic {
    width: 100%;
    aspect-ratio: 1;
    flex-shrink: 0;
    margin-bottom: 10px;
    background:var(--ls-surface, #202020);
  }

  .card__pic img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Одинаковое место под две строки названия */
  .card h3 {
    height: 2.5em;
    min-height: 2.5em;
    margin-bottom: 6px;
    line-height: 1.25;
    color:var(--ls-ink, #f5f3ef);
  }

  .card .card__meta {
    margin-bottom: 4px;
    color:var(--ls-muted, #999999);
  }

  /* Цена и кнопка всегда снизу */
  .card .card__row {
    margin-top: auto;
    gap: 6px;
    align-items: center;
  }

  .card .card__row > strong {
    position: static;
    top: auto;
    font-size: 18px;
    font-weight: 800;
    color:var(--ls-ink, #f5f3ef);
  }

  .card .card__add {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    border:0;
    border-radius: 12px;
    background:#ffcc00;
  }

  .card .card__add::before {
    color:#0d0d0d;
    font-size: 28px;
  }

  .card .stepper {
    background:#ffcc00;
    color:#0d0d0d;
  }

  /* Нижняя навигация */
  body .tabbar,
  body.menu-screen .tabbar {
    background:var(--ls-surface, rgba(21, 21, 21, 0.95));
    border:1px solid var(--ls-line, rgba(255, 255, 255, 0.08));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  }

  .tabbar__item {
    min-height: 44px;
    justify-content: center;
    color:var(--ls-ink, #bdbdbd);
  }

  .tabbar__item svg {
    fill: none;
    stroke: currentColor;
  }

  .tabbar__item.is-active,
  .tabbar__item.is-active svg {
    color:var(--ls-accent-ink, #ffcc00);
    stroke: #ffcc00;
  }

  .tabbar__badge {
    background:#ffcc00;
    color:#0d0d0d;
  }

  /* Телефон без рамки, номер на 15% крупнее */
  .header .phone {
    border:0;
    background:transparent;
    box-shadow: none;
    font-size: clamp(11.5px, 3.358vw, 13.8px);
  }


}
@media (max-width: 980px) {
  #home-promo .promo__card { flex-basis: 158.4px; width: 158.4px; }
}

@media(max-width:980px){[data-home-desktop-banner]{display:none!important}}
