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

body, html {
    width: 100%;
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    background-color: #ffffff;
}

/* Container principal que limita a largura máxima da página */
.container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: none; /* Remove a sombra */
}

/* ===================== Barra de Progresso ===================== */
.progress-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    text-align: center;
}

.progress-step::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 2px;
    background-color: #e0e0e0;
    z-index: 0;
    transform: translateX(-50%);
    z-index: -1;
}

.progress-step:first-child::before {
    content: none;
}

.progress-bullet {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #e0e0e0;
    border: 2px solid #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.progress-bullet.active {
    background-color: #333;
    border-color: #333;
}

.progress-label {
    margin-top: 8px;
    font-size: 10px;
    color: #333;
}

/* ===================== Seção de Forma de Pagamento ===================== */
.tabs {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
    gap: 8px;
    padding-left: 15px;
}

.tab {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    width: 120px;
    height: 49px;
    border: 1px solid #ddd;
    border-radius: 10px;
    cursor: pointer;
    background-color: #f0f0f0;
    transition: all 0.3s ease;
    box-shadow: none;
    position: relative;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1); /* Adiciona uma leve sombra inferior */
}

.tab i {
    font-size: 18px;
}

#credit-card-tab i {
    margin-right: 6px;
}

#pix-tab img {
    width: 130px;
    height: auto;
    max-height: 50px;
}

.tab span {
    font-size: 11px;
    margin-left: 6px;
    font-weight: normal;
}

.tab.active {
    border: 1px solid #009846;
    background-color: #fff;
    box-shadow: none;
}

.tab:hover {
    background-color: #fff;
    border-color: #009846;
    box-shadow: none;
    transform: translateY(-2px);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ===================== Formularios de Pagamento ===================== */
.form-group {
    margin-bottom: 15px;
    padding: 0 15px;
}

.form-group input, 
.form-group select, 
.form-group div {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    height: 44px;
}

.form-group input:focus, 
.form-group select:focus {
    border-color: #009846;
    outline: none;
    background-color: #eef7ee;
}

/* Estilização para a seção "Processado por" */
.inline-block.mb10.mt20 {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    margin-top: 20px;
    padding: 0 15px;
}

.inline-block.mb10.mt20 span {
    font-size: 14px;
    color: #666;
    margin-right: 6px;
}

/* Ajuste do tamanho da imagem */
.inline-block.mb10.mt20 img {
    width: 100px; /* Ajustado para um tamanho menor, mais proporcional */
    height: 40px;
    margin-left: 4px; /* Ajusta a margem para alinhar melhor com o texto */
    vertical-align: middle; /* Garante o alinhamento com o texto */
}

/* Contêiner de imagem adicional (formas de pagamento) */
.-payment-list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
    padding-bottom: 10px;
}

.-payment-list p {
    font-size: 14px;
    font-weight: normal;
    color: #666;
    margin-bottom: 15px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    width: 100%;
}

.-payment-list img {
    width: 30px;
    height: 20px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.-payment-list img:hover {
    transform: scale(1.1);
}

/* ===================== Botões ===================== */
.btn {
    display: block;
    width: 100%;
    padding: 15px;
    font-size: 18px;
    background-color: #009846;
    color: white;
    text-align: center;
    border: none;
    cursor: pointer;
    margin-top: 20px;
    border-radius: 5px;
    font-weight: bold;
    letter-spacing: 0.05em;
    position: relative;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #007b33;
}

.btn-back {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    background-color: #fff;
    border: 1px solid #333;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-back i {
    margin-right: 8px;
    font-size: 18px;
}

.btn-back:hover {
    background-color: #f0f0f0;
}

/* ===================== Detalhes do Produto ===================== */
#product-details {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 8px;
    background-color: #fff;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra suave */
}

#product-details img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    margin-right: 15px;
}

#product-details h2 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

#product-details p {
    font-size: 14px;
    margin-bottom: 5px;
}

#product-price {
    font-size: 16px;
    font-weight: bold;
    color: #009846;
}

#product-discount {
    font-size: 12px;
    text-decoration: line-through;
    color: #888;
}

/* ===================== Resumo do Pedido ===================== */
.resumo-pedido h3 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.resumo-pedido ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.resumo-pedido li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
    color: #333;
    border-bottom: 1px dashed #ddd;
}

