/* ── Product category taxonomy ── */
.site-tax-categoryproduct {
	background: #fff;
}

.product-tax {
	width: 100%;
	max-width: 1920px;
	margin: 0 auto;
	background: #fff;
	padding: 72px 0 80px;
	box-sizing: border-box;
}

.product-tax__inner {
	max-width: 1400px;
	margin: 0 auto;
	width: 100%;
	padding: 0 20px;
	box-sizing: border-box;
}

.page-section-head {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 28px;
	text-align: center;
}

.page-section-head__title-wrap {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.page-section-head__bg {
	display: block;
	font-family: var(--font-bold);
	font-size: 100px;
	font-weight: 700;
	line-height: 1;
	color: #000;
	opacity: .06;
	white-space: nowrap;
	pointer-events: none;
	user-select: none;
}

.page-section-head__title {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 1;
	margin: 0;
	font-family: var(--font-bold);
	font-size: 50px;
	font-weight: 700;
	line-height: 1.1;
	color: #000;
	text-transform: uppercase;
	letter-spacing: .02em;
	white-space: nowrap;
}

.page-section-head__line {
	display: block;
	width: 44px;
	height: 5px;
	margin-top: 0;
	background: #111d5c;
	flex-shrink: 0;
}

.product-tax__desc {
	max-width: 1100px;
	margin: 0 auto 56px;
	text-align: center;
	font-family: var(--font-light);
	font-size: 16px;
	font-weight: 300;
	line-height: 1.7;
	color: #333;
}

.product-tax--index .page-section-head {
	margin-bottom: 56px;
}

.product-tax__desc p {
	margin: 0 0 .8em;
}

.product-tax__desc p:last-child {
	margin-bottom: 0;
}

.product-tax__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 36px 28px;
}

.product-tax-card {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	min-width: 0;
}

.product-tax-card__media {
	display: block;
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #ececec;
}

.product-tax-card__media img,
.product-tax-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .45s ease;
}

.product-tax-card__placeholder {
	background: linear-gradient(135deg, #e5e5e5, #cfcfcf);
}

.product-tax-card:hover .product-tax-card__media img {
	transform: scale(1.04);
}

.product-tax-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 18px;
}

.product-tax-card__text {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	flex: 1 1 auto;
}

.product-tax-card__title {
	display: block;
	margin: 0;
	font-family: var(--font-light);
	font-size: 18px;
	font-weight: 300;
	line-height: 1.3;
	color: #111;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.product-tax-card__label {
	display: block;
	font-family: var(--font-light);
	font-size: 14px;
	font-weight: 300;
	line-height: 1.3;
	color: #9a9a9a;
}

.product-tax-card__arrow {
	display: block;
	width: 38px;
	height: 38px;
	flex-shrink: 0;
	object-fit: contain;
	transition: transform .25s ease;
}

.product-tax-card:hover .product-tax-card__arrow {
	transform: translateX(3px);
}

.product-tax__pager {
	padding-top: 48px;
	padding-bottom: 0;
}

.product-tax__empty {
	margin: 40px 0 0;
	text-align: center;
	font-family: var(--font-light);
	font-size: 16px;
	color: #666;
}

@media (max-width: 1200px) {
	.product-tax__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 28px 20px;
	}
}

@media (max-width: 1100px) {
	.product-tax {
		padding: 56px 0 64px;
	}

	.page-section-head__bg {
		font-size: 64px;
	}

	.page-section-head__title {
		font-size: 36px;
	}

	.product-tax__desc {
		margin-bottom: 40px;
		font-size: 15px;
	}

	.product-tax__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.product-tax {
		padding: 40px 0 48px;
	}

	.page-section-head {
		margin-bottom: 20px;
	}

	.page-section-head__bg {
		font-size: 42px;
	}

	.page-section-head__title {
		font-size: 26px;
		white-space: normal;
		width: max-content;
		max-width: 90vw;
	}

	.page-section-head__line {
		width: 36px;
		height: 4px;
	}

	.product-tax__desc {
		margin-bottom: 28px;
		font-size: 14px;
	}

	.product-tax__grid {
		grid-template-columns: 1fr 1fr;
		gap: 20px 12px;
	}

	.product-tax-card__title {
		font-size: 15px;
	}

	.product-tax-card__label {
		font-size: 12px;
	}

	.product-tax-card__arrow {
		width: 32px;
		height: 32px;
	}

	.product-tax__pager {
		padding-top: 32px;
	}
}
