/* =====================================================
   MAAST — Restaurant Redesign
   Palette: deep charcoal + warm gold + cream
   ===================================================== */

:root {
  --bg: #0e0e0e;
  --bg-2: #151515;
  --bg-3: #1c1c1c;
  --ink: #f3ece0;
  --ink-dim: #b9b1a2;
  --gold: #c9a35b;
  --gold-2: #e4c887;
  --line: rgba(201, 163, 91, .35);
  --line-soft: rgba(243, 236, 224, .08);
  --radius: 14px;
  --maxw: 1280px;
  --shadow: 0 30px 80px rgba(0, 0, 0, .45);
  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--gold-2); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: .01em; }
h1 { font-size: clamp(42px, 7vw, 96px); line-height: 1.02; margin: 0; }
h2 { font-size: clamp(32px, 4.5vw, 64px); line-height: 1.08; margin: 0 0 24px; }
h3 { font-size: clamp(22px, 2vw, 28px); margin: 0 0 8px; }
p  { margin: 0 0 16px; color: var(--ink-dim); }

.hr-gold {
  width: 64px; height: 1px; background: var(--gold);
  margin: 18px 0 28px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  transition: all .3s ease;
  background: transparent;
  white-space: nowrap;
}
.btn:hover { background: var(--gold); color: #111; transform: translateY(-1px); }
.btn--solid { background: var(--gold); color: #111; }
.btn--solid:hover { background: var(--gold-2); color: #111; }
.btn--ghost { border-color: var(--line-soft); }
.btn--ghost:hover { border-color: var(--gold); background: transparent; color: var(--gold-2); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(14,14,14,.55);
  border-bottom: 1px solid var(--line-soft);
  transition: background .3s ease;
}
.site-header.is-scrolled { background: rgba(14,14,14,.92); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
}
.nav__logo img { height: 44px; width: auto; filter: brightness(1.05); }
.nav__menu {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav__menu a {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  white-space: nowrap;
}
.nav__menu a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1px; background: var(--gold);
  transition: width .3s ease;
}
.nav__menu a:hover::after, .nav__menu a.active::after { width: 100%; }

/* Submenu (dropdown) */
.nav__menu .has-submenu { position: relative; }
.submenu-caret { font-size: 9px; margin-left: 6px; opacity: .7; }
.nav__menu .submenu {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  margin: 0; padding: 8px 0;
  list-style: none;
  background: rgba(20,20,20,.97);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: all .25s ease;
  z-index: 60;
}
.nav__menu .has-submenu:hover .submenu,
.nav__menu .has-submenu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(2px);
}
.nav__menu .submenu li { margin: 0; }
.nav__menu .submenu a {
  display: block;
  padding: 10px 18px;
  font-size: 12px;
  letter-spacing: .14em;
  white-space: nowrap;
}
.nav__menu .submenu a::after { display: none; }
.nav__menu .submenu a:hover { color: var(--gold); background: rgba(201,163,91,.08); }

/* ============================================
   Modern Mobile Menu (m-nav)
   ============================================ */
.m-nav {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
  border-top: 1px solid var(--line-soft);
}

.m-nav__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition: color .2s ease, padding-left .25s ease;
  -webkit-tap-highlight-color: rgba(201,163,91,.15);
  user-select: none;
}
.m-nav__item:active { background: rgba(201,163,91,.06); }
.m-nav__item:hover,
.m-nav__item.is-active {
  color: var(--gold);
  padding-left: 10px;
}
.m-nav__item.is-active::before {
  content: "";
  position: absolute;
  width: 3px; height: 22px;
  background: var(--gold);
  border-radius: 2px;
  margin-left: -10px;
  margin-top: 0;
  transform: translateX(-12px);
}
.m-nav__item svg { color: var(--ink-dim); flex-shrink: 0; transition: color .2s ease, transform .2s ease; }
.m-nav__item:hover svg,
.m-nav__item.is-active svg { color: var(--gold); }

/* Toggle row (Бронировать) */
.m-nav__item--toggle { list-style: none; }
.m-nav__item--toggle::-webkit-details-marker { display: none; }
.m-nav__chevron { transition: transform .25s ease; }
.m-nav__group[open] .m-nav__chevron { transform: rotate(180deg); color: var(--gold); }
.m-nav__group[open] .m-nav__item--toggle { color: var(--gold); border-bottom-color: rgba(201,163,91,.3); }

/* Sublist accordion content */
.m-nav__sublist {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(201,163,91,.04);
  animation: m-nav-slide .25s ease;
}
@keyframes m-nav-slide {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.m-nav__sub {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 4px 14px 22px;
  font-family: var(--font-sans);
  font-size: 15px;
  letter-spacing: .04em;
  color: var(--ink-dim);
  text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
  transition: color .2s ease, padding-left .25s ease;
}
.m-nav__sub:last-child { border-bottom: none; }
.m-nav__sub:hover,
.m-nav__sub.is-active { color: var(--gold); padding-left: 28px; }
.m-nav__bullet {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  opacity: .55;
  flex-shrink: 0;
}
.m-nav__sub.is-active .m-nav__bullet,
.m-nav__sub:hover .m-nav__bullet { opacity: 1; }

/* CTA buttons in mobile menu */
.m-nav__cta {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}
.m-nav__cta .btn {
  width: 100%;
  justify-content: center;
  padding: 16px 14px;
  font-size: 11px;
  letter-spacing: .14em;
  gap: 8px;
}

/* Contact info block */
.m-nav__contacts {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.m-nav__contact {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-dim);
  line-height: 1.4;
  text-decoration: none;
}
.m-nav__contact svg { color: var(--gold); flex-shrink: 0; }
a.m-nav__contact:hover { color: var(--gold); }

.nav__cta { display: flex; gap: 12px; align-items: center; }
.nav__phone { font-size: 14px; font-weight: 500; letter-spacing: .04em; white-space: nowrap; }
.nav__cta { flex-wrap: nowrap; }
.nav__phone span { color: var(--gold); margin-right: 6px; }
.nav__burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: transparent;
}
.nav__burger span {
  display: block;
  width: 18px; height: 1px; background: var(--ink);
  position: relative;
}
.nav__burger span::before, .nav__burger span::after {
  content: ""; position: absolute; left: 0;
  width: 18px; height: 1px; background: var(--ink);
  transition: transform .3s ease;
}
.nav__burger span::before { top: -6px; }
.nav__burger span::after { top: 6px; }
.nav__burger.is-open span { background: transparent; }
.nav__burger.is-open span::before { top: 0; transform: rotate(45deg); }
.nav__burger.is-open span::after { top: 0; transform: rotate(-45deg); }

/* Mobile drawer — full-screen takeover */
.nav__drawer {
  position: fixed;
  inset: 0;
  background: var(--bg);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
  z-index: 80; /* above header */
  display: flex;
  flex-direction: column;
}
.nav__drawer.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.nav__drawer-head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line-soft);
}
.nav__drawer-logo img { height: 36px; }
.nav__drawer-close {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-soft);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 16px;
  display: inline-flex;
  align-items: center; justify-content: center;
  transition: all .2s ease;
}
.nav__drawer-close:hover { border-color: var(--gold); color: var(--gold); }
.nav__drawer-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 18px 20px 32px;
  display: flex;
  flex-direction: column;
}
/* Legacy nav__drawer ul/li/a styles removed — replaced by m-nav classes below. */
.nav__drawer-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}
.nav__drawer-cta .btn { width: 100%; justify-content: center; padding: 14px 20px; font-size: 12px; }
.nav__drawer-info {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  display: grid;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-dim);
}
.nav__drawer-info > div { line-height: 1.4; }
.nav__drawer-info strong {
  color: var(--gold);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 10px;
  display: block;
  margin-bottom: 2px;
}
.nav__drawer-info a { color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 78px;
}
.hero__bg {
  position: absolute; inset: 0;
  background-image: url('https://maast.ru/wp-content/themes/maast/maast/img/main_banner.webp');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  z-index: 0;
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 600px at 20% 30%, rgba(14,14,14,.3), transparent 60%),
    linear-gradient(180deg, rgba(14,14,14,.35) 0%, rgba(14,14,14,.65) 55%, rgba(14,14,14,.95) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  padding-block: 80px 120px;
  max-width: 820px;
}
.hero h1 {
  font-weight: 400;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-2);
}
.hero__sub {
  margin: 28px 0 40px;
  max-width: 560px;
  font-size: 18px;
  color: var(--ink);
  opacity: .9;
}
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__scroll {
  position: absolute;
  left: 50%; bottom: 32px;
  transform: translateX(-50%);
  color: var(--ink-dim);
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.hero__scroll::after {
  content: ""; width: 1px; height: 40px; background: var(--gold);
  animation: drop 2s ease-in-out infinite;
}
@keyframes drop {
  0%, 100% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  50%      { transform: scaleY(.3); transform-origin: bottom; opacity: .4; }
}

/* ---------- Section frame ---------- */
.section {
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
}
.section--alt { background: var(--bg-2); }
.section__head { margin-bottom: 56px; max-width: 760px; }
.section__head--center { margin-inline: auto; text-align: center; }

/* ---------- About / Story ---------- */
.story {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.story__text p { font-size: 17px; }
.story__img {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.story__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s ease;
}
.story__img:hover img { transform: scale(1.04); }
.story__stat {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  background: rgba(14,14,14,.78);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  padding: 18px 22px;
  border-radius: 10px;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-2);
}

/* ---------- Cuisine split ---------- */
.cuisine {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.cuisine__side {
  position: relative;
  padding: clamp(32px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 420px;
  overflow: hidden;
  isolation: isolate;
}
.cuisine__side::before {
  content: "";
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1);
  transition: transform .8s ease;
  z-index: -2;
}
.cuisine__side::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.85));
  z-index: -1;
}
.cuisine__side:hover::before { transform: scale(1.06); }
.cuisine__side--a::before { background-image: url('https://maast.ru/wp-content/uploads/2025/12/БААР3.jpg'); }
.cuisine__side--b::before { background-image: url('https://maast.ru/wp-content/themes/maast/maast/img/salad.webp'); }
.cuisine__label { font-size: 12px; letter-spacing: .3em; color: var(--gold); text-transform: uppercase; margin-bottom: 8px; }
.cuisine__title { font-family: var(--font-display); font-size: clamp(30px, 3.5vw, 48px); margin: 0 0 14px; }
.cuisine__desc { color: var(--ink-dim); font-size: 15px; max-width: 360px; }

