.rw-video-preview { display: block; position: relative; overflow: hidden; aspect-ratio: 602 / 339; border-radius: inherit; }
.rw-video-preview > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rw-video-preview > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; transition: opacity .15s ease; }
.rw-video-preview.is-playing > video { opacity: 1; }
.rw-video-preview--archive { position: absolute; inset: 0; aspect-ratio: auto; pointer-events: none; }
.rw-video-preview--page { width: 100%; max-width: 602px; margin-inline: auto; border-radius: 6px; }
.rw-video-preview--quickview { width: 100%; }
.rw-preview-play { display: none; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); min-height: 40px; border-radius: 24px; background: rgba(0,0,0,.68); color: #fff; font-size: 12px; padding: 10px 16px; white-space: nowrap; }
.rw-video-preview.needs-play:not(.is-playing):not(.has-preview-error) > .rw-preview-play { display: inline-flex; }
.rw-video-preview.has-preview-error > video, .rw-video-preview.has-preview-error > .rw-preview-play { display: none; }
.rw-vip-video-download .wd-quick-view-icon > a:before {
    content: ""; display: inline-block; width: 20px; height: 20px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M12 3v12m-5-5 5 5 5-5M4 16v4h16v-4'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M12 3v12m-5-5 5 5 5-5M4 16v4h16v-4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.popup-quick-view .rw-video-downloads { margin-top: 16px; }
.popup-quick-view .rw-video-downloads .yith-wcmbs-download-button { width: 100%; }
@media (prefers-reduced-motion: reduce) { .rw-video-preview > video { transition: none; } }
