/* ============================================================
   БРУТ.БУРГЕР — landing styles
   ============================================================ */

:root {
  --bg: #0a0908;
  --bg-2: #131110;
  --bg-3: #1c1916;
  --text: #f5f0e6;
  --text-dim: #9a9288;
  --muted: #6b655d;
  --accent: #ff4d1a;
  --accent-2: #ffb627;
  --line: rgba(245, 240, 230, 0.08);
  --line-strong: rgba(245, 240, 230, 0.18);

  --font-display: "Oswald", "Bebas Neue", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-hand: "Caveat", cursive;

  --container: 1320px;
  --pad-x: clamp(20px, 4vw, 60px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg); }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  touch-action: pan-y;          /* iOS hint: only vertical pan, no double-tap zoom delays */
  overscroll-behavior-y: none;   /* prevent rubber-band coupling with chrome show/hide */
}

/* ============================================================
   FIXED PAGE BACKGROUND — final hero frame visible behind all
   sections after the hero. The hero itself paints over it.
   ============================================================ */

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      180deg,
      rgba(10, 9, 8, 0.62) 0%,
      rgba(10, 9, 8, 0.55) 40%,
      rgba(10, 9, 8, 0.7) 100%
    ),
    url('../images/hero/ezgif-frame-151.jpg') center / cover no-repeat;
  background-color: var(--bg);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--accent);
  font-weight: 500;
  text-transform: lowercase;
}

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad-x);
  background: linear-gradient(to bottom, rgba(10,9,8,.92), rgba(10,9,8,0));
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.04em;
}
.nav__logo-mark {
  color: var(--accent);
  font-size: 14px;
  animation: pulse 2.4s var(--ease) infinite;
}
.nav__logo-text i {
  color: var(--accent);
  font-style: normal;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.nav__links {
  display: flex;
  gap: 36px;
  font-size: 14px;
  color: var(--text-dim);
}
.nav__links a {
  position: relative;
  transition: color .25s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .35s var(--ease);
}
.nav__links a:hover::after { width: 100%; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.nav__cta i {
  font-style: normal;
  transition: transform .35s var(--ease);
}
.nav__cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0a0908;
}
.nav__cta:hover i { transform: translateX(4px); }

@media (max-width: 820px) {
  .nav__links { display: none; }
}

/* ============================================================
   HERO — sticky scroll-driven
   ============================================================ */

.hero {
  position: relative;
  /* Точную высоту задаёт JS (setHeroPinHeight) в px — pixel-wrapper стабилен
     при show/hide адресной строки iOS Safari. svh-значение здесь = fallback
     на случай если JS не успел отработать. */
  height: 500svh;
  background: #000;
}

.hero__progress {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  width: 100%;
  overflow: hidden;
  /* Frame-0 fallback: if canvas drawImage hasn't painted yet (decode race, 0×0 layout),
     this CSS background is already visible. Canvas paints over it once ready. */
  background-image: url("../images/hero/ezgif-frame-001.webp");
  background-size: cover;
  background-position: center;
  background-color: #000;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,0) 35%, rgba(0,0,0,0.55) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 70%, rgba(0,0,0,0.7) 100%);
  pointer-events: none;
}

.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(255,255,255,0.5) 0.5px, transparent 1px),
    radial-gradient(circle at 75% 75%, rgba(255,255,255,0.5) 0.5px, transparent 1px);
  background-size: 3px 3px, 4px 4px;
}

.hero__layout {
  position: relative;
  z-index: 4;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 100px var(--pad-x) 40px;
  pointer-events: none;
}

.hero__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text);
  background: rgba(10, 9, 8, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}
.hero__chip .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
}

.hero__counter {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
  background: rgba(10, 9, 8, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--line-strong);
  padding: 8px 14px;
  border-radius: 999px;
}
.hero__counter i {
  font-style: normal;
  color: var(--muted);
}

/* Phrases — appear/disappear on scroll */
.hero__phrases {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.phrase {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(80px, 18vw, 280px);
  line-height: 0.85;
  letter-spacing: -0.01em;
  color: var(--text);
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: opacity .5s var(--ease), transform .8s var(--ease);
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 6px 40px rgba(0,0,0,0.35);
}

.phrase.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.phrase--brand em {
  font-style: normal;
  color: var(--accent);
}
.phrase--brand i {
  font-style: normal;
  color: var(--accent);
  margin: 0 -0.05em;
}

.hero__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}

