/* Oculta container de pesquisa */
.hidden {
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

button.save_search_click.save-search-btn {
  display: none !important;
}

/* Comportamento da pesquisa avançada */
#advanced-search-box {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
  pointer-events: none;
  visibility: hidden;
}

#advanced-search-box.visible {
  max-height: 1000px;
  opacity: 1;
  overflow: visible;
  pointer-events: auto;
  visibility: visible;
}

/* Centraliza o menu */
.houzez-menu {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Remove elementos redundantes */
.breadcrumb-wrap,
.page-title-wrap .page-title {
  display: none;
}

/* Lista sem marcadores */
ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

/* Ícones alinhados com texto */
.elementor-icon-list-item {
  display: flex;
  align-items: center;
}

.elementor-icon-list-icon svg {
  width: 15px;
  height: 15px;
  padding: 0;
  margin: 0;
}

.elementor-icon-list-text {
  margin-left: 10px;
}

.elementor-widget .elementor-icon-list-icon + .elementor-icon-list-text {
  padding-inline-start: 0px;
}

/* Ajuste de imagem em widget */
.elementor-19501 .elementor-element.elementor-element-84d56de > .elementor-widget-container {
  margin: 0;
  padding: 0;
  z-index: 999;
}

.elementor-19501 .elementor-element.elementor-element-84d56de img {
  width: 33%;
}

/* Botão personalizado */
.btn-fullwidth {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 20px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 0;
  text-align: center;
  cursor: pointer;
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 0;
}

/* Estilo para listas e elementos */
.elementor-19501 .elementor-element.elementor-element-ee66820 .elementor-heading-title a {
  color: #FFFFFF;
  text-decoration: underline;
}

.houzez-nav-menu-main-desktop-wrap,
.houzez-nav-menu-main-mobile-wrap {
  display: flex;
  justify-content: center;
}

/* Alinhar botão do Facebook */
.elementor-button-wrapper {
  margin-left: auto;
}

/* Responsividade */
@media (max-width: 1024px) {
  .elementor-element.elementor-element-46669b9 {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
  }

  .elementor-widget-houzez_site_logo {
    flex: 1 1 auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .houzez-menu-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

.container-pesquisa {
  position: absolute;
  z-index: 0;
}

/* Responsividade para tablets */
@media (max-width: 768px) {
  .container-pesquisa {
    position: relative;
    z-index: 5;
    margin-top: 10px;
  }

  .background-shortcode {
    opacity: 0.5;
  }
}

/* Responsividade para smartphones */
@media (max-width: 480px) {
  .container-pesquisa {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
  }

  .container-principal {
    padding: 10px;
  }
}
