/* =====================================================
   CHURRASCARIA_PRODUTOS_PREMIUM_V2
===================================================== */

.produtos-page {
  min-height: 100vh;
  background: #e3e6e8 !important;
}


/* =====================================================
   FILTROS
===================================================== */

.produtos-filtros-topo {
  display: grid;
  grid-template-columns:
    minmax(300px, 1fr)
    190px
    190px
    150px
    90px;

  gap: 10px;
  align-items: end;

  padding: 11px 14px;

  background: #eceff1;
  border-bottom: 1px solid #c9ced2;
}

.produtos-filtros-topo label {
  display: flex;
  flex-direction: column;
  gap: 4px;

  color: #555;
  font-size: 9px;
  font-weight: 800;
}

.produtos-filtros-topo input,
.produtos-filtros-topo select {
  height: 36px;
  padding: 0 9px;

  color: #222;
  background: #fff;

  border: 1px solid #adb4ba;
}

.pesquisa-produto {
  height: 36px;

  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;

  background: #fff;
  border: 1px solid #adb4ba;
}

.pesquisa-produto span {
  text-align: center;
}

.pesquisa-produto input {
  width: 100%;
  border: 0;
  outline: 0;
}

.botao-limpar-produtos {
  height: 36px;

  color: #444;
  background: #fff;

  border: 1px solid #aaa;

  font-weight: 700;
  cursor: pointer;
}


/* =====================================================
   INDICADORES
===================================================== */

.indicadores-produtos {
  display: flex;
  gap: 8px;

  padding: 8px 14px;

  background: #f7f8f9;
  border-bottom: 1px solid #d2d6d9;
}

.indicadores-produtos > div {
  min-width: 155px;

  padding: 7px 11px;

  background: #fff;
  border: 1px solid #d0d4d7;
}

.indicadores-produtos small {
  display: block;

  color: #777;

  font-size: 8px;
  font-weight: 800;
}

.indicadores-produtos strong {
  display: block;

  margin-top: 3px;

  color: #222;

  font-size: 15px;
}


/* =====================================================
   LISTAGEM
===================================================== */

.produtos-conteudo {
  padding: 12px;
  background: #dfe3e6;
}

.produtos-listagem {
  min-height: calc(100vh - 285px);

  background: #fff;

  border: 1px solid #aeb4b9;
}

