/* ═══════════════════════════════════════════════════════════ */
/*  ROOT VARIABLES & THEME SYSTEM                             */
/* ═══════════════════════════════════════════════════════════ */
:root {
  --gold: #c8a84e;
  --gold-light: #dfc06a;
  --gold-dark: #a68a3e;
  --accent: #2d6a4f;
  --accent-light: #40916c;
  --bg: #fafaf7;
  --bg-card: #ffffff;
  --bg-glass: rgba(255,255,255,0.72);
  --bg-modal: rgba(0,0,0,0.6);
  --text: #1a1a2e;
  --text-secondary: #555;
  --text-muted: #6e6e6e;
  --border: rgba(0,0,0,0.08);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.16);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --header-h: 72px;
  --filter-h: 68px;
  --max-w: 1320px;
  --parallax-strength: 0.3;
}
[data-theme="dark"] {
  --bg: #0f0f1a;
  --bg-card: #1a1a2e;
  --bg-glass: rgba(26,26,46,0.82);
  --text: #e8e8f0;
  --text-secondary: #bbb;
  --text-muted: #999;
  --border: rgba(255,255,255,0.08);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.3);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.4);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.5);
  --bg-modal: rgba(0,0,0,0.75);
}

/* ═══════════════════════════════════════════════════════════ */
/*  RESET & BASE                                              */
/* ═══════════════════════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
p a, .modal-desc a, .modal-note a, .disclaimer-details-inner a, .footer-bottom a {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--gold); color: #fff; }

/* Skip to content — accessibility */
.skip-to-content {
  position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  z-index: 100000; padding: 12px 24px; border-radius: 0 0 8px 8px;
  background: var(--gold); color: #1a1a2e; font-weight: 700; font-size: 0.9rem;
  text-decoration: none; transition: top 0.2s ease;
}
.skip-to-content:focus { top: 0; outline: 2px solid #fff; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* ═══════════════════════════════════════════════════════════ */
/*  LOADING SCREEN                                            */
/* ═══════════════════════════════════════════════════════════ */
#loader {
  position: fixed; inset: 0; z-index: 99999;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo {
  font-family: var(--font-display);
  font-size: 3rem; font-weight: 700; color: #fff;
  letter-spacing: 0.02em; margin-bottom: 8px;
  animation: loaderPulse 1.5s ease-in-out infinite;
}
.loader-logo span { color: var(--gold); }
.loader-sub { color: rgba(255,255,255,0.5); font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 40px; }
.loader-bar { width: 200px; height: 2px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; }
.loader-bar-inner { height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: 2px; animation: loaderProgress 1.8s ease-in-out forwards; }
@keyframes loaderPulse { 0%,100%{opacity:1} 50%{opacity:0.7} }
@keyframes loaderProgress { 0%{width:0} 100%{width:100%} }

/* ═══════════════════════════════════════════════════════════ */
/*  SCROLL PROGRESS BAR                                       */
/* ═══════════════════════════════════════════════════════════ */
#scrollProgress {
  position: fixed; top: 0; left: 0; width: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  z-index: 10000; transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(200,168,78,0.5);
}

/* ═══════════════════════════════════════════════════════════ */
/*  NOISE TEXTURE OVERLAY                                     */
/* ═══════════════════════════════════════════════════════════ */
.noise {
  position: fixed; inset: 0; z-index: 9998; pointer-events: none; opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat; background-size: 256px 256px;
}

/* ═══════════════════════════════════════════════════════════ */
/*  HERO SECTION                                              */
/* ═══════════════════════════════════════════════════════════ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: url('images/restaurant-candle-rose.webp') center/cover no-repeat;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(15,15,30,0.88) 0%, rgba(22,33,62,0.78) 30%, rgba(15,52,96,0.72) 60%, rgba(15,15,30,0.9) 100%);
  z-index: 1;
}
.hero > * { position: relative; z-index: 2; }
.hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 40px; padding: 14px 36px; border-radius: 50px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #1a1a2e; font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.03em; text-transform: none;
  box-shadow: 0 4px 24px rgba(200,168,78,0.35);
  transition: all var(--transition); cursor: pointer; border: none;
}
.hero-cta:hover {
  transform: translateY(-2px); box-shadow: 0 8px 32px rgba(200,168,78,0.5);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}
.hero-cta svg { width: 18px; height: 18px; stroke: currentColor; fill: none; }
#heroCanvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.18;
  animation: orbFloat 20s ease-in-out infinite;
  will-change: transform;
}
.hero-orb--1 { width: 600px; height: 600px; background: #c8a84e; top: -15%; right: -10%; animation-delay: 0s; }
.hero-orb--2 { width: 500px; height: 500px; background: #2d6a4f; bottom: -20%; left: -5%; animation-delay: -7s; }
.hero-orb--3 { width: 350px; height: 350px; background: #e8a87c; top: 40%; left: 30%; animation-delay: -12s; }
@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  25% { transform: translate(30px,-40px) scale(1.05); }
  50% { transform: translate(-20px,30px) scale(0.95); }
  75% { transform: translate(40px,20px) scale(1.02); }
}
.hero-content {
  position: relative; z-index: 2; text-align: center;
  padding: 40px 20px;
  animation: heroFadeIn 1.2s ease-out 1.8s both;
}
@keyframes heroFadeIn { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,168,78,0.15); border: 1px solid rgba(200,168,78,0.3);
  padding: 8px 20px; border-radius: 50px; margin-bottom: 28px;
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light);
  backdrop-filter: blur(10px); text-decoration: none; transition: all 0.3s ease;
}
.hero-badge:hover { background: rgba(200,168,78,0.25); border-color: rgba(200,168,78,0.5); }
.hero-badge svg { width: 14px; height: 14px; fill: var(--gold-light); }
.hero h1 {
  font-family: var(--font-display); font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 700; color: #fff; line-height: 1.08;
  letter-spacing: -0.02em; margin-bottom: 20px;
}
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem); color: rgba(255,255,255,0.55);
  font-weight: 300; max-width: 560px; margin: 0 auto 48px;
  line-height: 1.7;
}
.hero-stats {
  display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat-num {
  font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: var(--gold-light);
  line-height: 1.1;
}
.hero-stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.15em; margin-top: 4px; }

.scroll-indicator {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.3); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-indicator svg { width: 20px; height: 20px; stroke: rgba(255,255,255,0.3); fill: none; }
@keyframes scrollBounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ═══════════════════════════════════════════════════════════ */
/*  PHOTO GALLERY STRIP                                       */
/* ═══════════════════════════════════════════════════════════ */
.photo-strip {
  overflow: hidden; padding: 0; background: var(--bg);
  position: relative;
  transition: background var(--transition);
}
.photo-strip-inner {
  display: flex; gap: 12px; padding: 12px 0;
  animation: photoScroll 50s linear infinite;
  width: max-content;
}
.photo-strip-inner:hover { animation-play-state: paused; }
@keyframes photoScroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.photo-strip-item {
  flex-shrink: 0; position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer;
  width: 320px; height: 200px;
}
.photo-strip-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: saturate(0.85) brightness(0.92);
}
.photo-strip-item:hover img {
  transform: scale(1.06); filter: saturate(1.1) brightness(1.05);
}
.photo-strip-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 50%);
  pointer-events: none; transition: opacity 0.4s ease;
}
.photo-strip-label {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 28px 16px 12px; z-index: 1;
  color: #fff; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.6px;
  text-transform: uppercase; opacity: 0; transition: opacity 0.3s ease;
  display: flex; align-items: center; gap: 8px;
}
.photo-strip-label::before {
  content: ''; width: 20px; height: 2px; background: var(--gold);
  flex-shrink: 0;
}
.photo-strip-item:hover .photo-strip-label { opacity: 1; }

