.rs-properties-list main > h1 + div,
.rs-properties-list main > form,
.rs-properties-root main > h1 {
    display: none;
}

.rs-property-catalogue > h1 {
    color: #17211f;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    letter-spacing: -.035em;
    margin: 0 0 1.5rem;
}

.rs-home-search {
    align-items: stretch;
    background: #fff;
    border: 1px solid #d8dde1;
    border-radius: 999px;
    box-shadow: 0 9px 28px rgba(20, 38, 55, .14);
    display: grid;
    grid-template-columns: 1.25fr 1fr auto;
    margin: 1rem auto 3.25rem;
    max-width: 720px;
    min-height: 66px;
    padding: 7px;
    position: relative;
    width: calc(100% - 1rem);
    z-index: 95;
}

.rs-site-header__search .rs-home-search {
    flex: 0 1 720px;
    margin: 0;
    width: 100%;
}

@media (min-width: 901px) {
    .rs-site-header__search .rs-home-search {
        left: 50%;
        position: absolute;
        top: 88px;
        transform: translateX(-50%);
        transition: max-width .32s cubic-bezier(.2, .8, .2, 1), min-height .32s cubic-bezier(.2, .8, .2, 1), padding .32s cubic-bezier(.2, .8, .2, 1), top .32s cubic-bezier(.2, .8, .2, 1), grid-template-columns .32s cubic-bezier(.2, .8, .2, 1);
    }

    .rs-site-header.is-search-compact .rs-site-header__search .rs-home-search {
        grid-template-columns: 1.2fr 1fr auto;
        max-width: 430px;
        min-height: 48px;
        padding: 4px;
        pointer-events: auto;
        top: 12px;
    }

    .rs-site-header.is-search-compact .rs-home-search__field {
        padding: .25rem 1rem;
    }

    .rs-site-header.is-search-compact .rs-home-search__label {
        margin-bottom: 0;
        max-height: 0;
        opacity: 0;
        transform: translateY(-4px);
    }

    .rs-site-header.is-search-compact .rs-location-picker__input,
    .rs-site-header.is-search-compact .rs-type-picker__toggle {
        color: #17211f;
        font-size: .86rem;
    }

    .rs-site-header.is-search-compact .rs-home-search__field + .rs-home-search__field::before {
        height: 24px;
    }

    .rs-site-header.is-search-compact .rs-home-search__submit {
        font-size: .82rem;
        height: 38px;
        margin-left: .25rem;
        min-width: 76px;
        padding-inline: 1rem;
    }
}

.rs-home-search__field {
    border-radius: 999px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: .45rem 1.65rem;
    position: relative;
    cursor: pointer;
    transition: padding .32s cubic-bezier(.2, .8, .2, 1);
}

.rs-home-search__field + .rs-home-search__field::before {
    background: #d8dde1;
    content: "";
    height: 32px;
    left: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
}

.rs-home-search__label {
    color: #17211f;
    font-size: .76rem;
    font-weight: 750;
    line-height: 1.2;
    margin-bottom: .2rem;
    max-height: 1rem;
    opacity: 1;
    overflow: hidden;
    transform: translateY(0);
    transition: max-height .32s cubic-bezier(.2, .8, .2, 1), margin .32s cubic-bezier(.2, .8, .2, 1), opacity .2s ease, transform .32s cubic-bezier(.2, .8, .2, 1);
}

.rs-location-picker__input,
.rs-type-picker__toggle {
    appearance: none;
    background: transparent;
    border: 0;
    color: #5e6870;
    cursor: pointer;
    font: inherit;
    font-size: .94rem;
    line-height: 1.25;
    margin: 0;
    min-height: 24px;
    min-width: 0;
    outline: 0;
    overflow: hidden;
    padding: 0;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    transition: color .2s ease, font-size .32s cubic-bezier(.2, .8, .2, 1);
}

.rs-location-picker__input::placeholder {
    color: #5e6870;
    opacity: 1;
}

.rs-type-picker__toggle {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: .75rem;
}

.rs-home-search__submit {
    align-items: center;
    align-self: center;
    background: #003568;
    border: 0;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    height: 48px;
    justify-content: center;
    margin: 0 2px 0 .4rem;
    min-width: 102px;
    padding: 0 1.35rem;
    transition: background-color .18s ease, transform .18s ease, font-size .32s cubic-bezier(.2, .8, .2, 1), height .32s cubic-bezier(.2, .8, .2, 1), min-width .32s cubic-bezier(.2, .8, .2, 1), padding .32s cubic-bezier(.2, .8, .2, 1), margin .32s cubic-bezier(.2, .8, .2, 1);
    width: auto;
    font: inherit;
    font-weight: 700;
}

