/* ==========================================================================
   BrandNewHomes.in - Search Page Stylesheet
   Blue & White Gradient Design, Kerala Motifs, Mobile Bottom Sheet UX
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Inter:wght@400;500;600;700;800&family=Manrope:wght@500;600;700;800;850&display=swap');

:root {
  font-family: 'DM Sans', 'Inter', 'Manrope', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  color: #020617;
  background: #F8FAFC;

  /* Color Tokens */
  --ink: #0A2540;
  --ink-light: #334E68;
  --forest: #0052D4;
  --forest-dark: #0A369D;
  --teal-light: #E8F1FC;
  --gold: #FFB300;
  --blue-600: #0061FF;
  --cyan-400: #60EFFF;
  --emerald: #059669;
  --line: #E2EAF4;

  /* Gradients */
  --cta-grad: linear-gradient(135deg, #0061FF 0%, #60EFFF 100%);
  --hero-grad: linear-gradient(135deg, #0A2540 0%, #0052D4 50%, #4364F7 100%);

  /* Shadows */
  --shadow-sm: 0 4px 14px rgba(10, 37, 64, 0.05);
  --shadow-md: 0 12px 32px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 82, 212, 0.15);
  --shadow-cta: 0 6px 20px rgba(0, 97, 255, 0.28);
}

* {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

svg:not([width]):not([class*="hero"]):not([class*="map"]) {
  width: 1.25rem;
  height: 1.25rem;
  max-width: 100%;
  flex-shrink: 0;
}

.bnh-squircle-icon svg,
.bnh-strip-pill svg {
  width: 16px !important;
  height: 16px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  flex-shrink: 0;
}

.bnh-dock-item svg,
.mobile-nav-item svg {
  width: 20px !important;
  height: 20px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  flex-shrink: 0;
}

.bnh-dock-post-circle svg,
.mobile-nav-post-circle svg {
  width: 22px !important;
  height: 22px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  flex-shrink: 0;
}

body {
  margin: 0;
  background: #F4F8FD;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 0 L24 12 L12 24 L0 12 Z' fill='none' stroke='%230052d4' stroke-width='1' stroke-opacity='0.03'/%3E%3C/svg%3E");
  background-attachment: fixed;
  color: #0A2540;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

a {
  color: inherit;
  text-decoration: none;
}

button, select, input {
  font: inherit;
}

button {
  cursor: pointer;
}

/* ==========================================================================
   Search Header & Brand
   ========================================================================== */
.site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 14px rgba(10, 37, 64, 0.04);
}

.site-header .header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 10px max(4vw, 24px);
  max-width: 1320px;
  margin: 0 auto;
}

.brand-logo {
  font: 850 20px 'Manrope', Arial, sans-serif;
  color: #0A2540;
  text-decoration: none;
  letter-spacing: -0.03em;
}

.brand-logo .logo-accent {
  color: #0052D4;
}

.brand-logo .logo-tld {
  color: #4364F7;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13.5px;
  font-weight: 700;
}

.desktop-nav a {
  color: #334155;
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.desktop-nav a:hover, .desktop-nav a.active {
  color: #0052D4;
  background: #EFF6FF;
}

.nav-btn-outline {
  border: 1px solid #CBD5E1;
  color: #0F172A !important;
}

.nav-btn-solid {
  background: #0F172A !important;
  color: #FFFFFF !important;
}

/* OLX Signature Royal Blue Gradient Button */
.bnh-btn-post.bnh-btn-post-olx {
  background: linear-gradient(135deg, #0B3EA8 0%, #1463FF 55%, #42C6FF 100%);
  color: #FFFFFF !important;
  border-radius: 9999px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(20, 99, 255, 0.3);
  border: none;
  padding: 8px 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bnh-btn-post.bnh-btn-post-olx:hover {
  background: linear-gradient(135deg, #093288 0%, #1052D4 55%, #30B4FF 100%);
  box-shadow: 0 6px 18px rgba(20, 99, 255, 0.45);
  transform: translateY(-1px);
}

.bnh-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.bnh-btn-ghost:hover {
  color: #0052D4;
  background: #EFF6FF;
}

.bnh-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* OLX Location Selector Pill */
.bnh-location-selector-wrap {
  position: relative;
  display: inline-block;
}

.bnh-location-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  height: 40px;
  background: #F0F5FA;
  border: 1.5px solid #D8E4F2;
  border-radius: 9999px;
  color: #0A2540;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.bnh-location-pill:hover,
.bnh-location-pill.is-open {
  background: #FFFFFF;
  border-color: #1463FF;
  box-shadow: 0 4px 12px rgba(20, 99, 255, 0.12);
}

.bnh-loc-chevron {
  font-size: 11px;
  color: #1463FF;
  transition: transform 0.2s ease;
}

.bnh-location-pill.is-open .bnh-loc-chevron {
  transform: rotate(180deg);
}

.bnh-location-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 230px;
  background: #FFFFFF;
  border: 1px solid #D8E4F2;
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(10, 37, 64, 0.14);
  padding: 8px;
  z-index: 1050;
  display: none;
  flex-direction: column;
  gap: 3px;
}

.bnh-location-dropdown.is-open {
  display: flex;
}

.bnh-location-dropdown[hidden] {
  display: none !important;
}

.bnh-loc-option {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #0A2540;
  border-radius: 8px;
  text-decoration: none;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.bnh-loc-option:hover,
.bnh-loc-option.active {
  background: #EEF6FF;
  color: #1463FF;
}

/* Horizontal Scrollable Category & Quick-Filter Strip */
.bnh-category-strip-ribbon {
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  position: sticky;
  top: 72px;
  z-index: 45;
  box-shadow: 0 2px 6px rgba(10, 37, 64, 0.02);
}

.bnh-category-strip-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 max(4vw, 24px);
}

.bnh-category-strip-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.bnh-category-strip-inner::-webkit-scrollbar {
  display: none;
}

.bnh-strip-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.bnh-strip-pill:hover,
.bnh-strip-pill.active {
  background: #EEF6FF;
  border-color: #93C5FD;
  color: #1463FF;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(20, 99, 255, 0.08);
}

/* Mobile Bottom Dock (Unified 5-Tab Bar) */
.bnh-bottom-dock {
  display: none;
}

@media (max-width: 768px) {
  .bnh-bottom-dock {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid #D8E4F2;
    z-index: 1000;
    box-shadow: 0 -4px 16px rgba(10, 37, 64, 0.08);
  }

  .bnh-dock-nav {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 0 8px env(safe-area-inset-bottom, 0px);
  }

  .bnh-dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #64748B;
    font-size: 11px;
    font-weight: 600;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex: 1;
    min-height: 44px;
    transition: color 0.15s ease;
  }

  .bnh-dock-item svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    margin-bottom: 2px;
  }

  .bnh-dock-item.active {
    color: #1463FF;
  }

  .bnh-dock-item.bnh-dock-post {
    position: relative;
    top: -12px;
  }

  .bnh-dock-post-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0B3EA8 0%, #1463FF 55%, #42C6FF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(20, 99, 255, 0.4);
    margin-bottom: 2px;
    transition: transform 0.15s ease;
  }

  .bnh-dock-post-circle svg {
    width: 24px;
    height: 24px;
    stroke: #FFFFFF;
    stroke-width: 2.5;
  }

  .bnh-dock-item.bnh-dock-post span {
    color: #0A2540;
    font-weight: 700;
  }

  body {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

.search-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 10px max(4vw, 24px);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 14px rgba(10, 37, 64, 0.04);
}

.search-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 850 20px 'Manrope', Arial, sans-serif;
  letter-spacing: -0.04em;
  color: #0A2540;
}

