button.open-filters {
    font-size: 16px;
    color: var(--black-color);
    background-color: var(--white-color);
    padding: 15px 20px;
    border-radius: 4px;
    font-weight: bold;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    display: none;
}

button.open-filters svg {
    width: 19px;
}

.facets {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.facets .facet {
    background-color: #fff;
    border-radius: 6px;
}

.facets .facet-inner {
    padding: 15px;
}

.facets .facetwp-expand {
    display: none;
}

.facets .facet h3 {
    font-size: 20px;
    margin: 0;
    padding: 15px;
    border-bottom: 1px solid #E2E2E2;
    pointer-events: none;
}

.facets .facet h3 .back {
    display: none;
}

.facets .facetwp-facet {
    max-height: 350px;
    padding-right: 10px;
    margin-bottom: 0;
    overflow-y: auto;
    overflow-x: hidden;
    hyphens: auto;
}

.facets .facetwp-facet>.facetwp-checkbox {
    font-weight: 600;
}

.facets .facetwp-facet>.facetwp-depth:after {
    content: '';
    display: block;
    height: 1px;
    width: calc(100% + 20px);
    background-color: #E2E2E2;
    position: relative;
    left: -20px;
}

.facets .facetwp-facet::-webkit-scrollbar {
    width: 7px;
}

.facets .facetwp-facet::-webkit-scrollbar-track {
    background: var(--site-background-color);
}

.facets .facetwp-facet::-webkit-scrollbar-thumb {
    background: #E2E7EA;
    border-radius: 5px
}

.facets .facetwp-facet::-webkit-scrollbar-thumb:hover {
    background: #cfd5d9;
}

.facets .facetwp-checkbox {
    padding-top: 5px;
    padding-bottom: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
    padding-left: 30px;
    font-size: 14px;
}

button.facetwp-load-more {
    background-color: var(--black-color);
    color: #fff;
}

button.facetwp-load-more:hover {
    background-color: var(--blue-button-hover);
}

.facets .facetwp-facet-prisniveau .facetwp-checkbox.disabled {
    display: none;
}

.facets .facetwp-checkbox {
    background: url(../../images/checkbox.svg) 0 50% no-repeat;
    background-size: 20px;
}

.facets .facetwp-checkbox.checked {
    background-image: url(../../images/checkbox-checked.svg);
    background-size: 20px;
}

.archive .webko-customer-reviews {
    margin-top: 40px;
}

.products-wrap .facetwp-facet-products_pagination {
    margin-top: 30px;
    margin-bottom: 0;
    text-align: center;
}

.facetwp-depth.visible {
    color: var(--overlay-60);
}

.woocommerce-sidebar-overlay {
    display: none;
}

.sidebar-actions {
    display: none;
}

.facets .facet h3 small {
    display: none;
}

.woocommerce-sidebar.mobile-popup button.button {
    color: var(--black-color);
}

@media (max-width:900px) {
    button.open-filters {
        display: flex;
    }

    .woocommerce-sidebar {
        -webkit-overflow-scrolling: touch;
        overflow: auto;
        position: fixed;
        left: 0;
        top: 0;
        width: 90%;
        height: 100%;
        z-index: 9999;
        background-color: #fff;
        overflow-y: auto;
        transform: translate3d(-100%, 0, 0);
        transition: transform 0.3s ease-in-out;
        display: flex;
        flex-direction: column;
    }

    .woocommerce-sidebar.open {
        transform: translate3d(0, 0, 0);
    }

    .facets .facet h3 {
        pointer-events: initial;
        cursor: pointer;
    }

    .facets .facetwp-facet {
        -webkit-overflow-scrolling: touch;
    }

    .facets {
        gap: 0;
    }

    .woocommerce-sidebar-overlay {
        display: none;
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 9998;
        background-color: rgba(0, 0, 0, 0.5);
    }

    .facet-inner {
        display: none;
    }

    .facet.open .facet-inner {
        display: block;
    }

    .facet.open h3 {
        position: sticky;
        top: 0;
        left: 0;
        background-color: #fff;
        z-index: 99999;
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: default;
    }

    .facets .facetwp-facet {
        max-height: none;
    }

    .facets .facet.open h3 .back {
        display: block;
        font-size: 0;
        background-color: transparent;
        border: 0;
        padding: 0;
        background-image: url('../../images/chevron-left.svg');
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        width: 15px;
        height: 15px;
    }

    .facets .facet h3 small {
        display: inline;
    }

    .facets .facet.open h3 small {
        display: none;
    }

    .sidebar-actions {
        position: sticky;
        left: 0;
        bottom: 0;
        margin-top: auto;
        width: 100%;
        padding: 15px;
        background: #fff;
        z-index: 99999;
        display: block;
        border-top: 1px solid #E2E2E2;
    }

    .sidebar-actions button {
        width: 100%;
    }
}