@charset "UTF-8";
/* ============================================================
   БогатырЪ — Design tokens + global styles
   Neo-Brutalism × Slavic athletic
   ============================================================ */

:root {
  /* Цвета */
  --color-bg:           #000000;
  --color-bg-card:      #1A1A1A;
  --color-bg-elevated:  #2A2A2A;
  --color-text:         #FFFFFF;
  --color-text-muted:   #999999;
  --color-text-subtle:  #666666;
  --color-accent:       #D55415;
  --color-accent-hover: #E66520;
  --color-accent-dark:  #A8400F;
  --color-illustration: #D9D9D9;
  --color-border:       #333333;
  --color-border-strong:#666666;
  --color-success:      #4ADE80;
  --color-error:        #EF4444;

  /* Шрифты */
  --font-heading: 'Bebas Neue', 'Oswald', 'Impact', sans-serif;
  --font-body:    'Manrope', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', 'Consolas', monospace;

  /* Сетка */
  --container-max: 1280px;
  --gap: 24px;

  /* Высота sticky-шапки (используется в hero, чтобы фон не залезал под header) */
  --header-h: 67px;

  /* Анимации */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 200ms;
}

/* ============================================================
   Reset + base
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
/* Резерв на случай если кто-то скроллит конкретный элемент */
section[id], article[id], [data-anchor] {
  scroll-margin-top: var(--header-h);
}
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; transition: color var(--duration) var(--ease); }
a:hover { color: var(--color-accent); }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; border: none; outline: none; background: none; }

::selection { background: var(--color-accent); color: var(--color-bg); }

/* Focus visible (a11y) */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   Typography (Brutalist scale)
   ============================================================ */

.h1, h1, .h2, h2, .h3, h3, .lookbook__title, .section-heading__title {
  text-wrap: pretty;
  hyphens: manual;
}
.h1, h1 {
  font-family: var(--font-heading);
  font-size: clamp(48px, 9vw, 128px);
  font-weight: 400; /* Bebas Neue только в regular */
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.h2, h2 {
  font-family: var(--font-heading);
  font-size: clamp(40px, 7vw, 96px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.h3, h3 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.0;
  text-transform: uppercase;
  letter-spacing: 0;
}
.h4, h4 {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 400;
  text-transform: uppercase;
}
p { font-size: clamp(15px, 1.1vw, 18px); line-height: 1.6; }
.lead { font-size: clamp(18px, 1.5vw, 24px); line-height: 1.5; color: var(--color-text-muted); }
small, .small { font-size: 14px; line-height: 1.4; }
.mono { font-family: var(--font-mono); letter-spacing: 0.02em; }
.accent { color: var(--color-accent); }
.muted { color: var(--color-text-muted); }
.subtle { color: var(--color-text-subtle); }

/* ============================================================
   Layout helpers
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: 24px;
}
@media (min-width: 768px) { .container { padding-inline: 64px; } }
@media (min-width: 1024px){ .container { padding-inline: 96px; } }
@media (min-width: 1440px){ .container { padding-inline: 160px; } }

.section { padding-block: 40px; }
@media (min-width: 768px) { .section { padding-block: 60px; } }
@media (min-width: 1024px){ .section { padding-block: 80px; } }

.grid { display: grid; gap: var(--gap); }

/* ============================================================
   Header (sticky)
   ============================================================ */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-block: 16px;
  position: relative;
}
.header__logo { margin-right: auto; }
.header__cta { margin-left: auto; }
@media (min-width: 768px) {
  .header__nav {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
  }
  /* Корзина: справа, рядом с CTA «К меню»; не влияет на положение центрового nav */
  .header__cart {
    margin-left: auto;
    margin-right: 0;
  }
  .header__cta { margin-left: 0; }
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.header__logo img { width: 36px; height: 36px; }
.header__nav { display: none; gap: 32px; }
.header__nav a {
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.header__cta { display: none; }
.header__burger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
}
.header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
}

@media (min-width: 768px) {
  .header__nav { display: flex; }
  .header__burger { display: none; }
  .header__cta { display: inline-flex; }
}

/* ============================================================
   Header navigation submenu (Стиль / Кухня → категории)
   ============================================================ */
.header__nav-item {
  display: flex;
  align-items: center;
}
.header__nav-toggle {
  background: transparent;
  border: 0;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.header__nav-toggle .icon {
  width: 14px;
  height: 14px;
  transition: transform 200ms var(--ease);
}
.header__nav-submenu {
  display: flex;
  flex-direction: column;
}
.header__nav-submenu a {
  text-transform: none;
  font-size: 13px;
  letter-spacing: 0.03em;
  font-weight: 500;
}

@media (min-width: 768px) {
  .header__nav-item--has-submenu {
    position: relative;
  }
  .header__nav-item--has-submenu .header__nav-submenu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    min-width: 220px;
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms var(--ease), transform 180ms var(--ease);
    z-index: 100;
  }
  .header__nav-item--has-submenu .header__nav-submenu::before {
    content: '';
    position: absolute;
    inset: -12px 0 100% 0;
  }
  .header__nav-item--has-submenu:hover .header__nav-submenu,
  .header__nav-item--has-submenu:focus-within .header__nav-submenu,
  .header__nav-item--has-submenu.is-open .header__nav-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .header__nav-item--has-submenu .header__nav-submenu a {
    padding: 10px 20px;
    color: var(--color-text-muted);
    text-align: left;
    white-space: nowrap;
    border-bottom: 1px solid transparent;
  }
  .header__nav-item--has-submenu .header__nav-submenu a:hover {
    color: var(--color-accent);
    background: var(--color-bg);
  }
  .header__nav-item--has-submenu .header__nav-toggle .icon { transform: rotate(90deg); }
  .header__nav-item--has-submenu:hover .header__nav-toggle .icon,
  .header__nav-item--has-submenu.is-open .header__nav-toggle .icon { transform: rotate(-90deg); }
}

@media (max-width: 767px) {
  .header__nav-item {
    display: block;
  }
  .header__nav-item--has-submenu {
    position: relative;
  }
  .header__nav-item--has-submenu > .header__nav-link-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-border);
  }
  .header__nav-item--has-submenu > .header__nav-link-row > a {
    flex: 1;
    border-bottom: 0 !important;
  }
  .header__nav-item--has-submenu > .header__nav-link-row > .header__nav-toggle {
    padding: 20px 24px;
    color: var(--color-text-muted);
  }
  .header__nav-item--has-submenu > .header__nav-link-row > .header__nav-toggle .icon {
    width: 18px;
    height: 18px;
  }
  .header__nav-item--has-submenu.is-open > .header__nav-link-row > .header__nav-toggle .icon {
    transform: rotate(90deg);
  }
  .header__nav-item--has-submenu .header__nav-submenu {
    display: none;
    background: var(--color-bg-card);
  }
  .header__nav-item--has-submenu.is-open .header__nav-submenu {
    display: flex;
  }
  .header__nav-item--has-submenu .header__nav-submenu a {
    padding: 14px 24px 14px 48px;
    border-bottom: 1px solid var(--color-border);
    font-size: 14px;
    color: var(--color-text-muted);
  }
}

/* ============================================================
   Buttons (Neo-Brutalist)
   ============================================================ */

/* Универсальный сброс для кнопок: текст и иконка по центру, без сдвигов */
button {
  text-align: center;
  line-height: 1;
}
.btn,
.filter-chip,
.dish__add,
.menu-section .dish__add,
.pd__nav,
.pd__thumb,
.lightbox__close,
.lightbox__nav,
.cart-modal__close,
.cart-item__remove,
.cart-item__btn,
.dish__qty-btn,
.header__cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid currentColor;
  border-radius: 0;
  cursor: pointer;
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease),
              background var(--duration) var(--ease),
              color var(--duration) var(--ease);
  position: relative;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-accent);
  color: #000;
  border-color: var(--color-accent);
}
.btn--primary:hover {
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0 var(--color-text);
  color: #000;
}

