/* NEXUSBAR MULTI-05AY - Contraste temático del frontend.
   Capa final después de 05AX. Nunca emplear aquí colores corporativos fijos.
   Los colores semánticos de error/advertencia/aprobado no son acentos de marca. */

/* El tema gobierna el texto general, contenedores blancos y la navegación. */
body.nxb-premium-store{color:var(--nx-on-light)!important;background:var(--nx-bg)!important}
body.nxb-premium-store .store-pro-header,body.nxb-premium-store .store-header-main,
body.nxb-premium-store .store-pro-nav{color:var(--nx-on-light)!important}
body.nxb-premium-store .store-pro-actions .store-header-link.nxb-at-compact-link,
body.nxb-premium-store .store-pro-actions .nxb-at-compact-link .nxb-at-action-title,
body.nxb-premium-store .store-pro-actions .nxb-at-compact-link .nxb-at-action-title b{
 color:var(--nx-on-light)!important;opacity:1!important;-webkit-text-fill-color:var(--nx-on-light)!important;
 text-shadow:none!important;
}
body.nxb-premium-store .store-pro-actions .nxb-at-compact-link:hover .nxb-at-action-title b,
body.nxb-premium-store .store-pro-actions .nxb-at-compact-link:focus-visible .nxb-at-action-title b{
 color:var(--nx-link)!important;-webkit-text-fill-color:var(--nx-link)!important;
}
body.nxb-premium-store .store-pro-actions .nxb-at-compact-link .store-action-icon{
 background:var(--nx-accent-soft)!important;color:var(--nx-link)!important;
}
body.nxb-premium-store .store-pro-actions .nxb-at-compact-link .store-action-icon svg{
 stroke:currentColor!important;fill:none;
}
body.nxb-premium-store .store-pro-nav>a,body.nxb-premium-store .store-current-store,
body.nxb-premium-store .store-pro-actions .language-trigger{
 color:var(--nx-on-light)!important;
}
body.nxb-premium-store .store-pro-nav>a:hover{color:var(--nx-link)!important}
body.nxb-premium-store .store-pro-search input{color:var(--nx-on-light)!important}
body.nxb-premium-store .store-pro-search input::placeholder{color:var(--nx-on-light-muted)!important;opacity:1!important}
body.nxb-premium-store .store-pro-search button{background:var(--nx-accent)!important;color:var(--nx-on-accent)!important}

/* Paso 2/2: el checkout es una página clara. El CSS legado asumía fondo oscuro
   y dejaba encabezado, subtítulo y etiquetas amarillo/dorado o blanco. */
body.nxb-premium-store .checkout-pro-page{color:var(--nx-on-light)!important}
body.nxb-premium-store .checkout-pro-page .checkout-pro-head h1{color:var(--nx-on-light)!important}
body.nxb-premium-store .checkout-pro-page .checkout-pro-head p{color:var(--nx-on-light-muted)!important}
body.nxb-premium-store .checkout-pro-page .store-eyebrow,
body.nxb-premium-store .checkout-pro-page .checkout-back,
body.nxb-premium-store .checkout-pro-page .nxb-au-breadcrumb a{
 color:var(--nx-link)!important;-webkit-text-fill-color:var(--nx-link)!important;
}
body.nxb-premium-store .checkout-pro-page .checkout-back:hover{text-decoration:underline}
body.nxb-premium-store .checkout-pro-page :is(.checkout-cart-card,.checkout-summary-card,
 .checkout-delivery-mode,.checkout-address-block,.checkout-payment-block,.nxb-au-receipt-panel,
 .web-method-card){color:var(--nx-on-light);}
body.nxb-premium-store .checkout-pro-page .checkout-step{
 background:var(--nx-accent-soft)!important;color:var(--nx-on-light)!important;
}
body.nxb-premium-store .checkout-pro-page .nxb-au-checkout-steps>span.done{color:var(--nx-link)!important}
body.nxb-premium-store .checkout-pro-page .checkout-totals .grand :is(span,strong){color:var(--nx-on-light)!important}
body.nxb-premium-store .checkout-pro-page .checkout-summary-card :is(a:not(.checkout-confirm-btn),.checkout-login-notice a){color:var(--nx-link)}
body.nxb-premium-store .checkout-pro-page :is(input,select,textarea){color:var(--nx-on-light)!important}
body.nxb-premium-store .checkout-pro-page :is(input,select,textarea)::placeholder{color:var(--nx-on-light-muted)!important}
body.nxb-premium-store .checkout-pro-page .checkout-confirm-btn:not(:disabled){
 background:var(--nx-promo)!important;color:var(--nx-on-promo)!important;
}
/* Etiquetas sobre superficies claras de login, registro, recuperar, páginas estáticas. */
body.nxb-premium-store :is(.customer-auth-card,.store-info-page,.account-card,.account27,
 .order-track-page,.product-detail-shell,.catalog-toolbar) .store-eyebrow{
 color:var(--nx-link)!important;-webkit-text-fill-color:var(--nx-link)!important;
}
body.nxb-premium-store .customer-auth-page{
 background:linear-gradient(130deg,var(--nx-bg),var(--nx-accent-soft))!important;
}
body.nxb-premium-store .customer-auth-visual{
 background:linear-gradient(140deg,var(--nx-dark),color-mix(in srgb,var(--nx-dark) 75%,var(--nx-accent)))!important;
 color:var(--nx-on-dark)!important;
}
body.nxb-premium-store .customer-auth-visual :is(h1,strong,b){color:var(--nx-on-dark)!important}
body.nxb-premium-store .customer-auth-visual :is(p,small){color:var(--nx-on-dark-muted)!important}
body.nxb-premium-store .customer-auth-copy>span,
body.nxb-premium-store .customer-auth-points article>b{color:var(--nx-on-dark)!important}
body.nxb-premium-store .customer-auth-card :is(h2,label){color:var(--nx-on-light)!important}
body.nxb-premium-store .customer-auth-card :is(p,small){color:var(--nx-on-light-muted)!important}
body.nxb-premium-store .customer-auth-card a{color:var(--nx-link)!important}
body.nxb-premium-store .customer-auth-submit,
body.nxb-premium-store .customer-auth-card button[type=submit]{
 background:var(--nx-accent)!important;color:var(--nx-on-accent)!important;
}
body.nxb-premium-store .customer-auth-card :is(input,select){color:var(--nx-on-light)!important}

