/* ==========================================================================
   Akhram Labs, stylesheet
   Licht en klinisch. Opbouw: tokens, basis, typografie, layout, knoppen en
   badges, header en mobiel menu, secties home, catalogus, productpagina,
   formulieren, bestelling, tekstpagina's, footer, documenten, print.
   Mobile first. Mobiel menu tot en met 760px.
   ========================================================================== */

:root {
  --bg: #F6F8FB;
  --bg-2: #FFFFFF;
  --bg-3: #EDF1F6;
  --line: #D9E0E9;
  --text: #0F172A;
  --muted: #5B6675;
  --acc: #5B4BE0;
  --acc-2: #2F7BEA;
  --grad: linear-gradient(135deg, #5B4BE0 0%, #2F7BEA 100%);
  --ok: #1B8A5A;
  --warn: #B45309;
  --r: 20px;
  --r-sm: 12px;

  --cat-cosmetisch: #5B4BE0;
  --cat-onderzoek: #2F7BEA;
  --cat-cofactor: #1B8A5A;

  --head: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --max: 1180px;
  --gut: 16px;
  --sec: 64px;
  --hh: 64px;
  --sw: 32px;
  --sticky: 64px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .05);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 761px) { :root { --gut: 24px; --sec: 88px; --hh: 72px; --sticky: 122px; } }
@media (min-width: 1200px) { :root { --sticky: 72px; } }
@media (min-width: 1080px) { :root { --gut: 32px; --sec: 104px; } }

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--sticky) + 16px); }
html.menu-open { overflow: hidden; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Subtiel puntraster, vast achter alle inhoud */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(circle, #0F172A 1px, transparent 1.3px);
  background-size: 24px 24px;
  opacity: .06;
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--acc); text-underline-offset: 3px; }
a:hover { color: var(--acc-2); }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
address { font-style: normal; }
[hidden] { display: none !important; }
::selection { background: rgba(91, 75, 224, .18); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
:focus:not(:focus-visible) { outline: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--text); color: #fff; text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; color: #fff; }

/* ---------- Typografie ---------- */
h1, h2, h3, h4 {
  overflow-wrap: break-word;
  font-family: var(--head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); line-height: 1.08; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }
h1 em, h2 em, h3 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 14px;
  font: 600 .75rem/1.3 var(--body);
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--acc);
}
.lead { font-size: 1.08rem; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.mono { font-variant-numeric: tabular-nums; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: var(--sec); }
.section--white { background: var(--bg-2); border-block: 1px solid var(--line); }
.section--tight { padding-block: calc(var(--sec) * .6); }
.sec-head { max-width: 720px; margin-bottom: 36px; }
.pb { padding-bottom: var(--sec); }
.sec-head p { color: var(--muted); }
.page-head { padding-top: 40px; padding-bottom: 24px; }
.page-head h1 { max-width: 22ch; }
.page-head .lead { margin-top: 8px; }
@media (min-width: 761px) { .page-head { padding-top: 64px; padding-bottom: 32px; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; list-style: none; font-size: .875rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--acc); }

.grid-2 { display: grid; gap: 24px; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; gap: 40px; } }

