/* ==========================================================================
   GUX — design system
   Dark storefront for digital design assets.
   Order: font, tokens, base, atmosphere, layout, type, controls, header,
   hero, sections, cards, footer, WooCommerce, responsive, motion.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Font
   Archivo variable — one family, two axes. Width carries the display voice,
   weight carries hierarchy, so the whole site runs on a single face.
   -------------------------------------------------------------------------- */

@font-face {
	font-family: 'Archivo';
	src: url('../fonts/archivo-latin.woff2') format('woff2');
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
		U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
		U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Archivo';
	src: url('../fonts/archivo-latin-ext.woff2') format('woff2');
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
		U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
		U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */

:root {
	/* Ground — cooled toward blue so the accent reads as native light,
	   not as a colour applied on top of neutral grey. */
	--ink-000: #06070a;
	--ink-050: #0a0c11;
	--ink-100: #10131a;
	--ink-150: #161a23;
	--ink-200: #1d222d;
	--ink-250: #262c39;

	--line: rgba(255, 255, 255, 0.08);
	--line-soft: rgba(255, 255, 255, 0.05);
	--line-strong: rgba(255, 255, 255, 0.14);

	/* Text — verified against --ink-000 and --ink-100. */
	--text-hi: #f2f4f8;   /* 18.4:1 on ink-000 */
	--text-mid: #a8b0be;  /* 8.3:1  on ink-000 */
	--text-low: #7e8798;  /* 4.8:1  on ink-000 */

	/* Accent. Blue-500 is the button ground and is held dark enough that white
	   label text clears 4.5:1 on it (5.04:1) — the brighter #2e6bff misses at
	   4.46:1. Blue-300 is the text-safe tint for links on the dark ground,
	   because blue-500 as small text would fall under the floor. */
	--blue-700: #102b73;
	--blue-600: #1f4ac9;
	--blue-500: #2a62f2;  /* white on this: 5.04:1 */
	--blue-400: #5a8cff;
	--blue-300: #8fb0ff;  /* 9.4:1 on ink-000 */
	--blue-200: #bccdff;

	--violet-500: #6d5cff;
	--cyan-400: #3fd8e8;

	--focus: #8fb0ff;

	/* The system's one semantic colour: failed validation and WooCommerce
	   errors. Deliberately the only warm hue in the interface. */
	--danger: #ff6b6b;
	--danger-line: rgba(255, 107, 107, 0.42);
	--danger-fill: rgba(255, 107, 107, 0.1);

	/* Depth. Every shadow carries an offset and a blur — the close pair reads
	   as contact, the far pair as the room behind the card. */
	--shadow-card: 0 2px 4px rgba(0, 0, 0, 0.4), 0 14px 34px rgba(0, 0, 0, 0.45);
	--shadow-lift: 0 8px 18px rgba(0, 0, 0, 0.45), 0 34px 70px rgba(0, 0, 0, 0.55);
	--shadow-nav: 0 1px 2px rgba(0, 0, 0, 0.5), 0 16px 40px rgba(0, 0, 0, 0.4);
	/* The only upward shadow: for surfaces anchored to the bottom edge. */
	--shadow-bar: 0 -2px 4px rgba(0, 0, 0, 0.3), 0 -20px 50px rgba(0, 0, 0, 0.45);
	--shadow-accent: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 26px rgba(42, 98, 242, 0.32);
	--shadow-accent-hover: 0 2px 4px rgba(0, 0, 0, 0.4), 0 14px 36px rgba(42, 98, 242, 0.44);

	--radius-xs: 6px;
	--radius-sm: 8px;
	--radius: 12px;
	--radius-lg: 18px;
	--radius-xl: 26px;
	--radius-pill: 999px;

	/* Type ramp. Display, headline, title and lede carry their own clamps in
	   the typography section; these are the fixed interface steps, named so
	   the ramp is auditable instead of scattered as literals. */
	--type-subhead: clamp(1.4rem, 2.2vw, 1.9rem);
	--type-lede: clamp(1.0625rem, 1.35vw, 1.25rem);
	--type-ptitle: clamp(1.9rem, 3.4vw, 2.9rem);
	--type-ghost: clamp(6rem, 17vw, 15rem);
	--type-price: 1.5rem;
	--type-ui: 0.9375rem;
	--type-ui-small: 0.875rem;
	--type-fine: 0.8125rem;
	--type-micro: 0.625rem;

	/* One spacing rhythm, used everywhere. */
	--sp-1: 0.25rem;
	--sp-2: 0.5rem;
	--sp-3: 0.75rem;
	--sp-4: 1rem;
	--sp-5: 1.5rem;
	--sp-6: 2rem;
	--sp-7: 3rem;
	--sp-8: 4rem;
	--sp-9: 6rem;
	--sp-10: 8rem;

	--shell: 1360px;
	--shell-pad: clamp(1.25rem, 4vw, 3rem);
	--header-h: 72px;

	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
	--dur-fast: 140ms;
	--dur: 220ms;
	--dur-slow: 460ms;

	--grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   3. Base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scrollbar-color: var(--ink-250) var(--ink-000);
}

body.gux {
	margin: 0;
	background-color: var(--ink-000);
	color: var(--text-hi);
	font-family: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
	font-size: 1rem;
	line-height: 1.6;
	font-variation-settings: 'wdth' 100;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--blue-300);
	text-decoration: none;
	transition: color var(--dur-fast) var(--ease-out);
}

a:hover {
	color: var(--blue-200);
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

:focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: 3px;
	border-radius: var(--radius-sm);
}

::selection {
	background: var(--blue-500);
	color: #fff;
}

.gux-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.gux-skip {
	position: absolute;
	top: -100px;
	left: var(--sp-4);
	z-index: 200;
	padding: var(--sp-3) var(--sp-5);
	background: var(--blue-500);
	color: #fff;
	border-radius: var(--radius);
	font-weight: 600;
	transition: top var(--dur) var(--ease-out);
}

.gux-skip:focus {
	top: var(--sp-4);
	color: #fff;
}

/* --------------------------------------------------------------------------
   4. Atmosphere
   Fixed behind everything: three slow light fields, a structural lattice,
   and grain. The grain is what keeps the gradients reading as lit air rather
   than as blurred CSS.
   -------------------------------------------------------------------------- */

.gux-atmos {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
	contain: strict;
}

.gux-atmos__field {
	position: absolute;
	border-radius: 50%;
	will-change: transform;
}

.gux-atmos__field--a {
	top: -30vh;
	left: -10vw;
	width: 90vw;
	height: 90vw;
	background: radial-gradient(circle at 50% 50%, rgba(42, 98, 242, 0.28), rgba(42, 98, 242, 0.09) 42%, transparent 68%);
	animation: gux-drift-a 68s var(--ease-in-out) infinite;
}

.gux-atmos__field--b {
	top: 10vh;
	right: -25vw;
	width: 78vw;
	height: 78vw;
	background: radial-gradient(circle at 50% 50%, rgba(109, 92, 255, 0.22), rgba(109, 92, 255, 0.07) 45%, transparent 70%);
	animation: gux-drift-b 84s var(--ease-in-out) infinite;
}

.gux-atmos__field--c {
	bottom: -40vh;
	left: 25vw;
	width: 70vw;
	height: 70vw;
	background: radial-gradient(circle at 50% 50%, rgba(63, 216, 232, 0.14), rgba(63, 216, 232, 0.04) 45%, transparent 70%);
	animation: gux-drift-c 96s var(--ease-in-out) infinite;
}

.gux-atmos__lattice {
	position: absolute;
	inset: 0;
	background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.5) 0.5px, transparent 0.5px);
	background-size: 28px 28px;
	opacity: 0.13;
	-webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 0%, transparent 75%);
	mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 0%, transparent 75%);
}

.gux-atmos__grain {
	position: absolute;
	inset: 0;
	background-image: var(--grain);
	background-repeat: repeat;
	opacity: 0.16;
	mix-blend-mode: overlay;
}

.gux-atmos__vignette {
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 120% 80% at 50% 30%, transparent 40%, rgba(6, 7, 10, 0.75) 100%);
}

@keyframes gux-drift-a {
	0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
	33% { transform: translate3d(12vw, 8vh, 0) scale(1.12); }
	66% { transform: translate3d(-6vw, 16vh, 0) scale(0.94); }
}

@keyframes gux-drift-b {
	0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
	40% { transform: translate3d(-16vw, 14vh, 0) scale(1.08); }
	70% { transform: translate3d(-4vw, -8vh, 0) scale(0.92); }
}

@keyframes gux-drift-c {
	0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
	50% { transform: translate3d(14vw, -12vh, 0) scale(1.15); }
}

/* --------------------------------------------------------------------------
   5. Layout
   -------------------------------------------------------------------------- */

.gux-page {
	position: relative;
	z-index: 1;
}

.gux-shell {
	width: 100%;
	max-width: var(--shell);
	margin-inline: auto;
	padding-inline: var(--shell-pad);
}

.gux-section {
	padding-block: clamp(var(--sp-8), 9vw, var(--sp-10));
}

.gux-section--tight {
	padding-block: clamp(var(--sp-7), 6vw, var(--sp-9));
}

/* Section head: the heading stands on its own with the browse-all action
   beside it. No label sits above it. */
.gux-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--sp-5);
	margin-bottom: var(--sp-6);
	flex-wrap: wrap;
}

/* Grows to fill the row so a two-word heading never wraps mid-phrase just
   because the action beside it reserved space. */
.gux-head__text {
	flex: 1 1 22ch;
	min-width: 0;
	max-width: 52ch;
}

.gux-head__title {
	margin: 0;
}

.gux-head__sub {
	margin: var(--sp-3) 0 0;
	color: var(--text-mid);
	font-size: 1rem;
	max-width: 52ch;
}

/* --------------------------------------------------------------------------
   6. Type
   -------------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 var(--sp-4);
	color: var(--text-hi);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

.gux-display {
	font-size: clamp(2.75rem, 6.4vw, 5.5rem);
	font-weight: 700;
	font-variation-settings: 'wdth' 112;
	line-height: 0.96;
	letter-spacing: -0.035em;
	text-wrap: balance;
	margin: 0;
}

.gux-h2 {
	font-size: clamp(1.75rem, 3.2vw, 2.6rem);
	font-variation-settings: 'wdth' 108;
	letter-spacing: -0.03em;
	line-height: 1.05;
}

.gux-h3 {
	font-size: clamp(1.125rem, 1.6vw, 1.375rem);
	letter-spacing: -0.02em;
}

.gux-lede {
	font-size: var(--type-lede);
	line-height: 1.55;
	color: var(--text-mid);
	max-width: 52ch;
	margin: 0;
}

.gux-prose {
	max-width: 68ch;
	color: var(--text-mid);
}

.gux-prose h2,
.gux-prose h3 {
	margin-top: var(--sp-7);
	margin-bottom: var(--sp-3);
	color: var(--text-hi);
}

.gux-prose p {
	margin: 0 0 var(--sp-4);
}

/* Meta labels. Used on data — formats, counts, categories — never as a
   kicker above a heading. */
.gux-meta {
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	color: var(--text-low);
	font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   7. Controls
   -------------------------------------------------------------------------- */

.gux-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--sp-2);
	padding: 0.8125rem 1.5rem;
	border: 1px solid transparent;
	border-radius: var(--radius);
	font-size: var(--type-ui);
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.2;
	cursor: pointer;
	white-space: nowrap;
	transition:
		background-color var(--dur) var(--ease-out),
		border-color var(--dur) var(--ease-out),
		color var(--dur) var(--ease-out),
		box-shadow var(--dur) var(--ease-out),
		transform var(--dur-fast) var(--ease-out);
}

.gux-btn:active {
	transform: translateY(1px);
}

.gux-btn--primary {
	background: var(--blue-500);
	color: #fff;
	box-shadow: var(--shadow-accent);
}

.gux-btn--primary:hover {
	background: var(--blue-400);
	color: #fff;
	box-shadow: var(--shadow-accent-hover);
}

.gux-btn--ghost {
	background: rgba(255, 255, 255, 0.04);
	border-color: var(--line-strong);
	color: var(--text-hi);
}

.gux-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.22);
	color: var(--text-hi);
}

.gux-btn--lg {
	padding: 1rem 1.875rem;
	font-size: 1rem;
	border-radius: var(--radius-lg);
}

.gux-btn[disabled],
.gux-btn[aria-disabled='true'] {
	opacity: 0.45;
	cursor: not-allowed;
	box-shadow: none;
	transform: none;
}

