.tc-viewer{width:100%;min-width:0}:is(.product-stage:has(>.tc-product-gallery),.product-stage:has(>.tc-product-placeholder)){height:auto;min-height:0;max-height:none}.product-stage>.tc-product-gallery,.product-stage>.tc-product-placeholder{height:auto}.tc-product-placeholder>:first-child{height:clamp(390px,60vh,680px)}.product-stage .tc-viewer-controls,.product-stage .tc-thumbnails{padding-inline:16px}.tc-image-stage{aspect-ratio:1;isolation:isolate;touch-action:pan-y;background:gray;border-radius:12px;place-items:center;display:grid;position:relative;overflow:hidden}.tc-image-stage>img{object-fit:contain;width:100%;height:100%;display:block;position:absolute;inset:0}.tc-image-stage canvas{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}.tc-image-stage .tc-zoom-button{z-index:2;color:#fff;cursor:pointer;background:#222;border:1px solid #aaa;border-radius:50%;width:44px;height:44px;position:absolute;bottom:14px;right:14px}.tc-viewer-controls{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin:14px 0;font-size:11px;display:flex}.tc-viewer-controls strong{letter-spacing:.04em;font-size:10px}.tc-viewer-controls button{border:1px solid var(--color-line);color:var(--color-ink);cursor:pointer;background:0 0;border-radius:20px;padding:9px 12px}.tc-viewer-controls button:disabled{opacity:.4;cursor:not-allowed}.tc-viewer-controls [data-mode]{color:var(--color-muted)}.tc-thumbnails{gap:8px;padding:10px 0;display:flex;overflow:auto}.tc-thumbnails button{cursor:pointer;background:gray;border:2px solid #0000;border-radius:6px;flex-shrink:0;width:64px;height:64px;overflow:hidden}.tc-thumbnails button[aria-pressed=true]{border-color:var(--color-leaf)}.tc-thumbnails img{object-fit:contain;width:100%;height:100%}.tc-zoom-dialog{width:min(94vw,1300px);padding:16px}.tc-zoom-dialog .tc-image-stage{aspect-ratio:auto;height:min(75dvh,90dvh - 2*clamp(20px,4vw,36px) - 64px)}:is(.tc-product-placeholder>.tc-product-gallery:has(>.tc-beta-photo),.tc-product-gallery>.tc-beta-photo,.tc-zoom-dialog>.tc-beta-photo,.truecolor-comparison-page>.tc-beta-photo){height:auto;max-height:none}.tc-product-gallery>.tc-beta-photo .tc-beta-photo-stage,.truecolor-comparison-page>.tc-beta-photo .tc-beta-photo-stage{flex:none;height:clamp(320px,48dvh,580px)}.tc-zoom-dialog>.tc-beta-photo .tc-beta-photo-stage{flex:none;height:min(75dvh,90dvh - 2*clamp(20px,4vw,36px) - 64px);min-height:0}@media (max-width:680px){.tc-product-gallery>.tc-beta-photo .tc-beta-photo-stage,.truecolor-comparison-page>.tc-beta-photo .tc-beta-photo-stage{height:clamp(220px,72vw,360px)}}@media (max-width:700px){.tc-viewer-controls{gap:8px}}