.hero__caption {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 420px;
}
.hero__caption-label {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.hero__caption-text {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}

.hero__hint {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.hero__hint-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--text-dim), transparent);
  animation: scrollHint 2s var(--ease) infinite;
}

@keyframes scrollHint {
  0% { transform: translateY(-10px); opacity: 0.3; }
  50% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0.3; }
}

@media (max-width: 820px) {
  .hero { height: 400svh; }
  .hero__layout { padding: 90px 20px 30px; }
  .hero__bottom { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero__hint-line { height: 30px; }
  .phrase { font-size: clamp(60px, 22vw, 180px); }
}

/* iOS-specific @supports/fixed hack удалён: pixel-wrapper в JS делает hero.offsetHeight
   стабильным при show/hide адресной строки, поэтому sticky внутри работает без
   двойного скролла без необходимости переключаться на fixed. */

/* ============================================================
   MANIFEST
   ============================================================ */

.manifest {
  background: linear-gradient(
    180deg,
    rgba(10, 9, 8, 0.92) 0%,
    rgba(10, 9, 8, 0.55) 100%
  );
  padding: 160px 0 140px;
  border-top: 1px solid var(--line);
  position: relative;
}

.manifest__head {
  margin-bottom: 28px;
}

.manifest__title {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 110px);
  line-height: 0.95;
  letter-spacing: -0.005em;
  margin: 0 0 90px;
  max-width: 1100px;
}
.manifest__title em {
  font-style: normal;
  color: var(--accent);
}

.manifest__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.manifest__cell {
  padding: 36px 28px 36px 0;
  border-right: 1px solid var(--line);
  position: relative;
}
.manifest__cell:last-child { border-right: none; }

.manifest__num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.manifest__cell h3 {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.01em;
  margin: 0 0 12px;
  font-weight: 400;
}

.manifest__cell p {
  margin: 0;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 280px;
}

@media (max-width: 980px) {
  .manifest__grid { grid-template-columns: repeat(2, 1fr); }
  .manifest__cell:nth-child(2n) { border-right: none; }
  .manifest__cell:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .manifest__grid { grid-template-columns: 1fr; }
  .manifest__cell { border-right: none; border-top: 1px solid var(--line); }
  .manifest__cell:first-child { border-top: none; }
  .manifest { padding: 100px 0; }
}

/* ============================================================
   MENU
   ============================================================ */

.menu {
  background: rgba(10, 9, 8, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  padding: 140px 0 140px;
  position: relative;
}

.menu__head {
  margin-bottom: 70px;
  max-width: 800px;
}
.menu__head h2 {
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 140px);
  letter-spacing: -0.005em;
  line-height: 0.95;
  margin: 14px 0 18px;
}
.menu__head h2 em {
  font-style: normal;
  color: var(--accent);
}
.menu__head p {
  font-size: 16px;
  color: var(--text-dim);
  margin: 0;
}

.menu__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  position: relative;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .5s var(--ease), border-color .35s var(--ease), box-shadow .5s var(--ease);
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.6);
}
.card:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 77, 26, 0.25);
}

.card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0a0908;
  cursor: pointer;
  outline: none;
}
.card__media:focus-visible {
  box-shadow: inset 0 0 0 3px var(--accent);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease), filter .5s var(--ease);
}
.card:hover .card__media img {
  transform: scale(1.06);
  filter: brightness(1.05);
}
.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 50%,
    rgba(28, 25, 22, 0.6) 100%
  );
  pointer-events: none;
}

.card__rank {
  position: absolute;
  top: 18px;
  left: 18px;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--text);
  letter-spacing: 0.12em;
  padding: 6px 12px;
  background: rgba(10, 9, 8, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  z-index: 2;
}

.card__tag {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 11px;
  background: rgba(255, 182, 39, 0.92);
  color: #0a0908;
  border-radius: 999px;
  z-index: 2;
}
.card__tag.tag--hot {
  background: rgba(255, 77, 26, 0.95);
  color: #0a0908;
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  font-size: 14px;
}

