/* Quadriga Pneus · folha de estilo única (redesenho v2, sistema da fase 1).
   Fonte da verdade: docs/frontend/redesign-v2/00-plano.md (arbitragem), 01-visual.md (valores), 02-ux.md (interação)
   e 03-a11y-tecnico.md (contraste e foco). Decisões que não se reabrem: D-024/D-030 (estrutura do benchmark),
   D-029 (escuro + dourado, "luz de ouro"), D-031 (capítulos de tom que se encostam).
   Tipografia: Saira larga (a voz do logo) em títulos de capítulo, medida, preço, ranking e sobretítulo; Montserrat no resto.
   Regra do dourado: fundo dourado só no CTA primário (1 por área de visão), selo "Novo", badge do carrinho e etapa feita;
   texto dourado no claro só --gold-text; gold/brass como texto só sobre escuro.
   Organização: 1 fontes · 2 tokens · 3 base · 4 grade e capítulos · 5 superfícies escuras · 6 tipografia · 7 links ·
   8 botões · 9 formulários · 10 chips e selos · 11 trilha · 12 tabelas · 13 cartões · 14 cabeçalho de seção ·
   15 faixa de título · 16 avisos · 17 cabeçalho do site · 18 menu do celular · 19 faixa de ajuda · 20 rodapé ·
   21 WhatsApp · 22 layout de compra · 23+ seções de página (retrabalhadas na fase 2) · admin · acessibilidade.
   Sem estilo inline (CSP): tudo aqui. Espaços só da escala --s-*. */

/* ========== 1. Fontes ========== */
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-wght.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Saira"; src: url("../fonts/saira-latin-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 50% 125%; font-style: normal; font-display: swap; }

/* ========== 2. Tokens ========== */
:root {
    color-scheme: light;
    /* Cor (01-visual §2.3; contrastes conferidos em 03 §1) */
    --ink: #0B0B0B;
    --graphite: #17171A;
    --carbon: #2A2A2C;
    --ivory: #F3F1EC;
    --paper: #FFFFFF;
    --stone: #E3DFD6;
    --line: #D6D1C6;
    --gold: #C89A3B;            /* fundo do CTA primário; texto/linha só no escuro */
    --brass: #E0C38A;           /* texto de destaque no escuro, selo Novo, hover do primário */
    --gold-text: #8A6418;       /* ÚNICO dourado de texto no claro (4,75:1 ivory · 5,36:1 paper) */
    --gold-text-strong: #6F4F10;/* dourado sobre stone e #FBF4E0 */
    --gold-line: rgb(200 154 59 / .45);
    --text: #1A1A1A;
    --muted: #5C5C5C;           /* 5,9:1 ivory · 6,7:1 paper */
    --note: #77726A;            /* "Imagem ilustrativa", notas mínimas (4,8:1 paper) */
    --on-dark: #F3F0E8;
    --on-dark-muted: #B7B4AC;
    --line-dark: var(--carbon);
    --control-border: #948D80;  /* borda de campo ≥ 3:1 (WCAG 1.4.11) */
    --ok: #1E6B34;
    --error: #B00020;
    --pending: #6E5300;
    --pending-dot: #C9A227;
    --ok-on-dark: #7FD99A;
    --error-on-dark: #FF8D8D;
    --row-highlight: #FBF4E0;
    --zebra: #FAF8F3;
    --whatsapp: #1F8F4E;
    --whatsapp-hover: #167A40;
    --white: #FFFFFF;

    /* Tipografia (01-visual §2.1–2.2) */
    --font-display: "Saira", "Montserrat", system-ui, sans-serif;
    --font-text: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --t-hero: clamp(2rem, 1rem + 3.6vw, 4rem);
    --t-h1: clamp(1.75rem, 1.3rem + 2vw, 3rem);
    --t-h1-product: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem);
    --t-h2: clamp(1.25rem, 1.05rem + .9vw, 1.75rem);
    --t-h2-band: clamp(1.125rem, 1rem + .6vw, 1.5rem);
    --t-h3: 1.125rem;
    --t-h4: 1rem;
    --t-lead: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
    --t-body: 1rem;
    --t-small: .875rem;
    --t-micro: .8125rem;
    --t-eyebrow: .75rem;
    --t-label: .8125rem;
    --t-button: .8125rem;
    --t-nav: .875rem;
    --t-rank: 2.5rem;

    /* Espaço (múltiplos de 4; fora da escala é bug) */
    --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px;
    --s-7: 48px; --s-8: 64px; --s-9: 80px; --s-10: 96px; --s-11: 128px;
    --chapter-pad: clamp(64px, 3vw + 40px, 96px);   /* padding vertical de capítulo (faixa de tom) */

    /* Grade (01-visual §2.4) */
    --max: 1280px;
    --gutter: clamp(20px, 3.2vw, 40px);
    --col-gap: clamp(16px, 2vw, 24px);
    --measure: 68ch;
    --target: 44px;

    /* Raios, sombras, movimento (01-visual §2.6–2.7) */
    --r-xs: 2px; --r-sm: 4px; --r-lg: 8px; --r-pill: 999px;
    --sh-1: 0 1px 2px rgb(11 11 11 / .05), 0 6px 16px -10px rgb(11 11 11 / .18);
    --sh-2: 0 2px 4px rgb(11 11 11 / .06), 0 18px 36px -18px rgb(11 11 11 / .35);
    --sh-float: 0 28px 56px -28px rgb(11 11 11 / .6);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --dur: 160ms;

    /* Cor por superfície (claro por padrão; as superfícies escuras redefinem na seção 5) */
    --fg: var(--text);
    --fg-muted: var(--muted);
    --fg-inverse: var(--paper);
    --accent-text: var(--gold-text);
    --link-line: rgb(138 100 24 / .5);
    --link-hover: var(--gold-text);
    --focus: var(--ink);

    /* Aliases das regras de página antigas (fase 2 substitui) */
    --radius: var(--r-sm);
    --radius-control: var(--r-sm);
    --space: 16px;
    --s-section: var(--s-8);
    --bridge: 44px;
    --main-pt: var(--s-7);
    --main-pb: var(--s-9);
}
@media (max-width: 759px) {
    :root { --s-section: var(--s-7); --chapter-pad: var(--s-7); --main-pt: var(--s-6); --main-pb: var(--s-8); --t-rank: 2rem; --bridge: 28px; }
}

/* ========== 3. Base ========== */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; } /* vence qualquer display de componente */
html { scroll-padding-top: var(--s-4); scroll-padding-bottom: 150px; -webkit-text-size-adjust: 100%; }
html.menu-open { overflow: hidden; }
body { margin: 0; font-family: var(--font-text); font-size: var(--t-body); line-height: 1.6; color: var(--text); background: var(--ivory);
       overflow-x: clip; font-kerning: normal; font-feature-settings: "kern" 1; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
p { margin: 0 0 var(--s-3); }
ul, ol { margin-top: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s-5) 0; }
strong, b { font-weight: 700; }
.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.main:focus, .page-main:focus { outline: none; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; padding: var(--s-2) var(--s-3); background: var(--gold); color: var(--ink); font-weight: 700; }
.skip-link:focus { left: var(--s-2); top: var(--s-2); }
.skip-link:hover { color: var(--ink); }
.visually-hidden,
.tabs-on .tab-title {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--fg-muted); }
::placeholder { color: var(--note); opacity: 1; }

/* Títulos. h1/h2 em Saira larga caixa alta (nível 1 do capítulo); h3/h4 em Montserrat. */
h1, h2, h3, h4 { margin: 0 0 var(--s-3); text-wrap: balance; font-variant-numeric: lining-nums; }
h1, .t-h1 { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: var(--t-h1); line-height: 1; letter-spacing: .005em;
            text-transform: uppercase; overflow-wrap: anywhere; }
h2, .t-h2 { font-family: var(--font-display); font-stretch: 118%; font-weight: 800; font-size: var(--t-h2); line-height: 1.1; letter-spacing: .01em;
            text-transform: uppercase; }
h3, .t-h3 { font-family: var(--font-text); font-size: var(--t-h3); font-weight: 700; line-height: 1.3; }
h4, .t-h4 { font-family: var(--font-text); font-size: var(--t-h4); font-weight: 700; line-height: 1.35; }
@media (max-width: 759px) { h1, .t-h1 { font-stretch: 112%; } }
/* Título dentro de cartão ou painel: nível h3 visual, qualquer que seja a tag (o h2 do documento continua h2) */
.order-summary h2,
.order-detail h2,
.order-help h2 {
    font-family: var(--font-text); font-stretch: 100%; font-size: var(--t-h3); font-weight: 700; line-height: 1.3; letter-spacing: 0; text-transform: none; }

/* ========== 4. Grade e capítulos ========== */
.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
/* O <main> da loja é uma grade com coluna de conteúdo e coluna cheia. Filho com .bleed ocupa a largura toda sem
   100vw (que inclui a barra de rolagem) e sem container-type (que prenderia position:fixed, 03 G-18). */
.page-main { display: grid; align-content: start; min-height: 50vh; padding-block: var(--main-pt) var(--main-pb);
    grid-template-columns: [full-start] minmax(var(--gutter), 1fr) [content-start] minmax(0, var(--max)) [content-end] minmax(var(--gutter), 1fr) [full-end]; }
.page-main > * { grid-column: content; min-width: 0; }
.page-main > .bleed { grid-column: full; }
.page-main.has-page-head { padding-top: 0; }
.page-main:has(> .bleed:last-child) { padding-bottom: 0; }
.main { padding-block: var(--s-6) var(--s-8); }   /* admin (sem grade) */
.section { margin: var(--s-section) 0 0; }
/* Faixa de capítulo (D-031): largura total, conteúdo na grade, o espaço fica dentro da faixa */
.band { margin-top: var(--s-section); padding-block: var(--chapter-pad); padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2)); }
.band-paper { background: var(--paper); }
.band-ivory { background: var(--ivory); }
.band > .section:first-child { margin-top: 0; }
.band + .band, .band + .chapter-dark, .chapter-dark + .band { margin-top: 0; }
.band + .section, .band + .ps { margin-top: var(--s-7); }

/* ========== 5. Superfícies escuras ========== */
.topbar,
.header-main,
.category-bar,
.mnav,
.page-head,
.chapter-dark,
.editorial,
.site-footer,
.checkout-header {
    --fg: var(--on-dark); --fg-muted: var(--on-dark-muted); --fg-inverse: var(--ink); --accent-text: var(--brass);
    --link-line: rgb(224 195 138 / .5); --link-hover: var(--brass); --focus: var(--brass);
    color: var(--fg); }
/* Painel claro dentro de área escura (submenu): volta às cores do claro */
.menu ul { --fg: var(--text); --fg-muted: var(--muted); --fg-inverse: var(--paper); --accent-text: var(--gold-text);
    --link-line: rgb(138 100 24 / .5); --link-hover: var(--gold-text); --focus: var(--ink); color: var(--fg); }

/* ========== 6. Tipografia utilitária ========== */
.eyebrow { display: flex; align-items: center; gap: var(--s-3); margin: 0 0 var(--s-3); font-family: var(--font-display); font-stretch: 112%;
    font-weight: 600; font-size: var(--t-eyebrow); line-height: 1.2; letter-spacing: .24em; text-transform: uppercase; color: var(--accent-text); }
.eyebrow::before { content: ""; flex: none; width: 24px; height: 1px; background: currentColor; }
.eyebrow-plain::before { display: none; }
.lead { font-size: var(--t-lead); font-weight: 500; line-height: 1.55; max-width: 60ch; }
.t-size, .size { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; letter-spacing: .01em; line-height: 1.1;
    font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.t-rank { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: var(--t-rank); line-height: 1; letter-spacing: -.01em;
    font-variant-numeric: tabular-nums lining-nums; color: var(--accent-text); }
.ord { font-size: .45em; vertical-align: .9em; margin-left: .05em; }
/* Preço em destaque com money_html(): R$ e centavos menores, alinhados no topo */
.price-display { font-family: var(--font-display); font-stretch: 100%; font-weight: 700; line-height: 1; letter-spacing: 0;
    font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.price-cur { font-size: .5em; font-weight: 500; vertical-align: .55em; margin-right: .15em; }
.price-dec { font-size: .55em; font-weight: 700; vertical-align: .55em; }
.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ========== 7. Links ========== */
a { color: inherit; text-decoration: underline 1px var(--link-line); text-underline-offset: 3px; transition: color var(--dur) var(--ease), text-decoration-color var(--dur) var(--ease); }
a:hover { color: var(--link-hover); text-decoration-color: currentColor; }
/* Link de ação ("Ver todos", "Ranking completo"): terciário, caixa alta, sem sublinhado até o hover */
.action-link { display: inline-flex; align-items: center; gap: var(--s-2); min-height: var(--target); font-family: var(--font-text); font-size: .75rem;
    font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); text-decoration: none; }
.action-link .icon { width: 12px; height: 12px; transition: transform var(--dur) var(--ease); }
.action-link:hover { color: var(--accent-text); text-decoration: underline 1px; text-underline-offset: 4px; }
.action-link:hover .icon { transform: translateX(3px); }

/* ========== 8. Botões (01-visual §2.10-H) ========== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: 48px; padding: 0 var(--s-5);
       border: 1px solid currentColor; border-radius: var(--r-sm); background: transparent; color: var(--fg);
       font-family: var(--font-text); font-size: var(--t-button); font-weight: 700; line-height: 1.15; letter-spacing: .08em; text-transform: uppercase;
       text-align: center; text-decoration: none; cursor: pointer;
       transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.btn:hover { background: var(--fg); border-color: var(--fg); color: var(--fg-inverse); }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 16px; height: 16px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }

.btn-primary { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.btn-dark { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--carbon); border-color: var(--carbon); color: var(--paper); }
.btn-outline-gold { background: transparent; border-color: var(--gold); color: var(--brass); }
.btn-outline-gold:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.btn-lg { min-height: 56px; padding-inline: var(--s-6); font-size: var(--t-small); }
.btn-sm { min-height: 40px; padding-inline: var(--s-4); border-radius: var(--r-xs); font-size: .75rem; letter-spacing: .1em; }
.btn-block { width: 100%; }

.btn[aria-busy="true"] { cursor: progress; }

.link-button { min-height: var(--target); padding-inline: var(--s-2); background: none; border: 0; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; color: var(--error); }

/* ========== 9. Formulários (01-visual §2.10-G) ========== */
input, select, textarea { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--control-border); border-radius: var(--r-sm);
    background: var(--paper); color: var(--text); font-family: inherit; font-size: max(1rem, 16px); line-height: 1.4;
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
textarea { min-height: 120px; padding-block: var(--s-3); }
select { appearance: none; padding-right: 40px; cursor: pointer; text-overflow: ellipsis;
    background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%235C5C5C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; }
input:hover, select:hover, textarea:hover { border-color: var(--ink); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid transparent; border-color: var(--ink); box-shadow: 0 0 0 3px rgb(200 154 59 / .35); }
input:disabled, select:disabled, textarea:disabled { opacity: .55; cursor: not-allowed; }
input[type="checkbox"], input[type="radio"] { width: 20px; height: 20px; min-height: 0; padding: 0; margin: 2px 0 0; flex: none; accent-color: var(--ink); cursor: pointer; }
input[type="checkbox"]:focus-visible, input[type="radio"]:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; box-shadow: none; }
input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }
input[type="number"] { -moz-appearance: textfield; }
label { display: block; margin-bottom: 6px; font-size: var(--t-label); font-weight: 600; line-height: 1.3; letter-spacing: .01em; }
label.check { display: flex; gap: var(--s-3); align-items: flex-start; min-height: var(--target); margin: 0; font-size: var(--t-small); font-weight: 400; letter-spacing: 0; line-height: 1.5; cursor: pointer; }
/* Rótulo com texto corrido e links (aceite): bloco com a caixa à esquerda, sem partir o texto em colunas */
label.check:not(.segmented .check) { display: block; position: relative; padding: 0 0 0 32px; }
label.check:not(.segmented .check) > input { position: absolute; left: 0; top: 0; margin: 1px 0 0; }
fieldset { border: 0; padding: 0; margin: 0 0 var(--s-4); min-width: 0; }
legend { padding: 0; margin-bottom: var(--s-2); font-size: var(--t-label); font-weight: 600; }
.field { margin-bottom: 20px; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--error); }
.error { margin: 6px 0 0; font-size: var(--t-micro); font-weight: 500; color: var(--error); }
.field-help { margin: 6px 0 0; font-size: var(--t-micro); color: var(--muted); }
.field-help a, .field-help .icon { color: var(--gold-text); }

.input-action { display: flex; gap: var(--s-2); }
.input-action input { flex: 1; min-width: 0; }
.inline-form { display: flex; gap: var(--s-2); align-items: end; flex-wrap: wrap; margin-bottom: var(--s-2); }
.inline-form label { margin: 0; align-self: center; }
.inline-form select, .inline-form input { width: auto; }
.actions { display: flex; gap: var(--s-3) var(--s-4); align-items: center; flex-wrap: wrap; }
[role="radiogroup"] { display: flex; gap: var(--s-2) var(--s-4); flex-wrap: wrap; }

.form-row { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }

/* Controle segmentado (PF/PJ, quantidade, aro): selecionado = ink + brass, em todas as superfícies */
.segmented { display: flex; flex-wrap: wrap; gap: 0; }
.segmented .check { position: relative; flex: 1 1 auto; justify-content: center; align-items: center; min-height: 48px; margin: 0 0 0 -1px; padding: 0 var(--s-4);
    border: 1px solid var(--control-border); background: var(--paper); color: var(--text); font-size: var(--t-small); font-weight: 600; text-align: center; }
.segmented .check:first-child { margin-left: 0; border-radius: var(--r-sm) 0 0 var(--r-sm); }
.segmented .check:last-child { border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.segmented .check input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.segmented .check:hover { background: var(--ivory); }
.segmented .check:has(input:checked) { z-index: 1; background: var(--ink); border-color: var(--ink); color: var(--brass); font-weight: 700; }
.segmented .check:has(input:focus-visible) { z-index: 2; outline: 3px solid var(--focus); outline-offset: 2px; }
/* Quantidade − / + */
.stepper label { margin-bottom: var(--s-1); }
.stepper-box { display: flex; width: max-content; height: 48px; border: 1px solid var(--control-border); border-radius: var(--r-sm); overflow: hidden; background: var(--paper); }
.stepper-box input { width: 56px; min-height: 0; padding: 0; border: 0; border-radius: 0; text-align: center; }
.stepper-box input:focus-visible { box-shadow: inset 0 0 0 2px var(--ink); }
.stepper-box button { width: var(--target); border: 0; background: var(--ivory); color: var(--ink); font: inherit; font-size: 1.25rem; font-weight: 700; cursor: pointer; }
.stepper-box button:hover { background: var(--stone); }
.stepper-box :focus-visible { outline-offset: -3px; }
.stepper-sm { height: var(--target); }
.stepper-sm input { width: 48px; }
/* Seletor Marca → Modelo → Ano e busca por medida */
.vehicle-form, .size-form { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); align-items: end; margin-bottom: var(--s-4); }
.vehicle-form .field, .size-form .field { margin: 0; }
@media (min-width: 760px) {
    .vehicle-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
    .vehicle-form.has-year { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .vehicle-form.has-year > .btn { grid-column: 1 / -1; }
    .size-form { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; }
}
@media (min-width: 480px) and (max-width: 759px) {
    .vehicle-form.has-year { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 759px) {
    .vehicle-form { grid-template-columns: 1fr; }
    .vehicle-form .field:first-of-type, .vehicle-form > .btn { grid-column: 1 / -1; }
    .size-form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .size-form .btn { grid-column: 1 / -1; }
    .field-help a { display: inline-block; padding-block: var(--s-3); }
    label:has(> input[type="checkbox"]), label:has(> input[type="radio"]) { min-height: var(--target); }
}

/* ========== 10. Chips, selos, status, badge ========== */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0 0 var(--s-4); padding: 0; }
.chips a { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-pill);
    background: var(--paper); color: var(--ink); font-size: var(--t-small); font-weight: 500; line-height: 1.2; text-decoration: none;
    transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.chips a:hover { border-color: var(--gold); color: var(--ink); }
.chips a[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--brass); font-weight: 700; }
.chip-size, .chips-size a { font-family: var(--font-display); font-stretch: 112%; font-weight: 600; font-variant-numeric: tabular-nums lining-nums; }
@media (max-width: 759px) { .chips a { min-height: var(--target); } }
/* Selos (01-visual §2.10-J): condição do pneu, oferta, INMETRO */
.tag { display: inline-flex; align-items: center; gap: var(--s-1); min-height: 22px; padding: 0 var(--s-2); border: 1px solid transparent; border-radius: var(--r-xs);
    font-family: var(--font-text); font-size: .75rem; font-weight: 700; line-height: 1; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.tag-novo { background: var(--brass); border-color: var(--brass); color: var(--ink); }
/* Remold: informado, mas discreto (decisão do dono, 11/10): sem fundo de cor, contorno fino, caixa mista */
.tag-remold { background: var(--paper); border-color: var(--line); color: var(--muted); font-weight: 600; letter-spacing: .02em; text-transform: none; }
.tag-offer { background: var(--paper); border-color: var(--gold-line); color: var(--gold-text); }
.tag-inmetro { background: transparent; border-color: var(--line); color: var(--text); text-transform: none; letter-spacing: 0; font-weight: 600; }
/* Status de pedido: ponto colorido + texto ink (não só cor) */
.status { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--r-pill);
    background: var(--paper); color: var(--ink); font-size: .75rem; font-weight: 700; line-height: 1; white-space: nowrap; }
.status::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status-paid::before { background: var(--ok); }
.status-pending::before { background: var(--pending-dot); }
.status-failed::before, .status-cancelled::before { background: var(--error); }
.stock-in { color: var(--ok); font-weight: 600; }
.stock-out { color: var(--error); font-weight: 600; font-size: var(--t-micro); }
/* Badge do carrinho (só com 1+ item) */
.badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: var(--r-pill); background: var(--gold); color: var(--ink);
    font-family: var(--font-text); font-size: .75rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
/* Medalhão de ícone: círculo de 40 com borda dourada fina, ícone de 20 */
.medal { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border: 1px solid var(--gold-line); border-radius: 50%; color: var(--accent-text); }
.medal .icon { width: 20px; height: 20px; }

/* ========== 11. Trilha de navegação (01-visual §2.10-K) ========== */
.breadcrumb { margin: 0 0 var(--s-4); font-size: var(--t-micro); line-height: 1.4; color: var(--fg-muted); }
.breadcrumb ol { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.breadcrumb ol::-webkit-scrollbar { display: none; }
.breadcrumb li { display: flex; align-items: center; flex: none; }
.breadcrumb li:last-child { flex: 0 1 auto; min-width: 0; }
.breadcrumb li + li::before { content: ""; flex: none; width: 6px; height: 6px; margin: 0 10px 0 6px; border: solid currentColor; border-width: 1.5px 1.5px 0 0;
    transform: rotate(45deg); opacity: .55; }
.breadcrumb a { display: inline-block; padding-block: var(--s-3); color: inherit; text-decoration: none; }
.breadcrumb a:hover { color: var(--fg); text-decoration: underline 1px; }
.breadcrumb a:focus-visible { outline-offset: -3px; }
.breadcrumb [aria-current] { display: block; overflow: hidden; text-overflow: ellipsis; color: var(--fg); font-weight: 500; }

/* ========== 12. Tabelas (01-visual §2.10-F) ========== */
.table-wrap { overflow-x: auto; margin-bottom: var(--s-4); border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper); }
.table-wrap a:focus-visible, .table-wrap :focus-visible { outline-offset: -3px; }
.table { width: 100%; border-collapse: collapse; background: var(--paper); font-variant-numeric: tabular-nums; }
.table th, .table td { padding: 14px var(--s-4); border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.table thead th { padding-block: var(--s-3); background: var(--ivory); color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.table tbody th { font-weight: 600; }
.table tbody tr:last-child > * { border-bottom: 0; }
.table .num, .table td.money { text-align: right; }
.table .col-size { font-family: var(--font-display); font-stretch: 112%; font-weight: 600; font-size: .9375rem; white-space: nowrap; }
.table .col-money { font-family: var(--font-display); font-weight: 600; text-align: right; white-space: nowrap; }
.table td a, .table th a { color: var(--ink); font-weight: 600; text-decoration: underline 1px rgb(138 100 24 / .45); text-underline-offset: 4px; }
.table td a:hover, .table th a:hover { color: var(--gold-text); text-decoration-color: currentColor; }
.table input.qty { width: 70px; }
.table input.money { width: 110px; }
.table tbody tr.row-highlight > * { background: var(--row-highlight); font-weight: 600; }
.table tbody tr.row-highlight > :first-child { box-shadow: inset 3px 0 0 var(--gold-text-strong); }
/* Tabela que vira lista de cartões no celular: <table class="table table-stack">, <td data-label="Coluna"> */
@media (max-width: 599px) {
    .table-wrap:has(.table-stack) { overflow: visible; border: 0; background: transparent; }
    .table-stack, .table-stack tbody, .table-stack tr, .table-stack th, .table-stack td { display: block; }
    .table-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .table-stack tr { margin-bottom: var(--s-3); padding: var(--s-3) var(--s-4); border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper); }
    .table-stack th, .table-stack td { padding: var(--s-1) 0; border: 0; text-align: left; }
    .table-stack td[data-label] { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); text-align: right; }
    .table-stack td[data-label]::before { content: attr(data-label); flex: none; max-width: 50%; color: var(--muted); font-size: var(--t-micro); font-weight: 600; text-align: left; }
    .table-stack tbody th { margin-bottom: var(--s-1); font-size: 1rem; }
    .table-stack tbody tr:last-child > * { border-bottom: 0; }
}

