.properties-filter-page .main-header .inner-container {
    gap: 24px;
    min-height: 84px;
}

.properties-filter-page .main-header .logo-box {
    flex: 0 0 auto;
}

.properties-filter-page .main-header .nav-outer {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    justify-content: center;
}

.properties-filter-page .main-header .header-account {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.properties-filter-page .main-header .header-account .register ul {
    margin: 0;
    align-items: center;
    gap: 6px;
}

.properties-filter-page .flat-tab.flat-tab-form {
    display: block;
    width: 100%;
    padding: 10px 18px;
}

.properties-filter-page .re-responsive-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    max-height: none;
    overflow: visible;
    border: 0;
    border-radius: 12px;
    background: #fff;
    padding: 0 0px;
    box-shadow: none;
    position: relative;
    z-index: 50;
    isolation: isolate;
}

.properties-filter-page .re-filter-primary {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1 1 auto;
    height: 100%;
    overflow: visible;
    white-space: nowrap;
}

.properties-filter-page .re-filter-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    flex: 0 1 168px;
    min-width: 138px;
    max-width: 320px;
    position: relative;
    z-index: 1;
}

.properties-filter-page .re-filter-primary > .re-filter-item.is-persistent-primary {
    flex: 1 1 clamp(220px, 34vw, 460px);
    min-width: 220px;
    max-width: 460px;
}

.properties-filter-page .re-filter-primary > .re-filter-item > .re-filter-item-title {
    display: none;
}

.properties-filter-page .re-filter-item-title {
    display: block;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    color: #5c6368;
    text-transform: none;
    margin: 0;
    white-space: nowrap;
}

.properties-filter-page .re-filter-overflow-list .re-filter-item .re-filter-item-title {
    display: block;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
    color: #161e2d;
    margin: 0 0 8px;
}

.properties-filter-page .re-filter-item .form-style,
.properties-filter-page .re-filter-item .box-select {
    margin: 0;
    border: 0;
    padding: 0;
    display: flex;
    align-items: center;
    width: 100%;
}

.properties-filter-page .re-filter-item .form-style > label,
.properties-filter-page .re-filter-item .box-select > label {
    display: none !important;
}

.properties-filter-page .re-filter-item .group-select,
.properties-filter-page .re-filter-item .position-relative,
.properties-filter-page .re-filter-item [data-bb-toggle="search-suggestion"] {
    margin: 0;
    width: 100%;
}

.properties-filter-page .re-filter-item .form-search-location .group-ip {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
    position: relative;
}

.properties-filter-page .re-filter-item .form-search-location .group-ip .form-control {
    flex: 1 1 auto;
    padding-inline-end: 38px;
}

