/* Shop by Brand: logo tiles inspired by the supplied reference image.
   Section introduction / View All link use the existing Category heading styles. */
.store-reference-home .home-brand-section{padding-block:clamp(42px,5.5vw,82px)}
.store-reference-home .home-brand-heading{margin-bottom:26px}
.store-reference-home .home-brand-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.store-reference-home .home-brand-card{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:155px;padding:20px 12px 17px;text-align:center;text-decoration:none;color:var(--text-primary,#171717);background:#fff;border:1px solid rgba(20,20,20,.045);border-radius:18px;box-shadow:0 7px 26px rgba(20,20,20,.045);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.store-reference-home .home-brand-card:hover{transform:translateY(-3px);box-shadow:0 12px 32px rgba(20,20,20,.095);border-color:rgba(20,20,20,.12)}
.store-reference-home .home-brand-card:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.store-reference-home .home-brand-card__visual{height:76px;width:100%;display:flex;align-items:center;justify-content:center;margin-bottom:12px}
.store-reference-home .home-brand-card__visual img{display:block;max-width:min(100%,145px);max-height:76px;width:auto;height:auto;object-fit:contain}
.store-reference-home .home-brand-card__fallback{display:grid;place-items:center;width:62px;height:62px;border-radius:18px;background:#f4f4f4;color:#333;font:600 32px/1 sans-serif}
.store-reference-home .home-brand-card__name{font-size:13px;font-weight:700;line-height:1.35;overflow-wrap:anywhere}
.store-reference-home .home-brand-card__count{display:block;margin-top:4px;font-size:11px;line-height:1.35;color:var(--text-secondary,#667085)}
@media(max-width:1100px){.store-reference-home .home-brand-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:720px){.store-reference-home .home-brand-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.store-reference-home .home-brand-card{min-height:145px}}
@media(max-width:480px){.store-reference-home .home-brand-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.store-reference-home .home-brand-card{min-height:138px;padding:16px 8px 14px}.store-reference-home .home-brand-card__visual{height:65px;margin-bottom:8px}.store-reference-home .home-brand-card__visual img{max-height:65px;max-width:min(100%,122px)}}
@media(prefers-reduced-motion:reduce){.store-reference-home .home-brand-card{transition:none}.store-reference-home .home-brand-card:hover{transform:none}}
