/* Event Espresso checkout ("Afronding aanmelding") + transaction / thank-you pages.
   Styling only — EE's Single Page Checkout markup, validation and payment flow stay intact.
   Look follows the prototype's registration card (src/event.jsx) and src/tokens.css.
   Enqueued by hipp_enqueue_checkout_assets() on body.hipp-checkout. */

body.hipp-checkout {
  --paper: #F6F0F2; --ink-50: #EFE8EA; --ink-100: #E5DDDF; --ink-200: #D5CBCE; --ink-300: #B4AAAC; --ink-400: #898182;
  --ink-500: #575756; --ink-700: #3E3D3D; --ink-800: #2B2A2A; --ink-900: #1D1C1C;
  --red-600: #E30613; --red-700: #B70410; --red-100: #FDE7E8;
  background: var(--paper);
}
body.hipp-checkout .site-content { padding: 0; background: var(--paper); }
body.hipp-checkout .site-main {
  padding: 48px 0 96px; color: var(--ink-900);
  font-family: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
body.hipp-checkout .site-main .container { max-width: 880px; padding: 0 24px; }
body.hipp-checkout .site-main *, body.hipp-checkout .site-main *::before, body.hipp-checkout .site-main *::after { box-sizing: border-box; }

/* Page title */
body.hipp-checkout .entry-header { margin: 0 0 28px; }
body.hipp-checkout .entry-header::before {
  content: "Inschrijven"; display: block; margin-bottom: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--red-600);
}
body.hipp-checkout .entry-title {
  margin: 0; font-size: clamp(30px, 4vw, 44px); font-weight: 500; line-height: 1.08; letter-spacing: -.015em; color: var(--ink-900);
}
body.hipp-checkout .entry-footer { display: none; }
body.hipp-checkout .entry-content { color: var(--ink-700); font-size: 15px; line-height: 1.6; }

/* ---------- Steps ---------- */
body.hipp-checkout #spco-steps-big-hdr { display: none; }
body.hipp-checkout #spco-steps-display-dv {
  display: flex; align-items: center; gap: 14px; margin: 0 0 28px; padding: 0; border: 0;
}
body.hipp-checkout #spco-steps-display-dv .clear-float { display: none; }
body.hipp-checkout .spco-step-display-dv { float: none; width: auto !important; margin: 0; padding: 0; border: 0; background: none; }
body.hipp-checkout .spco-steps-display-hdr {
  display: flex; align-items: center; gap: 10px; margin: 0; padding: 0; border: 0;
  font-size: 14px; font-weight: 500; color: var(--ink-500); background: none;
}
body.hipp-checkout .spco-step-big-nmbr {
  display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--ink-300); background: var(--paper); font-size: 13px; font-weight: 600; color: var(--ink-500);
}
body.hipp-checkout .spco-step-name { font-size: 14px; color: inherit; }
body.hipp-checkout .active-step .spco-steps-display-hdr { color: var(--ink-900); }
body.hipp-checkout .active-step .spco-step-big-nmbr { background: var(--red-600); border-color: var(--red-600); color: #fff; }
body.hipp-checkout .completed-step .spco-step-big-nmbr { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }
body.hipp-checkout .spco-step-arrow-dv {
  float: none; flex: 1; max-width: 120px; height: 1px; margin: 0; padding: 0; background: var(--ink-300); font-size: 0; color: transparent;
}

/* Intro line under the steps ("Om je aanmelding te verwerken…") */
body.hipp-checkout .spco-steps-pg { margin: 0 0 20px !important; font-size: 13.5px !important; line-height: 1.55; color: var(--ink-500) !important; }
body.hipp-checkout .asterisk, body.hipp-checkout .ee-asterisk { color: var(--red-600) !important; }

/* ---------- Ticket summary ---------- */
body.hipp-checkout .spco-ticket-info-dv {
  margin: 0 0 28px; padding: 6px 20px; background: #fff; border: 1px solid var(--ink-200); border-radius: 8px;
}
body.hipp-checkout table.spco-ticket-details { width: 100%; margin: 0; border: 0; border-collapse: collapse; background: none; }
body.hipp-checkout table.spco-ticket-details th {
  padding: 12px 0 10px !important; border: 0 !important; border-bottom: 1px solid var(--ink-200) !important; background: none !important;
  font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-500);
}
body.hipp-checkout table.spco-ticket-details td {
  padding: 14px 0 !important; border: 0 !important; background: none !important; vertical-align: top;
  font-size: 14.5px; color: var(--ink-900);
}
body.hipp-checkout table.spco-ticket-details tr + tr td { border-top: 1px solid var(--ink-100) !important; }
body.hipp-checkout table.spco-ticket-details th + th, body.hipp-checkout table.spco-ticket-details td + td { padding-left: 16px !important; text-align: right; white-space: nowrap; }
body.hipp-checkout table.spco-ticket-details .ee-ticket-details-name { font-weight: 600; }
body.hipp-checkout table.spco-ticket-details .ee-ticket-details-total { font-weight: 600; }
body.hipp-checkout table.spco-ticket-details .line-item-desc-spn { font-weight: 400; color: var(--ink-500); }
body.hipp-checkout table.spco-ticket-details .grey-text { display: block; margin-top: 4px; font-size: 12px; font-weight: 400; color: var(--ink-500) !important; }

