/* ====================================================================
 * Dedicated Product — ARC-32 scroll-driven canvas hero (V117)
 *
 * This file carries the critical compatibility fix, local ARC-32 layout
 * primitives, and the ARC-32 typography overrides on top of the shared
 * dedicated-product stack.
 * GSAP ScrollTrigger handles pinning + the scale-into-cabinet timeline.
 * ==================================================================== */

/* ---- CRITICAL: un-break pinning -------------------------------------
 * The base Dedicated Product CSS sets `overflow-x: hidden` on the page
 * wrapper, which forces overflow-y to `auto` and turns the wrapper into a
 * scroll container — breaking pinned/fixed children. `overflow-x: clip`
 * prevents horizontal overflow WITHOUT establishing a scroll container. */
#dedicated-product.dp-page--arc32 {
	overflow-x: clip;
}

/* ---- Typography: Montserrat via the shared dedicated-product stack ----
 * Scoped with id + .dp-page--arc32 so it out-specifies the base
 * `#dedicated-product.dp-page h1..h6` heading font rules. */
#dedicated-product.dp-page--arc32 .dp-arc32-hero,
#dedicated-product.dp-page--arc32 .dp-arc32-hero *,
#dedicated-product.dp-page--arc32 .dp-arc32-features1,
#dedicated-product.dp-page--arc32 .dp-arc32-features1 * {
	font-family: var(--dp-font);
}

/* ARC-32 inherits the shared blurred-glass treatment from dedicated-product.css. */

/* Chrome was softening the carousel videos because both the moving track and
 * card media were promoted into accelerated layers. Keep the marquee moving,
 * but force ARC-32 onto a 2D translate path so Chrome preserves sharpness. */
#dedicated-product.dp-page--arc32 .dp-gcar__track {
	transform: translateX(0);
	contain: layout style;
	backface-visibility: visible;
	-webkit-backface-visibility: visible;
}
#dedicated-product.dp-page--arc32 .dp-gcar__track--left,
#dedicated-product.dp-page--arc32 .dp-gcar__track--right {
	animation-name: dp-gcar-loop-arc32;
}
#dedicated-product.dp-page--arc32 .dp-gcar__media {
	transform: none;
	backface-visibility: visible;
	-webkit-backface-visibility: visible;
	will-change: auto;
}

@keyframes dp-gcar-loop-arc32 {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

/* ---- High-fidelity background bleed (Hero + Features 1) -------------
 * Replace the flat Tailwind black (tw-bg-black, 0,1,0 specificity — beaten by
 * the id + .dp-page--arc32 selector here) with a near-black #030303 base and a
 * long top→bottom gradient settling at #121212, plus extra trailing padding so
 * the dark tone bleeds gradually into the following section instead of a seam. */
#dedicated-product.dp-page--arc32 .dp-arc32-hero {
	/* V153: locked to a solid full-bleed panel. The section directly below
	   (.dp-arc32-features1) also starts at #030303, so the boundary stays seamless. */
	background-color: #030303;
	background-image: none;
}
#dedicated-product.dp-page--arc32 .dp-arc32-hero__stage {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100vh;
	overflow: hidden;
}
#dedicated-product.dp-page--arc32 .dp-arc32-hero__cabinet {
	position: absolute;
	left: 50%;
	top: 50%;
	width: auto;
	height: auto;
	max-width: 94vw;
	max-height: 90vh;
	transform: translate(-50%, -50%);
	opacity: 0;
	z-index: 1;
	pointer-events: none;
}
/* Cabinet CTA — flush beneath the cabinet at the scroll finale. JS sets its
   `top` from the cabinet's centred bottom, clamped inside the stage so it can
   never be clipped; GSAP fades it in with the cabinet. Reuses the Choosing
   Games footer CTA styling (.dp-gcar__footer-cta.button-red-shadowed) 1:1. */
#dedicated-product.dp-page--arc32 .dp-arc32-hero__cta {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translateX(-50%);
	z-index: 20;
	display: flex;
	justify-content: center;
	width: max-content;
	max-width: 94vw;
	opacity: 0;
	pointer-events: none;
}
/* Restore the Choosing Games CTA's bold face. The `.dp-arc32-hero *` typography
   rule above forces --dp-font (regular Montserrat) onto every hero descendant at
   equal specificity but later in the cascade, which would otherwise flatten this
   button to regular weight. Match the gcar footer CTA 1:1. */
