@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,400;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

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

/* ── THEME TRANSITION ── */
body, body * {
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

:root {
  --surface: #fcf9f8;
  --surface-dim: #dcd9d9;
  --surface-container-low: #f6f3f2;
  --surface-container: #f0edec;
  --surface-container-high: #ebe7e7;
  --surface-container-highest: #e5e2e1;
  --on-surface: #1c1b1b;
  --on-surface-variant: #594139;
  --inverse-surface: #313030;
  --inverse-on-surface: #f3f0ef;
  --outline: #8d7168;
  --outline-variant: #e1bfb5;
  --primary: #ab3500;
  --on-primary: #ffffff;
  --primary-container: #ff6b35;
  --on-primary-container: #5f1900;
  --secondary: #aa3524;
  --on-secondary: #ffffff;
  --secondary-container: #ff725b;
  --tertiary: #675d4d;
  --on-tertiary: #ffffff;
  --tertiary-container: #a59886;
  --primary-fixed: #ffdbd0;
  --primary-fixed-dim: #ffb59d;
  --tertiary-fixed: #f0e0cc;
  --tertiary-fixed-dim: #d3c4b1;
  --background: #fcf9f8;
  --on-background: #1c1b1b;
  --rounded-sm: 0.25rem;
  --rounded: 0.5rem;
  --rounded-md: 0.75rem;
  --rounded-lg: 1rem;
  --rounded-xl: 1.5rem;
  --rounded-full: 9999px;
  --shadow-warm: 0 4px 24px rgba(139, 30, 16, 0.05);
  --shadow-warm-hover: 0 8px 32px rgba(139, 30, 16, 0.1);
}

html { font-size: 16px; scroll-behavior: smooth; }

/* ── DARK MODE ── */
[data-theme="dark"] {
  --surface: #111111;
  --surface-dim: #0a0a0a;
  --surface-container-low: #1a1a1a;
  --surface-container: #1e1e1e;
  --surface-container-high: #272727;
  --surface-container-highest: #333333;
  --on-surface: #ededed;
  --on-surface-variant: #bfada5;
  --inverse-surface: #ededed;
  --inverse-on-surface: #1c1b1b;
  --outline: #8a7b74;
  --outline-variant: #3a3130;
  --primary: #ff9066;
  --on-primary: #ffffff;
  --primary-container: #5c2200;
  --on-primary-container: #ffdbd0;
  --secondary: #ff8a78;
  --on-secondary: #ffffff;
  --secondary-container: #6b1a0d;
  --tertiary: #d3c4b1;
  --on-tertiary: #393123;
  --tertiary-container: #2e2820;
  --primary-fixed: #2e1a10;
  --primary-fixed-dim: #ffb59d;
  --tertiary-fixed: #252018;
  --tertiary-fixed-dim: #d3c4b1;
  --background: #111111;
  --on-background: #ededed;
  --shadow-warm: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-warm-hover: 0 8px 32px rgba(255, 107, 53, 0.12);
}

/* ── THEME TOGGLE ── */
.theme-toggle {
  position: relative; width: 56px; height: 30px;
  background: var(--surface-container-high); border: 1.5px solid var(--outline-variant);
  border-radius: var(--rounded-full); cursor: pointer;
  display: flex; align-items: center; padding: 0 4px;
  transition: background 0.4s, border-color 0.4s;
}
.theme-toggle .toggle-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--primary); position: relative;
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55), background 0.4s;
  display: flex; align-items: center; justify-content: center;
}
.theme-toggle .toggle-thumb svg { width: 14px; height: 14px; color: white; transition: opacity 0.3s, transform 0.4s; }
.theme-toggle .sun-icon { position: absolute; opacity: 1; transform: rotate(0deg); }
.theme-toggle .moon-icon { position: absolute; opacity: 0; transform: rotate(-90deg); }
[data-theme="dark"] .theme-toggle { background: var(--surface-container); border-color: var(--outline-variant); }
[data-theme="dark"] .theme-toggle .toggle-thumb { transform: translateX(26px); background: #6366f1; }
[data-theme="dark"] .theme-toggle .sun-icon { opacity: 0; transform: rotate(90deg); }
[data-theme="dark"] .theme-toggle .moon-icon { opacity: 1; transform: rotate(0deg); }


body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--background);
  color: var(--on-background);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Noto Serif', serif; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── NAV ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0;
  background: rgba(252, 249, 248, 0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.4s;
}
[data-theme="dark"] .navbar { background: rgba(17, 17, 17, 0.92); }

