/* ===================================================================
   Delicias Verdes — estilos
   Paleta "Artesanal oscura · miel": espresso + crema + oliva + miel + terracota
   =================================================================== */

:root {
  --bg:        #19130B;   /* espresso oscuro — fondo */
  --surface:   #2A2116;   /* cards */
  --panel:     #332919;   /* paneles */
  --cream:     #F2E9D6;   /* texto */
  --cream-dim: rgba(242, 233, 214, .60);
  --olive:     #8AA05C;   /* verde marca / acento / precio */
  --olive-deep:#3E4D2C;   /* verde profundo (bloques) */
  --honey:     #E0AE43;   /* acento cálido (botón pedir, círculo) */
  --terra:     #CF5A38;   /* terracota (etiquetas) */
  --celeste:   #74ACDF;   /* celeste bandera (acento promo mundial) */
  --btn-ink:   #1B2110;   /* texto sobre botones claros */

  --shadow:    0 16px 44px rgba(0, 0, 0, .5);
  --shadow-sm: 0 6px 18px rgba(0, 0, 0, .4);
  --radius: 14px;
  --line: 1px solid rgba(242, 233, 214, .14);

  --font-display: "Anton", system-ui, sans-serif;
  --font-body:    "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--cream);
  overflow-x: hidden;
  line-height: 1.55;
}
body.intro-lock { overflow: hidden; height: 100vh; }
body.intro-active .nav__logo-img { opacity: 0; }   /* oculto mientras el logo de la intro "viaja" */

img { max-width: 100%; display: block; }

.leaf { display: inline-block; width: 1.1em; height: 1.1em; color: var(--olive); }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 9998;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===================================================================
   INTRO / LOADER (coreografía: círculos -> edad -> logo+stickers -> salida)
   =================================================================== */
.intro {
  position: fixed; inset: 0; z-index: 10001;
  background: var(--bg);
  display: grid; place-items: center;
  overflow: hidden;
}
.intro.is-exit { background: transparent; transition: background .6s ease; }

/* --- Fase 1: círculos --- */
.intro__bloom {
  position: absolute; left: 50%; top: 50%;
  width: 40vmax; height: 40vmax; border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: radial-gradient(circle,
    var(--bg)         0   9%,
    var(--olive)      9%  24%,
    var(--olive-deep) 24% 42%,
    var(--honey)      42% 54%,
    var(--olive-deep) 54% 72%,
    var(--bg)         72% 100%);
}
.intro.is-bloom .intro__bloom { animation: bloom 1.4s cubic-bezier(.5,0,.2,1) forwards; }
@keyframes bloom {
  0%   { transform: translate(-50%, -50%) scale(0); }
  100% { transform: translate(-50%, -50%) scale(6); }
}
.intro.is-age .intro__bloom,
.intro.is-scene .intro__bloom { opacity: 0; transition: opacity .5s ease; }

/* --- Fase 2: mayoría de edad --- */
.intro__age {
  position: absolute; inset: 0; display: grid; place-items: center;
  padding: 1.5rem; opacity: 0; visibility: hidden;
}
.intro.is-age .intro__age { opacity: 1; visibility: visible; transition: opacity .45s ease; }
.intro__age-card {
  background: var(--surface); border: var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); max-width: 420px; padding: 2.6rem 2rem; text-align: center;
  transform: translateY(12px);
}
.intro.is-age .intro__age-card { transform: none; transition: transform .5s cubic-bezier(.2,.8,.3,1); }
.intro__age-leaf { width: 3rem; height: 3rem; color: var(--olive); margin: 0 auto .8rem; display: block; }
.intro__age-card h2 { font-family: var(--font-display); font-size: 1.9rem; text-transform: uppercase; margin-bottom: .6rem; }
.intro__age-card p { margin-bottom: 1.6rem; color: var(--cream-dim); }
.intro__age-btns { display: flex; gap: .8rem; justify-content: center; }

/* --- Fase 3: escena (logo crece + stickers orbitan) --- */
.intro__scene {
  position: relative;
  width: min(840px, 94vw); height: min(560px, 74vh);
  opacity: 0; visibility: hidden;
}
.intro.is-scene .intro__scene { opacity: 1; visibility: visible; transition: opacity .4s ease; }

