/*
 * Game DR — shared product-page stylesheet (Phase 2B correction).
 *
 * Scoped to .single-product only — NEVER to a specific .postid-XXXX.
 * This is the reusable design system for any NEW product built with the
 * Game DR structured fields (see inc/gamedr-product-meta.php and
 * inc/gamedr-product-renderer.php).
 *
 * Every value in this file was extracted directly from the live,
 * approved product 876 (.single-product.postid-876 rules in the legacy
 * Additional CSS) on 2026-09-21, and generalised to the shared
 * .single-product / .gd-pdp-* selectors below. Product 876's own
 * .postid-876 rules are untouched and still win by specificity if they
 * ever overlap, so this file cannot change how any of the 37 existing
 * products look.
 *
 * IMPORTANT — this file now includes the page-shell layout (the
 * two-column grid for gallery/summary, and full-width placement for the
 * accordion/story/tabs row) in addition to typography and colour. The
 * previous version of this file only carried typography/colour and
 * relied on WooCommerce's default (non-grid) layout for everything
 * else, which is why the test product's accordion overlapped the
 * gallery/summary columns instead of stacking below them.
 */

/* ---------------------------------------------------------------------
 * Page shell — outer single column, breadcrumb, notices.
 * ------------------------------------------------------------------- */
.single-product main.site-main {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	width: 100%;
	max-width: 100%;
	min-width: 0;
	padding: 0 18px 48px;
	margin: 0;
	background: #070709;
	row-gap: 0;
	align-content: start;
}

.single-product .woocommerce-notices-wrapper {
	grid-column: 1 / -1;
	min-width: 0;
}

/* ---------------------------------------------------------------------
 * Add-to-cart success notice — reproduces live 876's approved dark
 * Game DR notice, generalised from the legacy per-product .postid-XXXX
 * rules (which never included newer products such as 892) to a single
 * shared .single-product rule so every current and future product gets
 * it automatically.
 * ------------------------------------------------------------------- */
