/* Brand banner presentation; the existing search form and brand controller stay intact. */
body.light-theme .brands-page {
  width: 100%;
  max-width: 1440px;
  padding: 24px 28px 48px;
}
body.light-theme .brands-page-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: clamp(300px, 27vw, 390px);
  padding: 28px 32px;
  gap: 20px;
  border: 1px solid #dfe7ef;
  border-radius: 12px;
  color: #102238;
  background: #fff url("assets/hero/merken-studio.png") right center / 75% auto no-repeat;
  box-shadow: none;
}
body.light-theme .brands-page-header > div,
body.light-theme .brands-page-header .brand-search-form { width: 44%; }
body.light-theme .brands-page-header h1 {
  color: #102238;
  font-size: clamp(28px, 3vw, 44px);
  font-style: italic;
  line-height: 1.15;
  margin: 8px 0 0;
  text-shadow: none;
}
body.light-theme .brands-page-header p { display: none !important; }
body.light-theme .brands-page-header .category-commerce-eyebrow { color: #006bd1; }
body.light-theme .brands-page-header #brandCount { color: #52677f; font-size: 13px; }
body.light-theme .brands-page-header #brandSearch { border-color: #cbdced; font-size: 16px; }
body.light-theme .brands-page-header #brandSearch:focus-visible { outline: 3px solid #087cf0; outline-offset: 2px; }
@media (max-width: 820px) {
  body.light-theme .brands-page-header {
    min-height: 0;
    padding: 22px 18px !important;
    gap: 20px;
    background-position: right top;
    background-size: 100% auto;
  }
  body.light-theme .brands-page-header > div { width: 48%; }
  body.light-theme .brands-page-header h1 { font-size: 28px; }
  body.light-theme .brands-page-header .brand-search-form { width: 100%; }
}
@media (max-width: 720px) {
  body.light-theme .brands-page { padding: 18px 14px 32px !important; }
  body.light-theme .brands-page-header .category-commerce-eyebrow { font-size: 10px; }
  body.light-theme .brands-page-header h1 { font-size: 26px; }
}

/* Respect the image fallback state even when logo styles set display. */
.brand-logo-frame [hidden] {
  display: none !important;
}
