/* ==========================================================================
   BrandNewHomes.in - Tier-1 Luxury Real Estate Mobile Web App (mobile-app.css)
   Classy Blue Gradients, Kerala Architectural Motifs & Mobile-First UX
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Luxury Design System Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Royal Blue & Azure Gradient System */
  --bnh-blue-900: #071E3D;
  --bnh-blue-800: #0A369D;
  --bnh-blue-700: #0052D4;
  --bnh-blue-600: #2072EF;
  --bnh-blue-500: #4364F7;
  --bnh-cyan: #00C6FF;
  --bnh-azure: #60EFFF;
  
  /* Accent Emeralds & WhatsApp Greens */
  --bnh-emerald-deep: #065F46;
  --bnh-emerald: #059669;
  --bnh-emerald-light: #10B981;
  --bnh-wa-green: #25D366;
  --bnh-wa-dark: #128C7E;

  /* Surfaces & Ambient Backdrops */
  --bnh-bg: #FFFFFF;
  --bnh-bg-mist: #F5F9FF;
  --bnh-surface: #FFFFFF;
  --bnh-border-highlight: rgba(0, 102, 255, 0.1);
  --bnh-border-subtle: rgba(10, 37, 64, 0.08);

  /* Typography Colors */
  --bnh-text-primary: #0A2540;
  --bnh-text-secondary: #4A607A;
  --bnh-text-muted: #7E92A8;

  /* Signature Gradients */
  --bnh-grad-primary-cta: linear-gradient(135deg, #0052D4 0%, #2072EF 50%, #00C6FF 100%);
  --bnh-grad-royal-blue: linear-gradient(135deg, #0052D4 0%, #4364F7 100%);
  --bnh-grad-hero-dark: linear-gradient(145deg, #071E3D 0%, #0A369D 60%, #1F4068 100%);
  --bnh-grad-emerald-azure: linear-gradient(135deg, #00B09B 0%, #009FFD 100%);
  --bnh-grad-emerald-badge: linear-gradient(135deg, #059669 0%, #10B981 100%);
  --bnh-grad-azure-badge: linear-gradient(135deg, #0052D4 0%, #00C6FF 100%);
  --bnh-grad-photo-scrim: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.78) 100%);

  /* Elevation Shadows */
  --bnh-shadow-surface: 0 12px 32px rgba(10, 37, 64, 0.06);
  --bnh-shadow-header: 0 4px 20px rgba(10, 54, 157, 0.08);
  --bnh-shadow-cta: 0 6px 20px rgba(0, 82, 212, 0.32);
  --bnh-shadow-wa: 0 6px 20px rgba(0, 176, 155, 0.35);

  --bnh-dock-height: 64px;
}

/* --------------------------------------------------------------------------
   2. Dedicated Mobile App Container & Desktop Isolation Boundary
   -------------------------------------------------------------------------- */
#bnh-mobile-app-root {
  display: none !important;
}

#bnhPostPropertyModal {
  display: none !important;
}

#bnhFilterDrawerSheet {
  display: none !important;
}

#bnhFloatingFiltersBtn {
  display: none !important;
}

#bnhMapListToggleBtn {
  display: none !important;
}

#bnhMobileMapViewContainer {
  display: none !important;
}

#bnhMapPropertyPreviewCard {
  display: none !important;
}

/* Desktop viewports (> 768px): 100% frozen, desktop layout untouched */
@media (min-width: 769px) {
  #bnh-mobile-app-root {
    display: none !important;
  }
  #bnhPostPropertyModal {
    display: none !important;
  }
  #bnhFilterDrawerSheet {
    display: none !important;
  }
  #bnhFloatingFiltersBtn {
    display: none !important;
  }
  #bnhMapListToggleBtn {
    display: none !important;
  }
  #bnhMobileMapViewContainer {
    display: none !important;
  }
  #bnhMapPropertyPreviewCard {
    display: none !important;
  }
}

