/* Homepage hero filter — scoped to .home-hero-filter only */

.header-media .banner-caption-bottom {
    align-items: center;
    justify-content: flex-end;
    text-align: center;
}

.header-media .banner-caption-bottom .container.hero-caption-shell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    width: 100%;
    height: 100%;
    padding-top: 0;
    padding-bottom: 72px;
    transform: none;
}

.header-media .banner-caption-bottom .home-hero-title {
    width: 100%;
    max-width: 920px;
    margin: 0 auto 24px;
    padding: 0 16px;
    font-family: 'Montserrat', 'Poppins', sans-serif;
    font-size: clamp(1.25rem, 2.8vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #fff;
    text-shadow:
        0 2px 16px rgba(0, 0, 0, 0.45),
        0 1px 3px rgba(0, 0, 0, 0.35);
    text-align: center;
}

.header-media .banner-caption-bottom .herobannertitle {
    width: 100%;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.header-media .banner-caption-bottom .hero-search-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 920px;
    margin: 16px auto 0;
    padding: 0 16px;
    position: relative;
    z-index: 2;
}

.header-media .banner-caption-bottom .hero-search-wrap:has([data-hero-dropdown].is-open),
.header-media .banner-caption-bottom .hero-search-wrap:has(.home-hero-filter__location.is-open) {
    z-index: 620;
}

.home-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
    padding: 11px 22px 11px 14px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    font-family: 'Montserrat', 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
    position: relative;
    z-index: 1;
}

.home-hero-cta:hover,
.home-hero-cta:focus,
.home-hero-cta:focus-visible {
    background: rgba(0, 0, 0, 0.38);
    border-color: #fff;
    color: #fff;
    text-decoration: none;
    outline: none;
    transform: translateY(-1px);
}

.home-hero-cta__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    font-size: 11px;
    flex-shrink: 0;
}

.home-hero-cta__icon i {
    margin-left: 2px;
}

/* Home hero — overlap header without leaving a topbar gap */
:root {
    --a1-home-header-offset: 136px;
}

.home-hero-media {
    margin-top: calc(-1 * var(--a1-home-header-offset));
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.home-hero-media .banner-parallax {
    height: 90vh !important;
    margin-bottom: 0;
}

.home-hero-media .banner-bg-wrap,
.home-hero-media .video-wrapper {
    inset: 0;
    height: 100%;
}

/* Developer logos strip — below hero, no overlap */
.home-scroll-section--partners {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    position: relative;
    z-index: 2;
    background: #fff;
    clear: both;
}

.home-scroll-section--partners > .row {
    align-items: center;
    margin-bottom: 0;
}

.home-scroll-section--partners .home-scroll-item--right {
    padding-top: 0;
    padding-bottom: 0;
}

.home-scroll-section--partners .logo-marquee {
    padding-top: 20px;
    padding-bottom: 0;
}

.home-hero-filter {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
}

.home-hero-filter__form {
    width: 100%;
}

.home-hero-filter__card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px;
    text-align: left;
}

.home-hero-filter__row {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.home-hero-filter__row + .home-hero-filter__row {
    margin-top: 8px;
}

.home-hero-filter__row--primary {
    flex-wrap: nowrap;
}

.home-hero-filter__row--secondary {
    flex-wrap: nowrap;
}

/* Segmented controls (Buy/Rent, All/Ready/Off-Plan) */
.home-hero-filter__segment {
    display: inline-flex;
    flex-shrink: 0;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.home-hero-filter__segment-btn {
    border: 0;
    background: transparent;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    padding: 0 18px;
    min-height: 46px;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
    white-space: nowrap;
}

.home-hero-filter__segment-btn + .home-hero-filter__segment-btn {
    border-left: 1px solid #e5e5e5;
}

.home-hero-filter__segment-btn.is-active,
.home-hero-filter__segment-btn:hover {
    background: #faf3ee;
    color: #a86f45;
}

.home-hero-filter__segment--status .home-hero-filter__segment-btn {
    padding: 0 14px;
    font-size: 13px;
}

/* Location input */
.home-hero-filter__location {
    flex: 1 1 auto;
    min-width: 0;
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fff;
    min-height: 46px;
}

.home-hero-filter__location.is-open {
    z-index: 520;
}

.home-hero-filter__location-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    flex-shrink: 0;
    color: #888;
    font-size: 15px;
}

.home-hero-filter__location-input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: transparent;
    font-size: 14px;
    color: #333;
    padding: 0 14px 0 0;
    min-height: 44px;
    outline: none;
}

