/* ── NAVIGATIE ── */
:root {
  --topbar-offset: 31px;
  --mobile-header-offset: 107px;
}

.topbar {
  background: rgba(34, 30, 27, 0.55);
  color: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: var(--xs);
  font-weight: 500;
  padding: 8px var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 101;
}

.topbar a {
  color: inherit;
  transition: color var(--t-fast);
}

.topbar a:hover {
  color: #fff;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.whatsapp-button {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 7px 12px;
  font-size: var(--small);
  font-weight: 600;
  transition: background var(--t-fast), transform var(--t-fast);
}

.whatsapp-button:hover {
  background: #1fb657;
  color: #fff;
}

.whatsapp-button:active {
  transform: scale(0.98);
}

.topbar-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.topbar-pills {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.topbar-pills::-webkit-scrollbar {
  display: none;
}

.topbar-pill {
  background: rgba(255, 255, 255, 0.1);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
}

.nav {
  position: sticky;
  top: var(--topbar-offset);
  z-index: 100;
  background: rgba(34, 30, 27, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
  height: 110px;
}

.nav::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -2px;
  height: 2px;
  background: rgba(34, 30, 27, 0.6);
  pointer-events: none;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.nav-logo img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.nav-logo-name {
  font-family: var(--font-display);
  font-size: 4.4rem;
  color: #fafaf8;
  letter-spacing: 0.04em;
  line-height: 1;
}

.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}

.nav-links a {
  font-size: var(--body);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  transition: color var(--t-fast);
}

.nav-links a:hover {
  color: var(--terra);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: var(--space-sm);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0.5px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--t-fast);
}

.nav-toggle:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

.nav-toggle span {
  width: 16px;
  height: 1.5px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.9);
  transition: transform var(--t-fast), opacity var(--t-fast);
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-mobile-menu {
  display: none;
}

.nav-open .nav-mobile-menu {
  display: flex;
}

.nav-mobile-menu a {
  color: rgba(255, 255, 255, 0.95);
}

.nav-mobile-menu .nav-mobile-cta {
  display: none;
}

.nav-mobile-portraits {
  display: block;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.95);
  text-align: left;
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: var(--small);
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
}

.nav-mobile-portraits:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nav-cart {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0.5px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--t-fast);
}

/* ── Portrait-drawer triggers (.nav-portraits, #nav-portraits-btn-mobile): sync met phpassets/header.php + js/header.js ── */

.nav-portraits {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  background: transparent;
  border: 0.5px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
  position: relative;
}

.nav-portraits[hidden] {
  display: none !important;
}

/*
 * Failsafe: oude/gestripte HTML kan hidden + zichtbare display combineren; native hidden blokkeert soms klikken.
 * Verwijder bij voorkeur hidden server-side; deze regels zijn backup naast JS removeAttribute in header.js.
 */
#nav-portraits-btn[hidden] {
  display: inline-flex !important;
  pointer-events: auto;
}

#nav-portraits-btn-mobile[hidden] {
  display: block !important;
  pointer-events: auto;
}

.nav-portraits:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

.nav-portraits-label {
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-portraits-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--terra);
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
  font-weight: 700;
}

.portraits-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(20, 17, 15, 0.55);
  display: flex;
  justify-content: flex-end;
}

.portraits-drawer-backdrop[hidden] {
  display: none !important;
}

.portraits-drawer {
  width: min(100%, 420px);
  height: 100%;
  background: #fff;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

@media (max-width: 600px) {
  .portraits-drawer {
    width: min(72vw, 280px);
  }
}

.portraits-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.portraits-drawer-head h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--anker);
}

.portraits-drawer-close {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 1.7rem;
  cursor: pointer;
  line-height: 1;
}

.portraits-drawer-content {
  flex: 1;
  min-height: 0; /* flex child: zonder dit scrolt de lijst niet binnen de drawer */
  overflow: auto;
  padding: 8px 16px;
}

.portraits-wallet-info {
  margin: 10px 16px 6px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #faf8f5;
  /* Heel blok iets vervagen: tegoed is nog preview / “binnenkort”, niet volledig actief */
  opacity: 0.4;
}

.portraits-wallet-title {
  margin: 0 0 8px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--anker);
  letter-spacing: 0.02em;
}

.portraits-wallet-balance {
  margin: 0;
  color: var(--anker);
  font-size: 0.92rem;
}

.portraits-wallet-meta {
  margin: 4px 0 0;
  color: var(--anker);
  font-size: 0.84rem;
}