.search-brand small {
  display: block;
  color: #5A6E85;
  font: 600 10px 'DM Sans', Arial, sans-serif;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--hero-grad);
  color: #FFFFFF;
  border-radius: 12px;
  font-size: 20px;
  box-shadow: var(--shadow-sm);
}

.search-header nav {
  display: flex;
  gap: 20px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-light);
}

.search-header nav a {
  padding: 6px 14px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.search-header nav a:hover, .search-header nav a[aria-current="page"] {
  color: #0052D4;
  background: #E8F1FC;
}

.back-link:hover, .clear-link:hover {
  color: #0052D4;
}

.post-link, .filters button.primary-apply-btn {
  background: var(--cta-grad);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF !important;
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 750;
  font-size: 13px;
  box-shadow: var(--shadow-cta);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.post-link:hover, .filters button.primary-apply-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 97, 255, 0.4);
}

/* ==========================================================================
   Main Search Container & Intro
   ========================================================================== */
main {
  max-width: 1400px;
  margin: auto;
  padding: 32px 4vw 90px;
}

.intro {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  margin-bottom: 28px;
}

.eyebrow {
  color: #0061FF;
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 800;
  text-transform: uppercase;
}

.intro h1 {
  font: 850 clamp(28px, 3.5vw, 44px) / 1.15 'Manrope', Arial, sans-serif;
  letter-spacing: -0.04em;
  color: #0A2540;
  margin: 6px 0 0;
}

.intro p {
  font-size: 14px;
  color: #5A6E85;
  margin: 6px 0 0;
}

.back-link {
  font-size: 12px;
  font-weight: 700;
  color: #0052D4;
  white-space: nowrap;
  padding: 6px 14px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.back-link:hover {
  background: #E8F1FC;
  transform: translateY(-1px);
}

/* ==========================================================================
   Mobile Filter Trigger Bar
   ========================================================================== */
.mobile-filter-bar {
  display: none;
  margin-bottom: 20px;
}

.mobile-filter-btn {
  width: 100%;
  min-height: 50px;
  border: 1.5px solid rgba(0, 97, 255, 0.2);
  background: #FFFFFF;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  font-weight: 750;
  font-size: 13.5px;
  color: #0A2540;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.mobile-filter-btn:active {
  transform: scale(0.98);
}

.filter-count-badge {
  background: var(--forest);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 99px;
}

.filters-head-mobile {
  display: none;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.filters-head-mobile h2 {
  font: 850 20px 'Manrope', sans-serif;
  color: #0A2540;
  margin: 0;
}

.filters-close-btn {
  background: #E8F1FC;
  border: 0;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-size: 16px;
  color: #0A2540;
  cursor: pointer;
}

/* ==========================================================================
   Search Layout: Sidebar & Content
   ========================================================================== */
.search-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.filters {
  background: #FFFFFF;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.filters-head-desktop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1.5px solid var(--line);
  margin-bottom: 2px;
}

.filters-head-desktop strong {
  font: 850 16px 'Manrope', Arial, sans-serif;
  color: #0A2540;
  letter-spacing: -0.02em;
}

.filters form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
}

.filters label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5A6E85;
}

