

:root {
    --bg-ivory: #FAF8F5;
    --bg-sand: #F3EFE6;
    --bg-card: #FFFFFF;
    --surface: #FFFFFF;
    --border-warm: #E6E1D6;
    --border-strong: #D5CEBF;
    --border: #E6E1D6;

    --emerald-50: #EEF7F3;
    --emerald-100: #D5EDE3;
    --emerald-200: #ADE0CA;
    --emerald-600: #0D684D;
    --emerald-700: #0A4D3C;
    --emerald-800: #07382B;
    --emerald-900: #05261D;

    --brand-50: #EEF7F3;
    --brand-100: #D5EDE3;
    --brand-200: #ADE0CA;
    --brand-600: #0D684D;
    --brand-700: #0A4D3C;
    --brand-800: #07382B;
    --brand-900: #05261D;

    --terra-50: #FDF3EF;
    --terra-100: #FBE3D8;
    --terra-500: #D95D39;
    --terra-600: #C04825;
    --terra-700: #9C3618;

    --gold-50: #FFFBEB;
    --gold-100: #FEF3C7;
    --gold-500: #D97706;
    --gold-700: #92400E;

    --amber-50: #FFFBEB;
    --amber-100: #FEF3C7;
    --amber-500: #D97706;
    --amber-700: #92400E;

    --danger-50: #FEF2F2;
    --danger-600: #DC2626;

    --ink-950: #121316;
    --ink-900: #1C1D21;
    --ink-700: #3F414A;
    --ink-500: #686B78;
    --ink-400: #9194A1;

    --slate-900: #0F172A;
    --slate-800: #1E293B;
    --slate-700: #334155;
    --slate-500: #64748B;
    --slate-400: #94A3B8;
    --slate-300: #CBD5E1;
    --text-muted: #64748B;

    --radius: 14px;
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --shadow-soft: 0 2px 10px rgba(28, 29, 33, 0.04), 0 1px 3px rgba(28, 29, 33, 0.03);
    --shadow-card: 0 10px 30px -5px rgba(28, 29, 33, 0.07), 0 4px 12px -2px rgba(28, 29, 33, 0.04);
    --shadow-float: 0 22px 48px -12px rgba(10, 77, 60, 0.14), 0 8px 20px -6px rgba(28, 29, 33, 0.06);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-ivory);
    color: var(--ink-900);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 64px;
}
@media (min-width: 769px) { body { padding-bottom: 0; } }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--ink-950);
    letter-spacing: -0.025em;
    line-height: 1.22;
}
.serif-italic { font-family: 'Fraunces', Georgia, serif; font-style: italic; font-weight: 600; }
.font-mono { font-family: 'JetBrains Mono', monospace; }
a { color: inherit; text-decoration: none; transition: all 0.2s ease; }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 768px) { .container { padding: 0 1.75rem; } }

.top-strip {
    background-color: var(--emerald-900);
    color: #EAE6DF;
    font-size: 0.78rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
}
.top-strip-inner {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}
.top-strip-left {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-weight: 500;
    min-width: 0;
    width: 100%;
    flex: 1;
}
.pk-pill {
    background: var(--emerald-600); color: #fff; font-weight: 700; font-size: 0.68rem;
    padding: 0.2rem 0.65rem; border-radius: var(--radius-full); letter-spacing: 0.03em;
    text-transform: uppercase; white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.top-strip-marquee {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}
.top-strip-marquee-track {
    display: flex;
    width: max-content;
    align-items: center;
}
.top-strip-marquee-set {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding-right: 2.5rem;
}
.top-strip-marquee-item {
    white-space: nowrap;
    color: #EAE6DF;
    display: inline;
}
.top-strip-marquee-item strong { color: #A7F3D0; font-weight: 700; }

.top-strip-marquee-set[aria-hidden="true"] { display: none; }
.top-strip-marquee-track { animation: none; }
@keyframes topStripScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (max-width: 768px) {
    .top-strip-left { gap: 0.65rem; }

    .top-strip-marquee {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -webkit-mask-image: none;
        mask-image: none;
    }
    .top-strip-marquee::-webkit-scrollbar { display: none; }
    .top-strip-marquee-set[aria-hidden="true"] { display: none !important; }
    .top-strip-marquee-track {
        display: flex;
        width: max-content;
        animation: none !important;
        will-change: auto;
    }
}
@media (prefers-reduced-motion: reduce) {
    .top-strip-marquee-track { animation: none !important; }
}

.top-strip-right { display: flex; align-items: center; gap: 0.85rem; font-size: 0.75rem; color: #A7F3D0; font-weight: 600; }

.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(250, 248, 245, 0.96);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-warm);
}
.header-inner {
    display: flex; justify-content: space-between; align-items: center;
    min-height: 70px; padding: 0.45rem 0; gap: 0.75rem;
}
.brand-logo { display: flex; align-items: center; gap: 0.65rem; flex-shrink: 0; }
.brand-emblem, .logo-mark {
    width: 40px; height: 40px; border-radius: 11px;
    background: var(--emerald-700); color: #FAF8F5;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem; box-shadow: 0 4px 12px rgba(10, 77, 60, 0.22);
    position: relative; flex-shrink: 0;
}
.brand-emblem::after {
    content: ""; position: absolute; bottom: -2px; right: -2px;
    width: 11px; height: 11px; background: var(--terra-500);
    border: 2px solid var(--bg-ivory); border-radius: 50%;
}

.brand-emblem.brand-emblem-logo {
    background: var(--emerald-700) !important;
    box-shadow: 0 4px 12px rgba(10, 77, 60, 0.22);
    border-radius: 11px;
    overflow: hidden;
}
.brand-emblem.brand-emblem-logo::after {
    display: none !important;
}
.brand-logo-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}
.brand-name {
    font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.35rem;
    font-weight: 800; color: var(--ink-950); letter-spacing: -0.03em; line-height: 1.05;
}
.brand-name em { font-family: 'Fraunces', Georgia, serif; font-style: italic; color: var(--emerald-700); font-weight: 700; }
.brand-tagline {
    display: block; font-size: 0.64rem; font-weight: 700; color: var(--ink-500);
    letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap;
}
.desktop-nav { display: flex; align-items: center; gap: 0.2rem; flex-wrap: nowrap; }
.nav-item {
    padding: 0.48rem 0.78rem; border-radius: var(--radius-full);
    font-size: 0.86rem; font-weight: 600; color: var(--ink-700);
    display: inline-flex; align-items: center; gap: 0.35rem; white-space: nowrap;
}
.nav-item:hover, .nav-item.active { background: var(--bg-sand); color: var(--emerald-800); }
.header-right { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.user-verified-pill {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: var(--emerald-50); border: 1px solid var(--emerald-200);
    color: var(--emerald-800); padding: 0.38rem 0.75rem;
    border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 700; white-space: nowrap;
}
.mobile-menu-btn {
    display: none; width: 40px; height: 40px; border-radius: var(--radius-sm);
    border: 1px solid var(--border-warm); background: #FFFFFF; color: var(--ink-900);
    font-size: 1.1rem; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0;
}
@media (max-width: 1080px) {
    .desktop-nav { display: none; }
    .mobile-menu-btn { display: inline-flex; }
}
@media (max-width: 640px) {
    .top-strip-right { display: none; }
    .brand-tagline { font-size: 0.56rem; }
    .header-right .hide-xs { display: none; }
}

.mobile-notif-wrap {
    display: none;
    position: relative;
    flex-shrink: 0;
}
.mobile-notif-btn {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-warm);
    background: #FFFFFF;
    color: var(--ink-900);
    font-size: 1.1rem;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: background 0.15s, border-color 0.15s;
}
.mobile-notif-btn:hover,
.mobile-notif-btn[aria-expanded="true"] {
    background: var(--emerald-50, #ecfdf5);
    border-color: var(--emerald-200, #a7f3d0);
    color: var(--emerald-800, #065f46);
}
.mobile-notif-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #e11d48;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    line-height: 18px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    pointer-events: none;
}
.mobile-notif-panel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(320px, 88vw);
    max-height: min(70vh, 420px);
    background: #fff;
    border: 1px solid var(--border-warm);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(18,19,22,0.18), 0 2px 8px rgba(0,0,0,0.06);
    z-index: 2100;
    overflow: hidden;
    flex-direction: column;
}
.mobile-notif-panel.open {
    display: flex;
}
.mobile-notif-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0.9rem;
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--ink-950);
    border-bottom: 1px solid var(--border-warm);
    background: linear-gradient(180deg, #fafaf9 0%, #fff 100%);
}
.mobile-notif-close {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    font-size: 1.35rem;
    line-height: 1;
    color: var(--ink-500);
    cursor: pointer;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.mobile-notif-close:hover { background: var(--slate-100, #f1f5f9); color: var(--ink-900); }
.mobile-notif-list {
    overflow-y: auto;
    flex: 1;
    -webkit-overflow-scrolling: touch;
}
.mobile-notif-empty {
    padding: 1.75rem 1rem;
    text-align: center;
    color: var(--ink-500);
    font-size: 0.88rem;
    font-weight: 600;
}
.mobile-notif-item {
    display: flex;
    gap: 0.65rem;
    padding: 0.75rem 0.9rem;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transition: background 0.12s;
}
.mobile-notif-item:last-child { border-bottom: none; }
.mobile-notif-item:hover,
.mobile-notif-item:active {
    background: var(--emerald-50, #ecfdf5);
}
.mobile-notif-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--slate-50, #f8fafc);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}
.mobile-notif-item.mobile-notif-rejected .mobile-notif-icon { background: #fff1f2; }
.mobile-notif-item.mobile-notif-pending .mobile-notif-icon { background: #fffbeb; }
.mobile-notif-item.mobile-notif-approved .mobile-notif-icon { background: #ecfdf5; }
.mobile-notif-body { min-width: 0; flex: 1; }
.mobile-notif-title {
    font-weight: 800;
    font-size: 0.82rem;
    color: var(--ink-950);
    margin-bottom: 0.15rem;
}
.mobile-notif-text {
    font-size: 0.76rem;
    color: var(--ink-600);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mobile-notif-meta {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--ink-400);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.mobile-notif-footer {
    padding: 0.55rem 0.9rem;
    border-top: 1px solid var(--border-warm);
    text-align: center;
    background: #fafaf9;
}
.mobile-notif-footer a {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--emerald-700);
    text-decoration: none;
}
.mobile-notif-footer a:hover { text-decoration: underline; }

@media (max-width: 1080px) {
    .mobile-notif-wrap { display: block; }
}

.mobile-drawer-overlay {
    position: fixed; inset: 0; background: rgba(18, 19, 22, 0.55);
    backdrop-filter: blur(4px); z-index: 2000; display: none;
}
.mobile-drawer-overlay.open { display: block; }
.mobile-drawer {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(330px, 88vw);
    background: var(--bg-ivory); z-index: 2001; padding: 1.25rem;
    box-shadow: -10px 0 35px rgba(0,0,0,0.18); display: flex;
    flex-direction: column; gap: 0.9rem; overflow-y: auto;
}
.mobile-drawer-links { display: flex; flex-direction: column; gap: 0.35rem; }
.mobile-drawer-links a {
    padding: 0.7rem 0.95rem; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 0.9rem; color: var(--ink-900);
    display: flex; align-items: center; gap: 0.75rem;
    background: #FFFFFF; border: 1px solid var(--border-warm);
}
.mobile-drawer-links a:hover, .mobile-drawer-links a.active {
    border-color: var(--emerald-600); background: var(--emerald-50); color: var(--emerald-800);
}

.mobile-bottom-nav {
    display: none; position: fixed; bottom: 0; left: 0; right: 0; height: 64px;
    background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-warm); z-index: 1500;
    grid-template-columns: repeat(5, 1fr); padding: 0 0.25rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
}
.mobile-bottom-nav a, .mobile-bottom-nav button {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 0.18rem; font-size: 0.66rem; font-weight: 600; color: var(--ink-500);
    background: none; border: none; cursor: pointer; font-family: inherit;
}
.mobile-bottom-nav a.active, .mobile-bottom-nav a:hover { color: var(--emerald-700); }
.mobile-bottom-nav i { font-size: 1.05rem; }
.mobile-bottom-nav .nav-post-cta i {
    background: var(--emerald-700); color: #fff; width: 32px; height: 32px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 0.88rem; margin-top: -5px;
}
@media (max-width: 768px) { .mobile-bottom-nav { display: grid; } }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.68rem 1.25rem; border-radius: var(--radius-full);
    font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 0.88rem;
    cursor: pointer; border: 1px solid transparent;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1); white-space: nowrap;
}
.btn-primary { background: var(--emerald-700); color: #FFFFFF; box-shadow: 0 4px 14px rgba(10, 77, 60, 0.22); }
.btn-primary:hover { background: var(--emerald-800); transform: translateY(-1px); color: #FFFFFF; }
.btn-terra { background: var(--terra-500); color: #FFFFFF; box-shadow: 0 6px 18px rgba(217, 93, 57, 0.28); }
.btn-terra:hover { background: var(--terra-600); transform: translateY(-1px); color: #FFFFFF; }
.btn-outline { background: #FFFFFF; border-color: var(--border-strong); color: var(--ink-900); }
.btn-outline:hover { border-color: var(--emerald-700); color: var(--emerald-700); background: var(--emerald-50); }
.btn-sm { padding: 0.44rem 0.9rem; font-size: 0.8rem; }
.btn-lg { padding: 0.85rem 1.6rem; font-size: 0.95rem; }
.btn-block { width: 100%; }

.badge {
    display: inline-flex; align-items: center; gap: 0.35rem;
    padding: 0.25rem 0.7rem; border-radius: var(--radius-full);
    font-size: 0.74rem; font-weight: 700;
}
.badge-verified { background: var(--emerald-50); color: var(--emerald-800); border: 1px solid var(--emerald-200); }
.badge-terra { background: var(--terra-50); color: var(--terra-700); border: 1px solid var(--terra-100); }
.badge-amber { background: var(--gold-50); color: var(--gold-700); border: 1px solid var(--gold-100); }
.badge-slate { background: var(--bg-sand); color: var(--ink-700); }

.editorial-hero {
    padding: 2.25rem 0 2.75rem;
    background: radial-gradient(circle at 85% 15%, rgba(213, 237, 227, 0.55) 0%, transparent 45%),
                radial-gradient(circle at 10% 80%, rgba(251, 227, 216, 0.45) 0%, transparent 40%),
                var(--bg-ivory);
    border-bottom: 1px solid var(--border-warm);
}
.hero-split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2.5rem; align-items: center; margin-bottom: 2rem; }
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #FFFFFF;
    border: 1px solid var(--border-warm);
    padding: 0.4rem 0.95rem;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--emerald-800);
    box-shadow: var(--shadow-soft);
    margin-bottom: 1.15rem;
    max-width: 100%;
    box-sizing: border-box;
}
.hero-eyebrow > span:first-child,
.hero-eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--emerald-600);
    display: inline-block;
    flex-shrink: 0;
}
.hero-eyebrow > span:last-child {
    line-height: 1.35;
}

@media (max-width: 768px) {
    .hero-eyebrow {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100%;
        max-width: 100%;
        margin-bottom: 0.85rem;
        padding: 0.55rem 0.85rem;
        border-radius: 12px;
        font-size: 0.75rem;
        font-weight: 700;
        color: var(--emerald-900);
        background: linear-gradient(180deg, #FFFFFF 0%, #F3FBF7 100%);
        border: 1px solid var(--emerald-100);
        box-shadow: 0 2px 10px rgba(10, 77, 60, 0.06);
        gap: 0.55rem;
        align-items: flex-start;
    }
    .hero-eyebrow > span:first-child,
.hero-eyebrow-dot {
        margin-top: 0.35rem;
        width: 7px;
        height: 7px;
        background: var(--emerald-600);
        box-shadow: 0 0 0 3px rgba(15, 118, 90, 0.15);
    }
    .hero-eyebrow > span:last-child {
        flex: 1;
        min-width: 0;
        white-space: normal;
        word-break: normal;
        overflow-wrap: anywhere;
        line-height: 1.45;
        letter-spacing: 0.01em;
    }
}
.hero-title { font-size: clamp(1.85rem, 4vw, 3.2rem); font-weight: 800; color: var(--ink-950); line-height: 1.14; margin-bottom: 1rem; }
.hero-title .editorial-highlight {
    font-family: 'Fraunces', Georgia, serif; font-style: italic; font-weight: 600;
    color: var(--emerald-700); text-decoration: underline;
    text-decoration-color: rgba(217, 93, 57, 0.35); text-underline-offset: 6px;
}
.hero-urdu-tagline {
    display: inline-block; background: var(--bg-sand); border-left: 3px solid var(--terra-500);
    padding: 0.55rem 0.95rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.9rem; font-weight: 600; color: var(--ink-700); margin-bottom: 1.15rem;
}
.hero-lead { font-size: 1rem; color: var(--ink-500); max-width: 600px; margin-bottom: 1.5rem; line-height: 1.65; }
@media (max-width: 768px) {
    .hero-title,
    .hero-urdu-tagline,
    .hero-lead { display: none !important; }
}
.unlock-promise-strip {
    background: #FFFFFF;
    border: 1px solid var(--border-warm);
    border-radius: var(--radius-md);
    padding: 0.95rem 1.1rem;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}
.promise-marquee-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}
.promise-marquee-set {
    display: contents;
}
.promise-step { display: flex; align-items: center; gap: 0.65rem; min-width: 0; }
.promise-icon {
    width: 36px; height: 36px; border-radius: 10px; background: var(--emerald-50);
    color: var(--emerald-700); display: flex; align-items: center; justify-content: center;
    font-size: 0.95rem; flex-shrink: 0;
}
.promise-step strong { display: block; font-size: 0.82rem; color: var(--ink-950); line-height: 1.2; }
.promise-step span { display: block; font-size: 0.72rem; color: var(--ink-500); }

.promise-marquee-set[aria-hidden="true"] { display: none; }

@media (max-width: 768px) {
    .hero-title,
    .hero-urdu-tagline,
    .hero-lead { display: none !important; }
    .editorial-hero,
    .hero-split,
    .hero-split > div:first-child {
        overflow-x: hidden;
        max-width: 100%;
    }
    .unlock-promise-strip {
        padding: 0.75rem 0.85rem;
        overflow-x: auto;
        overflow-y: hidden;
        max-width: 100%;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .unlock-promise-strip::-webkit-scrollbar { display: none; }

    .promise-marquee-track {
        display: flex;
        flex-wrap: nowrap;
        width: max-content;
        gap: 1.25rem;
        animation: none !important;
        will-change: auto;
    }
    .promise-marquee-set {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        flex-shrink: 0;
        gap: 1.25rem;
        padding-right: 0;
    }
    .promise-marquee-set[aria-hidden="true"] {
        display: none !important;
    }
    .promise-step {
        flex: 0 0 auto;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        gap: 0.5rem;
    }
    .promise-step strong,
    .promise-step span {
        white-space: nowrap;
    }
}
@keyframes promiseScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .promise-marquee-track { animation: none !important; }
}

.hero-collage { position: relative; padding: 0.5rem; }
.collage-main-frame {
    border-radius: var(--radius-xl); overflow: hidden; height: 380px;
    box-shadow: var(--shadow-float); border: 4px solid #FFFFFF; position: relative;
}
.collage-main-frame img { width: 100%; height: 100%; object-fit: cover; }
.floating-owner-receipt {
    position: absolute; bottom: -14px; left: -12px; background: #FFFFFF;
    border: 1px solid var(--border-warm); border-radius: var(--radius-md);
    padding: 0.95rem 1.1rem; box-shadow: 0 18px 40px rgba(18, 19, 22, 0.14);
    max-width: 300px; z-index: 3;
}
.floating-saving-pill {
    position: absolute; top: 16px; right: -8px; background: var(--emerald-800);
    color: #FFFFFF; padding: 0.6rem 0.95rem; border-radius: var(--radius-md);
    box-shadow: 0 12px 28px rgba(10, 77, 60, 0.3); z-index: 3; font-size: 0.78rem;
}

.search-bar-shell {
    background: #FFFFFF; border: 1px solid var(--border-strong);
    border-radius: var(--radius-xl); padding: 0.85rem 1rem;
    box-shadow: var(--shadow-card); margin-top: 1rem;
}
.search-bar-grid { display: grid; grid-template-columns: 1.2fr 1.25fr 1fr 1fr auto; gap: 0.75rem; align-items: center; }
.search-segment { padding: 0.4rem 0.85rem; border-right: 1px solid var(--border-warm); }
.search-segment:last-of-type { border-right: none; }
.search-segment label {
    display: block; font-size: 0.68rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: 0.05em; color: var(--ink-500); margin-bottom: 0.15rem;
}
.search-segment select, .search-segment input {
    width: 100%; border: none; background: transparent; font-family: inherit;
    font-size: 0.9rem; font-weight: 700; color: var(--ink-950); outline: none;
}

.search-grid { display: grid; grid-template-columns: 1.2fr 1.4fr 1fr 1fr auto; gap: 0.9rem; align-items: end; }
.search-field label {
    display: block; font-size: 0.76rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.04em; color: var(--ink-700); margin-bottom: 0.35rem;
}
.search-field select, .search-field input {
    width: 100%; padding: 0.7rem 0.9rem; border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm); font-family: inherit; font-size: 0.9rem;
    color: var(--ink-950); background: #FFFFFF;
}

.category-ribbon-wrap {
    background: #FFFFFF; border-bottom: 1px solid var(--border-warm);
    padding: 0.7rem 0; position: relative !important; top: auto !important; z-index: 10;
}
.category-ribbon {
    display: flex; align-items: center; justify-content: center; gap: 0.55rem; overflow-x: auto;
    -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 2px;
}
.category-ribbon::-webkit-scrollbar { display: none; }
.cat-pill {
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 0.28rem; padding: 0.55rem 0.75rem; min-width: 72px;
    border-radius: 14px; border: 1px solid var(--border-warm);
    background: var(--bg-ivory); color: var(--ink-700); font-size: 0.72rem;
    font-weight: 700; white-space: normal; text-align: center; line-height: 1.2;
    cursor: pointer; transition: all 0.18s ease; text-decoration: none;
}
.cat-pill i { color: var(--emerald-700); font-size: 1.15rem; line-height: 1; margin: 0; }
.cat-pill span { display: block; }
.cat-pill:hover, .cat-pill.active { background: var(--emerald-700); color: #FFFFFF; border-color: var(--emerald-700); }
.cat-pill:hover i, .cat-pill.active i { color: #FFFFFF; }

.section-block { padding: 3.25rem 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.section-eyebrow {
    font-size: 0.75rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--terra-600); margin-bottom: 0.35rem;
    display: flex; align-items: center; gap: 0.4rem;
}
.section-title { font-size: clamp(1.45rem, 2.5vw, 2.1rem); font-weight: 800; color: var(--ink-950); }
.section-desc { color: var(--ink-500); font-size: 0.94rem; margin-top: 0.25rem; }

.property-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr)); gap: 1.5rem; }
.prop-card {
    background: #FFFFFF; border: 1px solid var(--border-warm); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex; flex-direction: column;
}
.prop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--border-strong); }
.prop-media { position: relative; height: 220px; overflow: hidden; background: var(--ink-900); }
.prop-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.prop-card:hover .prop-media img { transform: scale(1.05); }
.prop-media-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(18,19,22,0.38) 0%, transparent 45%, rgba(18,19,22,0.74) 100%);
    pointer-events: none;
}
.prop-badges-top {
    position: absolute; top: 12px; left: 12px; right: 12px;
    display: flex; justify-content: space-between; align-items: flex-start; z-index: 2;
}
.prop-badge-group { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.pill-verified {
    background: #FFFFFF; color: var(--emerald-800); font-size: 0.71rem; font-weight: 800;
    padding: 0.26rem 0.62rem; border-radius: var(--radius-full);
    display: inline-flex; align-items: center; gap: 0.3rem; box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.pill-verified i { color: var(--emerald-600); }
.pill-type {
    background: rgba(18, 19, 22, 0.78); backdrop-filter: blur(6px); color: #FFFFFF;
    font-size: 0.71rem; font-weight: 600; padding: 0.26rem 0.62rem; border-radius: var(--radius-full);
}
.btn-fav {
    width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, 0.92);
    border: none; display: flex; align-items: center; justify-content: center;
    color: var(--ink-700); cursor: pointer; transition: all 0.2s;
}
.btn-fav:hover, .btn-fav.active { color: var(--terra-500); transform: scale(1.08); }
.prop-price-bar {
    position: absolute; bottom: 12px; left: 14px; right: 14px;
    display: flex; justify-content: space-between; align-items: flex-end;
    z-index: 2; color: #FFFFFF; gap: 0.5rem;
}
.prop-price-main { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.32rem; font-weight: 800; letter-spacing: -0.02em; }
.prop-price-main small { font-size: 0.76rem; font-weight: 500; opacity: 0.9; }
.prop-city-pill {
    background: rgba(255, 255, 255, 0.22); backdrop-filter: blur(6px); color: #FFFFFF;
    padding: 0.2rem 0.6rem; border-radius: var(--radius-full); font-size: 0.72rem; font-weight: 700; white-space: nowrap;
}
.prop-body { padding: 1.2rem; display: flex; flex-direction: column; flex-grow: 1; }
.prop-title {
    font-size: 1.04rem; font-weight: 700; color: var(--ink-950); margin-bottom: 0.35rem;
    line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.prop-title a:hover { color: var(--emerald-700); }
.prop-loc { font-size: 0.83rem; color: var(--ink-500); margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.4rem; }
.prop-loc i { color: var(--terra-500); }
.prop-utility-row { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.95rem; }
.utility-chip {
    background: var(--bg-ivory); border: 1px solid var(--border-warm); color: var(--ink-700);
    font-size: 0.7rem; font-weight: 600; padding: 0.2rem 0.52rem; border-radius: var(--radius-xs);
    display: inline-flex; align-items: center; gap: 0.3rem;
}
.utility-chip i { color: var(--emerald-600); }
.prop-specs {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem;
    padding: 0.7rem 0; border-top: 1px dashed var(--border-warm);
    border-bottom: 1px dashed var(--border-warm); margin-top: auto; margin-bottom: 0.9rem;
}
.spec-item { display: flex; align-items: center; gap: 0.35rem; font-size: 0.78rem; font-weight: 600; color: var(--ink-700); }
.spec-item i { color: var(--ink-400); }
.prop-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
}
.owner-mini {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.75rem;
    min-width: 0;
    flex: 1;
}
.owner-avatar {
    width: 30px; height: 30px; border-radius: 50%; background: var(--emerald-100);
    color: var(--emerald-800); font-weight: 800; display: flex; align-items: center;
    justify-content: center; font-size: 0.72rem; flex-shrink: 0;
}
.prop-footer .btn {
    flex-shrink: 0;
    white-space: nowrap;
}
.owner-mini-name { font-weight: 700; color: var(--ink-950); }
.owner-mini-commission { font-size: 0.7rem; color: var(--emerald-700); font-weight: 700; }

@media (max-width: 768px) {
    .prop-footer {
        flex-wrap: nowrap !important;
        gap: 0.4rem;
        align-items: center;
    }
    .owner-mini {
        gap: 0.35rem;
        min-width: 0;
        overflow: hidden;
    }
    .owner-avatar {
        width: 26px;
        height: 26px;
        font-size: 0.65rem;
    }

    .owner-mini-text {
        min-width: 0;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: flex-start;
        gap: 0.1rem;
    }
    .owner-mini-name {
        font-size: 0.72rem !important;
        font-weight: 700;
        color: var(--ink-950);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 9rem;
        line-height: 1.2;
    }
    .owner-mini-commission {
        font-size: 0.62rem !important;
        color: var(--emerald-700);
        font-weight: 700;
        white-space: nowrap;
        line-height: 1.2;
    }
    .prop-footer .btn.btn-sm {
        padding: 0.35rem 0.55rem;
        font-size: 0.68rem;
        flex-shrink: 0;
    }
}

.province-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr)); gap: 1.15rem; }
.province-card { background: #FFFFFF; border: 1px solid var(--border-warm); border-radius: var(--radius-md); padding: 1.35rem; box-shadow: var(--shadow-soft); }
.province-card h3 { font-size: 1.05rem; margin-bottom: 0.65rem; display: flex; align-items: center; justify-content: space-between; }
.city-tag-cloud { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.city-chip-link {
    font-size: 0.78rem; font-weight: 600; padding: 0.28rem 0.65rem;
    border-radius: var(--radius-full); background: var(--bg-ivory);
    border: 1px solid var(--border-warm); color: var(--ink-700);
}
.city-chip-link:hover { background: var(--emerald-700); color: #FFFFFF; border-color: var(--emerald-700); }

.calc-section {
    background: var(--emerald-900); border-radius: var(--radius-xl); padding: 2.5rem;
    color: #FAF8F5; display: grid; grid-template-columns: 1.15fr 0.85fr;
    gap: 2.25rem; align-items: center; box-shadow: var(--shadow-float);
}
.calc-card { background: #FFFFFF; color: var(--ink-900); border-radius: var(--radius-lg); padding: 1.65rem; box-shadow: 0 20px 40px rgba(0,0,0,0.25); }
.range-slider { width: 100%; accent-color: var(--emerald-700); height: 8px; border-radius: 4px; margin: 0.85rem 0 1.25rem; cursor: pointer; }
.calc-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; margin-bottom: 1rem; }
.calc-box { padding: 0.9rem; border-radius: var(--radius-sm); background: var(--bg-ivory); border: 1px solid var(--border-warm); }

.bento-gallery {
    display: grid; grid-template-columns: 2fr 1fr; gap: 0.85rem;
    height: 410px; margin-bottom: 1.75rem; border-radius: var(--radius-lg); overflow: hidden;
}
.bento-main { height: 100%; overflow: hidden; }
.bento-side { display: grid; grid-template-rows: 1fr 1fr; gap: 0.85rem; height: 100%; }
.bento-gallery img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; transition: transform 0.35s ease; }
.bento-gallery img:hover { transform: scale(1.03); }

.detail-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 1.85rem; align-items: start; margin-bottom: 4rem; }
.checkout-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.85rem; align-items: start; }

