/* Estilos generales */
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
}

header {
  background: #2c3e50;
  color: white;
  padding: 0.1rem;
  text-align: center;
}

.hero {
  background: url('../images/hero-banner.jpg') no-repeat center/cover;
  /*height: 300px;*/
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

/* Estilos del carrusel */
.product-carousel {
  padding: 1rem;
  text-align: center;
}

.carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 20px;
  transition: transform 0.5s ease;
  padding: 10px 0;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
}

.prev { left: 10px; }
.next { right: 10px; }

/* Estilos de las tarjetas */
.product-card {
  background: white;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  max-width: 100%;
  height: 150px;
  object-fit: contain;
  border-radius: 5px;
}

.whatsapp-btn {
  background: #25D366;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  margin-top: 10px;
  width: 100%;
  transition: background 0.3s;
}

.whatsapp-btn:hover {
  background: #128C7E;
}

footer {
  background: #2c3e50;
  color: white;
  text-align: center;
  padding: 1rem;
}

.whatsapp-link {
  color: #25D366;
  text-decoration: none;
  font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
  .carousel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .carousel-btn {
    padding: 5px;
  }
}