/* ========== 13. Cartões (01-visual §2.10-D/E) ========== */
/* Cartão genérico: paper; sobre ivory sem borda e com sombra 1; sobre paper com borda e sem sombra. Não aninhar. */
.card { position: relative; padding: var(--s-5); border-radius: var(--r-sm); background: var(--paper); box-shadow: var(--sh-1); }
.band-paper .card { box-shadow: none; border: 1px solid var(--line); }
/* Grade de produtos: 4 colunas no desktop, 3 no catálogo (com filtros), 2 no celular */
.grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 232px), 1fr)); }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .catalog .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 759px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); } }
/* Cartão de produto */
.product-card { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: var(--r-sm); background: var(--paper); box-shadow: var(--sh-1);
    overflow: hidden; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.band-paper .product-card { box-shadow: none; outline: 1px solid var(--line); outline-offset: -1px; }
.product-card:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.product-card:has(.pc-link:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.pc-media { position: relative; display: grid; place-items: center; aspect-ratio: 1; background: var(--white); overflow: hidden; }
.pc-media img { width: 78%; height: 78%; object-fit: contain; mix-blend-mode: multiply; transition: transform 600ms var(--ease); }
.pc-media img.illustrative { filter: brightness(1.06); }
.product-card:hover .pc-media img { transform: scale(1.03); }
.pc-seal { position: absolute; top: var(--s-3); left: var(--s-3); z-index: 2; }
.illustrative-note { position: absolute; right: var(--s-2); bottom: var(--s-2); z-index: 2; padding: 1px 6px; border-radius: var(--r-xs); background: rgb(255 255 255 / .9);
    color: var(--note); font-size: .75rem; font-weight: 500; line-height: 1.4; letter-spacing: .01em; }
.pc-body { display: flex; flex-direction: column; flex: 1; padding: var(--s-4) 20px 20px; }
.pc-brand { margin: 0 0 2px; color: var(--muted); font-size: .75rem; font-weight: 700; line-height: 1.3; letter-spacing: .12em; text-transform: uppercase; }
.pc-title { margin: 0; min-height: 2.7em; font-family: var(--font-text); font-size: .9375rem; font-weight: 600; line-height: 1.35; letter-spacing: 0; text-transform: none;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.pc-link { color: var(--ink); text-decoration: none; }
.pc-link::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.pc-link:hover { color: var(--ink); }
.pc-link:focus-visible { outline: none; }
.pc-size { margin: var(--s-1) 0 0; color: var(--ink); font-size: 1rem; }
.pc-index { color: var(--muted); font-weight: 500; }
.pc-price { margin-top: auto; padding-top: var(--s-3); }
.pc-old { display: flex; align-items: center; gap: var(--s-2); min-height: 22px; margin: 0; color: var(--muted); font-size: var(--t-micro); font-variant-numeric: tabular-nums; }
.pc-off { display: inline-flex; align-items: center; min-height: 20px; padding: 0 var(--s-1); border: 1px solid var(--gold-line); border-radius: var(--r-xs);
    color: var(--gold-text); font-size: .75rem; font-weight: 700; }
.pc-now { margin: 2px 0 0; color: var(--ink); font-size: 1.5rem; }
.pc-each { margin-left: var(--s-1); font-family: var(--font-text); font-size: var(--t-micro); font-weight: 500; vertical-align: .1em; color: var(--muted); }
.pc-pair { margin: var(--s-1) 0 0; color: var(--muted); font-size: var(--t-micro); font-variant-numeric: tabular-nums; }
.pc-stock { margin: var(--s-2) 0 0; color: var(--error); font-size: var(--t-micro); font-weight: 600; }
.pc-cta { width: 100%; margin-top: var(--s-4); }
.product-card:hover .pc-cta.btn-dark { background: var(--carbon); border-color: var(--carbon); }
.product-card.is-out .pc-media img { opacity: .7; }
@media (max-width: 759px) {
    .pc-body { padding: var(--s-3) var(--s-3) var(--s-4); }
    .pc-title { font-size: .875rem; }
    .pc-size { font-size: .9375rem; }
    .pc-now { font-size: 1.25rem; }
    .pc-pair { font-size: .75rem; white-space: nowrap; }
    .pc-media img { width: 70%; height: 70%; margin-bottom: var(--s-3); }
    .illustrative-note { right: var(--s-1); bottom: var(--s-1); font-size: .6875rem; }
    .pc-seal { top: var(--s-2); left: var(--s-2); }
    .pc-cta { margin-top: var(--s-3); }
}
/* Grade rala (1 ou 2 resultados): cartões horizontais, 6 colunas cada */
.grid.grid-row { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.grid-row .product-card { flex-direction: row; }
.grid-row .pc-media { flex: none; width: 160px; align-self: stretch; aspect-ratio: auto; min-height: 160px; }
@media (max-width: 479px) { .grid-row .pc-media { width: 112px; min-height: 0; } }

/* ========== 14. Cabeçalho de seção (01-visual §2.10-B; .rule-head é o nome antigo) ========== */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-3) var(--s-5); margin-bottom: var(--s-6); }
.section-head h2 { margin: 0; white-space: normal; }
.section-head-text { flex: 1 1 28rem; min-width: 0; }
.section-head-text .eyebrow { margin-bottom: var(--s-3); }
.section-lead { margin: var(--s-3) 0 0; max-width: 60ch; color: var(--muted); font-size: 1rem; line-height: 1.55; }

.section-head > a:not(.btn) { display: inline-flex; align-items: center; gap: var(--s-2); min-height: var(--target); font-size: .75rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); text-decoration: none; white-space: nowrap; }
.section-head > a:not(.btn):hover { text-decoration: underline 1px; text-underline-offset: 4px; }
.section-head > a .icon { width: 12px; height: 12px; }
@media (max-width: 759px) { .section-head { margin-bottom: var(--s-5); } }

/* ========== 15. Faixa de título de página (partials/page-head.php) ========== */
.page-head { position: relative; isolation: isolate; overflow: hidden; margin-bottom: var(--s-7); border-bottom: 1px solid var(--gold-line);
    background: radial-gradient(60% 120% at 85% 0%, rgb(200 154 59 / .16), transparent 60%), var(--ink); }
.page-head-inner { position: relative; z-index: 1; width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto;
    padding: var(--s-2) var(--gutter) var(--s-6); }
.page-head .breadcrumb { margin: 0 0 var(--s-4); }
.page-head .eyebrow { margin-bottom: var(--s-3); }
.page-head-title { max-width: 22ch; margin: 0; color: var(--paper); }
.page-head-lead { max-width: 60ch; margin: var(--s-3) 0 0; color: var(--on-dark-muted); font-size: var(--t-lead); font-weight: 500; line-height: 1.5; }
.page-head-photo { position: absolute; z-index: 0; inset: 0 0 0 auto; width: 46%; }
.page-head-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; opacity: .75; }
.page-head-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgb(11 11 11 / .7) 30%, rgb(11 11 11 / .15) 70%, rgb(11 11 11 / .3) 100%); }
.page-head-photo + .page-head-inner { min-height: 240px; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: var(--s-7); }
@media (max-width: 759px) {
    .page-head { margin-bottom: var(--s-6); }
    .page-head-inner { padding-bottom: var(--s-5); }
    .page-head .breadcrumb { margin-bottom: var(--s-2); }
    .page-head .eyebrow { margin-bottom: var(--s-2); }
    .page-head-lead { font-size: 1rem; }
    .page-head-photo { inset: 0; width: 100%; }
    .page-head-photo img { opacity: .35; }
    .page-head-photo::after { background: linear-gradient(180deg, rgb(11 11 11 / .55), rgb(11 11 11 / .9)); }
    .page-head-photo + .page-head-inner { min-height: 160px; padding-bottom: var(--s-5); }
}

/* ========== 16. Avisos (alert inline e flash fixo) ========== */
.alert { margin: 0 0 var(--s-4); padding: var(--s-3) var(--s-4); border: 1px solid; border-radius: var(--r-sm); background: var(--paper); font-size: var(--t-small); }
.alert-ok { border-color: var(--ok); color: var(--ok); }
.alert-error { border-color: var(--error); color: var(--error); }
.alert > :last-child { margin-bottom: 0; }
/* Flash: fica visível ao rolar (sticky, sem ocupar espaço), com botão fechar (JS). Não some sozinho. */
.flash-stack { position: sticky; top: 0; z-index: 60; height: 0; }
.flash-inner { position: absolute; top: var(--s-3); left: 0; right: 0; display: grid; justify-items: end; gap: var(--s-2); pointer-events: none; }
.flash { pointer-events: auto; display: flex; align-items: flex-start; gap: var(--s-3); width: min(100%, 480px); margin: 0; padding: 14px var(--s-2) 14px var(--s-4);
    border: 1px solid var(--line); background: var(--paper); color: var(--ink); box-shadow: var(--sh-2); font-weight: 500; }
.flash::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: var(--ok); }
.flash.alert-error::before { background: var(--error); }
.flash.alert-error { border-color: var(--error); }
.flash p { flex: 1; margin: 0; padding-top: 2px; }
.flash-close { display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; margin: -6px 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.flash-close:hover { background: var(--ivory); color: var(--ink); }
.flash-close .icon { width: 20px; height: 20px; }
@media (max-width: 759px) { .flash-inner { justify-items: stretch; } .flash { width: 100%; } }

/* ========== 17. Cabeçalho do site ========== */
.site-header { position: relative; z-index: 50; }
/* Barra do topo: atendimento à esquerda, "Acompanhar pedido" à direita */
.topbar { background: var(--ink); border-bottom: 1px solid var(--carbon); font-size: .75rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 36px; }
.topbar-contact { display: flex; align-items: center; min-width: 0; margin: 0; color: var(--on-dark-muted); white-space: nowrap; }
.topbar-contact > * { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; color: var(--on-dark-muted); text-decoration: none; }
.topbar-contact > * + *::before { content: "·"; margin: 0 var(--s-3); color: var(--on-dark-muted); opacity: .5; }
.topbar-contact a:hover { color: var(--paper); }
.topbar .icon { width: 16px; height: 16px; color: var(--brass); }
.topbar-track { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; flex: none; color: var(--on-dark); font-weight: 600; text-decoration: none; }
.topbar-track:hover { color: var(--brass); text-decoration: underline 1px; }
.topbar a:focus-visible { outline-offset: -3px; }
/* Linha principal: menu (celular) · logo · busca · ajuda, conta e carrinho */
.header-main { background: var(--ink); border-bottom: 1px solid var(--carbon); }
.header-inner { display: flex; align-items: center; gap: var(--s-4) var(--s-6); padding-block: var(--s-4); }
.logo { flex: none; display: block; text-decoration: none; }
.logo img { width: auto; height: 56px; }
.menu-toggle { display: none; }
.site-search { flex: 1 1 auto; display: flex; align-items: center; max-width: 640px; height: 52px; padding: 6px 6px 6px var(--s-5); border-radius: var(--r-pill);
    background: var(--paper); transition: box-shadow var(--dur) var(--ease); }
.site-search:focus-within { box-shadow: 0 0 0 3px var(--brass); }
.site-search input, .mnav-search input { flex: 1; min-width: 0; min-height: 40px; height: 40px; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--ink); }
.site-search input:focus-visible, .mnav-search input:focus-visible { box-shadow: none; outline: 2px solid transparent; }
.search-btn { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--ink); color: var(--brass); cursor: pointer;
    transition: background-color var(--dur) var(--ease); }
.search-btn:hover { background: var(--carbon); }
.search-btn .icon { width: 20px; height: 20px; }
.search-btn:focus-visible { outline: 3px solid var(--gold-text); outline-offset: 1px; }
.header-actions { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.header-action { display: inline-flex; align-items: center; gap: 10px; min-height: var(--target); min-width: var(--target); color: var(--on-dark);
    font-size: var(--t-small); font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.header-action:hover { color: var(--brass); }
.header-action > .icon, .ha-icon > .icon { width: 24px; height: 24px; color: var(--brass); }
.ha-text small { display: block; color: var(--on-dark-muted); font-size: .75rem; font-weight: 500; }
.ha-icon { position: relative; display: inline-grid; place-items: center; }
.ha-icon .badge { position: absolute; top: -8px; right: -10px; box-shadow: 0 0 0 2px var(--ink); }
.ha-cart { gap: var(--s-4); }
/* Barra de categorias (desktop): alinhada à grade, "Pneu para o seu carro" à direita como atalho */
.category-bar { background: var(--ink); border-bottom: 1px solid var(--gold-line); }
.category-bar-inner { display: flex; align-items: center; gap: 0 var(--s-1); padding-left: calc(var(--gutter) - var(--s-4)); }
.category-bar-inner > a, .menu summary { position: relative; display: inline-flex; align-items: center; gap: var(--s-2); min-height: 48px; padding: 0 var(--s-4);
    color: var(--on-dark); font-size: var(--t-nav); font-weight: 600; letter-spacing: .01em; text-decoration: none; white-space: nowrap; cursor: pointer; }
.category-bar-inner > a:hover, .menu summary:hover { color: var(--brass); }
.category-bar-inner > a[aria-current="page"], .menu.is-current > summary, .menu[open] > summary { color: var(--brass); }
.category-bar-inner > a[aria-current="page"]::after, .menu.is-current > summary::before { content: ""; position: absolute; left: var(--s-4); right: var(--s-4); bottom: 0; height: 2px; background: var(--gold); }
.category-bar-inner > a:focus-visible, .menu summary:focus-visible { outline-offset: -3px; }
.category-bar-inner > a.category-highlight { margin-left: auto; min-height: 36px; padding: 0 var(--s-4); border: 1px solid var(--gold-line); border-radius: var(--r-sm); color: var(--brass); }
.category-bar-inner > a.category-highlight:hover { border-color: var(--gold); background: rgb(200 154 59 / .08); }
.category-bar-inner > a.category-highlight[aria-current="page"]::after { display: none; }
.category-bar-inner > a.category-highlight[aria-current="page"] { border-color: var(--gold); }
.category-highlight .icon { width: 20px; height: 20px; color: var(--brass); }
.menu { position: relative; }
.menu summary { list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: ""; width: 6px; height: 6px; margin: -3px 0 0 2px; border: solid var(--on-dark-muted); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform var(--dur) var(--ease); }
.menu[open] summary::after { margin-top: 3px; transform: rotate(-135deg); }
.menu ul { position: absolute; z-index: 15; left: 0; top: 100%; min-width: 240px; margin: 0; padding: var(--s-2) 0; list-style: none;
    border-top: 2px solid var(--gold); border-radius: 0 0 var(--r-sm) var(--r-sm); background: var(--paper); box-shadow: var(--sh-2); }
.menu ul a { display: flex; align-items: center; min-height: 40px; padding: 0 var(--s-5) 0 var(--s-4); color: var(--text); font-size: var(--t-small); text-decoration: none; }
.menu ul a:hover { background: var(--ivory); color: var(--gold-text); }
.menu ul a[aria-current="page"] { color: var(--gold-text); font-weight: 700; }
.menu ul .menu-all { margin-bottom: var(--s-1); padding-bottom: var(--s-1); border-bottom: 1px solid var(--line); }
.menu ul .menu-all a { font-weight: 700; }
@media (max-width: 1023px) {
    .category-bar { display: none; }
    .menu-toggle { display: inline-grid; place-items: center; flex: none; width: var(--target); height: var(--target); margin-left: calc(-1 * var(--s-2)); color: var(--on-dark); }
    .menu-toggle .icon { width: 26px; height: 26px; }
    .menu-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .ha-help { display: none; }
    .ha-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }   /* nome acessível mantido (03 G-01) */
    .header-actions { gap: var(--s-1); }
    .header-action { justify-content: center; }
    .header-inner { gap: var(--s-3) var(--s-4); }
}
@media (max-width: 759px) {
    .topbar-contact > :not(:first-child) { display: none; }
    .topbar-contact > :first-child { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; line-height: 36px; }
    .topbar-contact > :first-child .icon { vertical-align: -3px; margin-right: 6px; }
    .header-inner { flex-wrap: wrap; padding-block: var(--s-2) var(--s-3); gap: var(--s-2) var(--s-2); }
    .logo img { height: 44px; }
    .site-search { order: 5; flex-basis: 100%; max-width: none; height: 48px; padding: 4px 4px 4px var(--s-4); }
    .site-search input { height: 40px; }
}

/* ========== 18. Menu do celular (painel de tela cheia, 02-ux §2) ========== */
.mnav { display: none; }
@media (max-width: 1023px) {
    .mnav:target, .mnav.is-open { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; background: var(--ink); }
    .mnav-head { display: flex; align-items: center; justify-content: space-between; flex: none; min-height: 64px; padding: 0 var(--gutter); border-bottom: 1px solid var(--carbon); }
    .mnav-title { margin: 0; font-family: var(--font-display); font-stretch: 118%; font-weight: 700; font-size: 1.125rem; letter-spacing: .02em; text-transform: uppercase; color: var(--paper); }
    .mnav-close { display: inline-grid; place-items: center; width: var(--target); height: var(--target); margin-right: calc(-1 * var(--s-2)); border-radius: 50%; color: var(--on-dark); }
    .mnav-close .icon { width: 24px; height: 24px; }
    .mnav-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: var(--s-4) var(--gutter) var(--s-8); }
    .mnav-search { display: flex; align-items: center; height: 48px; margin-bottom: var(--s-4); padding: 4px 4px 4px var(--s-4); border-radius: var(--r-pill); background: var(--paper); }
    .mnav-search:focus-within { box-shadow: 0 0 0 3px var(--brass); }
    .mnav-feature { display: grid; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
    .mnav-feature a { display: flex; align-items: center; gap: var(--s-3); min-height: 56px; padding: 0 var(--s-4); border: 1px solid var(--gold-line); border-radius: var(--r-sm);
        color: var(--brass); font-weight: 700; text-decoration: none; }
    .mnav-feature a:hover, .mnav-feature a[aria-current] { border-color: var(--gold); background: rgb(200 154 59 / .08); color: var(--brass); }
    .mnav-feature .icon { width: 20px; height: 20px; }
    .mnav-label { margin: var(--s-6) 0 var(--s-2); font-family: var(--font-display); font-stretch: 112%; font-weight: 600; font-size: var(--t-eyebrow);
        letter-spacing: .24em; text-transform: uppercase; color: var(--brass); }
    .mnav-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--carbon); }
    .mnav-list a { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--carbon); color: var(--on-dark); font-weight: 500; text-decoration: none; }
    .mnav-list a:hover, .mnav-list a[aria-current] { color: var(--brass); }
    .mnav-cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s-4); }
    .mnav-rims { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
    .mnav-rims a { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--carbon); border-radius: 50%; color: var(--on-dark);
        font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-variant-numeric: tabular-nums; text-decoration: none; }
    .mnav-rims a:hover, .mnav-rims a[aria-current] { border-color: var(--brass); color: var(--brass); }
}

/* ========== 19. Faixa de ajuda (compacta, 01-visual §3.0) ========== */
.help-band { padding-block: var(--s-7); border-top: 1px solid var(--line); background: var(--paper); }
.help-band-inner { display: grid; gap: var(--s-5) var(--s-6); align-items: center; }
.help-band-head .eyebrow { margin-bottom: var(--s-2); }
.help-band-title { margin: 0; font-size: var(--t-h2-band); font-weight: 700; letter-spacing: .02em; line-height: 1.15; }
.help-band-hours { margin: var(--s-2) 0 0; color: var(--muted); font-size: var(--t-small); }
.help-channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--s-2) 0; margin: 0; padding: 0; list-style: none; }
.help-channels li { min-width: 0; }
.help-channels a { display: flex; align-items: center; gap: var(--s-3); min-height: 56px; padding: var(--s-2) var(--s-5); color: var(--ink); font-size: var(--t-small); text-decoration: none; }
.help-channels a:hover strong { color: var(--gold-text); text-decoration: underline 1px; text-underline-offset: 3px; }
.help-channels strong { display: block; font-weight: 700; }
.help-value { display: block; overflow: hidden; text-overflow: ellipsis; color: var(--muted); font-size: var(--t-micro); }
.help-channels .medal { color: var(--gold-text); }
.help-channels a:focus-visible { outline-offset: -3px; }
@media (min-width: 1024px) {
    .help-band-inner { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
    .help-channels { display: flex; }
    .help-channels li { flex: 1 1 0; }
    .help-channels li + li { border-left: 1px solid var(--line); }
}
@media (min-width: 600px) and (max-width: 1023px) { .help-channels a { padding-left: 0; } }
@media (max-width: 759px) {
    .help-band { padding-block: var(--s-6); }
    .help-channels { grid-template-columns: 1fr; gap: 0; }
    .help-channels li + li { border-top: 1px solid var(--line); }
    .help-channels a { padding-inline: 0; }
}

/* ========== 20. Rodapé ========== */
.site-footer { padding-top: var(--s-8); border-top: 1px solid var(--gold-line); background: var(--ink); font-size: var(--t-small); }
.footer-grid { display: grid; gap: var(--s-6) var(--s-6); grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; }
.footer-brand { grid-column: 1 / -1; max-width: 420px; }
.footer-logo { width: 150px; height: auto; margin-bottom: var(--s-4); }
.site-footer p { margin: 0 0 var(--s-2); color: var(--on-dark-muted); }
.site-footer .footer-slogan { margin-bottom: var(--s-3); font-family: var(--font-display); font-stretch: 125%; font-weight: 400; font-size: .9375rem; letter-spacing: .22em;
    text-transform: uppercase; color: var(--on-dark); }
.footer-contact { margin: var(--s-3) 0 0; padding: 0; list-style: none; color: var(--on-dark-muted); }
.footer-contact li { padding-block: var(--s-1); }
.footer-contact a { color: var(--on-dark); text-decoration: none; }
.footer-contact a:hover { color: var(--brass); text-decoration: underline 1px; }
.footer-title { margin: 0 0 var(--s-3); font-family: var(--font-display); font-stretch: 112%; font-weight: 600; font-size: var(--t-eyebrow); line-height: 1.2;
    letter-spacing: .24em; text-transform: uppercase; color: var(--brass); }
.footer-col > summary { display: block; list-style: none; cursor: default; }
.footer-col > summary::-webkit-details-marker { display: none; }
.footer-links { display: grid; margin: 0; padding: 0; list-style: none; }
.footer-links a { display: inline-flex; align-items: center; min-height: 32px; color: var(--on-dark-muted); text-decoration: none; }
.footer-links a:hover { color: var(--on-dark); text-decoration: underline 1px; text-underline-offset: 3px; }
.pay-list { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0 0 var(--s-3); padding: 0; list-style: none; }
.pay-list li { display: inline-flex; align-items: center; min-height: 28px; padding: 0 var(--s-3); border: 1px solid var(--carbon); border-radius: var(--r-xs);
    color: var(--on-dark); font-size: .75rem; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.pay-list-light li { border-color: var(--line); color: var(--text); }
.footer-secure { display: flex; align-items: center; gap: 6px; }
.footer-secure .icon { width: 16px; height: 16px; color: var(--brass); }
/* O filete fica num elemento interno: respeita o padding do container (antes passava 16 px de cada lado) */
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-2) var(--s-5); margin-top: var(--s-7);
    padding-block: var(--s-5); border-top: 1px solid var(--carbon); font-size: var(--t-micro); }