.properties-filter-page .re-filter-item .form-search-location .group-ip .icon,
.properties-filter-page .re-filter-item .form-search-location .group-ip svg,
.properties-filter-page .re-filter-item .form-search-location .group-ip i {
    position: absolute;
    inset-inline-end: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.properties-filter-page .re-filter-item input.form-control,
.properties-filter-page .re-filter-item .nice-select,
.properties-filter-page .re-filter-item select {
    height: 44px;
    min-height: 44px;
    border-radius: 8px;
    border: 1px solid #d9dde3;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    color: #5c6368;
}

.properties-filter-page .re-filter-item input.form-control::placeholder {
    color: #5c6368;
    opacity: 1;
}

.properties-filter-page .re-filter-item .nice-select {
    line-height: 42px;
    padding-inline-start: 14px;
    padding-inline-end: 36px;
    min-width: 136px;
    position: relative;
    z-index: 20;
}

.properties-filter-page .re-filter-item .nice-select.open {
    z-index: 2147483000 !important;
}

.properties-filter-page .re-filter-item .nice-select .list {
    z-index: 2147483001 !important;
    position: absolute;
}

.properties-filter-page .re-filter-item .nice-select .current {
    max-width: 100%;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #5c6368;
}

.properties-filter-page .re-filter-item .form-search-location input.form-control {
    width: 100%;
    min-width: 0;
    padding-inline-end: 38px;
}

.properties-filter-page .re-filter-item .re-range-dropdown {
    width: 100%;
}

.properties-filter-page .re-filter-item .re-range-dropdown-toggle {
    width: 100%;
    height: 44px;
    min-height: 44px;
    border-radius: 8px;
    border: 1px solid #d9dde3;
    background: #fff;
    color: #5c6368;
    font-size: 14px;
    font-weight: 500;
    line-height: 42px;
    padding: 0 36px 0 14px;
    text-align: left;
    display: block;
}

.properties-filter-page .re-filter-item .re-range-dropdown-toggle::after {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
}

.properties-filter-page .re-filter-item .re-range-dropdown-menu {
    width: min(380px, 90vw);
    border-radius: 12px;
    border: 1px solid #e4e6eb;
    padding: 12px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.properties-filter-page .re-filter-item .re-range-dropdown-panel {
    border: 0;
    border-radius: 0;
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

.properties-filter-page .re-filter-item .re-range-dropdown-panel .widget-price,
.properties-filter-page .re-filter-item .re-range-dropdown-panel .form-search-price,
.properties-filter-page .re-filter-item .re-range-dropdown-panel .form-search-square {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
}

.properties-filter-page .re-filter-item .re-range-dropdown-panel .box-title-price {
    display: block;
    margin: 0 0 14px;
}

.properties-filter-page .re-filter-item .re-range-dropdown-panel .box-title-price .title-price {
    display: none !important;
}

.properties-filter-page .re-filter-item .re-range-dropdown-panel .caption-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0 0 14px;
}

.properties-filter-page .re-filter-item .re-range-dropdown-panel [data-bb-toggle="range-slider"],
.properties-filter-page .re-filter-item .re-range-dropdown-panel #slider-range2 {
    margin: 0;
    width: 100%;
    max-width: 100%;
}

.properties-filter-page .re-filter-item .re-range-dropdown-panel .slider-labels {
    display: none;
}

.properties-filter-page .box-title-listing .mobile-location-filter-row {
    display: none;
}

.properties-filter-page .re-filter-item .form-search-category .nice-select,
.properties-filter-page .re-filter-item .form-search-price-select .nice-select,
.properties-filter-page .re-filter-item .form-search-square-select .nice-select,
.properties-filter-page .re-filter-item .form-search-type .nice-select,
.properties-filter-page .re-filter-item .form-search-floor .nice-select,
.properties-filter-page .re-filter-item .form-search-bedroom .nice-select,
.properties-filter-page .re-filter-item .form-search-bathroom .nice-select {
    min-width: 150px;
}

.properties-filter-page .re-filter-item .box-select input.form-control {
    min-width: 170px;
    padding: 0 12px;
}

.properties-filter-page .re-filter-item .icon-location {
    right: 12px;
}

.properties-filter-page .re-filter-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    height: 44px;
    min-height: 44px;
    margin-bottom: 0;
}

.properties-filter-page .re-more-dropdown {
    position: relative;
}

