.preview-view-toggle{display:flex;gap:6px;margin:16px 0 0}.preview-view-toggle button{flex:1;padding:8px;border:1px solid #c9c6bf;background:transparent;color:#555;font:700 10px 'DM Sans',Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}.preview-view-toggle button[aria-pressed="true"]{background:#222;border-color:#222;color:white}.shirt-back-drawing{display:none}.shirt-preview[data-view="back"] .shirt-drawing{display:none}.shirt-preview[data-view="back"] .shirt-back-drawing{display:block}.shirt-back-yoke,.shirt-back-pleat,.shirt-back-darts{fill:none;stroke:#7f898b;stroke-width:1.2}.shirt-back-pleat,.shirt-back-darts{display:none}.shirt-preview[data-back="Centre pleat"] .shirt-back-pleat,.shirt-preview[data-back="Darts"] .shirt-back-darts{display:block}@media(max-width:650px){.designer-summary.is-floating .preview-view-toggle{margin:3px 0 0;gap:3px}.designer-summary.is-floating .preview-view-toggle button{font-size:8px;padding:5px 2px}}
.generated-shirt-preview{display:block;width:100%;height:auto;max-height:310px;aspect-ratio:auto;object-fit:contain;background:#f7f4ee;cursor:zoom-in}.generated-shirt-preview:focus-visible{outline:2px solid #222;outline-offset:3px}.shirt-preview>svg[hidden]{display:none}@media(max-width:650px){.generated-shirt-preview{width:100%;max-height:none}}
.shirt-preview>svg{display:none!important}
.shirt-preview{position:relative}.preview-zoom-button{position:absolute;right:10px;bottom:10px;width:38px;height:38px;border:1px solid rgba(34,34,34,.3);background:rgba(255,255,255,.92);color:#222;cursor:pointer;display:grid;place-items:center}.preview-zoom-button svg{width:19px;height:19px}.preview-zoom-button:hover{background:#222;color:#fff}.preview-lightbox{width:min(92vw,900px);max-width:none;padding:0;border:0;background:transparent}.preview-lightbox::backdrop{background:rgba(20,20,20,.78)}.preview-lightbox-inner{position:relative;background:#f7f4ee;padding:14px}.preview-lightbox img{display:block;width:100%;height:auto;max-height:88vh;object-fit:contain}.preview-lightbox-close{position:absolute;z-index:1;top:8px;right:8px;width:36px;height:36px;border:1px solid #d7d2ca;background:#fff;color:#222;font-size:24px;line-height:1;cursor:pointer}.preview-lightbox-close:hover{background:#222;color:#fff}
.generated-shirt-preview[hidden], .preview-zoom-button[hidden] { display: none; }
