/* ═══════════════════════════════════════════════════════════
   TEKNÉ · Tienda online — diseño premium
   ═══════════════════════════════════════════════════════════ */
:root {
    --bg: #08121a;
    --bg-2: #0b1822;
    --panel: #0f1e29;
    --panel-2: #142735;
    --line: rgba(110,180,205, 0.11);
    --line-2: rgba(110,180,205, 0.2);
    --blue-1: #126f86;
    --blue-2: #0d5468;
    --blue-3: #0a3b4b;
    --teal: #126f86;
    --teal-2: #14809a;
    --teal-hi: #45a6c2;
    --teal-a: rgba(69,166,194, 0.12);
    --ink: #eef3f5;
    --ink-2: #a8b4be;
    --ink-3: #6b7783;
    --green: #25d366;
    --ff: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --ff-mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
    --gut: clamp(14px, 3.2vw, 40px);
    --maxw: 1440px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --hd: 128px;
    --r: 16px;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd) + 12px); }
body { font-family: var(--ff); background: radial-gradient(1100px 620px at 92% -8%, rgba(18,111,134,0.28), transparent 62%), radial-gradient(900px 560px at -12% 34%, rgba(18,111,134,0.14), transparent 60%), radial-gradient(1000px 700px at 110% 78%, rgba(13,84,104,0.22), transparent 60%), var(--bg); background-attachment: fixed; color: var(--ink); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: clip; max-width: 100vw; }
body.lock { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[data-ico] { display: inline-flex; }
[data-ico] svg { width: 1.15em; height: 1.15em; }
:focus-visible { outline: 2px solid var(--teal-hi); outline-offset: 2px; border-radius: 8px; }
[hidden] { display: none !important; }
::selection { background: var(--teal); color: #fff; }
.mono { font-family: var(--ff-mono); letter-spacing: 0.08em; }
.hl { background: linear-gradient(100deg, var(--teal-hi), #126f86 60%, #8fcde0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal-hi); }
.kicker::before { content: ''; width: 22px; height: 1px; background: currentColor; opacity: .7; }

/* ── Botones ── */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 0.92rem; border: 1px solid transparent; transition: background .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s; white-space: nowrap; overflow: hidden; isolation: isolate; }
.btn:active { transform: scale(0.98); }
.btn-lg { height: 54px; padding: 0 26px; font-size: 1rem; }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 12px 34px -14px rgba(69,166,194,0.7); }
.btn-primary::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn-primary:hover { background: var(--teal-2); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { border-color: var(--line-2); background: rgba(255,255,255,0.02); }
.btn-ghost:hover { border-color: var(--teal-hi); background: var(--teal-a); }
.btn-wa { background: var(--green); color: #052e14; }
.btn-wa:hover { background: #3be07a; }
.x { width: 38px; height: 38px; border-radius: 50%; color: var(--ink-2); font-size: 1rem; display: grid; place-items: center; transition: background .2s, color .2s, transform .3s var(--ease); flex: none; }
.x:hover { background: rgba(255,255,255,0.08); color: var(--ink); transform: rotate(90deg); }
.link { color: var(--teal-hi); font-weight: 600; font-size: 0.88rem; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.link:hover { text-decoration: underline; }

/* ── Anuncios ── */
.ann { height: 34px; overflow: hidden; background: linear-gradient(90deg, #0d2a33, #0b1a21 50%, #0d2a33); border-bottom: 1px solid var(--line); font-size: 12px; color: #cfe9f1; }
.ann-track { display: flex; width: max-content; height: 100%; align-items: center; animation: slide 38s linear infinite; }
.ann-track span { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; white-space: nowrap; letter-spacing: .02em; }
.ann-track span::after { content: '✦'; color: var(--teal-hi); font-size: 10px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ── Header ── */
.hd { position: sticky; top: 0; z-index: 60; background: rgba(7, 9, 12, 0.88); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.hd.scrolled { box-shadow: 0 14px 40px -24px rgba(0,0,0,0.9); }
.hd-in { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 20px); padding: 12px var(--gut); max-width: var(--maxw); margin: 0 auto; }
.brand img { height: 30px; width: auto; filter: brightness(0) invert(1); }
.mega-btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border-radius: 12px; font-weight: 600; font-size: 0.92rem; border: 1px solid var(--line-2); transition: border-color .2s, background .2s; flex: none; }
.mega-btn:hover, .mega-btn[aria-expanded="true"] { border-color: var(--teal-hi); background: var(--teal-a); }
.burger-ico { display: grid; gap: 4px; width: 16px; }
.burger-ico i { display: block; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.mega-btn[aria-expanded="true"] .burger-ico i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.mega-btn[aria-expanded="true"] .burger-ico i:nth-child(2) { opacity: 0; }
.mega-btn[aria-expanded="true"] .burger-ico i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.search { flex: 1; position: relative; display: flex; align-items: center; max-width: 760px; }
.search > svg { position: absolute; left: 16px; width: 19px; height: 19px; color: var(--ink-3); pointer-events: none; }
.search input { width: 100%; height: 48px; padding: 0 92px 0 46px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--panel); outline: none; font-size: 0.98rem; transition: border-color .2s, box-shadow .2s, background .2s; }
.search input:focus { border-color: var(--teal-hi); box-shadow: 0 0 0 4px rgba(69,166,194,0.14); background: #0e141a; }
.search input::-webkit-search-cancel-button { display: none; }
.search .clear { position: absolute; right: 52px; width: 30px; height: 30px; border-radius: 50%; color: var(--ink-3); }
.search .clear:hover { background: rgba(255,255,255,0.08); color: var(--ink); }
.search .go { position: absolute; right: 6px; width: 38px; height: 38px; border-radius: 10px; background: var(--teal); color: #fff; display: grid; place-items: center; transition: background .2s; }
.search .go:hover { background: var(--teal-2); }
.search .go svg { width: 18px; height: 18px; }
.hd-wa { display: inline-flex; align-items: center; gap: 10px; padding: 0 6px; color: var(--ink-2); transition: color .2s; flex: none; }
.hd-wa:hover { color: var(--ink); }
.hd-wa-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(37,211,102,0.12); color: var(--green); }
.hd-wa-ico svg { width: 21px; height: 21px; }
.hd-wa-txt { display: flex; flex-direction: column; font-weight: 700; font-size: 0.9rem; line-height: 1.15; }
.hd-wa-txt small, .cart-txt small { font-weight: 400; font-size: 0.72rem; color: var(--ink-3); }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px 0 12px; border-radius: 14px; border: 1px solid var(--line-2); transition: border-color .2s, background .2s; flex: none; }
.cart-btn:hover { border-color: var(--teal-hi); background: var(--teal-a); }
.cart-ico svg { width: 23px; height: 23px; }
.cart-txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.cart-txt b { font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.cart-count { position: absolute; top: -7px; left: 26px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--teal-hi); color: #04161c; font-size: 12px; display: grid; place-items: center; box-shadow: 0 0 0 3px var(--bg); }
.cart-btn.bump { animation: bump .5s var(--ease); }
.cart-btn.bump .cart-count { animation: pop .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.08); } 60% { transform: scale(0.97); } }
@keyframes pop { 40% { transform: scale(1.5); } }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 0 var(--gut) 12px; max-width: var(--maxw); margin: 0 auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 999px; font-size: 0.86rem; font-weight: 500; border: 1px solid var(--line-2); color: var(--ink-2); white-space: nowrap; transition: border-color .2s, color .2s, background .2s; }
.chip svg { width: 15px; height: 15px; opacity: .85; }
.chip:hover { color: var(--ink); border-color: var(--teal); }
.chip.on { background: var(--teal); border-color: var(--teal); color: #fff; }
.chip small { font-family: var(--ff-mono); font-size: 10.5px; opacity: .7; }

/* ── Mega menú ── */
.mega { position: fixed; left: 0; right: 0; top: var(--mega-top, 128px); z-index: 58; background: rgba(9, 12, 16, 0.985); border-bottom: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(0,0,0,0.9); max-height: calc(100vh - var(--mega-top, 128px)); overflow-y: auto; animation: dropIn .35s var(--ease); }
@keyframes dropIn { from { opacity: 0; transform: translateY(-10px); } }
.mega-in { max-width: var(--maxw); margin: 0 auto; padding: 26px var(--gut) 34px; columns: 4 240px; column-gap: 34px; }
.mega-cat { break-inside: avoid; margin-bottom: 22px; }
.mega-cat > a { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.98rem; margin-bottom: 8px; }
.mega-cat > a span[data-ico] { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--teal-a); color: var(--teal-hi); }
.mega-cat > a:hover { color: var(--teal-hi); }
.mega-cat ul { list-style: none; display: grid; gap: 2px; padding-left: 40px; }
.mega-cat li a { font-size: 0.88rem; color: var(--ink-2); display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; }
.mega-cat li a:hover { color: var(--ink); }
.mega-cat li small { font-family: var(--ff-mono); font-size: 10.5px; color: var(--ink-3); }

/* ── Sugerencias de búsqueda ── */
.sugg { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 70; background: #0e1419; border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 30px 70px -20px rgba(0,0,0,0.9); animation: dropIn .25s var(--ease); max-height: min(72vh, 640px); overflow-y: auto; }
.sg-sec { padding: 10px 8px; border-bottom: 1px solid var(--line); }
.sg-sec:last-child { border-bottom: 0; }
.sg-sec > small { display: block; padding: 2px 10px 6px; font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.sg-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 10px; border-radius: 10px; text-align: left; transition: background .15s; }
.sg-item:hover, .sg-item.act { background: var(--teal-a); }
.sg-item .th { width: 44px; height: 44px; border-radius: 9px; background: #fff; flex: none; overflow: hidden; }
.sg-item .th img { width: 100%; height: 100%; object-fit: contain; }
.sg-item .tx { flex: 1; min-width: 0; }
.sg-item .tx b { display: block; font-weight: 500; font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-item .tx small { color: var(--ink-3); font-size: 0.78rem; }
.sg-item .pr { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sg-item mark { background: none; color: var(--teal-hi); }
.sg-pills { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 8px 4px; }
.sg-pill { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 0.84rem; color: var(--ink-2); }
.sg-pill:hover, .sg-pill.act { border-color: var(--teal-hi); color: var(--ink); background: var(--teal-a); }
.sg-all { display: flex; justify-content: center; align-items: center; gap: 8px; width: 100%; padding: 13px; font-weight: 700; color: var(--teal-hi); background: rgba(69,166,194,0.05); }
.sg-all:hover, .sg-all.act { background: var(--teal-a); }
.sg-empty { padding: 22px; text-align: center; color: var(--ink-3); font-size: 0.9rem; }

/* ── Hero ── */
.hero { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
#circuit { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: .9; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 60% 70% at 25% 50%, rgba(7,9,12,0.92), rgba(7,9,12,0.55) 60%, rgba(7,9,12,0.25)), linear-gradient(180deg, transparent 70%, var(--bg)); }
.hero-in { max-width: var(--maxw); margin: 0 auto; padding: clamp(40px, 7vw, 96px) var(--gut) clamp(40px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 60px); align-items: center; min-height: min(78vh, 760px); }
.hero-copy { position: relative; }
.hero-title { font-size: clamp(2.2rem, 4.5vw, 4.2rem); font-weight: 850; font-stretch: 110%; line-height: 0.98; letter-spacing: -0.035em; margin: 18px 0 20px; }
.hero-title .ln { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero-title .ln > span { display: inline-block; transform: translateY(105%); animation: lnUp 1.1s var(--ease) forwards; }
.hero-title .ln:nth-child(2) > span { animation-delay: .1s; }
.hero-title .ln:nth-child(3) > span { animation-delay: .2s; }
@keyframes lnUp { to { transform: none; } }
.hero-sub { font-size: clamp(1rem, 1.4vw, 1.18rem); color: var(--ink-2); max-width: 46ch; }
.hero-sub b { color: var(--ink); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-stats { display: flex; gap: clamp(20px, 3vw, 44px); margin-top: 38px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-stats b { display: block; font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 800; font-stretch: 108%; font-variant-numeric: tabular-nums; }
.hero-stats small { font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }

.stage { position: relative; aspect-ratio: 1; width: min(100%, 560px); justify-self: center; perspective: 1200px; }
.orbit { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1px dashed rgba(69,166,194,0.22); pointer-events: none; }
.o1 { width: 100%; height: 100%; animation: spin 60s linear infinite; }
.o2 { width: 72%; height: 72%; border-style: solid; border-color: rgba(69,166,194,0.12); animation: spin 40s linear infinite reverse; }
.o3 { width: 42%; height: 42%; background: radial-gradient(circle, rgba(69,166,194,0.22), transparent 70%); border: 0; filter: blur(6px); animation: breathe 5s ease-in-out infinite; }
.o1::after { content: ''; position: absolute; top: 50%; left: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--teal-hi); box-shadow: 0 0 16px var(--teal-hi); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: scale(1.15); opacity: .7; } }
.stage-items { position: absolute; inset: 0; transform: rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); transform-style: preserve-3d; transition: transform .6s var(--ease); }
.s-item { position: absolute; width: 30%; aspect-ratio: 1; border-radius: 24px; background: #fff; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.8); display: grid; place-items: center; overflow: hidden; cursor: pointer; opacity: 0; animation: sIn 1s var(--ease) forwards, float 6s ease-in-out infinite; transition: box-shadow .3s, outline-color .3s; outline: 2px solid transparent; outline-offset: 4px; }
.s-item img { width: 88%; height: 88%; object-fit: contain; }
.s-item.on { outline-color: var(--teal-hi); box-shadow: 0 30px 70px -18px rgba(69,166,194,0.55); }
.s-item:nth-child(1) { left: 35%; top: 4%; width: 34%; animation-delay: .2s, 0s; }
.s-item:nth-child(2) { left: 2%; top: 30%; animation-delay: .35s, -1.2s; }
.s-item:nth-child(3) { right: 2%; top: 26%; animation-delay: .5s, -2.4s; }
.s-item:nth-child(4) { left: 14%; bottom: 6%; width: 26%; animation-delay: .65s, -3.6s; }
.s-item:nth-child(5) { right: 14%; bottom: 3%; width: 27%; animation-delay: .8s, -4.8s; }
@keyframes sIn { from { opacity: 0; transform: translateY(40px) scale(0.8); } to { opacity: 1; transform: none; } }
@keyframes float { 50% { translate: 0 -12px; } }
.stage-card { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); width: min(78%, 300px); padding: 14px 16px; border-radius: 16px; background: rgba(12, 17, 22, 0.84); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-2); box-shadow: 0 30px 60px -20px rgba(0,0,0,0.9); cursor: pointer; transition: transform .4s var(--ease); }
.stage-card:hover { transform: translate(-50%, -52%); }
.stage-card small { font-family: var(--ff-mono); font-size: 10px; letter-spacing: .16em; color: var(--teal-hi); text-transform: uppercase; }
.stage-card b { display: -webkit-box; font-size: 0.95rem; line-height: 1.3; margin: 6px 0 8px; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.stage-card .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.stage-card .pr { font-weight: 800; font-size: 1.2rem; }
.stage-card .mini { font-size: 0.8rem; color: var(--teal-hi); font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.stage-card.swap { animation: swap .5s var(--ease); }
@keyframes swap { from { opacity: 0; } }

/* ── Ventajas ── */
.perks { max-width: var(--maxw); margin: 0 auto; padding: 22px var(--gut) 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.perk { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease); }
.perk:hover { border-color: rgba(69,166,194,0.35); transform: translateY(-2px); }
.perk > span[data-ico] { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-a); color: var(--teal-hi); flex: none; }
.perk > span svg { width: 22px; height: 22px; }
.perk b { display: block; font-size: 0.95rem; }
.perk small { color: var(--ink-3); font-size: 0.82rem; }

/* ── Secciones ── */
.sec { max-width: var(--maxw); margin: 0 auto; padding: clamp(48px, 7vw, 90px) var(--gut) 0; }
.sec-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.sec-head h2, .ink-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); font-weight: 800; font-stretch: 106%; letter-spacing: -0.025em; line-height: 1.05; }

/* Categorías */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 228px), 1fr)); gap: 14px; }
.cat-tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 236px; padding: 18px; border-radius: 20px; overflow: hidden; isolation: isolate; background: linear-gradient(160deg, #141b23, #0d1217); border: 1px solid var(--line); transition: border-color .35s, transform .45s var(--ease), box-shadow .35s; text-align: left; }
.cat-tile::before { content: ''; position: absolute; width: 70%; aspect-ratio: 1; right: -12%; bottom: -18%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(69,166,194,0.22), transparent 70%); transition: transform .6s var(--ease); }
.cat-tile:hover { border-color: rgba(69,166,194,0.45); transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(69,166,194,0.45); }
.cat-tile:hover::before { transform: scale(1.3); }
.cat-tile .ci-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.cat-tile h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.2; max-width: 15ch; }
.cat-tile small { font-family: var(--ff-mono); font-size: 10.5px; color: var(--ink-3); letter-spacing: .08em; }
.cat-tile .arr { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .3s, transform .4s var(--ease), border-color .3s; flex: none; }
.cat-tile:hover .arr { background: var(--teal); border-color: var(--teal); transform: rotate(-45deg); }
.cat-tile .arr svg { width: 16px; height: 16px; }
.cat-imgs { position: relative; height: 120px; margin-top: 10px; }
.cat-imgs span { position: absolute; bottom: 0; width: 46%; aspect-ratio: 1; border-radius: 16px; background: #fff; display: grid; place-items: center; overflow: hidden; box-shadow: 0 14px 30px -14px rgba(0,0,0,0.8); transition: transform .55s var(--ease); }
.cat-imgs span img { width: 86%; height: 86%; object-fit: contain; }
.cat-imgs span:nth-child(1) { right: 4%; z-index: 2; }
.cat-imgs span:nth-child(2) { right: 34%; bottom: 10px; width: 38%; transform: rotate(-8deg); }
.cat-tile:hover .cat-imgs span:nth-child(1) { transform: translateY(-8px) rotate(4deg) scale(1.04); }
.cat-tile:hover .cat-imgs span:nth-child(2) { transform: translateX(-10px) rotate(-14deg); }
.cat-tile .cat-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-a); color: var(--teal-hi); margin-bottom: 10px; }
.cat-tile .cat-ico svg { width: 20px; height: 20px; }

/* Insumos */
.ink { padding-top: clamp(56px, 8vw, 100px); scroll-margin-top: var(--hd); }
.ink-in { position: relative; border-radius: 28px; overflow: hidden; isolation: isolate; padding: clamp(20px, 4vw, 48px); background: radial-gradient(ellipse 60% 80% at 100% 0%, rgba(18,111,134,0.35), transparent 60%), radial-gradient(ellipse 50% 60% at 0% 100%, rgba(69,166,194,0.12), transparent 60%), linear-gradient(180deg, #0f171d, #0a0f13); border: 1px solid rgba(69,166,194,0.22); }
.ink-in::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .35; background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 34px 34px; mask-image: radial-gradient(ellipse at 70% 30%, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000, transparent 70%); }
.ink-head { max-width: 680px; margin-bottom: 24px; }
.ink-head h2 { margin: 12px 0 10px; }
.ink-head p { color: var(--ink-2); }
.ink-box { display: grid; gap: 14px; }
.ink-brands { display: flex; flex-wrap: wrap; gap: 8px; }
.ink-brand { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,0.03); font-weight: 700; transition: all .25s var(--ease); }
.ink-brand small { font-family: var(--ff-mono); font-weight: 400; font-size: 10.5px; color: var(--ink-3); }
.ink-brand:hover { border-color: var(--teal-hi); transform: translateY(-2px); }
.ink-brand.on { background: var(--teal-hi); border-color: var(--teal-hi); color: #04161c; }
.ink-brand.on small { color: #0a3a47; }
.ink-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ink-types { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(0,0,0,0.35); border: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.ink-types button { flex: none; padding: 8px 14px; border-radius: 9px; font-size: 0.86rem; font-weight: 600; color: var(--ink-2); transition: background .2s, color .2s; }
.ink-types button.on { background: var(--teal); color: #fff; }
.ink-q { flex: 1; min-width: 240px; position: relative; display: flex; align-items: center; }
.ink-q > span { position: absolute; left: 14px; color: var(--ink-3); }
.ink-q input { width: 100%; height: 48px; padding: 0 14px 0 42px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0,0,0,0.35); outline: none; font-size: 0.98rem; }
.ink-q input:focus { border-color: var(--teal-hi); box-shadow: 0 0 0 4px rgba(69,166,194,0.14); }
.ink-res { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 12px; min-height: 120px; }
.ink-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--ink-2); font-size: 0.9rem; }

/* Carruseles */
.rail { max-width: var(--maxw); margin: 0 auto; padding: clamp(48px, 6vw, 80px) var(--gut) 0; }
.rail-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.rail-head h2 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); font-weight: 800; font-stretch: 106%; letter-spacing: -0.02em; }
.rail-head .r { display: flex; align-items: center; gap: 8px; flex: none; }
.rail-nav { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .2s, border-color .2s, opacity .2s; }
.rail-nav:hover { border-color: var(--teal-hi); background: var(--teal-a); }
.rail-nav:disabled { opacity: .3; pointer-events: none; }
.rail-nav svg { width: 18px; height: 18px; }
.rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 232px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 18px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.15) transparent; }
.rail-track > * { scroll-snap-align: start; }

