/* UrbanEater design tokens */
:root {
  --bg: #FFFFFF;
  --bg-2: #F5F7F7;
  --card: #FFFFFF;
  --ink: #1E2A2A;
  --ink-2: #4A5757;
  --ink-3: #7C8989;
  --line: #E6EAEA;
  --line-2: #D2D8D8;
  --primary: #26A69A;
  --primary-deep: #1B8278;
  --primary-soft: #D7EFEC;
  --accent: #FF7043;
  --accent-soft: #FFE3D6;
  --sage: #4A7C59;
  --sage-soft: #D9E6DC;

  --serif: 'Poppins', system-ui, -apple-system, sans-serif;
  --sans: 'Poppins', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', monospace;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(30, 42, 42, 0.04), 0 1px 3px rgba(30, 42, 42, 0.06);
  --shadow: 0 4px 14px rgba(30, 42, 42, 0.06), 0 2px 4px rgba(30, 42, 42, 0.04);
  --shadow-lg: 0 24px 48px -12px rgba(30, 42, 42, 0.18);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01', 'ss02';
  line-height: 1.5;
}

button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

.serif { font-family: var(--serif); font-weight: 600; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.italic { font-style: italic; }

/* Responsive grid utilities */
.ue-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ue-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ue-grid-split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: center; }
.ue-grid-3-stats { grid-template-columns: repeat(3, 1fr) !important; }
@media (max-width: 1100px) {
  .ue-grid-3 { grid-template-columns: 1fr 1fr; }
  .ue-grid-split { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 820px) {
  .ue-grid-3-stats { grid-template-columns: repeat(3, 1fr) !important; gap: 12px !important; }
}
@media (max-width: 720px) {
  .ue-grid-3, .ue-grid-2 { grid-template-columns: 1fr; gap: 14px; }
  .ue-grid-3-stats { grid-template-columns: 1fr 1fr !important; }
}

/* ============ HEADER ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  flex-shrink: 0;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--primary);
  display: grid;
  place-items: center;
  color: #FFFFFF;
  position: relative;
}
.brand-mark::after {
  content: '';
  position: absolute;
  bottom: -2px; right: -2px;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid var(--bg);
}
.brand-name {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.brand-name em {
  font-style: normal;
  font-weight: 700;
  color: var(--primary);
}

.header-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 4px 4px 18px;
  max-width: 560px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.header-search:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(220, 70, 40, 0.12);
}
.header-search input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  padding: 8px 0;
  min-width: 0;
}
.header-search input::placeholder { color: var(--ink-3); }
.header-search-divider {
  width: 1px;
  height: 22px;
  background: var(--line);
  margin: 0 12px;
}
.header-search-btn {
  background: var(--primary);
  color: var(--bg);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.15s;
}
.header-search-btn:hover { background: var(--primary-deep); }

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.nav-link {
  font-size: 13.5px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink-2);
  transition: background 0.15s, color 0.15s;
}
.nav-link:hover { background: var(--bg-2); color: var(--ink); }

.btn-primary {
  background: var(--ink);
  color: var(--bg);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.15s, transform 0.15s;
}
.btn-primary:hover { background: var(--primary); }
.btn-primary:active { transform: translateY(1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-2);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}
.nav-link { white-space: nowrap; }
.btn-ghost:hover { background: var(--bg-2); border-color: var(--ink); }

/* Hamburger (mobile only) */
.nav-burger {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}
.nav-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 16px;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  animation: drawerIn 0.18s ease-out;
}
@keyframes drawerIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.mobile-drawer-search {
  display: flex;
  align-items: center;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 4px 4px 16px;
  margin-bottom: 8px;
}
.mobile-drawer-search input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  font: inherit;
  font-size: 14px;
  padding: 8px 0;
  color: var(--ink);
  min-width: 0;
}
.mobile-drawer-search button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.mobile-drawer-link {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}
.mobile-drawer-link:hover { background: var(--bg-2); }
.mobile-drawer-divider {
  height: 1px;
  background: var(--line);
  margin: 8px 0;
}
.mobile-drawer-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  border: 1px solid transparent;
  margin-top: 4px;
}
.mobile-drawer-btn.ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.mobile-drawer-btn.primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
body.nav-drawer-open { overflow: hidden; }

