    /* =====================================================
    DIGITALEDU CHECKOUT - ESTILOS
    ===================================================== */

    .digitaledu-checkout {
        background: #f8f9fa;
        min-height: 100vh;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    }

    .digitaledu-checkout-container {
        max-width: 600px;
        margin: 0 auto;
        padding: 10px;
    }

    /* Header */
    .checkout-header {
        background: white;
        padding: 15px 20px;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        margin-bottom: 15px;
        text-align: center;
    }

    .checkout-steps {
        display: flex;
        justify-content: center;
        gap: 30px;
        margin: 0;
    }

    .step {
        display: flex;
        align-items: center;
        color: #95a5a6;
        font-weight: 500;
        position: relative;
    }

    .step.active {
        color: #3498db;
        font-weight: 700;
    }

    .step:not(:last-child)::after {
        content: '→';
        position: absolute;
        right: -25px;
        color: #bdc3c7;
    }

    /* Conteúdo Principal */
    .checkout-content {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .order-summary {
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        padding: 10px 15px;
        margin-bottom: 10px;
    }

    .order-summary h3 {
        color: #2c3e50;
        margin: 0 0 10px 0;
        font-size: 1.2rem;
        font-weight: 600;
    }

    .checkout-main {
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        overflow: hidden;
    }

    .checkout-form {
        padding: 20px;
    }

    .checkout-section {
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 1px solid #ecf0f1;
    }

    .checkout-section:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    .checkout-section h2 {
        color: #2c3e50;
        margin: 0 0 15px 0;
        font-size: 1.3rem;
        font-weight: 600;
    }

    /* Formulário */
    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-bottom: 15px;
        width: 100%;
        max-width: 100%;
    }

    .form-row:has(.form-group:only-child) {
        grid-template-columns: 1fr;
    }

    /* Forçar 2 colunas para campos em pares */
    .form-row:has(.form-group:nth-child(2)) {
        grid-template-columns: 1fr 1fr !important;
    }

    .form-group {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .form-group label {
        color: #2c3e50;
        font-weight: 600;
        margin-bottom: 6px;
        font-size: 0.85rem;
    }

    .form-group input,
    .form-group select {
        padding: 12px 16px;
        border: 2px solid #ecf0f1;
        border-radius: 8px;
        font-size: 1rem;
        transition: all 0.3s ease;
        background: white;
        width: 100%;
        box-sizing: border-box;
    }

    .form-group input:focus,
    .form-group select:focus {
        outline: none;
        border-color: #3498db;
        box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    }

    .form-group input:invalid {
        border-color: #e74c3c;
    }
    
    /* Estilos para CEP */
    .cep-help {
        display: block;
        font-size: 0.8rem;
        color: #7f8c8d;
        margin-top: 4px;
        font-style: italic;
    }
    
    .form-group input[type="text"][maxlength="9"] {
        text-transform: uppercase;
    }
    
    /* Estados de loading para CEP */
    .form-group input.cep-loading {
        border-color: #3498db !important;
        background: #f8f9ff !important;
        position: relative;
    }
    
    .form-group input.cep-loading::after {
        content: "🔍";
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .form-group input.cep-success {
        border-color: #27ae60 !important;
        background: #f0fff4 !important;
    }
    
    .form-group input.cep-error {
        border-color: #e74c3c !important;
        background: #fff5f5 !important;
    }
    
    /* Animações para mensagens de CEP */
    @keyframes slideIn {
        from {
            transform: translateX(100%);
            opacity: 0;
        }
        to {
            transform: translateX(0);
            opacity: 1;
        }
    }
    
    @keyframes slideOut {
        from {
            transform: translateX(0);
            opacity: 1;
        }
        to {
            transform: translateX(100%);
            opacity: 0;
        }
    }

    /* Métodos de Pagamento */
    .payment-methods {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    @media (max-width: 768px) {
        .payment-methods {
            grid-template-columns: 1fr;
        }
    }

    .payment-option {
        position: relative;
    }

    .payment-option input[type="radio"] {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    .payment-option label {
        display: flex;
        align-items: center;
        padding: 20px;
        border: 2px solid #ecf0f1;
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.3s ease;
        background: white;
    }

    .payment-option input[type="radio"]:checked + label {
        border-color: #3498db;
        background: #f8f9ff;
        box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    }

    .payment-icon {
        font-size: 1.5rem;
        margin-right: 15px;
    }

    /* Cupom */
    .coupon-form {
        display: flex;
        gap: 10px;
        align-items: flex-start;
    }

    .coupon-form .form-group {
        flex: 1;
    }

    .coupon-message {
        margin-top: 10px;
        padding: 10px;
        border-radius: 6px;
        font-weight: 500;
        display: none;
    }

    .coupon-message.success {
        background: #d4edda;
        color: #155724;
        border: 1px solid #c3e6cb;
    }

    .coupon-message.error {
        background: #f8d7da;
        color: #721c24;
        border: 1px solid #f5c6cb;
    }

    /* Botões */
    .checkout-actions {
        display: flex;
        justify-content: space-between;
        margin-top: 30px;
        padding-top: 30px;
        border-top: 1px solid #ecf0f1;
    }

    .button {
        padding: 15px 30px;
        border: none;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
        display: inline-block;
        text-align: center;
    }

    .button-primary {
        background: #3498db;
        color: white;
    }

    .button-primary:hover {
        background: #2980b9;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
    }

    .button-secondary {
        background: #95a5a6;
        color: white;
    }

    .button-secondary:hover {
        background: #7f8c8d;
    }

    /* Sidebar */
    .checkout-sidebar {
        position: sticky;
        top: 20px;
        height: fit-content;
    }

    .order-summary {
        background: white;
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        padding: 30px;
    }

    .order-summary h3 {
        color: #2c3e50;
        margin: 0 0 25px 0;
        font-size: 1.3rem;
        font-weight: 600;
    }

    .order-content {
        display: flex;
        gap: 20px;
        margin-bottom: 10px;
    }

    .product-info {
        display: flex;
        gap: 12px;
        flex: 1;
    }

    .pricing-breakdown {
        flex: 0 0 200px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .product-image {
        width: 60px;
        height: 60px;
        border-radius: 6px;
        overflow: hidden;
        flex-shrink: 0;
    }

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .product-placeholder {
        width: 100%;
        height: 100%;
        background: #ecf0f1;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
    }

    .product-details h4 {
        color: #2c3e50;
        margin: 0 0 6px 0;
        font-size: 1rem;
        font-weight: 600;
    }

    .product-type {
        color: #7f8c8d;
        font-size: 0.8rem;
        margin: 0 0 6px 0;
    }

    .product-description {
        color: #7f8c8d;
        font-size: 0.8rem;
        margin: 0;
        line-height: 1.3;
    }

    .pricing-breakdown {
        margin-bottom: 0;
    }

    .price-line {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 8px;
        font-size: 0.9rem;
    }

    .price-line.total {
        font-size: 1rem;
        font-weight: 700;
        color: #2c3e50;
        padding-top: 10px;
        border-top: 2px solid #ecf0f1;
        margin-top: 10px;
    }

    .price-line.discount {
        color: #27ae60;
    }

    .price {
        font-weight: 600;
    }

    .security-badges {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 10px;
    }

    .security-item {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #7f8c8d;
        font-size: 0.8rem;
    }

    .security-icon {
        font-size: 1rem;
    }

    /* Cupom de Desconto */
    .coupon-section {
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        padding: 10px 15px;
        margin-bottom: 10px;
    }

    .coupon-section h3 {
        color: #2c3e50;
        margin: 0;
        font-size: 0.9rem;
        font-weight: 600;
        display: inline-block;
        width: 120px;
        vertical-align: middle;
    }

    .coupon-form {
        display: inline-flex;
        gap: 10px;
        align-items: center;
        width: calc(100% - 130px);
        vertical-align: middle;
    }

    .coupon-form .form-group {
        flex: 1;
        margin-bottom: 0;
    }

    .coupon-form .button {
        width: 80px;
        padding: 12px 10px;
        height: fit-content;
        font-size: 0.9rem;
    }

    /* Responsivo */
    @media (max-width: 768px) {
        .checkout-content {
            grid-template-columns: 1fr;
            gap: 20px;
        }
        
        .checkout-sidebar {
            position: static;
            order: -1;
        }
        
        .form-row {
            grid-template-columns: 1fr;
            gap: 15px;
        }
        
        .checkout-steps {
            flex-direction: column;
            gap: 15px;
        }
        
        .step:not(:last-child)::after {
            display: none;
        }
        
        .checkout-header h1 {
            font-size: 2rem;
        }
        
        .checkout-form {
            padding: 20px;
        }
        
        .order-summary {
            padding: 15px;
        }

        .order-content {
            flex-direction: column;
            gap: 15px;
        }

        .pricing-breakdown {
            flex: none;
        }

        .coupon-section h3 {
            display: block;
            width: 100%;
            margin-bottom: 10px;
        }

        .coupon-form {
            display: flex;
            width: 100%;
        }

        .coupon-form .button {
            width: 80px;
        }
    }

    /* Estados de Loading */
    .loading {
        opacity: 0.6;
        pointer-events: none;
    }

    .loading::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 20px;
        height: 20px;
        margin: -10px 0 0 -10px;
        border: 2px solid #3498db;
        border-top: 2px solid transparent;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    /* Notificações */
    .notice {
        padding: 15px 20px;
        border-radius: 8px;
        margin-bottom: 20px;
        font-weight: 500;
    }

    .notice-success {
        background: #d4edda;
        color: #155724;
        border: 1px solid #c3e6cb;
    }

    .notice-error {
        background: #f8d7da;
        color: #721c24;
        border: 1px solid #f5c6cb;
    }

    .notice-info {
        background: #d1ecf1;
        color: #0c5460;
        border: 1px solid #bee5eb;
    }