.rs-home-search__submit:hover,
.rs-home-search__submit:focus-visible {
    background: #00264b;
    outline: 0;
    transform: scale(1.04);
}

.rs-location-picker__panel,
.rs-type-picker__panel {
    background: #fff;
    border: 1px solid #e0e4e7;
    border-radius: 16px;
    box-shadow: 0 14px 38px rgba(20, 38, 55, .2);
    left: 0;
    min-width: 330px;
    padding: .75rem;
    position: absolute;
    top: calc(100% + 14px);
    z-index: 120;
}

.rs-type-picker__panel {
    min-width: 240px;
}

.rs-location-picker__panel[hidden],
.rs-type-picker__panel[hidden] {
    display: none;
}

.rs-location-picker__options {
    max-height: 260px;
    overflow-y: auto;
}

.rs-location-picker__options button,
.rs-type-picker__panel button {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 9px;
    color: #17211f;
    cursor: pointer;
    display: flex;
    font: inherit;
    justify-content: space-between;
    min-height: 42px;
    padding: .7rem .75rem;
    text-align: left;
    width: 100%;
}

.rs-location-picker__options button:hover,
.rs-location-picker__options button:focus-visible,
.rs-location-picker__options button[aria-selected="true"],
.rs-type-picker__panel button:hover,
.rs-type-picker__panel button:focus-visible,
.rs-type-picker__panel button[aria-selected="true"] {
    background: #edf3f8;
    color: #003568;
    outline: 0;
}

.rs-type-picker__panel button[aria-selected="true"] {
    font-weight: 700;
}

.rs-type-picker__panel button[aria-selected="true"]::after {
    border-bottom: 2px solid currentColor;
    border-right: 2px solid currentColor;
    content: "";
    height: 10px;
    margin: -4px 3px 0 1rem;
    transform: rotate(45deg);
    width: 6px;
}

.rs-location-picker__empty {
    color: #68737b;
    margin: .8rem .75rem;
}

.rs-mobile-picker__header,
.rs-location-picker__mobile-search {
    display: none;
}

