/* ================================================================
   GharBazar India — Main Stylesheet
   Mobile-first, responsive, professional Indian real estate portal
================================================================ */

/* ── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  --primary:      #B07A1E;
  --primary-dk:   #7A4E0E;
  --primary-lt:   #FBF3E0;
  --green:        #27ae60;
  --green-lt:     #e8f8ef;
  --blue:         #2980b9;
  --danger:       #e74c3c;
  --warning:      #f39c12;
  --dark:         #2A1A0C;
  --body:         #333;
  --muted:        #6b7280;
  --border:       #e2e8f0;
  --bg:           #f8fafc;
  --white:        #ffffff;
  --shadow-xs:    0 1px 3px rgba(0,0,0,.06);
  --shadow-sm:    0 2px 8px rgba(0,0,0,.09);
  --shadow:       0 4px 18px rgba(0,0,0,.11);
  --shadow-lg:    0 8px 36px rgba(0,0,0,.15);
  --radius:       10px;
  --radius-lg:    16px;
  --radius-xl:    22px;
  --nav-h:        64px;
  --font:         'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --trans:        .2s ease;
}

/* ── RESET ────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body { font-family: var(--font); color: var(--body); background: var(--bg); line-height: 1.6; padding-bottom: 64px; }
img  { max-width: 100%; display: block; }
a    { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dk); }
button,input,select,textarea { font-family: var(--font); }
button { cursor: pointer; }
ul,ol  { list-style: none; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }

/* ── TYPOGRAPHY ───────────────────────────────────────────── */
h1 { font-size: clamp(1.65rem, 4.5vw, 2.5rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.3rem, 3vw, 1.85rem); font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 600; }

/* ── LAYOUT ───────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.section   { padding: 56px 0; }
.section-tinted { background: #f1f5f9; }
.sec-head  { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 30px; flex-wrap: wrap; gap: 8px; }
.sec-head h2 { margin-bottom: 4px; }
.sec-head p  { color: var(--muted); font-size: 15px; width: 100%; margin-top: 2px; }
.sec-link  { font-size: 14px; font-weight: 500; white-space: nowrap; }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 20px; border-radius: var(--radius); font-weight: 500; font-size: 15px;
  border: 2px solid transparent; cursor: pointer; transition: all var(--trans); white-space: nowrap;
  text-decoration: none;
}
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dk); border-color: var(--primary-dk); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-success { background: var(--green); color: #fff; border-color: var(--green); }
.btn-success:hover { background: #219a52; }
.btn-white  { background: #fff; color: var(--primary); border-color: #fff; }
.btn-white:hover { background: var(--primary-lt); }
.btn-gray   { background: #f1f5f9; color: var(--body); border-color: #e2e8f0; }
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-xs { padding: 5px 11px; font-size: 12px; }
.btn-lg { padding: 14px 30px; font-size: 16px; border-radius: var(--radius-lg); }
.w-full { width: 100%; }
.mb-2  { margin-bottom: 10px; }
.mt-2  { margin-top: 10px; }
.text-danger { color: var(--danger) !important; }

/* ── FORM CONTROLS ────────────────────────────────────────── */
.filt-select {
  padding: 10px 14px; border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: 14px; color: var(--body); background: var(--white); outline: none;
  transition: border-color var(--trans); appearance: none; -webkit-appearance: none;
}
.filt-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(176,122,30,.15); }
.filt-select.w-full { width: 100%; }
.filt-select-sm { padding: 6px 10px; font-size: 13px; }
.inp-err { border-color: var(--danger) !important; }
.err-msg { color: var(--danger); font-size: 12px; display: block; margin-top: 3px; }
.fld-wrap { display: flex; flex-direction: column; gap: 5px; }
.fld-wrap label { font-size: 13px; font-weight: 500; color: #374151; }
.lbl-link { font-weight: 400; font-size: 13px; }
.pw-wrap  { position: relative; }
.pw-eye   { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; font-size: 16px; color: var(--muted); padding: 0; }
.pw-str-bar { font-size: 12px; font-weight: 600; height: 16px; margin-top: 3px; }
.chk-label { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; cursor: pointer; }
.chk-label input { margin-top: 2px; accent-color: var(--primary); }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-3col { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
@media (max-width:560px) { .form-2col,.form-3col { grid-template-columns: 1fr; } }
@media (max-width:768px) { .form-3col { grid-template-columns: 1fr 1fr; } }

/* ── FLASH MESSAGES ───────────────────────────────────────── */
.flash {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px; font-size: 14px; font-weight: 500; margin: 0 0 2px;
  position: relative; z-index: 200;
}
.flash-success { background: #d1fae5; color: #065f46; border-bottom: 2px solid #6ee7b7; }
.flash-error   { background: #fee2e2; color: #991b1b; border-bottom: 2px solid #fca5a5; }
.flash-warning { background: #fef3c7; color: #92400e; border-bottom: 2px solid #fcd34d; }
.flash-close   { background: none; border: none; font-size: 18px; opacity: .5; cursor: pointer; }
.flash-close:hover { opacity: 1; }

/* ── NAVBAR ───────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 900; background: var(--white);
  box-shadow: 0 1px 0 var(--border); height: var(--nav-h);
  transition: box-shadow var(--trans);
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }
.navbar-inner {
  display: flex; align-items: center; height: var(--nav-h); gap: 12px;
}
.brand {
  display: flex; align-items: center; gap: 8px;
  font-size: 18px; font-weight: 600; color: #1a202c;
  flex-shrink: 0;
}
.brand strong { color: var(--primary); font-weight: 800; }
.brand-light { color: rgba(255,255,255,.9); }
.brand-light strong { color: var(--primary-lt); }

.nav-links {
  display: flex; align-items: center; gap: 2px; margin-left: 8px;
}
.nav-links a {
  padding: 8px 14px; border-radius: 8px; font-size: 14px; font-weight: 500;
  color: #374151; transition: all var(--trans);
}
.nav-links a:hover { background: var(--primary-lt); color: var(--primary); }

.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-list-btn { display: none; }
@media (min-width:768px) { .nav-list-btn { display: inline-flex; } }

/* User menu */
.user-menu { position: relative; }
.user-menu-btn {
  display: flex; align-items: center; gap: 6px;
  background: none; border: 1.5px solid var(--border); border-radius: 99px;
  padding: 5px 10px 5px 6px; cursor: pointer; transition: border-color var(--trans);
}
.user-menu-btn:hover { border-color: var(--primary); }
.user-initial {
  width: 30px; height: 30px; background: var(--primary); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px;
}
.chevron-icon { width: 16px; height: 16px; fill: var(--muted); }
.user-dropdown {
  display: none; position: absolute; right: 0; top: calc(100% + 8px);
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); min-width: 200px; z-index: 50; overflow: hidden;
}
.user-dropdown.open { display: block; }
.dropdown-name { padding: 12px 16px 4px; font-weight: 600; font-size: 14px; }
.dropdown-email { padding: 0 16px 10px; font-size: 12px; color: var(--muted); }
.dropdown-divider { height: 1px; background: var(--border); margin: 4px 0; }
.user-dropdown a { display: block; padding: 9px 16px; font-size: 14px; color: #374151; transition: background var(--trans); }
.user-dropdown a:hover { background: var(--bg); color: var(--primary); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 6px; margin-left: 4px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: #374151; border-radius: 2px; transition: all var(--trans); }
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; background: var(--white);
    border-bottom: 2px solid var(--border); padding: 14px; z-index: 890;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 16px; font-size: 16px; }
  .nav-right .btn-outline { display: none; }
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
  min-height: 540px; display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 70% 50%, rgba(176,122,30,.18) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(44,62,80,.5) 0%, transparent 50%);
}
.hero-inner {
  position: relative; z-index: 1; padding: 70px 16px; width: 100%;
}
.hero-text { margin-bottom: 36px; }
.hero-text h1 { color: #fff; letter-spacing: -.5px; }
.hero-text p  { color: rgba(255,255,255,.8); font-size: 18px; margin-top: 14px; }
.hero-text strong { color: var(--primary); }

/* Search card */
.search-card {
  background: var(--white); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); overflow: hidden; max-width: 900px;
}
.search-tabs {
  display: flex; overflow-x: auto; border-bottom: 1px solid var(--border);
  scrollbar-width: none; gap: 0;
}
.search-tabs::-webkit-scrollbar { display: none; }
.stab {
  padding: 14px 22px; font-size: 14px; font-weight: 500; white-space: nowrap;
  border: none; background: none; color: var(--muted); border-bottom: 3px solid transparent;
  transition: all var(--trans); cursor: pointer;
}
.stab.active { color: var(--primary); border-bottom-color: var(--primary); }
.stab:hover:not(.active) { color: var(--body); background: var(--bg); }

.hero-form { padding: 16px; }
.hf-row {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
}
.hf-location {
  min-height: 46px;
  flex: 1 1 240px; display: flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--border); border-radius: var(--radius); padding: 0 14px;
  background: var(--white); position: relative; min-width: 0;
}
.hf-location:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(176,122,30,.12); }
.hf-icon { width: 18px; height: 18px; fill: var(--primary); flex-shrink: 0; }
.hf-location input { flex: 1; border: none; outline: none; font-size: 15px; padding: 12px 0; background: transparent; min-width: 0; }
.hf-select {
  flex: 1 1 160px; min-width: 140px; max-width: 200px; height: 46px;
  padding: 0 38px 0 14px; border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: 15px; color: var(--body); background-color: var(--white); cursor: pointer; outline: none;
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.hf-select:hover { border-color: #cbd5e1; }
.hf-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(176,122,30,.12); }
.hf-select-sm { max-width: 130px; }
.hf-btn { flex-shrink: 0; padding: 12px 24px; font-size: 15px; border-radius: var(--radius); font-weight: 600; }

.hero-popular {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  padding: 12px 16px 14px; border-top: 1px solid var(--border);
}
.hero-popular span { font-size: 12px; color: var(--muted); }
.hero-popular a {
  padding: 4px 12px; background: var(--bg); color: var(--body); border-radius: 99px;
  font-size: 13px; border: 1px solid var(--border); transition: all var(--trans);
}
.hero-popular a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Autocomplete */
.ac-list {
  position: absolute; top: calc(100% + 4px); left: -1.5px; right: -1.5px;
  background: var(--white); border: 1.5px solid var(--border); border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow); z-index: 200; max-height: 260px; overflow-y: auto;
}
.ac-list li {
  padding: 10px 16px; cursor: pointer; font-size: 14px; display: flex; align-items: center; gap: 8px;
}
.ac-list li:hover { background: var(--primary-lt); color: var(--primary); }

/* ── STATS STRIP ──────────────────────────────────────────── */
.stats-strip { background: #1e293b; color: #fff; padding: 24px 0; }
.stats-row { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; }
.stat { text-align: center; padding: 10px 32px; }
.stat-n { display: block; font-size: clamp(1.6rem,3vw,2.2rem); font-weight: 800; color: var(--primary); }
.stat-l { font-size: 13px; color: rgba(255,255,255,.65); margin-top: 2px; }
.stat-div { width: 1px; height: 48px; background: rgba(255,255,255,.12); }
@media (max-width:600px) { .stat-div { display: none; } .stat { padding: 8px 20px; } }

/* ── TYPE GRID ────────────────────────────────────────────── */
.type-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: 14px; }
.type-card {
  background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px 16px; text-align: center; transition: all var(--trans); display: flex;
  flex-direction: column; align-items: center; gap: 8px; color: var(--body);
}
.type-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.type-emoji { font-size: 36px; }
.type-card strong { font-size: 14px; }
.type-card small { font-size: 12px; color: var(--muted); }

/* ── CITY GRID ────────────────────────────────────────────── */
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 12px; }
.city-card {
  display: flex; align-items: center; gap: 12px; background: var(--white);
  border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 14px 16px;
  color: var(--body); transition: all var(--trans);
}
.city-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); color: var(--primary); }
.city-emoji { font-size: 28px; flex-shrink: 0; }
.city-info strong { display: block; font-size: 15px; }
.city-info small  { color: var(--muted); font-size: 12px; }
.city-arr { margin-left: auto; color: var(--border); font-size: 22px; }

