/**
 * Home Brands Section
 * -------------------------------------
 * Front page e exact simple brands strip design.
 * Scoped classes use kora hoyeche jate old layout e impact na pore.
 */

.home-brands-section {
	padding: 50px 0 50px;
	background: transparent;
}

.home-brands-section .container {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding-left: 16px;
	padding-right: 16px;
	box-sizing: border-box;
}

.home-brands-section__header,
.home-brands-section__grid,
.home-brands-section__empty {
	max-width: 100%;
}

.home-brands-section__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 14px;
}

.home-brands-section__header-content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	flex: 1 1 auto;
	min-width: 0;
}

.home-brands-section__title {
	margin: 0;
	font-size: 18px;
	line-height: 1.3;
	font-weight: 700;
	color: #111111;
}

.home-brands-section__subtitle {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	font-weight: 400;
	color: #6f6f6f;
	max-width: 720px;
}

.home-brands-section__see-all {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 110px;
	height: 42px;
	padding: 0 24px;
	border: 1px solid #cfd6e4;
	border-radius: 999px;
	background: #ffffff;
	color: #0f172a;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	text-decoration: none;
	box-sizing: border-box;
	white-space: nowrap;
	transition: all 0.2s ease;
	flex: 0 0 auto;
}

.home-brands-section__see-all:hover,
.home-brands-section__see-all:focus {
	background: #111111;
	border-color: #111111;
	color: #ffffff;
	text-decoration: none;
}

.home-brands-section__grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 10px;
}

.home-brands-section__card {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 88px;
	padding: 14px 12px;
	border: 1px solid #e7e7e7;
	border-radius: 4px;
	background: #ffffff;
	text-decoration: none;
	box-sizing: border-box;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.home-brands-section__card:hover,
.home-brands-section__card:focus {
	border-color: #cfcfcf;
	transform: translateY(-1px);
	text-decoration: none;
}

.home-brands-section__card-image {
	display: block;
	width: 100%;
	max-width: 108px;
	height: 42px;
	object-fit: contain;
	margin: 0 auto;
}

.home-brands-section__card-text {
	display: inline-block;
	font-size: 15px;
	line-height: 1.3;
	font-weight: 600;
	color: #111111;
	text-align: center;
	word-break: break-word;
}

.home-brands-section__empty {
	padding: 22px 18px;
	border: 1px solid #e7e7e7;
	border-radius: 4px;
	background: #ffffff;
	text-align: center;
}

.home-brands-section__empty p {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	font-weight: 500;
	color: #666666;
}

@media (max-width: 1199px) {
	.home-brands-section__grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

@media (max-width: 991px) {
	.home-brands-section__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.home-brands-section {
		padding: 16px 0 24px;
	}

	.home-brands-section .container {
		padding-left: 14px;
		padding-right: 14px;
	}

	.home-brands-section__header {
		flex-wrap: wrap;
		align-items: flex-start;
		margin-bottom: 12px;
	}

	.home-brands-section__header-content {
		width: 100%;
	}

	.home-brands-section__title {
		font-size: 17px;
	}

	.home-brands-section__subtitle {
		font-size: 12px;
		line-height: 1.5;
	}

	.home-brands-section__see-all {
		min-width: 104px;
		height: 40px;
		padding: 0 22px;
		font-size: 11px;
		letter-spacing: 0.24em;
	}

	.home-brands-section__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 10px;
	}

	.home-brands-section__card {
		min-height: 78px;
		padding: 12px 10px;
	}

	.home-brands-section__card-image {
		max-width: 92px;
		height: 36px;
	}
}