:root {
  --red: #c30a07;
  --red-hi: #dc1511;
  --red-lo: #9c0805;
  --wine: #6b0a0e;
  --wine-lo: #4f070a;
  --wine-hi: #82101a;
  --ink: #2a0a0b;
  --ink-2: #6f5550;
  --paper: #fff8ef;
  --paper-2: #f5eadc;
  --line: #e7d5c2;
  --white: #fff;
  --soft: rgba(255, 255, 255, 0.78);
  --green: #1d8c3c;
  --yellow: #f3c400;
  --ok: #3ddc6e;

  --display: "Bebas Neue", "Oswald", Impact, "Arial Narrow", sans-serif;
  --body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --col: 560px;
  --gut: 18px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 64px; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.45;
  color: var(--white);
  background-color: var(--wine);
  background-image: url(../img/doodles.svg), radial-gradient(120% 70% at 50% 0%, var(--wine-hi) 0%, var(--wine) 55%, var(--wine-lo) 100%);
  background-size: 420px 420px, 100% 100%;
  background-attachment: scroll, fixed;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  padding-bottom: calc(96px + var(--safe-b));
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url(../img/grain.svg);
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: multiply;
}

body > * { position: relative; z-index: 1; }

body.travado { overflow: hidden; }

button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }

.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-sm { width: 16px; height: 16px; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 6px; }

/* faixa com as cores do Rio Grande do Sul */
.rs { display: flex; height: 6px; }
.rs i { flex: 1; }
.rs i:nth-child(1) { background: var(--green); }
.rs i:nth-child(2) { background: var(--red-hi); }
.rs i:nth-child(3) { background: var(--yellow); }

/* topo */
.topo {
  background: var(--red);
  padding: 12px var(--gut) 40px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), 0 100%);
  text-align: center;
}
.topo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(../img/doodles.svg);
  background-size: 360px;
  opacity: 0.9;
  pointer-events: none;
}
.topo > * { position: relative; max-width: var(--col); margin-inline: auto; }

.topo-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 12px 0 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  font-weight: 700;
  font-size: 14px;
}
.pill:active { background: rgba(0, 0, 0, 0.3); }

.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  position: relative;
}
.icon-btn .ponto {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 2px var(--red);
}

.logo { margin: 4px auto 8px; width: min(50vw, 196px); }
.logo img { width: 100%; height: auto; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  font-weight: 600;
  font-size: 13.5px;
}
.status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(61, 220, 110, 0.22); }
.status.fechado .dot { background: #ffb3a6; box-shadow: 0 0 0 4px rgba(255, 179, 166, 0.2); }

.topo-info {
  list-style: none;
  padding: 0;
  margin: 12px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}
.topo-info li { display: inline-flex; align-items: center; gap: 6px; }
.topo-info .ic { width: 18px; height: 18px; }

/* categorias */
.cats {
  position: sticky;
  top: 0;
  z-index: 20;
  margin-top: -8px;
  background: rgba(79, 7, 10, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.cats-in {
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 var(--gut);
  display: flex;
  gap: 26px;
  overflow-x: auto;
  scrollbar-width: none;
}
.cats-in::-webkit-scrollbar { display: none; }
.cats a {
  position: relative;
  flex: none;
  padding: 14px 0 10px;
  font-family: var(--display);
  font-size: 23px;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
}
.cats a.on { color: var(--white); }
.cats a.on::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 0;
  height: 4px;
  background: var(--red-hi);
  transform: skewX(-20deg);
}

/* cardápio */
.cardapio { max-width: var(--col); margin: 0 auto; padding: 8px var(--gut) 10px; }

.secao { padding-top: 22px; }
.secao-topo { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.secao h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: 46px;
  line-height: 1;
  letter-spacing: 0.02em;
}
.etiqueta {
  display: inline-block;
  padding: 3px 9px 2px;
  border-radius: 4px;
  background: var(--red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateY(-6px);
}

.item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  width: 100%;
  padding: 18px 0;
  text-align: left;
  border-bottom: 2px dotted rgba(255, 255, 255, 0.26);
  transition: opacity 0.15s;
}
.item:last-child { border-bottom: 0; }
.item:active { opacity: 0.75; }
.item h3 {
  margin: 0 0 4px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 31px;
  line-height: 0.95;
  letter-spacing: 0.02em;
}
.item p { margin: 0; font-size: 13px; font-weight: 500; line-height: 1.45; color: var(--soft); }

.item-lado { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 12px; }
.item-foto { width: 96px; height: 96px; border-radius: 12px; object-fit: cover; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3); }

.preco {
  display: inline-block;
  padding: 5px 12px 2px;
  background: var(--red);
  box-shadow: 4px 4px 0 var(--wine-lo);
  transform: skewX(-10deg);
  white-space: nowrap;
}
.preco > span {
  display: inline-block;
  transform: skewX(10deg);
  font-family: var(--display);
  font-size: 27px;
  line-height: 1;
  letter-spacing: 0.02em;
}
.preco small { font-size: 0.7em; margin-right: 2px; }

.mais {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--red);
}
.mais .ic { stroke-width: 2.6; }
.mais.tem { background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 15px; }

