/* NXB-06AK — Banner administrable de catálogo + acción promocional accesible.
   Se carga después de los temas y hojas heredadas, sin cambiar valores guardados. */
body.nxb-premium-store .nxb06ak-catalog-gallery{
  display:block; min-width:0; margin:6px 0 20px;
}
body.nxb-premium-store .nxb06ak-catalog-banner{
  position:relative; overflow:hidden; isolation:isolate; border-radius:18px;
  aspect-ratio:1600 / 480; background:var(--nx-soft,#e8f4f2);
  border:1px solid var(--nx-surface-line,#dae3e6);
  box-shadow:0 12px 32px rgba(13,38,51,.12); margin:0;
}
body.nxb-premium-store .nxb06ak-catalog-banner-inner{
  position:relative; display:block; width:100%; height:100%; color:inherit;
  text-decoration:none; overflow:hidden;
}
body.nxb-premium-store .nxb06ak-catalog-banner picture,
body.nxb-premium-store .nxb06ak-catalog-banner picture img{
  display:block; width:100%; height:100%;
}
body.nxb-premium-store .nxb06ak-catalog-banner picture img{object-fit:contain;object-position:center;}
body.nxb-premium-store .nxb06ak-catalog-banner.fit-cover picture img{object-fit:cover;}
body.nxb-premium-store .nxb06ak-catalog-banner.focus-top picture img{object-position:center top;}
body.nxb-premium-store .nxb06ak-catalog-banner.focus-bottom picture img{object-position:center bottom;}
body.nxb-premium-store .nxb06ak-catalog-banner.focus-left picture img{object-position:left center;}
body.nxb-premium-store .nxb06ak-catalog-banner.focus-right picture img{object-position:right center;}
body.nxb-premium-store .nxb06ak-catalog-banner.has-copy .nxb06ak-catalog-banner-inner:before{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(90deg,rgba(5,25,35,.89),rgba(5,25,35,.58) 42%,transparent 78%);
}
body.nxb-premium-store .nxb06ak-catalog-copy{
  position:absolute;z-index:2;top:50%;left:clamp(18px,4vw,55px);transform:translateY(-50%);
  width:min(55%,640px);display:flex;align-items:flex-start;flex-direction:column;gap:8px;
}
body.nxb-premium-store .nxb06ak-catalog-copy :is(span,h2,p,strong,b){color:#fff!important;-webkit-text-fill-color:#fff!important;text-shadow:0 1px 4px rgba(0,0,0,.15)!important;}
body.nxb-premium-store .nxb06ak-catalog-copy>span{font-size:clamp(9px,1vw,13px);font-weight:850;letter-spacing:.12em;text-transform:uppercase;}
body.nxb-premium-store .nxb06ak-catalog-copy h2{font:850 clamp(23px,3.3vw,48px)/1.1 system-ui,sans-serif!important;letter-spacing:-.025em;margin:0;}
body.nxb-premium-store .nxb06ak-catalog-copy p{font-size:clamp(11px,1.3vw,18px);line-height:1.45;margin:0;}
body.nxb-premium-store .nxb06ak-catalog-copy strong{font-size:clamp(12px,1.5vw,20px);}
body.nxb-premium-store .nxb06ak-catalog-copy b{background:var(--nx-action-bg,#0a5066)!important;border-radius:9px;padding:9px 14px;font-size:12px;font-weight:850;}
body.nxb-premium-store .nxb06ak-catalog-banner-inner:focus-visible{outline:3px solid var(--nx-action-bg,#0a5066)!important;outline-offset:-4px!important;}
/* No hay dos banners apilados: el orden del administrador decide cuál aparece. */
@media(min-width:1024px){
 body.nxb-premium-store .nxb06ak-catalog-banner[data-nxb06ak-desktop="0"]{display:none!important;}
 body.nxb-premium-store .nxb06ak-catalog-banner[data-nxb06ak-desktop="1"] ~ .nxb06ak-catalog-banner[data-nxb06ak-desktop="1"]{display:none!important;}
}
@media(min-width:761px) and (max-width:1023px){
 body.nxb-premium-store .nxb06ak-catalog-banner[data-nxb06ak-tablet="0"]{display:none!important;}
 body.nxb-premium-store .nxb06ak-catalog-banner[data-nxb06ak-tablet="1"] ~ .nxb06ak-catalog-banner[data-nxb06ak-tablet="1"]{display:none!important;}
}
@media(max-width:760px){
 body.nxb-premium-store .nxb06ak-catalog-gallery{margin:2px 0 12px;}
 body.nxb-premium-store .nxb06ak-catalog-banner{aspect-ratio:1080 / 540;border-radius:13px;box-shadow:0 5px 18px rgba(13,38,51,.10);}
 body.nxb-premium-store .nxb06ak-catalog-banner[data-nxb06ak-mobile="0"]{display:none!important;}
 body.nxb-premium-store .nxb06ak-catalog-banner[data-nxb06ak-mobile="1"] ~ .nxb06ak-catalog-banner[data-nxb06ak-mobile="1"]{display:none!important;}
 body.nxb-premium-store .nxb06ak-catalog-banner.has-copy .nxb06ak-catalog-banner-inner:before{background:linear-gradient(90deg,rgba(5,25,35,.90),rgba(5,25,35,.28) 77%);}
 body.nxb-premium-store .nxb06ak-catalog-copy{left:14px;width:min(70%,320px);gap:4px;}
 body.nxb-premium-store .nxb06ak-catalog-copy h2{font-size:clamp(15px,4.5vw,27px)!important;}
 body.nxb-premium-store .nxb06ak-catalog-copy p{font-size:clamp(9px,2.7vw,13px);}
 body.nxb-premium-store .nxb06ak-catalog-copy strong{font-size:11px;}
 body.nxb-premium-store .nxb06ak-catalog-copy b{padding:6px 9px;font-size:10px;}
}
/* Los temas no pueden combinar un fondo oscuro con texto oscuro en Explorar ofertas. */
body.nxb-premium-store.nxb-market-05as .nxb-au-promo-ribbon > a,
body.nxb-premium-store.nxb-market-05as .nxb-au-promo-ribbon > a:hover,
body.nxb-premium-store.nxb-market-05as .nxb-au-promo-ribbon > a:focus-visible{
  background:var(--nx-action-bg,#0a5066)!important;
  background-image:none!important;
  color:var(--nx-action-text,#fff)!important;
  -webkit-text-fill-color:var(--nx-action-text,#fff)!important;
  border-color:transparent!important;
  font-weight:850!important;
  text-decoration:none!important;
}
body.nxb-premium-store.nxb-market-05as .nxb-au-promo-ribbon > a :is(span,strong,b,small,em,i){
  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 .nxb-au-promo-ribbon > a:hover{filter:brightness(.93);}
