/* Tienda para clientes · pensada para el celular primero. Tipografía Poppins. Dos modos (oscuro y claro) con los colores que eliges en Ajustes. */
@font-face { font-family: "Poppins"; src: url(/fonts/Poppins-Light.woff) format("woff"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url(/fonts/Poppins-Regular.woff) format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url(/fonts/Poppins-Italic.woff) format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Poppins"; src: url(/fonts/Poppins-Medium.woff) format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url(/fonts/Poppins-Bold.woff) format("woff"); font-weight: 600 800; font-style: normal; font-display: swap; }

/* ---------- Colores: modo oscuro y modo claro ----------
   Estos son los colores de respaldo. Los colores reales (los HEX que pones en Ajustes → Diseño) los escribe el servidor
   en la cabecera de la página (<style id="palette">), después de este archivo, y por eso mandan. */
:root { --head: 62px; --r: 22px; }
:root, html[data-theme="dark"] {
  --bg: #130a16; --bg2: #1c0f21; --surface: #211328; --surface2: #2b1a33; --ink: #f7eee2; --muted: #bba9c2; --line: rgba(255,255,255,.11);
  --accent: #dcb46a; --accent-ink: #1a0e1c; --accent2: #b0608f; --glow: rgba(220,180,106,.28);
  --hot: #ff7a66; --ok: #5ed09a; --wa: #25a862; --wa-ink: #fff;
  --hero-a: #3a1d45; --hero-b: #130a16; --shadow: 0 18px 40px -18px rgba(0,0,0,.7);
  --ld-a: #f0d79c; --ld-b: #b07c3c; --ld-line: rgba(247,238,226,.75); --ld-cap: #dcb46a; color-scheme: dark;
}
html[data-theme="light"] {
  --bg: #fffaf5; --bg2: #fff1ec; --surface: #ffffff; --surface2: #fff4f0; --ink: #2b1830; --muted: #7a6a80; --line: rgba(43,24,48,.12);
  --accent: #e0457b; --accent-ink: #ffffff; --accent2: #6d49d6; --glow: rgba(224,69,123,.22);
  --hot: #d9453b; --ok: #1f9d62; --wa: #1f9d62; --wa-ink: #fff;
  --hero-a: #ffd9e4; --hero-b: #fffaf5; --shadow: 0 18px 36px -20px rgba(109,73,214,.45);
  --ld-a: #ff9ab9; --ld-b: #8a5bf0; --ld-line: rgba(43,24,48,.7); --ld-cap: #e0457b; color-scheme: light;
}
:root { --f: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; --ease: cubic-bezier(.2, .8, .2, 1); }

* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 56px); }
body { background: var(--bg); color: var(--ink); font: 400 15.5px/1.55 var(--f); padding-bottom: 96px; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
a { color: inherit; }
svg { display: block; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 18px; }
.tempty { text-align: center; color: var(--muted); padding: 48px 20px; }
body.lock { overflow: hidden; }

/* ---------- Pantalla de carga ---------- */
.loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: radial-gradient(90% 70% at 50% 35%, var(--hero-a) 0%, var(--bg) 70%); transition: opacity .55s var(--ease), visibility .55s; }
.loader.out { opacity: 0; visibility: hidden; }
.noload .loader { display: none; }
.ld-in { display: grid; justify-items: center; gap: 14px; width: min(78vw, 280px); }
.ld-bottle { width: 112px; height: auto; filter: drop-shadow(0 14px 28px var(--glow)); animation: ldfloat 3s ease-in-out infinite; }
#ldliq { transition: transform .35s linear; }
.ld-wave { animation: ldwave 1.6s linear infinite; }
.ld-name { font-weight: 300; font-size: 22px; letter-spacing: .02em; min-height: 33px; text-align: center; }
.ld-bar { width: 100%; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.ld-bar i { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--accent2), var(--accent)); transition: width .3s linear; }
.ld-pct { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
@keyframes ldfloat { 50% { transform: translateY(-8px) rotate(-2deg); } }
@keyframes ldwave { to { transform: translateX(-60px); } }

/* ---------- Anuncio de arriba ---------- */
.ann { background: linear-gradient(90deg, var(--accent2), var(--accent)); color: var(--accent-ink); overflow: hidden; white-space: nowrap; font-size: 13px; font-weight: 500; }
.ann-track { display: inline-flex; padding: 8px 0; animation: marq 26s linear infinite; will-change: transform; }
.ann-track span { padding: 0 28px; display: inline-flex; align-items: center; gap: 28px; }
.ann-track span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .55; }
.ann.still { text-align: center; }
.ann.still .ann-track { animation: none; }
.ann.still .ann-track span::after { display: none; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- Encabezado ---------- */
.hd { position: sticky; top: 0; z-index: 30; height: var(--head); background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.hd.sm { border-color: var(--line); box-shadow: 0 8px 24px -16px rgba(0,0,0,.5); }
.hd .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; font-size: 19px; letter-spacing: .01em; min-width: 0; }
.brand img { height: 34px; width: auto; max-width: 120px; object-fit: contain; transition: height .3s var(--ease); }
.hd.sm .brand img { height: 28px; }
.brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav { display: none; gap: 22px; font-size: 14px; }
.nav a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.bagbtn { position: relative; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 14px 8px 12px; font-weight: 500; font-size: 14px; flex: none; }
.bagbtn svg { width: 20px; height: 20px; }
.bagbtn .n { min-width: 20px; height: 20px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 12px; font-weight: 600; padding: 0 5px; }
.bagbtn.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.14) rotate(-3deg); } 60% { transform: scale(.96); } }

