/* =============================================================
   THANJAI PROPERTY — PROPERTY DETAIL PAGE
   styles.css  |  External Stylesheet
   ============================================================= */

/* ── GOOGLE FONTS (import in HTML <head> or here) ─────────── */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Damion&family=Nunito:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;800&display=swap');


/* ══════════════════════════════════════════════════════════════
   1. CSS CUSTOM PROPERTIES (TOKENS)
   ══════════════════════════════════════════════════════════════ */
:root {
  /* Property-detail palette */
  --red:       #b42628;
  --red-light: #fff0f0;
  --red-mid:   #e8302e;
  --navy:      #0f1f3d;
  --bg:        #f5f0eb;
  --card:      #ffffff;
  --text:      #1e1b18;
  --muted:     #7a6b5a;
  --border:    #e2d9d0;
  --gold:      #b8860b;
  --green:     #1a7a4a;
  --radius:    14px;

  /* Listing / sidebar palette */
  --red-list:       #c8102e;
  --red-light-list: #fff0f2;
  --navy-list:      #0f1f3d;
  --bg-list:        #f4f1ee;
  --card-list:      #ffffff;
  --text-list:      #111;
  --muted-list:     #6b7280;
  --border-list:    #e2ddd8;
  --green-list:     #1a7a4a;
  --gold-list:      #b8860b;

  /* Search bar */
  --primary-accent: #d8232a;
  --primary-hover:  #b51d22;
  --soft-tint:      #fff1f2;
  --ui-border:      #e5e7eb;
  --base-dark:      #1f2937;
  --base-muted:     #6b7280;

  /* Global brand */
  --primary-red:   #d8232a;
  --text-dark:     #2d2d2d;
  --text-light:    #888888;
  --bg-gray:       #f8f9fa;
}


/* ══════════════════════════════════════════════════════════════
   2. RESET & BASE
   ══════════════════════════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html, body { overflow-x: hidden; width: 100%; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
}

.libre-font { font-family: 'Libre Baskerville', serif; }
.damion-font { font-family: 'Damion', cursive; }


/* ══════════════════════════════════════════════════════════════
   3. TAILWIND CONFIG COLORS (reference — applied via class)
   (Defined in tailwind.config inside <script> in HTML)
   ══════════════════════════════════════════════════════════════ */


/* ══════════════════════════════════════════════════════════════
   4. NAVIGATION
   ══════════════════════════════════════════════════════════════ */

/* ── Nav buttons ── */
.btn-premium {
  position: relative;
  overflow: hidden;
  padding: 10px 24px;
  border-radius: 40px;
  font-weight: 700;
  color: white;
  background: linear-gradient(105deg, #b42628, #e64b2e, #ff6a4b);
  background-size: 200% auto;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(180, 38, 40, 0.25);
  font-size: 0.9rem;
}
.btn-premium::before {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: rgba(255,255,255,0.3);
  transform: skewX(-25deg);
  transition: 0.5s;
}
.btn-premium:hover::before { left: 125%; }
.btn-premium:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(180,38,40,0.35); }

.btn-login-elegant {
  position: relative;
  padding: 8px 20px;
  border-radius: 40px;
  font-weight: 600;
  background: transparent;
  color: #1e1b18;
  border: 1.5px solid #d9c3ae;
  transition: all 0.25s ease;
  font-size: 0.85rem;
  backdrop-filter: blur(2px);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-login-elegant:hover {
  background: #86530010;
  border-color: #865300;
  color: #865300;
  transform: scale(1.02);
}

/* ── Mobile Drawer ── */
.mobile-nav-overlay {
  position: fixed; inset: 0;
  background: rgba(30,27,24,0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  opacity: 0; visibility: hidden;
  transition: all 0.3s ease;
}
.mobile-nav-overlay.open { opacity: 1; visibility: visible; }

.mobile-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(80%, 320px);
  background: #fff8f5;
  box-shadow: -12px 0 40px rgba(30,27,24,0.2);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.2,0.9,0.4,1.1);
  display: flex; flex-direction: column;
  padding: 1.5rem 1.5rem 2rem;
  overflow-y: auto;
}
.mobile-drawer.open { transform: translateX(0); }

