/*TITLE*/
h2 {
  font-size: clamp(1rem, 3vw, 2rem);
  font-weight: bolder;
}

/*NAVBAR*/
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  visibility: visible;
  box-shadow: 3px 3px 6px #00000036;
}

.navbar-show {
  visibility: visible;
}

/*SLIDER*/
.slider {
  background-image: var(--cover-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  max-height: 450px;
  height: clamp(130px, 30vw, 450px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider img {
  max-width: 250px;
  height: 100%;
  width: clamp(50px, 25vw, 250px);
  border-radius: 100%;
}

/*MODALS*/
.store-information {
  font-size: 0.9rem;
  color: #000000;
}
.store-information a {
  padding: 0.25rem;
  background-color: aliceblue;
  text-decoration: none;
  font-size: 0.9rem;
  color: #000000;
}

.list-information {
  padding: 0;
  list-style: none;
}
.list-information i {
  width: 1rem;
}
.truncate {
  width: 300px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/*NEWS*/
.news {
  margin-block: clamp(2rem,5vw,5rem);
}
.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  gap: clamp(1rem, 5vw, 3rem);
}
.product-description {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: center;
  align-items: start;
}
h2,h3,
.description {
  display: -webkit-box; /* Comportamiento tipo caja flexible */
  -webkit-line-clamp: 2; /* Máximo de líneas a mostrar */
  -webkit-box-orient: vertical;
  overflow: hidden; /* Oculta el exceso */
  text-overflow: ellipsis;
}
.description {
  font-size: clamp(0.8rem, 2vw, 1rem);
}
.product-image {
  max-height: 300px;
  max-width: 600px;
}

.product-image img {
  width: clamp(150px, 50vw, 600px);
  height: clamp(50px, 40vw, 300px);
  border-radius: 1rem;
  object-fit: cover;
  object-position: top;
}

.text-category {
  text-align: center;
  color: #979797;
  font-style: italic;
}

.text-price {
  text-align: center;
  font-size: clamp(0.8rem, 2vw, 1rem);
  font-weight: bold;
  font-family: sans-serif;
}

/*PRODUCTS*/
.grid-products {
  display: flex;
  flex-direction: column;
  column-gap: 3rem;
  gap: clamp(1rem, 5vw, 3rem);
  align-items: center;
  justify-content: center;
}

#btn-more {
  display: flex;
  justify-content: center;
  align-items: center;
}
