/* =========================================================
   Áurea Vital — sistema visual
   Verde bosque + oro + crema, tipografía editorial.
   ========================================================= */
:root {
  --bg: #f8f3e7;
  --paper: #fffdf7;
  --surface: #ffffff;
  --ink: #142019;
  --muted: #5a6a5f;
  --line: #e7dcc3;
  --line-soft: #efe7d4;
  --green: #103a22;
  --green-2: #164a2d;
  --green-3: #1f5c3a;
  --green-soft: #e4ede3;
  --gold: #a87d2b;
  --gold-2: #c69a45;
  --gold-3: #e2c27a;
  --gold-soft: #f5ead0;
  --cream: #f4ead0;
  --danger: #b3261e;
  --ok: #1f7a46;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(20, 32, 25, .06);
  --shadow: 0 2px 4px rgba(20, 32, 25, .04), 0 12px 32px rgba(20, 32, 25, .08);
  --shadow-lg: 0 30px 80px rgba(8, 28, 16, .28);
  --font-head: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.05; margin: 0 0 .5em; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); }
p { margin: 0 0 1em; text-wrap: pretty; }
em { font-style: italic; color: var(--gold); }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; border-radius: 8px; }
.icon { display: inline-flex; }
.icon svg, [data-icon] svg { width: 100%; height: 100%; }

/* ---------- Anuncios ---------- */
.announce { background: var(--green); color: var(--gold-3); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; overflow: hidden; border-bottom: 1px solid rgba(226, 194, 122, .18); }
.announce-track { display: flex; gap: 48px; width: max-content; padding: 9px 0; animation: marquee 38s linear infinite; }
.announce-track span { display: inline-flex; align-items: center; gap: 48px; white-space: nowrap; }
.announce-track span::after { content: "✦"; color: var(--gold-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cabecera ---------- */
.header { position: sticky; top: 0; z-index: 40; background: rgba(248, 243, 231, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s; }
.header.scrolled { border-bottom-color: var(--line); background: rgba(255, 253, 247, .94); }
.header .wrap { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--green); font-family: var(--font-head); font-size: 1.75rem; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.logo-mark { width: 46px; height: 46px; flex: none; border-radius: 999px; display: grid; place-items: center; overflow: hidden; background: var(--green); color: var(--gold-3); font-size: 1.15rem; font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--gold-2); }
.logo-mark img { width: 100%; height: 100%; object-fit: cover; }
.nav { display: none; gap: 28px; margin-left: 24px; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink); position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.nav a:hover::after { transform: scaleX(1); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { position: relative; width: 46px; height: 46px; border-radius: 999px; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--green); text-decoration: none; transition: background-color .2s; }
.icon-btn:hover { background: var(--line-soft); }
.icon-btn:active { transform: scale(.96); }
.icon-btn .icon { width: 22px; height: 22px; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--gold); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; transition: transform .3s var(--ease-out); }
.cart-count[data-empty="true"] { display: none; }
.cart-count.bump { animation: bump .45s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* Buscador */
.search-panel { position: fixed; inset: 0; z-index: 70; display: none; }
.search-panel.open { display: block; }
.search-backdrop { position: absolute; inset: 0; background: rgba(10, 24, 15, .45); backdrop-filter: blur(4px); animation: fade .25s ease; }
.search-box { position: relative; max-width: 720px; margin: 10vh auto 0; background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 18px; width: calc(100% - 32px); animation: rise .35s var(--ease-out); }
.search-input { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); padding: 4px 6px 14px; }
.search-input .icon { width: 22px; height: 22px; color: var(--gold); }
.search-input input { flex: 1; border: 0; background: transparent; font: 500 1.25rem var(--font-body); color: var(--ink); outline: none; min-height: 44px; }
.search-results { max-height: 55vh; overflow: auto; padding-top: 8px; }
.search-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 10px; border-radius: 12px; text-decoration: none; }
.search-item:hover, .search-item:focus-visible { background: var(--line-soft); }
.search-item img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.search-empty { padding: 22px 10px; color: var(--muted); }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(.98); } }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 0; font: 600 1rem/1 var(--font-body); letter-spacing: .01em; cursor: pointer; text-decoration: none; transition: transform .2s var(--ease-out), background-color .2s, box-shadow .25s, color .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn .icon { width: 20px; height: 20px; }
.btn-primary { background: var(--green); color: var(--cream); }
.btn-primary:hover { background: var(--green-3); box-shadow: 0 10px 24px rgba(16, 58, 34, .25); }
.btn-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 6px 18px rgba(168, 125, 43, .3); }
.btn-gold:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 12px 28px rgba(168, 125, 43, .42); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--green); box-shadow: inset 0 0 0 1.5px var(--green); }
.btn-ghost:hover { background: var(--green); color: var(--cream); }
.btn-light { background: var(--cream); color: var(--green); }
.btn-light:hover { background: #fff; }
.btn-line-light { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(244, 234, 208, .5); }
.btn-line-light:hover { box-shadow: inset 0 0 0 1.5px var(--gold-3); color: var(--gold-3); }
.btn-block { width: 100%; }
.btn-lg { min-height: 60px; font-size: 1.08rem; padding: 0 34px; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--green); text-decoration: none; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Secciones ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 40px; }
.section-head p { max-width: 46ch; color: var(--muted); margin: 0; }
.dark { background: var(--green); color: var(--cream); }
.dark .muted, .dark p { color: rgba(244, 234, 208, .78); }
.dark em { color: var(--gold-3); }
.dark .eyebrow { color: var(--gold-3); }
.leaf-bg { position: relative; overflow: hidden; isolation: isolate; }
.leaf-bg::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 620px; height: 620px; background: radial-gradient(closest-side, rgba(226, 194, 122, .22), transparent 70%); z-index: -1; pointer-events: none; }

