/* Bote — Public design system
   Covers: landing page, category grid, map view
   Does NOT depend on Bootstrap or shadcn.css
*/

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --paper:     #F8FAFC;
  --paper-2:   #F1F5F9;
  --card:      #FFFFFF;
  --ink:       #0F172A;
  --ink-2:     #334155;
  --ink-3:     #64748B;
  --line:      #E2E8F0;
  --line-2:    #CBD5E1;
  --accent:    #0F172A;
  --accent-ink:#FFFFFF;
  --accent-tint:#E2E8F0;
  --gold:      #475569;

  --sans:  "Inter", ui-sans-serif, system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono:  "Geist Mono", ui-monospace, monospace;

  --r-sm: 3px;
  --r-md: 5px;
  --r-lg: 8px;
  --r-xl: 12px;

  --pad:  clamp(20px, 4vw, 56px);
  --maxw: 1280px;

  --shadow-sm: 0 1px 0 rgba(15,23,42,.04), 0 1px 2px rgba(15,23,42,.04);
  --shadow-md: 0 1px 0 rgba(15,23,42,.04), 0 8px 24px -10px rgba(15,23,42,.18);
  --shadow-lg: 0 20px 60px -20px rgba(15,23,42,.22);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
ul { list-style: none; padding: 0; margin: 0; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section .eyebrow {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.section h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -.01em;
  margin: 0 0 12px;
}
.section .lede { color: var(--ink-2); max-width: 52ch; font-size: 17px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.bote-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248,250,252,.88);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.brand {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -.01em;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}
.brand .dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  transform: translateY(-2px);
}
.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  align-items: center;
}
.nav-links a { font-size: 14px; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  background: var(--ink);
  color: var(--paper);
  transition: background .15s;
  white-space: nowrap;
}
.btn:hover { background: #000; color: var(--paper); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { background: var(--paper-2); }
.btn.sm { padding: 7px 14px; font-size: 13px; }

/* ============================================================
   SEARCH BAR
   ============================================================ */
.search {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  background: var(--card);
  border-radius: var(--r-md);
  padding: 8px 8px 8px 24px;
  align-items: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.search .field { padding: 10px 18px 10px 0; }
.search .field + .field { border-left: 1px solid var(--line); padding-left: 22px; }
.search label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-3);
  margin-bottom: 2px;
}
.search input {
  width: 100%;
  border: 0;
  background: transparent;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  font-family: inherit;
}
.search input::placeholder { color: var(--ink-3); }
.search .go {
  background: var(--accent);
  color: var(--accent-ink);
  border: 0;
  border-radius: var(--r-sm);
  height: 52px;
  padding: 0 26px;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .15s;
  white-space: nowrap;
}
.search .go:hover { background: #1e293b; }

/* ============================================================
   HERO
   ============================================================ */
/* Legacy card-style hero (kept for fallback) */
.hero { padding: clamp(28px, 5vw, 56px) 0 clamp(56px, 8vw, 96px); }
.hero-card {
  position: relative;
  border-radius: var(--r-sm);
  overflow: hidden;
  min-height: 540px;
  display: flex;
  align-items: flex-end;
  padding: 56px;
  color: var(--paper);
  background: linear-gradient(160deg, #475569, #0F172A 100%);
}

/* Full-width video hero */
.hero--video {
  position: relative;
  padding: clamp(80px, 14vw, 160px) 0 clamp(64px, 10vw, 112px);
  overflow: hidden;
  color: var(--paper);
}
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,.45) 0%, rgba(15,23,42,.75) 100%);
  z-index: 1;
}
.hero--video .container { position: relative; z-index: 2; }

.hero-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,248,241,.6);
  margin-bottom: 40px;
}
.hero-content {
  width: 100%;
  max-width: 880px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 6.5vw, 88px);
  line-height: .96;
  letter-spacing: -.02em;
  margin: 0 0 12px;
  text-wrap: balance;
}
.hero h1 em { font-style: italic; color: var(--accent-tint); }
.hero p.kicker {
  font-size: 17px;
  margin: 0 0 28px;
  max-width: 54ch;
  color: rgba(255,248,241,.85);
}
.hero .search { color: var(--ink); }

