(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
VELA PICK AZUL NUMERO 1
Código: 53662
 
R$ 5,65
Ganhe 5 pontos
 
R$ 5,45
Ganhe 5 pontos
VELA PICK ROSA NUMERO 1
Código: 53673
 
R$ 5,65
Ganhe 5 pontos
VELA PICK AZUL NUMERO 3
Código: 53664
 
R$ 5,65
Ganhe 5 pontos
VELA PICK ROSA NUMERO 2
Código: 53674
 
R$ 5,65
Ganhe 5 pontos
VELA PICK AZUL NUMERO 2
Código: 53663
 
R$ 5,65
Ganhe 5 pontos
VELA PICK ROSA NUMERO 3
Código: 53675
 
R$ 5,65
Ganhe 5 pontos
VELA PICK AZUL NUMERO 5
Código: 53666
 
R$ 5,65
Ganhe 5 pontos
VELA PICK AZUL NUMERO 7
Código: 53668
 
R$ 5,65
Ganhe 5 pontos
VELA PICK ROSA NUMERO 4
Código: 53676
 
R$ 5,65
Ganhe 5 pontos
VELA PICK AZUL NUMERO 4
Código: 53665
 
R$ 5,65
Ganhe 5 pontos
VELA PICK AZUL NUMERO 8
Código: 53669
 
R$ 5,65
Ganhe 5 pontos
VELA PICK AZUL NUMERO 0
Código: 53661
 
R$ 5,65
Ganhe 5 pontos
VELA PICK AZUL NUMERO 6
Código: 53667
 
R$ 5,65
Ganhe 5 pontos
VELA PICK ROSA NUMERO 7
Código: 53679
 
R$ 5,65
Ganhe 5 pontos
VELA PICK ROSA NUMERO 5
Código: 53677
 
R$ 5,65
Ganhe 5 pontos
VELA PICK ROSA NUMERO 6
Código: 53678
 
R$ 5,65
Ganhe 5 pontos
VELA PICK ROSA NUMERO 0
Código: 53672
 
R$ 5,65
Ganhe 5 pontos
VELA PICK AZUL NUMERO 9
Código: 53670
 
R$ 5,65
Ganhe 5 pontos
VELA PICK ROSA NUMERO 7
Código: 53680
 
R$ 5,65
Ganhe 5 pontos
VELA PICK ROSA NUMERO 9
Código: 53681
 
R$ 5,65
Ganhe 5 pontos
VELA SILVER PICK ROSE GOLD N 0
VELA SILVER PICK ROSE GOLD N 0
Código: 60012
VELA SILVER PICK ROSE GOLD N 3
VELA SILVER PICK ROSE GOLD N 3
Código: 60013
VELA SILVER PICK ROSE GOLD N 4
VELA SILVER PICK ROSE GOLD N 4
Código: 60014
Carregando produtos...
Cadastre-se para receber nossas ofertas!