/* Estilos Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    background-color: #ffffff;
    color: #2d3748;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
}

/* MOBILE: Forçar sem margem/padding no body e html */
@media (max-width: 768px) {
    html, body {
        margin: 0 !important;
        padding: 0 !important;
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
}

/* ===================== Layout Principal - CORRIGIDO ESPAÇAMENTO SEM CRONÔMETRO ===================== */
.checkout-layout {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 0 20px;
    gap: 20px;
    margin-top: 20px !important; /* Espaçamento padrão para quando não há cronômetro */
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Quando HÁ cronômetro - remover o espaçamento superior pois o cronômetro já fornece */
body:has(#cronometro-container) .checkout-layout {
    margin-top: 0 !important;
}

/* Quando HÁ banner de prova social - ajustar espaçamento */
body:has(#prova-social-banner) .checkout-layout {
    margin-top: 0 !important; /* Banner já fornece o espaçamento necessário */
}

/* Quando há CRONÔMETRO E BANNER - manter sem espaçamento */
body:has(#cronometro-container):has(#prova-social-banner) .checkout-layout {
    margin-top: 0 !important;
}

/* MOBILE: SEMPRE com espaçamento mínimo */
@media (max-width: 768px) {
    .checkout-layout {
        margin-top: 10px !important;
        padding-top: 0 !important;
        flex-direction: column;
        padding: 0;
    }
    
    /* Se há cronômetro no mobile, remover o espaçamento */
    body:has(#cronometro-container) .checkout-layout {
        margin-top: 0 !important;
    }
    
    /* Se há banner no mobile, remover o espaçamento */
    body:has(#prova-social-banner) .checkout-layout {
        margin-top: 0 !important;
    }
}

.checkout-main {
    flex: 1;
    max-width: 600px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.checkout-side {
    width: 270px;
}

/* NOVA CLASSE PARA SIDEBAR APENAS NO DESKTOP */
.checkout-side-desktop {
    display: block;
}

/* Form principal - CORRIGIDO */
form {
    width: 100%;
    padding: 0;
    background-color: transparent;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
    overflow: visible;
}

/* ===================== Barra de Progresso - IDÊNTICA AO DADOS PESSOAIS ===================== */
.progress-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    margin-top: 25px;
    padding: 24px 20px 0 20px;
    position: relative;
}

.progress-container::before {
    content: '';
    position: absolute;
    top: 31px;
    left: 18.5%;
    width: 63%;
    height: 1px;
    background: repeating-linear-gradient(
        to right,
        rgba(203, 213, 224, 0.3) 0px,
        rgba(203, 213, 224, 0.3) 4px,
        transparent 4px,
        transparent 8px
    );
    z-index: 0;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    text-align: center;
}

.progress-step:first-child::before {
    display: none;
}

.progress-bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #e0e0e0;
    border: 2px solid #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 6px #ffffff, 0 0 0 7px #e0e0e0;
}

.progress-bullet.active {
    background-color: #333;
    border-color: #333;
    box-shadow: 0 0 0 6px #ffffff, 0 0 0 7px #333;
}

.progress-label {
    margin-top: 12px;
    font-size: 9px;
    color: #333;
    font-weight: 500;
}

/* ===================== Títulos - IDÊNTICOS AO DADOS PESSOAIS ===================== */
.title {
    font-size: 17px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 12px;
    padding-left: 30px;
    padding-right: 16px;
}

.subtitle {
    font-size: 13px;
    color: #718096;
    margin-bottom: 16px;
    padding-left: 30px;
    padding-right: 16px;
    font-weight: 500;
}

/* ===================== NOVOS ESTILOS PARA LABELS E LAYOUT ===================== */

/* Labels dos campos - mesmo estilo do "Processado por" */
.field-label {
    font-size: 12px;
    color: #718096;
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
    padding-left: 30px;
    padding-right: 16px;
}

/* Labels específicos dos campos do cartão */
.field-label-card {
    font-size: 12px;
    color: #718096;
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
    padding-left: 0;
}

/* Form group sem padding para labels */
.form-group.no-padding {
    padding: 0;
    margin-bottom: 6px;
}

/* Layout para labels lado a lado */
.form-labels-row {
    display: flex;
    gap: 15px;
    padding: 0 30px;
    margin-bottom: 0;
}

.form-label-half {
    flex: 1;
}

.form-label-half .field-label {
    padding-left: 0;
    padding-right: 0;
}

/* Layout CPF e Telefone lado a lado no desktop */
.form-row {
    display: flex;
    gap: 15px;
    padding: 0 30px;
    margin-bottom: 12px;
}

.form-row .form-field {
    flex: 1;
    padding: 0;
}

.form-row .form-field input {
    width: 100%;
}

.form-row .form-field .error-message {
    margin-top: 5px;
    padding-left: 0;
}

/* Campos CPF e Telefone dentro do form-row - BORDAS MAIS VISÍVEIS */
.form-row .form-field input[type="text"],
.form-row .form-field input[type="tel"] {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 2px solid #e2e8f0; /* BORDA MAIS VISÍVEL */
    border-radius: 4px;
    background-color: transparent;
    color: #2d3748;
    height: 44px;
    font-weight: 500;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-row .form-field input[type="text"]::placeholder,
.form-row .form-field input[type="tel"]::placeholder {
    color: #666666;
    font-weight: 400;
}

.form-row .form-field input[type="text"]:focus,
.form-row .form-field input[type="tel"]:focus {
    border: 1px solid #009D68;
    background-color: transparent;
    outline: none;
}

/* Campo CPF específico - BORDA MAIS VISÍVEL */
#cpf-dados {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 2px solid #e2e8f0; /* BORDA MAIS VISÍVEL */
    border-radius: 4px;
    background-color: transparent;
    color: #2d3748;
    height: 44px;
    font-weight: 500;
    transition: all 0.2s ease;
}

#cpf-dados::placeholder {
    color: #666666;
    font-weight: 400;
}

