/* ============================================================
   LAVISH LIVING — Web App Design System
   v1.0 — UI Prototype
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

/* ── Tokens ── */
:root {
  --bg:          #0A0A0A;   /* near-pure black */
  --surface:     #141414;   /* raised dark */
  --surface-2:   #1C1C1C;
  --ink:         #FFFFFF;   /* white text / icons (also inverts to white buttons) */
  --ink-2:       #CFCFCF;   /* secondary text */
  --muted:       #8A8A8A;   /* tertiary text */
  --border:      #2A2A2A;   /* dark hairline */
  --border-2:    #3C3C3C;
  --gold:        #FFFFFF;   /* accent → white (pure B&W) */
  --gold-2:      #E2E2E2;   /* dim white */
  --gold-bg:     #1E1E1E;   /* dark tint (was accent wash) */
  --font-display:'Roboto', system-ui, sans-serif;
  --header-h:    58px;
  --chips-h:     45px;
  --bottom-nav:  60px;
  --max-w:       1280px;
  --gutter:      16px;
  --r-xs:        3px;
  --r-sm:        6px;
  --r-md:        10px;
  --r-lg:        13px;
  --r-xl:        18px;
  --r-pill:      999px;
  --shadow-xs:   0 1px 2px rgba(0,0,0,.4);
  --shadow-sm:   0 2px 8px rgba(0,0,0,.5), 0 1px 2px rgba(0,0,0,.4);
  --shadow-md:   0 8px 28px rgba(0,0,0,.55);
  --shadow-lg:   0 14px 44px rgba(0,0,0,.6);
  --shadow-xl:   0 24px 64px rgba(0,0,0,.7);
  --transition:  .22s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Roboto', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { display: block; max-width: 100%; }

/* ── Body spacing for header + bottom nav ── */
.app-body {
  padding-top: var(--header-h);
  padding-bottom: var(--bottom-nav);
  min-height: 100dvh;
}
@media (min-width: 768px) {
  .app-body { padding-bottom: 0; }
}

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── Utility ── */
.hide-mobile { display: none !important; }
@media (min-width: 768px) {
  .hide-mobile { display: unset !important; }
  .hide-desktop { display: none !important; }
}

/* ╔══════════════════════════════════════════╗
   ║  APP HEADER                              ║
   ╚══════════════════════════════════════════╝ */

.app-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  z-index: 200;
  box-shadow: var(--shadow-xs);
}

.app-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

/* Logo */
.app-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.logo-mark {
  width: 32px; height: 32px;
  background: var(--ink);
  color: white;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800;
  letter-spacing: -.5px;
}
.logo-name { display: none; font-size: 13px; letter-spacing: .01em; font-weight: 700; }
@media (min-width: 480px) { .logo-name { display: block; } }

/* City picker + Search (center) */
.header-center {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.city-btn {
  display: flex; align-items: center; gap: 5px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 6px 12px 6px 10px;
  font-size: 12px; font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color var(--transition);
}
.city-btn:hover { border-color: var(--ink); }
.city-btn svg { width: 14px; height: 14px; color: var(--muted); }

.header-search-wrap {
  flex: 1;
  position: relative;
  min-width: 0;
}
.header-search-input {
  width: 100%;
  height: 36px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  padding: 0 38px 0 14px;
  font-size: 13px;
  font-family: inherit;
  background: var(--surface-2);
  color: var(--ink);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}
.header-search-input:focus {
  border-color: var(--ink);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(0,0,0,.06);
}
.header-search-input::placeholder { color: var(--muted); font-size: 12px; }
.header-search-btn {
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  background: var(--ink); color: white;
  border: none; border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.header-search-btn svg { width: 14px; height: 14px; }

/* Right icons */
.header-right {
  display: flex; align-items: center; gap: 2px;
  flex-shrink: 0;
}
.header-icon-btn {
  width: 36px; height: 36px;
  border: none; background: none;
  cursor: pointer;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  position: relative;
  transition: background var(--transition);
}
.header-icon-btn:hover { background: var(--surface-2); }
.header-icon-btn svg { width: 20px; height: 20px; }
.h-badge {
  position: absolute;
  top: 4px; right: 4px;
  background: var(--gold);
  color: white;
  font-size: 8px; font-weight: 700;
  min-width: 14px; height: 14px;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
  border: 1.5px solid var(--surface);
}
.header-login-btn {
  display: none;
  padding: 7px 16px;
  background: var(--ink);
  color: white;
  border: none;
  border-radius: var(--r-pill);
  font-size: 12px; font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: opacity var(--transition);
}
.header-login-btn:hover { opacity: .85; }
@media (min-width: 640px) { .header-login-btn { display: block; } }

/* ╔══════════════════════════════════════════╗
   ║  HERO SEARCH                             ║
   ╚══════════════════════════════════════════╝ */

.hero {
  background: #0A0A18;
  padding: 32px var(--gutter) 40px;
  /* padding-top is overridden inline on the element to account for sticky header */
  position: relative;
  overflow: visible; /* allow search dropdowns to escape */
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('/uploads/properties/20260612-1baf16a78df8.webp') center/cover no-repeat;
  opacity: .12;
}
.hero-content { position: relative; z-index: 1; max-width: 700px; }

.hero-rating {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-pill);
  padding: 4px 12px;
  margin-bottom: 16px;
}
.hero-rating-stars { color: #FFFFFF; font-size: 12px; letter-spacing: .5px; }
.hero-rating-text { color: rgba(255,255,255,.8); font-size: 11px; font-weight: 500; }

.hero-title {
  font-size: clamp(22px, 4vw, 38px);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.18;
  letter-spacing: -.02em;
  margin-bottom: 6px;
}
.hero-sub {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  margin-bottom: 24px;
  font-weight: 400;
}
.hero-sub strong { color: var(--gold); font-weight: 600; }

/* Search bar */
.hero-search-tabs {
  display: flex; gap: 4px;
  margin-bottom: 12px;
}
.s-tab {
  padding: 7px 18px;
  border: 1.5px solid rgba(255,255,255,.25);
  background: transparent;
  color: rgba(255,255,255,.65);
  border-radius: var(--r-pill);
  font-size: 12px; font-weight: 600;
  cursor: pointer; font-family: inherit;
  transition: all var(--transition);
}
.s-tab.active {
  background: #FFFFFF;
  color: var(--ink);
  border-color: #FFFFFF;
}

.hero-search-box {
  display: flex;
  background: white;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  margin-bottom: 14px;
}
.hero-search-input {
  flex: 1;
  padding: 14px 18px;
  border: none; outline: none;
  font-size: 14px; font-family: inherit;
  color: var(--ink);
  min-width: 0;
}
.hero-search-input::placeholder { color: var(--muted); }
.hero-search-go {
  flex-shrink: 0;
  padding: 0 22px;
  background: var(--gold);
  color: white;
  border: none;
  font-size: 13px; font-weight: 700;
  cursor: pointer; font-family: inherit;
  letter-spacing: .02em;
  transition: opacity var(--transition);
}
.hero-search-go:hover { opacity: .9; }

.hero-popular {
  display: flex; align-items: center; gap: 6px;
  flex-wrap: wrap;
  font-size: 11px; color: rgba(255,255,255,.5);
}
.hero-popular a {
  color: rgba(255,255,255,.8);
  border-bottom: 1px solid rgba(255,255,255,.3);
  padding-bottom: 1px;
}
.hero-popular a:hover { color: #fff; border-color: #fff; }

/* ╔══════════════════════════════════════════╗
   ║  STICKY FILTER CHIPS                     ║
   ╚══════════════════════════════════════════╝ */

.chips-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 1;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.chips-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  height: var(--chips-h);
  align-items: center;
}
.chips-inner::-webkit-scrollbar { display: none; }

.chip {
  flex-shrink: 0;
  padding: 5px 15px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--ink-2);
  border-radius: var(--r-pill);
  font-size: 12px; font-weight: 500;
  cursor: pointer; font-family: inherit;
  white-space: nowrap;
  transition: all var(--transition);
}
.chip:hover { border-color: var(--ink-2); color: var(--ink); }
.chip.active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

/* ╔══════════════════════════════════════════╗
   ║  SECTION LAYOUT                          ║
   ╚══════════════════════════════════════════╝ */

.home-section {
  padding: 28px 0 4px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 var(--gutter) 14px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.section-title { font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.section-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.view-all-btn {
  flex-shrink: 0;
  font-size: 12px; font-weight: 600;
  color: var(--ink);
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  padding: 5px 14px;
  transition: border-color var(--transition), background var(--transition);
}
.view-all-btn:hover { background: var(--surface-2); border-color: var(--border-2); }

/* ╔══════════════════════════════════════════╗
   ║  PROPERTY ROW (horizontal scroll)        ║
   ╚══════════════════════════════════════════╝ */

.prop-row-wrap {
  padding: 0 var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
}
.prop-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 24px;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
}
.prop-row::-webkit-scrollbar { display: none; }
.prop-row.is-dragging { cursor: grabbing; }

/* ╔══════════════════════════════════════════╗
   ║  PROPERTY CARD (app style)               ║
   ╚══════════════════════════════════════════╝ */

.pcard {
  flex-shrink: 0;
  width: 268px;
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  display: block;
  color: inherit;
  position: relative;
}
.pcard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-2);
}

