:root {
    --primary-green: #1FDC69;
    --primary-green-dark: #1dbc59;
    --dark-blue: #0F2144;
    --alert-red: #7A1326;
    --light-bg: #F8F9FA;
    --text-color: #4a5568;
    --border-color: #E2E8F0;
    --panini-yellow: #FFD700;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* === Proteção Anti-Cópia === */
* {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

img {
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

/* Reabilitar pointer-events nos botões/links para não quebrar a interação */
a,
button,
input,
label {
    pointer-events: auto;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-blue);
    background-color: #fff;
    line-height: 1.5;
    padding-bottom: 100px;
    /* Space for sticky bar */
    overflow-x: hidden;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Top Bar */
.top-bar {
    background-color: var(--alert-red);
    color: white;
    padding: 10px 0;
    font-size: 0.9rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar-content {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.timer-container,
.stock-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.timer-box,
.stock-box {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Trust Header */
.trust-header {
    background-color: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.85rem;
    color: #666;
    text-align: center;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* CPF Limit */
.cpf-limit {
    border: 2px solid var(--panini-yellow);
    color: #b7950b;
    font-weight: 700;
    text-align: center;
    padding: 8px 20px;
    border-radius: 50px;
    width: fit-content;
    margin: 20px auto;
    font-size: 0.9rem;
    background-color: #fffcf0;
}

/* Hero */
.hero {
    text-align: center;
    padding: 20px 0 40px;
}

.brand-logo {
    width: auto;
    height: 120px;
    /* Adjust height based on the image aspect ratio */
    margin: 0 auto 20px;
    display: block;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
    color: var(--dark-blue);
}

.hero h2.subtitle {
    color: #e53e3e;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-text {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.scarcity-text {
    color: #e53e3e;
    font-weight: 600;
    margin-bottom: 30px;
}

.image-placeholder {
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-weight: bold;
    border-radius: 8px;
}

.hero-main-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
}

/* Kits Section */
.kits-section {
    text-align: center;
    padding: 40px 16px;
    background-color: #ffffff;
}

@media (max-width: 640px) {
    .kits-section {
        padding: 24px 12px;
    }

    #kit-form {
        background: white;
        border-radius: 0;
        padding: 0;
        box-shadow: none;
    }
}

.kits-section h2,
.about-section h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--dark-blue);
}

.section-desc {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 10px;
}

.section-subdesc {
    font-size: 1rem;
    color: #777;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Kit Cards */
#kit-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.kit-card {
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    background: white;
    text-align: left;
}

.kit-card:hover {
    border-color: #CBD5E0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.kit-card:has(input:checked) {
    border-color: var(--primary-green);
    border-width: 2px;
    box-shadow: 0 0 0 1px var(--primary-green);
}

/* Radio Button Styling */
.radio-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

input[type="radio"] {
    display: none;
}

.custom-radio {
    width: 24px;
    height: 24px;
    border: 2px solid #CBD5E0;
    border-radius: 50%;
    position: relative;
}

input:checked+.custom-radio {
    border-color: var(--primary-green);
}

input:checked+.custom-radio::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    background-color: var(--primary-green);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Kit Content */
.kit-thumb-placeholder {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    background: #f0f0f0;
}

.kit-thumb-img {
    width: 110px;
    height: 110px;
    flex-shrink: 0;
    object-fit: contain;
    border-radius: 8px;
    background: white;
}

.kit-details {
    flex: 1;
}

.kit-details h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--dark-blue);
}

.kit-includes {
    color: #666;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.tags {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.tag-green {
    background-color: #d1fae5;
    color: #065f46;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tag-gray {
    background-color: #f3f4f6;
    color: #4b5563;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.savings {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.9rem;
}

.kit-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 120px;
}

.discount-badge {
    background-color: var(--dark-blue);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.old-price {
    text-decoration: line-through;
    color: #a0aec0;
    font-size: 0.9rem;
}

.new-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-green);
}

.payment-method {
    font-size: 0.8rem;
    color: #718096;
}