.item.esgotado { opacity: 0.5; pointer-events: none; }
.item.esgotado .preco { background: #555; }

/* selos */
.selos {
  max-width: var(--col);
  margin: 18px auto 0;
  padding: 18px var(--gut);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 2px dotted rgba(255, 255, 255, 0.26);
  border-bottom: 2px dotted rgba(255, 255, 255, 0.26);
}
.selos div { display: flex; align-items: center; gap: 8px; justify-content: center; font-size: 11.5px; font-weight: 600; line-height: 1.25; text-transform: uppercase; letter-spacing: 0.03em; }
.selos div + div { border-left: 1.5px solid rgba(255, 255, 255, 0.3); }
.selos svg { width: 34px; height: 34px; flex: none; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* rodapé */
.rodape { max-width: var(--col); margin: 0 auto; padding: 26px var(--gut) 20px; }
.rodape h2 { font-family: var(--display); font-weight: 400; font-size: 30px; letter-spacing: 0.03em; margin: 0 0 12px; }
.loja {
  padding: 16px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 10px;
}
.loja-topo { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.loja h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 26px; letter-spacing: 0.03em; }
.loja p { margin: 6px 0 0; font-size: 13px; color: var(--soft); display: flex; gap: 8px; align-items: flex-start; }
.loja p .ic { width: 17px; height: 17px; margin-top: 1px; opacity: 0.8; }
.loja-wa {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--white);
  color: var(--wine);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  flex: none;
}
.loja-wa .ic { width: 17px; height: 17px; }
.horas { margin: 10px 0 0; padding: 0; list-style: none; font-size: 12.5px; color: var(--soft); }
.horas li { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; }
.horas li b { font-weight: 600; color: #fff; }

.rodape-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.link-claro {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
}
.rodape small { display: block; margin-top: 22px; font-size: 11.5px; color: rgba(255, 255, 255, 0.5); }

/* barra da sacola */
.barra {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  padding: 10px var(--gut) calc(12px + var(--safe-b));
  background: linear-gradient(to top, rgba(79, 7, 10, 0.95) 55%, rgba(79, 7, 10, 0));
}
.barra-btn {
  width: 100%;
  max-width: calc(var(--col) - 2 * var(--gut));
  margin: 0 auto;
  height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px 0 10px;
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  animation: sobe 0.25s ease-out;
}
.barra-qtd {
  min-width: 38px;
  height: 38px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.barra-txt { flex: 1; text-align: left; font-weight: 700; font-size: 15px; }
.barra-total { font-family: var(--display); font-size: 26px; color: var(--red); letter-spacing: 0.02em; }
.barra-btn.pulo { animation: pulo 0.35s ease-out; }

@keyframes sobe { from { transform: translateY(20px); opacity: 0; } }
@keyframes pulo { 40% { transform: scale(1.035); } }

/* sheet (sacola, produto, etc.) */
.sheet { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.sheet-fundo { position: absolute; inset: 0; background: rgba(30, 2, 4, 0.6); animation: aparece 0.2s ease-out; }
.sheet-painel {
  position: relative;
  width: 100%;
  max-width: var(--col);
  max-height: 94vh;
  max-height: 94dvh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  border-radius: 22px 22px 0 0;
  overflow: hidden;
  animation: sobe-sheet 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  outline: none;
}
.sheet-conteudo { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.sheet.saindo .sheet-painel { animation: desce-sheet 0.2s ease-in forwards; }
.sheet.saindo .sheet-fundo { animation: some 0.2s ease-in forwards; }

@keyframes aparece { from { opacity: 0; } }
@keyframes some { to { opacity: 0; } }
@keyframes sobe-sheet { from { transform: translateY(100%); } }
@keyframes desce-sheet { to { transform: translateY(100%); } }

@media (min-width: 640px) {
  .sheet { align-items: center; padding: 24px; }
  .sheet-painel { border-radius: 22px; max-height: 88vh; }
}

.sh-topo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 16px 12px 20px;
  border-bottom: 2px dashed var(--line);
  flex: none;
}
.sh-topo h2 { flex: 1; margin: 0; font-family: var(--display); font-weight: 400; font-size: 32px; line-height: 1; letter-spacing: 0.02em; }
.sh-topo h2 small { display: block; font-family: var(--body); font-size: 12px; font-weight: 600; color: var(--ink-2); letter-spacing: 0; margin-top: 2px; }
.sh-x { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); flex: none; }
.sh-corpo { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 18px 20px 22px; }
.sh-pe {
  flex: none;
  padding: 12px 16px calc(12px + var(--safe-b));
  border-top: 1px solid var(--line);
  background: var(--paper);
  display: flex;
  gap: 10px;
  align-items: center;
}

/* produto */
.prod-topo {
  position: relative;
  background: var(--red);
  color: #fff;
  padding: 22px 20px 20px;
  flex: none;
}
.prod-topo::before { content: ""; position: absolute; inset: 0; background: url(../img/doodles.svg); background-size: 300px; }
.prod-topo > * { position: relative; }
.prod-topo .sh-x { position: absolute; top: 12px; right: 12px; background: rgba(0, 0, 0, 0.2); color: #fff; }
.prod-topo h2 { margin: 0 52px 10px 0; font-family: var(--display); font-weight: 400; font-size: 44px; line-height: 0.95; letter-spacing: 0.02em; }
.prod-topo p { margin: 12px 0 0; font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, 0.9); }
.prod-topo .preco { background: var(--wine); box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.25); }
.prod-foto { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; flex: none; }

.bloco + .bloco { margin-top: 22px; }
.bloco-tit { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 0 0 4px; font-weight: 800; font-size: 15px; }
.bloco-tit span { font-size: 12px; font-weight: 600; color: var(--ink-2); }
label.bloco-tit { margin-bottom: 8px; }
.bloco-sub { margin: 0 0 12px; font-size: 13px; color: var(--ink-2); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
}
.chip .ic { width: 15px; height: 15px; display: none; }
.chip[aria-pressed="true"] {
  background: var(--paper-2);
  border-color: var(--paper-2);
  color: var(--red);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.chip[aria-pressed="true"] .ic { display: block; }
.chip.fixo { background: transparent; border-style: dashed; color: var(--ink-2); cursor: default; }

/* campos */
.campo { display: block; margin-bottom: 12px; }
.campo > span { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.campo > span em { font-style: normal; font-weight: 500; color: var(--ink-2); }
.inp {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: 500 16px var(--body);
  appearance: none;
  -webkit-appearance: none;
}
textarea.inp { height: 84px; padding: 12px 14px; resize: none; line-height: 1.4; }
select.inp { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a0a0b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 40px; }
.inp:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(195, 10, 7, 0.15); }
.inp.erro { border-color: var(--red); background: #fff4f2; }
.msg-erro { display: block; margin-top: 5px; font-size: 12.5px; font-weight: 600; color: var(--red); }
.linha { display: grid; grid-template-columns: 1fr 112px; gap: 10px; }

/* botões */
.btn {
  flex: 1;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 14px;
  background: var(--red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 23px;
  letter-spacing: 0.04em;
  line-height: 1;
  padding-top: 3px;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}
.btn:hover { background: var(--red-hi); }
.btn:active { transform: scale(0.985); background: var(--red-lo); }
.btn .ic { width: 22px; height: 22px; margin-top: -3px; }
.btn .ic[fill] { stroke: none; }
.btn-lado { margin-left: auto; font-family: var(--display); }
.btn.sec { background: var(--paper-2); color: var(--ink); }
.btn.sec:hover { background: var(--line); }
.btn.wa { background: #1a9e4b; }
.btn.wa:hover { background: #1fb056; }
.btn.wa:active { background: #157f3c; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }

.passo { display: flex; align-items: center; height: 54px; border-radius: 14px; background: var(--paper-2); flex: none; }
.passo button { width: 46px; height: 54px; display: grid; place-items: center; color: var(--red); }
.passo button[disabled] { color: var(--line); }
.passo .ic { stroke-width: 2.6; }
.passo output { min-width: 26px; text-align: center; font-weight: 800; font-size: 17px; }
.passo.mini { height: 36px; border-radius: 10px; }
.passo.mini button { width: 34px; height: 36px; }
.passo.mini .ic { width: 16px; height: 16px; }
.passo.mini output { min-width: 18px; font-size: 14px; }

/* sacola */
.sac-item { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px 0; border-bottom: 2px dashed var(--line); }
.sac-item:first-child { padding-top: 0; }
.sac-item h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 25px; line-height: 1; letter-spacing: 0.02em; }
.sac-item .det { margin: 3px 0 0; font-size: 12.5px; color: var(--ink-2); }
.sac-item .det b { color: var(--red); font-weight: 700; }
.sac-valor { font-weight: 800; font-size: 15px; text-align: right; white-space: nowrap; }
.sac-acoes { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; }
.sac-acoes .link { font-size: 13px; font-weight: 700; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }

.link-add { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; font-size: 14px; color: var(--red); }

.totais { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1.5px solid var(--line); }
.totais div { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.totais div b { color: var(--ink); font-weight: 700; }
.totais .tot { margin-top: 6px; padding-top: 10px; border-top: 2px dashed var(--line); color: var(--ink); align-items: baseline; }
.totais .tot:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.totais .tot strong { font-family: var(--display); font-weight: 400; font-size: 32px; color: var(--red); letter-spacing: 0.02em; line-height: 1; }
.totais .nota { display: block; font-size: 12px; font-weight: 500; color: var(--ink-2); padding: 4px 0 0; }

.vazio { text-align: center; padding: 30px 10px 20px; color: var(--ink-2); }
.vazio svg { width: 54px; height: 54px; stroke: var(--line); fill: none; stroke-width: 1.5; margin: 0 auto 10px; }
.vazio b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }

/* opções (entrega, pagamento) */
.opcoes { display: grid; gap: 8px; }
.opcoes.dois { grid-template-columns: 1fr 1fr; }
.opcao {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: #fff;
  text-align: left;
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.2;
}
.opcao small { display: block; font-weight: 500; font-size: 12px; color: var(--ink-2); margin-top: 2px; }
.opcao .ic { width: 24px; height: 24px; color: var(--ink-2); }
.opcao[aria-checked="true"] { border-color: var(--red); background: #fff1ee; box-shadow: inset 0 0 0 1px var(--red); }
.opcao[aria-checked="true"] .ic { color: var(--red); }
.opcoes.dois .opcao { flex-direction: column; justify-content: center; text-align: center; gap: 6px; padding: 14px 8px; }

.aviso {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff3cf;
  color: #5d4300;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
}
.aviso .ic { width: 18px; height: 18px; margin-top: 1px; }

/* pix */
.pix-valor { text-align: center; margin: 4px 0 16px; }
.pix-valor span { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); text-transform: uppercase; letter-spacing: 0.06em; }
.pix-valor strong { font-family: var(--display); font-weight: 400; font-size: 56px; color: var(--red); line-height: 1; letter-spacing: 0.02em; }
.btn.cheio { width: 100%; }
.pix-codigo {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px dashed var(--line);
  background: #fff;
  font: 500 12px/1.45 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color: var(--ink-2);
  word-break: break-all;
  user-select: all;
  -webkit-user-select: all;
  margin: 0 0 10px;
  max-height: 84px;
  overflow: hidden;
}
.pix-qr { display: grid; place-items: center; gap: 8px; margin: 18px 0 6px; }
.pix-qr div { width: 212px; height: 212px; padding: 12px; background: #fff; border-radius: 14px; border: 1.5px solid var(--line); }
.pix-qr svg { width: 100%; height: 100%; display: block; }
.pix-qr small { font-size: 12px; color: var(--ink-2); }
.pix-passos { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: p; }
.pix-passos li { counter-increment: p; display: flex; gap: 12px; align-items: flex-start; padding: 7px 0; font-size: 14px; font-weight: 500; }
.pix-passos li::before {
  content: counter(p);
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
}
.pix-info { margin-top: 12px; font-size: 12.5px; color: var(--ink-2); text-align: center; }

/* pedido enviado */
.feito { text-align: center; padding: 10px 6px 4px; }
.feito-selo { width: 76px; height: 76px; margin: 0 auto 12px; border-radius: 50%; background: #1a9e4b; color: #fff; display: grid; place-items: center; }
.feito-selo .ic { width: 40px; height: 40px; stroke-width: 2.6; }
.feito h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1; letter-spacing: 0.02em; }
.feito p { margin: 10px auto 0; max-width: 340px; font-size: 14px; color: var(--ink-2); }
.feito .num { display: inline-block; margin-top: 14px; padding: 6px 14px; border-radius: 8px; background: var(--paper-2); font-weight: 800; letter-spacing: 0.04em; }

/* unidades */
.unis { display: grid; gap: 10px; }
.uni {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px;
  border-radius: 16px;
  border: 1.5px solid var(--line);
  background: #fff;
  text-align: left;
}
.uni[aria-checked="true"] { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.uni-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--red); color: #fff; display: grid; place-items: center; flex: none; }
.uni b { display: block; font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1; letter-spacing: 0.03em; }
.uni small { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-top: 3px; }
.uni small.aberto { color: #137a35; }
.boas-vindas { text-align: center; margin: -2px 0 18px; }
.boas-vindas img { width: 116px; margin: 0 auto 8px; background: var(--red); border-radius: 50%; padding: 18px 14px; }
.boas-vindas p { margin: 0; font-size: 14px; color: var(--ink-2); font-weight: 500; }

/* histórico */
.ped { padding: 14px 0; border-bottom: 2px dashed var(--line); }
.ped:first-child { padding-top: 0; }
.ped:last-child { border-bottom: 0; }
.ped-topo { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--ink-2); font-weight: 600; }
.ped-topo b { color: var(--ink); }
.ped p { margin: 6px 0 10px; font-size: 14px; font-weight: 500; }
.btn-mini { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 10px; background: var(--paper-2); font-weight: 700; font-size: 13px; color: var(--red); }

/* toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(86px + var(--safe-b));
  z-index: 60;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  padding: 11px 18px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

@media (max-width: 460px) {
  .selos { padding-inline: 8px; }
  .selos div { flex-direction: column; text-align: center; gap: 6px; font-size: 10.5px; }
}

@media (max-width: 360px) {
  :root { --gut: 14px; }
  .item h3 { font-size: 27px; }
  .preco > span { font-size: 24px; }
}