/* ---------- Attendee panels / question groups ---------- */
body.hipp-checkout .spco-attendee-panel-dv { margin: 0 0 24px; padding: 0; border: 0; background: none; }
body.hipp-checkout .big-event-title-hdr {
  margin: 0 0 14px !important; padding: 0 !important; border: 0 !important;
  font-size: 22px !important; font-weight: 500 !important; line-height: 1.2; color: var(--ink-900) !important;
}
body.hipp-checkout fieldset.ee-reg-form-attendee-dv { margin: 0; padding: 0; border: 0; min-width: 0; }
body.hipp-checkout legend.spco-attendee-lgnd {
  display: block; width: 100%; margin: 0 0 12px; padding: 0; border: 0;
  font-size: 11px !important; font-weight: 600 !important; letter-spacing: .14em; text-transform: uppercase; color: var(--red-600) !important;
}

body.hipp-checkout .ee-reg-form-qstn-grp-dv {
  display: grid; grid-template-columns: repeat(6, 1fr); column-gap: 16px; row-gap: 14px;
  margin: 0 0 16px; padding: 24px; background: #fff; border: 1px solid var(--ink-200); border-radius: 8px;
  box-shadow: 0 1px 0 rgba(29,28,28,.04), 0 8px 24px -12px rgba(29,28,28,.14);
}
body.hipp-checkout .ee-reg-form-qstn-grp-dv > * { grid-column: span 3; min-width: 0; margin: 0 !important; }
/* EE pads text-input wrappers (.5em) but not selects: the aanhef label sat 7px above "Voornaam". */
body.hipp-checkout .ee-reg-form-qstn-grp-dv > .ee-reg-qstn-input-dv { padding: 0 !important; }
body.hipp-checkout .ee-reg-form-qstn-grp-dv > h4,
body.hipp-checkout .ee-reg-form-qstn-grp-dv > p,
body.hipp-checkout .ee-reg-form-qstn-grp-dv > .ee-text-area-input-dv,
body.hipp-checkout .ee-reg-form-qstn-grp-dv > .ee-radio-button-input-dv,
body.hipp-checkout .ee-reg-form-qstn-grp-dv > .ee-checkbox-multi-input-dv,
body.hipp-checkout .ee-reg-form-qstn-grp-dv > .clear-float,
body.hipp-checkout .ee-reg-form-qstn-grp-dv > div:not(.ee-reg-qstn-input-dv) { grid-column: 1 / -1; }
/* Name row: aanhef | voornaam, then tussenvoegsel | achternaam (EE question ids 13 / 14 on this site) */
body.hipp-checkout .ee-reg-qstn-13-input-dv, body.hipp-checkout .ee-reg-qstn-14-input-dv { grid-column: span 2 !important; }
body.hipp-checkout .ee-reg-qstn-fname-input-dv, body.hipp-checkout .ee-reg-qstn-lname-input-dv { grid-column: span 4 !important; }