.home-hero-filter__location-input::placeholder {
    color: #aaa;
}

.home-hero-filter__location .property-search-autocomplete-results {
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    z-index: 530;
}

/* Search button */
.home-hero-filter__submit {
    flex-shrink: 0;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, #c98862, #b8734a);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 0 28px;
    min-height: 46px;
    cursor: pointer;
    transition: opacity 0.18s ease;
    white-space: nowrap;
}

.home-hero-filter__submit:hover {
    opacity: 0.92;
    background-color: #a86f45;
}

/* Dropdown triggers */
.home-hero-filter__dropdown {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
}

.home-hero-filter__dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease;
}

.home-hero-filter__dropdown-trigger:hover,
.home-hero-filter__dropdown.is-open .home-hero-filter__dropdown-trigger {
    border-color: #c98862;
    background: #fffcfa;
}

.home-hero-filter__dropdown-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-hero-filter__dropdown-trigger i {
    font-size: 11px;
    color: #999;
    flex-shrink: 0;
    transition: transform 0.18s ease;
}

.home-hero-filter__dropdown.is-open .home-hero-filter__dropdown-trigger i {
    transform: rotate(180deg);
}

.home-hero-filter__dropdown-panel {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 540;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    padding: 6px;
    max-height: 280px;
    overflow-y: auto;
}

.home-hero-filter__dropdown-panel--wide {
    min-width: 260px;
    padding: 12px;
}

.home-hero-filter__dropdown-panel--scroll {
    max-height: 240px;
}

.home-hero-filter__dropdown.is-open .home-hero-filter__dropdown-panel {
    display: block;
}

.home-hero-filter__dropdown-option {
    display: block;
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    transition: background 0.15s ease;
}

.home-hero-filter__dropdown-option:hover,
.home-hero-filter__dropdown-option.is-active {
    background: #faf3ee;
    color: #a86f45;
}