.btn--secondary {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-text);
}
.btn--secondary:hover {
  background: var(--color-text);
  color: var(--color-bg);
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0 var(--color-accent);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border-strong);
}
.btn--ghost:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn--lg { padding: 20px 40px; font-size: 16px; }
.btn--sm { padding: 12px 24px; font-size: 12px; }
.btn:disabled,
.btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* ============================================================
   Hero (главная)
   ============================================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-block: 120px 80px;
}
.hero__content {
  align-items: center;
}
.hero__ctas {
  justify-content: center;
}
.hero__eyebrow::before {
  display: none;
}
.hero__eyebrow {
  justify-content: center;
}

.hero__bg {
  position: absolute;
  top: var(--header-h);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  opacity: 0.4;
  pointer-events: none;
  text-align: center;
  overflow: hidden;
}
.hero__bg picture {
  display: inline-block;
  height: 100%;
  max-width: 100%;
  vertical-align: middle;
}
.hero__bg::before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
.hero__bg img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: contrast(1.1) brightness(1.05);
  vertical-align: middle;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 720px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
}
.hero__eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--color-accent);
}
.hero__title { color: var(--color-text); }
.hero__title .accent-strike { color: var(--color-accent); }
.hero__subtitle {
  font-size: clamp(18px, 1.8vw, 24px);
  color: var(--color-text-muted);
  max-width: 480px;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
}
.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--color-text-subtle);
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: bounce 2s infinite;
}
.hero__scroll-hint::after {
  content: '';
  width: 1px;
  height: 32px;
  background: var(--color-text-subtle);
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 8px); }
}

/* ============================================================
   Brand story (split-screen)
   ============================================================ */

.brand-story {
  display: grid;
  gap: 48px;
}
.brand-story__block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-block: 48px;
  border-bottom: 1px solid var(--color-border);
}
@media (min-width: 768px) {
  .brand-story__block { grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: center; }
  .brand-story__block:nth-child(even) { direction: rtl; }
  .brand-story__block:nth-child(even) > * { direction: ltr; }
}
.brand-story__num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--color-accent);
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}
.brand-story__title {
  margin-bottom: 24px;
}
.brand-story__text {
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 540px;
}
.brand-story__illustration {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
}
.brand-story__illustration img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

/* ============================================================
   Two directions (большие плитки)
   ============================================================ */

.directions {
  display: grid;
  gap: 16px;
}
@media (min-width: 1024px) {
  .directions { grid-template-columns: 1fr 1fr; }
}
.direction {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-card);
  border: 2px solid var(--color-border);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: flex-end;
  padding: 32px;
  transition: border-color var(--duration) var(--ease),
              transform var(--duration) var(--ease);
}
@media (min-width: 1024px) {
  .direction { aspect-ratio: 16 / 10; padding: 32px 40px; }
}
@media (min-width: 1440px) {
  .direction { aspect-ratio: 3 / 2; }
}
.direction:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
}
.direction__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.6;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity var(--duration) var(--ease), transform 600ms var(--ease);
}
.direction:hover .direction__bg {
  opacity: 0.8;
  transform: scale(1.05);
}
.direction__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
}
.direction__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.direction__category {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  text-transform: uppercase;
}
.direction__title {
  font-family: var(--font-heading);
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.9;
  text-transform: uppercase;
}
.direction__desc {
  font-size: 16px;
  color: var(--color-text-muted);
  max-width: 360px;
}
.direction__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
}
.direction__cta::after {
  content: '→';
  font-size: 20px;
  transition: transform var(--duration) var(--ease);
}
.direction:hover .direction__cta::after {
  transform: translateX(8px);
}

/* ============================================================
   Social proof
   ============================================================ */

.social-proof {
  display: grid;
  gap: 16px;
}
@media (min-width: 768px) {
  .social-proof { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .social-proof { grid-template-columns: repeat(4, 1fr); }
}
.review {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.review__quote {
  font-size: 16px;
  line-height: 1.5;
  flex: 1;
}
.review__quote::before { content: '«'; color: var(--color-accent); font-size: 32px; line-height: 0.5; margin-right: 4px; }
.review__quote::after  { content: '»'; color: var(--color-accent); font-size: 32px; line-height: 0; margin-left: 4px; }
.review__author {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}
.review__author strong {
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 700;
  margin-right: 6px;
}

.stats {
  display: grid;
  gap: 16px;
  margin-bottom: 48px;
}
@media (min-width: 768px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat {
  border: 1px solid var(--color-border);
  padding: 32px;
  text-align: center;
}
.stat__num {
  font-family: var(--font-heading);
  font-size: clamp(48px, 6vw, 72px);
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 8px;
}
.stat__label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ============================================================
   Newsletter
   ============================================================ */

.newsletter {
  background: var(--color-bg-card);
  border: 2px solid var(--color-border);
  padding: 48px;
  text-align: center;
}
@media (min-width: 768px) { .newsletter { padding: 80px; } }
.newsletter__title { margin-bottom: 16px; }
.newsletter__subtitle {
  color: var(--color-text-muted);
  margin-bottom: 32px;
  max-width: 480px;
  margin-inline: auto;
}
.newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 480px;
  margin-inline: auto;
}
@media (min-width: 480px) { .newsletter__form { flex-direction: row; } }
.newsletter__input {
  flex: 1;
  padding: 16px 24px;
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  color: var(--color-text);
  font-size: 16px;
}
.newsletter__input:focus {
  border-color: var(--color-accent);
}
.newsletter__socials {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 24px;
}
.newsletter__socials a {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.newsletter__socials a:hover { color: var(--color-accent); }
.newsletter__social-placeholder {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  opacity: 0.4;
  cursor: not-allowed;
  user-select: none;
}

/* ============================================================
   Dish card — кликабельная обёртка (ведёт на /food/<slug>/)
   ============================================================ */
.dish__link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.dish__link:hover .dish__name { color: var(--color-accent); }
.dish__link:hover .dish__image img { transform: scale(1.03); }
.dish__image img { transition: transform 300ms var(--ease); }

/* Stretched-link: вся карточка кликабельна, даже зоны рядом с ценой.
   Кнопки (+/−/корзина) сохраняют свою функцию через pointer-events. */
.dish:not(.dish--detail) { position: relative; }
.dish:not(.dish--detail) .dish__link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
.dish:not(.dish--detail) .dish__footer {
  position: relative;
  z-index: 2;
  pointer-events: none;
}
.dish:not(.dish--detail) .dish__footer .dish__add,
.dish:not(.dish--detail) .dish__footer .dish__qty-btn {
  pointer-events: auto;
}

/* Detail-страница блюда — повторяет layout /clothes/<slug>/ */
.dish.dish--detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  background: transparent;
  border: 0;
  max-height: none;
}
.dish.dish--detail:hover { transform: none; border-color: transparent; }
@media (min-width: 768px) {
  .dish.dish--detail {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    max-height: none;
    align-items: start;
  }
}
.dish.dish--detail .pd__gallery { display: flex; flex-direction: column; gap: 12px; min-width: 0; min-height: 0; }
.dish.dish--detail .pd__main.dish__image {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
  padding: 16px;
  cursor: zoom-in;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  line-height: 1;
  max-height: 60vh;
}
.dish.dish--detail .pd__main.dish__image::before { display: none; }
.dish.dish--detail .pd__main img { width: 100%; height: 100%; object-fit: contain; }
.dish.dish--detail .pd__info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 0;
  overflow-y: visible;
}
.dish.dish--detail .pd__name { font-size: clamp(28px, 4vw, 48px); margin: 0; line-height: 1; text-transform: none; }
.dish.dish--detail .pd__price {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 40px);
  color: var(--color-accent);
}
.dish.dish--detail .dish__footer {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
  padding-top: 0;
  border-top: 0;
}
.dish.dish--detail .dish__add {
  border: 2px solid var(--color-accent);
  background: var(--color-accent);
  color: #000;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1;
}
.dish.dish--detail .dish__add .icon { width: 18px; height: 18px; }
.dish.dish--detail .dish__add:hover { background: transparent; color: var(--color-accent); }