body.hipp-checkout .ee-reg-form-qstn-grp-title {
  margin: 0 !important; padding: 0 !important; border: 0 !important;
  font-size: 19px !important; font-weight: 500 !important; line-height: 1.25; color: var(--ink-900) !important; text-transform: none !important;
}
body.hipp-checkout .ee-reg-form-qstn-grp-desc-pg { margin: -6px 0 4px !important; font-size: 13px !important; line-height: 1.5; color: var(--ink-500) !important; }

/* Labels + inputs (prototype .label / .input) */
body.hipp-checkout .ee-reg-qstn-input-dv > label.ee-reg-qstn,
body.hipp-checkout .ee-reg-qstn-input-dv > div.ee-reg-qstn {
  display: block; margin: 0 0 6px; padding: 0; font-size: 12.5px; font-weight: 500; line-height: 1.35; color: var(--ink-800);
}
body.hipp-checkout .ee-reg-qstn-input-dv input[type=text],
body.hipp-checkout .ee-reg-qstn-input-dv input[type=email],
body.hipp-checkout .ee-reg-qstn-input-dv input[type=tel],
body.hipp-checkout .ee-reg-qstn-input-dv input[type=number],
body.hipp-checkout .ee-reg-qstn-input-dv select,
body.hipp-checkout .ee-reg-qstn-input-dv textarea {
  display: block; width: 100% !important; max-width: none; margin: 0; padding: 11px 14px;
  font: inherit; font-size: 14px; line-height: 1.3; color: var(--ink-900);
  background: var(--paper); border: 1px solid var(--ink-200); border-radius: 4px; box-shadow: none;
  transition: border-color .15s, background .15s;
}
body.hipp-checkout .ee-reg-qstn-input-dv select {
  appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23575756' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
body.hipp-checkout .ee-reg-qstn-input-dv textarea { min-height: 88px; resize: vertical; }
body.hipp-checkout .ee-reg-qstn-input-dv input:focus,
body.hipp-checkout .ee-reg-qstn-input-dv select:focus,
body.hipp-checkout .ee-reg-qstn-input-dv textarea:focus { outline: none; border-color: var(--ink-700); background: #fff; }

/* Radio (Ja / Nee) + checkbox (akkoord) */
body.hipp-checkout .ee-radio-button-input-dv > label,
body.hipp-checkout .ee-checkbox-multi-input-dv > label {
  display: inline-flex !important; align-items: flex-start; gap: 10px; float: none !important; width: auto !important;
  margin: 2px 18px 0 0 !important; padding: 10px 14px; border: 1px solid var(--ink-200); border-radius: 6px; background: var(--paper);
  font-size: 14px; font-weight: 400; line-height: 1.45; color: var(--ink-900); cursor: pointer;
  transition: border-color .15s, background .15s;
}
body.hipp-checkout .ee-checkbox-multi-input-dv > label { display: flex !important; margin-right: 0 !important; }
body.hipp-checkout .ee-radio-button-input-dv > label:hover,
body.hipp-checkout .ee-checkbox-multi-input-dv > label:hover { border-color: var(--ink-300); }
body.hipp-checkout .ee-radio-button-input-dv > label:has(input:checked),
body.hipp-checkout .ee-checkbox-multi-input-dv > label:has(input:checked) { border-color: var(--red-600); background: #FFF8F8; }
body.hipp-checkout .ee-radio-button-input-dv input,
body.hipp-checkout .ee-checkbox-multi-input-dv input { width: 16px; height: 16px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--red-600); }
body.hipp-checkout .ee-radio-button-input-dv .clear-float { display: none; }

/* Validation (jQuery validate + EE notices) */
body.hipp-checkout label.error, body.hipp-checkout .ee-required-text, body.hipp-checkout span.ee-form-error {
  display: block; margin: 5px 0 0 !important; padding: 0 !important; border: 0 !important; background: none !important;
  font-size: 12px !important; font-weight: 500; color: var(--red-700) !important;
}
body.hipp-checkout input.error, body.hipp-checkout select.error, body.hipp-checkout textarea.error,
body.hipp-checkout .ee-needs-value { border-color: var(--red-600) !important; background: #FFF8F8 !important; }
body.hipp-checkout .ee-attention, body.hipp-checkout .ee-error-notice, body.hipp-checkout #ee-error-and-success-msgs .ee-attention {
  margin: 0 0 20px; padding: 14px 16px; border: 1px solid #F3B5B8; border-left: 3px solid var(--red-600); border-radius: 6px;
  background: #FFF6F6; color: var(--red-700); font-size: 14px;
}
body.hipp-checkout .ee-success-notice, body.hipp-checkout .ee-success-msg {
  margin: 0 0 20px; padding: 14px 16px; border: 1px solid #BFE0C4; border-left: 3px solid #2F7A3A; border-radius: 6px;
  background: #F1F9F2; color: #1F5A28; font-size: 14px;
}

/* ---------- Step buttons ---------- */
body.hipp-checkout .spco-reg-form-btn-dv,
body.hipp-checkout .spco-attendee_information-reg-step-submit-dv,
body.hipp-checkout [id$="-reg-step-submit-dv"] {
  display: flex; justify-content: flex-end; align-items: center; gap: 16px; margin: 24px 0 0; padding: 0; float: none;
}
body.hipp-checkout .spco-next-step-btn, body.hipp-checkout input[type=submit].spco-next-step-btn,
body.hipp-checkout #ee-single-page-checkout-dv input[type=submit], body.hipp-checkout #ee-single-page-checkout-dv button[type=submit] {
  display: inline-flex; align-items: center; justify-content: center; float: none !important; margin: 0 !important;
  padding: 15px 28px !important; border: 0 !important; border-radius: 4px !important; box-shadow: none !important;
  background: var(--red-600) !important; color: #fff !important; cursor: pointer;
  font: inherit !important; font-size: 15px !important; font-weight: 600 !important; line-height: 1 !important; text-transform: none !important;
  transition: background .15s;
}
body.hipp-checkout .spco-next-step-btn:hover, body.hipp-checkout #ee-single-page-checkout-dv input[type=submit]:hover { background: var(--red-700) !important; }
body.hipp-checkout .spco-next-step-btn[disabled], body.hipp-checkout .spco-next-step-btn.disabled { opacity: .5; cursor: not-allowed; }
body.hipp-checkout .spco-edit-step-lnk, body.hipp-checkout .spco-back-lnk, body.hipp-checkout a.spco-edit-step-lnk {
  font-size: 13.5px; font-weight: 600; color: var(--ink-700) !important; text-decoration: none;
}
body.hipp-checkout .spco-edit-step-lnk:hover { color: var(--red-600) !important; }

/* Collapsed / completed step panels */
body.hipp-checkout .spco-step-dv { margin: 0; }
body.hipp-checkout .spco-step-dv + .spco-step-dv { margin-top: 12px; }
body.hipp-checkout .spco-step-dv .spco-step-hdr, body.hipp-checkout .spco-step-dv h2 {
  font-size: 19px; font-weight: 500; color: var(--ink-900); border: 0;
}

/* Responsive */
@media (max-width: 640px) {
  body.hipp-checkout .site-main { padding-top: 32px; }
  body.hipp-checkout .ee-reg-form-qstn-grp-dv { grid-template-columns: 1fr; padding: 18px; }
  body.hipp-checkout .ee-reg-form-qstn-grp-dv > * { grid-column: 1 / -1 !important; }
  body.hipp-checkout #spco-steps-display-dv { gap: 10px; }
  body.hipp-checkout .spco-step-name { font-size: 13px; }
  body.hipp-checkout .spco-step-arrow-dv { max-width: 40px; }
  body.hipp-checkout [id$="-reg-step-submit-dv"] { justify-content: stretch; }
  body.hipp-checkout #ee-single-page-checkout-dv input[type=submit] { width: 100%; }
}

/* ---------- Overrides for EE's own (higher-specificity) SPCO styles ---------- */
body.hipp-checkout #ee-single-page-checkout-dv .ee-reg-qstn-input-dv input[type=text],
body.hipp-checkout #ee-single-page-checkout-dv .ee-reg-qstn-input-dv input[type=email],
body.hipp-checkout #ee-single-page-checkout-dv .ee-reg-qstn-input-dv input[type=tel],
body.hipp-checkout #ee-single-page-checkout-dv .ee-reg-qstn-input-dv select {
  height: 44px !important; min-height: 0 !important; padding: 0 14px !important;
  font-size: 14px !important; line-height: 42px !important;
}
body.hipp-checkout #ee-single-page-checkout-dv .ee-reg-qstn-input-dv select { padding-right: 36px !important; }
body.hipp-checkout #ee-single-page-checkout-dv .ee-reg-qstn-input-dv textarea {
  min-height: 88px !important; padding: 11px 14px !important; font-size: 14px !important; line-height: 1.5 !important;
}
/* Top-aligned: an error line under one field ("Dit veld is vereist") must not push the field next
   to it down. Labels fit on one line at these widths, so the inputs line up too. */
