

html { scroll-behavior: smooth; }

body.theme-mc14.checkout-page {
    --mc-primary: #2563EB;
    --mc-primary-dark: #1D4ED8;
    --mc-primary-light: #3B82F6;
    --mc-text: #111827;
    --mc-text-muted: #6B7280;
    --mc-border: #E5E7EB;
    --mc-bg: #ffffff;
    --mc-bg-subtle: #F9FAFB;
    background-color: #ffffff !important;
    color: #111827 !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: 80rem;
    margin: 0 auto;
    padding: 7rem 1.5rem 6rem;
}

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

.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 3rem;
    align-items: start;
}

@media (max-width: 1024px) {
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .checkout-sidebar { order: -1; }
}

.checkout-header {
    margin-bottom: 2.5rem;
}

.checkout-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: #9CA3AF;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.checkout-breadcrumb a {
    color: #6B7280;
    text-decoration: none;
    transition: color 0.2s;
}

.checkout-breadcrumb a:hover { color: var(--mc-primary); }

.checkout-breadcrumb svg { flex-shrink: 0; }

.section-title-kicker {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mc-primary);
    margin-bottom: 0.75rem;
}

.checkout-header h1 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0 0 0.75rem;
}

.checkout-header-lead {
    font-size: 1.0625rem;
    color: #6B7280;
    line-height: 1.7;
    max-width: 38rem;
    margin: 0;
}

.checkout-progress {
    display: flex;
    gap: 0;
    margin-top: 2rem;
    padding: 0;
    list-style: none;
    border: 1px solid #E5E7EB;
    border-radius: 0.875rem;
    overflow: hidden;
    background: #F9FAFB;
}

.checkout-progress li {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #9CA3AF;
    border-right: 1px solid #E5E7EB;
    transition: background 0.2s, color 0.2s;
}

.checkout-progress li:last-child { border-right: none; }

.checkout-progress li.active {
    background: #EFF6FF;
    color: var(--mc-primary);
}

.checkout-progress-num {
    width: 1.375rem;
    height: 1.375rem;
    border-radius: 0.375rem;
    background: #E5E7EB;
    color: #6B7280;
    font-size: 0.6875rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

@media (max-width: 640px) {
    .checkout-progress li span:not(.checkout-progress-num) { display: none; }
    .checkout-progress li { padding: 0.625rem; }
}

.config-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.config-step {
    display: grid;
    grid-template-columns: 3.5rem 1fr;
    gap: 1.25rem;
    padding: 1.5rem 0;
    position: relative;
}

.config-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 1.75rem;
    top: 4.75rem;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #DBEAFE 0%, #E5E7EB 100%);
    transform: translateX(-50%);
}

.config-step-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.config-step-num {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37,99,235,0.28);
    flex-shrink: 0;
}

.config-step-body {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 1.125rem;
    padding: 1.5rem 1.625rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.config-step:hover .config-step-body {
    border-color: #BFDBFE;
    box-shadow: 0 12px 36px rgba(37,99,235,0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.config-step-label {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mc-primary);
    margin-bottom: 0.375rem;
}

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

.period-grid {
    background: #F9FAFB;
    padding: 5px;
    border-radius: 0.875rem;
    border: 1px solid #E5E7EB;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}

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

.period-btn {
    border-radius: 0.625rem !important;
    padding: 0.75rem 0.5rem !important;
    border: none !important;
    background: transparent !important;
    color: #6B7280 !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1) !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
    gap: 5px !important;
    text-align: center !important;
    font-size: 0.875rem !important;
}

.period-btn:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #374151 !important;
}

.period-btn[class*="bg-[#7BA8F5]"] {
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(37, 99, 235, 0.15) !important;
    transform: scale(1.02);
    z-index: 1;
}

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

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

.period-tag {
    font-size: 0.625rem;
    background: rgba(0, 0, 0, 0.05);
    color: #9CA3AF;
    padding: 2px 6px;
    border-radius: 5px;
    line-height: 1.7;
    white-space: nowrap;
}

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

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

.datacenter-card {
    position: relative;
    overflow: hidden;
    border: 1.5px solid #E5E7EB !important;
    border-radius: 1rem !important;
    padding: 1.25rem 1rem !important;
    background: #fff !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.25s 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: rgba(37, 99, 235, 0.35) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.1) !important;
}

.datacenter-card[class*="bg-[#7BA8F5]"] {
    border-color: var(--mc-primary) !important;
    background: rgba(37, 99, 235, 0.04) !important;
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.14) !important;
    transform: translateY(-2px) scale(1.02) !important;
}

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

.datacenter-card[class*="bg-[#7BA8F5]"]::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--mc-primary);
    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: 9px;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.35);
    z-index: 2;
    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: 2rem;
    margin-bottom: 0.625rem;
    display: block;
    line-height: 1;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.1));
    transition: transform 0.2s;
}

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

