/* ==========================================================================
   Açaí da Rafa — estilo do site de pedidos
   Paleta tirada dos flyers: bege de papel, roxo-açaí bem escuro e o rosa da Rafa.
   Trocar a identidade = mexer só nas variáveis de :root.
   ========================================================================== */

:root {
  --paper: #EDE0D3;
  --card: #F8F1E9;
  --ticket: #FFFDF8;
  --ink: #2A0F30;
  --ink-2: #5A3F5E;
  --muted: #6B5470;
  --acai: #3A1341;
  --acai-2: #24092A;
  --pink: #D01673;
  --pink-dark: #9F0F57;
  --line: #CDB9A9;
  --wa: #178A45;

  --f-cond: 'Barlow Condensed', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --f-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-script: 'Kaushan Script', 'Brush Script MT', cursive;
  --f-mono: 'Courier New', ui-monospace, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); font: 400 1rem/1.5 var(--f-body);
  background-color: var(--paper);
  /* granulado de papel: ruído bem sutil por cima da cor */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .16 0 0 0 0 .06 0 0 0 0 .19 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.10'/%3E%3C/svg%3E");
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.sprite-icones { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.i { width: 1.3em; height: 1.3em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.faixa-mock { background: var(--ink); color: #E9D3E8; text-align: center; font-size: .74rem; padding: 6px 12px; }
.faixa-mock b { color: #FFC4E0; }

.rabisco { font-family: var(--f-script); font-size: 1.55rem; line-height: 1.1; color: var(--pink); display: inline-block; transform: rotate(-3deg); }
.rabisco.pequeno { font-size: 1.25rem; }
.rabisco.claro { color: #FFC4E0; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border: 0; border-radius: 10px; font: 700 1.02rem var(--f-body); text-decoration: none; text-align: center;
  transition: transform .08s, box-shadow .08s;
}
.btn-rosa { background: var(--pink); color: #fff; box-shadow: 0 4px 0 var(--pink-dark); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 4px 0 #0E6431; width: 100%; }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0,0,0,.35); }
.btn[aria-disabled="true"] { opacity: .55; }

/* ---------- topo ---------- */
.topo { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--line); }
.topo-row { display: flex; align-items: center; gap: 12px; padding-block: 4px; }
.logo img { height: 58px; width: auto; }
.status { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; color: var(--ink-2); text-align: right; line-height: 1.2; }
.ponto { width: 9px; height: 9px; border-radius: 50%; background: #9A8A9C; flex: none; }
.ponto.on { background: #2E9B57; box-shadow: 0 0 0 3px rgba(46,155,87,.25); }
.btn-bag { position: relative; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); color: var(--paper); display: grid; place-items: center; }
.btn-bag .i { width: 22px; height: 22px; }
.btn-bag .n { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--pink); color: #fff; font: 800 .74rem/20px var(--f-body); text-align: center; }
.btn-bag .n:empty { display: none; }

/* ---------- capa ---------- */
.capa { padding: 20px 0 6px; }
.capa h1 { font: 800 clamp(2.9rem, 13vw, 4.8rem)/.9 var(--f-cond); text-transform: uppercase; color: var(--acai); margin: 4px 0 12px; letter-spacing: .005em; }
.capa h1 span { color: var(--pink); }
.lead { max-width: 36ch; font-size: 1.08rem; color: var(--ink-2); }
.lead b { color: var(--ink); }
.capa-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 20px; }
.link-seta { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; text-decoration: underline wavy var(--pink) 2px; text-underline-offset: 6px; }
/* círculo com seta para baixo: mostra que é clicável e que leva a uma seção mais abaixo */
.seta { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--pink); color: #fff; box-shadow: 0 3px 0 var(--pink-dark); transition: transform .15s ease; }
.seta .i { width: 16px; height: 16px; stroke-width: 2.6; transform: rotate(90deg); }
.link-seta:hover .seta, .link-seta:focus-visible .seta { transform: translateY(3px); box-shadow: 0 0 0 var(--pink-dark); }
.capa-foto { position: relative; margin: 30px 6px 30px; transform: rotate(-.9deg); }
.capa-foto img { width: 100%; height: auto; border: 7px solid #FBF6EE; box-shadow: 0 14px 22px -12px rgba(42,15,48,.55); }
.fita { position: absolute; top: -12px; width: 78px; height: 24px; background: rgba(233, 205, 130, .78); box-shadow: 0 1px 2px rgba(0,0,0,.15); }
.fita.f1 { left: 9%; transform: rotate(-7deg); }
.fita.f2 { right: 11%; transform: rotate(5deg); }
.selo {
  position: absolute; right: -4px; bottom: -26px; width: 124px; height: 124px; border-radius: 50%; background: var(--pink); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; transform: rotate(9deg);
  outline: 2px dashed rgba(255,255,255,.75); outline-offset: -7px; box-shadow: 0 6px 12px -4px rgba(42,15,48,.5);
}
.selo span { font: .92rem/1 var(--f-script); white-space: nowrap; }
.selo b { font: 800 1.9rem/1 var(--f-cond); letter-spacing: .01em; margin: 2px 0; }
.selo small { font-size: .68rem; letter-spacing: .04em; opacity: .95; }
.faixa-info { font-size: .82rem; color: var(--ink-2); border-block: 1px dotted var(--ink-2); padding: 9px 2px; margin-top: 8px; }
.faixa-info i { font-style: normal; color: var(--pink); margin: 0 5px; font-weight: 800; }

/* ---------- layout ---------- */
.layout { display: block; padding-bottom: 90px; }
.col-menu { min-width: 0; }

/* ---------- monte o seu ---------- */
.monte { margin-top: 30px; background: var(--card); border: 1.5px solid var(--line); border-radius: 20px; padding: 4px 16px 18px; }
.passo { padding: 20px 0 18px; }
.passo + .passo { border-top: 2px dashed var(--line); }
.passo-cab { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.num { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--acai); color: var(--paper); display: grid; place-items: center; font: 800 1.8rem/1 var(--f-cond); }
.num.mais { font-size: 2rem; }
.passo-cab h3 { font: 800 1.7rem/1 var(--f-cond); text-transform: uppercase; letter-spacing: .01em; }
.passo-cab h3 em { font-style: italic; color: var(--pink); }
.passo-cab h3 small { display: block; font: 600 .82rem/1.3 var(--f-body); text-transform: none; letter-spacing: 0; color: var(--muted); margin-top: 3px; }
.nota { margin-left: auto; font: 700 .8rem var(--f-body); color: var(--ink-2); background: var(--paper); border: 1.5px solid var(--line); border-radius: 99px; padding: 3px 10px; white-space: nowrap; }
.nota.cheio { background: var(--acai); color: var(--paper); border-color: var(--acai); }

.tam { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tam-op { display: flex; flex-direction: column; align-items: center; padding: 0 0 12px; border: 2px solid var(--line); border-radius: 14px; background: #FFFBF6; overflow: hidden; position: relative; }
.tam-op img { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; }
.tam-op .ml { font: 700 1.35rem/1 var(--f-cond); margin-top: 8px; }
.tam-op .pr { margin-top: 6px; background: var(--acai); color: #fff; border-radius: 8px; padding: 3px 10px; font: 700 .95rem var(--f-body); }
.tam-op[aria-checked="true"] { border-color: var(--pink); box-shadow: 0 0 0 2px var(--pink); }
.tam-op[aria-checked="true"] .pr { background: var(--pink); }
.tam-op[aria-checked="true"]::after, .tile[aria-pressed="true"]::after {
  content: '✓'; position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%; background: var(--pink); color: #fff; font: 800 .95rem/24px var(--f-body); text-align: center;
}

.gratis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tile { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 0 10px; border: 2px solid var(--line); border-radius: 12px; background: #FFFBF6; overflow: hidden; font: 600 .84rem/1.15 var(--f-body); text-align: center; }
.tile img { width: 100%; aspect-ratio: 1.5 / 1; object-fit: cover; }
.tile span { padding: 0 6px; }
.tile[aria-pressed="true"] { border-color: var(--pink); box-shadow: 0 0 0 2px var(--pink); }
.tile[aria-disabled="true"] { opacity: .42; cursor: not-allowed; }

.grupo-tit { display: inline-block; margin: 16px 0 6px; padding: 4px 16px; border-radius: 99px; background: var(--acai); color: var(--paper); font: 700 .82rem/1.4 var(--f-cond); letter-spacing: .14em; text-transform: uppercase; }
.grupo-tit:first-child { margin-top: 0; }
.ex { display: grid; grid-template-columns: 62px 1fr auto 34px; align-items: center; gap: 12px; width: 100%; padding: 8px 0; border: 0; border-bottom: 1px dotted var(--line); background: none; text-align: left; }
.ex img { width: 62px; height: 46px; object-fit: cover; border-radius: 8px; }
.ex-nome { font-weight: 600; }
.ex-preco { font-weight: 700; color: var(--ink-2); font-size: .92rem; }
.tog { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--ink); position: relative; }
.tog::before { content: '+'; position: absolute; inset: 0; display: grid; place-items: center; font: 700 1.2rem/1 var(--f-body); }
[aria-pressed="true"] > .tog { background: var(--pink); border-color: var(--pink); color: #fff; }
[aria-pressed="true"] > .tog::before { content: '✓'; font-size: 1rem; }

.bombom { margin-top: 16px; }
.bombom-btn { position: relative; display: grid; grid-template-columns: 92px 1fr 34px; align-items: center; gap: 14px; width: 100%; padding: 10px 14px 10px 10px; border: 0; border-radius: 14px; background: var(--acai-2); color: var(--paper); text-align: left; }
.bombom-btn img { width: 92px; height: 78px; object-fit: cover; border-radius: 9px; }
.b-txt b { display: block; font: 800 1.35rem/1.05 var(--f-cond); text-transform: uppercase; }
.b-txt span { display: block; font-size: .85rem; margin-top: 3px; color: #E5CFE6; }
.b-txt strong { color: #FFC4E0; }
.bombom-btn .tog { border-color: var(--paper); }
.bombom-btn[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--pink); }

.obs label { display: block; font-weight: 700; margin-bottom: 6px; }
.obs label span { font-weight: 500; color: var(--muted); font-size: .85rem; margin-left: 4px; }
.obs textarea { width: 100%; resize: vertical; padding: 10px 12px; border: 2px solid var(--line); border-radius: 10px; background: #FFFBF6; }
.obs textarea:focus { border-color: var(--ink); outline: 0; }

.monte-fim { display: grid; grid-template-columns: 1fr auto; gap: 12px 14px; align-items: center; padding: 14px; border-radius: 16px; background: var(--acai-2); color: var(--paper); margin-top: 6px; }
.mf-resumo { display: flex; flex-direction: column; }
.mf-tit { font: 800 1.5rem/1 var(--f-cond); text-transform: uppercase; }
.mf-det { font-size: .84rem; color: #E5CFE6; }
.qtd { display: inline-flex; align-items: center; border: 2px solid rgba(255,255,255,.4); border-radius: 99px; }
.qtd button { width: 38px; height: 38px; border: 0; background: none; color: var(--paper); font: 700 1.3rem/1 var(--f-body); }
.qtd span { min-width: 24px; text-align: center; font-weight: 800; }
.monte-fim .btn { grid-column: 1 / -1; }

/* ---------- copos sensação ---------- */
.sensacao { margin-top: 42px; }
.sensacao h2 { font: italic 800 clamp(2.4rem, 10vw, 3.4rem)/.95 var(--f-cond); text-transform: uppercase; color: var(--acai); }
.sensacao .sub { color: var(--ink-2); margin: 6px 0 14px; max-width: 46ch; }
.sens { display: grid; grid-template-columns: 78px 1fr; gap: 6px 14px; padding: 16px 0; border-top: 1px dotted var(--ink-2); }
.sens-foto { grid-row: span 2; width: 78px; height: 78px; object-fit: cover; border-radius: 10px; }
.sens-txt h3 { font: 800 1.35rem/1.05 var(--f-cond); text-transform: uppercase; color: var(--acai); }
.sens-txt p { font-size: .88rem; color: var(--ink-2); margin-top: 3px; }
.sens-precos { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.sens-precos button { display: flex; flex-direction: column; align-items: center; padding: 7px 4px 8px; border: 2px solid var(--acai); border-radius: 10px; background: transparent; line-height: 1.2; }
.sens-precos button span { font-size: .78rem; font-weight: 600; color: var(--ink-2); }
.sens-precos button b { font: 700 1.15rem/1.1 var(--f-cond); }
.sens-precos button:hover { background: var(--acai); color: var(--paper); }
.sens-precos button:hover span { color: #E5CFE6; }

/* ---------- info ---------- */
.info { margin-top: 42px; padding-top: 6px; border-top: 2px solid var(--ink); }
.info dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px dotted var(--ink-2); }
.info dt { font: 800 1rem/1.5 var(--f-cond); text-transform: uppercase; letter-spacing: .06em; color: var(--pink); }
.info dd { font-size: .95rem; }
.info dl > div > .taxas { grid-column: 1 / -1; margin-top: -4px; }   /* ocupa a largura toda, abaixo do texto da entrega */
.taxas td:nth-child(2) { white-space: nowrap; }
.taxas thead th:nth-child(2) { line-height: 1.05; }
.taxas summary { cursor: pointer; font-weight: 700; color: var(--pink-dark); text-decoration: underline; text-underline-offset: 3px; }
.taxas summary:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.taxas table { width: 100%; margin-top: 8px; border-collapse: collapse; font-size: .9rem; }
.taxas th, .taxas td { padding: 6px 8px 6px 0; text-align: left; border-bottom: 1px dotted var(--ink-2); font-weight: 500; }
.taxas thead th { font: 800 .8rem var(--f-cond); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.taxas td:last-child, .taxas thead th:last-child { text-align: right; padding-right: 0; font-weight: 700; white-space: nowrap; }
.taxas td.livre { color: var(--wa); }

/* ---------- sacola (recibo) ---------- */
.veu { position: fixed; inset: 0; background: rgba(36, 9, 42, .6); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 55; }
.sacola {
  position: fixed; inset: 0; z-index: 60; overflow-y: auto; background-color: var(--paper); padding: 0 16px 0;
  transform: translateY(102%); transition: transform .28s ease; visibility: hidden;
}
body.sacola-aberta { overflow: hidden; }
body.sacola-aberta .sacola { transform: none; visibility: visible; }
.sacola-cab { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 14px 0 10px; background: var(--paper); }
.sacola-cab h2 { font: 800 1.9rem/1 var(--f-cond); text-transform: uppercase; }
.sacola-cab button { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--ink); background: none; font: 400 1.7rem/1 var(--f-body); }

.ticket {
  position: relative; background: var(--ticket); font: .86rem/1.4 var(--f-mono); padding: 18px 16px 16px; margin: 6px 4px 22px;
  transform: rotate(-.5deg); filter: drop-shadow(0 8px 10px rgba(42, 15, 48, .22));
}
.ticket::after {
  content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 9px; background: var(--ticket);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%;
}
.tk-cab { text-align: center; padding-bottom: 12px; border-bottom: 2px dashed #B9A79B; margin-bottom: 4px; }
.tk-cab b { display: block; font: 700 1.05rem var(--f-mono); letter-spacing: .12em; }
.tk-cab span { font-size: .76rem; color: #6d5a70; }
.tl { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 0; border-bottom: 1px dashed #CFC0B4; }
.tl-nome { font-weight: 700; }
.tl-preco { font-weight: 700; white-space: nowrap; }
.tl-det { grid-column: 1 / -1; font-size: .78rem; color: #6d5a70; }
.tl-det span { display: block; }
.tl-acoes { grid-column: 1 / -1; display: flex; gap: 6px; align-items: center; margin-top: 4px; }
.tl-acoes button { width: 30px; height: 28px; border: 1.5px solid var(--ink); border-radius: 6px; background: none; font: 700 1rem/1 var(--f-mono); }
.tl-acoes .rem { width: auto; margin-left: auto; padding: 0 4px; border-color: transparent; text-decoration: underline; font-size: .76rem; color: var(--pink-dark); }
.tk-tot { padding-top: 10px; }
.tk-tot > div { display: flex; justify-content: space-between; padding: 2px 0; }
.tk-final { margin-top: 6px; padding-top: 8px; border-top: 2px solid var(--ink); font-weight: 700; font-size: 1.15rem; }
.tk-rodape { text-align: center; margin-top: 14px; font-size: .76rem; color: #6d5a70; letter-spacing: .06em; }
.tk-vazio { text-align: center; padding: 22px 6px 10px; }
.tk-vazio p + p { margin: 6px 0 16px; color: #6d5a70; }
.tk-vazio .btn { font-family: var(--f-body); }

.dados, #bloco-end { display: grid; gap: 14px; }
.campo { display: block; font: 700 .78rem var(--f-body); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.campo em { text-transform: none; letter-spacing: 0; font-weight: 500; }
.campo input { display: block; width: 100%; margin-top: 2px; padding: 10px 2px 8px; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; background: transparent; font: 500 1.05rem var(--f-body); color: var(--ink); }
.campo input:focus { outline: 0; border-bottom-color: var(--pink); background: rgba(255,255,255,.35); }
.campo select {
  display: block; width: 100%; margin-top: 2px; padding: 10px 26px 8px 2px; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0;
  background-color: transparent; font: 500 1.05rem var(--f-body); color: var(--ink); cursor: pointer;
  -webkit-appearance: none; appearance: none;
  /* setinha desenhada com gradientes (a política de segurança do site não precisa liberar imagem externa) */
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%; background-size: 6px 6px; background-repeat: no-repeat;
}
.campo select:focus { outline: 0; border-bottom-color: var(--pink); background-color: rgba(255,255,255,.35); }
.campo.erro { color: var(--pink-dark); }
.campo.erro input, .campo.erro select { border-bottom-color: var(--pink); background-color: #F7D2E3; }
.bairro-info { margin-top: -8px; font-size: .84rem; font-weight: 600; color: var(--pink-dark); }
.bairro-info:empty { display: none; }
.tk-pend { color: var(--pink-dark); font-style: italic; }
.tk-tot > .tk-bairro { padding-top: 0; font-size: .76rem; color: #6d5a70; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg.tres { grid-template-columns: repeat(3, 1fr); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: flex; align-items: center; justify-content: center; height: 46px; border: 2px solid var(--ink); border-radius: 10px; font-weight: 700; }
.seg input:checked + span { background: var(--ink); color: var(--paper); }
.seg input:focus-visible + span { outline: 3px solid var(--pink); outline-offset: 2px; }
.pag { border: 0; padding: 0; margin: 0; }
.pag legend { padding: 0; margin-bottom: 6px; font: 700 .78rem var(--f-body); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.ajuda { font-size: .82rem; color: var(--muted); text-align: center; }
.lembrar { display: grid; grid-template-columns: 22px 1fr; gap: 2px 10px; align-items: start; font-size: .9rem; cursor: pointer; }
.lembrar input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--pink); }
.lembrar span { font-weight: 600; }
.lembrar small { grid-column: 2; color: var(--muted); font-size: .76rem; line-height: 1.35; }
.pronto-cod { font: 700 1.05rem var(--f-mono); letter-spacing: .12em; }
.pronto-cod b { background: var(--ticket); border: 2px dashed var(--ink); padding: 3px 10px; border-radius: 6px; }

/* botão de confirmar: fixo no rodapé da sacola */
.confirma {
  position: sticky; bottom: 0; z-index: 3; margin: 18px -16px 0; padding: 12px 16px calc(14px + env(safe-area-inset-bottom));
  background: var(--paper); border-top: 2px solid var(--ink); display: grid; gap: 8px;
}
.confirma-tot { display: flex; justify-content: space-between; align-items: baseline; }
.confirma-tot span { font: 700 .78rem var(--f-body); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.confirma-tot b { font: 800 1.7rem/1 var(--f-cond); }
.confirma .btn { min-height: 56px; font-size: 1.08rem; }
.confirma .ajuda { font-size: .76rem; }

/* depois de confirmar */
.pronto { text-align: center; display: grid; gap: 10px; justify-items: center; padding: 6px 4px 20px; }
.pronto-check { width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; font: 800 2rem/60px var(--f-body); }
.pronto h3 { font: 800 2rem/1 var(--f-cond); text-transform: uppercase; }
.pronto p { max-width: 32ch; color: var(--ink-2); }
.pronto .btn { margin-top: 6px; }
.carimbo {
  position: absolute; right: 14px; top: 46px; transform: rotate(-11deg); font: 800 1.15rem/1 var(--f-cond); font-style: normal; letter-spacing: .12em; text-transform: uppercase;
  color: var(--wa); border: 3px double var(--wa); border-radius: 6px; padding: 4px 10px; background: rgba(255,253,248,.7);
}
.ticket.fechado .tl-acoes { display: none; }
.link-btn { border: 0; background: none; padding: 0; font-weight: 700; text-decoration: underline; color: var(--pink-dark); }

/* barra fixa (celular) */
.barra-sacola {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 45; display: flex; align-items: center; gap: 12px;
  padding: 10px 16px 10px 10px; border: 0; border-radius: 14px; background: var(--acai-2); color: var(--paper); box-shadow: 0 10px 22px -6px rgba(36,9,42,.6);
}
.bs-n { width: 32px; height: 32px; border-radius: 50%; background: var(--pink); color: #fff; display: grid; place-items: center; font: 800 .95rem var(--f-body); }
.bs-txt { flex: 1; text-align: left; font-weight: 700; }
.bs-total { font: 800 1.35rem/1 var(--f-cond); }

.toast { position: fixed; left: 50%; bottom: 84px; z-index: 70; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; background: var(--ink); color: var(--paper); padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: .9rem; transition: all .22s; max-width: calc(100vw - 32px); text-align: center; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- rodapé ---------- */
.rodape { background: var(--acai-2); color: var(--paper); padding: 36px 0 110px; text-align: center; }
.rodape img { margin: 0 auto; width: 150px; height: auto; }
.rodape .rabisco { display: block; margin-top: 4px; font-size: 1.6rem; }
.rodape-linha { margin-top: 14px; font-size: .85rem; color: #D7BFD8; }
.rodape-linha a:focus-visible { outline-color: #FFC4E0; }   /* o contorno padrão é escuro e some no rodapé roxo */

/* ---------- item esgotado (visível, mas não dá para escolher) ---------- */
.esg { position: relative; cursor: not-allowed; }
.esg img { filter: grayscale(1) contrast(.9); opacity: .55; }
.esg-tag {
  font-style: normal; font: 800 .68rem/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase;
  color: #fff; background: var(--ink-2); padding: 4px 8px; border-radius: 99px; white-space: nowrap;
}
.tam-op.esg, .tile.esg { background: #E8DDD0; }
.tam-op.esg .esg-tag, .tile.esg .esg-tag { position: absolute; top: 8px; left: 8px; }
.tam-op.esg .pr { background: #8A7A8D; }
.ex.esg .ex-nome, .ex.esg .ex-preco { color: #8A7A8D; }
.ex.esg .ex-preco { font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: .72rem; }
.ex.esg .tog { opacity: .3; }
.bombom-btn.esg { opacity: .6; }
.sens.esg .sens-txt h3, .sens.esg .sens-txt p { color: #8A7A8D; }
.sens.esg .esg-tag { margin-left: 6px; vertical-align: middle; }
.sens-precos button[aria-disabled="true"] { opacity: .45; cursor: not-allowed; border-color: #8A7A8D; }
.sens-precos button[aria-disabled="true"]:hover { background: transparent; color: inherit; }
.sens-precos button[aria-disabled="true"]:hover span { color: var(--ink-2); }

/* ---------- cardápio não carregou ---------- */
.erro-catalogo { max-width: 520px; margin: 48px auto; padding: 28px 20px; text-align: center; background: var(--card); border: 2px solid var(--ink); border-radius: 16px; display: grid; gap: 14px; justify-items: center; }
.erro-catalogo h2 { font: 800 1.9rem/1 var(--f-cond); text-transform: uppercase; }
.erro-catalogo .btn { width: auto; }
.erro-dev { font-size: .8rem; color: var(--muted); }

/* ---------- telas maiores ---------- */
@media (min-width: 640px) {
  .gratis { grid-template-columns: repeat(5, 1fr); }
  .tile { font-size: .8rem; }
  .sens { grid-template-columns: 96px 1fr 290px; align-items: center; }
  .sens-foto { grid-row: auto; width: 96px; height: 84px; }
  .sens-precos { grid-column: auto; margin: 0; }
  .monte-fim { grid-template-columns: 1fr auto auto; }
  .monte-fim .btn { grid-column: auto; min-width: 230px; }
}

@media (min-width: 1000px) {
  .logo img { height: 66px; }
  .btn-bag, .barra-sacola, .sacola-cab button, .veu { display: none; }
  .layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 40px; align-items: start; padding-bottom: 60px; }
  .capa { padding-top: 32px; }
  .capa h1 br { display: none; }
  .capa h1 span { display: block; }
  .capa-foto { margin: 34px 10px 36px; }
  .sacola {
    position: sticky; top: 84px; inset: auto; transform: none; visibility: visible; z-index: 1; max-height: calc(100vh - 124px); overflow-y: auto; background: transparent;
    padding: 0 6px 0; margin-top: 28px;
  }
  .confirma { margin-inline: -6px; padding-inline: 6px; padding-bottom: 14px; }
  .sacola-cab { position: static; background: none; padding-top: 0; }
  .toast { bottom: 28px; }
  .rodape { padding-bottom: 40px; }
  .info dl > div { grid-template-columns: 150px 1fr; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
