body.pg-mpt-product-page #prk_footer_revealer.pg-studio-background {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #111;
}
body.pg-mpt-product-page.pg-studio-footer-preview #prk_footer_sidebar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 380px;
  background: transparent !important;
}
body.pg-mpt-product-page .pg-studio-background-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
  z-index: 0;
}
body.pg-mpt-product-page #prk_footer_revealer.pg-studio-background::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.88), transparent 55%), linear-gradient(90deg, rgba(0,0,0,.86), rgba(0,0,0,.3) 58%, rgba(0,0,0,.16));
  z-index: 1;
  pointer-events: none;
}
body.pg-mpt-product-page .pg-studio-background #prk_footer_inner {
  position: relative;
  padding-block: 90px;
}
body.pg-mpt-product-page .pg-studio-background #block-3 { width: auto; }
body.pg-mpt-product-page .pg-studio-background .wp-block-paragraph,
body.pg-mpt-product-page .pg-studio-background .wp-block-paragraph a {
  color: #fff6c9 !important;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.8;
  text-shadow: 0 1px 8px #000;
}
body.pg-mpt-product-page .pg-studio-background-pause {
  position: absolute;
  z-index: 3;
  top: 20px;
  right: max(20px, calc((100% - 1240px)/2));
  min-width: 76px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid rgba(255,246,201,.6);
  border-radius: 999px;
  color: #fff6c9 !important;
  background: rgba(0,0,0,.65);
  font: inherit;
  cursor: pointer;
}
body.pg-mpt-product-page .pg-studio-background-pause:hover { background: #111; }
body.pg-mpt-product-page .pg-studio-background-pause:focus-visible {
  outline: 2px solid #edc031;
  outline-offset: 3px;
}
body.pg-mpt-product-page .pg-studio-background-pause[hidden] { display: none !important; }
/* Taller footer trial, closer to the description. Video follows the block. */
body.pg-mpt-product-page.pg-studio-footer-preview #pulse_ajax_container { padding-bottom: 0; }
body.pg-mpt-product-page.pg-studio-footer-preview #pulse_ajax_inner { margin-bottom: 24px; }
body.pg-mpt-product-page.pg-studio-footer-preview .woocommerce-tabs { margin-bottom: 24px !important; }
body.pg-mpt-product-page.pg-studio-footer-preview #prk_footer_sidebar {
  min-height: 520px;
}
body.pg-mpt-product-page.pg-studio-footer-preview #prk_after_widgets {
  position: relative;
  z-index: 2;
  background: transparent !important;
  padding-bottom: calc(27px + var(--pg-mpt-sticky-clearance, 7rem));
}
body.pg-mpt-product-page.pg-studio-footer-preview #prk_after_widgets,
body.pg-mpt-product-page.pg-studio-footer-preview #prk_after_widgets a {
  color: #fff6c9 !important;
  text-shadow: 0 1px 6px #000;
}
/* Keep the existing measured clearance, now inside the video-covered footer. */
body.pg-mpt-product-page.pg-studio-footer-preview.has-pg-mpt-sticky { padding-bottom: 0; }
body.pg-mpt-product-page.pg-studio-footer-preview .pg-mpt-sticky-summary { z-index: 10010; }
@media (max-width: 760px) {
  body.pg-mpt-product-page .pg-studio-background-pause { top: auto; bottom: calc(var(--pg-mpt-sticky-clearance, 7rem) + 20px); }
  body.pg-mpt-product-page.pg-studio-footer-preview #prk_footer_sidebar { min-height: 340px; }
  body.pg-mpt-product-page .pg-studio-background-video { object-position: 52% top; }
  body.pg-mpt-product-page #prk_footer_revealer.pg-studio-background::before { background: linear-gradient(0deg,rgba(0,0,0,.9),rgba(0,0,0,.5) 65%); }
}
