.ovfs-filter-title{
    position: relative;
    font-size: 15px;
    font-weight: 600;
    line-height: 2em;
    margin-bottom: 0;
    text-transform: capitalize;
    color: var(--porto-heading-color);
}
.ovfs-filterbox{
    padding-left: 0;
    margin-left: 0;
    list-style: none;
    max-height: 420px;
    overflow: auto;
}
.ovfs-filterbox li,
.ovfs-filterbox li label{
    cursor: pointer;
    font-weight: 400;
    font-size: 14px;
    color: #4e4e4e;
    line-height: 1.5;
}
.ovfs-filterbox .sublist{
    list-style: none;
    margin-left: 16px;
}
.ovfs-filterbox.cube{
    display: grid;
    gap: 5px;
}
.ovfs-filterbox.cube{
    grid-template-columns: 66px 66px 66px;
}
.ovfs-filterbox.circle{
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.ovfs-filterbox.cube li,
.ovfs-filterbox.circle li{
    display: flex;
}
.ovfs-filterbox.circle li{
    flex-flow: row;
    align-items: center;
    width: 48%;
    padding: 3px;
}
.ovfs-filterbox .cube label{
    border: 1px solid #cccccc;
    padding: 4px;
    width:  66px;
    height: 32px;
    text-align: center;
}
.ovfs-filterbox .circle label:not(.ovfs-title-label){
    width:  22px;
    height:  22px;
    border-radius: 50%;
    color: #000;
    flex: none;
    position: relative;
}
.ovfs-filterbox .circle label:not(.ovfs-title-label):before{
    content: '';
    position: absolute;
    width:  28px;
    height:  28px;
    border: 1px solid #cccccc;
    border-radius: 50%;
    top: -3px;
    left: -3px;
}
.ovfs-filterbox .circle label.ovfs-title-label{
    margin-left: 10px;
}
.ovfs-filterbox .cube input,
.ovfs-filterbox .circle input{
    display: none;
}
.ovfs-filterbox li{
    display: flex;
    flex-flow: row;
    align-items: flex-start;
    padding: 6px 0;
}
.ovfs-filterbox input[type="checkbox"] + label{
    margin-left: 10px;
}
.ovfs-filterbox input[type="checkbox"]{
    position: relative;
    visibility: hidden;
}
.ovfs-filterbox input[type="checkbox"]:before{
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    border: 1px solid #e7e7e7;
    border-radius: 3px;
    background-color: #ffffff;
    visibility: visible;
}
.ovfs-filterbox input[type="checkbox"]:checked:before{
    font-family: var(--fa-style-family-classic, "Font Awesome 6 Free");
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    padding-left: 6px;
    content: "\f00c";
    font-weight: 900;
    margin: 0;
    padding-left: 4px;
    font-size: 12px;
    color: var(--porto-body-bg);
    z-index: 1;
    visibility: visible;
    background-color: unset;
}
.ovfs-filterbox input[type="checkbox"]:checked:after{
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 1px solid #e7e7e7;
    border-radius: 3px;
    background-color: var(--porto-heading-color);
    border-color: var(--porto-heading-color);
    visibility: visible;
}
.ovfs-filterbox .cube input:checked + label{
    background-color: #000;
    color: #fff;
}
.ovfs-filterbox .circle input:checked + label:not(.ovfs-title-label):before{
    border-color: #000;
}
/* Style the scrollbar */
.ovfs-filterbox::-webkit-scrollbar {
    width: 8px; /* Width of the scrollbar */
    height: 8px; /* Height of the scrollbar for horizontal scrolling */
}
/* Style the track of the scrollbar */
.ovfs-filterbox::-webkit-scrollbar-track {
    background: #f1f1f1; /* Color of the track */
    border-radius: 10px; /* Round the corners */
}
/* Style the thumb of the scrollbar */
.ovfs-filterbox::-webkit-scrollbar-thumb {
    background: #000; /* Color of the thumb */
    border-radius: 10px; /* Round the corners */
}
/* Style the thumb when hovered */
.ovfs-filterbox::-webkit-scrollbar-thumb:hover {
    background: #555; /* Darker color when hovered */
}
.ovfs-relative-title,
.ovfs-clear-filters.hidden,
.ovfs-popup-close,
.ovfs-mobile-trigger{
    display: none;
}
.ovfs-relative{
    position: relative;
}
.ovfs-filters-wrapper{
    display: flex;
    flex-flow: column;
}
.ovfs-showmore-colors{
    width: 100%!important;
}
.ovfs-showmore-colors:before{
    content: '\203A';
    margin-right: 5px;
}
.ovfs-showmore-colors.open::before{
    transform: rotate(90deg);
}
.ovfs-filterbox.circle li.hidden{
    display: none;
}
.ovfs-toggle{
    display: inline-block;
    width: 28px;
    height: 28px;
    line-height: 28px;
    color: #ccc;
    position: absolute;
    right: -7px;
    top: 50%;
    margin-top: -14px;
    padding: 0;
    cursor: pointer;
    text-align: center;
    transition: 0.25s;
}
.closed .ovfs-toggle:before{
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    background: var(--porto-heading-color);
    width: 2px;
    height: 10px;
    margin-left: -1px;
    margin-top: -5px;
}
.ovfs-toggle:after{
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    background: var(--porto-heading-color);
    width: 10px;
    height: 2px;
    margin-left: -5px;
    margin-top: -1px;
}
@media (max-width: 1024px) {
    .ovfs-mobile-trigger{
        display: flex;
        flex-flow: row;
        font-size: 18px;
        color: #000000;
        font-weight: 400;
    }
    .ovfs-relative-title{
        display: block;
        font-size: 22px;
        text-transform: uppercase;
        color: #000000;
        font-weight: 400;
        border-bottom: 1px solid #cccccc;
        text-align: center;
        margin-bottom: 0;
    }
    .ovfs-popup-close,
    .ovfs-mobile-trigger svg{
        display: block;
        width: 25px;
        height: 25px;
        margin-right: 5px;
    }
    .ovfs-popup-close{
        position: sticky;
        top: 0;
        margin-left: auto;
        width: 31px;
        height: 31px;
    }
    #ovfs-filter-area{
        display: none;
    }
    #ovfs-filter-area.ovfs-mobile-open{
        display: block;
        background-color: #fff;
        position: fixed;
        width: 100%;
        height: 100%;
        max-width: 400px;
        top: 0;
        left: 0;
        z-index: 100;
        padding: 10px;
        overflow: auto;
    }
    .admin-bar #ovfs-filter-area.ovfs-mobile-open{
        top: 0;
        z-index: 9999999;
    }
}
@media (max-width: 400px) {
    #ovfs-filter-area.ovfs-mobile-open{
        max-width: 100%;
    }
}