/* ══════════════════════════════════════════════════════
   SEOFAI Commerce — Submit Form Styles
   ══════════════════════════════════════════════════════ */

/* ── Reset & Base ── */
.sfc-submit{max-width:640px;margin:0 auto;padding:32px 0 40px;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;-webkit-font-smoothing:antialiased;color:#1e293b}
.sfc-submit--checkout{padding-top:28px;padding-bottom:40px}
.sfc-submit *,.sfc-submit *::before,.sfc-submit *::after{box-sizing:border-box}

/* ── Alerts ── */
.sfc-alert{display:flex;gap:14px;padding:18px 20px;border-radius:12px;margin-bottom:28px;font-size:14px;line-height:1.6}
.sfc-alert__icon{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:16px;flex-shrink:0}
.sfc-alert__content p{margin:4px 0 0}
.sfc-alert--success{background:#ecfdf5;border:1px solid #a7f3d0}.sfc-alert--success .sfc-alert__icon{background:#059669;color:#fff}
.sfc-alert--warning{background:#fffbeb;border:1px solid #fde68a}.sfc-alert--warning .sfc-alert__icon{background:#f59e0b;color:#fff}
.sfc-alert--error{background:#fef2f2;border:1px solid #fecaca}.sfc-alert--error .sfc-alert__icon{background:#ef4444;color:#fff}

/* ── Steps ── */
.sfc-step{display:none;animation:sfcFadeIn .3s ease}
.sfc-step--active{display:block}
@keyframes sfcFadeIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}

.sfc-step__header{display:flex;align-items:flex-start;gap:16px;margin-bottom:28px}
.sfc-step__number{width:36px;height:36px;border-radius:10px;background:var(--sfc-step-number-bg,#4f46e5);color:var(--sfc-step-number-text,#fff);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:15px;flex-shrink:0}
.sfc-step__title .sfc-step__title-text{margin:0;font-size:var(--sfc-fs-step-title,20px);font-weight:700;color:var(--sfc-step-title-color,#0f172a)}
.sfc-step__title p{margin:4px 0 0;font-size:14px;color:#64748b}

.sfc-step__body{margin-bottom:24px}
.sfc-step__footer{display:flex;gap:12px;justify-content:flex-end;padding-top:8px}

/* ── Fields ── */
.sfc-field{margin-bottom:20px}
.sfc-label{display:block;font-size:var(--sfc-fs-label,13px);font-weight:600;color:#334155;margin-bottom:6px;letter-spacing:.01em}
.sfc-required{color:#ef4444}
.sfc-optional{color:#64748b;font-weight:500;font-size:12px}

.sfc-input,.sfc-textarea{width:100%;padding:11px 14px;font-size:15px;font-family:inherit;border:1.5px solid #e2e8f0;border-radius:10px;background:#fff;color:#1e293b;transition:border-color .2s ease,box-shadow .2s ease;outline:none}
.sfc-input:focus,.sfc-textarea:focus{border-color:#4f46e5;box-shadow:0 0 0 3px rgba(79,70,229,.1)}
.sfc-input::placeholder,.sfc-textarea::placeholder{color:#94a3b8}
.sfc-input--small{max-width:160px}
.sfc-textarea{resize:vertical;min-height:60px}

.sfc-field__hint{font-size:var(--sfc-fs-hint,12px);color:#94a3b8;margin-top:5px}
.sfc-field__error{font-size:12px;color:#ef4444;margin-top:4px;display:none}
.sfc-field__error.is-visible{display:block}
.sfc-field__row{display:flex;gap:10px}

.sfc-input.is-invalid{border-color:#ef4444}
.sfc-input.is-valid{border-color:#059669}

/* ── Plan Cards ── */
.sfc-plans{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:24px}
.sfc-plan{cursor:pointer;display:block}
.sfc-plan__radio{position:absolute;opacity:0;pointer-events:none}
.sfc-plan__card{position:relative;padding:24px 20px;border:2px solid #e2e8f0;border-radius:14px;background:#fff;transition:border-color .2s ease,box-shadow .2s ease}
.sfc-plan__card:hover{border-color:#cbd5e1;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.sfc-plan--selected .sfc-plan__card{border-color:var(--sfc-plan-border,#4f46e5);box-shadow:0 0 0 3px rgba(79,70,229,.12)}
.sfc-plan__badge{position:absolute;top:-10px;right:16px;background:var(--sfc-badge-bg,#4f46e5);color:var(--sfc-badge-text,#fff);font-size:var(--sfc-fs-badge,11px);font-weight:700;padding:3px 12px;border-radius:20px;letter-spacing:.02em}
.sfc-plan__header{margin-bottom:16px}
.sfc-plan__name{font-size:var(--sfc-fs-plan-title,18px);font-weight:700;color:#0f172a}
.sfc-plan__price{font-size:var(--sfc-fs-price,28px);font-weight:800;color:var(--sfc-price-color,#4f46e5);line-height:1.2}
.sfc-plan__price-note{font-size:13px;font-weight:400;color:#94a3b8}
.sfc-plan__desc{font-size:var(--sfc-fs-plan-desc,12px);color:#64748b;margin-top:4px;line-height:1.4}
.sfc-plan__features{list-style:none;padding:0;margin:0}
.sfc-plan__feature{padding:5px 0;font-size:var(--sfc-fs-feature,13px);display:flex;align-items:center;gap:8px;color:#475569}
.sfc-plan__feature--no{color:#94a3b8}
.sfc-check{color:var(--sfc-check-color,#059669);font-weight:700;font-size:14px}
.sfc-x{color:var(--sfc-x-color,#ef4444);font-weight:700;font-size:14px}

/* ── Progressive Reveal ── */
.sfc-reveal{animation:sfcSlideIn .35s ease}
.sfc-reveal--in{animation:sfcSlideIn .35s ease}
@keyframes sfcSlideIn{from{opacity:0;transform:translateY(12px);max-height:0}to{opacity:1;transform:translateY(0);max-height:600px}}
.sfc-section-title{font-size:18px;font-weight:700;color:var(--sfc-section-title-color,#0f172a);margin:28px 0 16px;padding-top:20px;border-top:1px solid #f1f5f9}

/* ── Advanced Fields Toggle ── */
.sfc-advanced-fields{margin-top:20px;padding-top:20px;border-top:1px solid #f1f5f9;animation:sfcFadeIn .3s ease}

/* ── Review Table ── */
.sfc-review{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;margin-bottom:20px}
.sfc-review__row{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;border-bottom:1px solid #f1f5f9}
.sfc-review__row:last-child{border-bottom:none}
.sfc-review__row--total{background:#f1f5f9}
.sfc-review__label{font-size:13px;color:#64748b;font-weight:500}
.sfc-review__value{font-size:14px;color:#1e293b;font-weight:600;text-align:right;word-break:break-all;max-width:60%}
.sfc-review__value--price{font-size:20px;color:#4f46e5;font-weight:800}

/* ── Turnstile ── */
.sfc-turnstile-wrap{display:flex;flex-direction:column;align-items:center;margin:20px 0}

/* ── Secure Notice ── */
.sfc-secure-notice{display:flex;align-items:center;gap:8px;font-size:12px;color:#94a3b8;justify-content:center;padding:8px 0}
.sfc-secure-notice svg{flex-shrink:0;opacity:.6}

/* ── Form Error ── */
.sfc-form__error{background:#fef2f2;border:1px solid #fecaca;border-radius:10px;padding:12px 16px;font-size:13px;color:#dc2626;text-align:center;margin-top:12px}

/* ── Buttons ── */
.sfc-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 24px;font-size:14px;font-weight:600;font-family:inherit;border:none;border-radius:10px;cursor:pointer;transition:all .2s ease;white-space:nowrap}
.sfc-btn:disabled{opacity:.5;cursor:not-allowed}
.sfc-btn--primary{background:var(--sfc-btn-bg,#4f46e5);color:var(--sfc-btn-text,#fff) !important;text-decoration:none !important;font-size:var(--sfc-fs-btn,14px)}
.sfc-btn--primary:hover:not(:disabled){background:var(--sfc-btn-bg,#4f46e5);filter:brightness(.9);color:var(--sfc-btn-text,#fff) !important;text-decoration:none !important}
.sfc-btn--ghost{background:transparent;color:#64748b;border:1.5px solid #e2e8f0}
.sfc-btn--ghost:hover{background:#f8fafc;color:#334155}
.sfc-btn--pay{background:#0070ba;color:#fff;padding:16px 32px;font-size:16px;font-weight:700;border-radius:12px;width:100%;max-width:420px;display:inline-flex;align-items:center;justify-content:center;gap:6px;transition:background .2s,transform .1s}
.sfc-btn--pay:hover:not(:disabled){background:#005ea6}
.sfc-btn--pay:active:not(:disabled){transform:scale(.98)}
.sfc-btn--pay:disabled{opacity:.6;cursor:not-allowed}

/* ── Spinner ── */
.sfc-spinner{display:inline-block;width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:sfcSpin .6s linear infinite}
@keyframes sfcSpin{to{transform:rotate(360deg)}}


/* ── Order Summary ── */
.sfc-order-summary{margin-bottom:28px}
.sfc-order-summary__card{border:1.5px solid #e2e8f0;border-radius:16px;padding:24px;background:#fff}
.sfc-order-summary__heading{font-size:15px;font-weight:700;color:#0f172a;margin:0 0 16px;text-transform:uppercase;letter-spacing:.04em;font-size:12px;color:#64748b}
.sfc-order-summary__rows{display:flex;flex-direction:column;gap:0}
.sfc-order-summary__row{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid #f1f5f9}
.sfc-order-summary__row:last-child{border-bottom:none}
.sfc-order-summary__label{font-size:13px;color:#64748b;font-weight:500}
.sfc-order-summary__value{font-size:14px;color:#1e293b;font-weight:600;text-align:right;max-width:60%;word-break:break-all}
.sfc-order-summary__value--url{font-size:13px;color:#4f46e5}
.sfc-order-summary__tier{display:inline-block;background:#eef2ff;color:#4f46e5;font-size:12px;font-weight:700;padding:3px 12px;border-radius:20px}
/* Order Summary Inline Edit */
.sfc-order-summary__edit-btn{background:none;border:none;color:#94a3b8;cursor:pointer;padding:2px 4px;margin-left:6px;opacity:.6;transition:opacity .2s;vertical-align:middle}
.sfc-order-summary__edit-btn:hover{opacity:1;color:#4f46e5}
.sfc-order-summary__edit-row{display:flex;gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid #f1f5f9}
.sfc-order-summary__edit-input{flex:1;padding:7px 10px;font-size:13px;border:1.5px solid #e2e8f0;border-radius:8px;font-family:inherit;outline:none}
.sfc-order-summary__edit-input:focus{border-color:#4f46e5;box-shadow:0 0 0 3px rgba(79,70,229,.1)}
.sfc-order-summary__save-btn{padding:6px 14px;font-size:12px;font-weight:600;background:#4f46e5;color:#fff;border:none;border-radius:8px;cursor:pointer;white-space:nowrap}
.sfc-order-summary__save-btn:hover{background:#4338ca}
.sfc-order-summary__cancel-btn{padding:6px 12px;font-size:12px;font-weight:500;background:transparent;color:#64748b;border:1px solid #e2e8f0;border-radius:8px;cursor:pointer;white-space:nowrap}
.sfc-order-summary__cancel-btn:hover{background:#f8fafc}

.sfc-order-summary__divider{height:1px;background:#e2e8f0;margin:12px 0}
.sfc-order-summary__total{display:flex;justify-content:space-between;align-items:center;padding:4px 0 0}
.sfc-order-summary__total-label{font-size:15px;font-weight:700;color:#0f172a}
.sfc-order-summary__total-price{font-size:20px;font-weight:800;color:#0f172a}

/* ── Checkout Grid (Step 3 side-by-side) ── */
.sfc-submit--checkout{max-width:960px}
.sfc-checkout-grid{display:grid;grid-template-columns:1fr 400px;gap:28px;align-items:start}
.sfc-checkout-grid__summary{min-width:0}
.sfc-checkout-grid__payment{min-width:0;overflow:visible}

/* ── Payment Methods ── */
.sfc-payment-methods{margin:0 0 20px;position:relative;z-index:10;overflow:visible}
.sfc-paypal-button{width:100%;overflow:visible}
.sfc-payment-divider{display:flex;align-items:center;gap:14px;margin:18px 0}
.sfc-payment-divider::before,.sfc-payment-divider::after{content:'';flex:1;height:1px;background:#e2e8f0}
.sfc-payment-divider span{font-size:12px;color:#94a3b8;font-weight:500;text-transform:uppercase;letter-spacing:.06em}


/* ── Checkout Back Arrow ── */
.sfc-co-back{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;border:1.5px solid #e2e8f0;color:#64748b;text-decoration:none;transition:all .15s;flex-shrink:0}
.sfc-co-back:hover{background:#f8fafc;color:#1e293b;border-color:#cbd5e1}

/* ── Checkout Editable Fields ── */
.sfc-co-edit-field{width:100%;padding:6px 10px;font-size:13px;font-weight:600;color:#1e293b;border:1.5px solid transparent;border-radius:8px;background:transparent;font-family:inherit;outline:none;text-align:right;transition:border-color .15s,background .15s}
.sfc-co-edit-field:hover{border-color:#e2e8f0;background:#f8fafc}
.sfc-co-edit-field:focus{border-color:#4f46e5;background:#fff;box-shadow:0 0 0 3px rgba(79,70,229,.08)}
.sfc-co-edit-field::placeholder{color:#94a3b8;font-weight:400}

/* Edit icon hint on right side of editable fields */
.sfc-co-edit-wrap{display:flex;align-items:center;gap:6px;position:relative}
.sfc-co-edit-wrap .sfc-co-edit-field{flex:1;padding-right:6px}
.sfc-co-edit-icon{flex-shrink:0;width:28px;height:28px;padding:7px;border-radius:6px;color:#94a3b8;background:#f1f5f9;transition:all .2s;cursor:pointer}
.sfc-order-summary__row:hover .sfc-co-edit-icon{color:#4f46e5;background:#eef2ff}
.sfc-co-edit-wrap:focus-within .sfc-co-edit-icon{opacity:0;width:0;padding:0;margin:0;overflow:hidden}

/* ── Checkout Plan Select ── */
.sfc-co-plan-select{appearance:none;-webkit-appearance:none;padding:6px 32px 6px 12px;font-size:13px;font-weight:600;color:#1e293b;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 5l3 3 3-3' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center;border:1.5px solid #e2e8f0;border-radius:8px;cursor:pointer;font-family:inherit;transition:border-color .15s}
.sfc-co-plan-select:hover{border-color:#cbd5e1}
.sfc-co-plan-select:focus{border-color:#4f46e5;outline:none;box-shadow:0 0 0 3px rgba(79,70,229,.1)}
.sfc-co-plan-select:disabled{opacity:.5;cursor:not-allowed}

/* ── Secure Notice ── */
.sfc-secure-notice{display:flex;align-items:center;gap:6px;font-size:12px;color:#94a3b8;margin-top:16px}
.sfc-secure-notice svg{flex-shrink:0}

/* ── Processing Overlay ── */
.sfc-processing{display:flex;flex-direction:column;align-items:center;gap:12px;padding:40px 16px;text-align:center}
.sfc-processing p{font-size:14px;color:#64748b;margin:0}
.sfc-spinner--lg{width:36px;height:36px;border-width:3px;border-color:rgba(79,70,229,.2);border-top-color:#4f46e5}

/* ── Thank You Page ── */
.sfc-thankyou{animation:sfcFadeIn .4s ease;padding:8px 0}
.sfc-thankyou__hero{text-align:center;margin-bottom:32px}
.sfc-thankyou__check{margin:0 auto 16px}
.sfc-thankyou__title{font-size:28px;font-weight:800;color:#0f172a;margin:0 0 8px}
.sfc-thankyou__subtitle{font-size:15px;color:#64748b;line-height:1.6;margin:0;max-width:440px;margin-left:auto;margin-right:auto}

.sfc-thankyou__card{border:1.5px solid #e2e8f0;border-radius:16px;overflow:hidden;margin-bottom:28px;background:#fff}
.sfc-thankyou__card-header{display:flex;justify-content:space-between;align-items:center;padding:16px 24px;background:#f8fafc;border-bottom:1px solid #e2e8f0}
.sfc-thankyou__order-label{font-size:15px;font-weight:700;color:#0f172a}
.sfc-thankyou__status{display:inline-block;background:#ecfdf5;color:#059669;font-size:12px;font-weight:700;padding:4px 14px;border-radius:20px}

.sfc-thankyou__details{padding:20px 24px}
.sfc-thankyou__detail{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid #f1f5f9}
.sfc-thankyou__detail:last-child{border-bottom:none}
.sfc-thankyou__dt{font-size:13px;color:#64748b;font-weight:500}
.sfc-thankyou__dd{font-size:14px;color:#1e293b;font-weight:600;text-align:right;max-width:60%;word-break:break-all}
.sfc-thankyou__dd--link{color:#4f46e5;font-size:13px}
.sfc-thankyou__tier-badge{display:inline-block;background:#eef2ff;color:#4f46e5;font-size:12px;font-weight:700;padding:3px 14px;border-radius:20px}

.sfc-thankyou__payment-row{display:flex;flex-wrap:wrap;gap:16px;padding:16px 24px;background:#f8fafc;border-top:1px solid #e2e8f0}
.sfc-thankyou__payment-info{flex:1;min-width:120px}
.sfc-thankyou__payment-label{display:block;font-size:11px;color:#94a3b8;font-weight:500;text-transform:uppercase;letter-spacing:.04em;margin-bottom:4px}
.sfc-thankyou__payment-amount{font-size:18px;font-weight:800;color:#059669}
.sfc-thankyou__payment-txn{font-size:12px;font-family:'SF Mono',Monaco,Consolas,monospace;color:#64748b;letter-spacing:.02em}
.sfc-thankyou__payment-date{font-size:13px;color:#1e293b;font-weight:600}

.sfc-thankyou__timeline{border:1.5px solid #e2e8f0;border-radius:16px;padding:28px 24px;margin-bottom:28px;background:#fff}
.sfc-thankyou__timeline-title{font-size:15px;font-weight:700;color:#0f172a;margin:0 0 20px}
.sfc-thankyou__steps{display:flex;flex-direction:column;gap:0}
.sfc-thankyou__step{display:flex;gap:14px;align-items:flex-start;padding:10px 0;position:relative}
.sfc-thankyou__step:not(:last-child)::after{content:'';position:absolute;left:7px;top:34px;bottom:-4px;width:2px;background:#e2e8f0}
.sfc-thankyou__step--done:not(:last-child)::after{background:#059669}
.sfc-thankyou__step-dot{width:16px;height:16px;border-radius:50%;background:#e2e8f0;flex-shrink:0;margin-top:3px;position:relative;z-index:1}
.sfc-thankyou__step--done .sfc-thankyou__step-dot{background:#059669}
.sfc-thankyou__step--active .sfc-thankyou__step-dot{background:#4f46e5;box-shadow:0 0 0 4px rgba(79,70,229,.15)}
.sfc-thankyou__step-content strong{display:block;font-size:14px;color:#0f172a;margin-bottom:2px}
.sfc-thankyou__step-content p{margin:0;font-size:12px;color:#94a3b8;line-height:1.4}

/* Thank You Links */
.sfc-thankyou__dd--link a{color:#4f46e5;text-decoration:none}
.sfc-thankyou__dd--link a:hover{text-decoration:underline}

.sfc-thankyou__footer{text-align:center;font-size:13px;color:#94a3b8;line-height:1.6}
.sfc-thankyou__footer p{margin:4px 0}
.sfc-thankyou__footer strong{color:#334155}
.sfc-thankyou__footer a{color:#4f46e5;text-decoration:none}
.sfc-thankyou__footer a:hover{text-decoration:underline}
.sfc-thankyou__actions{display:flex;gap:12px;justify-content:center;margin-top:20px}
.sfc-thankyou__actions .sfc-btn{min-width:140px}

/* ── Confirmation Screen ── */
.sfc-confirmation{text-align:center;padding:40px 24px;animation:sfcFadeIn .4s ease}
.sfc-confirmation__icon{margin:0 auto 20px}
.sfc-confirmation__title{font-size:26px;font-weight:800;color:#0f172a;margin:0 0 8px}
.sfc-confirmation__subtitle{font-size:15px;color:#64748b;line-height:1.6;margin:0 0 28px;max-width:480px;margin-left:auto;margin-right:auto}
.sfc-confirmation__subtitle a{color:#4f46e5;text-decoration:underline}
.sfc-confirmation--cancelled .sfc-confirmation__title{color:#92400e}
.sfc-confirmation--failed .sfc-confirmation__title{color:#991b1b}

/* Confirmation Details Table */
.sfc-confirmation__details{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;overflow:hidden;margin:0 auto 28px;max-width:440px;text-align:left}
.sfc-confirmation__row{display:flex;justify-content:space-between;align-items:center;padding:13px 20px;border-bottom:1px solid #f1f5f9}
.sfc-confirmation__row:last-child{border-bottom:none}
.sfc-confirmation__label{font-size:13px;color:#64748b;font-weight:500}
.sfc-confirmation__value{font-size:14px;color:#1e293b;font-weight:600;text-align:right;max-width:60%;word-break:break-all}
.sfc-confirmation__value--price{color:#059669;font-size:16px;font-weight:800}
.sfc-confirmation__value--mono{font-family:'SF Mono',Monaco,Consolas,monospace;font-size:12px;color:#64748b;letter-spacing:.02em}

/* What Happens Next Timeline */
.sfc-confirmation__next{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:28px 24px;margin:0 auto 28px;max-width:480px;text-align:left}
.sfc-confirmation__next h3{font-size:16px;font-weight:700;color:#0f172a;margin:0 0 20px;text-align:center}
.sfc-confirmation__steps{display:flex;flex-direction:column;gap:0}
.sfc-confirmation__step{display:flex;gap:14px;align-items:flex-start;padding:12px 0;position:relative}
.sfc-confirmation__step:not(:last-child)::after{content:'';position:absolute;left:15px;top:42px;bottom:-2px;width:2px;background:#e2e8f0}
.sfc-confirmation__step strong{display:block;font-size:14px;color:#0f172a;margin-bottom:2px}
.sfc-confirmation__step p{margin:0;font-size:12px;color:#94a3b8;line-height:1.4}

/* Step Icons */
.sfc-confirmation__step-icon{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;flex-shrink:0;background:#f1f5f9;color:#94a3b8;position:relative;z-index:1}
.sfc-confirmation__step-icon--done{background:#059669;color:#fff}
.sfc-confirmation__step-icon--active{background:#4f46e5;color:#fff;animation:sfcPulse 2s ease infinite}
@keyframes sfcPulse{0%,100%{box-shadow:0 0 0 0 rgba(79,70,229,.3)}50%{box-shadow:0 0 0 8px rgba(79,70,229,0)}}

/* Footer */
.sfc-confirmation__footer{font-size:13px;color:#94a3b8;line-height:1.6}
.sfc-confirmation__footer p{margin:4px 0}
.sfc-confirmation__footer strong{color:#334155}
.sfc-confirmation__footer a{color:#4f46e5;text-decoration:none}
.sfc-confirmation__footer a:hover{text-decoration:underline}

/* ── Mobile ── */
@media(max-width:768px){
    .sfc-checkout-grid{grid-template-columns:1fr;gap:20px}
    .sfc-submit--checkout{max-width:640px}
}
@media(max-width:640px){
    .sfc-submit{padding:20px 4px 32px}
    .sfc-plans{display:flex;flex-direction:column-reverse;gap:16px}
    .sfc-plan__price{font-size:24px}
    .sfc-step__footer{flex-direction:column}
    .sfc-step__footer .sfc-btn{width:100%}
    .sfc-field__row{flex-direction:column}
    .sfc-input--small{max-width:100%}
    .sfc-review__value{max-width:55%}
    .sfc-order-summary__card{padding:18px 16px}
    .sfc-order-summary__value{max-width:55%}
    .sfc-confirmation{padding:28px 16px}
    .sfc-confirmation__title{font-size:22px}
    .sfc-thankyou__title{font-size:22px}
    .sfc-thankyou__card-header{padding:14px 16px}
    .sfc-thankyou__details{padding:16px}
    .sfc-thankyou__payment-row{padding:14px 16px}
    .sfc-thankyou__dd{max-width:55%}
    .sfc-thankyou__timeline{padding:20px 16px}
}
