/* Checkout UI — pricing-page chrome (shared hero + mist cards band). */

body.rp-checkout-page {
    color: var(--rp-text);
    background: var(--rp-surface, #fff);
    /* Avoid overflow-x:hidden — breaks sticky chrome if added later. */
}

body.rp-checkout-page .rp-checkout,
body.rp-checkout-page .rp-checkout-shell,
body.rp-checkout-page .rp-checkout-grid {
    min-width: 0;
}

body.rp-checkout-page .rp-main {
    min-height: 60vh;
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}

body.rp-checkout-page.rp-marketing-light .rp-site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Solo + Clinic: logo-only nav (match pricing). */
body.rp-checkout-page .rp-site-nav__actions {
    display: none !important;
}

.rp-checkout-band {
    /* Theme .rp-pricing-page__cards-band supplies mist field. */
    flex: 1 1 auto;
}

.rp-checkout-shell {
    width: 100%;
    max-width: min(var(--rp-content-max, 1320px), 1280px);
    margin-left: auto;
    margin-right: auto;
    padding:
        clamp(1.15rem, 2.8vw, 1.75rem)
        var(--rp-content-gutter, clamp(1rem, 3.5vw, 2rem))
        clamp(1.75rem, 3.5vw, 2.5rem);
    box-sizing: border-box;
}

.rp-checkout {
    font-family: var(--rp-font-body, "Nunito", system-ui, sans-serif);
    font-size: var(--rp-text-base, 0.9375rem);
    line-height: 1.5;
    color: var(--rp-text);
    --rp-btn-primary: #1e4d7b;
    --rp-btn-primary-hover: #163a5c;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* —— Grid / cards —— */

.rp-checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.9fr);
    gap: clamp(1.25rem, 3vw, 2.25rem);
    align-items: start;
}

.rp-checkout-grid__form,
.rp-checkout-order {
    background: var(--rp-surface);
    border: 1px solid rgba(220, 225, 232, 0.95);
    border-radius: var(--rp-radius-lg, 16px);
    padding: clamp(1.15rem, 2.4vw, 1.75rem);
    box-shadow: 0 1px 2px rgba(10, 18, 32, 0.03), 0 12px 32px rgba(10, 18, 32, 0.045);
}

@media (min-width: 861px) {
    .rp-checkout-shell {
        padding-top: clamp(1.15rem, 2.8vw, 1.75rem);
    }

    .rp-checkout-grid__form {
        grid-column: 1;
        grid-row: 1;
    }

    .rp-checkout-grid__summary {
        grid-column: 2;
        grid-row: 1;
        position: sticky;
        top: calc(1.15rem + env(safe-area-inset-top, 0px));
    }
}

/* —— Form sections —— */

.rp-checkout-section {
    margin-bottom: 2rem;
}

.rp-checkout-section:last-of-type {
    margin-bottom: 1.5rem;
}

.rp-checkout-section__title,
.rp-checkout-order__title {
    margin: 0 0 1.15rem;
    font-family: var(--rp-font-display, "Ubuntu", system-ui, sans-serif);
    font-size: clamp(1.35rem, 2.4vw, 1.65rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--rp-navy);
}

.rp-checkout-order__title {
    margin-bottom: 1rem;
}

.rp-checkout-section__title--inline {
    margin: 0;
}

.rp-checkout-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem 1rem;
}

.rp-checkout-form__field {
    margin-bottom: 1.05rem;
}

.rp-checkout-form__field label {
    display: block;
    font-family: var(--rp-font-display, "Ubuntu", system-ui, sans-serif);
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 0.8125rem;
    letter-spacing: 0;
    color: var(--rp-navy);
}

.rp-checkout-form__req {
    color: var(--rp-highlight);
    margin-left: 0.1rem;
}

