[data-atelier-clothing] .swatch-group{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
[data-atelier-clothing] .swatch-group label{min-width:0}
[data-atelier-clothing] .swatch-img{width:100%;height:auto;aspect-ratio:1;object-fit:contain}
[data-atelier-clothing] #cloth-colour-options{grid-template-columns:repeat(2,minmax(0,100px))}
.atelier-clothing-preview{margin:24px 0;padding:16px;border:1px solid rgba(var(--color-foreground),.2);border-radius:6px}
.atelier-clothing-preview__heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.atelier-clothing-preview__heading .button{min-width:0;min-height:42px;padding:8px 12px}
.atelier-clothing-preview__art{position:relative;margin-top:14px;padding:12px;background:#f5f5f2;border-radius:5px}
.atelier-clothing-preview__art img{display:block;width:100%;height:clamp(240px,34vw,420px);object-fit:contain}
.atelier-clothing-preview__status{font-size:1.3rem;margin:8px 0 0}
.atelier-clothing-preview[data-loading="true"] [data-clothing-image]{opacity:.18}
.atelier-clothing-preview__loading{position:absolute;inset:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:12px;background:rgba(245,245,242,.92);border-radius:5px;text-align:center;pointer-events:none;color:#203b30}
.atelier-clothing-preview__loading[hidden]{display:none}
.atelier-clothing-preview__loading strong{font-size:clamp(24px,2.3vw,30px);line-height:1.25;font-weight:700;max-width:24ch}
.atelier-clothing-preview__loading [data-clothing-wait]{font-size:16px;line-height:1.5;max-width:34ch}
.atelier-clothing-preview__spinner{display:block;width:32px;height:32px;border:3px solid #d1c5b0;border-top-color:#745927;border-radius:50%;animation:clothing-preview-spin 1s linear infinite;flex:none}
.atelier-clothing-preview[data-loading="true"] .atelier-clothing-preview__status{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@keyframes clothing-preview-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.atelier-clothing-preview__spinner{animation:none}}
@media(max-width:380px){.atelier-clothing-preview__loading [data-clothing-wait]{font-size:14px}}
.atelier-clothing-dialog{width:min(94vw,960px);max-width:94vw;max-height:94vh;border:0;border-radius:8px;padding:16px;background:#fff}
.atelier-clothing-dialog::backdrop{background:#0009}
.atelier-clothing-dialog button{display:block;margin:0 0 12px auto}
.atelier-clothing-dialog img{display:block;width:100%;height:min(72vh,800px);object-fit:contain;background:#f5f5f2}
@media(max-width:380px){[data-atelier-clothing] #cloth_design-options{grid-template-columns:repeat(2,minmax(0,1fr))}}
.clothing-product{max-width:1248px;margin:0 auto;padding:28px 24px 44px}
.clothing-product__breadcrumbs{margin-bottom:22px;font-size:13px}
.clothing-product__columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:start}
.clothing-product__gallery,.clothing-product__editor{min-width:0}
.clothing-product__hero{display:block;aspect-ratio:1;border-radius:8px;overflow:hidden;background:#f5f5f2}
.clothing-product__photo{display:block;width:100%;height:100%;object-fit:contain}
.clothing-product__caption{margin:8px 0 14px;font-size:13px;color:rgba(var(--color-foreground),.75)}
.clothing-product__thumbs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.clothing-product__thumb{padding:3px;border:1px solid rgba(var(--color-foreground),.25);border-radius:5px;background:transparent;cursor:pointer;min-width:0}
.clothing-product__thumb[aria-pressed=true]{border:2px solid #745927;padding:2px}
.clothing-product__thumb img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}
.clothing-product__editor h1{font-size:34px;line-height:1.16;margin:0 0 12px}
.clothing-product__price{font-size:24px;line-height:1.4;margin:0 0 8px}
.clothing-product__fit{font-size:14px;margin:0 0 22px;color:rgba(var(--color-foreground),.8)}
.clothing-form__step{border:0;padding:0;margin:0 0 24px;min-width:0}
.clothing-form__step legend{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:600;margin:0 0 12px;padding:0}
.clothing-form__number{display:inline-flex;align-items:center;justify-content:center;width:27px;height:27px;border:1px solid #799080;border-radius:50%;font-size:13px;font-weight:400;flex:none}
.clothing-form__designs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.clothing-form__design,.clothing-form__colour{position:relative;cursor:pointer;min-width:0}
.clothing-form__design input,.clothing-form__colour input{position:absolute;opacity:0;width:1px;height:1px}
.clothing-form__design>span{display:block;border:1px solid rgba(var(--color-foreground),.25);border-radius:7px;padding:4px;text-align:center;background:rgb(var(--color-background))}
.clothing-form__design input:checked+span{border:2px solid #745927;padding:3px}
.clothing-form__design img{width:100%;height:auto;aspect-ratio:1;object-fit:contain;display:block}
.clothing-form__design b{font-size:13px;font-weight:400;display:block;margin:4px 0}
.clothing-form__design input:focus-visible+span,.clothing-form__colour input:focus-visible+span{outline:3px solid #468463;outline-offset:3px}
.clothing-form__colours{display:flex;flex-wrap:wrap;gap:12px}
.clothing-form__colour>span{display:flex;align-items:center;gap:7px;border:1px solid rgba(var(--color-foreground),.3);padding:8px 12px;border-radius:6px;font-size:15px}
.clothing-form__colour input:checked+span{outline:2px solid #745927;outline-offset:2px}
.clothing-form__colour i{display:block;width:18px;height:18px;flex:none;border-radius:50%;border:1px solid #b6aaa2}
.clothing-form__fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
.clothing-form__fields label{display:block;font-weight:600;font-size:15px;min-width:0}
.clothing-form__fields input,.clothing-form__fields select,.clothing-form__notes input{display:block;width:100%;height:48px;margin-top:7px;padding:10px;border:1px solid rgba(var(--color-foreground),.4);border-radius:5px;background:rgb(var(--color-background));color:rgb(var(--color-foreground));font-size:16px;box-sizing:border-box}
.clothing-form__notes{font-size:14px;margin:0 0 20px}
.clothing-form__notes summary{cursor:pointer}
.clothing-form__summary{border-top:1px solid rgba(var(--color-foreground),.2);border-bottom:1px solid rgba(var(--color-foreground),.2);padding:12px 0;margin:18px 0;font-size:14px}
.clothing-form__summary strong{display:block;margin-bottom:6px}
.clothing-form__summary dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px;margin:0}
.clothing-form__summary dl>div{min-width:0}
.clothing-form__summary dt{font-size:12px;color:rgba(var(--color-foreground),.75)}
.clothing-form__summary dd{margin:0;overflow-wrap:anywhere}
.clothing-form__add{width:100%;min-height:48px}
.clothing-product__story{margin-top:35px}
.clothing-product__reviews{margin-top:28px}
@media(max-width:760px){.clothing-product{padding:20px 15px 32px}.clothing-product__columns{grid-template-columns:minmax(0,1fr);gap:24px}.clothing-product__editor h1{font-size:28px}.clothing-product__thumbs{display:flex;overflow:auto;padding-bottom:5px}.clothing-product__thumb{flex:0 0 64px}.clothing-form__fields{grid-template-columns:minmax(0,1fr)}.clothing-product .atelier-clothing-preview{margin:20px 0}.clothing-product__story{gap:22px}}
@media(max-width:380px){.clothing-form__designs{grid-template-columns:repeat(2,minmax(0,1fr))}.clothing-form__design img{height:75px;aspect-ratio:auto}}
