/* Category card on the Product page, TOP and the model listing pages. Figma 1681:10231. */
.cat-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
	padding: 16px;
	border: 1px solid #e5e7eb;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 0 24px -10px rgba(0, 0, 0, .05);
	color: #111827;
	transition: transform .25s;
}

.cat-card:hover {
	transform: translateY(-4px);
}

.cat-card__image {
	width: 100%;
	height: 180px;
	border-radius: 8px;
	object-fit: cover;
}

.cat-card__body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-bottom: 28px;
	overflow-wrap: anywhere;
}

.cat-card__name {
	margin: 0;
	color: #111827;
	font: 700 18px / normal "Yu Gothic", YuGothic, "Noto Sans JP", sans-serif;
}

.cat-card__text {
	color: #6b7280;
	font: 500 14px / 1.6 "Yu Gothic", YuGothic, "Noto Sans JP", sans-serif;
}

/* The tab sits in the bottom right corner and follows the card's rounded corner. */
.cat-card__more {
	position: absolute;
	right: -1px;
	bottom: -1px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 160px;
	height: 32px;
	padding-top: 3px;
	border-radius: 24px 0 24px 0;
	background: #32373c;
	color: #fff;
	font: 700 14px / normal "Yu Gothic", YuGothic, "Noto Sans JP", sans-serif;
	white-space: nowrap;
}

.cat-card__more img {
	flex: none;
	width: 16px;
	height: 16px;
}

@media (prefers-reduced-motion: reduce) {
	.cat-card {
		transition: none;
	}
}
