/* ============================================
   Wijngoed Havelte — Stylesheet
   Design: Clean, minimalistisch, elegant
   Kleuren: Wit, goud (#e3bb11), donkergrijs
   Font: Overpass (menu/body), Oswald (koppen), Open Sans (subtekst)
   ============================================ */

/* === Basis & Reset === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --goud: #e3bb11;
  --goud-donker: #c9a50e;
  --goud-soft: rgba(227, 187, 17, 0.12);
  --goud-line: rgba(227, 187, 17, 0.35);
  --wit: #ffffff;
  --zwart: #1a1a1a;
  --grijs-tekst: #3d3d3d;
  --grijs-licht: #f5f5f5;
  --grijs-donker: #3a3a3a;
  --grijs-body: #999999;
  --grijs-lijn: #e8e8e8;
  --grijs-lijn-licht: #f0f0f0;
  --footer-bg: #e3bb11;
  --font-display: 'Oswald', 'Cormorant Garamond', Georgia, serif;
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Overpass', system-ui, sans-serif;
  --font-sub: 'Open Sans', system-ui, sans-serif;
  /* Body-tekst — Manrope, zoals de hero op rondleiding (alle paragrafen in main) */
  --font-text: 'Manrope', system-ui, sans-serif;
  --color-text: #5a5249;
  --header-height: 147px;
  --page-padding: 40px;
}

html {
  scroll-behavior: smooth;
  /* Voorkom horizontale scrollbar van off-canvas elementen die met
     position:fixed buiten de viewport geparkeerd staan (bv. .cart-drawer).
     Bewust 'clip' en geen 'hidden': 'hidden' maakt dit element een
     scroll-container en schakelt daarmee position:sticky van alle
     afstammelingen uit. 'clip' knipt de overflow net zo goed af, maar
     zonder scroll-container — sticky blijft dus werken. */
  overflow-x: clip;
}

body {
  font-family: var(--font-text);
  color: var(--color-text);
  background: var(--wit);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Voorkom horizontale scrollbar (bijv. door reveal-transforms die kort
     buiten viewport tikken). Ook hier bewust 'clip' i.p.v. 'hidden' — zie
     de toelichting bij de html-regel: sticky-behoud van .summary/.steprail. */
  overflow-x: clip;
}

/* Normale bodytekst in main-content — Manrope, warme grijs.
   Headings, menu, knoppen en footer hebben eigen font/color via class. */
main p {
  font-family: var(--font-text);
  color: var(--color-text);
  font-size: 1.0625rem;
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
}

img, video {
  display: block;
  max-width: 100%;
}

/* === Leeftijdsverificatie === */
#age-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(26, 26, 26, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: opacity 0.5s ease;
}

#age-gate.verified {
  opacity: 0;
  pointer-events: none;
}

.age-gate-card {
  background: var(--wit);
  border-radius: 1rem;
  padding: 3rem 2.5rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
}

.age-gate-icon {
  color: var(--goud);
  margin-bottom: 1.5rem;
}

.age-gate-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--zwart);
  margin-bottom: 0.75rem;
}

.age-gate-text {
  color: var(--grijs-body);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.age-gate-buttons {
  display: flex;
  gap: 0.75rem;
}

.age-btn {
  flex: 1;
  padding: 0.85rem 1.5rem;
  border-radius: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.age-btn-yes {
  background: var(--grijs-donker);
  color: var(--wit);
}
.age-btn-yes:hover {
  background: var(--zwart);
}

.age-btn-no {
  background: var(--grijs-licht);
  color: var(--grijs-tekst);
}
.age-btn-no:hover {
  background: #e8e8e8;
}

/* === Navigatie === */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--wit);
  transition: transform 0.35s ease, box-shadow 0.3s ease;
  will-change: transform;
}

#header.scrolled {
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

#header.header-hidden {
  transform: translateY(-100%);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--page-padding);
  height: var(--header-height);
  position: relative;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

/* Menu links — Overpass 18px semibold, zoals huidige site */
.nav-links a {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: var(--grijs-tekst);
  transition: color 0.2s ease;
  white-space: nowrap;
  position: relative;
  padding-bottom: 4px;
}

/* Hover underline animatie: vanuit midden naar links en rechts */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--grijs-tekst);
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
  left: 0;
}

/* Actief menu item */
.nav-links a.active {
  color: var(--zwart);
}

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

.nav-left {
  flex: 1;
  justify-content: flex-end;
}

.nav-right {
  flex: 1;
  justify-content: flex-start;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2.5rem;
  flex-shrink: 0;
}

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

/* Hamburger menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: absolute;
  right: var(--page-padding);
  top: 50%;
  transform: translateY(-50%);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--zwart);
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobiel menu — slide-down vanaf de header. Display:flex altijd zodat
   we transitions op opacity/transform kunnen doen. Op desktop wordt het
   via media query verborgen (display:none). */
.mobile-menu {
  display: flex;
  flex-direction: column;
  background: var(--wit);
  padding: 1rem 2rem 2rem;
  border-top: 1px solid var(--grijs-licht);
  /* Default: dicht — boven viewport */
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  /* Op klein scherm laten we hem schrollen indien veel items */
  max-height: calc(100dvh - var(--header-height));
  overflow-y: auto;
}

.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu a {
  padding: 0.9rem 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--grijs-tekst);
  border-bottom: 1px solid var(--grijs-licht);
  transition: color 0.2s ease;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover {
  color: var(--goud);
}

/* Backdrop achter het mobiele menu — vangt klikken om te sluiten en
   verduistert de pagina. */
.mobile-menu-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 98;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.mobile-menu-backdrop.visible {
  display: block;
  opacity: 1;
}

/* Voorkom body-scroll wanneer mobiel menu open is */
body.menu-open {
  overflow: hidden;
}

/* === Hero Blokken === */
.hero-blocks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* Gap schaalt subtiel mee zodat het ritme behouden blijft op brede schermen */
  gap: clamp(14px, 0.7vw, 22px);
  padding: var(--page-padding);
  /* Header-aware top-padding: blokken beginnen net onder de header,
     ongeacht of die 147px (desktop) of 70px (mobiel) hoog is. */
  padding-top: calc(var(--header-height) + 1.5rem);
}

.hero-block {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  display: block;
  cursor: pointer;
  /* Hoogte volgt viewport-breedte zoals de oude wijngoedhavelte.nl:
     min-height: 35vw op .nectar-fancy-box. In een 4-koloms grid levert
     dat een blok van ~25vw breed bij 35vw hoog → ratio b:h ~0.70.
     Min/max grenzen voorkomen extreme waarden op zeer kleine/grote schermen. */
  height: 35vw;
  min-height: 380px;
  max-height: 1200px;
}

.hero-block-img {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-block-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Iets uitzoomen zodat het hele beeld toont (kleiner crop t.o.v. cover) */
  object-position: center;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Sterker hover-zoom (cf. bron Salient fancy-box scale(1.13)) */
.hero-block:hover .hero-block-img img {
  transform: scale(1.13);
}

.hero-block-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.08) 45%,
    transparent 100%
  );
  transition: background 0.4s ease;
}

/* Bij hover: subtiele extra darkening over de foto zodat de sub-beschrijving
   zichtbaar wordt, maar de foto blijft prominent. */
.hero-block:hover .hero-block-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.28) 50%,
    rgba(0, 0, 0, 0.15) 100%
  );
}

.hero-block-content {
  position: absolute;
  /* Padding-binnen schaalt mee op grote schermen */
  bottom: clamp(1.5rem, 0.9rem + 0.7vw, 2.5rem);
  left: clamp(1.5rem, 0.9rem + 0.7vw, 2.5rem);
  right: clamp(1.5rem, 0.9rem + 0.7vw, 2.5rem);
  z-index: 2;
}

.hero-block-title {
  color: var(--wit);
  font-family: var(--font-heading);
  /* Schaalt mee op grote schermen. Min 34px (oorspronkelijke desktop maat),
     groeit lineair tot ~56px op 4K. */
  font-size: clamp(2.125rem, 1.4rem + 1.05vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  text-transform: none;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-block-desc {
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-sub);
  /* Min 14px (oorspronkelijk), tot ~18px op 4K */
  font-size: clamp(0.875rem, 0.7rem + 0.25vw, 1.15rem);
  font-weight: 300;
  line-height: 1.45;
  margin-top: 0.4rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease, margin-top 0.4s ease;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Bij hover: beschrijving verschijnt onder de titel */
.hero-block:hover .hero-block-desc {
  max-height: 3rem;
  opacity: 1;
  margin-top: 0.5rem;
}

/* Op touch-apparaten is hover niet bereikbaar — toon de beschrijving altijd
   zodat mobiele gebruikers ook context krijgen. */
@media (hover: none) {
  .hero-block-desc {
    max-height: 4rem;
    opacity: 1;
    margin-top: 0.5rem;
  }
}

/* === Van Drentse Bodem sectie === */
.vdb-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: var(--page-padding);
  padding-top: 3rem;
  padding-bottom: 5rem;
  /* Hoogte wordt bepaald door .vdb-media (90vh) — geen extra min-height,
     anders gaat de grid-row te kort/te hoog tov de mediabreedte. */
}

.vdb-media {
  overflow: hidden;
  border-radius: 4px;
  /* Verhouding volgt oude wijngoedhavelte.nl: video-kolom is 50% breed
     met height: 90vh, dus b:h ≈ (50vw)/(90vh). Op desktop (16:9) levert
     dat ongeveer 1:1 op — staand/vierkant, niet liggend. */
  height: 90vh;
  min-height: 500px;
  max-height: 1300px;
}

.vdb-media video,
.vdb-media img {
  width: 100%;
  height: 120%;
  margin-top: -10%;
  object-fit: cover;
}

.vdb-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Binnen-padding schaalt mee op grote schermen */
  padding: clamp(3rem, 2rem + 1.4vw, 5.5rem) clamp(2.5rem, 1.5rem + 2.2vw, 7rem);
}