/* ---------- Hero portada ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(1200px 600px at 85% 20%, #1d5a37 0%, transparent 60%), radial-gradient(800px 500px at 10% 110%, #0b2c19 0%, transparent 60%), var(--green); color: var(--cream); }
.hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(226,194,122,.09) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent, #000 60%); z-index: -1; }
.hero .wrap { display: grid; gap: 40px; align-items: center; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(56px, 8vw, 110px); }
.hero h1 { color: var(--cream); font-weight: 500; }
.hero h1 em { color: var(--gold-3); }
.hero-lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: rgba(244, 234, 208, .8); max-width: 48ch; margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 36px; font-size: .92rem; color: rgba(244, 234, 208, .82); }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof .icon { width: 18px; height: 18px; color: var(--gold-3); }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 380px; }
.halo { position: relative; width: min(470px, 86vw); aspect-ratio: 1; border-radius: 999px; display: grid; place-items: center; background: radial-gradient(closest-side, rgba(226,194,122,.25), rgba(226,194,122,.05) 70%, transparent); }
.halo::before, .halo::after { content: ""; position: absolute; inset: 0; border-radius: 999px; border: 1px solid rgba(226, 194, 122, .55); }
.halo::after { inset: -22px; border-color: rgba(226, 194, 122, .18); border-style: dashed; animation: spin 80s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.halo img { width: 78%; aspect-ratio: 1; object-fit: cover; border-radius: 999px; box-shadow: var(--shadow-lg); }
.float-card { position: absolute; background: rgba(255, 253, 247, .96); color: var(--ink); border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; font-size: .9rem; animation: floaty 6s ease-in-out infinite; }
.float-card strong { display: block; font-size: 1rem; color: var(--green); }
.float-card .icon { width: 36px; height: 36px; padding: 8px; border-radius: 12px; background: var(--gold-soft); color: var(--gold); flex: none; }
.float-card.a { left: 0; top: 14%; }
.float-card.b { right: 0; bottom: 12%; animation-delay: -3s; }
@keyframes floaty { 50% { transform: translateY(-10px); } }

/* ---------- Franja de valores ---------- */
.values { background: var(--paper); border-bottom: 1px solid var(--line); }
.values .wrap { display: grid; grid-template-columns: repeat(2, 1fr); }
.value { display: flex; gap: 14px; align-items: center; padding: 22px 8px; }
.value .icon { width: 42px; height: 42px; padding: 9px; flex: none; border-radius: 999px; background: var(--green-soft); color: var(--green); }
.value strong { display: block; font-size: .98rem; }
.value span { font-size: .86rem; color: var(--muted); }

/* ---------- Categorías ---------- */
.cats { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-weight: 600; font-size: .92rem; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--green); }
.chip[aria-pressed="true"] { background: var(--green); color: var(--cream); border-color: var(--green); }

/* ---------- Tarjetas de producto ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.pcard { position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r-lg); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.pcard:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--gold-3), var(--shadow); }
.pcard-media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--green-soft); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out), opacity .5s; }
.pcard-media img.alt { position: absolute; inset: 0; opacity: 0; }
.pcard:hover .pcard-media img { transform: scale(1.04); }
.pcard:hover .pcard-media img.alt { opacity: 1; }
.tag { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--green); color: var(--gold-3); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; padding: 7px 12px; border-radius: 999px; }
.tag.gold { background: var(--gold); color: #fff; }
.pcard-quick { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; transform: translateY(12px); opacity: 0; transition: transform .4s var(--ease-out), opacity .3s; }
.pcard:hover .pcard-quick, .pcard:focus-within .pcard-quick { transform: none; opacity: 1; }
.pcard-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard-cat { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.pcard-title { font-family: var(--font-head); font-size: 1.6rem; font-weight: 600; line-height: 1.1; text-decoration: none; color: var(--ink); }
.pcard-title::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pcard-sub { color: var(--muted); font-size: .92rem; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin-top: auto; padding-top: 10px; }
.price strong { font-size: 1.45rem; color: var(--green); font-weight: 700; letter-spacing: -.01em; }
.price s { color: var(--muted); font-size: .95rem; }
.save { display: inline-flex; align-items: center; background: var(--gold-soft); color: #7a5a14; font-weight: 700; font-size: .78rem; padding: 4px 10px; border-radius: 999px; }
.empty-note { padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--r-lg); }

/* ---------- Producto destacado (portada) ---------- */
.spotlight { display: grid; gap: 40px; align-items: center; }
.spotlight-media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1; box-shadow: var(--shadow-lg); }
.spotlight-media img { width: 100%; height: 100%; object-fit: cover; }
.spotlight .price strong { font-size: 2.2rem; color: var(--gold-3); }
.spotlight .price s { color: rgba(244, 234, 208, .6); }
.checks { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .icon { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--gold-2); }
.dark .checks .icon { color: var(--gold-3); }

/* ---------- Pasos ---------- */
.steps { display: grid; gap: 20px; counter-reset: step; }
.step { position: relative; background: var(--paper); border-radius: var(--r-lg); padding: 30px 28px; box-shadow: inset 0 0 0 1px var(--line); }
.step-num { font-family: var(--font-head); font-size: 3.4rem; line-height: 1; color: var(--gold-2); font-weight: 500; margin-bottom: 14px; display: block; }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); }

