
/* Java Office · espresso, marfil y naranja tostado. Serif editorial para titulares, sans geométrica para la interfaz. */
:root {
  --ink: #1b1714; --ink-2: #26201b; --ink-3: #3b3029;
  --brass: #d35a12; --brass-hi: #f08a3c; --brass-soft: rgba(211, 90, 18, 0.10); --on-brass: #ffffff;
  --bg: #f7f4ee; --surface: #fffdf9; --tile-a: #f1ebe1; --tile-b: #e7ddcf; --line: #e6ddcf;
  --text: #1d1a16; --muted: #70675c; --good: #2f7a4f; --warn: #a2600c;
  --on-ink: #f6f1e9; --on-ink-muted: rgba(246, 241, 233, 0.66);
  --stage: #ffffff;
  --shadow: 0 1px 2px rgba(40, 28, 16, .04), 0 10px 30px -12px rgba(40, 28, 16, .12);
  --shadow-lg: 0 2px 6px rgba(40, 28, 16, .05), 0 30px 60px -20px rgba(40, 28, 16, .28);
  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-serif: "Fraunces", Georgia, serif;
  --f-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --r: 22px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --ink: #0e0c0a; --ink-2: #1a1613; --ink-3: #2c241e; --brass: #f07a2c; --brass-hi: #ff9d57; --brass-soft: rgba(240, 122, 44, .13); --on-brass: #1a0d03;
  --bg: #13110f; --surface: #1c1815; --tile-a: #241f1b; --tile-b: #2d2722; --line: #342d27;
  --text: #f1ebe3; --muted: #a99e91; --good: #6cc896; --warn: #f2ae55; --on-ink: #f6f1e9; --on-ink-muted: rgba(246,241,233,.64);
  --stage: #f6f3ee; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px -12px rgba(0,0,0,.5); --shadow-lg: 0 30px 60px -20px rgba(0,0,0,.7); color-scheme: dark;
} }
:root[data-theme="dark"] {
  --ink: #0e0c0a; --ink-2: #1a1613; --ink-3: #2c241e; --brass: #f07a2c; --brass-hi: #ff9d57; --brass-soft: rgba(240, 122, 44, .13); --on-brass: #1a0d03;
  --bg: #13110f; --surface: #1c1815; --tile-a: #241f1b; --tile-b: #2d2722; --line: #342d27;
  --text: #f1ebe3; --muted: #a99e91; --good: #6cc896; --warn: #f2ae55; --on-ink: #f6f1e9; --on-ink-muted: rgba(246,241,233,.64);
  --stage: #f6f3ee; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px -12px rgba(0,0,0,.5); --shadow-lg: 0 30px 60px -20px rgba(0,0,0,.7); color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font: 15.5px/1.65 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--ink); }
::selection { background: var(--brass); color: #fff; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: max(22px, env(safe-area-inset-left, 0px)); padding-right: max(22px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--f-display); font-optical-sizing: auto; line-height: 1.04; text-wrap: balance; margin: 0; letter-spacing: -0.02em; font-weight: 500; }
h3 { font-weight: 600; letter-spacing: -0.01em; }
em, .serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; }
p { margin: 0; }
.mono { font-family: var(--f-mono); font-size: 0.78em; letter-spacing: 0.01em; }
.eyebrow { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.22em; color: var(--muted); font-weight: 600; display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .55; }
.muted { color: var(--muted); }
.progress { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; height: 2px; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--brass), var(--brass-hi)); z-index: 40; pointer-events: none; }

.demo { background: var(--ink); color: var(--on-ink-muted); font-size: 12px; letter-spacing: .02em; }
.demo .wrap { padding-block: 8px; display: flex; gap: 8px 16px; flex-wrap: wrap; justify-content: space-between; }
.demo b { color: var(--brass-hi); font-weight: 600; }
.demo .dr { display: inline-flex; gap: 8px 16px; flex-wrap: wrap; align-items: center; }
.tc { display: inline-flex; align-items: center; gap: 6px; color: var(--on-ink); font-variant-numeric: tabular-nums; }
.tc b { color: var(--brass-hi); }
.tc small { color: var(--on-ink-muted); font-size: 11px; }
.live { display: inline-flex; align-items: center; gap: 8px; }
.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #5fcf95; animation: pulse 2.4s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(95,207,149,.5); } 70% { box-shadow: 0 0 0 7px rgba(95,207,149,0); } 100% { box-shadow: 0 0 0 0 rgba(95,207,149,0); } }

