/*
 * Zimple Print · Helder · gedeelde componenten
 * Basis uit redesign/assets/tokens.css, losse kleuren vervangen door tokens.
 * Ook: logo, shop-header + mobiel menu, checkout-header, footer, account-shell, productkaart.
 * Klassen zijn zp-geprefixt en zetten font/kleur zelf.
 */

/* ---------- Layout-helpers ---------- */
/* Signatuur: <h2>Ons aanbod<span class="zp-dot">.</span></h2> — alleen H1/H2 en grote kaarttitels */
.zp-dot { color: var(--zp-magenta); }

.zp-container { width: 100%; max-width: var(--zp-container); margin-inline: auto; padding-inline: var(--zp-gutter); }
.zp-container--checkout { max-width: var(--zp-container-checkout); }
.zp-container--editor { max-width: var(--zp-container-editor); }
.zp-container--text { max-width: var(--zp-container-text); }

.zp-section { padding-block: var(--zp-section-y); }
.zp-section--soft { background: var(--zp-bg-soft); }
.zp-page-soft { background: var(--zp-bg-soft); }

.zp-stack { display: flex; flex-direction: column; gap: 16px; }
.zp-cluster { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.zp-grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 24px; }

.zp-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.zp-skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 18px; border-radius: var(--zp-radius-pill); background: var(--zp-ink); color: var(--zp-white); font-weight: 700; }
.zp-skip-link:focus { top: 16px; color: var(--zp-white); }


.zp-header :focus-visible, .zp-footer :focus-visible, .zp-account :focus-visible, .zp-pcard:focus-visible { outline: 3px solid var(--zp-magenta); outline-offset: 2px; }

/* ---------- Knoppen ---------- */
.zp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 0; border-radius: var(--zp-radius-pill);
  font: 800 16px var(--zp-font-body);
  text-decoration: none; cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.zp-btn--primary { background: var(--zp-petrol-text); color: var(--zp-white); }
.zp-btn--primary:hover { background: var(--zp-petrol-dark); color: var(--zp-white); }
/* Alleen voor de bestel-actie: In winkelmand, Bestelling plaatsen, Akkoord ga drukken */
.zp-btn--order { background: var(--zp-magenta); color: var(--zp-white); }
.zp-btn--order:hover { background: var(--zp-magenta-dark); color: var(--zp-white); }
.zp-btn--outline { background: var(--zp-white); color: var(--zp-petrol-text); border: 2px solid var(--zp-petrol-text); }
.zp-btn--outline:hover { background: var(--zp-tint-petrol); color: var(--zp-petrol-dark); border-color: var(--zp-petrol-dark); }
.zp-btn--outline-order { background: var(--zp-white); color: var(--zp-magenta); border: 2px solid var(--zp-magenta); }
.zp-btn--outline-order:hover { background: var(--zp-tint-magenta); color: var(--zp-magenta-dark); border-color: var(--zp-magenta-dark); }
.zp-btn--ghost { background: var(--zp-white); color: var(--zp-ink); border: 2px solid var(--zp-line-strong); }
.zp-btn--ghost:hover { border-color: var(--zp-petrol); color: var(--zp-ink); }
.zp-btn--dark { background: var(--zp-ink); color: var(--zp-white); }
.zp-btn--dark:hover { background: var(--zp-petrol-deep); color: var(--zp-white); }
.zp-btn--light { background: var(--zp-white); color: var(--zp-petrol-deep); }
.zp-btn--light:hover { background: var(--zp-tint-petrol); color: var(--zp-petrol-deep); }
.zp-btn[disabled], .zp-btn[aria-disabled="true"] { background: var(--zp-disabled-bg); color: var(--zp-white); border-color: transparent; cursor: not-allowed; }
.zp-btn--sm { min-height: var(--zp-touch); padding: 0 18px; font-size: 14px; }
.zp-btn--lg { min-height: 58px; padding: 0 32px; font-size: 17px; }
.zp-btn--block { width: 100%; }
.zp-btn svg { width: 20px; height: 20px; flex: none; }

/* Icon-only knop: altijd aria-label in de markup */
.zp-icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: var(--zp-touch); height: var(--zp-touch);
  border: 0; border-radius: var(--zp-radius-pill);
  background: transparent; color: var(--zp-ink);
}
.zp-icon-btn:hover { background: var(--zp-bg-soft); }
.zp-icon-btn svg { width: 20px; height: 20px; }

/* Lijnicoon (Lucide-stijl, inline SVG) */
.zp-icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.zp-icon--sm { width: 18px; height: 18px; }

