@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2-variations"), url("fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --papel: #fbf6f4;      /* papel de seda que embrulha lingerie */
  --papel-2: #f3e9e5;
  --tinta: #2b1b24;      /* texto */
  --tinta-2: #6b5560;    /* texto secundário */
  --vinho: #9b1b3b;      /* destaque, a cor dos números impressos no talão */
  --vinho-esc: #7c1430;
  --nude: #ecd6cc;       /* etiqueta */
  --linha: #e4d4cf;
  --verde: #0e7a43;      /* ação do WhatsApp (contraste AA com branco) */
  --verde-esc: #0a6136;
  --talao: #fffaf0;      /* folha do talão */
  --pauta: #c9d6ea;      /* pauta azul do talão */
  --margem: #e7a1a8;     /* linha vermelha da margem */
  --raio: 10px;
  --sombra: 0 1px 2px rgba(43, 27, 36, .06), 0 8px 24px rgba(43, 27, 36, .08);
  --fonte: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html:has(dialog[open]) { overflow: hidden; }
body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font: 400 1rem/1.5 var(--fonte);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--vinho); outline-offset: 2px; border-radius: 4px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--tinta); color: #fff; padding: 10px 14px; border-radius: 6px; z-index: 50; }
.skip:focus { top: 12px; }
.link { background: none; border: 0; padding: 0; color: var(--vinho); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.noscript { padding: 24px 16px; }

/* ---------- faixa: elástico do cós ---------- */
.faixa {
  margin: 0;
  background: var(--vinho);
  color: #fbe9ee;
  text-align: center;
  font-size: .82rem;
  font-stretch: 112%;
  font-weight: 500;
  letter-spacing: .02em;
  padding: 7px 16px;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 2px, transparent 2px 6px);
}

/* ---------- topo ---------- */
.topo-in {
  max-width: 1320px;
  margin: 0 auto;
  padding: 22px 16px 14px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px 24px;
}
.marca {
  text-decoration: none;
  font-size: clamp(1.45rem, 5.2vw, 2.25rem);
  line-height: 1.05;
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -.015em;
  justify-self: start;
}
.lema { margin: 0; color: var(--tinta-2); font-size: .95rem; }
.busca { position: relative; margin-top: 12px; }
.busca input {
  width: 100%;
  height: 46px;
  border: 1px solid var(--linha);
  border-radius: 999px;
  background: #fff;
  padding: 0 16px 0 44px;
  font-size: 1rem;
  outline: none;
}
.busca input:focus { border-color: var(--vinho); box-shadow: 0 0 0 3px rgba(155, 27, 59, .15); }
.busca-ic { position: absolute; left: 16px; top: 13px; width: 20px; height: 20px; fill: none; stroke: var(--tinta-2); stroke-width: 2; stroke-linecap: round; }

@media (min-width: 860px) {
  .topo-in { grid-template-columns: auto 1fr minmax(280px, 380px); align-items: end; padding-top: 28px; }
  .lema { padding-bottom: 4px; }
  .busca { margin-top: 0; grid-column: 3; grid-row: 1; }
}

