.logoHome{
  text-align: center;
  position: relative;
  clear: both;
  margin: 0 auto;
}

.product-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.product-item {
  position: relative;
  width: calc(33.33% - 20px);
  margin: 5px;
  box-sizing: border-box;
  background-color: white;
  border: 1px solid #cecdcd;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding: 8px;
}

.product-item img {
  width: 100%;
  height: 200px;
  object-fit: contain;
}

.product-item h3 {
  font-size: 14px;
  margin: 5px 0;
  font-weight: bold;
  text-align: left;
   display: -webkit-box;
  -webkit-line-clamp: 3; /* limita el texto a 3 líneas */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-item p.descr{
   display: -webkit-box;
  -webkit-line-clamp: 8; /* limita el texto a 3 líneas */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 350px;
  text-align:left;
}


.product-item p {
  margin: 0 5px 5px;
  color: #999;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .product-list {
    flex-direction: column;
  }
  .product-item {
    width: 95%;
    margin: 10px 0;
  }
}

.product-item .price {
  font-size: 20px;
  font-weight: bold;
  color: #707070;
  margin: 0 5px;
  display: flex;
  justify-content: center;
}

.buy-button {
  display: block;
  background-color: #FFD700;
  border-radius: 20px;
  color: #000;
  padding: 5px 10px;
  margin: 10px auto;
  text-align: center;
  text-decoration: none;
  width: fit-content;
  font-weight: bold;
  font-size: larger;
  float: left;
  margin: 5px 5px;
}

.product-item .more-button,.product-item .buy-button{
  font-size: small;
}

a.buy-button:hover, a.more-button:hover{
    color: white;
}

.product-listbuttons{
    position: relative;
    display: flex;
    justify-content: center;
}

.product-listbuttons img{
    width: 20%;
    height: 2em;
}

.more-button {
  display: block;
  background-color: #7bdcb5;
  border-radius: 20px;
  color: #000;
  padding: 5px 10px;
  margin: 10px auto;
  text-align: center;
  text-decoration: none;
  width: fit-content;
  font-weight: bold;
  font-size: larger;
  float: left;
  margin: 5px 5px;
}

.ribbon {
    position: absolute;
    top: 0;
    left: 0;
    background-color: orange;
    width: 50px;
    color: white;
    text-align: center;
    border-radius: 10px 0 10px 0;
}


.star {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-image: url(images/star-empty.png);
  background-repeat: no-repeat;
  background-size: contain;
}

.star.filled {
  background-image: url(images/star-filled.png);
}

.star.half {
  background-image: url(images/star-half.png);
}

h1 {
  border-radius: 0.4em;
}

.product-container h1 {
  font-size: 1em;
    padding: 5px;
    font-style: inherit;
    width: 100%;
    border-radius: 0.4em;
}



.product-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 80%;
  margin: 50px auto;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border-radius: 10px;
}

.product-left {
  width: 35%;
  position: relative;
  text-align: center;
}

.product-right {
  width: 60%;
  padding-left: 20px;
  width: 60%;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-title {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
}

.product-brand {
  font-size: 1em;
  color: grey;
  margin-bottom: 20px;
}

.product-ratings {
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-rating {
  font-weight: bold;
  margin-right: 10px;
  font-size: 0.8em;
  color:orange;
}

.product-review-count {
  font-size: 0.7em;
  color: grey;
}

.product-description {
  margin-bottom: 20px;
}

.product-price {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 20px;
  margin-left: 20px;
  text-align: center;
  float: left;
  color: rgb(87, 87, 87);
}

.product-recommended-price {
  font-size: 1.2em;
  color: #aeabab;
  text-decoration: line-through;
  float: left;
}


@media (max-width: 767px) {
  .product-container {
    flex-direction: column;
    width: 90%;
    margin: 20px 0;
    padding: 10px;
  }

  .product-left {
    width: 100%;
    margin-bottom: 20px;
  }

  .product-right {
    width: 100%;
    padding: 0;
  }

  .product-title {
    font-size: 1.5em;
  }

  .product-brand {
    font-size: 0.8em;
  }

  .product-ratings {
    margin-bottom: 10px;
  }

  .product-rating {
    font-size: 0.8em;
  }

  .product-review-count {
    font-size: 0.6em;
  }

  .product-description {
    font-size: 0.7em;
    margin-bottom: 10px;
  }

  .product-price {
    font-size: 1.2em;
  }

  .product-recommended-price {
    font-size: 0.8em;
  }

  img {
    border-radius: 5px;
  }
}



/* gal imagenes */
	.container {
			display: flex;
			flex-direction: column;
			align-items: center;
		}

		.main-image {
			width: 100%;
			height: auto;
			margin: 10px 0;
		}

		.image-list {
			display: flex;
			flex-wrap: wrap;
			justify-content: center;
			margin-bottom: 10px;
		}

		.image-list img {
			width: 40px;
			height: 40px;
			margin: 0 5px;
			cursor: pointer;
      border: 1px solid rgba(255, 255, 255, 0);
		}

		.image-list img:hover {
			border: 1px solid red;
		}

.product-rows .product-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 10px;
  width: 100%;
}
.image-container {
  width: 33.33%;
  height: auto;
  margin-right: 10px;
}
.image-container img {
  width: 100%;
    max-height: 200px;
  object-fit: scale-down;
}
.details-container{
  width: 65%;
}

/*RIBONES*/
.ribbon-offer {
    background-color: #ef0945;
    color: #fff;
    padding: 5px 10px;
    position: absolute;
    right: 0;
    top: 0;
    border-radius:0 10px 0 10px;
}

.ribbon-prime {
    background-color: #fff;
    padding: 5px;
    height: 20px;
    float:left;

}

.ribbon-prime img {
    width: 50px;
}

.product-hidden{
  display: none !important;
}

.inlineflex{
  display: flex;
  justify-content: center;
  margin: 13px;
}