#cpf-dados:focus {
    border: 1px solid #009D68;
    background-color: transparent;
    outline: none;
}

/* Campo telefone específico - BORDA MAIS VISÍVEL */
#phone {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 2px solid #e2e8f0; /* BORDA MAIS VISÍVEL */
    border-radius: 4px;
    background-color: transparent;
    color: #2d3748;
    height: 44px;
    font-weight: 500;
    transition: all 0.2s ease;
}

#phone::placeholder {
    color: #666666;
    font-weight: 400;
}

#phone:focus {
    border: 1px solid #009D68;
    background-color: transparent;
    outline: none;
}

/* Intl Tel Input dentro do form-row - BORDA MAIS VISÍVEL */
.form-row .form-field .iti {
    width: 100% !important;
    display: block !important;
}

.form-row .form-field .iti__container {
    width: 100% !important;
}

.form-row .form-field .iti__input {
    width: 100% !important;
    padding: 10px 12px !important;
    font-size: 14px !important;
    border: 2px solid #e2e8f0 !important; /* BORDA MAIS VISÍVEL */
    border-radius: 4px !important;
    background-color: transparent !important;
    color: #2d3748 !important;
    height: 44px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

.form-row .form-field .iti__input::placeholder {
    color: #666666 !important;
    font-weight: 400 !important;
}

.form-row .form-field .iti__input:focus {
    border: 1px solid #009D68 !important;
    background-color: transparent !important;
    outline: none !important;
}

/* Estados de erro para CPF e telefone - BORDAS FINAS */
.form-row .form-field input.input-error {
    border: 1px solid #e53e3e !important;
    background-color: transparent !important;
}

.form-row .form-field .iti__input.input-error {
    border: 1px solid #e53e3e !important;
    background-color: transparent !important;
}

/* ===================== Form Groups - BORDAS MAIS VISÍVEIS ===================== */
.form-group {
    margin-bottom: 12px;
    padding: 0 30px;
}

/* Primeiro campo após o divisor do produto */
.divisor + .form-group {
    margin-top: 8px;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 2px solid #e2e8f0; /* BORDA MAIS VISÍVEL */
    border-radius: 4px;
    background-color: transparent;
    color: #2d3748;
    height: 44px;
    display: flex;
    align-items: center;
    font-weight: 500;
    transition: all 0.2s ease;
}

.form-group input::placeholder {
    color: #666666;
    font-weight: 400;
}

.form-group input:focus {
    border: 1px solid #009D68;
    background-color: transparent;
    outline: none;
}

/* ===================== Campo de Telefone - Intl Tel Input - BORDA MAIS VISÍVEL ===================== */
.iti {
    width: 100% !important;
    display: block !important;
}

.iti__container {
    width: 100% !important;
}

.iti__input {
    width: 100% !important;
    padding: 10px 12px !important;
    font-size: 14px !important;
    border: 2px solid #e2e8f0 !important; /* BORDA MAIS VISÍVEL */
    border-radius: 6px !important;
    background-color: transparent !important;
    color: #2d3748 !important;
    height: 44px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

.iti__input::placeholder {
    color: #666666 !important;
    font-weight: 400 !important;
}

.iti__input:focus {
    border: 1px solid #009D68 !important;
    background-color: transparent !important;
    outline: none !important;
}

.iti__dropdown {
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.iti__selected-dial-code {
    color: #2d3748 !important;
}

.iti__arrow {
    border-color: #4a5568 transparent transparent !important;
}

/* ===================== Campos Específicos do Checkout - BORDAS MAIS VISÍVEIS ===================== */
.card-number-group,
.card-expiration-group,
.card-cvv-group,
.card-holder-name-group,
.card-cpf-group,
.installments-group {
    margin-bottom: 8px;
    padding: 0;
}

/* Campos do Mercado Pago - BORDAS MAIS VISÍVEIS */
#form-checkout__cardNumber,
#form-checkout__expirationDate,
#form-checkout__securityCode {
    width: 100%;
    padding: 12px 14px;
    font-size: 16px;
    border: 2px solid #e2e8f0; /* BORDA MAIS VISÍVEL */
    border-radius: 4px;
    background-color: transparent;
    color: #2d3748;
    height: 48px;
    font-weight: 500;
    transition: all 0.2s ease;
    display: block;
    line-height: 1.4;
    box-sizing: border-box;
}

/* CORRIGIDO: Campo do titular e parcelamento - BORDAS MAIS VISÍVEIS */
.card-holder-name-input,
.card-cpf-input,
#form-checkout__cardholderName,
#cpf-cartao,
#form-checkout__installments,
.installments-select {
    width: 100%;
    padding: 12px 14px;
    font-size: 16px;
    border: 2px solid #e2e8f0; /* BORDA MAIS VISÍVEL */
    border-radius: 4px;
    background-color: transparent;
    color: #2d3748;
    height: 48px;
    font-weight: 500;
    transition: all 0.2s ease;
    line-height: 1.4;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Campo de parcelas específico */
#form-checkout__installments,
.installments-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

/* Placeholders */
.card-holder-name-input::placeholder,
.card-cpf-input::placeholder,
#form-checkout__cardholderName::placeholder,
#cpf-cartao::placeholder {
    color: #666666 !important;
    font-weight: 400;
    font-size: 16px;
}

/* Estados de foco - BORDAS MAIS FINAS NO FOCUS */
#form-checkout__cardNumber:focus,
#form-checkout__expirationDate:focus,
#form-checkout__securityCode:focus,
.card-holder-name-input:focus,
.card-cpf-input:focus,
#form-checkout__cardholderName:focus,
#cpf-cartao:focus,
#form-checkout__installments:focus,
.installments-select:focus {
    border: 1px solid #009D68;
    background-color: transparent;
    outline: none;
}

/* ===================== Seção de Forma de Pagamento - ATUALIZADO PIX ICON ===================== */
.tabs {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 12px;
    margin-top: 24px;
    gap: 6px;
    padding-left: 30px;
    padding-right: 16px;
}

.tab {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    width: 100px;
    height: 44px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    cursor: pointer;
    background-color: #ffffff;
    transition: all 0.2s ease;
    position: relative;
}

.tab i {
    font-size: 16px;
    color: #9ca3af;
    transition: color 0.2s ease;
}

#credit-card-tab i {
    margin-right: 5px;
}

/* PIX ICON ATUALIZADO - MESMO TAMANHO DO CARTÃO */
#pix-tab img {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    transition: filter 0.2s ease;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.2) contrast(0.3); /* Cinza claro igual ao cartão */
}

