/* Shared product-video action; its hit area stays still during scene motion. */
.hbs-video-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 16px;border:1px solid currentColor;color:inherit;background:transparent;font-family:Manrope,sans-serif;font-size:11px;font-weight:800;line-height:1.25;letter-spacing:.09em;text-decoration:none!important;white-space:nowrap;transition:background-color .2s,color .2s}
.hbs-video-button:hover{background:var(--hbs-red,#ef4228);color:#fff;border-color:var(--hbs-red,#ef4228)}
.hbs-video-button:focus-visible,.hbs-video-close:focus-visible{outline:3px solid var(--hbs-red,#ef4228);outline-offset:4px}
.hbs-video-play{display:inline-flex;flex:none;align-items:center;justify-content:center;width:18px;height:18px}
.hbs-video-button svg{display:block;flex:none;transition:transform .2s}
.hbs-video-button:hover svg{transform:scale(1.08);transform-origin:center}
.hbs-product-film-action{margin:14px 0 0}
.hbs-product-film-action[hidden]{display:none!important}
.hbs-video-preview-link{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;gap:13px;width:100%;min-height:200px;aspect-ratio:16/8.5;padding:22px!important;overflow:hidden;border:0!important;background:#171513!important;color:#fff!important;font-size:11px}
.hbs-video-preview-link:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,transparent 30%,#000b);pointer-events:none}
.hbs-video-preview-poster{position:absolute;inset:0;z-index:-2;width:100%!important;height:100%!important;object-fit:cover;opacity:.78;transition:transform .5s,opacity .3s}
.hbs-video-preview-link:hover .hbs-video-preview-poster{transform:scale(1.035);opacity:1}
.hbs-video-preview-link .hbs-video-play{display:grid;place-items:center;width:46px;height:46px;border:1px solid #fff9;border-radius:50%;background:#1116}
.hbs-video-preview-link .hbs-video-play svg{width:19px;height:19px}
.hbs-video-preview-link>span:last-child{align-self:center;padding-right:3px;text-shadow:0 1px 12px #000;font-size:11px;letter-spacing:.12em}
.hbs-video-preview-link[hidden]{display:none!important}
.hbs-inline-film{background:#11100f;color:#fff}
.hbs-inline-film-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:48px;padding:7px 14px;border-bottom:1px solid #ffffff26}
.hbs-inline-film-bar>span{font-size:9px;font-weight:800;letter-spacing:.1em}
.hbs-inline-film-stop{display:inline-flex;align-items:center;gap:10px;min-height:36px;padding:3px 0;border:0;background:transparent;color:inherit;font:800 9px/1.4 Manrope,sans-serif;letter-spacing:.08em;cursor:pointer}
.hbs-inline-film-stop svg{flex:none;display:block}
.hbs-inline-film-stop:focus-visible{outline:2px solid var(--hbs-red,#ef4228);outline-offset:3px}
.hbs-inline-film-screen{position:relative;aspect-ratio:16/9;width:100%;background:#000}
.hbs-inline-film-screen iframe{position:absolute;inset:0;display:block;width:100%;height:100%;border:0}
.hbs-inline-portrait .hbs-inline-film-screen{aspect-ratio:9/16;width:min(225px,100%);margin:auto}
.woocommerce-cart .variation .hbs-video-button,.wc-block-components-product-details .hbs-video-button{margin:4px 0;min-height:40px;padding:8px 12px;color:#221d1b;font-size:10px;letter-spacing:.06em}
.woocommerce-cart .variation .hbs-video-button:hover,.wc-block-components-product-details .hbs-video-button:hover{color:#fff}
.wc-block-components-product-details:has(.hbs-video-button){display:flex;flex-wrap:wrap;gap:4px 14px;align-items:center}
.wc-block-components-product-details .hbs-video-play:empty{display:none}
.hbs-video-dialog{position:fixed;inset:0;width:min(1120px,94vw);height:min(820px,94vh);height:min(820px,94dvh);max-width:none;max-height:94vh;max-height:94dvh;margin:auto;padding:0;border:1px solid #50423a;border-radius:0;background:#11100f;color:#fff;overflow:hidden;box-sizing:border-box;box-shadow:0 30px 100px #0008;z-index:100001}
.hbs-video-dialog[open]{display:flex;flex-direction:column}
.hbs-video-dialog:not([open]){display:none}
.hbs-video-dialog::backdrop{background:rgb(8 7 6 / .88);backdrop-filter:blur(8px)}
.hbs-video-stage{flex:1 1 0;min-width:0;min-height:0;width:100%;background:#11100f;color:#fff;display:flex;flex-direction:column;overflow:hidden}
.hbs-video-bar{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:20px;flex:none;min-height:90px;padding:16px 24px;border-bottom:1px solid #ffffff26;background:#11100f}
.hbs-video-bar>div{min-width:0}
.hbs-video-bar span{color:var(--hbs-red,#ef4228);font-family:Manrope,sans-serif;font-size:10px;font-weight:800;letter-spacing:.16em}
.hbs-video-bar h2{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:4px 0 0;color:#fff;font-family:Barlow,sans-serif;font-size:clamp(22px,2.8vw,36px);font-weight:800;line-height:1.05;text-transform:uppercase;overflow-wrap:anywhere}
.hbs-video-close{display:grid;place-items:center;flex:none;width:48px;height:48px;padding:0;border:1px solid #ffffff70;border-radius:0;background:#11100f;color:#fff;cursor:pointer}
.hbs-video-close:hover{background:var(--hbs-red,#ef4228);border-color:var(--hbs-red,#ef4228)}
.hbs-video-loadbar{display:flex;flex:none;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:4px 24px;border-bottom:1px solid #ffffff26;background:#191513}
.hbs-video-loadbar>p{margin:0;color:#d4cbc4;font:500 11px/1.5 Manrope,sans-serif}
.hbs-video-retry{flex:none;min-width:90px;min-height:44px;padding:8px 10px;border:1px solid #ffffff70;border-radius:0;background:transparent;color:#fff;font:800 9px/1.3 Manrope,sans-serif;letter-spacing:.05em;cursor:pointer}
.hbs-video-retry[hidden]{display:none!important}
.hbs-video-retry:focus-visible{outline:3px solid var(--hbs-red,#ef4228);outline-offset:-3px}
.hbs-video-screen{position:relative;flex:1 1 0;min-width:0;min-height:0;background:#000;overflow:hidden}
.hbs-video-screen iframe{display:block;width:100%;height:100%;min-height:0;max-width:100%;border:0;position:absolute;inset:0}
.hbs-video-foot{display:flex;align-items:center;justify-content:space-between;gap:14px;flex:none;padding:16px 24px;border-top:1px solid #ffffff26;font-size:10px;letter-spacing:.09em}
.hbs-video-foot>span{color:#a9a29a}
.hbs-video-portrait{width:min(500px,94vw)}
@media(max-width:760px),(hover:none) and (max-height:500px){.hbs-video-dialog{width:100vw;height:100vh;height:100dvh;max-width:100vw;max-height:100vh;max-height:100dvh;margin:0;border-width:0}.hbs-video-stage{padding-bottom:env(safe-area-inset-bottom,0px);box-sizing:border-box}.hbs-video-bar{padding:10px 16px;padding-top:max(10px,env(safe-area-inset-top,0px));padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px));min-height:76px;gap:12px}.hbs-video-bar h2{font-size:clamp(18px,4.5vw,25px);line-height:1.15}.hbs-video-loadbar{padding-inline:16px;min-height:44px}.hbs-video-loadbar>p{font-size:10px}.hbs-video-foot{display:none}.hbs-video-preview-link{min-height:180px;padding:18px!important}}
@media(prefers-reduced-motion:reduce){.hbs-video-button,.hbs-video-button svg,.hbs-video-preview-poster{transition:none}}
