/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Oct 08 2025 | 11:48:40 */
// 1) existe elemento de busca?
const searchEl = document.querySelector('form.search-form, .search-form, .woocommerce-product-search, input[type="search"]');
console.log('searchEl encontrado?', !!searchEl, searchEl);

// 2) mostre o estilo computado (se existir)
if(searchEl) console.log(getComputedStyle(searchEl));

// 3) procura ancestrais que possam esconder
function findHiddenAncestor(el){
  let cur = el;
  while(cur && cur !== document.body){
    const cs = getComputedStyle(cur);
    if(cs.display === 'none' || cs.visibility === 'hidden' || cs.opacity === '0' || cs.height === '0px' || cs.overflow === 'hidden' && cur.clientHeight===0 || cs.transform.includes('translateY(-')) {
      console.log('Ancestor possivelmente ocultando:', cur, cs);
      return cur;
    }
    cur = cur.parentElement;
  }
  return null;
}
if(searchEl) findHiddenAncestor(searchEl);


