/*
 * Nexus — front-end components.
 *
 * Tokens come from theme.json (var(--wp--preset--…)). The short aliases below
 * exist only to keep this file readable; patterns should use the preset
 * classes/vars or the component classes documented in ARCHITECTURE.md.
 *
 * Sections:
 *  1. Aliases & base          7. Home components (hero, marquee, games, pack, countdown…)
 *  2. Layout & sections       8. Motion: reveal, tilt, intro
 *  3. Components & blocks     9. WooCommerce (cards, single, shop, cart/checkout, mini-cart, account)
 *  4. Header & mega menu     10. Forms
 *  5. Mobile drawer          11. Pages: posts, 404, page heads
 *  6. Footer                 12. Reduced motion
 *                            13. Content patterns (hero extras, page heads, steps, calendar, FAQ, legal…)
 */

/* ------------------------------------------------------------------ 1. Aliases & base */
:root {
	--nx-bg: var(--wp--preset--color--base, #0B0B0C);
	--nx-bg-2: var(--wp--preset--color--base-2, #0F0F11);
	--nx-bg-3: var(--wp--preset--color--base-3, #08080A);
	--nx-surface: var(--wp--preset--color--surface, #131315);
	--nx-surface-2: var(--wp--preset--color--surface-2, #1A1A1D);
	--nx-line: var(--wp--preset--color--line, #222226);
	--nx-line-2: var(--wp--preset--color--line-2, #2A2A2F);
	--nx-line-3: var(--wp--preset--color--line-3, #3A3A40);
	--nx-line-4: var(--wp--preset--color--line-4, #4A4A52);
	--nx-text: var(--wp--preset--color--contrast, #F3F1ED);
	--nx-muted: var(--wp--preset--color--muted, #C9C7C2);
	--nx-muted-2: var(--wp--preset--color--muted-2, #A6A6AD);
	--nx-subtle: var(--wp--preset--color--subtle, #8A8A92);
	--nx-red: var(--wp--preset--color--accent, #D42A31);
	--nx-red-text: var(--wp--preset--color--accent-text, #EF5A5F);
	--nx-red-deep: var(--wp--preset--color--accent-deep, #140D0E);
	--nx-display: var(--wp--preset--font-family--display, 'Cormorant Garamond', serif);
	--nx-body: var(--wp--preset--font-family--body, 'Zen Kaku Gothic New', sans-serif);
	--nx-ease: var(--wp--custom--ease, cubic-bezier(.2, .8, .2, 1));
	--nx-ease-out: var(--wp--custom--ease-out, cubic-bezier(.2, .7, .2, 1));
	--nx-gutter: var(--wp--custom--gutter, clamp(1rem, 4vw, 3rem));
	--nx-announce-h: var(--wp--custom--announce-height, 38px);
	--nx-wide: var(--wp--style--global--wide-size, 1280px);
	--nx-field-h: 50px;
	color-scheme: dark;
}

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
body {
	background: var(--nx-bg);
	color: var(--nx-text);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
::selection { background: var(--nx-red); color: #fff; }
:focus-visible { outline: 2px solid var(--nx-red-text); outline-offset: 3px; }
:where(a, button, input, select, textarea, summary) { -webkit-tap-highlight-color: transparent; }
img { height: auto; max-width: 100%; }
:where(input, select, textarea, button) { box-sizing: border-box; max-width: 100%; }
:lang(ja) { line-break: strict; word-break: normal; overflow-wrap: anywhere; }
[lang="ja"] { letter-spacing: inherit; }
:where(h1, h2, h3, h4) { text-wrap: balance; }
:where(p) { text-wrap: pretty; }
hr { border: 0; border-top: 1px solid var(--nx-line-2); }

.screen-reader-text,
.nx-sr {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; width: 1px; word-wrap: normal !important;
}

.nx-icon { display: inline-block; flex: none; vertical-align: middle; }

/* ------------------------------------------------------------------ 2. Layout & sections */
.wp-site-blocks > * { margin-block: 0; }
.wp-site-blocks { padding-block: 0; }
.nx-main { padding-bottom: var(--wp--preset--spacing--80); }
.nx-main--home,
.nx-main--wide { padding-bottom: 0; }
.nx-main > :first-child { margin-block-start: 0; }

.nx-section {
	padding-top: var(--wp--preset--spacing--80);
	padding-bottom: var(--wp--preset--spacing--80);
	border-bottom: 1px solid var(--nx-line);
}
.nx-section--raised { background: var(--nx-bg-2); }
.nx-section--cta { padding-top: var(--wp--preset--spacing--70); padding-bottom: var(--wp--preset--spacing--70); }
.nx-section-head { display: flex; flex-direction: column; gap: .75rem; margin-bottom: var(--wp--preset--spacing--60); }
.nx-section-head > * { margin: 0; }
.nx-section-title {
	font-family: var(--nx-display);
	font-size: var(--wp--preset--font-size--xxxl);
	font-weight: 500;
	line-height: 1.05;
}
.nx-lead { color: var(--nx-muted-2); font-size: var(--wp--preset--font-size--md); max-width: 34em; }

/* Small red Japanese/uppercase kicker above titles. */
.nx-eyebrow {
	margin: 0;
	font-size: var(--wp--preset--font-size--xs);
	letter-spacing: var(--wp--custom--tracking--eyebrow, .4em);
	color: var(--nx-red-text);
	text-transform: uppercase;
}
.nx-label {
	font-size: var(--wp--preset--font-size--xs);
	letter-spacing: var(--wp--custom--tracking--label, .16em);
	text-transform: uppercase;
	color: var(--nx-subtle);
}

/* Page heads (archives, pages, cart, checkout). */
.nx-pagehead { padding-top: var(--wp--preset--spacing--60); padding-bottom: var(--wp--preset--spacing--50); display: flex; flex-direction: column; gap: .75rem; }
.nx-pagehead > * { margin: 0 !important; }
.nx-pagehead h1,
.nx-pagehead .wp-block-query-title,
.nx-pagehead .wp-block-post-title { font-size: var(--wp--preset--font-size--xxxl); line-height: 1.05; }
.nx-pagehead .wp-block-term-description { max-width: 40em; color: var(--nx-muted-2); }
.nx-pagehead--term { border-bottom: 1px solid var(--nx-line); margin-bottom: var(--wp--preset--spacing--50); }
.nx-pagehead--page,
.nx-pagehead--post { padding-top: var(--wp--preset--spacing--70); }

.nx-content:not(.nx-content--wide) > * + * { margin-block-start: 1.25em; }
.nx-content:not(.nx-content--wide) :where(h2, h3) { margin-block-start: 2em; }
.nx-content:not(.nx-content--wide) :where(p, li) { color: var(--nx-muted); }
.nx-content--wide > .alignfull:first-child { margin-top: 0; }
.nx-content--wide > .alignfull,
.nx-main--home > .alignfull { margin-block: 0; }

/* ------------------------------------------------------------------ 3. Components & blocks */
/* Underline-on-hover link (mockup .nx-ul). */
.nx-ul,
.nx-ul:visited { position: relative; color: inherit; text-decoration: none; }
.nx-ul::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px;
	background: var(--nx-red); transform: scaleX(0); transform-origin: right;
	transition: transform .45s var(--nx-ease);
}
.nx-ul:hover::after,
.nx-ul:focus-visible::after { transform: scaleX(1); transform-origin: left; }

/* Badges */
.nx-badge {
	display: inline-flex; align-items: center; gap: .4em;
	padding: 3px 10px;
	font-family: var(--nx-body); font-size: .75rem; font-weight: 500; line-height: 1.5;
	letter-spacing: .12em; text-transform: uppercase;
	border: 1px solid var(--nx-line-4); color: var(--nx-muted);
	background: transparent;
	white-space: nowrap;
}
.nx-badge--preorder,
.nx-badge--red { background: var(--nx-red); border-color: var(--nx-red); color: #fff; }

/* Foil sheen overlay (place inside a position:relative element). */
.nx-foil {
	position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .10) 42%, rgba(239, 90, 95, .18) 48%, rgba(170, 200, 255, .12) 54%, transparent 66%);
	background-size: 260% 100%;
	mix-blend-mode: screen;
	animation: nxSheen 7s linear infinite;
}

/* Logo: metallic on black → lighten blend melts the black into any dark surface. */
/* Rule: no ancestor between .nx-logo and an opaque dark background may create a
   stacking context (z-index, opacity<1, transform, filter, isolation) unless that
   ancestor paints its own dark background — otherwise the blend has nothing to lighten. */
.nx-logo { display: block; mix-blend-mode: lighten; filter: brightness(.95) contrast(1.25); }

/* Square icon button (search/account/menu). */
.nx-icon-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; padding: 0;
	background: transparent; color: var(--nx-text);
	border: 1px solid var(--nx-line-2);
	cursor: pointer; text-decoration: none;
	transition: border-color .3s, color .3s, box-shadow .35s;
}
.nx-icon-btn:hover,
.nx-icon-btn:focus-visible { border-color: var(--nx-red-text); color: #fff; box-shadow: 0 0 28px rgba(212, 42, 49, .28); }

/* Buttons: base comes from theme.json elements.button; here only motion + variations. */
.wp-element-button,
.wp-block-button__link {
	position: relative; overflow: hidden;
	display: inline-flex; align-items: center; justify-content: center; gap: .75em;
	cursor: pointer;
	transition: transform .35s var(--nx-ease), box-shadow .35s ease, border-color .25s, color .25s, background-color .3s;
}
.wp-element-button::before,
.wp-block-button__link::before {
	content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%;
	background: rgba(255, 255, 255, .18);
	transform: translateX(-180%) skewX(-20deg);
	transition: transform .7s ease; pointer-events: none;
}
.wp-element-button:hover::before,
.wp-block-button__link:hover::before { transform: translateX(340%) skewX(-20deg); }
.wp-element-button:disabled,
.wp-element-button[aria-disabled="true"] { opacity: .5; cursor: not-allowed; box-shadow: none; }

.wp-block-button.is-style-ghost .wp-block-button__link {
	background: transparent; color: var(--nx-text); border-color: var(--nx-line-4);
}
.wp-block-button.is-style-ghost .wp-block-button__link:hover {
	border-color: var(--nx-red-text); color: #fff; box-shadow: 0 0 28px rgba(212, 42, 49, .28);
}
.wp-block-button.is-style-light .wp-block-button__link { background: var(--nx-text); border-color: var(--nx-text); color: var(--nx-bg); }
.wp-block-button.is-style-light .wp-block-button__link:hover { color: var(--nx-bg); box-shadow: 0 0 32px rgba(243, 241, 237, .25); }
.wp-block-button.is-style-link .wp-block-button__link {
	background: transparent; border: 0; padding: 0 0 4px; color: var(--nx-text); box-shadow: none;
}
.wp-block-button.is-style-link .wp-block-button__link::before { display: none; }
.wp-block-button.is-style-link .wp-block-button__link::after {
	content: "→"; color: var(--nx-red-text); transition: transform .35s var(--nx-ease);
}
.wp-block-button.is-style-link .wp-block-button__link:hover::after { transform: translateX(4px); }
/* Keep outline style (core) on-brand too. */
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--nx-text); border-color: var(--nx-line-4); }

/* Group styles */
.wp-block-group.is-style-panel { background: var(--nx-surface); border: 1px solid var(--nx-line); padding: clamp(1.5rem, 3vw, 3rem); }
.wp-block-group.is-style-lined { border-top: 1px solid var(--nx-line-2); padding-top: var(--wp--preset--spacing--50); }
.wp-block-group.is-style-notice { border: 1px solid var(--nx-red); background: var(--nx-red-deep); padding: 1.1rem 1.25rem; }

.wp-block-separator.is-style-accent { border: 0; height: 1px; background: var(--nx-red); box-shadow: 0 0 18px 2px rgba(212, 42, 49, .6); opacity: 1; width: min(1100px, 90%); }

.wp-block-list.is-style-ruled { list-style: none; padding: 0; border-top: 1px solid var(--nx-line-2); }
.wp-block-list.is-style-ruled > li { padding: 1rem .5rem; border-bottom: 1px solid var(--nx-line-2); margin: 0; }

/* details / FAQ */
.wp-block-details.is-style-faq,
.nx-faq details { border-bottom: 1px solid var(--nx-line-2); padding: 0; }
.wp-block-details.is-style-faq > summary,
.nx-faq summary {
	list-style: none; cursor: pointer;
	display: flex; justify-content: space-between; align-items: center; gap: 1rem;
	padding: 1.25rem .25rem; font-size: var(--wp--preset--font-size--md); font-weight: 500;
	transition: color .25s;
}
.wp-block-details.is-style-faq > summary::-webkit-details-marker,
.nx-faq summary::-webkit-details-marker { display: none; }
.wp-block-details.is-style-faq > summary::after,
.nx-faq summary::after {
	content: ""; flex: none; width: 10px; height: 10px;
	border-right: 1.5px solid var(--nx-red-text); border-bottom: 1.5px solid var(--nx-red-text);
	transform: rotate(45deg) translate(-2px, -2px); transition: transform .35s var(--nx-ease);
}
.wp-block-details.is-style-faq[open] > summary::after,
.nx-faq details[open] summary::after { transform: rotate(-135deg); }
.wp-block-details.is-style-faq > summary:hover,
.nx-faq summary:hover { color: var(--nx-red-text); }
.wp-block-details.is-style-faq > :not(summary),
.nx-faq details > :not(summary) { padding: 0 .25rem 1.25rem; color: var(--nx-muted); margin: 0; }
[data-nx-faq-filter] { cursor: pointer; }
[data-nx-faq-filter][aria-pressed="true"] { border-color: var(--nx-red); color: #fff; background: var(--nx-red); }

/* Chips (filter pills, game/type links). */
.nx-chip {
	display: inline-flex; align-items: center; gap: .6rem;
	min-height: 44px; padding: 0 1.25rem;
	border: 1px solid var(--nx-line-3); background: transparent; color: var(--nx-text);
	font-size: var(--wp--preset--font-size--sm); letter-spacing: .04em; text-decoration: none;
	transition: border-color .3s, color .3s, transform .3s var(--nx-ease), box-shadow .3s;
}
.nx-chip:hover { border-color: var(--nx-red); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(212, 42, 49, .2); color: #fff; }

/* Tables */
.wp-block-table table { border-collapse: collapse; width: 100%; }
.wp-block-table :where(th, td) { border: 1px solid var(--nx-line-2); padding: .75rem 1rem; }
.wp-block-table thead { border-bottom: 1px solid var(--nx-line-3); }
.wp-block-table th { color: var(--nx-muted-2); font-weight: 500; font-size: var(--wp--preset--font-size--sm); text-align: left; }

/* Core search block (inline variant used on search/404 pages). */
.nx-search-inline .wp-block-search__inside-wrapper { border: 1px solid var(--nx-line-3); background: var(--nx-surface); padding: 0; }
.nx-search-inline .wp-block-search__input { border: 0; background: transparent; color: var(--nx-text); height: var(--nx-field-h); padding: 0 1rem; }
.nx-search-inline .wp-block-search__button { margin: 0; padding: 0 1.1rem; }

/* ------------------------------------------------------------------ 4. Header & mega menu */
.nx-skip {
	position: absolute; left: 1rem; top: -100px; z-index: 1000;
	padding: .75rem 1.25rem; background: var(--nx-red); color: #fff;
	font-weight: 500; text-decoration: none;
}
.nx-skip:focus { top: 1rem; color: #fff; }

.nx-site-header {
	position: sticky;
	top: calc(var(--wp-admin--admin-bar--height, 0px) - var(--nx-announce-h));
	z-index: 100;
}
.nx-site-header--checkout { top: var(--wp-admin--admin-bar--height, 0px); }

.nx-announce {
	height: var(--nx-announce-h);
	display: flex; align-items: center;
	background: var(--nx-bg);
	border-bottom: 1px solid var(--nx-line);
	overflow: hidden;
}
.nx-announce__text {
	margin: 0 auto !important;
	display: flex; justify-content: center; align-items: center; gap: .75rem;
	font-size: var(--wp--preset--font-size--xs); letter-spacing: .12em; text-transform: uppercase;
	color: var(--nx-muted-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nx-announce__text a { color: var(--nx-muted); text-decoration: none; overflow: hidden; text-overflow: ellipsis; }
.nx-announce__text a:hover { color: var(--nx-red-text); }
.nx-announce__dot { width: 4px; height: 4px; background: var(--nx-red); flex: none; animation: nxBlink 2.4s ease-in-out infinite; }
@media (max-width: 720px) {
	.nx-announce__text > span:first-child,
	.nx-announce__dot { display: none; }
}

.nx-header {
	position: relative;
	background: rgba(11, 11, 12, .92);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--nx-line);
	transition: box-shadow .35s ease;
}
.nx-site-header.is-scrolled .nx-header { box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.nx-header__bar { min-height: 80px; gap: 1.25rem !important; padding-block: 6px; }
.nx-header__logo { display: block; width: 68px; height: 68px; flex: none; overflow: hidden; }
.nx-header__logo .nx-logo { width: 68px; height: 68px; object-fit: cover; }

.nx-nav { flex: 1 1 auto; display: flex; justify-content: center; }
.nx-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(.9rem, 1.6vw, 1.9rem); }
.nx-nav__item { display: flex; align-items: center; }
.nx-nav__link {
	position: relative; display: inline-flex; align-items: center; gap: .5rem;
	padding: .5rem 0; color: var(--nx-text); text-decoration: none;
	font-size: var(--wp--preset--font-size--sm); letter-spacing: .04em; white-space: nowrap;
}
.nx-nav__link::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--nx-red);
	transform: scaleX(0); transform-origin: right; transition: transform .45s var(--nx-ease);
}
.nx-nav__link:hover { color: var(--nx-text); }
.nx-nav__link:hover::after,
.nx-nav__link[aria-current="page"]::after,
.nx-nav__item--mega.is-open > .nx-nav__link::after { transform: scaleX(1); transform-origin: left; }
.nx-nav__dot { width: 5px; height: 5px; background: var(--nx-red); }
.nx-nav__toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 30px; height: 40px; margin-left: 2px; padding: 0;
	background: transparent; border: 0; color: var(--nx-muted-2); cursor: pointer;
}
.nx-nav__toggle .nx-icon { transition: transform .4s var(--nx-ease); }
.nx-nav__toggle[aria-expanded="true"] .nx-icon { transform: rotate(180deg); }
.nx-nav__toggle:hover { color: var(--nx-text); }

.nx-mega {
	position: absolute; left: 0; right: 0; top: 100%;
	background: #0E0E10;
	border-top: 1px solid var(--nx-line);
	border-bottom: 1px solid var(--nx-line-2);
	box-shadow: 0 40px 80px rgba(0, 0, 0, .6);
	animation: nxDrop .45s var(--nx-ease) both;
}
html:not(.nx-js) .nx-nav__item--mega:hover .nx-mega,
html:not(.nx-js) .nx-nav__item--mega:focus-within .nx-mega { display: block; }
.nx-mega__inner {
	max-width: var(--nx-wide); margin: 0 auto;
	padding: 2.25rem var(--nx-gutter) 2.5rem;
	display: flex; flex-wrap: wrap; gap: clamp(1.75rem, 4vw, 3.5rem);
}
.nx-mega__col { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.nx-mega__col--games { flex: 2 1 420px; }
.nx-mega__col--types { flex: 1 1 200px; }
.nx-mega__title { margin: 0; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--nx-subtle); }
.nx-mega__title [lang="ja"] { margin-left: .5rem; letter-spacing: .3em; color: var(--nx-red-text); }
.nx-mega__games,
.nx-mega__types { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--nx-line); }
.nx-mega__games { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.75rem; }
.nx-mega__games li,
.nx-mega__types li { border-bottom: 1px solid var(--nx-line); }
.nx-mega__game,
.nx-mega__type {
	display: flex; align-items: center; gap: .9rem; color: var(--nx-text); text-decoration: none;
	transition: color .25s, transform .35s var(--nx-ease);
}
.nx-mega__game { min-height: 62px; }
.nx-mega__type { min-height: 50px; justify-content: space-between; font-size: .9375rem; }
.nx-mega__type .nx-icon { color: var(--nx-red-text); }
.nx-mega__game:hover,
.nx-mega__type:hover { transform: translateX(4px); color: var(--nx-red-text); }
.nx-mega__num { width: 22px; font-size: .75rem; letter-spacing: .16em; color: var(--nx-subtle); }
.nx-mega__name { display: flex; flex-direction: column; line-height: 1.3; font-family: var(--nx-display); font-size: 1.3125rem; }
.nx-mega__ja { font-family: var(--nx-body); font-size: .8125rem; letter-spacing: .06em; color: var(--nx-muted-2); }
.nx-mega__all { align-self: flex-start; font-size: var(--wp--preset--font-size--xs); letter-spacing: .14em; text-transform: uppercase; padding-bottom: 3px; }
.nx-mega__feature {
	flex: 1 1 260px; position: relative; overflow: hidden;
	display: flex; align-items: center; gap: 1.1rem; padding: 1.25rem;
	border: 1px solid var(--nx-line-2); background: #111113; color: var(--nx-text); text-decoration: none;
	transition: background-color .35s, border-color .35s;
}
.nx-mega__feature:hover { background: var(--nx-surface); border-color: var(--nx-red); color: var(--nx-text); }
.nx-mega__feature-art {
	position: relative; flex: none; width: 86px; aspect-ratio: 4 / 5; overflow: hidden;
	background: var(--nx-surface-2); border: 1px solid var(--nx-line-3);
}
.nx-mega__feature-img { width: 100%; height: 100%; object-fit: contain; }
.nx-mega__feature-body { display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.nx-mega__feature-body .nx-badge { align-self: flex-start; }
.nx-mega__feature-title { font-family: var(--nx-display); font-size: 1.25rem; line-height: 1.15; }
.nx-mega__feature-line { font-size: var(--wp--preset--font-size--xs); color: var(--nx-muted); }
.nx-mega__feature-cta { display: inline-flex; gap: .4rem; align-items: center; font-size: var(--wp--preset--font-size--xs); letter-spacing: .14em; text-transform: uppercase; color: var(--nx-red-text); }

.nx-header__actions { gap: .5rem !important; flex: none; }
.nx-lang:empty { display: none; }
.nx-lang { font-size: var(--wp--preset--font-size--xs); letter-spacing: .08em; }
.nx-lang a { color: var(--nx-muted-2); text-decoration: none; }
.nx-lang a:hover,
.nx-lang [aria-current],
.nx-lang .trp-ls-shortcode-current-language { color: #fff; }

/* Core search, button-only (expands on click). */
.nx-search.wp-block-search { margin: 0; }
.nx-search .wp-block-search__inside-wrapper { border: 1px solid var(--nx-line-2) !important; padding: 0 !important; background: transparent; }
.nx-search .wp-block-search__input {
	height: 42px; border: 0; background: var(--nx-surface); color: var(--nx-text);
	padding: 0 .9rem; font-size: var(--wp--preset--font-size--sm); min-width: 0;
}
.nx-search .wp-block-search__button {
	width: 42px; height: 42px; margin: 0; padding: 0; border: 0;
	background: transparent; color: var(--nx-text); box-shadow: none;
}
.nx-search .wp-block-search__button::before { display: none; }
.nx-search .wp-block-search__button svg { width: 20px; height: 20px; fill: currentColor; }
.nx-search .wp-block-search__button:hover { color: var(--nx-red-text); box-shadow: none; }
.nx-search.wp-block-search__searchfield-hidden .wp-block-search__inside-wrapper { width: 44px !important; }
.nx-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__inside-wrapper { width: min(320px, 60vw) !important; }

/* Mini-cart trigger: same ghost square as the other header buttons, red count dot. */
.nx-minicart .wc-block-mini-cart__button {
	position: relative; width: 44px; height: 44px; padding: 0; gap: 0; justify-content: center;
	background: transparent !important; color: var(--nx-text) !important; border: 1px solid var(--nx-line-2);
	font-size: var(--wp--preset--font-size--xs); font-weight: 500;
	transition: border-color .3s, color .3s, box-shadow .35s;
}
.nx-minicart .wc-block-mini-cart__button:hover,
.nx-minicart .wc-block-mini-cart__button:focus-visible { opacity: 1 !important; border-color: var(--nx-red-text); color: #fff !important; box-shadow: 0 0 28px rgba(212, 42, 49, .28); }
.nx-minicart .wc-block-mini-cart__amount { display: none !important; }
.nx-minicart .wc-block-mini-cart__icon { width: 20px; height: 20px; color: currentColor; }
.nx-minicart .wc-block-mini-cart__quantity-badge { position: static; display: flex; color: currentColor; }
.nx-minicart .wc-block-mini-cart__badge {
	position: absolute; top: -7px; right: -7px; left: auto; margin: 0; transform: none;
	background: var(--nx-red) !important; color: #fff !important; border: 2px solid var(--nx-bg) !important; box-sizing: content-box;
	font-size: .75rem; font-weight: 700; line-height: 1; min-width: 16px; height: 16px; padding: 1px 3px; border-radius: 999px;
}
.nx-cart-link { position: relative; }

.nx-menu-btn { display: none; }

@media (max-width: 1099px) {
	.nx-nav { display: none; }
	.nx-menu-btn { display: inline-flex; }
	.nx-header__bar { min-height: 68px; }
	.nx-header__logo,
	.nx-header__logo .nx-logo { width: 56px; height: 56px; }
}
@media (max-width: 560px) {
	.nx-header__actions .nx-lang,
	.nx-account { display: none !important; }
	.nx-header__actions { gap: .375rem !important; }
	.nx-minicart .wc-block-mini-cart__button { padding: 0; }
}

/* Checkout header */
.nx-header--checkout .nx-header__bar { min-height: 76px; }
.nx-secure { margin: 0; display: inline-flex; align-items: center; gap: .5rem; font-size: var(--wp--preset--font-size--xs); letter-spacing: .18em; text-transform: uppercase; color: var(--nx-muted-2); }
.nx-secure .nx-icon { color: var(--nx-red-text); }
.nx-secure__ja { letter-spacing: .2em; color: var(--nx-subtle); }
.nx-back { color: var(--nx-text); text-decoration: none; font-size: var(--wp--preset--font-size--xs); letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 640px) { .nx-secure__ja { display: none; } }

/* ------------------------------------------------------------------ 5. Mobile drawer */
.nx-drawer-part { position: static; }
.nx-drawer {
	position: fixed; top: 0; right: 0; bottom: 0; z-index: 1000;
	width: min(420px, 100%);
	display: flex; flex-direction: column; gap: 1.25rem;
	padding: 1rem 1.25rem 1.5rem;
	background: var(--nx-bg); border-left: 1px solid var(--nx-line-2);
	box-shadow: -40px 0 80px rgba(0, 0, 0, .6);
	overflow-y: auto; overscroll-behavior: contain;
	transform: translateX(100%); visibility: hidden;
	transition: transform .35s var(--nx-ease), visibility 0s linear .35s;
}
.nx-drawer[hidden] { display: none; }
.nx-drawer.is-open { transform: none; visibility: visible; transition: transform .35s var(--nx-ease), visibility 0s; }
html.nx-menu-open { overflow: hidden; }
/* The drawer lives inside the sticky header's stacking context: lift it above the page overlay. */
html.nx-menu-open .nx-site-header { z-index: 1001; }
html.nx-menu-open body::after {
	content: ""; position: fixed; inset: 0; z-index: 999;
	background: rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.nx-drawer__head { display: flex; justify-content: space-between; align-items: center; }
.nx-drawer__title { margin: 0; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--nx-subtle); }
.nx-drawer__title [lang="ja"] { margin-left: .5rem; color: var(--nx-red-text); letter-spacing: .3em; }
.nx-drawer__search { display: flex; border: 1px solid var(--nx-line-3); background: var(--nx-surface); }
.nx-drawer__search input[type="search"] { flex: 1; min-width: 0; height: 48px; border: 0; background: transparent; color: var(--nx-text); padding: 0 1rem; font-size: 1rem; }
.nx-drawer__search .nx-icon-btn { border: 0; height: 48px; width: 48px; }
.nx-drawer__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--nx-line-2); }
.nx-drawer__list > li { border-bottom: 1px solid var(--nx-line-2); }
.nx-drawer__link,
.nx-drawer__group > summary {
	display: flex; align-items: baseline; gap: .75rem; min-height: 56px; padding: .9rem .25rem;
	font-family: var(--nx-display); font-size: 1.5rem; line-height: 1.15;
	color: var(--nx-text); text-decoration: none; cursor: pointer; list-style: none;
}
.nx-drawer__group > summary::-webkit-details-marker { display: none; }
.nx-drawer__link [lang="ja"],
.nx-drawer__group > summary [lang="ja"] { font-family: var(--nx-body); font-size: .8125rem; letter-spacing: .08em; color: var(--nx-subtle); }
.nx-drawer__group > summary .nx-icon { margin-left: auto; align-self: center; color: var(--nx-red-text); transition: transform .35s var(--nx-ease); }
.nx-drawer__group[open] > summary .nx-icon { transform: rotate(180deg); }
.nx-drawer__group ul { list-style: none; margin: 0 0 .75rem; padding: 0 0 0 .25rem; }
.nx-drawer__group li a {
	display: flex; flex-direction: column; padding: .55rem 0; color: var(--nx-muted); text-decoration: none; font-size: .9375rem;
}
.nx-drawer__group li a [lang="ja"] { font-size: .8125rem; color: var(--nx-subtle); letter-spacing: .06em; }
.nx-drawer a[aria-current="page"],
.nx-drawer__group li a:hover { color: var(--nx-red-text); }
.nx-drawer__foot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--nx-line-2); border: 1px solid var(--nx-line-2); margin-top: auto; }
.nx-drawer__action { display: flex; flex-direction: column; align-items: center; gap: .4rem; padding: .9rem .5rem; background: var(--nx-bg); color: var(--nx-text); text-decoration: none; font-size: var(--wp--preset--font-size--xs); }
.nx-drawer__action .nx-icon { color: var(--nx-red-text); }
.nx-lang--drawer:not(:empty) { padding: .5rem 0; border-top: 1px solid var(--nx-line-2); }

/* ------------------------------------------------------------------ 6. Footer */
.nx-footer {
	background: var(--nx-bg-3);
	border-top: 1px solid var(--nx-line);
	padding-top: clamp(3.5rem, 6vw, 4.5rem);
	padding-bottom: 2.5rem;
}
.nx-footer a { color: var(--nx-muted); text-decoration: none; }
.nx-footer a:hover { color: var(--nx-red-text); }
.nx-footer__top { gap: 2.5rem !important; align-items: flex-start; }
.nx-footer__brand { flex: 1 1 280px; max-width: 380px; gap: 1rem !important; }
.nx-footer__brand > * { margin: 0 !important; }
.nx-footer__logo { display: block; width: 120px; margin: -12px 0 -8px -14px !important; }
.nx-footer__logo .nx-logo { width: 120px; height: 120px; }
.nx-footer__tagline { color: var(--nx-muted); font-size: var(--wp--preset--font-size--sm); }
.nx-footer__story { color: var(--nx-muted-2); font-size: .8125rem; }
.nx-footer__mail a { color: var(--nx-text); font-size: var(--wp--preset--font-size--sm); }
.nx-footer__label { margin: .5rem 0 .6rem; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--nx-subtle); }
.nx-soc {
	display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
	border: 1px solid var(--nx-line-2); color: var(--nx-muted) !important;
	transition: border-color .3s, color .3s, transform .3s var(--nx-ease);
}
.nx-soc:hover { border-color: var(--nx-red); color: #fff !important; transform: translateY(-3px); }
.nx-footer__cols { flex: 3 1 560px; gap: 2rem !important; }
.nx-footer__col { gap: .75rem !important; }
.nx-footer__title {
	margin: 0 0 .35rem !important; font-family: var(--nx-body) !important; font-size: .75rem !important; font-weight: 500 !important;
	letter-spacing: .2em !important; line-height: 1.4 !important; text-transform: uppercase; color: var(--nx-subtle);
}
.nx-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; font-size: var(--wp--preset--font-size--sm); }
.nx-footer__links li { margin: 0; }
.nx-footer__bottom {
	margin-top: 3rem !important; padding-top: 1.75rem; border-top: 1px solid var(--nx-line);
	gap: 1.25rem !important; align-items: center;
}
.nx-pay { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem; }
.nx-pay__label { margin: 0; display: inline-flex; align-items: center; gap: .5rem; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--nx-subtle); }
.nx-pay__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.nx-pay__list li {
	display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px;
	border: 1px solid var(--nx-line-3); background: #111113;
	font-size: .75rem; font-weight: 500; letter-spacing: .1em; color: var(--nx-muted);
}
.nx-footer__legal { gap: 1.5rem !important; }
.nx-footer__legal p { margin: 0; font-size: var(--wp--preset--font-size--xs); color: var(--nx-subtle); letter-spacing: .06em; }

.nx-checkout-footer { padding-block: 2rem; border-top: 1px solid var(--nx-line); font-size: var(--wp--preset--font-size--xs); color: var(--nx-subtle); }
.nx-checkout-footer a { color: var(--nx-muted-2); text-decoration: none; }
.nx-checkout-footer a:hover { color: var(--nx-red-text); }

/* ------------------------------------------------------------------ 7. Home components */
/* Hero — intro: logo blur-in, red glow pulse, light sweep; then staggered text. */
.nx-hero {
	position: relative; overflow: hidden;
	min-height: min(900px, 100svh);
	display: flex; flex-direction: column; justify-content: center; align-items: center;
	padding-top: var(--wp--preset--spacing--70); padding-bottom: var(--wp--preset--spacing--80);
	border-bottom: 1px solid var(--nx-line);
	text-align: center;
}
.nx-hero > * { position: relative; }
/* No z-index on hero children: a stacking context would isolate the logo's
   mix-blend-mode:lighten from the page background (it would show as a dark square). */
.nx-hero__embers { position: absolute !important; inset: 0; pointer-events: none; }
.nx-hero__logo { position: relative; width: min(320px, 72vw); aspect-ratio: 1; margin: 0 auto 1.5rem; }
.nx-hero__img { width: 100%; height: 100%; object-fit: contain; animation: nxLogoIn 1.6s var(--nx-ease-out) both; }
.nx-hero__glow {
	position: absolute; left: 18%; top: 8%; width: 64%; height: 48%; border-radius: 50%;
	background: var(--nx-red); filter: blur(60px); opacity: .22;
	animation: nxGlow 5.5s ease-in-out infinite;
}
.nx-hero__sweep {
	position: absolute; inset: 0; overflow: hidden; pointer-events: none; mix-blend-mode: screen;
	/* Light only travels over the metal: luminance mask from the logo itself (falls back to the full box). */
	-webkit-mask: url(../images/nexus-logo-320.webp) center / contain no-repeat;
	mask: url(../images/nexus-logo-320.webp) center / contain no-repeat luminance;
}
.nx-hero__sweep::before {
	content: ""; position: absolute; top: -10%; bottom: -10%; left: 0; width: 26%;
	background: rgba(239, 90, 95, .35); filter: blur(10px);
	animation: nxSweep 7s cubic-bezier(.4, 0, .2, 1) 1.1s infinite;
}
.nx-hero__eyebrow { margin: 0; font-size: var(--wp--preset--font-size--xs); letter-spacing: .22em; text-transform: uppercase; color: var(--nx-muted-2); }
.nx-hero__title { font-size: var(--wp--preset--font-size--display); line-height: 1; margin: .5rem 0 0; }
.nx-hero__title em { font-style: italic; color: var(--nx-muted-2); }
.nx-hero__sub { max-width: 34em; margin-inline: auto; font-size: var(--wp--preset--font-size--md); line-height: 1.7; color: var(--nx-muted); }
.nx-intro { animation: nxRise 1s var(--nx-ease-out) both; }
.nx-hero .nx-intro:nth-of-type(1) { animation-delay: .7s; }
.nx-hero .nx-intro:nth-of-type(2) { animation-delay: .9s; }
.nx-hero .nx-intro:nth-of-type(3) { animation-delay: 1.15s; }
.nx-hero .wp-block-buttons.nx-intro { animation-delay: 1.35s; }
.nx-embers-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* Marquee */
.nx-band { border-bottom: 1px solid var(--nx-line); background: #0E0E10; }
.nx-marquee { overflow: hidden; padding: 18px 0; --nx-marquee-duration: 46s; }
.nx-marquee__track,
.nx-marquee > :first-child { display: flex; width: max-content; }
.nx-marquee.is-ready > :first-child { animation: nxMarquee var(--nx-marquee-duration) linear infinite; }
.nx-marquee.is-reverse > :first-child { animation-direction: reverse; }
.nx-marquee:hover > :first-child,
.nx-marquee:focus-within > :first-child { animation-play-state: paused; }
.nx-marquee__item {
	display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap;
	font-size: var(--wp--preset--font-size--sm); letter-spacing: .16em; text-transform: uppercase; color: var(--nx-muted-2);
}
.nx-marquee__item::after { content: ""; width: 5px; height: 5px; background: var(--nx-red); transform: rotate(45deg); }
.nx-marquee__item--ja { color: var(--nx-subtle); letter-spacing: .3em; }
.nx-marquee--display .nx-marquee__item {
	font-family: var(--nx-display); font-size: clamp(64px, 8vw, 120px); line-height: 1; letter-spacing: 0; text-transform: none;
	color: transparent; -webkit-text-stroke: 1px var(--nx-line-4);
}

/* Games selector */
.nx-games { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: clamp(2rem, 5vw, 4.5rem); }
.nx-games__tabs { display: flex; flex-direction: column; border-top: 1px solid var(--nx-line-2); }
.nx-games__tab {
	position: relative; display: flex; align-items: center; gap: 1.5rem; width: 100%;
	padding: 1.5rem .5rem 1.5rem .5rem; background: transparent; border: 0; border-bottom: 1px solid var(--nx-line-2);
	color: var(--nx-muted-2); text-align: left; cursor: pointer; font: inherit;
	transition: color .35s, padding-left .45s var(--nx-ease), background-color .35s;
}
.nx-games__tab::before {
	content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 3px; background: var(--nx-red);
	transform: scaleY(0); transition: transform .45s var(--nx-ease);
}
.nx-games__tab[aria-selected="true"] { color: var(--nx-text); padding-left: 1.5rem; background: #111113; }
.nx-games__tab[aria-selected="true"]::before { transform: scaleY(1); }
.nx-games__num { width: 24px; font-size: var(--wp--preset--font-size--xs); letter-spacing: .16em; color: var(--nx-subtle); }
.nx-games__name { display: flex; flex-direction: column; gap: 2px; font-family: var(--nx-display); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.1; }
.nx-games__name [lang="ja"] { font-family: var(--nx-body); font-size: .8125rem; letter-spacing: .08em; color: var(--nx-subtle); }
.nx-games__panels { position: relative; display: grid; min-height: 420px; background: #111113; border: 1px solid var(--nx-line); overflow: hidden; }
.nx-games__panel {
	grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: flex-end; gap: .75rem;
	padding: clamp(1.75rem, 4vw, 3rem);
	animation: nxPanelIn .6s var(--nx-ease) both;
}
.nx-games__panel[hidden] { display: none; }
.nx-games__ja { margin: 0; font-size: .8125rem; letter-spacing: .35em; color: var(--nx-red-text); }
.nx-games__title { margin: 0; font-family: var(--nx-display); font-size: clamp(2.25rem, 3.6vw, 3.5rem); line-height: 1; font-weight: 500; }
.nx-games__panel .wp-element-button { align-self: flex-start; margin-top: .5rem; }

/* Pack opening */
.nx-pack { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.nx-pack__stage {
	position: relative; width: 300px; max-width: 100%; height: 500px;
	padding: 0; border: 0; background: transparent; color: var(--nx-text); cursor: pointer;
	perspective: 1400px; transition: transform .4s var(--nx-ease);
}
.nx-pack__stage:hover { transform: translateY(-6px); }
.nx-pack__card {
	position: absolute; left: 30px; right: 30px; top: 70px; aspect-ratio: 63 / 88; z-index: 1;
	transform: translateY(40px) scale(.92); transition: transform 1.1s var(--nx-ease) .25s, z-index 0s .6s;
}
.nx-pack__card-face {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; overflow: hidden;
	background: var(--nx-surface-2); border: 1px solid var(--nx-line-4);
	box-shadow: 0 40px 80px rgba(0, 0, 0, .7), 0 0 0 rgba(212, 42, 49, 0); transition: box-shadow .8s;
}
.nx-pack__body {
	position: absolute; left: 20px; right: 20px; top: 40px; bottom: 20px; z-index: 2;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; overflow: hidden;
	background: #161618; border: 1px solid var(--nx-line-3); box-shadow: 0 40px 80px rgba(0, 0, 0, .6);
	transition: transform .9s cubic-bezier(.6, 0, .3, 1), opacity .7s ease .2s;
}
.nx-pack__seal { font-size: 1.375rem; letter-spacing: .4em; color: var(--nx-red-text); }
.nx-pack__top {
	position: absolute; left: 20px; right: 20px; top: 0; height: 40px; z-index: 4;
	display: flex; align-items: center; justify-content: center;
	background: #1C1C1F; border: 1px solid var(--nx-line-3);
	font-size: .75rem; letter-spacing: .3em; text-transform: uppercase; color: var(--nx-muted-2);
	transform-origin: 20% 100%; transition: transform .7s var(--nx-ease), opacity .6s ease .15s;
}
[data-nx-pack].is-open .nx-pack__top { transform: translate(-30px, -60px) rotate(-24deg); opacity: 0; }
[data-nx-pack].is-open .nx-pack__body { transform: translateY(70%); opacity: 0; }
[data-nx-pack].is-open .nx-pack__card { transform: translateY(-30px) scale(1.04); z-index: 5; }
[data-nx-pack].is-open .nx-pack__card-face { box-shadow: 0 40px 80px rgba(0, 0, 0, .7), 0 0 60px rgba(212, 42, 49, .45); }
.nx-pack__hint { margin: 0; display: flex; align-items: center; gap: .6rem; font-size: var(--wp--preset--font-size--xs); letter-spacing: .18em; text-transform: uppercase; color: var(--nx-muted-2); }
.nx-pack__hint::before { content: ""; width: 6px; height: 6px; background: var(--nx-red); animation: nxBlink 2.4s ease-in-out infinite; }

/* Countdown */
.nx-countdown { display: flex; flex-wrap: wrap; gap: 1px; background: var(--nx-line-2); border: 1px solid var(--nx-line-2); width: fit-content; max-width: 100%; }
.nx-countdown__unit { display: flex; flex-direction: column; align-items: center; gap: .25rem; min-width: 84px; padding: 1rem .75rem; background: var(--nx-bg); }
.nx-countdown__num { font-family: var(--nx-display); font-size: clamp(2rem, 4vw, 3rem); line-height: 1; font-variant-numeric: tabular-nums; }
.nx-countdown__label { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--nx-subtle); }
.nx-countdown__done { margin: 0; padding: 1rem 1.25rem; background: var(--nx-bg); color: var(--nx-red-text); }
.nx-countdown.is-done .nx-countdown__unit { display: none; }

.nx-preorder-feature { display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; }
.nx-preorder-feature__name { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; font-family: var(--nx-display); font-size: var(--wp--preset--font-size--lg); }
.nx-preorder-feature__name a { color: var(--nx-text); text-decoration: none; }

/* Release list */
.nx-cal-list { list-style: none; margin: 0 0 1.5rem; padding: 0; border-top: 1px solid var(--nx-line-2); }
.nx-cal-list__row { display: flex; align-items: center; gap: 1.25rem; padding: 1.25rem .5rem; border-bottom: 1px solid var(--nx-line-2); transition: background-color .3s; }
.nx-cal-list__row:hover { background: #111113; }
.nx-cal-list__row a { color: var(--nx-text); text-decoration: none; }
.nx-cal-list__date {
	flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center;
	width: 72px; height: 72px; border: 1px solid var(--nx-red);
	font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--nx-muted);
}
.nx-cal-list__date strong { font-family: var(--nx-display); font-size: 2rem; line-height: 1; font-weight: 500; color: var(--nx-text); letter-spacing: 0; }
.nx-cal-list__date--tba { border-style: dashed; border-color: var(--nx-line-4); }

/* Why grid */
.nx-why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); border-top: 1px solid var(--nx-line-2); }
.nx-why__item { padding: 2.25rem 1.75rem; display: flex; flex-direction: column; gap: 1rem; border-bottom: 1px solid var(--nx-line-2); transition: background-color .4s; }
.nx-why__item .nx-icon { color: var(--nx-red-text); transition: transform .5s var(--nx-ease); }
.nx-why__item:hover { background: var(--nx-surface); }
.nx-why__item:hover .nx-icon { transform: translateY(-6px) rotate(-8deg); }
.nx-why__title { margin: 0; font-size: 1.75rem; line-height: 1.15; }
.nx-why__item p { margin: 0; color: var(--nx-muted-2); font-size: .9375rem; }

/* Rates grid */
.nx-rates { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 1px; background: var(--nx-line-2); border: 1px solid var(--nx-line-2); }
.nx-rates__cell { background: var(--nx-bg); padding: 1.5rem; display: flex; flex-direction: column; gap: .4rem; transition: background-color .35s; }
.nx-rates__cell:hover { background: var(--nx-surface); }
.nx-rates__cell dt { display: flex; flex-direction: column; gap: .4rem; font-size: var(--wp--preset--font-size--sm); color: var(--nx-muted); }
.nx-rates__zone { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--nx-red-text); }
.nx-rates__cell dd { margin: 0; font-family: var(--nx-display); font-size: 2rem; font-weight: 600; transition: color .3s; }
.nx-rates__cell:hover dd { color: var(--nx-red-text); }

.nx-cta { gap: 2rem !important; }
.nx-cta .nx-section-head { margin-bottom: 0; }

/* ------------------------------------------------------------------ 8. Motion */
html.nx-js [data-nx-reveal] {
	opacity: 0; transform: translateY(28px);
	transition: opacity .9s var(--nx-ease-out), transform .9s var(--nx-ease-out);
}
html.nx-js [data-nx-reveal].is-in { opacity: 1; transform: none; }

/* Tilt: the element gets --nx-rx/--nx-ry/--nx-gx/--nx-gy from nexus.js. */
[data-nx-tilt] { position: relative; perspective: 900px; }
[data-nx-tilt] img {
	transform: rotateX(var(--nx-rx, 0deg)) rotateY(var(--nx-ry, 0deg));
	transition: transform .7s var(--nx-ease), box-shadow .5s ease;
	will-change: transform;
}
[data-nx-tilt].is-tilting img { transition: transform .12s ease-out, box-shadow .4s ease; transform: rotateX(var(--nx-rx, 0deg)) rotateY(var(--nx-ry, 0deg)) translateY(-6px) scale(1.03); }
[data-nx-tilt]::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
	background: radial-gradient(circle at var(--nx-gx, 50%) var(--nx-gy, 50%), rgba(255, 255, 255, .20) 0%, rgba(239, 90, 95, .10) 25%, transparent 55%);
	mix-blend-mode: screen; opacity: 0; transition: opacity .4s;
}
[data-nx-tilt].is-tilting::after { opacity: 1; }

@keyframes nxSheen { 0% { background-position: 160% 0; } 100% { background-position: -60% 0; } }
@keyframes nxRise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes nxDrop { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes nxBlink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes nxGlow { 0%, 100% { opacity: .22; transform: scale(.9); } 50% { opacity: .5; transform: scale(1.08); } }
@keyframes nxLogoIn { 0% { opacity: 0; transform: scale(.9); filter: blur(8px) brightness(.45) contrast(1.3); } 100% { opacity: 1; transform: none; filter: blur(0) brightness(.95) contrast(1.25); } }
@keyframes nxSweep { 0% { transform: translateX(-180%) skewX(-20deg); opacity: 0; } 8% { opacity: .9; } 40% { transform: translateX(420%) skewX(-20deg); opacity: 0; } 100% { transform: translateX(420%) skewX(-20deg); opacity: 0; } }
@keyframes nxMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes nxPanelIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes nxFloat { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(1.4deg); } }
@keyframes nxHorizon { 0%, 100% { opacity: .5; transform: scaleX(.78); } 50% { opacity: 1; transform: scaleX(1); } }
@keyframes nxPing { 0% { transform: scale(1); opacity: .75; } 100% { transform: scale(1.3); opacity: 0; } }
.nx-float { animation: nxFloat 7s ease-in-out infinite; }
.nx-horizon { animation: nxHorizon 4.5s ease-in-out infinite; }
.nx-blink { animation: nxBlink 2.4s ease-in-out infinite; }
.nx-ping { animation: nxPing 2s ease-out infinite; }
.nx-glow { animation: nxGlow 5.5s ease-in-out infinite; }

/* ------------------------------------------------------------------ 9. WooCommerce */
/* Notices */
.wc-block-components-notice-banner,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	background: var(--nx-surface) !important; color: var(--nx-text) !important;
	border: 1px solid var(--nx-line-3) !important; border-left: 3px solid var(--nx-red-text) !important;
	border-radius: 0 !important; font-size: var(--wp--preset--font-size--sm);
}
.wc-block-components-notice-banner > svg { fill: var(--nx-red-text) !important; background: transparent !important; }
.wc-block-components-notice-banner.is-success { border-left-color: #4CAF7A !important; }
.wc-block-components-notice-banner a,
.woocommerce-message a { color: var(--nx-red-text); }
.wc-block-components-notice-banner .wc-forward { color: var(--nx-text) !important; opacity: 1 !important; }

/* Breadcrumbs */
.nx-crumbs,
.wc-block-breadcrumbs { font-size: var(--wp--preset--font-size--xs); letter-spacing: .12em; text-transform: uppercase; color: var(--nx-subtle); }
.nx-crumbs a,
.wc-block-breadcrumbs a { color: var(--nx-muted-2); text-decoration: none; }
.nx-crumbs a:hover { color: var(--nx-red-text); }

/* Product grid & cards (any Product Collection). */
.nx-products ul.wc-block-product-template {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)) !important;
	gap: clamp(1.25rem, 2.5vw, 1.75rem) !important;
	margin: 0; padding: 0;
}
.nx-products ul.wc-block-product-template > li { width: auto !important; max-width: none !important; margin: 0 !important; }
li.wc-block-product,
.nx-card {
	display: flex !important; flex-direction: column; gap: .5rem; text-align: left;
}
li.wc-block-product > * { margin-block: 0 !important; }
li.wc-block-product .wc-block-components-product-image,
.nx-card__media {
	position: relative; margin-bottom: .75rem !important;
	background: var(--nx-surface); border: 1px solid var(--nx-line);
	transition: border-color .4s;
}
li.wc-block-product:hover .wc-block-components-product-image { border-color: var(--nx-red); }
li.wc-block-product .wc-block-components-product-image a { display: block; padding: clamp(1.25rem, 3vw, 2.25rem); }
li.wc-block-product .wc-block-components-product-image img {
	width: 100% !important; aspect-ratio: 1 !important; object-fit: contain !important;
	box-shadow: none; background: transparent;
}
li.wc-block-product .wc-block-components-product-image .nx-badge { position: absolute; top: 14px; left: 14px; z-index: 3; }
li.wc-block-product .wc-block-components-product-sale-badge { position: absolute; top: 14px; right: 14px; z-index: 3; margin: 0; }
.nx-card__meta,
li.wc-block-product .wp-block-post-terms {
	font-size: .75rem !important; letter-spacing: .16em; text-transform: uppercase; color: var(--nx-subtle);
}
li.wc-block-product .wp-block-post-terms a { color: var(--nx-subtle); text-decoration: none; }
li.wc-block-product .wp-block-post-terms a:hover { color: var(--nx-red-text); }
li.wc-block-product .wp-block-post-title,
.nx-card__title {
	font-family: var(--nx-body) !important; font-size: .9375rem !important; font-weight: 500 !important;
	line-height: 1.45 !important; letter-spacing: 0 !important; text-align: left !important;
}
li.wc-block-product .wp-block-post-title a { color: var(--nx-text); text-decoration: none; }
li.wc-block-product .wp-block-post-title a:hover { color: var(--nx-red-text); }
li.wc-block-product .wc-block-components-product-price,
li.wc-block-product .wp-block-woocommerce-product-price { text-align: left !important; }
.wc-block-components-product-price,
.wp-block-woocommerce-product-price { font-family: var(--nx-display); font-weight: 600; color: var(--nx-red-text); }
li.wc-block-product .wc-block-components-product-price { font-size: 1.5rem !important; line-height: 1.2; }
.wc-block-components-product-price del,
.price del { color: var(--nx-subtle) !important; font-size: .7em; opacity: 1; }
.wc-block-components-product-price ins,
.price ins { text-decoration: none; }
.nx-ships { margin: 0; display: flex; align-items: center; gap: .5rem; font-size: .8125rem; color: var(--nx-muted); }
.nx-ships .nx-icon { color: var(--nx-red-text); }
li.wc-block-product .wp-block-woocommerce-product-button,
li.wc-block-product .wc-block-components-product-button { margin-top: auto !important; padding-top: .75rem; width: 100%; }
li.wc-block-product .wc-block-components-product-button { align-items: stretch !important; }
li.wc-block-product .wc-block-components-product-button__button,
li.wc-block-product .wp-block-button__link {
	width: 100%; min-height: 46px; padding: .75rem 1rem;
	background: transparent; color: var(--nx-text); border: 1px solid var(--nx-line-3) !important;
	font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
}
li.wc-block-product .wc-block-components-product-button__button:hover,
li.wc-block-product .wp-block-button__link:hover { border-color: var(--nx-red-text) !important; color: #fff; box-shadow: 0 0 28px rgba(212, 42, 49, .28); }
li.wc-block-product .nx-is-preorder .wc-block-components-product-button__button,
li.wc-block-product .nx-is-preorder .wp-block-button__link { background: var(--nx-red); border-color: var(--nx-red) !important; color: #fff; }
li.wc-block-product .wc-block-components-product-button__button.added,
li.wc-block-product .wc-block-components-product-button__button[data-added="true"] { background: var(--nx-text); color: var(--nx-bg); border-color: var(--nx-text) !important; }
li.wc-block-product .added_to_cart,
li.wc-block-product .wc-block-components-product-button__view-cart { margin-top: .5rem; font-size: var(--wp--preset--font-size--xs); letter-spacing: .12em; text-transform: uppercase; color: var(--nx-red-text); text-align: center; }

/* Classic loops ([products] shortcode). */
.woocommerce ul.products li.product { background: transparent; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--nx-body); font-size: .9375rem; font-weight: 500; color: var(--nx-text); }
.woocommerce ul.products li.product .price { font-family: var(--nx-display); font-size: 1.5rem; font-weight: 600; color: var(--nx-red-text); }
.woocommerce ul.products li.product a img { box-sizing: border-box; background: var(--nx-surface); border: 1px solid var(--nx-line); padding: 1.5rem; aspect-ratio: 1; object-fit: contain; }
.woocommerce ul.products li.product { position: relative; }
.woocommerce ul.products li.product > a > .nx-badge { position: absolute; top: 14px; left: 14px; z-index: 2; }

/* Shop layout: sidebar + results */
.nx-shop { display: grid; grid-template-columns: minmax(200px, 240px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.nx-shop > * { margin: 0 !important; }
.nx-shop__sidebar { position: sticky; top: 120px; }
@media (max-width: 781px) {
	.nx-shop { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
	.nx-shop__sidebar { position: static; }
}
.nx-shop__toolbar { margin-bottom: 1.5rem !important; padding-bottom: 1rem; border-bottom: 1px solid var(--nx-line); align-items: center !important; }
.nx-shop__toolbar > * { margin: 0 !important; }
.nx-shop__toolbar .woocommerce-result-count { margin: 0; color: var(--nx-muted-2); font-size: var(--wp--preset--font-size--sm); }
.nx-shopnav { display: flex; flex-direction: column; gap: 1.75rem; }
.nx-shopnav__group ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--nx-line); }
.nx-shopnav__group li { border-bottom: 1px solid var(--nx-line); }
.nx-shopnav__title { margin: 0 0 .6rem; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--nx-subtle); }
.nx-shopnav__title [lang="ja"] { margin-left: .4rem; letter-spacing: .3em; color: var(--nx-red-text); }
.nx-shopnav__link {
	position: relative; display: flex; flex-direction: column; padding: .65rem .25rem .65rem .9rem;
	color: var(--nx-muted); text-decoration: none; font-size: var(--wp--preset--font-size--sm);
	transition: color .25s, padding-left .35s var(--nx-ease);
}
.nx-shopnav__link::before { content: ""; position: absolute; left: 0; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; background: var(--nx-line-4); transition: background-color .25s; }
.nx-shopnav__link:hover { color: var(--nx-text); padding-left: 1.1rem; }
.nx-shopnav__link[aria-current="page"] { color: var(--nx-text); }
.nx-shopnav__link[aria-current="page"]::before { background: var(--nx-red); }
.nx-shopnav__ja { font-size: .8125rem; letter-spacing: .06em; color: var(--nx-subtle); }
/* Filters disclosure: the toggle only exists below 782px (see section 14). */
.nx-filters__toggle { display: none; }

/* Sorting select & generic selects */
.woocommerce-ordering select,
.wc-block-catalog-sorting select,
.orderby {
	height: 42px; padding: 0 2.25rem 0 .9rem; border: 1px solid var(--nx-line-3); border-radius: 0;
	background: var(--nx-surface) 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='%23EF5A5F' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .8rem center;
	color: var(--nx-text); font-size: var(--wp--preset--font-size--sm); -webkit-appearance: none; appearance: none;
}

/* Pagination */
.nx-pagination,
.wp-block-query-pagination { margin-top: var(--wp--preset--spacing--60) !important; gap: .4rem; font-size: var(--wp--preset--font-size--sm); }
.wp-block-query-pagination-numbers .page-numbers,
.wp-block-query-pagination a {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 .75rem;
	border: 1px solid var(--nx-line-2); color: var(--nx-text); text-decoration: none;
}
.wp-block-query-pagination-numbers .page-numbers.current { background: var(--nx-red); border-color: var(--nx-red); color: #fff; }
.wp-block-query-pagination a:hover { border-color: var(--nx-red-text); }

.nx-empty-grid { padding: var(--wp--preset--spacing--70) var(--wp--preset--spacing--40); border: 1px dashed var(--nx-line-3); text-align: center; align-items: center !important; }
.nx-empty-grid__title { font-size: var(--wp--preset--font-size--xl); margin: 0; }
.nx-empty-grid__text { color: var(--nx-muted-2); margin: 0; }

/* Single product */
.nx-product { padding-top: var(--wp--preset--spacing--40); }
.nx-product > * + * { margin-block-start: 1.5rem; }
.nx-product__grid { gap: clamp(2.5rem, 6vw, 5.5rem) !important; margin-top: 1.5rem !important; align-items: flex-start !important; }
@media (min-width: 782px) {
	.nx-product__media { flex: 0 1 54% !important; }
	.nx-buybox { flex: 1 1 0 !important; min-width: 0; }
}
.nx-product__media .wp-block-woocommerce-product-image-gallery { max-width: none !important; }
.nx-buybox { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 1.25rem; }
.nx-buybox > * { margin: 0 !important; }
@media (max-width: 781px) { .nx-buybox { position: static; } }
.nx-buybox__meta { gap: .75rem !important; align-items: center; }
.nx-buybox__meta p { margin: 0; }
.nx-buybox__cats { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--nx-subtle); }
.nx-buybox__cats a { color: var(--nx-subtle); text-decoration: none; }
.nx-buybox__title { font-size: clamp(2.125rem, 3.6vw, 3.125rem) !important; line-height: 1.05 !important; }
.nx-buybox__price .wc-block-components-product-price,
.nx-buybox__price { font-size: 2.25rem !important; }
.nx-buybox__summary { color: var(--nx-muted); }
.nx-buybox__summary p { margin: 0 0 .75em; }
.nx-buybox__facts { gap: 0 !important; border-top: 1px solid var(--nx-line-2); border-bottom: 1px solid var(--nx-line-2); }
.nx-buybox__facts > * { margin: 0 !important; padding: 1rem 0; font-size: .9375rem; }
.nx-buybox__facts .wc-block-components-product-sku { display: flex; flex-direction: column; gap: 2px; text-transform: none; }
.nx-buybox__facts .wc-block-components-product-sku strong,
.nx-buybox__facts .wc-block-components-product-sku > :first-child { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--nx-subtle); font-weight: 400; }
.wc-block-components-product-stock-indicator { margin: 0; color: var(--nx-muted); }
.wc-block-components-product-stock-indicator.wc-block-components-product-stock-indicator--in-stock::before,
.wc-block-components-product-stock-indicator--available-on-backorder::before {
	content: ""; display: inline-block; width: 7px; height: 7px; margin-right: .5rem; background: var(--nx-red); vertical-align: middle;
	animation: nxBlink 2.4s ease-in-out infinite;
}
.wc-block-components-product-stock-indicator--out-of-stock { color: var(--nx-subtle); }

.nx-preorder-notice { display: flex; flex-direction: column; gap: .6rem; padding: 1.1rem 1.25rem; border: 1px solid var(--nx-red); background: var(--nx-red-deep); }
.nx-preorder-notice p { margin: 0; }
.nx-preorder-notice__date { display: flex; align-items: center; gap: .6rem; font-weight: 500; }
.nx-preorder-notice__date .nx-icon { color: var(--nx-red-text); }
.nx-preorder-notice__terms { font-size: .8125rem; color: var(--nx-muted); }
.nx-preorder-notice--cart { margin-bottom: 1.5rem; }

/* Add to cart form (simple + variable) */
.wp-block-add-to-cart-form form.cart,
.nx-buybox form.cart { display: flex; flex-wrap: wrap; gap: .75rem; align-items: stretch; margin: 0; }
.nx-buybox form.cart .quantity { display: flex; }
.nx-buybox form.cart .quantity .qty,
.wc-block-components-quantity-selector input {
	width: 64px; height: 56px; text-align: center; border: 1px solid var(--nx-line-3); background: transparent; color: var(--nx-text); font-size: 1rem;
	-moz-appearance: textfield;
}
.nx-buybox form.cart .single_add_to_cart_button {
	flex: 1 1 220px; min-height: 56px; font-size: .875rem !important; letter-spacing: .14em;
}
.nx-buybox form.cart .quantity + .single_add_to_cart_button { margin: 0; }
.nx-buybox .variations { width: 100%; border: 0; margin-bottom: .5rem; }
.nx-buybox .variations th,
.nx-buybox .variations td { display: block; padding: 0 0 .5rem; text-align: left; border: 0; }
.nx-buybox .variations label { font-size: var(--wp--preset--font-size--xs); letter-spacing: .16em; text-transform: uppercase; color: var(--nx-muted-2); }
.nx-buybox .variations select { width: 100%; }
.nx-buybox .reset_variations { font-size: var(--wp--preset--font-size--xs); color: var(--nx-red-text); }
.nx-buybox .single_variation_wrap { width: 100%; }
.nx-buybox .woocommerce-variation-price .price { font-family: var(--nx-display); font-size: 1.75rem; color: var(--nx-red-text); }
.nx-buybox .stock { color: var(--nx-muted); font-size: var(--wp--preset--font-size--sm); }
/* Availability is already shown by the Stock Indicator block in .nx-buybox__facts. */
.nx-buybox__cart > .stock { display: none; }
.nx-buybox .wc-block-components-express-payment,
.nx-buybox #wcpay-express-checkout-element { width: 100%; }

/* Trust row + shipping estimate */
.nx-buybox__trust { display: flex; flex-direction: column; gap: 1rem; }
.nx-buybox__trust p:empty { display: none; }
.nx-trust { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--nx-line-2); border: 1px solid var(--nx-line-2); }
.nx-trust__item { background: var(--nx-bg); padding: 1rem .75rem; display: flex; flex-direction: column; align-items: center; gap: .4rem; text-align: center; transition: background-color .35s; }
.nx-trust__item:hover { background: var(--nx-surface); }
.nx-trust__item .nx-icon { color: var(--nx-red-text); }
.nx-trust__label { font-size: .8125rem; font-weight: 500; }
.nx-trust__sub { font-size: .75rem; color: var(--nx-subtle); }
@media (max-width: 420px) { .nx-trust__sub { display: none; } }
.nx-ship-est { display: flex; flex-direction: column; gap: .75rem; padding: 1.25rem; border: 1px solid var(--nx-line-2); }
.nx-ship-est p { margin: 0; }
.nx-ship-est__title { display: flex; align-items: center; gap: .6rem; font-weight: 500; }
.nx-ship-est__title .nx-icon { color: var(--nx-red-text); }
.nx-ship-est__rows { margin: 0; display: flex; flex-direction: column; border-top: 1px solid var(--nx-line); }
.nx-ship-est__rows > div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--nx-line); font-size: var(--wp--preset--font-size--sm); }
.nx-ship-est__rows dt { color: var(--nx-muted-2); white-space: nowrap; }
.nx-ship-est__rows dd { margin: 0; text-align: right; }
.nx-ship-est__rows dd .amount { font-family: var(--nx-display); font-size: 1.375rem; font-weight: 600; }
.nx-ship-est__dispatch { display: flex; align-items: center; gap: .5rem; font-size: .8125rem; color: var(--nx-muted); }
.nx-ship-est__dispatch .nx-icon { color: var(--nx-red-text); }
.nx-ship-est__more a { font-size: var(--wp--preset--font-size--xs); letter-spacing: .12em; text-transform: uppercase; }

/* Gallery (Product Image Gallery block = classic flexslider gallery) */
.nx-product__media .woocommerce-product-gallery { position: relative; margin: 0; width: 100% !important; float: none !important; }
.nx-product__media .woocommerce-product-gallery__wrapper { margin: 0; }
.nx-product__media .woocommerce-product-gallery__image,
.nx-product__media .flex-viewport { background: var(--nx-surface); border: 1px solid var(--nx-line); }
.nx-product__media .woocommerce-product-gallery__image img.wp-post-image { box-sizing: border-box; width: 100%; aspect-ratio: 1; object-fit: contain; padding: clamp(1.5rem, 5vw, 4rem); }
.nx-product__media .flex-control-thumbs { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin: .75rem 0 0 !important; padding: 0; list-style: none; }
.nx-product__media .flex-control-thumbs li { width: auto !important; float: none !important; margin: 0 !important; }
.nx-product__media .flex-control-thumbs img { box-sizing: border-box; background: var(--nx-surface); border: 1px solid var(--nx-line); padding: .5rem; aspect-ratio: 1; object-fit: contain; opacity: .6; transition: opacity .3s, border-color .3s; }
.nx-product__media .flex-control-thumbs img.flex-active,
.nx-product__media .flex-control-thumbs img:hover { opacity: 1; border-color: var(--nx-red); }
.nx-product__media .woocommerce-product-gallery__trigger { position: absolute; top: 1rem; right: 1rem; z-index: 5; width: 40px; height: 40px; border: 1px solid var(--nx-line-3); background: var(--nx-bg); display: flex; align-items: center; justify-content: center; text-indent: -9999px; overflow: hidden; }
.nx-product__media .woocommerce-product-gallery__trigger::before { content: "+"; text-indent: 0; color: var(--nx-text); font-size: 1.25rem; }
.pswp__bg { background: var(--nx-bg) !important; }

/* Product details (tabs) */
.nx-product__details { margin-top: var(--wp--preset--spacing--70) !important; border-top: 1px solid var(--nx-line); padding-top: var(--wp--preset--spacing--50); }
.wp-block-woocommerce-product-details ul.tabs,
.woocommerce-tabs ul.tabs { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2rem !important; padding: 0 !important; border: 0 !important; }
.wp-block-woocommerce-product-details ul.tabs::before,
.wp-block-woocommerce-product-details ul.tabs li::before,
.wp-block-woocommerce-product-details ul.tabs li::after { display: none !important; }
.wp-block-woocommerce-product-details ul.tabs li { margin: 0 !important; padding: 0 !important; border: 1px solid var(--nx-line-3) !important; background: transparent !important; border-radius: 0 !important; }
.wp-block-woocommerce-product-details ul.tabs li a { display: block; padding: .7rem 1.2rem !important; color: var(--nx-muted) !important; text-decoration: none; font-size: var(--wp--preset--font-size--xs); letter-spacing: .14em; text-transform: uppercase; }
.wp-block-woocommerce-product-details ul.tabs li.active { border-color: var(--nx-red) !important; background: var(--nx-red) !important; }
.wp-block-woocommerce-product-details ul.tabs li.active a { color: #fff !important; }
.wp-block-woocommerce-product-details .woocommerce-Tabs-panel { max-width: 48rem; color: var(--nx-muted); }
.wp-block-woocommerce-product-details .woocommerce-Tabs-panel > h2:first-child { display: none; }
.woocommerce-product-attributes { width: 100%; border-collapse: collapse; }
.woocommerce-product-attributes th,
.woocommerce-product-attributes td { padding: .9rem 0; border-bottom: 1px solid var(--nx-line-2); text-align: left; font-weight: 400; }
.woocommerce-product-attributes th { color: var(--nx-muted-2); width: 40%; }
.woocommerce-product-attributes td p { margin: 0; }

.nx-related { margin-top: var(--wp--preset--spacing--80) !important; }

/* Reviews */
#reviews .commentlist { list-style: none; padding: 0; }
#reviews .comment_container { border-bottom: 1px solid var(--nx-line-2); padding: 1rem 0; }
.star-rating,
.wc-block-components-product-rating__stars { color: var(--nx-red-text); }

/* Form fields — shared by WooCommerce (classic + blocks), forms, search. */
:where(input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="url"], input[type="search"], input[type="date"], select, textarea):not(.wp-block-search__input) {
	min-height: var(--nx-field-h);
	padding: .65rem .9rem;
	background: var(--nx-surface); color: var(--nx-text);
	border: 1px solid var(--nx-line-3); border-radius: 0;
	font-family: inherit; font-size: 1rem;
	transition: border-color .3s, box-shadow .3s;
}
:where(input, select, textarea):focus { outline: none; border-color: var(--nx-red); box-shadow: 0 0 0 3px rgba(212, 42, 49, .22); }
:where(input, textarea)::placeholder { color: var(--nx-subtle); opacity: 1; }
select { color-scheme: dark; }
:where(select):not([multiple]):not(.wc-blocks-components-select__select) {
	-webkit-appearance: none; appearance: none; padding-right: 2.25rem;
	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='%23EF5A5F' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right .85rem center;
}

/* WooCommerce blocks: Cart, Checkout, mini-cart drawer */
.wc-block-components-text-input input,
.wc-block-components-text-input textarea,
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
.wc-blocks-components-select .wc-blocks-components-select__select,
.wc-block-components-textarea {
	background: var(--nx-surface) !important; color: var(--nx-text) !important;
	border: 1px solid var(--nx-line-3) !important; border-radius: 0 !important;
}
.wc-block-components-text-input input:focus,
.wc-blocks-components-select .wc-blocks-components-select__select:focus,
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input:focus { border-color: var(--nx-red) !important; box-shadow: 0 0 0 1px var(--nx-red) !important; }
.wc-block-components-text-input label,
.wc-blocks-components-select .wc-blocks-components-select__label,
.wc-block-components-combobox .wc-block-components-combobox-control label { color: var(--nx-muted-2) !important; }
.wc-blocks-components-select .wc-blocks-components-select__container { background: var(--nx-surface); border-radius: 0; }
.wc-blocks-components-select .wc-blocks-components-select__expand { fill: var(--nx-red-text); }
.components-form-token-field__suggestions-list,
.wc-block-components-combobox .components-combobox-control__suggestions-container .components-form-token-field__suggestions-list { background: var(--nx-surface) !important; color: var(--nx-text); border-color: var(--nx-line-3) !important; }
.components-form-token-field__suggestion.is-selected { background: var(--nx-red) !important; color: #fff !important; }
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"],
.wc-block-components-radio-control__input,
.wc-block-components-radio-control .wc-block-components-radio-control__input {
	background: transparent !important; border: 1px solid #6A6A72 !important; border-radius: 0;
}
.wc-block-components-radio-control__input { border-radius: 50% !important; }
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked { background: var(--nx-red) !important; border-color: var(--nx-red) !important; }
.wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: #fff !important; }
.wc-block-components-radio-control__input:checked { border-color: var(--nx-red-text) !important; }
.wc-block-components-radio-control__input:checked::before { background: var(--nx-red-text) !important; }
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option,
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option,
.wc-block-checkout__shipping-option .wc-block-components-radio-control__option { box-shadow: inset 0 0 0 1px var(--nx-line-3) !important; border-radius: 0 !important; }
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted { box-shadow: inset 0 0 0 1px var(--nx-red) !important; }
.wc-block-checkout__form .wc-block-components-checkout-step__heading .wc-block-components-title,
.wc-block-components-title.wc-block-components-title { font-family: var(--nx-display); font-weight: 500; font-size: 1.75rem; color: var(--nx-text); text-transform: none; }
.wc-block-components-checkout-step__description,
.wc-block-components-panel__content,
.wc-block-components-totals-item__description { color: var(--nx-muted-2); }
.wc-block-components-totals-wrapper,
.wc-block-components-order-summary .wc-block-components-panel__content,
.wc-block-cart .wc-block-cart__totals-title,
.wc-block-cart-items,
.wc-block-cart-items td,
.wc-block-cart-items th,
.wc-block-components-panel,
.wc-block-checkout__sidebar .wc-block-components-panel,
.wc-block-components-sidebar-layout .wc-block-components-main .wc-block-components-panel { border-color: var(--nx-line-2) !important; }
.wc-block-cart .wc-block-cart__totals-title,
.wc-block-cart-items th { color: var(--nx-subtle) !important; font-size: .75rem !important; letter-spacing: .16em; text-transform: uppercase; }
.wc-block-components-sidebar,
.wp-block-woocommerce-checkout-order-summary-block,
.wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block { background: var(--nx-surface); border: 1px solid var(--nx-line); }
.wc-block-cart__sidebar { padding: 1.5rem !important; }
.wc-block-checkout__sidebar.wc-block-components-sidebar { background: transparent; border: 0; }
.wc-block-components-product-name { color: var(--nx-text) !important; font-weight: 500; text-decoration: none; }
.wc-block-components-product-name:hover { color: var(--nx-red-text) !important; }
.wc-block-cart-item__image img,
.wc-block-components-order-summary-item__image img { background: var(--nx-surface-2); border: 1px solid var(--nx-line); aspect-ratio: 1; object-fit: contain; }
.wc-block-components-order-summary-item__quantity { background: var(--nx-red) !important; color: #fff !important; border: 0 !important; box-shadow: none !important; }
.wc-block-components-product-metadata,
.wc-block-components-product-details { color: var(--nx-muted-2); font-size: .8125rem; }
.wc-block-components-product-details__name { color: var(--nx-red-text); font-weight: 500; }
.wc-block-components-totals-item__value,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-family: var(--nx-display); font-weight: 600; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value { color: var(--nx-red-text); font-size: 1.75rem !important; }
.wc-block-components-quantity-selector { border: 1px solid var(--nx-line-3) !important; border-radius: 0 !important; background: transparent; }
.wc-block-components-quantity-selector::after { display: none !important; }
.wc-block-components-quantity-selector input { border: 0 !important; height: 40px; width: 44px; }
.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button { color: var(--nx-text) !important; opacity: 1; }
.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:hover { background: var(--nx-surface-2); color: var(--nx-red-text) !important; }
.wc-block-cart-item__remove-link { color: var(--nx-muted-2) !important; font-size: .75rem !important; }
.wc-block-components-button:not(.is-link) { border-radius: 0 !important; min-height: 54px; }
.wc-block-components-button:not(.is-link).outlined,
.wc-block-components-button.wc-block-components-button--outlined { background: transparent !important; color: var(--nx-text) !important; border: 1px solid var(--nx-line-4) !important; }
.wc-block-components-button.is-link,
.wc-block-components-checkout-return-to-cart-button { color: var(--nx-red-text) !important; }
.wc-block-components-validation-error,
.wc-block-components-validation-error > p { color: var(--nx-red-text) !important; }
.wc-block-components-text-input.has-error input { border-color: var(--nx-red-text) !important; }
.wc-block-components-address-card { border-color: var(--nx-line-2) !important; background: var(--nx-surface); }
.wc-block-components-formatted-money-amount { font-variant-numeric: tabular-nums; }
.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button { min-width: 260px; }
.wc-block-components-checkout-step__container::after { background: var(--nx-line-2) !important; }
.wc-block-components-express-payment__event-buttons > li { border-radius: 0; }
.wc-block-components-express-payment-continue-rule { color: var(--nx-subtle); }
.wc-block-components-express-payment-continue-rule::before,
.wc-block-components-express-payment-continue-rule::after { border-color: var(--nx-line-2) !important; }
.wc-block-components-express-payment--checkout .wc-block-components-express-payment__title-container::before,
.wc-block-components-express-payment--checkout .wc-block-components-express-payment__title-container::after,
.wc-block-components-express-payment--checkout .wc-block-components-express-payment__content { border-color: var(--nx-line-2) !important; }
.wc-block-components-express-payment--checkout .wc-block-components-express-payment__title { color: var(--nx-muted-2); }
.is-loading .wc-block-components-skeleton__element,
.wc-block-components-skeleton__element { background: var(--nx-surface-2) !important; }
.wc-block-components-loading-mask { background: rgba(11, 11, 12, .5); }
.wc-block-cart__empty-cart__title,
.wp-block-woocommerce-empty-cart-block h2 { font-family: var(--nx-display); color: var(--nx-text); }
.wc-block-cart__empty-cart__title::before { background-color: var(--nx-red-text) !important; }

/* Mini-cart drawer */
.wc-block-mini-cart__drawer .components-modal__frame,
.wc-block-components-drawer,
.wc-block-mini-cart__drawer .wc-block-components-drawer__content { background: var(--nx-bg) !important; color: var(--nx-text) !important; border-left: 1px solid var(--nx-line-2); }
.wc-block-components-drawer__screen-overlay { background-color: rgba(0, 0, 0, .6) !important; }
.wc-block-mini-cart__title { font-family: var(--nx-display); font-weight: 500; font-size: 2rem; }
.wc-block-mini-cart__footer { border-top: 1px solid var(--nx-line-2) !important; background: var(--nx-bg); }
.wc-block-components-drawer__close { color: var(--nx-text) !important; }
.wc-block-mini-cart__footer-actions .wc-block-components-button.outlined,
.wc-block-mini-cart__footer-cart { background: transparent !important; color: var(--nx-text) !important; border: 1px solid var(--nx-line-4) !important; }
.wc-block-mini-cart__empty-cart-wrapper p { color: var(--nx-muted-2); }

/* Order confirmation */
.wc-block-order-confirmation-status { font-family: var(--nx-display); }
.wc-block-order-confirmation-status h1 { font-size: var(--wp--preset--font-size--xxxl); margin: 0; }
.wc-block-order-confirmation-status p { color: var(--nx-muted); font-family: var(--nx-body); font-size: 1rem; }
.wc-block-order-confirmation-summary { border: 1px solid var(--nx-line-2); background: var(--nx-surface); padding: 1.25rem !important; }
.wc-block-order-confirmation-summary-list-item__key { color: var(--nx-subtle); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; }
.wc-block-order-confirmation-totals table { border-color: var(--nx-line-2) !important; }
.wc-block-order-confirmation-totals table :where(th, td) { border-color: var(--nx-line-2) !important; }
.wc-block-order-confirmation-address-wrapper address { border: 1px solid var(--nx-line-2) !important; padding: 1.25rem !important; font-style: normal; color: var(--nx-muted); }

/* My account (classic shortcode markup) */
.woocommerce-account .woocommerce { display: grid; grid-template-columns: minmax(200px, 240px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); }
@media (max-width: 781px) { .woocommerce-account .woocommerce { grid-template-columns: minmax(0, 1fr); } }
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper,
.woocommerce-account .woocommerce > .u-columns,
.woocommerce-account .woocommerce > h2,
.woocommerce-account .woocommerce > form { grid-column: 1 / -1; }
.woocommerce-MyAccount-navigation,
.woocommerce-MyAccount-content { float: none !important; width: auto !important; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--nx-line-2); }
.woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--nx-line-2); }
.woocommerce-MyAccount-navigation a { display: block; padding: .8rem .5rem; color: var(--nx-muted); text-decoration: none; font-size: var(--wp--preset--font-size--sm); }
.woocommerce-MyAccount-navigation .is-active a { color: #fff; box-shadow: inset 3px 0 0 var(--nx-red); padding-left: 1rem; }
.woocommerce-MyAccount-navigation a:hover { color: var(--nx-red-text); }
.woocommerce table.shop_table,
.woocommerce-orders-table { border: 1px solid var(--nx-line-2) !important; border-radius: 0 !important; border-collapse: collapse !important; width: 100%; }
.woocommerce table.shop_table :where(th, td) { border-color: var(--nx-line-2) !important; padding: .9rem 1rem !important; }
.woocommerce table.shop_table th { color: var(--nx-subtle); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.woocommerce form.login,
.woocommerce form.register,
.woocommerce form.checkout_coupon,
.woocommerce form.lost_reset_password { border: 1px solid var(--nx-line-2) !important; border-radius: 0 !important; padding: clamp(1.25rem, 3vw, 2rem) !important; background: var(--nx-surface); }
.woocommerce form .form-row label { color: var(--nx-muted-2); font-size: var(--wp--preset--font-size--sm); }
.woocommerce form .form-row .input-text,
.woocommerce form .form-row select { width: 100%; }
.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button { background: var(--nx-red); color: #fff; border: 1px solid var(--nx-red); border-radius: 0; padding: .9rem 1.5rem; font-size: .8125rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.woocommerce .button:hover { background: var(--nx-red); color: #fff; box-shadow: 0 0 0 1px var(--nx-red-text), 0 16px 48px rgba(212, 42, 49, .5); }
.woocommerce-Address { border: 1px solid var(--nx-line-2); padding: 1.25rem; }
.woocommerce-Address address { font-style: normal; color: var(--nx-muted); }

/* ------------------------------------------------------------------ 10. Forms ([nexus_form]) */
.nx-form-wrap { display: flex; flex-direction: column; gap: 1.25rem; }
.nx-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.25rem; }
.nx-form > * { margin: 0; }
.nx-form__required-note,
.nx-form .nx-field--textarea,
.nx-form .nx-field--checkboxes,
.nx-form .nx-field--consent,
.nx-form__actions { grid-column: 1 / -1; }
@media (max-width: 640px) { .nx-form { grid-template-columns: minmax(0, 1fr); } }
.nx-form__required-note { font-size: var(--wp--preset--font-size--xs); color: var(--nx-subtle); }
.nx-field { display: flex; flex-direction: column; gap: .45rem; }
.nx-field > label,
.nx-field legend { font-size: var(--wp--preset--font-size--xs); letter-spacing: .14em; text-transform: uppercase; color: var(--nx-muted-2); }
.nx-field input,
.nx-field select,
.nx-field textarea { width: 100%; }
.nx-field textarea { min-height: 160px; resize: vertical; }
.nx-field fieldset { border: 0; margin: 0; padding: 0; }
.nx-field legend { margin-bottom: .6rem; padding: 0; }
.nx-req { color: var(--nx-red-text); }
.nx-field__help { margin: 0; font-size: .8125rem; color: var(--nx-subtle); }
.nx-field__error { margin: 0; font-size: .8125rem; color: var(--nx-red-text); }
.nx-field.has-error :where(input, select, textarea) { border-color: var(--nx-red-text); }
.nx-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: .5rem; }
.nx-check { display: flex; align-items: flex-start; gap: .75rem; cursor: pointer; font-size: .9375rem; color: var(--nx-muted); text-transform: none; letter-spacing: 0; }
.nx-check:hover { color: #fff; }
.nx-check input[type="checkbox"] {
	-webkit-appearance: none; appearance: none; flex: none; width: 18px; height: 18px; margin: .2rem 0 0;
	border: 1px solid #6A6A72; background: transparent; display: inline-grid; place-content: center; cursor: pointer;
	transition: border-color .25s, background-color .25s;
}
.nx-check input[type="checkbox"]::after {
	content: ""; width: 9px; height: 5px; margin-top: -3px; border-left: 2px solid #fff; border-bottom: 2px solid #fff;
	transform: rotate(-45deg) scale(0); transition: transform .3s var(--nx-ease);
}
.nx-check input[type="checkbox"]:checked { background: var(--nx-red); border-color: var(--nx-red); }
.nx-check input[type="checkbox"]:checked::after { transform: rotate(-45deg) scale(1); }
.nx-check input[type="checkbox"]:hover { border-color: var(--nx-red-text); }
.nx-field > label.nx-check { font-size: .875rem; letter-spacing: 0; text-transform: none; color: var(--nx-muted); }
.nx-check--consent a { color: var(--nx-red-text); }
.nx-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.nx-form__submit { min-width: 220px; }
.nx-form-notice { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.25rem; border: 1px solid var(--nx-line-3); background: var(--nx-surface); }
.nx-form-notice p { margin: 0; }
.nx-form-notice--success { border-left: 3px solid #4CAF7A; }
.nx-form-notice--success .nx-icon { color: #4CAF7A; }
.nx-form-notice--error { border-left: 3px solid var(--nx-red-text); flex-direction: column; gap: .4rem; }
.nx-form-notice--error a { color: var(--nx-red-text); }

/* ------------------------------------------------------------------ 11. Pages */
.nx-posts__grid { gap: clamp(1.5rem, 3vw, 2.5rem) !important; }
.nx-posts__grid > li { display: flex; flex-direction: column; gap: .6rem; }
.nx-posts__grid > li > * { margin: 0 !important; }
.nx-posts__image { border: 1px solid var(--nx-line); background: var(--nx-surface); overflow: hidden; }
.nx-posts__image img { transition: transform .8s var(--nx-ease); }
.nx-posts__grid > li:hover .nx-posts__image img { transform: scale(1.04); }
.nx-posts__title a { color: var(--nx-text); text-decoration: none; }
.nx-posts__title a:hover { color: var(--nx-red-text); }
.nx-posts__excerpt { color: var(--nx-muted-2); font-size: .9375rem; }
.nx-posts__excerpt .wp-block-post-excerpt__more-text { display: none; }
.nx-empty { color: var(--nx-muted-2); padding: 3rem 0; }
.nx-post-meta { gap: 1rem !important; }
.nx-post-meta > * { margin: 0; }
.nx-post-hero { margin-block: var(--wp--preset--spacing--50) !important; }
.nx-post-hero img { border: 1px solid var(--nx-line); }
.nx-post-nav { margin-top: var(--wp--preset--spacing--70) !important; padding-top: 1.5rem; border-top: 1px solid var(--nx-line-2); }
.nx-post-nav a { color: var(--nx-text); text-decoration: none; }

.nx-404 { text-align: center; padding-top: var(--wp--preset--spacing--80); display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.nx-404 > * { margin: 0 !important; }
.nx-404__code {
	font-family: var(--nx-display); font-size: clamp(7rem, 22vw, 15rem); line-height: .9;
	color: transparent; -webkit-text-stroke: 1px var(--nx-line-4);
	text-shadow: 0 0 60px rgba(212, 42, 49, .25);
}
.nx-404__title { font-size: var(--wp--preset--font-size--xxxl); }
.nx-404__text { color: var(--nx-muted-2); max-width: 32em; }
.nx-404 .nx-search-inline { width: min(480px, 100%); }
.nx-404__actions { justify-content: center; margin-top: 1rem !important; }

/* ------------------------------------------------------------------ 13. Content patterns (home + pages) */
/* Filtered items: core layouts set display, so [hidden] needs help. */
.nx-filter-item[hidden], .nx-filter-group[hidden], .nx-faq-group[hidden], details[hidden], [data-nx-filter-empty][hidden], [data-nx-faq-empty][hidden] { display: none !important; }

/* Shared bits */
.nx-section--tight { padding-top: var(--wp--preset--spacing--60); }
.nx-section-head--split { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 2rem; }
.nx-section-head--split > .wp-block-group { display: flex; flex-direction: column; gap: .75rem; }
.nx-section-head--split > .wp-block-group > * { margin: 0; }
.nx-section-head--split .nx-lead { max-width: 26em; font-size: .9375rem; }
.nx-more { margin: 0; font-size: var(--wp--preset--font-size--xs); letter-spacing: .14em; text-transform: uppercase; }
.nx-more a { color: var(--nx-text); text-decoration: none; }
.nx-more a:not(.nx-ul) { border-bottom: 1px solid var(--nx-line-4); padding-bottom: 3px; transition: border-color .3s, color .3s; }
.nx-more a:not(.nx-ul):hover { border-color: var(--nx-red); color: #fff; }
.nx-more a.nx-ul::before { content: "→ "; color: var(--nx-red-text); }
.nx-narrow > * { max-width: 52rem; }
.nx-narrow > .nx-more,
.nx-prose > .nx-more,
.nx-faq > .nx-more { margin-top: 1.75rem; }
.nx-note { color: var(--nx-muted-2); }
.nx-badge--muted { color: var(--nx-subtle); border-color: var(--nx-line-3); }
.wp-element-button.nx-btn-ghost { background: transparent; color: var(--nx-text); border: 1px solid var(--nx-line-4); }
.wp-element-button.nx-btn-ghost:hover,
.wp-element-button.nx-btn-ghost[aria-pressed="true"] { border-color: var(--nx-red-text); color: #fff; box-shadow: 0 0 28px rgba(212, 42, 49, .28); }
.nx-empty-state { display: flex; flex-direction: column; align-items: center; gap: .75rem; padding: clamp(2rem, 5vw, 3.5rem) 1.5rem; border: 1px dashed var(--nx-line-4); text-align: center; color: var(--nx-muted-2); }
.nx-empty-state > * { margin: 0; }
.nx-empty-state__title { font-family: var(--nx-display); font-size: var(--wp--preset--font-size--lg); color: var(--nx-text); }
.nx-empty-state a:not(.wp-element-button) { color: var(--nx-red-text); }

/* Hero: decorations, floating cards, line reveal, foot */
.nx-hero { min-height: max(760px, min(900px, 100svh)); padding-bottom: 190px; }
.nx-hero__vert { position: absolute !important; top: 48px; right: clamp(16px, 3vw, 40px); writing-mode: vertical-rl; font-size: .75rem; letter-spacing: .5em; color: var(--nx-subtle); animation: nxRise 1s var(--nx-ease-out) 1.4s both; }
.nx-hero__no { position: absolute !important; top: 48px; left: clamp(16px, 3vw, 40px); font-size: .75rem; letter-spacing: .3em; color: var(--nx-subtle); animation: nxRise 1s var(--nx-ease-out) 1.5s both; }
.nx-hero__horizon { position: absolute !important; left: 0; right: 0; max-width: none !important; bottom: 118px; display: flex; justify-content: center; pointer-events: none; }
.nx-hero__horizon .nx-horizon { display: block; width: min(1100px, 90%); height: 1px; background: var(--nx-red); box-shadow: 0 0 18px 2px rgba(212, 42, 49, .6); }
.nx-hero__fan { position: absolute !important; width: 340px; height: 440px; pointer-events: none; }
.nx-hero__fan--left { left: clamp(-40px, 2vw, 60px); top: 260px; }
.nx-hero__fan--right { right: clamp(-40px, 2vw, 60px); top: 240px; }
.nx-hero__card { position: absolute; display: block; }
.nx-hero__card--near { width: 190px; }
.nx-hero__card--far { width: 170px; }
.nx-hero__fan--left .nx-hero__card--far { left: 10px; top: 40px; --nx-rot: -16deg; }
.nx-hero__fan--left .nx-hero__card--near { left: 150px; top: 0; --nx-rot: -6deg; }
.nx-hero__fan--right .nx-hero__card--near { right: 150px; top: 10px; --nx-rot: 6deg; }
.nx-hero__fan--right .nx-hero__card--far { right: 10px; top: 70px; --nx-rot: 16deg; }
.nx-hero__float { display: block; animation: nxFloat 8s ease-in-out infinite; }
.nx-hero__card--far .nx-hero__float { animation-duration: 10s; animation-delay: -4s; }
.nx-hero__fan--right .nx-hero__float { animation-delay: -2s; }
.nx-hero__card-face {
	position: relative; display: block; aspect-ratio: 63 / 88; overflow: hidden; padding: 8px;
	background: var(--nx-surface-2); border: 1px solid var(--nx-line-3);
	transform: rotate(var(--nx-rot, 0deg)); box-shadow: 0 40px 80px rgba(0, 0, 0, .7);
}
.nx-hero__card--far .nx-hero__card-face { background: #141416; border-color: var(--nx-line-2); opacity: .85; }
.nx-hero__card-face img,
.nx-games__card img,
.nx-pack__card-face img,
.nx-preorder-card__frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nx-hero__card-face .nx-card-art__mark,
.nx-games__card .nx-card-art__mark,
.nx-pack__card-face .nx-card-art__mark,
.nx-preorder-card__frame .nx-card-art__mark { object-fit: contain; width: 70%; height: auto; margin: auto; position: absolute; inset: 0; }
@media (max-width: 1099px) { .nx-hero__fan { display: none; } }
.nx-line { display: block; overflow: hidden; padding-bottom: .08em; }
.nx-line > span { display: block; animation: nxLineUp 1.15s cubic-bezier(.2, .8, .2, 1) .9s both; }
.nx-line + .nx-line > span { animation-delay: 1.08s; }
.nx-hero__title { font-size: clamp(3rem, 6.4vw, 5.75rem); max-width: min(1100px, 100%) !important; }
.nx-hero__title em { font-weight: 400; }
.nx-hero .nx-hero__eyebrow.nx-intro { animation-delay: .7s; display: flex; align-items: center; justify-content: center; gap: 14px; }
.nx-hero__eyebrow::before,
.nx-hero__eyebrow::after { content: ""; width: 32px; height: 1px; background: var(--nx-red); }
.nx-hero .nx-hero__sub.nx-intro { animation-delay: 1.3s; margin-top: 1.25rem; }
.nx-hero .nx-hero__actions.nx-intro { animation-delay: 1.45s; margin-top: 1.75rem; }
.nx-hero__foot {
	position: absolute !important; left: 0; right: 0; bottom: 28px;
	width: min(var(--nx-wide), 100%); max-width: none !important; margin-inline: auto; padding-inline: var(--nx-gutter); box-sizing: border-box;
	display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; text-align: left;
	animation: nxRise 1s var(--nx-ease-out) 1.7s both;
}
.nx-hero__featured { margin: 0; display: flex; flex-direction: column; gap: 2px; max-width: min(28rem, 70vw); }
.nx-hero__featured .nx-label { font-size: .75rem; letter-spacing: .2em; }
.nx-hero__featured a { font-family: var(--nx-display); font-size: 1.375rem; line-height: 1.2; color: var(--nx-text); }
.nx-hero__scroll { display: flex; align-items: center; gap: 12px; font-size: .75rem; letter-spacing: .24em; text-transform: uppercase; color: var(--nx-muted-2); text-decoration: none; }
.nx-hero__scroll-line { position: relative; display: block; width: 1px; height: 44px; background: var(--nx-line-2); overflow: hidden; }
.nx-hero__scroll-line::after { content: ""; position: absolute; inset: 0; background: var(--nx-red-text); animation: nxScroll 2.4s cubic-bezier(.6, 0, .4, 1) infinite; }
@media (max-width: 640px) {
	.nx-hero { padding-bottom: 170px; }
	.nx-hero__vert { display: none; }
	.nx-pagehero__vert { display: none; }
	.nx-pagehero__glow { width: 120vw; margin-left: -60vw; }
	.nx-pagehero__inner { padding-right: 0; }
	.nx-hero__vert, .nx-hero__no { top: 20px; }
	.nx-hero__featured a { font-size: 1.125rem; }
	.nx-hero__scroll span:first-child { display: none; }
}

/* Marquee bands + key figures */
.nx-marquee + .nx-marquee { border-top: 1px solid var(--nx-line); }
.nx-marquee--display { padding: 26px 0; background: var(--nx-bg); }
.nx-marquee--display .nx-marquee__item { gap: 40px; padding-right: 40px; color: transparent; -webkit-text-stroke: 1px var(--nx-line-4); }
.nx-marquee--display .nx-marquee__item::after { width: .1em; height: .1em; min-width: 8px; min-height: 8px; }
.nx-marquee--display .nx-marquee__item.is-filled { color: var(--nx-text); -webkit-text-stroke: 0; }
.nx-marquee--display .nx-marquee__item[lang="ja"] { font-family: var(--nx-body); font-weight: 500; font-size: clamp(48px, 6vw, 92px); }
.nx-stats-band { border-bottom: 1px solid var(--nx-line); }
.nx-stats { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.nx-stats__cell { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .5rem; padding: 2.5rem 1.5rem; border-left: 1px solid var(--nx-line); }
.nx-stats__cell:last-child { border-right: 1px solid var(--nx-line); }
.nx-stats dd { margin: 0; font-family: var(--nx-display); font-size: clamp(3.5rem, 6vw, 5rem); line-height: 1; font-weight: 500; font-variant-numeric: tabular-nums; }
.nx-stats dt { font-size: var(--wp--preset--font-size--xs); letter-spacing: .16em; text-transform: uppercase; color: var(--nx-muted-2); }
.nx-stats--boxed { margin-top: var(--wp--preset--spacing--70); border-top: 1px solid var(--nx-line-2); border-bottom: 1px solid var(--nx-line-2); }
.nx-stats--boxed dd { font-size: clamp(2.75rem, 5vw, 4rem); }
@media (max-width: 640px) {
	.nx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nx-stats__cell { padding: 1.5rem 1rem; border-bottom: 1px solid var(--nx-line); }
	.nx-stats__cell:nth-child(2n) { border-right: 1px solid var(--nx-line); }
}

/* Games selector additions */
.nx-games__tab .nx-icon { margin-left: auto; color: var(--nx-red-text); opacity: .35; transform: translateX(-12px); transition: transform .45s var(--nx-ease), opacity .3s; }
.nx-games__tab[aria-selected="true"] .nx-icon { opacity: 1; transform: none; }
.nx-games__tab:hover { color: var(--nx-text); }
.nx-games__panels { min-height: 540px; }
.nx-games__panel { position: relative; overflow: hidden; justify-content: space-between; }
.nx-games__panel > * { position: relative; }
.nx-games__bignum { position: absolute !important; right: -10px; bottom: -40px; font-family: var(--nx-display); font-size: 300px; line-height: 1; color: transparent; -webkit-text-stroke: 1px #2E2E34; pointer-events: none; }
.nx-games__fan { height: 280px; margin-bottom: 1rem; }
.nx-games__card {
	position: absolute; left: 50%; bottom: 10px; width: 140px; margin-left: -70px; aspect-ratio: 63 / 88; overflow: hidden;
	background: #141416; border: 1px solid var(--nx-line-2); box-shadow: 0 24px 48px rgba(0, 0, 0, .6);
}
.nx-games__card--c { width: 170px; margin-left: -85px; bottom: 20px; background: var(--nx-surface-2); border-color: var(--nx-line-4); box-shadow: 0 30px 70px rgba(0, 0, 0, .7), 0 0 40px rgba(212, 42, 49, .18); animation: nxFanC .9s var(--nx-ease) both; }
.nx-games__card--l { animation: nxFanL .9s var(--nx-ease) .05s both; }
.nx-games__card--r { animation: nxFanR .9s var(--nx-ease) .1s both; }
.nx-games__line { margin: 0; color: var(--nx-muted-2); font-size: .9375rem; max-width: 30em; }
@media (max-width: 640px) {
	.nx-games__panels { min-height: 480px; }
	.nx-games__fan { height: 220px; transform: scale(.8); transform-origin: center bottom; }
	.nx-games__tab { padding-block: 1.1rem; gap: 1rem; }
	.nx-games__bignum { font-size: 200px; }
}
@keyframes nxFanL { from { transform: none; } to { transform: translateX(-120px) rotate(-14deg); } }
@keyframes nxFanR { from { transform: none; } to { transform: translateX(120px) rotate(14deg); } }
@keyframes nxFanC { from { transform: translateY(40px) rotate(-4deg); } to { transform: translateY(-10px); } }
@keyframes nxLineUp { from { transform: translateY(108%); } to { transform: none; } }
@keyframes nxScroll { 0% { transform: scaleY(0); transform-origin: top; } 49% { transform: scaleY(1); transform-origin: top; } 51% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@keyframes nxBurst { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
@keyframes nxDash { to { stroke-dashoffset: -120; } }

/* Formats strip */
.nx-formats { display: flex; flex-wrap: wrap; gap: 2.5rem; align-items: flex-start; margin-top: var(--wp--preset--spacing--70) !important; padding: clamp(1.75rem, 4vw, 3rem); background: var(--nx-surface); border: 1px solid var(--nx-line); }
.nx-formats > * { margin: 0 !important; }
.nx-formats__head { flex: 1 1 260px; display: flex; flex-direction: column; gap: .6rem; }
.nx-formats__head > * { margin: 0; }
.nx-formats__title { font-size: 2.25rem; line-height: 1.05; }
.nx-formats__sub { color: var(--nx-muted-2); font-size: var(--wp--preset--font-size--sm); }
.nx-formats__list { flex: 2 1 520px; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.nx-formats__list .nx-chip { min-height: 48px; }
.nx-chip.is-accent { border-color: var(--nx-red); }
.nx-chip.is-accent::before { content: ""; width: 6px; height: 6px; background: var(--nx-red); }

/* Pack showcase */
.nx-showcase { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; max-width: var(--nx-wide); margin-inline: auto !important; }
.nx-pack__burst { position: absolute; left: 50%; top: 44%; width: 260px; height: 260px; margin: -130px 0 0 -130px; border-radius: 50%; border: 1px solid var(--nx-red-text); box-shadow: 0 0 60px rgba(212, 42, 49, .5); opacity: 0; pointer-events: none; }
[data-nx-pack].is-open .nx-pack__burst { animation: nxBurst 1.2s ease-out both; }
.nx-pack__sub { font-size: .75rem; letter-spacing: .3em; text-transform: uppercase; color: var(--nx-muted-2); }
.nx-pack__body .nx-logo { width: 150px; height: 150px; }
.nx-pack__card-face { padding: 10px; }
.nx-showcase__info { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
.nx-showcase__info > * { margin: 0; }
.nx-showcase__eyebrow { display: flex; align-items: center; gap: 14px; font-size: var(--wp--preset--font-size--xs); letter-spacing: .22em; text-transform: uppercase; color: var(--nx-muted-2); }
.nx-showcase__eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--nx-red); }
.nx-showcase__eyebrow [lang="ja"] { color: var(--nx-subtle); letter-spacing: .3em; }
.nx-showcase__title { font-size: clamp(2.25rem, 4vw, 3.375rem); line-height: 1.05; }
.nx-showcase__desc { color: var(--nx-muted); max-width: 32em; }
.nx-showcase__facts { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--nx-line-2); border-bottom: 1px solid var(--nx-line-2); }
.nx-showcase__facts > div { padding: 1.1rem 1rem 1.1rem 0; display: flex; flex-direction: column; gap: .3rem; }
.nx-showcase__facts dt { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--nx-subtle); }
.nx-showcase__facts dd { margin: 0; font-size: 1rem; }
.nx-showcase__price,
.nx-preorder-card__price { font-family: var(--nx-display); font-size: 1.75rem !important; font-weight: 600; color: var(--nx-red-text); line-height: 1.1; }
.nx-showcase__actions,
.nx-preorder-card__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 640px) {
	.nx-showcase__facts { grid-template-columns: minmax(0, 1fr); }
	.nx-showcase__facts > div { flex-direction: row; justify-content: space-between; align-items: baseline; padding-right: 0; border-bottom: 1px solid var(--nx-line); }
	.nx-showcase__facts > div:last-child { border-bottom: 0; }
}

/* Pre-order card (home) + countdown variants */
.nx-split { gap: clamp(2rem, 5vw, 5rem) !important; }
.nx-split .nx-section-head { margin-bottom: 0; }
.nx-preorder-card { position: relative; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; padding: 28px; border: 1px solid var(--nx-line-2); background: var(--nx-bg); overflow: hidden; }
.nx-preorder-card__glow { position: absolute; left: -40px; top: -40px; width: 260px; height: 220px; border-radius: 50%; background: var(--nx-red); filter: blur(80px); opacity: .22; pointer-events: none; }
.nx-preorder-card__art { position: relative; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 200px; height: 240px; background: var(--nx-surface); border: 1px solid var(--nx-line); }
.nx-preorder-card__frame { position: relative; display: block; width: 78%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--nx-surface-2); border: 1px solid var(--nx-line-3); box-shadow: 0 24px 48px rgba(0, 0, 0, .6); transition: transform .6s var(--nx-ease); }
.nx-preorder-card:hover .nx-preorder-card__frame { transform: translateY(-6px) rotate(-1.5deg); }
.nx-preorder-card__body { position: relative; flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; }
.nx-preorder-card__body > * { margin: 0; }
.nx-preorder-card__title { font-size: 1.625rem; line-height: 1.15; }
.nx-preorder-card__title a { color: var(--nx-text); }
.nx-preorder-card__actions { padding-top: .4rem; }
.nx-preorder-card--empty { flex-direction: column; align-items: flex-start; color: var(--nx-muted-2); }
.nx-countdown--sm .nx-countdown__unit { min-width: 62px; padding: .6rem .5rem; }
.nx-countdown--sm .nx-countdown__num { font-size: 1.75rem; }
.nx-countdown--lg .nx-countdown__unit { min-width: 96px; }
.nx-countdown-block { box-sizing: border-box; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; padding: clamp(1.25rem, 3vw, 2rem); margin-bottom: var(--wp--preset--spacing--60); border: 1px solid var(--nx-line-2); background: var(--nx-bg); max-width: var(--nx-wide); margin-inline: auto !important; }
.nx-countdown-block__label { margin: 0; display: flex; flex-direction: column; gap: .4rem; max-width: 34rem; }
.nx-countdown-block__label a,
.nx-countdown-block__label > span:nth-child(2) { font-family: var(--nx-display); font-size: var(--wp--preset--font-size--lg); line-height: 1.2; color: var(--nx-text); }
.nx-countdown-block__date { display: flex; align-items: center; gap: .5rem; font-size: var(--wp--preset--font-size--sm); color: var(--nx-muted); }
.nx-countdown-block__date .nx-icon { color: var(--nx-red-text); }
@media (max-width: 480px) {
	.nx-countdown .nx-countdown__unit { min-width: 0; flex: 1 1 0; padding-inline: .4rem; }
	.nx-countdown { width: 100%; }
	.nx-preorder-card { padding: 20px; }
	.nx-preorder-card__art { width: 100%; height: 220px; }
	.nx-preorder-card__frame { width: 48%; }
}

/* Release list (home teaser) additions */
.nx-cal-list__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.nx-cal-list__body a { font-size: 1rem; }
.nx-cal-list__date--past { border-color: var(--nx-line-4); }
@media (max-width: 600px) {
	.nx-cal-list__row { flex-wrap: wrap; gap: .5rem 1rem; }
	.nx-cal-list__body { flex: 1 1 calc(100% - 72px - 1rem); }
	.nx-cal-list__row > .nx-badge { margin-left: calc(72px + 1rem); }
}

/* Why + story */
.nx-story { margin: 0; max-width: 40em; color: var(--nx-muted); font-size: var(--wp--preset--font-size--md); }
.nx-why__links { display: flex; flex-wrap: wrap; gap: .75rem 2rem; margin-top: var(--wp--preset--spacing--50) !important; font-size: var(--wp--preset--font-size--xs); letter-spacing: .14em; text-transform: uppercase; }
.nx-why__links a { color: var(--nx-text); }
.nx-why__links a::before { content: "→ "; color: var(--nx-red-text); }

/* Shipping box */
.nx-shipbox { display: flex; flex-direction: column; gap: 1.5rem; padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid var(--nx-line-2); position: relative; overflow: hidden; }
.nx-shipbox > * { margin: 0 !important; }
.nx-shipbox__head { gap: 1.5rem; }
.nx-shipbox__head .nx-section-head { margin: 0; gap: .4rem; flex: 1 1 28rem; }
.nx-shipbox__title { font-size: var(--wp--preset--font-size--xl); line-height: 1.1; }
.nx-shipbox__sub { margin: 0; color: var(--nx-muted-2); font-size: var(--wp--preset--font-size--sm); max-width: 40em; }
.nx-shipbox__route { max-width: 100%; height: auto; }
.nx-dash { animation: nxDash 6s linear infinite; }
.nx-rates__zone.is-muted { color: var(--nx-subtle); }
.nx-rates--compact { margin-block: 1.5rem; }
.nx-rates--compact .nx-rates__cell dd { font-size: 1.5rem; }
@media (max-width: 640px) {
	.nx-shipbox__route { display: none; }
	.nx-rates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nx-rates__cell { padding: 1rem; }
	.nx-rates__cell dd { font-size: 1.625rem; }
}

/* CTA band */
.nx-cta__title { font-size: var(--wp--preset--font-size--xxl); }
.nx-cta .nx-section-head .nx-lead { max-width: 34em; }

/* Page title band */
.nx-pagehero { position: relative; overflow: hidden; border-bottom: 1px solid var(--nx-line); padding-top: clamp(2.5rem, 6vw, 5.5rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.nx-pagehero > * { position: relative; }
.nx-pagehero__glow { position: absolute !important; left: 50%; top: 10%; width: 560px; height: 320px; margin-left: -280px; border-radius: 50%; background: var(--nx-red); filter: blur(120px); opacity: .22; pointer-events: none; }
.nx-pagehero__vert { position: absolute !important; top: 40px; right: clamp(16px, 3vw, 40px); writing-mode: vertical-rl; font-size: .75rem; letter-spacing: .5em; color: var(--nx-subtle); }
.nx-pagehero__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; padding-right: 2.5rem; }
.nx-pagehero__inner > * { margin: 0 !important; }
.nx-crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: var(--wp--preset--font-size--xs); letter-spacing: .12em; text-transform: uppercase; color: var(--nx-subtle); animation: nxRise 1s var(--nx-ease-out) both; }
.nx-crumbs a { color: var(--nx-muted-2); text-decoration: none; }
.nx-crumbs a:hover { color: var(--nx-red-text); }
.nx-crumbs [aria-current] { color: var(--nx-text); }
.nx-pagehero .nx-eyebrow { animation: nxRise 1s var(--nx-ease-out) .1s both; }
.nx-pagehero__title { font-size: clamp(2.75rem, 7vw, 6.5rem); line-height: .98; font-weight: 500; max-width: 16ch; animation: nxRise 1.1s var(--nx-ease-out) .2s both; }
.nx-pagehero__lead { max-width: 36em; color: var(--nx-muted); font-size: var(--wp--preset--font-size--md); animation: nxRise 1s var(--nx-ease-out) .35s both; }
.nx-pagehero__actions { animation: nxRise 1s var(--nx-ease-out) .45s both; }

/* Steps (ordered list) */
.wp-block-list.nx-steps { list-style: none; counter-reset: nx-step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); border-top: 1px solid var(--nx-line-2); }
.nx-steps > li { counter-increment: nx-step; position: relative; margin: 0; padding: 2rem 1.75rem 2.25rem 0; border-bottom: 1px solid var(--nx-line-2); color: var(--nx-muted-2); font-size: .9375rem; }
.nx-steps > li + li { padding-left: 1.75rem; border-left: 1px solid var(--nx-line-2); }
.nx-steps > li::before { content: counter(nx-step, decimal-leading-zero); display: block; margin-bottom: 1.25rem; font-family: var(--nx-display); font-size: 3.5rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--nx-red-text); }
.nx-steps > li strong { display: block; margin-bottom: .5rem; font-family: var(--nx-display); font-size: 1.625rem; font-weight: 500; line-height: 1.15; color: var(--nx-text); }
.nx-steps--compact { grid-template-columns: minmax(0, 1fr) !important; }
.nx-steps--compact > li,
.nx-steps--compact > li + li { padding: 1.25rem 0 1.25rem 4.5rem; border-left: 0; }
.nx-steps--compact > li::before { position: absolute; left: 0; top: 1.1rem; font-size: 2.5rem; margin: 0; }
.nx-steps--compact > li strong { font-size: 1.375rem; margin-bottom: .2rem; }
@media (max-width: 781px) {
	.nx-steps > li,
	.nx-steps > li + li { padding: 1.5rem 0 1.5rem 4.5rem; border-left: 0; }
	.nx-steps > li::before { position: absolute; left: 0; top: 1.35rem; margin: 0; font-size: 2.5rem; }
	.nx-steps > li strong { font-size: 1.375rem; margin-bottom: .25rem; }
}

/* Terms grid (wholesale) */
.wp-block-list.nx-terms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 1px; background: var(--nx-line-2); border: 1px solid var(--nx-line-2); }
.nx-terms > li { margin: 0; padding: 1.5rem; background: var(--nx-bg); color: var(--nx-muted); }
.nx-terms > li strong { display: block; margin-bottom: .4rem; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--nx-red-text); font-weight: 500; }

/* Rules list */
.nx-rules > li { color: var(--nx-muted); }
.nx-rules > li strong { color: var(--nx-text); font-weight: 500; }

/* Form pages */
.nx-formcols { gap: clamp(2rem, 5vw, 5rem) !important; }
.nx-formcols .nx-section-head { margin-bottom: 1.5rem; }
.nx-formcols__title { font-size: var(--wp--preset--font-size--xl); margin-bottom: 1.5rem !important; }
.wp-block-list.nx-contactlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--nx-line-2); }
.nx-contactlist > li { margin: 0; padding: 1rem 0; border-bottom: 1px solid var(--nx-line-2); display: flex; flex-direction: column; gap: .3rem; color: var(--nx-text); }
.nx-contactlist a { color: var(--nx-text); text-decoration: none; overflow-wrap: anywhere; }
.nx-contactlist a:hover { color: var(--nx-red-text); }
.nx-contactcard { display: flex; flex-direction: column; gap: 1.25rem; }
.nx-contactcard > * { margin: 0 !important; }
.nx-contactcard__note { color: var(--nx-muted-2); font-size: var(--wp--preset--font-size--sm); }
.wp-block-list.nx-linklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.nx-linklist a { color: var(--nx-text); text-decoration: none; }
.nx-linklist a::before { content: "→ "; color: var(--nx-red-text); }
.nx-linklist a:hover { color: var(--nx-red-text); }

/* Release calendar */
.nx-filterbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-bottom: 1.5rem; margin-bottom: 1rem !important; border-bottom: 1px solid var(--nx-line-2); }
.nx-filterbar__buttons,
.nx-faqbar__cats { display: flex; flex-wrap: wrap; gap: 8px; }
.nx-filterbar .nx-chip,
.nx-faqbar .nx-chip { min-height: 40px; padding: 0 1rem; cursor: pointer; font: inherit; font-size: var(--wp--preset--font-size--sm); }
.nx-filterbar .nx-chip[aria-pressed="true"],
.nx-faqbar .nx-chip[aria-pressed="true"] { background: var(--nx-red); border-color: var(--nx-red); color: #fff; }
.nx-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .8125rem; color: var(--nx-muted-2); }
.nx-legend li { display: flex; align-items: center; gap: .5rem; }
.nx-filterbar__count,
.nx-faqbar__count { margin: 0; width: 100%; font-size: var(--wp--preset--font-size--xs); letter-spacing: .14em; text-transform: uppercase; color: var(--nx-subtle); }
.nx-release-group { margin-top: var(--wp--preset--spacing--60) !important; }
.nx-release-group__title { font-size: var(--wp--preset--font-size--xl); margin: 0 0 1rem !important; }
.nx-release { display: grid; grid-template-columns: 84px minmax(0, 1fr) 10rem 11.5rem; align-items: center; gap: 1rem 1.75rem; padding: 1.5rem .5rem; margin: 0 !important; border-top: 1px solid var(--nx-line-2); transition: background-color .3s; }
.nx-release:last-child { border-bottom: 1px solid var(--nx-line-2); }
.nx-release:hover { background: #111113; }
.nx-release > * { margin: 0 !important; }
.nx-release__date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 84px; height: 84px; border: 1px solid var(--nx-line-4); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--nx-muted); }
.nx-release__date strong { font-family: var(--nx-display); font-size: 2.25rem; line-height: 1; font-weight: 500; letter-spacing: 0; color: var(--nx-text); }
.nx-release.is-pre .nx-release__date { border-color: var(--nx-red); box-shadow: 0 0 24px rgba(212, 42, 49, .25); }
.nx-release.is-soon .nx-release__date { border-style: dashed; }
.nx-release.is-released .nx-release__date strong { color: var(--nx-muted-2); }
.nx-release__body { display: flex; flex-direction: column; gap: .3rem; }
.nx-release__body > * { margin: 0 !important; }
.nx-release__meta { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--nx-subtle); }
.nx-release__title { font-size: 1.75rem; line-height: 1.1; }
.nx-release__note { font-size: var(--wp--preset--font-size--sm); color: var(--nx-muted-2); }
.nx-release__note [lang="ja"] { color: var(--nx-subtle); }
.nx-release__status { justify-self: end; }
.nx-release__action { justify-content: flex-end; }
.nx-release__action .wp-block-button__link { padding: .8rem 1.25rem; font-size: .75rem; white-space: nowrap; }
@media (max-width: 781px) {
	.nx-release { grid-template-columns: 64px minmax(0, 1fr); gap: .75rem 1rem; padding-inline: 0; }
	.nx-release__date { width: 64px; height: 64px; }
	.nx-release__date strong { font-size: 1.75rem; }
	.nx-release__title { font-size: 1.375rem; }
	.nx-release { align-items: start; }
	.nx-release__status,
	.nx-release__action { grid-column: 2; justify-self: start; justify-content: flex-start; }
	.nx-release__status { margin-top: .25rem !important; }
}

/* FAQ page */
.nx-faqbar { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; max-width: var(--nx-wide); margin-bottom: var(--wp--preset--spacing--50) !important; }
.nx-faqbar__search { flex: 1 1 100%; display: flex; align-items: center; gap: .75rem; padding: 0 1.1rem; height: 58px; border: 1px solid var(--nx-line-3); background: var(--nx-surface); transition: border-color .3s, box-shadow .3s; }
.nx-faqbar__search:focus-within { border-color: var(--nx-red-text); box-shadow: 0 0 28px rgba(212, 42, 49, .2); }
.nx-faqbar__search .nx-icon { color: var(--nx-muted-2); }
.nx-faqbar__search input { flex: 1; min-width: 0; height: 100%; border: 0 !important; background: transparent !important; color: var(--nx-text); font: inherit; font-size: 1rem; padding: 0; box-shadow: none !important; outline: 0; }
.nx-faq-group { margin-top: var(--wp--preset--spacing--60) !important; display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); grid-auto-flow: dense; align-content: start; column-gap: clamp(2rem, 5vw, 5rem); }
.nx-faq-group > * { margin: 0 !important; grid-column: 2; }
.nx-faq-group > .nx-faq-group__head { grid-column: 1; grid-row: 1 / span 40; align-self: start; position: sticky; top: 120px; display: flex; flex-direction: column; gap: .5rem; padding-top: 1rem; }
.nx-faq-group__head > * { margin: 0 !important; }
.nx-faq-group__title { font-size: var(--wp--preset--font-size--xl); }
.nx-faq .wp-block-details:first-of-type { border-top: 1px solid var(--nx-line-2); }
@media (max-width: 781px) {
	.nx-faq-group { grid-template-columns: minmax(0, 1fr); }
	.nx-faq-group > *, .nx-faq-group > .nx-faq-group__head { grid-column: 1; grid-row: auto; position: static; }
	.nx-faq-group > .nx-faq-group__head { margin-bottom: .75rem !important; padding-top: 0; }
}
.nx-faq > .nx-empty-state { max-width: 52rem; margin-top: var(--wp--preset--spacing--50) !important; }

/* Guide (TOC + document) and legal layout */
.nx-guide__cols,
.nx-legal__cols { gap: clamp(2rem, 5vw, 5rem) !important; }
.nx-toc,
.nx-legalnav { position: sticky; top: 120px; }
.nx-toc > * { margin: 0 !important; }
.nx-toc__title,
.nx-legalnav__title { margin: 0 0 .75rem; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--nx-subtle); }
.wp-block-list.nx-toc__list,
.nx-legalnav ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--nx-line-2); }
.nx-toc__list li,
.nx-legalnav li { margin: 0; border-bottom: 1px solid var(--nx-line-2); }
.nx-toc__list a,
.nx-legalnav a { position: relative; display: flex; gap: .75rem; padding: .8rem .5rem .8rem .75rem; color: var(--nx-muted); text-decoration: none; font-size: var(--wp--preset--font-size--sm); transition: color .25s, background-color .25s; }
.nx-toc__list a:hover,
.nx-legalnav a:hover { color: #fff; background: #111113; }
.nx-toc__num { font-size: .75rem; letter-spacing: .14em; color: var(--nx-red-text); padding-top: .2em; }
.nx-legalnav a { flex-direction: column; gap: .1rem; }
.nx-legalnav__ja { font-size: .8125rem; color: var(--nx-subtle); }
.nx-legalnav a[aria-current="page"] { color: var(--nx-text); background: #111113; }
.nx-legalnav a[aria-current="page"]::before { content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 3px; background: var(--nx-red); }
.nx-legalnav__help { margin: 1.25rem 0 0; font-size: .8125rem; color: var(--nx-subtle); }
.nx-legalnav__help a { display: inline; padding: 0; color: var(--nx-red-text); background: none !important; font-size: inherit; }
.nx-legal__updated { font-size: var(--wp--preset--font-size--xs); letter-spacing: .14em; text-transform: uppercase; color: var(--nx-subtle); }
.nx-legal__title { font-size: var(--wp--preset--font-size--xl) !important; margin-top: .75rem !important; }
.wp-block-table th,
.wp-block-table td { border-color: var(--nx-line-2); }
.wp-block-table thead { border-bottom-color: var(--nx-line-3); }
.nx-guide__doc > *,
.nx-legal__doc > * { max-width: 46rem; }
.nx-prose > .nx-steps { margin-top: 1.5rem; }
.nx-prose > * + * { margin-block-start: 1.1em; }
.nx-prose > :first-child { margin-top: 0; }
.nx-prose :where(h2) { font-size: var(--wp--preset--font-size--xl); margin-block-start: 2.2em; scroll-margin-top: 120px; }
.nx-prose :where(h3) { font-size: var(--wp--preset--font-size--lg); margin-block-start: 1.8em; }
.nx-prose :where(p, li) { color: var(--nx-muted); line-height: 1.8; }
.nx-prose :where(li) + li { margin-top: .5em; }
.nx-prose :where(ul, ol):not(.nx-steps):not(.nx-toc__list) { padding-left: 1.25em; }
.nx-prose li::marker { color: var(--nx-red-text); }
.nx-prose strong { color: var(--nx-text); font-weight: 500; }
.nx-prose a:not(.wp-element-button) { color: var(--nx-red-text); }
.nx-prose .nx-prose__lead,
.nx-prose__lead { font-size: var(--wp--preset--font-size--md); color: var(--nx-text); line-height: 1.7; }
.nx-prose .is-style-notice p { margin: 0; color: var(--nx-text); }
.nx-prose .nx-more a { color: var(--nx-text); }
.nx-prose .nx-steps > li { line-height: 1.6; }
.nx-kv table,
.nx-ratetable table { border-collapse: collapse; width: 100%; }
.nx-kv th { width: 30%; vertical-align: top; color: var(--nx-text); font-size: var(--wp--preset--font-size--sm); background: var(--nx-surface); }
.nx-kv th small { display: block; margin-top: .2rem; font-size: .75rem; color: var(--nx-subtle); letter-spacing: .04em; }
.nx-kv td { color: var(--nx-muted); line-height: 1.8; }
.nx-ratetable td:last-child { font-family: var(--nx-display); font-size: 1.25rem; font-weight: 600; color: var(--nx-text); white-space: nowrap; }
.nx-ratetable td:nth-child(2):not(:last-child) { color: var(--nx-muted-2); font-size: var(--wp--preset--font-size--sm); }
@media (max-width: 781px) {
	.nx-toc, .nx-legalnav { position: static; }
	.nx-legal__side { order: 2; margin-top: var(--wp--preset--spacing--50); }
	.nx-kv th, .nx-kv td { display: block; width: auto; border: 0 !important; }
	.nx-kv tr { display: block; border: 1px solid var(--nx-line-2); margin-top: -1px; }
}

/* About */
.nx-story-cols { gap: clamp(2rem, 5vw, 5rem) !important; }
.nx-story-cols .wp-block-column > :first-child { margin-top: 0; }
.nx-story-cols .nx-section-title { margin: .75rem 0 1.5rem; }
.nx-quote { margin: 0; padding-left: 1.25rem; border-left: 2px solid var(--nx-red); font-family: var(--nx-display); font-size: var(--wp--preset--font-size--xl); font-style: italic; line-height: 1.2; color: var(--nx-text); }

/* ------------------------------------------------------------------ 12. Reduced motion */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		animation-delay: 0s !important;
		transition-duration: .001ms !important;
		scroll-behavior: auto !important;
	}
	.nx-marquee > :first-child,
	.nx-foil,
	.nx-hero__sweep::before { animation: none !important; }
	.nx-marquee { overflow-x: auto; }
	html.nx-js [data-nx-reveal] { opacity: 1; transform: none; }
	[data-nx-tilt] img { transform: none !important; }
	[data-nx-tilt]::after,
	.nx-embers-canvas { display: none; }
}

