/**
* Theme Name: Acuasafe Child
* Description: This is a child theme of Acuasafe, generated by Merlin WP.
* Author: <a href="https://themeforest.net/user/template_path">template_path</a>
* Template: acuasafe
* Version: 1.0.1
*/

.custom-filters {
    max-width: 280px;
}

.filter-block {
    margin-bottom: 20px;
}

.range-wrapper {
    --min: 15;
    --max: 8000;
    --low: 15;
    --high: 8000;
    position: relative;
    height: 36px;
}

.range-bar {
    position: absolute;
    top: 18px;
    height: 4px;
    width: 100%;
    border-radius: 4px;
    background:
        linear-gradient(
            to right,
            #ddd calc((var(--low) - var(--min)) / (var(--max) - var(--min)) * 100%),
            #007cba 0,
            #007cba calc((var(--high) - var(--min)) / (var(--max) - var(--min)) * 100%),
            #ddd 0
        );
}

.range-input {
    position: absolute;
    width: 100%;
    top: 10px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
}

.range-input::-webkit-slider-thumb {
    pointer-events: auto;
    width: 14px;
    height: 14px;
    background: #007cba;
    border-radius: 50%;
    -webkit-appearance: none;
    cursor: pointer;
}

.price-values {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-top: 6px;
}
