/* =====================================
   FILTER PRICE — ONE SLIDER / TWO HANDLES
===================================== */

.filter-price {
  --accent: #9c7a1f;
  padding: 16px 0;
}

/* VALUES */
.filter-price__values {
  font-size: 14px;
  color: #333;
}

/* ===============================
   SLIDER WRAP
================================ */

.filter-price__slider {
  position: relative;
  height: 36px;
}

/* ===============================
   RANGE BASE
================================ */

.filter-price__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 36px;
  margin: 0;

  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}

/* ===============================
   TRACK — ONLY MIN
================================ */

/* Chrome / Safari */
.filter-price__range--min::-webkit-slider-runnable-track {
  height: 4px;
  background: #000;
  border-radius: 2px;
}

/* Firefox */
.filter-price__range--min::-moz-range-track {
  height: 4px;
  background: #000;
  border-radius: 2px;
}

/* MAX — NO TRACK */
.filter-price__range--max::-webkit-slider-runnable-track {
  background: transparent;
}
.filter-price__range--max::-moz-range-track {
  background: transparent;
}

/* ===============================
   HANDLE (BOTH)
================================ */

.filter-price__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -7px;

  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #000;

  cursor: pointer;
  pointer-events: auto;
  box-sizing: border-box;
}

.filter-price__range::-moz-range-thumb {
  width: 18px;
  height: 18px;

  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #000;

  cursor: pointer;
  pointer-events: auto;
  box-sizing: border-box;
}

/* ===============================
   STACKING
================================ */

.filter-price__range--min {
  z-index: 2;
}

.filter-price__range--max {
  z-index: 3;
}

/* ===============================
   APPLY BUTTON
================================ */

.filter-price__apply {
  width: 90%;
  padding: 12px 16px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
}

.filter-price__apply:hover {
  background: #111;
}





/* ===============================
   ACTIVE FILTERS
================================ */

.active-filters {
  display: flex;
  gap: 8px;
  margin: 16px 0;
  flex-wrap: wrap;
}

.active-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 6px 10px;
  border-radius: 6px;

  background: #f2f2f2;
  color: #000;

  font-size: 14px;
  cursor: pointer;
}

/* ⬅️ ПРОСТИЙ ЧОРНИЙ ХРЕСТИК */
.active-filter__remove {
  font-size: 16px;
  line-height: 1;
  font-weight: 400;

  color: #000;
  background: none;
  border: none;

  cursor: pointer;
}


.active-filter--clear {
  display: block;
  width: 85%;

  margin: 20px auto 0; /* центруємо */

  background: #fff;
  color: #000;
  text-decoration: none;

  padding: 10px 20px;
  font-size: 20px;

  border: 1px solid #000;
  text-align: center;
}





