button.product-filter-trigger {
    border: none;
    padding: 15px 25px 15px 20px;
    border-radius: var(--border-radius-button);
    background-color: var(--color-cta);
    color: var(--color-white);
    cursor: pointer;
    transition: .2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

button.product-filter-trigger:hover {
    background-color: var(--color-primary);
}

button.product-filter-trigger:before {
    content: "";
    margin-right: 5px;
    background-image: url(../../images/icons/filter-white.svg);
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: center;
    width: 20px;
    height: 20px;
    display: inline-flex;
}

@media (max-width:767px) {
    button.product-filter-trigger {
        width: 100%;
    }
}

/* Sidebar */

.product-filter-sidebar {
    min-width: 450px;
}

.facetwp-toggle {
    font-weight: var(--font-weight-bold);
}

.facetwp-toggle:hover {
    text-decoration: underline;
}

.product-filter-sidebar-inner_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    background-color: var(--color-white);
    box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 2;
    margin-bottom: 20px;
}

button.sidebar-close {
    font-size: 0;
    border: none;
    width: 25px;
    height: 25px;
    background-color: transparent;
    background-image: url(../../images/icons/close.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    cursor: pointer;
}

.product-filter-sidebar span.filter-heading {
    font-size: 20px;
    font-weight: 700;
}

.product-filter-sidebar .facet-group {
    padding: 0 30px;
}

.product-filter-sidebar .facet-group:last-of-type {
    margin-bottom: 40px;
}

.product-filter-sidebar .facet-group:not(:last-of-type) {
    margin-bottom: 30px;
}

.product-filter-sidebar .facet-group .facetwp-facet {
    margin: 0;
}

.product-filter-sidebar h3.facet-group__title {
    border-bottom: solid 1px var(--color-border-colored);
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.facetwp-checkbox {
    background: none !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    margin-bottom: 6px !important;
}

.facetwp-checkbox.checked {
    font-weight: 700;
}

.facetwp-checkbox:before {
    content: "";
    margin-right: 5px;
    border: solid 1px var(--color-grey-dark);
    width: 21px;
    height: 21px;
    display: inline-flex;
    border-radius: var(--border-radius-checkbox);
    background-color: white;
}

.facetwp-checkbox.checked:before {
    background-image: url(../../images/icons/check-white.svg);
    background-repeat: no-repeat;
    background-size: 15px;
    background-position: center;
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.noUi-connect {
    background: #BBB19B !important;
}

.noUi-target {
    background: #EFEBE4 !important;
}

.noUi-horizontal .noUi-handle {
    border-radius: 100px;
    background: var(--color-primary);
    background-image: url(/wp-content/themes/webko-b2b/assets/images/icons/drag-icon-white.svg);
    background-size: 7px;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    width: 25px !important;
    height: 25px !important;
    box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.1);
    top: -8px !important;
}

.noUi-horizontal {
    height: 10px !important;
}

.facet-group__title.has-tilbud::after {
    content: "Tilbud";
    color: var(--color-white);
    background-color: var(--color-sale);
    padding: 2px 5px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    line-height: 100%;
    margin-left: 8px;
}

.facetwp-facet.facetwp-facet-rental_only,
.facetwp-facet.facetwp-facet-buy_only {
    margin: 0;
    height: 100%;
}

.shop-loop-meta .product-type-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 100%;
    margin-left: auto;
}

.product-type-filter .facetwp-facet.facetwp-facet-rental_only .facetwp-checkbox,
.product-type-filter .facetwp-facet.facetwp-facet-buy_only .facetwp-checkbox {
    margin: 0 !important;
    background-color: var(--color-secondary-background) !important;
    height: 100%;
    padding: 10px 15px !important;
    border-radius: var(--border-radius-small);
    color: var(--color-text);
    font-weight: var(--font-weight-semibold);
}

.facetwp-facet.facetwp-facet-rental_only .facetwp-checkbox span.facetwp-counter,
.facetwp-facet.facetwp-facet-buy_only .facetwp-checkbox span.facetwp-counter {
    display: none;
}

@media (max-width:767px) {
    .product-filter-sidebar .facet-group {
        padding: 0 20px;
    }

    .product-filter-sidebar-inner_heading {
        padding: 20px;
    }

    .product-filter-sidebar {
        min-width: 95vw;
    }
}