/* ============ HOMEPAGE ============ */
/* ============ HERO (slideshow) ============ */
.hero {
  position: relative;
  height: 720px;
  max-height: 92vh;
  min-height: 580px;
  margin: 0 auto;
  overflow: hidden;
  background: #0E1414;
  border-bottom: 1px solid var(--line);
}
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  animation: heroSlide 30s infinite cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-slide:nth-child(3) { animation-delay: 12s; }
.hero-slide:nth-child(4) { animation-delay: 18s; }
.hero-slide:nth-child(5) { animation-delay: 24s; }
@keyframes heroSlide {
  0%   { opacity: 0; transform: scale(1.0); }
  3%   { opacity: 1; }
  20%  { opacity: 1; transform: scale(1.10); }
  23%  { opacity: 0; transform: scale(1.12); }
  100% { opacity: 0; transform: scale(1.12); }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.20) 0%, rgba(0,0,0,0.05) 35%, rgba(0,0,0,0.55) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.15) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  height: 100%;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #FFFFFF;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,0.95);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--accent);
}

.hero h1 {
  font-family: var(--sans);
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
  font-weight: 700;
  color: #FFFFFF;
  text-shadow: 0 2px 30px rgba(0,0,0,0.35);
  max-width: 820px;
}
.hero h1 em {
  font-style: normal;
  font-weight: 700;
  color: var(--accent);
}

.hero p.lede {
  font-size: 18px;
  color: rgba(255,255,255,0.92);
  max-width: 540px;
  line-height: 1.55;
  margin: 0 0 36px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.35);
}

.hero-search {
  background: rgba(255,255,255,0.97);
  border-radius: var(--radius-lg);
  padding: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0;
  box-shadow: 0 18px 40px rgba(0,0,0,0.25), 0 2px 6px rgba(0,0,0,0.1);
  max-width: 620px;
  backdrop-filter: blur(8px);
}
.hero-search-field {
  padding: 12px 18px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-search-field:last-of-type { border-right: none; }
.hero-search-field label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-3);
}
.hero-search-field input,
.hero-search-field select {
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
  font-weight: 500;
  padding: 0;
  cursor: pointer;
  color: var(--ink);
}
.hero-search-btn {
  background: var(--primary);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius);
  padding: 0 22px;
  font-weight: 600;
  display: grid;
  place-items: center;
  margin: 4px;
  font-size: 14px;
  white-space: nowrap;
  min-width: 130px;
  cursor: pointer;
  transition: background 0.15s;
}
.hero-search-btn:hover { background: var(--primary-deep); }

.hero-meta {
  margin-top: 28px;
  display: flex;
  gap: 28px;
  color: rgba(255,255,255,0.75);
  font-size: 13px;
}
.hero-meta strong { color: #FFFFFF; font-weight: 600; }

/* Progress dots */
.hero-progress {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.hero-dot {
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.3);
  animation: heroDot 30s infinite;
}
.hero-dot:nth-child(1) { animation-delay: 0s; }
.hero-dot:nth-child(2) { animation-delay: 6s; }
.hero-dot:nth-child(3) { animation-delay: 12s; }
.hero-dot:nth-child(4) { animation-delay: 18s; }
.hero-dot:nth-child(5) { animation-delay: 24s; }
@keyframes heroDot {
  0%   { background: rgba(255,255,255,0.3); }
  3%   { background: rgba(255,255,255,1); }
  20%  { background: rgba(255,255,255,1); }
  23%  { background: rgba(255,255,255,0.3); }
  100% { background: rgba(255,255,255,0.3); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-dot { animation: none; }
  .hero-slide:nth-child(1) { opacity: 1; }
}

/* Trending cards (homepage) */
.trending-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  display: block;
  transition: transform 0.15s, box-shadow 0.15s;
  color: inherit;
}
.trending-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.trending-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.trending-card-body { padding: 18px; }
.trending-card-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; gap: 8px; }
.trending-card-head h3 {
  font-family: var(--sans);
  font-size: 18px;
  margin: 0;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.trending-card-sub { font-size: 13px; color: var(--ink-3); margin-bottom: 12px; }
.trending-card-tag { font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }

/* Categories — keep tiles tappable as links */
.cat-tile {
  display: block;
  color: inherit;
}

.section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 56px 32px;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 24px;
}
.section-head h2 {
  font-family: var(--sans);
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0;
  font-weight: 700;
}
.section-head h2 em { font-style: normal; color: var(--primary); }
.section-head .eyebrow {
  font-family: var(--mono);
  color: var(--ink-3);
  margin-bottom: 12px;
}
.section-head .link {
  font-size: 13.5px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 12px;
}
.cat-tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 12px 16px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.15s, background 0.15s;
}
.cat-tile:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  background: var(--primary-soft);
}
.cat-icon { font-size: 28px; line-height: 1; margin-bottom: 8px; }
.cat-name { font-size: 13px; font-weight: 500; }
.cat-count { font-size: 11px; color: var(--ink-3); margin-top: 2px; }

