/* Comportamentos exclusivos da página revendas.php */

document.getElementById('revSearch')?.addEventListener('input',function(){const q=this.value.trim().toLowerCase();document.querySelectorAll('.rev-row').forEach(r=>r.style.display=!q||r.dataset.search.includes(q)?'':'none');});