/* Panel sections inside dropdowns */
.home-hero-filter__panel-section + .home-hero-filter__panel-section {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.home-hero-filter__panel-title {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 8px;
}

.home-hero-filter__panel-select {
    width: 100%;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 13px;
    color: #333;
    background: #fff;
    outline: none;
}

.home-hero-filter__panel-select:focus {
    border-color: #c98862;
}

.home-hero-filter__chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.home-hero-filter__chip {
    border: 1px solid #e5e5e5;
    background: #fff;
    color: #555;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.home-hero-filter__chip:hover,
.home-hero-filter__chip.is-active {
    background: #faf3ee;
    border-color: #c98862;
    color: #a86f45;
}

.home-hero-filter__panel-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px 8px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 4px;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
}

.home-hero-filter__panel-search i {
    color: #aaa;
    font-size: 12px;
}

.home-hero-filter__panel-search input {
    flex: 1;
    border: 0;
    font-size: 13px;
    outline: none;
    min-width: 0;
}

/* More filters toggle */
.home-hero-filter__more-toggle {
    display: none;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    border: 0;
    background: transparent;
    color: #a86f45;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    padding: 4px 0;
}

.home-hero-filter__more-panel {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
}

.home-hero-filter__row--offplan {
    margin-top: 8px;
}

/* Secondary row wrapper — status + advanced filters */
.home-hero-filter__secondary-wrap {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin-top: 8px;
}

.home-hero-filter__row--status-only {
    margin-top: 0 !important;
    flex-shrink: 0;
}

.home-hero-filter__advanced {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.home-hero-filter__advanced-header,
.home-hero-filter__advanced-footer,
.home-hero-filter__mobile-backdrop {
    display: none;
}

.home-hero-filter__advanced-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.home-hero-filter__advanced .home-hero-filter__row--secondary {
    margin-top: 0 !important;
}

.home-hero-filter__advanced .home-hero-filter__more-panel {
    display: none;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

/* Property type picker panel */
.home-hero-filter__dropdown--type {
    flex: 1.1 1 0;
}

.home-hero-filter__dropdown--type .home-hero-filter__type-panel {
    left: 0;
    right: auto;
    width: max(100%, 420px);
}

.home-hero-filter__dropdown.is-open .home-hero-filter__type-panel {
    display: flex;
    flex-direction: column;
    padding: 0;
    max-height: min(70vh, 480px);
    overflow: hidden;
    z-index: 550 !important;
}

.home-hero-filter__type-panel::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 14px;
    height: 14px;
    background: #fff;
    border-top: 1px solid #e8e8e8;
    border-left: 1px solid #e8e8e8;
    z-index: 1;
}

.home-hero-filter__type-tabs {
    display: flex;
    gap: 0;
    padding: 0 16px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
    background: #fff;
    position: relative;
    z-index: 2;
}

.home-hero-filter__type-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
}

.home-hero-filter__type-tab {
    flex: 1 1 50%;
    border: 0;
    background: transparent;
    color: #888;
    font-size: 14px;
    font-weight: 600;
    padding: 14px 8px 12px;
    cursor: pointer;
    position: relative;
    transition: color 0.18s ease;
    outline: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
}

.home-hero-filter__type-tab:hover,
.home-hero-filter__type-tab:focus,
.home-hero-filter__type-tab:focus-visible,
.home-hero-filter__type-tab:active {
    background: transparent;
    outline: none;
    box-shadow: none;
}

.home-hero-filter__type-tab:not(.is-active):hover,
.home-hero-filter__type-tab:not(.is-active):focus,
.home-hero-filter__type-tab:not(.is-active):focus-visible,
.home-hero-filter__type-tab:not(.is-active):active {
    color: #888;
}

.home-hero-filter__type-tab.is-active {
    color: #a86f45;
    background: transparent;
}

.home-hero-filter__type-tab.is-active:hover,
.home-hero-filter__type-tab.is-active:focus,
.home-hero-filter__type-tab.is-active:focus-visible,
.home-hero-filter__type-tab.is-active:active {
    color: #a86f45;
    background: transparent;
}

.home-hero-filter__type-tab.is-active::after {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 0;
    height: 2px;
    background: #c98862;
    border-radius: 2px 2px 0 0;
}

.home-hero-filter__type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 10px;
    padding: 14px 16px 12px;
}

.home-hero-filter__type-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.home-hero-filter__type-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid #e5e5e5;
    border-radius: 999px;
    background: #fff;
    color: #333;
    font-size: 13px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.home-hero-filter__type-option:hover {
    border-color: #d9c4b5;
    background: #fffcfa;
}

.home-hero-filter__type-option.is-selected {
    border-color: #c98862;
    background: #faf3ee;
    color: #a86f45;
}

.home-hero-filter__type-radio {
    width: 16px;
    height: 16px;
    border: 1px solid #ccc;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.15s ease;
}

.home-hero-filter__type-option.is-selected .home-hero-filter__type-radio {
    border-color: #c98862;
}

.home-hero-filter__type-option.is-selected .home-hero-filter__type-radio::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: #c98862;
}

.home-hero-filter__type-label {
    line-height: 1.2;
}

.home-hero-filter__type-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 12px 16px 16px;
    border-top: 1px solid #f0f0f0;
    flex-shrink: 0;
    background: #fff;
    position: relative;
    z-index: 2;
}