/* ---------- Portada ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(110% 80% at 80% 0%, var(--hero-a) 0%, var(--hero-b) 62%); }
.hero .wrap { display: grid; gap: 6px; padding-top: 30px; padding-bottom: 34px; }
.hero-txt { position: relative; z-index: 2; }
.hero h1 { font-weight: 300; font-size: clamp(34px, 9.6vw, 62px); line-height: 1.05; letter-spacing: -.025em; max-width: 15ch; }
.hero p.lead { margin-top: 14px; color: var(--muted); font-size: 16px; max-width: 34ch; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 999px; padding: 14px 24px; font-weight: 500; font-size: 15px; text-decoration: none; position: relative; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; }
.btn svg { width: 19px; height: 19px; }
.btn.main { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 26px -10px var(--accent); }
.btn.main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); animation: shine 4.5s ease-in-out 1.8s infinite; }
.btn.line { border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 60%, transparent); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
@keyframes shine { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.hero-art { position: relative; justify-self: center; width: min(40vw, 150px); margin: 14px 0 0; z-index: 1; }
.hero-art .halo { position: absolute; inset: -22%; background: radial-gradient(closest-side, var(--glow), transparent 72%); animation: breathe 5s ease-in-out infinite; }
.hero-bottle { position: relative; width: 100%; height: auto; animation: ldfloat 6s ease-in-out infinite; filter: drop-shadow(0 22px 30px rgba(0,0,0,.35)); }
.hero-bottle .wv { animation: ldwave 3s linear infinite; }
.spark { position: absolute; width: 10px; height: 10px; background: var(--accent); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); opacity: 0; animation: twinkle 3.2s ease-in-out infinite; }
.spark:nth-of-type(1) { top: 8%; left: 4%; animation-delay: .2s; } .spark:nth-of-type(2) { top: 30%; right: -4%; width: 14px; height: 14px; animation-delay: 1.1s; }
.spark:nth-of-type(3) { bottom: 18%; left: -6%; width: 8px; height: 8px; animation-delay: 2s; } .spark:nth-of-type(4) { top: -2%; right: 22%; width: 7px; height: 7px; animation-delay: 1.6s; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0); } 45% { opacity: 1; transform: scale(1) rotate(60deg); } }
@keyframes breathe { 50% { transform: scale(1.12); opacity: .75; } }
.hero-in > * { animation: rise .8s var(--ease) both; }
.hero-in > *:nth-child(2) { animation-delay: .1s; } .hero-in > *:nth-child(3) { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.perks { display: grid; gap: 10px; margin-top: 26px; position: relative; z-index: 2; }
.perk { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink); }
.perk i { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); }
.perk svg { width: 17px; height: 17px; }

/* ---------- Secciones ---------- */
.sec { padding: 46px 0 6px; }
.sec h2 { font-weight: 300; font-size: clamp(26px, 6.4vw, 38px); line-height: 1.12; letter-spacing: -.02em; }
.sec h2 + .lead { color: var(--muted); margin-top: 8px; max-width: 46ch; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }

/* Precios normales */
.board { margin-top: 26px; position: relative; z-index: 2; }
.board h2 { font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-bottom: 10px; }
.board-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -18px; padding: 2px 18px 6px; }
.board-row::-webkit-scrollbar { display: none; }
.sz-pill { flex: 1 0 auto; min-width: 78px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 70%, transparent); border-radius: 16px; padding: 10px 12px; text-align: left; display: grid; gap: 1px; transition: transform .25s var(--ease), border-color .25s, background .25s; }
.sz-pill b { font-weight: 600; font-size: 17px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.sz-pill span { font-size: 12.5px; color: var(--muted); }
.sz-pill:hover { transform: translateY(-3px); border-color: var(--accent); }
.sz-pill.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 16%, var(--surface)); }
.board small { display: block; margin-top: 4px; color: var(--muted); font-size: 12.5px; }

