/* ──────────────────────────────────────────────────────────────
   Word lid — signup form, prototype v1-figma on Gravity Forms.
   Everything is scoped under .hzc-wl (word-lid/template-word-lid.php), so
   nothing here reaches the rest of hzc.nl.

   Measurements follow the prototype: 1096 content column, 708 / 320
   split with a 28 gap, 50px controls, 52px buttons, four-bar stepper.
   Not part of the original Sturdy theme. Maintained by WIT.
   ────────────────────────────────────────────────────────────── */

.hzc-wl{
  --navy:#00124A; --orange:#EE7F08; --orange-deep:#BD6506; --sky:#08A4EE; --red:#C02B0A;
  --bg:#F4F6FB; --surface:#FFFFFF; --surface-sunk:#F7F9FC; --surface-alt:#EEF2F9;
  --line:#DFE5F0; --line-strong:#C6D0E3;
  --ink:#00124A; --muted:#5A6480; --faint:#808AA3;
  --orange-tint:#FEF4E8; --orange-line:#F6CF9C; --sky-tint:#E8F6FE; --sky-line:#A8DCF7;
  --red-tint:#FDEEEB; --green:#157A4B; --green-tint:#E8F6EF; --green-line:#A7D9C0;
  --step-track:#EAECF0; --step-done:#1F7A3D;
  --focus:rgba(238,127,8,.32);
  --shadow-md:0 2px 4px rgba(0,18,74,.04), 0 10px 28px -14px rgba(0,18,74,.22);
  --font:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  background:var(--bg); color:var(--ink);
  font-family:var(--font); font-size:16px; line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
.hzc-wl *, .hzc-wl *::before, .hzc-wl *::after{box-sizing:border-box}
.hzc-wl h1, .hzc-wl h2, .hzc-wl h3{margin:0; font-family:var(--font); font-weight:600; letter-spacing:-.015em; color:var(--ink); text-wrap:balance; text-transform:none}
.hzc-wl p{margin:0}
.hzc-wl a{color:var(--sky); text-underline-offset:2px}
.hzc-wl :focus-visible{outline:3px solid var(--focus); outline-offset:2px; border-radius:6px}
.hzc-wl fieldset{border:0; margin:0; padding:0; min-width:0}
.hzc-wl .hidden{display:none !important}
@media (prefers-reduced-motion:reduce){
  .hzc-wl *, .hzc-wl *::before, .hzc-wl *::after{animation-duration:.01ms !important; transition-duration:.01ms !important}
}

/* ───────── shell: 708 main + 320 rail, 28 apart ───────── */
.hzc-wl__shell{
  max-width:1096px; margin:0 auto; width:100%;
  display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:28px; align-items:start;
  padding:28px 20px 56px;
}
.hzc-wl__main{min-width:0}

/* ───────── inside another page ─────────
   The "Formulier" block of a flexible content page (word-lid/shell.php with
   $embed): no page head, the page has its own. No grey panel and no inner
   margin either: the form lines up with the block heading and the page
   text, at the full width of the theme's container. */
.hzc-wl--embed{width:100%; text-align:start; background:transparent}
.hzc-wl--embed .hzc-wl__shell{max-width:none; padding:0 0 56px}
@media (max-width:940px){ .hzc-wl--embed .hzc-wl__shell{padding:0} }

/* ───────── page head ───────── */
.hzc-wl .pagehead{margin-bottom:20px}
.hzc-wl .pagehead h1{font-size:32px; line-height:1.19; letter-spacing:-.025em; margin-bottom:8px; font-weight:600}
.hzc-wl .pagehead p{font-size:16px; line-height:1.47; color:var(--muted); max-width:530px}

/* ───────── stepper ───────── */
.hzc-wl .steps{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin-bottom:20px}
.hzc-wl .step{display:block; width:100%; min-width:0; text-align:left; border:0; background:none;
  padding:0; font:inherit; color:inherit; cursor:default; box-shadow:none; border-radius:0}
.hzc-wl .step:disabled{opacity:1}
.hzc-wl .step.clickable{cursor:pointer}
.hzc-wl .step .bar{display:block; height:4px; border-radius:2px; background:var(--step-track); transition:background .3s}
.hzc-wl .step[data-state="done"] .bar{background:var(--step-done)}
.hzc-wl .step[data-state="current"] .bar{background:var(--orange)}
.hzc-wl .step .num{display:flex; align-items:center; gap:4px; margin-top:6px; height:18px;
  font-size:12px; font-weight:600; line-height:18px; color:var(--faint)}
.hzc-wl .step .num svg{flex:none}
.hzc-wl .step[data-state="done"] .num{color:var(--step-done)}
.hzc-wl .step[data-state="current"] .num{color:var(--orange)}
.hzc-wl .step .name{display:block; margin-top:6px; font-size:14px; line-height:19px; font-weight:500;
  color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.hzc-wl .step[data-state="current"] .name{color:var(--ink); font-weight:700}
.hzc-wl .step[data-state="done"] .name{color:var(--ink)}

.hzc-wl .steps-mini{display:none; flex-direction:column; gap:10px; margin-bottom:20px}
.hzc-wl .steps-mini .segs{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px}
.hzc-wl .steps-mini .segs span{height:4px; border-radius:2px; background:var(--step-track); transition:background .3s}
.hzc-wl .steps-mini .segs span[data-state="done"]{background:var(--step-done)}
.hzc-wl .steps-mini .segs span[data-state="current"]{background:var(--orange)}
.hzc-wl .steps-mini .line{display:flex; align-items:baseline; gap:12px}
.hzc-wl .steps-mini .mini-name{font-size:15px; font-weight:700; line-height:20px; color:var(--ink)}
.hzc-wl .steps-mini .mini-count{margin-left:auto; font-size:13px; font-weight:600; line-height:20px; color:var(--orange); white-space:nowrap}

/* ───────── form card ───────── */
.hzc-wl .card-wrap{background:var(--surface); border:1px solid var(--line); border-radius:14px;
  padding:29px; box-shadow:var(--shadow-md)}
@media (max-width:640px){ .hzc-wl .card-wrap{padding:20px} }

/* ───────── Gravity Forms reset inside the card ───────── */
.hzc-wl .gform_wrapper{margin:0; padding:0; max-width:none; font-family:var(--font); color:var(--ink)}
.hzc-wl .gform_wrapper form{margin:0}
.hzc-wl .gform_heading,
.hzc-wl .gf_page_steps,
.hzc-wl.is-ready .gform_page_footer,
.hzc-wl.is-ready .gform_footer,
.hzc-wl .gform_required_legend,
.hzc-wl .gform_validation_errors,
.hzc-wl .gform_hidden,
.hzc-wl .gfield--type-hidden,
.hzc-wl .gform_validation_container,
.hzc-wl .gform_ajax_spinner{display:none !important}
.hzc-wl .gform_body{margin:0; padding:0}

.hzc-wl .gform_wrapper .gform_fields{
  display:grid !important; grid-template-columns:repeat(6,minmax(0,1fr)) !important;
  gap:18px 12px !important; margin:0; padding:0; list-style:none; width:100%;
}
.hzc-wl .gform_wrapper .gfield{grid-column:1 / -1; margin:0 !important; padding:0 !important;
  min-width:0; max-width:none !important; width:auto !important; display:flex; flex-direction:column; gap:7px;
  background:none !important; border:0}
.hzc-wl .gform_wrapper .gfield[style*="display: none"],
.hzc-wl .gform_wrapper .gfield[style*="display:none"]{display:none !important}

/* half-width pairs, as the design lays them out */
.hzc-wl .hzc-voorletters, .hzc-wl .hzc-geslacht,
.hzc-wl .hzc-dob, .hzc-wl .hzc-beroep,
.hzc-wl .hzc-email, .hzc-wl .hzc-telefoon,
.hzc-wl .hzc-werkgever, .hzc-wl .hzc-cao,
.hzc-wl .hzc-opleiding, .hzc-wl .hzc-leerjaar,
.hzc-wl .hzc-land,
.hzc-wl .hzc-ab-nummer, .hzc-wl .hzc-ab-naam{grid-column:span 3 !important}
/* a lone half when its partner is hidden still stays half */
.hzc-wl .hzc-beroep-anders .ginput_container,
.hzc-wl .hzc-cao-anders .ginput_container{max-width:380px}

/* labels: 14/21 600, red asterisk flush against the label */
.hzc-wl .gform_wrapper .gfield_label,
.hzc-wl .gform_wrapper legend.gfield_label{
  display:block; margin:0 !important; padding:0; float:none; width:auto;
  font-size:14px !important; line-height:21px !important; font-weight:600 !important; color:var(--ink); font-family:var(--font);
}
/* the asterisk sits flush against the label: GF's own spacing and the
   "(Vereist)" text are collapsed to nothing, the star comes from ::after */
.hzc-wl .gfield_required{display:inline; margin:0 !important; padding:0 !important; font-size:0 !important; line-height:0}
.hzc-wl .gfield_required_custom{font-size:0 !important; color:var(--red)}
.hzc-wl .gfield_required_custom::after{content:"*"; font-size:14px; font-weight:600; color:var(--red)}
.hzc-wl .gfield_required .gfield_required{display:inline}
/* fields that read as section titles, or whose design has no asterisk */
.hzc-wl .hzc-lidsoort > legend,
.hzc-wl .hzc-naam > legend,
.hzc-wl .hzc-adres > legend,
.hzc-wl .hzc-machtiging > legend,
.hzc-wl .hzc-akkoord > legend{position:absolute !important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap}
.hzc-wl .hzc-iban .gfield_required,
.hzc-wl .hzc-ab-nummer .gfield_required, .hzc-wl .hzc-ab-naam .gfield_required,
.hzc-wl .hzc-ab-adres .gfield_required,
.hzc-wl .hzc-geschenk .gfield_required, .hzc-wl .hzc-aanbrenger .gfield_required,
.hzc-wl .hzc-ab-geschenk .gfield_required{display:none}

/* descriptions sit below the control, as hints */
.hzc-wl .gform_wrapper .gfield_description{
  order:3; margin:0 !important; padding:0 !important; font-size:12.5px; line-height:1.45; color:var(--muted); width:auto;
}
.hzc-wl .gfield > .ginput_container,
.hzc-wl .gfield > .ginput_complex{order:2; margin:0 !important}
.hzc-wl .gfield > .gfield_label{order:1}
.hzc-wl .gfield > .hzc-err,
.hzc-wl .gfield > .validation_message{order:4}

/* ───────── controls: 50px, radius 10 ───────── */
.hzc-wl .gform_wrapper input[type="text"],
.hzc-wl .gform_wrapper input[type="email"],
.hzc-wl .gform_wrapper input[type="tel"],
.hzc-wl .gform_wrapper input[type="number"],
.hzc-wl .gform_wrapper select,
.hzc-wl .gform_wrapper textarea{
  width:100% !important; max-width:none; margin:0; font-family:var(--font); font-size:15px !important; line-height:1.4;
  color:var(--ink); background:var(--surface); border:1px solid var(--line) !important; border-radius:10px !important;
  padding:13px 15px !important; min-height:50px; height:auto; box-shadow:none;
  transition:border-color .16s, box-shadow .16s, background .16s;
  -moz-appearance:textfield;
}
.hzc-wl .gform_wrapper input::placeholder{color:var(--faint); opacity:1}
.hzc-wl .gform_wrapper input:hover:not(:focus), .hzc-wl .gform_wrapper select:hover:not(:focus){border-color:var(--line-strong) !important}
.hzc-wl .gform_wrapper input:focus, .hzc-wl .gform_wrapper select:focus, .hzc-wl .gform_wrapper textarea:focus{
  outline:none; border-color:var(--orange) !important; box-shadow:0 0 0 3.5px var(--focus)}
.hzc-wl .gform_wrapper input[aria-invalid="true"], .hzc-wl .gform_wrapper select[aria-invalid="true"]{
  border-color:var(--red) !important; background:var(--red-tint)}
.hzc-wl .gform_wrapper input[readonly]{background:var(--surface-sunk); color:var(--muted)}
.hzc-wl .gform_wrapper input::-webkit-outer-spin-button,
.hzc-wl .gform_wrapper input::-webkit-inner-spin-button{-webkit-appearance:none; margin:0}
.hzc-wl .gform_wrapper select{
  appearance:none; -webkit-appearance:none; cursor:pointer; padding-right:40px !important;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%235A6480' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") !important;
  background-repeat:no-repeat !important; background-position:right 15px center !important; background-size:12px 8px !important;
}

/* sub-labels of complex fields (name, address) look like field labels */
.hzc-wl .ginput_complex label,
.hzc-wl .ginput_complex .gform-field-label--type-sub{
  display:block; order:-1; margin:0 0 7px !important; padding:0 !important; font-size:14px !important; line-height:21px !important;
  font-weight:600 !important; color:var(--ink); text-transform:none; letter-spacing:0;
}

/* name: three columns */
.hzc-wl .hzc-naam .ginput_complex{display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px 12px !important; margin:0 !important; width:100%;
  align-items:start !important}
.hzc-wl .hzc-naam .ginput_complex > span{display:flex; flex-direction:column; width:auto !important; max-width:none !important; margin:0 !important; padding:0 !important; float:none}
.hzc-wl .hzc-naam .name_first > label::after,
.hzc-wl .hzc-naam .name_last > label::after{content:"*"; color:var(--red)}

/* date of birth: three typed boxes 76 / 76 / 100 */
.hzc-wl .hzc-dob .ginput_complex{display:grid !important; grid-template-columns:76px 76px 112px; gap:10px !important; margin:0 !important;
  padding:0 !important; width:auto !important; align-items:start !important}
.hzc-wl .hzc-dob .ginput_container_date{width:auto !important; min-width:0 !important; max-width:none !important; margin:0 !important; padding:0 !important; flex:none}
.hzc-wl .hzc-dob .ginput_container_date input{min-width:0 !important; max-width:100% !important}
.hzc-wl .hzc-dob .ginput_container_date label{position:absolute !important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0)}
/* calendar: an icon inside the year box (like the IBAN check), with the native
   date input laid over just the icon — a tap on a phone opens the system picker,
   a click on a computer calls showPicker(); typing in the boxes stays untouched */
.hzc-wl .hzc-dob .gfield_date_year{position:relative}
.hzc-wl .hzc-dob .gfield_date_year input:not(.hzc-cal-input){padding-right:40px !important}
.hzc-wl .hzc-cal{position:absolute; right:1px; top:1px; bottom:1px; width:38px; display:block; z-index:1;
  border-left:1px solid var(--line); border-radius:0 9px 9px 0; background:var(--surface-sunk); color:var(--faint);
  transition:color .16s, background .16s}
.hzc-wl .hzc-cal:hover{color:var(--orange)}
.hzc-wl .hzc-cal:focus-within{color:var(--orange); box-shadow:0 0 0 3.5px var(--focus)}
.hzc-wl .hzc-cal-ico{position:absolute; inset:0; display:grid; place-items:center; pointer-events:none}
.hzc-wl .gform_wrapper .hzc-cal input.hzc-cal-input{position:absolute; inset:0; width:100% !important; height:100%; min-height:0;
  margin:0; padding:0 !important; border:0 !important; opacity:0; cursor:pointer; background:none; box-shadow:none !important}
.hzc-wl .gform_wrapper .hzc-cal input.hzc-cal-input::-webkit-calendar-picker-indicator{position:absolute; inset:0; width:100%; height:100%; margin:0; padding:0; cursor:pointer}
.hzc-wl .hzc-dob .ginput_container_date input{text-align:center; font-variant-numeric:tabular-nums; letter-spacing:.04em; padding:13px 8px !important}

/* address: land and woonplaats share a row, then postcode / nummer / toevoeging,
   then the lookup note, then straat. The field and its container step aside
   (display:contents) so their parts join the step's grid. */
.hzc-wl .hzc-adres, .hzc-wl .hzc-adres > .ginput_complex{display:contents !important}
.hzc-wl .gform_wrapper .gform_fields{align-items:start !important}
.hzc-wl .hzc-adres .gf_clear, .hzc-wl .hzc-adres .address_country{display:none !important}
.hzc-wl .hzc-adres .ginput_complex > span{display:flex; flex-direction:column; width:auto !important; max-width:none !important;
  margin:0 !important; padding:0 !important; float:none; min-width:0}
/* any other field in a step keeps its own place after these (a field the client adds
   in step 3 lands under the address, not above Land) */
.hzc-wl .gform_wrapper .gform_fields > .gfield:not(.hzc-land):not(.hzc-adres){order:20}
.hzc-wl .hzc-land{order:1}
.hzc-wl .hzc-adres .city{order:2; grid-column:span 3}
.hzc-wl .hzc-adres .zipcode{order:3; grid-column:span 2}
.hzc-wl .hzc-adres .housenumber{order:4; grid-column:span 2}
.hzc-wl .hzc-adres .addon{order:5; grid-column:span 2}
.hzc-wl .hzc-lookup{order:6; grid-column:1 / -1}
.hzc-wl .hzc-adres .street{order:7; grid-column:1 / -1}
.hzc-wl .hzc-adres > .validation_message, .hzc-wl .hzc-adres > .hzc-err{order:8; grid-column:1 / -1}
.hzc-wl .hzc-adres .zipcode > label::after, .hzc-wl .hzc-adres .housenumber > label::after,
.hzc-wl .hzc-adres .street > label::after, .hzc-wl .hzc-adres .city > label::after{content:"*"; color:var(--red)}

/* ───────── section heads (injected per step, and GF section fields) ───────── */
.hzc-wl .hzc-head{grid-column:1 / -1; order:-10}
.hzc-wl .hzc-head h2, .hzc-wl .gsection_title, .hzc-wl .hzc-geschenk > legend.gfield_label, .hzc-wl .hzc-aanbrenger > legend.gfield_label, .hzc-wl .hzc-subhead h2{
  font-size:20px !important; line-height:30px; letter-spacing:-.02em; font-weight:600 !important; margin:0; color:var(--ink)}
.hzc-wl .hzc-head p, .hzc-wl .gsection_description, .hzc-wl .hzc-subhead p{font-size:14px; line-height:21px; color:var(--muted); margin-top:3px}
.hzc-wl .gform_wrapper .gfield--type-section{border-bottom:0 !important; gap:0 !important}
.hzc-wl .gform_wrapper .gsection_title{margin:0 !important; padding:0 !important}
.hzc-wl .gform_wrapper .gsection_description{order:2; margin:3px 0 0 !important; padding:0 !important}

/* a new group inside a step gets the divider: 26 above the line, 26 below,
   as .sect + .sect in the prototype (grid gap 18 + 8). The selector carries
   .gform_wrapper .gfield so it outranks the field reset above. */
.hzc-wl .gform_wrapper .gfield.hzc-sect,
.hzc-wl .gform_wrapper .gfield.hzc-geschenk,
.hzc-wl .gform_wrapper .gfield.hzc-iban,
.hzc-wl .gform_wrapper .gfield.hzc-aanbrenger,
.hzc-wl .gform_wrapper .gfield.hzc-akkoord,
.hzc-wl .gform_wrapper .gfield.hzc-partner,
.hzc-wl .gform_wrapper .gfield.hzc-zzp{margin-top:8px !important; padding-top:26px !important; border-top:1px solid var(--line) !important}
/* two groups in a row on step 1 (partner and zzp never show together, but just in case) */
.hzc-wl .gform_wrapper .gfield.hzc-partner + .gfield.hzc-zzp{border-top:0 !important; padding-top:0 !important; margin-top:0 !important}
.hzc-wl .hzc-geschenk > legend.gfield_label, .hzc-wl .hzc-aanbrenger > legend.gfield_label{margin-bottom:7px !important}
.hzc-wl .hzc-aanbrenger > .gfield_description{order:1; margin-top:-7px !important; font-size:14px; line-height:21px}
.hzc-wl .hzc-aanbrenger > .ginput_container{order:2; margin-top:7px !important}

/* ───────── step 1: membership cards ───────── */
.hzc-wl .hzc-lidsoort .gfield_radio{display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)); gap:21px 30px; margin-top:4px}
@media (max-width:720px){ .hzc-wl .hzc-lidsoort .gfield_radio{grid-template-columns:1fr} }
.hzc-wl .hzc-card{position:relative; display:block; margin:0 !important; padding:0; width:auto !important}
.hzc-wl .hzc-card input, .hzc-wl .hzc-choice input{position:absolute !important; opacity:0; width:1px !important; height:1px; pointer-events:none; margin:0}
.hzc-wl .mc-box{display:flex !important; flex-direction:column; height:100%; cursor:pointer; padding:19px !important; margin:0 !important;
  border:1px solid var(--line); border-radius:12px; background:var(--surface); width:100% !important; max-width:none !important;
  font-weight:400; transition:border-color .18s, background .18s, box-shadow .18s}
