/* ============================================================================
   Tema oficial de la tienda: PISTA + COBALTO (elegido por G el 2026-11-18).
   Rojo #E10600 = emoción y urgencia · Amarillo #FFD400 = acción (CTA) ·
   Azul cobalto #1F4BFF = confianza (licencia, garantía, envío, plan separe) · Negro #141414.
   Redefine la capa semántica de Lillo en <html data-pal="pista3">.
   Contraste CTA: negro sobre amarillo ≥ 12:1 · blanco sobre cobalto 6:1.
   ============================================================================ */

/* 1 · PISTA — rojo de carreras + amarillo bandera. Energía de autódromo. */
html[data-pal^="pista"]{
  --brand-dark:#141414; --brand-cream:#FFF8EC; --brand-lime:#FFD400;
  --surface-canvas:#FFF8EC; --surface-raised:#FFFFFF; --surface-raised-high:#F4EADB; --surface-input:#FFFFFF;
  --text-primary:#141414; --text-secondary:rgba(20,20,20,.70); --text-tertiary:rgba(20,20,20,.52);
  --surface-action-primary:#FFD400; --text-action-primary:#141414; --hover-primary:#FFE03D;
  --surface-action-tertiary:rgba(225,6,0,.08); --text-link:#C20500;
  --status-attention:#E10600; --status-warning:#E10600; --status-success:#0A8F4D;
  --border-subtle:rgba(20,20,20,.08); --border-default:rgba(20,20,20,.14); --border-strong:rgba(20,20,20,.28);
}
html[data-pal^="pista"] [data-theme="dark"]{
  --surface-canvas:#E10600; --surface-raised:#B80500; --text-primary:#FFFFFF; --text-secondary:rgba(255,255,255,.82); --text-tertiary:rgba(255,255,255,.65);
  --status-attention:#FFD400; --border-subtle:rgba(255,255,255,.18); --border-default:rgba(255,255,255,.24); --text-link:#FFD400;
}
html[data-pal^="pista"] .announce,html[data-pal^="pista"] .ftr{--surface-canvas:#141414;--surface-raised:#222}

/* 1b · PISTA + COBALTO — el tercer color. Rojo = emoción y urgencia, amarillo = acción,
   azul cobalto = confianza (licencia, garantía, envío, plan separe). Cierra la tríada primaria:
   lenguaje de juguete y de autódromo a la vez. Blanco sobre #1F4BFF = 6:1. */
html[data-pal="pista3"]{
  --cobalto:#1F4BFF;
  --text-link:#1F4BFF; --surface-action-tertiary:rgba(31,75,255,.09);
}
html[data-pal="pista3"] .sec[data-theme="dark"]{--surface-canvas:#1F4BFF;--surface-raised:#1838C4;--status-attention:#FFD400;--text-link:#FFD400}
html[data-pal="pista3"] .badge--dark,
html[data-pal="pista3"] .pill[aria-pressed="true"],
html[data-pal="pista3"] .wa-float,
html[data-pal="pista3"] .box h2 .n{background:var(--cobalto);color:#fff;border-color:var(--cobalto)}
html[data-pal="pista3"] .trust .ic,
html[data-pal="pista3"] .fit .ic,
html[data-pal="pista3"] .includes .ic,
html[data-pal="pista3"] .hero__facts .ic{color:var(--cobalto)}
html[data-pal="pista3"] .age__v{background:var(--cobalto);color:#fff}
html[data-pal="pista3"] .age:hover{border-color:var(--cobalto)}
html[data-pal="pista3"] .separe{border:2px solid var(--cobalto)}
html[data-pal="pista3"] .calc__box b{color:var(--cobalto)}
html[data-pal="pista3"] .steps li.done::before{background:var(--cobalto)}
html[data-pal="pista3"] .choice:has(input:checked),
html[data-pal="pista3"] .swatch[aria-pressed="true"],
html[data-pal="pista3"] .gallery__thumbs button[aria-current="true"]{border-color:var(--cobalto);box-shadow:inset 0 0 0 1px var(--cobalto)}
html[data-pal="pista3"] .choice input{accent-color:var(--cobalto)}
html[data-pal="pista3"] .hero__tag{background:rgba(31,75,255,.72)}
html[data-pal="pista3"] .pay span{border-color:rgba(31,75,255,.25)}


/* ---------------------------------------------------------------------------
   PISTA OSCURO — para el portal del local (herramienta de trabajo).
   Negro de pista como lienzo, amarillo para la acción, cobalto para información
   y avance, rojo para urgencias.
   --------------------------------------------------------------------------- */
html[data-pal="pista3"][data-theme="dark"]{
  color-scheme:dark;
  --surface-canvas:#121212; --surface-raised:#1B1B1B; --surface-raised-high:#262626; --surface-overlay:#2A2A2A;
  --surface-input:#1B1B1B; --surface-input-focus:#232323; --surface-action-secondary:#1B1B1B;
  --surface-action-tertiary:rgba(91,124,255,.14); --surface-selected:rgba(255,255,255,.08);
  --surface-lienzo:#161616;
  --text-primary:#FFF8EC; --text-secondary:rgba(255,248,236,.70); --text-tertiary:rgba(255,248,236,.50); --text-disabled:rgba(255,248,236,.35);
  --text-action-secondary:#FFF8EC; --text-link:#8FA6FF; --text-link-hover:#FFF8EC; --text-brand-accent:#8FA6FF;
  --surface-action-primary:#FFD400; --text-action-primary:#141414; --hover-primary:#FFE03D;
  --border-subtle:rgba(255,248,236,.08); --border-default:rgba(255,248,236,.14); --border-strong:rgba(255,248,236,.26);
  --border-focus:#FFD400; --border-glass:rgba(255,255,255,.10);
  --hover-subtle:rgba(255,248,236,.05);
  --status-info:#8FA6FF; --status-in-progress:#5B7CFF; --status-attention:#FFD400; --status-success:#2FBF71;
  --status-warning:#FF9F1A; --status-critical:#FF3B30; --status-neutral:#8A8A8A;
  --icon-shape:rgba(91,124,255,.30);
  --action-primary-a05:rgba(255,212,0,.06); --action-primary-a15:rgba(255,212,0,.15); --action-primary-a30:rgba(255,212,0,.30);
}

/* Glass (chrome) en tono del tema, en vez del verde petróleo de Lillo */
html[data-pal="pista3"] .top,
html[data-pal="pista3"] .toast{background:rgba(20,20,20,.72)}
@media (prefers-reduced-transparency:reduce){html[data-pal="pista3"] .top,html[data-pal="pista3"] .toast{background:rgba(20,20,20,.94)}}
html[data-pal="pista3"] .toast a{color:#FFD400}
html[data-pal="pista3"][data-theme="dark"] .tag--web{background:rgba(143,166,255,.14)}
html[data-pal="pista3"][data-theme="dark"] .tag--local,
html[data-pal="pista3"][data-theme="dark"] .tag--ok{color:#2FBF71;background:rgba(47,191,113,.14)}
html[data-pal="pista3"][data-theme="dark"] .tag--new{background:rgba(255,212,0,.14)}
html[data-pal="pista3"][data-theme="dark"] .bars,html[data-pal="pista3"][data-theme="dark"] .legend{--bar-l:#FFD400;--bar-w:#5B7CFF}
html[data-pal="pista3"][data-theme="dark"] .switch[aria-checked="true"]{background:#2FBF71}
html[data-pal="pista3"][data-theme="dark"] .dot{background:#2FBF71}
html[data-pal="pista3"][data-theme="dark"] .dot--live{box-shadow:0 0 0 0 rgba(47,191,113,.5)}
html[data-pal="pista3"][data-theme="dark"] .progress i{background:#5B7CFF}
html[data-pal="pista3"][data-theme="dark"] .pipeline i.on{background:#5B7CFF}
html[data-pal="pista3"][data-theme="dark"] .wiz__steps i.on{background:#FFD400}
/* Presentación: el bloque "Juntos" lleva el color de la confianza */
html[data-pal="pista3"] .col--accent{border-color:#1F4BFF;background:rgba(31,75,255,.06)}
html[data-pal="pista3"] .col--accent h3 .ic{color:#1F4BFF}
