/* ByteLuxe · hoja única. Marca: azul marino #000032, dorado #EFB810. Manrope (titulares) + Inter (texto). */
:root {
  --bg: #04051a;
  --bg-2: #000032;
  --bg-3: #0a0c44;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.17);
  --glass: rgba(255, 255, 255, 0.04);
  --text: #f5f6fb;
  --muted: #a6a9c6;
  --gold: #efb810;
  --gold-2: #f8d771;
  --gold-grad: linear-gradient(100deg, #efb810 0%, #f8d771 55%, #efb810 100%);
  --photo: #eef0f4;
  --ok: #3ccf91;
  --no: #ff8a7a;
  --r: 22px;
  --r-sm: 14px;
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Manrope", "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.025em; margin: 0; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(1.75rem, 4vw, 3rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; }
p { margin: 0; }
.gold { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(239, 184, 16, .16); }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 58ch; }
.muted { color: var(--muted); }
.section { padding: 80px 0; position: relative; }
@media (min-width: 960px) { .section { padding: 120px 0; } }
.head { display: grid; gap: 14px; margin-bottom: 44px; max-width: 760px; }
.head.center { text-align: center; justify-items: center; margin-left: auto; margin-right: auto; }
.todo { background: rgba(239, 184, 16, .18); color: var(--gold-2); border-radius: 4px; padding: 0 4px; font-style: normal; font-size: .9em; }

/* Botones */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: 1rem; letter-spacing: -.005em; transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-gold { background: var(--gold); color: #0b0b2a; box-shadow: 0 10px 30px rgba(239, 184, 16, .25); }
.btn-gold:hover { background: var(--gold-2); box-shadow: 0 14px 40px rgba(239, 184, 16, .35); }
.btn-gold::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); animation: shine 4.5s 2s infinite; }
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.btn-line { border-color: var(--line-2); background: rgba(255, 255, 255, .02); }
.btn-line:hover { border-color: var(--text); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .92rem; }

/* Barra superior y cabecera */
.topbar { background: var(--bg-2); border-bottom: 1px solid var(--line); font-size: .8rem; color: var(--muted); overflow: hidden; }
.topbar .track { display: flex; gap: 48px; width: max-content; padding: 9px 0; animation: marquee 32s linear infinite; }
.topbar b { color: var(--text); font-weight: 600; }
@media (min-width: 960px) { .topbar .track { animation: none; width: auto; justify-content: center; } .topbar .dup { display: none; } }
@keyframes marquee { to { transform: translateX(-50%); } }
.header { position: sticky; top: 0; z-index: 50; background: rgba(4, 5, 26, .72); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; letter-spacing: .08em; font-size: 1.12rem; }
.logo img { width: 34px; height: 34px; }
.logo em { font-style: normal; color: var(--gold); }
.nav { display: none; gap: 30px; font-size: .94rem; color: var(--muted); }
.nav a { position: relative; padding: 6px 0; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
@media (min-width: 960px) { .nav { display: flex; } }
.icon-btn { position: relative; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; display: grid; place-items: center; transition: border-color .2s; }
.icon-btn:hover { border-color: var(--text); }
.count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--gold); color: #0b0b2a; font-size: .72rem; font-weight: 800; display: grid; place-items: center; }
.count[data-n="0"] { display: none; }
.menu-btn { display: grid; }
@media (min-width: 960px) { .menu-btn { display: none; } }
.head-actions { display: flex; gap: 10px; }
.mnav { position: fixed; inset: 70px 0 auto 0; z-index: 49; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 8px 16px 20px; display: none; }
.mnav.open { display: block; }
.mnav a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); font-weight: 600; }

