@media(max-width:760px){
 body.template-product .board-product-gallery .pdp-size-desktop{display:none}
 body.template-product [data-mobile-product-gallery]{--mobile-gallery-height:300px}
 body.template-product [data-mobile-product-gallery] .board-product-mobile-gallery__rail,
 body.template-product [data-mobile-product-gallery] .board-product-mobile-gallery__slide{height:300px!important;min-height:300px;transition:none}
 body.template-product [data-mobile-product-gallery] .board-product-mobile-gallery__slide img{height:100%;object-fit:contain}
 body.template-product .puz-3d-mobile-slide{height:300px!important;min-height:300px;position:relative}
 body.template-product .puz-3d-mobile-slide [data-puz-mobile-poster]{display:block;width:100%;height:300px;object-fit:contain}
 body.template-product .puz-3d-mobile-slide .puz-board-viewer{position:absolute;inset:0;height:300px}
 body.template-product .puz-3d-mobile-slide .puz-board-viewer[data-exploring=false],
 body.template-product .puz-3d-mobile-slide .puz-board-viewer[data-exploring=false] .stage{background:transparent}
 body.template-product .puz-3d-mobile-slide .puz-board-viewer[data-exploring=false] #poster{visibility:hidden}
 body.template-product [data-mobile-product-gallery]:has([data-puz-model-mobile].is-active [data-exploring=true]) .board-product-mobile-gallery__rail,
 body.template-product [data-mobile-product-gallery]:has([data-puz-model-mobile].is-active [data-exploring=true]) .board-product-mobile-gallery__slide,
 body.template-product [data-mobile-product-gallery] [data-puz-model-mobile]:has([data-exploring=true]),
 body.template-product [data-mobile-product-gallery] [data-exploring=true]{height:420px!important;min-height:420px}
 .puz-help-launch[data-purchase-obscured=true]{visibility:hidden;pointer-events:none}
}
.wb-opening__stage{--fit-scene-height:424px;--fit-tabs-height:50px;--fit-tools-height:52px}
body .wb-fit-canvas [data-fit-visual]{min-height:calc(var(--fit-scene-height) + var(--fit-tabs-height) + var(--fit-tools-height))}
body .wb-fit-canvas .board-fit-preview__controls{height:var(--fit-tabs-height);box-sizing:border-box;flex:0 0 var(--fit-tabs-height)}
body .wb-fit-canvas .board-fit-preview__stage[data-fit-diagram-stage]{position:relative;width:100%;max-width:none!important;height:calc(var(--fit-scene-height) + var(--fit-tools-height));min-height:calc(var(--fit-scene-height) + var(--fit-tools-height));margin:0!important}
body .wb-fit-canvas .board-fit-preview__stage>.board-fit-diagram{position:absolute;inset:0 0 auto;width:100%;height:var(--fit-scene-height);transform:none}
body .wb-fit-canvas .board-fit-model{position:absolute;inset:0;width:100%;height:100%;min-height:100%}
body .wb-fit-canvas .board-fit-model__viewport{height:var(--fit-scene-height)!important}
body .wb-fit-canvas .board-fit-model__toolbar{box-sizing:border-box;height:var(--fit-tools-height);min-height:var(--fit-tools-height)}
body .wb-fit-canvas .board-fit-model__status{position:absolute;left:0;right:0;bottom:0;height:var(--fit-tools-height);margin:0;display:grid;place-items:center}
body .wb-fit-canvas .board-fit-model[data-state=error] .board-fit-model__status{bottom:var(--fit-tools-height);height:auto;min-height:36px;padding:4px;background:rgba(255,255,255,.94)}
body .wb-fit-canvas .board-fit-model__retry{position:absolute;bottom:0;left:50%;transform:translateX(-50%);margin:0}
@media(min-width:951px) and (max-width:1100px){.wb-opening__stage{--fit-scene-height:408px}}
@media(min-width:761px) and (max-width:950px){.wb-opening__stage{--fit-scene-height:280px}}
@media(max-width:760px){.wb-opening__stage{--fit-scene-height:178px}}
@media(max-width:760px) and (max-height:700px){.wb-opening__stage{--fit-scene-height:150px}}

.puz-model-load-message{position:absolute;left:16px;right:16px;bottom:58px;margin:0;padding:8px 12px;border-radius:8px;background:rgba(255,255,255,.96);color:#405941;font-size:12px;line-height:1.4;z-index:5;text-align:center}.puz-model-load-message[hidden]{display:none}
body .puz-board-viewer[data-exploring=false] .stage>.puz-model-load-message:not([hidden]){display:block!important}