/* Media */
.pcard-media {
  position: relative;
  aspect-ratio: 16/10;
  background: #E0E0E0;
  overflow: hidden;
}
.pcard-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.pcard:hover .pcard-media img { transform: scale(1.04); }

/* Status badge */
.pcard-status {
  position: absolute; top: 10px; left: 10px;
  font-size: 9px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--r-pill);
}
.status-ready  { background: rgba(22,163,74,.9);  color: #fff; }
.status-new    { background: rgba(239,68,68,.9);   color: #fff; }
.status-under  { background: rgba(234,179,8,.9);   color: #fff; }

/* Score badge */
.pcard-score {
  position: absolute; top: 10px; right: 10px;
  background: rgba(0,0,0,.72);
  color: white;
  font-size: 10px; font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  backdrop-filter: blur(4px);
}
.pcard-score small { font-size: 8px; font-weight: 400; opacity: .7; }

/* Tag */
.pcard-tag {
  position: absolute; bottom: 10px; left: 10px;
  background: var(--gold);
  color: white;
  font-size: 9px; font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* Wishlist */
.pcard-heart {
  position: absolute; bottom: 10px; right: 10px;
  width: 30px; height: 30px;
  background: rgba(255,255,255,.92);
  border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: #AAA;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}
.pcard-heart svg { width: 15px; height: 15px; }
.pcard-heart:hover, .pcard-heart.active { color: #EF4444; }
.pcard-heart.active svg { fill: currentColor; }

/* Body */
.pcard-body { padding: 13px 14px 15px; }

.pcard-type {
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--gold);
  margin-bottom: 4px;
}
.pcard-title {
  font-size: 14px; font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 3px;
}
.pcard-loc {
  display: flex; align-items: center; gap: 4px;
  font-size: 11px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pcard-loc svg { width: 11px; height: 11px; flex-shrink: 0; }

.pcard-divider {
  height: 1px; background: var(--border);
  margin: 10px 0;
}

.pcard-price {
  font-size: 17px; font-weight: 800;
  color: var(--ink); letter-spacing: -.02em;
  line-height: 1;
}
.pcard-price-sub {
  font-size: 10px; font-weight: 400;
  color: var(--muted);
  margin-top: 2px;
}

.pcard-specs {
  display: flex; gap: 12px;
  margin-top: 10px;
  font-size: 11px; color: var(--ink-2);
}
.pcard-spec {
  display: flex; align-items: center; gap: 4px;
  font-weight: 500;
}
.pcard-spec svg { width: 12px; height: 12px; color: var(--muted); }

.pcard-builder {
  display: flex; align-items: center; gap: 4px;
  font-size: 10.5px; color: var(--muted);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.pcard-builder svg { width: 11px; height: 11px; }

/* ╔══════════════════════════════════════════╗
   ║  LOCALITY CHIPS                          ║
   ╚══════════════════════════════════════════╝ */

.locality-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 2px 20px;
}
.locality-row::-webkit-scrollbar { display: none; }

.loc-chip {
  flex-shrink: 0;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  min-width: 96px; text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--ink);
}
.loc-chip:hover { border-color: var(--ink); box-shadow: var(--shadow-sm); }
.loc-icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--gold-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.loc-name { font-size: 12px; font-weight: 600; }
.loc-city { font-size: 10px; color: var(--muted); }
.loc-count { font-size: 10px; color: var(--gold); font-weight: 600; }

/* ╔══════════════════════════════════════════╗
   ║  TOOLS GRID                              ║
   ╚══════════════════════════════════════════╝ */

.tools-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  margin: 28px 0;
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: 16px;
}
@media (min-width: 640px) {
  .tools-grid { grid-template-columns: repeat(6, 1fr); }
}

.tool-item {
  background: var(--surface);
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  padding: 20px 12px;
  cursor: pointer;
  transition: background var(--transition);
  color: var(--ink);
}
.tool-item:hover { background: var(--bg); }
.tool-icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--gold-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}
.tool-label { font-size: 11px; font-weight: 500; text-align: center; line-height: 1.3; }

/* ╔══════════════════════════════════════════╗
   ║  LISTINGS PAGE                           ║
   ╚══════════════════════════════════════════╝ */

.listings-layout {
  display: block;
  max-width: var(--max-w);
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .listings-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    align-items: start;
    gap: 24px;
    padding: 24px var(--gutter);
  }
}

/* Sidebar filters */
.filters-sidebar {
  display: none;
}
@media (min-width: 1024px) {
  .filters-sidebar {
    display: block;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--r-lg);
    padding: 20px;
    position: sticky;
    top: calc(var(--header-h) + 12px);
  }
}

.filter-section { margin-bottom: 20px; }
.filter-section:last-child { margin-bottom: 0; }
.filter-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  display: flex; align-items: center; justify-content: space-between;
}
.filter-clear { font-size: 10px; font-weight: 600; color: var(--gold); cursor: pointer; text-transform: none; letter-spacing: 0; }

