/* Native product rendering is retained; Knowledge fields share only article styling. */
.ui-autocomplete.searchbar-autocomplete.gk-suggestions,
.ui-autocomplete.gk-knowledge-form-suggestions {
  min-height: 0;
  max-height: min(65vh, 480px);
  overflow-y: auto;
  overflow-x: hidden;
  max-width: calc(100vw - 8px);
  box-sizing: border-box;
  overscroll-behavior: contain;
}
.gk-suggestions .gk-suggestions-heading {
  padding: 9px 12px;
  color: #004e9e;
  font-weight: 700;
  background: #f4f6f8;
  border-top: 1px solid #e5e5e5;
}
.gk-suggestions .gk-suggestions-article a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  white-space: normal;
}
.gk-suggestions .gk-suggestions-title,
.gk-suggestions .product {
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: normal;
}
.gk-suggestions .gk-suggestions-article .autocomplete-thumbnail {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  object-fit: contain;
}
.gk-suggestions a.ui-state-focus {
  outline: 2px solid #004e9e;
  outline-offset: -2px;
}

.ui-autocomplete.gk-knowledge-form-suggestions {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 0;
  z-index: 1000;
}
.gk-knowledge-form-suggestions .gk-suggestions-article a {
  color: #004e9e;
}