#dedicated-product.dp-page--arc32 .dp-arc32-hero__cta .dp-gcar__footer-cta {
	font-family: "Montserrat-Bold", Helvetica, Arial, sans-serif;
	font-weight: 500;
}
/* Reserve room beneath the cabinet for the CTA so the button is never clipped. */
#dedicated-product.dp-page--arc32 .dp-arc32-hero--has-cta .dp-arc32-hero__cabinet {
	max-height: 78vh;
}
#dedicated-product.dp-page--arc32 .dp-arc32-hero__media {
	position: absolute;
	inset: 0;
	z-index: 2;
	overflow: hidden;
	background: #000;
}
#dedicated-product.dp-page--arc32 .dp-arc32-hero__media-el {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
#dedicated-product.dp-page--arc32 .dp-arc32-features1 {
	background-color: #030303;
	background-image: linear-gradient(180deg, #030303 0%, #030303 55%, #121212 100%);
	color: #fff;
	padding: 4rem 0 clamp(72px, 10vh, 150px);
}
#dedicated-product.dp-page--arc32 .dp-arc32-features1__inner {
	width: 100%;
	max-width: 72rem;
	margin-inline: auto;
	padding-inline: 1.5rem;
}

/* Hero copy — premium, large (display scale). Scoped to beat base h1 rules. */
#dedicated-product.dp-page--arc32 .dp-arc32-hero__branding {
	margin: 0 0 1rem;
	font-size: clamp(18px, 1.8vw, 24px);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: rgba(255, 255, 255, 0.9);
}
#dedicated-product.dp-page--arc32 .dp-arc32-hero__title {
	margin: 0;
	font-size: clamp(36px, 5.5vw, 68px);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.02em;
	max-width: 18ch;
	text-align: center;
	color: #fff;
}
.dp-arc32-hero__label {
	margin-top: 2rem;
}
.dp-arc32-hero__label-pill {
	display: inline-flex;
	align-items: center;
	padding: 0.625rem 1.5rem;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	-webkit-backdrop-filter: blur(20px);
	backdrop-filter: blur(20px);
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.02em;
}

/* Hero copy anchored near the bottom of the viewport, still centred — raised
 * by roughly one row from flush-bottom. */
.dp-arc32-hero__overlay {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	z-index: 30;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	padding: 0 1.5rem clamp(96px, 15vh, 180px);
	text-align: center;
	pointer-events: none;
}
.dp-arc32-hero__copy {
	display: flex;
	width: 100%;
	max-width: 72rem;
	margin-inline: auto;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

/* ---- Features 1 columns / CTA ---- */
#dedicated-product.dp-page--arc32 .dp-arc32-features1__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: clamp(24px, 3vw, 32px);
}
#dedicated-product.dp-page--arc32 .dp-arc32-features1__heading {
	margin: 0;
	font-size: clamp(28px, 4vw, 40px);
	font-family: 'Montserrat-Bold', var(--dp-font);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.1;
	text-align: left;
}
#dedicated-product.dp-page--arc32 .dp-arc32-features1__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.5rem;
}
#dedicated-product.dp-page--arc32 .dp-arc32-panel__cta {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 12px 18px;
	border-radius: 999px;
	background: #d90500;
	color: #fff;
	text-decoration: none;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	transition: background-color .24s ease, color .24s ease, box-shadow .24s ease;
}
#dedicated-product.dp-page--arc32 .dp-arc32-panel__cta-label {
	white-space: nowrap;
}
#dedicated-product.dp-page--arc32 .dp-arc32-panel__cta-icon {
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	border-radius: 50%;
	background: #fff;
	color: #d90500;
	opacity: 0;
	transform: translateX(-6px) scale(0.92);
	transition: opacity .24s ease, transform .24s ease, box-shadow .24s ease;
}
#dedicated-product.dp-page--arc32 .dp-arc32-panel__cta-icon svg {
	width: 14px;
	height: 14px;
}
#dedicated-product.dp-page--arc32 .dp-arc32-panel__cta:hover,
#dedicated-product.dp-page--arc32 .dp-arc32-panel__cta:focus-visible,
#dedicated-product.dp-page--arc32 .dp-arc32-panel__cta:active {
	background: #fff;
	color: #d90500;
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}
#dedicated-product.dp-page--arc32 .dp-arc32-panel__cta:hover .dp-arc32-panel__cta-icon,
#dedicated-product.dp-page--arc32 .dp-arc32-panel__cta:focus-visible .dp-arc32-panel__cta-icon,
#dedicated-product.dp-page--arc32 .dp-arc32-panel__cta:active .dp-arc32-panel__cta-icon {
	opacity: 1;
	transform: translateX(0) scale(1);
	box-shadow: inset 0 0 0 1px rgba(217, 5, 0, 0.16);
}
#dedicated-product.dp-page--arc32 .dp-arc32-detail__col {
	text-align: left;
	background: rgba(255, 255, 255, 0.10);
	border: 1px solid var(--dp-border);
	border-radius: 24px;
	-webkit-backdrop-filter: blur(20px);
	backdrop-filter: blur(20px);
	padding: 28px 30px;
}
#dedicated-product.dp-page--arc32 .dp-arc32-detail__title {
	margin: 0 0 16px;
	font-size: 1.25rem;
	font-family: 'Montserrat-Bold', var(--dp-font);
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.3;
	color: #fff;
}
#dedicated-product.dp-page--arc32 .dp-arc32-detail__body {
	margin: 0;
	font-size: 1rem;
	font-family: 'Montserrat-Regular', var(--dp-font);
	line-height: 1.6;
	letter-spacing: 0;
	color: var(--dp-text-soft);
	opacity: 0.75;
}
.dp-arc32-detail__body br + br { content: ''; }

