.products-modal {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3137254902);
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
.products-modal .modal-content-product {
  width: 80%;
  height: 0;
  background-color: white;
  transition: 0.4s;
  overflow: hidden;
  border-radius: 12px;
  display: flex;
  padding: 20px;
  position: relative;
}
.products-modal .modal-content-product .image-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 70px;
  width: 40%;
  flex-direction: column-reverse;
  padding: 20px;
}
.products-modal .modal-content-product .image-content figure {
  width: 300px;
  height: 300px;
}
.products-modal .modal-content-product .image-content figure img {
  object-fit: contain;
}
.products-modal .modal-content-product .image-content .head-info-content h2 {
  font-size: 2rem;
  text-align: center;
  font-weight: 500;
}
.products-modal .modal-content-product .close-model-product {
  right: 26px;
  width: 20px;
  height: 20px;
  position: absolute;
  transition: 0.1s;
  border-radius: 50px;
  cursor: pointer;
  width: 30px;
  height: 30px;
}
.products-modal .modal-content-product .close-model-product figure {
  width: 30px;
  height: 30px;
}
.products-modal .modal-content-product .close-model-product figure img {
  object-fit: contain;
}
.products-modal .modal-content-product .close-model-product:active {
  background-color: rgba(0, 0, 0, 0.1882352941);
}
.products-modal .modal-content-product .detail-content {
  max-height: 620px;
  overflow-y: scroll;
  margin-top: 28px;
  width: 60%;
}
.products-modal .modal-content-product .detail-content .detail-info-content p {
  font-size: 1.8rem;
  line-height: 26px;
  padding: 12px;
}

.products-modal.show {
  opacity: 1;
  pointer-events: initial;
  z-index: 500000;
}
.products-modal.show .modal-content-product {
  max-width: 1000px;
  height: 550px;
}

.product-content {
  padding: 60px;
}
.product-content .products-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 180px;
  gap: 36px;
}
.product-content .products-container .product-card {
  border-radius: 8px;
  display: grid;
  grid-template-columns: 0.5fr 2fr;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3137254902);
  padding: 20px;
  cursor: pointer;
  transition: 0.1s;
  gap: 12px;
}
.product-content .products-container .product-card figure {
  width: 70px;
  height: 70px;
  place-self: center;
}
.product-content .products-container .product-card figure img {
  object-fit: contain;
}
.product-content .products-container .product-card .detail-container {
  align-self: center;
  display: grid;
  gap: 12px;
}
.product-content .products-container .product-card .detail-container h3 {
  font-size: 1.8rem;
  font-weight: 500;
  width: 100%;
  height: 24px;
}
.product-content .products-container .product-card .detail-container p {
  font-size: 1.6rem;
  height: 80px;
  -webkit-hyphens: auto;
  hyphens: auto;
  overflow: hidden;
}
.product-content .products-container .product-card .detail-container a {
  font-size: 1.4rem;
  justify-self: end;
  color: blue;
  font-weight: 500;
}
.product-content .products-container .product-card:hover {
  background-color: #efefef;
}
.product-content .products-container .product-card:active {
  transform: translateY(2px);
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3137254902);
}

@media (max-width: 1300px) {
  .product-content .products-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 1100px) {
  .products-modal.show .modal-content-product {
    width: 90%;
    min-width: 0;
  }
  .products-modal.show .modal-content-product {
    flex-direction: column;
  }
  .products-modal.show .modal-content-product .image-content {
    width: 100%;
  }
  .products-modal.show .modal-content-product .detail-content {
    width: 100%;
  }
}
@media (max-width: 950px) {
  .product-content .products-container {
    grid-template-columns: 1fr;
  }
  .product-content .products-container .product-card {
    padding: 20px;
  }
  .products-modal .modal-content-product .image-content {
    flex-direction: row;
    gap: 0;
  }
  .products-modal .modal-content-product .image-content figure {
    width: 100%;
    height: 100%;
  }
  .product-content {
    padding: 20px;
  }
}
@media (max-width: 700px) {
  .products-modal .modal-content-product .image-content figure {
    display: none;
  }
}

/*# sourceMappingURL=productos.css.map */