.hzc-wl .mc-box:hover{border-color:var(--line-strong)}
.hzc-wl .hzc-card input:checked + .mc-box{border-color:var(--orange); background:var(--orange-tint); box-shadow:0 0 0 1px var(--orange)}
.hzc-wl .hzc-card input:focus-visible + .mc-box{outline:3px solid var(--focus); outline-offset:2px}
.hzc-wl .mc-top{display:flex; justify-content:space-between; align-items:flex-start; gap:10px}
.hzc-wl .mc-name{display:block; font-size:15px; font-weight:600; line-height:21px; color:var(--ink)}
.hzc-wl .mc-sub{display:block; font-size:13px; line-height:20px; color:var(--muted); margin-top:1px}
.hzc-wl .mc-tick{flex:none; width:21px; height:21px; border-radius:50%; border:1.5px solid var(--line-strong);
  background:var(--surface); display:grid; place-items:center; color:#fff; transition:.18s}
.hzc-wl .mc-tick svg{opacity:0; transition:.18s}
.hzc-wl .hzc-card input:checked + .mc-box .mc-tick{background:var(--orange); border-color:var(--orange)}
.hzc-wl .hzc-card input:checked + .mc-box .mc-tick svg{opacity:1}
.hzc-wl .mc-price{display:flex; align-items:baseline; gap:8px; margin-top:12px; font-variant-numeric:tabular-nums}
.hzc-wl .mc-price b{font-size:28px; font-weight:700; letter-spacing:-.03em; line-height:30px; color:var(--ink)}
.hzc-wl .mc-price span{font-size:14px; line-height:21px; color:var(--muted)}
.hzc-wl .mc-free{display:inline-flex; align-items:center; gap:7px; align-self:flex-start; margin-top:12px;
  background:var(--green-tint); color:var(--green); border:1px solid var(--green-line);
  border-radius:999px; padding:4px 12px; font-size:13px; font-weight:600; line-height:19px}
.hzc-wl .mc-list{display:flex; flex-direction:column; gap:6px; margin:12px 0 0}
.hzc-wl .mc-li{display:flex; gap:8px; font-size:14px; line-height:19px; color:var(--muted)}
.hzc-wl .mc-li svg{flex:none; margin-top:5px; color:var(--orange)}
.hzc-wl .mc-gift{display:flex; gap:7px; align-items:center; font-size:14px; line-height:20px; color:var(--ink);
  padding-top:12px; margin-top:auto; border-top:1px dashed var(--line)}
.hzc-wl .mc-list + .mc-gift{margin-top:12px}
.hzc-wl .mc-box > .mc-gift{margin-top:auto}
.hzc-wl .mc-list{margin-bottom:12px}
.hzc-wl .mc-gift svg{flex:none; color:var(--orange)}
.hzc-wl .mc-badge{position:absolute; top:-9px; right:43px; z-index:1; background:var(--navy); color:#fff;
  font-size:12px; font-weight:600; line-height:17px; padding:3px 10px; border-radius:999px}

/* ───────── choice boxes (gender, gifts, referral) ───────── */
.hzc-wl .hzc-geslacht .gfield_radio, .hzc-wl .hzc-aanbrenger .gfield_radio{display:flex !important; flex-direction:row; flex-wrap:wrap; gap:10px}
.hzc-wl .hzc-geslacht .hzc-choice, .hzc-wl .hzc-aanbrenger .hzc-choice{flex:1; min-width:140px}
.hzc-wl .hzc-geschenk .gfield_radio, .hzc-wl .hzc-ab-geschenk .gfield_radio{display:flex !important; flex-direction:column; gap:10px; margin-top:4px}
.hzc-wl .hzc-choice{position:relative; display:block; margin:0 !important; padding:0; width:auto !important}
.hzc-wl .hzc-cbox{display:flex !important; align-items:center; gap:12px; cursor:pointer; min-height:52px; margin:0 !important;
  padding:12px 15px !important; border:1.5px solid var(--line); border-radius:14px; background:var(--surface);
  width:100% !important; max-width:none !important; font-weight:400 !important;
  transition:border-color .16s, background .16s, box-shadow .16s}
.hzc-wl .hzc-cbox:hover{border-color:var(--line-strong)}
.hzc-wl .hzc-choice input:checked + .hzc-cbox{border-color:var(--orange); background:var(--orange-tint); box-shadow:0 0 0 3px var(--orange-tint)}
.hzc-wl .hzc-choice input:focus-visible + .hzc-cbox{outline:3px solid var(--focus); outline-offset:2px}
.hzc-wl .hzc-dot{flex:none; width:20px; height:20px; border-radius:50%; border:1.5px solid var(--line-strong);
  background:var(--surface); display:grid; place-items:center; transition:.16s}
.hzc-wl .hzc-dot::after{content:""; width:9px; height:9px; border-radius:50%; background:#fff; transform:scale(0); transition:.16s}
.hzc-wl .hzc-choice input:checked + .hzc-cbox .hzc-dot{border-color:var(--orange); background:var(--orange)}
.hzc-wl .hzc-choice input:checked + .hzc-cbox .hzc-dot::after{transform:scale(1)}
.hzc-wl .hzc-ctext{min-width:0}
.hzc-wl .hzc-ctext b{display:block; font-size:14.5px; font-weight:500; line-height:1.4; color:var(--ink)}
.hzc-wl .hzc-ctext small{display:block; font-size:12.5px; color:var(--muted); margin-top:1px; line-height:1.4}
.hzc-wl .hzc-choice input:checked + .hzc-cbox .hzc-ctext b{font-weight:600}
.hzc-wl .hzc-invalid .hzc-cbox{border-color:var(--red)}

/* ───────── consent checkboxes (machtiging, akkoord) ───────── */
.hzc-wl .ginput_container_consent{position:relative; display:block}
.hzc-wl .ginput_container_consent input[type="checkbox"]{position:absolute !important; opacity:0; width:1px; height:1px; margin:0; pointer-events:none}
.hzc-wl .ginput_container_consent label.gfield_consent_label{
  display:flex !important; align-items:flex-start; gap:12px; cursor:pointer; margin:0 !important;
  padding:12px 15px !important; min-height:52px; border:1.5px solid var(--line); border-radius:14px; background:var(--surface);
  font-size:14px !important; line-height:1.5; font-weight:400 !important; color:var(--ink); width:100%; max-width:none;
  transition:border-color .16s, background .16s, box-shadow .16s}
.hzc-wl .ginput_container_consent label.gfield_consent_label::before{
  content:""; flex:none; width:20px; height:20px; margin-top:2px; border-radius:6px; border:1.5px solid var(--line-strong);
  background:var(--surface) center / 11px 11px no-repeat; transition:.16s}
.hzc-wl .ginput_container_consent input:checked + label.gfield_consent_label{border-color:var(--orange); background:var(--orange-tint); box-shadow:0 0 0 3px var(--orange-tint)}
.hzc-wl .ginput_container_consent input:checked + label.gfield_consent_label::before{
  border-color:var(--orange); background-color:var(--orange);
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M13.5 4 6 11.5 2.5 8' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/></svg>")}
.hzc-wl .ginput_container_consent input:focus-visible + label{outline:3px solid var(--focus); outline-offset:2px}
.hzc-wl .gfield_consent_label small{display:block; font-size:12.5px; color:var(--muted); margin-top:2px; line-height:1.4}
.hzc-wl .gfield_consent_label .gform-field-label__text{display:block}
.hzc-wl .gfield_consent_description{order:3 !important; border:0 !important; padding:0 !important; max-height:none !important; overflow:visible !important; background:none !important}
.hzc-wl .hzc-invalid label.gfield_consent_label{border-color:var(--red)}

/* ───────── IBAN ───────── */
.hzc-wl .iban-row{display:flex; align-items:center; gap:10px; flex-wrap:wrap; order:2}
.hzc-wl .iban-wrap{position:relative; display:block; flex:1 1 300px; max-width:340px; min-width:0}
/* .gform_wrapper + [type] so it outranks the shared control padding */
.hzc-wl .gform_wrapper .iban-wrap input[type="text"]{letter-spacing:.06em; font-variant-numeric:tabular-nums; padding-left:52px !important; padding-right:44px !important}
.hzc-wl .iban-ico{position:absolute; left:1px; top:1px; bottom:1px; width:38px; display:grid; place-items:center; color:var(--faint);
  pointer-events:none; border-right:1px solid var(--line); border-radius:10px 0 0 10px; background:var(--surface-sunk); z-index:1}
.hzc-wl .iban-ok{position:absolute; right:12px; top:50%; width:22px; height:22px; border-radius:50%;
  display:grid; place-items:center; background:var(--green); color:#fff;
  transform:translateY(-50%) scale(.5); opacity:0; pointer-events:none; transition:opacity .18s, transform .18s}
.hzc-wl .iban-wrap.ok .iban-ok{opacity:1; transform:translateY(-50%) scale(1)}
.hzc-wl .iban-paste{flex:none; display:inline-flex; align-items:center; gap:7px; cursor:pointer;
  min-height:50px; padding:0 16px; font-size:13.5px; font-weight:600; color:var(--ink); font-family:var(--font);
  background:var(--surface-alt); border:1.5px solid var(--line); border-radius:14px; transition:border-color .16s, background .16s}
.hzc-wl .iban-paste:hover{border-color:var(--line-strong); background:var(--surface-sunk)}
.hzc-wl .iban-paste svg{flex:none; color:var(--muted)}
.hzc-wl .iban-bank{order:3; display:flex; align-items:center; gap:8px; align-self:flex-start; max-width:100%;
  font-size:12.5px; font-weight:500; line-height:1.4; padding:8px 12px; border-radius:14px;
  color:var(--green); background:var(--green-tint); border:1px solid var(--green-line)}
.hzc-wl .iban-bank.warn{color:var(--orange-deep); background:var(--orange-tint); border-color:var(--orange-line)}
.hzc-wl .iban-bank svg{flex:none}
.hzc-wl .iban-help{order:5; font-size:12.5px; color:var(--muted)}
.hzc-wl .iban-help summary{display:inline-flex; align-items:center; gap:7px; cursor:pointer; list-style:none;
  color:var(--sky); font-weight:600; text-underline-offset:2px; text-decoration:underline; padding:2px 0; border-radius:6px}
.hzc-wl .iban-help summary::-webkit-details-marker{display:none}
.hzc-wl .iban-help summary::after{content:""; flex:none; width:6px; height:6px; margin-top:-3px;
  border-right:1.6px solid currentColor; border-bottom:1.6px solid currentColor; transform:rotate(45deg); transition:transform .18s}
.hzc-wl .iban-help[open] summary::after{transform:rotate(225deg); margin-top:2px}
.hzc-wl .iban-help ul{margin:8px 0 0; padding:0 0 0 18px; display:flex; flex-direction:column; gap:4px; line-height:1.5}
@media (max-width:420px){ .hzc-wl .iban-wrap{flex:1 1 100%; max-width:none} }
/* Foreign IBAN, complete: the input folds into one line (masked number + Wijzig)
   and the BIC box takes its place right below, so it reads as one field.
   The IBAN input stays in the form (display:none still submits). */
.hzc-wl .iban-sum{display:none; order:2}
.hzc-wl .hzc-iban.iban-folded .iban-sum{display:flex}
.hzc-wl .hzc-iban.iban-folded > .ginput_container,
.hzc-wl .hzc-iban.iban-folded > .gfield_description:not(.validation_message),
.hzc-wl .hzc-iban.iban-folded .iban-help{display:none !important}
.hzc-wl .iban-sum-box{position:relative; display:flex; align-items:center; gap:12px; width:100%; max-width:340px; min-width:0;
  min-height:50px; padding:0 14px 0 52px; border:1px solid var(--line); border-radius:10px; background:var(--surface-sunk)}
.hzc-wl .iban-sum-box b{flex:1 1 auto; min-width:0; font-weight:600; color:var(--ink); letter-spacing:.06em; font-variant-numeric:tabular-nums;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.hzc-wl .iban-edit{flex:none; font-size:13.5px; text-decoration:underline; text-underline-offset:3px}
/* the BIC follows straight on, as the second half of the same field; the same
   26px air above and below as the other groups of step 4 (grid gap 18 + 8) */
.hzc-wl .gform_wrapper .gfield.hzc-bic{margin:8px 0 !important}
.hzc-wl .hzc-bic .ginput_container{max-width:340px}
.hzc-wl .gform_wrapper .hzc-bic input[type="text"]{letter-spacing:.06em}
@media (max-width:420px){ .hzc-wl .iban-sum-box{max-width:none} }

/* ───────── review block (step 4) ───────── */
.hzc-wl .hzc-review-wrap{grid-column:1 / -1; order:-9}
.hzc-wl .review{border:1px solid var(--line); border-radius:10px; background:var(--surface-sunk); overflow:hidden; margin-top:18px}
.hzc-wl .review-row{display:flex; justify-content:space-between; gap:14px; padding:10px 16px; font-size:14px; line-height:19px; align-items:baseline}
.hzc-wl .review-row + .review-row{border-top:1px solid var(--line)}
.hzc-wl .review-row span{color:var(--muted); flex:none}
.hzc-wl .review-row b{font-weight:600; text-align:right; min-width:0; overflow-wrap:anywhere}
.hzc-wl .review-row b.empty{color:var(--faint); font-weight:400}
.hzc-wl .review-edit{display:flex; justify-content:space-between; align-items:center; gap:12px; padding:10px 16px;
  background:var(--surface-alt); font-size:13.5px; color:var(--muted); border-top:1px solid var(--line)}
.hzc-wl .review-edit button{background:none; border:0; cursor:pointer; color:var(--sky); font-weight:500; font-family:var(--font);
  font-size:13.5px; text-decoration:underline; text-underline-offset:2px; padding:4px}

/* ───────── notes and errors ───────── */
.hzc-wl .note{display:flex; gap:11px; padding:14px 16px; border-radius:14px;
  font-size:13.5px; line-height:1.5; border:1px solid var(--sky-line); background:var(--sky-tint); color:var(--ink)}
.hzc-wl .note svg{flex:none; margin-top:2px; color:var(--sky)}
.hzc-wl .note.warn{border-color:var(--orange-line); background:var(--orange-tint)}
.hzc-wl .note.warn svg{color:var(--orange)}
.hzc-wl .note.ok{border-color:var(--green-line); background:var(--green-tint)}
.hzc-wl .note.ok svg{color:var(--green)}
.hzc-wl .note b{font-weight:600}
.hzc-wl .note .note-t{display:block; font-weight:600; margin:0}
.hzc-wl .note .note-b{display:block; margin:0}
.hzc-wl .linkish{background:none; border:0; padding:0; color:inherit; font-weight:600; cursor:pointer;
  text-decoration:underline; text-underline-offset:2px; font-size:inherit; font-family:inherit}

.hzc-wl .hzc-err, .hzc-wl .gform_wrapper .validation_message{
  display:flex; gap:6px; align-items:flex-start; margin:0 !important; padding:0 !important; border:0 !important; background:none !important;
  font-size:12.5px !important; font-weight:500; color:var(--red) !important; line-height:1.4}
.hzc-wl .hzc-err svg{flex:none; margin-top:2px}
.hzc-wl .ginput_complex > span > .hzc-err{margin-top:7px !important}
.hzc-wl .hzc-has-sub-err > .validation_message{display:none !important}
.hzc-wl .gform_wrapper .gfield_error{background:none !important; border:0 !important}
.hzc-wl .gform_wrapper .gfield_error .gfield_label{color:var(--ink)}

/* ───────── form navigation ───────── */
.hzc-wl .formnav{display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin-top:28px; padding-top:23px; border-top:1px solid var(--line)}
.hzc-wl .formnav .spacer{margin-left:auto}
.hzc-wl .navnotice{display:none; flex:1 0 100%; gap:7px; align-items:center; margin:0;
  font-size:13px; font-weight:600; line-height:19px; color:var(--red)}
.hzc-wl .navnotice.on{display:flex}
.hzc-wl .navnotice svg{flex:none}
.hzc-wl .hzc-btn{display:inline-flex; align-items:center; justify-content:center; gap:9px; border:0; border-radius:999px; cursor:pointer;
  font-family:var(--font); font-weight:600; font-size:16px; padding:14px 28px; min-height:52px; line-height:1.2; text-transform:none; letter-spacing:0;
  transition:background .16s, transform .12s, box-shadow .16s, color .16s}
.hzc-wl .hzc-btn:active{transform:translateY(1px)}
.hzc-wl .hzc-btn-primary{background:var(--orange); color:#fff; box-shadow:0 6px 18px -8px rgba(238,127,8,.75)}
.hzc-wl .hzc-btn-primary:hover{background:var(--orange-deep); color:#fff}
.hzc-wl .hzc-btn-primary[aria-busy="true"]{opacity:.75; cursor:progress}
.hzc-wl .hzc-btn-ghost{background:none; color:var(--ink); padding:14px 16px; font-weight:500; box-shadow:none}
.hzc-wl .hzc-btn-ghost:hover{color:var(--ink); background:var(--surface-alt)}

/* ───────── rail ───────── */
.hzc-wl .rail{position:sticky; top:20px; display:flex; flex-direction:column; gap:20px}
.hzc-wl .rail-card{background:var(--surface); border:1px solid var(--line); border-radius:12px; overflow:hidden}
.hzc-wl .rail-head{padding:16px 18px 0}
.hzc-wl .rail-head h3{font-size:12px; font-weight:600; letter-spacing:.07em; text-transform:uppercase; color:var(--faint); line-height:19px}
.hzc-wl .rail-body{padding:12px 18px 18px}
.hzc-wl .rail-empty{font-size:14px; line-height:21px; color:var(--muted)}
.hzc-wl .rail-type{font-size:15px; font-weight:600; line-height:21px}
.hzc-wl .rail-amount{display:flex; align-items:baseline; gap:9px; margin-top:12px; font-variant-numeric:tabular-nums}
.hzc-wl .rail-amount b{font-size:28px; font-weight:700; letter-spacing:-.03em; line-height:30px}
.hzc-wl .rail-amount span{font-size:14px; line-height:21px; color:var(--muted)}
.hzc-wl .rail-meta{display:flex; flex-direction:column; gap:7px; margin-top:12px; padding-top:13px; border-top:1px solid var(--line)}
.hzc-wl .rail-meta div{display:flex; gap:8px; font-size:13px; line-height:19px; color:var(--muted)}
.hzc-wl .rail-meta svg{flex:none; margin-top:5px; color:var(--green)}

.hzc-wl .trust{padding:19px}
.hzc-wl .trust h3{font-size:16px; line-height:23px; margin-bottom:12px}
.hzc-wl .trust ul{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:13px}
.hzc-wl .trust li{display:flex; gap:11px; margin:0; padding:0}
.hzc-wl .trust li::before{display:none}
.hzc-wl .trust .ic{flex:none; display:grid; place-items:center; width:30px; height:30px; border-radius:9px; background:var(--orange-tint); color:var(--orange)}
.hzc-wl .trust b{display:block; font-size:14px; font-weight:600; line-height:19px}
.hzc-wl .trust small{display:block; font-size:13px; color:var(--muted); line-height:19.5px; margin-top:2px}

.hzc-wl .help{padding:18px; border-radius:12px; background:var(--navy); color:#fff}
.hzc-wl .help h3{color:#fff; font-size:16px; line-height:23px}
.hzc-wl .help p{font-size:13px; line-height:19px; color:rgba(255,255,255,.72); margin-top:3px}
.hzc-wl .help-rows{display:flex; flex-direction:column; gap:7px; margin-top:14px}
.hzc-wl .help-row{display:flex; align-items:center; gap:11px; padding:10px 12px; border-radius:10px; background:rgba(255,255,255,.07); text-decoration:none}
.hzc-wl .help-row:hover{background:rgba(255,255,255,.12)}
.hzc-wl .help-row .ic{flex:none; display:grid; place-items:center; width:28px; height:28px; border-radius:8px; background:rgba(255,255,255,.1); color:#fff}
.hzc-wl .help-row .val{font-size:15px; font-weight:600; line-height:21px; color:#fff; overflow-wrap:anywhere}
.hzc-wl .help-row .val.num{font-size:17px; font-variant-numeric:tabular-nums; letter-spacing:.01em}
.hzc-wl .help small{display:block; font-size:12px; line-height:18px; color:rgba(255,255,255,.55); margin-top:11px}

/* ───────── phone: sticky bar and help band ───────── */
.hzc-wl .mobilebar{display:none; position:sticky; bottom:0; z-index:30; background:var(--surface);
  border-top:1px solid var(--line); box-shadow:0 -8px 28px -18px rgba(0,18,74,.4); padding:14px 20px}
.hzc-wl .mb-in{display:flex; align-items:center; gap:14px 12px; flex-wrap:wrap}
.hzc-wl .mobilebar .hzc-btn-primary{margin-left:auto}
.hzc-wl .mobilebar.has-prev .mb-price{flex:1 0 100%}
.hzc-wl .mb-price{min-width:0; flex:1}
.hzc-wl .mb-price small{display:block; font-size:14px; font-weight:600; color:var(--ink); line-height:20px}
.hzc-wl .mb-price b{display:flex; align-items:baseline; gap:7px; font-size:22px; font-weight:700; letter-spacing:-.03em; font-variant-numeric:tabular-nums; line-height:28px}
.hzc-wl .mb-price b i{font-style:normal; font-size:13px; font-weight:400; color:var(--muted)}
.hzc-wl .mb-price.none small{font-weight:700; font-size:15px}
.hzc-wl .mobilebar .hzc-btn{flex:none; padding:12px 22px; min-height:48px; font-size:15px}
.hzc-wl .mobilebar .hzc-btn-ghost{border:1px solid var(--line-strong); color:var(--ink)}

.hzc-wl .helpband{display:none; background:var(--orange-tint); padding:18px 20px}
.hzc-wl .helpband b{display:block; font-size:16px; font-weight:700; line-height:23px}
.hzc-wl .helpband span{display:block; font-size:13px; line-height:19px; color:var(--muted); margin-top:2px}
.hzc-wl .helpband .row{display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin-top:12px}
.hzc-wl .helpband .tel{display:inline-flex; align-items:center; gap:9px; text-decoration:none; color:var(--ink); font-size:18px; font-weight:700; font-variant-numeric:tabular-nums}
.hzc-wl .helpband .tel span{display:inline; margin:0; font-size:inherit; color:inherit}
.hzc-wl .helpband .tel svg{color:var(--orange)}

/* ───────── confirmation ───────── */
.hzc-wl.is-done .pagehead, .hzc-wl.is-done .steps, .hzc-wl.is-done .steps-mini,
.hzc-wl.is-done .formnav, .hzc-wl.is-done .mobilebar{display:none !important}
.hzc-wl .hzc-done{text-align:center; padding:42px 10px; animation:hzcRise .32s cubic-bezier(.22,1,.36,1)}
.hzc-wl .hzc-done .seal{width:62px; height:62px; margin:0 auto 20px; border-radius:50%; display:grid; place-items:center;
  background:var(--green-tint); color:var(--green); border:1.5px solid var(--green-line)}
.hzc-wl .hzc-done h1, .hzc-wl .hzc-done .done-title{font-size:28px; line-height:1.2; letter-spacing:-.025em; margin-bottom:10px}
.hzc-wl .hzc-done > p{color:var(--muted); font-size:15px; line-height:22px; max-width:46ch; margin:0 auto 28px}
.hzc-wl .timeline{text-align:left; max-width:470px; margin:0 auto}
.hzc-wl .tl{display:grid; grid-template-columns:30px 1fr; gap:14px; padding-bottom:22px; position:relative}
.hzc-wl .tl:last-child{padding-bottom:0}
.hzc-wl .tl::before{content:""; position:absolute; left:14.5px; top:30px; bottom:0; width:1.5px; background:var(--line)}
.hzc-wl .tl:last-child::before{display:none}
.hzc-wl .tl .n{width:30px; height:30px; border-radius:50%; display:grid; place-items:center;
  background:var(--orange-tint); color:var(--orange); border:1.5px solid var(--orange-line); font-size:12.5px; font-weight:700; z-index:1}
.hzc-wl .tl b{font-size:14.5px; font-weight:600; line-height:1.4}
.hzc-wl .tl p{font-size:13.5px; color:var(--muted); line-height:1.5; margin-top:2px}
.hzc-wl .done-foot{margin-top:30px; padding-top:24px; border-top:1px solid var(--line); font-size:13.5px; line-height:1.6; color:var(--muted)}
.hzc-wl .done-foot b{color:var(--ink); font-variant-numeric:tabular-nums}
@media (max-width:640px){ .hzc-wl .hzc-done{padding:34px 4px} .hzc-wl .hzc-done h1, .hzc-wl .hzc-done .done-title{font-size:23px} }

.hzc-wl .gform_page.hzc-reveal{animation:hzcRise .32s cubic-bezier(.22,1,.36,1)}
@keyframes hzcRise{from{opacity:0; transform:translateY(8px)} to{opacity:1; transform:none}}

/* until the script has taken over, GF's own page and buttons stay usable */
.hzc-wl:not(.is-ready) .formnav, .hzc-wl:not(.is-ready) .mobilebar{visibility:hidden}

/* ───────── phone layout ───────── */
@media (max-width:940px){
  .hzc-wl__shell{grid-template-columns:1fr; gap:20px; padding:20px 16px 0}
  .hzc-wl .rail{position:static; gap:20px}
  .hzc-wl #hzcRailChoice, .hzc-wl .rail > .help{display:none}
  .hzc-wl .mobilebar{display:block}
  .hzc-wl .helpband{display:block}
  .hzc-wl .steps{display:none}
  .hzc-wl .steps-mini{display:flex}
  .hzc-wl .formnav{display:none}
  .hzc-wl .iban-paste{display:none}
  .hzc-wl .pagehead h1{font-size:25px}
  .hzc-wl .pagehead p{font-size:15px}
  .hzc-wl .mc-badge{right:14px}
}
@media (max-width:640px){
  .hzc-wl .gform_wrapper .gform_fields > .gfield,
  .hzc-wl .hzc-adres .ginput_complex > span{grid-column:1 / -1 !important}
  .hzc-wl .hzc-naam .ginput_complex{grid-template-columns:1fr}
}
@media (max-width:480px){
  .hzc-wl .hzc-dob .ginput_complex{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.45fr); gap:8px !important; width:100% !important}
}

.hzc-wl .hzc-subhead{margin-bottom:11px}
