/* ── Price Slider — Infocus_PriceSlider ─────────────────────────────────────── */

.price-slider-item {
    list-style: none;
    padding: 4px 0 8px;
}

/* ── Track wrapper — tall enough to contain the thumb circles ────────────────── */
.price-slider__track-wrap {
    position: relative;
    height: 20px;
    margin: 16px 6px 10px;
}

/* ── Static background track — vertically centered inside wrap ───────────────── */
.price-slider__track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    transform: translateY(-50%);
    border-radius: 4px;
    background: #d9d9d9;
}

/* ── Colored range between the two thumbs ────────────────────────────────────── */
.price-slider__range {
    position: absolute;
    top: 50%;
    height: 4px;
    transform: translateY(-50%);
    border-radius: 4px;
    background: var(--primary-gradient, linear-gradient(90deg, #FF6A00 0%, #E91E63 35%, #7B2CBF 70%, #0077CC 100%));
    pointer-events: none;
}

/* ── Range inputs — fill the full wrap height so thumb sits centered ─────────── */
.price-slider__thumb {
    position: absolute;
    top: -7px;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    pointer-events: none;
    background: transparent;
    outline: none;
    border: none;
    -webkit-appearance: none;
    appearance: none;
}

.price-slider__thumb--min { z-index: 2; }
.price-slider__thumb--max { z-index: 3; }

/* webkit thumb */
.price-slider__thumb::-webkit-slider-thumb {
    -webkit-appearance: none;
    pointer-events: all;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--gradient-pink, #E91E63);
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
    cursor: pointer;
    transition: transform 0.1s;
}

.price-slider__thumb::-webkit-slider-thumb:hover,
.price-slider__thumb:active::-webkit-slider-thumb {
    transform: scale(1.15);
}

/* webkit track transparent — .price-slider__track shows instead */
.price-slider__thumb::-webkit-slider-runnable-track {
    background: transparent;
    height: 4px;
}

/* Firefox thumb */
.price-slider__thumb::-moz-range-thumb {
    pointer-events: all;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--gradient-pink, #E91E63);
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
    cursor: pointer;
}

/* Firefox track */
.price-slider__thumb::-moz-range-track {
    background: transparent;
    height: 4px;
}

/* ── Labels (min / max display) ──────────────────────────────────────────────── */
.price-slider__labels {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
    font-size: 13px;
    color: #333;
    font-weight: 500;
}