.vdb-label {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 0.85rem + 0.12vw, 1.15rem);
  font-weight: 600;
  color: var(--grijs-tekst);
  margin-bottom: 1rem;
}

.vdb-title {
  font-family: var(--font-heading);
  /* Sterker meeschalend op brede schermen — was max 4.5rem, nu door tot 6rem op 4K */
  font-size: clamp(2.5rem, 1.5rem + 3.2vw, 6rem);
  font-weight: 400;
  color: var(--grijs-tekst);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.vdb-text {
  font-family: var(--font-text);
  color: var(--color-text);
  font-size: clamp(1rem, 0.92rem + 0.2vw, 1.35rem);
  line-height: 1.7;
  max-width: clamp(480px, 28vw, 720px);
}

/* === Footer === */
.footer {
  background: var(--footer-bg);
  /* Padding schaalt subtiel mee op brede schermen */
  padding: clamp(4rem, 3rem + 1vw, 6rem) var(--page-padding);
}

.footer-inner {
  /* Footer mag meeschalen op grote schermen i.p.v. vaste 1200px */
  max-width: clamp(1200px, 80vw, 1800px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.footer-heading {
  font-family: var(--font-body);
  /* Heading schaalt mee met clamp() */
  font-size: clamp(0.95rem, 0.85rem + 0.15vw, 1.2rem);
  font-weight: 600;
  color: var(--wit);
  margin-bottom: 1rem;
}

/* Directe children van .footer-col als blok — niet de <a> binnen <p>.
   Sluit .footer-btn uit zodat die inline-block blijft (specificity-conflict). */
.footer-col > a:not(.footer-btn),
.footer-col p {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  /* Body schaalt mee met clamp() */
  font-size: clamp(0.9rem, 0.8rem + 0.15vw, 1.15rem);
  line-height: 1.8;
  transition: color 0.2s ease;
  white-space: nowrap;
}

/* Op smalle schermen mag de tekst wel breken — anders overflow horizontaal */
@media (max-width: 480px) {
  .footer-col > a:not(.footer-btn),
  .footer-col p {
    white-space: normal;
    word-break: break-word;
  }
}

/* Links binnen <p> blijven inline zodat T:/E: niet op nieuwe regel breken */
.footer-col p a {
  display: inline;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.footer-col a:hover {
  color: var(--wit);
  text-decoration: underline;
}

.footer-btn {
  display: inline-block;
  margin-top: 1.25rem;
  /* Padding en font-size schalen subtiel mee */
  padding: clamp(0.75rem, 0.68rem + 0.1vw, 0.95rem) clamp(1.75rem, 1.6rem + 0.2vw, 2.25rem);
  background: var(--grijs-donker);
  color: var(--wit) !important;
  font-size: clamp(0.85rem, 0.78rem + 0.1vw, 1.05rem);
  font-weight: 500;
  border-radius: 4px;
  transition: background 0.2s ease;
  text-decoration: none !important;
}

.footer-btn:hover {
  background: var(--zwart);
}

/* ============================================
   ANIMATIES & ENTRANCE EFFECTS
   ============================================ */

/* --- Keyframes --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleReveal {
  from {
    opacity: 0;
    transform: scale(1.06);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes clipRevealUp {
  from {
    clip-path: inset(100% 0 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes logoReveal {
  from {
    opacity: 0;
    letter-spacing: 0.5em;
  }
  to {
    opacity: 1;
    letter-spacing: 0.18em;
  }
}

@keyframes lineExpand {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
  to {
    transform: scaleX(1);
    opacity: 0.15;
  }
}

/* --- Header: geen entrance animatie (te druk bij paginawisseling) --- */

/* --- Hero blokken entrance --- */
.hero-block {
  opacity: 0;
  animation: scaleReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-block:nth-child(1) { animation-delay: 0.15s; }
.hero-block:nth-child(2) { animation-delay: 0.3s; }
.hero-block:nth-child(3) { animation-delay: 0.45s; }
.hero-block:nth-child(4) { animation-delay: 0.6s; }

/* Hero content entrance: glijdt omhoog */
.hero-block-content {
  opacity: 0;
  animation: fadeInUp 0.7s ease-out both;
}

.hero-block:nth-child(1) .hero-block-content { animation-delay: 0.6s; }
.hero-block:nth-child(2) .hero-block-content { animation-delay: 0.75s; }
.hero-block:nth-child(3) .hero-block-content { animation-delay: 0.9s; }
.hero-block:nth-child(4) .hero-block-content { animation-delay: 1.05s; }

/* --- Scroll-triggered reveals --- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Varianten voor scroll-reveal */
.reveal-on-scroll.reveal-left {
  transform: translateX(-50px);
}
.reveal-on-scroll.reveal-left.is-visible {
  transform: translateX(0);
}

.reveal-on-scroll.reveal-right {
  transform: translateX(50px);
}
.reveal-on-scroll.reveal-right.is-visible {
  transform: translateX(0);
}

/* Op mobiel is 50px horizontaal te veel — het element kan kort buiten
   viewport vallen en horizontale overflow geven. Gebruik fade-up ipv slide. */
@media (max-width: 768px) {
  .reveal-on-scroll.reveal-left,
  .reveal-on-scroll.reveal-right {
    transform: translateY(30px);
  }
  .reveal-on-scroll.reveal-left.is-visible,
  .reveal-on-scroll.reveal-right.is-visible {
    transform: translateY(0);
  }
}

.reveal-on-scroll.reveal-scale {
  transform: scale(0.95);
}
.reveal-on-scroll.reveal-scale.is-visible {
  transform: scale(1);
}

/* Gestaffelde kinderen binnen een reveal-groep */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.12s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.24s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.36s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.48s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }

/* === Line-reveal: word-by-word mask animatie voor headings ===
   Toepassen door class="line-reveal" op de heading te zetten.
   JS in main.js splitst woorden in <span class="word"><span class="word-inner">…</span></span>. */
.line-reveal {
  /* Beperkt waar de woord-masker hangt */
  overflow: hidden;
}

.line-reveal .word {
  display: inline-block;
  overflow: hidden;
  /* Ruimte boven én onder zodat hoofdletter-toppen en staartletters (g, j, p)
     niet afgeknipt worden door de overflow-clip tijdens de mask-animatie */
  padding: 0.2em 0;
  margin: -0.2em 0;
  vertical-align: top;
  line-height: inherit;
}

.line-reveal .word-inner {
  display: inline-block;
  transform: translateY(110%);
  transition:
    transform 1s cubic-bezier(.215, .61, .355, 1);
  transition-delay: calc(var(--word-idx, 0) * 55ms);
  will-change: transform;
}

.line-reveal.is-visible .word-inner {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .line-reveal .word-inner {
    transform: none;
    transition: none;
  }
}

/* --- Parallax --- */
.parallax-img {
  overflow: hidden;
}

.parallax-img img {
  will-change: transform;
}

.vdb-media {
  will-change: transform;
}

/* --- Decoratieve gouden lijn na hero --- */
.hero-blocks::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 60px;
  height: 1px;
  background: var(--goud);
  transform: translateX(-50%) scaleX(0);
  animation: lineExpand 1s ease-out 1.2s both;
  transform-origin: center;
}

.hero-blocks {
  position: relative;
  padding-bottom: calc(var(--page-padding) + 20px);
}

/* --- Footer entrance --- */
.footer {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.footer.is-visible {
  opacity: 1;
}

/* === Reduced motion === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-on-scroll,
  .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================
   SUBPAGINA'S — Gedeelde layout
   ============================================ */

/* --- Page hero banner (bovenaan subpagina) --- */
.page-hero {
  position: relative;
  height: 45vh;
  min-height: 320px;
  max-height: 500px;
  overflow: hidden;
  margin-top: var(--header-height);
}

.page-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.15) 50%,
    transparent 100%
  );
}

.page-hero-content {
  position: absolute;
  bottom: 3rem;
  left: var(--page-padding);
  right: var(--page-padding);
  max-width: 800px;
  color: var(--wit);
  z-index: 2;
}

.page-hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-hero-content p {
  font-size: 1.05rem;
  opacity: 0.9;
  max-width: 600px;
  line-height: 1.6;
}

/* --- Content secties --- */
.page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem var(--page-padding);
}

.page-section {
  margin-bottom: 5rem;
}

.page-section:last-child {
  margin-bottom: 0;
}

/* --- Twee-koloms layout (afbeelding + tekst) --- */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

.split-section.reverse {
  direction: rtl;
}

.split-section.reverse > * {
  direction: ltr;
}

.split-image {
  overflow: hidden;
  border-radius: 6px;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}

