/* Кастомный стиль для ползунков */
.custom-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: #ffffff; /* фон как у карточки */
  border-radius: 9999px;
  outline: none;
  position: relative;
  cursor: pointer;
}

/* След (заполнение) реализуется через отдельный div (.slider__track) */

.custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid #ff0000 ;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(255, 255, 255, 0.3);
  position: relative;
  z-index: 2;
  /* margin-top: 10px; центрируем по вертикали */
}

.custom-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid #ff0000 ;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.slider__track {
  position: absolute;
  top: 35%;
  left: 0;
  transform: translateY(-50%);
  height: 4px;
  background: #ff0000;
  border-radius: 9999px;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 1023px) {
  .custom-slider {
    height: 4px;
    margin-top: 4px;
  }

  .slider__track {
    height: 4px;
  }

  .custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
  }
}
