.hk-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 99990;
  display: none;
  overflow-y: auto;
}

.hk-search-overlay.is-open {
  display: flex;
}

html.hk-search-open {
  overflow: hidden;
}

.hk-live-search[data-hk-search-state="loading"] .hk-live-search__results,
.hk-live-search[data-hk-search-state="done"] .hk-live-search__results,
.hk-live-search[data-hk-search-state="error"] .hk-live-search__results,
.hk-live-search[data-hk-search-state="submitted"] .hk-live-search__results {
  display: block;
}

.hk-live-search__results[hidden] {
  display: none;
}

.hk-live-search__empty {
  margin: 0;
}

.hk-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
}

.hk-lightbox.is-open {
  display: flex;
}

.hk-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
}

.hk-lightbox__shell {
  position: relative;
  z-index: 1;
  max-width: min(94vw, 1100px);
  max-height: 92vh;
  padding: 1rem;
  border-radius: 8px;
  background: var(--wp--preset--color--card);
  box-shadow: var(--wp--custom--shadow--card);
}

.hk-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: 72vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}

.hk-lightbox__caption {
  margin: 0.75rem 0 0;
  color: var(--wp--preset--color--muted);
}

.hk-lightbox__close,
.hk-mobile-nav-overlay__close,
.hk-sticky-bottom-stoerer__close {
  min-width: 2.4rem;
  min-height: 2.4rem;
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 999px;
  background: var(--wp--preset--color--paper);
  color: var(--wp--preset--color--ink);
  cursor: pointer;
}

.hk-lightbox__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
}

html.hk-modal-open,
html.hk-mobile-nav-open {
  overflow: hidden;
}

.hk-mobile-nav-overlay__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hk-mobile-nav-overlay__overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  padding: 1rem;
  background: rgba(18, 18, 18, 0.72);
}

.hk-mobile-nav-overlay__overlay.is-open {
  display: block;
}

.hk-mobile-nav-overlay__shell {
  width: min(28rem, calc(100vw - 2rem));
  min-height: 100%;
  margin-left: auto;
  padding: 1.25rem;
  border-radius: 8px;
  background: var(--wp--preset--color--card);
  box-shadow: var(--wp--custom--shadow--card);
}

.hk-mobile-nav-overlay__shell ul {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.hk-mobile-nav-overlay__shell a {
  display: block;
  padding: 0.75rem 0;
  color: var(--wp--preset--color--ink);
  text-decoration: none;
}

.hk-sticky-bottom-stoerer {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 9999;
  width: min(24rem, calc(100vw - 2rem));
  padding: 1rem;
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 8px;
  background: var(--wp--preset--color--card);
  box-shadow: var(--wp--custom--shadow--card);
}

.hk-sticky-bottom-stoerer.is-dismissed {
  display: none;
}

.hk-sticky-bottom-stoerer.is-visible {
  display: block;
}

.hk-sticky-bottom-stoerer[hidden] {
  display: none;
}

.hk-sticky-bottom-stoerer__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
}

.hk-sticky-bottom-stoerer__description {
  margin-right: 2.5rem;
}

@media (max-width: 700px) {
  .hk-sticky-bottom-stoerer {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    width: auto;
  }
}