/* ---------- Pago ---------- */
.pay-band { display: grid; gap: 28px; align-items: center; background: var(--paper); border-radius: var(--r-lg); padding: clamp(28px, 5vw, 56px); box-shadow: inset 0 0 0 1px var(--line); }
.pay-logos { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.pay-logo { display: inline-flex; align-items: center; justify-content: center; min-width: 74px; height: 44px; padding: 0 14px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-weight: 800; font-size: .9rem; letter-spacing: .02em; }
.pay-logo.yape { background: #742284; color: #fff; box-shadow: none; text-transform: lowercase; font-size: 1.05rem; }
.pay-logo.visa { color: #1a1f71; font-style: italic; }
.pay-logo.mc { color: #eb001b; }
.pay-logo.amex { color: #2e77bc; }
.pay-logos.small .pay-logo { min-width: 0; height: 32px; padding: 0 10px; font-size: .76rem; border-radius: 8px; }
.pay-logos.small .pay-logo.yape { font-size: .88rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq details { background: var(--paper); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s; }
.faq details[open] { box-shadow: inset 0 0 0 1px var(--gold-3), var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-weight: 600; font-size: 1.05rem; min-height: 64px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 22px; height: 22px; flex: none; color: var(--gold); transition: transform .35s var(--ease-out); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq .answer { padding: 0 24px 22px; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }

/* ---------- CTA final ---------- */
.cta-final { text-align: center; }
.cta-final h2 { max-width: 18ch; margin-left: auto; margin-right: auto; }
.cta-final .hero-ctas { justify-content: center; }

/* ---------- Pie ---------- */
.footer { background: #0b2a18; color: rgba(244, 234, 208, .75); padding: 72px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; padding-bottom: 48px; border-bottom: 1px solid rgba(244, 234, 208, .12); }
.footer .logo { color: var(--cream); }
.footer h4 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-3); margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: rgba(244, 234, 208, .8); text-decoration: none; }
.footer a:hover { color: var(--gold-3); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; padding-top: 24px; font-size: .85rem; }
.disclaimer { font-size: .82rem; color: rgba(244, 234, 208, .55); max-width: 80ch; margin-top: 18px; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 35; width: 58px; height: 58px; border-radius: 999px; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(0,0,0,.22); transition: transform .3s var(--ease-out); }
.wa-float:hover { transform: scale(1.06); }
.wa-float .icon { width: 30px; height: 30px; }

/* ---------- Carrito lateral ---------- */
.drawer { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(10, 24, 15, .45); opacity: 0; transition: opacity .35s; }
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .45s var(--ease-out); box-shadow: var(--shadow-lg); }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.8rem; margin: 0; }
.drawer-body { flex: 1; overflow: auto; padding: 8px 20px; }
.drawer-foot { padding: 18px 20px 22px; border-top: 1px solid var(--line); background: var(--surface); }
.drawer-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.1rem; margin-bottom: 4px; }
.drawer-total strong { font-size: 1.5rem; color: var(--green); }
.drawer-empty { text-align: center; padding: 56px 12px; }
.drawer-empty .icon { width: 56px; height: 56px; color: var(--gold-2); margin: 0 auto 12px; }

.line-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.line-item img { width: 72px; height: 72px; object-fit: cover; border-radius: 14px; }
.line-name { font-weight: 600; line-height: 1.3; }
.line-sub { font-size: .82rem; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.qty button { width: 40px; height: 40px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; color: var(--green); border-radius: 999px; }
.qty button:hover { background: var(--line-soft); }
.qty output, .qty span { min-width: 28px; text-align: center; font-weight: 700; }
.qty.lg button { width: 50px; height: 54px; }
.remove { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: .82rem; padding: 4px 0; min-height: 32px; }

/* =========================================================
   Landing de producto
   ========================================================= */
.crumbs { font-size: .88rem; padding: 18px 0 0; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--green); }
.p-hero { padding: 20px 0 64px; }
.p-hero .wrap { display: grid; gap: 36px; }
.gallery { position: relative; }
.gallery-main { position: relative; aspect-ratio: 1; background: var(--paper); border-radius: var(--r-lg); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; transition: opacity .3s; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding: 2px; scrollbar-width: none; }
.thumbs button { flex: none; width: 78px; height: 78px; padding: 0; border-radius: 14px; border: 0; background: var(--paper); overflow: hidden; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); opacity: .7; transition: opacity .2s, box-shadow .2s; }
.thumbs button[aria-current="true"] { opacity: 1; box-shadow: inset 0 0 0 2px var(--gold); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.p-info h1 { font-size: clamp(2.6rem, 5vw, 4rem); margin-bottom: 10px; }
.p-tagline { font-size: 1.12rem; color: var(--muted); margin-bottom: 18px; }
.rating-free { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.offer-box { margin: 22px 0; padding: 22px; border-radius: var(--r-lg); background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--gold-3); position: relative; }
.offer-ribbon { position: absolute; top: -13px; left: 22px; background: var(--gold); color: #fff; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.offer-box .price { padding: 0; }
.offer-box .price strong { font-size: 2.4rem; }
.offer-name { font-weight: 600; margin: 6px 0 2px; }
.offer-unit { font-size: .9rem; color: var(--muted); }
.buy-row { display: flex; gap: 12px; align-items: stretch; margin: 18px 0 12px; }
.buy-row .btn { flex: 1; }
.p-assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.p-assure div { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 14px 6px; border-radius: 14px; background: var(--green-soft); font-size: .8rem; font-weight: 600; color: var(--green); line-height: 1.3; }
.p-assure .icon { width: 24px; height: 24px; }
.ship-line { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); margin-top: 14px; }
.ship-line .icon { width: 20px; height: 20px; flex: none; color: var(--gold); margin-top: 2px; }

.benefits { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.benefit { padding: 30px 26px; border-radius: var(--r-lg); background: rgba(255, 253, 247, .05); box-shadow: inset 0 0 0 1px rgba(226, 194, 122, .25); transition: transform .4s var(--ease-out), box-shadow .3s; }
.benefit:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(226, 194, 122, .6); }
.benefit .icon { width: 50px; height: 50px; padding: 12px; border-radius: 16px; background: rgba(226, 194, 122, .14); color: var(--gold-3); margin-bottom: 18px; }
.benefit h3 { color: var(--cream); margin-bottom: 8px; }
.benefit p { margin: 0; font-size: .96rem; }

.split { display: grid; gap: 40px; align-items: center; }
.split-media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow); background: var(--paper); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }

.receive { display: grid; gap: 14px; }
.receive-item { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--r); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.receive-item .num { font-family: var(--font-head); font-size: 2rem; color: var(--gold); width: 44px; flex: none; text-align: center; font-weight: 600; }
.receive-item strong { display: block; }
.receive-item span { color: var(--muted); font-size: .92rem; }

.timeline { display: grid; gap: 16px; }
.tl { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; }
.tl .dot { width: 56px; height: 56px; border-radius: 999px; display: grid; place-items: center; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--gold-3); color: var(--gold); }
.tl .dot .icon { width: 24px; height: 24px; }
.tl h3 { margin: 6px 0 4px; font-size: 1.4rem; }
.tl p { margin: 0; color: var(--muted); }

