.filters {
    width: 100%;
    max-width: 375px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    height: 100vh;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.filters.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.filters__backdrop {
    display: none;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    border: 0;
    background-color: var(--graphitic-200);
    cursor: pointer;
    z-index: 0;
    appearance: none;
}

.filters.active .filters__backdrop {
    display: block;
}

.filters__body {
    position: relative;
    z-index: 1;
    padding: 32px 24px;
    background-color: var(--neutral-white);
    height: 100vh;
    overflow-y: auto;

    transform: translateX(-100%);
    transition: transform 0.25s ease;
}

.filters.active .filters__body {
    transform: translateX(0);
}

@media (max-width: 1023.98px) {
    body.filters-open {
        overflow: hidden;
    }
}

.filters__btn {
    padding: 10px 24px;
    max-width: 100%;
    width: 100%;
}

.filters h2 {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 24px;
    line-height: 117%;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--neutral-graphitic);
}

.filter__title {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 18px;
    line-height: 122%;
    letter-spacing: -0.01em;
    color: var(--neutral-graphitic);
}

.pc-range-slider__wrapper {
    position: relative;
    height: 8px;
    overflow: visible;
}

.filter__slider-control-group {
    margin: 0;
    display: flex;
    gap: 24px;
}

.filter__slider-control-column {
    border: 1px solid var(--graphitic-50);
    border-radius: 100px;
    padding: 6px 16px;
    background: var(--neutral-white);
}

.filter__range-slider {
    margin-top: 24px;
}

.pc-range-slider__control .ui-slider-handle {
    display: block;
    width: 8px;
    height: 8px!important;
    background: var(--primary-emerald);
    cursor: pointer;
    border: unset;
    border-radius: 10px;
    -ms-touch-action: none;
    touch-action: none;
    position: absolute;
    top: -3px;
}

.pc-range-slider__control {
    background: var(--graphitic-50);
    border: unset!important;
    height: 2px!important;
    margin-top: 0!important;
}

.pc-range-slider__control .ui-slider-range {
    background: var(--primary-emerald);
    height: 2px!important;
    transform: translateY(-50%);
}

.filter__slider-control {
    font-weight: 400;
    font-size: 16px;
    line-height: 125%;
    letter-spacing: -0.02em;
    color: var(--neutral-graphitic);
}

.filter__inner {
    margin-top: 24px;
}

.filter__checkgroup-control {
    display: none !important;
}

.filter__checkgroup-check {
    display: block!important;
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid var(--graphitic-200);
    background: rgba(240, 239, 237, .6);
    opacity: .6;
}

.filter__checkgroup-title {
    font-weight: 400;
    font-size: 18px;
    line-height: 1;
    letter-spacing: -0.01em;
    color: var(--neutral-graphitic);
}

.filter__checkgroup-check:before {
    width: 11px;
    height: 8px;
    background: url('../../img/svg/check.svg')no-repeat center top/cover;
}

.filter__checkgroup-control:checked+.filter__checkgroup-check {
    background-color: var(--primary-emerald);
    border: 1px solid var(--primary-emerald);
    opacity: 1;
}

.filter__checkgroup-count {
    color: var(--graphitic-500);
}

.filter__properties-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter__properties-item {
    margin-bottom: 0!important;
}

.filter__checkgroup-link {
    align-items: flex-start;
}

#filter-product {
    margin-top: 12px;
}

.pc-active-filter__list {
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
    row-gap: 5px;
}

.pc-active-filter__list-item {
    margin-bottom: 0;
    border: 1px solid var(--graphitic-50);
    border-radius: 100px;
    padding: 8px 16px;
    background: var(--neutral-gray-01);
}

.pc-active-filter__item-delete {
    border: unset;
    font-size: 0;
    width: 9px;
    height: 9px;
    display: inline-block;
    background-image: url("data:image/svg+xml,%3Csvg width='9' height='9' viewBox='0 0 9 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.5 7.5L1.5 1.5M1.5 7.5L7.5 1.5' stroke='%231B1B1B' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.pc-active-filter__item-link {
    display: flex;
    align-items: center;
    gap: 5px;
}

@media (min-width: 1024px) {
    .filters {
        max-width: 315px;
        position: relative;
        height: auto;
        z-index: 2;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .filters.active .filters__backdrop {
        display: none;
    }

    .filters__body {
        border-radius: 20px;
        padding: 32px 24px;
        background: var(--green-light-500);
        width: 100%;
        height: max-content;
        position: sticky;
        top: 175px;
        transform: translateX(0);
    }

    .filters__btn {
        display: none;
    }
}