.cpp-checkout-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}
.cpp-checkout-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.cpp-checkout-course h1 {
    font-family: var(--cpp-font-heading);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -1.2px;
    margin-bottom: 32px;
}
.cpp-checkout-price {
    background: linear-gradient(135deg, #0D2E2E 0%, #1B5E5E 100%);
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 32px;
    margin-top: 32px;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.2);
}
.cpp-price-label {
    color: rgba(255,255,255,0.95);
    display: block;
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.cpp-price-display {
    display: flex;
    gap: 12px;
    align-items: baseline;
}
.cpp-price-amount {
    font-size: 64px;
    font-weight: 700;
    color: white;
}
.cpp-price-currency {
    font-size: 28px;
    color: white;
    font-weight: 600;
}
.cpp-checkout-features {
    margin-bottom: 32px;
}
.cpp-checkout-features h3 {
    margin-bottom: 16px;
}
.cpp-checkout-features ul {
    list-style: none;
    padding: 0;
}
.cpp-checkout-features li {
    padding: 8px 0 8px 28px;
    position: relative;
}
.cpp-checkout-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #16a34a;
    font-weight: 700;
}
.cpp-secure-badge {
    display: flex;
    gap: 16px;
    background: #f0fdf4;
    padding: 20px;
    border-radius: 8px;
    border: 2px solid #86efac;
}
.cpp-secure-badge span {
    font-size: 32px;
}
.cpp-secure-badge strong {
    display: block;
    color: #16a34a;
    margin-bottom: 4px;
}
.cpp-secure-badge p {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}

.cpp-charity-badge {
    display: flex;
    gap: 16px;
    background: #eff6ff;
    padding: 20px;
    border-radius: 8px;
    border: 2px solid #93c5fd;
    margin-top: 12px;
}
.cpp-charity-badge span {
    font-size: 32px;
}
.cpp-charity-badge strong {
    display: block;
    color: #1d4ed8;
    margin-bottom: 4px;
}
.cpp-charity-badge p {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}

/* Upsell Section */
.cpp-upsell-section {
    margin-top: 32px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 3px solid #f59e0b;
    border-radius: 16px;
    padding: 32px;
    position: relative;
}

.cpp-upsell-badge {
    display: inline-block;
    background: #f59e0b;
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.cpp-upsell-section h3 {
    font-size: 24px;
    color: #78350f;
    margin-bottom: 12px;
}

.cpp-upsell-description {
    color: #92400e;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.cpp-upsell-features {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.cpp-upsell-features h4 {
    font-size: 14px;
    color: #374151;
    margin-bottom: 12px;
    font-weight: 600;
}

.cpp-upsell-features ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cpp-upsell-features li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: #6b7280;
    font-size: 14px;
}

.cpp-upsell-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #16a34a;
    font-weight: 700;
}

.cpp-upsell-price-section {
    background: white;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.cpp-upsell-pricing {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.cpp-upsell-original-price {
    font-size: 24px;
    color: #9ca3af;
    text-decoration: line-through;
}

.cpp-upsell-sale-price {
    font-size: 42px;
    font-weight: 700;
    color: #f59e0b;
}

.cpp-upsell-save {
    background: #16a34a;
    color: white;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
}

.cpp-upsell-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 16px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.3s;
}

.cpp-upsell-checkbox-wrapper:hover {
    background: #f3f4f6;
    border-color: #f59e0b;
}

.cpp-upsell-checkbox-wrapper input[type="checkbox"] {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.cpp-upsell-checkbox-label {
    font-size: 16px;
    color: #1f2937;
}

.cpp-upsell-guarantee {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 16px;
    border-radius: 8px;
}

.cpp-upsell-guarantee span {
    font-size: 24px;
}

.cpp-upsell-guarantee p {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
}

.cpp-upsell-guarantee strong {
    color: #16a34a;
    display: block;
    margin-bottom: 2px;
}

.cpp-checkout-payment {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 40px;
}
.cpp-checkout-payment h2 {
    font-family: var(--cpp-font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 32px;
}
.cpp-form-group {
    margin-bottom: 20px;
}
.cpp-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}
.cpp-form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
}
#card-element {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
}
#card-errors {
    color: #dc2626;
    margin-top: 8px;
    font-size: 14px;
}
.cpp-payment-method-selector {
    margin-bottom: 24px;
}
.cpp-payment-method-selector label {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
}
.cpp-payment-tabs {
    display: flex;
    gap: 12px;
}
.cpp-payment-tab {
    flex: 1;
    padding: 16px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}