/* V153: Location Considerations now render as Features 2 cards (see
   info-cards.php) — pop-out image + glass body + title/body. All of their card
   styling is inherited wholesale from the shared .dp-feature rules, so the old
   .dp-infocard overrides here were purged. */
#dedicated-product.dp-page--arc32 .dp-gcar__col-title {
	margin: 0;
	font-family: 'Montserrat-Bold', var(--dp-font);
	font-size: 1.25rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.3;
	color: #fff;
}
#dedicated-product.dp-page--arc32 .dp-gcar__col-body {
	margin: 0;
	font-family: 'Montserrat-Regular', var(--dp-font);
	font-size: 1rem;
	line-height: 1.6;
	letter-spacing: 0;
	color: var(--dp-text-soft);
	opacity: 0.75;
}
#dedicated-product.dp-page--arc32 .dp-infocards--locations .dp-infocard__icon {
	margin-bottom: 20px;
}

/* The in-hero 3-column finale: hidden by default; GSAP fades it in over the
 * cabinet on desktop. The standalone .dp-arc32-features1 section is the
 * mobile / reduced-motion fallback. Exactly one shows per context. */
.dp-arc32-hero__detail { display: none; opacity: 0; }
.dp-arc32-hero__detail-inner {
	width: 100%;
	max-width: 72rem;
	margin-inline: auto;
	pointer-events: auto;
}
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
	.dp-arc32-hero__detail {
		display: block;
		position: absolute;
		inset-inline: 0;
		bottom: 0;
		z-index: 30;
		padding: 0 1.5rem 10vh;
		pointer-events: none;
	}
	.dp-arc32-features1 { display: none; }
	#dedicated-product.dp-page--arc32 .dp-arc32-features1__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: clamp(2.5rem, 4vw, 4rem);
	}
}

/* ---- Play / pause toggle ----------------------------------------------
 * Top-right of the hero, pushed clear of the fixed site header + sub-nav. */
.dp-arc32-hero__toggle {
	position: absolute;
	right: 1.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 0;
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.2);
	-webkit-backdrop-filter: blur(20px);
	backdrop-filter: blur(20px);
	color: #fff;
	cursor: pointer;
	top: calc(var(--renewal-main-nav-height, 5.3125rem) + var(--dp-subnav-h, 56px) + 0.75rem);
	z-index: 45;
	will-change: transform, opacity;
	transition: background 0.2s ease, opacity 0.3s ease;
}
.dp-arc32-hero__toggle:hover { background: rgba(255, 255, 255, 0.32); }
.dp-arc32-hero__icon { width: 22px; height: 22px; }
.dp-arc32-hero__label-pill { will-change: transform, opacity; transition: opacity 0.18s ease; }

