.filter.active .filter-wrap {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(0);
}
.filter__button {
  display: flex;
  align-items: center;
  gap: 10px;
}
.filter__button:hover .filter__button_body span, .filter__button:hover .filter__button_body svg {
  color: #ff7100;
}
.filter__button_body {
  display: flex;
  align-items: center;
  gap: 10px;
}
.filter__button_body span:nth-child(1) {
  flex: 0 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) {
  .filter__button_body span:nth-child(1) {
    flex: 0 0 22px;
  }
}
.filter__button_body span:nth-child(1) svg {
  width: 20px;
  height: 20px;
  color: #3f4041;
}
@media (min-width: 768px) {
  .filter__button_body span:nth-child(1) svg {
    width: 22px;
    height: 22px;
  }
}
.filter__button_body span:nth-child(2) {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
  color: #3f4041;
  transition: color 0.3s cubic-bezier(0.3, 0.1, 0.26, 1);
}
@media (min-width: 768px) {
  .filter__button_body span:nth-child(2) {
    font-size: 15px;
  }
}
.filter__button_count {
  flex: auto;
  display: none;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 10px;
  line-height: 1.1;
  color: #fff;
  padding: 4px 6px;
  border-radius: 10px;
  background-color: #ff7100;
  min-width: 23px;
}
.filter__button_count.show {
  display: inline-flex;
}
.filter .filter-wrap {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  max-height: 100vh;
  height: 100%;
  width: 100%;
  transform: translateX(-100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background-color: #fff;
  z-index: 1002;
  transition: transform 0.3s cubic-bezier(0.3, 0.1, 0.26, 1), opacity 0.3s cubic-bezier(0.3, 0.1, 0.26, 1), visibility 0.3s cubic-bezier(0.3, 0.1, 0.26, 1);
}
@media (min-width: 576px) {
  .filter .filter-wrap {
    max-width: 410px;
  }
}
.filter .filter-wrap__form {
  height: 100%;
}
.filter .filter-wrap__body {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.filter .filter-wrap__header {
  padding-block: 24px;
  padding-inline: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.filter .filter-wrap__header h6 {
  color: #262627;
}
@media (min-width: 576px) {
  .filter .filter-wrap__header {
    padding-inline: 40px;
  }
}
.filter .filter-wrap__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
}
.filter .filter-wrap__close svg {
  width: 20px;
  height: 20px;
  color: #c6c6c6;
}
.filter .filter-wrap__available {
  margin-bottom: 15px;
}
.filter .filter-wrap__params {
  flex: 1;
  padding-inline: 20px;
  padding-bottom: 40px;
  height: 100%;
  overflow-y: auto;
}
.filter .filter-wrap__params::-webkit-scrollbar {
  width: 2px;
}
.filter .filter-wrap__params::-webkit-scrollbar-track {
  background-color: #eaeaea;
  border-radius: 4px;
}
.filter .filter-wrap__params::-webkit-scrollbar-thumb {
  background-color: #ff7100;
  border-radius: 4px;
}
@media (min-width: 576px) {
  .filter .filter-wrap__params {
    padding-inline: 40px;
  }
}
.filter .filter-wrap__category {
  position: relative;
}
.filter .filter-wrap__category:not(:last-child) {
  margin-bottom: 10px;
}
.filter .filter-wrap__category.active .filter-wrap__category_header span {
  transform: rotate(180deg);
}
.filter .filter-wrap__category.active .filter-wrap__category_data {
  opacity: 1;
  visibility: visible;
  max-height: 210px;
}
.filter .filter-wrap__category_header {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-block: 12px;
}
.filter .filter-wrap__category_header p {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.24;
  color: #3f4041;
  user-select: none;
  white-space: nowrap;
}
.filter .filter-wrap__category_header span {
  flex: 0 0 14px;
  display: flex;
  transition: transform 0.3s cubic-bezier(0.3, 0.1, 0.26, 1);
  user-select: none;
}
.filter .filter-wrap__category_header span svg {
  width: 14px;
  height: 14px;
  color: #3f4041;
}
.filter .filter-wrap__category_reset {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.3, 0.1, 0.26, 1), visibility 0.3s cubic-bezier(0.3, 0.1, 0.26, 1);
  /*&::before {
    content: "";
    position: absolute;
    top: 0;
    left: -13px;
    bottom: 0;
    margin: auto 0;
    width: 13px;
    height: 29px;
    background-color: $white;
    clip-path: polygon(100% 0, 0 50%, 100% 100%);
  }*/
}
.filter .filter-wrap__category_reset.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
.filter .filter-wrap__category_reset button {
  font-weight: 500;
  font-size: 13px;
  line-height: 1.4;
  color: #959595;
}
.filter .filter-wrap__category_data {
  position: relative;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.3, 0.1, 0.26, 1), opacity 0.3s cubic-bezier(0.3, 0.1, 0.26, 1), visibility 0.3s cubic-bezier(0.3, 0.1, 0.26, 1);
}
.filter .filter-wrap__category_data_content {
  scrollbar-width: thin;
  scrollbar-color: #ff7100 transparent;
}
.filter .filter-wrap__category_data_content .checkbox {
  width: 100%;
}
.filter .filter-wrap__category_data_content .checkbox + .checkbox {
  margin-top: 12px;
}
.filter .filter-wrap__category_data_content .radio {
  border-radius: 10px;
  overflow: hidden;
}
.filter .filter-wrap__category_data_content .radio__label {
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.28571;
  text-align: center;
  color: #636363;
  padding: 9px 24px;
}
.filter .filter-wrap__category_data_content .radio__label:hover {
  color: #fff;
}
.filter .filter-wrap__category_data_content .radio__label:hover::before {
  background-color: #ff7100;
}
.filter .filter-wrap__category_data_content .radio__label::before {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0;
  background: #f6f6f6;
  z-index: -1;
}
.filter .filter-wrap__category_data_content .radio .radio__input:checked + .radio__label,
.filter .filter-wrap__category_data_content .radio .radio__input:checked + .radio__label:hover {
  color: #fff;
}
.filter .filter-wrap__category_data_content .radio .radio__input:checked + .radio__label::before,
.filter .filter-wrap__category_data_content .radio .radio__input:checked + .radio__label:hover::before {
  background-color: #ff7100;
}
.filter .filter-wrap__category_data_content .radio + .radio {
  margin-left: 12px;
}
.filter .filter-wrap__category_data_show_all {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.36;
  color: #ff7100;
}
.filter .filter-wrap__category_data_show_all.hide {
  display: none;
}
.filter .filter-wrap__footer {
  border-top: 1px solid #eaeaea;
  padding-block: 20px 24px;
  padding-inline: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 576px) {
  .filter .filter-wrap__footer {
    padding-inline: 40px;
  }
}
.filter .filter-wrap__footer_buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.filter .filter-wrap__count-products {
  font-weight: 400;
  font-size: 13px;
  line-height: 1.24;
  text-align: center;
  color: #959595;
  display: inline-flex;
  justify-content: center;
  gap: 2px;
}
.filter .filter-wrap__button-reset {
  flex: 0 1 50%;
  margin-right: 10px;
  opacity: 1;
  max-width: none;
  visibility: visible;
  pointer-events: all;
  padding-inline: revert;
}
.filter .filter-wrap__button-reset::before {
  background-color: #636363 !important;
}
.filter .filter-wrap__button-reset:hover {
  border-color: #636363;
}
.filter .filter-wrap__button-reset.hide {
  flex: 0;
  max-width: 0;
  padding-inline: 0;
  margin-right: 0;
  opacity: 0;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
  transition: flex 0.3s cubic-bezier(0.3, 0.1, 0.26, 1), margin 0.3s cubic-bezier(0.3, 0.1, 0.26, 1), opacity 0.3s cubic-bezier(0.3, 0.1, 0.26, 1), max-width 0.3s cubic-bezier(0.3, 0.1, 0.26, 1), visibility 0.3s cubic-bezier(0.3, 0.1, 0.26, 1);
}
.filter .filter-wrap__button-reset.hide + .filter-wrap__button-submit {
  flex: 1 1 100%;
}
.filter .filter-wrap__button-submit {
  max-width: none;
  width: 100%;
  flex: 0 1 50%;
  transition: flex 0.3s cubic-bezier(0.3, 0.1, 0.26, 1);
}

.filter-tags {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0 10px;
}
.filter-tag {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  border-radius: 8px;
  padding: 5px 6px 5px 12px;
  background-color: #f6f6f6;
  overflow: hidden;
}
.filter-tag:hover .filter-tag__data {
  color: #3f4041;
}
.filter-tag.reset {
  cursor: pointer;
  display: none;
  pointer-events: none;
  padding: 8px 10px;
}
.filter-tag + .filter-tag.reset {
  display: inline-flex;
  pointer-events: all;
}
.filter-tag__data {
  display: flex;
  align-items: center;
  gap: 3px;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.23;
  color: #636363;
  pointer-events: none;
  user-select: none;
  transition: color 0.3s cubic-bezier(0.3, 0.1, 0.26, 1);
}
.filter-tag__text {
  white-space: nowrap;
}
.filter-tag__button-delete {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 100%;
  background: rgba(255, 255, 255, 0.4);
}
.filter-tag__button-delete:hover svg {
  color: #3f4041;
}
.filter-tag__button-delete svg {
  width: 12px;
  height: 12px;
  color: #959595;
}