@media (max-width: 760px) {
    body.rs-properties-list .rs-site-header {
        transition: border-color .22s ease, box-shadow .22s ease;
    }

    body.rs-properties-list .rs-site-header__main {
        max-height: 76px;
        overflow: hidden;
        transition: max-height .22s ease, min-height .22s ease, opacity .16s ease, transform .22s ease;
    }

    body.rs-properties-list.rs-results-header-collapsed .rs-site-header__main {
        max-height: 0;
        min-height: 0;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-100%);
    }

    body.rs-properties-list .rs-site-header__search {
        background: #fff;
        padding-bottom: 8px;
        padding-top: 6px;
    }

    body.rs-properties-list.rs-results-header-collapsed .rs-site-header {
        border-bottom-color: transparent;
        box-shadow: 0 5px 16px -12px rgba(20, 38, 55, .7);
    }

    .rs-home-search__submit {
        font-size: .88rem;
    }

    .rs-property-catalogue > .rs-home-search {
        border-radius: 22px;
        gap: 0;
        grid-template-columns: 1fr;
        margin: .75rem auto 2rem;
        max-width: 520px;
        padding: .45rem;
        width: 100%;
    }

    .rs-site-header__search .rs-home-search {
        border-color: #dfe4e7;
        border-radius: 18px;
        box-shadow: 0 3px 12px rgba(20, 38, 55, .1);
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
        min-height: 54px;
        padding: 4px;
    }

    .rs-property-catalogue > .rs-home-search .rs-home-search__field {
        border-radius: 16px;
        min-height: 62px;
        padding: .65rem 1rem;
    }

    .rs-site-header__search .rs-home-search__field {
        min-height: 44px;
        padding: .25rem .65rem;
    }

    .rs-property-catalogue > .rs-home-search .rs-home-search__field + .rs-home-search__field::before {
        height: 1px;
        left: 1rem;
        right: 1rem;
        top: 0;
        transform: none;
        width: auto;
    }

    .rs-site-header__search .rs-home-search__field + .rs-home-search__field::before {
        height: 24px;
        left: 0;
        right: auto;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
    }

    .rs-property-catalogue > .rs-home-search .rs-home-search__submit {
        border-radius: 999px;
        height: 48px;
        margin: .45rem 0 0;
        width: 100%;
    }

    .rs-site-header__search .rs-home-search__submit {
        font-size: .78rem;
        height: 42px;
        margin: 0;
        min-width: 70px;
        padding-inline: .8rem;
    }

    body.rs-property-picker-open .rs-home-search {
        z-index: 20000;
    }

    .rs-site-header__search .rs-home-search__label {
        font-size: .66rem;
        margin-bottom: .08rem;
    }

    .rs-site-header__search .rs-location-picker__input,
    .rs-site-header__search .rs-type-picker__toggle {
        font-size: .78rem;
    }

    .rs-location-picker__panel,
    .rs-type-picker__panel {
        background: #fff;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        height: 100dvh;
        inset: 0;
        margin: 0;
        max-height: none;
        min-width: 0;
        overflow: hidden;
        overscroll-behavior: contain;
        padding: 0 1rem 2rem;
        position: fixed;
        width: 100vw;
        z-index: 10100;
    }

    .rs-mobile-picker__header {
        align-items: center;
        border-bottom: 1px solid #e5e8ed;
        display: flex;
        flex: 0 0 auto;
        justify-content: space-between;
        margin: 0 -1rem 1.25rem;
        min-height: 64px;
        padding: 0 1rem;
    }

    .rs-mobile-picker__header strong {
        color: #17211f;
        font-size: 1.35rem;
        font-weight: 650;
    }

    .rs-mobile-picker__close {
        background: transparent;
        border: 0;
        border-radius: 50%;
        color: #17211f;
        flex: 0 0 42px;
        height: 42px;
        margin-right: -.55rem;
        padding: 0;
        position: relative;
        width: 42px;
    }

    .rs-mobile-picker__close::before,
    .rs-mobile-picker__close::after {
        background: currentColor;
        content: "";
        height: 2px;
        left: 12px;
        position: absolute;
        top: 20px;
        width: 18px;
    }

    .rs-mobile-picker__close::before { transform: rotate(45deg); }
    .rs-mobile-picker__close::after { transform: rotate(-45deg); }

    .rs-location-picker__mobile-search {
        background: #f5f8f8;
        border: 1px solid #d7dce3;
        border-radius: 12px;
        box-sizing: border-box;
        color: #17211f;
        display: block;
        flex: 0 0 auto;
        font: inherit;
        font-size: 16px;
        margin: 0 auto 1rem;
        max-width: 620px;
        min-height: 48px;
        padding: .75rem 1rem;
        width: 100%;
    }

    .rs-location-picker__mobile-search:focus {
        border-color: #003568;
        box-shadow: 0 0 0 3px rgba(0, 53, 104, .14);
        outline: 0;
    }

    .rs-location-picker__options {
        margin: 0 auto;
        max-height: none;
        max-width: 620px;
        overflow-y: auto;
        overscroll-behavior: contain;
        width: 100%;
    }

    .rs-location-picker__options button,
    .rs-type-picker__panel > button {
        border-bottom: 1px solid #edf0f2;
        border-radius: 0;
        font-size: 1rem;
        min-height: 52px;
    }

    body.rs-property-picker-open {
        overflow: hidden;
    }
}

.rs-catalog-filter-bar {
    align-items: center;
    display: flex;
    gap: .55rem;
    justify-content: center;
    margin: 0 auto;
    max-width: 1280px;
    min-width: 0;
    width: 100%;
}

.rs-catalog-filter-bar__scroller {
    display: flex;
    gap: .55rem;
    min-width: 0;
    overflow-x: auto;
    padding: .15rem 0;
    scrollbar-width: none;
}

.rs-catalog-filter-bar__scroller::-webkit-scrollbar {
    display: none;
}

.rs-catalog-filter-chip {
    align-items: center;
    background: #fff;
    border: 1px solid #d9dde1;
    border-radius: 999px;
    color: #17211f;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 auto;
    font: inherit;
    font-size: .82rem;
    font-weight: 600;
    gap: .35rem;
    min-height: 34px;
    padding: .38rem .8rem;
    transition: border-color .18s ease, box-shadow .18s ease, color .18s ease;
    white-space: nowrap;
}