.footer-bottom p { margin: 0; }
@media (min-width: 1024px) {
    .footer-grid { grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); }
    .footer-brand { grid-column: auto; }
}
@media (min-width: 760px) { .footer-col > summary { pointer-events: none; } }
@media (max-width: 759px) {
    .site-footer { padding-top: var(--s-7); }
    .footer-grid { grid-template-columns: 1fr; gap: 0; }
    .footer-brand { margin-bottom: var(--s-5); }
    .footer-col { border-top: 1px solid var(--carbon); }
    .footer-col > summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; cursor: pointer; }
    .footer-col > summary .footer-title { margin: 0; }
    .footer-col > summary::after { content: ""; width: 8px; height: 8px; margin-right: var(--s-1); border: solid var(--on-dark-muted); border-width: 0 1.5px 1.5px 0;
        transform: rotate(45deg) translateY(-2px); transition: transform var(--dur) var(--ease); }
    .footer-col[open] > summary::after { transform: rotate(-135deg); }
    .footer-col > summary:focus-visible { outline-offset: -3px; }
    .footer-col .footer-links { padding-bottom: var(--s-3); }
    .footer-links a { min-height: var(--target); }
    .footer-pay { padding-top: var(--s-4); border-top: 1px solid var(--carbon); }
    .footer-bottom { margin-top: var(--s-5); }
}

/* ========== 21. WhatsApp flutuante ========== */
.whatsapp-float { position: fixed; right: var(--s-4); bottom: calc(var(--s-4) + env(safe-area-inset-bottom, 0px)); z-index: 40; display: grid; place-items: center;
    width: 52px; height: 52px; border-radius: 50%; background: var(--whatsapp); color: var(--white); box-shadow: var(--sh-2); --focus: var(--ink); }
.whatsapp-float .icon { width: 26px; height: 26px; }
.whatsapp-float:hover { background: var(--whatsapp-hover); color: var(--white); }
/* Com barra fixa de compra no celular (produto, carrinho), o botão sobe acima dela */
@media (max-width: 759px) { body:has([data-mobile-bar]:not([hidden])) .whatsapp-float { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); } }
html.menu-open .whatsapp-float { display: none; }

/* ========== 22. Layout de compra (cabeçalho, etapas, rodapé) ========== */
.checkout-mode { background: var(--ivory); }
.checkout-header { background: var(--ink); border-bottom: 1px solid var(--gold-line); }
.checkout-header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s-4); min-height: 80px; }
.checkout-header .logo img { height: 52px; }
.checkout-back { display: inline-flex; align-items: center; gap: var(--s-2); justify-self: start; min-height: var(--target); color: var(--on-dark); font-size: var(--t-small); font-weight: 600; text-decoration: none; }
.checkout-back:hover { color: var(--brass); }
.icon-back { transform: rotate(180deg); color: var(--brass); }
.checkout-secure { justify-self: end; display: flex; align-items: center; gap: var(--s-2); margin: 0; color: var(--on-dark); font-size: .75rem; font-weight: 700; line-height: 1.2;
    letter-spacing: .08em; text-transform: uppercase; }
.checkout-secure .icon { width: 24px; height: 24px; color: var(--brass); }
.steps-nav { background: var(--paper); border-bottom: 1px solid var(--line); }
.steps { display: flex; justify-content: center; max-width: calc(720px + 2 * var(--gutter)); margin: 0 auto; padding-block: var(--s-4); list-style: none; }
.steps li { position: relative; display: flex; flex: 1 1 0; align-items: center; gap: var(--s-2); color: var(--muted); font-size: var(--t-small); font-weight: 500; white-space: nowrap; }
.steps li:first-child { flex: none; }
.steps li + li::before { content: ""; flex: 1 1 auto; min-width: var(--s-5); height: 1px; margin: 0 var(--s-2) 0 var(--s-4); background: var(--line); }
.step-num { display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border: 1px solid var(--control-border); border-radius: 50%;
    background: var(--paper); color: var(--muted); font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: .875rem; font-variant-numeric: tabular-nums; }
.step-num .icon { width: 16px; height: 16px; }
.steps .step-done { color: var(--text); }
.steps .step-done .step-num { border-color: var(--gold); background: var(--gold); color: var(--ink); }
.steps .step-done + li::before, .steps .step-current::before { background: var(--gold); }
.steps .step-current { color: var(--ink); font-weight: 700; }
.steps .step-current .step-num { border-color: var(--ink); background: var(--ink); color: var(--brass); }
.checkout-main { --main-pt: var(--s-6); }
.checkout-title { margin: 0 0 var(--s-5); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); text-align: left; }
.checkout-footer { margin-top: 0; padding-top: var(--s-7); border-top: 1px solid var(--line); background: var(--paper); color: var(--muted); font-size: var(--t-small); }
.checkout-footer .footer-title { color: var(--gold-text); }
.checkout-footer-grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.checkout-footer p { margin: 0 0 var(--s-1); }
.checkout-phone { color: var(--text); font-size: 1.125rem; font-weight: 700; }
.checkout-footer .footer-secure .icon { color: var(--gold-text); }
.checkout-legal { margin: var(--s-6) 0 0; padding-block: var(--s-4); border-top: 1px solid var(--line); font-size: .75rem; }
@media (max-width: 759px) {
    .checkout-header-inner { grid-template-columns: auto 1fr auto; min-height: 64px; gap: var(--s-2); }
    .checkout-header .logo { justify-self: center; }
    .checkout-header .logo img { height: 40px; }
    .checkout-back { min-width: var(--target); justify-content: center; }
    .checkout-back-text, .checkout-secure span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .steps { padding-block: var(--s-3); }
    .steps li, .steps li:first-child { flex: 1 1 0; flex-direction: column; gap: var(--s-1); font-size: .75rem; text-align: center; white-space: normal; }
    .steps li + li::before { position: absolute; top: 14px; right: calc(50% + 18px); width: calc(100% - 36px); min-width: 0; margin: 0; }
    .checkout-footer a, .checkout-legal a { display: inline-block; padding-block: var(--s-3); }
}

/* ===================================================================================================================
   Seções de página. Mantidas funcionando sobre o sistema novo; serão retrabalhadas na fase 2 (agentes B, C e D).
   =================================================================================================================== */

/* ---------- Início (agente B) ---------- */

/* Scrim reforçado (03 H-01): o texto nunca fica sobre menos de .7 de escuro */

.hero { position: relative; background: none; color: inherit; }

.hero h1 { margin: 0 0 var(--s-5); color: var(--paper); font-size: var(--t-hero); line-height: .95; letter-spacing: 0; }
.hero h1 span { display: block; color: var(--brass); }

.tab-title { font-size: 1rem; margin: var(--s-2) 0; }

.tabs-on .tab-panel + .tab-panel { margin-top: 0; padding-top: 0; border-top: 0; }

.chapter-dark { background: var(--ink); padding-bottom: var(--chapter-pad); border-bottom: 1px solid var(--gold-line); }
.page-main > .chapter-dark { margin-top: var(--s-section); }

@media (min-width: 1100px) {
    .vehicle-form.has-year { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .75fr) auto; }
    .vehicle-form.has-year > .btn { grid-column: auto; }
}

/* Ranking de demanda (D-032). Números nunca em ouro sobre claro (03 G-09): --gold-text; o 1º invertido em ink */

/* ---------- Catálogo (agente C) ---------- */
.catalog { display: grid; gap: var(--s-5); }

.facet-count { margin-left: auto; color: var(--on-dark-muted); font-size: var(--t-micro); font-weight: 400; font-variant-numeric: tabular-nums; }

.results-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-2) var(--s-4); margin-bottom: var(--s-4); }
.results-count { margin: 0; color: var(--muted); font-size: var(--t-small); }
.sort-form { display: flex; align-items: center; gap: var(--s-2); }
.sort-form label { margin: 0; white-space: nowrap; }
.sort-form select { width: auto; }
.filter-chips { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); margin: 0 0 var(--s-4); padding: 0; list-style: none; }
.filter-chip { display: inline-flex; align-items: center; gap: var(--s-2); min-height: var(--target); padding: 0 14px; border: 1px solid var(--gold-line); border-radius: var(--r-xs);
    background: var(--paper); color: var(--ink); font-size: var(--t-small); font-weight: 600; text-decoration: none; }
.filter-chip:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.filter-chip [aria-hidden] { font-size: 1.125rem; line-height: 1; color: var(--gold-text); }
.filter-chip:hover [aria-hidden] { color: var(--brass); }
.filter-chips > li > a:not(.filter-chip) { display: inline-flex; align-items: center; min-height: var(--target); padding: 0 6px; color: var(--gold-text); font-size: var(--t-small); font-weight: 700; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: var(--s-5); }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: var(--target); min-height: var(--target); border: 1px solid var(--line); border-radius: var(--r-sm);
    background: var(--paper); text-decoration: none; font-variant-numeric: tabular-nums; }
.pagination span { background: var(--ink); border-color: var(--ink); color: var(--brass); font-weight: 700; }
.seo-text { max-width: 80ch; color: var(--muted); font-size: var(--t-small); }
.chips-nav { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-4); }
.chips-nav a { display: inline-flex; align-items: center; min-height: var(--target); padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--paper); font-size: var(--t-small); text-decoration: none; }
.chips-nav a[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--brass); }
@media (min-width: 760px) {
    .catalog { grid-template-columns: 260px minmax(0, 1fr); align-items: start; }
    
    
}
@media (min-width: 1100px) { .catalog { grid-template-columns: 280px minmax(0, 1fr); } }

/* ---------- Produto (agente C) ---------- */
.product { display: grid; gap: var(--s-6); grid-template-columns: 1fr; }

.gallery-track { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; border-radius: var(--r-sm); background: var(--white); box-shadow: var(--sh-1); }
.gallery-track::-webkit-scrollbar { display: none; }   /* navega por arraste e miniaturas; a barra roubava altura e criava rolagem vertical */
.gallery-track img { flex: 0 0 100%; aspect-ratio: 1; object-fit: contain; scroll-snap-align: start; mix-blend-mode: multiply; }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.gallery-thumbs a { display: block; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); }
.gallery-thumbs a:hover { border-color: var(--gold); }
.gallery-thumbs img { width: 64px; height: 64px; object-fit: contain; mix-blend-mode: multiply; }

img.illustrative { mix-blend-mode: multiply; filter: brightness(1.06); }

.sku { margin: 0 0 6px; font-size: var(--t-micro); }

.fit { padding: var(--s-3) var(--s-4); border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper); }

.qty-picker { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); margin: 0 0 var(--s-1); padding: 0; border: 0; }
.qty-picker legend { margin-bottom: var(--s-2); font-size: var(--t-small); font-weight: 700; }
.qty-presets { display: flex; gap: var(--s-2); }
.qty-presets button { min-height: var(--target); padding: 0 14px; border: 1px solid var(--control-border); border-radius: var(--r-sm); background: var(--paper); font: inherit; font-weight: 600; font-size: var(--t-small); cursor: pointer; }
.qty-presets button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--brass); }
.qty-help { margin: 6px 0 0; font-size: var(--t-micro); }

.shipping-quotes { display: grid; margin: 6px 0 0; padding: 0; font-size: var(--t-small); font-variant-numeric: tabular-nums; list-style: none; }
.shipping-quotes li { padding: var(--s-2) 0; border-top: 1px solid var(--line); line-height: 1.4; }
.shipping-quotes li:first-child { border-top: 0; }
.shipping-quotes strong { color: var(--ink); }

.specs-layout { display: grid; gap: var(--s-5); align-items: start; }
.specs { display: grid; grid-template-columns: max-content 1fr; gap: var(--s-1) var(--s-4); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }

.description { max-width: var(--measure); }
.inmetro-label { padding: var(--s-4); border-radius: var(--r-sm); background: var(--paper); box-shadow: var(--sh-1); }
.band-paper .inmetro-label { background: var(--ivory); box-shadow: none; }

.inmetro-label p:not(.inmetro-title) { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); margin: 6px 0; font-size: var(--t-small); }
.grade { display: inline-grid; place-items: center; min-width: 36px; height: 28px; border-radius: var(--r-sm); background: #555555; color: var(--white); font-weight: 700; }
.grade-a { background: #1E7B34; } .grade-b { background: #4C7F1F; } .grade-c { background: #9BB72A; color: #111111; }
.grade-d { background: #E2C21F; color: #111111; } .grade-e { background: #E89A1C; color: #111111; } .grade-f { background: #B5480F; } .grade-g { background: #B42318; }

@media (min-width: 760px) {
    .product { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; }
    
    
    .gallery-thumbs { order: -1; flex-direction: column; }
    
    .specs-layout:has(.inmetro-label) { grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr); }
}

/* ---------- Respostas: carro, medida, guias (agente D) ---------- */
.answer { margin-bottom: var(--s-5); padding: 20px var(--s-5); border-radius: var(--r-sm); background: var(--paper); box-shadow: var(--sh-1); }

.help summary { display: inline-flex; align-items: center; gap: var(--s-2); min-height: var(--target); color: var(--gold-text); font-weight: 600; text-decoration: underline 1px; text-underline-offset: 3px; list-style: none; cursor: pointer; }
.help summary::-webkit-details-marker { display: none; }
.help summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform var(--dur) var(--ease); }
.help[open] summary::after { transform: rotate(-135deg); }
.ps { margin-top: var(--s-6); padding: var(--s-4) 20px; border-radius: var(--r-sm); background: var(--paper); box-shadow: var(--sh-1); }

.table-years th, .table-years td a { white-space: nowrap; }

/* ---------- Carrinho, finalizar compra, pedido (agente C) ---------- */
.order-summary,
.order-status,
.values li {
    border: 0; border-radius: var(--r-sm); background: var(--paper); box-shadow: var(--sh-1); }

.cart-thumb { display: grid; place-items: center; flex: none; width: 80px; height: 80px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); }
.cart-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cart-name { font-weight: 700; text-decoration: none; }

.cart-update { margin-top: var(--s-3); text-align: right; }

.order-summary { display: grid; gap: var(--s-3); align-content: start; padding: var(--s-5); }
.order-summary h2 { margin: 0; }
.order-summary h3 { margin: var(--s-2) 0 0; font-size: .9375rem; }
.order-summary dl { display: grid; gap: var(--s-2); margin: 0; }
.order-summary dl > div { display: flex; justify-content: space-between; gap: var(--s-3); font-variant-numeric: tabular-nums; }
.order-summary dt { color: var(--muted); }
.order-summary dd { margin: 0; text-align: right; }
.summary-total { padding-top: var(--s-3); border-top: 1px solid var(--line); font-size: 1.25rem; font-weight: 800; }
.summary-total dd { font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; line-height: 1; }
.summary-total dt { align-self: center; color: var(--text); }
.summary-note { margin: 0; font-size: var(--t-micro); }

.summary-thumb:not(:has(img)) { background: var(--white) url("../img/pneu-ilustrativo.webp") center / contain no-repeat; filter: brightness(1.06); }

.summary-thumb:not(:has(img)) .icon { display: none; }
.checkout-login { margin-top: calc(-1 * var(--s-3)); }
.checkout { display: grid; gap: var(--s-5); align-items: start; grid-template-columns: 1fr; }

.summary-items { display: grid; gap: var(--s-3); margin: 0; padding: 0; list-style: none; }
.summary-items li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: var(--s-3); align-items: center; font-size: var(--t-micro); }
.summary-thumb { display: grid; place-items: center; width: 56px; height: 56px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); }
.summary-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.summary-thumb:not(:has(img)) { background-size: 85%; }
.summary-name small { display: block; }
.order-status { margin-bottom: 20px; padding: var(--s-5) var(--s-6); }
.order-status h1 { margin: var(--s-1) 0 var(--s-3); font-stretch: 112%; font-size: clamp(1.375rem, 1.15rem + 1vw, 1.875rem); line-height: 1.1; }

.order-timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: var(--s-2) 0 var(--s-5); list-style: none; }
.order-timeline li { position: relative; display: grid; justify-items: center; gap: var(--s-1); color: var(--muted); font-size: var(--t-micro); text-align: center; }
.order-timeline li::before { content: ""; position: absolute; top: 10px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.order-timeline li:first-child::before { display: none; }
.order-timeline li.done::before { background: var(--ok); }

.order-timeline li.done { color: var(--text); }
.order-detail { display: grid; gap: 20px; align-items: start; }
.order-help { margin-top: var(--s-6); padding: 20px var(--s-5); border-radius: var(--r-sm); background: var(--paper); box-shadow: var(--sh-1); }
.order-help .btn { margin: var(--s-1) var(--s-2) var(--s-1) 0; }
@media (min-width: 760px) {
    
    .checkout { grid-template-columns: minmax(0, 1fr) 380px; }
    
    .order-detail { grid-template-columns: minmax(0, 1fr) 360px; }
}
@media (max-width: 759px) {
    
    
    
    .cart-remove { position: absolute; top: var(--s-2); right: 6px; }
    .cart-remove, .cart-remove button { min-height: var(--target); }
    .cart-unit { grid-area: unit; color: var(--muted); font-size: var(--t-micro); }
    .cart-qty { grid-area: qty; }
    
    
    .cart-thumb { width: 64px; height: 64px; }
    .order-timeline li { font-size: .75rem; }
    .order-status { padding: 20px; }
}

/* ---------- Conta, entrar e cadastro (agente D) ---------- */

/* ---------- Institucional (agente D) ---------- */
.editorial { background: var(--ink); }
.editorial-inner { display: grid; gap: var(--s-6); align-items: center; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: var(--chapter-pad) var(--gutter); }
.editorial-text > p { max-width: 56ch; color: var(--on-dark-muted); }
.page-main > .about-hero { margin-top: calc(-1 * var(--main-pt)); }
.about-hero { border-bottom: 1px solid var(--gold-line); }
.about-hero h1 { color: var(--paper); font-size: var(--t-h1); line-height: 1.05; }
.values { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 20px 0 0; padding: 0; list-style: none; }
.values li { padding: var(--s-5); }
.values h3 { margin: 14px 0 6px; font-size: 1.0625rem; }
.values p { margin: 0; color: var(--muted); }

@media (min-width: 760px) {
    .editorial-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
    
}

/* ---------- Imagem de marca (partials/media.php) ---------- */
.media { width: 100%; height: auto; object-fit: cover; background: var(--graphite); }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-21x9 { aspect-ratio: 21 / 9; }
.media-placeholder { display: grid; place-items: center; background: radial-gradient(120% 90% at 85% 15%, rgb(200 154 59 / .22) 0%, var(--graphite) 55%, var(--ink) 100%); }
.media-placeholder img { width: 64px; opacity: .55; border-radius: var(--r-lg); }

/* ---------- Admin (fora do redesenho; só não pode quebrar) ---------- */
.admin .header-inner { padding-block: var(--s-3); background: var(--ink); }
.admin .site-header { background: var(--ink); color: var(--on-dark); --focus: var(--brass); --link-hover: var(--brass); }
.admin .logo { color: var(--on-dark); font-weight: 700; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) 20px; margin-left: auto; }
.main-nav a { color: var(--on-dark); text-decoration: none; }
.main-nav .link-button { color: var(--brass); }
.admin h1 { font-size: var(--t-h2); }
.narrow { max-width: 420px; }
.admin-grid { display: grid; gap: var(--s-6); grid-template-columns: 1fr; }
.admin-images { display: flex; flex-wrap: wrap; gap: var(--s-4); padding: 0; list-style: none; }
.admin-images li { display: flex; flex-direction: column; gap: var(--s-1); font-size: var(--t-micro); }
.admin-images img, .thumb { object-fit: cover; border: 1px solid var(--line); }
.danger-zone { margin-top: var(--s-7); padding-top: var(--s-4); border-top: 1px solid var(--line); }
@media (min-width: 760px) { .admin-grid { grid-template-columns: 2fr 1fr; } }

/* ========== Acessibilidade: movimento reduzido e alto contraste ========== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
    .product-card:hover { transform: none; }
}
@media (forced-colors: active) {
    
    .steps .step-done .step-num,
.steps .step-current .step-num { forced-color-adjust: none; background: Highlight; border-color: Highlight; color: HighlightText; }
    .category-bar-inner > a[aria-current="page"]::after, .menu.is-current > summary::before { background: Highlight; }
    .segmented .check:has(input:checked) { outline: 2px solid Highlight; }
    .btn { border: 2px solid ButtonText; }
    .product-card { border: 1px solid CanvasText; }
}

/* ==================== Início e busca (fase 2 · B) ==================== */
/* Fase 2 · B · Início e autocomplete da busca (redesenho v2).
   Substitui o bloco "Início (agente B)" do site.css (hero-stage, finder, benefit-boxes, vehicle-tiles, rim-*, brand-band,
   story*, remold-card, guide-row, most-searched, link-columns, demand-*): a home usa só as classes hm-* abaixo,
   então aquele bloco fica sem uso e pode sair na junção. Valores de 01-visual §2 e §3.1; espaços só da escala --s-*. */

/* ========== 1. Topo (hero) ========== */
.page-main > .hm-hero { margin-top: calc(-1 * var(--main-pt)); }
.hm-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--on-dark);
    --fg: var(--on-dark); --fg-muted: var(--on-dark-muted); --accent-text: var(--brass); --link-hover: var(--brass); --focus: var(--brass); }
.hm-hero-photo { position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; width: 64%; }
.hm-hero-photo .media { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 60% 50%; filter: brightness(1.12) contrast(1.08) saturate(1.05); }
/* Luz de ouro sobre o pneu + scrim (03 H-01: o texto nunca fica sobre menos de .7 de escuro) */
.hm-hero-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: screen;
    background: radial-gradient(ellipse 42% 55% at 64% 52%, rgb(224 168 80 / .30), rgb(200 154 59 / .10) 45%, transparent 70%); }
.hm-hero-photo::after { content: ""; position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(90deg, var(--ink) 0%, rgb(11 11 11 / .85) 40%, rgb(11 11 11 / .3) 62%, transparent 82%), linear-gradient(0deg, rgb(11 11 11 / .6) 0%, transparent 24%); }
.hm-hero-inner { display: flex; flex-direction: column; justify-content: center; gap: var(--s-6); width: 100%; max-width: calc(var(--max) + 2 * var(--gutter));
    min-height: clamp(480px, 58vh, 640px); margin: 0 auto; padding: var(--s-8) var(--gutter) calc(var(--s-8) + var(--bridge)); }
.hm-hero-copy { max-width: min(100%, 46rem); }
.hm-hero-copy .eyebrow { margin-bottom: var(--s-5); }
.hm-hero-title { margin: 0; color: var(--paper); font-stretch: 125%; font-weight: 800; font-size: var(--t-hero); line-height: .92; letter-spacing: 0; overflow-wrap: normal; }
.hm-hero-title .line { display: block; }
.hm-hero-title .line-accent { color: var(--brass); }
.hm-hero-sub { max-width: 44ch; margin: 20px 0 0; color: var(--on-dark-muted); font-size: var(--t-lead); font-weight: 500; line-height: 1.55; }
@media (min-width: 1600px) { .hm-hero-inner { min-height: 640px; } }