.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--paper); border-radius: var(--r-lg); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); font-size: .95rem; }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.compare thead th { font-family: var(--font-body); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.compare thead th.us { color: var(--green); background: var(--gold-soft); }
.compare td.us { background: rgba(245, 234, 208, .5); font-weight: 600; color: var(--green); }
.compare tr:last-child td { border-bottom: 0; }
.compare .icon { width: 20px; height: 20px; vertical-align: middle; }
.compare .yes { color: var(--ok); }
.compare .no { color: #b1a68f; }

.notice { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; border-radius: var(--r); background: var(--gold-soft); color: #5e4512; font-size: .92rem; }
.notice .icon { width: 22px; height: 22px; flex: none; margin-top: 2px; }

/* Barra de compra fija (móvil) */
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 36; background: rgba(255, 253, 247, .97); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 14px; transform: translateY(110%); transition: transform .45s var(--ease-out); }
.sticky-buy.show { transform: none; }
.sticky-buy .sb-info { min-width: 0; }
.sticky-buy .sb-name { font-weight: 600; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy .sb-price { color: var(--green); font-weight: 700; }
.sticky-buy .btn { margin-left: auto; min-height: 48px; padding: 0 22px; }
body.has-sticky .wa-float { bottom: 92px; }

/* ---------- Checkout ---------- */
.checkout { display: grid; gap: 24px; padding: 28px 0 72px; align-items: start; }
.panel { background: var(--paper); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); box-shadow: inset 0 0 0 1px var(--line); }
.totals { display: grid; gap: 8px; margin-top: 16px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals .total { font-size: 1.25rem; font-weight: 700; color: var(--green); padding-top: 12px; border-top: 1px solid var(--line); }
.empty { text-align: center; padding: 40px 8px; }
.progress { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--muted); margin-bottom: 18px; flex-wrap: wrap; }
.progress b { color: var(--green); }
.progress i { width: 24px; height: 1px; background: var(--line); }

form .row { display: grid; gap: 14px; grid-template-columns: 1fr; margin-bottom: 14px; }
.field { display: grid; gap: 6px; align-content: start; }
.field label, .field .label { font-weight: 600; font-size: .92rem; }
.field input, .field select { width: 100%; min-height: 52px; padding: 12px 16px; border: 0; border-radius: 12px; font: 16px var(--font-body); background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px #d8ccb0; transition: box-shadow .2s; }
.field input:focus, .field select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--green); }
.field .hint { font-size: .82rem; color: var(--muted); }
.field .error { font-size: .84rem; color: var(--danger); }
.field .error:empty { display: none; }
.field[data-invalid="true"] input, .field[data-invalid="true"] select { box-shadow: inset 0 0 0 2px var(--danger); }
fieldset { border: 0; padding: 0; margin: 0 0 22px; }
legend { font-family: var(--font-head); font-size: 1.55rem; font-weight: 600; margin-bottom: 14px; padding: 0; }
.radio-cards { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.radio-cards label { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 16px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px #d8ccb0; cursor: pointer; font-weight: 600; transition: box-shadow .2s, background-color .2s; }
.radio-cards input { width: 20px; height: 20px; accent-color: var(--green); }
.radio-cards label:has(input:checked) { box-shadow: inset 0 0 0 2px var(--green); background: var(--green-soft); }
.alert { border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; font-size: .95rem; }
.alert-error { background: #fbe9e7; color: #7f1d1d; }
.secure { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: .84rem; color: var(--muted); margin: 12px 0 0; }
.secure .icon { width: 16px; height: 16px; }
.note { display: flex; gap: 10px; align-items: flex-start; background: var(--green-soft); border-radius: 12px; padding: 12px 14px; font-size: .9rem; margin-top: 16px; color: var(--green); }
.note .icon { width: 20px; height: 20px; flex: none; margin-top: 2px; }

/* Gracias */
.thanks { max-width: 640px; margin: 48px auto 80px; text-align: center; }
.thanks .check { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 999px; background: var(--green); display: grid; place-items: center; color: var(--gold-3); box-shadow: 0 0 0 10px var(--green-soft); }
.thanks .check .icon { width: 40px; height: 40px; }
.summary { text-align: left; margin: 24px 0; }
.summary dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; }

/* Aparición al hacer scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
/* La portada entra con CSS puro: no espera al JavaScript. */
.hero .reveal { opacity: 1; transform: none; transition: none; animation: enter .9s var(--ease-out) both; }
.hero .reveal[data-d="1"] { animation-delay: .1s; }
.hero .reveal[data-d="2"] { animation-delay: .2s; }
.hero .reveal[data-d="3"] { animation-delay: .3s; }
@keyframes enter { from { opacity: 0; transform: translateY(22px); } }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  form .row.two { grid-template-columns: 1fr 1fr; }
  form .row.three { grid-template-columns: 1fr 1fr 1fr; }
  .values .wrap { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 960px) {
  .nav { display: flex; }
  .hero .wrap { grid-template-columns: 1.1fr .9fr; }
  .spotlight { grid-template-columns: 1fr 1fr; gap: 72px; }
  .pay-band { grid-template-columns: 1.2fr 1fr; }
  .p-hero .wrap { grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: start; }
  .p-hero .gallery { position: sticky; top: calc(var(--header-h) + 20px); }
  .split { grid-template-columns: 1fr 1fr; gap: 80px; }
  .split.rev .split-media { order: 2; }
  .checkout { grid-template-columns: 1.35fr 1fr; gap: 32px; }
  .checkout .order-side { position: sticky; top: calc(var(--header-h) + 20px); }
  .sticky-buy { display: none; }
  body.has-sticky .wa-float { bottom: 18px; }
}
@media (max-width: 959px) {
  .float-card.a { left: -4px; top: 6%; }
  .float-card.b { right: -4px; bottom: 4%; }
}
@media (max-width: 420px) {
  .logo { font-size: 1.45rem; }
  .logo-mark { width: 40px; height: 40px; }
  .float-card { font-size: .8rem; padding: 10px 12px; }
  .float-card .icon { width: 30px; height: 30px; padding: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Portada v3: medios (video/imagen) con respaldo elegante
   ========================================================= */
/* Marco para fotos y videos: si el archivo aún no existe, se ve un degradado de marca. */
.media-frame { position: relative; overflow: hidden; background:
  radial-gradient(120% 90% at 80% 10%, rgba(226,194,122,.28), transparent 55%),
  radial-gradient(90% 80% at 0% 100%, #0b2c19, transparent 60%),
  linear-gradient(160deg, #1f5c3a, #103a22); }
.media-frame > img, .media-frame > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.hero-full { min-height: min(92vh, 860px); display: flex; align-items: center; }
.hero-full::after { display: none; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-full::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 30, 17, .88) 0%, rgba(8, 30, 17, .62) 45%, rgba(8, 30, 17, .15) 100%), linear-gradient(0deg, rgba(8, 30, 17, .55), transparent 40%); }
.hero-full .wrap { display: block; width: 100%; }
.hero-copy { max-width: 640px; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(244, 234, 208, .55); }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--gold-3); animation: cue 2s var(--ease-out) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(14px); } }

/* Mosaico de categorías */
.cat-tiles { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
.cat-tile { aspect-ratio: 4 / 5; border: 0; padding: 0; border-radius: var(--r-lg); cursor: pointer; text-align: left; color: var(--cream); isolation: isolate; }
.cat-tile > img { transition: transform 1s var(--ease-out); }
.cat-tile:hover > img { transform: scale(1.06); }
.cat-tile::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(0deg, rgba(8, 30, 17, .85), rgba(8, 30, 17, .1) 55%, transparent); }
.cat-tile-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: 4px; padding: 20px; }
.cat-tile-count { justify-self: start; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); background: var(--gold-3); padding: 4px 10px; border-radius: 999px; margin-bottom: 6px; }
.cat-tile-name { font-family: var(--font-head); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600; line-height: 1.05; }
.cat-tile-text { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: rgba(244, 234, 208, .85); }
.cat-tile-text .icon { width: 16px; height: 16px; transition: transform .35s var(--ease-out); }
.cat-tile:hover .cat-tile-text .icon { transform: translateX(4px); }

/* Franja de video */
.video-band { position: relative; min-height: clamp(380px, 62vh, 640px); display: flex; align-items: flex-end; color: var(--cream); isolation: isolate; }
.video-band-media { position: absolute; inset: 0; z-index: -1; }
.video-band-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 30, 17, .8), rgba(8, 30, 17, .15) 60%); }
.video-band-copy { padding-bottom: clamp(40px, 6vw, 80px); }
.video-band .eyebrow { color: var(--gold-3); }
.quote { font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 3.2rem); line-height: 1.1; max-width: 22ch; margin: 0; font-weight: 500; }