.produtos-listagem .cabecalho-painel {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.produtos-listagem .cabecalho-painel small {
  color: #d5d8da;
  font-size: 9px;
  font-weight: 400;
}

.tabela-produtos-real {
  width: 100%;

  border-collapse: collapse;
  table-layout: fixed;
}

.tabela-produtos-real thead th {
  height: 40px;

  padding: 7px 8px;

  color: #fff !important;

  background:
    linear-gradient(
      180deg,
      #454b50,
      #30353a
    ) !important;

  border-right: 1px solid #596067;

  text-align: left;

  font-size: 10px;
}

.tabela-produtos-real tbody td {
  height: 44px;

  padding: 6px 8px;

  color: #222 !important;
  background: #fff;

  border-bottom: 1px solid #d9dde0;

  font-size: 10px;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tabela-produtos-real tbody tr:nth-child(even) td {
  background: #f6f7f8;
}

.tabela-produtos-real tbody tr:hover td {
  background: #fff1e7 !important;
  cursor: pointer;
}

.tabela-produtos-real tbody tr.selecionado td {
  background: #ffe1cc !important;
}

.tabela-produtos-real th:nth-child(1) {
  width: 90px;
}

.tabela-produtos-real th:nth-child(2) {
  width: 145px;
}

.tabela-produtos-real th:nth-child(4) {
  width: 175px;
}

.tabela-produtos-real th:nth-child(5),
.tabela-produtos-real th:nth-child(6) {
  width: 100px;
}

.tabela-produtos-real th:nth-child(7) {
  width: 75px;
}

.tabela-produtos-real th:nth-child(8) {
  width: 85px;
}

.tabela-produtos-real .col-acoes {
  width: 105px;
  text-align: center;
}

.produto-badge,
.setor-badge {
  display: inline-flex;
  align-items: center;

  min-height: 24px;

  padding: 3px 8px;

  border-radius: 4px;

  font-size: 8px;
  font-weight: 800;
}

.produto-badge {
  color: var(--texto, #fff);
  background: var(--cor, #546e7a);
}

.setor-badge {
  color: #fff;
  background: var(--cor, #546e7a);
}

.setor-sem-impressao {
  color: #666;
  background: #e1e4e6;
}

.status-produto {
  display: inline-flex;
  justify-content: center;

  min-width: 58px;

  padding: 4px 7px;

  border-radius: 10px;

  font-size: 8px;
  font-weight: 800;
}

.status-produto.ativo {
  color: #146c3a;
  background: #daf2e4;
}

.status-produto.inativo {
  color: #8a2828;
  background: #f5dddd;
}

.produto-acoes {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.produto-acoes button {
  width: 30px;
  height: 28px;

  background: #fff;

  border: 1px solid #aeb4b9;

  cursor: pointer;
}

.produto-acoes button:hover {
  color: #fff;
  background: #d6382e;
  border-color: #b82720;
}

.produto-vazio {
  padding: 45px !important;

  color: #777 !important;

  text-align: center;
}

.rodape-tabela {
  display: flex;
  justify-content: space-between;
}

.toast-produtos {
  position: fixed;
  right: 18px;
  bottom: 20px;

  z-index: 12000;

  max-width: 360px;

  padding: 11px 15px;

  color: #fff;
  background: #30353a;

  border-left: 4px solid #e1702b;

  opacity: 0;
  pointer-events: none;

  transform: translateY(10px);

  transition: .2s;
}

.toast-produtos.visivel {
  opacity: 1;
  transform: translateY(0);
}


/* =====================================================
   MODAL DO PRODUTO
===================================================== */

.modal-produto-real {
  position: fixed !important;

  inset: 0 !important;

  z-index: 9999 !important;

  display: grid !important;
  place-items: center !important;

  padding: 22px;
}

.modal-produto-real.oculto {
  display: none !important;
}

.modal-produto-fundo {
  position: absolute !important;

  inset: 0 !important;

  background:
    rgba(
      0,
      0,
      0,
      .62
    ) !important;
}

.produto-editor-premium {
  position: relative !important;

  z-index: 2 !important;

  width: min(94vw, 1050px) !important;

  max-height: 92vh !important;

  overflow: hidden !important;

  color: #222 !important;
  background: #fff !important;

  border: 1px solid #4f555a;

  box-shadow:
    0
    18px
    55px
    rgba(
      0,
      0,
      0,
      .40
    ) !important;
}

.produto-editor-premium > header {
  min-height: 55px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 8px 15px;

  color: #fff !important;

  background:
    linear-gradient(
      180deg,
      #454a4f,
      #292d31
    ) !important;

  border-bottom:
    3px solid #d8392e;
}

.produto-editor-premium > header strong {
  display: block;

  color: #fff;

  font-size: 14px;
}

.produto-editor-premium > header small {
  display: block;

  margin-top: 2px;

  color: #d5d8da;

  font-size: 9px;
}

.produto-editor-premium > header button {
  width: 34px;
  height: 34px;

  color: #fff;

  background: transparent;

  border: 0;

  font-size: 25px;

  cursor: pointer;
}


/* =====================================================
   ABAS
===================================================== */

.produto-editor-abas {
  display: flex;

  padding: 0 14px;

  background: #f7f8f9;

  border-bottom: 1px solid #cbd0d4;
}

.produto-aba {
  min-height: 42px;

  padding: 0 16px;

  color: #555;

  background: transparent;

  border: 0;
  border-bottom:
    3px solid transparent;

  font-size: 10px;
  font-weight: 700;

  cursor: pointer;
}

.produto-aba:hover {
  color: #c42b22;
}

.produto-aba.ativa {
  color: #c42b22;

  border-bottom-color:
    #d83a30;
}

#formProduto {
  background: #fff;
}

.produto-aba-painel {
  display: none !important;

  min-height: 490px;
  max-height: calc(92vh - 165px);

  overflow-y: auto;

  padding: 18px;

  background: #fff;
}

.produto-aba-painel.ativa {
  display: block !important;
}


/* =====================================================
   PRINCIPAL
===================================================== */

.produto-principal-layout {
  display: grid;

  grid-template-columns:
    225px
    1fr;

  gap: 22px;
}

.produto-foto-area {
  padding-right: 18px;

  border-right:
    1px solid #ddd;
}

.produto-foto-placeholder {
  height: 220px;

  display: grid;
  place-items: center;
  align-content: center;

  gap: 8px;

  color: #888;
  background: #e8eaec;

  border: 1px solid #adb3b8;
}

.produto-foto-placeholder div {
  font-size: 55px;
  opacity: .55;
}

.produto-foto-placeholder span {
  font-size: 10px;
}

.produto-foto-botao {
  width: 100%;
  height: 36px;

  margin-top: 8px;

  color: #555;

  background: #f4f4f4;

  border: 1px solid #bbb;
}

.produto-foto-area > small {
  display: block;

  margin-top: 7px;

  color: #999;

  font-size: 8px;
}

.produto-principal-campos label,
.produto-setor-conteudo label {
  display: flex;
  flex-direction: column;

  gap: 5px;

  color: #444;

  font-size: 10px;
  font-weight: 700;
}

.produto-principal-campos input,
.produto-principal-campos select,
.produto-principal-campos textarea,
.produto-setor-conteudo select {
  width: 100%;

  padding: 8px 9px;

  color: #222 !important;
  background: #fff !important;

  border: 1px solid #aeb5ba !important;

  font-family: inherit;
}

.produto-principal-campos input,
.produto-principal-campos select,
.produto-setor-conteudo select {
  height: 37px;
}

.produto-principal-campos textarea {
  resize: vertical;
}

.produto-principal-campos input:focus,
.produto-principal-campos select:focus,
.produto-principal-campos textarea:focus {
  border-color:
    #dd6c28 !important;

  outline:
    2px solid
    rgba(
      221,
      108,
      40,
      .10
    );
}

.produto-linha-topo {
  display: grid;

  grid-template-columns:
    150px
    1fr
    70px;

  gap: 12px;
}

.produto-switch-label {
  align-items: center;
  justify-content: end;
}

.produto-switch-label input {
  width: 18px !important;
  height: 18px !important;
}

.produto-grade-2 {
  display: grid;

  grid-template-columns:
    1fr
    1fr;

  gap: 13px;

  margin-top: 13px;
}

.produto-descricao {
  margin-top: 13px;
}

.produto-check {
  flex-direction:
    row !important;

  align-items:
    center !important;

  margin-top: 10px;
}

.produto-check input {
  width: 17px !important;
  height: 17px !important;
}


/* =====================================================
   PRODUÇÃO
===================================================== */

.produto-producao-box {
  display: grid;

  grid-template-columns:
    95px
    1fr;

  gap: 20px;

  max-width: 760px;

  margin: 25px auto;

  padding: 24px;

  background: #f7f8f9;

  border: 1px solid #d1d5d8;
}

.produto-setor-icone {
  width: 80px;
  height: 80px;

  display: grid;
  place-items: center;

  color: #fff;

  background: #c92e25;

  border-radius: 8px;

  font-size: 35px;
}

.produto-setor-conteudo h3 {
  margin: 0 0 5px;

  color: #333;
}

.produto-setor-conteudo p {
  margin: 0 0 20px;

  color: #777;

  font-size: 10px;
}

.produto-producao-fluxo {
  display: flex;
  align-items: center;

  gap: 10px;

  margin-top: 22px;
}

.produto-producao-fluxo div {
  flex: 1;

  padding: 12px 8px;

  color: #fff;
  background: #4b5156;

  text-align: center;

  font-size: 9px;
  font-weight: 800;
}

.produto-producao-fluxo span {
  color: #d83a30;

  font-size: 20px;
  font-weight: 800;
}

.produto-info-setor {
  margin-top: 18px;

  padding: 11px;

  color: #655329;
  background: #fff4d8;

  border: 1px solid #e8d39c;

  font-size: 9px;
}


/* =====================================================
   ESTOQUE / FICHA / COMPLEMENTOS
===================================================== */

.produto-modulo-futuro {
  max-width: 600px;

  margin: 75px auto;

  padding: 35px;

  text-align: center;

  color: #777;
  background: #f7f8f9;

  border: 1px dashed #bbb;
}

.produto-modulo-futuro > span {
  display: block;

  font-size: 42px;
}

.produto-modulo-futuro h3 {
  margin-bottom: 6px;

  color: #333;
}

.produto-modulo-futuro p {
  font-size: 10px;
}

.produto-modulo-futuro strong {
  display: inline-block;

  margin-top: 10px;

  padding: 5px 8px;

  color: #9b4b16;
  background: #ffebd9;
}


/* =====================================================
   RODAPÉ
===================================================== */

.produto-editor-rodape {
  min-height: 58px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 9px 17px;

  background: #f4f5f6;

  border-top: 1px solid #d1d5d8;
}

.produto-editor-rodape > div {
  display: flex;
  gap: 8px;
}

.produto-editor-rodape button {
  min-height: 38px;

  padding: 0 17px;

  font-weight: 700;
}

.botao-salvar-produto {
  color: #fff;

  background: #219653;

  border: 1px solid #177b42;
}

.botao-cancelar-produto,
.botao-secundario-produto {
  color: #444;

  background: #fff;

  border: 1px solid #aaa;
}

@media (max-width: 850px) {

  .produto-principal-layout {
    grid-template-columns: 1fr;
  }

  .produto-foto-area {
    display: none;
  }

  .produto-linha-topo,
  .produto-grade-2 {
    grid-template-columns: 1fr;
  }

}


/* =====================================================
   CHURRASCARIA_ESTOQUE_FRONT_CSS_V2
===================================================== */

.estoque-produto-nao-salvo {

  max-width: 560px;

  margin: 90px auto;

  padding: 38px;

  text-align: center;

  color: #777;
  background: #f7f8f9;

  border: 1px dashed #b8bdc1;
}


.estoque-produto-nao-salvo > span {

  display: block;

  margin-bottom: 8px;

  font-size: 42px;
}


.estoque-produto-nao-salvo strong {

  display: block;

  color: #333;

  font-size: 14px;
}


.estoque-produto-nao-salvo p {

  margin: 7px 0 0;

  font-size: 10px;
}


.estoque-produto-conteudo {

  display: grid;

  gap: 18px;
}


.estoque-configuracao {

  padding: 16px;

  background: #f7f8f9;

  border: 1px solid #d0d5d9;
}


.estoque-config-cabecalho {

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 15px;

  padding-bottom: 13px;

  border-bottom: 1px solid #ddd;
}


.estoque-switch {

  display: flex !important;

  flex-direction: row !important;

  align-items: center !important;

  gap: 10px !important;
}


.estoque-switch input {

  width: 19px !important;

  height: 19px !important;
}


.estoque-switch strong {

  display: block;

  color: #333;

  font-size: 11px;
}


.estoque-switch small {

  display: block;

  margin-top: 2px;

  color: #888;

  font-size: 8px;
}


.estoque-btn-config {

  min-height: 34px;

  padding: 0 13px;

  color: #444;
  background: #fff;

  border: 1px solid #aaa;

  font-weight: 700;

  cursor: pointer;
}


/* =====================================================
   CARDS
===================================================== */

.estoque-cards {

  display: grid;

  grid-template-columns:
    1fr 1fr 1.2fr;

  gap: 10px;

  margin-top: 14px;
}


.estoque-card {

  min-height: 92px;

  padding: 13px;

  background: #fff;

  border: 1px solid #d1d5d8;
}


.estoque-card small {

  display: block;

  color: #777;

  font-size: 8px;

  font-weight: 800;
}


.estoque-card > strong {

  display: inline-block;

  margin-top: 7px;

  color: #222;

  font-size: 25px;
}


.estoque-card > span {

  margin-left: 4px;

  color: #777;

  font-size: 10px;

  font-weight: 700;
}


.estoque-minimo-edicao {

  display: flex;

  align-items: center;

  gap: 7px;

  margin-top: 7px;
}


.estoque-minimo-edicao input {

  width: 130px;

  height: 38px;

  padding: 0 8px;

  color: #222;

  background: #fff;

  border: 1px solid #abb2b7;

  font-size: 17px;

  font-weight: 700;
}


.estoque-minimo-edicao span {

  color: #777;

  font-size: 10px;

  font-weight: 700;
}


/* =====================================================
   STATUS
===================================================== */

.estoque-status-card {

  border-left: 5px solid #91989e;
}


.estoque-status-card strong {

  display: block;

  font-size: 15px;
}


.estoque-status-card > span {

  display: block;

  margin: 4px 0 0;

  font-size: 9px;
}


.estoque-status-card.regular {

  background: #eff9f3;

  border-left-color: #239258;
}


.estoque-status-card.regular strong {

  color: #187544;
}


.estoque-status-card.baixo {

  background: #fff7e5;

  border-left-color: #e58a20;
}


.estoque-status-card.baixo strong {

  color: #b86b14;
}


.estoque-status-card.zerado {

  background: #fff0ef;

  border-left-color: #cf332a;
}


.estoque-status-card.zerado strong {

  color: #c62d24;
}


/* =====================================================
   AÇÕES
===================================================== */

.estoque-acoes {

  display: flex;

  gap: 8px;

  margin-top: 14px;
}


.estoque-btn {

  min-width: 125px;

  min-height: 38px;

  color: #fff;

  border: 0;

  font-weight: 800;

  cursor: pointer;
}


.estoque-btn.entrada {

  background: #228e54;
}


.estoque-btn.saida {

  background: #c93a31;
}


.estoque-btn:disabled {

  opacity: .45;

  cursor: not-allowed;
}


/* =====================================================
   HISTÓRICO
===================================================== */

.estoque-historico {

  background: #fff;

  border: 1px solid #cdd2d6;
}


.estoque-historico > header {

  min-height: 49px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 8px 13px;

  color: #fff;

  background:
    linear-gradient(
      180deg,
      #454b50,
      #30353a
    );
}


.estoque-historico > header strong {

  display: block;

  font-size: 11px;
}


.estoque-historico > header small {

  display: block;

  margin-top: 2px;

  color: #d3d7da;

  font-size: 8px;
}


.estoque-historico > header button {

  height: 31px;

  padding: 0 10px;

  color: #333;

  background: #fff;

  border: 1px solid #ccc;

  font-weight: 700;

  cursor: pointer;
}


.estoque-historico-tabela {

  max-height: 280px;

  overflow: auto;
}


.estoque-historico table {

  width: 100%;

  border-collapse: collapse;
}


.estoque-historico th {

  position: sticky;

  top: 0;

  height: 34px;

  padding: 6px;

  color: #fff;

  background: #555c62;

  border-right: 1px solid #70777d;

  font-size: 8px;

  text-align: left;
}


.estoque-historico td {

  padding: 7px;

  color: #333;

  background: #fff;

  border-bottom: 1px solid #e0e2e4;

  font-size: 9px;
}


.estoque-historico tr:nth-child(even) td {

  background: #f6f7f8;
}


.movimento-tipo {

  display: inline-flex;

  min-width: 57px;

  justify-content: center;

  padding: 4px 6px;

  border-radius: 10px;

  font-size: 7px;

  font-weight: 800;
}


.movimento-tipo.entrada {

  color: #176d3f;

  background: #d9f1e3;
}


.movimento-tipo.saida {

  color: #9c2d27;

  background: #f6dfdd;
}


.estoque-sem-movimento {

  padding: 35px !important;

  color: #888 !important;

  text-align: center;
}


/* =====================================================
   MODAL DE MOVIMENTAÇÃO
===================================================== */

.modal-movimento-estoque {

  position: fixed;

  inset: 0;

  z-index: 13000;

  display: grid;

  place-items: center;
}


.modal-movimento-estoque.oculto {

  display: none;
}


.modal-movimento-fundo {

  position: absolute;

  inset: 0;

  background: rgba(0,0,0,.60);
}


.modal-movimento-caixa {

  position: relative;

  z-index: 2;

  width: 520px;

  max-width: 92vw;

  background: #fff;

  box-shadow:
    0
    16px
    45px
    rgba(0,0,0,.35);
}


.modal-movimento-caixa > header {

  min-height: 55px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 9px 14px;

  color: #fff;

  background: #34393e;

  border-bottom: 3px solid #d83a30;
}


.modal-movimento-caixa > header strong {

  display: block;

  font-size: 13px;
}


.modal-movimento-caixa > header small {

  display: block;

  margin-top: 2px;

  color: #d4d7d9;

  font-size: 8px;
}


.modal-movimento-caixa > header button {

  width: 32px;

  height: 32px;

  color: #fff;

  background: transparent;

  border: 0;

  font-size: 23px;

  cursor: pointer;
}


#formMovimentoEstoque {

  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 12px;

  padding: 16px;
}


#formMovimentoEstoque label {

  display: flex;

  flex-direction: column;

  gap: 5px;

  color: #444;

  font-size: 9px;

  font-weight: 800;
}


#formMovimentoEstoque input,
#formMovimentoEstoque textarea {

  padding: 8px 9px;

  color: #222;

  background: #fff;

  border: 1px solid #adb4ba;
}


#formMovimentoEstoque input {

  height: 38px;
}


.movimento-observacao {

  grid-column: 1 / -1;
}


#formMovimentoEstoque footer {

  grid-column: 1 / -1;

  display: flex;

  justify-content: flex-end;

  gap: 8px;

  padding-top: 12px;

  border-top: 1px solid #ddd;
}


