html:has(.ac-product-video[open]) { overflow: hidden; }
.ac-product-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #000;
  color: #fff;
  overflow: hidden;
}
.ac-product-video::backdrop { background: #000; }
.ac-product-video video { display: block; width: 100%; height: 100%; object-fit: contain; }
.ac-product-video button {
  position: absolute;
  border: 1px solid #ffffff80;
  border-radius: 999px;
  padding: 10px 16px;
  background: #171a20f0;
  color: #fff;
  font: 600 14px system-ui, sans-serif;
  cursor: pointer;
}
.ac-product-video-close { top: max(12px, env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right)); }
.ac-product-video-play, .ac-product-video-status { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.ac-product-video-status { position: absolute; padding: 12px 16px; background: #171a20f0; text-align: center; }
.ac-product-video [hidden] { display: none !important; }
