

html { scroll-behavior: smooth; }

body.theme-brand.checkout-page,
body.theme-mc14.checkout-page {
    --mc-primary: #f59e0b;
    --mc-primary-dark: #d97706;
    --mc-primary-light: #fbbf24;
    --mc-accent: #6366f1;
    --mc-accent-soft: rgba(99, 102, 241, 0.08);
    --mc-text: #18181b;
    --mc-text-muted: #71717a;
    --mc-border: #e4e4e7;
    --mc-bg: #f4f4f5;
    --mc-bg-subtle: #fafafa;
    --co-dark: #0c0f1a;
    --co-dark-card: #151929;
    --co-dark-border: rgba(255, 255, 255, 0.08);
    background-color: var(--mc-bg) !important;
    color: var(--mc-text) !important;
    font-family: 'Inter', 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 0 !important;
}

.checkout-page h1,
.checkout-page h2,
.checkout-page h3,
.checkout-page h4 {
    color: #111827 !important;
}

.price-mono {
    font-family: 'SF Mono', 'Fira Code', ui-monospace, monospace;
    font-variant-numeric: tabular-nums;
}

.checkout-main {
    max-width: 76rem;
    margin: 0 auto;
    padding: 6.5rem 1.25rem 5rem;
}

.co-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 0;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.06),
        0 24px 64px rgba(0, 0, 0, 0.1);
    min-height: calc(100vh - 10rem);
}

@media (max-width: 1024px) {
    .checkout-main { padding-bottom: 7rem; }

    .co-shell {
        grid-template-columns: 1fr;
        border-radius: 1rem;
        min-height: auto;
    }
}

.co-preview {
    background: var(--co-dark);
    color: #e4e4e7;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 5.5rem;
    align-self: start;
    min-height: 100%;
}

@media (max-width: 1024px) {
    .co-preview {
        position: static;
        border-radius: 1rem 1rem 0 0;
    }
}

.checkout-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    flex-wrap: wrap;
}

.checkout-breadcrumb a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s;
}

.checkout-breadcrumb a:hover { color: var(--mc-primary-light); }
.checkout-breadcrumb svg { flex-shrink: 0; opacity: 0.5; }

.co-product-row {
    display: flex;
    align-items: center;
    gap: 1.125rem;
    padding: 1.125rem;
    background: var(--co-dark-card);
    border: 1px solid var(--co-dark-border);
    border-radius: 1rem;
}

.co-product-visual {
    width: 72px;
    flex-shrink: 0;
}

.co-product-visual img {
    width: 100%;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.co-product-tag {
    display: inline-block;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mc-accent);
    margin-bottom: 0.25rem;
}

.co-product-name {
    font-family: 'Plus Jakarta Sans', 'Epilogue', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff !important;
    margin: 0 0 0.375rem;
    line-height: 1.15;
}

.co-product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.js-package-specs span,
.co-product-specs span {
    background: rgba(255, 255, 255, 0.06) !important;
    color: rgba(255, 255, 255, 0.55) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    font-size: 0.625rem !important;
    padding: 0.2rem 0.5rem !important;
    border-radius: 0.375rem !important;
    font-weight: 500 !important;
}

.co-price-block {
    padding: 0.25rem 0;
}

.co-price-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.375rem;
}

.co-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
}

.co-price-amount {
    font-size: 2.75rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.05em;
    color: var(--mc-primary-light);
}