/* ---------- Promos ---------- */
.promos { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -18px; padding: 8px 18px 22px; -webkit-overflow-scrolling: touch; }
.promos::-webkit-scrollbar { display: none; }
.promo { position: relative; flex: 0 0 min(86vw, 340px); scroll-snap-align: center; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transform-style: preserve-3d; transition: transform .35s var(--ease), border-color .3s; }
.promo.top { border-color: color-mix(in srgb, var(--accent) 70%, transparent); }
.promo.top::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--ang, 0deg), transparent 0 60%, var(--accent) 80%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 5s linear infinite; pointer-events: none; z-index: 3; }
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --ang: 360deg; } }
.pm-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(145deg, var(--hero-a), var(--surface2)); }
.pm-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.promo:hover .pm-media img { transform: scale(1.05); }
.pm-art { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; gap: 4px; padding-bottom: 10px; color: var(--accent); opacity: .9; }
.pm-art svg { width: 25%; height: auto; }
.pm-art svg:nth-child(2) { width: 31%; transform: translateY(-8%); }
.pm-badge, .pm-off { position: absolute; top: 12px; z-index: 2; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; }
.pm-badge { left: 12px; background: var(--accent); color: var(--accent-ink); }
.pm-badge.hot { background: var(--hot); color: #fff; }
.pm-badge.low { background: #fff; color: #b3261e; }
.pm-off { right: 12px; background: rgba(0,0,0,.62); color: #fff; backdrop-filter: blur(6px); }
.pm-body { padding: 16px 16px 18px; display: grid; gap: 12px; flex: 1; align-content: start; }
.pm-body h3 { font-weight: 500; font-size: 19px; line-height: 1.25; letter-spacing: -.01em; }
.incl { list-style: none; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.incl li { display: flex; gap: 9px; align-items: flex-start; }
.incl li svg { flex: none; width: 17px; height: 17px; margin-top: 3px; color: var(--ok); }
.gifts { display: flex; flex-wrap: wrap; gap: 6px; }
.gift { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; padding: 5px 11px 5px 8px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); border: 1px dashed color-mix(in srgb, var(--accent) 60%, transparent); }
.gift svg { width: 15px; height: 15px; }
.promo select { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; background: var(--bg2); font-size: 14px; }
.cd { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.cd-b { display: flex; gap: 4px; }
.cd-b b { min-width: 34px; text-align: center; padding: 4px 0 3px; border-radius: 8px; background: var(--bg2); border: 1px solid var(--line); font-weight: 600; font-size: 15px; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.cd-b b small { display: block; font-weight: 400; font-size: 9.5px; color: var(--muted); }
.cd.urgent .cd-b b { color: var(--hot); border-color: color-mix(in srgb, var(--hot) 55%, transparent); }
.pm-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 2px; }
.pm-price .now { font-weight: 700; font-size: 30px; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pm-price .was { color: var(--muted); font-size: 14px; }
.pm-price .was s { text-decoration-thickness: 1.5px; font-size: 15px; }
.pm-price .save { flex-basis: 100%; font-size: 13px; font-weight: 500; color: var(--ok); }
.pm-price .save b { background: color-mix(in srgb, var(--ok) 16%, transparent); padding: 1px 8px; border-radius: 6px; font-weight: 600; }
.pm-body .add { margin-top: auto; }
.add { width: 100%; border: 0; border-radius: 14px; padding: 13px 16px; font-weight: 600; font-size: 15px; background: var(--accent); color: var(--accent-ink); transition: transform .2s var(--ease), filter .2s, background .3s; }
.add:hover { filter: brightness(1.07); }
.add:active { transform: scale(.97); }
.add:disabled { background: var(--surface2); color: var(--muted); cursor: not-allowed; }
.add.done { background: var(--ok); color: #fff; }
.add.alt { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.add.alt:hover { border-color: var(--accent); }

/* ---------- Catálogo ---------- */
.tools { position: sticky; top: var(--head); z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 10px 0 8px; margin-top: 14px; transition: top .3s var(--ease); }
.tools .row { display: flex; gap: 8px; }
.tsearch { flex: 1; min-width: 0; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 11px 16px; font-size: 14.5px; }
.tsearch::placeholder { color: var(--muted); }
.tsort { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 11px 12px; font-size: 14px; }
.chips { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; margin: 10px -18px 0; padding: 2px 18px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 7px 14px; font-size: 13.5px; display: inline-flex; gap: 7px; align-items: center; transition: background .2s, color .2s, border-color .2s; }
.chip b { font-weight: 500; font-size: 11.5px; opacity: .6; }
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 16px; }
.pc { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform .35s var(--ease), border-color .3s, box-shadow .3s; }
.pc:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 55%, transparent); box-shadow: var(--shadow); }
.ph { position: relative; aspect-ratio: 1; background: linear-gradient(160deg, var(--surface2), var(--bg2)); display: grid; place-items: center; overflow: hidden; color: color-mix(in srgb, var(--muted) 55%, transparent); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pc:hover .ph img { transform: scale(1.06); }
.ph svg { width: 34%; height: auto; }
.ph .tag, .ph .low { position: absolute; left: 8px; font-size: 11px; font-weight: 500; padding: 3px 9px; border-radius: 999px; }
.ph .tag { top: 8px; background: rgba(0,0,0,.55); color: #fff; backdrop-filter: blur(6px); }
.ph .low { bottom: 8px; background: #fff; color: #b3261e; font-weight: 600; }
.pi { padding: 12px 12px 14px; display: grid; gap: 7px; flex: 1; align-content: start; }
.pi > .add { align-self: end; }
.pbrand { font-size: 13px; color: var(--muted); margin-top: -3px; }
.pname { font-weight: 700; font-size: 17px; line-height: 1.15; letter-spacing: .015em; text-transform: uppercase; }
.sizes { display: flex; flex-wrap: wrap; gap: 5px; }
.sz { border: 1px solid var(--line); background: transparent; border-radius: 9px; padding: 4px 9px; font-size: 12.5px; transition: all .2s; }
.sz.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.sz:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.pprice { font-weight: 700; font-size: 20px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.pprice small { font-weight: 400; font-size: 12.5px; color: var(--muted); margin-left: 6px; }
.pi .add { padding: 10px 12px; font-size: 14px; }
.sub-h { font-weight: 300; font-size: 24px; letter-spacing: -.015em; margin: 30px 0 0; }

/* ---------- Cómo pedir, preguntas, sobre nosotros ---------- */
.steps { list-style: none; padding: 0; display: grid; gap: 12px; margin-top: 20px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 2px 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; }
.steps li::before { content: counter(s); grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 18px; background: var(--accent); color: var(--accent-ink); }
.steps b { font-weight: 500; }
.steps span { color: var(--muted); font-size: 14px; }
.faq { margin-top: 18px; display: grid; gap: 8px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 16px; transition: border-color .25s; }
.faq details[open] { border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.faq summary { list-style: none; cursor: pointer; padding: 14px 0; font-weight: 500; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 300; color: var(--accent); transition: transform .3s var(--ease); line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 15px; color: var(--muted); font-size: 14.5px; }
.about { margin-top: 16px; display: grid; gap: 14px; }
.about p { color: var(--muted); max-width: 60ch; }
.links { display: flex; flex-wrap: wrap; gap: 8px; }
.links a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; background: var(--surface); transition: border-color .2s, transform .2s var(--ease); }
.links a:hover { border-color: var(--accent); transform: translateY(-2px); }
.links svg { width: 18px; height: 18px; }
.ft { margin-top: 54px; padding: 30px 0 34px; border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-size: 13.5px; }
.ft .brand { justify-content: center; color: var(--ink); margin-bottom: 6px; }

/* ---------- Pedido (hoja) ---------- */
.cartbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); pointer-events: none; }
.cartbar > * { pointer-events: auto; }
.cartbtn { width: 100%; max-width: 560px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; border: 0; border-radius: 18px; padding: 14px 18px; background: var(--accent); color: var(--accent-ink); font-weight: 600; box-shadow: 0 16px 36px -10px var(--accent); animation: rise .5s var(--ease); }
.cartbtn .l { display: flex; align-items: center; gap: 10px; }
.cartbtn svg { width: 22px; height: 22px; }
.cartbtn .l span { background: var(--accent-ink); color: var(--accent); border-radius: 12px; min-width: 24px; padding: 1px 8px; font-size: 13px; text-align: center; }
.fab { position: fixed; right: 14px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; display: flex; align-items: center; gap: 9px; text-decoration: none; background: var(--wa); color: var(--wa-ink); border-radius: 999px; padding: 12px 18px 12px 14px; font-weight: 500; font-size: 14px; box-shadow: 0 14px 30px -10px var(--wa); animation: pulse 3s ease-in-out infinite; }
.fab svg { width: 22px; height: 22px; }
@keyframes pulse { 0%, 100% { box-shadow: 0 14px 30px -10px var(--wa), 0 0 0 0 color-mix(in srgb, var(--wa) 45%, transparent); } 60% { box-shadow: 0 14px 30px -10px var(--wa), 0 0 0 14px transparent; } }
.sheet { position: fixed; inset: 0; z-index: 60; background: rgba(8,4,10,.6); backdrop-filter: blur(3px); display: flex; align-items: flex-end; justify-content: center; animation: fadein .25s ease; }
.sin { width: 100%; max-width: 560px; max-height: 92dvh; overflow-y: auto; background: var(--bg); border: 1px solid var(--line); border-radius: 26px 26px 0 0; padding: 12px 20px calc(24px + env(safe-area-inset-bottom)); animation: slideup .45s var(--ease); overscroll-behavior: contain; }
.sin::before { content: ""; display: block; width: 42px; height: 4px; border-radius: 4px; background: var(--line); margin: 0 auto 14px; }
.sin h2 { font-weight: 300; font-size: 26px; letter-spacing: -.02em; margin-bottom: 8px; }
@keyframes slideup { from { transform: translateY(40px); opacity: 0; } }
@keyframes fadein { from { opacity: 0; } }
.ln { display: flex; justify-content: space-between; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.ln .g { display: grid; gap: 4px; min-width: 0; }
.ln .g b { font-weight: 500; }
.ln small { color: var(--muted); font-size: 12.5px; }
.ln .gf { color: var(--accent); font-size: 12.5px; }
.ln .r { text-align: right; flex: none; font-variant-numeric: tabular-nums; }
.qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 2px; }
.qty button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); font-size: 17px; line-height: 1; }
.qty span { min-width: 24px; text-align: center; font-weight: 500; }
.rm { border: 0; background: none; color: var(--muted); font-size: 12.5px; text-decoration: underline; padding: 6px 0 0; }
.goal { margin: 14px 0 2px; padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 8px; font-size: 13.5px; position: relative; }
.goal.got { border-color: color-mix(in srgb, var(--ok) 60%, transparent); background: color-mix(in srgb, var(--ok) 10%, var(--surface)); }
.goal-t { display: flex; gap: 9px; align-items: center; }
.goal-t svg { flex: none; width: 20px; height: 20px; color: var(--accent); }
.goal.got .goal-t svg { color: var(--ok); }
.goal-bar { height: 7px; border-radius: 7px; background: var(--line); overflow: hidden; }
.goal-bar i { display: block; height: 100%; width: 0; border-radius: 7px; background: linear-gradient(90deg, var(--accent2), var(--accent)); transition: width .7s var(--ease); }
.goal.got .goal-bar i { background: var(--ok); }
.tot { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 6px; font-weight: 700; font-size: 20px; font-variant-numeric: tabular-nums; }
.tot small { display: block; font-weight: 400; font-size: 12.5px; color: var(--muted); }
.tot-save { display: flex; justify-content: space-between; color: var(--ok); font-size: 13.5px; font-weight: 500; padding-bottom: 6px; }
.fl { margin-top: 14px; }
.fl label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.fl input { width: 100%; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 12px 14px; }
.opts { display: grid; gap: 7px; }
.opt { text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: 14px; padding: 12px 14px; transition: border-color .2s, background .2s; }
.opt.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, var(--surface)); font-weight: 500; }
.wabtn { width: 100%; margin-top: 18px; border: 0; border-radius: 16px; padding: 16px; background: var(--wa); color: var(--wa-ink); font-weight: 600; font-size: 16px; display: flex; gap: 10px; align-items: center; justify-content: center; box-shadow: 0 14px 28px -12px var(--wa); }
.wabtn svg { width: 22px; height: 22px; }
.fine { margin-top: 10px; text-align: center; color: var(--muted); font-size: 12.5px; }
.again { width: 100%; margin-top: 8px; border: 0; background: none; color: var(--muted); padding: 12px; text-decoration: underline; }
.ttoast { position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom)); z-index: 90; transform: translate(-50%, 20px); background: var(--ink); color: var(--bg); padding: 11px 18px; border-radius: 14px; font-size: 14px; opacity: 0; pointer-events: none; transition: all .3s var(--ease); max-width: 88vw; text-align: center; }
.ttoast.show { opacity: 1; transform: translate(-50%, 0); }