.dc-name {
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 0.2rem;
    color: #111827;
    transition: color 0.2s;
}

.dc-desc {
    font-size: 0.6875rem;
    color: #6B7280;
    font-weight: 500;
    line-height: 1.4;
}

.dc-status {
    font-size: 0.6875rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #10B981;
    margin-top: 0.5rem;
    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.625rem; }

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

.ssd-card:hover {
    border-color: rgba(37, 99, 235, 0.35) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.1) !important;
}

.ssd-card[class*="bg-[#7BA8F5]"] {
    border-color: var(--mc-primary) !important;
    background: rgba(37, 99, 235, 0.04) !important;
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.12) !important;
    transform: translateY(-1px) scale(1.01) !important;
}

.ssd-card[class*="bg-[#7BA8F5]"]::after {
    content: '';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--mc-primary);
    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: 9px;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.35);
    animation: co-popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.ssd-card[class*="bg-[#7BA8F5]"] .ssd-icon {
    color: var(--mc-primary) !important;
    background: #EFF6FF !important;
    border-color: #DBEAFE !important;
}

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

.ssd-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    flex-shrink: 0;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6B7280;
    transition: all 0.2s;
}

.ssd-info h3 {
    font-weight: 700;
    font-size: 0.875rem;
    margin: 0 0 0.2rem;
    color: #111827;
}

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

.ssd-price {
    font-weight: 700;
    font-size: 0.8125rem;
    font-family: ui-monospace, monospace;
    color: var(--mc-primary);
    margin-right: 1.5rem;
    white-space: nowrap;
}

.addon-card {
    background: #F9FAFB;
    border-radius: 1rem;
    padding: 1.25rem 1.375rem;
    border: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.addon-card:hover {
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.06);
}

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

.addon-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.8125rem;
    flex-shrink: 0;
    background: #EFF6FF;
    border: 1px solid #DBEAFE;
    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.2rem;
    color: #111827 !important;
}

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

#thunderboltToggle {
    width: 3.125rem;
    height: 1.75rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    position: relative;
    transition: 0.3s;
    flex-shrink: 0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.08);
}

#thunderboltToggle[class*="bg-[#7BA8F5]"] {
    background: var(--mc-primary) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25) !important;
}

#thunderboltToggle:not([class*="bg-[#7BA8F5]"]) {
    background: #D1D5DB !important;
    border: 1px solid #E5E7EB !important;
}

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

#thunderboltToggle[class*="bg-[#7BA8F5]"] > div { left: calc(100% - 1.375rem - 3px) !important; }
#thunderboltToggle:not([class*="bg-[#7BA8F5]"]) > div { left: 3px !important; }

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

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

.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem 1.25rem;
}

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

.checkout-sidebar {
    position: sticky;
    top: 6rem;
}

@media (max-width: 1024px) {
    .checkout-sidebar { position: static; }
}

.order-card {
    background: #fff;
    border: 2px solid var(--mc-primary);
    border-radius: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.14);
}

.order-card-body {
    padding: 2rem 1.75rem 1.75rem;
    text-align: center;
    position: relative;
}

.order-card-img {
    width: 148px;
    margin: 0 auto 1.25rem;
}

.order-card-img img {
    width: 100%;
    display: block;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.12));
}

.order-product-name {
    font-size: 1.5rem;
    font-weight: 900;
    margin: 0 0 0.375rem;
    letter-spacing: -0.03em;
    color: #0F172A;
    line-height: 1.1;
}

.order-tier-badge {
    display: inline-block;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #60A5FA;
    margin-bottom: 1.25rem;
}