/* ---------- Kaarten ---------- */
.zp-card { background: var(--zp-white); border-radius: var(--zp-radius-lg); padding: 24px; }
.zp-card--bordered { border: 1px solid var(--zp-line); }
.zp-card--hover { transition: transform .2s ease, box-shadow .2s ease; }
.zp-card--hover:hover { transform: translateY(-4px); box-shadow: var(--zp-shadow-card); }
.zp-card--tint-petrol { background: var(--zp-tint-petrol); }
.zp-card--tint-magenta { background: var(--zp-tint-magenta); }
.zp-card--dark { background: var(--zp-ink); color: var(--zp-white); }
.zp-card--dark h2, .zp-card--dark h3 { color: var(--zp-white); }

/* ---------- Badges / chips ---------- */
.zp-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: var(--zp-radius-pill);
  font-size: 12px; font-weight: 800; line-height: 1.2; white-space: nowrap;
}
.zp-badge--petrol { background: var(--zp-tint-petrol); color: var(--zp-petrol-dark); }
.zp-badge--magenta { background: var(--zp-tint-magenta); color: var(--zp-magenta-dark); }
.zp-badge--neutral { background: var(--zp-bg-soft); color: var(--zp-text); }
.zp-badge--ok { background: var(--zp-ok-bg); color: var(--zp-ok-text); }
.zp-badge--warn { background: var(--zp-warn-bg); color: var(--zp-warn-text); }
.zp-badge--dark { background: var(--zp-ink); color: var(--zp-white); }
.zp-badge--sale { background: var(--zp-magenta); color: var(--zp-white); }

/* Pill-link (categorie-pills, account-nav mobiel) */
.zp-pill {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: var(--zp-touch); padding: 0 18px;
  border: 2px solid var(--zp-line-strong); border-radius: var(--zp-radius-pill);
  background: var(--zp-white); color: var(--zp-ink);
  font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap;
}
.zp-pill:hover { border-color: var(--zp-petrol); color: var(--zp-ink); }
.zp-pill[aria-current="page"], .zp-pill.is-active { background: var(--zp-petrol-text); border-color: var(--zp-petrol-text); color: var(--zp-white); }

/* ---------- Formulieren ---------- */
.zp-field { display: flex; flex-direction: column; gap: 6px; font-size: var(--zp-fs-label); font-weight: 700; }
.zp-field__hint { font-weight: 400; color: var(--zp-muted); }
.zp-field__error { font-weight: 700; color: var(--zp-magenta-dark); }
.zp-input, .zp-select, .zp-textarea {
  width: 100%; max-width: none; min-height: 50px; margin: 0; padding: 0 14px;
  border: 2px solid var(--zp-line-strong); border-radius: var(--zp-radius-sm);
  font: 15px var(--zp-font-body); color: var(--zp-ink); background: var(--zp-white);
}
.zp-textarea { min-height: 120px; padding: 12px 14px; resize: vertical; }
.zp-input:focus, .zp-select:focus, .zp-textarea:focus { outline: none; border-color: var(--zp-petrol); }
.zp-input:focus-visible, .zp-select:focus-visible, .zp-textarea:focus-visible { outline: 3px solid var(--zp-magenta); outline-offset: 2px; }
.zp-input[aria-invalid="true"] { border-color: var(--zp-magenta); }
.zp-check { display: flex; align-items: flex-start; gap: 10px; min-height: var(--zp-touch); font-size: 15px; cursor: pointer; }
.zp-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--zp-petrol-text); flex: none; }

.zp-search {
  display: flex; align-items: center; gap: 12px;
  height: 50px; padding: 0 20px;
  border: 2px solid var(--zp-line-strong); border-radius: var(--zp-radius-pill);
  background: var(--zp-white); color: var(--zp-muted);
}
.zp-search:focus-within { border-color: var(--zp-petrol); }
.zp-search input { border: 0; border-radius: 0; outline: none; width: 100%; max-width: none; min-width: 0; height: 100%; margin: 0; padding: 0; font: 15px var(--zp-font-body); color: var(--zp-ink); background: transparent; }
.zp-search svg { width: 18px; height: 18px; flex: none; color: var(--zp-petrol-text); }

/* ---------- Meldingen (flash) ---------- */
.zp-notice { display: flex; gap: 12px; padding: 14px 18px; border-radius: var(--zp-radius-md); background: var(--zp-tint-petrol); color: var(--zp-petrol-dark); font-weight: 600; }
.zp-notice--error { background: var(--zp-tint-magenta); color: var(--zp-magenta-dark); }
.zp-notice--warn { background: var(--zp-warn-bg); color: var(--zp-warn-text); }
.zp-notice--ok { background: var(--zp-ok-bg); color: var(--zp-ok-text); }

/* ---------- Configurator ---------- */
.zp-step-title { display: flex; align-items: center; gap: 10px; font: 800 18px var(--zp-font-display); margin-bottom: 10px; }
.zp-step-num {
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  background: var(--zp-petrol); color: var(--zp-white);
  font-size: 14px; display: inline-flex; align-items: center; justify-content: center;
}
.zp-step-num--accent { background: var(--zp-magenta); }
.zp-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; border: 0; padding: 0; margin: 0; }