.filters input,
.filters select {
  width: 100%;
  height: 46px;
  min-height: 46px;
  padding: 0 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #F4F8FD;
  color: #0A2540;
  font: 600 13.5px 'Manrope', 'DM Sans', Arial, sans-serif;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.filters input:focus,
.filters select:focus {
  border-color: #0061FF;
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(0, 97, 255, 0.12);
  outline: none;
}

#applyFiltersBtn {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  border: 0;
  background: var(--cta-grad);
  color: #FFFFFF !important;
  font: 850 14px 'Manrope', Arial, sans-serif;
  cursor: pointer;
  box-shadow: var(--shadow-cta);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}

#applyFiltersBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 97, 255, 0.4);
}

.filters .clear-link {
  display: block;
  text-align: center;
  color: #0052D4;
  font: 700 12.5px 'DM Sans', sans-serif;
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.filters .clear-link:hover {
  color: #0061FF;
  text-decoration: underline;
}

/* ==========================================================================
   Breadcrumb Navigation
   ========================================================================== */
.search-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #64748B;
  margin-bottom: 14px;
}

.search-breadcrumbs a {
  color: #0052D4;
  transition: color 0.15s;
}

.search-breadcrumbs a:hover {
  color: #0061FF;
  text-decoration: underline;
}

.breadcrumb-sep {
  color: #CBD5E1;
  font-size: 11px;
}

.breadcrumb-current {
  color: #0A2540;
  font-weight: 700;
}

/* ==========================================================================
   Quick Filter Chips Bar (Horizontal Scrollable 1-Click Search)
   ========================================================================== */
.quick-filter-chips-container {
  margin: 0 0 24px 0;
  overflow: hidden;
}

.quick-filter-chips-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.quick-filter-chips-scroll::-webkit-scrollbar {
  height: 4px;
}

.quick-filter-chips-scroll::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 999px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid #E2E8F0;
  background: #FFFFFF;
  color: #334E68;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(10, 37, 64, 0.03);
}

.filter-chip:hover {
  border-color: #0061FF;
  color: #0052D4;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 97, 255, 0.12);
}

.filter-chip.active {
  background: #0052D4;
  border-color: #0052D4;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 82, 212, 0.28);
}

/* ==========================================================================
   Results Toolbar & Listings Grid
   ========================================================================== */
.results-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
}

.results-head h2 {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 800;
  color: #0A2540;
  margin: 0 0 4px 0;
  letter-spacing: -0.02em;
}

.results-head p {
  font-size: 13.5px;
  color: #64748B;
  margin: 0;
}

.results-badges-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.zero-brok-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ECFDF5;
  color: #059669;
  font-size: 11.5px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(5, 150, 105, 0.2);
}

/* ==========================================================================
   Tier-1 PropTech Design Tokens & Listing Card Component
   ========================================================================== */
:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;

  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;

  --amber-600: #d97706;
  --amber-700: #b45309;
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .results-grid {
    grid-template-columns: 1fr;
  }
}

/* Tier-1 Production Listing Card (home-card & result-card) */
.home-card, .result-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(2, 6, 23, 0.04);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.home-card:hover, .result-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(2, 6, 23, 0.10);
  border-color: #CBD5E1;
}

/* Shimmer Skeleton Animation for Zero CLS */
@keyframes bnhShimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Carousel Container & Slides */
.card-carousel-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 210px;
  max-height: 240px;
  overflow: hidden;
  background: linear-gradient(90deg, #F1F5F9 0%, #E2E8F0 50%, #F1F5F9 100%);
  background-size: 200% 100%;
  animation: bnhShimmer 1.8s infinite ease-in-out;
}

.card-carousel {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.card-carousel::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
  display: block;
  opacity: 0.9;
  transition: opacity 0.25s ease-in-out;
}

.carousel-slide.is-loaded {
  opacity: 1;
}

/* Carousel Prev / Next Hover Controls */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(2, 6, 23, 0.65);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  border: 0;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  z-index: 6;
  opacity: 0;
  transition: opacity 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
}

.carousel-nav-btn:hover {
  background: rgba(2, 6, 23, 0.9);
  transform: translateY(-50%) scale(1.1);
}

.carousel-nav-btn.prev {
  left: 10px;
}

.carousel-nav-btn.next {
  right: 10px;
}

.home-card:hover .carousel-nav-btn,
.result-card:hover .carousel-nav-btn {
  opacity: 1;
}

@media (max-width: 768px) {
  .carousel-nav-btn {
    opacity: 0.85;
  }
}

/* Top Overlays */
.card-badges-left {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: none;
}

.badge-neutral-pill, .badge-emerald-pill {
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.badge-promoted-pill {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 58, 138, 0.9) 100%);
  backdrop-filter: blur(8px);
  color: #60EFFF;
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(96, 239, 255, 0.35);
}

.card-price-row {
  margin: 0 0 2px 0;
  display: block;
}

.card-specs-row {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  margin: 4px 0 10px 0;
  letter-spacing: -0.01em;
}

.card-badges-right {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-photo-count {
  background: rgba(2, 6, 23, 0.75);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 750;
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  pointer-events: none;
}

.card-fav-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: grid;
  place-items: center;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  color: #020617;
}

.card-fav-btn:hover {
  transform: scale(1.12);
  background: #FFFFFF;
}

.card-fav-btn.is-saved {
  background: #FFF1F2;
  border-color: #FDA4AF;
  color: #E11D48;
}

/* Card Body Content */
.home-card-body, .card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
  background: #FFFFFF;
}

/* Financials & Metrics Row */
.card-financials-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.card-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.card-price-primary, .home-card-body .price, .card-price {
  font: 850 22px / 1 'Manrope', 'Inter', sans-serif;
  color: #020617;
  letter-spacing: -0.03em;
  margin: 0;
}

.card-price-sqft {
  font-size: 12px;
  font-weight: 600;
  color: #64748B;
}

