.lac-search-autocomplete-host {
  position: relative;
}

.lac-search-autocomplete-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 9999;
  min-width: 280px;
  padding: 10px;
  border: 1px solid rgba(10, 22, 40, 0.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(10, 22, 40, 0.14);
  text-align: left;
}

.lac-search-autocomplete-panel[hidden] {
  display: none !important;
}

.lac-header-search .lac-search-autocomplete-panel {
  min-width: 360px;
}

.lac-offcanvas .lac-search-autocomplete-panel,
.lac-search-form .lac-search-autocomplete-panel {
  min-width: 100%;
}

.lac-booking-location-input .lac-search-autocomplete-panel {
  top: calc(100% + 14px);
  width: min(460px, 88vw);
  right: auto;
}

.lac-search-autocomplete-heading {
  padding: 5px 8px 9px;
  color: #8b91a3;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.lac-search-autocomplete-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 9px;
  border-radius: 14px;
  color: #13223b;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease;
}

.lac-search-autocomplete-item:hover,
.lac-search-autocomplete-item:focus {
  background: #f3f7ff;
  color: #13223b;
  outline: none;
  transform: translateY(-1px);
}

.lac-search-autocomplete-image {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: #eef2f7;
}

.lac-search-autocomplete-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lac-search-autocomplete-content {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
}

.lac-search-autocomplete-content strong {
  overflow: hidden;
  color: #13223b;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.24;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lac-search-autocomplete-content small {
  overflow: hidden;
  color: #667085;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lac-search-autocomplete-item em {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(253, 70, 33, 0.08);
  color: var(--lac-theme-1, #FD4621);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
}

.lac-search-autocomplete-empty,
.lac-search-autocomplete-submit {
  display: block;
  margin-top: 6px;
  padding: 11px 12px;
  border-radius: 13px;
  color: #667085;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.lac-search-autocomplete-submit {
  color: var(--lac-theme-1, #FD4621);
  background: rgba(253, 70, 33, 0.08);
}

.lac-search-autocomplete-submit:hover,
.lac-search-autocomplete-submit:focus {
  color: var(--lac-theme-1, #FD4621);
  background: rgba(253, 70, 33, 0.13);
}

.lac-search-autocomplete-panel.is-loading::after {
  content: '';
  position: absolute;
  top: 12px;
  right: 14px;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(253, 70, 33, 0.18);
  border-top-color: var(--lac-theme-1, #FD4621);
  border-radius: 999px;
  animation: lacAutocompleteSpin 0.75s linear infinite;
}

@keyframes lacAutocompleteSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1199px) {
  .lac-search-autocomplete-panel,
  .lac-header-search .lac-search-autocomplete-panel,
  .lac-booking-location-input .lac-search-autocomplete-panel {
    min-width: 100%;
    width: min(430px, 88vw);
  }
}

.lac-booking-location.lac-autocomplete-is-open > .lac-booking-location-list {
  display: none !important;
}

/* Kultur v1.0.56 autocomplete polish */
.lac-search-autocomplete-input:focus,
.lac-search-autocomplete-input:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}

.lac-search-autocomplete-input::-webkit-search-decoration,
.lac-search-autocomplete-input::-webkit-search-cancel-button,
.lac-search-autocomplete-input::-webkit-search-results-button,
.lac-search-autocomplete-input::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
}

/* Kultur v1.0.57 search page autocomplete layering fix */
.lac-search-page-hero {
  overflow: visible !important;
  z-index: 30;
}

.lac-search-page-hero .lac-search-page-hero-inner,
.lac-search-page-hero .lac-search-page-form.lac-search-autocomplete-host {
  position: relative;
  z-index: 60;
}

.lac-search-page-hero .lac-search-autocomplete-panel,
.lac-search-page-form.lac-search-autocomplete-host > .lac-search-autocomplete-panel {
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 99999;
  width: 100%;
  min-width: 100%;
  max-height: min(520px, calc(100vh - 260px));
  overflow-y: auto;
  overscroll-behavior: contain;
}

.lac-search-page {
  position: relative;
  z-index: 1;
}