/* Optiekaart = echte radio in een label, visueel als kaart */
.zp-option {
  position: relative; display: flex; flex-direction: column; gap: 2px;
  min-height: 64px; padding: 10px 14px;
  border: 2px solid var(--zp-line); border-radius: var(--zp-radius-option);
  background: var(--zp-white); cursor: pointer;
}
.zp-option:hover { border-color: var(--zp-petrol); }
.zp-option input { position: absolute; opacity: 0; pointer-events: none; }
.zp-option:has(input:checked) { border-color: var(--zp-petrol-text); background: var(--zp-tint-petrol); }
.zp-option:has(input:focus-visible) { outline: 3px solid var(--zp-magenta); outline-offset: 2px; }
.zp-option:has(input:disabled) { opacity: .55; cursor: not-allowed; }
.zp-option__label { font-weight: 800; font-size: 14px; }
.zp-option__sub { font-size: 12px; color: var(--zp-muted); }

/* Segmented control (Voorkant/Achterkant, Nu uploaden/Later, Passend/Vullen) */
.zp-segmented { display: inline-flex; padding: 4px; background: var(--zp-bg-soft); border-radius: var(--zp-radius-pill); }
.zp-segmented button, .zp-segmented label {
  position: relative; min-height: 40px; padding: 0 18px;
  border: 0; border-radius: var(--zp-radius-pill); background: transparent;
  font: 800 14px var(--zp-font-body); color: var(--zp-ink); cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
.zp-segmented label input { position: absolute; opacity: 0; pointer-events: none; }
.zp-segmented [aria-pressed="true"], .zp-segmented [aria-selected="true"], .zp-segmented label:has(input:checked) { background: var(--zp-ink); color: var(--zp-white); }
.zp-segmented label:has(input:focus-visible) { outline: 3px solid var(--zp-magenta); outline-offset: 2px; }

/* ---------- Stappenbalk bestelflow (4 stappen) ---------- */
.zp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.zp-steps li { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 800; color: var(--zp-muted); }
.zp-steps li::before { content: ""; height: 6px; border-radius: 3px; background: var(--zp-line-strong); }
.zp-steps li.is-done { color: var(--zp-petrol-text); }
.zp-steps li.is-done::before { background: var(--zp-petrol); }
.zp-steps li.is-current { color: var(--zp-ink); }
.zp-steps li.is-current::before { background: var(--zp-magenta); }

/* ---------- Ordertracker (5 stappen) ---------- */
.zp-tracker { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.zp-tracker li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 13px; font-weight: 800; color: var(--zp-muted); }
.zp-tracker li::after { content: ""; position: absolute; top: 17px; left: calc(50% + 22px); right: calc(-50% + 22px); height: 3px; border-radius: 2px; background: var(--zp-line-strong); }
.zp-tracker li:last-child::after { display: none; }
.zp-tracker li.is-done::after { background: var(--zp-petrol); }
.zp-tracker__dot {
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 3px solid var(--zp-line-strong); background: var(--zp-white); color: var(--zp-white);
}
.zp-tracker li.is-done .zp-tracker__dot { background: var(--zp-petrol); border-color: var(--zp-petrol); }
.zp-tracker li.is-done { color: var(--zp-petrol-text); }
.zp-tracker li.is-current .zp-tracker__dot { background: var(--zp-magenta); border-color: var(--zp-tint-magenta); box-shadow: 0 0 0 4px var(--zp-tint-magenta); }
.zp-tracker li.is-current { color: var(--zp-ink); }
.zp-tracker__sub { font-weight: 600; font-size: 12px; color: var(--zp-muted); }
.zp-tracker li.is-current .zp-tracker__sub { color: var(--zp-magenta-dark); }

/* ---------- Check-lijst ---------- */
.zp-checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.zp-checklist li { display: flex; align-items: flex-start; gap: 10px; }
.zp-checklist__mark {
  width: 22px; height: 22px; border-radius: 50%; flex: none; margin-top: 1px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 900; line-height: 1;
  background: var(--zp-petrol); color: var(--zp-white);
}
.zp-checklist__mark svg { width: 14px; height: 14px; stroke-width: 3; }
.zp-checklist__mark--warn { background: var(--zp-warn); }
.zp-checklist__mark--info { background: var(--zp-line-strong); color: var(--zp-text); }

/* ---------- Tabel ---------- */
.zp-table { width: 100%; font-size: 15px; }
.zp-table th { text-align: left; font-size: var(--zp-fs-label); font-weight: 800; color: var(--zp-muted); padding: 10px 12px; border-bottom: 1px solid var(--zp-line); }
.zp-table td { padding: 14px 12px; border-bottom: 1px solid var(--zp-line); vertical-align: middle; }

/* ---------- Flash-meldingen onder de header ---------- */
.zp-flashes { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; font-family: var(--zp-font-body); }
.zp-flashes--inline { padding-top: 0; }

/* ---------- Logo (inline SVG + live woordmerk) ---------- */
.zp-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; border-radius: var(--zp-radius-sm); }
.zp-logo__mark { width: 46px; height: 46px; }
.zp-logo__m { fill: var(--zp-magenta); }
.zp-logo__p { fill: var(--zp-petrol); }
.zp-logo__word { font-family: var(--zp-font-display); font-weight: 800; font-size: 36px; line-height: 1; letter-spacing: -.01em; color: var(--zp-petrol); }
.zp-logo__dot { color: var(--zp-magenta); }
.zp-logo--sm .zp-logo__mark { width: 40px; height: 40px; }
.zp-logo--sm .zp-logo__word { font-size: 30px; }
.zp-logo--light .zp-logo__m { fill: var(--zp-magenta-light); }
.zp-logo--light .zp-logo__p { fill: var(--zp-white); }
.zp-logo--light .zp-logo__word { color: var(--zp-white); font-size: 32px; }
.zp-logo--light .zp-logo__dot { color: var(--zp-magenta-light); }
.zp-logo--light .zp-logo__mark { width: 40px; height: 40px; }

