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

.rhc-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid #f1f5f9; }
.rhc-thumb { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex: none; border: 1px solid #f1f5f9; }
.rhc-head-info { flex: 1; min-width: 0; }
.rhc-name { font-weight: 700; font-size: 15px; line-height: 1.25; }
.rhc-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin-top: 2px; font-size: 12px; color: #64748b; }
.rhc-price { color: #0f172a; font-size: 15px; font-weight: 700; }
.rhc-lang { display: inline-flex; align-items: center; gap: 6px; flex: none; border: 1px solid #e5e7eb; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 600; color: #334155; }
.rhc-lang svg { border-radius: 2px; }

.rhc-label { font-weight: 600; font-size: 14px; margin: 18px 0 8px; }
.rhc-input { display: block; width: 100%; height: 48px; border: 1px solid #e2e8f0; border-radius: 12px; padding: 0 14px; background: #fff; color: #0f172a; font: inherit; font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s; }
.rhc-input:focus { border-color: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); }
.rhc-check { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 12px; color: #64748b; cursor: pointer; }
.rhc-check input { width: 16px; height: 16px; margin: 1px 0 0; flex: none; accent-color: #22c55e; }
.rhc-check a { color: #16a34a; text-decoration: underline; }

.rhc-bumps { display: grid; gap: 12px; }
.rhc-bump { display: block; border: 2px dashed #22c55e; border-radius: 12px; background: #f0fdf4; overflow: hidden; cursor: pointer; transition: background .15s, border-color .15s; }
.rhc-bump.is-on { border-style: solid; background: #dcfce7; }
.rhc-bump-body { display: flex; gap: 12px; align-items: center; padding: 12px; }
.rhc-bump-img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; flex: none; }
.rhc-bump-text { flex: 1; min-width: 0; }
.rhc-bump-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.rhc-bump-title { font-size: 13px; font-weight: 700; line-height: 1.3; color: #14532d; }
.rhc-bump-price { font-size: 14px; font-weight: 700; color: #16a34a; white-space: nowrap; }
.rhc-bump-desc { display: block; margin-top: 4px; font-size: 11.5px; line-height: 1.4; color: #475569; }
.rhc-bump-check { width: 22px; height: 22px; flex: none; accent-color: #22c55e; cursor: pointer; }
.rhc-bump-cta { display: block; padding: 8px; background: #dcfce7; border-top: 1px dashed #86efac; color: #15803d; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-align: center; }
.rhc-bump.is-on .rhc-bump-cta { background: #22c55e; border-top-color: #22c55e; color: #fff; }

.rhc-express { margin-top: 18px; }
.rhc-express.is-pending { margin-top: 0; }
.rhc-or { display: flex; align-items: center; gap: 10px; margin-top: 16px; color: #94a3b8; font-size: 12px; }
.rhc-or::before, .rhc-or::after { content: ""; flex: 1; height: 1px; background: #e5e7eb; }
.rhc-payment { min-height: 60px; }
.rhc-terms { margin-top: 16px; }
.rhc-secure { margin-top: 16px; text-align: center; font-size: 12px; color: #64748b; }
.rhc-logos { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.rhc-logos span { border: 1px solid #e5e7eb; border-radius: 6px; padding: 2px 8px; background: #f8fafc; color: #475569; font-size: 10.5px; font-weight: 700; }
.rhc-total { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid #e5e7eb; font-size: 14px; color: #334155; }
.rhc-total strong { font-size: 18px; color: #0f172a; }
.rhc-guarantee { margin: 14px 0; padding: 10px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 12px; color: #15803d; font-size: 13px; font-weight: 600; text-align: center; }
.rhc-pay { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 56px; border: 0; border-radius: 12px; background: #22c55e; color: #fff; font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; box-shadow: 0 10px 24px rgba(34, 197, 94, .35); transition: background .15s, transform .15s; }
.rhc-pay:hover { background: #16a34a; transform: translateY(-1px); }
.rhc-pay:disabled { opacity: .75; cursor: wait; transform: none; }
.rhc-error { margin-top: 10px; color: #dc2626; font-size: 13px; text-align: center; }
.rhc-error[hidden], .rhc-express[hidden], .rhc-or[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-img { width: 52px; height: 52px; }
}

/* 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; }
