/* ── Homefinder — Base reset ──────────────────── */
/* v1.7.0 — homepage hero + listing cards */
.hf-site *, .hf-site *::before, .hf-site *::after { box-sizing: border-box; }
.hf-site { margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: #111827; background: #f8f9f9; }

/* ── Header ───────────────────────────────────── */
.hf-header {
    background: #fff;
    border-bottom: 3px solid var(--hf-accent);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.hf-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hf-logo {
    font-size: 18px;
    font-weight: 700;
    color: var(--hf-accent);
    text-decoration: none;
    letter-spacing: -0.3px;
}
.hf-nav { display: flex; align-items: center; gap: 20px; }
.hf-nav a {
    text-decoration: none;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
}
.hf-nav a:hover { color: var(--hf-accent); }
.hf-nav__login {
    background: var(--hf-accent);
    color: #fff !important;
    padding: 7px 16px;
    border-radius: 6px;
    font-size: 13px !important;
    font-weight: 600 !important;
}
.hf-nav__login:hover { opacity: .88; }

/* ── Main ─────────────────────────────────────── */
.hf-main { min-height: calc(100vh - 120px); }

/* ── Search hero ──────────────────────────────── */
.hf-search-hero {
    background: var(--hf-accent);
    color: #fff;
    text-align: center;
    padding: 36px 20px 28px;
}
.hf-search-hero h1 {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 700;
    text-transform: none !important;
    letter-spacing: normal !important;
}
.hf-search-hero p { margin: 0; font-size: 15px; opacity: .88; }
.hf-search-body { max-width: 1200px; margin: 0 auto; padding: 0 16px 40px; }

/* ── Save search button ───────────────────────── */
#hf-save-search-btn {
    background: transparent;
    border: 1px solid var(--hf-accent);
    color: var(--hf-accent);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}
#hf-save-search-btn:hover { background: var(--hf-accent); color: #fff; }

/* ── Auth page ────────────────────────────────── */
.hf-auth-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 48px 16px;
    min-height: 60vh;
}
.hf-auth-box {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 16px rgba(0,0,0,.10);
    padding: 32px;
    width: 100%;
    max-width: 420px;
}
.hf-tabs {
    display: flex;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 24px;
}
.hf-tab {
    background: none;
    border: none;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}
.hf-tab.active { color: var(--hf-accent); border-bottom-color: var(--hf-accent); }
.hf-alert {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 16px;
}
.hf-alert--error   { background: #fef2f2; color: #b91c1c; border: 1px solid #fca5a5; }
.hf-alert--success { background: #f0fdf4; color: #15803d; border: 1px solid #86efac; }
.hf-form { display: none; flex-direction: column; gap: 16px; }
.hf-form.active { display: flex; }
.hf-form label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}
.hf-form input[type="text"],
.hf-form input[type="email"],
.hf-form input[type="password"] {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 9px 12px;
    font-size: 15px;
    outline: none;
    transition: border-color .15s;
}
.hf-form input:focus { border-color: var(--hf-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--hf-accent) 15%, transparent); }
.hf-btn-primary {
    background: var(--hf-accent);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 11px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}