/* Text action with a travelling arrow — the one link idiom the site reuses. */
.gux-link {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-2);
	color: var(--text-hi);
	font-weight: 600;
	font-size: var(--type-ui);
}

.gux-link svg {
	transition: transform var(--dur) var(--ease-out);
}

.gux-link:hover {
	color: var(--blue-300);
}

.gux-link:hover svg {
	transform: translateX(4px);
}

.gux-input {
	width: 100%;
	padding: 0.8125rem 1rem;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--text-hi);
	transition: border-color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}

.gux-input::placeholder {
	color: var(--text-low);
}

.gux-input:hover {
	border-color: var(--line-strong);
}

.gux-input:focus {
	outline: none;
	border-color: var(--blue-500);
	background: rgba(42, 98, 242, 0.07);
	box-shadow: 0 0 0 3px rgba(42, 98, 242, 0.2);
}

/* --------------------------------------------------------------------------
   8. Header
   -------------------------------------------------------------------------- */

.gux-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(6, 7, 10, 0.72);
	backdrop-filter: blur(18px) saturate(140%);
	-webkit-backdrop-filter: blur(18px) saturate(140%);
	border-bottom: 1px solid transparent;
	transition: border-color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}

.gux-header.is-scrolled {
	background: rgba(6, 7, 10, 0.88);
	border-bottom-color: var(--line);
	box-shadow: var(--shadow-nav);
}

.gux-header__inner {
	display: flex;
	align-items: center;
	gap: var(--sp-5);
	height: var(--header-h);
}

.gux-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	color: var(--text-hi);
	font-weight: 800;
	font-size: 1.25rem;
	font-variation-settings: 'wdth' 112;
	letter-spacing: -0.045em;
	flex: none;
}

.gux-brand:hover {
	color: var(--text-hi);
}

/* Sized by height because the mark's viewBox is taller than it is wide;
   pinning both axes would squash the artwork. */
.gux-brand__mark {
	width: auto;
	height: 26px;
	flex: none;
}

.gux-nav {
	display: flex;
	align-items: center;
	gap: var(--sp-1);
	margin: 0;
	padding: 0;
	list-style: none;
}

.gux-nav a {
	display: block;
	padding: 0.5rem 0.75rem;
	border-radius: var(--radius-sm);
	color: var(--text-mid);
	font-size: var(--type-ui);
	font-weight: 500;
	transition: color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}

.gux-nav a:hover,
.gux-nav .current-menu-item > a {
	color: var(--text-hi);
	background: rgba(255, 255, 255, 0.06);
}

/* --- Browse megamenu --- */

.gux-nav__browse {
	position: relative;
}

.gux-nav__trigger {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.5rem 0.75rem;
	border: 0;
	border-radius: var(--radius-sm);
	background: transparent;
	color: var(--text-mid);
	font-size: var(--type-ui);
	font-weight: 500;
	cursor: pointer;
	transition: color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}

.gux-nav__trigger svg {
	transition: transform var(--dur) var(--ease-out);
}

.gux-nav__trigger:hover,
.gux-nav__trigger[aria-expanded='true'] {
	color: var(--text-hi);
	background: rgba(255, 255, 255, 0.06);
}

.gux-nav__trigger[aria-expanded='true'] svg {
	transform: rotate(180deg);
}

/* Full-bleed panel under the header rather than a dropdown pinned to the
   trigger: eight categories plus a featured product need the page width. */
.gux-mega {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 59;
	background: rgba(10, 12, 17, 0.97);
	backdrop-filter: blur(24px) saturate(140%);
	-webkit-backdrop-filter: blur(24px) saturate(140%);
	border-bottom: 1px solid var(--line);
	box-shadow: var(--shadow-lift);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition:
		opacity var(--dur) var(--ease-out),
		transform var(--dur) var(--ease-out),
		visibility var(--dur);
}

.gux-mega.is-open {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.gux-mega__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 21rem);
	gap: var(--sp-6);
	padding-block: var(--sp-6);
	/* Without this the tall featured card stretches the category rows to
	   match it, leaving each tile mostly empty space. */
	align-items: start;
}

.gux-mega__cats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: minmax(116px, auto);
	gap: var(--sp-3);
	align-content: start;
}

.gux-mega__cat {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--sp-1);
	padding: var(--sp-4);
	min-height: 116px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: linear-gradient(165deg, var(--ink-150), var(--ink-050) 75%);
	overflow: hidden;
	isolation: isolate;
	transition:
		border-color var(--dur-fast) var(--ease-out),
		transform var(--dur-fast) var(--ease-out);
}

.gux-mega__cat::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(ellipse 80% 70% at 85% 8%, var(--cat-tint, rgba(42, 98, 242, 0.22)), transparent 72%);
}

.gux-mega__cat:hover {
	transform: translateY(-2px);
	border-color: var(--line-strong);
}

.gux-mega__motif {
	display: block;
	width: 40px;
	height: 40px;
	margin-bottom: var(--sp-3);
	color: var(--text-hi);
}

/* The motif is authored at tile scale; reset the homepage positioning. */
.gux-mega__motif .gux-cat__motif {
	position: static;
	width: 40px;
	height: 40px;
}

.gux-mega__name {
	font-size: var(--type-ui);
	font-weight: 700;
	letter-spacing: -0.015em;
	color: var(--text-hi);
	margin-top: auto;
}

.gux-mega__count {
	font-size: var(--type-micro);
	font-weight: 600;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	color: var(--text-low);
}

.gux-mega__side {
	display: flex;
	flex-direction: column;
	gap: var(--sp-3);
	min-width: 0;
}

.gux-mega__feature {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--ink-100);
	transition: border-color var(--dur-fast) var(--ease-out);
}

.gux-mega__feature:hover {
	border-color: var(--line-strong);
}

.gux-mega__feature-media img {
	width: 100%;
	height: auto;
	display: block;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.gux-mega__feature-body {
	display: flex;
	flex-direction: column;
	gap: var(--sp-1);
	padding: var(--sp-4);
}

.gux-mega__feature-title {
	font-size: var(--type-ui);
	font-weight: 700;
	letter-spacing: -0.015em;
	color: var(--text-hi);
}

.gux-mega__feature-price {
	font-size: var(--type-ui-small);
	font-weight: 700;
	color: var(--text-hi);
	font-variant-numeric: tabular-nums;
}

.gux-mega__all {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-3);
	padding: var(--sp-4);
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, 0.04);
	color: var(--text-hi);
	font-size: var(--type-ui);
	font-weight: 600;
	transition: background-color var(--dur-fast) var(--ease-out);
}

.gux-mega__all:hover {
	background: rgba(255, 255, 255, 0.08);
	color: var(--text-hi);
}

.gux-mega__all-count {
	display: block;
	margin-top: 0.15rem;
	font-size: var(--type-micro);
	font-weight: 600;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	color: var(--text-low);
}

@media (max-width: 1180px) {
	.gux-mega__inner {
		grid-template-columns: 1fr;
	}

	.gux-mega__feature {
		display: none;
	}
}

.gux-header__search {
	flex: 1 1 auto;
	max-width: 420px;
	margin-inline: auto;
	position: relative;
}

.gux-header__search .gux-input {
	padding-left: 2.6rem;
	border-radius: var(--radius-pill);
}

.gux-header__search svg {
	position: absolute;
	left: 0.9rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--text-low);
	pointer-events: none;
}

.gux-header__actions {
	display: flex;
	align-items: center;
	gap: var(--sp-2);
	flex: none;
	margin-left: auto;
}

.gux-iconbtn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid transparent;
	border-radius: var(--radius);
	background: transparent;
	color: var(--text-mid);
	cursor: pointer;
	transition: color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}

.gux-iconbtn:hover {
	color: var(--text-hi);
	background: rgba(255, 255, 255, 0.06);
	border-color: var(--line);
}

.gux-cart__count {
	position: absolute;
	top: 2px;
	right: 2px;
	min-width: 18px;
	height: 18px;
	padding-inline: 4px;
	display: grid;
	place-items: center;
	background: var(--blue-500);
	color: #fff;
	border-radius: var(--radius-pill);
	font-size: var(--type-micro);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	border: 2px solid var(--ink-000);
}

.gux-burger {
	display: none;
}

/* --- Minicart --- */

.gux-cartdock {
	position: relative;
}

.gux-minicart {
	position: absolute;
	top: calc(100% + 0.75rem);
	right: 0;
	z-index: 70;
	width: min(24rem, calc(100vw - 2rem));
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-xl);
	background: linear-gradient(165deg, var(--ink-150), var(--ink-050) 78%);
	box-shadow: var(--shadow-lift);
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px) scale(0.985);
	transform-origin: top right;
	transition:
		opacity var(--dur) var(--ease-out),
		transform var(--dur) var(--ease-out),
		visibility var(--dur);
}

.gux-minicart.is-open {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.gux-minicart__head {
	display: flex;
	align-items: center;
	gap: var(--sp-3);
	padding: var(--sp-5) var(--sp-5) var(--sp-4);
}

.gux-minicart__title {
	margin: 0;
	font-size: var(--type-ui);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--text-hi);
}

.gux-minicart__total {
	margin-left: auto;
	font-size: var(--type-ui);
	font-weight: 700;
	color: var(--text-hi);
	font-variant-numeric: tabular-nums;
}

.gux-minicart__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	flex: none;
	border: 0;
	border-radius: var(--radius-sm);
	background: transparent;
	color: var(--text-low);
	cursor: pointer;
	transition: color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}

.gux-minicart__close:hover {
	color: var(--text-hi);
	background: rgba(255, 255, 255, 0.06);
}

.gux-minicart__items {
	list-style: none;
	margin: 0;
	padding: 0 var(--sp-4);
	display: grid;
	gap: var(--sp-2);
	/* Long carts scroll inside the panel rather than running off-screen. */
	max-height: min(22rem, 50vh);
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
}

.gux-minicart__item {
	position: relative;
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) 32px;
	align-items: center;
	gap: var(--sp-3);
	padding: var(--sp-2);
	border-radius: var(--radius);
	transition: background-color var(--dur-fast) var(--ease-out);
}

.gux-minicart__item:hover {
	background: rgba(255, 255, 255, 0.04);
}

.gux-minicart__media {
	display: block;
	border-radius: var(--radius-sm);
	overflow: hidden;
	border: 1px solid var(--line);
	background: var(--ink-100);
}

.gux-minicart__media img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
}

.gux-minicart__body {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.gux-minicart__name {
	color: var(--text-hi);
	font-size: var(--type-ui-small);
	font-weight: 600;
	line-height: 1.3;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.gux-minicart__name:hover {
	color: var(--blue-300);
}

.gux-minicart__price {
	font-size: var(--type-fine);
	color: var(--text-mid);
	font-variant-numeric: tabular-nums;
}

.gux-minicart__remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: var(--radius-pill);
	background: rgba(255, 255, 255, 0.05);
	color: var(--text-low);
	font-size: 0;
	transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.gux-minicart__remove:hover {
	background: var(--danger-fill);
	color: var(--danger);
}

/* WooCommerce marks the row while its removal request is in flight. */
.gux-minicart__item.loading,
.gux-minicart__remove.loading {
	opacity: 0.5;
	pointer-events: none;
}

.gux-minicart__foot {
	padding: var(--sp-4) var(--sp-5) var(--sp-5);
	display: grid;
	gap: var(--sp-3);
}

.gux-minicart__subtotal {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--sp-4);
	color: var(--text-mid);
	font-size: var(--type-ui-small);
}

.gux-minicart__subtotal strong {
	font-size: var(--type-subhead);
	font-variation-settings: 'wdth' 108;
	letter-spacing: -0.03em;
	color: var(--text-hi);
	font-variant-numeric: tabular-nums;
}

.gux-minicart__checkout {
	width: 100%;
	justify-content: center;
	min-height: 50px;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-accent);
}

.gux-minicart__checkout:hover {
	box-shadow: var(--shadow-accent-hover);
}

.gux-minicart__viewcart {
	text-align: center;
	color: var(--text-mid);
	font-size: var(--type-ui-small);
	font-weight: 600;
	padding: var(--sp-1);
}

.gux-minicart__viewcart:hover {
	color: var(--text-hi);
}

.gux-minicart__note {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--sp-2);
	margin: 0;
	color: var(--text-low);
	font-size: var(--type-fine);
}

.gux-minicart__note svg {
	flex: none;
}

.gux-minicart__empty {
	padding: var(--sp-6) var(--sp-5) var(--sp-6);
	text-align: center;
}

