/* Wrapper autocomplete */
.pf-aas-autocomplete {
  position: relative;
  max-width: 886px; /* opzionale */
}

/* Il form di ricerca */
.pf-aas-search-form {
  margin: 0;
}

/* Input */
.pf-aas-field input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 0;           /* come nella tua barra */
  box-sizing: border-box;
}

/* Dropdown risultati */
.pf-aas-results {
  position: absolute;
  top: 100%;                  /* subito sotto l’input */
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
  z-index: 9999;
  max-height: 300px;
  overflow-y: auto;
  display: none;              /* di default nascosto */
  border-radius: 0px 0px 12px 12px;
}

/* Stato "aperto" */
.pf-aas-results.pf-aas-open {
  display: block;
}

/* Lista prodotti dentro il dropdown */
.pf-aas-products {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-bottom:2rem;
}

.pf-aas-product {
  margin: 0;
}

.pf-aas-product a {
  display: block;
  padding: 6px 14px;
  text-decoration: none;
  color: #272626;
  font-size: 16px;
  line-height: 1.3;
  display:flex;
  flex-wrap:wrap;
  padding-left: 0rem;
  padding-right: 0rem;
  border-bottom: 1px solid #272626;
}

.pf-aas-product a:hover {
  background: #f5f5f5;
}

/* Titolo e prezzo in riga stile "suggestion" */
.pf-aas-title {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  background-color: rgba(0, 0, 0, 0);
  padding: .2rem 0rem;
  margin-bottom: .4rem;
  min-width:100%;
  font-weight: bold;
}

.pf-aas-meta{
  font-size: 12px;
}

.pf-aas-price {
  display: block;
  font-size: 13px;
  opacity: 1;
  font-weight: bold;
  margin-left: 1rem;
}

.pf-aas-group-title{
  a{
    display: block;
    padding: 6px 14px;
    text-decoration: none;
    color: #272626;
    font-size: 16px;
    line-height: 1.3;
    font-weight:bold;
    border-bottom: 1px solid #272626;
    padding-left:0;
    padding-right:0;
    padding-bottom: 1rem;
  }
}

.pf-aas-group-title--title{
  padding-top:2rem;
}

/* Messaggi tipo "Nessun prodotto trovato" */
.pf-aas-results p {
  margin: 8px 14px;
  font-size: 13px;
}

.pf-aas-field--with-button {
  display: flex;
}

.pf-aas-field--with-button input {
  flex: 1;
  border-right: none;
}

.pf-aas-go-search {
  padding: 0 14px;
  border: 1px solid #ddd;
  border-left: none;
  background: #272626;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
}