/* Badges */
.badge-popular,
.badge-value {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 12px;
    border-radius: 20px;
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-popular {
    background-color: #e53e3e;
}

.badge-value {
    background-color: var(--primary-green);
}

/* Discount badge no canto superior direito do card */
.discount-badge-corner {
    position: absolute;
    top: -14px;
    right: 12px;
    background-color: var(--dark-blue);
    color: white;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
}

/* About Section */
.about-section {
    background-color: #f8fafc;
    padding: 60px 0;
    margin-top: 40px;
}

.about-section p {
    margin-bottom: 16px;
    color: #4a5568;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-card .icon {
    font-size: 2rem;
    background: #fffcf0;
    padding: 10px;
    border-radius: 8px;
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-text strong {
    color: var(--dark-blue);
    font-size: 1.1rem;
}

.feature-text span {
    font-size: 0.9rem;
    color: #718096;
}

.historical-card {
    background-color: #f1f5f9;
    padding: 25px;
    border-radius: 12px;
    margin: 30px 0;
    border: 1px solid #e2e8f0;
}

.historical-card h3 {
    margin-bottom: 15px;
    color: #2d3748;
    font-style: italic;
    font-weight: 800;
}

.historical-card ul {
    list-style: none;
}

.historical-card li {
    margin-bottom: 10px;
    color: #4a5568;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Sticky Bottom Bar */
.sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.sticky-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.selected-info {
    display: flex;
    flex-direction: column;
}

.selected-info .label {
    font-size: 0.85rem;
    color: #718096;
}

.info-group {
    display: flex;
    gap: 10px;
    align-items: baseline;
}

.selected-info .value {
    font-weight: 700;
    color: var(--dark-blue);
}

.selected-info .price {
    font-weight: 800;
    color: var(--primary-green);
    font-size: 1.2rem;
}

.cta-button {
    background-color: var(--primary-green);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.2s;
}

.cta-button:hover {
    background-color: var(--primary-green-dark);
}

.free-shipping-bar {
    background-color: #f0fdf4;
    color: var(--primary-green);
    text-align: center;
    padding: 8px 0;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Benefits Cards */
.benefits-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.benefit-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
}

.benefit-card h4 {
    color: var(--dark-blue);
    margin-bottom: 4px;
    font-size: 1rem;
}

.benefit-card span {
    font-size: 0.9rem;
    color: #718096;
}

.icon-check,
.icon-clock,
.icon-shield {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.icon-check {
    background-color: #f0fdf4;
    color: #16a34a;
}

.icon-clock {
    background-color: #ecfdf5;
    color: #059669;
}

.icon-shield {
    background-color: #f0f9ff;
    color: #0284c7;
}

/* Reviews Section */
.reviews-section {
    background-color: #f8fafc;
    padding: 60px 0;
    text-align: center;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.review-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    border: 1px solid #e2e8f0;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.avatar {
    width: 45px;
    height: 45px;
    background-color: #cbd5e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #475569;
    background-size: cover;
}

/* Pseudo-avatars for visual enhancement */
/* First avatar handled inline in HTML */

.review-card:nth-child(2) .avatar {
    background-image: url('https://randomuser.me/api/portraits/men/45.jpg');
}

.review-card:nth-child(3) .avatar {
    background-image: url('https://randomuser.me/api/portraits/women/65.jpg');
}

.review-header strong {
    display: block;
    color: var(--dark-blue);
}

.review-header span {
    font-size: 0.85rem;
    color: #94a3b8;
}

.stars {
    color: #fbbf24;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.review-card p {
    color: #4a5568;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.verified {
    font-size: 0.8rem;
    color: #16a34a;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0 100px;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.mt-large {
    margin-top: 60px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 18px 20px;
    background: white;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark-blue);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Inter', sans-serif;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-green);
    font-weight: 300;
}

.faq-question.active::after {
    content: '-';
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    background: #f8fafc;
    color: #4a5568;
    transition: all 0.3s ease;
    line-height: 1.6;
}

.faq-answer.open {
    padding: 20px;
    max-height: 200px;
    /* Approximate max height */
    border-top: 1px solid #e2e8f0;
}

/* Footer */
.site-footer {
    background-color: white;
    padding: 40px 0;
    border-top: 1px solid #e2e8f0;
    margin-bottom: 80px;
    /* Space above sticky bar */
}

.logos-footer {
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
    margin-bottom: 20px;
}

.logos-footer img {
    height: 40px;
}

.footer-fifa-logo {
    height: 50px !important;
}

.footer-content {
    text-align: center;
    color: #718096;
    font-size: 0.9rem;
}

.copyright {
    margin-bottom: 15px;
    line-height: 1.5;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #718096;
    text-decoration: underline;
}

.contact-email {
    color: #cbd5e0;
}

.faq-header-group {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 20px;
}

.faq-subtitle {
    display: block;
    color: #718096;
    font-style: italic;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.faq-header-group h2 {
    margin-top: 5px;
}

/* Responsive */
@media (max-width: 640px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    /* Kit cards: linha principal horizontal + savings na linha de baixo */
    .kit-card {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        padding: 12px 12px 10px;
        gap: 8px;
        text-align: left;
    }

    .radio-section {
        flex-shrink: 0;
        align-self: flex-start;
        margin-top: 4px;
    }

    .kit-thumb-img {
        width: 62px;
        height: 62px;
        object-fit: contain;
        flex-shrink: 0;
        align-self: flex-start;
    }

    .kit-details {
        flex: 1;
        min-width: 0;
        text-align: left;
    }

    .kit-details h3 {
        font-size: 0.95rem;
        margin-bottom: 2px;
    }

    .kit-includes {
        font-size: 0.78rem;
        margin-bottom: 4px;
        line-height: 1.3;
    }

    /* Tags empilhadas verticalmente como no print */
    .tags {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        flex-wrap: nowrap;
    }

    .tag-green,
    .tag-gray {
        font-size: 0.72rem;
        padding: 2px 8px;
    }

    .kit-price {
        align-items: flex-end;
        text-align: right;
        flex-shrink: 0;
        align-self: flex-start;
    }

    .kit-price .old-price {
        font-size: 0.75rem;
    }

    .kit-price .new-price {
        font-size: 1.1rem;
    }

    .kit-price .payment-method {
        font-size: 0.72rem;
    }

    /* Savings ocupa linha inteira abaixo do conteúdo principal */
    .kit-card>.savings {
        flex-basis: 100%;
        width: 100%;
        border-top: 1px solid #e8f5e9;
        padding-top: 8px;
        margin-top: 2px;
        font-size: 0.84rem;
        font-weight: 600;
        color: #16a34a;
    }

    .discount-badge-corner {
        font-size: 0.7rem;
        padding: 2px 6px;
        top: -12px;
        right: 8px;
    }

    .kits-section h2 {
        font-size: 1.4rem;
    }

    .section-desc {
        font-size: 1rem;
    }

    .section-subdesc {
        font-size: 0.9rem;
    }

    .sticky-content {
        flex-direction: column;
        gap: 10px;
    }

    .cta-button {
        width: 100%;
    }

    .info-group {
        justify-content: center;
    }

    .selected-info {
        align-items: center;
    }
}

/* =============================================
   CHECKOUT PIX MODAL
   ============================================= */

/* Reabilitar pointer-events nos inputs do checkout */
.co-modal input,
.co-modal button,
.co-modal label {
    pointer-events: auto;
    user-select: text;
    -webkit-user-select: text;
}

.co-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 33, 68, 0.75);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.co-overlay.co-active {
    opacity: 1;
    visibility: visible;
}

.co-modal {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(15, 33, 68, 0.35);
    transform: translateY(24px) scale(0.97);
    transition: transform 0.35s cubic-bezier(.22, .97, .41, 1);
    scrollbar-width: thin;
}

.co-overlay.co-active .co-modal {
    transform: translateY(0) scale(1);
}

/* Header */
.co-header {
    background: linear-gradient(135deg, var(--dark-blue) 0%, #1a3a6e 100%);
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px 20px 0 0;
}

.co-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 700;
    font-size: 1rem;
}

.co-lock {
    font-size: 1.2rem;
}

.co-close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    pointer-events: auto;
}

.co-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Resumo do Kit */
.co-summary {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border-bottom: 1px solid #d1fae5;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.co-kit-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 10px;
    background: white;
    padding: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    pointer-events: none;
    -webkit-user-drag: none;
}

.co-summary-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.co-kit-name {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--dark-blue);
}

.co-kit-desc {
    font-size: 0.82rem;
    color: #4a5568;
}

.co-kit-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-green);
}

