.cwpf-filter h3{
    font-size:22px;
    margin-bottom:15px;
}

.cwpf-box{
    border-bottom:1px solid #ddd;
    padding:15px 0;
}

.cwpf-box h4{
    font-size:16px;
    margin-bottom:10px;
}

.cwpf-box ul{
    padding:0;
    list-style:none;
}

.cwpf-box li{
    margin:6px 0;
}

.cwpf-box a{
    text-decoration:none;
    color:#444;
}

.cwpf-box label{
    display:block;
    margin:5px 0;
    cursor:pointer;
}

#cwpf-price-slider{
    margin:15px 0;
}

.ui-slider{
    height:4px;
    background:#ddd;
    border-radius:5px;
}

.ui-slider-range{
    background:#8b6a4f;
}

.ui-slider-handle{
    width:16px;
    height:16px;
    background:#8b6a4f;
    border-radius:50%;
    top:-6px;
    border:none;
    cursor:pointer;
}

/* Price Range Slider Fix */

#cwpf-price-slider{
    margin: 15px 0 20px;
}

#cwpf-price-slider.ui-slider{
    position: relative;
    height: 4px;
    background: #ddd;
    border-radius: 5px;
}

/* Selected Range */
#cwpf-price-slider .ui-slider-range{
    position: absolute;
    height: 100%;
    background: #8b6a4f; /* Change color if needed */
    border-radius: 5px;
}

/* Handles */
#cwpf-price-slider .ui-slider-handle{
    position: absolute;
    width: 16px;
    height: 16px;
    background: #8b6a4f;
    border-radius: 50%;
    top: -6px;
    border: none;
    cursor: pointer;
    outline: none;
}

/* Custom Checkbox */

.cwpf-checkbox{
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 8px 0;
    font-size: 14px;
    color: #444;
    position: relative;
}

/* Hide Default */
.cwpf-checkbox input{
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Box */
.cwpf-checkbox .checkmark{
    width: 18px;
    height: 18px;
    border: 2px solid #8b6a4f;
    border-radius: 3px;
    margin-right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

/* Tick */
.cwpf-checkbox .checkmark:after{
    content: "";
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    display: none;
}

/* Checked */
.cwpf-checkbox input:checked ~ .checkmark{
    background: #8b6a4f;
}

.cwpf-checkbox input:checked ~ .checkmark:after{
    display: block;
}

/* Hover */
.cwpf-checkbox:hover .checkmark{
    background: rgba(139,106,79,0.1);
}

/* Text */
.cwpf-checkbox .label-text{
    user-select: none;
}