
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            background: linear-gradient(180deg, #2d5f3f 0%, #1a3d2b 100%);
            min-height: 100vh;
        }

        body.popup-active {
            overflow: hidden;
        }

        .header {
            background: white;
            padding: 20px 40px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .logo img {
            height: 50px;
            width: auto;
        }

        .logo-text h1 {
            font-family: Georgia, serif;
            color: #2d5f3f;
            font-size: 32px;
            font-weight: normal;
            font-style: italic;
        }

        .logo-text p {
            color: #666;
            font-size: 13px;
            margin-top: 2px;
        }

        .secure-badge {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #d32f2f;
            font-size: 14px;
            font-weight: 500;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 40px 20px;
        }

        .checkout-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
        }

        .card {
            background: white;
            border-radius: 16px;
            padding: 40px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        }

        .card-title {
            font-size: 22px;
            font-weight: 600;
            margin-bottom: 35px;
            display: flex;
            align-items: center;
            gap: 12px;
            color: #1a1a1a;
        }

        .card-title svg {
            width: 24px;
            height: 24px;
            color: #d32f2f;
        }

        .product-box {
            background: #f5f5f5;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 30px;
        }

        .product-summary {
            display: flex;
            gap: 20px;
            margin-bottom: 20px;
        }

        .product-image {
            width: 100px;
            height: 150px;
            border-radius: 10px;
            overflow: hidden;
            position: relative;
            flex-shrink: 0;
        }

        .product-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .discount-badge {
            position: absolute;
            top: 8px;
            left: 8px;
            background: #ffd700;
            color: #000;
            padding: 4px 12px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: bold;
        }

        .product-details h3 {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 12px;
            color: #1a1a1a;
        }

        .product-features {
            list-style: none;
            margin-bottom: 15px;
        }

        .product-features li {
            font-size: 13px;
            color: #666;
            margin-bottom: 6px;
            padding-left: 20px;
            position: relative;
        }

        .product-features li:before {
            content: "⊙";
            position: absolute;
            left: 0;
            color: #d32f2f;
            font-weight: bold;
        }

        .price-info {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .old-price {
            text-decoration: line-through;
            color: #999;
            font-size: 13px;
        }

        .current-price {
            color: #d32f2f;
            font-size: 22px;
            font-weight: bold;
        }

        .price-summary {
            border-top: 1px solid #ddd;
            padding-top: 20px;
        }

        .price-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 12px;
            font-size: 15px;
            color: #333;
        }

        .price-row svg {
            width: 18px;
            height: 18px;
            vertical-align: middle;
            margin-right: 4px;
        }

        .price-row .label {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .price-row .free {
            color: #d32f2f;
            font-weight: 600;
        }

        .total-box {
            background: #fff;
            border: 2px solid #d32f2f;
            border-radius: 8px;
            padding: 20px;
            margin-top: 15px;
        }

        .total-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
        }

        .total-label {
            font-size: 18px;
            font-weight: 600;
            color: #1a1a1a;
        }

        .total-amount {
            color: #d32f2f;
            font-size: 36px;
            font-weight: bold;
        }

        .installments {
            text-align: right;
            font-size: 13px;
            color: #666;
        }

        .trust-badges {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            margin-top: 25px;
        }

        .trust-badge {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px;
            background: #f5f5f5;
            border-radius: 8px;
            font-size: 13px;
            font-weight: 500;
            color: #333;
        }

        .trust-badge svg {
            width: 20px;
            height: 20px;
            color: #2d5f3f;
        }

        .form-section {
            margin-bottom: 35px;
        }

        .section-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 25px;
        }

        .section-number {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: #d32f2f;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 14px;
            flex-shrink: 0;
        }

        .section-title {
            font-size: 18px;
            font-weight: 600;
            color: #1a1a1a;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
        }

        label {
            display: block;
            margin-bottom: 8px;
            font-size: 14px;
            font-weight: 500;
            color: #333;
        }

        input, select {
            width: 100%;
            padding: 12px 16px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 15px;
            transition: all 0.3s;
            background: #fafafa;
        }

        input:focus, select:focus {
            outline: none;
            border-color: #2d5f3f;
            background: white;
            box-shadow: 0 0 0 3px rgba(45, 95, 63, 0.1);
        }

        input.error {
            border-color: #d32f2f;
            background: #fff5f5;
        }

        .error-message {
            color: #d32f2f;
            font-size: 12px;
            margin-top: 5px;
            display: none;
        }

        .error-message.show {
            display: block;
        }

        /* Métodos de Pagamento */
        .payment-methods {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            margin-bottom: 30px;
        }

        .payment-method {
            border: 2px solid #ddd;
            border-radius: 12px;
            padding: 20px;
            cursor: pointer;
            transition: all 0.3s;
            text-align: center;
            background: #fafafa;
        }

        .payment-method:hover {
            border-color: #2d5f3f;
            transform: translateY(-2px);
        }

        .payment-method.active {
            border-color: #2d5f3f;
            background: #f0f9f0;
            box-shadow: 0 4px 12px rgba(45, 95, 63, 0.2);
        }

        .payment-method input[type="radio"] {
            display: none;
        }

        .payment-method-icon {
            width: 50px;
            height: 50px;
            margin: 0 auto 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
        }

        .payment-method-title {
            font-weight: 600;
            color: #1a1a1a;
            margin-bottom: 5px;
        }

        .payment-method-desc {
            font-size: 12px;
            color: #666;
        }

        /* Formulário Cartão */
        .card-form {
            display: none;
        }

        .card-form.active {
            display: block;
        }

        .card-brands {
            display: flex;
            gap: 8px;
            margin-top: 8px;
        }

        .card-brand-icon {
            width: 40px;
            height: 25px;
            border-radius: 4px;
            background: #f5f5f5;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 10px;
            font-weight: bold;
            color: #666;
            border: 1px solid #ddd;
        }

        .submit-btn {
            width: 100%;
            padding: 16px;
            background: #d32f2f;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin-top: 30px;
        }

        .submit-btn:hover {
            background: #b71c1c;
            transform: translateY(-1px);
            box-shadow: 0 6px 20px rgba(211, 47, 47, 0.3);
        }

        .submit-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }

        .submit-btn svg {
            width: 20px;
            height: 20px;
        }

        .security-note {
            text-align: center;
            color: #666;
            font-size: 12px;
            margin-top: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }

        .security-note svg {
            width: 14px;
            height: 14px;
        }

        .spinner {
            border: 3px solid rgba(255,255,255,0.3);
            border-top: 3px solid white;
            border-radius: 50%;
            width: 18px;
            height: 18px;
            animation: spin 0.8s linear infinite;
            display: none;
        }

        .submit-btn.loading .spinner {
            display: block;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .card-subtitle {
            color: #666;
            font-size: 14px;
            margin-bottom: 30px;
            font-weight: normal;
        }

        /* Modal PIX */
        .pix-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.7);
            z-index: 9999;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .pix-modal.active {
            display: flex;
        }

        .pix-content {
            background: white;
            border-radius: 20px;
            padding: 40px;
            max-width: 500px;
            width: 100%;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
        }

        .pix-close {
            position: absolute;
            top: 20px;
            right: 20px;
            background: #f5f5f5;
            border: none;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: #666;
            transition: all 0.3s;
        }

        .pix-close:hover {
            background: #e0e0e0;
        }

        .pix-header {
            text-align: center;
            margin-bottom: 30px;
        }

        .pix-header h2 {
            font-size: 24px;
            color: #1a1a1a;
            margin-bottom: 10px;
        }

        .pix-amount {
            font-size: 36px;
            font-weight: bold;
            color: #d32f2f;
            margin-bottom: 5px;
        }

        .pix-status {
            font-size: 14px;
            color: #666;
            padding: 8px 16px;
            background: #f5f5f5;
            border-radius: 20px;
            display: inline-block;
        }

        .pix-qr {
            text-align: center;
            margin: 30px 0;
            padding: 20px;
            background: #f9f9f9;
            border-radius: 12px;
        }

        .pix-qr img {
            max-width: 250px;
            width: 100%;
            height: auto;
        }

        .pix-code-section {
            margin: 20px 0;
        }

        .pix-code-label {
            font-size: 14px;
            font-weight: 600;
            color: #333;
            margin-bottom: 10px;
        }

        .pix-code-box {
            display: flex;
            gap: 10px;
        }

        .pix-code-input {
            flex: 1;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 13px;
            font-family: monospace;
            background: #fafafa;
        }

        .pix-copy-btn {
            padding: 12px 24px;
            background: #2d5f3f;
            color: white;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            white-space: nowrap;
        }

        .pix-copy-btn:hover {
            background: #1a3d2b;
        }

        .pix-instructions {
            background: #f0f9ff;
            border-left: 4px solid #2d5f3f;
            padding: 15px;
            border-radius: 8px;
            margin: 20px 0;
        }

        .pix-instructions ol {
            margin: 10px 0 0 20px;
            font-size: 14px;
            color: #333;
        }

        .pix-instructions li {
            margin-bottom: 8px;
        }

        .pix-countdown {
            text-align: center;
            font-size: 14px;
            color: #666;
            margin: 20px 0;
        }

        .pix-check-btn {
            width: 100%;
            padding: 14px;
            background: #f5f5f5;
            border: 1px solid #ddd;
            border-radius: 8px;
            color: #333;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

        .pix-check-btn:hover {
            background: #e0e0e0;
        }

        /* Upsell */
        .upsell-box {
            background: linear-gradient(135deg, #fff5e6 0%, #ffe6cc 100%);
            border: 2px solid #ff9800;
            border-radius: 12px;
            padding: 20px;
            margin: 25px 0;
            cursor: pointer;
            transition: all 0.3s;
            position: relative;
        }

        .upsell-box:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(255, 152, 0, 0.2);
        }

        .upsell-badge {
            position: absolute;
            top: -12px;
            right: 20px;
            background: #ff9800;
            color: white;
            padding: 6px 16px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: bold;
            box-shadow: 0 2px 10px rgba(255, 152, 0, 0.3);
        }

        .upsell-content {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .upsell-checkbox {
            width: 24px;
            height: 24px;
            cursor: pointer;
            flex-shrink: 0;
        }

        .upsell-details {
            flex: 1;
        }

        .upsell-title {
            font-size: 16px;
            font-weight: 600;
            color: #1a1a1a;
            margin-bottom: 6px;
        }

        .upsell-description {
            font-size: 13px;
            color: #666;
            margin-bottom: 8px;
        }

        .upsell-price {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .upsell-old-price {
            text-decoration: line-through;
            color: #999;
            font-size: 13px;
        }

        .upsell-current-price {
            color: #ff9800;
            font-size: 20px;
            font-weight: bold;
        }

        .upsell-image {
            width: 80px;
            height: 80px;
            border-radius: 8px;
            overflow: hidden;
            flex-shrink: 0;
        }

        .upsell-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .upsell-box.variant2 {
            background: linear-gradient(135deg, #fff0f0 0%, #ffe0e0 100%);
            border-color: #d32f2f;
        }

        .upsell-box.variant2 .upsell-badge {
            background: #d32f2f;
        }

        .upsell-box.variant2:hover {
            box-shadow: 0 6px 20px rgba(211, 47, 47, 0.2);
        }

        .upsell-box.variant3 {
            background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
            border-color: #0891b2;
        }

        .upsell-box.variant3 .upsell-badge {
            background: #0891b2;
        }

        .upsell-box.variant3:hover {
            box-shadow: 0 6px 20px rgba(8, 145, 178, 0.2);
        }

        @media (max-width: 968px) {
            .checkout-grid {
                grid-template-columns: 1fr;
            }

            .card {
                padding: 20px;
            }

            .header {
                flex-direction: column;
                gap: 12px;
                text-align: center;
                padding: 15px 20px;
            }

            .form-row {
                grid-template-columns: 1fr;
            }

            .trust-badges {
                grid-template-columns: 1fr 1fr;
                gap: 10px;
            }

            .trust-badge {
                padding: 10px;
                font-size: 11px;
            }

            .pix-content {
                padding: 25px 15px;
            }

            .logo img {
                height: 40px;
            }

            .logo-text h1 {
                font-size: 24px;
            }

            .card-title {
                font-size: 20px;
                margin-bottom: 25px;
            }

            .product-box {
                padding: 15px;
            }

            .product-summary {
                gap: 15px;
            }

            .product-image {
                width: 90px;
                height: 135px;
            }

            .product-details h3 {
                font-size: 15px;
            }

            .product-features li {
                font-size: 12px;
            }

            .current-price {
                font-size: 20px;
            }

            .total-amount {
                font-size: 28px;
            }

            .container {
                padding: 20px 15px;
            }

            .card-subtitle {
                font-size: 13px;
                margin-bottom: 20px;
            }

            .section-title {
                font-size: 16px;
            }

            .form-group {
                margin-bottom: 16px;
            }

            input {
                padding: 12px 14px;
                font-size: 16px;
            }

            label {
                font-size: 13px;
            }

            .submit-btn {
                padding: 15px;
                font-size: 15px;
            }

            .upsell-box {
                padding: 15px;
            }

            .upsell-content {
                flex-direction: column;
                align-items: flex-start;
            }

            .upsell-image {
                width: 100%;
                height: 200px;
                order: -1;
                border-radius: 8px;
            }

            .upsell-badge {
                top: -10px;
                right: 15px;
                font-size: 11px;
                padding: 5px 12px;
            }

            .pix-qr img {
                max-width: 200px;
            }

            .pix-amount {
                font-size: 28px;
            }

            .pix-code-box {
                flex-direction: column;
            }

            .pix-copy-btn {
                width: 100%;
            }

            .payment-methods {
                grid-template-columns: 1fr;
            }
        }