/* HOME da Filamentos RJ (em producao desde 28/11/2026; nasceu como /teste). Escopo: tudo com prefixo .t- (nao conflita com shared/tokens.css nem com site/).
   Movimento segundo as skills do Emil Kowalski (emil-design-eng, animate, mobile-native):
   - so transform/opacity (+ clip-path nas abas, grid-rows no FAQ); curvas fortes abaixo, nunca ease-in;
   - toque responde no :active (scale .97, 140 ms); hover so com mouse (@media hover/pointer);
   - UI abaixo de 300 ms; gaveta e a excecao (450 ms entra, 240 ms sai, curva de gaveta);
   - transicoes (interrompiveis) em tudo que o visitante dispara; keyframes so na entrada da abertura (1 vez por visita);
   - movimento reduzido: o reset de shared/tokens.css zera as duracoes. */
.t {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  background: var(--bg);
}
html { -webkit-tap-highlight-color: transparent; scroll-padding-top: 96px; }
html.t-travado { overflow: hidden; }

.t-wrap { width: min(100% - 32px, var(--max)); margin-inline: auto; }
@media (max-width: 380px) { .t-wrap { width: calc(100% - 24px); } }
.t-ancora { position: absolute; }
.t-pular { position: absolute; left: 12px; top: -60px; z-index: var(--z-toast, 1200); padding: .6em 1em; border-radius: var(--r-sm); background: var(--ink); color: var(--bg); font-weight: 700; }
.t-pular:focus { top: 12px; }
.t-sobre { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--acc-ink); margin-bottom: .5rem; }
.t-h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 900; letter-spacing: -.03em; text-wrap: balance; }