/* PIX ICON ATIVO - VERDE IGUAL AO TÍTULO */
#pix-tab.active img {
    filter: sepia(1) hue-rotate(120deg) saturate(3) brightness(0.7);
}

.tab span {
    font-size: 9px;
    margin-left: 5px;
    font-weight: 400;
    color: #9ca3af;
    transition: all 0.2s ease;
}

.tab.active {
    border: 1px solid #009D68;
    background-color: rgba(0, 157, 104, 0.02);
}

.tab.active i {
    color: #009D68;
}

.tab.active span {
    color: #009D68;
    font-weight: 600;
}

.tab:hover {
    background-color: #f7fafc;
    border-color: #cbd5e0;
}

.tab:hover:not(.active) i {
    color: #6b7280;
}

.tab:hover:not(.active) span {
    color: #6b7280;
}

/* PIX HOVER - IMAGEM MENOS CINZA NO HOVER */
#pix-tab:hover:not(.active) img {
    filter: grayscale(100%) brightness(1.4) contrast(0.4);
}

/* CORREÇÃO MOBILE: GARANTIR BORDA VERDE DO TAB ATIVO */
@media (max-width: 768px) {
    .tab.active,
    .tab.active:hover,
    .tab.active:active,
    .tab.active:focus {
        border: 1px solid #009D68 !important;
        background-color: rgba(0, 157, 104, 0.02) !important;
    }

    .tab.active i,
    .tab.active:hover i,
    .tab.active:active i,
    .tab.active:focus i {
        color: #009D68 !important;
    }

    .tab.active span,
    .tab.active:hover span,
    .tab.active:active span,
    .tab.active:focus span {
        color: #009D68 !important;
        font-weight: 600 !important;
    }

    #pix-tab.active img,
    #pix-tab.active:hover img,
    #pix-tab.active:active img,
    #pix-tab.active:focus img {
        filter: sepia(1) hue-rotate(120deg) saturate(3) brightness(0.7) !important;
    }
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab.hidden {
    display: none !important;
}

.tabs .tab:only-child {
    width: 100%;
    text-align: center;
}

/* ===================== "Processado por" - CORRIGIDO ESPAÇAMENTO ===================== */
.inline-block.mb10.mt20 {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    margin-top: 8px;
    padding: 0 30px;
}

.inline-block.mb10.mt20 span {
    font-size: 12px;
    color: #718096;
    margin-right: 6px;
    font-weight: 500;
}

.inline-block.mb10.mt20 img {
    width: 90px;
    height: 36px;
    margin-left: 4px;
    vertical-align: middle;
}

/* ===================== Ajustes nos campos do cartão - BORDA CONTAINER MAIS SUTIL ===================== */
.card-fields-container {
    padding: 16px;
    margin: 0 30px 8px 30px;
    border: 1px solid #e2e8f0; /* BORDA CONTAINER MAIS SUTIL */
    border-radius: 4px;
    background-color: transparent;
}

.card-fields-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Form groups dentro do card-fields-container sem padding extra */
.card-fields-container .form-group {
    padding: 0;
    margin-bottom: 6px;
}

.card-number-row,
.card-holder-row,
.card-cpf-row,
.card-installments-row {
    width: 100%;
}

.card-expiry-cvv-row {
    display: flex;
    gap: 12px;
}

.card-expiry-cvv-row .form-group {
    flex: 1;
    padding: 0;
    margin-bottom: 0;
}

/* ===================== Botões - SEM ÍCONES ===================== */
.btn,
.submit-button {
    display: block;
    width: calc(100% - 60px);
    margin-left: 30px;
    margin-right: 30px;
    padding: 13px;
    font-size: 15px;
    background-color: #009D68;
    color: white;
    text-align: center;
    border: none;
    cursor: pointer;
    margin-top: 16px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 0.05em;
    position: relative;
    transition: background-color 0.2s ease;
    text-transform: uppercase;
}

/* REMOVIDO TODOS OS ÍCONES */
.btn::after,
.submit-button::after {
    display: none !important;
    content: none !important;
}

.btn:hover,
.submit-button:hover {
    background-color: #00855a;
}

.btn:disabled {
    background-color: #a0aec0;
    cursor: not-allowed;
}

/* REMOVIDO ÍCONE DO DISABLED TAMBÉM */
.btn:disabled::after,
.submit-button:disabled::after {
    display: none !important;
    content: none !important;
}

.btn:focus {
    outline: 2px solid #009D68;
    outline-offset: 2px;
}

/* ===================== Contêiner de Segurança Mobile - APENAS MOBILE ===================== */
.security-container-mobile {
    display: none; /* Escondido no desktop */
}

.divisor-mobile {
    display: none; /* Escondido no desktop */
}

/* Mostrar apenas no mobile */
@media (max-width: 768px) {
    .security-container-mobile {
        display: flex !important;
        justify-content: flex-start;
        align-items: center;
        margin-top: 0;
        margin-bottom: 0;
        margin-left: 10px;
        margin-right: 10px;
        text-align: left;
        gap: 6px;
        padding-top: 8px;
    }

    .security-container-mobile svg {
        width: 16px;
        height: 20px;
        flex-shrink: 0;
    }

    .security-container-mobile p {
        font-size: 12px;
        color: #2d3748;
        font-weight: 600;
        margin: 0;
        line-height: 20px;
    }

    .divisor-mobile {
        display: block !important;
        margin: 8px 10px 0 10px;
        border: none;
        border-top: 1px solid #e2e8f0;
        width: calc(100% - 20px);
    }
}

