.search-suggestions {
  position: absolute;
  top: calc(88% + 2px);
  left: 0;
  right: 0;
  z-index: 1000;
  display: block;
  max-height: 150px;
  overflow-y: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.03),
    0 10px 30px rgba(0, 0, 0, 0.08);

  scrollbar-width: thin;
  z-index: 8888;
}

/* Chaque suggestion */
.search-suggestion {
  appearance: none;
  -webkit-appearance: none;

  display: flex;
  align-items: center;

  width: 100%;
  min-height: 42px;

  padding: 9px 12px;
  margin: 0;

  border: 0;
  border-radius: 8px;

  background: transparent;

  color: #202124;
  font-family: inherit;
  font-size: 14px;
  font-weight: 450;
  line-height: 1.4;

  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  cursor: pointer;

  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}

/* Hover */
.search-suggestion:hover {
  background: #f5f6f8;
  color: #111;
}

/* Élément sélectionné */
.search-suggestion[aria-selected="true"] {
  background: #f1f3f5;
  color: #111;
}

/* Focus clavier */
.search-suggestion:focus,
.search-suggestion:focus-visible {
  outline: none;
  box-shadow: none;
}

/* Petit état actif */
.search-suggestion:active {
  background: #eceef1;
}

/* Scrollbar */
.search-suggestions::-webkit-scrollbar {
  width: 6px;
}

.search-suggestions::-webkit-scrollbar-track {
  background: transparent;
}

.search-suggestions::-webkit-scrollbar-thumb {
  background: #d8dadd;
  border-radius: 999px;
}

.search-suggestions::-webkit-scrollbar-thumb:hover {
  background: #c4c6ca;
}

.search-result {
  width: 100%;
}

.search-result-image img {
    max-width: 80px;
    min-height: 80px;
    object-fit: cover;
    border-radius: 100%;
    border: 1px solid var(--wp--preset--color--accent-5);
}

#scrollto {
  scroll-margin-top: 180px;
}