/* Section titles inside a Product Collection (WooCommerce shrinks h2.wp-block-heading there). */
.wp-block-woocommerce-product-collection h2.wp-block-heading.nx-section-title { font-size: var(--wp--preset--font-size--xxxl); line-height: 1.05; }

/* ------------------------------------------------------------------ 14. v1.1 — mobile shop, empty states, sticky cart, hero pick */
/* Japanese labels: 13px minimum, lighter tracking (wide tracking breaks kana/kanji rhythm). */
.nx-eyebrow [lang="ja"] { font-size: .8125rem; letter-spacing: .24em; }
.nx-shopnav__title [lang="ja"],
.nx-mega__title [lang="ja"],
.nx-drawer__title [lang="ja"] { font-size: .8125rem; letter-spacing: .12em; }

/* Page heads: breadcrumb left-aligned, first line above eyebrow + title. */
.nx-pagehead .wc-block-breadcrumbs,
.nx-pagehead .nx-crumbs { align-self: flex-start; width: auto; max-width: 100%; margin: 0 !important; text-align: left; justify-content: flex-start; }

/* Shop filters below 782px: one "Filters" button; the navigation opens under it. */
@media (max-width: 781px) {
	.nx-filters__toggle {
		display: flex; align-items: center; gap: .75rem; width: 100%; min-height: 48px; padding: 0 1rem;
		border: 1px solid var(--nx-line-3); background: var(--nx-surface); color: var(--nx-text); cursor: pointer;
		font: inherit; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; text-align: left;
	}
	.nx-filters__toggle:hover,
	.nx-filters__toggle:focus-visible { border-color: var(--nx-red-text); }
	.nx-filters__icon { flex: none; width: 14px; height: 10px; background: linear-gradient(currentColor, currentColor) 0 0 / 14px 1.5px no-repeat, linear-gradient(currentColor, currentColor) 2px 50% / 10px 1.5px no-repeat, linear-gradient(currentColor, currentColor) 4px 100% / 6px 1.5px no-repeat; color: var(--nx-red-text); }
	.nx-filters__current { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-transform: none; letter-spacing: 0; font-size: .875rem; color: var(--nx-muted-2); text-align: right; }
	.nx-filters__toggle .nx-icon { flex: none; color: var(--nx-red-text); transition: transform .35s var(--nx-ease); }
	.nx-filters__toggle[aria-expanded="true"] .nx-icon { transform: rotate(180deg); }
	html.nx-js .nx-filters.is-enhanced:not(.is-open) .nx-shopnav { display: none; }
	.nx-filters .nx-shopnav { gap: 1.25rem; }
	.nx-filters.is-open .nx-shopnav { margin-top: .5rem; padding: 1rem 1rem .5rem; border: 1px solid var(--nx-line-2); background: var(--nx-bg-2); animation: nxDrop .35s var(--nx-ease) both; }
	.nx-shopnav__link { padding-block: .7rem; }
	.nx-shop__toolbar { margin-bottom: 1rem !important; padding-bottom: .75rem; gap: .75rem !important; }
	.nx-shop__toolbar .wc-block-catalog-sorting select,
	.nx-shop__toolbar .orderby { height: 40px; }
	.nx-pagehead { padding-top: var(--wp--preset--spacing--50); padding-bottom: var(--wp--preset--spacing--40); gap: .5rem; }
	.nx-pagehead h1,
	.nx-pagehead .wp-block-query-title { font-size: clamp(2.25rem, 10vw, 2.75rem); }
	.nx-pagehead--term { margin-bottom: var(--wp--preset--spacing--40); }
}