.single-product .woocommerce-notices-wrapper .woocommerce-message,
.single-product .woocommerce-notices-wrapper .woocommerce-info,
.single-product .woocommerce-notices-wrapper .woocommerce-error {
	margin: 22px 0 0;
	padding: 14px 16px;
	border-radius: 10px;
	list-style: none;
	background: #0d0d12;
	border-width: 2px 1px 1px;
	border-style: solid;
	border-color: #8a2bff #23232b #23232b;
	border-image: none;
	font-family: Inter, sans-serif;
	font-size: 13px;
	line-height: 1.5;
	color: #f7f7f8;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.single-product .woocommerce-notices-wrapper .woocommerce-message::before,
.single-product .woocommerce-notices-wrapper .woocommerce-info::before,
.single-product .woocommerce-notices-wrapper .woocommerce-error::before {
	display: none;
}

.single-product .woocommerce-notices-wrapper a.button {
	order: 2;
	margin-left: auto;
	height: 34px;
	padding: 0 14px;
	display: inline-flex;
	align-items: center;
	font-family: Inter, sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1.4px;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
	color: #cfc6e8;
	background: rgba(138, 43, 255, 0.12);
	border: 1px solid rgba(138, 43, 255, 0.42);
	border-radius: 6px;
	transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.single-product .woocommerce-notices-wrapper a.button:hover {
	background: #8a2bff;
	border-color: #8a2bff;
	color: #ffffff;
}

.single-product .woocommerce-notices-wrapper .woocommerce-message a.gd-pn-continue {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	order: 3;
	box-sizing: border-box;
	height: 34px;
	margin: 0 0 0 10px;
	padding: 0 14px;
	background: #8a2bff;
	border: 1px solid #8a2bff;
	border-radius: 6px;
	color: #f7f7f8;
	font-family: Inter, sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1.4px;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.single-product .woocommerce-notices-wrapper .woocommerce-message a.gd-pn-continue:hover,
.single-product .woocommerce-notices-wrapper .woocommerce-message a.gd-pn-continue:focus {
	border-color: #b44cff;
	background: #b44cff;
	color: #f7f7f8;
}

.single-product .woocommerce-notices-wrapper .woocommerce-message a.gd-pn-continue:focus-visible {
	outline: 2px solid #b44cff;
	outline-offset: 2px;
}

.single-product nav.woocommerce-breadcrumb {
	grid-column: 1 / -1;
	margin: 24px 0 0;
	padding: 0;
	min-width: 0;
	font-family: Inter, sans-serif;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.5;
	color: #6e6e7a;
}

.single-product nav.woocommerce-breadcrumb a {
	color: #a7a7b0;
	text-decoration: none;
}

.single-product nav.woocommerce-breadcrumb a:hover {
	color: #b44cff;
}

/* ---------------------------------------------------------------------
 * Product shell — the grid that holds gallery + summary, then the
 * full-width accordion/story content, then related products.
 * ------------------------------------------------------------------- */
.single-product div.product {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
	margin: 22px 0 0;
	padding: 0;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

@media (min-width: 1000px) {
	.single-product main.site-main {
		grid-template-columns: minmax(24px, calc((100% - 1280px) / 2)) minmax(0, 1fr) minmax(24px, calc((100% - 1280px) / 2));
		column-gap: 0;
		padding-left: 0;
		padding-right: 0;
		max-width: none;
	}
	.single-product nav.woocommerce-breadcrumb,
	.single-product .woocommerce-notices-wrapper,
	.single-product div.product {
		grid-column: 2;
	}
	.single-product div.product {
		grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
		column-gap: 46px;
		align-items: start;
	}
	.single-product div.product .woocommerce-product-gallery {
		grid-column: 1;
		grid-row: 1;
	}
	.single-product div.product .summary.entry-summary {
		grid-column: 2;
		grid-row: 1;
		margin-top: 0;
	}
	.single-product div.product .woocommerce-tabs {
		grid-column: 1 / -1;
		grid-row: 2;
		margin-top: 52px;
	}
	.single-product div.product .gd-pdp-info {
		grid-column: 1 / -1;
		grid-row: 2;
		margin-top: 52px;
	}
	.single-product div.product section.related.products {
		grid-column: 1 / -1;
		grid-row: 4;
	}
}

/* ---------------------------------------------------------------------
 * Native WooCommerce tabs (Description / Reviews) on a Game DR product.
 * The Description tab's own content is redundant with the Game DR
 * content above (gamedr_pdp_render_below_summary renders the real
 * content), so only the Description tab/panel is hidden; Reviews stays
 * fully intact and simply appears after the Game DR content — matching
 * the requirement that Reviews remain in place, just demoted below the
 * custom sections instead of duplicated above them.
 * ------------------------------------------------------------------- */
.single-product div.product:has(.gd-pdp-info) .woocommerce-tabs {
	grid-row: 3;
	margin-top: 52px;
}

.single-product div.product:has(.gd-pdp-info) .woocommerce-tabs ul.wc-tabs li.description_tab,
.single-product div.product:has(.gd-pdp-info) .woocommerce-tabs .woocommerce-Tabs-panel--description {
	display: none;
}

/* ---------------------------------------------------------------------
 * Reviews tab — minimal Game DR presentation (matches live product 876).
 * Live 876 never shows the review form expanded by default: its
 * Description tab is marked active on page load, so the Reviews panel
 * stays collapsed until a visitor clicks "Reviews (0)". A product with
 * no description (like a brand-new product before any content is
 * written) has no Description tab at all, so WooCommerce makes Reviews
 * the *only* tab and marks it active by default — which is what exposed
 * the full-size review form immediately on the Phase 2C handover
 * product. This rule reproduces live 876's behaviour generically and
 * unconditionally: the reviews panel only shows when its own tab is the
 * active one, regardless of whether a Description tab exists. The
 * native WooCommerce tab click handler is untouched — clicking
 * "Reviews (0)" still expands the real, functional review form exactly
 * as it does on live 876.
 * ------------------------------------------------------------------- */
.single-product div.product .woocommerce-tabs:not(:has(li.reviews_tab.active)) .woocommerce-Tabs-panel--reviews {
	display: none;
}

.single-product div.product .woocommerce-tabs ul.wc-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	align-items: center;
	margin: 36px 0 0;
	padding: 16px 0 0;
	list-style: none;
	border: 0;
	border-top: 1px solid #202027;
	min-width: 0;
}

.single-product div.product .woocommerce-tabs ul.wc-tabs li {
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.single-product div.product .woocommerce-tabs ul.wc-tabs li a {
	display: inline-block;
	margin: 0;
	padding: 0 0 4px;
	text-decoration: none;
	font-family: Inter, sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1.7px;
	line-height: 1.3;
	text-transform: uppercase;
	color: #6e6e7a;
	border-bottom: 1px solid transparent;
	transition: color 0.18s ease, border-color 0.18s ease;
}

.single-product div.product .woocommerce-tabs ul.wc-tabs li a:hover {
	color: #a7a7b0;
}

.single-product div.product .woocommerce-tabs ul.wc-tabs li.active a {
	color: #f7f7f8;
	border-bottom-color: #8a2bff;
}

/* WooCommerce core ships .woocommerce div.product .woocommerce-tabs
 * ul.tabs li.active { background:#fff } at a higher specificity than
 * the generic rule above, so the active tab (e.g. "Reviews (0)") can
 * render as a white box with near-white text on top — unreadable on
 * the dark Game DR design. Restate transparent at matching/greater
 * specificity so it reliably wins regardless of stylesheet load
 * order, the same way live product 876's own postid-scoped rule does. */
.single-product div.product .woocommerce-tabs ul.wc-tabs li.active,
.woocommerce div.product .woocommerce-tabs ul.wc-tabs li.active {
	background: transparent;
}

/* ---------------------------------------------------------------------
 * Reviews panel — reproduces live 876's dark Game DR review styling,
 * generalised from the legacy .postid-XXXX rules (which, again, never
 * included newer products) to a single shared .single-product rule.
 * WooCommerce's review functionality/markup is untouched — this is
 * visual styling only.
 * ------------------------------------------------------------------- */
.single-product div.product #reviews,
.single-product div.product #reviews p,
.single-product div.product #reviews label,
.single-product div.product #reviews .woocommerce-noreviews {
	font-family: Inter, sans-serif;
	color: #a7a7b0;
}

.single-product div.product #reviews h2,
.single-product div.product #reviews h3 {
	font-family: Rajdhani, sans-serif;
	color: #f7f7f8;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.single-product div.product #reviews input[type="text"],
.single-product div.product #reviews input[type="email"],
.single-product div.product #reviews textarea {
	background: #0a0a10;
	color: #f7f7f8;
	border: 0.8px solid #23232b;
	border-radius: 7px;
	font-family: Inter, sans-serif;
	padding: 10px 12px;
}

.single-product div.product #reviews input[type="text"]:focus,
.single-product div.product #reviews input[type="email"]:focus,
.single-product div.product #reviews textarea:focus {
	outline: none;
	border-color: #8a2bff;
}

.single-product div.product #reviews input#submit,
.single-product div.product #reviews .form-submit input {
	background: #8a2bff;
	color: #ffffff;
	border: none;
	border-radius: 7px;
	font-family: Inter, sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	padding: 0 20px;
	height: 42px;
	cursor: pointer;
	transition: background-color 0.16s ease;
}