/* Mobile: qty-контроллер на новой строке под ценой (десктоп — рядом, как было) */
@media (max-width: 767px) {
  .dish.dish--detail .dish__footer:has(.dish__qty) {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .dish.dish--detail .dish__footer:has(.dish__qty) .dish__price {
    align-self: flex-start;
  }
  .dish.dish--detail .dish__footer:has(.dish__qty) .dish__qty {
    width: 100%;
    height: 52px;
    gap: 10px;
  }
  .dish.dish--detail .dish__footer:has(.dish__qty) .dish__qty-group {
    flex: 1;
    justify-content: space-between;
  }
  .dish.dish--detail .dish__footer:has(.dish__qty) .dish__qty-btn {
    width: 56px;
  }
  .dish.dish--detail .dish__footer:has(.dish__qty) .dish__qty-btn--remove {
    width: 52px;
  }
  .dish.dish--detail .dish__footer:has(.dish__qty) .dish__qty-btn .icon {
    width: 20px;
    height: 20px;
  }
  .dish.dish--detail .dish__footer:has(.dish__qty) .dish__qty-count {
    font-size: 20px;
    min-width: 24px;
  }
  /* Большая кнопка «В корзину» на мобиле — на всю ширину под ценой */
  .dish.dish--detail .dish__footer {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .dish.dish--detail .dish__footer .dish__price {
    align-self: flex-start;
  }
  .dish.dish--detail .dish__add {
    width: 100%;
    padding: 16px 24px;
    font-size: 15px;
  }
  /* Sticky-CTA на детальной — только на mobile */
  body:has(.dish.dish--detail) .sticky-cta { display: flex; }
}
@media (min-width: 768px) {
  /* Desktop: sticky-CTA на детальной странице блюда не нужна (есть header__cart) */
  body:has(.dish.dish--detail) .sticky-cta { display: none !important; }
}

/* ============================================================
   Footer
   ============================================================ */

.footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding-block: 80px 40px;
}
.footer__grid {
  display: grid;
  gap: 48px;
  margin-bottom: 64px;
}
@media (min-width: 768px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 400px;
}
.footer__brand-logo {
  font-family: var(--font-heading);
  font-size: 32px;
  text-transform: uppercase;
}
.footer__brand-desc {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.6;
}
.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-text-muted);
}
.footer__contacts a:hover { color: var(--color-accent); }
.footer__col h4 {
  font-size: 14px !important;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  color: var(--color-accent);
}
.footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.footer__col a {
  font-size: 14px;
  color: var(--color-text-muted);
}
.footer__bottom {
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-text-subtle);
}
@media (min-width: 768px) {
  .footer__bottom { flex-direction: row; justify-content: space-between; }
}
.footer__socials { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.footer__socials a,
.footer__socials .footer__social {
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--color-border);
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}
.footer__socials a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.footer__social--placeholder {
  opacity: 0.4;
  cursor: not-allowed;
  user-select: none;
}

/* ============================================================
   Section heading helpers
   ============================================================ */

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 64px;
}
.section-heading__eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-heading__eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--color-accent);
}
.section-heading__title { max-width: 1100px; }
.section-heading__subtitle {
  color: var(--color-text-muted);
  font-size: clamp(16px, 1.3vw, 20px);
  max-width: 640px;
}

/* ============================================================
   Scroll reveal animation
   ============================================================ */

[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Filter chips (categories)
   ============================================================ */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}
.filter-chip {
  padding: 10px 20px;
  border: 2px solid var(--color-border);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}
.filter-chip:hover { color: var(--color-text); border-color: var(--color-border-strong); }
.filter-chip.is-active { background: var(--color-accent); color: #000; border-color: var(--color-accent); }

/* ============================================================
   Product bento grid (clothes)
   ============================================================ */
.products {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 600px)  { .products { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .products { grid-template-columns: repeat(5, 1fr); grid-auto-rows: 1fr; } }
.product {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  transition: border-color var(--duration) var(--ease), transform var(--duration) var(--ease);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.product:hover { border-color: var(--color-accent); transform: translateY(-4px); color: inherit; }
.product--hero { grid-column: span 1; }
@media (min-width: 1024px) { .product--hero { grid-column: span 2; grid-row: span 2; } }
.product__image {
  position: relative;
  aspect-ratio: 5 / 4;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
  padding: 12px;
}
.product--hero .product__image { aspect-ratio: 1 / 1; }
.product__image picture {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}
.product__image img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 400ms var(--ease);
}
.product:hover .product__image img { transform: scale(1.05); }
.product__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--color-accent);
  color: #000;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  text-transform: uppercase;
}
.product__body {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.product__category {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--color-text-subtle);
  text-transform: uppercase;
}
.product__name {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2vw, 28px);
  text-transform: uppercase;
  line-height: 1;
}
.product--hero .product__name { font-size: clamp(28px, 3vw, 40px); }
.product__desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-block: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product--hero .product__desc { -webkit-line-clamp: 4; }
.product__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}
.product__price {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--color-accent);
}
.product__cta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-text);
  padding-bottom: 2px;
}
.product:hover .product__cta { color: var(--color-accent); border-color: var(--color-accent); }

/* ============================================================
   Drop countdown
   ============================================================ */
.countdown {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 12px 24px;
  border: 2px solid var(--color-accent);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-top: 16px;
  width: fit-content;
}
.countdown__dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.3; }
}
.countdown__value { color: var(--color-accent); font-weight: 700; }

/* ============================================================
   Lookbook (scroll storytelling)
   ============================================================ */
/* ============================================================
   Product Detail (.pd) — страница /clothes/<slug>/
   ============================================================ */
.pd {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-height: none;
}
@media (min-width: 768px) {
  .pd { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; max-height: 80vh; }
}
.pd__gallery { display: flex; flex-direction: column; gap: 12px; min-height: 0; }
.pd__main {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 16px;
  max-height: 60vh;
  cursor: zoom-in;
}
.pd__main img,
.pd__main-img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: none;
}
.pd__main-img.is-active { display: block; }
.pd__main:not(:has(.pd__main-img)) img { display: block; }
.pd__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 20px;
  font-family: var(--font-mono);
  cursor: pointer;
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
}
.pd__main:has(.pd__main-img + .pd__main-img) .pd__nav { display: flex; }
.pd__nav:hover { background: var(--color-accent); color: #000; }
.pd__nav--prev { left: 12px; }
.pd__nav--next { right: 12px; }
.pd__nav .icon,
.lightbox__close .icon,
.lightbox__nav .icon { width: 22px; height: 22px; }
.cart-modal__close .icon { width: 20px; height: 20px; }
.btn .icon { width: 16px; height: 16px; }
.btn--lg .icon { width: 18px; height: 18px; }
.dish__add .icon,
.menu-section .dish__add .icon { width: 18px; height: 18px; }
.dish__qty-btn .icon,
.menu-section .dish__qty-btn .icon { width: 14px; height: 14px; }
.cart-item__remove .icon { width: 18px; height: 18px; }
.cart-item__btn .icon { width: 16px; height: 16px; }
.pd__badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--color-accent);
  color: #000;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 10px;
  text-transform: uppercase;
  z-index: 2;
}
.pd__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: 8px;
}
.pd__thumb {
  aspect-ratio: 1 / 1;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding: 6px;
  cursor: pointer;
  transition: border-color var(--duration) var(--ease);
}
.pd__thumb:hover,
.pd__thumb.is-active { border-color: var(--color-accent); }
.pd__thumb img { width: 100%; height: 100%; object-fit: contain; }
.pd__info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  padding-right: 4px;
}
.pd__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  text-transform: uppercase;
}
.pd__name {
  margin: 0;
  line-height: 1;
  font-size: clamp(24px, 3vw, 36px);
}
.pd__price {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 40px);
  color: var(--color-accent);
  letter-spacing: 0.02em;
}
.pd__desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  opacity: 1;
  transition: opacity 200ms var(--ease);
}
.lightbox.is-loading .lightbox__img { opacity: 0.15; }
.lightbox__spinner {
  position: absolute;
  width: 56px;
  height: 56px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: lightbox-spin 700ms linear infinite;
  display: none;
  pointer-events: none;
}
.lightbox.is-loading .lightbox__spinner { display: block; }
@keyframes lightbox-spin {
  to { transform: rotate(360deg); }
}
.lightbox__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 48px; height: 48px;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 28px;
  cursor: pointer;
}
.lightbox__close:hover { background: var(--color-accent); color: #000; }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px; height: 56px;
  background: rgba(0,0,0,0.6);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 28px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox__nav:hover { background: var(--color-accent); color: #000; }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
body.lightbox-open { overflow: hidden; }
.pd__row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-block: 8px;
  border-top: 1px solid var(--color-border);
  font-size: 14px;
}
.pd__row:last-of-type { border-bottom: 1px solid var(--color-border); }
.pd__row-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  min-width: 100px;
}
.pd__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pd__chip {
  border: 1px solid var(--color-border);
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
}
.pd__swatches { display: flex; gap: 8px; }
.pd__swatch {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  display: inline-block;
}
.pd__cta { margin-top: 16px; }
.pd__back {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  text-decoration: none;
}
.pd__back:hover { color: var(--color-accent); }

