#search-predictive .i-spzhtml-lightbox-mask,
#search-predictive + .i-spzhtml-lightbox-mask {
  position: absolute;
  width: 100vw;
  height: 100vh;
  background-color: transparent;
  pointer-events: auto;
}

[data-section-id="header"] .color-header-search-text {
  color: var(--color-header-search-text);
}

#search-predictive {
  align-items: flex-start;
  background: transparent !important;
}

#search-predictive::before {
  position: fixed;
  top: 141px;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.54);
  content: "";
  pointer-events: none;
}

#search-predictive > .i-spzhtml-fill-content {
  background: transparent !important;
}

.search-predictive-container {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 141px;
  max-height: 88vh;
  overflow-y: auto !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: #050505 !important;
  box-shadow: 0 1px 7px rgba(5, 5, 5, 0.16);
  color: #FFFFFF;
}

.search-predictive-header {
  width: min(calc(100% - 48px), 746px);
  margin: 0 auto;
  padding: 23px 0 70px;
}

.search-predictive-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
}

.search-predictive-form-field {
  position: relative;
  min-width: 0;
}

.search-predictive-form-input {
  width: 100%;
  height: 48px;
  padding: 0 48px 0 51px;
  border: 1px solid rgba(255, 255, 255, 0.20) !important;
  border-radius: 6px;
  outline: 0;
  background: #101010;
  color: #FFFFFF;
  caret-color: #FFFFFF;
  font-family: var(--orzel-body-font, var(--font-body-family));
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  -webkit-text-fill-color: #FFFFFF;
}

.search-predictive-form-input::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.search-predictive-form-input::-moz-placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.search-predictive-form-input::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.search-predictive-form-input:focus,
.search-predictive-form-input[has-value]:focus {
  border-color: rgba(255, 255, 255, 0.46) !important;
  background: #101010;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.search-predictive-search-icon-container {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  width: 50px;
  height: 48px !important;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: rgba(255, 255, 255, 0.58);
}

.search-predictive-search-icon {
  display: inline-flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: inherit;
}

.search-predictive-search-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.search-predictive-form-clear {
  position: absolute;
  top: 50%;
  right: 10px;
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: #101010;
  color: rgba(255, 255, 255, 0.72);
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 150ms ease, visibility 150ms ease, background-color 150ms ease;
  visibility: hidden;
}

.search-predictive-form-clear:hover {
  background: #181818;
}

.search-predictive-form-input[has-value] ~ .search-predictive-form-clear,
.search-predictive-form-input[has-value]:focus ~ .search-predictive-form-clear {
  opacity: 1;
  visibility: visible;
}

.search-predictive-submit {
  display: none !important;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid #FF4B00;
  border-radius: 2px;
  background: #FF4B00;
  color: #FFFFFF;
  font-family: var(--orzel-heading-font, var(--font-heading-family));
  font-size: 12px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.search-predictive-submit:hover {
  border-color: #E04400;
  background: #E04400;
}

.search-predictive-hot-term {
  display: none !important;
  margin-top: 18px !important;
}

.search-predictive-hot-term .font-nav-size {
  color: rgba(255, 255, 255, 0.58) !important;
  font-family: var(--orzel-heading-font, var(--font-heading-family));
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.search-hot-term-container {
  gap: 10px;
  margin-left: 0;
}

.search-hot-term-item {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  margin: 0 !important;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  background: #151515;
  color: rgba(255, 255, 255, 0.84) !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}

.search-hot-term-item:hover {
  border-color: rgba(255, 75, 0, 0.72);
  background: rgba(255, 75, 0, 0.12);
  color: #FFFFFF !important;
}

.search-predictive-result {
  height: auto !important;
  margin-top: 0;
  background: transparent;
  color: #050505;
}

.search-predictive-result-list {
  padding-bottom: 40px;
  padding-top: 12px;
  overflow: unset !important;
}

.search-predictive-result-list[loading],
.search-predictive-result-list[spz-if="false"] {
  display: none !important;
}

.search-predictive-result-list[finish][hasmore] ~ .search-predictive-view-more,
.search-predictive-result-list[finish][data-empty] ~ .search-predictive-empty {
  display: block !important;
}

.search-predictive-result-list:not([loading]):not([spz-if="false"])[hasmore] ~ .search-predictive-view-more,
.search-predictive-result-list:not([loading]):not([spz-if="false"])[data-empty] ~ .search-predictive-empty {
  display: block !important;
}

.search-predictive-result-list ~ .loading,
.search-predictive-empty {
  padding: 56px 0 84px;
}

.search-predictive-empty {
  color: #7A7A7A;
}

.search-predictive-result-list[finish] ~ .loading {
  display: none;
}

.search-predictive-result-list:not([loading]):not([spz-if="false"]) ~ .loading {
  display: none !important;
}

.search-predictive-form[has-value] ~ .search-predictive-hot-term {
  display: none !important;
}

@media (max-width: 959.98px) {
  #search-predictive {
    top: 0 !important;
    bottom: unset !important;
    align-items: flex-start;
  }

  #search-predictive::before {
    top: 124px;
  }

  .search-predictive-container {
    min-height: 124px;
    padding: 0;
  }

  .search-predictive-header {
    width: min(calc(100% - 32px), 746px);
    padding: 18px 0 58px;
  }

  .search-predictive-view-more {
    grid-column-end: span 2;
  }

  .search-predictive-view-more .load-more-btn {
    padding: 11px 19px;
  }

  .search-predictive-result {
    margin-right: 0;
    margin-left: 0;
    padding-right: 16px;
    padding-left: 16px;
  }

  .search-predictive-result-list[data-device="pc"] {
    display: none !important;
  }

  .search-predictive-result-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 15px;
  }

  #search-predictive [data-section-id="announcement"] {
    display: none;
  }
}

@media (min-width: 960px) {
  .search-predictive-container {
    padding: 0;
  }

  .search-predictive-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .search-predictive-form-input {
    height: 48px;
    padding-left: 51px;
    padding-right: 48px;
    font-size: 15px;
  }

  .search-predictive-search-icon-container {
    width: 50px;
    height: 48px !important;
  }

  .search-predictive-submit {
    min-height: 58px;
  }

  .search-predictive-result {
    margin-right: 0;
    margin-left: 0;
    padding-right: var(--orzel-container-padding, 40px);
    padding-left: var(--orzel-container-padding, 40px);
  }

  .search-predictive-result-list[data-device="mobile"] {
    display: none !important;
  }

  .search-predictive-result-container {
    width: min(100%, 1240px);
    margin: 0 auto;
  }

  .search-predictive-result-list {
    display: flex;
    margin: 0 -16px;
    padding-top: 24px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .announcement-sticky {
    position: sticky;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1081;
  }
}

