.hero-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.search-box {
  width: 34%;
  min-width: 116px;
  max-width: 146px;
  height: 40px;
  flex: 0 0 auto;
  padding: 0 12px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  box-shadow: 0 7px 22px rgba(17, 24, 21, 0.12);
  backdrop-filter: blur(16px) saturate(145%);
  -webkit-backdrop-filter: blur(16px) saturate(145%);
  transition: width 220ms ease, max-width 220ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.search-box:focus-within,
.search-box.has-query {
  width: calc(100% - 48px);
  max-width: none;
  color: #27312d;
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.86);
  box-shadow: 0 9px 26px rgba(17, 24, 21, 0.16);
}

.search-box svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.search-box input {
  color: #27312d;
  font-size: 13px;
}

.search-box:not(:focus-within):not(.has-query) input {
  color: rgba(255, 255, 255, 0.96);
}

.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.86);
}

.search-box:focus-within input::placeholder,
.search-box.has-query input::placeholder {
  color: #7a847f;
}

.hero-top .icon-button {
  margin-left: 0;
  background: rgba(20, 26, 23, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 7px 22px rgba(17, 24, 21, 0.15);
  backdrop-filter: blur(16px) saturate(135%);
  -webkit-backdrop-filter: blur(16px) saturate(135%);
}

@media (max-width: 360px) {
  .search-box {
    width: 36%;
    min-width: 108px;
  }

  .search-box:focus-within,
  .search-box.has-query {
    width: calc(100% - 48px);
  }
}
