/* ============================================================
   RadarMaker · estilos do site
   Estrutura de comparador de preços (topo com marca e busca, faixa de categorias,
   vitrines em carrossel, lista com filtros, página de produto com as lojas) na
   linha visual do MakerGest: Onest, cantos arredondados, pílulas e um único
   destaque verde-limão. Cores em tokens.css.
   ============================================================ */
:root {
  --ease: cubic-bezier(.22, .8, .24, 1);
  --wrap: 1280px; --gut: 32px;
  --tile: rgb(var(--ink) / .05);
  --card: rgb(var(--glass-rgb) / .55);
  --bar: linear-gradient(160deg, #14273a 0%, #0b1722 100%);
}
:root[data-theme="light"] { --tile: #edf1f4; --card: #ffffff; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { --tile: #edf1f4; --card: #ffffff; } }

* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-padding-top: calc(var(--head, 118px) + 64px); }
body {
  font-family: var(--font); color: var(--body); font-size: 16px; line-height: 1.45; min-height: 100vh;
  background: var(--bg) var(--bg-img) center top / cover fixed no-repeat;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0; background: var(--veil); pointer-events: none; z-index: 0; }
h1, h2, h3, p { margin: 0; font-weight: 400; }
a { color: var(--accent-ink); }
button, input, select, textarea { font-family: var(--font); color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; font-size: 16px; }
::placeholder { color: rgb(var(--ink) / .5); }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent-ink) !important; }
.num { font-variant-numeric: tabular-nums; }
.hidden { display: none !important; }
.c-lime { color: var(--accent-ink); }
.c-red { color: var(--red); }
.c-muted { color: var(--caption); }
.hint { font-size: 14px; font-weight: 300; color: var(--caption); line-height: 1.5; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico, .ico16, .ico18, .ico20, .ico22 { display: block; flex-shrink: 0; background: currentColor; pointer-events: none; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.ico { width: 24px; height: 24px; } .ico16 { width: 16px; height: 16px; } .ico18 { width: 18px; height: 18px; }
.ico20 { width: 20px; height: 20px; } .ico22 { width: 22px; height: 22px; }

.site { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip; }
.wrap { width: min(var(--wrap), calc(100% - 2 * var(--gut))); margin-inline: auto; }
main.wrap { flex: 1; display: flex; flex-direction: column; gap: 56px; padding: 24px 0 80px; }
main.wrap.tight { gap: 20px; }

/* ---------- topo: barra da marca + busca + faixa de categorias ---------- */
.site-h { position: sticky; top: 0; z-index: 40; background: var(--bar); color: #fff; box-shadow: 0 1px 0 rgb(255 255 255 / .06), 0 8px 24px rgb(0 0 0 / .12); }
.sh-row { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; color: var(--heading); flex-shrink: 0; }
.site-h .brand, .site-h .wordmark { color: #fff; }
.mark { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(160deg, #1c3042, #0b1722); box-shadow: 0 0 0 1px rgb(255 255 255 / .14) inset, 0 6px 16px rgb(0 0 0 / .25); }
.mark img { width: 74%; height: 74%; display: block; object-fit: contain; }
.wordmark { font-size: 21px; font-weight: 500; letter-spacing: -.02em; white-space: nowrap; }
.wordmark b { font-weight: 500; color: var(--accent-ink); }
.site-h .wordmark b { color: #def080; }
.search { position: relative; flex: 1 1 auto; max-width: 680px; display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 5px 0 18px; border-radius: 100px; background: #fff; color: #1d262e; box-shadow: 0 0 0 1px rgb(0 0 0 / .06); }
.search:focus-within { box-shadow: 0 0 0 3px rgb(222 240 128 / .7); }
.search > .ico20 { color: #66727d; }
.search input { flex: 1; min-width: 0; height: 100%; background: transparent; border: none; color: #111820; font-size: 16px; padding: 0; }
.search input::placeholder { color: #66727d; }
.search input::-webkit-search-cancel-button { display: none; }
.search .btn { --h: 38px; padding: 4px 18px; }
.sh-links { display: flex; align-items: center; gap: 6px; margin-left: auto; flex-shrink: 0; }
.sh-link { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 100px; color: rgb(255 255 255 / .85); text-decoration: none; font-size: 15px; white-space: nowrap; transition: background-color .15s, color .15s; }
.sh-link:hover, .sh-link.is-active { background: rgb(255 255 255 / .1); color: #fff; }
.round-sm { position: relative; width: 42px; height: 42px; border-radius: 50%; background: rgb(255 255 255 / .1); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background-color .18s, transform .14s; }
.round-sm:hover { background: rgb(255 255 255 / .18); }
.m-only { display: none !important; }
.catbar { display: flex; align-items: center; gap: 2px; height: 46px; overflow-x: auto; scrollbar-width: none; border-top: 1px solid rgb(255 255 255 / .08); }
.catbar::-webkit-scrollbar { display: none; }
.catbar a { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 100px; color: rgb(255 255 255 / .8); text-decoration: none; font-size: 15px; white-space: nowrap; transition: background-color .15s, color .15s; }
.catbar a:hover { color: #fff; background: rgb(255 255 255 / .08); }
.catbar a.is-active { color: #141414; background: #def080; }
.catbar a.hot { color: #def080; }
.catbar a.hot .ico16 { color: #def080; }
.catbar .sep { width: 1px; height: 20px; background: rgb(255 255 255 / .15); margin: 0 8px; flex-shrink: 0; }

/* ---------- títulos e utilidades ---------- */
.label { font-size: 15px; font-weight: 300; color: var(--accent-ink); }
.sec { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.sec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }
.sec-h > div:first-child { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sec-h h2 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; color: var(--heading); font-weight: 500; letter-spacing: -.01em; }
.sec-h p:not(.label) { font-size: 15px; font-weight: 300; color: var(--caption); }
.sec-acts { display: flex; align-items: center; gap: 12px; }
.more { display: inline-flex; align-items: center; gap: 6px; color: var(--heading); text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; }
.more .ico16 { transition: transform .2s var(--ease); color: var(--accent-ink); }
.more:hover .ico16 { transform: translateX(3px); }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; font-weight: 300; color: var(--caption); }
.crumbs a { color: var(--caption); text-decoration: none; }
.crumbs a:hover { color: var(--accent-ink); text-decoration: underline; }

/* ---------- botões: um sistema só ----------
   Papel  · primary = ação principal do bloco (uma por bloco) · line = secundária · ghost = neutra (cancelar, sair, limpar)
            danger = destrutiva · .tb-link = ação em texto · .more = link de navegação com seta
   Altura · sm 36px · padrão 44px · lg 52px (min-height: o texto pode quebrar em duas linhas no celular)
   Ícone  · 16px; com a classe .go é a seta que anda no hover
   Botão só de ícone · 36px (.icon-btn, .arrow) · 42px no topo e no banner (.round-sm, .hc-arrow) */
.btn { --h: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--h); padding: 6px 20px; border: 1px solid transparent; border-radius: 10000px; font-size: 15px; font-weight: 500; line-height: 1.2; white-space: nowrap; text-decoration: none; cursor: pointer; user-select: none; transition: background-color .18s, color .18s, border-color .18s, box-shadow .18s, transform .14s; }
.btn.sm { --h: 36px; padding: 4px 14px; font-size: 14px; }
.btn.lg { --h: 52px; padding: 8px 26px; font-size: 16px; }
.btn.wide { width: 100%; }
.btn.primary { background: var(--accent); color: var(--on-accent); }
.btn.primary:hover { background: var(--accent-hover); }
.btn.line { background: transparent; color: var(--heading); border-color: rgb(var(--ink) / .22); }
.btn.line:hover { border-color: var(--accent-ink); color: var(--accent-ink); }
.btn.ghost { background: var(--surface); color: var(--heading); }
.btn.ghost:hover { background: var(--surface-hover); }
.btn.danger, .btn.danger-ghost { background: transparent; border-color: rgb(var(--red-rgb) / .5); color: var(--red); }
.btn.danger:hover, .btn.danger-ghost:hover { background: rgb(var(--red-rgb) / .1); border-color: var(--red); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }
.btn .ico16 { transition: transform .2s var(--ease); }
.btn:hover .ico16.go { transform: translateX(3px); }
.icon-btn, .arrow { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: color .15s, background-color .15s, box-shadow .15s, transform .14s; }
.icon-btn { background: var(--surface); color: var(--body); }
.icon-btn:hover { color: var(--accent-ink); background: var(--surface-hover); }
.icon-btn.danger:hover { color: var(--red); }
.icon-btn.is-on { background: var(--accent); color: var(--on-accent); }
.arrow { background: var(--card); color: var(--heading); box-shadow: 0 0 0 1px var(--hair); }
.arrow:hover { color: var(--accent-ink); box-shadow: 0 0 0 1px var(--accent-ink); }
.tb-link { color: var(--accent-ink); cursor: pointer; font-weight: 500; text-decoration: underline; text-decoration-color: rgb(var(--accent-rgb) / .4); text-underline-offset: 3px; }
.tb-link:hover { text-decoration-color: currentColor; }
.btn:active, .icon-btn:active, .round-sm:active, .arrow:active, .hc-arrow:active, .chip:active, .tb-tab:active { transform: scale(.96); }

.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 100px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.tag.ok { background: var(--accent); color: var(--on-accent); }
.tag.neutral { background: var(--night); color: var(--body); }
.tag.out { border: 1px solid rgb(var(--ink) / .3); color: var(--body); padding: 4px 10px; }
.tag.warn { border: 1px solid var(--amber); color: var(--amber); padding: 4px 10px; }
.tag.bad { border: 1px solid var(--red); color: var(--red); padding: 4px 10px; }
.delta { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 100px; font-size: 13px; font-weight: 600; white-space: nowrap; line-height: 1.3; }
.delta.up { background: rgb(var(--accent-rgb) / .2); color: var(--accent-ink); }
.delta.down { background: rgb(var(--red-rgb) / .12); color: var(--red); }
.delta.flat { background: rgb(var(--ink) / .07); color: var(--caption); font-weight: 500; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.swatch { display: inline-block; width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 0 1px rgb(var(--ink) / .25); vertical-align: -2px; }

/* logotipo de loja: inicial num círculo com a cor da loja */
.slogo { --s: 40px; width: var(--s); height: var(--s); border-radius: 50%; display: inline-grid; place-items: center; flex-shrink: 0; background: var(--c, #64748b); color: #fff; font-weight: 600; font-size: calc(var(--s) * .42); letter-spacing: -.02em; box-shadow: 0 0 0 1px rgb(var(--ink) / .08); }
.slogo.dark-ink { color: #141414; }

/* ---------- carrossel de destaques da página inicial (no máximo 400px de altura) ---------- */
.hc { position: relative; border-radius: 32px; overflow: hidden; background: var(--bar); isolation: isolate; }
.hc-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.hc-track::-webkit-scrollbar { display: none; }
.hc-slide { position: relative; flex: 0 0 100%; height: 380px; max-height: 400px; scroll-snap-align: start; overflow: hidden; isolation: isolate; color: #d4d4d4; }
.hc .label { color: #def080; }
.hc h1, .hc h2 { font-size: clamp(30px, 3vw, 44px); line-height: 1.08; letter-spacing: -.025em; color: #fff; font-weight: 400; text-wrap: balance; margin-top: 8px; }
.hc h1 em, .hc h2 em { font-style: normal; color: #def080; }
.hc .lead { margin-top: 10px; font-size: 16px; font-weight: 300; line-height: 1.55; max-width: 44ch; color: #c9d1d8; }
.hc .ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.hc .btn.line { color: #fff; border-color: rgb(255 255 255 / .32); } /* contorno claro no banner escuro */
.hc .btn.line:hover { border-color: #def080; color: #def080; }

/* slide 1: foto da oficina, carretel flutuando e números reais do catálogo */
.s-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% 45%; z-index: -2; animation: hcZoom 14s ease-out both; }
.s-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(7 17 26 / .94) 0%, rgb(7 17 26 / .82) 36%, rgb(7 17 26 / .25) 62%, rgb(7 17 26 / 0) 80%); }
.s-copy { position: relative; z-index: 1; height: 100%; max-width: 620px; padding: 40px 56px; display: flex; flex-direction: column; justify-content: center; }
.s-spool { position: absolute; z-index: 0; width: 190px; left: 50%; bottom: -34px; transform: rotate(-14deg); filter: drop-shadow(0 24px 30px rgb(0 0 0 / .55)); animation: hcFloat 7s ease-in-out infinite; pointer-events: none; }
.s-chips { position: absolute; z-index: 1; right: 28px; bottom: 28px; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.hchip { display: flex; flex-direction: column; gap: 2px; min-width: 180px; padding: 10px 16px; border-radius: 18px; background: rgb(14 26 38 / .58); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgb(255 255 255 / .14); animation: fadeUp .7s var(--ease) both; animation-delay: calc(.3s + var(--i, 0) * .12s); }
.hchip span { font-size: 12px; font-weight: 300; color: #c9d1d8; }
.hchip b { font-size: 17px; font-weight: 500; color: #fff; font-variant-numeric: tabular-nums; }
.hchip b em { font-style: normal; color: #def080; }

/* slide 2: oferta do dia */
.s-deal { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: center; gap: 32px; padding: 32px 96px 32px 56px; }
.s-deal::after { content: ""; position: absolute; right: -140px; top: -160px; width: 520px; height: 520px; border-radius: 50%; border: 56px solid rgb(222 240 128 / .07); z-index: -1; }
.sd-copy { min-width: 0; }
.sd-meta { margin-top: 8px; font-size: 15px; font-weight: 300; color: #a9a9a9; }
.sd-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.sd-price .v { font-size: 40px; font-weight: 600; letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; }
.sd-price .delta.up { background: rgb(222 240 128 / .16); color: #def080; }
.sd-store { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; font-size: 14px; font-weight: 300; color: #c9d1d8; }
.sd-store .slogo.logo { --s: 30px; box-shadow: none; }
.s-deal h2 { font-size: clamp(24px, 2.4vw, 34px); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sd-media { position: relative; display: grid; place-items: center; height: 300px; border-radius: 26px; background: #fff; overflow: hidden; text-decoration: none; }
.sd-media img.photo, .sd-media > svg { width: 84%; height: 84%; object-fit: contain; transition: transform .6s var(--ease); }
.sd-media:hover img.photo { transform: scale(1.05); }
.sd-media .tag { position: absolute; top: 14px; left: 14px; }

/* controles */
.hc-arrow { position: absolute; top: 50%; z-index: 3; width: 42px; height: 42px; translate: 0 -50%; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgb(14 26 38 / .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgb(255 255 255 / .16); opacity: 0; transition: opacity .2s, background-color .2s; }
.hc:hover .hc-arrow, .hc-arrow:focus-visible { opacity: 1; }
.hc-arrow:hover { background: rgb(14 26 38 / .8); color: #def080; }
.hc-arrow.prev { left: 14px; }
.hc-arrow.next { right: 14px; }
.hc-dots { position: absolute; z-index: 3; left: 50%; translate: -50% 0; bottom: 16px; display: flex; gap: 6px; }
.hc-dots button { width: 8px; height: 8px; border-radius: 8px; background: rgb(255 255 255 / .35); transition: width .35s var(--ease), background-color .3s; }
.hc-dots button.is-on { width: 26px; background: #def080; }
@keyframes hcZoom { from { transform: scale(1.08); } to { transform: none; } }
@keyframes hcFloat { 0%, 100% { transform: rotate(-14deg) translateY(0); } 50% { transform: rotate(-10deg) translateY(-10px); } }

/* slide 3: calculadora de custo */
.s-calc { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: center; gap: 32px; padding: 32px 96px 32px 56px; background: radial-gradient(120% 140% at 100% 0%, rgb(222 240 128 / .16) 0%, rgb(222 240 128 / 0) 55%), var(--bar); }
.s-calc::after { content: ""; position: absolute; left: -120px; bottom: -200px; width: 460px; height: 460px; border-radius: 50%; border: 48px solid rgb(222 240 128 / .06); z-index: -1; }
.sc-copy { min-width: 0; }
.sc-card { display: flex; flex-direction: column; gap: 5px; padding: 16px 20px; border-radius: 26px; background: rgb(14 26 38 / .72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgb(255 255 255 / .12); box-shadow: 0 24px 50px rgb(0 0 0 / .35); text-decoration: none; transform: rotate(1.5deg); transition: transform .4s var(--ease); }
.sc-card:hover { transform: rotate(0deg) translateY(-2px); }
.sc-h { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #def080; margin-bottom: 2px; }
.sc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 5px; border-bottom: 1px dashed rgb(255 255 255 / .14); }
.sc-row > span { display: flex; flex-direction: column; font-size: 13px; line-height: 1.25; color: #d4d4d4; }
.sc-row small { font-size: 11px; font-weight: 300; color: #8f9aa3; }
.sc-row b { font-size: 15px; font-weight: 500; color: #fff; }
.sc-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 4px; }
.sc-total span { font-size: 14px; color: #c9d1d8; }
.sc-total b { font-size: 26px; font-weight: 600; color: #def080; letter-spacing: -.02em; }
.sc-foot { font-size: 11px; font-weight: 300; color: #8f9aa3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 1100px) {
  .s-spool { left: 46%; width: 160px; }
  .s-calc { grid-template-columns: minmax(0, 1fr) 270px; padding: 28px 72px 28px 44px; }
  .s-deal { grid-template-columns: minmax(0, 1fr) 260px; padding: 28px 72px 28px 44px; }
  .sd-media { height: 260px; }
}
@media (max-width: 900px) {
  .s-chips { display: none; }
  .s-spool { left: auto; right: 24px; bottom: -28px; width: 150px; }
  .s-photo::before { background: linear-gradient(90deg, rgb(7 17 26 / .94) 0%, rgb(7 17 26 / .8) 50%, rgb(7 17 26 / .3) 100%); }
  .s-copy { padding: 32px 40px; }
}
@media (max-width: 760px) {
  .hc { border-radius: 26px; margin-inline: calc(-1 * var(--gut) + 8px); }
  .hc-slide { height: 340px; }
  .hc h1 { font-size: 26px; }
  .hc .lead { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .hc .ctas { flex-wrap: nowrap; margin-top: 16px; }
  .hc .btn.lg { flex: 1 1 0; min-width: 0; padding: 6px 10px; font-size: 14px; white-space: normal; text-align: center; }
  .s-bg img { object-position: 60% 40%; }
  .s-photo::before { background: linear-gradient(180deg, rgb(7 17 26 / .45) 0%, rgb(7 17 26 / .82) 45%, rgb(7 17 26 / .95) 100%); }
  .s-copy { justify-content: flex-end; padding: 24px 20px 40px; }
  .s-spool { width: 96px; right: 14px; top: 16px; bottom: auto; }
  .s-deal { display: block; padding: 22px 20px 40px; }
  .s-calc { display: flex; flex-direction: column; justify-content: flex-end; padding: 24px 20px 40px; }
  .sc-card { display: none; }
  .sd-media { position: absolute; top: 18px; right: 18px; width: 84px; height: 84px; border-radius: 16px; }
  .sd-media .tag { display: none; }
  .sd-copy .label, .s-deal h2 { padding-right: 96px; }
  .s-deal h2 { font-size: 20px; line-height: 1.15; }
  .sd-meta { display: none; }
  .sd-price { margin-top: 12px; gap: 8px; }
  .sd-price .v { font-size: 28px; }
  .sd-price .delta { font-size: 12px; }
  .sd-store { flex-wrap: nowrap; }
  .sd-store span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .hc-arrow { display: none; }
  .hc-dots { bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .s-spool, .s-bg img { animation: none; }
  .hc-track { scroll-behavior: auto; }
}

/* ---------- linha de lojas ---------- */
.stores { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.stores::-webkit-scrollbar { display: none; }
.store-it { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 84px; text-decoration: none; color: var(--body); font-size: 14px; text-align: center; }
.store-it .slogo { --s: 64px; width: 128px; border-radius: 18px; transition: transform .25s var(--ease), box-shadow .25s; }
.store-it:hover .slogo { transform: translateY(-3px); box-shadow: 0 0 0 3px var(--accent); }
.store-it b { font-weight: 500; color: var(--heading); white-space: nowrap; }
.store-it > span:not(.slogo) { font-size: 13px; font-weight: 300; color: var(--caption); margin-top: -6px; }

/* ---------- atalhos de material ---------- */
.cats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(128px, 1fr); gap: 12px; overflow-x: auto; scrollbar-width: none; padding: 8px 4px; margin: -6px -2px; }
.cats::-webkit-scrollbar { display: none; }
.cat { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 10px 14px; border-radius: 22px; background: var(--card); box-shadow: 0 0 0 1px var(--hair); text-decoration: none; color: var(--heading); text-align: center; transition: box-shadow .2s, transform .25s var(--ease); }
.cat:hover { box-shadow: 0 0 0 2px var(--accent-ink); transform: translateY(-2px); }
.cat .ic { width: 64px; height: 64px; display: grid; place-items: center; }
.cat .ic svg { width: 100%; height: 100%; }
.cat b { font-weight: 500; font-size: 15px; }
.cat > span:not(.ic) { font-size: 12px; font-weight: 300; color: var(--caption); margin-top: -6px; }

/* ---------- cartão de produto (imagem em bloco + texto solto, como nos comparadores) ---------- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 28px 16px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 16px) / 5); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.pcard { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; animation: fadeUp .5s var(--ease) both; animation-delay: calc(var(--i, 0) * .035s); }
.pcard-media { position: relative; display: grid; place-items: center; aspect-ratio: 1; min-height: 0; overflow: hidden; border-radius: 22px; background: var(--tile); }
.pcard-media svg, .pcard-media img { width: 64%; height: auto; max-height: 84%; object-fit: contain; transition: transform .6s var(--ease); }
.pcard:hover .pcard-media > svg { transform: rotate(-14deg) scale(1.04); }
.pcard:hover .pcard-media img.photo { transform: scale(1.05); }
.pcard-media .tag { position: absolute; top: 10px; left: 10px; }
.pcard-b { display: flex; flex-direction: column; gap: 3px; padding: 0 2px; }
.pcard h3 { font-size: 15px; font-weight: 400; color: var(--heading); line-height: 1.35; min-height: calc(2em * 1.35); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard h3 a { color: inherit; text-decoration: none; }
.pcard h3 a::after { content: ""; position: absolute; inset: 0; }
.pcard:hover h3 { text-decoration: underline; text-decoration-color: rgb(var(--ink) / .3); text-underline-offset: 3px; }
.pcard-spec { font-size: 13px; font-weight: 300; color: var(--caption); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.pcard-price .v { font-size: 20px; font-weight: 600; color: var(--heading); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.pcard-price .kg { font-size: 13px; font-weight: 300; color: var(--caption); }
.pcard-stores { font-size: 13px; color: var(--body); }
.pcard-stores u { text-decoration-color: rgb(var(--ink) / .3); text-underline-offset: 3px; }
.empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 56px 24px; text-align: center; border-radius: 26px; background: var(--card); box-shadow: 0 0 0 1px var(--hair); color: var(--heading); font-size: 18px; grid-column: 1 / -1; }
.empty .hint { max-width: 340px; }
.empty-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--surface); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; }

/* faixa de confiança */
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-radius: 26px; background: var(--card); box-shadow: 0 0 0 1px var(--hair); }
.trust > div { display: flex; gap: 16px; padding: 24px; }
.trust > div + div { border-left: 1px solid var(--hair); }
.trust .ti { width: 44px; height: 44px; border-radius: 50%; background: var(--surface); color: var(--accent-ink); display: grid; place-items: center; flex-shrink: 0; }
.trust b { display: block; font-weight: 500; color: var(--heading); margin-bottom: 4px; }
.trust p { font-size: 14px; font-weight: 300; line-height: 1.5; }

/* ---------- lista ---------- */
.list-h { display: flex; flex-direction: column; gap: 10px; }
.list-h h1 { font-size: clamp(30px, 3vw, 42px); color: var(--heading); line-height: 1.1; letter-spacing: -.02em; font-weight: 500; }
.list-h .intro { font-size: 15px; font-weight: 300; line-height: 1.6; max-width: 80ch; }
.subcats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.subcats::-webkit-scrollbar { display: none; }
.subcat { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px 0 6px; border-radius: 100px; background: var(--card); box-shadow: 0 0 0 1px var(--hair); color: var(--heading); text-decoration: none; font-size: 15px; white-space: nowrap; transition: box-shadow .15s; }
.subcat:hover { box-shadow: 0 0 0 2px var(--accent-ink); }
.subcat.is-active { background: var(--accent); color: var(--on-accent); box-shadow: none; }
.subcat svg { width: 34px; height: 34px; }
.layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
.filters { position: sticky; top: calc(var(--head, 118px) + 20px); display: flex; flex-direction: column; max-height: calc(100vh - var(--head, 118px) - 40px); overflow-y: auto; padding-right: 6px; scrollbar-width: thin; }
.f-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 6px; }
.f-head b { font-size: 20px; font-weight: 500; color: var(--heading); }
.f-sec { padding: 16px 0; border-bottom: 1px solid var(--hair); }
.f-sec:last-of-type { border-bottom: none; }
.f-sec h3 { font-size: 15px; font-weight: 500; color: var(--heading); margin-bottom: 8px; }
/* filtro de cor: uma opção por linha, com a amostra da cor antes do nome */
.f-colors { display: flex; flex-direction: column; }
.f-color .dot { flex: none; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(var(--ink) / .25); }
.f-color input:checked ~ .dot { box-shadow: 0 0 0 2px var(--accent-ink); }
.f-opt { display: flex; align-items: center; gap: 10px; width: 100%; padding: 5px 0; font-size: 15px; color: var(--body); cursor: pointer; }
.f-opt:hover { color: var(--heading); }
.f-opt input { accent-color: var(--accent-ink); width: 17px; height: 17px; margin: 0; flex-shrink: 0; }
.f-opt .n { margin-left: auto; font-size: 13px; font-weight: 300; color: var(--caption); }
.f-range { display: flex; gap: 6px; align-items: center; }
.f-range input { width: 100%; min-width: 0; height: 40px; padding: 0 10px; border-radius: 12px; background: var(--field); border: 1px solid var(--field-border); color: var(--heading); font-size: 15px; }
.f-foot { display: none; }
.results { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.res-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--hair); }
.res-bar .n { font-size: 15px; color: var(--body); }
.res-bar .n b { font-weight: 500; color: var(--heading); }
.res-tools { display: flex; align-items: center; gap: 8px; }
.active-f { display: flex; gap: 8px; flex-wrap: wrap; }
.active-f:empty { display: none; }
.af { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px 7px 14px; border-radius: 100px; background: var(--surface); color: var(--body); font-size: 14px; transition: color .15s, background-color .15s; }
.af:hover { color: var(--red); background: var(--surface-hover); }
.af .ico16 { width: 12px; height: 12px; }
.sel { position: relative; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 300; color: var(--caption); }
.sel select { appearance: none; height: 40px; padding: 0 38px 0 14px; border-radius: 100px; border: 1px solid rgb(var(--ink) / .16); background: var(--card); color: var(--heading); font-size: 14px; cursor: pointer; }
.sel::after { content: ""; position: absolute; right: 14px; top: 50%; width: 12px; height: 12px; translate: 0 -50%; background: var(--heading); -webkit-mask: url("../icons/direita.svg") center / 5px 10px no-repeat; mask: url("../icons/direita.svg") center / 5px 10px no-repeat; transform: rotate(90deg); pointer-events: none; }
.f-open { display: none; }

/* ---------- produto ---------- */
.pd-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.pd-top h1 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; letter-spacing: -.015em; color: var(--heading); font-weight: 500; text-wrap: balance; }
.pd-sub { display: flex; align-items: center; gap: 6px 16px; flex-wrap: wrap; margin-top: 8px; font-size: 15px; font-weight: 300; }
.pd-sub a { color: var(--body); }
.pd-sub b { font-weight: 500; color: var(--heading); }
.pd-acts { display: flex; gap: 8px; }
.pd { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; align-items: start; }
.pd-media { position: sticky; top: calc(var(--head, 118px) + 20px); display: grid; place-items: center; aspect-ratio: 1; border-radius: 28px; background: var(--tile); }
.pd-media svg, .pd-media img { width: 62%; height: auto; max-height: 82%; object-fit: contain; animation: spinIn 1.1s var(--ease) both; }
.pd-media .tag { position: absolute; top: 18px; left: 18px; }
.pd-media .chips { position: absolute; left: 18px; bottom: 18px; right: 18px; display: flex; gap: 6px; flex-wrap: wrap; }
.pd-media .chips .tag { position: static; background: var(--card); color: var(--body); box-shadow: 0 0 0 1px var(--hair); }
.pd-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.verdict { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px 16px; align-items: center; padding: 16px 20px; border-radius: 22px; background: var(--card); box-shadow: 0 0 0 1px var(--hair); }
.verdict b { font-weight: 500; color: var(--heading); }
.verdict b em { font-style: normal; color: var(--accent-ink); }
.verdict.high b em { color: var(--amber); }
.verdict p { font-size: 13px; font-weight: 300; color: var(--caption); margin-top: 2px; }
.gauge { grid-column: 1 / -1; position: relative; height: 6px; border-radius: 100px; background: linear-gradient(90deg, var(--accent) 0%, rgb(var(--ink) / .14) 45%, rgb(var(--amber-rgb) / .6) 100%); }
.gauge i { position: absolute; top: 50%; left: var(--p); width: 16px; height: 16px; border-radius: 50%; background: var(--heading); border: 3px solid var(--card); translate: -50% -50%; box-shadow: 0 1px 4px rgb(0 0 0 / .25); }
.gauge-l { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: 12px; font-weight: 300; color: var(--caption); margin-top: -4px; }
.top-offer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; align-items: center; padding: 18px 20px; border-radius: 22px; background: var(--card); box-shadow: 0 0 0 1px var(--hair); position: relative; }
.top-offer.best { box-shadow: 0 0 0 2px var(--accent-ink); }
.top-offer .badge-b { position: absolute; top: -10px; left: 18px; }
.to-p .v { font-size: 30px; font-weight: 600; color: var(--heading); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.to-p .s { font-size: 14px; font-weight: 300; color: var(--caption); }
.to-p .s .free { color: var(--accent-ink); font-weight: 400; }
.to-s { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.to-store { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--heading); }
.to-store .slogo { --s: 32px; }
.top-offer .btn { min-width: 150px; }
.see-all { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 100px; background: var(--heading); color: var(--bg); text-decoration: none; font-weight: 500; transition: opacity .15s; }
.see-all:hover { opacity: .9; }
.pd-tabs { position: sticky; top: var(--head, 118px); z-index: 30; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin-top: 16px; padding: 8px 0; background: rgb(var(--sheet-rgb) / .9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--hair); }
.pd-tabs::-webkit-scrollbar { display: none; }
.pd-tabs a { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 100px; color: var(--nav); text-decoration: none; font-size: 15px; white-space: nowrap; transition: background-color .15s, color .15s; }
.pd-tabs a:hover { background: rgb(var(--ink) / .05); }
.pd-tabs a.is-active { background: var(--glass-active); color: var(--accent-ink); }
.pd-sec { display: flex; flex-direction: column; gap: 16px; padding-top: 28px; }
.pd-sec > h2 { font-size: clamp(22px, 2vw, 28px); font-weight: 500; color: var(--heading); }
.olist { display: flex; flex-direction: column; border-radius: 22px; background: var(--card); box-shadow: 0 0 0 1px var(--hair); overflow: hidden; }
.orow { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto auto; align-items: center; gap: 16px; padding: 16px 20px; border-top: 1px solid var(--hair); text-decoration: none; color: inherit; transition: background-color .15s; animation: fadeUpSm .4s var(--ease) both; animation-delay: calc(var(--i, 0) * .04s); }
.orow:first-child { border-top: none; }
.orow:hover { background: rgb(var(--ink) / .03); }
.orow.out { opacity: .55; }
.orow .nm { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 500; color: var(--heading); }
.orow .dt { display: flex; gap: 4px 12px; flex-wrap: wrap; font-size: 13px; font-weight: 300; color: var(--caption); margin-top: 2px; }
.orow .dt .free { color: var(--accent-ink); font-weight: 400; }
.orow .pr { text-align: right; }
.orow .pr .v { font-size: 20px; font-weight: 600; color: var(--heading); font-variant-numeric: tabular-nums; }
.orow .pr .s { font-size: 13px; font-weight: 300; color: var(--caption); }
.orow .go-i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--heading); transition: background-color .15s, color .15s; }
.orow:hover .go-i { background: var(--accent); color: var(--on-accent); }
.hist { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.panel { padding: 22px; border-radius: 22px; background: var(--card); box-shadow: 0 0 0 1px var(--hair); min-width: 0; }
.chart svg { display: block; width: 100%; height: auto; }
.chart .grow { animation: drawLine 1.4s var(--ease) both .2s; }
.periods { display: flex; gap: 6px; margin-top: 14px; }
.periods button { height: 34px; padding: 0 14px; border-radius: 100px; font-size: 14px; color: var(--body); box-shadow: inset 0 0 0 1px rgb(var(--ink) / .16); }
.periods button.is-on { background: var(--heading); color: var(--bg); box-shadow: none; }
.hist-sum { display: flex; flex-direction: column; gap: 0; }
.hist-sum div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--hair); font-size: 15px; }
.hist-sum div:last-child { border-bottom: none; }
.hist-sum span { color: var(--caption); font-weight: 300; }
.hist-sum b { font-weight: 500; color: var(--heading); font-variant-numeric: tabular-nums; }
.spec { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec th, .spec td { text-align: left; padding: 13px 20px; border-bottom: 1px solid var(--hair); vertical-align: top; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: none; }
.spec th { width: 40%; font-weight: 300; color: var(--caption); background: rgb(var(--ink) / .025); }
.spec td { color: var(--heading); }
.footnote { font-size: 13px; font-weight: 300; color: var(--caption); line-height: 1.5; }



/* ---------- rodapé ---------- */
.site-f { position: relative; z-index: 1; background: var(--bar); color: #a9a9a9; margin-top: 24px; }
.site-f .brand, .site-f .wordmark { color: #fff; }
.site-f .wordmark b { color: #def080; }
.sf-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding: 48px 0 32px; }
.sf-grid p { font-size: 14px; font-weight: 300; line-height: 1.6; max-width: 46ch; margin-top: 14px; }
.sf-col { display: flex; flex-direction: column; gap: 10px; }
.sf-col b { font-weight: 500; color: #fff; margin-bottom: 4px; }
.sf-col a { font-size: 14px; font-weight: 300; color: #a9a9a9; text-decoration: none; }
.sf-col a:hover { color: #def080; }
.sf-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 20px 0 32px; border-top: 1px solid rgb(255 255 255 / .1); font-size: 13px; font-weight: 300; }

/* ---------- componentes do painel ---------- */
.tb-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tb-search { flex: 0 1 556px; min-width: 220px; display: flex; align-items: center; gap: 16px; height: 56px; padding: 0 8px 0 20px; border-radius: 100px; background: rgb(var(--ink) / .1); border: 1px solid var(--glass-border); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.tb-search:focus-within { border-color: var(--accent-ink); }
.tb-search .ico20 { color: var(--caption); }
.tb-search input { flex: 1; min-width: 0; height: 100%; background: transparent; border: none; color: var(--heading); font-size: 16px; padding: 0; }
.tb-tabs { display: flex; align-items: center; gap: 2px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.tb-tabs::-webkit-scrollbar { display: none; }
.tb-tab { display: flex; align-items: center; height: 52px; padding: 0 20px; border-radius: 10000px; color: var(--nav); font-size: 16px; white-space: nowrap; transition: background-color .15s, color .15s, transform .14s; }
.tb-tab:hover { background: rgb(var(--ink) / .05); }
.tb-tab.is-active { background: var(--glass-active); color: var(--accent-ink); }
.admin-head { display: flex; flex-direction: column; gap: 8px; }
.admin-head h1 { font-size: 44px; color: var(--accent-ink); line-height: 1.1; }
.greet { font-size: 20px; font-weight: 300; color: var(--caption); }
.gcard { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: 32px; background: var(--glass); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); min-width: 0; }
.gcard.strong { background: var(--glass-strong); }
.gcard-h { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.gcard-h h2 { flex: 1; min-width: 0; font-size: 26px; color: var(--heading); }
.gcard-h h2.sm { font-size: 22px; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.kpi { display: flex; align-items: center; gap: 20px; padding: 22px; border-radius: 28px; background: var(--glass); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); min-width: 0; }
.kpi-ico { width: 48px; height: 48px; border-radius: 1000px; background: var(--surface); display: flex; align-items: center; justify-content: center; color: var(--accent-ink); flex-shrink: 0; }
.kpi-t { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.kpi-l { font-size: 15px; font-weight: 300; color: var(--caption); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi-v { font-size: 26px; color: var(--heading); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.kpi-v.lemon { color: var(--accent-ink); }
.tcard { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: 32px; background: var(--glass-strong); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); min-width: 0; }
.tbl-wrap { overflow-x: auto; border-radius: 12px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th { height: 30px; padding: 0 12px 8px; text-align: left; font-weight: 400; font-size: 16px; color: var(--caption); white-space: nowrap; }
.tbl td { height: 56px; padding: 8px 12px; border-bottom: 1px solid rgb(var(--ink) / .06); color: var(--body); }
.tbl tbody tr:last-child td { border-bottom: none; }
.tbl tbody tr:hover td { background: rgb(var(--ink) / .03); }
.tbl .r { text-align: right; }
.tbl .strong { color: var(--heading); }
.tbl tbody tr { animation: fadeUpSm .45s var(--ease) both; animation-delay: calc(.08s + var(--i, 0) * .03s); }
.store { display: inline-flex; align-items: center; gap: 10px; color: var(--heading); }
.acts { display: flex; gap: 6px; align-items: center; justify-content: flex-end; }
.hbars { display: flex; flex-direction: column; gap: 12px; }
.hb-row { display: grid; grid-template-columns: minmax(0, 200px) 1fr auto; align-items: center; gap: 12px; font-size: 14px; }
.hb-n { color: var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-v { color: var(--heading); font-weight: 500; white-space: nowrap; }
.hb-bar { height: 6px; border-radius: 100px; background: rgba(114, 114, 114, .25); overflow: hidden; }
.hb-bar i { display: block; height: 100%; border-radius: 100px; background: var(--caption); transform-origin: left; animation: growX .8s var(--ease) both .2s; }
.hb-row:first-child .hb-bar i { background: var(--accent); }
.cols { display: flex; align-items: flex-end; gap: 4px; height: 140px; padding-top: 8px; border-bottom: 1px solid rgba(169, 169, 169, .35); }
.cols i { flex: 1; min-height: 2px; border-radius: 6px 6px 2px 2px; background: var(--caption); opacity: .7; transform-origin: bottom; animation: growY .8s var(--ease) both; animation-delay: calc(.2s + var(--i, 0) * .015s); }
.cols i.cur { background: var(--accent); opacity: 1; }

/* formulários */
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field > span:first-child, .field label { font-size: 14px; font-weight: 300; color: var(--caption); }
.field input, .field select, .field textarea, .inp { width: 100%; min-width: 0; height: 48px; padding: 0 14px; border-radius: 14px; font-size: 16px; color: var(--heading); background: var(--field); border: 1px solid var(--field-border); transition: border-color .15s; }
.field textarea { height: auto; padding: 12px 14px; line-height: 1.45; resize: vertical; }
.field textarea.code { font-family: ui-monospace, Consolas, monospace; font-size: 13px; }
.field select { appearance: none; cursor: pointer; padding-right: 40px; text-overflow: ellipsis; background-image: linear-gradient(45deg, transparent 50%, var(--caption) 50%), linear-gradient(135deg, var(--caption) 50%, transparent 50%); background-position: calc(100% - 21px) 50%, calc(100% - 16px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
/* lista aberta do select (desenhada pelo sistema): fundo e texto do tema, para não ficar texto claro em fundo branco */
select option, select optgroup { background-color: var(--menu); color: var(--heading); }
.field small { font-size: 13px; font-weight: 300; color: var(--caption); line-height: 1.4; }
.field input[type="color"] { padding: 4px; cursor: pointer; }
.pair { display: flex; gap: 6px; }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.span-all { grid-column: 1 / -1; }
.check { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--body); cursor: pointer; }
.check input { accent-color: var(--accent-ink); width: 18px; height: 18px; margin: 0; }
.switch { position: relative; width: 50px; height: 30px; border-radius: 100px; background: var(--surface-hover); flex-shrink: 0; cursor: pointer; transition: background-color .2s ease; }
.switch i { position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--heading); transition: transform .22s var(--ease), background-color .2s ease; }
.switch.is-on { background: var(--accent); }
.switch.is-on i { transform: translateX(20px); background: var(--on-accent); }
.alert { border: 1px solid var(--amber); border-radius: 16px; background: rgb(var(--amber-rgb) / .06); color: var(--amber); padding: 12px 16px; font-size: 15px; line-height: 1.45; }
.alert .tb-link { color: inherit; }
.note-lime { padding: 12px 16px; border-radius: 16px; background: rgb(var(--accent-rgb) / .1); border: 1px solid rgb(var(--accent-rgb) / .25); font-size: 15px; color: var(--body); line-height: 1.45; }
.form-err { padding: 12px 14px; border-radius: 14px; background: rgb(var(--red-rgb) / .1); border: 1px solid rgb(var(--red-rgb) / .35); color: var(--red); font-size: 14px; }
.ok-t { color: var(--accent-ink); }
.warn-t { color: var(--amber); }
.link-out { font-size: 13px; font-weight: 300; color: var(--caption); word-break: break-all; }
.auth-card { width: 100%; max-width: 460px; margin: 40px auto; display: flex; flex-direction: column; gap: 16px; padding: 32px; border-radius: 32px; background: var(--glass-strong); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.auth-card h1 { font-size: 30px; color: var(--heading); font-weight: 500; letter-spacing: -.5px; }
.plat-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.plat details summary { cursor: pointer; font-size: 14px; font-weight: 300; color: var(--caption); }
.plat details[open] summary { margin-bottom: 16px; }
.sub-panel { border: 1px solid var(--hair); border-radius: 20px; background: rgb(var(--ink) / .025); }
.sub-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--hair); font-size: 16px; color: var(--heading); }
.offer-ed { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 12px; padding: 16px; border-bottom: 1px solid var(--hair); animation: fadeUpSm .35s var(--ease) both; }
.offer-ed:last-child { border-bottom: none; }
.offer-ed .row { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.offer-ed .row .icon-btn { margin-left: auto; }
.offer-ed .status { grid-column: 1 / -1; font-size: 14px; }
.offer-ed details summary { cursor: pointer; font-size: 14px; font-weight: 300; color: var(--caption); }
.offer-ed details .inp { margin-top: 8px; }

/* ---------- gaveta e menus ---------- */
.overlay { position: fixed; inset: 0; z-index: 50; display: flex; justify-content: flex-end; padding: 12px; background: rgb(var(--shade) / .5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: fadeIn .28s ease both; }
.overlay.leaving { animation: fadeOut .24s ease forwards; pointer-events: none; }
.drawer { width: 100%; max-width: 680px; height: 100%; overflow-y: auto; display: flex; flex-direction: column; background: rgb(var(--sheet-rgb) / .94); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); border: 1px solid var(--hair); border-radius: 32px; box-shadow: 0 24px 80px rgb(var(--shade) / .55); animation: drawerIn .42s var(--ease) both; }
.overlay.leaving .drawer { animation: drawerOut .24s ease forwards; }
.drawer-grip { display: none; }
.overlay.center { justify-content: center; align-items: center; padding: 24px; }
.drawer.box { height: auto; max-height: 100%; max-width: 480px; animation-name: boxIn; }
.overlay.center.leaving .drawer { animation: fadeOut .2s ease forwards; }
.confirm-text { font-size: 16px; font-weight: 300; color: var(--body); line-height: 1.5; }
.drawer-h { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 28px 20px; }
.drawer-h .title { font-size: 28px; color: var(--heading); }
.drawer-h .close { width: 44px; height: 44px; border-radius: 1000px; background: var(--surface); display: flex; align-items: center; justify-content: center; color: var(--body); flex-shrink: 0; }
.drawer-h .close:hover { color: var(--red); }
.drawer-body { display: flex; flex-direction: column; gap: 20px; padding: 8px 28px 24px; }
.drawer-f { display: flex; justify-content: flex-end; gap: 8px; padding: 20px 28px; border-top: 1px solid var(--hair); margin-top: auto; position: sticky; bottom: 0; background: rgb(var(--sheet-rgb) / .96); }
.drawer-f .push { margin-right: auto; }
.toasts { position: fixed; right: 24px; bottom: 24px; z-index: 120; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; pointer-events: none; }
.toast { max-width: 420px; padding: 14px 18px; border-radius: 18px; background: rgb(var(--sheet-rgb) / .97); border: 1px solid var(--hair); border-left: 3px solid var(--accent-ink); color: var(--heading); font-size: 14px; line-height: 1.45; box-shadow: 0 16px 40px rgb(var(--shade) / .5); animation: fadeUp .35s var(--ease) both; }
.toast.bad { border-left-color: var(--red); }
.toast.out { animation: fadeOut .3s ease forwards; }

/* ---------- movimento ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fadeUpSm { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes drawerIn { from { opacity: 0; transform: translateX(48px); } to { opacity: 1; transform: none; } }
@keyframes drawerOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateX(48px); } }
@keyframes boxIn { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes sheetIn { from { transform: translateY(100%); } to { transform: none; } }
@keyframes sheetOut { from { transform: none; } to { transform: translateY(100%); } }
@keyframes growX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes growY { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes spinIn { from { opacity: 0; transform: rotate(-60deg) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes drawLine { from { stroke-dashoffset: var(--len, 2000); } to { stroke-dashoffset: 0; } }
.enter > * { animation: fadeUp .6s var(--ease) both; }
.enter > :nth-child(2) { animation-delay: .07s; }
.enter > :nth-child(3) { animation-delay: .14s; }
.enter > :nth-child(n+4) { animation-delay: .2s; }
.rv { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ---------- responsivo ---------- */
@media (max-width: 1180px) {
  .rail { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
  .sh-link .l { display: none; }
}
@media (max-width: 1024px) {
  .sf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sf-grid > :first-child { grid-column: 1 / -1; }
  .hist { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .pd { grid-template-columns: minmax(0, 1fr); }
  .pd-media { position: relative; top: 0; aspect-ratio: auto; height: 340px; }
  .pd-media svg, .pd-media img { width: auto; height: 70%; }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .f-open { display: inline-flex; }
  .filters { position: fixed; inset: auto 0 0 0; top: auto; z-index: 60; max-height: 88vh; border-radius: 28px 28px 0 0; background: rgb(var(--sheet-rgb) / .98); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: 0 -20px 60px rgb(var(--shade) / .35); padding: 8px 20px 0; transform: translateY(105%); transition: transform .38s var(--ease); visibility: hidden; }
  .filters.open { transform: none; visibility: visible; }
  .filters::before { content: ""; display: block; width: 40px; height: 5px; border-radius: 100px; background: rgb(var(--ink) / .2); margin: 4px auto 8px; flex-shrink: 0; }
  .f-foot { display: flex; gap: 8px; position: sticky; bottom: 0; padding: 14px 0 calc(16px + env(safe-area-inset-bottom, 0px)); background: rgb(var(--sheet-rgb) / .98); border-top: 1px solid var(--hair); margin-top: auto; }
  .f-foot .btn { flex: 1; }
  .f-scrim { position: fixed; inset: 0; z-index: 55; background: rgb(var(--shade) / .5); animation: fadeIn .25s ease both; }
  .tcard.cards { padding: 0; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 0; }
  .tcard.cards .tbl-wrap { overflow: visible; }
  .tcard.cards .tbl, .tcard.cards .tbl tbody { display: block; }
  .tcard.cards .tbl thead { display: none; }
  .tcard.cards .tbl tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; padding: 16px; margin-bottom: 10px; border-radius: 22px; background: var(--glass-strong); }
  .tcard.cards .tbl tbody tr:hover td { background: none; }
  .tcard.cards .tbl td { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; height: auto; padding: 0; border: none; text-align: left !important; min-width: 0; }
  .tcard.cards .tbl td::before { content: attr(data-label); font-size: 13px; font-weight: 300; color: var(--caption); }
  .tcard.cards .tbl td:first-child { grid-column: 1 / -1; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 17px; }
  .tcard.cards .tbl td:first-child::before, .tcard.cards .tbl td:last-child::before { display: none; }
  /* nome longo do produto quebra linha dentro do cartão em vez de passar da borda */
  .tcard.cards .tbl td:first-child .store { display: flex; flex: 1 1 100%; min-width: 0; }
  .tcard.cards .tbl td:first-child .store > span:last-child { min-width: 0; overflow-wrap: anywhere; }
  .tcard.cards .tbl td:last-child { grid-column: 1 / -1; }
  .tcard.cards .tbl td .acts { justify-content: flex-start; }
  .two { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  :root { --gut: 16px; }
  main.wrap { gap: 40px; padding: 16px 0 64px; }
  .sh-row { gap: 10px; height: 60px; }
  .sh-row > .search { display: none; }
  .m-only { display: inline-flex !important; }
  /* a busca do celular ocupa a largura toda (inline-flex encolheria até o conteúdo e o botão Buscar sairia da tela) */
  .m-only.sh-search { display: block !important; width: 100%; }
  .d-only { display: none !important; }
  .sh-search { padding-bottom: 10px; }
  .sh-search .search { max-width: none; height: 46px; }
  .mark { width: 36px; height: 36px; }
  .wordmark { font-size: 19px; }
  .catbar { height: 44px; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); }
  .stores { gap: 14px; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); }
  .store-it { min-width: 108px; }
  .store-it .slogo.logo { width: 108px; padding: 0 12px; }
  .store-it .slogo { --s: 56px; }
  .cats { grid-auto-columns: 112px; margin: -6px calc(-1 * var(--gut)); padding: 8px var(--gut); gap: 10px; }
  .rail { grid-auto-columns: 46%; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scroll-padding-inline: var(--gut); gap: 12px; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .pcard-media { border-radius: 18px; }
  .pcard-media .tag { top: 8px; left: 8px; padding: 4px 8px; font-size: 11px; }
  .pcard h3 { font-size: 14px; }
  .pcard-price .v { font-size: 18px; }
  .trust { grid-template-columns: minmax(0, 1fr); }
  .trust > div + div { border-left: none; border-top: 1px solid var(--hair); }
  .trust > div { padding: 18px; }
  .subcats { margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); }
  .res-bar { padding-bottom: 12px; }
  .res-tools { width: 100%; }
  .res-tools .sel { flex: 1; }
  .res-tools .sel select { width: 100%; }
  .res-tools .sel > span { display: none; }
  .pd-top h1 { font-size: 24px; }
  .pd-acts { width: 100%; flex-wrap: wrap; }
  .pd-acts .btn { flex: 1 1 140px; }
  .pd-media { height: 260px; border-radius: 22px; }
  .top-offer { grid-template-columns: minmax(0, 1fr); padding: 18px 16px 16px; }
  .to-s { flex-direction: row; justify-content: space-between; align-items: center; }
  .top-offer .btn { min-width: 0; }
  .pd-tabs { margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); }
  .orow { grid-template-columns: 80px minmax(0, 1fr) auto; gap: 12px; padding: 14px; }
  .orow .slogo { --s: 36px !important; }
  .orow .go-i { display: none; }
  .spec th, .spec td { padding: 12px 14px; }
  .gcard, .tcard { padding: 18px; border-radius: 24px; }
  .gcard-h h2 { font-size: 22px; }
  .kpis { grid-template-columns: minmax(0, 1fr); }
  .admin-head h1 { font-size: 32px; }
  .greet { font-size: 17px; }
  .fgrid { grid-template-columns: minmax(0, 1fr); }
  .hb-row { grid-template-columns: minmax(0, 100px) 1fr auto; }
  .sf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-top: 36px; }
  .toasts { left: 12px; right: 12px; bottom: 84px; }
  .toast { max-width: none; }
  .overlay { align-items: flex-end; padding: 0; }
  .drawer { max-width: 100%; height: auto; max-height: 94vh; border-radius: 28px 28px 0 0; border: none; border-top: 1px solid var(--hair); animation: sheetIn .38s var(--ease) both; }
  .overlay.leaving .drawer { animation: sheetOut .24s ease forwards; }
  .drawer-grip { display: block; width: 40px; height: 5px; border-radius: 100px; background: rgb(var(--ink) / .2); margin: 10px auto 0; flex-shrink: 0; }
  .drawer-h { padding: 10px 16px 12px; }
  .drawer-h .title { font-size: 22px; }
  .drawer-body { padding: 8px 16px 20px; }
  .drawer-f { padding: 16px; flex-wrap: wrap; }
  .drawer-f .btn { flex: 1 1 auto; }
  .offer-ed { grid-template-columns: minmax(0, 1fr) 110px; padding: 14px; }
  .auth-card { padding: 22px 18px; margin: 16px auto; border-radius: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
}

/* ---------- fotos reais, logotipos e símbolo ---------- */
.has-photo { background: #fff !important; box-shadow: inset 0 0 0 1px rgb(var(--ink) / .06); }
.pcard-media img.photo, .deal-media img.photo, .pd-media img.photo { width: 86%; height: 86%; max-height: none; object-fit: contain; animation: none; }
/* foto de qualquer proporção dentro do quadrado, sem esticar o cartão */
.pcard-media img.photo { position: absolute; inset: 0; margin: auto; }
.pd-media img.photo { width: 80%; height: 80%; animation: fadeIn .6s ease both; }
.fallback { display: none; }
.img-fail { background: var(--tile) !important; }
.img-fail > img.photo { display: none; }
.img-fail > .fallback { display: contents; }
.ph { width: 34%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--caption); }
.ph .ico { width: 44%; height: 44%; }
.slogo.logo { width: calc(var(--s) * 2.2); border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgb(var(--ink) / .1); padding: 0 8px; }
.slogo.logo img { width: 100%; height: calc(var(--s) * .6); min-height: 0; object-fit: contain; display: block; }
.store-it .slogo.logo { width: 128px; padding: 0 16px; }
.swatch.img { background: #fff; overflow: hidden; display: inline-grid; place-items: center; }
.swatch.img img { width: 88%; height: 88%; object-fit: contain; }
.cat .ic.photo { width: 88px; height: 88px; border-radius: 16px; background: #fff; overflow: hidden; }
.cat .ic.photo img { width: 90%; height: 90%; object-fit: contain; }
.cat .ic.img-fail { background: var(--tile); }
.cat .ic.img-fail > .fallback { display: grid; place-items: center; }
.orow .slogo.logo, .top-offer .slogo.logo { --s: 36px; }

/* ---------- calculadora de custo ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); gap: 20px; align-items: start; margin-top: 20px; }
.calc-form { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.calc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.calc-grid.fil { grid-template-columns: minmax(110px, 160px) minmax(0, 1fr); }
.calc-grid.fil #ppk-wrap { grid-column: 1 / -1; }
.calc-n { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 10px; border-radius: 100px; background: var(--accent); color: var(--on-accent); font-size: 14px; font-weight: 600; vertical-align: 3px; }
.unit { position: relative; flex: 1; min-width: 0; }
.unit input { padding-right: 46px !important; }
.unit i { position: absolute; right: 14px; top: 50%; translate: 0 -50%; font-style: normal; font-size: 14px; color: var(--caption); pointer-events: none; }
.calc-more summary { list-style: none; cursor: pointer; }
.calc-more summary::-webkit-details-marker { display: none; }
.calc-more summary h2 { font-size: 20px; color: var(--heading); display: flex; align-items: center; }
.calc-more summary h2::after { content: "+"; margin-left: auto; padding-left: 12px; font-size: 24px; font-weight: 300; color: var(--caption); }
.calc-more[open] summary h2::after { content: "−"; }
.calc-more[open] summary { margin-bottom: 4px; }
.calc-side { position: sticky; top: calc(var(--head, 120px) + 16px); display: flex; flex-direction: column; gap: 16px; }
.calc-big { font-size: clamp(36px, 4vw, 48px); font-weight: 600; color: var(--heading); letter-spacing: -.02em; line-height: 1; margin-top: -8px; }
.calc-rows { display: flex; flex-direction: column; border-top: 1px solid var(--hair); }
.calc-rows div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--hair); }
.calc-rows dt { font-size: 15px; color: var(--body); display: flex; flex-direction: column; gap: 2px; }
.calc-rows dt small { font-size: 12px; font-weight: 300; color: var(--caption); }
.calc-rows dd { font-size: 15px; color: var(--heading); font-weight: 500; white-space: nowrap; }
.calc-sell { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 18px; background: rgb(var(--accent-rgb) / .12); border: 1px solid rgb(var(--accent-rgb) / .3); }
.calc-sell span { font-size: 14px; color: var(--caption); }
.calc-sell b { font-size: 26px; color: var(--accent-ink); font-weight: 600; }
.calc-sell small { font-size: 13px; font-weight: 300; color: var(--caption); }
.calc-chosen, .calc-pick { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.calc-chosen { padding-top: 14px; border-top: 1px solid var(--hair); }
.calc-chosen .btn .slogo { width: 22px; height: 22px; }
.calc .thumb { position: relative; width: 56px; height: 56px; border-radius: 14px; background: var(--tile); display: grid; place-items: center; overflow: hidden; }
.calc .thumb svg, .calc .thumb img { width: 80%; height: 80%; object-fit: contain; }
.calc .thumb.has-photo { background: #fff; }
.calc .t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.calc .t b { font-size: 14px; font-weight: 500; color: var(--heading); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.calc .t small { font-size: 12px; font-weight: 300; color: var(--caption); }
.calc-top { display: flex; flex-direction: column; gap: 12px; }
.calc-pick { text-decoration: none; padding: 6px; margin: -6px; border-radius: 16px; transition: background-color .15s; }
.calc-pick:hover { background: rgb(var(--ink) / .04); }
.calc-pick .v { display: flex; flex-direction: column; align-items: flex-end; font-size: 15px; font-weight: 600; color: var(--heading); }
.calc-pick .v small { font-size: 11px; font-weight: 300; color: var(--caption); }
.calc-promo { display: flex; align-items: center; gap: 20px; padding: 22px 26px; border-radius: 28px; background: var(--card); box-shadow: 0 0 0 1px var(--hair); text-decoration: none; transition: box-shadow .2s; }
.calc-promo:hover { box-shadow: 0 0 0 2px var(--accent-ink); }
.cp-ic { flex: none; width: 56px; height: 56px; border-radius: 18px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; }
.cp-ic .ico { width: 28px; height: 28px; }
.cp-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cp-txt b { font-size: 19px; font-weight: 500; color: var(--heading); line-height: 1.25; }
.cp-sub { font-size: 15px; font-weight: 300; color: var(--caption); line-height: 1.4; }
.cp-go { margin-left: auto; flex: none; }
.calc-promo:hover .cp-go { background: var(--accent-hover); }
.calc-promo:hover .cp-go .ico16 { transform: translateX(3px); }
@media (max-width: 960px) {
  .calc { grid-template-columns: minmax(0, 1fr); }
  .calc-side { position: static; }
  .calc-mini { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; display: flex; align-items: baseline; gap: 10px; padding: 12px 18px; border-radius: 100px; background: #0f1d2a; color: #fff; text-decoration: none; box-shadow: 0 12px 30px rgb(0 0 0 / .35); }
  .calc-mini span { font-size: 14px; color: #a9a9a9; }
  .calc-mini b { font-size: 20px; color: #def080; }
  .calc-mini small { margin-left: auto; font-size: 13px; color: #a9a9a9; }
  .calc { padding-bottom: 64px; }
}
@media (min-width: 961px) {
  .calc-mini { display: none; }
}
/* tela baixa: o resumo não cabe inteiro grudado no topo, então rola junto com a página */
@media (min-width: 961px) and (max-height: 860px) {
  .calc-side { position: static; }
}
.calc-mini.off { opacity: 0; pointer-events: none; transform: translateY(12px); }
.calc-mini { transition: opacity .2s, transform .2s; }
@media (max-width: 560px) {
  .calc-grid, .calc-grid.fil { grid-template-columns: minmax(0, 1fr); }
  .calc-promo { padding: 18px; gap: 14px; }
  .cp-go { display: none; }
  .cp-ic { width: 48px; height: 48px; border-radius: 16px; }
  .cp-txt b { font-size: 17px; }
  .cp-sub { font-size: 14px; }
}
