/* NexusBar NXB-06AF · Capa semántica ÚNICA para acciones en el storefront.
 * Origen: AppearanceThemeService::cssVars(), NO colores fijos en cada vista.
 * El acento elegido sigue existiendo en --nx-accent. --nx-action-bg es una
 * variante accesible de ese mismo acento para botones de texto blanco.
 * Debe cargarse DESPUÉS de 06AE; no cambia estilos del panel ni del POS. */

/* Botones de acción sobre superficies promocionales, hero y menú. */
body.nxb-premium-store.nxb-market-05as :is(
 .store-hero-main .store-hero-cta,
 .store-hero-cta,
 .store-hero-side .store-side-cta,
 .store-side-cta,
 .store-campaign-zone .store-campaign-copy a,
 .store-campaign-copy a,
 .store-pro-nav .store-category-menu > summary,
 .store-category-menu > summary,
 .store-pro-search button,
 .store-add-cart:not(:disabled),
 .store-cart-price-button:not(:disabled),
 .product-buy-primary:not(:disabled),
 .store-cart-drawer-checkout:not(:disabled),
 .customer-auth-submit:not(:disabled),
 .customer-auth-card button[type="submit"]:not(:disabled),
 .catalog-toolbar > button:not(:disabled),
 .catalog-pagination a.active,
 .nxb-au-chip.active,
 .nxb06ad-section-banner .nxb06ad-banner-action,
 .nxb-bc-floating-cart:not(:disabled):hover
){
 background:var(--nx-action-bg,var(--nx-dark,#173c2d))!important;
 background-image:none!important;
 color:var(--nx-action-text,#fff)!important;
 -webkit-text-fill-color:var(--nx-action-text,#fff)!important;
 border-color:var(--nx-action-bg,var(--nx-dark,#173c2d))!important;
 font-weight:800!important;
 text-shadow:none!important;
}
/* Evita regresiones de texto negro en spans/strongs o iconos con reglas antiguas. */
body.nxb-premium-store.nxb-market-05as :is(
 .store-hero-cta,.store-side-cta,.store-campaign-copy a,
 .store-category-menu>summary,.store-pro-search button,
 .store-add-cart:not(:disabled),.store-cart-price-button:not(:disabled),
 .product-buy-primary:not(:disabled),.store-cart-drawer-checkout:not(:disabled),
 .customer-auth-submit:not(:disabled),.customer-auth-card button[type="submit"]:not(:disabled),
 .catalog-toolbar>button:not(:disabled),.catalog-pagination a.active,
 .nxb-au-chip.active,.nxb06ad-banner-action
) :is(span,strong,b,small,em,i,svg){
 color:var(--nx-action-text,#fff)!important;
 -webkit-text-fill-color:var(--nx-action-text,#fff)!important;
 text-shadow:none!important;
}
body.nxb-premium-store.nxb-market-05as :is(
 .store-category-menu>summary,.store-pro-search button,
 .store-add-cart:not(:disabled),.store-cart-price-button:not(:disabled),
 .product-buy-primary:not(:disabled),.store-cart-drawer-checkout:not(:disabled),
 .store-hero-cta,.store-side-cta,.store-campaign-copy a
) svg{stroke:currentColor!important;}
body.nxb-premium-store.nxb-market-05as .store-category-menu > summary svg path{stroke:currentColor!important;}
/* Hover, teclado y menú abierto: fondo y texto cambian JUNTOS. */
body.nxb-premium-store.nxb-market-05as :is(
 .store-hero-cta:hover,.store-hero-cta:focus-visible,
 .store-side-cta:hover,.store-side-cta:focus-visible,
 .store-campaign-copy a:hover,.store-campaign-copy a:focus-visible,
 .store-category-menu > summary:hover,.store-category-menu[open] > summary,
 .store-add-cart:not(:disabled):hover,.product-buy-primary:not(:disabled):hover,
 .store-cart-drawer-checkout:not(:disabled):hover
){
 background:var(--nx-action-bg,var(--nx-dark,#173c2d))!important;
 background-image:none!important;
 color:var(--nx-action-text,#fff)!important;
 -webkit-text-fill-color:var(--nx-action-text,#fff)!important;
 filter:brightness(.91);
}
/* Las categorías fotográficas tienen siempre un distintivo sólido accesible. */
body.nxb-premium-store.nxb-market-05as .nxb-as-departments
 .nxb-ab-category-card .nxb-ab-category-caption strong{
 background:var(--nx-action-bg,var(--nx-dark,#173c2d))!important;
 background-image:none!important;
 color:var(--nx-action-text,#fff)!important;
 -webkit-text-fill-color:var(--nx-action-text,#fff)!important;
 font-weight:850!important;
 text-shadow:none!important;
}
/* Separar acciones PROMO (color promocional original) de acciones de acento. */
body.nxb-premium-store.nxb-market-05as :is(
 .nxb-au-promo-ribbon>a,
 .store-sale-badge:not(.gold),
 .store-saving-badge,
 .checkout-confirm-btn:not(:disabled),
 .nxb-au-promo-icon
){
 background:var(--nx-promo,#d94635)!important;
 background-image:none!important;
 color:var(--nx-on-promo,#fff)!important;
 -webkit-text-fill-color:var(--nx-on-promo,#fff)!important;
 text-shadow:none!important;
 font-weight:800!important;
}
body.nxb-premium-store.nxb-market-05as :is(
 .nxb-au-promo-ribbon>a,.checkout-confirm-btn:not(:disabled),
 .store-sale-badge:not(.gold),.store-saving-badge,.nxb-au-promo-icon
) :is(span,b,strong,small,em,i,svg){
 color:var(--nx-on-promo,#fff)!important;
 -webkit-text-fill-color:var(--nx-on-promo,#fff)!important;
}
body.nxb-premium-store.nxb-market-05as :is(.nxb-au-promo-ribbon>a,.checkout-confirm-btn:not(:disabled)):hover{
 background:var(--nx-promo,#d94635)!important;
 color:var(--nx-on-promo,#fff)!important;
 -webkit-text-fill-color:var(--nx-on-promo,#fff)!important;
 filter:brightness(.96);
}
/* Vista previa fiel: CTA toma acento accesible, producto promo toma color promo. */
.nxb-theme-live[data-theme-preview] .nxb-mini-store-hero button{
 background:var(--preview-action-bg,var(--preview-accent))!important;
 color:#fff!important;
 -webkit-text-fill-color:#fff!important;
 font-weight:800!important;
}
.nxb-theme-live[data-theme-preview] .nxb-mini-store-hero button :is(span,b,strong){
 color:#fff!important;-webkit-text-fill-color:#fff!important;
}
.nxb-theme-live[data-theme-preview] .nxb-mini-store-cards i:last-child{
 background:var(--preview-promo,var(--preview-accent))!important;
 color:var(--preview-on-promo,#fff)!important;
 -webkit-text-fill-color:var(--preview-on-promo,#fff)!important;
}
@media(prefers-reduced-motion:reduce){
 body.nxb-premium-store.nxb-market-05as :is(.store-hero-cta,.store-side-cta,.store-campaign-copy a):hover{filter:none;}
}
