.ac-search-wrap{
  width:100%;
  background:#fff;
  border-bottom:1px solid rgba(0,0,0,.08);
}
.ac-search{
  max-width:1100px;
  margin:0 auto;
  padding:10px 16px;
  display:flex;
  gap:8px;
  align-items:center;
  position:relative;
}

/* Barra global do tema (header.php) usa class="ac-searchbar" */
.ac-searchbar{
  position:relative;
}

.ac-searchbar .ac-search-suggest{
  left:0;
  right:0;
  top:calc(100% + 6px);
}
.ac-search-input{
  flex:1;
  padding:10px 12px;
  border:1px solid rgba(0,0,0,.16);
  border-radius:10px;
  outline:none;
}
.ac-search-input:focus{
  border-color: rgba(0,0,0,.35);
}
.ac-search-btn{
  padding:10px 12px;
  border:1px solid rgba(0,0,0,.16);
  border-radius:10px;
  background:#fff;
  cursor:pointer;
}
.ac-search-suggest{
  position:absolute;
  top:calc(100% - 2px);
  left:16px;
  right:16px;
  z-index:9999;
  background:#fff;
  border:1px solid rgba(0,0,0,.16);
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 8px 30px rgba(0,0,0,.12);
}
.ac-search-suggest a{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  text-decoration:none;
  color:inherit;
}
.ac-search-suggest a:hover,
.ac-search-suggest a[aria-selected="true"]{
  background:rgba(0,0,0,.06);
}
.ac-search-suggest .ac-type{
  opacity:.65;
  white-space:nowrap;
}
.ac-search-suggest .ac-type::before{
  content:" - ";
  opacity:.65;
}
@media (max-width:760px){
  .ac-search{ padding:10px 12px; }
  .ac-search-suggest{ left:12px; right:12px; }
}
