li[data-term-id] {
    list-style: none;
    display: inline-block;
    margin: 0;
}

.wpfCheckbox {
    display: none !important;
}

.wpfFilterContent{
    font-weight: 700;
}

.wpfLiLabel {
    cursor: pointer;
    display: block;
}

.wpfDisplay .wpfValue {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    min-height: 45px;
    border: 1px solid #333;
    color: #333;
    padding: 0 8px !important;
    transition: all 0.2s ease-in-out;
    font-size: 14px;
}

li[data-term-id] input[type="checkbox"]:checked ~ .wpfDisplay .wpfValue,
li[data-term-id] input[type="checkbox"]:checked + label + .wpfDisplay .wpfValue {
    background-color: #333;
    color: #fff;
}

.wpfCheckboxHier ul{
    gap:10px;
}

.wpfCheckboxHier ul > li{
    padding: 0px !important;
}

.wpfLiLabel:hover .wpfValue {
    background-color: #f0f0f0;
}

.wpfFilterWrapper .wpfFilterTaxNameWrapper{
    padding: 0;;
}

.wpfLiLabel:has(input[type="checkbox"]:checked) .wpfValue {
    background-color: var(--brand-color) !important;
    color: #ffffff !important;
    border-color: var(--brand-color) !important;
}

.wpfLiLabel:has(input[type="checkbox"]:checked) .wpfValue * {
    color: #ffffff !important;
}

.wpfLiLabel:hover .wpfValue {
    background-color: #f0f0f0;
}

.wpfFilterWrapper{
    background: #FAFAFA;
    border-radius: 5px;
}

.filter-wrapper {
    opacity: 0;
    animation: fade-in 0.2s ease-in 0.5s forwards;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.wpfFilterButtons {
    justify-content: end;
    button.wpfFilterButton, button.wpfClearButton{
        border: 1px solid #333;
        background-color: transparent;
        color: #333;
        font-size:16px;
        border-radius: 0px;
        
        &:hover{
            background-color: var(--brand-color);
            border-color: var(--brand-color);
        }
    }
}

.products-wrapper:has(.product-list .e-loop-nothing-found-message) .filter-wrapper {
    display: none;
}


.wpfFilterButtons{
    display: flex;
    gap: 8px;
    .wpfButton{
        width: 50% !important;
        margin: 0  !important;
    }
}


.reset-button{
    display: block;
    margin: 18px auto;
    padding: 12px 48px !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    color: #333 !important;
    border-color: #333;
}

.reset-button:hover{
    background-color: #ed3237 !important;
    color: #fff !important;
    border-color: #ed3237 !important;;
}
.not-found-message{
    font-size: 24px;
    text-transform: uppercase;
    font-weight: 700;
}

.wpfOptionDisabled{
  opacity: 0.5 !important;
  pointer-events: none;
//   filter: grayscale(1);
}
.wpfLiLabel{
    position: relative;
}

.wpfLiLabel .wpfCount{
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 2px !important;
    font-size:11px !important;
    // border-top: 1px solid black;
    // border-left: 1px solid black;
    color:#fff;
    background: var(--brand-color);
}
