/* Filter Wrapper */
.custom-filter-wrapper {
    padding: 10px;
}

/* Checkbox and Radio Options */
.checkbox-option,
.radio-option {
    margin-bottom: 8px;
}

.checkbox-option,
.radio-option {
	align-items: center;
	cursor: pointer;
	flex-direction: row !important;
	justify-content: start;
	text-align: right;
	gap: 10px !important;
	margin: 0 !important;
}

/* Color Options */
.color-option {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.color-swatch {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 8px;
    border: 1px solid #ddd;
}

.color-option.selected .color-swatch {
    border: 2px solid #000;
}

.term-name {
    font-size: 14px;
}

/* Loading State */
.products.loading {
    opacity: 0.5;
    pointer-events: none;
}

.title-product span.current {
    color: #000; /* Or your preferred highlight color */
    font-weight: bold;
}

.filter-result.loading{
  position: relative;
  pointer-events: none;
  filter: blur(5px);
}

.filter-result.loading:before{
  display: block;
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  z-index: 9;
  pointer-events: none;
}

/**
 * filter style start
 */ 
.switchonoff {
  position: relative;
  display: inline-block;
    width: 22px;
    height: 14px;
}

.switchonoff input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.onoff {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff;
    -webkit-transition: .4s;
    transition: .4s;
    border: 1px solid;
}

.onoff:before {
    position: absolute;
    content: "";
    height: 8px;
    width: 8px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border: 1px solid;
}

.onoffinput:checked + .onoff {
  background-color: #069f49;
}

.onoffinput:focus + .onoff {
  box-shadow: 0 0 1px #2196F3;
}

.onoffinput:checked + .onoff:before {
  -webkit-transform: translateX(9px);
  -ms-transform: translateX(9px);
  transform: translateX(9px);
}

/* Rounded sliders */
.onoff.round {
  border-radius: 34px;
}

.onoff.round:before {
  border-radius: 50%;
}

.cat-filters-wrapper {
    border: 1px solid #ced0d0;
    border-radius: 10px;
    padding-bottom: 10px;
}

.filter-title {
    border-bottom: 1px solid #ced0d0;
    padding: 10px;
}

.widget_custom_filter_instock {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}


.widget_custom_filter_instock {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
}

.filter-font {
    font-size: 14px;
}

.widget_custom_filter_price {
    padding: 0 10px;
}

.filter-dd {
    max-height: 0;
    overflow: hidden;
	transition:.5s all;
}

.filter-dd.active{
	max-height:300px;
    overflow: auto;

}
.filter-dd-toggle.active svg {
    transform: rotate(180deg);
}

.filter-dd-toggle {
    cursor: pointer;
}

.widget_custom_filter_widget {
    padding: 0 10px;
}

.search-attributes {
    font-size: 12px;
    border-radius: 50px;
}

/**
 * filter style end
 */ 
/* Responsive Design */
@media (max-width: 768px) {
    .custom-filter-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .color-option,
    .checkbox-option,
    .radio-option {
        margin-bottom: 5px;
    }
}