.home-hero-filter__type-reset,
.home-hero-filter__type-done {
    min-height: 42px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.18s ease, background 0.18s ease;
}

.home-hero-filter__type-reset {
    border: 1px solid #c98862;
    background: #fff;
    color: #a86f45;
}

.home-hero-filter__type-reset:hover {
    background: #faf3ee;
}

.home-hero-filter__type-done {
    border: 0;
    background: linear-gradient(135deg, #c98862, #b8734a);
    color: #fff;
}

.home-hero-filter__type-done:hover {
    opacity: 0.92;
}

body.home-hero-filter-modal-open {
    overflow: hidden;
}

body.home-hero-filter-dropdown-open .home-hero-cta {
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
}

body.home-hero-filter-more-open .home-hero-cta {
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
}

.home-hero-filter__dropdown-panel--portaled {
    display: block !important;
    z-index: 10070 !important;
}

.home-hero-filter__dropdown-panel--portaled.home-hero-filter__type-panel {
    display: flex !important;
    flex-direction: column;
}

body.home-hero-filter-more-open .home-hero-filter__dropdown-panel--portaled {
    z-index: 10090 !important;
}

body.home-hero-filter-more-open .home-hero-filter__dropdown-backdrop {
    z-index: 10085 !important;
}

@media (max-width: 991.98px) {
    :root {
        --a1-home-header-offset: 72px;
    }
}

/* Tablet */
@media (max-width: 991px) {
    .header-media .banner-caption-bottom {
        justify-content: flex-end;
        align-items: center;
    }

    .header-media .banner-caption-bottom .container.hero-caption-shell {
        align-items: center;
        justify-content: flex-end;
        height: 100%;
        padding-top: 0;
        padding-bottom: 65px;
        transform: none;
    }

    .header-media .banner-caption-bottom .home-hero-title {
        font-size: clamp(1.125rem, 4.5vw, 1.5rem);
        margin-bottom: 18px;
    }

    .header-media .banner-caption-bottom .hero-search-wrap,
    .home-hero-filter {
        max-width: 100%;
    }

    .home-hero-cta {
        margin-top: 18px;
        font-size: 13px;
        padding: 10px 18px 10px 12px;
    }

    .home-hero-cta__icon {
        width: 30px;
        height: 30px;
        font-size: 10px;
    }

    .home-hero-filter__row--primary {
        flex-wrap: wrap;
    }

    .home-hero-filter__segment {
        width: 100%;
    }

    .home-hero-filter__segment-btn {
        flex: 1 1 50%;
        text-align: center;
    }

    .home-hero-filter__location {
        width: 100%;
        flex: 1 1 100%;
    }

    .home-hero-filter__submit {
        width: 100%;
        flex: 1 1 100%;
    }

    .home-hero-filter__secondary-wrap {
        flex-direction: column;
        gap: 8px;
        margin-top: 8px;
    }

    .home-hero-filter__row--status-only {
        width: 100%;
    }

    .home-hero-filter__segment--status {
        width: 100%;
    }

    .home-hero-filter__segment--status .home-hero-filter__segment-btn {
        flex: 1 1 33.333%;
    }

    .home-hero-filter__more-toggle {
        display: inline-flex;
        width: 100%;
        justify-content: center;
        margin-top: 10px;
        padding: 8px 0;
    }

    /* Advanced filters — hidden until "More filters" is tapped */
    .home-hero-filter__secondary-wrap .home-hero-filter__advanced {
        display: none !important;
    }

    .home-hero-filter.is-more-open .home-hero-filter__advanced {
        display: flex !important;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        flex: none;
        max-height: min(82vh, 640px);
        background: #fff;
        border-radius: 16px 16px 0 0;
        z-index: 10080;
        transform: translateY(0);
        animation: homeHeroAdvancedIn 0.32s ease;
        box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.22);
        overflow: hidden;
        visibility: visible;
        pointer-events: auto;
    }

    @keyframes homeHeroAdvancedIn {
        from {
            transform: translateY(100%);
        }

        to {
            transform: translateY(0);
        }
    }

    .home-hero-filter.is-more-open .home-hero-filter__advanced-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 14px 16px;
        border-bottom: 1px solid #eee;
        flex-shrink: 0;
    }

    .home-hero-filter__advanced-title {
        margin: 0;
        font-size: 16px;
        font-weight: 700;
        color: #111;
    }

    .home-hero-filter__advanced-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border: 0;
        border-radius: 8px;
        background: #f5f5f5;
        color: #333;
        font-size: 24px;
        line-height: 1;
        cursor: pointer;
    }

    .home-hero-filter__advanced-body {
        flex: 1 1 auto;
        min-height: 0;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 12px 16px 8px;
        gap: 10px;
    }

    .home-hero-filter__advanced .home-hero-filter__row--secondary,
    .home-hero-filter__advanced .home-hero-filter__row--offplan {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 10px;
    }

    .home-hero-filter__advanced .home-hero-filter__dropdown {
        flex: 1 1 100%;
        width: 100%;
        min-width: 0;
    }

    .home-hero-filter__advanced .home-hero-filter__dropdown-trigger {
        min-height: 44px;
        font-size: 14px;
    }

    .home-hero-filter__advanced .home-hero-filter__more-panel {
        display: block;
        padding-top: 4px;
    }

    .home-hero-filter.is-more-open .home-hero-filter__advanced-footer {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
        border-top: 1px solid #eee;
        flex-shrink: 0;
        background: #fff;
    }

    .home-hero-filter__advanced-reset,
    .home-hero-filter__advanced-apply {
        min-height: 44px;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
    }

    .home-hero-filter__advanced-reset {
        border: 1px solid #c98862;
        background: #fff;
        color: #a86f45;
    }

    .home-hero-filter__advanced-apply {
        border: 0;
        background: linear-gradient(135deg, #c98862, #b8734a);
        color: #fff;
    }

    .home-hero-filter__mobile-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 10070;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.28s ease, visibility 0.28s ease;
    }

    .home-hero-filter__mobile-backdrop:not([hidden]) {
        opacity: 1;
        visibility: visible;
    }

    body.home-hero-filter-more-open {
        overflow: hidden;
    }

    /* Mobile: dropdown panels become fixed bottom sheets */
    .home-hero-filter__dropdown-panel {
        position: fixed;
        inset: auto 0 0 0;
        top: auto;
        left: 0;
        right: 0;
        max-height: 60vh;
        border-radius: 16px 16px 0 0;
        padding: 16px;
        padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        z-index: 10070;
        box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.18);
    }

    .home-hero-filter__dropdown-panel--wide {
        min-width: 0;
    }

    .home-hero-filter__type-panel {
        min-width: 0;
        width: 100%;
        left: 0;
        right: 0;
        max-height: 85vh;
        overflow: hidden;
        padding: 0;
    }

    .home-hero-filter__dropdown.is-open .home-hero-filter__type-panel {
        display: flex;
        flex-direction: column;
    }

    .home-hero-filter__type-body {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .home-hero-filter__type-panel::before {
        display: none;
    }

    .home-hero-filter__type-grid {
        grid-template-columns: 1fr;
    }

    .home-hero-filter__dropdown-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 10060;
    }
}

/* Small phones */
@media (max-width: 575px) {
    .home-hero-filter__card {
        padding: 8px;
        border-radius: 10px;
    }

    .home-hero-filter__segment-btn {
        font-size: 13px;
        padding: 0 12px;
        min-height: 42px;
    }

    .home-hero-filter__location,
    .home-hero-filter__dropdown-trigger,
    .home-hero-filter__submit {
        min-height: 42px;
    }
}