.card__body {
  padding: 24px 26px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 0.88;
  letter-spacing: -0.005em;
  margin: 0 0 20px;
  font-weight: 400;
}
.card__title em {
  font-style: normal;
  color: var(--accent);
}

.card__ingredients {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.card__ingredients li {
  font-size: 13px;
  color: var(--text-dim);
  position: relative;
  padding-left: 16px;
}
.card__ingredients li::before {
  content: "·";
  position: absolute;
  left: 4px;
  top: -2px;
  color: var(--accent);
  font-size: 16px;
}

.card__bottom {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.card__price {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 0.02em;
}
.card__price i {
  font-style: normal;
  color: var(--accent);
  margin-left: 2px;
}

.card__cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 44px;
  height: 44px;
}

.card__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.card:hover .card__cart:not(.is-in-cart) .card__btn {
  background: var(--accent);
  color: #0a0908;
  transform: rotate(90deg);
}

.card__stepper {
  display: none;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
}
.card__cart.is-in-cart .card__btn { display: none; }
.card__cart.is-in-cart .card__stepper { display: inline-flex; }

.card__step {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text);
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.card__step:hover {
  background: var(--accent);
  color: #0a0908;
}
.card__step:focus-visible {
  outline: none;
  border-color: var(--accent);
}

.card__qty {
  min-width: 22px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.card--hero {
  border-color: rgba(255, 77, 26, 0.32);
}
.card--accent {
  border-color: rgba(255, 77, 26, 0.18);
}

@media (max-width: 980px) {
  .menu__grid { grid-template-columns: repeat(2, 1fr); }
  .menu { padding: 100px 0; }
}
@media (max-width: 600px) {
  .menu__grid { grid-template-columns: 1fr; }
  .card__cart { min-width: 56px; height: 56px; }
  .card__btn {
    width: 56px;
    height: 56px;
    font-size: 26px;
    background: var(--accent);
    color: #0a0908;
    border-color: transparent;
  }
  .card__stepper { padding: 5px; gap: 6px; }
  .card__step {
    width: 44px;
    height: 44px;
    font-size: 22px;
    background: rgba(255, 255, 255, 0.04);
  }
  .card__step:active { background: var(--accent); color: #0a0908; }
  .card__qty { min-width: 28px; font-size: 19px; }
}

/* ============================================================
   PROCESS / MARQUEE
   ============================================================ */

.process {
  background: rgba(10, 9, 8, 0.6);
  padding: 0 0 140px;
  overflow: hidden;
  position: relative;
}

.marquee {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  margin-bottom: 120px;
  background: rgba(10, 9, 8, 0.6);
}

.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(60px, 10vw, 140px);
  line-height: 1.1;
  padding: 28px 0;
  animation: marquee 28s linear infinite;
  color: var(--text);
}
.marquee__track i {
  font-style: normal;
  color: var(--accent);
  font-size: 0.4em;
  vertical-align: middle;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.process__head {
  margin-bottom: 70px;
}
.process__head h2 {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 110px);
  line-height: 0.95;
  margin: 14px 0 0;
  max-width: 900px;
}
.process__head h2 em {
  font-style: normal;
  color: var(--accent);
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.step {
  padding: 40px 30px 40px 0;
  border-right: 1px solid var(--line);
  position: relative;
}
.step:last-child { border-right: none; }

.step__time {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  font-variant-numeric: tabular-nums;
}

.step h4 {
  font-family: var(--font-display);
  font-size: 28px;
  margin: 0 0 10px;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.step p {
  font-size: 14px;
  color: var(--text-dim);
  margin: 0;
  max-width: 280px;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2n) { border-right: none; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .process__steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-top: 1px solid var(--line); }
  .step:first-child { border-top: none; }
  .step__time { font-size: 44px; }
}

/* ============================================================
   DELIVERY
   ============================================================ */

.delivery {
  background: linear-gradient(
    180deg,
    rgba(255, 77, 26, 0.94) 0%,
    rgba(255, 77, 26, 0.88) 100%
  );
  color: #0a0908;
  padding: 130px 0;
  position: relative;
  overflow: hidden;
}
.delivery::before {
  content: "БРУТ.БУРГЕР · БРУТ.БУРГЕР · БРУТ.БУРГЕР · БРУТ.БУРГЕР ·";
  position: absolute;
  bottom: -30px;
  left: 0; right: 0;
  font-family: var(--font-display);
  font-size: clamp(80px, 14vw, 200px);
  line-height: 0.85;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

.delivery__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.delivery__copy .eyebrow { color: #0a0908; opacity: 0.55; }
.delivery__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(60px, 9vw, 150px);
  line-height: 0.9;
  margin: 14px 0 24px;
  letter-spacing: -0.005em;
}
.delivery__copy h2 em {
  font-style: italic;
  font-family: var(--font-hand);
  color: #0a0908;
  font-weight: 700;
  font-size: 0.85em;
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-underline-offset: 6px;
}
.delivery__copy p {
  font-size: 17px;
  max-width: 440px;
  line-height: 1.55;
  margin: 0 0 36px;
}

.delivery__cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.btn--primary {
  background: #0a0908;
  color: var(--text);
}
.btn--primary:hover {
  transform: translateY(-2px);
  background: #1c1916;
}
.btn--ghost {
  border: 1px solid #0a0908;
  color: #0a0908;
}
.btn--ghost:hover {
  background: #0a0908;
  color: var(--text);
}

.ticker {
  background: #0a0908;
  color: var(--text);
  border-radius: 24px;
  padding: 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ticker__row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.ticker__row:last-child { border-bottom: none; padding-bottom: 0; }
.ticker__row span:first-child { color: var(--text-dim); }
.ticker__row i {
  font-style: normal;
  color: var(--accent);
}
.ticker__row--big {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.04em;
  padding-top: 8px;
  margin-top: 6px;
  border-top: 1px solid var(--line);
  border-bottom: none !important;
  display: flex;
  justify-content: space-between;
}
.ticker__row--big em {
  font-style: normal;
  color: var(--accent);
  font-size: 1.4em;
}

@media (max-width: 900px) {
  .delivery__inner { grid-template-columns: 1fr; gap: 50px; }
  .delivery { padding: 90px 0; }
}

/* ============================================================
   CONTACTS
   ============================================================ */

.contacts {
  background: rgba(10, 9, 8, 0.55);
  padding: 140px 0 120px;
  position: relative;
}

.contacts__head {
  margin-bottom: 60px;
}
.contacts__head h2 {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 130px);
  margin: 14px 0 0;
  line-height: 0.95;
  letter-spacing: -0.005em;
}
.contacts__head h2 em {
  font-style: normal;
  color: var(--accent);
}

.contacts__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.place {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease), box-shadow .5s var(--ease);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.place__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-2);
}
.place__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,9,8,0) 55%, rgba(10,9,8,0.55) 100%);
  pointer-events: none;
}
.place__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease);
}
.place:hover .place__media img {
  transform: scale(1.05);
}
.place__body {
  padding: 28px 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.place:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.6);
}
.place:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 77, 26, 0.25);
}
.place__num {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.12em;
}
.place h3 {
  font-family: var(--font-display);
  font-size: 44px;
  margin: 6px 0 0;
  letter-spacing: 0.01em;
  font-weight: 400;
}
.place p {
  font-size: 16px;
  color: var(--text);
  margin: 0;
}
.place__hours {
  font-size: 13px;
  color: var(--text-dim);
}
.place__link {
  margin-top: 16px;
  font-size: 14px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.place__link i {
  font-style: normal;
  transition: transform .35s var(--ease);
}
.place:hover .place__link i {
  transform: translateX(6px);
}

@media (max-width: 720px) {
  .contacts__grid { grid-template-columns: 1fr; }
  .contacts { padding: 100px 0; }
  .place__body { padding: 24px 22px 26px; }
  .place__media { aspect-ratio: 16 / 9; }
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: rgba(5, 4, 3, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 80px 0 36px;
  border-top: 1px solid var(--line);
  position: relative;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.footer__logo i {
  font-style: normal;
  color: var(--accent);
}
.footer__brand p {
  font-size: 14px;
  color: var(--text-dim);
  margin: 0;
  max-width: 300px;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer__cols h5 {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin: 0 0 18px;
  font-weight: 400;
}
.footer__cols a {
  display: block;
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 10px;
  transition: color .25s var(--ease);
}
.footer__cols a:hover { color: var(--text); }

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 30px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

@media (max-width: 800px) {
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 500px) {
  .footer__cols { grid-template-columns: 1fr; gap: 30px; }
}

/* ============================================================
   FEEDBACK FORM
   ============================================================ */

.feedback {
  background: rgba(10, 9, 8, 0.6);
  padding: 130px 0 130px;
  position: relative;
  border-top: 1px solid var(--line);
}

.feedback__inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: start;
}

.feedback__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 110px);
  line-height: 0.95;
  letter-spacing: -0.005em;
  margin: 14px 0 22px;
}
.feedback__copy h2 em {
  font-style: italic;
  font-family: var(--font-hand);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85em;
  letter-spacing: 0;
}

.feedback__lead {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.6;
  margin: 0 0 36px;
  max-width: 460px;
}

.feedback__direct {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 12px;
}
.feedback__direct-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .35s var(--ease), color .25s var(--ease);
}
.feedback__direct-row:hover {
  padding-left: 12px;
}
.feedback__direct-row:hover .feedback__direct-value {
  color: var(--accent);
}
.feedback__direct-label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.feedback__direct-value {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.04em;
  transition: color .25s var(--ease);
}