/* ---------- Knoppen, badges, chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 24px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg-2); color: var(--text);
  font: 600 .95rem/1.2 var(--body);
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s;
}
.btn:hover { border-color: var(--acc); color: var(--acc); }
.btn--primary {
  border-color: transparent;
  background: var(--grad); color: #fff;
  box-shadow: 0 6px 18px rgba(91, 75, 224, .22);
}
.btn--primary:hover { color: #fff; border-color: transparent; box-shadow: 0 8px 24px rgba(47, 123, 234, .3); transform: translateY(-1px); }
.btn--ghost { background: transparent; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .875rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; box-shadow: none; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.link-btn {
  padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--acc); font: inherit; text-decoration: underline; text-underline-offset: 3px;
}
.link-btn:hover { color: var(--acc-2); }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--bg-2);
  font: 600 .72rem/1.5 var(--body); letter-spacing: .02em; color: var(--muted);
  white-space: nowrap;
}
.badge--b2b { border-color: transparent; background: var(--grad); color: #fff; letter-spacing: .06em; }
.badge--cat::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--acc)); }
.badge--cat[data-cat="cosmetisch"] { --c: var(--cat-cosmetisch); }
.badge--cat[data-cat="onderzoek"] { --c: var(--cat-onderzoek); }
.badge--cat[data-cat="cofactor"] { --c: var(--cat-cofactor); }
.badge--ok { color: var(--ok); border-color: rgba(27, 138, 90, .3); background: rgba(27, 138, 90, .06); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg-2); color: var(--text);
  font: 500 .9rem/1 var(--body); cursor: pointer;
}
.chip:hover { border-color: var(--acc); }
.chip[aria-pressed="true"] { border-color: transparent; background: var(--grad); color: #fff; }
.chip__n { font-size: .75rem; opacity: .7; }

.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}
.card--pad { padding: 24px; }
@media (min-width: 761px) { .card--pad { padding: 32px; } }

/* Vaste gebruiksmelding onder producttitel en op andere plaatsen */
.use-notice {
  display: flex; gap: 12px; align-items: flex-start;
  margin: 0 0 24px; padding: 14px 16px;
  border: 1px solid #F1D3AE; border-radius: var(--r-sm);
  background: #FFF8EF; color: #6B3A0B;
  font-size: .925rem; line-height: 1.5;
}
.use-notice svg { flex: 0 0 auto; margin-top: 2px; color: var(--warn); }
.use-notice p { margin: 0; }

.note-box {
  padding: 16px 18px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--bg-3);
  font-size: .95rem;
}
.note-box p:last-child { margin-bottom: 0; }

/* ---------- Header ---------- */
/* Wit en sticky. Bewust zonder achtergrondfilter: dat zou de header het
   containing block maken voor het vaste mobiele menu. */