/* Localizador: abas + painel de vidro escuro (03 H-02: fundo quase opaco) */
.hm-finder { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; width: 100%; max-width: 940px; }
.hm-finder > * { max-width: 100%; }
.hm-tabs { display: flex; }
.hm-tab { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: var(--target); padding: 0 var(--s-5); border: 0;
    border-radius: var(--r-sm) var(--r-sm) 0 0; background: var(--graphite); color: var(--on-dark-muted); font: inherit; font-size: var(--t-small); font-weight: 600;
    cursor: pointer; transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.hm-tab + .hm-tab { margin-left: 2px; }
.hm-tab .icon { width: 16px; height: 16px; }
.hm-tab:hover { color: var(--on-dark); }
.hm-tab[aria-selected="true"] { background: var(--gold); color: var(--ink); font-weight: 700; }
.hm-tab:focus-visible { outline: 2px solid var(--brass); outline-offset: -4px; }
.hm-tab[aria-selected="true"]:focus-visible { outline-color: var(--ink); }
.hm-finder-panel { width: 100%; padding: 20px; border: 1px solid var(--gold-line); border-radius: var(--r-lg); background: rgb(23 23 26 / .94);
    box-shadow: var(--sh-float); }
.tabs-on .hm-finder-panel { border-top-left-radius: 0; }
.hm-finder .tab-title { margin: 0 0 var(--s-3); color: var(--brass); font-size: var(--t-small); }
.hm-finder .tab-panel + .tab-panel { margin-top: var(--s-5); padding-top: var(--s-5); border-top: 1px solid var(--carbon); }
.tabs-on .hm-finder .tab-panel + .tab-panel, .hm-finder.tabs-on .tab-panel + .tab-panel { margin-top: 0; padding-top: 0; border-top: 0; }
.hm-finder label { margin-bottom: 6px; color: var(--on-dark-muted); font-size: .75rem; font-weight: 600; }
.hm-finder select { border-color: transparent; }
/* desabilitado legível no painel escuro: mesmo campo branco, texto de apoio (não parece outro componente) */
.hm-finder select:disabled { opacity: 1; background-color: var(--paper); color: var(--muted); }
.hm-finder .vehicle-form, .hm-finder .size-form { margin: 0; }
.hm-finder .btn-primary { white-space: nowrap; }
.hm-finder .btn-primary:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.hm-size-form { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; }
/* Medidas mais procuradas: atalhos em chip (Saira) */
.hm-hot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); margin-top: 20px; max-width: 100%; }
.hm-hot-label { margin: 0; font-family: var(--font-display); font-stretch: 112%; font-weight: 600; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase;
    color: var(--on-dark-muted); }
.hm-hot-list { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.hm-hot-list a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--gold-line); border-radius: var(--r-pill);
    color: var(--paper); font-family: var(--font-display); font-stretch: 112%; font-weight: 600; font-size: var(--t-small); font-variant-numeric: tabular-nums lining-nums;
    white-space: nowrap; text-decoration: none; transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.hm-hot-list a:hover { border-color: var(--gold); background: rgb(200 154 59 / .1); color: var(--brass); }
.hm-finder-help { display: inline-flex; align-items: center; gap: var(--s-2); min-height: var(--target); margin-top: var(--s-2); color: var(--brass); font-size: var(--t-micro);
    font-weight: 600; text-decoration: none; }
.hm-finder-help .icon { width: 16px; height: 16px; }
.hm-finder-help:hover { color: var(--brass); text-decoration: underline 1px; text-underline-offset: 4px; }

/* ========== 2. Vantagens (ponte sobre a borda do topo) ========== */
.hm-benefits { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: calc(-1 * var(--bridge)) 0 0; padding: 0;
    list-style: none; border-radius: var(--r-sm); background: var(--paper); box-shadow: var(--sh-float); }
.hm-benefits li { position: relative; display: flex; min-width: 0; }
.hm-benefits li + li::before { content: ""; position: absolute; left: 0; top: var(--s-4); bottom: var(--s-4); width: 1px; background: var(--line); }
.hm-benefit { display: flex; align-items: center; gap: var(--s-4); width: 100%; padding: 20px var(--s-5); color: var(--muted);
    font-size: var(--t-micro); line-height: 1.45; text-decoration: none; }
.hm-benefits .medal { color: var(--gold-text); }
.hm-benefit-text { display: block; min-width: 0; }
.hm-benefit-text strong { display: block; margin-bottom: 2px; color: var(--ink); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hm-benefits a:hover strong { color: var(--gold-text); }
.hm-benefits a:hover .hm-benefit-text { color: var(--ink); text-decoration: underline 1px var(--link-line); text-underline-offset: 3px; }
.hm-benefits a:focus-visible { outline-offset: -4px; border-radius: var(--r-sm); }

/* ========== 3. Loja: vitrine e ofertas ========== */
.hm-shelf .section-head { margin-bottom: var(--s-6); }

/* ========== 4. Referência (branco): ranking, tipos e aro ========== */
.hm-ref > section + section { margin-top: var(--s-8); }
/* Ranking: 5 cartões numa linha; o 1º invertido (ink) é o ponto focal. Números em --gold-text (03 G-09). */
.hm-rank-list { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: var(--s-3); margin: 0; padding: 0; list-style: none; }
.hm-rank-card { display: flex; flex-direction: column; height: 100%; padding: 20px; border-radius: var(--r-sm); background: var(--ivory); color: var(--ink);
    text-decoration: none; transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.hm-rank-card:hover { color: var(--ink); box-shadow: var(--sh-2); transform: translateY(-2px); }
.hm-rank-pos { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: var(--t-rank); line-height: 1; letter-spacing: -.01em;
    font-variant-numeric: tabular-nums lining-nums; color: var(--gold-text); }
.hm-rank-size { margin-top: var(--s-4); font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 1.375rem; line-height: 1.1; letter-spacing: .01em;
    font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.hm-rank-share { margin-top: var(--s-2); color: var(--muted); font-size: var(--t-micro); line-height: 1.4; }
.hm-rank-share strong { font-family: var(--font-display); font-stretch: 100%; font-weight: 600; font-size: .9375rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.hm-rank-bar { display: block; height: 4px; margin-top: var(--s-2); border-radius: 2px; background: var(--line); overflow: hidden; }
.hm-rank-bar > span { display: block; height: 100%; border-radius: inherit; background: var(--gold); }
.hm-rank-cars { margin-top: var(--s-3); color: var(--muted); font-size: var(--t-micro); line-height: 1.4;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.hm-rank-foot { display: flex; flex-direction: column; gap: var(--s-1); margin-top: auto; padding-top: var(--s-4); }
.hm-rank-stock { color: var(--ok); font-size: .75rem; font-weight: 600; }
.hm-rank-cta { display: block; color: var(--gold-text); font-size: .75rem; font-weight: 700; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; }
.hm-rank-cta .icon { width: 12px; height: 12px; margin-left: 2px; vertical-align: -1px; transition: transform var(--dur) var(--ease); }
.hm-rank-card:hover .hm-rank-cta { text-decoration: underline 1px; text-underline-offset: 4px; }
.hm-rank-card:hover .hm-rank-cta .icon { transform: translateX(3px); }
/* 1º lugar invertido */
.hm-rank-item.is-top .hm-rank-card { position: relative; overflow: hidden; background: radial-gradient(80% 90% at 100% 0%, rgb(200 154 59 / .2), transparent 60%), var(--ink);
    color: var(--paper); --focus: var(--brass); }
.hm-rank-item.is-top .hm-rank-card:hover { color: var(--paper); }
.hm-rank-item.is-top .hm-rank-pos { color: var(--brass); font-size: calc(var(--t-rank) * 1.4); }
.hm-rank-item.is-top .hm-rank-size { font-size: clamp(1.625rem, 1.2rem + 1vw, 2rem); color: var(--paper); }
.hm-rank-item.is-top .hm-rank-share, .hm-rank-item.is-top .hm-rank-cars { color: var(--on-dark-muted); }
.hm-rank-item.is-top .hm-rank-share strong { color: var(--paper); }
.hm-rank-item.is-top .hm-rank-bar { background: var(--carbon); }
.hm-rank-item.is-top .hm-rank-stock { color: var(--ok-on-dark); }
.hm-rank-item.is-top .hm-rank-cta { color: var(--brass); }
.hm-rank-card:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.hm-rank-note { max-width: 80ch; margin: var(--s-4) 0 0; color: var(--muted); font-size: var(--t-micro); }
/* SISTEMA: barra de proporção (participação ÷ maior participação, arredondada de 5 em 5 no PHP; sem estilo inline) */
.share-w-5 { width: 5%; } .share-w-10 { width: 10%; } .share-w-15 { width: 15%; } .share-w-20 { width: 20%; } .share-w-25 { width: 25%; }
.share-w-30 { width: 30%; } .share-w-35 { width: 35%; } .share-w-40 { width: 40%; } .share-w-45 { width: 45%; } .share-w-50 { width: 50%; }
.share-w-55 { width: 55%; } .share-w-60 { width: 60%; } .share-w-65 { width: 65%; } .share-w-70 { width: 70%; } .share-w-75 { width: 75%; }
.share-w-80 { width: 80%; } .share-w-85 { width: 85%; } .share-w-90 { width: 90%; } .share-w-95 { width: 95%; } .share-w-100 { width: 100%; }

/* Tipos de veículo */
.hm-type-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--s-5); margin: 0; padding: 0; list-style: none; }
.hm-type-tiles a { position: relative; display: block; overflow: hidden; border-radius: var(--r-sm); background: var(--ink); color: var(--paper); text-decoration: none; }
.hm-type-tiles .media { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 60%; transition: transform 600ms var(--ease); }
.hm-type-tiles .media-placeholder img { display: none; }
.hm-type-tiles a:hover .media { transform: scale(1.03); }
.hm-type-label { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-3);
    padding: var(--s-8) 20px 20px; background: linear-gradient(transparent, rgb(11 11 11 / .9) 70%); }
.hm-type-name { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 1.25rem; line-height: 1.1; letter-spacing: .02em; text-transform: uppercase; }
.hm-type-go { display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; border: 1px solid var(--gold-line); border-radius: 50%; color: var(--brass);
    transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.hm-type-go .icon { width: 16px; height: 16px; }
.hm-type-tiles a:hover .hm-type-go { transform: translateX(3px); border-color: var(--gold); }
.hm-type-tiles a:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
/* Aro: linha solta, sem caixa */
.hm-rims { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); margin-top: var(--s-6); }
.hm-rims-title { margin: 0; font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 1rem; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); }
.hm-rim-list { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.hm-rim-list a { display: inline-flex; align-items: baseline; gap: 6px; min-height: var(--target); padding: 0 var(--s-4); border: 1px solid var(--line); border-radius: var(--r-pill);
    background: var(--paper); color: var(--ink); text-decoration: none; line-height: 42px;
    transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.hm-rim-k { color: var(--muted); font-size: .75rem; font-weight: 600; transition: color var(--dur) var(--ease); }
.hm-rim-n { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 1.125rem; font-variant-numeric: tabular-nums lining-nums; }
.hm-rim-list a:hover { background: var(--ink); border-color: var(--ink); color: var(--brass); }
.hm-rim-list a:hover .hm-rim-k { color: var(--on-dark-muted); }
.hm-rims-more { margin-left: auto; }

/* ========== 5. Marca (escuro): marcas, história, remold ========== */
.hm-brand { padding-bottom: 0; }
.page-main > .hm-ref + .hm-brand, .page-main > .hm-brand + .hm-learn { margin-top: 0; }   /* capítulos se encostam (D-031) */
.hm-brands { position: relative; isolation: isolate; overflow: hidden; }
.hm-brands-photo { position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; width: 58%; }
.hm-brands-photo .media { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; opacity: .8; }
.hm-brands-photo::after { content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, var(--ink) 0%, rgb(11 11 11 / .7) 30%, rgb(11 11 11 / .15) 65%, rgb(11 11 11 / .3) 100%); }
.hm-brands-inner { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: var(--s-8) var(--gutter) var(--s-7); }
.hm-brands h2 { max-width: 20ch; margin: 0; color: var(--brass); }
.hm-brands-lead { max-width: 48ch; margin: var(--s-3) 0 0; color: var(--on-dark-muted); font-size: .9375rem; line-height: 1.6; }
.hm-brand-names { display: flex; flex-wrap: wrap; align-items: center; margin: var(--s-5) 0 var(--s-3); padding: 0; list-style: none; }
.hm-brand-names li { position: relative; }
.hm-brand-names li + li::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 24px; margin-top: -12px; background: var(--gold-line); }
.hm-brand-names a { display: flex; align-items: center; min-height: var(--target); padding: 0 var(--s-5); font-family: var(--font-display); font-stretch: 118%; font-weight: 600;
    font-size: .9375rem; letter-spacing: .16em; text-transform: uppercase; color: rgb(243 240 232 / .75); text-decoration: none; }
.hm-brand-names li:first-child a { padding-left: 0; }
.hm-brand-names a:hover { color: var(--on-dark); }
.hm-brand-names a:focus-visible { outline-offset: -2px; }
/* História + remold: as fotos sangram até as bordas do capítulo, sem moldura; os textos ficam na grade (subgrid) */
.hm-story-row { display: grid; border-top: 1px solid var(--carbon);
    grid-template-columns: [full-start] minmax(var(--gutter), 1fr) [content-start] minmax(0, calc(var(--max) * .6)) [split] minmax(0, calc(var(--max) * .4)) [content-end] minmax(var(--gutter), 1fr) [full-end]; }
.hm-story, .hm-remold { position: relative; isolation: isolate; display: grid; grid-template-columns: subgrid; align-items: center; min-height: 340px; overflow: hidden; }
.hm-story { grid-column: full-start / split; }
.hm-remold { grid-column: split / full-end; border-left: 1px solid var(--carbon); color: var(--paper); text-decoration: none; }
.hm-story > .media, .hm-remold > .media { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.hm-remold > .media { transition: transform 600ms var(--ease); }
.hm-story::after, .hm-remold::after { content: ""; position: absolute; z-index: -1; inset: 0; }
.hm-story::after { background: linear-gradient(90deg, rgb(11 11 11 / .94) 0, rgb(11 11 11 / .82) 50%, rgb(11 11 11 / .55) 100%); }
.hm-remold::after { background: linear-gradient(0deg, rgb(11 11 11 / .95) 0, rgb(11 11 11 / .75) 45%, rgb(11 11 11 / .35) 100%); }
.hm-story-copy { grid-column: content-start / split; max-width: 560px; padding: var(--s-8) var(--s-7) var(--s-8) 0; }
.hm-story h2 { margin: 0 0 var(--s-4); color: var(--paper); font-stretch: 112%; font-weight: 800; font-size: clamp(1.5rem, 1.15rem + 1vw, 1.75rem); line-height: 1.1; }
.hm-story h2 .line { display: block; }
.hm-story p:not(.eyebrow) { max-width: 44ch; margin: 0 0 var(--s-5); color: var(--on-dark-muted); font-size: .9375rem; }
.hm-remold:hover { color: var(--paper); }
.hm-remold:hover > .media { transform: scale(1.03); }
.hm-remold:focus-visible { outline: 3px solid var(--brass); outline-offset: -6px; }
.hm-remold-copy { grid-column: split / content-end; align-self: end; display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-7) 0 var(--s-7) var(--s-6); }
.hm-remold-copy .eyebrow { margin: 0; }
.hm-remold-copy strong { max-width: 26ch; font-size: 1.125rem; font-weight: 600; line-height: 1.35; }
.hm-remold-more { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--brass); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hm-remold-more .icon { width: 12px; height: 12px; transition: transform var(--dur) var(--ease); }
.hm-remold:hover .hm-remold-more { text-decoration: underline 1px; text-underline-offset: 4px; }
.hm-remold:hover .hm-remold-more .icon { transform: translateX(3px); }

/* ========== 6. Aprender (marfim): guias e mais buscados ========== */
.hm-guide-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); margin: 0; padding: 0; list-style: none; }
.hm-guide-cards a { display: flex; align-items: center; gap: var(--s-4); height: 100%; padding: var(--s-5); border-radius: var(--r-sm); background: var(--paper); box-shadow: var(--sh-1);
    color: var(--muted); font-size: var(--t-small); line-height: 1.45; text-decoration: none; transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.hm-guide-cards a:hover { color: var(--muted); box-shadow: var(--sh-2); transform: translateY(-2px); }
.hm-guide-cards .medal { color: var(--gold-text); }
.hm-guide-text { flex: 1; min-width: 0; }
.hm-guide-text strong { display: block; margin-bottom: 2px; color: var(--ink); font-size: 1rem; }
.hm-guide-cards a > .icon { width: 12px; height: 12px; color: var(--gold-text); transition: transform var(--dur) var(--ease); }
.hm-guide-cards a:hover > .icon { transform: translateX(3px); }
.hm-reviews { margin: var(--s-5) 0 0; color: var(--muted); font-size: var(--t-small); }
.hm-reviews strong { color: var(--ink); }
.hm-seo { margin-top: var(--s-8); padding-top: var(--s-7); border-top: 1px solid var(--line); }
.hm-seo-title { margin: 0 0 var(--s-5); font-size: var(--t-h2-band); font-weight: 700; letter-spacing: .02em; }
.hm-seo-groups { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: var(--s-5) var(--s-7); }
.hm-seo-group summary { list-style: none; }
.hm-seo-group summary::-webkit-details-marker { display: none; }
.hm-seo-group h3 { margin: 0 0 var(--s-3); font-family: var(--font-display); font-stretch: 112%; font-weight: 600; font-size: var(--t-eyebrow); line-height: 1.2;
    letter-spacing: .24em; text-transform: uppercase; color: var(--gold-text); }
.hm-seo-group ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: var(--s-5); font-size: var(--t-small); }
.hm-seo-cars ul { columns: 3; }
.hm-seo-group li { break-inside: avoid; }
.hm-seo-group a { display: inline-flex; align-items: center; min-height: 32px; color: var(--muted); text-decoration: none; }
.hm-seo-group a:hover { color: var(--ink); text-decoration: underline 1px var(--link-line); text-underline-offset: 3px; }
@media (min-width: 760px) {
    .hm-seo-group summary { pointer-events: none; }
}

/* ========== Tablet e celular ========== */
@media (max-width: 1099px) {
    .hm-rank-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hm-rank-item.is-top { grid-column: 1 / -1; }
    .hm-rank-item.is-top .hm-rank-card { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--s-5); align-items: start; }
    .hm-rank-item.is-top .hm-rank-pos { grid-row: 1 / span 6; }
    .hm-rank-item.is-top .hm-rank-size { margin-top: 0; }
    .hm-rank-item.is-top .hm-rank-bar { max-width: 320px; }
    .hm-guide-cards { grid-template-columns: 1fr; gap: var(--s-3); }
    .hm-story-row { display: block; }
    .hm-story, .hm-remold { display: flex; min-height: 0; }
    .hm-story-copy { max-width: 640px; padding: var(--s-7) var(--gutter); }
    .hm-remold { align-items: flex-end; min-height: 260px; border-left: 0; border-top: 1px solid var(--carbon); }
    .hm-remold-copy { padding: var(--s-7) var(--gutter) var(--s-6); }
    .hm-type-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
    .hm-seo-groups { grid-template-columns: 1fr; }
    .hm-seo-group:not(.hm-seo-cars) ul { columns: 3; }
    /* Vitrine em carrossel horizontal (scroll-snap, sem autoplay), ~2,6 cartões no tablet e ~1,6 no celular */
    .hm-carousel { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 37%; gap: var(--s-4); overflow-x: auto;
        margin: calc(-1 * var(--s-2)) calc(-1 * var(--gutter)) calc(-1 * var(--s-4)); padding: var(--s-2) var(--gutter) var(--s-5);
        scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain; scrollbar-width: none; }
    .hm-carousel::-webkit-scrollbar { display: none; }
    .hm-carousel > * { scroll-snap-align: start; }
    .hm-carousel .product-card:hover { transform: none; }
}
@media (max-width: 899px) {
    .hm-size-form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hm-size-form .btn { grid-column: 1 / -1; }
}
@media (max-width: 759px) {
    .hm-hero-photo { width: 100%; }
    .hm-hero-photo .media { opacity: .45; object-position: 70% 30%; }
    .hm-hero-photo::after { background: linear-gradient(180deg, rgb(11 11 11 / .55), rgb(11 11 11 / .92) 55%); }
    .hm-hero-photo::before { background: radial-gradient(ellipse 70% 40% at 60% 30%, rgb(224 168 80 / .22), transparent 70%); }
    .hm-hero-inner { min-height: 0; gap: var(--s-5); padding: var(--s-6) var(--gutter) calc(var(--s-6) + var(--bridge)); }
    .hm-hero-copy .eyebrow { margin-bottom: var(--s-4); }
    .hm-hero-title { font-stretch: 112%; }
    .hm-hero-sub { margin-top: var(--s-3); font-size: 1rem; }
    .hm-finder { justify-items: stretch; }
    .hm-tab { flex: 1 1 0; padding: 0 var(--s-2); font-size: .8125rem; }
    .hm-finder-panel { padding: var(--s-4); }
    /* Chips: uma linha só, com rolagem e máscara indicando que continua */
    .hm-hot { display: block; margin-top: var(--s-4); }
    .hm-hot-label { margin-bottom: var(--s-2); font-size: .6875rem; letter-spacing: .14em; }
    .hm-hot-list { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 4px; scrollbar-width: none;
        scroll-padding-inline: var(--gutter); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
    .hm-hot-list::-webkit-scrollbar { display: none; }
    .hm-hot-list li { flex: none; }
    .hm-hot-list a { min-height: var(--target); }
    .hm-hot-list a:focus-visible { outline-offset: -3px; }
    /* Vantagens: 1 coluna compacta, ícone à esquerda */
    .hm-benefits { grid-template-columns: 1fr; }
    .hm-benefits li + li::before { left: var(--s-4); right: var(--s-4); top: 0; bottom: auto; width: auto; height: 1px; }
    .hm-benefit { gap: var(--s-3); padding: 14px var(--s-4); }
    .hm-benefits .medal { width: 36px; height: 36px; }
    .hm-benefit-text strong { letter-spacing: .06em; }
    .hm-carousel { grid-auto-columns: 60%; gap: var(--s-3); }
    .hm-ref > section + section { margin-top: var(--s-7); }
    .hm-rank-card { padding: var(--s-4); }
    .hm-rank-item.is-top .hm-rank-card { column-gap: var(--s-4); padding: 20px; }
    .hm-rank-item.is-top .hm-rank-pos { font-size: 2.5rem; }
    .hm-rank-size { margin-top: var(--s-3); font-size: 1.125rem; }
    .hm-rank-cars { display: none; }
    .hm-rank-item.is-top .hm-rank-cars { display: -webkit-box; }
    .hm-rank-cta { letter-spacing: .06em; }
    .hm-type-tiles { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; gap: var(--s-3); overflow-x: auto;
        margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) var(--s-1); scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
    .hm-type-tiles::-webkit-scrollbar { display: none; }
    .hm-type-tiles > li { scroll-snap-align: start; }
    .hm-type-tiles a:focus-visible { outline-offset: -3px; }
    .hm-type-tiles .media { aspect-ratio: 16 / 9; }
    .hm-type-label { padding: var(--s-7) var(--s-4) var(--s-4); }
    .hm-rims { gap: var(--s-3); }
    .hm-rims-title { flex-basis: 100%; }
    .hm-rims-more { margin-left: 0; }
    .hm-brands-photo { inset: 0; width: 100%; opacity: .35; }
    .hm-brands-inner { padding-bottom: var(--s-6); }
    .hm-brand-names { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s-4); }
    .hm-brand-names li + li::before { display: none; }
    .hm-brand-names a, .hm-brand-names li:first-child a { padding: 0; }
    .hm-guide-cards a { padding: var(--s-4); }
    .hm-seo { margin-top: var(--s-7); padding-top: var(--s-6); }
    .hm-seo-groups { grid-template-columns: 1fr; gap: 0; }
    .hm-seo-group { border-bottom: 1px solid var(--line); }
    .hm-seo-group:first-child { border-top: 1px solid var(--line); }
    .hm-seo-group summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; cursor: pointer; }
    .hm-seo-group summary::after { content: ""; flex: none; width: 8px; height: 8px; margin: -4px 4px 0 0; border: solid var(--muted); border-width: 0 1.5px 1.5px 0;
        transform: rotate(45deg); transition: transform var(--dur) var(--ease); }
    .hm-seo-group[open] summary::after { margin-top: 4px; transform: rotate(-135deg); }
    .hm-seo-group summary:focus-visible { outline-offset: -3px; }
    .hm-seo-group h3 { margin: 0; }
    .hm-seo-group ul, .hm-seo-cars ul { columns: 1; padding-bottom: var(--s-3); }
    .hm-seo-group a { min-height: var(--target); }
}
@media (max-width: 379px) {
    .hm-size-form { grid-template-columns: 1fr; }
    .hm-carousel { grid-auto-columns: 72%; }
}
@media (prefers-reduced-motion: reduce) {
    .hm-rank-card:hover, .hm-guide-cards a:hover { transform: none; }
    .hm-type-tiles a:hover .media { transform: none; }
}

/* ========== 7. Autocomplete da busca do cabeçalho (02-ux §2 Busca) ========== */
/* A lista é posicionada sob a pílula da busca; fundo paper, cantos de 8, sombra de menu. */
.site-search, .mnav-search { position: relative; }
.suggest { position: absolute; z-index: 70; top: calc(100% + var(--s-2)); left: 0; right: 0; max-height: min(70vh, 480px); overflow-y: auto; margin: 0; padding: var(--s-2) 0;
    border-radius: var(--r-lg); background: var(--paper); color: var(--text); box-shadow: var(--sh-2), 0 0 0 1px rgb(11 11 11 / .06); text-align: left;
    --focus: var(--ink); --accent-text: var(--gold-text); }
