(function() { const REGRA_AZUL = 'ENTREGA AZUL'; const TEXTO_AZUL = 'Informe o horário preferencial para entrega do seu pedido'; const TEXTO_PADRAO = 'Faça suas solicitações para a entrega'; function executarTroca() { const itens = document.querySelectorAll('.freight-methods__item'); const campo = document.getElementById('observacoes_entrega'); if (!campo) return; const container = campo.closest('.form-group'); const label = container?.querySelector('label b'); if (!label) return; let isAzul = false; itens.forEach(item => { const radio = item.querySelector('input[type="radio"]'); const titulo = item.querySelector('.freight-methods__item-title b')?.innerText || ""; if (radio && radio.checked && titulo.toUpperCase().includes(REGRA_AZUL)) { isAzul = true; } }); // 🔵 CASO ENTREGA AZUL if (isAzul) { // Atualiza label if (label.innerText !== TEXTO_AZUL) { label.innerText = TEXTO_AZUL; } // Se ainda for textarea, troca para input time if (campo.tagName.toLowerCase() === 'textarea') { const novoInput = document.createElement('input'); novoInput.type = 'time'; novoInput.className = campo.className; novoInput.name = campo.name; novoInput.id = campo.id; novoInput.value = campo.value; campo.parentNode.replaceChild(novoInput, campo); } } else { // ⚪ CASO PADRÃO if (label.innerText !== TEXTO_PADRAO) { label.innerText = TEXTO_PADRAO; } // Se virou input, volta pra textarea if (campo.tagName.toLowerCase() === 'input') { const novoTextarea = document.createElement('textarea'); novoTextarea.className = campo.className; novoTextarea.name = campo.name; novoTextarea.id = campo.id; novoTextarea.maxLength = 500; novoTextarea.rows = 2; novoTextarea.value = campo.value; campo.parentNode.replaceChild(novoTextarea, campo); } } } const interval = setInterval(executarTroca, 500); setTimeout(() => clearInterval(interval), 30000); document.addEventListener('change', executarTroca); document.addEventListener('click', executarTroca); const observer = new MutationObserver(executarTroca); observer.observe(document.body, { childList: true, subtree: true }); executarTroca(); })();
MENU
Filtros
Filtrar por:

Não foram encontrados produtos com os filtros aplicados

Remova ou ajuste os filtros para continuar
Achocolatado Activ-go Nescau 180ml
ACHOC NESCAU ACTIV-GO BLACTEA 180ML
Código: 44584
Achocolatado Activ-go Nescau 180ml
ACHOC NESCAU ACTIV-GO BLACTEA 180ML
Código: 44584
 
R$ 2,30
Ganhe 2 pontos
 
R$ 2,30
Ganhe 2 pontos
 
R$ 7,99
Ganhe 7 pontos
Leite em Pó Ninho Instantâneo Integral 750g
Leite em Pó Ninho Instantâneo Integral 750g
Código: 62088
 
R$ 36,99
Ganhe 36 pontos
 
R$ 36,99
Ganhe 36 pontos
 
R$ 36,99
Ganhe 36 pontos
 
R$ 19,99
Ganhe 19 pontos
 
R$ 8,65
Ganhe 8 pontos
Mucilon Multicereais 180g
Código: 47407
 
R$ 6,59
Ganhe 6 pontos
 
R$ 6,59
Ganhe 6 pontos
 
R$ 9,09
Ganhe 9 pontos
 
R$ 8,29
Ganhe 8 pontos
 
R$ 51,29
Ganhe 51 pontos
 
R$ 37,75
Ganhe 37 pontos
 
R$ 2,95
Ganhe 2 pontos
 
R$ 2,89
Ganhe 2 pontos
 
R$ 6,25
Ganhe 6 pontos
 
R$ 8,89
Ganhe 8 pontos
 
R$ 8,89
Ganhe 8 pontos
 
R$ 8,89
Ganhe 8 pontos
 
R$ 8,89
Ganhe 8 pontos
 
R$ 14,25
Ganhe 14 pontos
 
R$ 18,99
Ganhe 18 pontos
Snack Mucilon Milho 35g
Código: 47195
 
R$ 7,19
Ganhe 7 pontos
Snack Mucilon Tomate 35g
Código: 48863
 
R$ 7,19
Ganhe 7 pontos
Carregando produtos...
Cadastre-se para receber nossas ofertas!