.co-price-period {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

.btn-checkout {
    width: 100%;
    padding: 0.9375rem 1.25rem;
    background: linear-gradient(135deg, var(--mc-primary) 0%, var(--mc-primary-dark) 100%);
    color: #fff;
    border: none;
    border-radius: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
    letter-spacing: -0.01em;
}

.btn-checkout svg { transition: transform 0.3s; flex-shrink: 0; }

.btn-checkout:hover:not(:disabled) {
    box-shadow: 0 8px 28px rgba(245, 158, 11, 0.45);
    transform: translateY(-1px);
}

.btn-checkout:hover:not(:disabled) svg { transform: translateX(2px); }
.btn-checkout:active:not(:disabled) { transform: scale(0.98); }

.btn-checkout:disabled {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
    cursor: not-allowed;
    color: rgba(255, 255, 255, 0.35);
}

.payment-badges {
    display: flex;
    justify-content: center;
    gap: 6px;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.payment-badges:hover { opacity: 0.85; }

.pay-badge {
    height: 22px;
    padding: 0 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 5px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.6);
}

.pay-badge-text {
    font-size: 9px;
    font-weight: 900;
    font-style: italic;
    font-family: serif;
}

.pay-badge-mc { gap: 0; }

.mc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.mc-dot-red { background: #eb0000; }
.mc-dot-orange { background: #f79e1b; margin-left: -4px; }

.co-receipt {
    background: var(--co-dark-card);
    border: 1px solid var(--co-dark-border);
    border-radius: 1rem;
    padding: 1.125rem 1.25rem;
    flex: 1;
}

.co-receipt-title {
    font-size: 0.625rem !important;
    font-weight: 700 !important;
    color: rgba(255, 255, 255, 0.35) !important;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin: 0 0 0.75rem !important;
}

.co-receipt-rows { display: flex; flex-direction: column; }

.co-receipt-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8125rem;
    gap: 0.75rem;
}

.co-receipt-row:last-child { border-bottom: none; }

.co-receipt-row--total {
    margin-top: 0.25rem;
    padding-top: 0.75rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    border-bottom: none;
}

.co-receipt-key { color: rgba(255, 255, 255, 0.45); flex-shrink: 0; }

.co-receipt-val {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-align: right;
}

.co-receipt-val--accent { color: var(--mc-primary-light) !important; }

.co-receipt-row .or-val {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-align: right;
}

.co-receipt-row .text-gray-500 { color: rgba(255, 255, 255, 0.4) !important; }

#summaryAddons > div {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 0.8125rem !important;
    padding: 0.5rem 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

#summaryAddons [class*="border-white"] {
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding-top: 0 !important;
}

#summaryAddons .text-gray-400 { color: rgba(255, 255, 255, 0.45) !important; font-size: 0.8125rem !important; }

#summaryAddons .text-white {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 600 !important;
    font-size: 0.8125rem !important;
    font-family: ui-monospace, monospace;
}

[class*="text-\[#f59e0b\]"],
.or-val[class*="text-"] { color: var(--mc-primary-light) !important; }

.co-trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.co-trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.625rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 2rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
}

.co-trust-chip svg {
    color: var(--mc-primary);
    flex-shrink: 0;
}

.order-legal {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1.7;
    margin: 0;
}

.order-legal a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: underline;
}

.order-legal a:hover { color: var(--mc-primary-light); }

.co-wizard {
    background: #fff;
    padding: 2rem 2.25rem 2.5rem;
    display: flex;
    flex-direction: column;
}

@media (max-width: 1024px) {
    .co-wizard { padding: 1.5rem 1.25rem 2rem; }
}

.co-wizard-header {
    margin-bottom: 1.75rem;
}

.co-wizard-eyebrow {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mc-accent);
    margin: 0 0 0.5rem;
}

.co-wizard-header h1 {
    font-family: 'Plus Jakarta Sans', 'Epilogue', sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin: 0 0 0.5rem;
    color: #09090b !important;
}

.co-wizard-lead {
    font-size: 0.9375rem;
    color: #71717a;
    line-height: 1.65;
    margin: 0;
    max-width: 32rem;
}

.co-step-nav { margin-bottom: 1.5rem; }

