/* ═══════════════════════════════════════════════
   myproperties.co.ke — Main Stylesheet
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --ink:     #0a1628;
  --navy:    #0d2137;
  --accent:  #b0873f;
  --gold:    #c9952a;
  --cream:   #f8f5f0;
  --soft:    #f6f5f2;
  --line:    rgba(13,33,55,0.09);
  --muted:   #6b7280;
  --text:    #1a1a2e;
  --radius:  12px;
  --radius-sm: 8px;
  --radius-btn: 8px;
  --shadow:  0 1px 2px rgba(13,33,55,0.04), 0 16px 40px -20px rgba(13,33,55,0.18);
  --shadow-hover: 0 2px 4px rgba(13,33,55,0.05), 0 28px 60px -24px rgba(13,33,55,0.28);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', sans-serif; color: var(--text); background: #fff; }
h1, h2, h3, h4, h5 { font-family: 'Cormorant Garamond', serif; }

/* ── NAVBAR ─────────────────────────────────────── */
#mainNav {
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.3s ease;
  padding: 18px 0;
  background: transparent;
}
#mainNav.nav-solid,
#mainNav.scrolled {
  background: rgba(255,255,255,0.92) !important;
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(13,33,55,0.04), 0 16px 40px -28px rgba(13,33,55,0.30);
  padding: 10px 0;
}
.navbar-brand img { height: 44px; width: auto; transition: height 0.3s; }
#mainNav.scrolled .navbar-brand img,
#mainNav.nav-solid .navbar-brand img { height: 36px; }
#mainNav .nav-link {
  color: #fff !important;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  padding: 6px 14px !important;
  transition: color 0.2s;
  position: relative;
}
#mainNav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 14px; right: 14px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.2s;
}
#mainNav .nav-link:hover::after,
#mainNav .nav-link.active::after { transform: scaleX(1); }
#mainNav .nav-link:hover { color: rgba(255,255,255,0.85) !important; }
#mainNav.scrolled .nav-link,
#mainNav.nav-solid .nav-link { color: var(--navy) !important; }
#mainNav.scrolled .nav-link:hover,
#mainNav.nav-solid .nav-link:hover { color: var(--accent) !important; }
.btn-nav-outline {
  border: 1.5px solid rgba(255,255,255,0.65);
  color: #fff !important;
  border-radius: var(--radius-btn);
  padding: 7px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  background: transparent;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-nav-outline:hover { background: rgba(255,255,255,0.15); color: #fff !important; }
#mainNav.scrolled .btn-nav-outline,
#mainNav.nav-solid .btn-nav-outline { border-color: var(--navy); color: var(--navy) !important; }
#mainNav.scrolled .btn-nav-outline:hover,
#mainNav.nav-solid .btn-nav-outline:hover { background: var(--navy); color: #fff !important; }
.btn-nav-solid {
  background: var(--gold);
  color: #fff !important;
  border: none;
  border-radius: var(--radius-btn);
  padding: 7px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-nav-solid:hover { background: #b07e22; color: #fff !important; }
.navbar-toggler { border: none; color: #fff; font-size: 1.4rem; padding: 4px 8px; }
#mainNav.scrolled .navbar-toggler,
#mainNav.nav-solid .navbar-toggler { color: var(--navy); }

/* ── HERO ────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--ink);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1800&q=80') center/cover no-repeat;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: rgba(10,22,40,0.58);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-block;
  color: #e8c870;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0 0 10px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(201,149,42,0.5);
}
.hero h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); color: #fff; line-height: 1.08; margin-bottom: 18px; }
.hero h1 em { color: var(--gold); font-style: italic; }
.hero-sub { color: rgba(255,255,255,0.68); font-size: 1.05rem; line-height: 1.75; margin-bottom: 38px; max-width: 500px; }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; color: var(--gold); line-height: 1; }
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-top: 4px; }

/* ── SEARCH CARD ──────────────────────────────────── */
.search-card {
  background: #fff;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius);
  box-shadow: 0 2px 6px rgba(10,22,40,0.10), 0 40px 80px -32px rgba(10,22,40,0.55);
  padding: 28px;
}
.search-tabs .nav-link {
  color: var(--muted) !important;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 7px 20px !important;
  border-radius: var(--radius-btn) !important;
  transition: all 0.2s;
  border: none !important;
}
.search-tabs .nav-link.active { background: var(--navy) !important; color: #fff !important; }
.search-card .form-select,
.search-card .form-control {
  border: 1.5px solid #e5e7eb;
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 0.88rem;
  background: var(--soft);
  transition: border-color 0.2s;
}
.search-card .form-select:focus,
.search-card .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(176,135,63,0.1);
  background: #fff;
}
.search-card label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.btn-search {
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: var(--radius-btn);
  padding: 13px 28px;
  font-weight: 700;
  font-size: 0.93rem;
  letter-spacing: 0.01em;
  width: 100%;
  transition: all 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-search:hover { background: var(--ink); transform: translateY(-1px); box-shadow: 0 12px 28px -12px rgba(10,22,40,0.6); }

/* ── HERO BUDGET SLIDER ──────────────────────────── */
.hero-budget-wrap label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.hero-budget-val {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
  text-transform: none;
  letter-spacing: 0;
}
.hero-budget-sub {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
  font-size: 0.75rem;
  color: var(--muted);
}

/* ── MAP PREVIEW (hero) ──────────────────────────── */
.map-preview {
  border-radius: var(--radius);
  overflow: hidden;
  height: 480px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
#heroMap { width: 100%; height: 100%; display: block; }
.map-badge {
  position: absolute; top: 14px; left: 14px;
  background: #fff;
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  box-shadow: 0 2px 12px rgba(0,0,0,0.14);
  display: flex; align-items: center; gap: 6px;
  pointer-events: none;
}
.map-badge .dot {
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.5; transform:scale(1.4); }
}

/* ── LEAFLET MARKERS (shared across hero + map-search) ── */
.mp-marker {
  background: var(--navy);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(13,33,55,0.28);
  border: 2px solid #fff;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  position: relative;
}
.mp-marker::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: var(--navy);
}
.mp-marker:hover,
.mp-marker.mp-active { background: var(--accent); transform: scale(1.1); }
.mp-marker.mp-active::after { border-top-color: var(--accent); }

/* Hero map uses slightly smaller markers */
#heroMap .mp-marker { font-size: 0.68rem; padding: 3px 8px; }

.mp-popup { min-width: 210px; font-family: 'Plus Jakarta Sans', sans-serif; }
.mp-popup-img { width: 100%; height: 115px; object-fit: cover; border-radius: 6px; margin-bottom: 8px; display: block; }
.mp-popup-price { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; color: var(--navy); font-weight: 700; }
.mp-popup-title { font-size: 0.82rem; font-weight: 600; margin: 2px 0 4px; }
.mp-popup-loc   { font-size: 0.75rem; color: #6b7280; margin-bottom: 8px; }
.mp-popup-link  { display: inline-block; font-size: 0.78rem; font-weight: 700; color: var(--accent); text-decoration: none; }
.mp-popup-link:hover { text-decoration: underline; }

/* Cluster colours (shared) */
.marker-cluster-small  div { background: rgba(176,135,63,0.85); }
.marker-cluster-medium div { background: rgba(13,33,55,0.80); }
.marker-cluster-large  div { background: rgba(201,149,42,0.85); }
.marker-cluster div { color: #fff; font-weight: 700; font-size: 0.8rem; }

/* ── SECTIONS ─────────────────────────────────────── */
.section { padding: 110px 0; }
.section-bg { background: var(--soft); }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--accent);
}
.section-title { font-size: clamp(1.8rem, 3vw, 2.8rem); color: var(--navy); line-height: 1.12; letter-spacing: -0.01em; margin-bottom: 12px; }
.section-sub   { color: var(--muted); font-size: 0.98rem; line-height: 1.75; max-width: 480px; }

/* ── CATEGORY CARDS ──────────────────────────────── */
.cat-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: var(--shadow);
  aspect-ratio: 3/4;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.cat-card:hover img { transform: scale(1.06); }
.cat-overlay {
  position: absolute; inset: 0;
  background: rgba(10,22,40,0.42);
  transition: background 0.3s;
}
.cat-card:hover .cat-overlay { background: rgba(10,22,40,0.28); }
.cat-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px 18px; }
.cat-title { color: #fff; font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; margin-bottom: 5px; }
.cat-count {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  color: #fff;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 12px;
  border: 1px solid rgba(255,255,255,0.22);
}
.cat-icon {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem;
  border: 1px solid rgba(255,255,255,0.2);
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.3s;
}
.cat-card:hover .cat-icon { opacity: 1; transform: translateY(0); }

/* ── PROPERTY CARDS ──────────────────────────────── */
.prop-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  background: #fff;
  cursor: pointer;
}
.prop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: rgba(13,33,55,0.16); }
.prop-img-wrap { position: relative; overflow: hidden; height: 215px; display: block; text-decoration: none; color: inherit; }
.prop-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.prop-card:hover .prop-img-wrap img { transform: scale(1.06); }
.prop-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--navy);
  color: #fff;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  padding: 4px 12px;
  text-transform: uppercase;
}
.prop-badge.featured { background: var(--gold); }
.prop-badge.rent     { background: var(--accent); }
.prop-badge.prop-badge-static { position: static; }
.prop-fav {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 1rem;
  border: none; cursor: pointer;
  transition: all 0.2s;
}
.prop-fav:hover { background: #fff; color: #e11d48; }
.prop-body { padding: 18px 20px 20px; }
.prop-price { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--navy); margin-bottom: 4px; }
.prop-from {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  vertical-align: baseline;
}
.prop-title { font-size: 0.95rem; font-weight: 600; color: var(--text); margin-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
a.prop-title { text-decoration: none; display: block; }
a.prop-title:hover { color: var(--accent); }
.prop-loc   { font-size: 0.82rem; color: var(--muted); display: flex; align-items: center; gap: 4px; margin-bottom: 14px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prop-loc i { color: var(--accent); flex-shrink: 0; }
.prop-feats { display: flex; gap: 14px; padding-top: 13px; border-top: 1px solid var(--line); }
.prop-feat  { display: flex; align-items: center; gap: 5px; font-size: 0.8rem; color: var(--muted); }
.prop-feat i { color: var(--navy); font-size: 0.9rem; }
.btn-view {
  background: var(--soft);
  color: var(--navy);
  border: 1.5px solid #e5e7eb;
  border-radius: var(--radius-btn);
  padding: 7px 18px;
  font-size: 0.8rem; font-weight: 600;
  transition: all 0.2s;
  margin-top: 13px;
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none;
}
.btn-view:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ── FEATURE ITEMS ────────────────────────────────── */
.feature-item {
  display: flex; gap: 18px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.feature-icon {
  width: 50px; height: 50px;
  background: rgba(176,135,63,0.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 1.3rem;
  flex-shrink: 0;
}
.feature-title { font-weight: 700; font-size: 0.97rem; margin-bottom: 5px; color: var(--navy); }
.feature-desc  { font-size: 0.85rem; color: var(--muted); line-height: 1.6; margin: 0; }

/* ── TESTIMONIALS ─────────────────────────────────── */
.testi-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  border-left: 3px solid var(--accent);
}
.testi-quote  { font-size: 1rem; font-style: italic; color: var(--text); line-height: 1.75; margin-bottom: 18px; }
.testi-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.testi-name   { font-weight: 700; font-size: 0.9rem; margin-bottom: 1px; }
.testi-role   { font-size: 0.78rem; color: var(--muted); }
.stars        { color: #f59e0b; font-size: 0.85rem; margin-bottom: 12px; }

/* ── CTA BANNER ───────────────────────────────────── */
.cta-banner {
  background: var(--ink);
  border-radius: var(--radius);
  padding: 64px 56px;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  opacity: 0.8;
}
.cta-banner h2 { font-size: clamp(1.8rem,3vw,2.6rem); color: #fff; line-height: 1.12; margin-bottom: 12px; }
.cta-banner p  { color: rgba(255,255,255,0.65); font-size: 1rem; margin-bottom: 28px; }
.btn-accent {
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: var(--radius-btn);
  padding: 12px 30px;
  font-weight: 700; font-size: 0.93rem;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-accent:hover { background: #a97a1e; color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(201,149,42,0.7); }
.btn-teal {
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: var(--radius-btn);
  padding: 12px 30px;
  font-weight: 700; font-size: 0.93rem;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-teal:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: var(--radius-btn);
  padding: 11px 28px;
  font-weight: 600; font-size: 0.93rem;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.1); color: #fff; }

/* ── LISTINGS PAGE ────────────────────────────────── */
.page-hero {
  background: var(--ink);
  border-bottom: 2px solid var(--gold);
  padding: 128px 0 56px;
}
.page-hero h1 { font-size: clamp(2rem,4vw,3.2rem); color: #fff; line-height: 1.1; letter-spacing: -0.01em; margin-bottom: 10px; }
.page-hero p  { color: rgba(255,255,255,0.6); font-size: 1rem; }
.sidebar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  position: sticky; top: 86px;
}
.sidebar-title { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 10px; }
.sidebar-heading { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; color: var(--navy); margin-bottom: 1rem; }
.filter-check .form-check-label { font-size: 0.87rem; }
.range-val { font-weight: 700; color: var(--navy); font-size: 0.9rem; }
.form-range::-webkit-slider-thumb { background: var(--accent); }
.toolbar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 18px;
  box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.toolbar-count { font-size: 0.87rem; }
.btn-toggle {
  background: var(--soft);
  border: 1.5px solid #e5e7eb;
  border-radius: var(--radius-sm);
  color: var(--muted);
  padding: 7px 13px; font-size: 0.85rem;
  transition: all 0.2s; cursor: pointer;
}
.btn-toggle.active, .btn-toggle:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.sort-select {
  width: auto; font-size: 0.84rem;
  border: 1.5px solid #e5e7eb;
  border-radius: var(--radius-btn); padding: 7px 16px;
}
.clear-filters-btn {
  background: none; border: none;
  font-size: 0.82rem; color: var(--muted);
  cursor: pointer; padding: 6px;
}

/* ── SKELETON LOADER ─────────────────────────────── */
.skeleton-box {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer {
  0%   { background-position:  200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-prop-img  { height: 215px; }
.skeleton-line-lg   { height: 22px; width: 55%; border-radius: 6px; margin-bottom: 0.5rem; }
.skeleton-line-md   { height: 16px; width: 80%; border-radius: 6px; margin-bottom: 0.5rem; }
.skeleton-line-sm   { height: 14px; width: 45%; border-radius: 6px; margin-bottom: 0.75rem; }
.skeleton-pill      { height: 13px; width: 55px; border-radius: 5px; }
#cardsGrid .prop-card { animation: fadeUp 0.35s ease both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
#cardsGrid .prop-card:nth-child(2) { animation-delay: .05s; }
#cardsGrid .prop-card:nth-child(3) { animation-delay: .10s; }
#cardsGrid .prop-card:nth-child(4) { animation-delay: .15s; }
#cardsGrid .prop-card:nth-child(5) { animation-delay: .20s; }
#cardsGrid .prop-card:nth-child(6) { animation-delay: .25s; }

/* ── PROPERTY DETAILS ─────────────────────────────── */
.gallery-main { border-radius: var(--radius); overflow: hidden; height: 420px; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.25s; }
.gallery-thumb { border-radius: var(--radius-sm); overflow: hidden; height: 88px; cursor: pointer; transition: opacity 0.2s, transform 0.2s; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover { opacity: 0.8; transform: scale(1.02); }
.summary-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; position: sticky; top: 86px; }
.summary-price { font-family: 'Cormorant Garamond', serif; font-size: 2rem; color: var(--navy); }
.summary-title { font-size: 1.08rem; font-weight: 600; margin-bottom: 6px; }
.key-feat {
  background: var(--soft); border-radius: var(--radius-sm);
  padding: 14px 8px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.key-feat i    { font-size: 1.25rem; color: var(--accent); margin-bottom: 5px; }
.key-feat span { font-size: 0.75rem; color: var(--muted); }
.key-feat strong { font-size: 0.92rem; color: var(--text); }
.btn-callback {
  background: var(--navy); color: #fff; border: none;
  border-radius: var(--radius-btn); padding: 12px;
  font-weight: 700; width: 100%; transition: all 0.2s; cursor: pointer;
}
.btn-callback:hover { background: var(--ink); }
.btn-schedule {
  background: var(--soft); color: var(--navy);
  border: 1.5px solid #e5e7eb;
  border-radius: var(--radius-sm); padding: 12px;
  font-weight: 600; width: 100%; transition: all 0.2s; cursor: pointer;
}
.btn-schedule:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.amenity-item { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.88rem; }
.amenity-item i { color: var(--accent); font-size: 1rem; width: 20px; }
.detail-table td { padding: 10px 12px; font-size: 0.87rem; }
.detail-table tr:nth-child(even) td { background: var(--soft); }
.callback-card {
  background: var(--navy);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius); padding: 26px; color: #fff;
}
.callback-card .form-control,
.callback-card .form-select {
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.2);
  color: #fff; border-radius: var(--radius-sm);
  padding: 10px 14px; font-size: 0.88rem;
}
.callback-card .form-control::placeholder { color: rgba(255,255,255,0.45); }
.callback-card .form-control:focus,
.callback-card .form-select:focus { border-color: var(--gold); box-shadow: none; background: rgba(255,255,255,0.15); color: #fff; }
.callback-card label  { color: rgba(255,255,255,0.75); font-size: 0.8rem; font-weight: 600; margin-bottom: 6px; }
.callback-card option { color: var(--text); background: #fff; }
.agent-note { background: rgba(255,255,255,0.1); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 0.8rem; color: rgba(255,255,255,0.75); }
.map-embed { border-radius: var(--radius); overflow: hidden; height: 300px; box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; height: 100%; border: none; }

/* ── DETAIL PAGE ──────────────────────────────────── */
.detail-wrap { padding-top: 86px; }
.breadcrumb-active { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 300px; }
.detail-error { background: #fff3f3; border: 1.5px solid #fca5a5; border-radius: var(--radius); padding: 24px; }
.detail-error-icon  { font-size: 1.3rem; flex-shrink: 0; }
.detail-error-title { font-weight: 700; color: #b91c1c; margin-bottom: 6px; }
.detail-error-msg   { font-size: 0.88rem; color: #6b7280; }
.gallery-empty { background: var(--soft); display: flex; align-items: center; justify-content: center; }
.gallery-empty i { font-size: 3rem; }
.section-heading    { font-size: 1.6rem; color: var(--navy); margin-bottom: 14px; }
.section-heading-lg { font-size: 1.6rem; color: var(--navy); margin-bottom: 18px; }
.prop-description { color: var(--muted); line-height: 1.85; font-size: 0.95rem; }
.prop-description *,
.prop-description p,
.prop-description span,
.prop-description div,
.prop-description li,
.prop-description h1,
.prop-description h2,
.prop-description h3,
.prop-description h4 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  color: inherit !important;
}
.unit-card { padding: 16px; border-radius: var(--radius-sm); background: var(--soft); }
.unit-card-title { font-size: 0.9rem; color: var(--navy); display: block; margin-bottom: 6px; }
.unit-card-price { font-size: 0.82rem; color: var(--accent); font-weight: 700; }
.unit-card-size  { font-size: 0.78rem; color: var(--muted); display: block; margin-top: 3px; }
.location-note { font-size: 0.85rem; }
.listing-ref   { font-size: 0.75rem; color: var(--muted); }

/* ── AGENT AVATAR ─────────────────────────────────── */
.agent-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.agent-avatar-fallback { display: flex; width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0; align-items: center; justify-content: center; }
.agent-info { min-width: 0; }
.agent-name { font-weight: 700; font-size: 0.92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agent-role  { font-size: 0.78rem; color: var(--muted); }
.agent-phone { font-size: 0.78rem; color: var(--accent); text-decoration: none; }

/* ── MAP SEARCH PAGE ──────────────────────────────── */
.map-page-wrap {
  padding-top: 74px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.map-filter-bar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 12px 20px;
  box-shadow: 0 1px 2px rgba(13,33,55,0.04), 0 12px 28px -24px rgba(13,33,55,0.3);
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  align-items: center;
  flex-shrink: 0;
  z-index: 500;
  position: relative;
}
.map-type-btn {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: var(--radius-btn);
  padding: 7px 16px;
  font-size: 0.83rem;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: border-color 0.2s;
  flex-shrink: 0;
}
.map-type-btn:hover,
.map-type-btn.open { border-color: var(--accent); color: var(--accent); }
.map-type-btn .type-count {
  background: var(--accent);
  color: #fff;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 1px 7px;
  display: none;
}
.map-type-btn .type-count.visible { display: inline-block; }
.map-type-btn .chevron { font-size: 0.7rem; margin-left: 2px; }
.map-type-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 20px;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 14px 18px;
  min-width: 200px;
  z-index: 600;
  display: none;
}
.map-type-panel.open { display: block; }
.map-type-panel .form-check-label { font-size: 0.87rem; }
.clear-type-link {
  font-size: 0.78rem;
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  margin-top: 10px;
  display: block;
}
.clear-type-link:hover { color: var(--accent); }
.map-count-badge {
  margin-left: auto;
  font-size: 0.83rem;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.fetch-spinner {
  width: 14px; height: 14px;
  border: 2px solid #e5e7eb;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}
.fetch-spinner.active { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.map-body { display: flex; flex: 1; overflow: hidden; }
.map-listings-panel {
  width: 340px;
  min-width: 280px;
  flex-shrink: 0;
  overflow-y: auto;
  background: var(--soft);
  padding: 16px;
}
.map-listings-panel::-webkit-scrollbar { width: 4px; }
.map-listings-panel::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 4px; }
.panel-header {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9ca3af;
  margin-bottom: 14px;
  padding: 0 2px;
}
.mini-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  margin-bottom: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.mini-card:hover { transform: translateX(4px); box-shadow: var(--shadow-hover); }
.mini-card img { width: 96px; height: 86px; object-fit: cover; flex-shrink: 0; }
.mini-card-body { padding: 11px 13px; flex: 1; min-width: 0; }
.mini-price { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; color: var(--navy); }
.mini-title { font-size: 0.8rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-loc   { font-size: 0.73rem; color: var(--muted); }

.mini-card.active {
  box-shadow: 0 0 0 2px var(--accent), 0 4px 16px rgba(176,135,63,0.18);
  transform: translateX(4px);
}
.map-main { flex: 1; position: relative; overflow: hidden; }
#leafletMap { width: 100%; height: 100%; }
.panel-skeleton { display: flex; flex-direction: column; gap: 10px; }
.panel-skel-card { background: #fff; border-radius: 10px; height: 72px; overflow: hidden; }

/* ── MODAL ────────────────────────────────────────── */
.modal-content { border-radius: var(--radius); border: none; }
.modal-header  { border-bottom: 1px solid var(--line); padding: 20px 24px; }
.modal-body    { padding: 24px; }
.modal-title   { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--navy); }
.modal .form-control, .modal .form-select {
  border: 1.5px solid #e5e7eb;
  border-radius: var(--radius-sm); padding: 10px 14px; font-size: 0.88rem;
}
.modal .form-control:focus, .modal .form-select:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(176,135,63,0.1);
}

/* ── BREADCRUMB ───────────────────────────────────── */
.breadcrumb-item a { color: var(--accent); text-decoration: none; }
.breadcrumb { font-size: 0.84rem; }

/* ── PAGINATION ───────────────────────────────────── */
.page-link { color: var(--navy); border-color: #e5e7eb; }
.page-link:hover { background: var(--soft); color: var(--navy); }
.page-item.active .page-link { background: var(--navy); border-color: var(--navy); }

/* ── UTILITIES ────────────────────────────────────── */
.text-teal   { color: var(--accent) !important; }
.text-gold   { color: var(--gold) !important; }
.text-navy   { color: var(--navy) !important; }
.bg-navy     { background: var(--navy) !important; }
.bg-soft     { background: var(--soft) !important; }
.rounded-xl  { border-radius: var(--radius) !important; }

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 991px) {
  .hero { min-height: auto; padding: 110px 0 60px; }
  .map-preview { height: 300px; margin-top: 30px; }
  .cta-banner  { padding: 40px 28px; }
  .map-page-wrap { height: auto; overflow: auto; }
  .map-body      { flex-direction: column; }
  .map-listings-panel { width: 100%; max-height: 42vh; }
  .map-main      { height: 55vh; }
  .map-filter-bar { flex-wrap: wrap; }
  .sidebar { position: relative; top: 0; }
  .summary-card { position: relative; top: 0; }
}
@media (max-width: 575px) {
  .search-card { padding: 20px; }
  .hero h1 { font-size: 2.2rem; }
}

/* ── LISTINGS PAGE UTILITIES ─────────────────────── */
.empty-state-text  { max-width: 360px; }
.budget-min-label  { font-size: 0.78rem; }
.map-error-text { color: #b91c1c; }

/* ── FOOTER ───────────────────────────────────────── */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.65);
  padding: 72px 0 36px;
}
.footer-logo   { filter: brightness(0) invert(1); display: block; }
.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.12em;
  margin: 0;
}
.footer-hr  { border-color: rgba(255,255,255,0.08); margin: 40px 0 24px; }
.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.35); }

/* Social buttons */
.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55); font-size: 0.95rem;
  transition: all 0.2s; text-decoration: none; margin-right: 6px;
}
.social-btn:hover { background: var(--gold); color: #fff; }

/* Newsletter */
.footer-newsletter-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.footer-newsletter-wrap {
  display: flex;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-btn);
  overflow: hidden;
  transition: border-color 0.2s;
}
.footer-newsletter-wrap:focus-within { border-color: var(--accent); }
.footer-newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 10px 18px;
  font-size: 0.85rem;
  color: #fff;
  min-width: 0;
}
.footer-newsletter-input::placeholder { color: rgba(255,255,255,0.35); }
.footer-newsletter-btn {
  background: var(--gold);
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.footer-newsletter-btn:hover { background: #b07e22; }
.footer-newsletter-success {
  font-size: 0.82rem;
  color: var(--accent);
  margin: 10px 0 0;
}
.footer-newsletter-error {
  font-size: 0.82rem;
  color: #fca5a5;
  margin: 10px 0 0;
}

/* Footer links */
.footer-links { display: flex; gap: 24px; justify-content: flex-end; flex-wrap: wrap; }
.footer-links a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 0.83rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

@media (max-width: 991px) {
  .footer-links { justify-content: center; }
}

/* ═══════════════════════════════════════════════
   SIMILAR LISTINGS CAROUSEL
   ═══════════════════════════════════════════════ */
.similar-listings-wrap { position: relative; margin-bottom: 40px; }
.similar-listings-container { position: relative; max-width: 1320px; margin: 0 auto; padding: 0 15px; }
.similar-listings-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 16px;
}
.similar-listings-loading {
  text-align: center;
  padding: 30px 0;
}

/* Carousel card */
.similar-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  background: #fff;
  text-decoration: none;
  color: inherit;
}
.similar-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(13,33,55,0.16);
  color: inherit;
}

.similar-card-img {
  position: relative;
  overflow: hidden;
  height: 160px;
}
.similar-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.similar-card:hover .similar-card-img img { transform: scale(1.06); }

.similar-card-body { padding: 14px 16px 16px; }
.similar-card-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}
.similar-card-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.similar-card-meta {
  display: flex;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 6px;
}
.similar-card-meta i { color: var(--navy); font-size: 0.85rem; }
.similar-card-loc {
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.similar-card-loc i { color: var(--accent); font-size: 0.8rem; }

/* Owl nav arrows */
.similar-listings-wrap .owl-nav button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy) !important;
  color: #fff !important;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.similar-listings-wrap .owl-nav button.owl-prev { left: -18px; }
.similar-listings-wrap .owl-nav button.owl-next { right: -18px; }
.similar-listings-wrap .owl-nav button:hover { background: var(--accent) !important; }
.similar-listings-wrap .owl-nav button i { line-height: 1; }

@media (max-width: 575px) {
  .similar-card-img { height: 140px; }
  .similar-listings-wrap .owl-nav button.owl-prev { left: -10px; }
  .similar-listings-wrap .owl-nav button.owl-next { right: -10px; }
}

/* ── BREADCRUMBS ────────────────────────────────── */
.breadcrumbs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  margin: 0 0 0.75rem;
  font-size: 0.84rem;
}
.breadcrumbs li { display: inline-flex; align-items: center; color: var(--muted); }
.breadcrumbs li + li::before {
  content: '›';
  margin: 0 0.45rem;
  color: var(--muted);
  opacity: 0.6;
}
.breadcrumbs a { color: var(--accent); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current="page"] {
  color: var(--muted);
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.page-hero .breadcrumbs li,
.page-hero .breadcrumbs [aria-current="page"] { color: rgba(255,255,255,0.55); }
.page-hero .breadcrumbs a { color: #e8c870; }
.page-hero .breadcrumbs a:hover { color: #fff; }
.page-hero .breadcrumbs li + li::before { color: rgba(255,255,255,0.4); }

/* ── LANDING PAGES ──────────────────────────────── */
.landing-hero .landing-intro {
  max-width: 720px;
  margin: 0.75rem auto 0;
  color: rgba(255,255,255,0.62);
  font-size: 0.95rem;
  line-height: 1.8;
}
.landing-count { color: var(--muted); font-size: 0.9rem; margin-bottom: 1rem; }

.landing-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 2.5rem 0 1rem;
}
.landing-pagination a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}
.landing-pagination a:hover { text-decoration: underline; }
.landing-page-num { color: var(--muted); font-size: 0.85rem; }

.related-links { margin-top: 2.5rem; }
.related-links h2 {
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 0.85rem;
}
.related-links ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  padding: 0;
  margin: 0 0 1.5rem;
}
.related-links a { color: var(--accent); text-decoration: none; font-size: 0.9rem; }
.related-links a:hover { text-decoration: underline; }

/* ── POPULAR LINKS (home + footer) ──────────────── */
.popular-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1rem;
  padding: 0;
  margin: 0;
}
.popular-links a {
  display: inline-block;
  padding: 0.45rem 1rem;
  border: 1px solid rgba(176,135,63,0.3);
  border-radius: var(--radius-sm);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}
.popular-links a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.footer-popular { text-align: center; margin-top: 1.5rem; }
.footer-popular-title {
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
.footer-popular .popular-links a {
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.85);
}
.footer-popular .popular-links a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ── WHATSAPP ───────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  line-height: 1;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  z-index: 1040;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.whatsapp-float:hover {
  background: #1ebe5b;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}
@media (max-width: 575px) {
  .whatsapp-float { right: 14px; bottom: 14px; width: 50px; height: 50px; font-size: 1.5rem; }
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px;
  font-weight: 700;
  width: 100%;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-whatsapp:hover { background: #1ebe5b; color: #fff; }

/* ── SHARE PROPERTY ─────────────────────────────── */
.share-widget { position: relative; }
.btn-share {
  background: var(--soft);
  color: var(--navy);
  border: 1.5px solid #e5e7eb;
  border-radius: var(--radius-sm);
  padding: 12px;
  font-weight: 600;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-share:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.share-menu {
  width: 100%;
  padding: 6px;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.share-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--navy);
}
.share-menu .dropdown-item i { font-size: 1.05rem; }
.share-menu .dropdown-item:hover,
.share-menu .dropdown-item:focus { background: var(--soft); color: var(--navy); }
.share-menu .dropdown-divider { margin: 4px 0; }

/* ═══════════════════════════════════════════════
   FAVOURITES · COMPARE · SAVED · LIGHTBOX
   ═══════════════════════════════════════════════ */
.prop-card { position: relative; }

/* Card action buttons (heart + compare) */
.prop-fav, .prop-cmp {
  position: absolute;
  right: 12px;
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.94);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-size: 1rem;
  border: none; cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  z-index: 3;
  box-shadow: 0 2px 10px rgba(10,22,40,0.14);
}
.prop-fav { top: 12px; }
.prop-cmp { top: 54px; }
.prop-fav:hover, .prop-cmp:hover { background: #fff; transform: translateY(-1px); }
.prop-fav.is-active { color: #e11d48; }
.prop-cmp.is-active { background: var(--navy); color: #fff; }
.mp-action-btn.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Nav Saved link + counter */
.nav-saved { position: relative; }
.nav-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--gold); color: #fff;
  border-radius: 999px;
  font-size: 0.68rem; font-weight: 700;
  line-height: 1;
  margin-left: 5px;
  vertical-align: middle;
}

/* Toast */
.mp-toast {
  position: fixed; left: 50%; bottom: 96px;
  transform: translate(-50%, 16px);
  background: var(--ink); color: #fff;
  padding: 11px 20px; border-radius: var(--radius-btn);
  font-size: 0.85rem; font-weight: 600;
  box-shadow: 0 16px 40px -16px rgba(10,22,40,0.6);
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 2000;
}
.mp-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Empty state */
.mp-empty { text-align: center; padding: 56px 20px; color: var(--muted); }
.mp-empty i { font-size: 2.4rem; opacity: 0.35; display: block; margin-bottom: 12px; }
.mp-empty p { font-size: 0.92rem; margin: 0; }

/* Compare floating bar */
.mp-compare-bar {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 1045;
  background: rgba(255,255,255,0.97);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 40px -24px rgba(10,22,40,0.45);
  padding: 10px 16px;
}
.mp-compare-bar-inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.mp-compare-items { display: flex; gap: 10px; overflow-x: auto; min-width: 0; }
.mp-compare-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--soft); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 4px 6px 4px 4px;
  flex-shrink: 0; max-width: 220px;
}
.mp-compare-chip img { width: 34px; height: 34px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.mp-compare-chip-title {
  font-size: 0.78rem; font-weight: 600; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 130px;
}
.mp-compare-chip-x {
  border: none; background: none; color: var(--muted);
  font-size: 1.1rem; line-height: 1; cursor: pointer; padding: 0 4px;
}
.mp-compare-chip-x:hover { color: #e11d48; }
.mp-compare-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.mp-compare-clear {
  border: none; background: none; color: var(--muted);
  font-size: 0.82rem; cursor: pointer; padding: 6px;
}
.mp-compare-clear:hover { color: var(--navy); }
.mp-compare-go { padding: 9px 20px; font-size: 0.85rem; }
body.mp-bar-open { padding-bottom: 72px; }
body.mp-bar-open .whatsapp-float { bottom: 92px; }

/* Saved / compare page shell */
.mp-page-head { padding: 40px 0 8px; }
.mp-page-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.9rem,3vw,2.6rem); color: var(--navy); margin: 0 0 6px; }
.mp-page-sub { color: var(--muted); font-size: 0.95rem; margin: 0; }
.mp-section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin: 48px 0 20px;
}
.mp-section-head h2 { font-size: 1.5rem; color: var(--navy); margin: 0; }
.mp-clear-btn { border: none; background: none; color: var(--muted); font-size: 0.82rem; cursor: pointer; }
.mp-clear-btn:hover { color: #b91c1c; }

/* Saved search card */
.saved-search-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow);
  padding: 18px 20px; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 12px;
}
.saved-search-label { font-weight: 700; color: var(--navy); font-size: 0.95rem; margin-bottom: 4px; }
.saved-search-meta { font-size: 0.82rem; color: var(--muted); }
.saved-search-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.price-drop-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(14,124,107,0.12); color: #0a6358;
  border-radius: var(--radius-sm); padding: 3px 10px;
  font-size: 0.74rem; font-weight: 700;
}
.saved-search-del { border: none; background: none; color: var(--muted); cursor: pointer; font-size: 1rem; }
.saved-search-del:hover { color: #b91c1c; }
.saved-search-status { font-size: 0.8rem; color: var(--muted); }

/* Compare table */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.compare-table th, .compare-table td {
  padding: 14px 18px; text-align: left; font-size: 0.9rem;
  border-bottom: 1px solid var(--line); vertical-align: top;
}
.compare-table thead th { background: var(--soft); position: sticky; top: 0; }
.compare-table tbody th { color: var(--muted); font-weight: 600; width: 160px; white-space: nowrap; }
.compare-thumb { width: 100%; height: 130px; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 10px; display: block; }
.compare-col-title { font-weight: 700; color: var(--navy); font-size: 0.95rem; }
.compare-col-price { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; color: var(--navy); }
.compare-remove { border: none; background: none; color: var(--muted); font-size: 0.8rem; cursor: pointer; margin-top: 6px; }
.compare-remove:hover { color: #b91c1c; }
.compare-best { color: #0a6358; font-weight: 700; }

/* Recently viewed strip */
.recent-scroll { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; }
.recent-item { flex: 0 0 220px; text-decoration: none; color: inherit; }
.recent-item img { width: 100%; height: 130px; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 8px; }
.recent-item .recent-title { font-size: 0.85rem; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.recent-item .recent-price { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--navy); }

/* Lightbox */
body.mp-lb-lock { overflow: hidden; }
.mp-lightbox {
  position: fixed; inset: 0; z-index: 2100;
  background: rgba(6,13,24,0.94);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.mp-lightbox.is-open { display: flex; }
.mp-lb-stage { margin: 0; max-width: 1100px; width: 100%; text-align: center; }
.mp-lb-stage img { max-width: 100%; max-height: 82vh; border-radius: var(--radius-sm); display: block; margin: 0 auto; }
.mp-lb-stage figcaption { color: rgba(255,255,255,0.6); font-size: 0.82rem; margin-top: 12px; }
.mp-lb-nav, .mp-lb-close {
  position: absolute; background: rgba(255,255,255,0.1); color: #fff;
  border: none; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.mp-lb-nav { width: 48px; height: 48px; font-size: 1.4rem; top: 50%; transform: translateY(-50%); }
.mp-lb-nav:hover, .mp-lb-close:hover { background: rgba(255,255,255,0.22); }
.mp-lb-prev { left: 24px; }
.mp-lb-next { right: 24px; }
.mp-lb-close { width: 42px; height: 42px; font-size: 1.5rem; top: 20px; right: 20px; }
.gallery-main img, .gallery-thumb { cursor: zoom-in; }

@media (max-width: 575px) {
  .mp-lb-prev { left: 8px; }
  .mp-lb-next { right: 8px; }
  .mp-compare-chip-title { max-width: 90px; }
  .mp-compare-go { padding: 8px 14px; }
}