.split-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  color: var(--grijs-tekst);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.split-text p {
  color: var(--grijs-body);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.split-text p:last-child {
  margin-bottom: 0;
}

/* --- Grid kaarten (wijnen, diensten) --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.25rem;
  color: var(--goud);
}

.card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--grijs-tekst);
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--grijs-body);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Wijn kaarten specifiek (shop pagina) --- */
.wine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.wine-card {
  text-align: center;
  padding: 2rem 1rem;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.wine-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.wine-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.wine-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--grijs-tekst);
  margin-bottom: 0.5rem;
}

.wine-card .wine-type {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--goud);
  margin-bottom: 0.75rem;
}

.wine-card p {
  color: var(--grijs-body);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* --- Onze Wijnen pagina: split intro + wijnlijst --- */
.wijnen-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: calc(var(--header-height) + 3rem) var(--page-padding) 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.wijnen-intro-text h1 {
  font-family: var(--font-heading);
  /* Schaalt mee — 1.75rem op 360px viewport tot 2.4rem op desktop */
  font-size: clamp(1.75rem, 2.5vw + 0.8rem, 2.4rem);
  font-weight: 500;
  color: var(--grijs-tekst);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.wijnen-intro-text p {
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.wijnen-intro-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.wijnen-intro-image img {
  width: 85%;
  max-width: 420px;
  border-radius: 4px;
  transform: rotate(3deg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s ease;
}

.wijnen-intro-image img:hover {
  transform: rotate(0deg) scale(1.02);
}

/* Wijnlijst sectie */
.wine-list-section {
  background: var(--grijs-licht);
  padding: 4rem var(--page-padding);
}

.wine-list-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.wine-list-inner h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--grijs-tekst);
  margin-bottom: 2.5rem;
}

.wine-list {
  list-style: none;
}

.wine-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  border-bottom: 1px solid #e0e0e0;
  gap: 2rem;
}

.wine-list-item:first-child {
  border-top: 1px solid #e0e0e0;
}

.wine-list-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.wine-list-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.wine-list-icon svg {
  width: 100%;
  height: 100%;
}

.wine-list-name {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--grijs-tekst);
}

.wine-list-desc {
  font-family: var(--font-text);
  font-size: 0.95rem;
  color: var(--color-text);
  text-align: right;
  line-height: 1.5;
}

/* --- Rondleiding pagina: split intro + info --- */
/* === Rondleiding Fotoblokken (homepage-stijl) === */
.rl-blocks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: var(--page-padding);
  padding-top: 147px;
}

/* VDB-variant voor rondleiding */
.rl-vdb-section {
  padding-top: 4rem;
}

/* Eerste sectie op de pagina — ruimte voor vaste header */
.rl-vdb-first {
  padding-top: 147px;
}

/* Info items onder VDB tekst */
.rl-vdb-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

.rl-vdb-item {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
}

.rl-vdb-item strong {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--grijs-tekst);
  min-width: 80px;
}

.rl-vdb-item span {
  font-family: var(--font-sub);
  font-size: 0.9rem;
  color: var(--grijs-body);
}

/* === Rondleiding Responsive === */
@media (max-width: 900px) {
  .rl-blocks {
    grid-template-columns: 1fr;
    padding-top: calc(var(--header-height) + 1rem);
  }
  .rl-vdb-first {
    padding-top: calc(var(--header-height) + 1rem);
  }
}

/* Oud: behoud voor eventuele fallback */
.rondleiding-intro { display: none; }

/* Druiven sectie */
.druiven-section {
  padding: 4rem var(--page-padding);
  max-width: 1200px;
  margin: 0 auto;
}

.druiven-section > h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--grijs-tekst);
  text-align: center;
  margin-bottom: 2.5rem;
}

/* Flickity carousel — 3 cellen per groep op desktop */
.druiven-carousel {
  background: transparent;
  outline: none;
}

.druiven-carousel:focus {
  outline: none;
}

.druif-card {
  width: calc(33.333% - 1rem);
  margin-right: 1.5rem;
  background: var(--wit);
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 2.25rem 1.75rem;
  text-align: center;
  min-height: 100%;
  box-sizing: border-box;
}

.druif-card h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--grijs-tekst);
  margin-bottom: 1rem;
}

.druif-card p {
  font-family: var(--font-text);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text);
  max-width: 375px;
  margin: 0 auto;
}

/* Flickity pijltjes — wit met rand, subtiel */
.druiven-carousel .flickity-prev-next-button {
  width: 48px;
  height: 48px;
  background: var(--wit);
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: background .2s ease, transform .2s ease;
}

.druiven-carousel .flickity-prev-next-button:hover {
  background: var(--goud);
  transform: scale(1.05);
}

.druiven-carousel .flickity-prev-next-button .flickity-button-icon {
  fill: var(--grijs-tekst);
  width: 40%;
  height: 40%;
  left: 30%;
  top: 30%;
}

.druiven-carousel .flickity-prev-next-button:hover .flickity-button-icon {
  fill: var(--wit);
}

.druiven-carousel .flickity-prev-next-button.previous {
  left: -12px;
}

.druiven-carousel .flickity-prev-next-button.next {
  right: -12px;
}

@media (max-width: 900px) {
  .druif-card {
    width: calc(50% - 0.75rem);
    margin-right: 1rem;
  }
}

@media (max-width: 560px) {
  .druif-card {
    width: 100%;
    margin-right: 0;
  }
}

/* Foto galerij met wisselende hoogtes */
.photo-gallery-staggered {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 0 var(--page-padding) 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.photo-gallery-staggered .parallax-img {
  overflow: hidden;
  border-radius: 4px;
  height: 320px;
}

.photo-gallery-staggered .parallax-img:nth-child(odd) {
  margin-top: 2rem;
}

.photo-gallery-staggered img {
  width: 100%;
  height: 130%;
  margin-top: -15%;
  object-fit: cover;
  display: block;
}

/* Responsive aanpassingen onze wijnen & rondleiding */
@media (max-width: 768px) {
  .wijnen-intro {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: calc(var(--header-height) + 2rem);
  }

  .wijnen-intro-image {
    order: -1;
  }

  .wijnen-intro-image img {
    width: 60%;
    transform: rotate(2deg);
  }

  .wine-list-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .wine-list-desc {
    text-align: left;
  }

  .rondleiding-intro {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: calc(var(--header-height) + 2rem);
  }

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

  .photo-gallery-staggered {
    grid-template-columns: 1fr 1fr;
  }

  .photo-gallery-staggered .parallax-img {
    height: 200px;
  }

  .photo-gallery-staggered img:nth-child(odd) {
    margin-top: 0;
  }
}

/* ============================================
   LOCATIEVERHUUR PAGINA (v2 — match bronpagina)
   ============================================ */

/* Body font Manrope op deze pagina, headings blijven Oswald */
.locatie-page main {
  font-family: 'Manrope', system-ui, sans-serif;
}

/* === Hero ===
   Ruime padding aan alle zijden, zoals het origineel: veel lucht boven/onder
   en aan de zijkanten. Foto-kolom iets groter dan tekst-kolom. */
.lv-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding:
    calc(var(--header-height) + clamp(3rem, 7vw, 6rem))
    clamp(2rem, 6vw, 5rem)
    clamp(4rem, 8vw, 7rem);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
}

.lv-hero-image {
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.lv-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.4s cubic-bezier(.2,.75,.5,1);
}

.lv-hero-image:hover img {
  transform: scale(1.04);
}

.lv-hero-copy .eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--goud-donker);
  margin-bottom: 1.25rem;
}

.lv-hero-copy h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--grijs-tekst);
  margin: 0 0 1.5rem;
  letter-spacing: -0.005em;
}

.lv-hero-copy h1 em.serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--goud-donker);
}

.lv-lede {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #5a5249;
  max-width: 52ch;
  margin: 0 0 1rem;
}

.lv-link {
  color: var(--grijs-tekst);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s ease;
}

.lv-link:hover {
  color: var(--goud-donker);
}

/* === 4-Grid intro met staggered fotokaarten === */
.lv-grid-section {
  background: var(--grijs-licht);
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.lv-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--page-padding);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}

.lv-card {
  display: block;
  color: var(--grijs-tekst);
  text-decoration: none;
}

.lv-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #e6e6e6;
}

.lv-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Microanimatie cf. bron: .75s cubic-bezier */
  transition: transform .75s cubic-bezier(.2,.75,.5,1);
}

.lv-card:hover .lv-card-image img {
  transform: scale(1.1);
}

.lv-card-label {
  padding: 1rem 0 0;
}

.lv-card-label > span:first-child {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grijs-tekst);
  display: block;
  padding-bottom: 0.6rem;
}

.lv-card-bar {
  display: block;
  width: 100%;
  height: 6px;
  background: var(--goud);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .45s cubic-bezier(.24,1,.3,1);
}

.lv-card:hover .lv-card-bar {
  transform: scaleX(1);
}

/* === Detail-blokken (afwisselend foto links/rechts) ===
   Volle achtergrond wit/grijs over hele schermbreedte, content gecentreerd
   binnen 1200px. Foto met aspect-ratio (geen full-bleed). */
.lv-block {
  background: var(--wit);
}

.lv-block-alt {
  background: var(--grijs-licht);
}

.lv-block-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) var(--page-padding);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.lv-block.reverse .lv-block-inner {
  direction: rtl;
}

.lv-block.reverse .lv-block-inner > * {
  direction: ltr;
}

.lv-block-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #ddd;
}

.lv-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.4s cubic-bezier(.2,.75,.5,1);
}

.lv-block-image:hover img {
  transform: scale(1.04);
}