/* ---------- Avatar ---------- */
.zp-avatar {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--zp-magenta); color: var(--zp-white);
  font: 900 15px var(--zp-font-display); letter-spacing: 0;
}

/* ---------- Shop-header ---------- */
.zp-header { position: relative; z-index: 50; background: var(--zp-white); border-bottom: 1px solid var(--zp-line); font-family: var(--zp-font-body); color: var(--zp-ink); line-height: 1.6; }
.zp-header a { text-decoration: none; }

.zp-topbar { display: none; background: var(--zp-tint-petrol); font-size: 13px; font-weight: 600; }
.zp-topbar__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 28px; padding-block: 9px; }
.zp-topbar__promises { display: flex; flex-wrap: wrap; gap: 6px 28px; list-style: none; margin: 0; padding: 0; }
.zp-topbar__promises li { display: inline-flex; align-items: center; gap: 8px; }
.zp-topbar__promises li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--zp-magenta); }
.zp-topbar__links { display: none; gap: 22px; }
.zp-topbar__links a { color: var(--zp-ink); }
.zp-topbar__links a:hover { color: var(--zp-petrol-text); text-decoration: underline; }

.zp-header__main { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding-block: 12px; }
.zp-header .zp-logo__mark { width: 36px; height: 36px; }
.zp-header .zp-logo__word { font-size: 28px; }
.zp-header__search { display: none; order: 3; flex: 1 1 100%; height: 48px; }
.zp-header.is-search-open .zp-header__search { display: flex; }
.zp-header__actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.zp-header__actions .zp-icon-btn { color: var(--zp-ink); }
.zp-header__search-toggle[aria-expanded="true"] { background: var(--zp-tint-petrol); }

.zp-header__link { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 12px; border-radius: var(--zp-radius-pill); color: var(--zp-ink); font-weight: 700; font-size: 15px; }
.zp-header__link:hover { color: var(--zp-petrol-text); background: var(--zp-bg-soft); }
.zp-header__link span { display: none; }
.zp-header__admin { display: none; }

.zp-header__account { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 5px; border-radius: var(--zp-radius-pill); background: var(--zp-bg-soft); color: var(--zp-ink); font-weight: 700; font-size: 15px; }
.zp-header__account:hover { background: var(--zp-tint-petrol); color: var(--zp-ink); }
.zp-header__account-name { display: none; }

.zp-header__cart {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 46px; height: 46px; padding: 0 12px; border-radius: var(--zp-radius-pill);
  background: var(--zp-petrol-text); color: var(--zp-white); font-weight: 700; font-size: 15px;
}
.zp-header__cart:hover { background: var(--zp-petrol-dark); color: var(--zp-white); }
.zp-header__cart .zp-icon { width: 18px; height: 18px; }
.zp-header__cart-label { display: none; }
.zp-header__count {
  position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--zp-white); border-radius: var(--zp-radius-pill);
  background: var(--zp-magenta); color: var(--zp-white); font-size: 12px; font-weight: 800; line-height: 1;
}

.zp-header__menu-toggle .zp-icon--close { display: none; }
.zp-header__menu-toggle[aria-expanded="true"] .zp-icon--open { display: none; }
.zp-header__menu-toggle[aria-expanded="true"] .zp-icon--close { display: block; }
.zp-header__menu-toggle[aria-expanded="true"] { background: var(--zp-tint-petrol); }

