.tm-w .tm-a{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1.1fr) 300px;gap:22px;align-items:start}
.tm-w .tm-a-gal{display:grid;grid-template-columns:72px minmax(0,1fr);gap:10px;align-items:start;min-width:0}
.tm-w .tm-a-th{display:flex;flex-direction:column;gap:8px;max-height:520px;overflow-y:auto;overflow-x:hidden}
.tm-w .tm-a-th button{width:68px;height:68px;flex:none}
.tm-w .tm-a-main{position:relative;width:100%;aspect-ratio:1/1;max-height:560px;overflow:hidden;background:#f6f6f6;border-radius:12px}
.tm-w .tm-a-main .tm-slide{position:absolute;inset:0;display:none;width:100%;height:100%;transform:none;margin:0}
.tm-w .tm-a-main .tm-slide.on{display:block}
.tm-w .tm-a-main .tm-slide img,.tm-w .tm-a-main .tm-slide model-viewer,.tm-w .tm-a-main .tm-slide video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;aspect-ratio:auto;max-width:100%}
@media(max-width:1180px){.tm-w .tm-a{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.tm-w .tm-a-buy{grid-column:1/-1;position:static}}
@media(max-width:760px){.tm-w .tm-a{grid-template-columns:1fr}.tm-w .tm-a-gal{grid-template-columns:1fr}.tm-w .tm-a-th{flex-direction:row;order:2;max-height:none;overflow-x:auto;overflow-y:hidden}.tm-w .tm-a-main{max-height:420px}}
