/* Readly Checkout – same structure and look as the Polish (Oriopay) checkout on the salad page:
   green #22c55e, Poppins, 12px radius, slate greys. Measurements taken from the Polish checkout. */
#rh-checkout { font-family: Poppins, system-ui, -apple-system, "Segoe UI", sans-serif; text-align: left; }
.rhc, .rhc * { box-sizing: border-box; }
.rhc h3, .rhc p { margin: 0; }
.rhc-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 20px; box-shadow: 0 10px 30px rgba(15, 23, 42, .06); color: #0f172a; font-size: 14px; line-height: 1.45; }
.rhc-testmode { margin-bottom: 14px; padding: 6px 10px; border-radius: 8px; background: #fef3c7; color: #92400e; font-size: 12px; font-weight: 600; text-align: center; }

/* header: thumbnail, name, price + "one-time payment" */
.rhc-head { display: flex; align-items: center; gap: 12px; }
.rhc-thumb { width: 46px; height: 46px; flex: none; border-radius: 8px; object-fit: cover; }
.rhc-head-info { flex: 1; min-width: 0; }
.rhc-name { padding-right: 16px; font-size: 14px; font-weight: 600; line-height: 17.5px; color: #0f172a; }
.rhc-meta { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; margin-top: 2px; }
.rhc-price { font-size: 18px; font-weight: 700; line-height: 28px; color: #0f172a; }
.rhc-meta-note { font-size: 11px; line-height: 13.75px; color: #94a3b8; }

/* personal details */
.rhc .rhc-label { margin: 24px 0 12px; font-size: 14px; font-weight: 500; line-height: 20px; color: #334155; }
.rhc .rhc-label-first { margin-top: 20px; }
.rhc-input { display: block; width: 100%; height: 52px; padding: 0 16px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); color: #0f172a; font: inherit; font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s; }
.rhc-input::placeholder { color: #64748b; }
.rhc-input:focus { border-color: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); }
.rhc-helper { display: flex; align-items: flex-start; gap: 6px; margin-top: 10px !important; font-size: 12px; line-height: 16.5px; color: #64748b; }
.rhc-helper svg { flex: none; margin-top: 1px; }

/* order bumps ("Profiteer en koop erbij:") */
.rhc-bumps { margin: 20px 0; padding: 16px 0; border-top: 1px solid #f1f5f9; border-bottom: 1px solid #f1f5f9; }
.rhc-sep { margin: 20px 0; border-top: 1px solid #f1f5f9; }
.rhc-bumps-title { display: flex; align-items: center; gap: 8px; margin-bottom: 10px !important; font-size: 14px; font-weight: 700; line-height: 20px; color: #1e293b; }
.rhc-dot { width: 6px; height: 6px; flex: none; border-radius: 999px; background: #22c55e; }
.rhc-bump { position: relative; display: block; margin-top: 12px; border: 1.5px solid #86efac; border-radius: 12px; background: #fff; overflow: hidden; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.rhc-bumps-title + .rhc-bump { margin-top: 0; }
.rhc-bump:hover { box-shadow: 0 2px 8px rgba(34, 197, 94, .15); }
.rhc-bump.is-on { border-color: #22c55e; }
.rhc-bump-main { display: grid; grid-template-columns: 56px 1fr 22px; align-items: center; gap: 12px; padding: 12px; }
.rhc-bump-img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; background: #f1f5f9; }
.rhc-bump-text { min-width: 0; }
.rhc-bump-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.rhc-bump-title { font-size: 14px; font-weight: 700; line-height: 17.5px; color: #0f172a; }
.rhc-bump-price { font-size: 16px; font-weight: 900; line-height: 24px; color: #15803d; white-space: nowrap; }
.rhc-bump-desc { display: block; margin-top: 2px; font-size: 12px; line-height: 16.5px; color: #64748b; }
.rhc-bump-check { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.rhc-bump-box { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border: 2px solid #86efac; border-radius: 5px; background: #fff; color: transparent; transition: background .15s, border-color .15s; }
.rhc-bump-check:checked + .rhc-bump-box { border-color: #22c55e; background: #22c55e; color: #fff; }
.rhc-bump-check:focus-visible + .rhc-bump-box { box-shadow: 0 0 0 3px rgba(34, 197, 94, .3); }
.rhc-bump-cta { display: block; padding: 9px; border-top: 1px solid #dcfce7; background: #f0fdf4; color: #166534; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; text-align: center; }
.rhc-bump.is-on .rhc-bump-cta { background: #dcfce7; }

/* wallets, divider and payment details */
.rhc-express { margin-bottom: 16px; }
.rhc-express.is-pending { margin-bottom: 0; }
.rhc-express[hidden] { display: none; }
.rhc-or { display: flex; align-items: center; margin: 4px 0 4px; }
.rhc-or::before, .rhc-or::after { content: ""; flex: 1; height: 1px; background: #e2e8f0; }
.rhc-or span { padding: 0 8px; background: #fff; color: #94a3b8; font-size: 10px; font-weight: 700; line-height: 15px; letter-spacing: .5px; text-transform: uppercase; text-align: center; }
.rhc-payment { min-height: 60px; }

.rhc-secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 18px; font-size: 12px; line-height: 16px; color: #64748b; }
.rhc-logos { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.rhc-logo { display: block; width: auto; height: 24px; }

.rhc-total { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0 20px; padding-top: 16px; border-top: 1px solid #f1f5f9; }
.rhc-total span { font-size: 14px; font-weight: 500; line-height: 20px; color: #475569; }
.rhc-total strong { font-size: 18px; font-weight: 700; color: #0f172a; }
.rhc-guarantee { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 12px; padding: 10px 12px; border: 1px solid #dcfce7; border-radius: 8px; background: #f0fdf4; color: #15803d; font-size: 14px; font-weight: 600; line-height: 20px; }
.rhc-pay { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 56px; padding: 16px 24px; border: 0; border-radius: 12px; background: var(--rhc-accent, #22c55e); box-shadow: 0 1px 3px rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1); color: #fff; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; transition: filter .15s; }
.rhc-pay:hover { filter: brightness(.92); }
.rhc-pay:disabled { opacity: .75; cursor: wait; }
.rhc-legal { margin-top: 10px !important; font-size: 11px; line-height: 15px; color: #94a3b8; text-align: center; }
.rhc-legal a { color: inherit; text-decoration: underline; }
.rhc-error { margin-top: 10px; color: #dc2626; font-size: 13px; text-align: center; }
.rhc-error[hidden] { display: none; }

.rhc-loading { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 28px; color: #475569; font-size: 14px; }
.rhc-loading-error { color: #b91c1c; }
.rhc-spin { display: inline-block; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); border-top-color: #fff; animation: rhc-spin .7s linear infinite; }
.rhc-spin-dark { border-color: #cbd5e1; border-top-color: #22c55e; }
@keyframes rhc-spin { to { transform: rotate(360deg); } }

@media (max-width: 480px) {
  .rhc-card { padding: 16px; border-radius: 14px; }
  .rhc-bump-main { grid-template-columns: 48px 1fr 22px; gap: 10px; padding: 10px; }
  .rhc-bump-img { width: 48px; height: 48px; }
}

/* thank-you page (bedankt/) */
.rht-body { margin: 0; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; background: #f0fdf4; color: #0f172a; font-family: Poppins, system-ui, sans-serif; }
.rht { width: 100%; max-width: 560px; }
.rht-card { background: #fff; border-radius: 18px; padding: 32px 24px; box-shadow: 0 16px 40px rgba(15, 23, 42, .08); text-align: center; }
.rht-card h1 { margin: 12px 0 6px; font-size: 24px; }
.rht-card p { margin: 0 0 12px; }
.rht-lead { color: #475569; }
.rht-icon { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; background: #22c55e; color: #fff; font-size: 32px; font-weight: 700; }
.rht-icon-fail { background: #f97316; }
.rht-items { list-style: none; margin: 6px 0 18px; padding: 0; border: 1px solid #e5e7eb; border-radius: 12px; text-align: left; }
.rht-items li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid #f1f5f9; font-size: 14px; }
.rht-items li:last-child { border-bottom: 0; }
.rht-sum { background: #f8fafc; font-weight: 700; }
.rht-downloads { display: grid; gap: 10px; margin: 0 0 16px; }
.rht-btn { display: block; padding: 14px 16px; border-radius: 12px; background: #22c55e; color: #fff; font-weight: 700; text-decoration: none; }
.rht-btn:hover { background: #16a34a; }
.rht-note { color: #64748b; font-size: 13px; }
.rht-spinner { width: 42px; height: 42px; margin: 0 auto 14px; border-radius: 50%; border: 4px solid #dcfce7; border-top-color: #22c55e; animation: rhc-spin .8s linear infinite; }