.gux-minicart__empty p {
	margin: 0 0 var(--sp-4);
	color: var(--text-mid);
	font-size: var(--type-ui-small);
}

/* On a phone the panel stays a dropdown and simply widens to the screen.
   A `position: fixed` bottom sheet was tried and abandoned: the header sets
   `backdrop-filter`, which makes it the containing block for fixed-position
   descendants, so the sheet resolved against the header instead of the
   viewport and rendered off-screen above it. */
@media (max-width: 560px) {
	/* The dock stops being the anchor: it sits mid-header, so a panel wide
	   enough for a phone always overran the left edge. Positioning against the
	   header instead lets the panel span the shell's gutters exactly. */
	.gux-cartdock {
		position: static;
	}

	.gux-minicart {
		top: calc(100% + 0.5rem);
		left: var(--shell-pad);
		right: var(--shell-pad);
		width: auto;
		max-height: calc(100vh - var(--header-h) - 1.5rem);
		overflow-y: auto;
		overscroll-behavior: contain;
		transform-origin: top center;
	}

	.gux-minicart__items {
		max-height: none;
		overflow: visible;
	}
}

/* --------------------------------------------------------------------------
   9. Hero
   The catalogue is the hero. Four columns of real previews drift at
   different speeds; the statement sits in a well of darkness cut into them.
   -------------------------------------------------------------------------- */

.gux-hero {
	position: relative;
	padding-block: clamp(var(--sp-8), 8vw, 7.5rem) clamp(var(--sp-8), 7vw, 6.5rem);
	overflow: hidden;
	isolation: isolate;
}

/* Scrim between the moving wall and the statement. The wall is masked to open
   a well of darkness on the left, but tiles with light previews still drift
   close enough to threaten the lede's contrast; this guarantees the floor. */
.gux-hero::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background: linear-gradient(
		to right,
		var(--ink-000) 0%,
		rgba(6, 7, 10, 0.94) 30%,
		rgba(6, 7, 10, 0.55) 45%,
		transparent 60%
	);
}

.gux-hero__inner {
	position: relative;
	z-index: 3;
	max-width: 40rem;
}

.gux-hero__title {
	margin-bottom: var(--sp-5);
}

.gux-hero__lede {
	margin-bottom: var(--sp-6);
}

.gux-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-3);
	align-items: center;
}

.gux-hero__note {
	margin: var(--sp-6) 0 0;
	color: var(--text-low);
	font-size: var(--type-ui-small);
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2) var(--sp-4);
	align-items: center;
}

.gux-hero__note span {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

/* The moving wall. */
.gux-wall {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	gap: 1.25rem;
	justify-content: flex-end;
	padding-right: var(--shell-pad);
	pointer-events: none;
	/* Sits behind the statement: the mask opens the left third to darkness. */
	-webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 26%, #000 52%, #000 100%),
		linear-gradient(to bottom, transparent 0%, #000 16%, #000 78%, transparent 100%);
	mask-image: linear-gradient(to right, transparent 0%, transparent 26%, #000 52%, #000 100%),
		linear-gradient(to bottom, transparent 0%, #000 16%, #000 78%, transparent 100%);
	-webkit-mask-composite: source-in;
	mask-composite: intersect;
}

.gux-wall__col {
	position: relative;
	flex: 0 0 clamp(180px, 15vw, 260px);
	overflow: hidden;
}

.gux-wall__track {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	will-change: transform;
	animation: gux-scroll-up linear infinite;
}

/* Speed and scale differ per column, which is what produces the depth.
   Nearer columns are larger, brighter and faster. */
.gux-wall__col:nth-child(1) .gux-wall__track { animation-duration: 92s; }
.gux-wall__col:nth-child(2) .gux-wall__track { animation-duration: 68s; animation-direction: reverse; }
.gux-wall__col:nth-child(3) .gux-wall__track { animation-duration: 110s; }
.gux-wall__col:nth-child(4) .gux-wall__track { animation-duration: 78s; animation-direction: reverse; }

.gux-wall__col:nth-child(1) { opacity: 0.55; transform: scale(0.9); }
.gux-wall__col:nth-child(2) { opacity: 0.75; }
.gux-wall__col:nth-child(3) { opacity: 0.65; transform: scale(0.95); }
.gux-wall__col:nth-child(4) { opacity: 0.85; }

.gux-wall__tile {
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--line);
	background: var(--ink-100);
	box-shadow: var(--shadow-card);
	aspect-ratio: 4 / 3;
}

.gux-wall__tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@keyframes gux-scroll-up {
	from { transform: translate3d(0, 0, 0); }
	to { transform: translate3d(0, -50%, 0); }
}

/* --------------------------------------------------------------------------
   10. Category rail
   Merchandising tiles, each carrying its own drawn motif — not icon cards.
   -------------------------------------------------------------------------- */

/* Fixed four across rather than auto-fit: eight categories then fill two even
   rows, instead of the 6 + 2 orphan an auto-fit track produces at this width. */
.gux-cats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--sp-4);
}

@media (max-width: 1024px) {
	.gux-cats {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.gux-cat {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 190px;
	padding: var(--sp-5);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: linear-gradient(165deg, var(--ink-150), var(--ink-050) 70%);
	overflow: hidden;
	isolation: isolate;
	transition: border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}

.gux-cat::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(ellipse 80% 60% at 80% 10%, var(--cat-tint, rgba(42, 98, 242, 0.22)), transparent 70%);
	opacity: 0.9;
	transition: opacity var(--dur) var(--ease-out);
}

.gux-cat:hover {
	transform: translateY(-3px);
	border-color: var(--line-strong);
	box-shadow: var(--shadow-lift);
}

.gux-cat:hover::after {
	opacity: 1.3;
}

.gux-cat__motif {
	position: absolute;
	top: var(--sp-4);
	right: var(--sp-4);
	width: 88px;
	height: 88px;
	color: var(--text-hi);
	opacity: 0.9;
	transition: transform var(--dur-slow) var(--ease-out);
}

.gux-cat:hover .gux-cat__motif {
	transform: translateY(-4px) rotate(-3deg);
}

.gux-cat__name {
	margin: 0;
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--text-hi);
}

.gux-cat__count {
	margin-top: var(--sp-1);
}

/* --------------------------------------------------------------------------
   11. Product cards
   -------------------------------------------------------------------------- */

.gux-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
	gap: var(--sp-5) var(--sp-4);
	list-style: none;
	margin: 0;
	padding: 0;
}

.gux-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: none;
	border: 0;
	margin: 0;
	padding: 0;
}

.gux-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--line);
	background: var(--ink-100);
	box-shadow: var(--shadow-card);
	transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}

.gux-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--dur-slow) var(--ease-out);
}

.gux-card:hover .gux-card__media {
	transform: translateY(-4px);
	border-color: var(--line-strong);
	box-shadow: var(--shadow-lift);
}

.gux-card:hover .gux-card__media img {
	transform: scale(1.035);
}

.gux-card__badges {
	position: absolute;
	top: var(--sp-3);
	left: var(--sp-3);
	display: flex;
	gap: var(--sp-2);
	z-index: 2;
	pointer-events: none;
}

.gux-badge {
	white-space: nowrap;
	padding: 0.25rem 0.5rem;
	border-radius: var(--radius-sm);
	background: rgba(6, 7, 10, 0.72);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid var(--line);
	color: var(--text-hi);
	font-size: var(--type-micro);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.gux-badge--new {
	background: var(--blue-500);
	border-color: var(--blue-400);
	color: #fff;
}

/* Quick action rides in on hover, keyboard-reachable at all times. */
.gux-card__quick {
	position: absolute;
	left: var(--sp-3);
	right: var(--sp-3);
	bottom: var(--sp-3);
	z-index: 3;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}

.gux-card:hover .gux-card__quick,
.gux-card:focus-within .gux-card__quick {
	opacity: 1;
	transform: translateY(0);
}

.gux-card__quick .gux-btn {
	width: 100%;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.gux-card__add.loading {
	opacity: 0.7;
	pointer-events: none;
}

.gux-card__add.added {
	background: var(--blue-600);
}

/* WooCommerce injects a "View cart" link beside the button after a successful
   add. The minicart already opened, so it would only repeat the same action. */
.gux-card__quick .added_to_cart {
	display: none;
}

.gux-card__body {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: var(--sp-4);
	padding-top: var(--sp-4);
}

.gux-card__title {
	margin: 0;
	font-size: var(--type-ui);
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.35;
}

.gux-card__title a {
	color: var(--text-hi);
}

.gux-card__link {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.gux-card__title a:hover {
	color: var(--blue-300);
}

.gux-card__cat {
	margin-top: 0.3rem;
	display: block;
}

.gux-card__price {
	flex: none;
	font-size: var(--type-ui);
	font-weight: 700;
	color: var(--text-hi);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.gux-card__price del {
	color: var(--text-low);
	font-weight: 500;
	margin-right: 0.35rem;
}

.gux-card__price ins {
	text-decoration: none;
}

/* --------------------------------------------------------------------------
   12. Formats band
   -------------------------------------------------------------------------- */

.gux-band {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 70%);
	border-radius: var(--radius-xl);
}

.gux-band__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: var(--sp-6) var(--sp-7);
}

.gux-band__item h3 {
	margin: 0 0 var(--sp-2);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: -0.015em;
	display: flex;
	align-items: center;
	gap: var(--sp-3);
}

.gux-band__item h3 svg {
	color: var(--blue-300);
	flex: none;
}

.gux-band__item p {
	margin: 0;
	color: var(--text-mid);
	font-size: var(--type-ui);
	max-width: 34ch;
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */

.gux-footer {
	position: relative;
	z-index: 1;
	margin-top: var(--sp-8);
	background: linear-gradient(180deg, transparent, rgba(42, 98, 242, 0.06));
	padding-block: var(--sp-8) var(--sp-6);
}

.gux-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) repeat(auto-fit, minmax(140px, 1fr));
	gap: var(--sp-7) var(--sp-5);
	padding-bottom: var(--sp-8);
}

.gux-footer__blurb {
	margin: var(--sp-4) 0 0;
	color: var(--text-mid);
	font-size: var(--type-ui);
	max-width: 34ch;
}

.gux-footer__col h2 {
	margin: 0 0 var(--sp-4);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	color: var(--text-low);
}

.gux-footer__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--sp-3);
}

.gux-footer__col a {
	color: var(--text-mid);
	font-size: var(--type-ui);
}

.gux-footer__col a:hover {
	color: var(--text-hi);
}

.gux-footer__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--sp-4);
	padding-top: var(--sp-5);
	flex-wrap: wrap;
	color: var(--text-low);
	font-size: var(--type-fine);
}

/* --------------------------------------------------------------------------
   15. WooCommerce
   Storefront's Woo templates are inherited; these restyle their output.
   -------------------------------------------------------------------------- */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	margin: 0 0 var(--sp-5);
	padding: var(--sp-4) var(--sp-5);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--ink-100);
	color: var(--text-hi);
	list-style: none;
	font-size: var(--type-ui);
}

.woocommerce-message {
	border-color: rgba(42, 98, 242, 0.4);
	background: rgba(42, 98, 242, 0.1);
}

.woocommerce-error {
	border-color: var(--danger-line);
	background: var(--danger-fill);
}

.woocommerce .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--sp-2);
	padding: 0.8125rem 1.5rem;
	background: var(--blue-500);
	border: 1px solid transparent;
	border-radius: var(--radius);
	color: #fff;
	font-size: var(--type-ui);
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}

.woocommerce .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
	background: var(--blue-400);
	color: #fff;
}

.woocommerce .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--text-hi);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.woocommerce div.product p.price del,
.woocommerce .price del {
	color: var(--text-low);
	font-weight: 500;
}

.woocommerce table.shop_table,
.woocommerce-cart table.cart {
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	background: var(--ink-050);
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	border: 0;
	border-bottom: 1px solid var(--line-soft);
	padding: var(--sp-4);
	color: var(--text-mid);
}

.woocommerce table.shop_table th {
	color: var(--text-hi);
	font-weight: 600;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container .select2-selection--single {
	width: 100%;
	padding: 0.8125rem 1rem;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--text-hi);
	height: auto;
}

.woocommerce form .form-row label {
	color: var(--text-mid);
	font-size: var(--type-ui-small);
	font-weight: 500;
	margin-bottom: var(--sp-2);
	display: block;
}

.woocommerce-breadcrumb {
	color: var(--text-low);
	font-size: var(--type-ui-small);
	margin-bottom: var(--sp-5);
}

