.kitchen-modules {
	padding: 20px 0;
}

.kitchen-modules-title {
	font-size: 28px;
	margin-bottom: 20px;
}

.kitchen-modules-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

/* Карточка */
.kitchen-module-item {
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 10px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

/* Галерея */
.module-carousel {
	height: 400px;
	--f-arrow-pos: 10px;
	--f-arrow-bg: rgba(255, 255, 255, 0.75);
	--f-arrow-hover-bg: #fff;
	--f-arrow-color: #333;
	--f-arrow-width: 40px;
	--f-arrow-height: 40px;
	--f-arrow-border-radius: 50%;
}

.module-carousel .f-carousel__slide {
	display: flex;
	align-items: center;
	justify-content: center;
}

.module-carousel img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

/* Контент */
.module-info-wrapper {
	padding: 15px 18px;
	flex: 1;
}

.module-title {
	font-size: 18px;
	margin-bottom: 10px;
}

/* Описание */
.module-description {
	font-size: 14px;
	color: #666;
	line-height: 1.5;
	margin-bottom: 12px;
}

/* Характеристики */
.module-specs {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.spec-row {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 6px 0;
	border-bottom: 1px dashed #eee;
}

.spec-name {
	color: #777;
	font-size: 13px;
}

.spec-value {
	font-size: 13px;
	font-weight: 500;
	text-align: right;
	color: #222;
}

/* Цена */
.module-price-block {
	margin-top: auto;
	padding: 14px 18px;
	border-top: 1px solid #eee;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.price-value {
	font-size: 18px;
	font-weight: 700;
	color: #c00;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
	.kitchen-modules-list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.kitchen-modules-list {
		grid-template-columns: 1fr;
	}
}

.module-carousel {
	height: 400px;
}

.module-carousel img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.module-carousel {
	height: 300px;
	/* Задайте нужную вам высоту под дизайн */
	width: 100%;
	margin-bottom: 15px;
}

.module-carousel .f-carousel__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* Чтобы картинки аккуратно заполняли слайд */
}
