/* Interactive checkout components — marketing-site-v2 visual language. */

#brxe-56cb66,
#brxe-247cb1 {
    display: none;
}

/* Account selection. */
.challenge-selector {
    position: relative;
}

.osp-selected-product {
    margin-bottom: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.osp-selected-product-name {
    color: var(--osp-text-primary);
    font-family: var(--osp-font-heading);
    font-size: 20px;
    font-stretch: 112.5%;
    font-weight: 600;
    letter-spacing: normal;
    line-height: 1.25;
}

.osp-edit-product-btn {
    min-height: 38px;
    padding: 8px 15px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--osp-border);
    border-radius: var(--osp-radius-full);
    background: var(--osp-state-hover);
    color: var(--osp-text-primary);
    font-family: var(--osp-font-sans);
    font-size: 13px;
    font-weight: 650;
    line-height: 1;
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease;
}

.osp-edit-product-btn:hover {
    border-color: var(--osp-border-strong);
    background: var(--osp-state-selected);
    color: var(--osp-text-primary);
}

.osp-edit-product-btn:active {
    background: var(--osp-state-pressed);
}

.osp-edit-product-btn:focus-visible {
    outline: 2px solid var(--osp-focus-ring);
    outline-offset: 3px;
}

.osp-edit-product-btn svg {
    flex-shrink: 0;
}

.challenge-selector.editing .osp-edit-product-btn {
    display: none;
}

.challenge-selector .step-sections {
    position: relative;
    display: none;
}

.challenge-selector .step-sections.expanded {
    display: block;
}

.challenge-selector .account-size-selector {
    grid-column: auto;
}

.account-type-selector,
.challenge-step-selector {
    margin-bottom: 18px;
}

.account-size-selector {
    margin-bottom: 0;
}

.challenge-step-selector,
.account-type-selector {
    min-width: 0;
}

.challenge-step-selector .radio-group,
.account-type-selector .radio-group {
    display: flex;
}

.challenge-step-selector .radio-group {
    width: min(100%, 340px);
}

.account-type-selector .radio-group {
    width: min(100%, 228px);
}

.challenge-step-selector .radio-label,
.account-type-selector .radio-label {
    min-width: 0;
    flex: 1 1 0;
}

.account-size-selector .radio-group {
    width: fit-content;
}

.account-size-selector .radio-label {
    min-width: 90px;
    flex: 0 0 90px;
}

.addons-title {
    margin: 0 0 13px;
    color: var(--osp-text-primary);
    font-family: var(--osp-font-heading);
    font-size: 17px;
    font-stretch: 112.5%;
    font-weight: 600;
    line-height: 1.25;
}

.challenge-selector h4 {
    margin: 0 0 9px;
    color: color-mix(in srgb, var(--osp-text-secondary) 65%, var(--osp-text-muted));
    font-family: var(--osp-font-sans);
    font-size: 14px;
    font-weight: 550;
    line-height: 1.3;
}

.addons-title {
    margin-top: 4px;
    padding: 28px 0 4px;
    border-top: 1px solid var(--osp-divider);
}

.radio-group {
    width: fit-content;
    max-width: 100%;
    padding: 4px;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    border: 0;
    border-radius: var(--osp-radius-full);
    background: var(--osp-surface-floating);
}

.radio-label {
    min-height: 44px;
    min-width: fit-content;
    margin: 0;
    padding: 12px 16px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    overflow: visible;
    border: 0;
    border-radius: var(--osp-radius-full);
    background: transparent;
    color: var(--osp-text-secondary);
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 650;
    line-height: 1;
    transition:
        background-color 160ms ease,
        color 160ms ease,
        opacity 160ms ease;
}

.radio-label:hover {
    background: var(--osp-state-hover);
    color: var(--osp-text-secondary);
}

.radio-label:active {
    background: var(--osp-state-pressed);
}

.radio-label.selected {
    background: var(--osp-action);
    color: var(--osp-on-action);
}

.radio-label.selected:hover {
    background: var(--osp-action-hover);
}