.properties-filter-page .re-filter-btn,
.properties-filter-page .re-filter-search-button {
    height: 44px;
    min-height: 44px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.properties-filter-page .re-filter-btn {
    border: 1px solid #d9dde3;
    background: #fff;
    color: #161e2d;
    padding: 0 18px;
}

.properties-filter-page .re-filter-search-button {
    min-width: 132px;
    margin: 0;
}

.properties-filter-page .re-more-dropdown .dropdown-menu {
    width: min(460px, 92vw);
    max-height: 72vh;
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 12px;
    border: 1px solid #e4e6eb;
    padding: 12px;
    position: absolute;
    top: calc(100% + 6px);
    z-index: 2147483002 !important;
}

.properties-filter-page .re-more-panel-title {
    font-size: 15px;
    font-weight: 700;
    color: #161e2d;
    margin: 0 0 10px;
}

.properties-filter-page .re-filter-overflow-list {
    display: grid;
    gap: 10px;
    margin-bottom: 12px;
}

.properties-filter-page .re-filter-overflow-list:empty {
    display: none;
    margin: 0;
}

.properties-filter-page .re-filter-overflow-list .re-filter-item {
    width: 100%;
    max-width: none;
    border: 1px solid #eceef2;
    border-radius: 10px;
    padding: 10px;
    background: #fff;
}

.properties-filter-page .re-filter-overflow-list .re-filter-item.is-in-more-panel .nice-select {
    display: none !important;
}

.properties-filter-page .re-filter-overflow-list .re-filter-item.is-in-more-panel .re-range-dropdown-toggle {
    display: none;
}

.properties-filter-page .re-filter-overflow-list .re-filter-item.is-in-more-panel .re-range-dropdown-menu {
    display: block;
    position: static;
    transform: none !important;
    inset: auto !important;
    width: 100%;
    max-width: none;
    border: 0;
    box-shadow: none;
    padding: 0;
    margin: 0;
    overflow: visible;
}

.properties-filter-page .re-filter-overflow-list .re-filter-item.is-in-more-panel .re-range-dropdown {
    width: 100%;
    overflow: visible;
}

.properties-filter-page .re-filter-overflow-list .re-filter-item.is-in-more-panel .re-range-dropdown-panel {
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

.properties-filter-page .re-filter-overflow-list .re-filter-item.is-in-more-panel .re-range-dropdown-panel .box-title-price {
    display: block;
    margin: 0 0 10px;
}

.properties-filter-page .re-filter-overflow-list .re-filter-item.is-in-more-panel .re-range-dropdown-panel .title-price {
    display: none !important;
}

.properties-filter-page .re-filter-overflow-list .re-filter-item.is-in-more-panel .re-range-dropdown-panel .caption-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0 0 12px;
}

.properties-filter-page .re-filter-overflow-list .re-filter-item.is-in-more-panel .re-range-dropdown-panel [data-bb-toggle="range-slider"],
.properties-filter-page .re-filter-overflow-list .re-filter-item.is-in-more-panel .re-range-dropdown-panel #slider-range2 {
    margin: 0;
    width: 100%;
    max-width: 100%;
}

.properties-filter-page .re-filter-overflow-list .re-filter-item.is-in-more-panel .re-range-dropdown-panel .slider-labels {
    display: none;
}

.properties-filter-page .re-filter-overflow-list .re-filter-item.is-in-more-panel select {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    opacity: 0;
    pointer-events: none;
}

.properties-filter-page .re-filter-overflow-list .re-static-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}

.properties-filter-page .re-filter-overflow-list .re-static-option {
    border: 1px solid #d9dde3;
    border-radius: 8px;
    background: #fff;
    color: #161e2d;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    min-height: 32px;
    padding: 8px 12px;
    transition: all .2s ease;
}

.properties-filter-page .re-filter-overflow-list .re-static-option.is-active,
.properties-filter-page .re-filter-overflow-list .re-static-option:hover {
    border-color: #161e2d;
    background: #161e2d;
    color: #fff;
}

.properties-filter-page .re-filter-overflow-list .re-filter-item .form-style,
.properties-filter-page .re-filter-overflow-list .re-filter-item .box-select,
.properties-filter-page .re-filter-overflow-list .re-filter-item .group-select,
.properties-filter-page .re-filter-overflow-list .re-filter-item .position-relative,
.properties-filter-page .re-filter-overflow-list .re-filter-item input.form-control,
.properties-filter-page .re-filter-overflow-list .re-filter-item .nice-select {
    width: 100%;
    min-width: 100%;
}

.properties-filter-page .re-filter-overflow-static {
    display: grid;
    gap: 12px;
}

.properties-filter-page .re-filter-overflow-static .widget-price,
.properties-filter-page .re-filter-overflow-static .group-checkbox {
    border: 1px solid #eceef2;
    border-radius: 10px;
    padding: 12px;
    margin: 0;
}

.properties-filter-page .re-filter-overflow-static .widget-price .box-title-price {
    margin-bottom: 14px;
}

.properties-filter-page .re-filter-overflow-static .widget-price .caption-price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
}