/* ---------- trilho de categorias (fixo no topo ao rolar) ---------- */
.trilho {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 246, 244, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--linha);
}
.trilho-in { max-width: 1320px; margin: 0 auto; display: flex; align-items: center; gap: 12px; padding: 8px 16px; }
.trilho-cats { flex: 1; min-width: 0; display: grid; gap: 6px; }
.fichas-sub { gap: 6px; }
.ficha-cat.ficha-sub { padding: 4px 12px; font-size: .84rem; background: transparent; }
.ficha-cat.ficha-sub[aria-pressed="true"] { background: var(--nude); border-color: var(--tinta-2); color: var(--tinta); font-weight: 650; }
.fichas { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; padding: 2px; margin: -2px; }
.fichas::-webkit-scrollbar { display: none; }
.ficha-cat {
  flex: none;
  border: 1px solid var(--linha);
  background: #fff;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: .9rem;
  font-weight: 500;
  white-space: nowrap;
}
.ficha-cat:hover { border-color: var(--tinta-2); }
.ficha-cat[aria-pressed="true"] { background: var(--tinta); border-color: var(--tinta); color: #fff; }

.btn-pedido {
  flex: none;
  display: none;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  background: var(--vinho);
  color: #fff;
  padding: 8px 16px;
  font-weight: 600;
}
.btn-pedido:hover { background: var(--vinho-esc); }
.btn-pedido svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.contador {
  min-width: 22px; height: 22px; border-radius: 11px; background: #fff; color: var(--vinho);
  font-size: .78rem; font-weight: 700; display: inline-grid; place-items: center; padding: 0 6px; font-variant-numeric: tabular-nums;
}
.contador[hidden] { display: none; }
@media (min-width: 860px) { .btn-pedido { display: inline-flex; } }

/* ---------- vitrine ---------- */
.vitrine { max-width: 1320px; margin: 0 auto; padding: 8px 16px 120px; outline: none; }
.carregando { color: var(--tinta-2); padding: 40px 0; }
.secao { margin-top: 26px; }
.secao-titulo {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 1.3rem;
  font-weight: 750;
  font-stretch: 112%;
  letter-spacing: -.01em;
}
.secao-titulo span { font-size: .85rem; font-weight: 400; font-stretch: 100%; color: var(--tinta-2); }
.grade {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 12px;
}
.secao .grade { margin-top: 0; }
@media (min-width: 720px) { .grade { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 18px; } }
@media (min-width: 1040px) { .grade { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1380px) { .grade { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.cartao { position: relative; }
.cartao-link { display: block; text-decoration: none; height: 100%; }
/* botão + fica no canto de baixo da foto (125% da largura = altura da foto 4:5) */
.add-rapido {
  position: absolute; z-index: 2; right: 8px; top: 0; margin-top: calc(125% - 52px);
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  display: grid; place-items: center;
  background: var(--vinho); color: #fff;
  box-shadow: 0 2px 8px rgba(43, 27, 36, .28);
  transition: transform .15s ease, background .15s ease;
}
.add-rapido svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.add-rapido:hover { background: var(--vinho-esc); }
.add-rapido:active { transform: scale(.9); }
.voando { position: fixed; z-index: 60; pointer-events: none; border-radius: 10px; object-fit: cover; box-shadow: 0 10px 30px rgba(43, 27, 36, .3); }

/* ---------- destaques ---------- */
.destaque { max-width: 1320px; margin: 14px auto 0; padding: 0 16px; }
.destaque-trilho {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  border-radius: 16px; outline-offset: 3px;
}
.destaque-trilho::-webkit-scrollbar { display: none; }
.slide {
  flex: none; width: 100%; scroll-snap-align: start;
  display: grid; grid-template-columns: 1fr 38%; align-items: stretch;
  background: linear-gradient(120deg, var(--nude), var(--papel-2) 70%);
  height: 228px;
}
.slide-txt { padding: 16px 12px 16px 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.slide-desc { display: none; }
.slide-selo { margin: 0; font-size: .74rem; font-weight: 650; background: #fff; padding: 3px 9px; border-radius: 999px; }
.slide-nome { margin: 0; font-size: 1.15rem; line-height: 1.12; font-weight: 800; font-stretch: 108%; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.slide-desc { margin: 0; font-size: .86rem; color: var(--tinta-2); -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.slide .etiqueta { background: radial-gradient(circle at 11px 50%, var(--papel-2) 3.2px, transparent 3.8px), #fff; }
.slide-acoes { display: flex; gap: 6px; margin-top: auto; padding-top: 4px; }
.btn-slide {
  display: inline-flex; align-items: center; border-radius: 999px; padding: 7px 11px;
  font-weight: 650; font-size: .8rem; text-decoration: none; border: 1px solid var(--tinta);
  background: transparent; color: var(--tinta); white-space: nowrap;
}
.btn-slide-add { background: var(--vinho); border-color: var(--vinho); color: #fff; }
.slide-esgotado { font-weight: 650; color: var(--vinho); align-self: center; }
.slide-foto { display: block; position: relative; overflow: hidden; }
.slide-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.destaque-pontos { display: flex; justify-content: center; gap: 4px; margin-top: 6px; }
.destaque-ponto { width: 24px; height: 24px; border: 0; background: none; padding: 0; display: grid; place-items: center; }
.destaque-ponto::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--linha); transition: width .2s, background .2s; }
.destaque-ponto[aria-current="true"]::before { width: 18px; border-radius: 4px; background: var(--vinho); }
@media (min-width: 720px) {
  /* a foto fica com a proporção 4:5 da altura do banner, o resto é texto */
  .slide { grid-template-columns: 1fr 288px; height: 360px; }
  .slide-txt { padding: 36px 32px 32px 40px; gap: 10px; }
  .slide-nome { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
  .slide-desc { display: -webkit-box; font-size: 1rem; max-width: 52ch; }
  .btn-slide { padding: 10px 18px; font-size: .95rem; }
}
.foto {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: var(--raio);
  overflow: hidden;
  background: var(--papel-2);
}
.foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.cartao-link:hover .foto img { transform: scale(1.03); }
.sem-foto {
  display: grid; place-items: center; width: 100%; height: 100%;
  font-size: 1.4rem; font-weight: 700; font-stretch: 75%; color: var(--tinta-2); background: var(--papel-2);
}
.selo {
  position: absolute; left: 8px; top: 8px;
  background: #fff; color: var(--tinta);
  font-size: .74rem; font-weight: 650; padding: 4px 9px; border-radius: 999px;
  box-shadow: 0 1px 2px rgba(43, 27, 36, .12);
}
.selo-esgotado { background: var(--tinta); color: #fff; }
.is-esgotado .foto img { filter: grayscale(.6); opacity: .7; }
.cartao-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding-top: 10px; }
.cartao-ref { font-size: .76rem; color: var(--tinta-2); font-variant-numeric: tabular-nums; }
.cartao-nome { font-weight: 600; line-height: 1.25; font-size: .97rem; }
.varejo { font-size: .82rem; color: var(--tinta-2); font-variant-numeric: tabular-nums; }

/* etiqueta de preço: formato de tag de roupa, com furo e ponta */
.etiqueta {
  display: inline-grid;
  grid-template-columns: auto;
  margin: 4px 0 2px;
  padding: 6px 12px 7px 22px;
  background:
    radial-gradient(circle at 11px 50%, var(--papel) 3.2px, transparent 3.8px),
    var(--nude);
  clip-path: polygon(9px 0, 100% 0, 100% 100%, 9px 100%, 0 50%);
  border-radius: 0 6px 6px 0;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.etq-k { font-size: .72rem; font-weight: 500; color: var(--tinta-2); font-stretch: 90%; }
.etq-v { font-size: 1.12rem; font-weight: 750; font-stretch: 78%; letter-spacing: .005em; }
.etq-u { font-size: .74rem; font-weight: 600; color: var(--vinho); font-stretch: 90%; }
.etq-esgotada .etq-v { text-decoration: line-through; color: var(--tinta-2); }

/* ---------- rodapé ---------- */
.rodape { background: var(--tinta); color: #eadde2; }
.rodape-in {
  max-width: 1320px; margin: 0 auto; padding: 40px 16px 120px;
  display: grid; gap: 28px; grid-template-columns: 1fr;
  font-size: .92rem;
}
@media (min-width: 860px) { .rodape-in { grid-template-columns: 1.2fr 1.4fr 1fr; padding-bottom: 48px; } }
.rodape p { margin: 0 0 6px; }
.rodape h2 { font-size: .95rem; font-weight: 650; margin: 0 0 10px; color: #fff; }
.rodape-marca { font-size: 1.2rem; font-weight: 800; font-stretch: 125%; color: #fff; margin-bottom: 12px !important; }
.rodape ul { list-style: none; margin: 0 0 10px; padding: 0; }
.rodape-contatos li { margin-bottom: 6px; }
.rodape-contatos a { color: #fff; font-weight: 600; text-underline-offset: 3px; }
.rodape-termos li { padding-left: 14px; position: relative; margin-bottom: 6px; }
.rodape-termos li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: #c46a82; }
.rodape-legal { color: #bfaab3; font-size: .85rem; }

/* ---------- barra de pedido no celular ---------- */
.barra-pedido {
  position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 20;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  border: 0; border-radius: 14px; padding: 14px 18px;
  background: var(--vinho); color: #fff; font-weight: 600;
  box-shadow: 0 10px 30px rgba(43, 27, 36, .25);
}
.barra-pedido[hidden] { display: none; }
.barra-v { font-variant-numeric: tabular-nums; font-stretch: 85%; font-size: 1.05rem; font-weight: 750; }
@media (min-width: 860px) { .barra-pedido { display: none !important; } }
.pulso { animation: pulso .45s ease; }
@keyframes pulso { 0% { transform: scale(1); } 40% { transform: scale(1.06); } 100% { transform: scale(1); } }

/* ---------- diálogos ---------- */
dialog { padding: 0; border: 0; color: var(--tinta); max-width: none; max-height: none; }
dialog::backdrop { background: rgba(43, 27, 36, .45); }

.ficha, .talao {
  margin: 0;
  width: 100%;
  inset: auto 0 0 0;
  height: min(94dvh, 100%);
  border-radius: 18px 18px 0 0;
  background: var(--papel);
  overflow: hidden;
}
@media (min-width: 860px) {
  .ficha, .talao { inset: 0 0 0 auto; height: 100dvh; width: min(560px, 100vw); border-radius: 0; }
}
.ficha[open], .talao[open] { animation: entra .28s cubic-bezier(.2, .8, .2, 1); }
@keyframes entra { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 860px) { @keyframes entra { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } } }

.ficha-corpo { height: 100%; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; }
.fechar {
  position: absolute; right: 12px; top: 12px; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .92); box-shadow: 0 1px 4px rgba(43, 27, 36, .2);
  font-size: 1.6rem; line-height: 1;
}
.galeria-wrap { position: relative; flex: none; }
.galeria {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  background: var(--papel-2); aspect-ratio: 4 / 4.2;
}
.galeria::-webkit-scrollbar { display: none; }
.galeria img { flex: none; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.sem-foto-g { min-height: 260px; font-size: 2rem; }
.pontos { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.ponto { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .7); box-shadow: 0 0 0 1px rgba(43, 27, 36, .15); }
.ponto.is-on { background: var(--vinho); }

.ficha-txt { padding: 18px 18px 24px; flex: 1; }
.ficha-ref { margin: 0; font-size: .84rem; color: var(--tinta-2); font-variant-numeric: tabular-nums; }
.ficha-ref span::before { content: "/"; margin: 0 6px; color: var(--linha); }
.ficha-nome { margin: 4px 0 8px; font-size: 1.55rem; line-height: 1.15; font-weight: 750; font-stretch: 105%; letter-spacing: -.01em; }
.ficha-selo { display: inline-block; margin: 0 0 8px; background: var(--nude); padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.aviso-esgotado { margin: 0 0 8px; font-weight: 650; color: var(--vinho); }
.ficha-desc { margin: 0 0 8px; max-width: 60ch; }
.ficha-tams { margin: 0 0 18px; font-size: .9rem; color: var(--tinta-2); }

.modos { border: 0; padding: 3px; margin: 0 0 16px; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--papel-2); border-radius: 12px; }
.modo input, .opcao input { position: absolute; opacity: 0; pointer-events: none; }
.modo > span { display: block; text-align: center; padding: 10px 8px; border-radius: 9px; font-weight: 600; font-size: .95rem; cursor: pointer; }
.modo input:checked + span { background: #fff; box-shadow: 0 1px 3px rgba(43, 27, 36, .14); }
.modo input:focus-visible + span { outline: 3px solid var(--vinho); outline-offset: 1px; }

.painel { border-top: 1px solid var(--linha); padding-top: 14px; }
.painel-preco { margin: 0 0 14px; font-variant-numeric: tabular-nums; }
.painel-preco strong { font-size: 1.6rem; font-weight: 750; font-stretch: 80%; margin-right: 4px; }
.painel-preco span { display: block; color: var(--vinho); font-weight: 600; font-size: .92rem; }
.painel-info { margin: -6px 0 10px; color: var(--tinta-2); }
.painel-sub { font-size: .88rem; font-weight: 650; margin: 14px 0 8px; padding: 0; color: var(--tinta); }
.grade-tam { display: flex; flex-wrap: wrap; gap: 0; margin: 0; border: 1px solid var(--linha); border-radius: 8px; overflow: hidden; width: max-content; max-width: 100%; }
.grade-tam div { text-align: center; min-width: 48px; border-right: 1px solid var(--linha); }
.grade-tam div:last-child { border-right: 0; }
.grade-tam dt { background: var(--papel-2); font-size: .78rem; font-weight: 600; padding: 4px 8px; color: var(--tinta-2); }
.grade-tam dd { margin: 0; padding: 6px 8px; font-weight: 700; font-variant-numeric: tabular-nums; background: #fff; }
.linha-qtd { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--linha); }
.linha-rot { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.bolinha { width: 18px; height: 18px; border-radius: 50%; flex: none; background: var(--cor, var(--papel-2)); box-shadow: inset 0 0 0 1px rgba(43, 27, 36, .18); }
.bolinha-vazia { background: repeating-linear-gradient(45deg, var(--papel-2) 0 3px, #fff 3px 6px); }

.passo { display: inline-flex; align-items: center; border: 1px solid var(--linha); border-radius: 999px; background: #fff; }
.passo-b { width: 40px; height: 40px; border: 0; background: none; font-size: 1.25rem; line-height: 1; color: var(--tinta); border-radius: 50%; }
.passo-b:disabled { color: #c9b9bf; cursor: default; }
.passo-v { min-width: 30px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }

.opcoes { border: 0; padding: 0; margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 8px; }
.opcoes legend { width: 100%; }
.opcao { position: relative; }
.opcao > span {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--linha); background: #fff; border-radius: 999px;
  padding: 7px 14px; font-size: .92rem; cursor: pointer;
}
.opcao-tam > span { min-width: 48px; justify-content: center; font-weight: 600; }
.opcao input:checked + span { border-color: var(--tinta); box-shadow: inset 0 0 0 1px var(--tinta); }
.opcao input:focus-visible + span { outline: 3px solid var(--vinho); outline-offset: 2px; }

.perguntar { display: inline-block; margin-top: 18px; font-size: .9rem; color: var(--verde); font-weight: 600; text-underline-offset: 3px; }

.ficha-acao {
  position: sticky; bottom: 0; z-index: 2;
  padding: 12px 18px max(12px, env(safe-area-inset-bottom));
  background: linear-gradient(rgba(251, 246, 244, 0), var(--papel) 30%);
}
.btn-add, .btn-whats, .btn-sec {
  width: 100%; border: 0; border-radius: 12px; padding: 15px 18px;
  font-weight: 650; font-size: 1rem; font-variant-numeric: tabular-nums;
}
.btn-add { display: flex; justify-content: space-between; gap: 12px; background: var(--vinho); color: #fff; }
.btn-add-v { font-stretch: 85%; font-weight: 750; }
.btn-add:hover:not(:disabled) { background: var(--vinho-esc); }
.btn-add:disabled { justify-content: center; background: #d8c6cc; color: #fff; cursor: default; }
.btn-sec { background: var(--tinta); color: #fff; margin-top: 8px; }

/* ---------- talão de pedido ---------- */
.talao { background: var(--papel); }
.talao-folha {
  position: relative;
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  background-color: var(--talao);
  background-image:
    linear-gradient(90deg, transparent 46px, var(--margem) 46px, var(--margem) 47px, transparent 47px),
    repeating-linear-gradient(var(--talao) 0 31px, var(--pauta) 31px 32px);
  background-attachment: local;
  padding: 26px 18px 28px 58px;
}
/* picote no topo da folha */
.talao-folha::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px;
  background: radial-gradient(circle at 5px 0, var(--papel) 4px, transparent 4.5px) 0 0 / 14px 10px repeat-x;
}
.talao-cab { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-right: 44px; margin-bottom: 6px; }
.talao-cab h2 { margin: 0; font-size: 1.7rem; font-weight: 800; font-stretch: 125%; letter-spacing: -.01em; line-height: 1.1; }
.talao-loja { margin: 2px 0 0; font-size: .85rem; color: var(--tinta-2); }
.talao-num { margin: 4px 0 0; color: #c0283f; font-weight: 750; font-stretch: 80%; font-size: 1.3rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.talao-num span { font-size: .85rem; font-weight: 600; }
.talao .fechar { background: #fff; }
.talao-vazio { margin: 24px 0; }

.talao-tab { width: 100%; border-collapse: collapse; margin: 14px 0 6px; font-size: .92rem; font-variant-numeric: tabular-nums; }
.talao-tab thead th { text-align: left; font-size: .75rem; font-weight: 650; color: var(--tinta-2); padding: 4px 4px 6px; border-bottom: 2px solid var(--tinta); }
.talao-tab thead th:last-child, .t-valor { text-align: right; }
.talao-grupo th { text-align: left; padding: 12px 4px 4px; font-size: .8rem; font-weight: 700; color: var(--vinho); font-stretch: 112%; }
.talao-tab td { padding: 8px 4px; vertical-align: top; border-bottom: 1px solid rgba(43, 27, 36, .12); }
.t-qtd { width: 1%; white-space: nowrap; }
.t-un { display: block; font-size: .74rem; color: var(--tinta-2); text-align: center; margin-top: 2px; }
.passo-p .passo-b { width: 32px; height: 32px; font-size: 1.05rem; }
.passo-p .passo-v { min-width: 24px; }
.t-nome { display: block; font-weight: 600; line-height: 1.25; }
.t-det { display: block; font-size: .82rem; color: var(--tinta-2); }
.t-remover { font-size: .78rem; margin-top: 4px; font-weight: 500; }
.t-valor { white-space: nowrap; font-weight: 650; }
.talao-tab tfoot th { text-align: left; padding: 12px 4px; font-size: 1rem; border-top: 2px solid var(--tinta); }
.talao-tab tfoot td { padding: 12px 4px; font-size: 1.25rem; font-weight: 800; font-stretch: 80%; border-top: 2px solid var(--tinta); border-bottom: 0; }
.t-mais { display: block; font-size: .8rem; font-weight: 600; font-stretch: 100%; color: var(--vinho); }

.talao-form { display: grid; gap: 12px; margin-top: 10px; }
.talao-campo { display: grid; gap: 4px; border: 0; padding: 0; margin: 0; }
.talao-campo > span, .talao-campo legend { font-size: .82rem; font-weight: 600; color: var(--tinta-2); padding: 0; }
.talao-campo legend { margin-bottom: 6px; }
.talao-campo input, .talao-campo textarea {
  width: 100%; border: 0; border-bottom: 1.5px solid var(--tinta-2); background: rgba(255, 255, 255, .55);
  padding: 8px 6px; border-radius: 4px 4px 0 0; font-size: 1rem; resize: vertical;
}
.talao-campo select {
  width: 100%; border: 0; border-bottom: 1.5px solid var(--tinta-2); background: rgba(255, 255, 255, .55);
  padding: 8px 6px; border-radius: 4px 4px 0 0; font-size: 1rem; color: inherit;
}
.talao-campo input:focus, .talao-campo textarea:focus, .talao-campo select:focus { outline: none; border-bottom-color: var(--vinho); background: #fff; }
.talao-campo [aria-invalid="true"] { border-bottom-color: #c0283f; background: #fff3f3; }
.erro-campo { color: #b0172f; font-size: .8rem; font-weight: 600; }
.dica-campo { color: var(--tinta-2); font-size: .8rem; }
.talao-dados { display: grid; gap: 12px; border: 0; padding: 0; margin: 6px 0 0; min-width: 0; }
.talao-dados legend { padding: 0; margin-bottom: 4px; font-size: .95rem; font-weight: 750; font-stretch: 112%; color: var(--vinho); }
.talao-par { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.talao-par > * { min-width: 0; }
.talao-par-uf { grid-template-columns: 1fr 104px; }
.talao-lembrar { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; cursor: pointer; }
.talao-lembrar input { width: 18px; height: 18px; accent-color: var(--vinho); flex: none; }
.talao-privacidade { margin: -6px 0 0; font-size: .78rem; color: var(--tinta-2); line-height: 1.45; }
.talao-privacidade .link { font-size: inherit; color: var(--tinta-2); }
.talao-campo .opcao { display: inline-block; margin: 0 6px 6px 0; }
.btn-whats { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--verde); color: #fff; margin-top: 4px; }
.btn-whats:hover { background: var(--verde-esc); }
.btn-whats svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.talao-nota { margin: 0; font-size: .8rem; color: var(--tinta-2); }
.talao-limpar { justify-self: start; font-size: .85rem; color: var(--tinta-2); }

/* ---------- aviso ---------- */
.aviso {
  position: fixed; left: 50%; bottom: 84px; z-index: 30;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  display: flex; gap: 14px; align-items: center;
  width: max-content; max-width: calc(100vw - 32px);
  background: var(--tinta); color: #fff; padding: 12px 16px; border-radius: 12px;
  font-size: .9rem; box-shadow: var(--sombra);
  transition: opacity .2s, transform .2s;
}
.aviso.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.aviso .link { color: #f4b6c6; white-space: nowrap; }
@media (min-width: 860px) { .aviso { bottom: 28px; } }

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

.ficha-falta { margin: 10px 0 0; font-size: 14px; color: var(--vinho); }