.navbar.scrolled {
  border-bottom-color: var(--outline-variant);
  box-shadow: var(--shadow-warm);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.nav-logo {
  font-family: 'Noto Serif', serif; font-size: 24px; font-weight: 700;
  color: var(--on-surface); text-decoration: none; letter-spacing: -0.02em;
}
.nav-logo span { color: var(--primary); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--on-surface-variant);
  font-size: 14px; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--primary);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  padding: 12px 28px; background: var(--primary); color: var(--on-primary);
  border: none; border-radius: var(--rounded); cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px;
  font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
}
.nav-cta:hover {
  background: var(--on-primary-container);
  transform: translateY(-1px); box-shadow: var(--shadow-warm-hover);
}
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; }
.mobile-toggle span {
  display: block; width: 24px; height: 2px; background: var(--on-surface);
  margin: 5px 0; transition: 0.3s;
}

/* ── HERO ── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 120px 0 80px; position: relative; overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; background: var(--primary-fixed);
  border-radius: var(--rounded-full); margin-bottom: 24px;
  font-size: 13px; font-weight: 600; color: var(--on-primary-container);
  letter-spacing: 0.05em; text-transform: uppercase;
  animation: fadeInUp 0.8s ease both;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary); animation: pulse 2s infinite;
}
.hero h1 {
  font-size: 56px; font-weight: 700; line-height: 1.1;
  letter-spacing: -0.02em; color: var(--on-surface);
  margin-bottom: 24px; animation: fadeInUp 0.8s 0.1s ease both;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 18px; line-height: 1.6; color: var(--on-surface-variant);
  max-width: 480px; margin-bottom: 40px;
  animation: fadeInUp 0.8s 0.2s ease both;
}
.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.3s ease both;
}
.btn-primary {
  padding: 16px 32px; background: var(--primary); color: var(--on-primary);
  border: none; border-radius: var(--rounded); cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px;
  font-weight: 600; transition: all 0.3s; display: inline-flex;
  align-items: center; gap: 8px; text-decoration: none;
}
.btn-primary:hover {
  background: var(--on-primary-container);
  transform: translateY(-2px); box-shadow: var(--shadow-warm-hover);
}
.btn-secondary {
  padding: 16px 32px; background: transparent;
  border: 1.5px solid var(--on-surface); color: var(--on-surface);
  border-radius: var(--rounded); cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px;
  font-weight: 600; transition: all 0.3s; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-secondary:hover {
  border-color: var(--primary); color: var(--primary);
  transform: translateY(-2px);
}
.hero-visual {
  position: relative; animation: fadeInRight 1s 0.3s ease both;
}
.hero-img-wrapper {
  position: relative; border-radius: var(--rounded-xl); overflow: hidden;
  box-shadow: 0 24px 64px rgba(139, 30, 16, 0.12);
}
.hero-img-wrapper img {
  width: 100%; height: 520px; object-fit: cover; display: block;
  transition: transform 6s ease;
}
.hero-img-wrapper:hover img { transform: scale(1.05); }
.hero-float-card {
  position: absolute; bottom: -24px; left: -32px;
  background: var(--surface-container-low); padding: 20px 24px;
  border-radius: var(--rounded-lg); box-shadow: var(--shadow-warm-hover);
  display: flex; align-items: center; gap: 16px;
  animation: floatUp 3s ease-in-out infinite;
}
.hero-float-card .rating { font-size: 14px; font-weight: 600; color: var(--primary); }
.hero-float-card .stars { color: #f59e0b; font-size: 16px; }
.hero-float-card .label { font-size: 12px; color: var(--on-surface-variant); }

/* ── STATS BAR ── */
.stats-bar {
  padding: 48px 0; border-top: 1px solid var(--outline-variant);
  border-bottom: 1px solid var(--outline-variant);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  text-align: center;
}
.stat-item h3 {
  font-size: 40px; font-weight: 700; color: var(--primary);
  letter-spacing: -0.02em;
}
.stat-item p {
  font-size: 14px; font-weight: 600; color: var(--on-surface-variant);
  text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px;
}