.properties-filter-page .re-filter-overflow-static .widget-price [data-bb-toggle="range-slider"],
.properties-filter-page .re-filter-overflow-static .widget-price #slider-range2 {
    margin-top: 10px;
}

.properties-filter-page .re-filter-overflow-static .group-checkbox .group-amenities {
    max-height: none;
    overflow: visible;
}

/* Properties page: true edge-to-edge horizontal cards */
@media (min-width: 768px) {

    /* CARD */
    .properties-filter-page 
    .property-item.homeya-box.list-style-1.property-card-compact {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        overflow: hidden;
        height: 100%;

        /* match vertical card outer rhythm */
        margin-left: 12px;
        margin-right: 12px;
    }

    /* IMAGE COLUMN — now fluid instead of fixed */
    .properties-filter-page 
    .property-item.homeya-box.list-style-1.property-card-compact > .images-group {
        flex: 1 1 0;              /* allow growth to fill leftover space */
        max-width: none;          /* remove cap that caused the gap */
        width: auto;
        display: flex;
        position: relative;
        overflow: hidden;
        min-width: 0;            /* allow flex child to shrink without forcing overflow */
        padding: 0;              /* remove any accidental inner spacing */
    }

    /* Ensure slider wrapper fills full column */
    .properties-filter-page 
    .property-item.homeya-box.list-style-1.property-card-compact 
    > .images-group .images-style,
    .properties-filter-page 
    .property-item.homeya-box.list-style-1.property-card-compact 
    > .images-group .property-card-slider,
    .properties-filter-page 
    .property-item.homeya-box.list-style-1.property-card-compact 
    > .images-group .property-card-image-fallback {
        width: 100%;
        height: 100%;
        min-height: 100%;
        position: relative; /* ensure overlays and nav position relative to this area */
    }

    /* Image covers entire area (removes inner dead space) */
    .properties-filter-page 
    .property-item.homeya-box.list-style-1.property-card-compact 
    > .images-group img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    /* Enforce image element sizing and remove accidental spacing so
       the image always fits the images-group width exactly. */
    .properties-filter-page 
    .property-item.homeya-box.list-style-1.property-card-compact 
    > .images-group .images-style,
    .properties-filter-page 
    .property-item.homeya-box.list-style-1.property-card-compact 
    > .images-group .property-card-slider,
    .properties-filter-page 
    .property-item.homeya-box.list-style-1.property-card-compact 
    > .images-group .property-card-slider .property-card-image,
    .properties-filter-page 
    .property-item.homeya-box.list-style-1.property-card-compact 
    > .images-group .property-card-slider .property-card-image img,
    .properties-filter-page 
    .property-item.homeya-box.list-style-1.property-card-compact 
    > .images-group .property-card-image-fallback {
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        display: block;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        object-fit: cover;
    }

    /* Defensive rule: ensure img tags inside any image wrappers obey the sizing */
    .properties-filter-page .property-item.homeya-box.list-style-1.property-card-compact > .images-group img{
        width:100% !important;
        max-width:100% !important;
        display:block !important;
        margin:0 !important;
        padding:0 !important;
        box-sizing:border-box !important;
        object-fit:cover !important;
    }

    /* Anchor navigation, overlays and dots to the image group's true edge
       so arrows and tags sit flush against the content column boundary. */
    .properties-filter-page 
    .property-item.homeya-box.list-style-1.property-card-compact 
    > .images-group .property-card-slider .pcs-next {
        /* anchor to the overlay inset so it visually aligns with the wishlist heart */
        right: var(--pc-overlay-inset,8px);
        z-index: 12; /* sit above overlay controls */
    }

    .properties-filter-page 
    .property-item.homeya-box.list-style-1.property-card-compact 
    > .images-group .property-card-slider .pcs-prev {
        left: var(--pc-overlay-inset,8px);
        z-index: 12;
    }

    .properties-filter-page 
    .property-item.homeya-box.list-style-1.property-card-compact 
    > .images-group .top,
    .properties-filter-page 
    .property-item.homeya-box.list-style-1.property-card-compact 
    > .images-group .bottom {
        left: 0;
        right: 0; /* overlays span full width of image group */
        padding-inline: var(--pc-overlay-inset,4px);
    }

    /* CONTENT COLUMN — define stable readable width */
    .properties-filter-page 
    .property-item.homeya-box.list-style-1.property-card-compact 
    > .content.property-card-content {
        flex: 0 0 420px;          /* stable info column width */
        max-width: 420px;
        min-width: 340px;         /* prevents squish on tablet */
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 14px 16px;
    }

    /* TOP CONTENT */
    .properties-filter-page 
    .property-item.homeya-box.list-style-1.property-card-compact 
    > .content.property-card-content 
    .archive-top.property-card-main {
        flex: 1 1 auto;
        border-bottom: none; /* remove divider line in horizontal view */
        margin-bottom: 12px;
        padding-bottom: 0; /* keep spacing but remove visual rule */
    }

    /* Slightly larger type for property details in horizontal (list) view */
    .properties-filter-page 
    .property-item.homeya-box.list-style-1.property-card-compact 
    > .content.property-card-content .property-card-title .link {
        font-size: calc(var(--pc-title-size) * 1.06);
        line-height: 1.18;
    }

    .properties-filter-page 
    .property-item.homeya-box.list-style-1.property-card-compact 
    > .content.property-card-content .property-card-address p {
        font-size: calc(var(--pc-address-size) * 1.04);
    }

    .properties-filter-page 
    .property-item.homeya-box.list-style-1.property-card-compact 
    > .content.property-card-content .property-card-features .item span {
        font-size: calc(var(--pc-feature-size) * 1.03);
    }

    /* Add vertical gap between title and location in horizontal (list) view */
    .properties-filter-page 
    .property-item.homeya-box.list-style-1.property-card-compact 
    > .content.property-card-content .property-card-title {
        margin-bottom: 8px;
    }

    .properties-filter-page 
    .property-item.homeya-box.list-style-1.property-card-compact 
    > .content.property-card-content .property-card-address {
        margin-top: 4px;
    }

    /* FOOTER: keep footer directly after details (sequence), not pushed to card bottom */
    .properties-filter-page 
    .property-item.homeya-box.list-style-1.property-card-compact 
    > .content.property-card-content 
    .archive-bottom.property-card-footer {
        margin-top: 12px; /* follow details immediately */
        padding-top: 0;
        align-items: center; /* vertically center price + agent */
        justify-content: space-between;
        width: 100%;
    }

    /* Ensure price sits on the left in the natural flow */
    .properties-filter-page 
    .property-item.homeya-box.list-style-1.property-card-compact 
    > .content.property-card-content 
    .property-card-price {
        order: 0;
        align-self: flex-start;
        margin: 0;
    }
}