/* Animaciones de acción */
.fly { position: fixed; z-index: 95; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 30%, transparent); pointer-events: none; }
.cf { position: absolute; top: 40%; width: 8px; height: 12px; border-radius: 2px; pointer-events: none; animation: confetti 1.1s cubic-bezier(.2, .7, .3, 1) forwards; }
@keyframes confetti { to { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); opacity: 0; } }

/* Entrada de las tarjetas del catálogo y movimiento de las promos */
.pc { animation: pop .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.promo.rv.in { transition: transform .35s var(--ease), border-color .3s, opacity .7s; }
.promo.rv.in.tilt { transition: transform .1s linear, border-color .3s; }

/* Aparecer al bajar */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }

/* ---------- Pantallas grandes ---------- */
@media (min-width: 760px) {
  body { font-size: 16px; padding-bottom: 40px; }
  .nav { display: flex; }
  .hero .wrap { grid-template-columns: 1.1fr .9fr; align-items: center; padding-top: 56px; padding-bottom: 56px; gap: 20px; }
  .hero-art { width: min(100%, 320px); margin: 0; }
  .perks { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
  .board-row { margin: 0; padding: 2px 0 6px; flex-wrap: wrap; }
  .sz-pill { flex: 0 1 auto; min-width: 104px; }
  .promos { margin: 0; padding: 8px 0 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); overflow: visible; }
  .promo { flex: none; }
  .promo:hover { box-shadow: 0 26px 50px -20px rgba(0,0,0,.5); }
  .chips { margin: 10px 0 0; padding: 2px 0; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { grid-template-columns: 1fr; justify-items: start; gap: 8px; padding: 20px; }
  .steps li::before { grid-row: auto; }
  .sheet { align-items: center; }
  .sin { border-radius: 26px; max-height: 88dvh; }
  .cartbar { padding: 0; left: auto; right: 24px; bottom: 24px; width: 340px; }
  .fab { right: 24px; bottom: 24px; }
  .ttoast { bottom: 40px; }
}
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Quien prefiere menos movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .rv { opacity: 1; transform: none; }
  .ann-track { animation: none; }
  .spark { display: none; }
}


/* =====================================================================
   Etapa 3o · banner, envío gratis, promos destacadas, ficha del perfume,
   línea de pasos, constructor de promos, pedido real y páginas legales
   ===================================================================== */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Banner con imágenes ---------- */
