/* Shared header search styles — loaded on /account, /wholesale, /dropship.
   Phase-2 design pages (/index, /product) keep their inline copies.
   Source spec: 2026-05-11 header unification. */
.header-row a[aria-label="Account"] { margin-left: auto; }
.header-search {
  flex: 1;
  max-width: 540px;
  position: relative;
  display: flex;
  align-items: center;
}
.header-search input {
  flex: 1;
  height: 44px;
  padding: 0 56px 0 var(--s-4);
  background: var(--paper-2);
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: var(--t-sm);
  color: var(--ink);
}
.header-search input:focus {
  outline: none;
  border-color: var(--oxblood);
  background: var(--paper);
  box-shadow: 0 0 0 3px var(--oxblood-tint);
}
.header-search button {
  position: absolute;
  right: 4px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-sm);
  border: none;
  cursor: pointer;
}
.header-search button svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}
.header-search .search-results {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-md);
  box-shadow: var(--sh-3);
  max-height: 420px;
  overflow-y: auto;
  z-index: 90;
  display: none;
}
.header-search .search-results.active { display: block; }
.header-search .search-results a {
  display: block;
  padding: var(--s-3) var(--s-4);
  font-size: var(--t-sm);
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
}
.header-search .search-results a:hover { background: var(--paper-2); }
@media (max-width: 640px) { .header-search { display: none; } }
