.theme-section,.theme-draft-preview{container-type:inline-size;container-name:themes}
.theme-track{display:grid;grid-template-columns:minmax(0,1fr);gap:25px;min-width:0;max-width:100%}
.theme-track .product-card{min-width:0;margin-bottom:20px;overflow-wrap:anywhere}
.theme-track .product-image{height:auto;aspect-ratio:1.4}
.theme-track .product-image img{display:block}
.theme-controls{display:flex;justify-content:flex-end;gap:25px;margin-top:16px}
.theme-controls[hidden]{display:none}.theme-controls button:disabled{opacity:.35;cursor:default}
@container themes (min-width:1000px){
 .theme-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:thin;padding-bottom:12px}
 .theme-track .product-card{flex:0 0 calc((100% - 50px)/3);scroll-snap-align:start;margin-bottom:0}
 .theme-track .product-image{height:310px;aspect-ratio:auto}
}
.theme-admin-cover{max-width:220px;max-height:160px;object-fit:contain}.theme-editor-row{margin:18px 0;padding:16px;border:1px solid var(--line);min-width:0}.theme-editor-row input[type=checkbox]{display:inline-block;width:auto;margin-right:12px}.theme-draft-preview{padding:16px;border:1px solid var(--line);max-width:100%}
.artwork-gallery{min-width:0;touch-action:pan-y}.artwork-gallery .detail-image{display:block;width:100%;height:clamp(220px,45vh,420px);object-fit:contain;margin:0;background:#eaece1}.gallery-controls{display:flex;justify-content:space-between;align-items:center;margin:12px 0 24px}.gallery-controls[hidden]{display:none}.gallery-controls button:disabled{opacity:.35}.gallery-editor-row{border:1px solid var(--line);padding:12px;margin:12px 0}.gallery-editor-row img{display:block;width:120px;height:100px;object-fit:contain}.gallery-editor-row .home-actions{display:flex;flex-wrap:wrap;gap:14px}.gallery-editor-row p{overflow-wrap:anywhere}.product-images-editor{min-width:0}
