/* ===== Home: hero =====
   Texto no campo grafite à esquerda; à direita um palco claro com corte diagonal e um disco amarelo atrás do produto.
   As fotos são de produto sobre branco: com mix-blend-mode multiply o branco some e o item fica "no palco". */
.hero-sec { padding-top: 24px; }
.hero {
  --pad: clamp(28px, 5vw, 64px);
  position: relative; overflow: hidden; border-radius: var(--raio-lg);
  background: radial-gradient(90% 120% at 0% 100%, #33363e 0%, var(--grafite) 45%, var(--grafite-2) 100%);
  color: #fff; min-height: clamp(360px, calc(100svh - 390px), 480px); isolation: isolate; /* sobra espaço para a faixa de tipos na primeira tela */
  box-shadow: 0 18px 50px rgb(20 22 28 / .18);
  touch-action: pan-y pinch-zoom; /* o arrasto lateral fica com o carrossel; sem isso o navegador cancela o toque */
}
.hero__trilho { position: relative; display: grid; height: 100%; min-height: inherit; }
.hero__slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: stretch; min-height: inherit; visibility: hidden; }
.hero__slide.is-ativo { visibility: visible; }
.hero__texto { position: relative; z-index: 3; align-self: center; padding: clamp(32px, 4vw, 52px) 12px 96px var(--pad); display: grid; justify-items: start; gap: 16px; }
.hero__titulo { font-size: clamp(30px, 3.8vw, 50px); font-weight: 600; line-height: 1.08; letter-spacing: -.03em; max-width: 15ch; text-wrap: balance; }
.hero__resumo { color: var(--grafite-txt); max-width: 44ch; font-size: 15px; line-height: 1.55; }
.hero__resumo .cond { margin-right: 6px; vertical-align: 1px; }
.hero__preco { display: grid; gap: 4px; margin-top: 2px; }
.hero__preco strong { font-size: clamp(34px, 3.6vw, 46px); font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.hero__economia { font-size: 14px; color: #dfe1e6; }
.hero__economia b { color: var(--amarelo); font-weight: 700; }
.hero__ref { font-size: 12.5px; color: var(--grafite-txt); font-variant-numeric: tabular-nums; }
.hero__ref s { text-decoration-color: rgb(185 188 198 / .7); }
.hero__acoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.hero__sacola { background: transparent; color: #fff; border-color: rgb(255 255 255 / .35); }
.hero__sacola:hover { background: #fff; color: var(--grafite); border-color: #fff; }

/* palco: corte diagonal na borda esquerda, luz no centro e o disco amarelo da marca atrás do item */
.hero__foto {
  position: relative; z-index: 2; isolation: isolate; overflow: hidden;
  background: radial-gradient(70% 70% at 58% 46%, #fff 0%, #f4f5f7 55%, #e4e7ec 100%);
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
  margin: -1px -2px -1px 0;  /* passa da borda (o .hero corta): sem filete do fundo grafite na lateral direita */
}
.hero__foto::before {
  content: ""; position: absolute; z-index: -1; left: 58%; top: 46%; width: min(76%, 78vh, 420px); aspect-ratio: 1;
  translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, #fffdf3 0%, #fff6d4 62%, #ffeaa0 100%);
  box-shadow: 0 0 0 14px rgb(255 199 0 / .14), 0 0 0 30px rgb(255 199 0 / .06);
}
/* pedestal amarelo: o item "pousa" nele */
.hero__foto::after {
  content: ""; position: absolute; z-index: -1; left: 58%; bottom: 10%; width: 54%; height: 44px; translate: -50% 0;
  border-radius: 50%; background: radial-gradient(60% 60% at 50% 40%, #ffd84d, var(--amarelo) 70%, var(--amarelo-2));
  box-shadow: 0 10px 0 -2px #d9a300, 0 22px 30px rgb(20 22 28 / .22);
}
.hero__foto img {
  position: absolute; top: 7%; bottom: 13%; left: 22%; right: 6%; width: 72%; height: 78%;
  object-fit: contain; mix-blend-mode: multiply;
}
.hero__selo {
  position: absolute; top: 9%; right: 7%; z-index: 2; width: 92px; height: 92px; border-radius: 50%;
  display: grid; place-content: center; text-align: center; rotate: -10deg;
  background: var(--preco); color: #fff; box-shadow: 0 10px 24px rgb(212 35 28 / .35);
}
.hero__selo b { font-size: 26px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.hero__selo span { font-size: 10.5px; font-weight: 600; line-height: 1.15; max-width: 9ch; margin-inline: auto; }

/* movimento autoral: o disco cresce, o item sobe do chão, o selo carimba; o texto sobe em cascata */
.hero__slide.is-ativo .hero__foto::before { animation: hero-disco .9s var(--ease) both; }
.hero__slide.is-ativo .hero__foto img { animation: hero-item 1s var(--ease) .08s both; }
.hero__slide.is-ativo .hero__selo { animation: hero-selo .6s var(--ease) .45s both; }
.hero__slide.is-ativo .hero__texto > * { animation: hero-texto .8s var(--ease) both; }
.hero__slide.is-ativo .hero__texto > :nth-child(2) { animation-delay: .06s; }
.hero__slide.is-ativo .hero__texto > :nth-child(3) { animation-delay: .12s; }
.hero__slide.is-ativo .hero__texto > :nth-child(4) { animation-delay: .18s; }
.hero__slide.is-ativo .hero__texto > :nth-child(5) { animation-delay: .24s; }
@keyframes hero-disco { from { scale: .55; opacity: 0; } }
@keyframes hero-item { from { transform: translateY(28px) scale(.94); opacity: 0; filter: blur(6px); } }
@keyframes hero-selo { from { scale: 1.6; opacity: 0; rotate: 8deg; } }
@keyframes hero-texto { from { opacity: 0; transform: translateY(14px); } }
.hero:not(.js-pronto) .hero__slide.is-ativo :is(.hero__foto img, .hero__selo, .hero__texto > *) { animation: none; }
.hero:not(.js-pronto) .hero__slide.is-ativo .hero__foto::before { animation: none; }

/* controles: barras de progresso (uma por destaque), contador, pausa e setas, embaixo do texto */
.hero__controles { position: absolute; z-index: 4; left: var(--pad); bottom: 28px; width: calc(48% - var(--pad) - 16px); display: flex; align-items: center; gap: 12px; }
.hero__pontos { display: flex; gap: 6px; flex: 1; min-width: 0; }
.hero__pontos [data-ponto] { flex: 1; max-width: 56px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.hero__pontos [data-ponto] i { display: block; height: 3px; border-radius: 3px; background: rgb(255 255 255 / .22); overflow: hidden; transition: background .2s; }
.hero__pontos [data-ponto]:hover i { background: rgb(255 255 255 / .4); }
.hero__pontos [data-ponto] i::after { content: ""; display: block; height: 100%; background: var(--amarelo); transform-origin: left; transform: scaleX(0); }
.hero__pontos [data-ponto].is-visto i::after { transform: none; background: rgb(255 255 255 / .7); }
.hero__pontos [data-ponto][aria-current="true"] i::after { animation: hero-progresso 6.5s linear both; }
.hero.is-parado .hero__pontos [data-ponto][aria-current="true"] i::after { animation: none; transform: none; }
@keyframes hero-progresso { from { transform: scaleX(0); } to { transform: none; } }
.hero__contador { font-size: 12px; color: var(--grafite-txt); white-space: nowrap; }
.hero__contador b { color: #fff; font-weight: 600; }
.hero__pausa { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .12); color: #fff; transition: background .2s; flex: none; }
.hero__pausa:hover { background: rgb(255 255 255 / .24); }
.hero__pausa .ic { width: 12px; height: 12px; fill: currentColor; stroke: none; }
.hero__pausa .ic--play, .hero__pausa[aria-pressed="true"] .ic--pause { display: none; }
.hero__pausa[aria-pressed="true"] .ic--play { display: block; }
.hero__seta { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; transition: scale .2s var(--ease), background .2s, border-color .2s; }
.hero__seta:hover { scale: 1.08; }
.hero__seta--ant { border: 1.5px solid rgb(255 255 255 / .35); background: transparent; color: #fff; }
.hero__seta--ant:hover { border-color: #fff; }
.hero__seta--prox { border: 0; background: var(--amarelo); color: var(--grafite); }
.hero__seta--prox:hover { background: var(--amarelo-2); }
@media (prefers-reduced-motion: reduce) {
  .hero__slide.is-ativo :is(.hero__foto img, .hero__selo, .hero__texto > *), .hero__slide.is-ativo .hero__foto::before { animation: none; }
}

/* ===== Home: faixa de categorias ===== */
.faixa-cats { position: relative; margin-top: 16px; }
/* 7 cartões inteiros por vez (sem cartão cortado nas bordas); as setas rolam uma página de 7 */
.faixa-cats__trilho { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 6 * 12px) / 7); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 0 8px; }
.faixa-cats__trilho::-webkit-scrollbar { display: none; }
.faixa-cats__trilho li { scroll-snap-align: start; }
.cat-tile { display: grid; justify-items: center; align-content: start; gap: 2px; padding: 10px 8px 12px; height: 100%; background: #fff; border: 2px solid transparent; border-radius: var(--raio-lg); box-shadow: var(--sombra); text-align: center; transition: border-color .25s, transform .3s var(--ease); }
.cat-tile:hover { border-color: var(--amarelo); transform: translateY(-2px); }
.cat-tile__img { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--fundo); margin-bottom: 6px; }
.cat-tile__img img { width: 100%; height: 100%; object-fit: cover; }
.cat-tile__nome { font-size: 13px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; hyphens: auto; }
.cat-tile__qtd { font-size: 12px; color: var(--texto-3); }
.faixa-cats__seta { position: absolute; top: 50%; z-index: 2; translate: 0 -60%; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--linha); display: grid; place-items: center; box-shadow: var(--sombra); background: #fff; color: var(--grafite); transition: opacity .2s; }
.faixa-cats__seta--ant { left: calc(var(--gutter) - 14px); }
.faixa-cats__seta--prox { right: calc(var(--gutter) - 14px); background: var(--amarelo); border-color: var(--amarelo); }
.faixa-cats__seta[disabled] { opacity: 0; pointer-events: none; }

/* ===== Home: novidades (cadastrados nos últimos dias), trilho de cards com as setas da faixa de categorias ===== */
.novidades__sub { font-size: 13px; color: var(--texto-3); margin-top: 2px; }
.novidades__rolo { position: relative; }
.novidades__trilho { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(200px, 22%, 236px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 14px; }
.novidades__trilho::-webkit-scrollbar { display: none; }
.novidades__trilho li { display: flex; flex-direction: column; scroll-snap-align: start; position: relative; }
.novidades__trilho .card { flex: 1; }
.novidades__quando { position: absolute; top: 10px; right: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px 3px 7px; border-radius: 4px; background: var(--amarelo); color: var(--grafite); font-size: 12px; font-weight: 600; pointer-events: none; }
.novidades__quando .ic { width: 13px; height: 13px; }
.novidades .faixa-cats__seta { top: 38%; }
.novidades .faixa-cats__seta--ant { left: -14px; }
.novidades .faixa-cats__seta--prox { right: -14px; }
.novidades .faixa-cats__progresso { margin-top: -6px; }
.novidades.is-visivel .novidades__trilho li { animation: cat-entra .7s var(--ease) both; animation-delay: calc(min(var(--i), 8) * 60ms); }
@media (max-width: 860px) {
  .novidades .faixa-cats__seta { display: none; }
  .novidades__trilho { grid-auto-columns: 172px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { .novidades.is-visivel .novidades__trilho li { animation: none; } }

/* colunas nas margens do destaque e das categorias (banners à esquerda, novidades à direita): só onde cabem
   280px fora do --wrap (1240px); aí o trilho de novidades some. Cada lista rola dentro da própria coluna. */
.coluna-lado { display: none; }
@media (min-width: 1840px) {
  .pg-home .home-topo { position: relative; }
  .coluna-lado { position: absolute; top: var(--respiro, 24px); bottom: 6px; width: 280px; display: flex; flex-direction: column; gap: 10px; padding: 16px 14px 14px; background: #fff; border-radius: var(--raio-lg); box-shadow: var(--sombra); overflow: hidden; }
  .coluna-lado--dir { left: calc(50% + var(--wrap) / 2 - var(--gutter) + 20px); }
  .coluna-lado--esq { right: calc(50% + var(--wrap) / 2 - var(--gutter) + 20px); }
  .novidades { display: none; }
  /* topo em grade: banners + destaque dentro da largura do site (a faixa de categorias passa por baixo dos dois) | novidades na margem.
     A 1ª trilha leva a coluna de banners até a borda do --wrap, alinhada às seções de baixo.
     As colunas laterais acompanham a altura das linhas sem esticá-las (contain: size). */
  .pg-home .home-topo { display: grid; grid-template-columns: calc((100% - var(--wrap)) / 2 + var(--gutter) - 20px) 280px calc(var(--wrap) - 2 * var(--gutter) - 300px) 280px 1fr; column-gap: 20px; }
  .pg-home .home-topo > .hero-sec { grid-column: 3; grid-row: 1; max-width: none; padding-inline: 0; margin: 0; }
  .pg-home .home-topo > .faixa-cats { grid-column: 3; grid-row: 2; max-width: none; padding-inline: 0; margin-inline: 0; }
  .pg-home .home-topo > .coluna-lado { position: relative; inset: auto; grid-row: 1 / 3; width: auto; margin: var(--respiro, 24px) 0 6px; contain: size; }  /* do topo do destaque ao fim dos cartões de categoria (6px = folga do trilho + barra) */
  .pg-home .home-topo > .coluna-lado--esq { grid-column: 2; grid-row: 1; margin-bottom: 0; }  /* banners só ao lado do destaque */
  .pg-home .home-topo > .faixa-cats { grid-column: 2 / 4; }
  .pg-home .home-topo > .coluna-lado--dir { grid-column: 4; }
  .pg-home .home-topo > .faixa-cats .faixa-cats__seta--ant { left: -14px; }
  /* destaque mais estreito (divide a largura com os banners): mais espaço para o texto e letras um pouco menores */
  .pg-home .home-topo .hero { --pad: 44px; }
  .pg-home .home-topo .hero__slide { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  /* altura contida: título em até 2 linhas, preço e economia lado a lado, botões numa linha só */
  .pg-home .home-topo .hero { min-height: 0; }
  .pg-home .home-topo .hero__texto { gap: 10px; padding-top: 28px; padding-bottom: 72px; }
  .pg-home .home-topo .hero__titulo { font-size: 32px; max-width: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .pg-home .home-topo .hero__resumo { font-size: 14px; }
  .pg-home .home-topo .hero__preco { flex-wrap: nowrap; }
  .pg-home .home-topo .hero__preco strong { font-size: 34px; white-space: nowrap; }
  .pg-home .home-topo .hero__acoes { flex-wrap: nowrap; }
  .pg-home .home-topo .hero__acoes .btn { white-space: nowrap; }
  .pg-home .home-topo .hero__controles { bottom: 18px; }
  /* palco mais estreito: produto ocupa mais dele e o selo cresce um pouco */
  .pg-home .home-topo .hero__foto img { top: 3%; bottom: 15%; left: 14%; right: 2%; width: 84%; height: 82%; }
  .pg-home .home-topo .hero__selo { top: 6%; right: 5%; width: 128px; height: 128px; }
  .pg-home .home-topo .hero__selo b { font-size: 33px; }
  .pg-home .home-topo .hero__controles { width: calc(56% - var(--pad) - 16px); }
  .pg-home .home-topo > .faixa-cats .faixa-cats__seta--prox { right: -14px; }
}
.coluna-lado__topo { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding-inline: 4px; }
.coluna-lado__titulo { font-size: 18px; font-weight: 600; white-space: nowrap; }
.coluna-lado__titulo::after { content: ""; display: block; width: 28px; height: 3px; margin-top: 4px; border-radius: 3px; background: var(--amarelo); }
.coluna-lado__sub { font-size: 12px; color: var(--texto-3); }
.coluna-lado__lista { flex: 1; min-height: 0; display: grid; align-content: start; gap: 4px; margin-inline: -6px; padding: 0 6px 20px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #d5d8de transparent;
  -webkit-mask-image: linear-gradient(#000 calc(100% - 28px), transparent); mask-image: linear-gradient(#000 calc(100% - 28px), transparent); }
.coluna-lado__mais { align-self: flex-start; margin-left: 4px; }
.novidade { display: grid; grid-template-columns: 60px minmax(0, 1fr); align-items: center; gap: 12px; padding: 6px; border-radius: var(--raio); transition: background .2s; }
.novidade:hover, .novidade:focus-visible { background: var(--fundo); }
.novidade__foto { width: 60px; height: 60px; border-radius: var(--raio); background: var(--fundo); overflow: hidden; display: grid; place-items: center; color: var(--texto-3); }
.novidade__foto img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .4s var(--ease); }
.novidade:hover .novidade__foto img { transform: scale(1.06); }
.novidade__corpo { display: grid; gap: 1px; min-width: 0; }
.novidade__quando { font-size: 11px; font-weight: 600; color: #8a6a00; text-transform: uppercase; letter-spacing: .03em; }
.novidade__titulo { font-size: 13px; font-weight: 500; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.novidade__preco { font-size: 14px; font-weight: 700; }
.coluna-lado__lista li { animation: cat-entra .6s var(--ease) both; animation-delay: calc(min(var(--i), 7) * 70ms + .2s); }
@media (prefers-reduced-motion: reduce) { .coluna-lado__lista li { animation: none; } .novidade__foto img { transition: none; } }

@media (min-width: 1840px) {
  /* banners na coluna ao lado do destaque: sem o cartão branco das listas; os de categoria encolhem para caber na altura */
  .coluna-lado--banners { gap: var(--vao, 14px); padding: 0; background: none; box-shadow: none; border-radius: 0; }
  .coluna-lado--banners > .banner { flex: none; }
  /* cada banner de categoria tem a altura do conteúdo; o loja.js esconde os que não cabem e os restantes crescem até o fim */
  .coluna-lado--banners > .banner--cat { flex: 1 0 auto; padding: 14px 16px; align-content: center; }
  .coluna-lado--banners > .banner--produto { flex: 1 0 auto; align-content: center; }
  .coluna-lado--banners.is-medindo > .banner { flex-grow: 0; }
  .coluna-lado--banners .banner__cat { font-size: 17px; }
  .coluna-lado--banners .banner--cat .banner__cta { margin-top: 2px; }
  .coluna-lado--banners .banner__fundo { width: 112px; height: 112px; right: -12px; bottom: -12px; }
}

/* telas sem margem para as colunas (< 1840px): os blocos entram no fluxo da página.
   Banners em grade abaixo das categorias. */
@media (max-width: 1839px) {
  .coluna-lado--banners { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--vao, 14px); max-width: var(--wrap); margin: calc(var(--vao, 20px) - 6px) auto 6px; padding-inline: var(--gutter); }
  .coluna-lado--banners > .banner--cat { min-height: 0; }
}
@media (max-width: 1080px) { .coluna-lado--banners { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .coluna-lado--banners { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; padding-bottom: 6px; }
  .coluna-lado--banners > .banner { scroll-snap-align: start; }
  .banner__pct { font-size: 60px; }
}

.banner { position: relative; isolation: isolate; display: grid; align-content: start; gap: 4px; padding: 18px 18px 16px; border-radius: var(--raio-lg); overflow: hidden; box-shadow: var(--sombra); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.banner:hover, .banner:focus-visible { transform: translateY(-4px); box-shadow: var(--sombra-alta); }
.banner__rotulo { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.banner__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; font-weight: 600; }
.banner__cta .ic { width: 15px; height: 15px; transition: translate .3s var(--ease); }
.banner:hover .banner__cta .ic { translate: 4px 0; }

/* amarelo com raios girando atrás do número */
.banner--desconto { background: var(--amarelo); color: var(--grafite); padding-top: 22px; }
.banner--desconto::before { content: ""; position: absolute; z-index: -1; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%;
  background: repeating-conic-gradient(rgb(255 255 255 / .35) 0 10deg, transparent 10deg 20deg); animation: banner-gira 30s linear infinite; }
.banner--desconto::after { content: ""; position: absolute; z-index: -1; inset: auto -10% -38px -10%; height: 70px; background: var(--grafite); transform: rotate(-6deg); }
.banner__tarja { position: absolute; top: 12px; right: -30px; rotate: 35deg; width: 120px; padding: 3px 0; background: var(--preco); color: #fff; font-size: 10px; font-weight: 700; text-align: center; text-transform: uppercase; letter-spacing: .12em; }
.banner__ate { font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.banner__pct { font-size: 76px; font-weight: 700; line-height: .9; letter-spacing: -.05em; }
.banner__pct small { font-size: .5em; letter-spacing: 0; }
.banner__txt { font-size: 14px; font-weight: 500; line-height: 1.3; max-width: 17ch; }
/* "Ver ofertas": pílula branca com texto grafite, separada da faixa escura e do amarelo do banner */
.banner--desconto .banner__cta { justify-self: start; margin-top: 14px; padding: 7px 14px; border-radius: 999px; background: #fff; color: var(--grafite); box-shadow: 0 4px 12px rgb(20 22 28 / .25); transition: background .25s, color .25s; }
.banner--desconto:hover .banner__cta { background: var(--preco); color: #fff; }

/* grafite com o produto sobre um disco amarelo */
.banner--produto { grid-template-columns: 1fr 96px; align-items: center; column-gap: 12px; background: radial-gradient(120% 100% at 100% 0%, var(--grafite-3), var(--grafite) 55%, var(--grafite-2)); color: #fff; }
.banner--produto .banner__rotulo { grid-column: 1 / -1; color: var(--amarelo); }
.banner__foto { grid-column: 2; grid-row: 2 / span 2; width: 96px; height: 96px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffd84d, var(--amarelo)); display: grid; place-items: center; overflow: hidden; }
.banner__foto img { width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.banner--produto:hover .banner__foto img { transform: rotate(-8deg) scale(1.08); }
.banner__nome { grid-column: 1; grid-row: 2; font-size: 14px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.banner__economia { grid-column: 1; grid-row: 3; font-size: 12px; color: var(--grafite-txt); }
.banner__economia b { display: block; font-size: 20px; color: var(--amarelo); }
.banner--garantia .banner__foto .ic { width: 46px; height: 46px; color: var(--grafite); stroke-width: 1.8; }
.banner--garantia .banner__nome { font-size: 17px; line-height: 1.2; }
.banner--garantia:hover, .banner--garantia-b:hover, .banner--garantia-c:hover { transform: none; box-shadow: var(--sombra); }  /* não são links */
/* garantia, modelo 2: amarelo com o prazo em destaque */
.banner--garantia-b { background: var(--amarelo); color: var(--grafite); grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 14px; row-gap: 6px; }
.banner--garantia-b .banner__rotulo { grid-column: 1 / -1; }
.banner--garantia-b::before { content: ""; position: absolute; z-index: -1; right: -60px; bottom: -60px; width: 180px; height: 180px; border-radius: 50%; border: 22px solid rgb(255 255 255 / .35); }
.garantia-b__num { display: grid; justify-items: center; gap: 2px; }
.garantia-b__num strong { font-size: 52px; font-weight: 700; line-height: .9; letter-spacing: -.04em; }
.garantia-b__num span { font-size: 11px; font-weight: 700; line-height: 1.15; text-align: center; text-transform: uppercase; letter-spacing: .04em; }
.garantia-b__txt { font-size: 13px; line-height: 1.35; }
/* garantia, modelo 3: branco com a lista do que a loja garante */
.banner--garantia-c { background: #fff; color: var(--texto); align-content: center; gap: 10px; border: 2px solid var(--amarelo); }
.banner--garantia-c .banner__rotulo { color: var(--texto-3); }
.garantia-c__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
.garantia-c__lista li { display: flex; align-items: center; gap: 8px; }
.garantia-c__lista .ic { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--verde); color: #fff; stroke-width: 3; }
.coluna-lado--banners > .banner--garantia, .coluna-lado--banners > .banner--garantia-b, .coluna-lado--banners > .banner--garantia-c { flex: none; }  /* garantia nunca estica nem tira a vaga da categoria */

/* categorias: foto grande saindo pela direita */
.banner--cat { min-height: 128px; background: #fff; color: var(--texto); border: 2px solid transparent; }
.banner--cat:hover { border-color: var(--amarelo); }
.banner--cat-b { background: var(--amarelo-claro); }
.banner--cat .banner__rotulo { color: var(--texto-3); }
.banner__cat { font-size: 19px; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; max-width: 72%; text-wrap: balance; }
.banner__fundo { position: absolute; z-index: -1; right: -18px; bottom: -18px; width: 140px; height: 140px; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.banner--cat:hover .banner__fundo { transform: translateX(-6px) rotate(-6deg) scale(1.06); }

.banner--produto:hover, .banner--produto:focus-visible { color: #fff; }

@keyframes banner-gira { to { rotate: 360deg; } }
[data-rodizio]:not([hidden]) { animation: banner-troca .5s var(--ease) both; }
@keyframes banner-troca { from { opacity: 0; translate: 0 8px; } }
@media (prefers-reduced-motion: reduce) {
  .banner--desconto::before { animation: none; }
  .banner, .banner__fundo, .banner__foto img, .banner__cta .ic { transition: none; }
  [data-rodizio]:not([hidden]) { animation: none; }
}

/* ===== Home: bloco de economia ===== */
.faixa-cinza { background: linear-gradient(var(--fundo), #e9eaee); margin-top: 36px; padding-bottom: 8px; border-top: 1px solid #e6e7ea; }
.oferta { display: grid; grid-template-columns: minmax(250px, 300px) 1fr; gap: 24px; padding: 22px; }
.oferta__destaque { display: grid; align-content: start; grid-template-rows: auto auto auto auto 1fr; gap: 14px; padding: 26px 24px 24px; border-radius: var(--raio); background: var(--grafite); color: #fff; position: relative; overflow: hidden; }
.oferta__destaque::after { content: ""; position: absolute; inset: auto 0 0 0; height: 58px; background: var(--amarelo); clip-path: polygon(0 55%, 100% 0, 100% 100%, 0 100%); }
.oferta__titulo { font-size: 24px; font-weight: 500; line-height: 1.25; }
.oferta__titulo em { font-style: normal; font-weight: 700; color: var(--amarelo); font-size: 1.9em; display: inline-block; line-height: 1; }
.oferta__txt { color: var(--grafite-txt); font-size: 14px; }
.oferta__numeros { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; margin-bottom: 18px; }
.oferta__numeros li { display: grid; justify-items: center; padding: 8px 4px; background: #fff; color: var(--grafite); border-radius: var(--raio); box-shadow: 0 2px 6px rgb(0 0 0 / .15); }
.oferta__numeros strong { font-size: 22px; line-height: 1.1; }
.oferta__numeros span { font-size: 10px; text-transform: uppercase; letter-spacing: .04em; color: var(--texto-2); }
.oferta__itens { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
/* cada oferta é um cartão próprio: as quatro ficam separadas, sem linhas soltas entre elas */
.oferta__itens > .oferta-item { padding: 16px; border: 1px solid var(--linha); border-radius: var(--raio-lg); background: #fff; transition: border-color .25s, box-shadow .25s; }
.oferta__itens > .oferta-item:hover { border-color: var(--amarelo); box-shadow: var(--sombra); }
.oferta__itens > .oferta-item { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; }
.oferta__itens .oferta-item__foto { background: none; align-self: center; }  /* foto no meio da altura do cartão */
/* o selo de % fica no canto do cartão (não desce com a foto): a foto deixa de ser a referência de posição */
.oferta__itens > .oferta-item { position: relative; }
.oferta__itens .oferta-item__foto { position: static; }
.oferta__itens .oferta-item__foto .selo { top: 14px; left: 14px; }
.oferta__itens .oferta-item__foto::after { content: none; }  /* no cartão a linha sob a foto sobra */
.oferta__itens .oferta-item__acoes { flex-wrap: nowrap; }
.oferta__itens > .oferta-item { border-color: #c4c8d0; }  /* borda mais escura para separar os cartões */
/* lateral escura: selo no topo, botão para todas as ofertas e raios girando atrás de um "%" grande */
.oferta__selo { position: relative; z-index: 1; justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgb(255 199 0 / .14); color: var(--amarelo); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.oferta__selo .ic { width: 13px; height: 13px; }
.oferta__ver { position: relative; z-index: 1; align-self: end; justify-self: start; margin-bottom: 44px; }
.oferta__arte { position: absolute; z-index: 0; right: -70px; bottom: -40px; width: 260px; height: 260px; pointer-events: none; display: grid; place-items: center; }
.oferta__arte::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: repeating-conic-gradient(rgb(255 199 0 / .16) 0 10deg, transparent 10deg 20deg); animation: banner-gira 40s linear infinite; }
.oferta__arte b { position: relative; font-size: 120px; font-weight: 700; line-height: 1; color: rgb(255 199 0 / .12); transform: translate(-30px, -30px); }
.oferta__titulo, .oferta__txt, .oferta__numeros { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .oferta__arte::before { animation: none; } }
.oferta-item { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; align-items: start; }
.oferta-item__foto { position: relative; aspect-ratio: 1; border-radius: var(--raio); overflow: hidden; background: var(--fundo); }
.oferta-item__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.oferta-item:hover .oferta-item__foto img { transform: scale(1.05); }
.oferta-item__info { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.oferta-item__titulo { font-size: 15px; font-weight: 500; }
.oferta-item__titulo a:hover { color: var(--preco); }
.oferta-item__economia { font-size: 13px; color: var(--verde); }
.oferta-item__acoes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
/* bloco "Maiores descontos" dentro da vitrine: ocupa a linha inteira; a grade preenche os buracos com os cards seguintes */
.grade--vitrine { grid-auto-flow: row dense; }
.grade__bloco { grid-column: 1 / -1; margin: 0; }
.oferta__cta { position: relative; z-index: 1; justify-self: start; margin: 6px 0 22px; }

/* ===== Régua de preços (assinatura) ===== */
.regua { display: grid; gap: 7px; margin: 0; }
.regua__linha { display: grid; grid-template-columns: 124px 1fr; align-items: center; gap: 10px; }
.regua dt { font-size: 12px; color: var(--texto-2); }
.regua dd { margin: 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; }
.regua__barra { height: 8px; border-radius: 99px; background: var(--fundo); overflow: hidden; }
.regua__barra i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: #c3c6cd; transform-origin: left; animation: regua-cresce 1s var(--ease) both; }
.regua__linha--usado .regua__barra i { background: #8b8f99; animation-delay: .1s; }
.regua__linha--nosso .regua__barra i { background: var(--amarelo); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .06); animation-delay: .2s; }
.regua__valor { font-size: 12px; color: var(--texto-2); min-width: 86px; text-align: right; }
.regua__linha--novo .regua__valor, .regua__linha--usado .regua__valor { text-decoration: line-through; text-decoration-color: rgb(90 94 105 / .6); }
.regua__linha--nosso dt { color: var(--texto); font-weight: 600; }
.regua__linha--nosso .regua__valor { color: var(--preco); font-weight: 700; font-size: 14px; }
@keyframes regua-cresce { from { transform: scaleX(0); } }
.regua--compacta .regua__linha { grid-template-columns: 1fr; gap: 2px; }

/* ===== Home: faixa indique ===== */

/* ===== Home: colunas ===== */
.colunas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.coluna { display: flex; flex-direction: column; padding: 14px 16px 18px 0; min-width: 0; }
.coluna__topo { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.coluna__setas { display: flex; gap: 6px; }
.btn-ic--redondo { border-radius: 50%; width: 30px; height: 30px; }
.btn-ic--redondo:hover { background: var(--amarelo); border-color: var(--amarelo); color: var(--grafite); }
/* no toque, as setas das colunas e os pontos do banner ganham área maior (o desenho continua igual) */
@media (pointer: coarse) {
  .btn-ic--redondo { width: 36px; height: 36px; }
  .hero__pontos [data-ponto] { height: 32px; }
}
.coluna__corpo { display: grid; grid-template-columns: 1fr 66px; gap: 14px; padding-left: 16px; flex: 1; }
.coluna__palco { min-width: 0; }
.coluna__item { display: grid; gap: 8px; }
.coluna__item.is-ativo { animation: coluna-entra .5s var(--ease); }
@keyframes coluna-entra { from { opacity: 0; transform: translateX(-10px); } }
.coluna__foto { aspect-ratio: 1; border-radius: var(--raio); overflow: hidden; background: var(--fundo); }
.coluna__foto img { width: 100%; height: 100%; object-fit: cover; }
.coluna__nome { font-size: 14px; font-weight: 500; line-height: 1.35; min-height: 2.7em; }
.coluna__nome a:hover { color: var(--preco); }
.coluna__thumbs { display: grid; align-content: start; gap: 8px; }
.coluna__thumb { width: 66px; height: 66px; padding: 3px; border-radius: var(--raio); border: 2px solid var(--linha); background: #fff; transition: border-color .2s; }
.coluna__thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.coluna__thumb:hover { border-color: #b8bbc3; }
.coluna__thumb.is-ativo { border-color: var(--amarelo); }

/* ===== Home: vitrine e passos ===== */
.abas-filtro { display: flex; gap: 4px; flex-wrap: wrap; }
.abas-filtro button { border: 0; background: none; padding: 6px 12px; font-size: 13px; font-weight: 500; color: var(--texto-2); border-radius: 99px; transition: background .2s, color .2s; }
.abas-filtro button:hover { color: var(--texto); background: #fff; }
.abas-filtro button.is-ativo { background: var(--grafite); color: #fff; }
.card.is-filtrado { display: none; }
.vitrine__vazia { padding: 24px 0; color: var(--texto-2); }
.vitrine__mais { display: flex; justify-content: center; margin-top: 24px; }

.passos { padding: clamp(22px, 3vw, 32px); }
.passos__titulo { font-size: 20px; margin-bottom: 20px; }
.passos__lista { display: grid; grid-template-columns: repeat(3, 1fr); counter-reset: passo; }
.passos__lista li { display: flex; gap: 14px; padding: 4px 24px; border-left: 1px solid var(--linha); }
.passos__lista li:first-child { border-left: 0; padding-left: 0; }
.passos__lista .ic { width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: var(--amarelo); color: var(--grafite); stroke-width: 1.8; }
.passos__lista h3 { font-size: 15px; margin-bottom: 4px; }
.passos__lista p { font-size: 14px; color: var(--texto-2); }
.passos__lista code { font-size: 12px; background: var(--fundo); padding: 1px 5px; border-radius: 4px; word-break: break-all; }

/* ===== Vazio ===== */
.vazio { display: grid; justify-items: center; gap: 10px; padding: clamp(36px, 6vw, 64px) 24px; text-align: center; }
.vazio__ic { width: 56px; height: 56px; padding: 13px; border-radius: 50%; background: var(--amarelo-claro); color: #7a5b00; stroke-width: 1.6; }
.vazio h2, .vazio h3 { font-size: 20px; }
.vazio p { color: var(--texto-2); max-width: 48ch; }
.vazio .btn { margin-top: 8px; }

/* ===== Cabeçalho de página ===== */
.migalhas { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; padding-block: 18px 6px; font-size: 13px; color: var(--texto-3); }
.migalhas .ic { width: 14px; height: 14px; }
.migalhas a:hover { color: var(--texto); text-decoration: underline; text-underline-offset: 3px; }
.migalhas [aria-current] { color: var(--texto-2); max-width: min(40ch, 100%); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cabeca-pagina { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.cabeca-pagina h1 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.02em; }
.cabeca-pagina__qtd { color: var(--texto-3); font-size: 14px; }

/* ===== Catálogo ===== */
.catalogo { display: grid; grid-template-columns: 250px 1fr; gap: 24px; align-items: start; }
.filtros { position: sticky; top: 16px; }
.filtros__caixa summary { display: flex; align-items: center; gap: 8px; padding: 14px 18px; font-weight: 600; cursor: pointer; list-style: none; }
.filtros__caixa summary::-webkit-details-marker { display: none; }
.filtros__form { display: grid; gap: 18px; padding: 0 18px 18px; }
.filtros__grupo { border: 0; margin: 0; padding: 0; }
.filtros__grupo legend { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.filtros__cats { display: grid; gap: 2px; }
.filtros__cats label, .filtros__check { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; cursor: pointer; }
.filtros input[type="radio"], .filtros input[type="checkbox"] { width: 17px; height: 17px; margin: 0; accent-color: var(--grafite); }
.filtros__limpar { font-size: 13px; text-decoration: underline; text-underline-offset: 3px; color: var(--texto-2); }
.js .filtros__aplicar { display: none; }
.grade--catalogo { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.paginacao { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: 28px; }
.paginacao a, .paginacao__atual { display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 6px; border-radius: var(--raio); background: #fff; font-size: 14px; box-shadow: var(--sombra); }
.paginacao a:hover { background: var(--amarelo-claro); }
.paginacao__atual { background: var(--amarelo); font-weight: 600; }

/* ===== Produto ===== */
.produto { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(20px, 3.5vw, 44px); padding: clamp(16px, 2.5vw, 28px); }
.galeria { display: grid; gap: 12px; align-content: start; }
.galeria__palco { position: relative; aspect-ratio: 1; border-radius: var(--raio); overflow: hidden; background: var(--fundo); }
.galeria__principal { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: zoom-in; }
.galeria__principal img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.galeria__principal:hover img { transform: scale(1.03); }
.galeria__principal.is-ativo { animation: foto-entra .45s var(--ease); }
@keyframes foto-entra { from { opacity: .3; } }
.galeria__sem-foto { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; color: var(--texto-3); }
.galeria__sem-foto .ic { width: 48px; height: 48px; stroke-width: 1.5; }
.selo--grande { top: 14px; left: 14px; padding: 5px 12px; font-size: 13px; }
.galeria__ampliar { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 0; border-radius: 99px; background: rgb(27 28 33 / .82); color: #fff; font-size: 13px; font-weight: 500; transition: background .2s; }
.galeria__ampliar:hover { background: var(--grafite-2); }
.galeria__ampliar .ic { width: 16px; height: 16px; }
.galeria__ampliar .num { color: var(--amarelo); }
.galeria__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px; }
.galeria__thumb { aspect-ratio: 1; width: 100%; padding: 3px; border: 2px solid var(--linha); border-radius: var(--raio); background: #fff; transition: border-color .2s; }
.galeria__thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.galeria__thumb:hover { border-color: #b8bbc3; }
.galeria__thumb.is-ativo { border-color: var(--amarelo); }

.produto__info { display: grid; align-content: start; gap: 16px; }
.produto__titulo { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.02em; }
.produto__linha { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; font-size: 13px; color: var(--texto-2); margin-top: -6px; }
.status { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status--disponivel { color: var(--verde); }
.status--reservado { color: #8a6600; }
.status--vendido { color: var(--texto-3); }
.produto__resumo { color: var(--texto-2); font-size: 15px; }
.produto__precos { display: grid; gap: 14px; padding: 18px; border-radius: var(--raio); background: #fafafb; border: 1px solid var(--linha); }
.produto__nosso { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.produto__nosso span { font-size: 13px; font-weight: 600; color: var(--texto-2); }
.produto__nosso strong { font-size: clamp(30px, 3.4vw, 38px); font-weight: 700; color: var(--preco); letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.produto__economia { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: var(--raio); background: var(--verde-claro); color: #0b5c3d; font-size: 13px; }
.produto__economia .ic { width: 18px; height: 18px; margin-top: 1px; }
.produto__fatos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.produto__fatos li { display: flex; gap: 10px; font-size: 13px; color: var(--texto-2); }
.produto__fatos .ic { width: 20px; height: 20px; color: var(--texto); stroke-width: 1.7; margin-top: 1px; }
.produto__fatos strong { display: block; color: var(--texto); font-weight: 600; }
.produto__pagto { display: flex; gap: 18px; font-size: 13px; font-weight: 500; }
.produto__pagto span { display: inline-flex; align-items: center; gap: 6px; }
.produto__pagto .ic { width: 18px; height: 18px; }
.produto__acoes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.produto__indisponivel { padding: 14px 16px; border-radius: var(--raio); background: var(--amarelo-claro); color: #5e4700; font-size: 14px; }
.produto__indisponivel strong { display: block; }
.produto__duvida { display: inline-flex; align-items: center; gap: 8px; justify-self: start; font-size: 14px; font-weight: 600; color: var(--whats); }
.produto__duvida:hover { color: #116a33; text-decoration: underline; text-underline-offset: 3px; }
.produto__duvida .ic { width: 18px; height: 18px; }
.produto__ref { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--texto-2); }
.produto__ref .ic { width: 16px; height: 16px; color: #9a7100; }

.detalhes { margin-top: 20px; }
.abas { display: flex; gap: 4px; padding: 0 clamp(12px, 2vw, 24px); border-bottom: 1px solid var(--linha); overflow-x: auto; }
.abas [role="tab"] { position: relative; border: 0; background: none; padding: 16px 14px; font-size: 15px; font-weight: 600; color: var(--texto-3); white-space: nowrap; }
.abas [role="tab"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--amarelo); transform: scaleX(0); transition: transform .35s var(--ease); }
.abas [role="tab"]:hover { color: var(--texto); }
.abas [role="tab"][aria-selected="true"] { color: var(--texto); }
.abas [role="tab"][aria-selected="true"]::after { transform: scaleX(1); }
.detalhes__painel { padding: clamp(18px, 2.5vw, 28px); }
.texto-longo { max-width: 72ch; color: #33363d; }
.texto-longo p + p { margin-top: 12px; }
.detalhes__estado { margin-top: 22px; }
.detalhes__estado h3 { font-size: 15px; margin-bottom: 8px; }
.detalhes__vazio { color: var(--texto-3); padding: 8px 0; }
.specs { width: 100%; max-width: 760px; border-collapse: collapse; font-size: 14px; }
.specs th, .specs td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--linha); vertical-align: top; }
.specs td { overflow-wrap: anywhere; } /* links longos das referências quebram; o rótulo (th) mantém as palavras inteiras */
@media (max-width: 560px) { .specs th, .specs td { padding: 10px; } }
.specs tr:nth-child(odd) { background: #fafafb; }
.specs th { width: 36%; font-weight: 500; color: var(--texto-2); }

/* ===== Lightbox ===== */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(14 15 18 / .96); color: #fff; overflow: hidden; }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: lb-entra .35s var(--ease); }
.lightbox::backdrop { background: rgb(0 0 0 / .6); backdrop-filter: blur(4px); }
@keyframes lb-entra { from { opacity: 0; } }
.lightbox__topo { display: flex; align-items: center; gap: 16px; padding: 14px clamp(16px, 3vw, 28px); }
.lightbox__titulo { flex: 1; font-size: 14px; font-weight: 500; color: #d6d8de; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lightbox__contador { font-size: 14px; color: var(--amarelo); font-weight: 600; }
.lightbox__fechar { width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .1); color: #fff; display: grid; place-items: center; transition: background .2s; }
.lightbox__fechar:hover { background: rgb(255 255 255 / .2); }
.lightbox__palco { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 clamp(8px, 7vw, 90px); touch-action: pan-y; }
.lightbox__figura { grid-area: 1 / 1; margin: 0; display: grid; gap: 10px; justify-items: center; max-height: 100%; min-height: 0; }
.lightbox__figura img { max-width: 100%; max-height: calc(100dvh - 190px); object-fit: contain; border-radius: 4px; user-select: none; transition: transform .35s var(--ease); cursor: zoom-in; }
.lightbox__figura.is-zoom img { transform: scale(2); cursor: zoom-out; }
.lightbox__figura.is-ativo { animation: lb-foto .45s var(--ease); }
@keyframes lb-foto { from { opacity: 0; transform: scale(.97); } }
.lightbox__figura figcaption { font-size: 13px; color: #aeb1b9; }
.lightbox__seta { position: absolute; top: 50%; translate: 0 -50%; width: 50px; height: 50px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgb(27 28 33 / .78); color: #fff; box-shadow: 0 2px 10px rgb(0 0 0 / .35); transition: background .2s, color .2s; }
.lightbox__seta:hover { background: var(--amarelo); color: var(--grafite); }
.lightbox__seta .ic { width: 26px; height: 26px; }
.lightbox__seta--ant { left: clamp(8px, 2vw, 24px); }
.lightbox__seta--prox { right: clamp(8px, 2vw, 24px); }
.lightbox__thumbs { display: flex; justify-content: center; gap: 8px; padding: 14px 16px 18px; overflow-x: auto; }
.lightbox__thumbs button { flex: none; width: 64px; height: 64px; padding: 2px; border-radius: var(--raio); border: 2px solid transparent; background: none; opacity: .5; transition: opacity .2s, border-color .2s; }
.lightbox__thumbs button:hover { opacity: .85; }
.lightbox__thumbs button[aria-current="true"] { opacity: 1; border-color: var(--amarelo); }
.lightbox__thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
body.lb-aberto { overflow: hidden; }

/* ===== Sacola / checkout ===== */
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.checkout__principal { display: grid; gap: 16px; }
.checkout__bloco { padding: clamp(16px, 2.4vw, 24px); display: grid; gap: 16px; }
.checkout__titulo { font-size: 17px; font-weight: 600; }
.checkout__aviso { font-size: 14px; color: var(--texto-2); max-width: 60ch; }
.checkout__conta { display: flex; gap: 10px; flex-wrap: wrap; }
.checkout__pix { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: 14px; color: var(--texto-2); }
.checkout__pix > .ic { flex: none; width: 22px; height: 22px; }
.itens { display: grid; }
.item { display: grid; grid-template-columns: 72px 1fr auto auto; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--linha); }
.item:first-child { border-top: 0; padding-top: 0; }
.item__foto { width: 72px; height: 72px; border-radius: var(--raio); overflow: hidden; background: var(--fundo); }
.item__foto img { width: 100%; height: 100%; object-fit: cover; }
.item__info { min-width: 0; display: grid; gap: 4px; }
.item__nome { font-weight: 500; font-size: 14px; line-height: 1.35; }
.item__nome:hover { color: var(--preco); }
.item__meta { font-size: 12px; color: var(--texto-3); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.item__preco { font-size: 15px; color: var(--preco); }
span.item__preco { display: grid; justify-items: end; gap: 2px; }
.item__func { font-size: 12px; font-weight: 600; color: var(--verde); white-space: nowrap; }
.item__func[hidden] { display: none; }
.item__remover:hover { border-color: var(--preco); color: var(--preco); }
/* align-items: start impede que um campo com erro (mensagem embaixo) estique o vizinho da mesma linha */
.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; align-items: start; }
.campos .campo--largo { grid-column: 1 / -1; }
.resumo { position: sticky; top: 16px; padding: 22px; display: grid; gap: 16px; }
.resumo__linhas { display: grid; gap: 8px; margin: 0; font-size: 14px; }
.resumo__linhas div { display: flex; justify-content: space-between; gap: 14px; }
.resumo__linhas dt { color: var(--texto-2); }
.resumo__linhas dd { margin: 0; text-align: right; font-weight: 500; }
.resumo__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px dashed #cfd2d8; }
.resumo__total span { font-weight: 600; }
.resumo__total strong { font-size: 26px; color: var(--preco); letter-spacing: -.02em; }
.resumo__nota { font-size: 12px; color: var(--texto-3); }
.resumo__funcionario { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 12px; border-radius: var(--raio); background: var(--amarelo-claro); color: #6b5100; font-size: 13px; cursor: pointer; }
.resumo__funcionario input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--grafite); }
.resumo__funcionario > span { display: flex; align-items: flex-start; gap: 6px; }
.resumo__funcionario .ic { flex: none; width: 16px; height: 16px; margin-top: 1px; }
.resumo__aviso-parcelado { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 10px 12px; border-radius: var(--raio); background: #fff; border: 1.5px solid var(--preco); color: var(--preco); font-size: 13px; font-weight: 500; }
.plano__aviso { margin: 4px 0 0; }  /* aviso do funcionário repetido logo abaixo do "Pix parcelado" */
.resumo__funcionario.is-desabilitado { opacity: .5; cursor: not-allowed; filter: grayscale(.6); }
.resumo__funcionario.is-desabilitado input { cursor: not-allowed; }
.resumo__aviso-parcelado[hidden] { display: none; }
.resumo__aviso-parcelado .ic { flex: none; width: 16px; height: 16px; margin-top: 1px; }
.resumo__desconto dd { color: var(--verde); font-weight: 600; }

/* ===== Pedido recebido ===== */
.pedido-ok { margin: 28px 0 0; padding: clamp(20px, 3vw, 36px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.pedido-ok__proximo .btn { white-space: normal; text-align: center; line-height: 1.25; max-width: 100%; }
.pedido-ok__grade > * { min-width: 0; }
.pedido-ok__topo { display: flex; align-items: center; gap: 18px; }
.pedido-ok__topo h1 { font-size: clamp(22px, 2.8vw, 30px); letter-spacing: -.02em; }
.pedido-ok__topo p { color: var(--texto-2); }
.pedido-ok__check { flex: none; width: 60px; height: 60px; border-radius: 50%; background: var(--amarelo); display: grid; place-items: center; animation: check-pula .7s var(--ease) both; }
.pedido-ok__check .ic { width: 30px; height: 30px; stroke-width: 3; stroke-dasharray: 30; stroke-dashoffset: 30; animation: check-traca .5s .25s var(--ease) forwards; }
@keyframes check-pula { from { transform: scale(.4); opacity: 0; } }
@keyframes check-traca { to { stroke-dashoffset: 0; } }
.pedido-ok__proximo { display: grid; justify-items: start; gap: 14px; padding: 18px 20px; border-radius: var(--raio); background: var(--grafite); color: #fff; }
.pedido-ok__proximo p { color: #dfe1e6; }
.pedido-ok__grade { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; }
.pedido-ok__resumo { display: grid; gap: 14px; align-content: start; }
.pedido-ok__voltar { border-top: 1px solid var(--linha); padding-top: 18px; }

/* ===== Indique ===== */

/* ===== Comissões ===== */
.totais { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.totais__item { display: grid; gap: 2px; padding: 18px 20px; border-radius: var(--raio-lg); background: #fff; box-shadow: var(--sombra); }
.totais__item span { font-size: 13px; font-weight: 600; color: var(--texto-2); }
.totais__item strong { font-size: 26px; letter-spacing: -.02em; }
.totais__item small { font-size: 12px; color: var(--texto-3); }
.totais__item--destaque { background: var(--grafite); color: #fff; }
.totais__item--destaque span, .totais__item--destaque small { color: var(--grafite-txt); }
.totais__item--destaque strong { color: var(--amarelo); }
.tabela-bloco { padding: clamp(16px, 2.4vw, 24px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-bottom: 20px; }
.tabela-bloco__topo { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.tabela-rolagem { position: relative; overflow-x: auto; } /* relative: os rótulos .sr (absolutos) ficam presos aqui e não alargam a página */
.tabela { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 760px; }
.tabela th { text-align: left; font-size: 12px; font-weight: 600; color: var(--texto-2); text-transform: uppercase; letter-spacing: .04em; padding: 10px 12px; border-bottom: 2px solid var(--linha); white-space: nowrap; }
.tabela td { padding: 12px; border-bottom: 1px solid var(--linha); vertical-align: middle; }
.tabela tbody tr:hover { background: #fafafb; }
.tabela .dir { text-align: right; }
.tabela small { color: var(--texto-3); }
.tabela code { font-size: 12px; }
.tabela__inativo { opacity: .6; }
.tabela__link { display: inline-flex; align-items: center; gap: 6px; border: 1px dashed #c9ccd3; background: none; border-radius: 4px; padding: 3px 8px; color: var(--texto-2); }
.tabela__link:hover { border-color: var(--grafite); color: var(--texto); }
.tabela__link .ic { width: 14px; height: 14px; }
.tabela__link.is-copiado { border-color: var(--verde); color: var(--verde); }
.txt-preco { color: var(--preco); }

/* ===== Responsivo páginas ===== */
/* colunas únicas usam minmax(0, 1fr): com "1fr" um conteúdo largo (botão, paginação, tabela) alarga a trilha e a página rola para o lado */
@media (max-width: 1080px) {
  .oferta { grid-template-columns: minmax(0, 1fr); }
  .oferta__destaque::after { height: 40px; }
  .colunas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .colunas > :last-child { display: none; }
  .checkout { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (max-width: 860px) {
  .hero { min-height: 0; --pad: 22px; }
  .hero__slide { grid-template-columns: minmax(0, 1fr); grid-template-rows: 260px auto; }
  .hero__foto { grid-row: 1; clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
  .hero__foto::before { left: 50%; top: 44%; width: 200px; }
  .hero__foto::after { left: 50%; bottom: 17%; width: 62%; height: 30px; }
  .hero__foto img { top: 6%; bottom: auto; left: 12%; right: 12%; width: 76%; height: 72%; }
  .hero__selo { top: 14px; right: 14px; width: 78px; height: 78px; }
  .hero__selo b { font-size: 22px; }
  .hero__texto { padding: 8px var(--pad) 84px; gap: 12px; }
  .hero__controles { left: var(--pad); right: var(--pad); width: auto; bottom: 22px; }
  .faixa-cats__seta { display: none; }
  .faixa-cats__trilho { grid-auto-columns: 132px; }
  .oferta__itens { grid-template-columns: minmax(0, 1fr); }
  .colunas { grid-template-columns: minmax(0, 1fr); }
  .colunas > :last-child { display: flex; }
  .passos__lista { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .passos__lista li { border-left: 0; padding: 0; }
  .catalogo { grid-template-columns: minmax(0, 1fr); }
  .filtros { position: static; }
  .produto { grid-template-columns: minmax(0, 1fr); }
  .checkout { grid-template-columns: minmax(0, 1fr); }
  .resumo { position: static; }
  .pedido-ok__grade { grid-template-columns: minmax(0, 1fr); }
  .totais { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .grade--catalogo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__slide { grid-template-rows: 230px auto; }
  .hero__ref { display: none; }
  .hero__acoes { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
  .hero__acoes .btn { width: 100%; justify-content: center; }
  .hero__acoes form { display: contents; }
  .hero__contador { display: none; }
  .oferta { padding: 14px; gap: 16px; }
  .oferta-item { grid-template-columns: 108px minmax(0, 1fr); gap: 12px; }
  .regua__linha { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .campos, .opcoes-pagto, .produto__fatos, .produto__acoes { grid-template-columns: minmax(0, 1fr); }
  .item { grid-template-columns: 60px minmax(0, 1fr) auto; gap: 10px; }
  .item__foto { width: 60px; height: 60px; }
  .item__preco { grid-column: 2; grid-row: 2; font-size: 14px; }
  .item__remover { grid-column: 3; grid-row: 1 / 3; }
  .coluna__corpo { grid-template-columns: minmax(0, 1fr) 56px; }
  .coluna__thumb { width: 56px; height: 56px; }
  .opcao-pagto__caixa small { font-size: 12px; }
  .lightbox__palco { padding-bottom: 66px; }
  .lightbox__figura img { max-height: calc(100dvh - 260px); }
  .lightbox__seta { top: auto; bottom: 8px; translate: 0 0; width: 46px; height: 46px; }
  .lightbox__seta--ant { left: calc(50% - 58px); }
  .lightbox__seta--prox { right: calc(50% - 58px); }
}
@media (max-width: 400px) {
  .oferta-item { grid-template-columns: 84px minmax(0, 1fr); }
}

/* ===== Fotos ilustrativas (produto sobre fundo branco): nunca recortar ===== */
.card__foto, .coluna__foto, .oferta-item__foto, .galeria__palco, .item__foto, .cat-tile__img { background: #fff; }
.card__foto img, .coluna__foto img, .oferta-item__foto img, .item__foto img { object-fit: contain; padding: 8%; }
.galeria__principal img { object-fit: contain; padding: 6%; }
.galeria__palco { border: 1px solid var(--linha); }
.cat-tile__img { border: 1px solid var(--linha); }
.cat-tile__img img { object-fit: contain; padding: 12%; }
.galeria__thumb img, .coluna__thumb img, .lightbox__thumbs img { object-fit: contain; background: #fff; }
.card__foto::after, .coluna__foto::after, .oferta-item__foto::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -1px 0 var(--linha); pointer-events: none; }
.coluna__foto, .oferta-item__foto { position: relative; }
.card:hover .card__foto img { transform: scale(1.03); }

/* ===== Estoque e quantidade ===== */
.estoque { font-size: 12px; font-weight: 500; color: var(--verde); }
.estoque--ultima { color: #8a6600; }
.card__sem-foto { position: absolute; inset: 0; display: grid; place-items: center; color: #b3b6bd; }
.card__sem-foto .ic { width: 44px; height: 44px; stroke-width: 1.4; }
.qtd { display: flex; align-items: center; gap: 8px; }
.qtd__campo { width: 64px; min-height: 38px; padding: 0 8px; border: 1.5px solid var(--linha); border-radius: var(--raio); background: #fff; font-size: 15px; font-weight: 600; text-align: center; font-variant-numeric: tabular-nums; }
.qtd__campo:focus { outline: none; border-color: var(--grafite); box-shadow: 0 0 0 3px rgb(255 199 0 / .55); }
.qtd__max { font-size: 12px; color: var(--texto-3); white-space: nowrap; }
.item--qtd { grid-template-columns: 72px minmax(0, 1fr) auto auto auto; }
.qtd--produto { grid-column: 1 / -1; flex-wrap: wrap; gap: 8px 12px; }
.qtd--produto label { font-size: 13px; font-weight: 600; }
.qtd__stepper { display: inline-flex; border: 1.5px solid var(--linha); border-radius: var(--raio); overflow: hidden; background: #fff; }
.qtd__stepper:focus-within { border-color: var(--grafite); box-shadow: 0 0 0 3px rgb(255 199 0 / .55); }
.qtd__stepper .qtd__campo { border: 0; border-radius: 0; box-shadow: none; min-height: 42px; }
.qtd__passo { width: 42px; border: 0; background: var(--fundo); font-size: 20px; line-height: 1; color: var(--texto); transition: background .2s; }
.qtd__passo:hover { background: var(--amarelo); }
.produto__na-sacola { grid-column: 1 / -1; white-space: normal; text-align: center; }
@media (max-width: 560px) {
  .item--qtd { grid-template-columns: 60px minmax(0, 1fr) auto; }
  .item--qtd .qtd { grid-column: 2; grid-row: 2; }
  .item--qtd .item__preco { grid-column: 2; grid-row: 3; justify-items: start; }
  .item--qtd .item__remover { grid-column: 3; grid-row: 1 / 4; }
}

/* ---------- Chat do pedido ---------- */
.chat { padding: clamp(18px, 3vw, 28px); display: grid; gap: 14px; scroll-margin-top: 16px; }
.chat__topo { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.chat__topo .checkout__titulo { display: flex; align-items: center; gap: 8px; margin: 0; }
.chat__estado { font-size: 12px; color: var(--texto-3); min-height: 1em; }
.chat__lista { list-style: none; margin: 0; padding: 14px; display: grid; gap: 10px; max-height: 420px; overflow-y: auto; background: var(--fundo); border-radius: var(--raio-lg); scroll-behavior: smooth; }
.chat__msg { max-width: min(78%, 560px); padding: 10px 14px; border-radius: 14px; background: #fff; box-shadow: var(--sombra); display: grid; gap: 2px; animation: aviso-entra .4s var(--ease); }
.chat__msg--eu { justify-self: end; background: var(--amarelo-claro); border-bottom-right-radius: 4px; }
.chat__msg--outro { justify-self: start; border-bottom-left-radius: 4px; }
.chat__autor { font-size: 12px; font-weight: 600; color: var(--texto-2); }
.chat__texto { margin: 0; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.chat__hora { font-size: 11px; color: var(--texto-3); justify-self: end; }
.chat__vazio { color: var(--texto-3); font-size: 14px; text-align: center; padding: 18px 8px; }
.chat__form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.chat__form textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid var(--linha); border-radius: var(--raio); font: inherit; font-size: 14px; resize: vertical; }
.chat__form textarea:focus { outline: none; border-color: var(--grafite); box-shadow: 0 0 0 3px rgb(255 199 0 / .55); }
.chat__form .btn { min-height: 48px; }
@media (max-width: 480px) { .chat__form { grid-template-columns: 1fr; } .chat__msg { max-width: 92%; } }

/* ---------- Acompanhar pedido ---------- */
.acompanhar { max-width: 520px; margin-inline: auto; }
.acompanhar__form { display: grid; gap: 16px; }

/* ---------- Painel de solicitações ---------- */
.totais a.totais__item { color: inherit; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s; }
.totais a.totais__item:hover { transform: translateY(-2px); box-shadow: var(--sombra-alta); }
/* todas as situações numa linha só: cartões compactos, rótulo em cima e número embaixo */
.totais--linha { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.totais--linha .totais__item { padding: 12px 14px; align-content: space-between; }
.totais--linha .totais__item span { font-size: 12px; line-height: 1.3; }
.totais--linha .totais__item strong { font-size: 22px; }
@media (max-width: 1180px) and (min-width: 861px) {
  .totais--linha { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.filtro { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filtro__q { min-height: 34px; padding: 0 12px; border: 1.5px solid var(--linha); border-radius: var(--raio); font: inherit; font-size: 13px; min-width: 220px; }
.filtro__q:focus { outline: none; border-color: var(--grafite); box-shadow: 0 0 0 3px rgb(255 199 0 / .55); }
.tabela__nova td { background: var(--amarelo-claro); }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--fundo); color: var(--texto-2); white-space: nowrap; }
.pill--novo { background: var(--amarelo-claro); color: #6b5100; }
.pill--pago { background: var(--verde-claro); color: var(--verde); }
.pill--entregue { background: #e6eefc; color: #1e4fa3; }
.pill--cancelado { background: #fde8e7; color: #9d1a14; }
.paginacao { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; padding: 16px; font-size: 13px; color: var(--texto-3); }
.solicitacao { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; margin-top: 8px; }
.solicitacao > * { min-width: 0; }
.solicitacao__dados { padding: clamp(18px, 3vw, 28px); display: grid; gap: 18px; }
.solicitacao__acoes { display: flex; gap: 8px; flex-wrap: wrap; }
.solicitacao__acoes form { display: contents; }
.topbar__badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 4px; border-radius: 999px; background: var(--amarelo); color: var(--grafite); font-size: 11px; font-weight: 700; line-height: 1; }
@media (max-width: 860px) {
  .solicitacao { grid-template-columns: minmax(0, 1fr); }
  /* as situações só têm rótulo e número: cabem em duas colunas e a lista aparece sem rolar tanto */
  .totais:has(> a.totais__item) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .totais a.totais__item { padding: 12px 14px; }
}
@media (max-width: 640px) {
  .filtro { flex: 1 1 100%; min-width: 0; }
  /* max-width em % zera a largura mínima de campos: um <select> não mede mais pela opção mais longa */
  .filtro > * { flex: 1 1 140px; min-width: 0; max-width: 100%; }
  .filtro > input.filtro__q { flex-basis: 100%; }
  .filtro > .btn { flex: 0 0 auto; }
}


/* ---------- Conta: entrar, cadastro, menu do usuário ---------- */
.cabecalho__acoes { display: flex; align-items: center; gap: 10px; justify-self: end; }
.conta { position: relative; }
.conta__btn { border: 0; font: inherit; cursor: pointer; }
.conta__menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 200px; margin: 0; padding: 6px; list-style: none; background: #fff; border-radius: var(--raio-lg); box-shadow: var(--sombra-alta); }
.conta__menu a, .conta__menu button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 9px 12px; border: 0; background: none; border-radius: var(--raio); font: inherit; font-size: 14px; color: var(--texto); text-align: left; cursor: pointer; }
.conta__menu a:hover, .conta__menu button:hover { background: var(--amarelo-claro); }
.conta__menu form { margin: 0; }
.conta__menu li + li:last-child { border-top: 1px solid var(--linha); margin-top: 4px; padding-top: 4px; }
.auth { max-width: 460px; margin: 28px auto 0; padding: clamp(20px, 3vw, 36px); display: grid; gap: 18px; }
.auth h1 { font-size: clamp(22px, 3vw, 28px); letter-spacing: -.02em; }
.auth__form { display: grid; gap: 14px; }
.auth__form .campo input { width: 100%; min-height: 44px; padding: 0 12px; border: 1.5px solid var(--linha); border-radius: var(--raio); font: inherit; font-size: 15px; }
.auth__form .campo input:focus { outline: none; border-color: var(--grafite); box-shadow: 0 0 0 3px rgb(255 199 0 / .55); }
.auth__form .campo--erro input { border-color: var(--preco); }
.auth__troca { font-size: 14px; color: var(--texto-2); text-align: center; }
.auth__troca a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.auth__equipe { font-size: 13px; color: var(--texto-3); text-align: center; }
.pedidos-lista { display: grid; gap: 12px; }
.pedido-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px 18px; align-items: center; padding: 16px 18px; }
.pedido-card__cod { font-weight: 700; font-variant-numeric: tabular-nums; }
.pedido-card__itens { margin: 2px 0 0; font-size: 13px; color: var(--texto-2); }
.pedido-card__dir { display: grid; gap: 6px; justify-items: end; text-align: right; }
@media (max-width: 640px) {
  .cabecalho__acoes { gap: 6px; position: relative; }
  /* menus do chat e da conta se alinham à borda direita do grupo de botões e nunca saem da tela */
  .cabecalho__acoes .conta { position: static; }
  .cabecalho__acoes .conta__menu { width: min(320px, calc(100vw - 2 * var(--gutter))); min-width: 0; max-width: none; }
  .pedido-card { grid-template-columns: minmax(0, 1fr); }
  .pedido-card__dir { justify-items: start; text-align: left; }
}


/* ---------- Painel de controle ---------- */
/* Painel: menu colado na borda esquerda, da altura da tela; o conteúdo ocupa o resto */
.painel-layout { display: grid; grid-template-columns: 252px minmax(0, 1fr); align-items: stretch; min-height: calc(100vh - 120px); }
.painel-lateral { background: var(--grafite-2); border-right: 1px solid rgb(255 255 255 / .06); }
.painel-nav { position: sticky; top: 0; max-height: 100vh; overflow-y: auto; overscroll-behavior: contain; display: grid; align-content: start; gap: 2px; padding: 20px 14px 28px; color: #fff; scrollbar-width: thin; scrollbar-color: var(--grafite-3) transparent; }
.painel-nav::-webkit-scrollbar { width: 6px; }
.painel-nav::-webkit-scrollbar-thumb { background: var(--grafite-3); border-radius: 99px; }
.painel-nav__titulo { font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: #8d919c; padding: 18px 12px 6px; margin: 0; }
.painel-nav__titulo:first-child { padding-top: 4px; }
.painel-nav a { position: relative; display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 8px 12px; border-radius: var(--raio); color: #d7d9df; font-size: 14px; font-weight: 500; text-decoration: none; transition: background .18s var(--ease), color .18s var(--ease); }
.painel-nav a .ic { width: 18px; height: 18px; flex: none; color: #8d919c; transition: color .18s var(--ease); }
.painel-nav a:hover { background: var(--grafite-3); color: #fff; }
.painel-nav a:hover .ic { color: var(--amarelo); }
.painel-nav a[aria-current] { background: var(--amarelo); color: var(--grafite); font-weight: 600; box-shadow: 0 2px 8px rgb(255 199 0 / .18); }
.painel-nav a[aria-current] .ic { color: var(--grafite); }
.painel-nav a .topbar__badge { margin-left: auto; }
.painel-nav a[aria-current] .topbar__badge { background: var(--grafite); color: var(--amarelo); }
.painel-nav a:focus-visible { outline-offset: -2px; box-shadow: none; }
/* o conteúdo ocupa a mesma faixa do cabeçalho do site (.wrap centralizado na página toda), nas duas bordas.
   Página = coluna do conteúdo + 252px do menu; o % do padding é da coluna:
   direita = ((col + 252) - wrap) / 2 + gutter; esquerda = a mesma margem menos os 252px do menu.
   Em tela estreita (o menu já ocupa a margem), fica a folga mínima. */
.painel-main { min-width: 0; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 20px;
  padding: 24px max(clamp(16px, 3vw, 40px), calc(50% - (var(--wrap) - 252px) / 2 + var(--gutter))) 40px
           max(clamp(16px, 3vw, 40px), calc(50% - (var(--wrap) + 252px) / 2 + var(--gutter))); }
.painel-avisos { padding-block: 0; }
main:has(> .painel-layout) + .rodape { margin-top: 0; } /* o menu escuro encosta no rodapé, sem faixa clara entre os dois */
.painel-main .cabeca-pagina { margin-bottom: 0; }
.painel-main .totais { margin-bottom: 0; }
.cabeca-pagina__acoes { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.kpi { display: grid; gap: 2px; padding: 16px 18px; border-radius: var(--raio-lg); background: #fff; box-shadow: var(--sombra); color: inherit; }
.kpi span { font-size: 12px; font-weight: 600; color: var(--texto-2); text-transform: uppercase; letter-spacing: .04em; }
.kpi strong { font-size: 24px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi small { font-size: 12px; color: var(--texto-3); }
.kpi--alerta { border-left: 4px solid var(--preco); }
.kpi--ok { border-left: 4px solid var(--verde); }
.kpi--destaque { background: var(--grafite); color: #fff; }
.kpi--destaque span, .kpi--destaque small { color: var(--grafite-txt); }
.kpi--destaque strong { color: var(--amarelo); }
a.kpi:hover { box-shadow: var(--sombra-alta); }
.grade-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grade-2 > * { min-width: 0; margin-bottom: 0; }
.barras { display: grid; gap: 8px; }
.barras__linha { display: grid; grid-template-columns: minmax(80px, 160px) minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 13px; }
.barras__rotulo { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.barras__barra { height: 12px; border-radius: 99px; background: var(--fundo); overflow: hidden; }
.barras__barra i { display: block; height: 100%; width: var(--w, 0%); background: var(--amarelo); border-radius: 99px; }
.barras__barra--verde i { background: var(--verde); }
.barras__valor { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.dias { display: flex; align-items: flex-end; gap: 4px; height: 140px; padding-top: 8px; }
.dias__dia { flex: 1; display: grid; align-content: end; gap: 4px; height: 100%; text-align: center; }
.dias__barra { display: block; align-self: end; width: 100%; height: var(--h, 0%); min-height: 2px; background: var(--amarelo); border-radius: 4px 4px 0 0; }
.dias__dia small { font-size: 10px; color: var(--texto-3); }
.dias__dia:hover .dias__barra { background: var(--amarelo-2); }
.estoque-num { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-variant-numeric: tabular-nums; }
.estoque-num--zero { color: var(--preco); }
.estoque-num--baixo { color: #8a6600; }
.tabela__acoes { display: flex; gap: 6px; flex-wrap: nowrap; }
.tabela__acoes form { display: contents; }
.tabela__foto { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; background: var(--fundo); display: block; }
.tabela__nao-publicado td { opacity: .6; }
.form-painel { padding: clamp(18px, 3vw, 28px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.form-painel fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.form-painel > form { grid-template-columns: minmax(0, 1fr); }
.form-painel legend { font-size: 15px; font-weight: 700; margin-bottom: 8px; padding: 0; }
.form-painel .campos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.form-painel input[type="file"] { max-width: 100%; overflow: hidden; }
.form-painel .campo--largo { grid-column: 1 / -1; }
.form-painel .campo input:not([type="checkbox"]):not([type="file"]), .form-painel .campo select, .form-painel .campo textarea { width: 100%; min-height: 42px; padding: 8px 12px; border: 1.5px solid var(--linha); border-radius: var(--raio); font: inherit; font-size: 14px; background: #fff; }
.form-painel .campo textarea { min-height: 80px; resize: vertical; }
.form-painel .campo input:focus, .form-painel .campo select:focus, .form-painel .campo textarea:focus { outline: none; border-color: var(--grafite); box-shadow: 0 0 0 3px rgb(255 199 0 / .55); }
.form-painel .campo input[disabled] { background: var(--fundo); color: var(--texto-2); }
.form-painel .campo--check { display: flex; align-items: center; gap: 8px; }
.form-painel .campo--check input { width: 18px; height: 18px; accent-color: var(--grafite); }
.form-painel .campo--check label { font-weight: 500; }
.form-painel__acoes { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; border-top: 1px solid var(--linha); padding-top: 18px; }
.form-painel__acoes .btn--perigo { margin-left: auto; }
.btn--perigo { background: #fde8e7; color: #9d1a14; }
.btn--perigo:hover { background: var(--preco); color: #fff; }
.spec-linhas { display: grid; gap: 8px; }
.spec-linha { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) 70px auto; gap: 8px; align-items: center; }
.spec-linha input { min-height: 40px !important; }
.spec-linha input:not([type="checkbox"]) { width: 100%; min-width: 0; }
.spec-linha .campo--check { justify-content: center; }
.fotos-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.foto-card { display: grid; gap: 6px; }
.foto-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--raio); box-shadow: var(--sombra); }
.foto-card small { font-size: 11px; color: var(--texto-3); }
.foto-card .btn { justify-self: start; }
.ajuste-form { display: grid; gap: 12px; }
.ajuste-form .radios { display: flex; gap: 12px; flex-wrap: wrap; }
.ajuste-form .radios label { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.ajuste-form input[type="number"], .ajuste-form input[type="text"] { min-height: 40px; padding: 0 10px; border: 1.5px solid var(--linha); border-radius: var(--raio); font: inherit; width: 100%; }
.mov-qtd { font-weight: 700; font-variant-numeric: tabular-nums; }
.mov-qtd--pos { color: var(--verde); }
.mov-qtd--neg { color: var(--preco); }
.aviso-bloco { padding: 14px 16px; border-radius: var(--raio-lg); background: var(--amarelo-claro); color: #6b5100; font-size: 14px; }
.aviso-bloco--perigo { background: #fde8e7; color: #9d1a14; }
@media (max-width: 900px) {
  .painel-layout { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  /* o menu lateral vira uma faixa que rola para o lado, sem os títulos de grupo, e o conteúdo aparece logo */
  .painel-lateral { border-right: 0; }
  .painel-nav { position: static; max-height: none; display: flex; gap: 4px; padding: 8px var(--gutter); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
  .painel-nav::-webkit-scrollbar { display: none; }
  .painel-nav__titulo { display: none; }
  .painel-nav a { flex: none; white-space: nowrap; min-height: 38px; }
  .painel-main { padding: 20px var(--gutter) 32px; }
  .grade-2 { grid-template-columns: minmax(0, 1fr); }
  .spec-linha { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* ---------- Sino de notificações do chat ---------- */
.sino__menu { min-width: 300px; max-width: min(360px, 90vw); }
.sino__vazio { padding: 10px 12px; font-size: 13px; color: var(--texto-3); }
.sino__item { display: grid; gap: 2px; padding: 9px 12px; border-radius: var(--raio); text-decoration: none; color: var(--texto); }
.sino__item:hover { background: var(--amarelo-claro); }
.sino__item strong { font-size: 13px; }
.sino__item span { font-size: 12px; color: var(--texto-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sino__item small { font-size: 11px; color: var(--texto-3); }
.sino__pisca .sacola-btn__ic { animation: sino-pisca 1s ease 3; }
@keyframes sino-pisca { 0%, 100% { transform: none; } 30% { transform: rotate(-12deg) scale(1.15); } 60% { transform: rotate(12deg) scale(1.15); } }
.toast { position: fixed; right: 16px; bottom: 16px; z-index: 200; display: grid; gap: 8px; max-width: min(360px, calc(100vw - 32px)); }
.toast__item { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--raio-lg); background: var(--grafite); color: #fff; box-shadow: var(--sombra-alta); text-decoration: none; animation: aviso-entra .4s var(--ease); }
.toast__item strong { color: var(--amarelo); font-size: 13px; }
.toast__item span { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toast__item:hover { background: var(--grafite-2); color: #fff; }

/* ---------- Compartilhar anúncio ---------- */
.compartilhar { display: grid; gap: 8px; padding: 14px 16px; border-radius: var(--raio-lg); background: var(--fundo); }
.compartilhar__rotulo { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.compartilhar__rotulo small { font-weight: 500; color: var(--texto-3); }
.compartilhar__botoes { display: flex; gap: 8px; flex-wrap: wrap; }
.compartilhar__botoes .btn.is-copiado { background: var(--verde-claro); color: var(--verde); border-color: var(--verde); }


/* ---------- Etapas do pedido ---------- */
.etapas { display: grid; gap: 12px; padding: 16px 18px; border-radius: var(--raio-lg); background: var(--fundo); }
.etapas__topo { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.etapas__topo .checkout__titulo { margin: 0; }
.etapas__barra { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; position: relative; }
.etapas__barra::before { content: ""; position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: 14px; height: 3px; background: var(--linha); z-index: 0; }
.etapas__item { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; text-align: center; font-size: 11px; line-height: 1.2; color: var(--texto-3); }
.etapas__ponto { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--linha); font-weight: 700; font-size: 12px; }
.etapas__ponto .ic { width: 16px; height: 16px; }
.etapas__item--concluida .etapas__ponto { background: var(--verde); border-color: var(--verde); color: #fff; }
.etapas__item--concluida { color: var(--texto-2); }
.etapas__item--atual .etapas__ponto { background: var(--amarelo); border-color: var(--amarelo); color: var(--grafite); box-shadow: 0 0 0 4px rgb(255 199 0 / .35); }
.etapas__item--atual { color: var(--texto); font-weight: 600; }
.etapas__descricao { margin: 0; font-size: 14px; color: var(--texto-2); }
.etapas__historico summary { cursor: pointer; font-size: 13px; font-weight: 600; }
.etapas__historico ul { list-style: none; margin: 8px 0 0; padding: 0 0 0 10px; border-left: 2px solid var(--linha); display: grid; gap: 6px; font-size: 13px; }
.etapas__historico time { color: var(--texto-3); font-variant-numeric: tabular-nums; margin-right: 6px; }
.etapas__historico small { color: var(--texto-3); }
.etapas__form { display: grid; gap: 12px; padding-top: 6px; }
.etapas__opcoes { display: flex; flex-wrap: wrap; gap: 8px; }
.etapas__opcao { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1.5px solid var(--linha); border-radius: 999px; font-size: 13px; font-weight: 500; cursor: pointer; background: #fff; }
.etapas__opcao:has(input:checked) { border-color: var(--grafite); background: var(--amarelo-claro); }
.etapas__opcao--cancelar { color: #9d1a14; }
.comprovante { display: grid; gap: 10px; padding: 16px 18px; border-radius: var(--raio-lg); background: var(--fundo); }
.comprovante .checkout__titulo { display: flex; align-items: center; gap: 8px; }
.comprovante__ok { margin: 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 14px; color: var(--verde); font-weight: 500; }
.comprovante__form { display: grid; gap: 8px; }
.comprovante__linha { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.comprovante__linha input[type="file"] { flex: 1 1 240px; min-width: 0; font-size: 14px; }
.pill .ic { width: 12px; height: 12px; vertical-align: -2px; }
.etapas__opcao--cancelar:has(input:checked) { background: #fde8e7; border-color: var(--preco); }
.etapas__form textarea { width: 100%; min-height: 56px; padding: 8px 12px; border: 1.5px solid var(--linha); border-radius: var(--raio); font: inherit; font-size: 14px; }
.pill--negociacao { background: #e6eefc; color: #1e4fa3; }
.pill--aguardando { background: var(--amarelo-claro); color: #6b5100; }
.pill--pronto { background: #e3f4ec; color: #0f7b52; }
.pill--pendente { background: var(--amarelo-claro); color: #6b5100; }
.pill--aceita { background: var(--verde-claro); color: var(--verde); }
.pill--recusada { background: #fde8e7; color: #9d1a14; }
.produto__revisao { color: var(--grafite); }
.produto__revisao:hover { color: var(--grafite-2); }
.revisoes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.revisao__responder { display: grid; gap: 6px; min-width: 220px; }
.revisao__responder input { width: 100%; min-height: 36px; padding: 6px 10px; border: 1.5px solid var(--linha); border-radius: var(--raio); font-size: 13px; }
.quebra { word-break: break-all; }
@media (max-width: 640px) { .etapas__barra { grid-template-columns: repeat(3, 1fr); row-gap: 14px; } .etapas__barra::before { display: none; } }

/* ---------- Tabela de estoque compacta (cabe no painel sem rolagem) ---------- */
.tabela--estoque { min-width: 0; table-layout: auto; }
.tabela--estoque th { white-space: normal; padding: 10px 8px; }
.tabela--estoque td { padding: 10px 8px; }
.tabela .nowrap { white-space: nowrap; }
.produto-cel { display: flex; align-items: center; gap: 10px; min-width: 200px; }
.produto-cel .tabela__foto { flex: none; }
.produto-cel__txt { display: grid; gap: 2px; min-width: 0; }
.produto-cel__txt small { color: var(--texto-3); font-size: 12px; }
.tabela--estoque .qtd__campo { width: 52px; min-height: 34px; }
.tabela--estoque .tabela__acoes { gap: 4px; }
@media (max-width: 1100px) { .tabela--estoque .status { font-size: 12px; } }

/* ---------- Tabelas do painel no celular: cada linha vira um cartão (rótulo à esquerda, valor à direita) ----------
   Cada <td> leva data-rotulo; .tabela__principal abre o cartão sem rótulo e .tabela__bloco põe o rótulo em cima. */
@media (max-width: 640px) {
  .tabela--cartoes { min-width: 0; }
  .tabela--cartoes thead { display: none; }
  .tabela--cartoes, .tabela--cartoes tbody, .tabela--cartoes tr { display: block; }
  .tabela--cartoes tr { padding: 12px 0; border-bottom: 1px solid var(--linha); }
  .tabela--cartoes tbody tr:hover { background: none; }
  .tabela--cartoes td { display: flow-root; padding: 3px 0; border: 0; text-align: right; }
  .tabela--cartoes td[data-rotulo]::before { content: attr(data-rotulo); float: left; margin-right: 12px; font-size: 12px; font-weight: 600; line-height: 22px; color: var(--texto-2); text-transform: uppercase; letter-spacing: .04em; }
  .tabela--cartoes td.tabela__principal { text-align: left; padding-bottom: 8px; }
  .tabela--cartoes td.tabela__bloco { text-align: left; }
  .tabela--cartoes td.tabela__bloco::before { float: none; display: block; }
  .tabela--cartoes .tabela__acoes { justify-content: flex-end; }
  .tabela--cartoes .tabela__nova { padding-inline: 10px; border-radius: var(--raio); background: var(--amarelo-claro); }
  .tabela--cartoes .tabela__nova td { background: none; }
}

/* ---------- Aprovar / desaprovar venda (equipe) ---------- */
.aprovacao { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 12px 0; padding: 12px 16px; border-radius: var(--raio-lg); background: var(--verde-claro); color: var(--verde); font-size: 14px; }
.aprovacao--inativo { background: #e9eaee; color: var(--texto-2); }
.aprovacao__txt { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 240px; }
.aprovacao form { margin: 0; }
.produto--inativo { filter: grayscale(1); opacity: .75; }
.card--inativo { filter: grayscale(1); opacity: .65; }
.card__status--inativo { background: var(--grafite); color: #fff; }

.saida-comando { max-height: 420px; overflow: auto; padding: 12px; border-radius: var(--raio); background: var(--grafite); color: #e9eaee; font-size: 12px; line-height: 1.5; white-space: pre-wrap; }

/* ---------- Referências de preço (equipe) ---------- */
.referencias { margin: 12px 0; padding: 16px 18px; display: grid; gap: 12px; border-left: 4px solid var(--amarelo); }
.referencias__topo { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.referencias__topo .checkout__titulo { margin: 0; display: flex; align-items: center; gap: 6px; }
.referencias__grade { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.referencias__item { display: grid; gap: 2px; padding: 10px 12px; border-radius: var(--raio); background: var(--fundo); }
.referencias__item span { font-size: 12px; font-weight: 600; color: var(--texto-2); text-transform: uppercase; letter-spacing: .04em; }
.referencias__item strong { font-size: 18px; }
.referencias__item--nosso { background: var(--amarelo-claro); }
.referencias__item--nosso strong { color: var(--preco); }
.referencias__faixa { font-size: 13px !important; font-weight: 500; }
.referencias__rotulo { min-width: 150px; font-weight: 600; color: var(--texto-2); }

/* ---------- Subcategorias ---------- */
.filtros__tipos { margin-left: 4px; padding-left: 10px; border-left: 2px solid var(--linha); }
.filtros__tipos small { color: var(--texto-3); }
.cats__sub { list-style: none; margin: 0; padding: 0 0 6px 18px; display: grid; gap: 2px; }
.cats__sub a { font-size: 13px; color: var(--texto-2); padding: 3px 0; }
.cats__sub a:hover { color: var(--texto); }
.cat-sub { color: var(--texto-3); font-size: 13px; }

.referencias__item small { font-size: 12px; color: var(--texto-3); font-weight: 500; }


.referencias__consultas { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 8px 0 0; font-size: 13px; }
.referencias__consultas .chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border: 1px solid var(--linha); border-radius: 999px; background: #fff; color: var(--texto); text-decoration: none; }
.referencias__consultas .chip:hover { border-color: var(--amarelo); background: var(--amarelo-claro); }
.referencias__consultas .chip svg { width: 12px; height: 12px; }

.aviso-inline { color: var(--perigo, #b42318); }

/* ===== Privacidade (LGPD): coluna de leitura larga, rótulos em coluna fixa ===== */
.privacidade { display: grid; gap: 18px; padding-block: 28px 36px; }
.privacidade .cabeca-pagina { margin-bottom: 2px; }
.privacidade .painel { padding: clamp(20px, 3vw, 30px); }
.privacidade h2 { font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.privacidade p { color: #33363d; line-height: 1.65; }
.privacidade p + p, .privacidade dl + p { margin-top: 12px; }
.privacidade__itens { display: grid; margin: 0; }
.privacidade__itens div { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 2px 20px; align-items: start; padding: 10px 0; border-top: 1px solid var(--linha); }
.privacidade__itens div:first-child { border-top: 0; padding-top: 0; }
.privacidade__itens dt { font-weight: 600; color: var(--texto); }
.privacidade__itens dd { margin: 0; color: #33363d; line-height: 1.65; }
.privacidade__data { margin-top: 14px; font-size: 12px; color: var(--texto-3); }
@media (max-width: 640px) { .privacidade__itens div { grid-template-columns: 1fr; } }

.produto__comparativo { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 6px 0 0; font-size: 13px; color: var(--texto-2); }
.produto__comparativo > span { margin-right: 4px; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border: 1px solid var(--linha); border-radius: 999px; background: #fff; color: var(--texto); text-decoration: none; font-size: 13px; }
.chip:hover { border-color: var(--amarelo); background: var(--amarelo-claro); }
.chip svg, .chip .ic { width: 12px; height: 12px; }
.chip strong { color: var(--preco); }


/* ===== Páginas de aviso simples (bloqueio por tentativas etc.): respiro abaixo do menu ===== */
.pagina-aviso { display: grid; gap: 16px; max-width: 720px; padding-block: 28px 36px; }
.pagina-aviso .cabeca-pagina { margin-bottom: 0; }
.pagina-aviso p { color: #33363d; line-height: 1.65; }



/* ---------- Preços do anúncio (administrador): novo, usado e sugerido ---------- */
.precos-ref { display: grid; gap: 8px; padding: 12px 14px; border-radius: var(--raio); background: var(--amarelo-claro); font-size: 13px; }
.precos-ref__titulo { margin: 0; } .precos-ref__titulo small { color: var(--texto-2); }
.precos-ref__linha { display: grid; grid-template-columns: 190px 130px minmax(0, 1fr) 28px; gap: 8px; align-items: center; }
.precos-ref__linha label { font-weight: 600; } .precos-ref__linha label em { font-weight: 500; font-style: normal; color: var(--texto-3); }
.precos-ref input { min-height: 34px; padding: 0 10px; border: 1.5px solid var(--linha); border-radius: var(--raio); font: inherit; font-size: 13px; width: 100%; background: #fff; }
.precos-ref__linha--sugerido input { font-weight: 700; color: var(--preco); background: var(--fundo); }
.precos-ref__linha--sugerido small { grid-column: 3 / -1; color: var(--texto-2); }
.precos-ref__abrir { display: inline-flex; align-items: center; justify-content: center; color: var(--texto-2); } .precos-ref__abrir .ic, .precos-ref__abrir svg { width: 14px; height: 14px; }
.precos-ref__acoes { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .precos-ref__acoes small { color: var(--texto-2); }
@media (max-width: 720px) { .precos-ref__linha { grid-template-columns: 1fr; } .precos-ref__linha--sugerido small { grid-column: auto; } .precos-ref__abrir { justify-content: flex-start; } }

.precos-ref__cadastro { margin: -2px 0 2px 198px; } .precos-ref__cadastro small { color: var(--texto-2); }
@media (max-width: 720px) { .precos-ref__cadastro { margin-left: 0; } }

/* ---------- Ações em lote (estoque, só administrador) ---------- */
.lote { display: grid; gap: 12px; margin-bottom: 16px; padding: 18px 22px; border-left: 4px solid var(--amarelo); }
.lote__ajuda { margin: 0; font-size: 13px; color: var(--texto-2); }
.lote__form { display: grid; gap: 14px; font-size: 13px; }
.lote__form label { font-weight: 600; white-space: nowrap; }
.lote__form select, .lote__form input { min-height: 36px; padding: 0 10px; border: 1.5px solid var(--linha); border-radius: var(--raio); font: inherit; font-size: 13px; background: #fff; }
.lote__linha { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.lote__linha > select { flex: 1 1 260px; max-width: 420px; min-width: 0; }
.lote__grupo { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lote__grupo small { color: var(--texto-3); }
.lote__grupo .btn { white-space: nowrap; }
.lote__separador { height: 1px; background: var(--linha); }

/* ---------- Códigos de patrimônio no anúncio ---------- */
.codigos { display: grid; gap: 6px; margin: 4px 0 10px; font-size: 13px; }
.codigos__rotulo { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--texto-2); }
.codigos__rotulo .ic, .codigos__rotulo svg { width: 14px; height: 14px; }
.codigos__lista { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.codigos__item { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border: 1px solid var(--linha); border-radius: 999px; background: #fff; }
.codigos__item small { color: var(--texto-3); }
.codigos__cod { font-variant-numeric: tabular-nums; font-weight: 600; }
.codigos__item--vendido { opacity: .65; border-style: dashed; }
.codigos__item--vendido .codigos__cod { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--perigo, #b42318); }
.codigos__item form { display: inline-flex; gap: 4px; margin: 0; }
.codigos__btn { font: inherit; font-size: 11px; padding: 1px 7px; border: 1px solid var(--linha); border-radius: 999px; background: var(--fundo); color: var(--texto-2); cursor: pointer; }
.codigos__btn:hover { border-color: var(--amarelo); color: var(--texto); }
.codigos__btn--desfazer:hover { border-color: var(--perigo, #b42318); }

.precos-ref input.is-inativo { opacity: .5; background: var(--fundo); text-decoration: line-through; }
.precos-ref__linha--proprio label { display: inline-flex; align-items: center; gap: 6px; }
.precos-ref__linha--proprio small { grid-column: 3 / -1; color: var(--texto-2); }

.links-estado { display: inline-block; font-size: 11px; font-weight: 600; padding: 1px 8px; border-radius: 999px; border: 1px solid currentColor; white-space: nowrap; line-height: 1.5; }
.tabela--estoque td[data-rotulo="Situação"] { display: table-cell; }
.tabela--estoque td[data-rotulo="Situação"] > * { vertical-align: middle; }
.tabela--estoque td[data-rotulo="Situação"] .status { white-space: nowrap; margin-right: 8px; }
.tabela--estoque td[data-rotulo="Situação"] { min-width: 250px; }
.filtro__resumo { margin: 10px 0 0; padding: 8px 12px; border-radius: var(--raio); background: var(--amarelo-claro); font-size: 13px; color: var(--texto-2); }
.filtro__resumo strong { color: var(--texto); }
.filtro > select.filtro__q { min-width: 0; flex: 0 1 auto; }
.links-estado--ok { color: #1d7a4f; } .links-estado--parcial { color: #a5620b; } .links-estado--revisado { color: #4f5a6e; border-style: dashed; }
.links-estado--pendente { color: #a8322b; background: #fbdcdc; }

/* ---------- Não disponível para venda (motivo) ---------- */
.indisponivel { display: inline-block; }
.indisponivel summary { list-style: none; cursor: pointer; } .indisponivel summary::-webkit-details-marker { display: none; }
.indisponivel[open] { flex-basis: 100%; }
.indisponivel__form { display: grid; gap: 6px; margin-top: 8px; padding: 10px 12px; border-radius: var(--raio); background: #fff; border: 1px solid var(--linha); font-size: 13px; max-width: 640px; }
.indisponivel__form label { font-weight: 600; }
.indisponivel__form textarea { font: inherit; font-size: 13px; padding: 8px 10px; border: 1.5px solid var(--linha); border-radius: var(--raio); resize: vertical; }
.indisponivel__form .btn { justify-self: start; }
.tabela--estoque .motivo { color: var(--perigo, #b42318); }

/* ---------- Financeiro: pagamento do pedido (Pix com QR Code, pagamentos em partes) ---------- */
.pagamento { display: grid; gap: 14px; padding: 18px 20px; border-radius: var(--raio-lg); background: var(--fundo); }
.pagamento .checkout__titulo { display: flex; align-items: center; gap: 8px; margin: 0; }
.pagamento__subtitulo { margin: 4px 0 0; font-size: 15px; font-weight: 600; }
.pagamento__resumo { display: grid; gap: 10px; }
.pagamento__numeros { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 0; }
.pagamento__numeros div { padding: 10px 12px; border-radius: var(--raio); background: #fff; }
.pagamento__numeros dt { font-size: 12px; font-weight: 600; color: var(--texto-2); }
.pagamento__numeros dd { margin: 2px 0 0; font-size: 18px; }
.pagamento__pago { color: var(--verde); }
.pagamento__barra { height: 8px; border-radius: 99px; background: #fff; overflow: hidden; }
.pagamento__barra span { display: block; height: 100%; border-radius: inherit; background: var(--verde); transition: width .6s var(--ease); }
.pagamento__escolha { display: grid; gap: 6px; }
.pagamento__escolha label { font-weight: 600; font-size: 14px; }
.pagamento__linha { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pagamento__moeda { font-weight: 600; color: var(--texto-2); }
.pagamento__linha input { flex: 0 1 160px; min-width: 0; font-size: 18px; font-weight: 600; padding: 8px 12px; border: 1px solid var(--linha); border-radius: var(--raio); background: #fff; }
.pagamento__linha input[aria-invalid="true"] { border-color: var(--preco); }
.campo__ajuda.is-erro { color: var(--preco); font-weight: 500; }
.pix { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 20px; align-items: start; padding: 16px; border-radius: var(--raio-lg); background: #fff; box-shadow: var(--sombra); }
.pix__qr { margin: 0; display: grid; gap: 6px; justify-items: center; }
.pix__qr svg { width: 100%; max-width: 220px; height: auto; display: block; }
.pix__qr figcaption { font-size: 12px; color: var(--texto-3); text-align: center; }
.pix__dados { display: grid; gap: 8px; min-width: 0; }
.pix__valor { margin: 0; display: grid; }
.pix__valor span { font-size: 12px; font-weight: 600; color: var(--texto-2); }
.pix__valor strong { font-size: 26px; letter-spacing: -.02em; }
.pix__rotulo { font-size: 12px; font-weight: 600; color: var(--texto-2); }
.pix__codigo { width: 100%; resize: none; font: 12px/1.4 ui-monospace, "Cascadia Mono", Consolas, monospace; padding: 8px 10px; border: 1px solid var(--linha); border-radius: var(--raio); background: var(--fundo); color: var(--texto); word-break: break-all; }
.pix__recebedor { display: grid; gap: 4px; margin: 4px 0 0; font-size: 13px; }
.pix__recebedor div { display: flex; gap: 8px; flex-wrap: wrap; }
.pix__recebedor dt { color: var(--texto-3); min-width: 74px; }
.pix__recebedor dd { margin: 0; font-weight: 500; }
.pagamento__informar, .pagamento__registrar form { display: grid; gap: 10px; }
.pagamento__campos { display: grid; grid-template-columns: minmax(0, 180px) minmax(0, 1fr); gap: 12px; }
.pagamento__campo { display: grid; gap: 4px; font-size: 13px; font-weight: 500; color: var(--texto-2); }
.pagamento__campo input { font-size: 14px; min-width: 0; }
.pagamento__campo input:not([type="file"]) { padding: 8px 12px; border: 1px solid var(--linha); border-radius: var(--raio); background: #fff; font-weight: 600; color: var(--texto); }
.pagamento__informar .btn { justify-self: start; }
.pagamento__registrar summary { cursor: pointer; font-size: 14px; font-weight: 600; }
.pagamento__registrar[open] summary { margin-bottom: 10px; }
.pagamentos { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pagamentos__item { display: grid; gap: 6px; padding: 10px 12px; border-radius: var(--raio); background: #fff; }
.pagamentos__linha { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pagamentos__linha small, .pagamentos__quem { color: var(--texto-3); font-size: 12px; }
.pagamentos__link { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; margin-left: auto; }
.pagamentos__motivo { margin: 0; font-size: 13px; color: #9d1a14; }
.pagamentos__acoes { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pagamentos__recusar { display: flex; gap: 6px; flex: 1 1 260px; }
.pagamentos__recusar input { flex: 1; min-width: 0; padding: 6px 10px; border: 1px solid var(--linha); border-radius: var(--raio); font-size: 13px; }
.pill--a_confirmar { background: var(--amarelo-claro); color: #6b5100; }
.pill--confirmado { background: var(--verde-claro); color: var(--verde); }
.pill--recusado { background: #fde8e7; color: #9d1a14; }
.financeiro__abas { margin-bottom: 16px; }
.financeiro__abas a { padding: 6px 14px; font-size: 13px; font-weight: 500; color: var(--texto-2); border-radius: 99px; text-decoration: none; transition: background .2s, color .2s; }
.financeiro__abas a:hover { color: var(--texto); background: #fff; }
.financeiro__abas a.is-ativo { background: var(--grafite); color: #fff; }
.financeiro__meses { display: flex; gap: 6px; }
@media (max-width: 640px) {
  .pix { grid-template-columns: minmax(0, 1fr); }
  .pix__qr svg { max-width: 240px; }
  .pagamento__campos { grid-template-columns: minmax(0, 1fr); }
  .pagamento { padding: 16px; }
}


/* ---------- Política de preço (painel): opções em cartões com o preço do exemplo e o exemplo ao vivo ao lado ---------- */
.politica { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 20px; align-items: start; margin-bottom: 20px; }
.politica > .painel { margin-bottom: 0; }
.politica__form { padding: clamp(18px, 3vw, 28px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
.politica__grupo { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.politica__titulo { font-size: 17px; font-weight: 600; letter-spacing: -.01em; padding: 0; }
.politica__ajuda { margin: -4px 0 4px; font-size: 13px; color: var(--texto-2); max-width: 64ch; }
.politica__rotulo { font-size: 12px; font-weight: 600; color: var(--texto-2); text-transform: uppercase; letter-spacing: .04em; }
.politica__opcoes { display: grid; gap: 8px; }

.politica-opcao { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 16px 12px 14px; border: 1.5px solid var(--linha); border-radius: var(--raio); background: #fff; cursor: pointer; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.politica-opcao:hover { border-color: #c9ccd3; }
.politica-opcao input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.politica-opcao:has(input:focus-visible) { outline: 2px solid var(--grafite); outline-offset: 2px; }
.politica-opcao__marca { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #c9ccd3; display: grid; place-items: center; background: #fff; transition: background-color .2s, border-color .2s; }
.politica-opcao__marca .ic { width: 13px; height: 13px; stroke-width: 3; opacity: 0; transform: scale(.4); transition: opacity .2s, transform .3s var(--ease); }
.politica-opcao__texto { display: grid; gap: 2px; min-width: 0; }
.politica-opcao__nome { font-size: 14px; font-weight: 600; color: var(--texto); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.politica-opcao__texto small { font-size: 12.5px; line-height: 1.45; color: var(--texto-3); }
.politica-opcao__selo { padding: 2px 8px; border-radius: 999px; background: var(--verde-claro); color: var(--verde); font-size: 11px; font-weight: 600; }
.politica-opcao__preco { font-size: 15px; font-weight: 700; color: var(--texto-2); white-space: nowrap; }
.politica-opcao:has(input:checked) { border-color: var(--grafite); background: #fffcf0; box-shadow: 0 0 0 3px rgb(255 199 0 / .45); }
.politica-opcao:has(input:checked) .politica-opcao__marca { background: var(--amarelo); border-color: var(--amarelo); color: var(--grafite); }
.politica-opcao:has(input:checked) .politica-opcao__marca .ic { opacity: 1; transform: none; }
.politica-opcao:has(input:checked) .politica-opcao__preco { color: var(--preco); }

.politica__desconto { display: grid; gap: 8px; justify-items: start; }
.campo-pct { display: inline-flex; align-items: center; height: 48px; width: 150px; padding: 0 14px 0 0; border: 1.5px solid var(--linha); border-radius: var(--raio); background: #fff; transition: border-color .2s, box-shadow .2s; }
.campo-pct:hover { border-color: #c9ccd3; }
.campo-pct:focus-within { border-color: var(--grafite); box-shadow: 0 0 0 3px rgb(255 199 0 / .55); }
.campo-pct--erro { border-color: var(--preco); }
.campo-pct input { flex: 1; min-width: 0; height: 100%; border: 0; padding: 0 4px 0 14px; background: none; font: inherit; font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--texto); outline: none; }
.campo-pct span { font-size: 17px; font-weight: 600; color: var(--texto-3); }

.politica__acoes { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; border-top: 1px solid var(--linha); padding-top: 18px; }
.politica__aplicar { margin-left: auto; }
.politica__nota { margin: -12px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--texto-3); max-width: 78ch; }

/* exemplo ao vivo: faixa dos usados na OLX (150 a 650 reais) com o marcador do nosso preço */
.politica__exemplo { position: sticky; top: 16px; padding: clamp(18px, 2.6vw, 24px); display: grid; gap: 14px; }
.politica__exemplo-nome { font-size: 19px; font-weight: 600; letter-spacing: -.01em; margin-top: -8px; }
.politica__exemplo .politica__nota { margin: 0; }
.faixa-mercado { --de: 150; --faixa: 500; margin-top: 30px; }
.faixa-mercado__trilho { position: relative; height: 10px; border-radius: 99px; background: var(--fundo); }
.faixa-mercado__trilho > span { position: absolute; top: 0; bottom: 0; }
.faixa-mercado__usados { left: calc((var(--min) - var(--de)) / var(--faixa) * 100%); width: calc((var(--max) - var(--min)) / var(--faixa) * 100%); border-radius: 99px; background: #d5d8de; }
.faixa-mercado__meio { left: calc((var(--p25) - var(--de)) / var(--faixa) * 100%); width: calc((var(--p75) - var(--p25)) / var(--faixa) * 100%); background: #8b8f99; }
.faixa-mercado__trilho > .faixa-mercado__med, .faixa-mercado__trilho > .faixa-mercado__novo { width: 2px; top: -5px; bottom: -5px; translate: -1px 0; border-radius: 2px; }
.faixa-mercado__med { left: calc((var(--med) - var(--de)) / var(--faixa) * 100%); background: var(--grafite); }
.faixa-mercado__novo { left: calc((var(--novo) - var(--de)) / var(--faixa) * 100%); background: repeating-linear-gradient(var(--texto-3) 0 3px, transparent 3px 5px); }
.faixa-mercado__trilho > .faixa-mercado__nosso { left: clamp(0%, calc((var(--preco) - var(--de)) / var(--faixa) * 100%), 100%); top: 50%; bottom: auto; width: 22px; height: 22px; translate: -50% -50%; border-radius: 50%; background: var(--amarelo); border: 3px solid var(--grafite); box-shadow: 0 2px 6px rgb(20 22 28 / .25); transition: left .6s var(--ease); z-index: 1; }
.faixa-mercado__nosso::after { content: "nosso"; position: absolute; bottom: calc(100% + 6px); left: 50%; translate: -50% 0; padding: 2px 7px; border-radius: 4px; background: var(--grafite); color: var(--amarelo); font-size: 10.5px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.faixa-mercado__eixo { position: relative; height: 20px; margin-top: 10px; font-size: 11px; color: var(--texto-3); font-variant-numeric: tabular-nums; }
.faixa-mercado__eixo span { position: absolute; left: calc((var(--x) - var(--de)) / var(--faixa) * 100%); translate: -50% 0; white-space: nowrap; }
.faixa-mercado__eixo-med { color: var(--texto); font-weight: 600; }

.politica__resultado { display: grid; gap: 4px; padding: 14px 16px; border-radius: var(--raio); background: #fafafb; border: 1px solid var(--linha); }
.politica__preco { font-size: clamp(30px, 3.4vw, 38px); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; color: var(--preco); }
.politica__conta { font-size: 13px; color: var(--texto-2); line-height: 1.5; }
.politica__conta b { color: var(--verde); font-weight: 600; }
.politica__refs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 12px; margin: 0; }
.politica__refs dt { font-size: 11px; color: var(--texto-3); }
.politica__refs dd { margin: 0; font-size: 14px; font-weight: 600; }

/* simulação */
.simulacao__tabela { min-width: 620px; }
.simulacao__tabela td { font-size: 13px; }
.simulacao__tabela td.num, .simulacao__tabela th.num { text-align: right; white-space: nowrap; }
.simulacao__outro { display: block; font-size: 12px; color: var(--texto-3); }
.antes-depois s { color: var(--texto-3); text-decoration-color: rgb(90 94 105 / .6); }
.antes-depois b { font-weight: 700; color: var(--texto); }
.simulacao__nosso .antes-depois b { color: var(--preco); }
.antes-depois__igual { font-size: 12px; color: var(--texto-3); }
.simulacao__bruto summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--texto-2); }
.simulacao__bruto[open] summary { margin-bottom: 10px; }
.simulacao .aviso-bloco { display: flex; gap: 8px; align-items: flex-start; }

@media (max-width: 1080px) {
  .politica { grid-template-columns: minmax(0, 1fr); }
  .politica__exemplo { position: static; }
}
@media (max-width: 640px) {
  .simulacao__tabela { min-width: 0; }
  .politica__aplicar { margin-left: 0; width: 100%; }
}
@media (max-width: 560px) {
  .politica-opcao { grid-template-columns: 22px minmax(0, 1fr); padding: 12px; }
  .politica-opcao__preco { grid-column: 2; font-size: 14px; }
  .politica__refs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .faixa-mercado__trilho > .faixa-mercado__nosso, .politica-opcao__marca .ic { transition: none; }
}
.politica__rotulo-campo { font-size: 13px; font-weight: 600; color: var(--texto); }
.pagamento__enviar { display: grid; gap: 10px; padding: 12px 14px; border-radius: var(--raio); background: #fff; }
.pagamento__enviar > summary { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; font-weight: 600; }
.pagamento__enviar > summary .ic { width: 16px; height: 16px; }
.pagamento__enviar .pix { box-shadow: none; border: 1px solid var(--linha); grid-template-columns: minmax(0, 180px) minmax(0, 1fr); }
.pagamento__enviar-chat { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }


/* ---------- Página do produto: palco claro como o destaque da home, preço forte e compra num cartão ---------- */
.produto { gap: clamp(22px, 4vw, 52px); padding: clamp(16px, 2.6vw, 32px); }
.galeria__palco {
  border: 0; border-radius: 14px; isolation: isolate;
  background: radial-gradient(70% 70% at 50% 42%, #fff 0%, #f5f6f8 58%, #e7e9ee 100%);
}
.galeria__palco::after {
  content: ""; position: absolute; z-index: -1; left: 50%; bottom: 7%; width: 56%; height: 26px; translate: -50% 0;
  border-radius: 50%; background: radial-gradient(closest-side, rgb(20 22 28 / .2), transparent); pointer-events: none;
}
.galeria__principal { z-index: auto; background: none; }
.galeria__principal img { padding: 9%; mix-blend-mode: multiply; }
.galeria__thumb { border-width: 2px; border-radius: 10px; background: #f5f6f8; }
.galeria__thumb img { mix-blend-mode: multiply; background: none; }
.galeria__ampliar { z-index: 2; }
.produto__selo {
  position: absolute; z-index: 2; top: 18px; left: 18px; width: 86px; height: 86px; border-radius: 50%;
  display: grid; place-content: center; text-align: center; rotate: -10deg;
  background: var(--preco); color: #fff; box-shadow: 0 10px 24px rgb(212 35 28 / .3);
  animation: produto-selo .6s var(--ease) .2s both;
}
.produto__selo b { font-size: 24px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.produto__selo span { font-size: 10px; font-weight: 600; line-height: 1.15; max-width: 9ch; margin-inline: auto; }
@keyframes produto-selo { from { scale: 1.6; opacity: 0; rotate: 8deg; } }

.produto__info { gap: 18px; }
.produto__titulo { font-size: clamp(26px, 3vw, 38px); font-weight: 600; line-height: 1.1; letter-spacing: -.03em; text-wrap: balance; }
.produto__linha { margin-top: -4px; }
.produto__resumo { line-height: 1.6; max-width: 60ch; }

.produto__precos { gap: 16px; padding: 20px 22px; border-radius: 14px; background: #fff; border: 1px solid var(--linha); box-shadow: var(--sombra); }
.produto__nosso { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 4px 12px; }
.produto__nosso span { grid-column: 1 / -1; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.produto__nosso strong { font-size: clamp(36px, 4vw, 48px); letter-spacing: -.03em; }
.produto__economize { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--verde-claro); color: var(--verde); font-style: normal; font-size: 13px; font-weight: 600; white-space: nowrap; }
.produto__economize .ic { width: 15px; height: 15px; }
.produto__economia { background: none; padding: 0; color: var(--texto-2); }
.produto__economia .ic { color: var(--verde); }
.produto__economia strong { color: var(--verde); }

.produto__fatos { gap: 14px 20px; }
.produto__fatos li { align-items: flex-start; gap: 12px; }
.produto__fatos li > .ic { flex: none; width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--amarelo-claro); color: var(--grafite); stroke-width: 1.8; margin: 0; }

.produto__compra { display: grid; gap: 14px; padding: 18px; border-radius: 14px; background: #fafafb; border: 1px solid var(--linha); }
.produto__compra .produto__acoes .btn { height: 54px; font-size: 15px; }
.produto__compra .produto__acoes .btn--amarelo:hover { transform: translateY(-1px); }
.produto__pagto { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 12px; border-top: 1px solid var(--linha); color: var(--texto-2); }
.produto__pagto .ic { color: var(--texto); }
.produto__revisao { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--grafite); text-decoration: underline; text-decoration-color: rgb(37 39 45 / .3); text-underline-offset: 3px; }
.produto__revisao:hover { text-decoration-color: currentColor; }
.produto__revisao .ic { width: 16px; height: 16px; }

.produto__info .compartilhar { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px 14px; padding: 16px 0 0; border-radius: 0; background: none; border-top: 1px solid var(--linha); }
.produto__info .compartilhar__botoes { justify-content: flex-end; }

@media (max-width: 560px) {
  .produto__selo { width: 72px; height: 72px; top: 12px; left: 12px; }
  .produto__selo b { font-size: 20px; }
  .produto__nosso { grid-template-columns: minmax(0, 1fr); }
  .produto__economize { justify-self: start; }
  .produto__info .compartilhar { grid-template-columns: minmax(0, 1fr); }
  .produto__info .compartilhar__botoes { justify-content: flex-start; }
  .produto__pagto { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .produto__selo { animation: none; } }
@media (min-width: 861px) { .produto > .galeria { position: sticky; top: 16px; align-self: start; } }

/* Telas de até ~1080 de altura (com a barra do navegador): destaque mais enxuto para a faixa de tipos aparecer sem rolar */
@media (min-width: 901px) and (max-height: 980px) {
  .hero-sec { padding-top: 14px; }
  .hero__texto { gap: 10px; padding-top: 24px; padding-bottom: 68px; }
  .hero__titulo { font-size: clamp(28px, 2.6vw, 36px); max-width: 22ch; }
  .hero__resumo { font-size: 14px; }
  .hero__preco strong { font-size: clamp(28px, 2.6vw, 36px); }
  .hero__controles { bottom: 16px; }
  .faixa-cats { margin-top: 12px; }
}


/* ---------- Home: um só vão entre os blocos (--vao) ----------
   Menu → destaque/banners, entre os banners, destaque → categorias, categorias → bloco seguinte e entre as seções de baixo.
   O trilho das categorias guarda 8px embaixo para a sombra dos cartões (com a barra de progresso, 6px visíveis): descontados. */
.pg-home { --vao: 20px; --respiro: var(--vao); }
@media (min-width: 901px) and (max-height: 980px) { .pg-home { --vao: 14px; } }
.pg-home .hero-sec { padding-top: var(--vao); }
.pg-home .home-topo > .faixa-cats { margin-top: var(--vao); }
.pg-home .home-topo + .faixa-cinza { margin-top: 0; padding-top: calc(var(--vao) - 6px); }
.pg-home .faixa-cinza > .secao { padding-top: var(--vao); }
.pg-home .faixa-cinza > .secao:first-of-type { padding-top: 0; }
@media (min-width: 1840px) { .pg-home .faixa-cinza > .novidades + .secao { padding-top: 0; } }  /* o trilho de novidades some nessas telas */

/* ---------- Faixa de categorias: entrada em cascata, hover com disco amarelo, rolagem automática ---------- */

.cat-tile { position: relative; transition: border-color .25s, transform .45s var(--ease), box-shadow .45s var(--ease); }
.cat-tile:hover, .cat-tile:focus-visible { transform: translateY(-5px); box-shadow: var(--sombra-alta); border-color: var(--amarelo); }
.cat-tile__img { position: relative; isolation: isolate; }
.cat-tile__img::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffd84d, var(--amarelo)); scale: 0; transition: scale .45s var(--ease); }
.cat-tile__img img { mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.cat-tile:hover .cat-tile__img::before, .cat-tile:focus-visible .cat-tile__img::before { scale: 1; }
.cat-tile:hover .cat-tile__img img, .cat-tile:focus-visible .cat-tile__img img { transform: translateY(-3px) rotate(-6deg) scale(1.08); }
.cat-tile__qtd { display: inline-flex; align-items: center; gap: 4px; transition: color .25s; }
.cat-tile__qtd .ic { width: 13px; height: 13px; opacity: 0; translate: -6px 0; transition: opacity .25s, translate .35s var(--ease); }
.cat-tile:hover .cat-tile__qtd, .cat-tile:focus-visible .cat-tile__qtd { color: var(--texto); }
.cat-tile:hover .cat-tile__qtd .ic, .cat-tile:focus-visible .cat-tile__qtd .ic { opacity: 1; translate: 0 0; }

/* entrada: os cartões sobem em cascata quando a faixa aparece (só com JS e sem "reduzir movimento") */
.faixa-cats.is-visivel .faixa-cats__trilho li { animation: cat-entra .7s var(--ease) both; animation-delay: calc(min(var(--i), 12) * 45ms); }
@keyframes cat-entra { from { opacity: 0; transform: translateY(18px) scale(.96); } }

/* progresso da rolagem */
.faixa-cats__progresso { width: 96px; height: 3px; margin: -5px auto 0; position: relative; border-radius: 3px; background: rgb(37 39 45 / .1); overflow: hidden; }
.faixa-cats__progresso i { display: block; height: 100%; width: 30%; border-radius: inherit; background: var(--grafite); transition: translate .25s ease-out; }
.faixa-cats:not(.pode-ant):not(.pode-prox) .faixa-cats__progresso { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  .cat-tile, .cat-tile__img::before, .cat-tile__img img, .cat-tile__qtd .ic { transition: none; }
  .faixa-cats.is-visivel .faixa-cats__trilho li { animation: none; }
}


/* ---------- Popup de ofertas (home): banner grafite com raios girando, disco amarelo com o % contando e as 3 melhores ofertas ---------- */
.promo { width: min(760px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 16px; background: #fff; color: var(--texto); overflow: auto; box-shadow: 0 30px 80px rgb(0 0 0 / .45); }
.promo[open] { animation: promo-entra .6s var(--ease); }
.promo::backdrop { background: rgb(14 15 18 / .62); backdrop-filter: blur(5px); animation: promo-fundo .4s ease-out; }
@keyframes promo-entra { from { opacity: 0; transform: translateY(24px) scale(.94); } }
@keyframes promo-fundo { from { opacity: 0; } }
.promo__fechar { position: absolute; top: 12px; right: 12px; z-index: 3; width: 38px; height: 38px; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .14); color: #fff; transition: background .2s, rotate .3s var(--ease); }
.promo__fechar:hover { background: rgb(255 255 255 / .26); rotate: 90deg; }

.promo__banner { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(18px, 3vw, 32px); padding: clamp(26px, 4vw, 38px) clamp(22px, 4vw, 40px); background: radial-gradient(120% 140% at 0% 0%, #3b3f4a, var(--grafite) 50%, var(--grafite-2)); color: #fff; }
.promo__raios { position: absolute; z-index: -1; left: calc(clamp(22px, 4vw, 40px) + 70px); top: 50%; width: 760px; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgb(255 199 0 / .16) 0 9deg, transparent 9deg 18deg);
  -webkit-mask-image: radial-gradient(closest-side, #000 20%, transparent 72%); mask-image: radial-gradient(closest-side, #000 20%, transparent 72%);
  animation: promo-gira 40s linear infinite; }
@keyframes promo-gira { to { rotate: 1turn; } }
.promo__disco { width: 140px; height: 140px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 35% 30%, #ffe27a, var(--amarelo) 55%, var(--amarelo-2)); color: var(--grafite); box-shadow: 0 0 0 10px rgb(255 199 0 / .18), 0 16px 34px rgb(0 0 0 / .35); rotate: -8deg; animation: promo-disco .9s var(--ease) .15s both, promo-pulsa 2.6s ease-in-out 1.2s infinite; }
.promo__disco b { font-size: 54px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.promo__disco span { font-size: 26px; font-weight: 700; margin: -14px 0 0 2px; }
@keyframes promo-disco { from { scale: 0; rotate: -120deg; } }
@keyframes promo-pulsa { 50% { box-shadow: 0 0 0 18px rgb(255 199 0 / .08), 0 16px 34px rgb(0 0 0 / .35); } }
.promo__texto { display: grid; gap: 10px; animation: promo-sobe .7s var(--ease) .25s both; }
.promo__titulo { font-size: clamp(24px, 3.2vw, 34px); font-weight: 600; line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; padding-right: 30px; }
.promo__titulo em { font-style: normal; color: var(--amarelo); font-weight: 700; }
.promo__sub { font-size: 14px; line-height: 1.55; color: var(--grafite-txt); max-width: 46ch; }
@keyframes promo-sobe { from { opacity: 0; transform: translateY(14px); } }

.promo__itens { list-style: none; margin: 0; padding: 22px clamp(18px, 3vw, 28px) 6px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.promo__itens li { animation: promo-sobe .7s var(--ease) both; animation-delay: calc(.4s + var(--i) * .09s); }
.promo-item { display: grid; gap: 8px; height: 100%; padding: 10px 10px 12px; border: 1.5px solid var(--linha); border-radius: 12px; color: inherit; text-decoration: none; transition: border-color .2s, transform .35s var(--ease), box-shadow .35s var(--ease); }
.promo-item:hover { border-color: var(--amarelo); transform: translateY(-4px); box-shadow: var(--sombra-alta); }
.promo-item__foto { position: relative; isolation: isolate; aspect-ratio: 4 / 3; border-radius: 8px; background: radial-gradient(70% 70% at 50% 45%, #fff, #eef0f3); overflow: hidden; }
.promo-item__foto img { width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.promo-item:hover .promo-item__foto img { transform: scale(1.06); }
.promo-item__selo { position: absolute; top: 6px; left: 6px; padding: 3px 8px; border-radius: 4px; background: var(--preco); color: #fff; font-size: 12px; font-weight: 700; }
.promo-item__nome { font-size: 13px; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.promo-item__precos { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.promo-item__precos strong { font-size: 17px; font-weight: 700; color: var(--preco); }
.promo-item__precos s { font-size: 12px; color: var(--texto-3); }

.promo__acoes { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px clamp(18px, 3vw, 28px) 22px; }
.promo__depois { border: 0; background: none; padding: 8px 4px; font: inherit; font-size: 14px; font-weight: 600; color: var(--texto-3); cursor: pointer; }
.promo__depois:hover { color: var(--texto); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 640px) {
  .promo__banner { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .promo__disco { width: 104px; height: 104px; }
  .promo__disco b { font-size: 40px; }
  .promo__disco span { font-size: 20px; margin-top: -10px; }
  .promo__raios { left: 90px; top: 90px; }
  .promo__itens { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .promo-item { grid-template-columns: 84px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; align-items: center; }
  .promo-item__foto { grid-row: 1 / 3; aspect-ratio: 1; }
  .promo-item__nome { min-height: 0; align-self: end; }
  .promo-item__precos { align-self: start; }
  .promo__acoes .btn { width: 100%; justify-content: center; }
  .promo__acoes { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .promo[open], .promo::backdrop, .promo__raios, .promo__disco, .promo__texto, .promo__itens li { animation: none; }
}


/* ---------- Destaque: palco vivo (brilho que respira, grade de pontos, produto flutuando, anel de luz no piso, parallax) ---------- */
.hero__foto { background: radial-gradient(60% 55% at 58% 45%, #fff 0%, #f1f2f5 60%, #e2e5ea 100%); }
.hero__foto::before {
  left: 58%; top: 46%; width: min(66%, 380px); aspect-ratio: 1; translate: -50% -50%; box-shadow: none;
  background: radial-gradient(circle, rgb(255 199 0 / .5) 0%, rgb(255 216 77 / .28) 38%, rgb(255 199 0 / 0) 70%);
  filter: blur(6px); animation: palco-respira 6s ease-in-out infinite;
}
.hero__slide.is-ativo .hero__foto::before { animation: hero-disco .9s var(--ease) both, palco-respira 6s ease-in-out .9s infinite; }
@keyframes palco-respira { 50% { scale: 1.1; opacity: .75; } }
.hero__foto::after {
  inset: 0; left: 0; bottom: 0; width: auto; height: auto; translate: none; border-radius: 0; box-shadow: none; z-index: -2;
  background: radial-gradient(circle, rgb(37 39 45 / .13) 1.2px, transparent 1.7px) 0 0 / 20px 20px;
  -webkit-mask-image: radial-gradient(55% 60% at 58% 48%, #000 0%, transparent 100%); mask-image: radial-gradient(55% 60% at 58% 48%, #000 0%, transparent 100%);
}
/* piso: sombra que acompanha a flutuação, anel de luz e uma onda que se espalha */
.hero__piso { position: absolute; z-index: -1; left: 58%; bottom: 8%; width: 52%; height: 48px; translate: -50% 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(20 22 28 / .3), rgb(20 22 28 / .08) 60%, transparent 75%); animation: palco-sombra 5s ease-in-out infinite; }
.hero__piso::before, .hero__piso::after { content: ""; position: absolute; inset: -6px -10%; border-radius: 50%; border: 2px solid rgb(255 199 0 / .9); box-shadow: 0 0 16px rgb(255 199 0 / .55), inset 0 0 12px rgb(255 199 0 / .35); }
.hero__piso::after { border-color: rgb(255 199 0 / .6); box-shadow: none; animation: palco-onda 3s var(--ease) infinite; }
@keyframes palco-sombra { 50% { scale: .86; opacity: .7; } }
@keyframes palco-onda { from { scale: 1; opacity: .8; } to { scale: 1.35; opacity: 0; } }
.hero__foto img { top: 6%; bottom: 17%; height: 77%; translate: calc(var(--px, 0) * 14px) calc(var(--py, 0) * 10px); transition: translate .5s var(--ease); }
.hero__slide.is-ativo .hero__foto img { animation: hero-item 1s var(--ease) .08s both, palco-flutua 5s ease-in-out 1.1s infinite; }
@keyframes palco-flutua { 50% { transform: translateY(-12px); } }
.hero__foto::before { translate: calc(-50% - var(--px, 0) * 18px) calc(-50% - var(--py, 0) * 12px); }

/* selo: % no centro e o texto girando em volta */
.hero__selo { width: 108px; height: 108px; rotate: 0deg; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #e8392f, var(--preco) 60%, #b51a14); }
.hero__selo svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: selo-gira 14s linear infinite; }
.hero__selo text { fill: #fff; font-size: 7.4px; font-weight: 700; }  /* o espaçamento que fecha a volta é calculado no loja.js */
.hero__selo b { position: relative; font-size: 27px; }
@keyframes selo-gira { to { rotate: 1turn; } }

/* texto: economia em destaque, com um brilho que passa; fatos reais preenchem a base */
.hero__preco { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.hero__economia { position: relative; overflow: hidden; display: grid; gap: 1px; padding: 8px 16px 9px; border-radius: 10px; background: rgb(255 199 0 / .1); border: 1px solid rgb(255 199 0 / .45); color: #dfe1e6; }
.hero__economia span { font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--grafite-txt); }
.hero__economia b { font-size: clamp(20px, 1.9vw, 26px); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; color: var(--amarelo); }
.hero__economia small { font-size: 11.5px; color: #cfd2d9; }
.hero__economia::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / .22) 50%, transparent 65%); translate: -120% 0; animation: economia-brilho 4.5s ease-in-out 1.4s infinite; }
@keyframes economia-brilho { 0%, 55% { translate: -120% 0; } 85%, 100% { translate: 120% 0; } }
.hero__fatos { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; }
.hero__fatos li { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #dfe1e6; }
.hero__fatos .ic { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: rgb(255 255 255 / .07); color: var(--amarelo); stroke-width: 1.9; }

@media (max-width: 860px) {
  .hero__foto::before { left: 50%; top: 44%; width: 230px; }
  .hero__foto::after { -webkit-mask-image: radial-gradient(60% 60% at 50% 45%, #000, transparent); mask-image: radial-gradient(60% 60% at 50% 45%, #000, transparent); }
  .hero__piso { left: 50%; bottom: 17%; width: 60%; height: 30px; }
  .hero__foto img { top: 5%; height: 70%; }
  .hero__selo { width: 86px; height: 86px; }
  .hero__selo b { font-size: 21px; }
  .hero__fatos { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__foto::before, .hero__piso, .hero__piso::after, .hero__selo svg, .hero__economia::after { animation: none; }
  .hero__slide.is-ativo .hero__foto img, .hero__slide.is-ativo .hero__foto::before { animation: none; }
}

/* painel: seções empilhadas, uma embaixo da outra, na largura toda (ex.: lista de categorias e "Nova categoria" abaixo) */
.pilha-painel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.pilha-painel > .painel { margin-bottom: 0; }


/* ---------- Solicitação: documentos da venda (.docx) ---------- */
.documentos { padding: clamp(16px, 2.4vw, 24px); display: grid; gap: 14px; }
.documentos__topo { display: grid; gap: 4px; }
.documentos__lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 10px; }
.documento { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; height: 100%; padding: 12px 14px; border: 1.5px solid var(--linha); border-radius: var(--raio-lg); background: #fff; color: var(--texto); text-decoration: none; transition: border-color .2s, transform .3s var(--ease), box-shadow .3s var(--ease); }
a.documento:hover { border-color: var(--amarelo); transform: translateY(-2px); box-shadow: var(--sombra); }
.documento__ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #e8f0fb; color: #1f5aa6; }
.documento__ic .ic { width: 20px; height: 20px; }
.documento__txt { display: grid; gap: 2px; min-width: 0; }
.documento__txt strong { font-size: 14px; font-weight: 600; line-height: 1.3; }
.documento__txt small { font-size: 12px; color: var(--texto-3); }
.documento__baixar .ic { width: 16px; height: 16px; color: var(--texto-3); transition: translate .25s var(--ease), color .2s; }
a.documento:hover .documento__baixar .ic { translate: 3px 0; color: var(--texto); }
.documento--off { opacity: .6; background: var(--fundo); border-style: dashed; }
.documento--off .documento__ic { background: #eceef1; color: var(--texto-3); }
.documentos .aviso-bloco { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; }
.documentos .aviso-bloco a { color: inherit; font-weight: 600; }
.documentos__comprador summary { cursor: pointer; font-size: 14px; font-weight: 600; }
.documentos__comprador summary small { font-weight: 500; color: var(--texto-3); }
.documentos__form { padding: 14px 0 0; gap: 14px; }

/* ---------- Chat do pedido em modal, com botão flutuante ---------- */
.chat-fab { position: fixed; right: 20px; bottom: 20px; z-index: 150; display: grid; place-items: center; width: 60px; height: 60px; border: 0; border-radius: 50%; background: var(--amarelo); color: var(--grafite); box-shadow: 0 10px 28px rgb(0 0 0 / .28); cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s; }
.chat-fab:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 14px 34px rgb(0 0 0 / .32); }
.chat-fab:focus-visible { outline: 3px solid var(--grafite); outline-offset: 3px; }
.chat-fab .ic { width: 26px; height: 26px; }
.chat-fab__novo { position: absolute; top: 6px; right: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--preco); border: 2px solid #fff; }
.chat-fab__novo[hidden] { display: none; }
body:has(.chat-fab) .toast { bottom: 96px; }
.chat-modal { position: fixed; width: min(640px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 16px; background: #fff; color: var(--texto); overflow: auto; box-shadow: 0 30px 80px rgb(0 0 0 / .4); }
.chat-modal::backdrop { background: rgb(14 15 18 / .55); }
.chat-modal .chat { box-shadow: none; border-radius: 0; }
.chat-modal .chat__topo { padding-right: 44px; }
.chat-modal .chat__lista { max-height: min(420px, 52dvh); }
.chat-modal__fechar { position: absolute; top: 14px; right: 14px; z-index: 1; }
@media (max-width: 560px) {
  .chat-fab { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .chat-modal { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; margin: 0; border-radius: 0; }
  .chat-modal .chat__lista { max-height: none; }
  .chat-modal .chat { min-height: 100%; grid-template-rows: auto minmax(0, 1fr) auto auto; }
}
.pagamento__campo input[readonly] { background: var(--fundo); color: var(--texto-2); cursor: default; }
/* "Já pagou? Informe aqui": valor, comprovante e botão numa linha, num cartão próprio */
.pagamento__informar { padding: 18px 20px; border-radius: var(--raio-lg); background: #fff; box-shadow: var(--sombra); }
.pagamento__informar .pagamento__subtitulo { margin: 0; }
.pagamento__informar-linha { display: grid; grid-template-columns: minmax(0, 170px) minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.pagamento__informar-linha input:not([type="file"]) { min-height: 44px; }
.pagamento__informar-linha .btn { min-height: 44px; justify-self: stretch; }
.pagamento__arquivo input[type="file"] { width: 100%; min-height: 44px; padding: 5px; border: 1.5px dashed var(--linha); border-radius: var(--raio); background: var(--fundo); color: var(--texto-2); font-size: 13px; cursor: pointer; }
.pagamento__arquivo input[type="file"]:hover { border-color: var(--grafite); }
.pagamento__arquivo input[type="file"]:focus-visible { outline: none; border-color: var(--grafite); box-shadow: 0 0 0 3px rgb(255 199 0 / .55); }
.pagamento__arquivo input[type="file"]::file-selector-button { margin-right: 10px; padding: 7px 12px; border: 0; border-radius: calc(var(--raio) - 2px); background: var(--grafite); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
@media (max-width: 720px) {
  .pagamento__informar-linha { grid-template-columns: minmax(0, 1fr); }
}
/* Pix: QR | valor e código | copiar e dados do recebedor */
.pix { grid-template-columns: minmax(0, 200px) minmax(0, 1fr) minmax(0, 260px); align-items: stretch; }
.pix__lado { display: grid; align-content: start; gap: 14px; min-width: 0; }
.pix__lado .pix__acoes { display: grid; gap: 8px; }
.pix__lado .pix__acoes .btn { width: 100%; justify-content: center; }
.pix__lado .pix__recebedor { margin: 0; padding: 12px 14px; border-radius: var(--raio); background: var(--fundo); gap: 8px; }
.pix__lado .pix__recebedor div { display: grid; gap: 1px; }
.pix__lado .pix__recebedor dt { min-width: 0; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
[data-pix-alvo] { container-type: inline-size; }
@container (max-width: 820px) {
  .pix { grid-template-columns: minmax(0, 180px) minmax(0, 1fr); }
  .pix__dados { grid-column: 1 / -1; grid-row: 2; }
}
@container (max-width: 440px) {
  .pix { grid-template-columns: minmax(0, 1fr); }
  .pix__dados { grid-row: auto; }
}

/* ---------- Equipe: caixa de mensagens sem resposta (botão flutuante em todas as páginas) ---------- */
.caixa-fab { position: fixed; right: 20px; bottom: 20px; z-index: 150; display: grid; place-items: center; width: 60px; height: 60px; border: 0; border-radius: 50%; background: var(--grafite); color: var(--amarelo); box-shadow: 0 10px 28px rgb(0 0 0 / .3); cursor: pointer; transition: transform .2s var(--ease); }
.caixa-fab:hover { transform: translateY(-2px) scale(1.04); }
.caixa-fab { transition: transform .25s var(--ease), opacity .25s, visibility .25s; }
.caixa-fab--oculto { opacity: 0; visibility: hidden; transform: scale(.6); pointer-events: none; }  /* cabeçalho na tela: o "Chat" dele faz o papel */
.caixa-fab:focus-visible { outline: 3px solid var(--amarelo); outline-offset: 3px; }
.caixa-fab .ic { width: 26px; height: 26px; }
.caixa-fab__qtd { position: absolute; top: -4px; right: -4px; min-width: 24px; height: 24px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; background: var(--preco); color: #fff; font-size: 12px; font-weight: 700; border: 2px solid #fff; }
.caixa-fab__qtd[hidden] { display: none; }
/* enquanto houver mensagem sem resposta, um anel pulsa em volta do botão */
.caixa-fab--pendente::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 3px solid var(--preco); animation: caixa-anel 1.8s ease-out infinite; pointer-events: none; }
.caixa-fab--nova { animation: caixa-nova .9s ease 2; }
@keyframes caixa-anel { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes caixa-nova { 0%, 100% { transform: none; } 25% { transform: rotate(-14deg) scale(1.12); } 60% { transform: rotate(14deg) scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .caixa-fab--pendente::after, .caixa-fab--nova { animation: none; } .caixa-fab--pendente::after { opacity: 1; } }
/* na página de um pedido, o botão da conversa daquele pedido fica embaixo e a caixa geral sobe */
body:has(.chat-fab) .caixa-fab { bottom: 92px; }
body:has(.caixa-fab) .toast { bottom: 96px; }
body:has(.caixa-fab):has(.chat-fab) .toast { bottom: 168px; }
.caixa-chat { position: fixed; width: min(460px, calc(100vw - 24px)); max-height: min(640px, calc(100dvh - 24px)); padding: 20px; border: 0; border-radius: 16px; background: #fff; color: var(--texto); box-shadow: 0 30px 80px rgb(0 0 0 / .4); }
.caixa-chat[open] { display: grid; gap: 14px; }
.caixa-chat::backdrop { background: rgb(14 15 18 / .5); }
.caixa-chat__topo { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.caixa-chat__topo .checkout__titulo { display: flex; align-items: center; gap: 8px; margin: 0; }
.caixa-chat__vazio { margin: 0; padding: 18px; border-radius: var(--raio-lg); background: var(--fundo); color: var(--texto-2); font-size: 14px; text-align: center; }
.caixa-chat__vazio[hidden] { display: none; }
.caixa-chat__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; overflow-y: auto; }
.caixa-chat__item { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--raio-lg); background: var(--fundo); color: inherit; text-decoration: none; border-left: 4px solid var(--preco); transition: background .15s; }
.caixa-chat__item:hover, .caixa-chat__item:focus-visible { background: #fff7d6; }
.caixa-chat__quem { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.caixa-chat__quem strong { font-size: 14px; }
.caixa-chat__quem em { font-style: normal; min-width: 22px; height: 22px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; background: var(--preco); color: #fff; font-size: 12px; font-weight: 700; }
.caixa-chat__texto { font-size: 14px; color: var(--texto); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.caixa-chat__item small { font-size: 12px; color: var(--texto-3); }
@media (max-width: 560px) {
  .caixa-fab { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  body:has(.chat-fab) .caixa-fab { bottom: 82px; }
}

/* ---------- Recebimentos: conta creditada e data do crédito ---------- */
.credito { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; }
.credito__campo { display: grid; gap: 2px; font-size: 12px; font-weight: 600; color: var(--texto-2); }
.credito__campo select, .credito__campo input { min-height: 34px; padding: 4px 8px; border: 1.5px solid var(--linha); border-radius: var(--raio); background: #fff; font: inherit; font-size: 13px; font-weight: 500; color: var(--texto); }
.credito__campo select { max-width: 220px; }
.pagamentos__confirmar { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; }
.pagamento__registrar .credito { margin-top: 4px; }
.contas-mes { display: flex; flex-wrap: wrap; gap: 10px; }
.contas-mes__item { display: grid; gap: 1px; min-width: 170px; padding: 10px 14px; border: 1.5px solid var(--linha); border-radius: var(--raio-lg); background: #fff; color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.contas-mes__item > span { font-size: 12px; font-weight: 600; color: var(--texto-2); }
.contas-mes__item strong { font-size: 18px; }
.contas-mes__item small { font-size: 12px; color: var(--texto-3); }
.contas-mes__item:hover { border-color: var(--grafite); }
.contas-mes__item.is-ativo { border-color: var(--grafite); background: var(--grafite); color: #fff; }
.contas-mes__item.is-ativo > span, .contas-mes__item.is-ativo small { color: var(--grafite-txt); }
.contas-mes__item.is-ativo strong { color: var(--amarelo); }

/* Venda (equipe): aplicar/remover o desconto de funcionário depois do pedido feito */
.desconto-func { margin-top: 6px; display: flex; justify-content: flex-end; }

/* Recebidos: corrigir a conta/data do crédito na própria linha */
.credito-editar summary { list-style: none; cursor: pointer; }
.credito-editar summary::-webkit-details-marker { display: none; }
.credito-editar[open] summary { margin-bottom: 8px; }
.credito-editar[open] { min-width: 260px; }

/* Contas de recebimento: logo do banco (ou selo nas cores do banco) ao lado do nome */
.conta-marca { display: inline-flex; align-items: center; gap: 8px; vertical-align: middle; }
.conta-marca__logo { width: 28px; height: 28px; object-fit: contain; border-radius: 6px; background: #fff; }
.conta-marca__selo { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 6px;
  background: var(--fundo); color: var(--cor); font-size: 12px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.conta-marca__selo--longo { font-size: 10px; font-weight: 700; letter-spacing: 0; }
.contas-mes__item .conta-marca__nome { font-size: 12px; }
.pagamentos__quem .conta-marca { gap: 5px; }
.pagamentos__quem .conta-marca__selo, .pagamentos__quem .conta-marca__logo { min-width: 20px; height: 20px; width: auto; font-size: 9px; }

/* Avançar etapa: "Pago" com saldo em aberto vira atalho para registrar o Pix */
.etapas__opcao--pix { text-decoration: none; color: var(--grafite); border-color: var(--amarelo); background: #fff7d6; font-weight: 600; }
.etapas__opcao--pix .ic { width: 16px; height: 16px; }
.pagamento__registrar { scroll-margin-top: 16px; }

/* página do pedido: cancelado com ícone próprio */
.pedido-ok__check--cancelado { background: #fde8e7; color: var(--preco); }

/* Recebimentos: devoluções pendentes de pedidos cancelados */
.aviso-devolver { padding: 18px 20px; margin-bottom: 16px; border-left: 4px solid var(--preco); display: grid; gap: 10px; }
.aviso-devolver .checkout__titulo { display: flex; align-items: center; gap: 8px; margin: 0; }
.aviso-devolver__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.aviso-devolver__lista li { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: var(--raio); background: var(--fundo); }
.pill--devolvido { background: #eef0f4; color: var(--texto-2); }

/* selo/logo do banco nunca encolhe (não vaza por cima da coluna ao lado); o nome quebra se precisar */
.conta-marca__selo, .conta-marca__logo { flex: none; }
.conta-marca__selo { min-width: max-content; white-space: nowrap; }
.conta-marca__nome { min-width: 0; }
.contas-mes__item .conta-marca { gap: 6px; }
.contas-mes__item .conta-marca__selo { color: var(--cor); font-weight: 700; }
/* datas e valores em uma linha só nas tabelas */
.tabela td[data-rotulo="Crédito"], .tabela td[data-rotulo="Valor"], .tabela td[data-rotulo="Data"],
.tabela td[data-rotulo="Total"] strong, .tabela td[data-rotulo="Falta"], .tabela td[data-rotulo="Pago"] { white-space: nowrap; }
.tabela td[data-rotulo="Conta"] { min-width: 180px; }
