/* Range Slider Styles */
.price-slider-container {
    padding: 1rem 0;
}

.price-values {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.slider-track-container {
    position: relative;
    height: 6px;
    width: 100%;
}

.slider-track {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #475569;
    border-radius: 3px;
    z-index: 1;
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    position: absolute;
    top: -6px;
    /* Center thumb vertically */
    width: 100%;
    pointer-events: none;
    background: transparent;
    z-index: 2;
    height: 18px;
    /* Touch target area */
}

/* Slider Thumb */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    pointer-events: auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    box-shadow: 0 0 0 2px var(--bg-card);
    transition: transform 0.15s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

input[type="range"]::-moz-range-thumb {
    pointer-events: auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    border: 2px solid var(--bg-card);
}

/* Make sure active thumb is on top */
input[type="range"]::-webkit-slider-thumb:active {
    z-index: 3;
}

/* Hide Sidebar Toggle on Desktop fix */
@media (min-width: 901px) {
    .filter-sidebar {
        display: none;
        /* Logic will be: Hidden initially, toggled by button */
    }
}