.card-emi-badge, .card-emi-tag {
  font-size: 11.5px;
  font-weight: 750;
  color: #059669;
  background: #ECFDF5;
  border: 1px solid #D1FAE5;
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.card-emi-badge:hover {
  background: #D1FAE5;
}

/* Card Title & Location */
.home-card-body h3, .card-title {
  font: 700 16px / 1.35 'Manrope', 'Inter', sans-serif;
  letter-spacing: -0.015em;
  color: #020617;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-location, .card-location {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* 3-Column Core Specification Row */
.card-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 8px 10px;
  margin: 2px 0;
  text-align: center;
}

.spec-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 12px;
  font-weight: 700;
  color: #0F172A;
}

.spec-col small {
  font-size: 10px;
  font-weight: 600;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Direct Action Bar */
.card-actions-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}

.card-btn-primary, .card-action-btn {
  background: #020617;
  color: #FFFFFF !important;
  border: 1px solid #020617;
  font-weight: 750;
  font-size: 12.5px;
  border-radius: 10px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  transition: background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(2, 6, 23, 0.15);
}

.card-btn-primary:hover, .card-action-btn:hover {
  background: #0F172A;
  transform: translateY(-1px);
}

.card-btn-wa {
  background: #059669;
  color: #FFFFFF !important;
  border: 0;
  font-weight: 750;
  font-size: 12.5px;
  border-radius: 10px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  transition: background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.25);
}

.card-btn-wa:hover {
  background: #047857;
  transform: translateY(-1px);
}

/* Empty State / Error Message */
.empty-search-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 0;
}

.empty-icon {
  font-size: 44px;
  margin-bottom: 12px;
}

.empty-title {
  font: 850 22px / 1.25 'Manrope', sans-serif;
  color: #0A2540;
  margin-bottom: 8px;
  display: block;
}

.empty-desc {
  color: #64748B;
  font-size: 14.5px;
  max-width: 520px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.empty-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.message {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 24px;
  padding: 44px 32px;
  text-align: center;
  box-shadow: 0 6px 24px rgba(10, 37, 64, 0.04);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

.pagination a {
  padding: 8px 18px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1.5px solid var(--line);
  color: #0052D4;
  font-weight: 750;
  font-size: 13px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.pagination a:hover {
  background: #0052D4;
  color: #FFFFFF;
  border-color: #0052D4;
}

.pagination span {
  font-size: 13px;
  font-weight: 700;
  color: #5A6E85;
}

.results-foot {
  margin-top: 24px;
  font-size: 12px;
  color: #8295AB;
  text-align: center;
  line-height: 1.5;
}

/* ==========================================================================
   Omnibox Search Bar & Real-Time Auto-Suggest Dropdown
   ========================================================================== */
.omnibox-search-container {
  position: relative;
  margin-bottom: 20px;
  width: 100%;
}

.omnibox-search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 16px;
  padding: 0 16px;
  min-height: 56px;
  box-shadow: 0 4px 20px rgba(10, 37, 64, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.omnibox-search-box:focus-within {
  border-color: #0061FF;
  box-shadow: 0 0 0 4px rgba(0, 97, 255, 0.12), 0 8px 24px rgba(10, 37, 64, 0.08);
}

.omnibox-icon {
  color: #0061FF;
  display: flex;
  align-items: center;
}

.omnibox-input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  font: 600 15px 'DM Sans', 'Manrope', sans-serif;
  color: #0A2540;
  min-height: 48px;
}

.omnibox-input::placeholder {
  color: #94A3B8;
  font-weight: 500;
}

.omnibox-clear-btn {
  background: #F1F5F9;
  border: 0;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: #64748B;
  cursor: pointer;
  transition: all 0.15s ease;
}

.omnibox-clear-btn:hover {
  background: #E2E8F0;
  color: #0F172A;
}

/* Auto-Suggest Dropdown */
.autosuggest-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(10, 37, 64, 0.14);
  z-index: 100;
  max-height: 380px;
  overflow-y: auto;
  padding: 8px;
}

.suggest-group-header {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748B;
  padding: 8px 12px 4px;
}

.suggest-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s ease;
  font-size: 13.5px;
  font-weight: 600;
  color: #0F172A;
}

.suggest-item:hover, .suggest-item.is-active {
  background: #EFF6FF;
  color: #0052D4;
}

.suggest-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.suggest-item-icon {
  font-size: 16px;
}

.suggest-item-badge {
  font-size: 10.5px;
  font-weight: 750;
  padding: 3px 8px;
  border-radius: 999px;
  background: #F1F5F9;
  color: #475569;
}

.suggest-item:hover .suggest-item-badge,
.suggest-item.is-active .suggest-item-badge {
  background: #DBEAFE;
  color: #0052D4;
}

/* ==========================================================================
   Faceted Filters: BHK Chips, Dual Range Slider, Quick Toggles
   ========================================================================== */
.filter-facet-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.filter-facet-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5A6E85;
}