.portraits-wallet-note {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

.portraits-wallet-topup {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.82rem;
  text-decoration: underline;
}

.portraits-wallet-topup.is-disabled {
  color: var(--muted);
  text-decoration: none;
  cursor: default;
}

.portraits-drawer-empty {
  color: var(--muted);
  margin: 12px 0;
}

.portraits-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.portraits-variant-group {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Meerdere versies: één duidelijk “hokje” zodat de rijen als familie leesbaar zijn (drawer is smal). */
.portraits-variant-group--multi {
  gap: 0;
  padding: 12px 12px 12px 14px;
  border-radius: 12px;
  background: rgba(184, 116, 85, 0.06);
  border: 1px solid rgba(184, 116, 85, 0.2);
  border-left: 3px solid var(--terra);
  box-shadow: 0 1px 2px rgba(44, 40, 37, 0.05);
}

.portraits-variant-group-head {
  margin: 0 0 2px 2px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.portraits-variant-group--multi .portraits-variant-group-head {
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(184, 116, 85, 0.14);
  color: var(--anker);
}

.portraits-variant-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.portrait-item-variant-hint {
  margin: 4px 0 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--terra);
}

.portrait-item {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.portrait-item:hover,
.portrait-item:focus-visible {
  border-color: var(--terra);
  box-shadow: 0 0 0 1px rgba(184, 116, 85, 0.2);
}

.portrait-item img {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  object-fit: cover;
  background: #f5f2ef;
}

.portrait-item-meta {
  min-width: 0;
}

.portrait-item-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--anker);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.portrait-item-sub {
  margin: 2px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.portrait-item-open {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--terra);
  text-decoration: underline;
}

.portrait-item-status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.portrait-status--concept {
  background: #efe3da;
  color: #7f4e31;
}

.portrait-status--purchased {
  background: #dff1e7;
  color: #1e6a45;
}

.portrait-status--deleted {
  background: #f4e2e2;
  color: #8a3636;
}

.portraits-drawer-footer {
  border-top: 1px solid var(--border);
  padding: 12px 16px;
}

.portraits-drawer-footer .btn {
  width: 100%;
  justify-content: center;
}

.portraits-drawer-all-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.88rem;
  color: var(--terra);
  text-decoration: underline;
}

.portraits-drawer-all-link.is-disabled {
  color: var(--muted);
  text-decoration: none;
  cursor: default;
}

.nav-cart:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

.nav-cart--active {
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.08);
  position: relative;
}

.nav-cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--terra);
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
  font-weight: 700;
}

/* ── HERO ── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--anker);
  min-height: 90vh;
  display: flex;
  align-items: flex-end;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #3a3430 0%, #1a1714 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("/images/hero.jpg");
  background-size: cover;
  background-position: center center;
}

@media (max-width: 500px) {
  .hero-media {
    height: 500px;
  }
}

.hero-media-placeholder {
  font-family: var(--font-body);
  font-size: var(--small);
  color: rgba(255, 255, 255, 0.12);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.1) 60%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-md);
  width: 100%;
  padding-bottom: var(--space-md);
  margin-bottom: var(--space-3xl);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-card {
  background: var(--wit);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  max-width: 440px;
  animation: heroCardIn 0.7s ease both;
}

@keyframes heroCardIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-card h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 0.75rem;
}

.hero-card p {
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-size: var(--small);
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-vanaf {
  display: inline-flex;
  align-items: center;
  background: var(--creme);
  color: var(--anker);
  font-size: var(--small);
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
}

.hero-vanaf span {
  color: var(--terra);
  margin-left: 4px;
}

.hero-payment {
  display: flex;
  gap: 6px;
  align-items: center;
}

.hero-payment-badge {
  background: var(--zand);
  color: var(--muted);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 0.5px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: heroCardIn 0.7s 0.2s ease both;
}

.hero-badge-link {
  transition: transform var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}

.hero-badge-link:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.hero-stars {
  color: #f5a623;
  font-size: 15px;
  letter-spacing: 2px;
}

.hero-badge-text {
  color: #fff;
  font-size: var(--small);
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--creme);
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  padding: 20px var(--space-md);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-google-rating {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.trust-stars {
  color: #f5a623;
  font-size: 14px;
  letter-spacing: 2px;
  line-height: 1;
  display: inline-block;
  min-width: 5.8em;
}

.trust-score {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--anker);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.trust-label {
  font-size: var(--small);
  color: var(--muted);
  line-height: 1.4;
}

.trust-label strong {
  display: block;
  color: var(--anker);
  font-weight: 600;
}

.trust-divider {
  width: 0.5px;
  height: 40px;
  background: var(--border);
}

/* ── SECTIES ── */
.sectie {
  padding: var(--space-xl) 0;
}

.sectie[id] {
  scroll-margin-top: 140px;
}

.sectie-bg-creme {
  background: var(--creme);
}

.sectie-bg-anker {
  background: var(--anker);
}


.sectie-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
  gap: 8px;
}

.sectie-link {
  font-size: var(--small);
  color: var(--terra);
  font-weight: 500;
}

.sectie-link:hover {
  color: var(--terra-donker);
}

.sectie-subkop {
  font-size: var(--small);
  color: var(--muted);
  margin: -4px 0 var(--space-md);
}

#stijlen .sectie-header {
  margin-bottom: 6px;
}

#stijlen .sectie-subkop {
  margin: 0 0 12px;
}

/* ── Speciale wensen (maatwerk) ── */
.sectie-speciale-wensen.sectie {
  padding: var(--space-md) 0;
}

.sectie-speciale-wensen .speciale-wensen-card {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-md);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fbf9f7;
}

.sectie-speciale-wensen .speciale-wensen-titel {
  margin-bottom: 6px;
  color: var(--anker);
}

.sectie-speciale-wensen .speciale-wensen-intro {
  margin: 0 0 var(--space-md);
}