.zp-catnav { display: none; flex-wrap: wrap; align-items: center; gap: 6px 30px; padding-bottom: 10px; font-size: 15px; font-weight: 700; }
.zp-catnav a { display: inline-flex; align-items: center; min-height: var(--zp-touch); color: var(--zp-ink); }
.zp-catnav a:hover, .zp-catnav a[aria-current="page"] { color: var(--zp-petrol-text); }
.zp-catnav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.zp-catnav__spacer { flex: 1 1 0; }
.zp-catnav a.zp-catnav__samples { color: var(--zp-magenta); }
.zp-catnav a.zp-catnav__samples:hover { color: var(--zp-magenta-dark); }
.zp-catnav a.zp-catnav__quote { color: var(--zp-petrol-text); }

/* Mobiel menu: paneel onder de header */
.zp-menu { position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 80px); overflow-y: auto; background: var(--zp-white); border-top: 1px solid var(--zp-line); border-bottom: 1px solid var(--zp-line); box-shadow: var(--zp-shadow-card); }
.zp-menu[hidden] { display: none; }
.zp-menu__inner { display: flex; flex-direction: column; gap: 8px; padding-block: 16px 24px; }
.zp-menu__title { margin: 0 0 4px; font-size: var(--zp-fs-label); font-weight: 800; color: var(--zp-muted); text-transform: uppercase; letter-spacing: .06em; }
.zp-menu__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.zp-menu__list--split { padding-top: 8px; border-top: 1px solid var(--zp-line); }
.zp-menu__list a { display: flex; align-items: center; min-height: 48px; padding: 0 4px; color: var(--zp-ink); font-weight: 700; font-size: 16px; }
.zp-menu__list a:hover, .zp-menu__list a[aria-current="page"] { color: var(--zp-petrol-text); }
.zp-menu__list a.zp-menu__samples { color: var(--zp-magenta); }
.zp-menu-backdrop { position: fixed; inset: 0; z-index: 40; background: var(--zp-overlay); }
.zp-menu-backdrop[hidden] { display: none; }
html.zp-menu-open { overflow: hidden; }

@media (min-width: 640px) {
  .zp-topbar { display: block; }
  .zp-header__main { flex-wrap: nowrap; gap: 16px 24px; padding-block: 16px; }
  .zp-header .zp-logo__mark { width: 42px; height: 42px; }
  .zp-header .zp-logo__word { font-size: 32px; }
  .zp-header__search { display: flex; order: 0; flex: 1 1 320px; }
  .zp-header__search-toggle { display: none; }
  .zp-header__actions { gap: 8px; margin-left: 0; }
  .zp-header__link span, .zp-header__account-name { display: inline; }
  .zp-header__account { padding-right: 14px; }
}
@media (min-width: 1024px) {
  .zp-header__main { gap: 16px 40px; padding-block: 18px; }
  .zp-header .zp-logo__mark { width: 46px; height: 46px; }
  .zp-header .zp-logo__word { font-size: 36px; }
  .zp-header--account .zp-logo__mark { width: 42px; height: 42px; }
  .zp-header--account .zp-logo__word { font-size: 32px; }
  .zp-header__menu-toggle { display: none; }
  .zp-header__admin { display: inline-flex; }
  .zp-header__cart:not(.zp-header__cart--round) { padding: 0 20px; }
  .zp-header__cart:not(.zp-header__cart--round) .zp-header__cart-label { display: inline; }
  .zp-topbar__links { display: flex; }
  .zp-catnav { display: flex; }
  .zp-menu, .zp-menu-backdrop { display: none !important; }
}

/* ---------- Checkout-header ---------- */
.zp-header--checkout .zp-header__main { flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 14px; }
.zp-header--checkout .zp-logo__mark { width: 36px; height: 36px; }
.zp-header--checkout .zp-logo__word { font-size: 28px; }
.zp-header__secure { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; font-weight: 700; color: var(--zp-text); }
.zp-header__secure-item { display: inline-flex; align-items: center; gap: 8px; }
.zp-header__secure-item .zp-icon { width: 18px; height: 18px; color: var(--zp-petrol-text); }
.zp-header__secure a { color: var(--zp-petrol-text); text-decoration: underline; }
@media (min-width: 640px) {
  .zp-header--checkout .zp-header__main { flex-wrap: wrap; }
  .zp-header--checkout .zp-logo__mark { width: 40px; height: 40px; }
  .zp-header--checkout .zp-logo__word { font-size: 30px; }
}