.checkout-progress {
    display: flex;
    gap: 0.375rem;
    margin: 0;
    padding: 0.375rem;
    list-style: none;
    background: #f4f4f5;
    border-radius: 0.875rem;
    border: 1px solid #e4e4e7;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.checkout-progress::-webkit-scrollbar { display: none; }

.checkout-progress li {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.625rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #a1a1aa;
    border-radius: 0.625rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    border: none;
    white-space: nowrap;
    user-select: none;
}

.checkout-progress li:hover:not(.active) {
    color: #52525b;
    background: rgba(255, 255, 255, 0.6);
}

.checkout-progress li.active {
    background: #fff;
    color: #18181b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.checkout-progress-num {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: #e4e4e7;
    color: #71717a;
    font-size: 0.625rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}

.checkout-progress li.active .checkout-progress-num {
    background: var(--mc-accent);
    color: #fff;
}

@media (max-width: 560px) {
    .co-step-nav-label { display: none; }
    .checkout-progress li { padding: 0.5rem 0.625rem; }
}

.co-panels { flex: 1; }

.co-panel {
    display: none;
    animation: co-fadeIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.co-panel.is-active { display: block; }

@keyframes co-fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
}

.co-panel-head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f4f4f5;
}

.co-panel-index {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: var(--mc-accent-soft);
    color: var(--mc-accent);
    font-size: 0.8125rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.config-step-title {
    font-size: 1.125rem;
    font-weight: 800;
    color: #111827 !important;
    letter-spacing: -0.02em;
    margin: 0 0 0.25rem;
}

.co-panel-desc {
    font-size: 0.8125rem;
    color: #71717a;
    margin: 0;
    line-height: 1.55;
}

.co-panel-footer {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f4f4f5;
    display: flex;
    justify-content: flex-end;
}

.co-panel-footer--split {
    justify-content: space-between;
    gap: 0.75rem;
}

.co-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.625rem 1.125rem;
    border-radius: 0.625rem;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.co-nav-btn--next,
.co-nav-btn--done {
    background: #18181b;
    color: #fff;
}

.co-nav-btn--next:hover,
.co-nav-btn--done:hover:not(:disabled) {
    background: #27272a;
    transform: translateY(-1px);
}

.co-nav-btn--done:disabled {
    background: #d4d4d8;
    cursor: not-allowed;
}

.co-nav-btn--back {
    background: transparent;
    color: #71717a;
    border: 1px solid #e4e4e7;
}

.co-nav-btn--back:hover {
    background: #f4f4f5;
    color: #52525b;
}

.period-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.625rem;
}

@media (min-width: 560px) {
    .period-grid { grid-template-columns: repeat(4, 1fr); }
}

.period-btn {
    border-radius: 0.875rem !important;
    padding: 1rem 0.75rem !important;
    border: 1.5px solid #e4e4e7 !important;
    background: #fafafa !important;
    color: #52525b !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.375rem !important;
    text-align: center !important;
    font-size: 0.875rem !important;
    box-shadow: none !important;
}

.period-btn:hover {
    border-color: #d4d4d8 !important;
    background: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
}

.period-btn[class*="bg-[#f59e0b]"] {
    border-color: var(--mc-accent) !important;
    background: var(--mc-accent-soft) !important;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.15) !important;
    transform: translateY(-2px) !important;
}

.period-btn[class*="bg-[#f59e0b]"] .period-name {
    color: var(--mc-accent) !important;
    font-weight: 700 !important;
}

.period-btn[class*="bg-[#f59e0b]"] .period-icon {
    color: var(--mc-accent) !important;
    background: rgba(99, 102, 241, 0.12) !important;
}

.period-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.625rem;
    background: #f4f4f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a1a1aa;
    transition: all 0.2s;
}

.period-name { font-size: 0.875rem; font-weight: 600; line-height: 1; }

.period-hint {
    font-size: 0.625rem;
    color: #a1a1aa;
    font-weight: 500;
}

.period-tag {
    font-size: 0.5625rem;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 2px 7px;
    border-radius: 4px;
    font-weight: 700;
    line-height: 1.7;
    white-space: nowrap;
}

.period-tag--save {
    background: rgba(249, 115, 22, 0.1);
    color: #f97316;
}

.dc-select-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.625rem;
}

@media (max-width: 640px) {
    .dc-select-grid { grid-template-columns: repeat(2, 1fr); }
}

.datacenter-card {
    position: relative;
    overflow: hidden;
    border: 1.5px solid #e4e4e7 !important;
    border-radius: 0.875rem !important;
    padding: 1rem 0.75rem !important;
    background: #fafafa !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}

.datacenter-card:hover {
    border-color: #d4d4d8 !important;
    background: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06) !important;
}

