/* ============================================================
   LEO BAST · ESTILO FIT
   Colores, letras y medidas: cambiando estos tokens cambia toda la web.
   ============================================================ */
:root {
  /* Marca */
  --lime: #c8ff00;          /* verde del logo: botones y detalles. Siempre con texto negro encima */
  --lime-press: #b4e600;
  --pink: #ff2daa;          /* degradado del logo: solo Mini Leo */
  --violet: #8b12f0;
  --grad: linear-gradient(135deg, #ff2daa 0%, #c41fd0 52%, #8b12f0 100%);

  /* Neutros */
  --ink: #0b0b0d;           /* negro de fondo */
  --ink-2: #141418;
  --ink-3: #1d1d22;
  --line-dark: #2b2b31;
  --paper: #ffffff;
  --linen: #f4f4f1;
  --bone: #e9e9e4;
  --line: #e2e2dc;
  --text: #0b0b0d;
  --muted: #5c5c62;         /* 6.6:1 sobre blanco */
  --on-dark: #f4f4f1;
  --on-dark-muted: #a9a9b0; /* 8.3:1 sobre negro */
  --wa: #25d366;

  /* Letras */
  --display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Formas */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --pill: 999px;
  --shadow: 0 18px 50px rgba(11, 11, 13, 0.12);
  --shadow-lime: 0 10px 30px rgba(200, 255, 0, 0.28);

  /* Movimiento: "precisión", rápido y frena suave */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.8s;
  --rise: 24px;

  /* Medidas */
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea { font: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
.no-scroll { overflow: hidden; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: var(--pill); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.on-light :focus-visible, .section :focus-visible { outline-color: var(--violet); }

/* Titulares: condensados, inclinados y en mayúsculas, como el logo */
.display {
  font-family: var(--display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.9;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--lime); transform: skewX(-20deg); }
.on-dark .eyebrow { color: var(--on-dark-muted); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 4vw, 40px); flex-wrap: wrap; }
.section-head h2 { font-size: clamp(2.3rem, 5.4vw, 4rem); margin-top: 12px; }
.section-head p { max-width: 460px; color: var(--muted); }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section.tight { padding: clamp(48px, 6vw, 72px) 0; }
.on-dark { background: var(--ink); color: var(--on-dark); }
.on-dark p { color: var(--on-dark-muted); }

/* ---------- Iconos ---------- */
.ico { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: middle; }
.ico-sm { width: 16px; height: 16px; }

/* ---------- Botones ---------- */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 24px;
  border-radius: var(--pill); border: 1.5px solid transparent;
  font-weight: 700; font-size: 15px; letter-spacing: 0.01em; text-decoration: none; white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.25s;
}
.btn:active { transform: scale(0.97); }
.btn-lime { background: var(--lime); color: var(--ink); box-shadow: var(--shadow-lime); }
.btn-lime:hover { background: var(--lime-press); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--ink-3); }
.btn-line { border-color: currentColor; background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.on-dark .btn-line:hover, .hero .btn-line:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-wa { background: var(--wa); color: #06210f; }
.btn-wa:hover { background: #1fbf5b; }
.btn-leo { background: var(--grad); color: #fff; }
.btn-leo:hover { filter: brightness(1.08); }
.btn-sm { --h: 40px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.icon-btn {
  width: 44px; height: 44px; display: inline-grid; place-items: center;
  border-radius: var(--pill); border: 0; background: transparent; position: relative;
  transition: background-color 0.2s;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.08); }
.on-light .icon-btn:hover, .drawer .icon-btn:hover { background: var(--linen); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--lime); padding-bottom: 2px; }
.link-arrow .ico { transition: transform 0.25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- Barra superior y cabecera ---------- */
.topbar { background: var(--lime); color: var(--ink); font-size: 13px; font-weight: 600; overflow: hidden; }
.topbar .wrap { display: flex; justify-content: center; gap: 28px; min-height: 36px; align-items: center; }
.topbar span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar span + span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); margin-right: 20px; }
@media (max-width: 760px) { .topbar span:not(:first-child) { display: none; } }

.header { position: sticky; top: 0; z-index: 60; background: rgba(11, 11, 13, 0.94); backdrop-filter: blur(10px); color: var(--on-dark); border-bottom: 1px solid var(--line-dark); }
.header .wrap { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--on-dark); }
.brand-mark { height: 34px; width: auto; flex: none; }
.brand img { height: 17px; width: auto; }
.mini-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(200,255,0,0.35); }
.nav { display: flex; gap: 4px; margin-left: 24px; }
.nav a { white-space: nowrap; padding: 10px 14px; border-radius: var(--pill); text-decoration: none; font-weight: 600; font-size: 14px; color: var(--on-dark-muted); transition: color 0.2s, background-color 0.2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--on-dark); background: rgba(255, 255, 255, 0.06); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.header .btn-leo { display: inline-flex; }
.cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: var(--pill); background: var(--lime); color: var(--ink);
  font-size: 11px; font-weight: 800; display: grid; place-items: center;
}
.menu-btn { display: none; }
.mobile-nav { border-top: 1px solid var(--line-dark); padding: 12px var(--gutter) 20px; background: var(--ink); }
.mobile-nav a { display: block; padding: 14px 4px; text-decoration: none; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 26px; text-transform: uppercase; border-bottom: 1px solid var(--line-dark); }
@media (max-width: 1180px) { .nav a { padding: 10px 10px; } .nav a:last-child { display: none; } }
@media (max-width: 960px) {
  .nav, .header .btn-leo { display: none; }
  .menu-btn { display: inline-grid; }
}