header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-bottom: 1px solid transparent; transition: border-color .4s, box-shadow .4s, background .4s; }
header.top.scrolled { border-color: var(--line); box-shadow: 0 12px 30px -24px rgba(40,28,16,.35); }
header.top .bar { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding-block: 16px; transition: padding .4s var(--ease); }
header.top.scrolled .bar { padding-block: 10px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.logo .mark { width: 40px; height: 40px; flex: none; transition: transform .7s var(--ease-out); }
.logo:hover .mark { transform: rotate(-14deg) scale(1.05); }
.logo .word { display: grid; line-height: 1; }
.logo .word b { font-family: var(--f-display); font-weight: 600; font-size: 25px; letter-spacing: -0.03em; }
.logo .word span { font-size: 9.5px; font-weight: 700; letter-spacing: .42em; text-transform: uppercase; color: var(--brass); margin-top: 3px; padding-left: 1px; }
.searchwrap { position: relative; min-width: 0; max-width: 600px; width: 100%; justify-self: center; }
.search { display: flex; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; min-width: 0; width: 100%; transition: border-color .3s, box-shadow .3s; box-shadow: 0 1px 2px rgba(40,28,16,.04); }
.search:focus-within { border-color: var(--brass); box-shadow: 0 0 0 5px var(--brass-soft); }
.search svg { margin-left: 18px; flex: none; color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; padding: 12px 12px; background: transparent; color: var(--text); }
.search input::placeholder { color: var(--muted); }
.search input::-webkit-search-cancel-button { display: none; }
.search input:focus { outline: none; }
.search button { border: 0; background: var(--ink); color: var(--on-ink); margin: 4px; padding: 8px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; cursor: pointer; transition: background .25s; }
.search button:hover { background: var(--brass); color: var(--on-brass); }
.sug { position: absolute; left: 0; right: 0; top: calc(100% + 10px); background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 8px; z-index: 25; animation: drop .3s var(--ease-out) both; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px) scale(.985); } to { opacity: 1; transform: none; } }
.sug a { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 14px; text-decoration: none; transition: background .2s; }
.sug a:hover, .sug a.on { background: var(--tile-a); }
.sug .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--tile-a); display: grid; place-items: center; color: var(--ink-3); overflow: hidden; }
.sug .nm { min-width: 0; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sug .nm small { display: block; color: var(--muted); font-size: 12px; }
.sug .pr { font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.sug .sug-cats { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; font-size: 12.5px; color: var(--muted); }
.sug .sug-cats a { display: inline-flex; gap: 5px; align-items: center; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-weight: 600; text-decoration: none; }
.sug .sug-cats a:hover { border-color: var(--brass); }
.sug .sug-cats small { color: var(--muted); font-weight: 500; }
.sug .all { display: block; text-align: center; padding: 10px; font-weight: 600; font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--line); margin-top: 6px; border-radius: 0; }
.sug .none { padding: 14px; color: var(--muted); font-size: 14px; }
.tools { display: flex; align-items: center; gap: 18px; }
.tools a { text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 600; transition: color .2s; }
.tools a:hover { color: var(--text); }
.cartbtn { position: relative; display: inline-grid !important; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text) !important; transition: border-color .25s, transform .25s var(--ease); }
.cartbtn:hover { border-color: var(--text); transform: translateY(-1px); }
.cartbtn .n { position: absolute; top: -4px; right: -4px; background: var(--brass); color: var(--on-brass); border-radius: 99px; min-width: 20px; height: 20px; display: inline-grid; place-items: center; font-size: 11px; font-weight: 700; padding: 0 6px; border: 2px solid var(--bg); }
.cartbtn .n.bump { animation: bump .6s var(--ease-out); }
@keyframes bump { 30% { transform: scale(1.4); } 60% { transform: scale(.9); } }
nav.cats { position: relative; }
nav.cats .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
nav.cats .wrap::-webkit-scrollbar { display: none; }
nav.cats a { position: relative; text-decoration: none; padding: 10px 14px 13px; white-space: nowrap; font-size: 13.5px; font-weight: 600; color: var(--muted); transition: color .25s; }
nav.cats a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
nav.cats a:hover, nav.cats a.on { color: var(--text); }
nav.cats a:hover::after, nav.cats a.on::after { transform: scaleX(1); }
nav.cats a.hl { color: var(--brass); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 30px 50px -30px rgba(40,28,16,.35); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .3s var(--ease), transform .35s var(--ease-out), visibility 0s .3s; }
.mega.show { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .35s var(--ease-out); }
.mega .wrap { display: grid; grid-template-columns: 1.1fr 1fr 1.4fr; gap: 40px; padding-block: 30px 34px; }
.mega h3 { font-size: 30px; } .mega p { color: var(--muted); margin-top: 10px; font-size: 14.5px; max-width: 36ch; }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; align-content: start; }
.mega ul a { display: flex; justify-content: space-between; text-decoration: none; padding: 8px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 500; transition: background .2s, padding .3s var(--ease); }
.mega ul a:hover { background: var(--tile-a); padding-left: 18px; }
.mega ul small { color: var(--muted); }
.mega ul.dos { grid-template-columns: 1fr 1fr; column-gap: 8px; }
nav.cats .mega .wrap.todos { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); overflow-x: hidden; gap: 22px 28px; max-height: min(70vh, 640px); overflow-y: auto; }
.mega .todos .dt { display: flex; justify-content: space-between; gap: 8px; text-decoration: none; font-weight: 700; font-size: 15px; padding: 4px 0 8px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.mega .todos .dt:hover { color: var(--brass); }
.mega .todos .dt small { color: var(--muted); font-weight: 500; }
.mega .todos ul a { padding: 5px 8px; font-size: 13.5px; white-space: normal; }
.mega .todos > div { min-width: 0; }
.masdeptos { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 18px; }
.masdeptos span { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.masdeptos a { text-decoration: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13.5px; font-weight: 600; transition: border-color .2s, color .2s; }
.masdeptos a:hover { border-color: var(--brass); color: var(--brass); }
.masdeptos small { color: var(--muted); font-weight: 500; margin-left: 4px; }
.mega .feat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.mega .feat a { text-decoration: none; border-radius: 16px; background: var(--tile-a); padding: 12px; display: grid; gap: 8px; font-size: 13px; line-height: 1.35; transition: transform .35s var(--ease), box-shadow .35s; }
.mega .feat a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.mega .feat a { align-content: start; }
.mega .feat .thumb { border-radius: 12px; aspect-ratio: auto; height: 140px; }
.mega .feat .thumb .ph-ic { width: 38%; box-shadow: none; }
.mega .feat span:not(.thumb) { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mega ul a { gap: 12px; } .mega ul a small { flex: none; }
#catnav .car { display: inline-block; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-3px) rotate(45deg); margin-left: 5px; opacity: .55; transition: transform .25s; }
#catnav a.abierto { color: var(--brass); } #catnav a.abierto .car { transform: translateY(0) rotate(-135deg); opacity: 1; }
@media (max-width: 900px), (hover: none) {
  .mega { max-height: 72vh; overflow-y: auto; }
  nav.cats .mega .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding-block: 18px 22px; }
  .mega .wrap > div:first-child p, .mega .feat { display: none; }
  .mega h3 { font-size: 22px; }
  .mega ul.dos { grid-template-columns: 1fr; }
  nav.cats .mega .wrap.todos { grid-template-columns: 1fr 1fr; gap: 16px; max-height: none; }
}
@media (max-width: 860px) {
  header.top .bar { grid-template-columns: 1fr auto; gap: 12px; padding-block: 12px; }
  .searchwrap { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .tools .opt { display: none; }
}
.jo-admin { position: fixed; left: calc(16px + env(safe-area-inset-left, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 15; display: inline-flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 999px; background: #14182a; color: #fff; font: 600 13px var(--f-body); box-shadow: 0 14px 30px -12px rgba(0,0,0,.5); }
.jo-admin small { opacity: .65; font-weight: 500; }
.jo-admin button { border: 0; border-radius: 999px; padding: 8px 14px; font: 700 12.5px var(--f-body); cursor: pointer; background: #f26b3a; color: #fff; }
.jo-admin.off button { background: #1f9d55; }
.jo-admin button:disabled { opacity: .6; cursor: wait; }
.wa { position: fixed; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 15; display: inline-flex; align-items: center; gap: 10px; background: #1f9d55; color: #fff; text-decoration: none; padding: 12px 18px 12px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; box-shadow: 0 14px 30px -10px rgba(31,157,85,.55); transition: transform .3s var(--ease), opacity .3s; }
.wa:hover { transform: translateY(-3px); }
@media (max-width: 520px) { .wa span { display: none; } .wa { padding: 14px; } }

main { padding-block: 0 96px; min-height: 60vh; }
main > .view { animation: enter .6s var(--ease-out) both; }
@keyframes enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.page { padding-top: 44px; }
::view-transition-old(root) { animation: vt-out .25s ease both; }
::view-transition-new(root) { animation: vt-in .45s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

.btn { white-space: nowrap; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; padding: 14px 26px; font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; text-decoration: none; overflow: hidden; isolation: isolate; transition: transform .35s var(--ease-out), box-shadow .3s, background .3s, color .3s, border-color .3s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateY(101%); transition: transform .45s var(--ease-out); border-radius: inherit; }
.btn:active { transform: scale(.98); }
.btn .arr { transition: transform .35s var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }
.btn.brass { background: var(--brass); color: var(--on-brass); box-shadow: 0 12px 26px -12px rgba(211,90,18,.7); }
.btn.brass:hover::before { transform: none; } .btn.brass:hover { color: var(--on-ink); }
.btn.dark { background: var(--ink); color: var(--on-ink); }
.btn.dark::before { background: var(--brass); } .btn.dark:hover::before { transform: none; } .btn.dark:hover { color: var(--on-brass); }
.btn.line-light { border-color: rgba(255,255,255,.28); color: var(--on-ink); }
.btn.line-light::before { background: var(--on-ink); } .btn.line-light:hover::before { transform: none; } .btn.line-light:hover { color: var(--ink); }
.btn.ghost { border-color: var(--line); color: var(--text); background: var(--surface); }
.btn.ghost::before { background: var(--tile-a); } .btn.ghost:hover::before { transform: none; } .btn.ghost:hover { border-color: var(--muted); }
.btn.sm { padding: 9px 16px; font-size: 13.5px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn.brass:hover { color: var(--on-ink); } }

/* Portada */
.hero-band { position: relative; overflow: hidden; background: var(--bg); }
.hero-band::before { content: ""; position: absolute; width: 900px; height: 900px; right: -260px; top: -380px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--brass) 22%, transparent), transparent 62%); filter: blur(10px); animation: drift 18s ease-in-out infinite; pointer-events: none; }
.hero-band::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--text) 9%, transparent) 1px, transparent 1.3px); background-size: 22px 22px; mask-image: radial-gradient(ellipse at 70% 40%, #000 0, transparent 65%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0, transparent 65%); pointer-events: none; }
@keyframes drift { 50% { transform: translate(-60px, 40px) scale(1.08); } }
.hero { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; padding-block: 72px 96px; }
.hero > div { min-width: 0; }
.hero .eyebrow { color: var(--brass); }
.hero h1 { font-size: clamp(44px, 6.4vw, 92px); margin-top: 22px; font-weight: 400; letter-spacing: -0.035em; line-height: .98; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .08em; }
.hero h1 .ln > span { display: inline-block; animation: rise 1.1s var(--ease-out) both; }
.hero h1 .ln:nth-child(2) > span { animation-delay: .1s; } .hero h1 .ln:nth-child(3) > span { animation-delay: .2s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.rot { position: relative; display: inline-grid; color: var(--brass); font-style: italic; vertical-align: bottom; justify-items: start; transition: width .7s var(--ease-out); }
.rot i { grid-area: 1 / 1; font-style: italic; opacity: 0; transform: translateY(60%) rotate(4deg); transition: opacity .6s var(--ease), transform .8s var(--ease-out); white-space: nowrap; }
.rot i.on { opacity: 1; transform: none; }
.rot i.off { opacity: 0; transform: translateY(-60%) rotate(-3deg); }
.hero .lead { margin-top: 24px; font-size: 18px; color: var(--muted); max-width: 48ch; animation: enter .9s .35s var(--ease-out) both; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; animation: enter .9s .55s var(--ease-out) both; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 30px; font-size: 13.5px; color: var(--muted); animation: enter .9s .65s var(--ease-out) both; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { color: var(--brass); }
.askbar { margin-top: 30px; display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 8px 8px 8px 12px; max-width: 580px; width: 100%; box-shadow: var(--shadow); transition: border-color .3s, box-shadow .3s; animation: enter .9s .45s var(--ease-out) both; }
.askbar:focus-within { border-color: var(--brass); box-shadow: 0 0 0 6px var(--brass-soft), var(--shadow); }
.askbar input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); padding: 9px 4px; font-size: 15px; }
.askbar input::placeholder { color: var(--muted); } .askbar input:focus { outline: none; }
.askbar .btn { flex: none; }
.askhint { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; max-width: 600px; animation: enter .9s .5s var(--ease-out) both; }
.askhint button { border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 999px; padding: 6px 13px; font-size: 12.5px; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.askhint button:hover { color: var(--text); border-color: var(--brass); background: var(--brass-soft); }

.stack { position: relative; height: 520px; perspective: 1400px; animation: enter 1.1s .3s var(--ease-out) both; }
.stack .sc { position: absolute; left: 0; top: 0; width: 50%; aspect-ratio: 4 / 5.2; border-radius: 28px; overflow: hidden; text-decoration: none; color: var(--text); background: var(--surface); box-shadow: var(--shadow-lg); display: grid; grid-template-rows: 1fr auto; transform: translate3d(calc(var(--tx) + var(--mx, 0px) * var(--d)), calc(var(--ty) + var(--my, 0px) * var(--d)), 0) rotate(var(--rz)); transition: transform .9s var(--ease-out), box-shadow .4s; will-change: transform; }
.stack .sc:hover { box-shadow: 0 40px 80px -30px rgba(40,28,16,.45); z-index: 5; }
.stack .sc:nth-child(1) { --tx: 6%; --ty: 14%; --rz: -9deg; --d: .6; z-index: 1; }
.stack .sc:nth-child(2) { --tx: 94%; --ty: 14%; --rz: 9deg; --d: .9; z-index: 2; }
.stack .sc:nth-child(3) { --tx: 50%; --ty: 2%; --rz: 0deg; --d: 1.4; z-index: 3; }
.stack .sc .thumb .ph-ic { width: 46%; }
.stack:hover .sc:nth-child(1) { --tx: -2%; --rz: -12deg; } .stack:hover .sc:nth-child(2) { --tx: 102%; --rz: 12deg; }
.stack .sc .thumb { aspect-ratio: auto; height: 100%; }
.stack .sc .cap { padding: 16px 18px 18px; display: grid; gap: 2px; background: var(--surface); }
.stack .sc .cap small { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); font-weight: 700; }
.stack .sc .cap b { font-family: var(--f-display); font-weight: 500; font-size: 22px; letter-spacing: -0.01em; line-height: 1.15; }
.stack .sc .cap span { color: var(--muted); font-size: 13px; }
.stack .chip-float { position: absolute; z-index: 6; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-lg); font-size: 13px; font-weight: 600; animation: bob 6s ease-in-out infinite; }
.stack .chip-float.a { left: -4%; top: 6%; }
.stack .chip-float.b { right: -2%; bottom: 2%; animation-delay: -3s; }
.stack .chip-float i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--brass-soft); color: var(--brass); font-style: normal; }
@keyframes bob { 50% { transform: translateY(-10px); } }
@media (max-width: 960px) { .hero { grid-template-columns: 1fr; gap: 28px; padding-block: 44px 64px; } .stack { height: 400px; max-width: 520px; width: 100%; justify-self: center; } }
@media (max-width: 480px) { .stack { height: 330px; } .stack .sc .cap b { font-size: 17px; } .stack .chip-float { font-size: 12px; } }

.brands { border-block: 1px solid var(--line); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.brands .track { display: flex; gap: 72px; width: max-content; padding-block: 24px; animation: marquee 46s linear infinite; }
.brands:hover .track { animation-play-state: paused; }
.brands span { font-family: var(--f-display); font-weight: 500; font-style: italic; font-size: 24px; color: var(--muted); opacity: .6; white-space: nowrap; transition: opacity .3s, color .3s; }
.brands span:hover { opacity: 1; color: var(--brass); }
@keyframes marquee { to { transform: translateX(-50%); } }

section.block { margin-top: 112px; display: grid; gap: 32px; }
.sechead { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.sechead h2 { font-size: clamp(32px, 4vw, 52px); margin-top: 12px; }
.sechead h2 em { color: var(--brass); }
.sechead p { color: var(--muted); max-width: 52ch; margin-top: 10px; }
.more { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; font-size: 14.5px; border-bottom: 1px solid var(--line); padding-bottom: 4px; transition: border-color .3s; }
.more:hover { border-color: var(--brass); }
.more .arr { transition: transform .35s var(--ease-out); } .more:hover .arr { transform: translateX(4px); }

/* Líneas de producto */
.lines { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.lt { position: relative; grid-column: span 2; min-height: 300px; border-radius: 28px; overflow: hidden; text-decoration: none; color: var(--text); background: var(--tile-a); display: grid; align-content: end; padding: 26px; isolation: isolate; transition: transform .6s var(--ease-out), box-shadow .5s; }
.lt:nth-child(1), .lt:nth-child(2) { grid-column: span 3; min-height: 360px; }
.lt:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.lt .art { position: absolute; inset: 0 0 38% 0; z-index: -1; display: grid; place-items: center; transition: transform 1s var(--ease-out); }
.lt:hover .art { transform: scale(1.06); }
.lt .art svg { width: 30%; max-width: 150px; color: var(--ink-3); opacity: .9; filter: drop-shadow(0 20px 30px rgba(40,28,16,.18)); }
.lt .art::before { content: ""; position: absolute; width: 55%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.75), transparent 68%); }
.lt.t1 { background: linear-gradient(160deg, #f3e3cc, #ead2b1); }
.lt.t2 { background: linear-gradient(160deg, #2a221d, #15110e); color: var(--on-ink); } .lt.t2 .art svg { color: var(--brass-hi); } .lt.t2 .art::before { background: radial-gradient(circle, rgba(240,138,60,.28), transparent 68%); }
.lt.t3 { background: linear-gradient(160deg, #e6e2da, #d6d0c4); }
.lt.t4 { background: linear-gradient(160deg, #efd9c7, #e2bfa3); }
.lt.t5 { background: linear-gradient(160deg, #ddd3c2, #cbbda6); }
.lt .lbl { display: grid; gap: 6px; }
.lt small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; opacity: .7; }
.lt b { font-family: var(--f-display); font-weight: 500; font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -0.02em; line-height: 1.05; }
.lt span.d { font-size: 14px; opacity: .78; max-width: 34ch; }
.lt .go { position: absolute; top: 22px; right: 22px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.7); color: #1b1714; transform: rotate(-45deg) scale(.9); transition: transform .5s var(--ease-out), background .3s; }
.lt:hover .go { transform: none; background: var(--brass); color: #fff; }
.lt .subs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.lt .subs i { font-style: normal; font-size: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.55); color: #1b1714; }
.lt.t2 .subs i { background: rgba(255,255,255,.1); color: var(--on-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .lt:not(.t2) { color: #1b1714; } }
@media (max-width: 900px) { .lines { grid-template-columns: 1fr 1fr; } .lt, .lt:nth-child(1), .lt:nth-child(2) { grid-column: span 1; min-height: 260px; } .lt:nth-child(1) { grid-column: 1 / -1; } }
@media (max-width: 520px) { .lines { gap: 10px; } .lt, .lt:nth-child(1), .lt:nth-child(2) { min-height: 210px; padding: 18px; border-radius: 22px; } .lt .subs, .lt span.d { display: none; } .lt .go { width: 38px; height: 38px; top: 14px; right: 14px; } }

/* Rieles por línea */
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 18px; margin: -6px -2px 0; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 1100px) { .rail { grid-auto-columns: calc((100% - 54px) / 4); } }
@media (max-width: 520px) { .rail { grid-auto-columns: 72%; gap: 12px; } }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; display: grid; place-items: center; transition: background .25s, color .25s, border-color .25s, opacity .25s; }
.rail-nav button:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.rail-nav button:disabled { opacity: .35; pointer-events: none; }
.linehead { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.linehead h2 { font-size: clamp(28px, 3.2vw, 42px); margin-top: 10px; }
.linehead .r { display: flex; align-items: center; gap: 18px; }

/* Kits */
.kits { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.kit { grid-template-columns: minmax(0, 1fr); position: relative; border-radius: 26px; padding: 26px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 16px; align-content: start; overflow: hidden; transition: transform .5s var(--ease-out), box-shadow .5s, border-color .4s; }
.kit:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.kit .tag { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); font-weight: 700; }
.kit h3 { font-size: 26px; font-weight: 500; }
.kit p { color: var(--muted); font-size: 14px; }
.kit .pile { display: flex; }
.kit .pile .thumb { width: 58px; height: 58px; border-radius: 16px; aspect-ratio: 1; border: 3px solid var(--surface); margin-left: -12px; box-shadow: 0 6px 14px -8px rgba(40,28,16,.4); transition: transform .5s var(--ease-out); }
.kit .pile .thumb:first-child { margin-left: 0; }
.kit:hover .pile .thumb { transform: translateY(-4px) rotate(-3deg); }
.kit:hover .pile .thumb:nth-child(even) { transform: translateY(-2px) rotate(3deg); }
.kit ul { grid-template-columns: minmax(0, 1fr); list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13.5px; border-top: 1px solid var(--line); padding-top: 14px; }
.kit li { display: flex; justify-content: space-between; gap: 10px; } .kit li span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .kit li span:last-child { color: var(--muted); flex: none; }
.kit .tot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 4px; }
.kit .tot b { font-family: var(--f-display); font-weight: 600; font-size: 26px; font-variant-numeric: tabular-nums; }
.kit .tot small { display: block; color: var(--muted); font-size: 12px; font-family: var(--f-body); font-weight: 500; }

/* Nova en pausa: se oculta todo lo suyo (el código sigue ahí) */
.sin-nova .javibtn, .sin-nova .jdrawer, .sin-nova .jscrim, .sin-nova .javi-row, .sin-nova .askhint, .sin-nova section:has(> .novaband), .sin-nova .jcard { display: none !important; }
.sin-nova .askbar .javi-av.busca { background: var(--tile-a); color: var(--muted); box-shadow: none; }
.sin-nova .askbar .javi-av.busca svg { width: 18px; height: 18px; }
/* Banda de Nova */
.novaband { position: relative; overflow: hidden; border-radius: 34px; background: var(--ink); color: var(--on-ink); padding: 60px; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.novaband::before { content: ""; position: absolute; width: 640px; height: 640px; left: -200px; bottom: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(240,122,44,.35), transparent 65%); animation: drift 16s ease-in-out infinite; }
.novaband > * { position: relative; }
.novaband .eyebrow { color: var(--brass-hi); }
.novaband h2 { font-size: clamp(32px, 4vw, 54px); margin-top: 14px; font-weight: 400; } .novaband h2 em { color: var(--brass-hi); }
.novaband p { color: var(--on-ink-muted); margin-top: 16px; max-width: 46ch; }
.novaband ul { list-style: none; margin: 24px 0 30px; padding: 0; display: grid; gap: 12px; }
.novaband li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; color: var(--on-ink); font-size: 14.5px; } .novaband li svg { color: var(--brass-hi); margin-top: 3px; }
.demo-chat { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); border-radius: 26px; padding: 22px; display: grid; gap: 12px; min-height: 380px; align-content: start; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.demo-chat .m { max-width: 88%; padding: 11px 15px; border-radius: 18px; font-size: 14px; line-height: 1.5; opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .6s var(--ease-out); }
.demo-chat .m.in { opacity: 1; transform: none; }
.demo-chat .m.u { justify-self: end; background: var(--brass); color: #fff; border-bottom-right-radius: 6px; }
.demo-chat .m.b { background: rgba(255,255,255,.07); border-bottom-left-radius: 6px; color: var(--on-ink); }
.demo-chat .m.b b { color: var(--brass-hi); font-weight: 600; }
.demo-chat .pp { display: grid; gap: 8px; margin-top: 10px; }
.demo-chat .pp div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 12px; background: rgba(255,255,255,.06); font-size: 13px; } .demo-chat .pp div span:last-child { color: var(--brass-hi); font-weight: 700; white-space: nowrap; }
.demo-chat .typing { display: inline-flex; gap: 5px; padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,.07); width: max-content; }
.demo-chat .typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--brass-hi); animation: jdot 1.1s infinite ease-in-out; } .demo-chat .typing i:nth-child(2) { animation-delay: .15s; } .demo-chat .typing i:nth-child(3) { animation-delay: .3s; }
@media (max-width: 900px) { .novaband { grid-template-columns: 1fr; padding: 36px 24px; gap: 30px; border-radius: 26px; } .demo-chat { min-height: 320px; } }

/* Tarjeta de producto */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 20px; }
@media (max-width: 520px) { .grid { grid-template-columns: 1fr 1fr; gap: 10px; } }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: grid; grid-template-rows: auto 1fr; transition: transform .6s var(--ease-out), box-shadow .5s var(--ease), border-color .4s; min-width: 0; }
.card::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: radial-gradient(420px circle at var(--sx, 50%) var(--sy, 0%), color-mix(in srgb, var(--brass) 9%, transparent), transparent 45%); opacity: 0; transition: opacity .4s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::after { opacity: 1; }
.thumb { position: relative; aspect-ratio: 1 / 1; max-width: 100%; background: linear-gradient(160deg, var(--tile-a), var(--tile-b)); display: grid; place-items: center; color: var(--ink-3); overflow: hidden; isolation: isolate; }
.card .thumb { margin: 8px 8px 0; border-radius: calc(var(--r) - 8px); }
.badge { z-index: 2; position: absolute; left: 12px; top: 12px; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); background: color-mix(in srgb, var(--surface) 85%, transparent); backdrop-filter: blur(6px); padding: 5px 10px; border-radius: 99px; }
.card .badge.hot { left: 12px; right: auto; color: var(--good); }
.card .body { padding: 16px 18px 18px; display: grid; gap: 6px; align-content: start; }
.card .brand { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); font-weight: 700; }
.card .name { font-weight: 500; line-height: 1.4; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; font-size: 14.5px; }
.card .name::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card .foot { display: flex; justify-content: space-between; align-items: end; gap: 8px; margin-top: 8px; }
.price { font-family: var(--f-display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums lining-nums; line-height: 1.1; }
.price small { font-family: var(--f-body); font-weight: 500; font-size: 11.5px; color: var(--muted); letter-spacing: 0; }
.price.cotiza { font-family: var(--f-body); font-size: 14px; font-weight: 700; color: var(--brass); letter-spacing: 0; line-height: 1.25; }
.quick { position: relative; z-index: 2; height: 42px; min-width: 42px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); display: inline-grid; grid-auto-flow: column; place-items: center; gap: 0; padding: 0 11px; cursor: pointer; overflow: hidden; transition: background .3s, color .3s, border-color .3s, gap .4s var(--ease-out), padding .4s var(--ease-out); flex: none; }
.quick .lbl { max-width: 0; overflow: hidden; white-space: nowrap; font-size: 13px; font-weight: 600; transition: max-width .45s var(--ease-out); }
@media (hover: hover) and (min-width: 700px) { .card:hover .quick { background: var(--ink); color: var(--on-ink); border-color: var(--ink); gap: 6px; padding: 0 15px 0 11px; } .card:hover .quick .lbl { max-width: 80px; } }
.quick:active { transform: scale(.94); }
.stock { font-size: 12px; display: inline-flex; align-items: center; gap: 7px; font-weight: 500; }
.stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.stock.in { color: var(--good); } .stock.out { color: var(--warn); }
@media (max-width: 520px) { .card .body { padding: 12px; } .price { font-size: 17px; } .quick { height: 34px; min-width: 34px; padding: 0 8px; } .card .stock { font-size: 11px; } .card .thumb { margin: 6px 6px 0; } }
.sku { color: var(--muted); }

/* Escenario de producto */
.thumb .ph { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .5s var(--ease); background-image: radial-gradient(circle at 50% 45%, rgba(255,255,255,.65) 0, transparent 52%); }
.thumb .ph-ic { width: 54%; max-width: 220px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; color: var(--ink-3); background: color-mix(in srgb, var(--surface) 70%, transparent); box-shadow: 0 24px 40px -22px rgba(40,28,16,.45), inset 0 1px 0 rgba(255,255,255,.7); transition: transform .8s var(--ease-out); }
.thumb .ph-ic svg { width: 50%; height: auto; }
.thumb .ph-brand { position: absolute; bottom: 9%; left: 0; right: 0; text-align: center; font-family: var(--f-display); font-style: italic; font-size: 14px; color: var(--muted); opacity: .85; }
.thumb .ph-img { position: absolute; inset: 9%; width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; opacity: 0; transition: opacity .6s var(--ease), transform 1s var(--ease-out); }
.thumb.lit { background: var(--stage); }
.thumb.lit .ph { opacity: 0; }
.thumb.lit .ph-img { opacity: 1; }
.thumb.lit .ph-img.alt { opacity: 0; }
.card:hover .thumb.lit .ph-img { transform: scale(1.06); }
@media (hover: hover) { .card:hover .thumb.lit .ph-img.alt { opacity: 1; } .card:hover .thumb.lit:has(.ph-img.alt) .ph-img:not(.alt) { opacity: 0; } }
.card:hover .thumb .ph-ic { transform: scale(1.07) rotate(-4deg); }
.thumb.mini { width: 100%; height: 100%; aspect-ratio: 1; border-radius: inherit; }
.thumb.mini .ph-ic { width: 76%; box-shadow: none; } .thumb.mini .ph-ic svg { width: 62%; }
.thumb.mini .ph-brand { display: none; }
.thumb.mini .ph-img { inset: 8%; width: 84%; height: 84%; }
.line .thumb .ph-brand, .kit .thumb .ph-brand, .mega .thumb .ph-brand { display: none; }
.kit .thumb .ph-ic { width: 74%; box-shadow: none; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { padding: 30px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; transition: transform .5s var(--ease-out), box-shadow .5s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step .num { font-family: var(--f-display); font-style: italic; font-size: 44px; color: var(--brass); line-height: 1; }
.step h3 { font-size: 24px; font-weight: 500; }
.step p { color: var(--muted); font-size: 14.5px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.b2b { position: relative; overflow: hidden; border-radius: 34px; background: linear-gradient(135deg, #f3e3cc, #e9cfac); color: #1b1714; padding: 60px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 44px; align-items: center; }
.b2b h2 { font-size: clamp(30px, 3.6vw, 48px); margin-top: 14px; font-weight: 400; }
.b2b .eyebrow { color: #9a4a10; }
.b2b p { color: #5b4a3a; margin-top: 14px; max-width: 52ch; }
.b2b ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.b2b li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; background: rgba(255,255,255,.5); border-radius: 16px; padding: 14px 16px; transition: transform .4s var(--ease-out), background .3s; }
.b2b li:hover { transform: translateX(6px); background: rgba(255,255,255,.75); }
.b2b li svg { color: #b4560f; margin-top: 3px; }
.b2b li b { display: block; font-weight: 700; } .b2b li span { color: #6b5848; font-size: 14px; }
@media (max-width: 860px) { .b2b { grid-template-columns: 1fr; padding: 34px 24px; border-radius: 26px; } }

.quote-band { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 38px 42px; border-radius: 28px; border: 1px solid var(--line); background: var(--surface); }
.quote-band h3 { font-size: 30px; font-weight: 500; } .quote-band p { color: var(--muted); margin-top: 6px; }
@media (max-width: 700px) { .quote-band { grid-template-columns: 1fr; padding: 28px; } }
.clients { display: flex; flex-wrap: wrap; gap: 12px; }
.clients span { border: 1px solid var(--line); background: var(--surface); border-radius: 16px; padding: 18px 30px; font-family: var(--f-display); font-size: 20px; color: var(--muted); transition: color .3s, border-color .3s; }
.clients span:hover { color: var(--text); border-color: var(--brass); }

.pkg { display: grid; grid-template-columns: 220px 1fr; gap: 44px; align-items: center; padding: 48px 54px; border-radius: 34px; text-decoration: none; color: #2b1a0a; background: radial-gradient(500px 260px at 0% 100%, rgba(186,128,64,.2), transparent 70%), linear-gradient(135deg, #efe2cf, #e2cdaf); transition: transform .6s var(--ease-out), box-shadow .5s; }
.pkg:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pkg h2 { font-size: clamp(28px, 3.2vw, 44px); margin-top: 12px; font-weight: 400; } .pkg h2 em { color: #a3560f; }
.pkg p { color: #5e4630; margin-top: 12px; max-width: 56ch; } .pkg .eyebrow { color: #8a5a22; }
.pkg-art { color: #a3560f; background: rgba(255,255,255,.5); border-radius: 50%; aspect-ratio: 1; display: grid; place-items: center; transition: transform .8s var(--ease-out); }
.pkg-art svg { width: 58%; } .pkg:hover .pkg-art { transform: rotate(-10deg) scale(1.05); }
@media (max-width: 760px) { .pkg { grid-template-columns: 1fr; padding: 30px 24px; gap: 20px; border-radius: 26px; } .pkg-art { width: 110px; } }

/* Catálogo */
.pagehead { padding-block: 44px 30px; border-bottom: 1px solid var(--line); margin-bottom: 30px; display: grid; gap: 12px; }
.pagehead h1 { font-size: clamp(36px, 5vw, 64px); font-weight: 400; }
.pagehead .subs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.pagehead .subs a { text-decoration: none; font-size: 13.5px; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); transition: border-color .25s, background .25s, color .25s; }
.pagehead .subs a:hover, .pagehead .subs a.on { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.crumbs { font-size: 13px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--text); }
.catalog { display: grid; grid-template-columns: 240px 1fr; gap: 36px; align-items: start; }
.filters { display: grid; gap: 28px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 150px); }
.filters fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 2px; }
.filters legend { font-family: var(--f-display); font-weight: 600; margin-bottom: 8px; font-size: 16px; }
.filters label { display: flex; gap: 10px; align-items: center; font-size: 14px; cursor: pointer; padding: 6px 8px; margin-inline: -8px; border-radius: 10px; transition: background .2s; }
.filters label input[type=checkbox] { flex: none; width: 16px; height: 16px; margin: 0; }
.filters label:hover { background: var(--tile-a); }
.filters input[type=checkbox] { accent-color: var(--brass); width: 16px; height: 16px; }
.filters label small { margin-left: auto; color: var(--muted); font-variant-numeric: tabular-nums; font-size: 12.5px; }
.range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rangos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.rangos button { border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 999px; padding: 6px 11px; font: 600 12.5px var(--f-body); cursor: pointer; }
.rangos button:hover { border-color: var(--brass); }
.rangos button.on { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.range input, .select { width: 100%; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 10px 12px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.select { width: auto; }
.results { min-width: 0; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chip { background: var(--ink); color: var(--on-ink); border: 0; border-radius: 99px; padding: 7px 13px; font-size: 13px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.empty { background: var(--surface); border: 1px dashed var(--line); border-radius: 24px; padding: 54px 24px; text-align: center; color: var(--muted); display: grid; gap: 10px; justify-items: center; }
.empty b { color: var(--text); font-family: var(--f-display); font-size: 22px; font-weight: 500; }
details.mfilters { display: none; }
@media (max-width: 900px) {
  .catalog { grid-template-columns: 1fr; }
  .catalog > .filters { display: none; }
  details.mfilters { display: block; margin-bottom: 16px; }
  details.mfilters > summary { cursor: pointer; font-weight: 600; padding: 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
  details.mfilters .filters { position: static; margin-top: 12px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
}

/* Página de producto */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; padding-top: 34px; }
.gallery { display: grid; gap: 12px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 150px); }
.gallery .thumb { border-radius: 32px; aspect-ratio: 1 / 1; }
.gallery .thumb.lit { cursor: zoom-in; }
.gallery .thumb.lit:hover .ph-img { transform: scale(1.7); transform-origin: var(--zx, 50%) var(--zy, 50%); transition: transform .25s ease-out; }
.gthumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.gthumbs button { width: 76px; height: 76px; border-radius: 16px; border: 1px solid var(--line); background: var(--stage); padding: 6px; cursor: pointer; transition: border-color .2s, transform .3s var(--ease-out); }
.gthumbs button:hover { transform: translateY(-2px); }
.gthumbs button.on { border-color: var(--brass); box-shadow: 0 0 0 3px var(--brass-soft); }
.gthumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.photo-note { font-size: 12px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.pdp .info { display: grid; gap: 22px; min-width: 0; }
.pdp h1 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 400; }
.pdp h1.largo { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.15; }
.pdp h1.largo2 { font-size: clamp(21px, 1.9vw, 27px); line-height: 1.2; }
.pdp .price { font-size: 40px; }
/* ── Lote 2 de mejoras ── */
.aviso-stock { display: block; color: var(--warn); font-size: 12px; font-weight: 600; margin-top: 2px; }
.ahorra-l { display: block; color: var(--good); font-size: 12px; font-weight: 700; }
.l-acts { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.ahorro-cart { padding: 10px 14px; border-radius: 12px; background: color-mix(in srgb, var(--good) 12%, transparent); color: var(--good); font-size: 14px; }
.cp-row { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.cp-row > div { display: flex; gap: 10px; align-items: center; }
.cp-row input, .lista-form input { width: 130px; height: 40px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; }
.cp-res { font-size: 12.5px; color: var(--good); font-weight: 600; }
.cart-tools { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; }
.cart-tools .link { display: inline-flex; gap: 6px; align-items: center; }
.cart-tools svg { width: 15px; height: 15px; }
.lista-form { display: flex; gap: 8px; }
.lista-form input { flex: 1; width: auto; }
.panel.despues { margin-top: 22px; }
.listas { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin: 12px 0 30px; }
.lista-card { display: grid; gap: 6px; align-content: start; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.lista-card ul { margin: 4px 0 8px; padding-left: 18px; font-size: 13.5px; }
.lc-act { display: flex; gap: 12px; align-items: center; }
h2.sub { font-size: 24px; margin-top: 18px; }
.avisame { display: grid; gap: 8px; margin: 14px 0 4px; padding: 14px 16px; border-radius: 16px; border: 1px dashed var(--line); font-size: 14px; }
.avisame label { font-weight: 600; }
.avisame > div { display: flex; gap: 8px; }
.avisame input { flex: 1; min-width: 0; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; }
.ok-av { display: inline-flex; gap: 8px; align-items: center; color: var(--good); font-weight: 600; }
.ok-av svg { width: 18px; height: 18px; }
.faq { display: grid; gap: 10px; max-width: 820px; margin-bottom: 40px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 4px 18px; }
.faq summary { cursor: pointer; padding: 12px 0; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--brass); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 14px; color: var(--muted); }
.guias-head h2 { font-size: 28px; margin-bottom: 14px; }
.guias { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-bottom: 50px; }
.guia-card { display: grid; gap: 6px; padding: 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s; }
.guia-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.guia-card b { font-size: 18px; font-family: var(--f-display); font-weight: 500; }
.guia-body { max-width: 760px; margin-bottom: 60px; font-size: 16.5px; }
.guia-body h2 { font-size: 24px; margin: 26px 0 6px; }
.rastreo { max-width: 520px; }
.empty.grande { padding: 70px 20px; }
.pasos { display: flex; gap: 8px; list-style: none; padding: 0; margin: 12px 0 0; font-size: 13px; color: var(--muted); counter-reset: paso; flex-wrap: wrap; }
.pasos li { counter-increment: paso; display: inline-flex; align-items: center; gap: 6px; }
.pasos li::before { content: counter(paso); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); font-size: 11px; font-weight: 700; }
.pasos li + li::after { content: none; }
.pasos li.on { color: var(--text); font-weight: 700; } .pasos li.on::before { background: var(--brass); border-color: var(--brass); color: #fff; }
.pasos li.hecho::before { content: "✓"; background: var(--good); border-color: var(--good); color: #fff; }
.rfc-ok { font-size: 12px; font-weight: 600; } .rfc-ok.si { color: var(--good); } .rfc-ok.no { color: var(--warn); }
.quick.hecho { background: var(--good) !important; color: #fff !important; border-color: var(--good) !important; }
.sug-sec { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px 4px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.sug-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 14px 8px; }
.sug-chips button { border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 999px; padding: 6px 12px; font: 500 13px var(--f-body); cursor: pointer; }
.sug-chips button:hover { border-color: var(--brass); color: var(--brass); }
.tabbar { display: none; }
@media (max-width: 760px) {
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 58; display: grid; grid-template-columns: repeat(5, 1fr); background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a, .tabbar button { position: relative; display: grid; justify-items: center; gap: 2px; padding: 4px 0; border: 0; background: none; color: var(--muted); font: 600 10.5px var(--f-body); text-decoration: none; cursor: pointer; }
  .tabbar svg { width: 22px; height: 22px; }
  .tabbar .on { color: var(--brass); }
  .tabbar i { position: absolute; top: 0; left: 50%; margin-left: 6px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--brass); color: #fff; font: 700 10px/17px var(--f-body); font-style: normal; text-align: center; }
  body { padding-bottom: 64px; }
  .wa { bottom: 78px !important; } .totop { bottom: 140px !important; }
  .cmpbar { bottom: 70px !important; } .toast { bottom: 80px !important; }
  .buybar { bottom: 62px !important; }
  body.con-cmp .wa { bottom: 140px !important; } body.con-cmp .totop { bottom: 200px !important; } body.con-cmp .toast { bottom: 140px !important; }
}
.saltar { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: var(--on-ink); font-weight: 700; text-decoration: none; transition: top .2s; }
.saltar:focus { top: 12px; }
.offline { position: fixed; left: 50%; top: 12px; transform: translateX(-50%); z-index: 250; padding: 10px 18px; border-radius: 999px; background: var(--warn); color: #fff; font-size: 13.5px; font-weight: 600; box-shadow: var(--shadow-lg); }
footer .legal a { color: inherit; display: inline; padding: 0; }

/* ── Lote 1 de mejoras ── */
.cpp-pdp, .llega.cart { background: color-mix(in srgb, var(--good) 12%, transparent) !important; color: var(--good) !important; }
.cpp-pdp span { color: var(--muted) !important; }
.card .cpp, .llega b, .llega svg { color: var(--good) !important; }
.llega { color: var(--text) !important; }
.vence { display: inline-block; margin-top: 4px; font-size: 11.5px; font-weight: 700; color: #e8380d; letter-spacing: .01em; }
.vence::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: currentColor; vertical-align: 1px; animation: latido 1.6s infinite; }
.vence.lg { font-size: 13px; margin: 6px 0 0; }
@keyframes latido { 50% { opacity: .25; } }
.pdp .pp { color: var(--good); font-weight: 600; }
.card .thumb .cmpbtn { position: absolute; left: 10px; bottom: 10px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 92%, transparent); color: var(--text); font: 600 12px var(--f-body); cursor: pointer; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s, background .2s; backdrop-filter: blur(6px); }
.card:hover .thumb .cmpbtn, .card .thumb .cmpbtn:focus-visible, .card .thumb .cmpbtn.on { opacity: 1; transform: none; }
.card .thumb .cmpbtn.on { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
@media (hover: none) { .card .thumb .cmpbtn { opacity: 1; transform: none; padding: 0 8px; } .card .thumb .cmpbtn span { display: none; } }
.cmpbar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 60; display: flex; align-items: center; gap: 16px; padding: 10px 12px 10px 14px; border-radius: 20px; background: var(--ink); color: var(--on-ink); box-shadow: var(--shadow-lg); max-width: calc(100vw - 32px); animation: subeCmp .35s var(--ease-out); }
@keyframes subeCmp { from { transform: translate(-50%, 30px); opacity: 0; } }
.cmp-items { display: flex; gap: 8px; }
.cmp-it { position: relative; width: 46px; height: 46px; border-radius: 12px; background: var(--stage); display: grid; place-items: center; overflow: visible; }
.cmp-it .thumb.mini { width: 46px; height: 46px; border-radius: 12px; overflow: hidden; }
.cmp-it.vacio { background: transparent; border: 1.5px dashed var(--on-ink-muted); }
.cmp-it button { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; border: 0; background: var(--brass); color: #fff; font-size: 14px; line-height: 1; cursor: pointer; }
.cmp-act { display: flex; align-items: center; gap: 12px; font-size: 13px; white-space: nowrap; }
.cmp-act .link { color: var(--on-ink-muted); }
.cmp-hint { color: var(--on-ink-muted) !important; }
body.con-cmp .wa { bottom: 96px; }
body.con-cmp .totop { bottom: 160px; }
@media (max-width: 640px) { .cmpbar { left: 8px; right: 8px; transform: none; max-width: none; gap: 8px; bottom: 8px; padding: 8px 10px; justify-content: space-between; } .cmp-items { gap: 6px; } .cmp-act { gap: 8px; } .cmp-act .btn { padding: 0 12px; } .cmp-act .link { font-size: 12px; } body.con-cmp .totop { bottom: 84px; } body.con-cmp .wa { bottom: 84px; } @keyframes subeCmp { from { transform: translateY(30px); opacity: 0; } } .cmp-it, .cmp-it .thumb.mini { width: 38px; height: 38px; } .cmp-act > span:first-child { display: none; } }
.compara .soloDif { display: inline-flex; gap: 8px; align-items: center; margin-top: 14px; font-size: 14px; font-weight: 600; cursor: pointer; }
.cmp-scroll { overflow-x: auto; margin: 10px 0 40px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.cmp-tabla { width: 100%; border-collapse: collapse; min-width: calc(180px + var(--n) * 220px); font-size: 14px; }
.cmp-tabla th, .cmp-tabla td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp-tabla tbody th { position: sticky; left: 0; background: var(--surface); width: 180px; color: var(--muted); font-weight: 600; font-size: 13px; z-index: 1; }
.cmp-tabla thead th { vertical-align: bottom; background: var(--surface); }
.cmp-tabla thead th:first-child { position: sticky; left: 0; z-index: 2; }
.cmp-tabla tbody tr.dif td { background: color-mix(in srgb, var(--brass) 4%, transparent); }
.cmp-tabla.solodif tr.igual { display: none; }
.cmp-head { position: relative; display: grid; gap: 10px; }
.cmp-head .thumb { display: block; aspect-ratio: 1; border-radius: 16px; overflow: hidden; max-width: 200px; }
.cmp-nm { font-weight: 600; color: var(--text); text-decoration: none; line-height: 1.35; font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cmp-x { position: absolute; top: 6px; right: 6px; z-index: 2; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; font-size: 16px; }
.cmp-tabla b.mejor { color: var(--good); }
.cmp-tabla { table-layout: fixed; }
.cmp-tabla thead th:first-child, .cmp-tabla tbody th { width: 180px; }
.cmp-tabla thead th { vertical-align: top; }
.cmp-head { max-width: 220px; }
.cmp-head .thumb { width: 100%; max-width: none; }
.cmp-nm { min-height: calc(3 * 1.35em); }
.cmp-head .btn { width: 100%; }
@media (max-width: 640px) { .cmp-tabla { min-width: calc(104px + var(--n) * 156px); font-size: 13px; } .cmp-tabla thead th:first-child, .cmp-tabla tbody th { width: 104px; } .cmp-tabla th, .cmp-tabla td { padding: 10px 10px; } .cmp-nm { font-size: 13px; } .cmp-x { width: 26px; height: 26px; top: 4px; right: 4px; } }
.mejor-tag { display: block; font-size: 11px; color: var(--good); font-weight: 700; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.juntos { margin: 28px 0 8px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.jt-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 14px; }
.jt-it { position: relative; display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; width: 250px; padding: 10px; border: 1px solid var(--line); border-radius: 16px; cursor: pointer; transition: border-color .2s, opacity .2s; }
.jt-it:has(input:not(:checked)) { opacity: .5; }
.jt-it input { position: absolute; top: 10px; right: 10px; accent-color: var(--brass); width: 18px; height: 18px; }
.jt-it .thumb { grid-row: span 2; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; }
.jt-nm { font-size: 13px; line-height: 1.3; padding-right: 22px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jt-nm small { display: block; color: var(--brass); font-weight: 700; font-size: 11px; }
.jt-it b { font-size: 14px; }
.jt-plus { font-size: 22px; color: var(--muted); }
.jt-tot { display: grid; gap: 4px; margin-left: auto; min-width: 210px; }
.jt-tot span { font-size: 13px; color: var(--muted); }
.jt-tot b { font-size: 24px; }
@media (max-width: 760px) { .jt-it { width: 100%; } .jt-plus { width: 100%; text-align: center; margin: -6px 0; } .jt-tot { margin: 6px 0 0; width: 100%; } }
#gmain { cursor: zoom-in; }
#gmain.zoom img.ph-img { transform: scale(2); transform-origin: var(--zx, 50%) var(--zy, 50%); transition: transform .1s; }
#gmain img.ph-img { transition: transform .25s var(--ease); }
.lbox { position: fixed; inset: 0; z-index: 200; background: rgba(10, 8, 6, .92); display: grid; place-items: center; animation: fadeIn .2s; outline: none; }
@keyframes fadeIn { from { opacity: 0; } }
.lb-stage { width: min(92vw, 1000px); height: min(84vh, 1000px); display: grid; place-items: center; overflow: hidden; border-radius: 24px; background: var(--stage); }
.lb-stage img { max-width: 92%; max-height: 92%; object-fit: contain; cursor: zoom-in; transition: transform .2s; }
.lb-stage.z img { transform: scale(2.4); transform-origin: var(--zx, 50%) var(--zy, 50%); cursor: zoom-out; }
.lb-x, .lb-n { position: absolute; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; backdrop-filter: blur(8px); }
.lb-x { top: 18px; right: 18px; }
.lb-n.prev { left: 18px; } .lb-n.next { right: 18px; }
.lb-dots { position: absolute; bottom: 18px; display: flex; gap: 8px; }
.lb-dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.35); cursor: pointer; }
.lb-dots button.on { background: #fff; }
.copympn { border: 0; background: none; padding: 2px 6px; border-radius: 8px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.copympn:hover { background: var(--tile-a); color: var(--text); }
a.brand { text-decoration: none; }
a.brand:hover { text-decoration: underline; }
.pdp-tools { flex-wrap: wrap; }
.pdp-tools [data-cmp].on, .pdp-tools [data-cmp][aria-pressed="true"] { color: var(--brass); }
.buybar { position: fixed; left: 0; right: 0; top: 0; z-index: 55; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-110%); transition: transform .3s var(--ease-out); }
.buybar.on { transform: none; }
.buybar .wrap { display: flex; align-items: center; gap: 14px; padding-top: 10px; padding-bottom: 10px; }
.buybar .thumb { width: 44px; height: 44px; border-radius: 10px; overflow: hidden; flex: none; }
.bb-nm { display: grid; min-width: 0; flex: 1; font-size: 13px; line-height: 1.35; }
.bb-nm b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
.bb-nm .stock { font-size: 12px; }
@media (max-width: 640px) { .buybar { top: auto; bottom: 0; transform: translateY(110%); border-top: 1px solid var(--line); border-bottom: 0; padding-bottom: env(safe-area-inset-bottom); } .buybar .thumb { display: none; } }
.totop { position: fixed; right: 24px; bottom: 96px; z-index: 50; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); box-shadow: var(--shadow); display: grid; place-items: center; cursor: pointer; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .25s, transform .25s; }
.totop.on { opacity: 1; transform: none; pointer-events: auto; }
body.con-cmp .toast { bottom: 100px; }
.toast .undo { margin-left: 8px; color: var(--brass-hi); font-weight: 700; background: none; border: 0; cursor: pointer; text-decoration: underline; font: inherit; }

.corregida { margin: -4px 0 8px; font-size: 14px; color: var(--muted); }
.corregida b { color: var(--brass); }
.llega { display: flex; gap: 8px; align-items: center; margin-top: 8px; font-size: 13.5px; color: var(--ink-2, #3b4252); }
.llega svg { width: 18px; height: 18px; flex: none; color: #0f8a5f; }
.llega b { color: #0f8a5f; font-weight: 700; }
.llega.cart { margin: 4px 0 2px; padding: 10px 12px; border-radius: 12px; background: #e9f8f1; }
.toast .tenvio { display: block; margin-top: 4px; font-size: 12.5px; opacity: .85; }
.toast .tmeter { display: block; height: 4px; margin-top: 6px; border-radius: 4px; background: rgba(255,255,255,.2); overflow: hidden; }
.toast .tmeter i { display: block; height: 100%; background: #2fd38f; border-radius: 4px; }
.card .cpp { display: block; font-size: 11.5px; font-weight: 600; color: #0f8a5f; margin-top: 2px; }
.cpp-pdp { display: inline-flex; gap: 10px; align-items: baseline; margin-top: 12px; padding: 8px 14px; border-radius: 12px; background: #e9f8f1; color: #0b6b4a; font-size: 14px; }
.cpp-pdp span { color: #2f7d62; font-size: 13px; }
.compat-pdp { display: grid; gap: 4px; margin-top: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); font-size: 14px; max-width: 560px; }
.compat-pdp span { color: var(--muted); line-height: 1.5; }
.compat-pdp a { font-size: 13px; font-weight: 600; color: var(--brass); text-decoration: none; }
.tbusca { display: flex; gap: 10px; margin: 18px 0 14px; max-width: 640px; }
.tbusca input { flex: 1; min-width: 0; height: 52px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font: inherit; font-size: 16px; }
.tbusca input:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 5px var(--brass-soft); }
.toner .grid { margin-top: 6px; }
.price s.antes { display: inline-block; margin-left: 8px; font-size: .58em; font-weight: 500; color: var(--muted); text-decoration-thickness: 1.5px; }
.promo-pdp { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-bottom: 8px; }
.promo-pdp b { background: #e8380d; color: #fff; font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 999px; letter-spacing: .01em; }
.promo-pdp span { font-size: 13px; color: var(--muted); font-weight: 600; }
.pdp .brandline { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pdp .brandline .brand { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); font-weight: 700; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 12px 24px; font-size: 14px; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--line); }
.specs dt { color: var(--muted); } .specs dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.buy { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--surface); }
.qty button { border: 0; background: transparent; width: 42px; height: 48px; cursor: pointer; font-size: 18px; transition: background .2s; }
.qty button:hover { background: var(--tile-a); }
.qty input { width: 44px; border: 0; text-align: center; background: transparent; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.qty.sm button { height: 34px; width: 32px; } .qty.sm input { width: 34px; }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.perk { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 15px; border-radius: 16px; background: var(--tile-a); font-size: 13.5px; }
.perk svg { color: var(--brass); margin-top: 2px; } .perk b { display: block; font-weight: 600; } .perk span { color: var(--muted); }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; gap: 28px; } .gallery { position: static; } }
@media (max-width: 420px) { .perks { grid-template-columns: 1fr; } }

.two { display: grid; grid-template-columns: 1.45fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .two { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 28px; display: grid; gap: 16px; min-width: 0; box-shadow: var(--shadow); }
.panel.sticky { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 150px); }
@media (max-width: 900px) { .panel.sticky { position: static; } }
.panel h2 { font-size: 24px; font-weight: 500; }
.line { display: grid; grid-template-columns: 80px 1fr auto; gap: 16px; align-items: center; padding-block: 16px; border-bottom: 1px solid var(--line); animation: enter .45s var(--ease-out) both; }
.line:first-child { padding-top: 0; } .line:last-child { border-bottom: 0; padding-bottom: 0; }
.line .thumb { aspect-ratio: 1; border-radius: 16px; }
.line .nm { font-size: 14.5px; min-width: 0; display: grid; gap: 4px; }
.line .nm a { text-decoration: none; font-weight: 500; }
.line .rt { display: grid; gap: 8px; justify-items: end; }
@media (max-width: 520px) { .line { grid-template-columns: 64px 1fr; } .line .rt { grid-column: 1 / -1; grid-template-columns: auto 1fr auto; align-items: center; justify-items: start; } .line .rt b { justify-self: end; } .line .rt { grid-template-columns: auto 1fr; } .line .rt .qty { flex: none; } .line .rt .l-acts { grid-column: 1 / -1; justify-self: end; gap: 18px; } }
.link { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 13px; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; font-variant-numeric: tabular-nums; font-size: 14.5px; }
.totals span:nth-child(odd) { color: var(--muted); }
.totals .grand { font-family: var(--f-display); font-weight: 600; font-size: 26px; letter-spacing: -0.02em; padding-top: 14px; border-top: 1px solid var(--line); color: var(--text) !important; }
.meter { height: 6px; border-radius: 99px; background: var(--tile-b); overflow: hidden; }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--brass), var(--brass-hi)); border-radius: inherit; transition: width .8s var(--ease-out); }
form.f { display: grid; gap: 14px; }
form.f label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
form.f input, form.f select, form.f textarea { border: 1px solid var(--line); background: var(--bg); border-radius: 14px; padding: 13px 15px; font-weight: 400; width: 100%; color: var(--text); transition: border-color .2s, box-shadow .2s, background .2s; }
form.f input:focus, form.f select:focus, form.f textarea:focus { outline: none; border-color: var(--brass); background: var(--surface); box-shadow: 0 0 0 5px var(--brass-soft); }
form.f .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { form.f .row { grid-template-columns: 1fr; } }
.check { display: flex !important; gap: 10px; align-items: center; color: var(--text) !important; }
.check input { width: 18px !important; height: 18px; accent-color: var(--brass); }
.pay { display: flex; gap: 6px; flex-wrap: wrap; }
.pay span { border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; font-size: 12px; color: var(--muted); font-weight: 600; }
.ok { border: 1px solid color-mix(in srgb, var(--good) 35%, transparent); background: color-mix(in srgb, var(--good) 8%, var(--surface)); border-radius: 18px; padding: 18px; display: grid; gap: 10px; animation: enter .5s var(--ease-out) both; }
.ok b { font-family: var(--f-display); font-weight: 600; }
pre.quote { white-space: pre-wrap; font-family: var(--f-mono); font-size: 12.5px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin: 0; overflow-x: auto; }
.prose { max-width: 62ch; display: grid; gap: 16px; align-content: start; }
.prose h1 { font-size: clamp(34px, 4.4vw, 56px); font-weight: 400; }
.prose h2 { font-size: 24px; margin-top: 12px; font-weight: 500; }
.prose p { color: var(--muted); }

footer { background: var(--ink); color: var(--on-ink); margin-top: 40px; }
footer .logo { color: var(--on-ink); }
footer .cols { padding-block: 70px 44px; display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; font-size: 14px; }
footer h4 { margin: 0 0 16px; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass-hi); }
footer a { display: block; text-decoration: none; color: var(--on-ink-muted); padding: 5px 0; transition: color .2s, transform .3s var(--ease-out); }
footer .cols a:hover { color: var(--on-ink); transform: translateX(4px); }
footer p { color: var(--on-ink-muted); margin-bottom: 10px; max-width: 40ch; }
footer .legal { border-top: 1px solid rgba(255,255,255,.08); padding-block: 22px; font-size: 12.5px; color: var(--on-ink-muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
footer .big { font-family: var(--f-display); font-weight: 400; font-size: clamp(56px, 13vw, 200px); line-height: .85; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1px rgba(246,241,233,.16); padding-block: 10px 0; white-space: nowrap; overflow: hidden; user-select: none; }
footer .big em { -webkit-text-stroke: 1px rgba(240,138,60,.45); }
@media (max-width: 1080px) and (min-width: 761px) { footer .cols { grid-template-columns: repeat(4, 1fr); } footer .cols > div:first-child { grid-column: 1 / -1; } footer .cols > div:first-child p { max-width: 70ch; } }
@media (max-width: 760px) { footer .cols { grid-template-columns: 1fr 1fr; } footer .cols > div:first-child { grid-column: 1 / -1; } }
.news { border-bottom: 1px solid rgba(255,255,255,.08); }
.news .wrap { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding-block: 48px; }
.news h3 { font-size: clamp(26px, 3vw, 38px); color: var(--on-ink); font-weight: 400; } .news h3 em { color: var(--brass-hi); }
.news p { color: var(--on-ink-muted); margin-top: 8px; font-size: 14.5px; }
.news form { display: flex; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 4px; min-width: min(440px, 100%); transition: border-color .3s; }
.news form:focus-within { border-color: var(--brass-hi); }
.news input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 16px; color: var(--on-ink); }
.news input::placeholder { color: var(--on-ink-muted); } .news input:focus { outline: none; }
@media (max-width: 760px) { .news .wrap { grid-template-columns: 1fr; } }
footer .paybar { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
footer .paybar span { border: 1px solid rgba(255,255,255,.14); border-radius: 8px; padding: 4px 10px; font-size: 11px; color: var(--on-ink-muted); font-weight: 700; letter-spacing: .06em; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--on-ink); padding: 13px 18px 13px 14px; border-radius: 16px; z-index: 50; box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: center; font-size: 14px; animation: toast .5s var(--ease-out) both; max-width: calc(100vw - 32px); }
.toast svg { color: #5fcf95; flex: none; }
.toast a { color: var(--brass-hi); font-weight: 600; margin-left: 6px; }
@keyframes toast { from { opacity: 0; transform: translate(-50%, 18px) scale(.96); } to { opacity: 1; transform: translate(-50%, 0); } }
.fly { position: fixed; z-index: 60; width: 46px; height: 46px; border-radius: 50%; background: var(--brass); box-shadow: 0 10px 24px -8px rgba(211,90,18,.7); pointer-events: none; display: grid; place-items: center; color: #fff; }

.rv { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); }
.rv.in { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.rv.in .stagger > *, .stagger.in > * { opacity: 1; transform: none; }

/* Nova: asistente integrado */
.spark { display: inline-block; width: 1em; height: 1em; flex: none; }
.javi-av { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; background: radial-gradient(circle at 30% 25%, #ffb37a, var(--brass) 55%, #c4520c); box-shadow: 0 4px 14px rgba(238,118,35,.35); }
.javi-av.lg { width: 48px; height: 48px; }
.javibtn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid color-mix(in srgb, var(--brass) 55%, transparent); background: color-mix(in srgb, var(--brass) 12%, transparent); color: var(--on-ink) !important; border-radius: 999px; padding: 7px 14px 7px 8px; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: background .2s, transform .2s var(--ease); }
.javibtn:hover { background: color-mix(in srgb, var(--brass) 22%, transparent); transform: translateY(-1px); }
.javibtn .javi-av { width: 24px; height: 24px; box-shadow: none; }
@media (max-width: 520px) { .javibtn span.t { display: none; } .javibtn { padding: 5px; } }
.sug a.javi-row { grid-template-columns: 40px 1fr; background: color-mix(in srgb, var(--brass) 9%, transparent); margin-bottom: 4px; }
.sug a.javi-row .ic { background: none; }
.sug a.javi-row b { color: var(--brass); font-weight: 700; }

.jcard { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 18px; border-radius: 18px; border: 1px solid color-mix(in srgb, var(--brass) 30%, var(--line)); background: linear-gradient(135deg, var(--brass-soft), transparent 65%), var(--surface); }
.jcard b { font-family: var(--f-display); display: block; margin-bottom: 2px; }
.jcard p { color: var(--muted); font-size: 14px; }
.chipsq { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.chipsq button { border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 999px; padding: 7px 12px; font-size: 13px; cursor: pointer; transition: border-color .2s, background .2s; text-align: left; }
.chipsq button:hover { border-color: var(--brass); background: var(--brass-soft); }

.jscrim { position: fixed; inset: 0; background: rgba(8,18,31,.45); backdrop-filter: blur(2px); z-index: 30; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.jdrawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); z-index: 31; background: var(--bg); display: grid; grid-template-rows: auto 1fr auto; transform: translateX(104%); transition: transform .45s var(--ease), box-shadow .45s; box-shadow: none; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
body.javi-open .jscrim { opacity: 1; pointer-events: auto; }
body.javi-open .jdrawer { transform: none; box-shadow: -30px 0 80px rgba(0,0,0,.25); }
body.javi-open .wa { opacity: 0; pointer-events: none; }
.jhead { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--ink); color: var(--on-ink); }
.jhead div { flex: 1; min-width: 0; } .jhead b { font-family: var(--f-display); font-size: 16px; display: block; } .jhead small { color: var(--on-ink-muted); font-size: 12px; }
.jhead button { border: 0; background: rgba(255,255,255,.08); color: var(--on-ink); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 18px; flex: none; }
.jhead button:hover { background: rgba(255,255,255,.16); }
.jlog { overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 14px; overscroll-behavior: contain; }
.jmsg { max-width: 92%; animation: enter .35s var(--ease) both; font-size: 14.5px; line-height: 1.55; }
.jmsg.me { align-self: flex-end; background: var(--ink); color: var(--on-ink); padding: 10px 14px; border-radius: 16px 16px 4px 16px; }
.jmsg.bot { align-self: flex-start; display: grid; grid-template-columns: 30px 1fr; gap: 10px; max-width: 100%; }
.jmsg.bot .javi-av { width: 30px; height: 30px; box-shadow: none; }
.jmsg.bot .txt { background: var(--surface); border: 1px solid var(--line); padding: 11px 14px; border-radius: 4px 16px 16px 16px; min-width: 0; }
.jmsg.bot .txt p + p { margin-top: 8px; }
.jmsg.bot .txt b { font-weight: 650; }
.jprods { display: grid; gap: 8px; margin-top: 10px; }
.jprod { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); text-decoration: none; }
.jprod .thumb { width: 52px; height: 52px; border-radius: 10px; aspect-ratio: 1; }
.jprod .nm { min-width: 0; font-size: 13px; line-height: 1.35; }
.jprod .nm a { text-decoration: none; font-weight: 550; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jprod .nm small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.jprod .nm small b { color: var(--text); font-weight: 700; }
.jprod .qbtn { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 10px; font-size: 12.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.jprod .qbtn:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.jall { margin-top: 10px; width: 100%; }
.jthink { display: inline-flex; gap: 5px; padding: 4px 0; } .jthink i { width: 7px; height: 7px; border-radius: 50%; background: var(--brass); animation: jdot 1.1s infinite ease-in-out; } .jthink i:nth-child(2) { animation-delay: .15s; } .jthink i:nth-child(3) { animation-delay: .3s; }
@keyframes jdot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }
.jfoot { padding: 12px 14px 14px; border-top: 1px solid var(--line); background: var(--surface); display: grid; gap: 8px; }
.jfoot form { display: flex; gap: 8px; align-items: end; }
.jfoot textarea { flex: 1; resize: none; border: 1px solid var(--line); background: var(--bg); color: var(--text); border-radius: 14px; padding: 11px 12px; max-height: 120px; min-height: 44px; line-height: 1.4; }
.jfoot textarea:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 4px var(--brass-soft); }
.jfoot .send { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--brass); color: var(--on-brass); cursor: pointer; display: grid; place-items: center; flex: none; }
.jfoot .send:disabled { opacity: .5; cursor: default; }
.jfoot small { color: var(--muted); font-size: 11.5px; text-align: center; }

/* Ajustes de Nova para el encabezado claro */
.javibtn { color: var(--text) !important; background: var(--surface); border-color: var(--line); padding: 6px 16px 6px 6px; }
.javibtn:hover { background: var(--surface); border-color: var(--brass); }
.javibtn .javi-av { width: 30px; height: 30px; }
.javi-av { background: radial-gradient(circle at 30% 25%, #ffb27a, var(--brass) 55%, #8f3605); }
.jhead b { font-family: var(--f-display); font-weight: 600; font-size: 18px; }
.jcard { border-radius: 22px; }
.jcard b { font-family: var(--f-display); font-weight: 600; font-size: 17px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .rv, .stagger > * { opacity: 1; transform: none; }
}
/* ===== Java Office · moderno: blanco frío, azul noche y el naranja de la marca ===== */
:root {
  --ink: #0b1220; --ink-2: #111a2e; --ink-3: #22304d;
  --brass: #fc5000; --brass-hi: #ff7a33; --brass-soft: rgba(252, 80, 0, .09); --on-brass: #ffffff;
  --bg: #f5f7fb; --surface: #ffffff; --tile-a: #eef2f8; --tile-b: #e2e8f2; --line: #e3e8f0;
  --text: #0b1220; --muted: #5a6579; --good: #0f9f63; --warn: #c2620a;
  --on-ink: #f4f7fc; --on-ink-muted: rgba(244, 247, 252, .66); --stage: #ffffff;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 10px 30px -14px rgba(15, 23, 42, .16);
  --shadow-lg: 0 2px 6px rgba(15, 23, 42, .05), 0 30px 60px -22px rgba(15, 23, 42, .30);
  --f-display: "Sora", "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: var(--f-display);
  --k-papeleria: #3b5bdb; --k-impresion: #d6336c; --k-tecnologia: #6741d9; --k-mobiliario: #0ca678; --k-empaque: #fc5000; --k-x: #5a6579;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --ink: #04070e; --ink-2: #0c1322; --ink-3: #1b2740; --brass: #ff5c14; --brass-hi: #ff8a4d; --brass-soft: rgba(255, 92, 20, .14); --on-brass: #ffffff;
  --bg: #080c16; --surface: #0f1626; --tile-a: #151e31; --tile-b: #1b263d; --line: #222e47;
  --text: #e9eef7; --muted: #94a1b8; --good: #3ddc97; --warn: #ffb35c; --stage: #f5f7fb;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px -12px rgba(0,0,0,.6); --shadow-lg: 0 30px 60px -20px rgba(0,0,0,.75);
} }
:root[data-theme="dark"] {
  --ink: #04070e; --ink-2: #0c1322; --ink-3: #1b2740; --brass: #ff5c14; --brass-hi: #ff8a4d; --brass-soft: rgba(255, 92, 20, .14); --on-brass: #ffffff;
  --bg: #080c16; --surface: #0f1626; --tile-a: #151e31; --tile-b: #1b263d; --line: #222e47;
  --text: #e9eef7; --muted: #94a1b8; --good: #3ddc97; --warn: #ffb35c; --stage: #f5f7fb;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px -12px rgba(0,0,0,.6); --shadow-lg: 0 30px 60px -20px rgba(0,0,0,.75);
}

/* Tipografía: geométrica y limpia; los acentos van en color, no en cursiva */
h1, h2, h3 { font-weight: 600; letter-spacing: -0.035em; }
.hero h1 { font-weight: 700; letter-spacing: -0.045em; line-height: 1.02; }
.novaband h2, .pkg h2, .b2b h2 { font-weight: 600; }
em, .serif { font-family: inherit; font-style: normal; font-weight: inherit; }
h1 em, h2 em, h3 em { background: linear-gradient(100deg, var(--brass), #ff2e63 60%, #ff8a3d); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.novaband h2 em { background: linear-gradient(100deg, #ffb07a, #ff6b8b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brands span { font-style: normal; font-weight: 700; letter-spacing: -0.02em; font-size: 22px; }
.step .num { font-style: normal; font-weight: 800; background: linear-gradient(135deg, var(--brass), #ff2e63); -webkit-background-clip: text; background-clip: text; color: transparent; }
.thumb .ph-brand { font-style: normal; font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.lt b, .stack .sc .cap b, .kit h3 { font-weight: 700; letter-spacing: -0.03em; }

/* Logo adaptado: símbolo de 4 piezas que se arma, JAVA en tinta, OFFICE en naranja */
.logo { gap: 0; }
.logo .jo { height: 50px; width: auto; display: block; overflow: visible; }
.logo .jo .sym { fill: var(--brass); }
.logo .jo .sym polygon { transform-box: view-box; transform-origin: 353px 260px; transition: transform .7s var(--ease-out); animation: armar 1.1s var(--ease-out) both; }
.logo .jo .sym polygon:nth-child(1) { --dx: -60px; --dy: -60px; } .logo .jo .sym polygon:nth-child(2) { --dx: 60px; --dy: -60px; animation-delay: .06s; }
.logo .jo .sym polygon:nth-child(3) { --dx: -60px; --dy: 60px; animation-delay: .12s; } .logo .jo .sym polygon:nth-child(4) { --dx: 60px; --dy: 60px; animation-delay: .18s; }
@keyframes armar { from { transform: translate(var(--dx), var(--dy)) scale(.6); opacity: 0; } }
.logo:hover .jo .sym polygon { transform: translate(calc(var(--dx) * .22), calc(var(--dy) * .22)); }
.logo .jo .jw { fill: var(--text); transition: fill .3s; }
.logo .jo .ow { fill: var(--brass); font-family: Montserrat, "Plus Jakarta Sans", "Arial Black", sans-serif; font-weight: 800; }
footer .logo .jo .jw { fill: #fff; }
footer .logo .jo { height: 54px; }
@media (max-width: 520px) { .logo .jo { height: 38px; } }

/* Ilustraciones vivas */
.fl { animation: flo 6s ease-in-out infinite; transform-box: fill-box; }
.fl.f2 { animation-duration: 7s; animation-delay: -2s; } .fl.f3 { animation-duration: 5.5s; animation-delay: -3.5s; }
@keyframes flo { 50% { transform: translateY(-7px) rotate(-1.5deg); } }
@media (prefers-reduced-motion: reduce) { .fl { animation: none; } .logo .jo .sym polygon { animation: none; } }

/* Tarjetas de línea a color */
.lt { color: #fff !important; background: var(--k, #333); }
.lt::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(5, 10, 25, .28)); pointer-events: none; }
.lt.t1, .sc-art.t1 { background: radial-gradient(120% 90% at 85% 0%, #7b9bff 0, transparent 55%), linear-gradient(150deg, #4c6ef5, #2338b8); }
.lt.t2, .sc-art.t2 { background: radial-gradient(120% 90% at 85% 0%, #ff8fb8 0, transparent 55%), linear-gradient(150deg, #e64980, #6a2ad9); }
.lt.t3, .sc-art.t3 { background: radial-gradient(90% 70% at 70% 10%, rgba(94, 234, 212, .35) 0, transparent 60%), linear-gradient(150deg, #16234a, #070c1a); }
.lt.t4, .sc-art.t4 { background: radial-gradient(120% 90% at 85% 0%, #63e6be 0, transparent 55%), linear-gradient(150deg, #12b886, #06694d); }
.lt.t5, .sc-art.t5 { background: radial-gradient(120% 90% at 85% 0%, #ffd8a8 0, transparent 55%), linear-gradient(150deg, #ff9b3d, #e8470b); }
.lt .art { inset: 6% 6% 40% 6%; }
.lt:nth-child(1) .art, .lt:nth-child(2) .art { inset: 5% 14% 38% 14%; }
.lt .art::before { display: none; }
.lt .art svg { width: 100%; height: 100%; max-width: none; color: inherit; opacity: 1; filter: drop-shadow(0 18px 24px rgba(5, 10, 30, .25)); }
.lt:hover .art { transform: scale(1.06) translateY(-4px); }
.lt small { opacity: .85; }
.lt span.d { opacity: .9; }
.lt .subs i { background: rgba(255, 255, 255, .18); color: #fff; backdrop-filter: blur(4px); }
.lt .go { background: rgba(255, 255, 255, .22); color: #fff; backdrop-filter: blur(6px); }
.lt:hover .go { background: #fff; color: var(--ink); }
@media (max-width: 900px) { .lt .art, .lt:nth-child(1) .art, .lt:nth-child(2) .art { inset: 6% 8% 42% 8%; } }
@media (max-width: 520px) { .lt .art, .lt:nth-child(1) .art, .lt:nth-child(2) .art { inset: 8% 6% 46% 6%; } .lt b { font-size: 20px; } }

/* Tarjetas del héroe con ilustración */
.stack .sc .thumb.sc-art { display: grid; place-items: center; padding: 8%; }
.stack .sc .thumb.sc-art svg { width: 100%; height: 100%; filter: drop-shadow(0 16px 22px rgba(5, 10, 30, .25)); }
.stack .sc:hover { box-shadow: 0 40px 80px -30px rgba(15, 23, 42, .45); }

/* Placeholder de producto teñido por línea, mientras llega la foto */
.ph.k-papeleria { --k: var(--k-papeleria); } .ph.k-impresion { --k: var(--k-impresion); } .ph.k-tecnologia { --k: var(--k-tecnologia); }
.ph.k-mobiliario { --k: var(--k-mobiliario); } .ph.k-empaque { --k: var(--k-empaque); } .ph.k-x { --k: var(--k-x); }
.thumb .ph { background: radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--k) 14%, var(--surface)) 0, color-mix(in srgb, var(--k) 5%, var(--surface)) 70%); }
.thumb .ph-ic { color: var(--k); background: var(--surface); box-shadow: 0 18px 34px -20px color-mix(in srgb, var(--k) 60%, transparent), 0 0 0 8px color-mix(in srgb, var(--k) 7%, transparent); }
.thumb .ph-brand { color: color-mix(in srgb, var(--k) 70%, var(--muted)); }
.thumb { background: var(--tile-a); }

/* Botones y tarjetas: todo centrado, alineado y sin desbordes */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; line-height: 1; white-space: nowrap; }
.btn svg { flex: none; display: block; }
.btn.brass { box-shadow: 0 12px 26px -12px rgba(252, 80, 0, .65); }
.quick { display: inline-flex; align-items: center; justify-content: center; gap: 6px; line-height: 1; }
.quick svg { flex: none; display: block; }
.card .foot { align-items: center; }
.card .name { font-weight: 600; letter-spacing: -0.005em; }
.kit .tot { flex-wrap: wrap; }
.mega .feat a, .mega .feat .thumb { background: var(--tile-a); }
.mega { box-shadow: 0 30px 50px -30px rgba(15, 23, 42, .3); }
.kit .pile .thumb { box-shadow: 0 6px 14px -8px rgba(15, 23, 42, .4); }
.fly { box-shadow: 0 10px 24px -8px rgba(252, 80, 0, .7); }
.novaband::before { background: radial-gradient(circle, rgba(252, 80, 0, .32), transparent 65%); }
.novaband::after { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(103, 65, 217, .35), transparent 65%); animation: drift 18s ease-in-out infinite reverse; }

/* Empresas: bloque azul noche */
.b2b { background: radial-gradient(600px 300px at 100% 0%, rgba(103, 65, 217, .35), transparent 70%), radial-gradient(500px 300px at 0% 100%, rgba(252, 80, 0, .25), transparent 70%), linear-gradient(135deg, #0f1a33, #0a1022); color: #f4f7fc; }
.b2b .eyebrow { color: #ff9a62; }
.b2b p { color: rgba(244, 247, 252, .72); }
.b2b li svg { color: #ff9a62; }
.b2b li span { color: rgba(244, 247, 252, .6); }

/* Java Packaging: cálido pero limpio */
.pkg { color: #1a1206; background: radial-gradient(500px 260px at 100% 0%, rgba(255, 255, 255, .7), transparent 70%), linear-gradient(135deg, #fff1e6, #ffd9bd); }
.pkg h2 em { background: none; color: #e8470b; -webkit-text-fill-color: #e8470b; }
.pkg p { color: #5b4636; } .pkg .eyebrow { color: #c2410c; }
.pkg-art { background: linear-gradient(150deg, #ff9b3d, #e8470b); padding: 10%; box-shadow: 0 24px 44px -24px rgba(232, 71, 11, .7); }
.pkg-art svg { width: 100%; height: 100%; }
.pkg:hover .pkg-art { transform: rotate(-4deg) scale(1.04); }

/* Ajustes de alineación */
.b2b li { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); align-items: center; }
.b2b li:hover { background: rgba(255, 255, 255, .1); }
.b2b li svg { margin-top: 0; }
.hero h1 { font-size: clamp(42px, 5.4vw, 80px); }
.lt { min-height: 400px; }
.lt:nth-child(1), .lt:nth-child(2) { min-height: 420px; }
.lt .art { inset: 5% 8% 50% 8%; }
.lt:nth-child(1) .art, .lt:nth-child(2) .art { inset: 4% 16% 44% 16%; }
.lt:nth-child(n+3) .subs { display: none; }
.kit { display: flex; flex-direction: column; }
.kit h3 { min-height: 2.1em; display: flex; align-items: flex-start; }
.kit p { min-height: 3.1em; }
.kit ul { flex: 1; align-content: start; }
.kit .tot { margin-top: 6px; }
@media (max-width: 900px) { .lt, .lt:nth-child(1), .lt:nth-child(2) { min-height: 300px; } .lt .art, .lt:nth-child(1) .art, .lt:nth-child(2) .art { inset: 5% 8% 48% 8%; } }
@media (max-width: 520px) { .lt, .lt:nth-child(1), .lt:nth-child(2) { min-height: 230px; } .lt .art, .lt:nth-child(1) .art, .lt:nth-child(2) .art { inset: 6% 6% 46% 6%; } .kit h3, .kit p { min-height: 0; } }

.rot, .rot i { font-style: normal; }
.rot i { background: linear-gradient(100deg, var(--brass), #ff2e63 70%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .05em; }
.pagehead h1 { font-weight: 700; }
.thumb .ph { background: radial-gradient(circle at 50% 40%, rgba(255,255,255,.35), transparent 60%); }
.thumb .ph.k-papeleria { background-color: #4c6ef5; background-image: radial-gradient(120% 90% at 85% 0%, #7b9bff 0, transparent 55%), linear-gradient(150deg, #4c6ef5, #2338b8); }
.thumb .ph.k-impresion { background-image: radial-gradient(120% 90% at 85% 0%, #ff8fb8 0, transparent 55%), linear-gradient(150deg, #e64980, #6a2ad9); }
.thumb .ph.k-tecnologia { background-image: radial-gradient(90% 70% at 70% 10%, rgba(94,234,212,.35) 0, transparent 60%), linear-gradient(150deg, #16234a, #070c1a); }
.thumb .ph.k-mobiliario { background-image: radial-gradient(120% 90% at 85% 0%, #63e6be 0, transparent 55%), linear-gradient(150deg, #12b886, #06694d); }
.thumb .ph.k-empaque { background-image: radial-gradient(120% 90% at 85% 0%, #ffd8a8 0, transparent 55%), linear-gradient(150deg, #ff9b3d, #e8470b); }
.thumb .ph.k-x { background: radial-gradient(circle at 50% 42%, var(--tile-a), var(--tile-b)); }
.thumb .ph-ill { width: 80%; height: 66%; display: grid; place-items: center; margin-top: -8%; transition: transform .8s var(--ease-out); }
.thumb .ph-ill svg { width: 100%; height: 100%; filter: drop-shadow(0 14px 18px rgba(5,10,30,.25)); }
.card:hover .thumb .ph-ill { transform: scale(1.06) translateY(-3px); }
.thumb .ph:has(.ph-ill) .ph-brand { color: #fff; opacity: .9; bottom: 8%; }
.thumb .ph-ill .fl { animation-play-state: paused; }
.card:hover .thumb .ph-ill .fl { animation-play-state: running; }
/* Fotos recortadas: el producto flota sobre el color de su línea */
.thumb.lit:has(.ph-img.cut) { background: transparent; }
.thumb.lit:has(.ph-img.cut) .ph { opacity: 1; }
.thumb.lit:has(.ph-img.cut) .ph-ill, .thumb.lit:has(.ph-img.cut) .ph-ic, .thumb.lit:has(.ph-img.cut) .ph-brand { opacity: 0; }
.thumb.lit:has(.ph-img.cut) .ph::after { content: ""; position: absolute; left: 50%; top: 50%; width: 74%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.55), rgba(255,255,255,0) 68%); }
.thumb.lit:has(.ph-img.cut) .ph::before { content: ""; position: absolute; left: 22%; right: 22%; bottom: 9%; height: 7%; border-radius: 50%; background: rgba(5,10,30,.28); filter: blur(10px); }
.thumb .ph-img.cut { mix-blend-mode: normal; inset: 8%; width: 84%; height: 84%; filter: drop-shadow(0 0 1.2px rgba(255,255,255,.55)) drop-shadow(0 0 10px rgba(255,255,255,.12)) drop-shadow(0 18px 22px rgba(5,10,30,.28)); }
.card:hover .thumb.lit .ph-img.cut { transform: scale(1.07) translateY(-6px) rotate(-1.5deg); }
.thumb .ph.k-x ~ .ph-img.cut { filter: drop-shadow(0 14px 18px rgba(15,23,42,.18)); }
/* Fotos que no se pudieron recortar: tarjeta blanca flotando sobre el color de la línea */
.thumb.lit:has(.ph-img:not(.cut):not(.full)):has(.ph:not(.k-x)) { background: transparent; }
.thumb.lit:has(.ph-img:not(.cut):not(.full)) .ph:not(.k-x) { opacity: 1; }
.thumb.lit:has(.ph-img:not(.cut):not(.full)) .ph:not(.k-x) > * { opacity: 0; }
.thumb.lit .ph:not(.k-x) ~ .ph-img:not(.cut):not(.full) { mix-blend-mode: normal; inset: 14%; width: 72%; height: 72%; background: #fff; border-radius: 18px; padding: 6%; box-shadow: 0 24px 40px -18px rgba(5,10,30,.45); transform: rotate(-2deg); }
.card:hover .thumb.lit .ph:not(.k-x) ~ .ph-img:not(.cut):not(.full) { transform: rotate(0) scale(1.04) translateY(-4px); }
/* Vista 3D en la tarjeta */
/* La foto queda arriba del enlace de la tarjeta, pero deja pasar el clic; solo sus botones lo reciben */
.card .thumb { position: relative; z-index: 2; pointer-events: none; }
.card .thumb :is(button, a) { pointer-events: auto; }
.card .body :is(button, .quick, a:not(.name)) { position: relative; z-index: 2; }
.card .thumb { --px: 0; --py: 0; transform: perspective(800px) rotateY(calc(var(--px) * 13deg)) rotateX(calc(var(--py) * -12deg)); transition: transform .7s var(--ease-out); will-change: transform; }
.card .thumb.tilt { transition: transform .12s linear; }
.card .thumb .ph-img, .card .thumb .ph-ill { translate: calc(var(--px) * 16px) calc(var(--py) * 12px); transition: translate .7s var(--ease-out), transform 1s var(--ease-out), opacity .6s; }
.card .thumb.tilt .ph-img, .card .thumb.tilt .ph-ill { transition: translate .12s linear, transform 1s var(--ease-out), opacity .6s; }
.card .thumb .ph::before { translate: calc(var(--px) * -10px) 0; }
.card .thumb::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .4s; background: radial-gradient(60% 50% at calc(50% + var(--px) * 40%) calc(50% + var(--py) * 40%), rgba(255,255,255,.28), transparent 70%); mix-blend-mode: soft-light; }
.card .thumb.tilt::after { opacity: 1; }
.card:hover .thumb.lit .ph-img.cut { transform: scale(1.1) translateY(-8px); }
@media (prefers-reduced-motion: reduce) { .card .thumb { transform: none !important; } .card .thumb .ph-img, .card .thumb .ph-ill { translate: none; } }
/* ===== Carrusel de líneas en el héroe ===== */
.stack .sc { scale: var(--sc, 1); opacity: var(--op, 1); transition: transform .9s var(--ease-out), box-shadow .4s, opacity .6s, scale .9s var(--ease-out); cursor: pointer; }
.stack .sc[data-pos="0"] { --tx: 50%; --ty: 2%; --rz: 0deg; --d: 1.4; --sc: 1; --op: 1; z-index: 4; }
.stack .sc[data-pos="1"] { --tx: 94%; --ty: 14%; --rz: 9deg; --d: .9; --sc: .92; --op: 1; z-index: 3; }
.stack .sc[data-pos="-1"] { --tx: 6%; --ty: 14%; --rz: -9deg; --d: .6; --sc: .92; --op: 1; z-index: 3; }
.stack .sc[data-pos="2"] { --tx: 120%; --ty: 22%; --rz: 16deg; --d: .4; --sc: .8; --op: 0; z-index: 1; pointer-events: none; }
.stack .sc[data-pos="-2"] { --tx: -20%; --ty: 22%; --rz: -16deg; --d: .4; --sc: .8; --op: 0; z-index: 1; pointer-events: none; }
.stack:hover .sc[data-pos="0"] { --tx: 50%; --rz: 0deg; } .stack:hover .sc[data-pos="1"] { --tx: 100%; --rz: 11deg; } .stack:hover .sc[data-pos="-1"] { --tx: 0%; --rz: -11deg; }
.stack:hover .sc[data-pos="2"] { --tx: 120%; --rz: 16deg; } .stack:hover .sc[data-pos="-2"] { --tx: -20%; --rz: -16deg; }
.stack .sc:not([data-pos="0"]) .cap { opacity: .75; }
.stack .sc:not([data-pos="0"]):hover { --sc: .96; }
.stack .sc[data-pos="0"] .cap b::after { content: " →"; color: var(--brass); opacity: 0; transition: opacity .3s; }
.stack .sc[data-pos="0"]:hover .cap b::after { opacity: 1; }
.stack-ctl { position: absolute; left: 50%; bottom: -4px; transform: translateX(-50%); z-index: 7; display: flex; align-items: center; gap: 12px; padding: 6px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(10px); box-shadow: var(--shadow); }
.stack-ctl > button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; transition: transform .3s var(--ease-out), background .2s; }
.stack-ctl > button:hover { background: var(--brass); transform: scale(1.08); }
.stack-ctl > button:first-child svg { transform: rotate(180deg); }
.stack-ctl svg { width: 16px; height: 16px; display: block; }
.stack-ctl .dots { display: flex; gap: 6px; align-items: center; }
.stack-ctl .dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: var(--line); cursor: pointer; transition: width .4s var(--ease-out), background .3s; }
.stack-ctl .dots button.on { width: 26px; background: var(--brass); }
.stack .chip-float.b { bottom: 12%; }
@media (max-width: 960px) { .stack { margin-bottom: 20px; } }

/* ===== Barra de marcas interactiva ===== */
.brandbar { border-block: 1px solid var(--line); padding-block: 22px 26px; background: var(--surface); }
.bb-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.bb-hint { color: var(--muted); font-size: 13px; }
.bb-wrap { position: relative; }
.bb { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding: 6px max(22px, calc((100vw - 1280px) / 2 + 22px)); cursor: grab; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.bb::-webkit-scrollbar { display: none; }
.bb.drag { cursor: grabbing; user-select: none; }
.bb.drag .bm { pointer-events: none; }
.bm { flex: none; display: grid; gap: 3px; align-content: center; min-width: 172px; padding: 14px 18px; border-radius: 18px; border: 1px solid var(--line); background: var(--bg); text-decoration: none; color: var(--text); transition: transform .4s var(--ease-out), border-color .25s, box-shadow .3s, background .25s; }
.bm b { font-family: var(--f-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; line-height: 1.1; white-space: nowrap; }
.bm small { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
.bm i { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brass); opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .3s var(--ease-out); }
.bm:hover, .bm:focus-visible { transform: translateY(-4px); border-color: var(--brass); box-shadow: 0 16px 30px -18px rgba(252, 80, 0, .5); background: var(--surface); }
.bm:hover i, .bm:focus-visible i { opacity: 1; transform: none; }
.bm:hover b { color: var(--brass); }
.bm.osc { background: var(--ink); border-color: var(--ink); }
.bm.osc small { color: var(--on-ink-muted); }
.bm.osc:hover { background: var(--ink); }
:root:not([data-theme="dark"]) .bm:not(.osc) i { color: #c2410c; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .bm:not(.osc) i { color: var(--brass); } }
/* Modo oscuro: los logos a color van sobre una pastilla clara para que se lean (no se recolorean). */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .bm.con-logo:not(.osc), :root:not([data-theme="light"]) .bm.con-logo:not(.osc):hover { background: #f4f6fb; border-color: #f4f6fb; } :root:not([data-theme="light"]) .bm.con-logo:not(.osc) small { color: #4a5568; } :root:not([data-theme="light"]) .bm.con-logo:not(.osc) i { color: #c2410c; } }
:root[data-theme="dark"] .bm.con-logo:not(.osc), :root[data-theme="dark"] .bm.con-logo:not(.osc):hover { background: #f4f6fb; border-color: #f4f6fb; } :root[data-theme="dark"] .bm.con-logo:not(.osc) small { color: #4a5568; } :root[data-theme="dark"] .bm.con-logo:not(.osc) i { color: #c2410c; }
/* Tarjetas de marca: base clara igual para todas, logo con sus colores originales y acento del color de cada marca. */
.bm { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(155deg, #ffffff 0%, #ffffff 52%, color-mix(in srgb, var(--bc, #fc5000) 13%, #ffffff) 100%) !important; border: 1px solid color-mix(in srgb, var(--bc, #fc5000) 16%, #e6e9f1) !important; color: #0b1220 !important; box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 10px 24px -18px rgba(15, 23, 42, .35); }
.bm::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--bc, #fc5000), color-mix(in srgb, var(--bc, #fc5000) 30%, transparent)); opacity: .9; }
.bm::after { content: ""; position: absolute; z-index: -1; width: 140px; height: 140px; right: -50px; bottom: -70px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--bc, #fc5000) 28%, transparent), transparent); transition: transform .5s var(--ease-out); }
.bm:hover, .bm:focus-visible { transform: translateY(-5px); border-color: color-mix(in srgb, var(--bc, #fc5000) 55%, #ffffff) !important; box-shadow: 0 22px 40px -20px color-mix(in srgb, var(--bc, #fc5000) 60%, transparent) !important; }
.bm:hover::after { transform: scale(1.5); }
.bm small { color: #5b6475 !important; } .bm i { color: color-mix(in srgb, var(--bc, #fc5000) 78%, #000) !important; opacity: 1 !important; transform: none !important; } .bm b { color: #0b1220; } .bm:hover b { color: color-mix(in srgb, var(--bc, #fc5000) 80%, #000); }
.bm.osc .bm-logo { background: linear-gradient(135deg, #0b1220, color-mix(in srgb, var(--bc, #334155) 45%, #0b1220)); padding: 6px 10px; border-radius: 9px; box-sizing: content-box; height: 24px; }
.bm-logo[alt="Euromac"], .bm-logo[alt="PCM"] { height: 44px; margin-block: -7px; }
.mletra { margin: 0 0 28px; scroll-margin-top: 140px; } .mletra h2 { font-size: 22px; margin: 0 0 12px; color: var(--brass); }
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; } .mgrid .bm { min-width: 0; } .mgrid .bm i { opacity: 1; transform: none; }
@media (max-width: 640px) { .mgrid { grid-template-columns: 1fr 1fr; gap: 8px; } .mgrid .bm small { max-width: 100%; } }
.bm-logo { display: block; height: 30px; width: auto; max-width: 150px; object-fit: contain; object-position: left center; }
.bb-arr { position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); transition: background .2s, color .2s, transform .3s var(--ease-out); }
.bb-arr:hover { background: var(--ink); color: #fff; transform: scale(1.06); }
.bb-arr.l { left: max(10px, calc((100vw - 1280px) / 2 - 10px)); } .bb-arr.l svg { transform: rotate(180deg); }
.bb-arr.r { right: max(10px, calc((100vw - 1280px) / 2 - 10px)); }
.bb-arr svg { width: 18px; height: 18px; display: block; }
@media (max-width: 640px) { .bb-arr { display: none; } .bm { min-width: 150px; padding: 12px 14px; } .bm b { font-size: 17px; } .bm i { opacity: 1; transform: none; } }

/* ===== Página de marca ===== */
.mh-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; margin-top: 12px; }
.mh-c { text-align: center; display: grid; justify-items: center; gap: 8px; }
.mh-c .subs { justify-content: center; }
.mh-c .subs small { opacity: .6; margin-left: 4px; }
.mnav { display: grid; justify-items: center; gap: 8px; text-decoration: none; color: var(--muted); font-size: 13px; font-weight: 600; min-width: 84px; }
.mnav span { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; color: var(--text); transition: background .2s, color .2s, transform .35s var(--ease-out); box-shadow: var(--shadow); }
.mnav:not(.r) span svg { transform: rotate(180deg); }
.mnav:hover span { background: var(--brass); color: #fff; transform: scale(1.08); }
.mnav:hover { color: var(--text); }
.mgroup { padding-block: 36px 8px; scroll-margin-top: 140px; }
.mgroup h2 .cnt { font-size: .5em; color: var(--muted); font-weight: 600; vertical-align: middle; margin-left: 6px; }
@media (max-width: 640px) { .mh-row { grid-template-columns: 1fr 1fr; } .mh-c { grid-column: 1 / -1; grid-row: 1; } .mnav { min-width: 0; } .mnav span { width: 44px; height: 44px; } }

.bb-head { align-items: end; }
.bb-hint { margin-top: 8px; }
.bb-ctl { display: flex; gap: 8px; }
.bb-arr { position: static; margin: 0; }
@media (max-width: 640px) { .bb-arr { display: grid; width: 38px; height: 38px; } }
.mnav.r small { order: 2; }
.mhead { padding-bottom: 8px; }
.mgroup { padding-top: 28px; }
.rot i { padding-right: 0; }

section.block.mgroup { margin-top: 24px; padding-top: 0; }
section.block.mgroup + section.block.mgroup { margin-top: 72px; }
/* Foto promocional a sangre en la tarjeta */
.thumb .ph-img.full { inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; transform: scale(1.06); }
.card:hover .thumb.lit .ph-img.full { transform: scale(1.12); }
.thumb.lit:has(.ph-img.full) { background: var(--ink); }

/* Banner generado: fondo de estudio (degradado, sin escenas) + foto recortada del producto */
.ps.gen { background: radial-gradient(60% 80% at 74% 50%, color-mix(in srgb, var(--pst) 70%, #fff 10%) 0%, var(--pst) 38%, #070b16 100%); }
.ps.gen::before { content: ""; position: absolute; right: 8%; bottom: 9%; width: 38%; height: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.45), transparent); filter: blur(6px); }
.ps-prod.thumb { position: absolute; right: 5%; top: 6%; width: 44%; height: auto; aspect-ratio: 1 / 1; max-height: 88%; background: none; transform: scale(1.04); transition: transform 7s linear; }
.ps.on .ps-prod.thumb { transform: scale(1); }
.ps-prod .ph, .ps-prod > :not(.ph-img) { display: none; } .ps-prod::before, .ps-prod::after { display: none !important; content: none; } .ps-prod.thumb .ph-img { opacity: 1; inset: 0; width: 100%; height: 100%; }
.ps-prod .ph-img.cut { filter: drop-shadow(0 24px 30px rgba(0,0,0,.45)); }
.ps-off { position: absolute; z-index: 2; right: 5%; top: 7%; display: grid; justify-items: center; padding: 12px 16px; border-radius: 18px; background: var(--brass); color: #fff; font-family: var(--f-display); font-weight: 800; font-size: clamp(22px, 2.4vw, 34px); line-height: 1; box-shadow: 0 14px 30px -12px rgba(0,0,0,.5); }
.ps-off small { font-family: var(--f-body, inherit); font-weight: 600; font-size: 11px; letter-spacing: .02em; margin-top: 4px; opacity: .9; }
.ps-buy s { color: rgba(255,255,255,.6); font-size: 15px; }
.ps-txt ul li:nth-child(n+4) { display: none; }
.ps .ps-txt h2 { font-size: clamp(26px, 2.9vw, 44px); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 760px) { .ps.gen { background: radial-gradient(90% 55% at 50% 22%, color-mix(in srgb, var(--pst) 70%, #fff 10%) 0%, var(--pst) 45%, #070b16 100%); } .ps.gen .ps-txt h2 { font-size: 24px; } .ps.gen .ps-prod.thumb { top: 5%; width: 70%; max-height: 52%; } }
@media (max-width: 760px) { .ps-prod.thumb { left: 50%; right: auto; top: 3%; width: 62%; max-height: 50%; transform: translateX(-50%); } .ps.on .ps-prod.thumb { transform: translateX(-50%); } .ps.gen::before { display: none; } .ps-off { top: 4%; right: 4%; padding: 8px 12px; } }
/* Promociones: banner grande con producto real */
.promos { margin-top: 28px; }
.pslider { position: relative; border-radius: 32px; overflow: hidden; aspect-ratio: 16 / 7; background: var(--ink); isolation: isolate; box-shadow: var(--shadow-lg); }
.ps { position: absolute; inset: 0; display: block; color: #fff; text-decoration: none; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility 0s .9s; }
.ps.on { opacity: 1; visibility: visible; transition: opacity .9s var(--ease); z-index: 1; }
.ps-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 78%; transform: scale(1.08); transition: transform 7s linear; }
.ps.on .ps-img { transform: scale(1); }
.ps::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 7, 16, .82) 0%, rgba(4, 7, 16, .55) 38%, rgba(4, 7, 16, 0) 62%); }
.ps-txt { position: absolute; z-index: 2; left: clamp(24px, 5vw, 64px); top: 50%; transform: translateY(-50%); max-width: min(46%, 520px); display: grid; gap: 14px; justify-items: start; }
.ps-txt > * { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .8s var(--ease-out); }
.ps.on .ps-txt > * { opacity: 1; transform: none; }
.ps.on .ps-txt > *:nth-child(2) { transition-delay: .1s; } .ps.on .ps-txt > *:nth-child(3) { transition-delay: .2s; } .ps.on .ps-txt > *:nth-child(4) { transition-delay: .3s; } .ps.on .ps-txt > *:nth-child(5) { transition-delay: .4s; }
.ps-tag { font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #ffb07a; }
.ps-txt h2 { font-size: clamp(28px, 3.4vw, 52px); line-height: 1.02; font-weight: 700; letter-spacing: -0.035em; text-wrap: balance; }
.ps-txt ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 14.5px; color: rgba(255, 255, 255, .82); }
.ps-txt li::before { content: "✓"; color: #ff8a4d; font-weight: 800; margin-right: 8px; }
.ps-buy { display: flex; align-items: baseline; gap: 10px; }
.ps-buy b { font-family: var(--f-display); font-size: clamp(24px, 2.4vw, 34px); font-weight: 700; letter-spacing: -0.02em; }
.ps-buy small { color: rgba(255, 255, 255, .65); font-size: 12px; }
.ps-buy.cot { display: grid; gap: 2px; } .ps-buy.cot b { font-size: clamp(18px, 1.7vw, 24px); } .ps-buy.cot small { font-size: 13px; }
.ps-ctl { position: absolute; z-index: 3; right: 22px; bottom: 20px; display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 999px; background: rgba(4, 7, 16, .45); backdrop-filter: blur(10px); }
.ps-ctl > button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .3s var(--ease-out); }
.ps-ctl > button:hover { background: var(--brass); transform: scale(1.06); }
.ps-ctl > button:first-child svg { transform: rotate(180deg); }
.ps-ctl svg { width: 16px; height: 16px; display: block; }
.ps-dots { display: flex; gap: 6px; }
.ps-dots button { width: 22px; height: 4px; padding: 0; border: 0; border-radius: 9px; background: rgba(255, 255, 255, .3); overflow: hidden; cursor: pointer; }
.ps-dots button i { display: block; height: 100%; width: 0; background: #fff; }
.ps-dots button.on i { animation: psbar 6s linear forwards; }
.pslider:hover .ps-dots button.on i { animation-play-state: paused; }
@keyframes psbar { to { width: 100%; } }
@media (max-width: 760px) {
  .pslider { aspect-ratio: 4 / 5; border-radius: 24px; }
  .ps-img { object-position: 78% 30%; }
  .ps::after { background: linear-gradient(0deg, rgba(4, 7, 16, .92) 0%, rgba(4, 7, 16, .6) 42%, rgba(4, 7, 16, 0) 68%); }
  .ps-txt { top: auto; bottom: 74px; transform: none; max-width: none; right: 22px; left: 22px; gap: 10px; }
  .ps-txt ul { display: none; }
  .ps-ctl { right: 50%; transform: translateX(50%); bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) { .ps-img, .ps.on .ps-img { transform: none; transition: none; } .ps-dots button.on i { animation: none; width: 100%; } }

@media (max-width: 760px) {
  .pslider { aspect-ratio: auto; height: 580px; }
  .ps-img { inset: 0 0 auto 0; height: 56%; object-position: 74% 45%; }
  .ps::after { background: linear-gradient(180deg, rgba(4,7,16,0) 30%, rgba(4,7,16,.85) 52%, #070b16 60%); }
  .ps-txt { bottom: 76px; gap: 8px; }
  .ps-txt h2 { font-size: 26px; }
  .ps-specs { display: none; }
  .promos { margin-top: 8px; }
}
.thumb.lit:has(.ph-img.full:not(.alt)) .ph { opacity: 0; }
.card:hover .thumb.lit:has(.ph-img.alt) .ph-img.full { opacity: 0; }
@media (hover: hover) { .card:hover .thumb.lit:has(.ph-img.full) .ph { opacity: 1; } }
/* Líneas 6 y 7: escolar y limpieza */
:root { --k-escolar: #ae3ec9; --k-limpieza: #1098ad; }
.lt.t6, .sc-art.t6, .thumb .ph.k-escolar { background: radial-gradient(120% 90% at 85% 0%, #ffd43b 0, transparent 50%), linear-gradient(150deg, #cc5de8, #7b2cbf); }
.lt.t7, .sc-art.t7, .thumb .ph.k-limpieza { background: radial-gradient(120% 90% at 85% 0%, #99e9f2 0, transparent 55%), linear-gradient(150deg, #22b8cf, #0b7285); }
.ph.k-escolar { --k: var(--k-escolar); } .ph.k-limpieza { --k: var(--k-limpieza); }
@media (min-width: 901px) { .lt:nth-child(6), .lt:nth-child(7) { grid-column: span 3; } }
@media (min-width: 901px) { .lt:nth-child(6):last-child { grid-column: 1 / -1; } }

/* Etiquetas, favoritos, vista en lista, compra rápida */
.thumb .tags { position: absolute; z-index: 3; left: 12px; top: 12px; display: flex; flex-wrap: wrap; gap: 6px; max-width: calc(100% - 64px); pointer-events: none; }
.tag { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 99px; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(6px); color: var(--muted); line-height: 1; }
.tag.promo { background: var(--brass); color: #fff; box-shadow: 0 6px 16px -6px var(--brass); }
.tag.nuevo { background: #7048e8; color: #fff; }
.tag.hot { color: var(--good); }
.tags.inline { display: flex; gap: 6px; }
.fav { position: absolute; z-index: 3; right: 12px; top: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; color: var(--muted); background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(6px); transition: transform .3s var(--ease-out), color .2s, background .2s; }
.fav:hover { transform: scale(1.1); color: #e8457a; }
.fav.on { color: #fff; background: #e8457a; }
.fav.on svg { fill: currentColor; }
.fav.on { animation: favpop .45s var(--ease-out); }
@keyframes favpop { 40% { transform: scale(1.25); } }
.fav.big { position: static; width: 52px; height: 52px; flex: none; border: 1px solid var(--line); background: var(--surface); }
.fav.big svg { width: 22px; height: 22px; }
.favbtn { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--text); border: 1px solid var(--line); background: var(--surface); }
.favbtn .n { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; border-radius: 99px; background: #e8457a; color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; padding: 0 5px; }
.stock.low { color: #e8590c; } .stock.low::before { background: #e8590c; }
.vista { display: inline-flex; padding: 4px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); gap: 2px; }
.vista button { width: 36px; height: 32px; border: 0; border-radius: 9px; background: none; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.vista button.on { background: var(--ink); color: #fff; }
.toolbar { gap: 12px; flex-wrap: wrap; }
.toolbar .select { margin-left: auto; }
.card .lsdesc { display: none; }
.det-sk { display: grid; gap: 8px; }
.det-sk i { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--line) 25%, color-mix(in srgb, var(--line) 40%, transparent) 50%, var(--line) 75%); background-size: 200% 100%; animation: skl 1.2s linear infinite; }
@keyframes skl { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .det-sk i { animation: none; } }
.grid.lista { grid-template-columns: 1fr; gap: 14px; }
.grid.lista .card { display: grid; grid-template-columns: 200px 1fr; align-items: stretch; }
.grid.lista .card .thumb { aspect-ratio: 1; margin: 8px; width: calc(100% - 16px); height: auto; align-self: center; }
.grid.lista .card .body { padding: 20px 24px; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "b f" "n f" "s f" "d f"; align-content: center; column-gap: 28px; row-gap: 6px; }
.grid.lista .card .brand { grid-area: b; } .grid.lista .card .name { grid-area: n; font-size: 17px; } .grid.lista .card .stock { grid-area: s; }
.grid.lista .card .lsdesc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; grid-area: d; margin: 4px 0 0; color: var(--muted); font-size: 14px; max-width: 70ch; }
.grid.lista .card .foot { grid-area: f; flex-direction: column; align-items: flex-end; justify-content: center; gap: 12px; margin: 0; border: 0; padding: 0; text-align: right; }
.grid.lista .card .quick { width: auto; padding: 0 18px; border-radius: 99px; gap: 8px; }
.grid.lista .card .quick .lbl { display: inline; }
@media (max-width: 640px) { .grid.lista .card { grid-template-columns: 112px 1fr; } .grid.lista .card .body { grid-template-columns: 1fr; grid-template-areas: "b" "n" "s" "f"; padding: 12px 14px 12px 4px; } .grid.lista .card .foot { flex-direction: row; justify-content: space-between; align-items: center; text-align: left; } .grid.lista .card .lsdesc { display: none; } .grid.lista .card .fav { width: 32px; height: 32px; right: 8px; top: 8px; } .grid.lista .thumb .tags { display: none; } }
.pdp .buy { align-items: center; }
.pdp-tools { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; }
.pdp-tools .link { display: inline-flex; align-items: center; gap: 6px; }
.pdp-tools svg { width: 16px; height: 16px; }
.quick-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 22px; align-items: start; }
@media (max-width: 900px) { .quick-grid { grid-template-columns: 1fr; } }
.qcard { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 24px; display: grid; gap: 14px; box-shadow: var(--shadow); }
.qcard label { display: grid; gap: 4px; }
.qcard textarea { width: 100%; font: 500 15px/1.6 var(--f-mono, 'JetBrains Mono', monospace); padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); color: var(--text); resize: vertical; }
.qcard textarea:focus { outline: 2px solid var(--brass); outline-offset: 1px; }
.qrow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.qrow.end { justify-content: flex-end; border-top: 1px solid var(--line); padding-top: 14px; }
.qrow.end > span { margin-right: auto; }
.filebtn { cursor: pointer; }
.filebtn svg { width: 16px; height: 16px; }
.crlist { display: grid; gap: 4px; max-height: 460px; overflow: auto; }
.crl { display: grid; grid-template-columns: 52px 1fr auto auto; gap: 12px; align-items: center; padding: 8px; border-radius: 14px; }
.crl:nth-child(odd) { background: var(--bg); }
.crl .thumb.mini { width: 52px; height: 52px; border-radius: 12px; }
.crl .t { display: grid; gap: 2px; min-width: 0; } .crl .t a { font-weight: 600; font-size: 14px; color: var(--text); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crl .t small { font-size: 12px; color: var(--muted); } .crl .t .stock { font-size: 12px; }
.crl .n { font-weight: 700; color: var(--muted); } .crl .pr { font-weight: 800; font-family: var(--f-display); min-width: 90px; text-align: right; }
.crl .cotiza { color: var(--brass); font-weight: 700; font-size: 13px; }
.empty.slim { padding: 30px 10px; border: 0; background: none; }
@media print {
  .demo, header.top, footer, .buy, .jcard, .perks, .pdp-tools, .gthumbs, .wa, .javi, .toast, .progress, .pdp ~ section, #prog, .fav { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  .pdp { grid-template-columns: 38% 1fr !important; gap: 24px !important; padding-top: 0 !important; }
  .pdp::before { content: "JAVA OFFICE · Ficha técnica"; grid-column: 1 / -1; font: 800 14px var(--f-display); letter-spacing: .2em; color: #fc5000; border-bottom: 2px solid #fc5000; padding-bottom: 8px; }
  .thumb { box-shadow: none !important; transform: none !important; }
}

.tag { white-space: nowrap; }
.tag .t-c { display: none; }
.cartbtn .n:empty { display: none; }
@media (max-width: 520px) { .thumb .tags { left: 8px; top: 8px; max-width: calc(100% - 52px); } .thumb .tag { font-size: 9.5px; letter-spacing: .05em; padding: 4px 7px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; } .tag .t-l { display: none; } .tag .t-c { display: inline; } }
.qcard label.filebtn { display: inline-flex; align-items: center; gap: 8px; }
.crl .t small .stock { font-family: var(--f-body, inherit); }
.favlink.on { color: #e8457a; } .favlink.on svg { fill: currentColor; }
@media print { .crumbs { display: none !important; } }
/* Sin efecto 3D en tarjetas */
.card .thumb, .card .thumb.tilt { transform: none !important; }
.card .thumb::after { display: none !important; }
.card .thumb .ph-img, .card .thumb .ph-ill, .card .thumb .ph::before { translate: none !important; }

/* Promociones con características */
.ps-txt { max-width: min(50%, 580px); gap: 12px; }
.ps-txt ul { gap: 7px; font-size: 15px; }
.ps-specs { display: flex; flex-wrap: wrap; gap: 8px; }
.ps-specs span { display: grid; gap: 1px; padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(8px); font-size: 13px; font-weight: 600; color: #fff; }
.ps-specs small { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.ps::after { background: linear-gradient(90deg, rgba(4, 7, 16, .9) 0%, rgba(4, 7, 16, .7) 42%, rgba(4, 7, 16, 0) 66%); }
@media (max-width: 760px) { .ps-txt ul { display: grid; } .ps-txt ul li:nth-child(n+3) { display: none; } .ps-specs { display: none; } .ps-txt { max-width: none; } .pslider { height: 620px; } .ps-img { height: 50%; } }

/* Catálogo con fondo de color suave (no blanco) */
.view:has(.catalog), .view:has(.mhead) { background: radial-gradient(90% 60% at 100% 0%, rgba(124, 92, 255, .10), transparent 60%), radial-gradient(70% 50% at 0% 30%, rgba(76, 110, 245, .10), transparent 60%), linear-gradient(180deg, #eef2fb 0%, #f3effb 100%); }
.view:has(.catalog) .card, .view:has(.mhead) .card { background: rgba(255, 255, 255, .78); backdrop-filter: blur(6px); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .view:has(.catalog), :root:not([data-theme="light"]) .view:has(.mhead) { background: radial-gradient(90% 60% at 100% 0%, rgba(124, 92, 255, .14), transparent 60%), linear-gradient(180deg, #0b1020, #0d0b1a); } :root:not([data-theme="light"]) .view:has(.catalog) .card, :root:not([data-theme="light"]) .view:has(.mhead) .card { background: rgba(20, 26, 42, .8); } }
:root[data-theme="dark"] .view:has(.catalog), :root[data-theme="dark"] .view:has(.mhead) { background: radial-gradient(90% 60% at 100% 0%, rgba(124, 92, 255, .14), transparent 60%), linear-gradient(180deg, #0b1020, #0d0b1a); }
:root[data-theme="dark"] .view:has(.catalog) .card, :root[data-theme="dark"] .view:has(.mhead) .card { background: rgba(20, 26, 42, .8); }
:root[data-theme="dark"] .view:has(.catalog) .card { background: rgba(20, 26, 42, .8); }

/* Visor 3D y de ángulos */
.v3d-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.v3d-btns .btn svg { width: 18px; height: 18px; }
.v3d { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(4, 7, 16, .72); backdrop-filter: blur(10px); animation: v3din .3s var(--ease-out); }
@keyframes v3din { from { opacity: 0; } }
.v3d-box { position: relative; width: min(1000px, 100%); max-height: 100%; display: grid; grid-template-rows: 1fr auto; border-radius: 28px; overflow: hidden; background: var(--surface); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .6); }
.v3d-stage { position: relative; height: min(68vh, 620px); background: radial-gradient(70% 60% at 50% 40%, #ffffff, #e9edf5); display: grid; place-items: center; }
.v3d-stage model-viewer { width: 100%; height: 100%; --poster-color: transparent; }
.v3d-stage.ang { cursor: grab; touch-action: pan-y; } .v3d-stage.ang:active { cursor: grabbing; }
.v3d-stage { overflow: hidden; }
.v3d-stage.ang img { max-width: 80%; max-height: calc(min(68vh, 620px) * .84); object-fit: contain; user-select: none; filter: drop-shadow(0 22px 22px rgba(15, 23, 42, .22)); }
.v3d-load { color: var(--muted); font-weight: 600; }
.v3d-bar { display: grid; gap: 10px; padding: 18px 22px 20px; border-top: 1px solid var(--line); }
.v3d-views { display: flex; flex-wrap: wrap; gap: 8px; }
.v3d-views button { border: 1px solid var(--line); background: var(--bg); color: var(--text); border-radius: 99px; padding: 8px 14px; font: 600 13px var(--f-body, inherit); cursor: pointer; }
.v3d-views button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.v3d-views button img { width: 44px; height: 44px; object-fit: contain; display: block; }
.v3d-views button:has(img) { padding: 4px; border-radius: 12px; }
.v3d-x { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: #0b1220; font-size: 16px; cursor: pointer; box-shadow: 0 6px 20px rgba(0, 0, 0, .15); }
@media (max-width: 600px) { .v3d { padding: 0; } .v3d-box { border-radius: 0; height: 100%; } .v3d-stage { height: auto; } .v3d-stage.ang img { max-height: 60vh; } }

/* Fondos por línea (aprobados 12-nov): color + detalle propio, solo gradientes CSS, sin imágenes ni filtros */
.thumb .ph.k-papeleria { background: linear-gradient(90deg, transparent 13%, rgba(255,140,160,.45) 13% calc(13% + 1.5px), transparent 0), repeating-linear-gradient(180deg, transparent 0 21px, rgba(255,255,255,.11) 21px 22px), radial-gradient(110% 80% at 85% 0%, #7d99ff 0, transparent 55%), linear-gradient(155deg, #3d5ef0, #1a2a9c); }
.thumb .ph.k-impresion { background: radial-gradient(circle, rgba(0,229,255,.22) 1.6px, transparent 2px) 0 0 / 16px 16px, radial-gradient(circle, rgba(255,235,59,.20) 1.6px, transparent 2px) 8px 8px / 16px 16px, radial-gradient(110% 80% at 85% 0%, #ff8fc0 0, transparent 55%), linear-gradient(155deg, #e43f8a, #5a24c9); }
.thumb .ph.k-tecnologia { background: repeating-linear-gradient(90deg, rgba(94,234,212,.10) 0 1px, transparent 1px 26px), repeating-linear-gradient(180deg, rgba(94,234,212,.10) 0 1px, transparent 1px 26px), radial-gradient(80% 60% at 72% 8%, rgba(56,232,210,.38) 0, transparent 60%), linear-gradient(155deg, #1a2856, #070b19); }
.thumb .ph.k-mobiliario { background: linear-gradient(180deg, transparent 66%, rgba(255,255,255,.35) 66% calc(66% + 1px), transparent 0), repeating-linear-gradient(90deg, transparent 0 46px, rgba(0,0,0,.08) 46px 47px) 0 100% / 100% 34% no-repeat, radial-gradient(90% 60% at 80% 0%, rgba(180,255,226,.45), transparent 60%), linear-gradient(180deg, #2bc493 0 66%, #0d7a58 66% 100%); }
.thumb .ph.k-empaque { background: linear-gradient(172deg, transparent 9%, rgba(255,240,210,.28) 9% 19%, transparent 19%), repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 2px, transparent 2px 9px), radial-gradient(110% 80% at 85% 0%, #ffd29a 0, transparent 55%), linear-gradient(155deg, #ff9a3c, #d9480f); }
.thumb .ph.k-escolar { background: radial-gradient(circle at 12% 18%, #ffd43b 0 5px, transparent 6px), radial-gradient(circle at 86% 22%, #63e6be 0 4px, transparent 5px), radial-gradient(circle at 80% 84%, #ff8787 0 6px, transparent 7px), radial-gradient(circle at 16% 80%, #74c0fc 0 4px, transparent 5px), radial-gradient(circle at 50% 9%, #fff 0 3px, transparent 4px), radial-gradient(circle at 92% 55%, #ffd43b 0 3px, transparent 4px), radial-gradient(110% 80% at 85% 0%, #f3a6ff 0, transparent 55%), linear-gradient(155deg, #b552e0, #6420a8); }
.thumb .ph.k-limpieza { background: radial-gradient(circle at 14% 22%, transparent 0 13px, rgba(255,255,255,.35) 14px 15.5px, transparent 16.5px), radial-gradient(circle at 84% 16%, transparent 0 8px, rgba(255,255,255,.35) 9px 10px, transparent 11px), radial-gradient(circle at 88% 78%, transparent 0 17px, rgba(255,255,255,.28) 18px 19.5px, transparent 20.5px), radial-gradient(circle at 10% 84%, transparent 0 6px, rgba(255,255,255,.35) 7px 8px, transparent 9px), radial-gradient(110% 80% at 85% 0%, #a5f3fc 0, transparent 55%), linear-gradient(155deg, #19b4cc, #0a5f75); }
/* Luz de estudio, aro y sombra de piso detrás del producto recortado (sin blur) */
.thumb.lit:has(.ph-img.cut) .ph::after { width: 76%; top: 46%; background: radial-gradient(closest-side, rgba(255,255,255,.42), rgba(255,255,255,.12) 70%, transparent); border: 1px solid rgba(255,255,255,.28); box-shadow: inset 0 0 0 10px rgba(255,255,255,.05); }
.thumb.lit:has(.ph-img.cut) .ph::before { left: 18%; right: 18%; bottom: 8%; height: 9%; filter: none; background: radial-gradient(closest-side, rgba(4,8,30,.42), rgba(4,8,30,.18) 55%, transparent); }
.grid .thumb .ph-img.cut, .rail .thumb .ph-img.cut { filter: none; }
/* Rendimiento: tarjetas y secciones fuera de pantalla no se dibujan; catálogo por partes */
section.block { content-visibility: auto; contain-intrinsic-size: auto 640px; }
.grid .card { content-visibility: auto; contain-intrinsic-size: auto 260px auto 380px; }
.mas { display: flex; justify-content: center; padding: 26px 0 8px; }
.mas .btn .muted { font-weight: 500; margin-left: 4px; }
.cotlist { display: grid; gap: 10px; margin: 12px 0; }
.cotrow { display: grid; grid-template-columns: 44px 1fr 62px 96px 24px; gap: 10px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.cotrow .t { display: grid; min-width: 0; } .cotrow .t a { font-weight: 600; font-size: 14px; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cotrow input { width: 62px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); font: inherit; }
.cotrow b { font-size: 14px; white-space: nowrap; text-align: right; } .cotrow b.cotiza { color: var(--brass); }
.cotrow .x { font-size: 14px; color: var(--muted); }
.cotpanel .btn { margin-top: 10px; }
.opt .cotn { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 5px; border-radius: 9px; background: var(--brass); color: var(--on-brass); font: 700 11px/1 var(--f-body); font-style: normal; vertical-align: 1px; }
@media (max-width: 520px) { .cotrow { grid-template-columns: 40px 1fr 56px; } .cotrow b { grid-column: 2; } .cotrow .x { grid-column: 3; justify-self: end; } }

/* ── WordPress: sin asistente con IA, WhatsApp en su lugar ── */
.javibtn, .jdrawer, .jscrim, .sug a.javi-row, .askhint, section:has(> .novaband) { display: none !important; }
/* Con Nova en pausa la tarjeta del producto sigue visible: aquí abre WhatsApp */
html.sin-nova .jcard { display: grid !important; }
body:not(.jo-aviso):not(.jo-tc) .demo { display: none; }
.jcard .javi-av, .askbar .javi-av { background: #25d366; box-shadow: none; }
.jcard .javi-av svg, .askbar .javi-av svg { display: none; }
.jcard .javi-av::after, .askbar .javi-av::after { content: ''; width: 58%; height: 58%; background: #fff;
  -webkit-mask: var(--wa-ico) center / contain no-repeat; mask: var(--wa-ico) center / contain no-repeat; }
:root { --wa-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm4.5 12.1c-.2-.1-1.5-.7-1.7-.8s-.4-.1-.6.1-.7.8-.8 1-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.3-.4.3-.4.7-1.4.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.7 11.8 11.8 0 0 0 4.5 4c1.7.7 2.3.8 3.2.6a2.7 2.7 0 0 0 1.8-1.3 2.2 2.2 0 0 0 .2-1.3c-.1-.1-.3-.2-.5-.3z'/%3E%3C/svg%3E"); }
.jo-paso { min-height: 50vh; display: grid; place-items: center; text-align: center; gap: 10px; }
.f .hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