/* ---------- botoes */
.t-btn, .t-ibtn, .t-aba, .t-add, .t-passo-btn, .t-faq-p, .t-barra-btn {
  touch-action: manipulation; user-select: none; -webkit-user-select: none;
  transition: transform 140ms var(--ease-out), background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.t-btn:active, .t-ibtn:active, .t-add:active, .t-passo-btn:active, .t-barra-btn:active { transform: scale(.97); }
.t-btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 44px; padding: .6em 1.15em; border-radius: var(--r-pill); font-family: var(--disp); font-weight: 700; font-size: .9375rem; line-height: 1.1; white-space: nowrap; border: 1.5px solid transparent; }
.t-btn-g { min-height: 52px; padding-inline: 1.5em; font-size: 1rem; }
.t-btn-larga { width: 100%; }
.t-btn-escuro { background: var(--ink); color: var(--bg); }
.t-btn-ciano { background: var(--acc); color: var(--ink); }
.t-btn-fantasma { border-color: rgba(255, 255, 255, .34); color: #fff; }
.t-btn-linha { border-color: var(--linha); color: var(--ink); background: var(--bg); }
.t-btn-wpp { background: var(--wpp-ink); color: #fff; }
.t-ibtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .t-btn-escuro:hover { background: #262C36; }
  .t-btn-ciano:hover { background: #35D2F7; }
  .t-btn-fantasma:hover { background: rgba(255, 255, 255, .12); }
  .t-btn-linha:hover, .t-ibtn:hover { background: var(--sur); }
  .t-btn-wpp:hover { background: #0F7A41; }
}

/* ---------- topo: a navbar em pilula e a da home atual (site/navbar.css, publicada em /navbar.css). Aqui so o que a pagina
   precisa para conviver com ela: espaco no alto (a pilula e fixa: 16 + 60 px; no celular 12 + 56) e o toque no :active. */
.t { --t-topo: 84px; padding-top: 92px; }
@media (max-width: 600px) { .t { --t-topo: 74px; padding-top: 80px; } }
.v1-nav { top: calc(16px + env(safe-area-inset-top, 0px)); }
@media (max-width: 600px) { .v1-nav { top: calc(12px + env(safe-area-inset-top, 0px)); } }
.v1-nav-carrinho, .v1-nav-wpp { touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.v1-nav-carrinho:active, .v1-nav-wpp:active { transform: scale(.97); }

/* ---------- 1. abertura */
.t-abre { padding-top: 0; }
.t-abre-caixa { position: relative; overflow: hidden; display: grid; gap: 24px; padding: 28px 18px 18px; border-radius: 28px; color: #fff;
  background: radial-gradient(120% 90% at 100% 0%, #0E6FA8 0%, rgba(14, 111, 168, 0) 60%), linear-gradient(160deg, #0A4A75 0%, var(--p-azul-900) 55%, #062E49 100%); }
.t-status { display: inline-flex; align-items: center; gap: .6em; padding: .4em .9em .4em .7em; border-radius: var(--r-pill); background: rgba(255, 255, 255, .1); font-size: .875rem; font-weight: 500; margin-bottom: 18px; }
.t-pulso { width: 8px; height: 8px; border-radius: 50%; background: #5BE49B; box-shadow: 0 0 0 4px rgba(91, 228, 155, .22); }
.t-status.t-depois .t-pulso { background: #FFC857; box-shadow: 0 0 0 4px rgba(255, 200, 87, .22); }
.t-abre h1 { font-size: clamp(1.875rem, 8.4vw, 4rem); overflow-wrap: break-word; font-weight: 900; letter-spacing: -.035em; line-height: 1.02; text-wrap: balance; max-width: 13em; }
.t-abre-lead { margin-top: 16px; font-size: clamp(1rem, 1.5vw, 1.1875rem); color: rgba(255, 255, 255, .82); max-width: 34em; }
.t-abre-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
@media (max-width: 479px) { .t-abre-ctas .t-btn { flex: 1 1 100%; } }
.t-abre-prova { margin-top: 18px; font-size: .875rem; color: rgba(255, 255, 255, .68); }
/* entrada: 1 vez por visita (nivel "raro"); sobe 8 px + opacidade, atrasos curtos e desiguais */
.t-entra { animation: t-sobe 520ms var(--ease-out) both; }
.t-entra:nth-child(2) { animation-delay: 50ms; }
.t-entra:nth-child(3) { animation-delay: 95ms; }
.t-entra:nth-child(4) { animation-delay: 135ms; }
.t-entra:nth-child(5) { animation-delay: 170ms; }
@keyframes t-sobe { from { opacity: 0; transform: translateY(8px); } }

/* pilha de carreteis (fotos do catalogo vivo; o espaco e reservado: nada empurra o layout quando chegam) */
.t-pilha { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: start; }
.t-ladrilho { min-width: 0; padding: 6px 6px 8px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 10px 24px rgba(3, 22, 36, .3);
  opacity: 0; transform: translateY(14px) scale(.97); transition: opacity 420ms var(--ease-out), transform 620ms var(--ease-out); }
.t-ladrilho:nth-child(2) { transition-delay: 60ms; }
.t-ladrilho:nth-child(3) { transition-delay: 110ms; }
.t-pilha.t-pronta .t-ladrilho, .t-ladrilho.t-esq { opacity: 1; transform: none; }
.t-ladrilho.t-esq { aspect-ratio: 1 / 1.28; background: rgba(255, 255, 255, .1); box-shadow: none; }
.t-ladrilho img, .t-ladrilho svg { width: 100%; height: auto; aspect-ratio: 1; border-radius: 11px; }
.t-ladrilho b { display: block; margin-top: 6px; font-family: var(--disp); font-size: .75rem; line-height: 1.2; text-align: center; overflow-wrap: anywhere; }
.t-ladrilho span { display: none; }
/* computador: os 3 ladrilhos viram um leque sobreposto (ha espaco; o do meio fica na frente) */
@media (min-width: 900px) {
  .t-abre-caixa { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 12px; padding: 64px 56px; min-height: 520px; }
  .t-pilha { display: block; position: relative; height: 360px; }
  .t-ladrilho { position: absolute; bottom: 30px; left: 50%; width: 230px; margin-left: -115px; padding: 12px 12px 14px; border-radius: 22px; box-shadow: 0 24px 50px rgba(3, 22, 36, .38);
    transform: translate(var(--x, 0), 26px) rotate(var(--g, 0deg)) scale(.96); }
  .t-ladrilho:nth-child(1) { --x: -62%; --g: -9deg; z-index: 1; }
  .t-ladrilho:nth-child(2) { --x: 62%; --g: 9deg; z-index: 1; }
  .t-ladrilho:nth-child(3) { --x: 0%; --g: 0deg; z-index: 2; bottom: 56px; }
  .t-pilha.t-pronta .t-ladrilho, .t-ladrilho.t-esq { transform: translate(var(--x, 0), 0) rotate(var(--g, 0deg)); }
  .t-ladrilho.t-esq { aspect-ratio: auto; height: 276px; }
  .t-ladrilho img, .t-ladrilho svg { border-radius: 14px; }
  .t-ladrilho b { margin-top: 8px; font-size: 1rem; text-align: left; }
  .t-ladrilho span { display: block; font-size: .8125rem; color: var(--mut); }
}

/* ---------- 2. entrega */
.t-ent { padding-block: 20px 8px; }
.t-ent-lista { list-style: none; display: grid; gap: 10px; }
.t-ent-lista li { display: grid; grid-template-columns: 44px 1fr; gap: 2px 14px; align-items: center; padding: 16px 18px; border-radius: var(--r); background: var(--sur); }
.t-ent-ico { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--bg); color: var(--acc-ink); }
.t-ent-lista b { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-family: var(--disp); font-size: 1rem; line-height: 1.25; }
.t-ent-lista b small { padding: .2em .6em; border-radius: var(--r-pill); background: var(--acc-soft); color: var(--azul-ink); font-family: var(--font); font-size: .75rem; font-weight: 700; white-space: nowrap; }
.t-ent-lista p { grid-column: 2; font-size: .875rem; color: var(--mut); line-height: 1.4; }
@media (min-width: 900px) { .t-ent-lista { grid-template-columns: repeat(3, 1fr); } .t-ent-lista li { align-items: start; } }

/* ---------- 3. vitrine */
.t-vit { padding-block: 56px 24px; }
.t-sec-cab { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 24px; margin-bottom: 20px; }
.t-sec-nota { font-size: .9375rem; color: var(--mut); min-height: 1.55em; }
/* abas: a lista "ativa" (escura) fica por cima e so aparece no recorte da aba escolhida; o recorte desliza (clip-path) */
/* no celular as abas quebram de linha e rolam com a pagina: nada cortado na lateral, nada preso por cima dos cartoes */
.t-abas { position: relative; display: inline-block; max-width: 100%; padding: 4px; border-radius: 26px; background: var(--sur); vertical-align: top; }
.t-abas-lista { display: flex; flex-wrap: wrap; gap: 4px; }
.t-abas-sobre { position: absolute; inset: 4px; background: var(--ink); pointer-events: none; clip-path: inset(0 100% 0 0 round 999px); transition: clip-path 260ms var(--ease-out); }
@media (min-width: 900px) {
  .t-abas-trilho { position: sticky; top: calc(var(--t-topo) + env(safe-area-inset-top, 0px) - 10px); z-index: var(--z-dropdown, 100); margin-inline: -16px; padding: 10px 16px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
}
.t-abas-sobre .t-aba { color: #fff; }
.t-abas-sobre .t-aba small { color: rgba(255, 255, 255, .7); }
.t-aba { display: inline-flex; align-items: center; gap: .45em; min-height: 44px; padding: 0 1em; border-radius: var(--r-pill); font-family: var(--disp); font-weight: 700; font-size: .9375rem; white-space: nowrap; color: var(--mut); }
.t-aba small { font-family: var(--font); font-size: .75rem; font-weight: 500; color: var(--dim); font-variant-numeric: tabular-nums; }
.t-aba:active { transform: scale(.97); }

.t-vit > .t-wrap { width: min(100% - 32px, 1320px); }
@media (max-width: 380px) { .t-vit > .t-wrap { width: calc(100% - 24px); } }
.t-grupo { padding-top: 24px; }
.t-grupo-cab { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding-bottom: 14px; }
.t-grupo-cab h3 { font-size: 1.375rem; font-weight: 900; }
.t-grupo-cab p { font-size: .875rem; color: var(--mut); }
.t-grupo-temp { display: flex; align-items: center; gap: .4em; flex-basis: 100%; font-size: .8125rem; color: var(--mut); }
@media (min-width: 760px) { .t-grupo-temp { flex-basis: auto; margin-left: auto; } }
/* [27/11/2026] grade densa (ordem do dono: mostrar mais filamentos, pelo menos 6 colunas): 3 / 4 / 5 / 6 / 7 colunas */
.t-grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 560px) { .t-grade { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; } }
@media (min-width: 800px) { .t-grade { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 1040px) { .t-grade { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 1320px) { .t-grade { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.t-cartao { display: flex; flex-direction: column; padding: 6px 6px 8px; border-radius: 16px; background: var(--sur); transition: transform 200ms var(--ease-out), box-shadow 200ms ease, background-color 200ms ease; }
.t-cartao .t-foto { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 11px; background: #fff; }
.t-cartao svg.t-foto { padding: 12%; }
/* a foto e o botao que abre a ficha tecnica */
.t-foto-btn { position: relative; display: block; width: 100%; border-radius: 11px; cursor: zoom-in; touch-action: manipulation; user-select: none; -webkit-user-select: none; transition: transform 140ms var(--ease-out); }
.t-foto-btn:active { transform: scale(.97); }
.t-foto-dica { position: absolute; left: 6px; bottom: 6px; display: inline-flex; align-items: center; gap: .3em; padding: .3em .6em; border-radius: var(--r-pill); background: rgba(20, 24, 31, .82); color: #fff; font-size: .6875rem; font-weight: 700; opacity: 0; transform: translateY(4px); transition: opacity 160ms ease, transform 160ms var(--ease-out); pointer-events: none; }
.t-foto-dica .ico { width: 12px; height: 12px; }
.t-foto-btn:focus-visible .t-foto-dica { opacity: 1; transform: none; }
.t-cartao-txt { padding: 8px 2px 8px; min-width: 0; }
.t-cartao-cor { display: flex; align-items: center; gap: .5em; overflow-wrap: anywhere; font-family: var(--disp); font-weight: 700; font-size: .875rem; line-height: 1.2; }
.t-ponto { flex: none; width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(20, 24, 31, .18); }
.t-cartao-sub { margin-top: 2px; font-size: .75rem; color: var(--mut); overflow-wrap: anywhere; }
/* preco em cima, botao na largura toda embaixo: o cartao nao muda de altura quando o botao vira contador */
.t-cartao-pe { margin-top: auto; display: flex; flex-direction: column; align-items: stretch; gap: 6px; padding-inline: 2px; }
.t-cartao-pe .t-preco { font-size: .9375rem; }
.t-cartao-pe .t-add, .t-cartao-pe .t-passo { width: 100%; height: 36px; font-size: .8125rem; }
.t-cartao-pe .t-add { padding-inline: .5em; }
.t-cartao-pe .t-add .ico, .t-cartao-pe .t-passo-btn .ico { width: 14px; height: 14px; }
.t-cartao-pe .t-passo { justify-content: space-between; }
.t-cartao-pe .t-passo-btn { width: 36px; height: 36px; }
.t-cartao-pe .t-esg-rot { display: grid; place-items: center; height: 36px; padding-block: 0; }
@media (pointer: coarse) { .t-cartao-pe .t-add, .t-cartao-pe .t-passo, .t-cartao-pe .t-passo-btn, .t-cartao-pe .t-esg-rot { height: 42px; } }
@media (max-width: 359px) { .t-cartao-pe .t-add .ico { display: none; } }
.t-preco { font-family: var(--disp); font-weight: 900; font-size: 1.0625rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.t-preco s { display: block; font-size: .75rem; font-weight: 500; color: var(--dim); }
.t-ultimos { order: 3; font-size: .6875rem; font-weight: 700; color: #8A5A00; }
.t-add { display: inline-flex; align-items: center; justify-content: center; gap: .35em; min-width: 44px; height: 44px; padding-inline: 1em; border-radius: var(--r-pill); background: var(--ink); color: #fff; font-family: var(--disp); font-weight: 700; font-size: .875rem; }
.t-passo { display: inline-flex; align-items: center; height: 44px; border-radius: var(--r-pill); background: var(--ink); color: #fff; }
.t-passo-btn { display: grid; place-items: center; width: 40px; height: 44px; border-radius: var(--r-pill); color: #fff; }
.t-passo-btn:disabled { opacity: .35; cursor: default; }
.t-passo output { min-width: 1.5em; text-align: center; font-family: var(--disp); font-weight: 900; font-variant-numeric: tabular-nums; }
/* celular (2 colunas): preco em cima, botao na largura toda (alvo de toque grande, nada quebra de linha no meio) */
@media (max-width: 559px) {
  .t-cartao { padding: 5px 5px 7px; border-radius: 14px; }
  .t-cartao-cor { font-size: .8125rem; gap: .35em; }
  .t-cartao-sub { font-size: .6875rem; }
  .t-cartao-pe .t-preco { font-size: .875rem; }
}
.t-cartao.t-esgotado .t-foto { opacity: .45; filter: grayscale(1); }
.t-esg-rot { font-size: .8125rem; font-weight: 700; color: var(--mut); padding-block: .85em; }
@media (hover: hover) and (pointer: fine) {
  .t-cartao:not(.t-esgotado):hover { transform: translateY(-3px); background: #fff; box-shadow: var(--sh); }
  .t-foto-btn:hover .t-foto-dica { opacity: 1; transform: none; }
  .t-add:hover { background: #262C36; }
  .t-passo-btn:not(:disabled):hover { background: rgba(255, 255, 255, .16); }
}
/* esqueleto enquanto o catalogo vivo carrega (mesmo tamanho dos cartoes: sem salto de layout) */
.t-esq-cartao { border-radius: 16px; background: var(--sur); aspect-ratio: 1 / 1.62; animation: t-respira 1.4s ease-in-out infinite alternate; }
@keyframes t-respira { to { opacity: .55; } }
.t-aviso-estoque { display: grid; justify-items: start; gap: 12px; padding: 28px; border-radius: 20px; background: var(--sur); }
.t-aviso-estoque h3 { font-size: 1.25rem; }
.t-aviso-estoque p { color: var(--mut); max-width: 40em; }

/* ---------- 4. como funciona */
.t-como { padding-block: 72px 24px; }
.t-como-lista { list-style: none; display: grid; gap: 12px; margin-top: 24px; counter-reset: passo; }
.t-como-lista li { padding: 24px; border-radius: 20px; background: var(--sur); }
.t-como-n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--disp); font-weight: 900; margin-bottom: 18px; }
.t-como-lista h3 { font-size: 1.1875rem; margin-bottom: 6px; }
.t-como-lista p { color: var(--mut); font-size: .9375rem; }
@media (min-width: 800px) { .t-como-lista { grid-template-columns: repeat(3, 1fr); gap: 16px; } }

/* ---------- 5. duvidas (altura: unica excecao a "so transform/opacity", via grid 0fr -> 1fr) */
.t-faq { padding-block: 72px 88px; }
.t-faq-grade { display: grid; gap: 28px; }
.t-faq-lead { margin-block: 10px 18px; color: var(--mut); }
.t-faq-item { border-bottom: 1px solid var(--linha); }
.t-faq-p { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 18px 2px; text-align: left; font-family: var(--disp); font-weight: 700; font-size: 1.0625rem; line-height: 1.3; user-select: text; -webkit-user-select: text; }
.t-faq-p .ico { transition: transform 240ms var(--ease-out); color: var(--mut); }
.t-faq-p[aria-expanded="true"] .ico { transform: rotate(180deg); }
.t-faq-r { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 260ms var(--ease-out); }
.t-faq-r > div { overflow: hidden; }
.t-faq-r p { padding: 0 2px 20px; color: var(--mut); max-width: 44em; opacity: 0; transition: opacity 200ms ease; }
.t-faq-item.t-aberta .t-faq-r { grid-template-rows: 1fr; }
.t-faq-item.t-aberta .t-faq-r p { opacity: 1; }
@media (min-width: 900px) { .t-faq-grade { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; } .t-faq-grade > div:first-child { position: sticky; top: 100px; align-self: start; } }

/* ---------- rodape */
.t-rodape { background: var(--p-azul-900); color: rgba(255, 255, 255, .78); padding-block: 48px calc(28px + env(safe-area-inset-bottom, 0px)); font-size: .9375rem; }
.t-rodape-grade { display: grid; gap: 28px; }
.t-rodape img { height: 30px; width: auto; margin-bottom: 14px; }
.t-rodape-tit { font-family: var(--disp); font-weight: 700; color: #fff; margin-bottom: 8px; }
.t-rodape-wpp { display: inline-flex; align-items: center; gap: .5em; min-height: 44px; color: #fff; font-weight: 700; }
.t-rodape-fim { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .8125rem; }
@media (min-width: 800px) { .t-rodape-grade { grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; } }
body.t-com-barra .t-rodape { padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px)); }

/* ---------- barra do pedido (celular): sobe quando ha itens, some com a gaveta aberta */
.t-barra { position: fixed; inset: auto 0 0 0; z-index: var(--z-fab, 300); padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); pointer-events: none; visibility: hidden; transform: translateY(calc(100% + 24px)); transition: transform 260ms var(--ease-out), visibility 0s 260ms; }
/* escondida de verdade (visibility): no celular a barra do navegador recolhe e uma barra so empurrada para baixo voltava a aparecer */
body.t-com-barra .t-barra { visibility: visible; transform: translateY(0); transition-delay: 0s; }
.t-barra-btn { pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 60px; padding: 10px 18px 10px 20px; border-radius: 20px; background: var(--ink); color: #fff; box-shadow: 0 16px 36px rgba(20, 24, 31, .3); }
.t-barra-txt { display: grid; text-align: left; line-height: 1.25; font-size: .8125rem; color: rgba(255, 255, 255, .72); }
.t-barra-txt b { font-family: var(--disp); font-size: 1.125rem; color: #fff; font-variant-numeric: tabular-nums; }
.t-barra-cta { display: inline-flex; align-items: center; gap: .3em; font-family: var(--disp); font-weight: 700; color: var(--acc); }
@media (min-width: 900px) { .t-barra { display: none; } body.t-com-barra .t-rodape { padding-bottom: 28px; } }

/* ---------- pedido: folha inferior (celular) / gaveta a direita (>= 760 px) */
.t-gaveta { position: fixed; inset: 0; z-index: var(--z-modal, 1000); visibility: hidden; transition: visibility 0s 240ms; }
.t-gaveta.t-aberta { visibility: visible; transition-delay: 0s; }
.t-veu { position: absolute; inset: 0; background: var(--veu-escuro); opacity: 0; transition: opacity 240ms ease; }
.t-gaveta.t-aberta .t-veu { opacity: 1; transition-duration: 400ms; }
.t-gaveta-caixa { position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; max-height: 92dvh; border-radius: 24px 24px 0 0; background: var(--bg); box-shadow: var(--sh-lg);
  transform: translateY(100%); transition: transform 240ms var(--ease-out); }
.t-gaveta.t-aberta .t-gaveta-caixa { transform: translateY(0); transition: transform 450ms var(--ease-drawer); }
.t-gaveta.t-seco, .t-gaveta.t-seco .t-veu, .t-gaveta.t-seco .t-gaveta-caixa { transition: none; } /* fechar pelo teclado (Esc): sem animacao */
.t-gaveta-cab { display: flex; align-items: center; justify-content: space-between; padding: 14px 12px 10px 20px; }
.t-gaveta-cab h2 { font-size: 1.375rem; font-weight: 900; outline: none; }
.t-gaveta-corpo { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 20px 20px; }
.t-gaveta-pe { padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--linha); background: var(--bg); }
.t-total { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; font-weight: 500; }
.t-total small { color: var(--mut); }
.t-total b { font-family: var(--disp); font-size: 1.5rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.t-nota { margin-top: 10px; font-size: .8125rem; color: var(--mut); line-height: 1.4; }
/* celular: a folha inteira rola (com o teclado aberto o rodape preso comia a tela e escondia os campos) */
@media (max-width: 759px) {
  .t-gaveta-caixa { display: block; overflow-y: auto; overscroll-behavior: contain; }
  .t-gaveta-cab { position: sticky; top: 0; z-index: 1; background: var(--bg); border-radius: 24px 24px 0 0; }
  .t-gaveta-corpo { overflow: visible; }
  .t-campos { gap: 10px; }
  .t-campo.t-c1 { grid-column: span 2; } .t-campo.t-c2 { grid-column: span 3; } .t-campo.t-c3, .t-campo.t-c4 { grid-column: span 6; }
  .t-campo.t-c2:has(#t-cidade) { grid-column: span 4; }
  .t-cep-status { grid-column: span 3; }
}
@media (min-width: 760px) {
  .t-gaveta-caixa { inset: 0 0 0 auto; width: 460px; max-height: none; height: 100dvh; border-radius: 0; transform: translateX(100%); }
  .t-gaveta.t-aberta .t-gaveta-caixa { transform: translateX(0); }
  .t-gaveta-cab { padding: 20px 16px 12px 24px; }
  .t-gaveta-corpo { padding-inline: 24px; }
  .t-gaveta-pe { padding-inline: 24px; }
}
/* ---------- ficha tecnica: modal no centro (>= 760 px) / folha inferior (celular). Ocasional: 220 ms; Esc fecha seco */
.t-ficha { position: fixed; inset: 0; z-index: var(--z-modal, 1000); display: grid; place-items: end center; visibility: hidden; transition: visibility 0s 220ms; }
.t-ficha.t-aberta { visibility: visible; transition-delay: 0s; }
.t-ficha.t-aberta .t-veu { opacity: 1; }
.t-ficha-caixa { position: relative; width: 100%; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain; padding: 20px 16px calc(20px + env(safe-area-inset-bottom, 0px)); border-radius: 24px 24px 0 0; background: var(--bg); box-shadow: var(--sh-lg);
  transform: translateY(100%); transition: transform 220ms var(--ease-out); }
.t-ficha.t-aberta .t-ficha-caixa { transform: translateY(0); transition: transform 420ms var(--ease-drawer); }
.t-ficha.t-seco, .t-ficha.t-seco .t-veu, .t-ficha.t-seco .t-ficha-caixa { transition: none; }
.t-ficha-x { position: sticky; top: 0; z-index: 1; display: grid; margin: -8px -6px -36px auto; background: var(--sur); }
.t-ficha-topo { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: start; }
.t-ficha-topo .t-foto { width: 100%; height: auto; aspect-ratio: 1; border-radius: 16px; background: var(--sur); }
.t-ficha-topo svg.t-foto { padding: 12%; }
.t-ficha-id { min-width: 0; padding-right: 36px; }
.t-ficha-id .t-sobre { margin-bottom: .25rem; }
.t-ficha-id h2 { font-size: 1.5rem; font-weight: 900; letter-spacing: -.02em; line-height: 1.1; outline: none; overflow-wrap: anywhere; }
.t-ficha-res { margin-top: 8px; font-size: .9375rem; line-height: 1.45; color: var(--mut); }
.t-ficha-compra { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 14px; }
.t-ficha-compra .t-preco { font-size: 1.5rem; }
.t-ficha-est { margin-top: 8px; font-size: .8125rem; font-weight: 700; color: var(--wpp-ink); }
.t-ficha-est.t-fora { color: var(--mut); }
.t-ficha-tit { margin: 22px 0 6px; font-size: 1.0625rem; font-weight: 900; }
.t-ficha-dl > div { display: grid; grid-template-columns: minmax(0, 9.5em) minmax(0, 1fr); gap: 12px; padding-block: 9px; border-top: 1px solid var(--linha); font-size: .875rem; line-height: 1.4; }
.t-ficha-dl dt { color: var(--mut); }
.t-ficha-dl dd { display: flex; align-items: center; gap: .5em; font-weight: 500; overflow-wrap: anywhere; }
.t-ficha-usos { margin-top: 14px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--sur); font-size: .875rem; line-height: 1.45; }
.t-ficha-wpp { margin-top: 14px; }
/* celular: foto pequena ao lado do nome; resumo, preco e estoque usam a largura toda */
@media (max-width: 759px) {
  .t-ficha-topo { grid-template-columns: 88px minmax(0, 1fr); gap: 4px 14px; align-items: center; }
  .t-ficha-topo .t-foto { grid-row: span 2; }
  .t-ficha-id { display: contents; }
  .t-ficha-id .t-sobre { align-self: end; margin: 0; padding-right: 40px; }
  .t-ficha-id h2 { align-self: start; }
  .t-ficha-res, .t-ficha-compra, .t-ficha-est { grid-column: 1 / -1; }
  .t-ficha-res { margin-top: 10px; }
  .t-ficha-compra { margin-top: 8px; justify-content: space-between; }
  .t-ficha-wpp { width: 100%; }
}
@media (min-width: 760px) {
  .t-ficha { place-items: center; padding: 24px; }
  .t-ficha-caixa { width: min(100%, 720px); max-height: min(88dvh, 860px); padding: 28px; border-radius: 24px; transform: scale(.96); opacity: 0; transition: transform 180ms var(--ease-out), opacity 180ms ease; }
  .t-ficha.t-aberta .t-ficha-caixa { transform: scale(1); opacity: 1; transition: transform 220ms var(--ease-out), opacity 220ms ease; }
  .t-ficha-topo { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; }
  .t-ficha-id h2 { font-size: 2rem; }
}
.t-vazio { display: grid; justify-items: center; gap: 14px; padding: 48px 0; color: var(--mut); }
.t-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 4px 12px; align-items: center; padding-block: 12px; border-bottom: 1px solid var(--linha); }
.t-item .t-foto { width: 56px; height: 56px; border-radius: 12px; background: var(--sur); grid-row: span 2; }
.t-item b { font-family: var(--disp); font-size: .9375rem; line-height: 1.25; }
.t-item small { grid-column: 2; font-size: .8125rem; color: var(--mut); font-variant-numeric: tabular-nums; }
.t-item .t-passo { grid-row: span 2; grid-column: 3; grid-row-start: 1; height: 40px; background: var(--sur); color: var(--ink); }
.t-item .t-passo-btn { width: 36px; height: 40px; color: var(--ink); }
.t-bloco { margin-top: 22px; border: 0; min-width: 0; }
.t-bloco fieldset { border: 0; margin-top: 14px; min-width: 0; }
.t-rot { display: block; margin-bottom: 10px; font-family: var(--disp); font-weight: 700; font-size: 1rem; }
.t-opcoes { display: grid; gap: 8px; }
.t-opcao { position: relative; display: block; cursor: pointer; }
.t-opcao input, .t-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.t-opcao-c { display: grid; grid-template-columns: 24px 1fr auto; gap: 2px 12px; align-items: center; padding: 12px 14px; border-radius: var(--r); border: 1.5px solid var(--linha); transition: border-color 160ms ease, background-color 160ms ease, transform 140ms var(--ease-out); }
.t-opcao-c .ico { grid-row: span 2; color: var(--acc-ink); }
.t-opcao-c b { font-family: var(--disp); font-size: .9375rem; }
.t-opcao-c b { min-width: 0; }
.t-opcao-c small { grid-column: 2 / -1; font-size: .8125rem; color: var(--mut); line-height: 1.35; }
.t-opcao-c em { font-style: normal; font-size: .75rem; font-weight: 700; color: var(--azul-ink); white-space: nowrap; }
.t-opcao:active .t-opcao-c, .t-chip:active span { transform: scale(.98); }
.t-opcao input:checked + .t-opcao-c { border-color: var(--ink); background: var(--sur); }
.t-opcao input:focus-visible + .t-opcao-c, .t-chip input:focus-visible + span { outline: 3px solid var(--acc-ink); outline-offset: 2px; }
.t-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.t-chip { position: relative; cursor: pointer; }
.t-chip span { display: grid; place-items: center; min-width: 64px; min-height: 44px; padding: 0 .9em; border-radius: var(--r-sm); border: 1.5px solid var(--linha); font-weight: 500; font-variant-numeric: tabular-nums; transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 140ms var(--ease-out); }
.t-chip input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.t-aviso { display: flex; gap: .6em; padding: 12px 14px; border-radius: var(--r-sm); background: var(--acc-soft); color: var(--azul-ink); font-size: .875rem; line-height: 1.4; }
.t-campos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.t-c1 { grid-column: span 1; } .t-c2 { grid-column: span 2; } .t-c3 { grid-column: span 3; } .t-c4 { grid-column: span 4; } .t-c6 { grid-column: span 6; }
.t-cep-status { align-self: end; padding-bottom: 14px; }
.t-campo label { display: block; margin-bottom: 6px; font-size: .875rem; font-weight: 500; }
.t-campo label small { color: var(--mut); font-weight: 400; }
.t-input { width: 100%; min-height: 48px; padding: .6em .85em; border-radius: var(--r-sm); border: 1.5px solid var(--linha); background: var(--bg); font-size: 16px; transition: border-color 160ms ease; }
textarea.t-input { resize: vertical; min-height: 72px; }
.t-input:focus-visible { outline: none; border-color: var(--acc-ink); box-shadow: 0 0 0 3px var(--acc-soft); }
.t-input[aria-invalid="true"] { border-color: var(--erro); }
.t-cep-status { font-size: .8125rem; color: var(--mut); line-height: 1.35; }
.t-erro { margin-top: 6px; font-size: .8125rem; font-weight: 500; color: var(--erro); }
.t-conf { display: grid; justify-items: start; gap: 12px; padding: 28px 0; outline: none; }
.t-conf-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #DDF5E8; color: var(--wpp-ink); }
.t-conf h3 { font-size: 1.375rem; }
.t-conf p { color: var(--mut); }
.t-conf-acoes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }

/* ---------- aviso (transicao: pode ser disparado em sequencia) */
.t-toast { position: fixed; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom, 0px)); z-index: var(--z-toast, 1200); max-width: min(92vw, 420px); padding: 12px 18px; border-radius: var(--r); background: var(--ink); color: #fff; font-size: .9375rem; font-weight: 500; box-shadow: var(--sh-lg); pointer-events: none;
  opacity: 0; transform: translate(-50%, 12px); transition: opacity 200ms ease, transform 240ms var(--ease-out); }
.t-toast.t-visivel { opacity: 1; transform: translate(-50%, 0); }

/* ---------- [29/11/2026] filamento que a loja vende mas esta sem estoque e sem cadastro (config.emBreve; hoje PETG Masterprint) */
.t-breve { display: grid; justify-items: start; gap: 8px; padding: 22px; border-radius: 20px; background: var(--sur); }
.t-breve-selo { padding: .3em .8em; border-radius: var(--r-pill); background: var(--sur-2); font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--mut); }
.t-breve-nome { font-family: var(--disp); font-size: 1.25rem; font-weight: 900; }
.t-breve p:not([class]) { color: var(--mut); max-width: 40em; }
.t-breve .t-btn { margin-top: 6px; }

/* ---------- [29/11/2026] posts do blog na home e links de categoria no rodape (escritos pelo producao/montar.js) */
.t-blog-home { padding-block: 72px 0; }
.t-blog-home .t-posts { margin-top: 24px; list-style: none; display: grid; gap: 12px; }
.t-blog-home .t-posts a { display: block; height: 100%; padding: 20px; border-radius: 20px; background: var(--sur); touch-action: manipulation; transition: transform 140ms var(--ease-out), background-color 160ms ease, box-shadow 200ms ease; }
.t-blog-home .t-posts a:active { transform: scale(.985); }
.t-blog-home .t-posts b { display: block; font-family: var(--disp); font-size: 1.125rem; font-weight: 900; line-height: 1.2; text-wrap: balance; }
.t-blog-home .t-posts span { display: block; margin-top: 8px; font-size: .9375rem; line-height: 1.45; color: var(--mut); }
.t-blog-home .t-posts small { display: block; margin-top: 12px; font-size: .8125rem; font-weight: 700; color: var(--azul-ink); }
.t-blog-home .t-btn { margin-top: 18px; }
@media (min-width: 800px) { .t-blog-home .t-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (hover: hover) and (pointer: fine) { .t-blog-home .t-posts a:hover { background: #fff; box-shadow: var(--sh); } }
.t-rodape-nav { display: grid; gap: 24px; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .14); }
.t-rodape-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0 18px; }
.t-rodape-nav a { display: inline-flex; align-items: center; min-height: 40px; color: rgba(255, 255, 255, .86); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; }
@media (min-width: 800px) { .t-rodape-nav { grid-template-columns: 1fr 1fr; gap: 48px; } }
@media (hover: hover) and (pointer: fine) { .t-rodape-nav a:hover { color: #fff; text-decoration-color: #fff; } }

/* [29/11/2026] esqueleto das abas nas paginas de categoria (o trilho ja ocupa a altura certa antes do estoque chegar) */
.t-esq-abas { width: 220px; max-width: 100%; min-height: 44px; }
@media (max-width: 559px) { .t-esq-abas-2 { min-height: 92px; } }
