/* ==========================================================================
   TCGNorth — winkel
   Beeldtaal "Toernooi": smalle schuine hoofdletters, kobaltblauw met geel,
   hoekige vlakken met dikke zwarte randen en scheve labels.
   ========================================================================== */

:root {
  --ground: #ffffff;
  --paper: #ffffff;
  --well: #eef1f6;
  --ink: #0b1220;
  --ink-2: #2a3345;
  --muted: #5b6475;
  --rule: #d5dae4;
  --rule-2: #aab2c2;
  --accent: #1437e0;
  --accent-dark: #0d27a8;
  --yellow: #ffd60a;
  --green: #0a7a3d;
  --orange: #a85a00;
  --danger: #c2261a;

  --display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --label: 'Barlow Condensed', 'Arial Narrow', sans-serif;

  --container: 1240px;
  --header-h: 68px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 60px); }

body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--ground);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { text-wrap: balance; }
.i { flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: var(--yellow); color: var(--ink); }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
main { flex: 1; }
.muted { color: var(--muted); }
.no-scroll { overflow: hidden; }
.mono { font-family: var(--label); font-weight: 600; }
.wide { font-family: var(--display); font-weight: 800; letter-spacing: 0; text-transform: uppercase; }
/* schuine koppen: de vaart van een releasedag */
.logo-text, .hero-title, .slide-title, .section-head h2, .page-head h1, .pd-info h1, .pd-price .now, .sl-price, .order-hero h1, .auth-card h1, .points-big, .m-group summary { font-style: italic; }

/* ---------- knoppen ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 2px;
  border: 2px solid transparent;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.25;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.5; pointer-events: none; }
.btn-lg { padding: 12px 22px; font-size: 1.28rem; }
.btn-sm { padding: 5px 12px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--ink); }
.btn-ghost { background: var(--paper); border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--yellow); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #a01d13; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--display); font-weight: 700; font-size: 1.08rem; letter-spacing: 0.03em; text-transform: uppercase; color: var(--accent); border-bottom: 2px solid currentColor; transition: color 0.15s; }
.link-arrow:hover { color: var(--ink); }

/* ---------- header ---------- */

.topline {
  background: var(--ink);
  color: #fff;
  font-family: var(--label);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.topline .container { display: flex; justify-content: space-between; gap: 16px; padding-block: 7px; }
.topline a { color: #fff; }
.topline a:hover { color: var(--yellow); }

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--paper);
  border-bottom: 3px solid var(--ink);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { width: 34px; height: 34px; display: grid; place-items: center; color: var(--accent); }
.logo-mark svg { width: 30px; height: 30px; }
.logo-text { font-family: var(--display); font-weight: 800; font-size: 1.9rem; line-height: 1; text-transform: uppercase; }
.logo-text b { color: var(--accent); font-weight: 800; }

.main-nav { display: flex; align-items: center; gap: 2px; align-self: stretch; }
.nav-item { position: relative; display: flex; align-items: stretch; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border: 0;
  background: none;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.15s;
}
.nav-link:hover, .nav-item.open > .nav-link { color: var(--accent); }
.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -1px;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.2s var(--ease);
}
.nav-link.active::after, .nav-item.open > .nav-link::after { transform: scaleX(1); }
.nav-link.active::after { background: var(--accent); }
.nav-link .i { transition: transform 0.2s var(--ease); }
.nav-item.open > .nav-link .i { transform: rotate(180deg); }

/* dropdown in de vorm van een binder-index */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: min(440px, calc(100vw - 32px));
  background: var(--paper);
  border: 2px solid var(--ink);
  border-top-width: 3px;
  box-shadow: 6px 6px 0 rgba(11, 18, 32, 0.16);
  padding: 8px 0 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.16s, transform 0.16s var(--ease), visibility 0.16s;
}
.nav-item.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 20px 10px;
  font-family: var(--label);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.dropdown-head a { color: var(--muted); letter-spacing: 0.02em; text-transform: none; font-size: 0.78rem; display: inline-flex; gap: 4px; align-items: center; }
.dropdown-head a:hover { color: var(--ink); }
.index-list { list-style: none; }
.index-link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 20px;
  font-weight: 600;
  transition: background 0.12s;
}
.index-link::after { content: none; }
.index-link .leader { flex: 1; border-bottom: 1.5px dotted var(--rule-2); transform: translateY(-4px); min-width: 16px; }
.index-link .n { font-family: var(--label); font-size: 0.97rem; color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 600; }
.tabmark { width: 8px; height: 14px; background: var(--accent); transform: skewX(-12deg); align-self: center; }
.index-link:hover { background: var(--well); }
.index-link:hover .leader { border-color: var(--ink); }

/* zoeken */
.search { position: relative; margin-left: auto; display: flex; align-items: center; }
.search > .i { position: absolute; left: 12px; color: var(--muted); pointer-events: none; }
.search input {
  width: 260px;
  padding: 10px 14px 10px 38px;
  border-radius: 2px;
  border: 1.5px solid var(--rule);
  background: var(--well);
  outline: none;
  font-size: 0.92rem;
  transition: border-color 0.15s, background 0.15s, width 0.25s var(--ease);
}
.search input::placeholder { color: var(--muted); }
.search input:focus { border-color: var(--ink); background: var(--paper); width: 300px; }

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: 2px;
  border: 2px solid var(--ink);
  background: var(--paper);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.menu-toggle span { width: 18px; height: 2px; background: var(--ink); transition: transform 0.25s var(--ease), opacity 0.2s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  /* hangt aan de header vast, zodat het menu er altijd direct onder begint */
  position: absolute;
  inset: calc(100% + 3px) 0 auto;
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  z-index: 55;
  padding: 16px 16px 110px;
  overflow-y: auto;
  background: var(--paper);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.search-mobile { margin: 0 0 20px; }
.search-mobile input, .search-mobile input:focus { width: 100%; padding-block: 13px; }
.m-group { margin-bottom: 20px; }
.m-group summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0 10px;
  border-bottom: 3px solid var(--ink);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.59rem;
  cursor: pointer;
  text-transform: uppercase;
}
.m-group summary::-webkit-details-marker { display: none; }
.m-group[open] summary .i { transform: rotate(180deg); }
.m-group .index-link { padding-inline: 0; border-bottom: 1px solid var(--rule); }
.m-top { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--rule); font-weight: 700; }

/* ---------- algemene elementen ---------- */

.loader { display: grid; place-items: center; min-height: 60vh; }
.loader span { width: 36px; height: 50px; border: 2px solid var(--accent); border-radius: 2px; animation: flip 1.1s var(--ease) infinite; }
@keyframes flip { to { transform: perspective(300px) rotateY(360deg); } }

