.ml-header { position: sticky; top: 0; z-index: 100; width: 100%; margin: 0; padding: 0; border: 0; border-bottom: 1px solid #ded8cd; background: #fdf9f3; color: #1c1b1b; box-sizing: border-box; }
.ml-header *, .ml-header *::before, .ml-header *::after { box-sizing: border-box; }
.ml-header .ml-header__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; width: min(1180px, calc(100% - 48px)); min-height: 76px; margin: 0 auto; padding: 0; }
.ml-header .ml-header__brand { display: block; flex-shrink: 0; width: 240px; margin: 0; padding: 0; text-decoration: none; }
.ml-header .ml-header__brand img { display: block; width: 100%; height: auto; max-width: none; }
.ml-header .ml-header__navigation { display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-end; gap: 30px; margin: 0; padding: 0; border: 0; }
.ml-header .ml-header__navigation > a { display: block; margin: 0; padding: 14px 0; border: 0; color: #4d4732; font-family: var(--font-body, 'Lato', Arial, sans-serif); font-size: 13.76px; font-weight: 700; font-style: normal; line-height: 1.3; letter-spacing: 0; text-decoration: none; white-space: nowrap; }
.ml-header .ml-header__navigation > a:hover, .ml-header .ml-header__navigation > a[aria-current='page'] { color: var(--nav-accent); }
.ml-header a:focus-visible, .ml-header button:focus-visible { outline: 2px solid #4c7a46; outline-offset: 5px; }
.ml-header .ml-header__toggle { display: none; align-items: center; gap: 10px; margin: 0; padding: 10px 12px; border: 1px solid #ded8cd; border-radius: 2px; background: transparent; color: #1c1b1b; font-family: var(--font-body, 'Lato', Arial, sans-serif); font-size: 14px; font-weight: 700; line-height: 1.2; cursor: pointer; }
.ml-header .ml-header__icon { width: 19px; font-family: Arial, sans-serif; font-size: 20px; line-height: 1; text-align: center; }
.ml-header .ml-header__account { background: #edf3e8; border-top: 1px solid #dbe5d4; }
.ml-header .ml-header__account-inner { display: flex; justify-content: flex-end; align-items: center; gap: 14px; width: min(1180px, calc(100% - 48px)); min-height: 38px; margin: 0 auto; font-family: var(--font-body, 'Lato', Arial, sans-serif); font-size: 12px; }
.ml-header .ml-header__account-inner > span { color: #52624b; }
.ml-header .ml-header__account a { display: inline-flex; gap: 10px; align-items: center; padding: 6px 12px; border-radius: 4px; background: #2d5a27; color: #fffdf8; font-weight: 600; line-height: 1.3; text-decoration: none; }
.ml-header .ml-header__account a:hover { background: #254f25; }
.ml-header .ml-header__account a.ml-header__cart { margin-right:auto;background:transparent;color:#2d5a27; }
@media (max-width: 900px) {
  .ml-header .ml-header__toggle { display: inline-flex; }
  .ml-header .ml-header__navigation { display: none; }
  .ml-header .ml-header__navigation.is-open { position: absolute; top: 100%; right: 0; left: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100dvh - 85px); overflow-y: auto; padding: 10px; border: 1px solid #ded8cd; background: #fdf9f3; box-shadow: 0 14px 28px rgba(57,52,42,.12); }
  .ml-header .ml-header__navigation > a { padding: 13px 12px; white-space: normal; font-size: 15px; }
  .ml-header .ml-header__navigation.is-open { z-index: 1; max-height: calc(100dvh - 125px); }
}

/* Het mega-menu deelt dezelfde bron op iedere openbare pagina. */
.ml-header .ml-header__navigation > .ml-header__top-link, .ml-header .ml-header__paths { font-size: 15px; }
.ml-header .ml-header__paths { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid transparent; border-radius: 30px; background: transparent; color: #4d4732; font-family: var(--font-body); font-weight: 700; line-height: 1.3; cursor: pointer; }
.ml-header .ml-header__paths:hover, .ml-header .ml-header__paths[aria-expanded='true'] { border-color: #dbe4cf; background: #edf3e8; color: #2d5a27; }
.ml-header .ml-header__paths[data-current='true'] { color: #2d5a27; }
.ml-header .ml-header__paths svg { transition: transform .18s ease; }
.ml-header .ml-header__paths[aria-expanded='true'] svg { transform: rotate(180deg); }
.ml-header .ml-mega[hidden] { display: none; }
.ml-header .ml-mega a { text-decoration: none; font-style: normal; letter-spacing: 0; line-height: 1.3; }
.ml-header .ml-mega { position: absolute; top: calc(100% + 39px); left: 0; right: 0; max-height: calc(100dvh - 138px); overflow: auto; overscroll-behavior: contain; padding: 30px; border: 1px solid #e0d8c9; border-top: 3px solid #d8c95c; border-radius: 0 0 18px 18px; background: #fdf9f3; box-shadow: 0 24px 55px #28311c30; text-align: left; font-family: var(--font-body); }
.ml-header .ml-mega__heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.ml-header .ml-mega__heading span, .ml-header .ml-mega__label { font-size: 11px; font-weight: 700; line-height: 1.3; letter-spacing: .12em; text-transform: uppercase; color: #65754e; }
.ml-header .ml-mega__heading h2 { margin: 7px 0 0; font: 500 28px/1.2 var(--font-heading); letter-spacing: -.035em; color: #25452b; }
.ml-header .ml-mega__close { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; padding: 0; border: 1px solid #ded8cd; border-radius: 50%; background: transparent; color: #4d4732; font: 26px/1 Arial, sans-serif; cursor: pointer; }
.ml-header .ml-mega__close:hover { background: #eee6d9; }
.ml-header .ml-mega__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.ml-header .ml-mega__label { margin: 0 0 16px; padding-left: 10px; }
.ml-header .ml-mega__column { min-width: 0; }
.ml-header .ml-mega__route { display: flex; align-items: center; gap: 14px; padding: 12px 10px; margin-bottom: 4px; border: 1px solid transparent; border-radius: 12px; color: #4d4732; white-space: normal; transition: background .18s ease, border-color .18s ease; }
.ml-header .ml-mega__route:hover, .ml-header .ml-mega__route[aria-current='page'] { background: #fffdf9; border-color: #ddd7c8; color: var(--nav-accent); }
.ml-header .ml-mega__route img { display: block; flex-shrink: 0; width: 76px; height: 70px; object-fit: cover; border-radius: 8px; }
.ml-header .ml-mega__route strong { display: block; font-size: 16px; font-weight: 700; line-height: 1.25; }
.ml-header .ml-mega__route small { display: block; margin-top: 6px; font-size: 12px; font-weight: 400; line-height: 1.4; color: #6e685e; }
.ml-header .ml-mega__arrow { margin-left: auto; color: var(--nav-accent); font-size: 20px; }
.ml-header .ml-mega__offers { display: flex; flex-direction: column; gap: 12px; }
.ml-header .ml-mega__ebook { display: block; padding: 18px 20px; border-radius: 12px; background: #f5e9be; color: #35452d; white-space: normal; }
.ml-header .ml-mega__ebook:hover { background: #f1e2ac; color: #25452b; }
.ml-header .ml-mega__badge { display: inline-block; padding: 5px 9px; border-radius: 20px; background: #fff9df; color: #685520; font-size: 10px; font-weight: 700; letter-spacing: .06em; }
.ml-header .ml-mega__ebook > div { display: flex; align-items: center; gap: 15px; margin: 14px 0; }
.ml-header .ml-mega__ebook img { display: block; width: 95px; height: 128px; object-fit: contain; flex-shrink: 0; filter: drop-shadow(0 8px 8px #70542422); }
.ml-header .ml-mega__ebook strong { font: 500 23px/1.12 var(--font-heading); letter-spacing: -.035em; }
.ml-header .ml-mega__ebook small { display: block; margin-top: 10px; font-size: 12px; font-weight: 400; line-height: 1.4; }
.ml-header .ml-mega__cta { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px solid #d7c78e; font-size: 13px; font-weight: 700; }
.ml-header .ml-mega__trial { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 12px; background: #e4eef0; color: #285362; white-space: normal; }
.ml-header .ml-mega__trial:hover { color: #254552; background: #d7e7ea; }
.ml-header .ml-mega__trial strong { font-size: 13px; }
.ml-header .ml-mega__trial small { display: block; margin-top: 4px; font-size: 11px; font-weight: 400; line-height: 1.4; }
.ml-header .ml-mega__play { display: grid; place-items: center; flex-shrink: 0; width: 34px; height: 34px; border: 1px solid #abc9d1; border-radius: 50%; font-size: 12px; }
.ml-header .ml-mega__foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 22px; padding-top: 18px; border-top: 1px solid #ded8cd; color: #6e685e; font-size: 12px; }
.ml-header .ml-mega__foot a { padding: 0; color: #2d5a27; font-size: 12px; white-space: normal; }
@media (min-width: 901px) and (max-width: 1100px) {
  .ml-header .ml-mega { padding: 22px; }
  .ml-header .ml-mega__grid { gap: 14px; }
  .ml-header .ml-mega__route { gap: 10px; padding: 10px 6px; }
  .ml-header .ml-mega__route img { width: 56px; height: 60px; }
  .ml-header .ml-mega__ebook img { width: 68px; height: 106px; }
  .ml-header .ml-mega__ebook strong { font-size: 21px; }
}
@media (max-width: 900px) {
  .ml-header .ml-header__navigation.is-open { justify-content: flex-start; max-height: calc(100dvh - 125px); }
  .ml-header .ml-header__navigation.is-open > * { flex-shrink: 0; }
  .ml-header .ml-header__paths { justify-content: space-between; padding: 13px 12px; border-radius: 6px; }
  .ml-header .ml-mega { position: static; max-height: none; overflow: visible; padding: 18px 8px 10px; margin-top: 8px; border: 0; border-top: 1px solid #ded8cd; border-radius: 0; box-shadow: none; }
  .ml-header .ml-mega__grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .ml-header .ml-mega__offers { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .ml-header .ml-mega__heading h2 { font-size: 23px; }
  .ml-header .ml-mega__heading > .ml-mega__close { display: none; }
  .ml-header .ml-mega__foot { flex-wrap: wrap; gap: 10px; }
}
@media (max-width: 600px) {
  .ml-header .ml-header__navigation.is-open { max-height: calc(100dvh - 84px); overscroll-behavior: contain; touch-action: pan-y; border-radius: 0 0 14px 14px; }
  .ml-header .ml-header__navigation > .ml-header__top-link, .ml-header .ml-header__paths { min-height: 44px; padding: 12px; }
  .ml-header .ml-mega { padding: 8px 0; margin-top: 4px; }
  .ml-header .ml-mega__grid, .ml-header .ml-mega__offers { grid-template-columns: 1fr; }
  .ml-header .ml-mega__grid { gap: 0; }
  .ml-header .ml-mega__heading, .ml-header .ml-mega__label, .ml-header .ml-mega__foot { display: none; }
  .ml-header .ml-mega__route img { width: 38px; height: 38px; border-radius: 6px; }
  .ml-header .ml-mega__route { min-height: 54px; padding: 7px 9px; gap: 12px; margin-bottom: 0; border-radius: 8px; }
  .ml-header .ml-mega__route strong { font-size: 14px; line-height: 1.3; }
  .ml-header .ml-mega__route small { display: none; }
  .ml-header .ml-mega__arrow { font-size: 18px; }
  .ml-header .ml-mega__offers { gap: 8px; margin: 12px 0 0; padding-top: 12px; border-top: 1px solid #ded8cd; }
  .ml-header .ml-mega__ebook { padding: 14px 12px; border-radius: 8px; }
  .ml-header .ml-mega__ebook > div, .ml-header .ml-mega__badge { display: none; }
  .ml-header .ml-mega__cta { padding: 0; border: 0; font-size: 13px; }
  .ml-header .ml-mega__trial { min-height: 46px; padding: 10px 12px; border-radius: 8px; gap: 10px; }
  .ml-header .ml-mega__trial small { display: none; }
  .ml-header .ml-mega__trial > span:last-child { margin-left: auto; }
  .ml-header .ml-mega__play { width: 26px; height: 26px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .ml-header .ml-header__paths svg, .ml-header .ml-mega__route { transition: none; }
}
@media (max-width: 560px) {
  .ml-header .ml-header__inner { width: calc(100% - 32px); min-height: 68px; gap: 16px; }
  .ml-header .ml-header__brand { width: min(210px, calc(100vw - 142px)); }
  .ml-header .ml-header__account-inner { width: calc(100% - 32px); }
  .ml-header .ml-header__account-inner > span { display: none; }
}
