#categoryReference {
  text-align: left;
  font-weight: 700;
  color: #4d5550;
  margin-bottom: 30px;
  margin-top: 30px;
  text-transform: lowercase;
  color: #000;
  letter-spacing: 0;
  margin-bottom: 32px;
  width: fit-content;
  float: left;
  height: 19px;
  font-size: 14px;
}

.closed {
  display: none;
}

.specText {
  text-align: center;
  line-height: 45px;
  color: #000;
  font-size: 16px;
}

.specDiv {
  position: relative;
  float: left;
  width: 43px;
  height: 43px;
  overflow: hidden;
  margin-right: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  box-sizing: border-box;
  display: flex;
  border: 1px solid #000;
  transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  -webkit-transition: all 0.2s ease-out;
  -o-transition: all 0.2s ease-out;
  align-items: center;
  justify-content: center;
}

.specImg {
  position: relative;
  -o-object-fit: cover;
  object-fit: cover;
  margin: 0 auto;
  object-position: center;
  cursor: pointer;
  border: 1px solid transparent;
  display: block;
  width: 42px;
  height: 42px;
}
.specImg[title="Blanco"],
.specImg[title="Blanca"] {
  border: 1px solid var(--lighter-base);
}

.selectedSpecfilterBoxContainer .specImg {
  border: 1px solid var(--base);
}
.selectedSpec .specBorder,
.specDiv:hover .specBorder {
  position: absolute;
  bottom: 0;
  height: 2px;
  width: 100%;
  background-color: #241f20;
}

.filterDropdown {
  position: relative;
  height: auto;
  overflow: hidden;
  width: 92%;
  padding: 0px 0px 0px 8%;
  border-bottom: 1px solid #0000004d;
}
.filterDropdown:last-of-type {
  border-bottom: none;
}

.filtersContainer {
  position: relative;
  width: calc(100% - 26px);
  height: 0;
  overflow: hidden;
}
.filterNameDropdown {
  position: relative;
  width: 91%;
  padding: 27px 0;
  text-align: left;
  cursor: pointer;
  float: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  cursor: pointer;
  float: left;
  color: #000;
}

.filtersContainer {
  position: relative;
  width: calc(100% - 26px);
  height: 0;
  overflow: hidden;
}

.filterNameArrow {
  float: right;
  margin-right: 8px;
  transition: transform 0.1s ease-out;
  -moz-transition: -mox-transform 0.1s ease-out;
  -webkit-transition: -webkit-transform 0.1s ease-out;
  -o-transition: -o-transform 0.1s ease-out;
  -ms-transition: -ms-transform 0.1s ease-out;
}

.filterNameDropdown.open .filterNameArrow {
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(0deg);
}

#filtersDiv {
  position: absolute;
  float: left;
  width: 220px;
}

#openFilterBtn {
  background-color: #000;
  width: 50px;
  color: #fff;
  top: 0;
  padding: 0px 8px;
  box-sizing: border-box;
  right: 0;
  position: absolute;
  cursor: pointer;
  z-index: 1;
  height: 38px;
  box-sizing: border-box;
  font-size: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border: 1px solid #000;
}

#cartInfo {
  margin-top: 10px;
  width: 150px;
  margin-left: 42px;
  float: left;
  background-color: #f7f7f7;
  padding: 10px;
}

.filterName {
  position: relative;
  width: 100%;
  text-transform: lowercase;
  margin-bottom: 10px;
  margin-top: 10px;
  font-weight: 800;
  font-size: 14px;
  text-align: center;
  letter-spacing: 1px;
  color: #000;
  text-transform: lowercase;
  text-align: left;
  cursor: pointer;
  float: left;
  margin-bottom: 20px;
}

.filterNameText {
  width: fit-content;
  float: left;
  font-weight: 100;
  color: #000;
  text-transform: lowercase;
}
.openCloseFilter {
  font-weight: 600;
  font-size: 14px;
}

.filterName:hover .filterNameText {
  text-decoration: underline;
}

