.sort-line{
  color: #424242;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* .sort-line:after {
  content: '';
  display: table;
  clear: both;
} */
.sort-line .sort-col{
  font-weight: 400;
  display: flex;
  font-size: 12px;
  line-height: 15px;
  align-items: center;
  line-height: 1;
}
.sort-line .sort-col:first-child{
  padding: 0px 16px 0px 0px;
  color: #808080;
}
.sort-line .sort-col-right {
  float: right;
  width: 50px;
}
.sort-line .sort-btn{
  height: 38px;
  line-height: 38px;
  padding: 0px 10px;
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: #555555;
  position: relative;
  font-size: 0.928571em;
}
.sort-line .sort-btn:hover{
  text-decoration: underline;
}
.sort-line .sort-btn.active{
  background: #eeeeee;
  color: #555555;
  border-radius: 4px;
  padding-right: 30px;
}
.sort-line .sort-btn.active:hover{
  text-decoration: underline;
}
.sort-line .sort-btn.active[data-sorttype="asc"]:after{
  content: '';
  width: 30px;
  height: 38px;
  background: url('images/asc-black.png') no-repeat center;
  position: absolute;
  right: 0px;
  top: 0px;
}
.sort-line .sort-btn.active[data-sorttype="desc"]:after{
  content: '';
  width: 30px;
  height: 38px;
  background: url('images/desc-black.png') no-repeat center;
  position: absolute;
  right: 0px;
  top: 0px;
}
.sort-element-cnt{
  margin-right: 4px;
}
.view-mode-box{
  margin: 0px 15px 0px 0px;
}
.view-mode-box .view-mode-btn{
  display: inline-block;
  vertical-align: top;
  width: 38px;
  height: 38px;
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}
.view-mode-box .view-mode-btn.active{
  background-color: #eeeeee;
}
.view-mode-box .view-mode-btn.tile{
  background-image: url('images/tile-bg-black.png');
}
.view-mode-box .view-mode-btn.list{
  background-image: url('images/list-bg-black.png');
}

.sort-type {
  display: flex;
  justify-content: center;
  align-items: center;
}

.sort-limit {
  display: flex;
  flex-wrap: wrap;
}
.sort-col_number{
  display: flex;
  flex-wrap: wrap;
}
.limit_and_view{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.another_view_goods{
  display: flex;
  align-items: center;
  margin-left: 60px;
}
@media (max-width: 1024px){
  .another_view_goods{
    margin-left: 5px;
  }
}
.view svg{
  transition: .3s;
}
.view:hover svg{
  fill: var(--main_color);
}
.view:active svg,
.view:focus svg{
  fill: var(--main_color_active);
}
.view.active svg{
  fill: var(--main_color);
}
.view_chage{
  background-color: transparent;
  outline: none;
}
.sort-col_nubmer_button.active .btn_sort{
  background-color: var(--main_color);
  color: #fff;
}
.sort-col_nubmer_button:not(:last-child){
  margin-right: 15px;
}
.sort-col_nubmer_button .btn_sort{
  padding: 3px 3px;
  outline: none;
  border-radius: 2px;
  line-height: 1;
  color: var(--main_font_color);
  background-color: transparent;
  transition: .3s;
}
.sort-col_nubmer_button .btn_sort:hover{
  background-color: var(--main_color);
  color: #fff;
}
/* .sort-col_nubmer_button .btn_sort:active,
.sort-col_nubmer_button .btn_sort:focus{
  background-color: var(--main_color_active);
  color: #fff;
} */
@media (max-width: 481px) {
  .sort-limit, .sort-type {
    float: left;
    display: flex;
    justify-content: flex-start;
  }
  .sort-limit .sbHolder{
    margin-left: 5px;
  }
}
@media (max-width: 900px){
.sort-line .sort-col:first-child{
    padding-right: 10px;
  }
}
@media (max-width: 900px){
  .sort-type{
    width: 100%;
    margin-bottom: 15px;
    justify-content: flex-start;
  }
  .limit_and_view{
    width: 100%;
    justify-content: space-between;
    align-items: center;
  }
  .sort-limit{
    margin-right: 0px;
  }
  .sort-line{
    flex-direction: column;
  }
}

@media screen and (max-width: 1024px){
  #open_filter{
    margin-top: 15px;
  }
}


/* sort-switch */
.sort-switch {
    line-height: 1;
}
@media(max-width: 900px) {
    .sort-switch {
        justify-content: flex-start;
        width: 100%;
        margin-bottom: 15px;
    }
}
.sort-switch__link {
    line-height: inherit;
}
.sort-switch__text {
    margin-right: 8px;
    margin-left: 12px;
}
.sort-switch__switch {
    position: relative;
    display: block;
    width: 36px;
    min-width: 36px;
    height: 20px;
    border: 1px solid #e7e7e7;
    border-radius: 12px;
    background: #fff;
}
.sort-switch__switch::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 20px;
    height: 20px;
    margin: auto;
    content: "";
    -webkit-transition: all .3s ease;
            transition: all .3s ease;
    border-radius: 50%;
}
.sort-switch--all .sort-switch__switch::before {
    background: #d1cbc2;
}
.sort-switch--discount .sort-switch__switch::before {
    transform: translate(20px);
}
.sort-switch--all .sort-switch__link--active .sort-switch__switch::before,
.sort-switch--discount .sort-switch__switch::before {
    background: #ffa724;
    box-shadow: 0 4px 4px rgba(255, 167, 36, .24);
    -webkit-transform: translate(15px);
    transform: translate(15px);
}
.sort-switch--discount .sort-switch__link--active .sort-switch__switch::before,
.sort-switch--all .sort-switch__switch::before {
    background: #d1cbc2;
    box-shadow: none;
    -webkit-transform: translate(0);
    transform: translate(0);
}

/* Единый шрифт подписей в плашке сортировки (как у «Скидки») */
.sort-line .sort-col,
.sort-line .sort-col:first-child,
.sort-line .sort-col span,
.sort-line .sort-type .sbSelector,
.sort-line .sbOptions a {
    font-size: 14px;
    font-weight: 400;
    color: #3d4158;
}
.sort-line .sbOptions a:link,
.sort-line .sbOptions a:visited {
    font-size: 14px;
    font-weight: 400;
}