/* ===================== Termos de Pagamento ===================== */
.payment-terms {
    margin: 16px 30px 0 30px;
    text-align: center;
    padding: 8px 0;
}

.payment-terms p {
    font-size: 10px;
    color: #718096;
    line-height: 1.4;
    margin: 0;
    font-weight: 400;
}

.payment-terms a {
    color: #009D68;
    text-decoration: none;
    font-weight: 500;
}

.payment-terms a:hover {
    text-decoration: underline;
    color: #00855a;
}

.btn-back {
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(100% - 60px);
    margin-left: 30px;
    margin-right: 30px;
    padding: 13px;
    font-size: 15px;
    font-weight: 600;
    color: #4a5568;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 8px;
    margin-bottom: 32px;
}

.btn-back i {
    margin-right: 6px;
    font-size: 16px;
}

.btn-back:hover {
    background-color: #f7fafc;
    border-color: #cbd5e0;
}

/* ===================== Contêiner do Produto - SEM LINHA INFERIOR ===================== */
#product-container {
    display: flex;
    align-items: center;
    padding: 16px;
    border-radius: 0;
    background-color: #ffffff;
    margin-bottom: 0;
    border: none;
    width: 100%;
}

#product-container img {
    width: 70px;
    height: 70px;
    border-radius: 4px;
    margin-right: 12px;
}

#product-details {
    flex: 1;
}

#product-details h2 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #2d3748;
}

#product-details p {
    font-size: 13px;
    margin-bottom: 4px;
    color: #718096;
    font-weight: 500;
}

#product-price {
    font-size: 15px;
    font-weight: bold !important;
    color: #009D68 !important;
}

#product-discount {
    font-size: 11px;
    text-decoration: line-through;
    color: #888;
    font-weight: 500;
}

/* ===================== Contêiner de Segurança - IDÊNTICO AO DADOS PESSOAIS ===================== */
.security-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 16px;
    margin-bottom: 0;
    margin-left: 30px;
    margin-right: 30px;
    text-align: center;
    gap: 8px;
}

.security-container i {
    font-size: 18px;
    color: #009D68;
}

.security-container p {
    font-size: 13px;
    color: #2d3748;
    font-weight: 600;
    margin: 0;
    line-height: 24px;
    padding-bottom: 0;
}

/* ===================== Lista de Pagamentos - IDÊNTICA AO DADOS PESSOAIS ===================== */
.-payment-list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 16px;
    padding: 12px;
    background-color: #f7fafc;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
}

.-payment-list p {
    font-size: 12px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 12px;
    text-align: center;
    width: 100%;
}

.-payment-list img {
    width: 28px;
    height: 18px;
    object-fit: contain;
    transition: transform 0.3s ease;
    opacity: 0.8;
}

.-payment-list img:hover {
    transform: scale(1.1);
    opacity: 1;
}

/* ===================== Divisor - IDÊNTICO AO DADOS PESSOAIS ===================== */
.divisor {
    margin: 20px 30px;
    border: none;
    border-top: 1px solid #e2e8f0;
    width: calc(100% - 60px);
}

/* Separador específico após o produto - CORRIGIDO ESPAÇAMENTO */
#product-container + .divisor {
    margin-top: 16px;
    margin-bottom: 24px;
}

/* ===================== Resumo do Pedido - CORRIGIDOS ===================== */
.resumo-pedido h3 {
    font-size: 16px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 12px;
}

.resumo-pedido ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.resumo-pedido li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 13px;
    color: #4a5568;
    border-bottom: 1px dashed #e2e8f0;
    font-weight: 500;
}

.product-name {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 75%;
}

.product-price {
    font-weight: 700;
    font-size: 13px;
    color: #2d3748;
    white-space: nowrap;
}

.total-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    border-top: 1px solid #e2e8f0;
    margin-top: 16px;
    width: calc(100% - 60px);
    margin-left: 30px;
    background-color: #ffffff;
}

.total-container p {
    font-weight: 600;
    color: #4a5568;
    font-size: 14px;
}

.total-pedido {
    font-size: 17px;
    font-weight: bold;
    color: #009D68;
}

/* ===================== Informações do PIX - CORRIGIDO ESPAÇAMENTO ===================== */
.pix-info-container {
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background-color: #f7fafc;
    margin-top: 8px;
    margin-bottom: 16px;
    width: calc(100% - 60px);
    margin-left: 30px;
}

.pix-info-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.pix-info-header i {
    font-size: 18px;
    margin-right: 8px;
    color: #009D68;
}

.pix-info-title {
    font-size: 14px;
    color: #009D68;
    font-weight: 700;
}

.pix-info-content {
    font-size: 13px;
    color: #4a5568;
    line-height: 1.5;
    font-weight: 500;
}

/* ===================== NOVO ORDER BUMP DESIGN - IGUAL À IMAGEM - IMAGEM AUMENTADA PARA 100px ===================== */

/* Container principal do bump */
.bump-section {
    margin: 30px 0 20px 0;
    padding: 0;
}

/* Título "Aproveite e compre junto:" */
.bump-title {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 20px;
    padding-left: 30px;
    padding-right: 30px;
}

/* Cada item do bump */
.bump-item {
    background-color: #ffffff;
    border: 1px solid #009D68;
    border-radius: 4px;
    margin: 0 30px 15px 30px;
    padding: 16px;
    position: relative;
}

.bump-item:hover {
    /* Hover removido - sem alterações */
}

/* Conteúdo principal (imagem + detalhes) */
.bump-content {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
    padding-bottom: 4px;
}

/* Imagem do produto - AUMENTADA DE 60px PARA 100px NO DESKTOP */
.bump-image {
    width: 100px;
    height: 100px;
    margin-right: 16px;
    flex-shrink: 0;
}

