@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;500;600&display=swap");

/* html{
   font-size: 62.5%;
   overflow-x: hidden;
}

body{
   background: #eee;
} */

.container {
  /* max-width: 1200px; */
  margin: 0 auto;
  padding: 3rem 2rem;
  padding-top: 20px;
  /*  */
}

.container .title {
  font-size: 3.5rem;
  color: #444;
  margin-bottom: 3rem;
  text-transform: uppercase;
  text-align: center;
}

.container .products-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
  gap: 2rem;
  width: 100%;
  height: auto;
  align-items: center;
  justify-content: center;
  margin: 0 0 15rem 0;
}

.container .products-container .product-item {
  width: 100%;
  height: 100%;
}

.container .products-container .product img {
  width: 100%;
  height: 300px;
}

.container .products-container .product {
  text-align: center;
  padding: 2rem;
  background: #fff;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  /* outline: 0.1rem solid #1a3775; */
  outline-offset: -1.5rem;
  cursor: pointer;
  /* max-width: 350px; */
}

/* .container .products-container .product:hover {
  outline: 0.2rem solid #1a3775;
  transition: 500ms ease-in;
  -webkit-transition: 500ms ease-in;
  -moz-transition: 500ms ease-in;
  -ms-transition: 500ms ease-in;
  -o-transition: 500ms ease-in;
  outline-offset: 0;
} */

.container .products-container .product:hover {
  transition: 300ms ease-in;
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
}

.container .products-container .product:hover img {
  transform: scale(0.9);
}

.container .products-container .product h3 {
  padding: 0.5rem 0;
  font-size: 2rem;
  color: #1a3775;
}

.container .products-container .product h4 {
  font-weight: bold;
}

.products-container .product:hover h3 {
  color: #f88e2b;
}

.products-container .product button {
  margin-top: 2rem;
  border: none;
  background-color: #1a3775;
  color: white;
  font-size: 14px;
  min-width: 110px;
  min-height: 25px;
}

.container .products-container .product .price {
  font-size: 2rem;
  color: #1a3775;
}

.container .products-container .product:hover .price {
  color: #f88e2b;
}

.products-preview {
  position: fixed;
  top: 0;
  left: 0;
  min-height: 100vh;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
}

.products-preview .preview {
  /* display: none; */
  display: inline-block;
  padding: 2rem;
  text-align: center;
  background: #fff;
  position: relative;
  margin: 2rem;
  /* width: 50rem; */
  /* height: 50%; */
  /* min-height: 40vh; */
  /* min-width: 80vh; */
}

.products-preview .preview.active {
  display: inline-block;
}

.products-preview .preview img {
  /* height: 30rem; */
  /* min-height: 30rem; */
  /* margin-top: 50px; */
  /* padding: 2rem; */
  width: 100%;
  max-width: 700px;
  min-width: 650px;
  /* border: 2px solid red; */

  /* max-width: 100%; */
  /* min-width: 50rem; */
}

.products-preview .preview p {
  line-height: 1.5;
  padding: 1rem 0;
  font-size: 1.6rem;
  color: #1a3775;

  width: 100%;
  max-width: 700px;

  margin: 0 auto;
}

.products-preview .preview .fa-times {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  cursor: pointer;
  color: #444;
  font-size: 4rem;
}

.products-preview .preview .fa-times:hover {
  transform: rotate(90deg);
}

.products-preview .preview h3 {
  color: #1a3775;
  padding: 0.5rem 0;
  font-size: 2.5rem;
}

.products-preview .preview .stars {
  padding: 1rem 0;
  font-size: 1.7rem;
}

.products-preview .preview .stars i {
  /* color:#27ae60; */
  color: #f88e2b;
}

.products-preview .preview .stars span {
  color: #1a3775;
}

.products-preview .preview .price {
  padding: 1rem 0;
  font-size: 2.5rem;
  /* color:#27ae60; */
  color: #f88e2b;
}

.products-preview .preview .buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.products-preview .preview .buttons a {
  flex: 1 1 16rem;
  padding: 1rem;
  font-size: 1.8rem;
  /* color:#444; */
  color: #1a3775;
  border: 0.1rem solid #444;
}
/* 
.products-preview .preview .buttons a.cart{
   background: #444;
   color:#fff;
} */

.products-preview .preview .buttons a.cart:hover {
  background: #1a3775;
  color: #fff;
}

.products-preview .preview .buttons a.buy:hover {
  background: #1a3775;
  color: #fff;
}

.precios {
  display: flex;
  flex-direction: row;
  /*  */
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  margin-top: 10px;
}

.precios input {
  width: 50px;
  height: 40px;
  padding-left: 10px;
  font-size: 20px;
  margin-right: 10px;
  color: #1a3775;
  font-weight: bold;
  border: 1px solid #1a3775;
}
.precios input[type="text"] {
  /*  */
  min-width: 100px;
  text-align: center;
}

/* CARRO */

/* Cart Items Details */

.cart-page {
  margin: 30px auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 22px;
}

.cart-info {
  display: flex;
  flex-wrap: wrap;
}

.cart-info img {
  margin: auto 30px auto 0;
}

th {
  text-align: left;
  padding: 5px;
  color: #fff;
  background: #ff523b;
  font-weight: normal;
}
td {
  padding: 30px 5px;
}
td input {
  width: 40px;
  height: 30px;
  padding: 10px;
  margin-left: 20px;
}
td a {
  color: #ff523b;
  font-size: 20px;
}

td img {
  width: 80px;
  height: 80px;
  margin-right: 10px;
}
.total-price {
  display: flex;
  justify-content: flex-end;
}

.total-price table {
  border-top: 3px solid #ff523b;
  width: 100%;
  max-width: 400px;
}
td:last-child {
  text-align: right;
}
th:last-child {
  text-align: right;
}

.small-container.cart-page {
  margin-top: 100px;
  margin-bottom: 300px;
}

th {
  font-size: 25px;
  background-color: #1a3775;
  color: white;
}

.cart-info > div > a {
  color: #1a3775;
}

.total-price table {
  border-top: 3px solid #1a3775;
}

/* .cont-button {
  width: 100%;
  border: 2px solid red;
} */

.btn.decoub {
  width: 150px;
  height: 70px;
  border-radius: 30px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  -o-border-radius: 30px;
  color: white;
  background-color: #1a3775;
}

/* Ajustes */

/* MEDIAS */
/* ****** */
@media (max-width: 1070px) {
  .container .products-container {
    margin-bottom: 18%;
  }
}
@media (max-width: 991px) {
  html {
    font-size: 55%;
  }
}
@media (max-width: 768px) {
  .products-preview .preview img {
    height: 25rem;
  }
}
@media (max-width: 450px) {
  html {
    font-size: 50%;
  }
}