.feedback__form {
  background: rgba(28, 25, 22, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  padding: 40px 38px 36px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  position: relative;
}

.feedback__row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feedback__row--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field__label {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.field input,
.field textarea {
  width: 100%;
  background: rgba(10, 9, 8, 0.55);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  outline: none;
  transition: border-color .25s var(--ease), background .25s var(--ease);
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
}
.field input:hover,
.field textarea:hover {
  border-color: var(--line-strong);
}
.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  background: rgba(10, 9, 8, 0.75);
}
.field input:invalid:not(:placeholder-shown),
.field textarea:invalid:not(:placeholder-shown) {
  border-color: rgba(255, 77, 26, 0.45);
}

.feedback__topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.topic {
  position: relative;
  display: inline-flex;
}
.topic input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.topic span {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-dim);
  background: rgba(10, 9, 8, 0.4);
  cursor: pointer;
  transition: all .25s var(--ease);
}
.topic:hover span {
  border-color: var(--line-strong);
  color: var(--text);
}
.topic input:checked + span {
  background: var(--accent);
  border-color: var(--accent);
  color: #0a0908;
  font-weight: 600;
}
.topic input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(255, 77, 26, 0.25);
}

.feedback__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 4px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.agree {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 12px;
  color: var(--text-dim);
  max-width: 280px;
  line-height: 1.4;
}
.agree input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}

