:root {
  --bg-cream: #FAF7F2;
  --bg-white: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-subtle: #F3EFE8;
  --bg-terracotta-soft: #FBF0EB;
  --bg-mustard-soft: #FEF8EC;

  --color-espresso: #1C1917;
  --color-espresso-soft: #44403C;
  --color-muted: #78716C;
  --color-border: #E7E2DA;
  --color-border-hover: #D6CEC3;

  --accent-mustard: #E5A93B;
  --accent-mustard-hover: #D99520;
  --accent-terracotta: #C2410C;
  --accent-terracotta-hover: #9A3412;
  --accent-green-bg: #ECFDF5;
  --accent-green-border: #A7F3D0;
  --accent-green-text: #065F46;

  --font-serif: "Playfair Display", "Georgia", "PT Serif", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", "Consolas", monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(28, 25, 23, 0.04);
  --shadow-md: 0 4px 12px rgba(28, 25, 23, 0.06);
  --shadow-lg: 0 12px 32px rgba(28, 25, 23, 0.08);
  --shadow-float: 0 20px 40px -10px rgba(194, 65, 12, 0.18);

  --container-max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background-color: var(--bg-cream);
  color: var(--color-espresso);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }
img { max-width: 100%; display: block; }

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

/* ========== HEADER ========== */
.site-header {
  background: rgba(250, 247, 242, 0.90);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(231,226,218,0.6);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
}

.logo-wrap { display: flex; align-items: baseline; }

.logo-text {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 800;
  color: var(--color-espresso);
  letter-spacing: -0.5px;
}

.logo-dot { color: var(--accent-terracotta); }

/* Branch Dropdown */
.branch-dropdown-wrapper { position: relative; }

.branch-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 7px 14px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  font-size: 13px;
}

.branch-trigger-btn:hover {
  border-color: var(--color-espresso-soft);
  transform: translateY(-1px);
}

.branch-live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2); }
  50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

.branch-trigger-text { font-weight: 700; color: var(--color-espresso); }
.branch-trigger-arrow { font-size: 10px; color: var(--color-muted); transition: transform 0.2s; }
.branch-dropdown-wrapper.open .branch-trigger-arrow { transform: rotate(180deg); }

.branch-dropdown-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 340px;
  background: var(--bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  z-index: 200;
  animation: fadeInDown 0.18s ease forwards;
}

.branch-dropdown-wrapper.open .branch-dropdown-panel { display: block; }

@keyframes fadeInDown {
  from { opacity: 0; transform: translateX(-50%) translateY(-8px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.branch-option-item {
  display: flex; flex-direction: column;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s;
  border: 1px solid transparent;
}

.branch-option-item:hover { background: var(--bg-cream); border-color: var(--color-border); }
.branch-option-item.active { background: var(--bg-mustard-soft); border-color: var(--accent-mustard); }

.branch-opt-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.branch-opt-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-espresso);
}

.branch-opt-time {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--color-espresso-soft);
  background: var(--bg-cream);
  border: 1px solid var(--color-border);
  padding: 1px 7px;
  border-radius: 4px;
  white-space: nowrap;
}

.branch-option-item.active .branch-opt-time {
  background: #FEF3C7;
  border-color: #FCD34D;
  color: #B45309;
}
.branch-opt-addr { font-size: 11px; color: var(--color-muted); margin-top: 2px; }

.header-right-actions { display: flex; align-items: center; gap: 10px; }

.btn-pill-primary {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--color-espresso); color: #FFF;
  font-size: 12px; font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: all 0.2s;
}

.btn-pill-primary:hover {
  background: var(--accent-terracotta);
  transform: translateY(-1px);
}

/* ========== HERO: FULL-BLEED ZERO-LAG IMAGES ========== */
.hero-fullbleed {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-layer-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease-out, transform 0.4s ease-out;
  transform: scale(1.02);
  will-change: transform, opacity;
}

.hero-layer-img.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(28,25,23,0.88) 0%,
    rgba(28,25,23,0.48) 35%,
    rgba(28,25,23,0.08) 65%,
    transparent 100%
  );
  z-index: 1;
}

.hero-content-layer {
  position: relative;
  z-index: 2;
  padding-bottom: 60px;
  padding-top: 120px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  min-height: 100vh;
}

