/* MusicBox V2.13 — direct photo layers: fill / fit / zoom / position really apply. */
.mbx-hero,.mbx-shop-banner{isolation:isolate!important}
.mbx-hero .mbx-banner-photo,.mbx-shop-banner .mbx-banner-photo{
  position:absolute!important;inset:0!important;display:block!important;
  overflow:hidden!important;pointer-events:none!important;z-index:0!important;
}
.mbx-hero .mbx-banner-photo-img,.mbx-shop-banner .mbx-banner-photo-img{
  display:block!important;position:absolute!important;inset:0!important;
  width:100%!important;height:100%!important;min-width:0!important;
  max-width:none!important;max-height:none!important;
  object-fit:var(--mbx-banner-image-fit,cover)!important;
  object-position:var(--mbx-banner-image-position,50% 50%)!important;
  transform:scale(var(--mbx-banner-image-zoom,1))!important;
  transform-origin:var(--mbx-banner-image-position,50% 50%)!important;
  transition:transform .15s ease,object-position .15s ease;
}
/* The legacy ::before had image + gradient combined, making crop controls unreliable.
   Keep only the dark gradient overlay, in its own layer above the photo. */
.mbx-hero::before{
  background-image:linear-gradient(90deg,#080e17 0%,rgba(8,14,23,.90) 19%,rgba(8,14,23,.55) 48%,rgba(8,14,23,.05) 100%)!important;
  background-size:cover!important;background-position:center!important;
  z-index:1!important;pointer-events:none!important;
}
.mbx-shop-banner::before,
body:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag,.tax-product_brand) .mbx-shop-banner::before{
  background-image:linear-gradient(90deg,rgba(4,11,19,.96) 0%,rgba(4,11,19,.83) 36%,rgba(4,11,19,.18) 86%)!important;
  background-size:cover!important;background-position:center!important;
  z-index:1!important;pointer-events:none!important;
}
.mbx-hero .mbx-hero-copy,.mbx-shop-banner .mbx-shop-banner-text{
  position:relative!important;z-index:2!important;
}
@media(max-width:780px){
  .mbx-hero::before{background-image:linear-gradient(90deg,rgba(5,10,18,.83),rgba(5,10,18,.36))!important}
  .mbx-shop-banner::before,
  body:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag,.tax-product_brand) .mbx-shop-banner::before{
    background-image:linear-gradient(90deg,rgba(4,11,19,.93),rgba(4,11,19,.48))!important
  }
}
