/* Search blended into the Compor home banner, with Safari focus chrome fully reset. */
.cp-campaign {
  position: relative;
}

#cgh-home-search-v2 {
  position: absolute;
  z-index: 12;
  top: clamp(9px, 1.25vw, 16px);
  left: calc(40% + clamp(8px, 1.1vw, 14px));
  right: clamp(8px, 1.1vw, 14px);
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding: 2px 3px 2px 10px;
  color: #151515;
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.075));
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 17px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.42);
  -webkit-backdrop-filter: blur(5px) saturate(108%);
  backdrop-filter: blur(5px) saturate(108%);
  transition: background 150ms ease, border-color 150ms ease, border-radius 150ms ease;
}

#cgh-home-search-v2,
#cgh-home-search-v2 *,
#cgh-home-search-v2 *::before,
#cgh-home-search-v2 *::after {
  -webkit-tap-highlight-color: transparent;
}

#cgh-home-search-v2.has-focus {
  background: linear-gradient(180deg, rgba(255,255,255,.19), rgba(255,255,255,.095));
  border-color: rgba(255,255,255,.44);
}

#cgh-home-search-v2.is-open {
  border-bottom-color: transparent;
  border-radius: 17px 17px 0 0;
  background: linear-gradient(180deg, rgba(255,255,255,.24), rgba(255,255,255,.14));
}

#cgh-home-search-v2 .cgh-home-search-main {
  all: unset;
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 42px;
  cursor: text;
}

#cgh-home-search-v2 .cgh-home-search-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

#cgh-home-search-v2 .cgh-home-search-input,
#cgh-home-search-v2 .cgh-home-search-input:focus,
#cgh-home-search-v2 .cgh-home-search-input:focus-visible,
#cgh-home-search-v2 .cgh-home-search-input:active {
  all: unset !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  display: block !important;
  flex: 1 1 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 42px !important;
  padding: 0 4px 0 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: #151515 !important;
  -webkit-text-fill-color: #151515 !important;
  caret-color: #151515 !important;
  font: 650 16px/42px var(--font, system-ui, sans-serif) !important;
  text-align: left !important;
  cursor: text !important;
  user-select: text !important;
  -webkit-user-select: text !important;
}

#cgh-home-search-v2 .cgh-home-search-main:focus,
#cgh-home-search-v2 .cgh-home-search-main:focus-visible,
#cgh-home-search-v2 .cgh-home-search-main:focus-within {
  border: 0 !important;
  outline: 0 !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

#cgh-home-search-v2 .cgh-home-search-input::placeholder {
  color: rgba(17,17,17,.76) !important;
  -webkit-text-fill-color: rgba(17,17,17,.76) !important;
  opacity: 1 !important;
}

#cgh-home-search-v2 .cgh-home-search-camera {
  all: unset;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  cursor: pointer;
}

#cgh-home-search-v2 .cgh-home-search-camera:focus,
#cgh-home-search-v2 .cgh-home-search-camera:focus-visible,
#cgh-home-search-v2 .cgh-home-search-camera:active {
  outline: 0 !important;
  box-shadow: none !important;
  border: 0 !important;
}

#cgh-home-search-v2 .cgh-home-search-camera:active {
  background: rgba(255,255,255,.18);
}

#cgh-home-search-v2 svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#cgh-home-search-v2 .cgh-home-search-results {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  right: 0;
  max-height: min(390px, 56vh);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 5px 7px 7px;
  background: linear-gradient(180deg, rgba(255,255,255,.64), rgba(255,255,255,.57));
  border: 1px solid rgba(255,255,255,.44);
  border-top: 0;
  border-radius: 0 0 17px 17px;
  box-shadow: none;
  -webkit-backdrop-filter: blur(11px) saturate(112%);
  backdrop-filter: blur(11px) saturate(112%);
}

#cgh-home-search-v2 .cgh-home-search-status {
  margin: 0;
  padding: 6px 9px 7px;
  color: rgba(17,17,17,.67);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.3;
}

