/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #f5f5f5;
  color: #222;
}

.navbar {
  background: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-decoration: none; /* Esto quita la línea del link */
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #0077ff;
  text-decoration: none;

}



.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  
}

.banner {
  background: linear-gradient(to right, #0077ff, #00c6ff);
  color: white;
  text-align: center;
  padding: 3rem 1rem;
}

.categorias, .productos, .contacto {
  padding: 2rem 1rem;
  text-align: center;
}

.categorias-grid {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.categorias a {
text-decoration: none;
color: #222;
}

.categoria {
  background: #fff;
  padding: 1rem 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s;
}

.categoria:hover {
  transform: scale(1.05);
}

.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  
}

.card {
  background: #fff;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
  text-decoration: none;
  color: #000;
}

.card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.btn-comprar {
  background: #0077ff;
  color: white;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-comprar:hover {
  background: #005fcc;
}

.btn-whatsapp {
  background: #25d366;
  color: white;
  padding: 1rem 2rem;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  font-weight: bold;
}

footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 1rem;
}

@media (max-width: 768px) {
 .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #0077ff;
  font-size: 15px;
  margin-right: 15px;

 }
}

@media (max-width: 768px) {
  .productos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