/* Featured cards */
.featured-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 20px;
}
.feature-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card);
  cursor: pointer;
  transition: transform 0.2s;
  aspect-ratio: 4 / 5;
  display: block;
  color: inherit;
}
.feature-card.large { aspect-ratio: auto; min-height: 540px; }
.feature-card:hover { transform: translateY(-4px); }
.feature-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.feature-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.7) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: white;
}
.feature-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--card);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  padding: 5px 10px;
  border-radius: 999px;
}
.feature-card h3 {
  font-family: var(--sans);
  font-size: 24px;
  line-height: 1.1;
  margin: 0 0 6px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.feature-card.large h3 { font-size: 36px; font-weight: 700; }
.feature-card-meta { font-size: 12.5px; opacity: 0.9; display: flex; gap: 8px; align-items: center; }
.feature-card-meta .dot { width: 3px; height: 3px; background: white; border-radius: 50%; }

/* Neighborhoods */
.neighborhoods {
  background: var(--ink);
  color: var(--bg);
  padding: 80px 0;
  margin: 80px 0 0;
}
.neighborhoods .section { padding-top: 0; padding-bottom: 0; }
.neighborhoods h2 { color: var(--bg); }
.neighborhoods h2 em { color: var(--accent); }
.neighborhoods .eyebrow { color: var(--accent); }
.neighborhood-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.hood-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 24px;
  cursor: pointer;
  display: block;
  color: inherit;
  transition: background 0.2s, border-color 0.2s;
}
.hood-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--accent);
}
.hood-name {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.hood-card .mono { color: var(--accent); margin-bottom: 16px; }
.hood-card .stats { display: flex; gap: 16px; font-size: 12.5px; color: rgba(255,255,255,0.7); }
.hood-card .stats strong { color: var(--bg); font-weight: 500; }

/* Business CTA */
.business-cta {
  margin: 80px auto;
  max-width: 1440px;
  padding: 0 32px;
}
.business-cta-inner {
  background: var(--primary);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.business-cta-inner::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}
.business-cta h2 {
  font-family: var(--sans);
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  font-weight: 700;
  color: #FFFFFF;
}
.business-cta h2 em { font-style: normal; color: var(--accent); }
.business-cta p {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  max-width: 480px;
  margin: 0 0 32px;
}
.business-cta-stats {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cta-stat {
  background: rgba(0, 0, 0, 0.25);
  color: #FFFFFF;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.1);
}
.cta-stat-num {
  font-family: var(--sans);
  font-size: 40px;
  line-height: 1;
  margin-bottom: 6px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.cta-stat-num em { font-style: normal; color: var(--accent); }
.cta-stat-label { font-size: 12.5px; color: rgba(255,255,255,0.7); }

.btn-business {
  background: #FFFFFF;
  color: var(--primary);
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.15s, transform 0.15s;
}
.btn-business:hover { background: var(--accent); color: #FFFFFF; }
.btn-business::after { content: '→'; transition: transform 0.2s; }
.btn-business:hover::after { transform: translateX(4px); }

/* Footer */
.footer {
  background: var(--bg-2);
  padding: 56px 32px 32px;
  border-top: 1px solid var(--line);
}
.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer h4 {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  margin: 0 0 16px;
  font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer a { font-size: 14px; color: var(--ink-2); }
.footer a:hover { color: var(--primary); }
.footer-bottom {
  max-width: 1440px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--ink-3);
}

/* ============ RESULTS PAGE ============ */
.results-wrap {
  display: grid;
  grid-template-columns: 260px 1fr 480px;
  height: calc(100vh - 73px);
  overflow: hidden;
  transition: grid-template-columns 0.25s ease;
}
.results-wrap.map-full {
  grid-template-columns: 260px 1fr;
}
.results-wrap.map-full .results-list {
  display: none;
}
.results-wrap.map-full .map-panel {
  grid-column: 2;
  grid-row: 1;
}
.filters-panel {
  border-right: 1px solid var(--line);
  background: var(--card);
  padding: 24px 24px 80px;
  overflow-y: auto;
}
.filters-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.filters-head h3 {
  font-family: var(--sans);
  font-size: 18px;
  margin: 0;
  font-weight: 600;
}
.filter-clear {
  font-size: 12px;
  color: var(--primary);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.filter-group {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.filter-group:last-child { border-bottom: none; }
.filter-label {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip {
  font-size: 12.5px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.12s;
  white-space: nowrap;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.price-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.price-btn {
  padding: 8px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--sans);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.12s;
}
.price-btn.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.toggle-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toggle-row label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13.5px;
}
.toggle-row input { accent-color: var(--primary); width: 16px; height: 16px; }

/* Results list */
.results-list {
  overflow-y: auto;
  padding: 24px 28px 80px;
  background: var(--bg);
}
.results-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.results-head h2 {
  font-family: var(--sans);
  font-size: 24px;
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.results-head h2 em { font-style: normal; color: var(--primary); }
.results-head .meta { font-size: 13px; color: var(--ink-3); }
.sort-row {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--ink-2);
}
.sort-row select {
  border: 1px solid var(--line-2);
  background: var(--card);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
}
.result-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 14px;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  position: relative;
}
.result-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.result-card.highlight {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.result-card-img {
  width: 100%; height: 100%;
  min-height: 160px;
  object-fit: cover;
  border-radius: var(--radius);
}
.result-card-body { display: flex; flex-direction: column; min-width: 0; }
.result-card-pin {
  background: var(--ink);
  color: var(--bg);
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 10px;
}
.result-card h3 {
  font-family: var(--sans);
  font-size: 19px;
  margin: 0 0 4px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.result-card .tagline {
  font-size: 13px;
  color: var(--ink-2);
  margin: 0 0 10px;
  line-height: 1.45;
}
.result-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--ink-2);
  margin-bottom: 10px;
  align-items: center;
}
.rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  color: var(--ink);
}
.star { color: var(--primary); }
.price-tag { color: var(--sage); font-weight: 500; }
.dot-sep { width: 3px; height: 3px; background: var(--ink-3); border-radius: 50%; }
.result-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
}
.tag {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--ink-2);
}
.tag.promo {
  background: var(--primary-soft);
  color: var(--primary-deep);
  font-weight: 500;
}
.tag.open {
  background: var(--sage-soft);
  color: var(--sage);
  font-weight: 500;
}
.tag.closed {
  background: var(--bg-2);
  color: var(--ink-3);
}

/* Save button */
.save-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 32px; height: 32px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: all 0.15s;
  z-index: 2;
}
.save-btn:hover { background: var(--bg-2); }
.save-btn.saved { background: var(--primary); color: var(--bg); border-color: var(--primary); }

/* Map */
.map-panel {
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
  border-left: 1px solid var(--line);
}

/* Google Maps wrapper + branded pin overlay */
.gmap-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  background: #E5E3DF;
  overflow: hidden;
}
.gmap-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}
.gmap-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 1;
  filter: saturate(0.92);
}
.gmap-overlay { z-index: 2; }
.gmap-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.gmap-pin {
  position: absolute;
  pointer-events: auto;
  transform: translate(-50%, -100%);
  cursor: pointer;
  z-index: 1;
}
.gmap-pin:hover, .gmap-pin.active { z-index: 50; }
.gmap-pin-marker {
  width: 34px;
  height: 42px;
  background: var(--primary);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: grid;
  place-items: center;
  border: 2.5px solid #FFFFFF;
  box-shadow: 0 4px 10px rgba(0,0,0,0.22), 0 0 0 0 rgba(38, 166, 154, 0);
  transition: transform 0.15s, box-shadow 0.2s, background 0.15s;
}
.gmap-pin-num {
  transform: rotate(45deg);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--sans);
  margin-top: -3px;
}
.gmap-pin:hover .gmap-pin-marker,
.gmap-pin.active .gmap-pin-marker {
  background: var(--accent);
  transform: rotate(-45deg) scale(1.15);
  box-shadow: 0 6px 14px rgba(0,0,0,0.3), 0 0 0 6px rgba(255, 112, 67, 0.22);
}
.gmap-pin-label {
  position: absolute;
  left: 50%;
  top: calc(100% + 2px);
  transform: translateX(-50%);
  background: #FFFFFF;
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  opacity: 0;
  transition: opacity 0.15s, transform 0.15s;
  pointer-events: none;
}
.gmap-pin:hover .gmap-pin-label,
.gmap-pin.active .gmap-pin-label {
  opacity: 0;
}

