/* === Контейнер карточек производителей === */
.manufacturers__items {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	justify-content: center;
	padding: 40px 20px;
	max-width: 1400px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* === Одна карточка производителя === */
.manufacturers__item {
	width: 280px;
	background: #ffffff;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.manufacturers__item:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* === Изображение производителя === */
.manufacturers__img {
	width: 240px;
	height: 180px;
	object-fit: cover;
	border-radius: 10px;
	margin: 16px 20px 12px;
	border: 1px solid #e5e7eb;
	transition: transform 0.3s ease;
}

.manufacturers__item:hover .manufacturers__img {
	transform: scale(1.03);
}

/* === Название производителя === */
.manufacturers__name {
	font-size: 20px;
	font-weight: 600;
	color: #111827;
	margin: 0 0 8px;
	line-height: 1.4;
}

/* === Описание (если есть) === */
.manufacturers__desc {
	font-size: 15px;
	color: #4b5563;
	margin: 0 20px 12px;
	line-height: 1.5;
	max-height: 45px;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

/* === Регион === */
.manufacturers__region {
	font-size: 14px;
	color: #6b7280;
	font-style: italic;
	margin: 0 20px 16px;
}

/* === Кнопка "Детальная информация" === */
.btn {
	display: inline-block;
	padding: 10px 20px;
	font-size: 15px;
	font-weight: 500;
	color: #ffffff;
	background-color: #3b82f6;
	border: none;
	border-radius: 8px;
	text-decoration: none;
	margin: 0 20px 20px;
	transition: background-color 0.2s ease;
	cursor: pointer;
}

.btn:hover {
	background-color: #2563eb;
}

/* === Адаптивность === */
@media (max-width: 768px) {
	.manufacturers__items {
		gap: 24px;
		padding: 30px 16px;
	}

	.manufacturers__item {
		width: 100%;
		max-width: 320px;
	}

	.manufacturers__name {
		font-size: 18px;
	}

	.manufacturers__desc {
		font-size: 14px;
	}
}

@media (min-width: 1024px) {
	.manufacturers__items {
		justify-content: flex-start;
	}

	.manufacturers__item {
		width: 260px;
	}
}
