/* Reuses the approved brand grid. Only newly grouped families on staging. */
body.ac-derived-brands-page #main .ac-family-breadcrumb { flex-wrap:wrap; }
body.ac-derived-brands-page #main .ac-derived-back { display:inline-flex; margin:0 0 10px; color:#536c8c; font-size:14px; text-decoration:none; }
body.ac-derived-brands-page #main .ac-derived-tools { display:flex; justify-content:space-between; align-items:center; gap:20px; margin:0 0 30px; }
body.ac-derived-brands-page #main .ac-derived-product-search { display:flex; width:410px; max-width:100%; height:44px; border:1px solid #ccd9e7; border-radius:4px; background:#fff; overflow:hidden; margin:0; }
body.ac-derived-brands-page #main .ac-derived-product-search input { flex:1!important; width:100%!important; min-width:0; max-width:none!important; height:42px!important; margin:0!important; padding:8px 12px!important; border:0!important; border-radius:0!important; background:transparent!important; box-shadow:none!important; font:inherit; font-size:15px!important; color:#173a75; }
body.ac-derived-brands-page #main .ac-derived-product-search button { display:flex; justify-content:center; align-items:center; width:44px; height:44px; padding:10px; margin:0; border:0; background:transparent; color:#1b4fc1; cursor:pointer; flex-shrink:0; }
body.ac-derived-brands-page #main .ac-derived-product-search svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.8; }
body.ac-derived-brands-page #main .ac-derived-all { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:44px; padding:9px 13px; color:#17468d; font-size:15px; font-weight:600; text-decoration:none; border:1px solid #ccd9e7; border-radius:4px; background:#fff; }
body.ac-derived-brands-page #main .ac-derived-all>span:not([aria-hidden]) { font-size:12px; font-weight:400; color:#6f8199; }
body.ac-derived-brands-page #main .ac-derived-controls { display:flex; gap:14px; align-items:center; }
body.ac-derived-brands-page #main #ac-derived-brand-search { width:210px!important; max-width:100%!important; height:44px!important; margin:0!important; padding:8px 12px!important; border:1px solid #ccd9e7!important; border-radius:4px!important; background:#fff; color:#173a75; font:inherit; font-size:14px!important; }
body.ac-derived-brands-page #main .ac-family-view-controls button { min-height:44px; height:44px; width:44px; }
body.ac-derived-brands-page #main .ac-derived-count { margin-top:6px; color:#73849c; font-size:13px; font-weight:400; }
body.ac-derived-brands-page #main .ac-family-name { overflow-wrap:anywhere; flex:0 0 auto; min-height:2.7em; display:flex; align-items:center; justify-content:center; }
body.ac-derived-brands-page #main .ac-derived-symbol { display:block; width:55px; height:55px; fill:none; stroke:#476fa5; stroke-width:1.4; }
body.ac-derived-brands-page #main .ac-families-grid[data-view=list] .ac-family-link { grid-template-rows:auto auto; }
body.ac-derived-brands-page #main .ac-families-grid[data-view=list] .ac-family-picture { grid-row:1/3; }
body.ac-derived-brands-page #main .ac-families-grid[data-view=list] .ac-family-link:after { grid-column:3; grid-row:1/3; }
body.ac-derived-brands-page #main .ac-families-grid[data-view=list] .ac-derived-count { grid-column:2; margin-top:0; }
body.ac-derived-brands-page #main .ac-families-grid[data-view=list] .ac-family-name { justify-content:flex-start; min-height:0; }
body.ac-derived-brands-page #main .ac-family-card[hidden],body.ac-derived-brands-page #main [hidden] { display:none!important; }
body.ac-derived-brands-page #main .ac-derived-empty,body.ac-derived-brands-page #main .ac-derived-note { margin:22px 0 0; color:#63758d; font-size:14px; line-height:1.45; }
body.ac-derived-brands-page #main .ac-derived-product-search:focus-within { outline:2px solid #2863eb; outline-offset:2px; }
body.ac-derived-brands-page #main input:focus { outline:0; }
body.ac-derived-brands-page #main #ac-derived-brand-search:focus-visible,body.ac-derived-brands-page #main .ac-derived-all:focus-visible { outline:3px solid #2863eb; outline-offset:3px; }
body.ac-derived-brands-page #main .ac-derived-sr-only { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media(max-width:820px) { body.ac-derived-brands-page #main .ac-family-toolbar { flex-wrap:wrap; } body.ac-derived-brands-page #main .ac-derived-controls { width:100%; } body.ac-derived-brands-page #main #ac-derived-brand-search { flex:1; min-width:0; } }
@media(max-width:640px) { body.ac-derived-brands-page #main .ac-derived-tools { flex-direction:column; gap:12px; align-items:stretch; margin-bottom:24px; } body.ac-derived-brands-page #main .ac-derived-product-search { width:100%; } body.ac-derived-brands-page #main .ac-derived-product-search input { font-size:14px!important; } body.ac-derived-brands-page #main .ac-derived-all { font-size:14px; } body.ac-derived-brands-page #main .ac-family-heading h2 { font-size:17px; } body.ac-derived-brands-page #main .ac-derived-count { font-size:12px; } }