.sectie-speciale-wensen .speciale-wensen-lijst {
  margin: 0 0 var(--space-md);
  padding-left: 1.25rem;
  color: var(--anker);
  font-size: var(--small);
  line-height: 1.55;
}

.sectie-speciale-wensen .speciale-wensen-lijst li {
  margin-bottom: 6px;
}

.sectie-speciale-wensen .speciale-wensen-lijst li:last-child {
  margin-bottom: 0;
}

.sectie-speciale-wensen .speciale-wensen-slot {
  margin: 0 0 var(--space-md);
  font-size: var(--small);
  color: var(--muted);
  line-height: 1.5;
}

.sectie-speciale-wensen .speciale-wensen-acties {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* ── QUOTE SECTIE ── */
.quote-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.quote-foto {
  aspect-ratio: 4/3;
  background: var(--zand);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: var(--small);
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
}

.quote-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.quote-tekst blockquote {
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.55;
  font-style: italic;
  color: var(--anker);
  margin-bottom: 16px;
}

.quote-naam {
  font-size: var(--small);
  color: var(--muted);
}

/* ── GALERIJ ── */
.galerij-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.galerij-scroll::-webkit-scrollbar {
  height: 3px;
}

.galerij-scroll::-webkit-scrollbar-track {
  background: var(--zand);
  border-radius: 2px;
}

.galerij-scroll::-webkit-scrollbar-thumb {
  background: var(--terra-licht);
  border-radius: 2px;
}

.stijl-kaart {
  flex: 0 0 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform var(--t-normal);
}

.stijl-kaart:hover {
  transform: translateY(-4px);
}

.stijl-foto {
  aspect-ratio: 3/4;
  background: var(--zand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--small);
  color: var(--muted);
}

.stijl-foto .stijl-foto-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.stijl-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  padding: 2rem 1rem 1rem;
}

.stijl-naam {
  color: #fff;
  font-size: var(--small);
  font-weight: 500;
  margin-bottom: 2px;
}

.stijl-cta {
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}

/* ── PROCES ── */
.proces-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.proces-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.stap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.stap-nr {
  width: 52px;
  height: 52px;
  background: var(--anker);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.stap-titel {
  font-size: var(--small);
  font-weight: 600;
  color: var(--anker);
}

.stap-tekst {
  font-size: var(--small);
  color: var(--muted);
  line-height: 1.5;
}

/* ── PRODUCTEN ── */
.producten-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: var(--space-md);
}

.product-kaart {
  background: rgba(255, 255, 255, 0.06);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 20px;
  cursor: pointer;
  transition: background var(--t-fast);
}

.product-kaart:hover {
  background: rgba(255, 255, 255, 0.1);
}

.product-foto {
  aspect-ratio: 3/4;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
}

.product-foto--has-image {
  background: transparent;
}

.product-foto-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-naam {
  font-size: var(--small);
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.product-prijs {
  font-size: var(--small);
  color: var(--terra-licht);
}

/* Productlandings: varianten op lichte achtergrond (sectie-bg-creme) */
.landing-product-varianten-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.landing-product-varianten-grid .product-kaart {
  background: #fff;
  border: 1px solid rgba(44, 40, 37, 0.1);
  box-shadow: 0 8px 24px rgba(44, 40, 37, 0.06);
  cursor: default;
}

.landing-product-varianten-grid .product-kaart:hover {
  background: #fff;
  border-color: rgba(44, 40, 37, 0.14);
}

.landing-product-varianten-grid .product-foto {
  background: var(--anker);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 600;
  box-shadow: inset 0 -4px 0 0 var(--landing-variant-swatch, transparent);
}

.landing-product-varianten-grid .product-naam {
  color: var(--anker);
}

.landing-product-varianten-grid .product-prijs {
  color: var(--terra);
}

.landing-variant-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--terra);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
}

.landing-variant-desc {
  margin-top: 10px;
  line-height: 1.45;
}

/* ── REVIEWS ── */
.reviews-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: var(--space-md);
}

.reviews-score {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--anker);
}

.reviews-stars {
  color: #f5a623;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.reviews-carousel-wrapper {
  overflow: hidden;
  width: 100%;
}

.reviews-scroll {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: reviews-scroll-left 40s linear infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.reviews-scroll:hover {
  animation-play-state: paused;
}

@keyframes reviews-scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.review-kaart {
  flex: 0 0 340px;
  background: var(--creme);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--t-fast);
  box-sizing: border-box;
}

.review-kaart:hover {
  border-color: var(--terra-licht);
}

.review-sterren {
  color: #f5a623;
  font-size: 13px;
  letter-spacing: 2px;
}

.review-tekst {
  font-size: var(--small);
  color: var(--anker);
  line-height: 1.6;
  flex: 1;
}

.review-naam {
  font-size: 12px;
  color: var(--muted);
}

.review-kaart img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 4/3;
  object-fit: cover;
  margin-top: 4px;
}

html.is-safari .reviews-carousel-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

html.is-safari .reviews-carousel-wrapper::-webkit-scrollbar {
  display: none;
}

html.is-safari .reviews-scroll {
  animation: none;
  width: max-content;
  padding: 2px 0 6px;
}

html.is-safari .review-kaart {
  scroll-snap-align: start;
}