/* Tarjetas de pago */
.pay-cards { display: grid; gap: 18px; max-width: 920px; margin: 0 auto; }
.pay-card { position: relative; padding: 32px 30px; border-radius: var(--r-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.pay-card.yape { background: linear-gradient(150deg, #8a2b9c, #5d1a6c); color: #fff; box-shadow: none; }
.pay-card.yape p { color: rgba(255, 255, 255, .85); }
.pay-card h3 { font-size: 2rem; margin-bottom: 8px; }
.pay-card p { margin: 0; color: var(--muted); }
.pay-card-icon { display: inline-flex; width: 52px; height: 52px; padding: 13px; border-radius: 16px; margin-bottom: 18px; background: var(--gold-soft); color: var(--gold); }
.pay-card.yape .pay-card-icon { background: rgba(255, 255, 255, .16); color: #fff; }
.pay-logo.card { gap: 6px; color: var(--green); font-weight: 700; font-size: .85rem; }

/* Cierre con foto */
.cta-photo { position: relative; color: var(--cream); padding: clamp(80px, 12vw, 150px) 0; isolation: isolate; }
.cta-photo-media { position: absolute; inset: 0; z-index: -1; }
.cta-photo-media::after { content: ""; position: absolute; inset: 0; background: rgba(8, 30, 17, .72); }
.cta-photo .eyebrow { color: var(--gold-3); }
.cta-photo p { color: rgba(244, 234, 208, .82); }
.split-media.wide { aspect-ratio: 4 / 3; }

@media (min-width: 640px) { .pay-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .cat-tiles { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 639px) {
  .hero-full { min-height: 88vh; align-items: flex-end; padding-bottom: 40px; }
  .hero-full::before { background: linear-gradient(0deg, rgba(8, 30, 17, .92) 10%, rgba(8, 30, 17, .45) 70%, rgba(8, 30, 17, .3)); }
  .scroll-cue { display: none; }
}

/* =========================================================
   Capa de movimiento
   ========================================================= */
.progress-bar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 90; background: linear-gradient(90deg, var(--gold), var(--gold-3)); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }

/* Títulos palabra por palabra */
.words.reveal { opacity: 1; transform: none; }
.words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.words .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease-out); }
.words.in .w > span { transform: none; }

/* Fotos que se revelan como cortina */
.reveal.clip { opacity: 1; transform: none; clip-path: inset(14% 6% 14% 6% round var(--r-lg)); transition: clip-path 1.3s var(--ease-out); }
.reveal.clip.in { clip-path: inset(0 0 0 0 round var(--r-lg)); }

/* Elementos con parallax: se mueven por JS, sin transición para que sigan al scroll */
[data-parallax] { will-change: transform; transform: scale(1.15); }
.hero-media[data-parallax] { inset: -6% 0; }

/* Luz dorada que sigue al mouse */
.glow { --mx: 50%; --my: 50%; }
.glow::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(226, 194, 122, .22), transparent 45%); }
.glow:hover::before { opacity: 1; }

/* Franja de palabras gigantes en movimiento */
.word-marquee { overflow: hidden; padding: clamp(20px, 4vw, 40px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.word-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.word-track span { font-family: var(--font-head); font-size: clamp(3rem, 9vw, 7.5rem); line-height: 1; font-weight: 500; padding: 0 .35em; color: transparent; -webkit-text-stroke: 1.2px var(--gold); white-space: nowrap; display: inline-flex; align-items: center; gap: .7em; }
.word-track span:nth-child(even) { color: var(--green); -webkit-text-stroke: 0; font-style: italic; }
.word-track span::after { content: "✦"; font-size: .3em; color: var(--gold-2); -webkit-text-stroke: 0; font-style: normal; }
.word-marquee:hover .word-track { animation-play-state: paused; }

/* Portada: video con leve "respiración" y entrada del título */
.hero-full .hero-copy { will-change: opacity, transform; }
.hero-full h1 { text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }

/* Pasos y tarjetas: respuesta al pasar el mouse */
.step { transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.step:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--gold-3), var(--shadow); }
.step:hover .step-num { color: var(--gold); }
.pay-card { transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.pay-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tl .dot { transition: background-color .3s, color .3s; }
.tl:hover .dot { background: var(--green); color: var(--gold-3); }

@media (prefers-reduced-motion: reduce) {
  .words .w > span { transform: none; }
  .reveal.clip { clip-path: none; }
  [data-parallax] { transform: none !important; }
  .word-track { animation: none; }
}

/* Logo */
.footer-logo { display: inline-block; width: 150px; border-radius: 999px; overflow: hidden; box-shadow: 0 10px 40px rgba(0, 0, 0, .3); transition: transform .5s var(--ease-out); }
.footer-logo:hover { transform: rotate(-4deg) scale(1.03); }
.footer-logo img { width: 100%; height: auto; }
.logo-mark { transition: transform .5s var(--ease-out); }
.logo:hover .logo-mark { transform: rotate(-8deg); }

/* Logos de medios de pago */
.pay-logos { gap: 8px; }
.pay-img { height: 32px; width: auto; border-radius: 6px; box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(0,0,0,.05); background: #fff; }
.pay-logos.small .pay-img { height: 26px; }
.footer .pay-img { box-shadow: none; }
.pay-card-logo { width: 96px; height: auto; border-radius: 14px; margin-bottom: 18px; box-shadow: 0 0 0 2px rgba(255,255,255,.35); }
.pay-card-brands { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pay-card-brands img { height: 38px; width: auto; border-radius: 7px; box-shadow: 0 0 0 1px var(--line); }

/* Pago con Mercado Pago: pestañas Yape / Tarjeta */
.pay-panel { margin-top: 20px; }
.pay-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 18px; }
.pay-tab { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 60px; padding: 8px 12px; border: 0; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px #d8ccb0; cursor: pointer; font-weight: 700; font-size: 1rem; transition: box-shadow .2s, background-color .2s, transform .15s; }
.pay-tab:active { transform: scale(.98); }
.pay-tab img { height: 28px; width: auto; border-radius: 5px; }
.pay-tab-brands { display: inline-flex; gap: 4px; }
.pay-tab-brands img { height: 24px; box-shadow: 0 0 0 1px var(--line); }
.pay-tab[aria-selected="true"] { box-shadow: inset 0 0 0 2px var(--green); background: var(--green-soft); }
#tabYape[aria-selected="true"] { box-shadow: inset 0 0 0 2px #742284; background: #f6ecf8; }
.yape-steps { margin: 0 0 16px; padding: 14px 16px 14px 34px; border-radius: 12px; background: #f6ecf8; color: #4a1556; font-size: .92rem; display: grid; gap: 4px; }
.yape-row { margin-bottom: 14px; }
.btn-yape { background: linear-gradient(180deg, #8a2b9c, #742284); color: #fff; box-shadow: 0 8px 22px rgba(116, 34, 132, .3); }
.btn-yape:hover { box-shadow: 0 12px 28px rgba(116, 34, 132, .42); transform: translateY(-1px); }
#cardBrick { min-height: 120px; }

/* Botón verde de WhatsApp */
.btn-whatsapp { background: #25d366; color: #fff; box-shadow: 0 8px 22px rgba(37, 211, 102, .3); }
.btn-whatsapp:hover { background: #1ebe5a; transform: translateY(-1px); }

/* Landing de producto: video en galería e ingredientes */
.gallery-main video { width: 100%; height: 100%; object-fit: cover; }
.gallery-main img, .gallery-main video { transition: opacity .3s; }
.thumbs button { position: relative; }
.thumb-play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(8, 30, 17, .35); color: #fff; }
.thumb-play .icon { width: 22px; height: 22px; }
.ingredients { display: grid; gap: 12px; }
.ingredient { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r); background: rgba(255, 253, 247, .05); box-shadow: inset 0 0 0 1px rgba(226, 194, 122, .25); }
.ingredient .icon { width: 40px; height: 40px; padding: 9px; flex: none; border-radius: 12px; background: rgba(226, 194, 122, .14); color: var(--gold-3); }
.ingredient strong { display: block; color: var(--cream); font-size: 1.05rem; }
.ingredient span { font-size: .92rem; color: rgba(244, 234, 208, .75); }
.benefit { position: relative; }

/* =========================================================
   Landing de venta v3: packs, galería deslizable, conversión
   ========================================================= */
/* Galería deslizable */
.gallery-main { touch-action: pan-y; }
.gallery-track { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.gallery-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; height: 100%; scroll-snap-align: center; overflow: hidden; display: grid; place-items: center; cursor: zoom-in; }
.slide img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease-out; }
.slide video { width: 100%; height: 100%; object-fit: cover; }
.gallery-main .tag { z-index: 3; }
.dots { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 3; display: flex; justify-content: center; gap: 6px; }
.dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(16, 58, 34, .25); cursor: pointer; transition: width .3s var(--ease-out), background-color .3s; }
.dots button[aria-selected="true"] { width: 22px; background: var(--green); }
@media (min-width: 960px) { .dots { display: none; } }
@media (max-width: 959px) { .thumbs { display: none; } }

/* Lista compacta de ventajas */
.checks.compact { margin: 4px 0 18px; gap: 8px; font-size: .95rem; }
.checks.compact .icon { width: 19px; height: 19px; }

/* Cuenta regresiva (solo con fecha real) */
.countdown { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: var(--green); color: var(--cream); font-size: .9rem; margin-bottom: 14px; }
.countdown .icon { width: 18px; height: 18px; color: var(--gold-3); }
.countdown b { font-variant-numeric: tabular-nums; color: var(--gold-3); letter-spacing: .04em; }

/* Bloque de compra */
.buy-box { margin: 8px 0 4px; padding: 20px; border-radius: var(--r-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
.buy-box .offer-box { margin: 0 0 14px; }
.packs { margin: 0 0 16px; display: grid; gap: 10px; }
.packs legend { font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.pack { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; transition: box-shadow .25s, transform .25s var(--ease-out), background-color .25s; }
.pack:hover { transform: translateY(-2px); }
.pack input { position: absolute; opacity: 0; pointer-events: none; }
.pack-radio { width: 22px; height: 22px; border-radius: 999px; box-shadow: inset 0 0 0 2px #cbbf9f; transition: box-shadow .2s; }
.pack:has(input:checked) { box-shadow: inset 0 0 0 2px var(--green), 0 10px 24px rgba(16, 58, 34, .12); background: linear-gradient(180deg, #fff, var(--green-soft)); }
.pack:has(input:checked) .pack-radio { box-shadow: inset 0 0 0 7px var(--green); }
.pack:has(input:focus-visible) { outline: 3px solid var(--gold-2); outline-offset: 2px; }
.pack-main { display: grid; gap: 2px; }
.pack-name { font-weight: 700; font-size: 1.02rem; }
.pack-detail { font-size: .86rem; color: var(--muted); }
.pack-unit { font-size: .8rem; color: var(--gold); font-weight: 700; }
.pack-price { display: grid; justify-items: end; text-align: right; }
.pack-price strong { font-size: 1.3rem; color: var(--green); }
.pack-price s { font-size: .85rem; color: var(--muted); }
.pack-save { font-style: normal; font-size: .74rem; font-weight: 700; color: #7a5a14; background: var(--gold-soft); padding: 2px 8px; border-radius: 999px; margin-top: 2px; }
.pack-badge { position: absolute; top: -11px; right: 14px; background: var(--gold); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; box-shadow: 0 4px 10px rgba(168, 125, 43, .3); }
.pack.is-top .pack-badge { background: var(--green); color: var(--gold-3); }

.price-live { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.price-label { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.price-live .price { padding: 0; }
.price-live .price strong { font-size: 2.3rem; display: inline-block; }
.save-live { font-size: .9rem; font-weight: 700; color: #7a5a14; background: var(--gold-soft); padding: 8px 14px; border-radius: 999px; }
.save-live b { font-variant-numeric: tabular-nums; }
#livePrice.pop { animation: pricePop .45s var(--ease-out); }
@keyframes pricePop { 40% { transform: scale(1.08); color: var(--gold); } }

/* Brillo que recorre el botón principal */
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); animation: shine 4.5s ease-in-out infinite; }
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }

/* Franja de beneficios en movimiento */
.benefit-marquee { overflow: hidden; background: var(--green); color: var(--cream); border-block: 1px solid rgba(226, 194, 122, .25); }
.benefit-track { display: flex; width: max-content; gap: 44px; padding: 16px 0; animation: marquee 34s linear infinite; }
.benefit-track span { display: inline-flex; align-items: center; gap: 44px; font-weight: 600; font-size: .98rem; white-space: nowrap; }
.benefit-track span::after { content: "✦"; color: var(--gold-3); }
.benefit-marquee:hover .benefit-track { animation-play-state: paused; }

/* Testimonios (solo reales) */
.testimonials { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.testimonial { position: relative; margin: 0; padding: 26px; border-radius: var(--r-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 18px; }
.testimonial blockquote { margin: 0; font-family: var(--font-head); font-size: 1.3rem; line-height: 1.35; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; }
.testimonial figcaption img, .t-avatar { width: 44px; height: 44px; border-radius: 999px; object-fit: cover; }
.t-avatar { display: grid; place-items: center; background: var(--green); color: var(--gold-3); font-weight: 700; }
.testimonial small { display: block; color: var(--muted); }

/* Producto volando al carrito */
.fly-ghost { position: fixed; z-index: 100; object-fit: cover; border-radius: 24px; pointer-events: none; box-shadow: var(--shadow-lg); }

/* Barra fija de compra: también en computadora */
.sb-thumb { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; }
.sb-pack { color: var(--muted); font-weight: 500; font-size: .85rem; margin-left: 6px; }
@media (min-width: 960px) {
  .sticky-buy { display: flex; left: 50%; right: auto; bottom: 18px; width: min(720px, calc(100% - 40px)); transform: translate(-50%, 140%); border-radius: 999px; border: 0; box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line); padding: 10px 10px 10px 14px; }
  .sticky-buy.show { transform: translate(-50%, 0); }
  body.has-sticky .wa-float { bottom: 18px; }
}
@media (max-width: 959px) { .sb-thumb { display: none; } .sb-pack { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .btn-shine::after { display: none; }
  .benefit-track { animation: none; }
}

/* =========================================================
   Celular primero: nada puede desbordar hacia los costados
   ========================================================= */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
/* Los hijos de grid/flex no deben estirarse más que su columna */
.p-hero .wrap > *, .split > *, .checkout > *, .hero .wrap > *, .spotlight > *, .pay-band > *, .footer-grid > *, .packs > *, .pack-main, .line-item > *, .buy-row > * { min-width: 0; }
.pack-name, .pack-detail, .line-name { overflow-wrap: anywhere; }
img, video { max-width: 100%; }
.optional { font-weight: 400; color: var(--muted); font-size: .85em; }

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .section { padding: 56px 0; }
  .p-hero { padding: 8px 0 40px; }
  .p-hero .wrap { gap: 22px; }
  .crumbs { padding-top: 10px; font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .p-info h1 { font-size: 2.4rem; }
  .p-tagline { font-size: 1.02rem; }
  .gallery-main { border-radius: 20px; }
  .buy-box { padding: 14px; margin-left: -4px; margin-right: -4px; }
  .pack { grid-template-columns: auto 1fr auto; gap: 10px; padding: 14px 12px; }
  .pack-name { font-size: .95rem; }
  .pack-price strong { font-size: 1.15rem; }
  .price-live .price strong { font-size: 2rem; }
  .buy-row { gap: 8px; }
  .buy-row .qty.lg button { width: 42px; }
  .buy-row .btn-lg { min-height: 56px; padding: 0 16px; font-size: 1rem; }
  .p-assure { gap: 6px; }
  .p-assure div { font-size: .72rem; padding: 10px 4px; }
  .benefit-track span { font-size: .9rem; }
  .benefit { padding: 24px 20px; }
  .quote { font-size: 1.9rem; }
  .video-band { min-height: 340px; }
  .cta-photo { padding: 72px 0; }
  .receive-item { padding: 14px 16px; }
  .radio-cards label { min-height: 52px; }
  form .row.three { grid-template-columns: 1fr; }
  .panel { padding: 18px 16px; }
  .checkout { padding: 16px 0 96px; }
  .wa-float { width: 52px; height: 52px; right: 14px; }
  body.has-sticky .wa-float { bottom: 84px; }
  .sticky-buy { padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
  .sticky-buy .btn { padding: 0 18px; }
}

/* Pack destacado: el más llamativo */
.pack.is-top { padding-top: 22px; padding-bottom: 20px; background: linear-gradient(180deg, #fffaf0, var(--gold-soft)); box-shadow: inset 0 0 0 2px var(--gold-2), 0 14px 34px rgba(168, 125, 43, .22); transform: scale(1.02); }
.pack.is-top:hover { transform: scale(1.02) translateY(-2px); }
.pack.is-top:has(input:checked) { background: linear-gradient(180deg, #fffaf0, var(--gold-soft)); box-shadow: inset 0 0 0 2.5px var(--gold), 0 16px 40px rgba(168, 125, 43, .3); }
.pack.is-top::before { content: ""; position: absolute; inset: -2px; border-radius: 18px; padding: 2px; background: linear-gradient(120deg, transparent 20%, rgba(255, 236, 180, .95) 40%, transparent 60%) 0 0 / 250% 100%; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: packGlow 3.2s linear infinite; pointer-events: none; }
@keyframes packGlow { to { background-position: -250% 0; } }
.pack.is-top .pack-badge { left: 14px; right: auto; top: -13px; font-size: .74rem; padding: 5px 12px; background: linear-gradient(180deg, #c7392f, #a3241c); color: #fff; box-shadow: 0 6px 14px rgba(163, 36, 28, .3); }
.pack.is-top .pack-name { font-size: 1.08rem; }
.pack.is-top .pack-price strong { font-size: 1.55rem; color: var(--green); }
.pack-gift { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: .82rem; font-weight: 800; color: #a3241c; }
.pack-gift .icon { width: 16px; height: 16px; }
.pack:not(.is-top) { opacity: .92; }
@media (prefers-reduced-motion: reduce) { .pack.is-top::before { animation: none; } }
@media (max-width: 640px) { .pack.is-top { transform: none; } .pack.is-top:hover { transform: none; } }

/* Logos oficiales de medios de pago */
.pay-img { height: 30px; width: auto; border-radius: 5px; background: transparent; box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.pay-logos.small .pay-img { height: 26px; }
img[src$="/pay/yape.svg"] { background: #fff; padding: 4px 8px; box-sizing: content-box; height: 22px; box-shadow: 0 0 0 1px var(--line); }
.pay-logos.small img[src$="/pay/yape.svg"] { height: 18px; }
.pay-card-logo { width: auto; height: 46px; padding: 10px 16px; box-sizing: content-box; background: #fff; border-radius: 14px; box-shadow: none; }
.pay-card-brands img { height: 36px; width: auto; border-radius: 6px; box-shadow: 0 1px 3px rgba(0, 0, 0, .15); }
.pay-tab img { height: 26px; width: auto; border-radius: 4px; }
.pay-tab img[src$="/pay/yape.svg"] { height: 18px; padding: 3px 6px; }
.pay-tab-brands img { height: 22px; }
.footer .pay-img { box-shadow: none; }

/* Packs: 3 el más llamativo, 6 también destaca, 1 discreto */
.pack.is-alt { box-shadow: inset 0 0 0 2px var(--gold-3), 0 8px 20px rgba(168, 125, 43, .12); background: linear-gradient(180deg, #fff, #fffaf0); }
.pack.is-alt .pack-badge { background: var(--green); color: var(--gold-3); }
.pack.is-basic { opacity: .85; }
.pack.is-basic .pack-name { font-weight: 600; }
.pack.is-basic .pack-price strong { color: var(--muted); font-size: 1.1rem; }
.pack:not(.is-top):not(.is-basic) { opacity: 1; }
.pack.is-alt .pack-gift, .pack.is-top .pack-gift { color: var(--green); }

/* Yape: el logotipo oficial ya trae su fondo morado */
img[src$="/pay/yape.svg"] { background: none; padding: 0; height: 30px; box-shadow: 0 1px 2px rgba(0,0,0,.12); border-radius: 5px; }
.pay-logos.small img[src$="/pay/yape.svg"] { height: 26px; }
.pay-card-logo { height: 64px; padding: 0; background: none; border-radius: 12px; box-shadow: 0 0 0 2px rgba(255,255,255,.5); }
.pay-tab img[src$="/pay/yape.svg"] { height: 26px; padding: 0; }

/* Datos clave en grande */
.stats-band { background: var(--paper); border-bottom: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); }
.stat { background: var(--paper); padding: 26px 12px; display: grid; justify-items: center; text-align: center; gap: 4px; }
.stat b { font-family: var(--font-head); font-size: clamp(3rem, 9vw, 4.4rem); line-height: 1; font-weight: 600; color: var(--green); font-variant-numeric: tabular-nums; background: linear-gradient(180deg, var(--green-3), var(--green)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat span { font-size: .86rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; max-width: 16ch; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* Tratamiento mes a mes */
.treatment-sec { background: linear-gradient(180deg, var(--bg), var(--gold-soft)); }
.treatment { display: flex; align-items: stretch; justify-content: center; gap: 10px; }
.t-month { flex: 1 1 0; max-width: 230px; display: grid; justify-items: center; text-align: center; gap: 6px; padding: 18px 10px 20px; border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1.5px var(--gold-3), var(--shadow); }
.t-bottle { width: 100%; max-width: 120px; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--green-soft); }
.t-bottle img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.t-month:hover .t-bottle img { transform: scale(1.06); }
.t-month b { font-family: var(--font-head); font-size: 1.6rem; color: var(--green); line-height: 1; margin-top: 6px; }
.t-month span:last-child { font-size: .8rem; color: var(--muted); font-weight: 600; }
.t-plus { align-self: center; font-family: var(--font-head); font-size: 2rem; color: var(--gold); flex: none; }
@media (max-width: 640px) {
  .treatment { gap: 4px; }
  .t-month { padding: 12px 6px 14px; border-radius: 16px; }
  .t-month b { font-size: 1.25rem; }
  .t-month span:last-child { font-size: .7rem; }
  .t-plus { font-size: 1.3rem; }
  .stat { padding: 20px 8px; }
}

/* Tratamiento: que siempre entre en el ancho del celular */
.t-month { min-width: 0; }
.treatment-sec .btn { white-space: normal; text-align: center; line-height: 1.25; max-width: 100%; }
@media (max-width: 640px) {
  .treatment-sec .btn-lg { min-height: 56px; padding: 12px 22px; font-size: 1rem; }
  .t-bottle { border-radius: 12px; }
}
/* Botones largos: en celular pueden partir en dos líneas en vez de desbordar */
@media (max-width: 640px) { .btn { max-width: 100%; } .hero-ctas .btn, .cta-final .btn { white-space: normal; text-align: center; } }

/* Galería: cualquier foto (vertical u horizontal) entra completa en el cuadro */
.slide { position: relative; }
.slide img, .slide video { position: absolute; inset: 0; width: 100%; height: 100%; }
.slide img { object-fit: contain; padding: 6%; }
.slide video { object-fit: cover; }
.gallery-main { background: radial-gradient(80% 70% at 50% 55%, #fff, var(--green-soft)); }
.t-bottle img { object-fit: contain; padding: 6px; }
.pcard-media img { object-fit: contain; padding: 8%; }
.pcard-media { background: radial-gradient(80% 70% at 50% 55%, #fff, var(--green-soft)); }
