.if-search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 23, 42, 0.5);
  padding: 10vh 1rem 2rem;
  overflow: auto;
}
.if-search-overlay.is-open {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.if-search-panel {
  width: min(720px, 100%);
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 1.25rem 3rem rgba(15, 23, 42, 0.22);
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.if-search-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 0.85rem 0.5rem;
}
.if-search-input {
  flex: 1;
}
.if-search-close {
  flex: 0 0 auto;
  font-size: 1.5rem;
  line-height: 1;
}
.if-search-dropdown {
  flex: 1;
  overflow: auto;
  padding: 0.25rem 0 0.75rem;
}
.if-search-group-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6c757d;
  padding: 0.55rem 1rem 0.2rem;
}
.if-search-item {
  display: block;
  padding: 0.55rem 1rem;
  color: inherit;
  text-decoration: none;
}
.if-search-item:hover,
.if-search-item.is-active {
  background: #f4f6f8;
}
.if-search-item-title {
  display: block;
  font-size: 0.95rem;
  line-height: 1.3;
}
.if-search-item-sub {
  display: block;
  font-size: 0.75rem;
  color: #6c757d;
}
.if-search-empty {
  padding: 1rem;
  font-size: 0.95rem;
  color: #6c757d;
}
.if-search-see-all {
  font-size: 0.85rem;
  font-weight: 600;
}
header.navbar .container {
  flex-wrap: nowrap;
}
@media (max-width: 991.98px) {
  .if-search-overlay.is-open {
    padding: 0;
    background: #fff;
  }
  .if-search-panel {
    width: 100%;
    max-height: 100%;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
  }
}
