(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
Spuminha da Alegria 400ml
Código: 18222
 
R$ 10,19
Ganhe 10 pontos
 
R$ 4,39
Ganhe 4 pontos
 
R$ 8,55
Ganhe 8 pontos
 
R$ 8,55
Ganhe 8 pontos
Buzina da Alegria
Código: 18223
 
R$ 25,59
Ganhe 25 pontos
FAIXA METALIZADA CORES 500X30CM
FAIXA METALIZADA CORES 500X30CM
Código: 57897
MARABU TECIDO VERDE
Código: 40674
 
R$ 4,09
Ganhe 4 pontos
MARABU TECIDO AMARELO
Código: 40667
 
R$ 4,09
Ganhe 4 pontos
MARABU TECIDO LILAS
Código: 40673
 
R$ 4,09
Ganhe 4 pontos
MARABU TECIDO LARANJA
Código: 40672
 
R$ 4,59
Ganhe 4 pontos
FAIXA METALIZADA MULTICOLOR 500X70CM
FAIXA METALIZADA MULTICOLOR 500X70CM
Código: 57896
 
R$ 55,29
Ganhe 55 pontos
 
R$ 54,09
Ganhe 54 pontos
Apito Plastoy
Código: 18192
 
R$ 6,49
Ganhe 6 pontos
Trombone Plastoy
Código: 18194
 
R$ 11,75
Ganhe 11 pontos
 
R$ 42,45
Ganhe 42 pontos
 
R$ 9,55
Ganhe 9 pontos
Cornetão Plastoy
Código: 18197
 
R$ 8,05
Ganhe 8 pontos
Folião Plastoy
Código: 18198
 
R$ 25,05
Ganhe 25 pontos
Chupetão Plastoy
Código: 18200
 
R$ 10,35
Ganhe 10 pontos
 
R$ 15,09
Ganhe 15 pontos
 
R$ 15,09
Ganhe 15 pontos
 
R$ 15,09
Ganhe 15 pontos
 
R$ 15,09
Ganhe 15 pontos
Reco Reco Plastoy
Código: 29051
 
R$ 4,75
Ganhe 4 pontos
Carregando produtos...
Cadastre-se para receber nossas ofertas!