.suggest[hidden] { display: none; }
.suggest-group { margin: 0; padding: var(--s-2) var(--s-4) var(--s-1); font-family: var(--font-display); font-stretch: 112%; font-weight: 600; font-size: .6875rem;
    letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); }
.suggest-group + .suggest-opt, .suggest-opt + .suggest-group { margin-top: 0; }
.suggest-opt + .suggest-group { border-top: 1px solid var(--line); margin-top: var(--s-2); padding-top: var(--s-3); }
.suggest-opt { display: flex; align-items: center; gap: var(--s-3); min-height: 48px; padding: var(--s-2) var(--s-4); color: var(--ink); text-decoration: none; cursor: pointer; }
.suggest-opt .icon { width: 20px; height: 20px; flex: none; color: var(--muted); }
.suggest-main { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--t-small); font-weight: 600; }
.suggest-opt.is-size .suggest-main { font-family: var(--font-display); font-stretch: 112%; font-size: 1rem; font-weight: 700; font-variant-numeric: tabular-nums lining-nums; }
.suggest-main mark { background: none; color: inherit; text-decoration: underline 2px rgb(200 154 59 / .6); text-underline-offset: 3px; }
.suggest-hint { flex: none; color: var(--muted); font-size: .75rem; font-weight: 500; white-space: nowrap; }
.suggest-hint.is-stock { color: var(--ok); font-weight: 600; }
.suggest-opt.is-search { margin-top: var(--s-2); border-top: 1px solid var(--line); color: var(--gold-text); }
.suggest-opt.is-search .suggest-main { font-weight: 700; }
.suggest-opt.is-search .icon { color: var(--gold-text); }
.suggest-opt:hover, .suggest-opt[aria-selected="true"] { background: var(--ivory); }
.suggest-opt[aria-selected="true"] { box-shadow: inset 3px 0 0 var(--gold); }

@media (max-width: 759px) {
    .suggest { top: calc(100% + var(--s-1)); max-height: 60vh; }
    .suggest-hint { display: none; }
    .suggest-opt.is-size .suggest-hint.is-stock { display: inline; }
}

/* ==================== Catálogo e compra (fase 2 · C) ==================== */
/* Fase 2 · agente C: catálogo, produto (PDP), carrinho, checkout, pedido e pagamento de teste.
   Substitui as seções "Catálogo", "Produto" e "Carrinho, finalizar compra, pedido" do site.css na junção.
   Regras marcadas com SISTEMA: são candidatas ao sistema (o coordenador promove). Espaços só da escala --s-*. */

/* SISTEMA: rótulo com link à direita (CEP + "Não sei meu CEP"), sem empurrar a linha do campo */
.label-row { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); margin-bottom: 6px; }
.label-row label { margin: 0; }
.label-link { font-size: var(--t-micro); font-weight: 500; color: var(--accent-text); white-space: nowrap; }
/* SISTEMA: h2 com aparência de sobretítulo dentro de cartões (vence o reset de "título dentro de cartão" do site.css) */
.page-main h2.eyebrow { font-family: var(--font-display); font-stretch: 112%; font-weight: 600; font-size: var(--t-eyebrow); line-height: 1.2; letter-spacing: .24em;
    text-transform: uppercase; color: var(--accent-text); }
/* Sobretítulo com conteúdo misto (número do pedido): bloco de texto, não flex */
.order-card .eyebrow, .fake-pay .eyebrow { display: block; }
/* SISTEMA: medalhão grande para estados vazios e confirmação */
.medal-lg { width: 64px; height: 64px; }
.medal-lg .icon { width: 28px; height: 28px; }
/* SISTEMA: ícone virado (seta "anterior") */
.icon-flip { transform: rotate(180deg); }
/* SISTEMA: barra fixa do celular não cobre o fim da página */
@media (max-width: 759px) { body:has([data-mobile-bar]:not([hidden])) { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); } }

/* ========== Catálogo (02-ux C*, 01-visual §3.2) ========== */
.catalog { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 760px) { .catalog { grid-template-columns: 248px minmax(0, 1fr); gap: var(--s-5); } }
@media (min-width: 1100px) { .catalog { grid-template-columns: 280px minmax(0, 1fr); gap: var(--s-6); } }
.catalog-empty { grid-template-columns: minmax(0, 1fr); }
.catalog-empty .cf { display: none; }

/* Painel de filtros: graphite, grupos separados por 1 px carbon (01-visual §3.2) */
.cf-sheet { --fg: var(--on-dark); --fg-muted: var(--on-dark-muted); --fg-inverse: var(--ink); --accent-text: var(--brass);
    --link-line: rgb(224 195 138 / .5); --link-hover: var(--brass); --focus: var(--brass);
    border-radius: var(--r-sm); background: var(--graphite); color: var(--fg); }
.cf-top, .cf-foot { display: none; }
.cf-group { margin: 0; padding: 20px; border-top: 1px solid var(--carbon); }
.cf-body > .cf-group:first-child { border-top: 0; }
.cf-group-title { margin: 0 0 var(--s-3); font-family: var(--font-text); font-stretch: 100%; font-size: var(--t-micro); font-weight: 700; line-height: 1.3;
    letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark); }
.cf-eyebrow { margin: 0; padding: 20px 20px 0; border-top: 1px solid var(--carbon); font-family: var(--font-display); font-stretch: 112%; font-weight: 600;
    font-size: var(--t-eyebrow); letter-spacing: .24em; text-transform: uppercase; color: var(--brass); }
.cf-eyebrow + .cf-group { border-top: 0; padding-top: var(--s-3); }
.cf-facet > summary { display: flex; align-items: center; justify-content: space-between; min-height: var(--target); margin: calc(-1 * var(--s-3)) 0 0; list-style: none; cursor: pointer; }
.cf-facet > summary::-webkit-details-marker { display: none; }
.cf-facet > summary::after { content: ""; width: 7px; height: 7px; margin-right: var(--s-1); border: solid var(--on-dark-muted); border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg) translateY(-2px); transition: transform var(--dur) var(--ease); }
.cf-facet[open] > summary::after { transform: rotate(-135deg); }
.cf-facet > summary:focus-visible { outline-offset: 2px; }
.cf-facet[open] > summary { margin-bottom: var(--s-1); }
.cf-list { display: grid; gap: 2px; margin: 0 calc(-1 * var(--s-2)); padding: 0; list-style: none; }
.cf-list-sizes { max-height: 360px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--carbon) transparent; }
.cf-list a { display: flex; align-items: center; gap: var(--s-2); min-height: 40px; padding: 0 var(--s-2); border-radius: var(--r-xs); color: var(--on-dark);
    font-size: var(--t-small); font-weight: 500; line-height: 1.3; text-decoration: none; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.cf-list a:hover { background: var(--carbon); color: var(--brass); }
.cf-list a:focus-visible { outline-offset: -2px; }
.cf-list .cf-label { flex: 1; min-width: 0; }
.cf-list .t-size { font-size: .9375rem; font-weight: 600; }
.cf-list .facet-count { margin-left: auto; color: var(--on-dark-muted); font-size: var(--t-micro); font-weight: 500; font-variant-numeric: tabular-nums; }
/* Selecionado: ink + brass + 700, com marca de check (mesmo idioma de abas e segmentos) */
.cf-list a[aria-current] { background: var(--ink); color: var(--brass); font-weight: 700; }
.cf-list a[aria-current]::before { content: ""; flex: none; width: 5px; height: 10px; margin: 0 var(--s-1) 2px 2px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cf-list a[aria-current] .facet-count { color: var(--brass); }
.cf-size-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); margin-bottom: var(--s-3); }
.cf-size .field { margin: 0; }
.cf-size label { margin-bottom: var(--s-1); color: var(--on-dark-muted); font-size: .75rem; font-weight: 600; }
.cf-size select { min-height: var(--target); padding: 0 28px 0 10px; background-position: right 8px center; font-variant-numeric: tabular-nums; }
.cf-size .btn { min-height: var(--target); padding-inline: var(--s-3); letter-spacing: .06em; }
.cf-help { margin: var(--s-3) 0 0; color: var(--on-dark-muted); font-size: var(--t-micro); }
.cf-help a { color: var(--brass); }

/* Barra de resultados: "11 pneus" à esquerda, "Ordenar:" à direita; no celular "Filtros" + ordenar */
.results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3) var(--s-4); margin: 0 0 var(--s-4);
    padding-bottom: var(--s-4); border-bottom: 1px solid var(--line); }
.results-count { margin: 0; color: var(--ink); font-size: var(--t-small); font-variant-numeric: tabular-nums; }
.results-count strong { font-weight: 600; }
.sort-form { display: flex; align-items: center; gap: var(--s-2); margin: 0; }
.sort-form label { margin: 0; color: var(--muted); font-size: var(--t-micro); font-weight: 600; white-space: nowrap; }
.sort-form select { width: auto; min-height: 40px; padding-left: var(--s-3); border-color: var(--line); background-color: var(--paper); }
.sort-form .btn { min-height: 40px; }
.cf-open { display: none; }
.cf-open .icon { width: 18px; height: 18px; }
.cf-open .badge { margin-left: var(--s-1); }
.filter-chips { margin-bottom: var(--s-4); }
.filter-chips .action-link { padding-inline: var(--s-2); }
.catalog-hint { display: flex; align-items: center; gap: var(--s-2); margin: 0 0 var(--s-4); color: var(--muted); font-size: var(--t-small); }
.catalog-hint .icon { width: 18px; height: 18px; color: var(--gold-text); }
.catalog-hint a { color: var(--ink); font-weight: 600; }

/* Estado vazio padrão (busca e filtro sem resultado) */
.catalog-empty-card { max-width: 640px; margin: 0 auto; padding: var(--s-7) var(--s-6); border-radius: var(--r-sm); background: var(--paper); box-shadow: var(--sh-1); text-align: center; }
.catalog-empty-card .medal { margin-bottom: var(--s-4); }
.catalog-empty-title { margin: 0 0 var(--s-3); font-family: var(--font-display); font-stretch: 112%; font-size: 1.25rem; font-weight: 700; line-height: 1.15; letter-spacing: .02em;
    text-transform: uppercase; overflow-wrap: anywhere; }
.catalog-empty-card > p { max-width: 52ch; margin-inline: auto; color: var(--muted); font-size: .9375rem; }
.catalog-empty-card .t-size { color: var(--ink); }
.catalog-empty-card .actions { justify-content: center; margin: var(--s-5) 0 var(--s-6); }
.catalog-empty-card .actions .btn { min-width: 264px; }
.catalog-empty-label { margin-bottom: var(--s-3); font-size: var(--t-micro); font-weight: 600; color: var(--muted); }
.catalog-empty-chips { justify-content: center; }
.catalog-empty-foot { margin: var(--s-2) auto 0; font-size: var(--t-small); }

/* Paginação com Anterior / Próxima */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--s-2); margin-top: var(--s-7); }
.pagination a, .pagination > span { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-1); min-width: var(--target); min-height: var(--target);
    padding: 0 var(--s-3); border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper); color: var(--ink); font-size: var(--t-small); font-weight: 600;
    text-decoration: none; font-variant-numeric: tabular-nums; }
.pagination a:hover { border-color: var(--ink); }
.pagination > span[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--brass); font-weight: 700; }
.pagination .icon { width: 14px; height: 14px; }

/* Rodapé do catálogo: texto de SEO e a linha do remold (discreta, sem faixa de destaque) */
.seo-text { max-width: var(--measure); margin-top: var(--s-8); color: var(--muted); font-size: .9375rem; }
.seo-text p { margin: 0; }
.seo-text .chips { margin: var(--s-3) 0 var(--s-5); }   /* medidas mais comuns da página de aro */
.remold-line { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); margin: var(--s-7) 0 0; padding: var(--s-4) var(--s-5);
    border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper); font-size: .9375rem; font-weight: 500; }
.remold-line > .icon { width: 20px; height: 20px; color: var(--gold-text); }
.remold-line .action-link { min-height: 32px; margin-left: auto; }

@media (min-width: 760px) {
    .cf-top, .cf-foot, .cf-open { display: none !important; }
}
@media (max-width: 759px) {
    .catalog { gap: 0; }
    .cf { display: none; position: fixed; inset: 0; z-index: 90; background: var(--graphite); }
    .cf.is-open, .cf:target:not(.js-ready) { display: block; }
    .cf-sheet { display: flex; flex-direction: column; height: 100%; border-radius: 0; }
    .cf-top { display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding: var(--s-2) var(--s-2) var(--s-2) 20px; border-bottom: 1px solid var(--carbon); }
    .cf-title { margin: 0; color: var(--paper); font-size: var(--t-h2-band); font-weight: 700; letter-spacing: .02em; }
    .cf-close { display: inline-grid; place-items: center; width: var(--target); height: var(--target); color: var(--on-dark); }
    .cf-close .icon { width: 24px; height: 24px; }
    .cf-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
    .cf-list a { min-height: var(--target); }
    .cf-list-sizes { max-height: none; }
    .cf-foot { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-3) 20px calc(var(--s-3) + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--carbon); background: var(--ink); }
    .cf-foot .btn { flex: 1; }
    .cf-clear { display: inline-flex; align-items: center; min-height: var(--target); padding: 0 var(--s-2); color: var(--brass); font-size: .75rem; font-weight: 700;
        letter-spacing: .1em; text-transform: uppercase; }
    .results-bar { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "filters count" "sort sort"; gap: var(--s-3); }
    .cf-open { display: inline-flex; grid-area: filters; min-height: var(--target); padding-inline: var(--s-4); }
    .sort-form { grid-area: sort; min-width: 0; }
    .sort-form select { flex: 1 1 auto; min-width: 0; min-height: var(--target); }
    .sort-form .btn { min-height: var(--target); padding-inline: var(--s-3); }
    .results-count { grid-area: count; justify-self: end; }
    .catalog-empty-card { padding: var(--s-6) 20px; }
    .catalog-empty-card .actions .btn { width: 100%; }
    .pagination .pg-step { flex: 1 1 100%; }
    .seo-text { margin-top: var(--s-7); }
    .remold-line { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 var(--s-3); padding: var(--s-4); }
    .remold-line .action-link { grid-column: 2; justify-self: start; margin-left: 0; }
}

/* ========== Produto (02-ux P*, 01-visual §3.3) ========== */
.pdp { display: grid; gap: var(--s-6); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) {
    .pdp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-6); align-items: start; }
    .pdp-gallery { position: sticky; top: var(--s-4); }
}
@media (min-width: 1100px) { .pdp { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-8); } }

/* Galeria */
.pdp-gallery { display: grid; gap: var(--s-3); min-width: 0; }
.pdp-gallery:has(.gallery-thumbs) { grid-template-columns: minmax(0, 1fr); }
.pdp-photo { display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--sh-1); }
.pdp-photo img { width: 78%; height: 78%; object-fit: contain; mix-blend-mode: multiply; }
.pdp-photo-note { margin: 0; color: var(--note); font-size: .75rem; }
.pdp .gallery-track { border-radius: var(--r-lg); }
@media (min-width: 760px) {
    .pdp-gallery:has(.gallery-thumbs) { grid-template-columns: 76px minmax(0, 1fr); }
    .pdp .gallery-thumbs { order: -1; flex-direction: column; }
}

/* Caixa de compra */
.pdp-buy { min-width: 0; }
.pdp-brandline { display: flex; align-items: center; gap: var(--s-3); margin: 0 0 var(--s-3); }
.pdp-brandline .eyebrow { margin: 0; }
.pdp-title { margin: 0; font-stretch: 110%; font-weight: 700; font-size: var(--t-h1-product); line-height: 1.1; letter-spacing: 0; text-transform: none; overflow-wrap: normal; }
.pdp-model { display: block; text-wrap: balance; }
.pdp-size { display: block; margin-top: var(--s-2); font-stretch: 112%; font-weight: 600; font-size: 1.5rem; letter-spacing: .01em; font-variant-numeric: tabular-nums lining-nums; }
.pdp-index { color: var(--muted); font-weight: 500; }
.pdp-decode { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-4) 0 0; padding: 0; list-style: none; }
.pdp-decode li { display: inline-flex; align-items: center; gap: var(--s-1); min-height: 32px; padding: 0 var(--s-3); border: 1px solid var(--line); border-radius: var(--r-pill);
    background: var(--paper); font-size: var(--t-micro); font-weight: 500; white-space: nowrap; }
.pdp-decode li:has(a) { padding: 0; }
.pdp-decode a { display: inline-flex; align-items: center; min-height: 30px; padding: 0 var(--s-3); border-radius: var(--r-pill); color: var(--ink); text-decoration: none; }
.pdp-decode a:hover { color: var(--ink); background: var(--ivory); }
.pdp-decode .t-size { font-size: .875rem; font-weight: 600; }
.pdp-note { margin: var(--s-3) 0 0; color: var(--muted); font-size: var(--t-small); }

/* "Confira se serve no seu carro": faixa de 48 px que abre o seletor e mostra o resultado */
.pdp-fit { margin-top: 20px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper); }
.pdp-fit > summary { display: flex; align-items: center; gap: var(--s-3); min-height: 48px; padding: var(--s-2) var(--s-4); font-size: var(--t-small); font-weight: 600; line-height: 1.35;
    list-style: none; cursor: pointer; }
.pdp-fit > summary::-webkit-details-marker { display: none; }
.pdp-fit > summary:focus-visible { outline-offset: -3px; }
.pdp-fit-icon { width: 20px; height: 20px; color: var(--gold-text); }
.pdp-fit-text { flex: 1; min-width: 0; }
.pdp-fit-action { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--gold-text); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.pdp-fit-action::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(-45deg); transition: transform var(--dur) var(--ease); }
.pdp-fit[open] .pdp-fit-action::after { transform: rotate(45deg) translateY(-2px); }
.pdp-fit:hover { border-color: var(--control-border); }
.pdp-fit-body { padding: var(--s-4); border-top: 1px solid var(--line); }
.pdp-fit-body .vehicle-form { margin: 0; }
.pdp-fit.is-ok { border-color: rgb(30 107 52 / .45); }
.pdp-fit.is-ok .pdp-fit-icon, .pdp-fit.is-ok .pdp-fit-text { color: var(--ok); }
.pdp-fit.is-warn { border-color: var(--pending-dot); background: var(--row-highlight); }
.pdp-fit.is-warn .pdp-fit-icon { color: var(--gold-text-strong); }
.pdp-fit.is-warn .pdp-fit-action { color: var(--gold-text-strong); }
.pdp-fit-result { margin: var(--s-2) 0 0; padding: 0 var(--s-4); color: var(--muted); font-size: var(--t-micro); }
.pdp-fit-result p { margin: 0; }
.pdp-fit-result .t-size { color: var(--ink); }
.pdp-fit-result a { color: var(--ink); font-weight: 600; }

/* Preço */
.pdp-price { margin: var(--s-5) 0 0; }
.pdp-old { display: flex; align-items: center; gap: var(--s-2); margin: 0 0 var(--s-1); color: var(--muted); font-size: var(--t-micro); font-variant-numeric: tabular-nums; }
.pdp-now { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--s-2); margin: 0; }
.pdp-now .price-display { color: var(--ink); font-size: 2.5rem; }
.pdp-each { color: var(--muted); font-size: var(--t-small); font-weight: 500; }
.pdp-pay { margin: var(--s-2) 0 0; color: var(--muted); font-size: var(--t-micro); }

/* Quantidade: 1 · 2 · 4 com o total em cada opção; "Outra quantidade" abre o − / + */
.pdp-form { margin: var(--s-5) 0 0; }
.pdp-qty { margin: 0; }
.pdp-qty legend { margin-bottom: var(--s-1); font-size: var(--t-small); font-weight: 700; }
.pdp-qty-tip { margin: 0 0 var(--s-3); color: var(--muted); font-size: var(--t-micro); }
.pdp-presets { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--s-2); }
.pdp-preset { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 56px; margin: 0; padding: var(--s-2);
    border: 1px solid var(--control-border); border-radius: var(--r-sm); background: var(--paper); color: var(--ink); text-align: center; cursor: pointer;
    transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.pdp-preset input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.pdp-preset:hover { border-color: var(--ink); }
.pdp-preset-qty { font-size: var(--t-micro); font-weight: 600; line-height: 1.2; letter-spacing: .01em; }
.pdp-preset-price { font-family: var(--font-display); font-weight: 600; font-size: .9375rem; line-height: 1.2; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.pdp-preset:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.pdp-preset:has(input:checked) .pdp-preset-price { color: var(--brass); font-weight: 700; }
.pdp-preset:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.pdp-other { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-4); margin-top: var(--s-2); }
.pdp-other-toggle { display: inline-flex; align-items: center; gap: var(--s-2); min-height: var(--target); margin: 0; font-size: var(--t-small); font-weight: 600; cursor: pointer; }
.pdp-other-toggle input { margin: 0; }
.pdp-other-stepper { display: flex; align-items: center; gap: var(--s-3); }
.pdp-form:not(:has([data-qty-option][value="outra"]:checked)) .pdp-other-stepper { display: none; }
.pdp-other-max { color: var(--muted); font-size: var(--t-micro); }
.pdp-total { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); margin: var(--s-4) 0 0; padding: var(--s-3) 0 0; border-top: 1px solid var(--line);
    color: var(--muted); font-size: var(--t-small); font-weight: 500; }
.pdp-total .price-display { color: var(--ink); font-size: 1.25rem; }
.pdp-actions { display: grid; gap: var(--s-3); margin-top: var(--s-4); }
.pdp-actions .btn { width: 100%; }
@media (min-width: 1100px) { .pdp-actions { grid-template-columns: auto minmax(0, 1fr); } .pdp-actions .btn { padding-inline: var(--s-5); } }
.pdp-added { display: flex; align-items: flex-start; gap: var(--s-3); margin-top: var(--s-4); padding: var(--s-3) var(--s-4); border: 1px solid rgb(30 107 52 / .45); border-radius: var(--r-sm);
    background: var(--paper); font-size: var(--t-small); font-weight: 500; }
.pdp-added .icon { width: 20px; height: 20px; margin-top: 1px; color: var(--ok); }
.pdp-added p { margin: 0; }
.pdp-added a { color: var(--ink); font-weight: 700; }
.pdp-added:focus { outline: 2px solid rgb(30 107 52 / .45); outline-offset: 2px; }
.pdp-out { margin-top: var(--s-5); padding: var(--s-4) 20px; border-radius: var(--r-sm); background: var(--paper); box-shadow: var(--sh-1); }
.pdp-out p:last-child { margin: 0; }

/* Frete por CEP */
.pdp-ship { margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.pdp-ship-title { margin: 0 0 var(--s-3); font-family: var(--font-text); font-stretch: 100%; font-size: var(--t-small); font-weight: 700; letter-spacing: 0; text-transform: none; }
.pdp-ship-form .field { margin: 0; }
.pdp-ship-form .label-row label { font-size: var(--t-label); }
.pdp-ship-result:not(:empty) { margin-top: var(--s-3); }
.pdp-ship-result > p { margin: 0 0 var(--s-2); font-size: var(--t-small); }
.pdp-ship-head { color: var(--muted); }
.pdp-ship-head strong { color: var(--ink); }
.shipping-quotes { display: grid; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper); list-style: none;
    font-size: var(--t-small); font-variant-numeric: tabular-nums; }
.shipping-quotes li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "main days" "total days"; column-gap: var(--s-3); align-items: center;
    padding: 10px var(--s-4); border-top: 1px solid var(--line); line-height: 1.4; }
.shipping-quotes li:first-child { border-top: 0; }
.shipping-quotes li.is-selected { background: var(--zebra); box-shadow: inset 2px 0 0 var(--gold); }
.sq-main { grid-area: main; }
.sq-main strong { color: var(--ink); }
.sq-total { grid-area: total; color: var(--muted); font-size: var(--t-micro); }
.sq-days { grid-area: days; color: var(--muted); font-size: var(--t-micro); text-align: right; white-space: nowrap; }

.pdp-alt { margin: var(--s-4) 0 0; color: var(--muted); font-size: var(--t-small); }
.pdp-alt a { color: var(--ink); font-weight: 600; }
.pdp-trust { display: grid; gap: var(--s-1); margin: var(--s-5) 0 0; padding: var(--s-4) 0 0; border-top: 1px solid var(--line); list-style: none; color: var(--muted); font-size: var(--t-small); }
.pdp-trust li { display: flex; align-items: flex-start; gap: var(--s-2); line-height: 1.5; }
.pdp-trust .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--muted); }