/* Empty category / search state. */
.nx-empty-grid { display: flex; flex-direction: column; gap: 1rem; }
.nx-empty-grid > * { margin: 0 !important; }
.wp-block-woocommerce-product-collection .nx-empty-grid__title,
.nx-empty-grid__title {
	max-width: 20ch; margin: 0; font-family: var(--nx-display) !important; font-size: var(--wp--preset--font-size--xl) !important;
	font-weight: 500 !important; line-height: 1.1 !important; letter-spacing: -.01em; color: var(--nx-text);
}
.nx-empty-grid__text { max-width: 36em; }
.nx-empty-grid__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: .5rem !important; }
.nx-empty-grid__actions .wp-element-button { gap: .6rem; }
.nx-empty-grid__more { font-size: var(--wp--preset--font-size--xs); letter-spacing: .14em; text-transform: uppercase; }
.nx-empty-grid__more a { color: var(--nx-text); }
.nx-empty-more { margin-top: var(--wp--preset--spacing--70); }
.nx-empty-more__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .5rem 2rem; margin-bottom: var(--wp--preset--spacing--50); }
.nx-empty-more__head .nx-eyebrow { flex: 1 0 100%; }
.nx-empty-more__head > * { margin: 0; }
.wp-block-woocommerce-product-collection .nx-empty-more__title,
.nx-empty-more__title { margin: 0; font-family: var(--nx-display) !important; font-size: var(--wp--preset--font-size--xl) !important; font-weight: 500 !important; line-height: 1.1 !important; }
.nx-empty-more .nx-more a.nx-ul::before { content: "→ "; color: var(--nx-red-text); }
@media (min-width: 600px) { .nx-empty-more .nx-products ul.wc-block-product-template { grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)) !important; } }