#formMovimentoEstoque footer button {

  min-height: 37px;

  padding: 0 14px;
}


/* =====================================================
   CHURRASCARIA_FICHA_TECNICA_CSS_V1
===================================================== */

.ficha-produto-nao-salvo {
  max-width: 560px;
  margin: 90px auto;
  padding: 38px;
  text-align: center;
  color: #777;
  background: #f7f8f9;
  border: 1px dashed #b8bdc1;
}

.ficha-produto-nao-salvo > span {
  display: block;
  font-size: 42px;
}

.ficha-produto-nao-salvo strong {
  display: block;
  margin-top: 7px;
  color: #333;
  font-size: 14px;
}

.ficha-produto-nao-salvo p {
  font-size: 10px;
}

.ficha-tecnica-conteudo {
  display: grid;
  gap: 14px;
}

.ficha-tecnica-conteudo[hidden],
.ficha-produto-nao-salvo[hidden] {
  display: none !important;
}


/* TOPO */

.ficha-topo {
  display: grid;
  grid-template-columns: 1fr 240px auto;
  align-items: end;
  gap: 14px;
  padding: 14px;
  background: #f4f6f7;
  border: 1px solid #d1d5d8;
}

.ficha-topo small {
  display: block;
  color: #777;
  font-size: 8px;
  font-weight: 800;
}