.single-product div.product #reviews input#submit:hover,
.single-product div.product #reviews .form-submit input:hover {
	background: #7a1ef0;
}

/* ---------------------------------------------------------------------
 * Summary column (right column) — flex, ordered content.
 * ------------------------------------------------------------------- */
body.single-product div.product .woocommerce-product-gallery {
	position: relative;
	float: none !important;
	width: auto !important;
	max-width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
	opacity: 1;
}

.single-product div.product .woocommerce-product-gallery .flex-viewport,
.single-product div.product .woocommerce-product-gallery__wrapper {
	border-radius: 14px;
	background: #0d0d12;
}

.single-product div.product .woocommerce-product-gallery .flex-viewport {
	border: 1px solid #23232b;
	overflow: hidden;
}

.single-product div.product .woocommerce-product-gallery__image img,
.single-product div.product .woocommerce-product-gallery__wrapper img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	border-radius: 0;
	background: #0a0a10;
}

.single-product div.product .woocommerce-product-gallery__trigger {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 9;
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(10, 10, 16, 0.82);
	border: 1px solid #2a2a34;
	border-radius: 9px;
	color: #f7f7f8;
	font-size: 16px;
	line-height: 1;
	text-decoration: none;
	transition: border-color 0.18s ease, background-color 0.18s ease;
}

.single-product div.product .woocommerce-product-gallery__trigger:hover {
	border-color: rgba(138, 43, 255, 0.6);
	background: rgba(138, 43, 255, 0.16);
}

.single-product div.product .woocommerce-product-gallery__trigger:focus-visible {
	outline: 2px solid #b44cff;
	outline-offset: 2px;
}

.single-product div.product .woocommerce-product-gallery__trigger img {
	display: none;
}

.single-product div.product ol.flex-control-thumbs {
	display: flex;
	flex-wrap: nowrap;
	gap: 10px;
	margin: 12px 0 0;
	padding: 0 0 2px;
	list-style: none;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow: auto hidden;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
}

.single-product div.product ol.flex-control-thumbs::-webkit-scrollbar {
	width: 0;
	height: 0;
	display: none;
}

.single-product div.product ol.flex-control-thumbs li {
	flex: 0 0 auto !important;
	width: 78px !important;
	margin: 0;
	padding: 0;
	list-style: none;
}