.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chip {
  padding: 5px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  font-size: 12px; font-weight: 500;
  cursor: pointer; font-family: inherit;
  background: var(--surface);
  color: var(--ink-2);
  transition: all var(--transition);
}
.filter-chip:hover { border-color: var(--ink-2); }
.filter-chip.active { background: var(--ink); color: white; border-color: var(--ink); }

.price-range-wrap { padding: 4px 0; }
.price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.price-input {
  padding: 8px 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 12px; font-family: inherit;
  color: var(--ink);
  outline: none;
}
.price-input:focus { border-color: var(--ink); }
.price-slider { width: 100%; accent-color: var(--ink); }

.filter-divider { height: 1px; background: var(--border); margin: 16px 0; }

.apply-filter-btn {
  width: 100%;
  padding: 11px;
  background: var(--ink);
  color: white;
  border: none; border-radius: var(--r-sm);
  font-size: 13px; font-weight: 600;
  cursor: pointer; font-family: inherit;
  transition: opacity var(--transition);
}
.apply-filter-btn:hover { opacity: .85; }

/* Mobile filter bar */
.mobile-filter-bar {
  padding: 10px var(--gutter);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex; gap: 8px;
  overflow-x: auto; scrollbar-width: none;
  position: sticky;
  top: calc(var(--header-h) + var(--chips-h));
  z-index: 90;
}
.mobile-filter-bar::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .mobile-filter-bar { display: none; } }

.filter-pill {
  flex-shrink: 0;
  display: flex; align-items: center; gap: 5px;
  padding: 6px 13px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  font-size: 12px; font-weight: 500;
  cursor: pointer; font-family: inherit;
  background: var(--surface);
  color: var(--ink);
  transition: all var(--transition);
  white-space: nowrap;
}
.filter-pill:hover { border-color: var(--ink-2); }
.filter-pill.has-value { background: var(--ink); color: white; border-color: var(--ink); }
.filter-pill svg { width: 13px; height: 13px; }

/* Listings area */
.listings-main { min-width: 0; }

.listings-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--gutter);
  gap: 10px;
}
@media (min-width: 1024px) { .listings-toolbar { padding: 0 0 16px; } }

.listings-count { font-size: 13px; color: var(--muted); }
.listings-count strong { color: var(--ink); font-weight: 700; }

.sort-select {
  padding: 7px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  font-size: 12px; font-weight: 500;
  font-family: inherit;
  color: var(--ink);
  background: var(--surface);
  cursor: pointer; outline: none;
  appearance: none;
  background-image: 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 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
}

/* Listings grid */
.listings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 0 var(--gutter);
}
@media (min-width: 640px) {
  .listings-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .listings-grid { padding: 0; grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1280px) {
  .listings-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Listing card (slightly larger than row cards) */
.list-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  display: block;
  color: inherit;
}
.list-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-2);
}
.list-card .pcard-media { aspect-ratio: 16/9; }
.list-card .pcard-body { padding: 14px 16px 16px; }
.list-card .pcard-title { font-size: 15px; white-space: normal; line-clamp: 2; }
.list-card .pcard-price { font-size: 18px; }

.load-more-wrap { padding: 24px var(--gutter); text-align: center; }
@media (min-width: 1024px) { .load-more-wrap { padding: 24px 0; } }

.load-more-btn {
  padding: 12px 32px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600;
  cursor: pointer; font-family: inherit;
  transition: all var(--transition);
}
.load-more-btn:hover { background: var(--ink); color: white; }

/* ╔══════════════════════════════════════════╗
   ║  PROPERTY DETAIL PAGE                    ║
   ╚══════════════════════════════════════════╝ */

.detail-layout {
  max-width: var(--max-w);
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .detail-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 28px;
    padding: 24px var(--gutter);
    align-items: start;
  }
}

/* Gallery */
.detail-gallery {
  position: relative;
  background: #111;
}
.gallery-main {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.gallery-main img {
  width: 100%; height: 100%;
  object-fit: cover;
}
@media (min-width: 1024px) {
  .detail-gallery { border-radius: var(--r-lg); overflow: hidden; }
  .gallery-main { aspect-ratio: 16/10; }
}

.gallery-back-btn {
  position: absolute; top: 14px; left: 14px;
  width: 36px; height: 36px;
  background: rgba(0,0,0,.55);
  color: white; border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  z-index: 10;
}
.gallery-back-btn svg { width: 18px; height: 18px; }

.gallery-count {
  position: absolute; bottom: 14px; right: 14px;
  background: rgba(0,0,0,.55);
  color: white;
  font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: var(--r-pill);
  backdrop-filter: blur(4px);
}

/* Detail content */
.detail-content { padding: 20px var(--gutter) 0; }
@media (min-width: 1024px) { .detail-content { padding: 0; } }

.detail-breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--muted);
  margin-bottom: 12px;
}
.detail-breadcrumb span { font-weight: 500; }
.detail-breadcrumb a:hover { color: var(--ink); }

.detail-header-row {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
  margin-bottom: 6px;
}
.detail-title { font-size: clamp(20px, 3vw, 28px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.detail-share-btn {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--ink);
}
.detail-share-btn svg { width: 16px; height: 16px; }

.detail-meta {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap;
  font-size: 12px; color: var(--muted);
  margin-bottom: 14px;
}
.detail-meta-dot { width: 3px; height: 3px; background: var(--muted); border-radius: 50%; }
.detail-score {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--gold-bg);
  color: var(--gold);
  font-size: 11px; font-weight: 700;
  padding: 3px 8px; border-radius: var(--r-pill);
}

/* Key highlights */
.highlights-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
  margin-bottom: 20px;
}
.highlights-row::-webkit-scrollbar { display: none; }

.hl-badge {
  flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 14px;
  min-width: 80px; text-align: center;
}
.hl-value { font-size: 15px; font-weight: 700; color: var(--ink); }
.hl-label { font-size: 10px; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }

/* Tabs */
.detail-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 20px;
  overflow-x: auto; scrollbar-width: none;
}
.detail-tabs::-webkit-scrollbar { display: none; }