/* Page shell for every WooCommerce template. */
.gux-woo {
	padding-block: var(--sp-7) var(--sp-9);
}

.woocommerce-products-header {
	margin-bottom: var(--sp-5);
}

.woocommerce-products-header__title,
.gux-woo .page-title {
	margin: 0;
	font-size: clamp(1.75rem, 3.2vw, 2.6rem);
	font-variation-settings: 'wdth' 108;
	letter-spacing: -0.03em;
	line-height: 1.05;
}

.term-description {
	margin: var(--sp-3) 0 0;
	color: var(--text-mid);
	max-width: 60ch;
}

/* Results count and sort sit on one rule above the grid. */
.gux-woo .woocommerce-result-count,
.gux-woo .woocommerce-ordering {
	display: inline-block;
	vertical-align: middle;
	margin: 0 0 var(--sp-5);
}

.gux-woo .woocommerce-result-count {
	color: var(--text-low);
	font-size: var(--type-ui-small);
	font-variant-numeric: tabular-nums;
}

.gux-woo .woocommerce-ordering {
	float: right;
}

.gux-woo .woocommerce-ordering select {
	background: var(--ink-100);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 0.5rem 2rem 0.5rem 0.75rem;
	color: var(--text-hi);
	font-size: var(--type-ui-small);
	cursor: pointer;
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--text-low) 50%),
		linear-gradient(135deg, var(--text-low) 50%, transparent 50%);
	background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
}

.gux-woo .products {
	clear: both;
}

/* Pagination. WooCommerce emits a bare <ul>, which without Storefront's CSS
   renders as a bulleted list. */
.woocommerce-pagination {
	margin-top: var(--sp-8);
}

.woocommerce-pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--sp-2);
	list-style: none;
	margin: 0;
	padding: 0;
	border: 0;
}

.woocommerce-pagination ul.page-numbers li {
	list-style: none;
	border: 0;
}

/* Scoped to the list items: WooCommerce also puts .page-numbers on the <ul>
   itself, which would otherwise take the whole button treatment. */
.woocommerce-pagination li > .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding-inline: 0.75rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.03);
	color: var(--text-mid);
	font-size: var(--type-ui);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.woocommerce-pagination li > a.page-numbers:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: var(--line-strong);
	color: var(--text-hi);
}

.woocommerce-pagination li > .page-numbers.current {
	background: var(--blue-500);
	border-color: var(--blue-500);
	color: #fff;
}

/* Gallery zoom trigger.
   WooCommerce's JavaScript injects this control containing a 🔍 emoji, with no
   template or filter to intercept it. The glyph is collapsed to zero font-size
   and replaced with a drawn icon on the same 24-grid and 1.5 stroke as the
   rest of the set — an emoji is not an icon system. */
.woocommerce-product-gallery__trigger {
	position: absolute;
	top: var(--sp-3);
	right: var(--sp-3);
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(6, 7, 10, 0.72);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	font-size: 0;
	line-height: 0;
	text-indent: 0;
	color: transparent;
	transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}

.woocommerce-product-gallery__trigger::after {
	content: '';
	width: 18px;
	height: 18px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23f2f4f8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
}

.woocommerce-product-gallery__trigger:hover {
	background-color: rgba(6, 7, 10, 0.92);
	border-color: var(--line-strong);
}

.gux-woo .woocommerce-product-gallery {
	position: relative;
}

/* Single product. */
/* The two-column split now lives on .gux-product-top; the product block itself
   is a single flow of sections. */
.gux-woo div.product {
	display: block;
}

.gux-woo div.product .woocommerce-product-gallery {
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--ink-100);
	box-shadow: var(--shadow-card);
}

/* Reuses the headline step rather than a one-off size: a product title is a
   page heading and belongs on the documented ramp. */
.gux-woo div.product .product_title {
	font-size: clamp(1.75rem, 3.2vw, 2.6rem);
	font-variation-settings: 'wdth' 108;
	letter-spacing: -0.03em;
	line-height: 1.05;
	margin-bottom: var(--sp-3);
}

.gux-woo div.product p.price {
	font-size: var(--type-price);
	margin: 0 0 var(--sp-5);
}

.gux-woo div.product .woocommerce-product-details__short-description {
	color: var(--text-mid);
	margin-bottom: var(--sp-5);
	max-width: 58ch;
}

.gux-woo div.product form.cart {
	margin-bottom: var(--sp-6);
}

.gux-woo div.product .product_meta {
	padding-top: var(--sp-6);
	color: var(--text-low);
	font-size: var(--type-ui-small);
	display: flex;
	flex-direction: column;
	gap: var(--sp-2);
}

.gux-woo .woocommerce-tabs {
	grid-column: 1 / -1;
	margin-top: var(--sp-8);
}

.gux-woo .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
	list-style: none;
	margin: 0 0 var(--sp-5);
	padding: 0;
}

.gux-woo .woocommerce-tabs ul.tabs li {
	list-style: none;
}

.gux-woo .woocommerce-tabs ul.tabs a {
	display: block;
	padding: 0.5rem 1rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-pill);
	color: var(--text-mid);
	font-size: var(--type-ui-small);
	font-weight: 600;
}

.gux-woo .woocommerce-tabs ul.tabs li.active a {
	background: rgba(255, 255, 255, 0.08);
	border-color: var(--line-strong);
	color: var(--text-hi);
}

.gux-woo .related.products,
.gux-woo .up-sells {
	grid-column: 1 / -1;
	margin-top: var(--sp-8);
}

.gux-woo .related.products > h2,
.gux-woo .up-sells > h2 {
	font-size: var(--type-subhead);
	font-variation-settings: 'wdth' 108;
	letter-spacing: -0.03em;
	margin-bottom: var(--sp-5);
}

@media (max-width: 900px) {
	/* One column below this width, and sticky is abandoned entirely — a pinned
	   summary on a narrow screen just eats the viewport. */
	.gux-woo .gux-product-top {
		grid-template-columns: 1fr;
		gap: var(--sp-6);
	}

	.gux-woo div.product .entry-summary,
	.gux-woo div.product .summary {
		max-height: none;
		overflow-y: visible;
	}

	.gux-woo .woocommerce-ordering {
		float: none;
		display: block;
		margin-top: var(--sp-3);
	}
}

/* Empty state for an archive with no products. */
.gux-empty {
	padding: var(--sp-9) var(--sp-5);
	text-align: center;
	border: 1px dashed var(--line-strong);
	border-radius: var(--radius-xl);
	background: rgba(255, 255, 255, 0.02);
}

.gux-empty h2 {
	margin-bottom: var(--sp-3);
}

.gux-empty p {
	margin: 0 auto var(--sp-5);
	color: var(--text-mid);
	max-width: 44ch;
}

/* --------------------------------------------------------------------------
   15b. Page header
   Every non-home surface opens the same way, which is what makes the account,
   cart, catalogue and policy pages read as one store.
   -------------------------------------------------------------------------- */

.gux-pagehead {
	padding-block: clamp(var(--sp-7), 6vw, var(--sp-9)) var(--sp-5);
}

.gux-pagehead--center {
	text-align: center;
}

.gux-pagehead--center .gux-pagehead__sub {
	margin-inline: auto;
}

.gux-pagehead__title {
	margin: 0;
}

.gux-pagehead__sub {
	margin: var(--sp-4) 0 0;
	max-width: 56ch;
}

/* Breadcrumb. */
.gux-crumbs,
.woocommerce-breadcrumb {
	margin: 0 0 var(--sp-4);
	color: var(--text-low);
	font-size: var(--type-ui-small);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sp-2);
}

.gux-crumbs a,
.woocommerce-breadcrumb a {
	color: var(--text-mid);
}

.gux-crumbs a:hover,
.woocommerce-breadcrumb a:hover {
	color: var(--text-hi);
}

/* Quietest passing tone rather than a surface step: at --ink-250 the
   separator sat at 1.44:1 and was effectively invisible. */
.gux-crumb__sep {
	color: var(--text-low);
}

.gux-page-body {
	padding-bottom: var(--sp-9);
}

/* WooCommerce pages nest .gux-woo inside this wrapper, and .gux-woo carries
   its own closing space. Two paddings plus the footer margin stacked to 320px
   of dead ground under the cart and checkout. */
.gux-page-body--wide {
	padding-bottom: 0;
}

.gux-page-body--wide {
	max-width: var(--shell);
}

/* --------------------------------------------------------------------------
   15c. Chips and the filter rail
   Filtering is real links to term archives, so every filtered view stays
   shareable, bookmarkable and crawlable.
   -------------------------------------------------------------------------- */

.gux-chip {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-2);
	padding: 0.5rem 0.875rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-pill);
	background: rgba(255, 255, 255, 0.03);
	color: var(--text-mid);
	font-size: var(--type-ui);
	font-weight: 600;
	white-space: nowrap;
	transition:
		background-color var(--dur-fast) var(--ease-out),
		border-color var(--dur-fast) var(--ease-out),
		color var(--dur-fast) var(--ease-out);
}

.gux-chip:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: var(--line-strong);
	color: var(--text-hi);
}

.gux-chip.is-active {
	background: var(--blue-500);
	border-color: var(--blue-500);
	color: #fff;
}

.gux-chip__count {
	font-size: var(--type-micro);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	padding: 0.1rem 0.35rem;
	border-radius: var(--radius-pill);
	background: rgba(255, 255, 255, 0.09);
	color: inherit;
}

/* Darkens rather than lightens: a white wash over the accent lifted the pill
   to a tint where its own white label fell to 3.46:1. */
.gux-chip.is-active .gux-chip__count {
	background: rgba(6, 7, 10, 0.3);
}

/* The rail is part of the header block, so it closes the gap to the results
   bar rather than opening a second one. */
.gux-filterrail {
	padding-bottom: var(--sp-2);
}

.gux-filterrail + .gux-shell .gux-woo,
.gux-filterrail ~ .gux-shell.gux-woo {
	padding-top: var(--sp-5);
}

.gux-filterrail__list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
	list-style: none;
	margin: 0;
	padding: 0;
}

/* --------------------------------------------------------------------------
   15d. Single product
   Full-width header carrying the buy action, previews at large scale, then
   Overview beside Highlights. The buy action repeats in a compact bar once
   the header scrolls away.
   -------------------------------------------------------------------------- */

.gux-woo--product {
	padding-bottom: var(--sp-9);
}

/* ---- header ---- */

.gux-phead {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	padding-block: var(--sp-6) var(--sp-8);
}

/* The product name set enormously behind the header. Decorative only, and
   clipped by the header, so it reads as texture rather than as content. */
.gux-phead__ghost {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -58%);
	z-index: -1;
	white-space: nowrap;
	font-size: var(--type-ghost);
	font-weight: 800;
	font-variation-settings: 'wdth' 115;
	letter-spacing: -0.04em;
	line-height: 1;
	color: rgba(255, 255, 255, 0.028);
	pointer-events: none;
	user-select: none;
}

.gux-phead__row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--sp-7);
	flex-wrap: wrap;
}

.gux-phead__text {
	flex: 1 1 30rem;
	min-width: 0;
}

.gux-phead__title {
	margin: 0;
	font-size: var(--type-ptitle);
	font-variation-settings: 'wdth' 108;
	letter-spacing: -0.03em;
	line-height: 1.05;
}

.gux-phead__sub {
	margin: var(--sp-3) 0 0;
	color: var(--text-mid);
	font-size: var(--type-lede);
	max-width: 60ch;
}

.gux-phead__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--sp-2);
	margin-top: var(--sp-5);
	font-size: var(--type-ui-small);
	color: var(--text-mid);
}

.gux-phead__meta a {
	color: var(--text-mid);
}

.gux-phead__meta a:hover {
	color: var(--text-hi);
}

.gux-phead__brand {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-2);
	color: var(--text-hi);
	font-weight: 600;
}

.gux-phead__brand .gux-brand__mark {
	width: auto;
	height: 20px;
}

/* Same floor as the breadcrumb separator: --ink-250 renders at 1.44:1. */
.gux-phead__sep {
	color: var(--text-low);
}

/* Price and add-to-cart, sitting on the header's baseline. */
.gux-phead__buy {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: var(--sp-4);
	flex-wrap: wrap;
}

.gux-phead__buy .price {
	margin: 0;
	font-size: var(--type-price);
	font-weight: 700;
	color: var(--text-hi);
	font-variant-numeric: tabular-nums;
}

.gux-phead__buy form.cart {
	margin: 0;
	display: flex;
	align-items: center;
	gap: var(--sp-3);
}