.intro__logo {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(.2); opacity: 0;
  display: grid; place-items: center;
}
.intro.is-scene .intro__logo { animation: grow .9s cubic-bezier(.2,.8,.3,1) forwards; }
@keyframes grow { to { transform: translate(-50%, -50%) scale(1); opacity: 1; } }
.intro__logo-img {
  width: min(320px, 60vw); height: auto; object-fit: contain;
  filter: drop-shadow(0 16px 42px rgba(0,0,0,.55));
}

/* contenedor: centra el sticker en su punto del pentágono (no se anima) */
.intro__sticker {
  position: absolute; width: clamp(96px, 14vw, 150px);
  transform: translate(-50%, -50%);
  opacity: 0; transition: opacity .6s var(--fade, 0s); will-change: opacity;
}
.intro__sticker img { width: 100%; height: auto; display: block; filter: drop-shadow(2px 7px 11px rgba(0,0,0,.5)); }
.intro.is-scene .intro__sticker { opacity: 1; }
.intro.is-scene .intro__sticker img { animation: stickerOrbit 5.5s ease-in-out var(--d, 0s) infinite; }
/* pentágono SIMÉTRICO alrededor del logo (espejado sobre el eje vertical) */
.intro__sticker--1 { left: 50%; top: 8%;  --r:  0deg; --d: 0s;   --fd: .02s; --fade: .25s; }  /* arriba */
.intro__sticker--2 { left: 85%; top: 38%; --r:  6deg; --d: .5s;  --fd: .16s; --fade: .40s; }  /* der-arriba */
.intro__sticker--3 { left: 73%; top: 84%; --r: -5deg; --d: 1s;   --fd: .07s; --fade: .55s; }  /* der-abajo */
.intro__sticker--4 { left: 27%; top: 84%; --r:  5deg; --d: .35s; --fd: .21s; --fade: .70s; }  /* izq-abajo */
.intro__sticker--5 { left: 15%; top: 38%; --r: -6deg; --d: .8s;  --fd: .11s; --fade: .85s; }  /* izq-arriba */
@keyframes stickerOrbit {
  0%,100% { transform: translateY(0) rotate(var(--r)); }
  50%     { transform: translateY(-12px) rotate(calc(var(--r) * -1)); }
}

/* --- Fase 4: salida (stickers caen "a destiempo"; el logo vuela al header por JS) --- */
.intro.is-exit .intro__sticker img { animation: fall .9s cubic-bezier(.55,0,.95,.45) var(--fd, 0s) forwards; }
@keyframes fall {
  0%   { transform: translateY(0) rotate(var(--r)); opacity: 1; }
  100% { transform: translateY(120vh) rotate(calc(var(--r) + 45deg)); opacity: 0; }
}

/* ---------- Botones ---------- */
.btn {
  --btn-bg: var(--olive); --btn-fg: var(--btn-ink);
  display: inline-flex; align-items: center; gap: .4em;
  font-family: var(--font-display); font-weight: 400; font-size: 1rem;
  text-transform: uppercase; letter-spacing: .04em;
  text-decoration: none; color: var(--btn-fg); background: var(--btn-bg);
  border: none; border-radius: 6px;
  padding: .85em 1.6em; cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, filter .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); filter: brightness(1.06); }
