

.realty_catalog_tags {
    display: block;
    overflow-x: auto;
    overflow-y: hidden;
    margin-top: -2px;
    margin-bottom: 20px;
    padding-top: 2px;
    padding-bottom: 12px;
    scroll-padding-left: 32px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.realty_catalog_tags::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.realty_catalog_tag_row {
    display: flex;
    align-items: center;
    gap: 6px;
    width: max-content;
    min-width: max-content;
}

.realty_catalog_tag_row + .realty_catalog_tag_row {
    margin-top: 6px;
}

.realty_catalog_tag,
.realty_catalog_tag:hover,
.realty_catalog_tag:focus,
.realty_catalog_tag:active {
    display: grid;
    grid-template-columns: 50px max-content;
    align-items: center;
    gap: 9px;
    width: max-content;
    min-width: 0;
    min-height: 50px;
    height: 50px;
    padding: 0 14px 0 0;
    border: .5px solid #ccc;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(38, 72, 54, .1);
    color: #263a2f;
    font-family: "Roboto Condensed";
    font-size: 14px;
    text-decoration: none;
    transition: background .2s ease, box-shadow .2s ease, color .2s ease, transform .2s ease;
}

.realty_catalog_tag_icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 100%;
    border-radius: 10px 0 0 10px;
    background: linear-gradient(135deg, #eef7e2, #f8ecd7);
    overflow: hidden;
}

.realty_catalog_tag_icon IMG {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.realty_catalog_tag_text {
    display: block;
    white-space: nowrap;
}

.realty_catalog_tag:hover,
.realty_catalog_tag:focus,
.realty_catalog_tag:active {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(229, 245, 235, .96)),
        #f4fbf6;
    box-shadow: 0 8px 20px rgba(35, 72, 50, .15);
    color: #153d29;
    transform: translateY(-1px);
}

.realty-overview-page__tags {
    margin-top: 0;
}

.realty_catalog_tag.is-active,
.realty_catalog_tag.is-active:hover,
.realty_catalog_tag.is-active:focus,
.realty_catalog_tag.is-active:active {
    background:
        linear-gradient(135deg, rgba(54, 143, 194, .98), rgba(22, 134, 58, .9)),
        #368fc2;
    box-shadow: 0 8px 20px rgba(22, 134, 58, .2);
    color: #fff;
}

.realty_catalog_tag.is-active .realty_catalog_tag_icon {
    background: rgba(255, 255, 255, .92);
}

.realty_catalog_tags.realty_catalog_tags--dropdown {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    overflow: visible;
    margin: 0;
    padding: 0;
    scroll-padding-left: 0;
}

.realty_catalog_tags_standalone {
    margin-bottom: 20px;
}

.realty_catalog_tags__label {
    color: #53605a;
    font-family: "Roboto Condensed", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.2;
    white-space: nowrap;
}

.realty_catalog_tags__button {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    height: 38px;
    width: auto;
    min-width: 0;
    max-width: 100%;
    gap: 10px;
    padding: 0 34px 0 0;
    border: 1px solid #cfdcd3;
    border-radius: 8px;
    background: #f7fbf8;
    color: #1f372b;
    font-family: "Roboto Condensed", Arial, sans-serif;
    font-size: 16px;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.realty_catalog_tags__button::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 12px;
    width: 12px;
    height: 8px;
    background-color: #16863a;
    transform: translateY(-50%);
    transition: transform .18s ease;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='black' d='M1.4.7 6 5.3 10.6.7 12 2.1l-6 6-6-6L1.4.7Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='black' d='M1.4.7 6 5.3 10.6.7 12 2.1l-6 6-6-6L1.4.7Z'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.realty_catalog_tags.is-open .realty_catalog_tags__button::after {
    transform: translateY(-50%) rotate(180deg);
}

.realty_catalog_tags__button:hover,
.realty_catalog_tags__button:focus {
    border-color: #16863a;
    background: #fff;
    outline: none;
}

.realty_catalog_tags__button:focus-visible {
    box-shadow: 0 0 0 3px rgba(22, 134, 58, .12);
}

.realty_catalog_tags__button-text {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}

.realty_catalog_tags__button-icon {
    display: inline-flex;
    flex: 0 0 38px;
    width: 38px;
    align-self: stretch;
    align-items: center;
    justify-content: center;
    border-radius: 7px 0 0 7px;
    background: linear-gradient(135deg, #eef7e2, #f8ecd7);
    overflow: hidden;
}

.realty_catalog_tags__button-icon IMG {
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.realty_catalog_tags__menu {
    position: absolute;
    top: calc(100% + 7px);
    right: 0;
    z-index: 2700;
    width: 390px;
    max-width: min(390px, calc(100vw - 32px));
    max-height: min(420px, calc(100vh - 180px));
    box-sizing: border-box;
    padding: 6px 18px 6px 6px;
    border: 1px solid #dbe8df;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(28, 47, 56, .16);
    overflow-y: scroll;
    overflow-x: hidden;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: #9eb2a6 #eef4f0;
}

@media (min-width: 993px) {
    .realty_catalog_tags_standalone .realty_catalog_tags__menu {
        right: auto;
        left: 0;
    }}

.realty_catalog_tags:not(.is-open) .realty_catalog_tags__menu {
    display: none;
}

.realty_catalog_tags__menu::after,
.realty_catalog_tags__menu::before {
    content: "";
    position: absolute;
    right: 6px;
    z-index: 1;
    width: 6px;
    border-radius: 999px;
    pointer-events: none;
}

.realty_catalog_tags__menu::after {
    top: 8px;
    bottom: 8px;
    background: #eef4f0;
}

.realty_catalog_tags__menu::before {
    top: 14px;
    height: 64px;
    background: #9eb2a6;
}

.realty_catalog_tags__menu::-webkit-scrollbar {
    width: 10px;
}

.realty_catalog_tags__menu::-webkit-scrollbar-track {
    border-radius: 999px;
    background: #eef4f0;
}

.realty_catalog_tags__menu::-webkit-scrollbar-thumb {
    border: 2px solid #eef4f0;
    border-radius: 999px;
    background: #9eb2a6;
}

.realty_catalog_tags__menu::-webkit-scrollbar-thumb:hover {
    background: #779581;
}

.realty_catalog_tags__menu .realty_catalog_tag,
.realty_catalog_tags__menu .realty_catalog_tag:hover,
.realty_catalog_tags__menu .realty_catalog_tag:focus,
.realty_catalog_tags__menu .realty_catalog_tag:active {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 52px;
    height: auto;
    margin: 0;
    padding: 0 10px 0 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    box-shadow: none;
    color: #263a2f;
    white-space: normal;
    transform: none;
}

.realty_catalog_tags__menu .realty_catalog_tag + .realty_catalog_tag {
    margin-top: 2px;
    background: #fcfcfc;
}

.realty_catalog_tags__menu .realty_catalog_tag:hover,
.realty_catalog_tags__menu .realty_catalog_tag:focus {
    background: #eef6f0;
    color: #16863a;
    outline: none;
}

.realty_catalog_tags__menu .realty_catalog_tag:focus-visible {
    box-shadow: 0 0 0 3px rgba(22, 134, 58, .12);
}

.realty_catalog_tags__menu .realty_catalog_tag.is-active,
.realty_catalog_tags__menu .realty_catalog_tag.is-active:hover,
.realty_catalog_tags__menu .realty_catalog_tag.is-active:focus,
.realty_catalog_tags__menu .realty_catalog_tag.is-active:active {
    background: #16863a;
    color: #fff;
}

.realty_catalog_tags__menu .realty_catalog_tag_icon {
    width: 42px;
    height: 100%;
    min-height: 40px;
    border-radius: 8px 0px 0px 8px;
}

.realty_catalog_tags__menu .realty_catalog_tag_icon IMG {
    width: 34px;
    height: 34px;
}

.realty_catalog_tags__menu .realty_catalog_tag_text {
    overflow-wrap: anywhere;
    white-space: normal;
    line-height: 1.15;
}

@media (max-width: 1320px) {
.realty_catalog_tags__label {
        display: none;
    }}

@media (max-width: 768px) {

    .adaptive_outer_full .realty_catalog_page .realty_catalog_tags {
        padding-left: 15px;
        padding-right: 15px;
    }

    .realty_catalog_tags {
        margin-bottom: 18px;
        padding-top: 1px;
        padding-bottom: 11px;
        scroll-padding-left: 15px;
    }

    .adaptive_outer_full .realty-overview-page .realty_catalog_tags {
        padding-left: 15px;
        padding-right: 15px;
    }

    .realty_catalog_tag,
    .realty_catalog_tag:hover,
    .realty_catalog_tag:focus,
    .realty_catalog_tag:active {
        grid-template-columns: 50px max-content;
        gap: 8px;
        min-height: 48px;
        height: 48px;
        padding: 0 12px 0 0;
        border-radius: 10px;
        font-size: 13px;
    }

    .realty_catalog_tag_icon {
        width: 50px;
        height: 100%;
        border-radius: 10px 0 0 10px;
    }

    .realty_catalog_tag_icon IMG {
        width: 37px;
        height: 37px;
    }

    .adaptive_outer_full .realty_catalog_page .realty_catalog_tags.realty_catalog_tags--dropdown,
    .realty_catalog_tags.realty_catalog_tags--dropdown {
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 6px;
        width: 100%;
        max-width: calc(100vw - 30px);
        padding-left: 0;
        padding-right: 0;
    }

    .realty_catalog_tags__menu {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        max-width: none;
        max-height: 320px;
        margin-top: 1px;
    }

    .realty_catalog_tags__button {
        width: 100%;
        padding-right: 30px;
        padding-left: 0;
    }

    .realty_catalog_tags__menu .realty_catalog_tag,
    .realty_catalog_tags__menu .realty_catalog_tag:hover,
    .realty_catalog_tags__menu .realty_catalog_tag:focus,
    .realty_catalog_tags__menu .realty_catalog_tag:active {
        grid-template-columns: 52px minmax(0, 1fr);
        min-height: 52px;
        height: auto;
        padding: 0 10px 0 0;
        border-radius: 8px;
        font-size: 14px;
    }

    .realty_catalog_tags__menu .realty_catalog_tag_icon {
        width: 52px;
        height: 100%;
        min-height: 52px;
        border-radius: 8px 0 0 8px;
    }

    .realty_catalog_tags__menu .realty_catalog_tag_icon IMG {
        width: 34px;
        height: 34px;
    }
.realty_catalog_tags.realty_catalog_tags--dropdown {
        grid-column: 1 / -1;
    }}

@media (max-width: 992px) {
.adaptive_outer_full .realty_catalog_page .realty_catalog_tags.realty_catalog_tags--dropdown,
.realty_catalog_tags.realty_catalog_tags--dropdown {
        display: inline-flex;
        align-items: center;
        flex-direction: row;
        gap: 0;
        width: auto;
        max-width: none;
        padding-left: 0;
        padding-right: 0;
    }

    .realty_catalog_tags__button {
        width: 44px;
        min-width: 44px;
        height: 38px;
        gap: 0;
        padding: 0;
    }

    .realty_catalog_tags__button::after,
    .realty_catalog_tags__button-text {
        display: none;
    }

    .realty_catalog_tags__button-icon {
        flex: 0 0 44px;
        width: 44px;
        border-radius: 7px;
    }

    .realty_catalog_tags__button-icon IMG {
        width: 28px;
        height: 28px;
    }

    .realty_catalog_tags__menu {
        position: fixed;
        top: var(--realty-catalog-popover-top, 74px);
        right: 10px;
        left: 10px;
        width: auto;
        max-width: none;
        max-height: calc(100vh - var(--realty-catalog-popover-top, 74px) - 10px);
        margin-top: 0;
        z-index: 3200;
    }}

@media (max-width: 420px) {
.realty_catalog_tags__button {
        flex: 0 0 40px;
        width: 40px;
        min-width: 40px;
        max-width: 40px;
    }

    .realty_catalog_tags__button-icon {
        flex-basis: 40px;
        width: 40px;
    }}

@media (max-width: 992px) {
    .adaptive_outer_full .realty_catalog_page .realty_catalog_tags_standalone {
        padding-left: 15px;
        padding-right: 15px;
    }

    .adaptive_outer_full .realty_catalog_page .realty_catalog_tags_standalone .realty_catalog_tags.realty_catalog_tags--dropdown {
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 6px;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
    }

    .realty_catalog_tags_standalone .realty_catalog_tags__button {
        flex: 0 0 44px;
        width: 100%;
        min-width: 0;
        max-width: none;
        height: 44px;
        gap: 10px;
        padding: 0 34px 0 0;
    }

    .realty_catalog_tags_standalone .realty_catalog_tags__button::after,
    .realty_catalog_tags_standalone .realty_catalog_tags__button-text {
        display: block;
    }

    .realty_catalog_tags_standalone .realty_catalog_tags__button-icon {
        flex: 0 0 44px;
        width: 44px;
        border-radius: 7px 0 0 7px;
    }

    .realty_catalog_tags_standalone .realty_catalog_tags__menu {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        width: 100%;
        max-width: none;
        max-height: 320px;
        margin-top: 1px;
    }}
