/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600&display=swap');

/* Reset general */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9f9f9;
  color: #333;
}

/* Redes sociales arriba */
.redes-sociales {
  background-color: #ffffff;
  padding: 8px 12px;
  text-align: right;
}
.redes-sociales a img {
  width: 24px;
  height: 24px;
  margin-left: 10px;
  transition: transform 0.2s ease;
}
.redes-sociales a img:hover {
  transform: scale(1.1);
}

/* Header */
header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 0;
  background-color: #fff;
}
header .logo {
  width: 180px;
  max-width: 100%;
  height: auto;
}

/* Navegación */
nav {
  background-color: #3d4451;
  width: 100%;
  text-align: center;
  padding: 10px 0;
}
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}
nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-family: 'Manrope', sans-serif;
}
nav a:hover {
  color: #00cfe8;
}

/* Hero sección */
.hero {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: 350px; /* ajustá a gusto */
  object-fit: cover;
  display: block;
}

/* Hero tienda */
.hero-tienda {
  background-color: #f5f5f5;
  padding: 4rem 2rem;
  text-align: center;
}
.hero-tienda h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: #333;
}
.hero-tienda p {
  font-size: 1.1rem;
  color: #666;
}

/* Productos */
.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 3rem 2rem;
  background-color: #fff;
}

.producto {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  background-color: #fafafa;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
/* Hover para imágenes de productos */
.producto img {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.producto img:hover {
  transform: scale(1.05); /* pequeño zoom */
  opacity: 0.9; /* leve aclarado */
}
/* PRODUCTOS */
.producto img {
  width: 100%;
  height: 320px; /* todas las imágenes tendrán el mismo alto */
  object-fit: cover; /* recorta sin deformar */
  border-radius: 8px;
  margin-bottom: 1rem;
}

.producto h2 {
  font-size: 1.3rem;
  margin: 0.5rem 0;
  color: #222;
}
.producto p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 0.5rem;
}
.producto .precio {
  font-size: 1.1rem;
  font-weight: bold;
  color: #444;
  margin: 0.8rem 0;
}

.boton-comprar {
  display: inline-block;
  background-color: #00cee3;
  color: #fff;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
.boton-comprar:hover {
  background-color: #56397b;
}

/* Footer */
footer {
  background-color: #4f5966;
  color: white;
  text-align: center;
  padding: 20px 10px;
  margin-top: 50px;
}

footer p {
  margin: 5px 0;
}

footer .redes-sociales {
  margin-top: 10px;
  text-align: center; /* íconos al medio */
}

footer .redes-sociales a img {
  width: 28px;
  height: 28px;
  margin: 0 12px;
  transition: transform 0.2s ease;
}

footer .redes-sociales a img:hover {
  transform: scale(1.15);
}

/* Responsive ajustes */
@media (max-width: 768px) {
  header .logo {
    width: 140px;
  }
  nav ul {
    flex-direction: column;
    gap: 10px;
  }
  .hero-img {
    height: 200px;
  }
}