@media (max-width: 600px) {
  .review-kaart {
    flex: 0 0 260px;
  }
}

/* ── DUBBEL-SECTIE ── */
.dubbel-sectie {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.dubbel-blok {
  padding: var(--space-xl) var(--space-xl);
}

.dubbel-cadeau {
  background: #fff8f0;
}

.dubbel-herinnering {
  background: #f0f4fa;
}

.dubbel-blok h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 14px;
}

.dubbel-blok p {
  font-size: var(--small);
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: var(--space-md);
}

/* ── FAQ ── */
.faq-inner {
  max-width: 720px;
  margin: 0 auto;
}

.faq-categorie + .faq-categorie {
  margin-top: var(--space-md);
}

.faq-categorie[id] {
  scroll-margin-top: 160px;
}

.faq-categorie-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  list-style: none;
  padding: 2px 0 8px;
}

.faq-categorie-trigger::marker,
.faq-categorie-trigger::-webkit-details-marker {
  display: none;
}

.faq-categorie-title {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  color: var(--anker);
  margin: 0;
}

.faq-categorie-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  color: var(--terra);
  transition: transform var(--t-normal), border-color var(--t-fast);
}

.faq-categorie[open] .faq-categorie-icon {
  transform: rotate(45deg);
}

.faq-categorie-trigger:hover .faq-categorie-icon {
  border-color: var(--terra);
}

.faq-item {
  border-bottom: 0.5px solid var(--border);
}

.faq-vraag {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: var(--small);
  font-weight: 500;
  cursor: pointer;
  color: var(--anker);
  list-style: none;
  transition: color var(--t-fast);
}

.faq-vraag:hover {
  color: var(--terra);
}

.faq-vraag::marker,
.faq-vraag::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  color: var(--terra);
  transition: transform var(--t-normal);
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-antwoord {
  font-size: var(--small);
  color: var(--muted);
  line-height: 1.65;
  padding-bottom: 20px;
}

.faq-antwoord a {
  color: var(--terra);
  text-decoration: none;
}

.faq-antwoord a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-kop {
  font-family: var(--font-display);
  font-size: var(--h2);
  line-height: 1.05;
  margin-bottom: 6px;
}

.contact-subkop {
  color: var(--muted);
  margin-bottom: var(--space-sm);
}

.contact-email {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--terra);
  margin-bottom: var(--space-sm);
}

.contact-opties {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-optie {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--small);
  color: var(--anker);
}

.contact-image {
  margin-top: var(--space-sm);
  width: 100%;
  max-width: 260px;
  border-radius: var(--radius-md);
  border: 0.5px solid var(--border);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: var(--small);
  background: var(--wit);
  color: var(--anker);
  margin-bottom: 10px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--terra);
  box-shadow: 0 0 0 3px rgba(184, 116, 85, 0.15);
}

.contact-form textarea {
  height: 110px;
  resize: none;
}

