/* WIT Design Studio — uses the theme tokens (wk-v2) with fallbacks. Magenta = AI / main action, cyan = human designer. */
.wds{--m:var(--wk-primary,#c80070);--c:var(--wk-tertiary,#00658e);--cl:var(--wk-tertiary-container,#c6e7ff);--ml:var(--wk-primary-container,#ffd9e4);--bd:var(--wk-outline-variant,#e4e4e7);--ol:var(--wk-outline,#847279);--tx:var(--wk-on-surface,#1c1b1f);--tx2:var(--wk-on-surface-variant,#52525b);--bg2:var(--wk-surface-low,#f7f7f8);max-width:980px;margin:0 auto;padding:0 0 48px;color:var(--tx)}
.wds *{box-sizing:border-box}
.wds-hero{padding:32px 0 24px;text-align:left}
.wds-eyebrow{margin:0 0 8px;color:var(--c);font-weight:700;font-size:12px;letter-spacing:.08em;text-transform:uppercase}
.wds-hero h1{font-size:clamp(28px,5vw,40px);line-height:1.15;margin:0 0 12px;text-wrap:balance}
.wds-hero p{max-width:640px;color:var(--tx2);font-size:16px;margin:0 0 16px}
.wds-hero__perks{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.wds-hero__perks li{margin:0;padding:6px 14px;border-radius:999px;background:var(--cl);color:#001e2e;font-weight:600;font-size:14px}
.wds-hero__perks li:nth-child(odd){background:var(--ml);color:#3e0021}
.wds-card{background:#fff;border:1px solid var(--bd);border-radius:24px;padding:24px;margin:0 0 24px;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.wds-form{display:grid;gap:20px}
.wds-from{margin:0;padding:10px 14px;border-radius:12px;background:var(--bg2);font-size:14px}
.wds-step{display:inline-grid;place-items:center;width:24px;height:24px;margin-right:6px;border-radius:50%;background:var(--c);color:#fff;font-size:12px;font-weight:700;vertical-align:1px}
.wds legend,.wds-field>label{display:block;font-weight:700;font-size:16px;margin:0 0 8px;padding:0}
.wds fieldset{border:0;margin:0;padding:0;min-width:0}
.wds-req{color:var(--m)}.wds-opt{color:var(--tx2);font-weight:400;font-size:14px}
.wds-hint,.wds-small{display:block;color:var(--tx2);font-size:13px;margin-top:6px}
.wds textarea,.wds input[type=text],.wds input[type=email]{width:100%;min-height:48px;padding:12px 14px;border:1px solid var(--ol);border-radius:12px;font-size:16px;background:#fff;box-shadow:none;margin:0}
.wds textarea:focus,.wds input:focus{outline:0;border-color:var(--c);box-shadow:0 0 0 2px var(--c)}
.wds input[type=file]{width:100%;padding:12px;border:2px dashed var(--wk-cyan,#009fe3);border-radius:12px;background:#eef8ff;font-size:14px;margin:0}
.wds input[type=file]::file-selector-button{margin-right:10px;padding:8px 16px;border:0;border-radius:999px;background:var(--c);color:#fff;font-weight:600;cursor:pointer}
.wds-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.wds-garments__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px}
.wds-garment{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 8px 12px;border:2px solid var(--bd);border-radius:16px;cursor:pointer;background:#fff;transition:border-color .15s,box-shadow .15s;margin:0}
.wds-garment input{position:absolute;opacity:0;pointer-events:none}
.wds-garment__img img{width:96px;height:96px;object-fit:contain}
.wds-garment__label{font-size:13px;font-weight:600;text-align:center;line-height:1.25}
.wds-garment:hover{border-color:var(--wk-cyan,#009fe3)}
.wds-garment:has(input:checked){border-color:var(--m);box-shadow:0 0 0 3px var(--ml);background:#fff8fb}
.wds-garment:has(input:focus-visible){outline:2px solid var(--c);outline-offset:2px}
.wds-actions{display:flex;flex-wrap:wrap;gap:12px;margin:4px 0 0}
.wds-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:0 24px;border-radius:999px;font-size:16px;font-weight:700;text-decoration:none;cursor:pointer;border:2px solid transparent;line-height:1.2;margin:0;text-transform:none;letter-spacing:0}
.wds-btn--ai{background:var(--m);color:#fff!important}
.wds-btn--ai:hover{filter:brightness(.92)}
.wds-btn--human{background:#fff;border-color:var(--c);color:var(--c)!important}
.wds-btn--human:hover{background:#eef8ff}
.wds-btn--ghost{background:var(--bg2);color:var(--tx)!important}
.wds-btn--wa{background:#1f8f4e;color:#fff!important}
.wds-btn:disabled{opacity:.5;cursor:not-allowed}
.wds-btn:focus-visible{outline:2px solid var(--c);outline-offset:2px}
.wds-quota{margin:0;font-size:14px;color:var(--tx2)}
.wds-error{margin:0;padding:12px 14px;border-radius:12px;background:#fff1f0;color:#8c1d18;font-weight:600}
.wds-result{text-align:center}
.wds-wait{display:flex;flex-direction:column;align-items:center;gap:16px;padding:32px 0}
.wds-spinner{width:56px;height:56px;border-radius:50%;border:5px solid var(--cl);border-top-color:var(--m);animation:wds-spin 1s linear infinite}
@keyframes wds-spin{to{transform:rotate(360deg)}}
.wds-preview{display:block;width:100%;height:auto;border-radius:16px;background:var(--bg2);margin:0 0 16px}
.wds-done .wds-actions,.wds-human .wds-actions{justify-content:center}
.wds-human h2{margin:8px 0}
.wds-login .woocommerce{margin-top:16px}
/* product page CTA */
.wds-product-cta{display:flex;align-items:center;gap:14px;margin:16px 0 0;padding:14px 18px;border-radius:16px;background:linear-gradient(135deg,#e6f5ff,#fff0f6);border:1px solid #cfe9f8;color:var(--wk-on-surface,#1c1b1f)!important;text-decoration:none!important}
.wds-product-cta__emo{font-size:26px}
.wds-product-cta span:nth-child(2){flex:1;display:flex;flex-direction:column}
.wds-product-cta strong{font-size:16px;color:var(--wk-tertiary,#00658e)}
.wds-product-cta small{font-size:13px;color:var(--wk-on-surface-variant,#52525b)}
.wds-product-cta:hover{box-shadow:0 2px 10px rgba(0,101,142,.15)}
.wds-attached{margin:12px 0 0;padding:10px 14px;border-radius:12px;background:#e8f7ee;color:#0f5132;font-size:14px}
/* account */
.wds-acc__head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 16px}
.wds-acc__head h2{margin:0}
.wds-empty{text-align:center}.wds-empty__emo{font-size:40px;margin:0}
.wds-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.wds-item{margin:0}
.wds-item a{display:flex;gap:16px;padding:12px;border:1px solid var(--bd);border-radius:20px;background:#fff;color:inherit;text-decoration:none}
.wds-item a:hover{border-color:var(--wk-cyan,#009fe3)}
.wds-item__img{flex:none;width:120px;height:68px;border-radius:12px;overflow:hidden;background:var(--bg2);display:grid;place-items:center;font-size:28px}
.wds-item__img img{width:100%;height:100%;object-fit:cover}
.wds-item__body{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}
.wds-item__top{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}
.wds-item__desc,.wds-item__meta{font-size:13px;color:var(--tx2)}
.wds-pill{display:inline-block;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:700;background:#eef2f6;color:#3f3f46;white-space:nowrap}
.wds-pill--warn{background:#fff3cd;color:#6b4e00}.wds-pill--ok{background:#d9f5e3;color:#0f5132}.wds-pill--info{background:var(--cl);color:#001e2e}
.wds-bar{display:block;height:6px;border-radius:999px;background:var(--bg2);overflow:hidden}
.wds-bar span{display:block;height:100%;background:linear-gradient(90deg,var(--wk-cyan,#009fe3),var(--m));border-radius:inherit}
.wds-bar--lg{height:10px;margin:12px 0 8px}
.wds-det__head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.wds-det__head h2{margin:0}
.wds-track{list-style:none;margin:0 0 16px;padding:0;display:flex;justify-content:space-between;font-size:12px;color:var(--tx2)}
.wds-track li{margin:0}.wds-track li.is-done{color:var(--tx);font-weight:700}
.wds-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin:0 0 16px}
.wds-facts div{padding:12px;border-radius:12px;background:var(--bg2)}
.wds-facts dt{font-size:12px;color:var(--tx2);font-weight:700;text-transform:uppercase;letter-spacing:.05em}
.wds-facts dd{margin:4px 0 0;font-size:14px}
.wds-figure{margin:0 0 16px}.wds-figure img{width:100%;border-radius:16px;background:var(--bg2)}
.wds-versions{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}
.wds-versions img{width:100%;border-radius:12px}
.wds-changes-form{display:grid;gap:8px;margin:12px 0}
.wds-thread{list-style:none;margin:0 0 16px;padding:0;display:grid;gap:10px}
.wds-msg{margin:0;padding:12px 14px;border-radius:16px;background:var(--bg2);max-width:85%}
.wds-msg--customer{justify-self:end;background:#fff0f6}
.wds-msg--designer{background:#e6f5ff}
.wds-msg--proof{border:2px solid var(--wk-cyan,#009fe3)}
.wds-msg--system{justify-self:center;background:transparent;color:var(--tx2);font-size:13px;text-align:center}
.wds-msg__who{display:block;font-size:12px;font-weight:700;color:var(--tx2);margin-bottom:4px}
.wds-msg__text p{margin:0 0 6px}
.wds-msg__img{display:block;max-width:100%;border-radius:12px;margin-top:6px}
.wds-file{display:inline-block;margin-top:6px}
.wds-reply{display:grid;gap:8px}
.wds-reply__bar{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.wds-reply__bar input[type=file]{flex:1;min-width:200px}
.wds-back{color:var(--c);font-weight:600}
@media (max-width:640px){
	.wds-card{padding:18px 16px;border-radius:20px}
	.wds-row{grid-template-columns:1fr}
	.wds-garments__grid{grid-template-columns:repeat(3,1fr);gap:8px}
	.wds-garment__img img{width:72px;height:72px}
	.wds-garment__label{font-size:12px}
	.wds-actions .wds-btn{width:100%}
	.wds-item a{flex-direction:column}
	.wds-item__img{width:100%;height:140px}
	.wds-msg{max-width:100%}
}
@media (prefers-reduced-motion:reduce){.wds-spinner{animation-duration:3s}}
.wds [hidden]{display:none!important}
.wds textarea,.wds input,.wds button{font-family:inherit}
.wds .wds-hero__perks,.wds .wds-hero__perks li,.wds .wds-list,.wds .wds-thread,.wds .wds-track{margin-left:0;padding-left:0}.wds .wds-hero__perks li{margin-left:0!important}.wds{padding-left:16px;padding-right:16px}
.wds .wds-hero__perks li{padding:6px 14px}
