.filter_sort_block {
  padding: 24px 12px;
}

.filter_sort_block .our_works {
  padding: 0;
}

.filter_sort {
  display: none;
}

.mobile_filter_sort {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  padding-left: 0;
  box-sizing: border-box;
}

.mobile_filter_sort select {
  width: auto;
  height: auto;
  margin: 0;
  padding: 0 0 0 24px;
  font-size: 13px;
  background-image: url("/img/icons/sort_arrow.svg");
  background-position: left center;
  border: none;
  font-weight: bold;
}

.as_row_as_string {
  display: none;
}

@media screen and (min-width: 414px) {
  .mobile_filter_sort select {
    font-size: 15px;
  }
}

@media screen and (min-width: 720px) {
  .mobile_filter_sort {
    padding: 8px;
    background-color: #eee;
  }
}

@media screen and (min-width: 768px) {
  .as_row_as_string {
    position: relative;
    display: flex;
    width: 98px;
    height: 40px;
    margin-left: 16px;
    background-color: #f5f5f6;
    border-radius: 96px;
    overflow: hidden;
  }
  .as_row_as_string_round {
    position: absolute;
    top: 2px;
    width: 48px;
    height: 36px;
    background-color: #fff;
    border-radius: 96px;
    box-shadow: 0 0.1rem 2rem rgba(4, 6, 28, 0.1);
    transition: transform 0.2s linear;
    z-index: 0;
    transform: translateX(48px);
  }
  .row_string_btn {
    position: relative;
    width: 48px;
    height: 36px;
    background: transparent;
    border: none;
    z-index: 1;
  }
  .row_string_btn svg {
    width: 23px;
    height: 23px;
    color: #b5b5b9;
    transition: color step-end 0.2s;
  }
  .row_string_btn.active svg {
    color: #222;
  }
  .mobile_filter_sort select {
    height: 36px;
    padding: 0 8px 0 36px;
    border-radius: 96px;
  }
  .mobile_filter_sort select {
    background-position: left 8px center;
  }
}

@media screen and (min-width: 1024px) {
  .as_row_as_string {
    margin-left: 0;
  }
  .mobile_filter_sort {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    width: 100%;
    padding-left: 0;
    box-sizing: border-box;
    border: 0px solid #f3f3f3;
  }
  .mobile_filter_sort select {
    width: 200px;
    margin: 0 24px 0 0;
    padding: 0 36px 0 8px;
    background-position: right 8px center;
    text-align: right;
  }
  /*  */
  .filter_sort_block {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 24px;
  }
  .filter_sort {
    /* display: flex; */
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    box-sizing: border-box;
    width: 100%;
    padding: 13px;
    padding-left: 8px;
    background-color: #7d7d7d;
    border: 1px solid #f3f3f3;
  }
  .filter_sort label {
    margin-right: 32px;
    color: #fff;
  }
  .filter_sort_list {
    display: flex;
    flex-wrap: wrap;
    width: auto;
    list-style-type: none;
  }
  .filter_sort_list li {
    width: auto;
    margin: 0 32px 0 0;
  }
  .filter_sort_list li:last-child {
    margin: 0 16px 0 0;
  }
  .filter_sort_list a {
    color: #fff;
    border-bottom: 1px dashed #fff;
  }
  .filter_sort_list a:hover {
    text-decoration: none;
    border-bottom: 1px solid #fff;
    font-weight: bold;
  }
  a.filter_selected {
    border-bottom: 1px solid #fff;
    font-weight: bold;
  }
  .filter_sort_block .products_briks {
    width: calc(100% - 320px);
    margin-left: auto;
    margin-right: 0;
  }
}