/* Barra fixa de compra (celular) */
.pdp-bar, .cart-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
    min-height: 64px; padding: var(--s-2) var(--gutter) calc(var(--s-2) + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--paper);
    box-shadow: 0 -16px 32px -24px rgb(11 11 11 / .45); }
.pdp-bar-total, .cart-bar-total { display: grid; margin: 0; line-height: 1.15; }
.pdp-bar-total span, .cart-bar-total span { color: var(--muted); font-size: .75rem; font-weight: 600; }
.pdp-bar-total .price-display, .cart-bar-total .price-display { color: var(--ink); font-size: 1.25rem; }
.pdp-bar .btn, .cart-bar .btn { flex: none; min-height: 48px; padding-inline: var(--s-6); }
@media (min-width: 760px) { .pdp-bar, .cart-bar { display: none !important; } }

/* Informações: abas (computador) e acordeão (celular). Sem JS, seções abertas em sequência. */
.pdp-info-band { margin-top: var(--s-8); }
.pdp-tabbar { display: flex; gap: var(--s-6); margin: 0 0 var(--s-6); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.pdp-tabbar::-webkit-scrollbar { display: none; }
.pdp-tabbar button { flex: none; min-height: 48px; margin-bottom: -1px; padding: 0; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--muted);
    font: inherit; font-size: var(--t-small); font-weight: 600; white-space: nowrap; cursor: pointer; transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.pdp-tabbar button:hover { color: var(--ink); }
.pdp-tabbar button[aria-selected="true"] { border-bottom-color: var(--gold); color: var(--ink); }
.pdp-tabbar button:focus-visible { outline-offset: -3px; }
.pdp-panel + .pdp-panel { margin-top: var(--s-7); }
.pdp-panel-title { margin: 0 0 var(--s-4); font-size: var(--t-h2-band); }
.pdp-panel:focus-visible { outline-offset: 4px; }
.pdp-panel-lead { max-width: var(--measure); color: var(--muted); font-size: .9375rem; }
.pdp-panel-lead .t-size { color: var(--ink); }
@media (min-width: 760px) {
    .tabs-ready .pdp-panel.is-hidden-tab { display: none; }
    .tabs-ready .pdp-panel + .pdp-panel { margin-top: 0; }
    .tabs-ready .pdp-panel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 759px) {
    .pdp-tabbar { display: none !important; }
    .tabs-ready .pdp-panel + .pdp-panel { margin-top: 0; }
    .tabs-ready .pdp-panel-title { margin: 0; font-family: var(--font-text); font-stretch: 100%; font-size: 1rem; font-weight: 700; letter-spacing: 0; text-transform: none; }
    .tabs-ready .pdp-panel { border-bottom: 1px solid var(--line); }
    .tabs-ready .pdp-panel:first-of-type { border-top: 1px solid var(--line); }
    .pdp-acc { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); width: 100%; min-height: 56px; padding: 0; border: 0; background: none;
        color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
    .pdp-acc::after { content: ""; flex: none; width: 8px; height: 8px; margin-right: var(--s-1); border: solid var(--muted); border-width: 0 1.5px 1.5px 0;
        transform: rotate(45deg) translateY(-2px); transition: transform var(--dur) var(--ease); }
    .pdp-acc[aria-expanded="true"]::after { transform: rotate(-135deg); }
    .pdp-acc:focus-visible { outline-offset: -3px; }
    .tabs-ready .pdp-panel-body { padding-bottom: var(--s-5); }
    .tabs-ready .pdp-panel.is-collapsed .pdp-panel-body { display: none; }
}

/* Ficha técnica enxuta + etiqueta INMETRO */
.specs-layout { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 1100px) { .specs-layout:has(.inmetro-label) { grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); } }
@media (max-width: 1099px) {
    .specs-layout:has(.inmetro-label) { grid-template-columns: minmax(0, 1fr); }
    .inmetro-label { max-width: 440px; }
    .pdp-actions .btn { padding-inline: var(--s-3); font-size: var(--t-button); letter-spacing: .06em; }
}
.specs { display: table; width: 100%; table-layout: fixed; border-collapse: collapse; }
.specs th, .specs td { padding: 14px var(--s-4); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.specs tbody tr:nth-child(even) > * { background: var(--zebra); }
.specs th { width: 40%; color: var(--muted); font-size: var(--t-small); font-weight: 500; }
.specs td { color: var(--ink); font-size: .9375rem; }
.specs .t-size { font-size: .9375rem; font-weight: 600; }
.specs-sub { display: block; margin-top: 2px; color: var(--muted); font-size: var(--t-micro); }
.inmetro-label { padding: 20px; border-radius: var(--r-sm); background: var(--ivory); box-shadow: none; }
.inmetro-label .eyebrow { justify-content: flex-start; margin-bottom: var(--s-4); }
.inmetro-row + .inmetro-row { margin-top: var(--s-4); }
.inmetro-name { margin: 0 0 var(--s-2); font-size: var(--t-small); }
.grade-scale { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; margin: 0; padding: 0; list-style: none; }
.grade-scale li { position: relative; display: grid; place-items: center; height: 24px; border-radius: var(--r-xs); color: var(--white); font-size: .75rem; font-weight: 700; opacity: .32; }
.grade-scale li.is-current { opacity: 1; height: 28px; margin-top: -2px; box-shadow: 0 0 0 2px var(--ink); }
.grade-scale li.is-current::after { content: ""; position: absolute; top: calc(100% + 4px); left: 50%; border: 5px solid transparent; border-bottom-color: var(--ink); transform: translateX(-50%) rotate(180deg); }
.inmetro-noise { display: flex; justify-content: space-between; align-items: baseline; margin-top: var(--s-5); padding-top: var(--s-3); border-top: 1px solid var(--line); }
.inmetro-noise .t-size { font-size: 1.25rem; font-weight: 700; }

/* Descrição, compatibilidade e dúvidas */
.pdp-cars { columns: 3 200px; column-gap: var(--s-6); margin: var(--s-4) 0 var(--s-3); padding: 0; list-style: none; }
.pdp-cars li { break-inside: avoid; }
.pdp-cars a { display: flex; align-items: center; min-height: 44px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: .9375rem; text-decoration: none; }
.pdp-cars a:hover { color: var(--gold-text); text-decoration: underline 1px; text-underline-offset: 3px; }
.pdp-faq { max-width: 860px; }
.pdp-faq-item { padding: 20px 0; border-top: 1px solid var(--line); }
.pdp-faq-item:first-child { padding-top: 0; border-top: 0; }
.pdp-faq-item h3 { margin: 0 0 6px; font-size: 1rem; }
.pdp-faq-item p { max-width: var(--measure); margin: 0; color: var(--muted); }

/* Mais pneus da mesma medida + cartão-atalho */
.pdp-related { margin-top: var(--s-8); }
.card-shortcut { display: flex; flex-direction: column; justify-content: flex-end; gap: var(--s-2); min-height: 200px; padding: var(--s-5); border-radius: var(--r-sm);
    background: radial-gradient(80% 120% at 100% 0%, rgb(200 154 59 / .18), transparent 60%), var(--ink); color: var(--on-dark); text-decoration: none;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); --focus: var(--brass); }
.card-shortcut:hover { color: var(--on-dark); transform: translateY(-2px); box-shadow: var(--sh-2); }
.card-shortcut .eyebrow { margin: 0; color: var(--brass); }
.card-shortcut-size { color: var(--brass); font-stretch: 125%; font-weight: 800; font-size: 1.75rem; }
.card-shortcut-text { max-width: 26ch; color: var(--on-dark-muted); font-size: var(--t-small); }
.card-shortcut .icon { width: 24px; height: 24px; margin-top: var(--s-2); color: var(--brass); transition: transform var(--dur) var(--ease); }
.card-shortcut:hover .icon { transform: translateX(4px); }

@media (max-width: 759px) {
    .pdp { gap: var(--s-5); }
    .pdp-photo, .pdp .gallery-track { max-height: 260px; aspect-ratio: auto; height: 260px; }
    .pdp .gallery-track img { height: 260px; }
    .pdp-photo img { height: 82%; }
    .pdp-size { font-size: 1.25rem; }
    .pdp-now .price-display { font-size: 2.25rem; }
    .pdp-info-band { margin-top: var(--s-7); padding-block: var(--s-5) var(--s-7); }
    .pdp-related { margin-top: var(--s-7); }
    .specs th, .specs td { padding: var(--s-3); }
    .card-shortcut { min-height: 160px; }
}

/* ========== Layout de compra: título, avisos ========== */
.checkout-title { margin: 0 0 var(--s-5); font-stretch: 118%; font-size: var(--t-h2); text-align: center; }
.checkout-login { max-width: 60ch; margin: calc(-1 * var(--s-3)) auto var(--s-5); color: var(--muted); font-size: var(--t-small); text-align: center; }
.checkout-login a, .checkout-login strong { color: var(--ink); }

/* Resumo (carrinho, checkout, pedido) */
.summary-lines { display: grid; gap: var(--s-2); margin: 0; }
.summary-lines > div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); font-size: var(--t-small); font-variant-numeric: tabular-nums; }
.summary-lines dt { color: var(--muted); }
.summary-lines dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; }
.summary-uf { font-weight: 400; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); padding-top: var(--s-4); border-top: 1px solid var(--line); font-size: inherit; font-weight: inherit; }
.summary-total-label { color: var(--ink); font-size: var(--t-small); font-weight: 700; }
.summary-total-value { color: var(--ink); font-size: 1.75rem; text-align: right; }
.summary-plus { font-family: var(--font-text); font-size: var(--t-small); font-weight: 500; color: var(--muted); }
.summary-assure { display: grid; gap: var(--s-1); margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: var(--t-micro); }
.summary-assure li { display: flex; align-items: center; gap: var(--s-2); }
.summary-assure .icon { width: 16px; height: 16px; color: var(--gold-text); }
.summary-note { margin: 0; color: var(--muted); font-size: var(--t-micro); }
.summary-days { margin: 0; color: var(--muted); font-size: var(--t-micro); }
.summary-days:empty { display: none; }

/* ========== Carrinho (02-ux K*, 01-visual §3.15) ========== */
.cart-layout { display: grid; gap: var(--s-5); align-items: start; }
@media (min-width: 1024px) {
    .cart-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: var(--s-6); }
    .cart-summary { position: sticky; top: var(--s-4); }
}
.cart-main { min-width: 0; }
.cart-items { margin: 0; padding: 0; list-style: none; border-radius: var(--r-sm); background: var(--paper); box-shadow: var(--sh-1); }
.cart-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto minmax(112px, auto); grid-template-areas: "thumb info qty total" "thumb warn warn warn";
    gap: 0 var(--s-5); align-items: center; padding: var(--s-5); }
.cart-item + .cart-item { border-top: 1px solid var(--line); }
.cart-thumb { grid-area: thumb; align-self: start; display: grid; place-items: center; width: 96px; height: 96px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-sm);
    background: var(--white); }
.cart-thumb img { width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; }
.cart-info { grid-area: info; min-width: 0; }
.cart-brand { margin: 0; color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.cart-name { margin: 2px 0 0; font-size: .9375rem; font-weight: 600; line-height: 1.35; }
.cart-name a { color: var(--ink); text-decoration: none; }
.cart-name a:hover { text-decoration: underline 1px var(--link-line); text-underline-offset: 3px; }
.cart-size { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); margin: var(--s-1) 0 0; }
.cart-size .t-size { font-size: .9375rem; }
.cart-index { color: var(--muted); font-family: var(--font-display); font-stretch: 112%; font-weight: 500; font-size: .9375rem; }
.cart-unit { margin: var(--s-2) 0 0; color: var(--ink); font-size: var(--t-micro); font-variant-numeric: tabular-nums; }
.cart-remove { display: inline-flex; align-items: center; gap: 6px; min-height: var(--target); margin: 0 0 calc(-1 * var(--s-3)); padding: 0; border: 0; background: none; color: var(--muted);
    font: inherit; font-size: var(--t-micro); font-weight: 600; cursor: pointer; text-decoration: underline 1px transparent; text-underline-offset: 3px; }
.cart-remove .icon { width: 16px; height: 16px; }
.cart-info .cart-remove { position: static; }   /* desfaz o posicionamento antigo do site.css */
.cart-remove:hover { color: var(--error); text-decoration-color: currentColor; }
.cart-qty { grid-area: qty; }
.cart-qty .stepper-box { height: var(--target); }
.cart-qty .stepper-box button { width: 40px; }
.cart-qty .stepper-box input { width: 48px; font-variant-numeric: tabular-nums; }
.cart-line-total { grid-area: total; margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; text-align: right; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.cart-line-warn, .cart-line-note { grid-area: warn; margin: var(--s-3) 0 0; font-size: var(--t-micro); }
.cart-line-warn { display: flex; align-items: center; gap: var(--s-2); padding: var(--s-2) var(--s-3); border-radius: var(--r-sm); background: var(--row-highlight); color: var(--gold-text-strong); font-weight: 600; }
.cart-line-warn .icon { width: 16px; height: 16px; }
.cart-line-note { color: var(--muted); }
.cart-update { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: var(--s-2) var(--s-4); margin-top: var(--s-3); }
.cart-update-msg { flex: 1 1 260px; margin: 0; color: var(--gold-text-strong); font-size: var(--t-micro); font-weight: 600; }
.cart-update-msg:empty { display: none; }
.cart-update .btn { min-height: var(--target); }
.cart-check-size { display: flex; align-items: flex-start; gap: var(--s-3); margin: var(--s-5) 0 0; color: var(--text); font-size: var(--t-small); }
.cart-check-size .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--gold-text); }
.cart-check-size .t-size { font-size: .9375rem; }
.cart-check-size a { white-space: nowrap; }
.cart-summary { display: grid; gap: var(--s-4); padding: var(--s-5); border-radius: var(--r-sm); background: var(--paper); box-shadow: var(--sh-1); }
.cart-summary .eyebrow, .co-summary .eyebrow, .order-aside .eyebrow, .order-items .eyebrow, .order-next .eyebrow { margin: 0; font-size: .75rem; }
.summary-cep { padding-top: var(--s-4); border-top: 1px solid var(--line); }
.summary-cep .field { margin: 0; }
.cart-empty { max-width: 640px; margin: 0 auto; padding: var(--s-8) var(--s-6); border-radius: var(--r-sm); background: var(--paper); box-shadow: var(--sh-1); text-align: center; }
.cart-empty .medal { margin-bottom: var(--s-4); }
.cart-empty-title { margin: 0 0 var(--s-2); font-family: var(--font-display); font-stretch: 112%; font-size: 1.25rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.cart-empty > p { color: var(--muted); }
.cart-empty .actions { justify-content: center; margin-top: var(--s-5); }
@media (max-width: 599px) {
    .cart-item { grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-areas: "thumb info info" "qty qty total" "warn warn warn"; gap: var(--s-3) var(--s-3); padding: var(--s-4); }
    .cart-thumb { width: 72px; height: 72px; }
    .cart-remove { margin-bottom: calc(-1 * var(--s-2)); }
    .cart-line-total { align-self: center; }
    .cart-line-warn, .cart-line-note { margin-top: 0; }
    .cart-empty { padding: var(--s-7) 20px; }
    .cart-empty .actions .btn { width: 100%; }
    .cart-update { justify-content: stretch; }
    .cart-update .btn { flex: 1 1 100%; }
}

/* ========== Checkout (02-ux CK*, 01-visual §3.16) ========== */
.co { display: grid; gap: var(--s-5); align-items: start; }
@media (min-width: 1024px) {
    .co { grid-template-columns: minmax(0, 1fr) 380px; grid-template-areas: "form summary"; gap: var(--s-6); }
    .co-form { grid-area: form; }
    .co-summary { grid-area: summary; position: sticky; top: var(--s-4); }
    .co-summary-box[open] > .co-summary-toggle { display: none; }
}
.co-form, .co-summary { min-width: 0; }
.co-summary-box { border-radius: var(--r-sm); background: var(--paper); box-shadow: var(--sh-1); }
.co-summary-toggle { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-height: 56px; padding: 0 20px; font-size: var(--t-small); font-weight: 600;
    list-style: none; cursor: pointer; }
.co-summary-toggle::-webkit-details-marker { display: none; }
.co-summary-toggle:focus-visible { outline-offset: -3px; }
.co-summary-toggle-label { display: inline-flex; align-items: center; gap: var(--s-2); }
.co-summary-toggle-label::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-2px);
    transition: transform var(--dur) var(--ease); }
.co-summary-box[open] .co-summary-toggle-label::after { transform: rotate(-135deg); }
.co-summary-toggle-total { font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.co-summary-body { display: grid; gap: var(--s-4); padding: 0 var(--s-5) var(--s-5); }
@media (min-width: 1024px) { .co-summary-box[open] .co-summary-body { padding-top: var(--s-5); } }
.summary-items { display: grid; gap: var(--s-3); margin: 0; padding: 0; list-style: none; }
.summary-items li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: var(--s-3); align-items: center; }
.summary-thumb { display: grid; place-items: center; width: 56px; height: 56px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); }
.summary-thumb img { width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; }
.summary-name { display: grid; gap: 2px; min-width: 0; font-size: var(--t-micro); font-weight: 600; line-height: 1.3; }
.summary-size { font-size: var(--t-micro); }
.summary-name small { color: var(--muted); font-size: var(--t-micro); font-weight: 400; font-variant-numeric: tabular-nums; }
.summary-line { font-size: var(--t-small); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.co-summary .summary-total-value { font-size: 1.75rem; }
.co-summary .action-link { justify-self: start; min-height: 32px; }
.form-errors { margin: 0 0 var(--s-5); padding: var(--s-4) 20px; border: 1px solid var(--error); border-radius: var(--r-sm); background: var(--paper); color: var(--error); }
.form-errors:focus { outline: 2px solid var(--error); outline-offset: 2px; }
.form-errors-title { margin: 0 0 var(--s-2); font-weight: 700; }
.form-errors ul { margin: 0; padding-left: 20px; font-size: var(--t-small); }
.form-errors li + li { margin-top: var(--s-1); }
.form-errors a { color: var(--error); text-decoration-color: currentColor; }
.co-step { container-type: inline-size; margin-bottom: var(--s-4); padding: var(--s-5) var(--s-6) var(--s-2); border-radius: var(--r-sm); background: var(--paper); box-shadow: var(--sh-1); }
.co-step:last-child { padding-bottom: var(--s-5); }
.co-step-title { margin: 0 0 20px; font-stretch: 112%; font-size: 1rem; font-weight: 700; letter-spacing: .04em; }
.co-buyer { margin: 0 0 20px; }
.co-buyer .segmented .check { flex: 1 1 0; min-height: 48px; padding: var(--s-2) var(--s-3); line-height: 1.3; }
.co-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--s-4); }
.co-grid > * { grid-column: span 12; min-width: 0; }
.co-grid .field { margin-bottom: 20px; }
.co-grid > .c-4 { grid-column: span 5; }
.co-grid > .c-8 { grid-column: span 7; }
.co-grid > .c-3 { grid-column: span 5; }
.co-grid > .c-5:has(#f-city) { grid-column: span 7; }
.co-grid > .c-4:has(#f-district), .co-grid > .c-4:has(#f-cep), .co-grid > .c-8:has(#f-street) { grid-column: span 12; }
@container (min-width: 560px) {
    .co-grid > .c-3 { grid-column: span 3; }
    .co-grid > .c-4, .co-grid > .c-4:has(#f-district), .co-grid > .c-4:has(#f-cep) { grid-column: span 4; }
    .co-grid > .c-6 { grid-column: span 6; }
    .co-grid > .c-5, .co-grid > .c-5:has(#f-city) { grid-column: span 5; }
    .co-grid > .c-7 { grid-column: span 7; }
    .co-grid > .c-8, .co-grid > .c-8:has(#f-street) { grid-column: span 8; }
}
.co-grid select option:disabled { color: var(--muted); }
.co-pay { margin: 0 0 var(--s-3); font-size: .9375rem; }
.co-pay-methods { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0 0 20px; padding: 0; list-style: none; }
.co-pay-methods li { display: inline-flex; align-items: center; min-height: 32px; padding: 0 var(--s-3); border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper);
    font-size: var(--t-micro); font-weight: 600; }
.co-accept { margin: 0 0 20px; }
.co-accept .check { font-size: var(--t-small); }
.co-submit { margin-top: var(--s-1); }
.co-secure-note { display: flex; align-items: center; justify-content: center; gap: var(--s-2); margin: var(--s-3) 0 0; color: var(--muted); font-size: var(--t-micro); text-align: center; }
.co-secure-note .icon { width: 16px; height: 16px; color: var(--gold-text); }
@media (max-width: 1023px) {
    .co-summary .eyebrow { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 759px) {
    .co-step { padding: 20px 20px var(--s-1); }
    .co-step:last-child { padding-bottom: 20px; }
    .co-summary-body { padding: 0 20px 20px; }
}

/* ========== Pedido (02-ux O*, 01-visual §3.17) ========== */
.order-card { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--s-5); align-items: start; padding: var(--s-6); border-radius: var(--r-sm); background: var(--paper); box-shadow: var(--sh-1); }
.order-medal { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--gold-line); background: var(--ivory); color: var(--gold-text); }
.order-medal .icon { width: 26px; height: 26px; }
.order-card-ok .order-medal { border-color: var(--gold); background: var(--gold); color: var(--ink); }
.order-card-failed .order-medal { border-color: var(--error); background: var(--paper); color: var(--error); }
.order-card .eyebrow { margin: 0 0 var(--s-2); }
.order-code { font-variant-numeric: tabular-nums lining-nums; letter-spacing: .04em; }
.order-title { margin: 0 0 var(--s-2); font-stretch: 112%; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); line-height: 1.1; letter-spacing: .01em; overflow-wrap: normal; }
.order-lead { max-width: 60ch; margin: 0; color: var(--muted); }
.order-tracking { margin: var(--s-3) 0 0; font-size: var(--t-small); }
.order-tracking .t-size { font-size: 1rem; letter-spacing: .06em; }
.order-card .alert { margin: var(--s-3) 0 0; }
.order-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); margin-top: 20px; }
.order-actions .inline-form { margin: 0; }
.order-deadline { display: flex; align-items: center; gap: var(--s-2); margin: var(--s-3) 0 0; color: var(--muted); font-size: var(--t-micro); }
.order-deadline .icon { width: 16px; height: 16px; color: var(--gold-text); }
/* Andamento: o mesmo desenho das etapas da compra (concluído gold + check, atual ink + brass) */
.order-progress { display: flex; margin: var(--s-4) 0 0; padding: var(--s-5) var(--s-4); border-radius: var(--r-sm); background: var(--paper); box-shadow: var(--sh-1); list-style: none; }
.order-progress li { position: relative; display: flex; flex: 1 1 0; flex-direction: column; align-items: center; gap: var(--s-2); color: var(--muted); font-size: var(--t-micro); text-align: center; }
.order-progress li + li::before { content: ""; position: absolute; top: 15px; right: calc(50% + 22px); width: calc(100% - 44px); height: 2px; background: var(--line); }
.order-progress .op-done + li::before { background: var(--gold); }
.op-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper);
    font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: .875rem; font-variant-numeric: tabular-nums; }
.op-dot .icon { width: 14px; height: 14px; }
.op-done { color: var(--text); }
.op-done .op-dot { border-color: var(--gold); background: var(--gold); color: var(--ink); }
.op-current { color: var(--ink); font-weight: 700; }
.op-current .op-dot { border-color: var(--ink); background: var(--ink); color: var(--brass); }
.op-label { display: grid; gap: 2px; line-height: 1.3; }
.op-label small { color: var(--muted); font-size: .75rem; font-weight: 400; font-variant-numeric: tabular-nums; }
.order-next { margin: var(--s-4) 0 0; padding: var(--s-5); border-radius: var(--r-sm); background: var(--paper); box-shadow: var(--sh-1); }
.order-next-list { display: grid; gap: var(--s-3); margin: var(--s-4) 0 0; padding: 0; list-style: none; }
.order-next-list li { display: flex; align-items: flex-start; gap: var(--s-3); font-size: .9375rem; line-height: 1.5; }
.order-next-num { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--brass);
    font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: .8125rem; font-variant-numeric: tabular-nums; }