.gux-phead__buy .button {
	padding: 0.9375rem 1.75rem;
	font-size: 1rem;
	border-radius: var(--radius-pill);
	box-shadow: var(--shadow-accent);
	min-height: 52px;
}

.gux-phead__buy .button:hover {
	box-shadow: var(--shadow-accent-hover);
}

/* Digital goods are sold individually; the quantity stepper is noise. */
.gux-phead__buy .quantity {
	display: none;
}

/* ---- compact buy bar ---- */

.gux-buybar {
	position: fixed;
	top: var(--header-h);
	left: 0;
	right: 0;
	z-index: 50;
	background: rgba(6, 7, 10, 0.86);
	backdrop-filter: blur(18px) saturate(140%);
	-webkit-backdrop-filter: blur(18px) saturate(140%);
	border-bottom: 1px solid var(--line);
	box-shadow: var(--shadow-nav);
	opacity: 0;
	transform: translateY(-8px);
	visibility: hidden;
	transition:
		opacity var(--dur) var(--ease-out),
		transform var(--dur) var(--ease-out),
		visibility var(--dur);
}

.gux-buybar.is-visible {
	opacity: 1;
	transform: none;
	visibility: visible;
}

.gux-buybar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-5);
	min-height: 68px;
	padding-block: var(--sp-2);
}

.gux-buybar__title {
	margin: 0;
	font-size: var(--type-ui);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--text-hi);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	min-width: 0;
}

.gux-buybar__actions {
	display: flex;
	align-items: center;
	gap: var(--sp-4);
	flex: none;
}

.gux-buybar__price {
	font-size: var(--type-ui);
	font-weight: 700;
	color: var(--text-hi);
	font-variant-numeric: tabular-nums;
}

.gux-buybar .gux-btn {
	border-radius: var(--radius-pill);
	min-height: 44px;
}

/* ---- preview grid ---- */

.gux-pgallery {
	padding-block: var(--sp-7);
}

.gux-woo div.product .woocommerce-product-gallery {
	opacity: 1 !important;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	overflow: visible;
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
}

/* Two across at full shell width: previews are the product, so they get the
   page rather than a column of it. */
.gux-woo div.product .woocommerce-product-gallery__wrapper {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--sp-4);
	/* Tiles size to their own image. Stretching rows to equal height squared
	   off 4:3 previews whenever one image in a row was a different ratio. */
	align-items: start;
}

/* A single preview stands alone at full width rather than half-empty. */
.gux-woo div.product .woocommerce-product-gallery__wrapper > *:only-child {
	grid-column: 1 / -1;
}

.gux-woo div.product .woocommerce-product-gallery__image {
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--ink-100);
	box-shadow: var(--shadow-card);
	margin: 0;
}

.gux-woo div.product .woocommerce-product-gallery__image img {
	width: 100%;
	height: auto;
	display: block;
}

.gux-woo div.product .flex-control-thumbs {
	display: none;
}

/* ---- overview / highlights ---- */

.gux-overview {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	gap: var(--sp-7) var(--sp-9);
	align-items: start;
	padding-block: var(--sp-8);
}

.gux-overview__heading {
	margin: 0 0 var(--sp-5);
}

.gux-overview__heading--tight {
	margin-top: var(--sp-7);
}

.gux-overview__main .gux-prose {
	max-width: 62ch;
}

.gux-highlights {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: var(--sp-3);
}

.gux-highlights li {
	display: flex;
	align-items: flex-start;
	gap: var(--sp-3);
	color: var(--text-mid);
	font-size: var(--type-ui-small);
	line-height: 1.5;
}

.gux-highlights svg {
	flex: none;
	margin-top: 0.15rem;
	color: var(--blue-300);
}

.gux-formats {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
}

.gux-formats__item {
	padding: 0.4375rem 0.75rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: rgba(255, 255, 255, 0.03);
	color: var(--text-hi);
	font-size: var(--type-fine);
	font-weight: 600;
}

.gux-overview__files {
	display: flex;
	align-items: center;
	gap: var(--sp-2);
	margin: var(--sp-4) 0 0;
	color: var(--text-low);
	font-size: var(--type-fine);
}

.gux-delivery {
	margin: var(--sp-6) 0 0;
	padding: var(--sp-4);
	list-style: none;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, 0.02);
	display: grid;
	gap: var(--sp-3);
}

.gux-delivery li {
	display: flex;
	align-items: flex-start;
	gap: var(--sp-3);
	color: var(--text-mid);
	font-size: var(--type-ui-small);
	line-height: 1.45;
}

.gux-delivery svg {
	color: var(--blue-300);
	flex: none;
	margin-top: 0.1rem;
}

/* ---- related ---- */

.gux-woo .related.products,
.gux-woo .up-sells {
	padding-top: var(--sp-9);
}

.gux-woo .related.products > h2,
.gux-woo .up-sells > h2 {
	font-size: var(--type-subhead);
	font-variation-settings: 'wdth' 108;
	letter-spacing: -0.03em;
	margin-bottom: var(--sp-5);
}

.gux-woo .related.products .gux-grid,
.gux-woo .up-sells .gux-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1000px) {
	.gux-overview {
		grid-template-columns: 1fr;
		gap: var(--sp-6);
	}

	.gux-woo .related.products .gux-grid,
	.gux-woo .up-sells .gux-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.gux-phead__row {
		align-items: flex-start;
		gap: var(--sp-5);
	}

	.gux-phead__buy {
		width: 100%;
		justify-content: space-between;
	}

	.gux-phead__buy form.cart {
		flex: 1 1 auto;
		justify-content: flex-end;
	}

	/* One preview per row: two across on a phone renders them too small to
	   judge, which defeats the point of showing previews at all. */
	.gux-woo div.product .woocommerce-product-gallery__wrapper {
		grid-template-columns: 1fr;
	}

	.gux-buybar__inner {
		min-height: 60px;
	}

	/* The title is dropped rather than truncated to two characters. */
	.gux-buybar__title {
		display: none;
	}

	.gux-buybar__actions {
		width: 100%;
		justify-content: space-between;
	}
}

/* --------------------------------------------------------------------------
   15e. Cart, checkout, order
   -------------------------------------------------------------------------- */

.gux-woo--page {
	padding-top: 0;
}

/* The two-column split lives on .gux-cartpage (see woocommerce/cart/cart.php);
   this wrapper stays a plain block so the cart fills the page. */
.woocommerce-cart .woocommerce::before,
.woocommerce-cart .woocommerce::after {
	content: none;
}

.woocommerce-cart-form {
	margin-bottom: 0;
	min-width: 0;
}

/* Coupon and update share one row, with real space between them. The default
   put the update button flush against the coupon field with a 0px gap. */
/* Stays a table cell: `display: flex` here cancels the cell's colspan, so the
   row collapsed into the first column's width and the controls stacked. */
.woocommerce table.cart td.actions {
	padding: var(--sp-4);
	background: rgba(255, 255, 255, 0.02);
	text-align: right;
}

.woocommerce table.cart td.actions .coupon {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sp-2);
	margin: 0;
	float: left;
}

.woocommerce table.cart td.actions button[name='update_cart'] {
	flex: none;
}

.woocommerce table.cart td.actions .button {
	min-height: 46px;
}

.woocommerce #coupon_code,
.woocommerce table.cart td.actions input.input-text {
	width: auto;
	flex: 1 1 12rem;
	max-width: 16rem;
	padding: 0.8125rem 1rem;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--text-hi);
}

.woocommerce #coupon_code::placeholder {
	color: var(--text-low);
}

.woocommerce #coupon_code:focus {
	outline: none;
	border-color: var(--blue-500);
	background: rgba(42, 98, 242, 0.07);
	box-shadow: 0 0 0 3px rgba(42, 98, 242, 0.2);
}

.woocommerce table.cart td.actions button[name='update_cart'] {
	background: rgba(255, 255, 255, 0.04);
	border-color: var(--line-strong);
	color: var(--text-hi);
}

.woocommerce table.cart td.actions button[name='update_cart']:hover {
	background: rgba(255, 255, 255, 0.08);
	color: var(--text-hi);
}

.woocommerce table.cart td.actions button[name='update_cart'][disabled] {
	opacity: 0.4;
}

/* ---- cart ---- */

.gux-cartpage {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 22rem);
	gap: var(--sp-6);
	align-items: start;
}

.gux-cartpage__panel {
	border: 1px solid var(--line);
	border-radius: var(--radius-xl);
	background: var(--ink-050);
	overflow: hidden;
}

.gux-cartpage__lines {
	list-style: none;
	margin: 0;
	padding: var(--sp-3);
	display: grid;
	gap: var(--sp-1);
}

/* Named areas rather than implicit placement. The quantity wrapper renders a
   hidden input for sold-individually products; with `display: contents` it
   leaked that input into the grid as a real item, which ate the fourth column
   and pushed the remove control onto a second row directly under the image. */
.gux-cartline {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr) auto auto 36px;
	grid-template-areas: 'media body qty price remove';
	align-items: center;
	gap: var(--sp-4);
	padding: var(--sp-3);
	border-radius: var(--radius-lg);
	transition: background-color var(--dur-fast) var(--ease-out);
}

.gux-cartline:hover {
	background: rgba(255, 255, 255, 0.03);
}

.gux-cartline__media img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	display: block;
}

.gux-cartline__body {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.gux-cartline__name {
	color: var(--text-hi);
	font-size: var(--type-ui);
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.3;
}

.gux-cartline__name:hover {
	color: var(--blue-300);
}

.gux-cartline__price {
	font-size: var(--type-ui);
	font-weight: 700;
	color: var(--text-hi);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.gux-cartline__media { grid-area: media; }
.gux-cartline__body  { grid-area: body; }
.gux-cartline__qty   { grid-area: qty; }
.gux-cartline__price { grid-area: price; }
.gux-cartline__remove { grid-area: remove; }

/* Sold individually: the cell holds only a hidden input, so it collapses. */
.gux-cartline__qty:empty {
	display: none;
}

.gux-cartline__x {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: var(--radius-pill);
	background: rgba(255, 255, 255, 0.05);
	color: var(--text-low);
	font-size: 0;
	transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.gux-cartline__x:hover {
	background: var(--danger-fill);
	color: var(--danger);
}

.gux-cartpage__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-3);
	padding: var(--sp-4);
	margin: var(--sp-2) var(--sp-3) var(--sp-3);
	border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, 0.025);
}

.gux-cartpage__actions .coupon {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sp-2);
	margin: 0;
	flex: 1 1 20rem;
}

.gux-cartpage__actions .coupon .gux-input {
	flex: 1 1 10rem;
	max-width: 14rem;
	min-height: 46px;
}

.gux-cartpage__actions .button {
	min-height: 46px;
}

/* Summary panel, matching the line-item panel and following the page down. */
.gux-cartpage__aside {
	position: sticky;
	top: calc(var(--header-h) + var(--sp-5));
	margin: 0;
	max-width: none;
	width: auto;
}

.cart_totals {
	margin: 0;
	max-width: none;
	padding: var(--sp-5);
	border: 1px solid var(--line);
	border-radius: var(--radius-xl);
	background:
		radial-gradient(ellipse 70% 100% at 15% 0%, rgba(42, 98, 242, 0.16), transparent 62%),
		linear-gradient(160deg, var(--ink-150), var(--ink-050));
}

.gux-cartpage__asidehead,
.woocommerce form.checkout #order_review_heading,
.woocommerce form.checkout #gux-details-heading {
	margin: 0 0 var(--sp-4);
	font-size: var(--type-subhead);
	font-variation-settings: 'wdth' 108;
	letter-spacing: -0.03em;
	line-height: 1.1;
}

/* The totals arrive as a table; render it as plain rows. */
.cart_totals table.shop_table,
.cart_totals table.shop_table tbody,
.cart_totals table.shop_table tr,
.cart_totals table.shop_table th,
.cart_totals table.shop_table td {
	display: block;
	width: auto;
	border: 0;
	background: none;
	padding: 0;
}

.cart_totals table.shop_table tr {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--sp-4);
	padding-block: var(--sp-3);
}

.cart_totals table.shop_table th {
	color: var(--text-mid);
	font-size: var(--type-ui-small);
	font-weight: 500;
	text-align: left;
}

.cart_totals table.shop_table td {
	color: var(--text-hi);
	font-size: var(--type-ui);
	font-weight: 600;
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.cart_totals .order-total td {
	font-size: var(--type-subhead);
	font-variation-settings: 'wdth' 108;
	letter-spacing: -0.03em;
	font-weight: 700;
}

.wc-proceed-to-checkout {
	margin-top: var(--sp-4);
	padding: 0;
}

.wc-proceed-to-checkout .button {
	width: 100%;
	justify-content: center;
	min-height: 52px;
	font-size: 1rem;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-accent);
}