/* Play/pause icon swap. */
.dp-arc32-hero__icon--play { display: none; }
.dp-arc32-hero__toggle.is-paused .dp-arc32-hero__icon--pause { display: none; }
.dp-arc32-hero__toggle.is-paused .dp-arc32-hero__icon--play { display: block; }

/* ---- Mobile + reduced-motion ----------------------------------
 * The pinned scroll-scale now runs at ALL widths when motion is allowed, so
 * the cabinet must be visible on mobile too (it's the scale target). Only hide
 * the cabinet when motion is disabled (no pin → static looping hero). */
@media (prefers-reduced-motion: reduce) {
	/* Higher specificity than the base `#dedicated-product.dp-page img` rule. */
	#dedicated-product.dp-page--arc32 .dp-arc32-hero__cabinet { display: none; }
	/* No pin / no scroll choreography → the JS never positions the CTA. Show it
	   statically near the bottom of the hero so it stays visible and usable. */
	#dedicated-product.dp-page--arc32 .dp-arc32-hero__cta {
		top: auto;
		bottom: clamp(24px, 6vh, 64px);
		opacity: 1;
		pointer-events: auto;
	}
}
@media (max-width: 767px) {
	#dedicated-product.dp-page--arc32 .dp-arc32-features1 {
		background: #121212;
	}
	/* Play/pause sits a bit higher on mobile (no docked sub-nav over the hero). */
	.dp-arc32-hero__toggle { top: calc(var(--renewal-main-nav-height, 5.3125rem) + 0.5rem); }
	.dp-arc32-hero__detail {
		padding-inline: 1rem;
	}
	#dedicated-product.dp-page--arc32 .dp-arc32-panel {
		padding: 22px 18px;
		border-radius: 22px;
	}
	#dedicated-product.dp-page--arc32 .dp-arc32-panel__header {
		flex-direction: column;
		align-items: flex-start;
	}
	#dedicated-product.dp-page--arc32 .dp-arc32-panel__cta {
		width: 100%;
		justify-content: center;
	}
	#dedicated-product.dp-page--arc32 .dp-arc32-panel__cta-icon {
		opacity: 1;
		transform: none;
	}
	#dedicated-product.dp-page--arc32 .dp-arc32-detail__col {
		padding: 22px 20px;
		border-radius: 20px;
	}
	#dedicated-product.dp-page--arc32 .dp-arc32-features1__header {
		flex-direction: column;
		align-items: flex-start;
	}
	/* GAMMA: Location cards keep the Features 2 shell metrics on mobile too
	   (no padding/radius reduction) — matches the Features cards 1:1. */
}

/* ====================================================================
 * Showcase ("Take a closer look") — Apple-style centered two-column grid
 * (ARC-32 variant only). Re-lays the desktop overlay into a balanced grid:
 * the pill label stack sits in the left column, vertically centred against
 * the media in the right column. The interactive engine (accordion pills,
 * variant switches, intro backdrop, nav, close) is untouched — only the
 * desktop layout box and media framing change. Scoped to .dp-page--arc32 so
 * the shared Showcase on other Dedicated Product templates is unaffected.
 * ==================================================================== */

/* 4A — Section rhythm: drop the fold-locked height cap and give the heading
 * room above the content so titles never sit flush against the panel edge. */
#dedicated-product.dp-page--arc32 .dp-showcase {
	max-height: none;
	padding: clamp(40px, 6vw, 72px) 0;
	/* Let a zoomed Default Right-Pane Media spill past the panel top/bottom. The
	 * page wrapper's overflow-x:clip still prevents any horizontal scrollbar. */
	overflow: visible;
}
#dedicated-product.dp-page--arc32 .dp-showcase__panel {
	padding: 60px clamp(32px, 5vw, 88px);
	overflow: visible;
}
/* A high-specificity mobile rule (…__panel.dp-reveal.is-in-view) re-clips the
 * panel on phones, killing the Default Right-Pane Media overspill — re-assert
 * visible (matched specificity, later in the cascade) on the ARC-32 page. */
#dedicated-product.dp-page--arc32 .dp-showcase__panel.dp-reveal,
#dedicated-product.dp-page--arc32 .dp-showcase__panel.dp-reveal.is-in-view,
#dedicated-product.dp-page--arc32 .dp-showcase__layout {
	overflow: visible;
}
#dedicated-product.dp-page--arc32 .dp-showcase__title {
	margin: 0 0 clamp(28px, 4vw, 48px);
}