.datacenter-card[class*="bg-[#f59e0b]"] {
    border-color: var(--mc-accent) !important;
    background: var(--mc-accent-soft) !important;
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.14) !important;
    transform: translateY(-2px) !important;
}

.datacenter-card[class*="bg-[#f59e0b]"] .dc-name {
    color: var(--mc-accent) !important;
}

.datacenter-card[class*="bg-[#f59e0b]"]::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--mc-accent);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 8px;
    background-position: center;
    background-repeat: no-repeat;
    animation: co-popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes co-popIn {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.dc-flag {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    display: block;
    line-height: 1;
    transition: transform 0.2s;
}

.datacenter-card:hover .dc-flag { transform: scale(1.06); }

.dc-name {
    font-weight: 700;
    font-size: 0.8125rem;
    margin-bottom: 0.15rem;
    color: #18181b;
}

.dc-desc {
    font-size: 0.625rem;
    color: #a1a1aa;
    font-weight: 500;
    line-height: 1.4;
}

.dc-status {
    font-size: 0.625rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #10b981;
    margin-top: 0.4rem;
    font-weight: 600;
}

.dc-status::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #10b981;
    animation: co-pulse 2s infinite;
}

@keyframes co-pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 5px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.ssd-stack { display: flex; flex-direction: column; gap: 0.5rem; }

.ssd-card {
    position: relative;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border: 1.5px solid #e4e4e7 !important;
    border-radius: 0.875rem !important;
    padding: 1rem 1.125rem !important;
    background: #fafafa !important;
    cursor: pointer !important;
    transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1) !important;
    text-align: left !important;
    box-shadow: none !important;
    transform: none !important;
}

.ssd-card:hover {
    border-color: #d4d4d8 !important;
    background: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05) !important;
}

.ssd-card[class*="bg-[#f59e0b]"] {
    border-color: var(--mc-accent) !important;
    background: var(--mc-accent-soft) !important;
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.12) !important;
    transform: translateY(-1px) !important;
}

.ssd-card[class*="bg-[#f59e0b]"]::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--mc-accent);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 8px;
    background-position: center;
    background-repeat: no-repeat;
    animation: co-popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.ssd-card[class*="bg-[#f59e0b]"] .ssd-icon {
    color: var(--mc-accent) !important;
    background: rgba(99, 102, 241, 0.1) !important;
    border-color: rgba(99, 102, 241, 0.2) !important;
}

.ssd-card-inner { display: flex; align-items: center; gap: 0.875rem; }

.ssd-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.625rem;
    flex-shrink: 0;
    background: #f4f4f5;
    border: 1px solid #e4e4e7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #71717a;
    transition: all 0.2s;
}

.ssd-icon--purple {
    background: rgba(139, 92, 246, 0.06);
    border-color: rgba(139, 92, 246, 0.15);
    color: #7c3aed;
}

.ssd-info h3 {
    font-weight: 700;
    font-size: 0.875rem;
    margin: 0 0 0.15rem;
    color: #18181b;
}

.ssd-info p {
    font-size: 0.75rem;
    color: #a1a1aa;
    margin: 0;
    line-height: 1.5;
}

.ssd-price {
    font-weight: 700;
    font-size: 0.8125rem;
    color: var(--mc-accent);
    margin-right: 1.25rem;
    white-space: nowrap;
}

.ssd-price--purple { color: #7c3aed; }

.addon-card {
    background: #fafafa;
    border-radius: 0.875rem;
    padding: 1.125rem 1.25rem;
    border: 1.5px solid #e4e4e7;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.addon-card:hover {
    border-color: #d4d4d8;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

@media (max-width: 640px) {
    .addon-card { flex-wrap: wrap; }

    #thunderboltToggle {
        margin-left: auto;
    }
}

.addon-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    flex-shrink: 0;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mc-primary);
}

.addon-info { flex: 1; min-width: 0; }

.addon-info h3 {
    font-size: 0.875rem;
    font-weight: 700;
    margin: 0 0 0.15rem;
    color: #18181b !important;
}

