* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #000000;
    color: #ffffff;
    min-height: 100vh;
    padding-bottom: 80px;
}

.checkout-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Banner Hero */
.hero-banner {
    width: 100%;
    background-color: #1a1a1a;
    text-align: center;
    margin-bottom: 20px;
}

.hero-banner img {
    max-width: 100%;
    height: auto;
    margin: auto;
}

.hero-title {
    font-size: 24px;
    font-weight: 700;
    margin: 20px 0 10px;
    line-height: 1.3;
    text-align: center;
}

.hero-subtitle {
    font-size: 16px;
    color: #aaa;
    margin-bottom: 15px;
    text-align: center;
}

.price-badge {
    display: inline-block;
    background-color: #8B0000;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 20px;
    font-weight: 600;
    margin: 10px auto;
    display: block;
    width: fit-content;
    text-align: center;
}

.discount-badge {
    display: inline-block;
    background-color: #22c55e;
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 500;
    margin-left: 10px;
}

/* Formulário */
.checkout-form {
    background-color: #1a1a1a;
    border-radius: 15px;
    padding: 25px 20px;
    margin-bottom: 20px;
}

.form-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    color: #aaa;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 15px;
    background-color: #0a0a0a;
    border: 1px solid #333;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #8B0000;
    background-color: #1a1a1a;
}

.form-input.error {
    border-color: #ff4444 !important;
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.error-message {
    display: none;
    color: #ff4444;
    font-size: 13px;
    margin-top: 5px;
}

.error-message.show {
    display: block;
}

/* Order Bumps */
.order-bumps {
    background-color: #1a1a1a;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.bumps-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.bump-item {
    background-color: #0a0a0a;
    border: 2px solid #333;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bump-item.selected {
    border-color: #8B0000;
    background-color: rgba(139, 0, 0, 0.1);
}

.bump-content {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.bump-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.bump-info {
    flex: 1;
}

.bump-name {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.bump-description {
    font-size: 13px;
    color: #aaa;
    line-height: 1.4;
    margin-bottom: 10px;
}

.bump-pricing {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bump-price {
    font-size: 16px;
    font-weight: 700;
    color: #22c55e;
}

.bump-original-price {
    font-size: 14px;
    color: #666;
    text-decoration: line-through;
}

.bump-selection {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid #333;
}

.bump-arrow {
    font-size: 24px;
    color: #ff3939;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: translateX(0); }
    50% { transform: translateX(5px); }
    100% { transform: translateX(0); }
}

.bump-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid #666;
    border-radius: 5px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.bump-item.selected .bump-checkbox {
    background-color: #8B0000;
    border-color: #8B0000;
}

.bump-item.selected .bump-checkbox::after {
    content: '✓';
    color: white;
    font-size: 16px;
}

.bump-accept-text {
    font-size: 14px;
    font-weight: 500;
    color: #ff3939;
}

/* Resumo do Pedido */
.order-summary {
    background-color: #1a1a1a;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 80px;
}

.summary-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #333;
}

.summary-item:last-child {
    border-bottom: none;
    padding-top: 15px;
    margin-top: 5px;
    border-top: 2px solid #333;
}

.summary-item-name {
    font-size: 14px;
    color: #aaa;
}

.summary-item-value {
    font-size: 14px;
    color: #fff;
    font-weight: 500;
}

.summary-total {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

/* Botão de Checkout Fixo */
.checkout-button-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #0a0a0a;
    padding: 15px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.checkout-button {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    display: block;
    background-color: #8B0000;
    color: white;
    padding: 18px;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.checkout-button:hover {
    background-color: #a00000;
    transform: translateY(-2px);
}

.checkout-button:active {
    transform: translateY(0);
}

.checkout-button:disabled {
    background-color: #666;
    cursor: not-allowed;
}

/* Loading */
.loading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.loading.active {
    display: flex;
}

.loading p {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-top: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Seção de Pagamento PIX */
.payment-section {
    display: none;
    max-width: 480px;
    margin: 0 auto;
    padding: 0 15px;
}

.payment-section.active {
    display: block;
}

.checkout-section.hidden {
    display: none;
}

.pix-container {
    background-color: #1a1a1a;
    border-radius: 15px;
    padding: 25px 20px;
    margin-bottom: 20px;
    text-align: center;
}

.pix-header {
    margin-bottom: 20px;
}

.pix-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.pix-amount {
    font-size: 28px;
    font-weight: 700;
    color: #22c55e;
    margin-bottom: 5px;
}

.pix-subtitle {
    font-size: 14px;
    color: #aaa;
}

/* QR Code Container */
.qr-code-container {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    display: inline-block;
}

.qr-code-mock {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.qr-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(0deg, #fff 0px, #fff 5px, #000 5px, #000 10px),
        repeating-linear-gradient(90deg, #fff 0px, #fff 5px, #000 5px, #000 10px);
    opacity: 0.1;
}

/* Copy and Paste Container */
.copy-paste-container {
    background-color: #0a0a0a;
    border-radius: 10px;
    padding: 15px;
    margin: 20px 0;
}

.copy-label {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 10px;
}

.copy-code-box {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 15px;
    position: relative;
    word-break: break-all;
    font-size: 12px;
    color: #fff;
    font-family: monospace;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    min-height: 50px;
}

.copy-code-box:hover {
    background-color: #2a2a2a;
    border-color: #8B0000;
}

.copy-button {
    width: 100%;
    background-color: #8B0000;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-button:hover {
    background-color: #a00000;
}

.copy-button.copied {
    background-color: #22c55e;
}

/* Instructions */
.pix-instructions {
    background-color: #1a1a1a;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.instructions-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
}

.instruction-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: #aaa;
    font-size: 14px;
}

.step-number {
    background-color: #8B0000;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
}

.step-text {
    line-height: 1.5;
}

/* Expiration Timer */
.expiration-notice {
    background-color: rgba(139, 0, 0, 0.2);
    border: 1px solid #8B0000;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    margin-bottom: 20px;
}

.expiration-text {
    color: #ff6b6b;
    font-size: 14px;
    margin-bottom: 5px;
}

.expiration-timer {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

/* Back Button */
.back-button {
    background-color: transparent;
    color: #aaa;
    border: 1px solid #333;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.back-button:hover {
    background-color: #1a1a1a;
    color: #fff;
}

/* Toaster Notification */
.toaster {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #22c55e;
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.toaster.show {
    transform: translateX(0);
}

.toaster-icon {
    font-size: 20px;
}

/* Responsividade */
@media (max-width: 480px) {
    .hero-title {
        font-size: 20px;
    }

    .price-badge {
        font-size: 18px;
    }

    .checkout-button {
        font-size: 16px;
    }

    .toaster {
        left: 10px;
        right: 10px;
        top: 10px;
        transform: translateY(-100px);
    }

    .toaster.show {
        transform: translateY(0);
    }
}