.order-price-hero {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.order-price-amount {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.05em;
    color: #1D4ED8;
}

.order-price-period {
    font-size: 0.875rem;
    color: #9CA3AF;
    font-weight: 500;
}

.btn-checkout {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: var(--mc-primary);
    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 16px rgba(37, 99, 235, 0.3);
    letter-spacing: -0.01em;
}

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

.btn-checkout:hover:not(:disabled) {
    background: var(--mc-primary-dark);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
    transform: translateY(-1px);
}

.btn-checkout:hover:not(:disabled) svg { transform: translateX(3px); }

.btn-checkout:active:not(:disabled) { transform: scale(0.98); }

.btn-checkout:disabled {
    background: #D1D5DB;
    box-shadow: none;
    cursor: not-allowed;
}

.payment-badges {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 6px;
    opacity: 0.45;
    filter: grayscale(1);
    transition: opacity 0.5s, filter 0.5s;
}

.payment-badges:hover { opacity: 1; filter: grayscale(0); }

.pay-badge {
    height: 20px;
    padding: 0 7px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    display: flex;
    align-items: center;
    background: #fff;
}

.config-summary-card {
    margin-top: 1rem;
    background: #F9FAFB;
    border-radius: 1rem;
    padding: 1.25rem 1.375rem;
    border: 1px solid #E5E7EB;
}

.config-summary-card > h3 {
    font-size: 0.625rem !important;
    font-weight: 700 !important;
    color: #9CA3AF !important;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0 0 0.875rem !important;
}

.cs-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #F3F4F6;
    font-size: 0.8125rem;
    gap: 0.75rem;
}

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

.cs-label { color: #6B7280; flex-shrink: 0; }

.cs-value {
    font-weight: 600;
    color: #111827;
    text-align: right;
}

.cs-value.highlight { color: var(--mc-primary); }

.cs-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    justify-content: flex-end;
    margin-top: 4px;
}

.js-package-specs span,
.config-summary-card .js-package-specs span {
    background: #EFF6FF !important;
    color: #6B7280 !important;
    border-color: #DBEAFE !important;
    font-size: 0.6875rem !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 #F3F4F6 !important;
}

#summaryAddons [class*="border-white"] {
    border: none !important;
    border-bottom: 1px solid #F3F4F6 !important;
    padding-top: 0 !important;
}

#summaryAddons .text-gray-400 { color: #6B7280 !important; font-size: 0.8125rem !important; }

#summaryAddons .text-white {
    color: #111827 !important;
    font-weight: 600 !important;
    font-size: 0.8125rem !important;
    font-family: ui-monospace, monospace;
}

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

.order-legal {
    text-align: center;
    font-size: 0.6875rem;
    color: #9CA3AF;
    margin-top: 1rem;
    line-height: 1.7;
}

.order-legal a {
    color: #9CA3AF;
    text-decoration: underline;
}

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

.checkout-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}

.checkout-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 0.75rem;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 0.625rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #374151;
}

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

.mobile-cta {
    display: none;
}

@media (max-width: 1024px) {
    .mobile-cta {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(16px);
        padding: 0.75rem 1.125rem;
        border-top: 1px solid #E5E7EB;
        box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.08);
        z-index: 50;
        align-items: center;
        justify-content: space-between;
        padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
    }

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

    .btn-checkout-mobile {
        background: var(--mc-primary);
        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 12px rgba(37, 99, 235, 0.25);
        font-size: 0.875rem;
        transition: background 0.2s, transform 0.2s;
    }

    .btn-checkout-mobile:hover:not(:disabled) {
        background: var(--mc-primary-dark);
        transform: translateY(-1px);
    }

    .btn-checkout-mobile:disabled {
        background: #D1D5DB;
        box-shadow: none;
        cursor: not-allowed;
    }
}

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

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

@media (max-width: 640px) {

    .checkout-main {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .checkout-sidebar { order: 1; }

    .config-step {
        grid-template-columns: 2.25rem 1fr;
        gap: 0.75rem;
        padding: 0.875rem 0;
    }
    .config-step-num {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 0.6875rem;
        border-radius: 0.625rem;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.22);
    }
    .config-step:not(:last-child)::after {
        left: 1.125rem;
        top: 3.5rem;
    }
    .config-step-body {
        padding: 1rem 1.125rem;
    }
    .config-step-title {
        font-size: 0.9375rem;
        margin-bottom: 0.875rem;
    }

    .order-card-body {
        padding: 1.25rem 1.125rem 1rem;
    }
    .order-card-img {
        width: 96px;
        margin-bottom: 0.75rem;
    }
    .order-price-amount {
        font-size: 2.25rem;
    }
    .order-price-hero {
        margin-bottom: 1rem;
    }

    .checkout-trust {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    .checkout-trust-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.3rem;
        padding: 0.5rem 0.375rem;
        font-size: 0.5625rem;
    }

    .datacenter-card {
        padding: 0.875rem 0.5rem !important;
    }
    .dc-flag {
        font-size: 1.625rem;
        margin-bottom: 0.375rem;
    }
    .dc-desc {
        font-size: 0.5625rem;
    }

    .ssd-card {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.625rem !important;
    }
    .ssd-card-inner {
        width: 100%;
    }
    .ssd-price {
        margin-right: 0 !important;
        align-self: flex-end;
    }

    .config-summary-card {
        padding: 1rem 1.125rem;
    }
}
