.designer-body{background:#f3f3f5}.designer-page{padding:30px 0 60px}.designer-shell{width:min(1180px,calc(100vw - 48px));margin:auto}.designer-progress{display:flex;align-items:center;justify-content:center;gap:12px;margin:0 auto 22px;color:#96949b;font-size:13px}.designer-progress span{display:flex;align-items:center;gap:7px}.designer-progress b{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#dedde1;color:#77757c}.designer-progress .active{color:#27262d;font-weight:800}.designer-progress .active b{background:#ef365d;color:#fff}.designer-progress i{width:46px;height:1px;background:#d2d1d6}
.designer-card{height:680px;background:#fff;border-radius:24px;box-shadow:0 16px 50px rgba(35,31,42,.10);display:grid;grid-template-columns:58% 42%;overflow:hidden}.designer-card[hidden]{display:none!important}.product-stage{position:relative;background:linear-gradient(145deg,#fafafa,#eeeeF1);border-right:1px solid #e7e6ea;overflow:hidden}.selection-stage{display:flex;align-items:center;justify-content:center}.stage-badge{position:absolute;left:25px;top:22px;padding:8px 12px;border-radius:999px;background:#fff;color:#807e86;font-size:12px;box-shadow:0 5px 18px rgba(32,29,38,.08)}.product-sprite{background-image:url('designer/apparel-sheet.png');background-repeat:no-repeat;background-size:300% 200%;filter:drop-shadow(0 28px 22px rgba(35,31,42,.15))}.selection-stage .product-sprite{width:78%;height:78%}.stage-note{position:absolute;left:25px;right:25px;bottom:22px;background:rgba(255,255,255,.92);border-radius:14px;padding:14px 16px;display:flex;justify-content:space-between;gap:20px;align-items:center}.stage-note b{font-size:16px}.stage-note span{font-size:12px;color:#77757f;text-align:right}.selection-panel,.editor-panel{min-width:0;display:flex;flex-direction:column;background:#fff}.panel-head{height:86px;border-bottom:1px solid #eeeef0;padding:19px 25px;display:flex;align-items:center;justify-content:space-between}.panel-head h1{font-size:22px;margin:0 0 2px}.panel-head p{font-size:13px;color:#85838b;margin:0}.panel-head>a{font-size:28px;color:#77757e}.panel-scroll{padding:20px 20px 10px;overflow:auto;flex:1}.panel-scroll h2{font-size:13px;font-weight:650;color:#74727a;margin:0 0 10px}.category-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:22px}.category-tab{border:2px solid transparent;border-radius:14px;background:#f4f4f6;padding:8px 5px 10px;cursor:pointer;text-align:center;color:#67656d;font-size:12px}.category-tab.active{background:#fff;border-color:#ef365d;box-shadow:0 6px 16px rgba(239,54,93,.11)}.category-tab .apparel-sprite{height:55px;min-height:0;margin:0}.model-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.model-card{border:2px solid transparent;background:#f4f4f6;border-radius:16px;padding:11px;cursor:pointer;text-align:left;min-width:0}.model-card.active{background:#fff;border-color:#ef365d}.model-card .apparel-sprite{height:100px;min-height:0;margin:0}.model-card b{display:block;font-size:13px;line-height:1.15}.model-card span{display:block;color:#ef365d;font-size:13px;font-weight:800;margin-top:7px}.panel-footer{height:78px;border-top:1px solid #eeeef0;padding:13px 18px;display:grid;grid-template-columns:1fr 1.25fr;gap:10px}.panel-footer .vp-btn{width:100%}
.editor-card{grid-template-columns:60% 40%;height:720px}.stage-top{position:absolute;z-index:6;left:20px;right:20px;top:16px;display:flex;justify-content:space-between;align-items:center}.stage-top button{border:0;background:rgba(255,255,255,.9);border-radius:999px;padding:9px 12px;font-size:12px;cursor:pointer;box-shadow:0 4px 12px rgba(33,30,39,.08)}.stage-top span{font-size:13px;font-weight:800}.garment-wrap{position:absolute;width:82%;height:82%;left:9%;top:9%;display:grid;place-items:center;isolation:isolate}.garment-wrap .product-sprite{position:absolute;inset:0}.garment-tint{position:absolute;inset:0;background:var(--garment-color,transparent);mix-blend-mode:multiply;opacity:.8;pointer-events:none;transition:background-color .18s ease;z-index:1}.garment-tint.tint-tshirts{clip-path:polygon(34% 7%,66% 7%,70% 12%,92% 27%,84% 49%,72% 43%,72% 92%,28% 92%,28% 43%,16% 49%,8% 27%,30% 12%)}.garment-tint.tint-hoodies{clip-path:polygon(35% 5%,65% 5%,72% 15%,88% 25%,92% 78%,80% 84%,72% 46%,71% 91%,29% 91%,28% 46%,20% 84%,8% 78%,12% 25%,28% 15%)}.garment-tint.tint-longsleeves{clip-path:polygon(35% 7%,65% 7%,70% 12%,83% 18%,92% 84%,81% 88%,70% 43%,70% 91%,30% 91%,30% 43%,19% 88%,8% 84%,17% 18%,30% 12%)}.garment-tint.tint-caps{clip-path:polygon(17% 48%,22% 31%,34% 20%,54% 16%,69% 23%,79% 38%,80% 55%,92% 67%,74% 79%,48% 86%,18% 83%,8% 72%)}.garment-tint.tint-polo{clip-path:polygon(38% 7%,62% 7%,68% 14%,87% 28%,79% 47%,69% 42%,69% 92%,31% 92%,31% 42%,21% 47%,13% 28%,32% 14%)}.garment-tint.tint-bags{clip-path:polygon(30% 8%,70% 8%,78% 35%,86% 36%,86% 92%,14% 92%,14% 36%,22% 35%)}.print-zone{position:absolute;left:34%;top:22%;width:32%;height:52%;border:2px dashed rgba(239,54,93,.56);background:rgba(239,54,93,.07);touch-action:none;z-index:2}.zone-label{position:absolute;top:-22px;left:50%;transform:translateX(-50%);font-size:10px;color:#d9274c;white-space:nowrap}.zone-add{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:54px;height:54px;border:0;border-radius:50%;background:#fff;color:#ef365d;font-size:31px;box-shadow:0 8px 20px rgba(39,34,46,.16);cursor:pointer}.design-object{position:absolute;left:50%;top:50%;width:58%;height:58%;transform:translate(-50%,-50%);cursor:move;touch-action:none;transform-origin:center}.design-object img{width:100%;height:100%;object-fit:contain;pointer-events:none}.design-object span{display:grid;place-items:center;width:100%;height:100%;font-size:25px;font-weight:900;text-align:center;line-height:1.05;color:#111;word-break:break-word;pointer-events:none}.resize-handle{position:absolute;width:16px;height:16px;border-radius:50%;right:-8px;bottom:-8px;background:#fff;border:4px solid #ef365d;box-shadow:0 2px 8px #777;cursor:nwse-resize}.view-switcher{position:absolute;left:22px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:7px;z-index:7}.view-switcher button{width:62px;border:1px solid #e0dfe3;background:#fff;border-radius:12px;padding:8px 5px;color:#68666e;font-size:11px;cursor:pointer}.view-switcher button.active{border-color:#ef365d;color:#ef365d;font-weight:800;box-shadow:0 5px 13px rgba(239,54,93,.12)}
.panel-head.compact{height:76px}.save-chip{border:1px solid #dcdbe0;background:#fff;border-radius:999px;padding:8px 11px;cursor:pointer;font-size:12px}.editor-scroll{flex:1;overflow:auto;padding:17px 20px}.own-toggle{display:grid;grid-template-columns:1fr 1fr;background:#f0f0f2;border-radius:12px;padding:4px;margin-bottom:15px}.own-toggle button{border:0;background:transparent;border-radius:9px;padding:10px;cursor:pointer;color:#74727a}.own-toggle button.active{background:#fff;color:#24232a;font-weight:800;box-shadow:0 4px 10px rgba(30,28,35,.08)}.option-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.option-grid label,.option-block,.tool-row,.tool-range{display:flex;flex-direction:column;gap:7px}.option-grid label>span,.option-block>span,.tool-row>span,.tool-range>span{font-size:11px;color:#77757d;font-weight:750}.option-grid input,.option-grid select,.tool-row input,.tool-row select{border:1px solid #dedde2;border-radius:11px;padding:11px;background:#fff}.option-block{margin:15px 0}.color-list{display:flex;flex-wrap:wrap;gap:8px}.color-list button{width:31px;height:31px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 1px #d7d6db;cursor:pointer}.color-list button.active{box-shadow:0 0 0 2px #ef365d}.print-empty{border-top:1px solid #ecebef;margin-top:18px;padding:25px 12px;text-align:center}.empty-icon{font-size:38px;color:#ef365d}.print-empty h2{font-size:19px;margin:7px 0}.print-empty p{font-size:12px;color:#77757f;margin:0 auto 17px;max-width:310px}.print-empty .vp-btn{width:100%}.text-link{border:0;background:none;color:#ef365d;margin-top:12px;cursor:pointer}.tool-head{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #ecebef;padding-top:17px;margin-top:17px}.tool-head b,.tool-head span{display:block}.tool-head span{font-size:11px;color:#77757d;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tool-head button{border:0;background:none;color:#d52c50;cursor:pointer;font-size:12px}.tool-row{margin-top:14px}.tool-range{margin-top:16px}.tool-range>span{display:flex;justify-content:space-between}.tool-range output{color:#24232a}.tool-range input{accent-color:#ef365d}.tool-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:17px}.tool-actions button{border:1px solid #dedde2;background:#fff;border-radius:10px;padding:10px;cursor:pointer}.designer-warning{font-size:11px;color:#78767e;background:#f4f4f6;padding:11px 12px;border-radius:10px;margin-top:16px}.price-footer{height:90px;border-top:1px solid #ecebef;padding:13px 17px;display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:center}.price-footer span,.price-footer small{display:block;color:#74727a}.price-footer span{font-size:11px}.price-footer strong{display:block;font-size:23px;line-height:1}.price-footer small{font-size:10px;margin-top:4px}.price-footer .vp-btn{width:100%}
.order-dialog{border:0;padding:0;border-radius:22px;width:min(720px,calc(100vw - 24px));max-height:92vh;box-shadow:0 30px 90px rgba(20,18,25,.28)}.order-dialog::backdrop{background:rgba(22,20,26,.55);backdrop-filter:blur(3px)}.dialog-shell{padding:32px;position:relative;overflow:auto;max-height:92vh}.dialog-close{position:absolute;right:18px;top:15px;border:0;background:none;font-size:29px;cursor:pointer}.dialog-shell h2{font-size:35px;line-height:1;margin:7px 0 11px}.dialog-shell>p{color:#74727a}.order-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;background:#f4f4f6;border-radius:14px;padding:12px;margin:18px 0}.order-summary div{background:#fff;border-radius:10px;padding:10px}.order-summary small,.order-summary b{display:block}.order-summary small{color:#85838b}.dialog-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px}.dialog-fields label{display:flex;flex-direction:column;gap:6px}.dialog-fields label>span{font-size:12px;font-weight:700}.dialog-fields input,.dialog-fields select,.dialog-fields textarea{border:1px solid #dedde2;border-radius:10px;padding:12px}.dialog-fields .wide{grid-column:1/-1}.dialog-fields .check{flex-direction:row;align-items:center;font-size:12px}.dialog-shell>.vp-btn{width:100%}.dialog-shell .form-status{margin:10px 0 0}
.designer-card{height:clamp(520px,calc(100dvh - 245px),680px);min-height:520px}.editor-card{height:clamp(560px,calc(100dvh - 245px),720px);min-height:560px}.selection-panel,.editor-panel{min-height:0;overflow:hidden}.panel-scroll,.editor-scroll{min-height:0}.panel-footer,.price-footer{flex:0 0 auto}
@media(max-width:900px){.designer-shell{width:calc(100% - 24px)}.designer-card,.editor-card{height:auto;min-height:720px;grid-template-columns:1fr}.product-stage{height:520px;border-right:0;border-bottom:1px solid #e7e6ea}.selection-panel,.editor-panel{min-height:600px}.editor-stage{height:560px}.view-switcher{top:auto;bottom:15px;left:50%;transform:translateX(-50%);flex-direction:row}.view-switcher button{width:auto;min-width:62px}.panel-scroll,.editor-scroll{max-height:none}.designer-progress{margin-top:2px}}
@media(max-width:560px){.designer-page{padding:14px 0 30px}.designer-progress{gap:6px}.designer-progress i{width:18px}.designer-progress span{font-size:11px}.designer-card{border-radius:18px}.product-stage{height:390px}.selection-stage .product-sprite{width:94%;height:78%}.stage-note{left:12px;right:12px;bottom:12px;padding:11px;display:block}.stage-note span{display:none}.category-tabs{grid-template-columns:repeat(3,1fr)}.model-grid{grid-template-columns:1fr 1fr}.panel-footer{grid-template-columns:1fr;height:auto}.editor-stage{height:440px}.garment-wrap{width:94%;height:82%;left:3%;top:9%}.print-zone{left:35%;width:30%}.view-switcher{bottom:8px;gap:4px}.view-switcher button{font-size:10px;min-width:0;padding:7px}.price-footer{height:auto;grid-template-columns:1fr;position:sticky;bottom:0;background:#fff;z-index:10}.order-summary{grid-template-columns:1fr}.dialog-shell{padding:26px 18px}.dialog-fields{grid-template-columns:1fr}.dialog-fields .wide{grid-column:auto}}
.product-sprite{aspect-ratio:1}.selection-stage .product-sprite{width:min(78%,560px);height:auto}.category-tab .apparel-sprite{width:55px!important;height:auto!important;margin:0 auto}.model-card .apparel-sprite{width:100px!important;height:auto!important;margin:0 auto}.garment-wrap{width:min(82%,590px);height:auto;aspect-ratio:1;left:50%;top:50%;transform:translate(-50%,-50%)}
@media(max-width:560px){.selection-stage .product-sprite{width:min(94%,360px);height:auto}.garment-wrap{width:min(94%,410px);height:auto;left:50%;top:50%}}
.designer-progress .active b{background:#49b8e8}.category-tab.active,.model-card.active{border-color:#49b8e8}.category-tab.active{box-shadow:0 6px 16px rgba(73,184,232,.14)}.model-card span{color:#2d91bd}.print-zone{border-color:rgba(73,184,232,.62);background:rgba(73,184,232,.08)}.zone-label,.zone-add,.empty-icon,.text-link{color:#2d91bd}.resize-handle{border-color:#49b8e8}.view-switcher button.active{border-color:#49b8e8;color:#2d91bd;box-shadow:0 5px 13px rgba(73,184,232,.14)}.color-list button.active{box-shadow:0 0 0 2px #49b8e8}.tool-head button{color:#2d91bd}.tool-range input{accent-color:#49b8e8}
.product-sprite{background-image:url('designer/apparel-sheet-transparent.png')}.garment-tint{inset:0;clip-path:none!important;border-radius:0;background:var(--garment-color,transparent);opacity:.82;mix-blend-mode:multiply;-webkit-mask-image:url('designer/apparel-sheet-transparent.png');mask-image:url('designer/apparel-sheet-transparent.png');-webkit-mask-size:300% 200%;mask-size:300% 200%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;transform-origin:center}.garment-tint.tint-tshirts{-webkit-mask-position:0 0;mask-position:0 0}.garment-tint.tint-hoodies{-webkit-mask-position:50% 0;mask-position:50% 0}.garment-tint.tint-longsleeves{-webkit-mask-position:100% 0;mask-position:100% 0}.garment-tint.tint-caps{-webkit-mask-position:0 100%;mask-position:0 100%}.garment-tint.tint-polo{-webkit-mask-position:50% 100%;mask-position:50% 100%}.garment-tint.tint-bags{-webkit-mask-position:100% 100%;mask-position:100% 100%}
.zone-mode-control select{border:1px solid #dedde2;border-radius:11px;padding:11px;background:#fff}.zone-mode-control small{color:#77757d;font-size:10px;line-height:1.4}.print-zone{transition:left .2s ease,top .2s ease,width .2s ease,height .2s ease}
.text-tools{margin-top:13px;padding:13px;border-radius:12px;background:#f5f5f7}.text-tools .tool-row{margin-top:0}.text-tools textarea,.text-tools select{width:100%;box-sizing:border-box;border:1px solid #dcdbe1;border-radius:10px;padding:10px;background:#fff;font:inherit;resize:vertical}.text-option-grid{display:grid;grid-template-columns:minmax(0,1fr) 92px;gap:9px;margin-top:10px}.color-field input[type="color"]{width:100%;height:41px;padding:4px;border:1px solid #dcdbe1;border-radius:10px;background:#fff;cursor:pointer}.text-style-row{display:grid;grid-template-columns:auto auto 1fr;gap:8px;align-items:end;margin-top:13px}.text-style-row>label{min-height:42px;display:flex;align-items:center;gap:6px;padding:0 9px;border:1px solid #dcdbe1;border-radius:10px;background:#fff;font-size:11px;color:#55535b}.text-style-row>label:last-child{display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:3px}.text-style-row span{font-size:9px;color:#77757d}.text-style-row select{border:0;background:transparent;padding:0;font-size:11px}.text-style-row input{accent-color:#49b8e8}.text-tools .tool-range{margin-top:13px}
@media(max-width:560px){.text-style-row{grid-template-columns:1fr 1fr}.text-style-row>label:last-child{grid-column:1/-1}.text-option-grid{grid-template-columns:minmax(0,1fr) 86px}}
.design-object span{white-space:pre-wrap}
.garment-view{background-image:var(--view-image)!important;background-size:400% 300%!important;background-position:var(--view-x) var(--view-y)!important;background-repeat:no-repeat!important}.garment-tint.view-mask{-webkit-mask-image:var(--view-image)!important;mask-image:var(--view-image)!important;-webkit-mask-size:400% 300%!important;mask-size:400% 300%!important;-webkit-mask-position:var(--view-x) var(--view-y)!important;mask-position:var(--view-x) var(--view-y)!important}.design-object{z-index:4;width:64%;height:64%}.design-object img{opacity:1;visibility:visible;filter:drop-shadow(0 2px 2px rgba(0,0,0,.24))}.stage-tools{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);z-index:9;display:flex;align-items:center;gap:5px;padding:5px;border-radius:999px;background:rgba(255,255,255,.94);box-shadow:0 8px 24px rgba(35,31,42,.16);backdrop-filter:blur(10px)}.stage-tools button{width:34px;height:34px;border:0;border-radius:50%;background:#eef8fc;color:#2d91bd;font-size:20px;font-weight:800;cursor:pointer}.stage-tools b{min-width:52px;text-align:center;font-size:11px}.zone-mode-control small{min-height:28px}.zone-label{font-weight:750;text-shadow:0 1px 4px #fff}.print-zone{box-shadow:inset 0 0 0 1px rgba(255,255,255,.35)}
@media(max-width:900px){.editor-card{overflow:visible}.editor-stage{overflow:hidden;border-radius:18px 18px 0 0}.stage-tools{bottom:62px}.view-switcher{z-index:10}}
@media(max-width:560px){.stage-top span{display:none}.stage-top{left:12px;right:12px}.stage-top button{font-size:11px;padding:8px 10px}.editor-stage{height:min(52svh,480px);min-height:390px}.garment-wrap{top:48%;width:min(92%,430px)}.stage-tools{bottom:58px}.stage-tools button{width:32px;height:32px}.stage-tools b{min-width:44px}.view-switcher{bottom:9px}.view-switcher button{background:rgba(255,255,255,.94)}}
.design-objects{position:absolute;inset:0}.design-object{border:1px solid transparent}.design-object.active{border-color:rgba(73,184,232,.9);box-shadow:0 0 0 2px rgba(255,255,255,.76)}.design-object:not(.active) .resize-handle{display:none}.design-object:not(.active){cursor:pointer}.design-object.active{z-index:6}.placement-manager{margin:16px 0 2px;padding:12px;border-radius:13px;background:#f4f5f6}.placement-manager-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.placement-manager-head b{font-size:12px}.placement-manager-head span{min-width:24px;padding:3px 7px;border-radius:999px;background:#dff3fb;color:#267fa5;text-align:center;font-size:10px;font-weight:800}.placement-list{display:flex;flex-direction:column;gap:6px}.placement-item{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;border:1px solid transparent;border-radius:10px;background:#fff;padding:8px;text-align:left;cursor:pointer}.placement-item.active{border-color:#49b8e8;box-shadow:0 3px 10px rgba(73,184,232,.12)}.placement-item-index{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#edf7fb;color:#2d91bd;font-size:10px;font-weight:900}.placement-item b,.placement-item small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.placement-item b{font-size:11px}.placement-item small{margin-top:2px;color:#7b7980;font-size:9px}.placement-item-side{color:#2d91bd;font-size:10px;font-weight:800}.placement-save-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.placement-save-actions button,.placement-copy button,.placement-copy select{min-height:40px;border:1px solid #d9dce0;border-radius:10px;background:#fff;padding:9px 10px;font-size:11px;font-weight:750;cursor:pointer}.placement-save-actions .placement-save{grid-column:1/-1;border-color:#49b8e8;background:#49b8e8;color:#fff}.placement-save-actions .placement-save.saved{background:#278fba}.placement-copy{display:grid;grid-template-columns:1fr 1.15fr;gap:8px;margin-top:8px}.placement-copy select{min-width:0}.view-switcher button .view-count{display:inline-grid;place-items:center;min-width:17px;height:17px;margin-left:3px;padding:0 4px;border-radius:999px;background:#edf7fb;color:#2d91bd;font-size:9px;font-weight:900}.view-switcher button.active .view-count{background:#49b8e8;color:#fff}.tool-head{gap:10px}.tool-head>div{min-width:0}.tool-head button{flex:0 0 auto}
@media(max-width:560px){.placement-save-actions,.placement-copy{grid-template-columns:1fr}.placement-manager{padding:10px}.design-object.active{box-shadow:0 0 0 1px rgba(255,255,255,.8)}}
.product-photo{background-position:center!important;background-repeat:no-repeat!important;background-size:contain!important}.garment-view.photo-view{background-position:center!important;background-size:contain!important}.garment-tint.view-mask.photo-view{-webkit-mask-position:center!important;mask-position:center!important;-webkit-mask-size:contain!important;mask-size:contain!important}.own-toggle button[hidden]{display:none}.own-toggle button:only-child{grid-column:1/-1}
