/* ==========================================================
   NivaasMart — ANDROID APP homepage layout (app-home.css)
   ----------------------------------------------------------
   Loaded only on index.php, and EVERY rule below is scoped to
   body.capacitor-app — a class that only the Capacitor Android
   app ever sets (see the early script in includes/header.php).
   On the website, in any browser, nothing here applies except
   ".nm-app-only { display:none }", which keeps the app-only
   header/footer markup hidden. So the website stays exactly as
   it is; only the app gets the native (Housing.com-style) feel.

   Pattern: compact white header + sticky search, category tiles,
   a rounded banner, then every section as a white band with a
   small title + "See all" link and a swipeable card row.
   ========================================================== */

.nm-app-only { display: none; }

html.capacitor-app { --nm-sat: 0px; }
body.capacitor-app.nm-home {
    --nm-bg: #F1F3F8;
    --nm-surface: #FFFFFF;
    --nm-ink: #121631;
    --nm-text: #2A2E45;
    --nm-muted: #6B7185;
    --nm-line: #E7E9F1;
    --nm-brand: #2563EB;
    --nm-brand-soft: #EAF1FF;
    --nm-gold: #B88B3C;
    --nm-pad: 16px;
    background: var(--nm-bg);
    padding-top: 0 !important;             /* the app header handles the status bar itself */
    -webkit-tap-highlight-color: transparent;
    overscroll-behavior-y: none;
}
/* body must not be its own scroll box, or the sticky search bar can't stick */
html.capacitor-app body.nm-home { overflow-x: clip !important; overflow-y: visible !important; }
html.capacitor-app.nm-noscroll, html.capacitor-app.nm-noscroll body { overflow: hidden; }

/* ---------- website chrome that the app replaces ---------- */
body.capacitor-app.nm-home .site-header,
body.capacitor-app.nm-home .site-footer,
body.capacitor-app.nm-home .hv2-hero99-widget-wrap,
body.capacitor-app.nm-home #entryPopupOverlay { display: none !important; }
body.capacitor-app.nm-home main.main-content { padding: 0 !important; margin: 0 !important; max-width: 100% !important; }
body.capacitor-app.nm-home .nm-app-only { display: block; }

/* Scroll-reveal fades feel like lag inside an app — show everything at once. */
body.capacitor-app.nm-home .hv2-reveal, body.capacitor-app.nm-home .hv2-reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }

/* Desktop-style carousel furniture: arrows, dots, progress bars. The app swipes natively. */
body.capacitor-app.nm-home .hv2-arrow-btn, body.capacitor-app.nm-home .hv2-rail-arrow, body.capacitor-app.nm-home .hv2-tp-arrow, body.capacitor-app.nm-home .hv2-nl-arrow, body.capacitor-app.nm-home .hv2-rp-arrow,
body.capacitor-app.nm-home .hv2-picks-dots, body.capacitor-app.nm-home .hv2-nl-dots, body.capacitor-app.nm-home .hv2-rp-dots, body.capacitor-app.nm-home .hv2-devshow2-dots, body.capacitor-app.nm-home .hv2-prop2-dots,
body.capacitor-app.nm-home .hv2-tp-progress, body.capacitor-app.nm-home .hv2-blue-progress { display: none !important; }

body.capacitor-app.nm-home .hv2 { background: var(--nm-bg); display: flex; flex-direction: column; font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
body.capacitor-app.nm-home .hv2 a { -webkit-tap-highlight-color: transparent; }
body.capacitor-app.nm-home .hv2-container { padding-left: 0 !important; padding-right: 0 !important; max-width: 100% !important; }

/* Pressed state instead of hover — the main "this is an app" cue on touch. */
body.capacitor-app.nm-home .hv2 a:active, body.capacitor-app.nm-home .hv2 button:active, body.capacitor-app.nm-home [data-href]:active { transition: transform .08s ease; }
body.capacitor-app.nm-home .hv2-typecard:active, body.capacitor-app.nm-home .hv2-nl-card:active, body.capacitor-app.nm-home .hv2-rp-card:active, body.capacitor-app.nm-home .hv2-fp-card:active, body.capacitor-app.nm-home .hv2-tp-card:active,
body.capacitor-app.nm-home .hv2-devshow2-card:active, body.capacitor-app.nm-home .hv2-prop2-card:active, body.capacitor-app.nm-home .hv2-handpick-card:active, body.capacitor-app.nm-home .hv2-nmc-card:active,
body.capacitor-app.nm-home .hv2-bkrc-card:active, body.capacitor-app.nm-home .hv2-cta-card:active, body.capacitor-app.nm-home .hv2-explore-card:active { transform: scale(.975) !important; }
body.capacitor-app.nm-home .hv2 *:hover { transform: none; }

/* ==========================================================
   1. HEADER (logo row scrolls away, search bar stays pinned)
   ========================================================== */
body.capacitor-app.nm-home .nm-apphead {
    order: -30;
    background: var(--nm-surface);
    padding: calc(var(--nm-sat) + 10px) var(--nm-pad) 4px;
}
body.capacitor-app.nm-home .nm-apphead-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
body.capacitor-app.nm-home .nm-apphead-logo img { height: 34px; width: auto; display: block; }
body.capacitor-app.nm-home .nm-apphead-actions { display: flex; align-items: center; gap: 6px; }
body.capacitor-app.nm-home .nm-apphead-city {
    display: inline-flex; align-items: center; gap: 4px; max-width: 150px;
    height: 34px; padding: 0 10px; border-radius: 17px;
    background: var(--nm-brand-soft); color: var(--nm-brand); border: 0;
    font: 600 13px/1 'Inter', sans-serif;
}
body.capacitor-app.nm-home .nm-apphead-city span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.capacitor-app.nm-home .nm-apphead-city svg { flex: 0 0 auto; }
body.capacitor-app.nm-home .nm-apphead-icon {
    position: relative; width: 36px; height: 36px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center; color: var(--nm-ink);
}
body.capacitor-app.nm-home .nm-apphead-icon:active { background: var(--nm-bg); }
body.capacitor-app.nm-home .nm-apphead-badge {
    position: absolute; top: 3px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px;
    border-radius: 8px; background: #E11D48; color: #fff; font: 700 9.5px/16px 'Inter', sans-serif;
    text-align: center; box-shadow: 0 0 0 2px #fff;
}
body.capacitor-app.nm-home .nm-apphead-hello { margin: 10px 0 0; font-size: 13px; color: var(--nm-muted); line-height: 1.35; }

body.capacitor-app.nm-home .nm-appsearch {
    order: -29;
    position: sticky; top: var(--nm-sat); z-index: 60;
    background: var(--nm-surface);
    padding: 10px var(--nm-pad) 0;
    transition: box-shadow .2s ease;
}
body.capacitor-app.nm-home .nm-appsearch.is-stuck { box-shadow: 0 6px 16px rgba(18,22,49,.08); }
/* Solid strip behind the Android status bar so page content never scrolls under the clock/battery icons */
body.capacitor-app.nm-home::before {
    content: ''; position: fixed; top: 0; left: 0; right: 0; height: var(--nm-sat);
    background: var(--nm-surface); z-index: 61; pointer-events: none;
}
body.capacitor-app.nm-home .nm-appsearch-box {
    display: flex; align-items: center; gap: 10px;
    height: 48px; padding: 0 6px 0 14px; border-radius: 14px;
    background: #F4F6FB; border: 1px solid var(--nm-line); color: var(--nm-muted);
}
body.capacitor-app.nm-home .nm-appsearch-box input[type="search"] {
    flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent;
    font: 500 14.5px 'Inter', sans-serif; color: var(--nm-ink); -webkit-appearance: none;
}
body.capacitor-app.nm-home .nm-appsearch-box input::placeholder { color: #8A90A6; }
body.capacitor-app.nm-home .nm-appsearch-box input::-webkit-search-cancel-button { display: none; }
body.capacitor-app.nm-home .nm-appsearch-box button {
    width: 36px; height: 36px; border-radius: 10px; border: 0; flex: 0 0 auto;
    background: var(--nm-brand); color: #fff; display: inline-flex; align-items: center; justify-content: center;
}
body.capacitor-app.nm-home .nm-appsearch-tabs {
    display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none;
    margin: 4px calc(-1 * var(--nm-pad)) 0; padding: 0 var(--nm-pad);
    border-bottom: 1px solid var(--nm-line);
}
body.capacitor-app.nm-home .nm-appsearch-tabs::-webkit-scrollbar { display: none; }
body.capacitor-app.nm-home .nm-appsearch-tabs > * {
    flex: 0 0 auto; position: relative; padding: 12px 0 11px; border: 0; background: none;
    font: 600 13.5px/1 'Inter', sans-serif; color: var(--nm-muted); text-decoration: none; white-space: nowrap;
}
body.capacitor-app.nm-home .nm-appsearch-tabs > .active { color: var(--nm-brand); }
body.capacitor-app.nm-home .nm-appsearch-tabs > .active::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--nm-brand);
}

