/* JAK V35: revisión visual móvil y corrección de portadas, ruedas y paneles.
   Se aplica al final para solucionar conflictos con hojas históricas. */
:root{--jak35-ink:#1d314b;--jak35-secondary:#43576f;--jak35-line:#cbd7e6;--jak35-primary:#165c84;--jak35-surface:#fff;--jak35-dark:#142740}
/* Cada tarjeta blanca lleva su propia tinta; no hereda tipografía blanca del hero. */
body :is(.hero,.cat-hero,.td-hero,.v25-cover-shell,.jak35-tech-cover,.jak-news-feature,.jak-latest-2026) :is(.kpi,.stat-pill,.statCard,.payCard,.v25-hero-metrics>div,.td-paso,.jak-latest-card,.card){background-color:var(--jak35-surface)!important;color:var(--jak35-ink)!important;-webkit-text-fill-color:var(--jak35-ink)!important;border-color:var(--jak35-line)!important}
body :is(.hero,.cat-hero,.td-hero,.v25-cover-shell,.jak35-tech-cover,.jak-news-feature,.jak-latest-2026) :is(.kpi,.stat-pill,.statCard,.payCard,.v25-hero-metrics>div,.td-paso,.jak-latest-card,.card) :is(b,strong,h1,h2,h3,h4,span,p,small,label){color:var(--jak35-ink)!important;-webkit-text-fill-color:var(--jak35-ink)!important;text-shadow:none!important}
body :is(.hero,.cat-hero,.td-hero,.v25-cover-shell,.jak35-tech-cover,.jak-news-feature,.jak-latest-2026) :is(.kpi,.stat-pill,.statCard,.payCard,.v25-hero-metrics>div,.td-paso,.jak-latest-card,.card) :is(p,small,span){color:var(--jak35-secondary)!important;-webkit-text-fill-color:var(--jak35-secondary)!important}
/* Menus blancos y botones secundarios nunca pueden tener texto blanco. */
body :is(.toolbar,.jak-news-filter,.searchrow,.books-section,.td-sec,.catalog) :is(input,select,textarea){background:#fff!important;color:#18304c!important;-webkit-text-fill-color:#18304c!important;border:1.5px solid #819ab6!important}
body :is(.toolbar,.jak-news-filter,.searchrow,.books-section,.td-sec,.catalog) :is(input,textarea)::placeholder{color:#4c5e77!important;opacity:1}
body :is(.v25-cover-shell,.hero,.cat-hero,.td-hero) .v25-spectrum-pills span{color:#24384f!important;-webkit-text-fill-color:#24384f!important}
/* Tienda tecnológica, portada de tecnología y reserva si falla el recurso gráfico. */
body .jak35-tech-cover .v25-cover-shell{background:linear-gradient(135deg,#152a44,#223b58 58%,#343159)!important;grid-template-columns:minmax(250px,.9fr) minmax(280px,1.1fr)!important}
body .jak35-tech-cover .jak35-tech-art{min-height:230px;aspect-ratio:4/3;display:grid;place-items:center;background:linear-gradient(145deg,#152842,#233d62)!important;padding:0!important;overflow:hidden;border:1px solid #456482!important}
body .jak35-tech-cover .jak35-tech-art img{width:100%!important;height:100%!important;max-height:none!important;max-width:none!important;object-fit:cover!important;border-radius:16px!important}
body .jak35-tech-cover .jak35-tech-art.jak35-art-fallback{background:radial-gradient(circle at 30% 30%,#70aac9 0%,transparent 28%),radial-gradient(circle at 75% 70%,#8c6bc2 0%,transparent 30%),linear-gradient(130deg,#143150,#1f2a4b)!important}
body .jak35-tech-cover .v25-cover-copy :is(h1,p,.v25-small,.v25-lead){color:#f7fbff!important;-webkit-text-fill-color:#f7fbff!important}
body .jak35-tech-cover .v25-cover-copy h1 em{color:#ffe2ac!important;-webkit-text-fill-color:#ffe2ac!important}
/* Campos, etiqueta de carrito y floating CTA */
body .regret-fab{position:fixed!important;right:12px!important;left:auto!important;bottom:12px!important;width:auto!important;max-width:min(238px,calc(100vw - 24px))!important;min-height:44px!important;padding:12px 15px!important;border-radius:999px!important;white-space:normal!important;line-height:1.2!important;text-align:center!important;font-size:11px!important;letter-spacing:.025em!important;background:#165c84!important;color:white!important;z-index:75!important;box-shadow:0 5px 19px #132b4970!important}
body .tech-cartbtn{background:#165c84!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:1px solid #165c84!important}
body .tech-cartbtn .cartcount{background:#f5deac!important;color:#382b14!important;-webkit-text-fill-color:#382b14!important}
/* Catálogo cromotérmico documentado */
body .jak35-wheel-section{padding:clamp(30px,5vw,72px) 0;background:#eef3f9;color:var(--jak35-ink)!important;border-block:1px solid #cfdbe8}
body .jak35-wheel-layout{display:grid;grid-template-columns:minmax(245px,.85fr) minmax(310px,1.15fr);gap:clamp(18px,3vw,44px);align-items:center}
body .jak35-wheel-copy{background:#fff;border:1px solid var(--jak35-line);border-radius:24px;padding:clamp(22px,3vw,36px);box-shadow:0 16px 35px #132d4911}
body .jak35-wheel-copy h2{font:600 clamp(24px,2.8vw,38px)/1.2 Georgia,serif!important;color:#182d47!important;-webkit-text-fill-color:#182d47!important;margin:8px 0 16px}
body .jak35-wheel-copy p{color:#35485f!important;-webkit-text-fill-color:#35485f!important;line-height:1.68}
body .jak35-wheel-copy .jak35-eyebrow{font:700 12px/1.5 system-ui!important;letter-spacing:.08em;text-transform:uppercase;color:#175b82!important}
body .jak35-wheel-figure{margin:0;padding:14px;background:#fff;border:1px solid var(--jak35-line);border-radius:24px;box-shadow:0 16px 35px #132d4911;overflow:hidden}
body .jak35-wheel-figure img{width:100%;height:auto;max-height:600px;display:block;object-fit:contain;background:#fff}
body .jak35-wheel-figure figcaption{font:400 13px/1.5 system-ui!important;color:#526780!important;-webkit-text-fill-color:#526780!important;margin:8px 8px 0}
body .jak35-wheel-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:23px}
body .jak35-wheel-actions a{display:inline-flex;align-items:center;justify-content:center;background:#165c84!important;color:#fff!important;-webkit-text-fill-color:#fff!important;padding:12px 17px;border-radius:999px;text-decoration:none;font:700 13px/1.3 system-ui!important;border:1px solid #165c84}
body .jak35-wheel-actions a:nth-child(2),body .jak35-wheel-actions a:nth-child(3){background:#e8f1f9!important;color:#164367!important;-webkit-text-fill-color:#164367!important;border-color:#9db9d2}
@media(max-width:900px){body .jak35-wheel-layout{grid-template-columns:1fr}body .jak35-tech-cover .v25-cover-shell{grid-template-columns:1fr!important}body .jak35-tech-cover .jak35-tech-art{max-height:380px}body .jak35-wheel-figure img{max-height:430px}}
@media(max-width:600px){body .jak35-tech-cover .jak35-tech-art{min-height:160px;max-height:270px;aspect-ratio:16/10}body .jak35-wheel-section{padding:22px 0}body .jak35-wheel-figure img{max-height:none}body .jak35-wheel-actions a{flex:1 1 auto}body .regret-fab{max-width:180px!important;font-size:10px!important;bottom:10px!important;right:10px!important}body :is(.topbar,.sitebar,.manual-top){z-index:110}}