/* Pre-orders page with one or two pre-orders: feature cards instead of a sparse grid. */
.nx-preorder-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(560px, 100%), 1fr)); gap: clamp(1.25rem, 3vw, 2rem); max-width: var(--nx-wide); margin-inline: auto !important; }
.nx-preorder-list .nx-preorder-card { padding: clamp(20px, 3vw, 40px); gap: clamp(24px, 4vw, 56px); }
.nx-preorder-list .nx-preorder-card__art { width: clamp(220px, 28vw, 340px); height: auto; aspect-ratio: 5 / 6; }
.nx-preorder-list .nx-preorder-card__title { font-size: var(--wp--preset--font-size--xl); }
@media (max-width: 480px) {
	.nx-preorder-list .nx-preorder-card__art { width: 100%; aspect-ratio: auto; height: 240px; }
}

/* Game panels with one or two products: no filler cards. */
.nx-games__fan--1 .nx-games__card--c { animation-name: nxRise; }

/* Pack showcase section: hidden when its shortcode printed nothing (fallback). */
.nx-section--showcase:not(:has(.nx-showcase)) { display: none; }

/* Home hero: compact product pick (mobile only). */
.nx-hero__pick { display: none; }
@media (max-width: 781px) {
	.nx-hero { min-height: 0; justify-content: flex-start; padding-top: 2.5rem; padding-bottom: var(--wp--preset--spacing--60); }
	.nx-hero__logo,
	.nx-hero__no,
	.nx-hero__horizon,
	.nx-hero__featured,
	.nx-hero__scroll { display: none !important; }
	.nx-hero__title { font-size: clamp(2.375rem, 11vw, 3rem); }
	.nx-hero .nx-hero__sub.nx-intro { margin-top: 1rem; font-size: 1rem; line-height: 1.6; }
	.nx-hero .nx-hero__actions.nx-intro { margin-top: 1.25rem; }
	.nx-hero__foot { position: relative !important; bottom: auto; order: 10; display: block; width: 100%; margin-top: 1.5rem; padding-inline: 0; }
	.nx-hero__pick {
		display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 12px; text-align: left;
		border: 1px solid var(--nx-line-3); background: rgba(19, 19, 21, .92); color: var(--nx-text); text-decoration: none;
		transition: border-color .3s;
	}
	.nx-hero__pick:hover,
	.nx-hero__pick:focus-visible { border-color: var(--nx-red); color: var(--nx-text); }
	.nx-hero__pick > .nx-icon { flex: none; color: var(--nx-red-text); }
	.nx-hero__pick-art { position: relative; flex: none; width: 76px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--nx-surface-2); border: 1px solid var(--nx-line-2); }
	.nx-hero__pick-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
	.nx-hero__pick-art .nx-card-art__mark { object-fit: contain; width: 70%; height: auto; margin: auto; position: absolute; inset: 0; }
	.nx-hero__pick-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
	.nx-hero__pick-label { display: flex; align-items: center; gap: .5rem; }
	.nx-hero__pick-title { font-size: .9375rem; font-weight: 500; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.nx-hero__pick-price { font-family: var(--nx-display); font-size: 1.25rem; font-weight: 600; line-height: 1.1; color: var(--nx-red-text); }
	.nx-hero__pick-meta { font-size: .75rem; color: var(--nx-muted-2); }
}

