/* Preserve original brand artwork; align within consistent logo slots. */
.brand-logo-frame{display:flex;align-items:center;justify-content:center;width:100%;height:60px;overflow:hidden;flex:none;direction:ltr}
.brandcard .brand-logo-frame img,.directory-wordmark .brand-logo-frame img{display:block;width:auto;height:auto;max-width:min(180px,100%);max-height:54px;object-fit:contain;flex-shrink:0}
.brandcard .brand-logo-frame img[data-brand="esit"],.directory-wordmark .brand-logo-frame img[data-brand="esit"]{width:130px;height:130px;max-width:none;max-height:none}
.brandcard{min-height:142px;gap:7px}
.brandcard>span:not(.brand-logo-frame){font-size:12px;line-height:1.6;text-align:center}
.directory-wordmark .brand-logo-frame{height:66px;justify-content:flex-end;margin-bottom:5px}
@media(max-width:650px){.brandcard{min-height:132px;padding:12px}.brandcard .brand-logo-frame img{max-width:min(145px,100%);max-height:48px}.brandcard .brand-logo-frame img[data-brand="esit"]{width:120px;height:120px;max-width:none;max-height:none}}

/* Official logos on brand landing pages */
.catalog-hero .brand-logo-frame{justify-content:flex-start;margin-bottom:16px}
.catalog-hero .brand-logo-frame img{display:block;width:auto;height:auto;max-width:min(220px,100%);max-height:54px;object-fit:contain}

/* White manufacturer artwork needs a dark backing for legibility. */
.brand-logo-frame:has(img[data-brand="entes"]),.brand-logo-frame:has(img[data-brand="telemecanique"]){background:#0b2038;border-radius:8px;padding:8px;box-sizing:border-box}

/* Official SMC header artwork is white. */
.brand-logo-frame:has(img[data-brand="smc"]){background:#0b2038;border-radius:8px;padding:8px;box-sizing:border-box}
