/* =========================================================
   NinetyNine Theme — PropHyper
   99acres-inspired design system
   ========================================================= */

/* === FONTS === */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=DM+Serif+Display:ital@0;1&display=swap');

/* === VARIABLES === */
:root {
  --red: #e03a3a;
  --red-dark: #c12d2d;
  --red-light: #fef2f2;
  --blue: #0061a8;
  --blue-dark: #004d87;
  --blue-light: #e8f1fa;
  --green: #22a55a;
  --amber: #f59e0b;
  --white: #ffffff;
  --off-white: #f9f9f9;
  --bg: #f5f5f5;
  --card: #ffffff;
  --border: #e5e5e5;
  --border-light: #f0f0f0;
  --text: #2d2d2d;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow: 0 2px 8px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.12);
  --radius: 8px;
  --radius-sm: 4px;
  --radius-lg: 12px;
  --nav-h: 64px;
  --font: 'DM Sans', sans-serif;
  --font-display: 'DM Serif Display', serif;
  --transition: 0.18s ease;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* === LAYOUT === */
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.page-wrap { min-height: calc(100vh - var(--nav-h)); }

/* === NAVBAR === */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  box-shadow: var(--shadow-sm);
}
.navbar__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
  flex-shrink: 0;
  line-height: 1;
  text-decoration: none;
}
/* Part 1 — coloured (e.g. "real") */
.navbar__logo-num {
  color: var(--red);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.5px;
}
/* Part 2 — plain (e.g. "homes") — explicitly match part 1 metrics */
.navbar__logo-text {
  color: var(--text);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.5px;
}
.navbar__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.navbar__nav a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.navbar__nav a:hover, .navbar__nav a.active {
  color: var(--red);
  background: var(--red-light);
}
.navbar__nav a.mega-active {
  color: var(--red);
  background: transparent;
}
.navbar__nav a.mega-active::after {
  content: "";
  display: block;
  height: 3px;
  margin: 7px 4px -10px;
  border-radius: 3px 3px 0 0;
  background: #0b78d0;
}
.mega-backdrop {
  position: fixed;
  inset: 72px 0 0;
  z-index: 390;
  display: none;
  background: rgba(15, 23, 42, .34);
}
.mega-backdrop.open { display: block; }
.navbar-mega {
  position: absolute;
  top: calc(100% - 2px);
  left: 50%;
  z-index: 420;
  display: none;
  grid-template-columns: 250px minmax(420px, 1fr) 280px;
  gap: 0;
  width: min(1180px, calc(100vw - 96px));
  min-height: 310px;
  transform: translateX(-50%);
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .22);
}
.navbar-mega.open { display: grid; }
.navbar-mega__side {
  padding: 36px 32px;
  background: #f4f6fa;
}
.navbar-mega__side a,
.navbar-mega__side-item {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 7px;
  margin: 0 0 17px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #3d4b63;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
}
.navbar-mega__side-badge {
  display: inline-flex;
  align-items: center;
  height: 15px;
  padding: 0 5px;
  border-radius: 3px;
  background: #0b78d0;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
}
.navbar-mega__main {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 40px;
  padding: 36px 46px 68px;
}
.navbar-mega__col p {
  margin: 0 0 18px;
  color: #7b8794;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}
.navbar-mega__col a {
  display: block;
  margin-bottom: 14px;
  color: #10213f;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}
.navbar-mega__col a:hover,
.navbar-mega__side a:hover,
.navbar-mega__side-item:hover,
.navbar-mega__side-item.is-active {
  color: #0b78d0;
}
.navbar-mega__aside {
  display: flex;
  align-items: center;
  padding: 32px 34px;
}
.mega-card {
  width: 100%;
  min-height: 220px;
  padding: 28px 26px;
  border-radius: 8px;
  background: #eef8ff;
}
.mega-card small {
  display: block;
  margin-bottom: 4px;
  color: #0b78d0;
  font-size: 11px;
  font-weight: 800;
}
.mega-card strong {
  display: block;
  margin-bottom: 22px;
  color: #10213f;
  font-size: 24px;
  line-height: 1.1;
}
.mega-card span {
  display: block;
  margin-bottom: 12px;
  color: #2d405f;
  font-size: 14px;
}
.mega-card span::before {
  content: "✓";
  margin-right: 9px;
  color: #0b78d0;
  font-weight: 800;
}
.mega-card--post {
  background: #effaf3;
}
.mega-card--post strong {
  margin-bottom: 14px;
  font-size: 22px;
}
.mega-card--post span::before { content: ""; margin: 0; }
.mega-card--post a {
  display: inline-flex;
  margin-top: 10px;
  padding: 11px 20px;
  border-radius: 6px;
  background: #0b78d0;
  color: #fff;
  font-weight: 800;
}
.navbar-mega__foot {
  position: absolute;
  left: 300px;
  bottom: 18px;
  color: #7b8794;
  font-size: 12px;
}
.navbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.btn-post {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  border: none;
}
.btn-post:hover { background: var(--red-dark); }

.ad-zone {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 14px auto;
  overflow: hidden;
  text-align: center;
}
.ad-zone ins.adsbygoogle,
.ad-zone iframe,
.ad-zone img {
  max-width: 100%;
}
.ad-zone--header_leaderboard,
.ad-zone--footer_banner,
.ad-zone--seo_page_top,
.ad-zone--content_page {
  min-height: 90px;
}
.ad-zone--search_sidebar_top,
.ad-zone--search_sidebar_mid,
.ad-zone--seo_sidebar,
.ad-zone--listing_page_sidebar {
  min-height: 250px;
}
.ad-zone--in_feed_1,
.ad-zone--in_feed_2 {
  min-height: 70px;
  border-radius: 8px;
  background: #fff;
}
.btn-post .badge-free {
  background: var(--green);
  color: white;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.navbar__user-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}
.hamburger { display: none; background: none; border: none; font-size: 22px; color: var(--text); }

/* === HERO SEARCH === */
.hero--bg-only {
  position: relative;
  height: 380px;               /* tall enough for bg image to show fully */
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-image: linear-gradient(135deg, #1a2235 0%, #2b3a55 60%, #1e4d7b 100%);
  z-index: 0;
}
.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 60%, rgba(0,0,0,.05) 100%);
  z-index: 1;
}
.hero__ad-right {
  position: absolute;
  top: 14px; right: 0; bottom: 14px;
  width: 340px;
  z-index: 2;
  border-radius: 10px 0 0 10px;
  overflow: hidden;
}

/* Ad banner */
.hero-banner {
  position: absolute; inset: 0;
  display: block; opacity: 0;
  transition: opacity .5s ease;
  text-decoration: none;
}
.hero-banner--active { opacity: 1; z-index: 1; }
.hero-banner img { width:100%; height:100%; object-fit:cover; display:block; transition: transform .35s ease; }
.hero-banner:hover img  { transform: scale(1.04); }
.hero-banner__caption { position:absolute; bottom:0; left:0; right:0; background:linear-gradient(transparent,rgba(0,0,0,.65)); color:#fff; font-size:12px; font-weight:500; padding:18px 10px 8px; }
.hero-banner__dots { position:absolute; bottom:8px; right:10px; display:flex; gap:5px; z-index:2; }
.hero-banner__dot { width:7px; height:7px; border-radius:50%; background:rgba(255,255,255,.5); border:none; cursor:pointer; padding:0; transition:background .2s; }
.hero-banner__dot.active { background:#fff; }

/* ── Search card — overlaps hero bottom + content top ── */
.search-card-wrap {
  position: relative;
  z-index: 10;
  margin-top: -62px;          /* pull card up into hero */
  margin-bottom: 0;
  padding-bottom: 0;
}
.search-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(0,0,0,.18);
  overflow: visible;
  position: relative;
}
.search-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  background: var(--off-white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}

/* ── Filter section — inside search card, below res-panel ── */
/* Filter section — lives INSIDE search-box, below res-panel */
#buy-filter-section,
#rent-filter-section {
  background: var(--white);
  border-top: 1px solid var(--border-light);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.search-filters-inner {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 20px 14px;
}
.filter-panel {
  border-top: 1px solid var(--border-light);
  background: var(--white);
  animation: slideDown .15s ease;
}
.filter-panel__head {
  padding: 14px 20px 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
}
.filter-panel__sub {
  font-weight: 400;
  font-size: 13px;
  color: var(--text-muted);
}
.filter-panel__body { padding: 0 20px 18px; }

/* GPS / Voice icon buttons */
.search-icon-btn {
  flex-shrink: 0;
  background: none; border: none; cursor: pointer; padding: 4px 6px;
  color: var(--text-light); line-height: 1;
  display: flex; align-items: center;
  transition: color .15s;
}
.search-icon-btn:hover   { color: var(--blue, #1a73e8); }
.search-icon-btn.spinning svg { animation: spin .7s linear infinite; }
.search-icon-btn.listening svg { color: var(--red); animation: pulse 1s infinite; }
@keyframes spin  { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

/* Filter pills (BHK, status, posted by) */
.filter-pill-group { display:flex; flex-wrap:wrap; gap:10px; }
.fp-pill {
  display: inline-flex; align-items: center;
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: 24px;
  font-size: 13.5px; font-weight: 500;
  color: var(--text-muted);
  cursor: pointer; transition: all .15s; user-select: none; white-space: nowrap;
}
.fp-pill:hover   { border-color: var(--text-muted); color: var(--text); }
.fp-pill--active { border-color: var(--blue,#1a73e8); color: var(--blue,#1a73e8); background:#e8f0fe; font-weight:600; }

/* Budget dual slider */
.budget-range-wrap  { padding: 4px 0 8px; max-width: 860px; }
.budget-range-labels { display:flex; justify-content:space-between; font-size:13px; font-weight:600; color:var(--text); margin-bottom:18px; }
.budget-slider-track { position:relative; height:4px; background:var(--border); border-radius:2px; margin:10px 0 4px; }
.budget-slider-fill  { position:absolute; height:4px; background:var(--blue,#1a73e8); border-radius:2px; pointer-events:none; left:0; width:100%; }
.budget-slider-track input[type="range"] { position:absolute; top:50%; transform:translateY(-50%); width:100%; height:4px; background:transparent; pointer-events:none; appearance:none; -webkit-appearance:none; margin:0; }
.budget-slider-track input[type="range"]::-webkit-slider-thumb { pointer-events:all; width:18px; height:18px; border-radius:50%; background:#fff; border:2px solid var(--blue,#1a73e8); box-shadow:0 1px 4px rgba(0,0,0,.2); cursor:pointer; appearance:none; -webkit-appearance:none; position:relative; z-index:2; }
.budget-slider-track input[type="range"]::-moz-range-thumb { pointer-events:all; width:18px; height:18px; border-radius:50%; background:#fff; border:2px solid var(--blue,#1a73e8); cursor:pointer; }

/* Filter btn active state */
.filter-btn--active { border-color: var(--text); color: var(--text); background: var(--white); }
.filter-btn--active svg { transform: rotate(180deg); }

/* bhk pill (legacy) */
.bhk-pill { display:flex; align-items:center; cursor:pointer; font-size:13px; border:1px solid var(--border); padding:5px 12px; border-radius:20px; transition:all .15s; user-select:none; }
.bhk-pill.active,.bhk-pill:has(input:checked) { border-color:var(--red); color:var(--red); background:var(--red-light); }

/* Legacy .hero class — keep for other pages that may use it */
.hero {
  background: linear-gradient(135deg, #1a2235 0%, #2b3a55 60%, #1e4d7b 100%);
  padding: 0; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero__content { position: relative; z-index: 1; padding: 48px 0 40px; }
.hero__title   { font-family: var(--font-display); font-size: 36px; color: var(--white); margin-bottom: 6px; font-weight: 400; }
.hero__sub     { color: rgba(255,255,255,.7); font-size: 14px; margin-bottom: 28px; }


/* Search Box styles defined earlier in file */
.search-tab {
  padding: 13px 22px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
  position: relative;
}
.search-tab:hover { color: var(--text); }
.search-tab.active {
  color: var(--red);
  border-bottom-color: var(--red);
  background: var(--white);
}
.search-tab .new-badge {
  position: absolute;
  top: 8px;
  right: 6px;
  width: 6px; height: 6px;
  background: var(--red);
  border-radius: 50%;
}
.search-body {
  padding: 18px 20px 20px;
  display: block;
}
/* Round bottom corners when no filter section follows */
.search-body:last-child {
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.search-row { display: flex; gap: 10px; align-items: center; }
.search-type-select {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  height: 46px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  color: var(--text);
  position: relative;
}
.search-type-select select {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
}
.search-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  height: 46px;
  transition: border-color var(--transition);
}
.search-input-wrap:focus-within { border-color: var(--red); }
.search-input-wrap svg { color: var(--text-light); flex-shrink: 0; }
.search-input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--text);
  background: transparent;
}
.search-input-wrap input::placeholder { color: var(--text-light); }
.search-input-wrap--locations {
  position: relative;
  flex-wrap: wrap;
  align-content: center;
  height: auto;
  min-height: 46px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.search-input-wrap--locations input { min-width: 180px; }
.location-chip-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.location-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 240px;
  padding: 5px 9px;
  border: 1px solid #9bd0ff;
  border-radius: 18px;
  background: #eef7ff;
  color: #102a43;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}
.location-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.location-chip button {
  border: 0;
  background: transparent;
  color: #1d76bd;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 0;
}
.location-suggest-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 50;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(0,0,0,.14);
}
.location-suggest-row {
  display: block;
  width: 100%;
  padding: 10px 14px;
  border: 0;
  border-bottom: 1px solid var(--border-light);
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  text-align: left;
}
.location-suggest-row:last-child { border-bottom: 0; }
.location-suggest-row:hover { background: #f4f8ff; }
.search-intent-row strong {
  font-size: 15px;
  font-weight: 600;
  color: #10213f;
}
.search-intent-row span {
  color: #7b8794;
  text-align: right;
}
.location-suggest-row strong {
  display: block;
  font-size: 13.5px;
}
.location-suggest-row span {
  display: block;
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 12px;
}
.location-suggest-row.search-intent-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 16px;
}
.location-suggest-row.search-intent-row strong {
  font-size: 15px;
  font-weight: 600;
  color: #10213f;
}
.location-suggest-row.search-intent-row span {
  flex-shrink: 0;
  margin-top: 0;
  color: #7b8794;
}
.location-chip-notice {
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  z-index: 55;
  padding: 8px 12px;
  border: 1px solid #f5c2c7;
  border-radius: 6px;
  background: #fff5f5;
  color: #b42318;
  font-size: 12.5px;
  box-shadow: 0 10px 24px rgba(0,0,0,.1);
}
.search-btn {
  background: var(--red);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  height: 46px;
  padding: 0 28px;
  font-size: 14px;
  font-weight: 600;
  transition: background var(--transition);
  flex-shrink: 0;
}
.search-btn:hover { background: var(--red-dark); }
.search-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 12px;
}
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-light);
}

/* === STATS BAR === */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.stats-bar__inner {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-item__num {
  font-size: 20px;
  font-weight: 700;
  color: var(--red);
  line-height: 1.1;
}
.stat-item__label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 500;
}

/* === SECTION === */
.section { padding: 36px 0; }
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
}
.section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}
.section-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 3px;
}
.section-link {
  font-size: 13px;
  color: var(--blue);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}
.section-link:hover { text-decoration: underline; }

/* === PROPERTY CARDS === */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 16px;
}
.prop-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.prop-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.prop-card__img {
  position: relative;
  height: 180px;
  background: var(--bg);
  overflow: hidden;
}
.prop-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.prop-card:hover .prop-card__img img { transform: scale(1.04); }
.prop-card__img-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e8edf5, #d1dae8);
  color: var(--text-light);
  font-size: 40px;
}
.proj-card__img-placeholder {
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e8edf5, #d1dae8);
  color: var(--text-light);
  font-size: 30px;
  flex-shrink: 0;
}
.prop-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,.55);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: .5px;
  backdrop-filter: blur(4px);
}
.prop-card__badge--buy { background: rgba(224,58,58,.85); }
.prop-card__badge--rent { background: rgba(0,97,168,.85); }
.prop-card__badge--sell { background: rgba(34,165,90,.85); }
.prop-card__save {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px; height: 30px;
  background: rgba(255,255,255,.9);
  border: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-muted);
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}
.prop-card__save:hover { color: var(--red); }
.prop-card__featured-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: var(--amber);
  color: #5c3600;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.prop-card__body { padding: 14px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.prop-card__price {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
}
.prop-card__per-sqft {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
}
.prop-card__title {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.prop-card__loc {
  font-size: 12.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.prop-card__specs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 4px;
  border-top: 1px solid var(--border-light);
}
.prop-card__spec {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-muted);
}
.prop-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-top: 1px solid var(--border-light);
  font-size: 11.5px;
  color: var(--text-muted);
}
.prop-card__posted-by {
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 500;
  font-size: 11px;
}
.prop-card__posted-by.owner { color: var(--green); border-color: #bbf0d4; background: #f0fdf6; }
.prop-card__posted-by.agent { color: var(--blue); border-color: #bfdbf7; background: var(--blue-light); }
.prop-card__posted-by.builder { color: #7c3aed; border-color: #ddd6fe; background: #f5f3ff; }

/* === LOCALITY CHIPS === */
.locality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.locality-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition);
  cursor: pointer;
}
.locality-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.locality-card__name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}
.locality-card__city { font-size: 11.5px; color: var(--text-muted); margin-top: 2px; }
.locality-card__count {
  background: var(--red-light);
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  flex-shrink: 0;
}