/* Mobile viewports (<= 768px): Dedicated Mobile App Layer */
@media (max-width: 768px) {
  #bnh-mobile-app-root {
    display: block !important;
    width: 100%;
    position: relative;
    z-index: 1000;
  }

  body[data-unified-dom="true"] #bnh-mobile-app-root,
  body.bnh-v2-unified #bnh-mobile-app-root {
    display: none !important;
  }

  /* Hide legacy desktop header & nav on mobile viewports only when not using unified DOM */
  body:not([data-unified-dom="true"]):not(.bnh-v2-unified) > .site-header,
  body:not([data-unified-dom="true"]):not(.bnh-v2-unified) > header.site-header,
  body:not([data-unified-dom="true"]):not(.bnh-v2-unified) > .search-header,
  body:not([data-unified-dom="true"]):not(.bnh-v2-unified) > header.search-header,
  body:not([data-unified-dom="true"]):not(.bnh-v2-unified) .mobile-bottom-nav {
    display: none !important;
  }

  body {
    padding-bottom: calc(var(--bnh-dock-height, 64px) + env(safe-area-inset-bottom, 16px) + 20px) !important;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    overflow-x: hidden;
    max-width: 100vw;
  }

  /* -------------------------------------------------------------------------
     Top App Header: Minimalist Logo + GPS City Selector + Notif Bell + Avatar
     ------------------------------------------------------------------------- */
  .bnh-mobile-app-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(10, 37, 64, 0.08);
    box-shadow: 0 2px 14px rgba(10, 37, 64, 0.04);
    padding: max(8px, env(safe-area-inset-top, 8px)) 12px 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .bnh-mobile-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
  }

  .bnh-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1;
  }

  .bnh-mobile-brand {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    flex-shrink: 0;
  }

  .bnh-mobile-brand svg,
  .bnh-mobile-brand .brand-mark-svg {
    width: 28px;
    height: 28px;
  }

  .bnh-mobile-brand-title {
    font-size: 15.5px;
    font-weight: 850;
    letter-spacing: -0.03em;
    color: var(--bnh-text-primary);
  }

  .bnh-mobile-brand-title strong {
    color: var(--bnh-blue-700);
  }

  /* GPS City Selector Trigger */
  .bnh-city-selector-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #F1F5F9;
    border: 1px solid rgba(10, 37, 64, 0.09);
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 11.5px;
    font-weight: 700;
    color: #0A2540;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
    max-width: 135px;
  }

  .bnh-city-selector-btn:active {
    background: #E2E8F0;
  }

  .bnh-city-pin-svg {
    color: var(--bnh-blue-700);
    flex-shrink: 0;
  }

  .bnh-city-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .bnh-city-caret-svg {
    color: #64748B;
    flex-shrink: 0;
  }

  .bnh-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }

  .bnh-header-icon-btn {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(10, 37, 64, 0.08);
    background: #FFFFFF;
    color: #1E293B;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease;
  }

  .bnh-header-icon-btn:active {
    background: #F8FAFC;
    transform: scale(0.96);
  }

  .bnh-notif-badge-dot {
    position: absolute;
    top: 6px;
    right: 7px;
    width: 8px;
    height: 8px;
    background: #EF4444;
    border: 1.5px solid #FFFFFF;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.6);
  }

  .bnh-header-avatar-btn {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .bnh-avatar-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0A2540 0%, #0052D4 100%);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 82, 212, 0.25);
    border: 1.5px solid #FFFFFF;
  }

  /* -------------------------------------------------------------------------
     Housing.com Sticky Search Card (Below Header)
     ------------------------------------------------------------------------- */
  .bnh-housing-search-card {
    position: sticky;
    top: 50px;
    z-index: 990;
    background: #FFFFFF;
    border-bottom: 1px solid rgba(10, 37, 64, 0.07);
    box-shadow: 0 4px 16px rgba(10, 37, 64, 0.05);
    padding: 10px 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 9px;
  }

  .bnh-search-box-container {
    position: relative;
    width: 100%;
  }

  .bnh-search-input-field {
    display: flex;
    align-items: center;
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    padding: 0 12px;
    height: 44px;
    gap: 10px;
    transition: all 0.2s ease;
  }

  .bnh-search-input-field:focus-within {
    background: #FFFFFF;
    border-color: var(--bnh-blue-600);
    box-shadow: 0 0 0 3px rgba(0, 82, 212, 0.12);
  }

  .bnh-search-icon {
    color: var(--bnh-blue-700);
    flex-shrink: 0;
  }

  .bnh-housing-search-input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    font-size: 13.5px;
    font-weight: 500;
    color: #0A2540;
    font-family: inherit;
  }

  .bnh-housing-search-input::placeholder {
    color: #94A3B8;
  }

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

  /* Autocomplete Dropdown */
  .bnh-autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(10, 37, 64, 0.14);
    border: 1px solid rgba(10, 37, 64, 0.08);
    max-height: 290px;
    overflow-y: auto;
    z-index: 1050;
    padding: 6px;
  }

  .bnh-autocomplete-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 9px;
    cursor: pointer;
    text-decoration: none;
    color: #0A2540;
    font-size: 13px;
    transition: background 0.15s ease;
  }

  .bnh-autocomplete-item:hover,
  .bnh-autocomplete-item:active {
    background: #F1F5F9;
  }

  .bnh-auto-item-main {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .bnh-auto-item-title {
    font-weight: 700;
    color: #0A2540;
  }

  .bnh-auto-item-desc {
    font-size: 11px;
    color: #64748B;
  }

  .bnh-auto-item-tag {
    font-size: 10px;
    font-weight: 750;
    padding: 3px 7px;
    border-radius: 999px;
    background: #E0E7FF;
    color: #4338CA;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .bnh-auto-item-tag.builder {
    background: #DCFCE7;
    color: #15803D;
  }

  .bnh-auto-item-tag.project {
    background: #FEF3C7;
    color: #B45309;
  }

  /* Quick BHK Selection Pills */
  .bnh-bhk-pills-scroll {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .bnh-bhk-pills-scroll::-webkit-scrollbar {
    display: none;
  }

  .bnh-bhk-pill {
    flex-shrink: 0;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid #E2E8F0;
    background: #FFFFFF;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
  }

  .bnh-bhk-pill:active {
    transform: scale(0.96);
  }

  .bnh-bhk-pill.is-active {
    background: #0A2540;
    color: #FFFFFF;
    border-color: #0A2540;
    box-shadow: 0 2px 8px rgba(10, 37, 64, 0.22);
  }

  /* Quick Filters Row: Budget & Construction Status */
  .bnh-quick-filters-row {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .bnh-quick-filters-row::-webkit-scrollbar {
    display: none;
  }

  .bnh-filter-trigger-chip,
  .bnh-budget-chip {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #BAE6FD;
    background: #F0F9FF;
    color: var(--bnh-blue-700);
    font-size: 11.5px;
    font-weight: 750;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
  }

  .bnh-filter-trigger-chip:active {
    transform: scale(0.96);
  }

  .bnh-status-filter-chip {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #E2E8F0;
    background: #FFFFFF;
    color: #475569;
    font-size: 11.5px;
    font-weight: 650;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
  }

  .bnh-status-filter-chip:active {
    transform: scale(0.96);
  }

  .bnh-status-filter-chip.is-active {
    background: #059669;
    color: #FFFFFF;
    border-color: #059669;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25);
  }

  /* -------------------------------------------------------------------------
     Sticky Bottom Navigation Bar (5 Tabs)
     Tab 1: Explore | Tab 2: Map Search | Tab 3: Post Free (+) | Tab 4: Shortlist | Tab 5: Account
     ------------------------------------------------------------------------- */
  .bnh-mobile-bottom-dock {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(10, 37, 64, 0.08);
    box-shadow: 0 -4px 20px rgba(10, 37, 64, 0.06);
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 6px);
    height: calc(var(--bnh-dock-height, 64px) + env(safe-area-inset-bottom, 0px));
  }

  .bnh-dock-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #64748B;
    font-size: 10px;
    font-weight: 600;
    gap: 3px;
    padding: 6px 8px;
    position: relative;
    transition: color 0.15s ease;
    min-width: 58px;
  }

  .bnh-dock-tab svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    transition: transform 0.15s ease, stroke 0.15s ease;
  }

  .bnh-dock-tab.is-active {
    color: var(--bnh-blue-700);
    font-weight: 800;
  }

  .bnh-dock-tab.is-active svg {
    stroke: var(--bnh-blue-700);
    transform: translateY(-1px);
  }

  /* Highlighted "+" Action Center */
  .bnh-dock-tab.dock-tab-post-center {
    color: var(--bnh-text-primary);
    font-weight: 750;
  }

  .dock-post-button-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0052D4 0%, #2072EF 100%);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 82, 212, 0.38);
    margin-top: -16px;
    border: 3px solid #FFFFFF;
    transition: transform 0.18s ease;
  }

  .dock-post-button-circle svg {
    width: 22px;
    height: 22px;
    stroke: #FFFFFF;
  }

  .bnh-dock-tab.dock-tab-post-center:active .dock-post-button-circle {
    transform: scale(0.92);
  }

  .dock-tab-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .dock-badge-counter {
    position: absolute;
    top: -4px;
    right: -8px;
    background: #EF4444;
    color: #FFFFFF;
    font-size: 9px;
    font-weight: 800;
    border-radius: 999px;
    padding: 1px 5px;
    min-width: 14px;
    text-align: center;
    line-height: 12px;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.4);
  }

  /* -------------------------------------------------------------------------
     Slide-up Bottom Sheet Modals System
     ------------------------------------------------------------------------- */
  .bnh-mobile-sheet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 37, 64, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

  .bnh-mobile-sheet-overlay.is-open,
  #bnhPostPropertyModal.is-open,
  #bnhFilterDrawerSheet.is-open {
    display: flex !important;
    opacity: 1;
    visibility: visible;
  }

  .bnh-mobile-sheet-content {
    background: #FFFFFF;
    width: 100%;
    border-radius: 20px 20px 0 0;
    padding: 16px 18px calc(env(safe-area-inset-bottom, 16px) + 20px);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.16);
    transform: translateY(100%);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 85vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .bnh-mobile-sheet-overlay.is-open .bnh-mobile-sheet-content {
    transform: translateY(0);
  }

  .bnh-sheet-drag-handle {
    width: 38px;
    height: 4px;
    background: #CBD5E1;
    border-radius: 999px;
    margin: 0 auto 4px;
  }

  .bnh-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .bnh-sheet-title {
    font-size: 16px;
    font-weight: 800;
    color: #0A2540;
    margin: 0;
  }

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

  /* GPS Detect Button */
  .bnh-gps-detect-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    border: 1.5px dashed var(--bnh-blue-600);
    border-radius: 12px;
    padding: 11px;
    font-size: 13px;
    font-weight: 750;
    color: var(--bnh-blue-700);
    cursor: pointer;
  }

  .bnh-gps-detect-btn:active {
    background: #BAE6FD;
  }

  /* Quick-Pick Cities Grid */
  .bnh-cities-picker-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
  }

  .bnh-city-pick-card {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 10px 12px;
    cursor: pointer;
    text-align: left;
    transition: all 0.15s ease;
  }

  .bnh-city-pick-card:active,
  .bnh-city-pick-card.selected {
    background: #EFF6FF;
    border-color: var(--bnh-blue-600);
  }

  .bnh-city-pick-name {
    font-size: 13px;
    font-weight: 750;
    color: #0A2540;
  }

  .bnh-city-pick-desc {
    font-size: 11px;
    color: #64748B;
  }

  /* Budget Slider Details */
  .bnh-budget-readout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #F8FAFC;
    border-radius: 12px;
    padding: 12px 16px;
    border: 1px solid #E2E8F0;
  }

  .bnh-budget-readout-val {
    font-size: 16px;
    font-weight: 850;
    color: var(--bnh-blue-700);
  }

  .bnh-budget-presets-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .bnh-budget-preset-pill {
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #E2E8F0;
    background: #FFFFFF;
    font-size: 11.5px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
  }

  .bnh-budget-preset-pill:active,
  .bnh-budget-preset-pill.active {
    background: #0A2540;
    color: #FFFFFF;
    border-color: #0A2540;
  }

  .bnh-slider-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 6px 0;
  }

  .bnh-slider-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .bnh-slider-row label {
    font-size: 11.5px;
    font-weight: 700;
    color: #475569;
  }

  .bnh-range-input {
    width: 100%;
    accent-color: var(--bnh-blue-700);
  }

  .bnh-budget-actions-row {
    display: flex;
    gap: 10px;
    margin-top: 6px;
  }

  .bnh-btn-sheet-reset {
    flex: 1;
    background: #F1F5F9;
    border: none;
    border-radius: 10px;
    padding: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
  }

  .bnh-btn-sheet-apply {
    flex: 2;
    background: var(--bnh-grad-royal-blue);
    border: none;
    border-radius: 10px;
    padding: 12px;
    font-size: 13px;
    font-weight: 800;
    color: #FFFFFF;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 82, 212, 0.3);
  }

  /* Support for global search pill compatibility */
  .top-global-search-pill {
    display: flex !important;
    width: 100% !important;
  }

  /* -------------------------------------------------------------------------
     Task 3: Dynamic Property Card & Infinite Scroll Listing Feed
     (Housing.com & 99acres Mobile Benchmark)
     ------------------------------------------------------------------------- */
  .bnh-mobile-feed-container {
    padding: 14px 12px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .bnh-feed-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px;
  }

  .bnh-feed-title {
    font-size: 17px;
    font-weight: 850;
    color: var(--bnh-text-primary);
    margin: 0;
    letter-spacing: -0.02em;
  }

  .bnh-feed-subtitle {
    font-size: 11.5px;
    color: #64748B;
    font-weight: 600;
    display: block;
    margin-top: 2px;
  }

  .bnh-feed-counter-pill {
    background: #EFF6FF;
    color: var(--bnh-blue-700);
    border: 1px solid rgba(0, 82, 212, 0.15);
    font-size: 11px;
    font-weight: 750;
    border-radius: 999px;
    padding: 4px 10px;
    white-space: nowrap;
  }

  .bnh-feed-cards-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  /* Shimmering Skeleton Cards (99acres Benchmark) */
  @keyframes bnhShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
  }

  .bnh-shimmer {
    background: linear-gradient(90deg, #F1F5F9 25%, #E2E8F0 50%, #F1F5F9 75%);
    background-size: 200% 100%;
    animation: bnhShimmer 1.5s infinite linear;
  }

  .bnh-skeleton-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(10, 37, 64, 0.05);
    display: flex;
    flex-direction: column;
  }

  .bnh-skeleton-media {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .bnh-skeleton-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .bnh-skeleton-pill {
    width: 140px;
    height: 20px;
    border-radius: 999px;
  }

  .bnh-skeleton-line {
    height: 14px;
    border-radius: 4px;
  }

  .bnh-skeleton-line.title-1 { width: 85%; height: 16px; }
  .bnh-skeleton-line.title-2 { width: 60%; }
  .bnh-skeleton-line.loc { width: 45%; height: 12px; }

  .bnh-skeleton-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 4px 0;
  }

  .bnh-skeleton-box {
    height: 44px;
    border-radius: 8px;
  }

  .bnh-skeleton-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2px;
  }

  .bnh-skeleton-price {
    width: 90px;
    height: 22px;
    border-radius: 6px;
  }

  .bnh-skeleton-emi {
    width: 110px;
    height: 18px;
    border-radius: 6px;
  }

  .bnh-skeleton-footer {
    display: flex;
    gap: 8px;
    margin-top: 4px;
  }

  .bnh-skeleton-btn {
    flex: 1;
    height: 40px;
    border-radius: 10px;
  }

  /* -------------------------------------------------------------------------
     Listing Card Specification: 16:9 Viewport, Specs Grid, Price & Sticky Action Footer
     ------------------------------------------------------------------------- */
  .bnh-property-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(10, 37, 64, 0.06);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  /* Media Viewport (Strict 16:9 Aspect Ratio) */
  .bnh-card-media-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0A2540;
  }

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

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

  .bnh-carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    scroll-snap-align: start;
    position: relative;
  }

  .bnh-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* Floor Plan & Video Tour Slide Enhancements */
  .bnh-slide-floorplan-preview {
    background: #F1F5F9;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .bnh-floorplan-schematic {
    width: 90%;
    height: 85%;
    background: #FFFFFF;
    border: 1.5px dashed var(--bnh-blue-600);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8px;
  }

  .bnh-floorplan-svg {
    width: 100%;
    height: 100%;
    max-height: 140px;
  }

  .bnh-floorplan-badge-overlay {
    position: absolute;
    bottom: 8px;
    background: rgba(10, 37, 64, 0.88);
    color: #FFFFFF;
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
  }

  .bnh-slide-video-preview {
    position: relative;
  }

  .bnh-video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.35);
  }

  .bnh-video-play-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  }

  .bnh-video-play-circle svg {
    margin-left: 3px;
    fill: #0052D4;
  }

  .bnh-video-chip-text {
    background: rgba(0, 0, 0, 0.75);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 750;
    padding: 3px 9px;
    border-radius: 999px;
  }

  /* Overlay Badges on Media Viewport */
  .bnh-card-badge-top-left {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    display: flex;
    gap: 6px;
  }

  .bnh-verification-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10.5px;
    font-weight: 800;
    padding: 4px 9px;
    border-radius: 999px;
    letter-spacing: 0.01em;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .bnh-tag-verified {
    background: rgba(5, 150, 105, 0.92);
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.35);
  }

  .bnh-tag-rera {
    background: rgba(10, 37, 64, 0.9);
    color: #60EFFF;
    border: 1px solid rgba(96, 239, 255, 0.3);
    box-shadow: 0 2px 8px rgba(10, 37, 64, 0.35);
  }

  .bnh-card-heart-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.15s ease;
  }

  .bnh-card-heart-btn:active {
    transform: scale(0.9);
  }

  .bnh-media-chips-bottom-left {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 5;
    display: flex;
    gap: 5px;
  }

  .bnh-media-preview-chip {
    background: rgba(10, 37, 64, 0.85);
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  .bnh-card-counter-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 5;
    background: rgba(0, 0, 0, 0.75);
    color: #FFFFFF;
    font-size: 10.5px;
    font-weight: 750;
    padding: 3px 8px;
    border-radius: 999px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  /* Card Body & Specs */
  .bnh-card-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .bnh-card-title {
    font-size: 16px;
    font-weight: 800;
    color: #0A2540;
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.015em;
  }

  /* Location with Distance Indicator */
  .bnh-card-location-row {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    font-weight: 600;
    color: #64748B;
  }

  .bnh-card-location-row svg {
    flex-shrink: 0;
    color: var(--bnh-blue-700);
  }

  /* Key Specs Micro-Grid (3-Column Layout) */
  .bnh-card-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 9px 6px;
    text-align: center;
  }

  .bnh-spec-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-right: 1px solid #E2E8F0;
  }

  .bnh-spec-col:last-child {
    border-right: none;
  }

  .bnh-spec-val {
    font-size: 12.5px;
    font-weight: 800;
    color: #0A2540;
  }

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

  /* Price Display & Estimated EMI */
  .bnh-card-financials-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-top: 2px;
  }

  .bnh-card-price-primary {
    font-size: 20px;
    font-weight: 850;
    color: #0A2540;
    letter-spacing: -0.02em;
  }

  .bnh-card-emi-tag {
    font-size: 11.5px;
    font-weight: 750;
    color: #0052D4;
    background: #EFF6FF;
    border: 1px solid rgba(0, 82, 212, 0.16);
    border-radius: 999px;
    padding: 3px 9px;
    text-decoration: none;
    white-space: nowrap;
  }

  /* Sticky Action Footer (WhatsApp CTA + Contact Agent/Owner) */
  .bnh-card-action-footer {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 4px;
  }

  .bnh-card-cta-wa {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #25D366;
    color: #FFFFFF !important;
    text-decoration: none;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.3);
    transition: transform 0.15s ease;
  }

  .bnh-card-cta-wa:active {
    transform: scale(0.97);
  }

  .bnh-card-cta-wa svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
  }

  .bnh-card-cta-contact {
    flex: 1.2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #0A2540;
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(10, 37, 64, 0.2);
    transition: background 0.15s ease, transform 0.15s ease;
  }

  .bnh-card-cta-contact:active {
    background: #0052D4;
    transform: scale(0.97);
  }

  .bnh-card-cta-contact svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
  }

  /* Feed Sentinel & End Notice */
  .bnh-feed-sentinel {
    height: 20px;
    width: 100%;
  }

  .bnh-feed-end-notice {
    text-align: center;
    padding: 18px 12px;
    background: #F8FAFC;
    border: 1px dashed #CBD5E1;
    border-radius: 12px;
    color: #64748B;
    font-size: 12.5px;
    font-weight: 600;
  }

  /* Contact Bottom-Sheet Preview Styles */
  .bnh-contact-prop-preview {
    display: flex;
    gap: 12px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 10px;
    align-items: center;
  }

  .bnh-contact-prop-thumb {
    width: 64px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
  }

  .bnh-contact-prop-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .bnh-contact-prop-title {
    font-size: 13px;
    font-weight: 800;
    color: #0A2540;
    line-height: 1.25;
  }

  .bnh-contact-prop-loc {
    font-size: 11px;
    color: #64748B;
  }

  .bnh-contact-prop-price {
    font-size: 13px;
    font-weight: 850;
    color: var(--bnh-blue-700);
  }

  .bnh-contact-prop-id {
    font-size: 10.5px;
    color: #94A3B8;
  }

  .bnh-contact-methods {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .bnh-contact-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #0A2540;
    color: #FFFFFF !important;
    text-decoration: none;
    padding: 12px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(10, 37, 64, 0.2);
  }

  .bnh-contact-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25D366;
    color: #FFFFFF !important;
    text-decoration: none;
    padding: 12px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
  }

  .bnh-quick-inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: 4px;
    background: #F8FAFC;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
  }

  .bnh-inquiry-input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #CBD5E1;
    font-size: 13px;
    box-sizing: border-box;
    font-family: inherit;
  }

  /* =========================================================================
     TASK 4: MOBILE "POST PROPERTY" WIZARD & MEDIA UPLOADER (Housing / 99acres)
     ========================================================================= */
  .bnh-wizard-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 37, 64, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
  }

  .bnh-wizard-modal-overlay.is-open {
    display: flex !important;
    opacity: 1;
  }

  .bnh-wizard-dialog {
    background: #FFFFFF;
    width: 100%;
    max-height: 94vh;
    border-radius: 20px 20px 0 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 -8px 36px rgba(10, 37, 64, 0.3);
    position: relative;
    transform: translateY(100%);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .bnh-wizard-modal-overlay.is-open .bnh-wizard-dialog,
  #bnhPostPropertyModal.is-open .bnh-wizard-dialog {
    transform: translateY(0) !important;
  }

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

  /* Stepper Header Bar */
  .bnh-wizard-header {
    padding: 12px 16px 8px;
    background: #FFFFFF;
    border-bottom: 1px solid #E2E8F0;
    position: sticky;
    top: 0;
    z-index: 10;
  }

  .bnh-wizard-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
  }

  .bnh-wizard-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .bnh-wizard-main-title {
    font-size: 16px;
    font-weight: 850;
    color: #0A2540;
    margin: 0;
    letter-spacing: -0.02em;
  }

  .bnh-wizard-sub-badge {
    font-size: 11px;
    font-weight: 700;
    color: #059669;
  }

  .bnh-wizard-close-btn {
    background: #F1F5F9;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748B;
    font-size: 15px;
    cursor: pointer;
    font-weight: 700;
  }

  .bnh-wizard-progress-track {
    width: 100%;
    height: 5px;
    background: #E2E8F0;
    border-radius: 999px;
    overflow: hidden;
    margin: 8px 0 6px;
  }

  .bnh-wizard-progress-bar {
    height: 100%;
    width: 20%;
    background: linear-gradient(90deg, #0052D4, #4364F7);
    border-radius: 999px;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* 5 Stepper Dots Row */
  .bnh-wizard-stepper-dots {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0 2px;
    gap: 4px;
  }

  .bnh-stepper-dot {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    background: none;
    border: none;
    padding: 2px;
    cursor: pointer;
  }

  .bnh-stepper-dot-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #F1F5F9;
    color: #64748B;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
  }

  .bnh-stepper-dot-label {
    font-size: 9.5px;
    font-weight: 700;
    color: #94A3B8;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }

  .bnh-stepper-dot.is-active .bnh-stepper-dot-num {
    background: #0052D4;
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0, 82, 212, 0.35);
  }

  .bnh-stepper-dot.is-active .bnh-stepper-dot-label {
    color: #0052D4;
    font-weight: 800;
  }

  .bnh-stepper-dot.is-completed .bnh-stepper-dot-num {
    background: #10B981;
    color: #FFFFFF;
  }

  .bnh-stepper-dot.is-completed .bnh-stepper-dot-label {
    color: #059669;
  }

  /* Wizard Scrollable Body */
  .bnh-wizard-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    -webkit-overflow-scrolling: touch;
  }

  .bnh-wizard-step-pane {
    display: none;
  }

  .bnh-wizard-step-pane.is-active {
    display: block;
    animation: bnhStepFade 0.2s ease;
  }

  @keyframes bnhStepFade {
    from {
      opacity: 0;
      transform: translateY(6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .bnh-wizard-step-heading {
    font-size: 15px;
    font-weight: 800;
    color: #0A2540;
    margin: 0 0 3px;
  }

  .bnh-wizard-step-desc {
    font-size: 12px;
    color: #64748B;
    margin: 0 0 16px;
    line-height: 1.4;
  }

  /* Form Elements */
  .bnh-form-group {
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .bnh-form-label {
    font-size: 12.5px;
    font-weight: 750;
    color: #1E293B;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .bnh-form-input,
  .bnh-form-select {
    width: 100%;
    padding: 11px 13px;
    border-radius: 10px;
    border: 1.5px solid #CBD5E1;
    background: #FFFFFF;
    color: #0A2540;
    font-size: 13.5px;
    font-weight: 600;
    box-sizing: border-box;
    font-family: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
  }

  .bnh-form-input:focus,
  .bnh-form-select:focus {
    outline: none;
    border-color: #0052D4;
    box-shadow: 0 0 0 3px rgba(0, 82, 212, 0.15);
  }

  /* Choice Pills (I am, Looking to, Property Type, BHK, Bathrooms) */
  .bnh-choice-pills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .bnh-choice-pill {
    padding: 9px 14px;
    border-radius: 10px;
    border: 1.5px solid #E2E8F0;
    background: #F8FAFC;
    color: #334155;
    font-size: 12.5px;
    font-weight: 750;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .bnh-choice-pill:active {
    transform: scale(0.97);
  }

  .bnh-choice-pill.is-active {
    background: #0A2540;
    color: #FFFFFF;
    border-color: #0A2540;
    box-shadow: 0 2px 8px rgba(10, 37, 64, 0.22);
  }

  /* Locality Quick Suggestion Chips */
  .bnh-locality-suggestions {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    padding: 2px 0 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .bnh-locality-suggestions::-webkit-scrollbar {
    display: none;
  }

  .bnh-locality-chip {
    flex-shrink: 0;
    padding: 5px 10px;
    border-radius: 999px;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    color: #475569;
    font-size: 11.5px;
    font-weight: 650;
    cursor: pointer;
  }

  .bnh-locality-chip:active {
    background: #E2E8F0;
  }

  /* Interactive Map Pin Box */
  .bnh-map-pin-box {
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    border: 1.5px solid #BAE6FD;
    border-radius: 12px;
    padding: 12px;
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .bnh-map-pin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .bnh-map-pin-title {
    font-size: 12.5px;
    font-weight: 800;
    color: #0369A1;
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .bnh-map-coords-badge {
    font-size: 11px;
    font-weight: 700;
    color: #0284C7;
    background: #FFFFFF;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid #BAE6FD;
  }

  .bnh-map-pin-visual {
    height: 80px;
    border-radius: 8px;
    background: #E0F2FE url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h40v40H0V0zm20 20h20v20H20V20z' fill='%23BAE6FD' fill-opacity='0.3'/%3E%3C/svg%3E");
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .bnh-map-pin-marker {
    font-size: 28px;
    animation: bnhPinBounce 1.5s infinite;
    filter: drop-shadow(0 4px 6px rgba(0, 82, 212, 0.3));
  }

  @keyframes bnhPinBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }

  .bnh-btn-gps-pin {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #0052D4;
    color: #FFFFFF !important;
    border: none;
    border-radius: 9px;
    padding: 10px;
    font-size: 12.5px;
    font-weight: 750;
    cursor: pointer;
  }

  /* Price Live Readout & Estimated EMI Tag */
  .bnh-price-readout-box {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 4px;
  }

  .bnh-price-live-tag {
    font-size: 16px;
    font-weight: 850;
    color: #0A2540;
  }

  .bnh-emi-calc-tag {
    font-size: 12px;
    font-weight: 700;
    color: #059669;
  }

  /* Amenities Chips Grid (Visual Selectable Chips) */
  .bnh-amenities-chip-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 4px;
  }

  .bnh-amenity-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1.5px solid #E2E8F0;
    background: #FFFFFF;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
  }

  .bnh-amenity-chip:active {
    transform: scale(0.97);
  }

  .bnh-amenity-chip.is-active {
    background: #EFF6FF;
    border-color: #0052D4;
    color: #0052D4;
    box-shadow: 0 2px 6px rgba(0, 82, 212, 0.12);
  }

  .bnh-amenity-icon {
    font-size: 15px;
  }

  .bnh-amenity-check {
    margin-left: auto;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1.5px solid #CBD5E1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: transparent;
    transition: all 0.15s ease;
  }

  .bnh-amenity-chip.is-active .bnh-amenity-check {
    background: #0052D4;
    border-color: #0052D4;
    color: #FFFFFF;
  }

  /* Zero Brokerage Declaration Checkbox */
  .bnh-declaration-box {
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    border-radius: 10px;
    padding: 10px 12px;
    margin-top: 10px;
  }

  .bnh-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 11.5px;
    color: #166534;
    font-weight: 650;
    line-height: 1.4;
    cursor: pointer;
  }

  .bnh-checkbox-label input {
    margin-top: 2px;
    accent-color: #059669;
    width: 15px;
    height: 15px;
    flex-shrink: 0;
  }

  /* Media Upload Engine */
  .bnh-uploader-dropzone {
    border: 2px dashed #93C5FD;
    background: #F8FAFC;
    border-radius: 14px;
    padding: 18px 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: border-color 0.2s ease, background 0.2s ease;
  }

  .bnh-uploader-dropzone.is-dragover {
    border-color: #0052D4;
    background: #EFF6FF;
  }

  .bnh-uploader-icon {
    font-size: 32px;
  }

  .bnh-uploader-title {
    font-size: 13.5px;
    font-weight: 800;
    color: #0A2540;
    margin: 0;
  }

  .bnh-uploader-sub {
    font-size: 11.5px;
    color: #64748B;
    margin: 0;
  }

  .bnh-uploader-buttons-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-top: 4px;
  }

  .bnh-uploader-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 10px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
    border: none;
    transition: all 0.15s ease;
  }

  .bnh-uploader-btn:active {
    transform: scale(0.97);
  }

  .bnh-uploader-btn-camera {
    background: #0A2540;
    color: #FFFFFF;
  }

  .bnh-uploader-btn-gallery {
    background: #EFF6FF;
    color: #0052D4;
    border: 1.5px solid #BFDBFE;
  }

  /* Media Preview & Reordering Grid */
  .bnh-media-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 14px;
  }

  .bnh-media-preview-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1.5px solid #E2E8F0;
    background: #FFFFFF;
    box-shadow: 0 2px 8px rgba(10, 37, 64, 0.05);
    display: flex;
    flex-direction: column;
    user-select: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }

  .bnh-media-preview-card.is-cover {
    border-color: #F59E0B;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
  }

  .bnh-media-preview-card.is-dragging {
    opacity: 0.4;
    transform: scale(0.95);
  }

  .bnh-media-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0A2540;
    overflow: hidden;
  }

  .bnh-media-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .bnh-media-cover-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: #FFFFFF;
    font-size: 9.5px;
    font-weight: 850;
    padding: 3px 7px;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  }

  .bnh-media-type-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(10, 37, 64, 0.85);
    color: #FFFFFF;
    font-size: 9px;
    font-weight: 750;
    padding: 2px 6px;
    border-radius: 4px;
  }

  .bnh-media-compression-badge {
    position: absolute;
    bottom: 6px;
    left: 6px;
    background: rgba(5, 150, 105, 0.92);
    color: #FFFFFF;
    font-size: 9px;
    font-weight: 750;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.02em;
  }

  /* Progress Bar Per Asset */
  .bnh-media-progress-bar {
    width: 100%;
    height: 4px;
    background: #E2E8F0;
    overflow: hidden;
  }

  .bnh-media-progress-fill {
    height: 100%;
    background: #10B981;
    width: 100%;
    transition: width 0.3s ease;
  }

  /* Reorder Controls */
  .bnh-media-reorder-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px;
    background: #F8FAFC;
    border-top: 1px solid #E2E8F0;
    gap: 4px;
  }

  .bnh-btn-reorder {
    padding: 3px 6px;
    border-radius: 6px;
    border: 1px solid #CBD5E1;
    background: #FFFFFF;
    color: #475569;
    font-size: 10.5px;
    font-weight: 750;
    cursor: pointer;
  }

  .bnh-btn-make-cover {
    flex: 1;
    background: #FFFBEB;
    border-color: #FDE68A;
    color: #B45309;
    font-size: 10px;
    font-weight: 800;
  }

  .bnh-btn-remove-media {
    background: #FEF2F2;
    border-color: #FECACA;
    color: #DC2626;
  }

  /* Inline Validation Alert */
  .bnh-wizard-validation-alert {
    background: #FEF2F2;
    border: 1.5px solid #FCA5A5;
    color: #991B1B;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 700;
    display: none;
    margin-bottom: 14px;
    line-height: 1.4;
    animation: bnhAlertShake 0.3s ease;
  }

  @keyframes bnhAlertShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
  }

  /* Sticky Footer Navigation */
  .bnh-wizard-footer-nav {
    padding: 12px 16px max(14px, env(safe-area-inset-bottom, 14px));
    background: #FFFFFF;
    border-top: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    position: relative;
    z-index: 20;
  }

  .bnh-wizard-btn-back {
    padding: 12px 18px;
    border-radius: 12px;
    border: 1.5px solid #CBD5E1;
    background: #F8FAFC;
    color: #475569;
    font-size: 13.5px;
    font-weight: 750;
    cursor: pointer;
    flex-shrink: 0;
  }

  .bnh-wizard-btn-next {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 13px 20px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #0052D4 0%, #4364F7 100%);
    color: #FFFFFF !important;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 82, 212, 0.3);
    transition: all 0.15s ease;
  }

  .bnh-wizard-btn-next:active {
    transform: scale(0.98);
  }

  /* Success Screen Confirmation View */
  .bnh-wizard-success-view {
    display: none;
    padding: 24px 16px 32px;
    text-align: center;
    flex-direction: column;
    align-items: center;
    animation: bnhSuccessPop 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  @keyframes bnhSuccessPop {
    0% { opacity: 0; transform: scale(0.92); }
    100% { opacity: 1; transform: scale(1); }
  }

  .bnh-success-icon-badge {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #FFFFFF;
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
  }

  .bnh-success-title {
    font-size: 20px;
    font-weight: 850;
    color: #0A2540;
    margin: 0 0 6px;
    letter-spacing: -0.02em;
  }

  .bnh-success-desc {
    font-size: 13px;
    color: #64748B;
    margin: 0 0 16px;
    line-height: 1.5;
  }

  .bnh-success-prop-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    color: #1E40AF;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
  }

  .bnh-share-preview-box {
    width: 100%;
    background: #F8FAFC;
    border: 1.5px dashed #CBD5E1;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 18px;
    box-sizing: border-box;
    text-align: left;
  }

  .bnh-share-preview-label {
    font-size: 11px;
    font-weight: 750;
    color: #64748B;
    text-transform: uppercase;
    margin-bottom: 4px;
  }

  .bnh-share-preview-link {
    font-size: 12.5px;
    font-weight: 700;
    color: #0052D4;
    word-break: break-all;
    text-decoration: underline;
  }

  .bnh-success-actions-col {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .bnh-share-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25D366;
    color: #FFFFFF !important;
    text-decoration: none;
    padding: 13px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
  }

  .bnh-btn-view-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #0A2540;
    color: #FFFFFF !important;
    text-decoration: none;
    padding: 13px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
  }

  .bnh-btn-post-another {
    background: #F1F5F9;
    border: none;
    color: #475569;
    padding: 11px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
  }

  /* =========================================================================
     TASK 5: BOTTOM-SHEET FILTERS & DUAL MAP/LIST TOGGLE
     ========================================================================= */

  /* 1. Floating "Filters" Button with Active Badge Count */
  .bnh-floating-filters-btn,
  #bnhFloatingFiltersBtn {
    position: fixed;
    bottom: calc(var(--bnh-dock-height, 64px) + env(safe-area-inset-bottom, 16px) + 14px);
    right: 14px;
    z-index: 1040;
    background: #0A2540;
    color: #FFFFFF;
    border-radius: 999px;
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    padding: 9px 15px;
    font-size: 12.5px;
    font-weight: 750;
    box-shadow: 0 4px 16px rgba(10, 37, 64, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.18);
    cursor: pointer;
    transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .bnh-floating-filters-btn:active,
  #bnhFloatingFiltersBtn:active {
    transform: scale(0.94);
  }

  .bnh-floating-filters-icon {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .bnh-filter-badge-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #10B981;
    color: #FFFFFF;
    font-size: 10.5px;
    font-weight: 850;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.4);
    transition: all 0.2s ease;
  }

  .bnh-filter-badge-count.is-zero {
    display: none;
  }

  /* 2. Floating Map / List View Toggle Pill Button */
  .bnh-map-list-toggle-pill,
  #bnhMapListToggleBtn {
    position: fixed;
    bottom: calc(var(--bnh-dock-height, 64px) + env(safe-area-inset-bottom, 16px) + 14px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050;
    background: linear-gradient(135deg, #0052D4 0%, #4364F7 100%);
    color: #FFFFFF;
    border: 1.5px solid rgba(255, 255, 255, 0.32);
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 6px 20px rgba(0, 82, 212, 0.38);
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, background 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .bnh-map-list-toggle-pill:active {
    transform: translateX(-50%) scale(0.95);
  }

  .bnh-map-list-toggle-pill.is-map-mode {
    background: linear-gradient(135deg, #0A2540 0%, #1E3A8A 100%);
    box-shadow: 0 6px 20px rgba(10, 37, 64, 0.45);
  }

  .bnh-toggle-pill-icon {
    font-size: 15px;
    line-height: 1;
  }

  /* 3. Slide-Up Filter Drawer (Bottom Sheet) */
  .bnh-filter-drawer-overlay {
    z-index: 2150;
  }

  .bnh-filter-drawer-content {
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    padding: 0 0 calc(env(safe-area-inset-bottom, 16px) + 8px) 0;
    overflow: hidden;
  }

  .bnh-filter-drawer-header {
    padding: 14px 18px 12px;
    border-bottom: 1px solid rgba(10, 37, 64, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #FFFFFF;
    position: sticky;
    top: 0;
    z-index: 10;
  }

  .bnh-filter-drawer-title-wrap {
    display: flex;
    flex-direction: column;
  }

  .bnh-filter-drawer-title {
    font-size: 16px;
    font-weight: 850;
    color: #0A2540;
    margin: 0;
    letter-spacing: -0.01em;
  }

  .bnh-filter-drawer-subtitle {
    font-size: 11.5px;
    color: #64748B;
    font-weight: 550;
    margin-top: 1px;
  }

  /* Filter Accordion Scrollable Body */
  .bnh-filter-accordion-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .bnh-filter-accordion-section {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.18s ease;
  }

  .bnh-filter-accordion-section.is-open {
    border-color: #CBD5E1;
    background: #FFFFFF;
    box-shadow: 0 2px 8px rgba(10, 37, 64, 0.03);
  }

  .bnh-accordion-header {
    width: 100%;
    background: transparent;
    border: none;
    padding: 13px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13.5px;
    font-weight: 750;
    color: #0A2540;
    cursor: pointer;
    text-align: left;
  }

  .bnh-accordion-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .bnh-accordion-title-icon {
    font-size: 15px;
  }

  .bnh-accordion-active-preview {
    font-size: 11px;
    color: #0052D4;
    font-weight: 650;
    background: #EFF6FF;
    padding: 2px 7px;
    border-radius: 999px;
  }

  .bnh-accordion-indicator {
    font-size: 12px;
    color: #64748B;
    transition: transform 0.2s ease;
  }

  .bnh-filter-accordion-section.is-open .bnh-accordion-indicator {
    transform: rotate(180deg);
  }

  .bnh-accordion-content {
    display: none;
    padding: 4px 14px 14px;
    border-top: 1px solid #F1F5F9;
  }

  .bnh-filter-accordion-section.is-open .bnh-accordion-content {
    display: block;
    animation: bnhFadeIn 0.2s ease;
  }

  /* Price Range (Dual Slider) */
  .bnh-dual-slider-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 4px;
  }

  .bnh-dual-slider-readout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 13.5px;
    font-weight: 800;
    color: #0052D4;
  }

  .bnh-dual-slider-inputs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
  }

  .bnh-slider-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .bnh-slider-label {
    display: flex;
    justify-content: space-between;
    font-size: 11.5px;
    font-weight: 650;
    color: #64748B;
  }

  .bnh-range-slider {
    width: 100%;
    accent-color: #0052D4;
    height: 6px;
    border-radius: 999px;
    background: #E2E8F0;
    cursor: pointer;
  }

  .bnh-price-preset-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
  }

  .bnh-price-preset-chip {
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid #E2E8F0;
    background: #F8FAFC;
    color: #475569;
    font-size: 11.5px;
    font-weight: 650;
    cursor: pointer;
    transition: all 0.15s ease;
  }

  .bnh-price-preset-chip:active,
  .bnh-price-preset-chip.is-active {
    background: #0A2540;
    color: #FFFFFF;
    border-color: #0A2540;
  }

  /* Filter Choice Chips Grid (BHK, Status, Furnishing, Posted By) */
  .bnh-filter-chips-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 4px;
  }

  .bnh-filter-chip {
    padding: 8px 14px;
    border-radius: 10px;
    border: 1.5px solid #E2E8F0;
    background: #FFFFFF;
    color: #475569;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }

  .bnh-filter-chip:active {
    transform: scale(0.96);
  }

  .bnh-filter-chip.is-active {
    background: #0A2540;
    color: #FFFFFF;
    border-color: #0A2540;
    box-shadow: 0 2px 8px rgba(10, 37, 64, 0.2);
  }

  .bnh-filter-chip.is-active .chip-count-tag {
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
  }

  .chip-count-tag {
    font-size: 10px;
    background: #F1F5F9;
    color: #64748B;
    padding: 1px 5px;
    border-radius: 999px;
    font-weight: 700;
  }

  /* Fixed Bottom Action: Clear All + Show [N] Properties */
  .bnh-filter-footer-actions {
    padding: 12px 16px;
    border-top: 1px solid #E2E8F0;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: sticky;
    bottom: 0;
    z-index: 10;
    box-shadow: 0 -4px 16px rgba(10, 37, 64, 0.04);
  }

  .bnh-btn-clear-filters {
    background: transparent;
    border: none;
    color: #64748B;
    font-size: 13.5px;
    font-weight: 750;
    text-decoration: underline;
    cursor: pointer;
    padding: 8px 12px;
    flex-shrink: 0;
  }

  .bnh-btn-clear-filters:active {
    color: #0A2540;
  }

  .bnh-btn-apply-filters {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 13px 20px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #0052D4 0%, #4364F7 100%);
    color: #FFFFFF !important;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 82, 212, 0.3);
    transition: all 0.15s ease;
  }

  .bnh-btn-apply-filters:active {
    transform: scale(0.98);
  }

  /* 4. Full-Screen Interactive Map View Container */
  .bnh-mobile-map-container {
    display: none;
    position: relative;
    width: 100%;
    min-height: calc(100vh - 120px);
    background: linear-gradient(180deg, #E0F2FE 0%, #BAE6FD 50%, #93C5FD 100%);
    overflow: hidden;
    touch-action: pan-x pan-y pinch-zoom;
  }

  .bnh-mobile-map-container.is-active,
  #bnhMobileMapViewContainer.is-active {
    display: block !important;
  }

  .bnh-map-viewport {
    position: relative;
    width: 100%;
    min-height: 560px;
    height: calc(100vh - 120px);
    overflow: hidden;
  }

  .bnh-kerala-map-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
  }

  /* Price Cluster Bubbles (Map Pins) */
  .bnh-price-cluster-bubble {
    position: absolute;
    transform: translate(-50%, -50%);
    background: #0A2540;
    color: #FFFFFF;
    font-size: 11.5px;
    font-weight: 850;
    padding: 5px 10px;
    border-radius: 999px;
    border: 2px solid #FFFFFF;
    box-shadow: 0 4px 14px rgba(10, 37, 64, 0.4);
    cursor: pointer;
    z-index: 10;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, box-shadow 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .bnh-price-cluster-bubble:after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #0A2540;
    transition: border-top-color 0.2s ease;
  }

  .bnh-price-cluster-bubble.owner-bubble {
    background: #059669;
  }

  .bnh-price-cluster-bubble.owner-bubble:after {
    border-top-color: #059669;
  }

  .bnh-price-cluster-bubble:active,
  .bnh-price-cluster-bubble.is-active,
  .bnh-price-cluster-bubble.bnh-price-bubble-active {
    background: #0052D4;
    transform: translate(-50%, -50%) scale(1.18);
    box-shadow: 0 0 0 4px rgba(0, 82, 212, 0.35), 0 8px 22px rgba(0, 82, 212, 0.5);
    z-index: 25;
  }

  .bnh-price-cluster-bubble.is-active:after,
  .bnh-price-cluster-bubble.bnh-price-bubble-active:after {
    border-top-color: #0052D4;
  }

  /* Map Controls */
  .bnh-map-controls {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 15;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .bnh-map-control-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(10, 37, 64, 0.12);
    box-shadow: 0 2px 8px rgba(10, 37, 64, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    color: #0A2540;
    cursor: pointer;
  }

  .bnh-map-control-btn:active {
    background: #F1F5F9;
  }

  /* Map Summary Top Banner */
  .bnh-map-summary-banner {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 15;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(10, 37, 64, 0.1);
    box-shadow: 0 4px 14px rgba(10, 37, 64, 0.12);
    border-radius: 999px;
    padding: 6px 14px;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 750;
    color: #0A2540;
  }

  .bnh-map-summary-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
  }

  /* 5. Map Pin Tap Bottom Preview Card */
  .bnh-map-preview-card,
  #bnhMapPropertyPreviewCard {
    position: absolute;
    bottom: calc(var(--bnh-dock-height, 64px) + env(safe-area-inset-bottom, 16px) + 64px);
    left: 12px;
    right: 12px;
    z-index: 1045;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 12px 36px rgba(10, 37, 64, 0.28);
    border: 1px solid rgba(10, 37, 64, 0.08);
    overflow: hidden;
    transform: translateY(130%);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex !important;
    flex-direction: column;
  }

  .bnh-map-preview-card.is-open {
    transform: translateY(0);
  }

  .bnh-map-preview-top-row {
    position: relative;
    display: flex;
    gap: 12px;
    padding: 12px;
  }

  .bnh-map-preview-thumb-wrap {
    width: 96px;
    height: 76px;
    border-radius: 10px;
    overflow: hidden;
    background: #0A2540;
    flex-shrink: 0;
    position: relative;
  }

  .bnh-map-preview-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .bnh-map-preview-verified-badge {
    position: absolute;
    top: 4px;
    left: 4px;
    background: rgba(10, 37, 64, 0.9);
    color: #FFFFFF;
    font-size: 8px;
    font-weight: 800;
    padding: 2px 4px;
    border-radius: 4px;
  }

  .bnh-map-preview-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
  }

  .bnh-map-preview-title {
    font-size: 13.5px;
    font-weight: 800;
    color: #0A2540;
    margin: 0 0 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .bnh-map-preview-locality {
    font-size: 11.5px;
    color: #64748B;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .bnh-map-preview-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
  }

  .bnh-map-preview-price {
    font-size: 15px;
    font-weight: 850;
    color: #0A2540;
  }

  .bnh-map-preview-emi {
    font-size: 10.5px;
    color: #0052D4;
    font-weight: 650;
  }

  .bnh-map-preview-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #F1F5F9;
    border: none;
    color: #475569;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .bnh-map-preview-actions {
    display: flex;
    gap: 8px;
    padding: 0 12px 12px;
  }

  .bnh-map-preview-wa-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #25D366;
    color: #FFFFFF !important;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    padding: 9px;
    border-radius: 9px;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
  }

  .bnh-map-preview-details-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: #0A2540;
    color: #FFFFFF !important;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    padding: 9px;
    border-radius: 9px;
  }
}

