.ac-wrap {
  position: relative;
}

.ac-list {
  position: absolute;
  top: calc(100% + 3px);
  left: -17px;
  right: -17px;
  background: #0e1f30;
  border: 1px solid var(--bord-lt);
  z-index: 500;
  max-height: 260px;
  overflow-y: auto;
  box-shadow: 0 16px 40px rgba(0,0,0,.6);
}

.ac-item {
  padding: 12px 14px;
  font-size: 13px;
  color: var(--beige);
  cursor: pointer;
  border-bottom: 1px solid rgba(232,224,212,.06);
  line-height: 1.3;
  transition: background .12s;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ac-item:last-child {
  border-bottom: none;
}

.ac-item:hover,
.ac-item.focused {
  background: rgba(139,26,26,.2);
  color: var(--white);
}

.ac-pin {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  margin-top: 2px;
  fill: none;
  stroke: var(--red);
  stroke-width: 1.8;
  opacity: .8;
}

.ac-main {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ac-sub {
  display: block;
  font-size: 10px;
  opacity: .42;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ac-spin {
  padding: 12px 14px;
  font-size: 10px;
  color: var(--beige);
  opacity: .35;
  letter-spacing: .12em;
  text-transform: uppercase;
}