/* Portada */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; animation: slowzoom 18s var(--ease) both; }
@keyframes slowzoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4, 5, 26, .96) 0%, rgba(4, 5, 26, .82) 38%, rgba(4, 5, 26, .15) 72%), linear-gradient(0deg, var(--bg) 0%, transparent 30%); }
.hero.no-ai::before { background: radial-gradient(900px 500px at 85% 20%, rgba(239, 184, 16, .12), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(40, 46, 160, .35), transparent 60%), var(--bg); }
.hero .wrap { display: grid; gap: 26px; padding-top: 64px; padding-bottom: 88px; }
.hero-copy { display: grid; gap: 24px; max-width: 640px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.price-chip { display: inline-flex; align-items: baseline; gap: 12px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(0, 0, 50, .55); backdrop-filter: blur(8px); width: max-content; }
.price-chip strong { font-family: var(--display); font-size: 1.35rem; }
.price-chip s { color: var(--muted); }
.price-chip span { color: var(--ok); font-weight: 700; font-size: .88rem; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .92rem; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { color: var(--gold); flex: none; }
@media (max-width: 767px) {
  .hero { min-height: auto; align-items: flex-end; }
  .hero-media { bottom: auto; height: 74vh; }
  .hero-media img { object-position: 50% 78%; }
  .hero::before { background: linear-gradient(180deg, rgba(4, 5, 26, 0) 30%, rgba(4, 5, 26, .75) 58%, var(--bg) 74vh); }
  .hero .wrap { padding-top: 50vh; padding-bottom: 56px; }
}

/* Marquesina de ventajas */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.ticker .track { display: flex; gap: 56px; width: max-content; padding: 20px 0; animation: marquee 38s linear infinite; font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--muted); }
.ticker .track span { display: inline-flex; align-items: center; gap: 56px; }
.ticker .track span::after { content: "✦"; color: var(--gold); font-size: .8rem; }

/* Tarjetas de producto */
.grid-3 { display: grid; gap: 20px; }
@media (min-width: 820px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pcard { position: relative; display: flex; flex-direction: column; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.pcard:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.pcard.star { border-color: rgba(239, 184, 16, .5); box-shadow: 0 0 0 1px rgba(239, 184, 16, .22), 0 30px 70px rgba(239, 184, 16, .07); }
.pcard-media { position: relative; aspect-ratio: 1; background: var(--photo); overflow: hidden; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; }
.pcard:hover .pcard-media img { transform: scale(1.04); }
.tag { position: absolute; top: 14px; left: 14px; z-index: 1; background: var(--bg-2); color: var(--gold); font-size: .74rem; font-weight: 800; padding: 7px 12px; border-radius: 999px; letter-spacing: .02em; }
.stock-tag { position: absolute; top: 14px; right: 14px; z-index: 1; background: rgba(255, 255, 255, .92); color: #b42318; font-size: .74rem; font-weight: 800; padding: 7px 12px; border-radius: 999px; }
.pcard-body { display: grid; gap: 10px; padding: 22px 22px 24px; flex: 1; align-content: start; }
.pcard-body p { color: var(--muted); font-size: .95rem; }
.prow { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.prow .now { font-family: var(--display); font-size: 1.8rem; font-weight: 800; }
.prow s { color: var(--muted); }
.prow .save { color: var(--ok); font-weight: 700; font-size: .86rem; }
.dots { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--muted); }
.dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); padding: 0; background: var(--c); transition: transform .2s, box-shadow .2s; }
.dot[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--bg-2), 0 0 0 4px var(--gold); }
.dot:hover { transform: scale(1.1); }
.pcard-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 8px; }

/* Bento de funciones */
.bento { display: grid; gap: 16px; }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 210px; } }
.tile { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: linear-gradient(160deg, var(--bg-3), var(--bg-2)); padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 190px; isolation: isolate; }
.tile .big { font-family: var(--display); font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 800; line-height: 1; }
.tile p { color: var(--muted); }
.tile.photo { padding: 0; min-height: 300px; }
.tile.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.tile.photo:hover img { transform: scale(1.04); }
.tile.photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0, 0, 30, .92) 0%, rgba(0, 0, 30, .1) 55%); }
.tile.photo .cap { padding: 24px; display: grid; gap: 4px; }
.tile .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(239, 184, 16, .12); color: var(--gold); margin-bottom: auto; }
@media (min-width: 900px) {
  .t-a { grid-column: span 4; grid-row: span 2; }
  .t-b, .t-c { grid-column: span 2; }
  .t-d, .t-e, .t-f { grid-column: span 2; }
  .t-g { grid-column: span 3; grid-row: span 2; }
  .t-h { grid-column: span 3; grid-row: span 2; }
}

/* Colores */
.colors-band { display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .colors-band { grid-template-columns: 1.3fr 1fr; gap: 56px; } }
.colors-photo { border-radius: var(--r); overflow: hidden; background: var(--photo); aspect-ratio: 16 / 10; border: 1px solid var(--line); }
.colors-photo img { width: 100%; height: 100%; object-fit: cover; }
.color-list { display: grid; gap: 12px; }
.color-link { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--glass); transition: border-color .2s, transform .2s; }
.color-link:hover { border-color: var(--gold); transform: translateX(4px); }
.color-link .sw { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; }
.color-link div { display: flex; align-items: center; gap: 14px; font-weight: 700; }