.single-product div.product ol.flex-control-thumbs img {
	display: block;
	width: 78px;
	height: 78px;
	object-fit: cover;
	cursor: pointer;
	opacity: 0.68;
	background: #0a0a10;
	border: 1px solid #23232b;
	border-radius: 9px;
	transition: opacity 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.single-product div.product ol.flex-control-thumbs .flex-active img {
	opacity: 1;
	border-color: rgba(138, 43, 255, 0.75);
}

@media (min-width: 600px) {
	.single-product div.product ol.flex-control-thumbs li {
		width: 88px !important;
	}
	.single-product div.product ol.flex-control-thumbs img {
		width: 88px;
		height: 88px;
	}
}

.single-product div.product .summary.entry-summary {
	float: none;
	width: auto;
	max-width: 100%;
	min-width: 0;
	margin: 26px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

.single-product div.product .summary .product_meta {
	order: 1;
	margin: 0 0 12px;
	padding: 0;
	font-size: 0;
	line-height: 0;
}

.single-product div.product .summary .product_meta > span {
	display: inline-block;
	font-family: Inter, sans-serif;
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 1.7px;
	line-height: 1.2;
	text-transform: uppercase;
	color: #8e7bc4;
}

/* Metadata separators: SKU · CATEGORY · TAG.
   Each item after the first starts with a centred dot in a 20px gap.
   When an item wraps to a new line on narrow screens, its dot falls just
   outside the left edge and is clipped, so no line starts with a dot. */
.single-product div.product .summary .product_meta {
	clip-path: inset(-4px -4px -4px 0);
}

.single-product div.product .summary .product_meta > span:not(:last-child) {
	padding-right: 20px;
}

.single-product div.product .summary .product_meta > span + span {
	margin-left: -20px;
}

.single-product div.product .summary .product_meta > span + span::before {
	content: "·";
	display: inline-block;
	width: 20px;
	text-align: center;
	letter-spacing: 0;
}

.single-product div.product .summary .product_meta a {
	color: #8e7bc4;
	text-decoration: none;
}

.single-product div.product .summary .product_meta a:hover {
	color: #b44cff;
}

.single-product div.product .summary h1.product_title {
	order: 2;
	margin: 0;
	padding: 0;
	min-width: 0;
	font-family: Rajdhani, sans-serif;
	font-size: 34px;
	line-height: 1.04;
	font-weight: 700;
	letter-spacing: 0.01em;
	color: #f7f7f8;
	text-transform: uppercase;
	overflow-wrap: break-word;
}

.single-product div.product .summary p.price,
.single-product div.product .summary p.price .woocommerce-Price-amount {
	order: 3;
	margin: 14px 0 0;
	padding: 0;
	font-family: Rajdhani, sans-serif;
	font-size: 32px;
	line-height: 1.1;
	font-weight: 700;
	letter-spacing: 0.01em;
	color: #b44cff;
}

.single-product div.product .summary p.price del {
	color: #6e6e7a;
	font-size: 0.7em;
	margin-right: 8px;
}

@media (min-width: 1000px) {
	.single-product div.product .summary h1.product_title {
		font-size: 44px;
	}
	.single-product div.product .summary p.price,
	.single-product div.product .summary p.price .woocommerce-Price-amount {
		font-size: 34px;
	}
}

/* ---------------------------------------------------------------------
 * Top content: eyebrow, intro, highlights, delivery line — rendered
 * into the WooCommerce short-description position, part of the same
 * ordered flex column as title/price above.
 * ------------------------------------------------------------------- */
.single-product .gdr-pdp-top-content {
	order: 4;
	min-width: 0;
	margin: 18px 0 0;
}

.single-product .gd-pdp-tag {
	font-family: Inter, sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 2.4px;
	line-height: 1.3;
	text-transform: uppercase;
	color: #b44cff;
	margin: 0;
}

.single-product .gd-pdp-lede {
	font-family: Inter, sans-serif;
	font-size: 14.5px;
	font-weight: 400;
	line-height: 1.7;
	color: #a7a7b0;
	margin: 12px 0 0;
}

.single-product .gd-pdp-hl {
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 9px;
}

.single-product .gd-pdp-hl li {
	position: relative;
	margin: 0;
	padding: 0 0 0 20px;
	min-width: 0;
	font-family: Inter, sans-serif;
	font-size: 13.5px;
	color: #cfc6e8;
}

.single-product .gd-pdp-hl li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 0.56em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #8a2bff;
}

.single-product .gd-pdp-ship {
	font-family: Inter, sans-serif;
	font-size: 12px;
	font-weight: 600;
	color: #f7f7f8;
	margin: 14px 0 0;
	padding-top: 12px;
	border-top: 1px solid #1b1b23;
}

/* ---------------------------------------------------------------------
 * Add to cart form — quantity + button share one flex row, matching the
 * live Game DR purchase row exactly (extracted from live product 876's
 * .postid-876 form.cart / div.quantity / input.qty rules).
 * ------------------------------------------------------------------- */
.single-product div.product .summary form.cart {
	order: 5;
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 12px;
	margin: 18px 0 0;
	padding: 0;
	min-width: 0;
}

.single-product div.product .summary form.cart div.quantity {
	flex: 0 0 auto;
	display: flex;
	margin: 0;
	padding: 0;
	float: none;
}

.single-product div.product .summary form.cart div.quantity input.qty,
.single-product div.product .summary form.cart div.quantity input[type="number"] {
	width: 78px;
	min-width: 0;
	height: 50px;
	margin: 0;
	padding: 0 6px;
	text-align: center;
	background: #0a0a10;
	border: 1px solid #23232b;
	border-radius: 7px;
	color: #f7f7f8;
	font-family: Inter, sans-serif;
	font-size: 15px;
	font-weight: 600;
	-moz-appearance: textfield;
}

.single-product div.product .summary form.cart div.quantity input.qty:focus {
	outline: none;
	border-color: rgba(138, 43, 255, 0.55);
	box-shadow: 0 0 0 3px rgba(138, 43, 255, 0.14);
}

.single-product div.product .summary form.cart button.single_add_to_cart_button {
	flex: 1 1 200px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	height: 50px;
	margin: 0;
	padding: 0 22px;
	cursor: pointer;
	font-family: Inter, sans-serif;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 1.8px;
	line-height: 1;
	text-transform: uppercase;
	text-align: center;
	color: #ffffff;
	background: #8a2bff;
	border: 1px solid #8a2bff;
	border-radius: 7px;
	transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.single-product div.product .summary form.cart button.single_add_to_cart_button:hover {
	background: #7a1ef0;
	border-color: #7a1ef0;
	box-shadow: 0 10px 26px -14px rgba(138, 43, 255, 0.9);
}

.single-product div.product .summary form.cart button.single_add_to_cart_button:focus-visible {
	outline: 2px solid #b44cff;
	outline-offset: 3px;
}

/* Loading (AJAX add-to-cart in progress): keep the approved purple
 * instead of falling back to WooCommerce/browser default dimming that
 * can read as a light/lavender flash. Matches the opacity legacy
 * product pages already use for this same state. */
.single-product div.product .summary form.cart button.single_add_to_cart_button.loading {
	opacity: 0.6;
}

/* ---------------------------------------------------------------------
 * Accordion (rendered inside the demoted WooCommerce Tabs area, full
 * width, below both gallery and summary columns).
 * ------------------------------------------------------------------- */
.single-product .gd-pdp-info {
	min-width: 0;
}

.single-product div.product .gd-pdp-acc {
	display: block;
	margin: 0;
	min-width: 0;
	background: #0d0d12;
	border: 1px solid #292931;
	border-radius: 8px;
	overflow: hidden;
}

.single-product div.product details.gd-pdp-d {
	background: transparent;
	border: 0;
	border-bottom: 1px solid #202027;
	border-radius: 0;
	min-width: 0;
}

.single-product div.product details.gd-pdp-d:last-child {
	border-bottom: 0;
}

.single-product div.product summary.gd-pdp-s {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 16px 20px 16px 22px;
	cursor: pointer;
	list-style: none;
	min-width: 0;
	font-family: Rajdhani, sans-serif;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.09em;
	line-height: 1.2;
	text-transform: uppercase;
	color: #a7a7b0;
	transition: background-color 0.18s ease, color 0.18s ease;
}

.single-product div.product summary.gd-pdp-s::-webkit-details-marker {
	display: none;
}

.single-product div.product summary.gd-pdp-s::marker {
	content: "";
}

.single-product div.product summary.gd-pdp-s::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 2px;
	background: transparent;
	transition: background-color 0.18s ease;
}

.single-product div.product summary.gd-pdp-s:hover {
	background: #12121a;
	color: #f7f7f8;
}

.single-product div.product summary.gd-pdp-s:focus-visible {
	outline: 2px solid #b44cff;
	outline-offset: -2px;
}

.single-product div.product details.gd-pdp-d[open] summary.gd-pdp-s {
	background: #17171d;
	color: #f7f7f8;
}

.single-product div.product details.gd-pdp-d[open] summary.gd-pdp-s::before {
	background: #8a2bff;
}

.single-product div.product summary.gd-pdp-s::after {
	content: "";
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	margin-right: 4px;
	border-right: 1.6px solid #6e6e7a;
	border-bottom: 1.6px solid #6e6e7a;
	transform: rotate(45deg);
	transition: transform 0.18s ease, border-color 0.18s ease;
}

.single-product div.product details.gd-pdp-d[open] summary.gd-pdp-s::after {
	transform: rotate(-135deg) translate(-2px, -2px);
	border-color: #b44cff;
}

.single-product div.product .gd-pdp-c {
	padding: 18px 22px 24px;
	border-top: 0;
	min-width: 0;
}

.single-product div.product .gd-pdp-c p {
	margin: 0 0 12px;
	font-family: Inter, sans-serif;
	font-size: 14.5px;
	font-weight: 400;
	line-height: 1.75;
	color: #a7a7b0;
}

.single-product div.product .gd-pdp-c p:last-child {
	margin-bottom: 0;
}

.single-product div.product ul.gd-pdp-ul {
	list-style: none;
	margin: 0;
	padding: 18px 22px 24px;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 10px;
}

.single-product div.product ul.gd-pdp-ul li {
	position: relative;
	margin: 0;
	padding: 0 0 0 19px;
	min-width: 0;
	font-family: Inter, sans-serif;
	font-size: 14.5px;
	font-weight: 400;
	line-height: 1.6;
	color: #a7a7b0;
}

.single-product div.product ul.gd-pdp-ul li::before {
	content: "";
	position: absolute;
	left: 1px;
	top: 0.62em;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #8a2bff;
}

.single-product div.product dl.gd-pdp-dl {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
	margin: 0;
	min-width: 0;
	padding: 18px 22px 24px;
}

.single-product div.product dl.gd-pdp-dl dt {
	padding: 12px 0 2px;
	margin: 0;
	border-top: 1px solid #202027;
	font-family: Inter, sans-serif;
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 1.6px;
	line-height: 1.3;
	text-transform: uppercase;
	color: #8e7bc4;
}

.single-product div.product dl.gd-pdp-dl dd {
	padding: 0 0 12px;
	margin: 0;
	font-family: Inter, sans-serif;
	font-size: 14.5px;
	font-weight: 400;
	line-height: 1.6;
	color: #f7f7f8;
	overflow-wrap: break-word;
}

.single-product div.product dl.gd-pdp-dl dt:first-child {
	border-top: 0;
	padding-top: 0;
}

@media (min-width: 600px) {
	.single-product div.product dl.gd-pdp-dl {
		grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
	}
	.single-product div.product dl.gd-pdp-dl dt {
		padding: 13px 16px 13px 0;
	}
	.single-product div.product dl.gd-pdp-dl dd {
		padding: 13px 0;
		border-top: 1px solid #202027;
	}
	.single-product div.product dl.gd-pdp-dl dt:first-child,
	.single-product div.product dl.gd-pdp-dl dt:first-child + dd {
		border-top: 0;
		padding-top: 0;
	}
}

/* ---------------------------------------------------------------------
 * Editorial story rows.
 * ------------------------------------------------------------------- */
.single-product div.product .gd-pdp-story {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 18px;
	margin: 28px 0 0;
	min-width: 0;
}

.single-product div.product .gd-pdp-story-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
	min-width: 0;
	background: #0d0d12;
	border: 1px solid #292931;
	border-radius: 10px;
	overflow: hidden;
}

