/* Категории на главной — единый размер карточек */

.content.front .index-cat .display_table {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px 16px;
	font-size: initial;
	margin: 0 0 28px;
}

.content.front .index-cat .display_table .long_separator {
	display: none !important;
}

.content.front .index-cat .table_item.item_ws {
	width: auto !important;
	margin: 0 !important;
	display: block;
	vertical-align: initial;
}

.content.front .index-cat .table_item_inner {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 0;
	background: #fff;
	border: 1px solid #e4dfe8;
	border-radius: 10px;
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.content.front .index-cat .table_item_inner:hover {
	border-color: #cfc6d6;
	box-shadow: 0 8px 22px rgba(74, 40, 84, 0.1);
}

.content.front .index-cat .table_item .image {
	position: relative;
	height: auto;
	line-height: normal;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 14px;
	background: #faf9fb;
	border-bottom: 1px solid #ece8ef;
	box-sizing: border-box;
}

.content.front .index-cat .table_item .image a.thumb_cat {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.content.front .index-cat .table_item .image img {
	position: static;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: center center;
	border-radius: 4px;
}

.content.front .index-cat .table_item .marks {
	left: 8px;
	top: 8px;
}

.content.front .index-cat .table_item a.desc_name {
	flex: 1 1 auto;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.35;
	margin: 0;
	padding: 10px 10px 12px;
	min-height: 4.05em;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: #603669 !important;
	transition: color 0.2s ease;
}

.content.front .index-cat .table_item_inner:hover a.desc_name {
	color: #4a2854 !important;
}

.content.front .index-cat .table_item .price_block {
	display: none !important;
}

@media (max-width: 1024px) {
	.content.front .index-cat .display_table {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.content.front .index-cat .display_table {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px 12px;
	}
}

@media (max-width: 480px) {
	.content.front .index-cat .display_table {
		grid-template-columns: 1fr;
	}
}