.lookbook {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.lookbook__slide {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  border-block: 1px solid var(--color-border);
  overflow: hidden;
}
.lookbook__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
}
.lookbook__bg picture {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}
.lookbook__bg img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.lookbook__content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  padding-block: 80px;
}
.lookbook__num {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: 16px;
}
.lookbook__title { margin-bottom: 24px; }
.lookbook__text {
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.5;
  color: var(--color-text-muted);
}

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--color-border);
}
.faq__item {
  border-bottom: 1px solid var(--color-border);
}
.faq__item[aria-expanded="true"] .faq__a { max-height: 800px; padding-block: 0 24px; }
.faq__item[aria-expanded="true"] .faq__q::after { transform: rotate(45deg); }
.faq__q {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 24px;
  font-family: var(--font-heading);
  font-size: clamp(18px, 2vw, 24px);
  text-transform: uppercase;
  cursor: pointer;
  gap: 16px;
}
.faq__q:hover { color: var(--color-accent); }
.faq__q::after {
  content: '+';
  font-size: 24px;
  color: var(--color-accent);
  transition: transform 200ms var(--ease);
  flex-shrink: 0;
}
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms var(--ease), padding 300ms var(--ease);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 720px;
}

/* ============================================================
   Burger menu drawer (mobile)
   ============================================================ */
@media (max-width: 767px) {
  .header__nav {
    position: fixed;
    inset: 64px 0 auto;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    gap: 0;
    padding: 0;
    transform: translateY(-100%);
    transition: transform 300ms var(--ease);
    visibility: hidden;
  }
  .header__nav.is-open {
    display: flex;
    transform: translateY(0);
    visibility: visible;
  }
  .header__nav a {
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-border);
    font-size: 16px;
  }
}

/* ============================================================
   Food hero — address form + promo
   ============================================================ */
.food-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-block: 120px 80px;
  background: linear-gradient(to bottom, #1a0a05, #000);
}
.food-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 1024px) {
  .food-hero__inner { grid-template-columns: 1.2fr 1fr; gap: 80px; }
}
.food-hero__visual {
  aspect-ratio: 1 / 1;
  max-height: 600px;
  background: var(--color-bg-card);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.food-hero__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(213, 84, 21, 0.4), transparent 70%);
}
.food-hero__visual-emoji {
  font-size: clamp(120px, 20vw, 240px);
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
}
.food-hero__content { display: flex; flex-direction: column; gap: 24px; }
.food-hero__promo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--color-accent);
  color: #000;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 20px;
  width: fit-content;
}
.address-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: var(--color-bg-card);
  border: 2px solid var(--color-border);
  margin-top: 16px;
}
.address-form__label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.address-form__row { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 600px) { .address-form__row { flex-direction: row; } }
.address-form__input {
  flex: 1;
  padding: 16px 20px;
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  color: var(--color-text);
  font-size: 16px;
  transition: border-color var(--duration) var(--ease);
}
.address-form__input:focus { border-color: var(--color-accent); }

/* ============================================================
   Menu categories (bento)
   ============================================================ */
.categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 768px) { .categories { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px){ .categories { grid-template-columns: repeat(6, 1fr); } }
.category {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.category:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  color: inherit;
}
.category__icon {
  font-size: 48px;
  line-height: 1;
}
.category__name {
  font-family: var(--font-heading);
  font-size: clamp(18px, 1.8vw, 22px);
  text-transform: uppercase;
}
.category__count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-text-subtle);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ============================================================
   Dish cards (food showcase)
   ============================================================ */
.dishes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 600px)  { .dishes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .dishes { grid-template-columns: repeat(4, 1fr); } }
.dish {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  transition: border-color var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.dish:hover { border-color: var(--color-accent); transform: translateY(-4px); }
.dish--hero { grid-column: span 1; }
@media (min-width: 1024px) { .dish--hero { grid-column: span 2; grid-row: span 2; } }
.dish__image {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 96px;
  line-height: 1;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}
.dish--hero .dish__image { aspect-ratio: 16 / 9; font-size: 144px; }
.dish__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(213, 84, 21, 0.3), transparent 60%);
}
.dish__image-emoji { position: relative; z-index: 1; filter: drop-shadow(0 8px 24px rgba(0,0,0,0.5)); }
.dish__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  z-index: 2;
}
.dish__badge {
  background: var(--color-accent);
  color: #000;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  text-transform: uppercase;
}
.dish__badge--warning {
  background: var(--color-warning, #FACC15);
  color: #000;
}
.dish__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.dish__name {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2vw, 28px);
  text-transform: uppercase;
  line-height: 1;
}
.dish--hero .dish__name { font-size: clamp(28px, 3vw, 40px); }
.dish__weight {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-text-subtle);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.dish__desc {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dish--hero .dish__desc { -webkit-line-clamp: 4; font-size: 15px; }
.dish__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
  gap: 12px;
}
.dish__price {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--color-accent);
}
.dish__add {
  padding: 10px 16px;
  background: var(--color-bg-elevated);
  border: 2px solid var(--color-border);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}
.dish__add:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #000;
}

/* ============================================================
   How it works (steps)
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px){ .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px 24px;
  border: 1px solid var(--color-border);
  position: relative;
}
.step__num {
  font-family: var(--font-heading);
  font-size: 72px;
  line-height: 1;
  color: var(--color-accent);
}
.step__title {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2vw, 28px);
  text-transform: uppercase;
}
.step__text {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ============================================================
   Delivery zone
   ============================================================ */
.zone {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
@media (min-width: 768px) { .zone { grid-template-columns: 1fr 1fr !important; gap: 32px !important; align-items: stretch !important; } }
.zone__map {
  aspect-ratio: 16 / 10;
  background: var(--color-bg-card);
  border: 2px solid var(--color-border);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) {
  .zone__map { aspect-ratio: auto; height: 100%; min-height: 320px; }
}
.zone__map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  color: var(--color-text-subtle);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
  padding: 32px;
}
/* old emoji ::before removed — карта-иконка теперь inline SVG в HTML */
.zone__info { display: flex; flex-direction: column; gap: 32px; }
.zone__districts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.zone__district {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-text);
  padding: 12px 16px;
  background: var(--color-bg-card);
  border-left: 3px solid var(--color-accent);
  letter-spacing: 0.02em;
}
.zone__stat {
  padding: 24px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
}
.zone__stat-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}
.zone__stat-value {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 48px);
  color: var(--color-accent);
}

