/* Shared containment; logos must always fit their own card. */
.brands-grid .brand-card{min-width:0;max-width:100%;overflow:hidden;box-sizing:border-box}
.brands-grid .brand-card img{display:block;max-width:100%;height:auto;object-fit:contain;flex-shrink:1}
/* Match the dedicated brand page: four roomy cards per desktop row. */
.ff-storefront .ff-brand-row .brands-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;padding:0}
.ff-storefront .ff-brand-row .brand-card{width:100%;height:128px;min-height:128px;padding:22px;border:1px solid #e7e7e7;border-radius:10px!important;background:#fff;box-shadow:none!important}
.ff-storefront .ff-brand-row .brand-card img{width:auto;max-width:100%;max-height:72px;height:auto;filter:none}
.ff-storefront .ff-brand-row .brand-card:hover{transform:translateY(-3px);border-color:#bdbdbd}
@media(max-width:991px){.ff-storefront .ff-brand-row .brands-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}}
@media(max-width:767px){.ff-storefront .ff-brand-row .brands-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ff-storefront .ff-brand-row .brand-card{height:112px;min-height:112px;padding:18px}.ff-storefront .ff-brand-row .brand-card img{max-height:64px}}
@media(max-width:359px){.ff-storefront .ff-brand-row .brands-grid{gap:10px}.ff-storefront .ff-brand-row .brand-card{height:96px;min-height:96px;padding:14px}}
@media(prefers-reduced-motion:reduce){.ff-storefront .ff-brand-row .brand-card:hover{transform:none}}