.surface-card {
    background: #FFFFFF; border: 1px solid var(--border-warm);
    border-radius: var(--radius-lg); padding: 1.65rem;
    box-shadow: var(--shadow-soft); margin-bottom: 1.5rem;
}
.sticky-unlock-card {
    position: sticky; top: 136px; background: #FFFFFF;
    border-radius: var(--radius-lg); border: 2px solid var(--border-strong);
    box-shadow: var(--shadow-card); overflow: hidden;
}
.unlock-card-header { background: var(--emerald-900); color: #FFFFFF; padding: 1.35rem 1.5rem; }
.unlock-card-body { padding: 1.45rem; }

.entitlement-card {
    background: #FFFFFF; border: 2px solid var(--emerald-700);
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-card); color: var(--ink-950);
}
.entitlement-header {
    background: var(--emerald-900); color: #FFFFFF;
    padding: 1rem 1.35rem; display: flex; align-items: center;
    justify-content: space-between; gap: 0.5rem;
}
.entitlement-header-title {
    font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em;
    color: #6EE7B7; font-weight: 800; display: flex; align-items: center; gap: 0.45rem;
}
.entitlement-body { padding: 1.35rem; background: #FFFFFF; color: var(--ink-950); }
.entitlement-prop-summary {
    display: flex; gap: 0.9rem; align-items: center;
    padding-bottom: 1.1rem; border-bottom: 1px solid var(--border-warm); margin-bottom: 1rem;
}
.entitlement-prop-summary img {
    width: 72px; height: 72px; border-radius: 10px; object-fit: cover;
    flex-shrink: 0; border: 1px solid var(--border-warm);
}
.entitlement-prop-title {
    font-weight: 800; font-size: 0.96rem; line-height: 1.35;
    color: var(--ink-950) !important; margin-bottom: 0.25rem;
}
.entitlement-prop-loc {
    font-size: 0.82rem; color: var(--ink-700) !important;
    font-weight: 600; display: flex; align-items: center; gap: 0.35rem;
}
.entitlement-prop-loc i { color: var(--terra-500); }
.entitlement-list {
    display: flex; flex-direction: column; gap: 0.65rem;
    padding: 0.85rem 1rem; background: var(--bg-ivory);
    border: 1px solid var(--border-warm); border-radius: var(--radius-sm); margin-bottom: 1.1rem;
}
.entitlement-row {
    display: flex; justify-content: space-between; align-items: center;
    gap: 0.75rem; font-size: 0.86rem; padding-bottom: 0.55rem;
    border-bottom: 1px dashed var(--border-warm);
}
.entitlement-row:last-child { border-bottom: none; padding-bottom: 0; }
.entitlement-label { color: var(--ink-900) !important; font-weight: 600; display: flex; align-items: center; gap: 0.4rem; }
.entitlement-val-included {
    background: var(--emerald-50); color: var(--emerald-800) !important;
    border: 1px solid var(--emerald-200); padding: 0.18rem 0.6rem;
    border-radius: var(--radius-full); font-weight: 800; font-size: 0.78rem; white-space: nowrap;
}
.entitlement-val-saved {
    background: var(--gold-50); color: var(--gold-700) !important;
    border: 1px solid var(--gold-100); padding: 0.18rem 0.6rem;
    border-radius: var(--radius-full); font-weight: 800; font-size: 0.78rem; white-space: nowrap;
}
.entitlement-total-bar {
    display: flex; justify-content: space-between; align-items: center;
    background: var(--emerald-50); border: 1px solid var(--emerald-200);
    padding: 0.9rem 1.1rem; border-radius: var(--radius-sm);
}
.entitlement-total-label { font-size: 0.98rem; font-weight: 800; color: var(--ink-950) !important; }
.entitlement-total-amount { font-family: 'JetBrains Mono', monospace; font-size: 1.4rem; font-weight: 800; color: var(--emerald-800) !important; }

.blurred-preview-list {
    background: var(--bg-ivory); border: 1px solid var(--border-warm);
    border-radius: var(--radius-sm); padding: 0.85rem 1rem; margin: 0.85rem 0 1.1rem;
}
.blurred-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.5rem 0; border-bottom: 1px dashed var(--border-warm); font-size: 0.84rem; gap: 0.5rem;
}
.blurred-row:last-child { border-bottom: none; }
.masked-val {
    font-family: 'JetBrains Mono', monospace; font-weight: 700; color: var(--ink-700);
    background: var(--bg-sand); padding: 0.15rem 0.5rem; border-radius: 4px; user-select: none;
}
.unlocked-success-card { background: var(--emerald-50); border: 2px solid var(--emerald-600); border-radius: var(--radius-md); padding: 1.25rem; }