/* Marcas */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: slide 55s linear infinite; padding: 4px 0; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.brand-pill { flex: none; height: 64px; padding: 0 28px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); display: grid; place-items: center; font-weight: 800; font-stretch: 112%; font-size: 1.1rem; color: var(--ink-2); transition: color .25s, border-color .25s, background .25s; }
.brand-pill:hover { color: var(--ink); border-color: var(--teal-hi); background: var(--teal-a); }

/* Cómo comprar */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.steps li { position: relative; padding: 22px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.steps li b { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--teal-a); color: var(--teal-hi); font-family: var(--ff-mono); font-size: 0.85rem; margin-bottom: 14px; }
.steps li h3 { font-size: 1.05rem; margin-bottom: 6px; }
.steps li p { color: var(--ink-2); font-size: 0.9rem; }
.steps li:not(:last-child)::after { content: ''; position: absolute; top: 42px; right: -14px; width: 14px; height: 1px; background: linear-gradient(90deg, var(--teal-hi), transparent); }

/* ── Catálogo ── */
.catalog { max-width: var(--maxw); margin: 0 auto; padding: clamp(48px, 6vw, 80px) 0 70px; scroll-margin-top: var(--hd); }
body.filtered .catalog { padding-top: 18px; }
.cat-banner { padding: 0 var(--gut); margin-bottom: 18px; }
.cb { position: relative; overflow: hidden; isolation: isolate; border-radius: 22px; padding: clamp(20px, 3vw, 34px); background: radial-gradient(ellipse 50% 90% at 100% 0%, rgba(18,111,134,0.32), transparent 60%), linear-gradient(180deg, #11181f, #0c1116); border: 1px solid var(--line); animation: fadeUp .5s var(--ease); }
.cb h1 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); font-weight: 800; font-stretch: 106%; letter-spacing: -0.025em; line-height: 1.05; margin: 8px 0 4px; max-width: 70%; }
.cb p { color: var(--ink-2); max-width: 60ch; }
.cb-subs { display: flex; gap: 8px; overflow-x: auto; margin-top: 18px; padding-bottom: 4px; scrollbar-width: none; }
.cb-subs::-webkit-scrollbar { display: none; }
.cb-subs button { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0,0,0,0.25); font-size: 0.88rem; font-weight: 600; color: var(--ink-2); transition: all .2s; }
.cb-subs button small { font-family: var(--ff-mono); font-weight: 400; font-size: 10.5px; opacity: .7; }
.cb-subs button:hover { color: var(--ink); border-color: var(--teal-hi); }
.cb-subs button.on { background: var(--teal); border-color: var(--teal); color: #fff; }
.cb-imgs { position: absolute; right: 2%; top: 22px; display: flex; gap: 10px; z-index: -1; opacity: .95; }
.cb-imgs span { width: 88px; aspect-ratio: 1; border-radius: 16px; background: #fff; display: grid; place-items: center; box-shadow: 0 20px 40px -18px rgba(0,0,0,0.8); animation: float 6s ease-in-out infinite; }
.cb-imgs span:nth-child(2) { animation-delay: -2s; margin-top: 14px; }
.cb-imgs span:nth-child(3) { animation-delay: -4s; }
.cb-imgs img { width: 86%; height: 86%; object-fit: contain; }
.wrap { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(16px, 2.4vw, 30px); padding: 0 var(--gut); align-items: start; }
.side { position: sticky; top: calc(var(--hd) + 10px); max-height: calc(100vh - var(--hd) - 24px); overflow: auto; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); scrollbar-width: thin; }
.side-head, .side-foot { display: none; }
.f { padding: 15px 16px; border-bottom: 1px solid var(--line); }
.f:last-child { border-bottom: 0; }
.f h3 { font-size: 0.72rem; font-family: var(--ff-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; margin-bottom: 10px; }
.opt { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 4px; border-radius: 8px; font-size: 0.92rem; color: var(--ink-2); text-align: left; cursor: pointer; transition: color .15s, background .15s; }
.opt:hover { color: var(--ink); background: rgba(255,255,255,0.03); }
.opt input { accent-color: var(--teal-hi); width: 16px; height: 16px; flex: none; }
.opt span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.opt small { font-family: var(--ff-mono); font-size: 11px; color: var(--ink-3); }
.opt.on { color: var(--teal-hi); font-weight: 600; }
.scroll { max-height: 236px; overflow: auto; scrollbar-width: thin; }
.price-in { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.price-in input, .brand-find { width: 100%; height: 40px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg); outline: none; font-size: 0.9rem; }
.price-in input:focus, .brand-find:focus { border-color: var(--teal-hi); }
.brand-find { margin-bottom: 8px; }
.ranges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ranges button { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 0.78rem; color: var(--ink-2); }
.ranges button:hover, .ranges button.on { border-color: var(--teal-hi); color: var(--ink); background: var(--teal-a); }

.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.crumb { font-size: 0.95rem; color: var(--ink-2); }
.crumb b { color: var(--ink); font-size: 1.25rem; font-weight: 800; }
.crumb small { color: var(--ink-3); margin-left: 6px; font-variant-numeric: tabular-nums; }
.bar-r { display: flex; align-items: center; gap: 8px; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--ink-3); }
.sort select { height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel); color: var(--ink); outline: none; }
.filter-btn { display: none; position: relative; height: 40px; }
.filter-btn b { position: absolute; top: -6px; right: -4px; min-width: 20px; height: 20px; border-radius: 999px; background: var(--teal-hi); color: #04161c; font-size: 11px; display: grid; place-items: center; }
.active { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.active:empty { display: none; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 999px; background: rgba(69,166,194,0.12); color: var(--teal-hi); font-size: 0.82rem; transition: background .2s; }
.tag:hover { background: rgba(69,166,194,0.24); }

/* ── Tarjeta de producto ── */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 214px), 1fr)); gap: 14px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .3s, transform .4s var(--ease), box-shadow .4s; }
.grid .card { content-visibility: auto; contain-intrinsic-size: 380px; }
.card.in-anim { animation: cardIn .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px); } }
.card:hover { border-color: rgba(69,166,194,0.45); transform: translateY(-4px); box-shadow: 0 24px 46px -26px rgba(69,166,194,0.5); }
.card .im { position: relative; aspect-ratio: 1; background: #fff; display: grid; place-items: center; cursor: pointer; overflow: hidden; }
.card .im img { width: 100%; height: 100%; object-fit: contain; padding: 7%; transition: transform .6s var(--ease); }
.card:hover .im img { transform: scale(1.06); }
.card .qv { position: absolute; left: 10px; right: 10px; bottom: 10px; height: 36px; border-radius: 10px; background: rgba(7,9,12,0.88); color: #fff; font-size: 0.82rem; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 7px; opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .35s var(--ease); }
.card:hover .qv { opacity: 1; transform: none; }
.badge { position: absolute; left: 10px; top: 10px; z-index: 1; padding: 4px 8px; border-radius: 6px; font-family: var(--ff-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; background: var(--teal); color: #fff; }
.badge.in-cart { left: auto; right: 10px; background: #0c1116; color: var(--teal-hi); border: 1px solid rgba(69,166,194,0.4); }
.card .bd { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; flex: 1; }
.card .br { font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-hi); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card h3 { font-size: 0.9rem; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; flex: 1; min-height: 3.6em; }
.card h3:hover { color: var(--teal-hi); }
.card .pr { font-size: 1.32rem; font-weight: 800; font-stretch: 106%; margin-top: 6px; font-variant-numeric: tabular-nums; }
.card .pr small { display: block; font-size: 0.66rem; font-weight: 400; font-family: var(--ff-mono); color: var(--ink-3); letter-spacing: 0.04em; }
.add { width: 100%; margin-top: 10px; height: 42px; border-radius: 11px; background: var(--teal); color: #fff; font-weight: 700; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; gap: 8px; transition: background .2s, transform .2s; }
.add:hover { background: var(--teal-2); }
.add:active { transform: scale(0.97); }
.add svg { width: 17px; height: 17px; }
.stepper { width: 100%; margin-top: 10px; height: 42px; display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; border: 1px solid var(--teal-hi); border-radius: 11px; overflow: hidden; background: rgba(69,166,194,0.06); animation: fadeUp .3s var(--ease); }
.stepper button { height: 100%; font-size: 1.25rem; color: var(--teal-hi); transition: background .15s; }
.stepper button:hover { background: rgba(69,166,194,0.15); }
.stepper b { text-align: center; font-variant-numeric: tabular-nums; line-height: 1.1; }
.stepper b small { display: block; font-size: 0.62rem; font-weight: 400; color: var(--ink-3); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }
.card.mini .bd { padding: 10px 12px 12px; }
.card.mini h3 { font-size: 0.84rem; -webkit-line-clamp: 2; line-clamp: 2; min-height: 2.4em; }
.card.mini .pr { font-size: 1.1rem; }
.card.mini .add, .card.mini .stepper { height: 38px; }

.skel { border-radius: var(--r); background: linear-gradient(100deg, var(--panel) 30%, #19212a 50%, var(--panel) 70%); background-size: 300% 100%; animation: shimmer 1.4s linear infinite; aspect-ratio: 0.62; border: 1px solid var(--line); }
@keyframes shimmer { to { background-position: -150% 0; } }
.more { text-align: center; margin: 26px 0 8px; }
.more small { display: block; color: var(--ink-3); font-size: 0.8rem; margin-top: 10px; }
.empty { grid-column: 1 / -1; text-align: center; padding: 60px 16px; color: var(--ink-2); border: 1px dashed var(--line-2); border-radius: var(--r); }
.empty h3 { color: var(--ink); font-size: 1.2rem; margin-bottom: 6px; }
.empty .btn { margin: 16px 6px 0; }

/* ── Footer ── */
.ft { margin-top: 30px; border-top: 1px solid var(--line); background: var(--bg-2); }
.ft-in { max-width: var(--maxw); margin: 0 auto; padding: 46px var(--gut) 20px; display: grid; grid-template-columns: 1.1fr 2fr; gap: 40px; }
.ft-brand img { height: 34px; width: auto; filter: brightness(0) invert(1); }
.ft-brand p { color: var(--ink-2); margin: 14px 0 18px; max-width: 34ch; }
.ft-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ft-cols h4 { font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-hi); font-weight: 500; margin-bottom: 12px; }
.ft-cols a, .ft-cols button { display: block; color: var(--ink-2); font-size: 0.9rem; padding: 4px 0; text-align: left; }
.ft-cols a:hover, .ft-cols button:hover { color: var(--ink); }
.legal { max-width: var(--maxw); margin: 0 auto; padding: 18px var(--gut) calc(110px + env(safe-area-inset-bottom)); font-size: 0.76rem; color: var(--ink-3); border-top: 1px solid var(--line); }

/* ── Dock del pedido ── */
.dock { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 80; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 16px; border-radius: 999px; background: rgba(14, 20, 26, 0.93); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(69,166,194,0.35); box-shadow: 0 24px 60px -18px rgba(0,0,0,0.9); animation: dockIn .55s var(--ease); max-width: calc(100% - 24px); }
@keyframes dockIn { from { opacity: 0; translate: 0 30px; } }
.dock-ico { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-a); color: var(--teal-hi); flex: none; }
.dock-txt { display: flex; flex-direction: column; line-height: 1.2; text-align: left; min-width: 0; }
.dock-txt b { font-size: 0.9rem; white-space: nowrap; }
.dock-txt small { font-size: 0.75rem; color: var(--teal-hi); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }
.dock-total { font-weight: 800; font-size: 1.1rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dock-go { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; background: var(--teal); color: #fff; font-weight: 700; font-size: 0.9rem; white-space: nowrap; transition: background .2s; }
.dock:hover .dock-go { background: var(--teal-2); }
.dock.pulse { animation: dockPulse .6s var(--ease); }
@keyframes dockPulse { 40% { scale: 1.04; box-shadow: 0 24px 60px -18px rgba(69,166,194,0.6); } }

/* ── WhatsApp flotante ── */
.wa-float { position: fixed; right: clamp(14px, 2.2vw, 28px); bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 85; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; box-shadow: 0 14px 34px -10px rgba(37,211,102,0.7); transition: transform .35s var(--ease), bottom .35s var(--ease); }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float > span[data-ico] svg { width: 28px; height: 28px; }
.wa-float::before { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(37,211,102,0.5); animation: ring 2.6s var(--ease) infinite; }
@keyframes ring { from { transform: scale(0.85); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.wa-bubble { position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(10px, -50%); white-space: nowrap; padding: 10px 14px; border-radius: 14px; background: #fff; color: #0c1116; font-size: 0.86rem; box-shadow: 0 16px 40px -16px rgba(0,0,0,0.6); opacity: 0; pointer-events: none; transition: opacity .35s, transform .45s var(--ease); }
.wa-bubble::after { content: ''; position: absolute; right: -6px; top: 50%; width: 12px; height: 12px; background: #fff; transform: translateY(-50%) rotate(45deg); border-radius: 2px; }
.wa-float.show-bubble .wa-bubble, .wa-float:hover .wa-bubble { opacity: 1; transform: translate(0, -50%); }

/* ── Aviso al agregar ── */
.added { position: fixed; right: clamp(14px, 2vw, 28px); top: calc(var(--hd) + 8px); z-index: 90; width: min(380px, calc(100% - 28px)); border-radius: 18px; background: rgba(14, 20, 26, 0.97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(69,166,194,0.35); box-shadow: 0 30px 70px -20px rgba(0,0,0,0.95); overflow: hidden; animation: addedIn .45s var(--ease); }
.added.out { animation: addedOut .3s var(--ease) forwards; }
@keyframes addedIn { from { opacity: 0; transform: translateY(-14px) scale(0.97); } }
@keyframes addedOut { to { opacity: 0; transform: translateY(-10px) scale(0.98); } }
.ad-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 0.92rem; }
.ad-check { width: 26px; height: 26px; border-radius: 50%; background: var(--teal-hi); color: #04161c; display: grid; place-items: center; flex: none; }
.ad-check svg { width: 15px; height: 15px; stroke-width: 3; stroke-dasharray: 24; stroke-dashoffset: 24; animation: dash .5s .15s var(--ease) forwards; }
@keyframes dash { to { stroke-dashoffset: 0; } }
.ad-head .x { margin-left: auto; width: 30px; height: 30px; }
.ad-item { display: flex; gap: 12px; padding: 12px 14px; }
.ad-item .th { width: 58px; height: 58px; border-radius: 12px; background: #fff; flex: none; display: grid; place-items: center; overflow: hidden; }
.ad-item .th img { width: 90%; height: 90%; object-fit: contain; }
.ad-item b { display: -webkit-box; font-weight: 500; font-size: 0.88rem; line-height: 1.3; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ad-item small { color: var(--ink-3); font-size: 0.8rem; }
.ad-sum { margin: 0 14px; padding: 10px 12px; border-radius: 12px; background: rgba(69,166,194,0.07); display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 0.86rem; color: var(--ink-2); }
.ad-sum b { color: var(--ink); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.ad-msg { padding: 10px 14px 0; font-size: 0.84rem; color: var(--teal-hi); }
.ad-up { display: flex; align-items: center; gap: 10px; margin: 10px 14px 0; padding: 8px; border-radius: 12px; border: 1px dashed var(--line-2); }
.ad-up .th { width: 42px; height: 42px; border-radius: 9px; background: #fff; flex: none; overflow: hidden; display: grid; place-items: center; }
.ad-up .th img { width: 90%; height: 90%; object-fit: contain; }
.ad-up div { flex: 1; min-width: 0; font-size: 0.8rem; }
.ad-up div small { display: block; color: var(--ink-3); font-size: 0.72rem; }
.ad-up div span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ad-up button { width: 34px; height: 34px; border-radius: 10px; background: var(--teal-a); color: var(--teal-hi); font-size: 1.2rem; flex: none; }
.ad-up button:hover { background: var(--teal); color: #fff; }
.ad-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 14px 14px; }
.ad-actions .btn { height: 42px; font-size: 0.86rem; padding: 0 12px; }
.ad-bar { height: 3px; background: var(--teal-hi); transform-origin: left; animation: adBar 5.5s linear forwards; }
.added:hover .ad-bar { animation-play-state: paused; }
@keyframes adBar { to { transform: scaleX(0); } }

/* ── Carrito ── */
.scrim { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,0.62); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.cart { position: fixed; top: 0; right: 0; bottom: 0; z-index: 110; width: min(460px, 100%); display: flex; flex-direction: column; background: var(--panel); border-left: 1px solid var(--line-2); transform: translateX(105%); transition: transform .5s var(--ease); visibility: hidden; }
.cart.open { transform: none; visibility: visible; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cart-head h2 { font-size: 1.3rem; font-weight: 800; font-stretch: 106%; }
.cart-head small { color: var(--ink-3); font-size: 0.82rem; }
.cart-body { flex: 1; overflow-y: auto; padding: 6px 20px 14px; overscroll-behavior: contain; }
.cart-empty { text-align: center; color: var(--ink-3); padding: 60px 10px; }
.cart-empty > span[data-ico] { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-a); color: var(--teal-hi); }
.cart-empty > span svg { width: 28px; height: 28px; }
.cart-empty h3 { color: var(--ink); margin-bottom: 6px; }
.cart-empty .btn { margin-top: 18px; }
.ci { display: grid; grid-template-columns: 68px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); animation: fadeUp .35s var(--ease); }
.ci .th { width: 68px; height: 68px; border-radius: 12px; background: #fff; overflow: hidden; cursor: pointer; }
.ci .th img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.ci h4 { font-size: 0.88rem; font-weight: 500; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
.ci h4:hover { color: var(--teal-hi); }
.ci .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.ci .q { display: inline-grid; grid-template-columns: 32px 36px 32px; align-items: center; border: 1px solid var(--line-2); border-radius: 9px; overflow: hidden; height: 34px; text-align: center; }
.ci .q button { height: 100%; font-size: 1.1rem; color: var(--teal-hi); }
.ci .q button:hover { background: rgba(69,166,194,0.12); }
.ci .sub { font-weight: 800; font-variant-numeric: tabular-nums; }
.ci .unit { font-size: 0.75rem; color: var(--ink-3); }
.ci .rm { font-size: 0.78rem; color: var(--ink-3); }
.ci .rm:hover { color: #ff8a8a; }
.upsell { margin-top: 18px; }
.upsell h4 { font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; margin-bottom: 10px; }
.upsell-row { display: grid; grid-auto-flow: column; grid-auto-columns: 150px; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.cart-foot { padding: 14px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--panel-2); display: grid; gap: 10px; }
.cart-foot .tot { display: flex; justify-content: space-between; align-items: baseline; }
.cart-foot .tot span { color: var(--ink-2); }
.cart-foot .tot b { font-size: 1.7rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.cart-foot .note { font-size: 0.78rem; color: var(--ink-3); margin-top: -6px; }
.cart-foot input, .cart-foot textarea { width: 100%; padding: 11px 12px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--bg); outline: none; font-size: 0.92rem; }
.cart-foot input:focus, .cart-foot textarea:focus { border-color: var(--teal-hi); }
.cart-foot textarea { resize: none; height: 54px; }
.cart-foot .two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cart-foot .btn-wa { width: 100%; height: 54px; font-size: 1rem; }
.cart-foot .row2 { display: flex; justify-content: space-between; align-items: center; }
.cart-foot .row2 button { font-size: 0.82rem; color: var(--ink-3); }
.cart-foot .row2 button:hover { color: var(--ink); }

/* ── Modal producto ── */
.modal { position: fixed; inset: 0; z-index: 120; background: rgba(0,0,0,0.74); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); display: grid; place-items: start center; padding: clamp(12px, 4vh, 40px) 12px; overflow-y: auto; animation: fade .25s; }
.modal-box { position: relative; width: min(1080px, 100%); background: var(--panel); border: 1px solid var(--line-2); border-radius: 22px; overflow: hidden; animation: modalIn .45s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(0.98); } }
.modal-box > .x { position: absolute; top: 12px; right: 12px; z-index: 3; background: rgba(0,0,0,0.55); color: #fff; }
.pm { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.pm-img { position: relative; background: #fff; display: grid; place-items: center; min-height: 420px; overflow: hidden; cursor: zoom-in; }
.pm-img img { width: 100%; max-height: 560px; object-fit: contain; padding: 26px; transition: transform .25s ease-out; transform-origin: var(--zx, 50%) var(--zy, 50%); }
.pm-img.zoom img { transform: scale(1.9); }
.pm-info { padding: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pm-crumb { font-size: 0.8rem; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pm-crumb button { color: var(--ink-2); font-size: 0.8rem; }
.pm-crumb button:hover { color: var(--teal-hi); }
.pm-info .br { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-hi); }
.pm-info h2 { font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.22; padding-right: 36px; font-weight: 750; }
.pm-code { font-family: var(--ff-mono); font-size: 11px; color: var(--ink-3); }
.pm-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pm-price b { font-size: clamp(2rem, 3.6vw, 2.6rem); font-weight: 850; font-stretch: 106%; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pm-price small { font-size: 0.8rem; color: var(--ink-3); }
.pm-buy { display: grid; grid-template-columns: minmax(130px, 160px) 1fr; gap: 10px; }
.pm-qty { display: grid; grid-template-columns: 46px 1fr 46px; align-items: center; height: 52px; border: 1px solid var(--line-2); border-radius: 11px; overflow: hidden; text-align: center; }
.pm-qty button { height: 100%; font-size: 1.25rem; color: var(--teal-hi); }
.pm-qty button:hover { background: var(--teal-a); }
.pm-qty b { font-variant-numeric: tabular-nums; }
.pm-buy .add { margin: 0; height: 52px; font-size: 1rem; }
.pm-incart { font-size: 0.84rem; color: var(--teal-hi); }
.pm-wa { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 11px; border: 1px solid rgba(37,211,102,0.4); color: var(--green); font-weight: 700; font-size: 0.9rem; transition: background .2s; }
.pm-wa:hover { background: rgba(37,211,102,0.08); }
.pm-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pm-trust div { display: flex; gap: 8px; align-items: center; font-size: 0.8rem; color: var(--ink-2); padding: 10px; border-radius: 11px; background: rgba(255,255,255,0.03); border: 1px solid var(--line); }
.pm-trust span[data-ico] { color: var(--teal-hi); }
.pm-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-top: 6px; overflow-x: auto; scrollbar-width: none; }
.pm-tabs button { flex: none; padding: 10px 12px; font-size: 0.88rem; font-weight: 600; color: var(--ink-3); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.pm-tabs button.on { color: var(--teal-hi); border-color: var(--teal-hi); }
.pm-pane { color: var(--ink-2); font-size: 0.93rem; animation: fadeUp .3s var(--ease); }
.pm-pane p { margin-bottom: 10px; }
.pm-pane .lead { color: var(--ink); font-size: 1rem; }
.pm-pane ul { list-style: none; display: grid; gap: 8px; }
.pm-pane li { position: relative; padding-left: 22px; }
.pm-pane li::before { content: ''; position: absolute; left: 2px; top: 8px; width: 8px; height: 8px; border-radius: 2px; background: var(--teal-hi); transform: rotate(45deg); }
.spec { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.spec tr:nth-child(odd) td { background: rgba(255,255,255,0.025); }
.spec td { padding: 8px 10px; vertical-align: top; }
.spec td:first-child { color: var(--ink-3); width: 40%; }
.spec td:last-child { color: var(--ink); overflow-wrap: anywhere; }
.pm-rel { padding: 22px clamp(20px, 3vw, 36px) 28px; border-top: 1px solid var(--line); background: var(--bg-2); }
.pm-rel h3 { font-size: 1.05rem; margin-bottom: 14px; }

.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 200; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: #eef3f5; color: #0a0f13; padding: 11px 16px; border-radius: 12px; font-weight: 600; font-size: 0.88rem; transition: transform .35s var(--ease), opacity .3s; max-width: calc(100% - 32px); display: flex; align-items: center; gap: 12px; box-shadow: 0 20px 50px -20px rgba(0,0,0,0.8); }
.toast.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.toast button { color: var(--teal); font-weight: 800; }

/* ── Revelado al scrollear ── */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.rv.in { opacity: 1; transform: none; }
.fly { position: fixed; z-index: 300; pointer-events: none; border-radius: 14px; background: #fff; box-shadow: 0 20px 40px -10px rgba(69,166,194,0.6); overflow: hidden; }
.fly img { width: 100%; height: 100%; object-fit: contain; }

/* ── Responsive ── */
@media (max-width: 1180px) {
    .hd-wa-txt { display: none; }
    .perks { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .steps li::after { display: none; }
}
@media (max-width: 980px) {
    .hero-in { grid-template-columns: 1fr; min-height: 0; }
    .stage { width: min(100%, 440px); order: -1; }
    .wrap { grid-template-columns: 1fr; }
    .filter-btn { display: inline-flex; }
    .sort span { display: none; }
    .side { position: fixed; inset: 0; z-index: 115; max-height: none; border-radius: 0; border: 0; display: flex; flex-direction: column; transform: translateY(100%); visibility: hidden; transition: transform .45s var(--ease); }
    .side.open { transform: none; visibility: visible; }
    .side-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
    .side-body { flex: 1; overflow-y: auto; }
    .side-foot { display: block; padding: 12px 18px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
    .side-foot .btn { width: 100%; }
    .pm { grid-template-columns: 1fr; }
    .pm-img { min-height: 0; }
    .pm-img img { max-height: 340px; }
    .ft-in { grid-template-columns: 1fr; }
    .cb-imgs { display: none; }
    .cb h1 { max-width: none; }
}
@media (max-width: 760px) {
    :root { --hd: 162px; }
    .ann { height: 30px; font-size: 11px; }
    .hd-in { flex-wrap: wrap; gap: 8px; padding: 10px var(--gut) 8px; }
    .brand { order: 1; margin-right: auto; }
    .brand img { height: 26px; }
    .mega-btn { order: 2; height: 42px; padding: 0 12px; }
    .mega-lbl { display: none; }
    .hd-wa { order: 3; padding: 0; }
    .hd-wa-ico { width: 42px; height: 42px; }
    .cart-btn { order: 4; height: 42px; padding: 0 10px; }
    .cart-txt { display: none; }
    .cart-count { left: auto; right: -6px; }
    .search { order: 5; flex: 1 0 100%; max-width: none; }
    .search input { height: 46px; font-size: 16px; }
    .mega-in { columns: 1; padding-top: 16px; }
    .hero-stats b { font-size: 1.4rem; }
    .perks { grid-template-columns: 1fr 1fr; gap: 8px; }
    .perk { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
    .perk small { display: none; }
    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .card .bd { padding: 10px 10px 12px; }
    .card h3 { font-size: 0.82rem; }
    .card .pr { font-size: 1.12rem; }
    .card .qv { display: none; }
    .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .cat-tile { min-height: 190px; padding: 14px; }
    .cat-tile h3 { font-size: 0.92rem; }
    .cat-imgs { height: 86px; }
    .cat-tile .arr { display: none; }
    .ink-res { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ink-q { min-width: 100%; }
    .steps { grid-template-columns: 1fr; }
    .ft-cols { grid-template-columns: 1fr 1fr; }
    .rail-track { grid-auto-columns: 46%; }
    .rail-nav { display: none; }
    .dock { left: 12px; right: 12px; transform: none; max-width: none; padding-left: 10px; gap: 10px; }
    .dock-txt small { max-width: 130px; }
    .dock-go { padding: 0 14px; }
    .dock-go > span { display: none; }
    .wa-float { width: 52px; height: 52px; }
    .wa-float.lift { bottom: calc(86px + env(safe-area-inset-bottom)); }
    .wa-bubble { display: none; }
    .added { top: auto; bottom: calc(84px + env(safe-area-inset-bottom)); right: 12px; left: 12px; width: auto; }
    .pm-trust { grid-template-columns: 1fr; }
    .pm-buy { grid-template-columns: 1fr 1.4fr; }
    .cart-foot .two { grid-template-columns: 1fr; }
}
@media (max-width: 380px) { .dock-txt small { display: none; } }
.more-data { border: 1px solid var(--line-2); border-radius: 11px; background: rgba(0,0,0,0.18); }
.more-data summary { cursor: pointer; padding: 11px 12px; font-size: 0.88rem; color: var(--ink-2); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.more-data summary::-webkit-details-marker { display: none; }
.more-data summary::after { content: '+'; font-size: 1.2rem; color: var(--teal-hi); }
.more-data[open] summary::after { content: '−'; }
.more-data summary small { color: var(--ink-3); }
.more-data[open] { padding-bottom: 10px; }
.more-data .two, .more-data textarea { margin: 0 10px; width: calc(100% - 20px); }
.more-data .two { margin-bottom: 8px; width: calc(100% - 20px); }
.more-data .two input { width: 100%; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
    .rv { opacity: 1; transform: none; }
    .hero-title .ln > span { transform: none; }
}

/* ═══════════════════════════════════════════════════════════
   Tema TEKNÉ: más azul, menos negro
   ═══════════════════════════════════════════════════════════ */
.ico-fill { fill: currentColor !important; stroke: none !important; }
.ann { background: linear-gradient(90deg, var(--blue-2), var(--blue-1) 50%, var(--blue-2)); color: #fff; border-bottom: 0; font-weight: 500; }
.ann-track span::after { color: #b9dbe6; }
.hd { background: rgba(9, 22, 31, 0.86); border-bottom-color: rgba(69,166,194,0.18); }
.hd::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(69,166,194,0.55), transparent); pointer-events: none; }
.search input { background: #0d1c27; }
.cart-btn, .mega-btn { background: rgba(18,111,134,0.08); }
.chip { background: rgba(18,111,134,0.06); }

.hero { border-bottom: 0; }
.hero::after { background: radial-gradient(ellipse 60% 70% at 25% 50%, rgba(8,18,26,0.9), rgba(8,18,26,0.5) 60%, rgba(8,18,26,0.15)), linear-gradient(180deg, transparent 70%, rgba(8,18,26,0.6)); }
.stage::before { content: ''; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(18,111,134,0.45), rgba(18,111,134,0.08) 55%, transparent 70%); filter: blur(10px); }
.hero-stats { border-top-color: rgba(69,166,194,0.25); }
.hero-stats b { color: #fff; text-shadow: 0 0 24px rgba(69,166,194,0.45); }

.perks { padding-top: 0; position: relative; z-index: 1; margin-top: -10px; }
.perk { background: linear-gradient(160deg, #13303f, #0f2230); border-color: rgba(69,166,194,0.22); }
.perk > span[data-ico] { background: var(--blue-1); color: #fff; box-shadow: 0 10px 24px -10px rgba(69,166,194,0.7); }

.cat-tile { background: linear-gradient(160deg, #163447 0%, #10222f 55%, #0d1b26 100%); border-color: rgba(69,166,194,0.16); }
.cat-tile::before { background: radial-gradient(circle, rgba(69,166,194,0.35), transparent 70%); }
.cat-tile .cat-ico { background: var(--blue-1); color: #fff; }

.ink-in { background: radial-gradient(ellipse 70% 90% at 100% 0%, rgba(69,166,194,0.35), transparent 60%), radial-gradient(ellipse 60% 70% at 0% 100%, rgba(18,111,134,0.4), transparent 60%), linear-gradient(135deg, #0d5468 0%, #0e4558 45%, #0b3241 100%); border-color: rgba(110,190,215,0.35); box-shadow: 0 40px 80px -40px rgba(18,111,134,0.6); }
.ink-head p { color: #c9dfe7; }
.ink-in .kicker { color: #b9dbe6; }
.ink-brand { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.22); color: #fff; }
.ink-brand small { color: #9fc9d8; }
.ink-brand.on { background: #fff; border-color: #fff; color: var(--blue-2); }
.ink-brand.on small { color: var(--blue-1); }
.ink-types { background: rgba(0,0,0,0.22); border-color: rgba(255,255,255,0.15); }
.ink-types button { color: #cfe3ea; }
.ink-types button.on { background: #fff; color: var(--blue-2); }
.ink-q input { background: rgba(0,0,0,0.28); border-color: rgba(255,255,255,0.25); }
.ink-foot { color: #cfe3ea; }
.ink-foot .btn-primary { background: #fff; color: var(--blue-2); }

.card { background: linear-gradient(180deg, #11212d, #0e1b25); border-color: rgba(69,166,194,0.13); }
.card::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--teal-hi), transparent); opacity: 0; transition: opacity .3s; }
.card:hover::after { opacity: 1; }
.card .pr { color: #fff; }

.rail-head h2::after { content: ''; display: block; width: 44px; height: 3px; margin-top: 10px; border-radius: 2px; background: linear-gradient(90deg, var(--teal-hi), var(--blue-1)); }
.brand-pill { background: linear-gradient(160deg, #13293a, #0f1f2b); border-color: rgba(69,166,194,0.16); }

.how { max-width: none; margin-top: clamp(48px, 7vw, 90px); padding: clamp(46px, 6vw, 80px) 0; background: linear-gradient(120deg, #0d5468 0%, #126f86 55%, #0f6479 100%); position: relative; overflow: hidden; }
.how::before { content: ''; position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,0.25) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.25) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(ellipse at 80% 20%, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000, transparent 70%); }
.how > * { position: relative; max-width: var(--maxw); margin-left: auto; margin-right: auto; padding-left: var(--gut); padding-right: var(--gut); }
.how .kicker { color: #d6ebf1; }
.how .sec-head h2 { color: #fff; }
.how .steps li { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.22); }
.how .steps li b { background: #fff; color: var(--blue-2); }
.how .steps li p { color: #dbecf1; }
.how .steps li:not(:last-child)::after { background: linear-gradient(90deg, #fff, transparent); }

.cb { background: radial-gradient(ellipse 55% 100% at 100% 0%, rgba(69,166,194,0.32), transparent 60%), linear-gradient(135deg, #17435a, #10293a 60%, #0e2130); border-color: rgba(69,166,194,0.25); }
.cb .kicker { color: #b9dbe6; }
.cb-subs button { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.18); color: #cfe3ea; }
.cb-subs button.on { background: #fff; color: var(--blue-2); border-color: #fff; }
.side { background: linear-gradient(180deg, #10212d, #0e1b25); }

.dock { background: linear-gradient(110deg, #0d5468, #126f86); border-color: rgba(150,210,230,0.45); box-shadow: 0 24px 60px -16px rgba(18,111,134,0.75); }
.dock-ico { background: rgba(255,255,255,0.18); color: #fff; }
.dock-txt small { color: #d3e8ef; }
.dock-go { background: #fff; color: var(--blue-2); }
.dock:hover .dock-go { background: #e3f2f7; }
.added { background: rgba(13, 30, 41, 0.97); }
.ad-sum { background: rgba(69,166,194,0.12); }
.cart { background: linear-gradient(180deg, #0f2230, #0d1b25); }
.cart-foot { background: #10263a; }
.modal-box { background: linear-gradient(180deg, #10212d, #0e1b25); }
.pm-rel { background: #0b1923; }
.ft { background: linear-gradient(180deg, #0d1f2b, #0a1720); border-top: 0; }
.ft::before { content: ''; display: block; height: 3px; background: linear-gradient(90deg, var(--blue-2), var(--teal-hi), var(--blue-2)); }
.legal { border-top-color: rgba(69,166,194,0.14); }

/* ═══════════════════════════════════════════════════════════
   Celular primero: la mayoría compra desde el teléfono
   ═══════════════════════════════════════════════════════════ */
.hd .chips { transition: max-height .35s var(--ease), padding .35s var(--ease), opacity .25s; max-height: 60px; }
@media (max-width: 760px) {
    :root { --hd: 150px; --gut: 14px; }
    .hd.compact .chips { max-height: 0; padding-bottom: 0; opacity: 0; pointer-events: none; }
    .hd-in { padding-top: 8px; }
    .brand img { height: 24px; }
    .mega-btn, .cart-btn, .hd-wa-ico { height: 40px; }
    .hd-wa-ico { width: 40px; }
    .search input { height: 44px; border-radius: 12px; padding-right: 84px; }
    .search .go { width: 34px; height: 34px; }
    .chips { padding-bottom: 10px; gap: 6px; }
    .chip { height: 34px; padding: 0 12px; font-size: 0.82rem; }
    .chip svg { display: none; }
    .chip[data-home] svg { display: inline; }

    .hero-in { padding: 22px var(--gut) 34px; gap: 18px; }
    .stage { order: 2; width: min(100%, 330px); margin: 0 auto; }
    .stage-card { width: min(84%, 260px); padding: 10px 12px; }
    .stage-card b { font-size: 0.86rem; }
    .hero-title { font-size: clamp(2rem, 9.4vw, 2.6rem); margin: 12px 0 14px; }
    .hero-sub { font-size: 0.98rem; }
    .hero-cta { margin-top: 20px; }
    .hero-cta .btn { flex: 1 1 100%; height: 50px; }
    .hero-stats { margin-top: 24px; padding-top: 16px; justify-content: space-between; }
    .hero-stats b { font-size: 1.35rem; }
    .hero-stats small { font-size: 9.5px; letter-spacing: .08em; }

    .perks { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin-top: 0; padding-top: 4px; scrollbar-width: none; }
    .perks::-webkit-scrollbar { display: none; }
    .perk { flex: 0 0 72%; scroll-snap-align: start; flex-direction: row; align-items: center; padding: 12px 14px; }
    .perk small { display: block; font-size: 0.76rem; }
    .perk > span[data-ico] { width: 38px; height: 38px; }

    .sec { padding-top: 40px; }
    .sec-head { margin-bottom: 16px; }
    .sec-head h2, .ink-head h2 { font-size: 1.6rem; }
    .cat-tile { min-height: 168px; padding: 12px; border-radius: 16px; }
    .cat-tile .cat-ico { width: 34px; height: 34px; border-radius: 10px; margin-bottom: 8px; }
    .cat-tile h3 { font-size: 0.88rem; }
    .cat-tile small { font-size: 9.5px; }
    .cat-imgs { height: 74px; margin-top: 6px; }
    .cat-imgs span { border-radius: 12px; }

    .ink { padding-top: 40px; }
    .ink-in { border-radius: 20px; padding: 18px 14px; }
    .ink-head { margin-bottom: 14px; }
    .ink-head p { font-size: 0.92rem; }
    .ink-brands { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -14px; padding: 0 14px 2px; }
    .ink-brands::-webkit-scrollbar { display: none; }
    .ink-brand { flex: none; height: 38px; padding: 0 13px; font-size: 0.86rem; }
    .ink-types { width: 100%; }
    .ink-q input { height: 46px; font-size: 16px; }
    .ink-res { gap: 8px; }
    .ink-foot { flex-direction: column; align-items: stretch; text-align: center; }
    .ink-foot .btn { width: 100%; }

    .rail { padding-top: 36px; }
    .rail-head { margin-bottom: 12px; }
    .rail-head h2 { font-size: 1.25rem; }
    .rail-track { grid-auto-columns: 44%; gap: 10px; margin: 0 calc(var(--gut) * -1); padding: 4px var(--gut) 14px; scroll-padding: 0 var(--gut); }
    .brand-pill { height: 52px; padding: 0 20px; font-size: 0.95rem; }
    .how { padding: 36px 0; }
    .how .steps li { padding: 16px; display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; }
    .how .steps li b { grid-row: span 2; margin: 0; }
    .how .steps li h3 { font-size: 1rem; margin-bottom: 2px; }

    .catalog { padding-top: 30px; }
    .cat-banner { margin-bottom: 12px; }
    .cb { border-radius: 16px; padding: 16px; }
    .cb h1 { font-size: 1.55rem; }
    .cb p { font-size: 0.9rem; }
    .cb-subs { margin: 12px -16px 0; padding: 0 16px 4px; }
    .bar { margin-bottom: 10px; }
    .crumb b { font-size: 1.05rem; }
    .grid { gap: 8px; }
    .card { border-radius: 14px; }
    .card .im img { padding: 6%; }
    .card .br { font-size: 9.5px; }
    .card h3 { font-size: 0.8rem; min-height: 3.2em; }
    .card .pr { font-size: 1.05rem; }
    .card .pr small { font-size: 0.6rem; }
    .add, .stepper { height: 40px; border-radius: 10px; font-size: 0.86rem; }
    .stepper { grid-template-columns: 38px 1fr 38px; }
    .stepper b small { display: none; }

    .modal { padding: 0; place-items: stretch; }
    .modal-box { border-radius: 0; border: 0; min-height: 100%; }
    .modal-box > .x { position: fixed; top: 10px; right: 10px; }
    .pm-img img { max-height: 300px; padding: 18px; }
    .pm-info { padding: 18px 16px 24px; gap: 10px; }
    .pm-info h2 { font-size: 1.2rem; padding-right: 0; }
    .pm-price b { font-size: 1.9rem; }
    .pm-buy { position: sticky; bottom: 0; z-index: 2; margin: 0 -16px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(14,30,41,0.97); border-top: 1px solid var(--line-2); grid-template-columns: 1fr 1.5fr; }
    .pm-rel { padding: 18px 16px 90px; }
    .pm-rel .rail-track { grid-auto-columns: 44%; margin: 0 -16px; padding: 4px 16px 14px; }

    .cart-head { padding: 14px 16px; }
    .cart-body { padding: 4px 16px 12px; }
    .cart-foot { padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); }
    .cart-foot .tot b { font-size: 1.45rem; }
    .cart-foot .two { grid-template-columns: 1fr 1fr; }
    .cart-foot textarea { height: 46px; }

    .dock { bottom: calc(10px + env(safe-area-inset-bottom)); left: 10px; right: 10px; padding: 6px 6px 6px 10px; }
    .dock-total { font-size: 1rem; }
    .dock-go { height: 42px; }
    .wa-float.lift { display: none; }  /* con la barra del pedido visible, WhatsApp queda en el encabezado */
    .added { bottom: calc(76px + env(safe-area-inset-bottom)); left: 10px; right: 10px; }
    .ad-up { display: none; }
    body.filtered .wa-float { display: none; }   /* en el catálogo, WhatsApp queda en el encabezado y no tapa el botón Agregar */
    .upsell-row { grid-auto-columns: 128px; }
    .upsell .card.mini .bd { padding: 8px 9px 10px; }
    .upsell .card.mini h3 { font-size: 0.74rem; }
    .upsell .card.mini .add { height: 34px; font-size: 0.78rem; }
    .cart-foot { gap: 8px; }
    .cart-foot .btn-wa { height: 50px; }
    .wa-float { width: 48px; height: 48px; right: 12px; }
    .wa-float > span[data-ico] svg { width: 24px; height: 24px; }
    .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
    .ft-in { padding-top: 32px; gap: 24px; }
}
@media (max-width: 360px) {
    .hero-stats small { font-size: 8.5px; }
    .card h3 { font-size: 0.76rem; }
    .dock-go { padding: 0 12px; font-size: 0.84rem; }
    .cart-foot .two { grid-template-columns: 1fr; }
}
@media (min-width: 761px) and (max-width: 1100px) {
    .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hero-title { font-size: clamp(2.4rem, 6vw, 3.6rem); }
}


/* ═══════════════════════════════════════════════════════════
   Celular — correcciones de la auditoría
   ═══════════════════════════════════════════════════════════ */
/* Ficha de producto: el alto lo define el contenido (antes quedaba cortado al alto de la pantalla) */
.modal { display: block; }
.modal-box { margin: 0 auto; overflow: hidden; }
@supports (overflow: clip) { .modal-box { overflow: clip; } }   /* clip no crea scroll propio: el botón fijo de compra funciona */
.toast { width: max-content; }
html.mega-open, html.mega-open body { overflow: hidden; }

@media (max-width: 760px) {
    /* encabezado: se oculta al bajar y reaparece al subir */
    .hd { transition: transform .35s var(--ease), box-shadow .3s; }
    .hd.hide { transform: translateY(-105%); }
    .hd .chips { max-height: none; opacity: 1; padding-bottom: 10px; }
    .brand { padding: 8px 6px 8px 0; margin: -8px 0; }

    /* menú de categorías: pantalla completa, opaco y con filas fáciles de tocar */
    .mega { position: fixed; top: var(--mega-top, 150px); left: 0; right: 0; bottom: 0; max-height: none; background: #0a1822; border: 0; z-index: 55; overscroll-behavior: contain; }
    .mega-in { padding: 8px var(--gut) 40px; }
    .mega-cat { margin-bottom: 4px; border-bottom: 1px solid var(--line); padding: 6px 0 10px; }
    .mega-cat > a { min-height: 48px; font-size: 1.02rem; margin-bottom: 0; }
    .mega-cat ul { padding-left: 0; gap: 0; grid-template-columns: 1fr 1fr; column-gap: 12px; }
    .mega-cat li a { min-height: 44px; align-items: center; font-size: 0.92rem; padding: 0 4px; border-radius: 8px; }
    .mega-cat li a:active { background: var(--teal-a); }

    /* portada: la vitrina de productos pasa a ser una tira deslizable (antes se superponía y quedaba cortada) */
    .stage { aspect-ratio: auto; width: 100%; perspective: none; order: 2; margin: 0; }
    .orbit, .stage::before, .stage-card { display: none; }
    .stage-items { position: static; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; padding: 4px var(--gut) 14px; margin: 0 calc(var(--gut) * -1); scrollbar-width: none; }
    .stage-items::-webkit-scrollbar { display: none; }
    .s-item { position: static !important; flex: 0 0 46%; width: auto !important; opacity: 1; animation: none !important; border-radius: 18px; scroll-snap-align: start; outline: 0; }
    .hero-in { padding-bottom: 24px; }

    /* tamaños mínimos para tocar con el dedo y para leer */
    .ft-cols a, .ft-cols button { display: flex; align-items: center; min-height: 44px; padding: 0; font-size: 0.95rem; }
    .link { min-height: 40px; }
    .search .clear { width: 38px; height: 38px; right: 46px; }
    .tag { height: 36px; padding: 0 13px; font-size: 0.86rem; }
    .stepper b { font-size: 0.95rem; }
    .ci .q { grid-template-columns: 38px 38px 38px; height: 38px; }
    .ci .rm { min-height: 36px; padding: 0 4px; }
    .opt { min-height: 44px; padding: 8px 4px; }
    .opt input { width: 20px; height: 20px; }
    .ranges button { min-height: 38px; padding: 0 12px; }
    .rail-nav { display: none; }
    .hero-stats small, .cat-tile small, .card .br, .sg-item .tx small, .stage-card small { font-size: 11px; }
    .card .pr small { font-size: 11px; }
    .cat-tile small { letter-spacing: .04em; }
    .kicker { font-size: 11px; }
    .perk b { font-size: 0.92rem; }
    .toast { bottom: calc(86px + env(safe-area-inset-bottom)); font-size: 0.9rem; }

    /* buscador: sugerencias a pantalla completa y cómodas */
    .sugg { position: fixed; left: 8px; right: 8px; top: auto; max-height: min(64vh, 520px); }
    .sg-item { min-height: 56px; }
    .sg-pill { min-height: 38px; display: inline-flex; align-items: center; }

    /* carrito y filtros cómodos con el pulgar */
    .cart { width: 100%; }
    .cart-head .x, .side-head .x { width: 44px; height: 44px; }
    .cart-foot .row2 button { min-height: 44px; padding: 0 4px; }
    .more-data summary { min-height: 48px; }
    .side-foot .btn { height: 52px; }

    /* ficha */
    .modal-box { min-height: 100vh; min-height: 100dvh; }
    .modal-box > .x { width: 44px; height: 44px; top: calc(8px + env(safe-area-inset-top)); right: 8px; background: rgba(8,18,26,0.78); }
    .pm-tabs button { min-height: 46px; padding: 0 14px; }
    .pm-buy { z-index: 5; }
    .pm-wa { height: 50px; }
    .pm-crumb button { min-height: 32px; }
    .pm-qty button { font-size: 1.4rem; }
}
/* teléfono horizontal o muy bajo */
@media (max-height: 520px) and (orientation: landscape) {
    .hd .chips { display: none; }
    .hero-in { min-height: 0; padding-top: 20px; }
    .cart { width: min(460px, 100%); }
    .modal-box { min-height: 0; }
}
@media (max-width: 340px) {
    .hd-in { gap: 6px; }
    .brand img { height: 22px; }
    .mega-cat ul { grid-template-columns: 1fr; }
    .hero-stats { gap: 10px; }
    .hero-stats b { font-size: 1.15rem; }
}

@media (max-width: 760px) {
    .ad-head .x { width: 40px; height: 40px; margin: -6px -6px -6px auto; }
    .toast button { min-height: 40px; padding: 0 8px; margin: -8px -4px -8px 0; }
    .added .ad-head { padding: 10px 14px; }
}

.mega { background: #0a1822; }
html.mega-open .wa-float, html.mega-open .dock { display: none; }

/* precios en una sola línea en cualquier ancho */
.card .pr, .ci .sub, .sg-item .pr, .stage-card .pr, .dock-total { white-space: nowrap; }
@media (max-width: 760px) {
    .ci .row { flex-wrap: wrap; row-gap: 6px; }
    .ci .sub { font-size: 0.98rem; }
    .wa-float { width: 46px; height: 46px; opacity: .94; right: 10px; }
    .wa-float > span[data-ico] svg { width: 22px; height: 22px; }
}
@media (max-width: 400px) {
    .card .pr { font-size: 1rem; }
    .card.mini .pr { font-size: 0.98rem; }
    .card .bd, .card.mini .bd { padding: 9px 9px 11px; }
    .ci { grid-template-columns: 60px 1fr; gap: 10px; }
    .ci .th { width: 60px; height: 60px; }
    .ci .q { grid-template-columns: 34px 34px 34px; }
    .rail-track { grid-auto-columns: 47%; }
    .hero-cta .btn { padding: 0 14px; font-size: 0.95rem; }
}

@media (max-width: 760px) {
    .sugg { position: absolute; left: 0; right: 0; top: calc(100% + 6px); max-height: min(62vh, 480px); }
}

/* Insumos: la cuadrícula no puede ser más ancha que el panel (antes cortaba las tarjetas a la derecha) */
.ink-box { grid-template-columns: minmax(0, 1fr); }
.ink-box > *, .ink-row > * { min-width: 0; }
.ink-in { min-width: 0; }
.ink-res { grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); }
.ink-res .card { min-width: 0; }
@media (max-width: 760px) {
    .ink-res { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ink-row { flex-direction: column; align-items: stretch; }
    .ink-types { width: 100%; }
    .ink-q { min-width: 0; width: 100%; flex: none; }
    .ink-brands, .ink-types { -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
    .ink-res .card .bd { padding: 9px 9px 11px; }
    .ink-res .card h3 { font-size: 0.78rem; }
}

/* ═══ Rendimiento ═══ */
.rail-track:empty { min-height: 330px; }
.rail, .brands-sec, .how, .ft { content-visibility: auto; contain-intrinsic-size: auto 420px; }
/* Modo liviano (equipos lentos): mismos efectos y animaciones, con los trucos más caros de dibujar simplificados */
html.lite .hd, html.lite .added, html.lite .dock, html.lite .stage-card, html.lite .scrim, html.lite .modal, html.lite .sugg { -webkit-backdrop-filter: none; backdrop-filter: none; }
html.lite .hd { background: #0a1923; }
html.lite .stage::before, html.lite .o3 { filter: none; }
html.lite .orbit.o1, html.lite .orbit.o2 { animation-duration: 120s; }
html.lite .card, html.lite .cat-tile, html.lite .perk { box-shadow: none !important; }
html.lite body { background-attachment: scroll; }
html.lite .s-item { animation-duration: 1s, 10s; }
html.lite .card:hover { transform: none; }
html.lite .rv { transition-duration: .5s; }
