/* Game Night product page. */
.dh-nav a[aria-current="location"] { border-bottom-color: var(--gp-primary); }
.board-page { position: relative; isolation: isolate; overflow-wrap: anywhere; }
.board-page::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	z-index: -1;
	height: 410px;
	background: linear-gradient(180deg, rgba(34,33,33,.80), var(--gp-bg) 96%), var(--board-art, none) center 38% / cover no-repeat;
	filter: blur(6px);
	clip-path: inset(0);
	pointer-events: none;
}
.gp .board-wrap { padding: 0; }
.board-crumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 8px;
	padding: 4px 16px;
	font-size: 14px;
	color: var(--gp-text);
}
.board-crumb a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; }
.board-pack {
	position: relative;
	display: grid;
	place-items: center;
	min-width: 0;
	min-height: 290px;
	padding: 34px 12px 12px;
	overflow: hidden;
	background: #fff;
}
.board-pack .pbar { position: absolute; inset: 0 0 auto; min-height: 30px; }
.board-pack picture { display: grid; place-items: center; width: 100%; }
.board-pack .board-cover { width: 100%; max-width: 320px; height: 240px; object-fit: contain; }
.board-buy {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
	padding: 16px 16px 0;
}
.gp .board-buy > .tags { margin: 0; }
.gp .board-buy h1 { font-size: 32px; }
.board-description { max-width: 64ch; }
.gp .board-specs {
	display: grid;
	grid-template-columns: repeat(auto-fit,minmax(76px,1fr));
	gap: 8px;
}
.board-specs li {
	display: grid;
	place-items: center;
	align-content: center;
	gap: 4px;
	min-height: 64px;
	padding: 8px 6px;
	border-radius: 6px;
	background: var(--gp-surface);
	text-align: center;
}
.board-specs b { color: var(--gp-cyan); font-family: Outfit,system-ui,sans-serif; font-size: 18px; line-height: 1.1; }
.board-specs span { font-size: 14px; }
.gp.g16 .board-price-state .price {
	margin: 0;
	padding: 0;
	max-width: 100%;
	background: transparent;
	color: var(--gp-heading);
	font-family: Outfit,system-ui,sans-serif;
	font-size: 32px;
	line-height: 1.15;
}
.gp.g16 .board-price-state .price:has(del) { align-items: baseline; gap: 8px; }
.gp.g16 .board-price-state .price del { font-size: 14px; color: var(--gp-text-muted); }
.board-stock { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--gp-text); }
.board-stock-available { color: #a8e39f; }
.board-stock .ic { width: 16px; height: 16px; }
.board-purchase { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.board-quantity {
	display: flex;
	align-items: center;
	border: 1px solid var(--gp-line-strong);
	border-radius: 6px;
	background: var(--gp-bg);
}
.gp .board-quantity button, .gp .board-quantity .qty {
	min-width: 44px;
	min-height: 44px;
	padding: 0 4px;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: var(--gp-heading);
	text-align: center;
}
.gp .board-quantity button { font-size: 18px; cursor: pointer; }
.gp .board-quantity button[aria-disabled="true"] { color: var(--gp-text-muted); cursor: default; }
.gp .board-quantity button:not([aria-disabled="true"]):hover { background: var(--gp-surface); }
.gp .board-quantity .qty { width: 46px; font-variant-numeric: tabular-nums; }
.gp .board-quantity:has(button:not([hidden])) .qty { appearance: textfield; }
.board-quantity:has(button:not([hidden])) .qty::-webkit-inner-spin-button,
.board-quantity:has(button:not([hidden])) .qty::-webkit-outer-spin-button { appearance: none; margin: 0; }
.gp.g16 .board-add {
	flex: 1 1 140px;
	width: auto;
	min-height: 48px;
	border: 1px solid transparent;
	color: var(--gp-on-primary);
	cursor: pointer;
}
.gp.g16 .board-add:disabled { flex: auto; border-color: var(--gp-line-strong); background: var(--gp-surface); color: var(--gp-text-muted); cursor: default; }
.gp .board-fulfilment .row { align-items: start; }
.gp .board-fulfilment .row .ic { flex: 0 0 20px; }
.gp .board-fulfilment .row span { font-size: 14px; }
.gp .board-fulfilment .row a { display: inline-flex; align-items: center; min-height: 44px; color: var(--gp-cyan); font-size: 14px; }
.gp .board-fulfilment strong { color: var(--gp-heading); }
.gp .board-details { max-width: 640px; }
.gp .board-details dl { display: grid; grid-template-columns: minmax(76px,max-content) minmax(0,1fr); gap: 8px 16px; font-size: 14px; }
.board-details dt { color: var(--gp-text-muted); }
.board-details dd { color: var(--gp-heading); }
.gp .board-related .rail .price { font-size: 14px; }
.board-out-layout { --board-out-text: #ff9b96; }
.gp .board-badge-out { border: 1px solid var(--board-out-text); background: var(--gp-bg); color: var(--board-out-text); }
.board-stock-out { display: block; color: var(--board-out-text); }
.board-stock-out span { margin-inline-start: .25em; color: var(--gp-text); }
.gp .board-out-layout .board-specs { grid-template-columns: repeat(3, minmax(0,1fr)); }
.board-restock {
	scroll-margin-top: 16px;
	padding: 16px;
	border: 1px solid var(--gp-line);
	border-radius: 16px;
	background: var(--gp-surface);
}
.gp .board-restock h2 { margin-bottom: 12px; font-size: 22px; }
.board-restock-form { display: grid; gap: 8px; }
.board-restock-form label { font-size: 14px; font-weight: 500; }
.gp .board-restock-form input {
	width: 100%;
	min-width: 0;
	min-height: 48px;
	padding: 8px 12px;
	border: 1px solid var(--gp-line-strong);
	border-radius: 6px;
	background: var(--gp-bg);
	color: var(--gp-heading);
	font-size: 16px;
}
.gp .board-restock-form input::placeholder { color: var(--gp-text-muted); opacity: 1; }
.gp .board-restock-form input[aria-invalid="true"] { border-color: var(--board-out-text); }
.board-restock-hint, .board-restock-error { font-size: 14px; }
.board-restock-error { color: var(--board-out-text); }
.gp.g16 .board-restock-form .btn { width: 100%; margin-top: 8px; }
.board-restock-sent { border-color: var(--gp-line-strong); }
.board-restock-sent strong { color: var(--gp-heading); }
.board-about .board-description + dl { margin-top: 16px; }
.gp.g16 .board-wrap .cta.art-gn {
	--board-promo-art: var(--art-small, none);
	--board-promo-depth: clamp(218px, 28vw, 256px);
	background: var(--gp-bg);
}
.gp.g16 .board-wrap .cta.art-gn::before {
	display: block;
	opacity: 1;
	pointer-events: none;
	background: linear-gradient(180deg, transparent 32%, rgba(34,33,33,.35) 62%, var(--gp-bg)), var(--board-promo-art) center 32% / cover no-repeat;
}
.gp .board-page .woocommerce-error, .gp .board-page .woocommerce-message {
	margin: 8px 16px;
	padding: 12px 16px;
	border: 1px solid var(--gp-line-strong);
	border-radius: 6px;
	background: var(--gp-surface);
	color: var(--gp-heading);
}
@media (width < 600px) {
	.board-page::before { display: none; }
	.gp .board-related .rail .card:nth-child(n + 4) { display: none; }
	.board-out-layout .board-buy > .board-description { display: none; }
	.gp .board-alternatives .rail { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); overflow: visible; margin: 0; padding: 0; }
	.gp .board-alternatives .rail .card:nth-child(4) { display: flex; }
}
@media (600px <= width < 1024px) {
	.board-hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start; gap: 16px; padding-inline: 16px; }
	.board-buy { padding: 0; }
	.board-pack { border-radius: 16px; }
	.gp .board-related .rail { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); overflow: visible; margin: 0; padding: 0; }
	.gp.g16 .board-wrap .cta.art-gn::before { background-position: center, center 7%; }
}
@media (min-width: 600px) {
	.gp.g16 .board-wrap .cta.art-gn { --board-promo-art: var(--art, none); }
	.board-out-layout {
		display: grid;
		grid-template-columns: repeat(2,minmax(0,1fr));
		grid-template-areas: "cover buy" "cover about" "alternatives alternatives";
		align-items: start;
		gap: 16px;
		padding-inline: 16px;
	}
	.board-out-layout .board-hero { display: contents; }
	.board-out-layout .board-pack { grid-area: cover; }
	.board-out-layout .board-buy { grid-area: buy; }
	.gp .board-out-layout .board-about { grid-area: about; padding: 0; }
	.gp .board-about .board-description { display: none; }
	.gp .board-about .sec-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.gp .board-alternatives { grid-area: alternatives; padding-inline: 0; }
}
@media (width < 1024px) {
	.gp.g16 .board-wrap .cta.art-gn { padding-top: var(--board-promo-depth); }
	.gp.g16 .board-wrap .cta.art-gn::before { bottom: auto; height: var(--board-promo-depth); }
}
@media (min-width: 1024px) {
	.gp .board-wrap { padding-inline: 24px; }
	.board-crumb { padding: 8px 0 12px; }
	.board-crumb a { min-width: 0; min-height: 36px; }
	.board-hero { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 48px; align-items: start; }
	.board-pack { min-height: 530px; padding-block: 36px 16px; border-radius: 16px; }
	.board-pack .board-cover { max-width: 560px; height: auto; max-height: 425px; }
	.board-buy { padding: 0; gap: 16px; }
	.board-out-layout { grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); column-gap: 48px; padding: 0; }
	.board-restock { padding: 24px; }
	.board-restock-sent { padding: 16px; }
	.gp.g16 .board-wrap .cta.art-gn::before {
		left: 28%;
		background-image: linear-gradient(90deg, var(--gp-bg), rgba(34,33,33,.96) 20%, rgba(34,33,33,.76) 38%, transparent 82%),
			linear-gradient(0deg, rgba(34,33,33,.76), transparent 32%),
			var(--board-promo-art);
		background-position: center, center, center 16%;
		background-size: auto, auto, cover;
	}
}
@media (prefers-reduced-motion: no-preference) {
	.board-buy h1 { animation: gameport-board-enter .4s cubic-bezier(.22,1,.36,1) both; }
	@keyframes gameport-board-enter { from { transform: translateY(8px); } to { transform: none; } }
}