/* Fichas y catálogo: el color de promoción no debe utilizarse como texto si
   no alcanza 4.5:1 sobre blanco. */
body.nxb-premium-store :is(.nxb-au-promo-flag,.nxb-au-card-meta,.nxb-au-card-stock,
 .nxb-au-product-context>span,.nxb-as-departments-heading>a,
 .store-section-head>a,.store-pro-section .store-section-head>div>span){color:var(--nx-link)!important}
body.nxb-premium-store .nxb-au-promo-flag{color:var(--nx-promo-link)!important}
body.nxb-premium-store .product-detail-shell .product-info :is(h1,h2,strong){color:var(--nx-on-light)!important}
body.nxb-premium-store .product-detail-shell .product-info p{color:var(--nx-on-light-muted)!important}
body.nxb-premium-store .product-buy-primary:not(:disabled){background:var(--nx-accent)!important;color:var(--nx-on-accent)!important}
body.nxb-premium-store .nxb-au-theme-tip{
 background:var(--nx-accent-soft)!important;border-color:var(--nx-surface-line)!important;
 border-left-color:var(--nx-accent)!important;color:var(--nx-on-soft)!important;
}

/* Los fondos oscuros necesitan tinta clara, incluso después de cambiar de preset. */
body.nxb-premium-store .store-topline,
body.nxb-premium-store .store-pro-footer{
 background:var(--nx-dark)!important;color:var(--nx-on-dark)!important;
}
body.nxb-premium-store .store-topline :is(a,span),
body.nxb-premium-store .store-pro-footer :is(h4,strong,b){color:var(--nx-on-dark)!important}
body.nxb-premium-store .store-pro-footer :is(p,small,a){color:var(--nx-on-dark-muted)!important}
body.nxb-premium-store .store-hero-main .store-hero-copy :is(h1,h2,p),
body.nxb-premium-store .store-hero-side-copy :is(h2,p){color:var(--nx-on-dark)!important}
body.nxb-premium-store .store-hero-main .store-hero-cta{
 background:var(--nx-accent)!important;color:var(--nx-on-accent)!important;
}
body.nxb-premium-store :is(.store-pro-section.dark-band,.catalog-hero) :is(h1,h2,strong,p){
 color:var(--nx-on-dark)!important;
}

/* Botones y chips activos: alto contraste para acentos claros u oscuros. */
body.nxb-premium-store :is(.store-add-cart,.store-category-menu>summary,.nxb-au-chip.active,
 .catalog-pagination a.active,.store-cart-drawer-checkout,.store-hero-cta){
 background:var(--nx-accent)!important;color:var(--nx-on-accent)!important;
}
body.nxb-premium-store :is(.nxb-au-promo-ribbon>a,.store-saving-badge,.store-sale-badge){
 background:var(--nx-promo)!important;color:var(--nx-on-promo)!important;
}
body.nxb-premium-store :is(.store-add-cart,.checkout-confirm-btn,.product-buy-primary)[disabled]{
 opacity:.55;cursor:not-allowed;
}
body.nxb-premium-store :is(a,button,input,select,textarea,summary):focus-visible{
 outline:3px solid var(--nx-link)!important;outline-offset:3px;
}
body.nxb-premium-store .store-mobile-bottom-nav a.active{color:var(--nx-link)!important}
@media(max-width:760px){
 body.nxb-premium-store .store-pro-actions .nxb-at-compact-link.cart{
  background:var(--nx-accent-soft)!important;
 }
 body.nxb-premium-store .store-pro-actions .nxb-at-compact-link.cart .store-action-icon{
  color:var(--nx-link)!important;
 }
}