/* 3f — Right-pane media is LEFT as the original context-aware overlay (compact
 * 52% vs immersive full-width, object-fit:cover). The earlier grid/contain
 * experiment zoom-clipped assets and broke the "Right-pane media layout" field,
 * so only the LEFT label stack is restyled below. */

/* 3 — Right-pane card media may overspill its rounded frame (Apple-style bleed)
 * rather than being hard-clipped to the container. The selected-card media sits
 * a touch larger than the pane and is no longer clipped; the resting default
 * media (object-fit:contain) is unaffected. */
#dedicated-product.dp-page--arc32 .dp-showcase__media {
	overflow: visible;
}
#dedicated-product.dp-page--arc32 .dp-showcase__media-host {
	top: -7%;
	bottom: -7%;
	height: auto;
}
/* #1 — Compact hardware shots (incl. swatch media) FIT the whole product so a
 * narrow source image (e.g. the 2-Player cabinet, taller/narrower than the rest)
 * frames identically to the wider ones instead of being cover-cropped/zoomed. */
#dedicated-product.dp-page--arc32 .dp-showcase__media.is-compact .dp-showcase__media-host {
	top: 0;
	bottom: 0;
}
#dedicated-product.dp-page--arc32 .dp-showcase__media.is-compact .dp-showcase__media-host > * {
	object-fit: contain;
}

@media (min-width: 1024px) {
	/* Vertically centre the floating label stack against the media pane (fixes
	 * the old top-pinning) without disturbing the media's absolute overlay. The
	 * base layout is flex-direction:column, so VERTICAL centring is
	 * justify-content (main axis); align-items + the list's margin-right:auto keep
	 * it hard LEFT (horizontal/cross axis). However many cards exist, the stack
	 * stays left-aligned and vertically centred on the left of the panel. */
	#dedicated-product.dp-page--arc32 .dp-showcase__layout {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
	}
	#dedicated-product.dp-page--arc32 .dp-showcase__list {
		margin-right: auto;
	}
}

/* 3a — Drop the thin grey outline on the pill cards in every state. */
#dedicated-product.dp-page--arc32 .dp-showcase__item,
#dedicated-product.dp-page--arc32 .dp-showcase__item.is-active {
	border-color: transparent;
}

/* 3b — More breathing room between the "+" badge and the label / description. */
#dedicated-product.dp-page--arc32 .dp-showcase__row-head {
	gap: 13px;
}

/* 3c — Keep the "+" glyph optically centred in its ring regardless of label
 * length (the glyph rides high on the baseline in some weights). */
#dedicated-product.dp-page--arc32 .dp-showcase__icon {
	line-height: 1;
	align-self: center;
}

/* 3d — Up/down chevron buttons: solid #1a1a1a discs (were transparent), parked
 * in the left gutter with clear spacing from the labels. */
#dedicated-product.dp-page--arc32 .dp-showcase__nav-btn {
	background: #1a1a1a;
}
#dedicated-product.dp-page--arc32 .dp-showcase__nav-btn:hover {
	background: #2a2a2a;
}
/* #2 — Nudge the desktop up/down chevron column a little further to the left. */
@media (min-width: 1024px) {
	#dedicated-product.dp-page--arc32 .dp-showcase__nav {
		left: -34px;
	}
}

/* 3g — Subtle, sleek label↔description transition (Apple "Take a closer look"):
 * a gentle ease with no overshoot, and the description text/switches fade in
 * after the pill opens (and fade out as it closes) rather than snapping. */
#dedicated-product.dp-page--arc32 .dp-showcase__item {
	transition: background .4s cubic-bezier(.25,.1,.25,1),
	            padding .4s cubic-bezier(.25,.1,.25,1),
	            border-radius .4s cubic-bezier(.25,.1,.25,1);
}
#dedicated-product.dp-page--arc32 .dp-showcase__body {
	transition: max-height .45s cubic-bezier(.25,.1,.25,1),
	            width .45s cubic-bezier(.25,.1,.25,1),
	            opacity .3s ease;
}
#dedicated-product.dp-page--arc32 .dp-showcase__desc,
#dedicated-product.dp-page--arc32 .dp-showcase__variants {
	opacity: 0;
	transition: opacity .3s ease;
}
#dedicated-product.dp-page--arc32 .dp-showcase__item.is-active .dp-showcase__desc,
#dedicated-product.dp-page--arc32 .dp-showcase__item.is-active .dp-showcase__variants {
	opacity: 1;
	transition: opacity .45s ease .14s;   /* fade in just after the box opens */
}