/* Buscador desplegable */
.search-bar { background: var(--ink-2); border-bottom: 1px solid var(--line-dark); }
.search-bar form { display: flex; gap: 10px; padding: 12px 0; }
.search-bar input { flex: 1; min-width: 0; height: 48px; border-radius: var(--pill); border: 1px solid var(--line-dark); background: var(--ink); color: var(--on-dark); padding: 0 20px; }
.search-bar input::placeholder { color: var(--on-dark-muted); }

/* ============================================================
   PORTADA ANIMADA (elemento firma)
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--on-dark);
  min-height: min(calc(100svh - var(--header-h) - 36px), 760px);
  display: flex; flex-direction: column;
}
.hero::before { /* rejilla tenue de fondo */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 50%, #000 0%, transparent 70%);
}
.hero-slides { position: relative; flex: 1; display: grid; }
.slide {
  grid-area: 1 / 1; position: relative;
  display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: 24px;
  padding-top: clamp(32px, 5vw, 56px); padding-bottom: 96px;
  visibility: hidden;
}
.slide.is-active { visibility: visible; }
.slide-text { position: relative; z-index: 2; }
.slide-kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime); }
.slide-kicker b { font-family: var(--display); font-style: italic; font-size: 20px; letter-spacing: 0; color: var(--on-dark); }
.slide h1, .slide h2 { font-size: clamp(3.2rem, 8.4vw, 7.4rem); margin: 18px 0 20px; }
.slide h1 .lime, .slide h2 .lime { color: var(--lime); }
.slide p { max-width: 440px; font-size: clamp(15px, 1.4vw, 18px); color: var(--on-dark-muted); }
.slide-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.slide-ctas .btn-line { color: var(--on-dark); }

