:root {
  --bg: #FAF5EC;
  --bg-soft: #F3E9D8;
  --surface: #FFFDF9;
  --ink: #221712;
  --ink-2: #584539;
  --ink-3: #836E60;
  --border: rgba(34, 23, 18, 0.11);
  --border-strong: rgba(34, 23, 18, 0.2);

  --crust: #B95817;
  --crust-hover: #9E4710;
  --crust-soft: rgba(185, 88, 23, 0.12);
  --gold: #D98A2B;
  --berry: #8C252B;
  --berry-soft: rgba(140, 37, 43, 0.1);
  --wa: #1E8E4E;
  --wa-hover: #17753F;

  --espresso: #211510;
  --espresso-2: #2F1F18;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 4px 16px rgba(34, 23, 18, 0.06);
  --shadow-md: 0 14px 36px rgba(34, 23, 18, 0.10);
  --shadow-lg: 0 24px 60px rgba(24, 14, 9, 0.22);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Кнопки ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.15;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: linear-gradient(135deg, #C7611D, #A84A10);
  color: #FFFDF9;
  box-shadow: 0 10px 24px rgba(185, 88, 23, 0.28);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #D26A23, #9E430D);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(185, 88, 23, 0.36);
}
.btn-glass {
  background: rgba(255, 250, 240, 0.14);
  color: #FFF9F0;
  border-color: rgba(255, 245, 230, 0.34);
  backdrop-filter: blur(10px);
}
.btn-glass:hover {
  background: rgba(255, 250, 240, 0.24);
  border-color: rgba(255, 245, 230, 0.6);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--crust);
  color: var(--crust);
  background: var(--crust-soft);
}
.btn-wa {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 10px 24px rgba(30, 142, 78, 0.26);
}
.btn-wa:hover {
  background: var(--wa-hover);
  transform: translateY(-1px);
}
.btn-full { width: 100%; }

/* ===== Шапка ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 245, 236, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(34, 23, 18, 0.08); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
}
.brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.brand-emblem {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--espresso);
  color: #F4C37A;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(33, 21, 16, 0.2);
}
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 23px;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--ink);
}
.brand-sub {
  font-size: 11.5px;
  color: var(--ink-3);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}
.header-nav a { position: relative; padding: 6px 0; transition: color .2s; }
.header-nav a:hover { color: var(--crust); }
.header-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--crust);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.header-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  transition: background .2s, border-color .2s;
}
.header-phone:hover { border-color: var(--crust); color: var(--crust); }
.header-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: none;
  background: var(--espresso);
  color: #FFFDF9;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  transition: transform .2s, background .2s;
  font-variant-numeric: tabular-nums;
}
.header-cart-btn:hover { background: var(--crust); }
.header-cart-btn.bump { animation: bump .35s ease; }
@keyframes bump {
  0%, 100% { transform: scale(1); }
  40% { transform: scale(1.09); }
}
.cart-badge {
  background: var(--gold);
  color: var(--espresso);
  font-weight: 800;
  font-size: 12px;
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: var(--espresso);
  color: #FFFBF4;
  overflow: hidden;
  padding: 56px 0 64px;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  transform: scale(1.02);
  animation: heroSlowZoom 18s ease-in-out infinite alternate;
}
@keyframes heroSlowZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.07); }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(96deg, rgba(24, 14, 9, 0.90) 0%, rgba(28, 17, 11, 0.72) 48%, rgba(24, 14, 9, 0.34) 100%),
    linear-gradient(180deg, rgba(24, 14, 9, 0.25) 0%, rgba(24, 14, 9, 0.58) 100%);
}
.hero-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  left: -120px;
  bottom: -180px;
  background: radial-gradient(circle, rgba(217, 138, 43, 0.28) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: end;
  gap: 36px;
}
.hero-content { max-width: 630px; }
.oven-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(255, 245, 230, 0.12);
  border: 1px solid rgba(244, 195, 122, 0.34);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 600;
  color: #FCE6C4;
  margin-bottom: 22px;
}
.oven-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #F59E0B;
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  animation: pulseDot 2s infinite;
  flex-shrink: 0;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
  70% { box-shadow: 0 0 0 9px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.4vw, 66px);
  line-height: 1.03;
  font-weight: 700;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
  color: #FFFBF4;
}
.hero-lead {
  font-size: clamp(15.5px, 1.4vw, 18px);
  color: rgba(255, 246, 232, 0.86);
  margin: 0 0 28px;
  max-width: 540px;
  line-height: 1.6;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}
.hero-metrics {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  background: rgba(25, 15, 10, 0.56);
  border: 1px solid rgba(255, 240, 215, 0.14);
  backdrop-filter: blur(10px);
}
.metric-val {
  font-weight: 800;
  font-size: 16.5px;
  color: #FAD396;
  font-variant-numeric: tabular-nums;
}
.metric-lbl { font-size: 12px; color: rgba(255, 245, 230, 0.72); }
.metric-sep { width: 1px; height: 28px; background: rgba(255, 240, 215, 0.16); }

/* Hero плашка-хит */
.hero-feature-card {
  justify-self: end;
  width: 100%;
  max-width: 390px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 251, 244, 0.95);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.hfc-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--berry);
  background: var(--berry-soft);
  padding: 4px 9px;
  border-radius: 999px;
  margin-bottom: 11px;
}
.hfc-row { display: flex; align-items: center; gap: 14px; }
.hfc-row img {
  width: 96px;
  height: 76px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}