.bump-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

/* Detalhes do produto */
.bump-details {
    flex: 1;
}

/* Título do produto */
.bump-product-title {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 6px;
    line-height: 1.3;
}

/* Descrição do produto */
.bump-description {
    font-size: 12px;
    color: #718096;
    margin-bottom: 10px;
    line-height: 1.4;
}

/* Seção de preços */
.bump-price-section {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Preço original riscado */
.bump-original-price {
    font-size: 12px;
    color: #9ca3af;
    text-decoration: line-through;
    font-weight: 400;
}

/* Badge de desconto COM SETINHA PARA BAIXO */
.bump-discount-badge {
    background-color: #009D68;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

/* SETINHA PARA BAIXO NO BADGE DE DESCONTO - DO LADO DIREITO */
.bump-discount-badge::after {
    content: "▼";
    font-size: 8px;
    margin-left: 2px;
    color: white;
}

/* Preço final */
.bump-final-price {
    font-size: 14px;
    font-weight: 700;
    color: #2d3748;
    margin-top: 4px;
}

/* Seção do checkbox */
.bump-checkbox-section {
    margin-top: 12px;
    padding: 18px 16px;
    background-color: #e8f5e8;
    margin-left: -16px;
    margin-right: -16px;
    margin-bottom: -16px;
    border-radius: 0 0 4px 4px;
}

/* Label do checkbox */
.bump-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 13px;
    color: #4a5568;
    font-weight: 500;
    line-height: 1.4;
}

/* Checkbox personalizado */
.bump-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Checkmark customizado */
.checkmark {
    height: 18px;
    width: 18px;
    background-color: white;
    border: 1px solid #009D68;
    border-radius: 3px;
    margin-right: 8px;
    position: relative;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

/* Hover no checkmark - REMOVIDO */
.bump-checkbox-label:hover .checkmark {
    /* Sem efeito de hover */
}

/* Quando checkbox está checado */
.bump-checkbox:checked ~ .checkmark {
    background-color: #009D68;
    border-color: #009D68;
}

/* Checkmark icon */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Mostrar checkmark quando checado */
.bump-checkbox:checked ~ .checkmark:after {
    display: block;
}

/* Estilo do checkmark */
.bump-checkbox-label .checkmark:after {
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Estados ativos */
.bump-checkbox:checked + .checkmark {
    background-color: #009D68;
    border-color: #009D68;
}

.bump-item.selected {
    border-color: #009D68;
    box-shadow: 0 2px 8px rgba(0, 157, 104, 0.15);
}

/* ===================== Cronômetro - CORRIGIDO GROSSURA ===================== */
#cronometro-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 4px 12px;
    border-radius: 8px 8px 0 0;
    margin-bottom: 10px;
    border-left: none;
    border-right: none;
}

#cronometro-tempo {
    font-size: 20px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 2px;
}

#ampulheta-gif {
    width: 35px;
    height: 35px;
}

#cronometro-texto {
    font-size: 12px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

/* ===================== Provas Sociais Laterais - APENAS DESKTOP ===================== */
#provas-sociais-laterais {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

#provas-sociais-laterais img {
    width: 100%;
    border-radius: 4px;
    background-color: #fff;
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* ===================== NOVA SEÇÃO: PROVAS SOCIAIS MOBILE - FORA DO CONTAINER ===================== */
.provas-sociais-mobile {
    display: none; /* Escondido no desktop */
    width: 100%;
    max-width: 950px;
    margin: 20px auto 0 auto;
    padding: 0 10px;
    flex-direction: column;
    gap: 15px;
}

.provas-sociais-mobile img {
    width: 100%;
    border-radius: 6px;
    background-color: #fff;
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Mostrar apenas no mobile */
@media (max-width: 768px) {
    .provas-sociais-mobile {
        display: flex !important;
    }
}

/* ===================== Banner de Prova Social - CORRIGIDO LARGURA ===================== */
#prova-social-banner {
    max-width: 600px; /* Por padrão, largura do container do checkout */
    width: 100%;
    margin: 0 auto 20px auto;
    padding: 0;
    display: flex;
    justify-content: center;
}

/* Quando há sidebar visível, banner fica maior */
body:has(.checkout-side) #prova-social-banner {
    max-width: 890px; /* Container + sidebar + gap */
}

#imagem-prova-social {
    width: 100%;
    height: auto;
    border-radius: 8px 8px 0 0;
    object-fit: cover;
    display: block;
}

/* ===================== Popup de Carregamento ===================== */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 4px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.popup-content p {
    font-size: 15px;
    margin-bottom: 16px;
    color: #2d3748;
    font-weight: 400;
}

.loading-gif {
    width: 45px;
    height: 45px;
}

/* ===================== Mensagens de Erro - IDÊNTICAS AO DADOS PESSOAIS ===================== */
.error-message {
    font-size: 12px;
    color: #e53e3e;
    margin-top: 5px;
    display: block;
    font-weight: 400;
}

.input-error {
    border: 1px solid #e53e3e !important;
    background-color: transparent !important;
}

.parcelamento-titulo {
    font-size: 13px;
    color: #4a5568;
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    padding: 0;
    margin: 0 0 5px 0;
}

.espaçamento-parcelamento {
    margin-top: 20px;
}

/* ===================== Estados dos Campos - BORDAS FINAS E COLORIDAS ===================== */
.form-group.success input {
    border: 1px solid #009D68;
    background-color: transparent;
}

.form-group.error input {
    border: 1px solid #e53e3e;
    background-color: transparent;
}

.form-group input:hover:not(:focus) {
    border: 1px solid #cbd5e0;
}

/* ===================== Elementos Auxiliares ===================== */
.form-group.has-icon {
    position: relative;
}

.form-group.has-icon i {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: #009D68;
    font-size: 16px;
}