/* Líneas que suben desde una máscara */
.mask { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.mask > span { display: block; transform: translateY(105%); transition: transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.slide.is-active .mask > span { transform: none; }
.slide .fade { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(180ms + var(--i, 0) * 90ms); }
.slide.is-active .fade { opacity: 1; transform: none; }
.slide.is-leaving .mask > span { transform: translateY(-105%); transition-duration: 0.5s; transition-delay: 0s; }
.slide.is-leaving .fade { opacity: 0; transform: translateY(-10px); transition-duration: 0.35s; transition-delay: 0s; }

/* Escenario con los botes */
.stage { position: relative; height: clamp(300px, 46vw, 560px); z-index: 1; }
.stage-word {
  position: absolute; right: -2%; top: 50%; transform: translateY(-50%);
  font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase;
  font-size: clamp(7rem, 20vw, 17rem); line-height: 0.8; letter-spacing: -0.02em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(200, 255, 0, 0.16);
  white-space: nowrap; pointer-events: none;
}
.slide .stage-word { opacity: 0; transition: opacity 1.2s var(--ease); }
.slide.is-active .stage-word { opacity: 1; }
.stage-glow {
  position: absolute; left: 50%; top: 52%; width: 72%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; background: radial-gradient(circle, rgba(200,255,0,0.34) 0%, rgba(200,255,0,0.08) 45%, transparent 70%);
}
.stage-ring {
  position: absolute; left: 50%; top: 52%; width: 62%; aspect-ratio: 1; margin: -31% 0 0 -31%;
  border-radius: 50%; border: 1px dashed rgba(200, 255, 0, 0.35);
  animation: spin 40s linear infinite;
}
.stage-ring::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 18px var(--lime); }
@keyframes spin { to { transform: rotate(360deg); } }
.bottle {
  position: absolute; bottom: 8%; left: 50%;
  width: var(--w, 42%); margin-left: calc(var(--w, 42%) / -2);
  opacity: 0; transform: translate(var(--x0, 120px), 30px) rotate(var(--r0, 12deg)) scale(0.9);
  transition: opacity 0.9s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(120ms + var(--i, 0) * 120ms);
}
.bottle img { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,0.55)); animation: float 6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -2s); }
.bottle.main { --w: 46%; z-index: 3; }
.bottle.left { --w: 34%; --x: -58%; --x0: 60px; --r: -7deg; z-index: 2; bottom: 13%; }
.bottle.right { --w: 34%; --x: 58%; --x0: 180px; --r: 7deg; z-index: 2; bottom: 13%; }
.slide.is-active .bottle { opacity: 1; transform: translateX(var(--x, 0)) rotate(var(--r, 0deg)); }
.slide.is-active .bottle.left, .slide.is-active .bottle.right { opacity: 0.92; }
.slide.is-leaving .bottle { opacity: 0; transform: translate(calc(var(--x, 0px) - 80px), -10px) rotate(var(--r, 0deg)) scale(0.96); transition-duration: 0.5s; transition-delay: calc(var(--i, 0) * 50ms); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* Controles: flechas y puntitos centrados debajo de la portada */
.hero-controls { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; }
.hero-nav { display: flex; align-items: center; justify-content: center; gap: 22px; padding-bottom: 26px; }
.hero-arrow {
  width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: transparent; color: var(--on-dark); border: 1.5px solid rgba(244, 244, 241, 0.85);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.25s var(--ease);
}
.hero-arrow:hover { background: var(--on-dark); color: var(--ink); }
.hero-arrow:active { transform: scale(0.94); }
.hero-dots { display: flex; align-items: center; gap: 4px; }
.hero-tab { position: relative; width: 28px; height: 44px; padding: 0; border: 0; background: none; display: grid; place-items: center; }
.hero-tab::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: #55555c; transition: background-color 0.3s, transform 0.3s var(--ease); }
.hero-tab:hover::before { background: #8a8a92; }
.hero-tab[aria-selected="true"]::before { background: var(--lime); transform: scale(1.12); box-shadow: 0 0 12px rgba(200, 255, 0, 0.55); }
.hero-pause { position: absolute; right: var(--gutter); top: 18px; z-index: 6; color: var(--on-dark-muted); }

@media (max-width: 860px) {
  .hero { min-height: auto; }
  .slide { grid-template-columns: 1fr; gap: 0; padding-top: 32px; padding-bottom: 92px; }
  .stage { height: 300px; order: -1; margin: 0 -8px 8px; }
  .stage-word { font-size: 8.5rem; right: 50%; transform: translate(50%, -50%); }
  .slide h1, .slide h2 { font-size: clamp(2.9rem, 13vw, 4.4rem); margin: 12px 0 14px; }
  .bottle.main { --w: 40%; }
  .bottle.left, .bottle.right { --w: 30%; }
  .hero-nav { gap: 16px; padding-bottom: 22px; }
  .hero-arrow { width: 46px; height: 46px; }
}

/* ---------- Cinta en movimiento ---------- */
.marquee { background: var(--lime); color: var(--ink); overflow: hidden; border-block: 1px solid var(--ink); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; }
.marquee-item { display: inline-flex; align-items: center; gap: 28px; padding: 14px 14px 14px 0; font-family: var(--display); font-style: italic; font-weight: 800; font-size: clamp(22px, 3vw, 32px); text-transform: uppercase; white-space: nowrap; }
.marquee-item svg { width: 22px; height: 22px; margin-right: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Categorías en círculos ---------- */
.cats { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 14px; }
.cat-card { display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; text-align: center; }
.cat-circle {
  position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%;
  background: var(--linen); display: grid; place-items: center; overflow: hidden;
  transition: background-color 0.3s;
}
.cat-circle::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--lime); opacity: 0; transform: scale(0.9); transition: opacity 0.3s, transform 0.4s var(--ease); }
.cat-circle img { width: 62%; height: 72%; object-fit: contain; transition: transform 0.5s var(--ease); }
.cat-card:hover .cat-circle { background: var(--ink); }
.cat-card:hover .cat-circle::after { opacity: 1; transform: none; }
.cat-card:hover .cat-circle img { transform: translateY(-4px) scale(1.06) rotate(-3deg); }
.cat-name { font-weight: 700; font-size: 14px; line-height: 1.25; }
.cat-count { display: block; font-weight: 500; font-size: 12px; color: var(--muted); }
@media (max-width: 1100px) {
  .cats { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-bottom: 8px; margin: 0 calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .cats::-webkit-scrollbar { display: none; }
  .cat-card { flex: 0 0 112px; scroll-snap-align: start; }
}

/* ---------- Objetivos: tarjetas que se apilan ---------- */
.goals { display: grid; gap: 0; }
.stack-panel { position: sticky; top: calc(var(--header-h) + 20px + var(--n) * 14px); padding-bottom: 22px; }
.stack-card {
  --cover: 0;
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; min-height: 380px;
  border-radius: var(--r-lg); background: var(--ink); color: var(--on-dark);
  transform-origin: 50% 0; transform: scale(calc(1 - var(--cover) * 0.05));
}
.stack-card::after { content: ""; position: absolute; inset: 0; background: #000; opacity: calc(var(--cover) * 0.3); pointer-events: none; }
.stack-card.alt { background: var(--linen); color: var(--text); }
.stack-card.alt p { color: var(--muted); }
.stack-card.lime { background: var(--lime); color: var(--ink); }
.stack-card.lime p { color: #2d3a00; }
.goal-body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.goal-num { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 20px; opacity: 0.6; }
.goal-body h3 { font-size: clamp(2.6rem, 6vw, 4.8rem); margin: 10px 0 14px; }
.goal-body p { max-width: 420px; font-size: 17px; color: var(--on-dark-muted); }
.goal-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.goal-chips span { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: var(--pill); border: 1px solid currentColor; opacity: 0.8; }
.goal-media { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 0; padding: 24px 24px 0; }
.goal-media::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; left: 15%; bottom: -20%; border-radius: 50%; background: radial-gradient(circle, rgba(200,255,0,0.3), transparent 65%); }
.stack-card.alt .goal-media::before { background: radial-gradient(circle, rgba(139,18,240,0.14), transparent 65%); }
.stack-card.lime .goal-media::before { background: radial-gradient(circle, rgba(255,255,255,0.55), transparent 65%); }
.goal-media img { position: relative; width: 33%; max-height: 300px; object-fit: contain; object-position: bottom; filter: drop-shadow(0 20px 26px rgba(0,0,0,0.35)); }
.goal-media img:nth-child(2) { width: 40%; margin: 0 -6%; z-index: 1; }
@media (max-width: 760px) {
  .stack-card { grid-template-columns: 1fr; min-height: 0; }
  .goal-media { height: 34svh; max-height: 250px; padding-top: 8px; order: -1; }
  .goal-media img { max-height: 100%; }
  .goal-body { padding: 24px; gap: 18px; }
  .goal-body p { font-size: 15px; }
}
@media (max-height: 600px) { .stack-panel { position: static; } }

/* ---------- Tarjetas de producto ---------- */
.p-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1100px) { .p-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .p-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.p-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.p-media {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 4.4;
  border-radius: var(--r); background: var(--linen); overflow: hidden; text-decoration: none;
}
.p-media::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.95), transparent 70%); }
.p-media img { position: relative; width: 66%; height: 78%; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(0,0,0,0.16)); transition: transform 0.6s var(--ease); }
.p-card:hover .p-media img { transform: translateY(-6px) scale(1.05); }
.p-tags { position: absolute; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 1; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 5px 9px; border-radius: var(--pill); background: var(--paper); color: var(--text); border: 1px solid var(--line); }
.tag-dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tag-lime { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.p-add {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: var(--ink); color: var(--lime);
  transition: transform 0.3s var(--ease), background-color 0.2s;
}
.p-add:hover { transform: scale(1.08); background: var(--lime); color: var(--ink); }
.p-body { padding: 14px 2px 0; display: flex; flex-direction: column; gap: 4px; }
.p-brand { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.p-name { font-size: 16px; font-weight: 700; line-height: 1.3; text-decoration: none; }
.p-name:hover { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.p-meta { font-size: 13px; color: var(--muted); }
.p-price { margin-top: 6px; font-weight: 800; font-size: 15px; }
.p-price.pending { font-weight: 600; font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.p-price.pending::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(200,255,0,0.3); }
@media (max-width: 760px) {
  .p-name { font-size: 14px; }
  .p-add { width: 40px; height: 40px; right: 8px; bottom: 8px; }
  .tag { font-size: 10px; padding: 4px 7px; }
}

/* Fila deslizable de destacados */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  min-height: 44px; padding: 0 18px; border-radius: var(--pill);
  border: 1.5px solid var(--line); background: var(--paper);
  font-weight: 600; font-size: 14px; transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"], .chip[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
@media (max-width: 1100px) { .rail { grid-auto-columns: calc((100% - 2 * 16px) / 2.6); gap: 16px; } }
@media (max-width: 760px) { .rail { grid-auto-columns: 62%; gap: 12px; } }
.rail-nav { display: flex; gap: 8px; }
.rail-nav .icon-btn { border: 1.5px solid var(--line); }

/* ---------- Banda de Mini Leo ---------- */
.leo-band { position: relative; overflow: hidden; }
.leo-band::before { content: ""; position: absolute; width: 640px; aspect-ratio: 1; right: -200px; top: -240px; border-radius: 50%; background: radial-gradient(circle, rgba(255,45,170,0.32), rgba(139,18,240,0.18) 40%, transparent 70%); pointer-events: none; }
.leo-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.leo-band h2 { font-size: clamp(2.6rem, 6vw, 5rem); margin: 14px 0 18px; }
.leo-band h2 em { font-style: italic; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.08em; }
.leo-band p { font-size: 17px; max-width: 460px; }
.leo-points { list-style: none; margin: 26px 0 30px; display: grid; gap: 12px; }
.leo-points li { display: flex; gap: 12px; align-items: flex-start; color: var(--on-dark); }
.leo-points li .ico { color: var(--lime); margin-top: 2px; }
.leo-demo { position: relative; background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 12px; box-shadow: 0 40px 80px rgba(0,0,0,0.4); }
.leo-demo-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line-dark); }
.leo-demo-head b { display: block; color: var(--on-dark); }
.leo-demo-head small { color: var(--on-dark-muted); }
.bubble { max-width: 86%; padding: 12px 15px; border-radius: 18px; font-size: 15px; line-height: 1.45; }
.bubble.me { justify-self: end; background: var(--lime); color: var(--ink); border-bottom-right-radius: 6px; }
.bubble.leo { background: var(--ink-3); color: var(--on-dark); border-bottom-left-radius: 6px; }
.leo-demo .bubble { opacity: 1; transform: none; }
.js .leo-demo .bubble { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: calc(var(--i) * 450ms); }
.js .leo-demo.in .bubble { opacity: 1; transform: none; }
.leo-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.leo-chips button { min-height: 40px; padding: 0 14px; border-radius: var(--pill); border: 1px solid var(--line-dark); background: transparent; color: var(--on-dark); font-size: 14px; font-weight: 600; transition: border-color 0.2s, background-color 0.2s; }
.leo-chips button:hover { border-color: var(--lime); background: rgba(200,255,0,0.08); }
@media (max-width: 860px) { .leo-grid { grid-template-columns: 1fr; } }

/* Avatar de Mini Leo */
.leo-avatar { position: relative; flex: none; width: var(--s, 44px); height: var(--s, 44px); border-radius: 50%; background: var(--grad); display: grid; place-items: center; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.2); }
.leo-avatar svg { width: 54%; height: 54%; margin-left: -6%; }
.leo-avatar::after { content: ""; position: absolute; right: 0; bottom: 1px; width: 28%; height: 28%; border-radius: 50%; background: var(--lime); border: 2px solid var(--ink); }
.leo-avatar.big { --s: 64px; }