/* ---------- Menu teaser grid ---------- */
.dish-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.dish-card {
  background: var(--bg-3);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .35s ease;
}
.dish-card:hover {
  transform: translateY(-6px);
  border-color: var(--line);
  box-shadow: var(--shadow);
}
.dish-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-2);
}
.dish-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s ease;
}
.dish-card:hover .dish-card__img img { transform: scale(1.07); }
.dish-card__body { padding: 22px; }
.dish-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 8px;
}
.dish-card__desc {
  font-size: 13px;
  color: var(--ink-dim);
  min-height: 38px;
  text-transform: lowercase;
}
.dish-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.dish-card__weight { font-size: 12px; color: var(--ink-dim); letter-spacing: .1em; }
.dish-card__price  { font-family: var(--font-display); font-size: 22px; color: var(--gold); }
.dish-card__add {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--line-soft);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .25s ease;
}
.dish-card__add:hover { background: var(--gold); color: #111; border-color: var(--gold); }
.dish-card__add svg { width: 14px; height: 14px; }

/* ---------- Cart trigger in header ---------- */
.cart-trigger {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-soft);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center; justify-content: center;
  transition: all .25s ease;
}
.cart-trigger:hover { border-color: var(--gold); color: var(--gold); }
.cart-trigger.is-flash { animation: cart-flash .5s ease; }
@keyframes cart-flash {
  0%   { transform: scale(1); box-shadow: 0 0 0 0 rgba(201,163,91,.6); }
  50%  { transform: scale(1.15); box-shadow: 0 0 0 14px rgba(201,163,91,0); }
  100% { transform: scale(1); }
}
.cart-badge {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--gold);
  color: #111;
  font-size: 10px;
  font-weight: 600;
  display: none;
  align-items: center; justify-content: center;
}
.cart-badge.is-visible { display: inline-flex; }

