/* STORE APP Patch 430
   - Final guard for homepage slideshow media visibility after the black theme restore.
   - Cart product-name/product-image links back to product detail pages. */

/* The slide image is the background media layer; the content frame must never
   receive a solid panel background or it leaves only narrow image strips visible
   outside the centered container. */
body.masterpalm-store-dark #site-main .mpb2b-store-home-slideshow .mpb2b-container.mpb2b-store-slide-frame,
body.masterpalm-store-dark #site-main .mpb2b-store-home-slideshow .mpb2b-store-slide-frame,
body.masterpalm-store-dark.masterpalm-store-white #site-main .mpb2b-store-home-slideshow .mpb2b-store-slide-frame{
  background:transparent !important;
  background-color:transparent !important;
  background-image:none !important;
  box-shadow:none !important;
  border:0 !important;
}

body.masterpalm-store-dark #site-main .mpb2b-store-home-slideshow .mpb2b-store-slide-media,
body.masterpalm-store-dark #site-main .mpb2b-store-home-slideshow .mpb2b-store-slide-media img{
  display:block !important;
  visibility:visible !important;
}

body.masterpalm-store-dark #site-main .mpb2b-store-home-slideshow .mpb2b-store-slide-media{
  position:absolute !important;
  inset:0 !important;
  z-index:0 !important;
  width:100% !important;
  height:100% !important;
  margin:0 !important;
  opacity:1 !important;
  background:transparent !important;
}

body.masterpalm-store-dark #site-main .mpb2b-store-home-slideshow .mpb2b-store-slide-media img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center center !important;
  opacity:1 !important;
}

body.masterpalm-store-dark #site-main .mpb2b-store-home-slideshow .mpb2b-store-slide-overlay{
  z-index:1 !important;
  pointer-events:none !important;
}

body.masterpalm-store-dark #site-main .mpb2b-store-home-slideshow .mpb2b-store-slide:not(.is-video-playing) .ses-hero-video-stage{
  opacity:0 !important;
  pointer-events:none !important;
}

body.masterpalm-store-dark #site-main .mpb2b-store-home-slideshow .mpb2b-store-slide.is-video-playing .mpb2b-store-slide-media{
  opacity:0 !important;
}

/* Keep text panels dark/readable without letting the panel become the slide. */
body.masterpalm-store-dark #site-main .mpb2b-store-home-slideshow .mpb2b-store-slide-copy{
  position:relative;
  z-index:2;
}

body.masterpalm-store-dark #site-main .mpb2b-store-home-slideshow .mpb2b-text-desktop-whitebox .mpb2b-store-slide-copy,
body.masterpalm-store-dark #site-main .mpb2b-store-home-slideshow .mpb2b-text-mobile-whitebox .mpb2b-store-slide-copy{
  background:rgba(7,10,13,.82) !important;
  border:1px solid rgba(255,255,255,.18) !important;
}

/* Cart product links. */
body.masterpalm-store-dark #site-main .mpb2b-cart-product-link{
  display:inline-block;
  color:#f4f6f8 !important;
  text-decoration:none !important;
  font-weight:1000;
}

body.masterpalm-store-dark #site-main .mpb2b-cart-product-link strong{
  color:inherit !important;
}

body.masterpalm-store-dark #site-main .mpb2b-cart-product-link:hover,
body.masterpalm-store-dark #site-main .mpb2b-cart-product-link:focus-visible{
  color:#ff4047 !important;
  text-decoration:underline !important;
  text-underline-offset:3px;
}

body.masterpalm-store-dark #site-main .mpb2b-cart-img-link{
  display:block;
  text-decoration:none !important;
  color:inherit !important;
  border-radius:4px;
}

body.masterpalm-store-dark #site-main .mpb2b-cart-img-link:focus-visible{
  outline:3px solid rgba(255,64,71,.42);
  outline-offset:3px;
}

body.masterpalm-store-dark #site-main .mpb2b-cart-img-link:hover .mpb2b-cart-img{
  border-color:#ff4047 !important;
  box-shadow:0 0 0 2px rgba(255,64,71,.18);
}
