.full-catalog__facets {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    min-width: 0;
    padding: 4px 0 2px;
    margin: 0;
    border: 0;
}

.full-catalog-facet {
    position: relative;
    display: inline-flex;
    min-width: 0;
    cursor: pointer;
}

.full-catalog-facet input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.full-catalog-facet span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 17px;
    border: 1px solid rgba(2, 36, 65, .18);
    border-radius: 20px;
    background: #fff;
    color: var(--vida-facet-text, #022441);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: 0;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.full-catalog-facet:hover span {
    border-color: #0f654c;
}

.full-catalog-facet input:focus-visible + span {
    outline: 2px solid #e7bc85;
    outline-offset: 2px;
}

.full-catalog-facet input:checked + span {
    border-color: #0f654c;
    background: #0f654c;
    color: #fff;
    box-shadow: 0 8px 20px rgba(15, 101, 76, .16);
}

.full-catalog__advanced-toggle {
    display: none;
}

@media (max-width: 720px) {
    .full-catalog__facets {
        flex-wrap: nowrap;
        width: 100%;
        margin-inline: 0;
        padding: 4px 0 10px;
        overflow-x: auto;
        scrollbar-width: none;
        scroll-snap-type: x proximity;
    }

    .full-catalog__facets::-webkit-scrollbar {
        display: none;
    }

    .full-catalog-facet {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .full-catalog-facet span {
        min-height: 40px;
        padding-inline: 16px;
    }
}

@media (max-width: 760px) {
    .full-catalog__filters {
        gap: 12px;
        padding: 18px;
    }

    .full-catalog__filters > .full-catalog-filter--rooms {
        order: 1;
    }

    .full-catalog__filters > .full-catalog-filter--price {
        order: 2;
    }

    .full-catalog__filters > .full-catalog__advanced-toggle {
        order: 3;
    }

    .full-catalog__filters > [data-mobile-advanced-filter] {
        order: 4;
    }

    .full-catalog__filters > .full-catalog__filter-actions {
        order: 5;
    }

    .full-catalog__filters .full-catalog-filter--range > div {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .full-catalog__filters .full-catalog-filter--range input {
        min-width: 0;
        padding-inline: 8px;
    }

    .full-catalog__advanced-toggle {
        width: 100%;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 0 15px;
        color: #022441;
        background: #f7faf8;
        border: 1px solid rgba(2, 36, 65, .16);
        border-radius: 12px;
        font-size: 14px;
        font-weight: 700;
        line-height: 1;
        cursor: pointer;
        transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
    }

    .full-catalog__advanced-toggle:hover {
        background: #f1f7f4;
        border-color: rgba(11, 91, 67, .42);
    }

    .full-catalog__advanced-toggle:focus-visible {
        outline: 0;
        border-color: #0b5b43;
        box-shadow: 0 0 0 3px rgba(11, 91, 67, .12);
    }

    .full-catalog__advanced-toggle-main {
        min-width: 0;
        display: flex;
        align-items: center;
        gap: 9px;
    }

    .full-catalog__advanced-toggle-icon {
        width: 20px;
        height: 20px;
        flex: 0 0 20px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .full-catalog__advanced-count {
        min-width: 22px;
        height: 22px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 6px;
        color: #fff;
        background: #0b5b43;
        border-radius: 999px;
        font-size: 12px;
        font-weight: 700;
        line-height: 1;
    }

    .full-catalog__advanced-count[hidden] {
        display: none;
    }

    .full-catalog__advanced-chevron {
        width: 12px;
        height: 8px;
        flex: 0 0 12px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.5;
        stroke-linecap: round;
        stroke-linejoin: round;
        transition: transform .18s ease;
    }

    .full-catalog__filters.is-mobile-advanced-open .full-catalog__advanced-chevron {
        transform: rotate(180deg);
    }

    .full-catalog__filters.is-mobile-filters-enhanced [data-mobile-advanced-filter][hidden] {
        display: none !important;
    }

    .full-catalog__filters.is-mobile-advanced-open #catalog-house-filter {
        margin-top: 2px;
        padding-top: 14px;
        border-top: 1px solid rgba(2, 36, 65, .1);
    }

    .full-catalog__filters .full-catalog__filter-actions {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .full-catalog__filters .full-catalog__filter-actions .button {
        width: auto;
        min-width: 0;
        flex: 1 1 auto;
        padding-inline: 13px;
        white-space: nowrap;
    }

    .full-catalog__filters .full-catalog__reset {
        flex: 0 0 auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .full-catalog__advanced-toggle,
    .full-catalog__advanced-chevron {
        transition: none;
    }
}