.view { animation: viewIn 0.35s var(--ease); }
@keyframes viewIn { from { opacity: 0.4; transform: translateY(6px); } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--label);
  font-size: 0.89rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.section { padding: 64px 0 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head h2 { font-family: var(--display); font-weight: 800; font-size: clamp(2.1rem, 4.2vw, 3rem); line-height: 0.95; text-transform: uppercase; }
.section-head p { color: var(--muted); margin-top: 4px; }

/* ---------- hero ---------- */

.hero { padding: 56px 0 8px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: center; }
.hero-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.81rem, 6.34vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: 0;
  margin: 16px 0 20px;
  text-transform: uppercase;
}
.hero-title em { font-style: normal; color: var(--accent); }
.lead { color: var(--ink-2); font-size: 1.1rem; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--rule-2);
  font-family: var(--label);
  font-size: 0.94rem;
  color: var(--muted);
  font-weight: 600;
}
.hero-facts b { color: var(--ink); font-weight: 600; }
.hero-slab { max-width: 400px; width: 100%; justify-self: center; transform: rotate(2.5deg); transition: transform 0.4s var(--ease); }
.hero-slab:hover { transform: rotate(0deg) translateY(-4px); }
.hero-slab .slab { box-shadow: 0 40px 60px -30px rgba(17, 20, 24, 0.45), 0 2px 0 #fff inset; }
.hero-slab .sl-name, .pd-slab .sl-name { -webkit-line-clamp: 3; min-height: 0; }
.hero-slab .sl-name { font-size: 0.95rem; }
.hero-slab .sl-price { font-size: 1.35rem; }

/* ---------- binder-tabbladen ---------- */

/* De categorieën lopen door op een volgende regel als het scherm te smal is, zodat ze altijd allemaal zichtbaar zijn */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 0 16px;
  border-bottom: 3px solid var(--ink);
}
.tab {
  flex-shrink: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 15px 6px;
  background: var(--paper);
  border: 2px solid var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
  transition: background 0.15s, color 0.15s;
}
.tab .n { font-family: var(--label); font-weight: 600; font-size: 0.92rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.tab:hover { background: var(--yellow); }
.tab.active { background: var(--accent); color: #fff; }
.tab.active .n { color: #c9d2ff; }

/* ---------- slabs (productkaarten) ---------- */

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(228px, 1fr)); gap: 20px; }

.slab {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--ink);
  border-radius: 2px;
  background: var(--paper);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.slab:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--accent); }

.slab-label { flex: 1; display: flex; flex-direction: column; gap: 5px; padding: 10px 12px 6px; }
.sl-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--label);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.sl-meta .top { color: var(--accent); white-space: nowrap; }
.sl-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.24rem;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  min-height: 3.15em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sl-price {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.8rem;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  margin-top: auto; /* prijzen op één lijn, ook bij een korte naam */
}
.sl-price s { font-family: var(--body); font-style: normal; font-weight: 400; font-size: 0.82rem; color: var(--muted); margin-right: 7px; }

/* de foto staat bovenaan de kaart, op een lichtgrijs vlak */
.slab-window {
  position: relative;
  order: -1;
  aspect-ratio: 1;
  max-width: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--well);
  border-bottom: 2px solid var(--ink);
}
.slab-window img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 16px; mix-blend-mode: multiply; transition: transform 0.35s var(--ease); }
.slab-window .art { width: 70%; height: 70%; }
.slab:hover .slab-window img { transform: scale(1.04); }

.slab-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 4px 12px 12px; font-size: 0.82rem; color: var(--muted); }

.sticker {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 1px 9px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
  transform: skewX(-8deg);
}

.slab.is-out .slab-label { color: var(--muted); }
.slab.is-out .slab-window img, .slab.is-out .slab-window .art { filter: grayscale(1); opacity: 0.5; }
.soldout-band {
  position: absolute;
  left: -30px;
  right: -30px;
  top: 46%;
  z-index: 2;
  padding: 6px 0;
  text-align: center;
  background: var(--ink);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: rotate(-8deg);
}

.stock { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; }
.stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stock-in { color: var(--green); }
.stock-low { color: var(--orange); }
.stock-out { color: var(--danger); }

/* ---------- nieuws-slider ---------- */

.news { padding-top: 28px; }
.news-frame { position: relative; overflow: hidden; }
.news-track { display: flex; transition: transform 0.7s var(--ease); touch-action: pan-y; }

.slide {
  --s-bg: var(--ink);
  --s-fg: #fff;
  --s-tag-bg: var(--yellow);
  --s-tag-fg: var(--ink);
  --s-btn-bg: var(--yellow);
  --s-btn-fg: var(--ink);
  position: relative;
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 32px;
  min-height: 420px;
  padding: 44px 56px 70px;
  overflow: hidden;
  background: var(--s-bg);
  color: var(--s-fg);
  /* schuine onderrand */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), 0 100%);
}
.theme-red { --s-bg: var(--accent); }
.theme-yellow { --s-bg: var(--yellow); --s-fg: var(--ink); --s-tag-bg: var(--ink); --s-tag-fg: var(--yellow); --s-btn-bg: var(--ink); --s-btn-fg: #fff; }
.theme-paper { --s-bg: var(--well); --s-fg: var(--ink); --s-tag-bg: var(--accent); --s-tag-fg: #fff; --s-btn-bg: var(--accent); --s-btn-fg: #fff; }

.slide-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.slide-eyebrow { padding: 2px 10px; background: var(--s-tag-bg); color: var(--s-tag-fg); font-family: var(--display); font-size: 1.1rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; transform: skewX(-8deg); }
.slide-title { font-family: var(--display); font-weight: 800; font-size: clamp(3.1rem, 7.6vw, 6rem); line-height: 0.88; text-transform: uppercase; }
.slide-text { max-width: 34em; font-size: 1.08rem; opacity: 0.94; }
.slide-btn { margin-top: 8px; background: var(--s-btn-bg); color: var(--s-btn-fg); padding: 9px 22px; font-size: 1.35rem; font-weight: 800; transform: skewX(-8deg); }
.slide-btn:hover { background: var(--s-btn-bg); transform: skewX(-8deg) translate(-2px, -2px); box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.35); }
.slide-art { display: grid; place-items: center; }
.slide-card {
  width: min(340px, 100%);
  aspect-ratio: 1;
  max-width: 100%;
  padding: 18px;
  border-radius: 2px;
  background: #fff;
  transform: rotate(3deg);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.22);
  transition: transform 0.5s var(--ease);
}
.slide:hover .slide-card { transform: rotate(0deg) scale(1.02); }
.slide-card img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }

