/* ============================================================
   Gummy Land — página pública
   ============================================================ */

:root {
  --rojo: #e63946;
  --rojo-oscuro: #a4121f;
  --crema: #fff6ec;
  --blanco: #ffffff;
  --rosa: #ff70a6;
  --amarillo: #ffc300;
  --verde: #06b46f;
  --azul: #2dabe0;
  --morado: #9b5de5;
  --naranja: #ff7f2a;
  --texto: #3a2230;
  --texto-2: #8d7383;
  --borde: #f2d9cf;
}

* { box-sizing: border-box; }

/* el atributo hidden gana siempre, aunque la clase traiga display */
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--crema);
  background-image:
    radial-gradient(circle at 10% 6%, rgba(255,112,166,.14) 0 26px, transparent 27px),
    radial-gradient(circle at 90% 18%, rgba(45,171,224,.14) 0 30px, transparent 31px),
    radial-gradient(circle at 20% 60%, rgba(255,195,0,.14) 0 24px, transparent 25px),
    radial-gradient(circle at 82% 82%, rgba(6,180,111,.13) 0 28px, transparent 29px);
  background-attachment: fixed;
  color: var(--texto);
  font-family: "Trebuchet MS", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

.rayas {
  height: 16px;
  background: repeating-linear-gradient(-45deg, var(--rojo) 0 16px, var(--blanco) 16px 32px);
}

/* ---------- portada ---------- */
.hero {
  background: var(--blanco);
  text-align: center;
  box-shadow: 0 6px 20px rgba(164,18,31,.12);
}
.hero-cuerpo { padding: 1.6rem 1.2rem 1.8rem; max-width: 720px; margin: 0 auto; }
.logo { width: min(280px, 74vw); height: auto; display: block; margin: 0 auto; }
.logo-txt {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 2px;
  fill: url(#baston);
  stroke: var(--rojo-oscuro);
  stroke-width: 2.5;
  paint-order: stroke fill;
}
.lema {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--rojo-oscuro);
  margin: .9rem 0 .3rem;
}
.texto { color: var(--texto-2); margin: 0 auto; max-width: 32rem; font-size: .95rem; }
.hero-botones { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; margin-top: 1.1rem; }
.ondas {
  height: 18px;
  background: radial-gradient(circle at 12px -6px, transparent 14px, var(--blanco) 15px);
  background-size: 24px 18px;
  transform: rotate(180deg);
}

.btn {
  display: inline-block;
  background: var(--blanco);
  border: 2px solid var(--borde);
  color: var(--texto);
  border-radius: 999px;
  padding: .7rem 1.2rem;
  font-size: .95rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.btn.grande {
  background: var(--verde);
  border-color: #048954;
  color: var(--blanco);
  box-shadow: 0 4px 0 #048954;
  font-size: 1.02rem;
  padding: .8rem 1.5rem;
}
.btn.rojo {
  background: var(--rojo);
  border-color: var(--rojo-oscuro);
  color: var(--blanco);
  box-shadow: 0 4px 0 var(--rojo-oscuro);
}
.btn:active { transform: translateY(2px); }

/* ---------- bloques ---------- */
main { max-width: 780px; margin: 0 auto; padding: 1.2rem 1rem 2rem; }
.bloque {
  background: var(--blanco);
  border: 2px solid var(--borde);
  border-radius: 20px;
  padding: 1.2rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 0 rgba(58,34,48,.06);
}
.bloque h2 { font-size: 1.15rem; color: var(--rojo-oscuro); margin: 0 0 .8rem; }
.sub-bloque { color: var(--texto-2); font-size: .92rem; margin: .3rem 0 .9rem; }

/* ---------- productos ---------- */
.productos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: .8rem;
}
.producto {
  border: 2px solid var(--borde);
  border-radius: 16px;
  padding: .9rem .8rem;
  text-align: center;
  background: var(--crema);
  position: relative;
  overflow: hidden;
}
.producto::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 6px;
}
.producto:nth-child(6n+1)::after { background: var(--rojo); }
.producto:nth-child(6n+2)::after { background: var(--amarillo); }
.producto:nth-child(6n+3)::after { background: var(--verde); }
.producto:nth-child(6n+4)::after { background: var(--azul); }
.producto:nth-child(6n+5)::after { background: var(--morado); }
.producto:nth-child(6n+6)::after { background: var(--naranja); }
.producto .emoji { font-size: 2.2rem; line-height: 1; }
.producto .nombre { font-weight: 800; margin-top: .3rem; }
.producto .desc { font-size: .8rem; color: var(--texto-2); }
.nota-precio {
  margin: 1rem 0 0;
  font-weight: 800;
  color: var(--verde);
  text-align: center;
  font-size: 1rem;
}

/* ---------- mapa ---------- */
.mapa {
  height: 340px;
  border: 3px solid var(--borde);
  border-radius: 16px;
  z-index: 0;
}
.leaflet-container { font-family: inherit; border-radius: 13px; }
.punto {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--rojo);
  border: 3px solid var(--blanco);
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .9rem; }
.chip {
  background: var(--crema);
  border: 2px solid var(--borde);
  border-radius: 999px;
  padding: .3rem .8rem;
  font-size: .82rem;
  font-weight: 700;
}

/* ---------- pasos ---------- */
.pasos { margin: 0; padding-left: 1.1rem; }
.pasos li { margin-bottom: .6rem; font-size: .95rem; }
.pasos b { color: var(--rojo-oscuro); }

.contacto { text-align: center; border-color: var(--verde); }

/* ---------- pie ---------- */
footer { text-align: center; margin-top: 1rem; }
footer p { font-size: .85rem; color: var(--texto-2); margin: 1rem 0 .3rem; font-weight: 700; }
.enlace-admin {
  display: inline-block;
  margin-bottom: 1.4rem;
  font-size: .75rem;
  color: var(--texto-2);
  text-decoration: none;
  opacity: .6;
}
