.filters-container form {
    gap: 10px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(5, auto);
    position: relative;
    margin-top: 35px;
}
[data-taxonomy="filter_feedback"] .filter-content,
.clear-selection {
    display: none!important;
}
.reset-filter {
    padding: 6px 8px !important;
    font-size: 12px;
    width: auto;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 4px;
    background: #fff;
    color: #333333;
    border: 1px solid #333;
    transform: translateY(calc(-100% - 10px));
}
.filter-item {
    cursor: pointer;
    user-select: none;
}

.filter-item--custom a {
    height: auto !important;
    pointer-events: none !important;
    padding: 0 !important;
}
.filter-item--custom {
}

#voltage-value,
.voltage-range .range-slider-wrapper {
    display: none;
}

.filters-container .checkbox-field {
    position: relative;
    transform: unset;
    margin-top: 10px;
}

.yith-wcan-filter:nth-of-type(1) {
    grid-area: 1 / 1 / 3 / 2;
}

.yith-wcan-filter:nth-of-type(2) {
    grid-area: 1 / 2 / 3 / 3;
}

.yith-wcan-filter:nth-of-type(3) {
    grid-area: 1 / 3 / 3 / 4;
}

.yith-wcan-filter:nth-of-type(4) {
    grid-area: 1 / 4 / 3 / 5;
}

.yith-wcan-filter:nth-of-type(5) {
    grid-area: 1 / 5 / 6 / 7;
}

.yith-wcan-filter:nth-of-type(6) {
    grid-area: 3 / 3 / 4 / 4;
}

.yith-wcan-filter:nth-of-type(7) {
    grid-area: 3 / 4 / 4 / 5;
}

.yith-wcan-filter:nth-of-type(8) {
    grid-area: 4 / 1 / 6 / 3;
}

.yith-wcan-filter:nth-of-type(9) {
    grid-area: 4 / 3 / 6 / 5;
}

.yith-wcan-filter:nth-of-type(10) {
    grid-area: 3 / 1 / 4 / 3;
}

#page #main .yith-wcan-filter {
    max-width: 100% !important;
}

.yith-wcan-filters .yith-wcan-filter .filter-title {
    font-size: 16px!important;
}

.yith-wcan-filter {
    background: #333333;
    color: #d1d1d1;
    border-bottom: 4px solid #de052d;
    padding: 20px;
    border-radius: 5px;
}
#continues_current-slider {
    z-index: 4;
}
.yith-wcan-filters .yith-wcan-filter .filter-title {
    color: #d1d1d1;
}

.yith-wcan-filters .yith-wcan-filter .filter-items .filter-item.label>a,
.yith-wcan-filters .yith-wcan-filter .filter-items .filter-item.label {
    color: #d1d1d1;
    background-color: transparent;
}

[data-filter-type=range] input[type=range] {
    background-color: transparent;
    margin: 0 !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) translateX(0px);
}

[data-filter-type=range] input[type=checkbox] {
    border-radius: 100%;
    background-color: #d1d1d1 !important;
    border: 0px solid #d1d1d1;
}

[data-filter-type=range] input[type=checkbox]:checked {
    border: 5px solid #d1d1d1;
    background-color: #de052d !important;
}

.range-value {
    transform: translateX(var(--value));
    display: block;
    width: calc(100% - 40px) !important;
}


.range-slider-wrapper {
    background-color: #d1d1d1;
    position: relative;
    border-radius: 10px;
    height: 15px;
    overflow: hidden;
}

.filter-content__percentage {
    pointer-events: none;
    background-color: #de052d;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--value);
}

.filter-label.level-0 {
    justify-content: flex-start !important;
}

.filter-label.level-0 li {
    flex: unset !important
}


.grouped [data-taxonomy="filter_feedback"] .filter-content {
    opacity: 0;
}

.grouped [data-taxonomy="filter_feedback"].active .filter-content {
    opacity: 1;
}
.grouped [data-taxonomy="filter_feedback"].active > .filter-content {
    display: none;
}

.filter-group {
    background: #000;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
}
.filter-group:first-child {
    margin-top: -10px;
}
.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group h4,
.woocommerce-products-header .yith-wcan-filters .yith-wcan-filter .filter-items .filter-item.label .term-label {
    font-size: 12px !important;
    line-height: 1 !important;
}
.filter-group h4 {
    margin-bottom: 5px!important;
}
.woocommerce-products-header .yith-wcan-filters .yith-wcan-filter .filter-items .filter-item.label {
    padding: 6px 8px!important;
    margin: 5px!important;
}

@media (max-width: 1450px) {
    .yith-wcan-filters .yith-wcan-filter .filter-title {
        font-size: 15px !important;
    }
}

@media (max-width: 1250px) {

    h4.filter-title {
        position: relative;
    }

    h4.filter-title::before {
        content: ' ';
        display: block;
        position: absolute;
        top: 0;
        left: -20px;
        height: 100%;
        width: calc(100% + 40px);
    }

    .filters-container form {
        display: block;
    }

    #page #main .yith-wcan-filter {
        margin-bottom: 10px !important;
        max-width: 100% !important;
        width: 100%;
        box-sizing: border-box;
        max-height: 50px;
        padding-top: 0px;
        overflow: hidden;
        cursor: pointer;
        transition: all .5s ease;
    }

    .yith-wcan-filters .yith-wcan-filter .filter-title {
        font-size: 16px !important;
        line-height: 19.5px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-top: 10px;
    }

    .yith-wcan-filters .yith-wcan-filter .filter-title::after {
        content: "+";
    }

    .woocommerce-products-header .yith-wcan-filters .yith-wcan-filter .filter-items .filter-item.label .term-label {
        font-size: 12px !important;
        line-height: 1 !important;
    }
    .filter-group h4 {
        margin-bottom: 5px!important;
    }
    .woocommerce-products-header .yith-wcan-filters .yith-wcan-filter .filter-items .filter-item.label {
        padding: 8px 24px!important;
        margin: 4px!important;
    }

}

@media all and (min-width:768px) {
    .yith-wcan-filter {
        padding: 10px;
    }
}