(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
% PROMOÇÃO
Palavra de Mesa ZD Vó Branco 10cmX13cm
De: R$ 22,19
Por: R$ 9,90
Ganhe 9 pontos
De: R$ 41,80
Por: R$ 29,90
Ganhe 29 pontos
De: R$ 44,29
Por: R$ 29,90
Ganhe 29 pontos
 
R$ 41,09
Ganhe 41 pontos
 
R$ 18,99
Ganhe 18 pontos
 
R$ 23,15
Ganhe 23 pontos
 
R$ 40,00
Ganhe 40 pontos
 
R$ 41,10
Ganhe 41 pontos
 
R$ 41,10
Ganhe 41 pontos
 
R$ 14,25
Ganhe 14 pontos
 
R$ 27,79
Ganhe 27 pontos
 
R$ 34,75
Ganhe 34 pontos
 
R$ 35,35
Ganhe 35 pontos
% PROMOÇÃO
Porta Retrato ZD Elástico Pai do Coração
De: R$ 22,79
Por: R$ 9,90
Ganhe 9 pontos
De: R$ 29,49
Por: R$ 19,90
Ganhe 19 pontos
% PROMOÇÃO
Porta Retrato ZD Elástico Tal Avô Tal Pai
De: R$ 41,80
Por: R$ 29,90
Ganhe 29 pontos
% PROMOÇÃO
Porta Retrato ZD Tal Vó Tal Neto 14cmX28,5cm
De: R$ 41,80
Por: R$ 29,90
Ganhe 29 pontos
% PROMOÇÃO
Porta Retrato ZD Pai Amigo Campeão
De: R$ 41,80
Por: R$ 29,90
Ganhe 29 pontos
De: R$ 41,80
Por: R$ 29,90
Ganhe 29 pontos
De: R$ 41,80
Por: R$ 29,90
Ganhe 29 pontos
De: R$ 41,80
Por: R$ 29,90
Ganhe 29 pontos
De: R$ 44,29
Por: R$ 29,90
Ganhe 29 pontos
De: R$ 41,80
Por: R$ 29,90
Ganhe 29 pontos
 
R$ 41,15
Ganhe 41 pontos
Carregando produtos...
Cadastre-se para receber nossas ofertas!