/* Componente do cardápio (app, garçom, balcão). Usa as variáveis de cor de quem o inclui. */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mt-busca input { width: 100%; min-height: 46px; border: 1px solid var(--linha); border-radius: 12px; padding: 0 14px; font-size: 16px; background: #fff; }
.mt-abas { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
@media (min-width: 600px) { .mt-abas { flex-wrap: wrap; overflow: visible; } }
.mt-aba { flex: none; min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid var(--linha); background: #fff; font-size: 14px; font-weight: 600; }
.mt-aba[aria-pressed="true"] { background: var(--verde); border-color: var(--verde); color: #fff; }
.mt-lista { display: flex; flex-direction: column; gap: 10px; }
.mt-produto-btn { width: 100%; text-align: left; border: 0; background: #fff; border-radius: 14px; padding: 14px; display: flex; align-items: center; gap: 12px; }
.mt-produto-btn:disabled { cursor: not-allowed; }
.mt-produto.indisponivel .mt-produto-btn { opacity: 0.6; }
.mt-foto { width: 92px; height: 92px; flex: none; object-fit: cover; border-radius: 12px; background: var(--fundo); }
.mt-foto-grande { width: 100%; max-height: 240px; object-fit: cover; border-radius: 22px 22px 0 0; flex: none; background: var(--fundo); }
@media (min-width: 700px) { .mt-foto-grande { border-radius: 22px 22px 0 0; } }
.mt-produto-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mt-produto-info b { font-size: 15px; }
.mt-produto-info small { font-size: 13px; color: var(--cinza); line-height: 1.35; }
.mt-preco { font-size: 14px; font-weight: 700; color: var(--rosa); }
.mt-mais { width: 44px; height: 44px; flex: none; border-radius: 22px; background: var(--verde); color: #fff; display: flex; align-items: center; justify-content: center; }
.mt-produto.indisponivel .mt-mais { background: var(--linha); color: var(--cinza); }
.mt-vazio { color: var(--cinza); }

.mt-travado { overflow: hidden; }
.mt-fundo { position: fixed; inset: 0; z-index: 50; background: rgba(23, 32, 26, 0.55); display: flex; align-items: flex-end; justify-content: center; }
.mt-folha { width: 100%; max-width: 560px; max-height: 92vh; background: #fff; border-radius: 22px 22px 0 0; display: flex; flex-direction: column; }
@media (min-width: 700px) { .mt-fundo { align-items: center; } .mt-folha { border-radius: 22px; max-height: 86vh; } }
.mt-topo { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; padding: 18px 16px 10px; }
.mt-topo h2 { margin: 0; font-family: var(--display, inherit); font-weight: 800; font-size: 24px; }
.mt-topo p { margin: 4px 0 0; color: var(--cinza); font-size: 14px; }
.mt-corpo { overflow-y: auto; padding: 0 16px 12px; display: flex; flex-direction: column; gap: 14px; }
.mt-grupo { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.mt-grupo legend { padding: 0; margin-bottom: 8px; display: flex; flex-direction: column; }
.mt-grupo legend span { font-weight: 700; font-size: 16px; color: var(--verde); }
.mt-grupo legend small { font-size: 12px; color: var(--cinza); }
.mt-opcoes { display: flex; flex-wrap: wrap; gap: 6px; }
.mt-op { min-height: 42px; padding: 0 12px; border-radius: 21px; border: 1px solid var(--linha); background: var(--fundo); font-size: 14px; font-weight: 600; }
.mt-op small { font-weight: 500; opacity: 0.85; }
.mt-op s { opacity: 0.7; }
.mt-op[aria-pressed="true"] { background: var(--rosa); border-color: var(--rosa); color: #fff; }
.mt-op:disabled { opacity: 0.5; cursor: not-allowed; text-decoration: line-through; }
.mt-obs { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: var(--tinta-2, #3B433D); }
.mt-obs input { min-height: 44px; border: 1px solid var(--linha); border-radius: 10px; padding: 0 12px; font-size: 16px; font-weight: 400; }
.mt-rodape { display: flex; gap: 10px; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid #EEEBE0; }
.mt-qtd { display: flex; align-items: center; gap: 6px; }
.mt-qtd span { min-width: 22px; text-align: center; font-weight: 800; font-size: 18px; }
.mt-icone { width: 44px; height: 44px; flex: none; border-radius: 22px; border: 1px solid var(--linha); background: #fff; display: inline-flex; align-items: center; justify-content: center; color: inherit; }
.mt-icone:disabled { opacity: 0.4; }
.mt-ok { flex: 1; min-height: 52px; border: 0; border-radius: 14px; background: var(--rosa); color: #fff; font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; }
.mt-erro { margin: 0 16px 14px; padding: 10px 12px; border-radius: 10px; background: #FDECEA; color: #B42318; font-size: 14px; font-weight: 600; }

.mt-linha { display: flex; gap: 8px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid #EEEBE0; }
.mt-linha > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mt-linha small { font-size: 12px; color: var(--cinza); }
.mt-q { font-weight: 800; min-width: 26px; }
.mt-valor { white-space: nowrap; }
.mt-obs-item { color: #8A5A0B !important; }
.mt-remover { width: 36px; height: 36px; border: 0; color: var(--cinza); }