/* Mobile product grid: two compact columns below 600px. */
@media (max-width: 599px) {
	.nx-products ul.wc-block-product-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 1.5rem .75rem !important; }
	li.wc-block-product { gap: .35rem; }
	li.wc-block-product .wc-block-components-product-image { margin-bottom: .4rem !important; }
	li.wc-block-product .wc-block-components-product-image a { padding: .75rem; }
	li.wc-block-product .wc-block-components-product-image .nx-badge { top: 6px; left: 6px; padding: 2px 6px; letter-spacing: .08em; }
	li.wc-block-product .wp-block-post-terms { display: none; }
	li.wc-block-product .wp-block-post-title { font-size: .875rem !important; line-height: 1.35 !important; display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	li.wc-block-product .wp-block-post-title a { display: inline !important; }
	li.wc-block-product .wc-block-components-product-price { font-size: 1.1875rem !important; }
	li.wc-block-product .nx-ships { align-items: flex-start; gap: .35rem; font-size: .75rem; line-height: 1.35; }
	li.wc-block-product .nx-ships .nx-icon { width: 13px; height: 13px; margin-top: 1px; }
	li.wc-block-product .wc-block-components-product-button__button,
	li.wc-block-product .wp-block-button__link { min-height: 42px; padding: .5rem .5rem; font-size: .75rem; letter-spacing: .06em; }
	li.wc-block-product .wp-block-woocommerce-product-button,
	li.wc-block-product .wc-block-components-product-button { padding-top: .4rem; }
}