/* Top Quick Action CTAs (Side-by-Side Pills) */
.header-top-quick-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-post-property-top {
  background: var(--bnh-grad-royal-blue);
  color: #FFFFFF !important;
  font-weight: 800;
  font-size: 12.5px;
  padding: 8px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 14px rgba(0, 82, 212, 0.28);
  white-space: nowrap;
  min-height: 38px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-post-property-top:active {
  transform: scale(0.95);
}

.btn-wa-post-top {
  background: var(--bnh-grad-emerald-azure);
  color: #FFFFFF !important;
  font-weight: 800;
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: var(--bnh-shadow-wa);
  white-space: nowrap;
  min-height: 38px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-wa-post-top:active {
  transform: scale(0.95);
}

.btn-wa-post-top svg {
  width: 16px;
  height: 16px;
  fill: #FFFFFF;
}

/* --------------------------------------------------------------------------
   4. Interactive Global Pill Search Bar on Top
   -------------------------------------------------------------------------- */
.top-global-search-pill {
  width: 100%;
  background: #FFFFFF;
  border: 1.5px solid var(--bnh-border-highlight);
  border-radius: 999px;
  padding: 8px 12px 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(10, 54, 157, 0.08);
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 46px;
}

.top-global-search-pill:active {
  transform: scale(0.99);
  border-color: var(--bnh-blue-600);
}

.search-pill-content {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.search-pill-icon {
  width: 18px;
  height: 18px;
  stroke: var(--bnh-blue-700);
  flex-shrink: 0;
}

.search-pill-dynamic-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--bnh-text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  animation: textFadeIn 0.35s ease;
}

.search-pill-filter-btn {
  background: var(--bnh-bg-mist);
  color: var(--bnh-blue-700);
  border: 1px solid var(--bnh-border-highlight);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   5. Tap-to-Expand Search Overlay & Quick Hub Chips
   -------------------------------------------------------------------------- */
.search-expand-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 30, 61, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  animation: fadeIn 0.2s ease;
}

.search-expand-overlay[hidden],
.search-expand-overlay[aria-hidden="true"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.search-expand-card {
  background: #FFFFFF;
  border-radius: 0 0 24px 24px;
  padding: 18px 20px 24px;
  box-shadow: 0 12px 40px rgba(7, 30, 61, 0.25);
  animation: sheetSlideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-expand-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bnh-bg-mist);
  border: 1.5px solid var(--bnh-blue-600);
  border-radius: 999px;
  padding: 10px 18px;
  box-shadow: 0 4px 14px rgba(0, 82, 212, 0.12);
}

.search-expand-input-row input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 14px;
  font-weight: 600;
  color: var(--bnh-text-primary);
  outline: none;
}

.search-expand-close {
  background: none;
  border: none;
  font-size: 18px;
  color: var(--bnh-text-muted);
  cursor: pointer;
  padding: 0;
}

.search-quick-hub-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bnh-text-muted);
  margin: 16px 0 10px;
}