/* ---------- Cart drawer ---------- */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
  z-index: 60;
}
.cart-overlay.is-open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(440px, 100vw);
  background: var(--bg-2);
  border-left: 1px solid var(--line-soft);
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
  z-index: 61;
  display: flex;
  flex-direction: column;
}
.cart-drawer.is-open { transform: translateX(0); }
.cart-drawer__head {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--line-soft);
}
.cart-drawer__head h3 { font-family: var(--font-display); font-size: 26px; }
.cart-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-soft);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  transition: all .2s ease;
}
.cart-close:hover { border-color: var(--gold); color: var(--gold); }
.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 28px;
}
.cart-empty {
  text-align: center;
  padding: 60px 0;
}
.cart-empty__ic { font-size: 48px; color: var(--gold); opacity: .6; margin-bottom: 16px; }
.cart-empty p { margin-bottom: 24px; }
.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
}
.cart-item__img {
  width: 72px; height: 72px;
  border-radius: 10px;
  background: var(--bg);
  overflow: hidden;
  flex-shrink: 0;
}
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__title { font-family: var(--font-display); font-size: 18px; line-height: 1.2; margin-bottom: 2px; }
.cart-item__meta { font-size: 12px; color: var(--ink-dim); margin-bottom: 8px; }
.cart-item__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.cart-item__price { font-family: var(--font-display); font-size: 18px; color: var(--gold); }
.cart-item__del {
  background: transparent; border: none; color: var(--ink-dim);
  cursor: pointer; font-size: 14px; padding: 4px;
}
.cart-item__del:hover { color: var(--gold); }
.qty {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 4px 8px;
}
.qty__btn {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
}
.qty__btn:hover { color: var(--gold); }
.qty__val { min-width: 16px; text-align: center; font-size: 14px; }

.cart-drawer__foot {
  padding: 20px 28px 28px;
  border-top: 1px solid var(--line-soft);
  background: var(--bg-3);
}
.cart-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 16px;
}
.cart-total span:first-child { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-dim); }
.cart-total__val { font-family: var(--font-display); font-size: 28px; color: var(--gold); }
.cart-checkout { width: 100%; justify-content: center; }
.cart-clear {
  margin-top: 12px;
  width: 100%;
  background: transparent;
  border: none;
  color: var(--ink-dim);
  font-size: 12px;
  letter-spacing: .1em;
  cursor: pointer;
  padding: 8px;
}
.cart-clear:hover { color: var(--gold); }