.feedback__submit {
  padding: 14px 22px;
}

.feedback__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 30px 20px;
}
.feedback__success-mark {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent);
  color: #0a0908;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 4px;
}
.feedback__success h4 {
  font-family: var(--font-display);
  font-size: 32px;
  margin: 0;
  letter-spacing: 0.02em;
  font-weight: 400;
}
.feedback__success p {
  margin: 0;
  font-size: 14px;
  color: var(--text-dim);
  max-width: 360px;
  line-height: 1.55;
}

.feedback__form.is-sent .feedback__row,
.feedback__form.is-sent .feedback__bottom {
  display: none;
}
.feedback__form.is-sent .feedback__success {
  display: flex;
}

@media (max-width: 900px) {
  .feedback__inner { grid-template-columns: 1fr; gap: 50px; }
  .feedback { padding: 90px 0; }
  .feedback__form { padding: 30px 22px 26px; }
  .feedback__row--two { grid-template-columns: 1fr; }
  .feedback__bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   MODAL — burger preview (and place preview shares structure)
   ============================================================ */

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s var(--ease);
}

.modal.is-open {
  pointer-events: auto;
  opacity: 1;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 3, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
}

.modal__dialog {
  position: relative;
  width: min(960px, 100%);
  max-height: calc(100vh - 48px);
  background: var(--bg-3);
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  transform: translateY(20px) scale(0.97);
  transition: transform .5s var(--ease);
  box-shadow:
    0 60px 120px -30px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.04);
}

