/* ==========================================================================
   SHAHAZ.com — Brands directory page (page-brands.php)
   (Split out of the homepage stylesheet in ZIP-252; same look as before.)
   ========================================================================== */
.shahaz-sec {
	max-width: 1280px;
	margin: 0 auto;
	padding: 2px 12px;
}
@media (min-width: 768px) {
	.shahaz-sec { padding: 2px 24px; }
}
.shahaz-top-brands .shahaz-sec-header { display: none; }

.shahaz-brand-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	width: 100%;
	box-sizing: border-box;
}
@media (min-width: 640px) {
	.shahaz-brand-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
	.shahaz-brand-grid { grid-template-columns: repeat(6, 1fr); }
}
.shahaz-brand-card {
	display: flex;
	align-items: stretch;
	justify-content: center;
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background: var(--shahaz-white);
	border: 0.5px solid var(--shahaz-border-pearl);
	border-radius: var(--shahaz-radius-md);
	box-shadow: none;
	text-decoration: none;
	transition: transform 0.2s ease;
}
.shahaz-brand-card:hover { transform: translateY(-3px); }
.shahaz-brand-card img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	margin: 0;
	object-fit: contain;
}
