/** CSS para el detalle de un producto, por ejemplo en el listado del buscador **/
.serie-product .product-box {
  background-color: #e2e1e7;
}

.product-box .product-image {
  border: 1px solid #e7e7e9;
  display: flex;
  justify-content: center;
  background: white;
  position: relative;
}

.product-box .product-image .its-new {
  position: absolute;
  right: 10px;
  top: 10px;
  color: #fff;
  background: #27a645;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.product-box img {
  height: 290px;
  object-fit: contain;
}

.product-box .product-info {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: #e2e1e7;
}

.product-box .name {
  color: #db052c;
  font-size: 1.4rem;
  font-weight: bold;
  word-break: break-all;
}

.product-box .categories {
  color: #595c63;
  font-size: 0.8rem;
}

.product-box .type {
  color: #595c63;
  margin-bottom: 5px;
  font-size: 0.8rem;
}

.product-box .feature {
  font-size: 0.8rem;
  margin-bottom: 5px;
}

@media screen and (max-width: 1024px) {
  .serie-product .product-box {
    flex: 1 0 30%;
  }
}

@media screen and (max-width: 800px) {
  .serie-product .product-box {
    flex: 1 0 40%;
  }
}

@media screen and (max-width: 380px) {
  .serie-product .product-box {
    flex: 1 0 50%;
  }
}
/* Diseño alternativo para el detalle de producto --> productos más vendidos y productos recomendados */

/* Productos más vendidos */
.product-box-alternate {
  display: flex;
  align-items: center;
  padding-bottom: 20px;
}

.product-box-alternate .product-image {
  display: flex;
  width: 60px;
  height: 60px;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.product-box-alternate .product-image img {
  max-height: 70px;
}

.product-box-alternate .product-info {
  display: flex;
  flex-direction: column;
  padding: 10px;
}

.product-box-alternate .name {
  color: #db052c;
  font-size: 1.4rem;
  font-weight: bold;
}

.product-box-alternate .categories {
  font-size: 0.7rem;
}

.product-box-alternate .type {
  font-size: 0.7rem;
}

/* Productos recomendados */
.product-box-mini {
  display: flex;
  flex-direction: column;
}

.product-box-mini .product-info {
  display: flex;
  flex-direction: column;
  padding: 20px 10px 10px 10px;
}

.product-box-mini .product-image {
  display: flex;
  background: #fff;
  width: 100%;
  justify-content: center;
  min-height: 130px;
  align-items: center;
}

.product-box-mini .product-image img {
  max-height: 100px;
}

.product-box-mini .name {
  color: #db052c;
  font-size: 1.3rem;
  line-height: 1.1;
  font-weight: bold;
  word-break: break-all;
}

.product-box-mini .categories {
  font-size: 0.7rem;
}

.product-box-mini .type {
  font-size: 0.7rem;
}