.search-quick-hub-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-hub-chip {
  background: var(--bnh-bg-mist);
  border: 1px solid var(--bnh-border-highlight);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 750;
  color: var(--bnh-text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.search-hub-chip:active {
  background: var(--bnh-blue-700);
  color: #FFFFFF;
  transform: scale(0.96);
}

/* --------------------------------------------------------------------------
   6. Draggable District / Locality Chips (Inertia Horizontal Scroll)
   -------------------------------------------------------------------------- */
.draggable-chips-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 16px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--bnh-border-subtle);
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}

.draggable-chips-bar::-webkit-scrollbar {
  display: none;
}

.draggable-chip {
  scroll-snap-align: start;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--bnh-bg-mist);
  border: 1px solid var(--bnh-border-highlight);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 750;
  color: var(--bnh-text-primary);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  min-height: 38px;
}

.draggable-chip:active,
.draggable-chip.is-active {
  background: var(--bnh-grad-royal-blue);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(0, 82, 212, 0.25);
  transform: scale(0.96);
}

.draggable-chip.chip-accent {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border-color: #FCD34D;
  color: #92400E;
}

/* --------------------------------------------------------------------------
   7. UHD Photo-Realistic Property Cards & Shimmer Skeletons
   -------------------------------------------------------------------------- */