.bn-hero { background: var(--bg2); }
.bn { position: relative; }
.bn-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.bn-track::-webkit-scrollbar { display: none; }
.bn-slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(145deg, var(--hero-a), var(--surface2)); }
.bn-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bn-fill { position: absolute; inset: 0; }
.bn-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(10,4,14,.78) 100%); }
.bn-in { position: absolute; inset: 0; display: flex; align-items: flex-end; padding-bottom: 38px; color: #fff; }
.bn-in .wrap { width: 100%; }
.bn-txt { display: grid; gap: 10px; justify-items: start; max-width: 540px; }
.bn-t { font-weight: 700; font-size: clamp(26px, 7.4vw, 52px); line-height: 1.04; letter-spacing: -.025em; text-wrap: balance; }
.bn-p { font-size: clamp(14.5px, 3.6vw, 18px); opacity: .92; max-width: 40ch; }
.bn-arr { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(0,0,0,.45); color: #fff; display: none; place-items: center; backdrop-filter: blur(6px); transition: background .2s; }
.bn-arr:hover { background: rgba(0,0,0,.7); }
.bn-arr svg { width: 22px; height: 22px; }
.bn-arr.l { left: 14px; } .bn-arr.r { right: 14px; }
.bn-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 8px; }
.bn-dot { width: 9px; height: 9px; padding: 0; border-radius: 9px; border: 0; background: rgba(255,255,255,.5); transition: width .3s var(--ease), background .3s; }
.bn-dot.on { width: 26px; background: #fff; }
.hero-photo { position: relative; width: 100%; height: auto; max-height: 340px; object-fit: contain; animation: ldfloat 6s ease-in-out infinite; filter: drop-shadow(0 22px 30px rgba(0,0,0,.35)); }
.hero-art.photo { width: min(62vw, 260px); }

/* ---------- Envío gratis a todo el Perú ---------- */
.freeband { background: linear-gradient(100deg, color-mix(in srgb, var(--accent) 76%, var(--ink)), var(--accent) 55%, color-mix(in srgb, var(--accent) 76%, var(--ink))); background-size: 200% 100%; animation: sheen 9s ease-in-out infinite alternate; color: var(--accent-ink); }
@keyframes sheen { to { background-position: 100% 0; } }
.fb { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 15px 0; }
.fb-ic { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.22); }
.fb-ic svg { width: 30px; height: 30px; animation: drive 2.6s ease-in-out infinite; }
@keyframes drive { 0%, 100% { transform: translateX(-3px); } 50% { transform: translateX(4px); } }
.fb-t { display: grid; gap: 1px; }
.fb-t b { font-weight: 800; font-size: clamp(19px, 5.6vw, 30px); line-height: 1.1; letter-spacing: -.01em; text-transform: uppercase; }
.fb-t span { font-size: 13px; opacity: .88; }
.hero + .freeband + .wrap .perks { margin-top: 20px; }

/* ---------- Promociones: la sección que más resalta ---------- */
.promos-sec { position: relative; margin-top: 30px; padding: 46px 0 14px; overflow: hidden; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 20%, var(--bg)) 0%, color-mix(in srgb, var(--accent2) 11%, var(--bg)) 70%, var(--bg) 100%); border-top: 2px solid color-mix(in srgb, var(--accent) 60%, transparent); }
.promos-sec::before { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -220px; background: radial-gradient(closest-side, var(--glow), transparent 70%); pointer-events: none; animation: breathe 6s ease-in-out infinite; }
.promos-sec .wrap { position: relative; }
.pr-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; }
.promos-sec .pr-head h2 { font-weight: 800; font-size: clamp(40px, 12vw, 68px); line-height: .98; letter-spacing: -.035em; }
.pr-up { display: inline-block; background: var(--hot); color: #fff; font-weight: 800; font-size: clamp(14px, 3.8vw, 19px); padding: 7px 16px; border-radius: 999px; transform: rotate(-4deg); box-shadow: 0 10px 24px -8px var(--hot); animation: wob 3.6s ease-in-out infinite; }
@keyframes wob { 50% { transform: rotate(2deg) scale(1.06); } }
.pr-sub { margin-top: 10px; color: var(--ink); opacity: .85; font-size: 16px; max-width: 46ch; }
.promos-sec .promos { margin-top: 10px; }
.pr-more { display: flex; justify-content: center; padding: 6px 0 24px; }
.promos-sec .promo { border-width: 2px; flex-basis: min(88vw, 360px); }
.pm-best { position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 4; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; padding: 5px 16px; border-radius: 0 0 12px 12px; white-space: nowrap; }
.promo .incl .pick { color: var(--accent); }
.promo .incl .pick svg { color: var(--accent); }
.promo .incl .pick b { font-weight: 600; }
.add.big { padding: 15px 16px; font-size: 16px; border-radius: 16px; box-shadow: 0 12px 26px -12px var(--accent); }

/* ---------- Ficha del perfume en el catálogo ---------- */
.insp { font-size: 11px; color: var(--muted); letter-spacing: .02em; }
.pers { font-size: 13px; font-style: italic; color: color-mix(in srgb, var(--ink) 82%, var(--accent)); line-height: 1.35; }
.notes, .uses { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.notes span, .uses span { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 1px; }
.uses { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.uses span { flex-basis: 100%; }
.uses b { font-weight: 500; font-size: 11.5px; padding: 2px 9px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--ink); }

/* ---------- Pedir es muy fácil: la línea va del paso 1 al 4 ---------- */
.flow-sec { padding-bottom: 14px; }
.flow { position: relative; list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-auto-rows: 1fr; gap: 0; }
.flow::before, .flow::after { content: ""; position: absolute; left: 26px; top: 12.5%; bottom: 12.5%; width: 4px; margin-left: -2px; border-radius: 4px; }
.flow::before { background: var(--line); }
.flow::after { background: linear-gradient(var(--accent2), var(--accent)); transform-origin: top; transform: scaleY(0); box-shadow: 0 0 14px var(--glow); }
.flow.go::after { transform: scaleY(1); transition: transform 2.7s linear .5s; }
.fs { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center; padding: 12px 0; }
.fs .dot { position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--line); color: var(--muted); transition: background .5s, color .5s, border-color .5s, box-shadow .5s, transform .5s var(--ease); transition-delay: calc(.5s + var(--k) * .9s); }
.fs .dot svg { width: 24px; height: 24px; }
.fs .dot em { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 12px; background: var(--ink); color: var(--bg); }
.fs .ft-x { display: grid; gap: 2px; opacity: .35; transform: translateX(-8px); transition: opacity .6s, transform .6s var(--ease); transition-delay: calc(.5s + var(--k) * .9s); }
.fs .ft-x b { font-weight: 600; font-size: 17px; }
.fs .ft-x span { color: var(--muted); font-size: 14px; max-width: 40ch; }
.flow.go .fs .dot { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); box-shadow: 0 0 0 7px color-mix(in srgb, var(--accent) 20%, transparent); transform: scale(1.06); }
.flow.go .fs .ft-x { opacity: 1; transform: none; }

