.filter-title {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 700;
    padding: 22px 0;
    border-top: 1px solid #00000044;
    position: relative;
    cursor: pointer;
}
.filter:first-of-type .filter-title{
    border:0;
}
.filter-title .filter-checked-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 400;
    border-radius: 50%;
    background: black;
    margin: 0px 0px 0px 8px;
}
.filter-title:after {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    position: absolute;
    border-bottom: 2px solid var(--blue);
    border-right: 2px solid var(--blue);
    transform: rotate(135deg);
    right: 6px;
    transition: transform .3s
    ease-in-out;
}
.filter.active .filter-title:after {
    transform: rotate(45deg);
}
.filter-options{
    box-sizing: border-box;
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    transition: 200ms ease-in-out;
}
.filter.active .filter-options{
    grid-template-rows: 1fr;
    opacity: 1;
    visibility: visible;
}
.filter-options2{
    overflow: hidden;
}
.filter-range-reset {
    font-size: 12px;
    text-decoration: underline;
    color: #888;
    text-align: right;
    margin: 0 0 5px;
    cursor: pointer;
}
.filter label, .sales-checkbox label{
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    margin: 0 0 12px;
    padding: 0 0 0 10px;
    box-sizing: border-box;
    cursor: pointer;
}
.filter label.disabled, .sales-checkbox label.disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: default !important;
}
.filter label > div, .sales-checkbox label > div{
    display: flex;
    align-items: center;
    gap: 10px;
}
.filter .checkbox + input, .sales-checkbox .checkbox + input{
    display: none;
}
.filter .checkbox, .sales-checkbox .checkbox{
    width: 20px;
    height: 20px;
    border: 1px solid var(--blue);
    position: relative;
}
.filter label:has(input:checked) .checkbox, .sales-checkbox label:has(input:checked) .checkbox {
    background: var(--blue);
}
.filter label:has(input:checked) .checkbox:after, .sales-checkbox label:has(input:checked) .checkbox:after{
    content: "";
    display: block;
    width: 7px;
    height: 4px;
    border-left: .125rem solid white;
    border-bottom: .125rem solid white;
    top: 6px;
    left: 6px;
    transform: rotate(-45deg);
    position: absolute;
}
.filter-count, .sales-count {
    color: #aaa;
}
.range-slider{
    display: flex;
    align-items: center;
    width: calc(100% - 30px);
    position: relative;
    height: 20px;
    padding: 10px 0;
    margin: 10px auto;
    box-sizing: border-box;
}
.range-inputs{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.range-input-container{
    width: 48%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    border: 1px solid black;
}
input.range-min, input.range-max {
    border:none;
    outline: none;
    padding: 15px 5px;
    margin: 0;
    box-sizing: border-box;
}
.range-unit {
    font-size: 14px;
    font-weight: 600;
}
.slider-bar{
    position: absolute;
    width: 100%;
    height: 2px;
    background: #ccc;
}
.slider-active-bar{
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: black;
}
.slider-min{
    position: absolute;
    left:0;
    background: #000000;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: grab;
}
.slider-max{
    position: absolute;
    left:100%;
    background: #000000;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: grab;
}
.slider-min,
.slider-max {
    transform: translateX(-50%);
    touch-action: none;
}

.runFetch{
    width: 16px;
    animation: runFetch 1s ease-in-out infinite;
}
@keyframes runFetch {
    100%{
        transform: rotate(360deg);
    }
}
.mobil-close-filter{
    display: none;
    position: absolute;
    top: 40px;
    right: 20px;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
}
.mobil-filter {
    display: none;
    color: var(--blue);
    align-items: center;
    margin: 0 0 0 auto;
    gap: 8px;
    font-size: 16px;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
}
.mobil-filter img{
    width: 24px;
}
.mobil-filter-absolute{
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: var(--blue);
    border: none;
    outline: none;
    cursor: pointer;
    z-index: 1;
}
.mobil-filter-absolute img{
    width: 20px;
    filter: invert(1);
}
.mobil-close-filter img{
    width: 30px;
}

@media (max-width: 1024px) {
    .products-section .filters-list {
        display: none;
        width: 100%;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        padding: 20px;
        box-sizing: border-box;
        background: white;
        z-index: 10;
    }

    .products-section .filters {
        max-height: calc(100svh - 93px - 50px);
        overflow-y: auto;
        scrollbar-width: none;
    }

    .filter, .tab {
        flex-shrink: 0;
    }
    .filter-title{
        padding: 28px 25px;
    }
    .mobil-close-filter{
        display: flex;
    }
    .mobil-filter-absolute {
        display: flex;
    }
    .mobil-filter {
        display: flex;
    }
    .range-slider {
        width: calc(100% - 40px);
        height: 50px;
    }
    .slider-min, .slider-max {
        width: 40px;
        height: 40px;
    }
}