
body .wpfFilterWrapper .wpfFilterTaxNameWrapper:hover {
    font-weight: 800;
}

body .wpfFilterWrapper .wpfCategoryLabel.is-checked .wpfFilterTaxNameWrapper,
body .wpfFilterWrapper .wpfLiLabel.is-checked .wpfFilterTaxNameWrapper,
body .wpfFilterWrapper .wpfSizeProxy .wpfLiLabel.is-checked .wpfFilterTaxNameWrapper,
body .wpfFilterWrapper .wpfDisplay[style*="font-weight: bold"] > .wpfValue > .wpfFilterTaxNameWrapper,
body .wpfFilterWrapper li:has(.is-open) > .wpfLiLabel > span *,
body .wpfFilterWrapper[data-filter-type="wpfCategory"] li.is-open > .wpfLiLabel > span * {
    font-weight: 600 !important;
}

body main .wpfFilterWrapper > .wpfFilterTitle > .wfpTitle,
body main .wpfFilterWrapper[data-filter-type=wpfCategory] .wpfFilterVerScroll > li > label .wpfFilterTaxNameWrapper {
    font-weight: 400;
}

body main .wpfFilterWrapper .wfpTitle,
body main .wpfFilterWrapper .wpfFilterTaxNameWrapper,
body main .wpfFilterWrapper .wpfPriceRangeField#wpfMinPrice,
body main .wpfFilterWrapper .wpfPriceRangeField#wpfMaxPrice {
    font-weight: 100;
}

body .wpfFilterWrapper .wpfFilterTaxNameWrapper {
    display: inline-block;
}

body .custom-filters .cst-filters-head::after {
    margin-top: 5px;
    margin-bottom: -2px;
}

body .wpfFilterWrapper[data-filter-type=wpfCategory]::after {
    margin-top: 12px;
    margin-bottom: 5px;
}

body #wpfMinPrice, body #wpfMaxPrice {
    min-width: 40px !important;
}

body .wpfTitleToggle::before {
    content: "";
    display: inline-block;
    width: 9px;
    height: 9px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    vertical-align: middle;
}

body .fa-minus::before {
    background-image: url("/wp-content/themes/custom/assets/icons/less.png");
}

body .fa-plus::before {
    background-image: url("/wp-content/themes/custom/assets/icons/plus.png");
}

body select#wpfSortProducts {
    margin-bottom: 20px;
    margin-left: -5px;
}

body .products_sort {
    position: relative;
    min-height: 55px;
    float: right;
    margin-right: 5%;
}

body .wpfFilterButtons .wpfButton,
#wpfSortProducts {
    height: 32px;
    min-height: 32px;
}

body #wpfOverlay{
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.wpfOverlay {
    display: none !important;
}

#wpfOverlay #wpfOverlayText{
    position: absolute;
    top: 250px !important;
    left: 50%;
    transform: translateX(-50%);
}

.wpfFilterWrapper .wpfFilterContent ul.wpfCategoryChildren {
    display: none !important;
}

body .wpfFilterContent:has(> #wpfSortProducts) {
    margin-top: 15px;
}

.wpf-group.is-open > .wpfCategoryChildren {
    display: block !important;
    height: auto !important;
    visibility: visible !important;
    overflow: visible !important;
  }
  
div[data-filter-type=wpfCategory] span.wpfValue {
    padding-left: 0px !important;
}

div[data-filter-type=wpfCategory] ul.wpfFilterVerScroll > li > label.wpfLiLabel,
div.wpfFilterWrapper > div.wpfFilterTitle > div.wfpTitle {
    text-transform: uppercase;
    padding-top: 15px;
    font-family: "Century Gothic", sans-serif;
    transition: all 0.4s ease-in-out !important;
}

div.wpfFilterWrapper > div.wpfFilterTitle > div.wfpTitle:hover,
div.wpfFilterWrapper > div.wpfFilterTitle > div.wfpTitle:hover i,
div.wpfFilterWrapper > div.wpfFilterTitle > div.wfpTitle i:hover {
    font-weight: 600;
    transform: scale(1.03) !important;
}

body .wpfFilterTitle {
    margin-bottom: 0px;
}

body .wpfFilterWrapper[data-filter-type] {
    padding: 0px 5px;
}

body .wpfFilterContent.wpfHide {
    display: none;
    visibility: hidden;
}

body div.wpfFilterWrapper {
    margin: 0px;
    min-height: 45px;
}

body .wpfValue {
    padding-left: 15px !important;
}

.wpfFilterVerScroll ul { 
    display: none;
}

.wpfFilterVerScroll li.is-open > ul { 
    display: block !important;
}

.wpfFilterVerScroll {
    overflow-x: clip;
}

.wpfFilterContent li[data-term-id="5-5"] {
    display: none;
}

body .wpfFilterWrapper[data-get-attribute="wpf_filter_color"] .wpfFilterContent ul.wpfCategoryChildren {
    display: none !important;
}

.wpfCheckbox {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    width: 0 !important;
    height: 0 !important;
    display: none !important;
}

.wpfFilterTitle > p > i {
    font-size: 13px;
    font-weight: 100;
    margin-top: -20px;
}

body main .filters-container {
    margin-right: 0px;
}