/* === PROPERTY TYPE TILES === */
.type-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.type-tile {
  flex: 1;
  min-width: 140px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all var(--transition);
}
.type-tile:hover {
  border-color: var(--red);
  box-shadow: var(--shadow);
}
.type-tile__icon {
  width: 42px; height: 42px;
  background: var(--red-light);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}
.type-tile__name { font-size: 13px; font-weight: 600; color: var(--text); }
.type-tile__count { font-size: 11.5px; color: var(--text-muted); margin-top: 2px; }

/* === POST PROPERTY CTA === */
.post-cta {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  overflow: hidden;
}
.post-cta::before {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
}
.post-cta__title {
  font-family: var(--font-display);
  font-size: 26px;
  color: white;
  margin-bottom: 6px;
}
.post-cta__sub { color: rgba(255,255,255,.75); font-size: 14px; }
.post-cta__steps { display: flex; gap: 20px; margin-top: 16px; }
.post-cta__step { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.85); font-size: 13px; }
.post-cta__step-num {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.post-cta__btn {
  background: var(--white);
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  border: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition);
}
.post-cta__btn:hover { background: #f0f0f0; transform: translateY(-1px); }

/* === SEARCH RESULTS PAGE === */
.results-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  padding: 20px 0 40px;
}
.sidebar {
  flex-shrink: 0;
}
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
}
.sidebar-card__head {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sidebar-card__body { padding: 14px 16px; }
.filter-group { margin-bottom: 16px; }
.filter-group:last-child { margin-bottom: 0; }
.filter-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.filter-options { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-option {
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  background: transparent;
}
.filter-option:hover, .filter-option.selected {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-light);
}
.filter-range { display: flex; gap: 8px; align-items: center; }
.filter-range input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  font-size: 13px;
  outline: none;
  transition: border-color var(--transition);
}
.filter-range input:focus { border-color: var(--red); }
.filter-range span { color: var(--text-muted); font-size: 12px; }
.results-main {}
.results-header {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.results-count { font-size: 14px; font-weight: 600; color: var(--text); }
.results-count span { color: var(--red); }
.results-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}
.results-sort select {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  font-size: 13px;
  outline: none;
  background: var(--white);
  cursor: pointer;
}
.results-list { display: flex; flex-direction: column; gap: 12px; }
.result-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  gap: 0;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.result-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.result-card__img {
  width: 220px;
  min-height: 160px;
  flex-shrink: 0;
  position: relative;
  background: var(--bg);
}
.result-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.result-card__img-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 48px;
  background: linear-gradient(135deg, #e8edf5, #d1dae8);
  color: var(--text-light);
}
.result-card__body {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.result-card__price {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}
.result-card__per { font-size: 12px; color: var(--text-muted); }
.result-card__title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
}
.result-card__loc {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.result-card__specs {
  display: flex;
  gap: 16px;
  padding: 8px 0;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
}
.result-card__spec {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  color: var(--text-muted);
}
.result-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 8px;
}
.result-card__actions { display: flex; gap: 8px; }
.btn-contact {
  background: var(--red);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-contact:hover { background: var(--red-dark); }
.btn-save-outline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 14px;
  font-size: 13px;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-save-outline:hover { border-color: var(--red); color: var(--red); }
.result-card__badge-wrap { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 5px; }

/* === LISTING DETAIL === */
.listing-detail { padding: 24px 0 48px; }
.listing-breadcrumb {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.listing-breadcrumb a:hover { color: var(--red); }
.listing-breadcrumb span { opacity: .5; }
.listing-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}
.listing-gallery {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
}
.gallery-main {
  height: 360px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-main-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 80px;
  background: linear-gradient(135deg, #e8edf5, #d1dae8);
  color: var(--text-light);
}
.gallery-thumbs {
  display: flex;
  gap: 8px;
  padding: 12px;
  overflow-x: auto;
}
.gallery-thumb {
  width: 80px;
  height: 60px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition);
}
.gallery-thumb.active { border-color: var(--red); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.listing-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
}
.listing-info-card__head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
}
.listing-price-big {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
}
.listing-price-sub { font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }
.listing-title-big {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-top: 6px;
}
.listing-loc-big {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.rera-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0fdf6;
  border: 1px solid #bbf0d4;
  color: var(--green);
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  margin-top: 8px;
}
.listing-info-card__body { padding: 16px 20px; }
.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.spec-item { }
.spec-item__label {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 3px;
}
.spec-item__value { font-size: 14px; font-weight: 600; color: var(--text); }
.listing-desc h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.listing-desc p { font-size: 13.5px; color: var(--text-muted); line-height: 1.7; }
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.amenity-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--text-muted);
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}
.amenity-item svg { color: var(--green); flex-shrink: 0; }

