@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Open+Sans&display=swap');

.thumbnail {
  flex: 1 1 21%;
  max-width: 21%;
  background-color: #f1f1f1;
  border-bottom: 5px solid #95c9c3;
  border-radius: 12px;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s, transform 0.3s;
  position: relative;
  animation: menuFadeIn 0.4s ease;
}
/* Ver más: ocultar contenido extra por defecto */
.thumbnail .extra-info {
  display: none;
  margin-top: 12px;
  text-align: left;
}
/* Mostrar contenido extra cuando el thumbnail tiene la clase .show-more */
.thumbnail.show-more .extra-info {
  display: block;
}
/* Estilo para el botón "Ver más" */
.thumbnail .see-more-btn {
  background: #28a745;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 8px 18px;
  margin-top: 10px;
  cursor: pointer;
  font-size: 15px;
  transition: background 0.2s, transform 0.2s;
}
.thumbnail .see-more-btn:hover {
  background: #218838;
  transform: translateY(-2px);
}
/* ░░░ GALERÍA DE MODELOS DE UN PRODUCTO (Ej: Sillones) ░░░ */
.thumbnail2  {
  flex: 1 1 30%;
  max-width: 30%;
  background-color: #f8f8f8;
  border-bottom: 4px solid #8abcb5;
  border-radius: 4px;
  padding: 20px;
  text-align: center;
  box-sizing: border-box;
  animation: menuFadeIn 0.4s ease;
}

.precio-anterior {
  text-decoration: line-through;
  color: gray;
  margin-right: 8px;
  font-size: 14px;
  color: #a72848;
  margin-bottom: 2px;
  margin-top: 10px;
}

.precio-actual {
  font-size: 24px;
  color: #28a745;
  margin-bottom: 20px;
}

.descuento-porcentaje {
  font-family: 'Montserrat', sans-serif;
  color: #e53935; /* rojo intenso */
  font-weight: bold;
  font-size: 1.25rem;
  margin-top: 4px;
  margin-bottom: 1px;
  animation: fadeIn 0.6s ease;  
}

.thumbnail3 {
  width: 100%;
  max-width: 600px;
  margin: 40px auto;
  background-color: #f8f8f8;
  border: 2px solid #ddd;
  border-radius: 6px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  animation: menuFadeIn 0.4s ease;
}
.thumbnail3 img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  margin-bottom: 20px;
}
.thumbnail3 h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #333;
}
.thumbnail3 .precio {
  font-size: 24px;
  color: #28a745;
  margin-bottom: 20px;
}
.thumbnail .precio {
  font-size: 24px;
  color: #28a745;
  margin-bottom: 20px;
}

.thumbnail3 .descripcion {
  font-size: 16px;
  color: #444;
  line-height: 1.5em;
  margin-bottom: 20px;
}
.thumbnail3 .caracteristicas {
  list-style: disc;
  margin: 0 auto 30px;
  padding: 0;
  max-width: 50%;
  text-align: left;
  color: #555;
}
.thumbnail3 .comprar,
.thumbnail3 .contacto {
  margin: 10px 10px 0;
}
.carrusel-producto {
  position: relative;
  max-width: 600px;
  margin: 0 auto 20px; 
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 0 6px rgba(0,0,0,0.05);
}
.carrusel-producto-wrapper {
  display: flex;
  transition: transform 0.5s ease;
}
.carrusel-producto-item {
  min-width: 100%;
  display: block;
  object-fit: contain;
  border-radius: 6px;
}
.carrusel-producto-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffffee;
  border: 2px solid #ddd;
  border-radius: 50%;
  padding: 8px;
  cursor: pointer;
  font-size: 1.2em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.carrusel-producto-btn.prev { left: 10px; }
.carrusel-producto-btn.next { right: 10px; }
.carrusel-producto-item.active {
  opacity: 1;
}

/*thumbnails-global*
/* Agregar en tu CSS existente */
.stock-info {
  margin: 8px 0;
  font-size: 14px;
  font-weight: bold;
  color: #666;
  min-height: 20px; 
}

.stock-disponible {
  color: #28a745; /* Verde */
}

.stock-agotado {
  color: #dc3545; /* Rojo */
}

.stock-cargando {
  color: #6c757d; /* Gris */
  font-style: italic;
}

/*animaciones*/
.thumbnail:hover,
.thumbnail3:hover,
.thumbnail2:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform: translateY(-6px);
}
/* ========== CARDS ========== */
.cards,
.cards2 {
  width: 100%;
  object-fit: cover;
  border-radius: 8px; /* Slightly rounded corners for images */
  transition: transform 0.3s;
  display: block;
}
.cards:hover {
  transform: scale(1.05);
}