.hero-text-block {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: heroTextSlide 0.6s ease 0.1s both;
}

@keyframes heroTextSlide {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: 60px;
  font-weight: 800;
  line-height: 1.05;
  color: #FFF;
  letter-spacing: -1.5px;
  display: flex;
  flex-direction: column;
}

.hero-headline-meal {
  font-size: 28px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0;
  margin-bottom: 4px;
}

.hero-headline em {
  font-style: normal;
  color: var(--accent-mustard);
  display: inline-block;
  font-size: 68px;
  font-family: var(--font-serif);
  animation: priceGlow 2s ease-in-out infinite alternate;
}

@keyframes priceGlow {
  from { text-shadow: 0 0 20px rgba(229,169,59,0.25); }
  to { text-shadow: 0 0 36px rgba(229,169,59,0.5); }
}

/* Branch quick card */
.hero-branch-card {
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cur-branch-info { display: flex; flex-direction: column; }
.cur-branch-title { font-size: 14px; font-weight: 700; color: #FFF; }
.cur-branch-sub { font-size: 12px; color: rgba(255,255,255,0.7); }

/* Subtle Route Button (restrained, not screaming yellow) */
.btn-subtle-route {
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.28);
  color: #FFF;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.btn-subtle-route:hover {
  background: var(--accent-mustard);
  border-color: var(--accent-mustard);
  color: #1C1917;
  transform: translateY(-1px);
}

/* Floating price cards / Meal Tabs */
.hero-price-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: heroCardsSlide 0.7s ease 0.2s both;
}

@keyframes heroCardsSlide {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

.price-float-card {
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  padding: 11px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 190px;
  transition: all 0.2s ease;
  cursor: pointer;
  text-align: left;
}

.price-float-card:hover {
  background: rgba(255,255,255,0.22);
  border-color: var(--accent-mustard);
  transform: translateX(-4px);
}

.pf-active {
  background: rgba(229,169,59,0.30) !important;
  border-color: var(--accent-mustard) !important;
  box-shadow: 0 8px 30px rgba(229,169,59,0.32);
  transform: translateX(-6px);
}

.pf-label { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.85); }
.pf-price { font-family: var(--font-mono); font-size: 20px; font-weight: 800; color: #FFF; }
.pf-active .pf-price { color: var(--accent-mustard); }

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-cue-line {
  width: 2px; height: 36px;
  background: rgba(255,255,255,0.4);
  border-radius: 2px;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; height: 26px; }
  50% { opacity: 0.8; height: 44px; }
}

/* ========== FOOD STRIP ========== */
.food-strip-section {
  overflow: hidden;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
}

.food-strip-scroll {
  display: flex;
  gap: 16px;
  animation: foodStripScroll 25s linear infinite;
  width: max-content;
}

.food-strip-scroll:hover { animation-play-state: paused; }

@keyframes foodStripScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.food-strip-item {
  flex-shrink: 0;
  width: 210px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.food-strip-item:hover { transform: scale(1.05) translateY(-4px); }

.food-strip-item img {
  width: 210px; height: 160px;
  object-fit: cover;
  display: block;
}

.food-strip-item span {
  display: block;
  background: var(--bg-white);
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-espresso);
  text-align: center;
}

/* ========== YANDEX AWARD SPOTLIGHT (SEPARATE BRIGHT SECTION) ========== */
.award-spotlight-section {
  padding: 48px 0;
  background: linear-gradient(135deg, #1C1917 0%, #292524 100%);
  color: #FFF;
  position: relative;
  overflow: hidden;
}

.award-spotlight-section::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(229,169,59,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.award-spotlight-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: center;
}

.award-diploma-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(229,169,59,0.4);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  cursor: pointer;
  position: relative;
  transition: transform 0.3s ease;
}

.award-diploma-box:hover {
  transform: translateY(-4px) scale(1.02);
}

.award-diploma-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.award-zoom-hint {
  display: block;
  text-align: center;
  font-size: 11px;
  color: var(--accent-mustard);
  margin-top: 6px;
  font-weight: 600;
}

.award-spotlight-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.award-stars-row {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.award-star {
  color: #FBBF24;
  font-size: 20px;
}

.award-rating-num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 900;
  color: #FFF;
  margin-left: 8px;
}

