/* ============================================================
   ФУДКОРТ ТД — нео-мемфис дизайн-система
   Палитра: персиковый + изумрудный, мемфис-акценты
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;500;600;700;800;900&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  /* фон / чернила */
  --cream: #FFF4EA;
  --cream-2: #FFEAD9;
  --paper: #FFFFFF;
  --ink: #1B1A17;
  --ink-soft: #4A463E;

  /* персиковый */
  --peach: #FF8F5E;
  --peach-deep: #F2622F;
  --peach-soft: #FFD8C2;
  --peach-tint: #FFEADF;

  /* изумрудный */
  --emerald: #0FA06C;
  --emerald-deep: #0A6B49;
  --emerald-soft: #BCEBD5;
  --emerald-tint: #E2F6EC;

  /* мемфис-акценты (как квадратики в логотипе) */
  --pop-yellow: #FFC23B;
  --pop-pink: #E84C8A;
  --pop-blue: #2F9BE0;
  --pop-red: #EE4B3C;
  --pop-violet: #9B6AD6;

  /* система */
  --radius: 22px;
  --radius-lg: 30px;
  --radius-sm: 14px;
  --border: 2.5px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-lg: 10px 10px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --shadow-soft: 0 18px 40px -18px rgba(27, 26, 23, 0.45);

  --maxw: 1200px;
  --font-display: 'Unbounded', 'Trebuchet MS', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(255, 143, 94, 0.10), transparent 38%),
    radial-gradient(circle at 88% 22%, rgba(15, 160, 108, 0.10), transparent 40%),
    radial-gradient(rgba(27, 26, 23, 0.045) 1.6px, transparent 1.6px);
  background-size: auto, auto, 26px 26px;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; margin: 0; }

.section { padding: clamp(48px, 8vw, 96px) 0; position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--ink); color: var(--cream);
  padding: 7px 14px; border-radius: 999px;
}
.eyebrow.green { background: var(--emerald); }
.eyebrow.peach { background: var(--peach-deep); }

.section-head { margin-bottom: clamp(28px, 5vw, 52px); max-width: 720px; }
.section-head h2 {
  font-size: clamp(30px, 5.2vw, 56px);
  font-weight: 800; margin-top: 16px; letter-spacing: -0.02em;
}
.section-head p { font-size: clamp(15px, 2vw, 19px); color: var(--ink-soft); margin-top: 12px; }

/* ---------------- кнопки ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  padding: 14px 26px; border-radius: 999px;
  border: var(--border); background: var(--paper); color: var(--ink);
  box-shadow: var(--shadow-sm); transition: transform .14s ease, box-shadow .14s ease, background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn--primary { background: var(--peach); }
.btn--green { background: var(--emerald); color: #fff; }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ghost { background: transparent; box-shadow: none; }
.btn--ghost:hover { background: var(--paper); box-shadow: var(--shadow-sm); }
.btn--block { width: 100%; }
.btn--lg { padding: 17px 32px; font-size: 17px; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: var(--shadow-sm); }

/* ---------------- мемфис-фигуры ---------------- */
.blob, .deco { position: absolute; pointer-events: none; z-index: 0; }
.spin-slow { animation: spin 22s linear infinite; }
.float { animation: floaty 6s ease-in-out infinite; }
.float.d2 { animation-delay: -2s; }
.float.d3 { animation-delay: -4s; }
@keyframes floaty { 50% { transform: translateY(-16px) rotate(6deg); } }
@keyframes spin { to { transform: rotate(360deg); } }

.sticker {
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  background: var(--pop-yellow); color: var(--ink);
  border: var(--border); border-radius: 999px; padding: 6px 14px;
  box-shadow: var(--shadow-sm); display: inline-flex; align-items: center; gap: 6px;
}