.order-detail { display: grid; gap: var(--s-4); align-items: start; margin-top: var(--s-4); }
@media (min-width: 900px) { .order-detail { grid-template-columns: minmax(0, 1fr) 360px; } }
.order-items, .order-aside { padding: var(--s-5); border-radius: var(--r-sm); background: var(--paper); box-shadow: var(--sh-1); }
.order-items .eyebrow { margin-bottom: var(--s-3); }
.order-items .table-wrap { margin: 0; border: 0; border-radius: 0; }
.order-items .table th, .order-items .table td { padding-inline: 0 var(--s-3); }
.order-items .table th:last-child, .order-items .table td:last-child { padding-right: 0; }
.order-items .table thead th { background: transparent; }
.order-item-name { font-size: .9375rem; }
.order-items .col-money { font-variant-numeric: tabular-nums lining-nums; }
.order-item-total { font-weight: 700; }
.order-aside { display: grid; gap: var(--s-4); }
.order-aside .summary-total-value { font-size: 1.5rem; }
.order-address-title { margin: var(--s-2) 0 0; font-size: var(--t-small); }
.order-address { margin: calc(-1 * var(--s-2)) 0 0; color: var(--text); font-size: var(--t-small); font-style: normal; line-height: 1.6; }
.order-help { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-1) var(--s-4); margin-top: var(--s-6); padding: var(--s-5) 0 0; border-top: 1px solid var(--line);
    border-radius: 0; background: none; box-shadow: none; }
.order-help-title { margin: 0; font-size: 1rem; }
.order-help-links { margin: 0; font-size: var(--t-small); font-weight: 600; }
.order-help-note { flex: 1 1 100%; margin: 0; color: var(--muted); font-size: var(--t-micro); }
@media (max-width: 599px) {
    .order-items { padding: var(--s-4); }
    .order-items .table-stack tr { margin-bottom: 0; padding: var(--s-3) 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
    .order-items .table-stack tr:first-child { border-top: 0; }
}
@media (max-width: 759px) {
    .order-card { grid-template-columns: 44px minmax(0, 1fr); gap: var(--s-4); padding: 20px; }
    .order-medal { width: 44px; height: 44px; }
    .order-medal .icon { width: 22px; height: 22px; }
    .order-actions .btn, .order-actions .inline-form { width: 100%; }
    .order-progress { padding: var(--s-4) var(--s-2); }
    .order-progress li { font-size: .75rem; }
    .order-progress li + li::before { right: calc(50% + 18px); width: calc(100% - 36px); }
    .order-next, .order-aside { padding: 20px; }
}

/* ========== Pagamento de teste (só desenvolvimento) ========== */
.fake-pay { max-width: 520px; margin: 0 auto; padding: var(--s-6); border-radius: var(--r-sm); background: var(--paper); box-shadow: var(--sh-1); }
.fake-pay-flag { display: flex; align-items: center; gap: var(--s-2); margin: 0 0 var(--s-5); padding: var(--s-2) var(--s-3); border-radius: var(--r-sm); background: var(--row-highlight);
    color: var(--gold-text-strong); font-size: var(--t-micro); font-weight: 600; }
.fake-pay-flag .icon { width: 16px; height: 16px; }
.fake-pay .eyebrow { margin: 0 0 var(--s-2); }
.fake-pay-total { display: flex; justify-content: space-between; align-items: baseline; margin: var(--s-4) 0 0; padding-top: var(--s-4); border-top: 1px solid var(--line); }
.fake-pay-total .price-display { font-size: 2rem; }
.fake-pay-actions { display: grid; gap: var(--s-3); margin-top: var(--s-5); }
.fake-pay-actions form { margin: 0; }
@media (max-width: 759px) { .fake-pay { padding: 20px; } }

/* Alto contraste */
@media (forced-colors: active) {
    .cf-list a[aria-current], .pdp-preset:has(input:checked), .pdp-tabbar button[aria-selected="true"] { forced-color-adjust: none; background: Highlight; color: HighlightText; border-color: Highlight; }
    .op-done .op-dot, .op-current .op-dot { forced-color-adjust: none; background: Highlight; border-color: Highlight; color: HighlightText; }
    .grade-scale li.is-current { outline: 2px solid CanvasText; }
}
@media (prefers-reduced-motion: reduce) { .card-shortcut:hover, .card-shortcut:hover .icon { transform: none; } }

/* ==================== Respostas, conteúdo e conta (fase 2 · D) ==================== */
/* Fase 2 · agente D: páginas de resposta (carro, medida, ranking), conteúdo (guias, dúvidas, institucionais),
   acompanhar pedido, conta e 404. Usa só os tokens do site.css. Regras marcadas com SISTEMA são candidatas a ir para
   o site.css na junção (componentes reaproveitáveis). Espaços só da escala --s-*.
   Índice: 1 superfícies e utilitários · 2 placa de resposta · 3 medida decomposta · 4 aro e ano · 5 estado vazio ·
   6 tabela por ano · 7 dúvidas (4/8 + sanfona) · 8 /pneu-para · 9 medida (carros) · 10 ranking · 11 guias ·
   12 fechamento escuro · 13 institucionais · 14 entrega · 15 textos legais · 16 404 · 17 cartão de formulário,
   acompanhar e entrar · 18 senha · 19 área do cliente */

/* ========== 1. Superfícies e utilitários ========== */
/* SISTEMA: superfícies escuras desta fatia (mesmas variáveis da seção 5 do site.css) */
.plate-key, .vi-finder, .sd-band, .closing-band, .channel-feature, .ship-check-result {
    --fg: var(--on-dark); --fg-muted: var(--on-dark-muted); --fg-inverse: var(--ink); --accent-text: var(--brass);
    --link-line: rgb(224 195 138 / .5); --link-hover: var(--brass); --focus: var(--brass);
    color: var(--fg); }
/* SISTEMA: "luz de ouro" sobre ink (01-visual §2.10-A plain) */
.plate-key, .sd-band, .closing-band, .channel-feature, .ship-check-result {
    background: radial-gradient(70% 90% at 100% 0%, rgb(200 154 59 / .18), transparent 62%), var(--ink); }
/* SISTEMA: medalhão grande (48, ícone 24) para estados vazios e canais */
.medal-lg { width: 48px; height: 48px; }
.medal-lg .icon { width: 24px; height: 24px; }
/* SISTEMA: título de cartão/painel com tag h2 no documento, visual de h3 (01-visual §2.2) */
.form-card-title, .acct-h2, .ship-check-title {
    margin: 0 0 var(--s-2); font-family: var(--font-text); font-stretch: 100%; font-size: var(--t-h3); font-weight: 700; line-height: 1.3;
    letter-spacing: 0; text-transform: none; }
.acct-h3 { margin: 0 0 var(--s-2); font-family: var(--font-text); font-stretch: 100%; font-size: var(--t-h4); font-weight: 700; line-height: 1.35;
    letter-spacing: 0; text-transform: none; color: var(--muted); }
h2.eyebrow { font-size: var(--t-eyebrow); font-weight: 600; line-height: 1.2; letter-spacing: .24em; }
.section-head h2 .t-size, .faq-split-head h2 .t-size { font-stretch: 118%; font-weight: inherit; letter-spacing: inherit; }
.answer-section { scroll-margin-top: var(--s-4); }
.table-legend { max-width: 80ch; margin: var(--s-3) 0 0; color: var(--muted); font-size: var(--t-micro); line-height: 1.5; }
/* SISTEMA: barra de proporção (idêntica à de b.css; a junção mantém uma só) */
/* SISTEMA: <details> com chevron próprio (sem o marcador nativo) */
.plate-more > summary, .faq-acc-item > summary, .method-item > summary, .car-more > summary { list-style: none; cursor: pointer; }
.plate-more > summary::-webkit-details-marker, .faq-acc-item > summary::-webkit-details-marker,
.method-item > summary::-webkit-details-marker, .car-more > summary::-webkit-details-marker { display: none; }

/* ========== 2. Placa de resposta (01-visual §2.10-M) ========== */
.answer-plate { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "main key"; overflow: hidden;
    border-radius: var(--r-sm); background: var(--paper); box-shadow: var(--sh-1); }
.plate-main { grid-area: main; display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-3); min-width: 0; padding: var(--s-6) var(--s-6) var(--s-5); }
.plate-key { grid-area: key; display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: var(--s-6); border-left: 1px solid var(--gold-line); }
.plate-key .eyebrow { margin-bottom: var(--s-3); }
.plate-size { margin: 0; font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem); line-height: 1;
    letter-spacing: 0; color: var(--brass); white-space: nowrap; }
.plate-meta { margin: var(--s-3) 0 0; color: var(--on-dark-muted); font-size: var(--t-small); }
.plate-meta .t-size { color: var(--on-dark); font-weight: 600; }
.plate-result { max-width: 60ch; margin: 0; color: var(--ink); font-size: var(--t-lead); font-weight: 500; line-height: 1.5; text-wrap: pretty; }
.plate-result strong { font-weight: 700; }
.plate-result .size { font-size: 1.08em; }
.plate-year { display: flex; align-items: flex-start; gap: var(--s-2); margin: 0; padding: var(--s-2) var(--s-3); border-radius: var(--r-sm);
    background: var(--row-highlight); color: var(--ink); font-size: .9375rem; font-weight: 600; line-height: 1.45; }
.plate-year .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--ok); }
.plate-year.is-warn { border: 1px solid var(--line); background: var(--zebra); font-weight: 500; }
.plate-source { display: flex; align-items: center; gap: var(--s-2); margin: 0; color: var(--muted); font-size: var(--t-micro); }
.plate-source .icon { width: 16px; height: 16px; color: var(--gold-text); }
.plate-more { width: 100%; margin-top: calc(-1 * var(--s-2)); }
.plate-more > summary { display: inline-flex; align-items: center; gap: var(--s-2); min-height: var(--target); color: var(--gold-text); font-size: var(--t-small); font-weight: 600; }
.plate-more > summary::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-2px);
    transition: transform var(--dur) var(--ease); }
.plate-more[open] > summary::after { transform: rotate(-135deg); }
.plate-more > summary:hover { text-decoration: underline 1px; text-underline-offset: 4px; }
.plate-more-body { max-width: 68ch; padding: 0 0 var(--s-2); color: var(--muted); font-size: .9375rem; line-height: 1.6; }
.plate-more-body p:last-child { margin-bottom: 0; }
.plate-note { display: flex; align-items: flex-start; gap: var(--s-3); width: 100%; margin: auto 0 0; padding-top: var(--s-4); border-top: 1px solid var(--line);
    color: var(--ink); font-size: var(--t-small); line-height: 1.5; }
.plate-note .icon { width: 16px; height: 16px; margin-top: 2px; color: var(--gold-text); }
/* Selo do ranking (medida): número em Saira sobre ink, texto ao lado */
.rank-seal { display: inline-flex; align-items: center; gap: var(--s-3); margin: 0; padding: var(--s-1) var(--s-3) var(--s-1) var(--s-1); border: 1px solid var(--gold-line);
    border-radius: var(--r-sm); color: var(--ink); font-size: var(--t-micro); font-weight: 600; line-height: 1.3; }
.rank-seal-n { display: inline-flex; align-items: baseline; padding: 6px 10px; border-radius: var(--r-xs); background: var(--ink); color: var(--brass);
    font-stretch: 125%; font-weight: 800; font-size: 1.125rem; line-height: 1; }
/* Top 3 do ranking */
.plate-top { margin: 0; padding: 0; list-style: none; }
.plate-top li { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr) auto; align-items: baseline; gap: var(--s-3); padding: var(--s-3) 0; border-top: 1px solid var(--carbon); }
.plate-top li:first-child { border-top: 0; padding-top: 0; }
.plate-top-n { font-size: 1.75rem; color: var(--brass); }
.plate-top-size { color: var(--paper); font-size: 1.375rem; text-decoration: none; }
.plate-top-size:hover { color: var(--brass); }
.plate-top-share { color: var(--on-dark-muted); font-family: var(--font-display); font-weight: 600; font-variant-numeric: tabular-nums; }
.plate-top li:first-child .plate-top-size { font-size: 1.75rem; color: var(--brass); }
@media (max-width: 999px) {
    .answer-plate { grid-template-columns: minmax(0, 1fr); grid-template-areas: "key" "main"; }
    .plate-key { padding: var(--s-5) var(--s-6); border-left: 0; border-bottom: 1px solid var(--gold-line); }
}
@media (max-width: 759px) {
    .plate-key { padding: var(--s-5) 20px; }
    .plate-main { padding: 20px 20px var(--s-4); }
    .plate-result { font-size: 1.0625rem; }
}

/* ========== 3. Medida decomposta (partials/size-diagram.php) ========== */
.size-diagram { margin: 0; }
.sd-code { display: flex; flex-wrap: wrap; align-items: flex-end; row-gap: var(--s-3); margin: 0 0 var(--s-5); font-family: var(--font-display); font-stretch: 125%; font-weight: 800;
    font-size: clamp(2.25rem, 1.4rem + 3.4vw, 4rem); line-height: 1; letter-spacing: 0; color: var(--brass); font-variant-numeric: lining-nums; }
.sd-seg { margin-right: .08em; padding-bottom: var(--s-2); border-bottom: 1px solid var(--gold); }
.sd-sep { margin-right: .08em; padding-bottom: var(--s-2); color: var(--on-dark-muted); font-weight: 300; }
.sd-grp { display: inline-flex; align-items: flex-end; margin-right: .22em; white-space: nowrap; }
.sd-grp:last-child { margin-right: 0; }
.sd-legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: var(--s-4) var(--s-5); margin: 0; }
.sd-legend > div { padding-top: var(--s-3); border-top: 1px solid var(--gold-line); }
.sd-legend dt { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 1.125rem; line-height: 1.1; color: var(--paper);
    font-variant-numeric: tabular-nums lining-nums; }
.sd-legend dd { margin: var(--s-1) 0 0; color: var(--on-dark-muted); font-size: var(--t-micro); line-height: 1.4; }
.sd-compact .sd-code { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem); margin-bottom: var(--s-4); }
.sd-compact .sd-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3) var(--s-4); }
.sd-compact .sd-legend dt { font-size: 1rem; }
@media (min-width: 1100px) { .size-diagram:not(.sd-compact) .sd-legend { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* ========== 4. Aro (segmentos) e ano opcional ========== */
.rim-seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: var(--s-4) var(--s-2); max-width: 760px; margin: 0; padding: var(--s-2) 0 0; list-style: none; }
.rim-opt { position: relative; display: flex; flex-direction: column; justify-content: center; gap: var(--s-1); min-height: 72px; padding: var(--s-3) var(--s-4); border: 1px solid var(--control-border);
    border-radius: var(--r-sm); background: var(--paper); color: var(--ink); text-decoration: none;
    transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.rim-opt:hover { border-color: var(--ink); color: var(--ink); box-shadow: var(--sh-1); }
.rim-opt-top { display: block; }
.rim-opt-top .tag { position: absolute; top: -11px; right: var(--s-3); box-shadow: 0 0 0 3px var(--ivory); }
.rim-opt-rim { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 1.125rem; line-height: 1.1; letter-spacing: .02em; text-transform: uppercase; }
.rim-opt-size { font-family: var(--font-display); font-stretch: 112%; font-weight: 500; font-size: .9375rem; color: var(--muted); font-variant-numeric: tabular-nums lining-nums; }
.rim-opt[aria-current="true"] { border-color: var(--ink); background: var(--ink); color: var(--brass); }
.rim-opt[aria-current="true"] .rim-opt-size { color: var(--on-dark); }
.rim-opt[aria-current="true"]:focus-visible { outline-color: var(--ink); }
.rim-tools { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-4) var(--s-6); max-width: 760px; margin-top: var(--s-4); }
.rim-tools .help { flex: 1 1 280px; }
.help-body { max-width: 60ch; padding: var(--s-1) 0 var(--s-2); font-size: .9375rem; }
.help-body p:last-child { margin-bottom: 0; }
.year-pick label { margin-bottom: 6px; }
.year-pick-row { display: flex; gap: var(--s-2); }
.year-pick select { width: 148px; }
.year-pick .btn { min-height: 48px; }
@media (max-width: 759px) {
    .rim-seg { grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
    .rim-tools { flex-direction: column; align-items: stretch; }
    .rim-tools .help { flex: none; }
    .year-pick select { flex: 1; width: auto; }
}

/* ========== 5. Estado vazio em placa (sem estoque, marca desconhecida, pedidos) ========== */
.empty-plate { display: flex; align-items: flex-start; gap: 20px; max-width: 760px; padding: var(--s-5) var(--s-6); border-radius: var(--r-sm); background: var(--paper); box-shadow: var(--sh-1); }
.band-paper .empty-plate { box-shadow: none; border: 1px solid var(--line); margin-bottom: var(--s-6); }
.empty-plate-text { min-width: 0; }
.empty-plate-text > p { margin: 0 0 var(--s-2); color: var(--muted); }
.empty-plate-title { margin: 0 0 var(--s-1); color: var(--ink); font-size: var(--t-h3); font-weight: 700; line-height: 1.3; }
.empty-plate .actions { margin-top: var(--s-4); }
@media (max-width: 599px) { .empty-plate { flex-direction: column; gap: var(--s-3); padding: 20px; } .empty-plate .btn { width: 100%; } }

/* ========== 6. Tabela por ano (página do modelo) ========== */
.table-years tbody th { font-family: var(--font-display); font-stretch: 112%; font-weight: 600; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.table-years tbody th .tag { margin-left: var(--s-2); vertical-align: .1em; }
.table-years td.col-size { font-size: .9375rem; }
.size-stack { display: flex; flex-direction: column; gap: var(--s-1); }
.table .size-stack a { font-weight: 600; text-decoration-thickness: 1px; }
.table-years td.is-empty { color: var(--control-border); }
.fit-tag { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: var(--t-micro); font-weight: 600; white-space: nowrap; }
.fit-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pending-dot); }
.fit-tag.is-ok { color: var(--ok); }
.fit-tag.is-ok::before { display: none; }
.fit-tag .icon { width: 16px; height: 16px; }
@media (max-width: 599px) {
    .table-years td.is-empty { display: none; }
    .table-years tbody th { display: flex; align-items: center; justify-content: flex-start; gap: var(--s-2); margin-bottom: var(--s-2); padding-bottom: var(--s-2);
        border-bottom: 1px solid var(--line); font-size: 1.125rem; }
    .table-years tbody th .tag { margin-left: auto; }
    .table-years tbody tr.row-highlight { border-color: var(--gold-text-strong); }
    .table-years .size-stack { align-items: flex-end; }
}

/* ========== 7. Dúvidas: layout editorial 4/8 + sanfona ========== */
.faq-split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s-5) var(--s-8); align-items: start; }
.faq-split-head { position: sticky; top: var(--s-5); }
.faq-split-head h2 { margin: 0 0 var(--s-3); }
.faq-split-head .section-lead { margin-top: 0; }
.faq-split-head .action-link { margin-top: var(--s-2); }
.faq-split-body { min-width: 0; }
.faq-acc { border-radius: var(--r-sm); background: var(--paper); box-shadow: var(--sh-1); }
.band-paper .faq-acc { box-shadow: none; border: 1px solid var(--line); }
.faq-acc-item + .faq-acc-item { border-top: 1px solid var(--line); }
.faq-acc-item > summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 64px; padding: var(--s-4) var(--s-5);
    color: var(--ink); font-size: var(--t-h4); font-weight: 700; line-height: 1.4; transition: background-color var(--dur) var(--ease); }
.faq-acc-item > summary::after { content: ""; flex: none; width: 8px; height: 8px; border: solid var(--gold-text); border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg) translateY(-3px); transition: transform var(--dur) var(--ease); }
.faq-acc-item[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
.faq-acc-item > summary:hover { background: var(--zebra); }
.faq-acc-item > summary:focus-visible { outline-offset: -3px; }
.faq-acc-item:first-child > summary { border-radius: var(--r-sm) var(--r-sm) 0 0; }
.faq-acc-a { padding: 0 var(--s-5) 20px; }
.faq-acc-a p { max-width: var(--measure); margin: 0; color: var(--muted); line-height: 1.65; }
.see-also { margin-top: var(--s-6); }
.see-also-title { margin: 0 0 var(--s-3); font-family: var(--font-display); font-stretch: 112%; font-weight: 600; font-size: var(--t-eyebrow); letter-spacing: .24em;
    text-transform: uppercase; color: var(--gold-text); }
.see-also .chips { margin: 0; }
@media (max-width: 899px) {
    .faq-split { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
    .faq-split-head { position: static; }
}
@media (max-width: 759px) {
    .faq-acc-item > summary { min-height: 56px; padding: 14px var(--s-4); }
    .faq-acc-a { padding: 0 var(--s-4) var(--s-4); }
}

/* ========== 8. /pneu-para ========== */
/* O formulário continua a faixa de título: sem margem nem filete entre as duas */
.page-head:has(+ .vi-finder) { margin-bottom: 0; border-bottom: 0; }
.page-head:has(+ .vi-finder) .page-head-inner { padding-bottom: var(--s-5); }
.vi-finder { position: relative; background: var(--ink); border-bottom: 1px solid var(--gold-line); }
.vi-finder-inner { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding: 0 var(--gutter) var(--s-7); }
.vi-finder-panel { max-width: 1040px; padding: 20px var(--s-5); border: 1px solid var(--gold-line); border-radius: var(--r-lg); background: var(--graphite); box-shadow: var(--sh-float); }
.vi-finder-panel .vehicle-form { margin: 0; }
.vi-finder-panel label { color: var(--on-dark-muted); font-size: .75rem; font-weight: 500; }
.vi-finder-panel select { border-color: transparent; }
.vi-finder-panel .btn-primary { white-space: nowrap; }
.vi-finder-hint { margin: var(--s-3) 0 0; color: var(--on-dark-muted); font-size: var(--t-micro); }
.vi-finder + .band { margin-top: 0; }
.vi-models { margin-bottom: var(--s-8); }
.az-list { columns: 5 160px; column-gap: var(--s-6); margin: 0; padding: 0; list-style: none; }
.az-list li { break-inside: avoid; border-bottom: 1px solid var(--line); }
.az-list a { display: flex; align-items: center; min-height: 44px; color: var(--ink); font-size: .9375rem; font-weight: 500; text-decoration: none; }
.az-list a:hover { color: var(--gold-text); text-decoration: underline 1px; text-underline-offset: 4px; }
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 192px), 1fr)); gap: 0 var(--s-6); margin: 0; padding: 0; list-style: none; }
.brand-grid li { border-bottom: 1px solid var(--line); }
.brand-grid a { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); min-height: 52px; padding: var(--s-3) var(--s-1); color: var(--ink);
    text-decoration: none; transition: background-color var(--dur) var(--ease); }