.lv-block-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.lv-block-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 2.8vw, 2.4rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--grijs-tekst);
  margin: 0 0 1.25rem;
  letter-spacing: -0.005em;
}

.lv-block-text p {
  font-size: 1rem;
}

.lv-block-text p {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #5a5249;
  max-width: 56ch;
  margin: 0;
}

/* === Gouden CTA-blok === */
.lv-cta {
  background: var(--goud);
  padding: clamp(3.5rem, 7vw, 5.5rem) clamp(2rem, 5vw, 5rem);
  text-align: center;
}

.lv-cta-inner {
  max-width: 720px;
  margin: 0 auto;
}

.lv-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  color: var(--wit);
  margin: 0 0 1rem;
}

.lv-cta p {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--wit);
  opacity: 0.95;
  margin: 0 0 2rem;
}

.lv-cta .btn-dark {
  background: var(--zwart);
  color: var(--wit);
  padding: 0.95rem 2.2rem;
  border: none;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}

.lv-cta .btn-dark:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

/* Responsive */
@media (max-width: 900px) {
  .lv-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: calc(var(--header-height) + 1rem);
  }
  .lv-hero-image img {
    height: 50vh;
    min-height: 340px;
  }
  .lv-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
  .lv-block-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .lv-block-image {
    min-height: 50vh;
  }
  .lv-block.reverse .lv-block-inner {
    direction: ltr;
  }
  .lv-block-text {
    padding: 2.5rem 1.5rem;
  }
}

@media (max-width: 560px) {
  .lv-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   ONS VERHAAL PAGINA (v2 — match bronpagina)
   Full-height hero met zoom-out + donkere gradient van onder.
   Subtekst linksonder, scroll-pijl rechtsonder.
   Tekstsectie full-width met side padding (links uitgelijnd).
   Foto-blok 50/50: 1 grote links + 2 gestapeld rechts.
   ============================================ */

.verhaal-hero {
  position: relative;
  /* Full-screen hero: foto loopt door achter de fixed witte header zoals
     in de bron. Geen margin-top en geen donkere achterkleur — anders
     krijg je een zwarte balk tussen header en hero.
     100dvh = dynamic viewport — voorkomt afgeknipte hero in iOS Safari. */
  height: 100dvh;
  min-height: 540px;
  overflow: hidden;
}

@supports not (height: 100dvh) {
  .verhaal-hero { height: 100vh; }
}

.verhaal-hero-img-wrap {
  position: absolute;
  inset: 0;
}

.verhaal-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: heroZoomOut 8s ease-out forwards;
  will-change: transform;
}

@keyframes heroZoomOut {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}

/* Donkere gradient van onderaf (rgba 0.92 op 0% → transparant op 43%) */
.verhaal-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0) 43%
  );
  pointer-events: none;
}

/* Subtekst linksonder (geen titel — zoals bron) */
.verhaal-hero-content {
  position: absolute;
  left: clamp(2rem, 5vw, 5rem);
  bottom: clamp(2rem, 4vw, 3.5rem);
  z-index: 2;
  color: var(--wit);
  max-width: 600px;
}

.verhaal-hero-content p {
  font-family: var(--font-text);
  font-size: clamp(1rem, 1.2vw, 1.375rem);
  line-height: 1.5;
  color: var(--wit);
  margin: 0;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

/* Scroll-pijl rechtsonder — minimaal lijn-streep */
.verhaal-hero-arrow {
  position: absolute;
  right: clamp(2rem, 5vw, 5rem);
  bottom: clamp(2rem, 4vw, 3.5rem);
  z-index: 2;
  color: var(--wit);
  cursor: pointer;
  display: inline-flex;
  animation: bounceDown 2.5s ease-in-out infinite;
  transition: transform .25s ease, opacity .25s ease;
  opacity: 0.85;
}

.verhaal-hero-arrow:hover {
  opacity: 1;
  transform: translateY(4px);
}

.verhaal-hero-arrow svg {
  width: 28px;
  height: 60px;
  stroke: var(--wit);
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* Tekstsectie — gecentreerd binnen 1200px, royale side-padding */
.verhaal-content {
  background: var(--wit);
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) var(--page-padding);
}

.verhaal-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--zwart);
  margin: 0 0 1.25rem;
}

.verhaal-content h2:not(:first-child) {
  margin-top: 3rem;
}

.verhaal-content p {
  font-family: var(--font-text);
  font-size: clamp(1rem, 1.1vw, 1.5rem);
  line-height: 1.7;
  color: var(--color-text);
  max-width: 1100px;
  margin: 0;
}

/* Foto-blok onderaan: 50/50 grid, 1 grote links + 2 gestapeld rechts.
   Iets ruimer dan de tekst-sectie zodat de foto's lekker groot ademen. */
.verhaal-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(1rem, 1vw, 2rem) var(--page-padding) clamp(5rem, 9vw, 8rem);
}

.verhaal-photo-left {
  overflow: hidden;
}

.verhaal-photo-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 650px;
  display: block;
  transition: transform 1.2s cubic-bezier(.2,.75,.5,1);
}

.verhaal-photo-left:hover img {
  transform: scale(1.04);
}

.verhaal-photo-right {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 1.5rem;
}

.verhaal-photo-right > div,
.verhaal-photo-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  overflow: hidden;
  transition: transform 1.2s cubic-bezier(.2,.75,.5,1);
}

.verhaal-photo-right img:hover {
  transform: scale(1.04);
}

@media (max-width: 768px) {
  .verhaal-photos {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .verhaal-photo-left img {
    min-height: 420px;
  }
  .verhaal-photo-right {
    grid-template-rows: auto auto;
    gap: 1rem;
  }
  .verhaal-photo-right img {
    height: 280px;
  }
}

/* --- Info blok (highlight box) --- */
.info-box {
  background: var(--grijs-licht);
  border-radius: 8px;
  padding: 2.5rem;
  margin: 2rem 0;
}

.info-box h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--grijs-tekst);
  margin-bottom: 1rem;
}

.info-box-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.info-item label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--goud);
  margin-bottom: 0.25rem;
}

.info-item p {
  color: var(--grijs-tekst);
  font-weight: 500;
}

/* --- CTA knop --- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--grijs-donker);
  color: var(--wit);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
  text-decoration: none;
}

.btn:hover {
  background: var(--zwart);
}

.btn-gold {
  background: var(--goud);
}

.btn-gold:hover {
  background: var(--goud-donker);
}

.btn-ghost {
  background: transparent;
  color: var(--grijs-tekst);
  border: 1px solid #ddd;
  padding: 0.85rem 1.5rem;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-ghost:hover {
  color: var(--zwart);
  border-color: var(--grijs-tekst);
}

.btn-ghost:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* --- Sectie titels --- */
.section-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--goud);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  color: var(--grijs-tekst);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.section-text {
  color: var(--grijs-body);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 700px;
}

/* --- Contactformulier --- */
.contact-form {
  max-width: 600px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grijs-tekst);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--zwart);
  background: var(--wit);
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--goud);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* --- Contactinfo (naast formulier) --- */
.contact-info {
  align-self: start;
}

.contact-info-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  color: var(--grijs-tekst);
  margin-bottom: 2rem;
  line-height: 1.15;
}

.contact-info-item {
  margin-bottom: 1.75rem;
}

.contact-info-item h3 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--goud);
  margin-bottom: 0.35rem;
}

.contact-info-item p {
  color: var(--grijs-body);
  font-size: 1rem;
  line-height: 1.7;
}

.contact-info-item a {
  color: var(--grijs-tekst);
  transition: color 0.2s ease;
}

.contact-info-item a:hover {
  color: var(--goud);
}

.contact-info-bnb {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e8e8e8;
}

/* ============================================
   CONTACT PAGINA (v2 — match bronpagina)
   Hero op lichtgrijze achtergrond, daaronder een full-bleed wijngaard-foto
   waar het witte formulier-blok overheen valt.
   ============================================ */

.contact-page {
  /* Geen extra margin top — contact-hero zet zelf padding-top */
}

.contact-hero {
  text-align: center;
  background: #efefef;
  padding:
    calc(var(--header-height) + clamp(3rem, 6vw, 5rem))
    var(--page-padding)
    clamp(3rem, 6vw, 4.5rem);
}

.contact-hero-title {
  font-family: var(--font-heading);
  /* Groter — net als bron 7vw */
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 400;
  line-height: 1;
  color: #d2a51c;
  margin: 0 auto 1.5rem;
  max-width: 1000px;
}

.contact-hero-text {
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text);
  max-width: 640px;
  margin: 0 auto 2rem;
}

.contact-hero-info {
  max-width: 640px;
  margin: 0 auto 1.25rem;
}

.contact-hero-info p {
  font-family: var(--font-text);
  font-size: 1.0625rem;
  color: var(--grijs-tekst);
  line-height: 1.85;
  margin: 0;
}

.contact-hero-info strong {
  color: var(--grijs-tekst);
}

.contact-hero-info a {
  color: var(--color-text);
  transition: color .2s ease;
}

.contact-hero-info a:hover {
  color: var(--goud);
}

.contact-hero-sub {
  font-family: var(--font-text);
  font-size: 1rem;
  color: var(--color-text);
  margin: 0 auto 1.25rem;
  max-width: 640px;
}

.contact-hero-bnb {
  font-family: var(--font-text);
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto;
}

.contact-hero-bnb a {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s ease;
}