.cpp-payment-tab:hover {
    background: #f3f4f6;
}
.cpp-payment-tab.active {
    background: #eff6ff;
    border-color: #667eea;
    color: #667eea;
}
.cpp-payment-section {
    margin-top: 24px;
}
#stripe-button, #paypal-button-container {
    width: 100%;
    margin-top: 24px;
}
.cpp-payment-methods-logos {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 2px solid #f3f4f6;
    font-size: 14px;
    color: #9ca3af;
}
@media (max-width: 968px) {
    .cpp-checkout-wrapper {
        padding: 0 15px;
        margin: 20px auto;
    }
    
    .cpp-checkout-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cpp-checkout-course h1 {
        font-size: 28px;
        margin-bottom: 24px;
    }
    
    .cpp-checkout-price {
        padding: 24px;
        margin-top: 24px;
        margin-bottom: 24px;
    }
    
    .cpp-price-label {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .cpp-price-amount {
        font-size: 48px;
    }
    
    .cpp-price-currency {
        font-size: 20px;
    }
    
    #upsell-included {
        font-size: 13px;
    }
    
    .cpp-checkout-features h3 {
        font-size: 18px;
    }
    
    .cpp-checkout-features ul {
        padding-left: 20px;
    }
    
    .cpp-checkout-features li {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    /* Upsell Section */
    .cpp-upsell-section {
        padding: 20px;
        margin: 20px 0;
    }
    
    .cpp-upsell-section h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .cpp-upsell-description {
        font-size: 14px;
        margin-bottom: 16px;
    }
    
    .cpp-upsell-features h4 {
        font-size: 15px;
    }
    
    .cpp-upsell-features ul {
        padding-left: 20px;
    }
    
    .cpp-upsell-features li {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .cpp-upsell-pricing {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .cpp-upsell-original-price {
        font-size: 18px;
    }
    
    .cpp-upsell-sale-price {
        font-size: 28px;
    }
    
    .cpp-upsell-save {
        font-size: 13px;
    }
    
    .cpp-upsell-checkbox-label {
        font-size: 14px;
    }
    
    .cpp-upsell-guarantee {
        padding: 12px;
    }
    
    .cpp-upsell-guarantee p {
        font-size: 12px;
    }
    
    /* Secure Badge */
    .cpp-secure-badge {
        padding: 16px;
    }
    
    .cpp-secure-badge strong {
        font-size: 14px;
    }
    
    .cpp-secure-badge p {
        font-size: 12px;
    }
    
    /* Payment Form */
    .cpp-checkout-payment h2 {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .cpp-form-group label {
        font-size: 13px;
    }
    
    .cpp-form-group input {
        font-size: 15px;
        padding: 12px;
    }
    
    .cpp-payment-tab {
        font-size: 14px;
        padding: 10px 16px;
    }
    
    .cpp-submit-btn {
        font-size: 16px;
        padding: 14px;
    }
}

@media (max-width: 480px) {
    .cpp-checkout-wrapper {
        padding: 0 10px;
    }
    
    .cpp-checkout-course h1 {
        font-size: 24px;
    }
    
    .cpp-price-amount {
        font-size: 40px;
    }
    
    .cpp-upsell-section {
        padding: 16px;
    }
    
    .cpp-upsell-section h3 {
        font-size: 18px;
    }
}