/* BHK Multi-Select Chips */
.bhk-chips-group {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.bhk-chip {
  background: #F4F8FD;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  padding: 9px 4px;
  font-size: 12px;
  font-weight: 750;
  color: #334E68;
  cursor: pointer;
  text-align: center;
  transition: all 0.18s ease;
}

.bhk-chip:hover {
  border-color: #0061FF;
  color: #0052D4;
}

.bhk-chip.active {
  background: #0052D4;
  border-color: #0052D4;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 82, 212, 0.25);
}

/* Dual Range Budget Slider */
.dual-range-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.range-display-text {
  font-size: 12.5px;
  font-weight: 800;
  color: #0052D4;
  background: #EFF6FF;
  padding: 3px 8px;
  border-radius: 6px;
}

.dual-range-slider-wrap {
  position: relative;
  height: 28px;
  margin: 8px 0 2px;
  display: flex;
  align-items: center;
}

.dual-range-track-bg {
  position: absolute;
  left: 0;
  right: 0;
  height: 6px;
  background: #E2E8F0;
  border-radius: 999px;
  z-index: 1;
}

.dual-range-highlight {
  position: absolute;
  height: 6px;
  background: linear-gradient(90deg, #0052D4, #0061FF);
  border-radius: 999px;
  z-index: 2;
  left: 0%;
  right: 0%;
}

.dual-range-slider-wrap input[type="range"] {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 28px;
  margin: 0;
  padding: 0;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  z-index: 3;
}

.dual-range-slider-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2.5px solid #0052D4;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dual-range-slider-wrap input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2.5px solid #0052D4;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  pointer-events: auto;
}

.dual-range-slider-wrap input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 0 5px rgba(0, 97, 255, 0.18);
}

.range-markers {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  font-weight: 700;
  color: #94A3B8;
}

/* Quick Filter Toggles */
.quick-toggle-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.quick-toggle-pill {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11.5px;
  font-weight: 750;
  color: #475569;
  cursor: pointer;
  transition: all 0.18s ease;
}

.quick-toggle-pill:hover {
  border-color: #0061FF;
  color: #0052D4;
}

.quick-toggle-pill.active {
  background: #ECFDF5;
  border-color: #059669;
  color: #059669;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.15);
}

/* ==========================================================================
   Desktop 60/40 Split Layout & Sticky Leaflet Map
   ========================================================================== */
.search-split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 10px;
}

.search-left-pane {
  min-width: 0;
}

.search-map-pane {
  min-width: 0;
  position: sticky;
  top: 90px;
  height: calc(100vh - 110px);
  min-height: 520px;
}

.map-sticky-wrapper {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(10, 37, 64, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.map-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #F8FAFC;
  border-bottom: 1.5px solid #E2E8F0;
}

.map-header-title {
  font: 800 13px 'Manrope', sans-serif;
  color: #0A2540;
  display: flex;
  align-items: center;
  gap: 6px;
}

.map-reset-bounds-btn {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 750;
  color: #0052D4;
  cursor: pointer;
  transition: all 0.15s ease;
}

.map-reset-bounds-btn:hover {
  background: #EFF6FF;
  border-color: #0061FF;
}

.search-map-canvas {
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 400px;
  background: #E8F1FC;
  z-index: 10;
}

/* Custom Leaflet Map Price Pins */
.map-price-pin {
  background: #020617;
  color: #FFFFFF;
  font: 850 12px 'Manrope', sans-serif;
  padding: 5px 10px;
  border-radius: 999px;
  border: 2px solid #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.map-price-pin:hover, .map-price-pin.is-active {
  background: #0052D4;
  transform: scale(1.15) translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 82, 212, 0.5);
  z-index: 1000 !important;
}

/* Map Mini Card Popup */
.leaflet-popup-content-wrapper {
  border-radius: 16px !important;
  padding: 0 !important;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(10, 37, 64, 0.22) !important;
}

.leaflet-popup-content {
  margin: 0 !important;
  line-height: normal !important;
}

.map-popup-card {
  width: 240px;
  background: #FFFFFF;
  font-family: 'DM Sans', 'Manrope', sans-serif;
}

.map-popup-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

.map-popup-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.map-popup-price {
  font: 850 16px 'Manrope', sans-serif;
  color: #020617;
}

.map-popup-title {
  font: 700 13px 'Manrope', sans-serif;
  color: #0A2540;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.map-popup-loc {
  font-size: 11.5px;
  color: #64748B;
}

.map-popup-btn {
  margin-top: 6px;
  background: #0052D4;
  color: #FFFFFF !important;
  font-weight: 750;
  font-size: 11.5px;
  text-align: center;
  padding: 6px 10px;
  border-radius: 8px;
  text-decoration: none;
  display: block;
}

/* Listing Card Highlight Animation on Pin Click */
.home-card.is-map-highlighted {
  border-color: #0061FF !important;
  box-shadow: 0 0 0 4px rgba(0, 97, 255, 0.35), 0 16px 40px rgba(0, 97, 255, 0.2) !important;
  transform: translateY(-6px);
  animation: pulseGlow 1.8s infinite alternate ease-in-out;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 4px rgba(0, 97, 255, 0.35), 0 16px 40px rgba(0, 97, 255, 0.2); }
  100% { box-shadow: 0 0 0 8px rgba(0, 97, 255, 0.1), 0 20px 48px rgba(0, 97, 255, 0.25); }
}

/* Floating Mobile Map / List View Toggle Button */
.mobile-view-switch-btn {
  display: none;
  position: fixed;
  bottom: calc(72px + env(safe-area-inset-bottom, 12px));
  left: 50%;
  transform: translateX(-50%);
  background: #020617;
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  padding: 10px 20px;
  border-radius: 999px;
  font: 800 13px 'Manrope', sans-serif;
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.4);
  z-index: 450;
  cursor: pointer;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.mobile-view-switch-btn:active {
  transform: translateX(-50%) scale(0.95);
}

/* ==========================================================================
   Micro-Market SEO Discovery Footer Section
   ========================================================================== */
.kerala-seo-discovery {
  margin-top: 64px;
  padding: 48px 0 24px;
  border-top: 1.5px solid #E2E8F0;
}

