/* /brands/ index. Tile treatment matches the "Shop by Brand" builder row. */
.ifit-brands-index #primary.content-area {
	width: 100%;
	float: none;
}
.ifit-brands__head h1 {
	margin: 0 0 .25rem;
	font-size: 1.75rem;
	text-transform: uppercase;
}
.ifit-brands__head p {
	margin: 0 0 1.5rem;
	color: #6b6b6b;
}
.ifit-brands__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem 1rem;
	margin: 0 0 3rem;
	padding: 0;
	list-style: none;
}
@media (min-width: 600px) {
	.ifit-brands__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
	.ifit-brands__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2rem; }
}
@media (min-width: 1200px) {
	.ifit-brands__grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}
.ifit-brands__item a {
	display: flex;
	flex-direction: column;
	gap: .5rem;
	color: #222;
	text-decoration: none;
}
.ifit-brands__logo {
	display: block;
	aspect-ratio: 1 / 1;
	width: 100%;
	box-sizing: border-box;
	padding: .4rem;
	object-fit: contain;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 1rem;
	transition: border-color .2s ease;
}
.ifit-brands__item a:hover .ifit-brands__logo,
.ifit-brands__item a:focus-visible .ifit-brands__logo {
	border-color: #222;
}
.ifit-brands__name {
	font-size: .8rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
}
