/* ══════════════════════════════════════════════════════════════════
   PRODUCT SHOWCASE  — premium animated section
   ══════════════════════════════════════════════════════════════════ */

.prod-showcase {
	padding: var(--s-11) 0;
	border-top: 1px solid var(--line);
}

/* ── Header ─────────────────────────────────────────────────────── */
.prod-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 48px;
	gap: 24px;
}

.prod-head-eyebrow {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.12em;
	color: var(--ink-4);
	text-transform: uppercase;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.prod-head-eyebrow span {
	font-style: italic;
	font-family: var(--font-serif);
	letter-spacing: 0;
}

.prod-title {
	font-size: clamp(36px, 4.2vw, 60px);
	font-weight: 500;
	letter-spacing: -0.03em;
	line-height: 1;
}

.prod-title em {
	font-family: var(--font-serif);
	font-style: italic;
	font-weight: 300;
	color: var(--accent);
}

.prod-all-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	color: var(--ink-3);
	text-decoration: none;
	border-bottom: 1px solid var(--line);
	padding-bottom: 3px;
	white-space: nowrap;
	flex-shrink: 0;
	transition: color var(--dur-1), border-color var(--dur-1);
	margin-bottom: 6px;
}

.prod-all-link:hover {
	color: var(--ink);
	border-color: var(--ink-3);
}

/* ── Stage ───────────────────────────────────────────────────────── */
.prod-stage {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	border: 1px solid var(--line);
	min-height: 480px;
}

/* ── Visual card — dark left ─────────────────────────────────────── */
.prod-visual {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	padding: 28px 32px 28px;
	aspect-ratio: 4 / 3;
	cursor: default;
	transform-style: preserve-3d;
	transition: transform 0.12s ease-out;
	will-change: transform;
}

.prod-vis-top {
	display: flex;
	align-items: center;
	gap: 18px;
	position: relative;
	z-index: 2;
}