/* ═══════════════════════════════════════════════════════════ */
/*  ATMOSPHERE / FOOD SECTION                                 */
/* ═══════════════════════════════════════════════════════════ */
.atmosphere-section {
  padding: 60px 20px; max-width: var(--max-w); margin: 0 auto;
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.atmosphere-section.visible { opacity: 1; transform: translateY(0); }
.atmosphere-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 40px;
}
.atmosphere-grid .atm-item {
  border-radius: var(--radius); overflow: hidden; position: relative;
  aspect-ratio: 4/3; cursor: pointer;
}
.atmosphere-grid .atm-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
}
.atmosphere-grid .atm-item:hover img {
  transform: scale(1.08); filter: brightness(1.1);
}
.atmosphere-grid .atm-item .atm-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
  display: flex; align-items: flex-end; padding: 20px;
  opacity: 0; transition: opacity 0.4s ease;
}
.atmosphere-grid .atm-item:hover .atm-overlay { opacity: 1; }
.atm-overlay span {
  color: #fff; font-family: var(--font-display); font-size: 1.1rem; font-weight: 600;
}
.atmosphere-grid .atm-featured {
  grid-column: span 2; grid-row: span 2; aspect-ratio: auto;
}
@media(max-width:768px) {
  .atmosphere-grid { grid-template-columns: 1fr 1fr; }
  .atmosphere-grid .atm-featured { grid-column: span 2; grid-row: span 1; }
}
@media(max-width:500px) {
  .atmosphere-grid { grid-template-columns: 1fr; }
  .atmosphere-grid .atm-featured { grid-column: span 1; }
}

