:root{color-scheme:light;--ink:#24114d;--muted:#62587a;--purple:#4d20bd;--violet:#702ce1;--blue:#28388f;--yellow:#ffda3d;--bg:#f6f5fb;--border:#e6e1f1;--card:#fff;--danger:#b4234c;--ok:#0c755c}*{box-sizing:border-box}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg)}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.wrap{max-width:1180px;margin:0 auto;padding:0 22px}.head{background:#251051;color:#fff;box-shadow:0 5px 20px #270b5f12}.head-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:82px}.brand{display:flex;align-items:center;gap:11px;font-weight:950;letter-spacing:.05em}.brand img{height:56px;width:56px;object-fit:contain;background:#fff;border-radius:12px;padding:3px}.brand small{display:block;font-size:11px;font-weight:550;color:#d8c8fa;letter-spacing:0;margin-top:3px}.head nav{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.head nav a{font-size:13px;color:#eee5ff}.head nav a:hover{color:var(--yellow)}.pill{border:1px solid #ddd4ef;border-radius:999px;padding:9px 13px;background:#fff;display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:13px;font-weight:700;color:var(--ink)}.pill.yellow{background:var(--yellow);border-color:var(--yellow);color:#24114d}.pill.purple{background:var(--purple);border-color:var(--purple);color:white}.pill.dark{background:#2a175d;border-color:#2a175d;color:#fff}.pill.danger{color:var(--danger);border-color:#f2c4d1}.pill:hover{filter:brightness(.96)}main{padding:30px 0 90px}.hero{border-radius:24px;background:linear-gradient(114deg,#29115b,#6224ce 53%,#2948bf);padding:35px;color:#fff;display:flex;justify-content:space-between;gap:20px;align-items:center;position:relative;overflow:hidden;margin-bottom:20px}.hero:after{content:"✦";position:absolute;right:8%;top:-90px;font-size:280px;color:#ffffff0e;pointer-events:none}.hero h1{font-size:clamp(26px,4vw,43px);letter-spacing:-.04em;line-height:1.05;margin:7px 0}.hero p{line-height:1.5;max-width:720px;color:#e5dcff;margin:8px 0 0}.eyebrow{font-size:12px;font-weight:850;text-transform:uppercase;letter-spacing:.13em;color:var(--yellow)}.layout{display:grid;grid-template-columns:235px minmax(0,1fr);gap:20px}.card{background:var(--card);border:1px solid var(--border);border-radius:19px;padding:20px;box-shadow:0 7px 24px #24114d08}.side{align-self:start;position:sticky;top:18px}.side a{display:block;border-radius:10px;padding:12px 14px;margin:3px 0;font-size:14px;color:#38265e;font-weight:650}.side a.active,.side a:hover{background:#eee8ff;color:#4514b5}.side .hint{margin:15px 7px;color:var(--muted);font-size:12px;line-height:1.5}.stack{display:grid;gap:18px}.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.stat{border:1px solid var(--border);padding:19px;border-radius:15px;background:#fff}.stat strong{font-size:27px;display:block;margin:7px 0}.stat span{color:var(--muted);font-size:13px}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 15px}.toolbar h2{margin:0;font-size:21px;letter-spacing:-.02em}.toolbar p{margin:5px 0 0;color:var(--muted);font-size:13px}.toolbar .tools{display:flex;gap:9px;flex-wrap:wrap}.notice{border-radius:13px;padding:12px 15px;background:#fff7dc;border:1px solid #f4db7f;color:#65500b;font-size:13px;line-height:1.5;margin:0 0 17px}.notice.blue{background:#eef1ff;border-color:#d1dafa;color:#263c7e}.notice.green{background:#e9f8f2;border-color:#b1e6d6;color:#0b6149}.notice.error{background:#fff0f3;border-color:#f3c1cd;color:#a21747}.muted{color:var(--muted)}.small{font-size:13px}.row{display:flex;align-items:center;gap:13px}.between{justify-content:space-between}.field{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:700}.field input,.field select,.field textarea{border:1px solid #d9d3e9;border-radius:10px;padding:11px 12px;min-width:0;width:100%;color:var(--ink);background:#fff;outline-color:var(--purple);font-weight:450}.field textarea{min-height:80px;resize:vertical}form .grid2,form .grid3{margin-bottom:13px}button:focus-visible,a:focus-visible{outline:3px solid #f9d81c;outline-offset:2px}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.product{background:#fff;border:1px solid var(--border);border-radius:17px;overflow:hidden;box-shadow:0 7px 23px #24114d0b;min-width:0}.product .picture{height:195px;background:radial-gradient(circle at 50% 35%,#ffffff 0,#eee9f7 80%);display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.product .picture img{height:100%;width:100%;object-fit:contain;padding:13px}.product .picture .placeholder{font-size:45px}.product .body{padding:15px}.product h3{font-size:15px;line-height:1.35;min-height:41px;margin:8px 0}.product .price{font-size:23px;font-weight:900;margin:10px 0}.product .chip{font-size:11px;padding:5px 9px;border-radius:99px;background:#ece7f9;color:#5932a6;font-weight:800;display:inline-block}.product .chip.sold{background:#fff0f3;color:#a5224e}.product .meta{font-size:12px;color:var(--muted);line-height:1.4}.product .link{display:block;margin-top:10px;font-size:13px;font-weight:850;color:#5120b6}.tablewrap{overflow:auto;border:1px solid var(--border);border-radius:13px;background:#fff}table{border-collapse:collapse;width:100%;font-size:13px}th,td{text-align:left;border-bottom:1px solid #eeeaf4;padding:12px 13px;vertical-align:middle}th{background:#f1edfa;color:#362466;position:sticky;top:0;font-size:12px}tbody tr:last-child td{border-bottom:0}.badge{display:inline-block;font-size:11px;font-weight:850;border-radius:99px;padding:6px 9px;background:#efeafd;color:#5a2ab8}.badge.active{background:#def5ea;color:#056944}.badge.out{background:#fff0f3;color:#9c2246}.actions{display:flex;gap:8px;flex-wrap:wrap}.actions button{border:1px solid #dbd5ec;border-radius:9px;background:#fff;padding:8px 10px;font-weight:700;font-size:12px;color:var(--ink)}.actions button:hover{background:#f3efff}.split{display:grid;grid-template-columns:1fr 1fr;gap:18px}.loginbox{max-width:660px;margin:0 auto}.loginbox h2{margin:4px 0 12px}.auth-methods{display:grid;gap:12px;margin-top:16px}.code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;overflow-wrap:anywhere;background:#f3f0f8;padding:9px;border-radius:8px}.screenhide{display:none!important}.footer{background:#241052;color:#daceff;padding:28px 0;font-size:12px}.footer strong{color:#fff}.help{margin-top:8px;font-size:12px;color:#776c8c;line-height:1.5}.empty{text-align:center;padding:38px 20px;color:var(--muted)}.thumbs{display:flex;gap:7px;margin-top:10px}.thumb{height:48px;width:48px;border:1px solid var(--border);border-radius:9px;object-fit:cover;background:#f2f0f6}.toggle{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:650}.toggle input{width:17px;height:17px}.detail{display:grid;grid-template-columns:1fr 1fr;gap:18px}.detail img{width:100%;height:360px;object-fit:contain;background:white;border-radius:16px}.detail h1{font-size:30px}.detail .thumbs img{cursor:pointer}.info{white-space:pre-line;line-height:1.6}@media(max-width:950px){.product-grid{grid-template-columns:repeat(3,1fr)}.stats{grid-template-columns:repeat(2,1fr)}.layout{grid-template-columns:185px minmax(0,1fr)}}@media(max-width:680px){.wrap{padding:0 13px}.head-inner{min-height:72px}.head nav{gap:10px}.head nav a{font-size:11px}.brand img{width:45px;height:45px}.brand strong{font-size:12px}.brand small{font-size:10px}.hero{border-radius:18px;padding:24px}.layout{display:block}.side{position:static;display:flex;flex-wrap:wrap;gap:3px;margin-bottom:15px}.side a{padding:9px;font-size:12px}.side .hint{display:none}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product .picture{height:160px}.product .body{padding:11px}.product h3{font-size:13px;min-height:52px}.product .price{font-size:19px}.grid2,.grid3,.split,.detail{grid-template-columns:1fr}.stats{gap:8px}.card{padding:15px}.toolbar h2{font-size:18px}main{padding:18px 0 60px}}

/* PACO 1.3.1 — detalhe de produto mobile-first, isolado do painel */
[hidden]{display:none!important}
.product-page{padding-top:20px;padding-bottom:55px}
.product-page .preview-notice{max-width:100%;padding:11px 14px}
.product-page .detail{grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);gap:29px;padding:24px;align-items:start}
.product-page .detail>section{min-width:0}
.product-page .gallery-stage{height:430px;position:relative;border:1px solid #efeafa;border-radius:17px;background:linear-gradient(180deg,#fff,#fcfaff);display:flex;align-items:center;justify-content:center;overflow:hidden}
.product-page .gallery-stage #main-photo{display:block;width:100%;height:100%;max-width:100%;object-fit:contain;object-position:center;background:transparent;padding:13px;border-radius:0}
.product-page .gallery-arrow{position:absolute;z-index:2;top:50%;transform:translateY(-50%);width:39px;height:39px;border:1px solid #e9e1f5;background:#ffffffed;color:#36176a;font-size:29px;line-height:1;border-radius:50%;display:grid;place-items:center;box-shadow:0 2px 12px #25105112}
.product-page .gallery-arrow.previous{left:9px}.product-page .gallery-arrow.next{right:9px}
.product-page .gallery-footer{margin-top:12px;min-width:0;max-width:100%}
.product-page .gallery-count{font-size:12px;color:#665681;margin-bottom:7px}
.product-page .thumbs{display:flex;align-items:center;gap:8px;margin:0;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding:3px 2px 6px}
.product-page .thumbs .thumb-button{flex:0 0 69px;width:69px;height:70px;min-width:0;padding:3px;border:2px solid #e7dff3;border-radius:10px;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden;cursor:pointer}
.product-page .thumbs .thumb-button.selected{border-color:#6424cb;box-shadow:0 0 0 1px #6424cb}
.product-page .thumbs .thumb-button img{display:block;width:100%;height:100%;max-height:100%;object-fit:contain;border:0;border-radius:5px;background:transparent;padding:0}
.product-page .product-summary .eyebrow{color:#6334bb;font-size:11px}
.product-page .product-summary h1{font-size:clamp(24px,2.65vw,37px);line-height:1.14;letter-spacing:-.035em;margin:13px 0}
.product-page .product-promo{display:inline-block;background:#efe8ff;color:#5a26b4;padding:7px 12px;font-size:12px;font-weight:800;border-radius:99px}
.product-page .product-price{font-size:clamp(28px,3vw,40px);font-weight:900;letter-spacing:-.025em;margin:18px 0 9px}
.product-page .stock-note{font-size:14px;color:#235a45;margin:0 0 15px;font-weight:650}
.product-page .payment-notice{font-size:13px;padding:12px 14px}
.product-page .buy-button{padding:14px 22px;min-height:46px;font-size:14px}
.product-page .stock-disclaimer{font-size:12px;margin:12px 0 16px;line-height:1.45}
.product-page .video-link{margin-top:8px}
/* Catálogo: cartão único ocupa a largura disponível; mensagens internas não aparecem na vitrine. */
.product-grid:has(> .product:only-child){grid-template-columns:minmax(0,320px)}
@media(max-width:850px){
 .product-page .detail{grid-template-columns:minmax(0,1fr);gap:21px}
 .product-page .gallery-stage{height:min(67vw,440px)}
}
@media(max-width:680px){
 html,body{max-width:100%;overflow-x:clip}
 .head-inner{gap:8px}
 .head nav{justify-content:flex-end;gap:12px}
 .head nav a{font-size:12px;white-space:nowrap}
 .head .brand{min-width:0;letter-spacing:0}
 .head .brand strong{font-size:12px}
 .head .brand img{flex:0 0 auto}
 .hero{padding:19px 18px;margin-bottom:16px}
 .hero h1{font-size:27px}
 .hero p{font-size:13px;line-height:1.5}
 .catalog-page{padding-top:15px}
 .catalog-page .toolbar{align-items:stretch;gap:12px}
 .catalog-page .toolbar .tools{width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
 .catalog-page .toolbar .tools input,.catalog-page .toolbar .tools select{min-width:0!important;width:100%;padding:11px 9px!important;font-size:13px}
 .catalog-page .toolbar .tools select{max-width:100%}
 .catalog-page .product-grid:has(> .product:only-child){grid-template-columns:minmax(0,1fr)}
 .catalog-page .product-grid:has(> .product:only-child)>.product{max-width:480px}
 .catalog-page .product-grid:has(> .product:only-child)>.product .picture{height:240px}
 .catalog-page .product-grid:has(> .product:only-child)>.product h3{min-height:auto;font-size:17px}
 .product-page{padding-top:13px;padding-bottom:42px}
 .product-page .detail{padding:14px;border-radius:17px;gap:17px}
 .product-page .gallery-stage{height:clamp(255px,76vw,360px);border-radius:12px}
 .product-page .gallery-stage #main-photo{padding:9px}
 .product-page .gallery-arrow{width:34px;height:34px;font-size:25px}
 .product-page .thumbs .thumb-button{flex-basis:57px;width:57px;height:60px}
 .product-page .product-summary h1{font-size:25px;margin:10px 0}
 .product-page .product-price{font-size:32px;margin:14px 0 8px}
 .product-page .buy-button{width:100%}
 .product-page .stock-note{font-size:13px}
 .product-page .preview-notice{font-size:12px;margin-bottom:13px}
}
@media(max-width:370px){
 .head nav{gap:8px}.head nav a{font-size:11px}.head .brand small{display:none}
 .product-page .gallery-stage{height:255px}
}

/* Paco Control 1.6 */
.launch-checklist{padding:0;margin:16px 0;list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.launch-check{display:flex;align-items:start;gap:10px;border:1px solid #ded6f0;border-radius:12px;background:#fcfbff;padding:12px;font-size:12px;line-height:1.4}
.launch-check span{width:23px;flex:0 0 23px;height:23px;display:grid;place-items:center;border-radius:50%;font-weight:900;background:#eae5ff;color:#4f268b}
.launch-check.ready span{background:#def9e9;color:#0e814c}
.launch-check.todo span{background:#fff1d6;color:#a35d08}
.launch-ack{background:#faf6ff;padding:12px;border-radius:12px;display:flex;gap:10px;flex-direction:column}
.launch-ack label{display:flex;gap:9px;align-items:start;font-size:12px;font-weight:650;cursor:pointer}
.launch-ack input{accent-color:#6035c4;flex:0 0 auto}
#order-filter{min-width:125px;max-width:185px;padding:8px 11px;background:#fff;color:#32135a;border:1px solid #d6c7ee;border-radius:99px}
@media(max-width:800px){.launch-checklist{grid-template-columns:1fr}}

/* PACO CONTROL 1.7 — Importador CSV */
.import-card{display:grid;gap:10px}.import-card textarea{width:100%;background:#fcfbff;border:1px solid #d9d3e9;border-radius:12px;padding:12px;color:var(--ink);min-height:110px;resize:vertical;font-family:ui-monospace,SFMono-Regular,monospace;font-size:12px;line-height:1.5}
.import-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:8px}.import-steps span{font-size:11px;padding:9px 8px;background:#eee9fb;color:#45217e;border-radius:9px;text-align:center;font-weight:750}
.import-map{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}.import-map .field{font-size:12px}.import-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:14px 0}.import-metrics span{padding:13px;border:1px solid #dfd8ef;border-radius:10px;font-size:12px;color:#675978}.import-metrics strong{display:block;font-size:23px;color:#29125c;margin-top:5px}.import-preview{max-height:420px}.import-preview td:last-child{min-width:160px}.import-preview .skip{color:#96641b}.import-preview .bad{color:#a71f4e}.import-preview .good{color:#07664d;font-weight:700}
@media(max-width:760px){.import-map,.import-metrics{grid-template-columns:1fr}.import-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Previne que a prévia de CSV alargue as telas pequenas */
.stack{min-width:0;grid-template-columns:minmax(0,1fr)}
.tab-view,.tab-view>.card,.tab-view>.toolbar>div{min-width:0;max-width:100%}
.import-steps span{overflow-wrap:anywhere}

/* Paco 1.9.1 — cadastro de cliente */
.account-tabs{display:flex;gap:8px;align-items:stretch;margin:20px 0 14px}
.account-tab{flex:1;border-radius:12px;border:1px solid #ded4f2;background:#f8f5ff;color:#4d3781;padding:13px 12px;font-size:14px;font-weight:800}
.account-tab.active{background:#40218e;color:#fff;border-color:#40218e}
.account-form{display:grid;gap:12px;margin:0}
.account-form .pill{width:100%;min-height:43px;border-radius:11px}
.account-form .field{margin:0}
.account-divider{text-align:center;color:#706685;font-size:12px;margin:0}
.account-hint{font-size:12px;line-height:1.6;color:#66587f;background:#f4f0fe;border:1px solid #e1d9f1;border-radius:12px;padding:12px;margin:17px 0 0}

/* 1.9.7: formulário privado de entrega */
.paco-account-data{margin-top:20px;border:1px solid #e5ddf4;background:#faf8ff;padding:18px;border-radius:16px}
.paco-account-data h3{margin:0 0 8px;color:#30125a;font-size:18px}
.paco-account-data .account-form{margin-top:14px}
.paco-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.paco-account-data .field{min-width:0}
.paco-account-data .notice{margin-bottom:9px}
@media(max-width:620px){.paco-profile-grid{grid-template-columns:1fr}.paco-account-data{padding:13px}}

/* 1.9.8 – Busca de CEP */
.paco-cep-feedback{font-size:12px;line-height:1.5;font-weight:500;color:#62587a;margin-top:5px}