.rs-catalog-filter-chip:hover,
.rs-catalog-filter-chip:focus-visible {
    border-color: #72808b;
    box-shadow: 0 2px 7px rgba(20, 38, 55, .1);
    outline: 0;
}

.rs-catalog-filter-chip.is-active {
    border-color: #003568;
    box-shadow: inset 0 0 0 1px #003568;
    color: #003568;
}

.rs-catalog-filter-chip--main {
    font-weight: 700;
    padding-inline: .72rem;
}

.rs-catalog-filter-chip svg {
    fill: none;
    height: 16px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 16px;
}

.rs-catalog-filter-chip__count {
    align-items: center;
    background: #003568;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    font-size: .68rem;
    height: 19px;
    justify-content: center;
    min-width: 19px;
    padding: 0 4px;
}

.rs-catalog-filter-chip__count[hidden] {
    display: none;
}

.rs-catalog-filter-dialog {
    background: transparent;
    border: 0;
    height: 100%;
    margin: auto;
    max-height: 100%;
    max-width: 100%;
    padding: .75rem;
    width: 100%;
}

.rs-catalog-filter-dialog[open] {
    display: flex;
}

.rs-catalog-filter-dialog::backdrop {
    backdrop-filter: blur(1px);
    background: rgba(20, 28, 34, .52);
}

.rs-catalog-filter-dialog__panel {
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 24px 80px rgba(15, 28, 40, .28);
    color: #17211f;
    display: flex;
    flex-direction: column;
    margin: auto;
    max-height: calc(100dvh - 1.5rem);
    max-width: 570px;
    overflow: hidden;
    width: 100%;
}

.rs-catalog-filter-dialog__header {
    align-items: center;
    border-bottom: 1px solid #e2e5e7;
    display: grid;
    flex: 0 0 auto;
    grid-template-columns: 44px 1fr 44px;
    min-height: 64px;
    padding: 0 1rem;
}

.rs-catalog-filter-dialog__header h2 {
    font-size: 1rem;
    font-weight: 750;
    grid-column: 2;
    margin: 0;
    text-align: center;
}

.rs-catalog-filter-dialog__header button {
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    grid-column: 3;
    height: 38px;
    justify-self: end;
    position: relative;
    width: 38px;
}

.rs-catalog-filter-dialog__header button::before,
.rs-catalog-filter-dialog__header button::after {
    background: #17211f;
    content: "";
    height: 1.7px;
    left: 10px;
    position: absolute;
    top: 18px;
    width: 18px;
}

.rs-catalog-filter-dialog__header button::before {
    transform: rotate(45deg);
}

.rs-catalog-filter-dialog__header button::after {
    transform: rotate(-45deg);
}

.rs-catalog-filter-dialog__header button:hover,
.rs-catalog-filter-dialog__header button:focus-visible {
    background: #f1f3f4;
    outline: 0;
}

.rs-catalog-filter-dialog__body {
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0 1.5rem;
}

.rs-catalog-filter-section {
    padding: 1.6rem 0;
}

.rs-catalog-filter-section + .rs-catalog-filter-section {
    border-top: 1px solid #e2e5e7;
}

.rs-catalog-filter-section h3 {
    font-size: 1.2rem;
    font-weight: 750;
    margin: 0 0 .3rem;
}

.rs-catalog-filter-section > p {
    color: #53616b;
    margin: 0;
}

.rs-price-histogram {
    align-items: end;
    display: flex;
    gap: 3px;
    height: 88px;
    margin: 1.25rem 16px -10px;
}

.rs-price-histogram i {
    background: #003568;
    border-radius: 3px 3px 0 0;
    flex: 1 1 0;
    height: var(--rs-bar-height);
    min-width: 2px;
    opacity: .9;
}

.rs-price-range {
    --rs-price-from: 0%;
    --rs-price-to: 100%;
    height: 38px;
    margin: 0 10px .4rem;
    position: relative;
}

