.wizard-steps{display:flex;gap:10px;margin:8px 0 16px}.wizard-steps button{flex:1;text-align:left;padding:13px;font-weight:600}.wizard-steps .active{background:#2563eb;color:white}.wizard-start{padding:30px;background:white;border:1px solid #e0e7f2;border-radius:14px;flex:1}.wizard-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:28px 0}.wizard-cards button{min-height:170px;text-align:left;padding:24px;background:#f8faff}.wizard-cards strong{font-size:19px;display:block;margin-bottom:15px}.wizard-cards span{display:block;line-height:1.6}.wizard-footer{display:flex;align-items:center;gap:14px;padding:12px 0}.wizard-footer span{flex:1;color:#52627d}.wizard-review{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:24px;min-height:0;overflow:auto;background:white;padding:20px;border-radius:14px;flex:1}.wizard-review canvas{max-width:100%;max-height:55vh;object-fit:contain}.wizard-review aside button,.wizard-review aside select{display:block;width:100%;margin:14px 0}.editor[hidden],.artbar[hidden],.wizard-start[hidden],.wizard-review[hidden]{display:none!important}@media(max-width:900px){.wizard-steps{flex-wrap:wrap}.wizard-steps button{min-width:40%}.wizard-cards{grid-template-columns:1fr}.wizard-start{overflow:auto}.wizard-review{grid-template-columns:1fr}.wizard-footer{flex-wrap:wrap}}
.wizard-start{overflow:auto;min-height:0;padding:24px 30px}.wizard-start h2{margin-top:0}.wizard-photo-grid{display:flex;gap:16px;flex-wrap:wrap;margin:14px 0 22px}.wizard-photo-card{width:190px;padding:8px;text-align:left;background:#fff;border:1px solid #dce4f0;border-radius:12px;overflow:hidden}.wizard-photo-card img{display:block;width:100%;height:125px;object-fit:contain;background:#f3f5f9;border-radius:8px;margin-bottom:10px}.wizard-photo-card strong{display:block;padding:4px 6px;white-space:normal}.wizard-photo-card.selected{border:2px solid #2563eb;background:#eff5ff}.wizard-placeholder{height:125px;display:grid;place-items:center;background:#f5f8ff;font-size:42px;color:#2563eb;border:1px dashed #aac2ee;border-radius:8px}.wizard-cards{gap:12px;margin:18px 0}.wizard-cards button{min-height:90px;padding:16px}.wizard-cards strong{font-size:15px;margin-bottom:7px}.wizard-cards span{font-size:12px}.wizard-model-strip{display:flex;gap:10px;overflow:auto;flex-shrink:0;padding:8px 0}.wizard-model-strip[hidden]{display:none}.wizard-model-strip .wizard-photo-card{display:flex;align-items:center;min-width:170px;width:220px;padding:5px}.wizard-model-strip img{width:66px;height:52px;margin:0}.wizard-model-strip strong{font-size:12px}.wizard-steps{counter-reset:steps;background:white;border:1px solid #e0e7f2;border-radius:14px;padding:6px}.wizard-steps button{border:0;background:transparent;position:relative;font-size:13px;padding:12px 10px;text-align:center}.wizard-steps .active{background:#edf3ff;color:#1652de;box-shadow:inset 0 -3px #2563eb;border-radius:8px}.wizard-footer{padding:8px 0}.wizard-review{border:1px solid #e0e7f2}.wizard-review aside{padding:16px;background:#f8faff;border-radius:12px}.wizard-review canvas{background:#f3f5f9;border-radius:12px}.wizard-review h2{font-size:18px}body[data-wizard-step="2"] .editor,body[data-wizard-step="3"] .editor{grid-template-columns:170px minmax(0,1fr) 230px}body[data-wizard-step="2"] .panel,body[data-wizard-step="3"] .panel{padding:12px}.wizard-gallery h3{font-size:16px;margin:18px 0 8px}@media(max-width:1000px){body[data-wizard-step="2"] .editor,body[data-wizard-step="3"] .editor{grid-template-columns:150px minmax(0,1fr) 200px}.wizard-photo-card{width:160px}}@media(max-width:700px){body[data-wizard-step="2"] .editor,body[data-wizard-step="3"] .editor{grid-template-columns:1fr}.wizard-photo-card{width:145px}}
.wizard-start .wizard-cards{display:none}.wizard-start .wizard-gallery{border-top:1px solid #e0e7f2;padding-top:8px}.wizard-start .wizard-gallery:before{content:'Escolha um template do produto para começar';display:block;font-size:20px;font-weight:700;margin:8px 0 16px}.wizard-start #wizardCurrent{background:#f8faff;padding:12px;border-radius:8px}.wizard-start #wizardResume{margin-top:10px}.wizard-start~.wizard-footer{border-top:1px solid #e0e7f2}.wizard-gallery .wizard-photo-grid{min-height:150px}.wizard-gallery .wizard-photo-card{box-shadow:0 2px 8px #203b6512}.wizard-model-strip+.artbar{margin-top:4px}

#batchDialog{width:min(1100px,94vw);max-height:92vh;overflow:auto}#batchModels,#batchArts{display:flex;flex-wrap:wrap;gap:12px;max-height:180px;overflow:auto;padding:12px;background:#f4f7fb;margin:12px 0}#batchModels label,#batchArts label{display:flex;gap:8px;align-items:center}#batchPreviews{display:flex;gap:14px;overflow:auto}#batchPreviews figure{margin:12px 0;min-width:230px}#batchPreviews canvas{max-width:280px;max-height:260px}#batchProgress{width:100%;margin-top:16px}
 .batch-art-choice{max-width:220px;margin:6px}.batch-preview-tools{display:flex;gap:6px;align-items:center}.batch-preview-tools button{font-size:12px}
.batch-preview-tools{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.batch-preview-tools button{min-height:38px}.batch-art-choice{font-size:14px;min-width:220px}.batch-dialog-note{font-size:14px}
.batch-preview-tools{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.batch-preview-tools button{min-height:38px}.batch-art-choice{font-size:14px;min-width:220px}#batchPreviews figure{min-width:420px}#batchPreviews canvas{max-width:520px;max-height:460px;width:100%}
.batch-preview-nav,#batchPreviewNav{display:flex;align-items:center;gap:12px;padding:12px 0;position:sticky;top:0;background:white;z-index:2}#batchPreviewLabel{flex:1;text-align:center}#batchPreviews figure[hidden]{display:none!important}#batchPreviewNav button{min-height:40px}
.batch-art-row{display:flex;align-items:center;gap:8px;width:100%;padding:7px 4px}.batch-art-row label{display:flex;align-items:center;gap:8px;flex:1;min-width:0}.batch-art-row label span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.batch-art-row button{min-width:34px;padding:6px}.batch-angle{min-width:42px;text-align:center;font-size:12px;color:#52627d}
.batch-template-chooser{padding:16px;background:#f4f7fb;border-radius:10px;margin:12px 0}.batch-template-chooser label{display:block;font-weight:700;margin-bottom:8px}.batch-template-chooser select{width:100%;font-size:16px;padding:10px}.batch-template-chooser .meta{margin:8px 0 0}.batch-dialog-note{font-size:14px}
#batchDialog{width:calc(100vw - 32px);max-width:1500px;height:calc(100vh - 32px);max-height:none;margin:16px;padding:32px 40px;border:0;border-radius:16px;box-shadow:0 20px 70px #122b4d40;background:#fff;overflow:auto}#batchDialog>h2{font-size:28px;margin:0 0 8px;color:#102d63}#batchDialog>p{font-size:15px;line-height:1.5;max-width:1000px}#batchModels{min-height:64px;background:#f4f7fb;border:1px solid #e0e7f2;border-radius:10px;padding:16px;gap:18px}#batchArts{min-height:100px;border:1px solid #e0e7f2;border-radius:10px;padding:14px;background:#f9fbfe}#batchPreviews{display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;min-height:420px;padding:20px;background:#f4f7fb;border-radius:12px}#batchPreviews figure{width:min(900px,100%);min-width:0;background:white;border-radius:12px;padding:18px;box-shadow:0 4px 18px #19365b18}#batchPreviews canvas{display:block;max-width:100%;max-height:62vh;width:auto;height:auto;margin:0 auto}#batchPreviewNav{padding:14px;background:#fff;border:1px solid #dce5f2;border-radius:10px;margin-top:14px}#batchDialog .actions{gap:12px;flex-wrap:wrap}#batchDialog button{min-height:42px;padding:10px 16px}#batchDialog progress{height:12px}#batchDialog label{font-size:14px}
#batchBoard{display:block;margin-top:18px}.batch-panel{border:1px solid #dce5f2;border-radius:14px;padding:24px;background:#fff;min-width:0;min-height:620px;overflow:auto}.batch-panel[hidden]{display:none!important}.batch-panel h3{font-size:26px;color:#102d63;margin:0 0 20px}.batch-panel #batchPreviews{min-height:420px}.batch-panel #batchPreview{margin-bottom:10px}.batch-panel #batchArts{max-height:420px;overflow:auto}#batchStepper{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:18px}#batchStepper button{border:0;background:#edf2f8;color:#52627d}#batchStepper button.active{background:#2563eb;color:white}.batch-step-actions{display:flex;justify-content:space-between;gap:12px;margin-top:20px;padding-top:16px;border-top:1px solid #e0e7f2}@media(max-width:900px){#batchStepper{grid-template-columns:1fr 1fr}.batch-panel{min-height:500px}}
#batchDialog[data-step="2"] #batchRotateAll,#batchDialog[data-step="2"] .batch-art-row>button,#batchDialog[data-step="2"] .batch-angle{display:none!important}#batchDialog[data-step="3"]{width:100vw;height:100vh;max-width:none;max-height:none;margin:0;border-radius:0;padding:20px 28px}#batchDialog[data-step="3"] #batchStepper{max-width:1400px;margin:0 auto 12px}#batchDialog[data-step="3"] .batch-panel{border:0;padding:10px;min-height:calc(100vh - 130px)}#batchDialog[data-step="3"] #batchPreviews{min-height:calc(100vh - 300px);padding:10px;background:#eef3f9}#batchDialog[data-step="3"] #batchPreviews figure{width:min(1300px,100%);display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;align-items:center}#batchDialog[data-step="3"] #batchPreviews canvas{max-width:100%;max-height:calc(100vh - 290px)}#batchDialog[data-step="3"] #batchPreviewNav{max-width:1300px;margin:10px auto}#batchDialog[data-step="3"] .batch-step-actions{max-width:1300px;margin:14px auto 0}
.batch-rotate-preview{display:flex;align-items:center;justify-content:center;gap:10px;padding:12px;background:#edf4ff;border-radius:10px;margin-top:12px}.batch-rotate-preview strong{margin-right:auto}.batch-rotate-preview span{min-width:44px;text-align:center;font-weight:700}
#batchDialog{width:100vw!important;height:100vh!important;max-width:none!important;max-height:none!important;margin:0!important;border-radius:0!important;padding:20px 28px!important}#batchDialog #batchStepper{max-width:1500px;margin:0 auto 12px}#batchDialog .batch-panel{min-height:calc(100vh - 150px);max-width:1500px;margin:0 auto}.batch-art-row img{width:64px;height:64px;object-fit:contain;background:white;border-radius:8px;border:1px solid #dce5f2}.batch-art-row{min-height:78px}.batch-art-row label span{font-weight:600;color:#233b61}
#batchDialog[data-step="2"] #batchArts{display:grid;grid-template-columns:repeat(auto-fill,minmax(520px,1fr));gap:20px;max-height:calc(100vh - 360px);padding:18px}#batchDialog[data-step="2"] .batch-art-row{position:relative;display:grid;grid-template-columns:1fr;gap:8px;padding:14px;background:white;border:1px solid #dce5f2;border-radius:12px;min-height:570px}#batchDialog[data-step="2"] .batch-art-row label{position:relative;display:flex;flex-direction:column;align-items:center;gap:10px}#batchDialog[data-step="2"] .batch-art-row label input{position:absolute;top:10px;left:10px;margin:0;z-index:2;width:22px;height:22px}#batchDialog[data-step="2"] .batch-art-row img{width:512px;height:512px;max-width:100%;align-self:center;object-fit:contain;background:#f6f8fb}#batchDialog[data-step="2"] .batch-art-row label span{width:100%;text-align:center;font-size:16px;white-space:normal;overflow-wrap:anywhere}
#batchSelectedModels{display:flex;align-items:center;gap:12px;overflow:auto;padding:12px 14px;margin-bottom:14px;background:#edf4ff;border-radius:10px}#batchSelectedModels>strong{min-width:180px;color:#173d7a}.batch-selected-model{display:flex;align-items:center;gap:8px;min-width:170px;background:white;padding:7px;border-radius:9px;border:1px solid #d7e3f4}.batch-selected-model img{width:58px;height:58px;object-fit:cover;border-radius:7px}.batch-selected-model span{font-weight:600;font-size:13px}
#batchBoard{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}#batchBoard .batch-panel{border:1px solid #dce5f2;border-radius:14px;background:#fff;padding:22px;box-shadow:0 4px 18px #19365b12;min-width:0}#batchBoard .batch-panel>h3{font-size:22px;color:#102d63;margin:0 0 8px}#batchBoard .batch-panel>h3:after{content:'';display:block;width:48px;height:4px;background:#2563eb;border-radius:4px;margin-top:9px}#batchBoard .batch-panel button{min-height:40px}#batchBoard #batchModels,#batchBoard #batchArts{max-height:360px;overflow:auto}#batchBoard #batchPreviews{min-height:460px}#batchBoard #batchPreviews figure{width:min(760px,100%)}#batchBoard .actions{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:12px}@media(max-width:900px){#batchBoard{grid-template-columns:1fr}#batchDialog{padding:20px}}