.radio-label.selected:active {
    background: var(--osp-action-pressed);
}

.radio-label:has(input:focus-visible) {
    outline: 2px solid var(--osp-focus-ring);
    outline-offset: 3px;
}

.radio-label input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.radio-text {
    color: inherit;
    font-size: 14px;
    font-weight: 650;
    line-height: 1;
}

.popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border: 1px solid var(--osp-border-strong);
    border-radius: var(--osp-radius-full);
    background: var(--osp-action);
    color: var(--osp-on-action);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.04em;
    line-height: 1;
    pointer-events: none;
    transform: translate(-50%, -50%);
    text-transform: uppercase;
    white-space: nowrap;
}

/* Native checkout/update overlays. */
.selector-overlay,
.coupon-overlay {
    position: absolute;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--osp-radius-card);
    background: transparent;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.selector-overlay.is-active,
.coupon-overlay.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.challenge-selector .step-sections > :not(.selector-overlay) {
    opacity: 1;
}

.challenge-selector .step-sections:has(.selector-overlay.is-active) > :not(.selector-overlay) {
    opacity: 0.5;
}

.osp-3sc-coupon-section > :not(.coupon-overlay) {
    opacity: 1;
}

.osp-3sc-coupon-section:has(.coupon-overlay.is-active) > :not(.coupon-overlay) {
    opacity: 0.5;
}

.selector-spinner,
.coupon-spinner {
    width: 30px;
    height: 30px;
    border: 2px solid transparent;
    border-top-color: var(--osp-text-primary);
    border-radius: var(--osp-radius-full);
    animation: osp-selector-spin 800ms linear infinite;
}

@keyframes osp-selector-spin {
    to { transform: rotate(360deg); }
}

body.osp-place-order-processing .woocommerce .blockUI.blockOverlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 10000 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: var(--osp-scrim) !important;
}

body.osp-place-order-processing .woocommerce .blockUI.blockOverlay::before {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 38px !important;
    height: 38px !important;
    margin: -52px 0 0 -19px !important;
    display: block !important;
    border: 3px solid transparent !important;
    border-top-color: var(--osp-text-primary) !important;
    border-radius: var(--osp-radius-full) !important;
    background: transparent !important;
    animation: osp-selector-spin 800ms linear infinite !important;
}

body.osp-place-order-processing .woocommerce .blockUI.blockOverlay::after {
    content: "Your order is being processed..." !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: min(90vw, 360px) !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translate(-50%, 18px) !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--osp-text-primary) !important;
    font-family: var(--osp-font-sans) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    text-align: center !important;
    box-shadow: none !important;
}

/* VIP renewal flow visibility remains controlled by the existing checkout logic. */
body.has-vip-product .osp-3sc-one-time-fee,
body.has-vip-product .cart-subtotal,
body.has-vip-product .recurring-totals,
body.has-vip-product tr.cart-subtotal,
body.has-vip-product tr.recurring-totals,
body.has-vip-product .woocommerce-checkout-review-order-table .cart-subtotal,
body.has-vip-product .woocommerce-checkout-review-order-table .recurring-totals {
    display: none !important;
}

body.has-vip-product .osp-3sc-sidebar {
    display: none;
}

body.has-vip-product .osp-3sc-sidebar.osp-vip-sidebar-visible {
    display: flex;
}

body.has-vip-product .osp-3sc-main-content:only-child {
    max-width: 100%;
}

/* Checkout Add-ons plugin markup. */
#wc_checkout_add_ons .form-row {
    margin: 0 0 12px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: var(--osp-radius-control);
    background: var(--osp-surface-floating);
    transition: background-color 160ms ease;
}

#wc_checkout_add_ons .form-row:hover {
    background: var(--osp-option-selected-background);
}

#wc_checkout_add_ons .form-row:has(input[type="checkbox"]:checked) {
    background: var(--osp-option-selected-background);
}

#wc_checkout_add_ons .form-row:has(input[type="checkbox"]:checked):hover {
    background: var(--osp-option-selected-background);
}