#filterImg {
  float: left;
  /* margin-left: 10px; */
  width: 26px;
}

.filterNameArrow {
  float: right;
  margin-right: 8px;
  margin-top: 10px;
  transform: rotate(270deg);
  transition: transform 0.1s ease-out;
  -moz-transition: -mox-transform 0.1s ease-out;
  -webkit-transition: -webkit-transform 0.1s ease-out;
  -o-transition: -o-transform 0.1s ease-out;
  -ms-transition: -ms-transform 0.1s ease-out;
}

.filterName.open .filterNameArrow {
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.subfilterName,
.categoryDiv {
  position: relative;
  display: inline-block;
  width: auto;
  color: #000;
  font-size: 14px;
  cursor: pointer;
  text-align: left;
  margin-bottom: 12px;
  text-transform: lowercase;
}
.specDiv .subfilterName {
  line-height: 40px;
  text-align: center;
  max-width: 100%;
  margin: 0 auto;
}
.specDiv:hover .subfilterName,
.selectedSpec.specDiv .subfilterName {
  color: #fff;
}
.specDiv:not(.hasImg):hover,
.selectedSpec.specDiv:not(.hasImg) {
  background: #000;
}

.subfilterName::after,
.hasImg::after,
.categoryDiv::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  bottom: -4px;
  position: absolute;
  left: 0;
  background: #000;
  transition: width 0.3s;
}

.subfilterName.selectedSubfilter::after {
  width: 100%;
}
.categoryDiv::after {
  bottom: 0;
}
.subfilterName:hover::after,
.hasImg:hover::after,
.categoryDiv:hover::after,
.selectedFilter .subfilterName::after,
.selectedPrice .subfilterName::after,
.hasImg.selectedSpec::after {
  width: 100%;
}

.selectedSubfilter {
  color: #000;
}

.selectedSubfilter::after {
  width: 100%;
}

.categoryDiv {
  position: relative;
  width: fit-content;
  height: auto;
  height: 30px;
  display: flex;
  color: #000;
  align-items: center;
  overflow: hidden;
  text-align: left;
}

.subcategoryDiv {
  width: 100%;
  height: auto;
}

.categoryName {
  text-transform: lowercase;
  color: #000;
  margin-top: 16px;
  letter-spacing: 0.1em;
}

.categoryProducts {
  float: right;
  color: #b2a192;
  font-weight: lighter;
  font-size: 15px;
}

.subcategoryName {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
}

.subcategoryName:first-letter {
  text-transform: capitalize;
}

.openCategory {
  margin-top: 18px;
  float: right;
  cursor: pointer;
}

.subFilter {
  font-size: 12px;
  font-weight: 100;
  height: auto;
  width: 100%;
  float: left;
  margin-bottom: 10px;
}

#leftProductsContent {
  background-color: #fff;
  position: fixed;
  height: 100vh;
  width: 335px;
  top: 0;
  overflow-x: hidden;
  right: -500px;
  color: #4d5550;
  z-index: 9999999;
  overflow-y: auto;
  box-shadow: -7px 0 18px rgba(0, 0, 0, 0.1);
  -moz-transition: width 0.5s ease-in-out, left 0.05s ease-in-out;
  -webkit-transition: width 0.5s ease-in-out, left 0.05s ease-in-out;
  -moz-transition: width 0.5s ease-in-out, left 0.05s ease-in-out;
  -o-transition: width 0.5s ease-in-out, left 0.05s ease-in-out;
  transition: right 0.5s ease-in-out, left 0.05s ease-in-out;
}

#leftProductsContent.openFilter {
  right: 0px;
}

.filterHeader {
  height: 80px;
  border-bottom: 1px solid #0000004d;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#cleanFilters,
#applyFilters {
  width: 50%;
  text-align: center;
  position: relative;
  font-weight: 600;
  margin: 0 auto;
  padding: 25px 0;
  cursor: pointer;
  color: black;
  text-transform: lowercase;
  font-size: 14px;
}

#applyFilters {
  border-right: 1px solid var(--lighter-base);
}