.wc-proceed-to-checkout .button:hover {
	box-shadow: var(--shadow-accent-hover);
}

.gux-cartpage__aside .gux-minicart__note {
	margin-top: var(--sp-4);
}

@media (max-width: 900px) {
	.gux-cartpage {
		grid-template-columns: 1fr;
	}

	.gux-cartpage__aside {
		position: static;
	}
}

@media (max-width: 560px) {
	.gux-cartline {
		grid-template-columns: 64px minmax(0, 1fr) 34px;
		grid-template-areas:
			'media body remove'
			'media price remove';
		align-items: center;
		align-items: start;
		gap: var(--sp-2) var(--sp-3);
	}

	.gux-cartline__media { grid-area: media; }
	.gux-cartline__body { grid-area: body; }
	.gux-cartline__price { grid-area: price; }
	.gux-cartline__remove { grid-area: remove; }
	.gux-cartline__qty { display: none; }

	.gux-cartpage__actions .coupon .gux-input {
		max-width: none;
	}
}

/* ---- checkout ---- */

.woocommerce form.checkout {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 24rem);
	gap: var(--sp-6);
	align-items: start;
}

/* Both columns are panels. The details form used to sit as bare inputs on the
   page ground beside a carded summary, which read as an unfinished half. */
.woocommerce form.checkout #gux-details-heading {
	grid-column: 1;
	grid-row: 1;
}

.woocommerce form.checkout #customer_details {
	grid-column: 1;
	grid-row: 2;
	padding: var(--sp-6);
	border: 1px solid var(--line);
	border-radius: var(--radius-xl);
	background: var(--ink-050);
}

.woocommerce form.checkout #customer_details .col-1,
.woocommerce form.checkout #customer_details .col-2 {
	width: auto;
	float: none;
}

.woocommerce form.checkout #order_review_heading {
	grid-column: 2;
	grid-row: 1;
	margin: 0 0 var(--sp-4);
}

.woocommerce form.checkout #order_review {
	grid-column: 2;
	grid-row: 2;
	position: sticky;
	top: calc(var(--header-h) + var(--sp-5));
	padding: var(--sp-5);
	border: 1px solid var(--line);
	border-radius: var(--radius-xl);
	background:
		radial-gradient(ellipse 70% 100% at 15% 0%, rgba(42, 98, 242, 0.16), transparent 62%),
		linear-gradient(160deg, var(--ink-150), var(--ink-050));
}

.woocommerce form.checkout .woocommerce-billing-fields > h3 {
	display: none;
}

.woocommerce form .form-row {
	margin-bottom: var(--sp-4);
	padding: 0;
}

.woocommerce form .form-row-first,
.woocommerce form .form-row-last {
	width: 100%;
	float: none;
}

/* The order table inside the summary panel is plain rows, not a second card. */
.woocommerce-checkout-review-order table.shop_table,
.woocommerce-checkout-review-order table.shop_table tbody,
.woocommerce-checkout-review-order table.shop_table tfoot,
.woocommerce-checkout-review-order table.shop_table thead,
.woocommerce-checkout-review-order table.shop_table tr,
.woocommerce-checkout-review-order table.shop_table th,
.woocommerce-checkout-review-order table.shop_table td {
	display: block;
	width: auto;
	border: 0;
	background: none;
	padding: 0;
	border-radius: 0;
}

.woocommerce-checkout-review-order table.shop_table thead {
	display: none;
}

.woocommerce-checkout-review-order table.shop_table tr {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--sp-4);
	padding-block: var(--sp-3);
}

.woocommerce-checkout-review-order table.shop_table tbody tr + tr {
	border-top: 1px solid var(--line-soft);
}

.woocommerce-checkout-review-order table.shop_table tfoot tr:first-child {
	margin-top: var(--sp-3);
	padding-top: var(--sp-4);
	border-top: 1px solid var(--line);
}

.woocommerce-checkout-review-order .product-name {
	color: var(--text-hi);
	font-size: var(--type-ui-small);
	font-weight: 600;
	text-align: left;
}

.woocommerce-checkout-review-order .product-total,
.woocommerce-checkout-review-order td {
	color: var(--text-hi);
	font-size: var(--type-ui-small);
	font-weight: 600;
	text-align: right;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.woocommerce-checkout-review-order th {
	color: var(--text-mid);
	font-size: var(--type-ui-small);
	font-weight: 500;
	text-align: left;
}

.woocommerce-checkout-review-order .order-total th,
.woocommerce-checkout-review-order .order-total td {
	color: var(--text-hi);
}

.woocommerce-checkout-review-order .order-total td {
	font-size: var(--type-subhead);
	font-variation-settings: 'wdth' 108;
	letter-spacing: -0.03em;
	font-weight: 700;
}

/* Login and coupon prompts: one compact line each, not full-width slabs. */
.woocommerce-form-login-toggle,
.woocommerce-form-coupon-toggle {
	margin-bottom: var(--sp-4);
}

.woocommerce-form-login-toggle .woocommerce-info,
.woocommerce-form-coupon-toggle .woocommerce-info {
	margin: 0;
	padding: var(--sp-3) var(--sp-4);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.03);
	border-color: var(--line);
	color: var(--text-mid);
	font-size: var(--type-ui-small);
}

/* Checkout only. These are WooCommerce's collapsible panels on the checkout
   page; the auth panel's own sign-in form carries the same `login` class and
   must stay flat inside its parent panel. */
.woocommerce-checkout form.login,
.woocommerce-checkout form.checkout_coupon {
	margin: 0 0 var(--sp-5);
	padding: var(--sp-5);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--ink-050);
}

/* Belt and braces: nothing inside the auth panel paints its own surface. */
.gux-auth__panel form {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	border-radius: 0;
}

.woocommerce-checkout #payment {
	background: transparent;
	border-radius: var(--radius-lg);
	margin-top: var(--sp-4);
}

.woocommerce-checkout #payment ul.payment_methods {
	list-style: none;
	margin: 0 0 var(--sp-4);
	padding: 0;
	border: 0;
	display: grid;
	gap: var(--sp-2);
}

.woocommerce-checkout #payment ul.payment_methods li {
	padding: var(--sp-4);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.03);
	color: var(--text-mid);
	font-size: var(--type-ui-small);
}

.woocommerce-checkout #payment div.payment_box {
	background: rgba(255, 255, 255, 0.03);
	border-radius: var(--radius);
	padding: var(--sp-4);
	color: var(--text-mid);
	font-size: var(--type-ui-small);
}

.woocommerce-checkout #payment div.payment_box::before {
	display: none;
}

.woocommerce-checkout #payment .form-row.place-order {
	margin: 0;
	padding: 0;
}

.woocommerce-checkout #payment #place_order {
	width: 100%;
	min-height: 52px;
	font-size: 1rem;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-accent);
}

.woocommerce-privacy-policy-text p {
	font-size: var(--type-fine);
	color: var(--text-low);
	line-height: 1.5;
}

.woocommerce-terms-and-conditions-wrapper {
	margin-top: var(--sp-4);
}

/* Order received. */
.woocommerce-order .woocommerce-thankyou-order-received {
	font-size: var(--type-subhead);
	color: var(--text-hi);
	margin-bottom: var(--sp-5);
}

.woocommerce ul.order_details {
	list-style: none;
	margin: 0 0 var(--sp-6);
	padding: var(--sp-5);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, 0.02);
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-6);
}

.woocommerce ul.order_details li {
	display: flex;
	flex-direction: column;
	gap: var(--sp-1);
	font-size: var(--type-micro);
	font-weight: 600;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	color: var(--text-low);
	border: 0;
}

.woocommerce ul.order_details li strong {
	font-size: var(--type-ui);
	letter-spacing: -0.01em;
	text-transform: none;
	color: var(--text-hi);
}

/* The order-received page leads with the files, not the order table. */
.gux-thankyou-files {
	margin-bottom: var(--sp-7);
	padding: var(--sp-5);
	border: 1px solid rgba(42, 98, 242, 0.4);
	border-radius: var(--radius-xl);
	background:
		radial-gradient(ellipse 60% 120% at 10% 0%, rgba(42, 98, 242, 0.2), transparent 60%),
		linear-gradient(150deg, var(--ink-150), var(--ink-050));
}

.gux-filelist {
	list-style: none;
	margin: var(--sp-4) 0 0;
	padding: 0;
	display: grid;
	gap: var(--sp-3);
}

.gux-filelist li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-4);
	padding: var(--sp-4);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.03);
	flex-wrap: wrap;
}

.gux-filelist__name {
	font-weight: 600;
	font-size: var(--type-ui);
	color: var(--text-hi);
}

/* --------------------------------------------------------------------------
   15e2. Shared form language
   One input, one checkbox, one password field, one primary submit — used by
   auth, cart and checkout alike so the three surfaces read as one store.
   -------------------------------------------------------------------------- */

.gux-field__label {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--sp-4);
	margin-bottom: var(--sp-2);
}

.gux-field__aside {
	font-size: var(--type-fine);
	font-weight: 600;
	color: var(--text-mid);
}

.gux-field__aside:hover {
	color: var(--blue-300);
}

/* Password field with a reveal control that does not overlap the text. */
.gux-password {
	position: relative;
	display: block;
}

.gux-password .gux-input,
.gux-password input {
	padding-right: 3rem;
}

.gux-password__toggle {
	position: absolute;
	top: 50%;
	right: 0.5rem;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: var(--radius-sm);
	background: transparent;
	color: var(--text-low);
	cursor: pointer;
	transition: color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}

.gux-password__toggle:hover {
	color: var(--text-hi);
	background: rgba(255, 255, 255, 0.06);
}

/* WooCommerce ships its own reveal button and injects it via JS. It is
   unstyled without WooCommerce's CSS and rendered as a 6x16px white sliver. */
.woocommerce .show-password-input,
.woocommerce-page .show-password-input {
	position: absolute;
	top: 50%;
	right: 0.5rem;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	border-radius: var(--radius-sm);
	background: transparent;
	cursor: pointer;
	border: 0;
	color: var(--text-low);
}

.woocommerce .show-password-input::after {
	content: '';
	position: absolute;
	inset: 9px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%237e8798' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12S6 5.5 12 5.5 21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12z'/%3E%3Ccircle cx='12' cy='12' r='3.2'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
}

.woocommerce .password-input {
	position: relative;
	display: block;
	width: 100%;
}

/* Every native checkbox in a WooCommerce form, styled at source.
   WooCommerce renders these itself (terms, create-account, remember me), so
   they cannot all be wrapped in custom markup — restyling the control is the
   only fix that reaches all of them. Default is a 13x13px box that is
   invisible on a dark ground. */
.woocommerce input[type='checkbox'],
.gux-woo input[type='checkbox'],
.gux-auth input[type='checkbox']:not(.gux-check__input) {
	appearance: none;
	-webkit-appearance: none;
	flex: none;
	width: 20px;
	height: 20px;
	margin: 0 0.5rem 0 0;
	vertical-align: -4px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-xs);
	background: rgba(255, 255, 255, 0.04);
	cursor: pointer;
	transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}

.woocommerce input[type='checkbox']:checked,
.gux-woo input[type='checkbox']:checked {
	background-color: var(--blue-500);
	border-color: var(--blue-500);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l5 5 10-11'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
}

.woocommerce input[type='checkbox']:focus-visible,
.gux-woo input[type='checkbox']:focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: 2px;
}

/* Checkbox rows read as one line, not a floating box beside stray text. */
.woocommerce .woocommerce-form__label-for-checkbox,
.woocommerce label.checkbox {
	display: flex;
	align-items: flex-start;
	gap: var(--sp-1);
	cursor: pointer;
	color: var(--text-mid);
	font-size: var(--type-ui-small);
	line-height: 1.45;
}

/* select2 / selectWoo, used by the checkout country field. WooCommerce's own
   stylesheet for it is disabled by Storefront, so without this the control is
   a 1x1px native select beside an unstyled container — effectively unusable. */
.select2-container--default .select2-selection--single,
.select2-container .select2-selection--single {
	height: auto;
	min-height: 48px;
	padding: 0.8125rem 2.25rem 0.8125rem 1rem;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	display: flex;
	align-items: center;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	padding: 0;
	line-height: 1.3;
	color: var(--text-hi);
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
	color: var(--text-low);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 100%;
	right: 0.75rem;
	top: 0;
	width: 12px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
	border: 0;
	width: 12px;
	height: 12px;
	margin: -6px 0 0 -6px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237e8798' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
}

