/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Estilos generales */
body {
  font-family: 'Arial', sans-serif;
background: linear-gradient(to right, #ff5c8a, #ff85a2, #ffc2d1);

  color: #4A0072;
  text-align: center;
  padding: 20px;
}

/* Encabezado */
header {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  border-radius: 15px;
}

.logo {
  width: 80px;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

h1 {
  margin: 0;
  font-size: 2em;
  color: #ffffff;
}

h2 {
  margin-top: 20px;
  font-size: 1.8em;
  color: #fa04ae;
}

/* Navegación */
.nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.nav-link {
  text-decoration: none;
  background-color: #c2188b;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.nav-link:hover {
  background-color: #e91e63;
  transform: scale(1.05);
}

/* Estilos de los productos */
.productos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
 align-content: center;
}

.producto {
  background: #ffb3e6;
  padding: 15px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s;
  align-content: center;
}

.producto:hover {
  transform: scale(1.05);
}

.producto img {
  width: 100%;
  max-width: 200px;
  border-radius: 10px;
}

.producto p {
  font-weight: bold;
  color: #4a004c;
  margin: 10px 0 5px;
  text-align: justify;
}

.producto ul {
  list-style: none;
  padding: 0;
  align-content: center;
}

.producto li {
  background: rgba(232, 62, 120, 0.9);
  margin: 5px 0;
  padding: 5px;
  border-radius: 5px;
  color: #ffffff;
  align-content: center;
}

.producto p:hover {
  color: #b100e8;
  text-decoration: underline;
}

/* Producto activo */
.producto.activo {
  background-color: #f8f0ff;
  border: 2px solid #e0b3ff;
  border-radius: 8px;
  padding: 10px;
  transition: all 0.3s ease;
}

/* Botón siguiente */
.btn {
  display: inline-block;
  margin: 20px auto;
  padding: 12px 25px;
  font-size: 1.2em;
  color: white;
  background: #c2188b;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.btn:hover {
  background: #e91e63;
  transform: scale(1.05);
}