.modal.is-open .modal__dialog {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(10, 9, 8, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  transition: background .25s var(--ease), transform .25s var(--ease), color .25s var(--ease);
}
.modal__close:hover {
  background: var(--accent);
  color: #0a0908;
  transform: rotate(90deg);
}

/* Left: media */
.modal__media {
  position: relative;
  background: #0a0908;
  overflow: hidden;
  min-height: 420px;
  aspect-ratio: 4 / 5;
  align-self: center;
}
.modal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.modal__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}
.modal__media-meta {
  position: absolute;
  left: 24px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}
.modal__rank,
.modal__cooktime {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--text);
  background: rgba(10, 9, 8, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong);
  padding: 8px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.modal__cooktime i {
  color: var(--accent);
  font-style: normal;
  font-size: 8px;
}

/* Right: content */
.modal__content {
  padding: 36px 38px 30px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-height: calc(100vh - 48px);
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.modal__content::-webkit-scrollbar {
  width: 6px;
}
.modal__content::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 999px;
}

.modal__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.modal__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  align-self: flex-start;
}
.modal__head h3 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 0.95;
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.005em;
}
.modal__head h3 em {
  font-style: normal;
  color: var(--accent);
}
.modal__weight {
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.modal__section h4 {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
  font-weight: 400;
}
.modal__section p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-dim);
}

.modal__ingredients {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
}
.modal__ingredients li {
  font-size: 13px;
  color: var(--text);
  position: relative;
  padding-left: 16px;
  line-height: 1.45;
}
.modal__ingredients li::before {
  content: "·";
  position: absolute;
  left: 4px;
  top: -2px;
  color: var(--accent);
  font-size: 16px;
}

.modal__bottom {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.modal__price {
  font-family: var(--font-display);
  font-size: 44px;
  letter-spacing: 0.02em;
}
.modal__price i {
  font-style: normal;
  color: var(--accent);
  margin-left: 2px;
}
.modal__cta {
  padding: 14px 22px;
}

/* Quantity stepper inside burger modal */
.modal__qty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  background: rgba(245,240,230,0.06);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}
.modal__qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 18px;
  line-height: 1;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.modal__qty-btn:hover { background: var(--accent); color: #0a0908; }
.modal__qty-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.modal__qty-btn:disabled:hover { background: transparent; color: var(--text); }
.modal__qty-value {
  min-width: 28px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* Place modal bottom variant — hours + phone column */
.modal__bottom--place {
  align-items: flex-start;
}
.place-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.place-meta__hours {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.04em;
}
.place-meta__phone {
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

@media (max-width: 760px) {
  .modal { padding: 0; align-items: flex-end; }
  .modal__dialog {
    grid-template-columns: 1fr;
    max-height: 92vh;
    border-radius: 24px 24px 0 0;
    overflow-y: auto;
  }
  .modal__media { min-height: 280px; aspect-ratio: 16 / 11; }
  .modal__media img { object-fit: cover; }
  .modal__content { padding: 26px 22px 22px; max-height: none; }
  .modal__ingredients { grid-template-columns: 1fr; }
  .modal__bottom {
    flex-wrap: wrap;
    gap: 12px;
  }
  .modal__price { flex: 1 1 auto; font-size: 36px; }
  .modal__qty { order: 2; }
  .modal__cta { order: 3; flex: 1 1 100%; justify-content: center; }
}

/* Lock body scroll while modal open */
body.is-locked {
  overflow: hidden;
}

/* ============================================================
   NAV CART BUTTON
   ============================================================ */

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(10,9,8,0.4);
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.nav__cart:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0a0908;
}
.nav__cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent);
  color: #0a0908;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transform: scale(1);
  transition: transform .25s var(--ease), opacity .25s var(--ease);
  border: 2px solid #0a0908;
}
.nav__cart-count[data-empty="true"] {
  opacity: 0;
  transform: scale(0.4);
  pointer-events: none;
}
.nav__cart.is-bumping {
  animation: cart-bump .45s var(--ease);
}
@keyframes cart-bump {
  0%, 100% { transform: scale(1); }
  35% { transform: scale(1.18); }
  60% { transform: scale(0.94); }
}

