/* Página pública Punto Electro y Hogar. --pri se define desde Ajustes (color principal). */
:root {
  --pri: #7b2cf0; --tx: #1d1233; --mut: #6b6480; --bg: #f6f3fc; --line: #e6e8ec; --ok: #0f8a4b; --wa: #25d366; --rad: 14px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--tx); background: var(--bg); }
a { color: inherit; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* header */
.top { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { text-decoration: none; display: flex; align-items: center; }
.brand img { max-height: 50px; max-width: 180px; }
.top-nav { display: flex; align-items: center; gap: .8rem; }
.top-link { text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--tx); }
.top-link:hover { color: var(--pri); }
@media (max-width: 420px) { .top-link { font-size: .8rem; } }
.brand-txt { font-weight: 900; font-size: 1.4rem; letter-spacing: .02em; color: var(--pri); }

.hero { background: radial-gradient(1200px 400px at 80% -10%, color-mix(in srgb, var(--pri) 70%, #fff) 0%, transparent 60%), linear-gradient(135deg, color-mix(in srgb, var(--pri) 85%, #000), #2a0b5e); color: #fff; padding: 2.4rem 0 3.2rem; text-align: center; }
.hero h1 { margin: 0; font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 900; letter-spacing: .02em; }
.hero p { margin: .3rem 0 1.4rem; opacity: .92; font-size: 1.05rem; }
.search { max-width: 560px; margin: 0 auto; }
.search input { width: 100%; padding: .95rem 1.2rem; border-radius: 999px; border: 0; font: inherit; font-size: 1rem; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.search input:focus { outline: 3px solid rgba(255,255,255,.5); }

/* categories */
.chips { display: flex; gap: .5rem; overflow-x: auto; padding: 1.2rem 0 .4rem; margin-top: -1.6rem; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .5rem 1rem; font: inherit; font-size: .9rem; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.05); }
.chip.on { background: var(--pri); color: #fff; border-color: var(--pri); }

/* banners */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.slider { position: relative; background: #12052b; overflow: hidden; }
.slides { position: relative; max-width: 1600px; margin: 0 auto; aspect-ratio: 16 / 9; max-height: 560px; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; display: block; border: 0; padding: 0; background: none; cursor: pointer; width: 100%; }
div.slide { cursor: default; }
.slide.on { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sl-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); font-size: 1.7rem; line-height: 1; cursor: pointer; color: #2a0b5e; }
.sl-prev { left: 14px; }
.sl-next { right: 14px; }
.sl-dots { position: absolute; bottom: 12px; left: 0; right: 0; z-index: 2; display: flex; gap: 8px; justify-content: center; }
.sl-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.5); cursor: pointer; padding: 0; }
.sl-dots button.on { background: #fff; width: 26px; border-radius: 6px; }
@media (max-width: 600px) { .sl-nav { display: none; } }
.hero-mini { padding: 1.2rem 0 2.6rem; }
.promos { margin: .8rem 0 0; }
.promos-row { display: flex; gap: .8rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; padding-bottom: .4rem; scrollbar-width: thin; }
.promo { flex: 0 0 240px; scroll-snap-align: start; border-radius: var(--rad); overflow: hidden; border: 0; padding: 0; background: none; cursor: pointer; display: block; box-shadow: 0 6px 18px rgba(42,11,94,.18); transition: transform .15s; }
div.promo { cursor: default; }
.promo:hover { transform: translateY(-2px); }
.promo img { width: 100%; height: auto; display: block; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 520px) { .promo { flex-basis: 70%; } }

/* confianza */
.confianza { margin: .4rem 0 0; }
.conf-in { display: flex; gap: .6rem; overflow-x: auto; scrollbar-width: none; padding: .4rem 16px; }
.conf-in::-webkit-scrollbar { display: none; }
.conf-it { flex: none; display: flex; align-items: center; gap: .45rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .55rem .9rem; font-size: .88rem; font-weight: 600; }
.conf-ico { font-size: 1.15rem; line-height: 1; }
@media (min-width: 900px) { .conf-in { justify-content: center; flex-wrap: wrap; } }

/* cómo comprar */
.como { background: #fff; border-top: 1px solid var(--line); padding: 2.5rem 0; }
.como h2 { margin: 0 0 1.2rem; font-size: 1.5rem; text-align: center; }
.como-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; max-width: 900px; margin: 0 auto; }
.como-box { background: var(--bg); border-radius: var(--rad); padding: 1.2rem 1.3rem; }
.como-box h3 { margin: 0 0 .7rem; font-size: 1rem; text-transform: uppercase; letter-spacing: .05em; color: var(--pri); }
.pasos { counter-reset: paso; list-style: none; padding: 0; margin: 0; }
.pasos li { counter-increment: paso; position: relative; padding: .35rem 0 .35rem 2.4rem; min-height: 2rem; }
.pasos li::before { content: counter(paso); position: absolute; left: 0; top: .2rem; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--pri); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .9rem; }
.req { list-style: none; padding: 0; margin: 0; }
.req li { padding: .35rem 0 .35rem 1.7rem; position: relative; }
.req li::before { content: '✓'; position: absolute; left: .2rem; color: var(--ok); font-weight: 800; }
.como-cta { display: flex; max-width: 360px; margin: 1.5rem auto 0; }
.link-como { color: var(--pri); font-weight: 600; }

/* filtros */
.tools { display: flex; gap: .8rem; flex-wrap: wrap; align-items: flex-end; padding: .8rem 0 0; }
.tools-top { margin-top: -1.6rem; }
.tools label { display: flex; flex-direction: column; gap: .25rem; font-size: .8rem; font-weight: 600; color: var(--mut); }
.tool-cuota { flex: 1 1 260px; max-width: 360px; }
.tool-in { display: flex; align-items: center; background: #fff; border: 2px solid var(--ok); border-radius: 12px; padding: 0 .8rem; }
.tool-in b { color: var(--ok); font-size: 1.1rem; }
.tool-in input { border: 0; outline: 0; font: inherit; font-size: 1.05rem; font-weight: 700; padding: .6rem .4rem; width: 100%; background: transparent; color: var(--tx); }
.tool-orden { margin-left: auto; }
.tool-orden select { font: inherit; font-size: .95rem; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--tx); }
@media (max-width: 520px) { .tool-cuota { max-width: none; flex-basis: 100%; } .tool-orden { margin-left: 0; flex: 1; } .tool-orden select { width: 100%; } }
.filtro-info { margin: .8rem 0 0; color: var(--ok); font-weight: 600; font-size: .9rem; }

/* grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; padding: 1rem 0 3rem; }
@media (max-width: 520px) { .grid { grid-template-columns: 1fr 1fr; gap: .6rem; } }
.card { background: #fff; border-radius: var(--rad); overflow: hidden; border: 1px solid var(--line); cursor: pointer; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.card:hover, .card:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.09); outline: none; }
.ph { position: relative; aspect-ratio: 1; background: #fff; display: grid; place-items: center; padding: .8rem; border-bottom: 1px solid var(--line); }
.ph img { max-width: 100%; max-height: 100%; object-fit: contain; }
.noimg { color: var(--mut); font-size: .85rem; }
.n-fotos { position: absolute; bottom: .5rem; right: .5rem; background: rgba(21,23,27,.7); color: #fff; font-size: .7rem; padding: .15rem .45rem; border-radius: 5px; }
.card-link { color: inherit; text-decoration: none; }
.card-link::after { content: ''; position: absolute; inset: 0; }
.card { position: relative; }
.card .add { z-index: 2; }
.badges { position: absolute; top: .6rem; left: .6rem; display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; }
.badge { display: inline-block; background: var(--pri); color: #fff; font-size: .72rem; font-weight: 700; padding: .25rem .55rem; border-radius: 6px; text-transform: uppercase; letter-spacing: .03em; }
.badge-out { background: #4b5563; }
.badge-off { background: var(--ok); }
.ph-logo { opacity: .18; max-width: 60% !important; filter: grayscale(1); }
.add { position: absolute; top: .5rem; right: .5rem; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--tx); font-size: 1.3rem; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.1); display: grid; place-items: center; }
.add:hover { border-color: var(--wa); color: var(--ok); }
.add.on { background: var(--wa); border-color: var(--wa); color: #fff; font-size: 1rem; }
.agotado .ph img { opacity: .55; filter: grayscale(.6); }
.body { padding: .8rem .9rem 1rem; display: flex; flex-direction: column; gap: .2rem; flex: 1; }
.cat { color: var(--mut); font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; }
.body h2 { font-size: .98rem; font-weight: 600; margin: 0 0 .3rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.contado { font-size: 1.45rem; font-weight: 800; line-height: 1.1; }
.contado small { display: block; font-size: .7rem; font-weight: 600; color: var(--mut); text-transform: uppercase; letter-spacing: .05em; }
.cuota { font-size: .9rem; color: var(--ok); margin-top: .2rem; }
.antes { color: var(--mut); font-size: .85rem; line-height: 1.2; }
.cuota-main small { display: block; font-size: .78rem; font-weight: 600; color: var(--mut); }
.cuota-main b { font-size: 1.45rem; font-weight: 800; line-height: 1.1; }
.cuota-main em { display: inline-block; margin-left: .35rem; font-style: normal; font-size: .72rem; font-weight: 700; color: #fff; background: var(--ok); padding: .1rem .4rem; border-radius: 5px; vertical-align: middle; }
.contado-sec { font-size: .85rem; color: var(--mut); margin-top: .15rem; }
.contado-sec b { color: var(--tx); }
.cuota em { font-style: normal; font-weight: 700; }
.more { font-size: .8rem; color: var(--pri); font-weight: 600; margin-top: auto; padding-top: .4rem; }
@media (max-width: 520px) { .cuota-main b { font-size: 1.15rem; } .cuota-main em { display: table; margin: .2rem 0 0; } .contado-sec { font-size: .78rem; } .contado { font-size: 1.15rem; } .body h2 { font-size: .88rem; } .cuota { font-size: .8rem; } }
.empty { text-align: center; color: var(--mut); padding: 3rem 1rem; }

/* dialog */
.dlg { border: 0; border-radius: 18px; padding: 0; width: min(900px, calc(100vw - 24px)); max-height: calc(100vh - 24px); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.dlg::backdrop { background: rgba(10,12,16,.6); }
.dlg-x { position: absolute; top: .5rem; right: .6rem; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #f1f2f4; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.dlg-in { display: grid; grid-template-columns: 1fr 1fr; }
.dlg-ph { background: #fff; display: grid; place-items: center; padding: 1.5rem; border-right: 1px solid var(--line); }
.dlg-ph { position: relative; flex-direction: column; gap: .6rem; }
.gal-main { max-width: 100%; max-height: 420px; object-fit: contain; }
.gal-nav { position: absolute; top: 45%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.92); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.gal-prev { left: .6rem; }
.gal-next { right: .6rem; }
.gal-thumbs { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: center; }
.gal-thumbs button { width: 54px; height: 54px; padding: 3px; border: 2px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; }
.gal-thumbs button.on { border-color: var(--pri); }
.gal-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.ficha-acts { display: flex; gap: .5rem; }
.ficha-acts .btn-sec { flex: 1; }
.btn-share { border-color: var(--line) !important; color: var(--tx) !important; flex: 0 0 auto !important; width: auto !important; padding-left: 1.1rem !important; padding-right: 1.1rem !important; }

/* página de producto */
.ficha-page { padding-top: 1rem; padding-bottom: 2rem; }
.migas { font-size: .9rem; color: var(--mut); margin-bottom: .8rem; }
.migas a { color: var(--pri); font-weight: 600; text-decoration: none; }
.ficha-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.ficha-h { margin: .2rem 0 .8rem; font-size: 1.5rem; line-height: 1.25; }
.rel h2 { font-size: 1.2rem; margin: 2rem 0 .2rem; }
.grid-rel { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.grid-rel .card { text-decoration: none; color: inherit; }
.dlg-info { padding: 1.6rem 1.5rem; }
.dlg-info h2 { margin: .2rem 0 .8rem; font-size: 1.35rem; line-height: 1.25; padding-right: 2rem; }
.dlg-info .badge { position: static; display: inline-block; margin: 0 0 .8rem; }
.contado.big span { font-size: 2.1rem; }
.antes.big { font-size: 1rem; margin-bottom: .2rem; }
.antes.big .badge { margin: 0 0 0 .3rem; vertical-align: middle; }
.dlg-info h3 { font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; color: var(--mut); margin: 1.3rem 0 .4rem; }
.planes { width: 100%; border-collapse: collapse; }
.planes td { padding: .55rem .2rem; border-bottom: 1px solid var(--line); font-size: .95rem; }
.planes td.m { font-weight: 800; font-size: 1.1rem; text-align: right; white-space: nowrap; }
.planes td.t { color: var(--mut); font-size: .8rem; text-align: right; }
.planes tr.si td.t { color: var(--ok); font-weight: 700; }
.note { color: var(--mut); font-size: .8rem; margin: .5rem 0 0; }
.desc { white-space: pre-line; color: #374151; font-size: .95rem; }
@media (max-width: 720px) {
  .dlg-in { grid-template-columns: 1fr; }
  .dlg-ph { border-right: 0; border-bottom: 1px solid var(--line); padding: 1rem; }
  .dlg-ph img { max-height: 260px; }
}

/* buttons */
.btn-wa { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; background: var(--wa); color: #fff; text-decoration: none; font-weight: 700; padding: .85rem 1.3rem; border-radius: 999px; margin-top: 1rem; width: 100%; }
.btn-wa:hover { filter: brightness(.95); }
.btn-wa.sm { width: auto; margin: 0; padding: .5rem 1rem; font-size: .9rem; }
@media (max-width: 420px) { .btn-wa.sm span { display: none; } .btn-wa.sm { padding: .55rem; } }
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); z-index: 30; }
.wa-float svg { width: 30px; height: 30px; }
.btn-out { display: inline-block; border: 1px solid rgba(255,255,255,.35); color: #fff; text-decoration: none; padding: .6rem 1rem; border-radius: 10px; font-weight: 600; }
.btn-out:hover { background: rgba(255,255,255,.08); }

.btn-sec { display: block; width: 100%; margin-top: .6rem; text-align: center; padding: .75rem 1rem; border-radius: 999px; border: 2px solid var(--wa); background: #fff; color: var(--ok); font: inherit; font-weight: 700; cursor: pointer; }
.btn-sec.on { background: #e9f9ef; }
.btn-link { display: block; margin: .8rem auto 0; background: none; border: 0; color: var(--mut); font: inherit; font-size: .85rem; text-decoration: underline; cursor: pointer; }

/* mi consulta */
.lista-bar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; z-index: 40; display: flex; align-items: center; gap: .7rem; background: var(--tx); color: #fff; border: 0; border-radius: 999px; padding: .55rem .6rem .55rem .6rem; font: inherit; font-weight: 600; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.3); width: max-content; max-width: calc(100vw - 32px); }
.lb-n { background: var(--wa); color: #fff; min-width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center; font-weight: 800; padding: 0 .5rem; }
.lb-go { background: var(--wa); padding: .45rem .9rem; border-radius: 999px; }
.con-lista .wa-float { display: none; }
.con-lista .foot { padding-bottom: 7rem; }
.dlg-lista { width: min(520px, calc(100vw - 24px)); }
.lista-in { padding: 1.5rem 1.4rem; }
.lista-in h2 { margin: 0 0 .3rem; }
.lista { list-style: none; padding: 0; margin: 1rem 0 0; max-height: 50vh; overflow-y: auto; }
.lista li { display: flex; align-items: center; gap: .8rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.lista img { width: 52px; height: 52px; object-fit: contain; border-radius: 8px; background: #f3f4f6; flex: none; }
.lista li div { flex: 1; min-width: 0; }
.lista b { display: block; font-size: .95rem; }
.lista small { color: var(--mut); font-size: .8rem; }
.lista button { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #f1f2f4; font-size: 1.2rem; cursor: pointer; }
.lista-total { font-weight: 700; text-align: right; margin: .6rem 0 0; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: 84px; z-index: 50; background: rgba(21,23,27,.92); color: #fff; padding: .6rem 1rem; border-radius: 10px; font-size: .9rem; }

/* footer */
.foot { background: #1a0838; color: #c9cdd4; padding: 2rem 0 5rem; font-size: .92rem; }
.foot b { color: #fff; font-size: 1.1rem; display: block; margin-bottom: .5rem; }
.foot-in { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.foot-in div div { margin: .25rem 0; }
.foot-r { max-width: 420px; }
.legal { font-size: .78rem; color: #8b919b; margin-top: 1rem; }

/* =====================================================================
   v2 — más vida: tipografía, brillos violetas, animaciones suaves
   ===================================================================== */
:root { --pri-2: #b14dff; --dark: #1a0838; --glow: 0 10px 30px rgba(123, 44, 240, .25); --font-t: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
h1, h2, h3, .sec-t, .brand-txt, .contado, .cuota-main b, .btn-pri, .chip, .lb-t { font-family: var(--font-t); }
.grad { background: linear-gradient(90deg, #fff, #e3c6ff 40%, var(--pri-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; background: rgba(255,255,255,.14); color: #f1e6ff; margin-bottom: .7rem; }

/* header */
.top { background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); transition: box-shadow .2s; }
.top.scrolled { box-shadow: 0 6px 24px rgba(26, 8, 56, .10); }
.top-link { position: relative; padding: .3rem 0; }
.top-link::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; background: var(--pri); transition: right .2s; }
.top-link:hover::after { right: 0; }
.top-rev { border: 1.5px solid var(--pri); color: var(--pri); padding: .38rem .85rem; border-radius: 999px; }
.top-rev::after { display: none; }
.top-rev:hover { background: var(--pri); color: #fff; }
@media (max-width: 640px) { .hide-sm { display: none; } .top-nav { gap: .5rem; } .top-rev { font-size: .78rem; padding: .32rem .65rem; } }

/* slider y buscador */
.slider::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(transparent, rgba(26,8,56,.55)); pointer-events: none; z-index: 1; }
.hero, .hero-mini { position: relative; overflow: hidden; }
.hero::before, .hero::after { content: ''; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; }
.hero::before { width: 380px; height: 380px; background: var(--pri-2); top: -180px; left: -80px; animation: flotar 9s ease-in-out infinite alternate; }
.hero::after { width: 300px; height: 300px; background: #4f1bd1; bottom: -160px; right: -60px; animation: flotar 11s ease-in-out infinite alternate-reverse; }
@keyframes flotar { to { transform: translate(40px, 20px) scale(1.1); } }
.hero .wrap { position: relative; z-index: 1; }
.search { position: relative; }
.search svg { position: absolute; left: 1.15rem; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--pri); }
.search input { padding-left: 3rem; transition: box-shadow .2s, transform .2s; }
.search input:focus { outline: none; box-shadow: 0 0 0 4px rgba(255,255,255,.35), 0 12px 32px rgba(0,0,0,.25); transform: translateY(-1px); }

/* categorías */
.chips { padding-top: 1.4rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; padding: .55rem 1.05rem; transition: transform .15s, box-shadow .15s, background .15s; }
.chip:hover { transform: translateY(-2px); box-shadow: var(--glow); }
.chip.on { background: linear-gradient(135deg, var(--pri), var(--pri-2)); border-color: transparent; box-shadow: var(--glow); }
.chip-ico { font-size: 1.05rem; line-height: 1; }

/* títulos de sección */
.sec-t { font-size: clamp(1.25rem, 3vw, 1.7rem); font-weight: 800; margin: 2rem 0 .9rem; display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem .8rem; letter-spacing: -.01em; }
.sec-t::before { content: ''; width: 6px; height: 1.1em; align-self: center; border-radius: 4px; background: linear-gradient(var(--pri-2), var(--pri)); }
.sec-t span { font-size: .85rem; font-weight: 500; color: var(--mut); font-family: system-ui, sans-serif; }
.sec-prod { margin-top: 2.2rem; }
.promos .sec-t { margin-top: 1.6rem; }

/* confianza */
.conf-it { border-radius: 14px; padding: .65rem 1rem; box-shadow: 0 4px 14px rgba(26,8,56,.05); transition: transform .15s; }
.conf-it:hover { transform: translateY(-2px); }
.conf-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, #f1e6ff, #e2ccff); font-size: 1.05rem; }

/* tarjetas */
.grid { gap: 1.1rem; }
.card { border-radius: 18px; border-color: transparent; box-shadow: 0 2px 10px rgba(26,8,56,.06); transition: transform .2s, box-shadow .2s; }
.card:hover, .card:focus-within { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(123,44,240,.18); }
.card .ph { overflow: hidden; background: linear-gradient(180deg, #fff, #faf7ff); }
.card .ph img { transition: transform .35s ease; }
.card:hover .ph img { transform: scale(1.06); }
.cuota-main b { background: linear-gradient(90deg, var(--pri), var(--pri-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cuota-main em { background: linear-gradient(90deg, #0f8a4b, #20b26b); }
.more { display: inline-flex; align-items: center; gap: .3rem; }
.more::after { content: '→'; transition: transform .2s; }
.card:hover .more::after { transform: translateX(4px); }
.badge { box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.badge-off { background: linear-gradient(135deg, #0f8a4b, #22c06f); }
.add { transition: transform .15s; }
.add:hover { transform: scale(1.1); }

/* herramientas */
.tool-in { border-color: var(--pri); box-shadow: 0 6px 18px rgba(123,44,240,.10); }
.tool-in b { color: var(--pri); }
.filtro-info { color: var(--pri); }

/* franja revendedores */
.rv-band { margin: 3rem 0 0; background: radial-gradient(600px 300px at 85% 0%, rgba(177,77,255,.55), transparent 60%), linear-gradient(135deg, #2a0b5e, var(--dark)); color: #fff; }
.rv-band-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; padding: 2.6rem 16px; flex-wrap: wrap; }
.rv-band h2 { margin: 0 0 .5rem; font-size: clamp(1.4rem, 3.5vw, 2rem); }
.rv-band p { margin: 0; max-width: 560px; color: #ddd0f5; }
.rv-band-cta { display: flex; gap: .7rem; flex-wrap: wrap; }
.btn-pri { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .9rem 1.5rem; border-radius: 999px; font-weight: 700; color: #fff; text-decoration: none; border: 0; cursor: pointer; font-size: 1rem;
  background: linear-gradient(135deg, var(--pri-2), var(--pri)); box-shadow: 0 10px 26px rgba(123,44,240,.4); transition: transform .15s, box-shadow .15s; }
.btn-pri:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(123,44,240,.5); }
.btn-lg { width: 100%; padding: 1rem; font-size: 1.05rem; }
.btn-ghost-w { display: inline-flex; align-items: center; padding: .85rem 1.3rem; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.5); color: #fff; text-decoration: none; font-weight: 600; }
.btn-ghost-w:hover { background: rgba(255,255,255,.1); }

/* cómo comprar */
.como { background: linear-gradient(180deg, #fff, #f6f0ff); }
.como-box { background: #fff; box-shadow: 0 6px 22px rgba(26,8,56,.07); }
.pasos li::before { background: linear-gradient(135deg, var(--pri-2), var(--pri)); }

/* pie */
.foot { background: radial-gradient(500px 200px at 10% 0%, rgba(123,44,240,.35), transparent 70%), var(--dark); padding-bottom: 1.5rem; }
.foot-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { .foot-in { grid-template-columns: 1fr; } }
.foot-slogan { color: #b9a9d9; margin: 0 0 .6rem; }
.foot-links { display: flex; flex-direction: column; gap: .45rem; }
.foot-links b { font-size: .95rem !important; margin-bottom: .2rem !important; }
.foot-links a { color: #c9bfe0; text-decoration: none; }
.foot-links a:hover { color: #fff; }
.foot-copy { border-top: 1px solid rgba(255,255,255,.1); margin-top: 1.8rem; padding-top: 1rem; font-size: .8rem; color: #8f82ab; }
.con-lista .foot { padding-bottom: 7rem; }

/* aparición al hacer scroll */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .grid .card.rv { opacity: 0; transform: translateY(16px); }
.js .grid .card.rv.in { opacity: 1; transform: none; transition: opacity .45s ease, transform .45s ease, box-shadow .2s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .grid .card.rv { opacity: 1; transform: none; transition: none; }
  .hero::before, .hero::after { animation: none; }
}

/* ===== página "Quiero ser revendedor" ===== */
.rv-hero { position: relative; overflow: hidden; color: #fff; text-align: center; padding: 3.5rem 0 4rem;
  background: radial-gradient(700px 320px at 80% -10%, rgba(177,77,255,.7), transparent 60%), radial-gradient(500px 300px at 0% 110%, rgba(79,27,209,.8), transparent 60%), linear-gradient(135deg, #3b0f86, var(--dark)); }
.rv-hero h1 { font-size: clamp(1.9rem, 5vw, 3rem); margin: 0 0 .7rem; line-height: 1.1; }
.rv-hero p { max-width: 620px; margin: 0 auto 1.6rem; color: #e2d6fa; font-size: 1.05rem; }
.rv-cta { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; }
.rv-benef { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: -2rem; position: relative; }
.rv-benef div { background: #fff; border-radius: 18px; padding: 1.3rem; box-shadow: 0 10px 30px rgba(26,8,56,.10); }
.rv-benef span { font-size: 1.6rem; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, #f1e6ff, #e2ccff); }
.rv-benef h3 { margin: .8rem 0 .3rem; font-size: 1.05rem; }
.rv-benef p { margin: 0; color: var(--mut); font-size: .92rem; }
.rv-pasos ol { counter-reset: p; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.rv-pasos li { counter-increment: p; background: #fff; border-radius: 16px; padding: 1.1rem 1.1rem 1.1rem 3.6rem; position: relative; box-shadow: 0 4px 16px rgba(26,8,56,.06); }
.rv-pasos li::before { content: counter(p); position: absolute; left: 1rem; top: 1rem; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; background: linear-gradient(135deg, var(--pri-2), var(--pri)); }
.rv-form-box { background: #fff; border-radius: 22px; padding: clamp(1.2rem, 4vw, 2.2rem); box-shadow: 0 16px 44px rgba(26,8,56,.10); margin: 2rem auto 3rem; max-width: 860px; scroll-margin-top: 80px; }
.rv-form-box .sec-t { margin-top: 0; }
.rv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .2rem 1rem; }
@media (max-width: 640px) { .rv-grid { grid-template-columns: 1fr; } }
.rv-form label > span { display: block; font-size: .85rem; font-weight: 600; margin: .7rem 0 .3rem; }
.rv-form label small { font-weight: 400; color: var(--mut); }
.rv-form input:not([type=checkbox]):not([type=file]) { width: 100%; padding: .75rem .9rem; border: 1.5px solid #ddd5ee; border-radius: 12px; font: inherit; background: #fcfaff; transition: border-color .15s, box-shadow .15s; }
.rv-form input:focus { outline: none; border-color: var(--pri); box-shadow: 0 0 0 4px rgba(123,44,240,.12); background: #fff; }
.rv-dni { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.2rem 0; }
@media (max-width: 520px) { .rv-dni { grid-template-columns: 1fr; } }
.dni-up { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 150px; border: 2px dashed #cdbcf0; border-radius: 16px; cursor: pointer; padding: 1rem; background: #faf7ff; overflow: hidden; }
.dni-up:hover { border-color: var(--pri); }
.dni-up input { position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 2; }
.dni-up small { color: var(--mut); }
.dni-prev { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; }
.dni-up.lleno .dni-prev { opacity: .9; }
.dni-up.lleno b, .dni-up.lleno small { position: relative; background: rgba(255,255,255,.9); padding: .1rem .5rem; border-radius: 6px; }
.chk-line { display: flex; gap: .6rem; align-items: flex-start; margin: .5rem 0 1.2rem; font-size: .92rem; }
.chk-line input { width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--pri); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alerta { background: #fdecec; color: #8f1d1d; border: 1px solid #f5c2c2; border-radius: 12px; padding: .8rem 1rem; margin-bottom: 1rem; }
.rv-ok { text-align: center; }
.rv-ok-ico { width: 72px; height: 72px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; font-size: 2.2rem; color: #fff; background: linear-gradient(135deg, #22c06f, #0f8a4b); }

/* ===== catálogo público de un revendedor ===== */
.rc-top { background: linear-gradient(135deg, #3b0f86, var(--dark)); color: #fff; position: sticky; top: 0; z-index: 20; }
.rc-top-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 16px; }
.rc-top small { color: #cdbff0; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.rc-top h1 { margin: 0; font-size: clamp(1.15rem, 4vw, 1.6rem); }
.rc-tools { padding-top: 1.2rem; }
.rc-tools input { width: 100%; padding: .85rem 1.1rem; border-radius: 999px; border: 1.5px solid #ddd5ee; font: inherit; }
.rc-tools .chips { margin-top: 0; padding-top: .8rem; }
.rc-card { cursor: default; }
.rc-planes { list-style: none; padding: .4rem 0 0; margin: .4rem 0 0; border-top: 1px dashed var(--line); font-size: .82rem; }
.rc-planes li { display: flex; justify-content: space-between; padding: .1rem 0; }
.rc-wa { margin-top: .8rem; padding: .6rem 1rem; font-size: .9rem; }
.rc-foot { background: var(--dark); color: #c9bfe0; padding: 1.6rem 0 2rem; text-align: center; margin-top: 2rem; }

/* carteles de stock */
.badge-aviso { background: linear-gradient(135deg, #ff6a00, #e8380d); animation: latido 1.8s ease-in-out infinite; }
@keyframes latido { 0%, 100% { transform: scale(1); box-shadow: 0 4px 12px rgba(232,56,13,.25); } 50% { transform: scale(1.06); box-shadow: 0 6px 18px rgba(232,56,13,.45); } }
.urgencia { margin-top: .35rem; font-size: .78rem; font-weight: 700; color: #d9480f; display: flex; align-items: center; gap: .35rem; }
.urgencia::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #e8380d; box-shadow: 0 0 0 0 rgba(232,56,13,.6); animation: ping 1.6s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgba(232,56,13,0); } 100% { box-shadow: 0 0 0 0 rgba(232,56,13,0); } }
.aviso-ficha { background: #fff1e8; color: #b23c08; border: 1px solid #ffd2b8; border-radius: 10px; padding: .5rem .8rem; font-weight: 700; font-size: .9rem; margin: 0 0 .8rem; }
@media (prefers-reduced-motion: reduce) { .badge-aviso, .urgencia::before { animation: none; } }

/* instagram y crédito */
.btn-ig { display: inline-flex; align-items: center; gap: .45rem; margin-top: .5rem; padding: .5rem .9rem; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem;
  background: linear-gradient(45deg, #f9ce34, #ee2a7b 45%, #6228d7); }
.btn-ig:hover { filter: brightness(1.08); }
.btn-ig svg { width: 18px; height: 18px; }
.top-ig { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; background: linear-gradient(45deg, #f9ce34, #ee2a7b 45%, #6228d7); }
.top-ig svg { width: 20px; height: 20px; }
.foot-copy { display: flex; justify-content: space-between; gap: .5rem 1.5rem; flex-wrap: wrap; }
.foot-copy a { color: #c9bfe0; text-decoration: none; font-weight: 600; }
.foot-copy a:hover { color: #fff; }

/* ofertas con cuenta regresiva */
.badge-timer { background: linear-gradient(135deg, #111, #3b0f86); font-variant-numeric: tabular-nums; letter-spacing: 0; text-transform: none; }
.badge-timer.fin, .timer-ficha.fin { opacity: .6; }
.timer-ficha { display: inline-block; margin: 0 0 .7rem; padding: .45rem .8rem; border-radius: 10px; font-weight: 700; font-size: .92rem; font-variant-numeric: tabular-nums;
  color: #fff; background: linear-gradient(135deg, #1a0838, var(--pri)); box-shadow: 0 6px 16px rgba(123,44,240,.25); }

/* comparar */
.cmp { position: absolute; top: 3.1rem; right: .5rem; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--pri);
  font-size: 1.05rem; font-weight: 800; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.1); display: grid; place-items: center; transition: transform .15s; }
.cmp:hover { transform: scale(1.1); }
.cmp.on { background: var(--pri); color: #fff; border-color: var(--pri); }
.cmp-bar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; z-index: 41; display: flex; align-items: center; gap: .6rem; border: 0; border-radius: 999px;
  padding: .6rem 1rem; font: inherit; font-weight: 700; color: #fff; cursor: pointer; background: linear-gradient(135deg, var(--pri-2), var(--pri)); box-shadow: 0 10px 30px rgba(123,44,240,.4); }
.cmp-bar b { background: #fff; color: var(--pri); border-radius: 999px; min-width: 26px; height: 26px; display: grid; place-items: center; }
.cmp-bar span { opacity: .6; }
.cmp-bar.listo span { opacity: 1; }
.con-lista .cmp-bar { bottom: 76px; }
.dlg-cmp { width: min(1000px, calc(100vw - 24px)); }
.cmp-in { padding: 1.4rem; }
.cmp-in h2 { margin: 0 0 1rem; }
.cmp-wrap { overflow-x: auto; }
.cmp-tbl { width: 100%; border-collapse: collapse; min-width: 520px; }
.cmp-tbl th { text-align: left; color: var(--mut); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; width: 110px; vertical-align: top; padding: .6rem .4rem; }
.cmp-tbl td { padding: .6rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; text-align: center; font-size: .92rem; }
.cmp-tbl td img { width: 100%; max-width: 150px; height: 120px; object-fit: contain; display: block; margin: 0 auto .4rem; }
.cmp-tbl td s { color: var(--mut); font-size: .8rem; }
.cmp-precio { font-size: 1.15rem; }
.cmp-tbl td.mejor { background: #ecfdf3; }
.cmp-tbl td.mejor .cmp-precio::after { content: ' ✓ mejor precio'; font-size: .7rem; color: var(--ok); display: block; }
.cmp-tbl td.si { color: var(--ok); font-weight: 700; }
.cmp-desc { font-size: .82rem !important; color: #4b5563; text-align: left !important; white-space: pre-line; }

/* te puede interesar (ficha) */
.rel-mini { padding: 0 1.5rem 1.5rem; border-top: 1px solid var(--line); }
.rel-mini h3 { font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; color: var(--mut); margin: 1.1rem 0 .7rem; }
.rel-mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; }
@media (max-width: 720px) { .rel-mini-grid { grid-template-columns: repeat(2, 1fr); } }
.rel-it { display: flex; flex-direction: column; gap: .3rem; text-align: left; border: 1px solid var(--line); border-radius: 12px; padding: .5rem; background: #fff; cursor: pointer; font: inherit; transition: transform .15s, box-shadow .15s; }
.rel-it:hover { transform: translateY(-2px); box-shadow: var(--glow); }
.rel-ph { height: 90px; display: grid; place-items: center; }
.rel-ph img { max-width: 100%; max-height: 90px; object-fit: contain; }
.rel-n { font-size: .8rem; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rel-p { font-size: .85rem; font-weight: 800; color: var(--pri); }

/* volver arriba y categorías fijas */
.arriba { position: fixed; left: 18px; bottom: 18px; z-index: 30; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; font-size: 1.3rem; font-weight: 800;
  color: #fff; background: linear-gradient(135deg, var(--pri-2), var(--pri)); box-shadow: 0 8px 22px rgba(123,44,240,.35); }
.arriba:hover { transform: translateY(-2px); }
.chips-fijas { position: fixed; top: 64px; left: 0; right: 0; z-index: 19; background: rgba(246,243,252,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px rgba(26,8,56,.08); animation: bajar .2s ease; }
.chips-fijas .chips { padding: .5rem 0; margin: 0; }
.chips-fijas .chip { padding: .4rem .85rem; font-size: .85rem; }
@keyframes bajar { from { transform: translateY(-100%); opacity: 0; } }
@media (max-width: 520px) { .cmp { top: 2.9rem; width: 32px; height: 32px; } }

.cmp-bar { white-space: nowrap; }
@media (max-width: 600px) {
  .cmp-bar { bottom: 84px; padding: .55rem .9rem; font-size: .9rem; }
  .cmp-bar span { display: none; }
  .con-lista .cmp-bar { bottom: 140px; }
  .badge-timer { font-size: .68rem; }
}