body .wpfFilterContent .wpfFilterVerScroll {
    max-height: none !important;
    overflow: hidden;
    min-width: unset;
    padding-right: 5px;
}

body div#wpfOverlay:not([data-filter="1"]) {
    display: none !important;
}

body .wpfFilterWrapper[data-get-attribute="wpf_filter_size"] .wpfFilterVerScroll > li:not(.wpf-size-group) {
    display: none !important;
}

body .wpf-size-group:has(label.is-checked) > .wpfSizeLabel span.wpfFilterTaxNameWrapper {
    font-weight: 600;
}

@media (max-width: 1200px) {
    .cst-filters-toggle {
        position: relative;
        display: inline-flex;
        align-items: center;
        gap: .5rem;
        padding: 3px 25px;
        margin-left: 0px;
        border-radius: 999px;
        background: var(--wp--preset--color--background-secondary);
        color: var(--wp--preset--color--background-primary);
        border: none;
        font-weight: 600;
        cursor: pointer;
        z-index: 200;
    }

    .cst-filters-toggle.is-fixed {
        top: 161px;
        position: fixed;
        top: var(--cst-btn-top, 70px);
        left: 2%;
    }

    .cst-filters-backdrop[hidden] {
        display: none !important;
    }

    .cst-filters-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.35);
        z-index: 10000;
    }
  
    html.cst-filters-open, body.cst-filters-open {
        overflow: hidden;
    }
  
    .cst-filters-head {
        position: relative;
        width: 100%;
        margin: auto;
        padding: 8px;
        background: var(--wp--preset--color--background-primary);
        z-index: 1;
    }
  
    .cst-filters-toggle.is-panel-title,
    body #filtersPanel button#filtersToggleBtn {
        position: relative;
        width: 100%;
        left: 0;
        top: -15px;
        border-radius: 12px;
        justify-content: center;
        border: none !important;
        padding-top: 15px;
    }

    body .custom-filters .cst-filters-head #filtersToggleBtn {
        text-transform: uppercase;
        font-weight: 800;
    }
    
    .custom-filters.cst-hidden-mobile { 
        display: none;
    }
  
    html.cst-filters-open .custom-filters,
    body.cst-filters-open .custom-filters {
        display: block !important;
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100vh;
        max-width: 265px;
        overflow-y: auto;
        background: var(--wp--preset--color--background-primary);
        padding: 16px;
        padding-bottom: 150px;
        z-index: 10001;
        box-shadow: 0 8px 24px rgba(0,0,0,.2);
        animation: cstSlideIn .16s ease-out;
    }

    .wpfFilterWrapper {
        min-height: 60px;
    }

    body .products_sort_default,
    body .products_sort_default > .wpfMainWrapper,
    body .products_sort_default > .wpfMainWrapper > .wpfFilterWrapper {
        position: relative !important;
        width: 100% !important;
    }

    body #wpfSortProducts {
        position: relative;
        margin-top: -41px;
        margin-bottom: 0px;
        margin-left: auto;
        margin-right: 0px;
        max-width: 60%;
        height: 26px;
        min-height: 26px;
        float: right;
    }

    body #filtersToggleBtn,
    body select#wpfSortProducts,
    body select#wpfSortProducts > option {
        font-size: 13px;
    }
    body #wpfSortProducts,
    body #wpfSortProducts > option {
        padding: 3px 5px !important;
        text-indent: 5px;
    }

    body select#wpfSortProducts > option {
        padding-right: 50px;
    }

    body div.products_sort {
        min-height: 0px;
    }

    body.archive main .products {
        margin-top: 10px;
    }

    body .wpfMainWrapper > div.wpfFilterWrapper {
        margin: 0px;
        min-height: 26px;
    }

    body.woocommerce-shop main > div.wp-block-ainoblocks-flexbox  {
        margin-top: 10px;
    }

    body .wpfFilterContent .wpfFilterVerScroll {
        min-width: unset;
    }

    .la-spinner, .wpfIconPreview .spinner, .wpfLoaderIconTemplate .spinner, .woobewoo-filter-loader.spinner {
        height: 60px;
        width: 60px;
    }

    .wpfFilterButtons.wpfFilterButtonsTop.cst-wpf-btns-pinned{
        position: fixed !important;
        left: 0;
        right: 0;
        top: var(--cst-wpf-btns-top, 0px) !important;
        z-index: 9998;
        margin-top: 0 !important;
    }
    
    .cst-wpf-btns-ph{
        display:block;
    }

    .wpfFilterButtons {
        background-color: var(--wp--preset--color--background-primary);
    }

    .custom-filters::before,
    .custom-filters::after {
        content: '';
        position: absolute;
        z-index: 99;
        top: 20px;
        right: 10px;
        width: 20px;
        height: 1px;
        background-color: var(--wp--preset--color--background-secondary);
        cursor: pointer;
    }

    .custom-filters::before{
        transform: rotate(45deg);
    }

    .custom-filters::after{
        transform: rotate(-45deg);
    }
    
}
  
@media (min-width: 1201px) {
    .cst-filters-toggle {
        display: none !important;
    }

    .cst-filters-backdrop {
        display: none !important;
    }
}