/* ---------- Footer ---------- */
.zp-footer { background: var(--zp-petrol-deep); color: var(--zp-footer-text); font-family: var(--zp-font-body); font-size: 14px; line-height: 1.6; }
.zp-footer a { color: var(--zp-footer-text); text-decoration: none; }
.zp-footer a:hover { color: var(--zp-white); text-decoration: underline; }
.zp-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.zp-footer p { margin: 0; }
.zp-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; padding-block: 56px 32px; }
.zp-footer__brand { display: flex; flex-direction: column; gap: 16px; }
.zp-footer__brand .zp-logo:hover { text-decoration: none; }
.zp-footer ul.zp-footer__contact { gap: 6px; }
.zp-footer p.zp-footer__title { margin-bottom: 4px; color: var(--zp-white); font-weight: 700; }
.zp-footer__col { display: flex; flex-direction: column; gap: 10px; }
.zp-footer__newsletter { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.zp-footer__newsletter label { display: block; margin: 0; font-size: 13px; font-weight: 700; color: var(--zp-footer-text); }
.zp-footer__newsletter-row { display: flex; gap: 8px; }
.zp-footer__newsletter .zp-input { min-height: var(--zp-touch); border-color: transparent; font-size: 14px; }
.zp-footer__newsletter .zp-btn { flex: none; }
.zp-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 22px; border-top: 1px solid var(--zp-footer-line); font-size: 13px; }
.zp-footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }
.zp-footer--minimal .zp-footer__bottom { border-top: 0; }
@media (min-width: 640px) { .zp-footer__grid { padding-block: 72px 32px; } }
@media (min-width: 1024px) { .zp-footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }

/* Beheerknop cache resetten (alleen admins) */
.zp-admin-cache {
  position: fixed; left: 24px; bottom: 24px; z-index: 90; /* links: rechts staat de Hulp-knop */
  width: 52px; height: 52px; border: 0; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--zp-ink); color: var(--zp-white); box-shadow: var(--zp-shadow-float); cursor: pointer;
}
.zp-admin-cache:hover { background: var(--zp-petrol-deep); }
.zp-admin-cache.is-busy { opacity: .6; cursor: progress; }
.zp-admin-cache.is-busy svg { animation: zp-spin 1s linear infinite; }
.zp-admin-cache__msg { position: fixed; left: 24px; bottom: 88px; z-index: 90; max-width: 280px; padding: 10px 14px; border-radius: var(--zp-radius-sm); background: var(--zp-ok-bg); color: var(--zp-ok-text); font: 600 13px var(--zp-font-body); box-shadow: var(--zp-shadow-card); }
.zp-admin-cache__msg[hidden] { display: none; }
.zp-admin-cache__msg.is-error { background: var(--zp-tint-magenta); color: var(--zp-magenta-dark); }
@keyframes zp-spin { to { transform: rotate(360deg); } }

/* ---------- Account-shell ---------- */
.zp-account { display: flex; flex-direction: column; gap: 20px; padding-block: 20px 64px; font-family: var(--zp-font-body); }
.zp-account__nav { margin-inline: calc(var(--zp-gutter) * -1); }
.zp-account__nav ul { list-style: none; margin: 0; padding: 0 var(--zp-gutter) 4px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; }
.zp-account__nav a {
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
  min-height: var(--zp-touch); padding: 0 16px; border-radius: var(--zp-radius-pill);
  background: var(--zp-white); color: var(--zp-ink); font-weight: 700; font-size: 15px; text-decoration: none;
}
.zp-account__nav a:hover { background: var(--zp-tint-petrol); color: var(--zp-ink); }
.zp-account__nav a[aria-current="page"] { background: var(--zp-petrol-text); color: var(--zp-white); }
.zp-account__nav .zp-icon { width: 18px; height: 18px; }
.zp-account__nav-sep { display: none; }
.zp-account__nav a.zp-account__logout { color: var(--zp-muted); }
.zp-account__count { margin-left: auto; padding: 2px 8px; border-radius: var(--zp-radius-pill); background: var(--zp-magenta); color: var(--zp-white); font-size: 12px; font-weight: 800; line-height: 1.4; }
.zp-account__main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.zp-account__title { font-size: clamp(32px, 4vw, 46px); line-height: 1.05; }
.zp-account__main h2 { font-size: 22px; line-height: 1.2; }
.zp-account__main h3 { font-size: 18px; line-height: 1.25; }
@media (min-width: 1024px) {
  .zp-account { flex-direction: row; align-items: flex-start; gap: 28px; padding-block: 32px 80px; }
  .zp-account__nav { flex: none; width: 240px; margin: 0; padding: 14px; border-radius: var(--zp-radius-lg); background: var(--zp-white); }
  .zp-account__nav ul { flex-direction: column; gap: 2px; padding: 0; overflow: visible; }
  .zp-account__nav a { border-radius: var(--zp-radius-option); padding: 0 14px; min-height: 46px; }
  .zp-account__nav a[aria-current="page"] { background: var(--zp-tint-petrol); color: var(--zp-petrol-dark); }
  .zp-account__nav .zp-icon { width: 20px; height: 20px; }
  .zp-account__nav-sep { display: block; height: 1px; margin: 8px 6px; background: var(--zp-line); }
}