.rp-checkout-form__input {
    width: 100%;
    box-sizing: border-box;
    min-height: 2.85rem;
    padding: 0.72rem 0.95rem;
    border: 1px solid var(--rp-border);
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--rp-font-body, "Nunito", system-ui, sans-serif);
    font-weight: 400;
    color: #111827;
    background: var(--rp-surface-alt);
    transition:
        border-color var(--rp-transition),
        box-shadow var(--rp-transition),
        background-color var(--rp-transition);
}

.rp-checkout-form__input:hover {
    border-color: #c8d0db;
}

.rp-checkout-form__input:focus {
    outline: none;
    background: var(--rp-surface);
    border-color: var(--rp-teal-dim);
    box-shadow: var(--rp-focus-ring);
}

.rp-checkout-form__input[readonly] {
    background: #eef1f5;
    color: var(--rp-text-muted);
}

.rp-checkout-form__hint {
    font-family: var(--rp-font-body, "Nunito", system-ui, sans-serif);
    font-size: 0.8125rem;
    font-weight: 400;
    color: #64748b;
    margin: 0.4rem 0 0;
    line-height: 1.45;
    letter-spacing: 0;
}

.rp-checkout-form__hint[hidden] {
    display: none !important;
}

/* Compact trust badges (theme markup; icons from active theme) */
.rp-checkout-trust-badges.rp-trust-badges {
    margin: 1rem 0 0.35rem;
    padding: 0.85rem 0 0.25rem;
    background: transparent;
    border: 0;
    border-top: 1px solid #e8ebf0;
}

.rp-checkout-trust-badges .rp-trust-badges__list {
    gap: 0.65rem 0.5rem;
    max-width: none;
}

.rp-checkout-trust-badges .rp-trust-badges__item {
    flex: 1 1 5.5rem;
    max-width: 7.5rem;
    min-width: 4.75rem;
}

.rp-checkout-trust-badges .rp-trust-badges__icon,
.rp-checkout-trust-badges .rp-trust-badges__icon img {
    width: 40px;
    height: 40px;
}

.rp-checkout-trust-badges .rp-trust-badges__title {
    font-size: 0.68rem;
    color: #1a4b7a;
}

.rp-checkout-trust-badges .rp-trust-badges__link:hover .rp-trust-badges__title,
.rp-checkout-trust-badges .rp-trust-badges__link:focus-visible .rp-trust-badges__title {
    color: #2a9b8a;
}

.rp-checkout-notice {
    display: block;
    margin: 0.75rem 0 0;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    border: 1px solid transparent;
    font-family: var(--rp-font-body, "Nunito", system-ui, sans-serif);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: 0;
    box-sizing: border-box;
}

.rp-checkout-notice--hidden,
.rp-checkout-notice[hidden] {
    display: none !important;
}

.rp-checkout-notice--error {
    color: #8a2424;
    background: #fdecec;
    border-color: #f0c4c4;
}

.rp-checkout-notice--ok {
    color: #0f5c56;
    background: #e6f7f5;
    border-color: #b7e4de;
}

.rp-checkout-notice--info {
    color: #475569;
    background: #f1f5f9;
    border-color: #e2e8f0;
    font-weight: 400;
    font-size: 0.8125rem;
    line-height: 1.5;
}


.rp-checkout-form__renewal,
.rp-checkout-form__consent {
    font-family: var(--rp-font-body, "Nunito", system-ui, sans-serif);
    font-size: 0.8125rem;
    font-weight: 400;
    color: #64748b;
    margin: 0.65rem 0 0;
    line-height: 1.5;
    letter-spacing: 0;
}

.rp-checkout-form__legal {
    font-family: var(--rp-font-body, "Nunito", system-ui, sans-serif);
    font-size: 0.75rem;
    font-weight: 400;
    color: #94a3b8;
    margin: 0.4rem 0 0;
    line-height: 1.55;
    letter-spacing: 0;
}

.rp-checkout-payment-method {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--rp-teal);
    border-radius: 10px;
    background: var(--rp-active-bg);
}