/* ============================================================
   Guarantee tiles
   ============================================================ */
.guarantees {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) { .guarantees { grid-template-columns: repeat(3, 1fr); } }
.guarantee {
  padding: 40px 32px;
  background: var(--color-bg-card);
  border: 2px solid var(--color-border);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.guarantee__icon { font-size: 64px; line-height: 1; }
.guarantee__title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.5vw, 32px);
  color: var(--color-accent);
  text-transform: uppercase;
}
.guarantee__text {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ============================================================
   Sticky bottom CTA (mobile food)
   ============================================================ */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: var(--color-accent);
  color: #000;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 2px solid #000;
  transform: translateY(100%);
  transition: transform 300ms var(--ease);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta__info {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  color: #000;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.sticky-cta__info b,
.sticky-cta__info strong { font-weight: 800; }
.sticky-cta__qty { white-space: nowrap; }
.sticky-cta__info .sticky-cta__price {
  font-weight: 800;
  white-space: nowrap;
}
/* Desktop: разделитель · между qty и ценой */
.sticky-cta__qty + .sticky-cta__price::before {
  content: '·';
  margin-right: 6px;
  opacity: 0.6;
}
.sticky-cta__btn {
  padding: 12px 24px;
  background: #000;
  color: var(--color-accent);
  border: 2px solid #000;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (min-width: 768px) { .sticky-cta { display: none; } }


/* ============================================================
   Skip link (a11y) — visually hidden until keyboard-focused
   ============================================================ */
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus,
.skip-link:focus-visible {
  position: fixed;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 12px 24px;
  margin: 0;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
  z-index: 999;
  background: var(--color-accent);
  color: #000;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 2px solid #000;
}

/* ============================================================
   SVG icons (replaces emoji)
   ============================================================ */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  flex-shrink: 0;
}
.icon--lg { width: 1.5em; height: 1.5em; }
.icon--xl { width: 2em; height: 2em; }
.icon--2xl { width: 3em; height: 3em; }

/* Override emoji sizing in cards (text-based class replaced by svg) */
.category__icon {
  font-size: 48px;
  line-height: 1;
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}
.category__icon .icon { width: 48px; height: 48px; }

.dish__image-emoji {
  font-size: 96px;
  line-height: 1;
  display: inline-flex;
  width: 96px;
  height: 96px;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  opacity: 0.95;
}
.dish--hero .dish__image-emoji {
  width: 144px;
  height: 144px;
}
.dish__image-emoji .icon { width: 100%; height: 100%; }

.guarantee__icon {
  display: inline-flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  line-height: 1;
}
.guarantee__icon .icon { width: 64px; height: 64px; }

.food-hero__visual-emoji {
  font-size: clamp(120px, 20vw, 240px);
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
  color: var(--color-accent);
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}
.food-hero__visual-emoji .icon {
  width: clamp(120px, 20vw, 240px);
  height: clamp(120px, 20vw, 240px);
}

/* Chili badge (мини-иконка в badge'ах) */
.dish__badge .icon {
  width: 14px;
  height: 14px;
  vertical-align: middle;
}

/* Promo star (food hero) */
.food-hero__promo .icon {
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

/* Map placeholder — заменяет ::before content '🗺️' */
.zone__map-placeholder--icon {
  width: 96px;
  height: 96px;
  color: var(--color-text-subtle);
  margin-bottom: 8px;
}

/* ============================================================
   Cart modal
   ============================================================ */
.dish__add.is-added {
  background: var(--color-accent);
  color: #000;
  border-color: var(--color-accent);
}

.cart-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: flex-end;
  justify-content: center;
}
.cart-modal.is-open { display: flex; }
.cart-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.cart-modal__panel {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: 92vh;
  background: var(--color-bg-card);
  border: 2px solid var(--color-accent);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .cart-modal { align-items: center; padding: 24px; }
  .cart-modal__panel { max-height: 88vh; }
}
@media (max-width: 767px) {
  /* На мобильной — модал на всю видимую область viewport */
  .cart-modal { align-items: stretch; padding: 0; }
  .cart-modal__panel {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    height: 100dvh; /* учитывает URL-бар на iOS/Android */
    max-height: 100dvh;
    border: 0;
  }
}
.cart-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  background: var(--color-bg-card);
  z-index: 1;
}
.cart-modal__title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 32px);
  text-transform: uppercase;
  margin-right: auto;
}
.cart-modal__history-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}
.cart-modal__history-btn:hover:not(:disabled) {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.cart-modal__history-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.cart-modal__history-btn[aria-pressed="true"] {
  background: var(--color-accent);
  color: #000;
  border-color: var(--color-accent);
}
.cart-modal__history-btn .icon { width: 14px; height: 14px; }

/* Панель «Мои заказы» */
.cart-history { padding-top: 24px; }
.orders-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}
.order-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.order-card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.order-card__date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-text-subtle);
  letter-spacing: 0.04em;
}
.order-card__total {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-accent);
}
.order-card__items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: var(--color-text);
}
.order-card__items li {
  padding-left: 14px;
  position: relative;
}
.order-card__items li::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: var(--color-accent);
}
.order-card__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-text-subtle);
  line-height: 1.5;
  letter-spacing: 0.03em;
  padding-top: 6px;
  border-top: 1px solid var(--color-border);
}
.order-card .btn { align-self: flex-start; margin-top: 4px; }
@media (max-width: 600px) {
  .cart-modal__history-btn span:not([data-orders-count]) {
    display: none;
  }
  .cart-modal__history-btn { padding: 8px 10px; }
}
.cart-modal__close {
  width: 40px;
  height: 40px;
  border: 2px solid var(--color-border);
  font-size: 22px;
  line-height: 1;
  background: transparent;
  color: var(--color-text);
  transition: all var(--duration) var(--ease);
}
.cart-modal__close:hover { background: var(--color-text); color: var(--color-bg); }
.cart-modal__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cart-modal__body[hidden] { display: none !important; }
.cart-modal__section-title {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--color-border);
  margin-top: 8px;
  padding-top: 16px;
}
.cart-item {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 8px 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  align-items: center;
}
.cart-item__remove {
  width: 36px;
  height: 36px;
  border: 2px solid var(--color-border);
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  grid-column: 1;
  grid-row: 1 / -1;
  transition: all var(--duration) var(--ease);
}
.cart-item__remove:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.cart-item__remove .icon { width: 18px; height: 18px; }
.cart-item__name {
  font-family: var(--font-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.cart-item__price {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-accent);
  grid-column: 3;
  grid-row: 1;
}
.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 8px;
  grid-column: 2 / -1;
  margin-top: 4px;
}
.cart-item__btn {
  width: 32px;
  height: 32px;
  border: 2px solid var(--color-border);
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration) var(--ease);
}
.cart-item__btn .icon { width: 16px; height: 16px; }
.cart-item__btn:hover {
  background: var(--color-accent);
  color: #000;
  border-color: var(--color-accent);
}
.cart-item__count {
  font-family: var(--font-mono);
  font-size: 16px;
  min-width: 28px;
  text-align: center;
  font-weight: 700;
}
.cart-empty {
  text-align: center;
  padding: 32px 0;
  color: var(--color-text-muted);
}
.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 2px solid var(--color-accent);
  margin-bottom: 8px;
}
.cart-total__label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.cart-total__value {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 36px);
  color: var(--color-accent);
}

