/* Merka2 v1.8: prioridad a la imagen real de categoría. SOLO al shopping, no a /tiendas/. */
body #categoryView .embedded-banner {
  position:relative;isolation:isolate;overflow:hidden;
  min-height:clamp(330px,34vw,520px);
  background-color:#172934!important;
  /* Primer fotograma útil como respaldo: visible incluso si el navegador no reproduce MP4. */
  background-image:var(--category-poster,linear-gradient(130deg,#153a43,#316575))!important;
  background-size:cover!important;background-position:center center!important;
  border-bottom:5px solid var(--t-highlight,#ea5967)!important;
}
body #categoryView .embedded-banner .embedded-video{
  display:block!important;visibility:visible!important;opacity:1!important;
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  object-fit:cover!important;object-position:center!important;
  z-index:0!important;pointer-events:none!important;filter:none!important;
}
body #categoryView .embedded-banner .embedded-video-tint,
body[data-season="minimal"] #categoryView .embedded-video-tint{
  position:absolute!important;inset:0!important;z-index:1!important;
  background:linear-gradient(90deg,rgba(7,13,22,.65),rgba(7,14,23,.36) 55%,rgba(7,13,22,.38))!important;
  opacity:1!important;pointer-events:none!important;
}
body #categoryView .embedded-banner-inner{
  min-height:clamp(330px,34vw,520px);position:relative!important;z-index:2!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  padding:48px 22px!important;
}
body #categoryView .embedded-title-block{width:100%;max-width:1150px!important;margin:auto!important;
 flex:1!important;display:flex;flex-direction:column;align-items:center;text-align:center!important;position:relative;z-index:3!important}
body #categoryView #embeddedTitle{font-size:clamp(40px,5.4vw,86px)!important;font-weight:900!important;
 letter-spacing:-.035em!important;line-height:1.03!important;text-align:center!important;
 color:#fff!important;text-shadow:0 4px 24px rgba(0,0,0,.9),0 1px 3px #000!important;
 margin:12px auto 18px!important;max-width:1100px!important}
body #categoryView #embeddedSubtitle{font-size:clamp(14px,1.55vw,19px)!important;max-width:790px!important;
 margin:0 auto!important;text-align:center!important;color:#fff!important;
 text-shadow:0 3px 12px #000,0 1px 2px #000!important}
body #categoryView .embedded-breadcrumb{display:flex!important;justify-content:center!important;gap:12px!important;
 margin:0 auto 15px!important;color:#fff!important;font-weight:850!important;
 text-shadow:0 2px 7px rgba(0,0,0,.9)!important}
body #categoryView .embedded-breadcrumb a,
body[data-season="minimal"] #categoryView .embedded-breadcrumb a,
body[data-season="minimal"] #categoryView .embedded-breadcrumb{color:#fff!important}
body #categoryView .embedded-eyebrow,
body[data-season="minimal"] #categoryView .embedded-eyebrow{color:#f8fbff!important;font-size:12px!important;
 text-shadow:0 2px 9px #000!important;letter-spacing:.16em!important}
body #categoryView .embedded-title-art{display:none!important}
/* Cuando el MP4 falla, la imagen de respaldo ocupa el fondo (ya visible por CSS). */
body #categoryView .embedded-banner[data-video-status="error"] .embedded-video{opacity:0!important}
/* Modo accesible: la foto de respaldo permanece visible y el usuario evita animaciones. */
@media(prefers-reduced-motion:reduce){body #categoryView .embedded-video{display:none!important}}
@media(max-width:650px){body #categoryView .embedded-banner-inner{min-height:300px;padding:30px 14px!important}
 body #categoryView #embeddedTitle{font-size:clamp(36px,9vw,55px)!important}
 body #categoryView .embedded-video-tint{background:linear-gradient(90deg,#0c1523ba,#0c15237a)!important}}