#cleanFiltersContainer {
  width: 100%;
  height: auto;
  overflow: hidden;
  position: absolute;
  left: 0;
  border-top: 1px solid var(--lighter-base);
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.filterTitle {
  line-height: 60px;
  font-size: 18px;
  font-weight: 700;
  color: #000;
  width: auto;
  position: relative;
  float: left;
  margin-left: 8%;
  text-transform: lowercase;
}

#closeFilter {
  float: left;
  width: fit-content;
  font-size: 18px;
  cursor: pointer;
  text-transform: lowercase;
  margin-right: 9%;
  font-weight: 700;
  color: #000;
}

#filters {
  width: 100%;
  height: calc(100% - 160px);
  float: left;
  position: relative;
  overflow-y: auto;
}

#rightProductsContent {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  float: left;
  margin: 30px auto 30px;
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(4, 1fr);
}

.widthContainer {
  width: 95%;
  /* min-width: 1024px; */
}

#noProducts {
  position: absolute;
  color: #241f20;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.hasImg {
  border: 1px solid transparent;
}
.hasImg::after {
  bottom: 0px;
}

.leftColumnDummy {
  position: relative;
  float: left;
  width: 200px;
  margin-right: 20px;
  /* margin-top: 30px; */
}

.subfilterName .filterCircle::after {
  display: block;
  content: "";
  width: 80%;
  height: 80%;
  position: absolute;
  left: 10%;
  top: 10%;
  border-radius: 50%;
  background: ￼#fff;
}

.filterBoxContainer.selectedBrand .filterCircle::after,
.filterBoxContainer.selectedFilter .filterCircle::after,
.filterBoxContainer.selectedSpec .filterCircle::after,
.filterBoxContainer.selectedPrice .filterCircle::after {
  background: var(--base);
}

.priceFilter .subfilterName {
  padding-left: 0;
  text-align: left;
  cursor: pointer;
}

.subfilterName .filterCircle {
  width: 15px;
  height: 15px;
  box-sizing: border-box;
  position: relative;
  border-radius: 50%;
  border: 1px solid var(--base);
}

#filterTitle {
  position: relative;
  width: 100%;
  font-weight: 800;
  text-transform: lowercase;
  font-size: 16px;
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-align: center;
}

.orderByContainer {
  z-index: 1;
  position: relative;
  float: right;
  display: flex;
  margin-right: 55px;
  justify-content: space-between;
  width: fit-content;
  top: 0;
}

.orderTitle {
  color: #000;
  font-size: 16px;
  margin-right: 20px;
  line-height: 34px;
}

.selectedOrder {
  color: #535353;
  font-weight: 500;
  float: left;
  text-indent: 10px;
}

.arrowOrder {
  float: right;
  margin: 0 10px;
}

.orderByDropdown {
  position: relative;
  border-radius: 0;
  cursor: pointer;
  border: 1px solid #000;
  width: 210px;
  height: 36px;
  font-weight: 500;
  color: #000;
}

.selectedOrderContainer {
  min-width: 100px;
  height: 30px;
  line-height: 30px;
}

.orderOptions {
  position: relative;
  width: 100%;
  height: 0;
  overflow: hidden;
}

.order {
  color: #a1a1a1;
  margin: 5px 0;
  text-indent: 10px;
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
}

.order:hover {
  color: #535353;
}

#orderSelect {
  height: 100%;
  width: 100%;
  border-radius: 4px;
  padding-left: 17px;
  font-size: 14px;
  background-image: url(../../files/dropdownArrow.svg);
  z-index: 1;
  background-repeat: no-repeat;
  background-position: calc(100% - 12px) 52%;
  padding-right: 17px;
  background-size: 10px;
  text-transform: lowercase;
  border: none;
  background-color: transparent;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -ms-appearance: none;
}

#selectProductSizeDiv {
  width: 135px;
  float: right;
  border: 1px solid #ccc;
  height: 32px;
  margin-right: 0.5%;
}