.rp-checkout-payment-method__label {
    font-family: var(--rp-font-display, "Ubuntu", system-ui, sans-serif);
    font-weight: var(--rp-font-medium, 500);
    color: var(--rp-navy);
}

.rp-checkout-payment-method__icons {
    display: flex;
    gap: 0.35rem;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--rp-text-muted);
}

.rp-checkout-payment-method__icons span {
    border: 1px solid var(--rp-border);
    border-radius: 4px;
    padding: 0.15rem 0.3rem;
    background: var(--rp-surface);
}

.rp-checkout-card-panel {
    margin-bottom: 1.25rem;
}

.rp-checkout-card-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.rp-checkout-stripe-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--rp-font-display, "Ubuntu", system-ui, sans-serif);
    font-size: 0.72rem;
    color: var(--rp-text-muted);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.rp-checkout-stripe-badge strong {
    color: #635bff;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.rp-checkout-stripe-badge__shield {
    font-size: 0.85rem;
    opacity: 0.85;
}

.rp-checkout-card-panel__body {
    background: var(--rp-surface-alt);
    border: 1px solid var(--rp-border);
    border-radius: 12px;
    padding: 1.15rem 1.1rem;
}

.rp-checkout-form__payment {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 0;
}

.rp-checkout-form__payment [data-rp-payment-element] {
    min-height: 2.75rem;
}

.rp-checkout-form__loading {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 2.75rem;
    margin: 0;
    padding: 0.7rem 0.85rem;
    border: 1px dashed var(--rp-border);
    border-radius: 10px;
    background: var(--rp-surface);
    font-family: var(--rp-font-body, "Nunito", system-ui, sans-serif);
    font-size: var(--rp-text-sm, 0.8125rem);
    color: var(--rp-text-muted);
    line-height: 1.4;
}

.rp-checkout-form__loading::before {
    content: '';
    width: 1rem;
    height: 1rem;
    border: 2px solid var(--rp-border);
    border-top-color: var(--rp-teal);
    border-radius: 50%;
    animation: rp-checkout-spin 0.75s linear infinite;
    flex-shrink: 0;
}

@keyframes rp-checkout-spin {
    to {
        transform: rotate(360deg);
    }
}

.rp-checkout-form__loading--hidden {
    display: none;
}

.rp-checkout-form__retry-hint {
    margin: 0.5rem 0 0;
    padding: 0.6rem 0.85rem;
    font-size: var(--rp-text-sm, 0.8125rem);
    color: var(--rp-text-muted);
    line-height: 1.4;
}