.required::after {
    content: "*";
    color: #e53e3e;
    margin-left: 4px;
}

.helper-text {
    font-size: 12px;
    color: #718096;
    margin-top: 4px;
    line-height: 1.4;
}

label {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 6px;
    display: block;
}

/* ===================== Responsividade Desktop - IDÊNTICA AO DADOS PESSOAIS ===================== */
@media (min-width: 992px) {
    .checkout-layout {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
    }
}

@media (min-width: 1200px) {
    .checkout-layout {
        max-width: 1400px;
    }
}

/* Estilos para desktop */
@media (min-width: 769px) {
    .checkout-layout {
        flex-direction: row;
        padding: 0;
        /* NÃO sobrescrever margin-top aqui - deixar as regras principais funcionarem */
    }
    
    .checkout-main {
        max-width: 600px;
        margin: 0;
    }
    
    .checkout-side {
        display: block;
    }
    
    form {
        max-width: 100%;
        margin: 0;
    }

    #product-container {
        /* Sem ajustes especiais para desktop */
    }
}

/* Banner responsivo para desktop e tablet */
@media (max-width: 990px) {
    #prova-social-banner {
        max-width: 600px;
        width: 100%;
        margin: 10px auto 15px auto; /* Ajustado margin-bottom */
        padding: 0;
        display: flex;
        justify-content: center;
    }

    #imagem-prova-social {
        width: calc(100% - 30px);
        margin: 0 15px;
        height: auto;
        border-radius: 6px;
        border: none;
    }
}

/* ============================================== */
/* MOBILE: OTIMIZAÇÕES APLICADAS APENAS PARA MOBILE */
/* ============================================== */