.btn:active { transform: translateY(0); }
.btn--primary { --btn-bg: var(--olive); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--cream); border: 1.5px solid rgba(242,233,214,.38); box-shadow: none; }
.btn--ghost:hover { background: rgba(242,233,214,.06); filter: none; }
.btn--lg { font-size: 1.1rem; padding: .95em 1.9em; }
.btn--mini { --btn-bg: var(--honey); --btn-fg: var(--btn-ink); font-size: .85rem; padding: .55em 1.2em; border-radius: 6px; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .45rem 5vw; background: rgba(25, 19, 11, .82);
  backdrop-filter: blur(10px); border-bottom: var(--line);
  transition: transform .3s ease;
}
.nav.is-hidden { transform: translateY(-105%); }
.nav__logo { display: flex; align-items: center; text-decoration: none; }
.nav__logo-img {
  width: 92px; height: 92px; object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.4));
  transition: transform .3s ease;   /* opacidad instantánea: swap sin parpadeo con el logo que vuela */
}
.nav__logo:hover .nav__logo-img { transform: rotate(-6deg) scale(1.06); }
.nav__links { display: flex; gap: 2.2rem; }
.nav__links a {
  font-family: var(--font-display); font-size: 1.2rem; text-transform: uppercase; letter-spacing: .05em;
  text-decoration: none; color: var(--cream); position: relative; padding: .2rem 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px;
  background: var(--olive); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav__links a:hover::after { transform: scaleX(1); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 92vh; padding: 4rem 5vw 4rem;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  overflow: hidden;
}
.hero__glow {
  position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
  width: 80vw; height: 80vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(138,160,92,.14), transparent 60%);
  pointer-events: none; z-index: 0;
}
.hero__eyebrow {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .1em;
  color: var(--olive); margin-bottom: 1.3rem; font-size: 1.25rem;
}
.hero__eyebrow .leaf { width: 1.6em; height: 1.6em; }
.hero__title {
  position: relative; z-index: 2;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.8rem, 10vw, 7.5rem); line-height: .92; letter-spacing: .01em;
  text-transform: uppercase; margin-bottom: 2rem;
}
.hero__title .line { display: block; }
.hero__title .line--outline { color: transparent; -webkit-text-stroke: clamp(1.5px, .35vw, 2.5px) var(--cream); }
.hero__title .line--accent { color: var(--olive); }

.hero__stage {
  position: relative; z-index: 2;
  width: 100%; max-width: 760px; margin-top: 1rem;
  display: grid; place-items: center; min-height: 320px;
}
.hero__circle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -45%);
  width: min(420px, 70vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, var(--honey), #b9871f 72%);
  box-shadow: 0 0 90px rgba(224,174,67,.20);
}
.hero__product { position: relative; z-index: 2; display: grid; place-items: center; filter: drop-shadow(6px 14px 16px rgba(0,0,0,.5)); }
.hero__product .leaf { width: clamp(6rem, 18vw, 11rem); height: clamp(6rem, 18vw, 11rem); color: #2A2110; }
.hero__label {
  position: absolute; top: 14%; z-index: 3;
  font-family: var(--font-body); font-weight: 500; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--cream-dim);
}
.hero__label--left { left: 0; }
.hero__label--right { right: 0; }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--olive); border-top: var(--line); border-bottom: var(--line);
  overflow: hidden; padding: .55rem 0;
}
.marquee--alt { background: var(--olive-deep); }
.marquee__track { display: flex; width: max-content; animation: scroll-x 34s linear infinite; }
.marquee__track--rev { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .06em;
  color: var(--btn-ink); padding-right: 1.5rem; text-transform: uppercase;
}
.marquee--alt .marquee__track span { color: var(--cream); }

/* ---------- Section heads ---------- */
.section-head { text-align: center; max-width: 700px; margin: 0 auto 3rem; }
.section-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.2rem, 6vw, 4.2rem); line-height: .98; letter-spacing: .01em;
  text-transform: uppercase;
}
.section-title .hl { color: var(--olive); }
.section-desc { font-size: 1.05rem; margin-top: .8rem; color: var(--cream-dim); }

/* ---------- Promociones ---------- */
.promo { padding: 4.5rem 5vw 1rem; }
.promo__card {
  position: relative; max-width: 1000px; margin: 0 auto; text-align: center; overflow: hidden;
  background: var(--honey); color: var(--btn-ink);
  border: var(--line); border-radius: 18px; box-shadow: var(--shadow);
  padding: 2.8rem 2rem;
}
.promo__tag {
  display: inline-block; font-family: var(--font-display); text-transform: uppercase;
  font-size: .82rem; letter-spacing: .06em; color: var(--cream); background: var(--terra);
  border-radius: 4px; padding: .35em .9em; margin-bottom: 1rem;
}
.promo__title { font-family: var(--font-display); font-size: clamp(2.2rem, 7vw, 4rem); line-height: 1; text-transform: uppercase; letter-spacing: .01em; margin-bottom: .5rem; }
.promo__sub { font-size: 1.1rem; font-weight: 500; margin-bottom: 1.6rem; max-width: 520px; margin-inline: auto; }
.promo__card .btn--primary { --btn-bg: var(--olive-deep); --btn-fg: var(--cream); }

