.luniro-pv-anchor { position: relative !important; }
.luniro-pv-layer { position: absolute; inset: 0; z-index: 8; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.luniro-pv-layer button { pointer-events: auto; cursor: pointer; border: 0; font: inherit; }
.luniro-pv-play { padding: 12px 18px; border-radius: 28px; color: #fff; background: #123e30; box-shadow: 0 2px 12px #0005; }
.luniro-pv-layer button:focus-visible { outline: 3px solid #ffd36a; outline-offset: 3px; }
.luniro-pv-player { position: absolute; inset: 0; background: #000; pointer-events: auto; }
.luniro-pv-player video, .luniro-pv-player iframe { width: 100% !important; height: 100% !important; max-width: none !important; margin: 0 !important; border: 0; object-fit: contain; display: block; }
.luniro-pv-close { position: absolute; top: 8px; right: 8px; z-index: 2; padding: 8px 12px; border-radius: 4px; color: #fff; background: #123e30; }
.luniro-pv-message { position: absolute; bottom: 12px; left: 12px; right: 12px; padding: 12px; background: #fff; color: #123e30; font-size: 14px; pointer-events: auto; }

.luniro-pv-layer [hidden] { display: none !important; }

/* Keep theme image controls out of the active video, and reserve a toolbar. */
.woocommerce-product-gallery:has(.luniro-pv-player) .woocommerce-product-gallery__trigger,
.woocommerce-product-gallery:has(.luniro-pv-player) .flexy-arrow-prev,
.woocommerce-product-gallery:has(.luniro-pv-player) .flexy-arrow-next { visibility: hidden !important; pointer-events: none !important; }
.luniro-pv-player { display: grid; grid-template-rows: 44px minmax(0, 1fr); grid-template-columns: minmax(0, 1fr); overflow: hidden; box-sizing: border-box; border: 0 !important; padding: 0 !important; box-shadow: none !important; }
.luniro-pv-player video, .luniro-pv-player iframe { position: relative !important; inset: auto !important; grid-row: 2; grid-column: 1; min-width: 0; min-height: 0; padding: 0 !important; border: 0 !important; box-shadow: none !important; box-sizing: border-box; transform: none !important; }
.luniro-pv-close { position: relative; inset: auto; grid-row: 1; grid-column: 1; justify-self: end; align-self: center; margin: 0 8px; padding: 4px 10px; min-height: 32px; line-height: 24px; font-size: 14px !important; }
.luniro-pv-detail{clear:both;max-width:1100px;margin:32px auto;padding:0 16px}.luniro-pv-detail h2{margin-bottom:16px}.luniro-pv-detail-stage{position:relative;width:100%;aspect-ratio:16/9;background:#f8f8f6;overflow:hidden}.luniro-pv-detail-stage img{width:100%;height:100%;object-fit:contain}.luniro-pv-detail-stage video,.luniro-pv-detail-stage iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:#000}.luniro-pv-detail-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border:0;border-radius:30px;background:#123e30;color:#fff;padding:12px 20px;cursor:pointer}.luniro-pv-detail-close{margin-top:12px;padding:8px 16px;background:#123e30;color:#fff;border:0;border-radius:4px;cursor:pointer}.luniro-pv-detail-message{min-height:1em}.luniro-pv-detail :focus-visible{outline:3px solid #ffd36a;outline-offset:3px}