.seo-discovery-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}

.seo-discovery-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: #0052D4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.seo-discovery-header h2 {
  font: 850 clamp(22px, 3vw, 30px) 'Manrope', sans-serif;
  color: #0A2540;
  margin: 0 0 8px;
}

.seo-discovery-header p {
  color: #64748B;
  font-size: 14px;
  margin: 0;
}

.seo-discovery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.seo-discovery-column h3 {
  font: 800 15px 'Manrope', sans-serif;
  color: #0A2540;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid #E2E8F0;
}

.seo-discovery-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.seo-discovery-column a {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  transition: color 0.15s ease;
}

.seo-discovery-column a:hover {
  color: #0052D4;
  text-decoration: underline;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1100px) {
  .search-split-layout {
    grid-template-columns: 1fr;
  }

  .search-map-pane {
    position: relative;
    top: 0;
    height: 480px;
    margin-top: 24px;
  }

  .seo-discovery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .search-layout {
    grid-template-columns: 1fr;
  }

  .filters-head-desktop {
    display: none;
  }

  .mobile-filter-bar {
    display: block;
  }

  .mobile-view-switch-btn {
    display: flex;
  }

  .filters {
    display: none;
    position: fixed;
    inset: auto 0 0 0;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 24px 24px 0 0;
    z-index: 500;
    box-shadow: 0 -10px 40px rgba(10, 37, 64, 0.25);
    padding: 24px 20px calc(24px + env(safe-area-inset-bottom, 16px));
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .filters.is-open {
    display: flex;
    flex-direction: column;
  }

  .filters-head-mobile {
    display: flex;
  }

  .filters-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 37, 64, 0.6);
    backdrop-filter: blur(4px);
    z-index: 490;
  }

  .filters-backdrop.is-open {
    display: block;
  }

  .results-grid {
    grid-template-columns: 1fr;
  }

  .seo-discovery-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile Map View Toggle */
  .search-split-layout.mobile-show-map .search-left-pane {
    display: none;
  }

  .search-split-layout.mobile-show-map .search-map-pane {
    display: block;
    height: calc(100vh - 160px);
    margin-top: 0;
  }

  .search-split-layout:not(.mobile-show-map) .search-map-pane {
    display: none;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

/* ==========================================================================
   Phase 2: Active Filter Chips Bar & Removable Controls
   ========================================================================== */
.active-filter-chips-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 12px 0 20px 0;
  padding: 10px 14px;
  background: #F1F6FD;
  border-radius: 12px;
  border: 1px solid #DCE6F5;
}

.active-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #0A2540;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px 4px 12px;
  border-radius: 20px;
  box-shadow: 0 1px 3px rgba(10, 37, 64, 0.05);
}

.chip-remove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: none;
  background: #E2E8F0;
  color: #475569;
  font-size: 11px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: all 0.15s ease;
}

.chip-remove-btn:hover {
  background: #DC2626;
  color: #FFFFFF;
}

.chip-clear-all {
  background: none;
  border: none;
  color: #DC2626;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 8px;
  text-decoration: underline;
  margin-left: auto;
}

.chip-clear-all:hover {
  color: #991B1B;
}

/* ==========================================================================
   Phase 2: Faceted Filter Chips (Type, Presets, Seller, Age)
   ========================================================================== */
.type-chips-group,
.seller-chips-group,
.age-chips-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.type-chip,
.seller-chip,
.age-chip {
  padding: 8px 10px;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  background: #FFFFFF;
  color: #334E68;
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.type-chip:hover,
.seller-chip:hover,
.age-chip:hover {
  border-color: #0052D4;
  color: #0052D4;
  background: #F8FAFC;
}

.type-chip.active,
.seller-chip.active,
.age-chip.active {
  background: #0052D4;
  border-color: #0052D4;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 82, 212, 0.25);
}

.budget-presets-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}

