/* ══════════════════════════════════════════════════
   binz — кофейня, бабл-ти и корпусные десерты, Курск
   Бренд: яркая маджента (как в реальном айдентити binz).
   Лэйаут: доставочный стиль pepefood.ru, редизайн по мотивам Drinkit.
   ══════════════════════════════════════════════════ */

/* ── Фирменные шрифты binz ──
   DAMN — постерные заголовки (крупный display), TT Hoves — основной
   текстовый шрифт сайта, Benomout — шрифт логотипа "binz". */
@font-face {
  font-family: "DAMN";
  src: url("assets/fonts/DAMN.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Benomout";
  src: url("assets/fonts/Benomout.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "TT Hoves";
  src: url("assets/fonts/TT-Hoves-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "TT Hoves";
  src: url("assets/fonts/TT-Hoves-Medium.otf") format("opentype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "TT Hoves";
  src: url("assets/fonts/TT-Hoves-DemiBold.otf") format("opentype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "TT Hoves";
  src: url("assets/fonts/TT-Hoves-Bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "TT Hoves";
  src: url("assets/fonts/TT-Hoves-ExtraBold.otf") format("opentype");
  font-weight: 800;
  font-display: swap;
}

:root {
  --pink:      #E6157F;   /* фирменная маджента binz */
  --pink-dk:   #C10D68;
  --pink-lt:   #FF7DBE;
  --pink-soft: #FCE1EE;
  --grape:     #8B2FA0;   /* вторичный акцент */
  --lime:      #C7E15E;   /* «веган» */

  --ink:       #26101B;   /* тёмный сливово-чёрный текст */
  --ink-soft:  #8A6A7A;
  --paper:     #FFFFFF;
  --cream:     #FFF5FA;   /* очень светлый розовый фон */
  --cream-2:   #FDE7F1;
  --dark:      #1C0E16;   /* тёмные секции */
  --line:      #F1DCE7;
  --line-dk:   rgba(255,125,190,.22);

  --radius:    22px;
  --radius-lg: 30px;
  --radius-sm: 14px;
  --shadow:    0 26px 60px -28px rgba(120, 12, 66, .40);
  --shadow-sm: 0 12px 30px -14px rgba(120, 12, 66, .28);

  --ff-display: "TT Hoves", "Baloo 2", -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-body:    "TT Hoves", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ff-logo:    "Benomout", "Baloo 2", sans-serif;
  /* DAMN — постерный шрифт, только для крупных заголовков (hero, секции);
     на мелком тексте он нечитаем, поэтому НЕ в --ff-display. */
  --ff-poster:  "DAMN", "Baloo 2", -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-hand:    "Caveat", cursive;

  --container: 1240px;
  --ease:      cubic-bezier(.22, .61, .36, 1);
  --spring:    cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* Гарантия: элементы с явным display (flex/grid) остаются скрытыми при [hidden],
   иначе класс-селектор перебивает низкоприоритетное UA-правило для атрибута hidden. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 28px; }

/* ── Лейблы и заголовки ── */
.eyebrow {
  font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--pink); font-weight: 800; margin-bottom: 18px;
}
.eyebrow--light { color: var(--pink-lt); }

.display { display: grid; line-height: .98; }
.display__grotesk { font-family: var(--ff-poster); font-weight: 400; letter-spacing: -.01em; color: var(--ink); }
.display__serif   { font-family: var(--ff-poster); font-weight: 400; letter-spacing: -.01em; color: var(--pink); }
.display--hero .display__grotesk, .display--hero .display__serif { font-size: clamp(3rem, 9vw, 7rem); }
.display--md .display__grotesk, .display--md .display__serif { font-size: clamp(2.1rem, 5.2vw, 3.9rem); }
.display--sm .display__grotesk, .display--sm .display__serif { font-size: clamp(1.8rem, 4vw, 2.8rem); }

/* ── Кнопки ── */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: 15px 28px; background: var(--ink); color: #fff;
  border: 2px solid var(--ink); border-radius: 100px;
  font-family: var(--ff-body); font-weight: 700; font-size: .95rem; cursor: pointer;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(-1px) scale(.98); }
.btn--accent { background: var(--pink); border-color: var(--pink); color: #fff; }
.btn--accent:hover { background: var(--pink-dk); border-color: var(--pink-dk); }
.btn--dark { background: var(--dark); border-color: var(--dark); color: #fff; }
.btn--dark:hover { background: #000; border-color: #000; }
.btn--glass { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.5); backdrop-filter: blur(6px); }
.btn--glass:hover { background: #fff; color: var(--pink-dk); border-color: #fff; }
.btn--glass-light { background: transparent; color: #fff; border-color: var(--line-dk); }
.btn--glass-light:hover { background: #fff; color: var(--pink-dk); border-color: #fff; }
.btn--sm { padding: 11px 20px; font-size: .85rem; }
.btn__ico {
  display: grid; place-content: center; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,.24); font-size: .95rem; line-height: 1;
  transition: transform .45s var(--spring);
}
.btn:hover .btn__ico { transform: translate(3px, -1px) scale(1.08); }

/* ── Логотип binz ── */
.brand { display: inline-flex; align-items: center; gap: .12em; }
.brand__logo { display: block; height: 44px; width: 44px; border-radius: 12px; object-fit: cover; box-shadow: 0 6px 18px -8px rgba(120,12,66,.55); transition: transform .35s var(--spring); }
.brand:hover .brand__logo { transform: rotate(-4deg) scale(1.05); }
.brand__logo--footer { height: 60px; width: 60px; border-radius: 16px; }
.brand__name {
  font-family: var(--ff-logo); font-weight: 400; font-size: 1.9rem;
  color: var(--pink); letter-spacing: -.02em; line-height: 1;
}
.brand__name--sm { font-size: 1.4rem; color: #fff; }
.brand__heart { color: var(--pink); font-size: .9rem; transform: translateY(-.5em); }

/* ══ Шапка ══ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s var(--ease);
}
.nav__inner {
  max-width: var(--container); margin-inline: auto; padding: 0 28px; height: 72px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
}
.nav__links { display: flex; gap: 26px; justify-self: start; }
.nav__links a, .nav__meta { color: #fff; }
.nav__links a { font-weight: 600; font-size: .92rem; position: relative; padding: 4px 0; transition: color .3s var(--ease); }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--pink); transform: scaleX(0); transform-origin: left; transition: transform .32s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); }
.brand { justify-self: center; }
.nav__meta { justify-self: end; display: flex; align-items: center; gap: 16px; font-size: .85rem; }
.nav__city { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.nav__city::before { content: "📍"; font-size: .85em; }
.nav__phone { font-weight: 700; }
.nav.is-scrolled { background: rgba(255,255,255,.9); backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.nav.is-scrolled .nav__links a, .nav.is-scrolled .nav__meta { color: var(--ink); }
.nav.is-scrolled .nav__links a:hover { color: var(--pink-dk); }
.nav.is-scrolled .nav__burger span { background: var(--ink); }

.nav__burger { display: none; flex-direction: column; gap: 5px; width: 30px; height: 30px; background: none; border: none; cursor: pointer; justify-content: center; justify-self: start; }
.nav__burger span { display: block; height: 2px; width: 100%; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .25s var(--ease); }
.nav__burger.is-open span { background: var(--ink); }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 72px 0 auto 0; z-index: 99; background: var(--paper);
  display: flex; flex-direction: column; padding: 18px 28px 32px; gap: 2px;
  box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .5s var(--ease);
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu a { font-family: var(--ff-display); font-weight: 700; font-size: 1.5rem; padding: 12px 0; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-menu__phone { font-family: var(--ff-body) !important; font-size: 1.05rem !important; color: var(--pink-dk) !important; border-bottom: none !important; margin-top: 10px; }

/* ══ Hero ══ */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 110px 0 70px; overflow: hidden;
}
.hero__media {
  position: absolute; inset: 0; z-index: -3; background-size: cover; background-position: center;
  background-image: url("https://images.unsplash.com/photo-1558857563-b371033873b8?auto=format&fit=crop&w=1600&q=80");
  animation: heroZoom 16s var(--ease) infinite alternate;
}
.hero__video {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.hero__video[hidden] { display: none; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(18,8,13,.90) 0%, rgba(18,8,13,.66) 46%, rgba(18,8,13,.42) 100%),
    linear-gradient(0deg, rgba(18,8,13,.55), rgba(18,8,13,0) 55%);
}
@keyframes heroZoom { to { transform: scale(1.08); } }
.hero__inner { position: relative; color: #fff; max-width: 760px; }
.hero__pill {
  display: inline-block; padding: 9px 18px; border-radius: 100px;
  background: rgba(255,255,255,.16); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.28);
  font-size: .8rem; letter-spacing: .04em; font-weight: 600; margin-bottom: 26px;
}
.hero .display__grotesk { color: #fff; }
.hero .display__serif { color: var(--pink-lt); }
.hero__lead { margin-top: 24px; max-width: 540px; font-size: clamp(1.05rem, 1.9vw, 1.28rem); color: rgba(255,255,255,.92); }
.hero__actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__badges { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip-badge {
  display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 100px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.26);
  font-size: .84rem; font-weight: 600; backdrop-filter: blur(4px);
}

/* ══ Строка часов ══ */
.hours-strip { background: var(--dark); color: #fff; }
.hours-strip__inner { display: flex; align-items: center; gap: 12px; padding-block: 16px; font-size: .95rem; }
.hours-strip__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(199,225,94,.25); flex-shrink: 0; animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(199,225,94,0); } }
.hours-strip__inner p { color: rgba(255,255,255,.75); }
.hours-strip__inner b { color: #fff; font-weight: 700; }

/* ══ Заказ: доставка / самовывоз ══ */
.order { padding: clamp(30px, 5vw, 56px) 0 0; }
.order__inner { background: var(--paper); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 34px); box-shadow: var(--shadow-sm); }
.order__toggle { position: relative; display: flex; width: fit-content; background: var(--cream-2); border-radius: 100px; padding: 6px; margin-bottom: 22px; }
.order__tab { position: relative; z-index: 1; flex: 1; white-space: nowrap; text-align: center; padding: 12px 28px; border: none; background: none; cursor: pointer; font-family: var(--ff-body); font-weight: 700; font-size: .95rem; color: var(--ink-soft); border-radius: 100px; transition: color .35s var(--ease); }
.order__tab.is-active { color: #fff; }
.order__thumb { position: absolute; top: 6px; left: 6px; z-index: 0; height: calc(100% - 12px); width: calc(50% - 6px); background: var(--pink); border-radius: 100px; transition: transform .45s var(--spring); }
.order__toggle.delivery .order__thumb { transform: translateX(100%); }
.order__panel { display: none; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.order__panel.is-active { display: flex; animation: fadeUp .45s var(--ease) both; }
.order__info { display: flex; align-items: flex-start; gap: 16px; max-width: 560px; }
.order__ico { font-size: 2rem; line-height: 1; }
.order__info b { font-family: var(--ff-display); font-size: 1.3rem; color: var(--ink); font-weight: 700; }
.order__info p { color: var(--ink-soft); margin-top: 2px; }
.order__cta { flex-shrink: 0; }

/* ══ Промо-сторис ══ */
.stories { padding: clamp(34px, 5vw, 64px) 0; }
.stories__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.story {
  position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius-lg); padding: 22px;
  overflow: hidden; display: flex; flex-direction: column; color: #fff; isolation: isolate;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease); box-shadow: var(--shadow-sm);
}
.story::before { content: ""; position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transition: transform 1.1s var(--ease); }
.story::after { content: ""; position: absolute; inset: 0; z-index: -1; mix-blend-mode: multiply; }
.story:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.story:hover::before { transform: scale(1.08); }
.story::after { background: linear-gradient(180deg, rgba(18,8,13,.15) 0%, rgba(18,8,13,.28) 42%, rgba(18,8,13,.9) 100%); }
.story__kicker, .story__title, .story__go { text-shadow: 0 1px 12px rgba(18,8,13,.45); }
.story--1::before { background-image: url("https://images.unsplash.com/photo-1517701550927-30cf4ba1dba5?auto=format&fit=crop&w=600&q=80"); }
.story--2::before { background-image: url("https://images.unsplash.com/photo-1461023058943-07fcbe16d735?auto=format&fit=crop&w=600&q=80"); }
.story--3::before { background-image: url("https://images.unsplash.com/photo-1541167760496-1628856ab772?auto=format&fit=crop&w=600&q=80"); }
.story--4::before { background-image: url("https://images.unsplash.com/photo-1558857563-b371033873b8?auto=format&fit=crop&w=600&q=80"); }
.story__kicker { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; opacity: .95; }
.story__title { margin-top: auto; font-family: var(--ff-display); font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 1.85rem); line-height: 1; }
.story__go { margin-top: 12px; font-weight: 700; font-size: .84rem; opacity: .95; transition: transform .4s var(--ease); }
.story:hover .story__go { transform: translateX(4px); }

/* ══ Меню: сайдбар + карточки ══ */
.menu { padding: clamp(70px, 10vw, 130px) 0; }
.menu__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 40px; flex-wrap: wrap; }
.menu__note { max-width: 330px; color: var(--ink-soft); font-size: .95rem; }
.menu__layout { display: grid; grid-template-columns: 210px 1fr; gap: clamp(24px, 3vw, 44px); align-items: start; }
.menu__nav { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 6px; }
.menu__navbtn {
  text-align: left; padding: 13px 18px; border-radius: var(--radius-sm); border: none;
  background: transparent; font-family: var(--ff-body); font-weight: 700; font-size: .98rem;
  color: var(--ink-soft); cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.menu__navbtn:hover { background: var(--cream-2); color: var(--ink); transform: translateX(3px); }
.menu__navbtn.is-active { background: var(--pink); color: #fff; }
.menu__col { min-width: 0; }
.menu__subnav {
  position: sticky; top: 88px; z-index: 5; display: flex; gap: 8px; overflow-x: auto;
  padding: 10px 0 16px; margin-bottom: 6px; background: var(--cream);
  scrollbar-width: none;
}
.menu__subnav::-webkit-scrollbar { display: none; }
.menu__subnav a {
  flex-shrink: 0; padding: 8px 16px; border-radius: 100px; border: 1.5px solid var(--line);
  background: var(--paper); color: var(--ink-soft); font-family: var(--ff-body); font-weight: 700;
  font-size: .84rem; white-space: nowrap; transition: .25s var(--ease);
}
.menu__subnav a:hover { border-color: var(--pink); color: var(--pink-dk); }
.menu__subnav a.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.menu__groups { display: flex; flex-direction: column; }
.menu-cat { font-family: var(--ff-display); font-weight: 800; font-size: 1.5rem; color: var(--ink); margin: 26px 0 14px; scroll-margin-top: 150px; }
.menu-cat:first-child { margin-top: 0; }

/* Товары внутри группы листаются в сторону (карусель), а не столбиком вниз —
   как в Drinkit. */
.menu-row {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity;
  padding: 2px 2px 18px; margin: 0 -2px; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.menu-row::-webkit-scrollbar { display: none; }
.menu-card {
  flex: 0 0 240px; scroll-snap-align: start;
  background: var(--paper); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); animation: fadeUp .5s var(--ease) both;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.menu-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.menu-card__img { position: relative; aspect-ratio: 5 / 4; background-size: cover; background-position: center; }
.menu-card__badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.menu-badge { font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 800; color: #fff; background: var(--pink); padding: 4px 9px; border-radius: 100px; box-shadow: var(--shadow-sm); }
.menu-badge--new { background: var(--grape); }
.menu-badge--veg { background: var(--lime); color: var(--ink); }
.menu-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.menu-card__name { font-family: var(--ff-display); font-weight: 700; font-size: 1.16rem; color: var(--ink); line-height: 1.1; }
.menu-card__desc { color: var(--ink-soft); font-size: .84rem; line-height: 1.45; flex: 1; }
.menu-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.menu-card__price { font-family: var(--ff-display); font-weight: 800; font-size: 1.2rem; color: var(--ink); }
.menu-card__add {
  width: 40px; height: 40px; border-radius: 50%; border: none; background: var(--cream-2); color: var(--pink-dk);
  font-size: 1.4rem; line-height: 1; cursor: pointer; display: grid; place-content: center;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--spring);
}
.menu-card__add:hover { background: var(--pink); color: #fff; transform: scale(1.12) rotate(90deg); }
.menu-card__add.is-added { background: var(--dark); color: #fff; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ══ Конфигуратор ══ */
.builder { padding: clamp(70px, 10vw, 130px) 0; background: var(--dark); color: #fff; }
.builder__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 5vw, 76px); align-items: center; }
.builder__left { display: flex; flex-direction: column; }
.builder__intro .display__grotesk { color: #fff; }
.builder__text { margin-top: 22px; color: var(--pink-lt); max-width: 420px; font-size: 1.05rem; }
.builder__photo {
  position: relative; margin: 30px 0 0; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 5 / 4; max-height: 380px; background-size: cover; background-position: center;
  box-shadow: var(--shadow); background-color: #241019;
}
.builder__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(18,8,13,.55)); }
.builder__photo.is-swap { animation: photoSwap .5s var(--ease); }
@keyframes photoSwap { from { opacity: .35; transform: scale(1.04); } to { opacity: 1; transform: none; } }
.builder__photo-tag {
  position: absolute; z-index: 1; left: 16px; bottom: 16px;
  background: rgba(255,255,255,.92); color: var(--ink); padding: 9px 18px; border-radius: 100px;
  font-family: var(--ff-display); font-weight: 800; font-size: 1rem; backdrop-filter: blur(6px);
  box-shadow: 0 8px 20px -10px rgba(0,0,0,.5);
}
.builder__card { background: var(--paper); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 38px); box-shadow: var(--shadow); }
.builder__row { padding: 18px 0; border-bottom: 1px solid var(--line); }
.builder__row:first-child { padding-top: 0; }
.builder__label { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); font-weight: 800; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 10px 18px; border-radius: 100px; border: 2px solid var(--line); background: transparent;
  color: var(--ink); font-family: var(--ff-body); font-weight: 600; font-size: .92rem; cursor: pointer;
  transition: background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease);
}
.chip:hover { transform: translateY(-2px); border-color: var(--pink); }
.chip.is-active { background: var(--pink); color: #fff; border-color: var(--pink); }
.builder__footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 26px; flex-wrap: wrap; }
.builder__total { display: flex; align-items: baseline; gap: 12px; }
.builder__total span { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); font-weight: 800; }
.builder__total b { font-family: var(--ff-display); font-size: 2.2rem; font-weight: 800; color: var(--ink); }
.builder__hint { margin-top: 14px; font-size: .82rem; color: var(--ink-soft); }
.builder__hint.is-done { color: var(--pink-dk); font-weight: 700; }

/* ══ Клуб binz: программа лояльности ══ */
.loyalty { padding: clamp(70px, 10vw, 130px) 0; background: linear-gradient(180deg, var(--cream), #fff); }
.loyalty__grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(40px, 6vw, 90px); align-items: center; }

.loyalty__title { font-family: var(--ff-poster); font-weight: 400; font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: .95; letter-spacing: -.02em; color: var(--ink); }
.loyalty__title span { color: var(--pink); }
.loyalty__sub { margin-top: 20px; max-width: 46ch; color: var(--ink-soft); font-size: clamp(1.02rem, 1.6vw, 1.16rem); line-height: 1.6; }

.loyalty__benefits { list-style: none; margin: 34px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 26px; }
.lb { display: flex; gap: 14px; align-items: flex-start; }
.lb__ico { flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; display: grid; place-content: center; color: var(--pink-dk); background: var(--cream-2); }
.lb__ico svg { width: 23px; height: 23px; }
.lb__txt { display: flex; flex-direction: column; font-size: .9rem; color: var(--ink-soft); line-height: 1.4; }
.lb__txt b { font-family: var(--ff-display); font-weight: 700; font-size: 1.04rem; color: var(--ink); margin-bottom: 3px; }
.loyalty__ctas { margin-top: 36px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.loyalty__find { background: none; border: none; padding: 4px 2px; cursor: pointer; font-family: var(--ff-body); font-size: .88rem; color: var(--ink-soft); border-bottom: 1px solid transparent; transition: color .25s var(--ease), border-color .25s var(--ease); }
.loyalty__find span { color: var(--pink-dk); font-weight: 700; border-bottom: 1px solid var(--pink-dk); }
.loyalty__find:hover { color: var(--ink); }
.loyalty__find:hover span { color: var(--pink); border-color: var(--pink); }

.wallet__phone { margin-top: 3px; font-size: .84rem; opacity: .82; letter-spacing: .02em; }

/* ── Цифровая карта (wallet pass) ── */
.loyalty__stage { display: grid; place-items: center; perspective: 1800px; }
.wallet { width: 100%; max-width: 380px; }
.wallet__inner { position: relative; transform-style: preserve-3d; transition: transform .85s cubic-bezier(.6, .02, .1, 1); }
.wallet.is-flipped .wallet__inner { transform: rotateY(180deg); }
.wallet__face { border-radius: 30px; box-shadow: 0 40px 80px -34px rgba(120, 12, 66, .6), 0 4px 14px -6px rgba(120,12,66,.3); overflow: hidden; }
/* Переключаем видимость граней по центру поворота (надёжнее backface-visibility, который ломается в iOS Safari) */
.wallet__front, .wallet__back { transition: opacity 0s linear .43s; }
.wallet.is-flipped .wallet__front { opacity: 0; pointer-events: none; }
.wallet__back { opacity: 0; pointer-events: none; }
.wallet.is-flipped .wallet__back { opacity: 1; pointer-events: auto; }
.wallet__front { position: relative; backface-visibility: hidden; -webkit-backface-visibility: hidden; padding: 24px 22px 16px; color: #fff; background: linear-gradient(155deg, #F6329B 0%, var(--pink) 40%, var(--grape) 100%); }
.wallet__glow { position: absolute; inset: 0; z-index: 0; background: radial-gradient(120% 70% at 85% -10%, rgba(255,255,255,.4), transparent 55%); pointer-events: none; }
.wallet__front > * { position: relative; z-index: 1; }
.wallet__head { display: flex; align-items: center; justify-content: space-between; }
.wallet__logo { font-family: var(--ff-logo); font-weight: 400; font-size: 1.5rem; letter-spacing: -.02em; }
.wallet__logo i { font-style: normal; font-size: .8rem; vertical-align: super; margin-left: 1px; }
.wallet__badge { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; padding: 5px 12px; border-radius: 100px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.32); }
.wallet__greet { margin-top: 18px; font-size: .92rem; opacity: .9; }
.wallet__count { margin-top: 4px; display: flex; align-items: baseline; gap: 8px; }
.wallet__count b { font-family: var(--ff-display); font-weight: 800; font-size: 2.6rem; line-height: 1; }
.wallet__count span { opacity: .85; font-weight: 600; }
.wallet__cups { display: flex; gap: 5px; margin-top: 14px; }
.wcup { flex: 1; height: 26px; display: grid; place-content: center; }
.wcup svg { width: 100%; height: 100%; color: rgba(255,255,255,.4); }
.wcup.is-on svg { color: #fff; }
.wallet__track { margin-top: 16px; height: 8px; border-radius: 100px; background: rgba(255,255,255,.22); overflow: hidden; }
.wallet__fill { display: block; height: 100%; width: 0; border-radius: 100px; background: linear-gradient(90deg, #fff, #FFE3F1); transition: width 1.1s cubic-bezier(.22,.61,.36,1); }
.wallet__hint { margin-top: 12px; font-size: .86rem; opacity: .92; }
.wallet__hint b { font-weight: 800; }
.wallet__actions { display: flex; gap: 10px; margin-top: 18px; }
.wallet__act { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 13px 10px; border-radius: 100px; font-family: var(--ff-body); font-weight: 700; font-size: .86rem; cursor: pointer; border: none; transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease); }
.wallet__act svg { width: 17px; height: 17px; }
.wallet__act:active { transform: scale(.97); }
.wallet__act--qr { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(4px); }
.wallet__act--qr:hover { background: rgba(255,255,255,.28); }
.wallet__act--add { background: #0B0A0C; color: #fff; box-shadow: 0 8px 20px -8px rgba(0,0,0,.6); }
.wallet__act--add:hover { background: #000; transform: translateY(-2px); }
.wallet__nav { display: grid; grid-template-columns: repeat(4, 1fr); margin: 18px -22px -16px; padding: 12px 10px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); }
.wallet__nav button { display: flex; flex-direction: column; align-items: center; gap: 4px; background: none; border: none; cursor: pointer; color: rgba(255,255,255,.55); font-family: var(--ff-body); font-weight: 600; font-size: .62rem; transition: color .25s var(--ease); }
.wallet__nav button svg { width: 20px; height: 20px; }
.wallet__nav button.is-active { color: #fff; }

.wallet__back { position: absolute; inset: 0; transform: rotateY(180deg); backface-visibility: hidden; -webkit-backface-visibility: hidden; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 26px; text-align: center; }
.wallet__backbtn { position: absolute; top: 16px; left: 16px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--cream); color: var(--ink); display: grid; place-content: center; cursor: pointer; transition: background .25s var(--ease); }
.wallet__backbtn:hover { background: var(--cream-2); }
.wallet__backbtn svg { width: 18px; height: 18px; }
.wallet__qr { width: min(210px, 62%); aspect-ratio: 1; border-radius: 18px; overflow: hidden; box-shadow: 0 12px 30px -14px rgba(120,12,66,.4); border: 1px solid var(--line); }
.wallet__qr svg { display: block; width: 100%; height: 100%; }
.wallet__qrcap { margin-top: 20px; font-family: var(--ff-display); font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.wallet__qrnum { margin-top: 6px; font-size: .8rem; letter-spacing: .14em; color: var(--ink-soft); font-weight: 700; }

/* ── Тост ── */
.toast { position: fixed; z-index: 200; left: 50%; bottom: 26px; transform: translate(-50%, 24px); max-width: min(440px, 90vw); background: var(--dark); color: #fff; padding: 14px 22px; border-radius: 100px; font-size: .92rem; font-weight: 600; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .4s var(--ease), transform .5s var(--spring); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ══ Розыгрыш ══ */
.giveaway { padding: clamp(24px, 4vw, 56px) 0; }
.giveaway__card {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 74px) clamp(24px, 4vw, 60px);
  background: linear-gradient(135deg, var(--pink) 0%, var(--grape) 100%); box-shadow: var(--shadow);
}
.giveaway__glow { position: absolute; width: 65%; height: 150%; top: -25%; right: -12%; background: radial-gradient(circle, rgba(255,255,255,.22), transparent 62%); pointer-events: none; }
.giveaway__badge { font-size: 3rem; line-height: 1; margin-bottom: 12px; animation: float 3s var(--ease) infinite; }
@keyframes float { 50% { transform: translateY(-9px) rotate(-7deg); } }
.giveaway__kicker { position: relative; z-index: 1; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 800; color: rgba(255,255,255,.85); margin-bottom: 12px; }
.giveaway__title { position: relative; z-index: 1; font-family: var(--ff-poster); font-weight: 400; font-size: clamp(1.9rem, 5vw, 3.4rem); line-height: 1; max-width: 18ch; margin: 0 auto; }
.giveaway__desc { position: relative; z-index: 1; margin: 20px auto 0; max-width: 560px; color: rgba(255,255,255,.92); font-size: 1.05rem; }
.giveaway__meta { position: relative; z-index: 1; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.giveaway__prize, .giveaway__period { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); border-radius: 100px; padding: 9px 18px; font-size: .9rem; font-weight: 600; }
.giveaway__meta b { font-weight: 800; }
.giveaway__cta { position: relative; z-index: 1; margin-top: 30px; }

/* ══ Мини-игра: пятнашки ══ */
.game { padding: clamp(70px, 10vw, 130px) 0; background: linear-gradient(180deg, var(--cream), var(--cream-2)); }
.game__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 84px); align-items: center; }
.game__text { margin-top: 22px; color: var(--ink-soft); max-width: 420px; font-size: 1.05rem; }
.game__stats { display: flex; gap: 34px; margin-top: 30px; }
.game__stat { display: flex; flex-direction: column; }
.game__stat b { font-family: var(--ff-display); font-size: 2.1rem; font-weight: 800; color: var(--ink); line-height: 1; }
.game__stat span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 800; margin-top: 6px; }
.game__grid .btn { margin-top: 30px; }
.game__board-wrap { justify-self: center; width: 100%; max-width: 440px; }
.game__board { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 7px; aspect-ratio: 1; width: 100%; padding: 7px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); }
.tile { border-radius: 12px; background-size: 300% 300%; cursor: pointer; background-image: linear-gradient(rgba(230,21,127,.05), rgba(230,21,127,.05)), url("https://images.unsplash.com/photo-1541167760496-1628856ab772?auto=format&fit=crop&w=600&q=80"); transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.tile:hover { box-shadow: inset 0 0 0 3px var(--pink); }
.tile.empty { background: transparent; cursor: default; box-shadow: inset 0 0 0 1px var(--line); }
.tile.empty:hover { box-shadow: inset 0 0 0 1px var(--line); }
.game__win { margin-top: 18px; text-align: center; font-family: var(--ff-display); font-weight: 700; font-size: 1.3rem; color: var(--pink-dk); }

/* ══ Атмосфера / галерея ══ */
.place { padding: clamp(70px, 10vw, 130px) 0 clamp(50px, 7vw, 100px); }
.place .display { margin-bottom: 40px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 16px; padding-inline: 28px; max-width: 1400px; margin-inline: auto; }
.gallery__item { border-radius: var(--radius-sm); background-size: cover; background-position: center; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), filter .5s var(--ease); }
.gallery__item:hover { transform: scale(1.02) translateY(-3px); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item:nth-child(1) { background-image: url("https://images.unsplash.com/photo-1554118811-1e0d58224f24?auto=format&fit=crop&w=700&q=80"); }
.gallery__item:nth-child(2) { background-image: url("https://images.unsplash.com/photo-1461023058943-07fcbe16d735?auto=format&fit=crop&w=600&q=80"); }
.gallery__item:nth-child(3) { background-image: url("https://images.unsplash.com/photo-1517701550927-30cf4ba1dba5?auto=format&fit=crop&w=600&q=80"); }
.gallery__item:nth-child(4) { background-image: url("https://images.unsplash.com/photo-1521017432531-fbd92d768814?auto=format&fit=crop&w=1000&q=80"); }
.gallery__item:nth-child(5) { background-image: url("https://images.unsplash.com/photo-1558857563-b371033873b8?auto=format&fit=crop&w=600&q=80"); }
.place__quote { margin-top: clamp(50px, 7vw, 90px); text-align: center; }
.place__quote blockquote { max-width: 800px; margin-inline: auto; font-family: var(--ff-display); font-weight: 600; font-size: clamp(1.4rem, 3.2vw, 2.2rem); line-height: 1.3; color: var(--ink); }
.place__quote cite { display: block; margin-top: 22px; font-family: var(--ff-body); font-style: normal; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--pink); font-weight: 800; }

/* ══ Видео / рилс ══ */
.video { padding: clamp(70px, 10vw, 130px) 0; background: linear-gradient(180deg, var(--cream-2), var(--cream)); }
.video .display { margin-bottom: 36px; }
.video__row { display: flex; gap: 18px; overflow-x: auto; padding-bottom: 14px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.video__card { position: relative; flex: 0 0 auto; width: min(288px, 74vw); aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; background: var(--cream-2); box-shadow: var(--shadow-sm); scroll-snap-align: start; transition: transform .4s var(--ease); }
.video__card:hover { transform: translateY(-5px); }
.video__card video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video__sound { position: absolute; bottom: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: none; background: rgba(18,8,13,.5); color: #fff; font-size: 1.05rem; cursor: pointer; backdrop-filter: blur(4px); display: grid; place-content: center; transition: transform .25s var(--spring), background .25s var(--ease); }
.video__sound:hover { background: var(--pink); transform: scale(1.1); }

/* ══ Контакты ══ */
.contacts { padding: clamp(70px, 10vw, 120px) 0; background: var(--dark); color: #fff; }
.contacts .display__grotesk { color: #fff; }
.contacts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 72px); align-items: stretch; }
.contacts__rows { margin-top: 38px; display: grid; gap: 4px; }
.contacts__row { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line-dk); }
.contacts__label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--pink-lt); font-weight: 800; padding-top: 3px; }
.contacts__row p { color: #fff; font-size: 1.05rem; }
.contacts__row a:hover { color: var(--pink-lt); }
.contacts__social { display: flex; gap: 20px; flex-wrap: wrap; }
.contacts__social a { color: var(--pink-lt); font-weight: 700; }
.contacts__social a:hover { color: #fff; }
.contacts__actions { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }
.contacts__map { border-radius: var(--radius); overflow: hidden; min-height: 430px; box-shadow: var(--shadow); border: 6px solid var(--line-dk); }
.contacts__map iframe { width: 100%; height: 100%; min-height: 430px; border: 0; }

/* ══ Футер ══ */
.footer { background: #12080D; color: var(--pink-lt); padding: 60px 0 40px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 40px; align-items: start; }
.footer__brand .brand__name { color: var(--pink-lt); }
.footer__brand .brand__heart { color: var(--pink-lt); }
.footer__brand p { color: rgba(255,125,190,.7); font-size: .92rem; margin-top: 10px; }
.footer__nav { display: grid; gap: 12px; }
.footer__nav a { color: var(--pink-lt); font-weight: 600; transition: color .25s; }
.footer__nav a:hover { color: #fff; }
.footer__meta { text-align: right; display: grid; gap: 8px; font-size: .92rem; }
.footer__copy { margin-top: 12px; color: rgba(255,125,190,.5); font-size: .84rem; }

/* ══ Карточка товара (модалка) ══ */
.menu-card { cursor: pointer; }
.modal-overlay {
  position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(18,8,13,.6); backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity .35s var(--ease);
}
.modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.modal-card {
  position: relative; width: 100%; max-width: 460px; max-height: 88vh; overflow-y: auto;
  background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  transform: translateY(18px) scale(.97); transition: transform .4s var(--spring);
}
.modal-overlay.is-open .modal-card { transform: none; }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 36px; height: 36px; border-radius: 50%;
  border: none; background: rgba(18,8,13,.55); color: #fff; font-size: 1rem; cursor: pointer;
  display: grid; place-content: center; transition: background .25s var(--ease), transform .25s var(--spring);
}
.modal-close:hover { background: var(--pink); transform: rotate(90deg); }
.modal-card__img { aspect-ratio: 16/10; background-size: cover; background-position: center; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.modal-card__body { padding: 26px 26px 28px; }
.modal-card__badges { display: flex; gap: 6px; margin-bottom: 10px; }
.modal-card__name { font-family: var(--ff-display); font-weight: 800; font-size: 1.5rem; color: var(--ink); }
.modal-card__desc { color: var(--ink-soft); margin-top: 6px; font-size: .96rem; }
.nutrition { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 20px; }
.nutrition__item { text-align: center; background: var(--cream-2); border-radius: 12px; padding: 10px 4px; }
.nutrition__item b { display: block; font-family: var(--ff-display); font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.nutrition__item span { font-size: .68rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); font-weight: 700; }
.nutrition__hint { font-size: .74rem; color: var(--ink-soft); margin-top: 8px; }
.modal-card__comp { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.modal-card__label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--pink); font-weight: 800; }
.modal-card__comp p { margin-top: 6px; color: var(--ink-soft); font-size: .92rem; line-height: 1.55; }
.modal-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; flex-wrap: wrap; }
.qty-stepper { display: flex; align-items: center; gap: 4px; background: var(--cream-2); border-radius: 100px; padding: 4px; }
.qty-stepper button { width: 34px; height: 34px; border-radius: 50%; border: none; background: transparent; font-size: 1.1rem; font-weight: 700; color: var(--ink); cursor: pointer; transition: background .2s; }
.qty-stepper button:hover { background: #fff; }
.qty-stepper span { min-width: 26px; text-align: center; font-weight: 700; }

/* ══ Корзина ══ */
.cart-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 200; width: 60px; height: 60px; border-radius: 50%;
  background: var(--pink); border: none; color: #fff; font-size: 1.5rem; cursor: pointer;
  box-shadow: var(--shadow); display: grid; place-content: center;
  transition: transform .35s var(--spring), background .3s var(--ease);
}
.cart-fab:hover { transform: translateY(-3px) scale(1.04); background: var(--pink-dk); }
.cart-fab__badge {
  position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 100px;
  background: var(--dark); color: #fff; font-size: .74rem; font-weight: 800; display: grid; place-content: center;
  border: 2px solid var(--cream);
}
.cart-overlay { position: fixed; inset: 0; z-index: 250; background: rgba(18,8,13,.55); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
.cart-overlay.is-open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 260; width: min(420px, 100vw);
  background: var(--paper); box-shadow: -20px 0 60px -20px rgba(18,8,13,.4);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .45s var(--ease);
}
.cart-drawer.is-open { transform: none; }
.cart-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.cart-drawer__head h3 { font-family: var(--ff-display); font-weight: 800; font-size: 1.3rem; }
.cart-drawer__head .modal-close { position: static; background: var(--cream-2); color: var(--ink); }
.cart-drawer__head .modal-close:hover { background: var(--pink); color: #fff; }
.cart-drawer__body { flex: 1; overflow-y: auto; padding: 10px 24px; }
.cart-drawer__empty { color: var(--ink-soft); text-align: center; padding: 60px 10px; font-size: .95rem; }
.cart-drawer__list { display: flex; flex-direction: column; }
.cart-item { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; padding: 16px 0; border-bottom: 1px dashed var(--line); align-items: center; }
.cart-item__img { width: 56px; height: 56px; border-radius: 12px; background-size: cover; background-position: center; background-color: var(--cream-2); flex-shrink: 0; }
.cart-item__name { font-weight: 700; color: var(--ink); font-size: .95rem; }
.cart-item__price { font-size: .82rem; color: var(--ink-soft); }
.cart-item__stepper { display: flex; align-items: center; gap: 6px; }
.cart-item__stepper button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: transparent; font-weight: 700; cursor: pointer; }
.cart-item__stepper button:hover { background: var(--cream-2); }
.cart-item__remove { align-self: start; background: none; border: none; color: var(--ink-soft); font-size: 1rem; cursor: pointer; padding: 2px; }
.cart-item__remove:hover { color: var(--pink); }
.cart-drawer__foot { padding: 18px 24px 24px; border-top: 1px solid var(--line); }
.cart-drawer__total { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.cart-drawer__total span { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.cart-drawer__total b { font-family: var(--ff-display); font-size: 1.5rem; font-weight: 800; color: var(--ink); }

.cart-checkout { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; }
.cart-checkout__note { font-size: .86rem; color: var(--ink-soft); background: var(--cream-2); border-radius: 12px; padding: 12px 14px; }
.cart-checkout label { display: flex; flex-direction: column; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--ink-soft); }
.cart-checkout input, .cart-checkout textarea {
  font-family: var(--ff-body); font-size: .95rem; padding: 12px 14px; border-radius: 12px;
  border: 2px solid var(--line); background: var(--cream); color: var(--ink);
}
.cart-checkout input:focus, .cart-checkout textarea:focus { outline: none; border-color: var(--pink); }
.cart-checkout textarea { min-height: 70px; resize: vertical; }
.cart-checkout__err { color: #C1123E; font-size: .84rem; min-height: 1.2em; }
.cart-checkout__actions { display: flex; gap: 10px; }

/* ── Модалка карты клуба ── */
.loyalty-modal__ico { margin-bottom: 4px; }
.loyalty-modal .modal-card__name { margin-top: 2px; }
.lm-form { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.lm-form label { display: flex; flex-direction: column; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--ink-soft); }
.lm-form input { font-family: var(--ff-body); font-size: .95rem; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--line); background: var(--cream); color: var(--ink); }
.lm-form input:focus { outline: none; border-color: var(--pink); }
.lm-hint { font-size: .8rem; color: var(--ink-soft); text-align: center; margin-top: 2px; }
.cart-checkout__actions .btn { flex: 1; justify-content: center; }

.cart-success { padding: 50px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cart-success__ico { width: 56px; height: 56px; border-radius: 50%; background: var(--pink); color: #fff; font-size: 1.4rem; display: grid; place-content: center; margin-bottom: 6px; }
.cart-success h4 { font-family: var(--ff-display); font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.cart-success p { color: var(--ink-soft); font-size: .92rem; max-width: 30ch; }
.cart-success .btn { margin-top: 10px; }

/* ══ Reveal ══ */
.reveal { opacity: 0; transform: translateY(28px); filter: blur(8px); transition: opacity .85s var(--ease), transform .85s var(--ease), filter .85s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; filter: blur(0); }
.present .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
.present .hero { min-height: 640px; }
.present { scroll-behavior: auto; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  html { scroll-behavior: auto; }
}

/* ══ Адаптив ══ */
@media (max-width: 1000px) {
  .nav__links, .nav__meta { display: none; }
  .nav__burger { display: flex; }
  .nav__inner { grid-template-columns: 1fr auto 1fr; }
  .brand { justify-self: center; }
  .builder__grid, .loyalty__grid, .contacts__grid, .game__grid { grid-template-columns: 1fr; }
  .loyalty__stage { order: 2; }
  .game__board-wrap { order: 2; }
  .builder__photo { max-height: 320px; }
  .menu__layout { grid-template-columns: 1fr; }
  .menu__nav { position: static; flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 6px; margin-bottom: 20px; }
  .menu__navbtn { white-space: nowrap; }
  .menu__navbtn:hover { transform: none; }
  .menu-card { flex-basis: 72vw; }
  .stories__row { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .footer__inner { grid-template-columns: 1fr; gap: 30px; }
  .footer__meta { text-align: left; }
}
@media (max-width: 620px) {
  .container { padding-inline: 18px; }
  .nav__inner { padding-inline: 18px; }
  .menu-card { flex-basis: 78vw; }
  .menu-card__body { padding: 12px 13px 14px; }
  .contacts__row { grid-template-columns: 1fr; gap: 6px; }
  .gallery { grid-template-columns: 1fr 1fr; padding-inline: 18px; }
  .gallery__item--tall { grid-row: span 1; }
  .loyalty__benefits { grid-template-columns: 1fr; gap: 16px; }
  .display--hero .display__grotesk, .display--hero .display__serif { font-size: clamp(2.6rem, 15vw, 4.4rem); }
}