.gmap-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 14px);
  transform: translateX(-50%);
  width: 240px;
  background: #FFFFFF;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18), 0 2px 6px rgba(0,0,0,0.08);
  overflow: hidden;
  pointer-events: none;
  z-index: 100;
  animation: tipIn 0.12s ease-out;
}
.gmap-tooltip::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: #FFFFFF;
}
@keyframes tipIn { from { opacity: 0; transform: translate(-50%, 4px); } to { opacity: 1; transform: translate(-50%, 0); } }
.gmap-tooltip img { width: 100%; height: 110px; object-fit: cover; display: block; }
.gmap-tooltip-body { padding: 10px 12px 12px; }
.gmap-tooltip-name { font-weight: 600; font-size: 14px; margin-bottom: 2px; color: var(--ink); }
.gmap-tooltip-meta { font-size: 12px; color: var(--ink-2); }
.gmap-tooltip-meta .star { color: var(--primary); }
.gmap-tooltip-hood { font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }
.gmap-tooltip-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.gmap-tooltip-link:hover .gmap-tooltip-cta { color: var(--accent); }
.gmap-tooltip-cta {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.01em;
  transition: color 0.15s;
}
.gmap-tooltip-close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 0;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.gmap-tooltip-close:hover { background: rgba(0,0,0,0.75); }

