/* ============================================================
   Elementos da vitrine da Matheus Colchões. Cada elemento existe
   UMA vez, aqui, e aparece em todos os estados em templates.html.
   Página nenhuma escreve estilo próprio de botão, cartão ou campo.

   Linha de desenho (pedido do Daniel em 27/11/2026): loja de
   departamento, no jeito dos grandes varejistas. Banner que gira,
   círculo de departamento, prateleira que desliza, selo colorido.
   Lúdico e gostoso de acessar, com o vermelho e o verde da marca.
   ============================================================ */

:root {
  --vermelho: #D7141F;
  --vermelho-escuro: #A90F18;
  --vermelho-claro: #FFE5E6;
  --verde: #1B7A36;
  --verde-escuro: #11522A;
  --verde-claro: #E3F4E7;
  --amarelo: #FFC627;
  --amarelo-claro: #FFF4CC;
  --rosa: #D42460;
  --rosa-claro: #FFE6EE;
  --roxo: #6A2BD1;
  --roxo-claro: #EFE6FF;
  --laranja: #C2410C;
  --laranja-claro: #FFEDD5;
  --tinta: #1E2226;
  --tinta-suave: #5A6168;
  --fundo: #F3F4F6;
  --cartao: #FFFFFF;
  --linha: #E1E4E8;
  --pendente: #1B7A36;

  --letra: "Nunito", "Trebuchet MS", Arial, sans-serif;
  --largura: 1240px;
  --sombra: 0 2px 6px rgba(30, 34, 38, .06), 0 10px 26px -14px rgba(30, 34, 38, .28);
  --sombra-forte: 0 4px 10px rgba(30, 34, 38, .08), 0 18px 40px -16px rgba(30, 34, 38, .35);
  --foco: 0 0 0 3px #fff, 0 0 0 5px var(--verde);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 150px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--letra); font-size: 16px; line-height: 1.5; color: var(--tinta); background: var(--fundo); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--verde); }
button { font-family: inherit; }
:focus-visible { outline: none; box-shadow: var(--foco); border-radius: 8px; }
.dentro { width: 100%; max-width: var(--largura); margin: 0 auto; padding-inline: 16px; }

/* ---------- Tipografia ---------- */
.titulo-grande, .titulo, .subtitulo { font-weight: 900; line-height: 1.05; margin: 0; letter-spacing: -.01em; }
.titulo-grande { font-size: clamp(2.1rem, 5vw, 3.6rem); }
.titulo { font-size: clamp(1.35rem, 2.6vw, 1.75rem); }
.subtitulo { font-size: 1.35rem; line-height: 1.15; }
.texto { max-width: 62ch; color: var(--tinta-suave); margin: 0; }
.texto-forte { color: var(--tinta); font-weight: 700; }
.miudo { font-size: .85rem; color: var(--tinta-suave); }

/* ---------- Faixa do protótipo ---------- */
.faixa-prototipo { background: var(--amarelo); color: #3A2E00; font-size: .85rem; font-weight: 700; padding: 6px 0; text-align: center; }
.faixa-prototipo p { margin: 0; }

/* ---------- Botões ---------- */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 800; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.botao:active { transform: scale(.97); }
.botao svg { width: 20px; height: 20px; flex: none; }
.botao-principal { background: var(--vermelho); color: #fff; }
.botao-principal:hover { background: var(--vermelho-escuro); }
.botao-zap { background: var(--verde); color: #fff; }
.botao-zap:hover { background: var(--verde-escuro); }
.botao-contorno { background: #fff; color: var(--tinta); border-color: var(--tinta); }
.botao-contorno:hover { background: var(--tinta); color: #fff; }
.botao-claro { background: #fff; color: var(--tinta); }
.botao-claro:hover { background: var(--amarelo-claro); }
.botao[disabled], .botao[aria-disabled="true"] { background: #ECEEF1; color: #8B9299; border-color: #ECEEF1; cursor: not-allowed; transform: none; }
.botao-largo { width: 100%; }
.botao-pequeno { min-height: 38px; padding: 0 14px; font-size: .9rem; }
.botao.carregando { pointer-events: none; opacity: .75; }
.botao.carregando::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: girar .7s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }

/* ---------- Pendência: o que a loja ainda precisa mandar ---------- */
.pendente { display: inline-block; border: 2px dashed var(--pendente); color: var(--pendente); background: #F2FBF4; border-radius: 8px; padding: 3px 10px; font-size: .88rem; font-weight: 700; }

/* ---------- Selo (etiqueta colorida) ---------- */
.selo { display: inline-flex; align-items: center; gap: 4px; font-size: .75rem; font-weight: 900; padding: 4px 10px; border-radius: 999px; background: var(--amarelo); color: #3A2E00; white-space: nowrap; }
.selo-vermelho { background: var(--vermelho); color: #fff; }
.selo-verde { background: var(--verde); color: #fff; }
.selo-rosa { background: var(--rosa); color: #fff; }
.selo-escuro { background: var(--tinta); color: #fff; }
.selo-roxo { background: var(--roxo); color: #fff; }
.selo-laranja { background: var(--laranja); color: #fff; }
.selo-desconto { background: var(--vermelho); color: #fff; font-size: .85rem; padding: 4px 9px; border-radius: 10px; }

/* ---------- Cabeçalho ---------- */
.cabecalho { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: #fff; box-shadow: 0 2px 10px rgba(30,34,38,.08); }
.cabecalho-linha { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.marca img { height: 46px; width: auto; }
.busca { flex: 1; position: relative; max-width: 620px; }
.busca input {
  width: 100%; min-height: 48px; border-radius: 999px; border: 2px solid var(--linha); background: var(--fundo);
  font: inherit; font-size: 1rem; padding: 0 56px 0 20px; color: var(--tinta);
}
.busca input:focus-visible { border-color: var(--vermelho); background: #fff; box-shadow: 0 0 0 4px var(--vermelho-claro); }
.busca button { position: absolute; right: 5px; top: 5px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--vermelho); color: #fff; display: grid; place-items: center; cursor: pointer; }
.busca button svg { width: 18px; height: 18px; }
.atalhos { display: flex; gap: 6px; margin-left: auto; }
.atalho { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--tinta); font-weight: 800; font-size: .9rem; line-height: 1.15; padding: 8px 12px; border-radius: 14px; }
.atalho:hover { background: var(--fundo); }
.atalho svg { width: 28px; height: 28px; flex: none; }
.atalho small { display: block; font-weight: 600; color: var(--tinta-suave); }
.atalho-zap svg { color: var(--verde); }
.atalho-lista svg { color: var(--rosa); }

.departamentos { background: var(--vermelho); }
.departamentos .dentro { display: flex; align-items: center; gap: 4px; overflow: hidden; min-height: 46px; }
.departamentos a { color: #fff; text-decoration: none; font-weight: 800; font-size: .95rem; padding: 8px 14px; border-radius: 999px; white-space: nowrap; }
.departamentos a:hover, .departamentos a[aria-current="page"] { background: rgba(255,255,255,.18); }
.departamentos a.destaque { background: var(--amarelo); color: #3A2E00; margin-left: auto; }

.botao-do-menu { display: none; width: 46px; height: 46px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; position: relative; flex: none; }
.botao-do-menu span { position: absolute; left: 11px; right: 11px; height: 3px; background: var(--tinta); border-radius: 2px; transition: transform .2s, opacity .2s; }
.botao-do-menu span:nth-child(1) { top: 14px; } .botao-do-menu span:nth-child(2) { top: 21.5px; } .botao-do-menu span:nth-child(3) { top: 29px; }
.botao-do-menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.botao-do-menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.botao-do-menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.veu { position: fixed; inset: 0; background: rgba(15, 18, 22, .55); z-index: 40; }

.gaveta { position: fixed; z-index: 50; top: 0; left: 0; bottom: 0; width: min(86vw, 340px); background: #fff; transform: translateX(-105%); transition: transform .22s ease; overflow-y: auto; box-shadow: var(--sombra-forte); padding-bottom: env(safe-area-inset-bottom, 0px); }
.gaveta.aberta { transform: none; }
.gaveta-topo { background: var(--vermelho); color: #fff; padding: calc(20px + env(safe-area-inset-top, 0px)) 20px 18px 72px; font-weight: 900; font-size: 1.15rem; }
.gaveta nav { display: grid; padding: 8px 12px 24px; }
.gaveta nav a { display: flex; align-items: center; gap: 12px; padding: 13px 10px; color: var(--tinta); text-decoration: none; font-weight: 800; border-bottom: 1px solid var(--linha); }
.gaveta nav a img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.gaveta .botao { margin: 6px 12px 0; width: calc(100% - 24px); }

@media (max-width: 900px) {
  .cabecalho-linha { flex-wrap: wrap; gap: 6px 10px; min-height: 0; padding-block: 8px 10px; }
  .botao-do-menu { display: block; z-index: 60; }
  .marca { margin-right: auto; }
  .marca img { height: 38px; }
  .busca { order: 5; flex-basis: 100%; max-width: none; }
  .atalho span, .atalho-lista { display: none; }
  .atalho { padding: 6px; }
  .departamentos { display: none; }
  .cabecalho.menu-aberto .botao-do-menu { position: fixed; top: calc(10px + env(safe-area-inset-top, 0px)); left: 12px; }
  .cabecalho.menu-aberto .botao-do-menu span { background: #fff; }
}

/* ---------- Banner que gira ---------- */
.banners { position: relative; margin-top: 18px; }
.banners-trilho { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 26px; }
.banners-trilho::-webkit-scrollbar { display: none; }
.banner {
  flex: 0 0 100%; scroll-snap-align: start; position: relative; overflow: hidden; min-height: 360px;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 24px;
  padding: 40px 56px; color: #fff; isolation: isolate;
}
.banner::before, .banner::after { content: ""; position: absolute; border-radius: 50%; z-index: -1; }
.banner::before { width: 420px; height: 420px; right: -80px; top: -120px; background: rgba(255,255,255,.12); }
.banner::after { width: 200px; height: 200px; left: 38%; bottom: -110px; background: rgba(255,255,255,.10); }
.banner-vermelho { background: linear-gradient(120deg, #E0141F 0%, #B30E17 100%); }
.banner-verde { background: linear-gradient(120deg, #1F8A3D 0%, #0F5427 100%); }
.banner-amarelo { background: linear-gradient(120deg, #FFD54A 0%, #FFB300 100%); color: #2E2400; }
.banner-roxo { background: linear-gradient(120deg, #7C3AED 0%, #4C1D95 100%); }
.banner-rosa { background: linear-gradient(120deg, #E8457A 0%, #B81A50 100%); }
.banner-chamada { display: grid; gap: 14px; justify-items: start; }
.banner-chamada h2 { font-size: clamp(1.9rem, 4.4vw, 3.3rem); font-weight: 900; line-height: 1; margin: 0; letter-spacing: -.015em; }
.banner-chamada p { margin: 0; font-size: 1.1rem; font-weight: 600; max-width: 34ch; opacity: .95; }
.banner-chamada .selo { font-size: .85rem; padding: 6px 14px; }
.banner-fotos { position: relative; height: 290px; }
.banner-fotos img { position: absolute; object-fit: cover; border-radius: 24px; border: 6px solid #fff; box-shadow: 0 16px 36px -14px rgba(0,0,0,.5); }
.banner-fotos img:nth-child(1) { width: 62%; height: 100%; right: 4%; top: 0; transform: rotate(3deg); }
.banner-fotos img:nth-child(2) { width: 42%; height: 62%; left: 0; bottom: -6px; transform: rotate(-6deg); }
.banner-adesivo {
  position: absolute; z-index: 2; left: 30%; top: -8px; width: 104px; height: 104px; border-radius: 50%;
  display: grid; place-items: center; text-align: center; font-weight: 900; font-size: .9rem; line-height: 1.05;
  background: var(--amarelo); color: #2E2400; transform: rotate(-12deg); box-shadow: 0 8px 18px -8px rgba(0,0,0,.45); padding: 10px;
}
.banner-amarelo .banner-adesivo { background: var(--vermelho); color: #fff; }
.banners-seta { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--sombra); cursor: pointer; display: grid; place-items: center; color: var(--tinta); z-index: 3; }
.banners-seta svg { width: 22px; height: 22px; }
.banners-seta.anterior { left: -14px; } .banners-seta.proximo { right: -14px; }
.banners-pontos { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.banners-pontos button { width: 10px; height: 10px; border-radius: 999px; border: 0; background: #C5CAD0; cursor: pointer; padding: 0; transition: width .2s, background-color .2s; }
.banners-pontos button[aria-current="true"] { width: 30px; background: var(--vermelho); }
@media (max-width: 760px) {
  .banners .dentro, .banners { padding-inline: 0; }
  .banners-trilho { border-radius: 0; }
  .banner { grid-template-columns: 1fr; padding: 26px 22px 30px; min-height: 0; gap: 18px; }
  .banner-fotos { height: 200px; order: -1; }
  .banner-adesivo { width: 84px; height: 84px; font-size: .78rem; left: auto; right: 0; top: -4px; }
  .banners-seta { display: none; }
}

/* ---------- Círculos de departamento ---------- */
.circulos { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(104px, 1fr); gap: 10px; overflow-x: auto; padding: 6px 2px 10px; scrollbar-width: none; }
.circulos::-webkit-scrollbar { display: none; }
.circulo { display: grid; justify-items: center; gap: 8px; text-decoration: none; color: var(--tinta); font-weight: 800; font-size: .92rem; text-align: center; line-height: 1.2; background: none; border: 0; cursor: pointer; padding: 0; }
.circulo-foto { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; border: 4px solid #fff; box-shadow: var(--sombra); background: #fff; transition: transform .18s; position: relative; }
.circulo-foto img { width: 100%; height: 100%; object-fit: cover; }
.circulo:hover .circulo-foto { transform: translateY(-4px) rotate(-3deg); }
.circulo[aria-pressed="true"] .circulo-foto { border-color: var(--vermelho); }
.circulo-coracao .circulo-foto { background: var(--rosa); display: grid; place-items: center; color: #fff; }
.circulo-coracao .circulo-foto svg { width: 44px; height: 44px; }
@media (max-width: 520px) { .circulo-foto { width: 78px; height: 78px; } .circulos { grid-auto-columns: 88px; } }

/* ---------- Mini banners (dois lado a lado) ---------- */
.mini-banners { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mini-banner { position: relative; overflow: hidden; border-radius: 22px; padding: 24px 26px; min-height: 170px; display: grid; align-content: center; gap: 8px; text-decoration: none; color: #fff; isolation: isolate; }
.mini-banner strong { font-size: 1.5rem; font-weight: 900; line-height: 1.05; max-width: 15ch; }
.mini-banner span { font-weight: 700; max-width: 26ch; opacity: .95; }
.mini-banner img { position: absolute; z-index: -1; right: -20px; bottom: -20px; width: 46%; height: 120%; object-fit: cover; border-radius: 50% 0 0 0; opacity: .95; }
.mini-banner::after { content: "Ver agora"; justify-self: start; margin-top: 6px; background: #fff; color: var(--tinta); font-weight: 900; font-size: .85rem; padding: 7px 16px; border-radius: 999px; }
.mini-banner-rosa { background: linear-gradient(120deg, #E8457A, #B81A50); }
.mini-banner-verde { background: linear-gradient(120deg, #1F8A3D, #11522A); }
.mini-banner-verde::after { content: "Chamar no WhatsApp"; }
@media (max-width: 760px) { .mini-banners { grid-template-columns: 1fr; } .mini-banner { min-height: 150px; } }

/* ---------- Prateleira (fileira de produtos que desliza) ---------- */
.bloco { margin-top: 34px; }
.bloco-cabeca { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.bloco-cabeca a { font-weight: 800; text-decoration: none; white-space: nowrap; }
.prateleira { display: grid; grid-auto-flow: column; grid-auto-columns: 214px; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 2px 14px; scrollbar-width: thin; }
.prateleira > * { scroll-snap-align: start; }
@media (max-width: 520px) { .prateleira { grid-auto-columns: 168px; gap: 10px; } }

/* ---------- Cartão de produto ---------- */
.grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
@media (max-width: 520px) { .grade { grid-template-columns: 1fr 1fr; gap: 10px; } }
.produto {
  position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 8px; text-align: left; color: inherit;
  background: var(--cartao); border: 0; border-radius: 18px; padding: 10px 10px 14px; cursor: pointer; box-shadow: var(--sombra);
  transition: transform .18s, box-shadow .18s;
}
.produto:hover { transform: translateY(-4px); box-shadow: var(--sombra-forte); }
.produto-foto { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--fundo); }
.produto-foto img { width: 100%; height: 100%; object-fit: cover; }
.produto-foto .selo { position: absolute; left: 8px; top: 8px; }
.produto-foto .selo + .selo { left: auto; right: 8px; }
.produto-sem-foto { display: grid; place-items: center; text-align: center; padding: 16px; font-weight: 800; font-size: .85rem; color: var(--pendente); border: 2px dashed var(--pendente); background: repeating-linear-gradient(45deg, #F2FBF4 0 12px, #E7F5EA 12px 24px); }
.produto-nome { font-weight: 700; font-size: .95rem; line-height: 1.3; padding-inline: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.produto-rodape { display: grid; gap: 8px; padding-inline: 4px; }
.produto-preco { font-weight: 900; color: var(--verde); font-size: 1.05rem; line-height: 1.1; }
.produto-preco small { display: block; font-size: .78rem; font-weight: 700; color: var(--tinta-suave); }
.produto-acao { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; border-radius: 999px; background: var(--verde); color: #fff; font-weight: 800; font-size: .88rem; }
.produto-acao svg { width: 17px; height: 17px; }
.produto.esgotado .produto-foto img { filter: grayscale(1); opacity: .5; }
.produto.esgotado .produto-acao { background: var(--tinta); }
.produto.escolhido { cursor: default; }
.produto.escolhido:hover { transform: none; box-shadow: var(--sombra); }
.produto.escolhido .produto-foto img { filter: grayscale(1); opacity: .45; }
.produto.escolhido .produto-acao { background: #ECEEF1; color: #8B9299; }
.produto.meu .produto-acao { background: var(--rosa-claro); color: #B02355; }

/* ---------- Diálogo (produto e presente) ---------- */
.dialogo { border: 0; padding: 0; border-radius: 24px; width: min(880px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); color: var(--tinta); box-shadow: var(--sombra-forte); }
.dialogo::backdrop { background: rgba(15, 18, 22, .6); }
.dialogo-corpo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 28px; padding: 28px; }
.dialogo-corpo > .produto-foto { border-radius: 18px; }
.dialogo-fechar { position: absolute; z-index: 2; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--sombra); font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--tinta); }
.dialogo-info { display: grid; gap: 14px; align-content: start; }
@media (max-width: 680px) {
  .dialogo-corpo { grid-template-columns: 1fr; padding: 16px 16px 20px; gap: 16px; }
  .dialogo-corpo > .produto-foto { aspect-ratio: 4 / 3; }
}

/* ---------- Vendedor ---------- */
.vendedores { display: grid; gap: 10px; }
.vendedor { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 18px; background: #fff; box-shadow: var(--sombra); }
.vendedor-inicial { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--verde); color: #fff; font-weight: 900; font-size: 1.25rem; flex: none; }
.vendedor-dados { flex: 1; min-width: 0; line-height: 1.3; }
.vendedor-dados strong { display: block; font-weight: 900; }
.vendedor .botao { min-height: 42px; padding: 0 16px; }
.vendedor.sem-numero .vendedor-inicial { background: var(--fundo); color: #8B9299; border: 2px dashed var(--pendente); }
@media (max-width: 520px) { .vendedor { flex-wrap: wrap; } .vendedor .botao { width: 100%; } }
.vendedores-grade { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.vendedores-grade .vendedor { flex-wrap: wrap; }
.vendedores-grade .vendedor .botao { width: 100%; }
@media (max-width: 520px) { .vendedores-grade { grid-template-columns: 1fr; } }

/* ---------- Mostrar mais (fim do catálogo) ---------- */
.mostrar-mais { display: grid; justify-items: center; gap: 8px; margin-top: 24px; }

/* ---------- Fichas de categoria ---------- */
.fichas { display: flex; flex-wrap: wrap; gap: 8px; }
.ficha { font: inherit; font-weight: 800; font-size: .92rem; padding: 7px 16px; min-height: 40px; border-radius: 999px; border: 2px solid var(--linha); background: #fff; color: var(--tinta); cursor: pointer; }
.ficha small { color: var(--tinta-suave); font-weight: 700; margin-left: 4px; }
.ficha:hover { border-color: var(--tinta); }
.ficha[aria-pressed="true"] { background: var(--vermelho); border-color: var(--vermelho); color: #fff; }
.ficha[aria-pressed="true"] small { color: #FFD3D5; }

/* ---------- Campo ---------- */
.campo { display: grid; gap: 6px; }
.campo label { font-weight: 800; font-size: .95rem; }
.campo input { font: inherit; min-height: 50px; padding: 0 16px; border-radius: 14px; border: 2px solid #C9CED4; background: #fff; color: var(--tinta); width: 100%; }
.campo input::placeholder { color: #858C93; }
.campo input:focus-visible { border-color: var(--verde); box-shadow: 0 0 0 4px var(--verde-claro); border-radius: 14px; }
.campo input:disabled { background: var(--fundo); color: #8B9299; }
.campo.com-erro input { border-color: var(--vermelho); }
.campo .erro { color: var(--vermelho-escuro); font-size: .9rem; font-weight: 700; }
.campo .ajuda { color: var(--tinta-suave); font-size: .9rem; }

/* ---------- Painel (caixa branca de seção) ---------- */
.painel { background: #fff; border-radius: 24px; padding: 28px; box-shadow: var(--sombra); }
@media (max-width: 520px) { .painel { padding: 20px 16px; border-radius: 18px; } }

/* ---------- Faixa da lista de casamento ---------- */
.faixa-casamento { position: relative; overflow: hidden; border-radius: 26px; background: linear-gradient(120deg, #FFE6EE 0%, #FFF4CC 100%); padding: 36px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 30px; align-items: center; }
.faixa-casamento .fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.faixa-casamento .fotos img { border-radius: 18px; aspect-ratio: 1; object-fit: cover; border: 5px solid #fff; box-shadow: var(--sombra); }
.faixa-casamento .fotos img:nth-child(odd) { transform: rotate(-3deg); }
.faixa-casamento .fotos img:nth-child(even) { transform: rotate(3deg) translateY(10px); }
@media (max-width: 760px) { .faixa-casamento { grid-template-columns: 1fr; padding: 24px 18px; } }

/* ---------- Passos (sequência de verdade) ---------- */
.passos { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: passo; }
.passos li { counter-increment: passo; display: grid; grid-template-columns: 44px 1fr; gap: 2px 14px; align-items: start; }
.passos li::before { content: counter(passo); grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--rosa); color: #fff; font-weight: 900; font-size: 1.25rem; }
.passos strong { font-weight: 900; }
.passos span { color: var(--tinta-suave); }

/* ---------- Barra de andamento da lista ---------- */
.andamento { display: grid; gap: 8px; max-width: 420px; }
.andamento-trilho { height: 12px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 2px rgba(0,0,0,.06); overflow: hidden; }
.andamento-trilho span { display: block; height: 100%; background: linear-gradient(90deg, var(--rosa), var(--vermelho)); border-radius: 99px; }

/* ---------- Aviso ---------- */
.aviso { border-radius: 16px; padding: 14px 16px; background: var(--verde-claro); color: var(--verde-escuro); font-weight: 600; }
.aviso-erro { background: var(--vermelho-claro); color: var(--vermelho-escuro); }
.aviso p { margin: 0; }

/* ---------- Vazio ---------- */
.vazio { text-align: center; padding: 44px 20px; border-radius: 22px; background: #fff; color: var(--tinta-suave); display: grid; gap: 12px; justify-items: center; box-shadow: var(--sombra); }
.vazio strong { color: var(--tinta); font-size: 1.15rem; font-weight: 900; }

/* ---------- Vantagens (faixa de ícones) ---------- */
.vantagens { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.vantagem { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 18px; padding: 14px 16px; box-shadow: var(--sombra); font-weight: 800; line-height: 1.25; }
.vantagem small { display: block; font-weight: 600; color: var(--tinta-suave); }
.vantagem svg { width: 34px; height: 34px; flex: none; color: var(--vermelho); }
@media (max-width: 900px) { .vantagens { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .vantagens { grid-template-columns: 1fr; } }

/* ---------- Ficha da loja (onde estamos) ---------- */
.dados-loja { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; margin: 0; }
.dados-loja div { display: grid; gap: 4px; }
.dados-loja dt { font-size: .9rem; color: var(--tinta-suave); font-weight: 700; }
.dados-loja dd { margin: 0; font-weight: 800; }

/* ---------- Carregando ---------- */
.esqueleto { background: linear-gradient(90deg, #ECEEF1 0%, #F7F8FA 50%, #ECEEF1 100%); background-size: 200% 100%; animation: brilho 1.2s ease-in-out infinite; }
@keyframes brilho { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* ---------- Rodapé ---------- */
.rodape { margin-top: 56px; background: #fff; border-top: 5px solid var(--vermelho); padding-block: 36px calc(90px + env(safe-area-inset-bottom, 0px)); font-size: .95rem; color: var(--tinta-suave); }
.rodape .dentro { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 26px 40px; }
.rodape h3 { color: var(--tinta); font-size: 1rem; font-weight: 900; margin: 0 0 10px; }
.rodape p { margin: 0 0 4px; }
.rodape a { color: var(--tinta); font-weight: 700; text-decoration: none; }
.rodape a:hover { color: var(--vermelho); }
.rodape img { height: 42px; width: auto; margin-bottom: 12px; }
@media (min-width: 901px) { .rodape { padding-bottom: 36px; } }
@media (max-width: 760px) { .rodape .dentro { grid-template-columns: 1fr; } }

/* ---------- Botão flutuante do WhatsApp ---------- */
.zap-flutuante { position: fixed; z-index: 20; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); box-shadow: var(--sombra-forte); min-height: 54px; padding: 0 20px 0 16px; }
.zap-flutuante svg { width: 26px; height: 26px; }

/* ---------- Ajustes do celular (conferidos em 390px, 27/11/2026) ---------- */
@media (max-width: 520px) {
  .circulos { grid-auto-columns: 92px; gap: 6px; }
  .circulo { font-size: .8rem; overflow-wrap: anywhere; hyphens: auto; }
  .vantagens { grid-template-columns: 1fr 1fr; gap: 8px; }
  .vantagem { padding: 10px 12px; gap: 8px; font-size: .88rem; }
  .vantagem svg { width: 26px; height: 26px; }
  .mini-banner strong, .mini-banner span { max-width: 62%; }
  .mini-banner img { width: 38%; }
  .produto-preco { font-size: .9rem; }
  .produto-acao { font-size: .84rem; }
}

/* ---------- Preço (de/por, parcela e Pix) ---------- */
.preco { display: grid; gap: 1px; line-height: 1.2; }
.preco-antigo { font-size: .82rem; color: var(--tinta-suave); text-decoration: line-through; font-weight: 600; }
.preco-atual { font-size: 1.3rem; font-weight: 900; color: var(--tinta); letter-spacing: -.01em; }
.preco-parcela { font-size: .82rem; color: var(--tinta-suave); font-weight: 600; }
.preco-pix { font-size: .82rem; color: var(--verde); font-weight: 800; }
.preco-consulte { font-size: 1rem; font-weight: 900; color: var(--verde); }
.preco-grande .preco-atual { font-size: 2.1rem; }
.preco-grande .preco-antigo, .preco-grande .preco-parcela, .preco-grande .preco-pix { font-size: .98rem; }
@media (max-width: 520px) { .preco-atual { font-size: 1.12rem; } .preco-parcela, .preco-pix { font-size: .76rem; } }

/* ---------- Estoque ---------- */
.estoque { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 800; }
.estoque::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.estoque-disponivel { color: var(--verde); }
.estoque-ultimas { color: var(--laranja); }
.estoque-unica { color: var(--roxo); }
.estoque-esgotado { color: var(--tinta-suave); }
.estoque-trilho { height: 6px; border-radius: 99px; background: var(--laranja-claro); overflow: hidden; margin-top: 4px; }
.estoque-trilho span { display: block; height: 100%; background: var(--laranja); border-radius: 99px; }

/* ---------- Formas de pagamento ---------- */
.pagamentos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.pagamento { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 16px 10px; border-radius: 18px; background: var(--fundo); font-weight: 900; line-height: 1.2; }
.pagamento small { font-weight: 700; color: var(--tinta-suave); }
.pagamento svg { width: 34px; height: 34px; color: var(--vermelho); margin-bottom: 4px; }
.pagamento-pix svg { color: #0F9D8A; }
@media (max-width: 900px) { .pagamentos { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .pagamentos { grid-template-columns: 1fr 1fr; } .pagamento { padding: 12px 8px; font-size: .9rem; } }
.formas-curtas { display: flex; flex-wrap: wrap; gap: 6px; }
.formas-curtas span { font-size: .8rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--fundo); }

/* ---------- Ordenar ---------- */
.ordenar { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: .9rem; }
.ordenar select { font: inherit; font-weight: 800; min-height: 40px; padding: 0 34px 0 14px; border-radius: 999px; border: 2px solid var(--linha); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E2226' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 14px; appearance: none; color: var(--tinta); cursor: pointer; }
.ordenar select:hover { border-color: var(--tinta); }
.catalogo-controles { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.ficha-oferta[aria-pressed="true"] { background: var(--vermelho); border-color: var(--vermelho); }
.ficha-unica[aria-pressed="true"] { background: var(--roxo); border-color: var(--roxo); }

/* Vendedor: o nome nunca espreme; sem espaço, o botão desce para baixo */
.vendedor { flex-wrap: wrap; }
.vendedor-dados { min-width: 9rem; }
.vendedor .botao { flex: 1 1 auto; max-width: 100%; }
