[hidden] { display: none !important; }
:root {
  --verde: #1fc27a;
  --display: 'Schibsted Grotesk', system-ui, sans-serif;
  --texto: 'Schibsted Grotesk', system-ui, sans-serif;
  --fundo: #f3f5f9; --fundo-rgb: 243,245,249; --sup: #ffffff; --card: #ffffff; --linha: #dfe4ee; --linha2: #cbd3e2;
  --txt: #0d1322; --txt2: #4a5470; --txt3: #737d95; --azul: #2f5cf0; --azul2: #2448d8; --ambar: #9a6400; --verm: #c33340;
  --sutil: rgba(13,19,34,.06); --tit1: #0d1322; --tit2: #2f5cf0; --sombra: rgba(13,19,34,.25); color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-tema="claro"]) {
  --fundo: #080b14; --fundo-rgb: 8,11,20; --sup: #0d1220; --card: #10172a; --linha: #1d2742; --linha2: #2a3657;
  --txt: #e8ecf5; --txt2: #a0a9bf; --txt3: #6b7591; --azul: #3b6cff; --azul2: #94b0ff; --ambar: #f2b24c; --verm: #f0616d;
  --sutil: rgba(255,255,255,.07); --tit1: #ffffff; --tit2: #9fb6ff; --sombra: rgba(0,0,0,.7); color-scheme: dark;
} }
:root[data-tema="escuro"] {
  --fundo: #080b14; --fundo-rgb: 8,11,20; --sup: #0d1220; --card: #10172a; --linha: #1d2742; --linha2: #2a3657;
  --txt: #e8ecf5; --txt2: #a0a9bf; --txt3: #6b7591; --azul: #3b6cff; --azul2: #94b0ff; --ambar: #f2b24c; --verm: #f0616d;
  --sutil: rgba(255,255,255,.07); --tit1: #ffffff; --tit2: #9fb6ff; --sombra: rgba(0,0,0,.7); color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topo-h) + var(--barra-h) + 12px);
  scrollbar-width: thin; scrollbar-color: var(--linha2) var(--fundo); }
:root { --topo-h: 70px; --barra-h: 67px; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--fundo); }
::-webkit-scrollbar-thumb { background: var(--linha2); border-radius: 10px; border: 2px solid var(--fundo); }
::-webkit-scrollbar-thumb:hover { background: var(--txt3); }
.painel-corpo { scrollbar-width: thin; overscroll-behavior: contain; }
.painel-corpo::-webkit-scrollbar-track { background: var(--sup); }
.painel-corpo::-webkit-scrollbar-thumb { border-color: var(--sup); }
body { background: var(--fundo); color: var(--txt); font: 15px/1.55 var(--texto); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, select, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--azul2); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.num { font-variant-numeric: tabular-nums; }

/* botões */
.bt { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 10px;
  border: 1px solid var(--linha2); background: var(--sup); font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; }
.bt:hover { border-color: var(--txt3); }
.bt svg { width: 18px; height: 18px; flex: none; }
.bt-verde { background: var(--verde); border-color: var(--verde); color: #04170d; }
.bt-verde:hover { background: #2bd488; border-color: #2bd488; }
.bt-azul { background: var(--azul); border-color: var(--azul); color: #fff; }
.qtd { font-size: 12px; font-weight: 700; color: var(--txt2); background: var(--sutil); border-radius: 6px; padding: 1px 6px; margin-left: 2px; font-variant-numeric: tabular-nums; }

/* topo */
.topo { position: sticky; top: 0; z-index: 40; background: var(--fundo); border-bottom: 1px solid var(--linha); }
.topo-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 70px; }
.marca { display: flex; align-items: center; gap: 12px; min-width: 0; }
.marca-u { width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--azul); color: #fff; display: grid; place-items: center; }
.marca-u svg { width: 26px; height: 26px; }
.marca-txt b { display: block; font: 800 19px/1.1 var(--display); letter-spacing: -.01em; }
.marca-txt small { display: flex; align-items: center; gap: 5px; color: var(--txt3); font-size: 12.5px; white-space: nowrap; }
.marca-txt small strong { color: var(--txt); font-weight: 700; }
.ponto { width: 7px; height: 7px; border-radius: 50%; background: var(--azul2); flex: none; }
.data::before { content: ''; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--txt3); margin: 0 7px 3px; }

/* banner */
.banner { border-bottom: 1px solid var(--linha);
  background:
    linear-gradient(90deg, rgb(var(--fundo-rgb)) 0%, rgba(var(--fundo-rgb),.55) 50%, rgb(var(--fundo-rgb)) 100%),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(59,108,255,.09) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(59,108,255,.09) 39px 40px); }