.ficha-topo > div > strong {
  display: block;
  margin-top: 3px;
  color: #333;
  font-size: 14px;
}

.ficha-topo label,
.ficha-observacoes {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #444;
  font-size: 9px;
  font-weight: 800;
}

.ficha-rendimento {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: center;
  gap: 7px;
}

.ficha-rendimento input {
  height: 36px;
  padding: 0 8px;
  border: 1px solid #adb4ba;
}

.ficha-rendimento span {
  color: #777;
  font-size: 9px;
}

.ficha-acoes-topo {
  display: flex;
  gap: 7px;
}

.ficha-btn-secundario,
.ficha-btn-principal,
.ficha-btn-salvar {
  min-height: 36px;
  padding: 0 12px;
  font-weight: 800;
  cursor: pointer;
}

.ficha-btn-secundario {
  color: #444;
  background: #fff;
  border: 1px solid #aaa;
}

.ficha-btn-principal {
  color: #fff;
  background: #d83a30;
  border: 1px solid #b42b23;
}

.ficha-btn-salvar {
  color: #fff;
  background: #219653;
  border: 1px solid #177b42;
}


/* INGREDIENTES */

.ficha-ingredientes {
  background: #fff;
  border: 1px solid #cdd2d6;
}

.ficha-ingredientes > header {
  padding: 9px 12px;
  color: #fff;
  background: linear-gradient(
    180deg,
    #454b50,
    #30353a
  );
}