body.hipp-checkout .ee-reg-form-qstn-grp-dv { align-items: start; }
/* A question group without visible questions (e.g. "Adres informatie" with all questions off)
   would show as an empty card. */
body.hipp-checkout .ee-reg-form-qstn-grp-dv:not(:has(.ee-reg-qstn-input-dv, .ee-reg-qstn, input:not([type=hidden]), select, textarea)) { display: none !important; }
body.hipp-checkout .ee-reg-form-qstn-grp-dv > .ee-text-area-input-dv,
body.hipp-checkout .ee-reg-form-qstn-grp-dv > .ee-radio-button-input-dv,
body.hipp-checkout .ee-reg-form-qstn-grp-dv > .ee-checkbox-multi-input-dv { align-self: start; }

body.hipp-checkout #ee-single-page-checkout-dv .ee-radio-button-input-dv > label,
body.hipp-checkout #ee-single-page-checkout-dv .ee-checkbox-multi-input-dv > label { padding: 10px 14px !important; text-indent: 0 !important; }
body.hipp-checkout #ee-single-page-checkout-dv .ee-radio-button-input-dv input,
body.hipp-checkout #ee-single-page-checkout-dv .ee-checkbox-multi-input-dv input {
  position: static !important; top: auto !important; left: auto !important; margin: 2px 0 0 !important; width: 16px !important; height: 16px !important;
}