.banner-in { padding: 56px 16px 52px; text-align: center; }
.banner h1 { font: 900 clamp(48px, 10vw, 128px)/.86 var(--display); letter-spacing: -.04em;
  background: linear-gradient(180deg, var(--tit1) 30%, var(--tit2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.banner .banner-tag { margin: 10px 0 0; max-width: none; font: 700 clamp(18px, 2.6vw, 30px)/1.1 var(--display); color: var(--azul2); letter-spacing: -.01em; }
.banner p:not(.banner-tag) { color: var(--txt2); margin: 18px auto 0; max-width: 52ch; font-size: 16px; }

/* atalho VIP */
.atalho { display: flex; align-items: center; gap: 14px; margin-top: 20px; padding: 14px 18px; background: var(--sup); border: 1px solid var(--linha); border-radius: 14px; }
.atalho:hover { border-color: var(--linha2); }
.atalho-ic { width: 42px; height: 42px; flex: none; border-radius: 10px; display: grid; place-items: center; background: rgba(31,194,122,.12); color: var(--verde); }
.atalho-ic svg { width: 22px; height: 22px; }
.atalho-txt { flex: 1; min-width: 0; }
.atalho-txt b { display: block; font-weight: 700; }
.atalho-txt small { color: var(--txt2); font-size: 13.5px; }
.atalho-tag { font-size: 12px; font-weight: 700; color: var(--verde); border: 1px solid rgba(31,194,122,.4); border-radius: 99px; padding: 2px 10px; }

/* abas por tipo */
.abas { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin: 20px 0 16px; }
.aba { display: flex; align-items: center; gap: 12px; text-align: left; padding: 12px 14px; background: var(--sup); border: 1px solid var(--linha); border-radius: 12px; cursor: pointer; }
.aba:hover { border-color: var(--linha2); }
.aba svg { width: 26px; height: 26px; flex: none; stroke: var(--txt3); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.aba b { display: block; font-weight: 600; font-size: 14.5px; color: var(--txt2); }
.aba small { font-size: 12.5px; color: var(--txt3); font-variant-numeric: tabular-nums; }
.aba[aria-pressed="true"] { background: rgba(59,108,255,.12); border-color: var(--azul); }
.aba[aria-pressed="true"] b { color: var(--txt); }
.aba[aria-pressed="true"] svg { stroke: var(--azul2); }
.aba[aria-pressed="true"] small { color: var(--azul2); }

/* barra fixa */
.barra { position: sticky; top: var(--topo-h); z-index: 25; background: rgba(var(--fundo-rgb),.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--linha); }
.ferramentas { display: flex; align-items: center; gap: 10px; padding: 12px 0; }
.campo-rot { display: flex; align-items: center; gap: 10px; }
.campo-rot > span { font-size: 13px; color: var(--txt3); }
.seg { display: flex; gap: 6px; }
.seg button, .chip { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 13px; border-radius: 10px; border: 1px solid var(--linha2);
  background: var(--sup); color: var(--txt2); font-weight: 600; font-size: 13.5px; cursor: pointer; white-space: nowrap; }
.seg button[aria-pressed="true"], .chip[aria-pressed="true"] { background: rgba(59,108,255,.14); border-color: var(--azul); color: var(--txt); }
.seg button[aria-pressed="true"] .qtd, .chip[aria-pressed="true"] .qtd { color: var(--azul2); background: rgba(59,108,255,.18); }
.chip:disabled { opacity: .35; cursor: default; }
.chip .cor { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.busca { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px; background: var(--sup); border: 1px solid var(--linha2); border-radius: 99px; }
.busca:focus-within { border-color: var(--azul); }
.busca svg { width: 17px; height: 17px; flex: none; stroke: var(--txt3); fill: none; stroke-width: 2; }
.busca input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; }
.busca input::placeholder { color: var(--txt3); }
.bt-filtros svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.bt-filtros .qtd { background: var(--azul); color: #fff; }
.campo { height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--linha2); background: var(--sup); font-weight: 600; font-size: 14px; }

/* painel de filtros: janela (pop-up) */
.painel { position: fixed; inset: 0; z-index: 50; background: rgba(3,5,10,.72); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 20px; }
.painel-caixa { width: min(760px, 100%); max-height: 86vh; display: flex; flex-direction: column; background: var(--sup); border: 1px solid var(--linha2); border-radius: 18px; box-shadow: 0 30px 80px -20px var(--sombra); }
.painel-topo { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--linha); }
.painel-topo h3 { font: 800 20px var(--display); letter-spacing: -.01em; }
.fechar { background: none; border: 0; color: var(--txt2); width: 36px; height: 36px; display: grid; place-items: center; cursor: pointer; border-radius: 8px; }
.fechar:hover { color: var(--txt); background: var(--sutil); }
.fechar svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2; }
.painel-corpo { display: grid; gap: 20px; overflow: auto; padding: 18px 20px; }
.painel-pe { display: flex; gap: 10px; justify-content: flex-end; padding: 14px 20px; border-top: 1px solid var(--linha); }
.grupo { display: grid; gap: 8px; }
.grupo > h4 { font-size: 13.5px; font-weight: 700; color: var(--txt); }
.grupo > h4 small { font-weight: 500; font-size: 12px; color: var(--txt3); margin-left: 6px; }
.opcoes { display: flex; flex-wrap: wrap; gap: 6px; }
.limpar-linha { display: none; }
.regua-caixa { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 4px; }
.regua { position: relative; width: min(380px, 100%); height: 30px; }
.regua .trilho, .regua .cheio { position: absolute; top: 13px; height: 4px; border-radius: 4px; }
.regua .trilho { left: 0; right: 0; background: var(--linha2); }
.regua .cheio { background: var(--azul); }
.regua input { position: absolute; inset: 0; width: 100%; -webkit-appearance: none; appearance: none; background: none; pointer-events: none; }
.regua input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--azul); cursor: grab; }
.regua input::-moz-range-thumb { pointer-events: auto; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 4px solid var(--azul); cursor: grab; }
.regua-txt { font-weight: 700; color: var(--azul2); font-size: 14px; }
.limpar-linha { display: flex; justify-content: flex-end; }
.link { background: none; border: 0; color: var(--azul2); font-weight: 600; cursor: pointer; font-size: 13.5px; }