@media (max-width: 1399.98px) {
    .properties-filter-page .main-header .inner-container {
        gap: 16px;
    }

    .properties-filter-page .main-header .header-account {
        gap: 10px;
    }
}

@media (max-width: 767.98px) {
    .properties-filter-page .box-title-listing .box-filter-tab {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        align-items: center;
    }

    .properties-filter-page .box-title-listing .mobile-location-filter-row {
        display: flex;
        align-items: center;
        gap: 8px;
        width: 100%;
        order: 1;
    }

    .properties-filter-page .box-title-listing .box-filter-tab > :not(.mobile-location-filter-row) {
        order: 2;
        transition: flex-basis 0.22s ease, max-width 0.22s ease, min-width 0.22s ease, width 0.22s ease;
    }

    .properties-filter-page .box-title-listing .box-filter-tab > .nav-tab-filter {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin: 0;
        flex: 0 1 86px;
        min-width: 78px;
    }

    .properties-filter-page .box-title-listing .box-filter-tab > .nav-tab-filter .nav-link-item {
        width: 38px;
        height: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

    .properties-filter-page .box-title-listing .box-filter-tab > .d-flex.gap-2 {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 8px !important;
        flex: 1 1 0;
        min-width: 0;
    }

    .properties-filter-page .box-title-listing .box-filter-tab > .d-flex.gap-2 .list-page,
    .properties-filter-page .box-title-listing .box-filter-tab > .d-flex.gap-2 .list-sort,
    .properties-filter-page .box-title-listing .box-filter-tab > .d-flex.gap-2 .list-page + .nice-select,
    .properties-filter-page .box-title-listing .box-filter-tab > .d-flex.gap-2 .list-sort + .nice-select {
        flex: 1 1 0;
        min-width: 0;
        width: auto;
        max-width: none;
        margin: 0;
    }

    .properties-filter-page .box-title-listing .box-filter-tab > .d-flex.gap-2 .list-page + .nice-select,
    .properties-filter-page .box-title-listing .box-filter-tab > .d-flex.gap-2 .list-sort + .nice-select {
        height: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        padding-inline-end: 24px;
    }

    .properties-filter-page .box-title-listing .box-filter-tab > .d-flex.gap-2 .list-page + .nice-select .current,
    .properties-filter-page .box-title-listing .box-filter-tab > .d-flex.gap-2 .list-sort + .nice-select .current {
        font-size: 13px;
    }

    /* Mobile: remove divider between details and price for horizontal/list-style-1 cards */
    .properties-filter-page 
    .property-item.homeya-box.list-style-1.property-card-compact 
    > .content.property-card-content 
    .archive-top.property-card-main {
        border-bottom: none !important;
        margin-bottom: 8px;
        padding-bottom: 0 !important;
    }

    .properties-filter-page .box-title-listing .reset-filter-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        white-space: nowrap;
        height: 44px;
        min-height: 44px;
        padding: 0 10px;
        font-size: 13px;
        line-height: 1;
        flex: 0 1 74px;
        min-width: 66px;
        max-width: 86px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .properties-filter-page .box-title-listing .mobile-location-filter-input {
        flex: 1 1 auto;
        min-width: 0;
    }

    .properties-filter-page .box-title-listing .mobile-location-field-wrap {
        position: relative;
    }

    .properties-filter-page .box-title-listing .mobile-location-filter-input .form-control {
        height: 44px;
        min-height: 44px;
        border-radius: 8px;
        border: 1px solid #d9dde3;
        background: #fff;
        font-size: 14px;
        font-weight: 500;
        color: #5c6368;
        padding: 0 40px 0 12px;
    }

    .properties-filter-page .box-title-listing .mobile-location-field-wrap .mobile-location-icon {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
        color: #5c6368;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .properties-filter-page .box-title-listing .btn-filter-mobile-inline {
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        min-height: 44px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .properties-filter-page .box-title-listing .box-filter-tab > .d-flex.gap-2 .btn-filter-mobile {
        display: none !important;
    }

    .properties-filter-page .box-title-listing .box-filter-tab > .d-flex.gap-2 .btn-filter-mobile + .list-page,
    .properties-filter-page .box-title-listing .box-filter-tab > .d-flex.gap-2 .btn-filter-mobile + .list-page + .nice-select {
        margin-left: 0;
    }

    .properties-filter-page .flat-tab.flat-tab-form {
        padding: 8px 12px;
    }

    .properties-filter-page .re-responsive-filter-bar {
        min-height: 40px;
    }

    .properties-filter-page .re-filter-item .form-search-location input.form-control {
        min-width: 180px;
        width: 200px;
    }

    .properties-filter-page .re-filter-search-button {
        min-width: 104px;
    }
}

@media (max-width: 420px) {
    .properties-filter-page .box-title-listing .box-filter-tab > .nav-tab-filter {
        flex-basis: 80px;
        min-width: 72px;
    }

    .properties-filter-page .box-title-listing .box-filter-tab > .nav-tab-filter .nav-link-item {
        width: 35px;
    }

    .properties-filter-page .box-title-listing .reset-filter-btn {
        flex-basis: 62px;
        min-width: 56px;
        max-width: 70px;
        padding: 0 8px;
        font-size: 12px;
    }

    .properties-filter-page .box-title-listing .box-filter-tab > .d-flex.gap-2 .list-page + .nice-select,
    .properties-filter-page .box-title-listing .box-filter-tab > .d-flex.gap-2 .list-sort + .nice-select {
        padding-inline-start: 10px;
        padding-inline-end: 20px;
    }

    .properties-filter-page .box-title-listing .box-filter-tab > .d-flex.gap-2 .list-page + .nice-select .current,
    .properties-filter-page .box-title-listing .box-filter-tab > .d-flex.gap-2 .list-sort + .nice-select .current {
        font-size: 12px;
    }
}

@media only screen and (max-width: 991px) {
    .properties-filter-page .main-header .inner-container {
        min-height: 64px;
        gap: 12px;
    }

    .properties-filter-page .main-header .nav-outer,
    .properties-filter-page .main-header .header-account,
    .properties-filter-page .main-header .main-menu {
        display: none !important;
    }

    .properties-filter-page .main-header .mobile-button {
        display: block !important;
        margin-left: auto;
        flex: 0 0 auto;
    }

    .properties-filter-page .search-box-offcanvas.active .search-box-offcanvas-content .wrap-filter-search {
        padding: 16px 18px 20px;
    }

    .properties-filter-page .search-box-offcanvas.active .search-box-offcanvas-content .flat-tab.flat-tab-form {
        padding: 0;
    }

    .properties-filter-page .search-box-offcanvas.active .search-box-offcanvas-content .re-responsive-filter-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        min-height: 0;
        padding: 0;
        background: transparent;
    }

    .properties-filter-page .search-box-offcanvas.active .search-box-offcanvas-content .re-filter-primary {
        display: block;
        white-space: normal;
    }

    .properties-filter-page .search-box-offcanvas.active .search-box-offcanvas-content .re-filter-primary > .re-filter-item.is-persistent-primary,
    .properties-filter-page .search-box-offcanvas.active .search-box-offcanvas-content .re-filter-primary > .re-filter-item[data-persistent-primary="true"] {
        display: none;
    }

    .properties-filter-page .search-box-offcanvas.active .search-box-offcanvas-content .re-filter-primary > .re-filter-item:not(.is-persistent-primary):not([data-persistent-primary="true"]) {
        display: none;
    }

    .properties-filter-page .search-box-offcanvas.active .search-box-offcanvas-content .re-filter-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
        height: auto;
        min-height: 0;
    }

    .properties-filter-page .search-box-offcanvas.active .search-box-offcanvas-content .re-filter-actions .re-more-dropdown {
        order: 1;
        width: 100%;
    }

    .properties-filter-page .search-box-offcanvas.active .search-box-offcanvas-content .re-filter-actions .re-filter-search-button {
        order: 2;
        width: 100%;
        min-width: 0;
    }

    .properties-filter-page .search-box-offcanvas.active .search-box-offcanvas-content .re-more-dropdown > .re-filter-btn {
        display: none;
    }

    .properties-filter-page .search-box-offcanvas.active .search-box-offcanvas-content .re-more-dropdown .dropdown-menu {
        display: block;
        position: static;
        transform: none !important;
        inset: auto !important;
        width: 100%;
        max-height: none;
        overflow: visible;
        box-shadow: none;
        border: 0;
        padding: 0;
        margin: 0;
    }

    .properties-filter-page .search-box-offcanvas.active .search-box-offcanvas-content .re-more-panel-title {
        display: none;
    }

    .properties-filter-page .search-box-offcanvas.active .search-box-offcanvas-content .re-filter-overflow-list {
        margin-bottom: 12px;
    }

    .properties-filter-page .search-box-offcanvas.active .search-box-offcanvas-content .re-filter-overflow-static {
        margin-top: 0;
    }

    .properties-filter-page .search-box-offcanvas.active .search-box-offcanvas-content .re-filter-overflow-static .group-checkbox {
        overflow: visible;
    }

    .properties-filter-page .search-box-offcanvas.active .search-box-offcanvas-content .re-filter-overflow-static .group-checkbox .group-amenities {
        max-height: none;
        overflow: visible;
    }
}
