/* Lumiere v6.10.9 — product video behaves like another gallery media item. */
body.single-product .woocommerce-product-gallery > .flex-viewport,
body.single-product .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
    position: relative !important;
}

body.single-product .lumiere-inline-video-stage {
    position: absolute !important;
    inset: 0 !important;
    z-index: 45 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #fffdf9 !important;
    border-radius: inherit !important;
}

body.single-product .lumiere-inline-video-stage video,
body.single-product .lumiere-inline-video-stage iframe {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    background: #fffdf9 !important;
}

body.single-product .lumiere-inline-video-stage video {
    object-fit: contain !important;
}

body.single-product .woocommerce-product-gallery.lumiere-video-active .woocommerce-product-gallery__trigger {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

body.single-product .lumiere-gallery-rail .lumiere-video-trigger {
    cursor: pointer !important;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease !important;
}

body.single-product .lumiere-gallery-rail .lumiere-video-trigger:hover,
body.single-product .lumiere-gallery-rail .lumiere-video-trigger.is-active {
    border-color: #15120f !important;
    box-shadow: 0 0 0 1px rgba(21,18,15,.18) !important;
}

body.single-product .lumiere-gallery-rail .lumiere-video-trigger.is-active {
    transform: translateY(-1px) !important;
}


/* v6.12.3 — match empty video/letterbox space to Heikaya's page background. */
body.single-product .lumiere-inline-video-stage,
body.single-product .lumiere-inline-video-stage video,
body.single-product .lumiere-inline-video-stage iframe {
    background-color: #fffdf9 !important;
}
