/* Home brands exactly like the catalogue's brand strip (owner, 2026-11-14): 6 large photo tiles per row on a
   computer, the same tile height and the same logo size. */
body section.barami-brands.barami-brands--home .barami-brands__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
@media (min-width: 640px) {
    body section.barami-brands.barami-brands--home .barami-brands__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 1024px) {
    body section.barami-brands.barami-brands--home .barami-brands__list { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; }
}
body section.barami-brands.barami-brands--home .barami-brands__cell { width: auto; }
body section.barami-brands.barami-brands--home .barami-brands__item.has-photo { height: 120px; padding: 14px 18px; }
@media (min-width: 1024px) {
    body section.barami-brands.barami-brands--home .barami-brands__item.has-photo { height: 168px; }
}
body section.barami-brands.barami-brands--home .barami-brands__item .barami-brands__img {
    width: calc(var(--w) * .8);
    height: calc(var(--h) * .8);
    max-width: 100%;
    max-height: none;
    object-fit: contain;
}