body.hipp-checkout #spco-steps-display-dv .spco-step-big-nmbr {
  flex-shrink: 0; width: 30px !important; height: 30px !important; padding: 0 !important; margin: 0 !important;
  font-size: 13px !important; line-height: 1 !important;
}
body.hipp-checkout #spco-steps-display-dv .spco-steps-display-hdr { font-size: 14px !important; line-height: 1.2 !important; }
body.hipp-checkout #spco-steps-display-dv .spco-step-arrow-dv {
  height: 1px !important; padding: 0 !important; line-height: 0 !important; font-size: 0 !important; overflow: hidden;
}
body.hipp-checkout table.spco-ticket-details tr { background: none !important; }
body.hipp-checkout #spco-steps-display-dv .spco-step-arrow-dv { min-height: 0 !important; max-height: 1px; align-self: center; }
body.hipp-checkout #spco-steps-display-dv .active-step .spco-step-big-nmbr,
body.hipp-checkout #spco-steps-display-dv .completed-step .spco-step-big-nmbr { color: #fff !important; }

/* ---------- Step 2: Betalingsmogelijkheden ---------- */
body.hipp-checkout #reg-page-totals-hdr {
  margin: 0 0 12px !important; padding: 0 !important; border: 0 !important;
  font-size: 11px !important; font-weight: 600 !important; letter-spacing: .14em; text-transform: uppercase; color: var(--red-600) !important;
}
body.hipp-checkout #reg-page-totals-hdr span { color: inherit !important; font-size: inherit !important; }
body.hipp-checkout .spco-payment-info-dv {
  margin: 0 0 32px; padding: 8px 20px 14px; background: #fff; border: 1px solid var(--ink-200); border-radius: 8px;
  box-shadow: 0 1px 0 rgba(29,28,28,.04), 0 8px 24px -12px rgba(29,28,28,.14);
}
body.hipp-checkout #spco-payment-info-table { width: 100%; margin: 0; border: 0; border-collapse: collapse; background: none; }
body.hipp-checkout #spco-payment-info-table tr { background: none !important; }
body.hipp-checkout #spco-payment-info-table th {
  padding: 12px 0 10px !important; border: 0 !important; border-bottom: 1px solid var(--ink-200) !important; background: none !important;
  font-size: 10.5px !important; font-weight: 600 !important; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-500) !important; text-align: left;
}
body.hipp-checkout #spco-payment-info-table td {
  padding: 8px 0 !important; border: 0 !important; background: none !important; font-size: 14px; color: var(--ink-700); vertical-align: baseline;
}
body.hipp-checkout #spco-payment-info-table th + th, body.hipp-checkout #spco-payment-info-table td + td { padding-left: 16px !important; }
body.hipp-checkout #spco-payment-info-table .jst-rght { text-align: right !important; white-space: nowrap; }
body.hipp-checkout #spco-payment-info-table td.event-header { padding-top: 16px !important; font-size: 15.5px; color: var(--ink-900); }
body.hipp-checkout #spco-payment-info-table .line-item-desc-spn,
body.hipp-checkout #spco-payment-info-table .lt-grey-text { color: var(--ink-500) !important; font-size: 12.5px !important; }
body.hipp-checkout #spco-payment-info-table tr.total_tr:not(.spco-grand-total) td { color: var(--ink-500); font-size: 13px; }
body.hipp-checkout #spco-payment-info-table tr.spco-grand-total td {
  padding-top: 12px !important; border-top: 1px solid var(--ink-200) !important; font-size: 17px; font-weight: 600; color: var(--ink-900);
}