.contact-hero-bnb a:hover {
  color: var(--goud-donker);
}

/* Foto-sectie met wit formulier-blok dat eroverheen valt */
.contact-bg-section {
  position: relative;
  background-color: #1a1a1a;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Veel padding-top zodat het wit-blok bovenaan binnenpast met overlap */
  padding-top: clamp(6rem, 14vw, 12rem);
  padding-bottom: clamp(6rem, 12vw, 10rem);
}

.contact-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.5);
  pointer-events: none;
}

.contact-form-card {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: clamp(-12rem, -10vw, -8rem) auto 0;
  background: var(--wit);
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 6vw, 5rem);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.contact-form .form-group {
  margin-bottom: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-text);
  /* 16px voorkomt automatische zoom in iOS Safari bij focus */
  font-size: 16px;
  color: var(--grijs-tekst);
  background: #f5f5f5;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

/* Visible label voor a11y/UX (verschijnt boven het veld) */
.contact-form .form-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--grijs-tekst);
  margin-bottom: 0.4rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #b0a89e;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--goud);
  background: #fff;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-submit {
  background: #383838;
  color: var(--wit);
  border: none;
  padding: 0.95rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  margin-top: 1rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.contact-submit:hover {
  background: #000;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-form-card {
    margin-top: -6rem;
    padding: 2.5rem 1.5rem;
  }
}

/* --- Galerij rij --- */
.gallery-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 3rem 0;
}

.gallery-row img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.5s ease;
}

.gallery-row img:hover {
  transform: scale(1.03);
}

/* --- Centraal tekst blok --- */
.text-center-block {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3rem;
}

/* === Subpagina responsive === */
@media (max-width: 768px) {
  .page-hero {
    height: 35vh;
    min-height: 250px;
  }

  .page-hero-content h1 {
    font-size: 2rem;
  }

  .split-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .split-section.reverse {
    direction: ltr;
  }

  .split-image img {
    min-height: 280px;
  }

  .card-grid,
  .wine-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .gallery-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .gallery-row img {
    height: 220px;
  }

  .info-box-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .wine-grid {
    grid-template-columns: 1fr;
  }

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

/* === Focus stijlen === */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--goud);
  outline-offset: 3px;
  border-radius: 3px;
}

/* === Selectie === */
::selection {
  background: rgba(212, 168, 67, 0.25);
  color: var(--zwart);
}

/* === Scrollbar === */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--grijs-licht);
}
::-webkit-scrollbar-thumb {
  background: #c0c0c0;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a0a0a0;
}

/* ============================================
   SHOP PAGINA
   ============================================ */

.shop-page {
  padding-top: var(--header-height);
}

/* Sectie header */
.shop-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem var(--page-padding) 1rem;
}

.shop-section-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--grijs-tekst);
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--grijs-tekst);
  margin-bottom: 2rem;
}

/* Product grid */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Product kaart */
.shop-product {
  cursor: pointer;
}

.shop-product-image {
  position: relative;
  background: var(--grijs-licht);
  border-radius: 4px;
  aspect-ratio: 1 / 1.15;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.shop-product-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.shop-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
  transition: transform 0.4s ease;
}

.shop-product:hover .shop-product-image img {
  transform: scale(1.05);
}

/* Quick view knop bij hover */
.shop-quick-view {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--grijs-donker);
  color: var(--wit);
  border: none;
  padding: 0.5rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 3px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
}

.shop-product:hover .shop-quick-view {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.shop-quick-view:hover {
  background: var(--zwart);
}

/* Op touch-apparaten is hover niet bereikbaar — toon "Bekijk" knop altijd */
@media (hover: none) {
  .shop-quick-view {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.shop-product-name {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--grijs-tekst);
  margin-bottom: 0.25rem;
}

.shop-product-price {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--zwart);
}

/* Verzendinfo sectie */
.shop-shipping {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 900px;
  margin: 3rem auto;
  padding: 3rem var(--page-padding);
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.shop-shipping-item {
  text-align: center;
}

.shop-shipping-icon {
  margin-bottom: 1rem;
}

.shop-shipping-item h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--grijs-tekst);
  margin-bottom: 0.75rem;
}

.shop-shipping-item p {
  font-family: var(--font-sub);
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--grijs-body);
}

/* Onderste sectie: tekst + afbeelding */
.shop-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem var(--page-padding);
}

.shop-bottom-text h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  color: var(--grijs-tekst);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.shop-bottom-text p {
  font-family: var(--font-sub);
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--grijs-body);
  margin-bottom: 1rem;
}

.shop-bottom-image img {
  width: 100%;
  border-radius: 4px;
  object-fit: cover;
  max-height: 400px;
}

/* --- Winkelwagen toggle --- */
/* === Cart-toggle in de globale header (geïnjecteerd door js/cart.js) ===
   Standaard verborgen; verschijnt alleen wanneer er items in de cart zitten. */
.cart-nav {
  position: absolute;
  right: var(--page-padding);
  top: 50%;
  transform: translateY(-50%) scale(0.85);
  z-index: 6;
  background: transparent;
  border: none;
  padding: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--grijs-tekst);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.cart-nav.zichtbaar {
  opacity: 1;
  transform: translateY(-50%) scale(1);
  pointer-events: auto;
}

.cart-nav:hover {
  color: var(--goud-donker);
}

.cart-nav svg {
  display: block;
}

.cart-nav-count {
  position: absolute;
  top: 2px;
  right: 0;
  background: var(--goud);
  color: var(--wit);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  letter-spacing: 0.01em;
  box-shadow: 0 0 0 2px var(--wit);
}

/* Subtiele pulse — speelt af bij pageload (als cart niet leeg is)
   en bij elke add. Schaalt 1.0 → 1.18 → 1.0 in 600ms. */
.cart-nav-count.puls {
  animation: cartCountPuls 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cartCountPuls {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.22); }
  60%  { transform: scale(0.95); }
  100% { transform: scale(1); }
}

/* Op mobiel: cart links van menu-toggle plaatsen ipv erbovenop.
   Menu-toggle staat helemaal rechts; cart-nav schuift 56px naar links. */
@media (max-width: 768px) {
  .cart-nav {
    right: calc(var(--page-padding) + 48px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cart-nav { transition: opacity 0.2s ease; transform: translateY(-50%); }
  .cart-nav.zichtbaar { transform: translateY(-50%); }
  .cart-nav-count.puls { animation: none; }
}

/* ============================================
   PRODUCT DETAIL PAGINA (/product.html?slug=…)
   ============================================ */

.product-page {
  padding-top: var(--header-height);
  background: var(--wit);
  padding-bottom: 4rem;
}

/* Breadcrumb */
.product-breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem var(--page-padding) 0;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--grijs-body);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.product-breadcrumb a {
  color: var(--grijs-body);
  transition: color 0.2s ease;
}
.product-breadcrumb a:hover {
  color: var(--goud-donker);
}
.product-breadcrumb .breadcrumb-sep {
  color: var(--grijs-lijn);
}
.product-breadcrumb #breadcrumb-name {
  color: var(--grijs-tekst);
  font-weight: 600;
}

/* Hoofd-detail layout */
.product-detail {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding: 0 var(--page-padding);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.product-detail-image {
  background: var(--grijs-licht);
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 1 / 1.15;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
}
.product-detail-image-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-detail-image-inner .shop-product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-detail-image-inner .shop-product-placeholder--foto img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2.5rem;
}
.product-detail-image-inner .shop-product-placeholder svg {
  width: 40%;
  height: auto;
  max-width: 180px;
}

/* Info-kolom */
.product-detail-info {
  padding: 0.5rem 0;
}
.product-detail-name {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 400;
  color: var(--grijs-tekst);
  line-height: 1.1;
  margin-bottom: 0.75rem;
  letter-spacing: 0.01em;
}
.product-detail-price {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--goud-donker);
  margin-bottom: 1.75rem;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}
.product-detail-desc {
  font-family: var(--font-text);
  color: var(--color-text);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--grijs-lijn-licht);
}
.product-detail-desc p {
  margin-bottom: 0.85rem;
}
.product-detail-desc p:last-child {
  margin-bottom: 0;
}

/* Aantal-stepper + In winkelwagen knop */
.product-detail-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}
.product-detail-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--grijs-lijn);
  border-radius: 4px;
  background: var(--wit);
  overflow: hidden;
  height: 52px;
}
.product-detail-qty-btn {
  width: 48px;
  height: 100%;
  border: none;
  background: var(--wit);
  color: var(--grijs-tekst);
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.product-detail-qty-btn:hover {
  background: var(--goud-soft);
  color: var(--goud-donker);
}
.product-detail-qty-input {
  width: 52px;
  height: 100%;
  border: none;
  border-left: 1px solid var(--grijs-lijn);
  border-right: 1px solid var(--grijs-lijn);
  text-align: center;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--grijs-tekst);
  /* Verwijder default number-spinner */
  -moz-appearance: textfield;
  appearance: textfield;
  background: var(--wit);
}
.product-detail-qty-input::-webkit-outer-spin-button,
.product-detail-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.product-detail-qty-input:focus {
  outline: none;
  background: var(--goud-soft);
}
.product-detail-btn {
  height: 52px;
  padding: 0 2rem;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 200px;
}
.product-detail-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.product-detail-categories {
  font-family: var(--font-sub);
  font-size: 0.85rem;
  color: var(--grijs-body);
}
.product-detail-cat-label {
  color: var(--grijs-tekst);
  font-weight: 600;
  margin-right: 0.25rem;
}
.product-detail-categories a {
  color: var(--grijs-body);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: var(--grijs-lijn);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.product-detail-categories a:hover {
  color: var(--goud-donker);
  text-decoration-color: var(--goud);
}

/* Gerelateerde producten */
.product-related {
  max-width: 1200px;
  margin: 5rem auto 0;
  padding: 0 var(--page-padding);
}
.product-related-header {
  margin-bottom: 2rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--grijs-lijn);
}
.product-related-header h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--grijs-tekst);
}