/* lista */
.aviso { margin-top: 18px; padding: 10px 14px; border-radius: 10px; background: rgba(242,178,76,.08); border: 1px solid rgba(242,178,76,.25); color: var(--ambar); font-size: 14px; }
.lista-topo { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 26px 0 6px; }
.lista-topo h2 { font: 800 24px/1.1 var(--display); letter-spacing: -.015em; }
.lista-topo span { color: var(--txt3); font-size: 13.5px; }
.secao { margin-top: 22px; }
.secao-cab { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.secao-cab .cor { width: 8px; height: 8px; border-radius: 50%; }
.secao-cab h3 { font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.secao-cab .qtd { margin: 0; }
.secao-cab::after { content: ''; flex: 1; height: 1px; background: var(--linha); }
.grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; align-items: start; }
.vazio { padding: 60px 16px; text-align: center; color: var(--txt2); border: 1px dashed var(--linha2); border-radius: 14px; margin-top: 20px; }

/* card */
.card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--linha); border-radius: 14px; }
.card::before { content: ''; position: absolute; left: 18px; right: 18px; top: -1px; height: 2px; border-radius: 2px; background: var(--cor, var(--azul)); opacity: .8; }
.card.destaque { border-color: rgba(59,108,255,.6); }
.selo-novo { position: absolute; top: -10px; left: 14px; font-size: 11px; font-weight: 800; letter-spacing: .04em; color: #fff; background: var(--azul); border-radius: 6px; padding: 2px 8px; }
.card-topo { display: flex; align-items: flex-start; gap: 10px; padding: 18px 18px 0; }
.card-cat { font-size: 12px; color: var(--txt3); }
.card-topo h3 { font: 800 20px/1.15 var(--display); letter-spacing: -.01em; }
.estado { flex: none; font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 7px; color: var(--azul2); background: rgba(59,108,255,.12); border: 1px solid rgba(59,108,255,.35); }
.estado.reservada { color: var(--ambar); background: rgba(242,178,76,.1); border-color: rgba(242,178,76,.3); }
.estado.vendida { color: var(--verm); background: rgba(240,97,109,.1); border-color: rgba(240,97,109,.3); }
.card-texto { padding: 12px 18px 4px; font-size: 14px; line-height: 1.62; color: var(--txt2); }
.card-texto p { min-height: 1em; }
.card-texto p.vazia { height: .7em; }
.card-texto p.cab { color: var(--txt); font-weight: 700; margin-top: 2px; }
.card-texto p.forte { color: var(--txt); }
.card-texto p.item { padding-left: 14px; position: relative; }
.card-texto p.item::before { content: ''; position: absolute; left: 1px; top: .78em; width: 6px; height: 2px; border-radius: 2px; background: var(--azul2); }
.card-rodape { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin: 12px 18px 0; padding: 14px 0 16px; border-top: 1px solid var(--linha); }
.preco span { display: block; font-size: 12px; color: var(--txt3); }
.preco b { font: 800 25px/1 var(--display); }
.acoes { display: flex; gap: 6px; }
.ic-bt { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--linha2); background: var(--sup); color: var(--txt2); cursor: pointer; }
.ic-bt:hover { color: var(--txt); border-color: var(--txt3); }
.ic-bt svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card.vendida { opacity: .5; }
.card.vendida .preco b { text-decoration: line-through; text-decoration-thickness: 2px; }

