/*
---------------------
Products-selection
---------------------
*/

.products-selection {
  padding-bottom : 15px;
}

/*
----------------------------------
Part - Products-sort-order
----------------------------------
*/

.products-selection .sort-by-row {
  display           : -webkit-box;
  display           : -ms-flexbox;
  display           : flex;
  -webkit-box-align : center;
  -ms-flex-align    : center;
  align-items       : center
}

.products-selection .sort-by {
  white-space  : normal;
  word-break   : break-word;
  margin-right : 0.5em;
}

.products-sort-order {
  display      : none;
  position     : relative;
  color        : var(--color-grey-font-default);
  padding-left : 20px;
}

.products-sort-order .select-title {
  display       : flex;
  align-items   : center;
  column-gap    : 10px;
  font-size     : 15px;
  font-weight   : 400;
  color         : #000;
  cursor        : pointer;
  border-radius : 3px;
  line-height   : 1;
  width         : 100%;
  height        : 43px;
  padding       : 12px 16px;
}

.products-sort-order .select-list {
  display    : block;
  color      : var(--color-black-default);
  transition : all 0.35s ease-in-out;
  padding    : .625rem 0;
}

.products-sort-order .select-list:hover {
  color           : var(--color-secondary);
  text-decoration : none
}

.products-sort-order .dropdown-menu {
  left          : auto;
  background    : #fff;
  border        : 1px solid #000;
  border-radius : 0;
  padding-left  : 20px !important;
  padding-right : 5px;
  margin        : 0;
}

.selectedFilters_duplicate_top.inline {
  display     : flex;
  flex-wrap   : wrap;
  align-items : center;
  gap         : 10px;
  text-align  : left;
  line-height : 1.2;
  margin      : 15px 0 5px 0;
}

.selectedFilters_duplicate_top .cf {
  background      : #dad9d9;
  border-radius   : 15px;
  padding         : 2px 7px 2px 10px;
  display         : flex;
  align-items     : center;
  justify-content : space-between;
  position        : relative;
  line-height     : 1;
}

/*
----------------------------------
Filters
----------------------------------
*/

.sort-by-row .af-form {
  display     : flex;
  gap         : 10px;
  padding-top : 0 !important;
}

.sort-by-row .af_filter {
  border-bottom  : none;
  padding-bottom : 0 !important;
  margin-bottom  : 0;
  max-width      : 180px;
}

.sort-by-row .af_filter_content select {
  font-size     : 15px;
  color         : #000;
  border-radius : 3px;
  border        : 1px solid #C4BFB6;
  height        : 43px !important;
  padding       : 12px 32px 12px 16px;
}

/*
----------------------------------
Media Queries
----------------------------------
*/

@media (max-width : 767px) {

  .products-selection h1 {
    padding-top   : 0;
    text-align    : center;
    margin-bottom : 1rem
  }

  .products-selection .showing {
    padding-top : 1rem
  }

  .products-sort-order .select-title {
    margin-left : 0
  }

}

@media (max-width : 575px) {

  .products-selection .filter-button {
    padding-left : 0
  }

}

@media screen and (min-width : 1023px) {

  .products-sort-order .dropdown-menu {
    width : 16.88rem;
  }

  .selectedFilters.inline {
    display : none !important;
  }

  .products-sort-order .select-title {
    border : 1px solid #C4BFB6;
  }

}