.news-controls { display: flex; align-items: center; gap: 16px; padding-top: 14px; }
.news-dots { display: flex; gap: 6px; }
.news-dot { width: 44px; height: 24px; padding: 0; border: 0; background: none; display: grid; align-items: center; }
.news-dot span { position: relative; display: block; height: 5px; background: var(--rule-2); overflow: hidden; border-radius: 2px; }
.news-dot.active span::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: left; }
.news-frame.running .news-dot.active span::after { animation: slideFill var(--slide-ms, 6500ms) linear forwards; }
.news-dot:hover span { background: var(--muted); }
@keyframes slideFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.news-count { font-size: 0.8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.news-arrows { margin-left: auto; display: flex; gap: 6px; }
.news-arrow {
  width: 40px;
  height: 40px;
  border-radius: 2px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  background: var(--paper);
  transition: background 0.15s, color 0.15s;
}
.news-arrow:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- categoriekaarten met foto ---------- */

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.cat-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 2px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.cat-card:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--accent); }
.cat-img { position: relative; aspect-ratio: 4 / 3; max-width: 100%; display: grid; place-items: center; overflow: hidden; padding: 14px; background: var(--well); border-bottom: 2px solid var(--ink); }
.cat-img img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 14px; object-fit: contain; mix-blend-mode: multiply; transition: transform 0.35s var(--ease); }
.cat-img .art { width: 60%; height: 100%; }
.cat-card:hover .cat-img img { transform: scale(1.05); }
.cat-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; }
.cat-foot b { display: block; font-family: var(--display); font-weight: 700; font-size: 1.28rem; line-height: 1.05; text-transform: uppercase; }
.cat-foot .n { display: block; font-family: var(--label); font-size: 0.87rem; color: var(--muted); font-weight: 600; }
.cat-go { flex-shrink: 0; width: 34px; height: 34px; border-radius: 2px; display: grid; place-items: center; background: var(--accent); color: #fff; transition: background 0.15s, transform 0.2s var(--ease); }
.cat-card:hover .cat-go { background: var(--ink); transform: translateX(2px); }

@media (max-width: 900px) {
  .slide { grid-template-columns: 1fr; gap: 20px; min-height: 0; padding: 26px 22px 56px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), 0 100%); }
  .slide-art { order: -1; }
  .slide-card { width: min(220px, 70%); }
}

@media (max-width: 560px) {
  .news { padding-top: 16px; }
  .slide-title { font-size: 3.4rem; }
  .slide-text { font-size: 0.95rem; }
  .news-dot { width: 28px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cat-foot { padding: 10px; }
  .cat-foot b { font-size: 1.08rem; }
  .cat-go { width: 28px; height: 28px; }
}

/* ---------- lijstpagina's ---------- */

.page-head { padding: 36px 0 22px; }
.page-head h1 { font-family: var(--display); font-weight: 800; font-size: clamp(2.7rem, 6.2vw, 4.4rem); line-height: 0.92; text-transform: uppercase; margin-top: 12px; }
.page-head p { color: var(--ink-2); font-size: 1.05rem; max-width: 38em; margin-top: 12px; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--label); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs .sep { color: var(--rule-2); }
.crumbs [aria-current] { color: var(--ink); }

.listing { padding: 20px 0 0; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.result-count { font-family: var(--label); font-size: 0.94rem; color: var(--muted); font-weight: 600; }
.toolbar-right { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

.select {
  appearance: none;
  -webkit-appearance: none;
  padding: 9px 36px 9px 12px;
  border-radius: 2px;
  border: 1.5px solid var(--rule);
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230b1220' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;
  font-size: 0.9rem;
  font-weight: 500;
  outline: none;
  transition: border-color 0.15s;
}
.select:focus, .select:hover { border-color: var(--ink); }

.switch { display: inline-flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 500; cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch .track { position: relative; width: 38px; height: 22px; border-radius: 999px; background: var(--rule-2); transition: background 0.2s; flex-shrink: 0; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); transition: transform 0.2s var(--ease); }
.switch input:checked + .track { background: var(--ink); }
.switch input:checked + .track::after { transform: translateX(16px); }
.switch input:focus-visible + .track { outline: 2px solid var(--accent); outline-offset: 2px; }

.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 64px 20px;
  border: 1.5px dashed var(--rule-2);
  border-radius: 2px;
  color: var(--muted);
  background: var(--paper);
}
.empty > .i { color: var(--rule-2); margin-bottom: 4px; }
.empty h3 { font-family: var(--display); color: var(--ink); font-size: 1.46rem; text-transform: uppercase; }
.empty .btn { margin-top: 12px; }

/* ---------- productpagina ---------- */

.pd-wrap { padding-top: 28px; }
.pd { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 56px; align-items: start; padding: 24px 0 0; }
.pd-slab { position: sticky; top: calc(var(--header-h) + 28px); max-width: 520px; width: 100%; }
.pd-slab .slab:hover { transform: none; }
.pd-slab .slab-label, .pd-slab .slab-foot { display: none; }
.pd-slab .slab-window { border-bottom: 0; }
.pd-slab .slab-window img { padding: 30px; }
.pd-slab .sticker { font-size: 1.6rem; padding: 2px 12px; top: 14px; right: 14px; }
.pd-slab .pre-tag { font-size: 1.15rem; top: 14px; left: 14px; }

.pd-info h1 { font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 4.8vw, 3.7rem); line-height: 0.94; text-transform: uppercase; margin: 10px 0 0; }
.pd-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin: 22px 0 14px; }
.pd-price .now { font-family: var(--display); font-size: 2.93rem; font-weight: 800; letter-spacing: 0; font-variant-numeric: tabular-nums; text-transform: uppercase; }
.pd-price s { font-family: var(--label); color: var(--muted); font-weight: 600; }
.save { padding: 1px 9px; background: var(--yellow); font-family: var(--display); font-weight: 800; font-size: 1.2rem; transform: skewX(-8deg); }
.pd-stock { font-size: 0.95rem; }
.pd-desc { margin-top: 24px; color: var(--ink-2); white-space: pre-line; font-size: 1.02rem; line-height: 1.7; max-width: 36em; }

