/* Fontes hospedadas aqui (sem Google Fonts): só o latim, que cobre o português. */
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/baloo2-700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/baloo2-800.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/nunito-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/nunito-700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/nunito-800.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Cumpade Delivery — visual do protótipo (verde). Computador por padrão; celular em @media no fim. */
:root {
  --verde: #157A34; --verde-esc: #0E4F24; --verde-cl: #DDF0E1; --cartao: #F3F7F4;
  --texto: #1a1410; --suave: #5c4d40; --borda: #8a7664; --linha: #E3ECE5;
  --display: 'Baloo 2', 'Arial Rounded MT Bold', system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--texto); font: 400 16px/24px Nunito, system-ui, sans-serif; }
a { color: var(--verde); }
a:hover { color: var(--verde-esc); }
:focus-visible { outline: 3px solid var(--verde-esc); outline-offset: 3px; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; }
input::placeholder { color: var(--suave); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.suave { color: var(--suave); }
.forte { font-weight: 700; }
.t-xl { font-size: 44px; line-height: 44px; }
.t-lg { font-size: 32px; line-height: 34px; }
.legal { font-size: 13px; line-height: 18px; font-weight: 700; color: var(--suave); }
@media (min-width: 768px) { .so-cel { display: none !important; } }
@media (max-width: 767px) { .so-pc { display: none !important; } }

/* ---------- Marca ---------- */
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo img { width: 80px; height: 56px; object-fit: contain; }
.logo-txt { display: flex; flex-direction: column; align-items: center; color: var(--verde); }
.logo-nome { font: 800 32px/30px var(--display); letter-spacing: .5px; }
.logo-sub { display: flex; align-items: center; gap: 6px; font: 800 11px/14px Nunito, sans-serif; letter-spacing: 3px; }
.logo-sub::before, .logo-sub::after { content: ""; width: 16px; height: 2px; background: var(--verde); }

/* ---------- Cabeçalho (computador) ---------- */
.faixa { background: var(--verde-esc); color: #fff; font-size: 13px; line-height: 18px; font-weight: 700; text-align: center; padding: 8px 16px; }
.cab { background: var(--cartao); border-bottom: 1px solid var(--linha); }
.cab--fixo { position: sticky; top: 0; z-index: 10; }
.cab-in { max-width: 1320px; margin: 0 auto; padding: 12px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.cab-in--entre { justify-content: space-between; }
.cab-acoes { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.btn-end { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--borda); border-radius: 16px; padding: 8px 12px; color: var(--texto); min-height: 52px; text-align: left; }
.btn-end-txt { display: flex; flex-direction: column; }
.btn-end-rot { font-size: 13px; line-height: 18px; font-weight: 700; color: var(--suave); }
.btn-end-val { line-height: 20px; font-weight: 800; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.busca { flex: 1 1 340px; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--borda); border-radius: 8px; padding: 0 6px 0 16px; min-height: 52px; }
.busca input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; color: var(--texto); background: transparent; }
.busca:focus-within { outline: 3px solid var(--verde-esc); outline-offset: 3px; }
.busca button { background: var(--verde-esc); color: #fff; border: 0; border-radius: 8px; padding: 0 16px; height: 40px; font-weight: 800; }
.btn-entrar, .btn-entrar:hover { display: flex; align-items: center; color: var(--texto); border: 2px solid var(--texto); border-radius: 16px; padding: 0 20px; height: 48px; font-weight: 800; text-decoration: none; }
.btn-sacola, .btn-sacola:hover { position: relative; display: flex; align-items: center; gap: 8px; background: var(--verde); color: #fff; border-radius: 16px; padding: 0 20px; height: 52px; font-weight: 800; text-decoration: none; }
.selo { position: absolute; top: -8px; right: -8px; min-width: 24px; height: 24px; padding: 0 4px; border-radius: 999px; background: var(--verde-esc); color: #fff; font-size: 13px; line-height: 18px; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 2px solid var(--cartao); }

/* ---------- Páginas ---------- */
.pag { max-width: 1320px; margin: 0 auto; padding: 32px 24px 48px; display: flex; flex-direction: column; gap: 48px; }
.pag--lista { padding-top: 24px; gap: 24px; }
.pag--produto { padding-top: 24px; gap: 32px; }
.secao { display: flex; flex-direction: column; gap: 16px; }
.secao-cab { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.secao-tit { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ver-todas { font-weight: 800; }
.crumb { font-size: 13px; line-height: 18px; font-weight: 700; color: var(--suave); display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Home: destaques ---------- */
.destaques { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.hero { grid-column: span 2; position: relative; min-height: 280px; background: var(--verde); color: #fff; border-radius: 24px; padding: 48px; overflow: hidden; display: flex; align-items: center; }
.hero::after { content: ""; position: absolute; top: -10px; right: -10px; width: 420px; height: 300px; opacity: .14; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 24 24'><path d='M12 2s-7 8-7 13a7 7 0 0 0 14 0c0-5-7-13-7-13z' fill='%23fff'/></svg>") 0 0 / 60px 60px; pointer-events: none; }
.hero-txt { position: relative; display: flex; flex-direction: column; gap: 16px; max-width: 520px; }
.hero h1 { font-size: 64px; line-height: 60px; letter-spacing: -1px; }
.hero p { font-weight: 700; }
.pilula { align-self: flex-start; background: var(--verde-cl); color: var(--texto); font-size: 13px; line-height: 18px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.btn-claro, .btn-claro:hover { align-self: flex-start; background: var(--cartao); color: var(--verde-esc); text-decoration: none; font-weight: 800; padding: 16px 24px; border-radius: 16px; margin-top: 8px; }
.kit { min-height: 280px; background: var(--verde-cl); color: var(--texto); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.kit-txt { display: flex; flex-direction: column; gap: 8px; }
.kit-rot { font-size: 13px; line-height: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; }
.kit h2 { font-size: 32px; line-height: 34px; }
.kit-rodape { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.kit-rodape img { width: 150px; height: 139px; object-fit: contain; }
.btn-escuro, .btn-escuro:hover { background: var(--verde-esc); color: #fff; text-decoration: none; font-weight: 800; padding: 14px 20px; border-radius: 16px; }

/* ---------- Home: categorias ---------- */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 16px; }
.cat { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: var(--texto); padding: 4px; }
.cat:hover { color: var(--texto); }
.cat-ico { position: relative; width: 100%; aspect-ratio: 1.2; background: var(--cartao); border-radius: 24px; display: flex; align-items: center; justify-content: center; transition: background .15s; }
.cat:hover .cat-ico { background: var(--verde-cl); }
.cat-ico svg { width: 40px; height: 40px; }
.cat-ico img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }
.novo { position: absolute; top: 8px; left: 8px; background: var(--verde); color: #fff; font-size: 13px; line-height: 18px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.cat-nome { font-weight: 800; line-height: 20px; text-align: center; }

/* ---------- Ofertas e cartões de produto ---------- */
.cronometro { display: flex; align-items: center; gap: 4px; background: var(--verde-esc); color: #fff; font-size: 13px; line-height: 18px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.cronometro[hidden] { display: none; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(224px, 1fr); gap: 16px; overflow-x: auto; padding: 4px 2px 16px; }
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: var(--borda); border-radius: 3px; }
.grade { flex: 999 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.card { background: var(--cartao); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: 0 10px 28px rgba(26, 20, 16, .10); transform: translateY(-2px); }
.card-img { --h: 130px; position: relative; height: 180px; background: var(--verde-cl); display: flex; align-items: center; justify-content: center; }
.grade .card-img { height: 170px; --h: 120px; }
.emb { height: var(--h); width: auto; }
.emb-garrafa { height: calc(var(--h) * 1.15); }
.emb-foto { height: calc(var(--h) * 1.25); object-fit: contain; max-width: 100%; mix-blend-mode: multiply; } /* o fundo branco da foto some sobre o verde claro */
.tag-off { position: absolute; top: 12px; left: 12px; background: var(--cartao); font-size: 13px; line-height: 18px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.grade .tag-off { background: #fff; }
.tag-eta { position: absolute; top: 12px; right: 12px; display: flex; align-items: center; gap: 4px; background: var(--verde); color: #fff; font-size: 13px; line-height: 18px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.card-corpo { padding: 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-nome { font-size: 20px; line-height: 24px; min-height: 48px; }
.card-nome a { color: var(--texto); text-decoration: none; }
.unid { font-size: 13px; line-height: 18px; font-weight: 700; color: var(--suave); }
.preco-linha { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.preco { font-size: 20px; line-height: 28px; font-weight: 800; }
.preco-linha s { font-size: 13px; line-height: 18px; color: var(--suave); }
.card-acao { margin-top: auto; padding-top: 12px; }
.pedir { width: 100%; height: 48px; border-radius: 16px; border: 0; background: var(--verde); color: #fff; font-weight: 800; }

/* ---------- Home: vantagens e rodapé ---------- */
.vantagens { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.vant { background: var(--cartao); border-radius: 24px; padding: 24px; display: flex; gap: 16px; align-items: center; }
.vant div { display: flex; flex-direction: column; }
.vant span:not(.vant-ico) { color: var(--suave); }
.vant-ico { width: 52px; height: 52px; border-radius: 16px; background: var(--verde-cl); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rodape { background: var(--verde-esc); color: #fff; margin-top: auto; }
.rodape-in { max-width: 1320px; margin: 0 auto; padding: 32px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.rodape-marca { font: 800 24px/28px var(--display); }
.rodape-legal { font-size: 13px; line-height: 18px; font-weight: 700; }
body { display: flex; flex-direction: column; min-height: 100vh; }
body > .pag { width: 100%; }

/* ---------- Lista (categoria e busca) ---------- */
.lista-topo { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.lista-topo p { margin-top: 8px; }
.ordenar { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.ordenar select { height: 44px; border: 1px solid var(--borda); border-radius: 8px; padding: 0 12px; font: inherit; background: #fff; color: var(--texto); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip, .chip:hover { height: 44px; padding: 0 16px; border-radius: 999px; font-weight: 800; display: flex; align-items: center; background: #fff; color: var(--texto); border: 2px solid var(--borda); text-decoration: none; }
.chip.on, .chip.on:hover { background: var(--verde); color: #fff; border-color: var(--verde); }
.lista-corpo { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.filtros { flex: 1 1 240px; max-width: 280px; background: var(--cartao); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 24px; }
.filtros fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.filtros legend { font: 800 20px/24px var(--display); margin-bottom: 8px; padding: 0; }
.filtros label { display: flex; gap: 8px; align-items: center; }
.filtros input { width: 20px; height: 20px; accent-color: var(--verde); }
.so-oferta { font-weight: 800; }
.vazio { grid-column: 1 / -1; background: var(--cartao); border-radius: 24px; padding: 32px; font-weight: 700; color: var(--suave); }

/* ---------- Produto ---------- */
.produto-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 48px; align-items: start; }
.foto { position: relative; aspect-ratio: 1.1; background: var(--verde-cl); border-radius: 24px; display: flex; align-items: center; justify-content: center; }
.foto .emb { height: 310px; }
.tag-bf { position: absolute; top: 24px; left: 24px; background: #fff; font-size: 13px; line-height: 18px; font-weight: 700; padding: 6px 14px; border-radius: 999px; }
.produto-info { display: flex; flex-direction: column; gap: 24px; }
.produto-tit { display: flex; flex-direction: column; gap: 8px; }
.produto-tit h1 { font-size: 44px; line-height: 44px; }
.chega { align-self: flex-start; display: flex; align-items: center; gap: 4px; background: var(--verde); color: #fff; font-size: 13px; line-height: 18px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.preco-grande { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.preco-xl { font: 800 44px/44px var(--display); }
.packs-fs { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.packs-fs legend { font: 800 24px/28px var(--display); margin-bottom: 12px; padding: 0; }
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pack { text-align: left; padding: 12px 16px; border-radius: 16px; color: var(--texto); background: #fff; border: 2px solid var(--borda); }
.pack.on { background: var(--verde-cl); border-color: var(--verde); }
.pack strong { display: block; font-size: 18px; font-weight: 800; }
.pack small { display: block; font-size: 13px; line-height: 18px; font-weight: 700; color: var(--suave); }
.comprar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.qtd { display: flex; align-items: center; height: 56px; border: 2px solid var(--borda); border-radius: 16px; padding: 0 4px; background: #fff; }
.qtd button { width: 48px; height: 48px; border: 0; background: transparent; font-size: 24px; font-weight: 800; color: var(--texto); }
.qtd span { min-width: 40px; text-align: center; font-weight: 800; font-size: 18px; }
.btn-comprar { flex: 1 1 240px; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 56px; padding: 0 24px; background: var(--verde); color: #fff; border: 0; border-radius: 16px; font-weight: 800; }
.sobre { background: var(--cartao); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.sobre h2 { font-size: 24px; line-height: 28px; }
.sobre p { color: var(--suave); }
.sobre dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
.sobre dt { font-size: 13px; line-height: 18px; font-weight: 700; color: var(--suave); }
.sobre dd { margin: 0; font-weight: 800; }
.extras { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.extra { background: var(--cartao); border-radius: 24px; padding: 16px; display: flex; align-items: center; gap: 16px; }
.extra-ico { width: 64px; height: 64px; border-radius: 16px; background: var(--verde-cl); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.extra-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.extra-info a { color: var(--texto); text-decoration: none; }
.extra-add { width: 44px; height: 44px; border-radius: 16px; border: 0; background: var(--verde); color: #fff; font-size: 22px; font-weight: 800; }

/* ---------- Sacola: botões nos cartões ---------- */
[hidden] { display: none !important; }
.card-acao form { margin: 0; }
.stepper { display: flex; align-items: center; justify-content: space-between; height: 48px; border-radius: 16px; background: var(--verde-esc); color: #fff; padding: 0 4px; font-weight: 800; }
.stepper button { width: 44px; height: 40px; border: 0; border-radius: 12px; background: transparent; color: #fff; font-size: 22px; font-weight: 800; }
.extra form { margin: 0; }

/* ---------- Página da sacola ---------- */
.pag--sacola { padding-top: 32px; gap: 24px; }
.sac-corpo { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.sac-itens { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.frete-barra { background: var(--verde-cl); border-radius: 24px; padding: 16px 24px; display: flex; flex-direction: column; gap: 8px; font-weight: 800; }
.barra { height: 10px; background: #fff; border-radius: 999px; overflow: hidden; }
.barra-cheia { height: 100%; background: var(--verde); border-radius: 999px; transition: width .2s; }
.item { background: var(--cartao); border-radius: 24px; padding: 16px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.item-img { width: 88px; height: 88px; border-radius: 16px; background: var(--verde-cl); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.item-img .emb { height: 66px; }
.item-info { flex: 1 1 300px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.item-tit { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; }
.item-tit h2 { font-size: 20px; line-height: 24px; }
.item-tit a { color: var(--texto); text-decoration: none; }
.item-base { display: flex; align-items: center; gap: 16px; }
.qtd--sm { height: 48px; padding: 0; margin: 0; }
.qtd--sm button { width: 44px; height: 44px; font-size: 22px; }
.qtd--sm span { min-width: 32px; font-size: 16px; }
.item-sub { min-width: 96px; text-align: right; font-weight: 800; font-size: 18px; }
.item-del { margin: 0; }
.item-del button { width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; }
.sac-vazia { background: var(--cartao); border-radius: 24px; padding: 48px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.sac-vazia h2 { font-size: 32px; line-height: 34px; }
.btn-verde, .btn-verde:hover { background: var(--verde); color: #fff; text-decoration: none; font-weight: 800; padding: 14px 24px; border-radius: 16px; }
.resumo { flex: 1 1 320px; max-width: 420px; background: var(--cartao); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.resumo h2 { font-size: 24px; line-height: 28px; }
.linhas { display: flex; flex-direction: column; gap: 8px; }
.linhas > div { display: flex; justify-content: space-between; gap: 12px; }
.linhas .desc strong { color: var(--verde); }
.cupom label { display: block; font-size: 13px; line-height: 18px; font-weight: 700; margin-bottom: 8px; }
.cupom form { margin: 0; }
.cupom-campo { display: flex; gap: 8px; }
.cupom-campo input { flex: 1; min-width: 0; height: 48px; border: 1px solid var(--borda); border-radius: 8px; padding: 0 12px; font: inherit; background: #fff; color: var(--texto); text-transform: uppercase; }
.cupom-campo input::placeholder { text-transform: none; }
.btn-contorno { height: 48px; padding: 0 16px; border: 2px solid var(--verde-esc); border-radius: 16px; background: transparent; color: var(--verde-esc); font-weight: 800; }
.cupom-ok { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cupom-msg { font-size: 13px; line-height: 18px; font-weight: 700; margin-top: 8px; }
.cupom-msg--error { color: #b3261e; }
.cupom-msg--success { color: var(--verde); }
.fechar { border-top: 1px solid var(--linha); padding-top: 16px; display: flex; flex-direction: column; gap: 16px; }
.total-linha { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; }
.total-linha strong { font: 800 32px/34px var(--display); }
.btn-fechar, .btn-fechar:hover { display: flex; align-items: center; justify-content: center; height: 56px; background: var(--verde); color: #fff; border-radius: 16px; font-weight: 800; text-decoration: none; }
.btn-fechar--off, .btn-fechar--off:hover { background: var(--linha); color: var(--suave); cursor: not-allowed; }

/* ---------- Formulários, entrar, checkout, pedido ---------- */
.conta-f { margin: 0; }
button.btn-entrar { background: transparent; font: inherit; font-weight: 800; cursor: pointer; }
a.btn-end, a.btn-end:hover { color: var(--texto); text-decoration: none; }
.campo { display: flex; flex-direction: column; gap: 4px; font-size: 13px; line-height: 18px; font-weight: 700; }
.campo input, .campo select { height: 48px; width: 100%; border: 1px solid var(--borda); border-radius: 8px; padding: 0 12px; font: inherit; font-size: 16px; font-weight: 400; background: #fff; color: var(--texto); }
.campo .campo-grande { height: 56px; padding: 0 16px; font-size: 18px; }
.campo-erro { color: #b3261e; font-size: 13px; line-height: 18px; font-weight: 700; }
.form-erro { background: #fdecea; color: #b3261e; border-radius: 12px; padding: 12px 16px; font-weight: 700; }
.btn-cta, .btn-cta:hover { display: flex; align-items: center; justify-content: center; width: 100%; height: 56px; border: 0; border-radius: 16px; background: var(--verde); color: #fff; font-weight: 800; text-decoration: none; cursor: pointer; }
.btn-cta:disabled { background: var(--linha); color: var(--suave); cursor: not-allowed; }
.btn-cta--contorno, .btn-cta--contorno:hover { background: transparent; color: var(--texto); border: 2px solid var(--texto); }
.link-btn { background: none; border: 0; padding: 0; height: 44px; color: var(--verde); font-weight: 800; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--verde); flex-shrink: 0; }
.teste-codigo { background: var(--verde-cl); border-radius: 12px; padding: 12px 16px; font-weight: 700; }
.pag--form { max-width: 760px; gap: 24px; padding-top: 32px; }
.cartao-form { background: var(--cartao); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.cartao-form h1 { font-size: 32px; line-height: 34px; }

.ent { min-height: 100vh; display: flex; flex-wrap: wrap; }
.ent-lado { flex: 1 1 480px; background: var(--cartao); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 48px; text-align: center; }
.ent-lado img { width: 360px; max-width: 100%; height: auto; }
.ent-slogan { font: 800 32px/34px var(--display); color: var(--verde); }
.ent-form { flex: 1 1 480px; display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.ent-box { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 24px; }
.ent-box h1 { font-size: 44px; line-height: 44px; }
.ent-box .suave { margin-top: 8px; }
.ent-box .ver-todas { align-self: flex-start; }
.ent-passo { display: flex; flex-direction: column; gap: 24px; margin: 0; }
.cod { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.cod input { width: 100%; min-width: 0; height: 64px; text-align: center; border: 1px solid var(--borda); border-radius: 14px; font: 800 28px var(--display); padding: 0; color: var(--texto); background: #fff; }
.cod input:focus { border: 2px solid var(--verde); }
.ent-links { display: flex; justify-content: space-between; gap: 12px; }
.ent-links form { margin: 0; }

.seguro { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.pag--checkout { padding-top: 32px; gap: 24px; }
.co-topo { display: flex; flex-direction: column; gap: 8px; }
.co-corpo { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.co-passos { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.co-sec { background: var(--cartao); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.co-sec h2 { font-size: 24px; line-height: 28px; }
.co-sec-cab { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
a.btn-contorno, a.btn-contorno:hover { display: flex; align-items: center; color: var(--verde-esc); text-decoration: none; }
.btn-contorno--sm { height: 44px; }
.end-box { display: flex; gap: 12px; align-items: flex-start; background: #fff; border-radius: 16px; padding: 16px; }
.end-box > div { display: flex; flex-direction: column; }
.co-campos { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.ops { display: grid; gap: 12px; }
.ops--2 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ops--pag { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.op { position: relative; display: block; text-align: left; padding: 16px; border-radius: 16px; background: #fff; border: 2px solid var(--linha); cursor: pointer; }
.op input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.op:has(input:checked) { border-color: var(--verde); box-shadow: 0 0 0 2px var(--verde) inset; }
.op:has(input:focus-visible) { outline: 3px solid var(--verde-esc); outline-offset: 3px; }
.op-t { display: block; font-weight: 800; }
.op-s { display: block; font-size: 13px; line-height: 18px; font-weight: 700; color: var(--suave); }
.op--pag svg { display: block; }
.op--pag .op-t { margin-top: 8px; }
.bola { display: none; }
.op--off { opacity: .55; cursor: not-allowed; }
.op--off input { cursor: not-allowed; }
.campo--troco { max-width: 280px; }
.aviso-doc { display: flex; gap: 12px; align-items: flex-start; background: var(--verde-cl); border-radius: 24px; padding: 16px 24px; }
.aviso-doc svg { flex-shrink: 0; margin-top: 2px; }
.aviso-doc p { font-weight: 700; }
.co-itens { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.co-itens li { display: flex; justify-content: space-between; gap: 12px; }
.co-itens strong { white-space: nowrap; }
.linhas--co { border-top: 1px solid var(--linha); padding-top: 12px; }
.btn-chamar { width: 100%; border: 0; gap: 8px; font: inherit; font-weight: 800; cursor: pointer; }

.pag--pedido { padding-top: 32px; gap: 24px; }
.ped-hero { background: var(--verde); color: #fff; border-radius: 24px; padding: 32px 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ped-hero--cancelado { background: var(--suave); }
.ped-hero-txt { display: flex; flex-direction: column; gap: 8px; max-width: 620px; }
.ped-hero h1 { font-size: 64px; line-height: 60px; }
.ped-hero p { font-size: 18px; font-weight: 700; }
.pilula--branca { display: flex; align-items: center; gap: 6px; background: #fff; color: var(--verde-esc); font-size: 13px; line-height: 18px; font-weight: 700; padding: 4px 12px; border-radius: 999px; align-self: flex-start; }
.ped-eta { background: #fff; color: var(--texto); border-radius: 24px; padding: 16px 24px; text-align: center; }
.ped-eta > span { display: block; font-size: 13px; line-height: 18px; font-weight: 700; color: var(--suave); }
.ped-eta strong { font: 800 56px/56px var(--display); color: var(--verde); }
.ped-corpo { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.ped-col { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.ped-col--lado { flex: 1 1 320px; max-width: 420px; gap: 16px; }
.ped-col--lado form { margin: 0; }
.ped-cartao { background: var(--cartao); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.ped-cartao h2 { font-size: 24px; line-height: 28px; }
.passos { margin: 0; padding: 0; list-style: none; }
.passo { display: flex; gap: 16px; align-items: flex-start; }
.passo-lado { display: flex; flex-direction: column; align-items: center; }
.passo-bola { width: 28px; height: 28px; border-radius: 999px; display: flex; align-items: center; justify-content: center; box-sizing: border-box; background: #fff; border: 3px solid var(--borda); }
.passo--done .passo-bola { background: var(--verde); border-color: var(--verde); }
.passo--now .passo-bola { border: 6px solid var(--verde); }
.passo-linha { width: 3px; height: 32px; background: var(--linha); }
.passo--done .passo-linha { background: var(--verde); }
.passo > div { padding-bottom: 12px; display: flex; flex-direction: column; }
.passo--ultimo > div { padding-bottom: 0; }
.passo .suave { font-size: 13px; line-height: 18px; font-weight: 700; }
.cod-entrega { background: #fff; border-radius: 16px; padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; }
.cod-entrega strong { font: 800 32px/34px var(--display); letter-spacing: 4px; }
.total-linha--topo { border-top: 1px solid var(--linha); padding-top: 12px; }
.btn-cancelar { width: 100%; height: 52px; border: 2px solid #b3261e; border-radius: 16px; background: transparent; color: #b3261e; font-weight: 800; }
.ped-lista { display: flex; flex-direction: column; gap: 12px; }
.ped-item, .ped-item:hover { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--cartao); border-radius: 20px; padding: 16px; text-decoration: none; color: var(--texto); }
.ped-item span { display: flex; flex-direction: column; }
.ped-item-dir { align-items: flex-end; gap: 4px; }
.selo-status { font-size: 13px; line-height: 18px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--verde-cl); }
.selo-status--cancelado { background: #fdecea; color: #b3261e; }

/* ---------- Painel do Cumpade ---------- */
.pag--painel { padding-top: 24px; gap: 16px; }
.pn-resumo { margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 8px 24px; background: var(--verde-cl); border-radius: 16px; padding: 12px 16px; }
.pn-colunas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.pn-col { background: var(--cartao); border-radius: 24px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.pn-col h2 { font-size: 22px; line-height: 26px; display: flex; align-items: center; gap: 8px; }
.pn-conta { background: var(--verde); color: #fff; border-radius: 999px; font-size: 14px; line-height: 20px; padding: 0 10px; }
.pn-card { background: #fff; border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 8px; border: 2px solid transparent; }
.pn-topo { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.pn-agendado { background: #fff3cd; border-radius: 8px; padding: 4px 10px; font-weight: 800; align-self: flex-start; }
.pn-cli { font-size: 14px; }
.pn-itens { margin: 0; list-style: none; background: var(--cartao); border-radius: 12px; padding: 8px 12px; display: flex; flex-direction: column; gap: 4px; }
.pn-pag { display: flex; justify-content: space-between; gap: 8px; font-weight: 700; }
.pn-pag strong { font-size: 18px; white-space: nowrap; }
.pn-acoes { display: flex; flex-direction: column; gap: 8px; }
.pn-acoes form { margin: 0; }
.pn-entregar { display: flex; gap: 8px; }
.pn-entregar input[name=codigo] { width: 96px; height: 44px; border: 1px solid var(--borda); border-radius: 8px; text-align: center; font: 800 18px var(--display); letter-spacing: 2px; }
.btn-cta--sm { height: 44px; font-size: 15px; }
.pn-cancelar { background: none; border: 0; color: #b3261e; font-weight: 800; height: 36px; padding: 0; }
.pn-vazio { color: var(--suave); font-weight: 700; padding: 8px; }
@media (max-width: 1000px) { .pn-colunas { grid-template-columns: 1fr; } }

/* ---------- Mapa, entregador ---------- */
.ped-mapa { position: relative; height: 340px; border-radius: 24px; overflow: hidden; background: var(--verde-cl); }
.ped-mapa[hidden] { display: none; }
.mapa { width: 100%; height: 100%; z-index: 0; }
.mapa-dist { position: absolute; left: 16px; bottom: 16px; z-index: 500; background: #fff; border-radius: 999px; padding: 6px 14px; font-size: 13px; line-height: 18px; font-weight: 700; box-shadow: 0 2px 8px rgba(26, 20, 16, .2); }
.pino-ent { width: 36px; height: 36px; border-radius: 50%; background: var(--verde); border: 4px solid #fff; box-shadow: 0 0 0 0 rgba(21, 122, 52, .5), 0 2px 8px rgba(26, 20, 16, .35); animation: pulso 2s infinite; }
.pino-dest { width: 24px; height: 24px; background: var(--texto); border: 4px solid #fff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 2px 8px rgba(26, 20, 16, .35); }
@keyframes pulso { 70% { box-shadow: 0 0 0 16px rgba(21, 122, 52, 0), 0 2px 8px rgba(26, 20, 16, .35); } 100% { box-shadow: 0 0 0 0 rgba(21, 122, 52, 0), 0 2px 8px rgba(26, 20, 16, .35); } }
.ent-linha { display: flex; align-items: center; gap: 16px; }
.ent-linha > div { display: flex; flex-direction: column; }
.avatar { width: 64px; height: 64px; border-radius: 999px; background: var(--verde-cl); color: var(--verde); display: flex; align-items: center; justify-content: center; font: 800 26px var(--display); flex-shrink: 0; }
.ent-acoes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ent-acoes a, .ent-acoes a:hover { display: flex; align-items: center; justify-content: center; height: 48px; border-radius: 16px; padding: 0; font-weight: 800; text-decoration: none; }
.pn-saiu { display: flex; flex-direction: column; gap: 8px; }
.pn-saiu select { height: 44px; border: 1px solid var(--borda); border-radius: 8px; padding: 0 10px; font: inherit; background: #fff; color: var(--texto); }
.pn-ent { font-size: 14px; }
.pn-off { color: #b3261e; font-weight: 800; }
.ent-login { align-items: center; max-width: 480px; margin: 0 auto; }
.ent-login .cartao-form { width: 100%; }
.en-card { margin-bottom: 12px; background: var(--cartao); }
.en-card .pn-entregar input[name=codigo] { flex: 0 0 120px; width: 120px; }
.en-card .pn-entregar .btn-cta { width: auto; flex: 1; }
.en-card .pn-itens { background: #fff; }
.en-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.en-links a, .en-links a:hover { height: 44px; justify-content: center; font-size: 14px; border-radius: 12px; }
.pn-doc { background: #fff3cd; border-radius: 10px; padding: 8px 12px; font-size: 14px; font-weight: 700; }
.pn-check { font-size: 14px; line-height: 20px; width: 100%; align-items: center; }
.pn-check input { width: 24px; height: 24px; flex: none; }
.pn-entregar { flex-wrap: wrap; }
.gps { background: var(--verde-cl); border-radius: 12px; padding: 10px 14px; font-weight: 700; margin-bottom: 12px; }
.gps--erro { background: #fdecea; color: #b3261e; }

/* ---------- Páginas de texto (termos, privacidade, ajuda) ---------- */
.pag--doc { max-width: 860px; gap: 16px; padding-top: 32px; }
.aviso-modelo { background: #fff3cd; border-radius: 12px; padding: 12px 16px; font-size: 14px; line-height: 20px; }
.doc { display: flex; flex-direction: column; gap: 12px; }
.doc h1 { font-size: 44px; line-height: 44px; }
.doc h2 { font-size: 22px; line-height: 26px; margin-top: 12px; }
.doc ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.tabela-doc { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; }
.tabela-doc th, .tabela-doc td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--linha); }
.tabela-doc th { background: var(--cartao); }
.rodape-col { display: flex; flex-direction: column; gap: 4px; max-width: 760px; }
.rodape-links { display: flex; gap: 24px; font-weight: 800; }
.rodape-links a { color: #fff; }
.links-legais { display: flex; justify-content: center; gap: 20px; font-size: 13px; font-weight: 800; }

/* ---------- Celular (até 767 px) ---------- */
.m-voltar { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 14px; }
@media (max-width: 767px) {
  body { font-size: 16px; }
  .t-xl { font-size: 26px; line-height: 28px; }
  .legal { font-size: 12px; line-height: 16px; }
  .logo img { width: 60px; height: 42px; }
  .logo { gap: 6px; }
  .logo-nome { font-size: 24px; line-height: 22px; letter-spacing: 0; }
  .logo-sub { font-size: 9px; line-height: 12px; letter-spacing: 2px; gap: 4px; }
  .logo-sub::before, .logo-sub::after { width: 10px; }
  .btn-sacola--m, .btn-sacola--m:hover { width: 48px; height: 48px; padding: 0; justify-content: center; border-radius: 16px; }
  .btn-sacola--44, .btn-sacola--44:hover { width: 44px; height: 44px; border-radius: 14px; }
  .selo { top: -6px; right: -6px; min-width: 22px; height: 22px; font-size: 12px; }

  .m-cab { background: var(--cartao); border-bottom: 1px solid var(--linha); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
  .m-cab-linha { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .m-end { display: flex; align-items: center; gap: 8px; background: transparent; border: 0; padding: 0; color: var(--texto); text-align: left; min-height: 44px; }
  .m-end .btn-end-rot { font-size: 12px; line-height: 16px; }
  .m-end .btn-end-val { max-width: none; line-height: 24px; }
  .m-busca { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--borda); border-radius: 8px; padding: 0 12px; height: 48px; }
  .m-busca input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; background: transparent; color: var(--texto); }
  .m-busca:focus-within { outline: 3px solid var(--verde-esc); outline-offset: 3px; }

  .pag { padding: 20px 0 24px; gap: 32px; }
  .pag > * { margin-inline: 16px; }
  .pg-home { padding-bottom: 72px; }
  .pg-home .pag > .secao:has(.rail) { margin-inline: 0; }
  .pg-home .secao-cab, .pg-home .legal { padding-inline: 16px; }
  .secao { gap: 12px; }
  .destaques { display: block; }
  .hero { min-height: 0; padding: 24px; }
  .hero::after { width: 150px; height: 120px; }
  .hero-txt { gap: 12px; }
  .hero h1 { font-size: 36px; line-height: 36px; letter-spacing: 0; }
  .pilula { background: #fff; color: var(--verde-esc); font-size: 12px; line-height: 16px; font-weight: 800; padding: 4px 10px; }
  .btn-claro, .btn-claro:hover { background: #fff; padding: 12px 20px; margin-top: 0; }
  .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 8px; }
  .cat { gap: 6px; padding: 0; }
  .cat-ico { aspect-ratio: 1; border-radius: 20px; }
  .cat-ico svg { width: 30px; height: 30px; }
  .cat-ico img { border-radius: 20px; }
  .cat-nome { font-size: 12px; line-height: 15px; }
  .ver-todas { font-size: 14px; }
  .secao-cab { align-items: center; gap: 8px; }
  .cronometro { font-size: 12px; line-height: 16px; font-weight: 800; padding: 4px 10px; }
  .cronometro svg { display: none; }
  .secao-tit { gap: 8px; }

  .rail { display: flex; gap: 12px; padding: 0 16px 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .rail::-webkit-scrollbar { display: none; }
  .rail .card { flex: 0 0 168px; scroll-snap-align: start; }
  .rail .card-img { height: 132px; --h: 90px; }
  .card { border-radius: 24px; }
  .card:hover { transform: none; box-shadow: none; }
  .tag-off { top: 8px; left: 8px; background: #fff; font-size: 12px; line-height: 16px; font-weight: 800; padding: 2px 8px; }
  .card-corpo { padding: 12px; gap: 2px; }
  .card-nome { font-size: 17px; line-height: 20px; min-height: 40px; }
  .unid { font-size: 12px; line-height: 16px; }
  .preco-linha { margin-top: 0; }
  .preco { font-size: 18px; line-height: 26px; }
  .card-acao { padding-top: 8px; }
  .pedir { height: 44px; border-radius: 14px; }

  .kit--m { display: flex; flex-direction: row; align-items: center; min-height: 0; border-radius: 24px; padding: 20px; gap: 12px; justify-content: flex-start; }
  .kit--m .kit-txt { flex: 1; }
  .kit--m .kit-rot { font-size: 12px; line-height: 16px; font-weight: 800; }
  .kit--m h2 { font-size: 22px; line-height: 24px; }
  .kit--m .btn-escuro { align-self: flex-start; padding: 10px 16px; border-radius: 14px; }
  .kit--m img { width: 100px; height: 70px; object-fit: contain; }
  .nav-m { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; height: 72px; background: #fff; border-top: 1px solid var(--linha); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .nav-m a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--suave); text-decoration: none; font-size: 12px; font-weight: 800; }
  .nav-m a.on { color: var(--verde); }

  /* lista */
  .pg-lista { padding-bottom: 96px; }
  .m-cab-lista { background: var(--cartao); border-bottom: 1px solid var(--linha); padding: 12px 16px; display: flex; align-items: center; gap: 8px; }
  .m-cab-lista h1 { flex: 1; font-size: 24px; line-height: 26px; }
  .pag--lista { padding: 16px 0 0; gap: 12px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding: 0 16px; margin-inline: 0 !important; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip, .chip:hover { flex-shrink: 0; height: 40px; padding: 0 14px; font-size: 14px; white-space: nowrap; }
  .m-conta { display: flex; justify-content: space-between; align-items: center; }
  .m-conta .suave { font-size: 14px; font-weight: 700; }
  .m-filtros { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 1px solid var(--borda); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 800; color: var(--texto); }
  .lista-corpo { display: block; }
  .filtros { display: none; max-width: none; margin-bottom: 12px; border-radius: 20px; padding: 16px; gap: 16px; }
  .filtros.aberto { display: flex; }
  .grade { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .grade .card { border-radius: 20px; }
  .grade .card-img { height: 120px; --h: 82px; }
  .grade .card-corpo { padding: 10px 12px 12px; }
  .grade .card-nome { font-size: 16px; line-height: 19px; min-height: 38px; }
  .grade .preco { font-size: 17px; line-height: 24px; }
  .m-barra { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 20; }
  .m-barra a, .m-barra a:hover { display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 20px; background: var(--verde); color: #fff; border-radius: 16px; font-weight: 800; text-decoration: none; box-shadow: 0 8px 24px rgba(14, 79, 36, .3); }

  /* produto */
  .pg-produto { padding-bottom: 112px; }
  .pag--produto { padding: 0 0 24px; gap: 24px; }
  .pag--produto > * { margin-inline: 0; }
  .produto-grid { display: flex; flex-direction: column; align-items: stretch; gap: 20px; }
  .foto { aspect-ratio: auto; height: 340px; border-radius: 0; }
  .foto .emb { height: 212px; }
  .m-voltar--foto { position: absolute; top: 16px; left: 16px; background: #fff; }
  .tag-bf { top: auto; bottom: 16px; left: 16px; font-size: 12px; line-height: 16px; font-weight: 800; padding: 4px 10px; }
  .produto-info { gap: 20px; padding-inline: 16px; }
  .produto-tit { gap: 6px; }
  .produto-tit h1 { font-size: 30px; line-height: 32px; }
  .produto-tit .suave { font-size: 14px; }
  .chega { font-size: 12px; line-height: 16px; font-weight: 800; padding: 4px 10px; }
  .chega svg { display: none; }
  .preco-grande { gap: 8px; margin-top: -2px; }
  .preco-xl { font-size: 32px; line-height: 34px; }
  .preco-grande s, .preco-grande .suave { font-size: 14px; }
  .packs-fs legend { font-size: 20px; line-height: 24px; margin-bottom: 10px; }
  .packs { gap: 8px; }
  .pack { padding: 10px 12px; border-radius: 14px; }
  .pack strong { font-size: 16px; }
  .pack small { font-size: 12px; line-height: 16px; }
  .comprar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: #fff; border-top: 1px solid var(--linha); padding: 12px 16px 20px; gap: 10px; flex-wrap: nowrap; }
  .qtd button { width: 44px; height: 52px; font-size: 22px; }
  .qtd span { min-width: 24px; font-size: 16px; }
  .btn-comprar { flex: 1; padding: 0 16px; }
  .sobre { border-radius: 20px; padding: 16px; gap: 8px; }
  .sobre h2 { font-size: 20px; line-height: 24px; }
  .sobre dl { gap: 8px 16px; }
  .sobre dt { font-size: 12px; line-height: 16px; }
  .pag--produto > .secao { margin-inline: 16px; gap: 10px; }
  .t-lg { font-size: 20px; line-height: 24px; }
  .extras { grid-template-columns: 1fr; gap: 10px; }
  .extra { border-radius: 20px; padding: 12px; gap: 12px; }
  .extra:nth-child(n+4) { display: none; }
  .extra-ico { width: 52px; height: 52px; border-radius: 14px; }
  .extra-ico svg { width: 26px; height: 26px; }
  .extra-add { border-radius: 14px; }
  .stepper { height: 44px; border-radius: 14px; padding: 0; }
  .stepper button { height: 44px; font-size: 20px; border-radius: 14px; }

  /* sacola */
  .pg-sacola { padding-bottom: 150px; }
  .m-contagem { font-size: 14px; font-weight: 700; color: var(--suave); }
  .pag--sacola { padding: 16px 0 0; gap: 12px; }
  .sac-corpo { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 12px; }
  .sac-itens { flex: none; gap: 12px; }
  .frete-barra { border-radius: 20px; padding: 12px 16px; font-size: 15px; }
  .barra { height: 8px; }
  .item { border-radius: 20px; padding: 12px; gap: 12px; align-items: flex-start; flex-wrap: nowrap; position: relative; }
  .item-img { width: 72px; height: 72px; border-radius: 14px; }
  .item-img .emb { height: 52px; }
  .item-info { flex: 1 1 auto; min-width: 0; flex-direction: column; align-items: stretch; gap: 6px; }
  .item-tit { flex: none; padding-right: 36px; gap: 6px; }
  .item-tit h2 { font-size: 17px; line-height: 20px; }
  .item-tit .unid { font-size: 12px; line-height: 16px; }
  .item-base { justify-content: space-between; }
  .qtd--sm { height: 44px; border-radius: 14px; background: #fff; }
  .qtd--sm button { width: 40px; height: 40px; font-size: 20px; }
  .qtd--sm span { min-width: 24px; }
  .item-sub { min-width: 0; font-size: 17px; }
  .item-del { position: absolute; top: 6px; right: 6px; }
  .item-del button { width: 36px; height: 36px; }
  .sac-vazia { border-radius: 20px; padding: 32px 16px; gap: 12px; }
  .sac-vazia h2 { font-size: 26px; line-height: 28px; }
  .btn-verde, .btn-verde:hover { padding: 12px 20px; }
  .resumo { max-width: none; background: transparent; border-radius: 0; padding: 0; gap: 12px; }
  .cupom { order: 1; }
  .cupom label { font-size: 13px; margin-bottom: 6px; }
  .linhas { order: 2; background: var(--cartao); border-radius: 20px; padding: 16px; gap: 6px; }
  .resumo .legal { order: 3; }
  .fechar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: #fff; border-top: 1px solid var(--linha); padding: 12px 16px 20px; gap: 8px; }
  .total-linha strong { font-size: 26px; line-height: 28px; }

  /* entrar, formulários */
  .pag--form { padding: 16px 0 24px; gap: 16px; }
  .cartao-form { border-radius: 20px; padding: 16px; }
  .ent { flex-direction: column; flex-wrap: nowrap; }
  .ent-lado { flex: none; padding: 16px 16px 24px; border-radius: 0 0 32px 32px; gap: 8px; }
  .ent-lado img { width: 210px; }
  .ent-voltar { align-self: flex-start; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: #fff; }
  .ent-form { flex: 1; align-items: stretch; padding: 24px 16px; }
  .ent-box { max-width: none; gap: 20px; }
  .ent-passo { gap: 20px; }
  .ent-box h1 { font-size: 32px; line-height: 32px; }
  .ent-box .suave { margin-top: 6px; }
  .cod { gap: 6px; }
  .cod input { height: 56px; font-size: 24px; border-radius: 12px; }
  .ent-legal { margin-top: auto; text-align: center; }

  /* checkout */
  .pg-checkout { padding-bottom: 130px; }
  .pag--checkout { padding: 16px 0 0; gap: 16px; }
  .co-corpo { display: block; }
  .co-passos { gap: 16px; }
  .co-sec { border-radius: 20px; padding: 16px; gap: 12px; }
  .co-sec h2 { font-size: 20px; line-height: 24px; }
  a.btn-contorno, a.btn-contorno:hover { border-radius: 12px; }
  .btn-contorno--sm { height: 40px; padding: 0 12px; font-size: 14px; }
  .end-box { border-radius: 14px; padding: 12px; }
  .end-box .suave { font-size: 14px; }
  .co-campos { grid-template-columns: 1fr; }
  .ops--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ops--pag { grid-template-columns: 1fr; gap: 8px; }
  .op { padding: 12px; border-radius: 14px; }
  .op-s { font-size: 12px; line-height: 16px; }
  .op--pag { display: flex; align-items: center; gap: 12px; min-height: 60px; }
  .op--pag .op-t { margin-top: 0; }
  .op-txt { flex: 1; }
  .bola { display: block; width: 22px; height: 22px; border-radius: 999px; border: 2px solid var(--borda); flex-shrink: 0; box-sizing: border-box; }
  .op:has(input:checked) .bola { border: 7px solid var(--verde); }
  .aviso-doc { border-radius: 20px; padding: 12px 16px; gap: 10px; }
  .aviso-doc p { font-size: 14px; line-height: 20px; }
  .co-resumo { gap: 0; margin-top: 16px; }
  .co-itens { background: var(--cartao); border-radius: 20px 20px 0 0; padding: 16px 16px 0; gap: 6px; font-size: 15px; }
  .co-resumo .linhas { order: 0; background: var(--cartao); border-radius: 0 0 20px 20px; border: 0; padding: 6px 16px 16px; font-size: 15px; }
  .btn-chamar { justify-content: space-between; padding: 0 20px; }
  .ponto { display: none; }
  .fechar--co { align-items: stretch; gap: 6px; }
  .fechar--co .legal { text-align: center; }

  /* pedido */
  .pag--pedido { padding: 16px 0 24px; gap: 16px; }
  .ped-hero { border-radius: 20px; padding: 16px 20px; gap: 12px; flex-wrap: nowrap; }
  .ped-hero h1 { font-size: 32px; line-height: 32px; }
  .ped-hero p { font-size: 15px; line-height: 22px; }
  .ped-eta { border-radius: 18px; padding: 8px 12px; flex-shrink: 0; }
  .ped-eta > span { font-size: 12px; line-height: 14px; }
  .ped-eta strong { font-size: 26px; line-height: 28px; }
  .ped-corpo { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 16px; }
  .ped-col, .ped-col--lado { flex: none; max-width: none; gap: 16px; }
  .ped-cartao { border-radius: 20px; padding: 16px; gap: 12px; }
  .ped-cartao h2 { font-size: 20px; line-height: 24px; }
  .passo { gap: 12px; }
  .passo-bola { width: 24px; height: 24px; }
  .passo-linha { height: 26px; }
  .passo > div { padding-bottom: 8px; }
  .cod-entrega strong { font-size: 26px; line-height: 28px; }
  .ped-cartao .linhas { order: 0; background: transparent; border-radius: 0; padding: 0; }
  .ped-mapa { height: 300px; border-radius: 20px; }
  .ped-cartao .co-itens { background: transparent; border-radius: 0; padding: 0; }
  .pag--doc { padding: 16px 0 24px; }
  .doc h2 { font-size: 20px; line-height: 24px; }
  .tabela-doc, .tabela-doc tbody, .tabela-doc tr, .tabela-doc td { display: block; }
  .tabela-doc thead { display: none; }
  .tabela-doc tr { padding: 10px 0; border-bottom: 1px solid var(--linha); }
  .tabela-doc td { border: 0; padding: 2px 0; }
  .tabela-doc td:first-child { font-weight: 800; }
  .avatar { width: 52px; height: 52px; font-size: 22px; }
}

.esgotado { display: block; text-align: center; padding: 12px; border-radius: 14px; background: #ece8e3; color: var(--texto2, #5C4D40); font-weight: 800; }
.esgotado--grande { font-size: 1.1rem; margin: 12px 0; }

.end-item { margin-bottom: 14px; }
.end-acoes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.end-acoes form { margin: 0; }

.rel { display: flex; flex-direction: column; gap: 16px; }
.rel-filtro { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.rel-filtro label { display: flex; flex-direction: column; font-weight: 700; gap: 4px; }
.rel-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.rel-cards div { background: var(--cartao); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.rel-cards span { font-size: 14px; color: var(--texto2, #5C4D40); }
.rel-cards strong { font-size: 22px; }
.rel-tab { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
.rel-tab th, .rel-tab td { text-align: left; padding: 8px 12px; border-bottom: 1px solid #E3ECE5; }
.rel-tab th { background: var(--cartao); }
@media (max-width: 720px) { .rel-tab { display: block; overflow-x: auto; } }

/* aviso de cookies */
.aviso-cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 760px; margin: 0 auto; background: #fff; border: 2px solid var(--verde-esc); border-radius: 20px; padding: 16px 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); display: flex; gap: 20px; align-items: center; }
.aviso-cookies[hidden] { display: none; }
.ck-texto p { margin: 4px 0 0; font-size: 14px; line-height: 20px; }
.ck-botoes { display: flex; gap: 8px; flex-shrink: 0; }
.ck-botoes .btn-cta { width: auto; height: 44px; padding: 0 20px; }
@media (max-width: 767px) { .aviso-cookies { flex-direction: column; align-items: stretch; gap: 12px; bottom: 12px; left: 12px; right: 12px; } .ck-botoes > * { flex: 1; } }
/* métricas */
.barra-cel { width: 40%; }
.barra { display: block; background: var(--verde-cl); border-radius: 6px; height: 12px; overflow: hidden; }
.barra i { display: block; height: 100%; background: var(--verde); border-radius: 6px; }
.rel-cards small { font-size: 14px; font-weight: 600; }

.btn-cancelar:disabled { opacity: .45; cursor: not-allowed; }

/* Pix do pedido (SyncPay) */
.ped-cartao--pix { border: 2px solid var(--verde); }
.pix-qr { display: flex; justify-content: center; padding: 12px; background: #fff; border-radius: 12px; margin: 12px 0; }
.pix-qr img, .pix-qr canvas { display: block; }
.ped-cartao--pix [data-pix-copia] { font-size: 12px; }
.ped-cartao--pix .btn-escuro { width: 100%; margin-top: 8px; }

/* Cartão no app (checkout) */
.campo-cartao { margin-top: 12px; padding: 12px; border: 1px solid #e3ded6; border-radius: 12px; display: flex; flex-direction: column; gap: 10px; }
.campo-cartao-linha { display: flex; gap: 10px; }
.campo-cartao-linha .campo { flex: 1; }

/* Mapa de cada entrega na tela do entregador (menor que o do cliente) */
.en-mapa { position: relative; height: 160px; border-radius: 16px; overflow: hidden; background: var(--verde-cl); margin: 10px 0; }
.en-mapa .mapa { width: 100%; height: 100%; z-index: 0; }

/* Entrada suave dos blocos da Home ao abrir o site (loja.js adiciona .anim-ativo) */
/* Entrada dos blocos da Home: 100% CSS (toca sozinha, não depende do JS terminar de carregar).
   loja.js só define animation-delay pra escalonar; sem JS, todos entram juntos (ainda anima). */
@keyframes entrada-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes entrada-sobe { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
[data-anim-entrada] { animation: entrada-fade .5s ease-out both; }
@media (prefers-reduced-motion: no-preference) {
  /* o cabeçalho é sticky: só opacidade nele, transform em elemento sticky pode confundir o navegador */
  [data-anim-entrada]:not(.cab--fixo):not(.m-cab) { animation-name: entrada-sobe; animation-duration: .7s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
}

/* Tela de abertura (só na Home): logo aparece, segura um pouco e some, cobrindo a tela toda */
#intro-splash {
  position: fixed; inset: 0; z-index: 9999; background: var(--verde);
  display: flex; align-items: center; justify-content: center;
  animation: intro-some 2.6s ease-in forwards;
}
#intro-splash img { width: 130px; height: auto; animation: intro-logo .9s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes intro-logo { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
@keyframes intro-some { 0%, 70% { opacity: 1; } 100% { opacity: 0; pointer-events: none; } }
@media (prefers-reduced-motion: reduce) {
  #intro-splash { animation-duration: 1.2s; }
  #intro-splash img { animation-duration: .01s; }
}