.prod-vis-code {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.prod-vis-sep {
	width: 28px;
	height: 1px;
	background: var(--line);
}

.prod-vis-tag {
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.1em;
	color: var(--accent-2);
	text-transform: uppercase;
}

/* Product image */
.prod-vis-img {
	flex: 1;
	max-height: 80%;
	width: auto;
	margin: auto;
	object-fit: contain;
	display: block;
	position: relative;
	z-index: 2;
}

@keyframes prod-img-swap {
	0% {
		opacity: 1;
		transform: scale(1) translateY(0);
	}

	40% {
		opacity: 0;
		transform: scale(1) translateY(5px);
	}

	60% {
		opacity: 0;
		transform: scale(1) translateY(5px);
	}

	100% {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

.prod-vis-img.is-switching {
	animation: prod-img-swap 0.3s cubic-bezier(0.8, 0, 0.8, 1);
}

.prod-vis-bottom {
	position: relative;
	z-index: 2;
}

.prod-vis-hint {
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.14em;
	color: rgba(255, 255, 255, 0.28);
	text-transform: uppercase;
	user-select: none;
}

/* Radial glow */
.prod-glow {
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 60% 90% at 50% 58%, rgba(122, 26, 26, 0.2) 0%, transparent 60%);
	pointer-events: none;
	z-index: 1;
}

/* ── Info panel — light right ────────────────────────────────────── */
.prod-info {
	border-left: 1px solid var(--line);
	display: flex;
	flex-direction: column;
	padding: 48px 52px;
	gap: 0;
}

.prod-info-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	transition: opacity 0.22s ease, transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.prod-info-body.is-out {
	opacity: 0;
	transform: translateY(10px);
}

.prod-name {
	font-size: clamp(28px, 3.2vw, 50px);
	font-weight: 500;
	letter-spacing: -0.025em;
	line-height: 1.05;
	color: var(--ink);
}

.prod-desc {
	margin-top: 16px;
	font-size: 15px;
	color: var(--ink-3);
	line-height: 1.6;
}

.prod-specs {
	margin-top: 40px;
	border-top: 1px solid var(--line);
}

.prod-spec-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 0;
	border-bottom: 1px solid var(--line);
	opacity: 1;
	transform: translateX(0);
	transition: opacity 0.2s ease, transform 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.prod-info-body.is-out .prod-spec-row {
	opacity: 0;
	transform: translateX(10px);
}

.prod-spec-row:nth-child(2) {
	transition-delay: 0.03s;
}

.prod-spec-row:nth-child(3) {
	transition-delay: 0.06s;
}

.prod-spec-label {
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.1em;
	color: var(--ink-4);
	text-transform: uppercase;
}

.prod-spec-value {
	font-size: 16px;
	font-weight: 500;
	letter-spacing: -0.01em;
	color: var(--ink);
	font-variant-numeric: tabular-nums;
}

.prod-actions {
	margin-top: 48px;
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

/* ── Bottom tab selector ─────────────────────────────────────────── */
.prod-tabs-wrap {
	position: relative;
	border: 1px solid var(--line);
	border-top: none;
	overflow: hidden;
}

.prod-tabs {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}

.prod-tab-btn {
	padding: 22px 28px;
	border: none;
	border-right: 1px solid var(--line);
	cursor: pointer;
	background: transparent;
	text-align: left;
	transition: background 0.25s ease;
	position: relative;
	overflow: hidden;
}

.prod-tab-btn:last-child {
	border-right: none;
}

/* Animated bottom accent line */
.prod-tab-btn::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.prod-tab-btn.is-active::after {
	transform: scaleX(1);
}

.prod-tab-btn:not(.is-active):hover {
	background: var(--bg-2);
}

.prod-tab-btn.is-active {
	background: var(--ink);
}

.prod-tab-code {
	display: block;
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-4);
	margin-bottom: 8px;
	transition: color 0.25s;
}

.prod-tab-btn.is-active .prod-tab-code {
	color: rgba(255, 255, 255, 0.4);
}

.prod-tab-name {
	display: block;
	font-size: 20px;
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.1;
	color: var(--ink);
	transition: color 0.25s;
}

.prod-tab-btn.is-active .prod-tab-name {
	color: #f1ede5;
}

.prod-showcase .eyebrow {
	margin-bottom: 24px;
	margin-left: 5px;
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1330px) {
	.prod-visual {
		aspect-ratio: auto;
	}
}

@media (max-width: 1024px) {
	.prod-info {
		padding: 40px 36px;
	}
	.prod-visual {
		min-height: 320px;
	}
}

@media (max-width: 860px) {
	.prod-stage {
		grid-template-columns: 1fr;
	}

	.prod-visual {
		min-height: 320px;
		aspect-ratio: 4 / 3;
	}

	.prod-info {
		border-left: none;
		border-top: 1px solid var(--line);
		padding: 36px 28px;
	}

	.prod-tabs {
		grid-template-columns: repeat(2, 1fr);
	}

	.prod-tab-btn:nth-child(2) {
		border-right: none;
	}

	.prod-tab-btn:nth-child(3) {
		border-right: 1px solid var(--line);
		border-top: 1px solid var(--line);
	}

	.prod-tab-btn:nth-child(4) {
		border-right: none;
		border-top: 1px solid var(--line);
	}
}

@media (max-width: 560px) {
	.prod-tabs {
		grid-template-columns: repeat(4, 1fr);
	}

	.prod-showcase .container {
		display: flex;
		flex-direction: column;
	}

	.prod-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.prod-stage {
		display: contents;
		border: none;
		min-height: auto;
	}

	.prod-visual {
		order: 1;
		border: 1px solid var(--line);
		border-bottom: none;
		min-height: 0;
	}

	.prod-tabs-wrap {
		order: 2;
		border: 1px solid var(--line);
		border-top: none;
		border-bottom: none;
	}

	.prod-info {
		order: 3;
		border: 1px solid var(--line);
		border-top: none;
		padding: 28px 20px;
	}

	.prod-actions {
		margin-top: 30px;
		gap: 8px;
		flex-direction: column;
	}

	.prod-actions .btn {
		text-align: center;
		justify-content: center;
		flex: 1;
		padding: 12px 10px;
		font-size: 14px;
		white-space: nowrap;
	}

	.prod-vis-img {
		max-height: 65%;
		margin-top: 10%;
	}

	.prod-name {
		font-size: 24px;
	}

	.prod-desc {
		margin-top: 10px;
		font-size: 14px;
	}

	.prod-specs { margin-top: 20px; }
	.prod-spec-row { padding: 10px 0; }

	.prod-tab-btn {
		padding: 10px 10px;
	}

	.prod-tab-btn .prod-tab-name {
		font-size: 14px;
	}

	.prod-tab-code {
		display: none;
	}
}