/* Trust badges */
.co-trust {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 10px 22px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.78rem;
    color: #4a5568;
    font-weight: 600;
    flex-wrap: wrap;
}

/* Formulário */
.co-section-title {
    padding: 18px 22px 0;
    font-size: 0.85rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.co-form {
    padding: 12px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.co-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.co-field label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #374151;
}

.co-field input {
    padding: 11px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: var(--dark-blue);
    background: #fff;
    width: 100%;
}

.co-field input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(31, 220, 105, 0.15);
}

.co-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Botão pagar */
.co-pay-btn {
    background: linear-gradient(135deg, var(--primary-green) 0%, #17b558 100%);
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 6px 20px rgba(31, 220, 105, 0.35);
    margin-top: 6px;
    pointer-events: auto;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.co-pay-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(31, 220, 105, 0.45);
}

.co-pay-btn:active {
    transform: translateY(0);
}

.co-pix-icon {
    width: 26px;
    height: 26px;
    pointer-events: none;
}

.co-secure-note {
    text-align: center;
    font-size: 0.78rem;
    color: #94a3b8;
}

/* Mensagem de erro */
.co-error-msg {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.88rem;
    font-weight: 600;
}

/* Loading */
.co-loading-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 22px;
    gap: 20px;
    color: var(--dark-blue);
    font-weight: 600;
}