.drawer-link {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0;
  font-weight: 600;
  border-bottom: 1px solid #e9e1dc;
  color: #1e1b18;
  font-family: 'Manrope', sans-serif;
  transition: 0.2s;
  text-decoration: none;
  font-size: 0.95rem;
}
.drawer-link:hover { color: #b42628; padding-left: 6px; }
body.drawer-open { overflow: hidden; }
body.drawer-open .mobile-post-btn { display: none !important; }

/* ── City dropdown (desktop) ── */
.nav-city-dropdown {
  position: absolute;
  top: 100%; left: 0;
  margin-top: 8px;
  width: 760px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  padding: 1.5rem;
  opacity: 0; visibility: hidden;
  transition: all 0.2s;
  z-index: 50;
  border: 1px solid #e9e1dc;
}
.nav-city-trigger:hover .nav-city-dropdown { opacity: 1; visibility: visible; }

.nav-city-dropdown .district-search {
  width: 100%;
  padding: 8px 14px;
  border: 1px solid #e9e1dc;
  border-radius: 40px;
  font-size: 0.8rem;
  outline: none;
  margin-bottom: 1rem;
  color: #1e1b18;
  background: #fff8f5;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s;
}
.nav-city-dropdown .district-search:focus { border-color: #b42628; }
.nav-city-dropdown .district-group-title {
  font-size: 0.65rem; font-weight: 800;
  color: #b42628; text-transform: uppercase;
  letter-spacing: 0.5px; margin-bottom: 0.5rem;
}
.nav-city-dropdown .district-grid {
  display: grid; grid-template-columns: repeat(5,1fr);
  gap: 2px 4px;
}
.nav-city-dropdown .district-item {
  font-size: 0.78rem; color: #534434;
  padding: 5px 8px; border-radius: 6px;
  cursor: pointer; transition: all 0.15s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nav-city-dropdown .district-item:hover { background: #fdf0f0; color: #b42628; }

@media (max-width: 1280px) {
  .nav-city-dropdown { width: 560px; }
  .nav-city-dropdown .district-grid { grid-template-columns: repeat(4,1fr); }
}

/* ===== Map Card ===== */
.map-card {
  overflow: hidden;

  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* ===== Placeholder ===== */
.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;

  height: 200px;

  color: var(--muted);
  background: linear-gradient(135deg, #e8f0fe, #fce8e6);
}

.map-placeholder i {
  font-size: 36px;
  color: var(--red);
}

.map-placeholder span {
  font-size: 13px;
  font-weight: 500;
}

/* ===== Footer ===== */
.map-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 12px 16px;
}

/* Location Text */
.map-loc-text {
  display: flex;
  align-items: center;
  gap: 5px;

  font-size: 12.5px;
  color: var(--muted);
}

.map-loc-text i {
  color: var(--red);
}

/* Direction Button */
.map-dir-btn {
  display: flex;
  align-items: center;
  gap: 4px;

  font-size: 12px;
  font-weight: 600;
  text-decoration: none;

  color: var(--red);
  transition: gap 0.2s ease;
}

.map-dir-btn:hover {
  gap: 8px;
}


/* ===== Seller Card ===== */
.seller-card {
  padding: 24px;

  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* ===== Header ===== */
.seller-header {
  display: flex;
  align-items: center;
  gap: 14px;

  margin-bottom: 18px;
}

/* Avatar */
.seller-avatar {
  flex-shrink: 0;

  width: 56px;
  height: 56px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), #ff6b6b);

  font-family: 'Manrope', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}

/* Name */
.seller-name {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

/* Role */
.seller-role {
  margin-top: 2px;

  font-size: 11.5px;
  color: var(--muted);
}

/* Badge */
.seller-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;

  margin-top: 4px;
  padding: 3px 8px;
  border-radius: 20px;

  font-size: 10.5px;
  font-weight: 700;

  color: var(--green);
  background: #e8f5e9;
}

.seller-badge i {
  font-size: 10px;
}

/* ===== Stats ===== */
.seller-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;

  margin-bottom: 18px;
}

.seller-stat {
  padding: 10px 12px;
  text-align: center;

  border-radius: 10px;
  background: #f8f4f0;
}

.seller-stat .s-val {
  font-family: 'Manrope', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;

  color: var(--red);
}

.seller-stat .s-label {
  margin-top: 2px;

  font-size: 10px;
  color: var(--muted);
}
/* ===== CTA Buttons Wrapper ===== */
.cta-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ===== Base Button ===== */
.cta-btn {
  width: 100%;
  padding: 13px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  border-radius: 10px;
  border: none;

  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 700;

  cursor: pointer;
  transition: all 0.2s ease;
}

/* ===== Call Button ===== */
.cta-call {
  color: #fff;
  background: var(--red);
  box-shadow: 0 4px 14px rgba(180, 38, 40, 0.3);
}

.cta-call:hover {
  background: #921f21;
  transform: translateY(-1px);
}

/* ===== WhatsApp Button ===== */
.cta-whatsapp {
  color: #fff;
  background: #25D366;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.cta-whatsapp:hover {
  background: #1fba58;
  transform: translateY(-1px);
}

/* ===== Enquiry Button ===== */
.cta-enquiry {
  color: var(--navy);
  background: transparent;
  border: 1.5px solid var(--border);
}

.cta-enquiry:hover {
  background: #f0f4fb;
  border-color: var(--navy);
}

/* ===== Divider ===== */
.divider {
  height: 1px;
  margin: 16px 0;

  background: var(--border);
}

/* ===== Seller Note ===== */
.seller-note {
  text-align: center;
  line-height: 1.5;

  font-size: 11.5px;
  color: var(--muted);
}

.seller-note i {
  color: var(--gold);
}


/* ===== Similar Properties Card ===== */
.similar-card {
  padding: 20px;

  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* List */
.similar-list {
  display: flex;
  flex-direction: column;
  gap: 12px;

  margin-top: 14px;
}

/* Item */
.similar-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 10px;

  padding: 6px;
  border-radius: 8px;

  cursor: pointer;
  transition: background 0.2s ease;
}

.similar-item:hover {
  background: #f8f4f0;
}

/* Image */
.sim-img {
  width: 80px;
  height: 60px;

  border-radius: 7px;
  overflow: hidden;
}

.sim-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Info */
.sim-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

/* Title */
.sim-title {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

/* Price */
.sim-price {
  font-size: 13px;
  font-weight: 800;
  color: var(--red);
}

/* Location */
.sim-loc {
  font-size: 10.5px;
  color: var(--muted);
}

/* ===== Lightbox ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;

  align-items: center;
  justify-content: center;

  background: rgba(0, 0, 0, 0.92);
  z-index: 1000;
}

/* Open state */
.lightbox.open {
  display: flex;
}

/* Image */
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;

  border-radius: 8px;
  object-fit: contain;
}

/* Close Button */
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;

  font-size: 28px;
  line-height: 1;

  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
}

/* Navigation Buttons */
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;

  padding: 14px 18px;
  border-radius: 50%;
  border: none;

  font-size: 24px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);

  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

/* Image Count */
.lightbox-count {
  position: absolute;
  bottom: 20px;

  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

/* ===== Video Modal ===== */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;

  align-items: center;
  justify-content: center;

  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
}

/* Open state */
.video-modal.open {
  display: flex;
}

/* Video Frame */
.video-modal iframe {
  width: min(900px, 90vw);
  height: min(506px, 50vw);

  border-radius: 10px;
  border: none;
}

/* Close Button */
.vm-close {
  position: absolute;
  top: 20px;
  right: 24px;

  font-size: 28px;
  color: #fff;

  background: none;
  border: none;
  cursor: pointer;
}

/* ===== Mobile Sticky CTA Bar ===== */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;

  padding: 10px 14px;
  gap: 10px;

  background: var(--card);
  border-top: 1px solid var(--border);
  box-shadow: 0 -3px 14px rgba(0, 0, 0, 0.10);

  z-index: 500;
}

