.area-imposto-saida {
    margin-top: 26px !important;
}

#inputGroupSelectResult {
    margin-top: 5px;
}

/* Obrigatorios: antes fundo amarelo; agora so o asterisco vermelho no rotulo
   (classe mantida pra outras telas que ainda usem). */
.input-validate{
    background-color: transparent;
}

.espaco_entre_label {
    margin-bottom: 5px !important;
}
/* Complemento padrao do item na NF-e (infAdProd) */
.txt-complemento-produto {
    min-height: 64px;
    resize: vertical;
    font-size: 14px !important;
    line-height: 1.4;
    padding: 8px 10px !important;
    background-color: #fafbfc !important;
    border: 1px solid #e3e6ea !important;
    border-radius: 8px;
    background-image: none !important;
}

.txt-complemento-produto:focus {
    border-color: #c62d3a !important;
    background-color: #ffffff !important;
}

.lb-contador-complemento {
    float: right;
    font-size: 11px;
    color: #8a8f96;
}

/* ===== Cadastro de produto (secoes, rotulos, barra fixa) ===== */
.pe-corpo { padding-bottom: 0 !important; }
.pe-secao {
    margin: 12px 0 2px 0; padding-bottom: 6px;
    border-bottom: 2px solid #eceff1;
    font-size: 13px; font-weight: 700; letter-spacing: 1px; color: #37474f;
}
.pe-corpo > .pe-secao:first-child { margin-top: 4px; }
.pe-secao i { color: #c62d3a; margin-right: 4px; }
.pe-secao-sub { margin-left: 8px; font-size: 11px; font-weight: 500; letter-spacing: 0; color: #90a4ae; text-transform: lowercase; }
.pe-rotulo { display: block; margin: 5px 0 2px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; font-weight: 600; color: #546e7a; }
.pe-obrig { color: #c62d3a; font-weight: 700; }
.pe-info { border: none; background: none; padding: 0 2px; color: #90a4ae; cursor: pointer; font-size: 13px; vertical-align: baseline; }
.pe-info:hover { color: #1e6fc4; }
.pe-campo {
    height: 38px !important; border: 1px solid #cfd8dc !important; border-radius: 8px !important;
    padding: 0 10px !important; background: #fff !important; background-image: none !important;
    font-size: 15px !important; color: #263238 !important; box-shadow: none !important;
}
.pe-campo:focus { border-color: #3f51b5 !important; box-shadow: 0 0 0 3px rgba(63,81,181,.12) !important; }
.pe-campo-destaque { font-weight: 700 !important; }
.pe-campo.pe-erro { border-color: #c62d3a !important; box-shadow: 0 0 0 3px rgba(198,45,58,.15) !important; }
.pe-ajuda { display: block; margin-top: 2px; min-height: 0; font-size: 11px; color: #90a4ae; }
.pe-ajuda.pe-ajuda-erro { color: #c62d3a; font-weight: 600; }
.pe-ajuda.pe-ajuda-ok { color: #2e7d32; }
.pe-com-botao { display: flex; gap: 6px; }
.pe-com-botao .pe-campo { flex: 1 1 auto; min-width: 0; }
.pe-btn-mais { margin: 0 !important; padding: 0 14px !important; height: 40px; background: #eceff1 !important; color: #455a64 !important; box-shadow: none !important; }
.pe-btn-mais:hover { background: #3f51b5 !important; color: #fff !important; }
.pe-resumo-preco { margin-top: 8px; font-size: 13px; color: #546e7a; }
.pe-resumo-preco strong { color: #263238; }
/* Sem setinhas nos campos numericos (codigo/peso/preco) - a rolagem do mouse alterava o valor sem querer */
.pe-corpo input[type=number]::-webkit-outer-spin-button,
.pe-corpo input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pe-corpo input[type=number] { -moz-appearance: textfield; }
.pe-barra {
    position: sticky; bottom: 0; z-index: 5;
    display: flex; align-items: center; gap: 10px;
    margin: 22px -20px 0 -20px; padding: 12px 20px;
    background: #fff; border-top: 1px solid #eceff1;
    box-shadow: 0 -6px 16px rgba(0,0,0,.06);
    border-radius: 0 0 6px 6px;
}
.pe-barra-msg { flex: 1 1 auto; margin: 0 !important; font-size: 14px !important; font-weight: 600; color: #c62d3a; }
.pe-btn-voltar { margin: 0 !important; background: #eceff1 !important; color: #455a64 !important; box-shadow: none !important; }
.pe-btn-salvar { margin: 0 !important; min-width: 220px; background: #2e7d32 !important; color: #fff !important; }

/* Compacto: links "Criar nova", Outras informacoes em abas, Manter dados */
.pe-link { margin-left: 8px; font-weight: 600; color: #1e6fc4 !important; font-size: 11px; }
.pe-link:hover { color: #c62d3a !important; }
.pe-mais {
    margin-top: 18px; border: 1px solid #cfd8dc; background: #fff; color: #37474f;
    border-radius: 8px; padding: 7px 14px; font-size: 13px; font-weight: 600; cursor: pointer;
}
.pe-mais:hover { border-color: #3f51b5; color: #3f51b5; }
.pe-outras { margin-top: 10px; border: 1px solid #e0e6ea; border-radius: 10px; overflow: hidden; }
.pe-abas { display: flex; background: #f5f7f8; border-bottom: 1px solid #e0e6ea; }
.pe-aba {
    border: none; background: transparent; padding: 10px 18px; font-size: 13px; font-weight: 600;
    color: #607d8b; cursor: pointer; border-bottom: 3px solid transparent;
}
.pe-aba:hover { color: #263238; }
.pe-aba.ativa { color: #c62d3a; border-bottom-color: #c62d3a; background: #fff; }
.pe-aba-conteudo { padding: 8px 16px 16px 16px; }
.pe-manter { margin: 0 6px 0 0 !important; display: flex; align-items: center; gap: 6px; font-size: 13px; color: #455a64; cursor: pointer; white-space: nowrap; }
.pe-manter input { margin: 0; }
.pe-ajuda:empty { display: none; }
.pe-resumo-preco { margin-top: 4px; }
.pe-mais { margin-top: 12px; }
.pe-aba:focus, .pe-mais:focus, .pe-info:focus { outline: none; box-shadow: none; }
.pe-opcional { font-weight: 400; color: #90a4ae; text-transform: none; }
.pe-rotulo .lb-contador-complemento { float: right; font-weight: 400; }
.pe-complemento { height: 38px; min-height: 38px !important; padding: 8px 10px !important; resize: none; overflow-y: hidden; line-height: 1.35 !important; }
/* NCM: sugestoes da tabela vigente enquanto digita */
.pe-ncm-box { position: relative; }
.pe-ncm-lista {
    position: absolute; z-index: 60; top: 42px; left: 0;
    width: 640px; max-width: 90vw; max-height: 340px; overflow-y: auto;
    background: #fff; border: 1px solid #cfd8dc; border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0,0,0,.15);
}
.pe-ncm-item { padding: 8px 12px; cursor: pointer; border-bottom: 1px solid #f1f3f4; font-size: 13px; line-height: 1.35; color: #455a64; }
.pe-ncm-item:last-child { border-bottom: none; }
.pe-ncm-item:hover, .pe-ncm-item.ativo { background: #eef2fb; }
.pe-ncm-item { display: flex; gap: 10px; align-items: baseline; }
.pe-ncm-item strong { flex: 0 0 84px; color: #263238; font-size: 14px; }
.pe-ncm-item span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pe-ncm-vazio, .pe-ncm-rodape { padding: 8px 12px; font-size: 12px; color: #90a4ae; }
.pe-ncm-rodape { border-top: 1px solid #eceff1; background: #fafbfc; }
.pe-ajuda.pe-ajuda-ncm { color: #546e7a; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; cursor: help; }
.pe-cest-lista { width: 600px; }
.pe-cest-seg { display: block; font-size: 11px; color: #90a4ae; }
#btn-buscar-gtin { height: 38px; }
#btn-buscar-gtin.buscando { pointer-events: none; opacity: .6; }
.pe-cest-lista .pe-ncm-item span { -webkit-line-clamp: 3; }
.pe-comb-liga { margin: 4px 0 12px; font-weight: 600; }
.pe-comb-p { height: 38px; padding: 0 10px; font-size: 12px; font-weight: 600; }
#lb-resumo-combustivel { margin-top: 10px; }
