/* v1.7 – a single, consistent shared manufacturer landing page. */
body.ss-ba-unified { --ba-ink:#101b43; --ba-accent:#ffc501; --ba-tone:#997300; --ba-paper:#eeeff4; }
body.ss-ba-unified .ss-ba-main .ss-ba-shell { width:100%; max-width:1600px; margin-inline:auto; padding-inline:clamp(12px,2.5vw,40px); }
/* The theme has its own full-width yellow bar immediately after the menu.
   Pull the breadcrumb INTO that band; don't create a second stripe or white row. */
body.ss-ba-unified .ss-ba-main .ss-ba-breadcrumb-band {
  position:relative; z-index:2; margin-top:-39px; height:39px; padding:0; border:0;
  background:transparent !important;
}
body.ss-ba-unified .ss-ba-main .ss-ba-breadcrumb {
  display:flex; align-items:center; min-height:39px; height:39px;
  margin:0; padding:0; font-size:13px; line-height:1.35; color:#101010;
}
body.ss-ba-unified .ss-ba-main .ss-ba-breadcrumb a,
body.ss-ba-unified .ss-ba-main .ss-ba-breadcrumb span { color:#101010; }
body.ss-ba-unified .ss-ba-main .ss-ba-hero {
  background:var(--ba-paper); border:0; padding:18px 0 16px; min-height:242px;
}
body.ss-ba-unified .ss-ba-main .ssba-hero-grid {
  display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);
  min-height:205px; align-items:center; gap:clamp(16px,2.5vw,42px);
}
body.ss-ba-unified .ss-ba-main .ssba-hero-info {
  display:flex; flex-direction:column; align-items:flex-start; justify-content:center;
  min-width:0; height:100%; padding:0;
}
body.ss-ba-unified .ss-ba-main .ss-ba-eyebrow { color:#566079; font-size:12px; margin:0 0 6px; font-weight:750; }
body.ss-ba-unified .ss-ba-main h1 {
  margin:0; border-left:5px solid var(--ba-accent); padding-left:14px;
  color:var(--ba-ink); font-size:clamp(27px,2.65vw,40px); font-weight:800;
  line-height:1.08; letter-spacing:-.02em; max-width:none;
}
body.ss-ba-unified .ss-ba-main .ssba-unified-tagline {
  margin:8px 0 5px 19px; color:#ac8200;
  font-size:clamp(16px,1.2vw,19px); font-style:italic; font-weight:750; line-height:1.2;
}
body.ss-ba-unified .ss-ba-main .ssba-unified-intro {
  color:#2a3551; font-size:14px; line-height:1.42;
  margin:0 0 0 19px; max-width:740px;
}
body.ss-ba-unified .ss-ba-main .ss-ba-hero-actions {
  display:flex; flex-wrap:wrap; gap:9px; align-items:stretch; margin:12px 0 0 19px; padding:0;
}
body.ss-ba-unified .ss-ba-main .ss-ba-hero-actions > :is(.ss-ba-count-pill,.ss-ba-hero-button) {
  display:inline-flex; justify-content:center; align-items:center;
  box-sizing:border-box; min-height:38px; padding:9px 12px; border-radius:3px;
  font-size:13px; line-height:1.2; font-weight:800; text-decoration:none;
}
body.ss-ba-unified .ss-ba-main .ss-ba-hero-button {
  color:#101010 !important; background:#ffc501; min-width:165px;
}
body.ss-ba-unified .ss-ba-main .ss-ba-count-pill {
  color:#10244f; background:#fff; border:1px solid #cbd2de; border-left:3px solid #ffc501;
}
body.ss-ba-unified .ss-ba-main .ssba-hero-visual { display:flex; justify-content:center; align-items:center; min-width:0; }
body.ss-ba-unified .ss-ba-main .ssba-hero-banner {
  width:100%; max-width:520px; margin:0; display:flex; justify-content:center; align-items:center;
  background:transparent; border:0; padding:0; min-height:0; max-height:none;
  overflow:hidden;
}
body.ss-ba-unified .ss-ba-main .ssba-hero-banner img {
  display:block; width:100%; height:auto; max-height:236px; object-fit:contain;
  mix-blend-mode:multiply; -webkit-mask-image:linear-gradient(to right,transparent,#000 8%,#000 93%,transparent),linear-gradient(to bottom,transparent,#000 8%,#000 92%,transparent);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(to right,transparent,#000 8%,#000 93%,transparent),linear-gradient(to bottom,transparent,#000 8%,#000 92%,transparent);
  mask-composite:intersect;
}
body.ss-ba-unified .ss-ba-main .ssba-hero-banner.ssba-soft-art img { mix-blend-mode:multiply; }
body.ss-ba-unified .ss-ba-main .ss-ba-layout {
  display:grid; grid-template-columns:clamp(180px,15vw,214px) minmax(0,1fr);
  align-items:start; gap:clamp(12px,1.6vw,24px); padding-block:16px 22px;
}
body.ss-ba-unified .ss-ba-main .ss-ba-facets-combined { padding:12px 10px 14px; background:#101114; border-top:3px solid #ffc501; }
body.ss-ba-unified .ss-ba-main .ss-ba-sidebar-stack { position:static; top:auto; }
body.ss-ba-unified .ss-ba-main .ss-ba-category-nav li > .ssba-cat-row > a { font-size:13px; }
body.ss-ba-unified .ss-ba-main .ss-ba-category-nav li > .ssba-cat-row > a:hover,
body.ss-ba-unified .ss-ba-main .ss-ba-category-nav li > .ssba-cat-row > a[aria-current="page"] { color:#ffc501; }
body.ss-ba-unified .ss-ba-main .ss-ba-brand-list a:link,
body.ss-ba-unified .ss-ba-main .ss-ba-brand-list a:visited { color:#fff !important; }
body.ss-ba-unified .ss-ba-main .ss-ba-brand-list a:hover,
body.ss-ba-unified .ss-ba-main .ss-ba-brand-list a[aria-current="page"] { color:#ffc501 !important; }
body.ss-ba-unified .ss-ba-main .ss-ba-results-head h2 { color:#101b43; font-size:clamp(21px,2vw,27px); }
body.ss-ba-unified .ss-ba-main .ssba-after-catalog { padding-block:0 28px; }
body.ss-ba-unified .ss-ba-main .ss-ba-copy-drawer { border:0; margin:4px 0 0; }
body.ss-ba-unified .ss-ba-main .ss-ba-copy-drawer summary {
  font-size:15px; font-weight:750; border-top:1px solid #d8dbe0; color:#101b43; padding:14px 4px;
}
body.ss-ba-unified .ss-ba-main .ss-ba-copy-drawer-content { padding:8px 4px 20px; }
body.ss-ba-unified .ss-ba-main .ss-ba-copy-section h3 { border-left:3px solid #ffc501; color:#101b43; font-size:19px; }
body.ss-ba-unified .ss-ba-main .ss-ba-copy-section.ss-ba-copy-tone h3 { color:#947000; }
@media(max-width:900px) {
  body.ss-ba-unified .ss-ba-main .ssba-hero-grid { grid-template-columns:minmax(0,1fr) minmax(230px,.75fr); }
  body.ss-ba-unified .ss-ba-main .ssba-hero-banner img { max-height:200px; }
}
@media(max-width:720px) {
  body.ss-ba-unified .ss-ba-main .ss-ba-breadcrumb-band { margin-top:-35px; height:35px; }
  body.ss-ba-unified .ss-ba-main .ss-ba-breadcrumb { height:35px; min-height:35px; }
  body.ss-ba-unified .ss-ba-main .ss-ba-hero { padding-block:12px; }
  body.ss-ba-unified .ss-ba-main .ssba-hero-grid { grid-template-columns:1fr; gap:10px; }
  body.ss-ba-unified .ss-ba-main .ssba-hero-info { padding:0; }
  body.ss-ba-unified .ss-ba-main .ssba-hero-visual { order:-1; }
  body.ss-ba-unified .ss-ba-main .ssba-hero-banner img { max-height:130px; }
  body.ss-ba-unified .ss-ba-main h1 { font-size:28px; }
  body.ss-ba-unified .ss-ba-main .ssba-unified-tagline { font-size:16px; }
  body.ss-ba-unified .ss-ba-main .ssba-unified-intro { font-size:13px; }
  body.ss-ba-unified .ss-ba-main .ss-ba-layout { grid-template-columns:1fr; }
}


/* v1.7.2 – unified brand pages match OHP/Branded six-product archive rows. */
body.ss-ba-unified .ss-ba-main .ss-ba-results {
  min-width:0;
  container-type:inline-size;
}
body.ss-ba-unified .ss-ba-main .ss-ba-results .ss-ba-products {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
@container (min-width:650px) {
  body.ss-ba-unified .ss-ba-main .ss-ba-results .ss-ba-products {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
@container (min-width:780px) {
  body.ss-ba-unified .ss-ba-main .ss-ba-results .ss-ba-products {
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}
@container (min-width:980px) {
  body.ss-ba-unified .ss-ba-main .ss-ba-results .ss-ba-products {
    grid-template-columns:repeat(5,minmax(0,1fr));
  }
}
@container (min-width:1140px) {
  body.ss-ba-unified .ss-ba-main .ss-ba-results .ss-ba-products {
    grid-template-columns:repeat(6,minmax(0,1fr));
  }
}
@container (max-width:390px) {
  body.ss-ba-unified .ss-ba-main .ss-ba-results .ss-ba-products {
    grid-template-columns:minmax(0,1fr);
  }
}
body.ss-ba-unified .ss-ba-main .ss-ba-product-card { min-width:0; }
body.ss-ba-unified .ss-ba-main .ss-ba-product-body { min-width:0; }
/* The shared-brand landing already has a native BRANDS <details>. Keep its toggle visible. */
body.ss-ba-unified .ss-ba-main .ssba-brands-toggle > summary { display:flex; justify-content:space-between; align-items:center; }
