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

.products-selection {
  padding         : 1.25rem 0;
  display         : flex;
  justify-content : space-between;
}

/*
----------------------------------
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 {
  position: relative;
  color : var(--color-grey-font-default)
}

.products-sort-order .select-title {
  display    : flex;
  align-items: center;
  font-weight: 600;
  color      : var(--color-black-default);
  cursor     : pointer;
  text-transform: lowercase;
  width      : 100%;
}

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

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

.products-sort-order .dropdown-menu {
  left          : auto;
  width         : 16.88rem;
  background    : #f6f6f6;
  border        : none;
  border-radius : 0;
  box-shadow    : 2px 2px 4px 0 rgba(0, 0, 0, .1);
  margin        : 0
}

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

@media (max-width : 575px) {

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

}

@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
  }

}