.ficha-ingredientes > header strong {
  display: block;
  font-size: 11px;
}

.ficha-ingredientes > header small {
  display: block;
  margin-top: 2px;
  color: #d3d7da;
  font-size: 8px;
}

.ficha-tabela-wrapper {
  max-height: 245px;
  overflow: auto;
}

.ficha-ingredientes table {
  width: 100%;
  border-collapse: collapse;
}

.ficha-ingredientes th {
  height: 34px;
  padding: 6px;
  color: #fff;
  background: #555c62;
  border-right: 1px solid #70777d;
  text-align: left;
  font-size: 8px;
}

.ficha-ingredientes td {
  padding: 7px;
  color: #333;
  background: #fff;
  border-bottom: 1px solid #e0e2e4;
  font-size: 9px;
}

.ficha-ingredientes tr:nth-child(even) td {
  background: #f6f7f8;
}

.ficha-ingredientes input {
  height: 30px;
  padding: 0 6px;
  border: 1px solid #adb4ba;
}

.ficha-qtd-input {
  width: 90px;
}

.ficha-obs-input {
  width: 100%;
  min-width: 130px;
}

.ficha-remover-item {
  width: 28px;
  height: 27px;
  color: #fff;
  background: #c83a31;
  border: 0;
  cursor: pointer;
}