.contact-form-kop {
  font-family: var(--font-display);
  font-size: var(--h3);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

/* ── SLUIT-CTA ── */
.sluit-cta {
  padding: var(--space-2xl) var(--space-md);
  text-align: center;
  background: var(--anker);
}

.sluit-cta h2 {
  color: #fff;
  max-width: 600px;
  margin: 0 auto var(--space-md);
}

/* ── FOOTER ── */
.footer {
  background: var(--footer-bg);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: var(--small);
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  margin-bottom: 8px;
  line-height: 1.5;
  transition: color var(--t-fast);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 0.5px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-made {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-made .heart {
  color: #e53935;
}

.footer-bridge-icon {
  display: inline-block;
  width: 30px;
  aspect-ratio: 1 / 1;
  background-color: currentColor;
  -webkit-mask: url("/images/brug_icon.svg") no-repeat center / contain;
  mask: url("/images/brug_icon.svg") no-repeat center / contain;
}

.footer-payment {
  display: flex;
  gap: 8px;
}

.footer-legal {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color var(--t-fast);
}

.footer-legal a:hover {
  color: #fff;
}

.footer-payment-badge {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
}

.footer-sig {
  height: 44px;
  object-fit: contain;
  opacity: 0.55;
}

.footer-address {
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.55;
  margin-bottom: 12px;
}

.footer-address strong {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cookie-settings-link {
  background: transparent;
  border: none;
  padding: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.cookie-settings-link:hover {
  color: #fff;
}

/* ── COOKIE CONSENT ── */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 300;
  max-width: 960px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(44, 40, 37, 0.15);
  padding: 16px;
}

  .cookie-banner[hidden],
  .cookie-modal[hidden],
  .cookie-modal-backdrop[hidden],
  .wizard-lightbox-backdrop[hidden] {
  display: none !important;
}

.cookie-banner h3,
.cookie-modal h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.cookie-banner p,
.cookie-modal p {
  color: var(--muted);
  font-size: var(--small);
  line-height: 1.5;
}

.cookie-actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-btn {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--anker);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
}

.cookie-btn-primary {
  background: var(--terra);
  border-color: var(--terra);
  color: #fff;
}

.cookie-btn:hover {
  border-color: var(--terra);
}

.cookie-btn-primary:hover {
  background: var(--terra-donker);
  border-color: var(--terra-donker);
}

.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 310;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.cookie-modal {
  background: #fff;
  width: min(100%, 560px);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border);
}

.cookie-group {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.cookie-group:last-of-type {
  border-bottom: none;
}

.cookie-group strong {
  display: block;
  margin-bottom: 4px;
}

/* ── WIZARD LIGHTBOX ── */
.wizard-lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(20, 17, 15, 0.65);
  box-sizing: border-box;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.wizard-lightbox {
  position: relative;
  width: min(100%, 980px);
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 24px 50px rgba(20, 17, 15, 0.22);
}

.wizard-lightbox-close {
  position: absolute;
  right: 10px;
  top: 8px;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.9rem;
  line-height: 1;
}

.wizard-lightbox-eyebrow {
  margin: 0 0 8px;
  color: var(--terra);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.wizard-lightbox h3 {
  margin: 0 0 10px;
  font-size: 1.4rem;
  color: var(--anker);
}

.wizard-lightbox p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.wizard-lightbox-subtitle {
  margin-top: 4px;
}

.wizard-progress-container {
  margin-top: 16px;
  height: 8px;
  border-radius: 999px;
  background: #f1ece8;
  overflow: hidden;
}

.wizard-progress-bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--terra), #d9a186);
  transition: width var(--t-fast);
}

.wizard-step {
  margin-top: 16px;
}

.wizard-step-title {
  margin: 0 0 10px;
  color: var(--anker);
  font-size: 1.05rem;
}

.wizard-intro {
  margin-top: 0;
}

.wizard-step-questions {
  margin-top: 12px;
}

.wizard-question-hero {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fbf9f7;
  padding: 14px;
}

.wizard-question-step-label {
  margin: 0 0 10px;
  color: var(--terra);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.wizard-question-title {
  margin: 0 0 10px;
  font-size: 1.35rem;
  line-height: 1.25;
}

.wizard-help {
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.wizard-input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 11px 14px;
  font-size: var(--small);
}

.wizard-quick-species {
  margin: 0 0 4px;
}

.wizard-quick-species-hint {
  margin: 0 0 8px;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: left;
}

.wizard-quick-species-alt {
  margin: 20px 0 0 !important;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: left;
}

.wizard-quick-species-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
}

.wizard-quick-species-row .wizard-quick-species-btn {
  flex: 0 0 7.25rem;
  width: 7.25rem;
  max-width: 100%;
  box-sizing: border-box;
  justify-content: center;
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.wizard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.wizard-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fbf9f7;
  padding: 12px;
}

.wizard-drop-zone {
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 110px;
  border: 1px dashed #c7b7aa;
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--muted);
  font-size: 0.9rem;
  cursor: pointer;
  padding: 10px;
}

/* iOS Safari: display:none/hidden on file inputs breaks the change event after pick */
.wizard-file-input-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
  font-size: 0;
}

.wizard-drop-zone #wizard-upload-label {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

#wizard-upload-label {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.3;
}

.wizard-drop-zone.drag-over {
  border-color: var(--terra);
  background: #fdf3ee;
}

.wizard-drop-zone.upload-complete {
  min-height: 56px;
  padding: 8px 10px;
  border-style: solid;
  border-color: #d8c7ba;
}

.wizard-status {
  margin-top: 10px;
  font-size: 12px;
  color: var(--anker);
}

.wizard-upload-preview {
  display: block;
  width: min(260px, 100%);
  aspect-ratio: 1 / 1;
  max-height: none;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
}

.wizard-upload-preview[hidden] {
  display: none;
}

.wizard-upload-progress {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: #eadfd7;
  overflow: hidden;
  margin-top: 10px;
}

.wizard-upload-progress[hidden] {
  display: none;
}

.wizard-question-help {
  margin-bottom: 10px;
}

.wizard-upload-multi-note {
  font-size: 0.82rem;
  margin-top: -4px;
  margin-bottom: 10px;
}

.wizard-upload-bullets {
  margin: 0 0 10px;
  padding-left: 18px;
  color: var(--muted);
}

.wizard-upload-bullets li {
  margin: 0 0 8px;
  line-height: 1.55;
}

.wizard-upload-bullets li:last-child {
  margin-bottom: 0;
}

.wizard-upload-progress-bar {
  height: 100%;
  width: 0;
  background: var(--terra);
  transition: width 0.15s ease-out;
}

#wizard-to-template-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.2);
}

.wizard-template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 8px;
}

.wizard-template-extra {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 20px 45px rgba(20, 17, 15, 0.35);
  width: min(100%, 520px);
}

.wizard-template-extra-close {
  position: absolute;
  right: 8px;
  top: 6px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.wizard-template-extra-actions {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
}

.wizard-template-extra-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 17, 15, 0.52);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: var(--radius-md);
  z-index: 4;
}

.wizard-template-extra-backdrop[hidden] {
  display: none !important;
}

#wizard-step-template {
  position: relative;
}

.wizard-card.wizard-template-dim {
  filter: brightness(0.72);
  transition: filter .2s ease;
}

.wizard-template-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--anker);
  font-size: 13px;
  font-weight: 500;
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.wizard-template-item:hover {
  border-color: var(--terra-licht);
}

.wizard-template-item.active {
  border-color: var(--terra);
  background: #fdf2ec;
}