.mobile-sticky-unlock-bar {
    display: none; position: fixed; bottom: 64px; left: 0; right: 0;
    background: #FFFFFF; border-top: 1px solid var(--border-strong);
    padding: 0.65rem 1rem; z-index: 1400; justify-content: space-between;
    align-items: center; gap: 0.75rem; box-shadow: 0 -8px 24px rgba(0,0,0,0.08);
}

.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: 0.84rem; font-weight: 700; color: var(--ink-900); margin-bottom: 0.35rem; }
.form-control {
    width: 100%; padding: 0.72rem 0.95rem; border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm); font-family: inherit; font-size: 0.94rem;
    color: var(--ink-950); background: #FFFFFF;
}
.form-control:focus { outline: none; border-color: var(--emerald-700); box-shadow: 0 0 0 3px rgba(13, 104, 77, 0.14); }
.form-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.form-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }

.auth-wrapper {
    max-width: 520px; margin: 2.5rem auto; background: #FFFFFF;
    border: 1px solid var(--border-warm); border-radius: var(--radius-lg);
    padding: 2.25rem; box-shadow: var(--shadow-card);
}
.auth-title { font-size: 1.6rem; font-weight: 800; color: var(--ink-950); margin-bottom: 0.35rem; text-align: center; }

.google-auth-btn {
    width: 100%; display: flex; align-items: center; justify-content: center; gap: 0.75rem;
    padding: 0.8rem 1.25rem; background: #FFFFFF; border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-full); font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.92rem; font-weight: 700; color: var(--ink-950); cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04); transition: all 0.2s ease;
}
.google-auth-btn:hover { background: var(--bg-ivory); border-color: var(--ink-700); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }

.auth-divider {
    display: flex; align-items: center; gap: 0.85rem; margin: 1.35rem 0;
    color: var(--ink-400); font-size: 0.76rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.06em;
}
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--border-warm); }

.auth-tabs {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem;
    background: var(--bg-sand); padding: 0.3rem; border-radius: var(--radius-sm); margin-bottom: 1.35rem;
}
.auth-tab-btn {
    padding: 0.55rem 0.75rem; border-radius: 8px; border: none; background: transparent;
    font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.82rem; font-weight: 700;
    color: var(--ink-700); cursor: pointer; display: flex; align-items: center;
    justify-content: center; gap: 0.4rem; transition: all 0.2s;
}
.auth-tab-btn.active { background: #FFFFFF; color: var(--emerald-800); box-shadow: 0 2px 6px rgba(0,0,0,0.06); }

.otp-inputs-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.55rem; margin: 1.15rem 0 1.35rem; }
.otp-digit-box {
    width: 100%; height: 54px; text-align: center; font-family: 'JetBrains Mono', monospace;
    font-size: 1.35rem; font-weight: 800; color: var(--emerald-800);
    background: var(--bg-ivory); border: 2px solid var(--border-strong);
    border-radius: var(--radius-sm); outline: none; transition: all 0.18s ease;
}
.otp-digit-box:focus { background: #FFFFFF; border-color: var(--emerald-700); box-shadow: 0 0 0 3px rgba(13, 104, 77, 0.16); }

.modal-backdrop {
    position: fixed; inset: 0; background: rgba(18, 19, 22, 0.6);
    backdrop-filter: blur(4px); z-index: 3000; display: none;
    align-items: center; justify-content: center; padding: 1rem;
}
.modal-backdrop.open { display: flex; }
.google-modal-card {
    background: #FFFFFF; border-radius: var(--radius-lg); width: 100%;
    max-width: 440px; padding: 1.85rem; box-shadow: 0 24px 48px rgba(0,0,0,0.22);
    border: 1px solid var(--border-warm);
}

.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 1.15rem; margin-bottom: 1.75rem; }
.kpi-card {
    background: #FFFFFF; border: 1px solid var(--border-warm); border-radius: var(--radius-md);
    padding: 1.35rem; display: flex; align-items: center; justify-content: space-between;
}
.kpi-val { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.75rem; font-weight: 800; color: var(--ink-950); }
.metric-icon {
    width: 44px; height: 44px; border-radius: 12px; background: var(--emerald-50);
    color: var(--emerald-700); display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}

.saas-table-wrap { background: #FFFFFF; border: 1px solid var(--border-warm); border-radius: var(--radius-md); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.saas-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.88rem; min-width: 640px; }
.saas-table th {
    background: var(--bg-sand); padding: 0.9rem 1.15rem; font-size: 0.74rem;
    font-weight: 800; text-transform: uppercase; color: var(--ink-700); border-bottom: 1px solid var(--border-warm);
}
.saas-table td { padding: 1rem 1.15rem; border-bottom: 1px solid var(--border-warm); vertical-align: middle; }

.gateway-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin: 0.65rem 0 1.35rem; }
.gateway-option {
    border: 2px solid var(--border-warm); border-radius: var(--radius-sm);
    padding: 0.9rem; cursor: pointer; background: #FFFFFF;
    display: flex; flex-direction: column; gap: 0.35rem;
}
.gateway-option:hover, .gateway-option.selected { border-color: var(--emerald-700); background: var(--emerald-50); }

