
/* B5: assistente "Adicionar produto" em 3 passos. Um card por passo: sem borda, raio 6px, fundo #1a1a1a sobre #0a0a0a, padding 20px; alvos de toque de 44px. */
#npRoot { position:fixed; inset:0; z-index:1100; background:#0a0a0a; overflow-y:auto; -webkit-overflow-scrolling:touch; color:var(--text); }
.np-page { max-width:760px; margin:0 auto; padding:28px 16px 48px; }
.np-title { font-size:24px; font-weight:700; margin:0 0 18px; }
.np-steps { display:flex; align-items:center; gap:8px; margin:0 0 20px; }
.np-step { display:flex; align-items:center; gap:10px; flex:0 0 auto; font-size:13px; color:var(--text-2); }
.np-step b { width:30px; height:30px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; background:#1a1a1a; color:var(--text-2); font-size:13px; }
.np-step.on { color:var(--text); font-weight:600; } .np-step.on b { background:#B8F6FD; color:#121635; } .np-step.ok b { background:#1d3b2f; color:#10b981; }
.np-line { flex:1 1 20px; height:2px; background:#1a1a1a; min-width:12px; }
.np-card { background:#1a1a1a; border:0; border-radius:6px; box-shadow:0 4px 24px 0 rgba(0,0,0,.24); padding:20px; margin-bottom:20px; }
.np-h { font-size:16px; font-weight:700; margin:0 0 4px; } .np-sub { font-size:13px; color:var(--text-2); margin:0 0 14px; line-height:1.45; }
.np-f { display:flex; flex-direction:column; gap:6px; margin-bottom:14px; } .np-f > label, .np-lbl { font-size:12px; font-weight:600; color:var(--text-2); }
.np-f .cp-input, .np-f select, .np-f textarea { min-height:44px; box-sizing:border-box; }
.np-f textarea { min-height:120px; resize:vertical; padding:12px 13px; font-family:inherit; line-height:1.5; }
.np-grid { display:flex; flex-wrap:wrap; gap:14px; } .np-grid > .np-f { flex:1 1 200px; min-width:0; }
.np-err { font-size:12.5px; color:#f87171; min-height:0; } .np-err:empty { display:none; }
.np-count { font-size:12px; color:var(--text-3); text-align:right; } .np-count.ok { color:#10b981; }
.np-btn { min-height:44px; padding:0 18px; border-radius:6px; border:1px solid var(--border); background:transparent; color:var(--text); font-size:14px; font-weight:600; cursor:pointer; font-family:inherit; }
.np-btn:hover { background:rgba(255,255,255,.06); } .np-btn[disabled] { opacity:.5; cursor:not-allowed; }
.np-btn.pri { background:#B8F6FD; color:#121635; border-color:#B8F6FD; } .np-btn.pri:hover { background:#CFFAFE; }
.np-foot { display:flex; flex-wrap:wrap; gap:10px; justify-content:space-between; margin-top:4px; } .np-foot .r { display:flex; gap:10px; flex-wrap:wrap; }
.np-drop { border:1.5px dashed rgba(255,255,255,.18); border-radius:6px; min-height:140px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; text-align:center; padding:16px; cursor:pointer; color:var(--text-2); font-size:13px; }
.np-drop.over { border-color:#B8F6FD; background:rgba(184,246,253,.06); } .np-drop img { max-height:160px; max-width:100%; border-radius:6px; }
.np-soon { display:inline-block; font-size:11px; font-weight:600; color:#f59e0b; background:rgba(245,158,11,.12); border-radius:4px; padding:2px 8px; margin-left:8px; white-space:nowrap; }
.np-opt { display:flex; align-items:center; gap:10px; min-height:44px; font-size:14px; cursor:pointer; } .np-opt input { width:20px; height:20px; }
.np-opt.off { opacity:.5; cursor:not-allowed; }
   .np-note { font-size:12.5px; color:#f59e0b; margin:6px 0 10px; line-height:1.45; }
.np-deliv { background:rgba(255,255,255,.04); border-radius:6px; padding:12px 14px; margin-bottom:10px; } .np-deliv.off { opacity:.55; }
.np-ok { display:inline-flex; width:44px; height:44px; border-radius:50%; align-items:center; justify-content:center; background:#1d3b2f; color:#10b981; font-size:22px; font-weight:700; margin-bottom:12px; }
.np-link { display:flex; flex-wrap:wrap; gap:10px; } .np-link .cp-input { flex:1 1 240px; min-height:44px; }
.np-modal { position:fixed; inset:0; z-index:1200; background:rgba(0,0,0,.6); display:flex; align-items:center; justify-content:center; padding:16px; }
.np-modal .np-card { max-width:440px; width:100%; margin:0; }
@media (max-width:640px) { .np-step span { display:none; } .np-step.on span { display:inline; } .np-foot { flex-direction:column-reverse; } .np-foot .r { flex-direction:column; } .np-foot .np-btn, .np-foot .r .np-btn { width:100%; }   }
/* 14/11/2026: o assistente cabe na tela sem rolar. Em tela larga os cartões ficam lado a lado (2 colunas; no passo 3, 3), e a altura dos blocos
   acompanha a altura da janela (vh/clamp + faixas de max-height). No celular continua uma coluna, que rola normalmente. */
.np-page { padding: clamp(8px, 2.6vh, 28px) 16px clamp(12px, 3vh, 48px); }
.np-title { font-size: clamp(19px, 3vh, 24px); margin-bottom: clamp(6px, 1.6vh, 18px); }
.np-steps { margin-bottom: clamp(8px, 1.8vh, 20px); }
.np-card { padding: clamp(12px, 2vh, 20px); margin-bottom: clamp(10px, 1.8vh, 20px); }
.np-sub { margin-bottom: clamp(6px, 1.2vh, 14px); }
.np-f { margin-bottom: clamp(6px, 1.2vh, 14px); }
.np-drop { min-height: clamp(64px, 13vh, 140px); padding: clamp(8px, 1.4vh, 16px); }
.np-drop img { max-height: clamp(70px, 16vh, 160px); }
.np-f textarea { min-height: clamp(64px, 13vh, 120px); }
@media (min-width: 1000px) {
  .np-page { max-width: min(1240px, 94vw); display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; align-items: start; }
  .np-page.np-s3 { grid-template-columns: 1fr 1fr 1fr; }
  .np-page > .np-title, .np-page > .np-steps, .np-page > .np-foot, .np-page > .np-err { grid-column: 1 / -1; }
  .np-page > .np-card { margin-bottom: 0; }
  .np-page > .np-foot { margin-top: clamp(10px, 2vh, 20px); }
  .np-page > .np-err { margin-top: 10px; }
}
@media (min-width: 1000px) and (max-height: 820px) {
  .np-opt, .np-chip .np-mv button, .np-btn, .np-f .cp-input, .np-f select { min-height: 40px; }
      .np-sub { font-size: 12px; line-height: 1.35; }
}