.select2-container--open .select2-selection--single {
	border-color: var(--blue-500);
	box-shadow: 0 0 0 3px rgba(42, 98, 242, 0.2);
}

.select2-dropdown {
	background: var(--ink-100);
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-lift);
	color: var(--text-hi);
}

.select2-container--default .select2-search--dropdown .select2-search__field {
	padding: 0.625rem 0.75rem;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	color: var(--text-hi);
}

.select2-container--default .select2-results__option {
	padding: 0.5rem 0.75rem;
	color: var(--text-mid);
	font-size: var(--type-ui-small);
	background: transparent;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
	background: var(--blue-500);
	color: #fff;
}

.select2-container--default .select2-results__option[aria-selected='true'],
.select2-container--default .select2-results__option[data-selected='true'] {
	background: rgba(255, 255, 255, 0.06);
	color: var(--text-hi);
}

/* Custom checkbox: the native control is 13x13px and unstyleable on dark. */
.gux-check {
	display: inline-flex;
	align-items: flex-start;
	gap: var(--sp-3);
	cursor: pointer;
	color: var(--text-mid);
	font-size: var(--type-ui-small);
	line-height: 1.4;
	min-height: 24px;
}

.gux-check__input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
}

.gux-check__box {
	flex: none;
	display: inline-grid;
	place-items: center;
	width: 20px;
	height: 20px;
	margin-top: 0.05rem;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-xs);
	background: rgba(255, 255, 255, 0.04);
	color: transparent;
	transition:
		background-color var(--dur-fast) var(--ease-out),
		border-color var(--dur-fast) var(--ease-out),
		color var(--dur-fast) var(--ease-out);
}

.gux-check__input:checked + .gux-check__box {
	background: var(--blue-500);
	border-color: var(--blue-500);
	color: #fff;
}

.gux-check__input:focus-visible + .gux-check__box {
	outline: 2px solid var(--focus);
	outline-offset: 2px;
}

.gux-check:hover .gux-check__box {
	border-color: rgba(255, 255, 255, 0.28);
}

/* --------------------------------------------------------------------------
   15f0. Sign in / create account
   -------------------------------------------------------------------------- */

.gux-auth {
	display: flex;
	justify-content: center;
	padding-block: var(--sp-7) var(--sp-9);
}

/* --- auth modal --- */

.gux-modal {
	width: min(27rem, calc(100vw - 2rem));
	max-height: calc(100vh - 3rem);
	padding: 0;
	border: 0;
	background: none;
	overflow: visible;
	color: var(--text-hi);
}

.gux-modal::backdrop {
	background: rgba(4, 5, 8, 0.72);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

/* <dialog> has no transition from display:none, so the entrance is driven by
   a class the script adds after showModal(). */
.gux-modal[open] .gux-auth__panel {
	animation: gux-modal-in var(--dur-slow) var(--ease-out) both;
}

@keyframes gux-modal-in {
	from {
		opacity: 0;
		transform: translateY(10px) scale(0.985);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.gux-auth--modal {
	display: block;
	padding: 0;
}

.gux-auth__panel--modal {
	max-width: none;
	max-height: calc(100vh - 3rem);
	overflow-y: auto;
	overscroll-behavior: contain;
}

.gux-auth__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-4);
	margin-bottom: var(--sp-6);
}

.gux-auth__head .gux-auth__brand {
	margin-bottom: 0;
}

.gux-auth__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	flex: none;
	border: 0;
	border-radius: var(--radius-sm);
	background: transparent;
	color: var(--text-low);
	cursor: pointer;
	transition: color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}

.gux-auth__close:hover {
	color: var(--text-hi);
	background: rgba(255, 255, 255, 0.06);
}

@media (prefers-reduced-motion: reduce) {
	.gux-modal[open] .gux-auth__panel {
		animation: none;
	}
}

.gux-auth__panel {
	width: 100%;
	max-width: 27rem;
	padding: clamp(var(--sp-5), 4vw, var(--sp-7));
	border: 1px solid var(--line);
	border-radius: var(--radius-xl);
	background:
		radial-gradient(ellipse 80% 60% at 50% 0%, rgba(42, 98, 242, 0.16), transparent 62%),
		linear-gradient(165deg, var(--ink-150), var(--ink-050) 72%);
	box-shadow: var(--shadow-lift);
}

.gux-auth__brand {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	margin-bottom: var(--sp-6);
	color: var(--text-hi);
	font-weight: 800;
	font-size: 1.25rem;
	font-variation-settings: 'wdth' 112;
	letter-spacing: -0.045em;
}

.gux-auth__brand:hover {
	color: var(--text-hi);
}

.gux-auth__tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--sp-1);
	padding: 0.25rem;
	margin-bottom: var(--sp-6);
	border: 1px solid var(--line);
	border-radius: var(--radius-pill);
	background: rgba(255, 255, 255, 0.03);
}

.gux-auth__tab {
	padding: 0.625rem 0.75rem;
	border: 0;
	border-radius: var(--radius-pill);
	background: transparent;
	color: var(--text-mid);
	font-size: var(--type-ui);
	font-weight: 600;
	cursor: pointer;
	min-height: 40px;
	transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.gux-auth__tab:hover {
	color: var(--text-hi);
}

.gux-auth__tab.is-active {
	background: var(--blue-500);
	color: #fff;
}

/* Panels are display:none rather than visually hidden, so the inactive form's
   fields stay out of the tab order entirely. */
.gux-auth__form {
	display: none;
}

.gux-auth__form.is-active {
	display: block;
}

.gux-auth__title {
	margin: 0 0 var(--sp-2);
	font-size: var(--type-subhead);
	font-variation-settings: 'wdth' 108;
	letter-spacing: -0.03em;
}

.gux-auth__sub {
	margin: 0 0 var(--sp-6);
	color: var(--text-mid);
	font-size: var(--type-ui-small);
}

/* WooCommerce's privacy paragraph is body-sized by default, which made it the
   loudest thing on the signup panel. It is fine print. */
.gux-auth .woocommerce-privacy-policy-text p,
.gux-auth .woocommerce-form__label-for-checkbox span,
.gux-auth__fine {
	font-size: var(--type-fine);
	line-height: 1.5;
	color: var(--text-low);
}

.gux-auth .woocommerce-privacy-policy-text {
	margin-bottom: var(--sp-5);
}

.gux-auth__note {
	margin: 0 0 var(--sp-5);
	padding: var(--sp-3) var(--sp-4);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.03);
	color: var(--text-mid);
	font-size: var(--type-fine);
}

.gux-auth .form-row,
.gux-auth .woocommerce-form-row {
	display: block;
	margin: 0 0 var(--sp-5);
	padding: 0;
}

.gux-auth label {
	display: block;
	margin-bottom: var(--sp-2);
	color: var(--text-mid);
	font-size: var(--type-ui-small);
	font-weight: 500;
}

.gux-auth .gux-field__label label {
	margin-bottom: 0;
}

.gux-auth input[type='text'],
.gux-auth input[type='email'],
.gux-auth input[type='password'] {
	width: 100%;
	padding: 0.8125rem 1rem;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--text-hi);
	min-height: 48px;
	transition: border-color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}

.gux-auth input:focus {
	outline: none;
	border-color: var(--blue-500);
	background: rgba(42, 98, 242, 0.07);
	box-shadow: 0 0 0 3px rgba(42, 98, 242, 0.2);
}

.gux-auth__row {
	margin-bottom: var(--sp-5);
}

/* Fully self-contained. This button previously inherited its blue from
   `.woocommerce .button`, but the modal renders in wp_footer, outside any
   .woocommerce wrapper — so inside the dialog it fell back to the browser
   default: grey with an outset border and near-invisible light text on it. */
.gux-auth__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 52px;
	padding: 0.9375rem 1.5rem;
	background: var(--blue-500);
	color: #fff;
	border: 1px solid transparent;
	border-radius: var(--radius-lg);
	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.2;
	cursor: pointer;
	box-shadow: var(--shadow-accent);
	transition:
		background-color var(--dur) var(--ease-out),
		box-shadow var(--dur) var(--ease-out),
		transform var(--dur-fast) var(--ease-out);
}

.gux-auth__submit:hover {
	background: var(--blue-400);
	color: #fff;
	box-shadow: var(--shadow-accent-hover);
}

.gux-auth__submit:active {
	transform: translateY(1px);
}

.gux-auth__submit:focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: 3px;
}

.gux-auth__submit[disabled] {
	opacity: 0.5;
	cursor: not-allowed;
	box-shadow: none;
	transform: none;
}

.gux-auth__switch {
	margin: var(--sp-7) 0 0;
	text-align: center;
	color: var(--text-mid);
	font-size: var(--type-ui-small);
}

.gux-auth__link {
	border: 0;
	background: none;
	padding: 0;
	color: var(--blue-300);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.gux-auth__link:hover {
	color: var(--blue-200);
}

/* The account shell is a single centred panel when signed out. */
.woocommerce-account:not(.logged-in) .woocommerce {
	display: block;
	max-width: none;
}

/* --------------------------------------------------------------------------
   15f. Account
   The files are the product after purchase, so Downloads leads.
   -------------------------------------------------------------------------- */

.woocommerce-account .woocommerce {
	display: grid;
	grid-template-columns: 15rem minmax(0, 1fr);
	gap: var(--sp-7);
	align-items: start;
}

.woocommerce-account .woocommerce::before,
.woocommerce-account .woocommerce::after {
	content: none;
}

/* Signed out, the account page is a single centred panel rather than the
   two-column account shell. Width is owned by .gux-auth__panel; capping the
   wrapper here as well pinned the panel to the left of the viewport. */
.woocommerce-account:not(.logged-in) .woocommerce {
	display: block;
	max-width: none;
}

.gux-accountnav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--sp-1);
	position: sticky;
	top: calc(var(--header-h) + var(--sp-5));
}

.gux-accountnav a {
	display: flex;
	align-items: center;
	gap: var(--sp-3);
	padding: 0.6875rem 0.875rem;
	border: 1px solid transparent;
	border-radius: var(--radius);
	color: var(--text-mid);
	font-size: var(--type-ui);
	font-weight: 600;
	transition:
		background-color var(--dur-fast) var(--ease-out),
		color var(--dur-fast) var(--ease-out),
		border-color var(--dur-fast) var(--ease-out);
}

.gux-accountnav a:hover {
	background: rgba(255, 255, 255, 0.05);
	color: var(--text-hi);
}

.gux-accountnav svg {
	flex: none;
	color: var(--text-low);
	transition: color var(--dur-fast) var(--ease-out);
}

.gux-accountnav a:hover svg {
	color: var(--text-mid);
}

.gux-accountnav .is-active a {
	background: rgba(42, 98, 242, 0.12);
	border-color: rgba(42, 98, 242, 0.42);
	color: var(--text-hi);
}

.gux-accountnav .is-active svg {
	color: var(--blue-300);
}

.gux-account-intro {
	padding: var(--sp-6);
	border: 1px solid var(--line);
	border-radius: var(--radius-xl);
	background:
		radial-gradient(ellipse 60% 120% at 12% 0%, rgba(42, 98, 242, 0.2), transparent 62%),
		linear-gradient(150deg, var(--ink-150), var(--ink-050));
	margin-bottom: var(--sp-6);
}

.gux-account-intro h2 {
	margin-bottom: var(--sp-2);
}

.gux-account-intro p {
	margin: 0 0 var(--sp-5);
	color: var(--text-mid);
	max-width: 48ch;
}

.woocommerce-MyAccount-content > h2,
.woocommerce-MyAccount-content > h3 {
	font-size: var(--type-subhead);
	font-variation-settings: 'wdth' 108;
	letter-spacing: -0.03em;
	margin-bottom: var(--sp-4);
}

.woocommerce table.my_account_orders td,
.woocommerce table.my_account_orders th,
.woocommerce-MyAccount-downloads td,
.woocommerce-MyAccount-downloads th {
	font-size: var(--type-ui-small);
}

.woocommerce .woocommerce-Message,
.woocommerce-MyAccount-content > p:first-child:last-child {
	color: var(--text-mid);
}

/* --------------------------------------------------------------------------
   15g. 404, search results, post lists
   -------------------------------------------------------------------------- */

.gux-404 {
	padding-block: clamp(var(--sp-8), 9vw, var(--sp-10)) var(--sp-8);
}

.gux-404__inner {
	max-width: 44rem;
}