body.capacitor-app.nm-home .nm-apptrend {
    order: -28;
    display: flex !important; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none;
    background: var(--nm-surface); padding: 12px var(--nm-pad) 14px;
}
body.capacitor-app.nm-home .nm-apptrend::-webkit-scrollbar { display: none; }
body.capacitor-app.nm-home .nm-apptrend span { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--nm-ink); }
body.capacitor-app.nm-home .nm-apptrend span svg { color: #E11D48; }
body.capacitor-app.nm-home .nm-apptrend a {
    flex: 0 0 auto; padding: 7px 12px; border-radius: 16px; border: 1px solid var(--nm-line);
    font-size: 12.5px; font-weight: 500; color: var(--nm-text); text-decoration: none; white-space: nowrap; background: #fff;
}

/* ---------- City bottom sheet ---------- */
body.capacitor-app.nm-home .nm-citysheet { position: fixed; inset: 0; z-index: 2000; pointer-events: none; }
body.capacitor-app.nm-home .nm-citysheet-backdrop { position: absolute; inset: 0; background: rgba(12,15,35,.45); opacity: 0; transition: opacity .22s ease; }
body.capacitor-app.nm-home .nm-citysheet-panel {
    position: absolute; left: 0; right: 0; bottom: 0; max-height: 78vh; display: flex; flex-direction: column;
    background: #fff; border-radius: 20px 20px 0 0; transform: translateY(100%); transition: transform .26s cubic-bezier(.2,.8,.2,1);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
body.capacitor-app.nm-home .nm-citysheet.open { pointer-events: auto; }
body.capacitor-app.nm-home .nm-citysheet.open .nm-citysheet-backdrop { opacity: 1; }
body.capacitor-app.nm-home .nm-citysheet.open .nm-citysheet-panel { transform: translateY(0); }
body.capacitor-app.nm-home .nm-citysheet-grip { width: 38px; height: 4px; border-radius: 2px; background: #D5D8E3; margin: 10px auto 4px; }
body.capacitor-app.nm-home .nm-citysheet-head { display: flex; align-items: center; justify-content: space-between; padding: 6px var(--nm-pad) 10px; }
body.capacitor-app.nm-home .nm-citysheet-head b { font-size: 16px; color: var(--nm-ink); }
body.capacitor-app.nm-home .nm-citysheet-head button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--nm-bg); color: var(--nm-ink); display: inline-flex; align-items: center; justify-content: center; }
body.capacitor-app.nm-home .nm-citysheet-search { display: flex; align-items: center; gap: 8px; margin: 0 var(--nm-pad) 8px; height: 44px; padding: 0 12px; border-radius: 12px; background: #F4F6FB; border: 1px solid var(--nm-line); color: var(--nm-muted); }
body.capacitor-app.nm-home .nm-citysheet-search input { flex: 1; border: 0; outline: 0; background: transparent; font: 500 14px 'Inter', sans-serif; color: var(--nm-ink); }
body.capacitor-app.nm-home .nm-citysheet-grip, body.capacitor-app.nm-home .nm-citysheet-head, body.capacitor-app.nm-home .nm-citysheet-search { flex-shrink: 0; }
body.capacitor-app.nm-home .nm-citysheet-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 0 var(--nm-pad) 16px; -webkit-overflow-scrolling: touch; }
body.capacitor-app.nm-home .nm-citysheet-label { margin: 14px 0 4px; font-size: 11.5px; font-weight: 700; color: var(--nm-muted); letter-spacing: .02em; }
body.capacitor-app.nm-home .nm-city-row { display: flex; align-items: center; gap: 8px; padding: 12px 2px; border-bottom: 1px solid #F1F2F7; font-size: 14.5px; color: var(--nm-text); text-decoration: none; }
body.capacitor-app.nm-home .nm-city-row svg { color: var(--nm-brand); }
body.capacitor-app.nm-home .nm-city-row.active { color: var(--nm-brand); font-weight: 700; }

/* ==========================================================
   2. CATEGORY TILES + BANNER
   ========================================================== */
body.capacitor-app.nm-home .nm-types-sec {
    order: -27;
    background: var(--nm-surface); padding: 4px var(--nm-pad) 18px !important;
    margin-bottom: 8px;
}
body.capacitor-app.nm-home .nm-types-sec .hv2-typegrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
body.capacitor-app.nm-home .nm-types-sec .hv2-typecard {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 4px 10px; border-radius: 14px; border: 1px solid var(--nm-line); background: #fff; box-shadow: none; min-height: 0;
}
body.capacitor-app.nm-home .nm-types-sec .hv2-typecard-icon { width: 40px; height: 40px; border-radius: 12px; margin: 0; }
body.capacitor-app.nm-home .nm-types-sec .hv2-typecard-icon svg { width: 20px; height: 20px; }
body.capacitor-app.nm-home .nm-types-sec .hv2-typecard b { font-size: 12px; font-weight: 600; color: var(--nm-text); line-height: 1.25; text-align: center; }

/* Hero becomes a rounded promo banner card */
body.capacitor-app.nm-home .hv2-hero99 { order: -26; background: var(--nm-surface); padding: 0 var(--nm-pad) 18px; margin: -8px 0 8px; }
body.capacitor-app.nm-home .hv2-hero99-bg { height: 188px !important; border-radius: 16px; overflow: hidden; }
body.capacitor-app.nm-home .hv2-hero99-bg .hv2-hero-slide.active { transform: none !important; }
body.capacitor-app.nm-home .hv2-hero99-overlay { background: linear-gradient(180deg, rgba(10,14,40,0) 25%, rgba(10,14,40,.78) 100%) !important; }
body.capacitor-app.nm-home .hv2-hero99-text {
    top: auto !important; bottom: 14px; left: 14px !important; right: 14px !important;
    padding: 0 !important; max-width: none !important; animation: none !important;
}
body.capacitor-app.nm-home .hv2-hero99-text h1 { font-size: 19px !important; line-height: 1.2 !important; margin: 0 !important; max-width: 80% !important; }
body.capacitor-app.nm-home .hv2-hero99-text p { font-size: 12px !important; margin: 3px 0 0 !important; line-height: 1.35 !important; max-width: 85% !important;
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
body.capacitor-app.nm-home .hv2-hero-project-badge { font-size: 10px !important; padding: 4px 8px !important; margin-bottom: 6px !important; border-radius: 6px !important; letter-spacing: .03em; }
body.capacitor-app.nm-home .hv2-hero-explore-btn {
    position: absolute; right: 0; bottom: 0; margin: 0 !important;
    padding: 8px 12px !important; font-size: 12px !important; border-radius: 10px !important; min-height: 0 !important;
}
body.capacitor-app.nm-home .hv2-hero99-text:has(.hv2-hero-explore-btn) h1, body.capacitor-app.nm-home .hv2-hero99-text:has(.hv2-hero-explore-btn) p { max-width: 62% !important; }
body.capacitor-app.nm-home .hv2-hero-dots { top: 12px !important; bottom: auto !important; right: 12px !important; left: auto !important; transform: none !important; }
body.capacitor-app.nm-home .hv2-hero-citytag { top: 10px !important; left: 10px !important; font-size: 10.5px !important; }

/* ==========================================================
   3. SECTION SHELL — white band, compact title, "See all"
   ========================================================== */
body.capacitor-app.nm-home .hv2-managed-sections > section,
body.capacitor-app.nm-home .hv2 > section.hv2-section:not(.nm-types-sec) {
    background: var(--nm-surface) !important;
    margin: 0 0 8px !important;
    padding: 18px 0 18px !important;
    border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
}
/* strip the website's inner "panel inside a panel" boxes */
body.capacitor-app.nm-home .hv2-nl-outer, body.capacitor-app.nm-home .hv2-rp-outer { background: none !important; border: 0 !important; border-radius: 0 !important; padding: 0 !important; position: relative; }

/* Every section heading */
body.capacitor-app.nm-home .hv2-tp-head, body.capacitor-app.nm-home .hv2-nl-head, body.capacitor-app.nm-home .hv2-rp-head, body.capacitor-app.nm-home .hv2-section-head, body.capacitor-app.nm-home .hv2-devshow2-head,
body.capacitor-app.nm-home .hv2-prop2-head, body.capacitor-app.nm-home .hv2-nmc-head, body.capacitor-app.nm-home .hv2-explore-head, body.capacitor-app.nm-home .hv2-blog-head {
    display: flex !important; flex-wrap: nowrap !important; align-items: flex-start !important; justify-content: space-between !important;
    gap: 12px !important; margin: 0 0 14px !important; padding: 0 var(--nm-pad) !important; text-align: left !important; position: relative;
}
body.capacitor-app.nm-home .hv2-tp-head h2, body.capacitor-app.nm-home .hv2-nl-head h2, body.capacitor-app.nm-home .hv2-rp-head h2, body.capacitor-app.nm-home .hv2-section-head h2, body.capacitor-app.nm-home .hv2-devshow2-head h2,
body.capacitor-app.nm-home .hv2-prop2-head h2, body.capacitor-app.nm-home .hv2-explore-head h2, body.capacitor-app.nm-home .hv2-blog-head h2 {
    font-family: 'Inter', sans-serif !important; font-size: 17.5px !important; font-weight: 800 !important; letter-spacing: -.2px !important;
    line-height: 1.25 !important; color: var(--nm-ink) !important; margin: 0 !important; display: flex !important; align-items: center; gap: 6px; flex-wrap: wrap;
}
/* Two-tone headings, same as the website: the highlighted word stays brand blue */
body.capacitor-app.nm-home .hv2-tp-head h2 span, body.capacitor-app.nm-home .hv2-nl-head h2 span, body.capacitor-app.nm-home .hv2-rp-head h2 span, body.capacitor-app.nm-home .hv2-section-head h2 span,
body.capacitor-app.nm-home .hv2-devshow2-head h2 span, body.capacitor-app.nm-home .hv2-explore-head h2 span, body.capacitor-app.nm-home .hv2-blog-head h2 span, body.capacitor-app.nm-home .hv2-prop2-blue,
body.capacitor-app.nm-home .hv2-why-text h3 span { color: var(--nm-brand) !important; }
body.capacitor-app.nm-home .hv2-section-head h2 span[style], body.capacitor-app.nm-home .hv2-explore-head h2 span[style] { color: var(--nm-brand) !important; }
body.capacitor-app.nm-home .hv2-tp-head h2 svg { width: 14px; height: 14px; }
body.capacitor-app.nm-home .hv2-tp-head p, body.capacitor-app.nm-home .hv2-nl-head > p, body.capacitor-app.nm-home .hv2-rp-head p, body.capacitor-app.nm-home .hv2-section-head p, body.capacitor-app.nm-home .hv2-devshow2-head p,
body.capacitor-app.nm-home .hv2-prop2-head p, body.capacitor-app.nm-home .hv2-explore-head p, body.capacitor-app.nm-home .hv2-blog-head p:not(.hv2-blog-eyebrow) {
    font-size: 12.5px !important; line-height: 1.4 !important; color: var(--nm-muted) !important; margin: 3px 0 0 !important; max-width: none !important;
}
body.capacitor-app.nm-home .hv2-blog-eyebrow, body.capacitor-app.nm-home .hv2-explore-eyebrow, body.capacitor-app.nm-home .hv2-cta-eyebrow, body.capacitor-app.nm-home .hv2-prop2-script, body.capacitor-app.nm-home .hv2-prop2-verified { display: none !important; }
body.capacitor-app.nm-home .hv2-prop2-new-badge, body.capacitor-app.nm-home .hv2-new-badge { font-size: 9.5px !important; padding: 3px 6px !important; border-radius: 5px !important; }

/* "View all …" buttons → small "See all" text links on the title row */
body.capacitor-app.nm-home .hv2-tp-viewall-btn, body.capacitor-app.nm-home .hv2-nl-viewall-btn, body.capacitor-app.nm-home .hv2-rp-viewall-btn, body.capacitor-app.nm-home .hv2-section-head .hv2-btn-purple,
body.capacitor-app.nm-home .hv2-section-head .hv2-viewall, body.capacitor-app.nm-home .hv2-devshow2-viewall, body.capacitor-app.nm-home .hv2-prop2-viewall, body.capacitor-app.nm-home .hv2-nmc-viewall,
body.capacitor-app.nm-home .hv2-explore-head .hv2-btn-purple, body.capacitor-app.nm-home .hv2-blog-btn-outline, body.capacitor-app.nm-home .hv2-blog-btn-solid {
    flex: 0 0 auto !important; width: auto !important; min-width: 0 !important; height: auto !important; min-height: 0 !important;
    margin: 2px 0 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important;
    background: none !important; box-shadow: none !important;
    font-size: 0 !important; color: var(--nm-brand) !important; white-space: nowrap; text-decoration: none;
    display: inline-flex !important; align-items: center;
}
body.capacitor-app.nm-home .hv2-tp-viewall-btn::before, body.capacitor-app.nm-home .hv2-nl-viewall-btn::before, body.capacitor-app.nm-home .hv2-rp-viewall-btn::before, body.capacitor-app.nm-home .hv2-section-head .hv2-btn-purple::before,
body.capacitor-app.nm-home .hv2-section-head .hv2-viewall::before, body.capacitor-app.nm-home .hv2-devshow2-viewall::before, body.capacitor-app.nm-home .hv2-prop2-viewall::before, body.capacitor-app.nm-home .hv2-nmc-viewall::before,
body.capacitor-app.nm-home .hv2-explore-head .hv2-btn-purple::before, body.capacitor-app.nm-home .hv2-blog-btn-outline::before, body.capacitor-app.nm-home .hv2-blog-btn-solid::before {
    content: 'See all'; font: 700 13px/1.2 'Inter', sans-serif;
}
body.capacitor-app.nm-home .hv2-tp-viewall-btn svg, body.capacitor-app.nm-home .hv2-nl-viewall-btn svg, body.capacitor-app.nm-home .hv2-rp-viewall-btn svg, body.capacitor-app.nm-home .hv2-section-head .hv2-btn-purple svg,
body.capacitor-app.nm-home .hv2-devshow2-viewall svg, body.capacitor-app.nm-home .hv2-prop2-viewall svg, body.capacitor-app.nm-home .hv2-explore-head .hv2-btn-purple svg { width: 14px !important; height: 14px !important; order: 2; }
body.capacitor-app.nm-home .hv2-blog-btn-outline svg, body.capacitor-app.nm-home .hv2-blog-btn-solid svg { display: none; }
body.capacitor-app.nm-home .hv2-prop2-head-right, body.capacitor-app.nm-home .hv2-devshow2-head-actions, body.capacitor-app.nm-home .hv2-nmc-head-actions { display: flex !important; width: auto !important; flex: 0 0 auto; margin: 0 !important; padding: 0 !important; }

/* Horizontal rails — one shared swipe behaviour for every card row */
body.capacitor-app.nm-home .hv2-tp-rail, body.capacitor-app.nm-home .hv2-nl-viewport, body.capacitor-app.nm-home .hv2-rp-viewport, body.capacitor-app.nm-home #hv2FeaturedRail, body.capacitor-app.nm-home .hv2-devshow2-rail,
body.capacitor-app.nm-home .hv2-prop2-rail, body.capacitor-app.nm-home .hv2-handpick-rail, body.capacitor-app.nm-home .hv2-explore-rail, body.capacitor-app.nm-home .hv2-nmc-rail, body.capacitor-app.nm-home .hv2-blog-grid {
    display: flex !important; gap: 12px !important; overflow-x: auto !important; overflow-y: hidden;
    scroll-snap-type: x mandatory; scroll-padding: 0 var(--nm-pad);
    padding: 2px var(--nm-pad) 6px !important; margin: 0 !important;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
    -webkit-mask-image: none !important; mask-image: none !important;
    grid-template-columns: none !important;
}
body.capacitor-app.nm-home .hv2-tp-rail::-webkit-scrollbar, body.capacitor-app.nm-home .hv2-nl-viewport::-webkit-scrollbar, body.capacitor-app.nm-home .hv2-rp-viewport::-webkit-scrollbar,
body.capacitor-app.nm-home #hv2FeaturedRail::-webkit-scrollbar, body.capacitor-app.nm-home .hv2-devshow2-rail::-webkit-scrollbar, body.capacitor-app.nm-home .hv2-prop2-rail::-webkit-scrollbar,
body.capacitor-app.nm-home .hv2-handpick-rail::-webkit-scrollbar, body.capacitor-app.nm-home .hv2-explore-rail::-webkit-scrollbar, body.capacitor-app.nm-home .hv2-nmc-rail::-webkit-scrollbar,
body.capacitor-app.nm-home .hv2-blog-grid::-webkit-scrollbar { display: none; }
body.capacitor-app.nm-home .hv2-arrowzone, body.capacitor-app.nm-home .hv2-nl-carousel-wrap, body.capacitor-app.nm-home .hv2-rp-carousel-wrap { position: static !important; padding: 0 !important; margin: 0 !important; }
/* the two "track inside viewport" carousels: let the track be the flex row */
body.capacitor-app.nm-home .hv2-nl-viewport, body.capacitor-app.nm-home .hv2-rp-viewport { display: block !important; padding: 0 !important; }
body.capacitor-app.nm-home .hv2-nl-track, body.capacitor-app.nm-home .hv2-rp-track {
    display: flex !important; gap: 12px; transform: none !important; margin: 0 !important;
    padding: 2px var(--nm-pad) 6px; width: max-content; min-width: 100%; box-sizing: border-box;
}
body.capacitor-app.nm-home .hv2-nl-slide, body.capacitor-app.nm-home .hv2-rp-slide { flex: 0 0 auto !important; max-width: none !important; width: 272px; padding: 0 !important; scroll-snap-align: start; }

/* Common card look */
body.capacitor-app.nm-home .hv2-nl-card, body.capacitor-app.nm-home .hv2-rp-card, body.capacitor-app.nm-home .hv2-fp-card, body.capacitor-app.nm-home .hv2-prop2-card, body.capacitor-app.nm-home .hv2-devshow2-card, body.capacitor-app.nm-home .hv2-tp-card {
    border: 1px solid var(--nm-line) !important; border-radius: 16px !important; box-shadow: 0 1px 2px rgba(18,22,49,.04) !important;
    background: #fff !important; overflow: hidden;
}

/* ==========================================================
   4. SECTION-BY-SECTION
   ========================================================== */

/* ---- Top Pick: big split card → swipeable photo-first card ---- */
body.capacitor-app.nm-home .hv2-tp-section .hv2-tp-head > div { min-width: 0; }
body.capacitor-app.nm-home .hv2-tp-card {
    flex: 0 0 86% !important; min-height: 0 !important; padding: 0 !important; gap: 0 !important;
    flex-direction: column-reverse !important; scroll-snap-align: start;
}
body.capacitor-app.nm-home .hv2-tp-right { width: 100% !important; flex: 0 0 auto !important; }
body.capacitor-app.nm-home .hv2-tp-photo { height: 176px !important; min-height: 0 !important; border-radius: 0 !important; aspect-ratio: auto !important; }
body.capacitor-app.nm-home .hv2-tp-tag { font-size: 10.5px !important; padding: 5px 9px !important; top: 10px !important; left: 10px !important; bottom: auto !important; }
body.capacitor-app.nm-home .hv2-tp-thumbs { bottom: 8px !important; right: 8px !important; left: auto !important; gap: 4px !important; }
body.capacitor-app.nm-home .hv2-tp-thumb { width: 34px !important; height: 26px !important; border-radius: 6px !important; }
body.capacitor-app.nm-home .hv2-tp-left { padding: 12px 14px 14px !important; width: 100% !important; flex: 0 0 auto !important; }
body.capacitor-app.nm-home .hv2-tp-dev-row { gap: 8px !important; margin-bottom: 8px !important; }
body.capacitor-app.nm-home .hv2-tp-dev-logo { width: 30px !important; height: 30px !important; font-size: 11px !important; }
body.capacitor-app.nm-home .hv2-tp-dev-row b { font-size: 12.5px !important; }
body.capacitor-app.nm-home .hv2-tp-dev-row a { font-size: 11.5px !important; }
body.capacitor-app.nm-home .hv2-tp-title { font-size: 16.5px !important; line-height: 1.25 !important; margin: 0 0 3px !important; font-family: 'Inter', sans-serif !important; font-weight: 800 !important; }
body.capacitor-app.nm-home .hv2-tp-loc { font-size: 12.5px !important; margin: 0 0 6px !important; }
body.capacitor-app.nm-home .hv2-tp-price { font-size: 18px !important; margin: 0 0 8px !important; }
body.capacitor-app.nm-home .hv2-tp-divider { display: none !important; }
body.capacitor-app.nm-home .hv2-tp-facts { display: flex !important; flex-wrap: wrap; gap: 6px !important; margin: 0 0 12px !important; grid-template-columns: none !important; }
body.capacitor-app.nm-home .hv2-tp-fact {
    display: inline-flex !important; flex-direction: row !important; align-items: center; gap: 5px !important;
    padding: 5px 8px !important; border-radius: 8px; background: #F4F6FB; border: 0 !important; min-width: 0 !important;
}
body.capacitor-app.nm-home .hv2-tp-fact svg { width: 13px !important; height: 13px !important; margin: 0 !important; }
body.capacitor-app.nm-home .hv2-tp-fact b { font-size: 11.5px !important; }
body.capacitor-app.nm-home .hv2-tp-fact small { display: none !important; }
body.capacitor-app.nm-home .hv2-tp-btn-row { display: flex !important; flex-direction: row !important; gap: 8px !important; margin: 0 !important; }
body.capacitor-app.nm-home .hv2-tp-btn-primary, body.capacitor-app.nm-home .hv2-tp-btn-outline {
    flex: 1 1 0 !important; height: 40px !important; min-height: 0 !important; padding: 0 8px !important;
    font-size: 12.5px !important; border-radius: 10px !important; justify-content: center; white-space: nowrap; width: auto !important;
}
body.capacitor-app.nm-home .hv2-tp-btn-primary svg, body.capacitor-app.nm-home .hv2-tp-btn-outline svg { width: 13px !important; height: 13px !important; }

/* ---- Exclusive New Launches ---- */
body.capacitor-app.nm-home .hv2-nl-head { display: block !important; padding-right: 84px !important; }
body.capacitor-app.nm-home .hv2-nl-body { display: block !important; }
body.capacitor-app.nm-home .hv2-nl-sidebar { display: contents !important; }
body.capacitor-app.nm-home .hv2-nl-features-v { display: none !important; }
body.capacitor-app.nm-home .hv2-nl-viewall-btn { position: absolute !important; top: 0; right: var(--nm-pad); }
body.capacitor-app.nm-home .hv2-nl-countdown-block {
    display: flex !important; flex-direction: row !important; align-items: center; justify-content: space-between; gap: 8px;
    text-align: left !important; margin: -4px var(--nm-pad) 12px !important; padding: 8px 10px 8px 12px !important;
    background: #FFF7E8 !important; border: 1px solid #F6E2B8 !important; border-radius: 12px !important;
}
body.capacitor-app.nm-home .hv2-nl-closes-label { font-size: 11.5px !important; font-weight: 600 !important; color: #8A5A0B !important; margin: 0 !important; line-height: 1.25; }
body.capacitor-app.nm-home .hv2-countdown { display: flex !important; gap: 4px !important; margin: 0 !important; }
body.capacitor-app.nm-home .hv2-countdown-box {
    min-width: 0 !important; width: auto !important; padding: 4px 6px !important; border-radius: 7px !important;
    background: #fff !important; box-shadow: none !important; border: 1px solid #F1DDB2 !important;
    display: flex !important; flex-direction: row !important; align-items: baseline; gap: 1px;
}
body.capacitor-app.nm-home .hv2-countdown-box b { font-size: 13px !important; color: #7A4B00 !important; line-height: 1 !important; }
body.capacitor-app.nm-home .hv2-countdown-box small { font-size: 0 !important; }
body.capacitor-app.nm-home .hv2-countdown-box:nth-child(1) small::after { content: 'd'; }
body.capacitor-app.nm-home .hv2-countdown-box:nth-child(2) small::after { content: 'h'; }
body.capacitor-app.nm-home .hv2-countdown-box:nth-child(3) small::after { content: 'm'; }
body.capacitor-app.nm-home .hv2-countdown-box:nth-child(4) small::after { content: 's'; }
body.capacitor-app.nm-home .hv2-countdown-box small::after { font-size: 10px; font-weight: 700; color: #A0712A; }

/* Project cards (New Launches / Recommended) — photo, then a tight info block, no button */
body.capacitor-app.nm-home .hv2-nl-card, body.capacitor-app.nm-home .hv2-rp-card { display: flex !important; flex-direction: column; width: 100%; min-height: 0 !important; height: auto !important; }
body.capacitor-app.nm-home .hv2-nl-card-img, body.capacitor-app.nm-home .hv2-rp-card-img { height: 150px !important; min-height: 0 !important; border-radius: 0 !important; margin: 0 !important; }
body.capacitor-app.nm-home .hv2-nl-card-body, body.capacitor-app.nm-home .hv2-rp-card-body { padding: 10px 12px 12px !important; gap: 0 !important; }
body.capacitor-app.nm-home .hv2-nl-card-body > b, body.capacitor-app.nm-home .hv2-rp-card-body > b {
    font-size: 14.5px !important; line-height: 1.3 !important; margin: 0 0 2px !important; display: block;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
body.capacitor-app.nm-home .hv2-nl-card-loc { font-size: 12px !important; margin: 0 0 6px !important; }
body.capacitor-app.nm-home .hv2-nl-card-price, body.capacitor-app.nm-home .hv2-rp-card-price { font-size: 16px !important; margin: 4px 0 1px !important; }
body.capacitor-app.nm-home .hv2-nl-card-bhk, body.capacitor-app.nm-home .hv2-rp-card-bhk { font-size: 12px !important; color: var(--nm-muted) !important; margin: 0 !important;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.capacitor-app.nm-home .hv2-nl-card-facts, body.capacitor-app.nm-home .hv2-rp-card-facts, body.capacitor-app.nm-home .hv2-nl-card-btn { display: none !important; }
body.capacitor-app.nm-home .hv2-nl-card-badge { font-size: 10.5px !important; padding: 4px 8px !important; top: 10px !important; left: 10px !important; border-radius: 6px !important; }
body.capacitor-app.nm-home .hv2-nl-card-tag { font-size: 10.5px !important; padding: 4px 8px !important; left: 10px !important; bottom: 10px !important; }
body.capacitor-app.nm-home .hv2-nl-card-heart, body.capacitor-app.nm-home .hv2-rp-card-heart, body.capacitor-app.nm-home .hv2-fp-heart { width: 32px !important; height: 32px !important; top: 8px !important; right: 8px !important; }
body.capacitor-app.nm-home .hv2-nl-card-heart svg, body.capacitor-app.nm-home .hv2-rp-card-heart svg, body.capacitor-app.nm-home .hv2-fp-heart svg { width: 16px !important; height: 16px !important; }
body.capacitor-app.nm-home .hv2-rp-card-loc { font-size: 11px !important; padding: 4px 8px !important; left: 10px !important; bottom: 10px !important; }

/* ---- Featured Projects ---- */
body.capacitor-app.nm-home .hv2-section-head .hv2-head-row { display: contents !important; }
body.capacitor-app.nm-home .hv2-section-head:has(.hv2-filter-tabs) { flex-wrap: wrap !important; }
body.capacitor-app.nm-home .hv2-section-head:has(.hv2-filter-tabs) > div:first-child { flex: 1 1 0; min-width: 0; }
body.capacitor-app.nm-home .hv2-filter-tabs {
    order: 3; flex: 0 0 calc(100% + 2 * var(--nm-pad)); display: flex !important; flex-wrap: nowrap !important; gap: 8px !important;
    overflow-x: auto; scrollbar-width: none; margin: 4px calc(-1 * var(--nm-pad)) 0 !important; padding: 0 var(--nm-pad) !important;
    background: none !important; border: 0 !important;
}
body.capacitor-app.nm-home .hv2-filter-tabs::-webkit-scrollbar { display: none; }
body.capacitor-app.nm-home .hv2-filter-tabs a {
    flex: 0 0 auto; padding: 7px 13px !important; border-radius: 16px !important; font-size: 12.5px !important; font-weight: 600 !important;
    border: 1px solid var(--nm-line) !important; background: #fff !important; color: var(--nm-text) !important; white-space: nowrap; box-shadow: none !important;
}
body.capacitor-app.nm-home .hv2-filter-tabs a.active { background: var(--nm-ink) !important; border-color: var(--nm-ink) !important; color: #fff !important; }
body.capacitor-app.nm-home #hv2FeaturedRail .hv2-fp-card { flex: 0 0 256px !important; scroll-snap-align: start; }
body.capacitor-app.nm-home .hv2-fp-img { height: 150px !important; min-height: 0 !important; }
body.capacitor-app.nm-home .hv2-fp-body { padding: 10px 12px 12px !important; gap: 0 !important; }
body.capacitor-app.nm-home .hv2-fp-loc { font-size: 11.5px !important; margin-bottom: 2px !important; }
body.capacitor-app.nm-home .hv2-fp-body > b { font-size: 14.5px !important; line-height: 1.3 !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
body.capacitor-app.nm-home .hv2-fp-price { font-size: 16px !important; margin: 4px 0 1px !important; }
body.capacitor-app.nm-home .hv2-fp-bhk { font-size: 12px !important; color: var(--nm-muted) !important; }
body.capacitor-app.nm-home .hv2-fp-stats { margin-top: 8px !important; gap: 6px !important; flex-wrap: wrap; }
body.capacitor-app.nm-home .hv2-fp-stats span { font-size: 11px !important; padding: 4px 7px !important; border-radius: 7px !important; background: #F4F6FB !important; }
body.capacitor-app.nm-home .hv2-fp-explore-btn { display: none !important; }
body.capacitor-app.nm-home .hv2-fp-badge, body.capacitor-app.nm-home .hv2-fp-premium { font-size: 10px !important; padding: 4px 8px !important; border-radius: 6px !important; }

/* ---- Featured Developers ---- */
body.capacitor-app.nm-home .hv2-devshow2-card { flex: 0 0 84% !important; min-width: 0 !important; scroll-snap-align: start; }
body.capacitor-app.nm-home .hv2-devshow2-imgwrap { height: auto !important; }
body.capacitor-app.nm-home .hv2-devshow2-photo { height: 104px !important; min-height: 0 !important; }
body.capacitor-app.nm-home .hv2-devshow2-choice-badge { font-size: 10px !important; padding: 4px 8px !important; top: 10px !important; left: 10px !important; }
body.capacitor-app.nm-home .hv2-devshow2-logo { width: 56px !important; height: 56px !important; border-radius: 14px !important; left: 14px !important; bottom: -24px !important; top: auto !important; }
body.capacitor-app.nm-home .hv2-devshow2-body { padding: 32px 14px 14px !important; }
body.capacitor-app.nm-home .hv2-devshow2-name b { font-size: 16px !important; }
body.capacitor-app.nm-home .hv2-devshow2-meta { font-size: 12px !important; margin: 2px 0 6px !important; }
body.capacitor-app.nm-home .hv2-devshow2-desc { font-size: 12.5px !important; line-height: 1.45 !important; margin: 0 0 10px !important;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 0 !important; }
body.capacitor-app.nm-home .hv2-devshow2-stats { padding: 8px 0 !important; margin: 0 0 10px !important; gap: 0 !important; }
body.capacitor-app.nm-home .hv2-devshow2-stats > div { gap: 1px !important; }
body.capacitor-app.nm-home .hv2-devshow2-stats svg { width: 15px !important; height: 15px !important; }
body.capacitor-app.nm-home .hv2-devshow2-stats b { font-size: 14px !important; }
body.capacitor-app.nm-home .hv2-devshow2-stats small { font-size: 11px !important; }
body.capacitor-app.nm-home .hv2-devshow2-projects-head { margin-bottom: 8px !important; font-size: 12.5px !important; }
body.capacitor-app.nm-home .hv2-devshow2-projects-head a { font-size: 12px !important; }
body.capacitor-app.nm-home .hv2-devshow2-proj-imgwrap { height: 70px !important; }
body.capacitor-app.nm-home .hv2-devshow2-proj b { font-size: 12px !important; }
body.capacitor-app.nm-home .hv2-devshow2-proj span { font-size: 11.5px !important; }

/* ---- Prominent Properties ---- */
body.capacitor-app.nm-home .hv2-prop2-pills {
    display: flex !important; flex-wrap: nowrap !important; gap: 8px !important; overflow-x: auto; scrollbar-width: none;
    padding: 0 var(--nm-pad) !important; margin: -2px 0 12px !important;
}
body.capacitor-app.nm-home .hv2-prop2-pills::-webkit-scrollbar { display: none; }
body.capacitor-app.nm-home .hv2-prop2-pill {
    flex: 0 0 auto; padding: 7px 13px !important; border-radius: 16px !important; font-size: 12.5px !important; font-weight: 600 !important;
    border: 1px solid var(--nm-line) !important; background: #fff !important; color: var(--nm-text) !important; box-shadow: none !important;
}
body.capacitor-app.nm-home .hv2-prop2-pill.active { background: var(--nm-ink) !important; border-color: var(--nm-ink) !important; color: #fff !important; }
body.capacitor-app.nm-home .hv2-prop2-card { flex: 0 0 262px !important; min-width: 0 !important; scroll-snap-align: start; }
body.capacitor-app.nm-home .hv2-prop2-imgwrap { height: 150px !important; }
body.capacitor-app.nm-home .hv2-prop2-body { padding: 10px 12px 12px !important; }
body.capacitor-app.nm-home .hv2-prop2-loc { font-size: 11.5px !important; margin: 0 0 2px !important; }
body.capacitor-app.nm-home .hv2-prop2-titlerow b { font-size: 14.5px !important; }
body.capacitor-app.nm-home .hv2-prop2-price { font-size: 16px !important; margin: 4px 0 6px !important; }
body.capacitor-app.nm-home .hv2-prop2-chips { margin-bottom: 8px !important; }
body.capacitor-app.nm-home .hv2-prop2-chip { font-size: 10.5px !important; padding: 3px 7px !important; }
body.capacitor-app.nm-home .hv2-prop2-broker { padding-top: 8px !important; margin: 0 !important; }
body.capacitor-app.nm-home .hv2-prop2-cta { display: none !important; }

/* ---- NivaasMart Choice / Broker Choice bands ---- */
body.capacitor-app.nm-home .hv2-managed-sections > section.hv2-nmc-section { padding: 18px 0 !important; margin: 0 0 8px !important; }
body.capacitor-app.nm-home .hv2-managed-sections > section.hv2-nmc-section { background: linear-gradient(135deg, #1E2A78 0%, #3B3FC9 60%, #5B47DB 100%) !important; }
body.capacitor-app.nm-home .hv2-nmc-head h2 { font-size: 17.5px !important; font-weight: 800 !important; color: #fff !important; margin: 0 0 2px !important; flex-wrap: wrap; }
body.capacitor-app.nm-home .hv2-nmc-head h2 svg { width: 18px; height: 18px; }
body.capacitor-app.nm-home .hv2-nmc-tagline { font-size: 12.5px !important; margin: 2px 0 0 !important; color: #fff !important; }
body.capacitor-app.nm-home .hv2-nmc-sub { font-size: 12px !important; margin: 2px 0 0 !important; opacity: .85; }
body.capacitor-app.nm-home .hv2-nmc-viewall { color: #fff !important; }
body.capacitor-app.nm-home .hv2-marquee-track { animation: none !important; display: contents !important; }
body.capacitor-app.nm-home .hv2-nmc-card { flex: 0 0 238px !important; scroll-snap-align: start; }
body.capacitor-app.nm-home .hv2-bkrc-card { flex: 0 0 250px !important; scroll-snap-align: start; }

/* ---- Handpicked Projects ---- */
body.capacitor-app.nm-home .hv2-handpick-card { flex: 0 0 256px !important; scroll-snap-align: start; }
body.capacitor-app.nm-home .hv2-handpick-photo { height: 150px !important; }
body.capacitor-app.nm-home .hv2-handpick-card { border: 1px solid var(--nm-line) !important; border-radius: 16px !important; overflow: hidden; background: #fff; box-shadow: none !important; }
body.capacitor-app.nm-home .hv2-handpick-img { border: 0 !important; border-radius: 0 !important; }
body.capacitor-app.nm-home .hv2-handpick-logo { width: 42px !important; height: 42px !important; bottom: -16px !important; left: 12px !important; font-size: 12px !important; }
body.capacitor-app.nm-home .hv2-handpick-body { padding: 22px 12px 12px !important; border: 0 !important; }
body.capacitor-app.nm-home .hv2-handpick-body b { font-size: 14.5px !important; }
body.capacitor-app.nm-home .hv2-handpick-body .hv2-loc { font-size: 12px !important; }
body.capacitor-app.nm-home .hv2-handpick-body .hv2-price { font-size: 15px !important; }

/* ---- "How can we help you today?" → 2×2 action tiles ---- */
body.capacitor-app.nm-home .hv2-section-head[style*="text-align:center"] { display: block !important; }
body.capacitor-app.nm-home .hv2-cta-grid { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 10px !important; padding: 0 var(--nm-pad) !important; }
body.capacitor-app.nm-home .hv2-cta-card { border: 1px solid var(--nm-line) !important; border-radius: 14px !important; box-shadow: none !important; }
body.capacitor-app.nm-home .hv2-cta-photo { height: auto !important; background: none !important; padding: 12px 12px 0 !important; overflow: visible !important; }
body.capacitor-app.nm-home .hv2-cta-photo img { display: none !important; }
body.capacitor-app.nm-home .hv2-cta-icon {
    position: static !important; transform: none !important; width: 38px !important; height: 38px !important;
    border-radius: 11px !important; box-shadow: none !important; background: var(--nm-brand-soft) !important; margin: 0 !important;
}
body.capacitor-app.nm-home .hv2-cta-icon svg { width: 19px !important; height: 19px !important; }
body.capacitor-app.nm-home .hv2-cta-body { padding: 8px 12px 12px !important; gap: 2px !important; text-align: left !important; }
body.capacitor-app.nm-home .hv2-cta-body > b { font-size: 13.5px !important; line-height: 1.25 !important; }
body.capacitor-app.nm-home .hv2-cta-body > span:not(.hv2-cta-btn) { font-size: 11.5px !important; line-height: 1.35 !important;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.capacitor-app.nm-home .hv2-cta-checks { display: none !important; }
body.capacitor-app.nm-home .hv2-cta-btn { background: none !important; color: var(--nm-brand) !important; padding: 0 !important; margin-top: 6px !important;
    font-size: 12px !important; font-weight: 700 !important; justify-content: flex-start !important; border: 0 !important; min-height: 0 !important; height: auto !important; box-shadow: none !important; }
body.capacitor-app.nm-home .hv2-cta-btn svg { width: 12px !important; height: 12px !important; }

/* ---- Explore Cities ---- */
body.capacitor-app.nm-home .hv2-explore-card { flex: 0 0 132px !important; height: 158px !important; border-radius: 14px !important; padding: 10px !important; }
body.capacitor-app.nm-home .hv2-explore-card b { font-size: 14px !important; }
body.capacitor-app.nm-home .hv2-explore-card span { font-size: 11px !important; }
body.capacitor-app.nm-home .hv2-explore-featured { font-size: 9px !important; padding: 3px 6px !important; }
body.capacitor-app.nm-home .hv2-explore-pin { display: none !important; }

/* ---- Blog rows ---- */
body.capacitor-app.nm-home .hv2-blog-grid > * { flex: 0 0 250px !important; scroll-snap-align: start; min-width: 0; }
body.capacitor-app.nm-home .hv2-blog-head > div { min-width: 0; }

/* ---- Why NivaasMart ---- */
body.capacitor-app.nm-home .hv2-why-banner { margin: 0 var(--nm-pad) !important; padding: 16px !important; border-radius: 16px !important; gap: 14px !important; }
body.capacitor-app.nm-home .hv2-why-text h3 { font-size: 17px !important; line-height: 1.3 !important; margin: 0 0 4px !important; }
body.capacitor-app.nm-home .hv2-why-text p { font-size: 12.5px !important; line-height: 1.45 !important; }
body.capacitor-app.nm-home .hv2-why-features { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 12px !important; width: 100%; }
body.capacitor-app.nm-home .hv2-why-feature { text-align: left !important; align-items: flex-start !important; max-width: none !important; gap: 4px !important; }
body.capacitor-app.nm-home .hv2-why-feature-icon { width: 38px !important; height: 38px !important; margin: 0 0 4px !important; }
body.capacitor-app.nm-home .hv2-why-feature b { font-size: 13px !important; }
body.capacitor-app.nm-home .hv2-why-feature span { font-size: 11.5px !important; line-height: 1.35 !important; }

/* ---- Stats ---- */
body.capacitor-app.nm-home .hv2-stats-row { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 10px !important; padding: 0 var(--nm-pad) !important; }
body.capacitor-app.nm-home .hv2-stat-item { background: #F7F8FC; border-radius: 14px; padding: 12px !important; gap: 10px !important; min-width: 0 !important; }
body.capacitor-app.nm-home .hv2-stat-item b { font-size: 16px !important; }
body.capacitor-app.nm-home .hv2-stat-item span { font-size: 11.5px !important; }
body.capacitor-app.nm-home .hv2-stat-item .hv2-fic { width: 36px !important; height: 36px !important; flex: 0 0 36px; }

/* ---- Empty-city notice ---- */
body.capacitor-app.nm-home .hv2-empty-city { flex-direction: column !important; align-items: flex-start !important; padding: 14px !important; margin: 0 var(--nm-pad) !important; gap: 10px !important; }

/* ==========================================================
   5. APP FOOTER + bottom-nav spacing
   ========================================================== */
body.capacitor-app.nm-home .nm-appfoot { order: 999; padding: 18px var(--nm-pad) 26px; text-align: center; }
body.capacitor-app.nm-home .nm-appfoot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-bottom: 8px; }
body.capacitor-app.nm-home .nm-appfoot-links a { font-size: 12.5px; font-weight: 600; color: var(--nm-muted); text-decoration: none; }
body.capacitor-app.nm-home .nm-appfoot p { margin: 0; font-size: 11.5px; color: #9AA0B4; }
body.capacitor-app.nm-home .hv2 { padding-bottom: 12px; }

/* ==========================================================
   6. SMART SUGGESTIONS — full-screen card stack after the launch animation
   ========================================================== */
body.capacitor-app.nm-home .nmsg {
    position: fixed; inset: 0; z-index: 3000; display: flex; flex-direction: column;
    background: linear-gradient(180deg, #F5F8FF 0%, #E7EEFF 100%);
    transform: translateY(100%); transition: transform .32s cubic-bezier(.2,.8,.2,1);
}
body.capacitor-app.nm-home .nmsg.in { transform: none; }
body.capacitor-app.nm-home .nmsg-head { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; padding: calc(var(--nm-sat) + 10px) 8px 12px; }
body.capacitor-app.nm-home .nmsg-hbtn { width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; color: #3A3F58; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
body.capacitor-app.nm-home .nmsg-hbtn:active { background: rgba(37,99,235,.1); }
body.capacitor-app.nm-home .nmsg-title { flex: 1; min-width: 0; text-align: center; }
body.capacitor-app.nm-home .nmsg-title b { display: block; font: 800 20px/1.25 'Inter', sans-serif; color: #121631; letter-spacing: -.2px; }
body.capacitor-app.nm-home .nmsg-title small { display: block; margin-top: 3px; font-size: 13px; color: #5E6682; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.capacitor-app.nm-home .nmsg-scroll {
    flex: 1 1 auto; min-height: 0; overflow-y: auto; scroll-snap-type: y mandatory; -webkit-overflow-scrolling: touch;
    padding: 6px 16px calc(24px + env(safe-area-inset-bottom, 0px)); scroll-padding-top: 6px; overscroll-behavior: contain;
}
body.capacitor-app.nm-home .nmsg-card {
    scroll-snap-align: start; scroll-snap-stop: always; margin: 0 0 18px; padding: 8px; border-radius: 26px; background: #fff;
    border: 1px solid #E3E8F5; box-shadow: 0 12px 30px rgba(30,60,160,.10);
    transition: filter .3s ease, opacity .3s ease, transform .3s ease; filter: blur(3px); opacity: .6; transform: scale(.97);
}
body.capacitor-app.nm-home .nmsg-card.on { filter: none; opacity: 1; transform: none; }
body.capacitor-app.nm-home .nmsg-media { position: relative; height: 250px; border-radius: 20px; overflow: hidden; background: #EEF2FA; }
body.capacitor-app.nm-home .nmsg-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
body.capacitor-app.nm-home .nmsg-track::-webkit-scrollbar { display: none; }
body.capacitor-app.nm-home .nmsg-slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; }
body.capacitor-app.nm-home .nmsg-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.capacitor-app.nm-home .nmsg-noimg { height: 100%; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, #2A6BF2, #1E4FD0); }
body.capacitor-app.nm-home .nmsg-rera { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 11px; border-radius: 15px;
    background: rgba(18,22,49,.82); color: #fff; font: 700 12.5px 'Inter', sans-serif; letter-spacing: .02em; }
body.capacitor-app.nm-home .nmsg-rera svg { color: #34D399; }
body.capacitor-app.nm-home .nmsg-heart { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%;
    background: rgba(255,255,255,.92); color: #121631; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
body.capacitor-app.nm-home .nmsg-heart.saved { color: #E11D48; }
body.capacitor-app.nm-home .nmsg-heart.saved svg { fill: currentColor; }
body.capacitor-app.nm-home .nmsg-count { position: absolute; left: 12px; bottom: 12px; height: 28px; padding: 0 10px; border-radius: 14px; background: rgba(18,22,49,.82); color: #fff;
    font: 600 12.5px/28px 'Inter', sans-serif; }
body.capacitor-app.nm-home .nmsg-count b { font-weight: 700; }
body.capacitor-app.nm-home .nmsg-dots { position: absolute; left: 70px; bottom: 23px; display: flex; gap: 5px; }
body.capacitor-app.nm-home .nmsg-dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.6); transition: width .2s; }
body.capacitor-app.nm-home .nmsg-dots i.on { width: 16px; background: #fff; }
body.capacitor-app.nm-home .nmsg-cap { position: absolute; right: 12px; bottom: 12px; max-width: 55%; height: 28px; padding: 0 11px; border-radius: 14px; background: rgba(18,22,49,.82);
    color: #fff; font: 600 12px/28px 'Inter', sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.capacitor-app.nm-home .nmsg-body { padding: 14px 10px 8px; }
body.capacitor-app.nm-home .nmsg-meta { margin: 0 0 8px; font-size: 13.5px; color: #5E6682; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
body.capacitor-app.nm-home .nmsg-meta b { color: #121631; }
body.capacitor-app.nm-home .nmsg-meta .dot { color: #A0A6BC; }
body.capacitor-app.nm-home .nmsg-body h3 { margin: 0; font: 800 21px/1.25 'Inter', sans-serif; color: #121631; letter-spacing: -.2px; }
body.capacitor-app.nm-home .nmsg-loc { margin: 4px 0 10px; font-size: 14px; color: #5E6682; }
body.capacitor-app.nm-home .nmsg-price { margin: 0; font: 800 22px/1.25 'Inter', sans-serif; color: #2563EB; }
body.capacitor-app.nm-home .nmsg-bhk { margin: 2px 0 0; font-size: 14px; color: #3A3F58; }
body.capacitor-app.nm-home .nmsg-cfgs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 12px -10px 0; padding: 0 10px 2px; }
body.capacitor-app.nm-home .nmsg-cfgs::-webkit-scrollbar { display: none; }
body.capacitor-app.nm-home .nmsg-cfg { flex: 0 0 auto; min-width: 150px; padding: 10px 12px; border-radius: 14px; border: 1px solid #DCE3F2; background: #fff; }
body.capacitor-app.nm-home .nmsg-cfg b { display: block; font-size: 15px; color: #121631; }
body.capacitor-app.nm-home .nmsg-cfg small { display: block; margin-top: 3px; font-size: 11.5px; color: #6B7185; }
body.capacitor-app.nm-home .nmsg-cfg span { display: block; font-size: 13px; color: #2A2E45; }
body.capacitor-app.nm-home .nmsg-cfg strong { display: block; margin-top: 6px; font-size: 14.5px; color: #121631; }
body.capacitor-app.nm-home .nmsg-cta {
    margin-top: 16px; height: 52px; border-radius: 15px; display: flex; align-items: center; justify-content: center; gap: 8px;
    background: #2563EB; color: #fff !important; font: 700 16px 'Inter', sans-serif; text-decoration: none; box-shadow: 0 8px 18px rgba(37,99,235,.3);
}
body.capacitor-app.nm-home .nmsg-cta:active { transform: scale(.98); }
body.capacitor-app.nm-home .nmsg-end { padding: 6px 0 10px; text-align: center; }
body.capacitor-app.nm-home .nmsg-end button { height: 46px; padding: 0 22px; border-radius: 23px; border: 1px solid #C9DAFB; background: #fff; color: #2563EB; font: 700 14.5px 'Inter', sans-serif; }
body.capacitor-app.nm-home .nmsg-ctas { display: flex; gap: 10px; margin-top: 16px; }
body.capacitor-app.nm-home .nmsg-ctas .nmsg-cta { flex: 1; margin-top: 0; }
body.capacitor-app.nm-home .nmsg-wa { flex: 0 0 52px; height: 52px; border-radius: 15px; display: inline-flex; align-items: center; justify-content: center; background: #E8F8EE; color: #25D366; border: 1px solid #BFE9CF; }

/* ==========================================================
   7. EQUAL CARD SIZES in every swipe row
   Every card in a row now has the same width AND the same height
   (long names / extra chips / missing photos can't stretch one card),
   and the buttons always sit on the card's bottom edge.
   ========================================================== */
body.capacitor-app.nm-home .hv2-tp-rail, body.capacitor-app.nm-home .hv2-nl-track, body.capacitor-app.nm-home .hv2-rp-track, body.capacitor-app.nm-home #hv2FeaturedRail, body.capacitor-app.nm-home .hv2-devshow2-rail,
body.capacitor-app.nm-home .hv2-prop2-rail, body.capacitor-app.nm-home .hv2-handpick-rail, body.capacitor-app.nm-home .hv2-nmc-rail, body.capacitor-app.nm-home .hv2-blog-grid { align-items: stretch !important; }

/* Top Pick: fixed width, full-height column, buttons pinned to the bottom */
body.capacitor-app.nm-home .hv2-tp-card {
    flex: 0 0 calc(100% - 44px) !important; width: calc(100% - 44px) !important; max-width: calc(100% - 44px) !important; min-width: 0 !important;
    height: auto !important; display: flex !important; flex-direction: column-reverse !important; justify-content: flex-end;
}
body.capacitor-app.nm-home .hv2-tp-card > * { min-width: 0 !important; }
body.capacitor-app.nm-home .hv2-tp-right { flex: 0 0 auto !important; }
body.capacitor-app.nm-home .hv2-tp-photo { height: 180px !important; }
body.capacitor-app.nm-home .hv2-tp-left { flex: 1 1 auto !important; display: flex !important; flex-direction: column !important; min-width: 0 !important; }
body.capacitor-app.nm-home .hv2-tp-left > * { min-width: 0; max-width: 100%; }
body.capacitor-app.nm-home .hv2-tp-title, body.capacitor-app.nm-home .hv2-tp-loc, body.capacitor-app.nm-home .hv2-tp-dev-row b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
body.capacitor-app.nm-home .hv2-tp-dev-row > div, body.capacitor-app.nm-home .hv2-tp-dev-row > span { min-width: 0; }
body.capacitor-app.nm-home .hv2-tp-facts { max-height: 64px; overflow: hidden; }            /* at most two rows of chips */
body.capacitor-app.nm-home .hv2-tp-btn-row { margin-top: auto !important; padding-top: 4px; }
body.capacitor-app.nm-home .hv2-tp-btn-primary, body.capacitor-app.nm-home .hv2-tp-btn-outline { min-width: 0 !important; overflow: hidden; text-overflow: ellipsis; }
body.capacitor-app.nm-home .hv2-tp-btn-row > *:only-child { flex: 1 1 100% !important; }
body.capacitor-app.nm-home .hv2-tp-tag { right: auto !important; width: auto !important; max-width: calc(100% - 20px) !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Other project rows: same idea — card = full-height column, info block fills it */
body.capacitor-app.nm-home .hv2-nl-slide, body.capacitor-app.nm-home .hv2-rp-slide { display: flex !important; }
body.capacitor-app.nm-home .hv2-nl-card, body.capacitor-app.nm-home .hv2-rp-card, body.capacitor-app.nm-home #hv2FeaturedRail .hv2-fp-card, body.capacitor-app.nm-home .hv2-prop2-card, body.capacitor-app.nm-home .hv2-handpick-card, body.capacitor-app.nm-home .hv2-devshow2-card {
    display: flex !important; flex-direction: column !important; height: auto !important;
}
body.capacitor-app.nm-home .hv2-nl-card-body, body.capacitor-app.nm-home .hv2-rp-card-body, body.capacitor-app.nm-home .hv2-fp-body, body.capacitor-app.nm-home .hv2-prop2-body, body.capacitor-app.nm-home .hv2-handpick-body, body.capacitor-app.nm-home .hv2-devshow2-body { flex: 1 1 auto !important; min-width: 0; }
body.capacitor-app.nm-home .hv2-nl-card-img, body.capacitor-app.nm-home .hv2-rp-card-img, body.capacitor-app.nm-home .hv2-fp-img, body.capacitor-app.nm-home .hv2-prop2-imgwrap, body.capacitor-app.nm-home .hv2-handpick-photo { flex: 0 0 auto !important; }
body.capacitor-app.nm-home .hv2-tp-btn-primary, body.capacitor-app.nm-home .hv2-tp-btn-outline { font-size: 12px !important; padding: 0 6px !important; gap: 4px !important; }
body.capacitor-app.nm-home .nmsg.instant { transition: none !important; }
body.capacitor-app.nm-home .nm-city-gps {
    display: flex; align-items: center; gap: 12px; width: 100%; margin: 4px 0 6px; padding: 12px; border: 1px solid #C9DAFB; border-radius: 14px;
    background: #EAF1FF; color: #2563EB; text-align: left; font: inherit;
}
body.capacitor-app.nm-home .nm-city-gps span { display: flex; flex-direction: column; gap: 2px; }
body.capacitor-app.nm-home .nm-city-gps b { font-size: 14.5px; color: #1E4FD0; }
body.capacitor-app.nm-home .nm-city-gps small { font-size: 12px; color: #5E6682; }
/* A city with nothing live yet: the website's "just getting started here" card comes first, right under the search */
body.capacitor-app.nm-home .hv2 > section:has(.hv2-empty-city) { order: -27; background: var(--nm-surface) !important; padding: 4px 0 14px !important; margin: 0 !important; }
body.capacitor-app.nm-home .hv2-empty-city { border-radius: 16px !important; background: linear-gradient(135deg, #EAF1FF, #F6F9FF) !important; border: 1px solid #C9DAFB !important; box-shadow: none !important; }
body.capacitor-app.nm-home .hv2-empty-city-text b { font-size: 16px !important; color: #121631 !important; }
body.capacitor-app.nm-home .hv2-empty-city-text span { font-size: 13px !important; line-height: 1.5 !important; }
body.capacitor-app.nm-home .hv2-empty-city-cta { width: 100%; justify-content: center; background: #2563EB !important; border-radius: 12px !important; }
body.capacitor-app.nm-home .hv2-empty-city-nearby { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px var(--nm-pad) 0 !important; font-size: 12.5px; }
body.capacitor-app.nm-home .hv2-empty-city-nearby a { padding: 6px 12px; border-radius: 16px; border: 1px solid #E3E7F1; background: #fff; color: #2563EB; text-decoration: none; font-weight: 600; }

/* ---- Homes Picked for You (story cards) in the app ---- */
body.capacitor-app.nm-home .hv2-story-rail { padding: 2px var(--nm-pad) 6px !important; margin: 0 !important; gap: 12px !important; scroll-padding: 0 var(--nm-pad); }
body.capacitor-app.nm-home .hv2-story-card { flex: 0 0 82% !important; height: 390px !important; border-radius: 20px !important; box-shadow: 0 10px 24px rgba(15,23,42,.16) !important; scroll-snap-align: center; }
body.capacitor-app.nm-home .hv2-story-card:hover { transform: none !important; }
body.capacitor-app.nm-home .hv2-story-info { left: 18px !important; right: 18px !important; bottom: 18px !important; }
body.capacitor-app.nm-home .hv2-story-info h3 { font: 800 19px/1.25 'Inter', sans-serif !important; }
body.capacitor-app.nm-home .hv2-story-info p { font-size: 14px !important; }
body.capacitor-app.nm-home .hv2-story-info strong { font-size: 20px !important; }

/* ---- News replaces the Blog in the app ---- */
body.capacitor-app.nm-home .nm-blog-sec { display: none !important; }
body.capacitor-app.nm-home .nm-news-sec:not(:has(.nm-news-rail)) { display: none !important; }
body.capacitor-app.nm-home .nm-news-rail { display: flex; flex-direction: column; gap: 10px; padding: 0 var(--nm-pad); }
body.capacitor-app.nm-home .nm-news-card { display: flex; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--nm-line); border-radius: 16px; background: #fff; text-decoration: none; color: var(--nm-text); }
body.capacitor-app.nm-home .nm-news-card .im { width: 92px; height: 74px; border-radius: 12px; overflow: hidden; flex: 0 0 92px; background: linear-gradient(135deg, #2A6BF2, #1E4FD0); display: flex; align-items: center; justify-content: center; }
body.capacitor-app.nm-home .nm-news-card .im img { width: 100%; height: 100%; object-fit: cover; }
body.capacitor-app.nm-home .nm-news-card .im i { font-style: normal; color: #fff; font: 800 11px/1.25 'Inter', sans-serif; text-align: center; padding: 6px; }
body.capacitor-app.nm-home .nm-news-card .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
body.capacitor-app.nm-home .nm-news-card small { font-size: 11.5px; color: var(--nm-muted); font-weight: 600; }
body.capacitor-app.nm-home .nm-news-card b { font-size: 14.5px; line-height: 1.35; color: var(--nm-ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
body.capacitor-app.nm-home .nm-news-card em { font-style: normal; font-size: 12.5px; color: var(--nm-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.capacitor-app.nm-home .nm-news-card.lead { flex-direction: column; align-items: stretch; padding: 0; overflow: hidden; }
body.capacitor-app.nm-home .nm-news-card.lead .im { width: 100%; height: 170px; flex: 0 0 auto; border-radius: 0; }
body.capacitor-app.nm-home .nm-news-card.lead .im i { font-size: 18px; }
body.capacitor-app.nm-home .nm-news-card.lead .tx { padding: 12px 14px 14px; }
body.capacitor-app.nm-home .nm-news-card.lead b { font-size: 16.5px; }