.budget-preset-chip {
  padding: 6px 4px;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  background: #FFFFFF;
  color: #475569;
  font-size: 11.5px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.budget-preset-chip:hover {
  border-color: #0052D4;
  color: #0052D4;
}

.budget-preset-chip.active {
  background: #0052D4;
  border-color: #0052D4;
  color: #FFFFFF;
}

/* Built-up Area Inputs */
.area-inputs-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.area-inputs-row input {
  flex: 1;
  padding: 8px 10px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  font-size: 13px;
  color: #0A2540;
  background: #FFFFFF;
}

.area-inputs-row input:focus {
  outline: none;
  border-color: #0052D4;
  box-shadow: 0 0 0 3px rgba(0, 82, 212, 0.12);
}

.area-sep {
  color: #94A3B8;
  font-weight: 700;
}

/* ==========================================================================
   Phase 2: Mobile Bottom Sheet Sticky Footer
   ========================================================================== */
.mobile-sheet-footer {
  display: none;
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-top: 1px solid #E2EAF4;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0));
  gap: 12px;
  z-index: 50;
  box-shadow: 0 -4px 16px rgba(10, 37, 64, 0.08);
}

@media (max-width: 900px) {
  .mobile-sheet-footer {
    display: flex;
  }
}

.sheet-clear-btn {
  flex: 1;
  padding: 12px 14px;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.sheet-clear-btn:hover {
  background: #F1F5F9;
  color: #0A2540;
}

.sheet-apply-btn {
  flex: 2;
  padding: 12px 16px;
  background: var(--cta-grad, linear-gradient(135deg, #0061FF 0%, #60EFFF 100%));
  border: none;
  border-radius: 10px;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 97, 255, 0.28);
  transition: all 0.15s ease;
}

.sheet-apply-btn:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

/* ==========================================================================
   Phase 2: Skeleton Loader for Zero-CLS Transitions
   ========================================================================== */
.skeleton-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.skeleton-card {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid #E2EAF4;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.05);
}

.skeleton-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(90deg, #F1F5F9 0%, #E2E8F0 50%, #F1F5F9 100%);
  background-size: 200% 100%;
  animation: bnhShimmer 1.5s infinite ease-in-out;
}

.skeleton-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skeleton-line {
  height: 14px;
  border-radius: 6px;
  background: linear-gradient(90deg, #F1F5F9 0%, #E2E8F0 50%, #F1F5F9 100%);
  background-size: 200% 100%;
  animation: bnhShimmer 1.5s infinite ease-in-out;
}

.skeleton-line.w-40 { width: 40%; }
.skeleton-line.w-75 { width: 75%; }
.skeleton-line.w-50 { width: 50%; }

/* ==========================================================================
   Phase 2: Location Autocomplete UI
   ========================================================================== */
.bnh-ac-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(10, 37, 64, 0.14);
  max-height: 380px;
  overflow-y: auto;
  z-index: 100;
  padding: 6px 0;
}

.bnh-ac-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.12s ease;
}

.bnh-ac-item:hover,
.bnh-ac-item.bnh-ac-item-active {
  background: #F0F7FF;
}

.bnh-ac-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bnh-ac-icon {
  font-size: 16px;
}

.bnh-ac-title {
  font-size: 14px;
  font-weight: 600;
  color: #0A2540;
}

.bnh-ac-sub {
  font-size: 12px;
  color: #64748B;
  margin-left: 4px;
}

.bnh-ac-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.bnh-ac-badge-locality {
  background: #E0F2FE;
  color: #0369A1;
}

.bnh-ac-badge-district {
  background: #EDE9FE;
  color: #6D28D9;
}

.bnh-ac-badge-popular {
  background: #FEF3C7;
  color: #92400E;
}

.bnh-ac-header {
  padding: 8px 16px 4px 16px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748B;
}

.bnh-ac-empty {
  padding: 14px 16px;
  color: #64748B;
  font-size: 13px;
  text-align: center;
}

/* ============================================================================
   Phase 13 Discovery Suite & Compare Architecture
   ============================================================================ */

/* Active Filter Chips Bar */
.active-filter-chips-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 16px 0 20px 0;
  padding: 12px 16px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
}

.active-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: #0A2540;
}

.chip-remove-btn {
  background: transparent;
  border: none;
  color: #64748B;
  cursor: pointer;
  padding: 0 2px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.chip-remove-btn:hover {
  color: #DC2626;
}

.chip-clear-all {
  background: transparent;
  border: none;
  color: #0052D4;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  padding: 4px 8px;
}

/* Save Search & View Saved Buttons */
.bnh-save-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #0A2540;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bnh-save-search-btn:hover {
  background: #E8F1FC;
  border-color: #0052D4;
  color: #0052D4;
}

.bnh-saved-searches-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
}

.bnh-saved-searches-pill:hover {
  background: #E2E8F0;
  color: #0A2540;
}

/* Facet Chips in Sidebar */
.status-chips-group, .furnishing-chips-group, .features-chips-group, .amenities-chips-group {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
}