#wc_checkout_add_ons .checkbox,
#wc_checkout_add_ons .form-row label.checkbox {
    width: 100%;
    margin: 0;
    padding: 14px 16px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    border-radius: inherit;
    color: var(--osp-text-secondary);
    font-size: 14px;
    font-weight: 550;
    line-height: 1.45;
    cursor: pointer;
}

#wc_checkout_add_ons .woocommerce-input-wrapper {
    margin-right: 11px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
}

#wc_checkout_add_ons input[type="checkbox"] {
    width: 22px;
    height: 22px;
    min-width: 22px;
    margin: 0;
    padding: 0 !important;
    position: relative;
    display: block;
    flex: 0 0 22px;
    box-sizing: border-box;
    -webkit-appearance: none !important;
    appearance: none !important;
    border: 1px solid var(--osp-glass-border);
    border-radius: 6px;
    background-color: var(--osp-surface);
    background-image: none !important;
    box-shadow: none;
    cursor: pointer;
    vertical-align: middle;
    transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

/* Clear native/theme-generated marks before drawing the checkout mark. */
#wc_checkout_add_ons input[type="checkbox"]::before,
#wc_checkout_add_ons input[type="checkbox"]::after {
    display: none;
    content: none;
}

#wc_checkout_add_ons input[type="checkbox"]:not(:checked):hover {
    border-color: var(--osp-border-hover);
    background-color: var(--osp-surface-floating);
}

#wc_checkout_add_ons input[type="checkbox"]:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--osp-focus-ring) 18%, transparent);
}

#wc_checkout_add_ons input[type="checkbox"]:checked {
    border-color: var(--osp-action);
    background-color: var(--osp-action);
}

#wc_checkout_add_ons input[type="checkbox"]:checked::after {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 10px;
    box-sizing: border-box;
    border: solid var(--osp-on-action);
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -58%) rotate(45deg);
}

#wc_checkout_add_ons .addon-content {
    min-width: 0;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

#wc_checkout_add_ons .addon-name-group {
    min-width: 0;
    display: flex;
    align-items: center;
}

#wc_checkout_add_ons .addon-title {
    margin-right: 5px;
}

#wc_checkout_add_ons .addon-price {
    margin-left: auto;
    padding-left: 10px;
    flex: 0 0 auto;
    color: var(--osp-text-primary);
    font-weight: 650;
    white-space: nowrap;
}

.addon-new-badge,
.addon-popular-badge {
    margin-left: 7px;
    min-height: 18px;
    padding: 4px 8px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    border: 0;
    border-radius: var(--osp-radius-full);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.05em;
    line-height: 1;
    text-transform: uppercase;
    vertical-align: middle;
}

.addon-new-badge {
    background: var(--osp-action);
    color: var(--osp-on-action);
}

.addon-popular-badge {
    background: var(--osp-fire);
    color: var(--osp-on-fire);
}

.addon-info-icon {
    margin-left: 5px;
    position: relative;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--osp-text-muted);
    cursor: pointer;
}

.addon-info-icon:focus-visible {
    outline: 2px solid var(--osp-focus-ring);
    outline-offset: 3px;
    border-radius: var(--osp-radius-full);
}

.addon-info-icon svg {
    width: 18px;
    height: 18px;
}

.addon-tooltip-text {
    visibility: hidden;
    width: 260px;
    padding: 12px;
    position: absolute;
    bottom: 160%;
    left: 50%;
    z-index: 1000;
    transform: translateX(-50%);
    border: 1px solid var(--osp-border);
    border-radius: var(--osp-radius-card);
    background: var(--osp-surface-floating);
    color: var(--osp-text-primary);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    white-space: normal;
    opacity: 0;
    pointer-events: none;
    box-shadow: var(--osp-shadow-raised);
    transition: opacity 160ms ease, visibility 160ms ease;
}

.addon-info-icon.is-open .addon-tooltip-text,
.addon-tooltip-text.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.addon-tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border: 6px solid transparent;
    border-top-color: var(--osp-surface-floating);
}