/* ---------- Por qué comprar aquí ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.why-item { padding: 32px 28px 0 0; border-right: 1px solid var(--line); margin-right: 28px; }
.why-item:last-child { border-right: 0; margin-right: 0; }
.why-num { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 56px; line-height: 1; color: var(--ink); -webkit-text-stroke: 0; }
.why-num::after { content: ""; display: block; width: 36px; height: 4px; margin-top: 14px; background: var(--lime); transform: skewX(-20deg); }
.why-item h3 { font-size: 20px; margin: 22px 0 10px; line-height: 1.2; }
.why-item p { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) {
  .why { grid-template-columns: 1fr 1fr; gap: 0; }
  .why-item { border-right: 0; margin: 0; padding: 28px 16px 28px 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 520px) { .why { grid-template-columns: 1fr; } }

/* ---------- Acordeones (preguntas y fichas de producto) ---------- */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 18px 2px; background: none; border: 0; text-align: left;
  font-weight: 700; font-size: 17px;
}
.acc-btn .chev { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--linen); transition: transform 0.4s var(--ease), background-color 0.2s; }
.acc-btn:hover .chev { background: var(--lime); }
.acc-btn[aria-expanded="true"] .chev { transform: rotate(180deg); background: var(--lime); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }
.acc-inner { padding: 0 2px 26px; color: #2c2c31; max-width: 820px; }
.acc-inner p + p { margin-top: 12px; }
.acc-inner ul { list-style: none; display: grid; gap: 10px; }
.acc-inner li { position: relative; padding-left: 26px; }
.acc-inner li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 12px; height: 4px; background: var(--lime); box-shadow: 0 0 0 1px var(--ink) inset; transform: skewX(-20deg); }
.acc-panel[hidden] { display: grid; }
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 80px); }
.faq-wrap h2 { font-size: clamp(2.3rem, 5vw, 3.8rem); margin-top: 12px; }
.faq-wrap p.lead { color: var(--muted); margin-top: 16px; max-width: 340px; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }

