.catalog-controls.catalog-controls--branded {
  margin: 0 3vw 38px;
  padding: 24px 26px 22px;
  grid-template-columns: minmax(170px, .7fr) minmax(260px, 1fr) minmax(390px, 1.4fr) minmax(250px, .9fr);
  gap: 0;
  align-items: stretch;
  border: 1px solid rgba(53, 38, 23, .12);
  border-radius: 18px;
  background: #efede7;
  box-shadow: 0 14px 38px rgba(53, 38, 23, .05);
}

.catalog-filter {
  min-width: 0;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 14px;
  border-right: 1px solid rgba(53, 38, 23, .12);
}

.catalog-filter:first-child { padding-left: 0; }
.catalog-filter:last-child { padding-right: 0; border-right: 0; }

.catalog-filter__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.catalog-filter__heading strong {
  color: #696d34;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

.catalog-filter__title {
  display: block;
  color: #5f574e;
  font-size: 15px;
  line-height: 1;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.filter-choices {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-choices--area { flex-wrap: wrap; }

.filter-choice {
  -webkit-appearance: none;
  appearance: none;
  min-height: 40px;
  margin: 0;
  padding: 8px 15px;
  border: 1px solid rgba(124, 128, 64, .42);
  border-radius: 999px;
  background: rgba(255, 255, 255, .42);
  color: #352617;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.filter-choice:hover {
  border-color: #7c8040;
  transform: translateY(-1px);
}

.filter-choice.active {
  border-color: #7c8040;
  background: #7c8040;
  color: #fff;
  box-shadow: 0 6px 16px rgba(92, 96, 43, .2);
}

.filter-choice--number {
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 19px;
}

.filter-choice--all { padding-inline: 14px; }
.filter-choice--area { min-height: 36px; padding: 7px 12px; font-size: 14px; }

.floor-slider {
  --floor-progress: 0%;
  position: relative;
  padding: 1px 1px 0;
}

.floor-slider input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 24px;
  margin: 0;
  border: 0;
  outline: 0;
  background: transparent;
  cursor: pointer;
}

.floor-slider input::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7c8040 0 var(--floor-progress), rgba(53, 38, 23, .18) var(--floor-progress) 100%);
}

.floor-slider input::-moz-range-track {
  height: 3px;
  border-radius: 999px;
  background: rgba(53, 38, 23, .18);
}

.floor-slider input::-moz-range-progress {
  height: 3px;
  border-radius: 999px;
  background: #7c8040;
}

.floor-slider input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  margin-top: -8.5px;
  border: 3px solid #f7f5f0;
  border-radius: 50%;
  background: #7c8040;
  box-shadow: 0 3px 9px rgba(53, 38, 23, .28);
}

.floor-slider input::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 3px solid #f7f5f0;
  border-radius: 50%;
  background: #7c8040;
  box-shadow: 0 3px 9px rgba(53, 38, 23, .28);
}

.floor-slider input:focus-visible::-webkit-slider-thumb { outline: 2px solid #352617; outline-offset: 3px; }
.floor-slider input:focus-visible::-moz-range-thumb { outline: 2px solid #352617; outline-offset: 3px; }

.floor-slider__labels {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  color: rgba(53, 38, 23, .58);
  font-size: 12px;
  line-height: 1;
}

.floor-slider__labels span:nth-child(2) { text-align: center; }
.floor-slider__labels span:last-child { text-align: right; }

.catalog-controls.catalog-controls--branded .sort-control {
  justify-self: stretch;
  align-items: stretch;
}

.styled-select {
  position: relative;
  display: block;
}

.styled-select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #352617;
  border-bottom: 1.5px solid #352617;
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}

.catalog-controls.catalog-controls--branded .styled-select select {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  margin: 0;
  padding: 9px 42px 9px 15px;
  border: 1px solid rgba(124, 128, 64, .42);
  border-radius: 999px;
  outline: 0;
  background: rgba(255, 255, 255, .42);
  color: #352617;
  font-size: 15px;
}

.catalog-controls.catalog-controls--branded .styled-select select:hover,
.catalog-controls.catalog-controls--branded .styled-select select:focus {
  border-color: #7c8040;
}

.filter-choice:focus-visible,
.catalog-controls.catalog-controls--branded .styled-select select:focus-visible {
  outline: 2px solid #352617;
  outline-offset: 3px;
}

@media (max-width: 1180px) and (min-width: 640px) {
  .catalog-controls.catalog-controls--branded {
    grid-template-columns: .72fr 1fr 1.35fr;
    row-gap: 22px;
  }

  .catalog-filter--area { border-right: 0; }
  .catalog-filter.sort-control--branded {
    grid-column: 1 / -1;
    padding: 20px 0 0;
    border-top: 1px solid rgba(53, 38, 23, .12);
  }
}

@media (max-width: 639px) {
  .mobile-filter-toggle.mobile-filter-toggle--branded {
    min-height: 42px;
    margin: 30px 20px 18px;
    padding: 9px 17px;
    gap: 9px;
    border: 1px solid rgba(124, 128, 64, .46);
    border-radius: 999px;
    background: rgba(124, 128, 64, .08);
    color: #352617;
    font-size: 15px;
  }

  .catalog-controls.catalog-controls--branded {
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    margin: 0 14px 28px;
    padding: 8px 20px;
    border-radius: 18px;
  }

  .catalog-controls.catalog-controls--branded.catalog-controls--open { display: grid; }

  .catalog-filter,
  .catalog-filter:first-child,
  .catalog-filter:last-child {
    min-height: 95px;
    padding: 20px 0;
    gap: 13px;
    border-right: 0;
    border-bottom: 1px solid rgba(53, 38, 23, .12);
  }

  .catalog-filter:last-child { border-bottom: 0; }
  .catalog-filter__title { font-size: 13px; }
  .filter-choices { gap: 7px; }
  .filter-choice { font-size: 15px; }
  .filter-choice--area { font-size: 13px; }
  .catalog-filter__heading strong { font-size: 15px; }
  .catalog-controls.catalog-controls--branded .sort-control { grid-column: auto; }
}
