(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
 
R$ 36,39
Ganhe 36 pontos
 
R$ 75,99
Ganhe 75 pontos
 
R$ 76,15
Ganhe 76 pontos
 
R$ 75,99
Ganhe 75 pontos
 
R$ 75,99
Ganhe 75 pontos
 
R$ 65,19
Ganhe 65 pontos
 
R$ 75,09
Ganhe 75 pontos
 
R$ 115,25
Ganhe 115 pontos
 
R$ 64,25
Ganhe 64 pontos
 
R$ 44,45
Ganhe 44 pontos
 
R$ 75,09
Ganhe 75 pontos
 
R$ 119,59
Ganhe 119 pontos
 
R$ 55,95
Ganhe 55 pontos
 
R$ 95,39
Ganhe 95 pontos
 
R$ 88,89
Ganhe 88 pontos
Garrafa Térmica de Plástico Basic Branca 300ml
Garrafa Térmica de Plástico Basic Branca 300ml
Código: 57717
GARRAFA TERMICA PLASTICO BALL PRETA 1L
GARRAFA TERMICA PLASTICO BALL PRETA 1L
Código: 62705
 
R$ 58,55
Ganhe 58 pontos
GARRAFA TERMICA PLASTICO BALL BRANCA 1L
GARRAFA TERMICA PLASTICO BALL BRANCA 1L
Código: 62704
 
R$ 79,90
Ganhe 79 pontos
 
R$ 71,45
Ganhe 71 pontos
 
R$ 71,09
Ganhe 71 pontos
 
R$ 130,89
Ganhe 130 pontos
 
R$ 84,95
Ganhe 84 pontos
Carregando produtos...
Cadastre-se para receber nossas ofertas!