body {
  font-family: 'Segoe UI', sans-serif;
  background: #f5f7fa;
  margin: 0;
  color: #333;
}

/* HEADER */
header {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: white;
  padding: 16px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  border-radius: 0 0 12px 12px;
}

.acciones-header {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn-inicio, .btn-carrito {
  background: white;
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 50px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.btn-inicio:hover, .btn-carrito:hover {
  background: #2563eb;
  color: white;
  transform: translateY(-2px);
}

.btn-carrito {
  position: relative;
  font-size: 1.2rem;
}

.btn-carrito .contador {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ef4444;
  color: white;
  width: 22px;
  height: 22px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 700;
}

/* PRODUCTOS */
.container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

h2 {
  text-align: center;
  color: #1e40af;
  margin-bottom: 30px;
}

.grid-productos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 10px;
}

.precio {
  color: #16a34a;
  font-weight: 700;
  font-size: 1.1rem;
}

.cantidad {
  width: 60px;
  padding: 6px;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-top: 8px;
  text-align: center;
}

button {
  background: #2563eb;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  margin-top: 10px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #1d4ed8;
}

/* WHATSAPP FLOTANTE */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25D366;
  color: white;
  font-size: 1.6rem;
  padding: 15px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}