.addon-info p {
    font-size: 0.75rem;
    color: #a1a1aa;
    margin: 0;
    line-height: 1.5;
}

#thunderboltToggle {
    width: 3rem;
    height: 1.625rem;
    min-width: 3rem;
    max-width: 3rem;
    min-height: 1.625rem;
    max-height: 1.625rem;
    flex: 0 0 3rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    position: relative;
    transition: 0.3s;
    flex-shrink: 0;
    align-self: center;
    box-sizing: border-box;
    padding: 0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

#thunderboltToggle.is-on {
    background: var(--mc-accent) !important;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25) !important;
    border-color: transparent !important;
}

#thunderboltToggle:not(.is-on) {
    background: #d4d4d8 !important;
    border: 1px solid #e4e4e7 !important;
}

#thunderboltToggle > div {
    width: 1.25rem;
    height: 1.25rem;
    min-width: 1.25rem;
    min-height: 1.25rem;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    top: 3px;
    left: 3px;
    transition: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}

#thunderboltToggle.is-on > div { left: calc(100% - 1.25rem - 3px) !important; }
#thunderboltToggle:not(.is-on) > div { left: 3px !important; }

.included-box {
    background: #fafafa;
    border-radius: 0.75rem;
    padding: 1rem 1.125rem;
    margin-top: 0.875rem;
    border: 1px solid #e4e4e7;
}

.included-box h3 {
    font-size: 0.6875rem;
    font-weight: 700;
    color: #52525b !important;
    margin: 0 0 0.5rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.375rem 1rem;
}

@media (max-width: 480px) {
    .features-list { grid-template-columns: 1fr; }
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: #71717a;
    font-weight: 500;
}

.feature-item i,
.feature-item svg { color: var(--mc-accent); }

.mobile-cta { display: none; }

@media (max-width: 1024px) {
    .co-preview .btn-checkout { display: none; }

    .mobile-cta {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(12, 15, 26, 0.96);
        backdrop-filter: blur(16px);
        padding: 0.75rem 1.125rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2);
        z-index: 50;
        align-items: center;
        justify-content: space-between;
        padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
    }

    .m-cta-label {
        font-size: 10px;
        color: rgba(255, 255, 255, 0.4);
        text-transform: uppercase;
        font-weight: 600;
        margin-bottom: 2px;
    }

    .m-total {
        font-size: 1.25rem;
        font-weight: 800;
        color: var(--mc-primary-light);
        font-family: ui-monospace, monospace;
        display: flex;
        align-items: baseline;
        gap: 2px;
    }

    .m-period {
        font-size: 11px;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.4);
    }

    .btn-checkout-mobile {
        background: linear-gradient(135deg, var(--mc-primary) 0%, var(--mc-primary-dark) 100%);
        color: #fff;
        padding: 0.75rem 1.375rem;
        border-radius: 0.625rem;
        font-weight: 700;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 0.4rem;
        box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
        font-size: 0.875rem;
        transition: background 0.2s, transform 0.2s;
    }

    .btn-checkout-mobile:hover:not(:disabled) {
        transform: translateY(-1px);
    }

    .btn-checkout-mobile:disabled {
        background: rgba(255, 255, 255, 0.1);
        box-shadow: none;
        cursor: not-allowed;
        color: rgba(255, 255, 255, 0.35);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.on {
    opacity: 1;
    transform: none;
}

@media (max-width: 640px) {
    .checkout-main {
        padding: 5.5rem 0.75rem 7rem;
    }

    .co-shell {
        border-radius: 0.75rem;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    }

    .co-preview { padding: 1.25rem 1.125rem; }
    .co-wizard { padding: 1.25rem 1.125rem 1.5rem; }

    .co-price-amount { font-size: 2.25rem; }

    .co-product-row { padding: 0.875rem; }
    .co-product-visual { width: 56px; }

    .ssd-card {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
    }

    .ssd-card-inner { width: 100%; }

    .ssd-price {
        margin-right: 0 !important;
        align-self: flex-end;
    }

    .co-panel-footer--split {
        flex-direction: column-reverse;
    }

    .co-nav-btn { width: 100%; justify-content: center; }
}
