/**
    Filters 
    ---
*/
.filters-aside {
    max-width: 320px;
    }
.sticky-panel {
    height: 100dvh;
    overflow: auto;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    }
.filter-groups {
    display: flex;
    flex-direction: column;
    gap: 32px;
    }
.filter-group__heading {
    margin-bottom: .5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    }

/**
    Filter buttons
    ---
*/
.filter-button {
    color: /*style.aside_menu_link_color(*/#b5b5b5/*)*/;
    cursor: pointer;
    display: inline-flex;
    min-height: 48px;
    border: 1px solid var(--stroke);
    border-radius: 3px;
    background: #fff;
    padding: 0;
    transition: border-color .3s ease-in-out,background-color .3s ease-in-out,color .3s ease-in-out;
    justify-content: center;
    align-items: center;
    }
.filter-button:hover {
    border-color: var(--stroke-hovered);
    color: inherit;
    }
.filter-button > .label {
    display: inline-flex;
    padding: 0 .5rem;
    }
.filter-checkbox-group {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    }
.filter-checkbox-group.is-columns .filter-checkbox {
    width: calc((100% - (.5rem * (var(--columns) - 1)))/ var(--columns));
    }
.filter-checkbox-group.is-columns .filter-checkbox .filter-button {
    width: 100%;
    }
.filter-checkbox {
    display: inline-flex;
    position: relative;
    z-index: 0;
    margin: 0;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
    }
.filter-checkbox > input {
    z-index: 1;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    cursor: pointer;
    opacity: 0;
    }
.filter-checkbox > input:checked + .filter-button {
    border-color: var(--stroke-selected);
    background: var(--fill-selected);
    color: var(--text-selected);
    }
.filter-checkbox:hover {
    z-index: 99;
    }
.filter-checkbox:hover .filter-button {
    border-color: var(--stroke-hovered);
    color: inherit;
    }
span.filter-checkbox__label {
    display: inline-flex;
    text-transform: uppercase;
    font-size: .85em !important;
    font-weight: 600;
    padding: .5rem 0;
    }
@media all and (min-width: 960px) {
span.filter-checkbox__label {
    padding: .5rem;
    border: 1px solid var(--stroke);
    border-radius: 3px;
    background: #f7f7f7;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scale(.7);
    transition: transform .3s ease-in-out,opacity .3s ease-in-out;
    opacity: 0;
    }
.filter-checkbox:hover span.filter-checkbox__label {
    transform: translateX(-50%) translateY(-80%) scale(1);
    z-index: 99;
    opacity: 1;
    }
}

/*
    Range Filters
*/
.range-fields {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 1rem;
    }
.range-fields__min,
.range-fields__to,
.range-fields__max {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
    }
.range-fields__to {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    }
.range-slider {
    margin: 1rem .5rem;
    }