.site-header {
  position: sticky; top: var(--sw); z-index: 50;
  height: var(--hh);
  background: #FFFFFF;
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; gap: 12px; height: 100%; }
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  margin-right: auto; color: var(--text); text-decoration: none; white-space: nowrap;
}
.logo:hover { color: var(--text); }
.logo__mark { flex: 0 0 auto; width: 34px; height: 34px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name { font: 700 1.1rem/1.05 var(--head); letter-spacing: -.01em; }
.logo__sub { font: 500 .68rem/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.logo .badge--b2b { padding: 2px 7px; font-size: .62rem; }
@media (max-width: 479px) { .logo__badge { display: none; } }

.header-actions { display: flex; align-items: center; gap: 8px; }
.account { display: none; align-items: center; gap: 10px; font-size: .875rem; white-space: nowrap; }
.account a { color: var(--text); font-weight: 500; text-decoration: none; }
.account a:hover { color: var(--acc); }
.account__name { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.account__name::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
@media (min-width: 561px) { .account { display: flex; } }
@media (max-width: 679px) { .account.is-in { display: none; } }

.order-btn {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg-2); color: var(--text);
  font: 600 .85rem/1 var(--body); text-decoration: none; white-space: nowrap;
}
.order-btn:hover { border-color: var(--acc); color: var(--acc); }
.order-btn svg { flex: 0 0 auto; }
.order-btn.has-items { border-color: var(--acc); background: rgba(91, 75, 224, .06); color: var(--acc); }
@media (max-width: 379px) {
  .order-btn__label {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
}

.menu-toggle {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; margin-right: -6px; padding: 0;
  border: 0; border-radius: 12px; background: none; cursor: pointer; color: var(--text);
}
.menu-toggle:hover { background: var(--bg-3); }
.burger { position: relative; display: block; width: 20px; height: 14px; }
.burger::before, .burger::after, .burger span {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .25s var(--ease), opacity .2s, top .25s var(--ease);
}
.burger::before { top: 0; }
.burger span { top: 6px; }
.burger::after { top: 12px; }
.menu-toggle[aria-expanded="true"] .burger::before { top: 6px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .burger span { opacity: 0; }
.menu-toggle[aria-expanded="true"] .burger::after { top: 6px; transform: rotate(-45deg); }

.nav-list { display: flex; margin: 0; padding: 0; list-style: none; }
.nav-list a {
  position: relative; display: block;
  color: var(--text); text-decoration: none; font-weight: 500;
}
.nav-list a[aria-current="page"] { color: var(--acc); }
.nav-extra { display: none; }

/* Mobiel menu: vast paneel vanaf de onderkant van de header, schuift in van rechts */
@media (max-width: 760px) {
  .main-nav {
    position: fixed; top: calc(var(--hh) + var(--sw)); bottom: 0; left: 0; right: 0; z-index: 49;
    display: flex; flex-direction: column; gap: 24px;
    padding: 12px var(--gut) 32px;
    background: #FFFFFF; overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(100%); visibility: hidden;
    transition: transform .3s var(--ease), visibility 0s linear .3s;
  }
  .main-nav.open { transform: none; visibility: visible; transition: transform .3s var(--ease), visibility 0s; }
  .nav-list { flex-direction: column; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list a { display: flex; align-items: center; justify-content: space-between; padding: 16px 4px; font: 600 1.35rem/1.2 var(--head); }
  .nav-list a::after {
    content: ""; width: 9px; height: 9px; border-top: 2px solid var(--line); border-right: 2px solid var(--line);
    transform: rotate(45deg); margin-right: 4px;
  }
  .nav-list a[aria-current="page"]::after { border-color: var(--acc); }
  .nav-extra { display: grid; gap: 16px; }
  .nav-extra__account { padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); }
  .nav-extra__account p { margin: 0 0 10px; color: var(--muted); font-size: .9rem; }
  .nav-extra__row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
  .nav-extra .note { margin: 0; color: var(--muted); font-size: .85rem; }
  .nav-list .nav-home { display: block; }
}
@media (min-width: 761px) {
  .menu-toggle { display: none; }
  .main-nav { margin-right: 8px; }
  .nav-list { gap: 4px; }
  .nav-list .nav-home { display: none; }
  .nav-list a { padding: 8px 12px; border-radius: 999px; font-size: .9rem; }
  .nav-list a:hover { background: var(--bg-3); color: var(--text); }
  .nav-list a[aria-current="page"] { background: rgba(91, 75, 224, .08); color: var(--acc); }
}
/* Tablet en kleine laptop: navigatie op een tweede regel, zodat niets overloopt */
@media (min-width: 761px) and (max-width: 1199px) {
  .site-header { height: auto; }
  .bar { flex-wrap: wrap; height: auto; row-gap: 0; padding-top: 12px; }
  .logo { min-height: 44px; }
  .main-nav { order: 3; flex: 1 0 100%; margin: 12px 0 0; padding: 6px 0; border-top: 1px solid var(--line); }
  .nav-list { margin-left: -12px; }
}
@media (min-width: 1200px) {
  .bar { gap: 20px; }
  .nav-list { gap: 6px; }
  .nav-list a { padding: 8px 14px; font-size: .925rem; }
}

/* ---------- Hero ---------- */
.hero { padding-top: 40px; padding-bottom: var(--sec); }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { max-width: 16ch; margin-bottom: 20px; }
.hero .lead { margin-bottom: 0; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .9rem; }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts svg { color: var(--ok); flex: 0 0 auto; }
.hero__art {
  position: relative; border-radius: var(--r); overflow: hidden;
  background: linear-gradient(160deg, #FFFFFF 0%, #EEF1FB 100%);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  aspect-ratio: 5 / 4;
}
.hero__art img { width: 100%; height: 100%; object-fit: contain; }
@media (min-width: 900px) {
  .hero { padding-top: 72px; }
  .hero__grid { grid-template-columns: 1.1fr .9fr; gap: 56px; }
}

/* ---------- Stappen ---------- */
.steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: stap; }
.step { position: relative; padding: 24px; }
.step__num {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; margin-bottom: 16px; border-radius: 50%;
  background: var(--grad); color: #fff; font: 700 1rem/1 var(--head);
}
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); }
@media (min-width: 761px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* Voortgang (formulier en bestelling) */
.progress { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; font-size: .85rem; }
.progress li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); color: var(--muted);
}
.progress li span {
  display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--bg-3); color: var(--muted); font-weight: 700; font-size: .75rem;
}
.progress li[aria-current="step"] { color: var(--text); border-color: transparent; box-shadow: inset 0 0 0 1px rgba(91, 75, 224, .35); }
.progress li[aria-current="step"] span, .progress li.done span { background: var(--grad); color: #fff; }

/* ---------- Categorieen ---------- */
.cat-grid { display: grid; gap: 16px; }
@media (min-width: 761px) { .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.cat-card {
  display: grid; grid-template-columns: 88px 1fr; gap: 16px; align-items: center;
  padding: 16px; color: var(--text); text-decoration: none;
  transition: border-color .2s, transform .2s;
}
.cat-card:hover { border-color: var(--acc); color: var(--text); transform: translateY(-2px); }
.cat-card__img { border-radius: var(--r-sm); background: var(--bg-3); aspect-ratio: 4 / 5; overflow: hidden; }
.cat-card h3 { margin-bottom: 4px; }
.cat-card p { margin: 0 0 8px; color: var(--muted); font-size: .925rem; }
.cat-card__more { font-weight: 600; color: var(--acc); font-size: .9rem; }
@media (min-width: 761px) {
  .cat-card { grid-template-columns: 1fr; align-items: start; padding: 20px; }
  .cat-card__img { aspect-ratio: 16 / 10; }
  .cat-card__img img { width: 100%; height: 100%; object-fit: contain; }
}

/* ---------- Kenmerken (documentatie) ---------- */
.feature-grid { display: grid; gap: 16px; }
@media (min-width: 600px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .feature-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.feature { padding: 20px; }
.feature__icon { width: 72px; height: 72px; margin-bottom: 14px; border-radius: var(--r-sm); background: var(--bg-3); padding: 8px; }
.feature h3 { margin-bottom: 6px; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Wat wij niet doen ---------- */
.notlist { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.notlist li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg-2);
}
.notlist svg { flex: 0 0 auto; margin-top: 2px; color: var(--warn); }
.notlist strong { display: block; }
.notlist span { color: var(--muted); font-size: .95rem; }
@media (min-width: 761px) { .notlist { grid-template-columns: repeat(3, 1fr); } }

.cta-band { display: grid; gap: 20px; align-items: center; padding: 28px; }
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { margin: 0; color: var(--muted); }
.cta-band .btn-row { margin-top: 0; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; padding: 40px; } }

/* ---------- Catalogus ---------- */
.toolbar { display: grid; gap: 14px; margin-bottom: 24px; }
.toolbar__row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.search { position: relative; flex: 1 1 260px; min-width: 0; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input[type="search"] { padding-left: 42px; }
.sort { flex: 0 1 220px; min-width: 0; }
.result-count { margin: 0 0 16px; color: var(--muted); font-size: .9rem; }
.login-hint { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.login-hint p { margin: 0; }

.product-grid { display: grid; gap: 16px; }
@media (min-width: 520px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 1180px) { .product-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.p-card { display: flex; flex-direction: column; overflow: hidden; transition: border-color .2s, transform .2s; }
.p-card:hover { border-color: #BFC8FF; transform: translateY(-2px); }
.p-card__media {
  display: block; aspect-ratio: 4 / 5; background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-3) 100%);
  border-bottom: 1px solid var(--line);
}
.p-card__media img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 519px) { .p-card__media { max-height: 240px; } }
.p-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 18px; }
.p-card__title { margin: 0; font-size: 1.1rem; }
.p-card__title a { color: var(--text); text-decoration: none; }
.p-card__title a::after { content: ""; position: absolute; inset: 0; }
.p-card { position: relative; }
.p-card__title a:hover { color: var(--acc); }
.p-card__specs { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0; font-size: .85rem; }
.p-card__specs dt { color: var(--muted); }
.p-card__specs dd { margin: 0; }
.price { margin: auto 0 0; padding-top: 10px; border-top: 1px solid var(--line); font-size: .95rem; }
.price strong { font: 700 1.15rem/1.2 var(--head); }
.price--locked { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 500; }
.empty { padding: 32px; text-align: center; color: var(--muted); }

/* ---------- Productpagina ---------- */
.product { display: grid; gap: 28px; }
@media (min-width: 900px) { .product { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; } }
.product__media {
  border-radius: var(--r); border: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-3) 100%);
  aspect-ratio: 4 / 5;
}
.product__media img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 899px) { .product__media { max-height: 360px; } }
@media (min-width: 900px) { .product__media { position: sticky; top: calc(var(--sticky) + 24px); } }
.product__head { margin-bottom: 16px; }
.product__head h1 { margin: 10px 0 6px; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.product__syn { margin: 0; color: var(--muted); }

.spec-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec-table th, .spec-table td { padding: 11px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { width: 42%; padding-right: 16px; color: var(--muted); font-weight: 500; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.tbd { color: var(--muted); font-style: italic; }

.buy { margin: 24px 0; padding: 20px; }
.buy fieldset { margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.buy legend { margin-bottom: 10px; font-weight: 600; }
.pack-options { display: flex; flex-wrap: wrap; gap: 8px; }
.pack { position: relative; }
.pack input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pack label {
  display: inline-flex; flex-direction: column; gap: 2px;
  min-width: 96px; padding: 10px 16px;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg-2);
  cursor: pointer; font-weight: 600;
}
.pack label small { font-weight: 400; color: var(--muted); font-size: .8rem; }
.pack input:checked + label { border-color: var(--acc); box-shadow: inset 0 0 0 1px var(--acc); background: rgba(91, 75, 224, .05); }
.pack input:focus-visible + label { outline: 2px solid var(--acc); outline-offset: 2px; }
.buy__row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.buy__price { flex: 1 1 100%; margin: 0 0 4px; }
.buy__price strong { font: 700 1.5rem/1.2 var(--head); }
.buy__msg { flex: 1 1 100%; margin: 4px 0 0; font-size: .9rem; color: var(--ok); min-height: 1.4em; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-2); }
.qty button { width: 40px; height: 44px; border: 0; background: none; cursor: pointer; font-size: 1.1rem; color: var(--text); border-radius: 999px; }
.qty button:hover { color: var(--acc); }
.qty input[type="text"] {
  width: 48px; min-height: 0; height: 44px; padding: 0;
  border: 0; border-radius: 8px; background: none; box-shadow: none;
  text-align: center; font-weight: 600; -moz-appearance: textfield; appearance: textfield;
}
.qty input[type="text"]:focus { box-shadow: 0 0 0 2px rgba(91, 75, 224, .35); }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm button { width: 32px; height: 36px; }
.qty--sm input[type="text"] { width: 40px; height: 36px; }

.info-block { padding: 22px 0; border-top: 1px solid var(--line); }
.info-block h2 { font-size: 1.2rem; margin-bottom: 8px; }
.info-block p { margin: 0; }
.doc-links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.doc-link {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg-2);
  color: var(--text); text-decoration: none;
}
.doc-link:hover { border-color: var(--acc); color: var(--text); }
.doc-link img { width: 44px; height: 44px; }
.doc-link strong { display: block; font-size: .95rem; }
.doc-link span { color: var(--muted); font-size: .85rem; }
@media (min-width: 600px) { .doc-links { grid-template-columns: 1fr 1fr; } }

.notfound { max-width: 560px; margin: 0 auto; text-align: center; padding: 40px 24px; }
.notfound img { width: 120px; margin: 0 auto 16px; }

/* ---------- Formulieren ---------- */
.form { display: grid; gap: 18px; }
.form-grid { display: grid; gap: 18px; align-items: start; }
@media (min-width: 700px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field .label { font-weight: 600; font-size: .925rem; }
.req { color: var(--acc); }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="search"], select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg-2);
  font-size: 1rem; line-height: 1.4;
  transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 120px; resize: vertical; }
