/* Estilos para los filtros de la página de categoria*/


.sorting-lists a:hover {
  color: var(--secondary-color);
}

.sorting-lists {
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  min-width: 240px;
  z-index: 1;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  background-color: #fff;
  padding: 13px 20px;
  max-height: 55rem;
  overflow: hidden;
  overflow-y: auto;
  border: 1px solid rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  -webkit-transform: translateY(10px);
  -ms-transform: translateY(10px);
  transform: translateY(10px);
}

.collection-sorting:hover .sorting-lists {
  opacity: 1;
  visibility: visible;
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
}

.sorting-icon .icon {
  width: 20px;
  margin-left: 10px;
}

.sorting-lists li {
  padding: 7px 0;
  cursor: pointer;
  color: #2b2e30;
}

.sorting-header {
  cursor: pointer;
}

.filter-header {
  padding-bottom: 10px;
  cursor: pointer;
}

.filter-item input[type=checkbox] {
  display: none;
}

.filter-item .filter-label {
  padding: 7px 0;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  position: relative;
  font-size: 1.4rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  word-break: break-word;
  cursor: pointer;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.69;
  letter-spacing: 0.25px;
  color: #000000;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.filter-item:hover .filter-label {
  color: var(--secondary-color);
}

.filter-item:last-child .filter-label {
  padding-bottom: 0;
}

.filter-item:first-child .filter-label {
  padding-top: 0;
}

.filter-checkbox {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 1px solid #000;
}

.filter-checkbox {
  position: relative;
}

.filter-label input:checked+.filter-checkbox {
  background-color: #000;
}

.filter-label input:checked+.filter-checkbox:after {
  content: "";
  position: absolute;
  width: 10px;
  height: 5px;
  left: 4px;
  top: 4px;
  border-left: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  z-index: 1;
  -ms-transform: rotate(-45deg) translateY(-50%);
  -webkit-transform: rotate(-45deg) translateY(-50%);
  transform: rotate(-45deg) translateY(-50%);
}

.filter-lists {
  padding-top: 20px;
}

.filter-widget:not(:last-child) {
  margin-bottom: 40px;
}

.filter-color .filter-lists {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-left: -8px;
  margin-top: -12px;
}

.filter-color .filter-item {
  margin-left: 8px;
  margin-top: 12px;
}

.filter-color .filter-label {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  padding: 0;
  border: 1px solid transparent;
}

.filter-color .filter-label.white {
  background-color: white;
  border: 1px solid #ccc;
}

.filter-color .filter-label.red {
  background-color: red;
}

.filter-color .filter-label.green {
  background-color: green;
}

.filter-color .filter-label.blue {
  background-color: blue;
}

.filter-color .filter-label.pink {
  background-color: pink;
}

.filter-color .filter-label.purple {
  background-color: purple;
}

.filter-color .filter-label.orange {
  background-color: orange;
}

.filter-color .filter-label.gold {
  background-color: gold;
}

.filter-color .filter-label.aqua {
  background-color: aqua;
}

.filter-color .filter-label.brown {
  background-color: brown;
}

.filter-color .filter-label.bisque {
  background-color: bisque;
}

.filter-color .filter-label.grey {
  background-color: grey;
}

.filter-color .filter-label input:checked+.filter-checkbox:after {
  width: 15px;
  height: 7px;
  left: 9px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.filter-color .filter-label .filter-checkbox,
.filter-color .filter-label input:checked+.filter-checkbox {
  background-color: transparent;
  border: none;
}

.filter-field {
  width: 100%;
}

.filter-field .field-input {
  height: 35px;
  padding: 0 10px;
  border: 1px solid #EBEBF1;
  background: #EBEBF1;
  outline: none !important;
}

.filter-price {
  padding-top: 20px;
}

.related-heading,
.related-heading a {
  font-weight: 500;
  color: #000000;
  text-decoration: none;
}

.related-price {
  font-weight: 400;
  letter-spacing: 0.5px;
  color: #000000;
  margin-top: 12px;
}

.product-icon-star img {
  width: 17px;
}

.related-review-icon {
  margin-top: 5px;
}

.related-img-wrapper {
  width: 80px;
  min-width: 80px;
  margin-right: 20px;
}

.related-item {
  margin-top: 20px;
}

.filters-v2__btns-reset {
  background-color: #f5f5f5;
  padding: 4px 12px;
  margin-left: 1rem;
  transition: ease 0.2s;
}

.filters-v2__btns-reset:hover {
  background-color: #dadada;
  color: #000;
}

.filters-v2__badge {
  background-color: var(--secondary-color);
  color: #fff;
  padding: 4px;
  font-size: 10px;
  border-radius: 4px;
}

@media (max-width: 991px) {
  .filter-sort-wrapper {
    top: 65px;
    z-index: 9;
    background: #fff;
    padding: 5px 0;
  }

  .collection-title-wrap,
  .filter-sorting {
    padding: 10px 0;
  }

  .mobile-filter-heading {
    font-weight: 500;
    font-size: 16px;
  }

  .collection-filter {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 99;
    padding: 20px;
    height: 100%;
    overflow: hidden;
    overflow-y: auto;
    -webkit-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    transform: translateX(-100%);
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
  }

  .collection-filter.active {
    -webkit-transform: translateX(0%);
    -ms-transform: translateX(0%);
    transform: translateX(0%);
  }

  .sorting-lists-mobile {
    padding-top: 20px;
  }

  .sorting-lists-mobile li {
    position: relative;
  }

  .sorting-lists-mobile li:not(:first-child) {
    padding: 7px 0;
  }

  .sorting-lists-mobile li:before {
    content: "";
    z-index: 9;
    width: 16px;
    height: 16px;
    border: 1px solid #000;
    border-radius: 0.25rem;
    display: inline-block;
    top: 3px;
    position: relative;
    margin-right: 10px;
  }
}

@media (max-width: 480px) {
  .filter-sorting {
    width: 100%;
  }
}

@media (min-width: 992px) {

  #filter-color,
  #filter-talla,
  #filter-marca,
  #filter-collection {
    max-height: 205px;
    overflow-y: scroll;
  }
}
