.filter-title {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
  align-items: center;
}

.filter-title h2 {
  font-size: 20px;
  line-height: 24px;
  color: #0a0a0a;
  font-weight: 700;
}

.filter-wrapper {
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.filter-section h4 {
  font-size: 16px;
  line-height: 20px;
  color: #0a0a0a;
  font-weight: 600;
  margin-bottom: 16px;
}

.filter-section label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
  accent-color: #dc9832;
  transition: all 0.4s;
}

.filter-section label:hover {
  cursor: pointer;
  color: #dc9832;
}

.filter-section label input {
  width: 20px;
  height: 20px;
  margin: 0;
}

.filter-section .color-filter-item {
  display: inline-block;
  width: 28px;
  height: 28px;
  cursor: pointer;
  border-radius: 100%;
  margin-right: 6px;
  border: 2px solid #ccc;
  margin-bottom: 0;
  cursor: pointer;
}

.color-filter-item.active {
  border: 2px solid #dc9832;
}

/* price range slider */
.filter-section .noUi-horizontal .noUi-handle {
  width: 30px;
  height: 30px;
  border-radius: 100%;
  right: -2px;
  top: -8px;
}

.filter-section .noUi-horizontal .noUi-handle.noUi-handle-lower {
  right: -28px;
}

.filter-section .noUi-horizontal .noUi-handle::after,
.filter-section .noUi-horizontal .noUi-handle::before {
  display: none;
}

.filter-section .noUi-target {
  border-radius: 30px;
  height: 14px;
  width: 100%;
  margin: 18px auto 0;
}

.filter-section .noUi-connect {
  background-color: #dc9832;
}

.filter-section #price-value {
  margin-top: 12px;
}

/* button apply filter */
#apply-filter {
  border-radius: 12px;
  background-color: #dc9832;
  border: 1px solid #dc9832;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  line-height: 22px;
  font-weight: 500;
  width: 100%;
  margin: 24px 0;
  font-family: "Roboto", sans-serif !important;
  transition: all 0.4s;
  text-transform: unset;
}

#apply-filter:hover {
  background-color: white;
  color: #dc9832;
}

#overlay {
  width: 100vw;
  height: 100vh;
  background-color: rgba(10, 10, 10, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  z-index: -100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s;
}

#overlay.is-show {
  opacity: 1;
  visibility: visible;
  z-index: 9999;
}

.close-filter {
  width: 24px;
  height: 24px;
  background-image: url(./images/ic-close.svg);
  background-repeat: no-repeat;
  background-size: contain;
  opacity: .6;
  display: none;
  transition: all 0.4s;
}

.close-filter:hover {
  opacity: 1;
}

#icon-filter {
  position: fixed;
  top: 20%;
  left: 2px;
  background-color: white;
  border: 1px solid #0a0a0a;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  background-image: url(./images/icon-filter.svg);
  background-repeat: no-repeat;
  background-size: 24px;
  width: 36px;
  height: 36px;
  background-position: center;
  padding: 6px;
  border-radius: 4px;
  z-index: 1000;
  cursor: pointer;
  opacity: .5;
  transition: all 0.4s;
  display: none;
}

#icon-filter:hover {
  opacity: 1;
}

.overflow-hidden {
  overflow: hidden;
}

@media(max-width: 849px) {
  #icon-filter {
    display: block;
  }

  .close-filter {
    display: block;
  }

  .filter-wrapper {
    max-width: 300px;
    height: 100vh;
    overflow-y: scroll;
    position: fixed;
    top: 0;
    left: 0;
    background-color: white;
    z-index: 10000;
    width: 100%;
    transform: translateX(-100%);
    opacity: 0;
    transition: all 0.4s;
  }

  .filter-wrapper.is-open {
    opacity: 1;
    transform: translateX(0);
  }
}