/* The gallery retains native carousel sizing and thumbnail navigation. */
.sirbal-gallery-story-video figure { position:relative; overflow:hidden; }
.sirbal-gallery-story-video .sirbal-gallery-story-cover { display:block; width:100%; }
body.single-product .woocommerce-product-gallery__image .sirbal-gallery-story-cover { height:auto; aspect-ratio:var(--story-video-ratio,auto); object-fit:contain; }
.sirbal-gallery-story-video video { position:absolute; inset:0; margin:auto; width:auto; height:auto; max-width:100%; max-height:100%; object-fit:contain; background:#201812; z-index:2; }
.sirbal-gallery-story-video [hidden] { display:none!important; }
.sirbal-gallery-story-video [data-gallery-story-play] { position:absolute; inset:50% auto auto 50%; transform:translate(-50%,-50%); display:grid; place-items:center; width:60px; height:60px; padding:0; border:1px solid #ffffff60; border-radius:50%; background:#2b1a12cc; color:#fff; cursor:pointer; z-index:3; touch-action:manipulation; }
.sirbal-gallery-story-video [data-gallery-story-play]:focus-visible { outline:3px solid #f2a93b; outline-offset:4px; }
.sirbal-gallery-story-video .sirbal-gallery-story-status:not(:empty) { position:absolute; inset:auto 12px 60px; padding:8px 12px; background:#201812e8; color:#fff; border-radius:8px; font-size:12px; text-align:center; z-index:4; }
.sirbal-gallery-story-video.sirbal-gallery-playing .sirbal-gallery-story-cover { visibility:hidden; }
.sirbal-gallery-story-thumbnail { position:relative; }
.woocommerce-product-gallery .wd-gallery-thumb .sirbal-gallery-story-thumbnail::before { content:none; }
.sirbal-gallery-story-thumbnail::after { content:"▶"; position:absolute; inset:auto 6px 6px auto; display:grid; place-items:center; width:24px; height:24px; border-radius:50%; background:#2b1a12cc; color:#fff; font-size:10px; pointer-events:none; }
.pswp .sirbal-gallery-story-video, .pswp .sirbal-gallery-story-video figure { width:100%; height:100%; }
body.single-product .pswp .sirbal-gallery-story-cover { height:100%; aspect-ratio:auto; object-fit:contain; }
