(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
H PICK FOLHA DOURADO 46CM
Código: 62079
 
R$ 2,99
Ganhe 2 pontos
 
R$ 10,55
Ganhe 10 pontos
 
R$ 21,65
Ganhe 21 pontos
C CAPIM X10 VERDE 55CM
Código: 31402
 
R$ 1,29
Ganhe 1 pontos
 
R$ 22,59
Ganhe 22 pontos
 
R$ 21,85
Ganhe 21 pontos
 
R$ 12,95
Ganhe 12 pontos
 
R$ 15,15
Ganhe 15 pontos
% PROMOÇÃO
Sacola Coelho Páscoa 17cm Colorida
De: R$ 15,69
Por: R$ 9,99
Ganhe 9 pontos
 
R$ 47,39
Ganhe 47 pontos
 
R$ 15,15
Ganhe 15 pontos
 
R$ 20,09
Ganhe 20 pontos
 
R$ 22,10
Ganhe 22 pontos
C GRASS PRINT PLT X96 (VD ESCURO) 48CM
C GRASS PRINT PLT X96 (VD ESCURO) 48CM
Código: 59369
B ROSA X18 (ROSA 2T OUTONO) 33CM
B ROSA X18 (ROSA 2T OUTONO) 33CM
Código: 61557
% PROMOÇÃO
Vaso Cerâmica Ovo Páscoa 10cmX9cmX7cm Azul
De: R$ 20,55
Por: R$ 12,90
Ganhe 12 pontos
 
R$ 35,09
Ganhe 35 pontos
 
R$ 21,15
Ganhe 21 pontos
 
R$ 32,59
Ganhe 32 pontos
 
R$ 9,09
Ganhe 9 pontos
C GYPSO C POWDER X3 BEAUTY 42CM
C GYPSO C POWDER X3 BEAUTY 42CM
Código: 61572
 
R$ 14,90
Ganhe 14 pontos
% PROMOÇÃO
Guirlanda Madeira 40cmX40cm Natural
De: R$ 27,05
Por: R$ 14,90
Ganhe 14 pontos
 
R$ 18,39
Ganhe 18 pontos
Carregando produtos...
Cadastre-se para receber nossas ofertas!