/* ---------- Checkout page ---------- */
.checkout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.checkout-summary {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 100px;
}
.checkout-summary h3 { margin-bottom: 20px; }
.checkout-summary__items { max-height: 360px; overflow-y: auto; margin-bottom: 20px; }
.checkout-summary__item {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}
.checkout-summary__item span:last-child { color: var(--gold); white-space: nowrap; }
.checkout-summary__row {
  display: flex; justify-content: space-between;
  padding: 10px 0;
  font-size: 14px;
  color: var(--ink-dim);
}
.checkout-summary__total {
  display: flex; justify-content: space-between;
  padding-top: 14px;
  margin-top: 10px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--gold);
}
.checkout-empty {
  text-align: center; padding: 80px 20px;
}
@media (max-width: 600px) {
  .checkout-empty { padding: 40px 20px; }
}

@media (max-width: 960px) {
  .checkout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
}

.menu-cta { text-align: center; margin-top: 56px; }

/* ---------- Menu page ---------- */
.menu-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 0 16px;
  margin-bottom: 48px;
  scrollbar-width: thin;
  border-bottom: 1px solid var(--line-soft);
  position: sticky;
  top: 78px;
  background: var(--bg);
  z-index: 10;
}
.menu-tab {
  flex: 0 0 auto;
  padding: 10px 20px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-dim);
  background: transparent;
  cursor: pointer;
  transition: all .25s ease;
}
.menu-tab:hover, .menu-tab.active {
  color: #111;
  background: var(--gold);
  border-color: var(--gold);
}
.menu-category { margin-bottom: 80px; scroll-margin-top: 160px; }
.menu-category__title {
  display: flex; align-items: center; gap: 20px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 44px);
  margin: 0 0 32px;
}
.menu-category__title::after {
  content: ""; flex: 1; height: 1px; background: var(--line-soft);
}

/* ---------- Promo / Offer ---------- */
.promo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-3);
  box-shadow: var(--shadow);
}
.promo__img {
  min-height: 420px;
  background-size: cover;
  background-position: center;
}
.promo__body { padding: clamp(32px, 5vw, 64px); }
.promo__badge {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.promo ul { padding-left: 0; list-style: none; }
.promo li {
  padding: 10px 0 10px 28px;
  position: relative;
  color: var(--ink-dim);
  border-bottom: 1px dashed var(--line-soft);
  font-size: 14px;
}
.promo li::before {
  content: "✦";
  position: absolute;
  left: 0; top: 10px;
  color: var(--gold);
}

/* ---------- Booking form ---------- */
.booking {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.booking__aside p { font-size: 17px; }
.booking__perks {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
}
.booking__perks li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
  color: var(--ink);
  font-size: 15px;
}
.booking__perks li::before {
  content: "—"; color: var(--gold); width: 20px; flex-shrink: 0;
}

.form {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
}
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__row { display: flex; flex-direction: column; gap: 6px; }
.form__row--full { grid-column: 1 / -1; }
.form label {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.form input, .form select, .form textarea {
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  transition: border-color .2s ease;
  width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form textarea { min-height: 100px; resize: vertical; }
.form__agree { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: var(--ink-dim); }
.form .form__agree { text-transform: none; letter-spacing: normal; }
.form__agree input { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; }
.form__submit { margin-top: 20px; width: 100%; justify-content: center; }
.form__ok {
  display: none;
  background: rgba(201,163,91,.12);
  border: 1px solid var(--gold);
  padding: 14px 18px;
  border-radius: 10px;
  color: var(--gold-2);
  font-size: 14px;
  margin-top: 16px;
}
.form__ok.is-visible { display: block; }

/* ---------- Contacts / Map ---------- */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.contact-card {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-card__label {
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.contact-card__value { font-family: var(--font-display); font-size: 24px; }
.contact-card__value a:hover { color: var(--gold); }
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  min-height: 480px;
}
.map-wrap iframe, .map-wrap > * { width: 100% !important; min-height: 480px; border: 0; }

/* ---------- Banquet halls ---------- */
.halls {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.hall {
  background: var(--bg-3);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .35s ease;
}
.hall:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line); }
.hall__img {
  aspect-ratio: 16/10;
  background-size: cover; background-position: center;
}
.hall__body { padding: 32px; }
.hall__cap {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
  margin-bottom: 6px;
}
.hall__cap small { font-family: var(--font-sans); font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--ink-dim); display: block; margin-top: 6px; }

.event-types {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.event-type {
  padding: 28px 22px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  text-align: center;
  transition: all .3s ease;
}
.event-type:hover { border-color: var(--gold); transform: translateY(-4px); }
.event-type__icon { font-size: 28px; color: var(--gold); margin-bottom: 8px; }
.event-type__name { font-family: var(--font-display); font-size: 20px; }

/* ---------- Delivery ---------- */
.delivery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.delivery-card {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  transition: all .3s ease;
}
.delivery-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.delivery-card__label { color: var(--gold); letter-spacing: .2em; text-transform: uppercase; font-size: 11px; margin-bottom: 10px; }
.delivery-card__name { font-family: var(--font-display); font-size: 28px; margin-bottom: 18px; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0a0a0a;
  margin-top: 80px;
  padding: 0 0 0;
}
/* Ornament divider — replaces hard gold line */
.footer-divider {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 0 56px;
}
.footer-divider::before,
.footer-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to var(--dir, right), transparent, var(--line-soft) 60%);
}
.footer-divider::before { --dir: right; }
.footer-divider::after  { --dir: left; }
.footer-divider__gem {
  color: var(--gold);
  font-size: 9px;
  padding: 0 18px;
  opacity: .75;
  line-height: 1;
  letter-spacing: .2em;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand img { height: 52px; margin-bottom: 18px; display: block; }
.footer-brand p { font-size: 13px; max-width: 260px; color: var(--ink-dim); line-height: 1.65; }
.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  color: var(--ink-dim);
  transition: border-color .2s, color .2s;
}
.footer-social svg { width: 16px; height: 16px; flex-shrink: 0; }
.footer-social:hover { border-color: var(--gold); color: var(--gold); }
.footer-col h4 {
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--gold);
  text-transform: uppercase;
  margin: 0 0 18px;
  font-family: var(--font-sans);
  font-weight: 500;
}
.footer-col p, .footer-col a { color: var(--ink-dim); font-size: 13px; display: block; margin-bottom: 7px; line-height: 1.5; }
.footer-col a:hover { color: var(--gold); }
/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding: 20px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-legal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: 11px;
  color: rgba(255,255,255,.22);
  letter-spacing: .04em;
}
.footer-legal-strip span::after {
  content: '·';
  margin-left: 20px;
  opacity: .4;
}
.footer-legal-strip span:last-child::after { content: ''; }
.footer-copy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.32);
  font-size: 11px;
  letter-spacing: .08em;
}
.footer-copy__tag {
  color: rgba(255,255,255,.18);
  font-style: italic;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .04em;
}