/* Форма */
.cart-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cart-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-muted);
}
.cart-consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-accent);
  cursor: pointer;
}
.cart-consent a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cart-consent a:hover { color: var(--color-text); }
.cart-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cart-field label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.cart-field input,
.cart-field textarea,
.cart-field select {
  padding: 14px 18px;
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  color: var(--color-text);
  font-size: 16px;
  font-family: var(--font-body);
  transition: border-color var(--duration) var(--ease);
}
.cart-field input:focus,
.cart-field textarea:focus,
.cart-field select:focus {
  border-color: var(--color-accent);
}
.cart-field input.is-invalid,
.cart-field textarea.is-invalid,
.cart-field select.is-invalid {
  border-color: #ff3b3b;
  background: rgba(255, 59, 59, 0.06);
  animation: shake 320ms var(--ease);
}
.cart-consent input.is-invalid {
  outline: 2px solid #ff3b3b;
  outline-offset: 2px;
  animation: shake 320ms var(--ease);
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-4px); }
  40%, 80% { transform: translateX(4px); }
}
.cart-field textarea {
  resize: vertical;
  min-height: 80px;
}
.cart-field__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 600px) {
  .cart-field__row { grid-template-columns: 1fr 1fr; }
}
.cart-form__msg {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.4;
}
.cart-form__msg[data-state="error"] { color: var(--color-error, #EF4444); }
.cart-form__msg[data-state="success"] { color: var(--color-success, #4ADE80); }
.cart-form__msg[data-state="warning"] {
  color: var(--color-warning, #FACC15);
  background: rgba(250, 204, 21, 0.08);
  border: 1px solid rgba(250, 204, 21, 0.4);
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.5;
}

.cart-success {
  text-align: center;
  padding: 48px 16px;
  display: none;
}
.cart-success__icon {
  font-family: var(--font-heading);
  font-size: 96px;
  line-height: 1;
  color: var(--color-accent);
  margin-bottom: 16px;
}
.cart-success__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 48px);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.cart-success__text {
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

/* Header hours (время работы) — слева от корзины */
.header__hours {
  display: none;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  line-height: 1;
}
.header__hours .icon { width: 20px; height: 20px; color: var(--color-accent); flex-shrink: 0; }
.header__hours__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.header__hours__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  line-height: 1;
}
.header__hours__value {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text);
  line-height: 1;
}
@media (min-width: 768px) {
  .header__hours { display: inline-flex; margin-left: auto; }
  /* Корзина и CTA — рядом с режимом работы, без margin-left: auto */
  .header__hours ~ .header__cart { margin-left: 16px; margin-right: 0; }
}

/* Header cart button (видна на desktop, где sticky-CTA скрыта) */
.header__cart {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border: 2px solid var(--color-accent);
  background: transparent;
  color: var(--color-accent);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  line-height: 1;
}
.header__cart:hover {
  background: var(--color-accent);
  color: #000;
}
.header__cart.is-visible { display: inline-flex; }
.header__cart__count {
  background: var(--color-accent);
  color: #000;
  padding: 1px 6px;
  font-weight: 800;
  line-height: 1.2;
}
.header__cart:hover .header__cart__count {
  background: #000;
  color: var(--color-accent);
}
.header__cart__total {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  padding-left: 10px;
  margin-left: 6px;
  border-left: 1px solid currentColor;
  color: var(--color-text);
  white-space: nowrap;
}
.header__cart:hover .header__cart__total { color: #000; }

/* ============================================================
   Mobile fixes: viewport + header cart + overflow
   ============================================================ */

/* Защита от горизонтального overflow на всех уровнях */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* На mobile прячем header__cart — sticky-CTA снизу делает то же */
@media (max-width: 767px) {
  .header__cart,
  .header__cart.is-visible {
    display: none !important;
  }
  /* Logo на mobile чуть компактнее */
  .header__logo { font-size: 22px; gap: 8px; }
  .header__logo img { width: 28px; height: 28px; }
  /* Уменьшаем padding header */
  .header__inner { padding-block: 12px; }
}

/* Защита изображений и медиа от выхода за viewport */
img, picture, video, iframe, svg {
  max-width: 100%;
  height: auto;
}

/* Гарантия что элементы с padding не выпрыгивают */
.section, .container, .hero, .food-hero, .footer {
  max-width: 100%;
}

/* Sticky CTA на mobile — выше с safe-area для notch */
@media (max-width: 767px) {
  .sticky-cta {
    padding-block: 12px;
    padding-inline: 16px;
    gap: 12px;
  }
  .sticky-cta__info {
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    line-height: 1.2;
  }
  .sticky-cta__price { white-space: nowrap; }
  /* На mobile разделителя «·» нет (две отдельные строки) */
  .sticky-cta__qty + .sticky-cta__price::before { content: none; }
  .sticky-cta__btn {
    padding: 10px 16px;
    font-size: 12px;
  }
}

/* Hero на mobile — меньше отступы сверху/снизу */
@media (max-width: 767px) {
  .hero { padding-block: 80px 60px; }
  .food-hero { padding-block: 80px 40px; }
  .food-hero__visual {
    max-width: 280px;
    margin-inline: auto;
  }
  .food-hero__visual-emoji .icon {
    width: 160px;
    height: 160px;
  }
}

/* Category cards более компактные на mobile */
@media (max-width: 600px) {
  .category {
    padding: 20px 12px;
    gap: 8px;
  }
  .category__icon { font-size: 32px; }
  .category__icon .icon { width: 32px; height: 32px; }
  .category__name { font-size: 16px !important; }
  .category__count { font-size: 10px; }
}

/* Dish cards mobile */
@media (max-width: 600px) {
  .dish__image-emoji { width: 64px; height: 64px; }
  .dish__image-emoji .icon { width: 64px; height: 64px; }
  .dish--hero .dish__image-emoji { width: 96px; height: 96px; }
  .dish--hero .dish__image-emoji .icon { width: 96px; height: 96px; }
  .dish__body { padding: 16px; }
  .dish__name { font-size: 18px; }
  .dish--hero .dish__name { font-size: 24px; }
  .dish__add { padding: 8px 12px; font-size: 11px; }
  .dish__price { font-size: 20px; }
}

/* Hero h1 - на очень узких экранах поджимаем */
@media (max-width: 380px) {
  .h1, h1 { font-size: 48px !important; }
}


/* Реальные фото блюд (300×300 JPG) */
.dish__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.dish__image { position: relative; }

/* ============================================================
   Menu sections (категории как отдельные блоки)
   ============================================================ */
.menu-section {
  margin-bottom: 48px;
}
.menu-section__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 40px);
  text-transform: uppercase;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-accent);
}

/* Компактные карточки в секциях */
.menu-section .dishes {
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
}
@media (min-width: 600px)  { .menu-section .dishes { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .menu-section .dishes { grid-template-columns: repeat(5, 1fr); } }

.menu-section .dish__image {
  aspect-ratio: 1 / 1;
}
.menu-section .dish__body {
  padding: 12px;
  gap: 4px;
}
.menu-section .dish__name {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: none;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 0;
  margin: 0;
}
.menu-section .dish__weight {
  font-size: 11px;
  letter-spacing: 0.05em;
}
.menu-section .dish__footer {
  padding: 8px 12px 12px;
  margin-top: auto;
}
.menu-section .dish__price {
  font-family: var(--font-heading);
  font-size: 18px;
}
.menu-section .dish__add {
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  background: var(--color-bg-elevated);
}
.menu-section .dish__add:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #000;
}
.menu-section .dish__badges {
  z-index: 3;
}
.menu-section .dish__badge {
  font-size: 10px;
  padding: 2px 6px;
  letter-spacing: 0.05em;
}

@media (max-width: 600px) {
  .menu-section .dish__body { padding: 10px; }
  .menu-section .dish__footer { padding: 8px 10px 10px; }
  .menu-section .dish__name { font-size: 13px; }
  .menu-section .dish__price { font-size: 16px; }
  .menu-section .dish__add { width: 28px; height: 28px; font-size: 16px; }
}

/* ============================================================
   Mobile fixes for /clothes/ (msg_47)
   ============================================================ */

/* 5) Якоря на mobile: header меньше → --header-h тоже */
@media (max-width: 767px) {
  :root { --header-h: 53px; }
}

/* 1) Header — гарантируем CTA скрыт на mobile */
@media (max-width: 767px) {
  .header__cta { display: none !important; }
  .header__inner { gap: 8px; }
}

/* 2) Hero CTA buttons full-width на mobile */
@media (max-width: 600px) {
  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }
}