/* ============================================================
   CART DRAWER
   ============================================================ */

.cart {
  position: fixed;
  inset: 0;
  z-index: 1100;
  visibility: hidden;
  pointer-events: none;
}
.cart.is-open {
  visibility: visible;
  pointer-events: auto;
}

.cart__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8,7,6,0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.cart.is-open .cart__backdrop { opacity: 1; }

.cart__panel {
  position: absolute;
  top: 0; right: 0;
  height: 100%;
  width: min(460px, 100%);
  background: linear-gradient(180deg, #14110f 0%, #0c0a09 100%);
  border-left: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .45s var(--ease);
  box-shadow: -30px 0 80px rgba(0,0,0,0.6);
}
.cart.is-open .cart__panel { transform: translateX(0); }

.cart__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 26px 26px 18px;
  border-bottom: 1px solid var(--line);
}
.cart__head h3 {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 600;
}
.cart__close {
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--text);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.cart__close:hover {
  background: var(--accent);
  color: #0a0908;
  border-color: var(--accent);
}

.cart__body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 18px 26px 26px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.cart__body::-webkit-scrollbar { width: 6px; }
.cart__body::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }

.cart__items {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cart__items:empty { display: none; }

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  background: rgba(245,240,230,0.04);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.cart-item__img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  background: #1a1714;
}
.cart-item__main {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.cart-item__title {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item__title em { font-style: normal; color: var(--accent); }
.cart-item__price {
  font-size: 12px;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}
.cart-item__qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10,9,8,0.55);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 4px;
}
.cart-item__qty button {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 16px;
  line-height: 1;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.cart-item__qty button:hover { background: var(--accent); color: #0a0908; }
.cart-item__qty button:disabled { opacity: 0.4; cursor: not-allowed; }
.cart-item__qty span {
  min-width: 18px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.cart__empty {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px 30px;
  color: var(--text-dim);
}
.cart.is-empty .cart__empty { display: flex; }
.cart.is-empty .cart__checkout { display: none; }
.cart__empty-mark {
  color: var(--accent);
  font-size: 28px;
  margin-bottom: 6px;
}
.cart__empty h4 {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 8px;
  color: var(--text);
}
.cart__empty p {
  margin: 0 0 18px;
  font-size: 14px;
}

.cart__checkout {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.cart__checkout-title {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 4px;
}
.cart__checkout .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cart__checkout .field__label {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}
.cart__checkout .field__label i {
  font-style: normal;
  color: var(--muted);
  margin-left: 6px;
  font-size: 11px;
}
.cart__checkout .field input,
.cart__checkout .field textarea {
  background: rgba(245,240,230,0.04);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  transition: border-color .2s var(--ease), background .2s var(--ease);
  resize: vertical;
}
.cart__checkout .field input::placeholder,
.cart__checkout .field textarea::placeholder { color: var(--muted); }
.cart__checkout .field input:focus,
.cart__checkout .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(245,240,230,0.06);
}
.cart__checkout .field input:invalid:not(:placeholder-shown) {
  border-color: #c9532f;
}

.cart__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 12px 4px 6px;
  margin-top: 4px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.cart__total strong {
  font-family: var(--font-display);
  color: var(--text);
  font-size: 28px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
.cart__total strong i { font-style: normal; color: var(--accent); }

.cart__submit {
  margin-top: 6px;
  width: 100%;
  justify-content: center;
}
.cart__submit:disabled { opacity: 0.6; cursor: progress; }

.cart__callback {
  margin: 4px 0 0;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-radius: 14px;
  background: rgba(255, 77, 26, 0.08);
  border: 1px solid rgba(255, 77, 26, 0.22);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  letter-spacing: 0.01em;
}
.cart__callback svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}
.cart__callback a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.35);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.cart__callback a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.cart__callback b {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.cart__legal {
  margin: 4px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--muted);
  letter-spacing: 0.01em;
}

@media (max-width: 540px) {
  .cart__panel { width: 100%; border-left: none; }
  .cart__head { padding: 22px 18px 14px; }
  .cart__body { padding: 14px 18px 22px; }
  .cart__callback { padding: 11px 12px; font-size: 12px; gap: 8px; }
  .cart-item__qty button { width: 36px; height: 36px; font-size: 18px; }
  .cart-item__qty span { min-width: 22px; font-size: 16px; }
}

/* ============================================================
   ORDER TOAST
   ============================================================ */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(28px);
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility .35s;
  width: min(460px, calc(100% - 32px));
  pointer-events: none;
}
.toast.is-open {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  visibility: visible;
  pointer-events: auto;
}
.toast__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  background: linear-gradient(180deg, #1b1714 0%, #110e0c 100%);
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--accent);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.55);
}
.toast__icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #0a0908;
  flex: 0 0 auto;
}
.toast__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.toast__copy strong {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
}
.toast__copy span {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.4;
}
.toast__close {
  width: 28px; height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.toast__close:hover {
  color: var(--text);
  background: rgba(245,240,230,0.06);
}

/* ============================================================
   ACCESSIBILITY UTILS
   ============================================================ */

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   FOOTER LEGAL EXTRAS
   ============================================================ */

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-dim);
}
.footer__legal a {
  color: var(--text-dim);
  border-bottom: 1px dotted var(--line-strong);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.footer__legal a:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.footer__sep {
  color: var(--muted);
  opacity: 0.5;
}
.footer__inn {
  margin-top: 6px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.01em;
  line-height: 1.5;
}

/* ============================================================
   COOKIE / 152-ФЗ NOTICE
   ============================================================ */

.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1300;
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.cookie.is-visible {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}
.cookie__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px 24px;
  padding: 18px 22px;
  background: linear-gradient(180deg, #1b1714 0%, #0e0c0a 100%);
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--accent);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.55);
}
.cookie__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-dim);
}
.cookie__text a {
  color: var(--text);
  border-bottom: 1px solid var(--line-strong);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.cookie__text a:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.cookie__actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.cookie__more {
  font-size: 13px;
  color: var(--text-dim);
  border-bottom: 1px dotted var(--line-strong);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.cookie__more:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.cookie__accept {
  padding: 10px 22px;
  font-size: 13px;
}

@media (max-width: 640px) {
  .cookie { left: 12px; right: 12px; bottom: 12px; }
  .cookie__inner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px 18px;
  }
  .cookie__actions {
    width: 100%;
    justify-content: space-between;
  }
}

/* ============================================================
   LEGAL PAGE (privacy.html)
   ============================================================ */

.nav--simple {
  background: rgba(10,9,8,0.92);
  border-bottom: 1px solid var(--line);
}

body.legal {
  background: var(--bg);
  min-height: 100vh;
}

.legal__page {
  padding: 120px 0 80px;
  display: flex;
  justify-content: center;
}

.legal__doc {
  width: 100%;
  max-width: 820px;
  padding: 0 var(--pad-x);
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
}

.legal__head {
  margin-bottom: 50px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.legal__head h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text);
  margin: 12px 0 14px;
  font-weight: 600;
}
.legal__meta {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.legal__doc section {
  margin-bottom: 38px;
}
.legal__doc h2 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 14px;
  font-weight: 600;
}
.legal__doc p {
  margin: 0 0 12px;
}
.legal__doc ul {
  margin: 0 0 12px;
  padding-left: 0;
  list-style: none;
}
.legal__doc ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}
.legal__doc ul li::before {
  content: "●";
  position: absolute;
  left: 0; top: 0;
  color: var(--accent);
  font-size: 10px;
  line-height: inherit;
}
.legal__doc strong { color: var(--text); }
.legal__doc a {
  color: var(--text);
  border-bottom: 1px solid var(--line-strong);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.legal__doc a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.legal__foot {
  margin-top: 60px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero { height: 100svh; }
}

/* Skip layout/paint for below-the-fold sections to free up main thread during hero scroll */
.manifest, .menu, .process, .delivery, .contacts, .feedback {
  content-visibility: auto;
  contain-intrinsic-size: 1px 1200px;
}
