/* Current photo/video overlay. Explicit opacity and stacking override the legacy hero-media.css rule. */
#metarlight .product-demo {
  position: relative;
  width: min(100%, 420px);
  justify-self: center;
  overflow: hidden;
  border-radius: 12px;
}
#metarlight .product-demo-photo {
  display: block;
  width: 100%;
  height: auto;
}
#metarlight .product-demo-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  z-index: 1;
}
#metarlight .product-demo [hidden] {
  display: none !important;
}
#metarlight .product-demo-toggle {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  min-width: 100px;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid #ffffff4d;
  border-radius: 24px;
  background: #000b;
  color: white;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