.co-spinner {
    width: 52px;
    height: 52px;
    border: 4px solid #e2e8f0;
    border-top-color: var(--primary-green);
    border-radius: 50%;
    animation: co-spin 0.9s linear infinite;
}

@keyframes co-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Estado PIX */
.co-pix-header {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f0fdf4;
    border-bottom: 1px solid #d1fae5;
    padding: 16px 22px;
}

.co-pix-check {
    width: 44px;
    height: 44px;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    flex-shrink: 0;
}

.co-pix-header strong {
    display: block;
    color: var(--dark-blue);
    font-size: 0.98rem;
}

.co-pix-header p {
    font-size: 0.82rem;
    color: #4a5568;
    margin: 0;
}

/* Timer */
.co-pix-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 22px;
    background: #fffbeb;
    border-bottom: 1px solid #fef3c7;
    font-size: 0.9rem;
    font-weight: 600;
    color: #92400e;
}

.co-timer-value {
    font-size: 1.2rem;
    font-weight: 800;
    color: #b45309;
    letter-spacing: 0.05em;
}

/* QR Code */
.co-qr-box {
    display: flex;
    justify-content: center;
    padding: 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.co-qr-img {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    border: 3px solid white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

/* Área copiar */
.co-copy-area {
    padding: 16px 22px;
    border-bottom: 1px solid #e2e8f0;
}

.co-copy-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
}

.co-copy-row {
    display: flex;
    gap: 8px;
}

.co-pix-input {
    flex: 1;
    padding: 10px 12px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.78rem;
    color: #374151;
    background: #f8fafc;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: auto;
    user-select: all;
}

.co-copy-btn {
    background: var(--dark-blue);
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    white-space: nowrap;
    pointer-events: auto;
}

.co-copy-btn:hover {
    background: #162f5c;
}

.co-copy-btn.co-copied {
    background: var(--primary-green);
}

/* Aguardando */
.co-awaiting {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    font-size: 0.85rem;
    color: #059669;
    font-weight: 600;
    background: #f0fdf4;
    border-bottom: 1px solid #d1fae5;
}

.co-pulse {
    width: 10px;
    height: 10px;
    background: var(--primary-green);
    border-radius: 50%;
    animation: co-pulse 1.4s ease-in-out infinite;
}

@keyframes co-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.6);
        opacity: 0.5;
    }
}

/* Passos */
.co-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 22px;
}

.co-step {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #4a5568;
}