/* ============================================================
   ШАПКА
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 244, 234, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 2.5px solid var(--ink);
}
.nav { display: flex; align-items: center; gap: 18px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo {
  width: 46px; height: 46px; border-radius: 12px; border: var(--border);
  background: #fff; padding: 4px; box-shadow: var(--shadow-sm); object-fit: contain;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 17px; }
.brand__sub { font-size: 11px; color: var(--ink-soft); font-weight: 600; letter-spacing: .02em; }

.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a {
  font-weight: 700; font-size: 14px; padding: 9px 14px; border-radius: 999px;
  transition: background .15s, color .15s;
}
.nav__links a:hover { background: var(--ink); color: var(--cream); }

.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  background: var(--emerald); color: #fff; border: var(--border);
  padding: 11px 18px; border-radius: 999px; box-shadow: var(--shadow-sm);
  transition: transform .14s, box-shadow .14s;
}
.cart-btn:hover { transform: translate(-2px,-2px); box-shadow: var(--shadow); }
.cart-btn__count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--pop-yellow); color: var(--ink); border: 2px solid var(--ink);
  font-size: 12px; display: inline-flex; align-items: center; justify-content: center;
}
.cart-btn__count.pop { animation: pop .35s ease; }
@keyframes pop { 0%{transform:scale(1)} 40%{transform:scale(1.45)} 100%{transform:scale(1)} }

.burger { display: none; background: var(--paper); border: var(--border); border-radius: 12px;
  width: 44px; height: 44px; box-shadow: var(--shadow-sm); font-size: 18px; }

/* ============================================================
   ГЕРОЙ
   ============================================================ */