@media (max-width: 900px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-top: 1.25rem;
  }
  .product-detail-image {
    position: static;
    aspect-ratio: 1 / 1;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }
  .product-detail-name {
    margin-top: 0.5rem;
  }
  .product-detail-btn {
    width: 100%;
    flex: 1 0 100%;
  }
  .product-related {
    margin-top: 3.5rem;
  }
}

@media (max-width: 520px) {
  .product-detail-actions {
    gap: 0.65rem;
  }
  .product-detail-qty {
    height: 48px;
  }
  .product-detail-qty-btn {
    width: 42px;
  }
  .product-detail-qty-input {
    width: 44px;
  }
  .product-detail-btn {
    height: 48px;
    min-width: 0;
  }
}

/* --- Winkelwagen drawer --- */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -400px;
  width: 380px;
  max-width: 90vw;
  /* 100dvh = dynamic viewport — corrigeert iOS Safari browser-chrome */
  height: 100dvh;
  background: var(--wit);
  z-index: 200;
  box-shadow: -4px 0 20px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Fallback voor browsers zonder dvh */
@supports not (height: 100dvh) {
  .cart-drawer { height: 100vh; }
}

.cart-drawer.open {
  right: 0;
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 1.25rem;
  border-bottom: 1px solid var(--grijs-lijn-licht);
}

.cart-drawer-header h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--grijs-tekst);
  letter-spacing: 0.01em;
}

.cart-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--grijs-body);
  padding: 6px;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cart-close:hover {
  background: var(--goud-soft);
  color: var(--goud-donker);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem 1.5rem;
}

.cart-empty {
  color: var(--grijs-body);
  font-family: var(--font-sub);
  font-size: 0.9rem;
  text-align: center;
  padding: 3rem 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--grijs-lijn-licht);
}
.cart-item:last-child {
  border-bottom: none;
}

.cart-item-thumb {
  width: 56px;
  height: 56px;
  background: var(--grijs-licht);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item-thumb svg {
  width: 60%;
  height: auto;
  opacity: 0.5;
}

.cart-item-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.cart-item-name {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--grijs-tekst);
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.cart-item-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.cart-item-price {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grijs-tekst);
  font-variant-numeric: tabular-nums;
}

.cart-item-remove {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-sub);
  font-size: 0.72rem;
  color: var(--grijs-body);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}
.cart-item-remove:hover {
  color: #c14a4a;
}

.cart-item-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--grijs-lijn);
  border-radius: 4px;
  overflow: hidden;
  background: var(--wit);
}

.cart-item-qty button {
  width: 30px;
  height: 30px;
  border: none;
  background: var(--wit);
  color: var(--grijs-tekst);
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--font-body);
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-item-qty button:hover {
  background: var(--goud-soft);
  color: var(--goud-donker);
}
.cart-item-qty button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: var(--wit);
  color: var(--grijs-body);
}

/* Op touch-devices wat ruimere tap-targets */
@media (hover: none) {
  .cart-item-qty button {
    width: 34px;
    height: 34px;
  }
}

.cart-item-qty span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grijs-tekst);
  min-width: 24px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.cart-footer {
  padding: 1.25rem 1.5rem 1.5rem;
  padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0));
  border-top: 1px solid var(--grijs-lijn-licht);
  background: var(--wit);
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-sub);
  font-size: 0.85rem;
  color: var(--grijs-body);
  margin-bottom: 0.4rem;
}
.cart-subtotal-row span:last-child {
  color: var(--grijs-tekst);
  font-weight: 600;
  font-family: var(--font-body);
  font-variant-numeric: tabular-nums;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-body);
  margin-bottom: 0.65rem;
}
.cart-total span:first-child {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--grijs-tekst);
  letter-spacing: 0.02em;
}
.cart-total span:last-child {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--grijs-tekst);
  font-variant-numeric: tabular-nums;
}

.cart-shipping-note {
  font-family: var(--font-sub);
  font-size: 0.75rem;
  color: var(--goud-donker);
  margin-bottom: 1rem;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}
.cart-shipping-note::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--goud);
  margin-top: 0.45rem;
  flex-shrink: 0;
}

.cart-checkout {
  width: 100%;
  text-align: center;
  padding: 0.95rem 1.5rem;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  min-height: 50px;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

/* --- Quick preview overlay --- */
.quick-preview-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.quick-preview-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.quick-preview-modal {
  background: var(--wit);
  max-width: 850px;
  width: 90vw;
  max-height: 85vh;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.quick-preview-overlay.active .quick-preview-modal {
  transform: scale(1) translateY(0);
}

.quick-preview-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--grijs-tekst);
  z-index: 2;
  padding: 4px;
  transition: color 0.2s ease;
}

.quick-preview-close:hover {
  color: var(--zwart);
}

.quick-preview-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.quick-preview-image {
  background: var(--grijs-licht);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.quick-preview-info {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quick-preview-info h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--grijs-tekst);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.quick-preview-price {
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--zwart);
  margin-bottom: 1.25rem;
}

.quick-preview-desc {
  font-family: var(--font-sub);
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--grijs-body);
  margin-bottom: 1.5rem;
}

.quick-preview-actions {
  margin-bottom: 1.5rem;
}

.quick-preview-more {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--grijs-tekst);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.quick-preview-more:hover {
  color: var(--goud);
}

/* Shop responsive */
@media (max-width: 768px) {
  .shop-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  /* Cart-toggle hoger zodat hij niet over het eerste product valt
     én visueel uitgelijnd met page-padding. */
  .cart-toggle {
    top: calc(var(--header-height) + 0.5rem);
    right: var(--page-padding);
    width: 44px;
    height: 44px;
  }

  .shop-shipping {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .shop-bottom {
    grid-template-columns: 1fr;
  }

  .quick-preview-content {
    grid-template-columns: 1fr;
  }

  .quick-preview-image {
    min-height: 250px;
  }

  .quick-preview-info {
    padding: 2rem 1.5rem;
  }

  /* Sticky sluitknop in quick-preview op mobiel — anders verdwijnt hij bij scroll */
  .quick-preview-close {
    position: sticky;
    top: 0.5rem;
    margin-left: auto;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    z-index: 5;
  }
}

@media (max-width: 480px) {
  .shop-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .shop-product-name {
    font-size: 0.8rem;
  }

  .shop-product-price {
    font-size: 0.8rem;
  }
}

/* === Responsive: grote / 4K schermen === */
/* Verruimt de page-padding zodat de hero-blokjes meer ademruimte krijgen
   tov de schermrand op zeer brede schermen, in lijn met de oude site. */
@media (min-width: 1800px) {
  :root {
    --page-padding: 56px;
  }
}

@media (min-width: 2400px) {
  :root {
    --page-padding: 80px;
  }
}

/* === Responsive === */
@media (max-width: 1200px) {
  :root {
    --page-padding: 28px;
  }
  .nav-links {
    gap: 1.8rem;
  }
  .nav-links a {
    font-size: 16px;
  }
  .nav-logo {
    padding: 0 1.5rem;
  }
  .nav-logo img {
    height: 55px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
    /* Iets ruimer dan 16px voor adem op formulieren en tekstblokken */
    --page-padding: 20px;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-container {
    justify-content: center;
  }

  .nav-logo {
    padding: 0;
  }

  /* Mobiel menu is altijd display:flex (voor transitions); op desktop
     is hij sowieso verborgen omdat de menu-toggle weg is. */

  .hero-blocks {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .hero-block {
    height: 55vw;
    min-height: 240px;
    max-height: 400px;
  }

  .hero-block-title {
    font-size: 1.2rem;
  }

  .vdb-section {
    grid-template-columns: 1fr;
    padding-bottom: 3rem;
  }

  /* Op tablet/mobiel stacked de sectie: container hoort bij de video-hoogte,
     anders ontstaat er een leeg gat onder de video. */
  .vdb-media {
    height: auto;
    min-height: 300px;
    max-height: 420px;
  }

  .vdb-media video,
  .vdb-media img {
    min-height: 300px;
    max-height: 400px;
  }

  .vdb-content {
    padding: 2rem 0;
  }

  .vdb-title {
    font-size: 2.5rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-block {
    height: 60vw;
    min-height: 220px;
  }

  /* Iets kleiner zodat 2-regelige titels ("Rondleidingen & Proeverijen") passen */
  .hero-block-title {
    font-size: 0.95rem;
    line-height: 1.2;
  }

  .hero-block-desc {
    font-size: 0.78rem;
  }

  .hero-block-content {
    bottom: 0.85rem;
    left: 0.85rem;
    right: 0.85rem;
  }

  .vdb-title {
    font-size: 2rem;
  }
}

/* === Juridische pagina's (privacy, voorwaarden) === */
.legal-page {
  padding-top: calc(var(--header-height) + 2rem);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.legal-content h1 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--grijs-tekst);
  margin-bottom: 0.5rem;
}

.legal-date {
  color: var(--grijs-body);
  font-size: 0.9rem;
  margin-bottom: 3rem;
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--grijs-tekst);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--grijs-body);
  margin-bottom: 1rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content li {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--grijs-body);
  margin-bottom: 0.25rem;
}

.legal-content strong {
  color: var(--grijs-tekst);
}

@media (max-width: 768px) {
  .legal-content h1 {
    font-size: 2rem;
  }
}

/* ============================================
   CHECKOUT PAGINA (/afrekenen.html)
   Single-page checkout — mobile-first met
   collapsible summary bovenaan en sticky bottombar.
   ============================================ */

.checkout-page {
  padding-top: var(--header-height);
  background: var(--grijs-licht);
  min-height: 100vh;
}

/* Het [hidden] attribuut moet voorrang krijgen op latere display: flex / grid
   declaraties (anders blijft een verborgen sectie zichtbaar). */
.checkout-page [hidden],
.confirm-page [hidden] {
  display: none !important;
}

/* Toegankelijke verborgen label */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Honeypot — buiten beeld, niet via display:none zodat bots em zien */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Empty cart state */
.checkout-empty {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem var(--page-padding);
}
.checkout-empty-inner {
  text-align: center;
  max-width: 420px;
}
.checkout-empty-inner h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 400;
  color: var(--grijs-tekst);
  margin-bottom: 0.75rem;
}
.checkout-empty-inner p {
  color: var(--grijs-body);
  margin-bottom: 1.75rem;
}
.checkout-empty-inner .btn {
  padding: 0.85rem 2rem;
}