/* ---------- Floating CTA ---------- */
.floating-cta {
  display: none !important;
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 40;
  gap: 10px;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all .35s ease;
}
.floating-cta.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.floating-cta .btn { padding: 14px 22px; font-size: 11px; box-shadow: 0 10px 30px rgba(0,0,0,.45); }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
  /* CSS safety net: show content after 2 s if JS/IntersectionObserver didn't fire
     (fixes Samsung Galaxy Z Fold 6 and other foldable displays) */
  animation: revealFallback .4s ease-out 2s forwards;
}
@keyframes revealFallback {
  to { opacity: 1; transform: translateY(0); }
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
  animation: none; /* JS fired — cancel CSS fallback */
}

/* ---------- Adaptive main padding (replaces hardcoded 120 px) ---------- */
/* Ensures content clears the fixed header on every screen including foldables */
.main-padded { padding-top: 120px; }
@media (max-width: 960px) { .main-padded { padding-top: 96px; } }
@media (max-width: 600px) { .main-padded { padding-top: 80px; } }

/* ---------- Responsive ---------- */
/* On narrower desktops, drop the phone first so menu items don't squeeze */
@media (max-width: 1480px) {
  .nav__phone { display: none; }
}
@media (max-width: 1280px) {
  .nav__menu { gap: 20px; }
  .nav__menu a { font-size: 11px; letter-spacing: .14em; }
  .nav { gap: 16px; }
}
@media (max-width: 1140px) {
  .nav__menu { gap: 14px; }
  .nav__menu a { font-size: 10.5px; letter-spacing: .1em; }
  .nav__book { padding: 14px 18px; font-size: 11px; letter-spacing: .14em; }
}
@media (max-width: 1024px) {
  .nav__menu { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__book { display: none; } /* Booking moves into drawer */
}

@media (max-width: 960px) {
  .story, .booking { grid-template-columns: 1fr; }
  .cuisine { grid-template-columns: 1fr; }
  .cuisine__side { min-height: 300px; }
  .dish-grid { grid-template-columns: repeat(2, 1fr); }
  .promo { grid-template-columns: 1fr; }
  .promo__img { min-height: 280px; }
  .contacts-grid { grid-template-columns: 1fr; }
  .halls { grid-template-columns: 1fr; }
  .event-types { grid-template-columns: repeat(2, 1fr); }
  .delivery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .form__grid { grid-template-columns: 1fr; }
  .footer-copy { flex-direction: column; align-items: flex-start; gap: 4px; }
  .footer-copy__tag { display: none; }
  .floating-cta { right: 12px; bottom: 12px; flex-direction: column; }
  /* Mobile header polish */
  .nav { height: 68px; gap: 12px; }
  .nav__logo img { height: 38px; }
  .nav__cta { gap: 8px; }
  .cart-trigger { width: 40px; height: 40px; }
  .nav__burger { width: 40px; height: 40px; }
  .nav__drawer { padding: 0; }
  .hero { padding-top: 68px; }
  .menu-tabs { top: 68px; padding: 8px 0 12px; gap: 6px; }
  .menu-tab { padding: 8px 14px; font-size: 11px; letter-spacing: .14em; }
  /* Sections compactness */
  .section { padding: clamp(56px, 9vw, 100px) 0; }
  .section__head { margin-bottom: 36px; }
  /* Forms */
  .form { padding: 22px; }
  /* Buttons readable on touch */
  .btn { padding: 14px 22px; font-size: 12px; letter-spacing: .18em; }
  /* Cart drawer fits all */
  .cart-drawer { width: 100vw; }
}

@media (max-width: 600px) {
  .container { padding-inline: 22px; }
  /* 2 columns of compact dish cards */
  .dish-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .dish-card__body { padding: 14px 12px; }
  .dish-card__title { font-size: 15px; line-height: 1.15; margin-bottom: 4px; }
  .dish-card__desc { font-size: 11px; min-height: 0; margin-bottom: 6px; line-height: 1.3; }
  .dish-card__meta { padding-top: 8px; margin-top: 8px; }
  .dish-card__weight { font-size: 10px; }
  .dish-card__price { font-size: 16px; }
  .dish-card__add {
    margin-top: 10px;
    padding: 9px 10px;
    font-size: 10px;
    letter-spacing: .1em;
    gap: 4px;
  }
  .dish-card__add svg { width: 12px; height: 12px; }
  /* Footer compact */
  .site-footer { margin-top: 48px; }
  .footer-divider { padding-bottom: 36px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 36px;
  }
  .footer-brand p { font-size: 13px; max-width: none; }
  .footer-brand img { height: 44px; margin-bottom: 14px; }
  .footer-socials { margin-top: 16px; }
  .footer-col h4 { margin: 0 0 12px; }
  .footer-col p, .footer-col a { font-size: 13px; margin-bottom: 6px; }
  .footer-bottom { padding: 18px 0 24px; gap: 8px; }
  .footer-legal-strip { gap: 4px 14px; font-size: 10px; }
  .footer-legal-strip span::after { margin-left: 14px; }
  .footer-copy { font-size: 10px; }
  .event-types { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
  .event-type { padding: 18px 14px; }
  .event-type__icon { font-size: 22px; margin-bottom: 6px; }
  .event-type__name { font-size: 16px; }
  .checkout-summary { padding: 20px; }
  /* Header even more compact */
  .nav { height: 60px; }
  .nav__logo img { height: 32px; }
  .cart-trigger { width: 38px; height: 38px; }
  .nav__burger { width: 38px; height: 38px; }
  .nav__drawer { padding: 0; }
  .hero { padding-top: 60px; }
  .m-nav__item { font-size: 20px; padding: 16px 4px; }
  .menu-tabs { top: 60px; }
  /* Hero text */
  .hero__content { padding-block: 16px 40px; }
  .hero h1 { font-size: clamp(36px, 10vw, 56px); }
  .hero__sub { font-size: 16px; margin: 20px 0 28px; }
  /* Eyebrow — reduce letter-spacing so it fits one line on ~390px */
  .eyebrow { letter-spacing: .14em; font-size: 11px; }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .hero__scroll { display: none; }
  /* Story */
  .story__img { aspect-ratio: 4/4; }
  /* Promo body padding */
  .promo__body { padding: 24px; }
  /* Contact cards */
  .contacts-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 28px; }
  .contact-card { padding: 18px 16px; }
  .contact-card:last-child { grid-column: 1 / -1; }
  .contact-card__value { font-size: 19px; }
  .contact-card__label { margin-bottom: 8px; }
  /* Cookie banner */
  .cookie { left: 12px; right: 12px; bottom: 12px; padding: 16px; border-radius: 12px; }
  .cookie p { font-size: 12px; }
  .cookie__btns .btn { padding: 10px 16px; }
  /* Cart items more compact */
  .cart-drawer__head, .cart-drawer__body, .cart-drawer__foot { padding-inline: 20px; }
  .cart-item { grid-template-columns: 60px 1fr auto; gap: 12px; }
  .cart-item__img { width: 60px; height: 60px; }
  .cart-item__title { font-size: 16px; }
  /* Halls */
  .hall__body { padding: 22px; }
  .hall__cap { font-size: 32px; }
  /* Cuisine cards */
  .cuisine__title { font-size: 28px; }
  /* Forms */
  .form__agree { font-size: 11px; }
  /* Headings tighter */
  h2 { margin-bottom: 18px; }
  /* Map */
  .map-wrap, .map-wrap iframe, .map-wrap > * { min-height: 360px !important; }
}

@media (max-width: 380px) {
  .nav__cta { gap: 6px; }
  .nav__logo img { height: 28px; }
  h1 { font-size: 36px !important; }
  .btn { padding: 12px 18px; }
  /* Samsung Fold (344px) fixes */
  .cart-trigger { width: 34px; height: 34px; font-size: 14px; }
  .nav__burger { width: 34px; height: 34px; }
  .menu-tab { padding: 7px 10px; font-size: 10px; letter-spacing: .10em; }
  .menu-row__name { font-size: 11px; }
  .eyebrow { letter-spacing: .18em; font-size: 11px; }
}

/* ══════════════════════════════════════════════════════════════════
   Thank-you modal (заглушка до подключения ЮКасса)
   ══════════════════════════════════════════════════════════════════ */
.ty-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.72);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.ty-overlay.is-open { opacity: 1; pointer-events: auto; }