/* Show on mobile */
@media (max-width: 900px) {
  .mobile-sticky-bar {
    display: flex;
  }

  body {
    padding-bottom: 70px;
  }
}

/* CTA inside sticky bar */
.mobile-sticky-bar .cta-btn {
  flex: 1;
  padding: 11px 6px;
  font-size: 12.5px;
}

/* ===== Detail Page Responsive ===== */

/* Tablet ≤ 1024px */
@media (max-width: 1024px) {
  .page-wrap {
    grid-template-columns: 1fr 300px;
    gap: 20px;
    padding: 0 16px 50px;
  }

  .gallery-main {
    height: 340px;
  }
}

/* Small Tablet / Mobile ≤ 900px */
@media (max-width: 900px) {
  .page-wrap {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 14px 80px;
  }

  .right-col {
    position: static;
  }

  .gallery-main {
    height: 260px;
  }

  .amenity-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-grid {
    grid-template-columns: 1fr 1fr;
  }
}
/* ===== Mobile ≤ 640px ===== */
@media (max-width: 640px) {

  /* Layout */
  .page-wrap {
    padding: 0 10px 80px;
    gap: 14px;
  }

  /* Gallery */
  .gallery-main { height: 210px; }

  .thumb {
    width: 58px;
    height: 44px;
  }

  .thumb-strip {
    padding: 8px;
    gap: 5px;
  }

  /* Badges */
  .img-badge-price {
    font-size: 0.88rem;
    padding: 5px 12px;
  }

  .img-badge-id {
    font-size: 10px;
    padding: 3px 9px;
  }

  .img-badge-tag {
    font-size: 9.5px;
    padding: 3px 9px;
  }

  .photo-count-btn {
    font-size: 11px;
    padding: 5px 10px;
  }

  /* Info Card */
  .info-card { padding: 14px; }

  .prop-title { font-size: 0.93rem; }

  .prop-loc { font-size: 12px; }

  .tag {
    font-size: 9.5px;
    padding: 3px 8px;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-cell:last-child {
    grid-column: 1 / -1;
  }

  .stat-val { font-size: 0.92rem; }

  .stat-val.red { font-size: 1rem; }

  /* Amenities */
  .amenity-grid {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .amenity-item {
    font-size: 11px;
    padding: 7px;
    gap: 6px;
  }

  /* Description */
  .prop-desc { font-size: 12.5px; }

  /* Overview */
  .overview-card { padding: 14px; }

  .overview-table td {
    font-size: 12px;
    padding: 8px 4px;
  }

  .overview-table td:first-child {
    width: 45%;
  }

  /* Video */
  .video-section { padding: 14px; }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* Map */
  .map-footer {
    flex-wrap: wrap;
    gap: 8px;
  }

  /* Seller */
  .seller-card { padding: 16px; }

  .seller-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .seller-stat {
    padding: 9px 8px;
  }

  .seller-stat .s-val { font-size: 1rem; }

  .seller-stat .s-label { font-size: 9.5px; }

  /* CTA */
  .cta-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .cta-enquiry {
    grid-column: 1 / -1;
  }

  .cta-btn {
    padding: 11px 8px;
    font-size: 13px;
  }

  /* Similar */
  .similar-card { padding: 14px; }

  /* Lightbox */
  .lightbox-prev {
    left: 8px;
    padding: 10px 13px;
  }

  .lightbox-next {
    right: 8px;
    padding: 10px 13px;
  }
}

/* ===== Very Small ≤ 400px ===== */
@media (max-width: 400px) {

  .page-wrap {
    padding: 0 8px 80px;
  }

  .gallery-main {
    height: 185px;
  }

  .prop-title {
    font-size: 0.88rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-cell:last-child {
    grid-column: auto;
  }

  .amenity-grid {
    grid-template-columns: 1fr 1fr;
  }

  .overview-table td {
    font-size: 11.5px;
  }
}


/* ══════════════════════════════════════════════════════════════
   9. PROPERTY CARDS (Grid & Swiper)
   ══════════════════════════════════════════════════════════════ */
/* ===== Latest Properties Grid ===== */
.latest-properties-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 1.5rem;
  margin-top: 2rem;
}

/* ===== Large Tablet ≤ 1280px ===== */
@media (max-width: 1280px) {
  .latest-properties-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== Tablet ≤ 1024px ===== */
@media (max-width: 1024px) {
  .latest-properties-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
}

/* ===== Mobile ≤ 480px ===== */
@media (max-width: 480px) {
  .latest-properties-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
/* ===== Property Card ===== */
.property-card {
  background: #fff;
  border-radius: 1.25rem;
  overflow: hidden;
  cursor: pointer;

  transition: all 0.3s ease;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.15);
}

/* ===== Image Wrapper ===== */
.property-img-wrapper {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #f5f0eb;
}

.property-img-wrapper img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;

  transition: transform 0.5s ease;
}

/* Hover Zoom Effect */
.property-card:hover .property-img-wrapper img {
  transform: scale(1.06);
}

/* ===== Property ID Badge ===== */
.property-id {
  position: absolute;
  top: 12px;
  left: 12px;

  padding: 4px 10px;
  border-radius: 30px;

  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  font-family: 'Inter', sans-serif;

  color: #000;
  background: rgb(255, 158, 24);
  backdrop-filter: blur(6px);

  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(216, 35, 42, 0.35);

  transition: all 0.3s ease;
}

/* ===== Price Badge ===== */
.property-price {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;

  display: flex;
  align-items: center;
  gap: 4px;

  padding: 0.25rem 0.9rem;
  border-radius: 40px;

  font-size: 0.9rem;
  font-weight: 800;
  font-family: 'Manrope', sans-serif;

  color: #fff;
  background: rgba(180, 38, 40, 0.92);
  backdrop-filter: blur(5px);

  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
/* ===== Property Description ===== */
.property-desc {
  padding: 0.9rem 1rem 1rem;
}

.property-desc p {
  display: flex;
  align-items: flex-start;
  gap: 6px;

  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
  color: #2c241e;
}

/* Icon inside description */
.property-desc p .material-symbols-outlined {
  font-size: 1rem;
  color: #b42628;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ===== Location ===== */
.property-location {
  display: flex;
  align-items: center;
  gap: 5px;

  margin-top: 0.6rem;
  padding-top: 0.6rem;

  font-size: 0.7rem;
  font-weight: 500;
  color: #867462;

  border-top: 1px solid #e9e1dc;
}

.property-location .material-symbols-outlined {
  font-size: 0.9rem;
}

/* ===== Swiper Container ===== */
.property-swiper-container {
  width: 100%;
  overflow: hidden;

  margin-top: -12px;
  padding: 0.5rem 0 1.5rem;
}

.property-swiper,
.blog-swiper {
  width: 100%;
  overflow: visible;
}

.property-swiper .swiper-slide,
.blog-swiper .swiper-slide {
  height: auto;
}

/* ===== Swiper Card ===== */
.property-card-swiper {
  display: flex;
  flex-direction: column;
  height: 100%;

  background: #fff;
  border-radius: 1.25rem;
  overflow: hidden;
  cursor: pointer;

  transition: all 0.3s ease;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
}

.property-card-swiper:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.15);
}

/* Image inside swiper card */
.property-card-swiper .property-img-wrapper {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #f5f0eb;
}

.property-card-swiper .property-img-wrapper img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;

  transition: transform 0.5s ease;
}

.property-card-swiper:hover .property-img-wrapper img {
  transform: scale(1.06);
}

/* ===== Swiper Navigation ===== */
.swiper-nav-custom {
  display: flex;
  justify-content: flex-end;
  gap: 12px;

  margin-top: 1.5rem;
}

.swiper-btn-prev-custom,
.swiper-btn-next-custom {
  width: 42px;
  height: 42px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: #fff;
  color: #b42628;
  border-radius: 50%;
  border: 1px solid #e9e1dc;

  cursor: pointer;
  transition: all 0.2s;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.swiper-btn-prev-custom:hover,
.swiper-btn-next-custom:hover {
  background: #b42628;
  color: #fff;
  border-color: #b42628;

  transform: scale(1.05);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .swiper-nav-custom {
    justify-content: center;
    margin-top: 1rem;
  }
}


/* ══════════════════════════════════════════════════════════════
   10. BLOG CARDS
   ══════════════════════════════════════════════════════════════ */
/* ===== Blog Card ===== */
.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;

  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;

  border: 1px solid #eee;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.18);
}

/* ===== Image Wrapper ===== */
.blog-img-wrapper {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;

  background-color: #f5f0eb;

  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.blog-img-wrapper img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;

  transition: transform 0.5s ease;
}

.blog-card:hover .blog-img-wrapper img {
  transform: scale(1.08);
}

/* ===== Date Badge ===== */
.blog-date {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;

  padding: 0.3rem 0.75rem;
  border-radius: 40px;

  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  font-family: 'Inter', monospace;

  color: #ffdad6;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
}

/* ===== Content ===== */
.blog-content {
  display: flex;
  flex-direction: column;
  flex: 1;

  padding: 1rem 1rem 1.2rem;

  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

/* Title */
.blog-title {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;

  margin-bottom: 0.5rem;
  color: #1e1b18;
  font-family: 'Manrope', sans-serif;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Excerpt */
.blog-excerpt {
  font-size: 0.78rem;
  line-height: 1.5;

  margin-bottom: 1rem;
  color: #534434;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== Meta Info ===== */
.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-top: auto;
  padding-top: 0.7rem;

  font-size: 0.72rem;
  color: #867462;

  border-top: 1px solid #e9e1dc;
}

.blog-meta .material-symbols-outlined {
  font-size: 0.95rem;
  color: #b42628;
}


/* ══════════════════════════════════════════════════════════════
   11. FAQ
   ══════════════════════════════════════════════════════════════ */
/* ===== FAQ Item ===== */
.faq-item {
  border-bottom: 1px solid #e9e1dc;
}

/* ===== Question ===== */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;

  padding: 1.25rem 0;
  cursor: pointer;

  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  color: #1e1b18;

  transition: color 0.2s ease;
}

.faq-question:hover {
  color: #b42628;
}

/* Question Text */
.faq-question span:first-child {
  flex: 1;

  font-size: clamp(0.9rem, 2vw, 1.05rem);
  letter-spacing: -0.2px;
}

/* ===== Icon ===== */
.faq-icon {
  flex-shrink: 0;
  color: #b42628;

  transition: transform 0.3s ease;
}

/* Rotate icon when active */
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* ===== Answer ===== */
.faq-answer {
  max-height: 0;
  overflow: hidden;

  font-size: 0.85rem;
  line-height: 1.5;
  color: #534434;

  transition: max-height 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

/* Expanded state */
.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 1.25rem;
}

/* ===== Container ===== */
.faq-grid-container {
  background: #fff;
  border-radius: 1.5rem;
  padding: 1.5rem 2rem;

  box-shadow: 0 15px 35px -12px rgba(0, 0, 0, 0.08);
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
  .faq-grid-container {
    padding: 1rem 1.2rem;
  }
}

/* ══════════════════════════════════════════════════════════════
   12. EXPLORE LOCALITIES
   ══════════════════════════════════════════════════════════════ */
/* ===== Wrapper ===== */
.explore-localities-wrapper {
  margin: 2rem auto;
  padding: 2px 16px 68px;

  border-radius: 2rem;
  background: linear-gradient(135deg, #fef7f2 0%, #fef0ea 100%);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

@media (min-width: 768px) {
  .explore-localities-wrapper {
    padding: 2px 40px 68px;
  }
}

/* ===== Locality Card ===== */
.locality-card-modern {
  display: flex;
  flex-direction: column;
  height: 100%;

  background: #fff;
  border-radius: 1.5rem;
  overflow: hidden;

  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.locality-card-modern:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -12px rgba(180, 38, 40, 0.2);
}

/* ===== Top Section ===== */
.locality-top {
  position: relative;
  padding: 1.6rem 1.5rem 1rem;
}

/* Title */
.locality-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;

  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(1.1rem, 3vw, 1.4rem);

  color: #000;
}

.locality-title a {
  color: inherit;
  transition: color 0.2s ease;
}

.locality-title a:hover {
  color: #b42628;
}

/* Price Range */
.price-range-text {
  margin-top: 0.5rem;

  font-size: 0.75rem;
  font-weight: 500;
  color: #865300;
}

/* ===== Stats Row ===== */
.stats-row {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-top: 1.5rem;
}

/* Rating Badge */
.rating-modern {
  padding: 0.3rem 0.8rem;
  border-radius: 30px;

  font-size: 0.8rem;
  font-weight: 700;

  background: #f3f0ec;
}

.rating-modern b {
  color: #2c241e;
}

.rating-modern b::after {
  content: " ★";
  color: #f5a623;
  font-weight: 600;
}

/* ===== Footer Link ===== */
.locality-footer-link {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-top: auto;
  padding: 1rem 1.5rem;

  text-decoration: none;

  background: #fef4ef;
  border-top: 1px solid rgba(180, 38, 40, 0.08);

  transition: background 0.2s ease;
}

.locality-footer-link span {
  font-size: 0.85rem;
  font-weight: 700;
  color: #b42628;
}

.locality-footer-link i {
  width: 28px;
  height: 28px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  font-size: 0.75rem;

  color: #fff;
  background: #b42628;

  transition: transform 0.2s ease;
}

/* Arrow move on hover */
.locality-card-modern:hover .locality-footer-link i {
  transform: translateX(5px);
}

/* ===== Navigation Buttons ===== */
.locality-nav-btns {
  display: flex;
  gap: 12px;
}

.loc-nav-btn {
  width: 40px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  cursor: pointer;

  color: #b42628;
  background: #fff;
  border: 1px solid #e9e1dc;

  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.loc-nav-btn:hover {
  color: #fff;
  background: #b42628;
  border-color: #b42628;
}

/* ══════════════════════════════════════════════════════════════
   13. POST PROPERTY BANNER
   ══════════════════════════════════════════════════════════════ */
.post-banner {
  margin-top: -65px;
  background: #d83a34; color: #fff;
  padding: 2px 68px 23px 61px;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap;
}
.post-banner-content h2 { font-size: 28px; font-weight: 600; margin: 0; }
.free-text { font-family: 'Damion', cursive; font-size: 50px; font-weight: 400; margin-left: 8px; }
.post-banner-content p { margin-top: -5px; font-size: 14px; color: #ffeaea; }
.post-banner-action { margin-top: 21px; }
.post-btn { background: #ff9c14; color: #333; padding: 10px; border-radius: 25px; text-decoration: none; font-weight: 500; display: inline-flex; align-items: center; gap: 10px; }
.badge { background: #eee; color: #333; font-size: 12px; padding: 3px 8px; border-radius: 12px; font-weight: 600; }*/
@media (max-width: 768px) {
  .post-banner { padding: 20px 41px; flex-direction: column; align-items: flex-start; }
  .post-banner-content h2 { font-size: 28px; line-height: 1.4; }
  .free-text { display: block; font-size: 45px; margin-left: 0; margin-top: -5px; }
  .post-banner-content p { font-size: 13px; margin-top: 8px; }
  .post-banner-action { width: 100%; margin-top: 15px; }
  .post-btn { padding: 10px 15px; border-radius: 30px; }
}
@media (max-width: 480px) { .post-banner-content h2 { font-size: 20px; } .free-text { font-size: 30px; } }

/* Older banner style */
.post-property-banner { background: #db4437; padding: 40px 60px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; font-family: 'Nunito', sans-serif; gap: 20px; }
.post-property-banner h2 { margin: 0; font-size: 30px; font-weight: 600; color: #ffffff; letter-spacing: 0.5px; }
.post-property-banner p { margin: 15px 0 0; font-size: 20px; color: #ffffff; opacity: 0.95; }
.post-property-btn { display: inline-flex; align-items: center; gap: 12px; background: #ffc439; color: #333; padding: 14px 28px; border-radius: 50px; text-decoration: none; font-size: 20px; font-weight: 700; box-shadow: 0 4px 15px rgba(0,0,0,0.1); transition: transform 0.2s ease; }
.post-property-btn:hover { transform: scale(1.04); }
.post-property-badge { background: #fff; padding: 4px 12px; border-radius: 20px; font-size: 14px; font-weight: 800; color: #444; text-transform: uppercase; letter-spacing: 1px; }
@media (max-width: 768px) { .post-property-banner { padding: 30px 20px; } .post-property-banner h2 { font-size: 28px; } .post-property-banner p { font-size: 16px; } .post-property-btn { font-size: 16px; padding: 12px 20px; } }

/* Mobile floating post btn */
@media (max-width: 768px) {
  .mobile-post-btn {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
    z-index: 9999; display: flex; align-items: center; gap: 10px;
    padding: 10px 20px; border-radius: 12px;
    background: linear-gradient(135deg,#ff4d4f,#d8232a);
    color: #fff; font-size: 15px; font-weight: 600;
    text-decoration: none; white-space: nowrap;
  }
  .mobile-post-btn:active { transform: translateX(-50%) scale(0.95); }
}


/* ══════════════════════════════════════════════════════════════
   14. LISTING PAGE — SIDEBAR & CARDS
   ══════════════════════════════════════════════════════════════ */



/* Sidebar */
.sidebar {
  padding: 24px;
  position: sticky;
  top: 76px;
}

.sidebar-title {
  font-family: 'Inter', 'Noto Sans Tamil', sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 2px;
}

.sidebar-sub {
  font-size: 10.5px;
  color: var(--muted-list);
  letter-spacing: .8px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.filter-section {
  margin-bottom: 22px;
}

.filter-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted-list);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 10px;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.radio-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--border-list);
  border-radius: 8px;
  cursor: pointer;
  font-size: 13.5px;
  transition: border-color .2s, background .2s;
}

.radio-item.active {
  border-color: var(--red-list);
  background: var(--red-light-list);
}

.radio-item input {
  accent-color: var(--red-list);
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-list);
  border-radius: 8px;
  font-size: 13.5px;
  font-family: inherit;
  appearance: none;
  background: #fafafa;
  color: var(--text-list);
  cursor: pointer;
}

.select-wrap::after {
  content: '▾';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-list);
  pointer-events: none;
  font-size: 13px;
}

/* Desktop price range */
.price-range-wrap {
  padding: 4px 0;
}

.price-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted-list);
  margin-bottom: 6px;
}

.price-range-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--red-list);
  margin-bottom: 10px;
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    to right,
    var(--red-list) 0%,
    var(--red-list) var(--val, 60%),
    #e2ddd8 var(--val, 60%),
    #e2ddd8 100%
  );
  border-radius: 4px;
  outline: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: var(--red-list);
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 1px 6px rgba(200, 16, 46, .4);
}

.btn-apply {
  width: 100%;
  background: var(--red-list);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 13px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 4px;
  transition: background .2s;
  font-family: inherit;
  letter-spacing: .2px;
}

.btn-apply:hover {
  background: #a00d24;
}

/* Toolbar */
.toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.view-btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border-list);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--muted-list);
  transition: all .2s;
}

.view-btn.active {
  border-color: var(--navy-list);
  background: var(--navy-list);
  color: #fff;
}

.results-count {
  margin-left: auto;
  font-size: 12.5px;
  color: var(--muted-list);
  font-weight: 500;
}

.mobile-filter-btn {
  display: none;
}

/* Cards */
.cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cards.grid-view .property-card  {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.property-card {
  background: var(--card-list);
  border-radius: 12px;
  border: 1px solid var(--border-list);
  overflow: hidden;
  display: grid;
  grid-template-columns: 220px 1fr;
  transition: box-shadow .25s, transform .2s;
  animation: fadeUp .4s ease both;
}

.cards.grid-view .property-card  {
  grid-template-columns: 1fr;
}

.property-card:hover {
  box-shadow: 0 6px 28px rgba(0, 0, 0, .1);
  transform: translateY(-2px);
}

.property-card:nth-child(2){
  animation-delay: .08s;
}

.property-card:nth-child(3){
  animation-delay: .16s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-img {
  position: relative;
  overflow: hidden;
  height: 229px !important;
}

.cards.grid-view .card-img {
  height: 160px;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.property-card:hover  .card-img img {
  transform: scale(1.04);
}



.card-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.tag-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* reuse .tag from above */
.tag-type-navy {
  background: var(--navy-list);
  color: #fff;
}

.card-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-list);
}

.cards.grid-view .card-title {
  font-size: 12px;
}

.card-loc {
  font-size: 12px;
  color: var(--muted-list);
  display: flex;
  align-items: center;
  gap: 5px;
}

.card-meta {
  display: flex;
  gap: 20px;
  margin-top: 2px;
  flex-wrap: wrap;
}

.meta-label {
  font-size: 9.5px;
  color: var(--muted-list);
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 600;
}

.meta-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--red-list);
  margin-top: 2px;
}