.status-chip, .furnishing-chip, .feature-chip, .amenity-chip {
  padding: 6px 12px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.status-chip:hover, .furnishing-chip:hover, .feature-chip:hover, .amenity-chip:hover {
  border-color: #94A3B8;
  color: #0A2540;
}

.status-chip.active, .furnishing-chip.active, .feature-chip.active, .amenity-chip.active {
  background: #0052D4;
  color: #FFFFFF;
  border-color: #0052D4;
}

/* Property Card Badges & Compare Button */
.badge-type-pill {
  background: rgba(10, 37, 64, 0.85);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.badge-freshness-pill {
  background: rgba(16, 185, 129, 0.9);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 4px 8px;
  border-radius: 999px;
}

.card-compare-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 9px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(10, 37, 64, 0.15);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #0A2540;
  cursor: pointer;
  transition: all 0.15s ease;
}

.card-compare-btn:hover {
  background: #FFFFFF;
  border-color: #0052D4;
  color: #0052D4;
}

.card-compare-btn.is-compared {
  background: #0052D4;
  color: #FFFFFF;
  border-color: #0052D4;
}

/* Floating Comparison Drawer */
.bnh-compare-drawer {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  width: min(92vw, 840px);
  background: #0B192C;
  color: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(96, 239, 255, 0.25);
  padding: 12px 20px;
  animation: slideUpCompare 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpCompare {
  from { transform: translate(-50%, 40px); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}

.compare-drawer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.compare-drawer-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.compare-drawer-badge {
  background: #0052D4;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.compare-drawer-text {
  font-size: 13.5px;
  color: #E2E8F0;
}

.compare-drawer-thumbs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.compare-thumb-item {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.compare-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-thumb-remove {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  background: #DC2626;
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 10px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.compare-drawer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.compare-btn-clear {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 10px;
}

.compare-btn-clear:hover {
  color: #FFFFFF;
}

.compare-btn-open {
  background: linear-gradient(135deg, #0052D4, #0061FF);
  color: #FFFFFF;
  border: none;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.compare-btn-open:hover {
  transform: translateY(-1px);
}

/* Modals */
.bnh-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.65);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.bnh-modal-backdrop[hidden] {
  display: none !important;
}

.bnh-compare-modal-card {
  background: #FFFFFF;
  border-radius: 18px;
  width: min(96vw, 1100px);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
}

.bnh-dialog-card {
  background: #FFFFFF;
  border-radius: 18px;
  width: min(92vw, 560px);
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
  padding: 24px;
}

.compare-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #E2E8F0;
}

.compare-modal-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #0052D4;
  text-transform: uppercase;
}

.compare-modal-header h2 {
  font-size: 20px;
  color: #0A2540;
  margin: 4px 0 0 0;
}

.modal-close-icon {
  background: #F1F5F9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
}

.modal-close-icon:hover {
  background: #E2E8F0;
  color: #0A2540;
}

.compare-modal-body {
  padding: 24px;
  overflow-x: auto;
}

/* Comparison Table */
.compare-matrix-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 650px;
}

.compare-matrix-table th, .compare-matrix-table td {
  padding: 12px 16px;
  border: 1px solid #E2E8F0;
  text-align: left;
  vertical-align: top;
}

.compare-matrix-table th {
  background: #F8FAFC;
  width: 180px;
  font-size: 12.5px;
  font-weight: 700;
  color: #475569;
}

.compare-matrix-table td {
  font-size: 13.5px;
  color: #0A2540;
}

.compare-cell-card {
  text-align: center;
}

.compare-cell-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 8px;
}

.compare-cell-title {
  font-size: 14px;
  font-weight: 700;
  color: #0A2540;
  margin-bottom: 4px;
}

.compare-cell-price {
  font-size: 16px;
  font-weight: 800;
  color: #0052D4;
  margin-bottom: 8px;
}

.compare-cell-btn {
  display: block;
  background: #0052D4;
  color: #FFFFFF;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 12px;
  margin-top: 6px;
}

/* Empty Search Recovery Card */
.empty-recovery-container {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.empty-recovery-title {
  font-size: 22px;
  color: #0A2540;
  margin: 12px 0 8px 0;
  font-weight: 800;
}

.empty-recovery-desc {
  font-size: 14px;
  color: #64748B;
  margin: 0 0 20px 0;
  line-height: 1.5;
}

.empty-suggestions-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
  text-align: left;
}

.empty-suggestion-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.empty-suggestion-item:hover {
  background: #EFF6FF;
  border-color: #0052D4;
  transform: translateY(-1px);
}

.empty-suggestion-label {
  font-size: 13.5px;
  font-weight: 700;
  color: #0A2540;
  display: flex;
  align-items: center;
  gap: 8px;
}

.empty-suggestion-action {
  font-size: 12.5px;
  font-weight: 700;
  color: #0052D4;
}

.fallback-recommendations-header {
  margin: 36px 0 20px 0;
  text-align: left;
}

.fallback-recommendations-header h3 {
  font-size: 18px;
  color: #0A2540;
  margin: 0 0 4px 0;
}

.fallback-recommendations-header p {
  font-size: 13px;
  color: #64748B;
  margin: 0;
}

/* OLX One-Tap Recovery Card and Chips */
.empty-search-recovery-card,
.empty-recovery-container {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 36px 24px;
  text-align: center;
  max-width: 680px;
  margin: 32px auto;
  box-shadow: 0 10px 30px rgba(10, 37, 64, 0.05);
}

.empty-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.empty-recovery-title {
  font-size: 20px;
  font-weight: 800;
  color: #0A2540;
  margin: 0 0 8px 0;
}

.empty-recovery-subtitle,
.empty-recovery-desc {
  font-size: 14px;
  color: #64748B;
  margin: 0 0 24px 0;
  line-height: 1.5;
}

.recovery-section {
  margin: 20px 0;
  text-align: left;
}

.recovery-section-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #475569;
  margin-bottom: 10px;
}

.recovery-chips-box {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.recovery-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 600;
  color: #0A2540;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.recovery-chip:hover {
  background: #EFF6FF;
  border-color: #0052D4;
  color: #0052D4;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 82, 212, 0.12);
}

.recovery-chip.recovery-chip-primary {
  background: linear-gradient(135deg, #0052D4 0%, #4364F7 100%);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(0, 82, 212, 0.25);
}

.recovery-chip.recovery-chip-primary:hover {
  background: linear-gradient(135deg, #0046b8 0%, #3553db 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(0, 82, 212, 0.35);
}

/* OLX Top Instant Search Bar in Header */
.bnh-top-search-form {
  flex: 1 1 300px;
  max-width: 400px;
  margin: 0 16px;
}

.bnh-top-search-box {
  display: flex;
  align-items: center;
  position: relative;
  background: #FFFFFF;
  border: 1.5px solid #D8E4F2;
  border-radius: 9999px;
  height: 40px;
  padding: 0 10px 0 14px;
  transition: all 0.15s ease;
}

.bnh-top-search-box:focus-within {
  border-color: #0052D4;
  box-shadow: 0 0 0 3px rgba(0, 82, 212, 0.15);
}

.bnh-top-search-icon {
  stroke: #0052D4;
  color: #0052D4;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 8px;
}

.bnh-top-search-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 13px;
  font-weight: 500;
  color: #0A2540;
  padding: 0;
}

.bnh-top-search-input::placeholder {
  color: #64748B;
}

.bnh-top-search-clear {
  border: none;
  background: transparent;
  color: #94A3B8;
  font-size: 14px;
  cursor: pointer;
  padding: 4px;
  margin-right: 4px;
}

.bnh-top-search-submit {
  border: none;
  background: #0052D4;
  color: #FFFFFF;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.bnh-top-search-submit:hover {
  background: #003ea8;
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .bnh-top-search-form {
    display: none;
  }
}