.ty-card {
  background: var(--bg-paper, #1a1a18);
  border: 1px solid var(--line-soft, rgba(255,255,255,.1));
  border-radius: 20px;
  padding: 48px 40px 40px;
  max-width: 480px; width: 100%;
  text-align: center;
  transform: translateY(30px) scale(.97);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.ty-overlay.is-open .ty-card { transform: translateY(0) scale(1); }

.ty-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold, #c9a84c), #e5c97e);
  color: #1a1a18;
  font-size: 34px; font-weight: 700; line-height: 72px;
  margin: 0 auto 24px;
}
.ty-title {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: 32px; font-weight: 500;
  color: var(--ink-primary, #f5f0e8);
  margin: 0 0 16px;
}
.ty-text {
  font-size: 16px; color: var(--ink-primary, #f5f0e8);
  margin: 0 0 10px; line-height: 1.5;
}
.ty-sub {
  font-size: 14px; color: var(--ink-dim, rgba(245,240,232,.55));
  margin: 0 0 32px; line-height: 1.6;
}
.ty-btns {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.ty-btns .btn { flex: 1; min-width: 140px; justify-content: center; }

@media (max-width: 480px) {
  .ty-card { padding: 36px 22px 28px; }
  .ty-title { font-size: 26px; }
  .ty-btns { flex-direction: column; }
  .ty-btns .btn { min-width: 0; }
}

/* ── Visually hidden (для SEO H1 на страницах без явного заголовка) ── */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Chef's picks section ── */
.chef-section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.chef-section__head p { max-width: 520px; font-size: 16px; margin-bottom: 0; }
.chef-section__all { align-self: flex-end; flex-shrink: 0; }

.chef-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  align-items: start;
}
.chef-grid__hero { display: contents; }
.chef-grid__side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Chef card — shared */
.chef-card {
  background: var(--bg-3);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .3s, transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.chef-card:hover {
  border-color: rgba(201,163,91,.4);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.chef-card__img {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  flex-shrink: 0;
}
.chef-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s ease;
}
.chef-card:hover .chef-card__img img { transform: scale(1.06); }

/* Hero card — big */
.chef-card--hero .chef-card__img { aspect-ratio: 4/3; }
.chef-card--hero .chef-card__body { padding: 28px 28px 24px; }
.chef-card--hero .chef-card__title { font-size: clamp(20px, 2vw, 26px); }
.chef-card--hero .chef-card__desc { display: block; }

/* Small cards — horizontal on desktop */
.chef-grid__side .chef-card {
  flex-direction: row;
  min-height: 0;
}
.chef-grid__side .chef-card__img {
  width: 140px;
  aspect-ratio: 1;
  flex-shrink: 0;
}
.chef-grid__side .chef-card__body { padding: 18px 20px; flex: 1; }
.chef-grid__side .chef-card__title { font-size: 17px; margin-bottom: 4px; }
.chef-grid__side .chef-card__desc { font-size: 12px; -webkit-line-clamp: 2; }

/* Card innards */
.chef-card__badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--gold);
  color: #111;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.chef-card__body { display: flex; flex-direction: column; flex: 1; }
.chef-card__cat {
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
  display: block;
}
.chef-card__title {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 10px;
  color: var(--ink);
}
.chef-card__desc {
  font-size: 13px;
  color: var(--ink-dim);
  line-height: 1.5;
  margin: 0 0 auto;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.chef-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  flex-wrap: wrap;
}
.chef-card__pricing { display: flex; flex-direction: column; gap: 2px; }
.chef-card__weight {
  font-size: 11px;
  color: var(--ink-dim);
  letter-spacing: .1em;
}
.chef-card__price {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--gold);
  line-height: 1;
}
.chef-grid__side .chef-card__price { font-size: 22px; }
.chef-card__add {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
}
.chef-card__add svg { width: 12px; height: 12px; flex-shrink: 0; }
.chef-card__add:hover { background: var(--gold); border-color: var(--gold); color: #111; }

/* Responsive */
@media (max-width: 960px) {
  .chef-grid { grid-template-columns: 1fr; }
  .chef-grid__side { flex-direction: row; flex-wrap: wrap; }
  .chef-grid__side .chef-card { flex: 1 1 calc(50% - 8px); flex-direction: column; min-width: 240px; }
  .chef-grid__side .chef-card__img { width: 100%; aspect-ratio: 16/9; }
  .chef-grid__side .chef-card__body { padding: 18px; }
}
@media (max-width: 600px) {
  .chef-section__head { flex-direction: column; align-items: flex-start; }
  .chef-section__all { display: none; }
  .chef-grid__side { flex-direction: column; }
  .chef-grid__side .chef-card { flex: 1 1 100%; }
  .chef-card--hero .chef-card__img { aspect-ratio: 16/10; }
  .chef-card--hero .chef-card__body { padding: 18px; }
  .chef-card--hero .chef-card__title { font-size: 20px; }
  .chef-card--hero .chef-card__desc { -webkit-line-clamp: 2; }
  /* Увеличиваем тач-зону кнопки «В корзину» */
  .chef-card__add { padding: 12px 18px; min-height: 44px; }
  .chef-card__price { font-size: 22px; }
}
@media (max-width: 380px) {
  .chef-grid__side .chef-card { min-width: 0; }
  .chef-card--hero .chef-card__body { padding: 14px; }
  .chef-card__foot { gap: 8px; }
}

/* ── Menu list format ── */
.menu-list {
  border-top: 1px solid var(--line-soft);
  margin-bottom: 16px;
}
.menu-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  column-gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  transition: background .15s;
  cursor: default;
}
.menu-row--has-photo { cursor: pointer; }
.menu-row--has-photo:hover { background: rgba(201,163,91,.04); }

/* Name + camera icon wrapper */
.menu-row__name-wrap {
  display: flex;
  align-items: center;
  gap: 9px;
  grid-column: 1;
  grid-row: 1;
}
.menu-row__cam {
  flex-shrink: 0;
  color: var(--gold);
  opacity: .45;
  line-height: 0;
  transition: opacity .2s, color .2s;
}
.menu-row__cam svg { width: 15px; height: 13px; display: block; }
.menu-row--has-photo:hover .menu-row__cam { opacity: .85; }
.menu-row__cam-placeholder { width: 15px; flex-shrink: 0; }

.menu-row__name {
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.35;
}
.menu-row__desc {
  font-size: 11px;
  color: var(--ink-dim);
  letter-spacing: .06em;
  text-transform: uppercase;
  grid-column: 1;
  grid-row: 2;
  padding: 3px 0 0 24px; /* indent under camera icon */
}
.menu-row__weight {
  font-size: 12px;
  color: var(--ink-dim);
  letter-spacing: .08em;
  white-space: nowrap;
  text-align: right;
}
.menu-row__price {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--gold);
  white-space: nowrap;
  text-align: right;
  min-width: 90px;
  line-height: 1;
}
.menu-row__add {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-soft);
  background: transparent;
  color: var(--ink-dim);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s ease;
  padding: 0; flex-shrink: 0;
}
.menu-row__add svg { width: 14px; height: 14px; }
.menu-row__add:hover { background: var(--gold); border-color: var(--gold); color: #111; }
.menu-row__add-placeholder { width: 32px; flex-shrink: 0; }

/* ── Dish photo modal ── */
.dish-modal {
  position: fixed; inset: 0; z-index: 500;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  pointer-events: none;
}
.dish-modal.is-open { pointer-events: auto; }

.dish-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .3s ease;
}
.dish-modal.is-open .dish-modal__backdrop { opacity: 1; }

