/* DCC Night. Shop keeps the ink glass treatment. Night screens are the scroll scene. */

:root {
	--dcc-ink: #07090d;
	--dcc-text: #e7eef6;
	--dcc-ice: #9fd7ff;
	--dcc-mint: #7eefc8;
	--dcc-line: rgba(159, 215, 255, 0.22);
}

body {
	background-color: var(--dcc-ink);
	color: var(--dcc-text);
}

body:not(.dcc-screen) a {
	text-underline-offset: 0.15em;
}

.woocommerce ul.products li.product,
.woocommerce div.product,
.woocommerce-cart .cart-collaterals,
.woocommerce-checkout #order_review,
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
	background: rgba(20, 26, 34, 0.72);
	border: 1px solid var(--dcc-line);
	border-radius: 16px;
	color: var(--dcc-text);
}

.woocommerce ul.products li.product {
	padding: 0.75rem;
	box-sizing: border-box;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce div.product .product_title,
.woocommerce div.product p.price,
.woocommerce table.shop_table,
.woocommerce-breadcrumb,
.woocommerce-breadcrumb a {
	color: var(--dcc-text);
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	background: #1c2633;
	color: var(--dcc-text);
	border: 1px solid var(--dcc-line);
	border-radius: 999px;
}

/* ---------- Night screens ---------- */
body.dcc-screen {
	margin: 0;
	background: #07090d;
	color: #e7eef6;
	overflow-x: hidden;
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	-webkit-font-smoothing: antialiased;
}
body.dcc-screen *,
body.dcc-screen *::before,
body.dcc-screen *::after { box-sizing: border-box; }
html:has(body.dcc-screen) { background: #07090d; overflow-x: hidden; scroll-behavior: auto; }

.dcc-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 50;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px clamp(14px, 4vw, 40px);
	padding-top: max(14px, env(safe-area-inset-top));
	background: linear-gradient(to bottom, rgba(7,9,13,0.85), rgba(7,9,13,0));
}
.admin-bar .dcc-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .dcc-header { top: 46px; } }
.dcc-brand {
	color: #fff;
	text-decoration: none;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-size: 13px;
	white-space: nowrap;
}
.dcc-nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.dcc-nav a {
	color: #cfe6f7;
	text-decoration: none;
	font-size: 14px;
	padding: 8px 12px;
	border-radius: 999px;
	border: 1px solid transparent;
}
.dcc-nav a:hover,
.dcc-nav a:focus-visible { border-color: rgba(159,215,255,0.4); color: #fff; }
.dcc-nav a[aria-current="page"] { background: rgba(159,215,255,0.12); border-color: rgba(159,215,255,0.3); }
@media (max-width: 480px) {
	.dcc-brand { font-size: 11px; }
	.dcc-nav a { padding: 7px 8px; font-size: 13px; }
}

.dcc-world { position: relative; width: 100%; max-width: 100%; overflow-x: clip; }

.dcc-canvas {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	height: 100lvh;
	z-index: 0;
	display: block;
	background: #07090d;
	pointer-events: none;
}
.dcc-rail { height: 900vh; width: 1px; }

.dcc-cards { position: relative; z-index: 10; }

.dcc-card {
	position: fixed;
	left: clamp(12px, 5vw, 64px);
	top: 50%;
	width: min(440px, calc(100% - 24px));
	max-width: calc(100% - 24px);
	max-height: calc(100vh - 120px);
	overflow-y: auto;
	overflow-x: hidden;
	padding: 22px 22px 20px;
	border-radius: 18px;
	background: linear-gradient(160deg, rgba(20,26,36,0.72), rgba(9,12,18,0.82));
	border: 1px solid rgba(159,215,255,0.18);
	box-shadow: 0 30px 80px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.06);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate3d(0, -50%, 0) scale(0.97);
	transition: opacity .5s ease, transform .6s cubic-bezier(.2,.7,.2,1), visibility 0s linear .5s;
	will-change: opacity, transform;
}
.dcc-card.is-on {
	opacity: 1;
	visibility: visible;
	pointer-events: none;
	transform: translate3d(0, -50%, 0) scale(1);
	transition: opacity .5s ease, transform .6s cubic-bezier(.2,.7,.2,1), visibility 0s;
}
.dcc-card.is-on a,
.dcc-card.is-on button,
.dcc-card.is-on input,
.dcc-card.is-on textarea,
.dcc-card.is-on select,
.dcc-card.is-on label,
.dcc-card.is-on iframe,
.dcc-card-kit.is-on,
.dcc-card-video.is-on {
	pointer-events: auto;
}
.dcc-card-right { left: auto; right: clamp(12px, 5vw, 64px); }
.dcc-card-video { width: min(640px, calc(100% - 24px)); left: 50%; transform: translate3d(-50%, -50%, 0) scale(.97); }
.dcc-card-video.is-on { transform: translate3d(-50%, -50%, 0) scale(1); }
.dcc-card-kit { width: min(560px, calc(100% - 24px)); left: 50%; transform: translate3d(-50%, -50%, 0) scale(.97); overflow-x: auto; }
.dcc-card-kit.is-on { transform: translate3d(-50%, -50%, 0) scale(1); }
.dcc-card-intro { background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; top: auto; bottom: 8vh; transform: none; }
.dcc-card-intro.is-on { transform: none; }
.dcc-card-end { top: auto; bottom: 4vh; left: 50%; transform: translate3d(-50%,0,0); text-align: center; background: rgba(7,9,13,0.6); }
.dcc-card-end.is-on { transform: translate3d(-50%,0,0); }