.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1.35rem; }
.testimonial-card { background: #FFFFFF; border: 1px solid var(--border-warm); border-radius: var(--radius-md); padding: 1.5rem; box-shadow: var(--shadow-soft); }

.faq-item { background: #FFFFFF; border: 1px solid var(--border-warm); border-radius: var(--radius-sm); margin-bottom: 0.75rem; overflow: hidden; }
.faq-question {
    width: 100%; padding: 1.1rem 1.35rem; background: none; border: none; text-align: left;
    font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.96rem; font-weight: 700;
    color: var(--ink-950); display: flex; justify-content: space-between; align-items: center; cursor: pointer; gap: 1rem;
}
.faq-answer { padding: 0 1.35rem 1.15rem; color: var(--ink-500); font-size: 0.9rem; display: none; }
.faq-item.open .faq-answer { display: block; }

.flash-banner {
    padding: 0.95rem 1.2rem; border-radius: var(--radius-sm); margin: 1rem auto;
    font-weight: 600; display: flex; align-items: center; gap: 0.65rem; font-size: 0.9rem;
}
.flash-success { background: var(--emerald-50); color: var(--emerald-800); border: 1px solid var(--emerald-200); }
.flash-danger { background: var(--terra-50); color: var(--terra-700); border: 1px solid var(--terra-100); }

.site-footer { background: var(--ink-950); color: #D1D5DB; padding: 3.75rem 0 2.5rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.25rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-col h4 { color: #FFFFFF; font-size: 0.96rem; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a { color: #9CA3AF; font-size: 0.86rem; }
.footer-col a:hover { color: #FFFFFF; }

.footer-social {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 0.35rem;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #94a3b8;
    font-size: 0.95rem;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.footer-social a:hover {
    background: #34d399;
    color: #0f172a;
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .hero-split { grid-template-columns: 1fr; gap: 2rem; }
    .hero-collage { max-width: 620px; margin: 0 auto; width: 100%; }
    .floating-owner-receipt { left: 10px; bottom: 10px; }
    .floating-saving-pill { right: 10px; top: 10px; }
    .search-bar-grid { grid-template-columns: 1fr 1fr; }
    .search-segment { border-right: none; border-bottom: 1px solid var(--border-warm); padding: 0.55rem 0.5rem; }
    .search-grid { grid-template-columns: 1fr 1fr; }
    .calc-section { grid-template-columns: 1fr; padding: 2rem 1.5rem; }
    .detail-grid { grid-template-columns: 1fr; }
    .checkout-grid { grid-template-columns: 1fr; }
    .sticky-unlock-card { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .form-grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .top-strip-marquee-item { font-size: 0.72rem; }
    .search-bar-shell { border-radius: var(--radius-lg); padding: 1rem; }
    .search-bar-grid { grid-template-columns: 1fr; gap: 0.5rem; }
    .search-grid { grid-template-columns: 1fr; }
    .collage-main-frame { height: 260px; }
    .floating-owner-receipt { position: static; max-width: 100%; margin-top: 0.75rem; }
    .floating-saving-pill { top: 12px; right: 12px; left: 12px; text-align: center; }
    .property-grid { grid-template-columns: 1fr; }
    .bento-gallery { grid-template-columns: 1fr; height: 250px; }
    .bento-side { display: none; }
    .mobile-sticky-unlock-bar { display: flex; }
    .gateway-grid { grid-template-columns: 1fr; }
    .calc-comparison { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
    .surface-card { padding: 1.25rem; }
    .auth-wrapper { margin: 1.25rem auto; padding: 1.35rem; }
    .form-grid-3, .form-grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
    .container { padding: 0 0.85rem; }
    .hero-title { font-size: 1.75rem; }
    .brand-name { font-size: 1.18rem; }
    .otp-inputs-row { gap: 0.35rem; }
    .otp-digit-box { height: 46px; font-size: 1.15rem; }
    .auth-tabs { grid-template-columns: 1fr; }
}

.account-dropdown-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.account-icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.55rem 0.25rem 0.3rem;
    background: #FFFFFF;
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-soft);
}

.account-icon-btn:hover {
    border-color: var(--emerald-700);
    background: var(--emerald-50);
}

.account-avatar-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--emerald-700);
    color: #FFFFFF;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.account-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 255px;
    background: #FFFFFF;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    box-shadow: 0 18px 40px rgba(18, 19, 22, 0.16);
    z-index: 2500;
    display: none;
    overflow: hidden;
}

.account-dropdown-menu.open {
    display: block;
}

.account-dropdown-header {
    padding: 0.95rem 1rem;
    background: var(--bg-ivory);
    border-bottom: 1px solid var(--border-warm);
}

.account-dropdown-links {
    display: flex;
    flex-direction: column;
    padding: 0.4rem;
}

.account-dropdown-links a,
.account-dropdown-links button {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.62rem 0.75rem;
    border-radius: var(--radius-xs);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink-900);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s ease;
}

.account-dropdown-links a:hover,
.account-dropdown-links a.active,
.account-dropdown-links button:hover {
    background: var(--emerald-50);
    color: var(--emerald-800);
}

.account-dropdown-footer {
    padding: 0.4rem;
    border-top: 1px solid var(--border-warm);
    background: #FFFFFF;
}

.account-logout-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 0.75rem;
    border-radius: var(--radius-xs);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--danger-600);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

.account-logout-link:hover {
    background: var(--danger-50);
    color: var(--danger-600);
}

html { -webkit-text-size-adjust: 100%; }
img, video { max-width: 100%; height: auto; }
.container { max-width: 1320px; }
@media (max-width: 480px) {
    .container { padding: 0 0.85rem; }
    .header-inner { min-height: 58px; gap: 0.4rem; }
    .brand-name { font-size: 1.15rem; }
    .brand-emblem, .logo-mark { width: 34px; height: 34px; font-size: 1rem; border-radius: 9px; }
    .btn { padding: 0.58rem 1rem; font-size: 0.82rem; }
    .btn-lg { padding: 0.75rem 1.25rem; font-size: 0.9rem; }
    .auth-wrapper { padding: 1.15rem 0.85rem; margin: 1.25rem auto; }
    .kpi-grid { grid-template-columns: 1fr 1fr; gap: 0.65rem; }
    .kpi-val { font-size: 1.35rem; }
    .saas-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .saas-table { min-width: 640px; }
    .gateway-grid { grid-template-columns: 1fr; }
    .form-grid-2 { grid-template-columns: 1fr; }
    .hero-split { grid-template-columns: 1fr; gap: 1.25rem; }
    .checkout-grid { grid-template-columns: 1fr; }
    .otp-inputs-row { gap: 0.3rem; }
    .otp-digit-box { height: 44px; font-size: 1.05rem; }
}
@media (max-width: 360px) {
    .pk-pill { font-size: 0.62rem; padding: 0.15rem 0.45rem; }
    .top-strip { font-size: 0.72rem; }
}

.mobile-bottom-nav a, .mobile-bottom-nav button { min-height: 48px; }
.btn, .nav-item, .auth-tab-btn, .gateway-option { -webkit-tap-highlight-color: transparent; }
input, select, textarea { font-size: 16px; }
@media (min-width: 481px) {
    input, select, textarea { font-size: inherit; }
}

.gd-phone-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(18, 19, 22, 0.55);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    padding: 1rem; box-sizing: border-box;
}
.gd-phone-dialog {
    width: 100%; max-width: 420px;
    background: #FFFFFF;
    border: 1px solid var(--border-warm);
    border-radius: var(--radius-lg, 16px);
    box-shadow: 0 24px 48px rgba(18, 19, 22, 0.18);
    padding: 1.35rem 1.25rem 1.25rem;
    animation: gdPhoneIn 0.22s ease-out;
}
@keyframes gdPhoneIn {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.gd-phone-header {
    display: flex; align-items: center; gap: 0.85rem;
    margin-bottom: 0.95rem;
}
.gd-phone-avatar {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--emerald-50, #ECFDF5);
    color: var(--emerald-700, #0A4D3C);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; overflow: hidden; flex-shrink: 0;
    border: 2px solid var(--emerald-100, #D1FAE5);
}
.gd-phone-avatar img { width: 100%; height: 100%; object-fit: cover; }
.gd-phone-success {
    font-size: 0.72rem; font-weight: 700; color: var(--emerald-700, #047857);
    margin-bottom: 0.15rem; display: flex; align-items: center; gap: 0.3rem;
}
.gd-phone-header-text h2 {
    font-size: 1.15rem; font-weight: 800; color: var(--ink-950, #121316);
    margin: 0 0 0.15rem; line-height: 1.25;
}
.gd-phone-user {
    font-size: 0.78rem; color: var(--ink-500, #686B78); margin: 0;
    display: flex; flex-direction: column; gap: 0.1rem;
}
.gd-phone-user span { font-size: 0.72rem; color: var(--ink-400, #8B8E99); }
.gd-phone-lead {
    font-size: 0.84rem; color: var(--ink-600, #4A4D57); line-height: 1.5;
    margin: 0 0 1rem;
}
.gd-phone-label {
    display: block; font-size: 0.72rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.04em;
    color: var(--ink-700, #3F414A); margin-bottom: 0.35rem;
}
.gd-phone-input {
    width: 100%; box-sizing: border-box;
    font-size: 1.05rem; font-weight: 600; font-family: inherit;
    padding: 0.75rem 0.95rem;
    border: 1.5px solid var(--border-strong, #D4CFC4);
    border-radius: var(--radius-sm, 10px);
    background: var(--bg-ivory, #FAF8F5);
    color: var(--ink-950, #121316);
    outline: none; transition: border-color 0.15s, box-shadow 0.15s;
}
.gd-phone-input:focus {
    border-color: var(--emerald-600, #0F766E);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
    background: #fff;
}
.gd-phone-hint {
    font-size: 0.74rem; color: var(--ink-500, #686B78);
    margin: 0.45rem 0 0.75rem; display: flex; align-items: flex-start; gap: 0.35rem;
}
.gd-phone-hint i { color: var(--emerald-600); margin-top: 0.1rem; }
.gd-phone-error {
    font-size: 0.8rem; font-weight: 600; color: #B91C1C;
    background: #FEF2F2; border: 1px solid #FECACA;
    border-radius: 8px; padding: 0.5rem 0.7rem; margin: 0 0 0.75rem;
}
.gd-phone-actions {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 0.55rem;
}
.gd-phone-actions .btn { width: 100%; justify-content: center; }
@media (max-width: 420px) {
    .gd-phone-dialog { padding: 1.15rem 1rem 1.1rem; }
    .gd-phone-actions { grid-template-columns: 1fr; }
}

.top-offer-btn {
    background: rgba(255, 255, 255, 0.14);
    color: #A7F3D0;
    border: 1px solid rgba(167, 243, 208, 0.35);
    border-radius: var(--radius-full);
    padding: 0.22rem 0.7rem;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.top-offer-btn:hover {
    background: var(--emerald-600);
    color: #FFFFFF;
}

.btn-near-mobile {
    display: none;
    align-items: center;
    gap: 0.3rem;
    padding: 0.36rem 0.65rem;
    border-radius: var(--radius-full);
    background: var(--terra-50);
    border: 1px solid var(--terra-100);
    color: var(--terra-700);
    font-size: 0.74rem;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}
.nav-near-pill {
    background: var(--terra-50);
    border: 1px solid var(--terra-100);
    color: var(--terra-700) !important;
    font-weight: 700 !important;
}
.mobile-drawer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-warm);
}
.drawer-location-box {
    background: var(--emerald-50);
    border: 1px solid var(--emerald-200);
    padding: 0.75rem;
    border-radius: var(--radius-sm);
}
.btn-gps-mini {
    background: var(--emerald-700);
    color: #FFFFFF;
    border: none;
    border-radius: var(--radius-full);
    padding: 0.22rem 0.6rem;
    font-size: 0.68rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}
.drawer-offer-link {
    padding: 0.7rem 0.95rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--terra-700);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--terra-50);
    border: 1px solid var(--terra-100);
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    width: 100%;
}

.nearby-detector-banner {
    background: linear-gradient(135deg, #FFFFFF 0%, #EEF7F3 100%);
    border: 2px solid var(--emerald-600);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.4rem;
    margin-bottom: 1.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    box-shadow: var(--shadow-soft);
}
.nearby-banner-left {
    display: flex;
    align-items: flex-start;
    gap: 0.95rem;
    flex: 1;
    min-width: 250px;
}
.nearby-pulse-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--emerald-700);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 0 0 6px rgba(13, 104, 77, 0.14);
}
.nearby-eyebrow {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--terra-600);
    margin-bottom: 0.15rem;
}
.nearby-banner-title {
    font-size: clamp(1.08rem, 2vw, 1.35rem);
    font-weight: 800;
    color: var(--ink-950);
    margin-bottom: 0.2rem;
}
.nearby-banner-sub {
    font-size: 0.85rem;
    color: var(--ink-700);
}
.nearby-banner-controls {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.nearby-city-select,
.nearby-area-input {
    padding: 0.52rem 0.85rem;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--border-strong);
    background: #FFFFFF;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ink-950);
    outline: none;
}
.nearby-city-select:focus,
.nearby-area-input:focus {
    border-color: var(--emerald-700);
}

.prop-card-nearby {
    border: 2px solid var(--emerald-600);
    box-shadow: 0 12px 32px -8px rgba(10, 77, 60, 0.16);
}
.nearby-card-ribbon {
    background: var(--emerald-800);
    color: #FFFFFF;
    padding: 0.38rem 0.85rem;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}
.nearby-card-ribbon i {
    color: #6EE7B7;
    margin-right: 0.25rem;
}
.nearby-ribbon-tag {
    background: #F59E0B;
    color: #121316;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 0.1rem 0.45rem;
    border-radius: var(--radius-full);
    letter-spacing: 0.04em;
    white-space: nowrap;
}
.pill-video {
    background: var(--terra-500);
    color: #FFFFFF;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.26rem 0.62rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.prop-spec-matrix {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.45rem;
    padding: 0.75rem;
    background: var(--bg-ivory);
    border: 1px solid var(--border-warm);
    border-radius: var(--radius-sm);
    margin-bottom: 0.85rem;
}
.detail-spec-matrix {
    grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
    gap: 0.75rem;
    padding: 1.1rem;
    border-radius: var(--radius-md);
}
.spec-box-item {
    background: #FFFFFF;
    border: 1px solid var(--border-warm);
    border-radius: 8px;
    padding: 0.45rem 0.6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.spec-box-label {
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ink-500);
    line-height: 1.2;
    margin-bottom: 0.15rem;
}
.spec-box-val {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--ink-950);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.spec-box-val i {
    color: var(--emerald-700);
    font-size: 0.82rem;
    flex-shrink: 0;
}
.spec-box-item.spec-yes {
    background: var(--emerald-50);
    border-color: var(--emerald-200);
}
.spec-box-item.spec-yes .spec-box-val {
    color: var(--emerald-900);
}
.spec-box-item.spec-no {
    background: #FEF2F2;
    border-color: #FECACA;
}
.spec-box-item.spec-no .spec-box-val,
.spec-box-item.spec-no .spec-box-val i {
    color: #B91C1C;
}

.policy-highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 1.25rem;
}
.policy-card {
    background: #FFFFFF;
    border: 1px solid var(--border-warm);
    border-radius: var(--radius-lg);
    padding: 1.4rem;
    box-shadow: var(--shadow-soft);
}
.policy-card h3 {
    font-size: 1.08rem;
    margin: 0.55rem 0 0.45rem;
    color: var(--ink-950);
}
.policy-card p {
    font-size: 0.86rem;
    color: var(--ink-700);
    line-height: 1.65;
}
.policy-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    letter-spacing: 0.04em;
}
.policy-card-free { border-top: 4px solid var(--emerald-600); }
.policy-card-free .policy-card-badge { background: var(--emerald-50); color: var(--emerald-800); }
.policy-card-refund { border-top: 4px solid var(--gold-500); }
.policy-card-refund .policy-card-badge { background: var(--gold-50); color: var(--gold-700); }
.policy-card-media { border-top: 4px solid var(--terra-500); }
.policy-card-media .policy-card-badge { background: var(--terra-50); color: var(--terra-700); }

.property-video-frame {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #000000;
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-soft);
}
.property-video-frame video {
    width: 100%;
    max-height: 440px;
    display: block;
    object-fit: cover;
}

.form-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.9rem;
}
.media-upload-rules-box {
    background: #FFFFFF;
    border: 2px solid var(--terra-500);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1.35rem;
}
.rule-alert-banner {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.8rem 0.95rem;
    border-radius: var(--radius-sm);
    font-size: 0.84rem;
    line-height: 1.55;
    margin-bottom: 0.85rem;
}
.rule-alert-banner i {
    font-size: 1.1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}
.rule-alert-photo {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #991B1B;
}
.rule-alert-video {
    background: var(--gold-50);
    border: 1px solid var(--gold-100);
    color: var(--gold-700);
}
.compliance-checks {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    background: var(--bg-ivory);
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-warm);
}
.compliance-check-label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.83rem;
    color: var(--ink-900);
    cursor: pointer;
    line-height: 1.45;
}
.compliance-check-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 0.12rem;
    accent-color: var(--emerald-700);
    flex-shrink: 0;
}

.welcome-popup-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(12, 16, 20, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9500;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.welcome-popup-backdrop.open {
    display: flex;
}
/* Mobile: never show Welcome popup (phone + Android WebView) */
@media (max-width: 767px) {
    .welcome-popup-backdrop,
    .welcome-popup-backdrop.open {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}
.welcome-popup-card {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    max-width: 680px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
    border: 2px solid var(--emerald-600);
    position: relative;
    animation: gdPopupSlideIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes gdPopupSlideIn {
    from { opacity: 0; transform: translateY(18px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.welcome-popup-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.16);
    color: #FFFFFF;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}
.welcome-popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
}
.welcome-popup-header {
    background: linear-gradient(135deg, var(--emerald-900) 0%, var(--emerald-700) 100%);
    color: #FFFFFF;
    padding: 1.65rem 1.75rem 1.35rem;
}
.welcome-offer-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #F59E0B;
    color: #121316;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    letter-spacing: 0.04em;
    margin-bottom: 0.65rem;
}
.welcome-popup-header h2 {
    color: #FFFFFF;
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    margin-bottom: 0.35rem;
}
.welcome-popup-header p {
    color: #D1FAE5;
    font-size: 0.86rem;
    line-height: 1.5;
}
.welcome-popup-body {
    padding: 1.35rem 1.65rem;
}
.welcome-rule-grid {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.welcome-rule-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-warm);
    background: var(--bg-ivory);
}
.welcome-rule-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}
.rule-emerald .welcome-rule-icon { background: var(--emerald-100); color: var(--emerald-800); }
.rule-amber .welcome-rule-icon { background: var(--gold-100); color: var(--gold-700); }
.rule-blue .welcome-rule-icon { background: #DBEAFE; color: #1E40AF; }
.rule-terra .welcome-rule-icon { background: var(--terra-100); color: var(--terra-700); }
.welcome-rule-item h4 {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--ink-950);
    margin-bottom: 0.2rem;
}
.welcome-rule-item p {
    font-size: 0.81rem;
    color: var(--ink-700);
    line-height: 1.55;
}
.welcome-popup-footer {
    padding: 1rem 1.65rem 1.35rem;
    border-top: 1px solid var(--border-warm);
    background: var(--bg-ivory);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 1024px) {
    .form-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .btn-near-mobile { display: inline-flex; }
}

@media (max-width: 768px) {
    .nearby-detector-banner {
        padding: 1rem;
        gap: 0.85rem;
    }
    .nearby-banner-controls {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
    }
    .nearby-city-select,
    .nearby-area-input,
    .nearby-banner-controls .btn {
        width: 100%;
    }
    .welcome-popup-header {
        padding: 1.35rem 1.15rem 1.1rem;
    }
    .welcome-popup-body {
        padding: 1rem 1.15rem;
    }
    .welcome-popup-footer {
        padding: 0.9rem 1.15rem 1.15rem;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .welcome-popup-footer .btn {
        width: 100%;
    }
}

@media (max-width: 640px) {

    .responsive-stack-table {
        min-width: 100% !important;
    }
    .responsive-stack-table thead {
        display: none;
    }
    .responsive-stack-table tbody tr {
        display: block;
        padding: 0.85rem;
        border-bottom: 2px solid var(--border-warm);
    }
    .responsive-stack-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.75rem;
        padding: 0.45rem 0;
        border-bottom: 1px dashed var(--border-warm);
        text-align: right !important;
    }
    .responsive-stack-table tbody td:last-child {
        border-bottom: none;
        padding-top: 0.65rem;
    }
    .responsive-stack-table tbody td::before {
        content: attr(data-label);
        font-size: 0.7rem;
        font-weight: 800;
        text-transform: uppercase;
        color: var(--ink-500);
        text-align: left;
        flex-shrink: 0;
    }
    .form-grid-4 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 400px) {
    .brand-tagline {
        display: none !important;
    }
    .btn-near-mobile span {
        max-width: 64px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .prop-spec-matrix {
        grid-template-columns: 1fr 1fr;
        padding: 0.55rem;
        gap: 0.35rem;
    }
    .spec-box-item {
        padding: 0.38rem 0.45rem;
    }
    .spec-box-val {
        font-size: 0.75rem;
    }
}

.prop-inside-specs-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.48rem 0.72rem;
    margin-top: -0.35rem;
    margin-bottom: 0.75rem;
    border-radius: 8px;
    background: var(--emerald-50);
    border: 1px dashed var(--emerald-300, #6EE7B7);
    color: var(--emerald-800);
    font-size: 0.76rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}
.prop-inside-specs-link:hover {
    background: var(--emerald-100, #D1FAE5);
    color: var(--emerald-900);
}
.prop-inside-specs-link i {
    color: var(--emerald-700);
    font-size: 0.75rem;
}

@media (max-width: 480px) {
    .brand-tagline {
        display: block !important;
        font-size: 0.56rem !important;
        letter-spacing: 0.02em;
    }
    .category-ribbon-wrap {
        position: relative !important;
        top: auto !important;
    }
}

.unlock-free-promo-banner {
    background: linear-gradient(135deg, var(--emerald-900) 0%, var(--emerald-700) 100%);
    color: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 1.35rem 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    box-shadow: var(--shadow-card);
}
.unlock-free-promo-form {
    flex-shrink: 0;
}

.unlocked-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: auto;
}

@media (max-width: 768px) {

    body {
        padding-bottom: 64px;
    }
    .unlock-free-promo-banner {
        padding: 1.15rem;
    }
    .unlock-free-promo-form {
        width: 100%;
    }
    .prop-inside-specs-link {
        white-space: normal;
        line-height: 1.35;
    }
}

@media (max-width: 640px) {

    .btn-block,
    .unlock-free-promo-form .btn,
    .surface-card form .btn {
        white-space: normal;
        text-align: center;
        line-height: 1.35;
        height: auto;
    }

    .responsive-stack-table tbody td[data-label="Property"],
    .responsive-stack-table tbody td[data-label="Manage"],
    .responsive-stack-table tbody td[data-label="Actions"] {
        flex-direction: column;
        align-items: flex-start;
        text-align: left !important;
    }
    .responsive-stack-table tbody td[data-label="Manage"] > div,
    .responsive-stack-table tbody td[data-label="Actions"] form {
        width: 100%;
        justify-content: flex-start !important;
    }

    .detail-spec-matrix {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        padding: 0.85rem;
    }
    .detail-spec-matrix .spec-box-item:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 380px) {
    .unlocked-card-actions {
        grid-template-columns: 1fr;
    }
    .btn-near-mobile span {
        max-width: none;
    }
}

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

.site-header {
    width: 100%;
    max-width: 100vw;
}
.header-inner {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}
.brand-logo {
    min-width: 0;
    flex-shrink: 1;
}
.brand-text-wrap {
    min-width: 0;
    overflow: hidden;
}
.brand-name,
.brand-tagline {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.header-right {
    min-width: 0;
    flex-shrink: 0;
}

@media (max-width: 1160px) {
    .desktop-nav {
        display: none !important;
    }
    .mobile-menu-btn {
        display: inline-flex !important;
    }
    .btn-near-mobile {
        display: inline-flex !important;
    }
}

.mobile-drawer > * {
    flex-shrink: 0;
}
.drawer-user-card {
    background: var(--emerald-50);
    border: 1px solid var(--emerald-200);
    padding: 0.75rem 0.85rem;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}
.drawer-guest-card {
    background: var(--bg-sand);
    border: 1px solid var(--border-warm);
    padding: 0.85rem;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}
.mobile-drawer-links {
    flex-shrink: 0;
}
.mobile-drawer-links a,
.mobile-drawer-links button {
    flex-shrink: 0;
}

.dashboard-top-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    align-items: center;
}

.flash-banner {
    max-width: 100%;
    box-sizing: border-box;
}
.flash-banner span {
    min-width: 0;
    flex: 1;
    overflow-wrap: anywhere;
    line-height: 1.45;
}

input[type="file"].form-control {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.82rem;
}

@media (max-width: 640px) {
    .header-inner {
        min-height: 58px;
        gap: 0.35rem;
        padding: 0.35rem 0;
    }
    .brand-logo {
        gap: 0.45rem;
    }
    .brand-emblem {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
        border-radius: 9px;
    }
    .brand-name {
        font-size: 1.08rem;
    }
    .brand-tagline {
        display: block !important;
        font-size: 0.54rem !important;
    }
    .header-right {
        gap: 0.32rem;
    }
    .btn-near-mobile {
        padding: 0.32rem 0.52rem;
        font-size: 0.7rem;
        gap: 0.25rem;
    }

    .account-icon-btn {
        padding: 2px;
        width: 36px;
        height: 36px;
        justify-content: center;
        border-radius: 50%;
    }
    .account-chevron-icon {
        display: none !important;
    }
    .account-avatar-circle {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    .mobile-menu-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .account-dropdown-menu {
        position: fixed;
        top: 64px;
        left: 0.75rem;
        right: 0.75rem;
        width: auto;
        max-width: 340px;
        margin-left: auto;
        z-index: 3500;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    .dashboard-top-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
    }
    .dashboard-top-actions .btn {
        width: 100%;
    }
    .badge {
        max-width: 100%;
        white-space: normal;
        line-height: 1.3;
    }
}

@media (max-width: 360px) {
    .brand-name {
        font-size: 0.98rem;
    }
    .brand-tagline {
        font-size: 0.49rem !important;
    }
    .btn-near-mobile {
        padding: 0.28rem 0.44rem;
        font-size: 0.65rem;
    }
    .account-icon-btn,
    .mobile-menu-btn {
        width: 33px;
        height: 33px;
    }
}

.hero-split > *,
.detail-grid > *,
.checkout-grid > *,
.property-grid > *,
.calc-section > *,
.search-bar-grid > *,
.search-grid > *,
.form-grid-2 > *,
.form-grid-3 > *,
.form-grid-4 > * {
    min-width: 0;
    max-width: 100%;
}

@media (max-width: 1024px) {
    .hero-split,
    .detail-grid,
    .checkout-grid,
    .calc-section {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .property-grid,
    .search-bar-grid,
    .search-grid,
    .form-grid-2,
    .form-grid-3,
    .form-grid-4,
    .footer-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

@media (max-width: 640px) {
    .header-inner {
        position: relative;
    }
    .account-dropdown-wrap {
        position: static;
    }
    .account-dropdown-menu {
        position: absolute !important;
        top: calc(100% + 6px) !important;
        right: 0 !important;
        left: auto !important;
        width: min(290px, calc(100vw - 1.7rem)) !important;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        z-index: 3500;
    }
}

.container.header-inner {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}
.container.top-strip-inner {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}
@media (min-width: 768px) {
    .container.header-inner,
    .container.top-strip-inner {
        padding-left: 1.75rem !important;
        padding-right: 1.75rem !important;
    }
}

@media (max-width: 768px) {

    .editorial-hero {
        padding: 1.1rem 0 1.4rem !important;
    }
    .hero-split {
        gap: 1.1rem !important;
        margin-bottom: 1.15rem !important;
    }
    .hero-eyebrow {
        padding: 0.45rem 0.75rem !important;
        font-size: 0.72rem !important;
        margin-bottom: 0.65rem !important;
    }
    .hero-title,
    .hero-urdu-tagline,
    .hero-lead {
        display: none !important;
    }
    .hero-collage {
        padding: 0 !important;
    }
    .collage-main-frame {
        height: 195px !important;
        border-radius: var(--radius-md) !important;
        border-width: 2px !important;
    }
    .floating-saving-pill {
        top: 10px !important;
        right: 10px !important;
        left: auto !important;
        padding: 0.35rem 0.7rem !important;
        font-size: 0.7rem !important;
        border-radius: var(--radius-full) !important;
    }
    .floating-owner-receipt {
        margin-top: 0.55rem !important;
        padding: 0.75rem 0.9rem !important;
    }


    .search-bar-shell {
        padding: 0.75rem !important;
        margin-top: 0.5rem !important;
        border-radius: var(--radius-md) !important;
    }
    .search-bar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.5rem !important;
    }
    .search-segment {
        background: var(--bg-ivory);
        border: 1px solid var(--border-warm) !important;
        border-radius: var(--radius-xs);
        padding: 0.45rem 0.65rem !important;
    }
    .search-segment label {
        font-size: 0.62rem !important;
        margin-bottom: 0.1rem !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .search-segment select,
    .search-segment input {
        font-size: 0.82rem !important;
        height: 26px;
    }
    .search-bar-grid > button[type="submit"] {
        grid-column: 1 / -1 !important;
        width: 100%;
        padding: 0.72rem 1rem !important;
        font-size: 0.9rem !important;
        margin-top: 0.15rem;
    }


    .search-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.6rem !important;
    }
    .search-grid > button[type="submit"] {
        grid-column: 1 / -1 !important;
        width: 100%;
    }
    .search-field select,
    .search-field input {
        padding: 0.55rem 0.7rem !important;
        font-size: 0.85rem !important;
    }


    .nearby-detector-banner {
        padding: 0.9rem 1rem !important;
        margin-bottom: 1.25rem !important;
        border-radius: var(--radius-md) !important;
    }
    .nearby-pulse-icon {
        width: 38px !important;
        height: 38px !important;
        font-size: 1.05rem !important;
        border-radius: 10px !important;
    }
    .nearby-banner-title {
        font-size: 1rem !important;
        line-height: 1.3 !important;
    }
    .nearby-banner-sub {
        font-size: 0.78rem !important;
        line-height: 1.4 !important;
    }


    .section-block {
        padding: 1.85rem 0 !important;
    }
    .section-head {
        margin-bottom: 1.15rem !important;
        gap: 0.65rem !important;
    }
    .section-title {
        font-size: 1.3rem !important;
    }
    .section-desc {
        font-size: 0.84rem !important;
        line-height: 1.5 !important;
    }
    .property-grid {
        gap: 1.1rem !important;
    }
    .prop-media {
        height: 195px !important;
    }
    .prop-body {
        padding: 0.95rem !important;
    }
    .prop-title {
        font-size: 0.98rem !important;
    }
    .prop-price-main {
        font-size: 1.18rem !important;
    }


    .bento-gallery {
        grid-template-columns: minmax(0, 1fr) !important;
        height: auto !important;
        gap: 0.5rem !important;
        margin-bottom: 1.15rem !important;
    }
    .bento-main {
        height: 225px !important;
        border-radius: var(--radius-md);
    }
    .bento-side {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: 78px !important;
        height: 78px !important;
        gap: 0.5rem !important;
    }


    .calc-section {
        padding: 1.35rem 1.1rem !important;
        border-radius: var(--radius-lg) !important;
        gap: 1.25rem !important;
    }
    .calc-card {
        padding: 1.15rem !important;
    }
    .calc-comparison {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.55rem !important;
    }
    .calc-box {
        padding: 0.65rem !important;
    }


    .kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.65rem !important;
        margin-bottom: 1.25rem !important;
    }
    .kpi-card {
        padding: 0.9rem 0.85rem !important;
    }
    .kpi-val {
        font-size: 1.35rem !important;
    }
    .metric-icon {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.95rem !important;
    }
}

@media (max-width: 480px) {
    .container.header-inner,
    .container.top-strip-inner {
        padding-left: 0.85rem !important;
        padding-right: 0.85rem !important;
    }
    .surface-card {
        padding: 1.05rem !important;
        border-radius: var(--radius-md) !important;
        margin-bottom: 1.1rem !important;
    }
    .unlock-card-header {
        padding: 1.05rem 1.15rem !important;
    }
    .unlock-card-body {
        padding: 1.05rem !important;
    }
    .entitlement-body {
        padding: 1rem !important;
    }
}

@media (max-width: 350px) {
    .search-bar-grid,
    .search-grid,
    .calc-comparison {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

.site-header,
.top-strip {
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}
.site-header .header-inner,
.container.header-inner {
    max-width: 1320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0.48rem 0.9rem !important;
    box-sizing: border-box !important;
}
.top-strip .top-strip-inner,
.container.top-strip-inner {
    max-width: 1320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0.1rem 0.9rem !important;
    box-sizing: border-box !important;
}

@media (min-width: 768px) {
    .site-header .header-inner,
    .container.header-inner {
        padding: 0.5rem 1.35rem !important;
    }
    .top-strip .top-strip-inner,
    .container.top-strip-inner {
        padding: 0.15rem 1.35rem !important;
    }
}

@media (max-width: 480px) {
    .site-header .header-inner,
    .container.header-inner {
        padding: 0.4rem 0.75rem !important;
    }
    .top-strip .top-strip-inner,
    .container.top-strip-inner {
        padding: 0.1rem 0.75rem !important;
    }
    .account-dropdown-menu {
        right: 0.75rem !important;
    }
}

html {
    overflow-x: visible !important;
}
body {
    overflow-x: clip !important;
}

.site-header {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
}

.btn-near-mobile {
    display: inline-flex !important;
    align-items: center;
    gap: 0.35rem;
    padding: 0.42rem 0.85rem;
    border-radius: var(--radius-full);
    background: var(--terra-50);
    border: 1px solid var(--terra-100);
    color: var(--terra-700);
    font-size: 0.8rem;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.btn-near-mobile:hover {
    background: var(--terra-500);
    color: #FFFFFF;
    border-color: var(--terra-500);
}

@media (max-width: 640px) {
    .btn-near-mobile {
        padding: 0.32rem 0.55rem;
        font-size: 0.7rem;
        gap: 0.25rem;
    }
}

.welcome-popup-card {
    max-width: 410px !important;
    border-radius: var(--radius-lg) !important;
}
.welcome-popup-header {
    padding: 1.05rem 1.2rem 0.9rem !important;
}
.welcome-offer-pill {
    font-size: 0.65rem !important;
    padding: 0.18rem 0.6rem !important;
    margin-bottom: 0.4rem !important;
}
.welcome-popup-header h2 {
    font-size: 1.2rem !important;
    margin-bottom: 0.15rem !important;
}
.welcome-popup-header p {
    font-size: 0.78rem !important;
}
.welcome-popup-close {
    top: 10px !important;
    right: 10px !important;
    width: 30px !important;
    height: 30px !important;
    font-size: 0.88rem !important;
}
.welcome-popup-body {
    padding: 0.9rem 1.1rem !important;
}
.welcome-rule-grid {
    gap: 0.55rem !important;
}
.welcome-rule-item {
    padding: 0.6rem 0.75rem !important;
    gap: 0.65rem !important;
    border-radius: var(--radius-sm) !important;
}
.welcome-rule-icon {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.88rem !important;
    border-radius: 8px !important;
}
.welcome-rule-item h4 {
    font-size: 0.84rem !important;
    margin-bottom: 0.1rem !important;
}
.welcome-rule-item p {
    font-size: 0.75rem !important;
    line-height: 1.4 !important;
}
.welcome-popup-footer {
    padding: 0.75rem 1.1rem 1rem !important;
}
.welcome-popup-footer .btn {
    padding: 0.62rem 1rem !important;
    font-size: 0.86rem !important;
}

.btn-fav.is-fav {
    background: rgba(217, 93, 57, 0.12);
    color: var(--terra-500);
    border-color: rgba(217, 93, 57, 0.35);
}
.btn-fav.is-fav i { color: var(--terra-500); }

.prop-media {
    background: var(--bg-sand);
}
.prop-media img {
    object-fit: contain !important;
    background: var(--bg-sand);
}
.bento-gallery img,
.collage-main-frame img {
    object-fit: contain !important;
    background: var(--bg-sand);
}
.review-media img {
    object-fit: contain !important;
    background: var(--bg-sand);
}

.gd-media-hint {
    font-size: 0.8rem;
    color: var(--ink-500);
    margin: 0.25rem 0 0.65rem;
    line-height: 1.45;
}
.gd-dropzone {
    position: relative;
    border: 1.5px dashed var(--border-strong);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, var(--bg-sand) 0%, var(--bg-card) 100%);
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    overflow: hidden;
}
.gd-dropzone:hover,
.gd-dropzone.is-dragover {
    border-color: var(--emerald-600);
    background: var(--emerald-50);
    box-shadow: 0 0 0 3px rgba(13, 104, 77, 0.08);
}
.gd-dropzone-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}
.gd-dropzone-inner {
    position: relative;
    z-index: 1;
    pointer-events: none;
    text-align: center;
    padding: 1.35rem 1rem;
}
.gd-dropzone-sm .gd-dropzone-inner {
    padding: 1.1rem 0.85rem;
}
.gd-dropzone-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.55rem;
    border-radius: 14px;
    background: var(--emerald-100);
    color: var(--emerald-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}
.gd-dropzone-sm .gd-dropzone-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
}
.gd-dropzone-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 0.92rem;
    color: var(--ink-950);
    margin-bottom: 0.2rem;
}
.gd-dropzone-sub {
    font-size: 0.76rem;
    color: var(--ink-500);
    margin-bottom: 0.65rem;
}
.gd-dropzone-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.42rem 0.85rem;
    border-radius: var(--radius-full);
    background: var(--emerald-700);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
}
.gd-media-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.75rem;
}
.gd-media-card {
    width: 110px;
    background: var(--bg-card);
    border: 1px solid var(--border-warm);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}
.gd-media-card img {
    width: 100%;
    height: 78px;
    object-fit: contain;
    background: var(--bg-sand);
    display: block;
}
.gd-media-card-icon {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-sand);
    color: var(--emerald-700);
    font-size: 1.4rem;
}
.gd-media-card-meta {
    padding: 0.4rem 0.45rem 0.5rem;
    font-size: 0.68rem;
    line-height: 1.3;
}
.gd-media-card-meta strong {
    display: block;
    color: var(--ink-900);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 700;
}
.gd-media-card-meta span {
    color: var(--ink-500);
}
.gd-media-preview-video .gd-media-card {
    width: 100%;
    max-width: 240px;
}

.gd-dialog-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(18, 19, 22, 0.55);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, visibility 0.18s ease;
}
.gd-dialog-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}
.gd-dialog-card {
    width: 100%;
    max-width: 420px;
    background: var(--bg-card);
    border: 1px solid var(--border-warm);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-float);
    overflow: hidden;
    transform: translateY(10px) scale(0.98);
    transition: transform 0.18s ease;
}
.gd-dialog-backdrop.is-open .gd-dialog-card {
    transform: translateY(0) scale(1);
}
.gd-dialog-head {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.2rem 1.25rem 0.35rem;
}
.gd-dialog-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.05rem;
}
.gd-dialog-icon.danger {
    background: var(--danger-50);
    color: var(--danger-600);
}
.gd-dialog-icon.warn {
    background: var(--gold-100);
    color: var(--gold-700);
}
.gd-dialog-icon.info {
    background: var(--emerald-100);
    color: var(--emerald-700);
}
.gd-dialog-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--ink-950);
    letter-spacing: -0.02em;
    margin: 0 0 0.25rem;
    line-height: 1.3;
}
.gd-dialog-msg {
    font-size: 0.88rem;
    color: var(--ink-500);
    line-height: 1.5;
    margin: 0;
}
.gd-dialog-body {
    padding: 0.5rem 1.25rem 0.25rem;
}
.gd-dialog-input {
    width: 100%;
    margin-top: 0.65rem;
    padding: 0.7rem 0.85rem;
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--ink-900);
    background: var(--bg-ivory);
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.gd-dialog-input:focus {
    border-color: var(--emerald-600);
    box-shadow: 0 0 0 3px rgba(13, 104, 77, 0.12);
}
.gd-dialog-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
    padding: 1rem 1.25rem 1.2rem;
}
.gd-dialog-actions .btn {
    min-width: 100px;
    font-size: 0.84rem;
}
.gd-toast-stack {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: min(360px, calc(100vw - 2rem));
    pointer-events: none;
}
.gd-toast {
    pointer-events: auto;
    background: var(--bg-card);
    border: 1px solid var(--border-warm);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    padding: 0.75rem 0.95rem;
    font-size: 0.86rem;
    color: var(--ink-900);
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    animation: gdToastIn 0.2s ease;
}
.gd-toast.is-error {
    border-color: rgba(220, 38, 38, 0.25);
    background: var(--danger-50);
    color: var(--danger-600);
}
.gd-toast.is-success {
    border-color: var(--emerald-200);
    background: var(--emerald-50);
    color: var(--emerald-800);
}
@keyframes gdToastIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem 1rem;
    padding-top: 1.15rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.82rem;
    color: #94a3b8;
}
.footer-bottom a {
    color: #34d399;
    font-weight: 700;
    text-decoration: none;
}
.footer-bottom a:hover {
    text-decoration: underline;
    color: #6ee7b7;
}
.footer-credit {
    color: #94a3b8;
}
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
    .footer-copy,
    .footer-credit {
        width: 100%;
        text-align: center;
    }
}