/* 3) Drop countdown plate адаптивная */
.countdown {
  flex-wrap: wrap;
  max-width: 100%;
  font-size: 12px;
}
@media (max-width: 600px) {
  .countdown {
    width: 100%;
    justify-content: flex-start;
    padding: 10px 16px;
    gap: 8px;
    font-size: 11px;
  }
}

/* 4) Brand story illustrations — гарантия что img заполняет */
.brand-story__illustration {
  aspect-ratio: 1 / 1;          /* было 4/3, для квадратных принтов 1/1 лучше */
  padding: 20px;
}
.brand-story__illustration picture,
.brand-story__illustration img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
@media (max-width: 600px) {
  .brand-story__illustration { padding: 16px; aspect-ratio: 4/3; }
}

/* Hero__bg на mobile — обновляем под новый header-h */
@media (max-width: 767px) {
  .hero__bg picture, .hero__bg img {
    max-height: calc(100vh - 53px);
  }
}


/* ============================================================
   Per-dish quantity controls (replace + button when added)
   ============================================================ */
.dish__qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  height: 32px;
}
.menu-section .dish__qty { height: 28px; gap: 6px; }
.dish__qty-group {
  display: inline-flex;
  align-items: center;
  height: 100%;
  background: var(--color-accent);
}
.dish__qty-btn--remove {
  height: 100%;
  width: 32px;
  background: var(--color-accent) !important;
  margin-right: 0 !important;
}
.menu-section .dish__qty-btn--remove { width: 28px; }
.dish__qty-btn {
  width: 28px;
  height: 100%;
  background: transparent;
  color: #000;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--duration) var(--ease);
}
.dish__qty-btn .icon { width: 14px; height: 14px; }
.menu-section .dish__qty-btn .icon { width: 12px; height: 12px; }
.menu-section .dish__qty-btn { width: 24px; font-size: 16px; }
.dish__qty-btn:hover { background: rgba(0,0,0,0.15); }
.dish__qty-count {
  min-width: 16px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: #000;
}
.menu-section .dish__qty-count { font-size: 13px; }

/* Sticky CTA — mobile only (на desktop корзина в шапке header__cart) */

/* Pulse animation при добавлении блюда — без scale, чтобы текст не вылезал за края */
@keyframes sticky-pulse {
  0%   { box-shadow: inset 0 0 0 0 rgba(0, 0, 0, 0); filter: brightness(1); }
  30%  { box-shadow: inset 0 0 0 4px rgba(0, 0, 0, 0.4); filter: brightness(1.1); }
  100% { box-shadow: inset 0 0 0 0 rgba(0, 0, 0, 0); filter: brightness(1); }
}
.sticky-cta.is-pulse {
  animation: sticky-pulse 600ms ease;
}

/* ============================================================
   Cart fix UI additions
   ============================================================ */

/* (Кнопка-удалить styles перенесены в основной блок .dish__qty / .dish__qty-group) */

/* Превью товара в модалке */
.cart-item {
  grid-template-columns: 36px 56px 1fr auto !important;
  align-items: center;
}
.cart-item__remove {
  grid-column: 1;
  grid-row: 1 / -1;
}
.cart-item__img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border: 1px solid var(--color-border);
  grid-column: 2;
  grid-row: 1 / -1;
}
.cart-item__name {
  grid-column: 3;
}
.cart-item__price {
  grid-column: 4;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-align: right;
}
.cart-item__price-breakdown {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  color: var(--color-text-subtle);
  white-space: nowrap;
}
.cart-item__qty {
  grid-column: 3 / 5;
  grid-row: 2;
  margin-top: 0;
}

/* ============================================================
   Скроллбар в стиле бренда (везде)
   ============================================================ */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--color-accent) var(--color-bg-card);
}
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: var(--color-bg-card); }
*::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border: 2px solid var(--color-bg-card);
}
*::-webkit-scrollbar-thumb:hover { background: var(--color-accent-hover); }
*::-webkit-scrollbar-corner { background: var(--color-bg); }

/* Mobile: меньше отступа между шапкой и hero (msg_52) */
@media (max-width: 600px) {
  .hero { padding-block: 32px 40px; }
  .food-hero { padding-block: 32px 32px; }
}

/* food-hero: на desktop 2 колонки с визуалом, на mobile только content */
@media (max-width: 1023px) {
  .food-hero__visual { display: none; }
  .food-hero__inner { grid-template-columns: 1fr !important; }
}

/* ============================================================
   Центровка всех секций на десктопе — по образу старого прототипа
   ============================================================ */
.section-heading {
  align-items: center;
  text-align: center;
}
.section-heading__eyebrow {
  justify-content: center;
}
.section-heading__eyebrow::before {
  display: none;
}
.section-heading__title {
  margin-inline: auto;
}
.section-heading__subtitle {
  margin-inline: auto;
}

/* Newsletter уже центрирован, но усилим */
.newsletter__title,
.newsletter__subtitle {
  text-align: center;
}

/* Brand story blocks — на десктопе оставляем split, на mobile центрируем */
@media (max-width: 767px) {
  .brand-story__block {
    text-align: center;
  }
  .brand-story__num,
  .brand-story__title,
  .brand-story__text {
    text-align: center;
  }
  .brand-story__text {
    margin-inline: auto;
  }
}

/* Menu sections заголовок центрировать */
.menu-section__title {
  text-align: center;
}

/* Карта зоны доставки — iframe Я.Карт (заполняет колонку, как был placeholder) */
.zone__map {
  position: relative;
  overflow: hidden;
}
.zone__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--color-bg-card);
}

/* Zone — компактнее (msg #54) */
@media (min-width: 768px) {
  .zone__info { gap: 16px !important; }
  .zone__districts { gap: 8px !important; }
  .zone__district {
    padding: 8px 12px !important;
    font-size: 12px !important;
  }
  .zone__stat {
    padding: 16px 20px !important;
  }
  .zone__stat-label {
    font-size: 11px !important;
    margin-bottom: 4px !important;
  }
  .zone__stat-value {
    font-size: clamp(24px, 3vw, 36px) !important;
  }
}


/* Sticky header — гарантия что position:sticky работает (overflow:hidden body может ломать) */
.header {
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
}
/* На html overflow-x:hidden, не на body — иначе sticky внутри body не работает */
html { overflow-x: hidden; }
body { overflow-x: visible !important; }

/* ============================================================
   Shimmer placeholder для фото блюд (пока грузятся)
   ============================================================ */
.dish__image {
  background: linear-gradient(110deg,
    var(--color-bg-elevated) 25%,
    var(--color-bg-card) 50%,
    var(--color-bg-elevated) 75%);
  background-size: 200% 100%;
  animation: dish-shimmer 1.5s linear infinite;
}
.dish__image img {
  opacity: 0;
  transition: opacity 300ms ease;
}
.dish__image img.is-loaded,
.dish__image img[data-loaded] {
  opacity: 1;
}
.dish__image:has(img.is-loaded),
.dish__image.is-loaded {
  background: var(--color-bg);
  animation: none;
}

@keyframes dish-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============================================================
   Cookie consent banner (152-ФЗ)
   ============================================================ */
