/* Live catalogue previews stay within the existing search field's visual style. */
.site-search[data-live-search] { position: relative; overflow: visible; }
.site-search[data-live-search] > input { border-radius: 11px 0 0 11px; }
.site-search[data-live-search] > button { border-radius: 0 11px 11px 0; }
.search-preview {
  position: absolute;
  z-index: 65;
  top: calc(100% + 12px);
  right: 0;
  width: 460px;
  max-width: calc(100vw - 32px);
  padding: 0;
  color: #f5efe8;
  background: var(--entry-surface, #1c2522);
  backdrop-filter: blur(10px);
  border: 1px solid #b9c4bc40;
  border-radius: 14px;
  box-shadow: 0 16px 40px #080e0b59;
  overflow: hidden;
  transition: background-color var(--entry-tone-duration, .16s) cubic-bezier(.4, 0, .2, 1);
}
.search-preview[hidden] { display: none; }
.search-preview__heading { display: flex; justify-content: space-between; gap: 12px; padding: 16px 18px 12px; color: #e8e1d7; font-size: 12px; font-weight: 500; }
.search-preview__heading > :last-child { color: #abb5ad; font-size: 11px; font-weight: 400; }
.search-preview__results { max-height: min(480px, calc(100dvh - 230px)); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #738077 var(--entry-surface, #1c2522); }
.search-preview__item { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 18px; color: #f5efe8; border-top: 1px solid #d5dfd51a; text-decoration: none; transition: background .15s ease; }
.search-preview__item:hover,
.search-preview__item[aria-selected="true"] { background: #f5efe80d; color: #fff8ec; text-decoration: none; }
.search-preview__item:focus-visible { outline: 2px solid var(--brand-orange); outline-offset: -3px; }
.search-preview__media { display: grid; place-items: center; aspect-ratio: 1; border: 1px solid #f5efe82b; border-radius: 8px; overflow: hidden; background: #ebe6dc; color: #58635b; }
.search-preview__media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.search-preview__media span { padding: 8px; font-size: 11px; line-height: 1.4; text-align: center; }
.search-preview__body { display: grid; gap: 5px; min-width: 0; }
.search-preview__category { color: #abb5ad; font-size: 11px; line-height: 1.4; }
.search-preview__title { font-size: 14px; font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; }
.search-preview__price { color: var(--brand-orange); font-size: 14px; font-weight: 500; line-height: 1.4; }
.search-preview__price-note { color: #abb5ad; font-size: 10px; line-height: 1.4; font-weight: 400; }
.search-preview__status { margin: 0; padding: 0 18px; color: #c5cec7; font-size: 13px; line-height: 1.55; }
.search-preview__status:not(:empty) { padding-block: 16px 22px; }
.search-preview__all { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 18px; color: var(--brand-orange); border-top: 1px solid #d5dfd526; font-size: 13px; font-weight: 500; }
.search-preview__all:hover { color: var(--brand-orange-hover); background: #f5efe808; text-decoration: none; }
.search-preview__all:focus-visible { outline: 2px solid var(--brand-orange); outline-offset: -3px; }
@media (prefers-reduced-motion: reduce) {
  .search-preview, .search-preview__item, body .site-search { transition: none; }
}
