/* Trigger (ikonka lupy) */
.bm-search-trigger,
.bm-search-trigger img {
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
}

.bm-search-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none !important;
  background: transparent !important;
}

/* Overlay */
.bm-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: none;
}

.bm-search-overlay.is-open { display: block; }

.bm-search-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.25);
}

/* Panel */
.bm-search-overlay__panel {
  position: relative;
  width: min(1100px, calc(100% - 24px));
  margin: 110px auto 0 auto;
  background: #f7f1e3;
  border-radius: 14px;
  padding: 18px 18px 16px 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
}

/* Close */
.bm-search-overlay__close {
  position: absolute;
  right: 12px;
  top: 10px;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  opacity: .7;
}
.bm-search-overlay__close:hover { opacity: 1; }

/* Search bar */
.bm-search-overlay__form {
  display: grid;
  grid-template-columns: 1fr 56px;
  gap: 0;
  background: #e3b847;
  border-radius: 999px;
  padding: 10px;
  align-items: center;
}

.bm-search-overlay__input {
  height: 44px;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 999px;
  padding: 0 18px;
  font-size: 16px;
  background: #fff;
}

.bm-search-overlay__submit {
  height: 44px;
  width: 44px;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 999px;
  cursor: pointer;
  background: #e3b847;
  font-size: 18px;
}

.bm-search-overlay__hint {
  margin-top: 10px;
  text-align: right;
  font-size: 12px;
  opacity: .75;
}

/* Lock scroll */
html.bm-search-overlay-lock,
body.bm-search-overlay-lock { overflow: hidden !important; }

/* Mobile */
@media (max-width: 768px) {
  .bm-search-overlay__panel {
    margin-top: 70px;
    padding: 14px;
    border-radius: 12px;
  }
  .bm-search-overlay__form {
    padding: 8px;
    grid-template-columns: 1fr 52px;
  }
}