/* ---------- Productkaart ---------- */
.zp-pcard {
  display: flex; flex-direction: column; overflow: hidden; height: 100%;
  background: var(--zp-white); border: 1px solid var(--zp-line); border-radius: var(--zp-radius-lg);
  color: var(--zp-ink); text-decoration: none; font-family: var(--zp-font-body); line-height: 1.6;
  transition: transform .2s ease, box-shadow .2s ease;
}
.zp-pcard:hover { transform: translateY(-4px); box-shadow: var(--zp-shadow-card); color: var(--zp-ink); }
.zp-pcard:focus-visible { outline: 3px solid var(--zp-magenta); outline-offset: 3px; border-radius: var(--zp-radius-lg); }
.zp-pcard__media { position: relative; height: 210px; overflow: hidden; background: var(--zp-tint-petrol); isolation: isolate; }
.zp-pcard__media--magenta { background: var(--zp-tint-magenta); }
.zp-pcard__photo { width: 100%; height: 100%; object-fit: cover; }
.zp-pcard__blob { position: absolute; right: -60px; bottom: -110px; width: 240px; height: 240px; border-radius: 50%; background: var(--zp-petrol); opacity: .14; }
.zp-pcard__media--magenta .zp-pcard__blob { background: var(--zp-magenta); }
.zp-pcard__badge { position: absolute; left: 14px; top: 14px; z-index: 2; padding: 6px 12px; }
.zp-pcard__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 18px 20px 20px; }
.zp-pcard__cat { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--zp-muted); }
.zp-pcard__title { margin: 0; font-family: var(--zp-font-display); font-weight: 800; font-size: 19px; line-height: 1.2; letter-spacing: -.01em; color: var(--zp-ink); }
.zp-pcard__desc { margin: 0; font-size: 14px; line-height: 1.5; color: var(--zp-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.zp-pcard__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 12px; }
.zp-pcard__price { font-size: 15px; color: var(--zp-ink); }
.zp-pcard__price strong { font-family: var(--zp-font-display); font-weight: 800; font-size: 21px; color: var(--zp-petrol-text); }
.zp-pcard__go { width: 40px; height: 40px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--zp-tint-petrol); color: var(--zp-petrol-text); }
.zp-pcard__go .zp-icon { width: 18px; height: 18px; stroke-width: 2.4; }
.zp-pcard:hover .zp-pcard__go { background: var(--zp-petrol-text); color: var(--zp-white); }

/* Productillustratie: één effen vorm per product op een tint (zoals redesign/designs/Categorie.dc.html) */
.zp-art { --art: var(--zp-petrol); --r: 0deg; position: absolute; left: 50%; top: 50%; z-index: 1; display: block; background: var(--art); box-shadow: var(--zp-shadow-print); transform: translate(-50%, -50%) rotate(var(--r)); }
.zp-art--magenta { --art: var(--zp-magenta); }
.zp-art--petrol { --art: var(--zp-petrol); }
.zp-art--ink { --art: var(--zp-ink); }
.zp-art--card { width: 150px; height: 88px; border-radius: 5px; --r: -8deg; }
.zp-art--sheet { width: 104px; height: 148px; border-radius: 2px; --r: 5deg; }
.zp-art--brochure { width: 190px; height: 118px; border-radius: 2px; --r: -4deg; background: linear-gradient(90deg, var(--zp-white) 50%, var(--art) 50%); }
.zp-art--banner { width: 66px; height: 160px; }
.zp-art--sticker { width: 100px; height: 100px; border-radius: 50%; box-shadow: 0 0 0 8px var(--zp-white), var(--zp-shadow-print); }
.zp-art--stationery { width: 116px; height: 156px; border-radius: 2px; --r: -3deg; background: var(--zp-white); }

/* ---------- Titelband (categorie, zoeken, tekst- en formulierpagina's) ---------- */
.zp-titleband { position: relative; overflow: hidden; background: var(--zp-bg-soft); }
.zp-titleband__mark { position: absolute; right: -80px; top: -120px; width: 420px; height: 420px; opacity: .9; pointer-events: none; }
.zp-titleband__mark .zp-logo__m { fill: var(--zp-tint-magenta); }
.zp-titleband__mark .zp-logo__p { fill: var(--zp-tint-petrol); }
.zp-titleband__inner { position: relative; display: flex; flex-direction: column; gap: 18px; padding-block: 24px 32px; }
.zp-titleband__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 16px; }
.zp-titleband__text { display: flex; flex-direction: column; gap: 10px; max-width: 620px; }
.zp-titleband__text .zp-lead { font-size: 17px; }
.zp-titleband__count { font-size: 15px; font-weight: 700; color: var(--zp-text); }
@media (min-width: 1024px) { .zp-titleband__inner { padding-block: 28px 40px; } }

.zp-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 14px; color: var(--zp-muted); }
.zp-crumbs a { color: var(--zp-muted); }
.zp-crumbs a:hover { color: var(--zp-petrol-text); }
.zp-crumbs [aria-current] { color: var(--zp-ink); font-weight: 700; }

.zp-catpills { display: flex; gap: 8px; padding-top: 6px; overflow-x: auto; margin-inline: calc(var(--zp-gutter) * -1); padding-inline: var(--zp-gutter); scrollbar-width: thin; }
.zp-catpills .zp-pill { font-size: 15px; }
@media (min-width: 640px) { .zp-catpills { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; } }