/* Wrapper */
.checkout-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 2.5rem var(--page-padding) 6rem;
}

/* Header van de pagina */
.checkout-header {
  margin-bottom: 2.25rem;
}
.checkout-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grijs-tekst);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}
.checkout-back:hover {
  color: var(--goud-donker);
}
.checkout-back svg {
  transition: transform 0.2s ease;
}
.checkout-back:hover svg {
  transform: translateX(-3px);
}
.checkout-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--goud-donker);
  margin-bottom: 0.5rem;
}
.checkout-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  color: var(--grijs-tekst);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.checkout-lede {
  font-family: var(--font-sub);
  font-size: 0.95rem;
  color: var(--grijs-body);
  max-width: 50ch;
}

/* Mobiele samenvatting bovenaan — standaard verborgen op desktop */
.checkout-summary-mobile {
  display: none;
  background: var(--wit);
  border: 1px solid var(--grijs-lijn);
  border-radius: 6px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.checkout-summary-mobile-trigger {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  cursor: pointer;
  font-family: var(--font-body);
  user-select: none;
  min-height: 56px;
}
.checkout-summary-mobile-trigger::-webkit-details-marker {
  display: none;
}
.checkout-summary-mobile-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--grijs-tekst);
}
.checkout-summary-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--goud-soft);
  color: var(--goud-donker);
  transition: transform 0.3s ease;
}
.checkout-summary-mobile[open] .checkout-summary-chevron {
  transform: rotate(-180deg);
}
.checkout-summary-mobile-total {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--grijs-tekst);
  font-variant-numeric: tabular-nums;
}
.checkout-summary-mobile-body {
  padding: 0.25rem 1.1rem 1.1rem;
  border-top: 1px solid var(--grijs-lijn-licht);
}

/* === Grid: form + summary === */
.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 2.5rem;
  align-items: start;
}

/* === Form === */
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.checkout-section {
  background: var(--wit);
  border-radius: 6px;
  padding: 1.75rem;
  border: 1px solid var(--grijs-lijn-licht);
}

.checkout-section-head {
  margin-bottom: 1.25rem;
}
.checkout-section-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--goud-donker);
  margin-bottom: 0.35rem;
}
.checkout-section-head h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--grijs-tekst);
  margin: 0;
  line-height: 1.15;
}
.optional-label {
  font-size: 0.85rem;
  color: var(--grijs-body);
  font-weight: 400;
}

/* Form fields */
.form-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-row:last-child {
  margin-bottom: 0;
}
.form-row-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
}
.form-field label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--grijs-tekst);
  margin-bottom: 0.4rem;
}
.form-field input,
.form-field textarea {
  width: 100%;
  font-family: var(--font-sub);
  /* 16px voorkomt iOS auto-zoom in form-velden */
  font-size: 16px;
  color: var(--grijs-tekst);
  background: var(--wit);
  border: 1px solid var(--grijs-lijn);
  border-radius: 4px;
  padding: 0.85rem 0.9rem;
  min-height: 48px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.55;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #b7b7b7;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--goud);
  box-shadow: 0 0 0 3px var(--goud-soft);
}
.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: #c14a4a;
}
.form-field input[aria-invalid="true"]:focus,
.form-field textarea[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px rgba(193, 74, 74, 0.15);
}

.form-error {
  display: none;
  font-family: var(--font-sub);
  font-size: 0.78rem;
  color: #c14a4a;
  margin-top: 0.35rem;
  line-height: 1.4;
}
.form-error.visible {
  display: block;
}

/* Akkoord-checkbox */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-family: var(--font-sub);
  font-size: 0.9rem;
  color: var(--grijs-tekst);
  line-height: 1.55;
  cursor: pointer;
}
.form-check input[type="checkbox"] {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  cursor: pointer;
  accent-color: var(--goud-donker);
}
.form-check a {
  color: var(--goud-donker);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-check a:hover {
  color: var(--goud);
}

/* === Verzendmethode radio-cards === */
.ship-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0;
}
.ship-option {
  position: relative;
  cursor: pointer;
  display: block;
}
.ship-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.ship-option-inner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border: 1.5px solid var(--grijs-lijn);
  border-radius: 6px;
  background: var(--wit);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  min-height: 76px;
}
.ship-option:hover .ship-option-inner {
  border-color: var(--goud-line);
}
.ship-option input:focus-visible + .ship-option-inner {
  box-shadow: 0 0 0 3px var(--goud-soft);
}
.ship-option input:checked + .ship-option-inner {
  border-color: var(--goud);
  background: var(--goud-soft);
}
.ship-option-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wit);
  color: var(--goud-donker);
  border: 1px solid var(--goud-line);
}
.ship-option input:checked + .ship-option-inner .ship-option-icon {
  background: var(--goud);
  border-color: var(--goud);
  color: var(--wit);
}
.ship-option-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.ship-option-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--grijs-tekst);
}
.ship-option-meta {
  font-family: var(--font-sub);
  font-size: 0.8rem;
  color: var(--grijs-body);
  line-height: 1.4;
}

/* Adres- en afhaalblok — animatie bij in/uit klappen */
.address-block,
.pickup-block {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, margin-top 0.25s ease, opacity 0.25s ease;
  opacity: 0;
  margin-top: 0;
}
.address-block.is-open,
.pickup-block.is-open {
  max-height: 640px;
  opacity: 1;
  margin-top: 1.25rem;
}
.address-block-inner,
.pickup-block-inner {
  padding-top: 0.25rem;
}

/* Afhaalblok */
.pickup-intro {
  font-family: var(--font-sub);
  font-size: 0.85rem;
  color: var(--grijs-body);
  line-height: 1.55;
  margin-bottom: 1.1rem;
}
.pickup-dagdeel-label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--grijs-tekst);
  margin-bottom: 0.4rem;
  display: block;
}
.pickup-block select {
  width: 100%;
  font-family: var(--font-sub);
  font-size: 16px;
  color: var(--grijs-tekst);
  background: var(--wit);
  border: 1px solid var(--grijs-lijn);
  border-radius: 4px;
  padding: 0.85rem 0.9rem;
  min-height: 48px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.pickup-block select:focus {
  outline: none;
  border-color: var(--goud);
  box-shadow: 0 0 0 3px var(--goud-soft);
}
.pickup-block select[aria-invalid="true"] {
  border-color: #c14a4a;
}

/* Dagdeel radio-pills */
.dagdeel-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.dagdeel-option {
  position: relative;
  cursor: pointer;
  display: block;
}
.dagdeel-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.dagdeel-inner {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--grijs-lijn);
  border-radius: 6px;
  background: var(--wit);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  min-height: 64px;
  justify-content: center;
}
.dagdeel-option:hover .dagdeel-inner {
  border-color: var(--goud-line);
}
.dagdeel-option input:focus-visible + .dagdeel-inner {
  box-shadow: 0 0 0 3px var(--goud-soft);
}
.dagdeel-option input:checked + .dagdeel-inner {
  border-color: var(--goud);
  background: var(--goud-soft);
}
.dagdeel-titel {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--grijs-tekst);
}
.dagdeel-tijd {
  font-family: var(--font-sub);
  font-size: 0.8rem;
  color: var(--grijs-body);
}

