(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

Não foram encontrados produtos com os filtros aplicados

Remova ou ajuste os filtros para continuar
 
R$ 0,33
Ganhe 0 pontos
 
R$ 84,69
Ganhe 84 pontos
GAS HELIO HELIX M3
Código: 16675
 
R$ 2.107,39
Ganhe 2107 pontos
PITCHER 300ML
Código: 35902
PITCHER 300ML
Código: 35902
 
R$ 209,35
Ganhe 209 pontos
 
R$ 209,35
Ganhe 209 pontos
PITCHER 600ML
Código: 35903
 
R$ 235,49
Ganhe 235 pontos
TAMPER
Código: 35904
 
R$ 327,10
Ganhe 327 pontos
ZARPAN N HIDROSSOLUVEL ADINOR 5L
ZARPAN N HIDROSSOLUVEL ADINOR 5L
Código: 46990
 
R$ 7,25
Ganhe 7 pontos
 
R$ 13,55
Ganhe 13 pontos
 
R$ 161,75
Ganhe 161 pontos
 
R$ 160,49
Ganhe 160 pontos
 
R$ 280,55
Ganhe 280 pontos
REMOVIT WAX SUPER 5LT
Código: 32781
 
R$ 212,09
Ganhe 212 pontos
BECKER SEALER PLUS 5LT
Código: 33427
 
R$ 302,15
Ganhe 302 pontos
ETIQUETA 60X40 FILIZOLA
Código: 14302
 
R$ 17,15
Ganhe 17 pontos
 
R$ 86,29
Ganhe 86 pontos
COPO AZUL ESCURO BALLANTINES
COPO AZUL ESCURO BALLANTINES
Código: 18975
COPO VERMELHO BEEFEATER
COPO VERMELHO BEEFEATER
Código: 18976
 
R$ 109,70
Ganhe 109 pontos
 
R$ 111,09
Ganhe 111 pontos
RIBBON 110X74 RESINA
Código: 46993
 
R$ 25,29
Ganhe 25 pontos
 
R$ 38,59
Ganhe 38 pontos
 
R$ 45,39
Ganhe 45 pontos
 
R$ 186,35
Ganhe 186 pontos
Carregando produtos...
Cadastre-se para receber nossas ofertas!