/* Contact Sidebar */
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: sticky;
  top: calc(var(--nav-h) + 16px);
}
.contact-card__head {
  padding: 16px;
  background: var(--blue);
  color: white;
  font-weight: 700;
  font-size: 14px;
}
.contact-card__body { padding: 16px; }
.agent-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}
.agent-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue-light);
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
}
.agent-name { font-size: 14px; font-weight: 600; }
.agent-role { font-size: 12px; color: var(--text-muted); text-transform: capitalize; }
.contact-form { display: flex; flex-direction: column; gap: 10px; }
.contact-form input,
.contact-form textarea {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 13px;
  outline: none;
  resize: none;
  transition: border-color var(--transition);
  width: 100%;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--blue); }
.btn-contact-full {
  background: var(--red);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: background var(--transition);
}
.btn-contact-full:hover { background: var(--red-dark); }
.captcha-row { display: flex; gap: 10px; align-items: center; }
.captcha-code {
  font-family: 'Courier New', monospace;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--text);
  user-select: none;
}
.enquiry-btns { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.btn-whatsapp {
  background: #25d366;
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background var(--transition);
}
.btn-whatsapp:hover { background: #1da851; }

/* === AUTH PAGES === */
.auth-page {
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  place-items: center;
  background: var(--bg);
  padding: 40px 20px;
}
.auth-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
}
.auth-card__logo {
  text-align: center;
  margin-bottom: 24px;
  font-size: 28px;
  font-weight: 800;
  color: var(--red);
}
.auth-card h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}
.auth-card__sub {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.form-group { margin-bottom: 14px; }
.form-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.form-input {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
  background: var(--white);
  color: var(--text);
}
.form-input:focus { border-color: var(--red); }
.form-error { font-size: 12px; color: var(--red); margin-top: 4px; }
.btn-primary {
  width: 100%;
  background: var(--red);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 13px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
  margin-top: 4px;
}
.btn-primary:hover { background: var(--red-dark); }
.auth-link { text-align: center; font-size: 13.5px; color: var(--text-muted); margin-top: 20px; }
.auth-link a { color: var(--blue); font-weight: 500; }

/* === FLASH ALERTS === */
.alert {
  padding: 13px 18px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert--success { background: #f0fdf6; color: #15803d; border: 1px solid #bbf0d4; }
.alert--error { background: var(--red-light); color: var(--red-dark); border: 1px solid #f5b3b3; }
.alert--info { background: var(--blue-light); color: var(--blue-dark); border: 1px solid #bfdbf7; }

/* === PAGINATION === */
.pagination { margin-top: 28px; }
.pagination ul { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.pagination li a,
.pagination li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-muted);
  background: var(--white);
  transition: all var(--transition);
}
.pagination li a:hover { border-color: var(--red); color: var(--red); }
.pagination li.active span {
  background: var(--red);
  color: white;
  border-color: var(--red);
}
.pagination li.dots span { border: none; background: none; }

/* === DASHBOARD / USER === */
.dash-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  padding: 28px 0 48px;
}
.dash-sidebar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  height: fit-content;
}
.dash-sidebar__head {
  padding: 20px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: white;
}
.dash-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}
.dash-name { font-size: 15px; font-weight: 700; }
.dash-role { font-size: 12px; opacity: .8; text-transform: capitalize; }
.dash-nav { padding: 10px 0; }
.dash-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  font-size: 13.5px;
  color: var(--text-muted);
  transition: all var(--transition);
}
.dash-nav a:hover, .dash-nav a.active {
  background: var(--red-light);
  color: var(--red);
}
.dash-nav a svg { flex-shrink: 0; }
.dash-main {}
.dash-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.dash-stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.dash-stat-card__num { font-size: 28px; font-weight: 700; color: var(--text); }
.dash-stat-card__label { font-size: 12px; color: var(--text-muted); font-weight: 500; margin-top: 4px; }
.dash-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
}
.dash-card__head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* === ADMIN === */
.admin-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: calc(100vh - var(--nav-h));
}
.admin-sidebar {
  background: #1a2235;
  color: white;
  padding: 20px 0;
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}
.admin-sidebar__logo {
  padding: 0 20px 20px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 10px;
}
.admin-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 13px;
  color: rgba(255,255,255,.65);
  transition: all var(--transition);
}
.admin-nav a:hover, .admin-nav a.active {
  background: rgba(255,255,255,.08);
  color: white;
}
.admin-nav a svg { flex-shrink: 0; width: 16px; height: 16px; }
.admin-nav__section {
  padding: 16px 20px 6px;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,.3);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.admin-main { padding: 28px; background: var(--bg); }