@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
    .addon-info-icon:hover .addon-tooltip-text,
    .addon-info-icon:focus-visible .addon-tooltip-text {
        visibility: visible;
        opacity: 1;
    }
}

/* On touch screens, present the description as a small viewport popover.
 * This avoids clipping inside the checkout add-on label or surrounding cards. */
@media (max-width: 767px), (hover: none), (pointer: coarse) {
    .addon-info-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
        margin: -8px -6px -8px 0;
        position: static;
    }

    .addon-tooltip-text {
        right: 16px;
        bottom: max(16px, env(safe-area-inset-bottom));
        left: 16px;
        width: auto;
        max-width: 420px;
        max-height: min(50vh, 320px);
        margin: 0 auto;
        padding: 16px 18px;
        position: fixed;
        overflow-y: auto;
        transform: translateY(12px);
        z-index: 100000;
        border-color: var(--osp-border-hover);
        text-align: left;
        box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
        transition: opacity 160ms ease, visibility 160ms ease, transform 160ms ease;
    }

    .addon-info-icon.is-open .addon-tooltip-text,
    .addon-tooltip-text.is-open {
        transform: translateY(0);
    }

    .addon-tooltip-text::after {
        display: none;
    }
}

#wc_checkout_add_ons span.description {
    display: none !important;
}

/* VIP login content and shared modal. */
.osp-3sc-logged-in-message {
    margin: 15px 0;
    padding: 20px;
    border: 1px solid color-mix(in srgb, var(--osp-accent) 35%, var(--osp-border));
    border-radius: var(--osp-radius-card);
    background: var(--osp-success-surface);
    color: var(--osp-text-secondary);
    text-align: center;
}

.osp-3sc-logged-in-message p {
    margin: 0 0 10px;
    color: inherit;
    line-height: 1.55;
}

.osp-3sc-logged-in-message p:last-child {
    margin-bottom: 0;
}

.osp-3sc-logged-in-message strong {
    color: var(--osp-accent);
}

.osp-3sc-logged-in-icon {
    margin-bottom: 14px;
    display: inline-block;
}

.osp-3sc-login-section {
    margin: 20px 0;
    text-align: center;
}

.osp-3sc-vip-actions {
    max-width: 400px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.osp-3sc-first-time-text {
    margin: 20px 0 0;
    color: var(--osp-text-primary);
    font-size: 17px;
    font-weight: 550;
    line-height: 1.45;
}

.osp-3sc-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--osp-scrim);
}

.osp-3sc-popup-content {
    width: min(100%, 500px);
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid var(--osp-border);
    border-radius: var(--osp-radius-panel);
    background: var(--osp-surface-raised);
    box-shadow: var(--osp-shadow-dialog);
}

.osp-3sc-popup-header {
    min-height: 72px;
    padding: 20px 28px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--osp-divider);
}

.osp-3sc-popup-header h3 {
    margin: 0;
    flex: 1;
    color: var(--osp-text-primary);
    font-family: var(--osp-font-heading);
    font-size: 22px;
    font-stretch: 112.5%;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
}

.osp-3sc-popup-close {
    width: 36px;
    height: 36px;
    padding: 0;
    position: absolute;
    top: 50%;
    right: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    border: 1px solid var(--osp-border);
    border-radius: var(--osp-radius-full);
    background: var(--osp-state-hover);
    color: var(--osp-text-secondary);
    font-size: 20px;
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease;
}

.osp-3sc-popup-close:hover {
    background: var(--osp-state-selected);
    color: var(--osp-text-primary);
}

.osp-3sc-popup-close:focus-visible {
    outline: 2px solid var(--osp-focus-ring);
    outline-offset: 2px;
}

.osp-3sc-popup-body {
    padding: 28px;
}

/* Invalid-cart fallback. */
.osp-checkout-error-wrapper {
    max-width: 620px;
    margin-inline: auto;
    padding: 64px 28px;
    text-align: center;
}

.osp-checkout-error-wrapper p {
    margin: 0 0 30px;
    color: var(--osp-text-secondary);
    font-size: 18px;
    line-height: 1.65;
}