/* Single product: mobile purchase bar (nexus.js shows it after the real button). */
.nx-stickycart {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
	display: flex; align-items: center; gap: 12px;
	padding: 10px var(--nx-gutter) calc(10px + env(safe-area-inset-bottom, 0px));
	background: rgba(11, 11, 12, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	border-top: 1px solid var(--nx-line-2); box-shadow: 0 -18px 40px rgba(0, 0, 0, .5);
	transform: translateY(110%); transition: transform .35s var(--nx-ease);
}
.nx-stickycart[hidden] { display: none; }
.nx-stickycart.is-visible { transform: none; }
.nx-stickycart__info { flex: 1 1 auto; min-width: 0; }
.nx-stickycart__info p { margin: 0; }
.nx-stickycart__title { font-size: .8125rem; color: var(--nx-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nx-stickycart__price { font-family: var(--nx-display); font-size: 1.25rem; font-weight: 600; line-height: 1.15; color: var(--nx-red-text); }
.nx-stickycart__price del { font-size: .75em; color: var(--nx-subtle); }
.nx-stickycart__btn { flex: none; min-height: 48px; padding: 0 1.25rem; font-size: .8125rem; white-space: nowrap; }
html.nx-has-stickycart body { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 782px) { .nx-stickycart { display: none !important; } }
