/* Retain Relevanssi's positioning, visibility, spinner and keyboard handling. */
.relevanssi-live-search-results:has(.lv-live-search) {
  min-height: 0;
  max-height: min(70vh, 560px);
  max-width: calc(100vw - 24px);
  border: 1px solid #e8e2da;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 36px rgb(40 32 24 / 14%);
  overscroll-behavior: contain;
}
.lv-live-search {
  color: #292723;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.45;
}
.lv-live-search .lv-live-search__status {
  margin: 0;
  padding: 12px 16px;
  color: #625b53;
  background: #faf8f5;
  font-size: 12px;
  border-bottom: 1px solid #eee9e2;
}
.lv-live-search__result + .lv-live-search__result {
  border-top: 1px solid #f0ece6;
}
.lv-live-search .lv-live-search__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  color: inherit;
  white-space: normal;
  text-decoration: none;
}
.lv-live-search .lv-live-search__link:hover,
.lv-live-search .relevanssi-live-search-result--focused,
.lv-live-search .lv-live-search__link:focus-visible {
  color: #292723;
  background: #f7f3ed;
}
.lv-live-search .lv-live-search__link:focus-visible {
  outline: 2px solid #85613d;
  outline-offset: -3px;
  border-radius: 6px;
}
.lv-live-search__image {
  display: flex;
  flex: 0 0 68px;
  align-items: center;
  justify-content: center;
  height: 68px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}
.lv-live-search__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.lv-live-search__placeholder {
  color: #625b53;
  font-size: 10px;
  overflow-wrap: anywhere;
}
.lv-live-search__details {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.lv-live-search__type {
  color: #625b53;
  font-size: 11px;
  letter-spacing: 0.04em;
}
.lv-live-search__title {
  font-size: 14px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.lv-live-search__price {
  font-size: 14px;
  font-weight: 600;
}
.lv-live-search__price del {
  color: #625b53;
  font-size: 12px;
  font-weight: 400;
}
.lv-live-search__price ins {
  background: transparent;
  text-decoration: none;
}
.lv-live-search__price small,
.lv-live-search__availability {
  color: #625b53;
  font-size: 11px;
  font-weight: 400;
}
.lv-live-search__arrow {
  color: #85613d;
  font-size: 24px;
}
.lv-live-search .lv-live-search__empty,
.lv-live-search .lv-live-search__suggestion {
  margin: 0;
  padding: 18px 16px;
}
.lv-live-search__empty strong,
.lv-live-search__empty span {
  display: block;
}
.lv-live-search__empty span {
  margin-top: 6px;
  color: #625b53;
}
@media (max-width: 767px) {
  /* The mobile header input is only ~100px wide; use the available screen. */
  .relevanssi-live-search-results:has(.lv-live-search) {
    position: fixed;
    left: 12px !important;
    top: 80px !important;
    width: calc(100vw - 24px) !important;
    max-height: calc(100vh - 104px);
    max-height: calc(100dvh - 104px);
  }
  .lv-live-search .lv-live-search__link {
    gap: 10px;
    padding: 12px;
  }
  .lv-live-search__image {
    flex-basis: 52px;
    height: 52px;
  }
}