@media (max-width: 768px) {
    /* MOBILE: ESCONDER A SIDEBAR DESKTOP */
    .checkout-side,
    .checkout-side-desktop {
        display: none !important;
    }
    
    form {
        max-width: 100%;
        margin: 0;
    }

    /* MOBILE: Barra de progresso */
    .progress-container {
        padding: 24px 10px 0 10px;
    }

    .progress-container::before {
        left: 16%;
        width: 68%;
    }

    .progress-label {
        font-size: 10px;
    }

    /* MOBILE: Títulos */
    .title {
        font-size: 19px;
        margin-bottom: 14px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .subtitle {
        font-size: 14px;
        margin-bottom: 18px;
        padding-left: 10px;
        padding-right: 10px;
    }

    /* MOBILE: Labels */
    .field-label {
        padding-left: 10px;
        padding-right: 10px;
    }

    /* MOBILE: Labels dos campos do cartão */
    .field-label-card {
        padding-left: 0;
        padding-right: 0;
    }

    /* MOBILE: Form labels row */
    .form-labels-row {
        flex-direction: column;
        gap: 0;
        padding: 0 10px;
        margin-bottom: 0;
    }

    .form-label-half {
        margin-bottom: 6px;
    }

    /* MOBILE: Form groups - ESPAÇAMENTO REDUZIDO */
    .form-group,
    .card-number-group,
    .card-expiration-group,
    .card-cvv-group,
    .card-holder-name-group,
    .card-cpf-group,
    .installments-group {
        margin-bottom: 10px;
        padding: 0 10px;
    }

    /* MOBILE: Form groups dentro do card-fields-container sem padding extra */
    .card-fields-container .form-group,
    .card-fields-container .card-number-group,
    .card-fields-container .card-expiration-group,
    .card-fields-container .card-cvv-group,
    .card-fields-container .card-holder-name-group,
    .card-fields-container .card-cpf-group,
    .card-fields-container .installments-group {
        padding: 0;
        margin-bottom: 8px;
    }

    /* MOBILE: Primeiro campo após o divisor do produto */
    .divisor + .form-group {
        margin-top: 10px;
    }

    /* MOBILE: Form row em mobile vira coluna */
    .form-row {
        flex-direction: column;
        gap: 0;
        padding: 0 10px;
        margin-bottom: 10px;
    }

    .form-row .form-field {
        margin-bottom: 10px;
    }

    .form-row .form-field:last-child {
        margin-bottom: 0;
    }

    /* Campos CPF e telefone em mobile - BORDAS MAIS VISÍVEIS E FINAS NO FOCUS */
    .form-row .form-field input[type="text"],
    .form-row .form-field input[type="tel"],
    #cpf-dados,
    #phone {
        padding: 12px 14px;
        font-size: 15px;
        height: 48px;
        background-color: transparent;
        border: 2px solid #e2e8f0; /* BORDA MAIS VISÍVEL NO MOBILE */
    }

    .form-row .form-field input[type="text"]:focus,
    .form-row .form-field input[type="tel"]:focus,
    #cpf-dados:focus,
    #phone:focus {
        border: 1px solid #009D68;
        background-color: transparent;
        outline: none;
    }

    .form-row .form-field input[type="text"]::placeholder,
    .form-row .form-field input[type="tel"]::placeholder,
    #cpf-dados::placeholder,
    #phone::placeholder {
        font-size: 14px;
        color: #666666;
    }

    /* Intl Tel Input em mobile - BORDA MAIS VISÍVEL E FINA NO FOCUS */
    .form-row .form-field .iti__input {
        padding: 12px 14px !important;
        font-size: 15px !important;
        height: 48px !important;
        border: 2px solid #e2e8f0 !important; /* BORDA MAIS VISÍVEL NO MOBILE */
    }

    .form-row .form-field .iti__input:focus {
        border: 1px solid #009D68 !important;
        background-color: transparent !important;
        outline: none !important;
    }

    .form-row .form-field .iti__input::placeholder {
        font-size: 14px !important;
        color: #666666 !important;
    }

    /* MOBILE: Campos do cartão - BORDAS MAIS VISÍVEIS E FINAS NO FOCUS */
    .form-group input,
    #form-checkout__cardNumber,
    #form-checkout__expirationDate,
    #form-checkout__securityCode,
    .card-holder-name-input,
    .card-cpf-input,
    #form-checkout__cardholderName,
    #cpf-cartao,
    #form-checkout__installments,
    .installments-select {
        padding: 12px 14px;
        font-size: 15px;
        height: 48px;
        box-sizing: border-box;
        background-color: transparent;
        border: 2px solid #e2e8f0; /* BORDA MAIS VISÍVEL NO MOBILE */
    }

    .form-group input:focus,
    #form-checkout__cardNumber:focus,
    #form-checkout__expirationDate:focus,
    #form-checkout__securityCode:focus,
    .card-holder-name-input:focus,
    .card-cpf-input:focus,
    #form-checkout__cardholderName:focus,
    #cpf-cartao:focus,
    #form-checkout__installments:focus,
    .installments-select:focus {
        border: 1px solid #009D68;
        background-color: transparent;
        outline: none;
    }

    .form-group input::placeholder,
    .card-holder-name-input::placeholder,
    .card-cpf-input::placeholder,
    #form-checkout__cardholderName::placeholder,
    #cpf-cartao::placeholder {
        font-size: 14px;
        color: #666666 !important;
    }

    /* MOBILE: Campo de telefone - BORDA MAIS VISÍVEL E FINA NO FOCUS */
    .iti__input {
        padding: 12px 14px !important;
        font-size: 15px !important;
        height: 48px !important;
        border: 2px solid #e2e8f0 !important; /* BORDA MAIS VISÍVEL NO MOBILE */
    }

    .iti__input:focus {
        border: 1px solid #009D68 !important;
        background-color: transparent !important;
        outline: none !important;
    }

    .iti__input::placeholder {
        font-size: 14px !important;
        color: #666666 !important;
    }

    /* MOBILE: Card fields em mobile - CVV AO LADO DA VALIDADE */
    .card-expiry-cvv-row {
        display: flex;
        gap: 8px;
    }

    .card-fields-container {
        padding: 12px;
        margin: 0 10px 6px 10px;
        border: 1px solid #e2e8f0; /* CONTAINER MAIS SUTIL NO MOBILE */
        border-radius: 4px;
        background-color: transparent;
    }

    .card-fields-grid {
        gap: 4px;
    }

    /* MOBILE: CVV ao lado da validade mantido */
    .card-expiry-cvv-row .form-group {
        padding: 0;
        margin-bottom: 0;
    }

    /* MOBILE: Botões */
    .btn,
    .submit-button {
        width: calc(100% - 20px);
        margin-left: 10px;
        margin-right: 10px;
        padding: 15px;
        font-size: 16px;
        margin-top: 18px;
    }

    /* GARANTIR QUE NÃO HÁ ÍCONES NO MOBILE */
    .btn::after,
    .submit-button::after {
        display: none !important;
        content: none !important;
    }

    .btn:disabled::after,
    .submit-button:disabled::after {
        display: none !important;
        content: none !important;
    }

    /* MOBILE: Termos de Pagamento */
    .payment-terms {
        margin: 16px 10px 0 10px;
        padding: 10px 0;
    }

    .payment-terms p {
        font-size: 11px;
        line-height: 1.5;
    }

    .btn-back {
        width: calc(100% - 20px);
        margin-left: 10px;
        margin-right: 10px;
        padding: 15px;
        font-size: 16px;
    }

    .btn-back i {
        margin-right: 8px;
        font-size: 18px;
    }

    /* MOBILE: Contêiner do produto */
    #product-container {
        padding: 18px;
    }

    #product-container img {
        width: 80px;
        height: 80px;
        margin-right: 15px;
    }

    #product-details h2 {
        font-size: 18px;
        margin-bottom: 6px;
    }

    #product-details p {
        font-size: 14px;
        margin-bottom: 6px;
    }

    #product-price {
        font-size: 17px;
    }

    #product-discount {
        font-size: 12px;
    }

    /* MOBILE: Tabs - TAMANHOS AUMENTADOS */
    .tabs {
        padding-left: 10px;
        padding-right: 10px;
        margin-top: 20px;
        margin-bottom: 10px;
        gap: 8px;
    }

    .tab {
        height: 52px;
        width: 110px;
        padding: 10px 14px;
    }

    .tab span {
        font-size: 11px;
        font-weight: 500;
    }

    /* PIX ICON MOBILE - TAMANHO AUMENTADO */
    #pix-tab img {
        width: 18px;
        height: 18px;
        margin-right: 6px;
        object-fit: contain;
        filter: grayscale(100%) brightness(1.2) contrast(0.3); /* Cinza claro igual ao cartão */
        transition: filter 0.2s ease;
    }

    .tab i {
        font-size: 18px;
    }

    #credit-card-tab i {
        margin-right: 6px;
    }

    /* PIX ICON ATIVO MOBILE - VERDE IGUAL AO TÍTULO */
    #pix-tab.active img {
        filter: sepia(1) hue-rotate(120deg) saturate(3) brightness(0.7);
    }

    /* PIX HOVER MOBILE */
    #pix-tab:hover:not(.active) img {
        filter: grayscale(100%) brightness(1.4) contrast(0.4);
    }

    /* MOBILE: "Processado por" - CORRIGIDO ESPAÇAMENTO */
    .inline-block.mb10.mt20 {
        padding: 0 10px;
        margin-top: 4px;
    }

    .inline-block.mb10.mt20 span {
        font-size: 13px;
    }

    .inline-block.mb10.mt20 img {
        width: 100px;
        height: 40px;
    }

    /* MOBILE: Contêiner de segurança */
    .security-container {
        margin-top: 18px;
        margin-bottom: 0;
        margin-left: 10px;
        margin-right: 10px;
        gap: 10px;
    }

    .security-container i {
        font-size: 20px;
    }

    .security-container p {
        font-size: 14px;
        line-height: 26px;
    }

    /* MOBILE: Lista de pagamentos */
    .-payment-list {
        gap: 10px;
        margin-top: 26px;
        margin-left: 10px;
        margin-right: 10px;
        margin-bottom: 18px;
        padding: 14px;
    }

    .-payment-list p {
        font-size: 13px;
        margin-bottom: 14px;
    }

    .-payment-list img {
        width: 32px;
        height: 20px;
    }

    /* MOBILE: Divisor */
    .divisor {
        margin: 20px 10px;
        width: calc(100% - 20px);
    }

    /* MOBILE: Separador específico após o produto - CORRIGIDO ESPAÇAMENTO */
    #product-container + .divisor {
        margin-top: 12px;
        margin-bottom: 18px;
    }

    /* MOBILE: Cronômetro - CORRIGIDO GROSSURA MOBILE */
    #cronometro-container {
        gap: 10px;
        padding: 4px 15px;
    }

    #cronometro-tempo {
        font-size: 22px;
        letter-spacing: 2px;
    }

    #ampulheta-gif {
        width: 40px;
        height: 40px;
    }

    #cronometro-texto {
        font-size: 13px;
    }

    /* MOBILE: Banner - CORRIGIDO LARGURA */
    #prova-social-banner {
        max-width: 950px;
        width: 100%;
        margin: 10px auto 15px auto; /* Ajustado margin-bottom */
        padding: 0;
        display: flex;
        justify-content: center;
    }

    #imagem-prova-social {
        width: calc(100% - 20px);
        margin: 0 10px;
        height: auto;
        border-radius: 6px;
        border: none;
    }

    /* MOBILE: PIX info - CORRIGIDO ESPAÇAMENTO */
    .pix-info-container {
        width: calc(100% - 20px);
        margin-left: 10px;
        padding: 14px;
        margin-top: 4px;
    }

    .pix-info-header i {
        font-size: 20px;
        margin-right: 10px;
    }

    .pix-info-title {
        font-size: 15px;
    }

    .pix-info-content {
        font-size: 14px;
    }

    /* MOBILE: Resumo */
    .total-container {
        padding: 10px 10px;
        width: calc(100% - 20px);
        margin-left: 10px;
    }

    .total-container p {
        font-size: 15px;
    }

    .total-pedido {
        font-size: 19px;
    }

    /* MOBILE: Error messages */
    .error-message {
        font-size: 13px;
        margin-top: 6px;
    }

    /* MOBILE: Ícones */
    .form-group.has-icon i {
        right: 20px;
    }

    /* MOBILE: BUMP - IMAGEM AUMENTADA DE 55px PARA 85px NO MOBILE */
    .bump-title {
        font-size: 17px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .bump-item {
        margin: 0 10px 12px 10px;
        padding: 14px;
        border: 1px solid #009D68;
    }

    .bump-image {
        width: 85px;
        height: 85px;
        margin-right: 12px;
    }

    .bump-product-title {
        font-size: 15px;
    }

    .bump-description {
        font-size: 13px;
    }

    .bump-final-price {
        font-size: 15px;
    }

    .bump-checkbox-label {
        font-size: 14px;
    }

    .checkmark {
        height: 20px;
        width: 20px;
        margin-right: 10px;
        border: 1px solid #009D68;
        display: inline-block;
        vertical-align: middle;
    }

    .bump-checkbox-label .checkmark:after {
        left: 6px;
        top: 3px;
        width: 5px;
        height: 9px;
    }

    /* MOBILE: Seção do checkbox */
    .bump-checkbox-section {
        margin-top: 10px;
        padding: 16px 14px;
        background-color: #e8f5e8;
        margin-left: -14px;
        margin-right: -14px;
        margin-bottom: -14px;
        border-radius: 0 0 4px 4px;
    }

    /* MOBILE: Badge de desconto com setinha no mobile - DO LADO DIREITO */
    .bump-discount-badge::after {
        content: "▼";
        font-size: 7px;
        margin-left: 2px;
        color: white;
    }

    /* MOBILE: Campos específicos para iOS - BORDAS MAIS VISÍVEIS */
    .form-group input,
    #form-checkout__cardNumber,
    #form-checkout__expirationDate,
    #form-checkout__securityCode,
    .card-holder-name-input,
    .card-cpf-input,
    #form-checkout__cardholderName,
    #cpf-cartao,
    #cpf-dados,
    #phone,
    #form-checkout__installments,
    .installments-select,
    .form-row .form-field input[type="text"],
    .form-row .form-field input[type="tel"],
    .form-row .form-field .iti__input,
    .iti__input {
        font-size: 16px; /* Previne zoom no iOS */
        background-color: transparent;
        border: 2px solid #e2e8f0; /* BORDA MAIS VISÍVEL NO MOBILE */
    }

    /* MOBILE: Placeholder colors consistency */
    .form-group input::placeholder,
    .card-holder-name-input::placeholder,
    .card-cpf-input::placeholder,
    #form-checkout__cardholderName::placeholder,
    #cpf-cartao::placeholder,
    #cpf-dados::placeholder,
    #phone::placeholder,
    .form-row .form-field input[type="text"]::placeholder,
    .form-row .form-field input[type="tel"]::placeholder,
    .form-row .form-field .iti__input::placeholder,
    .iti__input::placeholder {
        color: #666666 !important;
    }
}

/* MOBILE: Ajustes específicos para telas muito pequenas */
@media (max-width: 480px) {
    #cronometro-container {
        padding: 4px 15px;
        gap: 12px;
    }

    #cronometro-tempo {
        font-size: 24px;
    }

    #ampulheta-gif {
        width: 45px;
        height: 45px;
    }

    #cronometro-texto {
        font-size: 15px;
    }
}

/* ===================== Animações e Efeitos Adicionais ===================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    animation: fadeIn 0.3s ease-out;
    transition: all 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media print {
    .checkout-layout,
    form {
        box-shadow: none;
        border: 1px solid #000;
    }
    
    .btn {
        background: transparent !important;
        color: #000 !important;
        border: 1px solid #000;
    }
}