.award-spotlight-title {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 800;
  color: #FFF;
  line-height: 1.15;
}

.award-spotlight-text {
  font-size: 15px;
  color: #D6D3D1;
  max-width: 580px;
  line-height: 1.55;
}

.award-stats-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.award-stat-item {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: #F5F5F4;
}

/* ========== COMPARISON SECTION & PHOTO TRAY ========== */
.comparison-section { padding: 56px 0; }

.section-label {
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--accent-terracotta);
  margin-bottom: 4px;
}

.section-heading {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 800;
  color: var(--color-espresso);
  margin-bottom: 24px;
}

.comparison-box {
  background: var(--bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 32px;
  box-shadow: var(--shadow-sm);
}

.picker-col-title {
  font-size: 15px; font-weight: 700;
  color: var(--color-espresso);
  margin-bottom: 12px;
}

.dishes-chip-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }

.dish-pick-chip {
  background: var(--bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 13px; font-weight: 600;
  color: var(--color-espresso-soft);
  display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.dish-pick-chip:hover { border-color: var(--color-espresso); }

.dish-pick-chip.selected {
  background: var(--color-espresso);
  color: #FFF;
  border-color: var(--color-espresso);
}

.dish-pick-chip.selected .chip-price-tag { color: var(--accent-mustard); }

.chip-price-tag { font-family: var(--font-mono); font-size: 12px; color: var(--accent-terracotta); }

/* VIRTUAL TRAY WITH REAL DISH PHOTOS */
.virtual-tray-wrapper {
  margin-top: 14px;
}

.virtual-tray-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 10px;
}

.virtual-tray-surface {
  background: linear-gradient(145deg, #EBE6DD 0%, #DDD7CC 100%);
  border: 4px solid #C8C1B3;
  border-radius: 16px;
  min-height: 140px;
  padding: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.1);
  position: relative;
}

/* SINGLE PRECISE DROP ANIMATION (ONE SOFT MOTION, NO MULTIPLE BOUNCES) */
.virtual-dish-plate {
  background: #FFF;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-md);
  padding: 6px 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  width: 90px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
  animation: singleSoftDrop 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes singleSoftDrop {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.virtual-dish-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-mustard);
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.virtual-dish-name {
  font-size: 10px;
  font-weight: 700;
  color: var(--color-espresso);
  line-height: 1.2;
}

.virtual-tray-empty-hint {
  font-size: 13px;
  color: var(--color-muted);
  font-style: italic;
  margin: auto;
}

/* Comparison Verdict Card */
.comparison-verdict-card {
  background: linear-gradient(135deg, #FEF3C7 0%, #FEE2E2 100%);
  border: 1px solid #FCD34D;
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex; flex-direction: column;
  justify-content: space-between;
}

.verdict-line {
  display: flex; align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px; font-size: 14px;
}

.verdict-label { color: var(--color-muted); }

.verdict-val-single {
  font-family: var(--font-mono); font-size: 18px; font-weight: 700;
  color: var(--color-espresso-soft);
  text-decoration: line-through;
}

.verdict-combo-line { margin-top: 14px; align-items: center; }
.verdict-combo-title { font-weight: 700; font-size: 15px; color: var(--color-espresso); display: block; }
.verdict-combo-sub { font-size: 11px; color: var(--color-muted); }

.verdict-val-combo {
  font-family: var(--font-mono); font-size: 32px; font-weight: 900;
  color: var(--accent-terracotta);
}

.verdict-badge-save {
  background: #15803D; color: #FFF;
  font-size: 13px; font-weight: 800;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  text-align: center;
  margin-top: 16px;
}

/* ========== VENUES GRID (STRICTLY BY LOCATION) ========== */
.real-photos-section {
  padding: 48px 0;
  border-top: 1px solid var(--color-border);
}

.photos-grid-modern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.venue-card-tile {
  background: var(--bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
  cursor: pointer;
}

.venue-card-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-float);
}

.venue-tile-img-box {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.venue-tile-img-box img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}

.venue-card-tile:hover .venue-tile-img-box img { transform: scale(1.08); }

.venue-tile-badge {
  position: absolute; top: 10px; left: 10px;
  background: rgba(28,25,23,0.88);
  color: #FFF;
  font-size: 11px; font-weight: 700;
  padding: 4px 9px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.venue-tile-info { padding: 12px; }
.venue-tile-title { font-size: 14px; font-weight: 800; color: var(--color-espresso); }
.venue-tile-sub { font-size: 12px; color: var(--color-muted); margin-top: 2px; }

/* ========== MENU ========== */
.menu-lean-section {
  padding: 48px 0;
  border-top: 1px solid var(--color-border);
}

.menu-lean-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.menu-lean-column {
  background: var(--bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.menu-col-header {
  font-family: var(--font-serif);
  font-size: 18px; font-weight: 700;
  color: var(--color-espresso);
  border-bottom: 2px solid var(--accent-mustard);
  padding-bottom: 6px;
  margin-bottom: 12px;
}

.menu-lean-row {
  display: flex; align-items: baseline;
  justify-content: space-between;
  padding: 6px 0; font-size: 13px;
  border-bottom: 1px dashed #EDE8E1;
}

.menu-lean-row:last-child { border-bottom: none; }
.lean-name { color: var(--color-espresso); font-weight: 500; }
.lean-price { font-family: var(--font-mono); font-weight: 700; color: var(--accent-terracotta); }

/* ========== FOOTER ========== */
.site-footer {
  background: var(--color-espresso);
  color: #D6D3D1;
  padding: 32px 0 24px;
  margin-top: 48px;
  font-size: 13px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 800;
  color: #FFF;
}

.footer-links-row { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-link-btn { color: #F5F5F4; font-weight: 600; transition: color 0.15s; }
.footer-link-btn:hover { color: var(--accent-mustard); }

/* ========== LIGHTBOX ========== */
.lightbox-modal {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 1000;
  align-items: center; justify-content: center;
  padding: 20px;
}

.lightbox-modal.active { display: flex; }

.lightbox-img-box {
  max-width: 840px; max-height: 85vh;
  position: relative;
  background: #000;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.lightbox-img-box img { max-width: 100%; max-height: 75vh; display: block; }

.lightbox-caption-text {
  color: #FFF; padding: 10px 14px;
  font-size: 13px; text-align: center;
}

.lightbox-close-x {
  position: absolute; top: 8px; right: 12px;
  color: #FFF; font-size: 28px; cursor: pointer;
  z-index: 10;
}

/* ========== RESPONSIVE & MOBILE POLISH ========== */

/* Touch enhancements & safe interaction */
button,
.branch-trigger-btn,
.price-float-card,
.dish-pick-chip,
.btn-pill-primary,
.btn-subtle-route,
.venue-card-tile {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn-text-short { display: none; }

/* Tablets / Medium Desktops (<= 1024px) */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }
  .hero-content-layer {
    padding-top: 100px;
    padding-bottom: 50px;
    gap: 32px;
  }
  .hero-headline em { font-size: 58px; }
  .award-spotlight-card {
    grid-template-columns: 240px 1fr;
    gap: 24px;
    padding: 28px;
  }
  .award-diploma-img { height: 180px; }
  .comparison-box {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
    padding: 24px;
  }
  .photos-grid-modern {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .menu-lean-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

/* Tablets / Phablets (<= 900px) */
@media (max-width: 900px) {
  .hero-content-layer {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    gap: 20px;
    padding-top: 90px;
    padding-bottom: 40px;
  }
  .hero-text-block { max-width: 100%; }
  .hero-headline { flex-direction: row; align-items: baseline; gap: 14px; }
  .hero-headline-meal { font-size: 26px; margin-bottom: 0; }
  .hero-headline em { font-size: 50px; }
  .hero-price-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    width: 100%;
    animation: none;
  }
  .price-float-card {
    min-width: 0;
    padding: 10px 12px;
    gap: 8px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .price-float-card:hover { transform: none; }
  .pf-active { transform: none !important; }
  .pf-label { font-size: 12px; }
  .pf-price { font-size: 18px; }

  .award-spotlight-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
  }
  .award-diploma-box { max-width: 260px; margin: 0 auto; }
  .award-diploma-img { height: 190px; }

  .comparison-box {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .photos-grid-modern {
    grid-template-columns: repeat(2, 1fr);
  }
  .menu-lean-grid {
    grid-template-columns: 1fr;
  }
  .scroll-cue { display: none; }
}

/* Mobile Screens (<= 640px) */
@media (max-width: 640px) {
  .container { padding: 0 16px; }

  /* Header */
  .site-header { padding: 4px 0; }
  .header-row {
    padding: 8px 0;
    gap: 8px;
  }
  .logo-text { font-size: 18px; white-space: nowrap; }
  .branch-trigger-btn {
    padding: 6px 11px;
    font-size: 12px;
    gap: 6px;
    max-width: none;
    flex-shrink: 0;
  }
  .branch-trigger-text {
    max-width: none;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    display: inline-block;
  }
  .branch-dropdown-panel {
    width: min(340px, calc(100vw - 24px));
    left: 50%;
    transform: translateX(-50%);
    max-height: 60vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 12px 36px rgba(0,0,0,0.22);
  }
  @keyframes fadeInDown {
    from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
  }

  .btn-pill-primary {
    padding: 7px 12px;
    font-size: 11px;
    gap: 4px;
    white-space: nowrap;
  }

  /* Hero: Dedicated visual showcase so 3D meals are 100% visible on mobile */
  .hero-fullbleed {
    min-height: auto;
    display: flex;
    flex-direction: column;
    padding-top: 52px; /* clearance for sticky header */
    background: #171412;
    overflow: visible;
  }

  .hero-bg-wrap {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 16 / 10;
    max-height: 320px;
    min-height: 220px;
    background: #171412;
    overflow: hidden;
  }

  .hero-layer-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    background: #171412;
    transform: none !important;
  }

  .hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(23, 20, 18, 0) 65%,
      rgba(23, 20, 18, 0.95) 100%
    );
    pointer-events: none;
  }

  .hero-content-layer {
    position: relative;
    z-index: 2;
    min-height: auto;
    padding-top: 10px;
    padding-bottom: 24px;
    gap: 12px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  .hero-text-block {
    max-width: 100%;
    gap: 10px;
  }

  .hero-headline {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
  }

  .hero-headline-meal {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 0;
    white-space: normal;
    color: #FFF;
  }

  .hero-headline em {
    font-size: 38px;
    line-height: 1;
    white-space: nowrap;
    color: var(--accent-mustard);
  }

  .hero-branch-card {
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    gap: 10px;
  }
  .cur-branch-title { font-size: 13px; }
  .cur-branch-sub { font-size: 11px; line-height: 1.3; }
  .btn-subtle-route {
    padding: 7px 10px;
    font-size: 11px;
    border-radius: 6px;
    flex-shrink: 0;
  }

  /* 2x2 Meal Switcher grid - perfect thumb ergonomics */
  .hero-price-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .price-float-card {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
  }
  .pf-label { font-size: 12px; }
  .pf-price { font-size: 18px; }

  /* Food Strip */
  .food-strip-section { padding: 14px 0; }
  .food-strip-item { width: 140px; }
  .food-strip-item img { width: 140px; height: 115px; }
  .food-strip-item span {
    font-size: 10px;
    padding: 5px 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Award Spotlight */
  .award-spotlight-section { padding: 36px 0; }
  .award-spotlight-card {
    padding: 20px 16px;
    border-radius: var(--radius-md);
    gap: 16px;
  }
  .award-diploma-box {
    max-width: 220px;
    margin: 0 auto;
    border-radius: 8px;
  }
  .award-diploma-img { height: 160px; }
  .award-spotlight-title {
    font-size: 22px;
    text-align: center;
  }
  .award-stars-row { justify-content: center; }
  .award-spotlight-text {
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
  }
  .award-stats-chips {
    justify-content: center;
    gap: 6px;
  }
  .award-stat-item {
    font-size: 11px;
    padding: 5px 10px;
  }

  /* Comparison / Calculator Section */
  .comparison-section { padding: 36px 0; }
  .section-label { font-size: 10px; }
  .section-heading { font-size: 24px; margin-bottom: 16px; }

  .comparison-box {
    padding: 16px 14px;
    border-radius: var(--radius-md);
    gap: 16px;
  }
  .picker-col-title { font-size: 14px; margin-bottom: 10px; }

  /* Chips: clean 2-column touch targets with 100% FULL TEXT */
  .dishes-chip-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 16px;
  }
  .dish-pick-chip {
    padding: 9px 11px;
    font-size: 12px;
    min-height: 48px;
    border-radius: var(--radius-sm);
    justify-content: space-between;
    gap: 6px;
    align-items: center;
    text-align: left;
  }
  .dish-pick-chip span:first-child {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    max-width: none;
    line-height: 1.25;
    flex: 1;
  }
  .chip-price-tag {
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Virtual Tray Mobile Adaptation */
  .virtual-tray-wrapper {
    margin-top: 12px;
    border-radius: var(--radius-md);
    padding: 10px 8px;
  }
  .virtual-tray-surface {
    min-height: 140px;
    padding: 10px 6px;
    gap: 8px;
    border-width: 3px;
    border-radius: 12px;
    justify-content: center;
  }
  .virtual-dish-plate {
    width: 76px;
    padding: 5px 4px 6px;
    gap: 4px;
    border-radius: 10px;
  }
  .virtual-dish-photo {
    width: 48px;
    height: 48px;
    border-width: 2px;
  }
  .virtual-dish-name {
    font-size: 9px;
    line-height: 1.2;
    max-width: 72px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    display: block;
  }

  /* Comparison Verdict Card */
  .comparison-verdict-card {
    padding: 16px 14px;
    border-radius: var(--radius-md);
  }
  .verdict-line { font-size: 13px; }
  .verdict-val-single { font-size: 17px; }
  .verdict-combo-title { font-size: 14px; }
  .verdict-val-combo { font-size: 26px; }
  .verdict-badge-save {
    padding: 9px 12px;
    font-size: 13px;
    margin-top: 12px;
  }

  /* Venues Grid */
  .real-photos-section { padding: 36px 0; }
  .photos-grid-modern {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .venue-card-tile { border-radius: var(--radius-sm); }
  .venue-tile-img-box { height: 190px; }
  .venue-tile-info { padding: 10px 12px; }
  .venue-tile-title { font-size: 14px; }
  .venue-tile-sub { font-size: 12px; }

  /* Menu Section */
  .menu-lean-section { padding: 36px 0; }
  .menu-lean-column {
    padding: 16px 14px;
    border-radius: var(--radius-sm);
  }
  .menu-col-header { font-size: 16px; margin-bottom: 8px; }
  .menu-lean-row { padding: 7px 0; font-size: 13px; }

  /* Footer */
  .site-footer {
    padding: 24px 0 20px;
    margin-top: 32px;
  }
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
  .footer-links-row {
    justify-content: center;
    gap: 14px 18px;
  }

  /* Lightbox */
  .lightbox-modal { padding: 12px; }
  .lightbox-img-box {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
  }
  .lightbox-img-box img { max-height: 65vh; }
  .lightbox-close-x {
    top: 4px;
    right: 8px;
    font-size: 32px;
    padding: 6px;
  }
}

/* Extra Small Phones (<= 400px, e.g. iPhone SE, Galaxy Z Flip, Fold) */
@media (max-width: 400px) {
  .btn-text-full { display: none; }
  .btn-text-short { display: inline; }

  .header-row { gap: 4px; }
  .logo-text { font-size: 17px; }
  .branch-trigger-btn {
    padding: 5px 8px;
    font-size: 11px;
    max-width: none;
  }
  .branch-trigger-text {
    max-width: none;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
  }
  .btn-pill-primary { padding: 6px 9px; font-size: 11px; }

  .hero-headline-meal { font-size: 19px; }
  .hero-headline em { font-size: 34px; }
  .hero-branch-card { flex-direction: column; align-items: flex-start; gap: 8px; }
  .btn-subtle-route { width: 100%; justify-content: center; }

  .hero-price-cards { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .price-float-card { padding: 8px 10px; }
  .pf-label { font-size: 11px; }
  .pf-price { font-size: 16px; }

  .dishes-chip-grid { gap: 6px; }
  .dish-pick-chip { padding: 8px 8px; font-size: 11px; }
  .dish-pick-chip span:first-child {
    max-width: none;
    white-space: normal;
  }
  .virtual-dish-plate { width: 68px; }
  .virtual-dish-photo { width: 44px; height: 44px; }
  .virtual-dish-name { font-size: 8px; max-width: 64px; }
}
