/* Brand browsing extends the established blue catalog workspace. */
.brand-workspace{display:block;max-width:1536px;margin:auto;padding:14px 36px 48px;min-width:0}
.brand-workspace>.breadcrumb{margin-bottom:8px}
.brand-workspace>.breadcrumb a{min-height:24px}
.brand-directory,.brand-detail{min-width:0}
.brand-heading{margin-bottom:18px}
.brand-heading h1{max-width:35ch}
.brand-heading>p{max-width:76ch;margin-top:8px;color:var(--muted);font-size:14px;line-height:1.65}
.brand-directory-toolbar{display:flex;align-items:center;gap:24px;margin-bottom:12px}
.brand-directory-toolbar .search-wrap{flex:0 1 480px;min-width:0}
.brand-directory .search-input{height:44px;font-size:14px}
.brand-directory .clear-search{display:flex;justify-content:center;align-items:center;top:9px}
.brand-directory .clear-search svg,.brand-detail .clear-search svg{position:static;width:15px;height:15px}
.brand-directory .clear-search[hidden],.brand-detail .clear-search[hidden]{display:none}
#brand-directory-count{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}
.brand-alphabet{margin-bottom:7px}
.brand-alphabet ul{display:flex;flex-wrap:wrap;gap:3px;list-style:none;margin:0;padding:0}
.brand-alphabet a{display:flex;align-items:center;justify-content:center;min-width:37px;min-height:40px;padding:8px;border-radius:6px;font-size:13px;font-weight:650}
.brand-alphabet a:hover{background:var(--soft);text-decoration:none}
.brand-letter-group{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:start;gap:16px;padding:19px 0;border-top:1px solid var(--line);scroll-margin-top:22px}
.brand-letter-group>h2{font-size:24px;line-height:1.4;font-weight:650;letter-spacing:-.5px;scroll-margin-top:22px}
.brand-letter-group>ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:32px;row-gap:18px;list-style:none;margin:0;padding:0}
.brand-entry{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:5px 12px;min-width:0;padding-top:2px}
.brand-name{width:fit-content;max-width:100%;font-size:17px;font-weight:650;line-height:1.4;overflow-wrap:anywhere}
.brand-entry-count{font-size:12px;color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap}
.brand-entry-categories{grid-column:1/-1;max-width:50ch;font-size:12px;line-height:1.65;color:var(--muted)}
.brand-entry-categories>span:not(.brand-category-separator){font-variant-numeric:tabular-nums;white-space:nowrap}
.brand-category-separator{color:var(--muted)}
.brand-detail-title{display:flex;flex-wrap:wrap;align-items:center;gap:18px}
.brand-detail-logo{display:block;max-width:140px;max-height:42px;width:auto;height:auto;object-fit:contain;mix-blend-mode:multiply}
.brand-model-total{margin-left:auto;color:var(--muted);font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}
.brand-detail .brand-heading{margin-bottom:11px}
.brand-detail .brand-heading>p{max-width:76ch;margin-top:6px;font-size:13px}
.brand-categories{border-bottom:1px solid var(--line);padding-bottom:12px;margin-bottom:25px}
.brand-categories ul{display:flex;flex-wrap:wrap;gap:7px;list-style:none;margin:0;padding:0}
.brand-categories a{display:flex;align-items:center;gap:9px;padding:8px 11px;min-height:37px;border-radius:6px;background:var(--soft);color:var(--blue);font-size:12px;font-weight:550}
.brand-categories a>span{font-size:11px;font-variant-numeric:tabular-nums}
.brand-categories a:hover{background:#e0e8fb;text-decoration:none}
.brand-products{min-width:0}
.brand-detail .category-toolbar{margin-bottom:11px}
.brand-empty{padding:36px 20px 42px;text-align:center;border-top:1px solid var(--line)}
.brand-empty h2{font-size:21px}
.brand-empty p{max-width:54ch;margin:9px auto 18px;color:var(--muted);font-size:13px;line-height:1.7}
.brand-workspace input,.brand-workspace select{color-scheme:light}
.brand-alphabet{scrollbar-width:thin;scrollbar-color:#a8b9df transparent}
.product-data-shell:has(+ .brand-workspace){max-width:1536px;margin-top:6px}
.product-data-shell:has(+ .brand-workspace) .product-data-details>summary{min-height:28px;padding-block:4px;line-height:20px}
@media(max-width:1250px){
 .brand-workspace{padding-inline:25px}
 .brand-letter-group>ul{column-gap:24px}
 .brand-entry{grid-template-columns:minmax(0,1fr)}
 .brand-entry-count{grid-row:2}
 .brand-entry-categories{grid-row:3}
}
@media(max-width:820px){
 .brand-letter-group>ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 26px}
 .brand-entry{grid-template-columns:minmax(0,1fr) auto}
 .brand-entry-count{grid-row:auto}
 .brand-entry-categories{grid-row:auto}
 .brand-heading h1{font-size:30px;letter-spacing:-.7px}
 .brand-directory-toolbar{gap:16px}
 .brand-heading>p{font-size:13px}
}
@media(max-width:600px){
 .brand-workspace{padding:10px 18px 36px}
 .brand-heading{margin-bottom:13px}
 .brand-heading h1{font-size:29px;line-height:1.22;letter-spacing:-.6px}
 .brand-heading>p{font-size:12px;line-height:1.7;margin-top:6px}
 .brand-directory-toolbar{display:block;margin-bottom:5px}
 .brand-directory .search-input{font-size:16px}
 #brand-directory-count{display:block;margin-top:8px;font-size:11px}
 .brand-alphabet{margin-inline:-5px;margin-bottom:6px}
 .brand-alphabet ul{gap:0}
 .brand-alphabet a{min-width:32px;min-height:39px;font-size:12px}
 .brand-letter-group{grid-template-columns:23px minmax(0,1fr);gap:12px;padding-block:14px}
 .brand-letter-group>h2{font-size:20px;line-height:1.6}
 .brand-letter-group>ul{grid-template-columns:1fr;gap:16px}
 .brand-entry{column-gap:8px;padding-top:4px}
 .brand-name{font-size:16px;min-height:25px}
 .brand-entry-count{font-size:11px}
 .brand-entry-categories{font-size:11px;line-height:1.65}
 .brand-detail-title{gap:10px 14px}
 .brand-detail-logo{max-width:103px;max-height:30px}
 .brand-model-total{margin-left:auto;font-size:11px}
 .brand-detail .brand-heading>p{font-size:12px}
 .brand-categories{padding-bottom:9px;margin-bottom:12px}
 .brand-categories ul{gap:6px}
 .brand-categories a{font-size:11px;padding:7px 10px;min-height:36px}
 .brand-detail .category-toolbar{margin-bottom:9px}
 .brand-detail .category-toolbar .search-wrap{min-width:0;flex:1}
 .brand-detail .category-sort-label{width:137px}
 .brand-detail .category-price-note{font-size:10px;line-height:1.6}
 .brand-empty{padding:27px 10px 32px}
 .brand-empty h2{font-size:19px}
 .brand-empty p{font-size:12px}
 .product-data-shell:has(+ .brand-workspace) .product-data-details:not([open])>summary span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
}
@media(prefers-reduced-motion:reduce){
 .brand-directory *,.brand-directory *::before,.brand-directory *::after,.brand-detail *,.brand-detail *::before,.brand-detail *::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}
}