.dtab {
  flex-shrink: 0;
  padding: 10px 18px;
  font-size: 13px; font-weight: 600;
  color: var(--muted);
  border: none; background: none;
  cursor: pointer; font-family: inherit;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color var(--transition);
}
.dtab.active { color: var(--ink); border-bottom-color: var(--ink); }
.dtab:hover { color: var(--ink); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.detail-desc {
  font-size: 14px; line-height: 1.7;
  color: var(--ink-2);
}
.detail-desc p { margin-bottom: 14px; }

.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.spec-row {
  background: var(--surface);
  padding: 13px 16px;
}
.spec-key { font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.spec-val { font-size: 14px; font-weight: 600; color: var(--ink); }

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 480px) { .amenities-grid { grid-template-columns: repeat(3, 1fr); } }

.amenity-item {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  font-size: 12px; font-weight: 500;
}
.amenity-icon { font-size: 18px; }

/* Sticky CTA sidebar (desktop) */
.detail-sidebar {
  display: none;
}
@media (min-width: 1024px) {
  .detail-sidebar {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + 12px);
  }
}

.price-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
  margin-bottom: 14px;
}
.price-card-main { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 3px; }
.price-card-sub { font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.price-card-cta-primary {
  width: 100%;
  padding: 13px;
  background: var(--ink);
  color: white;
  border: none; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 700;
  cursor: pointer; font-family: inherit;
  margin-bottom: 8px;
  transition: opacity var(--transition);
}
.price-card-cta-primary:hover { opacity: .85; }
.price-card-cta-secondary {
  width: 100%;
  padding: 12px;
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-sm);
  font-size: 14px; font-weight: 600;
  cursor: pointer; font-family: inherit;
  margin-bottom: 14px;
  transition: all var(--transition);
}
.price-card-cta-secondary:hover { background: var(--bg); }

.price-card-details {
  display: flex; flex-direction: column; gap: 8px;
  font-size: 12px;
}
.pc-detail-row {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.pc-detail-row:last-child { border-bottom: none; padding-bottom: 0; }
.pc-key { color: var(--muted); }
.pc-val { font-weight: 600; color: var(--ink); }

.agent-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 18px 22px;
}
.agent-card-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.agent-trust {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--ink-2);
  margin-bottom: 6px;
}
.agent-trust svg { color: var(--gold); width: 14px; height: 14px; }

/* Mobile CTA bar */
.detail-mobile-cta {
  display: flex;
  gap: 10px;
  padding: 10px var(--gutter);
  background: var(--surface);
  border-top: 1px solid var(--border);
  position: fixed;
  bottom: var(--bottom-nav);
  left: 0; right: 0;
  z-index: 100;
  box-shadow: 0 -4px 16px rgba(0,0,0,.06);
}
@media (min-width: 768px) { .detail-mobile-cta { bottom: 0; } }
@media (min-width: 1024px) { .detail-mobile-cta { display: none; } }

.detail-mobile-cta-price { flex: 1; }
.dm-price { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.dm-price-sub { font-size: 10px; color: var(--muted); }

.dm-btn {
  flex: 1;
  padding: 12px;
  border-radius: var(--r-sm);
  font-size: 13px; font-weight: 700;
  cursor: pointer; font-family: inherit;
  border: none; text-align: center;
}
.dm-btn-primary { background: var(--ink); color: white; }
.dm-btn-secondary { background: transparent; color: var(--ink); border: 1.5px solid var(--ink) !important; }

/* ╔══════════════════════════════════════════╗
   ║  BOTTOM NAV (mobile)                     ║
   ╚══════════════════════════════════════════╝ */

.bottom-nav {
  display: flex;
  position: fixed;
  inset: auto 0 0 0;
  height: var(--bottom-nav);
  background: var(--surface);
  border-top: 1px solid var(--border);
  z-index: 200;
  box-shadow: 0 -4px 16px rgba(0,0,0,.06);
}
@media (min-width: 768px) { .bottom-nav { display: none; } }

.bnav-item {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 3px;
  text-decoration: none;
  color: var(--muted);
  font-size: 9.5px; font-weight: 600;
  border: none; background: none;
  cursor: pointer; font-family: inherit;
  letter-spacing: .02em;
  transition: color var(--transition);
  position: relative;
}
.bnav-item svg { width: 22px; height: 22px; }
.bnav-item.active { color: var(--ink); }
.bnav-item:hover { color: var(--ink); }
.bnav-badge {
  position: absolute; top: 8px; right: calc(50% - 16px);
  width: 14px; height: 14px;
  background: var(--gold);
  color: white;
  font-size: 8px; font-weight: 700;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--surface);
}
[hidden] { display: none !important; }

/* ╔══════════════════════════════════════════╗
   ║  MINI FOOTER                             ║
   ╚══════════════════════════════════════════╝ */

.mini-footer {
  background: #0A0A0A;
  color: rgba(255,255,255,.5);
  padding: 28px var(--gutter);
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 768px) {
  .mini-footer { flex-direction: row; align-items: center; justify-content: space-between; }
}
.footer-brand { color: white; font-size: 14px; font-weight: 700; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.5); transition: color var(--transition); }
.footer-links a:hover { color: white; }

/* ╔══════════════════════════════════════════╗
   ║  MISC / UTILS                            ║
   ╚══════════════════════════════════════════╝ */

.section-divider {
  height: 1px; background: var(--border);
  max-width: var(--max-w); margin: 0 auto;
}

.empty-state {
  text-align: center;
  padding: 60px var(--gutter);
  color: var(--muted);
}
.empty-state svg { width: 48px; height: 48px; margin: 0 auto 12px; opacity: .3; }
.empty-state h3 { font-size: 16px; color: var(--ink); margin-bottom: 6px; }
.empty-state p { font-size: 13px; }