/* ═══════════════════════════════════════════════════════════ */
/*  CARD IMAGE                                                */
/* ═══════════════════════════════════════════════════════════ */
.card-image {
  width: 100%; height: 200px; object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card-image { transform: scale(1.03); }
.card-image-wrap {
  overflow: hidden; position: relative;
}
.card-image-wrap .card-image-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
  background: linear-gradient(to top, var(--bg-card), transparent);
  pointer-events: none;
  transition: background var(--transition);
}
.card-image-town {
  position: absolute; top: 12px; right: 12px;
  padding: 4px 12px; border-radius: 20px;
  font-size: 0.7rem; font-weight: 700;
  color: #fff; letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* ═══════════════════════════════════════════════════════════ */
/*  PLACEHOLDER IMAGE                                         */
/* ═══════════════════════════════════════════════════════════ */
.card-placeholder {
  width: 100%; height: 200px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.card-placeholder .card-image-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; height: 80px;
  background: linear-gradient(to top, rgba(0,0,0,0.35), transparent);
  pointer-events: none;
}
.card-placeholder .card-image-town {
  position: absolute; top: 12px; right: 12px;
  padding: 4px 12px; border-radius: 20px;
  font-size: 0.7rem; font-weight: 700;
  color: #fff; letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Open Now filter pill */
.pill[data-opennow].active {
  background: #27ae60 !important; color: #fff !important;
  border-color: #27ae60 !important;
}

/* ═══════════════════════════════════════════════════════════ */
/*  INTERACTIVE MAP SECTION                                   */
/* ═══════════════════════════════════════════════════════════ */
.map-section {
  padding: 80px 20px 40px;
  max-width: var(--max-w); margin: 0 auto;
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.map-section.visible { opacity: 1; transform: translateY(0); }
.section-header {
  text-align: center; margin-bottom: 48px;
}
.section-header h2 {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600; margin-bottom: 12px; letter-spacing: -0.01em;
}
.section-header p {
  color: var(--text-secondary); font-size: 1.05rem; max-width: 540px; margin: 0 auto;
  font-weight: 300;
}

/* Map Wrapper */
.mv-map-wrapper {
  background: var(--bg-card); border-radius: var(--radius); padding: 0;
  box-shadow: var(--shadow-md); border: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition);
  position: relative; overflow: hidden; margin-bottom: 24px;
}
#mvLeafletMap {
  width: 100%; height: 420px; border-radius: var(--radius); z-index: 1;
}
@media (max-width: 600px) {
  #mvLeafletMap { height: 300px; }
}
/* Dark mode map */
[data-theme="dark"] .leaflet-tile-pane { filter: brightness(0.8) contrast(1.1) saturate(0.3); }
[data-theme="dark"] .leaflet-control-zoom a { background: var(--bg-card); color: var(--text); border-color: var(--border); }
[data-theme="dark"] .leaflet-popup-content-wrapper,
[data-theme="dark"] .leaflet-popup-tip { background: var(--bg-card); color: var(--text); }
/* Hide Leaflet attribution prefix, keep provider credit small */
.leaflet-control-attribution { font-size: 9px !important; opacity: 0.5; }
.leaflet-control-attribution a { color: inherit !important; }
/* Town tooltip on map */
.mv-town-tooltip {
  background: rgba(26,26,26,0.85) !important; color: #fff !important;
  border: 1px solid rgba(200,168,78,0.3) !important; border-radius: 8px !important;
  padding: 4px 10px !important; font-family: var(--font-body) !important;
  font-size: 12px !important; box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
  white-space: nowrap !important;
}
.mv-town-tooltip::before { border-top-color: rgba(26,26,26,0.85) !important; }
/* Restaurant tooltip on map */
.mv-restaurant-tooltip {
  background: rgba(26,26,26,0.92) !important; color: #fff !important;
  border: 1px solid rgba(200,168,78,0.5) !important; border-radius: 6px !important;
  padding: 6px 12px !important; font-family: var(--font-body) !important;
  font-size: 11px !important; box-shadow: 0 3px 12px rgba(0,0,0,0.4) !important;
  white-space: nowrap !important; max-width: 280px !important;
}
.mv-restaurant-tooltip .r-tip-name { font-weight: 600; font-size: 12px; }
.mv-restaurant-tooltip .r-tip-cuisine { color: var(--gold); font-size: 10px; margin-top: 2px; }
.mv-restaurant-tooltip::before { border-top-color: rgba(26,26,26,0.92) !important; }
/* Restaurant popup on map */
.mv-restaurant-popup .leaflet-popup-content-wrapper {
  background: var(--bg-card, #fff) !important; border-radius: 12px !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25) !important; padding: 0 !important;
  border: 1px solid var(--border, #e5e5e5) !important;
}
.mv-restaurant-popup .leaflet-popup-tip { background: var(--bg-card, #fff) !important; }
.mv-restaurant-popup .leaflet-popup-content { margin: 0 !important; width: 260px !important; }
.r-popup { padding: 16px; font-family: var(--font-body); }
.r-popup-name { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; margin-bottom: 4px; }
.r-popup-address { font-size: 0.8rem; color: var(--text-secondary, #888); margin-bottom: 8px; }
.r-popup-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.r-popup-tag { font-size: 0.7rem; padding: 2px 8px; border-radius: 50px; background: var(--bg, #f5f5f5); border: 1px solid var(--border, #e5e5e5); }
.r-popup-desc { font-size: 0.78rem; color: var(--text-secondary, #888); line-height: 1.4; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.r-popup-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.r-popup-link { display: inline-block; font-size: 0.8rem; font-weight: 600; color: var(--gold); text-decoration: none; }
.r-popup-link:hover { text-decoration: underline; }
.r-popup-link--directions { color: #27ae60; }
.r-popup-link--order { color: #e67e22; }

/* Map filter bar */
.map-filter-bar {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 14px 0 4px; font-size: 0.82rem; color: var(--text-muted);
  position: relative; z-index: 1;
}
.map-clear-btn {
  padding: 5px 14px; border-radius: 50px; font-size: 0.78rem; font-weight: 600;
  background: rgba(231,76,60,0.08); color: #e74c3c; border: 1px solid rgba(231,76,60,0.2);
  cursor: pointer; transition: all var(--transition-fast);
}
.map-clear-btn:hover { background: #e74c3c; color: #fff; border-color: #e74c3c; }

/* Map legend (below map) */
.map-legend {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
}
.map-legend-item {
  display: flex; align-items: center; gap: 10px; padding: 12px 18px;
  background: var(--bg-card); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  cursor: pointer; transition: all var(--transition-fast);
  position: relative; overflow: hidden;
}
.map-legend-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(200,168,78,0.08), transparent);
  opacity: 0; transition: opacity var(--transition-fast);
}
.map-legend-item:hover::after, .map-legend-item.active::after { opacity: 1; }
.map-legend-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.map-legend-item.active { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.legend-dot {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
  box-shadow: 0 0 6px rgba(0,0,0,0.15);
}
.legend-info { flex: 1; display: flex; align-items: center; gap: 8px; position: relative; z-index: 1; }
.legend-name { font-weight: 600; font-size: 0.85rem; }
.legend-count {
  font-size: 0.72rem; color: var(--text-muted); background: var(--bg);
  padding: 2px 9px; border-radius: 20px; font-weight: 600;
  transition: background var(--transition);
}

/* ═══════════════════════════════════════════════════════════ */
/*  FILTER BAR (GLASSMORPHISM)                                */
/* ═══════════════════════════════════════════════════════════ */
.filter-section {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
  padding: 0 20px;
}
.filter-section.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}
.filter-bar {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 0; flex-wrap: wrap;
}
.search-box {
  position: relative; flex: 1 1 220px; min-width: 180px;
}
.search-box input {
  width: 100%; padding: 10px 16px 10px 42px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 50px; font-size: 0.9rem; color: var(--text);
  transition: all var(--transition-fast);
  font-family: var(--font-body);
  outline: none;
}
.search-box input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,168,78,0.15); }
.search-box input::placeholder { color: var(--text-muted); }
.search-box svg {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; stroke: var(--text-muted); fill: none;
  pointer-events: none;
}
.search-shortcut {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  font-size: 0.7rem; color: var(--text-muted); background: var(--bg-card);
  padding: 2px 8px; border-radius: 4px; border: 1px solid var(--border);
  pointer-events: none; font-weight: 600;
}

.filter-pills { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pill {
  padding: 7px 16px; border-radius: 50px; font-size: 0.8rem; font-weight: 500;
  background: var(--bg); border: 1px solid var(--border); color: var(--text-secondary);
  transition: all var(--transition-fast); white-space: nowrap;
  position: relative; overflow: hidden;
}
.pill:hover { border-color: var(--gold); color: var(--gold); }
.pill.active { background: var(--gold); color: #fff; border-color: var(--gold); box-shadow: 0 2px 10px rgba(200,168,78,0.3); }
.pill .count {
  display: inline-block; background: rgba(255,255,255,0.25); font-size: 0.7rem;
  padding: 1px 7px; border-radius: 20px; margin-left: 5px; font-weight: 600;
}
.pill.active .count { background: rgba(255,255,255,0.3); }

.filter-actions { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.filter-btn {
  width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--bg); border: 1px solid var(--border); color: var(--text-secondary);
  transition: all var(--transition-fast);
  position: relative;
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.active { background: var(--gold); color: #fff; border-color: var(--gold); }
.filter-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; }
.filter-btn .badge {
  position: absolute; top: -4px; right: -4px;
  background: #e74c3c; color: #fff; font-size: 0.6rem; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transform: scale(0); transition: transform 0.25s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.filter-btn .badge.show { transform: scale(1); }

.sort-select {
  padding: 8px 32px 8px 12px; border-radius: 50px; font-size: 0.8rem;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1px solid var(--border); color: var(--text); font-family: var(--font-body);
  appearance: none; cursor: pointer; outline: none;
  transition: all var(--transition-fast);
}
.sort-select:focus { border-color: var(--gold); }

.cuisine-select {
  padding: 8px 32px 8px 12px; border-radius: 50px; font-size: 0.8rem;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1px solid var(--border); color: var(--text); font-family: var(--font-body);
  appearance: none; cursor: pointer; outline: none;
  transition: all var(--transition-fast);
}
.cuisine-select:focus { border-color: var(--gold); }

/* ═══════════════════════════════════════════════════════════ */
/*  RESULTS INFO BAR                                          */
/* ═══════════════════════════════════════════════════════════ */
.results-bar {
  max-width: var(--max-w); margin: 24px auto 8px; padding: 0 20px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem; color: var(--text-secondary);
}
.results-count span { font-weight: 600; color: var(--gold); }
.clear-filters {
  color: var(--gold); font-weight: 600; cursor: pointer; font-size: 0.8rem;
  padding: 4px 12px; border-radius: 20px; transition: all var(--transition-fast);
  border: 1px solid transparent;
}
.clear-filters:hover { background: rgba(200,168,78,0.1); border-color: var(--gold); }

/* ═══════════════════════════════════════════════════════════ */
/*  CARD GRID & LIST                                          */
/* ═══════════════════════════════════════════════════════════ */
.restaurant-section {
  max-width: var(--max-w); margin: 0 auto; padding: 16px 20px 80px;
}
.restaurant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 24px;
}
.restaurant-grid.list-view {
  grid-template-columns: 1fr;
  gap: 16px;
}

/* ═══════════════════════════════════════════════════════════ */
/*  RESTAURANT CARD                                           */
/* ═══════════════════════════════════════════════════════════ */
.card {
  background: var(--bg-card); border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  overflow: hidden; position: relative;
  transition: all var(--transition);
  opacity: 0; transform: translateY(30px);
  cursor: pointer;
}
.card.visible { opacity: 1; transform: translateY(0); }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: rgba(200,168,78,0.2); }
.card.visible:hover { transform: translateY(-4px); }

.card-accent {
  height: 4px; background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  transition: height 0.3s ease;
}
.card:hover .card-accent { height: 6px; }

.card-body { padding: 24px 24px 20px; position: relative; }

.card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.card-top-left { flex: 1; min-width: 0; }
.card-town {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--gold); font-weight: 600; margin-bottom: 4px;
  display: flex; align-items: center; gap: 6px;
}
.card-town .town-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.card-name {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 600;
  line-height: 1.25; cursor: pointer; transition: color var(--transition-fast);
  padding-right: 8px;
}
.card-name:hover { color: var(--gold); }
.card-address { font-size: 0.8rem; color: var(--text-muted); margin-top: 3px; }

.card-actions { display: flex; gap: 6px; flex-shrink: 0; }
.card-fav, .card-compare-check {
  width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--bg); border: 1px solid var(--border);
  transition: all var(--transition-fast);
  font-size: 1rem;
  position: relative;
}
.card-fav:hover { border-color: #e74c3c; background: rgba(231,76,60,0.08); }
.card-fav.active { background: #e74c3c; border-color: #e74c3c; color: #fff; }
.card-fav.active .fav-heart { animation: heartPop 0.4s ease; }
@keyframes heartPop { 0%{transform:scale(1)} 40%{transform:scale(1.4)} 100%{transform:scale(1)} }
.card-compare-check:hover { border-color: var(--accent); background: rgba(45,106,79,0.08); }
.card-compare-check.active { background: var(--accent); border-color: var(--accent); color: #fff; }

.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tag {
  font-size: 0.72rem; padding: 4px 12px; border-radius: 20px; font-weight: 500;
  background: var(--bg); border: 1px solid var(--border); color: var(--text-secondary);
  transition: all var(--transition-fast);
}
.tag--cuisine { border-color: rgba(45,106,79,0.2); color: var(--accent); background: rgba(45,106,79,0.06); }
.tag--price { border-color: rgba(200,168,78,0.3); color: var(--gold-dark); background: rgba(200,168,78,0.06); font-weight: 700; letter-spacing: 0.03em; }
.tag--status { font-weight: 600; }
.tag--open { border-color: rgba(39,174,96,0.3); color: #27ae60; background: rgba(39,174,96,0.06); }
.tag--seasonal { border-color: rgba(243,156,18,0.3); color: #f39c12; background: rgba(243,156,18,0.06); }
.tag--byob { border-color: rgba(155,89,182,0.3); color: #9b59b6; background: rgba(155,89,182,0.06); }

.card-desc {
  font-size: 0.88rem; color: var(--text-secondary); line-height: 1.65;
  margin-bottom: 14px; font-weight: 300;
}

.card-awards { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.award-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.72rem; padding: 4px 12px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(200,168,78,0.1), rgba(200,168,78,0.05));
  border: 1px solid rgba(200,168,78,0.25); color: var(--gold-dark); font-weight: 600;
}
.award-badge::before { content: '★'; color: var(--gold); font-size: 0.8rem; }

.card-toggle {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.78rem; color: var(--gold); font-weight: 600;
  padding: 6px 0; cursor: pointer; transition: color var(--transition-fast);
  border: none; background: none;
}
.card-toggle:hover { color: var(--gold-dark); }
.card-toggle svg { width: 14px; height: 14px; transition: transform 0.3s ease; stroke: currentColor; fill: none; }
.card-toggle.open svg { transform: rotate(180deg); }

.card-details {
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  opacity: 0;
}
.card-details.open { opacity: 1; }
.card-details-inner { padding-top: 16px; border-top: 1px solid var(--border); }

.hours-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 6px; margin-bottom: 14px;
}
.hours-item {
  display: flex; justify-content: space-between; padding: 6px 10px;
  border-radius: var(--radius-xs); font-size: 0.78rem;
  background: var(--bg); transition: background var(--transition);
}
.hours-item.today { background: rgba(200,168,78,0.12); font-weight: 600; border: 1px solid rgba(200,168,78,0.2); }
.hours-day { font-weight: 600; color: var(--text); }
.hours-time { color: var(--text-muted); }

.card-note {
  font-size: 0.82rem; color: var(--text-secondary); font-style: italic;
  padding: 10px 14px; background: var(--bg); border-radius: var(--radius-xs);
  margin-bottom: 14px; border-left: 3px solid var(--gold);
  line-height: 1.6;
}

.card-links { display: flex; gap: 10px; flex-wrap: wrap; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem;
  padding: 7px 16px; border-radius: 50px; font-weight: 500;
  transition: all var(--transition-fast);
  border: 1px solid var(--border); color: var(--text-secondary);
}
.card-link:hover { border-color: var(--gold); color: var(--gold); background: rgba(200,168,78,0.05); }
.card-link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; }
.card-link--details { font-weight: 600; color: var(--gold); border-color: rgba(200,168,78,0.3); background: rgba(200,168,78,0.04); }
.card-link--details:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.card-link--details:hover svg { stroke: #fff; }
.card-link--directions { font-weight: 600; color: #27ae60; border-color: rgba(39,174,96,0.3); background: rgba(39,174,96,0.04); }
.card-link--directions:hover { background: #27ae60; color: #fff; border-color: #27ae60; }
.card-link--directions:hover svg { stroke: #fff; }
.card-link--order { font-weight: 600; color: #e67e22; border-color: rgba(230,126,34,0.3); background: rgba(230,126,34,0.04); }
.card-link--order:hover { background: #e67e22; color: #fff; border-color: #e67e22; }
.card-link--order:hover svg { stroke: #fff; }
.card-badge-res {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem;
  padding: 5px 12px; border-radius: 50px; font-weight: 500;
  border: 1px solid rgba(39,174,96,0.2); color: #27ae60;
  background: rgba(39,174,96,0.04); cursor: default;
}
.card-badge-res svg { width: 13px; height: 13px; stroke: #27ae60; fill: none; }

/* Card ripple effect */
.ripple {
  position: absolute; border-radius: 50%; background: rgba(200,168,78,0.15);
  transform: scale(0); animation: rippleAnim 0.6s ease-out;
  pointer-events: none;
}
@keyframes rippleAnim { to { transform: scale(4); opacity: 0; } }

/* ═══════════════════════════════════════════════════════════ */
/*  RESTAURANT DETAIL MODAL                                   */
/* ═══════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: var(--bg-modal);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  padding: 20px;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--bg-card); border-radius: var(--radius);
  width: 100%; max-width: 680px; max-height: 88vh; overflow-y: auto;
  box-shadow: 0 32px 80px rgba(0,0,0,0.35); border: 1px solid var(--border);
  transform: translateY(40px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-hero {
  position: relative; padding: 44px 32px 32px; overflow: hidden;
  background: linear-gradient(135deg, #0d1117, #131a2b, #0f2847);
  min-height: 180px;
}
.modal-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(200,168,78,0.12), transparent 70%);
}
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8); font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--transition-fast); z-index: 2;
  backdrop-filter: blur(10px);
}
.modal-close:hover { background: rgba(255,255,255,0.15); transform: rotate(90deg); color: #fff; }
.modal-hero-content { position: relative; z-index: 1; }
.modal-town {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--gold-light); margin-bottom: 8px; font-weight: 600;
}
.modal-name {
  font-family: var(--font-display); font-size: 1.85rem; font-weight: 700;
  color: #fff; line-height: 1.15; margin-bottom: 14px;
}
.modal-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.modal-tag {
  font-size: 0.72rem; padding: 4px 12px; border-radius: 20px;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.1); font-weight: 500;
}
.modal-tag--open { background: rgba(39,174,96,0.2); color: #4ade80; border-color: rgba(39,174,96,0.3); }
.modal-tag--closed { background: rgba(231,76,60,0.1); color: #f87171; border-color: rgba(231,76,60,0.2); }
.modal-hero-links {
  display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap;
}
.modal-hero-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 14px; border-radius: 20px; font-size: 0.72rem;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7); text-decoration: none;
  transition: all 0.2s ease; font-weight: 500;
}
.modal-hero-link:hover { background: rgba(200,168,78,0.12); border-color: rgba(200,168,78,0.3); color: var(--gold); }
.modal-hero-link svg { width: 13px; height: 13px; stroke: currentColor; fill: none; }
.modal-body { padding: 24px 32px 32px; }
.modal-section { margin-bottom: 22px; }
.modal-section:last-child { margin-bottom: 0; }
.modal-section-title {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 600;
  margin-bottom: 10px; display: flex; align-items: center; gap: 8px;
  color: var(--text);
}
.modal-section-title svg { width: 17px; height: 17px; stroke: var(--gold); fill: none; }
.modal-desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.75; font-weight: 300; }
.modal-hours-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 6px;
}
.modal-hours-item {
  display: flex; justify-content: space-between; padding: 7px 12px;
  border-radius: var(--radius-xs); background: var(--bg); font-size: 0.8rem;
  color: var(--text-secondary);
}
.modal-hours-item .hours-day { font-weight: 600; color: var(--text); min-width: 32px; }
.modal-hours-item .hours-time { text-align: right; }
.modal-hours-item.today { background: rgba(200,168,78,0.1); font-weight: 600; border: 1px solid rgba(200,168,78,0.15); }
.modal-hours-item.today .hours-day { color: var(--gold); }
.modal-note {
  padding: 14px 18px; background: var(--bg); border-radius: var(--radius-xs);
  border-left: 3px solid var(--gold); font-style: italic; font-size: 0.86rem;
  color: var(--text-secondary); line-height: 1.7;
}
.modal-awards { display: flex; flex-wrap: wrap; gap: 8px; }
.modal-award-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.76rem; padding: 6px 14px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(200,168,78,0.12), rgba(200,168,78,0.05));
  border: 1px solid rgba(200,168,78,0.25); color: var(--gold); font-weight: 600;
}
.modal-award-badge::before { content: '★'; color: var(--gold); }
.modal-actions {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.modal-action-btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 20px;
  border-radius: 50px; font-size: 0.82rem; font-weight: 600;
  transition: all var(--transition-fast); border: 1px solid var(--border);
  color: var(--text-secondary); text-decoration: none;
}
.modal-action-btn:hover { border-color: var(--gold); color: var(--gold); background: rgba(200,168,78,0.05); }
.modal-action-btn--primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #1a1a2e; border-color: var(--gold);
}
.modal-action-btn--primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; box-shadow: 0 4px 16px rgba(200,168,78,0.3); }
.modal-action-btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; }
@media(max-width:600px) {
  .modal { max-height: 92vh; }
  .modal-hero { padding: 36px 20px 24px; }
  .modal-body { padding: 20px; }
  .modal-name { font-size: 1.5rem; }
  .modal-hero-links { flex-wrap: wrap; }
  .modal-actions { gap: 6px; }
  .modal-action-btn { padding: 8px 16px; font-size: 0.78rem; }
}

/* ═══════════════════════════════════════════════════════════ */
/*  COMPARISON MODE                                           */
/* ═══════════════════════════════════════════════════════════ */
.compare-fab {
  position: fixed; bottom: 30px; right: 30px; z-index: 800;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff; font-size: 1.3rem; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--transition);
  border: none;
}
.compare-fab:hover { transform: scale(1.1); box-shadow: var(--shadow-xl); }
.compare-fab.active { background: linear-gradient(135deg, #c0392b, #e74c3c); }
.compare-fab svg { width: 22px; height: 22px; stroke: currentColor; fill: none; }
.compare-fab .fab-badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--gold); color: #1a1a2e; font-size: 0.65rem; font-weight: 700;
  width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transform: scale(0); transition: transform 0.25s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  border: 2px solid var(--bg);
}
.compare-fab .fab-badge.show { transform: scale(1); }

.compare-bottom-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 799;
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(1.4);
  border-top: 1px solid var(--border);
  padding: 12px 20px; display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap;
  transform: translateY(100%); transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.compare-bottom-bar.visible { transform: translateY(0); }
.compare-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 50px;
  padding: 6px 14px 6px 12px; font-size: 0.8rem; font-weight: 500;
  animation: chipIn 0.3s ease;
}
@keyframes chipIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.compare-chip-remove {
  width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(231,76,60,0.1); color: #e74c3c; font-size: 0.7rem; cursor: pointer;
  transition: all var(--transition-fast); border: none;
}
.compare-chip-remove:hover { background: #e74c3c; color: #fff; }
.compare-go-btn {
  padding: 8px 22px; border-radius: 50px; font-size: 0.85rem; font-weight: 600;
  background: var(--accent); color: #fff; border: none; cursor: pointer;
  transition: all var(--transition-fast);
}
.compare-go-btn:hover { background: var(--accent-light); box-shadow: 0 4px 16px rgba(45,106,79,0.3); }

/* Comparison Modal */
.compare-modal .modal { max-width: 1000px; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.compare-table th {
  padding: 12px 16px; text-align: left; border-bottom: 2px solid var(--border);
  font-weight: 600; color: var(--text-muted); font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.08em;
}
.compare-table td {
  padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .compare-name {
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--text);
}
.compare-table .compare-label { font-weight: 600; color: var(--text-muted); white-space: nowrap; width: 120px; }

/* ═══════════════════════════════════════════════════════════ */
/*  TOAST NOTIFICATIONS                                       */
/* ═══════════════════════════════════════════════════════════ */
.toast-container {
  position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%);
  z-index: 9500; display: flex; flex-direction: column; gap: 8px; align-items: center;
}
.toast {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 24px; font-size: 0.85rem; font-weight: 500;
  box-shadow: var(--shadow-lg); white-space: nowrap;
  animation: toastIn 0.35s ease, toastOut 0.35s ease 2.5s forwards;
  color: var(--text);
}
@keyframes toastIn { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes toastOut { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-10px); } }

/* ═══════════════════════════════════════════════════════════ */
/*  BACK TO TOP                                               */
/* ═══════════════════════════════════════════════════════════ */
.back-to-top {
  position: fixed; bottom: 30px; left: 30px; z-index: 800;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg-card); border: 1px solid var(--border);
  box-shadow: var(--shadow-md); color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--transition);
  opacity: 0; transform: translateY(20px); pointer-events: none;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.back-to-top.visible:hover { transform: translateY(-2px); }
.back-to-top svg { width: 18px; height: 18px; stroke: currentColor; fill: none; }

/* ═══════════════════════════════════════════════════════════ */
/*  KEYBOARD SHORTCUTS MODAL                                  */
/* ═══════════════════════════════════════════════════════════ */
.shortcuts-list { display: flex; flex-direction: column; gap: 10px; }
.shortcut-row { display: flex; align-items: center; justify-content: space-between; }
.shortcut-key {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  background: var(--bg); border: 1px solid var(--border); border-radius: 6px;
  padding: 4px 12px; font-family: var(--font-body);
  min-width: 40px; text-align: center;
  box-shadow: 0 2px 0 var(--border);
}
.shortcut-desc { font-size: 0.85rem; color: var(--text-secondary); }

/* ═══════════════════════════════════════════════════════════ */
/*  FOOTER                                                    */
/* ═══════════════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  color: var(--text-secondary); font-size: 0.8rem;
  max-width: var(--max-w); margin: 0 auto;
  padding: 60px 20px 30px;
}
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px; flex-wrap: wrap; padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer-brand-block { flex: 1 1 240px; min-width: 200px; }
.footer-brand {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  color: var(--text); margin-bottom: 8px;
}
.footer-brand span { color: var(--gold); }
.footer-tagline { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.6; max-width: 280px; }
.footer-cols { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col h4 {
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 600;
  color: var(--text); text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.footer-link {
  font-size: 0.82rem; color: var(--text-secondary);
  transition: color var(--transition-fast); cursor: pointer;
  background: none; border: none; padding: 0; font-family: inherit;
  display: block; text-align: left; text-decoration: none;
}
.footer-link:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 24px; text-align: center;
}
.footer-bottom p { margin-bottom: 6px; font-size: 0.82rem; }
.footer-copy { font-size: 0.72rem !important; color: var(--text-secondary); opacity: 0.8; }
.footer-mvv-badge {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  padding: 8px 18px; border-radius: 50px;
  background: rgba(200,168,78,0.08); border: 1px solid rgba(200,168,78,0.2);
  color: var(--gold); font-size: 0.8rem; font-weight: 600;
  text-decoration: none; transition: all 0.3s ease; letter-spacing: 0.02em;
}
.footer-mvv-badge:hover { background: rgba(200,168,78,0.15); border-color: rgba(200,168,78,0.4); }
.footer-legal { margin-top: 10px; font-size: 0.78rem; }
.footer-legal a { color: var(--text-muted); text-decoration: none; margin: 0 8px; }
.footer-legal a:hover { color: var(--gold); }
.footer-designed-by { margin-top: 14px; font-size: 0.72rem; color: var(--text-muted); opacity: 0.7; }
.footer-designed-by a { color: var(--gold); text-decoration: none; }
.footer-designed-by a:hover { text-decoration: underline; }
@media(max-width:600px) {
  .footer-top { flex-direction: column; text-align: center; align-items: center; }
  .footer-tagline { max-width: none; }
  .footer-cols { justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════ */
/*  EMPTY STATE                                               */
/* ═══════════════════════════════════════════════════════════ */
.empty-state {
  text-align: center; padding: 80px 20px; color: var(--text-muted);
}
.empty-state-icon { font-size: 3rem; margin-bottom: 16px; opacity: 0.4; }
.empty-state h3 { font-family: var(--font-display); font-size: 1.4rem; color: var(--text); margin-bottom: 8px; }
.empty-state p { font-size: 0.9rem; }

/* ═══════════════════════════════════════════════════════════ */
/*  RESPONSIVE                                                */
/* ═══════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════ */
/*  MOBILE FILTER DRAWER                                      */
/* ═══════════════════════════════════════════════════════════ */
/* Filter drawer — on desktop, display contents inline */
.filter-drawer {
  display: contents;
}

/* Mobile filter toggle — hidden on desktop */
.mobile-filter-toggle {
  display: none;
}

/* Desktop-only buttons */
.desktop-only { display: flex; }

@media(max-width:768px) {
  /* Show the mobile toggle button */
  .mobile-filter-toggle {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px; border-radius: 50px;
    background: var(--bg); border: 1px solid var(--border);
    color: var(--text-secondary); font-size: 0.82rem; font-weight: 600;
    transition: all var(--transition-fast); cursor: pointer;
    font-family: var(--font-body); white-space: nowrap;
    flex-shrink: 0;
  }
  .mobile-filter-toggle:hover { border-color: var(--gold); color: var(--gold); }
  .mobile-filter-toggle.active {
    background: var(--gold); color: #fff; border-color: var(--gold);
  }
  .mobile-filter-count {
    display: none; font-size: 0.68rem; font-weight: 700;
    background: var(--gold); color: #1a1a2e; padding: 1px 7px;
    border-radius: 20px; min-width: 18px; text-align: center;
  }
  .mobile-filter-toggle.has-filters .mobile-filter-count { display: inline-block; }
  .mobile-filter-toggle.active .mobile-filter-count {
    background: rgba(255,255,255,0.3); color: #fff;
  }

  /* Filter drawer — collapsible on mobile */
  .filter-drawer {
    display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
    width: 100%; order: 10;
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.25s ease,
                padding 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
  }
  .filter-drawer.open {
    max-height: 400px; opacity: 1;
    padding: 12px 0 4px;
  }

  /* Make pill rows horizontally scrollable on mobile */
  .filter-drawer .filter-pills {
    flex-wrap: nowrap; overflow-x: auto; width: 100%;
    padding-bottom: 4px; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filter-drawer .filter-pills::-webkit-scrollbar { display: none; }

  /* Selects go full width in drawer */
  .filter-drawer .cuisine-select,
  .filter-drawer .sort-select {
    flex: 1; min-width: 0;
  }

  /* Compact filter bar on mobile */
  .filter-bar {
    gap: 8px; padding: 10px 0;
  }

  /* Search box takes remaining space */
  .search-box { flex: 1 1 0; min-width: 0; }

  /* Compact search on mobile when scrolled */
  .filter-section.scrolled .filter-bar { padding: 8px 0; }
  .filter-section.scrolled .search-box input { padding: 8px 14px 8px 38px; font-size: 0.85rem; }

  /* Hide grid/list toggles on mobile */
  .desktop-only { display: none !important; }

  /* Filter actions compact */
  .filter-actions { margin-left: auto; gap: 6px; flex-shrink: 0; width: auto; }

  /* Hide keyboard shortcut hint on mobile */
  .search-shortcut { display: none; }
}

@media(max-width:900px) {
  .restaurant-grid { grid-template-columns: 1fr; }
  .map-legend { justify-content: center; }
  .map-legend-item { flex: 0 0 auto; }
  .hero-stats { gap: 28px; }
  .compare-fab { bottom: 20px; right: 20px; width: 48px; height: 48px; }
}
@media(max-width:600px) {
  .card-body { padding: 18px; }
  .modal-hero { padding: 32px 24px 28px; }
  .modal-body { padding: 24px; }
  .modal-name { font-size: 1.5rem; }
  .hero h1 { font-size: 2.2rem; }
  .hero-stats { gap: 20px; }
  .hero-stat-num { font-size: 1.8rem; }
}

/* Reduced motion */
@media(prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ═══════════════════════════════════════════════════════════ */
/*  SEARCH AUTOCOMPLETE                                       */
/* ═══════════════════════════════════════════════════════════ */
.search-autocomplete {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); max-height: 380px; overflow-y: auto; z-index: 200;
  display: none; animation: acFadeIn 0.2s ease;
}
.search-autocomplete.visible { display: block; }
@keyframes acFadeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.ac-item {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px;
  cursor: pointer; transition: background var(--transition-fast);
  border-bottom: 1px solid var(--border);
}
.ac-item:last-child { border-bottom: none; }
.ac-item:hover, .ac-item.ac-active { background: rgba(200,168,78,0.06); }
.ac-thumb {
  width: 48px; height: 48px; border-radius: var(--radius-xs); object-fit: cover;
  background: var(--bg); flex-shrink: 0;
}
.ac-thumb-placeholder {
  width: 48px; height: 48px; border-radius: var(--radius-xs); flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
}
.ac-info { flex: 1; min-width: 0; }
.ac-name { font-weight: 600; font-size: 0.9rem; color: var(--text); }
.ac-name mark { background: rgba(200,168,78,0.25); color: inherit; border-radius: 2px; padding: 0 2px; }
.ac-meta { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; display: flex; gap: 8px; align-items: center; }
.ac-meta .ac-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.ac-footer { padding: 10px 16px; text-align: center; font-size: 0.78rem; color: var(--text-muted); border-top: 1px solid var(--border); }
.ac-footer kbd { font-size: 0.7rem; background: var(--bg); border: 1px solid var(--border); border-radius: 3px; padding: 1px 6px; font-family: var(--font-body); }

/* ═══════════════════════════════════════════════════════════ */
/*  OPEN NOW BADGE                                            */
/* ═══════════════════════════════════════════════════════════ */
.tag--open-now {
  border-color: rgba(39,174,96,0.4); color: #fff; background: #27ae60;
  animation: openNowPulse 2s ease-in-out infinite;
}
.tag--open-now::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #fff; margin-right: 4px; }
@keyframes openNowPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(39,174,96,0.3); } 50% { box-shadow: 0 0 0 6px rgba(39,174,96,0); } }
.tag--closed-now {
  border-color: rgba(231,76,60,0.3); color: #e74c3c; background: rgba(231,76,60,0.06);
}

/* ═══════════════════════════════════════════════════════════ */
/*  PHOTO LIGHTBOX                                            */
/* ═══════════════════════════════════════════════════════════ */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.92); backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all 0.35s ease;
  cursor: zoom-out;
}
.lightbox-overlay.visible { opacity: 1; visibility: visible; }
.lightbox-img {
  max-width: 90vw; max-height: 85vh; border-radius: var(--radius);
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
  transform: scale(0.9); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  object-fit: contain;
}
.lightbox-overlay.visible .lightbox-img { transform: scale(1); }
.lightbox-caption {
  position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%);
  color: #fff; font-family: var(--font-display); font-size: 1.1rem;
  background: rgba(0,0,0,0.5); padding: 10px 28px; border-radius: 50px;
  backdrop-filter: blur(10px); white-space: nowrap;
}
.lightbox-close {
  position: fixed; top: 20px; right: 20px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; font-size: 1.3rem; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--transition-fast);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); transform: scale(1.1); }

/* ═══════════════════════════════════════════════════════════ */
/*  SHARE BUTTON                                              */
/* ═══════════════════════════════════════════════════════════ */
.card-share {
  width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--bg); border: 1px solid var(--border);
  transition: all var(--transition-fast); font-size: 0.9rem; color: var(--text-muted);
}
.card-share:hover { border-color: #3498db; color: #3498db; background: rgba(52,152,219,0.08); }
.card-share svg { width: 15px; height: 15px; stroke: currentColor; fill: none; }

/* ═══════════════════════════════════════════════════════════ */
/*  SURPRISE ME BUTTON                                        */
/* ═══════════════════════════════════════════════════════════ */
.surprise-me-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; border-radius: 50px;
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
  color: #fff; font-size: 0.82rem; font-weight: 600;
  box-shadow: 0 2px 12px rgba(155,89,182,0.3);
  transition: all var(--transition-fast); cursor: pointer; border: none;
  white-space: nowrap;
}
.surprise-me-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(155,89,182,0.4); background: linear-gradient(135deg, #8e44ad, #7d3c98); }
.surprise-me-btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; }
.surprise-me-btn.spinning svg { animation: diceSpin 0.6s ease; }
@keyframes diceSpin { 0% { transform: rotate(0deg); } 100% { transform: rotate(720deg); } }

/* ═══════════════════════════════════════════════════════════ */
/*  NEAR ME BUTTON                                            */
/* ═══════════════════════════════════════════════════════════ */
.near-me-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; border-radius: 50px;
  background: var(--bg); border: 1px solid var(--border);
  color: var(--text-secondary); font-size: 0.82rem; font-weight: 600;
  transition: all var(--transition-fast); cursor: pointer;
  white-space: nowrap;
}
.near-me-btn:hover { border-color: #3498db; color: #3498db; background: rgba(52,152,219,0.05); }
.near-me-btn.active { background: #3498db; color: #fff; border-color: #3498db; }
.near-me-btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; }
.near-me-btn.locating svg { animation: locatePulse 1s ease-in-out infinite; }
@keyframes locatePulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.distance-badge {
  font-size: 0.68rem; color: var(--text-muted); background: var(--bg);
  padding: 2px 8px; border-radius: 20px; border: 1px solid var(--border); margin-left: auto;
  font-weight: 500; white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════ */
/*  RECENTLY VIEWED                                           */
/* ═══════════════════════════════════════════════════════════ */
.recently-viewed {
  max-width: var(--max-w); margin: 0 auto; padding: 0 20px 16px;
  display: none;
}
.recently-viewed.visible { display: block; animation: acFadeIn 0.3s ease; }
.rv-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.rv-title { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }
.rv-clear { font-size: 0.75rem; color: var(--text-muted); cursor: pointer; transition: color var(--transition-fast); }
.rv-clear:hover { color: #e74c3c; }
.rv-strip {
  display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.rv-strip::-webkit-scrollbar { height: 4px; }
.rv-strip::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.rv-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 50px; white-space: nowrap;
  background: var(--bg-card); border: 1px solid var(--border);
  font-size: 0.8rem; font-weight: 500; color: var(--text);
  transition: all var(--transition-fast); cursor: pointer;
  flex-shrink: 0;
}
.rv-chip:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.rv-chip .rv-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════ */
/*  NEWSLETTER + DISCLAIMER COMBINED                          */
/* ═══════════════════════════════════════════════════════════ */
.newsletter-disclaimer-wrap {
  width: 100vw; margin-left: calc(-50vw + 50%); margin-bottom: 0;
  display: flex; flex-direction: column;
  background: linear-gradient(135deg, #0d1117, #131a2b, #0f2847);
  position: relative; border-top: 1px solid rgba(200,168,78,0.08);
}
.newsletter-disclaimer-wrap::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(200,168,78,0.07), transparent 60%);
}
.newsletter-section {
  max-width: 640px; margin: 0 auto; padding: 56px 40px 40px;
  text-align: center; position: relative;
}
.newsletter-section > * { position: relative; z-index: 1; }
.newsletter-title {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
  color: #fff; margin-bottom: 8px; letter-spacing: -0.01em;
}
.newsletter-desc {
  color: rgba(255,255,255,0.7); font-size: 0.88rem; margin-bottom: 24px;
  font-weight: 300; line-height: 1.6;
}
.newsletter-form { display: flex; gap: 10px; max-width: 420px; margin: 0 auto; }
.newsletter-input {
  flex: 1; padding: 11px 20px; border-radius: 50px; font-size: 0.88rem;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  color: #fff; font-family: var(--font-body); outline: none;
  transition: all var(--transition-fast);
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-input:focus { border-color: var(--gold); background: rgba(255,255,255,0.1); }
.newsletter-submit {
  padding: 11px 26px; border-radius: 50px; font-size: 0.84rem; font-weight: 700;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #1a1a2e; border: none; cursor: pointer;
  transition: all var(--transition-fast); white-space: nowrap;
}
.newsletter-submit:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(200,168,78,0.4); }
.newsletter-success { color: #2ecc71; font-size: 0.88rem; font-weight: 600; display: none; margin-top: 16px; }
@media(max-width:500px) {
  .newsletter-form { flex-direction: column; }
  .newsletter-section { padding: 36px 20px 28px; }
}

/* ═══════════════════════════════════════════════════════════ */
/*  SHOW MORE BUTTON                                          */
/* ═══════════════════════════════════════════════════════════ */
.show-more-wrap {
  text-align: center; padding: 40px 0 20px;
}
.show-more-showing {
  font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 14px;
}
.show-more-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 36px; border-radius: 50px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #1a1a2e; font-size: 0.95rem; font-weight: 700;
  border: none; cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-body);
}
.show-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(200,168,78,0.4);
}
.show-more-count {
  background: rgba(0,0,0,0.15); padding: 2px 10px;
  border-radius: 20px; font-size: 0.82rem;
}

/* ═══════════════════════════════════════════════════════════ */
/*  DISCLAIMER NOTICE                                         */
/* ═══════════════════════════════════════════════════════════ */
.disclaimer-section {
  position: relative; font-size: 0.82rem; color: rgba(255,255,255,0.45);
  line-height: 1.6;
}
.disclaimer-header {
  display: flex; align-items: center; cursor: pointer;
  max-width: 900px; margin: 0 auto;
  padding: 14px 40px; gap: 16px;
  border-top: 1px solid rgba(200,168,78,0.06);
  transition: background 0.2s ease;
}
.disclaimer-header:hover { background: rgba(200,168,78,0.03); }
.disclaimer-notice {
  flex: 1; display: flex; align-items: center; gap: 12px;
  margin: 0; font-size: 0.82rem; color: rgba(255,255,255,0.7);
}
.disclaimer-notice-icon {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: rgba(200,168,78,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.disclaimer-notice-icon svg { width: 14px; height: 14px; }
.disclaimer-notice-text { flex: 1; }
.disclaimer-links {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.disclaimer-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 14px; border-radius: 20px; font-size: 0.76rem;
  font-family: var(--font-body); text-decoration: none;
  white-space: nowrap; transition: all 0.2s ease; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
}
.disclaimer-pill:hover { background: rgba(200,168,78,0.12); border-color: rgba(200,168,78,0.3); color: var(--gold); }
.disclaimer-pill svg { width: 12px; height: 12px; transition: transform 0.3s ease; }
.disclaimer-pill--tos { color: var(--gold); border-color: rgba(200,168,78,0.2); background: rgba(200,168,78,0.06); }
.disclaimer-pill--tos:hover { background: rgba(200,168,78,0.15); border-color: rgba(200,168,78,0.4); }
.disclaimer-details {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease;
}
.disclaimer-details.open { max-height: 600px; }
.disclaimer-details-inner {
  max-width: 900px; margin: 0 auto;
  padding: 0 40px 24px;
  border-top: 1px solid rgba(200,168,78,0.06);
}
.disclaimer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px; padding-top: 16px;
}
.disclaimer-item {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 12px; border-radius: 8px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.04);
  transition: all var(--transition-fast);
}
.disclaimer-item:hover { background: rgba(200,168,78,0.06); border-color: rgba(200,168,78,0.12); }
.disclaimer-item-icon {
  width: 26px; height: 26px; border-radius: 6px; flex-shrink: 0;
  background: rgba(200,168,78,0.08); display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.disclaimer-item-icon svg { width: 13px; height: 13px; }
.disclaimer-item-text { font-size: 0.76rem; line-height: 1.5; color: rgba(255,255,255,0.6); }
.disclaimer-item-text strong { color: rgba(255,255,255,0.85); display: block; margin-bottom: 2px; font-size: 0.78rem; }
.disclaimer-section a { color: var(--gold); text-decoration: none; }
.disclaimer-section a:hover { text-decoration: underline; }
@media(max-width:600px) {
  .disclaimer-header { padding: 12px 24px; flex-wrap: wrap; }
  .disclaimer-notice { font-size: 0.76rem; }
  .disclaimer-links { width: 100%; justify-content: flex-end; margin-top: 6px; }
  .disclaimer-details-inner { padding: 0 24px 16px; }
  .disclaimer-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════ */
/*  ENHANCED CARD STAGGER                                     */
/* ═══════════════════════════════════════════════════════════ */
.card { will-change: transform, opacity; }
.card.visible { animation: cardReveal 0.5s cubic-bezier(0.4, 0, 0.2, 1) both; }
@keyframes cardReveal {
  from { opacity: 0; transform: translateY(30px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Card image hover zoom with overlay shine */
.card-image-wrap::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform 0.6s ease;
  pointer-events: none; z-index: 1;
}
.card:hover .card-image-wrap::after { transform: translateX(100%); }

/* Clickable images */
.card-image-wrap.clickable { cursor: pointer; }

/* Print styles */
@media print {
  .hero, .photo-strip, .atmosphere-section, .map-section, .filter-section, .compare-fab,
  .compare-bottom-bar, .back-to-top, .toast-container, .noise, #scrollProgress,
  .newsletter-section, .recently-viewed, .newsletter-disclaimer-wrap { display: none !important; }
  .card { break-inside: avoid; box-shadow: none !important; border: 1px solid #ddd !important; }
  .card-details { max-height: none !important; opacity: 1 !important; }
  body { background: #fff !important; }
}
