/* One search component for every storefront theme. Layout belongs to the wrapper. */
.search-box {
  flex: 1 1 320px;
  min-width: 280px;
  max-width: 640px;
}
.search-box .header-search {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 48px;
  min-width: 0;
  margin: 0;
  border: 2px solid var(--primary-dark);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.search-box .header-search:focus-within {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
.search-box .header-search input {
  flex: 1 1 0;
  width: 100%;
  min-width: 0;
  border: 0;
  border-radius: 0;
  padding: 0 14px;
  background: transparent;
  color: #172033;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  outline: none;
}
.search-box .header-search button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  border: 0;
  padding: 0;
  background: var(--primary-dark);
  color: #fff;
  cursor: pointer;
}
.search-box .header-search button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}
.search-popular {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
  font-size: .8rem;
}
.search-popular-chip {
  max-width: 100%;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
}
.search-visual { margin-top: 8px; }
.search-visual img { display: block; max-width: 100%; max-height: 56px; object-fit: contain; }
@media (max-width: 1100px) {
  .header-main { flex-wrap: wrap; }
  .search-box { order: 3; flex: 1 0 100%; min-width: 0; max-width: none; }
}