.spec-sheet { margin: 28px 0; border-top: 3px solid var(--ink); max-width: 36em; }
.spec-sheet div { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--rule); }
.spec-sheet dt { font-family: var(--label); font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.spec-sheet .leader { flex: 1; border-bottom: 1.5px dotted var(--rule-2); transform: translateY(-4px); }
.spec-sheet dd { font-weight: 600; text-align: right; }
.spec-sheet dd a { text-decoration: underline; text-underline-offset: 3px; }
.spec-sheet dd a:hover { color: var(--accent); }
.pd-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- footer ---------- */

.site-footer { margin-top: 96px; background: var(--ink); color: #c9ced6; }
.site-footer::before { content: ""; display: block; height: 5px; background: var(--yellow); }
.site-footer .logo-text b { color: var(--yellow); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-block: 52px 36px; }
.footer-grid > .footer-col:nth-child(n + 5) { grid-column: span 1; }
.site-footer .logo-text { color: #fff; }
.site-footer .logo-mark svg rect { stroke: #fff; }
.footer-brand p { margin-top: 14px; max-width: 30em; font-size: 0.92rem; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col h4 { font-family: var(--label); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: #8b93a1; font-weight: 600; margin-bottom: 4px; }
.footer-col a { color: #fff; font-size: 0.93rem; width: fit-content; }
.footer-col a:hover { color: var(--yellow); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 20px 28px; border-top: 1px solid #2a2f37; font-size: 0.78rem; color: #8b93a1; }
.disclaimer { max-width: 42em; }

/* ---------- toasts ---------- */

.toast-wrap { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 200; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 12px 12px;
  border-radius: 2px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 16px 32px -12px rgba(17, 20, 24, 0.5);
  font-size: 0.92rem;
  font-weight: 500;
  max-width: 380px;
  animation: toastIn 0.25s var(--ease);
  transition: opacity 0.25s, transform 0.25s;
}
.toast .i { padding: 3px; width: 22px; height: 22px; border-radius: 50%; }
.toast-success .i { background: var(--green); }
.toast-error .i { background: var(--danger); }
.toast.leave { opacity: 0; transform: translateY(8px); }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .search input { width: 200px; }
  .search input:focus { width: 230px; }
}

@media (max-width: 900px) {
  .main-nav, .header-inner > .search, .topline .hide-sm { display: none; }
  .menu-toggle { display: flex; }
  .hero { padding-top: 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-slab { max-width: 320px; }
  .pd { grid-template-columns: 1fr; gap: 28px; }
  .pd-slab { position: static; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  :root { --header-h: 60px; }
  .logo-text { font-size: 1.6rem; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .slab-label { padding: 8px 9px 4px; gap: 4px; }
  .sl-price { font-size: 1.5rem; white-space: normal; }
  .sl-price s { display: block; margin: 0; }
  .sl-name { font-size: 1.08rem; }
  .sl-meta { font-size: 0.78rem; }
  .slab-foot { padding: 4px 9px 9px; font-size: 0.76rem; }
  .slab-window img { padding: 8px; }
  .sticker { font-size: 1.02rem; top: 8px; right: 8px; }
  .pre-tag { font-size: 0.86rem; top: 8px; left: 8px; }
  .toolbar-right { width: 100%; justify-content: space-between; }
  .pd-price .now { font-size: 2.7rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section-head { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- categoriekiezer (mobiel, vervangt de tabbladen) ---------- */

.tab-picker { display: none; }

@media (max-width: 700px) {
  .tabs { display: none; }
  .tab-picker {
    display: block;
    margin-bottom: 12px;
    background: var(--paper);
    border: 2px solid var(--ink);
    border-radius: 2px;
    overflow: hidden;
  }
  .tab-picker summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    cursor: pointer;
    user-select: none;
  }
  .tab-picker summary::-webkit-details-marker { display: none; }
  .tab-picker summary > .i { margin-left: auto; transition: transform 0.2s var(--ease); }
  .tab-picker[open] summary > .i { transform: rotate(180deg); }
  .tp-label { font-family: var(--label); font-size: 0.83rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
  .tp-current { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
  .tab-picker .index-list { border-top: 1px solid var(--rule); padding: 4px 0; }
  .tab-picker .index-link { padding: 11px 14px; }
  .tab-picker .index-link.is-active { background: var(--well); }
  .tab-picker .index-link.is-active .n { color: var(--ink); font-weight: 600; }
  .listing { padding-top: 6px; }
}

/* ==========================================================================
   Winkelwagen, afrekenen, bestelling en account
   ========================================================================== */

/* ---------- header: account & winkelwagen ---------- */

.header-tools { display: flex; align-items: center; gap: 4px; }
.tool { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 2px; color: var(--ink); transition: background 0.15s; }
.tool:hover { background: var(--well); }
.tool-count {
  position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  display: grid; place-items: center; background: var(--accent); color: #fff; font-family: var(--label); font-size: 0.8rem; font-weight: 600;
}
.tool-dot { position: absolute; top: 9px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); border: 2px solid var(--paper); }

/* ---------- formulieren (gedeeld met het beheer) ---------- */

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 0.85rem; font-weight: 600; }
.field label small { color: var(--muted); font-weight: 400; }
.input {
  width: 100%; padding: 11px 12px; border-radius: 2px; border: 1.5px solid var(--rule); background: var(--paper);
  outline: none; font-size: 1rem; transition: border-color 0.15s;
}
.input::placeholder { color: #9aa1ad; }
.input:hover { border-color: var(--rule-2); }
.input:focus { border-color: var(--accent); }
.input.mono { font-family: var(--label); font-size: 1.09rem; font-weight: 600; }
textarea.input { resize: vertical; line-height: 1.5; }
.field .select { width: 100%; padding-block: 11px; font-size: 1rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; align-content: start; }
.span-2 { grid-column: 1 / -1; }
.form-msg { font-size: 0.86rem; min-height: 1.2em; }
.form-msg.bad, .bad { color: var(--danger); }
.form-msg.good, .good { color: var(--green); }
.small { font-size: 0.85rem; }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); font-size: 0.86rem; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--ink); }
.link-btn.center { display: block; text-align: center; margin-top: 4px; }

.notice { padding: 12px 14px; border-radius: 2px; background: var(--paper); border: 1px solid var(--rule); border-left: 4px solid var(--ink); font-size: 0.93rem; }
.notice a { text-decoration: underline; text-underline-offset: 3px; }
.notice.warn { border-left-color: var(--orange); background: #fff8ec; }

/* ---------- productkaart: winkelwagenknop ---------- */

.slab-main { flex: 1; display: flex; flex-direction: column; }
.slab-add {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 2px; border: 0;
  background: var(--accent); color: #fff; font-family: var(--display); font-size: 1.02rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; transition: background 0.15s;
}
.slab-add:hover { background: var(--ink); }
.pd-slab .slab-add { display: none; }

.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--rule-2); border-radius: 2px; background: var(--paper); }
.stepper button { width: 34px; height: 34px; display: grid; place-items: center; border: 0; background: none; color: var(--ink); }
.stepper button:hover:not(:disabled) { background: var(--well); }
.stepper button:disabled { opacity: 0.3; cursor: default; }
.stepper span { min-width: 30px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.stepper.lg button { width: 46px; height: 50px; }
.stepper.lg span { min-width: 40px; font-size: 1.1rem; }
.buy-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.buy-row .btn { flex: 1; min-width: 200px; }
.qty-hint { margin-top: 8px; font-size: 0.88rem; font-weight: 600; color: var(--orange); }
.cart-info .qty-hint, .cd-added-main .qty-hint { margin-top: 4px; font-size: 0.82rem; }
.buy-points { display: flex; align-items: center; gap: 7px; margin-top: 10px; font-size: 0.88rem; color: var(--muted); }

/* ---------- winkelwagen & afrekenen ---------- */

.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.cart-lines { list-style: none; background: var(--paper); border: 1px solid var(--rule); border-radius: 2px; overflow: hidden; }
.cart-line { display: flex; gap: 16px; padding: 16px; border-bottom: 1px solid var(--rule); align-items: flex-start; }
.cart-line:last-child { border-bottom: 0; }
.cart-thumb { width: 84px; height: 84px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid var(--rule); border-radius: 2px; background: var(--paper); overflow: hidden; }
.cart-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 5px; mix-blend-mode: multiply; }
.cart-thumb .art { width: 70%; height: 70%; }
.cart-thumb.sm { width: 48px; height: 48px; }
.cart-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cart-name { font-weight: 700; line-height: 1.3; }
.cart-name:hover { color: var(--accent); }
.cart-set { font-size: 0.76rem; color: var(--muted); }
.cart-controls { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.cart-total { font-family: var(--display); font-size: 1.28rem; white-space: nowrap; font-variant-numeric: tabular-nums; text-transform: uppercase; }

.summary { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 12px; padding: 20px; background: var(--paper); border: 2px solid var(--ink); border-radius: 2px; }
.summary h2 { font-family: var(--display); font-weight: 800; font-size: 1.4rem; text-transform: uppercase; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-variant-numeric: tabular-nums; }
.sum-row.good { color: var(--green); }
.sum-row.total { margin-top: 6px; padding-top: 12px; border-top: 2px solid var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.52rem; text-transform: uppercase; }
.sum-note { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }
.sum-note .i { vertical-align: -2px; margin-right: 5px; }
.sum-note.good { color: var(--green); }
.ship-free { font-size: 0.86rem; display: flex; flex-direction: column; gap: 6px; }
.ship-free.done { flex-direction: row; align-items: center; color: var(--green); font-weight: 600; }
.ship-bar { height: 8px; background: var(--well); overflow: hidden; }
.ship-bar span { display: block; height: 100%; background: var(--accent); }

.co-sections { display: flex; flex-direction: column; gap: 16px; }
.co-section { border: 1px solid var(--rule); border-radius: 2px; background: var(--paper); padding: 20px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.co-section legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 1.34rem; padding: 0; margin-bottom: 4px; text-transform: uppercase; }
.co-section legend + * { clear: both; }
.co-step { width: 28px; height: 28px; display: grid; place-items: center; background: var(--accent); color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.2rem; transform: skewX(-8deg); }
.choice-list { display: flex; flex-direction: column; gap: 8px; }
.choice { display: flex; align-items: flex-start; gap: 12px; padding: 13px 14px; border: 1.5px solid var(--rule); border-radius: 2px; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.choice:hover { border-color: var(--rule-2); }
.choice:has(input:checked) { border-color: var(--accent); background: var(--well); }
.choice input { margin-top: 3px; accent-color: var(--accent); width: 17px; height: 17px; }
.choice b { display: block; }
.choice small { color: var(--muted); font-size: 0.84rem; }
.co-lines { list-style: none; display: flex; flex-direction: column; }
.co-lines li { display: flex; gap: 10px; align-items: baseline; padding: 7px 0; border-bottom: 1px solid var(--rule); font-size: 0.92rem; }
.co-lines li > span:nth-child(2) { flex: 1; min-width: 0; }
.co-lines b { white-space: nowrap; font-variant-numeric: tabular-nums; }
.co-qty { font-family: var(--label); color: var(--muted); font-size: 0.97rem; font-weight: 600; }
.co-lines.big li { align-items: center; padding: 10px 0; }
.co-lines.big small { display: block; color: var(--muted); font-size: 0.78rem; }
.co-lines.big a:hover { color: var(--accent); }
.coupon-row { display: flex; gap: 8px; }
.coupon-row .input { flex: 1; min-width: 0; text-transform: uppercase; }
.points-toggle { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 2px; background: #fff8d6; border: 1px solid #f0d670; font-size: 0.9rem; cursor: pointer; }
.points-toggle input { margin-top: 3px; accent-color: var(--accent); width: 17px; height: 17px; flex-shrink: 0; }
.points-toggle .i { vertical-align: -3px; }
.loader.small { min-height: 120px; }

/* ---------- bestelpagina ---------- */

.order-page { padding-top: 32px; display: block; }
.order-hero { padding: 28px; border-radius: 2px; background: var(--paper); border: 2px solid var(--accent); display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.order-hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(2.07rem, 4.88vw, 3.17rem); letter-spacing: 0; line-height: 1.05; text-transform: uppercase; }
.order-hero p { color: var(--ink-2); max-width: 40em; }
.order-hero.status-canceled, .order-hero.status-refunded { border-color: var(--rule-2); }
.order-hero .track a { text-decoration: underline; }
.bank-box { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px 24px; width: 100%; padding: 14px 16px; background: var(--well); border-radius: 2px; }
.bank-box dt { font-family: var(--label); font-size: 0.83rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.bank-box dd { font-weight: 700; }

.order-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin: 20px 0; background: var(--paper); border: 1px solid var(--rule); border-radius: 2px; overflow: hidden; }
.order-steps li { display: flex; align-items: center; gap: 10px; padding: 14px 16px; color: var(--muted); font-weight: 600; font-size: 0.92rem; border-left: 1px solid var(--rule); }
.order-steps li:first-child { border-left: 0; }
.order-steps li span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--rule-2); font-family: var(--label); font-size: 0.89rem; flex-shrink: 0; font-weight: 600; }
.order-steps li.done { color: var(--ink); }
.order-steps li.done span { background: var(--ink); border-color: var(--ink); color: #fff; }

.order-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.order-side, .account-main, .account-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.order-card { padding: 20px; background: var(--paper); border: 1px solid var(--rule); border-radius: 2px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.order-card h2 { font-family: var(--display); font-weight: 800; font-size: 1.34rem; text-transform: uppercase; }

.status-pill { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--rule-2); background: var(--paper); font-size: 0.8rem; font-weight: 600; white-space: nowrap; }
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.st-pending::before { background: var(--orange); }
.st-paid::before { background: #2f6fed; }
.st-shipped::before { background: #7a4fd6; }
.st-completed::before { background: var(--green); }
.st-canceled::before { background: #9aa1ad; }
.st-refunded::before { background: var(--danger); }

/* ---------- inloggen & account ---------- */

.auth-wrap { display: grid; place-items: start center; padding-top: 48px; }
.auth-card { width: min(440px, 100%); padding: 30px 26px; background: var(--paper); border: 2px solid var(--ink); border-radius: 2px; display: flex; flex-direction: column; gap: 14px; }
.auth-card h1 { font-family: var(--display); font-weight: 800; font-size: 2.07rem; letter-spacing: 0; line-height: 1.05; text-transform: uppercase; }
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; font-size: 0.88rem; }
.auth-links a { text-decoration: underline; text-underline-offset: 3px; color: var(--ink-2); }
.auth-links a:hover { color: var(--accent); }

.account-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.points-card { padding: 22px; border-radius: 2px; background: var(--ink); color: #c9ced6; display: flex; flex-direction: column; gap: 6px; }
.points-card .eyebrow { color: var(--yellow); }
.points-big { font-family: var(--display); font-weight: 800; font-size: 3.66rem; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; text-transform: uppercase; }
.points-card p b { color: #fff; }
.points-log { list-style: none; }
.points-log li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 0.9rem; }
.points-log li:last-child { border-bottom: 0; }
.points-log small { display: block; color: var(--muted); font-size: 0.76rem; }
.points-log b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.order-list { list-style: none; }
.order-list a { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.order-list li:last-child a { border-bottom: 0; }
.order-list a:hover .mono { color: var(--accent); }
.ol-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ol-main small { color: var(--muted); font-size: 0.8rem; }
.ol-total { font-variant-numeric: tabular-nums; white-space: nowrap; }

@media (max-width: 900px) {
  .header-tools { margin-left: auto; }
  .menu-toggle { margin-left: 4px; }
  .cart-layout, .order-grid, .account-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .account-side { order: -1; }
}

@media (max-width: 560px) {
  .tool { width: 40px; height: 40px; }
  .slab-add span { display: none; }
  .slab-add { padding: 7px 9px; }
  .cart-line { flex-wrap: wrap; gap: 12px; }
  .cart-thumb { width: 64px; height: 64px; }
  .cart-total { width: 100%; text-align: right; }
  .co-section { padding: 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .order-hero { padding: 20px; }
  .order-steps { grid-template-columns: 1fr 1fr; }
  .order-steps li:nth-child(3) { border-left: 0; }
  .order-steps li:nth-child(n + 3) { border-top: 1px solid var(--rule); }
  .order-list a { flex-wrap: wrap; }
  .ol-total { margin-left: auto; }
  .auth-wrap { padding-top: 24px; }
}

/* Smalle schermen: logo, account, winkelwagen en menuknop moeten naast elkaar passen */
@media (max-width: 560px) {
  .header-inner { gap: 6px; }
  .logo { gap: 6px; min-width: 0; flex-shrink: 1; }
  .logo-mark { flex-shrink: 0; }
  .logo-text { font-size: 1.55rem; white-space: nowrap; }
  .header-tools { gap: 0; }
  .menu-toggle { flex-shrink: 0; margin-left: 2px; }
}
@media (max-width: 380px) {
  .logo-text { font-size: 1.4rem; }
  .tool { width: 36px; }
}

/* ---------- veldcontrole ---------- */

.field.invalid .input, .field.invalid .select { border-color: var(--danger); background-color: #fff5f4; }
.field.invalid label { color: var(--danger); }
.field-error { display: flex; gap: 6px; align-items: flex-start; color: var(--danger); font-size: 0.84rem; font-weight: 500; line-height: 1.35; }
.field-error::before { content: "!"; flex-shrink: 0; width: 16px; height: 16px; margin-top: 1px; border-radius: 50%; background: var(--danger); color: #fff; font-size: 0.7rem; font-weight: 800; display: grid; place-items: center; }
.addr-status { font-size: 0.86rem; color: var(--muted); display: flex; align-items: center; gap: 6px; min-height: 0; margin: -6px 0; }
.addr-status:empty { display: none; }
.addr-status.good { color: var(--green); font-weight: 600; }
.addr-status.warn { color: var(--orange); }
.form-sub { font-family: var(--label); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding-top: 10px; border-top: 1px solid var(--rule); }
.sum-note a { text-decoration: underline; text-underline-offset: 2px; }
.sum-note a:hover { color: var(--ink); }

/* ---------- informatiepagina's ---------- */

.info-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start; }
.info-side { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 22px; }
.info-index { display: flex; flex-direction: column; gap: 8px; }
.info-index ul { list-style: none; border-left: 2px solid var(--rule); }
.info-index a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; font-size: 0.9rem; color: var(--ink-2); line-height: 1.35; }
.info-index a:hover { color: var(--ink); border-left-color: var(--rule-2); }
.info-index a.active { color: var(--ink); font-weight: 700; border-left-color: var(--accent); }
.rich { background: var(--paper); border: 1px solid var(--rule); border-radius: 2px; padding: clamp(20px, 4vw, 44px); max-width: 780px; line-height: 1.7; color: var(--ink-2); }
.rich > :first-child { margin-top: 0; }
.rich h2 { font-family: var(--display); font-weight: 800; font-size: 1.59rem; letter-spacing: 0; line-height: 1.2; color: var(--ink); margin: 34px 0 10px; padding-top: 22px; border-top: 1px solid var(--rule); scroll-margin-top: calc(var(--header-h) + 20px); text-transform: uppercase; }
.rich h2:first-child { border-top: 0; padding-top: 0; }
.rich h3 { font-family: var(--label); font-size: 0.87rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 22px 0 6px; }
.rich p { margin: 0 0 12px; }
.rich ul { margin: 0 0 14px; padding-left: 20px; }
.rich li { margin-bottom: 6px; }
.rich li::marker { color: var(--accent); }
.rich strong { color: var(--ink); }
.rich a { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }
.rich a:hover { color: var(--accent); }

.site-footer address { font-style: normal; margin-top: 14px; font-size: 0.9rem; line-height: 1.6; }
.site-footer address a { color: #fff; }
.site-footer address a:hover, .footer-bottom a:hover { color: var(--yellow); }
.footer-bottom a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- account met menu ---------- */

.account-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; align-items: start; }
.acc-menu { position: sticky; top: calc(var(--header-h) + 20px); background: var(--paper); border: 2px solid var(--ink); border-radius: 2px; overflow: hidden; }
.acc-menu ul { list-style: none; }
.acc-menu li + li { border-top: 1px solid var(--rule); }
.acc-menu a, .acc-menu button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border: 0; background: none; font-weight: 600; font-size: 0.95rem; color: var(--ink-2); text-align: left; transition: background 0.12s, color 0.12s; }
.acc-menu a > span:first-of-type, .acc-menu button > span { flex: 1; }
.acc-menu a > .i:last-child { color: var(--rule-2); display: none; }
.acc-menu .n { font-family: var(--label); font-size: 0.87rem; color: var(--muted); font-weight: 600; }
.acc-menu a:hover, .acc-menu button:hover { background: var(--well); color: var(--ink); }
.acc-menu a.active { background: var(--accent); color: #fff; }
.acc-menu a.active .n { color: #c9d2ff; }
.acc-menu a.active > .i:first-child { color: var(--yellow); }
.acc-content { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.acc-back { display: none; align-items: center; gap: 6px; font-weight: 600; font-size: 0.9rem; color: var(--ink-2); width: fit-content; }
.acc-back.show { display: inline-flex; margin-bottom: 14px; }
.acc-back:hover { color: var(--accent); }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.card-head .link-arrow { font-size: 0.85rem; }
.points-bar { height: 6px; border-radius: 3px; background: #2a2f37; overflow: hidden; margin: 2px 0 4px; }
.points-bar span { display: block; height: 100%; border-radius: 3px; background: var(--yellow); }
.points-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: #fff; font-weight: 600; font-size: 0.9rem; width: fit-content; border-bottom: 1.5px solid var(--yellow); padding-bottom: 1px; }
.how-list { list-style: none; display: flex; flex-direction: column; }
.how-list li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 0.93rem; }
.how-list li:last-child { border-bottom: 0; }
.how-list span { color: var(--ink-2); }
.auth-form.narrow { max-width: 420px; }

@media (max-width: 900px) {
  .info-layout { grid-template-columns: 1fr; gap: 20px; }
  .info-side { position: static; flex-direction: column; }
  .info-index:first-child:not(:only-child) { display: none; } /* inhoudsopgave alleen op brede schermen */
  .account-layout { grid-template-columns: 1fr; gap: 16px; }
  .acc-menu { position: static; display: none; order: 2; }
  /* Op mobiel is het overzicht het menu; op de onderliggende pagina's is er een terugknop */
  .account-layout.is-overview .acc-menu { display: block; }
  .acc-menu a > .i:last-child { display: block; }
  .acc-menu a.active { display: none; }
  .acc-back { display: inline-flex; }
}

@media (max-width: 560px) {
  .how-list li { grid-template-columns: 1fr; gap: 2px; }
}

/* ==========================================================================
   Popup na "in winkelwagen", aanraders, zoeksuggesties en overige extra's
   ========================================================================== */

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* aantal intypen */
.stepper input { width: 44px; height: 34px; border: 0; background: none; text-align: center; font-weight: 700; font-size: 1rem; font-variant-numeric: tabular-nums; outline: none; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { background: var(--well); }
.stepper.lg input { width: 54px; height: 50px; font-size: 1.1rem; }
.stepper:focus-within { border-color: var(--ink); }

/* ---------- popup ---------- */

.cd-backdrop { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 16px; background: rgba(17, 20, 24, 0.55); animation: cdFade 0.18s ease; }
.cd-backdrop.leaving { animation: cdFadeOut 0.18s ease forwards; }
.cd { width: min(560px, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column; background: var(--paper); border: 2px solid var(--ink); border-top: 5px solid var(--accent); box-shadow: 0 40px 80px -30px rgba(11, 18, 32, 0.7); overflow: hidden; animation: cdRise 0.28s var(--ease); }
.cd-head { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--rule); }
.cd-head h2 { flex: 1; font-family: var(--display); font-weight: 800; font-size: 1.28rem; line-height: 1.2; text-transform: uppercase; }
.cd-check { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; flex-shrink: 0; animation: cdPop 0.4s var(--ease) 0.1s backwards; }
.cd-close { width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: none; border-radius: 2px; color: var(--ink-2); }
.cd-close:hover { background: var(--well); color: var(--ink); }
.cd-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 16px; overflow-y: auto; }
.cd-added { display: flex; gap: 14px; align-items: flex-start; }
.cd-added-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.cd-added-main b { line-height: 1.3; }
.cd-added .stepper { margin-top: 6px; }
.cd-line-total { font-family: var(--display); font-size: 1.34rem; white-space: nowrap; font-variant-numeric: tabular-nums; text-transform: uppercase; }
.cd-recs h3 { font-family: var(--label); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 6px; }
.cd-recs ul { list-style: none; border: 1px solid var(--rule); border-radius: 2px; overflow: hidden; }
.cd-rec { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--rule); background: var(--paper); max-height: 90px; overflow: hidden; transition: max-height 0.3s var(--ease), padding 0.3s var(--ease), opacity 0.25s, transform 0.3s var(--ease), background 0.2s; }
.cd-rec:last-child { border-bottom: 0; }
.cd-rec-main { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 0.9rem; }
.cd-rec-main a { font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cd-rec-main a:hover { color: var(--accent); }
.cd-rec-main b { font-variant-numeric: tabular-nums; }
.cd-rec .btn { flex-shrink: 0; }
.cd-rec.added { background: #edf7f1; }
.cd-rec.added .btn { border-color: var(--green); color: var(--green); opacity: 1; }
.cd-rec.leaving { opacity: 0; transform: translateX(40px); max-height: 0; padding-block: 0; border-bottom-width: 0; }
.cd-rec.entering { animation: cdEnter 0.35s var(--ease); }
.cd-foot { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; padding: 14px 18px; border-top: 1px solid var(--rule); background: var(--well); }
.cd-foot .btn { padding-inline: 12px; white-space: normal; text-align: center; line-height: 1.2; }
.cd-go-total { font-family: var(--label); font-size: 0.92rem; font-weight: 600; opacity: 0.8; white-space: nowrap; }
@keyframes cdFade { from { opacity: 0; } }
@keyframes cdFadeOut { to { opacity: 0; } }
@keyframes cdRise { from { opacity: 0; transform: translateY(16px); } }
@keyframes cdPop { from { transform: scale(0); } }
@keyframes cdEnter { from { opacity: 0; transform: translateX(-24px); max-height: 0; } to { max-height: 90px; } }

/* ---------- zoeksuggesties ---------- */

.suggest { position: absolute; top: calc(100% + 6px); right: 0; width: min(420px, calc(100vw - 32px)); z-index: 70; background: var(--paper); border: 1px solid var(--rule-2); border-top: 3px solid var(--ink); border-radius: 0 0 2px 2px; box-shadow: 0 24px 48px -20px rgba(17, 20, 24, 0.4); overflow: hidden; }
.suggest[hidden] { display: none; }
.suggest-item { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-bottom: 1px solid var(--rule); }
.suggest-item:hover, .suggest-item.active { background: var(--well); }
.suggest-main { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 0.9rem; }
.suggest-main b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest-main small { color: var(--muted); font-size: 0.76rem; }
.suggest-price { font-weight: 700; font-size: 0.9rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.suggest-all { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 12px; font-size: 0.86rem; font-weight: 600; background: var(--well); }
.suggest-all:hover { color: var(--accent); }
.suggest-empty { padding: 14px 12px; color: var(--muted); font-size: 0.9rem; }
.search-mobile .suggest { position: static; width: 100%; margin-top: 6px; box-shadow: none; }
.search-mobile { flex-wrap: wrap; }

/* ---------- productpagina ---------- */

.pd-slab { display: flex; flex-direction: column; gap: 8px; }
.pd-slab.zoomable .slab-window { cursor: zoom-in; }
.zoom-btn { align-self: center; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 0; background: none; color: var(--muted); font-size: 0.84rem; }
.zoom-btn:hover { color: var(--ink); }
.lightbox { position: fixed; inset: 0; z-index: 160; display: grid; place-items: center; padding: 20px; background: rgba(255, 255, 255, 0.97); cursor: zoom-out; animation: cdFade 0.18s ease; outline: none; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 40px); object-fit: contain; }
.lightbox .cd-close { position: absolute; top: 12px; right: 12px; border: 1.5px solid var(--rule-2); background: var(--paper); }

.trust { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: 18px; padding: 14px 16px; border: 1px solid var(--rule); border-radius: 2px; background: var(--paper); max-width: 36em; }
.trust li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--ink-2); }
.trust .i { margin-top: 2px; color: var(--ink); }
.trust a { text-decoration: underline; text-underline-offset: 3px; }
.buy-points a { text-decoration: underline; text-underline-offset: 3px; }

.stock-alert { margin-top: 18px; padding: 16px; border: 1.5px solid var(--ink); border-radius: 2px; background: var(--paper); display: flex; flex-direction: column; gap: 10px; max-width: 36em; }
.stock-alert .coupon-row .input { text-transform: none; }

.pre-tag { position: absolute; left: 10px; top: 10px; z-index: 2; padding: 1px 8px; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 700; font-size: 0.98rem; letter-spacing: 0.05em; text-transform: uppercase; transform: skewX(-8deg); }

.pay-logos { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pay-logos img { height: 24px; width: auto; border-radius: 3px; background: #fff; }
.site-footer .pay-logos { padding: 0 0 18px; }
.summary .pay-logos { justify-content: center; padding-top: 4px; }

.also { padding-top: 48px; }
.topline .dot { margin: 0 8px; opacity: 0.5; }

@media (max-width: 560px) {
  /* popup wordt een blad dat van onderen komt */
  .cd-backdrop { place-items: end stretch; padding: 0; }
  .cd { width: 100%; max-height: 92vh; border-radius: 2px 2px 0 0; animation-name: cdSheet; }
  .cd-foot { padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
  .cd-rec .btn { padding: 8px 10px; }
  .buy-row .stepper { width: 100%; justify-content: space-between; }
  .buy-row .stepper input { flex: 1; }
}
@keyframes cdSheet { from { transform: translateY(100%); } }

/* ---------- eerste weergave, toegankelijkheid en tekstblok op de homepage ---------- */

.view.no-anim { animation: none; }
#app:focus { outline: none; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 10px 14px; border-radius: 2px; background: var(--ink); color: #fff; font-weight: 600; transition: top 0.15s; }
.skip-link:focus { top: 12px; }
.about { max-width: 820px; color: var(--ink-2); }
.about h2 { font-family: var(--display); font-weight: 800; font-size: 1.52rem; letter-spacing: 0; color: var(--ink); margin-bottom: 10px; text-transform: uppercase; }
.about p { margin-bottom: 10px; line-height: 1.7; }
.about a { text-decoration: underline; text-underline-offset: 3px; }
.about a:hover { color: var(--accent); }
.notice .i { vertical-align: -3px; margin-right: 4px; }
.summary .notice { margin-bottom: 12px; font-size: 0.86rem; }

/* ---------- mobiel: koopbalk, leesbare invoervelden, grotere tikvlakken ---------- */

.buy-bar { display: none; }
.search.search-mobile input, .search.search-mobile input:focus { width: 100%; }
.search-mobile > .i { top: 15px; }
.stock-alert .coupon-row { flex-wrap: wrap; }
.stock-alert .coupon-row .input { flex: 1 1 220px; }

@media (max-width: 760px) {
  /* iOS zoomt in op velden met een kleinere letter dan 16px */
  .input, .select, .search input, .stepper input, select, textarea { font-size: 16px !important; }
  .sl-price { flex-wrap: wrap; row-gap: 0; }
  .slab-add { min-width: 44px; min-height: 40px; justify-content: center; }
  .stepper button { width: 40px; height: 40px; }
  .stepper input { height: 40px; }
  .footer-col a { padding-block: 5px; }
  .lightbox { padding: 0; }
  .lightbox img { max-height: 100vh; }

  .buy-bar:not([hidden]) {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    display: flex; align-items: center; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--paper); border-top: 2px solid var(--ink);
    box-shadow: 0 -10px 24px -18px rgba(17, 20, 24, 0.5);
    animation: buyBarIn 0.2s var(--ease);
  }
  .buy-bar-info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
  .buy-bar-info b { font-family: var(--display); font-weight: 800; font-size: 1.28rem; text-transform: uppercase; }
  .buy-bar-info span { font-size: 0.78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buy-bar .btn { flex: none; white-space: nowrap; }
  body:has(.buy-bar:not([hidden])) .site-footer { padding-bottom: 76px; }
}
@keyframes buyBarIn { from { transform: translateY(100%); } to { transform: none; } }

/* ---------- nieuwsbrief ---------- */
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; line-height: 1.4; cursor: pointer; }
.check input { margin-top: 2px; accent-color: var(--accent); width: 17px; height: 17px; flex-shrink: 0; }
.check small { color: var(--muted); }
.btn-pop { background: var(--yellow); color: var(--ink); }
.btn-pop:hover { background: #fff; }
.footer-news { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 8px 40px; align-items: center; padding-block: 36px 28px; border-bottom: 1px solid #2a2f37; }
.footer-news h3 { font-family: var(--display); font-weight: 800; font-size: 1.52rem; letter-spacing: 0; color: #fff; text-transform: uppercase; }
.footer-news-text p { margin-top: 4px; font-size: 0.92rem; }
.footer-news-field { display: flex; gap: 8px; }
.footer-news-field .input { flex: 1; min-width: 0; }
.footer-news .form-msg { grid-column: 2; min-height: 0; }
.footer-news .form-msg:empty { display: none; }
.footer-news .form-msg.good { color: #7ddc9c; }
.footer-news .form-msg.bad { color: #ff9c90; }
.footer-news + .footer-grid { padding-top: 36px; }
@media (max-width: 760px) {
  .footer-news { grid-template-columns: 1fr; padding-block: 28px 24px; }
  .footer-news .form-msg { grid-column: 1; }
}