.meta-value.area {
  font-size: 13.5px;
  color: var(--text-list);
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  gap: 8px;
}

.btn-deal {
  background: var(--navy-list);
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 9px 16px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s;
  flex: 1;
}

.btn-deal:hover {
  background: #07122a;
}

.btn-share {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-list);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
  color: var(--muted-list);
  transition: all .2s;
}

.btn-share:hover {
  border-color: var(--red-list);
  color: var(--red-list);
}

/* Filter overlay & bottom sheet */
.filter-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 300;
  opacity: 0;
  transition: opacity .3s;
}

.filter-overlay.open {
  opacity: 1;
}

.filter-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 20px 20px 0 0;
  z-index: 400;
  padding: 0 0 env(safe-area-inset-bottom);
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.32, 1, .56, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.filter-sheet.open {
  transform: translateY(0);
}

.sheet-handle {
  width: 40px;
  height: 4px;
  background: #ddd;
  border-radius: 10px;
  margin: 12px auto 0;
}

.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 12px;
  border-bottom: 1px solid var(--border-list);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}

.sheet-header h3 {
  font-family: 'Inter', 'Noto Sans Tamil', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-list);
}

.sheet-close {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-list);
  border-radius: 50%;
  background: #f5f5f5;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-list);
}

.sheet-body {
  padding: 10px 16px 18px;
}

