/* Stakt — product detail (PDP), dark ink + paper type + green accent */

body.stakt-product {
	--accent: #00e58a;
	--accent-ink: var(--ink);
	background: var(--ink);
	color: #f4f1ea;
}

body.stakt-product .hf.pdp-dark {
	--paper-ref: #f4f1ea;
	--line-dk: #1f1f1f;
	--line-dk-2: #2a2a2a;
	background: var(--ink);
	color: var(--paper-ref);
}

/* Nav wordmark/mark: use home.css .nav--dark rules (accent mark, #fff text). */

/* ── PDP main ────────────────────────────────────────────────── */
.hf.pdp-dark .pdp-main {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	border-bottom: 1px solid var(--line-dk);
}

.hf.pdp-dark .pdp-stage {
	position: relative;
	background: #0d0d0d;
	min-height: 720px;
	overflow: hidden;
	border-right: 1px solid var(--line-dk);
	padding: 96px 56px 28px;
	display: flex;
	flex-direction: column;
}

.hf.pdp-dark .s-shot {
	flex: 1;
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	min-height: 0;
}

.hf.pdp-dark .s-shot .ph {
	position: absolute;
	inset: 0;
}

.hf.pdp-dark .s-shot .shot-wrap {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	width: 100%;
}

.hf.pdp-dark .s-shot img {
	width: 100%;
	max-width: 100%;
	height: auto;
	max-height: min(72vh, 720px);
	object-fit: contain;
	object-position: top center;
	filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.6));
}

.hf.pdp-dark .s-thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
	gap: 8px;
	margin-top: 24px;
}

.hf.pdp-dark .s-thumbs .thumb {
	aspect-ratio: 1 / 1;
	border: 1px solid var(--line-dk-2);
	background: rgba(255, 255, 255, 0.02);
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(244, 241, 234, 0.55);
	cursor: pointer;
	overflow: hidden;
	font: inherit;
	appearance: none;
}

.hf.pdp-dark .s-thumbs .thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hf.pdp-dark .s-thumbs .thumb.active {
	border-color: var(--paper-ref);
	color: var(--paper-ref);
}

/* ── Buy column ──────────────────────────────────────────────── */
.hf.pdp-dark .pdp-buy {
	padding: 96px 56px 56px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 28px;
	background: #0a0a0a;
}

.hf.pdp-dark .pdp-buy > * {
	width: min(100%, 540px);
}

.hf.pdp-dark .b-head {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.hf.pdp-dark .b-eyebrow {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba(244, 241, 234, 0.55);
	margin: 0;
}

.hf.pdp-dark .b-title {
	font-family: var(--display);
	font-size: clamp(40px, 4.8vw, 54px);
	line-height: 1.08;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	margin: 0;
	color: var(--paper-ref);
}

.hf.pdp-dark .b-title .em {
	color: var(--paper-ref);
}

.hf.pdp-dark .b-meta {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	opacity: 0.55;
	margin: 0;
}

.hf.pdp-dark .b-lead {
	font-size: 16px;
	line-height: 1.65;
	color: rgba(244, 241, 234, 0.75);
	margin: 0;
}

.hf.pdp-dark .b-price {
	border-top: 1px solid var(--line-dk-2);
	border-bottom: 1px solid var(--line-dk-2);
	padding: 22px 0;
}

.hf.pdp-dark .bp-main {
	display: flex;
	align-items: flex-end;
	gap: 24px;
	flex-wrap: wrap;
}

.hf.pdp-dark .bp-main .p {
	font-family: var(--display);
	font-size: clamp(52px, 7vw, 72px);
	line-height: 0.9;
	letter-spacing: 0.01em;
	color: var(--paper-ref);
}

.hf.pdp-dark .bp-main .p-side {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-bottom: 8px;
}

.hf.pdp-dark .bp-main .rrp {
	font-family: var(--mono);
	font-size: 13px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: line-through;
	text-decoration-thickness: 2px;
	opacity: 0.5;
}

.hf.pdp-dark .bp-main .save {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--paper-ref);
	font-weight: 700;
	border: 1px solid var(--line-dk-2);
	padding: 5px 9px;
	align-self: flex-start;
}