body.hipp-checkout #method-of-payment-hdr {
  margin: 0 0 14px !important; padding: 0 !important; border: 0 !important;
  font-size: 19px !important; font-weight: 500 !important; line-height: 1.3; color: var(--ink-900) !important;
}
body.hipp-checkout #ee-available-payment-method-inputs--lbl { display: none; }
body.hipp-checkout #ee-single-page-checkout-dv .spco-payment-method-input-dv {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px;
}
body.hipp-checkout #ee-single-page-checkout-dv .spco-payment-method-input-dv > label {
  position: relative; display: flex !important; align-items: center; gap: 12px; float: none !important;
  width: auto !important; min-height: 64px; margin: 0 !important; padding: 14px 16px 14px 16px !important;
  background: #fff; border: 1px solid var(--ink-200); border-radius: 8px; cursor: pointer; text-indent: 0 !important;
  font-size: 15px; font-weight: 600; color: var(--ink-900); transition: border-color .15s, background .15s, box-shadow .15s;
}
body.hipp-checkout #ee-single-page-checkout-dv .spco-payment-method-input-dv > label:hover { border-color: var(--ink-300); }
body.hipp-checkout #ee-single-page-checkout-dv .spco-payment-method-input-dv > label:has(input:checked) {
  border-color: var(--red-600); background: #FFF8F8; box-shadow: 0 0 0 1px var(--red-600) inset;
}
body.hipp-checkout #ee-single-page-checkout-dv .spco-payment-method-input-dv > label input {
  position: static !important; width: 18px !important; height: 18px !important; margin: 0 !important; flex-shrink: 0; accent-color: var(--red-600);
}
/* Method name + icon instead of EE's button images (the configured iDEAL image no longer exists in Pronamic) */
body.hipp-checkout .spco-payment-method-input-dv .spco-payment-method-btn-img { display: none !important; }
body.hipp-checkout .spco-payment-method-input-dv > label::after {
  content: ""; margin-left: auto; width: 40px; height: 28px; flex-shrink: 0;
  background-repeat: no-repeat; background-position: center; background-size: contain;
}
body.hipp-checkout .spco-payment-method-input-dv > label[id*="-bank"]::before { content: "Bankoverschrijving"; order: 1; }
body.hipp-checkout .spco-payment-method-input-dv > label[id*="-pronamic_ideal"]::before { content: "iDEAL"; order: 1; }
body.hipp-checkout .spco-payment-method-input-dv > label input { order: 0; }
body.hipp-checkout .spco-payment-method-input-dv > label::after { order: 2; }
body.hipp-checkout .spco-payment-method-input-dv > label[id*="-bank"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233E3D3D' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10 12 4l9 6M5 10v8M9.5 10v8M14.5 10v8M19 10v8M3 20h18'/%3E%3C/svg%3E");
}
body.hipp-checkout .spco-payment-method-input-dv > label[id*="-pronamic_ideal"]::after {
  width: 51px; background-image: url("../../plugins/pronamic-ideal/vendor/pronamic/wp-pay-logos/dist/methods/ideal/method-ideal-wc-51x32.svg");
}

