/* Brand directory only. Product, pricing and portal components retain their styles. */
.brand-directory { --bd-border: #8fa58b45; --bd-panel: #1b3022; color: #f5f2e8; }
.brand-directory [hidden] { display: none !important; }
.brand-directory .container { max-width: 1280px; }
.brand-directory .bd-hero { padding: 132px 0 36px; background: linear-gradient(120deg, #192e20, #0d1912 80%); }
.bd-breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; font-size: 12px; color: #b6c4b1; }
.bd-breadcrumb a { color: #d4dece; text-decoration: underline; text-underline-offset: 4px; }
.bd-eyebrow { display: flex; align-items: center; gap: 12px; color: #e6c46a; font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.bd-eyebrow::before { content: ''; width: 28px; height: 2px; background: #edb427; }
.bd-hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; }
.brand-directory .bd-title { max-width: 800px; margin: 18px 0; font-size: clamp(36px, 4.4vw, 58px); line-height: 1.12; font-weight: 700; letter-spacing: -.04em; text-wrap: balance; }
.bd-title span { display: block; color: #edb427; }
.brand-directory .bd-lead { max-width: 680px; margin: 0; color: #cbd3c6; font-size: 16px; line-height: 1.8; }
.bd-help { padding-bottom: 4px; }
.bd-help p { margin-bottom: 9px; color: #b6c4b1; font-size: 12px; }
.bd-help a { display: inline-flex; align-items: center; gap: 18px; min-height: 48px; padding: 12px 18px; border: 1px solid #718369; border-radius: 9px; color: #f5f2e8; font-size: 13px; font-weight: 700; }
.bd-help a:hover { background: #21372b; border-color: #edb427; }
.bd-help svg { width: 16px; height: 16px; }
.bd-browser { padding-top: 8px; scroll-margin-top: 112px; }
.bd-tools { padding: 24px; background: var(--bd-panel); border: 1px solid var(--bd-border); border-radius: 16px; }
.bd-search-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; }
.bd-search-label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: #f5f2e8; }
.bd-search-field { display: flex; align-items: center; gap: 12px; min-height: 54px; max-width: 640px; padding: 0 12px 0 16px; border: 1px solid #718369; border-radius: 9px; background: #0d1912; }
.bd-search-field:focus-within { outline: 2px solid #edb427; outline-offset: 3px; border-color: #edb427; }
.bd-search-icon { flex: 0 0 19px; width: 19px; height: 19px; color: #b6c4b1; }
.bd-search-field input { min-width: 0; flex: 1; width: 100%; padding: 14px 0; border: 0; outline: none; border-radius: 0; background: transparent; color: #f5f2e8; font: inherit; font-size: 16px; line-height: 1.5; box-shadow: none; }
.bd-search-field input::placeholder { color: #b6c4b1; opacity: 1; }
.bd-search-field input::-webkit-search-cancel-button { display: none; }
.bd-clear-search { display: grid; place-items: center; flex: 0 0 40px; width: 40px; min-height: 44px; border: 0; border-radius: 6px; color: #f5f2e8; background: transparent; cursor: pointer; }
.bd-clear-search:hover { background: #21372b; }
.bd-clear-search svg { width: 17px; height: 17px; }
.bd-total { max-width: 190px; margin: 0 0 4px; color: #b6c4b1; font-size: 12px; line-height: 1.6; }
.bd-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.bd-filter { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 14px; border: 1px solid #71836980; border-radius: 8px; color: #e5ebdf; background: #14271c; font: inherit; font-size: 12px; font-weight: 600; line-height: 1.5; cursor: pointer; }
.bd-filter:hover { background: #2b4535; border-color: #b6c4b1; }
.bd-filter[aria-pressed="true"] { background: #edb427; border-color: #edb427; color: #14271c; }
.bd-filter-count { min-width: 20px; padding: 1px 5px; border-radius: 4px; background: #ffffff12; font-size: 11px; font-variant-numeric: tabular-nums; }
.bd-filter[aria-pressed="true"] .bd-filter-count { background: #14271c18; }
.bd-fallback { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px 0; }
.bd-fallback a { padding: 10px 14px; border: 1px solid var(--bd-border); border-radius: 8px; color: #f5f2e8; font-size: 13px; }
.bd-results-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 66px; padding: 16px 0; border-bottom: 1px solid var(--bd-border); }
.bd-results { margin: 0; color: #cbd3c6; font-size: 13px; line-height: 1.6; }
.bd-reset { padding: 10px 0 10px 14px; min-height: 44px; color: #edb427; background: none; border: 0; font: inherit; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.brand-directory .bl-group { margin-top: 38px; scroll-margin-top: 110px; }
.brand-directory .bl-group-head { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 20px; padding: 0; border: 0; }
.bd-group-copy { flex: 1 1 360px; min-width: 0; }
.brand-directory .bl-group-head h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; color: #f5f2e8; font-size: 21px; line-height: 1.4; letter-spacing: -.02em; }
.brand-directory .bl-group-head p { margin: 7px 0 0; max-width: 680px; color: #b6c4b1; font-size: 13px; line-height: 1.7; }
.bd-group-count { display: inline-block; padding: 2px 8px; border: 1px solid var(--bd-border); border-radius: 6px; color: #cbd3c6; font-family: var(--font-body); font-size: 12px; font-weight: 500; letter-spacing: 0; }
.brand-directory .bl-group-link { display: inline-flex; align-items: center; min-height: 44px; color: #edb427; font-size: 12px; font-weight: 600; text-decoration: none; }
.brand-directory .bl-group-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.brand-directory .bl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.brand-directory .bl-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--bd-border); border-radius: 13px; overflow: hidden; background: #1b3022; color: #f5f2e8; text-decoration: none; transition: border-color .18s, box-shadow .18s; }
.brand-directory a.bl-card:hover { border-color: #edb427; box-shadow: 0 8px 24px #0002; transform: none; }
.brand-directory .bl-logo { display: flex; align-items: center; justify-content: center; height: 116px; padding: 22px 28px; background: #101b14; border-bottom: 1px solid #8fa58b30; }
.brand-directory .bl-logo img { max-width: 100%; max-height: 62px; width: auto; height: auto; object-fit: contain; }
.brand-directory .bl-wordmark { max-width: 260px; font-family: var(--font-heading); font-size: 19px; font-weight: 700; line-height: 1.35; text-align: center; color: #f5f2e8; }
.brand-directory .bl-body { flex: 1; min-width: 0; padding: 20px 22px 16px; background: transparent; }
.brand-directory .bl-body h3 { margin: 0 0 9px; color: #f5f2e8; font-size: 17px; line-height: 1.4; }
.brand-directory .bl-body p { margin: 0; color: #cbd3c6; font-size: 13px; line-height: 1.7; }
.brand-directory .bl-go { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 22px; padding: 13px 0 16px; border-top: 1px solid var(--bd-border); color: #edb427; font-size: 12px; font-weight: 700; }
.bl-go svg { width: 17px; height: 17px; flex-shrink: 0; }
.brand-directory .bl-card--soon { border-style: dashed; }
.brand-directory .bl-soon { display: inline-flex; align-items: center; gap: 8px; margin: 0 22px 18px; padding: 7px 10px; align-self: start; border: 1px solid #8fa58b60; border-radius: 6px; color: #cbd3c6; font-size: 11px; font-weight: 600; }
.brand-directory .bl-soon::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #b6c4b1; box-shadow: none; }
.bd-empty { margin-top: 28px; padding: 44px 24px; border: 1px dashed #718369; border-radius: 14px; text-align: center; }
.bd-empty h2 { margin: 0 0 12px; font-size: 24px; color: #f5f2e8; }
.bd-empty p { max-width: 520px; margin: 0 auto 20px; color: #cbd3c6; font-size: 15px; }
.bd-empty button { min-height: 48px; padding: 12px 18px; border: 0; border-radius: 8px; background: #edb427; color: #14271c; font: inherit; font-weight: 700; cursor: pointer; }
.brand-directory :is(a, button):focus-visible { outline: 3px solid #f5c842; outline-offset: 4px; }
.brand-directory .hsc-pricing-cta { margin-top: 56px; }
@media (max-width: 1000px) {
  .brand-directory .bd-hero { padding-top: 116px; }
  .bd-hero-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .bd-help { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
  .bd-help p { margin: 0; }
  .bd-help a { min-height: 44px; padding: 8px 0; border: 0; }
  .bd-help a:hover { background: transparent; color: #edb427; }
  .brand-directory .bl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .brand-directory .container { padding-inline: 20px; }
  .brand-directory .bd-hero { padding: 104px 0 24px; }
  .bd-breadcrumb { margin-bottom: 22px; font-size: 11px; }
  .bd-eyebrow { font-size: 10px; letter-spacing: .1em; }
  .brand-directory .bd-title { margin: 16px 0; font-size: clamp(32px, 8.5vw, 42px); }
  .brand-directory .bd-lead { font-size: 15px; line-height: 1.7; }
  .bd-hero-layout { gap: 10px; }
  .bd-tools { padding: 16px; border-radius: 12px; }
  .bd-search-row { grid-template-columns: 1fr; gap: 0; }
  .bd-total { display: none; }
  .bd-search-field { gap: 9px; padding-left: 12px; }
  .bd-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
  .bd-filter { justify-content: space-between; gap: 6px; padding: 10px; text-align: left; font-size: 11px; }
  .bd-filter[data-category="all"] { grid-column: 1 / -1; }
  .bd-filter-count { flex-shrink: 0; text-align: center; }
  .bd-results-bar { gap: 6px; }
  .bd-reset { font-size: 12px; flex-shrink: 0; }
  .brand-directory .bl-group { margin-top: 28px; }
  .brand-directory .bl-group-head { gap: 4px; margin-bottom: 14px; }
  .brand-directory .bl-group-head h2 { font-size: 19px; }
  .brand-directory .bl-group-head p { font-size: 12px; }
  .brand-directory .bl-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .brand-directory .bl-card { display: grid; grid-template-columns: 90px minmax(0, 1fr); column-gap: 0; }
  .brand-directory .bl-logo { grid-row: 1 / 3; height: 100%; padding: 12px; border-bottom: 0; border-right: 1px solid #8fa58b30; }
  .brand-directory .bl-logo img { max-height: 60px; }
  .brand-directory .bl-wordmark { font-size: 12px; overflow-wrap: anywhere; }
  .brand-directory .bl-body { grid-column: 2; padding: 16px 14px 10px; }
  .brand-directory .bl-body h3 { font-size: 15px; margin-bottom: 7px; }
  .brand-directory .bl-body p { font-size: 12px; line-height: 1.65; }
  .brand-directory .bl-go { grid-column: 2; margin: 0 14px; padding: 11px 0 14px; font-size: 11px; }
  .brand-directory .bl-soon { grid-column: 2; margin: 0 14px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-directory :is(a, button) { transition: none; }
}