.single-product div.product .gd-pdp-shot {
	margin: 0;
	padding: 0;
	min-width: 0;
	line-height: 0;
	background: #0a0a10;
}

.single-product div.product .gd-pdp-shot img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center center;
	margin: 0;
	border: 0;
	border-radius: 0;
}

/* Infographic/isolated-product story images keep their full supplier
 * image visible — no destructive 4:3 cover crop. Controlled per-row via
 * the reusable "Image fit" field (inc/gamedr-product-meta.php), never
 * hardcoded to a product ID. */
.single-product div.product .gd-pdp-shot--full img {
	aspect-ratio: auto;
	object-fit: contain;
	background: #0a0a10;
}

.single-product div.product .gd-pdp-story-rev .gd-pdp-shot {
	order: -1;
}

.single-product div.product .gd-pdp-story-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 26px 22px 28px;
	min-width: 0;
}

.single-product div.product .gd-pdp-story-copy p.gd-pdp-eyebrow {
	margin: 0 0 10px;
	font-family: Inter, sans-serif;
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 2.2px;
	line-height: 1.3;
	text-transform: uppercase;
	color: #b44cff;
}

.single-product div.product h2.gd-pdp-story-h {
	margin: 0 0 14px;
	padding: 0;
	font-family: Rajdhani, sans-serif;
	font-size: 27px;
	font-weight: 700;
	letter-spacing: 0.05em;
	line-height: 1.12;
	text-transform: uppercase;
	color: #f7f7f8;
	overflow-wrap: break-word;
}