#cgh-home-search-v2 .cgh-home-search-list {
  display: grid;
  gap: 2px;
}

#cgh-home-search-v2 .cgh-home-search-result {
  all: unset;
  display: grid;
  grid-template-columns: 46px minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  padding: 5px 7px;
  border-radius: 11px;
  box-sizing: border-box;
  cursor: pointer;
}

#cgh-home-search-v2 .cgh-home-search-result:focus,
#cgh-home-search-v2 .cgh-home-search-result:focus-visible {
  outline: 0 !important;
  box-shadow: none !important;
  background: rgba(255,255,255,.22);
}

#cgh-home-search-v2 .cgh-home-search-result img {
  width: 46px;
  height: 50px;
  object-fit: contain;
  border-radius: 7px;
  background: rgba(255,255,255,.42);
}

#cgh-home-search-v2 .cgh-home-search-result-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

#cgh-home-search-v2 .cgh-home-search-result-copy strong,
#cgh-home-search-v2 .cgh-home-search-result-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#cgh-home-search-v2 .cgh-home-search-result-copy strong {
  color: #111;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.25;
}

#cgh-home-search-v2 .cgh-home-search-result-copy small {
  color: rgba(17,17,17,.62);
  font-size: 12px;
  line-height: 1.3;
}

#cgh-home-search-v2 .cgh-home-search-result-arrow {
  color: rgba(17,17,17,.65);
  font-size: 23px;
  line-height: 1;
}

#cgh-home-search-v2 .cgh-home-search-empty {
  display: grid;
  gap: 3px;
  padding: 12px 10px 15px;
  text-align: center;
}

#cgh-home-search-v2 .cgh-home-search-empty strong {
  font-size: 14px;
}

#cgh-home-search-v2 .cgh-home-search-empty span {
  color: rgba(17,17,17,.61);
  font-size: 12px;
}

@media (hover:hover) {
  #cgh-home-search-v2 .cgh-home-search-camera:hover,
  #cgh-home-search-v2 .cgh-home-search-result:hover {
    background: rgba(255,255,255,.18);
  }
}

@media (max-width:760px) {
  #cgh-home-search-v2 {
    top: 8px;
    left: 7px;
    right: 7px;
    min-height: 47px;
    padding: 2px 3px 2px 9px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.065));
    -webkit-backdrop-filter: blur(4px) saturate(106%);
    backdrop-filter: blur(4px) saturate(106%);
  }

  #cgh-home-search-v2.has-focus {
    background: linear-gradient(180deg, rgba(255,255,255,.17), rgba(255,255,255,.085));
  }

  #cgh-home-search-v2.is-open {
    border-radius: 16px 16px 0 0;
    background: linear-gradient(180deg, rgba(255,255,255,.21), rgba(255,255,255,.13));
  }

  #cgh-home-search-v2 .cgh-home-search-main,
  #cgh-home-search-v2 .cgh-home-search-input,
  #cgh-home-search-v2 .cgh-home-search-input:focus,
  #cgh-home-search-v2 .cgh-home-search-input:focus-visible,
  #cgh-home-search-v2 .cgh-home-search-input:active {
    min-height: 41px !important;
    height: 41px !important;
    font-size: 16px !important;
    line-height: 41px !important;
  }

  #cgh-home-search-v2 .cgh-home-search-camera {
    flex-basis: 41px;
    width: 41px;
    height: 41px;
  }

  #cgh-home-search-v2 .cgh-home-search-results {
    max-height: min(365px, 53vh);
    border-radius: 0 0 16px 16px;
    background: linear-gradient(180deg, rgba(255,255,255,.61), rgba(255,255,255,.54));
  }
}

@media (max-width:370px) {
  #cgh-home-search-v2 {
    top: 6px;
    left: 5px;
    right: 5px;
  }
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  #cgh-home-search-v2 {
    background: rgba(255,255,255,.42);
  }

  #cgh-home-search-v2 .cgh-home-search-results {
    background: rgba(255,255,255,.9);
  }
}
