/* Base compartilhada — Açaí Norte Mix (opções A e B). Cada página define as variáveis --nm-*. */
:root {
  --roxo: #4B0055;
  --roxo-escuro: #2C0035;
  --roxo-profundo: #1E0026;
  --magenta: #A91E70;
  --laranja: #FFA400;
  --turquesa: #10B7AA;
  --tinta: #24112B;
  --cinza: #6B6170;
  --max: 1320px;
  --gutter: clamp(16px, 4vw, 56px);
  --font: "Montserrat", system-ui, sans-serif;

  --nm-surface: #fff;
  --nm-text: var(--tinta);
  --nm-muted: #6b6170;
  --nm-line: #e6e0ea;
  --nm-accent: var(--magenta);
  --nm-accent-ink: #fff;
  --nm-soft: #f6f1f8;
  --nm-radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); color: var(--tinta); line-height: 1.5; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg.fill { fill: currentColor; stroke: none; }
svg[preserveAspectRatio="none"] { stroke: none; }
:focus-visible { outline: 3px solid var(--laranja); outline-offset: 2px; }

/* ---------- sacola (componente) ---------- */
.nm-tabela { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: var(--nm-soft); margin-bottom: 14px; }
.nm-tabela button, [data-tabela] { border: 0; background: transparent; border-radius: 999px; padding: 9px 12px; font-weight: 600; font-size: 14px; color: var(--nm-muted); }
.nm-tabela button[aria-selected="true"], .tabela-switch [aria-selected="true"] { background: var(--nm-accent); color: var(--nm-accent-ink); }

.nm-itens { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; max-height: 300px; overflow: auto; }
.nm-item { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "info total" "qtd total"; gap: 6px 12px; padding: 10px 12px; border: 1px solid var(--nm-line); border-radius: 12px; background: var(--nm-surface); }
.nm-item-info { grid-area: info; display: flex; flex-direction: column; font-size: 14px; line-height: 1.3; }
.nm-item-info span { color: var(--nm-muted); font-size: 12.5px; }
.nm-item-total { grid-area: total; align-self: center; font-size: 15px; }
.nm-off { opacity: .55; }
.nm-qtd { grid-area: qtd; display: inline-flex; align-items: center; gap: 4px; }
.nm-qtd button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--nm-line); background: var(--nm-surface); display: grid; place-items: center; }
.nm-qtd button svg { width: 15px; height: 15px; stroke-width: 2.2; }
.nm-qtd output { min-width: 26px; text-align: center; font-weight: 700; }
.nm-vazio { padding: 18px; border: 1.5px dashed var(--nm-line); border-radius: 12px; color: var(--nm-muted); font-size: 14px; text-align: center; }

.nm-campo { border: 0; padding: 0; margin: 0 0 14px; }
.nm-campo legend { font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.nm-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.nm-seg3 { grid-template-columns: repeat(3, 1fr); }
.nm-seg label { position: relative; }
.nm-seg input { position: absolute; opacity: 0; inset: 0; }
.nm-seg span { display: block; text-align: center; padding: 9px 6px; border: 1.5px solid var(--nm-line); border-radius: 10px; font-size: 13.5px; font-weight: 600; background: var(--nm-surface); }
.nm-seg input:checked + span { border-color: var(--nm-accent); color: var(--nm-accent); background: color-mix(in srgb, var(--nm-accent) 8%, var(--nm-surface)); }
.nm-seg input:focus-visible + span { outline: 3px solid var(--laranja); }
.nm-select { width: 100%; margin-top: 8px; padding: 10px 12px; border: 1.5px solid var(--nm-line); border-radius: 10px; background: var(--nm-surface); }
.nm-nota { margin: 8px 0 0; font-size: 13px; color: var(--nm-muted); line-height: 1.45; }
.nm-alerta { color: #9a4b00; background: #fff4e0; border-radius: 8px; padding: 8px 10px; }

.nm-totais { margin: 4px 0 10px; padding: 12px 0 0; border-top: 1px solid var(--nm-line); }
.nm-totais div { display: flex; justify-content: space-between; font-size: 14px; padding: 3px 0; }
.nm-totais dt { color: var(--nm-muted); }
.nm-totais dd { margin: 0; font-weight: 600; }
.nm-totais .nm-total { font-size: 18px; padding-top: 8px; }
.nm-totais .nm-total dt { color: var(--nm-text); font-weight: 700; }
.nm-totais .nm-total dd { font-weight: 800; }
.nm-min { font-size: 13px; margin: 0 0 8px; color: var(--nm-muted); }
.nm-min.ok { color: #0b8a7f; font-weight: 600; }
.nm-enviar { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 15px; border-radius: 12px; background: #1fa855; color: #fff; font-weight: 700; font-size: 16px; margin-top: 8px; transition: filter .2s; }
.nm-enviar:hover { filter: brightness(1.07); }
.nm-enviar.is-off { background: #c9c3cc; cursor: not-allowed; }
.nm-rodape { font-size: 12px; color: var(--nm-muted); margin: 10px 0 0; line-height: 1.45; }

/* ---------- verificador de entrega (componente) ---------- */
.nm-ent-busca { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 16px; border: 1.5px solid var(--nm-line); border-radius: 999px; background: var(--nm-surface); color: var(--nm-accent); }
.nm-ent-busca select { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 4px; font-weight: 600; color: var(--nm-text); outline: 0; }
.nm-ent-dica { color: var(--nm-muted); font-size: 14.5px; margin: 14px 4px 0; }
.nm-ent-res { margin-top: 16px; display: grid; gap: 12px; }
.nm-ent-data span { display: block; font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--nm-muted); font-weight: 600; }
.nm-ent-data strong { display: block; font-size: 24px; font-weight: 800; color: var(--nm-accent); line-height: 1.15; text-transform: capitalize; }
.nm-ent-data small { color: var(--nm-muted); font-size: 13px; }
.nm-ent-info { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.nm-ent-info b { display: inline-block; min-width: 70px; color: var(--nm-text); }
.nm-ent-info li { color: var(--nm-muted); }
.nm-ent-info em { font-style: normal; color: #9a4b00; }
.nm-ent-aviso { margin: 0; font-size: 13px; color: var(--nm-muted); background: var(--nm-soft); border-radius: 10px; padding: 9px 12px; }
.nm-ent-sem strong { font-size: 17px; }
.nm-ent-sem p { margin: 4px 0 6px; color: var(--nm-muted); font-size: 14px; }
.nm-ent-wa { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 10px 16px; border-radius: 999px; background: #1fa855; color: #fff; font-weight: 600; font-size: 14px; }

/* semana */
.nm-semana { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.nm-semana li { border-radius: 12px; padding: 12px 10px; background: var(--nm-surface); border: 1px solid var(--nm-line); font-size: 13px; line-height: 1.3; }
.nm-semana b { display: block; font-size: 15px; margin-bottom: 4px; }
.nm-semana .sem { opacity: .55; }
.nm-semana .tem b { color: var(--nm-accent); }
.nm-semana .hoje { box-shadow: inset 0 0 0 2px var(--laranja); }

/* toast */
.nm-toast { position: fixed; z-index: 200; left: 50%; bottom: 88px; transform: translate(-50%, 20px); opacity: 0; transition: .25s; background: #1d1022; color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.25); pointer-events: none; max-width: calc(100% - 32px); }
.nm-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* faq */
.faq details { border-bottom: 1px solid var(--nm-line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 0; font-weight: 600; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--nm-accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--nm-muted); max-width: 760px; }


@media (max-width: 760px) {
  .nm-semana { grid-template-columns: repeat(3, 1fr); }
}