.co-step-n {
    width: 26px;
    height: 26px;
    background: var(--dark-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Sucesso */
.co-success-box,
.co-error-box {
    padding: 40px 22px;
    text-align: center;
}

.co-success-icon,
.co-error-icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
}

.co-success-box h3,
.co-error-box h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.co-success-box p,
.co-error-box p {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.co-success-info {
    background: #f0fdf4;
    border: 1px solid #d1fae5;
    border-radius: 10px;
    padding: 14px;
    color: var(--dark-blue);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive mobile */
@media (max-width: 480px) {
    .co-modal {
        border-radius: 16px;
    }

    .co-header {
        border-radius: 16px 16px 0 0;
    }

    .co-row {
        grid-template-columns: 1fr;
    }

    .co-qr-img {
        width: 180px;
        height: 180px;
    }
}

/* Divisor entre seções do formulário */
.co-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 0 22px;
}

/* CEP wrapper com spinner inline */
.co-cep-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.co-cep-wrapper input {
    width: 100%;
    padding-right: 36px;
}

.co-cep-spinner {
    display: none;
    position: absolute;
    right: 10px;
    width: 16px;
    height: 16px;
    border: 2px solid #e2e8f0;
    border-top-color: var(--primary-green);
    border-radius: 50%;
    animation: co-spin 0.8s linear infinite;
    flex-shrink: 0;
}

/* Label helper */
.co-optional {
    font-weight: 400;
    color: #94a3b8;
    font-size: 0.75rem;
}

/* =============================================
   SUPORTE AO BROWSER INTERNO DO TIKTOK
   Replica os estilos do @media (max-width:640px)
   usando a classe .tiktok-browser injetada via JS
   ============================================= */
.tiktok-browser body {
    font-size: 16px;
}

.tiktok-browser .hero h1 {
    font-size: 1.6rem;
}

.tiktok-browser .kits-section {
    padding: 24px 12px;
}

.tiktok-browser #kit-form {
    background: white;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.tiktok-browser .kits-section h2 {
    font-size: 1.4rem;
}

.tiktok-browser .section-desc {
    font-size: 1rem;
}

.tiktok-browser .section-subdesc {
    font-size: 0.9rem;
}

/* Kit cards no TikTok browser: layout horizontal com savings abaixo */
.tiktok-browser .kit-card {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 12px 12px 10px;
    gap: 8px;
    text-align: left;
}

.tiktok-browser .radio-section {
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 4px;
}

.tiktok-browser .kit-thumb-img {
    width: 62px;
    height: 62px;
    object-fit: contain;
    flex-shrink: 0;
    align-self: flex-start;
}

.tiktok-browser .kit-details {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.tiktok-browser .kit-details h3 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.tiktok-browser .kit-includes {
    font-size: 0.78rem;
    margin-bottom: 4px;
    line-height: 1.3;
}

.tiktok-browser .tags {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    flex-wrap: nowrap;
}

.tiktok-browser .tag-green,
.tiktok-browser .tag-gray {
    font-size: 0.72rem;
    padding: 2px 8px;
}

.tiktok-browser .kit-price {
    align-items: flex-end;
    text-align: right;
    flex-shrink: 0;
    align-self: flex-start;
}

.tiktok-browser .kit-price .old-price {
    font-size: 0.75rem;
}

.tiktok-browser .kit-price .new-price {
    font-size: 1.1rem;
}

.tiktok-browser .kit-price .payment-method {
    font-size: 0.72rem;
}

.tiktok-browser .kit-card>.savings {
    flex-basis: 100%;
    width: 100%;
    border-top: 1px solid #e8f5e9;
    padding-top: 8px;
    margin-top: 2px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #16a34a;
}

.tiktok-browser .discount-badge-corner {
    font-size: 0.7rem;
    padding: 2px 6px;
    top: -12px;
    right: 8px;
}

.tiktok-browser .sticky-content {
    flex-direction: column;
    gap: 10px;
}

.tiktok-browser .cta-button {
    width: 100%;
}

.tiktok-browser .info-group {
    justify-content: center;
}

.tiktok-browser .selected-info {
    align-items: center;
}

/* Garante que imagens não ultrapassem a tela no TikTok */
.tiktok-browser img {
    max-width: 100%;
    height: auto;
}

.tiktok-browser .container {
    max-width: 100%;
    padding: 0 12px;
}

.tiktok-browser .reviews-grid {
    grid-template-columns: 1fr;
}

.tiktok-browser .features-grid {
    grid-template-columns: 1fr 1fr;
}

.tiktok-browser .benefits-cards {
    grid-template-columns: 1fr;
}

.tiktok-browser .co-modal {
    width: 95vw;
    max-width: 95vw;
}

.tiktok-browser .co-row {
    flex-direction: column;
}