#favTitle {
  text-align: left;
  font-weight: 700;
  color: #4d5550;
  margin-bottom: 30px;
  margin-left: 2%;
  margin-top: 30px;
  text-transform: lowercase;
  color: #000;
  letter-spacing: 0;
  font-size: 19px;
  margin-bottom: 60px;
  width: fit-content;
  float: left;
}

@media (max-width: 1024px) {
  .widthContainer {
    /* max-width: 1024px; */
    /* margin-left: 15px; */
  }
}

@media screen and (max-width: 768px) {
  #filtersDiv {
    top: 90px;
    width: 250px;
    position: fixed;
    right: 0;
    z-index: 1;
  }

  .filtersTitle {
    position: relative;
    width: 65px;
    height: 35px;
    line-height: 45px;
    background-color: #000;
    color: #fff;
    text-align: center;
    letter-spacing: 1px;
    float: right;
    cursor: pointer;
    transition: border-radius 0.1s ease-out, width 0.1s ease-out;
    -moz-transition: border-radius 0.1s ease-out, width 0.1s ease-out;
    -webkit-transition: border-radius 0.1s ease-out, width 0.1s ease-out;
    -o-transition: border-radius 0.1s ease-out, width 0.1s ease-out;
  }

  .filtersTitle.open {
    width: 100%;
  }

  #mobileFiltersIcon {
    position: absolute;
    height: 21px;
    top: 7px;
    float: left;
    left: 20px;
    transition: left 0.1s ease-out;
    -moz-transition: left 0.1s ease-out;
    -webkit-transition: left 0.1s ease-out;
    -o-transition: left 0.1s ease-out;
  }

  .widthContainer {
    min-width: 100px;
    margin-left: 5%;
    width: 90%;
    margin-top: 45px;
  }

  #categoryReference {
    margin: auto;
    margin-bottom: 0;
    width: 100%;
    margin-top: 15px;
  }
#categoryReference + #openFilterBtn{margin-top: 94px;}
  #leftProductsContent {
    height: 100dvh;
    background-color: #fff;
    width: 250px;
    margin-top: 0px !important;
  }
  #leftProductsContent.openFilter {
    /* right: -5%; */
  }

  #mobileFiltersTitle.open #mobileFiltersIcon {
    left: 200px;
  }

  #rightProductsContent {
    margin-top: 0;
    width: 100%;
    padding-top: 15px;
    top: 8px;
    grid-template-columns: repeat(2, 1fr);
  }

  #noProducts {
    position: relative;
    text-align: center;
    color: #000;
    width: 100% !important;
    margin-top: 60px;
    margin-bottom: 150px;
    line-height: 19px;
  }

  #mobileCloseFilters {
    float: right;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    color: #333234;
    cursor: pointer;
    margin-top: 5px;
    margin-right: 5px;
  }

  #leftProductsContent.open {
    left: 0;
  }

  .subcategoryDiv {
    margin-left: 10px;
  }

  .filterHeader {
    position: relative;
    width: 100%;
    text-align: center;
  }

  #favTitle {
    margin: auto;
    margin-bottom: 0;
    margin-top: 30px;
    font-size: 17px;
    width: 65%;
    margin-left: 10px;
  }
  .orderByContainer {
    top: 19px;
    margin: 0 0 20px;
    width: calc(100% - 50px);
    float: left;
  }
  .orderByDropdown {
    height: 33px;
    width: 100%;
  }
  #openFilterBtn {
    width: 40px;
    margin-top: 60px;
    height: 35px;
    right: calc((100% - var(--web-container)) / 2);
    font-size: 15px;
    position: fixed;
    z-index: 2;
    top: 22px;
    padding: 9px 12px;
  }
}

@media screen and (min-width: 1100px) {
  #cleanFilters:hover,
  #applyFilters:hover {
    background: #000;
    color: #ffffff;
  }
  #openFilterBtn:hover #filterImg {
    filter: invert(1);
  }
  #openFilterBtn:hover {
    opacity: 0.8;
    border: 1px solid #000;
    color: #000;
    background: #ffffff;
  }
}
