.loyalty-customer-search {
  position: relative;
  width: min(310px, 100%);
}
.loyalty-customer-search.full {width: 100%;}
.loyalty-customer-search input[type=search] {width: 100%;}
.loyalty-customer-results {
  position: absolute;
  z-index: 6;
  top: calc(100% + 3px);
  inset-inline: 0;
  max-height: 185px;
  overflow: auto;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 4px 14px #17293622;
}
.loyalty-customer-results > * {margin: 0; padding: 8px 11px;}
.loyalty-customer-results > div {cursor: pointer;}
.loyalty-customer-results > div:hover,
.loyalty-customer-results > div[aria-selected=true] {background: var(--bg);}
