/* Fuente base */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #fff0f5;
  color: #333;
}

/* Encabezado */
.barra-productos {
  background-color: #f8c8dc;
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.titulo-productos {
  font-family: 'Great Vibes', cursive;
  font-size: 2rem;
  color: #b03060;
  margin: 0 auto;
}

/* Botones encabezado */
.flecha-volver,
.boton-ver-carrito {
  text-decoration: none;
  background-color: #fff;
  color: #b03060;
  border: 2px solid #b03060;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.flecha-volver:hover,
.boton-ver-carrito:hover {
  background-color: #b03060;
  color: white;
}

/* Galería de productos */
.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
}

.producto {
  background-color: #ffe6f0;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  padding: 1rem;
  text-align: center;
  transition: transform 0.2s;
}

.producto:hover {
  transform: translateY(-5px);
}

.imagen-producto {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0.5rem;
}

.nombre-producto {
  font-weight: 600;
  font-size: 1.1rem;
  color: #b03060;
  margin: 0.5rem 0 0.2rem;
}

.precio-producto {
  font-weight: 500;
  color: #555;
  margin-bottom: 0.8rem;
}

/* Acciones */
.acciones {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  align-items: center;
}

.cantidad {
  width: 50px;
  padding: 0.3rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  text-align: center;
}

.boton-carrito {
  background-color: #ff69b4;
  color: white;
  border: none;
  padding: 0.5rem 0.7rem;
  font-size: 1.1rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.boton-carrito:hover {
  background-color: #d94f8e;
}

.footer {
  text-align: center;
  padding: 20px;
  background-color: #ffe3ec;
  font-size: 0.9em;
  color: #6e4c59;
}