/* V153 — On phones the resting Default Right-Pane Media fits INSIDE its pane
 * like the item media cards: no right-nudge, no zoom overspill (object-fit:
 * contain does the rest). Desktop keeps the zoomed/overspilling treatment. */
@media (max-width: 768px) {
	#dedicated-product.dp-page--arc32 .dp-showcase__default-media {
		transform: none;
	}
}

/* ====================================================================
 * Cabinet Specifications (V155) — dual-pane spec engine.
 *
 * Scoped under #dedicated-product.dp-page--arc32. Background hard-locked to
 * #030303 per spec; accents from shared theme tokens (--dp-accent = brand red).
 * The view pills + Metric/Imperial toggle reuse the Showcase segmented-control
 * look (frosted pill container + sliding --dp-glass-hi indicator), scaled down.
 * Font: Montserrat first, then the theme JP stack.
 * ==================================================================== */
#dedicated-product.dp-page--arc32 .dp-cabspec,
#dedicated-product.dp-page--arc32 .dp-cabspec * {
	font-family: 'Montserrat', 'Helvetica Neue', Arial,
		"Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo,
		"Noto Sans JP", sans-serif;
}

#dedicated-product.dp-page--arc32 .dp-cabspec {
	background-color: #030303;   /* hard-locked per directive §1 */
	color: var(--dp-text);
	overflow: hidden;
}

#dedicated-product.dp-page--arc32 .dp-cabspec__inner {
	max-width: 1180px;
	margin: 0 auto;
	/* Vertical rhythm keyed to viewport height so the whole section (header +
	   both panes) fits on one screen without scrolling on desktop/tablet. */
	padding: clamp(28px, 4vh, 68px) var(--dp-margin);
}

/* ---- centred editorial header ---- */
#dedicated-product.dp-page--arc32 .dp-cabspec__editorial {
	text-align: center;
	max-width: 640px;
	margin: 0 auto clamp(20px, 3.5vh, 48px);
}
#dedicated-product.dp-page--arc32 .dp-cabspec__pretitle {
	display: block;
	font-size: clamp(0.8rem, 0.76rem + 0.2vw, 0.92rem);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.13em;
	color: var(--dp-accent);
	margin-bottom: 12px;
}
#dedicated-product.dp-page--arc32 .dp-cabspec__title {
	font-size: clamp(1.8rem, 1.5rem + 1.6vw, 2.5rem);
	font-weight: 600;
	line-height: 1.14;
	letter-spacing: -0.02em;
	color: var(--dp-text);
	margin: 0 0 12px;
	text-wrap: balance;
}
#dedicated-product.dp-page--arc32 .dp-cabspec__intro {
	font-size: clamp(1.02rem, 0.98rem + 0.2vw, 1.18rem);
	line-height: 1.55;
	color: var(--dp-muted);
	margin: 0;
}

/* ---- two-column engine ---- */
#dedicated-product.dp-page--arc32 .dp-cabspec__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	align-items: start;
}
@media (min-width: 768px) {
	#dedicated-product.dp-page--arc32 .dp-cabspec__grid {
		grid-template-columns: 56% 44%;
		gap: clamp(28px, 4vw, 56px);
	}
}

/* ---- LEFT: media pedestal + scalable pills ---- */
#dedicated-product.dp-page--arc32 .dp-cabspec__media-col {
	position: relative;
	min-width: 0;
}
#dedicated-product.dp-page--arc32 .dp-cabspec__pedestal {
	background-color: #050507;
	border: 1px solid var(--dp-border);
	border-radius: 22px;
	padding: clamp(14px, 1.6vw, 20px) clamp(14px, 1.6vw, 20px) 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	transition: background-color 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
/* All views overlap in one grid cell and cross-fade purely on OPACITY (no
   `visibility` snap → no flash) for a smooth, Apple-style transition. */