.wizard-template-thumb {
  width: 100%;
  max-width: 250px;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.wizard-template-name {
  display: block;
  margin-top: 2px;
}

@media (min-width: 900px) {
  .wizard-template-thumb {
    max-width: 300px;
  }
}

@media (max-width: 520px) {
  .wizard-template-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .wizard-template-thumb {
    max-width: 260px;
  }
}

/* Smalle viewports: hele wizard via backdrop scrollen (geen afsnijden bij flex-center) */
@media (max-width: 900px) {
  .wizard-lightbox-backdrop {
    align-items: flex-start;
    padding-top: max(12px, env(safe-area-inset-top, 0px));
    padding-bottom: max(20px, env(safe-area-inset-bottom, 0px));
    padding-left: max(12px, env(safe-area-inset-left, 0px));
    padding-right: max(12px, env(safe-area-inset-right, 0px));
  }

  .wizard-lightbox {
    margin-inline: auto;
  }

  .wizard-template-grid {
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
  }
}

/* Kleine telefoons: wizard in één scherm, minimaal backdrop-scrollen; alleen stap-inhoud scrollt */
@media (max-width: 600px) {
  .wizard-lightbox-backdrop {
    align-items: center;
    justify-content: center;
    padding-top: max(6px, env(safe-area-inset-top, 0px));
    padding-bottom: max(6px, env(safe-area-inset-bottom, 0px));
    padding-left: max(6px, env(safe-area-inset-left, 0px));
    padding-right: max(6px, env(safe-area-inset-right, 0px));
  }

  .wizard-lightbox {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    /* 100vh fallback, daarna dynamische viewport (mobiele browser UI) */
    max-height: calc(100vh - max(12px, env(safe-area-inset-top, 0px)) - max(12px, env(safe-area-inset-bottom, 0px)));
    max-height: calc(100dvh - max(12px, env(safe-area-inset-top, 0px)) - max(12px, env(safe-area-inset-bottom, 0px)));
    padding: 10px 12px 12px;
    overflow: hidden;
    border-radius: 14px;
  }

  .wizard-lightbox-close {
    right: 6px;
    top: 4px;
    font-size: 1.65rem;
  }

  .wizard-lightbox-eyebrow {
    margin: 0 0 4px;
    font-size: 11px;
  }

  .wizard-lightbox h3 {
    margin: 0 0 6px;
    font-size: 1.15rem;
    line-height: 1.2;
  }

  .wizard-lightbox-subtitle {
    margin-top: 2px;
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .wizard-progress-container {
    margin-top: 8px;
    height: 6px;
    flex-shrink: 0;
  }

  .wizard-intro:not([hidden]) {
    flex-shrink: 0;
  }

  #wizard-step-questions:not([hidden]),
  #wizard-step-upload:not([hidden]),
  #wizard-step-template:not([hidden]) {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    margin-top: 8px;
  }

  #wizard-step-questions .wizard-question-hero,
  #wizard-step-upload .wizard-card,
  #wizard-step-template .wizard-card {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  #wizard-step-questions .wizard-lightbox-actions,
  #wizard-step-upload .wizard-lightbox-actions,
  #wizard-step-template .wizard-lightbox-actions {
    flex-shrink: 0;
    margin-top: 10px;
    padding-top: 2px;
    gap: 8px;
  }

  .wizard-step-questions {
    margin-top: 0;
  }

  .wizard-step {
    margin-top: 0;
  }

  .wizard-question-hero {
    padding: 10px;
  }

  .wizard-question-step-label {
    margin: 0 0 6px;
    font-size: 11px;
  }

  .wizard-question-title {
    margin: 0 0 8px;
    font-size: 1.12rem;
    line-height: 1.22;
  }

  .wizard-help {
    font-size: 0.82rem;
    margin-bottom: 8px;
    line-height: 1.45;
  }

  .wizard-input {
    padding: 9px 12px;
    font-size: 16px; /* voorkomt zoom op iOS */
  }

  .wizard-quick-species-hint {
    margin: 0 0 6px;
  }

  .wizard-quick-species-alt {
    margin: 12px 0 0 !important;
  }

  .wizard-quick-species-row {
    gap: 8px;
  }

  .wizard-quick-species-row .wizard-quick-species-btn {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    max-width: none;
    padding: 7px 10px;
    font-size: 0.78rem;
  }

  .wizard-card {
    padding: 10px;
  }

  .wizard-step-title {
    margin: 0 0 6px;
    font-size: 0.98rem;
  }

  .wizard-upload-bullets {
    margin: 0 0 8px;
    padding-left: 16px;
    font-size: 0.82rem;
  }

  .wizard-upload-bullets li {
    margin: 0 0 5px;
    line-height: 1.4;
  }

  .wizard-drop-zone {
    min-height: 72px;
    padding: 8px;
    font-size: 0.82rem;
  }

  .wizard-upload-preview {
    width: 100%;
    max-width: 220px;
    max-height: min(38vh, 200px);
    margin-top: 8px;
  }

  .wizard-template-grid {
    gap: 8px;
    max-height: none;
  }

  .wizard-template-item {
    padding: 8px;
    gap: 6px;
    font-size: 12px;
  }

  .wizard-template-thumb {
    max-width: min(200px, 100%);
    border-radius: 12px;
  }

  .wizard-status {
    margin-top: 6px;
    font-size: 11px;
  }

  .wizard-lightbox-actions .btn {
    min-height: 44px;
    padding: 10px 14px;
  }
}