/* ── SECTION ── */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
  display: inline-block; font-size: 13px; font-weight: 600;
  color: var(--primary); letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: 40px; font-weight: 600; line-height: 1.2;
  letter-spacing: -0.01em; color: var(--on-surface);
}
.section-subtitle {
  font-size: 18px; color: var(--on-surface-variant);
  max-width: 560px; margin: 16px auto 0; line-height: 1.6;
}

/* ── MENU CARDS ── */
.menu-filters {
  display: flex; justify-content: center; gap: 8px;
  margin-bottom: 48px; flex-wrap: wrap;
}
.chip {
  padding: 8px 20px; border-radius: var(--rounded-full);
  border: 1.5px solid var(--outline-variant); background: transparent;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px;
  font-weight: 600; color: var(--on-surface-variant); cursor: pointer;
  transition: all 0.3s;
}
.chip:hover, .chip.active {
  background: var(--primary); color: var(--on-primary);
  border-color: var(--primary);
}
.chip.spicy {
  border-color: var(--secondary); color: var(--secondary);
}
.chip.spicy:hover, .chip.spicy.active {
  background: var(--secondary); color: var(--on-secondary);
  border-color: var(--secondary);
}
.menu-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.menu-card {
  border-radius: var(--rounded-xl); overflow: hidden;
  background: var(--surface-container-low); transition: transform 0.4s, box-shadow 0.4s;
  cursor: pointer;
}
.menu-card:hover {
  transform: translateY(-8px); box-shadow: var(--shadow-warm-hover);
}
.menu-card-img {
  width: 100%; aspect-ratio: 3/2; object-fit: cover;
  transition: transform 0.6s;
}
.menu-card:hover .menu-card-img { transform: scale(1.05); }
.menu-card-img-wrap { overflow: hidden; }
.menu-card-body { padding: 20px; }
.menu-card-body h3 {
  font-size: 20px; font-weight: 600; margin-bottom: 4px;
  color: var(--on-surface);
}
.menu-card-body .desc {
  font-size: 14px; color: var(--on-surface-variant); margin-bottom: 12px;
}
.menu-card-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px; background: var(--tertiary-fixed);
}
.menu-card-footer .price {
  font-family: 'Noto Serif', serif; font-size: 20px; font-weight: 700;
  color: var(--primary);
}
.menu-card-footer .add-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary); color: white; border: none;
  font-size: 20px; cursor: pointer; display: flex;
  align-items: center; justify-content: center; transition: all 0.3s;
}
.menu-card-footer .add-btn:hover {
  background: var(--on-primary-container); transform: scale(1.1);
}

/* ── HERO BREAKOUT ── */
.hero-breakout {
  position: relative; min-height: 480px; display: flex;
  align-items: center; justify-content: center; text-align: center;
  overflow: hidden; margin: 0 -24px;
}
.hero-breakout img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: brightness(0.35);
}
.hero-breakout-content {
  position: relative; z-index: 2; padding: 80px 24px; max-width: 700px;
}
.hero-breakout-content .section-label { color: var(--primary-fixed-dim); }
.hero-breakout-content h2 {
  font-size: 48px; font-weight: 700; color: white;
  line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 16px;
}
.hero-breakout-content p {
  font-size: 18px; color: rgba(255,255,255,0.8); line-height: 1.6;
  margin-bottom: 32px;
}
.btn-light {
  padding: 16px 32px; background: white; color: #1c1b1b;
  border: none; border-radius: var(--rounded); cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px;
  font-weight: 600; transition: all 0.3s; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.2); }

