/* Pit-Shop Occasions
   Zelfde merk als de webshop: Pit-Shop zwart (#121417) + Pit-Shop rood (#D7261E) als enige accent, Archivo.
   Radius: knoppen en velden 8px, kaarten 12px, chips pil.
   Z-index: kop 20, filterlade 30, skip-link 40. */

@font-face {
  font-family: "Archivo";
  src: url("/fonts/Archivo-VF.ttf") format("truetype");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --brand: #121417;
  --brand-2: #1c1f23;
  --on-brand: #f4f5f6;
  --on-brand-dim: rgba(244, 245, 246, 0.72);
  --accent: #d7261e;
  --accent-hover: #b81f18;
  --accent-tekst: #b91c1c;
  --on-accent: #ffffff;

  --bg: #f3f5f7;
  --surface: #ffffff;
  --surface-2: #eef1f4;
  --ink: #0e1a24;
  --muted: #56636f;
  --line: #e1e6eb;
  --goed: #15803d;
  --goed-bg: #e7f5ec;
  --let: #b42318;
  --let-bg: #fdecea;
  --neutraal-bg: #eef1f4;

  --plaat: #f7c600;
  --plaat-ink: #16181c;
  --eu: #1c4fa8;

  --r-sm: 8px;
  --r: 12px;
  --schaduw: 0 1px 2px rgba(18, 20, 23, 0.06), 0 12px 30px -16px rgba(18, 20, 23, 0.28);
  --font: "Archivo", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d0f12; --surface: #16191d; --surface-2: #1d2126; --ink: #eef1f4; --muted: #9aa5b1; --line: #2a2f36;
    --accent-tekst: #ff6b63; --goed: #4ade80; --goed-bg: #102a1a; --let: #ff8a80; --let-bg: #2e1513; --neutraal-bg: #1d2126;
    --schaduw: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 30px -16px rgba(0, 0, 0, 0.7);
  }
}
:root[data-theme="dark"] {
  --bg: #0d0f12; --surface: #16191d; --surface-2: #1d2126; --ink: #eef1f4; --muted: #9aa5b1; --line: #2a2f36;
  --accent-tekst: #ff6b63; --goed: #4ade80; --goed-bg: #102a1a; --let: #ff8a80; --let-bg: #2e1513; --neutraal-bg: #1d2126;
  --schaduw: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 30px -16px rgba(0, 0, 0, 0.7);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; font-stretch: 108%; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem); font-weight: 800; }
h2 { font-size: 1.3rem; font-weight: 750; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 40; background: var(--accent); color: var(--on-accent); padding: 10px 14px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 24px; } }
.smal { max-width: 560px; padding-top: 40px; padding-bottom: 64px; }
.gedimd { color: var(--muted); }
.klein { font-size: 0.85rem; }
.ph { font-size: 1.15em; line-height: 1; vertical-align: -0.15em; }

/* ---------------------------------------------------------------- Kop */
.kop { background: var(--brand); color: var(--on-brand); position: sticky; top: 0; z-index: 20; border-bottom: 3px solid var(--accent); }
.kop__rij { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.kop__logo { display: flex; align-items: baseline; gap: 10px; text-decoration: none; flex-shrink: 0; }
.kop__logo img { width: 160px; height: auto; }
.kop__sub { font-weight: 700; font-stretch: 112%; text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.08em; color: var(--accent); background: var(--on-brand); padding: 2px 6px; border-radius: 4px; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav__link { position: relative; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--r-sm); color: var(--on-brand-dim); text-decoration: none; font-weight: 600; font-size: 0.95rem; white-space: nowrap; transition: background 0.2s var(--ease), color 0.2s var(--ease); }
.nav__link:hover { background: var(--brand-2); color: var(--on-brand); }
.nav__link.is-actief { color: var(--on-brand); box-shadow: inset 0 -2px 0 var(--accent); }
.badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 0.72rem; font-weight: 700; }
.badge[hidden] { display: none; }
.kop__shop { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: var(--r-sm); color: var(--on-brand); text-decoration: none; font-weight: 600; font-size: 0.9rem; white-space: nowrap; }
.kop__shop:hover { border-color: var(--on-brand); }
@media (max-width: 960px) {
  .nav__link span:not(.badge), .kop__shop span { display: none; }
  .nav__link { padding: 10px; font-size: 1.15rem; }
  .nav__link .badge { position: absolute; top: 2px; right: 0; font-size: 0.65rem; min-width: 17px; height: 17px; }
  .kop__shop { padding: 8px 10px; }
}
@media (max-width: 420px) { .kop__logo img { width: 128px; } .kop__sub { display: none; } .kop__rij { gap: 6px; } }

