/* Homepage-only backgrounds. No overlays on checkout or other routes. */
#bpvh-home-background {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background-color: #07182a;
  background-image: var(--bpvh-poster, none);
  background-size: cover;
  background-position: var(--bpvh-position, center);
  isolation: isolate;
}
#bpvh-home-background .bpvh-home-video {
  width: 100%; height: 100%;
  position: absolute; inset: 0;
  display: block;
  object-fit: var(--bpvh-fit, cover);
  object-position: center var(--bpvh-position, center);
}
#bpvh-home-background .bpvh-home-overlay {
  position: absolute; inset: 0;
  background: rgba(1, 12, 29, var(--bpvh-overlay, .50));
}
/* Put existing site content above the media. Keep product cards and buttons unchanged. */
body.bpvh-home-active { background: #07182a !important; }
body.bpvh-home-active #page { position: relative; z-index: 1; background: transparent !important; min-height: 100vh; }
body.bpvh-home-active #wrapper,
body.bpvh-home-active #content-wrapper,
body.bpvh-home-active #main { background-color: transparent !important; background-image: none !important; }
/* Honor reduced motion and mobile-data preferences with a still poster/background. */
@media (prefers-reduced-motion: reduce) {
  #bpvh-home-background .bpvh-home-video { display: none !important; }
}
@media (max-width: 767px) {
  #bpvh-home-background.bpvh-desktop-only .bpvh-home-video { display: none !important; }
}
