.header-search-form {
  display: flex;
  flex: 0 1 210px;
  align-items: stretch;
  width: clamp(165px, 14vw, 210px);
  height: 40px;
  margin: 0 clamp(.55rem, 1.2vw, 1rem);
  overflow: hidden;
  border: 2px solid var(--ink);
  background: #fff;
  box-shadow: 3px 3px 0 var(--cyan);
}

.header-search-form:focus-within {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}

.header-search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.header-search-input {
  min-width: 0;
  flex: 1;
  padding: .55rem .7rem;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: .9rem;
}

.header-search-input::placeholder {
  color: #5a5f69;
  opacity: 1;
}

.header-search-button {
  width: 42px;
  flex: 0 0 42px;
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--cobalt);
  color: #fff;
  font: inherit;
  font-size: 1.25rem;
  font-weight: 800;
  cursor: pointer;
}

.header-search-button:hover,
.header-search-button:focus-visible {
  background: var(--ink);
}

@media (width <= 1250px) {
  .desktop-navigation {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .header-inner {
    min-height: 76px;
    height: auto;
    flex-wrap: wrap;
    gap: .75rem;
    padding-top: .7rem;
    padding-bottom: .7rem;
  }

  .header-search-form {
    order: 3;
    width: 100%;
    height: 42px;
    flex: 1 0 100%;
    margin: 0;
  }
}

@media (width <= 760px) {
  .header-inner {
    min-height: 66px;
    height: auto;
  }

  .header-search-input {
    font-size: 1rem;
  }
}
