.button-sort {
  /*&:hover {
    @include tablet {
      .button-sort__button_icon.arrow {
        transform: rotate(180deg);
      }
    }
  }*/
}
.button-sort.active .button-sort__button_icon.arrow {
  transform: rotate(180deg);
}
.button-sort.active .button-sort__data {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
@media (min-width: 768px) {
  .button-sort.active .button-sort__data {
    margin-top: 10px;
  }
}
.button-sort__button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  gap: 6px;
  width: 100%;
}
@media (min-width: 768px) {
  .button-sort__button {
    padding: 12px 16px;
  }
}
.button-sort__button_icon {
  flex: 0 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) {
  .button-sort__button_icon {
    flex: 0 0 20px;
  }
}
.button-sort__button_icon.arrow {
  transition: transform 0.3s cubic-bezier(0.3, 0.1, 0.26, 1);
}
.button-sort__button_icon.arrow svg {
  width: 12px;
  height: 12px;
  color: #3f4041;
}
.button-sort__button_icon.sort svg {
  width: 16px;
  height: 16px;
  color: #3f4041;
}
.button-sort__button_value {
  flex: 0 1 auto;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.36;
  color: #3f4041;
  text-align: left;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .button-sort__button_value {
    font-size: 15px;
    min-width: 150px;
  }
}
.button-sort__data {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 4;
  border-radius: 20px 20px 0 0;
  padding: 0 4px;
  box-shadow: 0 8px 30px 0 rgba(0, 0, 0, 0.14);
  background: #fff;
  max-height: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  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), margin-top 0.3s cubic-bezier(0.3, 0.1, 0.26, 1);
}
@media (min-width: 768px) {
  .button-sort__data {
    border-radius: 10px;
    max-width: 245px;
    bottom: auto;
    left: auto;
  }
}
.button-sort__data_inner {
  padding-top: 16px;
}
@media (min-width: 768px) {
  .button-sort__data_inner {
    padding-top: 0;
  }
}
.button-sort__swipe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  z-index: 5;
  touch-action: none;
}
.button-sort__swipe::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  height: 3px;
  width: 40px;
  background-color: #c6c6c6;
  border-radius: 25px;
}
@media (min-width: 768px) {
  .button-sort__swipe {
    display: none;
  }
}
.button-sort__title {
  display: block;
  padding: 8px 14px;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.24;
  color: #3f4041;
}
@media (min-width: 768px) {
  .button-sort__title {
    display: none;
  }
}
.button-sort__list {
  padding: 4px 0;
}
.button-sort__list_item {
  cursor: pointer;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.36;
  color: #636363;
  transition: color 0.3s cubic-bezier(0.3, 0.1, 0.26, 1);
}
.button-sort__list_item.selected {
  color: #ff7100;
}
.button-sort__list_item.selected span {
  opacity: 1;
  visibility: visible;
}
@media (min-width: 768px) {
  .button-sort__list_item:hover {
    color: #ff7100;
  }
}
.button-sort__list_item span {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  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);
}
.button-sort__list_item span svg {
  width: 14px;
  height: 14px;
  color: #ff7100;
}