.hf.pdp-dark .b-actions {
	display: flex;
	gap: 12px;
	align-items: stretch;
	flex-wrap: wrap;
}

.hf.pdp-dark .b-actions .qty {
	display: inline-flex;
	align-items: stretch;
	border: 1px solid var(--line-dk-2);
}

.hf.pdp-dark .b-actions .qty button {
	width: 52px;
	background: transparent;
	border: none;
	font-family: var(--display);
	font-size: 24px;
	cursor: pointer;
	color: var(--paper-ref);
}

.hf.pdp-dark .b-actions .qty button:hover {
	background: rgba(255, 255, 255, 0.04);
}

.hf.pdp-dark .b-actions .qty .n {
	width: 52px;
	text-align: center;
	font-family: var(--display);
	font-size: 28px;
	border-left: 1px solid var(--line-dk-2);
	border-right: 1px solid var(--line-dk-2);
	line-height: 60px;
}

.hf.pdp-dark .btn-cart {
	flex: 1;
	min-width: 200px;
	background: var(--paper-ref);
	color: var(--ink);
	border: 1px solid var(--paper-ref);
	font-family: var(--mono);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	padding: 0 28px;
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	text-decoration: none;
	height: 60px;
	transition: transform 0.08s ease, box-shadow 0.08s ease;
	cursor: pointer;
}

.hf.pdp-dark .btn-cart:hover {
	transform: translate(-2px, -2px);
	box-shadow: 6px 6px 0 rgba(244, 241, 234, 0.18);
}

.hf.pdp-dark .btn-cart.sold {
	background: #1a1a1a;
	color: rgba(244, 241, 234, 0.45);
	border-color: var(--line-dk-2);
	cursor: not-allowed;
	pointer-events: none;
}

.hf.pdp-dark .btn-cart .arr {
	font-family: var(--display);
	font-size: 22px;
}

.hf.pdp-dark .b-micro {
	list-style: none;
	padding: 0;
	margin: 4px 0 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(244, 241, 234, 0.6);
}

.hf.pdp-dark .b-micro li {
	display: flex;
	align-items: center;
}

.hf.pdp-dark .b-micro .m-dot {
	width: 4px;
	height: 4px;
	background: rgba(244, 241, 234, 0.45);
	display: inline-block;
	margin-right: 12px;
	border-radius: 50%;
	flex-shrink: 0;
}

/* ── Receipts ────────────────────────────────────────────────── */
.hf.pdp-dark .pdp-receipts {
	background: #0a0a0a;
	padding: 80px 56px 72px;
	border-bottom: 1px solid var(--line-dk);
}

.hf.pdp-dark .r-eyebrow {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba(244, 241, 234, 0.55);
	margin-bottom: 12px;
}

.hf.pdp-dark .r-title {
	font-family: var(--display);
	font-size: clamp(40px, 5vw, 64px);
	line-height: 0.96;
	letter-spacing: 0.015em;
	text-transform: uppercase;
	margin: 0 0 32px;
	color: var(--paper-ref);
}

.hf.pdp-dark .r-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border: 1px solid var(--line-dk-2);
}

.hf.pdp-dark .r-col {
	padding: 26px 28px;
	border-right: 1px solid var(--line-dk-2);
	position: relative;
}

.hf.pdp-dark .r-col:last-child {
	border-right: none;
}

.hf.pdp-dark .r-col.stakt {
	background: #0d0d0d;
}

.hf.pdp-dark .r-col.stakt::before {
	content: '';
	position: absolute;
	top: 0;
	left: -1px;
	right: -1px;
	height: 3px;
	background: var(--accent);
}

.hf.pdp-dark .r-lbl {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	opacity: 0.7;
	margin-bottom: 14px;
}

.hf.pdp-dark .r-col.stakt .r-lbl {
	color: var(--accent);
	opacity: 1;
}

.hf.pdp-dark .r-val {
	font-family: var(--display);
	font-size: clamp(40px, 5vw, 56px);
	line-height: 0.9;
	letter-spacing: 0.01em;
	color: var(--paper-ref);
}

/* ── Related ─────────────────────────────────────────────────── */
.hf.pdp-dark .pdp-related {
	padding: 80px 56px;
	background: #0a0a0a;
	border-bottom: 1px solid var(--line-dk);
}