.product-name {
    font-weight: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 75%;
}

.product-price {
    font-weight: bold;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
}

/* ===================== Valor Total ===================== */
.total-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-top: 1px solid #ddd;
    margin-top: 20px;
    width: calc(100% - 30px);
    margin-left: 15px;
}

.total-container p {
    font-weight: normal;
}

.total-pedido {
    font-size: 18px;
    font-weight: bold;
    color: #009846;
}

/* ===================== Informações do PIX ===================== */
.pix-info-container {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #f9f9f9;
    margin-top: 20px;
    margin-bottom: 20px;
    width: calc(100% - 30px);
    margin-left: 15px;
}

.pix-info-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.pix-info-header i {
    font-size: 20px;
    margin-right: 10px;
    color: #009846;
}

.pix-info-title {
    font-size: 15px;
    color: #009846;
    font-weight: bold;
}

.pix-info-content {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.pix-offer-highlight {
    font-size: 16px;
    font-weight: bold;
    color: #e53935;
    margin-top: 10px;
}

/* ===================== Produtos Adicionais (Bump) ===================== */
.adicionais-info {
    text-align: center;
    padding-top: 5px;
    padding-bottom: 10px;
    margin-top: 65px;
    font-size: 14px; /* Define o tamanho do texto da mensagem para 14px */
    color: #666;
    animation: bounce 5s;
}

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

.order-bump {
    width: calc(100% - 30px);
    margin-left: 15px;
    margin-right: 15px;
    padding: 0;
    background-color: #fffbe9;
    max-width: 600px;
    margin: 1rem auto;
    border-radius: 10px;
    box-sizing: border-box;
    border-left: 2px dashed #d22;
    border-bottom: 2px dashed #d22;
    border-right: 2px dashed #d22;
    padding-bottom: 10px;
    border-width: 3px;
    position: relative;
    font-size: 14px; /* Define o tamanho do texto de todo conteúdo do order bump para 14px */
    color: #666;
}

.order-bump h1 {
    background: #d22;
    color: #fff;
    padding: 1rem;
    border-radius: 10px 10px 0 0;
    font-size: 1.1rem;
    text-align: left;
    margin: 0;
    line-height: 1.2;
    width: calc(100% + 6px);
    margin-left: -3px;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

.offer-details {
    padding: 1rem;
    background: #fffbe9;
}

.offer-label {
    display: flex;
    align-items: center;
    margin-top: 1rem;
    background: #fff;
    padding: 0.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Animação de aumento e movimentação da seta */
.order-bump:hover .offer-label, 
.order-bump .offer-checkbox:checked + .offer-label {
    transform: scale(1.02); /* Efeito de leve aumento */
}

.product-arrow {
    color: red;
    font-size: 18px;
    margin-right: 10px;
    align-self: center;
    transition: transform 0.3s ease; /* Transição para suavizar a animação */
}

.offer-label:hover .product-arrow,
.offer-checkbox:checked + .offer-label .product-arrow {
    transform: translateX(5px) scale(1.2); /* Mover a seta para a direita e aumentar */
}

.offer-label img {
    width: 5rem;
    height: auto;
    margin-right: 1rem;
    border-radius: 5px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.offer-checkbox {
    margin-left: 6px;
    margin-right: 6px;
}

.offer-label div {
    flex: 1;
}

/* Mantém o preço original e promocional em negrito e com as cores originais */
.original-price {
    text-decoration: line-through;
    color: #d22;
    font-size: 14px;
    font-weight: bold;
}

.discount-price {
    color: #27ae60;
    font-size: 14px;
    font-weight: bold;
}

/* ===================== 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: 10px;
    text-align: center;
    box-shadow: none;
}

.popup-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

.loading-gif {
    width: 50px;
    height: 50px;
}

/* ===================== Divisor ===================== */
.divisor {
    margin: 40px 0;
    border: none;
    border-top: 1px solid #ddd;
    width: 100%;
}

/* ===================== Títulos e Subtítulos ===================== */
.title, .section-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-left: 15px;
}

.subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    padding-left: 15px;
}

/* ===================== Título e Subtítulo da Oferta ===================== */
.offer-title, .offer-subtitle {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-left: 15px;
}

.offer-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    padding-left: 15px;
}
