/* UNYXFLUX — Novo Pedido Flow V1 — fluxo limpo/fullscreen */
body.np-flow-open{ overflow:hidden !important; }
body.np-flow-open #unyxMobileBottomNavV2,
body.np-flow-open .unyx-mobile-bottom-nav-v2,
body.np-flow-open .mobile-bottom-nav,
body.np-flow-open .bottom-nav,
body.np-flow-open #addBtn,
body.np-flow-open .unyx-mobile-bottom-nav-v2__slot-add,
body.np-flow-open .unyx-mobile-bottom-nav-v2__slot-add #addBtn{
  display:none !important;
  visibility:hidden !important;
  pointer-events:none !important;
}
.np-flow-screen,.np-flow-screen *{ box-sizing:border-box; }
.np-flow-screen{ position:fixed; inset:0; z-index:10010; width:100vw; height:100dvh; overflow:hidden; background:var(--unyx-d-bg,#f8f9fd); color:var(--unyx-d-text,#08112f); font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.np-flow-page{ width:100%; height:100%; min-height:100dvh; display:flex; flex-direction:column; background:linear-gradient(180deg,var(--unyx-d-bg,#fff) 0%,var(--unyx-d-bg,#f8f9fd) 100%); }
.np-flow-header{ flex:0 0 auto; height:58px; padding:9px 16px; display:grid; grid-template-columns:44px 1fr 44px; align-items:center; gap:8px; background:var(--unyx-d-card,#fff); border-bottom:1px solid rgba(106,97,160,.12); }
.np-flow-title{ text-align:center; font-size:15px; font-weight:950; color:var(--unyx-d-text,#07112e); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.np-flow-icon-btn{ width:40px; height:40px; border:0; border-radius:14px; background:var(--unyx-d-card,#fff); display:grid; place-items:center; cursor:pointer; }
.np-flow-icon-btn:active{ background:var(--unyx-d-tint-purple,#f1edff); }
.np-flow-icon-btn img{ width:22px; height:22px; display:block; }
.np-flow-main{ flex:1 1 auto; min-height:0; overflow:auto; padding:14px 16px; }
.np-flow-block{ display:grid; gap:14px; max-width:980px; margin:0 auto; }
.np-flow-block h2{ margin:3px 0 0; font-size:12px; font-weight:950; text-transform:uppercase; letter-spacing:.02em; color:var(--unyx-d-muted,#525b72); }
.np-flow-search{ height:46px; display:flex; align-items:center; gap:10px; padding:0 13px; border:1px solid var(--unyx-d-line,#e5e8f2); border-radius:13px; background:var(--unyx-d-card,#fff); box-shadow:0 8px 22px rgba(15,23,42,.035); }
.np-flow-search img{ width:18px; height:18px; opacity:.75; }
.np-flow-search input{ flex:1; min-width:0; border:0; outline:0; background:transparent; color:var(--unyx-d-text,#08112f); font-weight:700; }
.np-flow-selected-card,.np-flow-client-card,.np-flow-cart-item,.np-flow-summary,.np-flow-field,.np-flow-empty-mini{ border:1px solid var(--unyx-d-line,#e9ebf4); border-radius:15px; background:var(--unyx-d-card,#fff); box-shadow:0 8px 22px rgba(15,23,42,.045); }
.np-flow-selected-card{ display:grid; grid-template-columns:46px 1fr auto; gap:12px; align-items:center; padding:13px; border-color:#7b55ff; }
.np-flow-selected-card button{ border:0; background:var(--unyx-d-tint-purple,#f1edff); color:var(--np-accent-b,#4f22ff); border-radius:12px; font-weight:900; padding:9px 11px; }
.np-flow-avatar{ width:40px; height:40px; border-radius:50%; display:grid; place-items:center; background:var(--np-accent-b,#4f22ff); color:#fff; font-weight:950; font-size:13px; }
.np-flow-selected-card strong,.np-flow-client-card strong{ display:block; font-size:13px; color:var(--unyx-d-text,#07112e); }
.np-flow-selected-card small,.np-flow-client-card small{ display:block; margin-top:4px; color:var(--unyx-d-muted,#586179); font-size:12px; font-weight:650; line-height:1.35; }
.np-flow-client-list{ display:grid; gap:10px; }
.np-flow-client-card{ width:100%; min-height:66px; border:0; padding:12px; display:grid; grid-template-columns:42px 1fr 18px; gap:11px; align-items:center; text-align:left; cursor:pointer; }
.np-flow-client-card img{ width:17px; height:17px; opacity:.8; }
.np-flow-product-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:12px; }
.np-flow-product-media{ width:52px; height:62px; border-radius:14px; background:var(--unyx-d-card-2,#f6f7fb); display:grid; place-items:center; overflow:hidden; }
.np-flow-product-media.small{ width:42px; height:50px; }
.np-flow-product-media img{ max-width:100%; max-height:100%; object-fit:contain; }
.np-flow-stepper{ height:36px; border:1px solid #6c35ff; border-radius:11px; display:grid; grid-template-columns:40px 1fr 40px; align-items:center; overflow:hidden; }
.np-flow-stepper button{ height:100%; border:0; background:var(--unyx-d-card,#fff); color:var(--np-accent-b,#4f22ff); font-size:19px; font-weight:950; }
.np-flow-stepper span{ text-align:center; font-weight:950; color:var(--unyx-d-text,#07112e); }
.np-flow-section-line{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.np-flow-section-line button{ border:0; background:var(--unyx-d-card,#fff); color:var(--np-accent-b,#4f22ff); font-weight:900; }
.np-flow-cart-list{ display:grid; gap:10px; }
.np-flow-cart-item{ min-height:70px; padding:11px; display:grid; grid-template-columns:44px 1fr auto 32px; gap:10px; align-items:center; }
.np-flow-cart-item strong{ display:block; font-size:13px; font-weight:950; }
.np-flow-cart-item small{ display:block; margin-top:5px; font-size:12px; color:var(--unyx-d-muted,#586179); font-weight:650; }
.np-flow-cart-item b{ font-size:13px; white-space:nowrap; }
.np-flow-cart-item button{ width:30px; height:30px; border:0; border-radius:10px; background:var(--unyx-d-card,#fff); display:grid; place-items:center; }
.np-flow-cart-item button img{ width:16px; height:16px; opacity:.75; }
.np-flow-empty-mini{ padding:18px; text-align:center; color:var(--unyx-d-muted,#596179); font-weight:750; }
.np-flow-totals{ display:grid; gap:10px; padding:4px 0; }
.np-flow-totals div{ display:flex; justify-content:space-between; color:var(--unyx-d-text,#07112e); font-size:13px; font-weight:700; }
.np-flow-totals .total{ padding-top:10px; border-top:1px solid var(--unyx-d-line,#e9ebf4); }
.np-flow-totals .total b{ color:var(--np-accent-b,#4f22ff); font-size:20px; }
.np-flow-choice-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.np-flow-choice-grid button{ height:62px; border:1px solid var(--unyx-d-line,#e3e7f2); border-radius:13px; background:var(--unyx-d-card,#fff); color:var(--unyx-d-text,#07112e); font-weight:850; display:flex; flex-direction:column; gap:6px; align-items:center; justify-content:center; }
.np-flow-choice-grid button.active{ border-color:#6c35ff; color:var(--np-accent-b,#4f22ff); background:var(--unyx-d-card-2,#fbf9ff); }
.np-flow-choice-grid img{ width:21px; height:21px; }
.np-flow-field{ display:grid; gap:7px; padding:10px 12px; box-shadow:none; }
.np-flow-field span{ font-size:11px; font-weight:950; color:var(--unyx-d-muted,#596179); text-transform:uppercase; }
.np-flow-field input,.np-flow-field textarea,.np-flow-field select{ width:100%; border:0; outline:0; resize:none; background:var(--unyx-d-card,#fff); color:var(--unyx-d-text,#07112e); font-weight:750; font-family:inherit; }
.np-flow-summary{ display:grid; gap:10px; padding:13px; }
.np-flow-summary div{ display:flex; justify-content:space-between; gap:12px; font-size:13px; }
.np-flow-summary span{ color:var(--unyx-d-muted,#586179); font-weight:750; }
.np-flow-summary b{ color:var(--unyx-d-text,#07112e); text-align:right; }
.np-flow-radio-list{ display:grid; border:1px solid var(--unyx-d-line,#e9ebf4); border-radius:15px; overflow:hidden; background:var(--unyx-d-card,#fff); box-shadow:0 8px 22px rgba(15,23,42,.045); }
.np-flow-radio-list label{ min-height:48px; display:grid; grid-template-columns:24px 1fr auto; gap:10px; align-items:center; padding:0 13px; border-bottom:1px solid var(--unyx-d-line,#eef0f6); font-weight:800; }
.np-flow-radio-list label:last-child{ border-bottom:0; }
.np-flow-radio-list img{ width:18px; height:18px; }
.np-flow-radio-list input,.np-flow-prazo input{ accent-color:var(--np-accent-b,#4f22ff); }
.np-flow-prazo{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.np-flow-prazo label{ height:44px; border:1px solid var(--unyx-d-line,#e9ebf4); border-radius:13px; background:var(--unyx-d-card,#fff); display:flex; align-items:center; gap:8px; padding:0 12px; font-weight:850; }
.np-flow-footer{ position:relative; flex:0 0 auto; width:100%; padding:11px 16px calc(11px + env(safe-area-inset-bottom,0px)); display:grid; grid-template-columns:auto 1fr; gap:10px; background:rgba(255,255,255,.95); border-top:1px solid rgba(106,97,160,.13); box-shadow:0 -10px 24px rgba(15,23,42,.06); }
.np-flow-footer button{ min-height:48px; border:0; border-radius:13px; font-weight:950; font-size:14px; }
.np-flow-secondary{ min-width:76px; padding:0 16px; background:var(--unyx-d-card,#fff); color:var(--unyx-d-text,#07112e); border:1px solid var(--unyx-d-line,#e4e7f1) !important; }
.np-flow-primary{ background:linear-gradient(135deg,var(--np-accent-a,#7b2cff) 0%,var(--np-accent-b,#4f22ff) 100%); color:#fff; box-shadow:0 10px 22px color-mix(in srgb,var(--np-accent-b,#4f22ff) 22%,transparent); display:flex; align-items:center; justify-content:center; gap:14px; }
.np-flow-primary span{ font-size:13px; opacity:.92; }
@media (min-width:720px){ .np-flow-main{ padding-left:24px; padding-right:24px; } .np-flow-footer{ padding-left:24px; padding-right:24px; } }

/* ETAPA 5C — Aba Cliente limpa */
.np-flow-screen[data-step="cliente"] .np-flow-main{
  background:var(--unyx-d-card,#fff);
}
.np-flow-client-step{
  max-width:720px;
  gap:12px;
}
.np-flow-client-search{
  height:44px;
  border-radius:11px;
  box-shadow:none;
}
.np-flow-selected-client-card{
  grid-template-columns:44px 1fr 28px;
  align-items:start;
  gap:12px;
  padding:16px 14px;
  border:1.5px solid #7b55ff;
  border-radius:14px;
  box-shadow:0 10px 26px rgba(79,34,255,.08);
}
.np-flow-selected-client-card .np-flow-avatar{
  width:42px;
  height:42px;
  margin-top:2px;
  background:linear-gradient(135deg,#7b2cff,#4f22ff);
  font-size:13px;
}
.np-flow-selected-client-body{
  min-width:0;
  display:grid;
  gap:9px;
}
.np-flow-selected-client-top{
  display:grid;
  gap:5px;
}
.np-flow-selected-client-top strong{
  font-size:14px;
  font-weight:950;
  color:var(--unyx-d-text,#07112e);
}
.np-flow-selected-client-top span{
  justify-self:start;
  padding:4px 8px;
  border-radius:999px;
  background:var(--unyx-d-tint-purple,#f1edff);
  color:var(--np-accent-b,#4f22ff);
  font-size:10px;
  font-weight:950;
}
.np-flow-selected-client-body p{
  margin:0;
  display:grid;
  grid-template-columns:18px 1fr;
  gap:9px;
  align-items:start;
  color:var(--unyx-d-text,#07112e);
  font-size:12px;
  line-height:1.35;
}
.np-flow-selected-client-body p img{
  width:17px;
  height:17px;
  opacity:.82;
  margin-top:1px;
}
.np-flow-selected-client-body p b{
  font-weight:700;
}
.np-flow-selected-arrow{
  width:28px !important;
  height:34px !important;
  min-width:28px;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  border-radius:10px !important;
  display:grid;
  place-items:center;
}
.np-flow-selected-arrow img{
  width:18px;
  height:18px;
}
.np-flow-new-client-btn{
  width:100%;
  height:46px;
  border:1px solid var(--unyx-d-line,#e4e7f1);
  border-radius:13px;
  background:var(--unyx-d-card,#fff);
  color:var(--np-accent-b,#4f22ff);
  font-weight:950;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  cursor:pointer;
  box-shadow:0 8px 18px rgba(15,23,42,.035);
}
.np-flow-new-client-btn span{
  font-size:26px;
  line-height:1;
  font-weight:650;
}
.np-flow-client-step h2{
  margin:2px 0 0;
  font-size:12px;
  color:var(--unyx-d-muted,#525b72);
}
.np-flow-client-list-compact{
  gap:0;
  border:1px solid var(--unyx-d-line,#e9ebf4);
  border-radius:14px;
  overflow:hidden;
  background:var(--unyx-d-card,#fff);
  box-shadow:0 8px 22px rgba(15,23,42,.04);
}
.np-flow-client-recent{
  min-height:62px;
  border:0;
  border-radius:0;
  box-shadow:none;
  border-bottom:1px solid var(--unyx-d-line,#eef0f6);
  grid-template-columns:42px 1fr;
  padding:11px 13px;
}
.np-flow-client-recent:last-child{
  border-bottom:0;
}
.np-flow-client-recent .np-flow-avatar{
  width:36px;
  height:36px;
  font-size:11px;
}
.np-flow-client-recent:nth-child(4n+1) .np-flow-avatar{ background:#16a65a; }
.np-flow-client-recent:nth-child(4n+2) .np-flow-avatar{ background:#f4a300; }
.np-flow-client-recent:nth-child(4n+3) .np-flow-avatar{ background:#2868dc; }
.np-flow-client-recent:nth-child(4n+4) .np-flow-avatar{ background:#4b4b4b; }
.np-flow-client-recent strong{
  font-size:13px;
}
.np-flow-client-recent small{
  margin-top:3px;
  font-size:11px;
  color:var(--unyx-d-muted,#586179);
}
.np-flow-footer.is-single{
  grid-template-columns:1fr;
}
.np-flow-screen[data-step="cliente"] .np-flow-footer{
  background:var(--unyx-d-card,#fff);
}

/* ETAPA 5D — Aba Produtos compacta com categorias reais */
.np-flow-products-step{
  gap:12px;
  padding-bottom:16px;
}
.np-flow-product-search{
  height:44px;
  border-radius:13px;
  padding-right:13px;
  box-shadow:none;
}
.np-flow-product-grid-compact{
  grid-template-columns:1fr;
  gap:10px;
}
/* Cards padrão (Pedido/Loja): 2 colunas verticais no mobile; a medida da célula decide o layout do card. */
.np-flow-product-grid-compact.np-flow-product-grid--vertical{
  grid-template-columns:repeat(auto-fill,minmax(148px,1fr));
}
.np-flow-product-grid-compact.np-flow-product-grid--vertical > .np-flow-empty-mini{ grid-column:1 / -1; }
.np-flow-screen[data-step="produtos"] .np-flow-footer{
  grid-template-columns:80px 1fr;
}
.np-flow-screen[data-step="produtos"] .np-flow-secondary{
  min-width:80px;
  padding:0 12px;
}
.np-flow-screen[data-step="produtos"] .np-flow-primary{
  gap:12px;
}
@media (max-width:380px){
  .np-flow-product-grid-compact{ gap:8px; }
}
.np-flow-price-sheet{
  position:fixed;
  inset:0;
  z-index:10040;
  display:none;
  align-items:flex-end;
  justify-content:center;
}
.np-flow-price-sheet.open{
  display:flex;
}
.np-flow-price-scrim{
  position:absolute;
  inset:0;
  background:rgba(8,17,47,.32);
  backdrop-filter:blur(3px);
}
.np-flow-price-panel{
  position:relative;
  width:100%;
  max-width:560px;
  padding:16px 16px calc(16px + env(safe-area-inset-bottom,0px));
  border-radius:22px 22px 0 0;
  background:var(--unyx-d-card,#fff);
  box-shadow:0 -16px 42px rgba(15,23,42,.18);
  display:grid;
  gap:13px;
}
.np-flow-price-panel header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.np-flow-price-panel header strong{
  font-size:16px;
  font-weight:950;
  color:var(--unyx-d-text,#07112e);
}
.np-flow-price-panel header button{
  width:36px;
  height:36px;
  border:0;
  border-radius:12px;
  background:var(--unyx-d-card-2,#f4f0ff);
  color:var(--np-accent-b,#4f22ff);
  font-size:24px;
  line-height:1;
  cursor:pointer;
}
.np-flow-price-product{
  margin:0;
  color:var(--unyx-d-muted,#586179);
  font-size:13px;
  font-weight:750;
}
.np-flow-price-panel .np-flow-field{
  border-color:#dedaf7;
  box-shadow:0 8px 22px rgba(79,34,255,.06);
}
.np-flow-price-panel .np-flow-field input{
  font-size:22px;
  font-weight:950;
  color:var(--unyx-d-text,#07112e);
}
.np-flow-price-actions{
  display:grid;
  grid-template-columns:1fr 1.4fr;
  gap:10px;
}
.np-flow-price-actions button{
  min-height:46px;
  border-radius:13px;
  font-weight:950;
}

/* ETAPA 5D-F — Painel de detalhes do produto */
.np-flow-product-detail-sheet{
  position:fixed;
  inset:0;
  z-index:10042;
  display:none;
  align-items:flex-end;
  justify-content:center;
}
.np-flow-product-detail-sheet.open{display:flex}
.np-flow-product-detail-scrim{
  position:absolute;
  inset:0;
  background:rgba(8,17,47,.34);
  backdrop-filter:blur(3px);
}
.np-flow-product-detail-panel{
  position:relative;
  width:100%;
  max-width:620px;
  height:min(92dvh,860px);
  max-height:100dvh;
  overflow:hidden;
  border-radius:24px 24px 0 0;
  background:var(--unyx-d-card,#fff);
  box-shadow:0 -18px 48px rgba(15,23,42,.22);
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto;
}
.np-flow-product-detail-head{
  min-height:58px;
  padding:8px 16px;
  border-bottom:1px solid var(--unyx-d-line,#eceef5);
  background:var(--unyx-d-card,#fff);
  display:grid;
  grid-template-columns:40px 1fr 40px;
  align-items:center;
  z-index:2;
}
.np-flow-product-detail-head strong{
  grid-column:2;
  text-align:center;
  color:var(--unyx-d-text,#07112e);
  font-size:16px;
  font-weight:950;
}
.np-flow-product-detail-head button{
  grid-column:1;
  width:36px;
  height:36px;
  border:0;
  border-radius:12px;
  background:var(--unyx-d-card,#fff);
  color:var(--unyx-d-tone-purple,#5b27e8);
  font-size:27px;
  line-height:1;
  cursor:pointer;
}
.np-flow-product-detail-body{
  min-height:0;
  overflow-y:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  padding:14px 16px 18px;
  display:grid;
  align-content:start;
  gap:12px;
}
.np-flow-product-detail-hero{
  display:grid;
  grid-template-columns:76px minmax(0,1fr);
  gap:13px;
  align-items:center;
}
.np-flow-product-detail-media{
  width:76px;
  height:76px;
  border-radius:18px;
  background:var(--unyx-d-card-2,#f6f7fb);
  display:grid;
  place-items:center;
  overflow:hidden;
  border:1px solid var(--unyx-d-line,#e8ebf3);
}
.np-flow-product-detail-media img{max-width:100%;max-height:100%;object-fit:contain}
.np-flow-product-detail-title{min-width:0}
.np-flow-product-detail-title h2{
  margin:0;
  color:var(--unyx-d-text,#07112e);
  font-size:16px;
  line-height:1.2;
  font-weight:950;
}
.np-flow-product-detail-title p{
  margin:7px 0 0;
  color:var(--unyx-d-muted,#586179);
  font-size:12px;
  line-height:1.35;
  font-weight:750;
}
.np-flow-product-summary-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
}
.np-flow-product-summary-grid article{
  min-width:0;
  min-height:72px;
  padding:10px;
  border:1px solid var(--unyx-d-line,#e8ebf3);
  border-radius:15px;
  background:var(--unyx-d-card,#fff);
  display:flex;
  align-items:center;
  gap:8px;
}
.np-flow-product-summary-grid img{width:22px;height:22px;flex:0 0 auto}
.np-flow-product-summary-grid span{min-width:0}
.np-flow-product-summary-grid small,.np-flow-product-summary-grid strong{display:block}
.np-flow-product-summary-grid small{color:var(--unyx-d-muted,#667085);font-size:10px;font-weight:800}
.np-flow-product-summary-grid strong{margin-top:4px;color:var(--unyx-d-text,#07112e);font-size:14px;font-weight:950;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.np-flow-product-detail-edit{
  border:1px solid var(--unyx-d-line,#e8ebf3);
  border-radius:16px;
  overflow:hidden;
  background:var(--unyx-d-card,#fff);
}
.np-flow-product-detail-row{
  min-height:56px;
  padding:9px 12px;
  display:grid;
  grid-template-columns:1fr minmax(116px,150px);
  gap:12px;
  align-items:center;
}
.np-flow-product-detail-row > span,.np-flow-product-price-row > span{
  color:var(--unyx-d-text,#07112e);
  font-size:12px;
  font-weight:900;
}
.np-flow-product-detail-row .np-flow-stepper{height:38px;grid-template-columns:38px 1fr 38px}
.np-flow-product-price-row{
  min-height:54px;
  padding:10px 12px;
  border-top:1px solid var(--unyx-d-line,#eceef5);
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(100px,150px);
  gap:12px;
  align-items:center;
}
.np-flow-product-price-row input{
  width:100%;
  min-width:0;
  border:0;
  outline:0;
  background:transparent;
  color:var(--unyx-d-text,#07112e);
  text-align:right;
  font-size:18px;
  font-weight:950;
}
.np-flow-detail-accordion{
  border:1px solid var(--unyx-d-line,#e8ebf3);
  border-radius:16px;
  background:var(--unyx-d-card,#fff);
  overflow:hidden;
}
.np-flow-detail-accordion-toggle{
  width:100%;
  min-height:68px;
  padding:12px 14px;
  border:0;
  background:var(--unyx-d-card,#fff);
  display:grid;
  grid-template-columns:28px minmax(0,1fr) 24px;
  gap:10px;
  align-items:center;
  text-align:left;
}
.np-flow-detail-accordion-toggle img{width:24px;height:24px}
.np-flow-detail-accordion-toggle span{display:grid;gap:3px}
.np-flow-detail-accordion-toggle strong{color:var(--unyx-d-text,#07112e);font-size:13px;font-weight:950}
.np-flow-detail-accordion-toggle small{color:var(--unyx-d-muted,#667085);font-size:11px;font-weight:750}
.np-flow-detail-accordion-toggle b{color:var(--unyx-d-text,#32405f);font-size:20px;transition:transform .18s ease}
.np-flow-detail-accordion.is-open .np-flow-detail-accordion-toggle b{transform:rotate(180deg)}
.np-flow-detail-accordion-content{display:none;padding:0 12px 12px}
.np-flow-detail-accordion.is-open .np-flow-detail-accordion-content{display:block}
.np-flow-product-detail-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
}
.np-flow-product-detail-grid article{
  min-height:74px;
  padding:10px;
  border:1px solid var(--unyx-d-line,#e9ebf4);
  border-radius:14px;
  background:var(--unyx-d-card,#fff);
  display:grid;
  grid-template-columns:24px 1fr;
  grid-template-rows:auto auto;
  column-gap:9px;
  align-content:center;
}
.np-flow-product-detail-grid article img{grid-row:1/span 2;width:22px;height:22px;opacity:.84;align-self:center}
.np-flow-product-detail-grid article strong{color:var(--unyx-d-text,#07112e);font-size:13px;font-weight:950;line-height:1.15}
.np-flow-product-detail-grid article small{margin-top:4px;color:var(--unyx-d-muted,#667085);font-size:10px;font-weight:850;line-height:1.25}
.np-flow-product-detail-grid .is-profit{color:var(--unyx-d-tone-green,#159447)}
.np-flow-product-detail-grid .is-loss{color:var(--unyx-d-tone-red,#c0392b)}
.np-flow-product-detail-actions{
  padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));
  border-top:1px solid var(--unyx-d-line,#eceef5);
  background:var(--unyx-d-card,#fff);
  display:grid;
  grid-template-columns:1fr 1.45fr;
  gap:10px;
  z-index:2;
}
.np-flow-product-detail-actions button{min-height:48px;border-radius:13px;font-weight:950}
@media (min-width:700px){
  .np-flow-product-detail-sheet{align-items:center;padding:24px}
  .np-flow-product-detail-panel{height:min(88dvh,820px);border-radius:24px}
}
@media (max-width:540px){
  .np-flow-product-detail-panel{height:min(94dvh,900px)}
}
@media (max-width:380px){
  .np-flow-product-detail-head,.np-flow-product-detail-body,.np-flow-product-detail-actions{padding-left:12px;padding-right:12px}
  .np-flow-product-detail-hero{grid-template-columns:64px 1fr}
  .np-flow-product-detail-media{width:64px;height:64px;border-radius:15px}
  .np-flow-product-summary-grid{gap:6px}
  .np-flow-product-summary-grid article{padding:8px;min-height:66px;gap:6px}
  .np-flow-product-summary-grid img{width:19px;height:19px}
  .np-flow-product-summary-grid strong{font-size:12px}
}
.np-flow-section-line button[data-flow-step="produtos"]{
  padding:8px 10px;
  border-radius:11px;
  background:var(--unyx-d-card-2,#f4f0ff);
  color:var(--np-accent-b,#4f22ff);
}
/* ABAS SUPERIORES — AUTORIDADE ÚNICA (campanha Comércio/Novo Pedido 2026-10)
   Tokens de tema (--np-accent, --np-accent-ink, --np-accent-soft, --np-accent-on, --np-accent-a/b): sem valor definido,
   cada uso cai no roxo padrão do Novo Pedido (fallback do var()); a loja injeta a cor do tema no .np-flow-screen.
   Faixa horizontal rolável: ícone ao lado do nome, 3 abas inteiras + a 4ª cortada na borda direita
   (indica rolagem), como na imagem de referência. Aba ativa = cor de destaque + sublinhado.
   A cor vem dos tokens --np-accent* (padrão roxo; a loja injeta a cor do tema). */
.np-flow-screen .np-flow-steps{
  --np-step-icon:18px;
  --np-step-label:13px;
  --np-step-tab-w:calc(100% / 3.6);
  flex:0 0 auto;
  position:relative;
  display:flex;
  flex-wrap:nowrap;
  align-items:stretch;
  gap:0;
  width:100%;
  min-width:0;
  margin:0;
  padding:0;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x proximity;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
  background:var(--unyx-d-card,#fff);
  border:0;
  border-bottom:1px solid var(--unyx-d-line,#e9ebf3);
}
.np-flow-screen .np-flow-steps::-webkit-scrollbar{ display:none; }
.np-flow-screen[data-step] .np-flow-main{ padding-top:14px; }
.np-flow-step-tab{
  position:relative;
  flex:0 0 var(--np-step-tab-w);
  min-width:max-content;
  height:48px;
  min-height:48px;
  padding:0 12px;
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:center;
  gap:6px;
  border:0;
  border-radius:0;
  background:transparent;
  color:var(--unyx-d-muted,#5f667d);
  font-family:inherit;
  cursor:pointer;
  scroll-snap-align:start;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
  white-space:nowrap;
}
/* aba sem destaque de fundo no hover */
.np-flow-step-tab.active{ color:var(--np-accent-ink,#4f22d4); }
.np-flow-step-tab.active::after{
  content:"";
  position:absolute;
  left:10px;
  right:10px;
  bottom:0;
  height:3px;
  border-radius:3px 3px 0 0;
  background:var(--np-accent,#6a2cf5);
}
.np-flow-step-tab.completed{ color:var(--unyx-d-text,#323849); }
.np-flow-step-tab.completed .np-flow-step-icon{ color:var(--np-accent-ink,#4f22d4); }
.np-flow-step-tab.blocked{
  opacity:.55;
  cursor:not-allowed;
}
.np-flow-step-tab.active.blocked{ opacity:1; }
.np-flow-step-tab:focus-visible{
  outline:2px solid var(--np-accent,#6a2cf5);
  outline-offset:-3px;
}
.np-flow-step-icon{
  position:relative;
  display:grid;
  place-items:center;
  width:var(--np-step-icon);
  height:var(--np-step-icon);
  flex:0 0 var(--np-step-icon);
  color:inherit;
  pointer-events:none;
}
.np-flow-step-icon svg{
  display:block;
  width:100%;
  height:100%;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.np-flow-step-label{
  display:block;
  overflow:hidden;
  color:inherit;
  white-space:nowrap;
  text-overflow:ellipsis;
  font-size:var(--np-step-label);
  font-weight:800;
  line-height:1;
  letter-spacing:-.01em;
  pointer-events:none;
}
.np-flow-step-count{
  position:absolute;
  z-index:4;
  top:-6px;
  right:-9px;
  display:grid;
  place-items:center;
  min-width:16px;
  height:16px;
  padding:0 4px;
  border:2px solid var(--unyx-d-line,#fff);
  border-radius:999px;
  background:var(--np-accent,#6a2cf5);
  color:var(--np-accent-on,#fff);
  font-size:9px;
  font-weight:900;
  line-height:1;
  font-style:normal;
}
.np-flow-step-connector{ display:none; }
@media (min-width:640px){
  .np-flow-screen .np-flow-steps{ --np-step-label:14px; }
  .np-flow-step-tab{ flex:1 0 auto; padding:0 22px; }
}
@media (prefers-reduced-motion:reduce){
  .np-flow-step-tab{ transition:none; }
}

/* ETAPA 5J — Carrinho: revisão funcional e visual */
.np-flow-cart-step{
  gap:12px;
}
.np-flow-cart-head h2{
  margin:0;
  color:var(--unyx-d-text,#07112e);
  font-size:13px;
  text-transform:none;
  letter-spacing:0;
}
.np-flow-cart-head button[data-flow-step="produtos"]{
  flex:0 0 auto;
  padding:8px 10px;
  border-radius:11px;
  background:var(--unyx-d-card-2,#f4f0ff);
  color:var(--np-accent-b,#4f22ff);
  font-size:12px;
}
.np-flow-cart-item{
  min-height:86px;
  padding:12px;
  grid-template-columns:48px minmax(0,1fr) auto 32px;
  gap:10px;
  border-radius:17px;
}
.np-flow-cart-item .np-flow-product-media.small{
  width:48px;
  height:58px;
  border-radius:14px;
}
.np-flow-cart-info{
  min-width:0;
  display:grid;
  gap:5px;
}
.np-flow-cart-info strong{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--unyx-d-text,#07112e);
  font-size:13px;
  line-height:1.2;
}
.np-flow-cart-info small{
  margin:0;
  color:var(--unyx-d-muted,#586179);
  font-size:11px;
  font-weight:750;
  display:flex;
  flex-wrap:wrap;
  gap:4px 7px;
  align-items:center;
}
.np-flow-cart-price-original{
  color:var(--unyx-d-muted,#9aa3b6);
  text-decoration:line-through;
  font-weight:800;
}
.np-flow-cart-stepper{
  width:104px;
  height:30px;
  border:1px solid var(--unyx-d-line,#e5e8f2);
  border-radius:10px;
  display:grid;
  grid-template-columns:30px 1fr 30px;
  align-items:center;
  overflow:hidden;
  background:var(--unyx-d-card,#fff);
}
.np-flow-cart-item .np-flow-cart-stepper button{
  width:30px;
  height:30px;
  border-radius:0;
  color:var(--np-accent-b,#4f22ff);
  font-size:16px;
  font-weight:950;
}
.np-flow-cart-stepper span{
  text-align:center;
  color:var(--unyx-d-text,#07112e);
  font-size:12px;
  font-weight:950;
}
.np-flow-cart-line-total{
  color:var(--unyx-d-text,#07112e);
  font-size:13px;
  font-weight:950;
  white-space:nowrap;
}
.np-flow-cart-item .np-flow-cart-remove{
  width:32px;
  height:32px;
  border-radius:11px;
  background:var(--unyx-d-card-2,#fff5f5);
}
.np-flow-cart-item .np-flow-cart-remove img{
  width:16px;
  height:16px;
  opacity:.8;
}
.np-flow-totals{
  margin-top:2px;
  padding:14px;
  border:1px solid var(--unyx-d-line,#e9ebf4);
  border-radius:17px;
  background:var(--unyx-d-card,#fff);
  box-shadow:0 8px 22px rgba(15,23,42,.045);
}
.np-flow-totals div{
  font-size:13px;
}
.np-flow-totals .total{
  margin-top:2px;
  padding-top:12px;
}
.np-flow-totals .total span{
  font-size:14px;
  font-weight:950;
}
.np-flow-totals .total b{
  font-size:22px;
}
@media (max-width:380px){
  .np-flow-cart-item{
    grid-template-columns:44px minmax(0,1fr) auto 30px;
    gap:8px;
    padding:10px;
  }
  .np-flow-cart-line-total{
    font-size:12px;
  }
  .np-flow-cart-stepper{
    width:96px;
  }
}

/* ETAPA 5K — Aba Entrega */
.np-flow-delivery-step{
  gap:8px;
}
.np-flow-delivery-step h2{
  margin:0 0 -1px;
  font-size:10.5px;
  letter-spacing:.04em;
}
.np-flow-delivery-type-grid{
  gap:8px;
}
.np-flow-delivery-type-grid button{
  height:58px;
  border-radius:13px;
  gap:4px;
  box-shadow:0 8px 18px rgba(15,23,42,.035);
  transition:border-color .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.np-flow-delivery-type-grid button span{
  font-size:12px;
  font-weight:950;
}
.np-flow-delivery-type-grid button img,
.np-flow-delivery-date-row img,
.np-flow-delivery-period-grid img,
.np-flow-delivery-route-card > img,
.np-flow-delivery-address-card > img{
  filter:brightness(0) saturate(100%) invert(8%) sepia(35%) saturate(1516%) hue-rotate(199deg) brightness(93%) contrast(98%);
  opacity:.92;
}
.np-flow-delivery-type-grid button.active{
  border-color:#6c35ff;
  background:var(--unyx-d-card-2,#fbf8ff);
  color:var(--np-accent-b,#4f22ff);
  box-shadow:0 10px 22px rgba(79,34,255,.12);
}
.np-flow-delivery-type-grid button.active img,
.np-flow-delivery-date-row button.active img,
.np-flow-delivery-date-custom.active img,
.np-flow-delivery-period-grid button.active img{
  filter:brightness(0) saturate(100%) invert(25%) sepia(94%) saturate(4510%) hue-rotate(252deg) brightness(103%) contrast(103%);
  opacity:1;
}
.np-flow-delivery-date-row{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.np-flow-delivery-date-row button,
.np-flow-delivery-date-custom{
  position:relative;
  min-height:58px;
  border:1px solid var(--unyx-d-line,#e3e7f2);
  border-radius:14px;
  background:var(--unyx-d-card,#fff);
  color:var(--unyx-d-text,#07112e);
  display:grid;
  align-content:center;
  justify-items:center;
  gap:3px;
  padding:7px 6px;
  text-align:center;
  cursor:pointer;
  box-shadow:0 8px 18px rgba(15,23,42,.035);
  transition:border-color .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease;
}
.np-flow-delivery-date-row button.active,
.np-flow-delivery-date-custom.active{
  border-color:#6c35ff;
  background:var(--unyx-d-card-2,#fbf8ff);
  color:var(--np-accent-b,#4f22ff);
  box-shadow:0 10px 22px rgba(79,34,255,.12);
}
.np-flow-delivery-date-row img,
.np-flow-delivery-date-custom img{
  width:18px;
  height:18px;
  margin-bottom:1px;
}
.np-flow-delivery-date-row strong,
.np-flow-delivery-date-custom strong{
  font-size:12px;
  font-weight:950;
  line-height:1.1;
}
.np-flow-delivery-date-row span,
.np-flow-delivery-date-custom span{
  font-size:11px;
  color:var(--unyx-d-muted,#667085);
  font-weight:850;
  line-height:1.1;
}
.np-flow-delivery-date-row .active span,
.np-flow-delivery-date-custom.active span{
  color:var(--np-accent-b,#4f22ff);
}
.np-flow-delivery-date-custom input{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  opacity:0;
  cursor:pointer;
}
.np-flow-delivery-period-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  align-items:stretch;
}
.np-flow-delivery-period-grid button{
  min-height:54px;
  max-width:210px;
  border:1px solid var(--unyx-d-line,#e3e7f2);
  border-radius:14px;
  background:var(--unyx-d-card,#fff);
  display:grid;
  grid-template-columns:24px 1fr;
  grid-template-areas:"icon label" "icon time";
  align-items:center;
  column-gap:9px;
  padding:9px 11px;
  text-align:left;
  cursor:pointer;
  box-shadow:0 8px 18px rgba(15,23,42,.035);
  transition:border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.np-flow-delivery-period-grid button.active{
  border-color:#6c35ff;
  background:var(--unyx-d-card-2,#fbf8ff);
  box-shadow:0 10px 22px rgba(79,34,255,.12);
}
.np-flow-delivery-period-grid button.active strong,
.np-flow-delivery-period-grid button.active span{
  color:var(--np-accent-b,#4f22ff);
}
.np-flow-delivery-period-grid img{
  grid-area:icon;
  width:20px;
  height:20px;
}
.np-flow-delivery-period-grid strong{
  grid-area:label;
  color:var(--unyx-d-text,#07112e);
  font-size:13px;
  font-weight:950;
  line-height:1.12;
}
.np-flow-delivery-period-grid span{
  grid-area:time;
  color:var(--unyx-d-muted,#667085);
  font-size:12px;
  font-weight:850;
  line-height:1.12;
}
.np-flow-delivery-route-card,
.np-flow-delivery-address-card{
  border:1px solid var(--unyx-d-line,#e9ebf4);
  border-radius:15px;
  background:var(--unyx-d-card,#fff);
  box-shadow:0 8px 20px rgba(15,23,42,.04);
  display:grid;
  gap:10px;
  align-items:center;
  padding:10px 12px;
}
.np-flow-delivery-route-card{
  grid-template-columns:26px 1fr auto;
  min-height:56px;
}
.np-flow-delivery-address-card{
  grid-template-columns:26px 1fr auto;
  min-height:68px;
}
.np-flow-delivery-route-card > img,
.np-flow-delivery-address-card > img{
  width:20px;
  height:20px;
  margin-top:0;
}
.np-flow-delivery-route-card span,
.np-flow-delivery-address-card span{
  min-width:0;
  display:grid;
  gap:3px;
}
.np-flow-delivery-route-card input,
.np-flow-delivery-address-card strong{
  color:var(--unyx-d-text,#07112e);
  font-size:13px;
  font-weight:950;
  line-height:1.15;
}
.np-flow-delivery-route-card small{
  color:var(--np-accent-b,#4f22ff);
  font-size:10px;
  font-weight:950;
  text-transform:uppercase;
  line-height:1.1;
}
.np-flow-delivery-route-card input,
.np-flow-delivery-address-card textarea{
  width:100%;
  border:0;
  outline:0;
  resize:none;
  background:transparent;
  color:var(--unyx-d-muted,#475467);
  font-family:inherit;
  font-size:12px;
  line-height:1.32;
  font-weight:800;
}
.np-flow-delivery-route-card input{
  color:var(--unyx-d-text,#07112e);
  text-transform:uppercase;
  padding:0;
}
.np-flow-delivery-route-card em{
  justify-self:end;
  display:inline-flex;
  align-items:center;
  min-height:20px;
  padding:3px 7px;
  border-radius:999px;
  background:var(--unyx-d-tint-green,#eafaf0);
  color:var(--unyx-d-tone-green,#16a34a);
  font-style:normal;
  font-size:10px;
  line-height:1;
  font-weight:950;
  white-space:nowrap;
}
.np-flow-delivery-address-card em{
  align-self:center;
  color:var(--np-accent-b,#4f22ff);
  font-style:normal;
  font-size:11px;
  font-weight:950;
  white-space:nowrap;
}
.np-flow-delivery-obs{
  border-radius:15px;
  padding:11px 13px;
  min-height:64px;
  box-shadow:0 8px 20px rgba(15,23,42,.035);
}
.np-flow-delivery-obs textarea{
  min-height:26px;
  line-height:1.35;
}

/* ETAPA 5K-C — Ajuste fino final da Aba Entrega */
.np-flow-delivery-type-grid button.active span,
.np-flow-delivery-date-row button.active strong,
.np-flow-delivery-date-custom.active strong,
.np-flow-delivery-period-grid button.active strong,
.np-flow-delivery-period-grid button.active span{
  color:var(--unyx-d-tone-purple,#5b22ff);
}
.np-flow-delivery-type-grid button.active img,
.np-flow-delivery-date-row button.active img,
.np-flow-delivery-date-custom.active img,
.np-flow-delivery-period-grid button.active img{
  filter:brightness(0) saturate(100%) invert(25%) sepia(98%) saturate(4650%) hue-rotate(252deg) brightness(102%) contrast(105%);
  opacity:1;
}
.np-flow-delivery-type-grid button:not(.active) img,
.np-flow-delivery-date-row button:not(.active) img,
.np-flow-delivery-date-custom:not(.active) img,
.np-flow-delivery-period-grid button:not(.active) img{
  filter:brightness(0) saturate(100%) invert(13%) sepia(24%) saturate(1262%) hue-rotate(187deg) brightness(92%) contrast(91%);
  opacity:.86;
}
.np-flow-delivery-period-grid:has(button:only-child){
  grid-template-columns:minmax(0,210px);
}
.np-flow-delivery-route-card input{
  font-size:13px;
  line-height:1.1;
}
.np-flow-delivery-route-card small{
  font-size:9.5px;
}
.np-flow-delivery-address-card textarea{
  min-height:22px;
}
.np-flow-delivery-obs span{
  margin-bottom:-2px;
}

@media (max-width:380px){
  .np-flow-delivery-date-row{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:6px;
  }
  .np-flow-delivery-date-row button,
  .np-flow-delivery-date-custom{
    min-height:58px;
    padding:7px 5px;
  }
  .np-flow-delivery-period-grid{
    grid-template-columns:1fr;
  }
}

/* UNYXFLUX — Pagamento compacto V2 */
.np-flow-payment-step{ gap:11px; }
.np-flow-payment-step .np-flow-section-title{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:22px;
  margin:0;
  color:var(--unyx-d-text,#111831);
  font-size:13px;
  font-weight:950;
  line-height:1.1;
  text-transform:none;
}
.np-flow-payment-step .np-flow-section-title img{
  width:19px;
  height:19px;
  flex:0 0 19px;
  object-fit:contain;
}
.np-flow-payment-step .np-flow-summary{
  gap:0;
  padding:7px 12px;
  overflow:hidden;
  border:1px solid var(--unyx-d-line,#e6e7f0);
  border-radius:13px;
  background:var(--unyx-d-card,#fff);
  box-shadow:0 7px 22px rgba(15,23,42,.045);
}
.np-flow-payment-step .np-flow-summary div{
  min-height:32px;
  align-items:center;
  padding:5px 0;
  border-bottom:1px solid var(--unyx-d-line,#f0f1f6);
  font-size:12px;
  line-height:1.15;
}
.np-flow-payment-step .np-flow-summary div:last-child{
  min-height:38px;
  border-bottom:0;
}
.np-flow-payment-step .np-flow-summary div:last-child b{
  color:var(--unyx-d-tone-purple,#6418f5);
  font-size:18px;
  font-weight:950;
}
.np-flow-payment-step .np-flow-radio-list{ border-radius:13px; }
.np-flow-payment-step .np-flow-radio-list label{ min-height:40px; padding:0 12px; gap:8px; font-size:14px; }
.np-flow-payment-step .np-flow-radio-list img{ width:16px; height:16px; }
.np-flow-payment-step .np-flow-radio-list label:has(input:checked){
  color:var(--unyx-d-tone-purple,#5414dd);
  background:linear-gradient(90deg,#faf7ff 0%,#fff 70%);
}
.np-flow-payment-step .np-flow-payment-method-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
  overflow:visible;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.np-flow-payment-step .np-flow-payment-method-grid label{
  min-width:0;
  min-height:104px;
  padding:12px;
  border:1px solid var(--unyx-d-line,#e3e6f0);
  border-radius:14px;
  background:var(--unyx-d-card,#fff);
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  grid-template-rows:30px minmax(22px,auto);
  grid-template-areas:"icon check" "label label";
  gap:8px;
  align-items:center;
  cursor:pointer;
  box-shadow:0 7px 20px rgba(15,23,42,.035);
}
.np-flow-payment-step .np-flow-payment-method-grid label:last-child{border-bottom:1px solid var(--unyx-d-line,#e3e6f0)}
.np-flow-payment-step .np-flow-payment-method-grid label>img{
  grid-area:icon;
  width:30px;
  height:30px;
}
.np-flow-payment-step .np-flow-payment-method-grid label>span{
  grid-area:label;
  display:grid;
  align-content:start;
  gap:3px;
  color:var(--unyx-d-text,#10172e);
  font-size:15px;
  line-height:1.1;
  font-weight:950;
}
.np-flow-payment-step .np-flow-payment-method-grid label>span small{
  margin:0;
  color:var(--unyx-d-muted,#8a91a4);
  font-size:9px;
  line-height:1.15;
}
.np-flow-payment-step .np-flow-payment-method-grid label>input{
  grid-area:check;
  width:17px;
  height:17px;
  margin:0;
  justify-self:end;
}
.np-flow-payment-step .np-flow-payment-method-grid label:has(input:checked){
  border-color:#6f2cff;
  background:linear-gradient(145deg,#fbf8ff 0%,#f5efff 100%);
  box-shadow:0 9px 22px rgba(91,32,239,.09);
}
.np-flow-payment-step .np-flow-payment-method-grid label:has(input:checked)>span{color:var(--unyx-d-tone-purple,#5b20ef)}
.np-flow-payment-step .np-flow-prazo{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px;
}
.np-flow-payment-step .np-flow-prazo label{ height:44px; border-radius:12px; padding:0 10px; font-size:14px; }
.np-flow-payment-step .np-flow-prazo label:has(input:checked){
  color:var(--unyx-d-tone-purple,#5d18e7);
  border-color:#7628ff;
  background:linear-gradient(145deg,#fbf8ff 0%,#f5efff 100%);
}
.np-flow-payment-step .np-flow-field{ padding:8px 11px; border-radius:13px; gap:5px; }
.np-flow-payment-step .np-flow-payment-obs textarea{ min-height:42px; }
.np-flow-payment-observation{
  overflow:hidden;
  border:1px solid var(--unyx-d-line,#e3e6f0);
  border-radius:14px;
  background:var(--unyx-d-card,#fff);
  box-shadow:0 7px 20px rgba(15,23,42,.035);
}
.np-flow-payment-observation summary{
  min-height:66px;
  padding:10px 13px;
  display:grid;
  grid-template-columns:22px minmax(0,1fr) 20px;
  gap:10px;
  align-items:center;
  cursor:pointer;
  list-style:none;
}
.np-flow-payment-observation summary::-webkit-details-marker{display:none}
.np-flow-payment-observation summary>img{width:20px;height:20px}
.np-flow-payment-observation summary>span{display:grid;gap:3px;min-width:0}
.np-flow-payment-observation summary strong{color:var(--unyx-d-muted,#596179);font-size:11px;font-weight:950}
.np-flow-payment-observation summary small{color:var(--unyx-d-muted,#7a8195);font-size:12px;font-weight:750}
.np-flow-payment-observation summary em{
  color:var(--unyx-d-muted,#5d6680);
  font-style:normal;
  font-size:25px;
  line-height:1;
  transform:rotate(90deg);
  transition:transform .16s ease;
}
.np-flow-payment-observation[open] summary em{transform:rotate(-90deg)}
.np-flow-payment-observation>label{display:block;padding:0 13px 12px}
.np-flow-payment-observation .sr-only{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}
.np-flow-payment-observation textarea{
  width:100%;
  min-height:56px;
  padding:9px 10px;
  border:1px solid var(--unyx-d-line,#eceef5);
  border-radius:10px;
  outline:0;
  resize:vertical;
  background:var(--unyx-d-card-2,#fafbfe);
  color:var(--unyx-d-text,#111831);
  font:750 12px/1.35 Inter,system-ui,sans-serif;
}
.np-flow-payment-observation textarea:focus{border-color:#6f2cff;box-shadow:0 0 0 3px rgba(91,32,239,.08)}
@keyframes npVendorSheetIn{ from{ transform:translateY(18px); opacity:.7; } to{ transform:translateY(0); opacity:1; } }
@media(max-width:520px){
  .np-flow-payment-step{ gap:8px; }
  .np-flow-payment-step .np-flow-radio-list label{ min-height:39px; }
  .np-flow-payment-step .np-flow-prazo label{ height:37px; }
}

/* Fase 1-C — Cliente e atendimento editáveis no PedidoForm Edit */
.np-flow-selected-client-actions{
  display:grid;
  gap:6px;
  align-self:start;
  justify-items:center;
}
.np-flow-selected-edit{
  width:28px !important;
  height:32px !important;
  min-width:28px;
  padding:0 !important;
  border:0 !important;
  background:var(--unyx-d-tint-purple,#f1edff) !important;
  border-radius:10px !important;
  display:grid;
  place-items:center;
}
.np-flow-selected-edit img{
  width:15px;
  height:15px;
}
.np-flow-client-edit-sheet{
  position:absolute;
  inset:0;
  z-index:7;
  display:none;
}
.np-flow-client-edit-sheet.open{
  display:block;
}
.np-flow-client-edit-scrim{
  position:absolute;
  inset:0;
  background:rgba(7,17,46,.34);
}
.np-flow-client-edit-panel{
  position:absolute;
  left:10px;
  right:10px;
  bottom:10px;
  max-height:min(82dvh,720px);
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border-radius:22px;
  background:var(--unyx-d-card,#fff);
  box-shadow:0 -18px 46px rgba(15,23,42,.22);
}
.np-flow-client-edit-panel header{
  flex:0 0 auto;
  min-height:62px;
  padding:14px 16px 10px;
  display:grid;
  grid-template-columns:1fr 38px;
  gap:10px;
  align-items:center;
  border-bottom:1px solid var(--unyx-d-line,#eef0f6);
}
.np-flow-client-edit-panel header strong{
  display:block;
  font-size:16px;
  font-weight:950;
  color:var(--unyx-d-text,#07112e);
}
.np-flow-client-edit-panel header span{
  display:block;
  margin-top:3px;
  font-size:12px;
  font-weight:700;
  color:var(--unyx-d-muted,#596179);
}
.np-flow-client-edit-panel header button{
  width:36px;
  height:36px;
  border:0;
  border-radius:12px;
  background:var(--unyx-d-tint-purple,#f1edff);
  color:var(--np-accent-b,#4f22ff);
  font-size:24px;
  line-height:1;
  font-weight:800;
}
.np-flow-client-edit-options{
  flex:0 0 auto;
  display:flex;
  gap:8px;
  overflow:auto;
  padding:12px 14px;
  border-bottom:1px solid var(--unyx-d-line,#eef0f6);
}
.np-flow-client-edit-options button{
  flex:0 0 auto;
  height:36px;
  border:1px solid var(--unyx-d-line,#e5e8f2);
  border-radius:999px;
  background:var(--unyx-d-card,#fff);
  color:var(--np-accent-b,#4f22ff);
  padding:0 13px;
  font-size:12px;
  font-weight:950;
}
.np-flow-client-edit-scroll{
  flex:1 1 auto;
  min-height:0;
  overflow:auto;
  padding:14px;
  display:grid;
  gap:10px;
}
.np-flow-client-edit-scroll h3{
  margin:5px 0 0;
  color:var(--unyx-d-muted,#525b72);
  font-size:12px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.02em;
}
.np-flow-client-edit-panel footer{
  flex:0 0 auto;
  display:grid;
  grid-template-columns:auto 1fr;
  gap:10px;
  padding:12px 14px calc(12px + env(safe-area-inset-bottom,0px));
  border-top:1px solid var(--unyx-d-line,#eef0f6);
  background:var(--unyx-d-card,#fff);
}
.np-flow-client-edit-panel footer button{
  min-height:46px;
  border-radius:13px;
  font-size:14px;
  font-weight:950;
}
@media (min-width:720px){
  .np-flow-client-edit-panel{
    left:50%;
    right:auto;
    width:min(560px,calc(100vw - 32px));
    transform:translateX(-50%);
  }
}

/* UNYXFLUX — Mais vendidos oficial */
.np-best-sellers-summary{padding:9px 11px;border:1px solid rgba(79,34,255,.16);border-radius:14px;background:linear-gradient(135deg,rgba(79,34,255,.045),#fff);box-shadow:0 7px 20px rgba(19,25,48,.04)}
.np-best-sellers-summary__head{display:grid;grid-template-columns:minmax(0,1fr) 92px;gap:7px;align-items:start}.np-best-sellers-summary__copy{min-width:0}.np-best-sellers-summary__copy>div{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0}.np-best-sellers-summary__copy strong{display:flex;flex-direction:column;align-items:flex-start;gap:1px;min-width:0;max-width:100%;color:var(--unyx-d-text,#151735);font-size:12px;line-height:1.12;white-space:normal;overflow:visible}.np-best-sellers-title-prefix{display:block;font-weight:700;white-space:nowrap}.np-best-sellers-title-client{display:block;width:100%;max-width:100%;font-weight:900;line-height:1.12;white-space:normal;overflow-wrap:anywhere}.np-best-sellers-summary__copy small{display:block;margin-top:3px;color:var(--unyx-d-muted,#74798e);font-size:10px;font-weight:700;line-height:1.1}.np-best-sellers-client{display:inline-flex;align-items:center;gap:4px;min-height:22px;padding:3px 7px;border-radius:8px;background:var(--unyx-d-tint-purple,#f1eaff);color:var(--np-accent-b,#4f22ff);font-size:9px;font-weight:900;line-height:1;white-space:nowrap}.np-best-sellers-client img{width:13px;height:13px}.np-best-sellers-period{position:relative;width:92px}.np-best-sellers-period select{width:100%;height:36px;padding:0 27px 0 9px;border:1px solid var(--unyx-d-line,#d9ddec);border-radius:10px;background:var(--unyx-d-card,#fff);color:var(--unyx-d-text,#303554);font:800 11px inherit;appearance:none}.np-best-sellers-period>img{position:absolute;right:8px;top:50%;width:14px;height:14px;transform:translateY(-50%);pointer-events:none}.np-best-sellers-stats{display:flex;align-items:center;gap:5px;min-height:34px;margin-top:8px;padding:6px 9px;border-radius:10px;background:rgba(255,255,255,.9);color:var(--unyx-d-muted,#62677d);font-size:9px;font-weight:700;line-height:1.1;white-space:nowrap;overflow:hidden}.np-best-sellers-stats b{color:var(--np-accent-b,#4f22ff)}.np-best-sellers-stats i{flex:0 0 auto;color:var(--unyx-d-muted,#a7abba);font-style:normal}.np-best-sellers-stats__icon{flex:0 0 auto;width:23px;height:23px;display:grid;place-items:center;border-radius:999px;background:var(--unyx-d-tint-purple,#f1eaff)}.np-best-sellers-stats__icon img{width:14px;height:14px}.np-best-sellers-status{margin:5px 0 0;color:var(--unyx-d-muted,#73788d);font-size:9px;font-weight:700;line-height:1.15}
@media(max-width:365px){.np-best-sellers-summary__head{grid-template-columns:minmax(0,1fr) 86px}.np-best-sellers-period{width:86px}.np-best-sellers-period select{padding-left:7px;font-size:10px}.np-best-sellers-stats{gap:4px;padding-left:7px;padding-right:7px}}

/* MODELO 3 — Navegação oficial da etapa Produtos */
/* [Campanha Ocultar Produtos Sem Estoque — Rodada 1] */
.np-product-stock-row{
  margin-top:9px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-width:0;
}
.np-product-stock-row__count{
  flex:0 0 auto;
  color:var(--unyx-d-muted,#4b5266);
  font-size:13px;
  font-weight:800;
  white-space:nowrap;
}
.np-product-stock-row__count:empty{ display:none; }
.np-product-stock-row__aside{ margin-left:auto; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--unyx-d-muted,#4b5266); font-size:12px; font-weight:800; }
body:not([data-unyx-layout="desktop"]) .np-product-stock-row__aside{ color:rgba(255,255,255,.92); padding-right:6px; }
.np-product-stock-toggle{
  position:relative;
  height:40px;
  margin-left:auto;
  padding:0 8px 0 14px;
  border:1px solid #d9ccff;
  border-radius:999px;
  background:var(--unyx-d-card-2,#f6f2ff);
  display:inline-flex;
  align-items:center;
  gap:10px;
  cursor:pointer;
  min-width:0;
}
.np-product-stock-toggle__label{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:13px;
  font-weight:800;
  color:var(--np-accent-ink,#5d24df);
}
.np-flow-step-label.is-client-name{
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.np-product-stock-toggle input{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
.np-product-stock-toggle__switch{
  position:relative;
  width:34px;height:19px;
  flex:0 0 auto;
  border-radius:999px;
  background:#d8dae6;
  transition:background .15s ease;
}
.np-product-stock-toggle__switch::before{
  content:'';
  position:absolute;
  top:2px;left:2px;
  width:15px;height:15px;
  border-radius:50%;
  background:var(--unyx-d-card,#fff);
  box-shadow:0 1px 3px rgba(0,0,0,.25);
  transition:left .15s ease;
}
.np-product-stock-toggle input:checked ~ .np-product-stock-toggle__switch{background:var(--np-accent-b,#4f22ff)}
.np-product-stock-toggle input:checked ~ .np-product-stock-toggle__switch::before{left:17px}
.np-product-stock-toggle input:focus-visible ~ .np-product-stock-toggle__switch{outline:2px solid #6d3cff;outline-offset:2px}
.np-product-stock-toggle:has(input:checked){border-color:var(--np-accent-b,#6d3cff);background:var(--unyx-d-tint-purple,#ede6ff)}
/* [Campanha Painel Unificado] Celular/tablet: painel colorido compacto (padrão Novo Pedido, Operações, Compras e Loja).
   Tokens: --np-panel-bg (fundo), --np-panel-on (chave ligada), --np-bg-halo (halo). Desktop mantém a pílula clara acima. */
body:not([data-unyx-layout="desktop"]) .np-product-stock-row{box-sizing:border-box;min-height:38px;height:38px;margin-top:0;padding:0 8px 0 14px;gap:12px;border-radius:12px;color:#fff;background:var(--np-panel-bg,var(--np-accent-b,#4f22ff));box-shadow:0 0 0 6px var(--np-bg-halo,var(--unyx-d-bg,#f8f9fd)),0 2px 6px rgba(0,0,0,.18)}
body:not([data-unyx-layout="desktop"]) .np-product-stock-row__count{color:#fff;font-size:14px;font-weight:900;padding-right:12px;border-right:1px solid rgba(255,255,255,.28);line-height:1.3}
body:not([data-unyx-layout="desktop"]) .np-product-stock-toggle,body:not([data-unyx-layout="desktop"]) .np-product-stock-toggle:has(input:checked){height:auto;padding:0;border:0;border-radius:0;background:transparent;gap:9px}
body:not([data-unyx-layout="desktop"]) .np-product-stock-toggle__label{color:#fff;font-size:12px;font-weight:800}
body:not([data-unyx-layout="desktop"]) .np-product-stock-toggle__switch{width:38px;height:22px;background:rgba(255,255,255,.28)}
body:not([data-unyx-layout="desktop"]) .np-product-stock-toggle__switch::before{top:3px;left:3px;width:16px;height:16px}
body:not([data-unyx-layout="desktop"]) .np-product-stock-toggle input:checked ~ .np-product-stock-toggle__switch{background:var(--np-panel-on,#7be0a1)}
body:not([data-unyx-layout="desktop"]) .np-product-stock-toggle input:checked ~ .np-product-stock-toggle__switch::before{left:19px}
body:not([data-unyx-layout="desktop"]) .np-product-stock-toggle input:focus-visible ~ .np-product-stock-toggle__switch{outline:2px solid #fff}
/* UNYXFLUX — SVGs próprios dos campos da etapa Pagamento */
.np-flow-payment-step .np-flow-payment-obs > span {
  display:flex;
  align-items:center;
  gap:6px;
}
.np-flow-payment-step .np-flow-payment-obs > span img {
  width:15px;
  height:15px;
  flex:0 0 15px;
  object-fit:contain;
}

/* ==========================================================================
   NOVO PEDIDO — BASE DE COMPOSIÇÃO
   A geometria desktop foi extraída para novo_pedido_desktop_layout_v1.css.
   O Flow mantém apenas o contrato base compartilhado entre apresentações.
   ========================================================================== */
.np-flow-workspace{ flex:1 1 auto; min-height:0; display:contents; }
.np-flow-cart-dock,.np-flow-attendance-dock{ display:none; }

/* ========================================================================== 
   CAMPANHA 2026-09-15 — FLUXO RÁPIDO POR TECLADO V1
   Dicas de tecla do Flow; ativação visual somente no layout desktop.
   ========================================================================== */
body[data-unyx-layout="desktop"] .np-keyboard-key{
  display:inline-grid;
  min-width:28px;
  min-height:22px;
  padding:2px 7px;
  place-items:center;
  border:1px solid rgba(91,32,239,.22);
  border-radius:7px;
  background:var(--unyx-d-tint-purple,#f6f3ff);
  color:var(--unyx-d-tone-purple,#5b20ef);
  box-shadow:inset 0 -1px 0 rgba(91,32,239,.08);
  font:800 10px/1 Inter,system-ui,sans-serif;
  vertical-align:middle;
}
body[data-unyx-layout="desktop"] .np-flow-product-search .np-keyboard-key-f2{ flex:0 0 auto; margin-left:auto; }
body[data-unyx-layout="desktop"] .np-flow-cart-primary .np-keyboard-key{
  margin-left:8px;
  border-color:rgba(255,255,255,.3);
  background:rgba(255,255,255,.14);
  color:#fff;
  box-shadow:none;
}
body[data-unyx-layout="desktop"] .np-flow-primary .np-keyboard-key-footer{ margin-left:8px; }
body:not([data-unyx-layout="desktop"]) .np-keyboard-key{ display:none !important; }

/* ========================================================================== 
   CAMPANHA 2026-09-15 — PAGAMENTO IMEDIATO NO CAIXA V1
   Extensão hi-fi da etapa Pagamento aprovada nas Pranchas 1–6.
   ========================================================================== */
.np-flow-receive-choice{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
.np-flow-receive-choice label{
  min-width:0;
  min-height:84px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:9px 12px;
  border:1px solid var(--unyx-d-line,#e3e6f0);
  border-radius:13px;
  background:var(--unyx-d-card,#fff);
  color:var(--unyx-d-text,#151c34);
  cursor:pointer;
  transition:border-color .15s ease,background .15s ease,box-shadow .15s ease;
}
.np-flow-receive-choice label.active,
.np-flow-receive-choice label:has(input:checked){
  border-color:#6f2cff;
  background:linear-gradient(145deg,#fbf8ff 0%,#f5f0ff 100%);
  box-shadow:0 6px 18px rgba(91,32,239,.07);
}
.np-flow-receive-choice input{accent-color:#5b20ef}
.np-flow-receive-choice span{display:grid;gap:2px;min-width:0}
.np-flow-receive-choice b{font-size:16px;font-weight:950;color:var(--unyx-d-text,#10172e)}
.np-flow-receive-choice small{font-size:11px;line-height:1.25;color:var(--unyx-d-muted,#697188);font-weight:700}

.np-flow-payment-info,
.np-flow-payment-state{
  min-height:38px;
  display:flex;
  align-items:center;
  padding:8px 12px;
  border:1px solid #e6dcff;
  border-radius:11px;
  background:var(--unyx-d-card-2,#f7f3ff);
  color:var(--unyx-d-tone-purple,#5b20ef);
  font-size:11px;
  font-weight:750;
  line-height:1.3;
}
.np-flow-payment-state.is-paid{
  border-color:var(--unyx-d-line,#c8efd4);
  background:var(--unyx-d-card-2,#eaf9ef);
  color:var(--unyx-d-tone-green,#12823d);
}
.np-flow-payment-state.is-error{
  border-color:#ffd1d1;
  background:var(--unyx-d-card-2,#fff3f3);
  color:var(--unyx-d-tone-red,#b42318);
}
.np-flow-radio-list label.is-disabled{
  opacity:.58;
  cursor:not-allowed;
  background:var(--unyx-d-card-2,#fafbfe);
}
.np-flow-radio-list label>span{min-width:0;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.np-flow-radio-list label>span small{font-size:9px;color:var(--unyx-d-muted,#8a91a4);font-weight:700;margin-left:auto}

.np-flow-enable-mixed,
.np-flow-mixed-off{
  width:100%;
  min-height:36px;
  border:1px dashed #8a55ff;
  border-radius:11px;
  background:var(--unyx-d-card,#fff);
  color:var(--unyx-d-tone-purple,#5b20ef);
  font:850 11px/1 Inter,system-ui,sans-serif;
  cursor:pointer;
}
.np-flow-enable-mixed:hover,
.np-flow-mixed-off:hover{background:var(--unyx-d-card-2,#f8f5ff)}
.np-flow-mixed-box{
  overflow:hidden;
  border:1px solid #8a55ff;
  border-radius:13px;
  background:var(--unyx-d-card,#fff);
}
.np-flow-mixed-head{
  min-height:50px;
  display:flex;
  align-items:center;
  gap:9px;
  padding:8px 12px;
  border-bottom:1px solid var(--unyx-d-line,#ece8f6);
  background:linear-gradient(90deg,#faf7ff 0%,#fff 75%);
}
.np-flow-mixed-head input{accent-color:#5b20ef}
.np-flow-mixed-head span{display:grid;gap:1px}
.np-flow-mixed-head b{font-size:12px;font-weight:950;color:var(--unyx-d-text,#111831)}
.np-flow-mixed-head small{font-size:10px;color:var(--unyx-d-muted,#7a8195);font-weight:650}
.np-flow-payment-amount-row{
  min-height:44px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:6px 10px;
  border-bottom:1px solid var(--unyx-d-line,#eff0f5);
}
.np-flow-payment-amount-row>span{display:flex;align-items:center;gap:8px;min-width:120px;font-size:12px;font-weight:900;color:var(--unyx-d-text,#111831)}
.np-flow-payment-amount-row img{width:16px;height:16px;object-fit:contain}
.np-flow-payment-amount-row input,
.np-flow-payment-value input{
  margin-left:auto;
  min-width:130px;
  max-width:220px;
  height:34px;
  padding:0 10px;
  border:1px solid var(--unyx-d-line,#dfe3ed);
  border-radius:9px;
  outline:0;
  background:var(--unyx-d-card,#fff);
  color:var(--unyx-d-text,#111831);
  font:900 12px/1 Inter,system-ui,sans-serif;
  text-align:right;
}
.np-flow-payment-amount-row input:focus,
.np-flow-payment-value input:focus{border-color:#6f2cff;box-shadow:0 0 0 3px rgba(91,32,239,.08)}
.np-flow-mixed-off{margin:8px;width:calc(100% - 16px)}

.np-flow-payment-value{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:50px;
  padding:8px 11px;
  border:1px solid var(--unyx-d-line,#e6e7f0);
  border-radius:13px;
  background:var(--unyx-d-card,#fff);
}
.np-flow-payment-value>span{font-size:11px;font-weight:900;color:var(--unyx-d-text,#30384f)}

.np-flow-settlement-summary{
  overflow:hidden;
  border:1px solid var(--unyx-d-line,#e5e7f0);
  border-radius:13px;
  background:var(--unyx-d-card,#fff);
}
.np-flow-settlement-summary>div{
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:7px 11px;
  border-bottom:1px solid var(--unyx-d-line,#eff0f5);
  color:var(--unyx-d-text,#333b52);
  font-size:11px;
}
.np-flow-settlement-summary>div:last-child{border-bottom:0}
.np-flow-settlement-summary b{font-size:13px;font-weight:950;color:var(--unyx-d-text,#111831)}
.np-flow-settlement-summary .is-balance{background:var(--unyx-d-card-2,#f7f3ff);color:var(--unyx-d-tone-purple,#5b20ef)}
.np-flow-settlement-summary .is-balance b{color:var(--unyx-d-tone-purple,#5b20ef);font-size:18px}
.np-flow-settlement-summary .is-change,
.np-flow-settlement-summary .is-paid{background:var(--unyx-d-card-2,#effaf2);color:var(--unyx-d-tone-green,#137f3c)}
.np-flow-settlement-summary .is-change b,
.np-flow-settlement-summary .is-paid b{color:var(--unyx-d-tone-green,#0b8a3a)}

.np-flow-screen[data-success="1"] .np-flow-steps{display:none!important}
.np-flow-screen[data-success="1"] .np-flow-main{display:flex;align-items:flex-start;justify-content:center;overflow:auto}
.np-flow-success{
  width:min(650px,100%);
  margin:clamp(18px,5vh,54px) auto;
  display:grid;
  justify-items:center;
  gap:10px;
  padding:14px 18px 28px;
  color:var(--unyx-d-text,#111831);
}
.np-flow-success-check{
  width:66px;height:66px;border-radius:50%;display:grid;place-items:center;
  background:#16aa55;color:#fff;border:9px solid #e3f8eb;
  font-size:34px;font-weight:900;line-height:1;
}
.np-flow-success h2{margin:2px 0 0;font-size:25px;line-height:1.1;font-weight:950;color:var(--unyx-d-tone-blue,#0c1535)}
.np-flow-success>p{margin:0;color:#4e5f91;font-size:14px;font-weight:700}
.np-flow-success-sync{
  display:flex;align-items:center;gap:7px;min-height:34px;padding:7px 12px;
  border-radius:10px;background:var(--unyx-d-card-2,#ecf9f0);color:var(--unyx-d-tone-green,#176d39);font-size:11px;font-weight:850;
}
.np-flow-success-sync>span{width:9px;height:9px;border-radius:50%;background:#1eb25a}
.np-flow-success-card{
  width:min(540px,100%);margin-top:4px;padding:7px 16px;border:1px solid var(--unyx-d-line,#e3e6ef);
  border-radius:14px;background:var(--unyx-d-card,#fff);box-shadow:0 8px 25px rgba(15,23,42,.04);
}
.np-flow-success-card>div{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--unyx-d-line,#eff0f5);font-size:12px}
.np-flow-success-card>div:last-child{border-bottom:0}
.np-flow-success-card span{color:var(--unyx-d-text,#34405f);font-weight:750}
.np-flow-success-card b{max-width:58%;text-align:right;color:var(--unyx-d-text,#111831);font-weight:900}
.np-flow-success-card b.is-total{color:var(--unyx-d-tone-purple,#5b20ef);font-size:19px}
.np-flow-success-actions{width:min(620px,100%);display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:9px;margin-top:10px}
.np-flow-success-actions button{
  min-height:44px;border:1px solid #6f2cff;border-radius:11px;background:var(--unyx-d-card,#fff);color:var(--unyx-d-tone-purple,#5b20ef);
  font:900 12px/1 Inter,system-ui,sans-serif;cursor:pointer;
}
.np-flow-success-actions button.primary{border-color:#5b20ef;background:linear-gradient(100deg,#5b20ef,#711cff);color:#fff}
.np-flow-success-new{border:0;background:transparent;color:var(--unyx-d-tone-purple,#5b20ef);font:900 12px/1 Inter,system-ui,sans-serif;min-height:36px;cursor:pointer}

@media(max-width:900px){
  .np-flow-receive-choice{grid-template-columns:repeat(2,minmax(0,1fr))}
  .np-flow-receive-choice label{min-height:84px}
  .np-flow-payment-step{gap:11px}
  .np-flow-payment-step .np-flow-payment-method-grid label{min-height:104px}
  .np-flow-payment-step .np-flow-prazo label{height:44px}
  .np-flow-payment-amount-row{flex-wrap:wrap}
  .np-flow-payment-amount-row>span{min-width:0;flex:1 1 120px}
  .np-flow-payment-amount-row input{flex:0 1 150px;min-width:110px}
  .np-flow-payment-value{align-items:stretch;flex-direction:column;gap:6px}
  .np-flow-payment-value input{width:100%;max-width:none;margin-left:0;text-align:left}
  .np-flow-success{margin:12px auto;padding:10px 12px 20px;gap:9px}
  .np-flow-success-check{width:58px;height:58px;border-width:7px;font-size:30px}
  .np-flow-success h2{font-size:22px}
  .np-flow-success-card{padding:5px 11px}
  .np-flow-success-card>div{min-height:40px;font-size:11px}
  .np-flow-success-actions{grid-template-columns:1fr;gap:7px}
  .np-flow-success-actions button{min-height:46px}
}

@media(max-width:390px){
  .np-flow-payment-step .np-flow-payment-method-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .np-flow-receive-choice label{padding:9px;gap:7px}
  .np-flow-receive-choice b{font-size:14px}
  .np-flow-receive-choice small{font-size:10px}
}

/* Shared step icon media: adapters provide semantic SVG assets; geometry stays here. */
.np-flow-step-icon > img{width:100%;height:100%;display:block;object-fit:contain;}

/* Context adapters — componentes estruturais compartilhados.
   O domínio fornece apenas modelos/labels; geometria e responsividade ficam no Flow. */
.np-flow-context-product-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;margin-bottom:8px}
.np-flow-context-tabs{display:flex;gap:8px;min-width:0;overflow-x:auto;scrollbar-width:none}.np-flow-context-tabs::-webkit-scrollbar{display:none}
.np-flow-context-tabs button,.np-flow-context-product-controls select{min-height:38px;border:1px solid var(--unyx-d-line,#e2e5ef);border-radius:10px;background:var(--unyx-d-card,#fff);color:var(--unyx-d-text,#111827);font-weight:800;font-size:10px;padding:0 12px}
.np-flow-context-tabs button{white-space:nowrap;cursor:pointer}.np-flow-context-tabs button.active{border-color:#6840ff;background:linear-gradient(135deg,#742cff,#5628f4);color:#fff;box-shadow:0 7px 15px rgba(91,32,239,.14)}
.np-flow-context-filter-trigger{display:none!important;align-items:center;justify-content:center;gap:6px}.np-flow-context-filter-trigger svg{width:16px;height:16px;display:block}
.np-flow-context-desktop-filters{display:flex;align-items:center;justify-content:flex-end;gap:8px}
.np-flow-context-select-field{position:relative;display:flex;align-items:center;min-width:190px}.np-flow-context-select-field>span{position:absolute;left:12px;top:5px;z-index:1;font-size:7px;line-height:1;color:var(--unyx-d-muted,#7a8298);font-weight:900;text-transform:uppercase;letter-spacing:.035em;pointer-events:none}.np-flow-context-select-field select{width:100%;min-height:42px;padding:12px 34px 2px 12px!important;appearance:auto}
.np-flow-context-banner{padding:11px 13px;border:1px solid #ddd7ff;border-radius:11px;background:var(--unyx-d-card-2,#f7f4ff);display:grid;gap:4px;color:var(--unyx-d-tone-purple,#4933a8)}.np-flow-context-banner.warn{border-color:#f2d88d;background:var(--unyx-d-tint-amber,#fff9e8);color:var(--unyx-d-tone-amber,#8a6200)}
.np-flow-context-cart-title{padding:0 2px 6px;color:var(--unyx-d-text,#07112e);font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:.04em}
.np-flow-context-filter-sheet-host{position:fixed;inset:0;z-index:10130;display:none}.np-flow-context-filter-sheet-scrim{position:absolute;inset:0;border:0;background:rgba(7,17,46,.38);backdrop-filter:blur(2px)}.np-flow-context-filter-sheet{position:absolute;left:0;right:0;bottom:0;background:var(--unyx-d-card,#fff);border-radius:20px 20px 0 0;box-shadow:0 -18px 50px rgba(19,12,55,.22);padding:8px 14px calc(14px + env(safe-area-inset-bottom));display:grid;gap:12px}.np-flow-context-filter-sheet-handle{width:44px;height:4px;border-radius:999px;background:#d9dce7;margin:0 auto}.np-flow-context-filter-sheet header{display:flex;align-items:center;justify-content:space-between}.np-flow-context-filter-sheet header strong{font-size:17px;color:var(--unyx-d-text,#10162d)}.np-flow-context-filter-sheet header button{width:34px;height:34px;border:0;background:var(--unyx-d-card-2,#f6f7fb);border-radius:9px;font-size:24px;line-height:1;color:var(--unyx-d-text,#1b2238)}.np-flow-context-filter-sheet-body{display:grid;grid-template-columns:1fr 1fr;gap:10px}.np-flow-context-filter-sheet-body label{display:grid;gap:6px}.np-flow-context-filter-sheet-body label>span{font-size:9px;color:var(--unyx-d-muted,#6d7690);font-weight:850}.np-flow-context-filter-sheet-body select{width:100%;height:44px;border:1px solid var(--unyx-d-line,#e1e4ed);border-radius:11px;background:var(--unyx-d-card,#fff);padding:0 10px;color:var(--unyx-d-text,#10162d);font-weight:800}.np-flow-context-filter-sheet footer{display:grid;grid-template-columns:1fr 1.35fr;gap:9px}.np-flow-context-filter-sheet footer button{height:44px;border:1px solid var(--unyx-d-line,#dedfea);border-radius:11px;background:var(--unyx-d-card,#fff);color:var(--unyx-d-text,#31384d);font-weight:900}.np-flow-context-filter-sheet footer .primary{border-color:#5b20ef;background:linear-gradient(135deg,#742cff,#5628f4);color:#fff}
body[data-unyx-layout="mobile"] .np-flow-context-product-controls,body[data-unyx-layout="tablet"] .np-flow-context-product-controls{grid-template-columns:1fr}
body[data-unyx-layout="mobile"] .np-flow-context-desktop-filters,body[data-unyx-layout="tablet"] .np-flow-context-desktop-filters{display:none}
body[data-unyx-layout="mobile"] .np-flow-context-tabs,body[data-unyx-layout="tablet"] .np-flow-context-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible}
body[data-unyx-layout="mobile"] .np-flow-context-tabs button,body[data-unyx-layout="tablet"] .np-flow-context-tabs button{padding:0 7px;font-size:9.5px}
body[data-unyx-layout="mobile"] .np-flow-context-filter-trigger,body[data-unyx-layout="tablet"] .np-flow-context-filter-trigger{display:flex!important}
body[data-unyx-layout="mobile"] .np-flow-context-filter-sheet-host,body[data-unyx-layout="tablet"] .np-flow-context-filter-sheet-host{display:block}
@media(max-width:420px){.np-flow-context-filter-sheet-body{grid-template-columns:1fr}}

/* Campanha 2026-09-16 — apresentação embutida oficial.
   O mesmo Flow pode ocupar o viewport inteiro (fullscreen) ou um content host
   do módulo consumidor (embedded). Nenhum adapter deve anular fullscreen via CSS. */
.np-flow-screen.np-flow-embedded{
  position:relative;
  inset:auto;
  z-index:auto;
  width:100%;
  height:auto;
  min-height:0;
  overflow:visible;
}
/* Em content hosts o módulo consumidor já fornece cabeçalho/navegação. */
.np-flow-screen.np-flow-embedded .np-flow-header{
  display:none !important;
}
.np-flow-screen.np-flow-embedded .np-flow-page{
  width:100%;
  height:auto;
  min-height:0;
  overflow:visible;
}
.np-flow-screen.np-flow-embedded .np-flow-workspace{
  min-height:0;
}
.np-flow-screen.np-flow-embedded .np-flow-main{
  min-height:0;
}
/* No mobile embedded o CTA continua acessível acima da navegação do módulo. */
/* Correção Estoque › Pedido: html/body com overflow-x:hidden fazem o body virar
   contêiner de rolagem e anulam position:sticky em relação à viewport. O rodapé
   passa a ser fixed, exatamente acima da barra (var da autoridade da barra), e a
   tela reserva o espaço dele no fim da página para o último produto ficar alcançável. */
body:not([data-unyx-layout="desktop"]) .np-flow-screen.np-flow-embedded .np-flow-footer{
  position:fixed;
  left:0;
  right:0;
  width:auto;
  bottom:var(--unyx-bottom-nav-h,0px);
  z-index:45;
  padding-bottom:11px;
}
body:not([data-unyx-layout="desktop"]) .np-flow-screen.np-flow-embedded{
  padding-bottom:calc(var(--unyx-bottom-nav-h,0px) + 70px + 16px);
}

/* Campanha — Último preço no editor F3 */
.np-flow-price-history{
  min-height:64px;
  padding:11px 12px;
  border:1px solid var(--unyx-d-line,#e5e1f7);
  border-radius:13px;
  background:var(--unyx-d-card-2,#faf9ff);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.np-flow-price-history[hidden]{
  display:none;
}
.np-flow-price-history-copy{
  min-width:0;
  display:grid;
  gap:2px;
}
.np-flow-price-history-copy small{
  color:var(--unyx-d-muted,#65708a);
  font-size:11px;
  font-weight:800;
}
.np-flow-price-history-copy strong{
  color:var(--unyx-d-text,#07112e);
  font-size:16px;
  font-weight:950;
}
.np-flow-price-history-copy span{
  color:var(--unyx-d-muted,#7b8499);
  font-size:11px;
  font-weight:700;
}
.np-flow-price-history-use{
  flex:0 0 auto;
  min-height:38px;
  padding:0 12px;
  border:1px solid #6b3cff;
  border-radius:11px;
  background:var(--unyx-d-card,#fff);
  color:var(--unyx-d-tone-purple,#5425ff);
  font-size:12px;
  font-weight:900;
  cursor:pointer;
}
.np-flow-price-history-use:hover,
.np-flow-price-history-use:focus-visible{
  background:var(--unyx-d-card-2,#f4f0ff);
  outline:none;
}
.np-flow-price-history-applied{
  flex:0 0 auto;
  color:var(--unyx-d-muted,#5f6880);
  font-size:11px;
  font-weight:850;
}
@media (min-width: 760px){
  .np-flow-price-history{
    padding:12px 14px;
  }
}

/* Campanha — navegação contextual por teclado (desktop)
   A classe é apenas apresentacional: Enter continua acionando a autoridade oficial do clique. */
body[data-unyx-layout="desktop"] .np-flow-delivery-step .is-keyboard-choice,
body[data-unyx-layout="desktop"] .np-flow-price-panel .is-keyboard-choice{
  position:relative;
  outline:3px solid rgba(124,58,237,.92);
  outline-offset:2px;
  box-shadow:0 0 0 5px rgba(124,58,237,.10);
  z-index:1;
}
body[data-unyx-layout="desktop"] .np-flow-price-panel .is-keyboard-choice{
  border-radius:12px;
}

/* Campanha — Busca fixa na aba Produtos (Novo Pedido compartilhado)
   A barra de busca (com F2 e leitor de código de barras) permanece visível no topo
   enquanto a lista de produtos rola dentro de .np-flow-main (único scroller da etapa).
   Escopo: tela cheia. No modo embedded quem rola é a página hospedeira, então não se aplica.
   O "halo" em box-shadow tem a cor do fundo da área rolável para que os cards não
   apareçam nos cantos arredondados nem no vão abaixo da barra. */
.np-flow-screen:not(.np-flow-embedded) .np-flow-products-step > .np-flow-product-search{
  position:sticky;
  /* sticky mede a partir da área interna de .np-flow-main (após o padding-top de 14px):
     -8px => barra a 6px do topo real, e o halo de 6px cobre a faixa acima dela. */
  top:-8px;
  z-index:20;
  box-shadow:0 0 0 6px var(--unyx-d-bg,#f8f9fd);
}
body[data-unyx-layout="desktop"] .np-flow-screen:not(.np-flow-embedded) .np-flow-products-step > .np-flow-product-search{
  box-shadow:0 0 0 6px var(--unyx-d-bg,#f6f7fb);
}

/* [Campanha Bloqueio de venda sem estoque] Aviso não bloqueante (substitui alert). */
.np-flow-stock-notice{
  position:fixed;
  left:50%;
  bottom:92px;
  transform:translateX(-50%) translateY(8px);
  max-width:calc(100vw - 32px);
  padding:10px 16px;
  border-radius:12px;
  background:#7f1d1d;
  color:#fff;
  font-size:14px;
  font-weight:700;
  text-align:center;
  box-shadow:0 8px 24px rgba(15,18,40,.28);
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease, transform .18s ease;
  z-index:10090;
}
.np-flow-stock-notice.is-visible{ opacity:1; transform:translateX(-50%) translateY(0); }

/* [Campanha Bloqueio de venda sem estoque] + do carrinho no teto de estoque. */
.np-flow-cart-item .np-flow-cart-stepper button[disabled]{
  opacity:.4;
  cursor:not-allowed;
}

/* ═══ Trilho de categorias circulares (Novo Pedido + loja) ═══ */
.np-cat-rail{
  display:flex;
  gap:12px;
  margin:0 -2px;
  padding:2px 2px 6px;
  overflow-x:auto;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.np-cat-rail::-webkit-scrollbar{ display:none; }
.np-cat-rail__item{
  flex:0 0 76px;
  width:76px;
  padding:0;
  border:0;
  background:none;
  display:grid;
  justify-items:center;
  align-content:start;
  gap:5px;
  font-family:inherit;
  color:var(--unyx-d-text,#3f4659);
  cursor:pointer;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}
.np-cat-rail__circle{
  width:60px;
  height:60px;
  border-radius:50%;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:var(--unyx-d-card-2,#f1f2f8);
  box-shadow:0 0 0 2px transparent;
  border:2px solid var(--unyx-d-line,#fff);
  transition:box-shadow .15s ease;
}
.np-cat-rail__circle img{ width:100%; height:100%; object-fit:cover; display:block; }
.np-cat-rail__initial{ color:var(--unyx-d-muted,#5f667d); font-size:20px; font-weight:900; }
.np-cat-rail__icon{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  background:var(--np-accent,#6a2cf5);
  color:var(--np-accent-on,#fff);
}
.np-cat-rail__icon.is-star{ background:var(--np-accent-soft,#f4f0ff); color:var(--np-accent-ink,#4f22d4); }
.np-cat-rail__icon svg{ width:26px; height:26px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.np-cat-rail__icon.is-star svg{ fill:currentColor; }
.np-cat-rail__label{
  max-width:100%;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  font-size:11px;
  font-weight:700;
  line-height:1.15;
  text-align:center;
  overflow-wrap:break-word;
}
.np-cat-rail__item.is-active .np-cat-rail__circle{ box-shadow:0 0 0 2px var(--np-accent,#6a2cf5); }
.np-cat-rail__item.is-active .np-cat-rail__label{ color:var(--np-accent-ink,#4f22d4); font-weight:850; }
.np-cat-rail__item:focus-visible .np-cat-rail__circle{ box-shadow:0 0 0 3px var(--np-accent,#6a2cf5); }
body[data-unyx-layout="desktop"] .np-cat-rail{ flex-wrap:wrap; overflow:visible; }

/* ==========================================================================
   [Campanha 7] Pagamento — estrutura em colunas
   Mobile: wrappers transparentes (display:contents) e a ordem original é
   preservada por `order`. Desktop (abaixo): duas colunas, formas em lista.
   ========================================================================== */
.np-flow-payment-cols,
.np-flow-payment-col,
.np-flow-payment-receive{display:contents}
.np-flow-payment-receive>*{order:1}
.np-flow-payment-cols #npFlowPaymentStatusArea{order:2}
.np-flow-payment-cols #npFlowPaymentMethodArea{order:3}
.np-flow-payment-cols #npFlowPaymentValueArea{order:4}
.np-flow-payment-cols #npFlowPaymentSummaryArea{order:5}
.np-flow-payment-cols #npFlowPaymentTermsArea{order:6}
.np-flow-payment-cols .np-flow-payment-observation{order:7}
/* Duas colunas só quando a etapa mede >= 800px (atributo data-pay-layout="cols", definido por syncPaymentLayout_ no JS).
   Sem o atributo vale a apresentação compacta do mobile, na ordem original. */
body[data-unyx-layout="desktop"] .np-flow-payment-step[data-pay-layout="cols"] .np-flow-payment-cols{display:flex;flex-wrap:wrap;gap:16px 28px;align-items:flex-start}
body[data-unyx-layout="desktop"] .np-flow-payment-step[data-pay-layout="cols"] .np-flow-payment-col{display:grid;gap:16px;min-width:0;align-content:start}
body[data-unyx-layout="desktop"] .np-flow-payment-step[data-pay-layout="cols"] .np-flow-payment-col--left{flex:1 1 360px;max-width:560px}
body[data-unyx-layout="desktop"] .np-flow-payment-step[data-pay-layout="cols"] .np-flow-payment-col--right{flex:999 1 400px}
body[data-unyx-layout="desktop"] .np-flow-payment-step[data-pay-layout="cols"] .np-flow-payment-receive{display:grid;gap:10px}
body[data-unyx-layout="desktop"] .np-flow-payment-step[data-pay-layout="cols"] .np-flow-payment-col .np-flow-payment-observation,
body[data-unyx-layout="desktop"] .np-flow-payment-step[data-pay-layout="cols"] .np-flow-payment-cols #npFlowPaymentTermsArea,
body[data-unyx-layout="desktop"] .np-flow-payment-step[data-pay-layout="cols"] .np-flow-payment-cols .np-flow-payment-receive>*,
body[data-unyx-layout="desktop"] .np-flow-payment-step[data-pay-layout="cols"] .np-flow-payment-cols .np-flow-payment-col>*{order:0}
body[data-unyx-layout="desktop"] .np-flow-payment-step[data-pay-layout="cols"] .np-flow-payment-cols .np-flow-payment-col>div:empty{display:none}
/* Recebimento e Prazo: controle segmentado */
body[data-unyx-layout="desktop"] .np-flow-payment-step[data-pay-layout="cols"] .np-flow-payment-cols .np-flow-receive-choice,
body[data-unyx-layout="desktop"] .np-flow-payment-step[data-pay-layout="cols"] .np-flow-payment-cols .np-flow-prazo{display:grid;gap:0;padding:5px;border-radius:16px;background:#ebe6fb;width:100%}
body[data-unyx-layout="desktop"] .np-flow-payment-step[data-pay-layout="cols"] .np-flow-payment-cols .np-flow-receive-choice{grid-template-columns:repeat(2,minmax(0,1fr))}
body[data-unyx-layout="desktop"] .np-flow-payment-step[data-pay-layout="cols"] .np-flow-payment-cols .np-flow-prazo{grid-template-columns:repeat(3,minmax(0,1fr))}
body[data-unyx-layout="desktop"] .np-flow-payment-step[data-pay-layout="cols"] .np-flow-payment-cols .np-flow-receive-choice label,
body[data-unyx-layout="desktop"] .np-flow-payment-step[data-pay-layout="cols"] .np-flow-payment-cols .np-flow-prazo label{position:relative;min-height:52px;height:52px;border:0;border-radius:12px;background:transparent;box-shadow:none;padding:0 18px}
body[data-unyx-layout="desktop"] .np-flow-payment-step[data-pay-layout="cols"] .np-flow-payment-cols .np-flow-prazo label{justify-content:center}
body[data-unyx-layout="desktop"] .np-flow-payment-step[data-pay-layout="cols"] .np-flow-payment-cols .np-flow-receive-choice label:has(input:checked),
body[data-unyx-layout="desktop"] .np-flow-payment-step[data-pay-layout="cols"] .np-flow-payment-cols .np-flow-prazo label:has(input:checked){background:#fff;box-shadow:0 2px 8px rgba(43,32,93,.14);outline:2px solid #5b20ef;outline-offset:-2px}
body[data-unyx-layout="desktop"] .np-flow-payment-step[data-pay-layout="cols"] .np-flow-payment-cols .np-flow-receive-choice input,
body[data-unyx-layout="desktop"] .np-flow-payment-step[data-pay-layout="cols"] .np-flow-payment-cols .np-flow-prazo input{position:absolute;opacity:0;pointer-events:none}
body[data-unyx-layout="desktop"] .np-flow-payment-step[data-pay-layout="cols"] .np-flow-payment-cols .np-flow-receive-choice label:has(input:checked) b,
body[data-unyx-layout="desktop"] .np-flow-payment-step[data-pay-layout="cols"] .np-flow-payment-cols .np-flow-prazo label:has(input:checked) span{color:#5b20ef}
/* Formas de pagamento: lista com atalho numérico (1–6) */
body[data-unyx-layout="desktop"] .np-flow-payment-step[data-pay-layout="cols"] .np-flow-payment-cols .np-flow-payment-method-grid{grid-template-columns:1fr;gap:8px;counter-reset:pm}
body[data-unyx-layout="desktop"] .np-flow-payment-step[data-pay-layout="cols"] .np-flow-payment-cols .np-flow-payment-method-grid label{counter-increment:pm;min-height:58px;padding:0 18px;border-radius:14px;display:grid;grid-template-columns:28px 1fr auto 22px;grid-template-areas:"icon label key check";grid-template-rows:auto;gap:14px;align-items:center}
body[data-unyx-layout="desktop"] .np-flow-payment-step[data-pay-layout="cols"] .np-flow-payment-cols .np-flow-payment-method-grid label>img{width:24px;height:24px}
body[data-unyx-layout="desktop"] .np-flow-payment-step[data-pay-layout="cols"] .np-flow-payment-cols .np-flow-payment-method-grid label>span{font-size:16px}
body[data-unyx-layout="desktop"] .np-flow-payment-step[data-pay-layout="cols"] .np-flow-payment-cols .np-flow-payment-method-grid label::after{content:counter(pm);grid-area:key;font-size:11px;font-weight:900;color:#5a5478}
/* Saldo em destaque */
body[data-unyx-layout="desktop"] .np-flow-payment-step[data-pay-layout="cols"] .np-flow-payment-cols .np-flow-settlement-summary{display:flex;border:0;border-radius:16px;background:#17123a;overflow:hidden;box-shadow:none}
body[data-unyx-layout="desktop"] .np-flow-payment-step[data-pay-layout="cols"] .np-flow-payment-cols .np-flow-settlement-summary>div{flex:1;display:flex;align-items:center;justify-content:space-between;padding:0 22px;min-height:68px;border:0;background:transparent;color:#cfc6f5}
body[data-unyx-layout="desktop"] .np-flow-payment-step[data-pay-layout="cols"] .np-flow-payment-cols .np-flow-settlement-summary b{font-size:28px;color:#fff;letter-spacing:-.02em}
body[data-unyx-layout="desktop"] .np-flow-payment-step[data-pay-layout="cols"] .np-flow-payment-cols .np-flow-settlement-summary .is-balance,
body[data-unyx-layout="desktop"] .np-flow-payment-step[data-pay-layout="cols"] .np-flow-payment-cols .np-flow-settlement-summary .is-paid{background:transparent;color:#cfc6f5}

/* Cursor do teclado em Pagamento: anel escuro + halo, distinto do estado "selecionado"
   (que usa borda roxa). Assim ↓/← sobre um item já selecionado continua visível.
   Único ponto de definição do cursor em Pagamento; !important vence os realces de :has(input:checked). */
body[data-unyx-layout="desktop"] .np-flow-payment-step .is-keyboard-choice{
  position:relative;
  z-index:1;
  outline:3px solid #17123a !important;
  outline-offset:3px !important;
  box-shadow:0 0 0 7px rgba(91,32,239,.22) !important;
}
body[data-unyx-layout="desktop"] .np-flow-payment-step label.is-keyboard-choice{
  border-radius:12px;
}

/* [Campanha Pagamento pelo último pedido] Origem discreta da forma/prazo sugeridos. */
.np-flow-payment-hint{
  display:inline-block;
  margin:0 0 8px;
  padding:4px 10px;
  border-radius:999px;
  background:#f3efff;
  color:#5b20ef;
  font-size:12px;
  font-weight:800;
}
/* Duas colunas: o selo fica no canto da coluna da direita, sem empurrar a lista de formas. */
body[data-unyx-layout="desktop"] .np-flow-payment-step[data-pay-layout="cols"] .np-flow-payment-col--right{position:relative}
body[data-unyx-layout="desktop"] .np-flow-payment-step[data-pay-layout="cols"] #npFlowPaymentStatusArea:has(> .np-flow-payment-hint:only-child){
  position:absolute;
  top:0;
  right:0;
}
body[data-unyx-layout="desktop"] .np-flow-payment-step[data-pay-layout="cols"] #npFlowPaymentStatusArea > .np-flow-payment-hint{margin:0}

/* [Campanha Setas no Cliente] Cursor do teclado na lista de clientes (mesmo anel do Pagamento). */
body[data-unyx-layout="desktop"] .np-flow-client-step .np-flow-client-recent.is-keyboard-choice{
  position:relative;
  z-index:1;
  outline:3px solid #17123a;
  outline-offset:-3px;
  background:#f3efff;
  box-shadow:inset 0 0 0 6px rgba(91,32,239,.16);
}

/* [Campanha F2 no Cliente] Selo F2 na busca de cliente (mesmo visual da busca de produtos). */
body[data-unyx-layout="desktop"] .np-flow-client-search .np-keyboard-key-f2{ flex:0 0 auto; margin-left:auto; }

/* ═══ Campanha Legibilidade no Modo Escuro (Novo Pedido) ═══════════════════════════════
   Escopo: SOMENTE html.unyx-dark-theme — o modo claro não muda. CSS puro, sem lógica.
   Cobre: Busca, Pagamento, Mais comprados, Entrega, Carrinho, tela Cliente e rodapé do Continuar.
   Cor de destaque: respeita --np-accent-b (tema da loja) e cai no roxo do tema escuro.
   Ícones SVG entram como <img> (currentColor vira preto): em fundo escuro viram brancos por filter. */
html.unyx-dark-theme .np-flow-screen{
  --np-dk-ink:color-mix(in srgb,var(--np-accent-b,var(--unyx-accent,#8d70ff)) 55%,#fff);
  --np-dk-ring:color-mix(in srgb,var(--np-accent-b,var(--unyx-accent,#8d70ff)) 70%,#fff);
  --np-dk-tint:color-mix(in srgb,var(--np-accent-b,var(--unyx-accent,#8d70ff)) 19%,var(--unyx-d-card));
}
/* Busca */
html.unyx-dark-theme .np-flow-search img{ filter:brightness(0) invert(1); opacity:.7; }
html.unyx-dark-theme .np-flow-search input::placeholder{ color:var(--unyx-d-muted); opacity:1; }
/* Pagamento — ícones das formas */
html.unyx-dark-theme .np-flow-payment-step .np-flow-payment-method-grid label>img,
html.unyx-dark-theme .np-flow-payment-step .np-flow-radio-list label>img,
html.unyx-dark-theme .np-flow-payment-amount-row>span img{ filter:brightness(0) invert(1); }
/* Pagamento — itens selecionados (hoje: fundo quase branco com texto claro) */
html.unyx-dark-theme .np-flow-receive-choice label.active,
html.unyx-dark-theme .np-flow-receive-choice label:has(input:checked),
html.unyx-dark-theme .np-flow-payment-step .np-flow-payment-method-grid label:has(input:checked),
html.unyx-dark-theme .np-flow-payment-step .np-flow-prazo label:has(input:checked){
  background:var(--np-dk-tint);
  border-color:var(--np-dk-ring);
  box-shadow:0 0 0 1px var(--np-dk-ring) inset;
}
html.unyx-dark-theme .np-flow-payment-step .np-flow-radio-list label:has(input:checked),
html.unyx-dark-theme .np-flow-mixed-head{
  background:linear-gradient(90deg,var(--np-dk-tint) 0%,var(--unyx-d-card) 75%);
}
/* Mais comprados */
html.unyx-dark-theme .np-best-sellers-summary{
  background:linear-gradient(135deg,rgba(141,112,255,.14),var(--unyx-d-card));
  border-color:rgba(141,112,255,.30);
}
html.unyx-dark-theme .np-best-sellers-stats{ background:var(--unyx-d-card-2); }
html.unyx-dark-theme .np-best-sellers-stats b{ color:var(--np-dk-ink); }
/* Texto/valores de destaque que usavam o roxo escuro do tema claro */
html.unyx-dark-theme .np-flow-selected-card button,
html.unyx-dark-theme .np-flow-totals .total b,
html.unyx-dark-theme .np-flow-choice-grid button.active,
html.unyx-dark-theme .np-flow-cart-item .np-flow-cart-stepper button,
html.unyx-dark-theme .np-flow-delivery-route-card small,
html.unyx-dark-theme .np-flow-delivery-address-card em,
html.unyx-dark-theme .np-flow-delivery-date-row .active span,
html.unyx-dark-theme .np-flow-delivery-date-custom.active span,
html.unyx-dark-theme .np-flow-delivery-period-grid button.active strong,
html.unyx-dark-theme .np-flow-delivery-period-grid button.active span{ color:var(--np-dk-ink); }
/* Entrega — ícones e selecionados */
html.unyx-dark-theme .np-flow-delivery-type-grid button img,
html.unyx-dark-theme .np-flow-delivery-date-row img,
html.unyx-dark-theme .np-flow-delivery-date-custom img,
html.unyx-dark-theme .np-flow-delivery-period-grid img,
html.unyx-dark-theme .np-flow-delivery-route-card > img,
html.unyx-dark-theme .np-flow-delivery-address-card > img,
html.unyx-dark-theme .np-flow-delivery-type-grid button.active img,
html.unyx-dark-theme .np-flow-delivery-date-row button.active img,
html.unyx-dark-theme .np-flow-delivery-date-custom.active img,
html.unyx-dark-theme .np-flow-delivery-period-grid button.active img{ filter:brightness(0) invert(1); opacity:.92; }
html.unyx-dark-theme .np-flow-delivery-type-grid button.active,
html.unyx-dark-theme .np-flow-delivery-date-row button.active,
html.unyx-dark-theme .np-flow-delivery-date-custom.active{
  color:var(--np-dk-ink);
  background:var(--np-dk-tint);
  border-color:var(--np-dk-ring);
  box-shadow:0 0 0 1px var(--np-dk-ring) inset;
}
html.unyx-dark-theme .np-flow-delivery-period-grid button.active{
  background:var(--np-dk-tint);
  border-color:var(--np-dk-ring);
  box-shadow:0 0 0 1px var(--np-dk-ring) inset;
}
/* Carrinho — lixeira */
html.unyx-dark-theme .np-flow-cart-item button img{ filter:brightness(0) invert(1); opacity:.85; }

/* Cliente — ícones SVG entram como <img>: os que usam currentColor viram pretos e os de cor fixa
   (roxo/azul-marinho escuros) somem no fundo escuro. */
/* Voltar e seta: brancos */
html.unyx-dark-theme .np-flow-icon-btn img[src$="voltar.svg"],
html.unyx-dark-theme .np-flow-selected-arrow img{ filter:brightness(0) invert(1); }
/* Editar, telefone, localização e WhatsApp: roxo claro (lavanda) */
html.unyx-dark-theme .np-flow-selected-edit img,
html.unyx-dark-theme .np-flow-selected-client-body p img,
html.unyx-dark-theme .np-flow-import-icon img{ filter:brightness(0) saturate(100%) invert(41%) sepia(98%) saturate(262%) hue-rotate(207deg) brightness(149%) contrast(104%); opacity:1; }
/* [Importador de WhatsApp] Botão "Colar pedido do WhatsApp" da etapa Cliente — aparece antes do módulo do importador carregar, por isso vive aqui. */
.np-flow-import-card{width:100%;display:flex;align-items:center;gap:12px;border:1.5px solid #7a2cff;background:var(--unyx-d-card,#fff);border-radius:14px;padding:14px;text-align:left;color:var(--unyx-d-text,#171b2f);margin:12px 0;cursor:pointer;font:inherit}
.np-flow-import-card strong,.np-flow-import-card small{display:block}
.np-flow-import-card small{color:var(--unyx-d-muted,#6a7082);margin-top:2px}
.np-flow-import-icon{width:40px;height:40px;border-radius:12px;background:var(--unyx-d-tint-purple,#f1ebff);display:grid;place-items:center;flex:0 0 40px}
.np-flow-import-icon img{width:24px;height:24px;display:block}
.np-flow-import-arrow{margin-left:auto;font-size:24px;line-height:1;color:var(--unyx-d-text,#2b2f43)}
/* Textos de destaque que usavam o roxo escuro do tema claro */
html.unyx-dark-theme .np-flow-selected-client-top span,
html.unyx-dark-theme .np-flow-new-client-btn{ color:var(--np-dk-ink); }

/* Rodapé do Continuar — todos os passos (Pedidos e Operações; a regra antiga cobria só data-step="cliente") */
html.unyx-dark-theme .np-flow-footer{
  background:var(--unyx-d-card,#fff);
  border-top-color:var(--unyx-d-line,rgba(106,97,160,.13));
  box-shadow:0 -10px 24px rgba(0,0,0,.35);
}

/* Carrinho: preço unitário editável (mesmo editor do card de produto, compartilhado com o Novo Pedido convencional). */
.np-flow-cart-price-edit{display:inline-flex;align-items:center;gap:4px;padding:0;border:0;background:transparent;font:inherit;color:inherit;cursor:pointer}
.np-flow-cart-price-edit img{width:14px;height:14px;opacity:.6}

/* Seletor "O que deseja fazer?" (Venda normal | Bonificação) — Cliente do Novo Pedido e adaptador de Bonificação */
.np-flow-mode{margin:2px 0 12px}
.np-flow-mode__q{display:block;margin-bottom:8px;font-weight:600;font-size:14px}
.np-flow-mode__opts{display:flex;gap:8px}
.np-flow-mode__opt{flex:1;height:42px;border-radius:12px;border:1.5px solid var(--unyx-d-line,#e5e8f2);background:var(--unyx-d-card,#fff);color:var(--unyx-d-text,#171b2f);font:inherit;font-weight:600;cursor:pointer}
.np-flow-mode__opt.is-active{border-color:#7a2cff;background:var(--unyx-d-tint-purple,#f1ebff);color:#5b1fd0}
html.unyx-dark-theme .np-flow-mode__opt.is-active{color:var(--np-dk-ink)}