/* Info panel shown after choosing a method */
body.hipp-checkout .spco-payment-method-info-dv {
  margin: 14px 0 0; padding: 16px 18px; background: var(--ink-50); border: 1px solid var(--ink-200); border-radius: 8px;
  font-size: 14px; line-height: 1.6; color: var(--ink-700);
}
body.hipp-checkout .spco-payment-method-info-dv h3, body.hipp-checkout .spco-payment-method-info-dv h4 {
  margin: 0 0 6px; font-size: 15px; font-weight: 600; color: var(--ink-900);
}
body.hipp-checkout .spco-payment-method-info-dv select,
body.hipp-checkout .spco-payment-method-info-dv input[type=text] {
  height: 44px; padding: 0 14px; border: 1px solid var(--ink-200); border-radius: 4px; background: #fff; font: inherit; font-size: 14px; color: var(--ink-900);
}

body.hipp-checkout .spco-whats-next-buttons { display: flex; justify-content: flex-end; margin: 28px 0 0; float: none; }

/* ---------- Phones: steps, group description, order summary ---------- */
/* Group description lines up with the group title (EE adds a left padding) */
body.hipp-checkout #ee-single-page-checkout-dv .ee-reg-form-qstn-grp-desc-pg { padding-left: 0 !important; margin-left: 0 !important; text-indent: 0 !important; }

@media (max-width: 640px) {
  /* Steps don't fit side by side: stack them, numbers in one left-aligned column */
  body.hipp-checkout #spco-steps-display-dv { flex-direction: column; align-items: flex-start !important; justify-content: flex-start !important; gap: 10px; text-align: left; }
  body.hipp-checkout #spco-steps-display-dv .spco-step-display-dv { width: 100% !important; text-align: left !important; }
  body.hipp-checkout #spco-steps-display-dv .spco-steps-display-hdr { justify-content: flex-start !important; text-align: left !important; }
  body.hipp-checkout #spco-steps-display-dv .spco-step-arrow-dv { display: none !important; }

  /* Order summary: ticket name full width, then "1 × € 225,00" and the total */
  body.hipp-checkout table.spco-ticket-details thead { display: none; }
  body.hipp-checkout table.spco-ticket-details,
  body.hipp-checkout table.spco-ticket-details tbody { display: block; width: 100%; }
  body.hipp-checkout table.spco-ticket-details tr {
    display: grid !important; grid-template-columns: auto auto 1fr; column-gap: 6px; align-items: baseline; width: 100%; padding: 12px 0;
  }
  body.hipp-checkout table.spco-ticket-details tr + tr { border-top: 1px solid var(--ink-100); }
  body.hipp-checkout table.spco-ticket-details td { display: block; padding: 0 !important; border: 0 !important; white-space: normal; }
  body.hipp-checkout table.spco-ticket-details td.ee-ticket-details-name { grid-column: 1 / -1; margin-bottom: 8px; text-align: left; }
  body.hipp-checkout table.spco-ticket-details td.ee-ticket-details-qty,
  body.hipp-checkout table.spco-ticket-details td.ee-ticket-details-price { padding-left: 0 !important; text-align: left !important; color: var(--ink-500); font-size: 14px; }
  body.hipp-checkout table.spco-ticket-details td.ee-ticket-details-qty::after { content: " ×"; }
  body.hipp-checkout table.spco-ticket-details td { max-width: none !important; width: auto !important; }
  body.hipp-checkout table.spco-ticket-details td.ee-ticket-details-total { text-align: right !important; justify-self: end; font-size: 15px; }
}