.single-product div.product .gd-pdp-story-copy p {
	margin: 0 0 12px;
	font-family: Inter, sans-serif;
	font-size: 14.5px;
	font-weight: 400;
	line-height: 1.75;
	color: #a7a7b0;
}

.single-product div.product .gd-pdp-story-copy p:last-child {
	margin-bottom: 0;
}

@media (min-width: 1000px) {
	.single-product div.product .gd-pdp-story {
		gap: 22px;
		margin-top: 32px;
	}
	.single-product div.product .gd-pdp-story-row {
		grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
		align-items: stretch;
	}
	.single-product div.product .gd-pdp-story-rev {
		grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
	}
	.single-product div.product .gd-pdp-story-rev .gd-pdp-shot {
		order: 0;
	}
	.single-product div.product .gd-pdp-shot {
		position: relative;
		min-height: 360px;
	}
	.single-product div.product .gd-pdp-shot img {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
	}
	.single-product div.product .gd-pdp-shot--full img {
		aspect-ratio: auto;
	}
	.single-product div.product .gd-pdp-story-copy {
		padding: 40px 42px;
	}
	.single-product div.product h2.gd-pdp-story-h {
		font-size: 34px;
		margin-bottom: 16px;
	}
	.single-product div.product .gd-pdp-story-copy p {
		font-size: 15px;
	}
}

@media (min-width: 600px) and (max-width: 999px) {
	.single-product div.product .gd-pdp-story-copy {
		padding: 30px 26px 32px;
	}
}

/* ---------------------------------------------------------------------
 * Feature cards (three small cards).
 * ------------------------------------------------------------------- */
.single-product div.product .gd-pdp-trio {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 14px;
	margin: 40px 0 0;
	min-width: 0;
}