.hfc-name { font-weight: 800; font-size: 15.5px; line-height: 1.25; }
.hfc-desc { font-size: 12.5px; color: var(--ink-2); margin: 3px 0 8px; }
.hfc-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hfc-price { font-weight: 800; font-size: 17px; color: var(--ink); font-variant-numeric: tabular-nums; }
.btn-mini-add {
  border: none;
  background: var(--crust);
  color: #fff;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn-mini-add:hover { background: var(--crust-hover); transform: translateY(-1px); }

/* ===== Полоса ремесла ===== */
.craft-strip {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.craft-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.craft-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 253, 249, 0.72);
  border: 1px solid var(--border);
}
.craft-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--crust-soft);
  color: var(--crust);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.craft-item h3 { margin: 0 0 4px; font-size: 15.5px; font-weight: 800; }
.craft-item p { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }

/* ===== Общие секции ===== */
.section { padding: 72px 0; }
.section-head { max-width: 680px; margin-bottom: 34px; }
.section-head-row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--crust);
  margin-bottom: 10px;
}
.eyebrow-light { color: #F5C37A; }
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--ink);
}
.section-sub { margin: 0; font-size: 15.5px; color: var(--ink-2); }

/* ===== Калькулятор на компанию ===== */
.calc-section { background: linear-gradient(180deg, var(--bg) 0%, #F5ECDC 100%); }
.calc-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 28px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.calc-controls { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.calc-label { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); margin-bottom: 10px; }
.calc-label-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.calc-label-row .calc-label { margin-bottom: 0; }
.calc-guests-pill {
  background: var(--espresso);
  color: #FCE6C4;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.seg-row { display: flex; flex-wrap: wrap; gap: 8px; }
.seg-btn {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--border-strong);
  background: var(--bg);
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all .18s ease;
}
.seg-btn:hover { border-color: var(--crust); color: var(--crust); }
.seg-btn.active {
  background: var(--espresso);
  border-color: var(--espresso);
  color: #FFFBF4;
}
.range-slider {
  width: 100%;
  accent-color: var(--crust);
  height: 6px;
  cursor: pointer;
}
.quick-guests { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.quick-guests button {
  min-width: 44px;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all .16s;
}
.quick-guests button.active, .quick-guests button:hover {
  background: var(--crust-soft);
  border-color: var(--crust);
  color: var(--crust);
}
.calc-oven-note {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
}
.calc-oven-note svg { color: var(--crust); flex-shrink: 0; }

.calc-result {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 1px solid var(--border);
}
.calc-res-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-bottom: 16px;
}
.calc-res-kicker { font-weight: 800; font-size: 17px; }
.calc-res-meta { font-size: 13px; color: var(--ink-3); margin-top: 2px; font-variant-numeric: tabular-nums; }
.btn-shuffle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  flex-shrink: 0;
}
.btn-shuffle:hover { border-color: var(--crust); color: var(--crust); }

.calc-items { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.calc-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  animation: fadeSlide .25s ease;
}
@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.calc-item-row img {
  width: 56px;
  height: 44px;
  object-fit: cover;
  border-radius: 9px;
  flex-shrink: 0;
}
.calc-item-info { flex: 1; min-width: 0; }
.calc-item-name { font-weight: 700; font-size: 14px; line-height: 1.25; }
.calc-item-sub { font-size: 12px; color: var(--ink-3); }
.calc-item-price { font-weight: 800; font-size: 14.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }

.calc-res-foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.calc-total-price { font-size: 26px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.calc-per-person { font-size: 12.5px; color: var(--ink-2); margin-top: 3px; }

/* ===== Меню и фильтры ===== */
.menu-toolbar {
  position: sticky;
  top: 70px;
  z-index: 25;
  background: rgba(250, 245, 236, 0.94);
  backdrop-filter: blur(12px);
  padding: 12px 0 14px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.cat-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: none;
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
  white-space: nowrap;
  cursor: pointer;
  transition: all .18s;
  flex-shrink: 0;
}
.cat-tab:hover { border-color: var(--crust); color: var(--crust); }
.cat-tab.active {
  background: var(--espresso);
  border-color: var(--espresso);
  color: #FFFDF9;
}
.cat-tab .cnt { opacity: 0.65; font-weight: 600; margin-left: 4px; font-size: 12.5px; }

.menu-subrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.filter-chips { display: flex; gap: 7px; flex-wrap: wrap; }
.chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: transparent;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-2);
  cursor: pointer;
  transition: all .16s;
}
.chip:hover { border-color: var(--crust); color: var(--crust); }
.chip.active {
  background: var(--crust-soft);
  border-color: var(--crust);
  color: var(--crust);
}
.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: 999px;
  padding: 7px 14px;
  min-width: 240px;
  flex: 0 1 300px;
  transition: border-color .2s;
}
.search-box:focus-within { border-color: var(--crust); }
.search-box svg { color: var(--ink-3); flex-shrink: 0; }
.search-box input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 13.5px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.dish-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.dish-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(185, 88, 23, 0.35);
}
.dish-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-soft);
  cursor: pointer;
}
.dish-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.dish-card:hover .dish-media img { transform: scale(1.06); }
.dish-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6px;
  pointer-events: none;
}
.dish-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  background: rgba(33, 21, 16, 0.82);
  color: #FCE6C4;
  backdrop-filter: blur(6px);
}
.dish-badge.badge-hit { background: var(--berry); color: #fff; }
.dish-badge.badge-instant { background: rgba(30, 118, 69, 0.9); color: #fff; }

.dish-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.dish-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 600;
  margin-bottom: 5px;
}
.dish-title {
  margin: 0 0 7px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  cursor: pointer;
  transition: color .2s;
}
.dish-title:hover { color: var(--crust); }
.dish-desc {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.48;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.size-switch {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  background: var(--bg-soft);
  margin-bottom: 14px;
  align-self: flex-start;
}
.size-switch button {
  border: none;
  background: transparent;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
  cursor: pointer;
  transition: all .16s;
}
.size-switch button.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 2px 6px rgba(34, 23, 18, 0.1);
}

.dish-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.dish-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.dish-add-btn {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--crust);
  background: var(--crust-soft);
  color: var(--crust);
  font-weight: 800;
  font-size: 13.5px;
  cursor: pointer;
  transition: all .18s;
}
.dish-add-btn:hover {
  background: var(--crust);
  color: #fff;
}
.stepper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  background: var(--espresso);
  color: #fff;
}
.stepper button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .15s;
}
.stepper button:hover { background: var(--crust); }
.stepper span {
  min-width: 24px;
  text-align: center;
  font-weight: 800;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.menu-empty {
  text-align: center;
  padding: 44px 20px;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-strong);
}