/* ---------- Promo Mundial ---------- */
.promo--mundial .promo__card {
  position: relative; overflow: hidden; color: var(--cream);
  background:
    radial-gradient(circle at 88% 16%, rgba(116,172,223,.22), transparent 42%),
    radial-gradient(circle at 50% 135%, rgba(224,174,67,.16), transparent 55%),
    var(--surface);
  border-radius: 20px; padding: 3rem 2rem 2.4rem;
}
.promo__stripe { position: absolute; top: 0; left: 0; right: 0; height: 10px;
  background: linear-gradient(to bottom, var(--celeste) 0 33%, #f4f7fb 33% 66%, var(--celeste) 66% 100%); }
.promo__sol { position: absolute; top: -34px; right: -28px; width: clamp(120px, 22vw, 190px); aspect-ratio: 1; opacity: .92; filter: drop-shadow(0 0 26px rgba(224,174,67,.45)); pointer-events: none; }
.promo__sol::before { content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: repeating-conic-gradient(var(--honey) 0deg 6deg, transparent 6deg 11.25deg);
  -webkit-mask: radial-gradient(circle, transparent 34%, #000 35% 70%, transparent 78%);
  mask: radial-gradient(circle, transparent 34%, #000 35% 70%, transparent 78%); }
.promo__sol::after { content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 52%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #f6cf57, var(--honey)); box-shadow: 0 0 16px rgba(224,174,67,.5); }
.promo--mundial .promo__tag { background: none; padding: 0; color: var(--celeste); }
.promo--mundial .promo__title { color: var(--cream); }
.promo--mundial .promo__hl { color: var(--honey); }
.promo--mundial .promo__sub { color: var(--cream-dim); }
.promo--mundial .promo__sub strong { color: var(--cream); }
.promo--mundial .promo__card .btn--primary { --btn-bg: var(--honey); --btn-fg: var(--btn-ink); }
.combo__list { list-style: none; display: inline-flex; flex-direction: column; gap: .45rem; text-align: left; margin: 0 auto 1.7rem; }
.combo__list li { position: relative; padding-left: 1.5rem; color: var(--cream); }
.combo__list li::before { content: '★'; position: absolute; left: 0; color: var(--honey); }
.combo__foot { display: flex; gap: 1rem 1.4rem; align-items: center; justify-content: center; flex-wrap: wrap; }
.combo__price { font-family: var(--font-display); text-transform: uppercase; font-size: 1.15rem; color: var(--celeste); }

/* ---------- Bajón / teaser Delicias clásicas ---------- */
.bajon { padding: 1.5rem 5vw 2rem; }
.bajon__card {
  max-width: 900px; margin: 0 auto; text-align: center;
  background: linear-gradient(135deg, rgba(224,174,67,.16), rgba(207,90,56,.10)), var(--surface);
  border: var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 2.8rem 2rem;
}
.bajon__tag { display: inline-block; font-family: var(--font-display); text-transform: uppercase; font-size: .9rem; letter-spacing: .05em; color: var(--honey); margin-bottom: .8rem; }
.bajon__title { font-family: var(--font-display); font-size: clamp(1.9rem, 5.5vw, 3rem); line-height: 1; text-transform: uppercase; letter-spacing: .01em; margin-bottom: .8rem; }
.bajon__hl { color: var(--honey); }
.bajon__sub { color: var(--cream-dim); max-width: 560px; margin: 0 auto 1.7rem; font-size: 1.05rem; }
.bajon__card .btn--primary { --btn-bg: var(--honey); }

/* ---------- Productos ---------- */
.products { padding: 5rem 5vw; }
.products__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 3.4rem 1.5rem; max-width: 1150px; margin: 2.5rem auto 0;
}
.card {
  position: relative; background: var(--surface);
  border: var(--line); border-radius: var(--radius); padding: 1.4rem;
  transition: transform .25s cubic-bezier(.2,.8,.3,1), background .2s ease, border-color .2s ease, box-shadow .25s ease;
  will-change: transform;
  transform-origin: bottom center;
  animation: cardJump 1.7s ease-in-out infinite;   /* saltan "tipo pibe manija" */
}
/* cada card salta a su tiempo (a destiempo) */
.products__grid .card:nth-child(1) { animation-duration: 1.6s;  animation-delay: 0s;   }
.products__grid .card:nth-child(2) { animation-duration: 2.0s;  animation-delay: .35s; }
.products__grid .card:nth-child(3) { animation-duration: 1.75s; animation-delay: .7s;  }
.products__grid .card:nth-child(4) { animation-duration: 1.9s;  animation-delay: .15s; }
@keyframes cardJump {
  0%   { transform: translateY(0) scaleY(1); }       /* arranca el salto */
  6%   { transform: translateY(0) scaleY(.92); }     /* se agacha (anticipación) */
  18%  { transform: translateY(-26px) scaleY(1.07); }/* despega + se estira */
  30%  { transform: translateY(0) scaleY(.95); }     /* aterriza + se achata */
  37%  { transform: translateY(-8px) scaleY(1); }    /* rebotecito */
  44%, 100% { transform: translateY(0) scaleY(1); }  /* reposo el resto del ciclo */
}
/* globo de diálogo de cada tarjeta */
.card__bubble {
  position: absolute; left: 50%; bottom: calc(100% + 38px); z-index: 6;
  transform: translate(-50%, 4px) scale(.4); transform-origin: bottom center;
  background: var(--honey); color: var(--btn-ink);
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .02em;
  font-size: 1.05rem; white-space: normal; max-width: 220px; text-align: center; line-height: 1.2;
  padding: .5em 1.05em; border-radius: 14px; box-shadow: 0 8px 20px rgba(0,0,0,.5);
  opacity: 0; pointer-events: none;
  transition: opacity .16s ease, transform .22s cubic-bezier(.2,1.5,.4,1);
}
.card__bubble::after {
  content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  border: 7px solid transparent; border-top-color: var(--honey);
}
.card__bubble.show { opacity: 1; transform: translate(-50%, -2px) scale(1); }
.card:hover {
  animation: none;                                 /* al pasar el mouse, frena la flotación y se levanta */
  transform: translateY(-12px) scale(1.035);
  background: var(--panel); border-color: var(--olive);
  box-shadow: 0 26px 54px rgba(0,0,0,.5);
}
.card:hover .card__badge { animation: badgeWiggle .5s ease; }
@keyframes badgeWiggle { 0%,100% { transform: rotate(0); } 30% { transform: rotate(-6deg); } 65% { transform: rotate(4deg); } }
.card__badge {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-display); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em;
  background: var(--terra); color: var(--cream);
  border-radius: 3px; padding: .3em .7em;
}
.card__badge--alt { background: var(--terra); }
.card__img { position: relative; display: grid; place-items: center; padding: 1.6rem 0; margin-bottom: .6rem; min-height: 130px; transition: transform .35s cubic-bezier(.2,.8,.3,1); }

/* cabecita que se asoma SOBRE la tarjeta (la carita va acá, no sobre la foto) */
.card__head {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -100%);
  width: 72px; height: 42px; border-radius: 36px 36px 0 0;
  background: var(--olive); border: 2px solid #16100a; border-bottom: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding-top: 5px; z-index: 4; transition: background .2s ease;
}
.card.talking .card__head { background: #9eb56c; }   /* se ilumina al hablar */
.card__eyes { display: flex; gap: 10px; }
.eye { width: 17px; height: 17px; background: #fff; border: 2px solid #16100a; border-radius: 50%; display: grid; place-items: center; animation: blink 5.5s infinite; }
.eye:nth-child(2) { animation-delay: .4s; }
.eye i { width: 7px; height: 7px; background: #16100a; border-radius: 50%; display: block; animation: lookAround 5s ease-in-out infinite; }
.eye:nth-child(2) i { animation-delay: .2s; }
.mouth { width: 13px; height: 4px; background: #16100a; border-radius: 0 0 9px 9px; }
.card.talking .mouth { animation: chatter .26s ease-in-out infinite; }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.12); } }
@keyframes lookAround { 0%,18% { transform: translate(0,0); } 30%,45% { transform: translate(-3px,1px); } 57%,72% { transform: translate(3px,-1px); } 85%,100% { transform: translate(0,0); } }
@keyframes chatter { 0%,100% { height: 4px; } 50% { height: 10px; } }
.card:hover .card__img { transform: scale(1.14) rotate(-6deg); }
.card__leaf { width: 58px; height: 58px; color: var(--olive); opacity: .5; transition: opacity .3s ease; }
.card:hover .card__leaf { opacity: .85; }
.card__img img { max-height: 150px; width: auto; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(0,0,0,.4)); }
.card__title { font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; letter-spacing: .01em; margin-bottom: .35rem; }
.card__desc {
  font-size: .95rem; font-weight: 200; font-variation-settings: "wght" 200;
  line-height: 1.65; letter-spacing: .045em; color: rgba(242, 233, 214, .80);
  margin-bottom: 1.3rem; min-height: 2.6em;
}
.card__foot { display: flex; align-items: center; justify-content: space-between; }
.card__price { font-family: var(--font-display); font-size: 1.95rem; color: var(--olive); }

.products__more { text-align: center; margin-top: 2.6rem; }

/* pestañas de la tienda (con cannabis / clásicas) */
.shoptabs { display: flex; justify-content: center; gap: .6rem; max-width: 1150px; margin: 0 auto 2.4rem; flex-wrap: wrap; }
.shoptab { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .03em; font-size: 1rem; background: transparent; color: var(--cream-dim); border: 1.5px solid rgba(242,233,214,.22); border-radius: 999px; padding: .55em 1.3em; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.shoptab:hover { color: var(--cream); border-color: rgba(242,233,214,.45); }
.shoptab.is-active { background: var(--olive); color: var(--btn-ink); border-color: var(--olive); }
.shoptab[data-cat="clasica"].is-active { background: var(--honey); border-color: var(--honey); }

/* placeholder y diferenciación de las clásicas */
.card__ph { font-size: 3.6rem; line-height: 1; }
.card--clasica .card__head { background: var(--honey); }
.card--clasica .card__price { color: var(--honey); }

/* ---------- Nosotros ---------- */
.about {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3.5rem;
  padding: 5rem 5vw; max-width: 1150px; margin: 0 auto;
}
.about__media { position: relative; }
.about__media-ph {
  display: grid; place-items: center; min-height: 280px;
  background: var(--panel); border: var(--line); border-radius: var(--radius);
}
.about__media-ph .leaf { width: 90px; height: 90px; color: var(--olive); opacity: .5; }
.about__media .sticker { position: absolute; bottom: -14px; left: -10px; }
.sticker {
  font-family: var(--font-display); text-transform: uppercase; font-size: .8rem; letter-spacing: .05em;
  background: var(--olive); color: var(--btn-ink);
  border-radius: 4px; padding: .5em 1em; box-shadow: var(--shadow-sm);
}
.about__text h2 { margin-bottom: 1.2rem; }
.about__text p { font-size: 1.05rem; margin-bottom: 1rem; color: var(--cream-dim); }
.about__text .btn { margin-top: .8rem; }

/* ---------- CTA ---------- */
.cta { padding: 5rem 5vw 6rem; }
.cta__card {
  max-width: 820px; margin: 0 auto; text-align: center;
  background: var(--olive-deep); color: var(--cream);
  border: var(--line); border-radius: 16px; box-shadow: var(--shadow);
  padding: 3.75rem 2rem;
}
.cta__title { font-family: var(--font-display); font-size: clamp(2rem, 6vw, 3.6rem); line-height: 1; text-transform: uppercase; letter-spacing: .01em; margin-bottom: .8rem; }
.cta__sub { font-size: 1.1rem; margin-bottom: 2rem; color: var(--cream-dim); }
.cta__btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta__card .btn--ghost { --btn-fg: var(--cream); border-color: rgba(242,233,214,.45); }

/* ---------- Juego (modo colgado) ---------- */
.gamezone { padding: 5rem 5vw 6rem; text-align: center; }
.gamezone__head { max-width: 760px; margin: 0 auto 2.4rem; }
.gamezone__frame {
  width: 100%; max-width: 500px; height: 760px;
  border: none; border-radius: 18px; display: block; margin: 0 auto;
  background: transparent; transition: height .2s ease;
}

/* ---------- Footer ---------- */
.footer { background: #120D07; color: var(--cream); padding: 3rem 5vw 2rem; border-top: var(--line); }
.footer__top { display: flex; flex-direction: column; gap: .3rem; align-items: center; text-align: center; margin-bottom: 2rem; }
.footer__logo { font-family: var(--font-display); font-size: 1.7rem; text-transform: uppercase; letter-spacing: .03em; }
.footer__tag { color: var(--cream-dim); }
.footer__datio { display: flex; align-items: center; justify-content: center; gap: .6rem; margin: 0 auto 1.8rem; text-decoration: none; color: var(--cream-dim); font-size: .85rem; transition: color .2s ease; }
.footer__datio:hover { color: var(--cream); }
.footer__datio img { height: 36px; width: auto; }
.footer__datio strong { color: var(--cream); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .82rem; color: var(--cream-dim); border-top: var(--line); padding-top: 1.2rem; }

/* ---------- Carrito (drawer) ---------- */
.cart { position: fixed; inset: 0; z-index: 2000; visibility: hidden; }
.cart.open { visibility: visible; }
.cart__overlay { position: absolute; inset: 0; background: rgba(8,6,3,.6); opacity: 0; transition: opacity .3s ease; }
.cart.open .cart__overlay { opacity: 1; }
.cart__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(400px, 92vw);
  background: var(--bg); border-left: var(--line); box-shadow: -20px 0 50px rgba(0,0,0,.5);
  transform: translateX(100%); transition: transform .32s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
}
.cart.open .cart__panel { transform: none; }
.cart__head { display: flex; align-items: center; justify-content: space-between; padding: 1.3rem 1.4rem; border-bottom: var(--line); }
.cart__head h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.4rem; letter-spacing: .02em; }
.cart__close { background: none; border: none; color: var(--cream); font-size: 1.3rem; cursor: pointer; line-height: 1; padding: .2rem; }
.cart__items { flex: 1; overflow-y: auto; padding: 1rem 1.4rem; }
.cart__empty { color: var(--cream-dim); text-align: center; margin-top: 2.5rem; line-height: 1.7; }
.citem { display: grid; grid-template-columns: 48px 1fr auto; gap: .8rem; align-items: center; padding: .7rem 0; border-bottom: var(--line); }
.citem__img { width: 48px; height: 48px; border-radius: 10px; background: var(--surface); display: grid; place-items: center; overflow: hidden; font-size: 1.4rem; }
.citem__img img { width: 100%; height: 100%; object-fit: cover; }
.citem__name { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .01em; }
.citem__price { font-size: .85rem; color: var(--cream-dim); }
.citem__qty { display: flex; align-items: center; gap: .5rem; }
.citem__qty button { width: 28px; height: 28px; border-radius: 7px; border: var(--line); background: var(--surface); color: var(--cream); font-size: 1.1rem; cursor: pointer; line-height: 1; }
.citem__qty span { min-width: 1.2em; text-align: center; font-family: var(--font-display); }
.cart__foot { padding: 1.2rem 1.4rem 1.6rem; border-top: var(--line); }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-display); text-transform: uppercase; font-size: 1.1rem; margin-bottom: 1rem; }
.cart__total span:last-child { font-size: 1.8rem; color: var(--olive); }
.cart__checkout { width: 100%; justify-content: center; }
.cart__clear { display: block; width: 100%; margin-top: .7rem; background: none; border: none; cursor: pointer; font-family: var(--font-body); font-size: .85rem; color: var(--cream-dim); text-decoration: underline; text-underline-offset: 3px; transition: color .2s ease; }
.cart__clear:hover { color: var(--terra); }
.cart__note { font-size: .78rem; color: var(--cream-dim); text-align: center; margin-top: .7rem; }

/* ---------- Pop-up de salida (exit intent) ---------- */
.exitpop { position: fixed; inset: 0; z-index: 3000; visibility: hidden; }
.exitpop.open { visibility: visible; }
.exitpop__overlay { position: absolute; inset: 0; background: rgba(8,6,3,.72); opacity: 0; transition: opacity .3s ease; }
.exitpop.open .exitpop__overlay { opacity: 1; }
.exitpop__box {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.85); opacity: 0;
  background: var(--surface); border: var(--line); border-radius: 22px; box-shadow: var(--shadow);
  padding: 2.8rem 1.8rem 2rem; width: 92vw; max-width: 520px; text-align: center;
  transition: transform .32s cubic-bezier(.2,1.3,.4,1), opacity .3s ease;
}
.exitpop.open .exitpop__box { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.exitpop__x { position: absolute; top: 10px; right: 14px; background: none; border: none; color: var(--cream); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.exitpop__chars { display: flex; justify-content: center; align-items: flex-end; gap: 2.2rem; margin-bottom: 1.8rem; }
.exitpop__char { display: flex; flex-direction: column; align-items: center; gap: 16px; flex: 1; max-width: 200px; }
.exitpop__bubble { position: relative; background: var(--honey); color: var(--btn-ink); font-family: var(--font-display); text-transform: uppercase; font-size: .95rem; line-height: 1.2; padding: .6em 1em; border-radius: 14px; box-shadow: 0 8px 18px rgba(0,0,0,.4); }
.exitpop__bubble::after { content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 9px solid transparent; border-top-color: var(--honey); }
.exitpop__head { width: 94px; height: 88px; border-radius: 47px 47px 0 0; background: var(--olive); border: 3px solid #16100a; border-bottom: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; padding-top: 16px; animation: popbob 2.4s ease-in-out infinite; }
.exitpop__char:nth-child(2) .exitpop__head { background: var(--terra); animation-delay: .4s; }
.exitpop__head .eye { width: 24px; height: 24px; }
.exitpop__head .eye i { width: 10px; height: 10px; animation: none; }
.exitpop__head .mouth { width: 18px; height: 5px; animation: chatter .32s ease-in-out infinite; }
.exitpop__char:nth-child(2) .exitpop__head .mouth { animation-delay: .16s; }
.exitpop__cta { margin-top: .4rem; }
@keyframes popbob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 480px) {
  .exitpop__chars { gap: 1.2rem; }
  .exitpop__head { width: 78px; height: 74px; border-radius: 39px 39px 0 0; }
  .exitpop__bubble { font-size: .8rem; }
}

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
[data-float] { animation: float 6s ease-in-out infinite; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav__links { display: none; }
  .hero { min-height: auto; padding-top: 3rem; }
  .hero__label { display: none; }
  .about { grid-template-columns: 1fr; text-align: center; }
  .about__text .btn { margin-inline: auto; }
  .footer__bottom { justify-content: center; text-align: center; }
}

/* En celulares: 2 columnas para apreciar la riña de tarjetas */
@media (max-width: 620px) {
  .products__grid { grid-template-columns: 1fr 1fr; gap: 2.8rem .7rem; margin-top: 2rem; }
  .card { padding: 1rem .85rem 1.1rem; }
  .card__img { min-height: 88px; padding: 1rem 0; }
  .card__title { font-size: 1.12rem; }
  .card__desc { font-size: .82rem; line-height: 1.5; min-height: 0; margin-bottom: .9rem; }
  .card__price { font-size: 1.35rem; }
  .card__foot { flex-direction: column; align-items: stretch; gap: .5rem; }
  .card__foot .btn--mini { width: 100%; justify-content: center; }
  .card__head { width: 56px; height: 33px; border-radius: 28px 28px 0 0; gap: 3px; padding-top: 4px; }
  .eye { width: 14px; height: 14px; }
  .eye i { width: 6px; height: 6px; }
  .mouth { width: 11px; }
  .card__bubble { font-size: .8rem; white-space: normal; max-width: 130px; text-align: center; line-height: 1.15; bottom: calc(100% + 28px); }
}

@media (prefers-reduced-motion: reduce) {
  *, [data-float] { animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