/* ============================================================
   PROOF STRIP
   ============================================================ */
.proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proof-item .num {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: 4px;
}
.proof-item .label { font-size: 13px; color: var(--ink-3); }

/* ============================================================
   CATEGORY GRID
   ============================================================ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 40px;
}
.cat-card {
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 16px 18px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
  cursor: pointer;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.cat-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15,23,42,.55) 100%);
  z-index: 1;
}
.cat-card .cat-icon {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  font-size: 18px;
  color: rgba(255,255,255,.85);
}
.cat-card .cat-label {
  position: relative;
  z-index: 2;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
}
.cat-card .cat-count {
  position: relative;
  z-index: 2;
  font-size: 12px;
  color: rgba(255,255,255,.7);
  margin-top: 2px;
  font-family: var(--mono);
}

/* category colour backgrounds */
.ph { position: relative; overflow: hidden; }
.ph.clay  { background: linear-gradient(160deg,#D2997E,#8C4E36); }
.ph.ink   { background: linear-gradient(160deg,#5E5648,#2B2620); }
.ph.plum  { background: linear-gradient(160deg,#A48894,#533A4B); }
.ph.sand  { background: linear-gradient(160deg,#DCC9A2,#957E54); }
.ph.sage  { background: linear-gradient(160deg,#9AA988,#4E5B3F); }
.ph.cocoa { background: linear-gradient(160deg,#B59B7E,#5E4733); }
.ph.olive { background: linear-gradient(160deg,#A8A37A,#5E5B3A); }
.ph.fog   { background: linear-gradient(160deg,#C6BFAE,#6E6856); }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
}
.step-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.step h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  margin: 0 0 8px;
}
.step p { color: var(--ink-2); font-size: 15px; }

/* ============================================================
   SALON CARDS (featured + category grid)
   ============================================================ */
.salon-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
  cursor: pointer;
}
.salon-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.salon-thumb {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.salon-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.salon-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: var(--r-sm);
  font-family: var(--mono);
  letter-spacing: .04em;
}
.salon-badge.top-rated { background: #854d0e; }
.salon-badge.editors-pick { background: #1e3a5f; }
.salon-fav {
  position: absolute;
  top: 10px; right: 10px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  color: var(--ink-3);
  cursor: pointer;
  transition: color .15s;
}
.salon-fav:hover { color: #e11d48; }
.salon-body { padding: 14px 16px 16px; }
.salon-name {
  font-weight: 600;
  font-size: 15px;
  margin: 0 0 3px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.salon-price { color: var(--ink-3); font-size: 14px; white-space: nowrap; }
.salon-hood { font-size: 13px; color: var(--ink-3); margin-bottom: 8px; }
.salon-rating {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.star { color: #ca8a04; }
.salon-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 12px;
}
.tag {
  font-size: 12px;
  background: var(--paper-2);
  color: var(--ink-2);
  border-radius: var(--r-sm);
  padding: 3px 8px;
}
.salon-slot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.slot-time { font-size: 13px; color: var(--ink-2); }
.slot-time strong { color: var(--ink); }
.book-btn {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  background: none;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 6px 14px;
  transition: all .15s;
}
.book-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Featured picks grid */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

/* ============================================================
   CITIES GRID
   ============================================================ */
.cities-bg {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 32px;
}
.city-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px;
  transition: border-color .15s, box-shadow .15s;
}
.city-card:hover { border-color: var(--ink); box-shadow: var(--shadow-sm); }
.city-name {
  font-family: var(--serif);
  font-size: 20px;
  margin-bottom: 2px;
}
.city-count { font-size: 13px; color: var(--ink-3); font-family: var(--mono); }

/* ============================================================
   FOR PROFESSIONALS
   ============================================================ */
.pros-band {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-md);
  padding: clamp(40px, 6vw, 72px) clamp(32px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.pros-band h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.1;
  margin: 0 0 12px;
}
.pros-band p { color: var(--accent-tint); font-size: 16px; max-width: 48ch; }
.pros-band .btn-light {
  background: var(--paper);
  color: var(--ink);
  border: none;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--r-sm);
  white-space: nowrap;
  transition: background .15s;
  display: inline-flex; align-items: center; gap: 8px;
}
.pros-band .btn-light:hover { background: var(--paper-2); }

/* ============================================================
   FOOTER
   ============================================================ */
.bote-footer {
  border-top: 1px solid var(--line);
  background: var(--paper-2);
  padding: 64px 0 32px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.footer-grid h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  margin: 0 0 14px;
}
.footer-grid ul {
  display: flex; flex-direction: column; gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
}
.footer-grid li a:hover { color: var(--accent); text-decoration: underline; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  font-size: 12px;
  color: var(--ink-3);
}

/* ============================================================
   PILLS & UTILS
   ============================================================ */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line-2);
  background: var(--card);
  color: var(--ink-2);
  border-radius: var(--r-sm);
  padding: 6px 12px;
  font-size: 13px;
  white-space: nowrap;
  transition: all .15s;
  cursor: pointer;
}
.pill:hover { border-color: var(--ink); color: var(--ink); }
.pill.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.row { display: flex; gap: 12px; align-items: center; }
.muted { color: var(--ink-3); }

/* ============================================================
   CATEGORY / SEARCH PAGE
   ============================================================ */
.page-header {
  padding: 40px 0 32px;
  border-bottom: 1px solid var(--line);
}
.page-header h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -.01em;
  margin: 0 0 8px;
}
.breadcrumbs {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.breadcrumbs a { color: var(--ink-3); }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs span { margin: 0 6px; }

.city-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}
.city-strip::-webkit-scrollbar { display: none; }

.filter-bar {
  position: sticky;
  top: 68px;
  z-index: 40;
  background: rgba(248,250,252,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.filter-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.filter-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
}
.filter-pills::-webkit-scrollbar { display: none; }
.filter-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-size: 13px;
  color: var(--ink-3);
  padding-left: 12px;
  border-left: 1px solid var(--line);
}
.view-toggle {
  display: flex;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.view-toggle a {
  padding: 6px 10px;
  font-size: 13px;
  color: var(--ink-3);
  background: var(--card);
  display: flex; align-items: center;
}
.view-toggle a.active { background: var(--ink); color: var(--paper); }
.view-toggle a:hover:not(.active) { background: var(--paper-2); }

.salon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 32px 0;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 24px 0 48px;
}
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  font-size: 14px;
  color: var(--ink-2);
  background: var(--card);
  transition: all .15s;
}
.pagination a:hover { border-color: var(--ink); color: var(--ink); }
.pagination .current { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ============================================================
   MAP PAGE
   ============================================================ */
.map-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  height: calc(100vh - 68px - 55px);
  overflow: hidden;
}
.map-sidebar {
  overflow-y: auto;
  border-right: 1px solid var(--line);
  background: var(--paper);
}
.map-sidebar-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 5;
}
.map-sidebar-header h2 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 2px;
}
.map-sidebar-header p { font-size: 13px; color: var(--ink-3); margin: 0; }
.pin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
}
.pin-card {
  position: relative;
  background: var(--card);
  padding: 12px;
  cursor: pointer;
  transition: background .15s, box-shadow .15s;
}
.pin-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--map-category-color, var(--ink));
}
.pin-card:hover { background: var(--paper-2); }
.pin-card.active { background: var(--paper-2); outline: 2px solid var(--map-category-color, var(--ink)); outline-offset: -2px; }
.marker-clay { --map-category-color: #A65F46; }
.marker-ink { --map-category-color: #334155; }
.marker-plum { --map-category-color: #7C3F67; }
.marker-sand { --map-category-color: #A87823; }
.marker-sage { --map-category-color: #5F7A52; }
.marker-cocoa { --map-category-color: #7A563A; }
.marker-olive { --map-category-color: #6F7636; }
.marker-fog { --map-category-color: #6B7280; }
.pin-num {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: .06em;
  margin-bottom: 6px;
}
.pin-thumb {
  aspect-ratio: 4/3;
  border-radius: var(--r-sm);
  overflow: hidden;
  margin-bottom: 8px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--paper-2);
  border: 1px solid var(--line);
}
.pin-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.pin-name { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.pin-hood { font-size: 12px; color: var(--ink-3); margin-bottom: 4px; }
.pin-rating { font-size: 12px; display: flex; align-items: center; gap: 4px; }

.map-frame { position: relative; }
#bote-map { width: 100%; height: 100%; }

/* Leaflet popup override */
.leaflet-popup-content-wrapper {
  border-radius: var(--r-md) !important;
  box-shadow: var(--shadow-lg) !important;
  border: 1px solid var(--line) !important;
  padding: 0 !important;
  overflow: hidden;
}
.leaflet-popup-content { margin: 0 !important; width: 260px !important; }
.map-popup { padding: 16px; }
.map-popup-name { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.map-popup-meta { font-size: 13px; color: var(--ink-3); margin-bottom: 10px; }
.map-popup .book-btn { width: 100%; justify-content: center; text-align: center; }
.leaflet-popup-tip-container { display: none; }

/* Price marker on map */
.price-marker {
  background: var(--map-category-color, var(--ink));
  color: var(--paper);
  font-family: var(--mono);
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  min-width: 68px;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  padding: 6px 8px;
  border-radius: var(--r-sm);
  border: 2px solid var(--paper);
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: background .15s, transform .1s;
}
.price-marker-value {
  font-size: 13px;
  letter-spacing: 0;
}
.price-marker-currency {
  font-size: 9px;
  color: rgba(255,255,255,.72);
}
.price-marker:hover { filter: brightness(.9); transform: scale(1.08); }


/* ============================================================
   SALON DETAIL PAGE
   ============================================================ */
.salon-detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}
.salon-booking-panel { position: sticky; top: 88px; }

/* ============================================================
   MAP FILTER BAR — responsive
   ============================================================ */
.map-filter-form {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.map-filter-inputs {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.map-text-input {
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 6px 12px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  background: var(--card);
  color: var(--ink);
}
.map-text-input:focus { border-color: var(--ink); }
.map-text-input:first-child { width: 150px; }
.map-text-input:last-child  { width: 120px; }
.map-filter-pills { flex: 1; min-width: 0; }
.map-filter-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* ============================================================
   CITY AUTOCOMPLETE
   ============================================================ */
.autocomplete-wrap { position: relative; }
.autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  z-index: 1200;
  max-height: 220px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.autocomplete-item {
  padding: 9px 14px;
  font-size: 14px;
  cursor: pointer;
  color: var(--ink-2);
  transition: background .1s;
}
.autocomplete-item:hover,
.autocomplete-item.highlighted {
  background: var(--paper-2);
  color: var(--ink);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .salon-grid { grid-template-columns: repeat(2, 1fr); }
  .map-layout { grid-template-columns: 320px 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 28px; }
  .salon-detail-grid { grid-template-columns: 1fr 300px; gap: 28px; }
}
@media (max-width: 768px) {
  .hero--video { padding: clamp(56px,10vw,80px) 0 clamp(40px,7vw,56px); }
  .hero-meta { display: none; }
  .search { grid-template-columns: 1fr; gap: 0; }
  .search .field + .field { border-left: none; border-top: 1px solid var(--line); padding-left: 0; }
  .search .go { width: 100%; height: 44px; justify-content: center; margin-top: 8px; }
  .proof { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-grid { grid-template-columns: 1fr; }
  .cities-grid { grid-template-columns: repeat(2, 1fr); }
  .pros-band { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .salon-grid { grid-template-columns: 1fr; }
  .map-layout { grid-template-columns: 1fr; grid-template-rows: 50vh 1fr; }
  .map-sidebar { height: auto; border-right: none; border-bottom: 1px solid var(--line); }
  .map-filter-form { flex-direction: column; align-items: stretch; }
  .map-filter-inputs { width: 100%; }
  .map-text-input:first-child, .map-text-input:last-child { flex: 1; width: auto; }
  .map-filter-pills { overflow-x: auto; }
  .map-filter-actions { justify-content: space-between; }
  .salon-detail-grid { grid-template-columns: 1fr; }
  .salon-booking-panel { position: static; }
}
