/* Açaiteria (v30) — caixa (copo montado / por peso) e tela Cardápio */

/* ---------- Caixa ---------- */
.pdv-col-prod.acx-modo > :not(#acai-acaiteria-caixa) { display: none !important; }
#acai-acaiteria-caixa:empty { display: none; }
.acx { margin-bottom: 1rem; }
.acx--carregando { color: var(--ink-soft, #6b6478); font-size: .88rem; padding: .25rem .25rem .75rem; }
.acx-abas { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .75rem; }
.acx-aba { min-height: 44px; padding: 0 1.1rem; border-radius: 999px; border: 1px solid var(--border, #e7e4f0); background: var(--surface, #fff); color: var(--ink, #261238); font-weight: 600; font-size: .9rem; cursor: pointer; }
.acx-aba:hover { border-color: #c9a6ee; }
.acx-aba[aria-selected="true"] { background: var(--purple, #7c2fcf); border-color: var(--purple, #7c2fcf); color: #fff; }
.acx-painel { padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: 1rem; }
.acx-sec { display: flex; flex-direction: column; gap: .5rem; }
.acx-sec__t { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft, #6b6478); }
.acx-sec__t--linha { display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; }
.acx-cont { text-transform: none; letter-spacing: 0; font-size: .8rem; padding: .25rem .65rem; border-radius: 999px; background: #eef8f1; color: #1d6b3a; }
.acx-cont--extra { background: #fff1e0; color: #8a4b00; }
.acx-tams { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: .5rem; }
.acx-tam { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-height: 64px; padding: .55rem .75rem; border-radius: 12px; border: 2px solid var(--border, #e7e4f0); background: var(--surface, #fff); text-align: left; cursor: pointer; color: var(--ink, #261238); }
.acx-tam strong { font-size: 1rem; }
.acx-tam__p { font-size: .85rem; font-weight: 600; color: #4c1a6b; }
.acx-tam__g { font-size: .74rem; color: var(--ink-soft, #6b6478); }
.acx-tam[aria-pressed="true"] { border-color: var(--purple, #7c2fcf); background: #f7f0fd; }
.acx-tam--copo { min-height: 52px; }
.acx-grupo { display: flex; gap: .75rem; align-items: flex-start; }
.acx-grupo + .acx-grupo { margin-top: .35rem; }
.acx-grupo__t { width: 112px; flex-shrink: 0; padding-top: .55rem; display: flex; flex-direction: column; }
.acx-grupo__t strong { font-size: .86rem; }
.acx-grupo__t span { font-size: .7rem; color: var(--ink-soft, #6b6478); }
.acx-chips { display: flex; flex-wrap: wrap; gap: .4rem; flex: 1; }
.acx-chip { min-height: 44px; padding: 0 .85rem; border-radius: 12px; border: 1px solid var(--border, #e7e4f0); background: var(--surface, #fff); color: var(--ink, #261238); font-size: .88rem; cursor: pointer; display: inline-flex; align-items: center; gap: .35rem; }
.acx-chip:hover { border-color: #c9a6ee; }
.acx-chip__p { font-size: .76rem; font-weight: 700; color: #4c1a6b; }
.acx-chip[aria-pressed="true"] { background: var(--purple, #7c2fcf); border-color: var(--purple, #7c2fcf); color: #fff; }
.acx-chip[aria-pressed="true"] .acx-chip__p { color: #f1e6fc; }
.acx-rodape { display: flex; align-items: flex-end; gap: .6rem; flex-wrap: wrap; border-top: 1px solid var(--border-soft, #f0eef7); padding-top: .85rem; }
.acx-rodape--fim { justify-content: flex-end; }
.acx-obs { flex: 1 1 220px; display: flex; flex-direction: column; gap: .25rem; font-size: .75rem; font-weight: 600; color: var(--ink-soft, #6b6478); margin: 0; }
.acx-qtd { display: inline-flex; align-items: center; border: 1px solid var(--border, #e7e4f0); border-radius: 12px; overflow: hidden; height: 44px; }
.acx-qtd button { width: 44px; height: 44px; border: 0; background: var(--surface-alt, #f9f8fc); font-size: 1.2rem; font-weight: 700; color: var(--ink, #261238); cursor: pointer; }
.acx-qtd span { min-width: 34px; text-align: center; font-weight: 700; }
.acx-add { min-height: 48px; padding: 0 1.25rem; font-weight: 700; }
.acx-vazio { padding: 1rem; border-radius: 12px; background: var(--surface-alt, #f9f8fc); color: var(--ink-soft, #6b6478); font-size: .9rem; }
.acx-vazio--erro { background: #fde8ea; color: #a1182b; }
.acx-sub { font-size: .85rem; color: var(--ink-soft, #6b6478); }
.acx-peso { display: flex; gap: .75rem; flex-wrap: wrap; align-items: stretch; }
.acx-peso__campo { flex: 1 1 220px; display: flex; flex-direction: column; gap: .25rem; font-size: .78rem; font-weight: 600; color: var(--ink-soft, #6b6478); margin: 0; }
.acx-peso__campo input { height: 56px; font-size: 1.6rem; font-weight: 700; color: var(--ink, #261238); }
.acx-peso__campo small { font-weight: 400; }
.acx-peso__preco { min-width: 150px; border-radius: 12px; background: var(--surface-alt, #f9f8fc); padding: .6rem .85rem; display: flex; flex-direction: column; justify-content: center; }
.acx-peso__preco span { font-size: .75rem; color: var(--ink-soft, #6b6478); }
.acx-peso__preco strong { font-size: 1.2rem; }
.acx-conta { border-radius: 12px; background: var(--surface-alt, #f9f8fc); padding: .7rem .9rem; display: flex; flex-direction: column; gap: .3rem; font-size: .88rem; }
.acx-conta > div { display: flex; justify-content: space-between; gap: .5rem; }
.acx-conta > div > span:first-child { color: var(--ink-soft, #6b6478); }
.acx-conta__t { border-top: 1px solid var(--border, #e7e4f0); padding-top: .35rem; font-weight: 600; }
.acx-conta__t span { color: var(--ink, #261238) !important; }
.acx-conta__t strong { font-size: 1.15rem; color: #4c1a6b; }
.acx-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #261238; color: #fff; padding: .6rem 1rem; border-radius: 10px; font-size: .9rem; z-index: 3000; box-shadow: 0 8px 20px #4c1a6b33; transition: opacity .3s; }
.acx-toast--erro { background: #a1182b; }
.acx-toast--sai { opacity: 0; }
@media (max-width: 575.98px) {
  .acx-grupo { flex-direction: column; gap: .35rem; }
  .acx-grupo__t { width: auto; padding-top: 0; flex-direction: row; gap: .5rem; align-items: baseline; }
  .acx-tams { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acx-add { flex: 1 1 100%; }
}

/* ---------- Tela Cardápio ---------- */
.acc { display: flex; flex-direction: column; gap: 1rem; max-width: 1100px; }
.acc-cab h1 { font-size: 1.5rem; margin: 0 0 .15rem; }
.acc-sec { padding: 1.1rem 1.25rem; display: flex; flex-direction: column; gap: .6rem; }
.acc-sec h2, .acc-vaziobox h2 { font-size: 1.05rem; font-weight: 700; margin: 0; }
.acc-vaziobox { padding: 1.5rem; }
.acc-acoes { display: flex; gap: .5rem; flex-wrap: wrap; }
.acc-dica { font-size: .8rem; color: var(--ink-soft, #6b6478); margin: 0; }
.acc-linha { display: flex; flex-wrap: wrap; gap: .5rem .75rem; align-items: flex-end; }
.acc-row { padding: .5rem 0; border-top: 1px solid var(--border-soft, #f0eef7); }
.acc-row--off { opacity: .55; }
.acc-campo { display: flex; flex-direction: column; gap: .2rem; font-size: .72rem; font-weight: 600; color: var(--ink-soft, #6b6478); margin: 0; width: 140px; }
.acc-campo--nome { flex: 1 1 200px; width: auto; }
.acc-campo .form-control, .acc-campo .form-select { min-height: 38px; }
.acc-sw { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; color: var(--ink, #261238); min-height: 38px; margin: 0; cursor: pointer; }
.acc-sw input { width: 34px; height: 18px; accent-color: var(--purple, #7c2fcf); }
.acc-x { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border, #e7e4f0); background: var(--surface, #fff); color: #a1182b; font-size: 1.2rem; line-height: 1; cursor: pointer; }
.acc-x:hover { background: #fde8ea; }
.acc-novo { padding-top: .6rem; border-top: 1px dashed #d9c7ee; }
.acc-novo .btn { min-height: 38px; }
.acc-grupo { border: 1px solid var(--border, #e7e4f0); border-radius: 14px; padding: .25rem .9rem .75rem; }
.acc-grupo > .acc-row:first-child { border-top: 0; }
.acc-itens { padding-left: 1rem; border-left: 3px solid #f1e6fc; margin-left: .25rem; }
@media (max-width: 575.98px) {
  .acc-campo { width: calc(50% - .4rem); }
  .acc-campo--nome { width: 100%; flex-basis: 100%; }
  .acc-itens { padding-left: .6rem; }
}

/* ---------- v31: avisos de estoque no caixa ---------- */
.acx-chip--falta { border-style: dashed; }
.acx-falta { font-size: .68rem; font-weight: 700; color: #a1182b; background: #fde8ea; border-radius: 6px; padding: 1px 6px; }
.acx-chip[aria-pressed="true"] .acx-falta { background: #fff; }
.acx-aviso { background: #fff1e0; color: #6b3a00; border-radius: 12px; padding: .6rem .85rem; font-size: .86rem; }
.acx-dica-prod { margin-top: .4rem; font-size: .78rem; color: var(--ink-soft, #6b6478); background: #f7f0fd; border-radius: 8px; padding: .45rem .6rem; }

/* ---------- v31: ficha técnica no Cardápio ---------- */
.acc-ficha-btn { min-height: 38px; border: 1px solid #c9a6ee; background: #fbf8fe; color: #4c1a6b; font-weight: 600; font-size: .8rem; border-radius: 10px; }
.acc-ficha-btn[aria-expanded="true"] { background: #7c2fcf; color: #fff; border-color: #7c2fcf; }
.acc-ficha { background: #fbf8fe; border: 1px solid #ecdcf9; border-radius: 12px; padding: .75rem .9rem; margin: .25rem 0 .5rem; display: flex; flex-direction: column; gap: .4rem; }
.acc-ficha__t { font-size: .8rem; font-weight: 700; color: #4c1a6b; }
.acc-ficha__l { align-items: flex-end; }
.acc-ficha__c { min-height: 38px; display: inline-flex; align-items: center; font-size: .8rem; font-weight: 600; color: #4c1a6b; white-space: nowrap; }
.acc-ficha__res { font-size: .84rem; color: var(--ink, #261238); align-self: center; margin-left: auto; }

/* ---------- v31: tela Insumos ---------- */
.aci { display: flex; flex-direction: column; gap: 1rem; }
.aci-cab { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.aci-cab h1, .aci-det h1 { font-size: 1.5rem; margin: 0 0 .15rem; }
.aci-btns { display: flex; gap: .5rem; flex-wrap: wrap; }
.aci-btns .btn { min-height: 44px; }
.aci-vazio { padding: 1.5rem; }
.aci-vazio h2 { font-size: 1.1rem; font-weight: 700; }
.aci-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.aci-kpi { background: var(--surface, #fff); border: 1px solid var(--border, #e7e4f0); border-radius: 16px; padding: .8rem 1rem; display: flex; flex-direction: column; }
.aci-kpi__r { font-size: .7rem; font-weight: 700; letter-spacing: .05em; color: var(--ink-soft, #6b6478); }
.aci-kpi strong { font-family: var(--f-display, Poppins, sans-serif); font-size: 1.45rem; }
.aci-kpi__s { font-size: .74rem; color: var(--ink-soft, #6b6478); }
.aci-cor-acab { color: #8a4b00; } .aci-cor-falta { color: #a1182b; } .aci-cor-ok { color: #1d6b3a; }
.aci-filtros { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.aci-chips { display: flex; gap: .4rem; flex-wrap: wrap; }
.aci-chip { min-height: 40px; padding: 0 .9rem; border-radius: 999px; border: 1px solid var(--border, #e7e4f0); background: var(--surface, #fff); font-size: .84rem; font-weight: 600; color: var(--ink, #261238); cursor: pointer; }
.aci-chip span { color: var(--ink-soft, #6b6478); font-weight: 500; }
.aci-chip[aria-pressed="true"] { background: #261238; border-color: #261238; color: #fff; }
.aci-chip[aria-pressed="true"] span { color: #d9c7ee; }
.aci-busca { margin-left: auto; min-width: 220px; }
.aci-busca .form-control { min-height: 40px; }
.aci-tabela { padding: .25rem 0; overflow: hidden; }
.aci-h2 { font-size: 1.05rem; font-weight: 700; margin: .75rem 1rem .25rem; }
.aci-nome { border: 0; background: none; padding: 0; font-weight: 600; color: var(--ink, #261238); text-align: left; cursor: pointer; }
.aci-nome:hover { color: var(--purple, #7c2fcf); text-decoration: underline; }
.aci-sub { font-size: .76rem; color: var(--ink-soft, #6b6478); }
.aci-off { opacity: .55; }
.aci-sit { display: inline-block; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.aci-sit--ok { background: #eef8f1; color: #1d6b3a; } .aci-sit--acab { background: #fff1e0; color: #8a4b00; } .aci-sit--falta { background: #fde8ea; color: #a1182b; }
.aci-voltar { align-self: flex-start; border: 0; background: none; color: var(--purple, #7c2fcf); font-weight: 600; padding: 0; cursor: pointer; }
.aci-det { padding: 1rem 1.25rem; display: flex; gap: 1rem 1.5rem; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.aci-det__n { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.aci-det__n2 { display: flex; gap: 1.5rem; }
.aci-det__n2 > div { display: flex; flex-direction: column; }
.aci-det__n2 strong { font-family: var(--f-display, Poppins, sans-serif); font-size: 1.35rem; }
.aci-contagem { background: #f7f0fd; border: 2px solid #c9a6ee; border-radius: 16px; padding: .9rem 1.1rem; display: flex; gap: .75rem 1rem; align-items: flex-end; flex-wrap: wrap; }
.aci-contagem > div:first-child { flex: 1 1 240px; }
.aci-tipo { display: inline-block; font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 6px; margin-right: .35rem; }
.aci-t--ent { background: #eef8f1; color: #1d6b3a; } .aci-t--ven { background: #f1ecf7; color: #4c1a6b; } .aci-t--per { background: #fde8ea; color: #a1182b; } .aci-t--con { background: #eef3fd; color: #1f4f9e; }
.aci-campo { display: flex; flex-direction: column; gap: .3rem; font-size: .78rem; font-weight: 600; color: var(--ink-soft, #6b6478); margin: 0; border: 0; padding: 0; min-width: 0; }
.aci-campo legend { font-size: .78rem; font-weight: 600; color: var(--ink-soft, #6b6478); margin-bottom: .3rem; }
.aci-campo .form-control, .aci-campo .form-select { min-height: 44px; color: var(--ink, #261238); }
.aci-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.aci-seg { display: flex; flex-direction: column; gap: .35rem; }
.aci-seg label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 500; color: var(--ink, #261238); min-height: 36px; cursor: pointer; }
.aci-qtd { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; font-size: .9rem; font-weight: 500; color: var(--ink, #261238); }
.aci-qtd .form-control { width: 80px; text-align: right; }
.aci-qtd .form-select { width: auto; min-width: 88px; }
.aci-valor { max-width: 220px; }
.aci-valor .form-control { font-weight: 700; font-size: 1.05rem; }
.aci-resumo { background: var(--surface-alt, #f9f8fc); border-radius: 12px; padding: .7rem .9rem; display: flex; flex-direction: column; gap: .3rem; font-size: .88rem; }
.aci-resumo > div { display: flex; justify-content: space-between; gap: .5rem; }
.aci-resumo > div > span:first-child { color: var(--ink-soft, #6b6478); }
.aci-linha { display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: var(--ink, #261238); margin-top: .5rem; }
.aci-linha .form-select, .aci-linha .form-control { width: auto; min-height: 38px; }
.aci-linha .form-select { min-width: 180px; }
.aci-lista { padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: .4rem; }
/* janelas */
.acm-fundo { position: fixed; inset: 0; background: rgba(38,18,56,.5); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.acm { background: var(--surface, #fff); border-radius: 18px; width: 100%; max-width: 620px; max-height: calc(100vh - 2rem); display: flex; flex-direction: column; box-shadow: 0 20px 44px rgba(76,26,107,.25); }
.acm-cab { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border-soft, #f0eef7); }
.acm-cab h2 { font-family: var(--f-display, Poppins, sans-serif); font-size: 1.15rem; font-weight: 700; margin: 0; }
.acm-x { width: 44px; height: 44px; border: 0; background: none; font-size: 1.5rem; color: var(--ink-soft, #6b6478); border-radius: 10px; cursor: pointer; }
.acm-corpo { padding: 1rem 1.25rem; overflow-y: auto; display: flex; flex-direction: column; gap: .85rem; }
.acm-erro { color: #a1182b; font-size: .86rem; font-weight: 600; }
.acm-erro:empty { display: none; }
.acm-pe { display: flex; justify-content: flex-end; gap: .5rem; padding: .85rem 1.25rem 1.1rem; border-top: 1px solid var(--border-soft, #f0eef7); }
.acm-pe .btn { min-height: 44px; }
@media (max-width: 767.98px) {
  .aci-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aci-busca { margin-left: 0; width: 100%; }
  .aci-2 { grid-template-columns: 1fr; }
  .aci-det__n2 { width: 100%; }
  .aci-btns { width: 100%; }
  .aci-btns .btn { flex: 1 1 auto; }
  .acc-ficha__res { margin-left: 0; }
  .acm-fundo { align-items: flex-end; padding: 0; }
  .acm { border-radius: 18px 18px 0 0; max-height: 92vh; }
}

/* v33 — Janela "Montar copo" (Vendas > Pedidos) */
.acm--copo { max-width: 780px; }
.acm--copo .acm-cab small { display: block; font-size: .8rem; }
.acx-painel--janela { padding: 0; border: 0; box-shadow: none; background: transparent; }
.acx-painel--janela .acx-rodape { position: sticky; bottom: -1rem; background: var(--surface, #fff); padding-top: .6rem; padding-bottom: .4rem; }

/* v34 — Cardápio: abas e "Cardápio digital" */
.acc-cab { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; }
.acc-abas { display: flex; gap: 4px; background: var(--surface, #fff); padding: 4px; border-radius: 12px; border: 1px solid var(--border-soft, #eee6f4); }
.acc-aba { min-height: 40px; padding: 0 14px; border: 0; border-radius: 9px; background: transparent; color: var(--ink, #261238); font-weight: 600; font-size: .9rem; }
.acc-aba[aria-selected="true"] { background: var(--purple, #7c2fcf); color: #fff; }
.cdg { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 1rem; align-items: start; }
.cdg-sec { padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.cdg-liga { display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem; border-radius: 12px; background: #f4ecfb; cursor: pointer; margin: 0; }
.cdg-liga span { flex: 1 1 auto; }
.cdg-liga b, .cdg-liga small { display: block; }
.cdg-liga small, .cdg-campo small, .cdg-qr small { color: var(--ink-soft, #5d4a6e); font-size: .8rem; }
.cdg-liga input { width: 1.4rem; height: 1.4rem; flex-shrink: 0; }
.cdg-campo { display: flex; flex-direction: column; gap: .35rem; }
.cdg-campo > label, .cdg-rot, .cdg-o legend { font-weight: 700; font-size: .9rem; }
.cdg-linha { display: flex; gap: .5rem; align-items: center; }
.cdg-linha .form-control { min-height: 44px; }
.cdg-linha #cdg-link { flex: 1 1 auto; background: #f6f2fa; }
.cdg-hora .form-control { max-width: 120px; }
.cdg-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.cdg-dias { display: flex; flex-wrap: wrap; gap: .3rem; }
.cdg-dias label { display: inline-flex; align-items: center; gap: .25rem; font-size: .8rem; padding: .2rem .45rem; border: 1px solid #d9c8ea; border-radius: 8px; cursor: pointer; }
.cdg-o { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .6rem; }
.cdg-chk { display: flex; align-items: flex-start; gap: .6rem; cursor: pointer; margin: 0; }
.cdg-chk input { width: 1.2rem; height: 1.2rem; margin-top: .1rem; flex-shrink: 0; }
.cdg-chk small { color: var(--ink-soft, #5d4a6e); }
.cdg-link { border: 0; background: none; padding: 0; color: #6b21a8; text-decoration: underline; font-size: .85rem; }
.cdg-prods { margin-left: 1.8rem; display: flex; flex-direction: column; gap: .45rem; max-height: 260px; overflow-y: auto; padding: .6rem .75rem; border: 1px solid #eee6f4; border-radius: 10px; }
.cdg-prods__acoes { display: flex; gap: 1rem; }
.cdg-erro { color: #b91c1c; font-size: .9rem; }
.cdg-erro:empty { display: none; }
.cdg-pe { display: flex; justify-content: flex-end; }
.cdg-pe .btn { min-height: 44px; padding: 0 1.4rem; }
.cdg-qr { align-items: center; text-align: center; }
.cdg-qr__img { width: 206px; height: 206px; display: flex; align-items: center; justify-content: center; border: 1px solid #e4d9ee; border-radius: 12px; padding: 8px; color: var(--ink-soft, #5d4a6e); }
.cdg-qr__img svg { width: 190px; height: 190px; }
.cdg-full { width: 100%; min-height: 44px; font-weight: 700; }
.btn-dark.cdg-full { background: #261238; border-color: #261238; color: #fff; }
.cdg-nota { margin: 0; padding-top: .75rem; border-top: 1px solid #eee6f4; font-size: .85rem; color: var(--ink-soft, #5d4a6e); }
@media (max-width: 900px) { .cdg { grid-template-columns: minmax(0, 1fr); } .cdg-2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .cdg-linha { flex-wrap: wrap; } .cdg-linha #cdg-link { flex-basis: 100%; } }

/* v35 — Cardápio digital: pedido online */
.cdg-ops { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.cdg-op { display: flex; gap: .55rem; align-items: flex-start; padding: .7rem .75rem; border: 1px solid #d9c8ea; border-radius: 12px; cursor: pointer; margin: 0; font-size: .9rem; }
.cdg-op.on { border: 2px solid var(--purple, #7c2fcf); background: #faf6fd; }
.cdg-op input { accent-color: var(--purple, #7c2fcf); margin-top: .2rem; width: 18px; height: 18px; flex-shrink: 0; }
.cdg-op b, .cdg-op small { display: block; }
.cdg-op small { color: var(--ink-soft, #5d4a6e); font-size: .78rem; }
.cdg-online { display: flex; flex-direction: column; gap: .8rem; padding: .85rem; border-radius: 12px; background: #faf6fd; }
.cdg-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.cdg-3 .form-control { min-height: 44px; }
.cdg-linha--wrap { flex-wrap: wrap; gap: .4rem 1rem; }
.cdg-chk--in { align-items: center; }
@media (max-width: 700px) { .cdg-ops, .cdg-3 { grid-template-columns: minmax(0, 1fr); } }

/* v36 — logo da loja (cardápio digital) */
.cdg-logo { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.cdg-logo__img { width: 96px; height: 96px; border-radius: 20px; background: #f7f2fb; border: 1px dashed #c9b3dc; display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.cdg-logo__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cdg-logo__img span { font-size: .8rem; color: var(--ink-soft, #5d4a6e); }
.cdg-logo__tx { flex: 1 1 240px; display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.cdg-logo__tx small { color: var(--ink-soft, #5d4a6e); font-size: .8rem; }
.cdg-tirar { color: #9f1239; }

/* v38 — logo da loja no topo do cupom do caixa (preparo.js põe o bloco logo
   depois do cabeçalho; aqui ele vai para o topo e sai em preto e branco) */
@media print { body.printing-receipt .receipt-print:has(> .acai-cupom-logo) { display: flex !important; flex-direction: column; } }
.receipt-print > .acai-cupom-logo { order: -1; text-align: center; margin: 0 0 4px; }
.receipt-print > .acai-cupom-logo img { max-width: 140px; max-height: 90px; object-fit: contain; filter: grayscale(1) contrast(1.15); display: inline-block; }
.cdg-logo-cupom { display: flex; gap: .6rem; align-items: flex-start; background: #f7f2fb; border-radius: 10px; padding: .6rem .75rem; margin: 0; cursor: pointer; }
.cdg-logo-cupom input { width: 1.15rem; height: 1.15rem; margin-top: .15rem; flex-shrink: 0; }
.cdg-logo-cupom b, .cdg-logo-cupom small { display: block; }

/* v39 — /master › Planos: tipo de loja */
.mp-filtros { display: flex; flex-wrap: wrap; gap: .5rem; margin: -0.5rem 0 1.25rem; }
.mp-chip { min-height: 38px; padding: 0 .9rem; border-radius: 20px; border: 1px solid var(--border, #e4d9ee); background: var(--surface, #fff); color: var(--ink, #261238); font-weight: 600; font-size: .875rem; }
.mp-chip.on { background: #26113a; border-color: #26113a; color: #fff; }
.mp-tipos { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 .5rem; }
.mp-tipo { font-size: .72rem; font-weight: 700; padding: .2rem .6rem; border-radius: 20px; }
.mp-tipo--ponto { background: #dcfce7; color: #14532d; }
.mp-tipo--acaiteria { background: #f3e8ff; color: #6b21a8; }
.mp-tipo--completo { background: #fef3c7; color: #7a4a00; }
.mp-ramos { border: 1px solid var(--border, #e4d9ee); border-radius: 12px; padding: .5rem .85rem .75rem; }
.mp-ramos legend { float: none; width: auto; padding: 0 .35rem; margin: 0; font-size: .875rem; }
.mp-ramo { display: flex; align-items: center; gap: .55rem; padding: .35rem 0; cursor: pointer; margin: 0; }
.mp-ramo input { width: 1.1rem; height: 1.1rem; margin: 0; flex-shrink: 0; }
.mp-ramo small { color: var(--ink-soft, #5d4a6e); }

/* v39 — cadastro: tipo sem plano */
.cl-sem-plano { font-size: .85rem; line-height: 1.5; color: #4a2a66; background: #faf7fd; border: 1px dashed #c9b3dc; border-radius: 12px; padding: .75rem .9rem; }

/* v39 — site principal: caminho para a página da açaiteria */
.nav-acai { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700 !important; }
.nav-novo { font-size: .62rem; font-weight: 800; letter-spacing: .04em; background: #f2b84b; color: #261238; padding: .12rem .45rem; border-radius: 10px; line-height: 1.3; }
.hero-acai { display: inline-block; margin: .35rem 0 .6rem; color: #f6d79b !important; font-weight: 600; font-size: .92rem; text-decoration: underline; text-underline-offset: 3px; }
.hero-acai:hover { color: #fff !important; }
.acai-faixa { padding: 2.5rem 0 0; }
.acai-faixa__box { background: #26113a; color: #fff; border-radius: 24px; padding: 2rem 2.25rem; display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.acai-faixa__tx { flex: 1 1 380px; display: flex; flex-direction: column; gap: .55rem; }
.acai-faixa__selo { align-self: flex-start; font-size: .7rem; font-weight: 800; letter-spacing: .1em; background: #f2b84b; color: #261238; padding: .3rem .65rem; border-radius: 12px; }
.acai-faixa__tx h2 { margin: 0; font-family: Poppins, sans-serif; font-size: 1.75rem; color: #fff; }
.acai-faixa__tx p { margin: 0; color: #d9c8ea; line-height: 1.55; }
.acai-faixa__bt { flex-shrink: 0; background: #fff; color: #26113a !important; text-decoration: none; padding: .95rem 1.5rem; border-radius: 26px; font-weight: 800; }
.acai-faixa__bt:hover { background: #f2b84b; }
.precos-acai { text-align: center; margin: 1.75rem 0 0; color: var(--ink-soft, #5d4a6e); }
.precos-acai a { font-weight: 700; }
@media (max-width: 575px) { .acai-faixa__box { padding: 1.5rem; } .acai-faixa__bt { width: 100%; text-align: center; } .acai-faixa__tx h2 { font-size: 1.4rem; } }

/* v40 — Relatórios da açaiteria: complementos e adicionais */
.rp-lista li { display: flex; flex-direction: column; gap: .25rem; }
.rp-barra { height: 8px; border-radius: 4px; background: #efe6f8; overflow: hidden; }
.rp-barra__fill { height: 100%; border-radius: 4px; background: var(--purple, #7c2fcf); -webkit-print-color-adjust: exact; print-color-adjust: exact; }

/* ---------- v43: entrada de vários insumos (uma nota) ---------- */
.acm.acm--larga { max-width: 1040px; }
.aci-abas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line, #e3dbea); border-radius: 12px; overflow: hidden; margin-bottom: .9rem; }
.aci-abas button { min-height: 44px; border: 0; background: var(--surface, #fff); font-weight: 600; color: var(--ink-soft, #5d4a6e); }
.aci-abas button[aria-selected="true"] { background: #f3e8ff; color: #6b21a8; box-shadow: inset 0 0 0 2px #7c2fcf; border-radius: 12px; }
.acn-compra { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 1.1rem; align-items: start; }
.acn-compra__esq, .acn-compra__dir { display: flex; flex-direction: column; gap: .8rem; min-width: 0; }
.acn-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .3rem; }
.acn-chip { min-height: 36px; padding: 0 .85rem; border-radius: 18px; border: 1px solid var(--line, #ddd0ea); background: var(--surface, #fff); color: var(--ink, #261238); font-weight: 600; font-size: .85rem; }
.acn-chip:hover { background: #261238; color: #fff; border-color: #261238; }
.acn-itens { border: 1px solid var(--line, #ece4f3); border-radius: 14px; overflow: hidden; }
.acn-linha { display: grid; grid-template-columns: minmax(0, 1fr) 120px 110px 100px 40px; gap: .5rem; align-items: center; padding: .55rem .8rem; border-top: 1px solid #f1ebf6; }
.acn-linha--cab { border-top: 0; background: var(--surface-alt, #faf7fd); font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-soft, #5d4a6e); }
.acn-q { display: flex; align-items: center; gap: .35rem; }
.acn-q span { font-size: .8rem; color: var(--ink-soft, #5d4a6e); }
.acn-custo { font-size: .85rem; }
.acn-x { width: 40px; height: 36px; border: 0; background: transparent; color: #a3324a; font-size: 1.15rem; border-radius: 8px; }
.acn-x:hover { background: #fdecef; }
.acn-add { padding: .55rem .8rem; border-top: 1px solid #f1ebf6; }
.acn-add select { max-width: 320px; border-style: dashed; color: #6b21a8; font-weight: 600; }
.acn-vazio { padding: 1rem .8rem; color: var(--ink-soft, #5d4a6e); font-size: .9rem; border-top: 1px solid #f1ebf6; }
.acn-caixa { background: var(--surface-alt, #faf7fd); border: 1px solid var(--line, #ece4f3); border-radius: 14px; padding: .85rem .9rem; display: flex; flex-direction: column; gap: .6rem; margin: 0; min-width: 0; }
.acn-caixa legend { float: left; width: 100%; font-size: .9rem; font-weight: 700; margin: 0; }
.acn-total { font-size: 1.2rem; font-weight: 700; }
.acn-rodape { margin-top: .9rem; padding-top: .7rem; border-top: 1px solid var(--line, #ece4f3); font-size: .92rem; color: var(--ink-soft, #5d4a6e); }
.acn-rodape strong { color: var(--ink, #261238); }
.aci-lista--marcar label { display: flex; align-items: center; gap: .5rem; min-height: 40px; cursor: pointer; }
@media (max-width: 860px) {
  .acn-compra { grid-template-columns: 1fr; }
  .acn-linha { grid-template-columns: repeat(3, minmax(0, 1fr)) 40px; }
  .acn-linha > :first-child { grid-column: 1 / -1; }
  .acn-linha--cab { display: none; }
}

/* ===== v52: Cardápio online no ponto de açaí (tela própria) + opção "No sistema e no WhatsApp" ===== */
.cdg-ops { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) { .cdg-ops { grid-template-columns: minmax(0, 1fr); } }
.cdg-tela { display: flex; flex-direction: column; gap: 1rem; }
.cdg-tela__t { font-size: 1.5rem; font-weight: 700; margin: 0; }
.cdg-tela__s { margin: .25rem 0 0; color: var(--ink-soft, #5d4a6e); font-size: .92rem; max-width: 760px; }
.cdg-leg { font-weight: 400; color: var(--ink-soft, #5d4a6e); font-size: .8rem; margin-left: .35rem; }
.cdg-pp { display: flex; flex-direction: column; border: 1px solid #ece4f3; border-radius: 12px; overflow: hidden; }
.cdg-pp__l { display: grid; grid-template-columns: minmax(0, 1fr) 140px 210px; gap: .75rem; align-items: center; padding: .55rem .8rem; border-top: 1px solid #f1ebf6; font-size: .9rem; }
.cdg-pp__l:first-child { border-top: 0; }
.cdg-pp__l--off { color: #6b5d78; }
.cdg-pp__n { display: flex; align-items: center; gap: .6rem; margin: 0; cursor: pointer; min-height: 40px; }
.cdg-pp__n input { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--purple, #7c2fcf); }
.cdg-pp__n b, .cdg-pp__n small { display: block; }
.cdg-pp__n small { color: var(--ink-soft, #5d4a6e); font-size: .78rem; }
.cdg-pp__pr { white-space: nowrap; font-weight: 600; }
.cdg-pp__p { font-size: .85rem; color: var(--ink-soft, #5d4a6e); }
select.cdg-pp__p { min-height: 40px; color: inherit; }
@media (max-width: 700px) {
  .cdg-pp__l { grid-template-columns: minmax(0, 1fr) auto; }
  .cdg-pp__l > :last-child { grid-column: 1 / -1; }
}

/* v66 — foto do complemento/tamanho no cadastro do Cardápio */
.acc-foto-wrap { display: inline-flex; align-items: center; gap: 2px; }
.acc-foto { width: 46px; height: 46px; flex: none; border: 1.5px dashed #c8b8d8; border-radius: 10px; background: #faf7fd; padding: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.acc-foto--on { border: 1px solid #e4dcef; background: #fff; }
.acc-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.acc-foto:hover { border-color: #7c2fcf; }
.acc-foto-x { width: 20px; height: 20px; flex: none; border: 0; border-radius: 50%; background: #f0e7f8; color: #7a2b8e; font-size: 13px; line-height: 1; cursor: pointer; }
.acc-foto-x:hover { background: #e7d3f0; }

/* v69 — fornecedor por item na compra + "De quem eu compro" no detalhe do insumo */
.acn-forn { grid-column: 1 / -1; padding: 2px 2px 8px; }
.acn-forn label { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: .8rem; color: var(--ink-soft); margin: 0; }
.acn-forn select { max-width: 280px; }
.aci-forn-campo .aci-sub { margin-top: 4px; }
.aci-fcmp { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; padding: 4px 2px 2px; }
.aci-fcard { position: relative; border: 1px solid var(--border); border-radius: var(--r-md); padding: 12px 14px; }
.aci-fcard--best { border-color: #86c99a; box-shadow: 0 0 0 1px #86c99a inset; }
.aci-fbadge { position: absolute; top: 10px; right: 10px; background: #e7f6ec; color: #15803d; font-size: .66rem; font-weight: 700; padding: 2px 7px; border-radius: 999px; }
.aci-fnome { font-weight: 600; margin-bottom: 4px; padding-right: 72px; }
.aci-fpreco { font-size: 1.3rem; font-weight: 800; font-family: var(--f-display); line-height: 1.1; }
.aci-fpreco span { font-size: .8rem; font-weight: 600; color: var(--ink-soft); }