.gux-404__title {
	margin-bottom: var(--sp-5);
}

.gux-404__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-3);
	margin-top: var(--sp-6);
}

.gux-404__search,
.gux-searchbar {
	display: flex;
	gap: var(--sp-3);
	flex-wrap: wrap;
	margin-top: var(--sp-6);
}

.gux-searchbar {
	margin-top: 0;
	margin-bottom: var(--sp-7);
}

.gux-404__searchfield,
.gux-searchbar__field {
	position: relative;
	flex: 1 1 18rem;
}

.gux-404__searchfield svg,
.gux-searchbar__field svg {
	position: absolute;
	left: 0.9rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--text-low);
	pointer-events: none;
}

.gux-404__searchfield .gux-input,
.gux-searchbar__field .gux-input {
	padding-left: 2.6rem;
	border-radius: var(--radius-pill);
}

.gux-404__cats,
.gux-empty__chips {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
	margin-top: var(--sp-6);
}

.gux-empty__chips {
	justify-content: center;
}

.gux-results + .gux-results {
	margin-top: var(--sp-9);
}

.gux-results__title {
	margin-bottom: var(--sp-5);
}

.gux-postlist {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: var(--sp-5);
	max-width: 68ch;
}

.gux-postlist__item {
	padding-bottom: var(--sp-5);
}

.gux-postlist__item:last-child {
	padding-bottom: 0;
}

.gux-postlist__heading {
	margin: 0 0 var(--sp-2);
	font-size: var(--type-subhead);
	font-variation-settings: 'wdth' 108;
	letter-spacing: -0.03em;
	color: var(--text-hi);
}

.gux-postlist a:hover .gux-postlist__heading {
	color: var(--blue-300);
}

.gux-postlist__excerpt {
	margin: 0;
	color: var(--text-mid);
	font-size: var(--type-ui-small);
}

.gux-postthumb {
	margin-bottom: var(--sp-6);
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--line);
}

/* Core pagination, matching the WooCommerce one. */
.gux-pagination,
.wp-block-query-pagination {
	margin-top: var(--sp-8);
}

.gux-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--sp-2);
}

.gux-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding-inline: 0.75rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.03);
	color: var(--text-mid);
	font-size: var(--type-ui);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.gux-pagination .page-numbers.current {
	background: var(--blue-500);
	border-color: var(--blue-500);
	color: #fff;
}

.gux-pagination .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}

/* --------------------------------------------------------------------------
   15h. Secondary-surface responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1000px) {
	.woocommerce form.checkout {
		grid-template-columns: 1fr;
		gap: var(--sp-6);
	}

	.woocommerce form.checkout #customer_details,
	.woocommerce form.checkout #order_review_heading,
	.woocommerce form.checkout #order_review {
		grid-column: 1;
	}

	.woocommerce form.checkout #order_review {
		position: static;
	}

	.woocommerce-account .woocommerce {
		grid-template-columns: 1fr;
		gap: var(--sp-5);
	}

	.gux-accountnav ul {
		position: static;
		flex-direction: row;
		flex-wrap: wrap;
	}

	.gux-woo div.product .entry-summary,
	.gux-woo div.product .summary {
		position: static;
	}
}

@media (max-width: 700px) {

	.gux-spec__row {
		grid-template-columns: 1fr;
		gap: var(--sp-1);
	}

	/* A cart table cannot hold five columns on a phone; stack each line into
	   its own card with the header text as the row label. */
	.woocommerce table.shop_table_responsive thead,
	.woocommerce table.shop_table_responsive .product-thumbnail {
		display: none;
	}

	.woocommerce table.shop_table_responsive tr {
		display: block;
		padding: var(--sp-4);
		border-bottom: 1px solid var(--line-soft);
	}

	.woocommerce table.shop_table_responsive td {
		display: flex;
		justify-content: space-between;
		gap: var(--sp-4);
		padding: var(--sp-2) 0;
		border: 0;
		text-align: right;
	}

	.woocommerce table.shop_table_responsive td::before {
		content: attr(data-title) ':';
		font-size: var(--type-micro);
		font-weight: 700;
		letter-spacing: 0.11em;
		text-transform: uppercase;
		color: var(--text-low);
		text-align: left;
	}
}

/* --------------------------------------------------------------------------
   16. Scroll reveal
   Content is visible by default; JS opts in to the animated entrance, so a
   failed script or a blocked observer never hides the page.
   -------------------------------------------------------------------------- */

.gux-js .gux-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}

.gux-js .gux-reveal.is-in {
	opacity: 1;
	transform: none;
}

/* --------------------------------------------------------------------------
   17. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
	.gux-header__search {
		display: none;
	}

}

@media (max-width: 900px) {
	:root {
		--header-h: 64px;
	}

	.gux-nav {
		display: none;
	}

	.gux-burger {
		display: inline-flex;
	}

	/* Two columns instead of four: the other two would render entirely outside
	   a 390px viewport, costing layout and decode for pixels nobody sees. */
	.gux-wall {
		justify-content: flex-end;
		padding-right: 0;
		opacity: 0.42;
		-webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 28%, #000 72%, transparent 100%);
		mask-image: linear-gradient(to bottom, transparent 0%, #000 28%, #000 72%, transparent 100%);
	}

	.gux-wall__col:nth-child(n + 3) {
		display: none;
	}

	/* The scrim turns vertical, because the statement now sits over the wall
	   rather than beside it. */
	.gux-hero::after {
		background: linear-gradient(
			to bottom,
			var(--ink-000) 0%,
			rgba(6, 7, 10, 0.86) 55%,
			rgba(6, 7, 10, 0.7) 100%
		);
	}

	.gux-hero {
		padding-block: var(--sp-8) var(--sp-8);
	}

	.gux-hero__inner {
		max-width: 100%;
	}

	.gux-footer__top {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.gux-grid {
		grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
		gap: var(--sp-5) var(--sp-3);
	}

	.gux-cats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gux-cat {
		min-height: 150px;
		padding: var(--sp-4);
	}

	.gux-cat__motif {
		width: 60px;
		height: 60px;
	}

	.gux-hero__actions .gux-btn {
		flex: 1 1 100%;
	}

	.gux-footer__top {
		grid-template-columns: 1fr;
	}

	/* Touch has no hover, so the quick action stays visible. */
	.gux-card__quick {
		position: static;
		opacity: 1;
		transform: none;
		margin-top: var(--sp-3);
	}

	/* Two narrow columns cannot carry title and price on one line without
	   forcing the title into three wrapped lines; stack them instead. */
	.gux-card__body {
		flex-direction: column;
		gap: var(--sp-2);
	}

	.gux-card__price {
		order: -1;
		font-size: var(--type-ui-small);
	}

	.gux-card__title {
		font-size: var(--type-ui-small);
	}

	/* Only the status badge survives at this width — the format list belongs
	   to the product page, where there is room to read it. */
	.gux-card__badges .gux-badge:not(.gux-badge--new) {
		display: none;
	}
}

/* Mobile navigation panel. */
.gux-mobilenav {
	position: fixed;
	inset: var(--header-h) 0 0;
	z-index: 55;
	background: rgba(6, 7, 10, 0.97);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	padding: var(--sp-5) var(--shell-pad) var(--sp-8);
	overflow-y: auto;
	transform: translateY(-8px);
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility var(--dur);
}

.gux-mobilenav.is-open {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.gux-mobilenav ul {
	list-style: none;
	margin: 0 0 var(--sp-6);
	padding: 0;
	display: flex;
	flex-direction: column;
}

.gux-mobilenav a {
	display: block;
	padding: var(--sp-4) 0;
	border-bottom: 1px solid var(--line-soft);
	color: var(--text-hi);
	font-size: 1.125rem;
	font-weight: 600;
	letter-spacing: -0.02em;
}

/* --------------------------------------------------------------------------
   18. Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}

	.gux-atmos__field {
		animation: none;
	}

	/* The wall stops rather than jumping: show a static slice of it. */
	.gux-wall__track {
		animation: none;
	}

	.gux-js .gux-reveal {
		opacity: 1;
		transform: none;
	}

	.gux-card__quick {
		opacity: 1;
		transform: none;
	}
}

/* Trader identification. Estonian and EU law require the company name,
   registry code, address and contact to be reachable from every page. */
.gux-footer__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sp-1) var(--sp-2);
	max-width: 70ch;
}

.gux-footer__sep {
	color: var(--ink-250);
}


/* --------------------------------------------------------------------------
   19. Cookie consent
   Reject carries the same visual weight as accept — a quieter "reject" is the
   dark pattern regulators single out.
   -------------------------------------------------------------------------- */

.gux-consent-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 80;
	background: rgba(10, 12, 17, 0.94);
	backdrop-filter: blur(20px) saturate(140%);
	-webkit-backdrop-filter: blur(20px) saturate(140%);
	border-top: 1px solid var(--line);
	box-shadow: var(--shadow-bar);
}

/* Set by the script while the bar is showing. */
.gux-page {
	padding-bottom: var(--gux-consent-h, 0px);
}

.gux-consent-bar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-5);
	padding-block: var(--sp-4);
	flex-wrap: wrap;
}

.gux-consent-bar__text {
	margin: 0;
	flex: 1 1 32rem;
	min-width: 0;
	color: var(--text-mid);
	font-size: var(--type-ui-small);
	line-height: 1.5;
	max-width: 74ch;
}

.gux-consent-bar__actions {
	display: flex;
	align-items: center;
	gap: var(--sp-2);
	flex: none;
	flex-wrap: wrap;
}

.gux-consent-bar__actions .gux-btn {
	min-height: 44px;
}

/* Preferences dialog */
.gux-consent-modal {
	width: min(34rem, calc(100vw - 2rem));
}

.gux-consent-panel {
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-xl);
	background: linear-gradient(165deg, var(--ink-150), var(--ink-050) 78%);
	box-shadow: var(--shadow-lift);
	max-height: calc(100vh - 3rem);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.gux-consent-panel__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-4);
	padding: var(--sp-5) var(--sp-5) var(--sp-4);
}

.gux-consent-panel__title {
	margin: 0;
	font-size: var(--type-subhead);
	font-variation-settings: 'wdth' 108;
	letter-spacing: -0.03em;
	line-height: 1.1;
}

.gux-consent-panel__body {
	padding: 0 var(--sp-5);
	overflow-y: auto;
	overscroll-behavior: contain;
	display: grid;
	gap: var(--sp-4);
}

.gux-consent-cat {
	padding: var(--sp-4);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, 0.02);
}

.gux-consent-cat__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-4);
	cursor: pointer;
}

.gux-consent-cat__label {
	font-size: var(--type-ui);
	font-weight: 700;
	letter-spacing: -0.015em;
	color: var(--text-hi);
}

.gux-consent-cat__always {
	font-size: var(--type-micro);
	font-weight: 600;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	color: var(--text-low);
}

.gux-consent-cat__input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.gux-consent-cat__switch {
	position: relative;
	flex: none;
	width: 46px;
	height: 26px;
	border-radius: var(--radius-pill);
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid var(--line-strong);
	transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}

.gux-consent-cat__switch::after {
	content: '';
	position: absolute;
	top: 3px;
	left: 3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--text-mid);
	transition: transform var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}

.gux-consent-cat__input:checked + .gux-consent-cat__switch {
	background: var(--blue-500);
	border-color: var(--blue-500);
}

.gux-consent-cat__input:checked + .gux-consent-cat__switch::after {
	transform: translateX(20px);
	background: #fff;
}

.gux-consent-cat__input:focus-visible + .gux-consent-cat__switch {
	outline: 2px solid var(--focus);
	outline-offset: 3px;
}

.gux-consent-cat__desc {
	margin: var(--sp-3) 0 0;
	color: var(--text-mid);
	font-size: var(--type-fine);
	line-height: 1.5;
}

.gux-consent-panel__foot {
	display: flex;
	gap: var(--sp-3);
	padding: var(--sp-5);
}

.gux-consent-panel__foot .gux-btn {
	flex: 1 1 0;
	justify-content: center;
	min-height: 48px;
}

.gux-consent-link {
	border: 0;
	background: none;
	padding: 0;
	color: inherit;
	font: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}

.gux-consent-link:hover {
	color: var(--text-hi);
}

.gux-footer__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sp-1) var(--sp-2);
}

@media (max-width: 720px) {
	.gux-consent-bar__inner {
		align-items: stretch;
	}

	.gux-consent-bar__actions .gux-btn {
		flex: 1 1 8rem;
		justify-content: center;
	}
}
