/* -----------------------------
   Reset y fuentes globales
----------------------------- */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  background: #fff;
}

/* -----------------------------
   Hero sección Tienda
----------------------------- */
.tienda-hero {
  text-align: center;
  background: #0074D9; /* azul corporativo */
  color: white;
  padding: 60px 20px;
}

.tienda-hero h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.tienda-hero p {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto;
}

/* -----------------------------
   Contenedor principal producto
----------------------------- */
.producto-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 40px;
}

/* -----------------------------
   Galería de imágenes y videos
----------------------------- */
.producto-gallery {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.miniaturas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-right: 10px;
  max-width: 100%;
}

.miniaturas img,
.video-thumb {
  width: 60px;
  border-radius: 5px;
  cursor: pointer;
  border: 1px solid #ddd;
}

.video-thumb {
  background: #0074D9;
  color: white;
  text-align: center;
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 5px;
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-sizing: border-box;
}

/* -----------------------------
   Imagen principal producto
----------------------------- */
.imagen-principal {
  border-radius: 10px;
  overflow: hidden;
  max-width: 500px;
}

.imagen-principal img {
  width: 100%;
  transition: transform 0.2s ease;
}

.zoom-container {
  overflow: hidden;
}

/* -----------------------------
   Información del producto
----------------------------- */
.producto-info {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  margin-left: 40px;
}

.precio {
  font-size: 24px;
  color: #0074D9;
  font-weight: 700;
}

ul.ficha-tecnica {
  list-style: none;
  padding: 0;
}

ul.ficha-tecnica li {
  margin-bottom: 8px;
}

/* -----------------------------
   Botón de compra
----------------------------- */
.boton-comprar {
  margin-top: 20px;
  padding: 15px 30px;
  background: #0074D9;
  color: white;
  border: none;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
}

.boton-comprar:hover {
  background: #005fa3;
}

/* -----------------------------
   Beneficios clave
----------------------------- */
.beneficios-clave {
  background: #f2f2f2;
  padding: 60px 20px;
  text-align: center;
}

.beneficios-clave .container {
  max-width: 1200px;
  margin: 0 auto;
}

.beneficios-clave h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #0074D9;
}

.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  justify-items: center;
  align-items: start;
}

.beneficio {
  background: white;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  max-width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.beneficio:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.beneficio i {
  font-size: 2.5rem;
  color: #004e92;
  margin-bottom: 15px;
}

.beneficio h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #333;
}

.beneficio p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

/* -----------------------------
   Sección final
----------------------------- */
.seccion-final {
  background: #0074D9;
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.seccion-final .container {
  max-width: 1000px;
  margin: 0 auto;
}

.seccion-final h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: bold;
}

.seccion-final p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* -----------------------------
   Media Queries
----------------------------- */
@media(max-width: 768px) {
  .producto-container {
    flex-direction: column;
    padding: 20px;
  }

  .producto-gallery {
    flex-direction: column;
    align-items: center;
  }

  .miniaturas {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-right: 0;
  }

  .miniaturas img,
  .video-thumb {
    flex: 0 0 auto;
  }

  .producto-info {
    margin-left: 0;
    margin-top: 30px;
  }
}
