/* Product page. No Figma design: follows the category cards of the model listing pages. */
.pl-page {
	--pl-gutter: clamp(64px, calc((100vw - 1320px) * .16 + 64px), 160px);
	padding: 64px var(--pl-gutter) 96px;
	color: var(--text);
}

.pl-page__title {
	margin: 0 0 48px;
	font: 800 32px / 1.5 "M PLUS 1p", sans-serif;
	text-align: center;
}

.pl-page__title::after {
	content: "";
	display: block;
	width: 56px;
	height: 4px;
	margin: 12px auto 0;
	background: var(--ink);
}

/* Description under the title, styled like the text of the Y'noについて cards on TOP. */
.pl-page__lead {
	max-width: 800px;
	margin: -16px auto 48px;
	color: #37474f;
	font: 500 15px / 1.7 "Yu Gothic", YuGothic, "Noto Sans JP", sans-serif;
	text-align: center;
	overflow-wrap: break-word;
}

.pl-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
	max-width: 1200px;
	margin-inline: auto;
}

/* Two wide columns: the photo keeps its proportions instead of the card's 180px height. */
.pl-grid .cat-card__image {
	height: auto;
	aspect-ratio: 10 / 7;
}

@media (max-width: 1320px) {
	.pl-grid {
		gap: 24px;
	}
}

@media (max-width: 1024px) {
	.pl-page {
		--pl-gutter: 32px;
	}
}

@media (max-width: 767px) {
	.pl-page {
		--pl-gutter: 16px;
		padding-block: 40px 64px;
	}

	.pl-page__title {
		margin-bottom: 32px;
		font-size: 28px;
	}

	.pl-page__lead {
		margin-bottom: 32px;
	}

	.pl-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}
}