/* ===== Банкетный блок ===== */
.banquet-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  padding: 38px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top right, #422719 0%, var(--espresso) 60%);
  color: #FFFBF4;
  box-shadow: var(--shadow-lg);
}
.banquet-copy { min-width: 0; }
.banquet-copy h2 { color: #FFFBF4; }
.banquet-copy p { color: rgba(255, 245, 230, 0.82); font-size: 15.5px; margin: 0 0 20px; }
.banquet-perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.banquet-perks li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  color: #FCE6C4;
}
.banquet-perks li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
}
.banquet-form {
  min-width: 0;
  background: rgba(255, 251, 244, 0.08);
  border: 1px solid rgba(255, 240, 215, 0.16);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.banquet-form h3 { margin: 0 0 2px; font-size: 19px; color: #FFFBF4; }
.bf-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.banquet-form label { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; color: rgba(255, 245, 230, 0.78); font-weight: 600; min-width: 0; }
.banquet-form input, .banquet-form select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid rgba(255, 240, 215, 0.24);
  background: rgba(20, 12, 8, 0.55);
  color: #FFFBF4;
  font-size: 14px;
  outline: none;
}
.banquet-form input:focus, .banquet-form select:focus { border-color: var(--gold); }

/* ===== Отзывы ===== */
.rating-badge-lg {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.rbl-score {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  color: var(--crust);
}
.rbl-stars { color: #D98A2B; font-size: 16px; letter-spacing: 2px; }
.rbl-sub { font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.review-card {
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rv-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.rv-author { font-weight: 800; font-size: 15px; }
.rv-src { font-size: 11.5px; color: var(--ink-3); font-weight: 600; }
.rv-stars { color: #D98A2B; font-size: 14px; }
.rv-text { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.rv-tag {
  margin-top: auto;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  color: var(--crust);
  background: var(--crust-soft);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ===== FAQ ===== */
.faq-section { background: var(--bg-soft); }
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 36px;
  align-items: start;
}
.faq-intro p { color: var(--ink-2); margin: 0 0 22px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
}
.faq-q span.plus {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--crust);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform .22s ease;
}
.faq-item.open .faq-q span.plus { transform: rotate(45deg); background: var(--crust); color: #fff; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
}
.faq-a-inner {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
}

/* ===== Контакты ===== */
.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  padding: 34px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.contact-rows { display: flex; flex-direction: column; gap: 16px; margin: 22px 0 26px; }
.cr-lbl { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); }
.cr-val { font-size: 16px; font-weight: 700; margin-top: 3px; }
.cr-phones { display: flex; flex-wrap: wrap; gap: 14px; }
.cr-phones a { color: var(--crust); text-decoration: underline; text-underline-offset: 3px; }
.contact-btns { display: flex; flex-wrap: wrap; gap: 10px; }

.contacts-zones {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 1px solid var(--border);
}
.contacts-zones h3 { margin: 0 0 6px; font-size: 20px; }
.zones-sub { margin: 0 0 18px; font-size: 13.5px; color: var(--ink-2); }
.zones-list { display: flex; flex-direction: column; gap: 10px; }
.zone-pill {
  padding: 13px 15px;
  border-radius: 13px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.zone-pill strong { font-size: 14.5px; }
.zone-pill span { font-size: 12.5px; color: var(--ink-3); }
.zone-pill-accent { background: var(--crust-soft); border-color: rgba(185, 88, 23, 0.35); }
.zone-pill-accent strong { color: var(--crust); }

/* ===== Подвал ===== */
.site-footer {
  background: var(--espresso);
  color: rgba(255, 245, 230, 0.8);
  padding: 30px 0 92px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #FCE6C4;
  letter-spacing: 0.06em;
}
.footer-meta { font-size: 13px; margin-top: 3px; }
.footer-demo-note {
  font-size: 12px;
  color: rgba(255, 245, 230, 0.52);
  max-width: 440px;
}

/* ===== Мобильный бар корзины ===== */
.mobile-cart-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 45;
  display: none;
}
.mcb-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-radius: 999px;
  border: none;
  background: var(--espresso);
  color: #FFFBF4;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 14px 36px rgba(20, 11, 6, 0.38);
  cursor: pointer;
}
.mcb-left { display: flex; align-items: center; gap: 10px; }
.mcb-count {
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--espresso);
  display: inline-grid;
  place-items: center;
  font-size: 13px;
}
.mcb-total { font-variant-numeric: tabular-nums; color: #FAD396; }

/* ===== Модалки и Drawer ===== */
.modal-backdrop, .drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(22, 13, 8, 0.62);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn .2s ease;
}
.modal-backdrop[hidden], .drawer-backdrop[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 253, 249, 0.92);
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.modal-close:hover { background: var(--espresso); color: #fff; }
.dm-media { position: relative; aspect-ratio: 16 / 10; background: var(--bg-soft); }
.dm-media img { width: 100%; height: 100%; object-fit: cover; }
.dm-tag {
  position: absolute;
  left: 16px;
  bottom: 14px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(33, 21, 16, 0.85);
  color: #FCE6C4;
  font-size: 12px;
  font-weight: 700;
}
.dm-body { padding: 22px 24px 24px; }
.dm-cat { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--crust); }
.dm-body h3 { font-family: var(--font-display); font-size: 30px; line-height: 1.1; margin: 6px 0 10px; }
.dm-desc { margin: 0 0 14px; font-size: 14.5px; color: var(--ink-2); }
.dm-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.dm-fact {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink-2);
}
.dm-var-lbl { font-size: 12.5px; font-weight: 700; color: var(--ink-3); margin-bottom: 8px; }
.dm-var-btns { display: flex; gap: 8px; margin-bottom: 16px; }
.dm-var-btns button {
  flex: 1;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1.5px solid var(--border-strong);
  background: var(--bg);
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
}
.dm-var-btns button.active {
  border-color: var(--crust);
  background: var(--crust-soft);
  color: var(--crust);
}
.dm-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.dm-price { font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; }
.dm-weight { font-size: 12.5px; color: var(--ink-3); }

/* Drawer корзины */
.drawer-backdrop { justify-content: flex-end; padding: 0; }
.drawer-panel {
  width: 100%;
  max-width: 450px;
  height: 100%;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  box-shadow: -16px 0 50px rgba(20, 11, 6, 0.28);
  animation: slideInRight .25s ease;
}
@keyframes slideInRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
.drawer-head {
  position: relative;
  padding: 18px 56px 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.drawer-head h3 { margin: 0; font-size: 21px; font-weight: 800; }
.drawer-oven-eta { font-size: 12.5px; color: var(--crust); font-weight: 700; margin-top: 2px; }
.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.delivery-meter {
  padding: 11px 13px;
  border-radius: 13px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}
.dm-meter-text { font-size: 12.5px; font-weight: 700; color: var(--ink-2); margin-bottom: 7px; }
.dm-meter-track { height: 6px; border-radius: 999px; background: rgba(34, 23, 18, 0.12); overflow: hidden; }
.dm-meter-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--crust)); border-radius: 999px; transition: width .35s ease; }