/* Skeleton */
.skeleton {
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--r-sm);
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Toast */
.toast {
  position: fixed; bottom: calc(var(--bottom-nav) + 12px); left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #111; color: white;
  padding: 10px 20px; border-radius: var(--r-pill);
  font-size: 13px; font-weight: 500;
  z-index: 1000; pointer-events: none;
  opacity: 0; transition: all .25s;
  white-space: nowrap;
  box-shadow: var(--shadow-lg);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (min-width: 768px) { .toast { bottom: 20px; } }

/* Scrollbar (desktop) */
@media (min-width: 768px) {
  ::-webkit-scrollbar { width: 6px; height: 6px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 3px; }
  ::-webkit-scrollbar-thumb:hover { background: var(--muted); }
}

/* ╔══════════════════════════════════════════╗
   ║  PROPERTY DETAIL — VERTICAL SECTIONS     ║
   ╚══════════════════════════════════════════╝ */

.prop-section {
  padding: 28px 0 0;
  border-top: 1px solid var(--border);
  margin-top: 28px;
}
.prop-section:first-child { border-top: none; margin-top: 0; }

.prop-section-title {
  font-size: 18px; font-weight: 700;
  letter-spacing: -.02em; color: var(--ink);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.prop-section-title .sec-icon {
  width: 32px; height: 32px;
  background: var(--gold-bg);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}

/* ── Price list table ── */
.price-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.price-table th {
  text-align: left; padding: 10px 14px;
  background: var(--bg);
  font-size: 10.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--muted);
  border-bottom: 1.5px solid var(--border);
}
.price-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--ink-2);
}
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:hover td { background: var(--bg); }
.price-table .td-price { font-weight: 700; color: var(--ink); }
.avail-pill {
  display: inline-block;
  padding: 2px 8px; border-radius: var(--r-pill);
  font-size: 10px; font-weight: 700;
}
.avail-available { background: #dcfce7; color: #16a34a; }
.avail-sold { background: #fee2e2; color: #dc2626; }
.avail-limited { background: #fef3c7; color: #d97706; }

/* ── Why This Project ── */
.why-list { display: flex; flex-direction: column; gap: 12px; }
.why-item {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 15px 16px;
  transition: border-color var(--transition);
}
.why-item:hover { border-color: var(--gold); }
.why-num {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--gold);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; margin-top: 1px;
}
.why-text { font-size: 13.5px; line-height: 1.65; color: var(--ink-2); }
.why-text strong { color: var(--ink); }

/* ── Location & Map ── */
.map-wrap {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1.5px solid var(--border);
  aspect-ratio: 16/7;
  background: var(--bg);
  position: relative;
}
.map-wrap iframe { width: 100%; height: 100%; display: block; border: none; }
.map-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; color: var(--muted);
  font-size: 13px;
}
.map-placeholder svg { width: 36px; height: 36px; opacity: .4; }

.location-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.location-chip {
  display: flex; align-items: flex-start; gap: 8px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 10px 14px;
  font-size: 13px; font-weight: 500; color: var(--ink-2);
  line-height: 1.55;
}
.location-chip svg { width: 14px; height: 14px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }

/* ── Nearby Places ── */
.nearby-categories { display: flex; flex-direction: column; gap: 16px; }
.nearby-cat-title {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); margin-bottom: 8px;
  display: flex; align-items: center; gap: 6px;
}
.nearby-cat-icon { font-size: 16px; }
.nearby-items { display: flex; flex-direction: column; gap: 6px; }
.nearby-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 12px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 13px;
}
.nearby-name { color: var(--ink); font-weight: 500; }
.nearby-dist {
  font-size: 11px; font-weight: 600;
  color: var(--gold);
  flex-shrink: 0; margin-left: 12px;
}

/* ── Gallery thumbnails ── */
.gallery-thumbs {
  display: flex; gap: 6px;
  padding: 6px var(--gutter);
  background: #111; overflow-x: auto; scrollbar-width: none;
}
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumb {
  flex-shrink: 0;
  width: 72px; height: 48px;
  border-radius: var(--r-xs);
  overflow: hidden; cursor: pointer;
  border: 2px solid transparent;
  opacity: .6; transition: all .15s;
}
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--gold); opacity: 1; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ── Compare functionality ── */
.compare-check-wrap {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer; font-size: 13px; font-weight: 500;
  transition: border-color var(--transition);
}
.compare-check-wrap:hover { border-color: var(--ink); }
.compare-check-wrap input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--ink); cursor: pointer; }

/* Floating compare tray */
.compare-tray {
  position: fixed;
  bottom: calc(var(--bottom-nav) + 10px);
  left: 50%; transform: translateX(-50%);
  z-index: 500;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-xl);
  max-width: calc(100vw - 32px);
  transition: all .25s;
  opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(10px);
}
.compare-tray.visible { opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0); }
@media (min-width: 768px) { .compare-tray { bottom: 20px; } }