/* ---------- Hulpband onderaan ---------- */
.zp-helpband { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: 32px 28px; border-radius: var(--zp-radius-xl); background: var(--zp-tint-petrol); }
.zp-helpband > div { display: flex; flex-direction: column; gap: 8px; max-width: 620px; }
.zp-helpband h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.01em; }
.zp-helpband p { color: var(--zp-text); }
@media (min-width: 640px) { .zp-helpband { padding: 40px; } }

/* ---------- Tekstlink-knop (links en kleine acties in lijsten) ---------- */
.zp-line__links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.zp-line__links form { display: inline; }
.zp-line__link { display: inline-flex; align-items: center; min-height: 32px; padding: 0; border: 0; background: none; font: 700 14px var(--zp-font-body); color: var(--zp-petrol-text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.zp-line__link:hover { color: var(--zp-petrol-dark); }

/* ---------- Zoekpanel in de header (05 §5.3) ---------- */
.zp-header__search {
  position: relative;
}

.zp-searchpanel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--zp-white);
  border: 1px solid var(--zp-line);
  border-radius: var(--zp-radius-md);
  box-shadow: var(--zp-shadow-float);
  max-height: min(70vh, 560px);
  overflow-y: auto;
  z-index: 50;
  padding: 6px 0;
}

.zp-searchpanel[hidden] {
  display: none;
}

.zp-searchpanel__group {
  font: 800 12px var(--zp-font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--zp-muted);
  padding: 10px 14px 4px;
}

.zp-searchpanel__option {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: var(--zp-touch);
  padding: 8px 14px;
  text-decoration: none;
  color: var(--zp-text);
}

.zp-searchpanel__option:hover,
.zp-searchpanel__option[aria-selected="true"] {
  background: var(--zp-tint-petrol);
}

.zp-searchpanel__thumb {
  width: 40px;
  height: 40px;
  border-radius: var(--zp-radius-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--zp-bg-soft);
}

.zp-searchpanel__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zp-searchpanel__thumb .zp-icon {
  width: 20px;
  height: 20px;
  color: var(--zp-muted);
}

.zp-searchpanel__thumb .zp-art {
  width: 28px;
  height: 28px;
}

.zp-searchpanel__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.zp-searchpanel__title {
  font-weight: 700;
  font-size: 15px;
}

.zp-searchpanel__subtitle {
  color: var(--zp-muted);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zp-searchpanel__title mark,
.zp-searchpanel__subtitle mark {
  background: transparent;
  color: var(--zp-petrol-text);
  font-weight: 800;
}

.zp-searchpanel__price {
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.zp-searchpanel__note {
  margin: 0;
  padding: 10px 14px 4px;
  color: var(--zp-muted);
  font-size: 14px;
}

.zp-searchpanel__loading,
.zp-searchpanel__error {
  margin: 0;
  padding: 12px 14px;
  color: var(--zp-muted);
  font-size: 14px;
}

.zp-searchpanel__empty {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.zp-searchpanel__emptylinks {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.zp-searchpanel__emptylinks a {
  color: var(--zp-petrol-text);
  font-weight: 700;
  text-decoration: none;
  min-height: var(--zp-touch);
  display: flex;
  align-items: center;
}

.zp-searchpanel__recents {
  display: flex;
  flex-direction: column;
  padding: 0 6px 6px;
}

.zp-searchpanel__recent,
.zp-searchpanel__clear {
  background: none;
  border: 0;
  font: inherit;
  color: var(--zp-petrol-text);
  text-align: left;
  padding: 8px 10px;
  min-height: var(--zp-touch);
  cursor: pointer;
  border-radius: var(--zp-radius-sm);
}

.zp-searchpanel__recent:hover,
.zp-searchpanel__clear:hover {
  background: var(--zp-tint-petrol);
}

.zp-searchpanel__all {
  display: block;
  padding: 12px 14px;
  border-top: 1px solid var(--zp-line);
  margin-top: 6px;
  color: var(--zp-petrol-text);
  font-weight: 800;
  text-decoration: none;
  min-height: var(--zp-touch);
}

@media (min-width: 1024px) {
  .zp-searchpanel {
    left: auto;
    min-width: 360px;
  }
}


/* Oude prijs naast de vanaf-prijs (alleen bij echte korting) */
.zp-pcard__old { color: var(--zp-muted); font-weight: 600; margin-right: 2px; }

/* Meldingen: nummer op de avatar in de header */
.zp-header__avatarwrap { position: relative; display: inline-flex; }
.zp-header__notif {
  position: absolute; top: -5px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--zp-white); border-radius: var(--zp-radius-pill);
  background: var(--zp-petrol-text); color: var(--zp-white); font: 800 11px/1 var(--zp-font-body);
}