.flutuante { position: fixed; right: 18px; bottom: 18px; z-index: 30; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .2s, transform .2s; height: 50px; border-radius: 99px; box-shadow: 0 10px 28px -8px rgba(31,194,122,.55); }
.rodape { margin-top: 70px; border-top: 1px solid var(--linha); }
.rodape-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 100px; color: var(--txt3); font-size: 13.5px; }
.marca-mini { font: 800 16px var(--display); color: var(--txt); }
.toast { position: fixed; left: 50%; bottom: 86px; transform: translateX(-50%); background: var(--txt); color: var(--fundo); padding: 9px 16px; border-radius: 10px; font-weight: 600; font-size: 14px; z-index: 99; }

@media (max-width: 900px) {
  .topo-in { height: 62px; }
  .topo-in .bt-verde span { display: none; }
  .topo-in .bt-verde { width: 46px; padding: 0; border-radius: 99px; }
  .data { display: none; }
  .banner-in { padding: 36px 16px 32px; }
  .abas { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .aba { padding: 10px 12px; }
  .ferramentas { flex-wrap: wrap; }
  .campo-rot { flex-basis: 100%; }
  .campo-rot > span { display: none; }
  .seg { flex: 1; }
  .seg button { flex: 1; justify-content: center; padding: 0 8px; }
  .busca { flex-basis: 100%; order: 2; }
  .bt-filtros, .campo { order: 3; flex: 1; }
  .painel { align-items: flex-end; padding: 0; }
  .painel-caixa { max-height: 88vh; border-radius: 18px 18px 0 0; border-width: 1px 0 0; }
  .painel-pe .bt { flex: 1; }
  .grade { grid-template-columns: minmax(0, 1fr); }
  .card-topo, .card-texto { padding-left: 16px; padding-right: 16px; }
  .card-rodape { margin: 12px 16px 0; }
  .ic-bt { width: 38px; height: 38px; }
  .acoes .bt { height: 38px; padding: 0 12px; }
  .preco b { font-size: 22px; }
  .card-texto { overflow-wrap: anywhere; }
  .flutuante span { display: none; }
  .flutuante { width: 56px; height: 56px; padding: 0; }
  .flutuante svg { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* botão de tema */
.topo-dir { display: flex; align-items: center; gap: 8px; }
.bt-tema { width: 42px; padding: 0; color: var(--txt2); }
.bt-tema svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* barra que recolhe: depois dos blocos de tipo, o tipo vira um seletor na barra fixa */
.tipo-mini { display: none; }
body.recolhido .tipo-mini { display: block; }
.flutuante.mostrar { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 900px) {
  :root { --topo-h: 62px; --barra-h: 160px; }
  body.recolhido .tipo-mini { flex-basis: 100%; order: 0; }
  body.recolhido .campo-rot { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .flutuante { transition: none; } }
.tema-wrap { position: relative; }
.bt-tema[aria-expanded="true"] { border-color: var(--azul); color: var(--txt); }
.tema-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 200px; padding: 6px; background: var(--sup); border: 1px solid var(--linha2); border-radius: 12px; box-shadow: 0 18px 40px -12px var(--sombra); }
.tema-op { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; background: none; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--txt2); cursor: pointer; text-align: left; }
.tema-op:hover, .tema-op:focus-visible { background: var(--sutil); color: var(--txt); outline: none; }
.tema-op svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tema-op .ok { margin-left: auto; width: 16px; height: 16px; color: var(--azul2); visibility: hidden; }
.tema-op[aria-checked="true"] { color: var(--txt); font-weight: 600; }
.tema-op[aria-checked="true"] .ok { visibility: visible; }

/* instalar como app */
.instalar-wrap { position: relative; }
.bt-instalar { color: var(--txt); }
.bt-instalar svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dica-ios { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; width: 260px; padding: 14px; background: var(--sup); border: 1px solid var(--linha2); border-radius: 12px; box-shadow: 0 18px 40px -12px var(--sombra); font-size: 14px; color: var(--txt2); }
.dica-ios b { display: block; color: var(--txt); margin-bottom: 4px; }
.dica-ios strong { color: var(--txt); }
.dica-ios svg { width: 16px; height: 16px; vertical-align: -3px; fill: none; stroke: var(--azul2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) { .bt-instalar span { display: none; } .bt-instalar { width: 42px; padding: 0; } }
@media (display-mode: standalone) { .bt-instalar { display: none !important; } }