.hf-btn-primary:hover { opacity: .88; }
.hf-form__foot { margin: 4px 0 0; font-size: 12px; color: #6b7280; text-align: center; }
.hf-form__foot a { color: var(--hf-accent); }

/* ── Account page ─────────────────────────────── */
.hf-account-wrap {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 16px;
}
.hf-account-header { margin-bottom: 28px; }
.hf-account-header h2 { font-size: 22px; font-weight: 700; margin: 0 0 6px; text-transform: none !important; letter-spacing: normal !important; }
.hf-account-header p { margin: 0; color: #6b7280; }
.hf-account-empty { text-align: center; padding: 48px 0; color: #6b7280; }
.hf-account-empty p { margin-bottom: 16px; font-size: 15px; }
.hf-saved-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.hf-saved-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.hf-saved-item__info { flex: 1; }
.hf-saved-item__info strong { display: block; font-size: 15px; margin-bottom: 3px; }
.hf-saved-item__meta { font-size: 12px; color: #9ca3af; }
.hf-saved-item__actions { display: flex; gap: 8px; align-items: center; }
.hf-btn-secondary {
    border: 1px solid var(--hf-accent);
    color: var(--hf-accent);
    background: transparent;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.hf-btn-secondary:hover { background: var(--hf-accent); color: #fff; }
.hf-btn-delete {
    background: none;
    border: 1px solid #e5e7eb;
    color: #9ca3af;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
}
.hf-btn-delete:hover { border-color: #ef4444; color: #ef4444; }
.hf-account-footer { margin-top: 32px; text-align: center; }
.hf-account-footer a { color: #9ca3af; font-size: 13px; text-decoration: none; }
.hf-account-footer a:hover { color: var(--hf-accent); }

/* ── Footer ───────────────────────────────────── */
.hf-footer {
    background: #f8f9fa;
    color: #4b5563;
    padding: 36px 20px 28px;
    font-size: 13px;
    border-top: 1px solid #e5e7eb;
    margin-top: 48px;
}
.hf-footer__inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.hf-footer p { margin: 0 0 8px; }
.hf-footer a { color: var(--hf-brand, #232b2b); text-decoration: none; }
.hf-footer a:hover { text-decoration: underline; }
.hf-footer__disclaimer { font-size: 11px; line-height: 1.55; color: #9ca3af; }

/* ── Homepage hero ────────────────────────────── */
.hf-hero {
    position: relative;
    min-height: 460px;
    background: url('../images/tri-cities-hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
}
.hf-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.42);
}
.hf-hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px;
}
.hf-hero__label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,.75);
    margin: 0 0 16px;
}
.hf-hero__title {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.08;
    color: #fff;
    text-transform: none !important;
    letter-spacing: -0.5px !important;
    margin: 0 0 32px;
    max-width: 520px;
}
.hf-hero__search {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 32px;
    max-width: 560px;
    width: 100%;
    height: 56px;
    padding: 0 8px 0 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,.22);
    gap: 10px;
}
.hf-hero__search-icon { color: #999; flex-shrink: 0; display: block; }
.hf-hero__search input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    background: transparent;
    color: #1a1a1a;
    min-width: 0;
}
.hf-hero__search input::placeholder { color: #aaa; }
.hf-hero__search button {
    height: 40px;
    padding: 0 22px;
    border-radius: 20px;
    border: none;
    background: var(--hf-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
    white-space: nowrap;
    transition: opacity .15s;
}
.hf-hero__search button:hover { opacity: .88; }

/* ── Lead capture modal ───────────────────────── */
.hf-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.hf-modal[hidden] { display: none; }
.hf-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.6);
    cursor: default;
    pointer-events: all;
}
.hf-modal__box {
    position: relative;
    background: #fff;
    border-radius: 8px;
    padding: 32px 28px 24px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.hf-modal__close {
    position: absolute;
    top: 12px; right: 16px;
    background: none; border: none;
    font-size: 24px; color: #6b7280;
    cursor: pointer; line-height: 1; padding: 0;
}
.hf-modal__close:hover { color: #111; }
.hf-modal__title {
    font-size: 22px; font-weight: 700;
    margin: 0 0 4px;
    text-transform: none !important;
    letter-spacing: normal !important;
    color: #111827;
}
.hf-modal__step { font-size: 13px; font-weight: 600; color: var(--hf-accent); margin: 0 0 18px; }
.hf-modal__benefits { margin: 0 0 20px; padding: 0; list-style: none; }
.hf-modal__benefits li { font-size: 14px; color: #374151; padding: 3px 0; }
.hf-modal__benefits li::before { content: '✓  '; color: var(--hf-accent); font-weight: 700; }
.hf-modal__label { display: block; font-size: 13px; color: #374151; margin-bottom: 6px; }
.hf-modal__input {
    width: 100%; border: 1px solid #d1d5db; border-radius: 6px;
    padding: 10px 12px; font-size: 15px; outline: none;
    margin-bottom: 12px; box-sizing: border-box;
}
.hf-modal__input:focus { border-color: var(--hf-accent); box-shadow: 0 0 0 3px rgba(35,43,43,.1); }
.hf-modal__error { font-size: 13px; color: #b91c1c; margin: -8px 0 8px; display: none; }
.hf-modal__submit {
    width: 100%; background: var(--hf-accent); color: #fff;
    border: none; border-radius: 6px;
    padding: 13px; font-size: 15px; font-weight: 600;
    cursor: pointer; margin-bottom: 16px;
}
.hf-modal__submit:hover { opacity: .88; }
.hf-modal__submit:disabled { opacity: .6; cursor: not-allowed; }
.hf-modal__terms { font-size: 11px; color: #9ca3af; margin: 0 0 4px; text-align: center; line-height: 1.5; }
.hf-modal__terms a { color: #6b7280; text-decoration: underline; }
.hf-modal__divider {
    display: flex; align-items: center; gap: 12px;
    margin: 4px 0 12px; color: #9ca3af; font-size: 13px;
}
.hf-modal__divider::before,
.hf-modal__divider::after { content: ''; flex: 1; height: 1px; background: #e5e7eb; }
.hf-modal__fb {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; background: #1877f2; color: #fff;
    border: none; border-radius: 6px;
    padding: 12px; font-size: 15px; font-weight: 600;
    text-decoration: none; margin-bottom: 16px;
}
.hf-modal__fb:hover { background: #1464d8; color: #fff; }
.hf-modal__login { font-size: 13px; text-align: center; margin: 12px 0 0; color: #374151; }
.hf-modal__login a { color: var(--hf-accent); font-weight: 600; text-decoration: none; }
.hf-modal__login a:hover { text-decoration: underline; }
.hf-modal__title--terms { font-size: 15px; line-height: 1.4; }
.hf-modal__subtitle { font-size: 13px; color: #6b7280; margin: -8px 0 20px; }
.hf-survey__q { margin-bottom: 18px; }
.hf-survey__label { font-size: 14px; font-weight: 600; color: #111827; margin: 0 0 8px; }
.hf-survey__opt { display: block; font-size: 14px; color: #374151; margin-bottom: 5px; cursor: pointer; }
.hf-survey__opt input[type="radio"] { margin-right: 8px; accent-color: var(--hf-accent); }
.hf-survey__nav { display: flex; justify-content: flex-end; margin-top: 24px; }
.hf-survey__nav--both { justify-content: space-between; align-items: center; }
.hf-survey__btn { width: auto !important; padding: 10px 28px !important; }
.hf-survey__back { background: none; border: none; color: #374151; font-size: 14px; cursor: pointer; padding: 0; }
.hf-survey__back:hover { color: #111; }
.hf-modal__terms-scroll {
    max-height: 240px; overflow-y: auto;
    border: 1px solid #e5e7eb; border-radius: 6px;
    padding: 14px; margin: 14px 0 18px;
    font-size: 13px; line-height: 1.6; color: #374151;
}

/* ── Featured listings section ────────────────── */
.hf-featured {
    background: #fff;
    padding: 48px 0 48px;
}
.hf-featured__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}
.hf-featured__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}
.hf-featured__title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 4px;
    text-transform: none !important;
    letter-spacing: normal !important;
}
.hf-featured__sub { font-size: 13px; color: #888; margin: 0; }
.hf-featured__nav { display: flex; gap: 8px; flex-shrink: 0; margin-top: 4px; }
.hf-nav-btn {
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid #ddd; background: #fff;
    font-size: 16px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: border-color .15s, box-shadow .15s;
    color: #333;
}
.hf-nav-btn:hover { border-color: #999; box-shadow: 0 1px 4px rgba(0,0,0,.12); }

/* Scroll track */
.hf-scroll-wrap { overflow: hidden; }
.hf-scroll-track {
    display: flex;
    gap: 16px;
    transition: transform .35s ease;
    will-change: transform;
}
.hf-scroll-track .hf-card {
    flex: 0 0 calc(25% - 12px);
    min-width: 200px;
}

/* View all footer */
.hf-featured__footer { text-align: center; margin-top: 32px; }
.hf-viewall-btn {
    display: inline-block;
    font-size: 14px; font-weight: 600;
    color: var(--hf-accent);
    text-decoration: none;
    border: 1.5px solid var(--hf-accent);
    padding: 10px 28px; border-radius: 6px;
    transition: background .15s, color .15s;
}
.hf-viewall-btn:hover { background: var(--hf-accent); color: #fff; }
.hf-featured__empty { color: #6b7280; text-align: center; padding: 40px 0; }

/* ── Listing cards grid ───────────────────────── */
.hf-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.hf-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0,0,0,.08);
    text-decoration: none;
    color: inherit;
    transition: box-shadow .18s, transform .18s;
    display: flex;
    flex-direction: column;
}
.hf-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,.14);
    transform: translateY(-2px);
}
.hf-card__photo {
    width: 100%;
    aspect-ratio: 16/9;
    background: #e5e7eb;
    overflow: hidden;
}
.hf-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hf-card__no-photo {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
}
.hf-card__body {
    padding: 10px 12px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.hf-card__price {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}
.hf-card__address {
    font-size: 12px;
    color: #374151;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hf-card__location {
    font-size: 11px;
    color: #6b7280;
    margin: 0;
}
.hf-card__specs {
    font-size: 11px;
    color: #6b7280;
    margin: 3px 0 0;
}
.hf-card__brokerage {
    font-size: 11px;
    color: #9ca3af;
    margin: 6px 0 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-top: 1px solid #f3f4f6;
    padding-top: 8px;
}

/* ── Filter bar (homefinder search page) ─────── */
.hf-search-body { background: #f8f9f9; }
.hf-filter-bar {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 14px 20px 0;
    position: sticky;
    top: 60px;
    z-index: 50;
}
.hf-filter-bar__row1 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.hf-fb-search-wrap { flex: 1; position: relative; }
.hf-fb-search {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 10px 14px;
    background: #f8f9f9;
}
.hf-fb-search svg { color: #9ca3af; flex-shrink: 0; }
.hf-fb-search input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    color: #111827;
}
.hf-fb-search:focus-within { border-color: var(--hf-accent); background: #fff; }
.hf-mapview-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    white-space: nowrap;
}
.hf-mapview-btn:hover, .hf-mapview-btn.active { border-color: var(--hf-accent); color: var(--hf-accent); }

/* Row 2 — pill buttons */
.hf-filter-bar__row2 {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-bottom: 12px;
}
.hf-fp {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid #d1d5db;
    border-radius: 20px;
    background: #fff;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color .12s, color .12s;
}
.hf-fp:hover { border-color: #9ca3af; }
.hf-fp--filters { gap: 6px; }
.hf-fp--filters:hover { border-color: var(--hf-accent); color: var(--hf-accent); }

/* Pill dropdown wrapper */
.hf-fp-wrap { position: relative; }
.hf-fp__drop {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    z-index: 200;
    padding: 8px 0;
}
.hf-fp-wrap.open .hf-fp__drop { display: block; }
.hf-fp__drop-title {
    font-size: 12px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 8px 16px 6px;
    margin: 0;
}
.hf-fp__opt {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
}
.hf-fp__opt:hover, .hf-fp__opt--active { background: #f3f4f6; color: #111827; }
.hf-fp__opt input[type="radio"] { accent-color: var(--hf-accent); }
.hf-fp__drop--price { min-width: 260px; padding: 16px; }
.hf-fp__price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 12px;
}
.hf-fp__price-row input {
    flex: 1;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 13px;
    outline: none;
    min-width: 0;
}
.hf-fp__price-row input:focus { border-color: var(--hf-accent); }
.hf-fp__price-row span { color: #9ca3af; }
.hf-fp__pills {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    padding: 4px 16px 8px;
}
.hf-fpill {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    padding: 6px 14px;
    font-size: 13px;
    cursor: pointer;
    color: #374151;
}
.hf-fpill:hover { border-color: var(--hf-accent); color: var(--hf-accent); }
.hf-fpill.active { background: var(--hf-accent); border-color: var(--hf-accent); color: #fff; }
.hf-fp__apply-btn {
    display: block;
    width: calc(100% - 32px);
    margin: 8px 16px 8px;
    background: var(--hf-accent);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 9px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.hf-fp__apply-btn:hover { opacity: .88; }

/* Save search pill */
.hf-save-pill {
    margin-left: auto;
    background: #111827;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 8px 18px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .4px;
    cursor: pointer;
    white-space: nowrap;
}
.hf-save-pill:hover { opacity: .85; }

/* ── More panel overlay ───────────────────────── */
.hf-more-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 400;
}
.hf-more-overlay.open { display: block; }

/* ── More slide-in panel ──────────────────────── */
.hf-more-panel {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 95vw;
    height: 100vh;
    background: #fff;
    z-index: 401;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 24px rgba(0,0,0,.15);
    transition: right .28s cubic-bezier(.4,0,.2,1);
}
.hf-more-panel.open { right: 0; }
.hf-more-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 16px;
    font-weight: 700;
}
.hf-more-panel__header button {
    background: none;
    border: none;
    font-size: 22px;
    color: #9ca3af;
    cursor: pointer;
    line-height: 1;
}
.hf-more-panel__header button:hover { color: #111827; }
.hf-more-panel__body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.hf-more-section h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 12px;
    color: #111827;
    text-transform: none !important;
    letter-spacing: normal !important;
}
.hf-range-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.hf-range-row input {
    flex: 1;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 9px 12px;
    font-size: 14px;
    outline: none;
}
.hf-range-row input:focus { border-color: var(--hf-accent); }
.hf-range-row span { color: #9ca3af; font-size: 16px; }
.hf-more-panel__footer {
    padding: 16px 24px;
    border-top: 1px solid #e5e7eb;
}
.hf-more-panel__footer .hf-btn-primary { width: 100%; text-align: center; padding: 12px; }

/* ── Autocomplete dropdown ────────────────────── */
.hf-ac-wrap {
    position: relative;
    max-width: 560px;
    margin: 0 auto;
}
.hf-ac-wrap .hf-hero__search { margin: 0; }
.hf-autocomplete {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,.18);
    list-style: none;
    margin: 0;
    padding: 6px 0;
    z-index: 300;
    display: none;
    overflow: hidden;
}
.hf-autocomplete li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    cursor: pointer;
    gap: 12px;
    transition: background .12s;
}
.hf-autocomplete li:hover,
.hf-autocomplete li.hf-ac--active { background: #f3f4f6; }
.hf-ac__label { font-size: 14px; font-weight: 500; color: #111827; }
.hf-ac__sub { font-size: 12px; color: #9ca3af; white-space: nowrap; }

/* ── Responsive ───────────────────────────────── */
@media (max-width: 1024px) {
    .hf-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .hf-hero__title { font-size: 38px; }
    .hf-hero__inner { padding: 60px 24px; }
    .hf-scroll-track .hf-card { flex: 0 0 calc(50% - 8px); }
    .hf-featured__inner { padding: 0 24px; }
}
@media (max-width: 600px) {
    .hf-header__inner { padding: 0 14px; }
    .hf-logo { font-size: 15px; }
    .hf-nav { gap: 12px; }
    .hf-nav a { font-size: 13px; }
    .hf-search-hero { padding: 24px 14px 18px; }
    .hf-search-hero h1 { font-size: 20px; }
    .hf-auth-box { padding: 24px 16px; }
    .hf-saved-item { flex-direction: column; align-items: flex-start; }
    .hf-hero { min-height: 300px; }
    .hf-hero__inner { padding: 48px 24px; }
    .hf-hero__title { font-size: 28px; }
    .hf-hero__search { height: 48px; }
    .hf-hero__search button { height: 34px; padding: 0 16px; font-size: 13px; }
    .hf-cards { grid-template-columns: 1fr; }
    .hf-featured__inner { padding: 0 16px; }
    .hf-scroll-track .hf-card { flex: 0 0 80%; }
}

/* ── Account dropdown ──────────────────────────── */
.hf-user-menu { position: relative; }

.hf-user-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: inherit;
    padding: 6px 0;
    white-space: nowrap;
}

.hf-chevron { transition: transform 0.2s; }
.hf-user-trigger[aria-expanded="true"] .hf-chevron { transform: rotate(180deg); }

.hf-user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 190px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 8px 0;
    z-index: 9999;
}

.hf-dropdown__section {
    font-size: 12px;
    font-weight: 700;
    color: #111;
    padding: 10px 16px 4px;
    margin: 0;
}

.hf-dropdown__item {
    display: block;
    padding: 8px 16px;
    font-size: 14px;
    color: #374151;
    text-decoration: none;
    transition: background 0.15s;
}

.hf-dropdown__item:hover { background: #f3f4f6; color: #111; }

.hf-dropdown__divider {
    border-top: 1px solid #e5e7eb;
    margin: 6px 0;
}

.hf-dropdown__signout { color: #6b7280; }

/* ── Discovery sections ───────────────────────── */
.hf-section { padding: 50px 0; border-top: 1px solid #f0f0f0; }
.hf-section__inner { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.hf-section__header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 24px; gap: 16px; }
.hf-section__title { font-size: 22px; font-weight: 700; margin: 0; color: #111; }
.hf-section__sub { font-size: 14px; color: #6b7280; margin: 4px 0 0; }

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

/* Open house time badge on cards */
.hf-card__oh-time {
    font-size: 11px;
    font-weight: 600;
    color: var(--hf-accent);
    margin: 4px 0 0;
    text-transform: uppercase;
    letter-spacing: .4px;
}

/* ── Sold / gated section ─────────────────────── */
.hf-section--sold { background: #f8f9fa; }
.hf-sold-wrap { position: relative; }
.hf-card--blurred { filter: blur(5px); pointer-events: none; user-select: none; }
.hf-sold-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.55);
    gap: 10px;
    text-align: center;
    padding: 16px;
    border-radius: 10px;
}
.hf-sold-overlay p { font-weight: 600; font-size: 13px; color: #111; margin: 0; }
.hf-sold-overlay .hf-btn-primary { font-size: 13px; padding: 8px 18px; }
.hf-sold-badge {
    display: inline-block;
    background: #dc2626;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 3px;
    letter-spacing: .5px;
    vertical-align: middle;
    margin-left: 6px;
}
.hf-dropdown__signout:hover { color: #dc2626; background: #fef2f2; }

/* ===== FOOTER — agent strip + cross-links ===== */
.hf-footer-agent {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 13px;
    color: #4b5563;
    flex-wrap: wrap;
}
.hf-footer-agent-photo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.hf-footer-agent strong { color: #111827; font-weight: 700; }
.hf-footer-agent a {
    color: var(--hf-brand, #232b2b);
    text-decoration: none;
    font-weight: 600;
}
.hf-footer-agent a:hover { text-decoration: underline; }

.hf-footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 auto 22px;
}
.hf-footer-links a {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 12px;
    color: #374151;
    text-decoration: none;
    background: #fff;
    font-weight: 500;
    transition: border-color .15s, color .15s, background .15s;
}
.hf-footer-links a:hover {
    border-color: var(--hf-brand, #232b2b);
    color: var(--hf-brand, #232b2b);
    background: #fff;
}