.wizard-lightbox-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wizard-back-link {
  border: none;
  background: transparent;
  padding: 0;
  color: var(--terra);
  text-decoration: underline;
  cursor: pointer;
  font-size: var(--small);
  line-height: 1.2;
}

.wizard-back-link:hover {
  color: var(--terra-donker);
}

.wizard-step-questions .wizard-lightbox-actions {
  margin-top: 12px;
}

  .wizard-grid {
    grid-template-columns: 1fr;
  }

/* ── KAARTEN (generiek) ── */
.card {
  background: var(--wit);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

/* ── PILLS ── */

/* ── RESPONSIVE ── */
/*
 * Smalle desktop/tablet (±900–1100px): volledige nav-rij werd breder dan viewport.
 * Compactere gaps + kleiner logo/woordmerk; alleen icoon bij “Mijn portretten”.
 */
@media (max-width: 1100px) {
  .nav-inner {
    gap: 12px;
    padding: 0 12px;
    min-width: 0;
  }

  .nav-logo {
    gap: 10px;
    min-width: 0;
  }

  .nav-logo img {
    width: 64px;
    height: 64px;
  }

  .nav-logo-name {
    font-size: 2.75rem;
    letter-spacing: 0.03em;
  }

  .nav-links {
    gap: 12px;
  }

  .nav-links a {
    font-size: 0.88rem;
  }

  .nav-actions {
    gap: 6px;
    margin-left: 4px;
  }

  .nav-portraits-label {
    display: none;
  }

  .nav-portraits {
    padding: 0 10px;
    gap: 6px;
    min-width: 44px;
  }

  .nav-actions .btn {
    padding: 8px 12px;
    font-size: 11px;
  }

  .nav-cart {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 900px) {
  :root {
    --topbar-offset: 31px;
    --mobile-header-offset: 111px;
  }

  body {
    padding-top: var(--mobile-header-offset);
  }

  .topbar > div:first-child {
    display: flex;
    justify-content: center;
    gap: 10px !important;
    flex-wrap: wrap;
    width: 100%;
  }

  .topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    justify-content: center;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 6px;
    min-height: 36px;
    padding: 6px 10px;
  }

  .topbar-pills {
    width: 100%;
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .topbar-pill {
    flex: 0 0 auto;
  }

  .nav {
    position: fixed;
    top: var(--topbar-offset);
    left: 0;
    right: 0;
    width: 100%;
    height: 80px;
  }

  .nav-portraits-label {
    display: inline;
  }

  .nav-portraits {
    display: inline-flex;
  }

  .nav-mobile-portraits {
    display: none;
  }

  .quote-grid {
    grid-template-columns: 1fr;
  }

  .producten-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dubbel-sectie {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .proces-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-logo-name {
    font-size: 3rem;
  }

  .hero-content {
    margin-bottom: var(--space-xl);
  }
}

/* Extra compact vanaf ~960px (overlap met smalle desktop vóór “mobiel” hamburger) */
@media (max-width: 960px) {
  .nav-inner {
    padding: 0 12px;
    gap: 10px;
  }

  .nav-logo {
    gap: 8px;
  }

  .nav-logo img {
    width: 58px;
    height: 58px;
  }

  .nav-logo-name {
    font-size: 2.35rem;
  }

  .nav-links {
    gap: 10px;
  }

  .nav-links a {
    font-size: 0.85rem;
  }

  .nav-actions {
    gap: 5px;
    margin-left: 4px;
  }

  .nav-actions .btn {
    padding: 8px 9px;
    font-size: 10px;
  }

  .nav-cart {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 600px) {
  :root {
    --topbar-offset: 35px;
    --mobile-header-offset: 107px;
  }

  body {
    padding-top: var(--mobile-header-offset);
  }

  .nav-links {
    display: none;
  }

  .nav-portraits-label {
    display: none;
  }

  .nav-portraits {
    display: none !important;
  }

  .nav-mobile-portraits {
    display: block;
  }

  .nav-mobile-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 10px;
    left: 10px;
    z-index: 120;
    background: rgba(34, 30, 27, 0.96);
    border: 0.5px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 10px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
    flex-direction: column;
    gap: 2px;
  }

  .nav-mobile-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: var(--small);
    font-weight: 500;
  }

  .nav-mobile-menu a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
  }

  .nav-logo-name {
    font-size: 2rem;
  }

  .nav {
    position: fixed;
    height: 72px;
    top: var(--topbar-offset);
    left: 0;
    right: 0;
    width: 100%;
  }

  .nav-inner {
    padding: 0 10px;
    gap: 10px;
  }

  .nav-logo {
    gap: 10px;
  }

  .nav-actions {
    margin-left: auto;
    gap: 8px;
  }

  .nav-toggle {
    display: inline-flex;
    order: 3;
  }

  .nav-cart {
    order: 2;
  }

  .nav-actions .btn {
    order: 1;
  }

  .nav-actions .btn {
    font-size: 12px;
    padding: 9px 12px;
  }

  .nav-logo img {
    width: 52px;
    height: 52px;
  }

  .producten-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .trust-divider {
    display: none;
  }

  .hero-content {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: var(--space-lg);
  }

  .hero-card {
    max-width: 100%;
  }

  /* Safari-friendly mobile hero: stack image and card */
  .hero {
    display: block;
    min-height: auto;
  }

  .hero-media {
    position: relative;
    inset: auto;
    width: 100%;
    height: 52vw;
    min-height: 260px;
    max-height: 420px;
  }

  .hero-overlay {
    display: none;
  }

  .hero-content {
    position: relative;
    padding-top: 12px;
    margin-bottom: var(--space-md);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .dubbel-blok {
    padding: var(--space-lg) var(--space-md);
  }

  .proces-steps {
    grid-template-columns: 1fr;
  }

  .topbar > div:first-child {
    display: flex;
    justify-content: center;
    gap: 8px !important;
    flex-wrap: wrap;
    width: 100%;
  }

  .topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    min-height: 40px;
    padding: 6px 8px;
    justify-content: center;
    align-items: stretch;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 6px;
    overflow: visible;
  }

  .topbar a {
    font-size: 11px;
  }

  .topbar-pills {
    width: 100%;
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 4px;
  }

  .topbar-pill {
    flex: 0 0 auto;
  }

  .hero-badge {
    align-self: flex-start;
  }

  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
}


@media (max-width: 430px) {
  html,
  body {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .topbar,
  .nav,
  .hero,
  .hero-media {
    max-width: 100vw;
  }

  .nav-logo-name {
    font-size: 1.5rem;
  }

  .nav-inner {
    padding: 0 8px;
    gap: 6px;
  }

  .nav-logo {
    gap: 6px;
  }

  .nav-logo img {
    width: 42px;
    height: 42px;
  }

  .nav-actions {
    gap: 4px;
  }

  .nav-actions .btn {
    font-size: 10px;
    padding: 7px 8px;
    letter-spacing: 0;
  }

  .nav-mobile-menu {
    top: calc(100% + 6px);
    right: 8px;
    left: 8px;
  }
}

@media (max-width: 400px) {
  .topbar-pills {
    justify-content: flex-start;
    gap: 6px;
    padding: 0 2px 2px;
    scroll-snap-type: x proximity;
  }

  .topbar-pill {
    font-size: 10px;
    padding: 2px 8px;
    white-space: nowrap;
    scroll-snap-align: start;
  }
}

@media (max-width: 300px) {
  :root {
    --mobile-header-offset: 113px;
  }

  .topbar {
    padding: 4px 6px;
    gap: 3px;
  }

  .topbar > div:first-child {
    flex-direction: column;
    align-items: center;
    gap: 4px !important;
  }

  .topbar a {
    font-size: 10px;
  }

  .topbar-pill {
    font-size: 10px;
    padding: 2px 8px;
  }

  .topbar-pills {
    display: none;
  }

  .nav {
    height: 60px;
  }

  .nav-inner {
    padding: 0 6px;
    gap: 4px;
  }

  .nav-logo {
    gap: 4px;
  }

  .nav-logo img {
    width: 34px;
    height: 34px;
  }

  .nav-logo-name {
    font-size: 1.2rem;
    letter-spacing: 0.01em;
  }

  .nav-actions {
    gap: 3px;
  }

  .nav-actions .btn {
    display: none;
  }

  .nav-cart {
    width: 34px;
    height: 34px;
  }

  .nav-toggle {
    width: 34px;
    height: 34px;
    gap: 4px;
  }

  .nav-toggle span {
    width: 14px;
  }

  .nav-mobile-menu .nav-mobile-cta {
    display: block;
    margin-top: 6px;
    background: var(--terra);
    color: #fff;
    text-align: center;
    font-weight: 600;
  }

  .hero-card {
    padding: 1rem 0.9rem;
  }

  .hero-card h1 {
    font-size: 1.55rem;
    line-height: 1.1;
  }

  .hero-cta-row {
    width: 100%;
  }

  .hero-cta-row .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }

  .producten-grid {
    grid-template-columns: 1fr;
  }
}

.home-generating-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(20, 17, 15, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.home-generating-overlay[hidden] {
  display: none !important;
}

.home-generating-card {
  width: min(100%, 680px);
  background: #fff;
  border: 1px solid #ddd8d0;
  border-radius: 20px;
  padding: 24px;
}

.home-generating-title {
  margin: 0 0 8px;
  font-size: 1.4rem;
}

.home-generating-text {
  margin: 0 0 14px;
  color: #7a736b;
}

.home-generating-progress {
  height: 12px;
  border-radius: 999px;
  background: #f1ece8;
  overflow: hidden;
}

.home-generating-progress-bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #b87455, #d9a186);
  transition: width .2s ease;
}

.home-generating-percent {
  margin-top: 8px;
  font-size: .95rem;
  color: #2c2825;
}

.home-generating-warnings {
  margin-top: 12px;
  padding-left: 18px;
  color: #7a736b;
}

.home-generating-error {
  margin-top: 12px;
  color: #9d1f1f;
}