.segment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f0ece8;
  border-radius: 10px;
  padding: 3px;
  margin-bottom: 4px;
}

.seg-btn {
  padding: 11px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  color: var(--muted-list);
  transition: all .2s;
}

.seg-btn.active {
  background: #fff;
  color: var(--red-list);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
}

.sheet-select-wrap {
  position: relative;
  margin-top: 6px;
}

.sheet-select-wrap:last-of-type {
  margin-bottom: 16px;
}

.sheet-select-wrap select {
  width: 100%;
  padding: 13px 42px 13px 16px;
  border: 1px solid var(--border-list);
  border-radius: 10px;
  font-size: 14.5px;
  font-family: inherit;
  appearance: none;
  background: #fafafa;
  color: var(--text-list);
  cursor: pointer;
}

.sheet-select-wrap::after {
  content: '▾';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-list);
  font-size: 15px;
  pointer-events: none;
}

.sheet-field-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted-list);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin: 18px 0 8px;
}

.price-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.price-display-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--red-list);
}

.price-display-label {
  font-size: 11px;
  color: var(--muted-list);
}

.range-track {
  position: relative;
  height: 6px;
  background: #e2ddd8;
  border-radius: 6px;
  margin: 8px 0 4px;
}

.range-fill {
  position: absolute;
  height: 100%;
  background: var(--red-list);
  border-radius: 6px;
  left: 0;
  width: var(--fill, 60%);
}

