input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: all;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #5f78fa;
  cursor: pointer;
  position: relative;
}
input[type="range"]::-moz-range-thumb {
  -webkit-appearance: none;
  pointer-events: all;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #5f78fa;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb:hover {
  background: #5f78fa;
}
input[type="range"]::-webkit-slider-thumb:active {
  box-shadow:
    inset 0 0 3px #387bbe,
    0 0 6px #387bbe;
  -webkit-box-shadow:
    inset 0 0 3px #387bbe,
    0 0 6px #387bbe;
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 2px;
  width: 100%;
  position: absolute;
  background-color: #edf3fb;
  pointer-events: none;
}
.range__inner {
  position: relative;
}
#sliderValueFrom,
#sliderValueFromPrice,
#sliderValueTo,
#sliderValueToPrice {
  position: absolute;
  bottom: -30px;
  font-size: 14px;
  font-weight: 700;
  color: #5f78fa;
}
#sliderValueFrom,
#sliderValueFromPrice {
  left: 2px;
}
#sliderValueTo,
#sliderValueToPrice {
  right: 0;
}
#fromPriceSlider,
#fromSlider {
  height: 0;
  z-index: 1;
  top: 1px;
}

.section__filter {
  flex: 1;
  max-width: 275px;
  min-width: 275px;
}
.section__filter__item {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(233, 240, 251, 0.5);
}
.section__filter__item:last-child {
  border-bottom: none;
  margin: 0;
  padding: 0;
}
.section__filter__title {
  color: #333;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: 160%;
  letter-spacing: 0.065px;
  margin-bottom: 10px;
}
.section__filter__categories {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 12px;
}

.section__filter__categories .btn_black {
  justify-content: space-between;
}
.section__filter__price,
.section__filter__subscribers {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 17px;
}
.section__filter__price__input,
.section__filter__subscribers__input {
  display: flex;
  height: 36px;
  padding: 11px 12px;
  align-items: center;
  gap: 8px;
  border-radius: 58px;
  border: 1px solid #e9f0fb;
  background: #f9fbfe;
  outline: 0;
}
.section__filter__price__range,
.section__filter__subscribers__range {
  position: relative;
  margin-bottom: 48px;
}
.section__filter__monetization {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section__filter__monetization__label {
  display: flex;
  gap: 11px;
  align-items: center;
  cursor: pointer;
}
.section__filter__monetization__label input[type="radio"]:checked + .section__filter__monetization__checkmark {
  background-image: url(../img/checkmark_checked.svg);
}
.section__filter__monetization__input {
  display: none;
}
.section__filter__monetization__checkmark {
  width: 18px;
  height: 18px;
  background-image: url(../img/checkmark.svg);
  display: block;
  border-radius: 50%;
}
.section__filter__monetization__text {
  color: #717184;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: 0.07px;
}
.section__filter__niche__select,
.section__products__head__sort__select select {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  padding: 0 12px;
  border-radius: 58px;
  border: 1px solid #e9f0fb;
  height: 36px;
  background: #f9fbfe;
  outline: 0;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  font-family: AeonikPro;
  line-height: 160%;
  letter-spacing: 0.07px;
}
.section__filter__niche {
  position: relative;
}
.section__filter__niche::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-image: url(../img/arrow.svg);
  transition: all 0.3s ease-in-out;
}
.section__filter__niche:has(.section__filter__niche__select:focus)::after {
  -webkit-transform: translateY(-50%) rotate(180deg);
  transform: translateY(-50%) rotate(180deg);
}
@media (max-width: 600px) {
  .section__filter {
    max-width: none;
    max-height: 40px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
  }
  .section__filter.active {
    max-height: 2000px;
  }
  .section__filter__item:last-child {
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(233, 240, 251, 0.5);
  }
}