/* ── FEATURES / WHY ───────────────────────────────────────── */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 20px; }
.feat-box {
  background: var(--white); border-radius: var(--radius-lg); padding: 28px 20px;
  text-align: center; box-shadow: var(--shadow-xs);
}
.feat-ico { font-size: 36px; margin-bottom: 12px; }
.feat-box h3 { font-size: 15px; margin-bottom: 6px; }
.feat-box p  { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ── CTA SECTION ──────────────────────────────────────────── */
.cta-section { background: var(--primary); padding: 52px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-section h2 { color: #fff; }
.cta-section p  { color: rgba(255,255,255,.85); margin-top: 6px; font-size: 15px; }

/* ── PROPERTY CARDS ───────────────────────────────────────── */
.prop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 20px; }
.prop-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden;
  box-shadow: var(--shadow-xs); transition: all var(--trans);
}
.prop-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.pc-img-wrap { position: relative; height: 200px; background: #e2e8f0; overflow: hidden; }
.pc-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.prop-card:hover .pc-img-wrap img { transform: scale(1.05); }
.pc-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { padding: 3px 10px; border-radius: 99px; font-size: 11px; font-weight: 600; }
.badge-sale { background: #dbeafe; color: #1e40af; }
.badge-rent { background: #d1fae5; color: #065f46; }
.badge-pg   { background: #fef3c7; color: #78350f; }
.badge-commercial { background: #ede9fe; color: #4c1d95; }
.badge-feat { background: var(--primary); color: #fff; }

.pc-save {
  position: absolute; top: 10px; right: 10px; width: 36px; height: 36px;
  background: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; box-shadow: var(--shadow-sm); transition: all var(--trans);
}
.pc-save svg { width: 17px; height: 17px; fill: #cbd5e1; transition: fill var(--trans); }
.pc-save:hover svg, .pc-save.is-saved svg { fill: var(--danger); }

.pc-body  { padding: 14px 16px; }
.pc-price { font-size: 20px; font-weight: 800; color: var(--primary); display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; margin-bottom: 6px; }
.pc-period { font-size: 13px; font-weight: 400; color: var(--muted); }
.pc-neg    { font-size: 11px; background: var(--primary-lt); color: var(--primary); padding: 2px 8px; border-radius: 99px; font-weight: 500; }
.pc-title  { font-size: 14px; font-weight: 600; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-title a { color: var(--body); }
.pc-title a:hover { color: var(--primary); }
.pc-loc   { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 4px; margin-bottom: 10px; }
.pc-specs { display: flex; flex-wrap: wrap; gap: 6px; }
.pc-specs span { font-size: 12px; color: var(--muted); background: var(--bg); padding: 3px 10px; border-radius: 99px; border: 1px solid var(--border); }
.pc-specs b { color: var(--body); font-weight: 600; }

/* ── SEARCH PAGE ──────────────────────────────────────────── */
.search-layout { display: flex; min-height: 100vh; align-items: flex-start; }
.filter-panel {
  width: 272px; min-width: 272px; background: var(--white);
  border-right: 1px solid var(--border); padding: 20px;
  position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}
.fp-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.fp-head h2 { font-size: 18px; }
.fp-close { display: none; background: none; border: none; font-size: 20px; cursor: pointer; color: var(--muted); }

.filt-group { margin-bottom: 22px; }
.filt-label { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .7px; display: block; margin-bottom: 8px; }
.filt-tabs  { display: flex; flex-wrap: wrap; gap: 4px; }
.filt-tab   { padding: 6px 12px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 13px; cursor: pointer; transition: all var(--trans); user-select: none; }
.filt-tab input { display: none; }
.filt-tab.active, .filt-tab:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.filt-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.filt-pill  { padding: 5px 14px; border: 1.5px solid var(--border); border-radius: 99px; font-size: 13px; cursor: pointer; user-select: none; transition: all var(--trans); }
.filt-pill input { display: none; }
.filt-pill.active, .filt-pill:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.filt-checks { display: flex; flex-direction: column; gap: 8px; }
.filt-check  { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; }
.filt-check input { accent-color: var(--primary); }

.price-disp  { font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.range-track { position: relative; height: 5px; background: var(--border); border-radius: 2px; margin: 10px 0; }
.range-track input[type=range] {
  position: absolute; width: 100%; pointer-events: none;
  -webkit-appearance: none; height: 4px; background: transparent;
}
.range-track input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%;
  background: var(--primary); cursor: pointer; pointer-events: all;
  border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.range-ends { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
.fp-actions { display: flex; gap: 10px; margin-top: 24px; }
.fp-actions .btn { flex: 1; }

/* Mobile sidebar (bottom sheet) */
.fp-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 98; }
@media (max-width: 768px) {
  .filter-panel {
    position: fixed; left: 0; bottom: 0; top: auto; width: 100%; min-width: unset;
    height: auto; max-height: 90vh; border-radius: 20px 20px 0 0; z-index: 99;
    transform: translateY(100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
    border: none; box-shadow: 0 -4px 30px rgba(0,0,0,.2);
  }
  .filter-panel.open { transform: translateY(0); }
  .fp-close { display: block; }
  .fp-overlay.open { display: block; }
  #openFilters { display: inline-flex; }
}
@media (min-width: 769px) { #openFilters { display: none !important; } }

.results-panel { flex: 1; padding: 20px 22px; min-width: 0; }
.res-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }
.res-count  { font-size: 14px; color: var(--muted); }
.res-count strong { color: var(--body); font-size: 16px; font-weight: 700; }
.res-controls { display: flex; align-items: center; gap: 10px; }
.view-toggle { display: flex; gap: 2px; }
.vt-btn { padding: 6px 10px; border: 1px solid var(--border); border-radius: 6px; font-size: 16px; color: var(--muted); transition: all var(--trans); background: var(--white); }
.vt-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Pagination */
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 30px; flex-wrap: wrap; }
.pg-btn { padding: 8px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 14px; color: var(--body); transition: all var(--trans); background: var(--white); }
.pg-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.pg-btn:hover:not(.active) { border-color: var(--primary); color: var(--primary); }

/* Empty state */
.empty-state { text-align: center; padding: 80px 20px; }
.empty-icon  { font-size: 60px; margin-bottom: 16px; }
.empty-state h3 { font-size: 20px; margin-bottom: 8px; }
.empty-state p  { color: var(--muted); margin-bottom: 24px; }

/* ── PROPERTY DETAIL ──────────────────────────────────────── */
.detail-wrap { padding: 24px 16px 48px; }
.gallery { margin-bottom: 24px; }
.gal-main  { position: relative; height: 420px; background: #2A1A0C; border-radius: var(--radius-xl); overflow: hidden; }
.gal-main img { width: 100%; height: 100%; object-fit: cover; }
.gal-arr {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.92);
  font-size: 24px; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); cursor: pointer; transition: all var(--trans); border: none;
}
.gal-arr:hover { background: #fff; box-shadow: var(--shadow); }
.gal-prev { left: 14px; }
.gal-next { right: 14px; }
.gal-count { position: absolute; bottom: 12px; right: 14px; background: rgba(0,0,0,.6); color: #fff; padding: 4px 12px; border-radius: 99px; font-size: 12px; }
.gal-thumbs { display: flex; gap: 8px; overflow-x: auto; margin-top: 8px; padding-bottom: 2px; scrollbar-width: thin; }
.gal-thumb { width: 82px; height: 62px; object-fit: cover; border-radius: 8px; cursor: pointer; opacity: .6; flex-shrink: 0; border: 2px solid transparent; transition: all var(--trans); }
.gal-thumb.active { opacity: 1; border-color: var(--primary); }
@media (max-width:600px) { .gal-main { height: 250px; } }

.detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
@media (max-width:900px) { .detail-grid { grid-template-columns: 1fr; } }

.det-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 14px; margin-bottom: 14px; }
.det-price { font-size: 32px; font-weight: 800; color: var(--primary); }
.det-price span { font-size: 14px; font-weight: 400; color: var(--muted); margin-left: 4px; }
.det-title { font-size: 22px; font-weight: 700; line-height: 1.3; margin-bottom: 8px; }
.det-loc   { font-size: 14px; color: var(--muted); }
.det-actions { display: flex; gap: 10px; }
.save-det-btn.is-saved { color: var(--danger); border-color: var(--danger); }

.specs-strip { display: flex; flex-wrap: wrap; gap: 0; background: var(--bg); border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; margin: 20px 0; }
.spec-box { padding: 14px 20px; text-align: center; border-right: 1px solid var(--border); flex: 1 1 80px; min-width: 80px; }
.spec-box:last-child { border-right: none; }
.spec-v { display: block; font-size: 18px; font-weight: 700; color: var(--body); }
.spec-k { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }

.dtabs { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 22px; }
.dtab  { padding: 12px 20px; font-size: 14px; font-weight: 500; color: var(--muted); background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all var(--trans); cursor: pointer; }
.dtab.active { color: var(--primary); border-bottom-color: var(--primary); }
.dtab-pane { display: none; }
.dtab-pane.active { display: block; }

.det-desc { font-size: 15px; color: #374151; line-height: 1.85; white-space: pre-line; }
.det-table { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-top: 16px; }
.dtr { display: flex; padding: 10px 16px; font-size: 14px; }
.dtr:nth-child(even) { background: var(--bg); }
.dtr span:first-child { min-width: 160px; color: var(--muted); flex-shrink: 0; }
.dtr span:last-child  { color: var(--body); font-weight: 500; }

.amenity-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: 10px; }
.am-item { display: flex; align-items: center; gap: 9px; padding: 10px 13px; border-radius: var(--radius); background: var(--bg); font-size: 13px; border: 1px solid var(--border); }
.am-item.has { background: var(--green-lt); color: #065f46; border-color: #a7f3d0; }
.am-item.no  { opacity: .5; }
.am-mark { margin-left: auto; font-weight: 700; }

.map-box { height: 280px; background: var(--bg); border-radius: var(--radius-lg); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--muted); }
.map-addr { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* Contact card */
.contact-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-xl); padding: 22px; }
.cc-agent { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.cc-av    { width: 50px; height: 50px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; flex-shrink: 0; }
.cc-name  { font-weight: 700; font-size: 16px; }
.cc-role  { font-size: 12px; color: var(--muted); }

.enq-form { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.enq-form .filt-select { padding: 10px 14px; }
.enq-msg  { padding: 10px 14px; border-radius: var(--radius); font-size: 13px; margin-top: 4px; }
.enq-ok   { background: var(--green-lt); color: #065f46; }
.enq-err  { background: #fee2e2; color: #991b1b; }
.fld      { width: 100%; }
.fld .filt-select { width: 100%; }

.emi-box  { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.emi-box h4 { font-size: 13px; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.emi-val  { font-size: 26px; font-weight: 800; color: var(--green); }
.emi-val span { font-size: 14px; font-weight: 400; color: var(--muted); }
.emi-note { font-size: 11px; color: var(--muted); margin-top: 3px; }

.sim-section { margin-top: 48px; }
.sim-section h2 { margin-bottom: 20px; }

/* ── AUTH PAGES ───────────────────────────────────────────── */
.auth-body { background: var(--bg); min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; padding-bottom: 0; }
.auth-wrap  { width: 100%; max-width: 460px; }
.auth-card  { background: var(--white); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: 36px 32px; }
.auth-card-wide { max-width: 560px; }
.auth-logo  { display: flex; align-items: center; gap: 10px; justify-content: center; margin-bottom: 24px; font-size: 18px; font-weight: 700; color: var(--dark); text-decoration: none; }
.auth-card h1 { text-align: center; font-size: 22px; margin-bottom: 4px; }
.auth-sub   { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.auth-form  { display: flex; flex-direction: column; gap: 14px; }
.auth-foot  { text-align: center; font-size: 14px; color: var(--muted); margin-top: 20px; }

/* ── ACCOUNT PAGES ────────────────────────────────────────── */
.acc-layout { display: grid; grid-template-columns: 220px 1fr; gap: 28px; padding: 28px 0 60px; }
@media (max-width:768px) { .acc-layout { grid-template-columns: 1fr; } }
.acc-sidebar {
  background: var(--white); border-radius: var(--radius-xl); border: 1px solid var(--border);
  padding: 22px; height: fit-content; position: sticky; top: calc(var(--nav-h) + 16px);
}
.acc-user { text-align: center; padding-bottom: 18px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.acc-av   { width: 56px; height: 56px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; margin: 0 auto 10px; }
.acc-uname { font-weight: 700; font-size: 15px; }
.acc-urole { font-size: 12px; color: var(--muted); }
.acc-nav a { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--radius); font-size: 14px; color: #374151; margin-bottom: 3px; transition: all var(--trans); }
.acc-nav a:hover, .acc-nav a.active { background: var(--primary-lt); color: var(--primary); }
.acc-nav hr { border: none; border-top: 1px solid var(--border); margin: 10px 0; }
.acc-main { min-width: 0; }
.sub-txt  { color: var(--muted); font-size: 15px; margin: 6px 0 24px; }
.sec-h2   { font-size: 18px; font-weight: 700; margin: 28px 0 14px; }

/* Dashboard stats */
.stat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px,1fr)); gap: 14px; margin-bottom: 24px; }
.sc-box { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 20px; text-align: center; }
.sc-n { font-size: 34px; font-weight: 800; }
.sc-l { font-size: 12px; color: var(--muted); margin-top: 4px; }
.promo-box { background: var(--primary-lt); border-radius: var(--radius-lg); padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.promo-box strong { font-size: 15px; }
.enq-list { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.enq-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; font-size: 14px; border-bottom: 1px solid var(--border); gap: 12px; flex-wrap: wrap; }
.enq-row:last-child { border-bottom: none; }
.enq-date { font-size: 12px; color: var(--muted); white-space: nowrap; }

/* My Properties list */
.prop-list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.pl-row { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.pl-row:last-child { border-bottom: none; }
.pl-img { width: 90px; height: 70px; border-radius: 8px; overflow: hidden; background: var(--bg); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.pl-img img { width: 100%; height: 100%; object-fit: cover; }
.pl-noimg { font-size: 28px; }
.pl-info { flex: 1; min-width: 0; }
.pl-title { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-meta  { font-size: 12px; color: var(--muted); }
.pl-price { font-size: 16px; font-weight: 800; color: var(--primary); margin-top: 4px; }
.pl-actions { text-align: right; flex-shrink: 0; }
.pl-status { font-size: 12px; font-weight: 600; display: block; margin-bottom: 8px; }
.pl-btns { display: flex; gap: 6px; margin-bottom: 6px; }
.pl-views { font-size: 11px; color: var(--muted); }

/* ── PROPERTY FORM ────────────────────────────────────────── */
.prop-form { max-width: 820px; margin-top: 24px; }
.pf-section { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 24px; margin-bottom: 18px; }
.pf-section h3 { font-size: 16px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--border); }
.pf-footer { display: flex; gap: 12px; flex-wrap: wrap; }
.amenity-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px,1fr)); gap: 10px; }
.am-chk-label { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 10px 12px; background: var(--bg); border-radius: var(--radius); border: 1px solid var(--border); cursor: pointer; }
.am-chk-label input { accent-color: var(--primary); }
.upload-zone { border: 2px dashed var(--border); border-radius: var(--radius-lg); padding: 36px; text-align: center; cursor: pointer; transition: border-color var(--trans); }
.upload-zone:hover { border-color: var(--primary); }
.uz-inner p { font-size: 16px; font-weight: 500; color: #374151; margin-top: 8px; }
.uz-inner small { color: var(--muted); }
.img-previews { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.img-previews img { width: 84px; height: 64px; object-fit: cover; border-radius: 8px; }

/* ── FOOTER ───────────────────────────────────────────────── */
.footer { background: #0f172a; padding: 52px 0 24px; color: rgba(255,255,255,.7); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
@media (max-width:900px)  { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width:480px)  { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { font-size: 13px; line-height: 1.8; margin-top: 12px; }
.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-icon { width: 34px; height: 34px; background: rgba(255,255,255,.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: rgba(255,255,255,.7); transition: background var(--trans); }
.social-icon:hover { background: var(--primary); color: #fff; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 9px; transition: color var(--trans); }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: rgba(255,255,255,.5); transition: color var(--trans); font-size: 13px; }
.footer-links a:hover { color: var(--white); }

/* ── BOTTOM NAV ───────────────────────────────────────────── */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--white); border-top: 1px solid var(--border);
  display: none; z-index: 500;
  box-shadow: 0 -4px 16px rgba(0,0,0,.07);
}
@media (max-width: 768px) { .bottom-nav { display: flex; } }
.bnav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 8px 4px 10px; font-size: 10px; color: var(--muted); gap: 3px;
}
.bnav-item svg { width: 22px; height: 22px; }
.bnav-item:hover, .bnav-item.active { color: var(--primary); }
.bnav-add .bnav-fab {
  width: 46px; height: 46px; background: var(--primary); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 300; margin-bottom: 2px;
  box-shadow: 0 3px 10px rgba(176,122,30,.4);
}

/* ================================================================
   v2 additions — components added during the launch review
================================================================ */
body { padding-bottom: 0; }
@media (max-width: 768px) { body { padding-bottom: 64px; } }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--dark); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 2000; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.muted { color: var(--muted); }
.mt-12 { margin-top: 12px; }
.mt-24 { margin-top: 24px; }
.c-primary { color: var(--primary); } .c-green { color: var(--green); } .c-blue { color: var(--blue); } .c-warn { color: #d97706; }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn-danger-outline { background: transparent; color: var(--danger); border-color: var(--danger); }
.btn-danger-outline:hover { background: var(--danger); color: #fff; }
.btn-whatsapp { background: #25D366; color: #fff; border-color: #25D366; }
.btn-whatsapp:hover { background: #1ebe5a; color: #fff; }
.btn-whatsapp[hidden] { display: none; }

/* Navbar extras */
.free-tag { background: #fff; color: var(--primary); font-size: 10px; font-weight: 800; padding: 1px 6px; border-radius: 4px; letter-spacing: .3px; }
.nav-mobile-only { display: none; }
@media (max-width: 768px) { .nav-mobile-only { display: block; } .nav-login { display: none; } }
.dropdown-admin { color: var(--primary) !important; font-weight: 600; }

/* Flash + toast */
.flash-stack { position: relative; z-index: 800; }
.flash { transition: opacity .4s; }
.flash-inline { border-radius: var(--radius); border: none; margin-bottom: 16px; }
.toast-host { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); z-index: 3000; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: calc(100% - 32px); max-width: 420px; }
@media (min-width: 769px) { .toast-host { bottom: 28px; } }
.toast { background: #1e293b; color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 14px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(10px); transition: all .25s; pointer-events: auto; text-align: center; }
.toast.show { opacity: 1; transform: translateY(0); }
.toast-success { background: #065f46; } .toast-error { background: #991b1b; } .toast-warning { background: #92400e; }

/* Notices */
.notice { padding: 12px 16px; border-radius: var(--radius); font-size: 14px; line-height: 1.5; margin-bottom: 16px; }
.notice a { font-weight: 600; margin-left: 6px; }
.notice-warning { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.notice-info { background: #e0f2fe; color: #075985; border: 1px solid #bae6fd; }
.notice-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.notice[hidden] { display: none; }

/* Badges */
.badge-closed { background: #1e293b; color: #fff; }
.badge-soft { background: var(--bg); color: var(--body); border: 1px solid var(--border); }
.badge-rera { background: #dcfce7; color: #166534; }
.badge-new { background: var(--primary); color: #fff; font-size: 10px; padding: 2px 8px; }
.prop-card.is-closed .pc-img-wrap img { filter: grayscale(.7); }

/* Autocomplete */
.ac-wrap { position: relative; }
.ac-wrap > .filt-select { width: 100%; }
.ac-list li.active { background: var(--primary-lt); color: var(--primary); }
.ac-list li small { margin-left: auto; font-size: 11px; color: var(--muted); }
.ac-ico { width: 20px; text-align: center; }

/* Search page */
.search-head { padding-top: 22px; padding-bottom: 4px; }
.search-head h1 { font-size: clamp(1.25rem, 3vw, 1.7rem); font-weight: 800; }
.search-head p { color: var(--muted); font-size: 14px; }
.clear-link { font-size: 13px; }
.empty-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.pg-gap { padding: 8px 4px; color: var(--muted); }
.range-track input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--primary); cursor: pointer; pointer-events: all; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.range-track input[type=range]::-moz-range-track { background: transparent; }
.range-track input[type=range] { top: -6px; }
@media (max-width: 768px) { .search-layout { display: block; } .results-panel { padding: 16px; } .res-controls { flex-wrap: wrap; } }

/* Grid -> list view */
.prop-grid.list-view { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .prop-grid.list-view .prop-card { display: grid; grid-template-columns: 280px 1fr; }
  .prop-grid.list-view .pc-img-wrap { height: 100%; min-height: 190px; }
  .prop-grid.list-view .pc-body { padding: 18px 20px; display: flex; flex-direction: column; justify-content: center; }
  .prop-grid.list-view .pc-title { font-size: 16px; }
}
.prop-grid-3 { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }

/* Detail page */
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--primary); }
.det-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.det-price small.pc-neg { font-size: 12px; vertical-align: middle; margin-left: 8px; }
.det-ppsf { font-size: 13px; color: var(--muted); margin: -2px 0 8px; }
.gal-main img#galMainImg { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 4000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.lb-close { position: absolute; top: 16px; right: 18px; background: rgba(255,255,255,.15); color: #fff; border: none; width: 42px; height: 42px; border-radius: 50%; font-size: 18px; cursor: pointer; }
.map-box { height: 320px; overflow: hidden; display: block; }
.map-box iframe { width: 100%; height: 100%; border: 0; }
.map-addr { margin: 0 0 10px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.enq-form[hidden] { display: none; }
.enq-consent { font-size: 11px; color: var(--muted); line-height: 1.5; }
.emi-box { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px; margin-top: 18px; }
.emi-val small { font-size: 13px; font-weight: 400; color: var(--muted); margin-left: 4px; }
.emi-row { display: block; font-size: 12px; color: var(--muted); margin-top: 10px; }
.emi-row b { float: right; color: var(--body); }
.emi-row input { width: 100%; accent-color: var(--primary); margin-top: 4px; }
.emi-note { margin-top: 10px; line-height: 1.6; }
.safety-tip { font-size: 12px; color: var(--muted); background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--radius); padding: 10px 12px; margin-top: 16px; line-height: 1.5; }
.det-sidebar { position: sticky; top: calc(var(--nav-h) + 16px); }
@media (max-width: 900px) { .det-sidebar { position: static; } }
.mobile-cta { display: none; }
@media (max-width: 768px) {
  .mobile-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 64px; z-index: 450; background: #fff; border-top: 1px solid var(--border); padding: 10px 16px; align-items: center; justify-content: space-between; box-shadow: 0 -4px 14px rgba(0,0,0,.06); }
  .mc-price { font-size: 18px; font-weight: 800; color: var(--primary); }
  .mc-price small { font-size: 12px; color: var(--muted); font-weight: 400; }
  .detail-wrap { padding-bottom: 90px; }
  .det-price { font-size: 26px; }
  .dtr { flex-direction: column; gap: 2px; } .dtr span:first-child { min-width: 0; font-size: 12px; }
}

/* Account area */
.form-page { padding: 24px 16px 60px; }
.back-link { font-size: 13px; color: var(--muted); display: inline-block; margin-bottom: 8px; }
.form-page-head, .acc-head, .sec-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.acc-head { margin-bottom: 16px; }
.sec-row .sec-h2 { margin-bottom: 14px; }
a.sc-box { color: inherit; transition: border-color var(--trans), box-shadow var(--trans); }
a.sc-box:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.acc-admin-link { color: var(--primary) !important; font-weight: 600; }
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.pill { padding: 6px 14px; border-radius: 99px; border: 1.5px solid var(--border); font-size: 13px; color: var(--body); background: #fff; }
.pill.active, .pill:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.pl-noimg { display: flex; flex-direction: column; align-items: center; font-size: 22px; color: var(--muted); }
.pl-noimg small { font-size: 10px; }
.pl-price small { font-size: 12px; font-weight: 400; color: var(--muted); }
.pl-note { font-size: 12px; color: #92400e; background: #fef3c7; padding: 4px 10px; border-radius: 6px; margin-top: 6px; display: inline-block; }
.pl-note-info { color: #075985; background: #e0f2fe; }
.pl-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.pl-actions form { margin: 0; }
.pl-status { padding: 3px 10px; border-radius: 99px; margin-bottom: 0; }
.st-active { background: #dcfce7; color: #166534; } .st-pending { background: #fef3c7; color: #92400e; }
.st-inactive { background: #f1f5f9; color: #475569; } .st-closed { background: #e0e7ff; color: #3730a3; }
@media (max-width: 600px) { .pl-actions { width: 100%; align-items: stretch; } .pl-btns { justify-content: flex-start; } .pl-title { white-space: normal; } }
.enq-contact { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; margin-top: 4px; }
.enq-cards { display: flex; flex-direction: column; gap: 12px; }
.enq-card { display: flex; gap: 16px; justify-content: space-between; background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--border); border-radius: var(--radius-lg); padding: 16px; flex-wrap: wrap; }
.enq-card[data-status="new"] { border-left-color: var(--primary); }
.enq-card[data-status="read"] { border-left-color: #f59e0b; }
.enq-card[data-status="replied"] { border-left-color: var(--green); }
.enq-card-main { flex: 1; min-width: 220px; }
.enq-card-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.enq-text { font-size: 14px; color: #374151; margin: 8px 0; }
.enq-prop { font-size: 13px; font-weight: 600; }
.pf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
@media (max-width: 900px) { .pf-grid { grid-template-columns: 1fr; } }
.inp-prefix { display: flex; align-items: stretch; }
.inp-prefix span { display: flex; align-items: center; padding: 0 12px; background: var(--bg); border: 1.5px solid var(--border); border-right: none; border-radius: var(--radius) 0 0 var(--radius); font-size: 14px; color: var(--muted); }
.inp-prefix input { border-radius: 0 var(--radius) var(--radius) 0 !important; }

/* Auth */
.auth-body { flex-direction: column; padding-bottom: 24px; }
.auth-card-wide { max-width: 600px; margin: 0 auto; }
.auth-wrap:has(.auth-card-wide) { max-width: 600px; }
.auth-legal { text-align: center; font-size: 12px; color: var(--muted); margin-top: 16px; }
.auth-legal a { color: var(--muted); }
.lbl-row { display: flex !important; justify-content: space-between; align-items: center; }
.fld-title { font-size: 13px; font-weight: 600; color: var(--dark); display: block; margin-bottom: 8px; }
.role-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.role-card { border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 14px 10px; cursor: pointer; transition: all .2s; text-align: center; user-select: none; background: var(--white); display: flex; flex-direction: column; align-items: center; gap: 2px; }
.role-card:hover, .role-card.selected { border-color: var(--primary); background: var(--primary-lt); }
.role-card:focus-within { box-shadow: 0 0 0 3px rgba(176,122,30,.25); }
.role-card-icon { font-size: 26px; }
.role-card-title { font-size: 13.5px; font-weight: 700; color: var(--dark); }
.role-card-desc { font-size: 11.5px; color: var(--muted); line-height: 1.35; }
.role-card-badge { margin-top: 6px; padding: 2px 8px; border-radius: 20px; font-size: 10px; font-weight: 600; }
.badge-instant { background: var(--green-lt); color: var(--green); }
.badge-approval { background: #fef3c7; color: #b07500; }
@media (max-width: 520px) { .role-cards { grid-template-columns: 1fr; } .role-card { flex-direction: row; text-align: left; gap: 10px; flex-wrap: wrap; } }
.pw-strength { font-size: 12px; font-weight: 600; min-height: 16px; }
.pw-strength[data-level="1"], .pw-strength[data-level="2"] { color: #dc2626; }
.pw-strength[data-level="3"] { color: #d97706; }
.pw-strength[data-level="4"], .pw-strength[data-level="5"] { color: #16a34a; }

/* Static pages */
.page-content { max-width: 860px; padding: 36px 16px 64px; }
.page-content h1 { margin-bottom: 12px; }
.page-content h2 { font-size: 1.2rem; margin: 28px 0 10px; }
.page-content p, .page-content li { font-size: 15px; line-height: 1.8; color: #374151; }
.page-content ul { list-style: disc; padding-left: 22px; margin: 8px 0; }
.page-content .lead { font-size: 17px; color: var(--muted); margin-bottom: 18px; }
.page-content .feat-grid { margin: 20px 0; }
.legal h2 { font-size: 1.05rem; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 24px 0; }
.contact-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; text-align: center; }
.contact-box h3 { margin-bottom: 4px; }
.contact-box small { color: var(--muted); }
.page-404 { text-align: center; padding: 70px 16px 90px; max-width: 640px; }
.p404-code { font-size: 96px; font-weight: 800; color: var(--primary); line-height: 1; opacity: .9; }
.page-404 h1 { font-size: 1.5rem; margin: 12px 0 8px; }
.page-404 p { color: var(--muted); }
.p404-search { display: flex; gap: 8px; margin: 26px auto 18px; max-width: 480px; }
.p404-search .filt-select { flex: 1; }
.p404-links { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.footer-bottom { flex-direction: column; align-items: flex-start; }
.footer-disclaimer { font-size: 11.5px; color: rgba(255,255,255,.45); line-height: 1.6; max-width: 900px; }

/* Home */
.sec-head > div { flex: 1; }
.city-emoji { width: 42px; height: 42px; border-radius: 12px; background: var(--primary-lt); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; }
@media (max-width: 600px) {
  .hero { min-height: 0; }
  .hero-inner { padding: 36px 16px; }
  .hero-text p { font-size: 15px; }
  .hf-select, .hf-select-sm { max-width: none; flex: 1 1 45%; }
  .hf-btn { width: 100%; }
  .section { padding: 40px 0; }
}

/* ── v3: land & legal records, search hints ───────────────── */
.rec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.rec-item { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); }
.rec-k { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); }
.rec-v { font-size: 15px; font-weight: 700; color: var(--dark); word-break: break-word; font-variant-numeric: tabular-nums; }
.rec-note { margin-top: 12px; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.filt-hint { display: block; margin-top: 5px; font-size: 11.5px; line-height: 1.45; color: var(--muted); }
.hf-select.is-hidden { display: none; }

/* ── v5: House · Land · Commercial, language switch, fee, maps ─────────── */

/* Hero: a different scene behind each category */
.hero-bg { background: none; }
.hero-layer {
  position: absolute; inset: 0; background-size: cover; background-position: center bottom; background-repeat: no-repeat;
  opacity: 0; transition: opacity .7s ease;
}
.hero-layer-house      { background-image: url('../images/hero-house-brass.svg'); }
.hero-layer-land       { background-image: url('../images/hero-land-brass.svg'); }
.hero-layer-commercial { background-image: url('../images/hero-commercial-brass.svg'); }
.hero[data-group="house"]      .hero-layer-house,
.hero[data-group="land"]       .hero-layer-land,
.hero[data-group="commercial"] .hero-layer-commercial { opacity: 1; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,12,32,.74) 0%, rgba(8,12,32,.42) 55%, rgba(8,12,32,.18) 100%); }
.hero-sub { display: none; }
.hero[data-group="house"]      .hero-sub-house,
.hero[data-group="land"]       .hero-sub-land,
.hero[data-group="commercial"] .hero-sub-commercial { display: block; }
.stab { display: inline-flex; align-items: center; gap: 7px; }
.stab span { font-size: 16px; }

/* Language switch (EN | ગુ) */
.lang-switch { display: inline-flex; border: 1.5px solid var(--border); border-radius: 999px; overflow: hidden; background: var(--white); flex-shrink: 0; }
.lang-switch a { padding: 5px 11px; font-size: 13px; font-weight: 700; color: var(--muted); line-height: 1.3; }
.lang-switch a.on { background: var(--primary); color: #fff; }
.lang-switch a:not(.on):hover { background: var(--primary-lt); color: var(--primary); }
.nav-mobile-only.lang-switch-m a { font-weight: 700; color: var(--primary); }

/* Listing fee */
.fee-amt { font-weight: 800; }
.fee-struck { text-decoration: line-through; text-decoration-thickness: 2px; opacity: .7; }
.fee-free { display: inline-block; background: #16a34a; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .4px; padding: 2px 8px; border-radius: 999px; vertical-align: middle; }
.free-tag.fee-on { background: #FBF3E0; }
.stat-fee { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center; font-size: 20px; }
.cta-inner .fee-struck { opacity: .85; }
.fee-banner { display: flex; align-items: center; gap: 16px; padding: 14px 18px; margin-bottom: 18px; background: #fff7ed; border: 1.5px solid #fed7aa; border-radius: var(--radius); }
.fee-banner.is-free { background: #f0fdf4; border-color: #bbf7d0; }
.fee-banner .fb-amt { font-size: 22px; white-space: nowrap; color: var(--dark); }
.fee-banner small { display: block; color: var(--muted); font-size: 13px; line-height: 1.5; margin-top: 2px; }

/* Category cards on the home page */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat-card { position: relative; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-xs); overflow: hidden; transition: box-shadow var(--trans), transform var(--trans); }
.cat-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.cat-card::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: var(--primary); }
.cat-land::before { background: var(--green); }
.cat-commercial::before { background: var(--blue); }
.cat-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.cat-top h3 { font-size: 20px; margin: 0; }
.cat-top h3 a { color: var(--dark); }
.cat-top small { color: var(--muted); }
.cat-ico { width: 54px; height: 54px; border-radius: 14px; background: var(--primary-lt); display: flex; align-items: center; justify-content: center; font-size: 28px; }
.cat-land .cat-ico { background: var(--green-lt); }
.cat-commercial .cat-ico { background: #e8f1f8; }
.cat-types { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.cat-types a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1.5px solid var(--border); border-radius: 999px; font-size: 13.5px; color: var(--body); background: var(--bg); }
.cat-types a:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-lt); }
.cat-types em { font-style: normal; font-size: 11px; font-weight: 700; background: var(--primary); color: #fff; border-radius: 999px; padding: 0 6px; }
.cat-more { font-size: 14px; font-weight: 700; color: var(--primary); }
.filt-sub { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); margin: 8px 0 2px; }

/* Address & map */
.det-loc { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.det-loc-link { color: var(--body); font-weight: 500; }
.det-loc-link:hover { color: var(--primary); text-decoration: underline; }
.det-map-link { font-size: 13px; font-weight: 700; color: var(--primary); }
.det-addr { font-size: 13px; margin-top: 2px; }
.det-addr a { color: var(--muted); text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; }
.det-addr a:hover { color: var(--primary); }
.map-addr a { color: var(--body); }
.map-addr a:hover { color: var(--primary); text-decoration: underline; }
.map-box { position: relative; z-index: 0; height: 380px; font-size: 14px; color: var(--muted); }
.map-box .leaflet-container { width: 100%; height: 100%; z-index: 0; border-radius: var(--radius-lg); font-family: var(--font); }
.map-note { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.map-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.gb-pin { background: none; border: 0; }
.gb-pin svg { filter: drop-shadow(0 3px 4px rgba(0,0,0,.35)); }

/* Pin picker in the property form */
.pf-map { margin-top: 18px; }
.pick-toolbar { display: flex; flex-wrap: wrap; gap: 8px; }
.pick-map { position: relative; z-index: 0; height: 340px; border: 1.5px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin: 6px 0 6px; }
.pick-map .leaflet-container, .pick-map.leaflet-container { z-index: 0; cursor: crosshair; font-family: var(--font); }
.pick-status { font-size: 13px; color: var(--muted); min-height: 20px; margin: 0 0 6px; }
.pick-status.ok { color: #15803d; font-weight: 600; }
.pick-status.err { color: var(--danger); }

/* Gujarati typography */
body.lang-gu, body.lang-gu button, body.lang-gu input, body.lang-gu select, body.lang-gu textarea { font-family: 'Noto Sans Gujarati', var(--font); }
body.lang-gu h1, body.lang-gu h2, body.lang-gu h3, body.lang-gu h4 { letter-spacing: 0; line-height: 1.45; }
body.lang-gu .hero-text h1 { font-size: clamp(28px, 4.4vw, 46px); }
body.lang-gu .stab, body.lang-gu .btn, body.lang-gu .nav-links a { letter-spacing: 0; }

@media (max-width: 900px) {
  .cat-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .lang-switch a { padding: 4px 9px; font-size: 12px; }
  .nav-list-btn { display: none; }
  .map-box, .pick-map { height: 300px; }
  .fee-banner { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* v5 polish */
.search-card { max-width: 1000px; }
.hf-select { flex: 1 1 150px; min-width: 130px; max-width: 220px; font-size: 14.5px; padding: 0 30px 0 12px; text-overflow: ellipsis; }
.hf-select-sm { max-width: 135px; min-width: 115px; }
.hf-location { flex: 1 1 220px; }
.hf-location input { font-size: 14.5px; }
.stat-n.stat-fee { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; font-size: 22px; }

/* ═══════════════ HAVELI ESTATE — Marble & Gold theme ═══════════════ */
:root {
  --bg: #faf7f2; --border: #e8dfcc; --muted: #7a705c; --body: #2a2418; --dark: #2A1A0C;
  --primary: #B07A1E; --primary-dk: #7A4E0E; --primary-lt: #FBF3E0; --gold2: #E9C87A; --navy: #2A1A0C;
  --nav-h: 80px;
  --gold-grad: linear-gradient(135deg, #E2BC6A 0%, #B07A1E 55%, #8A5A12 100%);
  --font-display: 'Cinzel', 'Noto Sans Gujarati', Georgia, serif;
  --font-serif: 'Cormorant Garamond', 'Noto Sans Gujarati', Georgia, serif;
}
h1, h2, h3 { font-family: var(--font-display); letter-spacing: .4px; color: var(--navy); }
.sec-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.sec-head p { color: var(--muted); }
.sec-link { color: var(--primary-dk); font-weight: 700; }

/* Header */
.navbar { background: #fff; box-shadow: none; border-bottom: 1px solid var(--border); position: sticky; }
.navbar::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: linear-gradient(90deg, transparent, var(--primary), var(--gold2), var(--primary), transparent); }
.brand { gap: 12px; color: var(--body); }
.brand-mark { width: 62px; height: 44px; flex-shrink: 0; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand-txt b { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: 2.4px; color: var(--navy); white-space: nowrap; }
.brand-txt i { font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 14px; color: var(--primary-dk); letter-spacing: .3px; margin-top: 2px; }
.brand-light .brand-txt b { color: #f6efe0; } .brand-light .brand-txt i { color: var(--gold2); }
.nav-links a { text-transform: uppercase; letter-spacing: 1.4px; font-size: 13px; font-weight: 600; color: var(--navy); border-radius: 6px; }
.nav-links a:hover { background: transparent; color: var(--primary-dk); }

/* Buttons */
.btn-primary { background: var(--gold-grad); border-color: transparent; color: #fff; box-shadow: 0 6px 16px rgba(176,122,30,.30); text-shadow: 0 1px 1px rgba(80,50,0,.25); }
.btn-primary:hover { background: linear-gradient(135deg, #C79A45, #7A4E0E); border-color: transparent; color: #fff; transform: translateY(-1px); }
.btn-outline { color: var(--navy); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary-lt); color: var(--primary-dk); }
.btn-white { background: var(--navy); color: #f6efe0; border-color: transparent; }
.btn-white:hover { background: #140B04; color: #fff; }
.lang-switch { border-color: var(--primary); }
.lang-switch a.on { background: var(--gold-grad); color: #fff; }

/* Hero — ivory marble with a gold scene for each category */
.hero { background: linear-gradient(120deg, #fffdf8 0%, #f4ebd8 48%, #e9dcc0 100%); min-height: 600px; }
.hero-layer { background-size: cover; background-position: right bottom; }
.hero-shade { background: linear-gradient(90deg, rgba(255,253,248,.96) 0%, rgba(255,253,248,.80) 34%, rgba(255,253,248,.15) 60%, rgba(255,253,248,0) 100%); }
.hero-text h1 { color: var(--navy); font-size: clamp(1.9rem, 4.2vw, 3.1rem); line-height: 1.16; letter-spacing: 1px; }
.hero-text p, .hero-sub { color: #5e5340; font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: clamp(1.15rem, 2vw, 1.6rem); line-height: 1.35; max-width: 640px; }
body.lang-gu .hero-sub { font-family: 'Noto Sans Gujarati', var(--font-serif); font-style: normal; font-size: 1.1rem; }
.search-card { border: 1px solid #e3d5b2; box-shadow: 0 24px 50px rgba(120,90,30,.20); }
.stab { text-transform: uppercase; letter-spacing: 1.1px; font-size: 12.5px; font-weight: 700; }
.stab.active { color: var(--primary-dk); border-bottom-color: var(--primary); }

/* Sections */
.stats-strip { background: var(--navy); padding: 30px 0; position: relative; }
.stats-strip::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--primary), var(--gold2), var(--primary), transparent); }
.stat-n { font-family: var(--font-display); color: var(--gold2); font-weight: 700; }
.stat-l { color: rgba(246,239,224,.8); letter-spacing: .8px; text-transform: uppercase; font-size: 12px; }
.stat-div { background: rgba(233,200,122,.28); }
.section-tinted { background: #f4eee1; }
.cat-card::before, .cat-land::before, .cat-commercial::before { background: var(--gold-grad); height: 4px; }
.cat-ico, .cat-land .cat-ico, .cat-commercial .cat-ico { background: linear-gradient(135deg, rgba(233,200,122,.28), rgba(233,200,122,.08)); border: 1px solid var(--border); }
.cat-top h3 a { color: var(--navy); font-family: var(--font-display); letter-spacing: 1px; }
.cat-more { color: var(--primary-dk); }
.cat-types a:hover { border-color: var(--primary); color: var(--primary-dk); background: var(--primary-lt); }
.cat-types em { background: var(--navy); color: var(--gold2); }

/* Property cards & detail */
.prop-card { border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 8px 22px rgba(90,65,20,.07); }
.prop-card:hover { box-shadow: 0 14px 34px rgba(90,65,20,.16); }
.pc-price, .det-price { font-family: var(--font-display); color: var(--primary-dk); }
.badge-sale, .badge-rent { background: var(--navy); color: var(--gold2); letter-spacing: .6px; text-transform: uppercase; font-size: 10.5px; }
.badge-feat { background: var(--gold-grad); color: #fff; }
.dtab.active { color: var(--primary-dk); border-bottom-color: var(--primary); }
.feat-box { border: 1px solid var(--border); border-radius: 16px; background: #fff; }
.feat-ico { background: linear-gradient(135deg, rgba(233,200,122,.28), rgba(233,200,122,.08)); border: 1px solid var(--border); }
.feat-box h3 { font-size: 1.05rem; letter-spacing: .6px; }
.city-emoji { background: var(--primary-lt); color: var(--primary-dk); }

/* CTA */
.cta-section { background: var(--gold-grad); padding: 56px 0; }
.cta-section h2 { color: #1a1405; } .cta-section p { color: rgba(26,20,5,.8); font-family: var(--font-serif); font-size: 1.25rem; font-style: italic; font-weight: 600; }

/* Footer */
.footer { background: #1A0F06; color: rgba(246,239,224,.78); border-top: 4px solid var(--primary); }
.footer h4 { font-family: var(--font-display); color: var(--gold2); letter-spacing: 2px; font-size: 14px; text-transform: uppercase; }
.footer a:hover { color: var(--gold2); }
.footer-brand p { color: rgba(246,239,224,.72); }
.foot-addr { display: block; font-size: 13px; line-height: 1.6; margin-top: 8px; color: rgba(246,239,224,.78); }
.footer-bottom { border-color: rgba(233,200,122,.22); }

/* Sign-in pages */
.auth-card h1, .auth-wrap h1 { font-family: var(--font-display); color: var(--navy); }

/* Gujarati keeps its own font */
body.lang-gu .brand-txt b, body.lang-gu h1, body.lang-gu h2, body.lang-gu h3, body.lang-gu .stat-n { font-family: 'Noto Sans Gujarati', var(--font-display); }
body.lang-gu .nav-links a, body.lang-gu .stab { text-transform: none; letter-spacing: 0; }

@media (max-width: 900px) {
  :root { --nav-h: 68px; }
  .hero-shade { background: linear-gradient(180deg, rgba(255,253,248,.93) 0%, rgba(255,253,248,.82) 60%, rgba(255,253,248,.55) 100%); }
  .brand-mark { width: 50px; height: 36px; } .brand-txt b { font-size: 16px; letter-spacing: 1.6px; } .brand-txt i { font-size: 12px; }
}
@media (max-width: 480px) { .brand-txt i { display: none; } }

/* hero layout: keep text + search on the left, scene on the right */
.hero-layer { background-size: auto 100%; background-color: #f6eedc; }
.hero-text { max-width: 720px; }
.hero-text h1 { font-size: clamp(1.8rem, 3.5vw, 2.55rem); }
.search-card { max-width: 800px; }
.hf-select { max-width: 190px; }
@media (max-width: 900px) { .hero-layer { background-size: cover; opacity: .55 !important; } .hero[data-group] .hero-layer { opacity: .5; } }
.search-card { max-width: 880px; }
.hf-location { flex: 1 1 170px; }
.pc-title, .pc-title a, h3.pc-title { font-family: 'Inter', 'Noto Sans Gujarati', sans-serif; font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--navy); }
.pc-neg, .pc-period, .det-price span, .det-price small { font-family: 'Inter', 'Noto Sans Gujarati', sans-serif; letter-spacing: 0; text-transform: none; }
.det-title { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.contact-card h3, .emi-box h4, .filter-panel h2, .fp-head h2 { font-family: 'Inter', 'Noto Sans Gujarati', sans-serif; letter-spacing: 0; }

/* ═══════════════ Install-app banner + /app page ═══════════════ */
.install-banner { position: fixed; z-index: 950; left: 50%; bottom: 20px; width: min(560px, calc(100% - 28px)); transform: translate(-50%, 140%); opacity: 0;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px 40px 14px 14px; background: #fff;
  border: 1px solid #e3d5b2; border-radius: 18px; box-shadow: 0 24px 60px rgba(42,26,12,.28); transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .3s; }
.install-banner::before { content: ''; position: absolute; left: 18px; right: 18px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--gold-grad); }
.install-banner.show { transform: translate(-50%, 0); opacity: 1; }
.install-banner[hidden] { display: none; }
.ib-icon { width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 6px 14px rgba(42,26,12,.25); }
.ib-text strong { display: block; font-family: var(--font-display); color: var(--navy); font-size: 15px; letter-spacing: .5px; }
.ib-text span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.install-banner[data-mode="native"] .ib-ios, .install-banner[data-mode="ios"] .ib-native { display: none; }
.ib-actions { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ib-later { background: none; border: 0; color: var(--muted); font-size: 12px; cursor: pointer; padding: 2px 6px; }
.ib-later:hover { color: var(--primary-dk); }
.ib-close { position: absolute; top: 6px; right: 8px; background: none; border: 0; color: #a99e86; font-size: 14px; cursor: pointer; padding: 4px 6px; }
@media (max-width: 768px) {
  .install-banner { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); grid-template-columns: auto 1fr; }
  .ib-actions { grid-column: 1 / -1; flex-direction: row-reverse; justify-content: space-between; }
  .ib-install { flex: 1; margin-left: 12px; justify-content: center; }
}
.ios-sheet { position: fixed; inset: 0; z-index: 990; background: rgba(10,18,40,.55); display: flex; align-items: flex-end; justify-content: center; padding: 16px; }
.ios-sheet[hidden] { display: none; }
.ios-card { background: #fff; border-radius: 20px; padding: 24px 22px; width: min(440px, 100%); box-shadow: 0 -10px 40px rgba(0,0,0,.25); }
.ios-card h3 { margin: 0 0 10px; }
.ios-card ol { margin: 0 0 18px; padding-left: 20px; color: var(--body); line-height: 1.7; }
.ios-ico { display: inline-block; border: 1px solid var(--border); border-radius: 6px; padding: 0 6px; color: #0a7cff; }
.is-app .foot-app, .is-app [data-hide-in-app] { display: none !important; }
.foot-app { color: var(--gold2) !important; font-weight: 600; }

.app-hero { display: flex; align-items: center; gap: 28px; margin-bottom: 30px; }
.app-hero-icon { width: 120px; height: 120px; border-radius: 28px; box-shadow: 0 18px 40px rgba(42,26,12,.3); flex-shrink: 0; }
.app-ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 26px; }
.app-way { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 24px; box-shadow: 0 8px 22px rgba(90,65,20,.07); }
.app-way[hidden] { display: none; }
.app-way h2 { margin: 0 0 8px; font-size: 1.2rem; }
.app-way .btn { margin-top: 10px; }
.app-note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.app-steps { color: var(--body); line-height: 1.7; padding-left: 20px; }
@media (max-width: 600px) { .app-hero { flex-direction: column; text-align: center; } .app-hero-icon { width: 96px; height: 96px; } }

/* ═══════════════ HAVELI ESTATE — v7 brand (chocolate · brass · marble) ═══════════════ */
:root {
  --body: #1f1409; --muted: #75664d; --border: #e6dbc3; --bg: #fbf7ee;
  --navy: #2A1A0C; --dark: #2A1A0C;
  --primary: #B07A1E; --primary-dk: #7A4E0E; --primary-lt: #FBF3E0; --gold2: #E9C87A;
  --brass: linear-gradient(135deg, #EBCB82 0%, #C99A3F 32%, #8F5E14 64%, #B98428 86%, #6D4310 100%);
  --gold-grad: linear-gradient(135deg, #E2BC6A 0%, #B07A1E 55%, #8A5A12 100%);
  --font-wordmark: 'Cormorant SC', 'Noto Sans Gujarati', Georgia, serif;
}
body { background: var(--bg); color: var(--body); }
h1, h2, h3 { color: #2A1A0C; }

/* Wordmark: heavy Roman small-caps, bronze */
.brand-txt b { font-family: var(--font-wordmark); font-variant: small-caps; font-weight: 700; font-size: 28px; letter-spacing: .8px;
  background: linear-gradient(180deg, #8a5a14 0%, #5b3808 60%, #6d4510 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; line-height: 1; }
.brand-txt i { font-family: var(--font-serif); font-style: normal; font-weight: 700; font-size: 14.5px; color: #1a0f05; letter-spacing: .2px; margin-top: 4px; display: flex; align-items: center; gap: 7px; }
.brand-txt i::before, .brand-txt i::after { content: ''; width: 14px; height: 1px; background: #6b5a3c; opacity: .8; }
.brand-mark { width: 74px; height: 52px; filter: drop-shadow(0 2px 3px rgba(90,55,10,.25)); }
.brand-light .brand-txt b { background: none; -webkit-text-fill-color: #f3dca4; color: #f3dca4; }
.brand-light .brand-txt i { color: #f6efe0; }
.brand-light .brand-txt i::before, .brand-light .brand-txt i::after { background: #c9a24b; }
body.lang-gu .brand-txt b { font-variant: normal; font-family: 'Noto Sans Gujarati', var(--font-wordmark); font-size: 22px; }
.auth-logo .brand-txt b { font-size: 26px; }

/* Header / nav */
.navbar { background: #fffdf8; }
.nav-links a { color: #1f1409; font-weight: 700; letter-spacing: 1.6px; }
.nav-links a:hover { color: var(--primary-dk); }
.btn-primary { background: var(--gold-grad); box-shadow: 0 6px 16px rgba(138,90,18,.32); }
.btn-primary:hover { background: linear-gradient(135deg, #C99A3F, #6D4310); }
.btn-outline { color: #2A1A0C; border-color: var(--primary); }
.btn-white { background: #2A1A0C; color: #f3dca4; }
.btn-white:hover { background: #140B04; }

/* Marble surfaces */
.hero { background: url('../images/marble.svg') center / cover no-repeat, #f6eedd; }
.hero-shade { background: linear-gradient(90deg, rgba(255,253,248,.93) 0%, rgba(255,253,248,.72) 34%, rgba(255,253,248,.10) 60%, rgba(255,253,248,0) 100%); }
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 78% 0%, rgba(255,214,130,.35), transparent 55%); }
.section-tinted { background: url('../images/marble.svg') center / cover fixed, #f4eee1; }
.auth-body { background: url('../images/marble.svg') center / cover fixed, #f6eedd; }
.hero-text h1 { color: #2A1A0C; }
.hero-text p, .hero-sub { color: #4a3a22; }
.search-card { border-color: #e2cf9f; box-shadow: 0 24px 50px rgba(110,70,10,.22); }

/* Stats, footer, CTA in chocolate / brass */
.stats-strip { background: linear-gradient(180deg, #2f1d0e, #22140a); }
.stat-n { color: #EBCB82; }
.footer { background: #1A0F06; border-top: 4px solid var(--primary); }
.footer h4 { color: #EBCB82; }
.footer-bottom { border-color: rgba(233,200,122,.2); }
.cta-section { background: var(--brass); }
.cta-section h2 { color: #1a0f05; }
.cta-section p { color: rgba(26,15,5,.82); font-style: normal; font-weight: 700; }

/* "Invest · Grow · Prosper" plaque */
.igp { display: inline-flex; flex-direction: column; align-items: center; gap: 1px; margin: 14px 0 6px; padding: 12px 22px; background: #2d1b0c; border: 1px solid rgba(233,200,122,.45); border-radius: 6px;
  font-family: var(--font-serif); font-weight: 700; font-size: 17px; line-height: 1.25; letter-spacing: .8px; color: #EBCB82; box-shadow: inset 0 0 0 3px rgba(0,0,0,.25); }
.igp span + span { border-top: 0; }

/* Category icons: brass discs with a white glyph */
.cat-ico, .cat-land .cat-ico, .cat-commercial .cat-ico, .stab-ico { display: inline-flex; align-items: center; justify-content: center; border: 0; background: var(--brass); color: #fff; border-radius: 50%; box-shadow: 0 4px 10px rgba(110,70,10,.3), inset 0 1px 0 rgba(255,255,255,.35); }
.cat-ico { width: 52px; height: 52px; font-size: 0; flex-shrink: 0; } .cat-ico .gi { width: 26px; height: 26px; }
.stab-ico { width: 24px; height: 24px; vertical-align: middle; margin-right: 4px; } .stab-ico .gi { width: 14px; height: 14px; }
.stab:not(.active) .stab-ico { background: #d8c9a6; box-shadow: none; }
.cat-top h3 a { color: #2A1A0C; }
.cat-types em { background: #2A1A0C; color: #EBCB82; }
.badge-sale, .badge-rent { background: #2A1A0C; color: #EBCB82; }
.badge-feat { background: var(--brass); color: #1a0f05; }
.feat-ico { background: var(--brass); color: #fff; }
.pc-price, .det-price { color: #7A4E0E; }

@media (max-width: 900px) { .brand-txt b { font-size: 23px; } .brand-txt i { font-size: 12px; } .brand-txt i::before, .brand-txt i::after { width: 8px; } }
@media (max-width: 480px) { .brand-txt i { display: none; } .brand-txt b { font-size: 21px; } }

/* Gujarati: wordmark must not be clipped, nav needs a larger size */
body.lang-gu .brand-txt b { background: none; -webkit-text-fill-color: #6b430c; color: #6b430c; line-height: 1.45; padding-top: 2px; font-size: 25px; font-weight: 700; }
body.lang-gu .brand-light .brand-txt b { -webkit-text-fill-color: #f3dca4; color: #f3dca4; }
body.lang-gu .brand-txt i { font-family: 'Noto Sans Gujarati', var(--font-serif); font-size: 14px; line-height: 1.4; margin-top: 0; }
body.lang-gu .auth-logo .brand-txt b { font-size: 24px; }
body.lang-gu .nav-links a { font-size: 16.5px; font-weight: 600; letter-spacing: 0; }
body.lang-gu .stab { font-size: 15px; letter-spacing: 0; }
body.lang-gu .cat-top h3 a, body.lang-gu h1, body.lang-gu h2, body.lang-gu h3 { line-height: 1.4; }
@media (max-width: 900px) { body.lang-gu .brand-txt b { font-size: 20px; } body.lang-gu .brand-txt i { font-size: 12px; } }
@media (max-width: 480px) { body.lang-gu .brand-txt b { font-size: 19px; } }
body.lang-gu .nav-right .btn { font-size: 15px; } body.lang-gu .free-tag { font-size: 11px; }