/* ---------- Pie de página y textos legales ---------- */
.ft { text-align: center; }
.ft-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 14px 0 10px; font-size: 13.5px; }
.ft-links a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.ft-links a:hover { text-decoration-color: var(--accent); }
.ft-links a.libro { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; border: 1px solid color-mix(in srgb, var(--hot) 60%, transparent); border-radius: 10px; padding: 6px 12px; font-weight: 500; }
.ft-links a.libro svg { width: 18px; height: 18px; color: var(--hot); }
.ft .biz { font-size: 12.5px; }
.ft .disc { max-width: 70ch; margin: 14px auto 0; font-size: 12.5px; line-height: 1.5; padding: 12px 14px; border: 1px dashed var(--line); border-radius: 12px; }
.ft .copy { margin-top: 12px; font-size: 12px; opacity: .8; }
.legal { padding: 22px 0 30px; min-height: 60vh; }
.wrap.narrow { max-width: 760px; }
.back { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.back svg { width: 18px; height: 18px; }
.legal h1 { font-weight: 300; font-size: clamp(30px, 8vw, 44px); letter-spacing: -.025em; line-height: 1.1; }
.upd { color: var(--muted); font-size: 13.5px; margin-top: 6px; }
.prose { margin-top: 18px; display: grid; gap: 10px; }
.prose h3 { font-weight: 600; font-size: 18px; margin-top: 14px; }
.prose p, .prose li { color: color-mix(in srgb, var(--ink) 88%, var(--muted)); font-size: 15px; }
.prose ul { padding-left: 20px; display: grid; gap: 6px; }
.disc.inline { margin-top: 26px; padding: 12px 14px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); font-size: 13px; }
.recf { margin-top: 22px; display: grid; gap: 4px; }
.recf h3 { font-weight: 600; font-size: 18px; margin-top: 18px; }
.recf textarea, .sin textarea { width: 100%; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 12px 14px; resize: vertical; }
.recf select { width: 100%; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 12px 14px; }
.row2 { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.recf .fl input { width: 100%; }
.opts.row { display: flex; gap: 10px; margin-top: 8px; }
.opt-r { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 10px 14px; }
.btn.wide { width: 100%; margin-top: 12px; }
.rec-ok { text-align: center; display: grid; gap: 10px; justify-items: center; padding: 20px 0; }
.rec-card { width: 100%; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.rec-card dt { font-size: 12px; color: var(--muted); margin-top: 8px; }
.rec-card dd { margin: 0; font-size: 14.5px; }
.cknote { position: fixed; left: 12px; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 35; max-width: min(92vw, 400px); display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow); font-size: 12.5px; color: var(--muted); animation: rise .5s var(--ease); }
.cknote p { line-height: 1.4; }
.cknote button { flex: none; border: 0; background: var(--ink); color: var(--bg); border-radius: 999px; padding: 8px 14px; font-weight: 500; font-size: 13px; }

/* ---------- Hojas: constructor de promos, pedido, confirmación ---------- */
.sin { position: relative; }
.sin .x { position: absolute; top: 14px; right: 16px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); font-size: 15px; z-index: 2; }
.ok-big { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); margin: 6px auto 4px; animation: popin .6s var(--ease); }
.ok-big svg { width: 44px; height: 44px; }
@keyframes popin { from { transform: scale(.4); opacity: 0; } }
.after, .done { text-align: center; }
.after h2, .done h2 { margin-bottom: 2px; }
.after .wabtn, .done .wabtn { text-decoration: none; }
.after .add.alt { margin-top: 10px; }
.ok-p { color: var(--muted); }
.gotgift { margin: 10px 0 0; font-weight: 500; color: var(--accent); }
.code { font-weight: 800; letter-spacing: .08em; color: var(--accent); }
.step-now { margin: 14px 0 4px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--wa) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--wa) 40%, transparent); font-size: 14px; text-align: left; }
.recap { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 4px; text-align: left; font-size: 13.5px; color: var(--muted); }
.recap li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.done .tot { text-align: left; }
.bld-top { display: flex; gap: 14px; align-items: center; padding: 6px 44px 10px 0; }
.bld-top img, .bld-ic { flex: none; width: 74px; height: 74px; border-radius: 16px; object-fit: cover; background: var(--surface2); display: grid; place-items: center; color: var(--accent); }
.bld-ic svg { width: 34px; height: 34px; }
.bld-top h2 { font-size: 22px; margin: 0; }
.bld-pr { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 2px; }
.bld-pr b { font-size: 22px; font-weight: 700; }
.bld-pr s { color: var(--muted); font-size: 14px; }
.bld-pr span { font-size: 12.5px; font-weight: 600; color: var(--ok); }
.bld .incl { margin: 4px 0 8px; }
.slot { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.slot-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.slot-h b { font-weight: 600; font-size: 16px; }
.cnt { font-size: 12.5px; font-weight: 600; padding: 3px 11px; border-radius: 999px; background: var(--surface2); color: var(--muted); font-variant-numeric: tabular-nums; }
.cnt.ok { background: color-mix(in srgb, var(--ok) 18%, transparent); color: var(--ok); }
.slot-bar { height: 6px; border-radius: 6px; background: var(--line); margin: 9px 0 12px; overflow: hidden; }
.slot-bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--accent2), var(--accent)); transition: width .4s var(--ease); }
.tsearch.sm { width: 100%; margin-bottom: 10px; padding: 9px 14px; }
.og { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.oc { position: relative; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; transition: border-color .2s, transform .2s var(--ease); }
.oc.on { border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 35%, transparent); }
.oc-b { display: grid; width: 100%; border: 0; background: none; padding: 0; text-align: left; }
.oc-b:active { transform: scale(.97); }
.oi { aspect-ratio: 1; display: grid; place-items: center; background: linear-gradient(160deg, var(--surface2), var(--bg2)); color: color-mix(in srgb, var(--muted) 55%, transparent); overflow: hidden; }
.oi img { width: 100%; height: 100%; object-fit: cover; }
.oi svg { width: 38%; height: auto; }
.on-t { font-size: 11.5px; line-height: 1.25; padding: 6px 7px 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.oc .n { position: absolute; top: 6px; left: 6px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 999px; }
.oc .m { position: absolute; top: 5px; right: 5px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 18px; line-height: 1; }
.bld-foot { position: sticky; bottom: -1px; margin: 16px -20px -8px; padding: 12px 20px calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, transparent, var(--bg) 22%); }
.f-h { font-weight: 600; font-size: 16px; margin: 22px 0 -2px; }
.fl small { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.opt b { display: block; font-weight: 600; }
.opt small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 1px; }
.aglist { display: grid; gap: 7px; }
.aghint { font-size: 13px; color: var(--muted); padding: 8px 2px; }
.ag { display: flex; gap: 11px; align-items: flex-start; border: 1px solid var(--line); background: var(--surface); border-radius: 14px; padding: 11px 13px; cursor: pointer; transition: border-color .2s, background .2s; }
.ag.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.ag input { margin-top: 3px; accent-color: var(--accent); }
.ag b { display: block; font-weight: 500; font-size: 14.5px; }
.ag small { display: block; color: var(--muted); font-size: 12.5px; }
.agx { width: 100%; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 12px 14px; }
.shalom-link { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--accent); text-underline-offset: 3px; }
.chk { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.chk input { margin-top: 3px; accent-color: var(--accent); width: 18px; height: 18px; flex: none; }
.chk a { color: var(--ink); }
.ferr { color: var(--hot); font-size: 13.5px; font-weight: 500; min-height: 0; margin-top: 10px; }
.ferr:empty { display: none; }
.wabtn:disabled { opacity: .65; cursor: progress; }
.goal.free { border-color: color-mix(in srgb, var(--ok) 60%, transparent); background: color-mix(in srgb, var(--ok) 10%, var(--surface)); }
.goal.free .goal-t svg { color: var(--ok); }

@media (min-width: 760px) {
  .bn-slide { aspect-ratio: 16 / 7; }
  .bn-in { padding-bottom: 64px; }
  .bn-arr { display: grid; }
  .bn-dots { bottom: 18px; }
  .hero-art.photo { width: min(100%, 360px); }
  .promos-sec .promo { flex: none; }
  .flow { grid-template-columns: repeat(4, 1fr); grid-auto-rows: auto; margin-top: 40px; }
  .flow::before, .flow::after { left: 12.5%; right: 12.5%; top: 26px; bottom: auto; width: auto; height: 4px; margin: -2px 0 0; }
  .flow::after { transform-origin: left; transform: scaleX(0); }
  .flow.go::after { transform: scaleX(1); }
  .fs { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 14px; padding: 0 10px; align-items: start; }
  .fs .ft-x span { margin: 0 auto; }
  .fs .ft-x { transform: translateY(8px); }
  .og { grid-template-columns: repeat(4, 1fr); }
  .sin.bld { max-width: 680px; }
  .cknote { bottom: 24px; left: 24px; }
}
@media (max-width: 380px) { .og { grid-template-columns: repeat(2, 1fr); } .row2 { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .flow::after { transform: none !important; }
  .fs .dot, .fs .ft-x { opacity: 1 !important; transform: none !important; }
  .freeband, .fb-ic svg, .pr-up { animation: none; }
}
.promo.top .pm-badge, .promo.top .pm-off { top: 34px; }
.ag input[type=radio] { width: 18px; height: 18px; flex: none; padding: 0; }
.ag > span { min-width: 0; flex: 1; }
.fl .ag { display: flex; font-size: inherit; color: var(--text); margin-bottom: 0; }
.sent-total, .tot b, .total b { white-space: nowrap; }
.tot > span:last-child { white-space: nowrap; }


/* ---------- Etapa 3p: modo oscuro/claro, pantalla de carga con tu envase, catálogo, envío ---------- */
.hd-r { display: flex; align-items: center; gap: 8px; flex: none; }
.modebtn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; transition: transform .25s var(--ease), border-color .25s, background .25s; }
.modebtn svg { width: 20px; height: 20px; }
.modebtn:hover { transform: rotate(18deg); border-color: var(--accent); }
.fb-t b em, .goal-t em, .pm-ship em { font-style: normal; }
.fb-t b em { background: rgba(255,255,255,.26); padding: 0 .28em; border-radius: .25em; letter-spacing: .02em; }
.fb-t span b { font-weight: 700; font-size: inherit; line-height: inherit; letter-spacing: 0; text-transform: none; }
.fb-t span u { text-underline-offset: .15em; }
.pm-ship { display: flex; align-items: center; gap: 8px; margin: 2px 0 4px; padding: 8px 12px; border-radius: 12px; background: color-mix(in srgb, var(--ok) 14%, transparent); border: 1px solid color-mix(in srgb, var(--ok) 45%, transparent); color: var(--ok); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .02em; line-height: 1.2; }
.pm-ship svg { flex: none; width: 21px; height: 21px; }
.pm-ship em { font-weight: 800; }
.goal-t em { font-weight: 800; }
.sz-pill.out { opacity: .6; }
.sz-pill em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--hot); text-transform: uppercase; letter-spacing: .04em; }
.shiprow { display: flex; justify-content: space-between; align-items: center; padding: 10px 0 0; font-size: 14px; color: var(--muted); }
.shiprow span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.shiprow svg { width: 18px; height: 18px; }
.shiprow.free span:last-child { color: var(--ok); font-weight: 700; letter-spacing: .04em; }
.tot-save + .shiprow, .goal + .shiprow { margin-top: 4px; }