.rs-price-range__line {
    background: linear-gradient(to right, #d5dadd 0 var(--rs-price-from), #003568 var(--rs-price-from) var(--rs-price-to), #d5dadd var(--rs-price-to) 100%);
    height: 2px;
    left: 6px;
    position: absolute;
    right: 6px;
    top: 18px;
}

.rs-price-range input[type="range"] {
    appearance: none;
    background: transparent;
    height: 38px;
    left: 0;
    margin: 0;
    padding: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 100%;
}

.rs-price-range input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    background: #fff;
    border: 1px solid #cfd5d9;
    border-radius: 50%;
    box-shadow: 0 2px 7px rgba(20, 38, 55, .15);
    cursor: grab;
    height: 21px;
    pointer-events: auto;
    width: 21px;
}

.rs-price-range input[type="range"]::-moz-range-thumb {
    background: #fff;
    border: 1px solid #cfd5d9;
    border-radius: 50%;
    box-shadow: 0 2px 7px rgba(20, 38, 55, .15);
    cursor: grab;
    height: 20px;
    pointer-events: auto;
    width: 20px;
}

.rs-price-range input[type="range"]::-moz-range-track {
    background: transparent;
}

.rs-filter-number-pair {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr 1fr;
}

.rs-filter-number-pair label {
    color: #5a666e;
    display: grid;
    font-size: .78rem;
    gap: .4rem;
    margin: 0;
}

.rs-filter-number {
    align-items: center;
    border: 1px solid #d1d6d9;
    border-radius: 14px;
    display: flex;
    min-height: 50px;
    padding: 0 .85rem;
}

.rs-filter-number:focus-within {
    border-color: #003568;
    box-shadow: 0 0 0 2px rgba(0, 53, 104, .12);
}

.rs-filter-number b {
    color: #17211f;
    font-weight: 500;
    margin-right: .4rem;
}

.rs-filter-number input {
    appearance: textfield;
    background: transparent;
    border: 0;
    color: #17211f;
    font: inherit;
    font-size: 1rem;
    min-width: 0;
    outline: 0;
    padding: 0;
    width: 100%;
}

.rs-filter-number input::-webkit-inner-spin-button,
.rs-filter-number input::-webkit-outer-spin-button {
    appearance: none;
}

.rs-filter-steppers {
    display: grid;
    gap: 1rem;
    margin-top: 1.2rem;
}

.rs-filter-steppers > div {
    align-items: center;
    display: grid;
    gap: .65rem;
    grid-template-columns: 1fr 38px 58px 38px;
}

.rs-filter-steppers button {
    align-items: center;
    background: #f2f4f5;
    border: 0;
    border-radius: 50%;
    color: #17211f;
    cursor: pointer;
    display: flex;
    font-size: 1.35rem;
    height: 38px;
    justify-content: center;
    padding: 0 0 2px;
    width: 38px;
}

.rs-filter-steppers button:disabled {
    color: #a9b0b5;
    cursor: default;
}

.rs-filter-steppers output {
    text-align: center;
}

.rs-filter-feature-options {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: 1rem;
}

.rs-filter-feature-options label {
    cursor: pointer;
    margin: 0;
}

.rs-filter-feature-options input {
    position: absolute;
    opacity: 0;
}

.rs-filter-feature-options span {
    border: 1px solid #d1d6d9;
    border-radius: 999px;
    display: block;
    padding: .7rem 1.1rem;
}

.rs-filter-feature-options input:checked + span {
    background: #edf3f8;
    border-color: #003568;
    color: #003568;
    box-shadow: inset 0 0 0 1px #003568;
}

.rs-filter-feature-options input:focus-visible + span {
    outline: 3px solid rgba(0, 53, 104, .16);
}

.rs-catalog-filter-dialog__footer {
    align-items: center;
    background: #fff;
    border-top: 1px solid #e2e5e7;
    display: flex;
    flex: 0 0 auto;
    justify-content: space-between;
    padding: .9rem 1.5rem;
}