@media (max-width: 760px) {
	.dcc-card, .dcc-card-right {
		left: 12px; right: 12px; width: auto;
		top: auto; bottom: 14px;
		transform: translate3d(0, 12px, 0);
		max-height: 62vh;
	}
	.dcc-card.is-on, .dcc-card-right.is-on { transform: none; }
	.dcc-card-right { bottom: auto; top: 76px; }
	.dcc-card-video, .dcc-card-kit, .dcc-card-end { left: 12px; right: 12px; width: auto; transform: translate3d(0,12px,0); }
	.dcc-card-video.is-on, .dcc-card-kit.is-on, .dcc-card-end.is-on { transform: none; }
	.dcc-card-video, .dcc-card-kit { top: 76px; bottom: auto; max-height: calc(100dvh - 150px); }
}

.dcc-kicker { margin: 0 0 6px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: #7eefc8; }
.dcc-card h2 { margin: 0 0 14px; font-size: clamp(22px, 3vw, 30px); line-height: 1.1; color: #fff; font-weight: 700; overflow-wrap: anywhere; }
.dcc-title { margin: 0 0 8px; font-size: clamp(30px, 6vw, 64px); letter-spacing: .04em; text-transform: uppercase; color: #fff; text-shadow: 0 0 30px rgba(159,215,255,.35); }
.dcc-card p { margin: 0 0 10px; line-height: 1.5; color: #c9d6e2; }
.dcc-small { font-size: 12px; color: #7f8ea0 !important; }

.dcc-btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 44px; padding: 10px 18px;
	border-radius: 999px;
	color: #eaf6ff; text-decoration: none; font-weight: 600; font-size: 14px;
	background: rgba(159,215,255,0.08);
	border: 1px solid rgba(159,215,255,0.35);
	transition: background .25s, border-color .25s, box-shadow .25s;
}
.dcc-btn:hover, .dcc-btn:focus-visible { background: rgba(159,215,255,0.18); border-color: #9fd7ff; box-shadow: 0 0 24px rgba(159,215,255,.25); }
.dcc-btn-main { background: rgba(126,239,200,0.16); border-color: rgba(126,239,200,0.55); color: #effff9; }
.dcc-btn-main:hover, .dcc-btn-main:focus-visible { background: rgba(126,239,200,0.3); border-color: #7eefc8; }
.dcc-link { color: #b7a6ff; text-underline-offset: 3px; }
.dcc-link:hover { color: #fff; }

.dcc-stores { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.dcc-stores .dcc-btn { width: 100%; }

.dcc-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; margin-bottom: 12px; }
.dcc-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.dcc-kit { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dcc-kit form, .dcc-kit .formkit-form { max-width: 100% !important; min-width: 0 !important; margin: 0 auto; }

.dcc-endnav { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 8px; }
.dcc-endnav a { color: #cfe6f7; text-decoration: none; padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(159,215,255,.2); }

/* ---------- Static fallback (reduced motion / no WebGL) ---------- */
.dcc-world.dcc-static .dcc-canvas,
.dcc-world.dcc-static .dcc-rail { display: none; }
.dcc-world.dcc-static .dcc-cards {
	padding: 96px 12px 40px;
	display: flex; flex-direction: column; gap: 18px; align-items: center;
}
.dcc-world.dcc-static .dcc-card,
.dcc-world.dcc-static .dcc-card-right,
.dcc-world.dcc-static .dcc-card-video,
.dcc-world.dcc-static .dcc-card-kit,
.dcc-world.dcc-static .dcc-card-end,
.dcc-world.dcc-static .dcc-card-intro {
	position: static;
	opacity: 1; visibility: visible; pointer-events: auto;
	transform: none; transition: none;
	width: 100%; max-width: 640px; max-height: none;
	left: auto; right: auto; top: auto; bottom: auto;
}
.dcc-world.dcc-static .dcc-card-intro { text-align: center; }

@media (prefers-reduced-motion: reduce) {
	.dcc-canvas,
	.dcc-rail { display: none !important; }
	.dcc-cards {
		padding: 96px 12px 40px;
		display: flex;
		flex-direction: column;
		gap: 18px;
		align-items: center;
	}
	.dcc-card,
	.dcc-card-right,
	.dcc-card-video,
	.dcc-card-kit,
	.dcc-card-end,
	.dcc-card-intro {
		position: static !important;
		opacity: 1 !important;
		visibility: visible !important;
		pointer-events: auto !important;
		transform: none !important;
		transition: none !important;
		width: 100%;
		max-width: 640px;
		max-height: none;
		left: auto;
		right: auto;
		top: auto;
		bottom: auto;
	}
}

/* ---------- Loader (covers the corridor until scroll can move the camera) ---------- */
html.dcc-loading,
html.dcc-loading body {
	overflow: hidden;
	height: 100%;
	background: #07090d;
}

#dcc-loader.dcc-loader {
	position: fixed;
	inset: 0;
	z-index: 240;
	background: #07090d;
	color: #e7eef6;
	font-family: Inter, system-ui, sans-serif;
	display: grid;
	place-items: center;
	overflow: hidden;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	touch-action: none;
	overscroll-behavior: none;
	transition: opacity .6s ease, visibility 0s linear .6s;
}
#dcc-loader.dcc-loader-hide {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}
.dcc-loader__hall {
	position: absolute;
	inset: 0;
	perspective: 700px;
	pointer-events: none;
}
.dcc-loader__door {
	position: absolute;
	left: 50%;
	top: 22%;
	width: 150px;
	height: 240px;
	transform: translateX(-50%);
	border-radius: 6px 6px 0 0;
	background: linear-gradient(180deg, rgba(159,215,255,.10), rgba(183,166,255,.05));
	box-shadow: 0 0 0 1px rgba(159,215,255,.25), 0 0 40px rgba(159,215,255,.12), inset 0 0 30px rgba(183,166,255,.12);
}
.dcc-loader__wall {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 38%;
	background:
		linear-gradient(90deg, rgba(183,166,255,.07), transparent 70%),
		repeating-linear-gradient(180deg, transparent 0 58px, rgba(159,215,255,.06) 58px 60px);
}
.dcc-loader__wall--l { left: 0; transform-origin: left center; transform: rotateY(55deg); }
.dcc-loader__wall--r { right: 0; transform-origin: right center; transform: rotateY(-55deg) scaleX(-1); }
.dcc-loader__floor {
	position: absolute;
	left: -20%;
	right: -20%;
	bottom: 0;
	height: 45%;
	transform-origin: bottom center;
	transform: rotateX(70deg);
	background:
		radial-gradient(ellipse at 50% 0, rgba(126,239,200,.12), transparent 60%),
		repeating-linear-gradient(90deg, transparent 0 80px, rgba(159,215,255,.05) 80px 81px);
}
.dcc-loader__vignette {
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 50% 45%, transparent 30%, rgba(7,9,13,.85) 80%, #07090d);
}
.dcc-loader__stage {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 24px;
	max-width: 36rem;
}
.dcc-peng {
	position: relative;
	width: 96px;
	height: 132px;
	margin-bottom: 28px;
	transform-origin: 50% 100%;
	animation: dcc-lean 6s ease-in-out infinite;
}
.dcc-peng::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -10px;
	width: 90px;
	height: 12px;
	transform: translateX(-50%);
	border-radius: 50%;
	background: radial-gradient(rgba(126,239,200,.22), transparent 70%);
}
.dcc-peng__jacket {
	position: absolute;
	left: 12px;
	bottom: 0;
	width: 72px;
	height: 78px;
	border-radius: 30px 30px 14px 14px;
	background: linear-gradient(160deg, #1a1d24, #0b0d12 60%);
	box-shadow: inset 0 0 0 1px rgba(159,215,255,.14), inset 6px 4px 10px rgba(255,255,255,.06), 0 0 18px rgba(183,166,255,.12);
}
.dcc-peng__jacket::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 6px;
	width: 2px;
	height: 66px;
	transform: translateX(-50%);
	background: rgba(159,215,255,.25);
}
.dcc-peng__jacket::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 0;
	width: 26px;
	height: 22px;
	transform: translateX(-50%);
	background:
		linear-gradient(135deg, transparent 45%, #22262e 46%) left / 50% 100% no-repeat,
		linear-gradient(225deg, transparent 45%, #22262e 46%) right / 50% 100% no-repeat;
}
.dcc-peng__head {
	position: absolute;
	left: 18px;
	top: 6px;
	width: 60px;
	height: 58px;
	border-radius: 50%;
	background: radial-gradient(circle at 40% 35%, #fff, #dfe8f0);
	box-shadow: 0 0 16px rgba(159,215,255,.18);
}
.dcc-peng__visor {
	position: absolute;
	left: 8px;
	top: 16px;
	width: 44px;
	height: 14px;
	border-radius: 8px;
	background: linear-gradient(90deg, #0b0e14, #151a24);
	box-shadow: inset 0 1px 0 rgba(159,215,255,.4), 0 0 8px rgba(126,239,200,.25);
}
.dcc-peng__beak {
	position: absolute;
	left: 50%;
	top: 34px;
	width: 0;
	height: 0;
	transform: translateX(-50%);
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-top: 10px solid #f4c430;
}
.dcc-peng__band {
	position: absolute;
	left: 12px;
	top: 0;
	width: 72px;
	height: 40px;
	border: 5px solid #c8d0d8;
	border-bottom: none;
	border-radius: 40px 40px 0 0;
	box-sizing: border-box;
}
.dcc-peng__cup {
	position: absolute;
	top: 26px;
	width: 14px;
	height: 24px;
	border-radius: 7px;
	background: linear-gradient(180deg, #e2e8ee, #9aa4ae);
	box-shadow: 0 0 8px rgba(159,215,255,.3);
}
.dcc-peng__cup--l { left: 8px; }
.dcc-peng__cup--r { right: 8px; }
.dcc-loader__brand {
	margin: 0 0 10px;
	font-size: .8rem;
	letter-spacing: .32em;
	text-transform: uppercase;
	color: #9fd7ff;
	text-shadow: 0 0 12px rgba(159,215,255,.35);
}
.dcc-loader__msg {
	margin: 0 0 6px;
	font-size: 1.05rem;
	font-weight: 500;
	line-height: 1.5;
}
.dcc-loader__sub {
	margin: 0;
	font-size: .9rem;
	line-height: 1.5;
	color: rgba(231,238,246,.65);
}
.dcc-loader__steps {
	display: flex;
	gap: 10px;
	margin-top: 26px;
}
.dcc-loader__steps span {
	width: 28px;
	height: 3px;
	border-radius: 2px;
	background: rgba(159,215,255,.25);
	box-shadow: 0 0 8px rgba(159,215,255,.2);
	animation: dcc-glow 4.5s ease-in-out infinite;
}
.dcc-loader__steps span:nth-child(2) { background: rgba(126,239,200,.25); animation-delay: 1.5s; }
.dcc-loader__steps span:nth-child(3) { background: rgba(183,166,255,.25); animation-delay: 3s; }
@keyframes dcc-lean {
	0%, 100% { transform: rotate(-1.5deg) translateY(0); }
	50% { transform: rotate(1.5deg) translateY(-2px); }
}
@keyframes dcc-glow {
	0%, 100% { box-shadow: 0 0 6px rgba(159,215,255,.15); }
	50% { box-shadow: 0 0 14px rgba(126,239,200,.4); }
}
@media (prefers-reduced-motion: reduce) {
	.dcc-peng,
	.dcc-loader__steps span { animation: none; }
	.dcc-peng { transform: none; }
	#dcc-loader.dcc-loader { transition: none; }
}