/* Catálogo: una sección propia, después de las promos */
.catalog { margin-top: 44px; padding: 44px 0 6px; background: linear-gradient(180deg, var(--bg2), var(--bg) 340px); border-top: 1px solid var(--line); position: relative; }
.catalog::before { content: ""; position: absolute; left: 50%; top: -1px; width: 88px; height: 3px; transform: translateX(-50%); border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--accent2), var(--accent)); }
.cat-head { display: grid; gap: 6px; justify-items: start; }
.cat-head .eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.cat-head h2 { font-weight: 700; font-size: clamp(32px, 9vw, 52px); letter-spacing: -.03em; line-height: 1; }
.cat-head .lead { margin-top: 2px; }
.cat-count { margin-top: 6px; display: inline-block; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 4px 12px; font-size: 12.5px; color: var(--muted); }
.catalog .board { margin-top: 20px; }
.catalog .tools { background: color-mix(in srgb, var(--bg2) 90%, transparent); }

/* Pantalla de carga con tu envase: se va "llenando" de abajo hacia arriba */
.ld-photo { position: relative; width: 132px; aspect-ratio: 3 / 4; animation: ldfloat 3s ease-in-out infinite; filter: drop-shadow(0 14px 28px var(--glow)); }
.ld-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.ld-photo .ld-base { filter: grayscale(1) brightness(.55) contrast(.9); opacity: .55; }
.ld-photo .ld-fill { clip-path: inset(calc(100% - var(--ldp, 0%)) 0 0 0); transition: clip-path .3s linear; }

/* Pie de página: crédito */
.ft .credit { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 11px; letter-spacing: .12em; line-height: 1.7; color: var(--muted); text-transform: uppercase; }
.ft .credit b { color: var(--ink); font-weight: 700; letter-spacing: .14em; }
@media (prefers-reduced-motion: reduce) { .ld-photo, .modebtn { animation: none; transition: none; } .modebtn:hover { transform: none; } }
html.calm .ld-photo { animation: none; }

/* Envío gratis: banda centrada */
.fb { flex-wrap: wrap; text-align: center; }
.fb-t { text-align: center; justify-items: center; }
.fb-t b { text-align: center; }
@media (max-width: 520px) { .fb { flex-direction: column; gap: 8px; padding: 14px 0 16px; } }
.aglink { margin-top: 4px; background: none; border: 0; padding: 6px 2px; color: var(--accent); font: inherit; font-size: 13.5px; text-decoration: underline; cursor: pointer; justify-self: start; }
.credit a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.credit a:hover { opacity: .8; }

/* ---- Movimiento suave y mínimo: sin parpadeos al agregar, elegir o cambiar cantidades ---- */
.sin.still { animation: none; }
.tick { display: inline-block; animation: tickn .32s var(--ease); }
@keyframes tickn { 45% { transform: scale(1.16); } }
.bagbtn .n.tick, .cartbtn .l span.tick { display: inline-grid; }
.ln { transition: opacity .18s ease, transform .18s ease; }
.ln.out { opacity: 0; transform: translateX(10px); }
.ln .lp { display: inline-block; }
.qty button { transition: background .15s, transform .15s var(--ease); }
.qty button:active { transform: scale(.9); }
.oc .n, .oc .m { opacity: 0; transform: scale(.7); pointer-events: none; transition: opacity .18s ease, transform .2s var(--ease); }
.oc.on .n, .oc.on .m { opacity: 1; transform: none; pointer-events: auto; }
.oc .n { pointer-events: none !important; }
.oc .n.tick { display: block; }
.add.done { transition: background .25s ease; }
.add { transition: transform .2s var(--ease), filter .2s, background .25s ease, color .25s ease; }
@media (prefers-reduced-motion: reduce) { .tick, .ln.out { animation: none; transition: none; } }