/* ---------------------------------------------------------------- Knoppen, velden */
.knop { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: var(--r-sm); border: 1px solid transparent; font-weight: 700; font-size: 0.97rem; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.15s var(--ease); }
.knop:active { transform: translateY(1px); }
.knop--accent { background: var(--accent); color: var(--on-accent); }
.knop--accent:hover { background: var(--accent-hover); }
.knop--rand { background: var(--surface); border-color: var(--line); color: var(--ink); }
.knop--rand:hover { border-color: var(--ink); }
.knop--licht { background: var(--on-brand); color: var(--brand); }
.knop--licht:hover { background: #ffffff; }
.knop--breed { width: 100%; }
.knop--groot { min-height: 52px; padding: 12px 28px; font-size: 1.05rem; }
.knop--klein { min-height: 36px; padding: 6px 12px; font-size: 0.88rem; }
.knop--gevaar { color: var(--let); }
.knop[disabled] { opacity: 0.6; cursor: progress; }
.knoppen { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.knoppen form { margin: 0; }
.icoonknop { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-tekst); font-weight: 700; text-decoration: none; }
.link:hover { text-decoration: underline; }
.link--licht { color: var(--on-brand); }

.veld { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.veld > span { font-weight: 600; font-size: 0.9rem; }
.veld small { color: var(--muted); }
.veld input, .veld select, .veld textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); }
.veld textarea { resize: vertical; line-height: 1.5; }
.veld input::placeholder, .veld textarea::placeholder { color: var(--muted); opacity: 0.85; }
.veld input:focus, .veld select:focus, .veld textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(215, 38, 30, 0.25); }
.veld select:disabled { opacity: 0.55; }
.veld--breed { grid-column: 1 / -1; }
.vink { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 0.95rem; }
.vink input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }
fieldset { border: 0; padding: 0; margin: 0 0 14px; }
legend { font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; padding: 0; }
.paar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.paar legend { grid-column: 1 / -1; }
.paar .veld { margin-bottom: 0; }
.vangnet { position: absolute; left: -9999px; }

.melding { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-sm); background: var(--neutraal-bg); font-size: 0.95rem; margin: 0 0 16px; }
.melding--fout { background: var(--let-bg); color: var(--let); }
.melding--goed { background: var(--goed-bg); color: var(--goed); }
.melding[hidden] { display: none; }

/* ---------------------------------------------------------------- Kenteken */
.plaat { display: inline-flex; align-items: stretch; border: 2px solid var(--plaat-ink); border-radius: 6px; background: var(--plaat); color: var(--plaat-ink); font-weight: 800; font-stretch: 80%; overflow: hidden; line-height: 1; }
.plaat__eu { display: grid; place-items: end center; background: var(--eu); color: #fff; font-size: 0.65rem; font-weight: 700; padding: 0 5px 4px; min-width: 22px; }
.plaat__tekst { padding: 6px 10px; font-size: 1.25rem; letter-spacing: 0.04em; }
.plaat--klein .plaat__tekst { font-size: 1rem; padding: 4px 8px; }
.plaatinvoer { display: flex; align-items: stretch; border: 2px solid var(--plaat-ink); border-radius: var(--r-sm); background: var(--plaat); overflow: hidden; }
.plaatinvoer .plaat__eu { min-width: 30px; font-size: 0.75rem; padding-bottom: 6px; }
.plaatinvoer input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--plaat-ink); font-weight: 800; font-stretch: 80%; font-size: 1.7rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 8px 12px; text-align: center; }
.plaatinvoer input::placeholder { color: rgba(22, 24, 28, 0.45); }
.plaatinvoer input:focus { outline: none; }
.plaatinvoer:focus-within { box-shadow: 0 0 0 3px var(--accent); }
.plaatinvoer--groot input { font-size: 2rem; }