/* Map toggle button */
.map-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--card);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.map-toggle:hover { background: var(--bg-2); color: var(--ink); border-color: var(--ink); }
.map-toggle-icon {
  display: inline-flex;
  width: 18px;
  height: 14px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.map-toggle-icon span {
  flex: 1;
  background: currentColor;
  opacity: 0.25;
  transition: opacity 0.2s, flex 0.2s;
}
.map-toggle-icon[data-mode="split"] span:nth-child(2) { background: currentColor; opacity: 0.9; }
.map-toggle-icon[data-mode="full"] span { opacity: 0.9; }
.map-toggle-icon[data-mode="full"] span:nth-child(1) { flex: 0; }

.map-toggle-floating {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 10;
  background: #FFFFFF;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

/* Full-map overlay list */
.map-overlay-list {
  position: absolute;
  top: 16px;
  right: 16px;
  bottom: 16px;
  width: 340px;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 10;
  border: 1px solid var(--line);
}
.map-overlay-list-head {
  padding: 14px 18px;
  font-size: 13px;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
}
.map-overlay-list-head strong { color: var(--ink); font-weight: 700; }
.map-overlay-list-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
}
.map-overlay-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  padding: 8px;
  border-radius: var(--radius);
  cursor: pointer;
  margin-bottom: 4px;
  transition: background 0.15s;
}
.map-overlay-card:hover, .map-overlay-card.highlight { background: var(--primary-soft); }
.map-overlay-card img { width: 80px; height: 80px; object-fit: cover; border-radius: var(--radius-sm); }
.map-overlay-card-body { display: flex; flex-direction: column; min-width: 0; position: relative; }
.map-overlay-card-pin {
  position: absolute;
  top: -2px;
  right: 0;
  width: 20px; height: 20px;
  background: var(--ink);
  color: #FFFFFF;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
}
.map-overlay-card-name {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  margin-bottom: 4px;
  padding-right: 26px;
  color: var(--ink);
}
.map-overlay-card-meta { font-size: 12px; color: var(--ink-2); margin-bottom: 2px; }
.map-overlay-card-meta .star { color: var(--primary); }
.map-overlay-card-hood { font-size: 11.5px; color: var(--ink-3); margin-top: auto; }

