/* ============================================================
   🧭 DETALLE DE PRODUCTO — ESTILO LIMPIO Y MODERNO
   ============================================================ */
body {
  background: #f6f7f9;
  font-family: "Poppins", sans-serif;
  margin: 0;
  color: #333;
}

/* Contenedor principal */
.producto-detalle {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 1rem 1.5rem;
}

/* Volver */
.volver a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}
.volver a:hover {
  text-decoration: underline;
}

/* Encabezado */
.producto-info-principal {
  text-align: center;
  margin-bottom: 2rem;
}
.producto-info-principal h1 {
  color: #1f2937;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.precio {
  color: #2563eb;
  font-weight: 600;
  font-size: 1.3rem;
  margin: 0.3rem 0;
}
.categoria {
  color: #6b7280;
}

/* Galería */
.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.2rem;
  margin-bottom: 2rem;
}
.media-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.media-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.media-item img,
.media-item video {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Descripción */
.descripcion {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
}
.descripcion h2 {
  color: #1f2937;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}
.descripcion p {
  color: #4b5563;
  line-height: 1.6;
}

/* Botón WhatsApp */
.whatsapp-container {
  text-align: center;
  margin-top: 1.5rem;
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  color: white;
  padding: 0.9rem 1.6rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(37,211,102,0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .galeria {
    grid-template-columns: 1fr;
  }
  .producto-info-principal h1 {
    font-size: 1.5rem;
  }
}