.single-product div.product section.gd-pdp-mini {
	min-width: 0;
	background: #0d0d12;
	border: 1px solid #292931;
	border-radius: 10px;
	padding: 22px 22px 24px;
}

.single-product div.product .gd-pdp-tick {
	display: block;
	width: 26px;
	height: 2px;
	margin: 0 0 15px;
	border-radius: 2px;
	background: #8a2bff;
}

.single-product div.product h2.gd-pdp-mini-h {
	margin: 0 0 11px;
	padding: 0;
	font-family: Rajdhani, sans-serif;
	font-size: 19px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.15;
	text-transform: uppercase;
	color: #f7f7f8;
	overflow-wrap: break-word;
}

.single-product div.product section.gd-pdp-mini p {
	margin: 0 0 11px;
	font-family: Inter, sans-serif;
	font-size: 13.5px;
	font-weight: 400;
	line-height: 1.7;
	color: #a7a7b0;
}

.single-product div.product section.gd-pdp-mini p:last-child {
	margin-bottom: 0;
}

@media (min-width: 1000px) {
	.single-product div.product .gd-pdp-trio {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 14px;
	}
}

/* ---------------------------------------------------------------------
 * Perfect-for chips (a fourth section.gd-pdp-mini, outside the trio).
 * ------------------------------------------------------------------- */
.single-product div.product ul.gd-pdp-chips {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	min-width: 0;
}

.single-product div.product ul.gd-pdp-chips li {
	margin: 0;
	padding: 6px 11px;
	line-height: 1;
	border-radius: 999px;
	background: #17171d;
	border: 1px solid #202027;
	font-family: Inter, sans-serif;
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: #cfc6e8;
}

/* ---------------------------------------------------------------------
 * Closing brand block.
 * ------------------------------------------------------------------- */
.single-product div.product .gd-pdp-tstory {
	position: relative;
	margin: 40px 0 0;
	padding: 40px 22px 42px;
	border: 1px solid #292931;
	border-radius: 12px;
	background: radial-gradient(120% 150% at 10% 0%, rgba(183, 243, 74, 0.12) 0%, rgba(183, 243, 74, 0) 58%), #0a0a10;
	overflow: hidden;
	text-align: left;
}

.single-product div.product .gd-pdp-tstory::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: linear-gradient(180deg, #b7f34a 0%, rgba(138, 43, 255, 0.55) 55%, rgba(138, 43, 255, 0) 92%);
}

.single-product div.product .gd-pdp-tstory::after {
	content: "";
	position: absolute;
	right: -90px;
	top: -90px;
	width: 280px;
	height: 280px;
	border: 1px solid rgba(154, 230, 42, 0.16);
	border-radius: 50%;
	pointer-events: none;
}

.single-product div.product .gd-pdp-tinner {
	position: relative;
	z-index: 1;
	max-width: 720px;
	margin: 0;
	text-align: left;
}

.single-product div.product .gd-pdp-tstory p.gd-pdp-teyebrow {
	font-family: Inter, sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 2.4px;
	text-transform: uppercase;
	color: #8a2bff;
	margin: 0 0 12px;
}

.single-product div.product .gd-pdp-th {
	font-family: Rajdhani, sans-serif;
	font-size: 30px;
	font-weight: 700;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	color: #f7f7f8;
	line-height: 1.06;
	margin: 0 0 4px;
}

.single-product div.product .gd-pdp-trule {
	height: 1px;
	max-width: 300px;
	margin: 20px 0 22px;
	background: linear-gradient(90deg, rgba(183, 243, 74, 0.55) 0%, rgba(41, 41, 49, 0) 100%);
}

.single-product div.product .gd-pdp-tstory p {
	font-family: Inter, sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.8;
	color: #a7a7b0;
	margin: 0 0 14px;
}

.single-product div.product .gd-pdp-tstory ul.gd-pdp-ul {
	margin: 0;
}

@media (min-width: 1000px) {
	.single-product div.product .gd-pdp-tstory {
		padding: 52px 44px 54px;
	}
	.single-product div.product .gd-pdp-th {
		font-size: 42px;
	}
	.single-product div.product .gd-pdp-tstory p {
		font-size: 16px;
	}
}

/* ---------------------------------------------------------------------
 * Related products — generic (applies to any single product page, not
 * scoped to a product ID), matching the live Game DR card design.
 * ------------------------------------------------------------------- */
.single-product div.product section.related.products {
	max-width: 100%;
	margin: 42px 0 0;
	padding: 34px 0 0;
}