.cmp-items { display: flex; gap: 8px; align-items: center; }
.cmp-slot {
  width: 52px; height: 38px;
  border-radius: var(--r-xs);
  border: 1.5px dashed rgba(255,255,255,.3);
  overflow: hidden; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.cmp-slot img { width: 100%; height: 100%; object-fit: cover; }
.cmp-slot-empty { font-size: 18px; opacity: .3; }
.cmp-slot .cmp-remove {
  position: absolute; top: 2px; right: 2px;
  width: 16px; height: 16px;
  background: rgba(0,0,0,.7); color: #fff;
  border-radius: 50%; border: none; cursor: pointer;
  font-size: 9px; display: flex; align-items: center; justify-content: center;
  line-height: 1;
}

.cmp-go-btn {
  padding: 8px 18px;
  background: var(--gold); color: #fff;
  border: none; border-radius: var(--r-sm);
  font-size: 13px; font-weight: 700;
  cursor: pointer; font-family: inherit; white-space: nowrap;
}
.cmp-clear-btn {
  background: none; border: none; color: rgba(255,255,255,.5);
  font-size: 11px; cursor: pointer; font-family: inherit;
  white-space: nowrap;
}
.cmp-count { font-size: 12px; color: rgba(255,255,255,.7); white-space: nowrap; }

/* ── Compare card checkbox (on cards) ── */
.pcard-compare {
  display: flex; align-items: center; gap: 5px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  font-size: 11px; font-weight: 500; color: var(--muted);
  cursor: pointer;
}
.pcard-compare input { accent-color: var(--ink); cursor: pointer; }
.pcard-compare:hover { color: var(--ink); }

/* ── Proper Footer ── */
.site-footer {
  background: #0D0D0D;
  color: rgba(255,255,255,.65);
  padding: 56px var(--gutter) 32px;
}
.site-footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 24px;
}
@media (min-width: 768px) {
  .site-footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px 32px; }
}
.footer-col {}
.footer-logo-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo-mark {
  width: 36px; height: 36px;
  background: var(--gold);
  color: #fff;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800;
}
.footer-logo-name { color: #fff; font-size: 16px; font-weight: 700; }
.footer-tagline { font-size: 12.5px; line-height: 1.65; color: rgba(255,255,255,.45); margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px;
  background: rgba(255,255,255,.08);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  transition: all var(--transition);
  font-size: 14px;
}
.footer-social a:hover { background: var(--gold); color: #fff; }

.footer-col-title {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: rgba(255,255,255,.9);
  margin-bottom: 14px;
}
.footer-links-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links-list a {
  font-size: 13px; color: rgba(255,255,255,.5);
  transition: color var(--transition);
}
.footer-links-list a:hover { color: rgba(255,255,255,.9); }

.footer-contact-item {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 12.5px; color: rgba(255,255,255,.5);
  margin-bottom: 10px;
}
.footer-contact-item svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; color: var(--gold); }
.footer-contact-item a { color: rgba(255,255,255,.7); }
.footer-contact-item a:hover { color: #fff; }

.footer-bar {
  max-width: var(--max-w); margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: rgba(255,255,255,.3);
}
.footer-bar a { color: rgba(255,255,255,.4); }
.footer-bar a:hover { color: rgba(255,255,255,.7); }
.footer-bar-links { display: flex; gap: 16px; }

/* ╔══════════════════════════════════════════╗
   ║  SEARCH AUTOCOMPLETE DROPDOWN            ║
   ╚══════════════════════════════════════════╝ */

.search-ac-wrap { position: relative; }
.search-ac-dropdown {
  position: absolute;
  top: calc(100% + 6px); left: 0; right: 0;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  overflow: hidden;
  display: none;
  max-height: 380px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.search-ac-dropdown.open { display: block; }

.ac-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background .1s;
  text-decoration: none; color: inherit;
}
.ac-item:hover, .ac-item.active { background: var(--bg); }
.ac-item-img {
  width: 44px; height: 32px;
  border-radius: var(--r-xs);
  object-fit: cover; flex-shrink: 0;
  background: var(--bg);
}
.ac-item-icon {
  width: 44px; height: 32px;
  border-radius: var(--r-xs);
  background: var(--gold-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.ac-item-text { flex: 1; min-width: 0; }
.ac-item-title {
  font-size: 13px; font-weight: 600; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ac-item-sub { font-size: 11px; color: var(--muted); margin-top: 1px; }
.ac-item-price {
  font-size: 12px; font-weight: 700; color: var(--gold);
  white-space: nowrap; flex-shrink: 0;
}
.ac-no-results {
  padding: 14px 16px;
  font-size: 13px; color: var(--muted);
  text-align: center;
}
.ac-loading {
  padding: 14px 16px;
  font-size: 12px; color: var(--muted);
  text-align: center;
}

/* Hero search autocomplete (positioned fixed for z-index escape) */
.hero-search-ac {
  position: fixed;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  z-index: 99999;
  overflow: hidden;
  display: none;
  max-height: 380px;
  overflow-y: auto;
  scrollbar-width: thin;
  min-width: 300px;
}
.hero-search-ac.open { display: block; }

/* ╔══════════════════════════════════════════╗
   ║  PRICE BREAKUP MODAL                     ║
   ╚══════════════════════════════════════════╝ */

.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 2000;
  display: flex; align-items: flex-end;
  opacity: 0; transition: opacity .25s;
  pointer-events: none;
}
@media (min-width: 640px) {
  .modal-backdrop { align-items: center; justify-content: center; }
}
.modal-backdrop.open { opacity: 1; pointer-events: all; }

.modal-sheet {
  background: var(--surface);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  width: 100%;
  max-width: 100vw;
  max-height: 92dvh;
  overflow-y: auto;
  overflow-x: hidden;
  transform: translateY(20px);
  transition: transform .3s ease;
  padding: 0 0 24px;
}
@media (min-width: 640px) {
  .modal-sheet {
    border-radius: var(--r-lg);
    max-width: 500px;
    max-height: 88dvh;
    transform: scale(.96);
  }
}
.modal-backdrop.open .modal-sheet {
  transform: translateY(0);
}
@media (min-width: 640px) {
  .modal-backdrop.open .modal-sheet { transform: scale(1); }
}

.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px 16px;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: var(--surface); z-index: 10;
}
.modal-title { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.modal-close {
  width: 32px; height: 32px;
  background: var(--bg); border: none; border-radius: 50%;
  cursor: pointer; font-size: 16px; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.modal-body { padding: 20px 22px; }
.modal-handle {
  width: 36px; height: 4px;
  background: var(--border); border-radius: 2px;
  margin: 10px auto 0; cursor: pointer;
}

.pb-form { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pb-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.pb-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--muted);
}
.pb-input, .pb-select {
  width: 100%; min-width: 0;
  padding: 11px 13px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 14px; font-family: inherit;
  color: var(--ink); background: var(--surface);
  outline: none; transition: border-color var(--transition);
}
.pb-input:focus, .pb-select:focus { border-color: var(--ink); }
.pb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; min-width: 0; }
.pb-submit {
  width: 100%; padding: 14px;
  background: var(--ink); color: white;
  border: none; border-radius: var(--r-sm);
  font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: inherit;
  margin-top: 4px;
  transition: opacity var(--transition);
}
.pb-submit:hover { opacity: .85; }
.pb-success {
  text-align: center; padding: 24px 16px;
}
.pb-success-icon { font-size: 48px; margin-bottom: 12px; }
.pb-success h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.pb-success p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.pb-trust {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--muted);
  padding: 10px 14px;
  background: var(--gold-bg);
  border-radius: var(--r-sm);
  margin-bottom: 16px;
}

/* ╔══════════════════════════════════════════╗
   ║  COMPARE SIDEBAR (improved tray)         ║
   ╚══════════════════════════════════════════╝ */

.compare-sidebar {
  position: fixed;
  bottom: var(--bottom-nav);
  right: 0; left: 0;
  z-index: 600;
  background: var(--ink);
  color: #fff;
  padding: 12px var(--gutter);
  transform: translateY(100%);
  transition: transform .3s ease;
  box-shadow: 0 -8px 24px rgba(0,0,0,.2);
}
.compare-sidebar.visible { transform: translateY(0); }
@media (min-width: 768px) {
  .compare-sidebar {
    bottom: 0;
    left: auto;
    right: 20px;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    min-width: 340px;
    max-width: 400px;
    transform: translateY(100%);
  }
  .compare-sidebar.visible { transform: translateY(0); }
}

.cmp-sidebar-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.cmp-sidebar-title {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: rgba(255,255,255,.8);
}
.cmp-sidebar-slots {
  display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start;
}
.cmp-sidebar-slot {
  flex: 1;
  border: 1.5px dashed rgba(255,255,255,.25);
  border-radius: var(--r-sm);
  min-height: 52px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  font-size: 18px; opacity: .4;
  transition: opacity .2s;
}
.cmp-sidebar-slot.filled { opacity: 1; border-color: rgba(255,255,255,.4); }
.cmp-sidebar-slot img { width: 100%; height: 52px; object-fit: cover; }
.cmp-sidebar-slot-name {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,.7);
  font-size: 9px; font-weight: 600; padding: 3px 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-align: center;
}
.cmp-sidebar-slot .cmp-rm {
  position: absolute; top: 2px; right: 2px;
  width: 16px; height: 16px;
  background: rgba(220,38,38,.9); color: #fff;
  border-radius: 50%; border: none; cursor: pointer;
  font-size: 9px; display: flex; align-items: center; justify-content: center;
}
.cmp-sidebar-actions {
  display: grid; grid-template-columns: 1fr auto; gap: 8px;
}
.cmp-sidebar-go {
  padding: 11px;
  background: var(--gold); color: #fff;
  border: none; border-radius: var(--r-sm);
  font-size: 13px; font-weight: 700;
  cursor: pointer; font-family: inherit;
}
.cmp-sidebar-clear {
  padding: 11px 14px;
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.7);
  border: none; border-radius: var(--r-sm);
  font-size: 12px; cursor: pointer; font-family: inherit;
}
.cmp-added-anim {
  animation: cmpPop .4s ease;
}
@keyframes cmpPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* ╔══════════════════════════════════════════╗
   ║  HEADER ICONS — ACTIVE & BADGE           ║
   ╚══════════════════════════════════════════╝ */