select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235B6675' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
input:hover, select:hover, textarea:hover { border-color: #B9C4D3; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px rgba(91, 75, 224, .15); }
[aria-invalid="true"] { border-color: #C2410C !important; box-shadow: 0 0 0 3px rgba(194, 65, 12, .12) !important; }
.field__hint { margin: 0; color: var(--muted); font-size: .85rem; }
.field__error { margin: 0; color: #B42318; font-size: .875rem; font-weight: 500; }
.field__error:empty { display: none; }
.or {
  display: flex; align-items: center; gap: 12px; margin: 2px 0; color: var(--muted); font-size: .85rem; font-weight: 600;
}
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .95rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--acc); cursor: pointer; }
.field label.check { font-weight: 400; font-size: .95rem; }
.fieldset { margin: 0; padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); min-width: 0; }
.fieldset legend { padding: 0 6px; font: 600 1rem/1.2 var(--head); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form-error-summary { padding: 12px 16px; border-radius: var(--r-sm); border: 1px solid #F5C2BC; background: #FFF4F2; color: #8A1C12; font-size: .925rem; }
.confirm {
  padding: 24px; border-radius: var(--r); border: 1px solid rgba(27, 138, 90, .35);
  background: #F0FAF5;
}
.confirm h2, .confirm h3 { display: flex; align-items: center; gap: 10px; color: var(--ok); font-size: 1.25rem; }
.confirm p:last-child { margin-bottom: 0; }
.confirm--demo { border-color: rgba(91, 75, 224, .35); background: #F4F3FE; }
.confirm--demo h2 { color: var(--acc); }
.counter { font-variant-numeric: tabular-nums; }

.layout-aside { display: grid; gap: 24px; }
@media (min-width: 960px) { .layout-aside { grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; } }
.aside-card { padding: 22px; }
.aside-card h2 { font-size: 1.1rem; }
.aside-card ul { margin: 0; padding-left: 1.1em; color: var(--muted); }
.aside-card li { margin-bottom: 6px; }
.aside-card li:last-child { margin-bottom: 0; }

.login-wrap { max-width: 480px; margin: 0 auto; }
.demo-btn { width: 100%; }

/* ---------- Bestelling ---------- */
.table-scroll { width: 100%; overflow-x: auto; }
.order-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.order-table th, .order-table td { padding: 14px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.order-table thead th { font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.order-table .num { text-align: right; white-space: nowrap; }
.order-prod { display: flex; align-items: center; gap: 12px; }
.order-prod img { width: 44px; height: 55px; border-radius: 8px; background: var(--bg-3); }
.order-prod a { font-weight: 600; color: var(--text); text-decoration: none; }
.order-prod a:hover { color: var(--acc); }
.remove-btn { padding: 6px 10px; border: 1px solid transparent; border-radius: 999px; background: none; color: var(--muted); cursor: pointer; font-size: .85rem; }
.remove-btn:hover { border-color: var(--line); color: #B42318; }
@media (max-width: 700px) {
  .order-table thead { display: none; }
  .order-table, .order-table tbody, .order-table tr, .order-table td { display: block; width: 100%; }
  .order-table tr { position: relative; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .order-table td { padding: 4px 0; border: 0; }
  .order-table td.num { text-align: left; }
  .order-table td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); font-size: .85rem; }
  .order-table td.cell-remove { position: absolute; top: 10px; right: 0; width: auto; }
  .order-table td.cell-prod { padding-right: 90px; }
}
.totals { display: grid; gap: 8px; margin: 20px 0 0; }
.totals div { display: flex; justify-content: space-between; gap: 16px; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; font-variant-numeric: tabular-nums; }
.totals .grand { padding-top: 12px; border-top: 1px solid var(--line); font: 700 1.15rem/1.3 var(--head); }
.totals .grand dt { color: var(--text); }

/* ---------- Tekstpagina's ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2em; font-size: 1.35rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; }
.prose p, .prose li { color: #26324A; }
.prose li { margin-bottom: .4em; }
.concept {
  display: inline-block; margin: 0 0 24px; padding: 8px 14px;
  border: 1px dashed var(--warn); border-radius: var(--r-sm); background: #FFF8EF;
  color: #7A3E06; font-weight: 600; font-size: .925rem;
}
.toc { padding: 20px 22px; }
@media (max-width: 959px) { .layout-aside > .toc { order: -1; } }
@media (min-width: 960px) { .toc { position: sticky; top: calc(var(--sticky) + 24px); } }
.toc h2 { font-size: 1rem; margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 1.3em; font-size: .925rem; }
.toc li { margin-bottom: 4px; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--acc); text-decoration: underline; }
.declaration {
  padding: 20px 22px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line);
  border-left: 4px solid var(--acc);
}
.quality-list { display: grid; gap: 16px; }
@media (min-width: 761px) { .quality-list { grid-template-columns: 1fr 1fr; gap: 20px; } }
.q-item { padding: 22px; }
.q-item h3 { display: flex; align-items: center; gap: 10px; }
.q-item p:last-child { margin-bottom: 0; }
.q-item .tag { color: var(--muted); font-size: .85rem; }
.split { display: grid; gap: 24px; align-items: center; }
.split__img { max-width: 220px; }
@media (min-width: 761px) { .split { grid-template-columns: 220px 1fr; gap: 40px; } }

.contact-list { display: grid; gap: 10px; margin: 0; }
.contact-list div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.contact-list dt { color: var(--muted); }
.contact-list dd { margin: 0; overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); font-size: .925rem; }
.footer-grid { display: grid; gap: 28px; padding-block: 48px 32px; }
@media (min-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; } }
.footer-grid h2 { margin-bottom: 12px; font: 600 .8rem/1.3 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--text); text-decoration: none; }
.footer-grid a:hover { color: var(--acc); text-decoration: underline; }
.footer-grid address, .footer-grid p { color: var(--muted); margin: 0 0 6px; }
.footer-brand .logo { margin-bottom: 14px; }
.footer-bottom { display: grid; gap: 8px; padding-block: 18px 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.footer-note { margin: 0; color: var(--text); font-weight: 500; }
.footer-bottom p { margin: 0; }
@media (min-width: 900px) { .footer-bottom { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- 404 ---------- */
.err { padding-block: 72px; text-align: center; }
.err__code { font: 700 clamp(4rem, 14vw, 7rem)/1 var(--head); color: var(--acc); margin: 0 0 8px; }
.err .btn-row { justify-content: center; }

/* ---------- Documentpagina's (CoA en SDS) ---------- */
.doc-page { background: var(--bg-3); }
.doc-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; max-width: 860px; margin: 0 auto; padding-block: 16px; }
.doc {
  position: relative; overflow: hidden;
  max-width: 860px; margin: 0 auto 40px; padding: 28px 20px;
  background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow);
}
@media (min-width: 761px) { .doc { padding: 48px 56px; } }
.doc__watermark {
  position: absolute; top: 50%; left: 50%; z-index: 2;
  transform: translate(-50%, -50%) rotate(-28deg);
  font: 800 clamp(3.5rem, 16vw, 9rem)/1 var(--head); letter-spacing: .06em;
  color: rgba(91, 75, 224, .09); white-space: nowrap; pointer-events: none; user-select: none;
}
.doc__head { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-start; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 2px solid var(--text); }
.doc__head h1 { font-size: clamp(1.5rem, 4vw, 2rem); margin: 0 0 4px; }
.doc__company { font-size: .85rem; color: var(--muted); text-align: left; }
.doc__company strong { color: var(--text); }
.doc-meta { display: grid; gap: 6px 24px; margin: 0 0 24px; font-size: .95rem; }
@media (min-width: 600px) { .doc-meta { grid-template-columns: 1fr 1fr; } }
.doc-meta div { display: grid; grid-template-columns: minmax(110px, 38%) 1fr; gap: 8px; }
.doc-meta dt { color: var(--muted); }
.doc-meta dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.doc-table { width: 100%; border-collapse: collapse; font-size: .925rem; margin-bottom: 20px; }
.doc-table th, .doc-table td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.doc-table thead th { background: var(--bg-3); font-weight: 600; }
@media (max-width: 599px) {
  .doc-table thead { display: none; }
  .doc-table, .doc-table tbody, .doc-table tr, .doc-table th, .doc-table td { display: block; width: 100%; }
  .doc-table tr { margin-bottom: 10px; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
  .doc-table th, .doc-table td { border: 0; border-bottom: 1px solid var(--line); }
  .doc-table td:last-child { border-bottom: 0; }
  .doc-table th[scope="row"] { background: var(--bg-3); }
  .doc-table td::before { content: attr(data-label) ": "; color: var(--muted); }
}
.doc-demo { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 6px; background: rgba(180, 83, 9, .1); color: var(--warn); font-size: .72rem; font-weight: 700; letter-spacing: .04em; }
.doc-section { margin-bottom: 18px; }
.doc-section h2 { font-size: 1.05rem; margin: 0 0 6px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.doc-section p { margin: 0 0 6px; font-size: .95rem; }
.fill { color: var(--warn); font-style: italic; }
.doc-foot { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.sign { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 600px) { .sign { grid-template-columns: 1fr 1fr; } }
.sign div { padding-top: 28px; border-top: 1px dashed var(--line); font-size: .85rem; color: var(--muted); }

/* ---------- Beweging ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Print ---------- */
@media print {
  body::before, .site-header, .site-footer, .doc-bar, .skip-link { display: none !important; }
  body, .doc-page { background: #fff; }
  .doc { border: 0; box-shadow: none; margin: 0; padding: 0; max-width: none; }
  .doc__watermark { color: rgba(0, 0, 0, .07); }
}

/* Schakelbalk tussen de consumentenshop en de zakelijke shop (zelfde merk). */
.site-switch { position: sticky; top: 0; z-index: 51; background: var(--bg-3); border-bottom: 1px solid var(--line); font-size: .78rem; height: var(--sw); }
.site-switch__in { max-width: 1180px; margin: 0 auto; padding: 0 var(--gut); height: var(--sw); display: flex; align-items: center; gap: 18px; }
.site-switch__label { color: var(--muted); letter-spacing: .12em; text-transform: uppercase; font-size: .68rem; margin-right: auto; }
.site-switch__link { color: var(--muted); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.site-switch__link:hover { color: var(--text); }
.site-switch__link.is-active { color: var(--text); font-weight: 600; border-bottom-color: var(--acc); }
@media (max-width: 480px) { .site-switch__label { display: none; } .site-switch__in { justify-content: center; } }