.single-product div.product section.related.products ul.products {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* WooCommerce core ships a float-era clearfix (content:" "; display:table)
 * on ul.products::before/::after. Inside a CSS Grid container those
 * pseudo-elements become real grid items and consume auto-placed cells,
 * pushing the actual product cards out of alignment (one card dropping
 * to its own row). Neutralising them is the fix live 876 already had,
 * but only as a .postid-876 rule — generalised here so it applies to
 * any product's related-products grid. */
.single-product div.product section.related.products ul.products::before,
.single-product div.product section.related.products ul.products::after {
	content: none;
	display: none;
}

.single-product div.product section.related.products li.product {
	position: relative;
	list-style: none;
	padding: 0;
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	display: flex;
	flex-direction: column;
	background: #0d0d12;
	border: 1px solid #23232b;
	border-radius: 12px;
	overflow: hidden;
	transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.single-product div.product section.related.products li.product:hover {
	border-color: rgba(138, 43, 255, 0.5);
	transform: translateY(-2px);
	box-shadow: 0 14px 34px -22px rgba(138, 43, 255, 0.8);
}

.single-product div.product section.related.products li.product a.woocommerce-LoopProduct-link {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-width: 0;
	text-decoration: none;
	color: inherit;
}

.single-product div.product section.related.products li.product img {
	order: 1;
	position: relative;
	z-index: 0;
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.single-product div.product section.related.products h2.woocommerce-loop-product__title {
	order: 3;
	margin: 0;
	padding: 6px 15px 0;
	font-family: Inter, sans-serif;
	font-size: 16.5px;
	font-weight: 600;
	line-height: 1.35;
	color: #f7f7f8;
	text-transform: none;
}

.single-product div.product section.related.products .price,
.single-product div.product section.related.products .price .woocommerce-Price-amount {
	order: 4;
	color: #b44cff;
	font-family: Rajdhani, sans-serif;
	font-size: 21px;
	font-weight: 700;
}

.single-product div.product section.related.products .price {
	padding: 8px 15px 15px;
	margin: 0;
}

/* Category label — reproduces live 876's per-category ::before labels,
 * written generically (not .postid-scoped) so any product's related-
 * products loop picks up the correct label for these known categories. */
.single-product div.product section.related.products li.product.product_cat-keyboards a.woocommerce-LoopProduct-link::before,
.single-product div.product section.related.products li.product.product_cat-gaming-mice a.woocommerce-LoopProduct-link::before,
.single-product div.product section.related.products li.product.product_cat-audio a.woocommerce-LoopProduct-link::before,
.single-product div.product section.related.products li.product.product_cat-streaming a.woocommerce-LoopProduct-link::before,
.single-product div.product section.related.products li.product.product_cat-accessories a.woocommerce-LoopProduct-link::before,
.single-product div.product section.related.products li.product.product_cat-gaming-rgb a.woocommerce-LoopProduct-link::before {
	order: 2;
	position: relative;
	z-index: 1;
	display: block;
	background: #0d0d12;
	margin: 0;
	padding: 14px 15px 0;
	font-family: Inter, sans-serif;
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 1.7px;
	line-height: 1.2;
	text-transform: uppercase;
	color: #8e7bc4;
}

.single-product div.product section.related.products li.product.product_cat-keyboards a.woocommerce-LoopProduct-link::before {
	content: "Keyboards";
}
.single-product div.product section.related.products li.product.product_cat-gaming-mice a.woocommerce-LoopProduct-link::before {
	content: "Gaming Mice";
}
.single-product div.product section.related.products li.product.product_cat-audio a.woocommerce-LoopProduct-link::before {
	content: "Audio";
}
.single-product div.product section.related.products li.product.product_cat-streaming a.woocommerce-LoopProduct-link::before {
	content: "Streaming";
}
.single-product div.product section.related.products li.product.product_cat-accessories a.woocommerce-LoopProduct-link::before {
	content: "Accessories";
}
.single-product div.product section.related.products li.product.product_cat-gaming-rgb a.woocommerce-LoopProduct-link::before {
	content: "Gaming & RGB";
}

.single-product div.product section.related.products a.add_to_cart_button,
.single-product div.product section.related.products a.button {
	order: 5;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 0;
	height: 40px;
	margin: 0 15px 15px;
	padding: 0 12px;
	font-family: Inter, sans-serif;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 1.5px;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
	color: #cfc6e8;
	background: rgba(138, 43, 255, 0.1);
	border: 1px solid rgba(138, 43, 255, 0.42);
	border-radius: 6px;
	transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.single-product div.product section.related.products a.add_to_cart_button:hover,
.single-product div.product section.related.products a.button:hover {
	color: #ffffff;
	background: #8a2bff;
	border-color: #8a2bff;
}

.single-product div.product section.related.products a.add_to_cart_button:focus-visible,
.single-product div.product section.related.products a.button:focus-visible {
	outline: 2px solid #b44cff;
	outline-offset: 2px;
}

.single-product div.product section.related.products h2:not(.woocommerce-loop-product__title) {
	grid-column: 1 / -1;
	font-family: Rajdhani, sans-serif;
	font-size: 26px;
	font-weight: 700;
	letter-spacing: 1.3px;
	text-transform: uppercase;
	color: #f7f7f8;
	margin: 0 0 20px;
}

@media (min-width: 1000px) {
	.single-product div.product section.related.products ul.products {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 20px;
	}
}