.header-icon-btn { position: relative; }

/* Heart turns red when saved */
.header-icon-btn[data-wl-btn].active { color: #EF4444; }
.header-icon-btn[data-wl-btn].active svg path { fill: #EF4444; stroke: #EF4444; }

/* Small badge on header icon */
.hdr-badge {
  position: absolute;
  top: 1px; right: 1px;
  min-width: 15px; height: 15px;
  background: var(--gold);
  color: #fff;
  border-radius: 50%;
  font-size: 8px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  padding: 0 2px;
  pointer-events: none;
  border: 1.5px solid var(--surface);
  line-height: 1;
}

/* ╔══════════════════════════════════════════╗
   ║  FLOATING COMPARE PILL                   ║
   ╚══════════════════════════════════════════╝ */

.cmp-float-pill {
  position: fixed;
  bottom: calc(var(--bottom-nav) + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  z-index: 600;
  background: #111;
  color: #fff;
  height: 44px;
  padding: 0 20px;
  border-radius: var(--r-pill);
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 28px rgba(0,0,0,.35);
  cursor: pointer; border: none; font-family: inherit;
  opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s;
  white-space: nowrap;
}
.cmp-float-pill.visible {
  opacity: 1; pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.cmp-pill-count {
  background: var(--gold); color: #fff;
  width: 22px; height: 22px; border-radius: 50%;
  font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .cmp-float-pill {
    bottom: 24px; left: auto; right: 24px;
    transform: translateY(10px);
  }
  .cmp-float-pill.visible { transform: translateY(0); }
}

/* ╔══════════════════════════════════════════╗
   ║  PROPERTY CARD COMPARE BUTTON            ║
   ╚══════════════════════════════════════════╝ */

.pcard-cmp-btn {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  margin-top: 8px;
  padding: 6px 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  background: transparent;
  font-size: 11px; font-weight: 600; color: var(--muted);
  cursor: pointer; font-family: inherit;
  transition: all .15s;
  width: 100%;
}
.pcard-cmp-btn:hover { border-color: var(--ink); color: var(--ink); }
.pcard-cmp-btn.in-compare { border-color: var(--gold); color: var(--gold); background: var(--gold-bg); }

/* ╔══════════════════════════════════════════╗
   ║  OVERVIEW READ MORE                      ║
   ╚══════════════════════════════════════════╝ */

.read-more-wrap { position: relative; }
.read-more-wrap .read-more-inner {
  overflow: hidden;
  transition: max-height .35s ease;
}
.read-more-wrap.clamped .read-more-inner {
  max-height: 6em;
}
.read-more-wrap.clamped::after {
  content: '';
  position: absolute;
  bottom: 36px;
  left: 0; right: 0;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}
.read-more-wrap.open .read-more-inner {
  max-height: 9999px;
}
.read-more-wrap.open::after { display: none; }
.read-more-btn {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 8px;
  background: none; border: none;
  color: var(--ink-2); font-size: 13px; font-weight: 600;
  cursor: pointer; padding: 0; font-family: inherit;
  letter-spacing: .02em;
}
.read-more-btn:hover { color: var(--ink); }
.read-more-btn svg { width: 14px; height: 14px; transition: transform .2s; }
.read-more-btn.open svg { transform: rotate(180deg); }

/* ╔══════════════════════════════════════════════════════════╗
   ║  LUXURY REFINEMENT LAYER                                  ║
   ║  Pure look & feel — no layout/section/markup changes.    ║
   ║  Appended last so it wins the cascade. Safe to remove.   ║
   ╚══════════════════════════════════════════════════════════╝ */

/* ── Editorial serif for display headings & prices ── */
.hero-title,
.section-title,
.prop-section-title,
.detail-title,
.modal-title,
.pcard-price,
.list-card .pcard-price,
.price-card-main,
.dm-price,
.hl-value,
.footer-logo-name {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0;
}

/* Headings get a touch more air and lighter color contrast */
.section-title { font-size: 22px; line-height: 1.15; }
.prop-section-title { font-size: 23px; }
.detail-title { font-weight: 600; letter-spacing: -.005em; }
.modal-title { font-size: 22px; font-weight: 600; }

/* Prices: serif reads larger, so nudge sizes and tighten weight */
.pcard-price { font-size: 21px; font-weight: 600; }
.list-card .pcard-price { font-size: 23px; }
.price-card-main { font-size: 32px; font-weight: 600; }
.dm-price { font-size: 21px; font-weight: 600; }
.hl-value { font-size: 19px; font-weight: 600; }

/* ── Refined uppercase micro-labels (tracked out) ── */
.pcard-type,
.hl-label,
.filter-label,
.spec-key,
.agent-card-title,
.footer-col-title,
.cmp-sidebar-title,
.pb-label {
  letter-spacing: .14em;
}
.pcard-type { color: var(--gold-2); font-weight: 700; }

/* ── Hero: deep, warm, gallery-like ── */
.hero {
  background:
    radial-gradient(120% 140% at 80% -10%, rgba(166,132,60,.18) 0%, rgba(166,132,60,0) 55%),
    linear-gradient(180deg, #1A1814 0%, #100E0A 100%);
}
.hero::before { opacity: .18; filter: saturate(.85) contrast(1.05); }
.hero-title { font-size: clamp(30px, 5.2vw, 52px); font-weight: 600; line-height: 1.08; }
.hero-sub { font-size: 14px; color: rgba(255,255,255,.6); }
.hero-rating { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }

/* Thin gold hairline under the hero search button + gold CTAs */
.hero-search-go,
.cmp-go-btn,
.cmp-sidebar-go {
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-2) 100%);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 11.5px;
}

/* ── Primary dark CTAs: warm, with subtle depth ── */
.price-card-cta-primary,
.pb-submit,
.dm-btn-primary,
.apply-filter-btn,
.header-login-btn {
  letter-spacing: .04em;
  background: linear-gradient(180deg, #26231C 0%, var(--ink) 100%);
}

/* ── Logo mark: gold-foiled ── */
.logo-mark {
  background: linear-gradient(145deg, var(--gold) 0%, var(--gold-2) 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}
.footer-logo-mark { background: linear-gradient(145deg, var(--gold) 0%, var(--gold-2) 100%); }

/* ── Cards: softer, more gallery-like ── */
.pcard, .list-card { border-color: var(--border); }
.pcard-media, .list-card .pcard-media { background: #ECE7DD; }
.pcard:hover, .list-card:hover { border-color: var(--gold); }
.pcard:hover .pcard-media img,
.list-card:hover .pcard-media img { transform: scale(1.06); }

/* ── Elegant, muted status badges (replace loud primaries) ── */
.pcard-status {
  font-weight: 700;
  letter-spacing: .12em;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.5);
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.status-ready { background: rgba(28,46,38,.82);  color: #EAF3EC; }
.status-new   { background: rgba(166,132,60,.92); color: #fff; }
.status-under { background: rgba(40,36,28,.78);  color: #F1E9D6; }

/* Curation score badge → refined */
.pcard-score { background: rgba(21,20,15,.82); letter-spacing: .02em; }

/* Featured tag → champagne */
.pcard-tag { background: linear-gradient(180deg, var(--gold) 0%, var(--gold-2) 100%); letter-spacing: .1em; }

/* ── Chips & filters: quieter resting state, gold-aware active ── */
.chip.active, .filter-chip.active, .filter-pill.has-value { background: var(--ink); border-color: var(--ink); }
.chip:hover, .filter-chip:hover { border-color: var(--gold); color: var(--gold-2); }

/* ── Detail score + amenity accents ── */
.detail-score { background: var(--gold-bg); color: var(--gold-2); letter-spacing: .04em; }
.amenity-item:hover { border-color: var(--gold); }

/* ── Footer: deep espresso instead of flat black ── */
.site-footer { background: #14110B; }
.mini-footer { background: #14110B; }

/* ── Body: slightly more generous reading rhythm ── */
body { letter-spacing: .002em; }
.detail-desc { font-size: 14.5px; line-height: 1.8; }

/* ── Section sub copy in refined italic serif accent ── */
.section-sub { font-style: normal; }

/* Respect users who don't want the heavier transitions */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  PURE BLACK & WHITE — DARK THEME FIXUPS                   ║
   ║  Wins the cascade (appended last). Fixes the spots that  ║
   ║  hardcode white text / light backgrounds in the base.    ║
   ╚══════════════════════════════════════════════════════════╝ */

/* ── Inverted buttons: white background needs BLACK text ── */
.header-search-btn,
.chip.active,
.filter-chip.active,
.filter-pill.has-value,
.apply-filter-btn,
.price-card-cta-primary,
.pb-submit,
.dm-btn-primary,
.load-more-btn:hover,
.header-login-btn,
.hero-search-go,
.cmp-go-btn,
.cmp-sidebar-go,
.pcard-tag,
.why-num {
  background: #FFFFFF !important;
  color: #0A0A0A !important;
  -webkit-text-fill-color: #0A0A0A;
}
.logo-mark, .footer-logo-mark {
  background: #FFFFFF !important;
  color: #0A0A0A !important;
}

/* ── Header / search box go dark ── */
.app-header { background: var(--surface); border-bottom-color: var(--border); }
.hero-search-box { background: var(--surface-2); border: 1px solid var(--border); }
.hero-search-input { background: transparent; color: var(--ink); }
.hero-search-input::placeholder { color: var(--muted); }

/* ── Hero: clean pure-black, subtle white glow ── */
.hero {
  background:
    radial-gradient(120% 140% at 80% -10%, rgba(255,255,255,.06) 0%, rgba(255,255,255,0) 55%),
    #050505 !important;
}
.hero-rating { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }

/* ── Image placeholders / galleries → dark ── */
.pcard-media, .list-card .pcard-media { background: #1C1C1C !important; }
.detail-gallery, .gallery-main, .gallery-thumbs { background: #0A0A0A; }

/* ── Footers → pure black ── */
.site-footer, .mini-footer { background: #050505 !important; }

/* ── Status badges → monochrome ── */
.pcard-status { border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.status-ready { background: rgba(255,255,255,.92); color: #0A0A0A; }
.status-new   { background: #FFFFFF; color: #0A0A0A; }
.status-under { background: rgba(10,10,10,.78); color: #FFFFFF; }
.pcard-score  { background: rgba(10,10,10,.82); color: #fff; border: 1px solid rgba(255,255,255,.18); }

/* ── Accent text that was gold → white ── */
.pcard-type, .detail-score, .nearby-dist, .loc-count,
.ac-item-price, .read-more-btn, .filter-clear { color: #FFFFFF !important; }
.detail-score { background: var(--gold-bg); }

/* ── Card hovers: white edge instead of gold ── */
.pcard:hover, .list-card:hover, .amenity-item:hover,
.why-item:hover, .chip:hover, .filter-chip:hover { border-color: #FFFFFF; }
.chip:hover, .filter-chip:hover { color: #FFFFFF; }

/* ── Form controls inherit dark surfaces (sort dropdown caret → light) ── */
.sort-select {
  background-image: 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='%23999' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

/* ── Compare tray / sidebar already dark — give white border edge ── */
.compare-tray, .compare-sidebar, .cmp-float-pill { border: 1px solid rgba(255,255,255,.12); }

/* ── Toast → white on black with hairline ── */
.toast { background: #FFFFFF; color: #0A0A0A; }

/* ── Skeleton shimmer for dark ── */
.skeleton { background: linear-gradient(90deg,#1A1A1A 25%,#242424 50%,#1A1A1A 75%); background-size: 200% 100%; }

/* ── Hero search bar stays WHITE → force its text/icons BLACK ── */
.hero-search-integrated { background: #FFFFFF; }
.search-seg-btn,
.search-seg-btn .seg-label,
.search-seg.input-seg input { color: #0A0A0A !important; -webkit-text-fill-color: #0A0A0A; }
.search-seg-btn svg,
.search-seg-btn .chevron { color: #0A0A0A !important; }
.search-seg.input-seg input::placeholder { color: #6A6A6A; }
.search-seg-btn { border-right-color: #E2E2E2; }
.search-seg.locality-seg .search-seg-btn { border-right-color: #E2E2E2; }
.search-seg-btn:hover { background: transparent !important; }

/* Go button → solid black on the white bar (high contrast) */
.search-go-btn { background: #0A0A0A !important; color: #FFFFFF !important; }
.search-go-btn:hover { opacity: .85; }

/* Hero search dropdowns: white bg, mid-grey text, above everything */
.search-seg-dd { background: #FFFFFF !important; border-color: #E2E2E2; z-index: 999999 !important; }
.dd-item { color: #555555 !important; background: #FFFFFF !important; }
.dd-item:hover { background: #F2F2F2 !important; color: #222222 !important; }
.dd-item.active { background: #E8E8E8 !important; color: #111111 !important; font-weight: 600; }
.dd-sep { background: #E2E2E2 !important; }

/* Compare empty-state button: white bg, black text (--ink is white in dark mode) */
.empty-compare a { background: #FFFFFF !important; color: #0A0A0A !important; }