.cart-empty {
  text-align: center;
  padding: 46px 16px;
  color: var(--ink-3);
}
.cart-empty-icon { font-size: 42px; margin-bottom: 8px; }
.cart-empty p { margin: 0 0 6px; font-weight: 800; color: var(--ink); font-size: 17px; }
.cart-empty span { font-size: 13.5px; }

.cart-items { display: flex; flex-direction: column; gap: 10px; }
.cart-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
}
.cart-row img { width: 54px; height: 44px; object-fit: cover; border-radius: 9px; flex-shrink: 0; }
.cart-row-info { flex: 1; min-width: 0; }
.cart-row-name { font-weight: 700; font-size: 13.5px; line-height: 1.25; }
.cart-row-sub { font-size: 12px; color: var(--ink-3); }
.cart-row-right { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.cart-row-sum { font-weight: 800; font-size: 14px; font-variant-numeric: tabular-nums; }
.mini-stepper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 2px;
}
.mini-stepper button {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: var(--bg-soft);
  font-weight: 800;
  cursor: pointer;
}
.mini-stepper button:hover { background: var(--crust); color: #fff; }
.mini-stepper span { min-width: 18px; text-align: center; font-size: 12.5px; font-weight: 800; }

.cart-upsell {
  padding-top: 12px;
  border-top: 1px dashed var(--border-strong);
}
.cu-title { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); margin-bottom: 9px; }
.cu-list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.cu-list::-webkit-scrollbar { display: none; }
.cu-card {
  flex: 0 0 156px;
  padding: 9px;
  border-radius: 13px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cu-card-name { font-size: 12.5px; font-weight: 700; line-height: 1.2; }
.cu-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.cu-card-price { font-size: 12.5px; font-weight: 800; }
.cu-card button {
  border: none;
  background: var(--crust);
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-weight: 800;
  cursor: pointer;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.cf-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 13px;
  background: var(--bg-soft);
}
.cf-tabs button {
  border: none;
  background: transparent;
  padding: 9px 8px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-2);
  cursor: pointer;
}
.cf-tabs button.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(34, 23, 18, 0.1);
}
.cf-group { display: flex; flex-direction: column; gap: 4px; }
.cf-group label { font-size: 12px; font-weight: 700; color: var(--ink-3); }
.cf-group input, .cf-group select {
  padding: 10px 12px;
  border-radius: 11px;
  border: 1.5px solid var(--border-strong);
  background: var(--bg);
  font-size: 13.5px;
  outline: none;
}
.cf-group input:focus, .cf-group select:focus { border-color: var(--crust); background: var(--surface); }
.cf-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.slice-pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.slice-pills button {
  padding: 8px 6px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.slice-pills button.active {
  background: var(--espresso);
  border-color: var(--espresso);
  color: #fff;
}

.drawer-foot {
  padding: 14px 20px max(16px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.df-summary { display: flex; align-items: flex-end; justify-content: space-between; }
.df-total-lbl { font-size: 12.5px; color: var(--ink-3); font-weight: 700; }
.df-weight { font-size: 12px; color: var(--ink-2); }
.df-total-val { font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; }
.btn-text-link {
  border: none;
  background: transparent;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 4px;
}
.btn-text-link:hover { color: var(--crust); }

/* Превью чека */
.receipt-dialog { padding: 24px; }
.receipt-dialog h3 { margin: 0 0 6px; font-size: 22px; }
.rm-sub { margin: 0 0 12px; font-size: 13.5px; color: var(--ink-2); }
.receipt-pre {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 14px;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-wrap;
  max-height: 46vh;
  overflow-y: auto;
  margin: 0 0 16px;
}
.rm-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.rm-actions .btn { flex: 1; }

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 84px;
  transform: translateX(-50%);
  z-index: 80;
  background: var(--espresso);
  color: #FCE6C4;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
  max-width: calc(100vw - 24px);
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Плавное появление при скролле */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ===== Адаптивность ===== */
@media (max-width: 1024px) {
  .header-nav { display: none; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-feature-card { justify-self: start; max-width: 440px; }
  .calc-card, .banquet-card, .faq-layout, .contacts-grid { grid-template-columns: minmax(0, 1fr); }
  .menu-grid, .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .container { padding: 0 14px; }
  .header-inner { min-height: 62px; gap: 10px; }
  .brand-emblem { width: 36px; height: 36px; }
  .brand-name { font-size: 19px; }
  .brand-sub { font-size: 10.5px; }
  .header-phone span { display: none; }
  .header-phone { padding: 9px 11px; }
  .header-cart-btn .cart-btn-label { display: none; }
  .header-cart-btn { padding: 9px 12px; }

  .hero { min-height: auto; padding: 30px 0 42px; }
  .hero-media img { object-position: 68% center; }
  .oven-pill { font-size: 12px; padding: 7px 12px; margin-bottom: 16px; }
  .hero-title { font-size: 36px; }
  .hero-lead { font-size: 15px; margin-bottom: 22px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .hero-metrics { width: 100%; justify-content: space-between; gap: 12px; padding: 12px 14px; }
  .metric-sep { display: none; }
  .hero-feature-card { max-width: none; }

  .craft-grid, .menu-grid, .reviews-grid { grid-template-columns: minmax(0, 1fr); }
  .section { padding: 48px 0; }
  .calc-card, .banquet-card, .contacts-grid { padding: 16px; border-radius: 20px; }
  .calc-result, .banquet-form { padding: 15px; }
  .calc-res-foot { flex-direction: column; align-items: stretch; }
  .calc-add-btn { width: 100%; }
  .bf-row, .cf-row-2 { grid-template-columns: minmax(0, 1fr); }
  .menu-toolbar { top: 62px; }
  .search-box { flex: 1 1 100%; min-width: 0; }
  .mobile-cart-bar { display: block; }
  .mobile-cart-bar[hidden] { display: none; }
}

@media (max-width: 380px) {
  .btn { white-space: normal; text-align: center; padding: 12px 16px; font-size: 14px; }
  .hero-title { font-size: 31px; }
  .hfc-row img { width: 76px; height: 64px; }
  .dish-price { font-size: 18px; }
  .slice-pills button { font-size: 11px; padding: 7px 4px; }
  .calc-item-row { gap: 9px; padding: 9px; }
  .calc-item-row img { width: 46px; height: 38px; }
}