#dedicated-product.dp-page--arc32 .dp-cabspec__stage {
	display: grid;
	width: 100%;
	place-items: center;
}
#dedicated-product.dp-page--arc32 .dp-cabspec__asset {
	grid-area: 1 / 1;
	margin: 0;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
#dedicated-product.dp-page--arc32 .dp-cabspec__asset.is-active {
	opacity: 1;
	pointer-events: auto;
}
/* Large + legible: sized to roughly match the spec pane's height while keeping
   the WHOLE image visible (object-fit:contain). Height is bounded to the
   viewport so both panes stay on screen on desktop/tablet. */
#dedicated-product.dp-page--arc32 .dp-cabspec__media {
	width: 100%;
	max-height: clamp(340px, 50vh, 500px);
	height: auto;
	object-fit: contain;
	border-radius: 16px;   /* soft rounded corners on the media */
	transform: scale(calc(var(--dp-cabspec-scale, 100) / 100));
	transform-origin: center;
}

/* ---- pill switcher — Showcase segmented control, scaled down (items 2+4) ---- */
#dedicated-product.dp-page--arc32 .dp-cabspec__pills {
	position: absolute;
	bottom: 16px;
	left: 50%;
	transform: translateX(-50%);
	max-width: calc(100% - 24px);
	display: flex;
	flex-wrap: nowrap;               /* item 2: single row, never wraps */
	width: -moz-fit-content;
	width: fit-content;
	padding: 3px;
	background: rgba(28, 28, 31, 0.55);
	-webkit-backdrop-filter: blur(20px) saturate(1.3);
	backdrop-filter: blur(20px) saturate(1.3);
	border: 1px solid var(--dp-border);
	border-radius: 9999px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
#dedicated-product.dp-page--arc32 .dp-cabspec__pills::-webkit-scrollbar { display: none; }
#dedicated-product.dp-page--arc32 .dp-cabspec__pill {
	position: relative;
	z-index: 1;
	flex: 0 0 auto;
	appearance: none;
	-webkit-appearance: none;
	border: 0;
	background: transparent;
	color: var(--dp-muted);
	font-size: 0.75rem;              /* smaller than Showcase's 13–16px */
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	padding: 7px 15px;
	border-radius: 9999px;
	cursor: pointer;
	transition: color 0.3s ease;
}
#dedicated-product.dp-page--arc32 .dp-cabspec__pill:hover { color: var(--dp-text-soft); }
#dedicated-product.dp-page--arc32 .dp-cabspec__pill.is-active { color: var(--dp-text); }
#dedicated-product.dp-page--arc32 .dp-cabspec__pill:focus-visible {
	outline: 2px solid var(--dp-accent);
	outline-offset: 2px;
}
/* Sliding pill (JS sets width + translateX from the active button). */
#dedicated-product.dp-page--arc32 .dp-cabspec__pill-indicator {
	position: absolute;
	top: 3px;
	left: 0;
	width: 0;
	height: calc(100% - 6px);
	background: var(--dp-glass-hi);
	border-radius: 9999px;
	transform: translateX(0);
	transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), width 0.35s cubic-bezier(0.25, 1, 0.5, 1);
	will-change: transform, width;
	pointer-events: none;
	z-index: 0;
}