.refund-track-cta {
    margin: 0 0 1.15rem;
    max-width: 100%;
}
.refund-track-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    max-width: 100%;
    white-space: normal !important;
    text-align: center;
    line-height: 1.35;
    padding: 0.65rem 1rem !important;
    height: auto !important;
    box-sizing: border-box;
}
.refund-track-btn span {
    min-width: 0;
}
.refund-success-track {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    max-width: 100%;
}
.refund-tracking-code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    background: #fff;
    border: 1px solid var(--emerald-200);
    padding: 0.55rem 0.9rem;
    border-radius: 10px;
    color: var(--emerald-800);
    word-break: break-all;
    max-width: 100%;
    box-sizing: border-box;
}
@media (max-width: 640px) {
    .refund-track-cta .refund-track-btn {
        width: 100%;
        display: flex !important;
    }
    .refund-success-track {
        flex-direction: column;
        align-items: stretch;
    }
    .refund-success-track .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 1.35rem 0 0.4rem !important;
        margin-top: 1.5rem !important;
    }
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        padding-bottom: 0.75rem !important;
        border-bottom: none !important;
    }
    .footer-col h4 {
        margin-bottom: 0.4rem !important;
        font-size: 0.9rem !important;
    }
    .footer-col li {
        margin-bottom: 0.28rem !important;
    }
    .footer-col a {
        font-size: 0.82rem !important;
    }
    .footer-bottom {
        margin-top: 0.55rem !important;
        padding-top: 0.55rem !important;
        padding-bottom: 0.15rem !important;
        border-top: 1px solid rgba(255,255,255,0.1) !important;
        gap: 0.2rem !important;
    }
    .footer-copy,
    .footer-credit {
        line-height: 1.35;
        font-size: 0.74rem;
    }
}

