/* MGB System · Identidad por categorías | 2026-11-09
   Capa editorial y accesible. No altera catálogo, precios ni disponibilidad. */
body[data-theme="lavado"]{--cat-accent:#397d9f;--cat-light:#f0f9fd;--cat-deep:#244b66;--cat-burst:#c3e8f7}
body[data-theme="pantallas"]{--cat-accent:#525bb1;--cat-light:#f2f3ff;--cat-deep:#282e66;--cat-burst:#c3c8ff}
body[data-theme="almacenamiento"]{--cat-accent:#22778e;--cat-light:#e9f8f8;--cat-deep:#1a4c59;--cat-burst:#a1dfdf}
body[data-theme="perifericos"]{--cat-accent:#7161a2;--cat-light:#f7f3ff;--cat-deep:#403466;--cat-burst:#ded0fb}
body[data-theme="muebles"]{--cat-accent:#98724f;--cat-light:#fcf5ea;--cat-deep:#59432e;--cat-burst:#f1d8aa}
body[data-theme="seguridad"]{--cat-accent:#288269;--cat-light:#eaf9f1;--cat-deep:#184f41;--cat-burst:#a8e3c7}
body[data-section="categoria"] .cat-hero{border-color:color-mix(in srgb,var(--cat-accent,#0b7194),white 78%);background:linear-gradient(112deg,var(--cat-light,#f4f9fb) 10%,#fff 80%);box-shadow:0 12px 34px rgba(25,53,72,.04)}
body[data-section="categoria"] .cat-hero-image{border-color:color-mix(in srgb,var(--cat-accent,#0b7194),white 84%)}
body[data-section="categoria"] .cat-hero-caption strong{font-size:12px;color:var(--cat-deep,#173f56)}
body[data-section="categoria"] .cat-benefit-strip span{border-color:color-mix(in srgb,var(--cat-accent,#087a9d),white 80%);background:var(--cat-light,#f5f9fb)}
body[data-section="categoria"] .cat-card{transition:border-color .2s,box-shadow .2s;content-visibility:auto;contain-intrinsic-size:auto 370px}
body[data-section="categoria"] .cat-card:hover{border-color:color-mix(in srgb,var(--cat-accent,#0b7194),white 58%);box-shadow:0 10px 28px rgba(23,52,70,.09)}
/* "Ver producto": fondo y texto siempre contrastantes, incluso en temas oscuros. */
body[data-section="categoria"] .cat-actions .cat-view,
body[data-section="categoria"] .cat-actions .cat-view:visited{background:#eaf4f8;border-color:#bed8e4;color:#123e54}
body[data-section="categoria"] .cat-actions .cat-view:hover,
body[data-section="categoria"] .cat-actions .cat-view:focus-visible{background:#dcecf3;border-color:#91b9cb;color:#0b3042}
body[data-section="categoria"] .cat-card .cat-brand{color:var(--cat-accent,#0b7194)}
body[data-section="categoria"] .cat-footer-help{border-left:4px solid var(--cat-accent,#0b7194);background:var(--cat-light,#eef7fa)}
body[data-section="categoria"] .cat-related a:hover{border-color:var(--cat-accent,#0b7194);background:var(--cat-light,#f5f9fb)}
body[data-section="categoria"] a:focus-visible,body[data-section="categoria"] button:focus-visible,body[data-section="categoria"] input:focus-visible,body[data-section="categoria"] select:focus-visible{outline:3px solid var(--cat-accent,#0b7194);outline-offset:2px}
@media(prefers-reduced-motion:reduce){body[data-section="categoria"] .cat-card{transition:none}}