/* Buiten-seizoen melding */
.pickup-notice {
  background: var(--goud-soft);
  border: 1px solid var(--goud-line);
  border-radius: 6px;
  padding: 1rem 1.1rem;
}
.pickup-notice p {
  font-family: var(--font-sub);
  font-size: 0.85rem;
  color: var(--grijs-tekst);
  line-height: 1.55;
  margin: 0;
}
.pickup-notice a {
  color: var(--goud-donker);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pickup-notice[hidden] { display: none; }

/* Finish-sectie */
.checkout-finish {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.checkout-submit {
  position: relative;
  width: 100%;
  padding: 1.05rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.checkout-submit[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}
.checkout-submit-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.45);
  border-top-color: var(--wit);
  border-radius: 50%;
  animation: spinCheckout 0.8s linear infinite;
}
.checkout-submit.is-loading .checkout-submit-label {
  opacity: 0;
}
.checkout-submit.is-loading .checkout-submit-spinner {
  display: block;
  position: absolute;
}
@keyframes spinCheckout {
  to { transform: rotate(360deg); }
}

.checkout-trust {
  font-family: var(--font-sub);
  font-size: 0.78rem;
  color: var(--grijs-body);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  line-height: 1.4;
}
.checkout-trust svg {
  color: var(--goud-donker);
  flex-shrink: 0;
}

.checkout-error-banner {
  background: #fcefef;
  border: 1px solid #e6b8b8;
  color: #8a2929;
  font-family: var(--font-sub);
  font-size: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 4px;
  line-height: 1.5;
}

/* === Summary sidebar === */
.checkout-summary {
  position: sticky;
  top: var(--sticky-top, 140px);
  align-self: start;
  transition: top 0.35s ease;
}
.checkout-summary-inner {
  background: var(--wit);
  border: 1px solid var(--grijs-lijn-licht);
  border-radius: 6px;
  padding: 1.75rem;
}
.checkout-summary-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--grijs-tekst);
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--grijs-lijn-licht);
}

.summary-items {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.summary-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 0.85rem;
  align-items: center;
}
.summary-item-image {
  width: 56px;
  height: 56px;
  background: var(--grijs-licht);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.summary-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.summary-item-image svg {
  width: 60%;
  height: auto;
  opacity: 0.5;
}
.summary-item-info {
  min-width: 0;
}
.summary-item-name {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--grijs-tekst);
  margin: 0 0 0.25rem;
  line-height: 1.3;
  /* Lange productnamen netjes afbreken */
  overflow-wrap: anywhere;
}
.summary-item-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.summary-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--grijs-lijn);
  border-radius: 4px;
  overflow: hidden;
}
.summary-qty button {
  width: 28px;
  height: 28px;
  border: none;
  background: var(--wit);
  color: var(--grijs-tekst);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease;
}
.summary-qty button:hover {
  background: var(--goud-soft);
  color: var(--goud-donker);
}
.summary-qty button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.summary-qty-value {
  min-width: 26px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grijs-tekst);
  font-variant-numeric: tabular-nums;
}
.summary-item-remove {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-sub);
  font-size: 0.75rem;
  color: var(--grijs-body);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.summary-item-remove:hover {
  color: #c14a4a;
}
.summary-item-price {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--grijs-tekst);
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.summary-totals {
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--grijs-lijn-licht);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.summary-totals-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
}
.summary-totals-row dt {
  font-family: var(--font-sub);
  font-size: 0.88rem;
  color: var(--grijs-body);
}
.summary-totals-row dd {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--grijs-tekst);
  font-variant-numeric: tabular-nums;
}
.summary-totals-grand {
  margin-top: 0.4rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--grijs-lijn-licht);
}
.summary-totals-grand dt {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--grijs-tekst);
  letter-spacing: 0.02em;
}
.summary-totals-grand dd {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--grijs-tekst);
}
.summary-note {
  margin-top: 0.85rem;
  font-family: var(--font-sub);
  font-size: 0.78rem;
  color: var(--goud-donker);
  line-height: 1.4;
  min-height: 1rem;
}

/* === Mobile sticky bottom bar === */
.checkout-bottombar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--wit);
  border-top: 1px solid var(--grijs-lijn);
  padding: 0.85rem var(--page-padding);
  padding-bottom: calc(0.85rem + env(safe-area-inset-bottom, 0));
  box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
  gap: 0.85rem;
  align-items: center;
}
.checkout-bottombar-totals {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  line-height: 1.1;
}
.checkout-bottombar-label {
  font-family: var(--font-sub);
  font-size: 0.7rem;
  color: var(--grijs-body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.checkout-bottombar-total {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--grijs-tekst);
  font-variant-numeric: tabular-nums;
}
.checkout-bottombar-cta {
  flex: 1;
  min-height: 52px;
  padding: 0 1rem;
  font-size: 0.92rem;
}
.checkout-bottombar-cta[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

/* === Responsive breakpoints === */

/* Tablet: smaller summary */
@media (max-width: 1100px) {
  .checkout-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 2rem;
  }
}

/* Mobile (<900px): single column, mobile summary, bottom bar */
@media (max-width: 900px) {
  .checkout-wrap {
    padding: 1.5rem var(--page-padding) 7rem;
  }
  .checkout-header {
    margin-bottom: 1.25rem;
  }
  .checkout-summary-mobile {
    display: block;
  }
  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  /* Desktop sidebar verbergen op mobiel — info zit in collapsible bovenaan */
  .checkout-summary {
    display: none;
  }
  .checkout-section {
    padding: 1.4rem 1.25rem;
  }
  .checkout-bottombar {
    display: flex;
  }
}

/* Kleinere mobiel: stack ship-options verticaal */
@media (max-width: 520px) {
  .form-row-two {
    grid-template-columns: 1fr;
  }
  .ship-options {
    grid-template-columns: 1fr;
  }
  .checkout-section {
    padding: 1.25rem 1rem;
  }
  .checkout-summary-inner {
    padding: 1.25rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .address-block,
  .checkout-summary-chevron,
  .checkout-back svg,
  .checkout-summary,
  .ship-option-inner,
  .form-field input,
  .form-field textarea {
    transition: none !important;
  }
  .checkout-submit-spinner {
    animation: none;
  }
}

/* ============================================
   BESTELLING BEVESTIGD (/bestelling-bevestigd.html)
   ============================================ */

.confirm-page {
  padding-top: var(--header-height);
  background: var(--grijs-licht);
  min-height: 100vh;
}

.confirm-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem var(--page-padding) 6rem;
}

.confirm-state {
  text-align: center;
}

.confirm-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.confirm-icon-success {
  background: var(--goud);
  color: var(--wit);
  box-shadow: 0 8px 30px rgba(227, 187, 17, 0.25);
}
.confirm-icon-pending {
  background: var(--goud-soft);
  color: var(--goud-donker);
}
.confirm-icon-failed {
  background: #fbe9e9;
  color: #b03b3b;
}

.confirm-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--goud-line);
  border-top-color: var(--goud-donker);
  border-radius: 50%;
  animation: spinConfirm 0.9s linear infinite;
}
@keyframes spinConfirm {
  to { transform: rotate(360deg); }
}

.confirm-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--goud-donker);
  margin-bottom: 0.5rem;
}
.confirm-state h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 400;
  color: var(--grijs-tekst);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.confirm-lede {
  font-family: var(--font-sub);
  font-size: 1rem;
  color: var(--grijs-body);
  line-height: 1.6;
  margin: 0 auto 2rem;
  max-width: 50ch;
}
.confirm-lede a {
  color: var(--goud-donker);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* === Order-card === */
.confirm-card {
  background: var(--wit);
  border: 1px solid var(--grijs-lijn-licht);
  border-radius: 8px;
  padding: 1.75rem;
  text-align: left;
  margin-bottom: 1.5rem;
}
.confirm-card-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--grijs-lijn-licht);
  margin-bottom: 1.25rem;
}
.confirm-card-shipto {
  text-align: right;
  max-width: 50%;
}
.confirm-card-label {
  display: block;
  font-family: var(--font-sub);
  font-size: 0.72rem;
  color: var(--grijs-body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.25rem;
}
.confirm-card-value {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--grijs-tekst);
  letter-spacing: 0.02em;
}
.confirm-card-value-sm {
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--grijs-tekst);
}

.confirm-items {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.confirm-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--grijs-tekst);
}
.confirm-item-name {
  min-width: 0;
  overflow-wrap: anywhere;
}
.confirm-item-qty {
  color: var(--grijs-body);
  font-weight: 400;
}
.confirm-item-price {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.confirm-totals {
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--grijs-lijn-licht);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.confirm-totals-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
}
.confirm-totals-row dt {
  font-family: var(--font-sub);
  font-size: 0.88rem;
  color: var(--grijs-body);
}
.confirm-totals-row dd {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--grijs-tekst);
  font-variant-numeric: tabular-nums;
}
.confirm-totals-grand {
  padding-top: 0.85rem;
  margin-top: 0.4rem;
  border-top: 1px solid var(--grijs-lijn-licht);
}
.confirm-totals-grand dt {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--grijs-tekst);
}
.confirm-totals-grand dd {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
}

.confirm-meta {
  font-family: var(--font-sub);
  font-size: 0.82rem;
  color: var(--grijs-body);
  margin-bottom: 2rem;
  line-height: 1.5;
}
.confirm-meta strong {
  color: var(--grijs-tekst);
  font-weight: 600;
}

.confirm-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.confirm-actions .btn {
  padding: 0.85rem 1.75rem;
}

@media (max-width: 600px) {
  .confirm-wrap {
    padding: 2.5rem var(--page-padding) 4rem;
  }
  .confirm-card {
    padding: 1.25rem;
  }
  .confirm-card-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .confirm-card-shipto {
    text-align: left;
    max-width: 100%;
  }
  .confirm-actions {
    width: 100%;
    flex-direction: column;
  }
  .confirm-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .confirm-spinner {
    animation: none;
  }
}