/* ========== RESPONSIVE ========== */
/* ░░░ RESPONSIVE SETTINGS ░░░ */
/* Tablet: 2 por fila */
@media (max-width: 1024px) {
    .thumbnail,
    .thumbnail2 {
    flex: 1 1 45%;
    max-width: 45%;
  }

  .social-buttons{
display:none;
  }
  .menu-toggle {
    width: flex;
    font-size: clamp(17px, 2vw, 10px);
    margin-right:10px;
    margin-left: 10;

  }
  .menu-content {
    width: 50%;
  }
  .menu-content button {
    font-size: 100%;
    padding: 5px 10px ;
  }
}
/* Móvil: 1 por fila */
@media (max-width: 767px) 
{
  .header {
    display: flex;
    flex-direction: row; /* Cambia de column a row */
    align-items: center;
    justify-content: flex-start;
    padding: 6px 8px;
    height: 176px; /* Más compacto */
    gap: 5px; /* Espacio entre elementos */
  }
.thumbnail2 {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 15px;
    margin-bottom: 20px;
  }

  .thumbnail2 img.cards {
    width: 100%;
    height: auto;
    border-radius: 6px;
  }

  .thumbnail2 h4,
  .thumbnail2 p {
    font-size: 1rem;
    margin: 5px 0;
  }

.dimensiones {
    font-size: 0.5rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    overflow-x: auto;
    display: block;
    margin-top: 10px;
  }

  .dimensiones th {
    background-color: #f0f0f0;
    font-weight: 600;
  }

  .dimensiones th,
  .dimensiones td {
    padding: 10px;
    white-space: nowrap;
    text-align: center;
  }

  .carrito-button {
   width: flex;
   margin: 10px;
   align-self: flex-start;
   border: 1px solid #ccc;
   border-radius: 4px;
  }
  .carrito-button img {
    max-width: 28px;
  }
  .carrito-count {
    top: -4px;
    right: -4px;
    width: 16px;
    height: 16px;
    font-size: 10px;
  }
  .vaciarcarrito {
    width: 35%;
    box-sizing: border-box;
    color: #fff;
    font-size: clamp(15px, 2vw, 11px);
    padding-top: 10px;
    margin-left: 5px;
    margin-right: 5px;
  }

  .header-left,
  .header-center,
  .header-right {
    justify-content: center;
    margin-bottom: 8px;
    width: 100%;
  }
  

  .contact-button {
    width: 35%;
    box-sizing: border-box;
    color: #fff;
    font-size: clamp(15px, 2vw, 11px);
    letter-spacing: clamp(1px, 0.5vw, 2px);
    padding-top: 10px;
    margin-left: 5px;
    margin-right: 5px;
  }
  .menu-toggle {
  width: 100%;
  margin: 0;
  align-self: last baseline;
  border: 4px solid #ccc;
  border-radius: 4px;
  }
  .menu-content {
    width: 180%;
  }
  .menu-content button {
    font-size: 100%;
    padding: 5px 10px ;
  }
  

  .social-buttons {
    justify-content: center;
    padding: 2px 10px ;
    gap: 4px;
    margin: 2px 0 0 0;
  }
  .homebutton2 {
    margin-top: 2;
    margin-bottom: 2;
    margin-left: 2;
    margin-right: 2;
  }
  .clamp-text,
  .text_column {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .intro {
    background-position: center;
    background-size: cover;
    padding: 340px 0 565px;
  }
  .gallery {
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .clamp-text,
    .text_column {
    display: block;
    overflow: visible;
  }
  .thumbnail {
    flex: 1 1 47%;
    max-width: 47%;
  }
  .thumbnail2 {
    flex: 1 1 47%;
    max-width: 47%;
  }
  .column {
    width: 100%;
    padding: 40px 20px;
    text-align: justify; /* Si quieres mejorar la legibilidad */
  }
  .profile,
  .text_column {
    width: 100%;
    float: none;
  }
  .cards,
  .cards2 {
    height: auto;
  }
  .homebutton2{
    display:none
    
}
  .welcome {
    width: 80%;
    text-align: center;
  }
  .header {
   display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
   align-items: center;
}
  }
  .logo {
    font-size: 25px;
    letter-spacing: 2px;
    text-align: center;
    padding: 0;
  }

.social-buttons {
    margin-top: 2px;
    gap: 9px;
  }
.socialbutton {
    width: 24px;
  }

.carousel-column {
    width: 50%;
    padding: 40px;

}
/* ░░░ ANIMACIONES PERSONALIZADAS ░░░ */
@keyframes menuFadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  60% {
    opacity: 0.6;
    transform: translateY(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
 @keyframes fadeinSlide {
  0% {
    opacity: 0;
    transform: translate(-50%, 10px);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}