/* Product detail only: bring the real image and verified facts into the first reading pass. */
.entity--product {
	padding-top: clamp(1.5rem, 4vw, 3rem);
}

.entity--product .entity-header {
	margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.entity--product .entity-header h1 {
	font-family: var(--font-serif);
	font-weight: 500;
	line-height: 1.35;
}

.entity--product .product-overview {
	grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
	gap: clamp(1.25rem, 3vw, 2.5rem);
	align-items: start;
	scroll-margin-top: 1rem;
}

.entity--product .product-media {
	min-width: 0;
	margin: 0;
	display: grid;
	place-items: center;
	border: 1px solid var(--color-line);
	border-radius: var(--radius-lg);
	background: var(--color-white);
	box-shadow: var(--shadow-soft);
}

.entity--product .product-media img {
	display: block;
	width: 100%;
	height: clamp(280px, 33vw, 420px);
	padding: clamp(1rem, 2.5vw, 1.75rem);
	object-fit: contain;
}

.entity--product .product-media--empty {
	display: flex;
	min-height: 0;
	align-items: center;
	justify-content: flex-start;
	padding: 1.25rem;
	background: var(--color-foam);
	box-shadow: none;
}

.entity--product .product-media__status {
	margin: 0;
	color: var(--color-ink-soft);
	font-size: .9375rem;
	line-height: 1.75;
}

.entity--product .product-overview .entity-content {
	display: flex;
	min-width: 0;
	flex-direction: column;
}

.entity--product .product-quick-facts {
	flex: 1;
	margin: 0;
	padding: clamp(1.2rem, 3vw, 1.75rem);
	border: 1px solid var(--color-line);
	border-radius: var(--radius-lg);
	background: var(--color-white);
	box-shadow: var(--shadow-soft);
}

.entity--product .product-quick-facts h2 {
	margin: 0 0 1rem;
	font-size: clamp(1.4rem, 2.5vw, 1.8rem);
}

.entity--product .product-quick-facts dl {
	margin-bottom: 1rem;
	border-color: var(--color-line);
}

.entity--product .product-quick-facts dl div {
	min-width: 0;
	grid-template-columns: minmax(0, .42fr) minmax(0, 1fr);
	gap: .65rem;
	border-color: var(--color-line);
}

.entity--product .product-quick-facts dt,
.entity--product .product-quick-facts dd {
	font-family: var(--font-sans);
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.entity--product .product-quick-facts dd {
	font-weight: 600;
}

.entity--product .product-jump {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem .75rem;
	margin-block: 0 1.5rem;
	padding-block: .75rem;
	border-block: 1px solid var(--color-line);
}

.entity--product .product-jump a {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	padding: .45rem .75rem;
	border-radius: var(--radius-sm);
	color: var(--color-ocean);
	font-size: .875rem;
	font-weight: 650;
	text-decoration: none;
}

.entity--product .product-jump a:hover,
.entity--product .product-jump a:focus-visible {
	background: var(--color-foam);
}

.entity--product .decision-layer {
	margin-top: 2rem;
	padding-top: 2rem;
}

.entity--product .product-body {
	margin-top: clamp(2rem, 5vw, 3.5rem);
	scroll-margin-top: 1rem;
}

.entity--product .product-body h2 {
	margin-bottom: 1rem;
}

.entity--product .product-body .entry-content {
	font-size: 1rem;
	line-height: 1.9;
	overflow-wrap: anywhere;
}

.entity--product .product-body .entry-content :is(table, pre) {
	max-width: 100%;
	overflow-x: auto;
}

@media (max-width: 900px) {
	.entity--product .product-overview {
		grid-template-columns: 1fr;
	}

	.entity--product .product-media {
		width: 100%;
		max-width: none;
	}
}

@media (max-width: 680px) {
	.entity--product {
		padding-top: 1.25rem;
	}

	.entity--product .entity-header {
		margin-bottom: 1.25rem;
	}

	.entity--product .entity-header h1 {
		font-size: clamp(1.625rem, 6.6vw, 2rem);
	}

	.entity--product .product-overview {
		gap: .85rem;
	}

	.entity--product .product-media img {
		height: 240px;
		padding: .85rem;
	}

	.entity--product .product-media--empty {
		padding: 1rem;
	}

	.entity--product .product-quick-facts {
		padding: 1.1rem;
	}

	.entity--product .product-quick-facts dl {
		grid-template-columns: 1fr;
	}

	.entity--product .product-quick-facts dl div:nth-child(odd) {
		padding-right: 0;
	}

	.entity--product .product-jump {
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
	}

	.entity--product .product-jump a {
		flex: none;
	}

	.entity--product .decision-layer {
		margin-top: 1.5rem;
		padding-top: 1.5rem;
	}
}