.ficha-vazia {
  padding: 32px !important;
  color: #888 !important;
  text-align: center;
}


/* RESUMO */

.ficha-resumo {
  display: grid;
  grid-template-columns:
    repeat(6, 1fr);
  gap: 8px;
}

.ficha-resumo-card {
  min-height: 76px;
  padding: 10px;
  background: #f5f6f7;
  border: 1px solid #d2d6d9;
}

.ficha-resumo-card small {
  display: block;
  color: #777;
  font-size: 7px;
  font-weight: 800;
}

.ficha-resumo-card strong {
  display: block;
  margin-top: 7px;
  color: #333;
  font-size: 16px;
}

.ficha-resumo-card.destaque {
  background: #fff4df;
  border-left: 4px solid #df8720;
}

.ficha-resumo-card.venda {
  background: #edf3fa;
  border-left: 4px solid #3778b8;
}

.ficha-resumo-card.lucro,
.ficha-resumo-card.margem {
  background: #edf8f1;
  border-left: 4px solid #219653;
}

.ficha-resumo-card.lucro strong,
.ficha-resumo-card.margem strong {
  color: #177b42;
}


/* OBSERVAÇÕES */

.ficha-observacoes textarea {
  padding: 8px;
  color: #222;
  background: #fff;
  border: 1px solid #adb4ba;
}