/* ---------- Llamado final ---------- */
.cta-final { position: relative; overflow: hidden; text-align: center; }
.cta-final h2 { font-size: clamp(3rem, 9vw, 7.5rem); }
.cta-final h2 .lime { color: var(--lime); }
.cta-final p { max-width: 520px; margin: 20px auto 30px; font-size: 17px; }
.cta-final .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Pie ---------- */
.footer { background: var(--ink); color: var(--on-dark-muted); padding: 64px 0 120px; border-top: 1px solid var(--line-dark); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { color: var(--on-dark); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--lime); }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer .brand-mark { height: 44px; }
.footer .brand img { height: 22px; }
.footer-about { margin-top: 16px; max-width: 300px; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Botones flotantes: Instagram (borde izquierdo), WhatsApp (borde derecho), Mini Leo (abajo a la derecha) ---------- */
.fab { position: fixed; z-index: 70; display: grid; place-items: center; border-radius: 50%; border: 0; text-decoration: none; box-shadow: 0 10px 28px rgba(0,0,0,0.28); transition: transform 0.3s var(--ease); }
.fab:hover { transform: translateY(-3px) scale(1.04); }
/* Pestañas pegadas a los bordes, a media altura, con el degradado de la marca */
.fab-side {
  top: 50%; width: 54px; height: 48px; color: #fff;
  background: linear-gradient(135deg, #b51fd8 0%, #8b12f0 100%);
  box-shadow: 0 10px 26px rgba(139, 18, 240, 0.4);
  transform: translateY(-50%);
}
.fab-side svg { width: 26px; height: 26px; }
.fab-ig { left: 0; border-radius: 0 999px 999px 0; padding-right: 4px; }
.fab-wa { right: 0; border-radius: 999px 0 0 999px; padding-left: 4px; }
.fab-ig:hover { transform: translateY(-50%) translateX(4px); }
.fab-wa:hover { transform: translateY(-50%) translateX(-4px); }
.fab-side:focus-visible { outline-offset: -4px; outline-color: #fff; }
.fab-leo { right: 16px; bottom: 18px; width: 64px; height: 64px; background: transparent; padding: 0; }
.fab-leo .leo-avatar { --s: 64px; }
.fab-leo .leo-avatar::after { border-color: var(--paper); }
.fab-hint {
  position: fixed; right: 92px; bottom: 30px; z-index: 70;
  background: var(--paper); color: var(--ink); padding: 10px 14px; border-radius: 16px 16px 4px 16px;
  font-size: 14px; font-weight: 600; box-shadow: var(--shadow); max-width: 220px;
  opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.fab-hint.show { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 520px) {
  .fab-side { width: 48px; height: 44px; }
  .fab-side svg { width: 24px; height: 24px; }
  .fab-leo, .fab-leo .leo-avatar { width: 56px; height: 56px; --s: 56px; }
  .fab-leo { right: 12px; bottom: 14px; }
  .fab-hint { right: 76px; bottom: 22px; }
}
.chat-open .fab-leo, .chat-open .fab-hint { opacity: 0; pointer-events: none; }
@media (max-width: 520px) { .chat-open .fab-side { opacity: 0; pointer-events: none; } }

/* ---------- Chat de Mini Leo ---------- */
.chat {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  width: min(400px, calc(100vw - 32px)); height: min(640px, calc(100svh - 32px));
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--ink-2); color: var(--on-dark); border: 1px solid var(--line-dark); border-radius: var(--r-lg);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  opacity: 0; transform: translateY(20px) scale(0.98); transform-origin: bottom right;
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
}
.chat.open { opacity: 1; transform: none; }
.chat[hidden] { display: none; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 12px 14px 16px; border-bottom: 1px solid var(--line-dark); background: var(--ink); }
.chat-head b { display: block; font-size: 16px; }
.chat-head small { color: var(--on-dark-muted); font-size: 12px; }
.chat-head .icon-btn { margin-left: auto; color: var(--on-dark); }
.chat-body { flex: 1; overflow-y: auto; padding: 18px 14px; display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth; }
.chat-body .bubble { max-width: 90%; }
.chat-body .bubble.leo { align-self: flex-start; }
.chat-body .bubble.me { align-self: flex-end; }
.bubble p + p, .bubble p + ul, .bubble ul + p { margin-top: 8px; }
.bubble ul { padding-left: 18px; }
.bubble strong { color: #fff; }
.bubble.me strong { color: var(--ink); }
.typing { display: inline-flex; gap: 5px; padding: 16px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--on-dark-muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: 0.2s; }
.typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.chat-recs { display: grid; gap: 8px; align-self: stretch; }
.rec { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 12px; padding: 8px 10px 8px 8px; background: var(--ink-3); border: 1px solid var(--line-dark); border-radius: var(--r); }
.rec-img { width: 56px; height: 56px; border-radius: 10px; background: var(--paper); display: grid; place-items: center; }
.rec-img img { width: 80%; height: 86%; object-fit: contain; }
.rec b { display: block; font-size: 14px; line-height: 1.25; }
.rec small { color: var(--on-dark-muted); font-size: 12px; }
.rec a { color: var(--lime); font-size: 12px; font-weight: 700; }
.rec .p-add { position: static; width: 40px; height: 40px; background: var(--lime); color: var(--ink); }
.chat-wa { align-self: flex-start; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; }
.chat-chips button { min-height: 36px; padding: 0 12px; border-radius: var(--pill); border: 1px solid var(--line-dark); background: transparent; color: var(--on-dark); font-size: 13px; font-weight: 600; }
.chat-chips button:hover { border-color: var(--lime); }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line-dark); background: var(--ink); }
.chat-form textarea { flex: 1; min-width: 0; resize: none; height: 48px; max-height: 120px; padding: 13px 16px; border-radius: 24px; border: 1px solid var(--line-dark); background: var(--ink-2); color: var(--on-dark); font-size: 15px; line-height: 1.4; overflow: hidden; }
.chat-form textarea::placeholder { color: var(--on-dark-muted); }
.chat-form button { width: 48px; height: 48px; flex: none; border-radius: 50%; border: 0; background: var(--lime); color: var(--ink); display: grid; place-items: center; }
.chat-form button:disabled { opacity: 0.5; }
.chat-foot { font-size: 11px; color: var(--on-dark-muted); text-align: center; padding: 0 12px 10px; background: var(--ink); }
@media (max-width: 520px) {
  .chat { right: 0; bottom: 0; width: 100vw; height: 100svh; border-radius: 0; border: 0; }
}

/* ---------- Carrito lateral ---------- */
.layer { position: fixed; inset: 0; z-index: 95; }
.layer[hidden] { display: none; }
.backdrop { position: absolute; inset: 0; background: rgba(11,11,13,0.55); opacity: 0; transition: opacity 0.3s; }
.layer.open .backdrop { opacity: 1; }
.drawer {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100vw);
  background: var(--paper); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.45s var(--ease);
}
.layer.open .drawer { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 16px 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 30px; }
.drawer-head small { display: block; color: var(--muted); font-size: 13px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.cart-item { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item .ci-img { width: 76px; height: 86px; border-radius: 10px; background: var(--linen); display: grid; place-items: center; }
.cart-item .ci-img img { width: 76%; height: 84%; object-fit: contain; }
.ci-top { display: flex; justify-content: space-between; gap: 8px; }
.ci-top b { font-size: 15px; line-height: 1.3; }
.ci-top small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.ci-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--pill); }
.stepper button { width: 40px; height: 40px; border: 0; background: none; display: grid; place-items: center; border-radius: 50%; }
.stepper button:hover { background: var(--linen); }
.stepper span { min-width: 28px; text-align: center; font-weight: 700; }
.stepper.big button { width: 48px; height: 48px; }
.ci-price { font-weight: 700; font-size: 14px; color: var(--muted); }
.cart-empty { text-align: center; padding: 56px 12px; display: grid; justify-items: center; gap: 14px; }
.cart-empty .big-ico { width: 72px; height: 72px; border-radius: 50%; background: var(--linen); display: grid; place-items: center; }
.cart-empty p { color: var(--muted); }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); display: grid; gap: 12px; background: var(--paper); }
.sum-row { display: flex; justify-content: space-between; font-weight: 700; }
.sum-row span:last-child { text-align: right; }
.sum-note { font-size: 13px; color: var(--muted); }
.order-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.order-fields input { height: 44px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 12px; min-width: 0; font-size: 14px; }
.order-fields input:focus { border-color: var(--ink); outline: none; }

