/* ===========================================================
   JOCAR — proposta de nova identidade digital
   Tipografia: Archivo (eixo de largura 62–125) + IBM Plex Mono
   Paleta: amarelo Jocar, grafite, papel quente
   =========================================================== */

:root {
  --y: #FFD100;          /* amarelo Jocar */
  --y-deep: #F2B705;
  --y-soft: #FFF3B8;
  --ink: #141414;        /* preto/grafite da marca */
  --ink-2: #262624;
  --ink-3: #3A3935;
  --paper: #F3F1EB;      /* fundo quente, não-branco */
  --card: #FFFFFF;
  --line: #E2DED3;
  --line-2: #CFCABD;
  --muted: #6E6A60;
  --ok: #17804F;         /* economia PIX / compatível */
  --ok-soft: #E3F3EA;
  --warn: #9A5B00;
  --warn-soft: #FFF1D6;

  --f-sans: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;

  --r-1: 4px;
  --r-2: 8px;
  --r-3: 14px;
  --wrap: 1320px;
  --pad: clamp(16px, 3vw, 32px);
  --shadow: 0 1px 0 rgba(20,20,20,.04), 0 12px 32px -16px rgba(20,20,20,.22);
}

*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink);
  background: var(--paper);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 5px var(--y); border-radius: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.mono { font-family: var(--f-mono); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Display type ---------- */
.display {
  font-stretch: 118%;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: .95;
}
.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.h-sec {
  font-stretch: 112%;
  font-weight: 800;
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: -0.015em;
  line-height: 1;
  margin: 0;
}

/* ---------- Logo (reconstrução vetorial fiel ao logo atual) ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-tiles { display: inline-flex; gap: 2px; padding: 2px; background: #000; border-radius: 3px; }
.logo-tiles span {
  width: 26px; height: 28px;
  display: grid; place-items: center;
  background: linear-gradient(#FFE34D, var(--y) 45%, var(--y-deep));
  color: #000;
  font-weight: 900;
  font-stretch: 112%;
  font-size: 21px;
  line-height: 1;
  border-radius: 2px;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.6);
}
.logo-tag { font-size: 13px; color: #CFCBBF; line-height: 1.1; }
.logo-tag b { color: var(--y); font-weight: 800; }

/* ---------- Topbar ---------- */
.topbar { background: var(--y); color: var(--ink); font-size: 13px; }
.topbar .wrap { display: flex; gap: 28px; align-items: center; height: 34px; overflow-x: auto; scrollbar-width: none; }
.topbar .wrap::-webkit-scrollbar { display: none; }
.topbar span { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.topbar b { font-weight: 700; }
.topbar .push { margin-left: auto; }
.topbar .ico { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.header { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 40; }
.header-main { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding-top: 14px; padding-bottom: 14px; }
.search { position: relative; }
.search form { display: flex; background: #fff; border-radius: var(--r-2); overflow: hidden; height: 48px; }
.search input {
  flex: 1; border: 0; outline: 0; padding: 0 16px; color: var(--ink); min-width: 0;
  font-size: 15px;
}
.search input::placeholder { color: #8b877c; }
.search button[type=submit] {
  border: 0; background: var(--y); color: var(--ink); width: 56px; display: grid; place-items: center;
}
.search button[type=submit]:hover { background: var(--y-deep); }
.search-pop {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; color: var(--ink);
  border-radius: var(--r-2); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 8px; display: none; z-index: 60;
  max-height: 70vh; overflow: auto;
}
.search-pop.open { display: block; }
.sp-label { padding: 8px 10px 4px; }
.sp-row { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--r-1); }
.sp-row:hover, .sp-row.active { background: var(--paper); }
.sp-row img { width: 44px; height: 44px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: var(--r-1); }
.sp-row .t { flex: 1; font-size: 14px; line-height: 1.25; }
.sp-row .t small { display: block; color: var(--muted); font-family: var(--f-mono); font-size: 11px; }
.sp-row .pr { font-weight: 700; white-space: nowrap; }
.sp-cat { display: inline-flex; margin: 2px 4px 8px 10px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 99px; font-size: 13px; }
.sp-cat:hover { border-color: var(--ink); }
mark { background: var(--y-soft); color: inherit; padding: 0 1px; }

.h-actions { display: flex; align-items: center; gap: 6px; }
.h-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: var(--r-2);
  border: 0; background: transparent; color: #fff; text-align: left; line-height: 1.15;
}
.h-btn:hover { background: var(--ink-2); }
.h-btn small { display: block; color: #a9a59a; font-size: 12px; }
.h-btn strong { font-size: 14px; font-weight: 600; }
.h-btn .ico { width: 24px; height: 24px; }
.garage-btn { border: 1px solid var(--ink-3); }
.garage-btn.has { border-color: var(--y); }
.garage-btn.has small { color: var(--y); }
.cart-btn { position: relative; }
.badge {
  position: absolute; top: 2px; left: 26px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--y); color: var(--ink); font-size: 11px; font-weight: 800; display: grid; place-items: center;
}
.badge:empty, .badge[data-n="0"] { display: none; }

.nav { border-top: 1px solid var(--ink-2); }
.nav .wrap { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.nav .wrap::-webkit-scrollbar { display: none; }
.nav a {
  white-space: nowrap; padding: 11px 14px; font-size: 14px; color: #DAD6CB; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a.on { color: #fff; border-bottom-color: var(--y); }
.nav a.all { color: var(--ink); background: var(--y); font-weight: 700; display: inline-flex; gap: 8px; align-items: center; border-bottom: 0; }
.nav a.all .ico { width: 16px; height: 16px; }
.nav .sep { width: 1px; background: var(--ink-3); margin: 10px 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px;
  border-radius: var(--r-2); border: 0; font-weight: 700; font-size: 15px; white-space: nowrap;
}
.btn-y { background: var(--y); color: var(--ink); }
.btn-y:hover { background: var(--y-deep); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-3); }
.btn-line { background: transparent; border: 1.5px solid var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-block { width: 100%; }
.link { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link:hover { text-decoration-thickness: 2px; }

/* ---------- Hero ---------- */
.hero { padding: 20px 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; }
.hero-finder {
  background: var(--ink); color: #fff; border-radius: var(--r-3); padding: 26px 30px 22px;
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: 0;
}
.hero-finder::after { /* malha de "tiles" do logo como textura */
  content: ""; position: absolute; right: -40px; bottom: -60px; width: 240px; height: 240px;
  background-image: linear-gradient(var(--ink-2) 2px, transparent 2px), linear-gradient(90deg, var(--ink-2) 2px, transparent 2px);
  background-size: 26px 26px; opacity: .8; transform: rotate(-8deg); pointer-events: none;
}
.hero-finder h1 { font-size: clamp(30px, 3.3vw, 46px); margin: 10px 0 0; position: relative; z-index: 1; }
.hero-finder h1 em { font-style: normal; background: var(--y); color: var(--ink); padding: 0 .12em; border-radius: 4px; }
.hero-finder p.lead { color: #CFCBBF; max-width: 460px; margin: 10px 0 0; font-size: 14.5px; position: relative; z-index: 1; }
.finder { position: relative; z-index: 1; margin-top: 18px; }
.finder-row { display: grid; grid-template-columns: 1.1fr 1.1fr .8fr auto; gap: 8px; }
.sel { position: relative; }
.sel label { position: absolute; top: 5px; left: 12px; font-size: 10px; color: var(--muted); font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .06em; pointer-events: none; }
.sel select {
  appearance: none; width: 100%; height: 48px; border: 0; border-radius: var(--r-2); background: #fff; color: var(--ink);
  padding: 17px 30px 3px 12px; font-weight: 600; font-size: 14.5px;
}
.sel select:disabled { background: #E9E6DD; color: #9d998d; }
.sel::after { content: ""; position: absolute; right: 13px; top: 20px; width: 6px; height: 6px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); pointer-events: none; }
.finder .btn { height: 48px; padding: 0 18px; }
.finder-note { display: flex; gap: 16px; margin-top: 10px; font-size: 12.5px; color: #A9A59A; flex-wrap: wrap; }
.finder-note span { display: inline-flex; gap: 6px; align-items: center; }
.finder-note .ico { width: 15px; height: 15px; color: var(--y); }

.hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; }
.promo {
  border-radius: var(--r-3); position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 34%;
  align-items: center; padding: 18px 12px 18px 24px; gap: 12px;
}
.promo-y { background: var(--y); }
.promo-w { background: var(--card); border: 1px solid var(--line); }
.promo h2 { margin: 4px 0 0; font-size: clamp(20px, 1.9vw, 27px); }
.promo p { margin: 6px 0 0; font-size: 13px; max-width: 300px; }
.promo .from { font-size: 12px; margin-top: 8px; }
.promo .from b { font-size: 18px; font-stretch: 110%; font-weight: 800; display: block; letter-spacing: -.01em; }
.promo img { mix-blend-mode: multiply; width: 100%; height: 100%; max-height: 128px; object-fit: contain; }
.promo .eyebrow { color: var(--ink); opacity: .7; font-size: 11px; }
.promo-cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; margin-top: 8px; border-bottom: 2px solid var(--ink); padding-bottom: 1px; }
.promo-cta .ico { width: 15px; height: 15px; transition: transform .2s; }
.promo:hover .promo-cta .ico { transform: translateX(3px); }

/* ---------- Trust strip ---------- */
.trust { margin-top: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.trust .wrap { display: grid; grid-template-columns: repeat(5, 1fr); }
.trust-item { padding: 18px 16px; display: flex; gap: 12px; align-items: center; border-left: 1px solid var(--line); }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item b { display: block; font-size: 20px; font-weight: 800; font-stretch: 112%; letter-spacing: -.01em; line-height: 1; }
.trust-item span { font-size: 13px; color: var(--muted); }
.trust-item .ico { width: 26px; height: 26px; }
.stars { display: inline-flex; gap: 1px; color: var(--y-deep); }
.stars svg { width: 14px; height: 14px; fill: currentColor; }

/* ---------- Sections ---------- */
.sec { padding: 56px 0 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.sec-head p { margin: 8px 0 0; color: var(--muted); }

/* Categorias por sistema */
.cats { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.cat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-2); padding: 18px 14px 14px;
  display: flex; flex-direction: column; gap: 26px; min-height: 150px; transition: border-color .15s, transform .15s;
}
.cat:hover { border-color: var(--ink); transform: translateY(-2px); }
.cat-ico { width: 46px; height: 46px; border-radius: var(--r-1); background: var(--paper); display: grid; place-items: center; transition: background .15s; }
.cat:hover .cat-ico { background: var(--y); }
.cat-ico .ico { width: 26px; height: 26px; stroke-width: 1.5; }
.cat b { font-size: 15px; font-weight: 700; line-height: 1.2; margin-top: auto; }
.cat small { font-family: var(--f-mono); font-size: 11px; color: var(--muted); }

/* Chips / tabs */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line-2); background: var(--card); padding: 7px 14px; border-radius: 99px; font-size: 14px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
}
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip .x { width: 14px; height: 14px; }

/* Rail */
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 12px) / 5); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-nav { display: flex; gap: 6px; }
.rail-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--card); display: grid; place-items: center; }
.rail-nav button:hover { border-color: var(--ink); }
.rail-nav button:disabled { opacity: .35; cursor: default; }

/* ---------- Product card ---------- */
.pcard {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-2); display: flex; flex-direction: column;
  position: relative; transition: border-color .15s, box-shadow .15s; min-width: 0; color: var(--ink);
}
.pcard:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.pcard-media { aspect-ratio: 1 / 1; padding: 18px; display: grid; place-items: center; cursor: pointer; border-bottom: 1px solid var(--line); position: relative; }
.pcard-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .25s; }
.pcard:hover .pcard-media img { transform: scale(1.04); }
.pcard-tag { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.tag { font-size: 11px; font-weight: 700; padding: 3px 7px; border-radius: 3px; letter-spacing: .01em; display: inline-flex; gap: 4px; align-items: center; }
.tag .ico { width: 12px; height: 12px; stroke-width: 2.4; }
.tag-ok { background: var(--ok-soft); color: var(--ok); }
.tag-warn { background: var(--warn-soft); color: var(--warn); }
.tag-uni { background: var(--paper); color: var(--ink-3); }
.tag-y { background: var(--y); color: var(--ink); }
.pcard-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard-brand { display: flex; justify-content: space-between; gap: 8px; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.pcard-brand b { color: var(--ink); font-weight: 600; }
.pcard-name { font-size: 14.5px; line-height: 1.3; font-weight: 500; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; cursor: pointer; }
.pcard-name:hover { text-decoration: underline; text-underline-offset: 2px; }
.pcard-specs { display: flex; gap: 4px; flex-wrap: wrap; height: 22px; overflow: hidden; }
.qv-info .pcard-specs { height: auto; overflow: visible; }
.spec { font-family: var(--f-mono); font-size: 11px; padding: 2px 6px; border: 1px solid var(--line); border-radius: 3px; color: var(--ink-3); }
.price { margin-top: auto; padding-top: 8px; }
.price-pix { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price-pix b { font-size: 22px; font-weight: 800; font-stretch: 108%; letter-spacing: -.015em; }
.price-pix span { font-size: 12px; font-weight: 600; color: var(--ok); }
.price-inst { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.pcard-foot { display: flex; gap: 8px; align-items: center; margin-top: 10px; }
.add {
  flex: 1; height: 40px; border-radius: var(--r-2); border: 1.5px solid var(--ink); background: var(--card); font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.add:hover { background: var(--y); border-color: var(--y); }
.add .ico { width: 18px; height: 18px; }
.stepper { flex: 1; display: grid; grid-template-columns: 40px 1fr 40px; height: 40px; border-radius: var(--r-2); background: var(--ink); color: #fff; overflow: hidden; }
.stepper button { border: 0; background: transparent; color: #fff; font-size: 18px; }
.stepper button:hover { background: var(--ink-3); }
.stepper span { display: grid; place-items: center; font-weight: 700; }

/* ---------- Garage personalization band ---------- */
.garage-band { background: var(--ink); color: #fff; border-radius: var(--r-3); padding: 28px; display: grid; grid-template-columns: 320px 1fr; gap: 28px; align-items: start; }
.garage-band h2 { color: #fff; }
.garage-band .eyebrow { color: var(--y); }
.garage-band p { color: #B9B5A9; margin: 10px 0 18px; }
.garage-band .rail { grid-auto-columns: calc((100% - 3 * 12px) / 4); }
.garage-band .pcard { border-color: var(--ink-2); }
.car-chip { display: inline-flex; align-items: center; gap: 10px; background: var(--ink-2); padding: 10px 14px; border-radius: var(--r-2); }
.car-chip b { color: var(--y); }
.empty-garage { border: 1.5px dashed var(--ink-3); border-radius: var(--r-2); padding: 28px; display: grid; place-items: center; text-align: center; color: #B9B5A9; min-height: 260px; }

/* ---------- Bundle ---------- */
.bundle { display: grid; grid-template-columns: 1.4fr 1fr; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-3); overflow: hidden; }
.bundle-items { display: flex; align-items: center; gap: 10px; padding: 28px; flex-wrap: wrap; }
.b-item { width: 132px; text-align: center; font-size: 12.5px; line-height: 1.25; }
.b-item .im { aspect-ratio: 1; background: var(--paper); border-radius: var(--r-2); padding: 10px; position: relative; margin-bottom: 8px; }
.b-item img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.b-item .qty { position: absolute; top: 6px; right: 6px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 3px; font-family: var(--f-mono); }
.b-plus { font-size: 22px; font-weight: 300; color: var(--muted); }
.bundle-buy { background: var(--y); padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.bundle-buy .tot { font-size: 40px; font-weight: 800; font-stretch: 112%; letter-spacing: -.02em; line-height: 1; }
.bundle-buy ul { list-style: none; padding: 0; margin: 10px 0 18px; font-size: 14px; display: grid; gap: 6px; }
.bundle-buy li { display: flex; gap: 8px; align-items: center; }
.bundle-buy li .ico { width: 16px; height: 16px; stroke-width: 2.4; }

/* ---------- Brands ---------- */
.brands { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.brand {
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); height: 84px; display: grid; place-items: center;
  font-weight: 800; font-stretch: 125%; font-size: 17px; letter-spacing: .02em; text-transform: uppercase; color: var(--ink-3); background: var(--card);
  transition: background .15s, color .15s;
}
.brand:hover { background: var(--ink); color: var(--y); }

/* ---------- Stores ---------- */
.stores { display: grid; grid-template-columns: 1fr 1.6fr; gap: 20px; }
.stores-intro { background: var(--y); border-radius: var(--r-3); padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.stores-intro h2 { font-size: clamp(30px, 3.4vw, 46px); margin: 10px 0 0; }
.stores-intro p { margin: 14px 0 0; max-width: 360px; }
.store-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.store { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-3); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.store h3 { margin: 0; font-size: 26px; font-weight: 800; font-stretch: 115%; letter-spacing: -.01em; }
.store p { margin: 0; font-size: 14px; color: var(--ink-3); }
.store .hrs { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.store .tag { align-self: flex-start; }
.store .btn { margin-top: auto; height: 40px; font-size: 14px; }

/* ---------- Newsletter / WhatsApp ---------- */
.help { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.help-card { border-radius: var(--r-3); padding: 28px; border: 1px solid var(--line); background: var(--card); display: flex; gap: 20px; align-items: center; }
.help-card .ico { width: 40px; height: 40px; stroke-width: 1.3; }
.help-card h3 { margin: 0 0 4px; font-size: 20px; font-weight: 800; font-stretch: 110%; }
.help-card p { margin: 0; color: var(--muted); font-size: 14px; }
.help-card .btn { margin-left: auto; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #CFCBBF; margin-top: 72px; padding: 56px 0 28px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 32px; }
.footer h4 { color: #fff; margin: 0 0 14px; font-size: 13px; font-family: var(--f-mono); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a:hover { color: var(--y); }
.footer .big-phone { font-size: 28px; font-weight: 800; font-stretch: 115%; color: #fff; letter-spacing: -.01em; display: block; margin: 6px 0; }
.foot-bottom { border-top: 1px solid var(--ink-2); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 24px; font-size: 12px; color: #8C887D; flex-wrap: wrap; }
.foot-bottom p { margin: 0; max-width: 760px; }
.pay { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.pay span { font-family: var(--f-mono); font-size: 11px; padding: 4px 8px; border: 1px solid var(--ink-3); border-radius: 3px; }

/* ===========================================================
   CATÁLOGO (PLP)
   =========================================================== */
.crumbs { font-size: 13px; color: var(--muted); padding: 20px 0 0; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.plp-head { padding: 10px 0 18px; display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.plp-head h1 { margin: 0; font-size: clamp(30px, 3.6vw, 48px); }
.plp-head .count { font-family: var(--f-mono); font-size: 13px; color: var(--muted); margin-top: 8px; }

.fit-bar { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: var(--r-2); background: var(--ink); color: #fff; margin-bottom: 18px; flex-wrap: wrap; }
.fit-bar .ico { color: var(--y); width: 24px; height: 24px; }
.fit-bar b { color: var(--y); }
.fit-bar .sp { margin-left: auto; display: flex; gap: 14px; align-items: center; }
.fit-bar.none { background: var(--y-soft); color: var(--ink); border: 1px solid #F1DC7A; }
.fit-bar.none .ico { color: var(--ink); }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; user-select: none; }
.switch input { appearance: none; width: 40px; height: 22px; border-radius: 11px; background: var(--ink-3); position: relative; cursor: pointer; transition: background .15s; margin: 0; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; }
.switch input:checked { background: var(--y); }
.switch input:checked::after { transform: translateX(18px); background: var(--ink); }

.plp { display: grid; grid-template-columns: 264px 1fr; gap: 28px; align-items: start; }
.facets { position: sticky; top: 130px; max-height: calc(100vh - 150px); overflow: auto; padding-right: 6px; scrollbar-width: thin; }
.facet { border-top: 1px solid var(--line-2); padding: 14px 0; }
.facet:first-child { border-top: 0; padding-top: 0; }
.facet summary { list-style: none; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 14px; cursor: pointer; }
.facet summary::-webkit-details-marker { display: none; }
.facet summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px,-2px); transition: transform .15s; }
.facet[open] summary::after { transform: rotate(-135deg); }
.facet .opts { display: grid; gap: 2px; margin-top: 10px; }
.opt { display: flex; align-items: center; gap: 10px; padding: 5px 6px; border-radius: var(--r-1); cursor: pointer; font-size: 14px; }
.opt:hover { background: rgba(20,20,20,.04); }
.opt input { appearance: none; width: 18px; height: 18px; border: 1.5px solid var(--line-2); border-radius: 3px; margin: 0; background: #fff; display: grid; place-items: center; flex: none; cursor: pointer; }
.opt input:checked { background: var(--ink); border-color: var(--ink); }
.opt input:checked::after { content: ""; width: 5px; height: 9px; border: solid var(--y); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px,-1px); }
.opt input[type=radio] { border-radius: 50%; }
.opt input[type=radio]:checked::after { width: 8px; height: 8px; border: 0; border-radius: 50%; background: var(--y); transform: none; }
.opt .n { margin-left: auto; font-family: var(--f-mono); font-size: 11px; color: var(--muted); }
.opt.dis { opacity: .4; }
.price-range { display: grid; grid-template-columns: 1fr 1fr auto; gap: 6px; margin-top: 10px; }
.price-range input { width: 100%; height: 38px; border: 1px solid var(--line-2); border-radius: var(--r-1); padding: 0 10px; background: #fff; font-size: 14px; }
.price-range button { height: 38px; width: 38px; border-radius: var(--r-1); border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; }
.facet-search { width: 100%; height: 36px; border: 1px solid var(--line-2); border-radius: var(--r-1); padding: 0 10px; margin-top: 10px; font-size: 13px; background: #fff; }

.toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.toolbar .applied { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; align-items: center; }
.applied .chip { padding: 5px 10px; font-size: 13px; background: var(--card); }
.applied .clear { font-size: 13px; font-weight: 600; margin-left: 4px; }
.sort { position: relative; }
.sort select { appearance: none; height: 40px; border: 1px solid var(--line-2); border-radius: var(--r-2); background: var(--card); padding: 0 36px 0 12px; font-size: 14px; font-weight: 600; }
.sort::after { content: ""; position: absolute; right: 14px; top: 15px; width: 6px; height: 6px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); pointer-events: none; }
.view-tg { display: flex; border: 1px solid var(--line-2); border-radius: var(--r-2); overflow: hidden; }
.view-tg button { width: 40px; height: 38px; border: 0; background: var(--card); display: grid; place-items: center; }
.view-tg button.on { background: var(--ink); color: #fff; }
.filters-btn { display: none; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.grid.list { grid-template-columns: 1fr; }
.grid.list .pcard { flex-direction: row; }
.grid.list .pcard-media { width: 200px; flex: none; border-bottom: 0; border-right: 1px solid var(--line); }
.grid.list .pcard-body { display: grid; grid-template-columns: 1fr 230px; column-gap: 24px; align-content: start; }
.grid.list .pcard-body > :not(.price):not(.pcard-foot) { grid-column: 1; }
.grid.list .price { grid-column: 2; grid-row: 1 / span 3; padding-top: 0; margin-top: 0; }
.grid.list .pcard-foot { grid-column: 2; }
.grid.list .pcard-name { -webkit-line-clamp: 3; font-size: 16px; min-height: 0; }
.no-results { grid-column: 1 / -1; background: var(--card); border: 1px dashed var(--line-2); border-radius: var(--r-3); padding: 48px; text-align: center; }
.no-results h3 { margin: 0 0 8px; font-size: 22px; font-stretch: 110%; }

/* ===========================================================
   Overlay: quick view + carrinho + garagem
   =========================================================== */
.scrim { position: fixed; inset: 0; background: rgba(15,15,14,.55); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .2s; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); z-index: 90;
  transform: translateX(100%); transition: transform .28s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column;
}
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; background: var(--ink); color: #fff; }
.drawer-head h3 { margin: 0; font-size: 20px; font-weight: 800; font-stretch: 112%; }
.x-btn { width: 38px; height: 38px; border-radius: 50%; border: 0; background: transparent; color: inherit; display: grid; place-items: center; }
.x-btn:hover { background: rgba(255,255,255,.12); }
.drawer-body { flex: 1; overflow: auto; padding: 16px 20px; }
.drawer-foot { padding: 18px 20px; background: var(--card); border-top: 1px solid var(--line); }
.ci { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ci img { width: 72px; height: 72px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: var(--r-1); padding: 6px; }
.ci .nm { font-size: 14px; line-height: 1.3; }
.ci .br { font-family: var(--f-mono); font-size: 11px; color: var(--muted); text-transform: uppercase; }
.ci .row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.ci .stepper { flex: none; width: 112px; height: 34px; grid-template-columns: 34px 1fr 34px; background: var(--card); color: var(--ink); border: 1px solid var(--line-2); }
.ci .stepper button { color: var(--ink); }
.ci .stepper button:hover { background: var(--paper); }
.sum { display: grid; gap: 6px; font-size: 14px; margin-bottom: 14px; }
.sum div { display: flex; justify-content: space-between; }
.sum .pix b { font-size: 22px; font-weight: 800; font-stretch: 108%; }
.sum .save { color: var(--ok); font-weight: 600; }
.empty-cart { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-cart .ico { width: 48px; height: 48px; stroke-width: 1.2; margin: 0 auto 12px; color: var(--ink); }

.modal {
  position: fixed; z-index: 90; left: 50%; top: 50%; transform: translate(-50%, -46%); opacity: 0; pointer-events: none;
  width: min(980px, calc(100% - 32px)); max-height: calc(100vh - 48px); overflow: auto; background: var(--card); border-radius: var(--r-3);
  transition: opacity .2s, transform .25s cubic-bezier(.2,.8,.2,1);
}
.modal.open { opacity: 1; transform: translate(-50%, -50%); pointer-events: auto; }
.modal .x-btn { position: absolute; top: 12px; right: 12px; color: var(--ink); background: var(--paper); z-index: 2; }
.qv { display: grid; grid-template-columns: 1fr 1fr; }
.qv-media { background: #fff; padding: 40px; display: grid; place-items: center; border-right: 1px solid var(--line); position: relative; }
.qv-media img { width: 100%; max-width: 380px; aspect-ratio: 1; object-fit: contain; }
.qv-info { padding: 36px 32px 28px; display: flex; flex-direction: column; gap: 14px; }
.qv-info h2 { margin: 0; font-size: 26px; line-height: 1.12; font-weight: 700; font-stretch: 105%; letter-spacing: -.01em; }
.qv-meta { display: flex; gap: 14px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; flex-wrap: wrap; }
.qv-meta b { color: var(--ink); font-weight: 600; }
.qv-price { background: var(--paper); border-radius: var(--r-2); padding: 16px 18px; }
.qv-price .price-pix b { font-size: 34px; }
.compat { border: 1px solid var(--line); border-radius: var(--r-2); overflow: hidden; }
.compat-head { padding: 12px 14px; display: flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 600; }
.compat-head.ok { background: var(--ok-soft); color: var(--ok); }
.compat-head.warn { background: var(--warn-soft); color: var(--warn); }
.compat-head.uni { background: var(--paper); }
.compat-head .ico { width: 20px; height: 20px; }
.compat table { width: 100%; border-collapse: collapse; font-size: 13px; }
.compat td { padding: 8px 14px; border-top: 1px solid var(--line); }
.compat td:last-child { text-align: right; font-family: var(--f-mono); color: var(--muted); }
.qv-buy { display: flex; gap: 10px; }
.qv-buy .stepper { flex: none; width: 128px; height: 50px; background: var(--card); color: var(--ink); border: 1.5px solid var(--ink); }
.qv-buy .stepper button { color: var(--ink); }
.qv-buy .btn { flex: 1; height: 50px; }
.qv-perks { display: grid; gap: 10px; font-size: 13.5px; }
.qv-perks div { display: flex; gap: 10px; align-items: flex-start; }
.qv-perks .ico { width: 18px; height: 18px; margin-top: 1px; }

.garage-modal { width: min(560px, calc(100% - 32px)); padding: 32px; }
.garage-modal h2 { margin: 6px 0 6px; font-size: 30px; }
.garage-modal p { color: var(--muted); margin: 0 0 20px; }
.garage-modal .finder-row { grid-template-columns: 1fr 1fr; }
.garage-modal .sel select { background: var(--paper); }
.garage-modal .sel:nth-child(3) { grid-column: 1 / -1; }
.saved-cars { margin-top: 20px; display: grid; gap: 8px; }
.saved-car { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-2); }
.saved-car.on { border-color: var(--ink); background: var(--y-soft); }
.saved-car b { flex: 1; }
.saved-car button { border: 0; background: none; font-size: 13px; font-weight: 600; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 16px 12px 14px;
  border-radius: var(--r-2); z-index: 120; display: flex; gap: 12px; align-items: center; opacity: 0; pointer-events: none; transition: all .25s; font-size: 14px; box-shadow: var(--shadow);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast img { width: 36px; height: 36px; object-fit: contain; background: #fff; border-radius: 3px; padding: 2px; }
.toast a { color: var(--y); font-weight: 700; margin-left: 6px; }

/* ===========================================================
   Responsivo
   =========================================================== */
@media (max-width: 1180px) {
  .cats { grid-template-columns: repeat(4, 1fr); }
  .rail { grid-auto-columns: calc((100% - 3 * 12px) / 4); }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .brands { grid-template-columns: repeat(4, 1fr); }
  .garage-band { grid-template-columns: 1fr; }
  .h-btn .lbl { display: none; }
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { grid-template-rows: auto; grid-template-columns: 1fr 1fr; }
  .trust .wrap { grid-template-columns: repeat(3, 1fr); }
  .trust-item:nth-child(n+4) { display: none; }
  .stores { grid-template-columns: 1fr; }
  .bundle { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .plp { grid-template-columns: 1fr; }
  .filters-btn { display: inline-flex; }
  .facets {
    position: fixed; inset: auto 0 0 0; top: auto; max-height: 82vh; background: var(--paper); z-index: 95; padding: 0 20px 20px;
    border-radius: var(--r-3) var(--r-3) 0 0; transform: translateY(100%); transition: transform .28s cubic-bezier(.2,.8,.2,1);
  }
  .facets.open { transform: none; }
  .facets-head { position: sticky; top: 0; background: var(--paper); display: flex !important; justify-content: space-between; align-items: center; padding: 16px 0; z-index: 1; }
  .facets-apply { display: block !important; position: sticky; bottom: 0; padding-top: 12px; background: var(--paper); }
  .qv { grid-template-columns: 1fr; }
  .qv-media { border-right: 0; border-bottom: 1px solid var(--line); padding: 24px; }
  .qv-media img { max-width: 240px; }
}
@media (max-width: 760px) {
  body { font-size: 14px; }
  .header-main { grid-template-columns: auto auto; gap: 12px 8px; padding-top: 10px; padding-bottom: 10px; }
  .search { grid-column: 1 / -1; order: 3; }
  .h-actions { justify-self: end; }
  .logo-tag { display: none; }
  .logo-tiles span { width: 22px; height: 24px; font-size: 18px; }
  .acc-btn { display: none !important; }
  .hero-finder { min-height: 0; }
  .finder-row { grid-template-columns: 1fr 1fr; }
  .finder-row .sel:nth-child(3) { grid-column: auto; }
  .hero-side { grid-template-columns: 1fr; }
  .promo { grid-template-columns: 1fr 34%; padding-left: 18px; }
  .trust .wrap { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { display: none; }
  .trust-item:nth-child(2) { border-left: 1px solid var(--line); }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .cat { min-height: 120px; flex-direction: row; align-items: center; gap: 12px; padding: 14px; min-height: 0; }
  .cat b { margin-top: 0; font-size: 14px; }
  .cat small { display: none; }
  .rail, .garage-band .rail { grid-auto-columns: 46%; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .grid.list .pcard { flex-direction: column; }
  .grid.list .pcard-media { width: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .grid.list .pcard-body { display: flex; }
  .brands { grid-template-columns: repeat(3, 1fr); }
  .brand { height: 64px; font-size: 13px; }
  .store-list { grid-template-columns: 1fr; }
  .help { grid-template-columns: 1fr; }
  .help-card { flex-wrap: wrap; }
  .help-card .btn { margin-left: 0; width: 100%; }
  .foot-grid { grid-template-columns: 1fr; }
  .pcard-body { padding: 10px 10px 12px; }
  .price-pix b { font-size: 18px; }
  .pcard-specs { display: none; }
  .garage-band { padding: 20px; }
  .view-tg { display: none; }
  .fit-bar .sp { margin-left: 0; }
}
.facets-head, .facets-apply { display: none; }
