.gc-product-video { --video-radius: 18px; min-width: 0; border: 0; border-radius: var(--video-radius); background: transparent; box-shadow: 0 24px 64px -24px rgb(23 55 85 / 24%); }
/* Keep a true 16:9 window. The centered player meets YouTube's minimum height
   on narrow phones while its empty letterbox area stays outside this window. */
/* Composite the iframe through one rounded mask. Nested rounded overflow and
   clip-path edges can leave a dark antialiasing seam around video surfaces. */
.gc-product-video-stage { position: relative; isolation: isolate; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--video-radius); -webkit-mask-image: linear-gradient(#fff, #fff); mask-image: linear-gradient(#fff, #fff); background: #eef5fd; }
.gc-product-video-player, .gc-product-video-player iframe, .gc-product-video-poster { position: absolute; inset: 0; width: 100%; height: 100%; }
.gc-product-video-player { inset: 50% 0 auto; min-height: 200px; transform: translateY(-50%); }
/* YouTube rounds its internal video to whole pixels. Bleed the frame by 2px so
   fractional layout widths cannot expose a dark hairline at the rounded edge. */
.gc-product-video-player iframe { inset: -2px; display: block; width: calc(100% + 4px); height: calc(100% + 4px); border: 0; pointer-events: none; }
.gc-product-video-player { opacity: 0; transition: opacity 600ms ease; }
.gc-product-video-stage[data-status='ready'] .gc-product-video-player { opacity: 1; }
.gc-product-video-poster { display: grid; place-items: center; background: #eef5fd; opacity: 1; transition: opacity 600ms ease; }
.gc-product-video-stage[data-status='ready'] .gc-product-video-poster { opacity: 0; pointer-events: none; }
.gc-product-video-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gc-product-video-stage:is([data-status='poster'], [data-status='error']) .gc-product-video-poster::after { position: absolute; inset: 0; background: rgb(15 24 34 / 20%); content: ''; }
.gc-product-video-start { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 10px; max-width: calc(100% - 32px); min-height: 48px; padding: 12px 20px; border: 1px solid rgb(255 255 255 / 36%); border-radius: 999px; color: #fff; background: #163c64; font-size: 14px; font-weight: 700; line-height: 1.5; text-align: center; }
.gc-product-video-start svg { flex: none; width: 18px; height: 18px; fill: currentColor; }
.gc-product-video-start:disabled { cursor: progress; }
.gc-product-video-start:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.gc-product-video-toggle { position: absolute; z-index: 2; width: 1px; height: 1px; padding: 0; overflow: hidden; border: 0; clip-path: inset(50%); white-space: nowrap; }
/* The quiet presentation still offers a pause action to keyboard and screen-reader visitors. */
.gc-product-video-toggle:focus-visible { inset: auto 16px 16px auto; width: auto; height: auto; min-height: 44px; padding: 10px 16px; clip-path: none; border: 1px solid #fff; border-radius: 999px; color: #fff; background: #163c64; outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 720px) {
  .gc-product-video { --video-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .gc-product-video-player, .gc-product-video-poster { transition: none; }
}