.brand-grid-name { font-size: .9375rem; font-weight: 600; }
.brand-grid-count { flex: none; color: var(--muted); font-size: .75rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.brand-grid a:hover { background: var(--zebra); color: var(--ink); }
.brand-grid a:hover .brand-grid-name { color: var(--gold-text); }
.brand-grid a[aria-current] { box-shadow: inset 2px 0 0 var(--gold); padding-left: var(--s-3); }
.brand-grid a:focus-visible { outline-offset: -3px; }
.car-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); margin: 0; padding: 0; list-style: none; }
.car-tiles a { display: flex; align-items: center; gap: var(--s-3); height: 100%; min-height: 88px; padding: var(--s-4) 20px; border-radius: var(--r-sm); background: var(--paper);
    box-shadow: var(--sh-1); color: var(--ink); text-decoration: none; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.car-tiles a:hover { color: var(--ink); transform: translateY(-2px); box-shadow: var(--sh-2); }
.car-tile-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.car-tile-make { color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .12em; line-height: 1.3; text-transform: uppercase; }
.car-tile-name { overflow: hidden; font-size: 1rem; font-weight: 700; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.car-tile-size { flex: none; color: var(--ink); font-size: .9375rem; font-weight: 600; }
.car-tile-arrow { width: 12px; height: 12px; color: var(--gold-text); transition: transform var(--dur) var(--ease); }
.car-tiles a:hover .car-tile-arrow { transform: translateX(3px); }
@media (max-width: 1099px) { .car-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 759px) {
    .vi-finder-inner { padding-bottom: var(--s-6); }
    .vi-finder-panel { padding: var(--s-4); }
    .az-list { columns: 2; column-gap: var(--s-4); }
    .car-tiles { gap: var(--s-3); }
    .car-tiles a { flex-wrap: wrap; align-content: center; gap: var(--s-1) var(--s-2); min-height: 96px; padding: var(--s-3) var(--s-4); }
    .car-tile-text { flex-basis: 100%; }
    .car-tile-size { font-size: .875rem; }
    .car-tile-arrow { margin-left: auto; }
}

/* ========== 9. Medida: carros que usam (lista sem caixas, 12 + "Ver todos") ========== */
.car-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--s-6); margin: 0; padding: 0; list-style: none; }
.car-list li { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); min-width: 0; min-height: 44px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.car-list a { overflow: hidden; min-width: 0; color: var(--ink); font-size: .9375rem; font-weight: 500; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.car-list a:hover { color: var(--gold-text); text-decoration: underline 1px; text-underline-offset: 4px; }
.car-years { flex: none; color: var(--muted); font-family: var(--font-display); font-stretch: 112%; font-weight: 500; font-size: .875rem; font-variant-numeric: tabular-nums lining-nums; }
.car-more { margin-top: var(--s-5); }
.car-more[open] { margin-top: 0; }
.car-more[open] > summary { display: none; }
.band-flush { padding-top: 0; }
@media (max-width: 1099px) { .car-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .car-list { grid-template-columns: minmax(0, 1fr); } .car-more > summary { width: 100%; } }

/* ========== 10. Ranking (/pneus/mais-usadas) ========== */
.rank-table .rk-n { width: 5.5rem; }
.rank-table .t-rank { font-size: 1.75rem; color: var(--gold-text); }
.rank-table tr.rk-top > * { background: var(--row-highlight); }
.rank-table tr.rk-top .t-rank { color: var(--gold-text-strong); }
.rank-table .rk-size { font-size: 1.0625rem; }
.rank-table .rk-size a { font-weight: 600; }
.rank-table .rk-qty, .rank-table .rk-pct { font-family: var(--font-display); font-weight: 600; font-size: 1rem; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.rank-table .rk-share { min-width: 8rem; }
.rank-table-fit .rk-share { font-family: var(--font-display); font-weight: 600; font-variant-numeric: tabular-nums; }
.rk-pct { display: block; }
.share { display: block; width: 96px; height: 4px; margin: 6px 0 0 auto; overflow: hidden; border-radius: 2px; background: var(--line); }
.share-bar { display: block; height: 100%; border-radius: 2px; background: var(--gold); }
.rank-table .rk-cars { color: var(--muted); font-size: var(--t-small); line-height: 1.45; }
.rk-label { display: none; }
@media (max-width: 899px) {
    .rank-wrap { overflow: visible; border: 0; background: transparent; }
    .rank-table, .rank-table tbody { display: block; background: transparent; }
    .rank-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .rank-table tr { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr) auto; grid-template-areas: "n size share" "n qty qty" "n cars cars";
        align-items: baseline; gap: 2px var(--s-3); margin-bottom: var(--s-2); padding: var(--s-4); border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper); }
    .rank-table tr.rk-top { background: var(--row-highlight); border-color: var(--gold-line); }
    .rank-table tr > *, .rank-table tr.rk-top > * { display: block; padding: 0; border: 0; background: transparent; text-align: left; }
    .rank-table .rk-n { grid-area: n; width: auto; }
    .rank-table .t-rank { font-size: 1.5rem; }
    .rank-table .rk-size { grid-area: size; font-size: 1.25rem; }
    .rank-table .rk-share { grid-area: share; min-width: 0; text-align: right; }
    .rank-table .rk-qty { grid-area: qty; color: var(--muted); font-family: var(--font-text); font-weight: 500; font-size: var(--t-micro); }
    .rank-table .rk-cars { grid-area: cars; margin-top: var(--s-1); font-size: var(--t-micro); }
    .rk-label { display: inline; }
    .share { width: 72px; }
}
/* Método: sanfona com h3 no resumo e passos numerados em Saira */
.method-acc { border-radius: var(--r-sm); background: var(--paper); box-shadow: var(--sh-1); }
.method-item + .method-item { border-top: 1px solid var(--line); }
.method-item { scroll-margin-top: var(--s-4); }
.method-item > summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 72px; padding: 20px var(--s-5); }
.method-item > summary h3 { margin: 0; }
.method-item > summary::after { content: ""; flex: none; width: 8px; height: 8px; border: solid var(--gold-text); border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg) translateY(-3px); transition: transform var(--dur) var(--ease); }
.method-item[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
.method-item > summary:hover { background: var(--zebra); }
.method-item > summary:focus-visible { outline-offset: -3px; }
.method-body { max-width: calc(var(--measure) + 48px); padding: 0 var(--s-5) var(--s-5); line-height: 1.65; }
.method-steps { margin: 0 0 var(--s-4); padding: 0; list-style: none; counter-reset: passo; }
.method-steps li { position: relative; margin-bottom: var(--s-3); padding-left: var(--s-7); counter-increment: passo; }
.method-steps li::before { content: counter(passo); position: absolute; left: 0; top: -2px; font-family: var(--font-display); font-stretch: 125%; font-weight: 700;
    font-size: 1.25rem; line-height: 1.3; color: var(--gold-text); font-variant-numeric: tabular-nums; }
.method-cite { margin: var(--s-4) 0 0; padding-top: var(--s-3); border-top: 1px solid var(--line); color: var(--muted); font-size: var(--t-micro); }
.method-note { margin-top: var(--s-6); }
@media (max-width: 759px) {
    .method-item > summary { min-height: 64px; padding: var(--s-4); }
    .method-body { padding: 0 var(--s-4) var(--s-4); }
    .method-steps li { padding-left: var(--s-6); }
}

/* ========== 11. Guias e dúvidas ========== */
.guide-answer { max-width: 64ch; }
.guide-answer-text { margin: 0; color: var(--ink); font-size: clamp(1.125rem, 1rem + .6vw, 1.375rem); font-weight: 500; line-height: 1.55; text-wrap: pretty; }
.sd-band { margin-top: var(--s-section); padding-block: var(--chapter-pad); padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2));
    border-block: 1px solid var(--gold-line); }
.sd-band h2 { margin: 0 0 var(--s-6); color: var(--paper); font-size: var(--t-h2-band); }
.sd-band .eyebrow { margin-bottom: var(--s-3); }
.guide-faq, .topic-list { margin-top: var(--s-section); }
.topic-index .chips { margin: 0; }
.topic-list { margin-top: var(--s-7); }
.topic { padding-block: var(--s-6); border-top: 1px solid var(--line); scroll-margin-top: var(--s-4); }
.topic:first-child { padding-top: 0; border-top: 0; }
.topic .faq-split-head h2 { font-size: var(--t-h2-band); }
@media (max-width: 759px) { .sd-band h2 { margin-bottom: var(--s-5); } .topic { padding-block: var(--s-5); } }

/* ========== 12. Fechamento escuro ("Ainda em dúvida?") ========== */
.closing-band { margin-top: var(--s-section); padding-block: var(--s-7); padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2)); border-top: 1px solid var(--gold-line); }
.closing-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-5) var(--s-7); }
.closing-text h2 { margin: 0 0 var(--s-2); color: var(--brass); font-stretch: 118%; font-weight: 700; font-size: var(--t-h2-band); letter-spacing: .02em; }
.closing-text p { max-width: 52ch; margin: 0; color: var(--on-dark-muted); }
.closing-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); }
@media (max-width: 599px) { .closing-actions, .closing-actions .btn { width: 100%; } }

/* ========== 13. Institucionais: sobre e contato ========== */
.about-hero h1 { font-stretch: 112%; }
.about-hero .about-lead { color: var(--on-dark); font-size: var(--t-lead); font-weight: 500; line-height: 1.5; }
.about-hero .actions { margin-top: var(--s-5); }
.about-hero .editorial-media .media { border: 1px solid var(--gold-line); border-radius: var(--r-lg); }
.value-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: var(--s-5); margin: 0; padding: 0; list-style: none; }
.value-cards li { padding: var(--s-5); border-radius: var(--r-sm); background: var(--paper); box-shadow: var(--sh-1); }
.value-cards h3 { margin: var(--s-4) 0 var(--s-2); }
.value-cards p { margin: 0; color: var(--muted); font-size: .9375rem; }
.about-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: var(--s-6) var(--s-8); }
.company-data dl { display: grid; gap: var(--s-3); margin: 0; }
.company-data dl > div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: var(--s-3); padding-bottom: var(--s-3); border-bottom: 1px solid var(--line); }
.company-data dt { color: var(--muted); font-size: var(--t-micro); }
.company-data dd { margin: 0; color: var(--ink); font-size: .9375rem; }
.channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: var(--s-5); margin: 0; padding: 0; list-style: none; }
.channel { display: flex; align-items: flex-start; gap: var(--s-4); padding: var(--s-5); border-radius: var(--r-sm); background: var(--paper); box-shadow: var(--sh-1); }
.channel-body { min-width: 0; }
.channel-body h2 { margin: 0 0 var(--s-2); }
.channel-value { margin: 0 0 var(--s-1); color: var(--fg); font-size: 1.25rem; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.channel-value a { text-decoration-thickness: 1px; }
.channel-help { margin: 0; color: var(--fg-muted); font-size: var(--t-small); }
.channel-feature { grid-column: 1 / -1; align-items: center; padding: var(--s-6); box-shadow: var(--sh-2); }
.channel-feature .channel-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t b" "v b" "h b"; column-gap: var(--s-6); flex: 1; align-items: center; }
.channel-feature h2 { grid-area: t; }
.channel-feature .channel-value { grid-area: v; color: var(--paper); font-family: var(--font-display); font-stretch: 118%; font-weight: 700; font-size: var(--t-h2-band);
    letter-spacing: .02em; text-transform: uppercase; }
.channel-feature .channel-help { grid-area: h; max-width: 52ch; }
.channel-feature .btn { grid-area: b; }
.contact-more { display: grid; gap: var(--s-6) var(--s-8); margin-top: var(--s-7); }
.contact-more.has-company { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.contact-more:not(.has-company) .shortcut-list { max-width: 640px; }
.shortcut-list ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.shortcut-list a { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-height: 52px; border-bottom: 1px solid var(--line); color: var(--ink);
    font-size: .9375rem; font-weight: 600; text-decoration: none; }
.shortcut-list a .icon { width: 12px; height: 12px; color: var(--gold-text); transition: transform var(--dur) var(--ease); }
.shortcut-list a:hover { color: var(--gold-text); }
.shortcut-list a:hover .icon { transform: translateX(3px); }
.shortcut-list a:focus-visible { outline-offset: -3px; }
@media (max-width: 759px) {
    .channel-feature { flex-direction: column; align-items: flex-start; padding: var(--s-5); }
    .channel-feature .channel-body { display: block; width: 100%; }
    .channel-feature .btn { width: 100%; margin-top: var(--s-4); }
    .company-data dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* ========== 14. Entrega: frete por CEP + tabela por estado ========== */
.ship-check { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; border-radius: var(--r-sm); background: var(--paper); box-shadow: var(--sh-1); }
.ship-check-form { padding: var(--s-6); }
.ship-form label { margin-top: var(--s-3); }
.ship-form .field-help { margin-top: var(--s-2); }
.ship-check-result { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: var(--s-3); padding: var(--s-6); border-left: 1px solid var(--gold-line); }
.ship-check-result .eyebrow { margin: 0; }
.ship-quotes { width: 100%; max-width: 360px; margin: 0; padding: 0; list-style: none; }
.ship-quotes li { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); padding: var(--s-2) 0; border-bottom: 1px solid var(--carbon); }
.ship-quotes span { color: var(--on-dark-muted); font-size: var(--t-small); }
.ship-quotes strong { color: var(--paper); font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.ship-days { display: flex; align-items: center; gap: var(--s-2); margin: 0; color: var(--on-dark-muted); font-size: var(--t-micro); }
.ship-days .icon { width: 16px; height: 16px; color: var(--brass); }
.ship-none { margin: 0; color: var(--on-dark); }
.ship-placeholder { display: flex; align-items: flex-start; gap: var(--s-3); max-width: 36ch; margin: 0; color: var(--on-dark-muted); }
.ship-placeholder .icon { width: 24px; height: 24px; color: var(--brass); }
.ship-table .col-four { background: var(--ivory); }
.ship-table thead .col-four { background: var(--stone); color: var(--text); }
.ship-table tbody th { font-weight: 600; }
@media (max-width: 759px) {
    .ship-check { grid-template-columns: minmax(0, 1fr); }
    .ship-check-form, .ship-check-result { padding: 20px; }
    .ship-check-result { border-left: 0; border-top: 1px solid var(--gold-line); }
}
@media (max-width: 599px) { .ship-table .col-four { background: transparent; } .ship-table td.col-four { font-weight: 700; } }

/* ========== 15. Textos legais com índice ========== */
.legal { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
.legal-toc { padding: 20px var(--s-5); border-radius: var(--r-sm); background: var(--paper); box-shadow: var(--sh-1); }
.legal-toc .eyebrow { margin-bottom: var(--s-2); }
.legal-toc ol { margin: 0; padding: 0; list-style: none; }
.legal-toc a { display: flex; align-items: center; min-height: var(--target); padding-left: var(--s-4); border-left: 2px solid var(--line); color: var(--muted);
    font-size: var(--t-small); font-weight: 500; text-decoration: none; }
.legal-toc a:hover { border-left-color: var(--gold); color: var(--ink); }
.legal-body { max-width: var(--measure); }
.legal-body h2 { margin: var(--s-7) 0 var(--s-3); font-stretch: 118%; font-weight: 700; font-size: var(--t-h2-band); letter-spacing: .02em; scroll-margin-top: var(--s-4); }
.legal-body .alert + h2 { margin-top: var(--s-5); }
.legal-body p { line-height: 1.7; }
@media (min-width: 1000px) {
    .legal { grid-template-columns: 260px minmax(0, 1fr); gap: var(--s-8); align-items: start; }
    .legal-toc { position: sticky; top: var(--s-5); padding: 0; background: transparent; box-shadow: none; }
}

/* ========== 16. 404 ========== */
.nf-search { display: flex; align-items: center; gap: var(--s-2); max-width: 640px; min-height: 56px; margin: 0 0 var(--s-7); padding: 6px 6px 6px var(--s-5);
    border: 1px solid var(--control-border); border-radius: var(--r-pill); background: var(--paper); box-shadow: var(--sh-1);
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.nf-search:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgb(200 154 59 / .35); }
.nf-search input { flex: 1; min-width: 0; min-height: 44px; padding: 0; border: 0; background: transparent; }
.nf-search input:focus-visible { box-shadow: none; outline: none; }
.nf-search .btn { min-height: 44px; border-radius: var(--r-pill); }
.shortcut-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: var(--s-5); margin: 0; padding: 0; list-style: none; }
.shortcut-cards a { display: flex; align-items: center; gap: var(--s-4); height: 100%; padding: 20px var(--s-5); border-radius: var(--r-sm); background: var(--paper); box-shadow: var(--sh-1);
    color: var(--ink); text-decoration: none; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.shortcut-cards a:hover { color: var(--ink); transform: translateY(-2px); box-shadow: var(--sh-2); }
.sc-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sc-text strong { font-size: 1rem; line-height: 1.3; }
.sc-text span { color: var(--muted); font-size: var(--t-micro); line-height: 1.4; }
.sc-arrow { width: 12px; height: 12px; margin-left: auto; color: var(--gold-text); transition: transform var(--dur) var(--ease); }
.shortcut-cards a:hover .sc-arrow { transform: translateX(3px); }
@media (max-width: 599px) { .nf-search { padding-left: var(--s-4); } .nf-search .btn { padding-inline: var(--s-4); } .shortcut-cards { gap: var(--s-3); } }

/* ========== 17. Cartão de formulário, acompanhar pedido, entrar ========== */
.form-card { padding: var(--s-6); border-radius: var(--r-sm); background: var(--paper); box-shadow: var(--sh-1); }
.form-card-narrow { width: 100%; max-width: 560px; margin-inline: auto; }
.form-card-title { margin-bottom: var(--s-4); }
.form-card-title + .form-card-lead { margin-top: calc(-1 * var(--s-2)); }
.form-card-lead { margin: 0 0 var(--s-5); color: var(--muted); font-size: .9375rem; }
.form-card form .field:last-of-type { margin-bottom: var(--s-5); }
.form-card-foot { margin: 20px 0 0; color: var(--muted); font-size: var(--t-small); text-align: center; }
.form-card-note { display: flex; align-items: flex-start; gap: var(--s-2); margin: var(--s-5) 0 0; padding-top: var(--s-4); border-top: 1px solid var(--line); color: var(--muted);
    font-size: var(--t-micro); line-height: 1.5; }
.form-card-note .icon { width: 16px; height: 16px; margin-top: 1px; color: var(--gold-text); }
.form-card-message { text-align: center; }
.form-card-message .medal { margin: 0 auto var(--s-4); }
.form-card-message .form-card-lead { color: var(--ink); font-size: var(--t-lead); }
.form-card-message .actions { justify-content: center; }
.form-card .alert { margin-bottom: 20px; }
.error-summary ul { margin: var(--s-2) 0 0; padding-left: 20px; }
.error-summary a { color: var(--error); }
.track-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); max-width: 1040px; }
.track-layout .form-card { max-width: 520px; }
.track-steps { padding: var(--s-2) 0; }
.track-steps ol { margin: var(--s-4) 0 0; padding: 0; list-style: none; }
.track-steps li { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--s-4); padding-bottom: var(--s-5); }
.track-steps li:not(:last-child)::after { content: ""; position: absolute; left: 20px; top: 44px; bottom: var(--s-1); width: 1px; background: var(--line); }
.track-dot { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--gold-line); border-radius: 50%; background: var(--paper);
    color: var(--gold-text); font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-variant-numeric: tabular-nums; }
.track-steps li div { padding-top: var(--s-2); }
.track-steps strong { display: block; font-size: .9375rem; line-height: 1.4; }
.track-steps li span:not(.track-dot) { display: block; color: var(--muted); font-size: var(--t-micro); }
.auth-pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); max-width: 960px; margin-inline: auto; }
.auth-pair .form-card { display: flex; flex-direction: column; }
.form-card-alt > p:not([class]) { color: var(--muted); font-size: .9375rem; }
.form-card-alt .form-card-note { margin-top: auto; }
.form-card-alt .action-link { align-self: flex-start; margin-bottom: var(--s-5); }
.or-divider { display: flex; align-items: center; gap: var(--s-3); margin: var(--s-5) 0; color: var(--muted); font-family: var(--font-display); font-stretch: 112%;
    font-weight: 600; font-size: .75rem; letter-spacing: .24em; text-transform: uppercase; }
.or-divider::before, .or-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.alt-title { margin: 0 0 var(--s-1); font-weight: 700; }
@media (min-width: 900px) {
    .track-layout { grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: var(--s-8); align-items: start; margin-inline: auto; }
    .track-steps { padding-top: var(--s-6); }
}
@media (min-width: 760px) { .auth-pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 759px) { .form-card { padding: var(--s-5) 20px; } }

/* ========== 18. Senha: "Mostrar" e barra até o mínimo (d.js) ========== */
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 96px; }
.pw-toggle { position: absolute; top: 4px; right: 4px; bottom: 4px; min-width: 80px; padding: 0 var(--s-3); border: 0; border-radius: var(--r-xs); background: transparent;
    color: var(--gold-text); font: inherit; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.pw-toggle:hover { background: var(--ivory); color: var(--ink); }
.pw-toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: 0; }
.pw-meter { display: block; height: 4px; margin-top: var(--s-2); overflow: hidden; border-radius: 2px; background: var(--line); }
.pw-meter-bar { display: block; width: 100%; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease); }
  

.field + .pw-help { margin: -12px 0 20px; }

/* ========== 19. Área do cliente ========== */
.acct { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); align-items: start; }
.acct-main { min-width: 0; }
.acct-nav ul { margin: 0; padding: 0; list-style: none; }
.acct-nav a { display: flex; align-items: center; gap: var(--s-3); min-height: 48px; padding: 0 var(--s-3); color: var(--muted); font-size: .9375rem; font-weight: 600;
    text-decoration: none; transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.acct-nav a .icon { width: 20px; height: 20px; color: var(--gold-text); }
.acct-nav a:hover { color: var(--ink); }
.acct-nav a[aria-current] { box-shadow: inset 2px 0 0 var(--gold); color: var(--ink); font-weight: 700; }
.acct-nav a:focus-visible { outline-offset: -3px; }
.acct-logout { margin: var(--s-3) 0 0; padding-top: var(--s-3); border-top: 1px solid var(--line); }
.acct-logout button { display: inline-flex; align-items: center; min-height: var(--target); padding: 0 var(--s-3); border: 0; background: none; color: var(--muted); cursor: pointer;
    font: inherit; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.acct-logout button:hover { color: var(--ink); text-decoration: underline 1px; text-underline-offset: 4px; }
.acct-section { margin-bottom: var(--s-7); }
.acct-section .section-head { margin-bottom: var(--s-4); }
.acct-panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: var(--s-5); }
.acct-panel { display: flex; flex-direction: column; align-items: flex-start; padding: var(--s-5); border-radius: var(--r-sm); background: var(--paper); box-shadow: var(--sh-1); }
.acct-panel .eyebrow { margin-bottom: var(--s-3); }
.acct-panel-name { margin: 0 0 var(--s-1); font-weight: 700; }
.acct-panel-mail { margin: 0 0 var(--s-2); color: var(--muted); font-size: var(--t-small); overflow-wrap: anywhere; }
.acct-panel .action-link { margin-top: auto; }
.acct-card { margin-bottom: var(--s-5); padding: var(--s-6); border-radius: var(--r-sm); background: var(--paper); box-shadow: var(--sh-1); }
.acct-card-lead { margin: 0 0 var(--s-5); color: var(--muted); font-size: var(--t-small); }
.acct-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 var(--s-4); }
.acct-grid > div > .field, .acct-grid > .field { margin-bottom: 20px; }
.acct-readonly .label-like { margin: 0 0 6px; font-size: var(--t-label); font-weight: 600; line-height: 1.3; }
.acct-readonly-value { margin: 0; padding: var(--s-3) 0 0; font-weight: 500; overflow-wrap: anywhere; }
.acct-quiet { padding: var(--s-5) 0 0; border-top: 1px solid var(--line); }
.acct-quiet p { max-width: var(--measure); margin: 0; color: var(--muted); font-size: var(--t-small); }
.orders-list .order-code { font-family: var(--font-display); font-stretch: 112%; font-weight: 600; letter-spacing: .04em; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.orders-list .order-go { text-align: right; }
.orders-list .order-go .action-link { min-height: 0; }
@media (min-width: 600px) { .acct-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .acct-span-2 { grid-column: 1 / -1; } }
@media (min-width: 760px) {
    .acct { grid-template-columns: 232px minmax(0, 1fr); gap: var(--s-7); }
    .acct-side { position: sticky; top: var(--s-5); }
}
@media (max-width: 759px) {
    .acct-side { display: flex; align-items: center; gap: var(--s-2); margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; }
    .acct-side::-webkit-scrollbar { display: none; }
    .acct-nav ul { display: flex; gap: var(--s-2); }
    .acct-nav li { flex: none; }
    .acct-nav a { min-height: var(--target); padding: 0 var(--s-4); border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--paper); font-size: var(--t-small); white-space: nowrap; }
    .acct-nav a .icon { display: none; }
    .acct-nav a[aria-current] { border-color: var(--ink); background: var(--ink); box-shadow: none; color: var(--brass); }
    .acct-logout { flex: none; margin: 0; padding: 0; border: 0; }
    .acct-logout button { white-space: nowrap; }
    .acct-card { padding: var(--s-5) 20px; }
    .orders-list .order-go { text-align: left; }
    .orders-list .order-go .action-link { min-height: var(--target); }
}

/* ========== Movimento reduzido ========== */
@media (prefers-reduced-motion: reduce) {
    .car-tiles a:hover, .shortcut-cards a:hover { transform: none; }
}
.acct-main .empty-plate { max-width: none; }
@media (max-width: 599px) {
    .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s-4); }
    .brand-grid a { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; min-height: 56px; padding-block: var(--s-2); }
}
/* SISTEMA: linha destacada em tabela que vira cartão (≤599): o cartão inteiro fica destacado, sem a barra lateral da célula */
@media (max-width: 599px) {
    .table-stack tbody tr.row-highlight { border-color: var(--gold-text-strong); background: var(--row-highlight); }
    .table-stack tbody tr.row-highlight > * { background: transparent; box-shadow: none; }
}