.mob-range {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: transparent;
  outline: none;
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
}

.mob-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  border: 3px solid var(--red-list);
  box-shadow: 0 2px 8px rgba(200, 16, 46, .35);
  margin-top: -8px;
}

.budget-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.budget-chip {
  padding: 8px 14px;
  border: 1px solid var(--border-list);
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  color: var(--text-list);
  transition: all .18s;
}

.budget-chip.active {
  border-color: var(--red-list);
  background: var(--red-light-list);
  color: var(--red-list);
}

.sheet-footer {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 10px;
  padding: 30px 20px 18px;
  position: sticky;
  bottom: 0;
  background: #fff;
}

.btn-reset {
  padding: 14px;
  border: 1px solid var(--border-list);
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  color: var(--text-list);
}

.btn-sheet-apply {
  padding: 14px;
  background: var(--red-list);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s;
}

.btn-sheet-apply:hover {
  background: #a00d24;
}

/* Filter chips */
.filter-chips {
  display: none;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.chip {
  background: var(--red-light-list);
  border: 1px solid var(--red-list);
  color: var(--red-list);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 11.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.chip-x {
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
}

/* Bottom nav */
.bottom-nav-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted-list);
  cursor: pointer;
  padding: 4px 12px;
  border-radius: 8px;
  border: none;
  background: none;
  font-family: inherit;
  letter-spacing: .3px;
  text-transform: uppercase;
  transition: color .2s;
}

.bnav-item svg {
  width: 20px;
  height: 20px;
}

.bnav-item.active {
  color: var(--red-list);
}

.bnav-item.filter-nav-btn {
  background: var(--red-list);
  color: #fff;
  border-radius: 12px;
  padding: 8px 22px;
  font-size: 12px;
  font-weight: 700;
  gap: 5px;
  flex-direction: row;
  text-transform: none;
  letter-spacing: 0;
}

/* Listing responsive */
@media (max-width: 768px) {
 

  .sidebar {
    display: none;
  }

  .mobile-filter-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #fff;
    border: 1px solid var(--border-list);
    border-radius: 7px;
    padding: 8px 13px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    color: var(--text-list);
  }

  .filter-chips {
    display: flex;
  }
}





/* text default */
.nav-link {
  color: #333;
  transition: color 0.2s ease;
}

/* icon always red */
.nav-icon {
  color: var(--red);
}

/* hover → text red */
.nav-link:hover {
  color: var(--red);
}