.product-video-thumbnail{position:relative;flex:0 0 68px;width:68px;height:82px;padding:3px;border:1px solid var(--commerce-border,#dce2e0);border-radius:10px;background:#fff;overflow:hidden;cursor:pointer}
.product-video-thumbnail img{display:block;width:100%;height:100%;object-fit:contain;border-radius:6px;opacity:.75}
.product-video-play{position:absolute;inset:0;display:grid;place-items:center;padding-bottom:10px}
.product-video-play svg{width:28px;height:28px;padding:5px;border-radius:50%;background:#111;color:#fff;fill:currentColor;stroke:none;box-shadow:0 2px 6px #0002}
.product-video-caption{position:absolute;bottom:4px;inset-inline:3px;background:#fff;font-size:11px;font-weight:700;text-align:center;line-height:1.6}
.product-video-fallback{display:flex;padding-block:12px}
.product-video-dialog{width:min(920px,calc(100vw - 32px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);margin:auto;padding:0;border:0;border-radius:12px;background:#fff;color:#111;overflow:auto;box-shadow:0 18px 80px #0003}
.product-video-dialog::backdrop{background:#000b}
.product-video-dialog[open]{animation:product-video-enter .18s ease-out}
.product-video-header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 18px}
.product-video-header h2{font:700 18px/1.5 Rubik,Arial,sans-serif;margin:0}
.product-video-header button{display:grid;place-items:center;flex:0 0 44px;height:44px;border-radius:50%;background:#f3f4f4;color:#111}
.product-video-player{aspect-ratio:16/9;min-height:200px;background:#111;display:flex}
.product-video-player iframe{display:block;width:100%;height:100%;min-height:200px;border:0;aspect-ratio:16/9}
.product-video-dialog footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 18px;font-size:13px;line-height:1.6}
.product-video-dialog footer a{text-decoration:underline;text-underline-offset:3px;min-height:28px}
@keyframes product-video-enter{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:600px){.product-video-header{padding:8px 12px}.product-video-header h2{font-size:16px}.product-video-dialog footer{padding:10px 12px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.product-video-dialog[open]{animation:none}}
html.a11y-motion .product-video-dialog[open]{animation:none}