/* ---------- Aviso emergente ---------- */
.toast { position: fixed; left: 50%; bottom: 92px; z-index: 120; transform: translate(-50%, 16px); opacity: 0; background: var(--ink); color: var(--paper); padding: 12px 16px 12px 14px; border-radius: var(--pill); display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow); transition: opacity 0.3s, transform 0.4s var(--ease); max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast .ok { width: 24px; height: 24px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; flex: none; }
.toast button { background: none; border: 0; color: var(--lime); font-weight: 700; padding: 6px; margin-left: 4px; }

/* ============================================================
   TIENDA (catálogo con filtros)
   ============================================================ */
.page-hero { background: var(--ink); color: var(--on-dark); padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 4vw, 48px); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(3rem, 9vw, 6.5rem); margin: 14px 0 12px; }
.page-hero p { color: var(--on-dark-muted); max-width: 560px; }
.page-hero .ghost-word { position: absolute; right: -2%; bottom: -12%; font-family: var(--display); font-style: italic; font-weight: 900; font-size: clamp(8rem, 22vw, 18rem); color: transparent; -webkit-text-stroke: 1.5px rgba(200,255,0,0.14); line-height: 0.8; pointer-events: none; text-transform: uppercase; white-space: nowrap; }
.shop-tools { position: sticky; top: var(--header-h); z-index: 30; background: rgba(255,255,255,0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.shop-tools .wrap { display: grid; gap: 10px; padding-top: 12px; padding-bottom: 12px; }
.shop-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.shop-row::-webkit-scrollbar { display: none; }
.shop-row .chip { flex: none; }
.shop-search { display: flex; gap: 10px; align-items: center; }
.shop-search label { flex: 1; position: relative; }
.shop-search input { width: 100%; height: 48px; border-radius: var(--pill); border: 1.5px solid var(--line); padding: 0 18px 0 46px; font-size: 15px; background: var(--paper); }
.shop-search input:focus { outline: none; border-color: var(--ink); }
.shop-search .ico { position: absolute; left: 16px; top: 14px; color: var(--muted); }
.shop-count { font-size: 14px; color: var(--muted); white-space: nowrap; }
.shop-sub { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); flex: none; align-self: center; margin-right: 4px; }
.cat-block { padding-top: 40px; }
.cat-block + .cat-block { padding-top: 56px; }
.cat-block-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 3px solid var(--ink); }
.cat-block-head h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.cat-block-head p { color: var(--muted); max-width: 520px; font-size: 15px; }
.empty { text-align: center; padding: 64px 16px; color: var(--muted); display: grid; gap: 16px; justify-items: center; }

