body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9f9f9;
  color: #1a1a1a;
  margin: 0;
  padding: 1rem;
}

main {
  max-width: 1200px;
  margin: auto;
}

/* Cabecera */
.menu {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.logo-tienda img {
  height: 70px;
  width: auto;
}

/* Estructura de Productos */
.fila-superior {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columnas en desktop */
  gap: 2rem;
  margin-bottom: 2rem;
}

.fila-inferior {
  display: flex;
  justify-content: center;
}

/* Estilo de Producto */
.producto {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  max-width: 100%;
}

.producto:hover {
  transform: translateY(-9px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15),
              0 0 15px #000,
              0 0 25px #000;
}

.producto img {
  width: 100px;
  height: auto;
  margin-bottom: 1rem;
}

.info-producto h2, .info-producto h3 {
  font-size: 1.5rem;
  margin: 0.5rem 0;
}

.info-producto p {
  font-size: 0.95rem;
  color: #555;
}


@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.producto {
  opacity: 0;
  animation: fadeSlideUp 0.8s ease forwards;
}

.producto:nth-child(1) {
  animation-delay: 0.2s;
}

.producto:nth-child(2) {
  animation-delay: 0.4s;
}

.producto:nth-child(3) {
  animation-delay: 0.6s;
}


.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer {
  background-color: #ffffff;
  padding: 5rem 1rem;
  text-align: center;
  border-top: 1px solid #eaeaea;
  margin-top: 2.5rem;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.05);
  border-radius: 16px 16px 0 0;
}

.redes-sociales {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.redes-sociales a {
  color: #000;
  font-size: 2.5rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.redes-sociales a:hover {
  color: #39FF14;
  transform: scale(1.2);
}

.linea-divisoria {
  width: 200px; /* Largo de la línea */
  border: 1px solid #ccc;
  margin: 1.5rem auto; /* Centrar horizontalmente */
  opacity: 0.6;
}

.footer .copyright {
  font-size: 0.9rem;
  color: #555;
}

.logo-modal {
  max-width: 60%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.boton-ir-tienda {
  display: inline-block;
  padding: 0.9rem 2rem;
  margin: 1.5rem auto 0 auto;
  background-color: #39FF14;
  color: #000;
  text-align: center;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.4);
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.boton-ir-tienda:hover {
  background-color: #333;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(66, 133, 244, 0.5);
}

.boton-ir-tienda:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(66, 133, 244, 0.4);
}


/* Responsive Media Queries */

/* Para pantallas grandes (>= 1024px) */


/* Tablets */
@media (max-width: 768px) {
  .fila-superior {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu {
    flex-direction: column;
    text-align: center;
  }

  .logo-modal {
  max-width: 50%;
  height: auto;
  display: block;
  margin: 0 auto;
}

  .producto img {
    width: 70px;
  }
  
  .redes-sociales {
    gap: 1.5rem;
  }

  .redes-sociales a {
    font-size: 1.4rem;
  }

  .footer .copyright {
    font-size: 0.85rem;
  }
}

/* Celulares */
@media (max-width: 480px) {
  .fila-superior {
    grid-template-columns: repeat(1, 1fr);
  }

  .menu {
    flex-direction: column;
    text-align: center;
  }

   .logo-modal {
  max-width: 50%;
  height: auto;
  display: block;
  margin: 0 auto;
}

  .producto img {
    width: 70px;
  }
  
  .redes-sociales {
    gap: 1.2rem;
  }

  .redes-sociales a {
    font-size: 1.3rem;
  }

  .footer .copyright {
    font-size: 0.8rem;
  }
}