/* ============ DETAIL PAGE ============ */
.detail {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px;
}
.breadcrumbs {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-bottom: 24px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.breadcrumbs a { color: var(--ink-2); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs .sep { opacity: 0.5; }

.detail-gallery {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
}
.detail-gallery img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; transition: opacity 0.2s; }
.detail-gallery img:hover { opacity: 0.92; }
.detail-gallery .g1 { grid-row: 1 / 3; }
.detail-gallery .g4 { position: relative; }
.gallery-more {
  position: absolute;
  inset: 0;
  background: rgba(26,22,18,0.6);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 500;
  pointer-events: none;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: start;
}

.detail-header {
  margin-bottom: 32px;
}
.detail-eyebrow {
  display: flex;
  gap: 12px;
  align-items: center;
  font-family: var(--mono);
  color: var(--ink-3);
  margin-bottom: 12px;
}
.detail-eyebrow .cuisine { color: var(--primary); }
.detail h1 {
  font-family: var(--sans);
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  font-weight: 700;
}
.detail-tagline {
  font-family: var(--sans);
  font-style: italic;
  font-size: 19px;
  color: var(--ink-2);
  margin: 0 0 24px;
  line-height: 1.4;
  font-weight: 400;
}
.detail-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  color: var(--ink-2);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.detail-meta-row .rating { font-size: 16px; }

.detail-section {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.detail-section:last-child { border-bottom: none; }
.detail-section h2 {
  font-family: var(--sans);
  font-size: 24px;
  margin: 0 0 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.detail-section p { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; margin: 0; max-width: 64ch; }

/* Promotions */
.promos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.promo-card {
  background: var(--primary-soft);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid rgba(220, 70, 40, 0.15);
  position: relative;
}
.promo-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 9.5px;
  padding: 4px 8px;
  border-radius: 999px;
}
.promo-card h4 { font-family: var(--sans); font-size: 18px; margin: 0 0 4px; font-weight: 600; }
.promo-card p { font-size: 13.5px; color: var(--ink-2); margin: 0; }

/* Popular items */
.items-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.item-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.item-card img { width: 100px; height: 100px; object-fit: cover; border-radius: var(--radius-sm); }
.item-card-body { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.item-card h4 { font-family: var(--sans); font-size: 15px; margin: 0 0 2px; font-weight: 600; }
.item-card p { font-size: 12.5px; color: var(--ink-3); margin: 0 0 6px; line-height: 1.4; }
.item-price { font-size: 14px; font-weight: 500; color: var(--ink); }

/* Features grid */
.features-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.features-list li {
  list-style: none;
  font-size: 14px;
  color: var(--ink-2);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.features-list li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--primary);
  border-radius: 50%;
}

/* Sidebar */
.detail-sidebar {
  position: sticky;
  top: 105px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.detail-sidebar .cta-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.btn-order {
  background: var(--primary);
  color: var(--bg);
  padding: 14px 20px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  transition: background 0.15s;
}
.btn-order:hover { background: var(--primary-deep); }
.btn-website {
  background: transparent;
  color: var(--ink);
  padding: 12px 20px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 14px;
  border: 1px solid var(--line-2);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transition: background 0.15s, border-color 0.15s;
}
.btn-website:hover { background: var(--bg-2); border-color: var(--ink); }
.sidebar-block { padding: 16px 0; border-top: 1px solid var(--line); }
.sidebar-block:first-of-type { border-top: none; padding-top: 0; }
.sidebar-block .label {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.hours-table { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4px 12px; font-size: 13px; }
.hours-table .day { color: var(--ink-3); }
.hours-table .day.today { color: var(--primary); font-weight: 500; }
.hours-table .hrs { color: var(--ink-2); }
.hours-table .hrs.today { color: var(--ink); font-weight: 500; }

/* Sidebar mini-map */
.mini-map {
  width: 100%;
  aspect-ratio: 1.4 / 1;
  background: var(--bg-2);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  margin-bottom: 8px;
}

/* ============ AUTH MODAL ============ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 22, 18, 0.55);
  z-index: 100;
  display: grid;
  place-items: center;
  backdrop-filter: blur(4px);
  animation: fadeIn 0.18s ease-out;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.modal {
  background: var(--card);
  border-radius: var(--radius-xl);
  width: 480px;
  max-width: 90vw;
  max-height: 90vh;
  overflow: auto;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.22s ease-out;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-2);
  display: grid;
  place-items: center;
  font-size: 16px;
  z-index: 2;
}
.modal-close:hover { background: var(--line); }
.modal-body { padding: 40px; }
.modal h2 {
  font-family: var(--sans);
  font-size: 28px;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.modal h2 em { font-style: normal; color: var(--primary); }
.modal .sub { color: var(--ink-3); font-size: 14px; margin: 0 0 28px; }
.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  font-size: 14.5px;
  background: var(--card);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(220,70,40,0.12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn-submit {
  width: 100%;
  background: var(--ink);
  color: var(--bg);
  padding: 14px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  margin-top: 8px;
  transition: background 0.15s;
}
.btn-submit:hover { background: var(--primary); }
.divider {
  margin: 24px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-3);
  font-size: 12px;
}
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.oauth-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.oauth-btn {
  border: 1px solid var(--line-2);
  padding: 11px;
  border-radius: var(--radius);
  font-size: 13.5px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: var(--card);
  transition: background 0.15s;
}
.oauth-btn:hover { background: var(--bg-2); }
.modal-toggle {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-3);
}
.modal-toggle button { color: var(--primary); font-weight: 500; border-bottom: 1px solid currentColor; }

/* Banner / toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--bg);
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 13.5px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.22s ease-out;
}
.toast .check {
  width: 18px; height: 18px;
  background: var(--sage);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
}

/* Mobile / responsive */
@media (max-width: 1400px) {
  .results-wrap { grid-template-columns: 240px 1fr 380px; }
}
@media (max-width: 1200px) {
  .results-wrap { grid-template-columns: 220px 1fr; }
  .results-wrap .map-panel { display: none; }
  .results-wrap.map-full { grid-template-columns: 220px 1fr; }
  .results-wrap.map-full .filters-panel { grid-column: 1; }
  .results-wrap.map-full .results-list { display: none; }
  .results-wrap.map-full .map-panel { display: block; grid-column: 2; grid-row: 1; }
  .map-overlay-list { width: 280px; }
  .result-card { grid-template-columns: 180px 1fr; gap: 16px; }
}
@media (max-width: 980px) {
  .hero { height: 620px; min-height: 520px; }
  .hero h1 { font-size: 52px; }
  .featured-grid, .neighborhood-list { grid-template-columns: 1fr 1fr; }
  .categories-grid { grid-template-columns: repeat(5, 1fr); }
  .results-wrap { grid-template-columns: 1fr; height: auto; }
  .filters-panel { display: none; }
  .detail-grid { grid-template-columns: 1fr; }
  .result-card { grid-template-columns: 1fr; }
  .result-card-img { height: 200px; min-height: 200px; }
  .header-search { max-width: 280px; }
  .header-nav { display: none; }
  .nav-burger { display: flex; }
  .mobile-drawer:not([hidden]) { display: flex; }
  .detail-gallery { height: 360px; }
  .results-wrap.map-full { grid-template-columns: 1fr; height: calc(100vh - 73px); }
  .results-wrap.map-full .map-panel { grid-column: 1; }
  .map-overlay-list { width: auto; left: 16px; right: 16px; max-height: 50%; bottom: 16px; top: auto; }
}
@media (max-width: 720px) {
  .header-inner { padding: 12px 16px; gap: 12px; }
  .header-search { display: none; }
  .brand-name { font-size: 18px; }
  .brand-mark { width: 34px; height: 34px; }
  .hero { height: 560px; min-height: 480px; }
  .hero-content { padding: 0 16px; }
  .hero h1 { font-size: 40px; }
  .hero p.lede { font-size: 15px; }
  .hero-search { grid-template-columns: 1fr; max-width: 100%; }
  .hero-search-field { border-right: none; border-bottom: 1px solid var(--line); }
  .hero-search-btn { margin: 8px 4px; padding: 12px 22px; }
  .hero-meta { flex-wrap: wrap; gap: 16px; }
  .section { padding: 40px 16px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .section-head h2 { font-size: 28px; }
  .featured-grid, .neighborhood-list { grid-template-columns: 1fr; }
  .feature-card { aspect-ratio: 4 / 3; }
  .feature-card.large { min-height: 0; aspect-ratio: 4 / 3; }
  .feature-card.large h3 { font-size: 28px; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .business-cta { margin: 48px auto; padding: 0 16px; }
  .business-cta-inner { grid-template-columns: 1fr; padding: 36px 24px; gap: 28px; }
  .business-cta-stats { grid-template-columns: 1fr 1fr; }
  .neighborhoods { padding: 56px 0; margin-top: 48px; }
  .detail { padding: 16px; }
  .detail h1 { font-size: 34px; }
  .detail-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr 1fr; height: 380px; gap: 6px; }
  .detail-gallery .g1 { grid-row: 1 / 3; grid-column: 1 / 3; }
  .detail-meta-row { gap: 12px; font-size: 13px; }
  .promos, .items-grid, .features-list { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
  .detail-sidebar { position: static; padding: 20px; margin-top: 24px; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-gallery { height: 280px; }
}
