/* Product video shares the accepted photo gallery. No effect without media. */
.product-photos[data-product-media] .media-video-choice{position:relative;display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;overflow:hidden;background:#f7f7f7}
.product-photos[data-product-media] .gallery .media-video-choice img{width:100%;height:100%;object-fit:cover;opacity:.72}
.media-video-mark{position:absolute;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:white;color:#1b2738;box-shadow:0 1px 4px #0002;top:calc(50% - 21px)}
.media-video-mark svg{width:20px;height:20px;fill:currentColor;stroke:none}
.media-video-label{position:absolute;left:0;right:0;bottom:2px;text-align:center;font-size:12px;line-height:18px;background:#ffffffed;color:#333;white-space:nowrap}
.product-media-video{min-width:0;grid-column:1/-1;margin-top:16px}
.product-media-video h2{font-size:20px;line-height:1.3;margin-bottom:12px}
.product-media-video video{display:block;width:100%;height:auto;max-height:600px;object-fit:contain;background:#111}
.media-video-feedback p{font-size:13px;line-height:1.5;margin:8px 0;color:#5c5c5c}
.media-video-feedback button{min-height:44px;border:1px solid #808080;border-radius:6px;background:white;color:#333;padding:8px 12px}
.product-media-video noscript a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:3px;font-size:14px}
.product-photos[data-media-enhanced] .detail-image{position:relative}
.product-photos[data-media-enhanced] .detail-image>[hidden]{display:none!important}
.product-photos[data-media-enhanced] .product-media-video{position:absolute;inset:0;margin:0;display:flex;flex-direction:column;background:#111}
.product-photos[data-media-enhanced] .product-media-video[hidden]{display:none!important}
.product-photos[data-media-enhanced] .product-media-video h2{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.product-photos[data-media-enhanced] .product-media-video video{min-height:0;flex:1;width:100%;height:100%;max-height:none;object-fit:contain}
.product-photos[data-media-enhanced] .media-video-feedback{flex:none;padding:0 12px;background:#f7f7f7}
.product-photos[data-media-enhanced] .media-video-feedback:has(p:empty){display:none}
.product-photos[data-media-enhanced] .media-video-feedback button{margin-bottom:12px}
.product-photos[data-media-enhanced] .media-video-feedback button[hidden]{display:none}
@media(max-width:1023px){.product-photos[data-product-media] .gallery>a{flex:0 0 56px;width:56px;height:64px;padding:3px;min-width:44px;min-height:44px}.product-photos[data-product-media] .gallery>a[aria-current]{padding:2px;border:2px solid #13a7dd}.product-photos[data-product-media] .gallery>a img{width:100%;height:100%;object-fit:contain}.product-photos[data-product-media] .gallery{scrollbar-width:none}.product-photos[data-product-media] .gallery::-webkit-scrollbar{display:none}.product-photos[data-product-media] .detail-image{position:relative}}
@media(prefers-reduced-motion:reduce){.media-video-choice{transition:none}}

/* Keep native mobile video controls clear; an open chat is never closed or hidden. */
@media(max-width:1023px){body[data-pdp-video-active] [data-chat-dock]:not(:has([data-chat-launch][aria-expanded="true"])){display:none}}

/* The mobile purchase shortcut must not cover the native seek bar. */
@media(max-width:1023px){body[data-pdp-video-active] [data-purchase-shortcut]{display:none}}
