.ofi-cp-checkout{max-width:1140px;margin:32px auto;padding:0 16px;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#0f172a}
.ofi-cp-checkout-shell{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:28px;align-items:start}
.ofi-cp-checkout-main,.ofi-cp-order-box,.ofi-cp-thankyou{padding:28px;border:1px solid #e2e8f0;border-radius:24px;background:#fff;box-shadow:0 18px 48px rgba(15,23,42,.06)}
.ofi-cp-hero-card{padding:0 0 18px;margin-bottom:20px;border-bottom:1px solid #eff6ff}.ofi-cp-topline{display:inline-flex;align-items:center;padding:7px 12px;border-radius:999px;background:#eff6ff;color:#2563eb;font-size:12px;font-weight:700;letter-spacing:.02em;margin-bottom:14px}.ofi-cp-title{margin:0 0 12px;font-size:34px;line-height:1.08;letter-spacing:-.03em}.ofi-cp-price-stack{margin-bottom:14px}.ofi-cp-regular-price{font-size:18px;color:#64748b;text-decoration:line-through;margin-bottom:6px}.ofi-cp-price-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.ofi-cp-price{font-size:42px;line-height:1;font-weight:800;color:#0f172a;letter-spacing:-.04em}.ofi-cp-offer-badge{display:inline-flex;align-items:center;min-height:32px;padding:6px 12px;border-radius:999px;background:#dbeafe;color:#1d4ed8;font-size:13px;font-weight:700}.ofi-cp-save-line{font-size:14px;color:#2563eb;font-weight:700;margin-top:8px}.ofi-cp-desc{font-size:15px;line-height:1.7;color:#334155}.ofi-cp-sandbox-note{padding:12px 14px;background:#fffaf5;color:#9a3412;border:1px solid #fed7aa;border-radius:12px;font-size:13px;margin-top:14px}
.ofi-cp-section-title{font-size:13px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:#475569;margin:14px 0 12px}.ofi-cp-grid-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}.ofi-cp-field{margin:0}.ofi-cp-field-full{grid-column:1 / -1}.ofi-cp-field-half{grid-column:auto}.ofi-cp-form p{margin:0 0 14px}.ofi-cp-form label{display:block;font-weight:700;margin-bottom:7px;color:#0f172a;font-size:14px}.ofi-cp-form input[type=text],.ofi-cp-form input[type=email],.ofi-cp-form input[type=url],.ofi-cp-form input[type=number],.ofi-cp-form select,.ofi-cp-form textarea{width:100%;height:44px;padding:10px 14px;border:1px solid #cfd8e3;border-radius:10px;background:#fff;box-shadow:0 1px 2px rgba(15,23,42,.06), inset 0 1px 0 rgba(255,255,255,.9);transition:border-color .2s ease,box-shadow .2s ease,color .2s ease}.ofi-cp-form textarea{height:auto;min-height:96px}.ofi-cp-form input::placeholder,.ofi-cp-form textarea::placeholder{color:#9ca3af}.ofi-cp-form select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,#64748b 50%),linear-gradient(135deg,#64748b 50%,transparent 50%);background-position:calc(100% - 18px) calc(50% - 3px),calc(100% - 12px) calc(50% - 3px);background-size:6px 6px,6px 6px;background-repeat:no-repeat;padding-right:34px}.ofi-cp-form input:focus,.ofi-cp-form select:focus,.ofi-cp-form textarea:focus{outline:none;border-color:#93c5fd;box-shadow:0 0 0 3px rgba(37,99,235,.10),0 1px 2px rgba(15,23,42,.06)}.ofi-cp-help{display:block;font-size:12px;color:#64748b;margin-top:6px}
.ofi-cp-bump{padding:14px 16px;background:linear-gradient(180deg,#f8fbff 0%,#f1f5f9 100%);border:1px solid #dbeafe;border-radius:16px}.ofi-cp-bump label{display:flex;justify-content:space-between;gap:14px;align-items:center}.ofi-cp-bump strong{color:#1d4ed8}
.ofi-cp-gateways{display:flex;gap:12px;margin:0 0 18px;flex-wrap:wrap}.ofi-cp-gateways label{display:flex;align-items:center;gap:10px;padding:12px 16px;border:1px solid #cbd5e1;border-radius:999px;background:#f8fafc;font-weight:700;color:#0f172a}
.ofi-cp-panel{border:1px solid #dbeafe;border-radius:18px;padding:18px;background:linear-gradient(180deg,#fff 0%,#f8fbff 100%);margin-bottom:18px}.ofi-cp-panel-title{font-weight:800;font-size:16px;margin-bottom:6px}.ofi-cp-panel-desc{font-size:14px;color:#475569;margin-bottom:12px}.ofi-cp-card-element{padding:16px;border:1px solid #cbd5e1;border-radius:14px;background:#fff}.ofi-cp-paypal-buttons{min-height:46px}
.ofi-cp-submit{background:#1677d3;color:#fff;border:0;padding:16px 20px;border-radius:16px;font-weight:800;font-size:16px;cursor:pointer;width:100%;box-shadow:0 10px 24px rgba(22,119,211,.24);transition:transform .15s ease,opacity .2s ease,box-shadow .2s ease}.ofi-cp-submit:hover{transform:translateY(-1px);box-shadow:0 14px 28px rgba(22,119,211,.28)}.ofi-cp-submit.is-loading{opacity:.7;cursor:wait}.ofi-cp-message{margin-top:14px;font-size:14px;min-height:20px}.ofi-cp-message.is-error{color:#b91c1c}.ofi-cp-message.is-success{color:#166534}.ofi-cp-message.is-info{color:#1d4ed8}
.ofi-cp-order-box{position:sticky;top:24px;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)}.ofi-cp-order-box h4{margin:0 0 18px;font-size:24px;letter-spacing:-.03em}.ofi-cp-order-line,.ofi-cp-order-total{display:flex;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid #e5edf7}.ofi-cp-order-line.is-muted{color:#64748b;font-size:14px}.ofi-cp-order-total{font-size:22px;font-weight:800;border-bottom:0;padding-top:18px}.ofi-cp-checkout-points{margin:18px 0 0;padding-left:18px;color:#334155;line-height:1.8}
.ofi-cp-thankyou-wrap{max-width:1120px;margin:34px auto;padding:0 16px;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.ofi-cp-thankyou-shell{max-width:920px;margin:0 auto;padding:34px;border:1px solid #e2e8f0;border-radius:28px;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);box-shadow:0 22px 60px rgba(15,23,42,.08)}.ofi-cp-thankyou{max-width:none;margin:0}.ofi-cp-thankyou-header{text-align:center;margin-bottom:24px}.ofi-cp-thankyou-icon{width:76px;height:76px;margin:0 auto 14px;border-radius:999px;background:rgba(52,211,153,.14);color:#10b981;display:flex;align-items:center;justify-content:center;font-size:42px;font-weight:900}.ofi-cp-thankyou-icon.is-pending{background:rgba(59,130,246,.12);color:#2563eb}.ofi-cp-thankyou-title{margin:0 0 8px;font-size:42px;line-height:1.05;letter-spacing:-.04em;color:#0f172a}.ofi-cp-thankyou-subtitle{max-width:620px;margin:0 auto;color:#475569;font-size:16px;line-height:1.7}.ofi-cp-thankyou-total-card{max-width:380px;margin:0 auto 24px;padding:18px 22px;border-radius:22px;background:#fff;border:1px solid #dbeafe;box-shadow:0 12px 32px rgba(37,99,235,.08);text-align:center}.ofi-cp-thankyou-total-label{font-size:13px;text-transform:uppercase;letter-spacing:.08em;color:#64748b;font-weight:800;margin-bottom:6px}.ofi-cp-thankyou-total-value{font-size:38px;font-weight:900;letter-spacing:-.04em;color:#0f172a}.ofi-cp-thankyou-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:22px;margin-bottom:22px}.ofi-cp-thankyou-card{padding:24px;border:1px solid #e2e8f0;border-radius:22px;background:#fff;box-shadow:0 12px 32px rgba(15,23,42,.05)}.ofi-cp-thankyou-card-primary{border-color:#dbeafe}.ofi-cp-thankyou-card-details{background:linear-gradient(180deg,#fff 0%,#f8fbff 100%)}.ofi-cp-thankyou-card-title{font-size:22px;font-weight:800;letter-spacing:-.03em;color:#0f172a;margin-bottom:14px}.ofi-cp-thankyou-card-copy{margin:0 0 18px;color:#475569;line-height:1.7}.ofi-cp-thankyou-items{display:flex;flex-direction:column;gap:14px}.ofi-cp-thankyou-item{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding:16px 18px;border-radius:18px;background:#f8fbff;border:1px solid #dbeafe}.ofi-cp-thankyou-item-main{min-width:0}.ofi-cp-thankyou-item-name{font-weight:800;color:#0f172a;font-size:17px;line-height:1.4}.ofi-cp-thankyou-item-meta{margin-top:8px}.ofi-cp-thankyou-badge{display:inline-flex;align-items:center;min-height:28px;padding:5px 10px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:12px;font-weight:800}.ofi-cp-thankyou-item-price{font-weight:900;color:#0f172a;white-space:nowrap;font-size:18px}.ofi-cp-thankyou-actions{display:flex;flex-direction:column;gap:14px}.ofi-cp-download-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:14px 20px;border-radius:16px;background:#1677d3;color:#fff;text-decoration:none;font-weight:800;box-shadow:0 12px 28px rgba(22,119,211,.22)}.ofi-cp-download-btn:hover{transform:translateY(-1px)}.ofi-cp-license-box{padding:16px 18px;border-radius:18px;background:#f8fbff;border:1px solid #dbeafe}.ofi-cp-license-label{font-size:13px;text-transform:uppercase;letter-spacing:.08em;color:#64748b;font-weight:800;margin-bottom:8px}.ofi-cp-license-code{display:block;padding:12px 14px;border-radius:14px;background:#0f172a;color:#fff;font-size:16px;overflow:auto}.ofi-cp-thankyou-inline-note,.ofi-cp-thankyou-note{color:#475569;font-size:14px;line-height:1.7}.ofi-cp-thankyou-detail-row{display:flex;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid #e5edf7;color:#334155}.ofi-cp-thankyou-detail-row strong{color:#0f172a}.ofi-cp-thankyou-detail-row:last-of-type{border-bottom:0}.ofi-cp-thankyou-note{margin-top:12px}
@media (max-width:960px){.ofi-cp-checkout-shell{grid-template-columns:1fr}.ofi-cp-order-box{position:static;order:-1}.ofi-cp-title{font-size:28px}.ofi-cp-price{font-size:36px}.ofi-cp-thankyou-grid{grid-template-columns:1fr}.ofi-cp-thankyou-title{font-size:34px}}
@media (max-width:640px){.ofi-cp-grid-fields{grid-template-columns:1fr}.ofi-cp-field-full,.ofi-cp-field-half{grid-column:1 / -1}.ofi-cp-checkout-main,.ofi-cp-order-box,.ofi-cp-thankyou{padding:20px}.ofi-cp-price-row{align-items:flex-start}.ofi-cp-gateways label{width:100%;justify-content:flex-start}.ofi-cp-thankyou-shell{padding:22px}.ofi-cp-thankyou-title{font-size:30px}.ofi-cp-thankyou-item,.ofi-cp-thankyou-detail-row{flex-direction:column;align-items:flex-start}.ofi-cp-thankyou-total-value{font-size:32px}}


body.ofi-cp-thankyou-page { background:#eef3f8; margin:0; }
.ofi-cp-thankyou-wrap { min-height:100vh; background:#eef3f8; padding:48px 20px; }
.ofi-cp-thankyou-shell { max-width:980px; margin:0 auto; }
.ofi-cp-thankyou-header { text-align:center; background:#fff; border-radius:20px; padding:36px 32px 26px; box-shadow:0 20px 45px rgba(15,23,42,.08); border-top:6px solid #2f80ed; margin-bottom:22px; }
.ofi-cp-thankyou-icon { width:72px; height:72px; border-radius:999px; margin:0 auto 16px; background:rgba(52,211,153,.14); color:#10b981; display:flex; align-items:center; justify-content:center; font-size:42px; font-weight:800; }
.ofi-cp-thankyou-icon.is-pending { background:rgba(59,130,246,.12); color:#2563eb; }
.ofi-cp-thankyou-title { margin:0 0 10px; font-size:42px; line-height:1.1; color:#0f172a; }
.ofi-cp-thankyou-subtitle { margin:0; font-size:18px; color:#475569; }
.ofi-cp-thankyou-total-card { background:linear-gradient(135deg,#1d4ed8,#2563eb); color:#fff; border-radius:20px; padding:22px 28px; box-shadow:0 20px 45px rgba(37,99,235,.20); margin:0 auto 22px; max-width:420px; text-align:center; }
.ofi-cp-thankyou-total-label { font-size:14px; letter-spacing:.08em; text-transform:uppercase; opacity:.8; }
.ofi-cp-thankyou-total-value { font-size:42px; font-weight:800; margin-top:6px; }
.ofi-cp-thankyou-grid { display:grid; grid-template-columns:1.2fr .8fr; gap:22px; margin-bottom:22px; }
.ofi-cp-thankyou-card { background:#fff; border-radius:20px; padding:28px; box-shadow:0 20px 45px rgba(15,23,42,.08); }
.ofi-cp-thankyou-card-title { font-size:24px; font-weight:800; color:#0f172a; margin-bottom:18px; }
.ofi-cp-thankyou-card-copy { margin:0 0 14px; color:#475569; font-size:16px; }
.ofi-cp-thankyou-items { display:flex; flex-direction:column; gap:14px; }
.ofi-cp-thankyou-item { border:1px solid #dbe7f5; border-radius:16px; padding:18px; display:flex; justify-content:space-between; gap:16px; align-items:flex-start; background:#f8fbff; }
.ofi-cp-thankyou-item-name { font-size:20px; font-weight:700; color:#10223a; margin-bottom:8px; }
.ofi-cp-thankyou-item-price { font-size:20px; font-weight:800; color:#10223a; white-space:nowrap; }
.ofi-cp-thankyou-badge { display:inline-block; background:#e7f0ff; color:#2563eb; border-radius:999px; padding:6px 10px; font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; }
.ofi-cp-thankyou-item-actions { margin-top:12px; display:flex; flex-direction:column; gap:10px; }
.ofi-cp-download-btn { display:inline-flex; align-items:center; justify-content:center; min-height:50px; padding:0 22px; border-radius:14px; background:#2563eb; color:#fff; text-decoration:none; font-weight:800; box-shadow:0 16px 32px rgba(37,99,235,.24); transition:transform .15s ease, box-shadow .15s ease; }
.ofi-cp-download-btn:hover { color:#fff; transform:translateY(-1px); box-shadow:0 18px 34px rgba(37,99,235,.28); }
.ofi-cp-download-btn.is-small { min-height:42px; padding:0 16px; font-size:14px; box-shadow:none; }
.ofi-cp-thankyou-inline-license { color:#334155; font-size:14px; }
.ofi-cp-thankyou-inline-license code, .ofi-cp-license-code { background:#f1f5f9; border:1px solid #d9e4ef; border-radius:10px; padding:6px 8px; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; }
.ofi-cp-license-box { margin-top:14px; padding:16px; border-radius:16px; border:1px dashed #93c5fd; background:#f8fbff; }
.ofi-cp-license-label { font-weight:700; color:#0f172a; margin-bottom:8px; }
.ofi-cp-thankyou-inline-note, .ofi-cp-thankyou-note { color:#475569; font-size:15px; }
.ofi-cp-thankyou-detail-row { display:flex; justify-content:space-between; gap:16px; padding:12px 0; border-bottom:1px solid #e5edf6; color:#475569; }
.ofi-cp-thankyou-detail-row:last-of-type { border-bottom:none; }
.ofi-cp-thankyou-detail-row strong { color:#0f172a; }
.ofi-cp-thankyou-card-details { max-width:980px; margin:0 auto; }
@media (max-width: 900px) { .ofi-cp-thankyou-grid { grid-template-columns:1fr; } .ofi-cp-thankyou-title { font-size:34px; } .ofi-cp-thankyou-total-value { font-size:34px; } }
@media (max-width: 640px) { .ofi-cp-thankyou-wrap { padding:24px 14px; } .ofi-cp-thankyou-header, .ofi-cp-thankyou-card { padding:20px; border-radius:16px; } .ofi-cp-thankyou-item { flex-direction:column; } .ofi-cp-thankyou-item-price { white-space:normal; } }


/* v1.6.2 thank-you refinements */
body.ofi-cp-thankyou-page { background:#eef3f8; }
.ofi-cp-thankyou-wrap { max-width: 1000px; min-height:auto; padding:28px 16px 40px; }
.ofi-cp-thankyou-shell { max-width: 1000px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.ofi-cp-thankyou-header { padding: 24px 24px 20px; border-radius: 18px; margin-bottom: 18px; }
.ofi-cp-thankyou-icon { width: 58px; height: 58px; margin-bottom: 12px; font-size: 34px; }
.ofi-cp-thankyou-title { font-size: 28px; margin-bottom: 8px; }
.ofi-cp-thankyou-subtitle { font-size: 15px; line-height: 1.6; }
.ofi-cp-thankyou-total-card { max-width: 320px; padding: 16px 20px; border-radius: 18px; margin-bottom: 18px; background: linear-gradient(135deg,#1d4ed8,#2563eb); color: #fff; }
.ofi-cp-thankyou-total-label { color: rgba(255,255,255,.82); opacity: 1; }
.ofi-cp-thankyou-total-value { font-size: 30px; line-height: 1.05; color: #fff; }
.ofi-cp-thankyou-grid { gap: 18px; margin-bottom: 18px; }
.ofi-cp-thankyou-card { padding: 22px; border-radius: 18px; }
.ofi-cp-thankyou-card-title { font-size: 18px; margin-bottom: 14px; }
.ofi-cp-thankyou-card-copy, .ofi-cp-thankyou-inline-note, .ofi-cp-thankyou-note, .ofi-cp-thankyou-detail-row { font-size: 14px; }
.ofi-cp-thankyou-item { padding: 16px 16px; border-radius: 14px; }
.ofi-cp-thankyou-item-name { font-size: 16px; line-height: 1.45; }
.ofi-cp-thankyou-item-price { font-size: 16px; }
.ofi-cp-thankyou-badge { font-size: 11px; padding: 5px 10px; }
.ofi-cp-download-btn { min-height: 46px; padding: 0 18px; border-radius: 12px; font-size: 14px; }
.ofi-cp-download-btn.is-small { min-height: 40px; font-size: 13px; }
.ofi-cp-thankyou-detail-row { padding: 11px 0; }
@media (max-width: 900px) {
  .ofi-cp-thankyou-wrap { padding-top: 20px; }
  .ofi-cp-thankyou-title { font-size: 24px; }
  .ofi-cp-thankyou-total-value { font-size: 26px; }
}
@media (max-width: 640px) {
  .ofi-cp-thankyou-header, .ofi-cp-thankyou-card { padding: 18px; }
  .ofi-cp-thankyou-title { font-size: 22px; }
  .ofi-cp-thankyou-subtitle { font-size: 14px; }
  .ofi-cp-thankyou-total-card { max-width: none; }
}

/* v1.6.3 hierarchy and compact thank-you improvements */
.ofi-cp-thankyou-wrap { max-width: 960px; padding: 22px 14px 36px; }
.ofi-cp-thankyou-header { padding: 20px 22px 18px; border-radius: 16px; margin-bottom: 16px; }
.ofi-cp-thankyou-icon { width: 54px; height: 54px; margin-bottom: 10px; font-size: 30px; }
.ofi-cp-thankyou-title { font-size: 26px; margin-bottom: 6px; }
.ofi-cp-thankyou-subtitle { font-size: 14px; line-height: 1.55; }
.ofi-cp-thankyou-grid { gap: 16px; margin-bottom: 16px; }
.ofi-cp-thankyou-grid-top { grid-template-columns: minmax(0,1.18fr) minmax(250px,.82fr); align-items: stretch; }
.ofi-cp-thankyou-card { padding: 20px; border-radius: 16px; }
.ofi-cp-thankyou-card-title { font-size: 17px; margin-bottom: 12px; }
.ofi-cp-thankyou-card-title.is-small { font-size: 15px; margin-bottom: 10px; }
.ofi-cp-thankyou-card-copy,
.ofi-cp-thankyou-inline-note,
.ofi-cp-thankyou-note,
.ofi-cp-thankyou-detail-row { font-size: 13.5px; }
.ofi-cp-thankyou-card-hero { border: 1px solid #dbeafe; background: linear-gradient(180deg,#ffffff 0%,#f8fbff 100%); }
.ofi-cp-thankyou-card-aside { display: flex; flex-direction: column; gap: 14px; justify-content: flex-start; }
.ofi-cp-thankyou-primary-product { display: flex; flex-direction: column; gap: 14px; }
.ofi-cp-thankyou-primary-name { font-size: 20px; line-height: 1.35; font-weight: 800; color: #0f172a; }
.ofi-cp-thankyou-primary-actions { display: flex; flex-direction: column; gap: 12px; }
.ofi-cp-thankyou-badge { min-height: 24px; padding: 4px 10px; font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; }
.ofi-cp-thankyou-badge.is-primary { background: #eff6ff; color: #1d4ed8; }
.ofi-cp-thankyou-mini-total { padding: 14px 16px; border-radius: 14px; background: #f8fbff; border: 1px solid #dbeafe; box-shadow: none; text-align: left; }
.ofi-cp-thankyou-mini-total .ofi-cp-thankyou-total-label { color: #64748b; font-size: 11px; letter-spacing: .08em; }
.ofi-cp-thankyou-mini-total .ofi-cp-thankyou-total-value { color: #0f172a; font-size: 24px; margin-top: 4px; }
.ofi-cp-thankyou-next-step { padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid #e2e8f0; }
.ofi-cp-thankyou-step-list { margin: 0; padding-left: 18px; color: #475569; line-height: 1.7; }
.ofi-cp-thankyou-item { padding: 14px 15px; border-radius: 14px; }
.ofi-cp-thankyou-item-name { font-size: 15px; margin-bottom: 6px; }
.ofi-cp-thankyou-item-price { font-size: 15px; }
.ofi-cp-thankyou-item-actions { margin-top: 10px; gap: 8px; }
.ofi-cp-download-btn { gap: 8px; }
.ofi-cp-download-btn-icon { font-size: 15px; line-height: 1; }
.ofi-cp-download-btn-primary { width: 100%; min-height: 54px; padding: 0 22px; border-radius: 14px; font-size: 15px; box-shadow: 0 18px 34px rgba(37,99,235,.20); }
.ofi-cp-download-btn.is-small { min-height: 38px; padding: 0 14px; border-radius: 11px; font-size: 13px; }
.ofi-cp-license-box { margin-top: 0; padding: 14px; border-radius: 14px; }
.ofi-cp-license-label { font-size: 12px; margin-bottom: 6px; }
.ofi-cp-license-code { font-size: 14px; }
.ofi-cp-thankyou-detail-row { padding: 10px 0; }
@media (max-width: 900px) {
  .ofi-cp-thankyou-grid-top,
  .ofi-cp-thankyou-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ofi-cp-thankyou-wrap { padding: 18px 12px 28px; }
  .ofi-cp-thankyou-header,
  .ofi-cp-thankyou-card { padding: 16px; }
  .ofi-cp-thankyou-title { font-size: 22px; }
  .ofi-cp-thankyou-primary-name { font-size: 18px; }
  .ofi-cp-thankyou-mini-total .ofi-cp-thankyou-total-value { font-size: 22px; }
}


/* v1.6.4 thank-you hierarchy refinements */
.ofi-cp-thankyou-wrap { max-width: 930px; padding: 18px 12px 30px; }
.ofi-cp-thankyou-header { padding: 18px 20px 16px; margin-bottom: 14px; }
.ofi-cp-thankyou-icon { width: 50px; height: 50px; font-size: 28px; margin-bottom: 8px; }
.ofi-cp-thankyou-title { font-size: 24px; }
.ofi-cp-thankyou-subtitle { font-size: 13.5px; }
.ofi-cp-thankyou-grid { gap: 14px; margin-bottom: 14px; }
.ofi-cp-thankyou-card { padding: 18px; }
.ofi-cp-thankyou-card-title { font-size: 16px; margin-bottom: 10px; }
.ofi-cp-thankyou-primary-product, .ofi-cp-thankyou-primary-actions { gap: 12px; }
.ofi-cp-thankyou-primary-name { font-size: 18px; }
.ofi-cp-thankyou-mini-total { padding: 12px 14px; border-radius: 12px; }
.ofi-cp-thankyou-next-step { padding: 12px 14px; border-radius: 12px; }
.ofi-cp-thankyou-item { padding: 13px 14px; }
.ofi-cp-download-btn { border-radius: 8px; }
.ofi-cp-download-btn-primary { min-height: 50px; border-radius: 9px; }
.ofi-cp-download-btn.is-small { border-radius: 8px; }
.ofi-cp-thankyou-inline-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #2563eb;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  padding: 0;
}
.ofi-cp-thankyou-inline-action:hover { color: #1d4ed8; text-decoration: underline; }
.ofi-cp-thankyou-inline-note.is-soft { color: #64748b; font-size: 12.5px; }
@media (max-width: 640px) {
  .ofi-cp-thankyou-wrap { padding: 16px 10px 24px; }
  .ofi-cp-thankyou-header, .ofi-cp-thankyou-card { padding: 15px; }
  .ofi-cp-download-btn-primary { min-height: 48px; }
}

/* v1.6.6 bump card upgrade */
.ofi-cp-bump-wrap { margin: 4px 0 18px; }
.ofi-cp-bump-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.ofi-cp-bump-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  background: linear-gradient(180deg,#f8fbff 0%,#f1f5f9 100%);
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}
.ofi-cp-bump-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 10px 24px rgba(37,99,235,.08);
}
.ofi-cp-bump-checkbox:checked + .ofi-cp-bump-card {
  border-color: #60a5fa;
  background: linear-gradient(180deg,#eff6ff 0%,#f8fbff 100%);
  box-shadow: 0 14px 28px rgba(37,99,235,.10);
}
.ofi-cp-bump-card-main {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
  flex: 1;
}
.ofi-cp-bump-media {
  flex: 0 0 110px;
  width: 110px;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #dbe7f5;
}
.ofi-cp-bump-media img {
  display: block;
  width: 100%;
  height: auto;
}
.ofi-cp-bump-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ofi-cp-bump-eyebrow {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 24px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e7f0ff;
  color: #2563eb;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.ofi-cp-bump-title {
  font-size: 24px;
  line-height: 1.15;
  font-weight: 800;
  color: #0f172a;
}
.ofi-cp-bump-price-line {
  font-size: 16px;
  font-weight: 800;
  color: #1d4ed8;
}
.ofi-cp-bump-desc {
  color: #475569;
  font-size: 14px;
  line-height: 1.65;
}
.ofi-cp-bump-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 4px;
}
.ofi-cp-bump-toggle {
  position: relative;
  display: inline-flex;
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: #cbd5e1;
  transition: background .18s ease;
}
.ofi-cp-bump-toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15,23,42,.18);
  transition: transform .18s ease;
}
.ofi-cp-bump-checkbox:checked + .ofi-cp-bump-card .ofi-cp-bump-toggle {
  background: #2563eb;
}
.ofi-cp-bump-checkbox:checked + .ofi-cp-bump-card .ofi-cp-bump-toggle-knob {
  transform: translateX(20px);
}
@media (max-width: 640px) {
  .ofi-cp-bump-card { padding: 14px; gap: 12px; }
  .ofi-cp-bump-card-main { gap: 12px; }
  .ofi-cp-bump-media { flex-basis: 86px; width: 86px; }
  .ofi-cp-bump-title { font-size: 20px; }
  .ofi-cp-bump-price-line { font-size: 15px; }
  .ofi-cp-bump-desc { font-size: 13px; }
}


/* v1.6.7 checkout media and typography polish */
.ofi-cp-hero-layout {
  display: block;
}
.ofi-cp-hero-layout.has-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 20px;
  align-items: start;
}
.ofi-cp-hero-copy {
  min-width: 0;
}
.ofi-cp-hero-media {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #dbe7f5;
  background: linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  box-shadow: 0 10px 24px rgba(15,23,42,.06);
}
.ofi-cp-hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.ofi-cp-title {
  font-weight: 700;
}
.ofi-cp-bump-title {
  font-weight: 700;
  letter-spacing: -0.02em;
}
@media (max-width: 900px) {
  .ofi-cp-hero-layout.has-media {
    grid-template-columns: 1fr;
  }
  .ofi-cp-hero-media {
    max-width: 320px;
    order: -1;
  }
}
@media (max-width: 640px) {
  .ofi-cp-hero-media {
    max-width: 100%;
    border-radius: 12px;
  }
  .ofi-cp-title {
    font-size: 30px;
    line-height: 1.1;
  }
}


/* v1.6.8 summary image move + bump polish */
.ofi-cp-summary-media {
  margin: -2px 0 14px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #dbe7f5;
  background: linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  box-shadow: 0 8px 20px rgba(15,23,42,.05);
  padding: 10px;
}
.ofi-cp-summary-media img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: contain;
  object-position: center center;
}
.ofi-cp-hero-layout,
.ofi-cp-hero-layout.has-media {
  display: block;
}
.ofi-cp-title {
  font-weight: 600;
}
.ofi-cp-bump-card {
  align-items: stretch;
}
.ofi-cp-bump-card-main {
  align-items: flex-start;
}
.ofi-cp-bump-media {
  flex: 0 0 84px;
  width: 84px;
  height: 64px;
  border-radius: 8px;
  background: linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  border: 1px solid #dbe7f5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ofi-cp-bump-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}
.ofi-cp-bump-copy {
  gap: 5px;
}
.ofi-cp-bump-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.18;
}
.ofi-cp-bump-price-line {
  font-size: 15px;
  font-weight: 700;
}
.ofi-cp-bump-desc {
  color: #475569;
  font-size: 13px;
  line-height: 1.55;
  max-width: 44ch;
}
.ofi-cp-bump-side {
  align-self: flex-end;
  padding-top: 0;
  padding-bottom: 2px;
}
@media (max-width: 900px) {
  .ofi-cp-summary-media img {
    height: 140px;
  }
}
@media (max-width: 640px) {
  .ofi-cp-summary-media {
    margin-bottom: 12px;
    border-radius: 10px;
    padding: 8px;
  }
  .ofi-cp-summary-media img {
    height: 128px;
  }
  .ofi-cp-bump-media {
    flex-basis: 72px;
    width: 72px;
    height: 56px;
  }
  .ofi-cp-bump-title {
    font-size: 18px;
  }
  .ofi-cp-bump-desc {
    font-size: 12.5px;
  }
}

.ofi-cp-coupon-field{margin-top:8px}
.ofi-cp-coupon-row{display:flex;gap:10px;align-items:center}
.ofi-cp-coupon-row input[name="coupon_code"]{flex:1}
.ofi-cp-apply-coupon{border:1px solid #2f6ce5;background:#fff;color:#2f6ce5;padding:12px 16px;border-radius:10px;font-weight:600;cursor:pointer;white-space:nowrap}
.ofi-cp-apply-coupon:disabled{opacity:.65;cursor:not-allowed}
@media (max-width: 640px){.ofi-cp-coupon-row{flex-direction:column;align-items:stretch}.ofi-cp-apply-coupon{width:100%}}


.ofi-cp-line-discount-row{transition:color .2s ease, background-color .2s ease, border-color .2s ease}
.ofi-cp-line-discount-row.is-applied{
  background:rgba(22,163,74,.08);
  border:1px solid rgba(22,163,74,.18);
  border-radius:12px;
  padding:12px 14px;
  margin-top:10px;
}
.ofi-cp-line-discount-row.is-applied span{
  color:#166534;
  font-weight:600;
}
.ofi-cp-line-discount-row.is-applied .ofi-cp-line-discount{
  color:#15803d;
  font-weight:600;
}

/* v1.7.2 thank you cleanup */
.ofi-cp-thankyou-side-stack{display:flex;flex-direction:column;gap:14px}.ofi-cp-thankyou-inline-license{color:#334155;font-size:14px}.ofi-cp-thankyou-inline-license code{display:inline-block;background:#f1f5f9!important;border:1px solid #d9e4ef;border-radius:10px;padding:6px 10px;color:#0f172a!important;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.ofi-cp-thankyou-item-actions .ofi-cp-download-btn{align-self:flex-start;background:#2563eb;color:#fff;box-shadow:0 14px 28px rgba(37,99,235,.22);border:1px solid #2563eb;font-weight:700}.ofi-cp-thankyou-item-actions .ofi-cp-download-btn:hover{background:#1d4ed8;color:#fff;box-shadow:0 16px 30px rgba(37,99,235,.26)}.ofi-cp-thankyou-item-actions .ofi-cp-download-btn .ofi-cp-download-btn-icon{color:inherit}.ofi-cp-thankyou-card-primary{border-color:#dbeafe}.ofi-cp-thankyou-card-primary .ofi-cp-thankyou-item{background:#f8fbff}@media (max-width:900px){.ofi-cp-thankyou-side-stack{gap:14px}}


/* v1.9.0 checkout CRO + payment element */
.ofi-cp-payment-element{padding:14px 0 4px;}
.ofi-cp-coupon-toggle{display:inline-flex;align-items:center;gap:8px;background:none;border:none;padding:0;color:#2563eb;font-weight:700;cursor:pointer;font-size:15px;}
.ofi-cp-coupon-toggle:hover{text-decoration:underline;}
.ofi-cp-coupon-body{margin-top:10px;}
.ofi-cp-trust-points{display:grid;gap:8px;margin-top:14px;color:#475569;font-size:13px;}
.ofi-cp-trust-points span{display:flex;align-items:center;gap:8px;}
.ofi-cp-trust-points span:before{content:'✓';display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:999px;background:#eff6ff;color:#2563eb;font-size:12px;font-weight:800;flex:0 0 18px;}
.ofi-cp-country-help{display:block;margin-top:6px;}
.ofi-cp-panel-desc{margin-bottom:6px;}
.ofi-cp-submit{margin-top:8px;}
@media (min-width: 768px){.ofi-cp-trust-points{grid-template-columns:repeat(3,minmax(0,1fr));}}

.ofi-cp-order-coupon{margin-top:18px;padding-top:2px}.ofi-cp-order-coupon .ofi-cp-coupon-toggle{padding-left:0}.ofi-cp-order-coupon .ofi-cp-coupon-body{padding-top:10px}.ofi-cp-trust-points span:first-child{font-weight:700}


/* v1.9.1.3 contact spacing polish */
.ofi-cp-grid-fields {
  row-gap: 10px;
}
.ofi-cp-grid-fields > .ofi-cp-field {
  margin: 0;
}

/* Bump spacing improvement */
.ofi-cp-bump, .ofi-cp-bump-card { margin-top: 18px; }
