/* ==========================================================================
   3Deker — tema da loja (v3)
   Paleta do logo: verde #008820 + preto sobre neutros claros.
   Layout full-width; header claro com o logo original colorido.
   ========================================================================== */
:root {
  --texto: #14161a;
  --suave: #6b7280;
  --linha: #e8eaee;
  --fundo: #f5f6f7;
  --fundo-2: #f1f3f5;
  --branco: #ffffff;

  /* verde do logo */
  --verde: #008820;
  --verde-escuro: #006a19;
  --verde-claro: #e8f5ec;
  --verde-suave: #f2faf4;

  --alerta: #b42318;
  --laranja: #f97316;
  --laranja-claro: #fff5eb;
  --amarelo: #fff8e6;

  --raio: 12px;
  --raio-p: 8px;
  --sombra-1: 0 1px 2px rgba(20, 22, 26, .06);
  --sombra-2: 0 4px 14px rgba(20, 22, 26, .08);
  --sombra-3: 0 10px 30px rgba(20, 22, 26, .12);

  /* respiro lateral do layout full-width */
  --gutter: clamp(1rem, 4vw, 3rem);
  --topo-h: 118px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--fundo);
  color: var(--texto);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.55;
  font-size: 15px;
  overflow-x: hidden;
}

a { color: var(--verde); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* cada faixa ocupa 100% da largura; o miolo é limitado e centralizado */
.faixa { width: 100%; }
.miolo {
  width: 100%; max-width: none; margin: 0 auto;
  padding-left: 10px; padding-right: 10px;
}

/* =========================================================== topo (claro) */
.cabecalho {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  color: var(--texto);
  border-bottom: 1px solid var(--linha);
}
.cabecalho-interno {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding-top: .65rem; padding-bottom: .65rem;
}
.marca {
  display: flex; align-items: center; gap: .45rem;
  font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em;
  color: var(--texto); white-space: nowrap;
}
.marca span { color: var(--verde); }
.marca:hover { text-decoration: none; }
.marca .logo-img { height: 38px; width: auto; display: block; }
img.logo-img { height: 38px; width: auto; max-height: 38px; object-fit: contain; }

/* barra de busca — protagonista */
.busca-topo { flex: 1 1 340px; display: flex; min-width: 200px; }
.busca-topo input {
  flex: 1; border: 1px solid var(--linha);
  border-radius: var(--raio-p) 0 0 var(--raio-p);
  padding: .68rem 1rem; font-size: .95rem; background: #fff;
}
.busca-topo input:focus { outline: 2px solid var(--verde); outline-offset: -2px; border-color: var(--verde); }
.busca-topo button {
  border: 1px solid var(--verde); background: var(--verde); color: #fff; cursor: pointer;
  padding: 0 1.15rem; border-radius: 0 var(--raio-p) var(--raio-p) 0;
  font-size: 1.05rem; display: flex; align-items: center;
}
.busca-topo button:hover { background: var(--verde-escuro); border-color: var(--verde-escuro); }

/* ações do topo */
.topo-acoes { display: flex; align-items: center; gap: .25rem; }
.acoes-topo-link {
  color: var(--texto); font-weight: 600; font-size: .88rem;
  padding: .5rem .65rem; border-radius: var(--raio-p);
  display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap;
}
.acoes-topo-link:hover { background: var(--verde-claro); color: var(--verde-escuro); text-decoration: none; }
.acoes-topo-link .ico { font-size: 1.05rem; line-height: 1; }
.link-btn-topo { background: none; border: 0; cursor: pointer; font: inherit; }
.carrinho { border: 1px solid var(--linha); }
.carrinho:hover { border-color: var(--verde); }
.badge {
  background: var(--verde); color: #fff;
  border-radius: 999px; padding: .05rem .45rem;
  font-size: .74rem; font-weight: 800; min-width: 1.2rem; text-align: center;
}

/* faixa de navegação inferior do header */
.topo-faixa { border-top: 1px solid var(--linha); }
.topo-faixa-interno {
  display: flex; gap: 1.4rem; flex-wrap: wrap; align-items: center;
  padding-top: .45rem; padding-bottom: .45rem;
}
.topo-faixa a {
  color: var(--suave); font-size: .9rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .15rem 0; border-bottom: 2px solid transparent;
}
.topo-faixa a:hover { color: var(--verde); text-decoration: none; }
.topo-faixa a.ativo { color: var(--texto); border-bottom-color: var(--verde); }

/* aviso de frete grátis */
.aviso-topo {
  background: var(--verde-suave); border-bottom: 1px solid var(--verde-claro);
  color: var(--verde-escuro); font-size: .85rem; text-align: center;
  padding: .4rem 1rem; font-weight: 500;
}
.aviso-topo a { color: var(--verde-escuro); text-decoration: underline; }

/* =========================================================== hero enxuto */
.hero {
  background: linear-gradient(100deg, #006a19 0%, #008820 60%, #0aa02c 100%);
  color: #fff;
}
.hero-interno {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 92px; max-height: 100px; padding-top: .75rem; padding-bottom: .75rem;
  flex-wrap: wrap;
}
.hero-texto { display: flex; flex-direction: column; gap: .15rem; min-width: 220px; }
.hero-texto h1 {
  font-size: clamp(1rem, 2.1vw, 1.35rem); line-height: 1.2; margin: 0;
  letter-spacing: -.02em; color: #fff; font-weight: 800;
}
.hero-texto p { margin: 0; font-size: .85rem; color: rgba(255, 255, 255, .9); }
.hero-acoes { display: flex; gap: .55rem; flex-wrap: wrap; }
.hero-acoes .btn { padding: .5rem 1rem; font-size: .88rem; }
.hero-acoes .btn { background: #fff; color: var(--verde-escuro); border-color: #fff; }
.hero-acoes .btn:hover { background: #eafaf0; border-color: #eafaf0; color: var(--verde-escuro); }
.hero-acoes .btn.secundario { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .5); }
.hero-acoes .btn.secundario:hover { background: rgba(255, 255, 255, .24); color: #fff; }

/* =========================================================== mensagens */
.mensagens { padding-top: 1rem; }
.msg { padding: .7rem 1rem; border-radius: var(--raio-p); margin-bottom: .5rem; font-size: .93rem; }
.msg.success { background: var(--verde-claro); color: var(--verde-escuro); }
.msg.error { background: #fef3f2; color: var(--alerta); }
.msg.info { background: #eff6ff; color: #1d4ed8; }
.msg.warning { background: var(--amarelo); color: #92400e; }

/* =========================================================== conteúdo */
.conteudo { flex: 1; width: 100%; padding-top: 1.5rem; padding-bottom: 4rem; }
h1 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); margin: 0 0 .35rem; letter-spacing: -.02em; }
h2 { font-size: 1.2rem; margin: 1.75rem 0 .75rem; }
.lead { color: var(--suave); margin: 0 0 1.15rem; font-size: .96rem; }
.fraco { color: var(--suave); font-size: .87rem; }

/* trilha (breadcrumb) */
.trilha { font-size: .84rem; color: var(--suave); margin-bottom: .9rem; }
.trilha a { color: var(--suave); }
.trilha span { margin: 0 .35rem; }

/* =========================================================== busca interna */
.busca { display: flex; gap: .5rem; margin-bottom: 1.25rem; }
.busca input { flex: 1; }

/* =========================================================== abas */
.abas-loja { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1rem 0 .9rem; }
.abas-loja a {
  padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid var(--linha);
  color: var(--texto); text-decoration: none; font-size: .9rem; font-weight: 600;
  background: #fff; transition: all .15s ease;
}
.abas-loja a:hover { border-color: var(--verde); color: var(--verde); text-decoration: none; }
.abas-loja a.ativa { background: var(--verde); border-color: var(--verde); color: #fff; }

/* =========================================================== ordenação */
.ordenacao {
  font-size: .86rem; color: var(--suave); margin: .4rem 0 1.2rem;
  display: flex; gap: .6rem; align-items: center; flex-wrap: wrap;
}
.ordenacao a {
  color: var(--texto); background: #fff; border: 1px solid var(--linha);
  padding: .3rem .8rem; border-radius: 999px; font-weight: 500;
}
.ordenacao a:hover { text-decoration: none; border-color: var(--verde); color: var(--verde); }
.ordenacao a.ativa { background: var(--verde-claro); border-color: var(--verde); color: var(--verde-escuro); font-weight: 700; }

/* =========================================================== grade de produtos */
.grade {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 1rem;
}
.card {
  border: 1px solid var(--linha);
  border-radius: var(--raio);
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.card:hover { box-shadow: var(--sombra-3); transform: translateY(-3px); border-color: transparent; }
.card .thumb {
  aspect-ratio: 1 / 1; background: var(--fundo-2);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .thumb img { transform: scale(1.05); }
.card .thumb .sem-img { color: #c3c9d1; font-size: 2.2rem; font-weight: 800; letter-spacing: .05em; }
.card .corpo { padding: .8rem .9rem 1rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.card h3 { margin: 0; font-size: .95rem; font-weight: 600; line-height: 1.35; }
.card h3 a { color: var(--texto); display: block; }
.card h3 a:hover { color: var(--verde); text-decoration: none; }
.card .resumo {
  color: var(--suave); font-size: .83rem; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card .preco { font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; margin-top: .25rem; }
.card .preco .de { font-size: .78rem; font-weight: 500; color: var(--suave); margin-right: .25rem; }

/* etiquetas */
.etiqueta {
  display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .05em;
  text-transform: uppercase; padding: .18rem .5rem; border-radius: 5px;
  background: var(--fundo-2); color: var(--suave); align-self: flex-start;
}
.etiqueta.verde { background: var(--verde-claro); color: var(--verde-escuro); }
.etiqueta.laranja { background: var(--laranja-claro); color: #b45309; }

/* selos sobre a imagem */
.selo-desc {
  position: absolute; top: .55rem; left: .55rem; z-index: 2;
  background: var(--verde); color: #fff; font-size: .72rem; font-weight: 800;
  padding: .2rem .5rem; border-radius: 5px; box-shadow: var(--sombra-1);
}
.selo-tipo {
  position: absolute; top: .55rem; right: .55rem; z-index: 2;
  background: rgba(20, 22, 26, .78); color: #fff; font-size: .68rem; font-weight: 700;
  padding: .2rem .5rem; border-radius: 5px; backdrop-filter: blur(3px);
}

/* preço à vista no Pix */
.pix-linha { color: var(--verde-escuro); font-size: .86rem; margin: .3rem 0 0; font-weight: 600; }
.preco-grande + .pix-linha { font-size: 1rem; }
.pix-tag {
  background: var(--verde-claro); color: var(--verde-escuro);
  border-radius: 5px; padding: .1rem .4rem; font-size: .8rem; font-weight: 800;
}

/* =========================================================== botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  background: var(--verde); color: #fff; border: 1px solid var(--verde);
  padding: .68rem 1.3rem; border-radius: var(--raio-p); font-size: .95rem; font-weight: 600;
  cursor: pointer; transition: background .15s ease, box-shadow .15s ease;
  text-align: center;
}
.btn:hover { background: var(--verde-escuro); border-color: var(--verde-escuro); text-decoration: none; box-shadow: var(--sombra-2); }
.btn.secundario { background: #fff; color: var(--texto); border-color: var(--linha); }
.btn.secundario:hover { background: var(--fundo-2); color: var(--texto); border-color: #d3d8df; box-shadow: none; }
.btn.perigo { background: #fff; color: var(--alerta); border-color: #fecdca; }
.btn.perigo:hover { background: #fef3f2; color: var(--alerta); border-color: #fecdca; box-shadow: none; }
.btn.pequeno { padding: .42rem .9rem; font-size: .85rem; }
.btn.grande { padding: .85rem 1.75rem; font-size: 1.02rem; width: 100%; }
.btn.bloco { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* =========================================================== formulários */
.campo { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .9rem; }
.campo label { font-size: .85rem; font-weight: 700; color: var(--texto); }
input, select, textarea {
  font: inherit; padding: .62rem .8rem; border: 1.5px solid #94a3b8;
  border-radius: var(--raio-p); background: #fff; color: var(--texto); width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--verde); outline-offset: 0; border-color: var(--verde); }
.erro, .errolist { color: var(--alerta); font-size: .84rem; }
.errolist { margin: 0 0 .8rem; padding-left: 1.1rem; }
.form-erros { background: #fef3f2; border: 1px solid #fecdca; color: var(--alerta); padding: .7rem 1rem; border-radius: var(--raio-p); margin-bottom: 1rem; }
.linha2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.linha3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 0 1rem; }

/* opções de frete (Correios) */
.opcoes-frete { display: flex; flex-direction: column; gap: .5rem; }
.opcao-frete {
  display: flex; align-items: center; gap: .7rem; cursor: pointer;
  border: 1px solid var(--linha); border-radius: var(--raio-p);
  padding: .65rem .85rem; background: #fff; transition: border-color .15s ease, background .15s ease;
}
.opcao-frete:hover { border-color: var(--verde); }
.opcao-frete.ativa { border-color: var(--verde); background: var(--verde-suave); }
.opcao-frete input { width: auto; margin: 0; accent-color: var(--verde); }
.opcao-info { display: flex; flex-direction: column; flex: 1; }
.opcao-info small { color: var(--suave); font-size: .78rem; }
.opcao-valor { font-weight: 800; }

/* =========================================================== produto */
.detalhe { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2.25rem; align-items: start; }
.detalhe .galeria-col { position: sticky; top: calc(var(--topo-h) + .5rem); }

/* carrossel com zoom */
.carrossel { position: relative; }
.carrossel-palco {
  position: relative; width: min(100%, 480px); aspect-ratio: 1 / 1; background: #fff;
  border-radius: var(--raio); border: 1px solid var(--linha); overflow: hidden;
  display: flex; align-items: center; justify-content: center; touch-action: pan-y;
  margin: 0 auto;
}
.carrossel-palco img {
  width: 100%; height: 100%; object-fit: contain; user-select: none;
  transition: transform .25s ease; transform-origin: center center;
}
.carrossel-palco.zoom-ativo img { cursor: zoom-in; }
.carrossel-palco.zoomado img { transform: scale(2.2); cursor: zoom-out; transition: transform .1s linear; }
.carrossel-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--linha);
  background: rgba(255, 255, 255, .92); color: var(--texto); cursor: pointer;
  font-size: 1.15rem; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--sombra-1); z-index: 3;
}
.carrossel-nav:hover { background: #fff; border-color: var(--verde); color: var(--verde); }
.carrossel-nav.ant { left: .6rem; }
.carrossel-nav.prox { right: .6rem; }
.carrossel-contador {
  position: absolute; bottom: .6rem; right: .6rem; z-index: 3;
  background: rgba(20, 22, 26, .72); color: #fff; font-size: .74rem;
  padding: .15rem .5rem; border-radius: 999px;
}
.carrossel-dica {
  position: absolute; bottom: .6rem; left: .6rem; z-index: 3;
  background: rgba(255, 255, 255, .9); color: var(--suave); font-size: .72rem;
  padding: .15rem .5rem; border-radius: 999px; border: 1px solid var(--linha);
}
/* miniaturas */
.galeria { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .7rem; }
.carrossel .galeria { justify-content: center; }
.galeria img, .galeria .mini-3d {
  width: 68px; height: 68px; object-fit: cover; border-radius: var(--raio-p);
  border: 2px solid var(--linha); cursor: pointer; transition: border-color .15s ease;
  background: #fff;
}
.galeria img:hover, .galeria img.ativa,
.galeria .mini-3d:hover, .galeria .mini-3d.ativa { border-color: var(--verde); }
.mini-3d { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--suave); font-size: .65rem; font-weight: 700; padding: 0; }
.mini-3d svg { display: block; }
.mini-3d.ativa, .mini-3d:hover { color: var(--verde); }
.carrossel-slide-3d { width: 100%; height: 100%; }
.carrossel-slide-3d #stl-viewer { min-height: 100% !important; height: 100%; border-radius: 0; border: 0; }

.model-viewer {
  width: 100%; aspect-ratio: 1 / 1; background: #fff;
  border-radius: var(--raio); border: 1px solid var(--linha); overflow: hidden;
}

.preco-bloco { background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); padding: 1rem 1.1rem; margin: .9rem 0 1.1rem; }
.preco-grande { font-size: clamp(1.6rem, 4vw, 1.95rem); font-weight: 800; margin: 0; letter-spacing: -.02em; line-height: 1.15; }
.preco-antigo { color: var(--suave); text-decoration: line-through; font-size: .95rem; font-weight: 500; margin-left: .5rem; }
.preco-bloco .de { font-size: .8rem; font-weight: 600; color: var(--suave); text-transform: uppercase; letter-spacing: .05em; }

.secoes { border-top: 1px solid var(--linha); margin-top: 1.5rem; padding-top: 1.1rem; font-size: .92rem; color: var(--suave); }
.secoes h4 { margin: .9rem 0 .3rem; color: var(--texto); font-size: .95rem; }
.secoes p { margin: .2rem 0 .6rem; }
.bloco-info {
  background: #fff; border: 1px solid var(--linha); border-radius: var(--raio);
  padding: 1rem 1.1rem; margin-top: 1rem;
}
.bloco-info h4 { margin: 0 0 .6rem; font-size: .95rem; }

/* selos de confiança */
.selos { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }
.selo {
  display: flex; align-items: center; gap: .45rem; flex: 1 1 150px;
  background: var(--verde-suave); border: 1px solid var(--verde-claro);
  border-radius: var(--raio-p); padding: .6rem .75rem;
  font-size: .82rem; color: var(--verde-escuro); font-weight: 500; line-height: 1.3;
}
.selo .ico { font-size: 1.1rem; }

/* =========================================================== tabelas / carrinho */
.tabela { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--raio); overflow: hidden; }
.tabela th, .tabela td { text-align: left; padding: .85rem .75rem; border-bottom: 1px solid var(--linha); vertical-align: middle; }
.tabela th { font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--suave); background: var(--fundo-2); }
.tabela tr:last-child td { border-bottom: 0; }
.tabela .dir { text-align: right; }
.qtd { display: inline-flex; gap: .3rem; align-items: center; }
.qtd input { width: 62px; text-align: center; padding: .4rem; }

.duas { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .85fr); gap: 1.75rem; align-items: start; }
.painel { border: 1px solid var(--linha); border-radius: var(--raio); padding: 1.25rem; background: #fff; }
.painel h3 { margin: 0 0 .9rem; font-size: 1.05rem; }
.resumo-linha { display: flex; justify-content: space-between; padding: .35rem 0; font-size: .93rem; }
.resumo-total {
  display: flex; justify-content: space-between; padding-top: .8rem; margin-top: .5rem;
  border-top: 1px solid var(--linha); font-weight: 800; font-size: 1.2rem;
}
.desconto { color: var(--verde-escuro); font-weight: 600; }

/* =========================================================== pedido / pix */
.status { display: inline-block; padding: .3rem .75rem; border-radius: 999px; font-size: .82rem; font-weight: 700; }
.status.aguardando { background: var(--laranja-claro); color: #b45309; }
.status.pago { background: var(--verde-claro); color: var(--verde-escuro); }
.status.expirado, .status.cancelado, .status.reembolsado { background: #fef3f2; color: var(--alerta); }
.qr-box { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.qr-box img { width: 200px; height: 200px; border: 1px solid var(--linha); border-radius: var(--raio); background: #fff; padding: 8px; }
.pix-copia {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .78rem;
  background: var(--fundo-2); border: 1px dashed #cbd2da; padding: .75rem; border-radius: var(--raio-p); word-break: break-all;
}
.aviso { background: var(--amarelo); border: 1px solid #fedf89; color: #92400e; padding: .75rem 1rem; border-radius: var(--raio-p); font-size: .9rem; margin-bottom: 1rem; }
.ok-box { background: var(--verde-claro); border: 1px solid #b7e4c3; color: var(--verde-escuro); padding: .9rem 1.1rem; border-radius: var(--raio); margin-bottom: 1.2rem; }
.arquivos { list-style: none; padding: 0; margin: .75rem 0 0; display: flex; flex-direction: column; gap: .5rem; }
.arquivos li { display: flex; justify-content: space-between; gap: 1rem; align-items: center; border: 1px solid var(--linha); border-radius: var(--raio-p); padding: .65rem .9rem; background: #fff; }

/* =========================================================== contas */
.auth { max-width: 430px; margin: 1.5rem auto; background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); padding: 1.75rem 1.5rem; }
.auth h1 { font-size: 1.35rem; }
.auth .acoes { display: flex; flex-direction: column; gap: .75rem; margin-top: 1rem; }
.em-breve { text-align: center; }
.em-breve-ico { font-size: 2.5rem; display: block; margin-bottom: .4rem; }
.em-breve h1 { font-size: 1.5rem; }

/* =========================================================== vazio */
.vazio { text-align: center; padding: 3.5rem 1.25rem; color: var(--suave); background: #fff; border: 1px dashed var(--linha); border-radius: var(--raio); }
.vazio p { margin: 0 0 1rem; }

/* =========================================================== relacionados */
.relacionados { margin-top: 3rem; }
.relacionados h2 { display: flex; align-items: center; gap: .6rem; }
.relacionados h2::after { content: ""; flex: 1; height: 1px; background: var(--linha); }

/* =========================================================== rodapé */
.rodape { background: #fff; border-top: 1px solid var(--linha); margin-top: 2rem; }
.rodape-interno {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem;
  padding-top: 2rem; padding-bottom: 1.25rem;
}
.rodape h5 { margin: 0 0 .7rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--suave); }
.rodape ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .45rem; }
.rodape a { color: var(--texto); font-size: .88rem; }
.rodape a:hover { color: var(--verde); }
.rodape .sobre { color: var(--suave); font-size: .87rem; margin: .5rem 0 0; }
.rodape .logo-img { height: 32px; max-height: 32px; }
.rodape-base {
  border-top: 1px solid var(--linha); padding: 1rem var(--gutter);
  text-align: center; color: var(--suave); font-size: .82rem;
}
.rodape-links { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ==========================================================================
   BARRA DE AÇÃO FIXA NO CELULAR (produto / carrinho / checkout)
   Só aparece quando o template inclui <div class="cta-mobile"> ... </div>.
   O JS opcional adiciona .cta-ativa quando o conteúdo principal sai de vista.
   ========================================================================== */
.cta-mobile { display: none; }

/* =========================================================== responsivo */

/* ---------- tablet: layout em coluna, mas ainda confortável ---------- */
@media (max-width: 1000px) {
  .rodape-interno { grid-template-columns: 1fr 1fr; }
  .detalhe { gap: 1.75rem; }
}

@media (max-width: 860px) {
  :root { --topo-h: 118px; }
  .detalhe, .duas { grid-template-columns: 1fr; }
  .detalhe .galeria-col { position: static; }
  .linha2, .linha3 { grid-template-columns: 1fr; }
  .cabecalho-interno { gap: .5rem; }
  .busca-topo { order: 3; flex-basis: 100%; }
  .topo-acoes { margin-left: auto; }
  .acoes-topo-link .rotulo { display: none; }
  .acoes-topo-link { padding: .6rem; font-size: 1.15rem; }
  .rodape-interno { grid-template-columns: 1fr; gap: 1.25rem; }

  /* a coluna de resumo do carrinho/checkout vem ANTES do botão de finalizar */
  .duas > aside { order: 2; }
  .duas > section { order: 1; }

  /* toque confortável também no tablet (641–860px) */
  .btn { min-height: 44px; }
  .btn.pequeno { min-height: 40px; }
  .acoes-topo-link { min-height: 44px; }
  .topo-faixa a { padding: .5rem .1rem; }
  /* 16px em QUALQUER campo evita o zoom automático no iOS/Android */
  input, select, textarea, .busca input, .busca-topo input, .filtros input,
  .qtd input, .form-enviar input { font-size: 16px; }
}

/* ======================================================================
   CELULAR — a experiência principal. Alvo de toque ≥ 44px em tudo que
   se clica; formulários com 16px (evita o zoom automático do iOS);
   tabelas viram cartões empilhados; nada de rolagem horizontal.
   ====================================================================== */
@media (max-width: 640px) {
  /* --- base --- */
  html { scroll-padding-top: 96px; }
  body { font-size: 15px; line-height: 1.6; }
  .conteudo { padding-top: .9rem; padding-bottom: 2.5rem; }
  .miolo { padding-left: 1rem; padding-right: 1rem; }

  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.15rem; margin-top: 1.4rem; }
  .lead { font-size: .95rem; }

  /* --- topo: logo + ações na 1ª linha, busca na 2ª --- */
  .cabecalho-interno {
    padding-top: .55rem; padding-bottom: .55rem;
    row-gap: .5rem;
  }
  .marca { font-size: 1.35rem; }
  .marca .logo-img, img.logo-img { height: 32px; max-height: 32px; }
  .busca-topo { flex-basis: 100%; min-width: 0; }
  .busca-topo input { padding: .7rem .9rem; font-size: 16px; }
  .busca-topo button { padding: 0 1rem; font-size: 1.15rem; }
  .acoes-topo-link { padding: .55rem .6rem; min-height: 44px; }
  .topo-acoes { gap: .1rem; }
  .acoes-topo-link.carrinho { min-height: 44px; }

  /* faixa de navegação: rolagem suave com dica visual */
  .topo-faixa { position: relative; }
  .topo-faixa-interno {
    gap: .7rem; overflow-x: auto; flex-wrap: nowrap;
    padding: .1rem 0 .55rem; margin: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .topo-faixa-interno::-webkit-scrollbar { display: none; }
  .topo-faixa a {
    white-space: nowrap; padding: .5rem .1rem;
    border-bottom-width: 2px; font-size: .9rem;
  }

  .aviso-topo { font-size: .8rem; padding: .5rem 1rem; }

  /* --- hero compacto --- */
  .hero-interno { min-height: 0; max-height: none; padding: .7rem 0; gap: .55rem; }
  .hero-texto h1 { font-size: 1.05rem; }
  .hero-texto p { display: none; }
  .hero-acoes { width: 100%; }
  .hero-acoes .btn { flex: 1; padding: .6rem 1rem; }

  /* --- alvo de toque mínimo em botões e links de ação --- */
  .btn { padding: .78rem 1.15rem; font-size: .97rem; min-height: 46px; }
  .btn.pequeno { padding: .6rem .9rem; font-size: .9rem; min-height: 42px; }
  .btn.grande { padding: .9rem 1.4rem; min-height: 50px; }
  .abas-loja a { padding: .6rem 1rem; min-height: 42px; display: inline-flex; align-items: center; }
  .ordenacao a { padding: .5rem .85rem; min-height: 38px; display: inline-flex; align-items: center; }

  /* --- busca interna do catálogo --- */
  .busca { flex-wrap: wrap; }
  .busca input { flex: 1 1 100%; }
  .busca .btn { flex: 1 1 auto; }

  /* --- grade de produtos: 2 colunas bem ajustadas --- */
  .grade { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .card .thumb { border-radius: var(--raio) var(--raio) 0 0; }
  .card .corpo { padding: .65rem .7rem .85rem; gap: .25rem; }
  .card h3 { font-size: .9rem; }
  .card .resumo { display: none; }
  .card .preco { font-size: 1.08rem; margin-top: .35rem; }
  .card .pix-linha { font-size: .78rem; }
  .card .pix-tag { font-size: .72rem; }

  /* --- produto: galeria e CTA --- */
  .carrossel-nav { width: 44px; height: 44px; font-size: 1.3rem; }
  .carrossel-nav.ant { left: .3rem; }
  .carrossel-nav.prox { right: .3rem; }
  .carrossel-dica { font-size: .68rem; }
  .carrossel-contador { font-size: .72rem; }
  .galeria { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .3rem; scrollbar-width: none; }
  .galeria::-webkit-scrollbar { display: none; }
  .galeria img { width: 60px; height: 60px; flex: 0 0 auto; }
  .preco-bloco { padding: .9rem 1rem; }
  .preco-grande { font-size: 1.75rem; }
  .selos .selo { flex: 1 1 100%; }
  .bloco-info { padding: .9rem 1rem; }

  /* --- tabelas viram cartões empilhados (usa data-label do template) --- */
  .tabela { display: block; white-space: normal; overflow: visible; background: transparent; }
  .tabela thead { display: none; }
  .tabela tbody, .tabela tr, .tabela td { display: block; width: 100%; }
  .tabela tr {
    background: #fff; border: 1px solid var(--linha); border-radius: var(--raio);
    padding: .35rem .9rem; margin-bottom: .7rem;
  }
  .tabela td {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: .5rem 0; border-bottom: 1px solid var(--linha); text-align: left !important;
  }
  .tabela td:last-child { border-bottom: 0; }
  .tabela td::before {
    content: attr(data-label);
    flex: 0 0 auto; color: var(--suave); font-size: .78rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .04em;
  }
  .tabela td[data-label=""]::before,
  .tabela td.sem-rotulo::before { content: none; }
  .tabela td.celula-item {
    display: block; text-align: left !important;
  }
  .tabela td.celula-item::before { content: none; }
  .tabela td.celula-item > strong,
  .tabela td.celula-item > a { font-size: 1rem; }

  /* --- carrinho --- */
  .qtd input { width: 68px; padding: .55rem; font-size: 16px; }
  .qtd .btn { min-height: 42px; }
  .resumo-linha { font-size: .95rem; }
  .resumo-total { font-size: 1.25rem; }

  /* --- frete (checkout) --- */
  .opcao-frete { padding: .8rem .9rem; min-height: 52px; align-items: flex-start; }
  .opcao-frete input { margin-top: .15rem; }
  .opcao-info strong { font-size: .95rem; }
  .opcao-valor { white-space: nowrap; }

  /* --- formulários: 16px evita zoom no iOS; rótulos legíveis --- */
  input, select, textarea { font-size: 16px; padding: .7rem .85rem; min-height: 48px; }
  textarea { min-height: 96px; }
  .campo { margin-bottom: 1rem; }
  .campo label { font-size: .88rem; }
  .campo[style] { max-width: none !important; }

  /* --- Pix / pedido --- */
  .qr-box { gap: 1rem; justify-content: center; text-align: center; }
  .qr-box img { width: min(240px, 78vw); height: auto; }
  .qr-box > div { min-width: 0 !important; }
  .qr-box h3 { text-align: left; }
  .pix-copia { font-size: .82rem; }
  .arquivos li {
    flex-direction: column; align-items: stretch; gap: .6rem;
  }
  .arquivos li .btn { width: 100%; }

  /* --- contas --- */
  .auth { margin: .5rem auto; padding: 1.35rem 1.1rem; border-radius: var(--raio); }
  .auth h1 { font-size: 1.25rem; }
  .link-btn { min-height: 40px; }

  /* --- vazio --- */
  .vazio { padding: 2.5rem 1.1rem; }

  /* --- rodapé --- */
  .rodape-interno { padding-top: 1.5rem; gap: 1.5rem; }
  .rodape a { display: inline-block; padding: .16rem 0; }
  .rodape-base { padding: .9rem 1rem; }

  /* --- barra de ação fixa no rodapé do celular --- */
  .cta-mobile {
    display: block;
    position: sticky; bottom: 0; z-index: 40;
    margin: 1rem -1rem -2.5rem;
    padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--linha);
    box-shadow: 0 -6px 20px rgba(20, 22, 26, .08);
  }
  .cta-mobile .cta-linha { display: flex; align-items: center; gap: .7rem; }
  .cta-mobile .cta-info { flex: 1; min-width: 0; }
  .cta-mobile .cta-info .rotulo { display: block; font-size: .72rem; color: var(--suave); text-transform: uppercase; letter-spacing: .05em; }
  .cta-mobile .cta-info .valor { font-size: 1.15rem; font-weight: 800; }
  .cta-mobile .btn { flex: 0 0 auto; }
  .cta-mobile .btn.bloco { flex: 1; }
}

/* ---------- telas muito estreitas (iPhone SE e afins) ---------- */
@media (max-width: 380px) {
  .grade { gap: .55rem; }
  .card h3 { font-size: .85rem; }
  .card .preco { font-size: 1rem; }
  .card .pix-linha { display: none; }
  .cta-mobile .cta-info .valor { font-size: 1.05rem; }
}

/* ---------- celular deitado: grades mais largas ---------- */
@media (max-width: 640px) and (orientation: landscape) {
  .grade { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- toque: sem efeito de hover preso ---------- */
@media (hover: none) {
  .card:hover { transform: none; box-shadow: none; }
  .card:hover .thumb img { transform: none; }
  .btn:hover { box-shadow: none; }
  .carrossel-palco.zoom-ativo img { cursor: default; }
}


/* ==================== Favoritos / Avaliações / Perguntas / Notificações ==================== */
.card-fav {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  width: 34px; height: 34px; border-radius: 50%;
  border: none; cursor: pointer; font-size: 15px; line-height: 1;
  background: rgba(255,255,255,.92); box-shadow: 0 1px 6px rgba(0,0,0,.18);
  color: #d6336c; display: grid; place-items: center;
}
.card-social { display: flex; gap: 12px; align-items: center; margin-top: 6px; font-size: 13px; color: #666; }
.card-favs { color: #d6336c; }
.card-nota { color: #f08c00; }

.fav-linha { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 18px 0; }
.btn-fav {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  border: 1px solid #e3d2da; background: #fff; border-radius: 999px;
  padding: 8px 16px; font-size: 15px;
}
.btn-fav.ativo { border-color: #d6336c; background: #fff0f5; }
.btn-fav .fav-count { font-weight: 700; color: #d6336c; }
.social-resumo { color: #666; }

.abas-social { display: flex; gap: 8px; margin: 22px 0 10px; border-bottom: 1px solid #eee; }
.aba-social { background: none; border: none; padding: 10px 14px; cursor: pointer; font-size: 15px; color: #666; border-bottom: 2px solid transparent; }
.aba-social.ativa { color: #111; border-bottom-color: #111; font-weight: 700; }
.painel-social { display: none; }
.painel-social.ativo { display: block; }

.form-avaliar, .form-pergunta { display: flex; flex-direction: column; gap: 10px; margin: 14px 0 22px; max-width: 620px; }
.form-avaliar textarea, .form-pergunta textarea { padding: 10px; border: 1px solid #ddd; border-radius: 8px; font: inherit; resize: vertical; }
.estrelas-input { display: flex; gap: 4px; font-size: 26px; }
.estrelas-input label { cursor: pointer; color: #ccc; }
.estrelas-input input { display: none; }
.estrelas-input input:checked + span, .estrelas-input label:hover span { color: #f08c00; }
.aviso { color: #666; background: #fafafa; border-left: 3px solid #ddd; padding: 8px 12px; }

.lista-avaliacoes, .lista-perguntas { list-style: none; padding: 0; margin: 0; }
.avaliacao, .pergunta { border-bottom: 1px solid #f0f0f0; padding: 14px 0; }
.av-topo, .pg-topo { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.estrelas { color: #f08c00; }
.av-data, .pg-data { color: #999; font-size: 13px; }
.selo-verificada { display: inline-block; background: #e7f5ff; color: #1971c2; font-size: 12px; padding: 2px 8px; border-radius: 999px; margin: 4px 0; }
.selo-aguardando { display: inline-block; background: #fff4e6; color: #e8590c; font-size: 12px; padding: 2px 8px; border-radius: 999px; }
.resposta { background: #f8f9fa; border-left: 3px solid #adb5bd; padding: 8px 12px; margin-top: 8px; border-radius: 4px; }
.resposta-rotulo { font-size: 12px; color: #666; display: block; margin-bottom: 3px; }
.vazio { color: #888; padding: 12px 0; }

/* Sino / dropdown */
.notif-wrap { position: relative; display: inline-block; }
.notif-wrap .notif-drop {
  display: none; position: absolute; right: 0; top: 100%; margin-top: 8px; width: 300px;
  background: #fff; border: 1px solid #eee; border-radius: 10px; box-shadow: 0 8px 28px rgba(0,0,0,.14);
  z-index: 50; overflow: hidden;
}
.notif-wrap:hover .notif-drop { display: block; }
.notif-item { display: block; padding: 10px 14px; border-bottom: 1px solid #f4f4f4; text-decoration: none; color: #333; }
.notif-item.nao-lida { background: #fff8e1; }
.notif-item strong { display: block; font-size: 14px; }
.notif-item span { font-size: 12px; color: #999; }
.notif-todas { display: block; padding: 10px 14px; text-align: center; font-weight: 700; color: #1971c2; text-decoration: none; }
.notif-acoes { display: flex; gap: 10px; align-items: center; margin: 16px 0; flex-wrap: wrap; }
.btn-linha { border: 1px solid #ddd; background: #fff; border-radius: 999px; padding: 6px 14px; cursor: pointer; text-decoration: none; color: #333; }
.btn-linha.ativo { background: #111; color: #fff; border-color: #111; }
.notif-lista { list-style: none; padding: 0; }
.notif-linha a { display: grid; grid-template-columns: 130px 1fr; gap: 4px 12px; padding: 14px; border-bottom: 1px solid #f0f0f0; text-decoration: none; color: #333; }
.notif-linha.nao-lida { background: #fffdf5; }
.notif-tipo { font-size: 12px; color: #1971c2; }
.notif-msg { grid-column: 2; color: #666; font-size: 14px; }
.notif-data { grid-column: 2; font-size: 12px; color: #aaa; }

/* Painel: tabelas e chips */
.painel-cab { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.painel-filtros { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 16px 0; }
.chip { border: 1px solid #ddd; border-radius: 999px; padding: 6px 14px; text-decoration: none; color: #333; background: #fff; }
.chip.ativo { background: #111; color: #fff; border-color: #111; }
.painel-tabela-wrap { overflow-x: auto; }
.col-texto { max-width: 380px; }
.col-acoes { white-space: nowrap; }
.col-acoes form { display: inline; }
.btn.mini { padding: 4px 10px; font-size: 13px; }
.btn.perigo { background: #c92a2a; color: #fff; border-color: #c92a2a; }
.tag-acao { background: #f1f3f5; border-radius: 6px; padding: 2px 8px; font-size: 12px; }
.painel-lista-perguntas { list-style: none; padding: 0; }
.painel-pergunta { border: 1px solid #eee; border-radius: 10px; padding: 14px; margin-bottom: 14px; }
.pg-cab { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 13px; color: #666; }
.pg-cab .selo-aguardando, .pg-cab .selo-respondida, .pg-cab .selo-oculta { font-size: 12px; padding: 2px 8px; border-radius: 999px; }
.pg-cab .selo-respondida { background: #ebfbee; color: #2b8a3e; }
.pg-cab .selo-oculta { background: #f1f3f5; color: #868e96; }
.pg-acoes { display: flex; gap: 10px; align-items: flex-end; margin-top: 10px; flex-wrap: wrap; }
.pg-acoes textarea { width: 100%; max-width: 520px; padding: 8px; border: 1px solid #ddd; border-radius: 8px; font: inherit; }
.detalhe-log { display: grid; grid-template-columns: 170px 1fr; gap: 6px 16px; margin: 16px 0; }
.detalhe-log dt { font-weight: 700; color: #555; }
.detalhe-log dd { margin: 0; word-break: break-word; }
.quebra { word-break: break-all; font-size: 13px; color: #666; }
.json-abas { display: grid; gap: 16px; }
.json-abas pre { background: #0d1117; color: #c9d1d9; padding: 12px; border-radius: 8px; overflow-x: auto; font-size: 13px; }
.auditoria-filtros label { display: flex; flex-direction: column; font-size: 12px; color: #666; gap: 3px; }
.auditoria-filtros input, .auditoria-filtros select { padding: 6px 8px; border: 1px solid #ddd; border-radius: 8px; font: inherit; }

.conta-atalhos { display: flex; gap: 12px; margin: 18px 0; flex-wrap: wrap; }
.conta-atalhos .atalho { border: 1px solid #eee; border-radius: 10px; padding: 10px 16px; text-decoration: none; color: #333; background: #fff; }
.conta-atalhos .atalho:hover { border-color: #ccc; }

/* =========================================================== Modal customizado */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 22, 26, .55);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 9999;
  animation: modal-fade-in .18s ease;
}
.modal-overlay.ativo {
  display: flex;
}
.modal {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: var(--raio);
  box-shadow: var(--sombra-3);
  overflow: hidden;
  animation: modal-scale-in .18s ease;
  border: 1px solid var(--linha);
}
.modal-cabecalho {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem 0;
}
.modal-titulo {
  font-size: 1.08rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -.01em;
}
.modal-fechar {
  border: none;
  background: transparent;
  color: var(--suave);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 .2rem;
}
.modal-fechar:hover {
  color: var(--texto);
}
.modal-corpo {
  padding: .6rem 1.4rem 1.2rem;
  color: var(--texto);
  font-size: .98rem;
  line-height: 1.6;
}
.modal-rodape {
  display: flex;
  gap: .6rem;
  justify-content: flex-end;
  flex-wrap: wrap;
  padding: 0 1.4rem 1.4rem;
}
.modal-rodape .btn {
  min-width: 110px;
}
.modal-icone {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  margin: 1.4rem auto 0;
  font-size: 1.4rem;
}
.modal-overlay.tipo-sucesso .modal-icone {
  display: flex;
  background: var(--verde-claro);
  color: var(--verde-escuro);
}
.modal-overlay.tipo-erro .modal-icone {
  display: flex;
  background: #fef3f2;
  color: var(--alerta);
}
.modal-overlay.tipo-aviso .modal-icone {
  display: flex;
  background: var(--amarelo);
  color: #92400e;
}
.modal-overlay.tipo-info .modal-icone {
  display: flex;
  background: #eff6ff;
  color: #1d4ed8;
}
.modal-overlay.tipo-sucesso .modal-cabecalho,
.modal-overlay.tipo-erro .modal-cabecalho,
.modal-overlay.tipo-aviso .modal-cabecalho,
.modal-overlay.tipo-info .modal-cabecalho {
  justify-content: center;
  text-align: center;
  padding-top: .8rem;
}
.modal-overlay.tipo-sucesso .modal-corpo,
.modal-overlay.tipo-erro .modal-corpo,
.modal-overlay.tipo-aviso .modal-corpo,
.modal-overlay.tipo-info .modal-corpo {
  text-align: center;
}
.modal-overlay.tipo-sucesso .modal-rodape,
.modal-overlay.tipo-erro .modal-rodape,
.modal-overlay.tipo-aviso .modal-rodape,
.modal-overlay.tipo-info .modal-rodape {
  justify-content: center;
}

@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes modal-scale-in {
  from { opacity: 0; transform: translateY(6px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

body.modal-aberto {
  overflow: hidden;
}

/* ==========================================================================
   MOBILE v2 — ajustes finos (nov/2026)
   ========================================================================== */

/* checkbox/radio nunca herdam largura/altura de campo de texto */
input[type="checkbox"], input[type="radio"] {
  width: auto; min-height: 0; padding: 0; flex: 0 0 auto;
  accent-color: var(--verde);
}
input[type="file"] { padding: .45rem .55rem; }

/* celular: o topo inteiro recolhe ao rolar para baixo e volta ao subir (transform = sem mexer no layout) */
@media (max-width: 640px) {
  .cabecalho { transition: transform .22s ease, box-shadow .22s ease; will-change: transform; }
  body.topo-compacto .cabecalho { transform: translateY(-100%); }
  body.topo-rolado .cabecalho { box-shadow: 0 2px 10px rgba(20, 22, 26, .07); }
}

/* sino: em tela de toque o dropdown por hover atrapalha (o toque já abre a página) */
@media (hover: none) {
  .notif-wrap:hover .notif-drop { display: none; }
}

@media (max-width: 640px) {
  /* faixa de navegação com respiro nas bordas (antes colava na lateral) */
  .topo-faixa-interno {
    padding-left: 1rem; padding-right: 1rem;
    scroll-padding-inline: 1rem;
  }
  .topo-faixa-interno::after { content: ""; flex: 0 0 .25rem; }

  /* ícones do topo: um pouco mais juntos para caber logado como staff */
  .topo-acoes { gap: 0; }
  .acoes-topo-link { padding: .5rem .45rem; min-width: 40px; justify-content: center; }
  .acoes-topo-link .badge { font-size: .68rem; padding: 0 .35rem; }

  /* favoritar no card: alvo de toque maior */
  .card-fav { width: 38px; height: 38px; top: 8px; right: 8px; font-size: 16px; }

  /* produto: visualizador 3D proporcional à tela */
  #stl-viewer { height: min(380px, 86vw) !important; }
  .fav-linha { gap: .6rem; margin: 1rem 0; }
  .btn-fav { min-height: 44px; }

  /* abas Avaliações/Perguntas roláveis */
  .abas-social { overflow-x: auto; scrollbar-width: none; }
  .abas-social::-webkit-scrollbar { display: none; }
  .aba-social { min-height: 44px; white-space: nowrap; flex: 0 0 auto; }
  .form-avaliar, .form-pergunta { max-width: none; }
  .estrelas-input { font-size: 32px; gap: 6px; }

  /* conta / notificações */
  .conta-atalhos { gap: .5rem; }
  .conta-atalhos .atalho { flex: 1 1 calc(50% - .5rem); min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: .35rem; }
  .notif-acoes { gap: .5rem; }
  .btn-linha { min-height: 40px; display: inline-flex; align-items: center; }
  .notif-linha a { grid-template-columns: 1fr; gap: 2px; padding: 12px 4px; }
  .notif-msg, .notif-data { grid-column: auto; }

  /* painel (classes compartilhadas que vivem aqui) */
  .chip { min-height: 40px; display: inline-flex; align-items: center; }
  .btn.mini { min-height: 40px; padding: .45rem .8rem; font-size: .9rem; }
  .col-texto { max-width: none; }
  .col-acoes { white-space: normal; }
  .detalhe-log { grid-template-columns: 1fr; gap: 2px; }
  .detalhe-log dd { margin-bottom: .6rem; }
  .pg-acoes, .pg-acoes form { width: 100%; }
  .pg-acoes form { display: flex; flex-direction: column; gap: .5rem; }
  .pg-acoes textarea { max-width: none; }

  /* modal vira "folha" presa embaixo, botões grandes */
  .modal-overlay { align-items: flex-end; padding: 0; }
  .modal {
    max-width: none; border-radius: 16px 16px 0 0; border-bottom: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    animation: modal-sobe .2s ease;
  }
  .modal-rodape { flex-direction: column-reverse; }
  .modal-rodape .btn { width: 100%; min-width: 0; }
  .modal-fechar { min-width: 44px; min-height: 44px; }
}
@keyframes modal-sobe { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ==========================================================================
   TOPO v3 + NAVEGAÇÃO + VITRINE DA HOME (nov/2026)
   ========================================================================== */

/* ícones SVG de traço (herdam a cor do texto) */
.cabecalho svg, .topo-faixa svg, .hero2 svg {
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto;
}

/* ---------- linha principal ---------- */
.cabecalho-interno { gap: 1.25rem; padding-top: .7rem; padding-bottom: .7rem; }

.busca-topo {
  position: relative; flex: 1 1 420px; max-width: 720px; margin: 0 auto;
  background: var(--fundo-2); border: 1.5px solid transparent; border-radius: 999px;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.busca-topo:focus-within { background: #fff; border-color: var(--verde); box-shadow: 0 0 0 4px var(--verde-claro); }
.busca-topo .busca-ico {
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--suave); pointer-events: none;
}
.busca-topo input {
  border: 0; background: transparent; border-radius: 999px;
  padding: .7rem 1rem .7rem 2.6rem; min-height: 44px;
}
.busca-topo input:focus { outline: none; border: 0; }
.busca-topo button {
  margin: 4px; border: 0; border-radius: 999px; padding: 0 1.15rem;
  font: inherit; font-size: .88rem; font-weight: 700;
}

.topo-acoes { gap: .35rem; }
.acoes-topo-link {
  position: relative; border-radius: 999px; padding: .5rem .8rem; min-height: 42px;
  color: var(--texto); background: transparent; border: 1px solid transparent;
}
.acoes-topo-link:hover { background: var(--fundo-2); color: var(--texto); }
.acoes-topo-link .ico { width: 21px; height: 21px; font-size: inherit; }
.acoes-topo-link .badge {
  position: absolute; top: 2px; left: 26px;
  min-width: 18px; height: 18px; padding: 0 5px; line-height: 18px;
  font-size: .68rem; border: 2px solid #fff; box-sizing: content-box;
}
.acoes-topo-link.carrinho { background: var(--verde); color: #fff; border-color: var(--verde); padding-right: 1rem; }
.acoes-topo-link.carrinho:hover { background: var(--verde-escuro); border-color: var(--verde-escuro); color: #fff; }
.acoes-topo-link.carrinho .badge { background: #fff; color: var(--verde-escuro); border-color: var(--verde); }

/* ---------- menu da conta ---------- */
.menu-conta { position: relative; }
.menu-conta > summary { list-style: none; cursor: pointer; user-select: none; }
.menu-conta > summary::-webkit-details-marker { display: none; }
.menu-conta .seta { width: 15px; height: 15px; color: var(--suave); transition: transform .15s ease; }
.menu-conta[open] > summary { background: var(--fundo-2); }
.menu-conta[open] .seta { transform: rotate(180deg); }
.menu-conta-drop {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60;
  width: 250px; padding: .4rem; background: #fff;
  border: 1px solid var(--linha); border-radius: 14px; box-shadow: var(--sombra-3);
  animation: modal-fade-in .12s ease;
}
.menu-conta-quem { padding: .55rem .7rem .6rem; font-size: .85rem; color: var(--suave); border-bottom: 1px solid var(--linha); margin-bottom: .3rem; }
.menu-conta-quem strong { color: var(--texto); }
.menu-conta-drop a, .menu-conta-drop button {
  display: flex; align-items: center; gap: .65rem; width: 100%;
  padding: .6rem .7rem; border-radius: 9px; min-height: 42px;
  color: var(--texto); font: inherit; font-size: .92rem; font-weight: 500;
  background: none; border: 0; cursor: pointer; text-align: left;
}
.menu-conta-drop a:hover, .menu-conta-drop button:hover { background: var(--fundo-2); text-decoration: none; }
.menu-conta-drop svg {
  width: 18px; height: 18px; color: var(--suave);
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.menu-conta-drop .badge { margin-left: auto; }
.menu-conta-drop .menu-conta-painel { color: var(--verde-escuro); font-weight: 700; }
.menu-conta-drop .menu-conta-painel svg { color: var(--verde); }
.menu-conta-drop form { margin: .3rem 0 0; padding-top: .3rem; border-top: 1px solid var(--linha); }
.menu-conta-drop button { color: var(--alerta); }
.menu-conta-drop button svg { color: var(--alerta); }

/* ---------- faixa de seções ---------- */
.topo-faixa { background: #fff; }
.topo-faixa-interno { gap: .25rem; padding-top: 0; padding-bottom: 0; flex-wrap: nowrap; }
.topo-faixa a {
  gap: .45rem; padding: .7rem .8rem; color: var(--suave); font-size: .9rem; font-weight: 600;
  border-bottom: 2.5px solid transparent; white-space: nowrap;
}
.topo-faixa a svg { width: 17px; height: 17px; }
.topo-faixa a:hover { color: var(--texto); }
.topo-faixa a.ativo { color: var(--verde-escuro); border-bottom-color: var(--verde); }
.topo-faixa-selos {
  margin-left: auto; display: flex; gap: 1.1rem; align-items: center;
  font-size: .8rem; color: var(--suave); white-space: nowrap;
}
.topo-faixa-selos span { display: inline-flex; align-items: center; gap: .35rem; }
.topo-faixa-selos span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--verde); }
@media (max-width: 1100px) { .topo-faixa-selos { display: none; } }

/* ---------- hero da home ---------- */
.hero2 {
  background:
    radial-gradient(circle at 85% 20%, rgba(255,255,255,.14), transparent 45%),
    linear-gradient(115deg, #005f17 0%, #008820 55%, #12a335 100%);
  color: #fff;
}
.hero2-interno {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 2rem; align-items: center; padding-top: 2rem; padding-bottom: 2rem;
}
.hero2-selo {
  display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28);
  padding: .25rem .65rem; border-radius: 999px; margin-bottom: .7rem;
}
.hero2 h1 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.12; margin: 0 0 .55rem; letter-spacing: -.03em; }
.hero2-texto p { margin: 0 0 1rem; font-size: 1.02rem; color: rgba(255,255,255,.9); max-width: 52ch; }
.hero2-vantagens { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; }
.hero2-vantagens li { display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; font-weight: 600; color: rgba(255,255,255,.95); }
.hero2-vantagens svg { width: 18px; height: 18px; }

.hero2-portas { display: grid; gap: .75rem; }
.porta {
  display: flex; align-items: center; gap: .9rem;
  background: #fff; color: var(--texto); border-radius: 16px; padding: 1rem 1.1rem;
  box-shadow: 0 8px 24px rgba(0, 40, 10, .18); transition: transform .15s ease, box-shadow .15s ease;
}
.porta:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 40, 10, .25); }
.porta-ico {
  width: 48px; height: 48px; border-radius: 12px; flex: 0 0 auto;
  display: grid; place-items: center; background: var(--verde-claro); color: var(--verde);
}
.porta-ico svg { width: 26px; height: 26px; }
.porta-texto { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.porta-texto strong { font-size: 1.05rem; }
.porta-texto small { color: var(--suave); font-size: .85rem; }
.porta-seta { font-size: 1.3rem; color: var(--verde); font-weight: 700; }

/* ---------- barra da vitrine (abas + ordenar) ---------- */
.vitrine-titulo { margin: .25rem 0 .9rem; font-size: 1.35rem; letter-spacing: -.02em; }
.vitrine-barra {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem 1rem;
  flex-wrap: wrap; margin: .4rem 0 1.1rem;
}
.vitrine-barra .abas-loja {
  margin: 0; gap: 0; padding: 4px; background: #fff;
  border: 1px solid var(--linha); border-radius: 999px; flex-wrap: nowrap;
}
.vitrine-barra .abas-loja a { border: 0; background: transparent; padding: .45rem 1.05rem; color: var(--suave); white-space: nowrap; }
.vitrine-barra .abas-loja a:hover { color: var(--texto); }
.vitrine-barra .abas-loja a.ativa { background: var(--verde); color: #fff; box-shadow: var(--sombra-1); }
.ordenar { display: flex; align-items: center; gap: .55rem; row-gap: .4rem; flex-wrap: wrap; margin: 0; font-size: .88rem; color: var(--suave); }
.ordenar-qtd { margin-right: .4rem; }
.ordenar label { font-weight: 600; }
.ordenar select {
  width: auto; min-height: 40px; padding: .4rem 2rem .4rem .85rem; border-radius: 999px;
  border: 1px solid var(--linha); font-weight: 600; color: var(--texto); background-color: #fff;
  cursor: pointer;
}

/* ---------- tablet ---------- */
@media (max-width: 860px) {
  .hero2-interno { grid-template-columns: 1fr; gap: 1.25rem; padding-top: 1.5rem; padding-bottom: 1.5rem; }
  .hero2-portas { grid-template-columns: 1fr 1fr; }
  .acoes-topo-link { padding: .5rem; min-width: 44px; justify-content: center; }
  .menu-conta .seta { display: none; }
  .acoes-topo-link.carrinho { padding-right: .5rem; }
}

/* ---------- celular ---------- */
@media (max-width: 640px) {
  .cabecalho-interno { gap: .5rem; padding-top: .5rem; padding-bottom: .55rem; }
  .busca-topo { margin: 0; max-width: none; }
  .busca-topo input { padding: .65rem .5rem .65rem 2.5rem; }
  .busca-topo button { padding: 0 .95rem; font-size: .85rem; }
  .topo-acoes { gap: .15rem; }
  .acoes-topo-link { min-width: 42px; min-height: 42px; padding: .45rem; }
  .acoes-topo-link .ico { width: 22px; height: 22px; }
  .acoes-topo-link .badge { top: 0; left: 24px; }
  .menu-conta-drop { position: fixed; top: auto; left: .75rem; right: .75rem; width: auto; margin-top: .4rem; }

  /* seções como pílulas roláveis */
  .topo-faixa { border-top: 0; }
  .topo-faixa-interno { gap: .4rem; padding: 0 1rem .6rem; }
  .topo-faixa a {
    border: 1px solid var(--linha); border-radius: 999px; padding: .42rem .8rem; min-height: 36px;
    font-size: .85rem; background: #fff;
  }
  .topo-faixa a.ativo { background: var(--verde-claro); border-color: var(--verde-claro); color: var(--verde-escuro); }
  .topo-faixa a svg { width: 16px; height: 16px; }

  /* hero compacto: título curto + duas portas lado a lado */
  .hero2-interno { padding-top: 1.1rem; padding-bottom: 1.1rem; gap: 1rem; }
  .hero2-selo { font-size: .66rem; margin-bottom: .45rem; }
  .hero2 h1 { font-size: 1.5rem; margin-bottom: .35rem; }
  .hero2-texto p { font-size: .92rem; margin-bottom: .7rem; }
  .hero2-vantagens { gap: .35rem .9rem; }
  .hero2-vantagens li { font-size: .78rem; }
  .hero2-vantagens svg { width: 15px; height: 15px; }
  .hero2-portas { gap: .55rem; }
  .porta { flex-direction: column; align-items: flex-start; gap: .55rem; padding: .85rem; border-radius: 14px; }
  .porta-ico { width: 40px; height: 40px; border-radius: 10px; }
  .porta-ico svg { width: 22px; height: 22px; }
  .porta-texto strong { font-size: .95rem; }
  .porta-texto small { font-size: .76rem; line-height: 1.3; }
  .porta-seta { display: none; }

  /* vitrine: abas ocupam a largura, ordenar na linha de baixo */
  .vitrine-titulo { font-size: 1.2rem; margin-bottom: .7rem; }
  .vitrine-barra { gap: .6rem; margin-bottom: .9rem; }
  .vitrine-barra .abas-loja { width: 100%; }
  .vitrine-barra .abas-loja a { flex: 1; justify-content: center; padding: .5rem .4rem; min-height: 38px; font-size: .86rem; }
  .ordenar { width: 100%; }
  .ordenar-qtd { margin-right: auto; }
  .ordenar label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ordenar select { min-height: 40px; font-size: 16px; }
}

@media (max-width: 360px) {
  .hero2-vantagens li:nth-child(3) { display: none; }
}

/* =========================================================== APPS v1 (Windows + Android/PWA) */
.menu-conta-apps { margin-top: .3rem; padding-top: .3rem; border-top: 1px solid var(--linha); }
.menu-conta-sub { display: block; padding: .35rem .7rem .15rem; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--suave); }
.menu-conta-drop .menu-conta-apps svg { color: var(--verde); }
html.plat-android .app-win, html.plat-ios .app-win { display: none !important; }
html.pwa-instalado .app-and { display: none !important; }
html.pwa-instalado.plat-android .menu-conta-apps, html.pwa-instalado .faixa-app { display: none !important; }
.topo-faixa a.faixa-app { color: var(--verde-escuro); }
.topo-faixa a.faixa-app svg { color: var(--verde); }

.rodape-apps-tit { margin-top: 1.3rem !important; }
.rodape-apps { display: flex; flex-wrap: wrap; gap: .5rem; }
.rodape .rodape-apps a {
  display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .85rem .45rem .7rem;
  background: var(--texto); color: #fff; border-radius: 10px; line-height: 1.1; font-weight: 700; font-size: .9rem;
}
.rodape .rodape-apps a:hover { background: #000; color: #fff; text-decoration: none; }
.rodape-apps a small { display: block; font-size: .66rem; font-weight: 500; opacity: .75; }
.rodape-apps svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* página /aplicativo/ */
.apps-topo { display: flex; align-items: center; gap: 1.2rem; margin: .4rem 0 1.6rem; }
.apps-topo img { border-radius: 20px; box-shadow: var(--sombra-2, 0 6px 20px rgba(0,0,0,.08)); flex: 0 0 auto; }
.apps-topo h1 { margin: 0 0 .25rem; }
.apps-topo .lead { margin: 0; }
.apps-grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.app-card { background: #fff; border: 1px solid var(--linha); border-radius: 18px; padding: 1.4rem; display: flex; flex-direction: column; gap: 1rem; scroll-margin-top: 140px; }
.app-card:target { border-color: var(--verde); box-shadow: 0 0 0 3px var(--verde-claro); }
.app-card-cab { display: flex; align-items: center; gap: .9rem; }
.app-card-cab h2 { margin: 0; font-size: 1.2rem; }
.app-card-cab small { color: var(--suave); font-size: .84rem; }
.app-ico { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; flex: 0 0 auto; }
.app-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.app-ico.win { background: #e8f1fd; color: #0a64c9; }
.app-ico.and { background: var(--verde-claro); color: var(--verde-escuro); }
.app-ico.sino { background: #fff4e5; color: #b45309; }
.app-lista { margin: 0; padding: 0; list-style: none; display: grid; gap: .5rem; font-size: .93rem; }
.app-lista li { display: flex; gap: .55rem; align-items: flex-start; }
.app-lista li::before { content: ""; flex: 0 0 18px; height: 18px; margin-top: .1rem; border-radius: 50%; background: var(--verde-claro) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006a19' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }
.app-btn { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: .5rem; }
.app-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.app-btn span { opacity: .8; font-weight: 500; }
.app-nota { margin: 0; color: var(--suave); font-size: .85rem; }
.app-nota.ok { color: var(--verde-escuro); font-weight: 600; }
.app-passos { margin-top: auto; background: var(--fundo); border-radius: 12px; padding: .9rem 1rem; font-size: .9rem; }
.app-passos ol { margin: .5rem 0 .6rem; padding-left: 1.2rem; display: grid; gap: .3rem; }
.so-instalavel, .so-instalado { display: none !important; }
html.pode-instalar .so-instalavel { display: inline-flex !important; }
html.pode-instalar .so-manual { display: none; }
html.pwa-instalado .so-instalado { display: block !important; }
html.pwa-instalado .so-manual { display: none; }
.app-push { margin-top: 1.2rem; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.app-push [data-push-status][data-estado="ativo"] { color: var(--verde-escuro); font-weight: 600; }
.app-push [data-push-status][data-estado="bloqueado"] { color: var(--alerta); }
.app-push-acoes { display: flex; gap: .6rem; flex-wrap: wrap; }
[data-ativar-push][hidden], [data-desativar-push][hidden] { display: none !important; }

/* convite para ativar notificações (app instalado) */
.banner-push {
  position: fixed; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom)); z-index: 90;
  display: flex; align-items: center; gap: .7rem; padding: .85rem .9rem;
  background: #fff; border: 1px solid var(--linha); border-radius: 16px; box-shadow: 0 12px 34px rgba(0,0,0,.18);
  animation: modal-fade-in .2s ease; max-width: 34rem; margin: 0 auto;
}
.banner-push > svg { width: 26px; height: 26px; flex: 0 0 auto; color: var(--verde); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.banner-push p { margin: 0; flex: 1; font-size: .86rem; line-height: 1.3; }
.banner-push p strong { display: block; font-size: .95rem; }
.banner-push p span { color: var(--suave); }
.banner-push .btn { min-height: 40px; padding: .5rem 1rem; flex: 0 0 auto; }
.banner-push-fechar { background: none; border: 0; font-size: 1.5rem; line-height: 1; color: var(--suave); padding: .2rem .35rem; cursor: pointer; }
.notif-push-aviso { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; justify-content: space-between; background: var(--verde-suave); border: 1px solid var(--verde-claro); border-radius: 14px; padding: .75rem 1rem; margin: 0 0 1rem; font-size: .9rem; }
.notif-push-aviso:has([data-estado="ativo"]), .notif-push-aviso:has([data-estado="app-windows"]), .notif-push-aviso:has([data-estado="sem-suporte"]) { display: none; }

@media (max-width: 760px) {
  .apps-grade { grid-template-columns: 1fr; }
  .apps-topo img { width: 64px; height: 64px; border-radius: 16px; }
  .app-btn { align-self: stretch; justify-content: center; }
  .app-push { flex-direction: column; align-items: stretch; }
  .app-push-acoes .btn { flex: 1; }
  /* no celular o app Android vem primeiro */
  html.plat-android .apps-grade #android { order: -1; }
}


/* ===========================================================
   RODAPÉ COMPACTO (substitui o bloco antigo de 3 colunas)
   =========================================================== */
.rodape { margin-top: 1.5rem; }
.rodape-interno { display: flex; align-items: center; justify-content: space-between; gap: .6rem 1.5rem; flex-wrap: wrap; padding: .9rem var(--gutter); }
.rodape-marca { display: flex; align-items: center; gap: .7rem; }
.rodape .logo-img { height: 26px; max-height: 26px; }
.rodape-frase { color: var(--suave); font-size: .78rem; }
.rodape-links { display: flex; flex-wrap: wrap; gap: .2rem .95rem; }
.rodape-links a { color: var(--suave); font-size: .8rem; padding: 0; }
.rodape-links a:hover { color: var(--verde); text-decoration: none; }
.rodape-contato { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.rodape-ig {
  display: inline-flex; align-items: center; gap: .4rem; padding: .38rem .8rem !important;
  border-radius: 999px; background: var(--verde); color: #fff !important;
  font-size: .82rem; font-weight: 800; white-space: nowrap;
}
.rodape-ig:hover { background: var(--verde-escuro); color: #fff !important; text-decoration: none; }
.rodape-ig svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.rodape-email { color: var(--suave); font-size: .78rem; }
.rodape-base { padding: .5rem var(--gutter); font-size: .74rem; }
.topo-ig { color: var(--verde); }
@media (max-width: 760px) {
  .rodape-interno { justify-content: flex-start; padding: .9rem 0; }
  .rodape-frase, .rodape-email { display: none; }
  .rodape-links { gap: .15rem .8rem; }
}


/* =========================================================== filtro por categorias */
.filtro-categorias {
  display: flex; gap: .4rem; flex-wrap: wrap; margin: -.15rem 0 1rem;
}
.filtro-categorias a {
  padding: .32rem .8rem; border-radius: 999px; font-size: .82rem; font-weight: 600;
  background: var(--fundo-2); color: var(--texto); text-decoration: none;
  border: 1px solid transparent;
}
.filtro-categorias a:hover { border-color: var(--verde); color: var(--verde); text-decoration: none; }
.filtro-categorias a.ativa {
  background: var(--verde-claro); border-color: var(--verde); color: var(--verde-escuro);
}

/* paginação */
.paginacao {
  display: flex; align-items: center; justify-content: center; gap: .75rem;
  margin: 2rem 0 1rem; flex-wrap: wrap;
}
.pagina-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .55rem 1rem; border-radius: 999px; font-size: .88rem; font-weight: 700;
  background: var(--fundo-2); color: var(--texto); border: 1px solid rgba(0,0,0,.08);
  text-decoration: none; min-width: 110px;
}
.pagina-btn:hover { border-color: var(--verde); color: var(--verde); text-decoration: none; }
.pagina-btn.desativado { opacity: .45; pointer-events: none; }
.pagina-info { color: var(--suave); font-size: .88rem; font-weight: 600; }
.paginacao-topo {
  margin: 0; gap: .35rem; flex-wrap: nowrap;
}
.paginacao-topo .pagina-btn {
  min-width: 32px; width: 32px; height: 32px; padding: 0; font-size: 1rem; line-height: 1;
}
.paginacao-topo .pagina-info {
  font-size: .8rem; min-width: 3.5rem; text-align: center; white-space: nowrap;
}
@media (max-width: 520px) {
  .paginacao:not(.paginacao-topo) { gap: .5rem; }
  .paginacao:not(.paginacao-topo) .pagina-btn { min-width: 0; flex: 1; padding: .55rem .7rem; font-size: .84rem; }
  .paginacao:not(.paginacao-topo) .pagina-info { width: 100%; text-align: center; order: -1; }
  .paginacao-topo .pagina-btn { min-width: 32px; width: 32px; flex: 0 0 32px; padding: 0; }
  .paginacao-topo .pagina-info { width: auto; order: 0; }
  .carrossel { max-width: 100%; }
  .galeria img, .galeria .mini-3d { width: 56px; height: 56px; }
  .mini-3d span { font-size: .6rem; }
  .mini-3d svg { width: 22px; height: 22px; }
}