.hero { position: relative; padding: clamp(36px, 7vw, 80px) 0 clamp(40px, 7vw, 72px); overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 60px);
  align-items: center; position: relative; z-index: 2;
}
.hero__badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.hero h1 {
  font-size: clamp(38px, 7.4vw, 84px); font-weight: 900; letter-spacing: -0.03em;
}
.hero h1 .u-peach { color: var(--peach-deep); }
.hero h1 .u-green { color: var(--emerald); }
.hero h1 .u-underline { position: relative; white-space: nowrap; }
.hero h1 .u-underline::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 14px;
  background: var(--pop-yellow); z-index: -1; border-radius: 4px; transform: rotate(-1.2deg);
}
.hero__lead { font-size: clamp(16px, 2.1vw, 21px); color: var(--ink-soft); margin: 22px 0 30px; max-width: 520px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.hero__stat b { font-family: var(--font-display); font-size: 28px; font-weight: 800; display: block; }
.hero__stat span { font-size: 13px; color: var(--ink-soft); font-weight: 600; }

/* коллаж-карточка героя */
.hero__art { position: relative; aspect-ratio: 1 / 1; }
.hero__plate {
  position: absolute; border: var(--border); border-radius: 26px; overflow: hidden;
  box-shadow: var(--shadow-lg); background: #fff;
}
.hero__plate img { width: 100%; height: 100%; object-fit: cover; }
.hero__plate.p1 { width: 58%; height: 58%; top: 0; left: 4%; transform: rotate(-4deg); z-index: 3; }
.hero__plate.p2 { width: 46%; height: 46%; top: 18%; right: 0; transform: rotate(5deg); z-index: 4; }
.hero__plate.p3 { width: 50%; height: 50%; bottom: 0; left: 18%; transform: rotate(3deg); z-index: 5; }
.hero__chip {
  position: absolute; z-index: 6; background: var(--paper); border: var(--border);
  border-radius: 16px; box-shadow: var(--shadow-sm); padding: 10px 14px;
  font-family: var(--font-display); font-weight: 700; font-size: 13px; display: flex; align-items: center; gap: 8px;
}
.hero__chip.c1 { top: -6px; right: 8%; background: var(--pop-yellow); transform: rotate(-6deg); }
.hero__chip.c2 { bottom: 6%; right: -2%; background: var(--emerald); color: #fff; transform: rotate(5deg); }

/* бегущая строка */
.marquee {
  border-top: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink);
  background: var(--emerald); color: #fff; overflow: hidden; white-space: nowrap;
}
.marquee__track { display: inline-flex; gap: 40px; padding: 12px 0; animation: marquee 28s linear infinite; }
.marquee span { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .04em; display: inline-flex; gap: 40px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   КУХНИ
   ============================================================ */
.kitchens__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.kitchen-card {
  position: relative; border: var(--border); border-radius: var(--radius-lg);
  padding: 28px 24px 24px; box-shadow: var(--shadow); overflow: hidden;
  transition: transform .16s, box-shadow .16s; cursor: pointer; background: #fff;
}
.kitchen-card:hover { transform: translate(-3px,-3px); box-shadow: var(--shadow-lg); }
.kitchen-card__emoji {
  width: 70px; height: 70px; border-radius: 18px; border: var(--border);
  display: grid; place-items: center; font-size: 36px; background: #fff; box-shadow: var(--shadow-sm);
}
.kitchen-card h3 { font-size: 26px; font-weight: 800; margin-top: 18px; }
.kitchen-card .tagline { font-family: var(--font-display); font-weight: 600; font-size: 13px; opacity: .8; margin-top: 4px; }
.kitchen-card p { color: var(--ink-soft); font-size: 15px; margin: 12px 0 18px; }
.kitchen-card__foot { display: flex; align-items: center; justify-content: space-between; }
.kitchen-card__count { font-family: var(--font-display); font-weight: 700; font-size: 13px; }
.kitchen-card__go { font-family: var(--font-display); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.kitchen-card__deco { position: absolute; top: -30px; right: -30px; width: 130px; height: 130px; border-radius: 50%; opacity: .5; z-index: -1; }

/* ============================================================
   МЕНЮ
   ============================================================ */
.menu-toolbar {
  position: sticky; top: 72px; z-index: 40;
  background: rgba(255, 244, 234, 0.92); backdrop-filter: blur(8px);
  padding: 14px 0; margin-bottom: 30px; border-bottom: 2px dashed rgba(27,26,23,.25);
}
.menu-toolbar__row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  padding: 9px 16px; border-radius: 999px; border: var(--border);
  background: var(--paper); box-shadow: var(--shadow-sm); transition: transform .12s, background .15s, color .15s;
  display: inline-flex; align-items: center; gap: 7px;
}
.chip:hover { transform: translate(-1px,-1px); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.chip[data-filter="russian"][aria-pressed="true"] { background: var(--peach-deep); color: #fff; }
.chip[data-filter="veg"][aria-pressed="true"] { background: var(--emerald); color: #fff; }
.chip[data-filter="asian"][aria-pressed="true"] { background: var(--pop-pink); color: #fff; }
.search {
  margin-left: auto; display: flex; align-items: center; gap: 8px;
  background: #fff; border: var(--border); border-radius: 999px; padding: 9px 16px;
  box-shadow: var(--shadow-sm); min-width: 220px;
}
.search input { border: none; outline: none; font-family: var(--font-body); font-size: 14px; font-weight: 600; background: transparent; width: 100%; }

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

.dish {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; transition: transform .16s, box-shadow .16s;
}
.dish:hover { transform: translate(-3px,-3px); box-shadow: var(--shadow-lg); }
.dish__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 2.5px solid var(--ink); }
.dish__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; background: var(--cream-2); }
.dish:hover .dish__media img { transform: scale(1.06); }
.dish__tags { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; max-width: 80%; }
.tag {
  font-family: var(--font-display); font-weight: 700; font-size: 11px;
  padding: 4px 9px; border-radius: 999px; border: 2px solid var(--ink); background: #fff;
  box-shadow: 2px 2px 0 var(--ink);
}
.tag--hit { background: var(--pop-yellow); }
.tag--spicy { background: var(--pop-red); color: #fff; }
.tag--veg { background: var(--emerald); color: #fff; }
.tag--drink { background: var(--pop-blue); color: #fff; }
.dish__kitchen {
  position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 9px;
  border: 2px solid var(--ink); display: grid; place-items: center; font-size: 15px; background: #fff; box-shadow: 2px 2px 0 var(--ink);
}
.dish__body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.dish__title { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.dish__desc { font-size: 13.5px; color: var(--ink-soft); flex: 1; }
.dish__meta { display: flex; gap: 12px; font-size: 12px; color: var(--ink-soft); font-weight: 600; }
.dish__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.dish__price { font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.dish__price small { font-size: 13px; font-weight: 600; }

.add-btn {
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  background: var(--emerald); color: #fff; border: var(--border); border-radius: 999px;
  padding: 10px 18px; box-shadow: var(--shadow-sm); transition: transform .12s, box-shadow .12s;
}
.add-btn:hover { transform: translate(-2px,-2px); box-shadow: var(--shadow); }

.stepper { display: inline-flex; align-items: center; border: var(--border); border-radius: 999px; box-shadow: var(--shadow-sm); overflow: hidden; }
.stepper button { width: 36px; height: 38px; border: none; background: var(--emerald); color: #fff; font-size: 20px; font-weight: 700; line-height: 1; }
.stepper button:hover { background: var(--emerald-deep); }
.stepper span { min-width: 34px; text-align: center; font-family: var(--font-display); font-weight: 700; background: #fff; align-self: stretch; display: grid; place-items: center; }

.dish--out { opacity: .65; }
.dish--out .dish__media::after {
  content: 'Нет в наличии'; position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; color: #fff; background: rgba(27,26,23,.55);
}
.menu-empty { grid-column: 1/-1; text-align: center; padding: 60px 0; color: var(--ink-soft); font-weight: 600; }

/* ============================================================
   КАК ЗАКАЗАТЬ
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; background: #fff; border: var(--border); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); }
.step__num {
  width: 52px; height: 52px; border-radius: 14px; border: var(--border); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 22px; box-shadow: var(--shadow-sm); margin-bottom: 16px;
}
.step:nth-child(1) .step__num { background: var(--peach); }
.step:nth-child(2) .step__num { background: var(--pop-yellow); }
.step:nth-child(3) .step__num { background: var(--emerald); color: #fff; }
.step:nth-child(4) .step__num { background: var(--pop-pink); color: #fff; }
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--ink-soft); }

/* ============================================================
   КОРЗИНА (drawer)
   ============================================================ */
.overlay { position: fixed; inset: 0; background: rgba(27,26,23,.5); backdrop-filter: blur(2px); z-index: 90; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.overlay.open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed; top: 0; right: 0; height: 100dvh; width: min(440px, 100%); z-index: 100;
  background: var(--cream); border-left: 2.5px solid var(--ink); display: flex; flex-direction: column;
  transform: translateX(105%); transition: transform .32s cubic-bezier(.5,.1,.2,1); box-shadow: var(--shadow-soft);
}
.drawer.open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 2.5px solid var(--ink); }
.drawer__head h3 { font-size: 22px; font-weight: 800; }
.icon-btn { width: 42px; height: 42px; border-radius: 12px; border: var(--border); background: #fff; box-shadow: var(--shadow-sm); font-size: 18px; display: grid; place-items: center; transition: transform .12s; }
.icon-btn:hover { transform: rotate(90deg); }
.drawer__body { flex: 1; overflow-y: auto; padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.drawer__foot { padding: 20px; border-top: 2.5px solid var(--ink); background: #fff; }

.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; background: #fff; border: var(--border); border-radius: var(--radius-sm); padding: 10px; box-shadow: var(--shadow-sm); }
.cart-line img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; border: 2px solid var(--ink); }
.cart-line__name { font-family: var(--font-display); font-weight: 700; font-size: 14px; line-height: 1.15; }
.cart-line__price { font-size: 13px; color: var(--ink-soft); font-weight: 600; margin-top: 2px; }
.cart-line .stepper { transform: scale(.85); transform-origin: right; }
.cart-empty { text-align: center; color: var(--ink-soft); padding: 50px 16px; font-weight: 600; }
.cart-empty .big { font-size: 54px; margin-bottom: 10px; }

.cart-total { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.cart-total b { font-family: var(--font-display); font-size: 30px; font-weight: 800; }
.cart-total span { font-weight: 700; color: var(--ink-soft); }

/* ============================================================
   МОДАЛКА ОФОРМЛЕНИЯ / ОПЛАТА / ТАЛОН
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 20px;
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.modal.open { opacity: 1; visibility: visible; }
.modal__card {
  position: relative; width: min(520px, 100%); max-height: 92dvh; overflow-y: auto;
  background: var(--cream); border: 2.5px solid var(--ink); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 28px; transform: translateY(20px) scale(.98); transition: transform .3s;
}
.modal.open .modal__card { transform: none; }
/* талон: фиксированная высота без прокрутки */
.modal--ticket .modal__card { overflow: hidden; padding: 22px; }
.modal__title { font-size: 26px; font-weight: 800; margin-bottom: 4px; }
.modal__sub { color: var(--ink-soft); font-weight: 600; margin-bottom: 22px; font-size: 14px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--font-display); font-weight: 700; font-size: 13px; margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--font-body); font-size: 15px; font-weight: 600;
  padding: 13px 16px; border: var(--border); border-radius: var(--radius-sm); background: #fff; outline: none;
  transition: box-shadow .15s;
}
.field input:focus, .field textarea:focus { box-shadow: var(--shadow-sm); }
.field textarea { resize: vertical; min-height: 64px; }

.pay-method { display: flex; align-items: center; gap: 14px; background: #fff; border: var(--border); border-radius: var(--radius-sm); padding: 14px 16px; box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.pay-method__logo { width: 52px; height: 52px; border-radius: 12px; background: linear-gradient(135deg,#1BB11C,#0a8f3c 40%,#7A2FB0 70%,#E8472B); display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 11px; border: 2px solid var(--ink); }
.pay-method__t b { font-family: var(--font-display); font-size: 15px; }
.pay-method__t span { font-size: 12.5px; color: var(--ink-soft); font-weight: 600; }
.pay-method__check { margin-left: auto; color: var(--emerald); font-size: 22px; }

.order-summary { background: #fff; border: var(--border); border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.order-summary__row { display: flex; justify-content: space-between; font-size: 14px; padding: 4px 0; }
.order-summary__row.total { font-family: var(--font-display); font-weight: 800; font-size: 18px; border-top: 2px dashed rgba(27,26,23,.25); margin-top: 6px; padding-top: 10px; }

/* состояние оплаты */
.pay-state { text-align: center; padding: 18px 6px; }
.pay-spinner {
  width: 96px; height: 96px; margin: 0 auto 24px; position: relative;
}
.pay-spinner .ring { position: absolute; inset: 0; border: 7px solid var(--emerald-soft); border-top-color: var(--emerald); border-radius: 50%; animation: spin 1s linear infinite; }
.pay-spinner .emo { position: absolute; inset: 0; display: grid; place-items: center; font-size: 36px; }
.pay-state h3 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.pay-state p { color: var(--ink-soft); font-weight: 600; }
.pay-steps { display: flex; flex-direction: column; gap: 10px; max-width: 320px; margin: 22px auto 0; text-align: left; }
.pay-steps li { list-style: none; display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 14px; color: var(--ink-soft); transition: color .3s; }
.pay-steps li .dot { width: 26px; height: 26px; border-radius: 50%; border: 2.5px solid currentColor; display: grid; place-items: center; font-size: 13px; flex-shrink: 0; }
.pay-steps li.active { color: var(--ink); }
.pay-steps li.done { color: var(--emerald); }
.pay-steps li.done .dot { background: var(--emerald); color: #fff; border-color: var(--emerald); }

/* ---- талон (как в Макдональдсе) ---- */
.ticket-wrap { text-align: center; }
.success-burst { font-size: 50px; animation: pop .5s ease; }
.ticket-head { margin-top: 0; font-size: 22px; }
.ticket-sub { margin-bottom: 10px; }
.ticket {
  position: relative; background: #fff; border: 2.5px solid var(--ink); border-radius: 20px;
  padding: 18px 20px; box-shadow: var(--shadow); margin: 12px 0; text-align: center; overflow: hidden;
}
.ticket::before, .ticket::after { content: ''; position: absolute; width: 26px; height: 26px; background: var(--cream); border: 2.5px solid var(--ink); border-radius: 50%; top: 50%; }
.ticket::before { left: -15px; transform: translateY(-50%); }
.ticket::after { right: -15px; transform: translateY(-50%); }
.ticket__brand { display: flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--ink-soft); }
.ticket__label { font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin-top: 10px; }
.ticket__number { font-family: var(--font-display); font-weight: 900; font-size: 60px; line-height: 1; letter-spacing: -.02em; margin: 4px 0; }
.ticket__code { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--ink-soft); }
.ticket__divider { border: none; border-top: 2px dashed rgba(27,26,23,.3); margin: 12px 0; }
.ticket__time { display: flex; align-items: center; justify-content: center; gap: 10px; }
.ticket__time .big { font-family: var(--font-display); font-weight: 800; font-size: 26px; }
.ticket__eta { font-weight: 700; font-size: 13px; margin: 6px 0 0; }
.ticket__counters { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
.ticket__counter { font-family: var(--font-display); font-weight: 700; font-size: 12px; background: var(--emerald-tint); border: 2px solid var(--ink); border-radius: 999px; padding: 5px 12px; }
.ticket__items { text-align: left; margin-top: 12px; font-size: 13px; }
.ticket__items div { display: flex; justify-content: space-between; padding: 3px 0; color: var(--ink-soft); font-weight: 600; }
.ticket__total { font-family: var(--font-display); font-weight: 800; border-top: 2px dashed rgba(27,26,23,.25); margin-top: 8px; padding-top: 8px; color: var(--ink); }
.ticket__qr { width: 64px; height: 64px; margin: 10px auto 0; border: 2.5px solid var(--ink); border-radius: 12px; padding: 6px; background: #fff; }
.ticket-actions { display: flex; gap: 10px; margin-top: 14px; }

/* ---- демо QR-код СБП на экране оплаты ---- */
.pay-sbp { padding: 4px 4px 0; }
.sbp-head { display: flex; align-items: center; justify-content: center; gap: 11px; margin-bottom: 14px; }
.sbp-head__logo { width: 46px; height: 46px; border-radius: 11px; background: linear-gradient(135deg,#1BB11C,#0a8f3c 40%,#7A2FB0 70%,#E8472B); display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 12px; border: 2px solid var(--ink); box-shadow: var(--shadow-sm); }
.sbp-head__t { text-align: left; }
.sbp-head__t b { font-family: var(--font-display); font-size: 16px; display: block; }
.sbp-head__t span { font-size: 12px; color: var(--ink-soft); font-weight: 600; }
.sbp-qr { position: relative; width: 196px; height: 196px; margin: 0 auto; background: #fff; border: 2.5px solid var(--ink); border-radius: 18px; padding: 12px; box-shadow: var(--shadow); overflow: hidden; }
.sbp-qr__svg { width: 100%; height: 100%; display: block; }
.sbp-qr__logo { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 10px; background: linear-gradient(135deg,#1BB11C,#0a8f3c 40%,#7A2FB0 70%,#E8472B); border: 3px solid #fff; box-shadow: 0 0 0 2.5px var(--ink); display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 13px; letter-spacing: .02em; }
.sbp-qr__scan { position: absolute; left: 12px; right: 12px; top: 12px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--emerald), transparent); box-shadow: 0 0 8px var(--emerald); animation: sbpscan 2.4s ease-in-out infinite; }
@keyframes sbpscan { 0% { transform: translateY(0); } 50% { transform: translateY(166px); } 100% { transform: translateY(0); } }
.sbp-qr.checking .sbp-qr__scan { display: none; }
.sbp-qr__overlay { position: absolute; inset: 0; background: rgba(255,255,255,.85); display: none; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.sbp-qr__overlay.show { display: flex; }
.sbp-qr__overlay .ring { width: 52px; height: 52px; border: 6px solid var(--emerald-soft); border-top-color: var(--emerald); border-radius: 50%; animation: spin 1s linear infinite; }
.sbp-qr__overlay span { font-size: 24px; }
.sbp-amount { font-weight: 700; color: var(--ink-soft); margin: 14px 0 2px; font-size: 14px; }
.sbp-amount b { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--ink); }
.pay-sbp h3 { font-size: 20px; font-weight: 800; margin: 8px 0 4px; }
.pay-sbp .pay-steps { margin-top: 14px; }

/* ============================================================
   ПОДВАЛ
   ============================================================ */
.footer { background: var(--ink); color: var(--cream); padding: 56px 0 28px; margin-top: 40px; position: relative; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.footer h4 { font-family: var(--font-display); font-size: 15px; margin-bottom: 14px; color: #fff; }
.footer a, .footer p { color: rgba(255,244,234,.75); font-size: 14px; display: block; margin-bottom: 8px; }
.footer a:hover { color: var(--peach); }
.footer__brand { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: #fff; margin-bottom: 10px; }
.footer__bottom { border-top: 1px solid rgba(255,244,234,.15); margin-top: 36px; padding-top: 20px; font-size: 13px; color: rgba(255,244,234,.5); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ============================================================
   ТОСТЫ
   ============================================================ */
.toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.toast {
  background: var(--ink); color: var(--cream); font-weight: 700; font-size: 14px;
  padding: 12px 20px; border-radius: 999px; box-shadow: var(--shadow-sm); border: 2px solid var(--ink);
  display: flex; align-items: center; gap: 10px; animation: toastIn .3s ease;
}
.toast.green { background: var(--emerald); }
@keyframes toastIn { from { transform: translateY(20px); opacity: 0; } }

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 440px; margin: 10px auto 0; width: 100%; }
  .kitchens__grid { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .nav__links { display: none; }
  .burger { display: grid; place-items: center; }
}
@media (max-width: 560px) {
  .menu-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 18px; }
  .search { margin-left: 0; width: 100%; }
  .menu-toolbar { top: 64px; }
  .nav { height: 64px; }
  .menu-toolbar__row { gap: 10px; }
  .brand__sub { display: none; }
  .ticket__number { font-size: 52px; }
  .sbp-qr { width: 168px; height: 168px; }
  @keyframes sbpscan { 0% { transform: translateY(0); } 50% { transform: translateY(140px); } 100% { transform: translateY(0); } }
}

/* мобильное меню */
.mobile-menu { position: fixed; inset: 0; z-index: 95; background: var(--cream); padding: 90px 24px 24px; display: flex; flex-direction: column; gap: 6px; transform: translateX(105%); transition: transform .3s; }
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { font-family: var(--font-display); font-weight: 700; font-size: 22px; padding: 14px 0; border-bottom: 2px dashed rgba(27,26,23,.15); }
.mobile-menu .icon-btn { position: absolute; top: 22px; right: 24px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .05s !important; }
  .reveal { opacity: 1; transform: none; }
}
