(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
FAIXA METALIZADA CORES 500X30CM
FAIXA METALIZADA CORES 500X30CM
Código: 57897
 
R$ 10,65
Ganhe 10 pontos
 
R$ 9,55
Ganhe 9 pontos
FAIXA METALIZADA MULTICOLOR 500X70CM
FAIXA METALIZADA MULTICOLOR 500X70CM
Código: 57896
 
R$ 31,55
Ganhe 31 pontos
 
R$ 55,29
Ganhe 55 pontos
 
R$ 54,09
Ganhe 54 pontos
 
R$ 42,45
Ganhe 42 pontos
 
R$ 9,55
Ganhe 9 pontos
 
R$ 13,80
Ganhe 13 pontos
 
R$ 74,19
Ganhe 74 pontos
 
R$ 24,39
Ganhe 24 pontos
 
R$ 49,59
Ganhe 49 pontos
 
R$ 42,45
Ganhe 42 pontos
GIZ MAGICO PARA CABELO SORITDO C 1UN
GIZ MAGICO PARA CABELO SORITDO C 1UN
Código: 58350
 
R$ 22,79
Ganhe 22 pontos
 
R$ 22,79
Ganhe 22 pontos
 
R$ 13,59
Ganhe 13 pontos
 
R$ 31,49
Ganhe 31 pontos
 
R$ 126,75
Ganhe 126 pontos
 
R$ 92,05
Ganhe 92 pontos
 
R$ 26,35
Ganhe 26 pontos
ESQUELETO DEC PRATA
Código: 37296
 
R$ 52,79
Ganhe 52 pontos
ESQUELETO DEC ROXO
Código: 37297
 
R$ 52,79
Ganhe 52 pontos
Carregando produtos...
Cadastre-se para receber nossas ofertas!