/* =========================================================
   ACTIVE FILTER CHIPS (BADGE FILTER AKTIF)
   ========================================================= */
.active-filters-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.active-filters-title {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-right: 4px;
}

.active-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--colorPrimary, #3661d5);
    background: #ffffff;
    border: 1px solid rgba(54, 97, 213, 0.28);
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.active-filter-chip i {
    font-size: 11px;
    opacity: 0.75;
}

.active-filter-chip:hover {
    color: #ffffff;
    background: var(--colorPrimary, #3661d5);
    border-color: var(--colorPrimary, #3661d5);
}

.active-filter-chip:hover i {
    opacity: 1;
}

.active-filter-clear {
    margin-left: auto;
    font-size: 12.5px;
    font-weight: 600;
    color: #dc2626;
    text-decoration: none;
    padding: 4px 8px;
}

.active-filter-clear:hover {
    text-decoration: underline;
    color: #b91c1c;
}

/* =========================================================
   DUAL-RANGE PRICE SLIDER & TOOLTIP
   ========================================================= */
.dual-range-wrap {
    position: relative;
    width: 100%;
    height: 28px;
    margin: 44px 0 14px;
    display: flex;
    align-items: center;
}

.dual-range-tooltip {
    position: absolute;
    top: -28px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    color: #ffffff;
    background: var(--colorPrimary, #3661d5);
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.14);
    transition: top 0.15s ease;
    z-index: 5;
}

.dual-range-track,
.dual-range-fill {
    position: absolute;
    height: 6px;
    border-radius: 999px;
    pointer-events: none;
}

.dual-range-track {
    left: 0;
    right: 0;
    background: #e2e8f0;
}

.dual-range-fill {
    left: 0;
    right: 0;
    background: var(--colorPrimary, #3661d5);
}

.dual-range-wrap input[type="range"] {
    position: absolute;
    left: 0;
    width: 100%;
    height: 6px;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

.dual-range-wrap input[type="range"]::-webkit-slider-runnable-track {
    height: 6px;
    background: transparent;
    border: none;
}

.dual-range-wrap input[type="range"]::-moz-range-track {
    height: 6px;
    background: transparent;
    border: none;
}

.dual-range-wrap input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    margin-top: -6px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--colorPrimary, #3661d5);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    pointer-events: auto;
    transition: transform 0.15s ease;
}

.dual-range-wrap input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--colorPrimary, #3661d5);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    pointer-events: auto;
    transition: transform 0.15s ease;
}

.dual-range-wrap input[type="range"]::-webkit-slider-thumb:hover,
.dual-range-wrap input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.12);
}