.irs--flat .irs-bar, .irs--flat .irs-from, .irs--flat .irs-single, .irs--flat .irs-to, .irs--flat .irs-handle > i:first-child, .irs--flat .irs-handle.state_hover > i:first-child, .irs--flat .irs-handle:hover > i:first-child {
    background: black;
}

.irs--flat .irs-from:before, .irs--flat .irs-single:before, .irs--flat .irs-to:before {
    border-top-color: black;
}

.filters-toggle {
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: unset;
    float: right;
    border-radius: 50px;
    transition: ease-in-out 0.2s;
}

.filters-offcanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 500px;
    height: 100%;
    background: #fff;
    z-index: 10000;
    transform: translateX(-100%);
    transition: transform 0.4s ease-in-out;
    overflow-y: auto;
}

.filters-offcanvas.open {
    transform: translateX(0);
}


.filters-close {
    background: none;
    border: none;
    font-size: 31px;
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    color: #000;
    box-shadow: none;
    padding: 10px;
    line-height: 1;
}

.filters-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: none;
}

.filters-overlay.active {
    display: block;
}

.filters-toggle {
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: unset;
    float: right;
    border-radius: 50px;
    transition: ease-in-out 0.2s;
}

.filters-offcanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 500px;
    height: 100%;
    background: #fff;
    z-index: 10000;
    transform: translateX(-100%);
    transition: transform 0.4s ease-in-out;
    overflow-y: auto;
}

.filters-offcanvas.open {
    transform: translateX(0);
}

.filters-offcanvas-inner {
    padding: 10% 20px 20px;
    position: relative;
}
.filters-close {
    background: none;
    border: none;
    font-size: 31px;
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    color: #000;
    box-shadow: none;
    padding: 10px;
    line-height: 1;
}

.filters-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: none;
}

.filters-overlay.active {
    display: block;
}


.bapf_sfilter.bapf_button_dark_rounded .bapf_button {
    max-width: 100%;
}


.bapf_sfilter .bapf_button {
    width: 100%;
}

.bapf_sfilter.bapf_ckbox input[type=checkbox], .bapf_sfilter.bapf_ckbox label, .bapf_sfilter.bapf_ckbox label+span, .bapf_sfilter.bapf_ckbox label>span{
    background: transparent !important;
}