.catalog-page {
	padding-top: 30px;
	padding-bottom: 100px;
}
.catalog-page .woocommerce-breadcrumb {
	margin-bottom: 30px;
}
.catalog-categories .page-title {
	margin-bottom: 40px;
}
.catalog-categories .cat-list {
	gap: 20px;
}
.category-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	padding: 39px 28px 30px;
	background: var(--light-gray);
	border-radius: var(--radius-small);
	text-decoration: none;
	transition: background 0.3s ease, color 0.3s ease;
}
.category-card.cat-highlight {
	background: var(--black);
}
.category-card .cat-image {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 0;
	width: 100%;
	min-height: 0;
	overflow: hidden;
	margin-bottom: 14px;
}
.category-card .cat-image img {
	max-width: 75%;
	max-height: 100%;
	height: 100%;
	object-fit: contain;
}
.category-card .cat-name {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	width: 100%;
	min-height: 75px;
	text-align: center;
	color: var(--black);
	margin: 0;
}
.category-card.cat-highlight .cat-name {
	color: var(--white);
}
.category-card:hover {
	background: var(--primary);
}
.category-card:hover .cat-name {
	color: var(--white);
}

@media (max-width: 1279px) {
	.catalog-page {
		padding-top: 20px;
		padding-bottom: 60px;
	}
	.catalog-categories .page-title {
		margin-bottom: 30px;
	}
}

@media (max-width: 768px) {
	.catalog-categories .cat-list {
		grid-template-columns: 1fr;
		gap: 10px;
	}
	.category-card {
		flex-direction: row;
		align-items: center;
		justify-content: flex-start;
		gap: 30px;
		aspect-ratio: auto;
		height: 91px;
		padding: 14px 30px;
	}
	.category-card .cat-image {
		flex: 0 0 auto;
		width: 81px;
		height: 70px;
		margin-bottom: 0;
	}
	.category-card .cat-image img {
		max-width: 100%;
	}
	.category-card .cat-name {
		min-height: 0;
		text-align: left;
	}
}