.ficha-rodape {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 12px;
  background: #f4f5f6;
  border: 1px solid #d1d5d8;
}

.ficha-rodape span {
  color: #777;
  font-size: 8px;
}


/* MODAIS */

.modal-ficha-secundario {
  position: fixed;
  inset: 0;
  z-index: 14000;
  display: grid;
  place-items: center;
}

.modal-ficha-secundario.oculto {
  display: none;
}

.modal-ficha-fundo {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.62);
}

.modal-ficha-caixa {
  position: relative;
  z-index: 2;
  width: min(92vw,560px);
  background: #fff;
  box-shadow:
    0 16px 45px
    rgba(0,0,0,.35);
}

.modal-ficha-caixa > header {
  min-height: 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  color: #fff;
  background: #34393e;
  border-bottom: 3px solid #d83a30;
}

.modal-ficha-caixa > header strong {
  display: block;
  font-size: 13px;
}

.modal-ficha-caixa > header small {
  display: block;
  color: #d4d7d9;
  font-size: 8px;
}

.modal-ficha-caixa > header button {
  color: #fff;
  background: transparent;
  border: 0;
  font-size: 23px;
  cursor: pointer;
}

.modal-ficha-caixa form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px;
}

.modal-ficha-caixa label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #444;
  font-size: 9px;
  font-weight: 800;
}

.modal-ficha-caixa input,
.modal-ficha-caixa select {
  height: 38px;
  padding: 0 8px;
  color: #222;
  background: #fff;
  border: 1px solid #adb4ba;
}

.ficha-modal-grande {
  grid-column: 1 / -1;
}

.ficha-insumo-info {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  padding: 8px;
  color: #666;
  background: #f2f3f4;
  border: 1px solid #ddd;
  font-size: 9px;
}

.modal-ficha-caixa footer {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #ddd;
}

.modal-ficha-caixa footer button {
  min-height: 37px;
  padding: 0 14px;
}


/* RESPONSIVO */

@media (max-width: 1050px) {

  .ficha-topo {
    grid-template-columns:
      1fr 1fr;
  }

  .ficha-acoes-topo {
    grid-column: 1 / -1;
  }

  .ficha-resumo {
    grid-template-columns:
      repeat(3,1fr);
  }
}

