.parts-block {
  width: 80%;
}

.filter-block {
  width: 20%;
}

.btn-filter {
  display: none;
  margin-bottom: 15px;
}
.close-filter {
  font-size: 18px;
  display: none;
  text-align: right;
  cursor: pointer;
}

#product-categories ul {
  font-family: "helveticaneuecyr", Sans-serif;
  font-size: 15px;
  line-height: 24px;
  color: #91947f;
  list-style: none;
  margin-top: 10px;
}

#product-categories .parent-block > li > .sidebar-cat-link {
  font-weight: 600;
}

і #product-categories > ul {
  padding-left: 0;
}

#product-categories a {
  color: #344054;
}

#product-categories .sidebar-cat-link {
  margin-bottom: 5px;
}

#product-categories .sidebar-cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#product-categories .sidebar-cat-link span {
  font-size: 22px;
  cursor: pointer;
}

#product-categories .filter-title {
  font-size: 18px;
  font-weight: 600;
  color: #a939d7;
  margin-bottom: 35px;
}

#product-categories .category-child {
  display: none;
  padding-left: 15px;
}

#product-categories .sidebar-cat-link a:hover {
  color: #a939d7;
}

@media (max-width: 768px) {
  #product-categories .filter-title {
    margin-bottom: 10px;
  }
  .close-filter {
    display: block;
  }

  .parts-block {
    width: 100%;
  }

  .filter-block {
    position: absolute;
    background-color: white;
    width: 100%;
    left: -100%;
    transition: left 0.5s ease;
    padding: 0 20px 20px 20px;
    height: 80vh;
    overflow: scroll;
  }

  .btn-filter {
    display: inline-block;
  }

  .filter-block.show {
    left: 0;
  }
}

/* Brand filter */
@media (min-width: 768px) {
  #brands-filter {
    max-height: 800px;
    overflow-y: auto;
  }
}

/* Додаємо легкий скролбар */
#brands-filter::-webkit-scrollbar {
  width: 6px;
}

#brands-filter::-webkit-scrollbar-thumb {
  background-color: #bbb;
  border-radius: 3px;
}

.brands-list label {
  font-family: "helveticaneuecyr", sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  cursor: pointer;
}

.brands-list label:hover,
.brands-list label:has(input:checked) {
  color: #d0a453;
}

/* Range Price Slider */

#slider-container {
  width: 100%;
  margin: 0 auto;
  font-family: "Mulish", sans-serif;
  padding-right: 20px;
}

#slider-container .slider-label {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 10px;
}

#slider-container #slider {
  margin: 20px 0;
}

#slider-container .values {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 600;
  color: #2b3d52;
}

#slider-container .noUi-target {
  border-color: #a939d7;
  height: 8px;
  box-shadow: none;
}

#slider-container .noUi-connect {
  background: #a939d7;
}

#slider-container .noUi-handle {
  border: 2px solid #a939d7;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  box-shadow: none;
  width: 28px;
  height: 28px;
  top: -10px;
}

#slider-container .noUi-handle:before,
#slider-container .noUi-handle:after {
  display: none;
}