/* ============================================================
   FICHA DE PRODUCTO
   ============================================================ */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); padding: 20px 0; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.pd { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; padding-bottom: 48px; }
.pd-media { position: sticky; top: calc(var(--header-h) + 20px); }
.pd-stage { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); background: var(--linen); display: grid; place-items: center; overflow: hidden; }
.pd-stage::before { content: ""; position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(200,255,0,0.45), rgba(200,255,0,0.08) 50%, transparent 70%); }
.pd-stage::after { content: attr(data-word); position: absolute; left: 0; right: 0; bottom: 4%; text-align: center; font-family: var(--display); font-style: italic; font-weight: 900; font-size: clamp(4rem, 12vw, 9rem); line-height: 0.8; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px rgba(11,11,13,0.08); pointer-events: none; white-space: nowrap; }
.pd-stage img { position: relative; width: 62%; height: 76%; object-fit: contain; filter: drop-shadow(0 30px 34px rgba(0,0,0,0.22)); z-index: 1; }
.pd-stage .p-tags { top: 16px; left: 16px; }
.pd-info { padding-top: 6px; }
.pd-brand { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.pd-info h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); margin: 10px 0 14px; }
.pd-lead { font-size: 17px; color: #2c2c31; }
.pd-stats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; margin: 24px 0; }
.stat { padding: 14px 12px; border-radius: var(--r); background: var(--linen); }
.stat b { display: block; font-family: var(--display); font-style: italic; font-weight: 800; font-size: clamp(21px, 6vw, 28px); line-height: 1; overflow-wrap: anywhere; }
.stat span { font-size: 12px; color: var(--muted); font-weight: 600; }
.pd-price { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: var(--r); border: 1.5px dashed var(--line); margin-bottom: 18px; }
.pd-price b { font-size: 22px; }
.pd-price small { display: block; color: var(--muted); font-size: 13px; }
.pd-buy { display: flex; gap: 10px; flex-wrap: wrap; }
.pd-buy .btn-lime { flex: 1; min-width: 200px; --h: 56px; font-size: 16px; }
.pd-alt { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.pd-alt .btn { --h: 50px; padding: 0 14px; }
.pd-trust { list-style: none; display: grid; gap: 10px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; }
.pd-trust li { display: flex; gap: 10px; align-items: center; }
.pd-trust .ico { color: var(--ink); background: var(--lime); border-radius: 50%; padding: 3px; width: 22px; height: 22px; }
.pd-sections { padding-bottom: clamp(48px, 7vw, 88px); }
.pd-sections .acc { border-top: 3px solid var(--ink); }
.nutri-table { width: 100%; max-width: 520px; border-collapse: collapse; border: 2px solid var(--ink); font-size: 15px; }
.nutri-table caption { text-align: left; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 26px; text-transform: uppercase; padding-bottom: 8px; }
.nutri-table th, .nutri-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.nutri-table td { text-align: right; font-weight: 700; }
.nutri-table thead th { background: var(--ink); color: var(--paper); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.nutri-note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.details-list { display: grid; grid-template-columns: 180px 1fr; max-width: 640px; }
.details-list dt, .details-list dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); }
.details-list dt { color: var(--muted); font-weight: 600; font-size: 14px; }
.details-list dd { font-weight: 600; }
.warn { margin-top: 16px; padding: 14px 16px; border-radius: var(--r); background: #fff7d6; border: 1px solid #f0dc8a; font-size: 14px; color: #4a3d00; }
@media (max-width: 900px) {
  .pd { grid-template-columns: 1fr; }
  .pd-media { position: static; }
  .pd-stage { aspect-ratio: 1 / 0.9; }
}
@media (max-width: 520px) {
  .pd-alt { grid-template-columns: 1fr; }
  .details-list { grid-template-columns: 1fr; }
  .details-list dt { border-bottom: 0; padding-bottom: 0; }
}

/* ============================================================
   MOVIMIENTO al aparecer (solo con JS activo)
   ============================================================ */
.js .reveal { opacity: 0; transform: translateY(var(--rise)); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.done { transition-delay: 0s; }
body.paused *, body.paused *::before, body.paused *::after { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal, .js .leo-demo .bubble { opacity: 1; transform: none; }
  .mask > span, .slide .fade, .bottle, .slide .stage-word { transform: none !important; }
  .slide.is-active .bottle { transform: translateX(var(--x, 0)) rotate(var(--r, 0deg)) !important; }
  .stack-card { transform: none; }
  .stack-card::after { opacity: 0; }
}

/* ============================================================
   PÁGINA DE PAGO (checkout.html)
   ============================================================ */
.checkout-page { background: var(--paper); }
.checkout-page .fab-leo, .checkout-page .fab-ig, .checkout-page .fab-hint { display: none; }
.co-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.co-header { background: var(--ink); color: var(--on-dark); border-bottom: 1px solid var(--line-dark); }
.co-header-in { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.co-title { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 20px; text-transform: uppercase; color: var(--on-dark-muted); padding-left: 18px; border-left: 1px solid var(--line-dark); }
.co-back { margin-left: auto; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--on-dark-muted); }
.co-back:hover { color: var(--lime); }
.co-grid { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: start; }
.co-form { padding: 36px 48px 72px 0; border-right: 1px solid var(--line); min-height: calc(100svh - 68px); }
.co-sec { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.co-sec h2 { font-size: 21px; font-weight: 800; margin-bottom: 16px; }
.co-sec h2 .opt, .field .opt { font-weight: 500; color: var(--muted); font-size: 0.85em; }
.field { display: grid; gap: 6px; margin-bottom: 12px; min-width: 0; }
.field label { font-size: 13px; font-weight: 600; color: #2c2c31; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid var(--line); background: var(--paper); font-size: 15px; color: var(--text);
}
.field textarea { resize: vertical; min-height: 90px; }
.field input[readonly] { background: var(--linen); color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(200, 255, 0, 0.45); }
.field .hint { font-size: 12px; color: var(--muted); }
.field.has-error input, .field.has-error select { border-color: #c81e1e; background: #fff6f6; }
.field .err { font-size: 12.5px; font-weight: 600; color: #b91c1c; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; margin-top: 6px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.options { border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; }
.opt-card { display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; padding: 16px; cursor: pointer; border-bottom: 1.5px solid var(--line); transition: background-color 0.2s; }
.opt-card:last-child { border-bottom: 0; }
.opt-card input { grid-row: span 2; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); }
.opt-card.is-on { background: #f7ffe0; box-shadow: inset 0 0 0 1.5px var(--ink); border-radius: 12px; }
.opt-main { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.opt-price { font-weight: 700; white-space: nowrap; font-size: 14px; }
.opt-sub { grid-column: 2; font-size: 13px; color: var(--muted); margin-top: 4px; }
.opt-body { grid-column: 1 / -1; margin-top: 14px; padding: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; font-size: 14px; color: #2c2c31; display: grid; gap: 12px; }
.cuenta { line-height: 1.5; }
.co-note { font-size: 14px; color: var(--muted); margin: -6px 0 14px; }
.co-errors { margin-bottom: 14px; padding: 12px 14px; border-radius: 10px; background: #fff1f1; color: #9b1c1c; font-weight: 600; font-size: 14px; border: 1px solid #f5c2c2; }
.co-submit { --h: 58px; font-size: 16px; }
.co-legal { font-size: 13px; color: var(--muted); margin-top: 14px; }
.co-summary { position: sticky; top: 0; padding: 36px 0 40px 44px; min-height: calc(100svh - 68px); }
.co-summary::before { content: ""; position: absolute; inset: 0 -100vw 0 0; background: var(--linen); z-index: -1; }
.co-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; margin-bottom: 14px; }
.co-thumb { position: relative; width: 64px; height: 64px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; }
.co-thumb img { width: 78%; height: 84%; object-fit: contain; }
.co-thumb i { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--pill); background: var(--ink); color: var(--lime); font-style: normal; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.co-name b { display: block; font-size: 14px; line-height: 1.3; }
.co-name small { color: var(--muted); font-size: 12px; }
.co-price { font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.co-lines { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 16px; display: grid; gap: 10px; font-size: 14px; }
.co-lines > div { display: flex; justify-content: space-between; gap: 12px; }
.co-lines > div span:last-child { text-align: right; }
.co-total { font-size: 18px; font-weight: 800; padding-top: 8px; }
.co-total small { font-size: 12px; color: var(--muted); font-weight: 600; }
.co-sumnote { font-size: 13px; color: var(--muted); margin-top: 12px; }
.co-trust { list-style: none; display: grid; gap: 8px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.co-sum-toggle { display: none; }
.co-empty, .co-done { text-align: center; display: grid; gap: 14px; justify-items: center; padding: 40px 0; }
.co-empty h1, .co-done h1 { font-size: clamp(2.4rem, 7vw, 3.6rem); }
.co-done p { max-width: 460px; color: #2c2c31; }
.co-done-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-size: 30px; font-weight: 800; }
.co-next { text-align: left; max-width: 460px; display: grid; gap: 8px; padding-left: 20px; color: #2c2c31; font-size: 15px; }
.co-done-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
@media (max-width: 900px) {
  .co-grid { grid-template-columns: 1fr; overflow: visible; }
  .co-form { padding: 24px 0 120px; border-right: 0; min-height: 0; }
  .co-summary { position: static; padding: 0 var(--gutter) 20px; margin: 0 calc(var(--gutter) * -1); min-height: 0; background: var(--linen); display: none; order: -1; border-bottom: 1px solid var(--line); }
  .co-summary::before { display: none; }
  .co-summary.open { display: block; padding-top: 18px; }
  .co-sum-toggle { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; padding: 0 var(--gutter); background: var(--linen); border: 0; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; }
  .co-sum-toggle span { display: inline-flex; align-items: center; gap: 6px; }
  .co-sum-toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }
  .co-title { display: none; }
}
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; gap: 0; } }