/* ---------------------------------------------------------------- Held (home) */
.held { background: var(--brand); color: var(--on-brand); padding: 40px 0 56px; }
.held__grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .held__grid { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 40px; padding-top: 16px; } }
.held h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.3rem); font-stretch: 115%; margin-bottom: 8px; }
.held__sub { color: var(--on-brand-dim); font-size: 1.1rem; max-width: 52ch; margin-bottom: 24px; }
.paneel { background: var(--surface); color: var(--ink); border-radius: var(--r); padding: 20px; box-shadow: var(--schaduw); }
.paneel__titel { font-size: 1rem; margin-bottom: 12px; }
.paneel__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
@media (min-width: 1100px) { .paneel__grid { grid-template-columns: repeat(3, 1fr); } }
.verkoopblok { background: var(--brand-2); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--r); padding: 24px; display: grid; gap: 14px; }
.verkoopblok h2 { font-size: 1.4rem; margin: 0; }
.verkoopblok p { color: var(--on-brand-dim); margin: 0; }
@media (min-width: 960px) { .verkoopblok { margin-top: 112px; } }

/* ---------------------------------------------------------------- Blokken */
.blok { padding-top: 40px; padding-bottom: 8px; }
.blok__kop { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.blok__titel { font-size: 1.45rem; margin-bottom: 16px; }
.merken { list-style: none; padding: 0; margin: 0; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.merken li { scroll-snap-align: start; flex-shrink: 0; }
.merken a { display: flex; align-items: baseline; gap: 8px; padding: 10px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; text-decoration: none; transition: border-color 0.2s var(--ease); }
.merken a:hover { border-color: var(--ink); }
.merken span { color: var(--muted); font-size: 0.85rem; }
.carr { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.carr a { display: grid; gap: 4px; justify-items: start; padding: 16px; background: var(--surface); border-radius: var(--r); text-decoration: none; border: 1px solid var(--line); transition: border-color 0.2s var(--ease), transform 0.2s var(--ease); }
.carr a:hover { border-color: var(--ink); transform: translateY(-2px); }
.carr .ph { font-size: 1.8rem; color: var(--accent-tekst); }
.carr span { font-weight: 700; }
.carr small { color: var(--muted); }

.band { background: var(--brand); color: var(--on-brand); margin-top: 56px; padding: 48px 0; }
.band__grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .band__grid { grid-template-columns: 1.6fr 1fr; align-items: center; } }
.stappen { list-style: none; counter-reset: s; padding: 0; margin: 0 0 24px; display: grid; gap: 16px; }
@media (min-width: 700px) { .stappen { grid-template-columns: repeat(3, 1fr); } }
.stappen li { counter-increment: s; display: grid; gap: 4px; padding-top: 14px; border-top: 2px solid var(--accent); }
.stappen li::before { content: counter(s); font-weight: 800; font-size: 1.6rem; font-stretch: 115%; color: var(--accent); }
.stappen span { color: var(--on-brand-dim); font-size: 0.95rem; }
.band__shop { background: var(--brand-2); border-radius: var(--r); padding: 24px; border: 1px solid rgba(255, 255, 255, 0.1); }
.band__shop > .ph { font-size: 2rem; color: var(--accent); margin-bottom: 10px; display: block; }
.band__shop p { color: var(--on-brand-dim); }

.leeg { text-align: center; padding: 48px 20px; background: var(--surface); border-radius: var(--r); border: 1px dashed var(--line); display: grid; justify-items: center; gap: 4px; }
.leeg > .ph { font-size: 3rem; color: var(--muted); }
.leeg p { color: var(--muted); max-width: 44ch; }

/* ---------------------------------------------------------------- Kaarten */
.kaarten { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.kaart { position: relative; background: var(--surface); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease); }
.kaart:hover { box-shadow: var(--schaduw); transform: translateY(-2px); }
.kaart__foto, .rij__foto, .mijnrij__foto { text-decoration: none; }
.merken, .galerij__duimen { scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.kaart__foto { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--surface-2); }
.kaart__foto img { width: 100%; height: 100%; object-fit: cover; }
.kaart__verkocht { position: absolute; left: 10px; bottom: 10px; background: var(--brand); color: var(--on-brand); font-weight: 700; padding: 4px 10px; border-radius: 6px; font-size: 0.85rem; }
.kaart__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.kaart__titel { margin: 0; font-size: 1.05rem; }
.kaart__titel a { text-decoration: none; }
.kaart__titel a::after { content: ""; position: absolute; inset: 0; }
.kaart__uitv { margin: 0; color: var(--muted); font-size: 0.88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kaart__plaats { margin: auto 0 0; padding-top: 8px; color: var(--muted); font-size: 0.85rem; display: flex; gap: 4px; align-items: center; }
.kaart .fav { position: absolute; top: 10px; right: 10px; z-index: 2; }
.prijs { font-weight: 800; font-size: 1.2rem; font-stretch: 105%; margin: 4px 0; font-variant-numeric: tabular-nums; }
.prijs small { font-size: 0.75rem; font-weight: 600; color: var(--muted); }
.prijs--groot { font-size: 1.45rem; margin: 0; }
.prijs--xl { font-size: 2rem; margin: 8px 0 0; }
.specs { list-style: none; padding: 0; margin: 4px 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 0.88rem; color: var(--muted); }
.specs li { display: flex; align-items: center; gap: 5px; }
.geenfoto { width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 6px; color: var(--muted); font-size: 0.85rem; background: repeating-linear-gradient(135deg, var(--surface-2) 0 12px, var(--surface) 12px 24px); }
.geenfoto .ph { font-size: 2.6rem; }

.fav { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, 0.92); color: #121417; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16); transition: transform 0.2s var(--ease); flex-shrink: 0; }
.fav:hover { transform: scale(1.08); }
.fav .ph-fill { display: none; color: var(--accent); }
.fav[aria-pressed="true"] .ph-fill { display: block; }
.fav[aria-pressed="true"] .ph:not(.ph-fill) { display: none; }

/* Resultaatrij (zoeken) */
.rijen { display: grid; gap: 12px; }
.rij { position: relative; display: grid; grid-template-columns: 1fr; background: var(--surface); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); transition: box-shadow 0.25s var(--ease); }
.rij:hover { box-shadow: var(--schaduw); }
@media (min-width: 640px) { .rij { grid-template-columns: 280px 1fr; } }
.rij__foto { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--surface-2); }
@media (min-width: 640px) { .rij__foto { aspect-ratio: auto; min-height: 200px; } }
.rij__foto img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.rij__aantal { position: absolute; left: 10px; bottom: 10px; display: flex; align-items: center; gap: 4px; background: rgba(18, 20, 23, 0.8); color: #fff; padding: 3px 8px; border-radius: 6px; font-size: 0.8rem; }
.rij__body { padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.rij__kop { display: flex; justify-content: space-between; gap: 12px; }
.rij__kop .fav { position: relative; z-index: 2; background: var(--surface-2); box-shadow: none; color: var(--ink); }
.rij__titel { font-size: 1.15rem; margin: 0; }
.rij__titel a { text-decoration: none; }
.rij__titel a::after { content: ""; position: absolute; inset: 0; }
.rij__uitv { margin: 2px 0 0; color: var(--muted); font-size: 0.92rem; }
.rij__voet { margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.rij__verkoper { margin: 0; font-size: 0.88rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; }
.rij__verkoper span { display: flex; align-items: center; gap: 4px; }

/* ---------------------------------------------------------------- Zoeken */
.zoek { padding-top: 24px; padding-bottom: 64px; }
.zoek__kop { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.zoek__kop h1 { margin: 0; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); }
.teller { color: var(--muted); font-weight: 600; font-size: 0.65em; margin-left: 6px; }
.zoek__grid { display: grid; gap: 24px; }
@media (min-width: 1000px) { .zoek__grid { grid-template-columns: 290px 1fr; align-items: start; } .zoek__filterknop { display: none; } }
.filters { background: var(--surface); border-radius: var(--r); padding: 18px; border: 1px solid var(--line); }
.filters__kop { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.filters__kop h2 { margin: 0; font-size: 1.1rem; }
@media (min-width: 1000px) { .filters { position: sticky; top: 84px; max-height: calc(100dvh - 100px); overflow-y: auto; } .filters__kop .icoonknop { display: none; } }
@media (max-width: 999px) {
  .filters { position: fixed; inset: 0 0 0 auto; width: min(400px, 100%); z-index: 30; border-radius: 0; overflow-y: auto; transform: translateX(100%); transition: transform 0.3s var(--ease); visibility: hidden; }
  .filters.is-open { transform: none; visibility: visible; box-shadow: -20px 0 60px rgba(0, 0, 0, 0.3); }
}
.zoek__balk { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-size: 0.88rem; font-weight: 600; }
.chip:hover { border-color: var(--ink); }
.chip--wis { color: var(--accent-tekst); border-color: transparent; background: transparent; }
.sorteer label { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--muted); }
.sorteer select { min-height: 40px; padding: 6px 10px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.pag { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 28px; }
.pag__nr { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 700; }
.pag__nr.is-actief { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.pag__gat { display: grid; place-items: center; min-width: 24px; color: var(--muted); }

/* ---------------------------------------------------------------- Advertentie */
.adv { padding-top: 16px; padding-bottom: 64px; }
.kruimel { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 0.88rem; color: var(--muted); margin-bottom: 14px; }
.kruimel a { text-decoration: none; }
.kruimel a:hover { text-decoration: underline; }
.adv__grid { display: grid; gap: 24px; }
@media (min-width: 1000px) { .adv__grid { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; } .adv__zij { position: sticky; top: 84px; } }
.adv__hoofd { display: grid; gap: 16px; min-width: 0; }
.adv__zij { display: grid; gap: 14px; }
.galerij { background: var(--surface); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.galerij > p { padding: 8px 14px 12px; margin: 0; }
.galerij__hoofd { position: relative; aspect-ratio: 4 / 3; background: #0d0f12; }
@media (min-width: 1000px) { .galerij__hoofd { aspect-ratio: 16 / 10; } }
.galerij__hoofd img { width: 100%; height: 100%; object-fit: contain; }
.galerij--leeg { aspect-ratio: 16 / 9; }
.galerij__pijl { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, 0.92); color: #121417; display: grid; place-items: center; cursor: pointer; font-size: 1.1rem; }
.galerij__pijl--l { left: 12px; }
.galerij__pijl--r { right: 12px; }
.galerij__teller { position: absolute; right: 12px; bottom: 12px; background: rgba(18, 20, 23, 0.8); color: #fff; padding: 3px 10px; border-radius: 6px; font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.galerij__duimen { display: flex; gap: 6px; padding: 8px; overflow-x: auto; scroll-snap-type: x mandatory; }
.galerij__duimen button { flex: 0 0 92px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; background: var(--surface-2); scroll-snap-align: start; opacity: 0.7; }
.galerij__duimen button[aria-current="true"] { border-color: var(--accent); opacity: 1; }
.galerij__duimen img { width: 100%; height: 100%; object-fit: cover; }
.sectie { background: var(--surface); border-radius: var(--r); padding: 20px; border: 1px solid var(--line); }
.sectie__kop { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.sectie__kop h2 { margin: 0; }
.kenmerken { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px 20px; margin: 0; }
.kenmerken div { display: grid; gap: 2px; }
.kenmerken dt { font-size: 0.82rem; color: var(--muted); }
.kenmerken dd { margin: 0; font-weight: 700; }
.opties { list-style: none; padding: 0; margin: 0; columns: 2 220px; column-gap: 20px; }
.opties li { display: flex; align-items: center; gap: 8px; padding: 4px 0; break-inside: avoid; }
.opties .ph { color: var(--goed); }
.omschrijving { max-width: 70ch; }
.rdw__lijst { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
@media (min-width: 700px) { .rdw__lijst { grid-template-columns: 1fr 1fr; } }
.rdw__regel { display: flex; gap: 12px; padding: 12px; border-radius: var(--r-sm); background: var(--neutraal-bg); }
.rdw__regel > .ph { font-size: 1.4rem; flex-shrink: 0; }
.rdw__regel div { display: grid; gap: 2px; }
.rdw__regel span { font-size: 0.88rem; color: var(--muted); }
.rdw__regel--goed { background: var(--goed-bg); }
.rdw__regel--goed > .ph { color: var(--goed); }
.rdw__regel--let { background: var(--let-bg); }
.rdw__regel--let > .ph { color: var(--let); }
.rdw .klein { margin: 12px 0 0; }
.koopkaart, .verkoper { background: var(--surface); border-radius: var(--r); padding: 20px; border: 1px solid var(--line); }
.adv__titel { font-size: 1.6rem; margin: 0; }
.adv__uitv { color: var(--muted); margin: 2px 0 0; }
.adv__prijsinfo { color: var(--muted); font-size: 0.88rem; margin: 0 0 10px; }
.koopkaart__acties { display: flex; gap: 10px; margin-top: 14px; }
.koopkaart__acties .fav { background: var(--surface-2); box-shadow: none; color: var(--ink); width: 44px; height: 44px; }
.verkoper h2 { display: flex; align-items: center; gap: 8px; font-size: 1.15rem; margin-bottom: 2px; }
.verkoper > .knop { margin-bottom: 10px; }
.bericht { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.bericht h3 { margin-bottom: 12px; }
.tip { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r); background: var(--goed-bg); }
.tip > .ph { font-size: 1.6rem; color: var(--goed); }
.tip p { margin: 2px 0 0; font-size: 0.9rem; }
.shopkaart { display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--brand); color: var(--on-brand); border-radius: var(--r); text-decoration: none; transition: transform 0.2s var(--ease); }
.shopkaart:hover { transform: translateY(-2px); }
.shopkaart > .ph:first-child { font-size: 1.8rem; color: var(--accent); }
.shopkaart div { display: grid; flex: 1; }
.shopkaart span { color: var(--on-brand-dim); font-size: 0.88rem; }
.melden summary { cursor: pointer; color: var(--muted); font-size: 0.9rem; display: flex; align-items: center; gap: 6px; padding: 6px 0; }
.melden form { padding-top: 10px; }

/* ---------------------------------------------------------------- Verkopen */
.verkoop { padding-top: 28px; padding-bottom: 64px; max-width: 880px; }
.verkoop__form { display: grid; gap: 16px; }
.stap { background: var(--surface); border-radius: var(--r); padding: 22px; border: 1px solid var(--line); }
.stap h2 { display: flex; align-items: center; gap: 10px; }
.stap h2 .ph { color: var(--accent-tekst); }
.kentekenrij { display: grid; gap: 12px; margin-bottom: 12px; }
@media (min-width: 560px) { .kentekenrij { grid-template-columns: minmax(0, 300px) auto; justify-content: start; } }
.formgrid { display: grid; grid-template-columns: 1fr; gap: 0 14px; }
@media (min-width: 560px) { .formgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 820px) { .formgrid { grid-template-columns: repeat(3, 1fr); } }
.optiegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 14px; margin-bottom: 14px; }
.upload { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 28px; border: 2px dashed var(--line); border-radius: var(--r); cursor: pointer; text-align: center; transition: border-color 0.2s var(--ease), background 0.2s var(--ease); }
.upload:hover, .upload.is-sleep { border-color: var(--accent); background: var(--surface-2); }
.upload input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.upload .ph { font-size: 1.8rem; color: var(--accent-tekst); }
.upload:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.fotolijst { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.fotolijst li { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-sm); overflow: hidden; background: var(--surface-2); }
.fotolijst img { width: 100%; height: 100%; object-fit: cover; }
.fotolijst li:first-child::after { content: "Hoofdfoto"; position: absolute; left: 6px; bottom: 6px; background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 2px 6px; border-radius: 4px; }
.fotolijst__acties { position: absolute; top: 6px; right: 6px; display: flex; gap: 4px; }
.fotolijst__acties button { width: 30px; height: 30px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, 0.95); color: #121417; display: grid; place-items: center; cursor: pointer; }
.verkoop__voet { display: grid; gap: 10px; justify-items: start; }

/* ---------------------------------------------------------------- Account */
.kaartform { background: var(--surface); padding: 24px; border-radius: var(--r); border: 1px solid var(--line); }
.sociaal { display: grid; gap: 10px; margin: 6px 0 4px; }
.verkoop__sociaal { max-width: 420px; margin-top: 8px; }
/* Merkknoppen volgens de richtlijnen van de diensten zelf (Google: wit met grijze rand en het gekleurde G-logo,
   donkere variant in donker thema; Facebook en LinkedIn in hun eigen blauw). Bewust buiten de Pit-Shop-stijl. */
.merkknop { display: flex; align-items: center; justify-content: center; gap: 10px; position: relative; min-height: 44px; padding: 10px 44px; border-radius: 999px; font-family: "Roboto", Arial, sans-serif; font-weight: 500; font-size: 15px; letter-spacing: 0.25px; text-decoration: none; transition: background 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.merkknop__logo { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 20px; height: 20px; }
.merkknop__logo .ph { font-size: 22px; }
.merkknop--google { background: #ffffff; color: #1f1f1f; border: 1px solid #747775; }
.merkknop--google:hover { background: #f8faff; box-shadow: 0 1px 3px rgba(60, 64, 67, 0.3); }
.merkknop--facebook { background: #1877f2; color: #ffffff; border: 1px solid #1877f2; }
.merkknop--linkedin { background: #0a66c2; color: #ffffff; border: 1px solid #0a66c2; }
.merkknop--facebook:hover, .merkknop--linkedin:hover { filter: brightness(1.08); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .merkknop--google { background: #131314; color: #e3e3e3; border-color: #8e918f; }
  :root:not([data-theme="light"]) .merkknop--google:hover { background: #1c1c1e; }
}
:root[data-theme="dark"] .merkknop--google { background: #131314; color: #e3e3e3; border-color: #8e918f; }
.sociaal__of { display: flex; align-items: center; gap: 12px; margin: 8px 0 12px; color: var(--muted); font-size: 0.88rem; }
.sociaal__of::before, .sociaal__of::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.mijn { padding-top: 28px; padding-bottom: 64px; }
.mijn h2 { margin-top: 32px; }
.mijn__kop { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.mijn__kop h1 { margin: 0; }
.mijnlijst, .berichten { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.mijnrij { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; background: var(--surface); padding: 12px; border-radius: var(--r); border: 1px solid var(--line); }
@media (min-width: 800px) { .mijnrij { grid-template-columns: 120px 1fr auto; } }
.mijnrij__foto { display: block; aspect-ratio: 4 / 3; border-radius: var(--r-sm); overflow: hidden; background: var(--surface-2); }
.mijnrij__foto img { width: 100%; height: 100%; object-fit: cover; }
.mijnrij__foto .geenfoto .ph { font-size: 1.6rem; }
.mijnrij__foto .geenfoto span { display: none; }
.mijnrij__info { display: grid; gap: 4px; min-width: 0; }
.mijnrij__info a { text-decoration: none; }
.mijnrij__info > span { color: var(--muted); font-size: 0.9rem; }
.mijnrij__acties { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
@media (min-width: 800px) { .mijnrij__acties { grid-column: auto; } }
.mijnrij__acties form { margin: 0; }
.status { font-weight: 700; }
.status--actief { color: var(--goed); }
.status--verkocht { color: var(--muted); }
.status--verborgen { color: var(--let); }
.berichtkaart { background: var(--surface); padding: 16px; border-radius: var(--r); border: 1px solid var(--line); }
.berichtkaart.is-nieuw { border-left: 4px solid var(--accent); }
.berichtkaart__kop { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; margin-bottom: 8px; }

.tekst { line-height: 1.65; }
.tekst h2 { margin-top: 28px; }
.tekst li { margin-bottom: 6px; }

/* ---------------------------------------------------------------- Voet */
.voet { background: var(--brand); color: var(--on-brand-dim); margin-top: 64px; padding: 40px 0 24px; font-size: 0.92rem; }
.band + .voet, main:has(.band:last-child) + .voet { margin-top: 0; }
.voet__grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .voet__grid { grid-template-columns: 2fr 1fr 1fr; } }
.voet__tekst { margin-top: 12px; max-width: 40ch; }
.voet h2 { color: var(--on-brand); font-size: 0.95rem; margin-bottom: 10px; }
.voet nav { display: grid; gap: 6px; align-content: start; }
.voet a { text-decoration: none; }
.voet a:hover { color: var(--on-brand); text-decoration: underline; }
.voet__onder { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.82rem; }

/* Skeleton tijdens laden (favorieten) */
.skelet { aspect-ratio: 3 / 4; border-radius: var(--r); background: linear-gradient(90deg, var(--surface-2), var(--surface), var(--surface-2)); background-size: 200% 100%; }
@media (prefers-reduced-motion: no-preference) {
  .skelet { animation: glans 1.4s linear infinite; }
  @keyframes glans { to { background-position: -200% 0; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Volledige historie (VWE) */
.historie { padding-top: 32px; padding-bottom: 64px; max-width: 960px; display: grid; gap: 20px; }
.historie__kop { display: flex; flex-wrap: wrap; gap: 16px 20px; align-items: center; }
.historie__kop h1 { margin: 0; }
.historie__kop p { margin: 4px 0 0; }
.historie__tegels { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.historie__tegel { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--goed); border-radius: var(--r); padding: 14px 16px; display: grid; gap: 2px; }
.historie__tegel span { color: var(--muted); font-size: 0.88rem; }
.historie__tegel b { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.historie__tegel--letop { border-left-color: var(--let); }
.historie__blok { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.historie__blok h2 { font-size: 1.15rem; display: flex; align-items: center; gap: 8px; }
.historie__blok h2 .ph { color: var(--accent-tekst); }
.historie__lijst { margin: 0; padding-left: 18px; display: grid; gap: 10px; }
.historie__km { display: grid; gap: 6px; margin-top: 14px; }
.historie__km input { min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font: inherit; width: 14ch; }
.tabelrol { overflow-x: auto; }
.htabel { width: 100%; border-collapse: collapse; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.htabel th, .htabel td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.htabel th { color: var(--muted); font-weight: 600; font-size: 0.85rem; background: var(--neutraal-bg); }
.htabel__letop td { color: var(--let); font-weight: 600; }
.klein { font-size: 0.85rem; }
.historie__blok h3 { font-size: 1rem; margin: 18px 0 8px; }
.historie__blok .historie__tegels { margin-bottom: 14px; }
.htabel__getal { text-align: right; white-space: nowrap; }
.htabel__totaal td { font-weight: 800; border-bottom: 0; border-top: 2px solid var(--ink); }
.historie__formulier { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.historie__veld { display: grid; gap: 4px; font-size: 0.88rem; color: var(--muted); }
.historie__veld input, .historie__veld select { min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font: inherit; min-width: 0; width: 13ch; }
.historie__veld select { width: auto; }
.historie__uitklap { border-top: 1px solid var(--line); padding: 10px 0; }
.historie__uitklap summary { cursor: pointer; font-weight: 700; padding: 4px 0; }
.historie__uitklap[open] summary { margin-bottom: 10px; }
.historie__lijst--kolommen { columns: 2 260px; column-gap: 28px; display: block; }
.historie__lijst--kolommen li { break-inside: avoid; margin-bottom: 6px; }
.historie__label { display: inline-block; font-size: 0.75rem; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: var(--neutraal-bg); color: var(--muted); }
.historie__label--goed { background: var(--goed-bg); color: var(--goed); }
.historie__staven { display: flex; align-items: flex-end; gap: 6px; height: 170px; padding-top: 18px; overflow-x: auto; }
.historie__staaf { flex: 1 0 34px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; font-size: 0.75rem; font-variant-numeric: tabular-nums; }
.historie__staaf-balk { flex: none; width: 100%; max-width: 44px; background: var(--line); border-radius: 4px 4px 0 0; }
.historie__staaf--dit .historie__staaf-balk { background: var(--accent); }
.historie__staaf--dit .historie__staaf-jaar { font-weight: 800; color: var(--ink); }
.historie__staaf-jaar, .historie__staaf-aantal { color: var(--muted); }
.historie__staaf-balk--1 { height: 11px; } .historie__staaf-balk--2 { height: 22px; } .historie__staaf-balk--3 { height: 33px; }
.historie__staaf-balk--4 { height: 44px; } .historie__staaf-balk--5 { height: 55px; } .historie__staaf-balk--6 { height: 66px; }
.historie__staaf-balk--7 { height: 77px; } .historie__staaf-balk--8 { height: 88px; } .historie__staaf-balk--9 { height: 99px; }
.historie__staaf-balk--10 { height: 110px; }
.historie__kleuren { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.historie__kleuren li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 0.9rem; }
.historie__kleur--dit { border-color: var(--accent); }