.admin-page-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text);
}
.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.admin-stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.admin-stat__num { font-size: 30px; font-weight: 800; color: var(--text); }
.admin-stat__num.red { color: var(--red); }
.admin-stat__num.blue { color: var(--blue); }
.admin-stat__num.green { color: var(--green); }
.admin-stat__label { font-size: 12px; color: var(--text-muted); font-weight: 500; margin-top: 4px; }

/* === TABLE === */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
thead th {
  padding: 11px 14px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-muted);
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
}
tbody tr { border-bottom: 1px solid var(--border-light); transition: background var(--transition); }
tbody tr:hover { background: var(--off-white); }
tbody td { padding: 12px 14px; color: var(--text); }
.status-badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: capitalize;
}
.status-badge.active { background: #f0fdf6; color: var(--green); }
.status-badge.pending { background: #fffbeb; color: #d97706; }
.status-badge.expired, .status-badge.rejected { background: var(--red-light); color: var(--red); }
.status-badge.sold { background: #f5f3ff; color: #7c3aed; }
.status-badge.draft { background: var(--off-white); color: var(--text-muted); }

/* === FOOTER === */
.footer {
  background: #1a2235;
  color: rgba(255,255,255,.75);
  padding: 48px 0 28px;
  margin-top: 40px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 240px repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 36px;
}
.footer__brand-logo {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 10px;
  line-height: 1;
  letter-spacing: -0.5px;
}
.footer__logo-part1 {
  font-size: var(--footer-logo-size, 24px);
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  letter-spacing: -0.5px;
}
.footer__logo-part2 {
  font-size: var(--footer-logo-size, 24px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.5px;
}
.footer__brand-desc {
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 16px;
}
.footer__col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: white;
  margin-bottom: 14px;
}
.footer__col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin-bottom: 8px;
  transition: color var(--transition);
}
.footer__col a:hover { color: white; }
.footer__seo-links {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer__seo-links > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.footer__seo-links a {
  color: rgba(255,255,255,.62);
  font-size: 12.5px;
}
.footer__seo-links a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
  gap: 10px;
}

/* === UTILITIES === */
.text-red { color: var(--red); }
.text-blue { color: var(--blue); }
.text-green { color: var(--green); }
.text-muted { color: var(--text-muted); }
.font-bold { font-weight: 700; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.empty-state__icon { font-size: 60px; margin-bottom: 16px; opacity: .4; }
.empty-state h3 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.empty-state p { font-size: 14px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  color: var(--text-muted);
}
.tag-new {
  display: inline-block;
  background: var(--red);
  color: white;
  font-size: 8px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: .5px;
  vertical-align: super;
  margin-left: 3px;
}
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 20px 0;
}
.text-center { text-align: center; }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-outline:hover { border-color: var(--red); color: var(--red); }
.btn-blue {
  background: var(--blue);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-blue:hover { background: var(--blue-dark); }

/* === POST PROPERTY STEPS === */
.post-prop-layout { max-width: 760px; margin: 0 auto; padding: 32px 20px 64px; }
.steps-progress { display: flex; gap: 0; margin-bottom: 32px; }
.step-dot {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
}
.step-dot:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.step-dot.done:not(:last-child)::after { background: var(--red); }
.step-dot__num {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-muted);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.step-dot.active .step-dot__num { background: var(--red); color: white; }
.step-dot.done .step-dot__num { background: var(--green); color: white; }
.step-dot__label { font-size: 11px; color: var(--text-muted); font-weight: 500; text-align: center; }
.step-dot.active .step-dot__label { color: var(--red); font-weight: 700; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .results-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .listing-layout { grid-template-columns: 1fr; }
  .contact-card { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cards-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .post-cta { flex-direction: column; text-align: center; }
  .post-cta__steps { justify-content: center; flex-wrap: wrap; }
}
@media (max-width: 700px) {
  .result-card { flex-direction: column; }
  .result-card__img { width: 100%; height: 200px; }
  .navbar__nav { display: none; }
  .navbar-mega,
  .mega-backdrop,
  .navbar-mega.open,
  .mega-backdrop.open { display: none; }
  .hamburger { display: block; }
  .dash-layout { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__title { font-size: 26px; }
  .hero--bg-only { height: 240px; }
  .hero__ad-right { display: none; }
  .search-card-wrap { margin-top: -40px; }
  .search-row { flex-wrap: wrap; }
  .search-type-select { width: 100%; }
  .search-btn { width: 100%; }
}
@media (max-width: 480px) {
  .cards-grid { grid-template-columns: 1fr; }
  .specs-grid { grid-template-columns: 1fr; }
  .type-tile { min-width: 120px; }
}

/* ══════════════════════════════════════════════
   "All Residential" checkbox panel  (image 3)
══════════════════════════════════════════════ */
.post-prop-tab-link {
  margin-left: auto;
  align-self: center;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.restype-trigger {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  height: 46px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  color: var(--text);
  position: relative;
  user-select: none;
  white-space: nowrap;
  transition: border-color var(--transition);
}
.restype-trigger:hover { border-color: var(--red); }
.restype-trigger svg { flex-shrink: 0; transition: transform var(--transition); }

/* The full-width dropdown panel that appears below search row */
.res-panel {
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin: 10px -20px 0;        /* bleed to card edges */
  padding: 0 20px;
  animation: slideDown .15s ease;
}
@keyframes slideDown { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:translateY(0); } }

.res-panel__inner { padding: 18px 20px 12px; }

.res-panel__types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px 20px;
  margin-bottom: 14px;
}

.res-type-check {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  padding: 7px 0;
}
.res-type-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
  cursor: pointer;
  flex-shrink: 0;
}
.res-type-check span {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.3;
}
.res-type-check:hover span { color: var(--red); }

.res-panel__footer {
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
}
.res-panel__commercial-link {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
}
.res-panel__commercial-link strong { color: var(--blue); }
.res-panel__commercial-link:hover strong { text-decoration: underline; }

/* ══════════════════════════════════════════════
   Filter pill dropdowns
══════════════════════════════════════════════ */
.search-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding-top: 14px;
  padding-bottom: 2px;
  position: relative;
  /* Always visible — sits below res-panel in flex column */
}
.filter-pill-wrap {
  position: relative;
}
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.filter-btn:hover {
  border-color: var(--text-muted);
  color: var(--text);
}
.filter-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,.14);
  z-index: 500;               /* above everything including res-panel */
  min-width: 220px;
  animation: slideDown .12s ease;
}
.filter-btn--active {
  border-color: var(--text);
  color: var(--text);
  background: var(--white);
}
.filter-btn--active svg { transform: rotate(180deg); }