.hero-image-section {
    width: 100%;
    background: linear-gradient(180deg, #EBF5F0 0%, var(--bg-ivory, #FAF7F2) 100%);
    border-bottom: 1px solid var(--border-warm, #E6DEC8);
    padding: 0 0 1.25rem;
    margin: 0;
}
.hero-slider-wrap {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #E8F4FA;
    line-height: 0;
    touch-action: pan-y;
    user-select: none;
}
.hero-slides-track {
    position: relative;
    width: 100%;
}
.hero-slide {
    display: none;
    width: 100%;
    animation: heroFadeIn 0.4s ease-out;
}
.hero-slide.active {
    display: block;
}
@keyframes heroFadeIn {
    from { opacity: 0.5; }
    to { opacity: 1; }
}
.hero-banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center center;
}
.hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: var(--emerald-800, #0A4D3C);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    z-index: 5;
    transition: all 0.2s ease;
}
.hero-slider-btn:hover {
    background: var(--emerald-700, #0F765A);
    color: #FFFFFF;
}
.hero-slider-btn.prev { left: 16px; }
.hero-slider-btn.next { right: 16px; }
.hero-slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 5;
    background: rgba(10, 77, 60, 0.28);
    padding: 4px 9px;
    border-radius: 999px;
    backdrop-filter: blur(4px);
}
.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    padding: 0;
    transition: all 0.25s ease;
}
.hero-dot.active {
    width: 22px;
    background: #FFFFFF;
}
.hero-search-container {
    margin-top: 0.9rem;
    margin-bottom: 0;
    position: relative;
    z-index: 45;
}
@media (max-width: 768px) {
    .hero-image-section {
        padding: 0.55rem 0 0.9rem;
        background: var(--bg-ivory, #FAF7F2);
    }
    .hero-slider-wrap {
        padding: 0 0.65rem;
    }
    .hero-slider {
        border-radius: 14px;
        box-shadow: 0 8px 22px rgba(15, 118, 90, 0.12);
        border: 1px solid rgba(15, 118, 90, 0.14);
        background: #E8F4FA;
    }
    .hero-banner-img {
        width: 100%;
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
        border-radius: 13px;
    }
    .hero-slider-btn {
        width: 26px;
        height: 26px;
        font-size: 0.68rem;
        background: rgba(255, 255, 255, 0.85);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
    .hero-slider-btn.prev { left: 6px; }
    .hero-slider-btn.next { right: 6px; }
    .hero-slider-dots {
        bottom: 6px;
        padding: 3px 7px;
        gap: 5px;
    }
    .hero-dot {
        width: 6px;
        height: 6px;
    }
    .hero-dot.active {
        width: 16px;
    }
    .hero-search-container {
        margin-top: 0.1rem !important;
        margin-bottom: 0.7rem !important;
    }
}
@media (max-width: 480px) {
    .hero-slider-wrap {
        padding: 0 0.5rem;
    }
    .hero-slider {
        border-radius: 12px;
    }
    .hero-banner-img {
        border-radius: 11px;
    }
}

.saas-trust-strip {
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-warm, #E6DEC8);
    padding: 1.15rem 0;
    overflow: hidden;
}
.saas-trust-container {
    max-width: 100%;
    overflow: hidden;
}

.saas-metrics-marquee {
    width: 100%;
    overflow: hidden;
}
.saas-metrics-track {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: center;
}
.saas-metrics-set {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    align-items: center;
}
.saas-metrics-set-clone {
    display: none;
}
.saas-metric-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.65rem 0.9rem;
    border-radius: var(--radius-md, 14px);
    background: var(--bg-ivory, #FAF7F2);
    border: 1px solid var(--border-warm, #E6DEC8);
}
.saas-metric-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--emerald-50, #E8F5F0);
    color: var(--emerald-700, #0F765A);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}
.saas-metric-num {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--ink-950, #121316);
    line-height: 1.15;
}
.saas-metric-label {
    font-size: 0.76rem;
    color: var(--ink-500, #686B78);
    font-weight: 600;
}

.saas-workflow-tabs {
    display: inline-flex;
    background: var(--bg-sand, #F3EFE6);
    padding: 0.35rem;
    border-radius: 999px;
    border: 1px solid var(--border-warm, #E6DEC8);
    gap: 0.35rem;
}
.saas-tab-btn {
    border: none;
    background: transparent;
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ink-700, #3F424D);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}
.saas-tab-btn.active {
    background: var(--emerald-700, #0F765A);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(15, 118, 90, 0.22);
}
.saas-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 1.5rem;
}
.saas-step-card {
    background: #FFFFFF;
    border: 1px solid var(--border-warm, #E6DEC8);
    border-radius: var(--radius-lg, 18px);
    padding: 1.45rem 1.3rem;
    position: relative;
    box-shadow: var(--shadow-soft, 0 6px 20px rgba(0,0,0,0.04));
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.saas-step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card, 0 14px 30px rgba(0,0,0,0.08));
}
.saas-step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    background: var(--emerald-50, #E8F5F0);
    color: var(--emerald-800, #0A4D3C);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-bottom: 0.9rem;
}
.saas-step-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--emerald-700, #0F765A), var(--emerald-800, #0A4D3C));
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
.saas-step-card h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--ink-950, #121316);
    margin-bottom: 0.45rem;
}
.saas-step-card p {
    font-size: 0.86rem;
    color: var(--ink-500, #686B78);
    line-height: 1.6;
    margin: 0;
}

.saas-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}
.saas-price-card {
    background: #FFFFFF;
    border: 1px solid var(--border-warm, #E6DEC8);
    border-radius: var(--radius-xl, 22px);
    padding: 1.85rem 1.6rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-shadow: var(--shadow-soft, 0 6px 20px rgba(0,0,0,0.04));
}
.saas-price-card.featured {
    border: 2px solid var(--emerald-700, #0F765A);
    box-shadow: 0 20px 44px rgba(10, 77, 60, 0.14);
    transform: translateY(-4px);
}
.saas-popular-ribbon {
    position: absolute;
    top: -13px;
    right: 20px;
    background: linear-gradient(135deg, var(--emerald-700, #0F765A), #059669);
    color: #FFFFFF;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.32rem 0.85rem;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(15, 118, 90, 0.3);
}
.saas-plan-name {
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--emerald-700, #0F765A);
    margin-bottom: 0.4rem;
}
.saas-plan-price {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.15rem;
    font-weight: 800;
    color: var(--ink-950, #121316);
    line-height: 1.1;
    margin-bottom: 0.35rem;
}
.saas-plan-price small {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink-500, #686B78);
}
.saas-plan-desc {
    font-size: 0.86rem;
    color: var(--ink-500, #686B78);
    margin-bottom: 1.25rem;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid var(--border-warm, #E6DEC8);
}
.saas-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.68rem;
}
.saas-plan-features li {
    font-size: 0.86rem;
    color: var(--ink-700, #3F424D);
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    line-height: 1.45;
}
.saas-plan-features li i {
    color: var(--emerald-700, #0F765A);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.saas-compare-wrap {
    background: #FFFFFF;
    border: 1px solid var(--border-warm, #E6DEC8);
    border-radius: var(--radius-xl, 22px);
    overflow: hidden;
    box-shadow: var(--shadow-soft, 0 6px 20px rgba(0,0,0,0.04));
}
.saas-compare-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.saas-compare-table th,
.saas-compare-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-warm, #E6DEC8);
    font-size: 0.9rem;
}
.saas-compare-table thead th {
    background: var(--bg-sand, #F3EFE6);
    font-weight: 800;
    color: var(--ink-950, #121316);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.saas-compare-table thead th.highlight-col {
    background: var(--emerald-800, #0A4D3C);
    color: #FFFFFF;
}
.saas-compare-table tbody td.highlight-col {
    background: rgba(213, 237, 227, 0.28);
    font-weight: 700;
    color: var(--emerald-800, #0A4D3C);
}
.saas-compare-table tr:last-child td {
    border-bottom: none;
}

.saas-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}
.saas-review-card {
    background: #FFFFFF;
    border: 1px solid var(--border-warm, #E6DEC8);
    border-radius: var(--radius-lg, 18px);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft, 0 6px 20px rgba(0,0,0,0.04));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.saas-stars {
    color: #F59E0B;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    display: flex;
    gap: 0.2rem;
}
.saas-review-quote {
    font-size: 0.9rem;
    color: var(--ink-700, #3F424D);
    line-height: 1.65;
    margin-bottom: 1.2rem;
    font-style: italic;
}
.saas-reviewer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--border-warm, #E6DEC8);
}
.saas-reviewer-info {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.saas-reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--emerald-700, #0F765A);
    color: #FFFFFF;
    font-weight: 800;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.saas-saved-pill {
    background: var(--emerald-50, #E8F5F0);
    color: var(--emerald-800, #0A4D3C);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    white-space: nowrap;
}

.saas-faq-wrap {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.saas-faq-item {
    background: #FFFFFF;
    border: 1px solid var(--border-warm, #E6DEC8);
    border-radius: var(--radius-md, 14px);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.saas-faq-item.open {
    border-color: var(--emerald-700, #0F765A);
    box-shadow: 0 8px 24px rgba(15, 118, 90, 0.08);
}
.saas-faq-q {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.1rem 1.35rem;
    text-align: left;
    font-family: inherit;
    font-size: 0.96rem;
    font-weight: 800;
    color: var(--ink-950, #121316);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
}
.saas-faq-q i {
    color: var(--emerald-700, #0F765A);
    transition: transform 0.25s ease;
}
.saas-faq-item.open .saas-faq-q i {
    transform: rotate(180deg);
}
.saas-faq-a {
    display: none;
    padding: 0 1.35rem 1.15rem;
    font-size: 0.88rem;
    color: var(--ink-500, #686B78);
    line-height: 1.65;
    border-top: 1px dashed var(--border-warm, #E6DEC8);
    padding-top: 0.85rem;
}
.saas-faq-item.open .saas-faq-a {
    display: block;
}

.saas-cta-banner {
    background: linear-gradient(135deg, #073B2E 0%, #0F765A 60%, #115E49 100%);
    border-radius: var(--radius-xl, 24px);
    padding: 2.6rem 2.4rem;
    color: #FFFFFF;
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 2rem;
    align-items: center;
    box-shadow: 0 22px 48px rgba(10, 77, 60, 0.22);
    position: relative;
    overflow: hidden;
}
.saas-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.35rem;
}
.saas-cta-card-right {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 18px;
    padding: 1.35rem;
    backdrop-filter: blur(8px);
}

@media (max-width: 992px) {
    .saas-metrics-set {
        grid-template-columns: repeat(2, 1fr);
    }
    .saas-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .saas-pricing-grid,
    .saas-reviews-grid,
    .saas-cta-banner {
        grid-template-columns: 1fr;
    }
    .saas-price-card.featured {
        transform: none;
    }
}
@media (max-width: 768px) {

    .saas-trust-strip {
        padding: 0.75rem 0;
        overflow: hidden;
        background: #FFFFFF;
    }
    .saas-trust-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100%;
        overflow: hidden;
    }
    .saas-metrics-marquee {
        overflow: hidden;
        width: 100%;
        mask-image: none;
        -webkit-mask-image: none;
    }
    .saas-metrics-track {
        display: flex;
        flex-wrap: nowrap;
        width: max-content;
        gap: 0;
        animation: saasMetricsScroll 22s linear infinite;
        will-change: transform;
    }
    .saas-metrics-set {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        flex-shrink: 0;
        gap: 0.65rem;
        padding-right: 0.65rem;
    }
    .saas-metrics-set-clone {
        display: flex !important;
    }
    .saas-metric-card {
        flex: 0 0 auto;
        padding: 0.5rem 0.75rem;
        gap: 0.5rem;
        white-space: nowrap;
        min-width: max-content;
        background: var(--bg-ivory, #FAF7F2);
        border: 1px solid var(--border-warm, #E6DEC8);
    }
    .saas-metric-icon {
        width: 32px;
        height: 32px;
        font-size: 0.88rem;
    }
    .saas-metric-num {
        font-size: 0.92rem;
        white-space: nowrap;
    }
    .saas-metric-label {
        font-size: 0.65rem;
        white-space: nowrap;
    }
}
@keyframes saasMetricsScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .saas-metrics-track { animation: none !important; }
}
@media (max-width: 640px) {
    .saas-metric-card {
        padding: 0.45rem 0.7rem;
        gap: 0.45rem;
    }
    .saas-metric-icon {
        width: 30px;
        height: 30px;
        font-size: 0.82rem;
    }
    .saas-metric-num {
        font-size: 0.88rem;
    }
    .saas-metric-label {
        font-size: 0.62rem;
    }
    .saas-steps-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }
    .saas-compare-wrap {
        overflow-x: auto;
    }
    .saas-compare-table th,
    .saas-compare-table td {
        padding: 0.75rem 0.85rem;
        font-size: 0.8rem;
    }
    .saas-cta-banner {
        padding: 1.65rem 1.25rem;
    }
}

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

.site-header,
.site-footer,
.hero-image-section,
.saas-trust-strip,
.section-block,
.container,
.header-inner {
    max-width: 100%;
}

img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

input,
select,
textarea,
.form-control,
.search-segment select,
.search-segment input {
    font-size: 16px !important;
}

.btn,
.nav-item,
.mobile-bottom-nav a,
.mobile-menu-btn,
.account-icon-btn,
.cat-pill {
    min-height: 40px;
}

.mobile-bottom-nav a,
.mobile-bottom-nav button {
    min-height: 48px;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}

@supports (padding-bottom: env(safe-area-inset-bottom)) {
    body {
        padding-bottom: calc(64px + env(safe-area-inset-bottom));
    }
    @media (min-width: 769px) {
        body { padding-bottom: 0; }
    }
    .mobile-bottom-nav {
        padding-bottom: env(safe-area-inset-bottom);
        height: auto;
        min-height: 56px;
    }
}

.header-inner {
    flex-wrap: nowrap;
    min-width: 0;
}
.brand-logo {
    min-width: 0;
    max-width: 55%;
}
.brand-text-wrap {
    min-width: 0;
    overflow: hidden;
}
.brand-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.header-right {
    flex-shrink: 0;
    gap: 0.4rem;
}

@media (max-width: 768px) {
    .search-bar-shell {
        padding: 0.75rem;
        border-radius: 16px;
    }
    .search-bar-grid {
        grid-template-columns: 1fr !important;
        gap: 0.55rem !important;
    }
    .search-segment {
        border-right: none !important;
        border-bottom: 1px solid var(--border-warm);
        padding: 0.35rem 0.25rem 0.55rem !important;
    }
    .search-segment:last-of-type {
        border-bottom: none;
    }
    .search-bar-grid > button[type="submit"],
    .search-bar-shell .btn {
        width: 100%;
        min-height: 48px;
        justify-content: center;
    }
    .hero-search-container {
        padding: 0 0.15rem;
    }
}

@media (max-width: 640px) {
    .properties-grid,
    .prop-grid,
    .listings-grid {
        grid-template-columns: 1fr !important;
        gap: 0.9rem !important;
    }
    .prop-card,
    .property-card {
        max-width: 100%;
    }
    .section-block {
        padding: 1.75rem 0 !important;
    }
    .section-title {
        font-size: 1.25rem !important;
        line-height: 1.3;
    }
}

@media (min-width: 641px) and (max-width: 992px) {
    .properties-grid,
    .prop-grid,
    .listings-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    .footer-col h4 {
        margin-bottom: 0.65rem;
        font-size: 0.95rem;
    }
    .footer-col ul li {
        margin-bottom: 0.4rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 640px) {
    .auth-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0.85rem auto !important;
        padding: 1.1rem 0.95rem !important;
        border-radius: 16px;
    }
    .auth-title {
        font-size: 1.25rem !important;
    }
    .form-control,
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="tel"],
    select,
    textarea {
        width: 100%;
        max-width: 100%;
        min-height: 46px;
    }
}

.saas-compare-wrap,
.saas-table-wrap,
table {
    max-width: 100%;
}
.saas-compare-wrap,
.saas-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 640px) {
    .saas-cta-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.65rem !important;
    }
    .saas-cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .checkout-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    .unlocked-success-card a.btn,
    .unlock-card-body .btn {
        min-height: 44px;
    }
}

.saas-trust-strip {
    overflow: hidden !important;
}
@media (max-width: 768px) {
    .saas-metrics-marquee {
        overflow: hidden;
        width: 100%;
    }
    .saas-metric-card {
        max-width: 85vw;
    }
}

.top-strip {
    overflow: hidden;
}
.top-strip-inner {
    max-width: 100%;
}

@media (max-width: 360px) {
    .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    .brand-name {
        font-size: 1.05rem !important;
    }
    .brand-tagline {
        display: none !important;
    }
    .brand-emblem,
    .brand-emblem.brand-emblem-logo {
        width: 34px !important;
        height: 34px !important;
    }
    .brand-logo-img {
        width: 22px !important;
        height: 22px !important;
    }
    .mobile-bottom-nav span {
        font-size: 0.6rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .desktop-nav .nav-item {
        padding: 0.4rem 0.55rem;
        font-size: 0.82rem;
    }
    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

.site-header {
    width: 100%;
    max-width: 100vw;
}

.saas-metrics-marquee::-webkit-scrollbar,
.category-ribbon::-webkit-scrollbar,
.top-strip-marquee::-webkit-scrollbar {
    display: none;
}

.saas-compare-mobile { display: none; }
@media (max-width: 768px) {
    .saas-compare-desktop { display: none !important; }
    .saas-compare-mobile {
        display: flex;
        flex-direction: column;
        gap: 0.85rem;
    }
    .compare-mobile-card {
        background: #FFFFFF;
        border: 1px solid var(--border-warm, #E6DEC8);
        border-radius: 16px;
        padding: 1rem 1.05rem;
        box-shadow: 0 4px 14px rgba(0,0,0,0.04);
    }
    .compare-mobile-feature {
        font-weight: 800;
        font-size: 0.92rem;
        color: var(--ink-950, #121316);
        margin-bottom: 0.75rem;
        display: flex;
        align-items: center;
        gap: 0.45rem;
        line-height: 1.35;
    }
    .compare-mobile-feature i {
        color: var(--emerald-700, #0F765A);
        width: 1.1rem;
        text-align: center;
    }
    .compare-mobile-row {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        padding: 0.7rem 0.8rem;
        border-radius: 12px;
        margin-bottom: 0.5rem;
    }
    .compare-mobile-row:last-child { margin-bottom: 0; }
    .compare-mobile-row.win {
        background: rgba(15, 118, 90, 0.08);
        border: 1px solid rgba(15, 118, 90, 0.18);
    }
    .compare-mobile-row.lose {
        background: #FEF2F2;
        border: 1px solid #FECACA;
    }
    .compare-label {
        font-size: 0.68rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }
    .compare-label.rk { color: var(--emerald-800, #0A4D3C); }
    .compare-label.dealer { color: #B91C1C; }
    .compare-val {
        font-size: 0.88rem;
        font-weight: 600;
        color: var(--ink-900, #1C1D21);
        line-height: 1.45;
        word-break: break-word;
    }
    .compare-mobile-row.win .compare-val { color: var(--emerald-800, #0A4D3C); }
    .compare-mobile-row.lose .compare-val { color: #991B1B; }
    .compare-val i { margin-right: 0.25rem; }
}

.saas-reviewer-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #FFFFFF;
    box-shadow: 0 2px 8px rgba(10, 77, 60, 0.18);
}
.saas-reviewer-name {
    font-weight: 800;
    font-size: 0.88rem;
    color: var(--ink-950, #121316);
    line-height: 1.25;
}
.saas-reviewer-meta {
    font-size: 0.75rem;
    color: var(--ink-500, #686B78);
    line-height: 1.3;
}
@media (max-width: 992px) {
    .saas-reviews-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
    }
}
@media (max-width: 640px) {
    .saas-reviews-grid {
        grid-template-columns: 1fr !important;
        gap: 0.95rem !important;
    }
    .saas-review-card {
        padding: 1.15rem !important;
    }
    .saas-review-quote {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1rem !important;
    }
    .saas-reviewer {
        flex-wrap: wrap;
        align-items: flex-start !important;
        gap: 0.65rem !important;
    }
    .saas-saved-pill {
        margin-left: auto;
    }
}

.category-ribbon-wrap {
    overflow: hidden;
}
.category-ribbon {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    scroll-padding-inline: 0.5rem;
    gap: 0.5rem !important;
}
.cat-pill {
    flex: 0 0 auto;
    min-height: 58px;
    padding: 0.55rem 0.6rem !important;
    font-size: 0.7rem !important;
}

@media (max-width: 768px) {
    .category-ribbon-wrap {
        padding: 0.55rem 0;
    }
    .category-ribbon {
        justify-content: flex-start !important;
        gap: 0.45rem !important;
        padding-left: 0.1rem;
        padding-right: 0.85rem;
        align-items: stretch;
    }

    .cat-pill {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.28rem !important;
        min-width: 68px;
        max-width: 86px;
        min-height: 58px !important;
        padding: 0.55rem 0.45rem !important;
        font-size: 0.65rem !important;
        font-weight: 700;
        line-height: 1.15 !important;
        white-space: normal !important;
        text-align: center;
        border-radius: 14px;
    }
    .cat-pill i {
        font-size: 1.2rem !important;
        line-height: 1;
        margin: 0 !important;
        color: var(--emerald-700);
    }
    .cat-pill:hover i,
    .cat-pill.active i {
        color: #FFFFFF;
    }
}
@media (max-width: 480px) {
    .category-ribbon-wrap .container {
        padding-left: 0.65rem !important;
        padding-right: 0.65rem !important;
    }
    .cat-pill {
        min-width: 62px;
        max-width: 78px;
        min-height: 54px !important;
        padding: 0.48rem 0.35rem !important;
        font-size: 0.62rem !important;
        gap: 0.22rem !important;
    }
    .cat-pill i {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 640px) {
    .section-head {
        margin-bottom: 1.15rem !important;
    }
    .section-title {
        font-size: 1.2rem !important;
        line-height: 1.3 !important;
    }
    .section-desc {
        font-size: 0.86rem !important;
        line-height: 1.5 !important;
    }
}

.saas-reviewer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    padding-top: 0.95rem;
    border-top: 1px solid var(--border-warm, #E6DEC8);
}
.saas-reviewer-info {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
}
.saas-reviewer-photo {
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    flex-shrink: 0;
    border: 2px solid #FFFFFF;
    box-shadow: 0 2px 10px rgba(10, 77, 60, 0.2);
    background: var(--emerald-50, #E8F5F0);
}
.saas-reviewer-name {
    font-weight: 800;
    font-size: 0.92rem;
    color: var(--ink-950, #121316);
    line-height: 1.25;
}
.saas-reviewer-meta,
.saas-saved-pill {
    display: none !important;
}
@media (max-width: 640px) {
    .saas-reviewer-photo {
        width: 48px !important;
        height: 48px !important;
    }
    .saas-reviewer-name {
        font-size: 0.88rem;
    }
}

.mobile-search-head { display: none; }

@media (max-width: 768px) {
    .hero-search-container {
        margin-top: 0.1rem !important;
        margin-bottom: 0.7rem !important;
        padding: 0 0.65rem !important;
    }

    .search-bar-shell.mobile-search-card {
        background: linear-gradient(165deg, #FFFFFF 0%, #F4FBF8 55%, #FAF7F2 100%) !important;
        border: 1px solid rgba(15, 118, 90, 0.16) !important;
        border-radius: 22px !important;
        padding: 1rem 0.95rem 1.05rem !important;
        box-shadow:
            0 10px 28px rgba(10, 77, 60, 0.10),
            0 2px 8px rgba(0, 0, 0, 0.04) !important;
        margin-top: 0.35rem !important;
        position: relative;
        overflow: hidden;
    }


    .search-bar-shell.mobile-search-card::before {
        content: "";
        position: absolute;
        top: -40px;
        right: -30px;
        width: 120px;
        height: 120px;
        background: radial-gradient(circle, rgba(15, 118, 90, 0.12) 0%, transparent 70%);
        pointer-events: none;
        z-index: 0;
    }

    .mobile-search-head {
        display: flex !important;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 0.9rem;
        position: relative;
        z-index: 1;
    }
    .mobile-search-head-icon {
        width: 42px;
        height: 42px;
        border-radius: 14px;
        background: linear-gradient(135deg, #0F765A 0%, #0A4D3C 100%);
        color: #FFFFFF;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.05rem;
        flex-shrink: 0;
        box-shadow: 0 6px 14px rgba(10, 77, 60, 0.28);
    }
    .mobile-search-title {
        font-family: 'Plus Jakarta Sans', sans-serif;
        font-weight: 800;
        font-size: 1.05rem;
        color: var(--ink-950, #121316);
        line-height: 1.2;
        letter-spacing: -0.02em;
    }
    .mobile-search-sub {
        font-size: 0.72rem;
        font-weight: 600;
        color: var(--emerald-700, #0F765A);
        margin-top: 0.12rem;
    }

    .search-bar-shell.mobile-search-card form {
        position: relative;
        z-index: 1;
    }

    .search-bar-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0.6rem !important;
    }

    .search-segment {
        background: #FFFFFF !important;
        border: 1px solid rgba(15, 118, 90, 0.14) !important;
        border-radius: 14px !important;
        padding: 0.65rem 0.75rem !important;
        box-shadow: 0 2px 8px rgba(10, 77, 60, 0.04);
        min-width: 0;
        transition: border-color 0.15s ease, box-shadow 0.15s ease;
    }
    .search-segment:focus-within {
        border-color: rgba(15, 118, 90, 0.45) !important;
        box-shadow: 0 0 0 3px rgba(15, 118, 90, 0.12);
    }

    .search-segment label {
        display: flex !important;
        align-items: center;
        gap: 0.35rem;
        font-size: 0.65rem !important;
        font-weight: 800 !important;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: var(--ink-500, #686B78) !important;
        margin-bottom: 0.3rem !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .search-segment label i {
        color: var(--emerald-700, #0F765A) !important;
        font-size: 0.72rem;
    }

    .search-segment select,
    .search-segment input {
        width: 100% !important;
        border: none !important;
        background: transparent !important;
        font-size: 0.88rem !important;
        font-weight: 700 !important;
        color: var(--ink-950, #121316) !important;
        outline: none !important;
        height: 28px !important;
        min-height: 28px !important;
        padding: 0 !important;
        -webkit-appearance: none;
        appearance: none;
    }


    .search-bar-grid > .search-submit-btn,
    .search-bar-grid > button[type="submit"] {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        margin-top: 0.25rem !important;
        min-height: 50px !important;
        border-radius: 14px !important;
        font-weight: 800 !important;
        font-size: 0.95rem !important;
        letter-spacing: 0.01em;
        background: linear-gradient(135deg, #0F765A 0%, #0A4D3C 100%) !important;
        border: none !important;
        box-shadow: 0 8px 18px rgba(10, 77, 60, 0.28) !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }
}

@media (max-width: 380px) {
    .search-bar-shell.mobile-search-card {
        padding: 0.85rem 0.8rem 0.95rem !important;
        border-radius: 18px !important;
    }
    .mobile-search-title { font-size: 0.98rem; }
    .search-segment {
        padding: 0.55rem 0.6rem !important;
        border-radius: 12px !important;
    }
    .search-segment select,
    .search-segment input {
        font-size: 0.82rem !important;
    }
}

@media (min-width: 769px) {
    .mobile-search-head { display: none !important; }
}

@media (max-width: 768px) {
    .mobile-search-head { display: none !important; }
    .search-bar-shell.mobile-search-card,
    .search-bar-shell {
        background: #FFFFFF !important;
        border: 1px solid var(--border-strong) !important;
        border-radius: var(--radius-lg) !important;
        padding: 0.75rem !important;
        box-shadow: var(--shadow-card) !important;
        margin-top: 0.5rem !important;
    }
    .search-bar-shell::before { display: none !important; content: none !important; }
    .search-bar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.5rem !important;
    }
    .search-segment {
        background: var(--bg-ivory) !important;
        border: 1px solid var(--border-warm) !important;
        border-radius: var(--radius-xs) !important;
        padding: 0.45rem 0.65rem !important;
        box-shadow: none !important;
    }
    .search-segment label {
        font-size: 0.62rem !important;
        margin-bottom: 0.1rem !important;
    }
    .search-segment select,
    .search-segment input {
        font-size: 0.82rem !important;
        height: 26px !important;
        min-height: 26px !important;
    }
    .search-bar-grid > button[type="submit"],
    .search-submit-btn {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        min-height: 44px !important;
        border-radius: var(--radius-full) !important;
        background: var(--emerald-700) !important;
        box-shadow: none !important;
        margin-top: 0.15rem !important;
        font-size: 0.9rem !important;
    }
}

@media (min-width: 769px) {
    .mobile-pill-search-wrap,
    .search-page-mobile-pill-wrap,
    #mobilePillSearchWrap {
        display: none !important;
    }
    .hero-search-container > .search-bar-shell {
        display: block !important;
    }
    .desktop-only-search-console {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .search-bar-shell,
    .search-bar-shell.mobile-search-card,
    .hero-search-container > .search-bar-shell,
    .desktop-only-search-console {
        display: none !important;
    }

    .mobile-pill-search-wrap,
    .search-page-mobile-pill-wrap,
    #mobilePillSearchWrap {
        display: block !important;
        width: 100% !important;
        position: relative !important;
        z-index: 45 !important;
    }

    .search-page-mobile-pill-wrap {
        margin-bottom: 1.35rem !important;
    }

    .hero-image-section {
        display: flex !important;
        flex-direction: column !important;
    }
    .hero-image-section > .hero-slider-wrap {
        order: 1 !important;
        width: 100% !important;
    }
    .hero-search-container {
        order: -1 !important;
        width: 100% !important;
        margin-top: 0.1rem !important;
        margin-bottom: 0.7rem !important;
        padding: 0 0.65rem !important;
        position: relative !important;
        z-index: 45 !important;
    }

    .mobile-pill-search-form {
        position: relative !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }


    .mobile-pill-search,
    #mobilePillSearchBar {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        background: #FFFFFF !important;
        border: 1.5px solid #C6E7DA !important;
        border-radius: 9999px !important;
        padding: 7px 8px 7px 10px !important;
        box-shadow:
            0 12px 30px -4px rgba(14, 147, 100, 0.15),
            0 4px 12px rgba(15, 23, 42, 0.05) !important;
        box-sizing: border-box !important;
        transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    }

    .mobile-pill-search:focus-within,
    #mobilePillSearchBar:focus-within {
        border-color: #0E9364 !important;
        box-shadow:
            0 14px 34px -4px rgba(14, 147, 100, 0.22),
            0 0 0 3px rgba(14, 147, 100, 0.11) !important;
    }


    .mps-loc-btn,
    #mpsLocationBtn {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
        max-width: 42px !important;
        max-height: 42px !important;
        border-radius: 50% !important;
        background: #E5F6EF !important;
        color: #0E9364 !important;
        border: none !important;
        outline: none !important;
        padding: 0 !important;
        margin: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        cursor: pointer !important;
        -webkit-appearance: none !important;
        appearance: none !important;
        transition: transform 0.15s ease, background-color 0.15s ease !important;
    }

    .mps-loc-btn:active,
    #mpsLocationBtn:active {
        transform: scale(0.94) !important;
        background: #D1F0E3 !important;
    }

    .mps-loc-btn.is-detecting svg,
    #mpsLocationBtn.is-detecting svg {
        animation: mpsPulseLoc 0.9s ease-in-out infinite alternate;
    }

    @keyframes mpsPulseLoc {
        from { transform: scale(0.88); opacity: 0.7; }
        to { transform: scale(1.12); opacity: 1; }
    }


    .mps-divider {
        width: 1px !important;
        min-width: 1px !important;
        max-width: 1px !important;
        background: #D6DFE7 !important;
        flex-shrink: 0 !important;
        display: block !important;
    }

    .mps-divider-left {
        height: 34px !important;
        margin: 0 11px 0 10px !important;
    }

    .mps-divider-right {
        height: 28px !important;
        margin: 0 9px 0 8px !important;
    }


    .mps-center {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: flex-start !important;
        text-align: left !important;
        cursor: text !important;
        padding: 1px 0 !important;
        margin: 0 !important;
    }

    .mps-label,
    #mpsHeadingLabel {
        display: block !important;
        width: 100% !important;
        font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
        font-size: 0.94rem !important;
        font-weight: 600 !important;
        color: #334455 !important;
        line-height: 1.2 !important;
        letter-spacing: -0.01em !important;
        margin: 0 !important;
        padding: 0 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        text-transform: none !important;
        cursor: text !important;
    }

    .mobile-pill-search input.mps-input[type="text"],
    #mpsQueryInput {
        width: 100% !important;
        max-width: 100% !important;
        height: 20px !important;
        min-height: 20px !important;
        max-height: 22px !important;
        padding: 0 !important;
        margin: 2px 0 0 0 !important;
        border: none !important;
        outline: none !important;
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
        font-size: 0.81rem !important;
        font-weight: 400 !important;
        color: #1E293B !important;
        line-height: 1.25 !important;
        -webkit-appearance: none !important;
        appearance: none !important;
    }

    .mobile-pill-search input.mps-input[type="text"]::placeholder,
    #mpsQueryInput::placeholder {
        color: #7B8A97 !important;
        opacity: 1 !important;
        font-weight: 400 !important;
    }


    .mps-filter-btn,
    #mpsFilterTriggerBtn {
        height: 38px !important;
        min-height: 38px !important;
        max-height: 38px !important;
        width: auto !important;
        padding: 0 13px !important;
        margin: 0 !important;
        border-radius: 9999px !important;
        background: #E5F6EF !important;
        color: #0E9364 !important;
        border: none !important;
        outline: none !important;
        display: inline-flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
        font-size: 0.82rem !important;
        font-weight: 600 !important;
        flex-shrink: 0 !important;
        cursor: pointer !important;
        white-space: nowrap !important;
        -webkit-appearance: none !important;
        appearance: none !important;
        transition: background-color 0.15s ease, transform 0.15s ease !important;
    }

    .mps-filter-btn:active,
    #mpsFilterTriggerBtn:active {
        transform: scale(0.96) !important;
        background: #D1F0E3 !important;
    }

    .mps-filter-btn.has-filters,
    #mpsFilterTriggerBtn.has-filters {
        background: #D4F2E5 !important;
        box-shadow: inset 0 0 0 1px rgba(14, 147, 100, 0.28) !important;
    }

    .mps-filter-svg {
        width: 17px !important;
        height: 17px !important;
        flex-shrink: 0 !important;
        display: block !important;
    }

    .mps-filter-text {
        display: inline-block !important;
        line-height: 1 !important;
        color: #0E9364 !important;
        font-weight: 600 !important;
    }

    .mps-filter-badge {
        background: #0E9364 !important;
        color: #FFFFFF !important;
        font-size: 0.65rem !important;
        font-weight: 800 !important;
        min-width: 17px !important;
        height: 17px !important;
        padding: 0 4px !important;
        border-radius: 999px !important;
        display: inline-flex;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
    }


    .mps-submit-btn,
    #mpsSubmitBtn {
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
        min-height: 50px !important;
        max-width: 50px !important;
        max-height: 50px !important;
        border-radius: 50% !important;
        background: #0E9364 !important;
        color: #FFFFFF !important;
        border: none !important;
        outline: none !important;
        margin: 0 0 0 8px !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        cursor: pointer !important;
        -webkit-appearance: none !important;
        appearance: none !important;
        box-shadow: 0 4px 12px rgba(14, 147, 100, 0.32) !important;
        transition: transform 0.15s ease, background-color 0.15s ease !important;
    }

    .mps-submit-btn:active,
    #mpsSubmitBtn:active {
        transform: scale(0.94) !important;
        background: #0B7A52 !important;
    }


    .mps-suggestions-box {
        position: absolute !important;
        top: calc(100% + 8px) !important;
        left: 0 !important;
        right: 0 !important;
        background: #FFFFFF !important;
        border: 1px solid #CBEAD9 !important;
        border-radius: 18px !important;
        box-shadow: 0 18px 40px rgba(10, 77, 60, 0.18), 0 4px 12px rgba(0,0,0,0.06) !important;
        z-index: 1200 !important;
        max-height: 310px !important;
        overflow-y: auto !important;
        padding: 0.45rem !important;
    }

    .mps-sug-item {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 0.65rem !important;
        width: 100% !important;
        padding: 0.6rem 0.75rem !important;
        border: none !important;
        background: transparent !important;
        border-radius: 12px !important;
        text-align: left !important;
        font-family: inherit !important;
        cursor: pointer !important;
        transition: background-color 0.15s ease !important;
    }

    .mps-sug-item:hover,
    .mps-sug-item:active {
        background: #EEF8F4 !important;
    }

    .mps-sug-icon {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        border-radius: 50% !important;
        background: #E5F6EF !important;
        color: #0E9364 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 0.82rem !important;
        flex-shrink: 0 !important;
    }

    .mps-sug-main {
        font-size: 0.85rem !important;
        font-weight: 700 !important;
        color: #1E293B !important;
        line-height: 1.25 !important;
    }

    .mps-sug-sub {
        font-size: 0.72rem !important;
        color: #64748B !important;
        line-height: 1.2 !important;
    }

    .mps-sug-tag {
        margin-left: auto !important;
        font-size: 0.66rem !important;
        font-weight: 700 !important;
        color: #0E9364 !important;
        background: #E5F6EF !important;
        padding: 0.18rem 0.5rem !important;
        border-radius: 999px !important;
        white-space: nowrap !important;
    }


    .mps-active-chips {
        display: flex;
        flex-wrap: wrap !important;
        gap: 0.4rem !important;
        margin-top: 0.55rem !important;
        padding: 0 0.25rem !important;
    }

    .mps-active-chip {
        display: inline-flex !important;
        align-items: center !important;
        gap: 0.35rem !important;
        background: #E5F6EF !important;
        border: 1px solid #B7E4D0 !important;
        color: #0A4D3C !important;
        font-size: 0.72rem !important;
        font-weight: 700 !important;
        padding: 0.24rem 0.62rem !important;
        border-radius: 999px !important;
    }

    .mps-active-chip button {
        border: none !important;
        background: none !important;
        color: #0E9364 !important;
        font-size: 0.78rem !important;
        padding: 0 !important;
        margin-left: 2px !important;
        cursor: pointer !important;
        line-height: 1 !important;
        min-height: 0 !important;
        width: auto !important;
    }


    .mps-modal-backdrop {
        position: fixed !important;
        inset: 0 !important;
        background: rgba(15, 23, 42, 0.52) !important;
        backdrop-filter: blur(4px) !important;
        -webkit-backdrop-filter: blur(4px) !important;
        z-index: 3200 !important;
        display: none;
        align-items: flex-end !important;
        justify-content: center !important;
    }

    .mps-modal-backdrop.is-open {
        display: flex !important;
    }

    .mps-modal-sheet {
        width: 100% !important;
        max-width: 540px !important;
        max-height: 86vh !important;
        background: #FFFFFF !important;
        border-radius: 24px 24px 0 0 !important;
        box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.18) !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
        animation: mpsSheetSlideUp 0.24s cubic-bezier(0.16, 1, 0.3, 1);
    }

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

    .mps-modal-handle {
        width: 42px !important;
        height: 5px !important;
        border-radius: 999px !important;
        background: #CBD5E1 !important;
        margin: 10px auto 4px !important;
        flex-shrink: 0 !important;
    }

    .mps-modal-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0.65rem 1.15rem 0.85rem !important;
        border-bottom: 1px solid #E2E8F0 !important;
        flex-shrink: 0 !important;
    }

    .mps-modal-eyebrow {
        display: block !important;
        font-size: 0.68rem !important;
        font-weight: 800 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.05em !important;
        color: #0E9364 !important;
        margin-bottom: 2px !important;
    }

    .mps-modal-title {
        font-size: 1.08rem !important;
        font-weight: 800 !important;
        color: #1E293B !important;
        margin: 0 !important;
    }

    .mps-modal-close {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        border-radius: 50% !important;
        border: 1px solid #E2E8F0 !important;
        background: #F8FAFC !important;
        color: #334155 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 1rem !important;
        cursor: pointer !important;
    }

    .mps-modal-body {
        padding: 1rem 1.15rem !important;
        overflow-y: auto !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 1.1rem !important;
    }

    .mps-filter-group {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.48rem !important;
    }

    .mps-filter-label {
        font-size: 0.78rem !important;
        font-weight: 800 !important;
        color: #334155 !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.4rem !important;
    }

    .mps-filter-label i {
        color: #0E9364 !important;
    }

    .mps-modal-select,
    .mps-modal-input {
        width: 100% !important;
        min-height: 44px !important;
        padding: 0.55rem 0.85rem !important;
        border: 1.5px solid #CBD5E1 !important;
        border-radius: 12px !important;
        background: #F8FAFC !important;
        font-family: inherit !important;
        font-size: 0.88rem !important;
        font-weight: 600 !important;
        color: #0F172A !important;
        outline: none !important;
        box-sizing: border-box !important;
    }

    .mps-modal-select:focus,
    .mps-modal-input:focus {
        border-color: #0E9364 !important;
        background: #FFFFFF !important;
        box-shadow: 0 0 0 3px rgba(14, 147, 100, 0.12) !important;
    }

    .mps-chip-grid {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 0.42rem !important;
    }

    .mps-chip {
        border: 1px solid #CBD5E1 !important;
        background: #FFFFFF !important;
        color: #334155 !important;
        border-radius: 999px !important;
        padding: 0.38rem 0.78rem !important;
        min-height: 34px !important;
        width: auto !important;
        font-family: inherit !important;
        font-size: 0.76rem !important;
        font-weight: 700 !important;
        cursor: pointer !important;
        transition: all 0.15s ease !important;
    }

    .mps-chip.mps-chip-soft {
        background: #F1F5F9 !important;
        border-color: #E2E8F0 !important;
        font-weight: 600 !important;
    }

    .mps-chip.active {
        background: #0E9364 !important;
        border-color: #0E9364 !important;
        color: #FFFFFF !important;
        box-shadow: 0 3px 10px rgba(14, 147, 100, 0.24) !important;
    }

    .mps-modal-footer {
        padding: 0.85rem 1.15rem calc(0.85rem + env(safe-area-inset-bottom, 0px)) !important;
        border-top: 1px solid #E2E8F0 !important;
        background: #FFFFFF !important;
        display: grid !important;
        grid-template-columns: 1fr 2fr !important;
        gap: 0.65rem !important;
        flex-shrink: 0 !important;
    }

    .mps-btn-reset {
        min-height: 46px !important;
        width: 100% !important;
        border-radius: 999px !important;
        border: 1.5px solid #CBD5E1 !important;
        background: #FFFFFF !important;
        color: #334155 !important;
        font-family: 'Plus Jakarta Sans', sans-serif !important;
        font-size: 0.86rem !important;
        font-weight: 700 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.4rem !important;
        cursor: pointer !important;
    }

    .mps-btn-apply {
        min-height: 46px !important;
        width: 100% !important;
        border-radius: 999px !important;
        border: none !important;
        background: #0E9364 !important;
        color: #FFFFFF !important;
        font-family: 'Plus Jakarta Sans', sans-serif !important;
        font-size: 0.9rem !important;
        font-weight: 800 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.45rem !important;
        box-shadow: 0 6px 18px rgba(14, 147, 100, 0.3) !important;
        cursor: pointer !important;
    }
}

@media (max-width: 390px) {
    .mobile-pill-search,
    #mobilePillSearchBar {
        padding: 6px 6px 6px 8px !important;
    }
    .mps-loc-btn,
    #mpsLocationBtn {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
        max-width: 38px !important;
        max-height: 38px !important;
    }
    .mps-divider-left {
        height: 30px !important;
        margin: 0 8px 0 7px !important;
    }
    .mps-label,
    #mpsHeadingLabel {
        font-size: 0.84rem !important;
    }
    .mobile-pill-search input.mps-input[type="text"],
    #mpsQueryInput {
        font-size: 0.75rem !important;
        height: 18px !important;
        min-height: 18px !important;
    }
    .mps-divider-right {
        height: 24px !important;
        margin: 0 6px 0 6px !important;
    }
    .mps-filter-btn,
    #mpsFilterTriggerBtn {
        height: 34px !important;
        min-height: 34px !important;
        max-height: 34px !important;
        padding: 0 10px !important;
        font-size: 0.76rem !important;
        gap: 4px !important;
    }
    .mps-filter-svg {
        width: 15px !important;
        height: 15px !important;
    }
    .mps-submit-btn,
    #mpsSubmitBtn {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        max-width: 44px !important;
        max-height: 44px !important;
        margin-left: 6px !important;
    }
    .mps-submit-btn svg,
    #mpsSubmitBtn svg {
        width: 19px !important;
        height: 19px !important;
    }
}

.hero-slider-dots,
#heroSliderDots {
    position: absolute !important;
    bottom: 10px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    z-index: 5 !important;
    background: rgba(10, 77, 60, 0.32) !important;
    padding: 4px 8px !important;
    border-radius: 999px !important;
    backdrop-filter: blur(4px);
    height: auto !important;
    min-height: 0 !important;
}
.hero-dot,
button.hero-dot,
#heroSliderDots .hero-dot {
    width: 7px !important;
    height: 7px !important;
    min-width: 7px !important;
    min-height: 7px !important;
    max-width: 7px !important;
    max-height: 7px !important;
    border-radius: 999px !important;
    border: none !important;
    background: rgba(255, 255, 255, 0.72) !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 0 !important;
    font-size: 0 !important;
    box-shadow: none !important;
    flex: 0 0 auto !important;
    display: inline-block !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    transition: width 0.25s ease, background-color 0.25s ease !important;
}
.hero-dot.active,
button.hero-dot.active,
#heroSliderDots .hero-dot.active {
    width: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    height: 7px !important;
    min-height: 7px !important;
    max-height: 7px !important;
    background: #FFFFFF !important;
}
@media (max-width: 768px) {
    .hero-slider-dots,
    #heroSliderDots {
        bottom: 6px !important;
        padding: 3px 7px !important;
        gap: 5px !important;
    }
    .hero-dot,
    button.hero-dot,
    #heroSliderDots .hero-dot {
        width: 6px !important;
        height: 6px !important;
        min-width: 6px !important;
        min-height: 6px !important;
        max-width: 6px !important;
        max-height: 6px !important;
    }
    .hero-dot.active,
    button.hero-dot.active,
    #heroSliderDots .hero-dot.active {
        width: 14px !important;
        min-width: 14px !important;
        max-width: 14px !important;
        height: 6px !important;
        min-height: 6px !important;
        max-height: 6px !important;
    }
}

@media (max-width: 768px) {

    #nearbyHousesSection .nearby-detector-banner,
    #nearbyHousesSection > .container > .section-head {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }


    #nearbyHousesSection ~ section,
    #nearbyHousesSection ~ .section-block,
    body > section.section-block:not(#nearbyHousesSection):not(.hero-image-section) {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }


    .policy-highlight-grid,
    .policy-card,
    .city-coverage-section,
    .workflow-section,
    .pricing-section,
    .compare-section,
    .testimonials-section,
    .saas-faq-section,
    .cta-final-section,
    section .policy-highlight-grid,
    section .compare-table-wrap,
    section .saas-faq-accordion {
        display: none !important;
    }


    .site-footer,
    footer.site-footer,
    .footer-grid,
    .footer-bottom,
    .footer-col {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }


}

@media (max-width: 768px) {
    .property-details-top-meta,
    .property-details-breadcrumbs,
    .property-details-top-badges {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }

    .property-details-container {
        margin-top: 0.85rem !important;
    }
}

@media (max-width: 768px) {
    .search-page-nearby-banner,
    .search-page-section-head,
    .search-page-container > .nearby-detector-banner,
    .search-page-container > .section-head {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }

    .search-page-container {
        margin-top: 0.85rem !important;
    }
}

@media (max-width: 768px) {
    .account-icon-btn {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        max-width: 36px !important;
        max-height: 36px !important;
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 50% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #FFFFFF !important;
        border: 1.5px solid var(--border-warm) !important;
        box-shadow: 0 2px 6px rgba(18, 19, 22, 0.06) !important;
        flex-shrink: 0 !important;
        aspect-ratio: 1 / 1 !important;
    }

    .account-chevron-icon {
        display: none !important;
    }

    .account-icon-btn .account-avatar-circle {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        min-height: 30px !important;
        max-width: 30px !important;
        max-height: 30px !important;
        border-radius: 50% !important;
        font-size: 0.82rem !important;
        font-weight: 800 !important;
        line-height: 1 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
    }

    .mobile-notif-btn,
    .mobile-menu-btn {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        max-width: 36px !important;
        max-height: 36px !important;
        font-size: 1rem !important;
    }
}

@media (max-width: 360px) {
    .account-icon-btn,
    .mobile-notif-btn,
    .mobile-menu-btn {
        width: 33px !important;
        height: 33px !important;
        min-width: 33px !important;
        min-height: 33px !important;
        max-width: 33px !important;
        max-height: 33px !important;
    }

    .account-icon-btn .account-avatar-circle {
        width: 27px !important;
        height: 27px !important;
        min-width: 27px !important;
        min-height: 27px !important;
        max-width: 27px !important;
        max-height: 27px !important;
        font-size: 0.76rem !important;
    }
}

/* Google / Firebase phone collect modal (from working Firebase build) */
.gd-phone-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(18, 19, 22, 0.55);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    padding: 1rem; box-sizing: border-box;
}
.gd-phone-dialog {
    width: 100%; max-width: 420px;
    background: #FFFFFF;
    border: 1px solid var(--border-warm);
    border-radius: var(--radius-lg, 16px);
    box-shadow: 0 24px 48px rgba(18, 19, 22, 0.18);
    padding: 1.35rem 1.25rem 1.25rem;
    animation: gdPhoneIn 0.22s ease-out;
}
@keyframes gdPhoneIn {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.gd-phone-header {
    display: flex; align-items: center; gap: 0.85rem;
    margin-bottom: 0.95rem;
}
.gd-phone-avatar {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--emerald-50, #ECFDF5);
    color: var(--emerald-700, #0A4D3C);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; overflow: hidden; flex-shrink: 0;
    border: 2px solid var(--emerald-100, #D1FAE5);
}
.gd-phone-avatar img { width: 100%; height: 100%; object-fit: cover; }
.gd-phone-success {
    font-size: 0.72rem; font-weight: 700; color: var(--emerald-700, #047857);
    margin-bottom: 0.15rem; display: flex; align-items: center; gap: 0.3rem;
}
.gd-phone-header-text h2 {
    font-size: 1.15rem; font-weight: 800; color: var(--ink-950, #121316);
    margin: 0 0 0.15rem; line-height: 1.25;
}
.gd-phone-user {
    font-size: 0.78rem; color: var(--ink-500, #686B78); margin: 0;
    display: flex; flex-direction: column; gap: 0.1rem;
}
.gd-phone-user span { font-size: 0.72rem; color: var(--ink-400, #8B8E99); }
.gd-phone-lead {
    font-size: 0.84rem; color: var(--ink-600, #4A4D57); line-height: 1.5;
    margin: 0 0 1rem;
}
.gd-phone-label {
    display: block; font-size: 0.72rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.04em;
    color: var(--ink-700, #3F414A); margin-bottom: 0.35rem;
}
.gd-phone-input {
    width: 100%; box-sizing: border-box;
    font-size: 1.05rem; font-weight: 600; font-family: inherit;
    padding: 0.75rem 0.95rem;
    border: 1.5px solid var(--border-strong, #D4CFC4);
    border-radius: var(--radius-sm, 10px);
    background: var(--bg-ivory, #FAF8F5);
    color: var(--ink-950, #121316);
    outline: none; transition: border-color 0.15s, box-shadow 0.15s;
}
.gd-phone-input:focus {
    border-color: var(--emerald-600, #0F766E);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
    background: #fff;
}
.gd-phone-hint {
    font-size: 0.74rem; color: var(--ink-500, #686B78);
    margin: 0.45rem 0 0.75rem; display: flex; align-items: flex-start; gap: 0.35rem;
}
.gd-phone-hint i { color: var(--emerald-600); margin-top: 0.1rem; }
.gd-phone-error {
    font-size: 0.8rem; font-weight: 600; color: #B91C1C;
    background: #FEF2F2; border: 1px solid #FECACA;
    border-radius: 8px; padding: 0.5rem 0.7rem; margin: 0 0 0.75rem;
}
.gd-phone-actions {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 0.55rem;
}
.gd-phone-actions .btn { width: 100%; justify-content: center; }
@media (max-width: 420px) {
    .gd-phone-dialog { padding: 1.15rem 1rem 1.1rem; }
    .gd-phone-actions { grid-template-columns: 1fr; }
}