.hf.pdp-dark .rel-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	margin-bottom: 28px;
	flex-wrap: wrap;
}

.hf.pdp-dark .rel-title {
	font-family: var(--display);
	font-size: clamp(40px, 5vw, 56px);
	line-height: 1;
	letter-spacing: 0.015em;
	text-transform: uppercase;
	margin: 0;
	color: var(--paper-ref);
}

.hf.pdp-dark .rel-link {
	font-family: var(--mono);
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-weight: 700;
	text-decoration: none;
	color: var(--paper-ref);
	border-bottom: 1px solid rgba(244, 241, 234, 0.4);
	padding-bottom: 4px;
}

.hf.pdp-dark .rel-link .arr {
	font-family: var(--display);
	font-size: 18px;
}

.hf.pdp-dark .grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.hf.pdp-dark .grid-3.dark .pcard {
	background: #111;
	border-color: var(--line-dk-2);
	color: var(--paper-ref);
}

.hf.pdp-dark .grid-3.dark .pcard:hover {
	box-shadow: 6px 6px 0 rgba(244, 241, 234, 0.12);
}

.hf.pdp-dark .grid-3.dark .pcard .img {
	background: #0d0d0d;
}

.hf.pdp-dark .grid-3.dark .pcard .body {
	border-top-color: var(--line-dk-2);
}

.hf.pdp-dark .grid-3.dark .pcard .cat,
.hf.pdp-dark .grid-3.dark .pcard .meta {
	color: rgba(244, 241, 234, 0.5);
}

.hf.pdp-dark .grid-3.dark .pcard .ttl {
	color: var(--paper-ref);
}

.hf.pdp-dark .grid-3.dark .pcard .price {
	color: var(--paper-ref);
}

.hf.pdp-dark .grid-3.dark .pcard .rrp {
	color: rgba(244, 241, 234, 0.5);
}

.hf.pdp-dark .grid-3.dark .pcard .add,
.hf.pdp-dark .grid-3.dark .pcard .add.accent {
	background: var(--paper-ref);
	color: var(--ink);
	border-color: var(--paper-ref);
}

.hf.pdp-dark .grid-3.dark .pcard .sticker {
	background: var(--ink);
	color: var(--paper-white);
}

.hf.pdp-dark .grid-3.dark .pcard.sold .img {
	background: var(--paper-white);
}

.hf.pdp-dark .grid-3.dark .pcard.sold .img::after {
	background: var(--paper-ref);
	color: var(--ink);
	border-color: var(--ink);
}

.hf.pdp-dark .footer .stakt-mark.accent {
	background-color: var(--paper-ref);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
	.hf.pdp-dark .pdp-main {
		grid-template-columns: 1fr;
	}

	.hf.pdp-dark .pdp-stage {
		border-right: none;
		border-bottom: 1px solid var(--line-dk);
		min-height: 520px;
	}

	.hf.pdp-dark .r-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.hf.pdp-dark .r-col:nth-child(2) {
		border-right: none;
	}

	.hf.pdp-dark .r-col:nth-child(1),
	.hf.pdp-dark .r-col:nth-child(2) {
		border-bottom: 1px solid var(--line-dk-2);
	}

	.hf.pdp-dark .grid-3 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 700px) {
	.hf.pdp-dark .pdp-buy,
	.hf.pdp-dark .pdp-stage,
	.hf.pdp-dark .pdp-receipts,
	.hf.pdp-dark .pdp-related {
		padding-left: 20px;
		padding-right: 20px;
	}

	.hf.pdp-dark .pdp-stage {
		padding-top: 68px;
	}

	.hf.pdp-dark .pdp-buy {
		padding-top: 68px;
	}

	.hf.pdp-dark .s-thumbs {
		grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
	}

	.hf.pdp-dark .r-grid,
	.hf.pdp-dark .grid-3 {
		grid-template-columns: 1fr;
	}

	.hf.pdp-dark .r-col {
		border-right: none;
		border-bottom: 1px solid var(--line-dk-2);
	}

	.hf.pdp-dark .r-col:last-child {
		border-bottom: none;
	}
}