/* Honesto */
.honest { display: grid; gap: 18px; }
@media (min-width: 860px) { .honest { grid-template-columns: 1fr 1fr; } }
.hcol { border: 1px solid var(--line); border-radius: var(--r); padding: 28px; background: linear-gradient(180deg, rgba(255, 255, 255, .035), transparent); }
.hcol h3 { margin-bottom: 18px; display: flex; gap: 10px; align-items: center; }
.hcol ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.hcol li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--muted); }
.hcol b { color: var(--text); font-weight: 600; }
.yes { color: var(--ok); }
.no { color: var(--no); }

/* Regalo */
.gift { position: relative; overflow: hidden; isolation: isolate; }
.gift-bg { position: absolute; inset: 0; z-index: -2; }
.gift-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.gift::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4, 5, 26, .97) 0%, rgba(4, 5, 26, .85) 45%, rgba(4, 5, 26, .3) 100%); }
.gift .wrap { display: grid; gap: 28px; max-width: var(--wrap); }
.gift-copy { max-width: 600px; display: grid; gap: 18px; }
.countdown { display: flex; gap: 10px; }
.countdown div { min-width: 70px; text-align: center; padding: 12px 8px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(0, 0, 50, .6); backdrop-filter: blur(8px); }
.countdown strong { display: block; font-family: var(--display); font-size: 1.7rem; line-height: 1; }
.countdown small { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.gift-points { display: grid; gap: 10px; }
.gift-points div { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.gift-points b { color: var(--text); }
@media (max-width: 767px) { .gift::before { background: linear-gradient(0deg, rgba(4, 5, 26, .98) 35%, rgba(4, 5, 26, .55) 100%); } .gift .wrap { padding-top: 220px; } }

/* Garantías */
.policies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .policies { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.policy { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 22px; background: var(--glass); }
.policy strong { display: block; font-family: var(--display); font-size: 1.7rem; color: var(--gold); line-height: 1.1; margin-bottom: 4px; }
.policy span { color: var(--muted); font-size: .92rem; }

/* Guías */
.gcards { display: grid; gap: 16px; }
@media (min-width: 820px) { .gcards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gcard { display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: var(--glass); transition: border-color .2s, transform .25s var(--ease); }
.gcard:hover { border-color: var(--gold); transform: translateY(-3px); }
.gcard small { color: var(--gold); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .72rem; }
.gcard p { color: var(--muted); font-size: .95rem; }
.gcard .more { color: var(--text); font-weight: 700; font-size: .92rem; margin-top: 6px; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 840px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg-2); transition: border-color .2s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; line-height: 1; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 22px 20px; color: var(--muted); }

/* Llamada final */
.cta-final { text-align: center; overflow: hidden; background: radial-gradient(700px 340px at 50% 0%, rgba(239, 184, 16, .16), transparent 70%), var(--bg-2); border-top: 1px solid var(--line); }
.cta-final .wrap { display: grid; gap: 20px; justify-items: center; }

/* Pie */
.footer { border-top: 1px solid var(--line); padding: 56px 0 120px; color: var(--muted); font-size: .92rem; }
@media (min-width: 960px) { .footer { padding-bottom: 56px; } }
.footer .wrap { display: grid; gap: 34px; }
@media (min-width: 860px) { .footer .wrap { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer h4 { color: var(--text); font-size: .95rem; margin: 0 0 12px; letter-spacing: 0; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a:hover { color: var(--text); }
.pay { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pay span { border: 1px solid var(--line-2); border-radius: 8px; padding: 4px 10px; font-size: .76rem; color: var(--text); }
.legal-line { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 22px; font-size: .82rem; display: flex; flex-wrap: wrap; gap: 8px 18px; }

/* Barra de compra fija (móvil) */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(0, 0, 50, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line-2); transform: translateY(110%); transition: transform .3s var(--ease); }
.buybar.show { transform: none; }
.buybar .info { flex: 1; min-width: 0; line-height: 1.25; }
.buybar small { color: var(--muted); display: block; font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar strong { font-family: var(--display); font-size: 1.15rem; }
.buybar .btn { min-height: 46px; padding: 0 22px; }
@media (min-width: 960px) { .buybar { display: none; } }

/* Cesta lateral */
.scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); z-index: 60; opacity: 0; pointer-events: none; transition: opacity .25s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); z-index: 61; background: var(--bg-2); border-left: 1px solid var(--line-2); transform: translateX(100%); transition: transform .32s var(--ease); display: flex; flex-direction: column; }
.cart-open .scrim { opacity: 1; pointer-events: auto; }
.cart-open .drawer { transform: none; }
.cart-open { overflow: hidden; }
.dhead { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.dhead button { background: none; border: 0; color: var(--muted); font-size: 1.7rem; line-height: 1; padding: 4px; }
.ditems { flex: 1; overflow: auto; padding: 6px 22px; }
.li { display: grid; grid-template-columns: 70px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.li img { width: 70px; height: 70px; object-fit: cover; border-radius: 12px; background: var(--photo); }
.li small { display: block; color: var(--muted); }
.li .q { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; border: 1px solid var(--line-2); border-radius: 999px; }
.li .q button { background: none; border: 0; width: 30px; height: 28px; font-size: 1rem; }
.li .q span { min-width: 18px; text-align: center; font-weight: 700; font-size: .9rem; }
.li .rm { background: none; border: 0; color: var(--muted); font-size: .8rem; text-decoration: underline; padding: 0; margin-left: 10px; }
.dempty { color: var(--muted); padding: 30px 0; display: grid; gap: 16px; }
.upsell { margin: 14px 0; padding: 16px; border-radius: var(--r-sm); border: 1px dashed rgba(239, 184, 16, .55); background: rgba(239, 184, 16, .06); display: grid; gap: 10px; font-size: .93rem; }
.upsell b { color: var(--gold-2); }
.dfoot { padding: 18px 22px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 12px; }
.trow { display: flex; justify-content: space-between; font-weight: 800; font-size: 1.15rem; font-family: var(--display); }
.dfoot small { color: var(--muted); text-align: center; }
.err { color: #ffb4a8; font-size: .9rem; }
.ship-ok { display: flex; gap: 8px; align-items: center; color: var(--ok); font-size: .9rem; font-weight: 600; }

/* Ficha de producto */
.crumbs { font-size: .85rem; color: var(--muted); padding: 20px 0 0; }
.crumbs a:hover { color: var(--text); }
.pdp { display: grid; gap: 34px; padding: 20px 0 70px; }
@media (min-width: 960px) { .pdp { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 60px; padding-top: 28px; } .pdp-info { position: sticky; top: 96px; align-self: start; } }
.gal-main { position: relative; border-radius: var(--r); overflow: hidden; background: var(--photo); aspect-ratio: 1; }
.gal-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: var(--photo); aspect-ratio: 1; }
.thumbs button[aria-current="true"] { border-color: var(--gold); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info { display: grid; gap: 20px; align-content: start; }
.pdp-info h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.pprice { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pprice .now { font-family: var(--display); font-size: 2.6rem; font-weight: 800; }
.pprice .sep { color: var(--muted); }
.pprice .save { background: rgba(60, 207, 145, .12); color: var(--ok); font-weight: 700; font-size: .86rem; padding: 5px 11px; border-radius: 999px; }
.optlabel { display: flex; justify-content: space-between; font-weight: 600; font-size: .95rem; margin-bottom: 10px; }
.optlabel span { color: var(--muted); font-weight: 400; }
.copts { display: flex; flex-wrap: wrap; gap: 10px; }
.copt { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 9px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font-weight: 600; transition: border-color .2s, box-shadow .2s; }
.copt[aria-pressed="true"] { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.copt .sw { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line-2); }
.copt[data-out="1"] { opacity: .45; text-decoration: line-through; }
.includes { display: grid; gap: 10px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--glass); }
.includes div { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--muted); font-size: .95rem; }
.buyrow { display: grid; grid-template-columns: 124px 1fr; gap: 10px; }
.qty { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; height: 54px; overflow: hidden; }
.qty button { background: none; border: 0; height: 100%; font-size: 1.2rem; }
.qty output { text-align: center; font-weight: 700; }
.stockline { display: flex; align-items: center; gap: 9px; font-size: .9rem; color: var(--muted); }
.stockline i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(60, 207, 145, .15); flex: none; }
.stockline.low i { background: var(--gold); box-shadow: 0 0 0 4px rgba(239, 184, 16, .18); }
.stockline.out i { background: var(--no); box-shadow: 0 0 0 4px rgba(255, 138, 122, .18); }
.tbox { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tbox div { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: .88rem; color: var(--muted); padding: 13px; border: 1px solid var(--line); border-radius: 12px; }
.tbox svg { color: var(--gold); }
.tbox b { display: block; color: var(--text); font-weight: 600; }
.wa { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: .94rem; }
.wa svg { color: #25d366; }
.acc details { border-top: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 17px 0; font-weight: 600; display: flex; justify-content: space-between; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; color: var(--gold); font-size: 1.3rem; line-height: 1; }
.acc details[open] summary::after { content: "–"; }
.acc .body { padding: 0 0 18px; color: var(--muted); display: grid; gap: 10px; font-size: .95rem; }
.acc ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.specs { width: 100%; border-collapse: collapse; font-size: .94rem; }
.specs th, .specs td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { color: var(--muted); font-weight: 500; width: 40%; padding-right: 14px; }

/* Guías (artículos) */
.article-wrap { display: grid; gap: 40px; padding: 28px 0 80px; }
@media (min-width: 1040px) { .article-wrap { grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; } }
.article-head { display: grid; gap: 16px; max-width: 820px; padding-top: 14px; }
.article-head h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: .88rem; }
.answer { border-left: 3px solid var(--gold); padding: 16px 20px; background: var(--glass); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: 1.06rem; }
.prose { max-width: 760px; font-size: 1.04rem; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); margin-top: 2em; scroll-margin-top: 96px; }
.prose h3 { font-size: 1.2rem; margin-top: 1.6em; scroll-margin-top: 96px; }
.prose p, .prose li { color: #d3d5e8; }
.prose a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: .45em; }
.prose strong { color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { color: var(--text); background: var(--bg-2); }
.prose .tip { border: 1px solid rgba(239, 184, 16, .35); background: rgba(239, 184, 16, .06); border-radius: var(--r-sm); padding: 16px 18px; }
.prose mark.todo { background: rgba(239, 184, 16, .2); color: var(--gold-2); padding: 0 4px; border-radius: 4px; }
.toc { position: sticky; top: 96px; align-self: start; display: grid; gap: 18px; }
.toc nav { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 18px; display: grid; gap: 8px; font-size: .9rem; }
.toc nav b { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.toc nav a { color: var(--muted); }
.toc nav a:hover { color: var(--text); }
@media (max-width: 1039px) { .toc { position: static; } }
.pbox { border-radius: var(--r); overflow: hidden; border: 1px solid rgba(239, 184, 16, .45); background: var(--bg-2); }
.pbox img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; background: var(--photo); }
.pbox div { padding: 18px; display: grid; gap: 10px; }
.pbox p { color: var(--muted); font-size: .92rem; }

/* Páginas legales y de ayuda */
.page { padding: 40px 0 90px; }
.page .prose { margin-top: 26px; }
.form { display: grid; gap: 14px; max-width: 560px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.form input, .form textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); }
.form textarea { min-height: 140px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; }
.ok-msg { color: var(--ok); font-weight: 600; }

/* Animaciones al hacer scroll */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}
.toast { position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 20px); z-index: 70; background: var(--text); color: #0b0b2a; font-weight: 700; padding: 12px 18px; border-radius: 999px; opacity: 0; transition: opacity .25s, transform .25s var(--ease); pointer-events: none; font-size: .92rem; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Selector de oferta (1 o 2 unidades) */
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.offer { position: relative; display: grid; gap: 2px; text-align: left; padding: 16px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--glass); transition: border-color .2s, box-shadow .2s, transform .2s; }
.offer:hover { transform: translateY(-1px); }
.offer[aria-pressed="true"] { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 12px 30px rgba(239, 184, 16, .08); background: rgba(239, 184, 16, .05); }
.offer b { font-size: .95rem; }
.offer .op { font-family: var(--display); font-size: 1.45rem; font-weight: 800; }
.offer small { color: var(--muted); font-size: .8rem; }
.offer .flag { position: absolute; top: -11px; right: 10px; background: var(--ok); color: #04210f; font-size: .72rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; }
.pcard-body .two { font-size: .88rem; color: var(--muted); }
.pcard-body .two b { color: var(--gold-2); }
.proof { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); }
.proof b { color: var(--text); }
.tierhint { margin: 10px 0 0; padding: 12px 14px; border-radius: 12px; background: rgba(60, 207, 145, .08); border: 1px solid rgba(60, 207, 145, .3); font-size: .9rem; display: grid; gap: 8px; }
.tierhint b { color: var(--ok); }

/* Páginas comerciales (categoría, regalos…) */
.lhero { padding: 10px 0 30px; background: radial-gradient(900px 500px at 85% 0%, rgba(239, 184, 16, .1), transparent 60%), var(--bg); }
.lhero-grid { display: grid; gap: 30px; align-items: center; padding-top: 20px; }
@media (min-width: 960px) { .lhero-grid { grid-template-columns: 1.1fr 1fr; gap: 56px; } }
.lhero h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
.lhero-img { border-radius: var(--r); overflow: hidden; background: var(--photo); aspect-ratio: 4 / 3; border: 1px solid var(--line); }
.lhero-img img { width: 100%; height: 100%; object-fit: cover; }
.prose .grid-3 { margin: 28px 0; }

.prow .sep { color: var(--muted); font-size: .9rem; }
.prow .sep s, .price-chip span s { opacity: .8; }
