/* ============================================
   ТАМ СЯМ — PREMIUM FAMILY CAFE CSS
   ============================================ */

/* ---------- DESIGN TOKENS ---------- */
:root {
  --red: #D92B2E;
  --red-dark: #B81F22;
  --red-light: #F04346;
  --black: #0A0A0A;
  --white: #FFFFFF;
  --off-white: #F7F6F4;
  --surface: #FFFFFF;
  --surface-2: #F2F1EF;
  --text-primary: #0A0A0A;
  --text-secondary: #5C5C5C;
  --text-muted: #9E9E9E;
  --border: rgba(0,0,0,0.07);
  --border-strong: rgba(0,0,0,0.12);
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.05);
  --shadow-md: 0 6px 32px rgba(0,0,0,0.09);
  --shadow-lg: 0 12px 56px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 80px rgba(0,0,0,0.16);
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-full: 999px;

  /* Nutrition block pastels */
  --nutri-blue: #DDEAF8;
  --nutri-green: #D9F0E8;
  --nutri-peach: #FAE8DC;
  --nutri-lav: #E9E2F8;

  /* Hero gradient */
  --hero-grad: linear-gradient(160deg, #f5f3f0 0%, #ede9e3 100%);
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--off-white);
  color: var(--text-primary);
  line-height: 1.55;
  width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.12); border-radius: var(--radius-full); }

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(247,246,244,0.97);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.header.scrolled {
  background: rgba(247,246,244,1);
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}
.header-inner {
  max-width: 1296px; margin: 0 auto;
  padding: 0 28px;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

/* Logo */
.header-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.logo-icon {
  width: 42px; height: 42px;
  background: var(--red);
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.logo-icon.small { width: 36px; height: 36px; border-radius: 11px; }
.logo-icon:hover { transform: scale(1.05); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.logo-img { width: 100%; height: 100%; object-fit: cover; border-radius: 13px; }
.logo-fallback { width: 100%; height: 100%; align-items: center; justify-content: center; font-size: 20px; }
.logo-text {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.15rem; font-weight: 800;
  color: var(--text-primary); letter-spacing: -0.02em;
}
.logo-accent { color: var(--red); }

/* City Selector */
.city-selector {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 16px;
  background: var(--surface-2);
  border-radius: var(--radius-full);
  font-size: 0.85rem; font-weight: 500;
  color: var(--text-secondary);
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.city-selector:hover { background: #e8e6e2; color: var(--text-primary); }
.city-icon { width: 13px; height: 13px; stroke: var(--red); flex-shrink: 0; }
.chevron-icon { width: 13px; height: 13px; stroke: var(--text-muted); }

/* Header Right */
.header-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.catalog-header-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  background: var(--surface-2);
  color: var(--text-primary);
  border-radius: var(--radius-full);
  font-size: 0.85rem; font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}
.catalog-header-btn svg { width: 17px; height: 17px; }
.catalog-header-btn:hover { background: #e8e6e2; transform: scale(1.05); }

.cart-btn {
  display: flex; align-items: center; gap: 9px;
  padding: 11px 22px;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 0.875rem; font-weight: 600;
  position: relative;
  transition: background 0.2s ease, transform 0.18s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 18px rgba(0,0,0,0.22);
  letter-spacing: 0.005em;
}
.cart-btn svg { width: 17px; height: 17px; }
.cart-btn:hover { background: #1f1f1f; transform: translateY(-1px); box-shadow: 0 7px 24px rgba(0,0,0,0.28); }
.cart-badge {
  position: absolute; top: -5px; right: -5px;
  background: var(--red); color: white;
  font-size: 0.68rem; font-weight: 700;
  width: 19px; height: 19px;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--off-white);
}

/* ============================================
   SEARCH
   ============================================ */
.search-wrapper { position: relative; }
.search-btn {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  background: var(--surface-2);
  transition: background 0.2s ease, transform 0.2s ease;
}
.search-btn svg { width: 20px; height: 20px; color: var(--text-secondary); }
.search-btn:hover { background: #e8e6e2; transform: scale(1.05); }
.search-dropdown {
  position: absolute; top: calc(100% + 12px); right: 0;
  width: 360px; background: white;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-xl);
  opacity: 0; pointer-events: none; transform: translateY(-8px);
  transition: all 0.3s ease; z-index: 110; overflow: hidden;
}
.search-dropdown.active { opacity: 1; pointer-events: all; transform: translateY(0); }
.search-input {
  width: 100%; height: 52px; padding: 0 20px; border: none; outline: none;
  font-size: 0.9rem; font-family: inherit; color: var(--text-primary);
  border-bottom: 1px solid var(--border); background: transparent;
}
.search-input::placeholder { color: var(--text-muted); }
.search-results { max-height: 320px; overflow-y: auto; }
.search-result-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 20px; cursor: pointer;
  transition: background 0.15s ease;
}
.search-result-item:hover { background: var(--surface-2); }
.search-result-img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.search-result-info { flex: 1; min-width: 0; }
.search-result-name { font-size: 0.875rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-result-meta { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }
.search-result-price { font-size: 0.875rem; font-weight: 800; flex-shrink: 0; }
.search-empty { padding: 32px 20px; text-align: center; color: var(--text-muted); font-size: 0.85rem; }
@media (max-width: 640px) {
  .search-dropdown {
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    width: auto;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  padding: 100px 28px 48px;
  background: #F6F5F3;
}
.hero-wrapper { max-width: 1240px; margin: 0 auto; }
.hero-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 520px;
  display: flex; align-items: flex-end;
  background: #1a1a1a;
  box-shadow: var(--shadow-xl);
  animation: hero-enter 0.9s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes hero-enter {
  from { opacity: 0; transform: translateY(32px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.hero-image-wrap {
  position: absolute; inset: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s ease;
}
.hero-card:hover .hero-img { transform: scale(1.04); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.92) 0%, rgba(8,8,8,0.30) 55%, rgba(8,8,8,0.05) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  padding: 52px;
  max-width: 640px;
  animation: content-enter 1.1s 0.2s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes content-enter {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-kids-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: white;
  border-radius: var(--radius-full);
  color: var(--black); font-size: 0.78rem; font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-kids-badge svg { width: 14px; height: 14px; stroke: var(--black); flex-shrink: 0; }
.hero-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 800;
  color: white;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.hero-subtitle {
  color: rgba(255,255,255,0.62);
  font-size: 1rem; font-weight: 400;
  margin-bottom: 36px;
  letter-spacing: 0.01em;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  padding: 15px 32px;
  background: var(--red);
  color: white;
  border-radius: var(--radius-full);
  font-size: 0.9rem; font-weight: 700;
  transition: background 0.2s, transform 0.18s, box-shadow 0.2s;
  box-shadow: 0 7px 28px rgba(217,43,46,0.38);
  letter-spacing: 0.02em;
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 10px 32px rgba(217,43,46,0.48); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  padding: 15px 32px;
  background: transparent;
  color: white;
  border-radius: var(--radius-full);
  font-size: 0.9rem; font-weight: 700;
  border: 1.5px solid white;
  transition: background 0.2s, color 0.2s, transform 0.18s;
}
.btn-ghost:hover { background: white; color: var(--black); transform: translateY(-2px); }

/* Carousel */
.hero-carousel { position: relative; overflow: hidden; border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); }
.hero-track { display: flex; transition: transform 0.6s cubic-bezier(0.34,1.56,0.64,1); }
.hero-slide { flex: 0 0 100%; width: 100%; max-width: 100%; flex-shrink: 0; }
.hero-slide .hero-card { animation: none; width: 100%; }
.hero-dots { position: absolute; bottom: 28px; right: 36px; display: flex; gap: 8px; z-index: 5; }
.hero-dot { width: 10px; height: 10px; border-radius: var(--radius-full); background: rgba(255,255,255,0.4); border: none; cursor: pointer; transition: all 0.3s ease; }
.hero-dot.active { background: white; width: 28px; }

/* Promo tag */
.hero-promo-tag {
  position: absolute; top: 32px; right: 32px;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  background: white;
  border-radius: var(--radius-md);
  color: var(--black); z-index: 1;
  box-shadow: var(--shadow-md);
}
.hero-promo-tag-icon {
  width: 38px; height: 38px;
  background: var(--surface-2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-promo-tag-icon svg { width: 18px; height: 18px; stroke: var(--black); }
.promo-title { font-size: 0.82rem; font-weight: 800; line-height: 1.3; }
.promo-sub { font-size: 0.72rem; color: var(--text-secondary); margin-top: 2px; font-weight: 500; }

/* ============================================
   STORIES
   ============================================ */
.stories-section { padding: 0 0 4px; background: var(--off-white); }
.stories-scroll {
  display: flex; gap: 18px; padding: 16px 28px;
  overflow-x: auto; scrollbar-width: none;
  max-width: 1296px; margin: 0 auto;
  justify-content: center;
}
.stories-scroll::-webkit-scrollbar { display: none; }
.story-circle { display: flex; flex-direction: column; align-items: center; gap: 8px; flex-shrink: 0; cursor: pointer; background: none; border: none; }
.story-ring {
  width: 72px; height: 72px; border-radius: var(--radius-full);
  border: 2.5px solid var(--red); padding: 3px; overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.story-ring img { width: 100%; height: 100%; border-radius: var(--radius-full); object-fit: cover; }
.story-circle:hover .story-ring { transform: scale(1.08); box-shadow: 0 4px 16px rgba(217,43,46,0.25); }
.story-label { font-size: 0.68rem; font-weight: 600; color: var(--text-secondary); max-width: 72px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Story Overlay */
.story-overlay {
  position: fixed; inset: 0; z-index: 260;
  background: rgba(0,0,0,0.92);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity 0.35s ease;
}
.story-overlay.active { opacity: 1; pointer-events: all; }
.story-overlay-inner {
  max-width: 420px; width: 100%; height: 85vh; max-height: 720px;
  border-radius: var(--radius-xl); overflow: hidden; position: relative;
  background: var(--black);
}
.story-progress { position: absolute; top: 14px; left: 16px; right: 16px; height: 3px; background: rgba(255,255,255,0.2); border-radius: 2px; z-index: 5; }
.story-progress-fill { height: 100%; background: white; border-radius: 2px; width: 0%; }
.story-close-btn {
  position: absolute; top: 24px; right: 18px; z-index: 10;
  width: 36px; height: 36px; background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; transition: background 0.2s;
}
.story-close-btn svg { width: 16px; height: 16px; stroke: white; }
.story-close-btn:hover { background: rgba(255,255,255,0.3); }
.story-overlay-img { width: 100%; height: 100%; object-fit: cover; }
.story-overlay-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 48px 28px 36px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
}
.story-overlay-content h3 { color: white; font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.02em; }
.story-overlay-content p { color: rgba(255,255,255,0.7); font-size: 0.88rem; margin-bottom: 20px; line-height: 1.6; }
.story-cta { padding: 13px 28px; font-size: 0.85rem; }

/* ============================================
   REPEAT ORDER
   ============================================ */
.repeat-order-section { max-width: 1296px; margin: 0 auto; padding: 0 28px 8px; }
.repeat-order-card {
  display: flex; align-items: center; gap: 20px;
  padding: 18px 24px; background: white;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.repeat-order-info { flex-shrink: 0; }
.repeat-order-label { font-size: 0.72rem; font-weight: 500; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.repeat-order-meta { font-size: 1rem; font-weight: 800; margin-top: 4px; letter-spacing: -0.01em; }
.repeat-order-items { display: flex; gap: 8px; flex: 1; overflow: hidden; }
.repeat-order-thumb { width: 44px; height: 44px; border-radius: var(--radius-full); object-fit: cover; border: 2px solid var(--surface-2); flex-shrink: 0; }
.repeat-order-btn { display: flex; align-items: center; gap: 8px; padding: 12px 22px; font-size: 0.82rem; flex-shrink: 0; white-space: nowrap; }
.repeat-order-btn svg { stroke: white; }
@media (max-width: 640px) {
  .repeat-order-card { flex-wrap: wrap; gap: 14px; padding: 16px 18px; }
  .repeat-order-btn { width: 100%; justify-content: center; }
  .stories-scroll { padding: 12px 18px; gap: 14px; }
  .story-ring { width: 64px; height: 64px; }
  .story-label { font-size: 0.62rem; max-width: 64px; }
}

/* ============================================
   CATEGORIES
   ============================================ */
.categories-section {
  padding: 16px 0;
  background: var(--off-white);
  position: sticky; top: 72px; z-index: 50;
  border-bottom: 1px solid var(--border);
}
.categories-scroll {
  display: flex; gap: 10px;
  padding: 12px 28px;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 1296px; margin: 0 auto;
  cursor: grab;
  user-select: none;
}
.categories-scroll::after {
  content: "";
  flex: 0 0 1px;
}
.categories-scroll::-webkit-scrollbar { display: none; }
.category-pill {
  flex-shrink: 0;
  padding: 11px 22px;
  border-radius: var(--radius-full);
  background: white;
  border: 1.5px solid var(--border-strong);
  font-size: 0.85rem; font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: all 0.22s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.01em;
}
.category-pill:hover { border-color: var(--red); color: var(--red); transform: translateY(-1px); }
.category-pill.active {
  background: var(--black); border-color: var(--black);
  color: white;
  box-shadow: 0 5px 18px rgba(0,0,0,0.22);
  transform: translateY(-1px);
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products-section {
  max-width: 1296px; margin: 0 auto;
  padding: 56px 28px;
}
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 36px;
}
.section-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800; letter-spacing: -0.025em;
}
.section-link {
  font-size: 0.85rem; font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s;
  display: flex; align-items: center; gap: 4px;
}
.section-link:hover { color: var(--text-primary); }

/* Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: 24px;
}

/* Product Card (Full Image Overlay) */
.product-card {
  position: relative;
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 420px;
  display: flex; flex-direction: column; justify-content: flex-end;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.28s ease;
  animation: card-enter 0.5s ease both;
}
@keyframes card-enter {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.product-card:hover { transform: translateY(-6px) scale(1.01); box-shadow: var(--shadow-lg); }
.product-card:active { transform: translateY(-2px) scale(0.99); }

.card-bg { position: absolute; inset: 0; transition: transform 0.5s ease; z-index: 0; }
.product-card:hover .card-bg { transform: scale(1.06); }
.card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 1; transition: transform 0.5s ease; }
.product-card:hover .card-img { transform: scale(1.04); }
.card-gradient {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.4) 45%, transparent 100%);
  transition: opacity 0.3s ease;
}

.card-tag {
  position: absolute; top: 18px; left: 18px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.65rem; font-weight: 800;
  letter-spacing: 0.05em; text-transform: uppercase;
  z-index: 4;
}
.card-tag-hit { background: var(--red); color: white; }
.card-tag-new { background: #1A9E6E; color: white; }
.card-tag-kids { background: #E08520; color: white; }

.card-content-overlay {
  position: relative; z-index: 3;
  padding: 24px 24px 22px;
  display: flex; flex-direction: column;
}
.card-title { font-size: 1.15rem; font-weight: 700; color: white; margin-bottom: 6px; line-height: 1.25; text-shadow: 0 2px 12px rgba(0,0,0,0.5); }
.card-weight { font-size: 0.85rem; color: rgba(255,255,255,0.75); margin-bottom: 22px; font-weight: 500; }

.card-bottom-row { display: flex; align-items: center; justify-content: space-between; }
.card-price { font-size: 1.25rem; font-weight: 800; color: white; }
.card-plus-btn {
  width: 38px; height: 38px;
  background: var(--red);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.22s, background 0.2s;
}
.card-plus-btn svg { width: 16px; height: 16px; stroke: white; }
.product-card:hover .card-plus-btn { background: var(--red-light); transform: rotate(90deg) scale(1.1); }

/* ── NUTRITION BADGES  (Raspberry Reference style) ── */
.card-nutrition {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.nutri-badge {
  border-radius: 10px;
  padding: 10px 6px 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 56px;
  position: relative;
}
.nutri-badge-kcal  { background: var(--nutri-peach); }
.nutri-badge-protein { background: var(--nutri-blue); }
.nutri-badge-fat  { background: var(--nutri-lav); }
.nutri-badge-carbs { background: var(--nutri-green); }

.nutri-key {
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--text-muted);
  display: block;
  text-align: center;
  letter-spacing: 0.02em;
}
.nutri-val {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--text-primary);
  display: block;
  text-align: center;
  margin-top: 6px;
  letter-spacing: -0.01em;
}

/* ============================================
   SET CONSTRUCTOR
   ============================================ */
.constructor-section { max-width: 1296px; margin: 0 auto; padding: 0 28px 56px; }
.constructor-subtitle { font-size: 0.9rem; color: var(--text-muted); margin-top: 4px; }
.constructor-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 28px 0 24px; }
.constructor-clear-btn {
  margin-left: auto;
  display: flex; align-items: center; gap: 6px;
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); font-size: 0.85rem; font-weight: 600;
  transition: color 0.2s, transform 0.2s;
  padding: 8px 12px;
}
.constructor-clear-btn:hover { color: var(--red); transform: translateY(-1px); }
.constructor-clear-btn svg { width: 16px; height: 16px; stroke: currentColor; }
.constructor-clear-btn[hidden] { visibility: hidden; opacity: 0; pointer-events: none; }
.constructor-tab {
  padding: 11px 22px; border-radius: var(--radius-full);
  background: white; border: 1.5px solid var(--border-strong);
  font-size: 0.85rem; font-weight: 600; color: var(--text-secondary);
  cursor: pointer; transition: all 0.22s ease; box-shadow: var(--shadow-sm);
}
.constructor-tab:hover { border-color: var(--red); color: var(--red); }
.constructor-tab.active { background: var(--black); border-color: var(--black); color: white; box-shadow: 0 5px 18px rgba(0,0,0,0.22); }
.discount-badge { font-size: 0.72rem; font-weight: 800; color: var(--red); margin-left: 4px; }
.constructor-tab.active .discount-badge { color: rgba(255,255,255,0.7); }
.constructor-body { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; }
.constructor-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; }
.constructor-item {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  cursor: pointer; aspect-ratio: 1; background: var(--surface-2);
  transition: transform 0.2s, box-shadow 0.2s;
}
.constructor-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.constructor-item img { width: 100%; height: 100%; object-fit: cover; }
.constructor-item-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 8px 10px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}
.constructor-item-name { font-size: 0.68rem; font-weight: 700; color: white; line-height: 1.2; }
.constructor-item-count {
  position: absolute; top: 8px; right: 8px;
  width: 26px; height: 26px; border-radius: var(--radius-full);
  background: var(--red); color: white; font-size: 0.72rem; font-weight: 800;
  display: none; align-items: center; justify-content: center;
}
.constructor-item.selected .constructor-item-count { display: flex; }
.constructor-summary {
  background: white; border-radius: var(--radius-lg); padding: 24px;
  box-shadow: var(--shadow-sm); position: sticky; top: 160px; align-self: start;
}
.constructor-summary-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 16px; }
.constructor-selected { display: flex; flex-wrap: wrap; gap: 8px; min-height: 48px; margin-bottom: 20px; }
.constructor-slot {
  width: 44px; height: 44px; border-radius: var(--radius-full);
  border: 2px dashed var(--border-strong); overflow: hidden; flex-shrink: 0;
}
.constructor-slot.filled { border: 2px solid var(--red); }
.constructor-slot img { width: 100%; height: 100%; object-fit: cover; }
.constructor-totals { border-top: 1px solid var(--border); padding-top: 16px; margin-bottom: 16px; }
.constructor-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 0.85rem; color: var(--text-secondary); }
.constructor-row.discount { color: var(--red); font-weight: 600; }
.constructor-row.total { font-size: 1.1rem; font-weight: 800; color: var(--text-primary); padding-top: 10px; }
.constructor-add-btn { width: 100%; padding: 14px; font-size: 0.9rem; }
.constructor-add-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }
@media (max-width: 640px) {
  .constructor-body { grid-template-columns: 1fr; }
  .constructor-items { grid-template-columns: repeat(3, 1fr); }
  .constructor-summary { position: static; }
}

/* ============================================
   BONUSES (BENTO DESIGN)
   ============================================ */
.bonuses-section {
  max-width: 1296px; margin: 0 auto;
  padding: 0 28px 64px;
}
.bonuses-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 36px;
}
@media (min-width: 768px) {
  .bonuses-bento { grid-template-columns: repeat(2, 1fr); }
  .bento-wide { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .bonuses-bento { grid-template-columns: 1fr 1fr 1.5fr; }
  .bento-wide { grid-column: span 1; }
}

.bento-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 38px 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 290px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1;
  animation: card-enter 0.6s ease both;
}
.bento-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }

.bento-card.dark { background: linear-gradient(135deg, #2a2a2a 0%, #0a0a0a 100%); color: white; }
.bento-card.red { background: var(--red); color: white; }
.bento-card.light { background: white; color: var(--text-primary); }

.bento-watermark {
  position: absolute;
  bottom: -15px;
  right: -10px;
  font-size: 8.5rem;
  font-weight: 900;
  line-height: 0.8;
  z-index: -1;
  pointer-events: none;
  font-family: 'Unbounded', sans-serif;
  letter-spacing: -0.05em;
  transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
.bento-card:hover .bento-watermark { transform: scale(1.08) rotate(-3deg); }

.bento-card.dark .bento-watermark { opacity: 0.06; color: white; }
.bento-card.red .bento-watermark { opacity: 0.15; color: white; }
.bento-card.light .bento-watermark { opacity: 0.03; color: var(--black); }

.bento-icon-wrap {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: auto;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.bento-card.dark .bento-icon-wrap { background: rgba(255,255,255,0.1); color: white; }
.bento-card.red .bento-icon-wrap { background: rgba(255,255,255,0.22); color: white; }
.bento-card.light .bento-icon-wrap { background: var(--surface-2); color: var(--red); box-shadow: none; }

.bento-icon { width: 26px; height: 26px; stroke: currentColor; }

.bento-content { margin-top: 45px; }

.bento-title {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  font-family: 'Unbounded', sans-serif;
}
.bento-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  opacity: 0.85;
  font-weight: 400;
}
.bento-card.light .bento-desc { color: var(--text-secondary); opacity: 1; }

.bonuses-footnote {
  margin-top: 36px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  font-weight: 500;
}

/* ============================================
   REVIEWS
   ============================================ */
.reviews-section {
  max-width: 1296px; margin: 0 auto;
  padding: 0 28px 64px;
}
.review-stars-total { display: flex; align-items: center; gap: 10px; }
.stars { color: #D4A017; font-size: 1rem; letter-spacing: 1px; }
.rating-num { font-size: 1.05rem; font-weight: 800; }
.rating-count { font-size: 0.8rem; color: var(--text-muted); font-weight: 400; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 22px;
  margin-top: 36px;
}
.review-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: card-enter 0.5s ease both;
}
.review-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.review-header { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.review-avatar {
  width: 44px; height: 44px; border-radius: var(--radius-full);
  overflow: hidden; flex-shrink: 0;
  background: var(--surface-2);
}
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-avatar-initials {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem; font-weight: 700;
  color: white;
}
.review-name { font-size: 0.9rem; font-weight: 700; letter-spacing: -0.01em; }
.review-date { font-size: 0.73rem; color: var(--text-muted); margin-top: 2px; }
.review-stars { color: #D4A017; font-size: 0.88rem; letter-spacing: 1px; }
.review-text { font-size: 0.875rem; line-height: 1.7; color: var(--text-secondary); }

/* ============================================
   LOYALTY BANNER
   ============================================ */
.loyalty-banner { background: linear-gradient(135deg, var(--red), var(--red-dark)); padding: 56px 28px; }
.loyalty-inner { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.loyalty-title { color: white; font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.loyalty-desc { color: rgba(255,255,255,0.75); font-size: 0.88rem; margin-top: 8px; line-height: 1.6; max-width: 520px; }
.loyalty-btn {
  flex-shrink: 0; padding: 15px 32px;
  background: white; color: var(--red);
  border-radius: var(--radius-full);
  font-size: 0.9rem; font-weight: 700;
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
  transition: transform 0.18s, box-shadow 0.18s;
  border: none; cursor: pointer;
}
.loyalty-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(0,0,0,0.2); }
@media (max-width: 640px) {
  .loyalty-inner { flex-direction: column; text-align: center; }
  .loyalty-desc { max-width: none; }
  .loyalty-banner { padding: 40px 18px; }
}

/* ============================================
   FAQ
   ============================================ */
.faq-section { max-width: 1296px; margin: 0 auto; padding: 56px 28px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.faq-item { background: white; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; cursor: pointer; font-size: 0.9rem; font-weight: 600;
  list-style: none; user-select: none; transition: background 0.2s, color 0.2s;
}
.faq-question:hover { background: white; color: var(--red); }
.faq-question::-webkit-details-marker { display: none; }
.faq-chevron { width: 18px; height: 18px; flex-shrink: 0; color: var(--text-muted); transition: transform 0.3s ease; }
details[open] > .faq-question .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 22px 18px; font-size: 0.85rem; color: var(--text-secondary); line-height: 1.75; }

/* ============================================
   DELIVERY MAP
   ============================================ */
.delivery-map-section { background: var(--surface-2); padding: 56px 28px; }
.delivery-map-inner { max-width: 1240px; margin: 0 auto; }
.delivery-map-subtitle { font-size: 0.9rem; color: var(--text-muted); margin-top: 4px; }
.delivery-map-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; margin-top: 32px; }
.delivery-map-visual {
  display: flex; align-items: center; justify-content: center;
  min-height: 340px;
}
.map-zone {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-radius: var(--radius-xl); padding: 24px; position: relative;
}
.zone-outer { border: 2px solid rgba(217,43,46,0.15); background: rgba(217,43,46,0.04); width: 100%; aspect-ratio: 1.3; max-width: 440px; }
.zone-mid { border: 2px solid rgba(217,43,46,0.25); background: rgba(217,43,46,0.07); width: 75%; aspect-ratio: 1.3; }
.zone-center { border: 2px solid var(--red); background: rgba(217,43,46,0.12); width: 60%; aspect-ratio: 1.3; }
.zone-label-wrap { display: flex; flex-direction: column; align-items: center; gap: 2px; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); }
.zone-label { font-size: 0.7rem; font-weight: 600; color: var(--text-secondary); white-space: nowrap; }
.zone-time { font-size: 0.65rem; font-weight: 800; color: var(--red); }
.map-pin { font-size: 1.6rem; margin-top: 4px; }
.delivery-info-cards { display: flex; flex-direction: column; gap: 14px; align-self: center; }
.delivery-info-card {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 22px; background: white;
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
  font-size: 0.88rem;
}
.delivery-info-card strong { font-weight: 700; display: block; margin-bottom: 2px; }
.delivery-card-sub { font-size: 0.78rem; color: var(--text-muted); }
.delivery-zone-dot { width: 14px; height: 14px; border-radius: var(--radius-full); flex-shrink: 0; }
.dot-center { background: var(--red); }
.dot-mid { background: #E08520; }
.dot-outer { background: #D4A017; }
@media (max-width: 640px) {
  .delivery-map-grid { grid-template-columns: 1fr; }
  .delivery-map-section { padding: 40px 18px; }
  .faq-section { padding: 40px 18px; }
}

/* ============================================
   INFO STRIP
   ============================================ */
.info-strip {
  background: var(--black);
  padding: 48px 28px;
}
.info-strip-inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center;
  gap: 0; flex-wrap: wrap;
}
.info-item {
  display: flex; align-items: center; gap: 18px;
  padding: 16px 44px;
  flex: 1; min-width: 210px;
}
.info-icon-wrap {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.07);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.info-icon-wrap svg { width: 20px; height: 20px; stroke: rgba(255,255,255,0.7); }
.info-title { font-size: 0.88rem; font-weight: 700; color: white; letter-spacing: -0.01em; }
.info-sub { font-size: 0.76rem; color: rgba(255,255,255,0.42); margin-top: 3px; }
.info-divider { width: 1px; height: 52px; background: rgba(255,255,255,0.08); flex-shrink: 0; }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: #080808; padding: 72px 28px 0; }
.footer-inner { max-width: 1240px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand .footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-desc { font-size: 0.84rem; color: rgba(255,255,255,0.42); line-height: 1.75; max-width: 290px; margin-bottom: 28px; }
.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: background 0.2s, color 0.2s, transform 0.18s;
}
.social-btn svg { width: 17px; height: 17px; }
.social-btn:hover { background: var(--red); color: white; transform: translateY(-2px); }
.footer-col-title { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; color: rgba(255,255,255,0.3); margin-bottom: 20px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 0.87rem; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-links a:hover { color: white; }
.yandex-link { color: var(--red) !important; font-weight: 600; }
.yandex-link:hover { color: var(--red-light) !important; }
.footer-bottom {
  padding: 24px 0;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.footer-legal-inline {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; margin: 0;
}
.footer-copy { font-size: 0.76rem; color: rgba(255,255,255,0.25); margin: 0; }
.footer-legal-inline a { font-size: 0.73rem; color: rgba(255,255,255,0.3); transition: color 0.2s; white-space: nowrap; }
.footer-legal-inline a:hover { color: rgba(255,255,255,0.65); }
.footer-requisite { font-size: 0.73rem; color: rgba(255,255,255,0.3); white-space: nowrap; }
.footer-legal-dot { font-size: 0.73rem; color: rgba(255,255,255,0.25); }
.footer.footer-red .footer-requisite { color: rgba(255,255,255,0.7); }
.footer.footer-red .footer-legal-dot { color: rgba(255,255,255,0.45); }

/* ============================================
   PRODUCT MODAL / BOTTOM SHEET
   ============================================ */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.modal-backdrop.active { opacity: 1; pointer-events: all; }

.product-modal {
  background: white;
  border-radius: var(--radius-xl);
  width: 100%; max-width: 620px;
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), opacity 0.35s ease;
  scrollbar-width: none;
}
.product-modal::-webkit-scrollbar { display: none; }
.modal-backdrop.active .product-modal { transform: translateY(0); }
.modal-close-btn {
  position: absolute; top: 22px; right: 22px; z-index: 10;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.18s;
  box-shadow: var(--shadow-sm);
}
.modal-close-btn svg { width: 15px; height: 15px; color: var(--text-primary); }
.modal-close-btn:hover { background: white; transform: rotate(90deg); }
.modal-fav-btn {
  position: absolute; top: 22px; left: 22px; z-index: 10;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  box-shadow: var(--shadow-sm);
}
.modal-fav-btn svg { width: 17px; height: 17px; color: var(--text-secondary); transition: color 0.2s, fill 0.2s; }
.modal-fav-btn.active svg { color: var(--red); fill: var(--red); }
.modal-fav-btn:hover { background: #fff4f4; }
.modal-fav-btn:hover svg { color: var(--red); }

/* Modal hero image — blurred glass overlay */
.modal-image-wrap {
  height: 380px; position: relative; overflow: hidden;
  background: var(--surface-2);
}
.modal-img { 
  width: 100%; height: 100%; 
  object-fit: cover; 
}
.modal-image-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 45%, rgba(0,0,0,0.05) 100%);
  pointer-events: none;
}
.modal-overlay-content {
  position: absolute; bottom: 48px; left: 28px; right: 28px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  z-index: 2;
}
.overlay-chip {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--red);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem; font-weight: 700;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.overlay-text {
  display: flex; flex-direction: column; gap: 4px;
}
.overlay-title {
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  margin: 0;
  letter-spacing: -0.02em;
}
.overlay-weight {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

/* Modal Body */
.modal-body { 
  background: white;
  border-radius: 28px 28px 0 0;
  position: relative;
  z-index: 5;
  margin-top: -28px;
  padding: 32px 28px 0; 
}
.modal-description { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 28px; }

/* Ingredients dropdown */
.ingredients-dropdown { margin-bottom: 28px; }
.ingredients-toggle {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 20px;
  background: var(--surface-2);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 0.875rem; font-weight: 600;
  list-style: none;
  user-select: none;
  transition: background 0.2s;
  letter-spacing: -0.01em;
}
.ingredients-toggle:hover { background: #e8e6e2; }
.ingredients-toggle::-webkit-details-marker { display: none; }
.dropdown-chevron { width: 17px; height: 17px; transition: transform 0.3s ease; color: var(--text-muted); }
details[open] .dropdown-chevron { transform: rotate(180deg); }
.ingredients-content {
  padding: 16px 20px;
  font-size: 0.82rem; color: var(--text-secondary); line-height: 1.75;
  border-left: 2px solid var(--border-strong);
  margin: 10px 0 0 20px;
}

/* ── NUTRITION CARDS IN MODAL (Vertical Layout) ── */
.nutrition-section-label {
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--text-muted);
  margin-bottom: 14px;
}
.vertical-nutrition {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}
.vertical-nutrition .nutrition-card-vert:nth-child(1) .nc-bar-fill { background: var(--nutri-blue); }
.vertical-nutrition .nutrition-card-vert:nth-child(2) .nc-bar-fill { background: var(--nutri-green); }
.vertical-nutrition .nutrition-card-vert:nth-child(3) .nc-bar-fill { background: var(--nutri-lav); }
.nutrition-card-vert {
  background: white;
  border: 1.5px solid var(--border-strong);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  height: 140px;
  padding-top: 14px;
  position: relative;
  overflow: hidden;
}
.nc-lbl-top {
  font-size: 0.7rem;
  color: var(--text-secondary);
  font-weight: 500;
  z-index: 2;
}
.nc-bar-fill {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 12px;
  transition: height 0.6s cubic-bezier(0.34,1.56,0.64,1);
  z-index: 1;
}
.nc-val-inside {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  z-index: 2;
}

/* Add-ons */
.addons-section { margin-bottom: 0; }
.addons-title { font-size: 0.88rem; font-weight: 700; margin-bottom: 14px; letter-spacing: -0.01em; }
.addons-grid { display: flex; flex-direction: column; gap: 8px; }
.addon-btn {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 18px;
  background: var(--surface-2);
  border-radius: var(--radius-md);
  text-align: left;
  transition: background 0.2s, transform 0.18s, border-color 0.2s;
  border: 1.5px solid transparent;
}
.addon-btn:hover { background: #eaf0fc; border-color: rgba(80,120,240,0.2); transform: translateX(3px); }
.addon-btn.selected { background: #EEF3FF; border-color: #7090E8; }
.addon-icon-wrap {
  width: 34px; height: 34px;
  background: rgba(0,0,0,0.05);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.addon-icon-wrap svg { width: 16px; height: 16px; stroke: var(--text-secondary); }
.addon-icon { display: none; } /* hide old emoji span */
.addon-name { font-size: 0.875rem; font-weight: 500; flex: 1; color: var(--text-primary); }
.addon-price { font-size: 0.82rem; font-weight: 700; color: var(--text-muted); flex-shrink: 0; }
.addon-btn.selected .addon-price { color: #5070D8; }

/* Sticky bar */
.modal-sticky-bar {
  position: sticky; bottom: -1px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid var(--border);
  padding: 18px 28px 24px;
  display: flex; align-items: center; gap: 14px;
  z-index: 10;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}
.modal-price-total { flex: 1; }
.modal-price-label { font-size: 0.74rem; color: var(--text-muted); display: block; font-weight: 400; }
.modal-price-val { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; }
.modal-add-btn {
  display: flex; align-items: center; gap: 9px;
  padding: 15px 32px;
  background: var(--black);
  color: white; border-radius: var(--radius-full);
  font-size: 0.9rem; font-weight: 700;
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
  flex-shrink: 0;
  letter-spacing: 0.01em;
}
.modal-add-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.32); background: #1f1f1f; }
.modal-add-btn:active { transform: translateY(0); }

/* ============================================
   LOGIN MODAL
   ============================================ */
.login-modal {
  background: white;
  border-radius: var(--radius-xl);
  width: 100%; max-width: 480px;
  padding: 28px 32px 32px;
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), opacity 0.35s ease;
}
.modal-backdrop.active .login-modal { transform: translateY(0); }
.login-close { position: absolute; top: 18px; right: 18px; }
.login-content { padding-top: 14px; text-align: center; }
.login-logo-wrap {
  width: 64px; height: 64px;
  background: var(--red);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.login-logo-wrap img { width: 44px; height: 44px; object-fit: contain; }
.login-logo-wrap .logo-fallback-svg { width: 32px; height: 32px; stroke: white; }
.login-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.35rem; font-weight: 800;
  letter-spacing: -0.025em; line-height: 1.25;
  margin-bottom: 12px;
}
.login-accent { color: var(--red); }
.login-sub { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 32px; line-height: 1.65; }
.login-btns { display: flex; flex-direction: column; gap: 11px; margin-bottom: 24px; }
.login-social-btn {
  display: flex; align-items: center; gap: 13px;
  padding: 15px 22px;
  border-radius: var(--radius-md);
  font-size: 0.9rem; font-weight: 600;
  border: 1.5px solid var(--border-strong);
  transition: all 0.2s ease;
  width: 100%;
  justify-content: center;
  letter-spacing: 0.005em;
}
.social-icon-svg { width: 20px; height: 20px; flex-shrink: 0; }
.login-social-btn.google { background: white; color: var(--text-primary); }
.login-social-btn.google:hover { background: #f8f8f8; border-color: #d0d0d0; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.login-social-btn.apple { background: var(--black); color: white; border-color: var(--black); }
.login-social-btn.apple:hover { background: #1a1a1a; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.login-social-btn.email { background: white; color: var(--text-primary); }
.login-social-btn.email:hover { background: #f8f8f8; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.login-terms { font-size: 0.74rem; color: var(--text-muted); line-height: 1.65; }
.login-terms a { color: var(--red); }

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: var(--black); color: white;
  padding: 14px 26px; border-radius: var(--radius-full);
  display: flex; align-items: center; gap: 10px;
  font-size: 0.875rem; font-weight: 600;
  z-index: 300;
  box-shadow: var(--shadow-xl);
  transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; pointer-events: all; }
.toast-icon { font-size: 1.1rem; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .info-strip-inner { justify-content: center; }
  .info-divider { display: none; }
}

@media (max-width: 640px) {
  .header-inner { padding: 0 18px; height: 64px; }
  .city-selector span { display: none; }
  .catalog-header-label { display: none; }
  .catalog-header-btn { padding: 10px 14px; }
  .cart-btn { padding: 11px 16px; }

  .hero-section { padding: 80px 18px 28px; }
  .hero-card { min-height: 480px; }
  .hero-content { padding: 28px; }
  .hero-promo-tag { top: 18px; right: 18px; padding: 11px 14px; }
  
  .hero-dots { top: 20px; bottom: auto; right: 50%; transform: translateX(50%); z-index: 10; }
  .hero-dot { box-shadow: 0 1px 4px rgba(0,0,0,0.5); }

  .categories-section { top: 64px; padding: 6px 0 0; }
  .categories-scroll { padding: 12px 18px 24px; }

  .section-header { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 24px; }
  .constructor-subtitle { margin-top: 0; font-size: 0.85rem; line-height: 1.4; }

  .products-section, .reviews-section { padding: 36px 18px; }
  
  .products-grid { 
    display: flex;
    overflow-x: auto;
    margin-left: -18px;
    margin-right: -18px;
    padding: 4px 18px 28px;
    gap: 16px;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 18px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .products-grid::-webkit-scrollbar { display: none; }
  
  .product-card { 
    height: 330px; 
    border-radius: 20px; 
    flex: 0 0 clamp(220px, 68vw, 280px);
    scroll-snap-align: start;
  }
  .card-content-overlay { padding: 18px 16px 16px; }
  .card-title { font-size: 0.95rem; margin-bottom: 4px; }
  .card-weight { font-size: 0.75rem; margin-bottom: 14px; }
  .card-price { font-size: 1.1rem; }
  .card-plus-btn { width: 34px; height: 34px; }
  .card-tag { top: 12px; left: 12px; padding: 5px 9px; font-size: 0.58rem; }

  .footer { padding: 52px 18px 0; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { padding: 24px 0; justify-content: center; text-align: center; }
  .footer-legal-inline { gap: 12px; }

  .vertical-nutrition { gap: 8px; }
  .nutrition-card-vert { height: 120px; border-radius: 16px; }
  .nc-val-inside { font-size: 0.85rem; }
  .modal-image-wrap { height: 320px; }

  .modal-body { padding: 22px 20px 0; }
  .modal-sticky-bar { padding: 16px 20px 28px; }
  .modal-add-btn { padding: 14px 22px; font-size: 0.875rem; }
}

@media (max-width: 380px) {
  .products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-image-wrap { height: 148px; }
  .card-nutrition { gap: 4px; }
  .nutri-val { font-size: 0.68rem; }
  .nutri-key { font-size: 0.56rem; }
  .vertical-nutrition { gap: 6px; }
}

/* ============================================
   UTILITY ANIMATIONS
   ============================================ */
.fade-in {
  animation: fadeIn 0.5s ease both;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Stagger delay utility */
.card-stagger-1 { animation-delay: 0.05s; }
.card-stagger-2 { animation-delay: 0.10s; }
.card-stagger-3 { animation-delay: 0.15s; }
.card-stagger-4 { animation-delay: 0.20s; }
.card-stagger-5 { animation-delay: 0.25s; }
.card-stagger-6 { animation-delay: 0.30s; }
.card-stagger-7 { animation-delay: 0.35s; }
.card-stagger-8 { animation-delay: 0.40s; }

.review-card:nth-child(2) { animation-delay: 0.1s; }
.review-card:nth-child(3) { animation-delay: 0.2s; }

/* ==================== MASTERS SECTION ==================== */
.masters-section {
  max-width: 1296px;
  margin: 0 auto;
  padding: 96px 28px 56px;
}

.masters-card {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #2a2a2a 0%, #0a0a0a 100%);
  border-radius: var(--radius-lg, 28px);
  overflow: visible;
  position: relative;
  min-height: 340px;
  padding: 0 60px;
}

.masters-image {
  flex-shrink: 0;
  width: 480px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  align-self: flex-end;
  position: relative;
}

.masters-image img {
  width: 100%;
  height: auto;
  display: block;
  margin-top: -80px;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.4));
}

.masters-content {
  flex: 1;
  padding: 48px 0;
  text-align: right;
}

.masters-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.masters-desc {
  font-size: 0.95rem;
  color: #aaa;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 440px;
  margin-left: auto;
}

.masters-btn {
  display: inline-block;
  padding: 14px 36px;
  background: #e0e0e0;
  color: #1a1a1a;
  border: none;
  border-radius: var(--radius-full, 999px);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.masters-btn:hover {
  background: #fff;
  transform: translateY(-2px);
}

/* Masters responsive */
@media (max-width: 768px) {
  .masters-card {
    flex-direction: column;
    padding: 0 24px 32px;
    text-align: center;
    min-height: auto;
  }

  .masters-image {
    width: 240px;
    margin: 0 auto;
  }

  .masters-image img {
    margin-top: -40px;
  }

  .masters-content {
    text-align: center;
    padding: 24px 0 0;
  }

  .masters-desc {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ==================== BRAND HERO ==================== */
.brand-hero {
  height: 650px;
  background: #E53027;
  position: relative;
  overflow: hidden;
}

.brand-hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  height: 100%;
  padding: 0 48px;
}

/* Текст + кнопка (верх-лево) */
.brand-hero-text {
  position: absolute;
  top: 18%;
  left: 48px;
  z-index: 4;
}

.brand-hero-desc {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin-bottom: 24px;
}

.brand-hero-btn {
  display: inline-block;
  padding: 14px 40px;
  background: #ffffff;
  color: #1a1a1a;
  border: none;
  border-radius: 999px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.brand-hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Рука с палочками (право-верх) — палочки берут букву С */
.brand-hero-hand {
  position: absolute;
  top: -2px;
  right: 13%;
  width: 52%;
  max-width: 760px;
  z-index: 2;
  pointer-events: none;
  object-fit: contain;
}

/* Роллы (сменяются, на месте буквы С) */
.brand-hero-rolls {
  position: absolute;
  bottom: 40px;
  left: 58%;
  transform: translateX(-50%);
  width: clamp(80px, 18vw, 280px);
  height: clamp(80px, 18vw, 280px);
  z-index: 3;
}

.brand-hero-roll {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

.brand-hero-roll.active {
  opacity: 1;
  transform: translateY(0);
}

.brand-hero-roll:nth-child(2) {
  width: 112%;
  height: 112%;
  left: 0%;
  top: -6%;
}

.brand-hero-roll:nth-child(2).active {
  transform: translateY(2px);
}

.brand-hero-roll:nth-child(3) {
  width: 95%;
  height: 95%;
  left: 2.5%;
  top: 2.5%;
}

.brand-hero-roll:nth-child(3).active {
  transform: translateY(1px);
}

/* Крупный текст ТАМ СЯМ */
.brand-hero-title {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  z-index: 1;
  text-align: center;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(64px, 18vw, 280px);
  font-weight: 500;
  color: #ffffff;
  line-height: 0.85;
  letter-spacing: -0.02em;
  white-space: nowrap;
  pointer-events: none;
  padding: 0 48px;
}

.brand-hero-title-gap {
  display: inline-block;
  width: 0.85em;
}

/* Brand hero responsive — wide screens */
@media (min-width: 1440px) {
  .brand-hero { height: 710px; }
  .brand-hero-hand {
    width: 780px;
    min-width: 780px;
    top: -2px; /* Pull it up to securely show the length of the chopsticks */
    right: 10.4%; /* Shifted right by ~1-2 pixels */
  }
  .brand-hero-rolls {
    width: 273px;
    height: 273px;
    bottom: 48px; /* Raised slightly higher */
    margin-left: 8px; /* Shifted slightly right */
  }
}

/* Brand hero responsive — mobile */
@media (max-width: 768px) {
  .brand-hero { height: 200px; }
  .brand-hero-inner { padding: 0 16px; }

  .brand-hero-text {
    top: 12%;
    left: 20px;
  }

  .brand-hero-desc { font-size: 13px; }

  .brand-hero-hand {
    width: 58%;
    top: -25%;
    right: calc(8.5% + 3px);
  }

  .brand-hero-title {
    font-size: clamp(56px, 19vw, 120px);
    padding: 0 20px;
    bottom: 10px;
  }

  .brand-hero-rolls {
    width: 96px;
    height: 96px;
    bottom: 10px;
    margin-left: 2px;
  }
}

/* ==================== RED FOOTER ==================== */
.footer.footer-red {
  background: #E53027;
  padding: 72px 28px 0;
  position: relative;
  overflow: hidden;
}

.footer.footer-red .footer-inner { padding-top: 0; }

.footer.footer-red .footer-top {
  gap: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.footer.footer-red .footer-links li { margin-bottom: 14px; }
.footer.footer-red .footer-desc { color: rgba(255,255,255,0.85); }
.footer.footer-red .logo-text,
.footer.footer-red .logo-accent { color: #ffffff !important; }
.footer.footer-red .social-btn { background: rgba(255,255,255,0.15); color: #ffffff; }
.footer.footer-red .social-btn:hover { background: #ffffff; color: #E53027; }
.footer.footer-red .footer-col-title { color: rgba(255,255,255,0.75); }
.footer.footer-red .footer-links a { color: rgba(255,255,255,0.9); }
.footer.footer-red .footer-links a:hover { color: #ffffff; }
.footer.footer-red .yandex-link { color: #ffffff !important; font-weight: 700; }
.footer.footer-red .footer-copy { color: rgba(255,255,255,0.7); }
.footer.footer-red .footer-legal a { color: rgba(255,255,255,0.75); }
.footer.footer-red .footer-legal a:hover { color: #ffffff; }

.footer-phone-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #ffffff;
  color: #1a1a1a;
  border-radius: 999px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.footer-phone-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .footer.footer-red { padding-top: 32px; }
  .footer.footer-red .footer-top { gap: 32px; padding-bottom: 40px; }
}