/* ── EDITORIAL MENU LIST ── */
.editorial-list { max-width: 800px; margin: 0 auto; }
.editorial-item {
  display: flex; align-items: baseline; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--outline-variant);
  transition: padding-left 0.3s;
}
.editorial-item:hover { padding-left: 12px; }
.editorial-item .name {
  font-family: 'Noto Serif', serif; font-size: 20px; font-weight: 600;
  color: var(--on-surface); white-space: nowrap;
}
.editorial-item .leader {
  flex: 1; border-bottom: 2px dotted var(--outline-variant);
  min-width: 40px; align-self: center; margin-bottom: 4px;
}
.editorial-item .price {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 18px;
  font-weight: 700; color: var(--primary); white-space: nowrap;
}
.editorial-item .tag {
  padding: 2px 10px; border-radius: var(--rounded-full);
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em;
}
.editorial-item .tag.hot { background: var(--secondary); color: white; }
.editorial-item .tag.new { background: var(--primary-fixed); color: var(--on-primary-container); }

/* ── ABOUT / STORY ── */
.story-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.story-img {
  border-radius: var(--rounded-xl); overflow: hidden;
  box-shadow: var(--shadow-warm-hover);
}
.story-img img { width: 100%; height: 480px; object-fit: cover; display: block; }
.story-content .section-label { text-align: left; }
.story-content h2 {
  font-size: 40px; font-weight: 600; line-height: 1.2;
  letter-spacing: -0.01em; margin-bottom: 20px;
}
.story-content p {
  font-size: 18px; line-height: 1.6; color: var(--on-surface-variant);
  margin-bottom: 16px;
}
.story-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px;
}
.feature-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px; background: var(--surface-container-low);
  border-radius: var(--rounded-lg);
}
.feature-icon {
  width: 40px; height: 40px; border-radius: var(--rounded);
  background: var(--primary-fixed); display: flex;
  align-items: center; justify-content: center; font-size: 18px;
  flex-shrink: 0;
}
.feature-item h4 { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.feature-item p { font-size: 13px; color: var(--on-surface-variant); margin: 0; line-height: 1.4; }

/* ── CTA ── */
.cta-section {
  padding: 80px 0; text-align: center;
}
.cta-card {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--rounded-xl); padding: 64px 48px; position: relative;
  overflow: hidden;
}
[data-theme="dark"] .cta-card {
  background: linear-gradient(135deg, #6b2800, #4a1510);
}
.cta-card::before {
  content: ''; position: absolute; top: -60%; right: -20%;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.cta-card h2 {
  font-size: 40px; font-weight: 700; color: white;
  line-height: 1.2; margin-bottom: 16px; position: relative;
}
.cta-card p {
  font-size: 18px; color: rgba(255,255,255,0.85);
  max-width: 500px; margin: 0 auto 32px; position: relative;
}

/* ── FOOTER ── */
.footer {
  background: #1c1b1b; color: #f3f0ef;
  padding: 64px 0 32px;
}
[data-theme="dark"] .footer {
  background: #0a0a0a; color: #d4d4d4;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { color: white; }
.footer-brand p {
  font-size: 14px; color: rgba(243,240,239,0.65);
  margin-top: 12px; line-height: 1.6; max-width: 280px;
}
.footer h4 {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 16px; color: var(--primary-fixed-dim);
}
[data-theme="dark"] .footer h4 { color: #ff9066; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer a {
  color: rgba(243,240,239,0.65); text-decoration: none; font-size: 14px;
  transition: color 0.3s;
}
.footer a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px; display: flex; justify-content: space-between;
  align-items: center; font-size: 13px; color: rgba(243,240,239,0.45);
}
.footer-socials { display: flex; gap: 16px; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08); display: flex;
  align-items: center; justify-content: center; transition: all 0.3s;
}
.footer-socials a:hover { background: var(--primary); }

/* ── MOBILE NAV OVERLAY ── */
.mobile-nav-overlay {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: all 0.35s;
}
.mobile-nav-overlay.active { opacity: 1; visibility: visible; }
.mobile-nav-content {
  position: absolute; top: 0; right: 0; width: 280px; height: 100%;
  background: var(--surface); padding: 100px 32px 40px;
  transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column; gap: 8px;
}
.mobile-nav-overlay.active .mobile-nav-content { transform: translateX(0); }
.mobile-nav-content ul { list-style: none; }
.mobile-nav-content li { border-bottom: 1px solid var(--outline-variant); }
.mobile-nav-content a {
  display: block; padding: 16px 0; font-size: 16px; font-weight: 600;
  color: var(--on-surface); text-decoration: none; text-transform: uppercase;
  letter-spacing: 0.05em; transition: color 0.3s;
}
.mobile-nav-content a:hover { color: var(--primary); }
.mobile-nav-cta {
  margin-top: 24px; text-align: center; justify-content: center;
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── DARK MODE CARD BORDERS ── */
[data-theme="dark"] .menu-card { border: 1px solid rgba(255,255,255,0.06); }
[data-theme="dark"] .feature-item { border: 1px solid rgba(255,255,255,0.06); }
[data-theme="dark"] .hero-float-card { border: 1px solid rgba(255,255,255,0.06); }
[data-theme="dark"] .hero-img-wrapper { box-shadow: 0 24px 64px rgba(0,0,0,0.4); }

/* ── MAP SECTION ── */
.map-section { padding: 80px 0; }

.map-controls {
  display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap;
}

.map-search-box {
  flex: 1; min-width: 280px; position: relative; display: flex; align-items: center;
  background: var(--surface-container); border: 1px solid var(--outline-variant);
  border-radius: var(--rounded-lg); padding: 0 16px; transition: all 0.2s;
}

.map-search-box:focus-within {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.map-search-box svg {
  color: var(--on-surface-variant); margin-right: 10px;
}

.map-search-box input {
  flex: 1; border: none; background: transparent; padding: 14px 0;
  font-size: 15px; color: var(--on-surface); outline: none;
}

.map-search-box input::placeholder {
  color: var(--on-surface-variant);
}

.btn-find-nearest {
  display: flex; align-items: center; gap: 8px; padding: 14px 20px;
  background: var(--primary); color: white; border: none; border-radius: var(--rounded-lg);
  font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.2s;
  white-space: nowrap;
}

.btn-find-nearest:hover {
  background: var(--primary-dark); transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-find-nearest:disabled {
  opacity: 0.6; cursor: not-allowed; transform: none;
}

.map-wrapper {
  display: grid; grid-template-columns: 1fr 380px; gap: 0;
  border-radius: var(--rounded-xl); overflow: hidden;
  box-shadow: var(--shadow-warm-hover); border: 1px solid var(--outline-variant);
  height: 600px;
}

#map-container { width: 100%; height: 100%; min-height: 480px; }

.map-sidebar {
  background: var(--surface-container-low); 
  display: flex; flex-direction: column;
  border-left: 1px solid var(--outline-variant);
}

.sidebar-header {
  padding: 20px 24px; border-bottom: 1px solid var(--outline-variant);
  display: flex; justify-content: space-between; align-items: center;
  background: var(--surface-container);
}

.sidebar-header h3 {
  font-size: 18px; font-weight: 700; margin: 0; color: var(--on-surface);
}

.location-count {
  font-size: 13px; font-weight: 600; color: var(--on-surface-variant);
  background: var(--surface-container-high); padding: 4px 12px;
  border-radius: var(--rounded-full);
}

.location-list {
  flex: 1; overflow-y: auto; padding: 16px;
}

.loc-card {
  padding: 16px; border-radius: var(--rounded-lg); cursor: pointer;
  background: var(--surface-container); border: 2px solid transparent;
  margin-bottom: 12px; transition: all 0.2s;
}

.loc-card:hover {
  border-color: var(--primary); transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.loc-card.active {
  border-color: var(--primary); background: var(--primary-fixed);
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.15);
}

[data-theme="dark"] .loc-card.active {
  background: var(--primary-container);
}

.loc-card-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 8px; gap: 12px;
}

.loc-card-header h4 {
  font-size: 16px; font-weight: 700; margin: 0; color: var(--on-surface);
  line-height: 1.3;
}

.loc-status {
  font-size: 12px; font-weight: 600; padding: 4px 10px;
  border-radius: var(--rounded-full); white-space: nowrap;
  flex-shrink: 0;
}

.loc-status.open {
  background: rgba(16, 185, 129, 0.15); color: #10b981;
}

.loc-status.closed {
  background: rgba(239, 68, 68, 0.15); color: #ef4444;
}

.loc-addr {
  font-size: 14px; color: var(--on-surface-variant); margin: 0 0 6px 0;
  line-height: 1.5;
}

.loc-hours {
  font-size: 13px; color: var(--on-surface-variant); margin: 0 0 12px 0;
  display: flex; align-items: center; gap: 4px;
}

.loc-actions {
  display: flex; gap: 8px; margin-top: 12px;
}

.btn-loc-view, .btn-loc-direction {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 14px; border-radius: var(--rounded-md); font-size: 14px;
  font-weight: 600; cursor: pointer; transition: all 0.2s;
  text-decoration: none;
}

.btn-loc-view {
  background: var(--surface-container-highest); color: var(--on-surface);
  border: 1px solid var(--outline-variant);
}

.btn-loc-view:hover {
  background: var(--primary); color: white; border-color: var(--primary);
}

.btn-loc-direction {
  background: var(--primary); color: white; border: 1px solid var(--primary);
}

.btn-loc-direction:hover {
  background: var(--primary-dark); transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.leaflet-popup-content-wrapper {
  border-radius: 16px !important; font-family: 'Plus Jakarta Sans', sans-serif;
  padding: 0 !important; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2) !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.leaflet-popup-content { margin: 20px !important; }

.leaflet-popup-tip {
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.15) !important;
}

.leaflet-popup-close-button {
  font-size: 20px !important; 
  padding: 4px 8px !important;
  color: #999 !important; 
  font-weight: 400 !important;
  width: 28px !important;
  height: 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 6px !important;
  transition: all 0.2s !important;
  top: 8px !important;
  right: 8px !important;
}

.leaflet-popup-close-button:hover {
  color: #333 !important;
  background: rgba(0, 0, 0, 0.05) !important;
}

[data-theme="dark"] .leaflet-popup-close-button {
  color: #999 !important;
}

[data-theme="dark"] .leaflet-popup-close-button:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

.custom-popup .leaflet-popup-content-wrapper {
  background: white !important;
}

[data-theme="dark"] .custom-popup .leaflet-popup-content-wrapper {
  background: var(--surface-container) !important;
}

[data-theme="dark"] .custom-popup h3 {
  color: var(--on-surface) !important;
}

[data-theme="dark"] .custom-popup p {
  color: var(--on-surface-variant) !important;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 3px 10px rgba(59, 130, 246, 0.5); }
  50% { box-shadow: 0 3px 20px rgba(59, 130, 246, 0.8), 0 0 0 8px rgba(59, 130, 246, 0.2); }
}

/* ── CART FLOAT BUTTON ── */
.cart-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--primary); color: white; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25); transition: all 0.3s;
  transform: scale(0); opacity: 0;
}
.cart-float.visible { transform: scale(1); opacity: 1; }
.cart-float:hover { transform: scale(1.1); }
.cart-float svg { width: 26px; height: 26px; }
.cart-badge {
  position: absolute; top: -4px; right: -4px;
  width: 22px; height: 22px; border-radius: 50%;
  background: #ef4444; color: white; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ── CART DRAWER ── */
.cart-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: all 0.3s;
}
.cart-overlay.active { opacity: 1; visibility: visible; }
.cart-drawer {
  position: absolute; top: 0; right: 0; width: 380px; height: 100%;
  background: var(--surface); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.cart-overlay.active .cart-drawer { transform: translateX(0); }
.cart-header {
  padding: 20px 24px; border-bottom: 1px solid var(--outline-variant);
  display: flex; justify-content: space-between; align-items: center;
}
.cart-header h3 { font-size: 20px; font-weight: 700; color: var(--on-surface); }
.cart-close {
  width: 36px; height: 36px; border-radius: 50%; border: none;
  background: var(--surface-container-high); cursor: pointer;
  font-size: 18px; color: var(--on-surface); display: flex;
  align-items: center; justify-content: center; transition: all 0.3s;
}
.cart-close:hover { background: var(--primary); color: white; }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-empty {
  text-align: center; padding: 48px 0; color: var(--on-surface-variant);
}
.cart-empty span { font-size: 48px; display: block; margin-bottom: 12px; }
.cart-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--outline-variant);
}
.cart-item-info { flex: 1; }
.cart-item-info h4 { font-size: 14px; font-weight: 600; color: var(--on-surface); }
.cart-item-info p { font-size: 13px; color: var(--primary); font-weight: 600; }
.cart-item-qty {
  display: flex; align-items: center; gap: 10px;
}
.cart-item-qty button {
  width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--outline-variant);
  background: transparent; color: var(--on-surface); cursor: pointer;
  font-size: 16px; font-weight: 600; display: flex;
  align-items: center; justify-content: center; transition: all 0.3s;
}
.cart-item-qty button:hover { background: var(--primary); color: white; border-color: var(--primary); }
.cart-item-qty span { font-size: 16px; font-weight: 700; min-width: 20px; text-align: center; color: var(--on-surface); }
.cart-footer {
  padding: 20px 24px; border-top: 1px solid var(--outline-variant);
}
.cart-total {
  display: flex; justify-content: space-between; margin-bottom: 16px;
  font-size: 18px; font-weight: 700; color: var(--on-surface);
}
.cart-total span:last-child { color: var(--primary); }
.wa-order-btn {
  width: 100%; padding: 16px; border: none; border-radius: var(--rounded);
  background: #25D366; color: white; font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: all 0.3s;
}
.wa-order-btn:hover { background: #1fb855; transform: translateY(-1px); }
.wa-order-btn svg { width: 22px; height: 22px; }

/* ── ADD-TO-CART ANIMATION ── */
.add-btn.added { background: #22c55e !important; transform: scale(1.2); }

/* ── MENU CARD FILTER ANIMATION ── */
.menu-card.hide-card {
  opacity: 0; transform: scale(0.8); pointer-events: none;
  position: absolute; visibility: hidden;
}
.menu-grid { position: relative; }

/* ── ANIMATIONS ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes floatUp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero h1 { font-size: 42px; }
  .hero-grid, .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .map-wrapper { grid-template-columns: 1fr; height: auto; }
  .map-controls { flex-direction: column; }
  .btn-find-nearest { width: 100%; justify-content: center; }
  #map-container { min-height: 400px; }
  .map-sidebar {
    border-left: none; border-top: 1px solid var(--outline-variant);
    max-height: 400px;
  }
  .sidebar-header { padding: 16px 20px; }
  .location-list {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px;
  }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .mobile-toggle { display: block; }
  .hero { min-height: auto; padding: 100px 0 60px; }
  .hero h1 { font-size: 32px; }
  .hero-desc { font-size: 16px; }
  .hero-img-wrapper img { height: 280px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary, .hero-actions .btn-secondary { width: 100%; justify-content: center; }
  .menu-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .section-title { font-size: 28px; }
  .section-subtitle { font-size: 16px; }
  .hero-breakout { margin: 0; }
  .hero-breakout-content h2 { font-size: 28px; }
  .hero-breakout-content p { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stat-item h3 { font-size: 32px; }
  .story-features { grid-template-columns: 1fr; }
  .story-img img { height: 300px; }
  .hero-float-card { left: 16px; bottom: -16px; padding: 14px 18px; }
  .cta-card { padding: 40px 20px; }
  .cta-card h2 { font-size: 26px; }
  .cta-card p { font-size: 15px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .editorial-item .name { font-size: 16px; }
  .editorial-item .price { font-size: 16px; }
  .map-wrapper { border-radius: var(--rounded-lg); }
  .location-list { grid-template-columns: 1fr; }
  .cart-drawer { width: 100%; }
  .cart-float { bottom: 20px; right: 20px; width: 54px; height: 54px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 28px; }
  .hero { padding: 90px 0 48px; }
  .stats-grid { gap: 16px; }
  .stat-item h3 { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .editorial-item { gap: 8px; flex-wrap: wrap; }
  .editorial-item .leader { display: none; }
  .editorial-item .price { margin-left: auto; }
}