.rp-checkout-form__retry-btn {
    display: inline;
    padding: 0;
    border: none;
    background: none;
    color: var(--rp-teal, #1fa896);
    font-size: inherit;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.rp-checkout-form__error {
    color: var(--rp-error);
    font-family: var(--rp-font-body, "Nunito", system-ui, sans-serif);
    font-size: var(--rp-text-sm, 0.8125rem);
    margin: 0 0 1rem;
}

.rp-checkout-form__error--hidden {
    display: none;
}

.rp-checkout-form__submit.rp-btn {
    margin-top: 0.35rem;
    font-size: 1rem;
    font-weight: var(--rp-font-semibold, 600);
    letter-spacing: 0.01em;
    border-radius: 12px;
    background: var(--rp-btn-primary, #1e4d7b);
    border-color: var(--rp-btn-primary, #1e4d7b);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(30, 77, 123, 0.22);
}

.rp-checkout-form__submit.rp-btn:hover:not(:disabled) {
    background: var(--rp-btn-primary-hover, #163a5c);
    border-color: var(--rp-btn-primary-hover, #163a5c);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(22, 58, 92, 0.28);
}

.rp-checkout-form__submit.rp-btn:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
    box-shadow: none;
}

body.rp-checkout-page .rp-checkout-form__submit.rp-btn--primary {
    background: var(--rp-btn-primary, #1e4d7b);
    border-color: var(--rp-btn-primary, #1e4d7b);
    color: #ffffff;
}

/* —— Order summary —— */

.rp-checkout-order {
    --rp-order-amount-size: 1rem;
    --rp-order-divider: 1px solid rgba(220, 225, 232, 0.95);
    --rp-order-gap: 0.95rem;
}

.rp-checkout-order__row,
.rp-checkout-order__discount-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    column-gap: 1rem;
    row-gap: 0.25rem;
}

.rp-checkout-order__row {
    margin: 0;
    padding: 0;
}

.rp-checkout-order__label {
    min-width: 0;
    font-family: var(--rp-font-display, "Ubuntu", system-ui, sans-serif);
    font-size: var(--rp-order-amount-size);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.35;
    color: var(--rp-navy);
}

.rp-checkout-order__label--product {
    font-weight: 700;
}

.rp-checkout-order__messaging-offer {
    margin: 1rem 0 0;
    padding: 0.85rem 0.9rem;
    border-radius: 10px;
    border: 1px solid rgba(42, 85, 137, 0.22);
    background:
        linear-gradient(135deg, rgba(42, 85, 137, 0.07) 0%, rgba(42, 85, 137, 0.02) 100%);
    box-shadow: 0 1px 2px rgba(30, 58, 95, 0.06);
}

.rp-checkout-order__messaging-offer.is-added {
    border-color: rgba(42, 85, 137, 0.35);
    background:
        linear-gradient(135deg, rgba(42, 85, 137, 0.1) 0%, rgba(42, 85, 137, 0.04) 100%);
}

.rp-checkout-order__messaging-offer-toggle {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    column-gap: 0.7rem;
    cursor: pointer;
    margin: 0;
}

.rp-checkout-order__messaging-offer-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.rp-checkout-order__messaging-offer-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 8px;
    background: rgba(42, 85, 137, 0.12);
    color: var(--rp-navy, #1e3a5f);
}

.rp-checkout-order__messaging-offer-icon svg {
    display: block;
}

.rp-checkout-order__messaging-offer.is-added .rp-checkout-order__messaging-offer-icon {
    background: rgba(42, 85, 137, 0.18);
}

.rp-checkout-order__messaging-offer-body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.rp-checkout-order__messaging-offer-title {
    font-family: var(--rp-font-display, "Ubuntu", system-ui, sans-serif);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.3;
    color: var(--rp-navy);
}

.rp-checkout-order__messaging-offer-hint {
    font-family: var(--rp-font-body, "Nunito", system-ui, sans-serif);
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1.4;
    color: var(--rp-text-muted, #5f6368);
}

.rp-checkout-order__messaging-offer-price {
    font-family: var(--rp-font-display, "Ubuntu", system-ui, sans-serif);
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    color: var(--rp-navy);
}

.rp-checkout-order__messaging-offer.is-added .rp-checkout-order__messaging-offer-price {
    visibility: hidden;
}

.rp-checkout-order__messaging-offer-action {
    font-family: var(--rp-font-body, "Nunito", system-ui, sans-serif);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--rp-accent, #2a5589);
    text-decoration: underline;
    text-underline-offset: 0.15em;
    white-space: nowrap;
}

.rp-checkout-order__messaging-offer-toggle:hover .rp-checkout-order__messaging-offer-action,
.rp-checkout-order__messaging-offer-toggle:focus-within .rp-checkout-order__messaging-offer-action {
    color: var(--rp-navy);
}

.rp-checkout-order__row--addon {
    margin-top: 0.35rem;
}

.rp-checkout-order__amount {
    margin: 0;
    padding: 0;
    font-family: var(--rp-font-display, "Ubuntu", system-ui, sans-serif);
    font-size: var(--rp-order-amount-size);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    line-height: 1.35;
    color: var(--rp-navy);
    text-align: right;
    white-space: nowrap;
}

.rp-checkout-order__amount--discount {
    color: var(--rp-teal-dim);
}

.rp-checkout-order__section,
.rp-checkout-order__row--total {
    margin-top: var(--rp-order-gap);
    padding-top: var(--rp-order-gap);
    border-top: var(--rp-order-divider);
}

.rp-checkout-order__coupon[hidden],
.rp-checkout-order__coupon--dormant {
    display: none !important;
}

.rp-checkout-order__coupon-toggle {
    display: inline-flex;
    align-items: center;
    min-height: var(--rp-touch-min, 44px);
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--rp-navy);
    font-family: var(--rp-font-body, "Nunito", system-ui, sans-serif);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.15em;
    cursor: pointer;
}

.rp-checkout-order__coupon-toggle:hover {
    color: var(--rp-btn-primary, #1e4d7b);
}

.rp-checkout-order__coupon-toggle:focus-visible {
    outline: 2px solid var(--rp-btn-primary, #1e4d7b);
    outline-offset: 3px;
    border-radius: 4px;
}

.rp-checkout-order__coupon-toggle[hidden],
.rp-checkout-order__coupon-toggle--hidden {
    display: none !important;
}

.rp-checkout-order__coupon-panel {
    margin-top: 0.35rem;
}

.rp-checkout-order__coupon-panel[hidden],
.rp-checkout-order__coupon-panel--collapsed {
    display: none !important;
}

.rp-checkout-order__coupon-label {
    display: block;
    margin: 0 0 0.4rem;
    font-family: var(--rp-font-body, "Nunito", system-ui, sans-serif);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--rp-navy);
}

.rp-checkout-order__coupon-row {
    display: flex;
    gap: 0.5rem;
}

.rp-checkout-order__coupon-row[hidden],
.rp-checkout-order__coupon-row--hidden {
    display: none !important;
}

.rp-checkout-order__coupon-input {
    flex: 1 1 auto;
    min-width: 0;
    min-height: var(--rp-touch-min, 44px);
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--rp-border);
    border-radius: 8px;
    font-family: var(--rp-font-body, "Nunito", system-ui, sans-serif);
    font-size: 0.875rem;
    color: var(--rp-navy);
    background: var(--rp-surface);
}

.rp-checkout-order__coupon-input:focus {
    outline: none;
    border-color: var(--rp-btn-primary, #1e4d7b);
    box-shadow: 0 0 0 3px rgba(30, 77, 123, 0.22);
}

.rp-checkout-order__coupon-btn {
    flex: 0 0 auto;
    min-height: var(--rp-touch-min, 44px);
    padding: 0.55rem 0.9rem;
    border: 1px solid var(--rp-btn-primary, #1e4d7b);
    border-radius: 8px;
    background: var(--rp-btn-primary, #1e4d7b);
    color: #fff;
    font-family: var(--rp-font-display, "Ubuntu", system-ui, sans-serif);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
}

.rp-checkout-order__coupon-btn:hover:not(:disabled) {
    background: var(--rp-btn-primary-hover, #163a5c);
    border-color: var(--rp-btn-primary-hover, #163a5c);
}

.rp-checkout-order__coupon-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

.rp-checkout-order__coupon-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(26, 115, 232, 0.28);
    background: var(--rp-active-bg);
}

.rp-checkout-order__coupon-chip[hidden],
.rp-checkout-order__coupon-chip--hidden {
    display: none !important;
}

.rp-checkout-order__coupon-chip-code {
    min-width: 0;
    font-family: var(--rp-font-display, "Ubuntu", system-ui, sans-serif);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--rp-navy);
    word-break: break-all;
}

.rp-checkout-order__coupon-chip-remove {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--rp-touch-min, 44px);
    height: var(--rp-touch-min, 44px);
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--rp-navy);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.rp-checkout-order__coupon-chip-remove:hover {
    background: rgba(15, 23, 42, 0.08);
    color: #8a2424;
}

.rp-checkout-order__coupon-chip-remove:focus-visible {
    outline: 2px solid var(--rp-teal-dim, #2A5589);
    outline-offset: 2px;
}

.rp-checkout-order__coupon-msg {
    margin: 0.55rem 0 0;
}

.rp-checkout-order__coupon-msg--hidden {
    display: none !important;
}

.rp-checkout-order__discount[hidden],
.rp-checkout-order__discount--hidden {
    display: none !important;
}

.rp-checkout-order__discount-box {
    margin-inline: -0.75rem;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    background: var(--rp-active-bg);
    border: 1px solid rgba(26, 115, 232, 0.28);
}

.rp-checkout-order__discount-label {
    min-width: 0;
    font-family: var(--rp-font-body, "Nunito", system-ui, sans-serif);
    font-size: var(--rp-order-amount-size);
    font-weight: 500;
    line-height: 1.35;
    color: var(--rp-navy);
}

.rp-checkout-order__row--total .rp-checkout-order__label,
.rp-checkout-order__row--total .rp-checkout-order__amount {
    font-weight: 700;
}

.rp-checkout-order__value-line {
    margin: 0.75rem 0 0;
    padding-top: 0.65rem;
    border-top: 1px dashed rgba(148, 163, 184, 0.55);
    font-family: var(--rp-font-body, "Nunito", system-ui, sans-serif);
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.4;
    color: #475569;
}

.rp-checkout-order__tax-line,
.rp-checkout-order__renew-note,
.rp-checkout-order__vat-footnote {
    margin: 0.45rem 0 0;
    font-family: var(--rp-font-body, "Nunito", system-ui, sans-serif);
    font-size: 0.8125rem;
    line-height: 1.4;
    color: var(--rp-text-muted, #64748b);
}

.rp-checkout-order__tax-line--hidden,
.rp-checkout-order__renew-note--hidden {
    display: none !important;
}

.rp-checkout-order__renew-note {
    color: var(--rp-navy, #0f172a);
}

.rp-checkout-secured {
    margin: 0;
    font-size: 0.8rem;
    color: var(--rp-text-muted);
}

/* Money-back under payment form — soft, low-contrast (not a navy seal). */
body.rp-checkout-page .rp-checkout-guarantee {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 1.25rem 0 0;
    padding: 0.95rem 1.1rem;
    border-radius: var(--rp-radius-lg, 16px);
    background: #f8fafc;
    border: 1px solid rgba(220, 225, 232, 0.95);
    box-shadow: none;
}

body.rp-checkout-page .rp-checkout-guarantee--text {
    gap: 0;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 1.25rem;
}

body.rp-checkout-page .rp-checkout-guarantee--text .rp-checkout-guarantee__copy {
    max-width: 28rem;
}

body.rp-checkout-page .rp-checkout-guarantee .rp-pricing-page__guarantee-badge,
body.rp-checkout-page .rp-checkout-guarantee__badge {
    flex: 0 0 auto;
}

body.rp-checkout-page .rp-checkout-guarantee .rp-pricing-page__guarantee-badge-ring,
body.rp-checkout-page .rp-checkout-guarantee__ring {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 5.25rem;
    height: 5.25rem;
    padding: 0.4rem;
    border-radius: 50%;
    /* Beat theme .rp-pricing-page__guarantee-badge-ring (navy seal + glow). */
    background: rgba(42, 85, 137, 0.08) !important;
    color: var(--rp-navy) !important;
    text-align: center;
    box-shadow: inset 0 0 0 1px rgba(42, 85, 137, 0.18) !important;
}

body.rp-checkout-page .rp-checkout-guarantee .rp-pricing-page__guarantee-badge-top,
body.rp-checkout-page .rp-checkout-guarantee .rp-pricing-page__guarantee-badge-bottom,
body.rp-checkout-page .rp-checkout-guarantee__top,
body.rp-checkout-page .rp-checkout-guarantee__bottom {
    display: block;
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.15;
    color: var(--rp-text-muted, #5f6368);
}

body.rp-checkout-page .rp-checkout-guarantee .rp-pricing-page__guarantee-badge-days,
body.rp-checkout-page .rp-checkout-guarantee__days {
    display: block;
    margin: 0.1rem 0;
    font-family: var(--rp-font-display, "Ubuntu", system-ui, sans-serif);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.05;
    color: var(--rp-navy);
}

body.rp-checkout-page .rp-checkout-guarantee__copy {
    min-width: 0;
    flex: 1 1 auto;
}

body.rp-checkout-page .rp-checkout-guarantee__title {
    margin: 0 0 0.25rem;
    font-family: var(--rp-font-display, "Ubuntu", system-ui, sans-serif);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.25;
    color: var(--rp-navy);
}

body.rp-checkout-page .rp-checkout-guarantee__text {
    margin: 0;
    font-family: var(--rp-font-body, "Nunito", system-ui, sans-serif);
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.45;
    color: var(--rp-text-muted);
}

/* —— Trust line (under CTA) —— */

/* Matches .rp-pricing-home__trust-line on the marketing site. */
.rp-checkout-trustline {
    display: block;
    max-width: 36rem;
    margin: 1.15rem auto 0;
    padding: 0;
    text-align: center;
    font-family: var(--rp-font-body, "Nunito", system-ui, sans-serif);
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0;
    text-transform: none;
    color: var(--rp-text-muted);
}

.rp-checkout-trustline__sep {
    margin: 0 0.35em;
    color: var(--rp-text-muted);
    font-weight: 400;
}

/* 5 stars + Trusted by Clients Worldwide — under submit */
.rp-checkout-trust-stars {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.45rem 0.65rem;
    margin: 0.85rem 0 0;
    padding: 0;
    font-family: var(--rp-font-body, "Nunito", system-ui, sans-serif);
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.4;
    color: var(--rp-text-muted, #475569);
}

.rp-checkout-trust-stars__icons {
    color: #c47a0a;
    font-size: 1rem;
    line-height: 1;
    letter-spacing: 0.12em;
}

.rp-checkout-trust-stars__icons span {
    display: inline-block;
}

.rp-checkout-trust-stars__label {
    color: var(--rp-text-muted, #475569);
}

.rp-checkout-form__legal,
.rp-checkout-form__legal--checkout {
    display: block;
    margin: 0.55rem auto 0;
    max-width: 36rem;
    padding: 0;
    border: none;
    text-align: center;
    font-family: var(--rp-font-body, "Nunito", system-ui, sans-serif) !important;
    font-size: 0.78rem;
    font-weight: 400;
    font-style: normal;
    line-height: 1.55;
    letter-spacing: 0;
    color: var(--rp-text-muted);
}

.rp-checkout-form__legal--checkout {
    margin-top: 1rem;
    padding-top: 0.95rem;
    border-top: 1px solid var(--rp-border);
}

.rp-checkout-form__legal + .rp-checkout-form__legal {
    margin-top: 0.35rem;
}

.rp-checkout-form__legal a {
    color: var(--rp-navy);
    font-family: inherit;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color var(--rp-transition), color var(--rp-transition);
}

.rp-checkout-form__legal a:hover {
    color: var(--rp-teal-dim);
    border-bottom-color: rgba(26, 115, 232, 0.45);
}

.rp-checkout-form__field--card-name {
    margin-bottom: 1rem;
}

/* —— Responsive —— */

@media (max-width: 860px) {
    .rp-checkout-grid {
        grid-template-columns: 1fr;
    }

    .rp-checkout-grid__form {
        order: 2;
    }

    .rp-checkout-grid__summary {
        order: 1;
    }

    .rp-checkout-form__row {
        grid-template-columns: 1fr;
    }

    .rp-checkout-shell {
        padding-top: 1.15rem;
        padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
    }

    .rp-checkout-form__submit.rp-btn {
        width: 100%;
        min-height: var(--rp-touch-min, 44px);
        position: sticky;
        bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
        z-index: 2;
    }

    .rp-checkout-card-panel__head {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    body.rp-checkout-page.rp-marketing-light .rp-site-nav__row {
        gap: 0.5rem;
    }

    body.rp-checkout-page .rp-site-nav__brand {
        min-width: 0;
        flex: 1 1 auto;
        font-size: 1rem;
    }

    body.rp-checkout-page .rp-site-nav__brand span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.rp-checkout-page .rp-site-nav__actions {
        gap: 0.35rem;
        flex-shrink: 0;
    }

    body.rp-checkout-page .rp-site-nav__cta--get {
        display: none;
    }

    body.rp-checkout-page .rp-site-nav__account,
    body.rp-checkout-page .rp-site-nav__login {
        min-height: 2.25rem;
        padding: 0.35rem 0.65rem;
        font-size: 0.75rem;
    }

    body.rp-checkout-page .rp-lang-switcher__trigger {
        min-height: 2.15rem;
        font-size: 0.72rem;
    }

    .rp-checkout-grid {
        gap: 1rem;
    }

    .rp-checkout-grid__form,
    .rp-checkout-order {
        padding: 1.15rem;
        border-radius: 14px;
    }

    .rp-checkout-section__title,
    .rp-checkout-order__title {
        font-size: 1.05rem;
    }

    .rp-checkout-form__field label {
        font-size: 0.8rem;
    }

    .rp-checkout-form__input {
        min-height: 44px;
        font-size: 16px;
    }

    .rp-checkout-order__line--total {
        font-size: 1.05rem;
    }

    .rp-checkout-trustline {
        font-size: 0.85rem;
        max-width: 100%;
    }

    .rp-checkout-form__legal,
    .rp-checkout-form__legal--checkout {
        font-size: 0.78rem;
        line-height: 1.55;
    }

    body.rp-checkout-page .rp-checkout-guarantee {
        margin: 1rem 0 0;
        padding: 0.85rem 1rem;
        gap: 0.75rem;
    }

    body.rp-checkout-page .rp-checkout-guarantee--text {
        padding: 0.9rem 1rem;
    }

    body.rp-checkout-page .rp-checkout-guarantee .rp-pricing-page__guarantee-badge-ring,
    body.rp-checkout-page .rp-checkout-guarantee__ring {
        width: 4.5rem;
        height: 4.5rem;
        box-shadow: inset 0 0 0 1px rgba(42, 85, 137, 0.16);
    }

    body.rp-checkout-page .rp-checkout-guarantee .rp-pricing-page__guarantee-badge-top,
    body.rp-checkout-page .rp-checkout-guarantee .rp-pricing-page__guarantee-badge-bottom,
    body.rp-checkout-page .rp-checkout-guarantee__top,
    body.rp-checkout-page .rp-checkout-guarantee__bottom {
        font-size: 0.42rem;
    }

    body.rp-checkout-page .rp-checkout-guarantee .rp-pricing-page__guarantee-badge-days,
    body.rp-checkout-page .rp-checkout-guarantee__days {
        font-size: 0.85rem;
    }

    body.rp-checkout-page .rp-checkout-guarantee__title {
        font-size: 0.88rem;
    }

    body.rp-checkout-page .rp-checkout-guarantee__text {
        font-size: 0.78rem;
    }
}

@media (min-width: 861px) and (max-width: 1100px) {
}

.rp-checkout-form__check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0.75rem 0 0;
    font-family: var(--rp-font-body, "Nunito", system-ui, sans-serif);
    font-size: 0.9375rem;
    line-height: 1.45;
    cursor: pointer;
}

.rp-checkout-form__check[hidden] {
    display: none !important;
}

.rp-checkout-form__check input[type="checkbox"] {
    width: 1.2rem;
    height: 1.2rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
    accent-color: var(--rp-accent, #2a5589);
}
