/* =====================================================
   HEADER SEARCH BAR
   MyCouponCodes – New Search Component
===================================================== */

.header-search-bar {
  padding: 14px 0 12px;
  background: #fff;
}

.header-search-bar .search-header {
  width: 100%;
}

.header-search-bar .m-search-box {
  position: relative;
  width: 100%;
  margin: 0;
  font-family: Inter, sans-serif;
}

.header-search-bar .m-search-box__field {
  position: relative;
  width: 100%;
}

.header-search-bar .m-search-box__input {
  width: 100%;
  height: 44px;
  padding: 0 44px 0 44px;
  border: 1px solid #d9dee5;
  border-radius: 10px;
  background: #fff;
  color: #2f343b;
  font-family: Inter, sans-serif;
  font-size: 15px;
  line-height: 44px;
  outline: none;
}

.header-search-bar .m-search-box__input::placeholder {
  color: #9aa3ad;
}

.header-search-bar .m-search-box__input:focus {
  border-color: #c8d0d9;
  box-shadow: 0 0 0 3px rgba(200,208,217,.2);
}

.header-search-bar .m-search-box__submit {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 18px;
  height: 18px;
  border: 0;
  background: transparent;
  color: #9aa3ad;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.header-search-bar .m-search-box__icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.header-search-bar .m-search-box__clear {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 18px;
  height: 18px;
  border: 0;
  background: transparent;
  transform: translateY(-50%);
}

.header-search-bar .m-search-box__results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  border: 1px solid #e3e8ee;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(18,24,32,.08);
}

/* Desktop only for now */
@media (max-width:991px) {
  .header-search-bar {
    display:none;
  }
}