.ibk-searchbar {
  box-sizing: border-box;
  color: var(--grayText);
  position: relative;
}

.ibk-searchbar * { box-sizing: border-box; }

.ibk-searchbar__label {
  font-family: var(--fontGeometria);
  font-size: 14px;
  padding-bottom: 5px;
  display: block;
  font-weight: 500;
  color: var(--gray1);
}

.ibk-searchbar__subtitle {
  font-family: var(--fontMontserrat);
  color: var(--grayText);
  font-size: 14px;
  font-weight: 500;
  padding-bottom: 7px;
  display: block;
}

.ibk-searchbar__input {
  display: flex;
  align-items: center;
  width: 100%;
  border: 1px solid var(--gray4);
  border-radius: 4px;
  background-color: white;
  transition: var(--fast);
  cursor: text;
}

.ibk-searchbar__input:hover { border-color: var(--gray3); }

.ibk-searchbar__icon-search {
  color: var(--grayText);
  font-size: 20px;
  display: flex;
  height: 46px;
  min-width: 46px;
  cursor: text;
  align-items: center;
  justify-content: center;
}

.ibk-searchbar__value {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  outline: none;
  border: none;
  height: 46px;
  background-color: transparent;
  font-family: var(--fontGeometria);
  font-weight: 500;
  font-size: 16px;
  color: var(--grayText);
}

.ibk-searchbar__icon-clear {
  min-width: 46px;
  cursor: pointer;
  color: var(--gray1);
  text-align: center;
}

.ibk-searchbar__icon-clear:active { transform: translateY(1px); }

.ibk-searchbar__value::placeholder {
  color: var(--gray2);
  font-weight: 400;
}

/* Focus */
.ibk-searchbar--focus .ibk-searchbar__input {
  border-color: var(--primaryGreen1);
  box-shadow: inset 0 0 0 0.5px var(--primaryGreen1);
}

/* Disabled */
.ibk-searchbar--disabled .ibk-searchbar__input {
  pointer-events: none;
  background-color: var(--gray5);
}

/* Results */
.ibk-searchbar__results {
  position: absolute;
  width: 100%;
  background-color: white;
  border: 1px solid var(--gray4);
  top: calc(100% - 1px);
  border-radius: 0 0 4px 4px;
  transition: var(--fast);
  display: none;
  box-shadow: 0 2px 4px 0 var(--gray4);
  z-index: 10;
}

ibk-search-result:not(:last-child) .ibk-search-result {
  border-bottom: 1px solid var(--gray4);
}

/* Open */
.ibk-searchbar--open .ibk-searchbar__input { border-radius: 4px 4px 0 0; }

.ibk-searchbar--open .ibk-searchbar__results { display: block; }

.ibk-searchbar--open.ibk-searchbar--focus .ibk-searchbar__results { border-top-color: var(--primaryGreen1); }

.ibk-searchbar__loading {
  display: flex;
  align-items: center;
  padding: 15px;
  height: 47px;
}

.ibk-searchbar__empty-message {
  font-family: var(--fontGeometria);
  font-size: 14px;
  color: var(--gray1);
  font-weight: 500;
  height: 47px;
  padding: 15px;
  margin: 0;
}

.ibk-searchbar__shopstar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 15px 15px;
}

.ibk-searchbar__shopstar-text {
  font-family: var(--fontGeometria);
  font-size: 14px;
}

.ibk-searchbar__shopstar-img {
  width: 90px;
  margin-bottom: -3.5px;
}

.ibk-searchbar__shopstar-btn .ibk-button {
  margin-left: 50px;
  min-width: 180px;
}

@media screen and (max-width: 600px) {
  .ibk-searchbar__shopstar-btn .ibk-button {
    min-width: 120px;
  }
}

@media screen and (max-width: 400px) {
  .ibk-searchbar__shopstar {
    flex-direction: column;
    align-items: flex-start;
  }
  .ibk-searchbar__shopstar-btn .ibk-button { margin-left: 0; }
}

.ibk-searchbar__loading-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--primaryGreen1);
  border-radius: 50%;
  animation: ibk-searchbar-loader 500ms linear infinite;
  pointer-events: none;
  border-top-color: var(--primaryGreen4);
  border-left-color: var(--primaryGreen4);
  border-right-color: var(--primaryGreen4);
  margin-right: 10px;
}

@keyframes ibk-searchbar-loader {
  0% { transform: rotate(0deg); }
  0% { transform: rotate(-360deg); }
}

.ibk-searchbar__loading-text {
  font-size: 14px;
  font-weight: 500;
  font-family: var(--fontGeometria);
}

/* Icon right */
.ibk-searchbar--icon-right .ibk-searchbar__value,
.ibk-searchbar--boxed.ibk-searchbar--icon-left .ibk-searchbar__value { padding-left: 15px; }

.ibk-searchbar--icon-right:not(.ibk-searchbar--boxed) .ibk-searchbar__icon-clear { min-width: unset; }

/* Boxed */
.ibk-searchbar--boxed .ibk-searchbar__input { border-color: var(--primaryGreen1); }

.ibk-searchbar--boxed .ibk-searchbar__icon-search {
  background-color: var(--primaryGreen1);
  color: white;
}

/* Benefit */
.ibk-searchbar__benefit { padding: 15px; }
.ibk-searchbar__benefit-label {
  font-family: var(--fontGeometria);
  font-size: 14px;
  font-weight: 500;
  margin-top: 5px;
  margin-bottom: 0;
}

.ibk-searchbar__benefit-links ibk-button {
  margin-top: 10px;
  display: inline-block;
}
.ibk-searchbar__benefit-links ibk-button:not(:last-child) { margin-right: 10px; }
.ibk-searchbar__benefit-links .ibk-button__icon {
  margin-left: 3px;
  font-size: 10px;
}

.ibk-searchbar__benefit:not(:last-child) { border-bottom: 1px solid var(--gray4); }