/* Rodapé */
.site-footer .sem-link > a {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    color: inherit;
}

/* MOBILE */
@media (max-width: 767px) {

    /* Logo */
    .site-header .site-branding {
        width: 150px !important;
        margin: 0 !important;
    }

    .site-header .site-branding img {
        width: 150px !important;
        max-width: 150px !important;
        height: auto !important;
    }

    /* Slider horizontal dos produtos */
    .produtos-slider ul.products {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        gap: 12px !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    /* Esconder barra de scroll */
    .produtos-slider ul.products::-webkit-scrollbar {
        display: none;
    }

    /* Cada produto */
    .produtos-slider ul.products li.product {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        border-left: none !important;
        border-right: none !important;
        box-shadow: none !important;
        scroll-snap-align: start;
    }

    /* Retirar linhas/pseudo-elementos do produto */
    .produtos-slider ul.products li.product::before,
    .produtos-slider ul.products li.product::after {
        display: none !important;
        content: none !important;
    }

}


/* CATEGORIAS PC - ABRIR AO PASSAR O RATO */
@media (min-width: 922px) {

  .widget_product_categories li.cat-parent,
  ul.product-categories li.cat-parent {
    position: relative;
  }

  .widget_product_categories li.cat-parent > ul.children,
  ul.product-categories li.cat-parent > ul.children {
    display: none;
    margin: 5px 0 10px;
    padding-left: 18px;
    background: #fafafa;
    list-style: none;
  }

  .widget_product_categories li.cat-parent:hover > ul.children,
  ul.product-categories li.cat-parent:hover > ul.children {
    display: block;
  }

  .widget_product_categories li.cat-parent > a::after,
  ul.product-categories li.cat-parent > a::after {
    content: "⌄";
    margin-left: 10px;
    color: #ed741c;
    font-size: 18px;
  }

  .widget_product_categories li.cat-parent:hover > a::after,
  ul.product-categories li.cat-parent:hover > a::after {
    content: "⌃";
  }

  .widget_product_categories ul.children li,
  ul.product-categories ul.children li {
    padding: 7px 0;
  }
}

/* Remover setas das categorias no computador */
@media (min-width: 922px) {
  .widget_product_categories li.cat-parent > a::after,
  ul.product-categories li.cat-parent > a::after {
    content: none !important;
  }
}

/* ELETROLISBOA - CATEGORIAS PREMIUM PC */
@media (min-width: 922px) {

  .widget_product_categories {
    background: #fff;
    padding: 16px 12px;
    border-radius: 10px;
  }

  .widget_product_categories .widget-title {
    border-left: 4px solid #ed741c;
    padding-left: 12px;
    font-weight: 600;
    color: #252525;
  }

  .widget_product_categories ul.product-categories {
    margin: 0;
    padding: 0;
  }

  .widget_product_categories ul.product-categories li {
    border: 0;
  }

  .widget_product_categories ul.product-categories
  > li.cat-parent > a,
  .widget_product_categories ul.product-categories
  > li:not(.cat-parent) > a {
    display: inline-block;
    padding: 9px 5px;
    color: #333;
    font-weight: 500;
    text-decoration: none;
    border-radius: 5px;
    transition: color .15s ease, background-color .15s ease;
  }

  .widget_product_categories ul.product-categories
  > li:hover > a {
    color: #ed741c;
    background: #fff5ed;
  }

  .widget_product_categories ul.children {
    background: #fffaf6 !important;
    border-left: 2px solid #ed741c !important;
    margin: 4px 0 9px 14px !important;
    padding: 5px 0 5px 12px !important;
    box-shadow: none !important;
  }

  .widget_product_categories ul.children a {
    color: #555;
    font-size: 13px;
    text-decoration: none;
    line-height: 1.5;
  }

  .widget_product_categories ul.children a:hover {
    color: #ed741c;
  }

  /* Mantém as subcategorias fechadas */
  .widget_product_categories ul.product-categories
  li.cat-parent > ul.children {
    display: none !important;
  }

  /* Abre automaticamente ao passar o rato */
  .widget_product_categories ul.product-categories
  li.cat-parent:hover > ul.children,
  .widget_product_categories ul.product-categories
  li.cat-parent:focus-within > ul.children {
    display: block !important;
  }

  /* Sem setas */
  .widget_product_categories li.cat-parent > a::after {
    content: none !important;
  }
}

/* ELETROLISBOA - REMOVER LINHA VERTICAL */
@media (min-width: 922px) {

  .widget_product_categories ul.children {
    border-left: none !important;
    background: #fafafa !important;
    padding-left: 12px !important;
  }

  .widget_product_categories ul.children li {
    border-left: none !important;
  }

  .widget_product_categories ul.children a {
    font-weight: 400 !important;
    color: #555 !important;
  }

  .widget_product_categories ul.children a:hover {
    color: #ed741c !important;
  }
}


/* ELETROLISBOA - RETIRAR FUNDO ANTIGO NO TELEMÓVEL */
@media (max-width: 767px) {
    .el-banner-principal {
        background-image: none !important;
        min-height: 0 !important;
    }
}


/* EletroLisboa - Pesquisa no telemóvel */
@media (max-width: 767px) {
  .widget_product_search .widget-title {
    display: none !important;
  }

  .widget_product_search {
    margin-bottom: 15px !important;
  }
}

/* EletroLisboa - Pesquisa mobile */
@media (max-width: 767px) {

  /* Reduzir espaço acima da pesquisa */
  .below-header {
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 12px !important;
  }

  /* Pesquisa mais compacta */
  .widget_product_search {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Campo de pesquisa */
  .widget_product_search input[type="search"] {
    border-radius: 9px !important;
    border: 1px solid #e5e5e5 !important;
    background-color: #f7f7f7 !important;
    min-height: 44px;
  }
}

/* EletroLisboa - pesquisa na página inicial mobile */
@media (max-width: 767px) {
  body.home .header-widget-region {
    margin: 0 !important;
    padding: 0 !important;
  }

  body.home .header-widget-region .widget {
    margin: 0 !important;
    padding: 0 !important;
  }

  body.home .header-widget-region .col-full {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}

/* EletroLisboa - retirar espaço após Categorias */
@media (max-width: 767px) {
    body.home header#masthead {
        margin-bottom: 0 !important;
    }
}


/* EletroLisboa - espaço entre pesquisa e banner */
@media (max-width: 767px) {
  body.home .header-widget-region {
    margin-bottom: 15px !important;
  }
}

/* ELETROLISBOA - Ocultar pesquisa global no PC */
@media (min-width: 768px) {
    .header-widget-region .widget_product_search {
        display: none !important;
    }
}



2. Guardar e verificar
1. Clica em Publicar.
2. Volta à página inicial da EletroLisboa.
3. Atualiza com Ctrl + F5.
4. Confirma se desapareceu a barra horizontal acima das categorias.
Importante: este código só funciona se essa barra estiver dentro da zona .header-widget-region. A captura confirma o formulário WooCommerce, mas ainda não mostra o contentor pai completo.

Se a barra desaparecer, passamos à segunda pesquisa que está por cima da televisão. Essa parece pertencer ao Elementor e vamos removê-la sem alterar a versão mobile.

Assim ficamos com apenas uma pesquisa no cabeçalho do PC.





