/* YouTube-style header — one top bar + chip strip */
:root {
  --ac-header-h: 3.5rem;
  --ac-chipbar-h: 3.25rem;
  --ac-header-stack: calc(var(--ac-header-h) + var(--ac-chipbar-h));
}
.ac-site-header nav.legacy-behance-nav {
  display: none !important;
}
header .filter_search_sort_container.ac-header-bar {
  top: 0;
  left: 0;
  right: 0;
  width: 100% !important;
  margin-left: 0 !important;
  min-height: var(--ac-header-h);
  height: var(--ac-header-h);
  padding: 0 clamp(0.75rem, 2vw, 1.5rem);
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: none;
  z-index: 8;
}
.ac-header-start {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  min-width: 0;
}
header .ac-header-bar .filter-btn {
  border: none;
  background: transparent;
  height: 40px;
  width: 40px;
  padding: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
header .ac-header-bar .filter-btn:hover {
  background: #f3f4f6;
}
header .ac-header-bar .filter-btn button {
  width: 100%;
  height: 100%;
  font-size: 1.15rem;
  color: #1f2937;
}
header .ac-header-bar .filter-btn.filter-btn-toggle {
  display: grid !important;
}
.ac-header-brand {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  min-width: 0;
}
.ac-header-brand-text {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111827;
  white-space: nowrap;
}
header .ac-header-bar .search-bar.ac-header-search {
  flex: 1 1 480px;
  max-width: 720px;
  margin: 0 auto;
  height: 40px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  box-shadow: none;
}
header .ac-header-search input.search-bar-products {
  flex: 1;
  min-width: 0;
  padding: 0 1rem;
  font-size: 0.9375rem;
  background: transparent;
}
header .ac-header-search input::placeholder {
  color: #9ca3af;
}
.ac-header-search-btn {
  width: 64px;
  border: none;
  border-left: 1px solid #d1d5db;
  background: #f3f4f6;
  color: #374151;
  cursor: pointer;
  font-size: 1rem;
}
.ac-header-search-btn:hover {
  background: #e5e7eb;
}
.ac-header-end {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-left: auto;
}
.ac-header-mini-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-right: 0.35rem;
}
.ac-header-mini-nav a {
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #4b5563;
  text-decoration: none;
}
.ac-header-mini-nav a:hover {
  background: #f3f4f6;
  color: #111827;
}
.ac-header-mini-nav a.is-active {
  color: #111827;
  background: #eef2ff;
}
header .ac-header-bar .sort-btn {
  position: relative;
  width: auto;
  min-width: 8.5rem;
}
header .ac-header-bar .sort-btn button {
  height: 36px;
  padding: 0 0.65rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 0.8125rem;
  gap: 0.35rem;
}
header .ac-header-bar .sort-btn button::after {
  display: none;
}
.ac-header-cta {
  text-decoration: none;
}
header .ac-header-bar button.log-in,
header .ac-header-bar button.sign-in {
  height: 34px;
  padding: 0 0.85rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
}
header .ac-header-bar button.log-in {
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #1f2937;
}
header .ac-header-bar button.sign-in {
  border: none;
  background: #3563e7;
  color: #fff;
}
header .categorys-container {
  position: fixed;
  top: var(--ac-header-h);
  left: 0;
  right: 0;
  z-index: 7;
  margin-top: 0 !important;
  min-height: var(--ac-chipbar-h);
  padding: 0.5rem clamp(0.75rem, 2vw, 1.5rem);
}
body.behance-theme > section,
body.behance-theme > .site-loading + section {
  padding-top: var(--ac-header-stack);
}
@media (max-width: 1024px) {
  .ac-header-brand-text {
    display: none;
  }
  .ac-header-mini-nav {
    display: none;
  }
}
@media (max-width: 720px) {
  header .ac-header-bar .sort-btn {
    display: none;
  }
  .ac-header-cta .log-in {
    display: none;
  }
  header .ac-header-bar .search-bar.ac-header-search {
    flex-basis: 0;
  }
}