.osp-checkout-error-wrapper .button {
    min-height: 52px;
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: var(--osp-radius-full);
    background: var(--osp-action);
    color: var(--osp-on-action);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 160ms ease;
}

.osp-checkout-error-wrapper .button:hover {
    background: var(--osp-action-hover);
    color: var(--osp-on-action);
}

/* Special-offer card; the pricing table can place it beside the welcome card. */
.osp-special-offer-banner {
    width: min(calc(100% - clamp(32px, 5vw, 64px)), 1116px);
    margin: 32px auto 0;
    overflow: hidden;
    border: 1px solid var(--osp-glass-divider);
    border-radius: var(--osp-radius-panel);
    background: var(--osp-surface);
}

.osp-banner-content {
    padding: clamp(24px, 3vw, 36px);
    text-align: center;
}

.osp-offer-badge {
    min-height: 34px;
    margin-bottom: 10px;
    padding: 8px 14px;
    display: inline-flex;
    align-items: center;
    border: 1px solid color-mix(in srgb, var(--osp-action) 38%, var(--osp-border));
    border-radius: var(--osp-radius-full);
    background: linear-gradient(
        100deg,
        color-mix(in srgb, var(--osp-surface-raised) 92%, var(--osp-action)),
        color-mix(in srgb, var(--osp-action) 38%, var(--osp-page))
    );
    color: var(--osp-accent-eyebrow-text);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.055em;
    line-height: 1;
    text-transform: uppercase;
}

.osp-special-offer-banner .osp-banner-title {
    margin: 0 0 9px;
    color: var(--osp-text-primary);
    font-family: var(--osp-font-heading);
    font-size: 22px;
    font-stretch: 112.5%;
    font-weight: 600;
    letter-spacing: normal;
    line-height: 1.25;
}

.osp-banner-description {
    margin: 0;
    color: var(--osp-text-secondary);
    font-size: 15px;
    line-height: 1.5;
}

.highlight-free,
.highlight-account {
    color: var(--osp-text-primary);
    font-weight: 700;
}