/* ---- Negrita y subrayado en los títulos de la portada ---- */
.hero h1 b, .hero .lead b, .bn-t b, .bn-p b { font-weight: 700; }
.hero h1 u, .hero .lead u, .bn-t u, .bn-p u { text-decoration: underline; text-decoration-thickness: .07em; text-underline-offset: .14em; text-decoration-color: var(--accent); }

/* ---------- Promociones: colores personalizables (por defecto negro con toques dorados) ----------
   Todos los colores llegan como variables desde el panel (Ajustes → Diseño → Colores de las promociones):
   --ps-*  = la sección entera,  --pc-*  = cada tarjeta (y cada promo puede tener las suyas). */
.promos-sec {
  margin-top: 34px; padding: 52px 0 28px; color: var(--ink); border: 0;
  border-radius: 0 0 clamp(26px, 6vw, 52px) clamp(26px, 6vw, 52px);
  background:
    radial-gradient(760px 340px at 90% -6%, var(--ps-glow), transparent 62%),
    radial-gradient(600px 320px at -8% 106%, var(--ps-glow2), transparent 64%),
    repeating-linear-gradient(135deg, var(--ps-lines) 0 1px, transparent 1px 24px),
    var(--ps-imgl),
    linear-gradient(180deg, var(--ps-top) 0%, var(--ps-bot) 100%);
  box-shadow: inset 0 1px 0 var(--ps-edge), 0 30px 60px -34px rgba(0,0,0,.55);
}
.promos-sec::before { background: radial-gradient(closest-side, var(--ps-glow), transparent 70%); }
.pr-eyebrow { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px 6px 10px; margin-bottom: 14px; border-radius: 999px; background: var(--ps-eb-bg); border: 1px solid var(--ps-eb-bd); color: var(--ps-eb); font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.pr-eyebrow svg { width: 15px; height: 15px; }
.promos-sec .pr-head h2 { color: transparent; background: linear-gradient(180deg, var(--ps-t1) 0%, var(--ps-t2) 55%, var(--ps-t3) 100%); -webkit-background-clip: text; background-clip: text; }
.promos-sec .pr-sub { color: var(--ps-text); opacity: .86; font-weight: 400; }
.promos-sec .pr-up { background: linear-gradient(135deg, var(--pc-btn1), var(--pc-btn2)); color: var(--pc-btn-ink); box-shadow: 0 14px 28px -10px var(--pc-btn-glow); }
/* La tarjeta: sus colores salen de --pc-*; así cada promo puede cambiarlos sin tocar las demás */
.promos-sec .promo {
  --surface: var(--pc-surface); --surface2: var(--pc-surface2); --bg2: var(--pc-bg2); --ink: var(--pc-ink); --muted: var(--pc-muted); --line: var(--pc-line);
  --accent: var(--pc-accent); --accent2: var(--pc-accent2); --accent-ink: var(--pc-accent-ink); --glow: var(--pc-glow);
  --hero-a: color-mix(in srgb, var(--pc-accent) 22%, var(--pc-surface));
  color: var(--ink); background: var(--pc-imgl), var(--pc-surface); border: var(--pc-bw) solid var(--pc-border); border-radius: var(--pc-r);
  box-shadow: var(--pc-shadow);
}
.promos-sec .promo.top { border-color: var(--pc-accent); box-shadow: 0 0 0 1px var(--pc-glow), 0 30px 56px -22px var(--pc-glow); }
.promos-sec .promo.top::before { background: conic-gradient(from var(--ang, 0deg), transparent 0 55%, var(--pc-accent2) 80%, transparent 100%); }
.promos-sec .promo:hover { border-color: var(--pc-accent); }
.promos-sec .pm-best, .promos-sec .pm-badge { background: linear-gradient(135deg, var(--pc-btn1), var(--pc-btn2)); color: var(--pc-btn-ink); }
.promos-sec .pm-badge.hot { background: var(--hot); color: #fff; }
.promos-sec .pm-badge.low { background: #fff; color: #b3261e; }
.promos-sec .pm-off { background: var(--pc-surface); color: var(--pc-accent2); border: 1px solid var(--pc-border); }
.promos-sec .pm-price .now { color: var(--pc-accent); }
.promos-sec .add { background: linear-gradient(135deg, var(--pc-btn1), var(--pc-btn2)); color: var(--pc-btn-ink); }
.promos-sec .add:disabled { background: var(--surface2); color: var(--muted); }
.promos-sec .add.big { box-shadow: 0 14px 28px -12px var(--pc-btn-glow); }
.promos-sec .promo select { background: var(--pc-bg2); color: var(--pc-ink); }
.promos-sec .btn.line { color: var(--ps-eb); border-color: var(--ps-eb-bd); background: var(--ps-eb-bg); }
.promos-sec .btn.line:hover { background: var(--ps-eb-bd); }
@media (prefers-reduced-motion: reduce) { .promos-sec::before { animation: none; } }
.promos-sec { overflow: hidden; overflow: clip; }   /* "clip" no se desplaza solo cuando algo enfoca una tarjeta */

/* ---------- Elegir perfumes de la promo: filtro Mujer / Hombre, elegidos a la vista, búsqueda ---------- */
.slot-n { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; vertical-align: 1px; }
.tray { margin: -2px 0 10px; min-height: 30px; }
.tray-h { color: var(--muted); font-size: 12.5px; margin: 0; padding: 6px 0; }
.tray-l { display: flex; flex-wrap: wrap; gap: 6px; }
.tray-c { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; padding: 4px 4px 4px 11px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 16%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); font-size: 12.5px; font-weight: 500; }
.tray-c > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tray-c button { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--ink) 14%, transparent); color: var(--ink); font-size: 11px; line-height: 1; }
.bfil:empty { display: none; }
.bchips { margin: 0 0 10px; padding: 2px 0; }
.bld .bchips { margin: 0 -2px 10px; padding: 2px; }
.on-g { display: block; padding: 0 7px 7px; margin-top: -3px; font-size: 10.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--accent2); }
.on-g.hombre { color: var(--accent); }
.oc { transition: border-color .2s, transform .2s var(--ease), opacity .25s ease; }
.slot.full .oc:not(.on) { opacity: .42; }
.lnkbtn { border: 0; background: none; padding: 0; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; font: inherit; cursor: pointer; }
.bld .tsearch.sm { margin-top: 2px; }