/* ---- RIGHT: spec data stack ---- */
#dedicated-product.dp-page--arc32 .dp-cabspec__data-col {
	display: flex;
	flex-direction: column;
	min-width: 0;
}
#dedicated-product.dp-page--arc32 .dp-cabspec__data-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--dp-border);
}
#dedicated-product.dp-page--arc32 .dp-cabspec__data-title {
	font-size: clamp(1rem, 0.96rem + 0.1vw, 1.12rem);
	font-weight: 500;
	color: var(--dp-muted);
	margin: 0;
	letter-spacing: -0.01em;
}
/* ---- Metric / Imperial toggle — Showcase segmented control, scaled down (item 5) ---- */
#dedicated-product.dp-page--arc32 .dp-cabspec__toggle {
	position: relative;
	display: flex;
	flex: none;
	padding: 3px;
	background: rgba(28, 28, 31, 0.55);
	-webkit-backdrop-filter: blur(20px) saturate(1.3);
	backdrop-filter: blur(20px) saturate(1.3);
	border: 1px solid var(--dp-border);
	border-radius: 9999px;
}
#dedicated-product.dp-page--arc32 .dp-cabspec__toggle-btn {
	position: relative;
	z-index: 1;
	flex: 0 0 auto;
	appearance: none;
	-webkit-appearance: none;
	border: 0;
	background: transparent;
	color: var(--dp-muted);
	font-size: 0.72rem;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	padding: 6px 14px;
	border-radius: 9999px;
	cursor: pointer;
	transition: color 0.3s ease;
}
#dedicated-product.dp-page--arc32 .dp-cabspec__toggle-btn:hover { color: var(--dp-text-soft); }
#dedicated-product.dp-page--arc32 .dp-cabspec__toggle-btn.is-active { color: var(--dp-text); }
#dedicated-product.dp-page--arc32 .dp-cabspec__toggle-btn:focus-visible {
	outline: 2px solid var(--dp-accent);
	outline-offset: 2px;
}
#dedicated-product.dp-page--arc32 .dp-cabspec__toggle-indicator {
	position: absolute;
	top: 3px;
	left: 0;
	width: 0;
	height: calc(100% - 6px);
	background: var(--dp-glass-hi);
	border-radius: 9999px;
	transform: translateX(0);
	transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), width 0.35s cubic-bezier(0.25, 1, 0.5, 1);
	will-change: transform, width;
	pointer-events: none;
	z-index: 0;
}

/* ---- groups + inline spec rows (item 6) ---- */
#dedicated-product.dp-page--arc32 .dp-cabspec__group {
	padding-top: 18px;
}
#dedicated-product.dp-page--arc32 .dp-cabspec__group--bordered {
	border-top: 1px solid var(--dp-border);
	margin-top: 6px;
}
#dedicated-product.dp-page--arc32 .dp-cabspec__group-heading {
	font-size: clamp(1rem, 0.96rem + 0.1vw, 1.12rem);
	font-weight: 500;
	color: var(--dp-muted);
	margin: 0 0 10px;
	letter-spacing: -0.01em;
}
#dedicated-product.dp-page--arc32 .dp-cabspec__items {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
/* Item 6: label (left) and value (right) share one inline row. */
#dedicated-product.dp-page--arc32 .dp-cabspec__block {
	display: flex;
	flex-direction: row;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
}
#dedicated-product.dp-page--arc32 .dp-cabspec__label {
	flex: 0 1 auto;
	min-width: 0;
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 700;
	color: var(--dp-muted);
}
#dedicated-product.dp-page--arc32 .dp-cabspec__block-val {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	text-align: right;
	min-width: 0;
}
#dedicated-product.dp-page--arc32 .dp-cabspec__value {
	font-size: clamp(1.2rem, 1rem + 0.7vw, 1.6rem);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--dp-text);
	white-space: nowrap;            /* item 6: value never wraps */
	font-variant-numeric: tabular-nums;
	transition: opacity 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}
#dedicated-product.dp-page--arc32 .dp-cabspec__value.is-swapping {
	opacity: 0.2;
}
#dedicated-product.dp-page--arc32 .dp-cabspec__subtext {
	font-size: 0.82rem;
	line-height: 1.35;
	color: var(--dp-muted);
	margin-top: 3px;
	text-align: right;
}

/* ---- stacked (mobile / small tablet portrait) ---- */
@media (max-width: 767px) {
	#dedicated-product.dp-page--arc32 .dp-cabspec__data-col {
		margin-top: 8px;
	}
	/* Stacked: let the media use natural height (both panes already flow
	   vertically), just keep it within a comfortable portion of the screen. */
	#dedicated-product.dp-page--arc32 .dp-cabspec__media {
		max-height: min(52vh, 420px);
	}
}

@media (prefers-reduced-motion: reduce) {
	#dedicated-product.dp-page--arc32 .dp-cabspec__asset,
	#dedicated-product.dp-page--arc32 .dp-cabspec__value,
	#dedicated-product.dp-page--arc32 .dp-cabspec__pedestal,
	#dedicated-product.dp-page--arc32 .dp-cabspec__pill,
	#dedicated-product.dp-page--arc32 .dp-cabspec__pill-indicator,
	#dedicated-product.dp-page--arc32 .dp-cabspec__toggle-btn,
	#dedicated-product.dp-page--arc32 .dp-cabspec__toggle-indicator {
		transition: none;
	}
}
