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

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

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

.custom-slider::-moz-range-thumb {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #014637;
  border: 2px solid #fff;
  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: 33px;
  background: #014637;
  border-radius: 9999px;
  pointer-events: none;
  border: 2px solid white;
  z-index: 1;
}

/* Подписи под ползунками */
.slider-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  font-size: 12px;
  color: #a0a0a0;
}

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

  .slider__track {
    height: 20px;
  }

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