.cookie-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  background: var(--color-bg-card);
  border: 1px solid var(--color-accent);
  padding: 16px 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  animation: cookie-rise 320ms var(--ease) both;
}
.cookie-consent[hidden] { display: none; }
.cookie-consent__inner {
  max-width: 1100px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-consent__text {
  flex: 1 1 320px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin: 0;
}
.cookie-consent__text a {
  color: var(--color-accent);
  text-decoration: underline;
}
.cookie-consent__btn {
  background: var(--color-accent);
  color: #000;
  border: 2px solid var(--color-accent);
  padding: 10px 24px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--duration) var(--ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.cookie-consent__btn:hover {
  background: transparent;
  color: var(--color-accent);
}
@keyframes cookie-rise {
  0%   { transform: translateY(120%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
@media (max-width: 600px) {
  .cookie-consent { left: 8px; right: 8px; bottom: 8px; padding: 12px 16px; }
  .cookie-consent__text { font-size: 13px; }
}

/* ============================================================
   MOBILE AUDIT FIXES (2026-06-22) — действуют только на ≤767 / ≤600 / ≤480 / ≤380
   Desktop (≥768) не затрагивается.
   ============================================================ */

/* P2: sticky-CTA внизу /food/ перекрывает последние карточки → запас под фиксированный блок */
@media (max-width: 767px) {
  main#main-content { padding-bottom: 80px; }
  /* Cookie consent перекрывает sticky-CTA → поднимем cookie выше sticky */
  .sticky-cta { z-index: 40; }
  .cookie-consent { z-index: 70; }
  body:has(.cookie-consent:not([hidden])) .sticky-cta { bottom: 96px; }
  body:has(.sticky-cta.is-visible) .cookie-consent { bottom: 76px; }
}

/* hero__scroll-hint на mobile: не абсолютный, в потоке после кнопок (под hero__content) */
@media (max-width: 767px) {
  .hero { flex-direction: column; }
  .hero__scroll-hint {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: 32px;
    animation: bounce-mobile 2s infinite;
  }
  .hero__scroll-hint::after { height: 24px; }
}
@keyframes bounce-mobile {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}

/* P2: Hero illustration на mobile — упрощённый layout (без inline-block + vertical-align trick) */
@media (max-width: 767px) {
  .hero { overflow: hidden; min-height: auto; }
  .hero__bg {
    overflow: hidden;
    /* Простой flex-центрирование вместо inline-block + ::before vertical-align */
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: none;
  }
  .hero__bg::before { display: none; }
  .hero__bg picture {
    display: block;
    height: auto;
    max-width: 100%;
    max-height: 100%;
  }
  .hero__bg img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }
}

/* P2: длинное название блюда не должно ломать высоту карточки */
@media (max-width: 600px) {
  .menu-section .dish__name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
  }
  /* Цена + «+» — на одной строке; цена не разрывается */
  .menu-section .dish__price {
    white-space: nowrap;
  }
  /* После добавления товара (.dish__qty в footer) — кнопки на всю ширину под ценой */
  .menu-section .dish__footer:has(.dish__qty) {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .menu-section .dish__footer:has(.dish__qty) .dish__price {
    align-self: flex-start;
  }
  .menu-section .dish__footer:has(.dish__qty) .dish__qty {
    width: 100%;
  }
  .menu-section .dish__footer:has(.dish__qty) .dish__qty-group {
    flex: 1;
    justify-content: space-between;
  }
}

/* P2: адрес-форма на /food/ — кнопка съезжает; собрать в колонку */
@media (max-width: 480px) {
  .address-form__row { flex-direction: column; align-items: stretch; gap: 8px; }
  .address-form__row .btn { width: 100%; }
}

/* P2: Lookbook 65vh → 50vh на mobile */
@media (max-width: 767px) {
  .lookbook__slide { min-height: 50vh; }
  .lookbook__content { padding-block: 48px; }
}

/* P2: Product detail gallery — сократить главную картинку и сделать миниатюры горизонтально-скроллируемыми */
@media (max-width: 767px) {
  .pd__main { max-height: 50vh; }
  .pd__thumbs {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 64px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-bottom: 4px;
  }
  .pd__thumbs::-webkit-scrollbar { height: 4px; }
}

/* P2: food-hero визуал-эмодзи слишком крупный на узких */
@media (max-width: 480px) {
  .food-hero__visual { max-width: 200px; }
  .food-hero__visual-emoji .icon,
  .food-hero__visual-emoji { font-size: 120px; width: 120px; height: 120px; }
}

/* P2: hero CTA buttons на ≤380px — компактнее padding */
@media (max-width: 380px) {
  .hero__ctas .btn,
  .hero__ctas .btn--lg { padding: 12px 20px; font-size: 14px; }
  .hero__ctas .btn .icon { width: 16px; height: 16px; }
}

/* P3: countdown тесно — wrap + чуть больше gap, более крупный шрифт */
@media (max-width: 600px) {
  .countdown { flex-wrap: wrap; gap: 10px; font-size: 12px; }
}

/* P3: brand story иллюстрация не должна вылазить за контейнер */
@media (max-width: 380px) {
  .brand-story__illustration { padding: 8px; }
  .brand-story__illustration picture,
  .brand-story__illustration img { max-width: 100%; }
}

/* P3: category иконки на самых узких — компактнее */
@media (max-width: 380px) {
  .category__icon .icon { width: 24px; height: 24px; }
  .category { padding: 12px 8px; }
}

/* P3: footer на 320 px — уменьшить вертикальный padding */
@media (max-width: 380px) {
  .footer { padding-block: 40px 20px; padding-inline: 16px; }
}

/* P4: header logo на узких mobile — чуть подбавить читаемости текста */
@media (max-width: 380px) {
  .header__logo { gap: 6px; font-size: 18px; letter-spacing: 0; }
  .header__logo img { width: 28px; height: 28px; }
}

/* Защита от горизонтального скролла + плотная вёрстка детальной товара на узких экранах */
@media (max-width: 767px) {
  html, body { overflow-x: clip; }
  .pd {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    max-height: none;
  }
  .pd__gallery, .pd__info { min-width: 0; }
  .pd__info { gap: 10px; padding-right: 0; }

  /* Фото — компактнее, чтобы оставалось место для текста и CTA */
  .pd__main { aspect-ratio: 4 / 3; max-height: 38vh; padding: 8px; }

  /* Текст */
  .pd__eyebrow { font-size: 11px; }
  .pd__name { font-size: clamp(22px, 6vw, 28px); }
  .pd__price { font-size: clamp(26px, 7vw, 32px); }
  .pd__desc { font-size: 13px; line-height: 1.45; }
  .pd__name, .pd__desc, .pd__price { overflow-wrap: anywhere; word-break: break-word; }

  /* Строки характеристик — компактнее по высоте */
  .pd__row { min-width: 0; padding-block: 6px; font-size: 13px; gap: 8px; }
  .pd__row-label { min-width: 80px; font-size: 10px; }
  .pd__row > span { overflow-wrap: anywhere; min-width: 0; }
  .pd__chips, .pd__swatches { max-width: 100%; }

  /* CTA — стандартная высота и меньше внешний margin */
  .pd__cta { margin-top: 8px; }
  .pd__cta .btn,
  .pd__cta .btn--lg { padding: 14px 24px; font-size: 14px; width: 100%; }
  .pd__back { margin-top: 6px; font-size: 11px; }

  /* Уменьшаем верхний padding секции — карточка ближе к шапке */
  #product.section { padding-block: 16px 32px !important; }

  /* Остальные защиты от горизонтального скролла */
  .product__body { min-width: 0; }
  .product__name, .product__desc { overflow-wrap: anywhere; word-break: break-word; }
  .cart-modal, .cart-modal__dialog { max-width: 100vw; }
  .cart-item__name, .cart-item__price { overflow-wrap: anywhere; min-width: 0; }
}

/* ============================================================
   Legal pages (/privacy/, /terms/) — типография для длинного текста
   ============================================================ */

.legal { color: var(--color-text); }
.legal .h3,
.legal h2 {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 400;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-top: 40px;
  margin-bottom: 14px;
  color: var(--color-text);
}
.legal .h3:first-child,
.legal h2:first-child { margin-top: 0; }
.legal p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 14px;
  color: var(--color-text-muted);
  text-wrap: pretty;
}
.legal strong { color: var(--color-text); font-weight: 700; }
.legal ul {
  list-style: none;
  margin: 0 0 16px;
  padding-left: 0;
}
.legal ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-muted);
}
.legal ul li::before {
  content: '·';
  position: absolute;
  left: 8px;
  top: 0;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.5;
}
.legal a { color: var(--color-accent); }
.legal a:hover { text-decoration: underline; }
