.rwc-hover-media { display: block; position: relative; overflow: hidden; }
.rwc-hover-media > .rwc-hover-layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0 !important; pointer-events: none; opacity: 0; transition: opacity 180ms ease; }
.rwc-hover-media > .wc-block-woocommerce-product-image { margin-bottom: 0; }
@media (hover: hover) and (pointer: fine) {
 .rwc-hover-media:hover > .rwc-hover-image, .rwc-hover-media.is-playing > video { opacity: 1; }
}
.rwc-product-video-button { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 12px 16px; margin-top: 12px; border: 1px solid #dce0d8; border-radius: 6px; background: #f5f6f3; color: #202522; font: inherit; cursor: pointer; }
.rwc-video-dialog { width: min(960px,92vw); max-height: 90dvh; padding: 12px; border: 0; border-radius: 10px; background: #111; color: #fff; }
.rwc-video-dialog::backdrop { background: #000b; }
.rwc-video-dialog video { display: block; width: 100%; max-height: 75dvh; }
.rwc-video-dialog button { display: block; margin: 0 0 12px auto; padding: 8px 12px; border: 1px solid #777; border-radius: 5px; background: #222; color: #fff; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .rwc-hover-media > .rwc-hover-layer { transition: none; } }

.rwc-main-video-slide { position: relative; }
.rwc-main-product-video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; background: transparent; }
