.product-preview-stage{min-width:0;width:100%;box-sizing:border-box}
.product-preview-tools{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;margin:16px 0}
.product-preview-tools button,.preview-enlarge-header button{min-width:44px;min-height:44px;padding:10px 15px;border:1px solid var(--border,#c3c4b5);border-radius:8px;background:var(--background,#fff);color:var(--foreground,#222);font-family:inherit;font-size:16px;cursor:pointer}
.product-preview-tools button:hover,.preview-enlarge-header button:hover{background:var(--muted,#eeeee7)}
.product-preview-tools button:focus-visible,.preview-enlarge-header button:focus-visible{outline:3px solid var(--ring,#686d37);outline-offset:3px}
.product-preview-tools [hidden]{display:none!important}
.preview-enlarge-dialog{position:fixed;inset:0;margin:auto;width:min(94vw,1300px);max-width:94vw;max-height:92dvh;box-sizing:border-box;overflow:auto;padding:24px;border:1px solid var(--border,#c3c4b5);border-radius:16px;color:var(--foreground,#222);background:var(--background,#fff)}
.preview-enlarge-dialog::backdrop{background:#111b}
.preview-enlarge-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px}
.preview-enlarge-header h2{font-size:1.5rem;font-weight:600;line-height:1.3;margin:0}
.preview-enlarge-dialog .sgt-3d-viewport,.preview-enlarge-dialog .ega-3d-viewport,.preview-enlarge-dialog .sword-preview-viewport{height:clamp(140px,58dvh,720px);min-height:0;margin:12px 0;width:100%;max-height:none}
.preview-enlarge-dialog .product-preview-tools{margin:10px 0}
@media(max-width:600px){.preview-enlarge-dialog{padding:14px;width:96vw;max-width:96vw}.preview-enlarge-header{gap:12px}.preview-enlarge-header h2{font-size:1.15rem}.product-preview-tools{gap:7px}.product-preview-tools button{padding:9px 12px}}
