.product-detail-main-image-container {
  overflow: hidden;
}

.product-detail-main-image {
  margin-bottom: .9rem;
  display: flex;
  /* width: 300%; */
  transition: all 0.5s ease;
  transform: translateX(0%);
  overflow: auto;
}

.product-detail-main-image img {
  /* width: calc(100% / 3); */
  width: 100%;
  object-fit: cover;
  flex-shrink: 0;
}



.product-detail-seconday-images {
  display: flex;
  gap: .5em;
  justify-content: center;
}

/* esta propiedad ya no sirve porque aplica cuando hay img en miniatura */
.product-detail-seconday-images img {
  width: 60px;
  height: auto;
  cursor: pointer;
}

.product-detail-seconday-images-img {
  width: .6em;
  height: .6em;
  cursor: pointer;
  border: 1px solid #000;
  background-color: #fff;
  border-radius: .5em;
  list-style-type: none;
}

.product-detail-attributes {
  padding: .7rem;
  display: flex;
  flex-direction: column;
}

.product-detail-attributes-header {
  display: flex;
  grid-template-columns: 1fr 1fr;
  justify-content: space-between;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.product-detail-attributes-header label {
  font-size: inherit;
}

.product-detail-attribute-color {
  margin-bottom: 1em;
}

.product-detail-attribute-color-content {
  display: flex;
  gap: 1rem;
}
.product-detail-attribute-size{
    margin-bottom: 1.3rem;
}
.product-detail-attribute-size-title {
  margin-bottom: .5em;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  color: #000c;
}

.size-guide-button {
  background-color: #fff;
  font-family: inherit;
  font-weight: 600;
  color: #000c;
  cursor: pointer;
}

.product-detail-attribute-size-content {
  display: flex;
  gap: .8em;
}

.product-detail-attribute-size-content div {
  border: 1px solid #000;
  min-width: 3rem;
  height: 2.5rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1em;
  cursor: pointer;
}

.product-detail-attribute-size-content div:hover,
.selected {
  background-color: #000;
  color: white;

}



.product-detail-description {
  letter-spacing: .05em;
  font-weight: 500;
  margin: 1.3rem 0;
  line-height: 1.5rem;
  border-top: 1px solid black;
  padding-top: .8rem;
}

.product-detail-description-title {
  display: block;
  padding-bottom: 1rem;
}

/* Modal de tabla de medidas */
.size-guide-modal {
  background-color: #f8f8f8;
  display: none;
  padding: 1.5rem;
  position: fixed;
  top: 0;
  width: 100%;
  height: 100vh;
  margin: 0 auto;
  z-index: 4;
}

.size-guide-title {
  margin: 1rem;
}

.close-modal {
  text-align: end;
}

.close-modal span {
  cursor: pointer;
  font-size: 1.5rem;
}

.size-guide-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 1rem;

}

.size-guide-header {
  background-color: #000000c9;
  color: white;
  padding: .2rem
}

.size-guide-header {
  padding: .2rem
}

.size-selected {
  font-weight: bold;
}

/*MEDIA QUERIES*/

@media screen and (min-width:767px) {
  .product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  /* .product-detail-main-image {
    width: 300%;
    overflow: hidden;
  }*/


  /* .product-detail-seconday-images {
    display: block;
    order: 1;
    text-align: end;
  } */
  .product-detail-main-image {
    overflow: hidden;
  }


  /* esta propiedad ya no sirve porque aplica cuando hay img en miniatura */
  .product-detail-seconday-images img {
    width: 100px;
    height: auto;
    object-fit: cover;
    margin: 0.3rem .5rem 0 3rem;
  }

  .product-detail-main-image-container {
    order: 2;
  }

  .product-detail-attributes {
    order: 3;
    padding: 0.7rem 5rem;
  }

  /* Details of products */
  .product-detail-attributes-header {
    order: 1;
  }

  .product-detail-description {
    order: 2;
  }

  .product-detail-attributes-body {
    order: 3;
  }

}
