
/* Product studio: readable glass, consistent framing and touch-sized controls. */
.gallery-stage .viewer,.quote-viewer,.tool-viewer-host{background:linear-gradient(145deg,#fbfcfd,#f0f3f6)!important;border:1px solid #e2e7ec!important;border-radius:16px!important;overflow:hidden;isolation:isolate;position:relative;width:100%;min-width:0}.gallery-stage .viewer{height:clamp(330px,49vw,490px)}.viewer canvas,.quote-viewer canvas,.tool-viewer-host canvas{display:block;width:100%!important;height:100%!important;touch-action:none;cursor:grab;outline-offset:-4px}.viewer canvas:active,.quote-viewer canvas:active,.tool-viewer-host canvas:active{cursor:grabbing}.viewer canvas:focus-visible,.quote-viewer canvas:focus-visible,.tool-viewer-host canvas:focus-visible{outline:3px solid var(--brand,#2563eb)}.product-media .viewer-tools,.viewer-actions,.tool-model-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px!important;border:1px solid #e1e6eb!important;background:#fafbfc!important;border-radius:12px!important;box-shadow:none!important}.product-media .viewer-tools button,.viewer-actions button,.tool-model-controls button{min-height:44px!important;min-width:44px!important;padding:9px 12px!important;border:1px solid #d8dfe6!important;border-radius:9px!important;background:#fff;color:#223346;font:600 13px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;letter-spacing:0!important;white-space:nowrap}.viewer-tools button[aria-pressed=true],.viewer-actions button[aria-pressed=true],.tool-model-controls button[aria-pressed=true]{background:var(--paper,#eef4fa)!important;border-color:var(--brand,#245da8)!important;color:var(--ink,#223346)!important}.gallery-caption{color:#536274}.gr-product-scene canvas{height:clamp(260px,42svh,440px)!important;width:100%!important;touch-action:none}.gr-scene-toolbar,.gr-scene-controls{gap:8px!important}.gr-scene-controls button,.gr-scene-toolbar button{min-height:44px!important;padding:8px 12px!important;font-size:13px!important}@media(max-width:700px){.gallery-stage .viewer{height:clamp(280px,42svh,370px)!important}.quote-viewer,.tool-viewer-host{height:clamp(270px,42svh,370px)!important;min-height:270px!important}.gallery-view-switch button{min-height:44px!important;font-size:14px!important;padding:10px 16px!important}.product-media .viewer-tools{gap:7px!important;margin-top:10px}.product-media .viewer-tools button{padding:9px 11px!important}.product-media #viewHint{font-size:12px;line-height:1.5;margin:10px 0 14px}.product-media{min-width:0}}