.property-card, .home-card {
  background: var(--bnh-surface) !important;
  border: 1px solid var(--bnh-border-highlight) !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: var(--bnh-shadow-surface) !important;
  display: flex !important;
  flex-direction: column !important;
  margin-bottom: 20px !important;
  position: relative !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.property-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 40px rgba(0, 82, 212, 0.12) !important;
}

/* 16/10 Aspect Ratio Media Container */
.property-image, .home-image {
  aspect-ratio: 16 / 10 !important;
  height: auto !important;
  min-height: 210px !important;
  background-size: cover !important;
  background-position: center !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Shimmer Skeleton placeholder while loading */
.property-image.is-loading {
  background: linear-gradient(90deg, #E2EAF4 0%, #F5F9FF 50%, #E2EAF4 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* Gradient Photo Scrim */
.property-image::after, .home-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bnh-grad-photo-scrim);
  pointer-events: none;
  z-index: 1;
}

/* Floating Badges on Cards */
.card-floating-badge-top-left {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.badge-brand-new {
  background: var(--bnh-grad-azure-badge);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 82, 212, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-zero-brokerage-emerald {
  background: var(--bnh-grad-emerald-badge);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-photo-counter {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  background: rgba(7, 30, 61, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 750;
  padding: 4px 10px;
  border-radius: 999px;
}

/* Card Body Typography & Pricing */
.property-body, .home-card-body {
  padding: 18px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.card-price-headline-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.card-price-prominent {
  font-size: 22px;
  font-weight: 850;
  color: var(--bnh-blue-700);
  letter-spacing: -0.03em;
}

.card-emi-pill {
  font-size: 11.5px;
  font-weight: 750;
  color: var(--bnh-emerald-deep);
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 3px 9px;
  border-radius: 6px;
}

.property-title, .card-title {
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  color: var(--bnh-text-primary) !important;
  margin: 0 !important;
}

.property-location, .card-location {
  font-size: 12.5px !important;
  color: var(--bnh-text-secondary) !important;
  font-weight: 600 !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

/* Card Action Row (Dual WhatsApp & Contact) */
.card-dual-action-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 10px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--bnh-border-subtle);
}

.card-btn-wa-action {
  background: var(--bnh-wa-green);
  color: #FFFFFF !important;
  font-weight: 800;
  font-size: 12.5px;
  padding: 10px 12px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  border: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  cursor: pointer;
  min-height: 48px;
  transition: transform 0.15s ease;
}

.card-btn-wa-action:active {
  transform: scale(0.95);
  background: #1EBE5D;
}

.card-btn-contact-action {
  background: var(--bnh-grad-primary-cta);
  color: #FFFFFF !important;
  font-weight: 800;
  font-size: 12.5px;
  padding: 10px 14px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  border: none;
  box-shadow: var(--bnh-shadow-cta);
  cursor: pointer;
  min-height: 48px;
  transition: transform 0.15s ease;
}

.card-btn-contact-action:active {
  transform: scale(0.95);
}

/* --------------------------------------------------------------------------
   8. Draggable Mobile Filter Bottom Sheet
   -------------------------------------------------------------------------- */
.draggable-filter-sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 30, 61, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1300;
  display: flex;
  align-items: flex-end;
  animation: fadeIn 0.2s ease;
}

.draggable-filter-sheet-backdrop[hidden] {
  display: none !important;
}

.draggable-filter-sheet-container {
  width: 100%;
  max-height: 88vh;
  background: #FFFFFF;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -12px 48px rgba(7, 30, 61, 0.3);
  display: flex;
  flex-direction: column;
  padding: 14px 20px calc(24px + env(safe-area-inset-bottom, 16px));
  animation: sheetSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  touch-action: pan-y;
}

.draggable-filter-sheet-handle {
  width: 44px;
  height: 5px;
  border-radius: 999px;
  background: #CBD5E1;
  margin: 0 auto 14px;
  cursor: grab;
}

/* --------------------------------------------------------------------------
   9. Sticky Bottom Action Bar (property.html & Mobile View)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .mobile-sticky-bar {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-top: 1px solid var(--bnh-border-highlight) !important;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 1050 !important;
    box-shadow: 0 -8px 28px rgba(7, 30, 61, 0.12) !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .sticky-price-block {
    display: flex;
    flex-direction: column;
  }

  .sticky-price {
    font-size: 19px !important;
    font-weight: 850 !important;
    color: var(--bnh-blue-700) !important;
    line-height: 1.1 !important;
  }

  .sticky-meta {
    font-size: 11px !important;
    color: var(--bnh-emerald-deep) !important;
    font-weight: 750 !important;
  }

  .sticky-actions {
    display: flex !important;
    gap: 8px !important;
    align-items: center !important;
  }

  .sticky-btn-wa {
    background: var(--bnh-wa-green) !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 999px !important;
    padding: 11px 16px !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35) !important;
    min-height: 48px !important;
  }

  .sticky-btn-contact {
    background: var(--bnh-grad-primary-cta) !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 999px !important;
    padding: 11px 18px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: var(--bnh-shadow-cta) !important;
    min-height: 48px !important;
  }
}

/* --------------------------------------------------------------------------
   10. Keyframes & Animations
   -------------------------------------------------------------------------- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes textFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes sheetSlideDown {
  from { transform: translateY(-40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* --------------------------------------------------------------------------
   11. Kerala Mega Discovery, Expanded Search & Micro-Market Suite
   -------------------------------------------------------------------------- */
.mega-discovery-section,
.kerala-seo-discovery {
  padding: 48px 8vw 36px;
  background: var(--ice-50, #F8FAFC);
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  margin: 32px 0 48px;
  position: relative;
}

.mega-discovery-container,
.seo-discovery-container {
  max-width: 1240px;
  margin: 0 auto;
}

/* Micro-Market Header */
.seo-discovery-header {
  margin-bottom: 26px;
}

.seo-discovery-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0052D4;
  background: rgba(0, 82, 212, 0.08);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.seo-discovery-header h2 {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  color: #0A2540;
  margin: 0 0 6px 0;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.seo-discovery-header p {
  font-size: 14.5px;
  color: #64748B;
  margin: 0;
  line-height: 1.5;
}

/* 4-Column Directory Grid */
.seo-discovery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.seo-discovery-column {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: 0 4px 18px rgba(10, 37, 64, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.seo-discovery-column:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 82, 212, 0.09);
  border-color: rgba(0, 82, 212, 0.25);
}

.seo-discovery-column h3 {
  font-size: 14.5px;
  font-weight: 800;
  color: #0A2540;
  margin: 0 0 14px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(0, 82, 212, 0.1);
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.35;
}

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

.seo-discovery-column li a {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
  display: inline-block;
  line-height: 1.4;
}

.seo-discovery-column li a:hover {
  color: #0052D4;
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Expanded Big Real Estate App Property Search Card
   -------------------------------------------------------------------------- */
.expanded-search-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  padding: 32px 36px;
  box-shadow: 0 18px 48px rgba(10, 37, 64, 0.07);
  margin-bottom: 44px;
  position: relative;
}

.expanded-search-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
}

.search-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: #00A3FF;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.expanded-search-title-wrap h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  color: #0A2540;
  margin: 0 0 6px 0;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.expanded-search-title-wrap p {
  font-size: 13.5px;
  color: #64748B;
  margin: 0;
  line-height: 1.45;
}

.search-badge-verified span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #EBF5FF;
  color: #0066FF;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 102, 255, 0.12);
  white-space: nowrap;
}

/* Tabs */
.expanded-search-tabs {
  display: flex;
  gap: 10px;
  margin: 22px 0 20px;
  flex-wrap: wrap;
}

.search-tab-pill {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.search-tab-pill:hover:not(.active) {
  background: #EEF2F6;
  color: #0A2540;
}

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

/* Main Form Fields Grid */
.expanded-search-fields {
  display: grid;
  grid-template-columns: 2fr 1.25fr 1.25fr auto;
  gap: 12px;
  align-items: stretch;
  margin-bottom: 18px;
}

.search-input-group {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
  min-height: 58px;
}

.search-input-group:focus-within {
  border-color: #0061FF;
  background: #FFFFFF;
  box-shadow: 0 0 0 3.5px rgba(0, 97, 255, 0.12);
}

.search-input-group label {
  font-size: 9.5px;
  font-weight: 800;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
  display: block;
}

.search-input-group input,
.search-input-group select {
  border: none;
  background: transparent;
  font-size: 13.5px;
  font-weight: 600;
  color: #0A2540;
  width: 100%;
  outline: none;
  padding: 0;
  margin: 0;
  font-family: inherit;
  cursor: pointer;
}

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

.search-btn-wrap {
  display: flex;
}

.button-search-properties {
  background: linear-gradient(135deg, #0061FF 0%, #00C6FF 100%);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: 14px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(0, 97, 255, 0.3);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  white-space: nowrap;
  width: 100%;
  min-height: 58px;
}

.button-search-properties:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(0, 97, 255, 0.42);
  filter: brightness(1.04);
}

.button-search-properties:active {
  transform: translateY(0);
}

/* Bottom Secondary Filters */
.expanded-search-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid #F1F5F9;
}

.secondary-filters {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.compact-filter-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.compact-filter-group label {
  font-size: 10.5px;
  font-weight: 800;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.compact-filter-group select {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #0A2540;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}

.compact-filter-group select:focus {
  border-color: #0061FF;
}

.search-live-indicator {
  font-size: 12px;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --------------------------------------------------------------------------
   Browse By Home - Category Tiles Block
   -------------------------------------------------------------------------- */
.browse-by-home-block {
  margin-top: 8px;
}

.browse-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: #00A3FF;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.browse-by-home-header h2 {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  color: #0A2540;
  margin: 0 0 6px 0;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.browse-by-home-header p {
  font-size: 14.5px;
  color: #64748B;
  margin: 0 0 24px;
  line-height: 1.5;
}

.browse-by-home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.browse-home-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(10, 37, 64, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.browse-home-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 82, 212, 0.1);
  border-color: rgba(0, 82, 212, 0.3);
}

.card-num-arrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.card-num {
  font-size: 13px;
  font-weight: 800;
  color: #64748B;
  letter-spacing: 0.05em;
}

.card-arrow {
  color: #0061FF;
  font-size: 17px;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.browse-home-card:hover .card-arrow {
  transform: translate(3px, -3px);
}

.card-content h3 {
  font-size: 18px;
  font-weight: 800;
  color: #0A2540;
  margin: 0 0 6px;
  line-height: 1.3;
}

.card-content p {
  font-size: 13px;
  color: #64748B;
  margin: 0 0 18px;
  line-height: 1.5;
}

.card-action-link {
  font-size: 12.5px;
  font-weight: 700;
  color: #0052D4;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Responsive Breakpoints for Mega Discovery */
@media (max-width: 1024px) {
  .seo-discovery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .expanded-search-fields {
    grid-template-columns: 1fr 1fr;
  }
  .search-btn-wrap {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .mega-discovery-section {
    padding: 36px 5vw 28px;
    margin: 24px 0 36px;
  }
  .expanded-search-card {
    padding: 24px 20px;
    border-radius: 20px;
  }
  .expanded-search-fields {
    grid-template-columns: 1fr;
  }
  .search-btn-wrap {
    grid-column: span 1;
  }
  .browse-by-home-grid {
    grid-template-columns: 1fr;
  }
  .secondary-filters {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 520px) {
  .seo-discovery-grid {
    grid-template-columns: 1fr;
  }
  .compact-filter-group {
    width: 100%;
    justify-content: space-between;
  }
  .compact-filter-group select {
    flex: 1;
  }
}

/* --------------------------------------------------------------------------
   11. Mobile App Bottom Navigation Dock (Housing.com & 99acres Benchmark)
   -------------------------------------------------------------------------- */
.bnh-mobile-bottom-dock {
  display: none !important;
}

@media (max-width: 768px) {
  .bnh-mobile-bottom-dock {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: var(--bnh-dock-height, 64px) !important;
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    border-top: 1px solid rgba(10, 37, 64, 0.08) !important;
    box-shadow: 0 -4px 20px rgba(10, 37, 64, 0.06) !important;
    z-index: 9998 !important;
    align-items: center !important;
    justify-content: space-around !important;
  }

  .bnh-dock-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-decoration: none;
    color: var(--bnh-text-secondary);
    font-size: 11px;
    font-weight: 700;
    transition: all 0.2s ease;
    height: 100%;
    -webkit-tap-highlight-color: transparent;
  }

  .bnh-dock-tab svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    transition: transform 0.2s ease, stroke 0.2s ease;
  }

  .bnh-dock-tab.is-active,
  .bnh-dock-tab:active {
    color: var(--bnh-blue-700);
  }

  .bnh-dock-tab.is-active svg {
    stroke: var(--bnh-blue-700);
    transform: translateY(-1px);
  }

  .bnh-dock-tab.dock-tab-highlight {
    color: var(--bnh-blue-700);
  }

  .bnh-dock-tab.dock-tab-highlight svg {
    stroke: var(--bnh-blue-700);
  }

  /* Phase 21.5: Virtual Keyboard Detection: hide dock when typing */
  .bnh-mobile-bottom-dock.bnh-nav-keyboard-hidden,
  .bnh-bottom-dock.bnh-nav-keyboard-hidden,
  .mobile-bottom-nav.bnh-nav-keyboard-hidden {
    transform: translateY(100%) !important;
    transition: transform 0.2s ease-out;
    pointer-events: none !important;
  }
}

/* Phase 21.5: Touch Isolation for Carousels */
.card-carousel-wrap,
.card-carousel,
.bnh-card-carousel {
  touch-action: pan-y pinch-zoom;
  -webkit-overflow-scrolling: touch;
}

/* --------------------------------------------------------------------------
   12. PWA Super-App Install Banner
   -------------------------------------------------------------------------- */
.pwa-install-banner {
  position: fixed;
  bottom: 84px;
  left: 16px;
  right: 16px;
  max-width: 480px;
  margin: 0 auto;
  background: rgba(10, 37, 64, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #FFFFFF;
  border-radius: 20px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.12);
  z-index: 9999;
  animation: sheetSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.pwa-banner-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 82, 212, 0.4);
}

.pwa-banner-content {
  flex: 1;
  min-width: 0;
}

.pwa-banner-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 2px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pwa-banner-desc {
  font-size: 11.5px;
  color: #CBD5E1;
  margin: 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pwa-banner-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.pwa-btn-install {
  background: linear-gradient(135deg, #0052D4 0%, #4364F7 100%);
  color: #FFFFFF !important;
  border: none;
  border-radius: 999px;
  padding: 9px 15px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 82, 212, 0.4);
  white-space: nowrap;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pwa-btn-install:active {
  transform: scale(0.96);
}

.pwa-btn-close {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 18px;
  line-height: 1;
  padding: 6px;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pwa-btn-close:hover {
  color: #FFFFFF;
}

@media (min-width: 768px) {
  .pwa-install-banner {
    bottom: 24px;
    right: 24px;
    left: auto;
  }
}

/* ==========================================================================
   12. Featured Developer Projects Spotlight Strip
   ========================================================================== */
.developer-spotlight-section {
  margin-bottom: 36px;
}

.developer-spotlight-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  padding: 0 4px;
}

.developer-spotlight-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748B;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  padding: 5px 12px;
  border-radius: 999px;
}

.developer-partner-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: #0052D4;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
}

.developer-partner-link:hover {
  color: #0A2540;
  transform: translateX(2px);
}

.developer-partner-link .arrow-icon {
  font-size: 14px;
  transition: transform 0.15s ease;
}

.developer-partner-link:hover .arrow-icon {
  transform: translateX(3px);
}

/* 3-Column Developer Project Cards Grid */
.developer-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.developer-project-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(10, 37, 64, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.developer-project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(10, 37, 64, 0.10);
  border-color: #CBD5E1;
}

.project-media-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(90deg, #F1F5F9 0%, #E2E8F0 50%, #F1F5F9 100%);
  background-size: 200% 100%;
  animation: bnhShimmer 1.8s infinite ease-in-out;
}

.project-media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, opacity 0.25s ease;
  opacity: 0.95;
}

.developer-project-card:hover .project-media-wrap img {
  transform: scale(1.04);
}

.project-sponsored-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  color: #F8FAFC;
  font-size: 9.5px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 6px;
  z-index: 2;
}

.project-status-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(5, 150, 105, 0.92);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 750;
  padding: 3px 9px;
  border-radius: 6px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.project-card-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 5px;
}

.project-builder-tag {
  font-size: 10px;
  font-weight: 800;
  color: #D97706;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.project-name {
  font-size: 18px;
  font-weight: 800;
  color: #0A2540;
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.project-location {
  font-size: 12.5px;
  font-weight: 600;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 4px;
}

.project-price-row {
  font-size: 13.5px;
  font-weight: 750;
  color: #0F172A;
  margin-top: 4px;
}

.project-features {
  font-size: 12px;
  color: #475569;
  line-height: 1.45;
  margin: 2px 0 14px;
  flex: 1;
}

.project-card-footer {
  margin-top: auto;
}

.project-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: #0A2540;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 750;
  padding: 10px 16px;
  border-radius: 10px;
  box-sizing: border-box;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.project-cta-btn:hover {
  background: #0052D4;
  transform: translateY(-1px);
}

.project-cta-btn .cta-arrow {
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 960px) {
  .developer-projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .developer-projects-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* --------------------------------------------------------------------------
   Network Status & Offline/Slow Connection Indicators (Phase 16)
   -------------------------------------------------------------------------- */
.bnh-network-status-pill {
  position: fixed;
  bottom: calc(var(--bnh-dock-height, 64px) + 16px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9999px;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.bnh-network-status-pill.is-offline {
  background: rgba(15, 23, 42, 0.92);
  color: #f1f5f9;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.bnh-network-status-pill.is-online {
  background: rgba(6, 95, 70, 0.92);
  color: #ecfdf5;
  border: 1px solid rgba(16, 185, 129, 0.4);
}