/* Policy modal variant. */
.osp-3sc-popup-overlay--policy .osp-3sc-popup-content {
    width: min(100%, 680px);
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.osp-3sc-popup-overlay--policy .osp-3sc-popup-header {
    min-height: 62px;
    padding: 16px 22px;
    flex-shrink: 0;
}

.osp-3sc-popup-overlay--policy .osp-3sc-popup-header h3 {
    font-size: 18px;
    text-align: left;
}

.osp-3sc-popup-overlay--policy .osp-3sc-popup-close {
    position: static;
    transform: none;
}

.osp-3sc-popup-overlay--policy .osp-3sc-popup-body {
    padding: 24px;
    overflow-y: auto;
    color: var(--osp-text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

.osp-3sc-popup-overlay--policy .osp-3sc-popup-body h1,
.osp-3sc-popup-overlay--policy .osp-3sc-popup-body h2,
.osp-3sc-popup-overlay--policy .osp-3sc-popup-body h3,
.osp-3sc-popup-overlay--policy .osp-3sc-popup-body h4 {
    margin: 20px 0 10px;
    color: var(--osp-text-primary);
}

.osp-3sc-popup-overlay--policy .osp-3sc-popup-body :is(h1, h2):first-child {
    margin-top: 0;
}

.osp-3sc-popup-overlay--policy .osp-3sc-popup-body p,
.osp-3sc-popup-overlay--policy .osp-3sc-popup-body ul,
.osp-3sc-popup-overlay--policy .osp-3sc-popup-body ol {
    margin: 0 0 12px;
}

.osp-3sc-popup-overlay--policy .osp-3sc-popup-body ul,
.osp-3sc-popup-overlay--policy .osp-3sc-popup-body ol {
    padding-left: 20px;
}

.osp-3sc-popup-overlay--policy .osp-3sc-popup-body a {
    color: var(--osp-decorative-blue);
}

/* Reset summary card. */
.osp-3sc-reset-summary-card {
    margin-bottom: 24px;
    padding: 22px;
    border: 1px solid var(--osp-border);
    border-radius: var(--osp-radius-card);
    background: var(--osp-page);
    box-shadow: var(--osp-shadow-inset-highlight);
}

.osp-3sc-reset-summary-card--standalone {
    margin: 0;
    grid-column: 1;
    padding: clamp(22px, 3vw, 30px);
    border: 0;
    border-radius: var(--osp-radius-panel);
    background: var(--osp-surface);
    box-shadow: none;
}

.osp-3sc-reset-section {
    margin-bottom: 18px;
}

.osp-3sc-reset-section:last-of-type {
    margin-bottom: 18px;
}

.osp-3sc-reset-section-label {
    margin-bottom: 8px;
    display: block;
    color: var(--osp-text-muted);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.09em;
    line-height: 1;
    text-transform: uppercase;
}

.osp-3sc-reset-account-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.osp-3sc-reset-account-name {
    color: var(--osp-text-primary);
    font-size: 18px;
    font-weight: 650;
    line-height: 1.4;
}

.osp-3sc-reset-phase-badge {
    padding: 4px 9px;
    display: inline-flex;
    align-items: center;
    border: 0;
    border-radius: var(--osp-radius-full);
    background: var(--osp-action);
    color: var(--osp-on-action);
    font-size: 11px;
    font-weight: 650;
    line-height: 1;
    white-space: nowrap;
}

.osp-3sc-reset-addons-section {
    padding-top: 18px;
    border-top: 1px solid var(--osp-divider);
}

.osp-3sc-reset-addons-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.osp-3sc-reset-addon-tag {
    padding: 5px 10px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--osp-border);
    border-radius: var(--osp-radius-full);
    background: var(--osp-surface-raised);
    color: var(--osp-text-secondary);
    font-size: 12px;
    font-weight: 550;
    line-height: 1.2;
    white-space: nowrap;
}

.osp-3sc-reset-info-list {
    padding-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.osp-3sc-reset-info-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.osp-3sc-reset-info-icon {
    margin-top: 1px;
    flex-shrink: 0;
    color: var(--osp-accent);
}

.osp-3sc-reset-info-icon svg {
    display: block;
    width: 18px;
    height: 18px;
}

.osp-3sc-reset-info-text {
    color: var(--osp-text-secondary);
    font-size: 13px;
    line-height: 1.5;
}

.osp-3sc-reset-info-text strong {
    color: var(--osp-text-primary);
}

.pro-included-addons-box {
    margin: 4px 0 15px;
    position: relative;
}

.pro-included-addons-box::before {
    content: "";
    position: absolute;
    top: 9px;
    right: -4px;
    left: -4px;
    height: 28px;
    border: 0;
    border-top: 1px solid var(--osp-glass-divider);
    border-radius: var(--osp-radius-panel) var(--osp-radius-panel) 0 0;
    pointer-events: none;
}

.pro-included-addons-heading {
    margin: 0 0 10px;
    padding: 0 8px;
    position: relative;
    z-index: 1;
    width: fit-content;
    margin-inline: auto;
    background: var(--osp-surface);
    color: var(--osp-text-muted);
    font-size: 14px;
    font-weight: 550;
    line-height: 1.4;
    text-align: center;
}

.pro-included-addons-list {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pro-included-addon-row {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 11px;
    border-radius: var(--osp-radius-control);
    background: var(--osp-option-selected-background);
}

.pro-included-addon-check {
    width: 22px;
    height: 22px;
    position: relative;
    flex: 0 0 22px;
    box-sizing: border-box;
    border: 1px solid var(--osp-action);
    border-radius: 6px;
    background-color: var(--osp-action);
}

.pro-included-addon-check::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 10px;
    box-sizing: border-box;
    border: solid var(--osp-on-action);
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -58%) rotate(45deg);
}

.pro-included-addon-content {
    min-width: 0;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pro-included-addon-title {
    min-width: 0;
    color: var(--osp-text-secondary);
    font-size: 14px;
    font-weight: 550;
    line-height: 1.45;
}

.pro-included-addon-price {
    margin-left: auto;
    flex: 0 0 auto;
    color: var(--osp-decorative-blue);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    white-space: nowrap;
}

/* Seasonal add-on callout. */
.bf-addon-offer {
    margin: 0 0 15px;
    padding: 12px 22px;
    border: 0;
    border-radius: var(--osp-radius-control);
    background: var(--osp-blue-subtle);
}

.bf-addon-offer-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bf-addon-offer-image {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    object-fit: contain;
}

.bf-addon-offer-message {
    color: var(--osp-decorative-blue);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.45;
}

/* Discount expiry timer. */
.osp-countdown-timer {
    margin: 0 0 24px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 24px;
    border: 1px solid var(--osp-border);
    border-radius: var(--osp-radius-panel);
    background: var(--osp-surface);
    box-shadow: var(--osp-shadow-inset-highlight);
    font-family: var(--osp-font-sans);
}

.osp-countdown-header,
.osp-countdown-display,
.osp-time-unit {
    display: flex;
    align-items: center;
}

.osp-countdown-header {
    gap: 9px;
}

.osp-countdown-icon {
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    color: var(--osp-decorative-blue);
}

.osp-countdown-icon svg {
    width: 100%;
    height: 100%;
}

.osp-countdown-icon path {
    stroke: currentColor;
}

.osp-countdown-text {
    color: var(--osp-text-secondary);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.07em;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
}

.osp-countdown-display {
    gap: 8px;
}

.osp-time-unit {
    flex-direction: column;
    gap: 5px;
}

.osp-time-value {
    min-width: 48px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--osp-border);
    border-radius: var(--osp-radius-control);
    background: var(--osp-page);
    color: var(--osp-text-primary);
    font-variant-numeric: tabular-nums;
    font-size: 19px;
    font-weight: 700;
    line-height: 1;
}

.osp-time-label {
    color: var(--osp-text-muted);
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
}

.osp-time-separator {
    align-self: flex-start;
    margin-top: 13px;
    color: var(--osp-text-muted);
    font-size: 16px;
    line-height: 1;
}

.osp-countdown-timer.warning .osp-countdown-icon,
.osp-countdown-timer.warning .osp-countdown-text,
.osp-countdown-timer.warning .osp-time-value {
    color: var(--osp-danger);
}

.osp-countdown-timer.warning .osp-time-value {
    border-color: color-mix(in srgb, var(--osp-danger) 35%, var(--osp-border));
    background: var(--osp-danger-surface);
}

.osp-countdown-timer.expired {
    opacity: 0.48;
}

@media (max-width: 767px) {
    #wc_checkout_add_ons .addon-title {
        flex-grow: 1;
        line-height: 1.4;
    }

    body.has-vip-product .osp-3sc-sidebar:not(.osp-vip-sidebar-visible) ~ .osp-3sc-main-content {
        padding: 28px 20px;
    }
}

@media (max-width: 600px) {
    .challenge-selector .step-sections.expanded {
        display: block;
    }
}

@media (max-width: 600px) {
    .osp-3sc-popup-overlay {
        padding: 14px;
    }

    .osp-3sc-popup-header {
        min-height: 64px;
        padding: 17px 20px;
    }

    .osp-3sc-popup-header h3 {
        padding-right: 36px;
        font-size: 19px;
        text-align: left;
    }

    .osp-3sc-popup-close {
        right: 16px;
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    .osp-3sc-popup-body,
    .osp-3sc-popup-overlay--policy .osp-3sc-popup-body {
        padding: 20px;
    }

    .osp-3sc-popup-overlay--policy .osp-3sc-popup-content {
        max-height: 86vh;
    }

    .osp-countdown-timer {
        gap: 14px;
    }

    .osp-countdown-header {
        width: 100%;
        justify-content: center;
    }

    .osp-time-value {
        min-width: 43px;
        height: 42px;
        font-size: 17px;
    }

    .osp-time-separator {
        margin-top: 12px;
    }
}