/* ── Inline filter panel (99acres style) ── */
.filter-panel {
  margin: 0 -20px;           /* bleed to card edges */
  border-top: 1px solid var(--border-light);
  background: var(--white);
  animation: slideDown .15s ease;
}
.filter-panel__head {
  padding: 14px 20px 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.filter-panel__body {
  padding: 0 20px 16px;
}

/* Filter pill group (BHK, Status, Posted By) */
.filter-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.fp-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: 24px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .15s;
  user-select: none;
  white-space: nowrap;
}
.fp-pill:hover      { border-color: var(--text-muted); color: var(--text); }
.fp-pill--active    { border-color: var(--blue, #1a73e8); color: var(--blue, #1a73e8); background: #e8f0fe; font-weight: 600; }

/* Budget dual range slider */
.budget-range-wrap  { padding: 4px 0 8px; max-width: 860px; }
.budget-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 18px;
}
.budget-slider-track {
  position: relative;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 10px 0 4px;
}
.budget-slider-fill {
  position: absolute;
  height: 4px;
  background: var(--blue, #1a73e8);
  border-radius: 2px;
  pointer-events: none;
  left: 0; width: 100%;
}
.budget-slider-track input[type="range"] {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 100%; height: 4px;
  background: transparent;
  pointer-events: none;
  appearance: none; -webkit-appearance: none;
  margin: 0;
}
.budget-slider-track input[type="range"]::-webkit-slider-thumb {
  pointer-events: all;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--blue, #1a73e8);
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
  cursor: pointer;
  appearance: none; -webkit-appearance: none;
  position: relative; z-index: 2;
}
.budget-slider-track input[type="range"]::-moz-range-thumb {
  pointer-events: all;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--blue, #1a73e8);
  cursor: pointer;
}

.filter-input {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  font-size: 13px;
  outline: none;
  transition: border-color var(--transition);
  font-family: var(--font);
}
.filter-input:focus { border-color: var(--red); }

/* Shimmer skeleton for empty state */
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

/* ══════════════════════════════════════════════
   Logo image mode
══════════════════════════════════════════════ */
.navbar__logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
}
@media (max-width: 700px) {
  .navbar__logo-img { height: 28px; }
}
/* ── Premium / AI-generated listing styles ── */
.result-card--premium {
  cursor: pointer;
  position: relative;
}
.result-card--premium:hover {
  border-color: #f59e0b !important;
  box-shadow: 0 4px 20px rgba(245,158,11,.15);
}
.result-card__img { position: relative; overflow: hidden; }

/* Blur overlay on premium images */
.premium-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.premium-overlay__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  background: rgba(0,0,0,.55);
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 10px;
  padding: 10px 16px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.premium-overlay__inner svg { opacity: .9; }

/* Blurred contact number */
.premium-contact-blur {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.blurred-text {
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
  filter: blur(4px);
  user-select: none;
  letter-spacing: 1px;
}
.premium-lock-badge {
  font-size: 11px;
  font-weight: 600;
  background: #fff8e1;
  color: #b45309;
  border: 1px solid #fcd34d;
  border-radius: 20px;
  padding: 2px 8px;
  white-space: nowrap;
}

/* ── Result card: contact row ── */
.result-card { cursor: default; }
.result-card__contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-light);
  padding-top: 10px;
  margin-top: 6px;
}
.result-card__contact-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.demo-contact-blur-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════
   Pollinations AI image — shimmer loading state
══════════════════════════════════════════════ */
@keyframes pollin-shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position:  600px 0; }
}
@keyframes pollin-pulse {
  0%, 100% { transform: scale(1);    opacity: .38; }
  50%       { transform: scale(1.1); opacity: .6;  }
}

/* Wrapper div — fills the image slot exactly */
.pollin-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #edf0f5;
}

/* Block right-click / drag on all demo images loaded through proxy */
.result-card__img img,
.prop-card__img img,
.pollin-wrap img {
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

/* Shimmer animation layer inside the wrapper */
.pollin-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    #e4e8f0 0%,
    #e4e8f0 25%,
    #f0f3f8 50%,
    #e4e8f0 75%,
    #e4e8f0 100%);
  background-size: 600px 100%;
  animation: pollin-shimmer 1.6s ease-in-out infinite;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.pollin-shimmer__icon {
  font-size: 26px;
  opacity: .38;
  animation: pollin-pulse 2.2s ease-in-out infinite;
}
.pollin-shimmer__text {
  font-size: 11px;
  color: #9aabb8;
  font-weight: 500;
  letter-spacing: .2px;
  font-family: inherit;
}