
/* --- FUENTES --- */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

body {
  font-family: 'Poppins', sans-serif;
  background-color: #fff0f5;
  margin: 0;
  padding: 0;
  color: #333;
}

/* --- HEADER --- */
header {
  background-color: #ff69b4;
  color: white;
  padding: 15px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

/* --- PRODUCTOS --- */
.contenedor-productos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 20px;
}

.producto {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 10px;
  text-align: center;
  transition: transform 0.3s ease;
}

.producto:hover {
  transform: scale(1.05);
}

.producto img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.producto h3 {
  margin: 10px 0 5px;
  font-size: 1.2rem;
  color: #ff1493;
}

.producto p {
  margin: 5px 0;
  color: #555;
}

.precio {
  color: #e91e63;
  font-weight: bold;
  font-size: 1.1rem;
}

/* --- BOTÓN VOLVER CENTRADO --- */
.volver-centro {
  position: fixed; /* fijo en la pantalla */
  bottom: 30px; /* distancia desde abajo */
  left: 50%; /* mueve hasta la mitad */
  transform: translateX(-50%); /* centra completamente */
  z-index: 9999; /* encima de todo */
  width: 100%;
  display: flex;
  justify-content: center; /* asegura el centrado */
}

.btn-volver {
  display: inline-block;
  background: linear-gradient(135deg, #ff69b4, #ff1493);
  color: #fff;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 20px rgba(255, 105, 180, 0.6),
              0 0 40px rgba(255, 20, 147, 0.4);
  transition: all 0.4s ease;
  animation: burbuja 3s infinite ease-in-out;
}

.btn-volver:hover {
  background: linear-gradient(135deg, #ff1493, #ff69b4);
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(255, 105, 180, 0.8),
              0 0 60px rgba(255, 20, 147, 0.6);
}

@keyframes burbuja {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* --- FOOTER PEQUEÑO Y NEGRO --- */
.footer {
  background: #111; /* Fondo negro elegante */
  color: #fff;
  padding: 40px 20px; /* Más espacio dentro del footer */
  margin-top: 60px; /* Espacio arriba del footer */
  text-align: center;
  border-top: 3px solid #ff69b4;
  font-size: 0.9rem;
  line-height: 1.8; /* MÁS espacio entre líneas */

}

.footer-content {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 150px; /* Más espacio entre columnas */
}

.footer-content .link h3 {
  color: #ff69b4;
  margin-bottom: 15px;
  font-size:1.1rem;
  font-weight: 600;
    letter-spacing: 1px; /* Separación entre letras */
}

.footer-content .link ul {
  list-style: none;
  padding: 0;
}

.footer-content .link ul li {
  margin: 10px 0; /* Más espacio entre enlaces */
}

.footer-content .link ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-content .link ul li a:hover {
  color: #ff69b4;
  text-decoration: underline;
}

.footer p {
  margin-top: 20px;
  font-size: 0.85rem;
  color: #aaa;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .btn-volver {
    font-size: 1rem;
    padding: 12px 30px;
  }
}