:root {
  --roxo-900: #1c0430;
  --roxo-800: #2a0640;
  --roxo-700: #3d0b5c;
  --roxo-500: #6a1b9a;
  --roxo-100: #f1e8f7;
  --ouro: #f6b80f;
  --ouro-escuro: #c98c00;
  --whats: #1f9d55;
  --fundo: #fbf8fd;
  --cartao: #ffffff;
  --texto: #1d1424;
  --texto-2: #5d5266;
  --borda: #e7dfee;
  --perigo: #b42318;
  --raio: 14px;
  --sombra: 0 1px 2px rgba(28, 4, 48, .06), 0 4px 16px rgba(28, 4, 48, .06);
  --titulo: "Baloo 2", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  margin: 0; color: var(--texto);
  /* fundo da marca: lavanda clara com padrão leve de bagas de açaí, pontos dourados e folhas */
  background-color: var(--fundo);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='%236a1b9a' fill-opacity='.07'%3E%3Ccircle cx='22' cy='26' r='7'/%3E%3Ccircle cx='35' cy='21' r='6'/%3E%3Ccircle cx='32' cy='35' r='6'/%3E%3Ccircle cx='124' cy='108' r='7'/%3E%3Ccircle cx='137' cy='103' r='6'/%3E%3Ccircle cx='134' cy='117' r='6'/%3E%3C/g%3E%3Cg fill='%23f6b80f' fill-opacity='.16'%3E%3Ccircle cx='150' cy='34' r='2.6'/%3E%3Ccircle cx='58' cy='150' r='2.6'/%3E%3Ccircle cx='92' cy='64' r='1.8'/%3E%3C/g%3E%3Cpath d='M62 112c12-16 32-18 40-13-7 16-25 24-40 13z M150 160c4-12 15-17 22-15-3 11-13 18-22 15z' fill='%232e7d32' fill-opacity='.06'/%3E%3C/svg%3E"),
    radial-gradient(60% 40% at 100% 0%, rgba(246, 184, 15, .08), transparent 70%),
    radial-gradient(70% 50% at 0% 30%, rgba(106, 27, 154, .07), transparent 70%);
  background-size: 180px 180px, 100% 100%, 100% 100%;
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--roxo-500); }
h1, h2, h3 { font-family: var(--titulo); line-height: 1.1; margin: 0; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; z-index: 99; background: #fff; padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--ouro); outline-offset: 2px; }

/* ---------- Topo ---------- */
.barra-aviso {
  background: var(--ouro); color: var(--roxo-900); text-align: center;
  font-weight: 700; font-size: 14px; padding: 8px 16px;
}
.topo { position: sticky; top: 0; z-index: 20; background: var(--roxo-800); color: #fff; }
.topo-in { max-width: 1080px; margin: 0 auto; display: flex; align-items: center; gap: 12px; padding: 8px 16px; }
.marca { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; margin-right: auto; }
.marca img { border-radius: 50%; }
.marca strong { display: block; font-family: var(--titulo); font-size: 20px; line-height: 1; }
.marca small { display: block; font-size: 12px; opacity: .75; }
.status { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: rgba(255,255,255,.12); }
.status.aberto::before, .status.fechado::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.status.aberto::before { background: #3ddc84; }
.status.fechado::before { background: #ff6b6b; }
.btn-sacola { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; }
.bolinha { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--ouro); color: var(--roxo-900); font-size: 12px; font-weight: 800; display: grid; place-items: center; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, var(--roxo-700), var(--roxo-900)); color: #fff; padding: 24px 16px 0; }
/* Fundo: foto de açaí (Unsplash, Jakub Pabis) coberta por roxo para não competir com o texto */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("../img/hero-fundo-m.jpg") 30% center / cover; }
@media (min-width: 760px) { .hero::before { background-image: url("../img/hero-fundo.jpg"); background-position: center 40%; } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(42, 6, 64, .62) 0%, rgba(36, 5, 56, .70) 50%, rgba(28, 4, 48, .93) 100%); }
@media (min-width: 760px) {
  .hero::after { background:
    linear-gradient(90deg, rgba(28, 4, 48, .60) 0%, rgba(28, 4, 48, .15) 55%, rgba(28, 4, 48, 0) 80%),
    linear-gradient(180deg, rgba(42, 6, 64, .42) 0%, rgba(36, 5, 56, .50) 60%, rgba(28, 4, 48, .90) 100%); }
}
.hero h1, .hero p, .confianca { text-shadow: 0 1px 2px rgba(20, 2, 34, .85), 0 0 18px rgba(20, 2, 34, .6); }
.hero-in { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; }
.hero-logo { width: 112px; height: 112px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(246,184,15,.35); }
.hero h1 { font-size: clamp(26px, 6.4vw, 46px); }
.hero p { margin: 8px 0 0; color: #e6d7f0; font-size: 15px; }
.hero-cta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.hero-txt { display: contents; }
.hero-txt h1, .hero-txt p { grid-column: 2; }
.hero-txt p { grid-column: 1 / -1; }
.confianca { list-style: none; margin: 20px auto 0; padding: 12px 0 14px; max-width: 1080px; display: flex; gap: 8px 18px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: #e6d7f0; }
.confianca li::before { content: "✓ "; color: var(--ouro); font-weight: 800; }

@media (min-width: 760px) {
  .hero { padding-top: 48px; }
  .hero-in { grid-template-columns: 200px 1fr; gap: 32px; }
  .hero-logo { width: 200px; height: 200px; grid-row: span 3; }
  .hero-txt h1, .hero-txt p, .hero-cta { grid-column: 2; }
  .hero p { font-size: 18px; }
}

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 99px; border: 2px solid transparent; font-weight: 800; text-decoration: none; font-size: 16px; }
.btn-ouro { background: var(--ouro); color: var(--roxo-900); }
.btn-ouro:hover { background: #ffc729; }
.btn-linha { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-linha-escura { border-color: var(--borda); background: #fff; color: var(--texto); min-height: 44px; }
.btn-whats { background: var(--whats); color: #fff; }
.btn-cheio { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Onda entre topo e conteúdo ---------- */
.onda { display: block; width: calc(100% + 32px); height: 36px; margin: 0 -16px -1px; fill: var(--fundo); }
@media (min-width: 760px) { .onda { height: 56px; } }

/* ---------- Títulos com detalhe dourado ---------- */
.categoria > h2, .secao h2, .vitrine h2 { position: relative; display: inline-block; padding-bottom: 6px; }
.categoria > h2::after, .secao h2::after, .vitrine h2::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--ouro), #ffd866);
}
.categoria > h2::before, .vitrine h2::before {
  content: ""; position: absolute; right: -22px; top: 4px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--roxo-500); box-shadow: 9px -5px 0 -2px var(--roxo-700), 6px 7px 0 -3px var(--ouro);
}

/* ---------- Vitrine com rolagem automática ---------- */
.vitrine { padding: 4px 0 0; }
.vitrine-cab { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.vitrine h2 { font-size: 26px; color: var(--roxo-800); }
.vitrine-cab p { margin: 6px 0 0; color: var(--texto-2); font-size: 14px; }
.vitrine-trilho {
  overflow-x: auto; scrollbar-width: none; padding: 14px 0 18px; overscroll-behavior-x: contain;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent);
}
.vitrine-trilho::-webkit-scrollbar { display: none; }
.vit-faixa { display: flex; width: max-content; padding-left: 16px; }
.vit-item {
  flex: none; width: 152px; margin-right: 12px; padding: 8px 8px 12px; text-align: left;
  background: #fff; border: 1px solid var(--borda); border-radius: 18px; box-shadow: var(--sombra);
  transition: transform .25s ease, box-shadow .25s ease;
}
.vit-item:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(61, 11, 92, .16); }
.vit-item:active { transform: scale(.97); }
.vit-item img { width: 134px; height: 134px; border-radius: 12px; object-fit: cover; background: var(--roxo-100); }
.vit-nome { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; margin: 8px 2px 4px; font-size: 14px; font-weight: 700; line-height: 1.25; }
.vit-item .preco { font-size: 14px; color: var(--roxo-700); margin-left: 2px; }
.vit-item .preco s { display: block; margin: 0; }
@media (min-width: 760px) { .vit-item { width: 176px; } .vit-item img { width: 158px; height: 158px; } }

/* ---------- Categorias ---------- */
.cats { position: sticky; top: 60px; z-index: 15; background: rgba(250, 246, 253, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--borda); display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cats a { flex: none; padding: 8px 14px; border-radius: 99px; background: #fff; border: 1px solid var(--borda); color: var(--texto); text-decoration: none; font-size: 14px; font-weight: 600; min-height: 40px; display: flex; align-items: center; }
.cats a.ativo { background: var(--roxo-800); border-color: var(--roxo-800); color: #fff; }
@media (min-width: 1112px) { .cats { justify-content: center; } }

/* ---------- Cardápio ---------- */
.cardapio, .secao { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.categoria { padding-top: 28px; }
.categoria > h2 { font-size: 26px; color: var(--roxo-800); }
.categoria > p { margin: 2px 0 0; color: var(--texto-2); font-size: 14px; }
.grade { display: grid; gap: 12px; margin-top: 14px; }
@media (min-width: 700px) { .grade { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .grade { grid-template-columns: 1fr 1fr 1fr; } }

.item { display: grid; grid-template-columns: 1fr 104px; gap: 12px; align-items: start; text-align: left; background: var(--cartao); border: 1px solid var(--borda); border-radius: var(--raio); padding: 12px; box-shadow: var(--sombra); width: 100%; }
.item { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.item:hover { border-color: #cdb8dd; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(61, 11, 92, .12); }
.item:active, .destaque:active { transform: scale(.98); }
.destaque { transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: hidden; }
.destaque::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(246, 184, 15, .22), transparent 70%); pointer-events: none; }
.destaque:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(28, 4, 48, .28); }
@media (prefers-reduced-motion: reduce) { .item, .vit-item, .destaque { transition: none; } }
.item h3 { font-family: inherit; font-size: 16px; font-weight: 700; }
.item p { margin: 4px 0 8px; color: var(--texto-2); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item img { width: 104px; height: 104px; border-radius: 10px; object-fit: cover; background: var(--roxo-100); }
.preco { font-weight: 800; font-size: 16px; }
.preco s { color: var(--texto-2); font-weight: 400; font-size: 13px; margin-left: 6px; }
.selo { display: inline-block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; padding: 2px 8px; border-radius: 99px; background: var(--ouro); color: var(--roxo-900); margin-bottom: 6px; }
.selo.mais18 { background: var(--roxo-100); color: var(--roxo-700); }

.destaques { display: grid; gap: 12px; margin-top: 14px; }
@media (min-width: 700px) { .destaques { grid-template-columns: 1fr 1fr; } }
.destaque { display: grid; grid-template-columns: 132px 1fr; gap: 14px; align-items: center; background: linear-gradient(135deg, var(--roxo-800), var(--roxo-700)); color: #fff; border: 0; border-radius: 18px; padding: 12px; text-align: left; width: 100%; }
.destaque img { width: 132px; height: 132px; border-radius: 12px; object-fit: cover; }
.destaque h3 { font-family: var(--titulo); font-size: 22px; }
.destaque p { margin: 4px 0 8px; font-size: 14px; color: #e6d7f0; }
.destaque .preco s { color: #cbb6da; }
.destaque .ir { display: inline-block; margin-top: 6px; font-weight: 800; color: var(--ouro); }

/* ---------- Seções ---------- */
.secao { padding-top: 40px; }
.secao h2 { font-size: 26px; color: var(--roxo-800); margin-bottom: 12px; }
.passos { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; counter-reset: p; }
@media (min-width: 760px) { .passos { grid-template-columns: repeat(3, 1fr); } }
.passos li { counter-increment: p; background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); padding: 14px 14px 14px 58px; position: relative; }
.passos li::before { content: counter(p); position: absolute; left: 14px; top: 14px; width: 32px; height: 32px; border-radius: 50%; background: var(--roxo-800); color: var(--ouro); font-weight: 800; display: grid; place-items: center; }
.passos strong { display: block; }
.passos span { color: var(--texto-2); font-size: 14px; }

.info-entrega { display: grid; gap: 10px; }
@media (min-width: 760px) { .info-entrega { grid-template-columns: repeat(3, 1fr); } }
.info-entrega div { background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); padding: 14px; }
.info-entrega strong { display: block; color: var(--roxo-800); }
.info-entrega span { color: var(--texto-2); font-size: 14px; }

#faq details { background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); margin-bottom: 8px; }
#faq summary { padding: 14px 44px 14px 14px; font-weight: 700; cursor: pointer; list-style: none; position: relative; }
#faq summary::-webkit-details-marker { display: none; }
#faq summary::after { content: "+"; position: absolute; right: 16px; top: 10px; font-size: 22px; color: var(--roxo-500); }
#faq details[open] summary::after { content: "−"; }
#faq details p { margin: 0; padding: 0 14px 14px; color: var(--texto-2); }

.avaliacoes { display: grid; gap: 10px; }
@media (min-width: 760px) { .avaliacoes { grid-template-columns: repeat(3, 1fr); } }
.avaliacao { background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); padding: 14px; }
.avaliacao .estrelas { color: var(--ouro-escuro); letter-spacing: 2px; }
.avaliacao small { color: var(--texto-2); }
.nota-media { margin: -4px 0 12px; color: var(--texto-2); }

/* ---------- Rodapé ---------- */
.rodape { position: relative; margin-top: 88px; background: var(--roxo-900); color: #d9c9e5; padding: 32px 16px 120px; font-size: 14px; }
.rodape::before { content: ""; position: absolute; left: 0; right: 0; top: -39px; height: 40px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 26c160-22 320-26 480-12s320 40 480 32 320-34 480-20v34H0z' fill='%231c0430'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat; }
.rodape-in { max-width: 1080px; margin: 0 auto; display: grid; gap: 20px; }
@media (min-width: 760px) { .rodape-in { grid-template-columns: 2fr 1fr 1fr; } }
.rodape h3 { color: #fff; font-size: 18px; margin-bottom: 6px; }
.rodape a { color: #fff; }
.rodape ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.rodape .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 14px; font-size: 12px; color: #b9a6c8; }

/* ---------- Barra fixa ---------- */
.barra-sacola { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 30; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; padding: 0 20px; border: 0; border-radius: 99px; background: var(--ouro); color: var(--roxo-900); font-size: 15px; box-shadow: 0 8px 24px rgba(28,4,48,.3); max-width: 560px; margin: 0 auto; }

/* ---------- Folhas (modais) ---------- */
.folha { border: 0; padding: 0; width: 100%; max-width: 560px; max-height: 92vh; margin: auto auto 0; border-radius: 20px 20px 0 0; background: #fff; color: var(--texto); }
.folha::backdrop { background: rgba(20, 4, 32, .6); }
@media (min-width: 640px) { .folha { margin: auto; border-radius: 20px; } }
.folha-in { padding: 20px 16px calc(20px + env(safe-area-inset-bottom)); position: relative; }
.fechar { position: absolute; right: 10px; top: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--roxo-100); font-size: 26px; line-height: 1; }
#mp-img { width: 160px; height: 160px; border-radius: 14px; object-fit: cover; margin: 0 auto 12px; }
#mp-nome { font-size: 24px; padding-right: 44px; }
.mp-desc { color: var(--texto-2); margin: 6px 0; }
.mp-preco { font-weight: 800; font-size: 18px; margin: 0 0 8px; }

.grupo { border-top: 1px solid var(--borda); padding-top: 12px; margin-top: 12px; }
.grupo-tit { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.grupo-tit h3 { font-family: inherit; font-size: 16px; font-weight: 800; }
.grupo-tit small { color: var(--texto-2); font-size: 12px; background: var(--roxo-100); padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
.opcao { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 0; border-bottom: 1px dashed var(--borda); cursor: pointer; }
.opcao:last-child { border-bottom: 0; }
.opcao input { width: 22px; height: 22px; accent-color: var(--roxo-500); flex: none; }
.opcao span { flex: 1; }
.opcao em { font-style: normal; color: var(--texto-2); font-size: 14px; white-space: nowrap; }
.copo { padding-bottom: 10px; border-bottom: 1px dashed var(--borda); }
.copo:last-child { border-bottom: 0; }
.extras { margin-top: 8px; border: 1px solid var(--borda); border-radius: 10px; background: var(--fundo); }
.extras summary { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 12px; font-weight: 700; color: var(--roxo-500); cursor: pointer; list-style: none; }
.extras summary::-webkit-details-marker { display: none; }
.extras-resumo { white-space: nowrap; font-weight: 600; font-size: 12px; color: var(--texto-2); background: #fff; padding: 2px 8px; border-radius: 99px; }
.extras[open] { padding-bottom: 4px; }
.extras .opcao { padding: 6px 12px; }
select.sabor { width: 100%; min-height: 48px; border: 1px solid var(--borda); border-radius: 10px; padding: 0 12px; font-size: 16px; background: #fff; margin-top: 6px; }

.campo { display: block; margin-top: 12px; }
.campo span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.campo input, .campo textarea, .cupom input { width: 100%; min-height: 48px; border: 1px solid var(--borda); border-radius: 10px; padding: 10px 12px; font-size: 16px; background: #fff; }
.campo textarea { min-height: 64px; resize: vertical; }
.campo input:invalid.tocado { border-color: var(--perigo); }

.mp-rodape { display: flex; gap: 12px; margin-top: 16px; position: sticky; bottom: 0; background: #fff; padding: 10px 0 0; }
.qtd { display: flex; align-items: center; border: 1px solid var(--borda); border-radius: 99px; }
.qtd button { width: 44px; height: 48px; border: 0; background: none; font-size: 22px; color: var(--roxo-500); }
.qtd output { min-width: 24px; text-align: center; font-weight: 800; }
.erro { color: var(--perigo); font-size: 14px; margin: 8px 0 0; min-height: 0; }
.erro:empty { display: none; }

/* sacola */
.linha-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--borda); align-items: start; }
.linha-item img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; }
.linha-item h3 { font-family: inherit; font-size: 15px; font-weight: 700; }
.linha-item p { margin: 2px 0 0; font-size: 13px; color: var(--texto-2); }
.linha-item .acoes { display: flex; align-items: center; gap: 4px; margin-top: 6px; }
.linha-item .acoes button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--borda); background: #fff; font-size: 18px; color: var(--roxo-500); }
.linha-item .valor { font-weight: 800; white-space: nowrap; }
.vazia { text-align: center; padding: 24px 0; color: var(--texto-2); }
.bloco { border: 0; padding: 0; margin: 20px 0 0; }
.bloco legend { font-family: var(--titulo); font-size: 20px; font-weight: 800; color: var(--roxo-800); padding: 0; }
.cupom { display: flex; gap: 8px; margin-top: 8px; }
.msg { font-size: 14px; margin: 6px 0 0; }
.msg.ok { color: var(--whats); }
.msg.nao { color: var(--perigo); }
.seg { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.seg label { flex: 1; min-width: 130px; display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 12px; border: 1px solid var(--borda); border-radius: 10px; cursor: pointer; }
.seg label:has(input:checked) { border-color: var(--roxo-500); background: var(--roxo-100); font-weight: 700; }
.seg input { accent-color: var(--roxo-500); width: 20px; height: 20px; }
.troco { margin-top: 12px; padding: 12px; border-radius: 12px; background: var(--roxo-100); }
.troco .seg label { background: #fff; }
.troco-tit { margin: 0; font-size: 14px; font-weight: 700; }
#troco-valor { margin-top: 12px; }
.notas { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.notas button { min-height: 44px; min-width: 72px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--borda); background: #fff; font-weight: 800; }
.notas button[aria-pressed="true"] { background: var(--roxo-800); border-color: var(--roxo-800); color: #fff; }
.moeda { position: relative; }
.moeda b { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--texto-2); font-weight: 700; }
.moeda input { padding-left: 40px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 14px; padding: 12px; background: var(--roxo-100); border-radius: 10px; }
.check input { width: 22px; height: 22px; flex: none; accent-color: var(--roxo-500); }
.totais { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 20px 0 14px; padding-top: 14px; border-top: 2px solid var(--borda); }
.totais dt { color: var(--texto-2); }
.totais dd { margin: 0; text-align: right; font-weight: 600; }
.totais .total { font-size: 20px; font-weight: 800; color: var(--texto); }
.totais .desc { color: var(--whats); }
.miudo { font-size: 12px; color: var(--texto-2); margin-top: 10px; }

/* cookies e toast */
.cookies { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--borda); border-radius: 16px; padding: 14px; box-shadow: 0 8px 32px rgba(28,4,48,.25); font-size: 14px; }
.cookies p { margin: 0 0 10px; }
.cookies div { display: flex; gap: 8px; justify-content: flex-end; }
.toast { position: fixed; left: 50%; top: 76px; transform: translate(-50%, -20px); background: var(--roxo-900); color: #fff; padding: 10px 18px; border-radius: 99px; font-weight: 700; font-size: 14px; opacity: 0; pointer-events: none; transition: .2s; z-index: 50; max-width: calc(100% - 32px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Páginas legais ---------- */
.legal-pag { max-width: 760px; margin: 0 auto; padding: 24px 16px 48px; }
.legal-pag h1 { font-size: 32px; color: var(--roxo-800); }
.legal-pag h2 { font-size: 22px; color: var(--roxo-800); margin-top: 28px; }
.legal-pag p, .legal-pag li { color: #3a3042; }
.legal-pag .aviso-modelo { background: #fff6dc; border: 1px solid #f1d58a; border-radius: 10px; padding: 12px; font-size: 14px; }
.voltar { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
