/*
Theme Name: Eerlijk Verzorgd
Theme URI: https://eerlijkverzorgd.nl/
Author: Eerlijk Verzorgd
Description: Redactionele productvergelijking met aanpasbare vormgeving en inhoud via de WordPress Customizer.
Version: 1.3.4
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: eerlijk-verzorgd
*/

  :root {
    --paper: #F3F7FC;
    --card: #FFFFFF;
    --wash: #E7EFF8;
    --ink: #0E2240;
    --ink-2: #51627A;
    --line: #D3DEEB;
    --leaf: #16305A;
    --leaf-deep: #0B1C38;
    --honey: #4C8DF6;
    --honey-wash: #E4EEFD;
    --minus: #B5523F;
    --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
    --serif: var(--sans);
    --r-lg: 22px;
    --r-md: 14px;
    color-scheme: light;
  }
  * { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; }
  body {
    margin: 0; background: var(--paper); color: var(--ink);
    font-family: var(--sans); font-size: 17.5px; line-height: 1.7; font-weight: 400;
    -webkit-font-smoothing: antialiased;
    padding-inline: 20px; padding-block: 0 88px;
  }
  img { max-width: 100%; display: block; }
  b, strong { font-weight: 700; }
  a { color: var(--leaf); text-underline-offset: 3px; text-decoration-thickness: 1px; }
  a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--honey); outline-offset: 3px; border-radius: 6px; }
  .skip { position: absolute; left: -9999px; }
  .skip:focus { left: 20px; top: 10px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 50; border-radius: 8px; }

  /* hardcoded svg colours -> palette */
  [fill="#2E5E4E"] { fill: var(--leaf); }
  [stroke="#2E5E4E"] { stroke: var(--leaf); }
  [fill="#A8402C"] { fill: var(--minus); }
  [stroke="#D9A21B"] { stroke: var(--honey); }
  [fill="#17201C"] { fill: currentColor; }

  /* site header */
  .site { max-width: 760px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 26px 22px; flex-wrap: wrap; }
  .brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
  .brand-mark { width: 28px; height: 28px; flex: none; }
  .brand-name { font-weight: 700; font-size: 21px; letter-spacing: -0.035em; line-height: 1; }
  .site nav { display: flex; gap: 26px; font-size: 14.5px; font-weight: 500; }
  .site nav a { color: var(--ink); text-decoration: none; opacity: .75; transition: opacity .2s; }
  .site nav a:hover { opacity: 1; }
  @media (max-width: 480px) { .site nav { display: none; } }

  .disclosure { max-width: 760px; margin: 0 auto; font-size: 13px; line-height: 1.5; color: var(--ink-2); background: var(--card); border: 1px solid var(--line); padding: 10px 18px; border-radius: 999px; text-align: center; }
  .disclosure strong { color: var(--ink); letter-spacing: .1em; text-transform: uppercase; font-size: 11px; margin-right: 8px; font-weight: 700; }
  @media (max-width: 480px) { .disclosure { border-radius: var(--r-md); text-align: left; } }

  main { max-width: 760px; margin: 0 auto; }
  .crumbs { font-size: 13.5px; color: var(--ink-2); padding-block: 30px 0; }
  .crumbs a { color: var(--ink-2); text-decoration: none; }
  .crumbs a:hover { color: var(--ink); }
  .eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin: 34px 0 14px; }
  h1 { font-weight: 500; font-size: clamp(36px, 7.6vw, 58px); line-height: 1.06; letter-spacing: -0.04em; margin: 0 0 20px; text-wrap: balance; }
  .dek { font-size: 19.5px; line-height: 1.6; margin: 0 0 30px; color: var(--ink-2); text-wrap: pretty; max-width: 640px; }
  .byline { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--ink-2); padding-block: 18px; border-block: 1px solid var(--line); line-height: 1.5; }
  .byline .av { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 13px; letter-spacing: .04em; flex: none; }
  .byline b { color: var(--ink); font-weight: 600; }

  /* hero test table */
  .testtafel { margin: 34px 0 10px; }
  .board {
    position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: var(--r-lg); overflow: hidden;
    background: radial-gradient(ellipse 70% 60% at 50% 38%, #FFFFFF 0%, #F4F8FD 55%, #E5EEF8 100%);
    border: 1px solid var(--line);
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; padding: 0 4% 3%;
  }
  .board::after { content: ""; position: absolute; left: 6%; right: 6%; top: 67%; height: 1px; background: linear-gradient(90deg, transparent, var(--line) 15%, var(--line) 85%, transparent); }
  .dab { position: relative; justify-self: center; width: 86%; aspect-ratio: 1; z-index: 1; }
  .dab img { width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 14px 14px rgba(14,34,64,.16)) drop-shadow(0 3px 4px rgba(14,34,64,.10)); }
  .tag { position: absolute; left: 50%; bottom: -34%; transform: translateX(-50%); background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: clamp(11px, 2.4vw, 14px); min-width: 2.4em; height: 2.4em; padding: 0 .6em; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
  .tag:empty { display: none; }
  .d1 .tag { background: var(--ink); color: #fff; border-color: var(--ink); }
  @media (max-width: 560px) {
    .board { aspect-ratio: 4 / 3; padding: 0 2% 8%; }
    .board::after { top: 62%; }
    .dab { width: 94%; }
    .tag { bottom: -52%; min-width: 2.2em; height: 2.2em; }
  }
  .testtafel figcaption { font-size: 13.5px; color: var(--ink-2); margin-top: 12px; line-height: 1.5; text-align: center; }

  /* body text */
  .prose p { margin: 0 0 20px; text-wrap: pretty; }
  .prose h2 { font-weight: 500; font-size: clamp(26px, 5.4vw, 36px); line-height: 1.15; letter-spacing: -0.035em; margin: 56px 0 16px; text-wrap: balance; }
  .prose h3 { font-size: 18px; font-weight: 600; margin: 24px 0 8px; letter-spacing: -0.01em; }

  .method { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 26px 14px; margin: 36px 0 30px; }
  .method h2 { margin-top: 0; font-size: 26px; }
  .criteria { list-style: none; padding: 0; margin: 18px 0 14px; display: grid; gap: 16px; }
  .criteria li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
  .criteria .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--wash); display: grid; place-items: center; }
  .criteria b { display: block; font-size: 16.5px; color: var(--ink); font-weight: 600; }

  /* ranking overview */
  .overview { list-style: none; padding: 0; margin: 18px 0 40px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
  .overview li + li { border-top: 1px solid var(--line); }
  .overview a { display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: center; padding: 16px 22px; text-decoration: none; color: var(--ink); min-height: 60px; transition: background-color .2s; }
  .overview a:hover { background: var(--paper); }
  .overview .r { font-weight: 400; font-size: 22px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
  .overview .n { font-weight: 600; font-size: 16px; line-height: 1.35; letter-spacing: -0.01em; }
  .overview .n small { display: block; font-weight: 400; color: var(--ink-2); font-size: 13.5px; letter-spacing: 0; }
  .overview .s { font-weight: 600; font-variant-numeric: tabular-nums; font-size: 15px; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
  .overview .r.dot::before { content: ""; display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--line); margin-left: 4px; }
  .overview li:first-child a { background: var(--honey-wash); }
  .overview li:first-child .r { color: var(--ink); font-weight: 600; }
  .overview li:first-child .s { background: var(--ink); color: #fff; border-color: var(--ink); }

  /* picks */
  .pick { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px; margin-top: 28px; }
  .pick.win { border: 1.5px solid var(--ink); box-shadow: 0 20px 50px -24px rgba(14,34,64,.25); }
  @media (max-width: 520px) { .pick { padding: 24px 18px; margin-inline: -6px; } }
  .pick-head.norank { grid-template-columns: 1fr; }
  .pick-head { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
  .rank { font-weight: 300; font-size: 60px; line-height: .8; color: var(--ink); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
  .pick h2 { font-weight: 600; font-size: clamp(23px, 5vw, 30px); line-height: 1.15; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
  .pick .sub { color: var(--ink-2); font-size: 14.5px; margin-top: 6px; line-height: 1.45; }
  .badge { display: inline-flex; align-items: center; gap: 6px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; margin-bottom: 12px; }
  .badge svg { color: var(--honey); fill: var(--honey); }
  .badge svg path { fill: var(--honey); }
  .pick figure { margin: 24px 0 22px; }
  .pick figure img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--r-md); background: var(--paper); }
  .pick figure.packshot { background: var(--paper); border-radius: var(--r-md); padding: 24px; }
  .pick figure.packshot img { max-width: 380px; margin-inline: auto; object-fit: contain; background: transparent; }
  .pick figure.photo { position: relative; }
  .pick figure.photo img { aspect-ratio: 1080 / 920; display: block; }
  .pick figure.photo figcaption { position: absolute; left: 12px; bottom: 12px; font-size: 12.5px; font-weight: 500; color: var(--ink); background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 5px 12px; border-radius: 999px; }
  .swatch { aspect-ratio: 16 / 9; max-width: 100%; border-radius: var(--r-md); background: var(--wash); display: grid; place-items: center; position: relative; overflow: hidden; }
  .swatch .blob { width: 42%; aspect-ratio: 1.6; border-radius: 48% 52% 46% 54% / 55% 45% 55% 45%; box-shadow: 0 12px 24px rgba(14,34,64,.18); }
  .swatch span { position: absolute; left: 12px; bottom: 10px; font-size: 13px; color: var(--ink-2); background: rgba(255,255,255,.85); padding: 3px 8px; border-radius: 999px; }

  .specs { margin: 18px 0 24px; padding: 6px 20px; background: var(--paper); border-radius: var(--r-md); display: grid; }
  .specs > div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 12px 0; font-size: 15px; line-height: 1.5; }
  .specs > div + div { border-top: 1px solid var(--line); }
  .specs dt { color: var(--ink-2); }
  .specs dd { margin: 0; font-weight: 500; }
  @media (max-width: 480px) { .specs > div { grid-template-columns: 1fr; gap: 2px; } }
  .scores { display: grid; gap: 14px; margin: 18px 0 24px; padding: 20px; background: var(--paper); border-radius: var(--r-md); }
  .score { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 14.5px; color: var(--ink-2); }
  .score b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
  .score .bar { grid-column: 1 / -1; height: 5px; background: var(--line); border-radius: 99px; overflow: hidden; }
  .score .bar i { display: block; height: 100%; background: var(--leaf); border-radius: 99px; }
  .pick.win .score .bar i { background: linear-gradient(90deg, var(--leaf), var(--honey)); }
  .total { display: flex; align-items: baseline; gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; font-weight: 600; }
  .total .big { font-size: 36px; font-weight: 500; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
  .total .of { color: var(--ink-2); font-weight: 400; font-size: 14px; }
  .pick.win .total .big { background: var(--ink); color: #fff; padding: 6px 14px 5px; border-radius: 999px; font-size: 30px; }

  .pc { display: grid; gap: 22px; margin: 24px 0; }
  @media (min-width: 640px) { .pc { grid-template-columns: 1fr 1fr; } }
  .pc h3 { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 12px; }
  .pc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
  .pc li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 15.5px; line-height: 1.5; }
  .pc svg { margin-top: 2px; width: 18px; height: 18px; }
  .bestfor { background: var(--honey-wash); border-radius: var(--r-md); padding: 14px 18px; font-size: 15.5px; line-height: 1.55; margin: 0 0 20px; }
  .bestfor b { color: var(--ink); }

  .btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 58px; padding: 14px 26px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 16.5px; letter-spacing: -0.01em; text-decoration: none; text-align: center; transition: background-color .2s ease, transform .2s ease; }
  .btn:hover { background: var(--leaf); }
  .btn:active { transform: scale(.99); }
  .btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); font-size: 15.5px; min-height: 52px; }
  .btn.ghost:hover { background: var(--ink); color: #fff; }
  .btn-note { text-align: center; font-size: 13px; color: var(--ink-2); margin-top: 10px; }

  .quote { margin: 24px 0; padding: 22px 24px; background: var(--paper); border-radius: var(--r-md); }
  .quote p { margin: 0 0 10px; font-size: 18px; line-height: 1.55; font-weight: 500; letter-spacing: -0.01em; }
  .quote cite { font-style: normal; font-size: 13.5px; color: var(--ink-2); }
  .stars { color: var(--honey); letter-spacing: 2px; margin-right: 4px; }

  /* table */
  .tw { overflow-x: auto; margin: 18px 0 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); }
  table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 14.5px; }
  th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
  th { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
  td.n { font-variant-numeric: tabular-nums; white-space: nowrap; }
  tr:last-child td { border-bottom: 0; }
  tr.win td { background: var(--honey-wash); font-weight: 600; }
  .tnote { font-size: 13px; color: var(--ink-2); margin-top: -14px; }

  .checklist { list-style: none; padding: 0; margin: 14px 0 28px; display: grid; gap: 12px; }
  .checklist li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 16.5px; }
  .checklist svg { margin-top: 4px; width: 18px; height: 18px; }

  /* offer */
  .offer { background: var(--card); border: 1.5px solid var(--ink); border-radius: var(--r-lg); padding: 32px 28px; margin: 44px 0; box-shadow: 0 20px 50px -24px rgba(14,34,64,.25); }
  @media (max-width: 520px) { .offer { padding: 26px 20px; margin-inline: -6px; } }
  .offer h2 { font-weight: 500; font-size: 30px; line-height: 1.15; letter-spacing: -0.035em; margin: 0 0 14px; text-wrap: balance; }
  .offer .code { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: var(--honey-wash); border: 1px dashed var(--honey); border-radius: 999px; padding: 12px 22px; margin: 18px 0 20px; font-size: 14.5px; color: var(--ink-2); }
  .offer .code b { letter-spacing: .14em; font-size: 16px; color: var(--ink); }
  .perks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; }
  .perks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; font-size: 16px; line-height: 1.5; }

  /* faq */
  details { border-bottom: 1px solid var(--line); }
  details:first-of-type { border-top: 1px solid var(--line); }
  summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 600; font-size: 16.5px; letter-spacing: -0.01em; position: relative; min-height: 56px; }
  summary::-webkit-details-marker { display: none; }
  summary::after { content: "+"; position: absolute; right: 0; top: 50%; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; font-weight: 400; font-size: 18px; line-height: 1; color: var(--ink); transform: translateY(-50%); transition: transform .2s ease, background-color .2s; }
  details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
  details p { margin: 0 0 20px; font-size: 16px; color: var(--ink-2); padding-right: 40px; }

  .about { display: grid; grid-template-columns: 48px 1fr; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; margin: 44px 0 10px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
  .about b { color: var(--ink); }
  .about .av { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 15px; letter-spacing: .04em; }
  .about p { margin: 0 0 8px; }

  footer.site-foot { max-width: 760px; margin: 36px auto 0; padding-block: 24px 10px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; }
  footer.site-foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
  footer.site-foot a { color: var(--ink-2); text-decoration: none; }
  footer.site-foot a:hover { color: var(--ink); }

  /* sticky bar (mobile) */
  .sticky { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 12px 30px -10px rgba(14,34,64,.3); padding: 8px 8px 8px 22px; display: flex; align-items: center; gap: 12px; transform: translateY(140%); transition: transform .25s ease-out; }
  .sticky.on { transform: none; }
  .sticky .t { flex: 1; font-size: 13px; line-height: 1.3; color: var(--ink-2); }
  .sticky .t b { display: block; font-size: 14.5px; color: var(--ink); font-weight: 600; }
  .sticky a { flex: none; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; padding: 12px 22px; border-radius: 999px; font-size: 14.5px; min-height: 46px; display: grid; place-items: center; }
  @media (min-width: 900px) { .sticky { display: none; } body { padding-block-end: 40px; } }
  @media (prefers-reduced-motion: reduce) { .sticky, .btn, summary::after, .overview a { transition: none; } }
