 #filters {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    padding: 0 20px;
}

#filters label {
    font-weight: bold;
    color: #333;
    display: flex;
    flex-direction: column;
}

.price-slider-wrapper {
    width: 100%;
    max-width: 350px;
    margin-bottom: 20px;
}

.price-values {
    display: flex;
    justify-content: space-between;
    margin-bottom: -5px;
    font-size: 0.9rem;
}

.slider-container {
    position: relative;
    height: 36px;
}

.slider-container input[type="range"] {
    position: absolute;
    width: 100%;
    height: 8px;
    background: none;
    pointer-events: none;
    margin: 0;
    top: 14px;
    z-index: 2;
    appearance: none;
}

/* WebKit (Chrome, Edge, Safari) */
.slider-container input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #0a3d62;
    cursor: pointer;
    position: relative;
    z-index: 3;
    pointer-events: auto;
    margin-top: -1px;
}

/* Firefox */
.slider-container input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #0a3d62;
    cursor: pointer;
    position: relative;
    z-index: 3;
    pointer-events: auto;
    margin-top: 3px;
}

.slider-container::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 0;
    height: 8px;
    width: 100%;
    background: #ddd;
    border-radius: 4px;
    z-index: 1;
}

.slider-container::after {
    content: "";
    position: absolute;
    top: 14px;
    height: 8px;
    background: #0a3d62;
    border-radius: 4px;
    z-index: 1;
    left: var(--start, 0%);
    width: calc(var(--end, 100%) - var(--start, 0%));
}