(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
KALANCHOE DOB C21
Código: 32522
 
R$ 44,19
Ganhe 44 pontos
MACO ALSTROEMERIA UNIDADE
Código: 32480
 
R$ 24,85
Ganhe 24 pontos
ARECA BAMBU PT 11
Código: 32481
 
R$ 12,99
Ganhe 12 pontos
AVENCA VARIADA C14
Código: 32482
 
R$ 17,29
Ganhe 17 pontos
AVENCA VARIADA C21
Código: 32483
 
R$ 28,59
Ganhe 28 pontos
CACTUS MINI PT 6
Código: 32484
 
R$ 5,65
Ganhe 5 pontos
CACTUS ENXERTADO PT 10
Código: 32485
 
R$ 19,89
Ganhe 19 pontos
AMARYLLIS PT 14
Código: 32486
 
R$ 27,79
Ganhe 27 pontos
AZALEIA PT 14
Código: 32487
AZALEIA PT 14
Código: 32487
 
R$ 35,15
Ganhe 35 pontos
 
R$ 35,15
Ganhe 35 pontos
GIRASSOL MINI PT 15 ES
Código: 32489
 
R$ 29,00
Ganhe 29 pontos
GIRASSOL MINI PT 15
Código: 32490
 
R$ 30,25
Ganhe 30 pontos
KALANCHOE DOB PT 15
Código: 32491
 
R$ 26,15
Ganhe 26 pontos
KALANCHOE PT 15
Código: 32492
 
R$ 23,00
Ganhe 23 pontos
CALANDIVA ESP PT 15
Código: 32493
 
R$ 32,70
Ganhe 32 pontos
KALANCHOE ESP PT 15
Código: 32494
 
R$ 32,75
Ganhe 32 pontos
ORQUIDEA CHUVA OURO PT 14
Código: 32495
 
R$ 36,75
Ganhe 36 pontos
 
R$ 42,99
Ganhe 42 pontos
ROSEIRA MINI PT 13
Código: 32498
 
R$ 25,65
Ganhe 25 pontos
ROSEIRA MINI PT 13 ESP
Código: 32499
 
R$ 37,99
Ganhe 37 pontos
SPATHIPHYLLUM PT 15
Código: 32500
 
R$ 22,79
Ganhe 22 pontos
ORQ PHAL AZUL PT 12
Código: 32501
 
R$ 98,99
Ganhe 98 pontos
ORQ PHALAENOPSIS PT 12
Código: 32502
 
R$ 59,90
Ganhe 59 pontos
SAMAMBAIA AMER C21
Código: 32503
 
R$ 32,69
Ganhe 32 pontos
ANTHURIUM VARIADO PT 9
Código: 32504
 
R$ 19,90
Ganhe 19 pontos
Carregando produtos...
Cadastre-se para receber nossas ofertas!