.rs-catalog-filter-dialog__footer button {
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.rs-catalog-filter-dialog__footer button:first-child {
    background: transparent;
    border: 0;
    color: #53616b;
    padding: .75rem 0;
    text-decoration: underline;
}

.rs-catalog-filter-dialog__footer button:last-child {
    background: #003568;
    border: 0;
    border-radius: 14px;
    color: #fff;
    min-width: 190px;
    padding: .85rem 1.15rem;
}

.rs-catalog-filter-dialog__footer button:last-child:hover,
.rs-catalog-filter-dialog__footer button:last-child:focus-visible {
    background: #00264b;
    outline: 0;
}

@media (max-width: 760px) {
    .rs-site-header__filters {
        padding-inline: .65rem;
    }

    .rs-catalog-filter-chip {
        font-size: .76rem;
        min-height: 32px;
        padding: .34rem .68rem;
    }

    .rs-catalog-filter-bar {
        justify-content: flex-start;
    }

    .rs-catalog-filter-dialog {
        padding: 0;
    }

    .rs-catalog-filter-dialog__panel {
        border-radius: 20px 20px 0 0;
        margin-bottom: 0;
        max-height: calc(100dvh - .5rem);
    }

    .rs-catalog-filter-dialog__body {
        padding-inline: 1.1rem;
    }

    .rs-catalog-filter-dialog__footer {
        padding: .8rem 1rem;
    }

    .rs-catalog-filter-dialog__footer button:last-child {
        min-width: 0;
    }

    .rs-price-histogram {
        gap: 2px;
    }
}

.rs-popular-properties > h1 {
    color: var(--heading-color);
    font-family: var(--cassiopeia-font-family-headings, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif);
    font-size: 40px;
    font-weight: var(--cassiopeia-font-weight-headings, 700);
    letter-spacing: normal;
    line-height: 1.2;
    margin: 0;
}

.rs-popular-properties__intro {
    color: #66767d;
    font-size: 1.1rem;
}

.rs-property-filters {
    align-items: center;
    background: #fff;
    display: flex;
    gap: .5rem;
    margin: .35rem 0 1.5rem;
    min-width: 0;
    padding: .65rem 0;
    position: sticky;
    top: var(--rs-sticky-header-height, 76px);
    z-index: 90;
}

.rs-property-filters.is-stuck {
    background: #fff;
}

body.rs-filters-stuck::before {
    background: #fff;
    box-shadow: 0 5px 9px -5px rgba(24, 37, 55, .42);
    content: "";
    height: var(--rs-filter-bar-height, 60px);
    left: 0;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: var(--rs-sticky-header-height, 76px);
    z-index: 89;
}

.rs-property-filters::before,
.rs-property-filters::after {
    content: none;
}

.rs-property-filters__trigger {
    align-items: center;
    background: #edf1f3;
    border: 0;
    border-radius: 999px;
    color: #1d304e;
    cursor: pointer;
    display: flex;
    flex: 0 0 auto;
    font: inherit;
    font-weight: 650;
    gap: .4rem;
    min-height: 38px;
    padding: .45rem .65rem .45rem .8rem;
    position: relative;
}

.rs-property-filters__trigger svg {
    height: 18px;
    width: 18px;
}

.rs-property-filters__trigger:hover {
    background: #e4ebe9;
}

.rs-property-filters__trigger:focus-visible {
    box-shadow: 0 0 0 3px rgba(23, 107, 104, .16);
    outline: 0;
}

.rs-property-filters__trigger.is-active {
    background: #1d304e;
    color: #fff;
}

.rs-property-filters__count {
    align-items: center;
    background: #fff;
    border-radius: 50%;
    color: #1d304e;
    display: flex;
    font-size: .78rem;
    font-weight: 800;
    height: 24px;
    justify-content: center;
    margin-left: .15rem;
    width: 24px;
}

.rs-property-filters__count[hidden] {
    display: none;
}

.rs-property-filters__chips {
    display: flex;
    gap: .5rem;
    min-width: 0;
    overflow-x: auto;
    padding: .15rem 0;
    scrollbar-width: none;
}

.rs-property-filters__chips::-webkit-scrollbar {
    display: none;
}

.rs-property-filters__chips button {
    background: #edf1f3;
    border: 0;
    border-radius: 999px;
    color: #273b4f;
    cursor: pointer;
    flex: 0 0 auto;
    min-height: 38px;
    padding: .48rem 1rem;
    transition: background-color .18s ease, color .18s ease;
}

.rs-property-filters__chips button[aria-pressed="true"] {
    background: #1d304e;
    color: #fff;
    order: -1;
}

.rs-property-filters__chips button[aria-pressed="true"]::after {
    content: " ×";
    font-size: 1.15em;
    line-height: 0;
}

.rs-property-filters__next {
    align-items: center;
    background: #edf1f3;
    border: 0;
    border-radius: 50%;
    color: #1d304e;
    cursor: pointer;
    display: flex;
    flex: 0 0 38px;
    font-size: 1.8rem;
    height: 38px;
    justify-content: center;
    line-height: 1;
    padding: 0 0 .15rem;
}

.rs-property-filters__next[hidden] {
    display: none;
}

.rs-filter-dialog {
    background: transparent;
    border: 0;
    height: 100%;
    margin: auto;
    max-height: 100%;
    max-width: 100%;
    padding: 1rem;
    width: 100%;
}

.rs-filter-dialog[open] {
    display: flex;
}

.rs-filter-dialog::backdrop {
    background: rgba(15, 25, 36, .54);
}

.rs-filter-dialog__panel {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(11, 25, 43, .28);
    color: #1d304e;
    display: flex;
    flex-direction: column;
    margin: auto;
    max-height: calc(100dvh - 2rem);
    max-width: 640px;
    overflow: hidden;
    width: 100%;
}

.rs-filter-dialog__header {
    align-items: center;
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    padding: 1rem 1.25rem .5rem;
}

.rs-filter-dialog__header h2 {
    font-size: 1.3rem;
    grid-column: 2;
    margin: 0;
    text-align: center;
}

.rs-filter-dialog__close {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 50%;
    color: #1d304e;
    cursor: pointer;
    display: flex;
    font-size: 0;
    grid-column: 3;
    height: 42px;
    justify-content: center;
    justify-self: end;
    line-height: 1;
    padding: 0;
    position: relative;
    transition: background-color .18s ease;
    width: 42px;
}

.rs-filter-dialog__close::before,
.rs-filter-dialog__close::after {
    background: currentColor;
    content: '';
    height: 2px;
    left: 12px;
    position: absolute;
    top: 20px;
    width: 18px;
}

.rs-filter-dialog__close::before {
    transform: rotate(45deg);
}

.rs-filter-dialog__close::after {
    transform: rotate(-45deg);
}

.rs-filter-dialog__close:hover,
.rs-filter-dialog__close:focus-visible {
    background: #f0f2f4;
    outline: 0;
}

.rs-filter-dialog__body {
    overflow-y: auto;
    padding: .5rem 1.5rem 1.25rem;
}

.rs-filter-dialog__group {
    border: 0;
    margin: 0;
    padding: .5rem 0 1.5rem;
}

.rs-filter-dialog__group + .rs-filter-dialog__group {
    border-top: 1px solid #e1e5e9;
    padding-top: 1.5rem;
}

.rs-filter-dialog__group legend {
    float: none;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: .8rem;
    width: 100%;
}

.rs-filter-dialog__options {
    display: grid;
    gap: .7rem;
}

.rs-filter-dialog__options label {
    align-items: center;
    cursor: pointer;
    display: flex;
    gap: .65rem;
    margin: 0;
}

.rs-filter-dialog__options input {
    accent-color: #1d304e;
    appearance: none;
    border: 2px solid #8b95a3;
    border-radius: 4px;
    flex: 0 0 24px;
    height: 24px;
    margin: 0;
    position: relative;
    width: 24px;
}

.rs-filter-dialog__options input:checked {
    background: #1d304e;
    border-color: #1d304e;
}

.rs-filter-dialog__options input:checked::after {
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    content: "";
    height: 11px;
    left: 7px;
    position: absolute;
    top: 3px;
    transform: rotate(45deg);
    width: 6px;
}

.rs-filter-dialog__footer {
    align-items: center;
    background: #fff;
    border-top: 1px solid #e1e5e9;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding: 1rem 1.5rem;
}

.rs-filter-dialog__reset,
.rs-filter-dialog__apply {
    border-radius: 999px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    padding: .7rem 1.25rem;
}

.rs-filter-dialog__reset {
    background: transparent;
    border: 0;
    color: #1d304e;
    text-decoration: underline;
}

.rs-filter-dialog__apply {
    background: var(--rs-button-color, #003568);
    border: 1px solid var(--rs-button-color, #003568);
    color: #fff;
}

.rs-filter-dialog__apply:hover,
.rs-filter-dialog__apply:focus-visible {
    background: var(--rs-button-color-hover, #00264b);
    border-color: var(--rs-button-color-hover, #00264b);
}

.rs-property-filter-empty {
    color: #596764;
    margin: 1.5rem 0 3rem;
}

.rs-property-cards {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 1.5rem 0 2rem;
}

.rs-property-card {
    background: #fff;
    border: 1px solid #dfe5e4;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease;
}

.rs-property-card:hover {
    box-shadow: 0 12px 30px rgba(18, 43, 38, .1);
    transform: translateY(-2px);
}

.rs-property-card[hidden] {
    display: none;
}

.rs-property-card__image {
    align-items: center;
    aspect-ratio: 4 / 3;
    background: #e8efed;
    color: #003568;
    display: flex;
    font-size: 3rem;
    font-weight: 850;
    justify-content: center;
    overflow: hidden;
}

.rs-property-card__image img {
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
    width: 100%;
}

.rs-property-card:hover .rs-property-card__image img {
    transform: scale(1.035);
}

.rs-property-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 1rem;
}

.rs-property-card h2 {
    font-size: 1.08rem;
    font-weight: 780;
    line-height: 1.3;
    margin: 0;
}

.rs-property-card h2 a {
    color: #17211f;
    text-decoration: none;
}

.rs-property-card h2 a:hover,
.rs-property-card h2 a:focus-visible {
    color: #003568;
}

.rs-property-card__duration {
    color: #596764;
    font-size: .9rem;
    margin: 0;
}

.rs-property-card__footer {
    align-items: flex-end;
    display: flex;
    gap: .75rem;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1.25rem;
}

.rs-property-card__price {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: .22rem;
    margin: 0 0 0 auto;
    padding-top: 0;
    text-align: right;
}

.rs-property-card__price-value {
    align-items: baseline;
    display: flex;
    gap: .35rem;
}

.rs-property-card__price-value > span,
.rs-property-card__price > small {
    color: #687572;
    font-size: .8rem;
}

.rs-property-card__price strong {
    color: #14201e;
    font-size: 1.18rem;
    font-weight: 850;
}

.rs-property-load-more {
    align-items: center;
    display: flex;
    gap: .75rem;
    margin: 2rem 0 3rem;
}

.rs-property-load-more::before,
.rs-property-load-more::after {
    background: #d9eaff;
    content: "";
    flex: 1 1 auto;
    height: 2px;
}

.rs-property-load-more button {
    background: var(--rs-button-color, #003568);
    border: 2px solid var(--rs-button-color, #003568);
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    flex: 0 0 auto;
    font-size: 1rem;
    font-weight: 700;
    padding: .65rem 1.6rem;
}

.rs-property-load-more button:hover,
.rs-property-load-more button:focus-visible {
    background: var(--rs-button-color-hover, #00264b);
    border-color: var(--rs-button-color-hover, #00264b);
}

@media (max-width: 1050px) {
    .rs-property-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .rs-popular-properties > h1 {
        font-size: 32px;
        line-height: 1.08;
        letter-spacing: -.03em;
    }

    .rs-popular-properties__intro {
        font-size: 1rem;
        line-height: 1.45;
    }

    .rs-property-filters {
        margin-left: -1rem;
        margin-right: -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .rs-property-filters__trigger {
        justify-content: center;
        padding: .45rem .6rem;
    }

    .rs-property-filters__trigger-label {
        display: none;
    }

    .rs-filter-dialog {
        padding: .5rem;
    }

    .rs-filter-dialog__panel {
        border-radius: 14px;
        max-height: calc(100dvh - 1rem);
    }

    .rs-filter-dialog__body {
        padding-inline: 1.1rem;
    }

    .rs-filter-dialog__footer {
        gap: .5rem;
        padding: .8rem 1rem;
    }

    .rs-filter-dialog__reset,
    .rs-filter-dialog__apply {
        font-size: .95rem;
        padding: .65rem .9rem;
    }

    .rs-filter-dialog__header h2 {
        font-size: 1.2rem;
    }

    .rs-filter-dialog__group legend {
        font-size: 1.1rem;
    }

    .rs-filter-dialog__options label {
        font-size: .95rem;
    }

    .rs-property-filters__trigger,
    .rs-property-filters__chips button {
        font-size: .9rem;
    }

    .rs-property-cards {
        gap: .9rem;
        grid-template-columns: 1fr;
    }

    .rs-property-card h2 {
        font-size: 1.05rem;
    }

    .rs-property-card__price strong {
        font-size: 1.12rem;
    }
}

@media (max-width: 420px) {
    .rs-popular-properties > h1 {
        font-size: 29px;
    }

    .rs-property-filters__trigger,
    .rs-property-filters__chips button {
        font-size: .86rem;
    }
}