.dish-modal__card {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  overflow: hidden;
  width: 100%;
  max-width: 560px;
  box-shadow: 0 40px 100px rgba(0,0,0,.6);
  transform: translateY(28px) scale(.97);
  opacity: 0;
  transition: transform .38s cubic-bezier(.2,.8,.2,1), opacity .3s ease;
}
.dish-modal.is-open .dish-modal__card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.dish-modal__close {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, background .2s;
}
.dish-modal__close:hover { border-color: var(--gold); background: rgba(0,0,0,.7); }
.dish-modal__close svg { width: 16px; height: 16px; }

.dish-modal__img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-3);
}
.dish-modal__img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.dish-modal__card:hover .dish-modal__img { transform: scale(1.03); }

.dish-modal__body {
  padding: 24px 28px 28px;
}
.dish-modal__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.dish-modal__weight {
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--ink-dim);
  text-transform: uppercase;
}
.dish-modal__price {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--gold);
  line-height: 1;
}
.dish-modal__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 500;
  margin: 0 0 20px;
  line-height: 1.2;
  color: var(--ink);
}
.dish-modal__add {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 12px;
  letter-spacing: .2em;
  transition: background .2s, color .2s;
}

@media (max-width: 600px) {
  /* Модал на мобиле — меньше отступы, крупная тач-зона закрытия */
  .dish-modal { padding: 12px; }
  .dish-modal__card { border-radius: 16px; }
  .dish-modal__close { width: 44px; height: 44px; top: 10px; right: 10px; }
  .dish-modal__close svg { width: 18px; height: 18px; }
  .dish-modal__body { padding: 16px 18px 20px; }
  .dish-modal__price { font-size: 26px; }
  .dish-modal__title { font-size: 20px; margin-bottom: 14px; }
  .dish-modal__add { padding: 14px; }
}

/* Responsive — menu list */
@media (max-width: 960px) {
  /* Немного компактнее на планшете */
  .menu-row { column-gap: 14px; }
  .menu-row__price { font-size: 20px; min-width: 76px; }
}
@media (max-width: 600px) {
  /* Скрываем вес, убираем колонку */
  .menu-row { grid-template-columns: 1fr auto auto; column-gap: 10px; padding: 13px 0; }
  .menu-row__weight { display: none; }
  .menu-row__name { font-size: 12px; letter-spacing: .06em; }
  .menu-row__price { font-size: 18px; min-width: 64px; }
  /* Увеличиваем тач-зону кнопки «+» до 44px */
  .menu-row__add { width: 44px; height: 44px; }
  .menu-row__add-placeholder { width: 44px; }
}
