/* Replacement filter stylesheet. Load after Bootstrap >=5.0 and noUiSlider CSS. */
#eshop-filters {
    --bs-offcanvas-width: 330px;
    width: 100%;
    max-width: 350px;
    color: #002e5d;
    background: #fff;
}

#eshop-filters .filter-h {
    margin: 0;
    padding: 18px;
    background: #f5f7f9;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
}

#eshop-filters .filter-h-mobile {
    align-items: center;
    justify-content: space-between;
}

#eshop-filters .filter-menu {
    padding: 0 15px;
}

#eshop-filters .filter-accordion {
    margin: 20px 0;
}

#eshop-filters .filter-menu-dropdown {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 15px 12px 50px;
    border: 0;
    background: #f5f7f9;
    color: inherit;
    text-align: left;
}

#eshop-filters .filter-name {
    font-size: 15px;
    font-weight: 600;
}

#eshop-filters .filter-inner {
    padding: 14px 10px 0;
}

#eshop-filters .dropdown-icon {
    display: inline-block;
    transition: transform .2s;
}

#eshop-filters [aria-expanded="true"] > .dropdown-icon {
    transform: rotate(180deg);
}

#eshop-filters .filter-menu-dropdown .dropdown-icon {
    font-size: 12px;
}

#eshop-filters .filter-collapse-more {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    text-decoration: underline;
    text-align: left;
    margin-top: 8px;
}

#eshop-filters .less-txt {
    display: none;
}

#eshop-filters .filter-collapse-more[aria-expanded="true"] .more-txt {
    display: none;
}

#eshop-filters .filter-collapse-more[aria-expanded="true"] .less-txt {
    display: inline;
}

#eshop-filters .container-checkbox {
    display: block;
    position: relative;
    padding-left: 35px;
    min-height: 25px;
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 25px;
    cursor: pointer;
    overflow-wrap: anywhere;
}

#eshop-filters .container-checkbox input {
    position: absolute;
    opacity: 0;
    width: 25px;
    height: 25px;
    left: 0;
    top: 0;
}

#eshop-filters .checkmark {
    position: absolute;
    left: 0;
    top: 0;
    width: 25px;
    height: 25px;
    border: 1px solid #002e5d87;
    background: white;
    pointer-events: none;
}

#eshop-filters .container-checkbox input:checked ~ .checkmark {
    background: #002e5d;
}

#eshop-filters .container-checkbox:hover input:not(:checked) ~ .checkmark.blue {
    background-color: #E8EDF1;
}

#eshop-filters .container-checkbox input:checked ~ .checkmark::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 4px;
    width: 7px;
    height: 12px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

#eshop-filters .search-input-wrap {
    position: relative;
}

#eshop-filters .search-input {
    width: 100%;
    border: 0;
    border-radius: 30px;
    padding: 10px 35px 10px 40px;
    background: #f5f7f9;
    color: inherit;
    font-size: 14px;
}

#eshop-filters .search-input::placeholder {
    color: #758399;
}

#eshop-filters .search-input-lupa {
    position: absolute;
    left: 14px;
    top: 13px;
}

#eshop-filters .search-input-delete {
    position: absolute;
    right: 10px;
    top: 10px;
    border: 0;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    line-height: 20px;
    padding: 0;
    color: inherit;
    background: white;
}

#eshop-filters .slider-wrapper {
    padding-top: 8px;
}

#eshop-filters .inputs-price-wrap {
    display: flex;
    gap: 10px;
    align-items: center;
}

#eshop-filters .inputs-price-wrap input {
    width: 85px;
    min-width: 0;
    max-width: 40%;
    padding: 6px 0;
    border: 1px solid #002e5d;
    border-radius: 0;
    color: inherit;
    text-align: center;
}

#eshop-filters .noUi-horizontal {
    height: 5px;
    width: calc(100% - 20px);
    max-width: 210px;
    margin: 0 10px 25px;
}

#eshop-filters .noUi-target {
    border: 0;
    box-shadow: none;
    background: #e8edf1;
}

#eshop-filters .noUi-connect {
    background: #002e5d;
}

#eshop-filters .noUi-horizontal .noUi-handle {
    width: 20px;
    height: 20px;
    right: -10px;
    top: -7px;
    border: 2px solid #dc0060;
    border-radius: 50%;
    background: #fff;
    box-shadow: none;
}

#eshop-filters .noUi-handle::before, #eshop-filters .noUi-handle::after {
    content: none;
}

#eshop-filters .filter-submit {
    margin: 40px 0 20px;
    border-radius: 0;
    border-color: #002e5d;
}

.eshop-filter-toggle {
    position: fixed;
    bottom: 25px;
    left: 20px;
    z-index: 1030;
    width: 80px;
    height: 80px;
    border: 0;
    border-radius: 50%;
    background: #f5f7f9;
    color: #002e5d;
    box-shadow: 0 0 10px #0005;
}

.eshop-filter-toggle span {
    display: block;
    margin-top: 5px;
}

.eshop-products-layout > #eshop_products {
    min-width: 0;
}

@media (min-width: 992px) {
    #eshop-filters {
        position: static;
        display: block;
        height: auto;
        visibility: visible !important;
        transform: none !important;
        z-index: auto;
        border: 1px solid #e1e7ec;
        transition: none;
    }

    #eshop-filters .offcanvas-body {
        display: block;
        padding: 0;
    }
}

@media (max-width: 991.98px) {
    #eshop-filters {
        width: 330px;
        max-width: 100vw;
    }

    #eshop-filters .offcanvas-body {
        padding: 0;
        overflow-y: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    #eshop-filters .dropdown-icon {
        transition: none;
    }
}


/* Flag sprites must not increase the original 25px checkbox row height. */
#eshop-filters [data-filter-name="flag"] .container-checkbox {
    display: flex;
    align-items: center;
    height: 25px;
    min-height: 25px;
    line-height: normal;
    margin-bottom: 10px;
}

#eshop-filters [data-filter-name="flag"] .container-checkbox .sprite-m {
    flex-shrink: 0;
}
