/*!
Theme Name: Nexelyx
Theme URI: https://nexelyx.com/
Author: Nexelyx
Author URI: https://nexelyx.com/
Description: Production WooCommerce storefront for NEXELYX — premium gaming and audio gear, Dubai UAE. Server-rendered PHP with React 18 interactivity islands, bilingual EN/AR with full RTL support.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nexelyx
Tags: e-commerce, woocommerce, rtl-language-support, translation-ready, custom-colors, custom-menu
WC requires at least: 8.0
WC tested up to: 9.4
*/

/* ==========================================================================
   1. DESIGN TOKENS
   The approved palette: violet on light. Every consumer below reads from
   these variables — never hard-code a hex outside this block.
   ========================================================================== */

:root {
	/* brand */
	--nx-violet: #7c3aed;
	--nx-violet-700: #5b21b6;
	--nx-violet-900: #4c1d95;
	--nx-violet-50: #f2edfd;
	--nx-violet-25: #f4f0fe;
	--nx-violet-300: #c4b5fd;
	--nx-violet-400: #a78bfa;
	--nx-cyan: #06b6d4;
	--nx-cyan-300: #22d3ee;

	/* ink + surfaces
	   The three muted greys are darkened from the design's #8d859a / #9a92a6 /
	   #a29aae, which measured 3.52:1, 2.77:1 and 2.39:1 against white — below
	   the 4.5:1 WCAG AA minimum for the 11–12.5px text they are used on. Hue
	   and saturation are unchanged; only lightness moved, to the first value
	   that clears 4.5:1 on every surface each token appears on. */
	--nx-ink: #17141c;
	--nx-ink-deep: #16101f;
	--nx-body: #4a4356;
	--nx-muted: #6d6478;
	--nx-muted-2: #736a81;
	--nx-muted-3: #776d86;
	--nx-muted-4: #746983;
	--nx-page: #f7f6f9;
	--nx-surface: #ffffff;
	--nx-surface-2: #f2f0f6;
	--nx-surface-3: #faf9fb;
	--nx-surface-4: #f4f2f7;
	--nx-line: rgba(23, 20, 28, 0.08);
	--nx-line-2: rgba(23, 20, 28, 0.14);
	--nx-line-3: rgba(23, 20, 28, 0.07);

	/* on-dark */
	--nx-on-dark: rgba(255, 255, 255, 0.72);
	--nx-on-dark-dim: rgba(255, 255, 255, 0.62);
	--nx-on-dark-line: rgba(255, 255, 255, 0.1);
	--nx-on-dark-fill: rgba(255, 255, 255, 0.09);

	/* status
	   --nx-new is darkened from the design's #0891b2, which gave white badge
	   text only 3.68:1. The badge label is 10.5px, so it needs the 4.5:1 small
	   -text minimum rather than the 3:1 large-text one. */
	--nx-success: #059669;
	--nx-success-bg: #e8f8f1;
	--nx-success-ink: #047857;
	--nx-success-bright: #5ee9a8;
	--nx-sale: #e11d48;
	--nx-new: #07819f;
	--nx-star: #f59e0b;
	--nx-warn: #c2410c;
	--nx-track-done: #22c55e;

	/* type */
	--nx-font-en: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--nx-font-ar: "IBM Plex Sans Arabic", "Manrope", system-ui, sans-serif;
	--nx-font: var(--nx-font-en);

	/* radii */
	--nx-r-sm: 6px;
	--nx-r-md: 11px;
	--nx-r-lg: 14px;
	--nx-r-xl: 16px;
	--nx-r-2xl: 18px;
	--nx-r-3xl: 22px;
	--nx-r-hero: 24px;
	--nx-r-pill: 999px;

	/* layout */
	--nx-wrap: 1120px;
	--nx-gutter: 40px;
	--nx-grid-gap: 18px;

	/* type scale — desktop values; mobile overrides in the media query below */
	--nx-h1-hero: 50px;
	--nx-h1-slab: 68px;
	--nx-h1-mosaic: 42px;
	--nx-h2: 26px;
	--nx-hero-sub: 16.5px;
	--nx-band-h: 34px;
}

[dir="rtl"] {
	--nx-font: var(--nx-font-ar);
}

/* ==========================================================================
   2. BASE
   ========================================================================== */

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

/* The `hidden` attribute is how every island toggles visibility. The UA rule
   for it is only a type-level `display: none`, so any author rule that sets a
   display — `.nx-btn { display: inline-flex }`, the grids, the flex rows —
   silently beats it. This restores the attribute's meaning everywhere. */
[hidden] {
	display: none !important;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--nx-page);
	color: var(--nx-ink);
	font-family: var(--nx-font);
	font-size: 15px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.2;
	text-wrap: pretty;
}

p {
	margin: 0;
	text-wrap: pretty;
}

a {
	color: var(--nx-violet-700);
	text-decoration: none;
}

a:hover,
a:focus {
	color: var(--nx-violet-900);
}

img,
svg,
video {
	max-width: 100%;
}

img {
	height: auto;
	display: block;
}

ul,
ol {
	margin: 0;
	padding: 0;
}

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

input::placeholder,
textarea::placeholder {
	color: var(--nx-muted-4);
	opacity: 1;
}

table {
	border-collapse: collapse;
	width: 100%;
}

:where(button, [role="button"], a, input, select, textarea, summary):focus-visible {
	outline: 2px solid var(--nx-violet);
	outline-offset: 2px;
	border-radius: var(--nx-r-sm);
}

.nx-skip-link {
	position: absolute;
	inset-inline-start: 8px;
	top: -60px;
	z-index: 200;
	background: var(--nx-ink);
	color: #fff;
	padding: 12px 18px;
	border-radius: var(--nx-r-md);
	font-size: 14px;
	font-weight: 700;
	transition: top 0.15s ease;
}

.nx-skip-link:focus {
	top: 8px;
	color: #fff;
}

.screen-reader-text,
.nx-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	position: static !important;
	width: auto;
	height: auto;
	clip: auto;
	margin: 0;
	white-space: normal;
}

/* ==========================================================================
   3. LAYOUT PRIMITIVES
   ========================================================================== */

.nx-wrap {
	max-width: var(--nx-wrap);
	margin-inline: auto;
}

.nx-page {
	padding: 34px var(--nx-gutter) 40px;
	max-width: var(--nx-wrap);
	margin-inline: auto;
}

.nx-section {
	padding: 46px var(--nx-gutter) 8px;
	max-width: var(--nx-wrap);
	margin-inline: auto;
}

.nx-section--tight {
	padding-block-start: 44px;
}

.nx-section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-block-end: 20px;
}

.nx-section__head h2 {
	font-size: var(--nx-h2);
	letter-spacing: -0.015em;
}

.nx-section__more {
	font-size: 13.5px;
	font-weight: 700;
	white-space: nowrap;
}

.nx-grid {
	display: grid;
	gap: var(--nx-grid-gap);
}

.nx-grid--products {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.nx-grid--results {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.nx-grid--blog {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nx-grid--half {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.nx-grid--split {
	grid-template-columns: 1.35fr 0.65fr;
	gap: 22px;
	align-items: start;
}

.nx-crumb {
	font-size: 12px;
	color: var(--nx-muted-2);
	font-weight: 600;
	margin-block-end: 12px;
}

.nx-crumb a {
	color: inherit;
}

.nx-crumb a:hover {
	color: var(--nx-violet-700);
}

.nx-card {
	background: var(--nx-surface);
	border: 1px solid var(--nx-line);
	border-radius: var(--nx-r-2xl);
	padding: 22px;
}

.nx-card__title {
	font-size: 15px;
	font-weight: 800;
	margin-block-end: 16px;
}

.nx-hr {
	height: 1px;
	background: var(--nx-line);
	border: 0;
	margin-block: 14px;
}

.nx-eyebrow {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	color: var(--nx-muted-3);
	text-transform: uppercase;
}

/* ==========================================================================
   4. CONTROLS — buttons, inputs, selects
   ========================================================================== */

.nx-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	height: 50px;
	min-height: 44px;
	padding-inline: 26px;
	border: 0;
	border-radius: 12px;
	background: var(--nx-violet);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	white-space: nowrap;
	text-align: center;
	transition: background-color 0.14s ease;
}

.nx-btn:hover,
.nx-btn:focus {
	background: var(--nx-violet-700);
	color: #fff;
}

.nx-btn[disabled],
.nx-btn.is-disabled {
	opacity: 0.45;
	cursor: not-allowed;
	pointer-events: none;
}

.nx-btn--secondary {
	background: var(--nx-surface);
	border: 1px solid var(--nx-line-2);
	color: var(--nx-ink);
}

.nx-btn--secondary:hover,
.nx-btn--secondary:focus {
	background: var(--nx-surface-2);
	color: var(--nx-ink);
}

.nx-btn--dark {
	background: var(--nx-ink);
}

.nx-btn--dark:hover,
.nx-btn--dark:focus {
	background: var(--nx-ink-deep);
	color: #fff;
}

.nx-btn--light {
	background: #fff;
	color: var(--nx-ink);
}

.nx-btn--light:hover,
.nx-btn--light:focus {
	background: var(--nx-surface-2);
	color: var(--nx-ink);
}

.nx-btn--ghost-light {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.28);
	color: #fff;
}

.nx-btn--ghost-light:hover,
.nx-btn--ghost-light:focus {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

.nx-btn--wa {
	background: var(--nx-success-bg);
	color: var(--nx-success-ink);
	height: 48px;
}

.nx-btn--wa:hover,
.nx-btn--wa:focus {
	background: #d9f2e6;
	color: var(--nx-success-ink);
}

.nx-btn--block {
	width: 100%;
}

.nx-btn--sm {
	height: 44px;
	font-size: 13.5px;
	padding-inline: 18px;
	border-radius: var(--nx-r-md);
}

.nx-btn--tall {
	height: 52px;
}

.nx-field {
	display: block;
	margin-block-end: 14px;
}

.nx-label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	color: var(--nx-muted);
	margin-block-end: 6px;
}

.nx-input,
.nx-select,
.nx-textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="url"],
select,
textarea {
	width: 100%;
	height: 46px;
	border-radius: var(--nx-r-md);
	border: 1px solid var(--nx-line-2);
	background: var(--nx-surface);
	padding: 0 14px;
	outline: none;
	font-size: 14px;
	color: var(--nx-ink);
}

.nx-textarea,
textarea {
	height: auto;
	min-height: 74px;
	padding: 11px 14px;
	resize: vertical;
	line-height: 1.55;
}

.nx-input:focus,
.nx-select:focus,
.nx-textarea:focus,
input:focus,
select:focus,
textarea:focus {
	border-color: var(--nx-violet);
	box-shadow: 0 0 0 3px var(--nx-violet-25);
}

.nx-input--error,
input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
	border-color: var(--nx-sale);
}

.nx-error {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: var(--nx-sale);
	margin-block-start: 6px;
}

.nx-checkbox {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--nx-body);
	cursor: pointer;
}

.nx-checkbox input {
	accent-color: var(--nx-violet);
	width: 16px;
	height: 16px;
	flex: none;
	height: 16px;
}

.nx-inline-form {
	display: flex;
	gap: 8px;
}

.nx-inline-form .nx-input {
	flex: 1;
	height: 44px;
	font-size: 13.5px;
}

/* Quantity stepper — shared by PDP, cart and mini-cart. */
.nx-qty {
	display: flex;
	align-items: center;
	border: 1px solid var(--nx-line-2);
	border-radius: 12px;
	height: 50px;
	background: var(--nx-surface);
	flex: none;
}

.nx-qty__btn {
	border: 0;
	background: transparent;
	width: 44px;
	height: 48px;
	font-size: 19px;
	line-height: 1;
	cursor: pointer;
	color: var(--nx-ink);
	border-radius: 12px;
}

.nx-qty__btn[disabled] {
	color: var(--nx-muted-4);
	cursor: not-allowed;
}

.nx-qty__value {
	min-width: 34px;
	text-align: center;
	font-weight: 800;
	font-size: 15px;
	border: 0;
	background: transparent;
	height: auto;
	padding: 0;
	-moz-appearance: textfield;
}

.nx-qty__value::-webkit-outer-spin-button,
.nx-qty__value::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.nx-qty--sm {
	height: 36px;
	border-radius: 10px;
}

.nx-qty--sm .nx-qty__btn {
	width: 34px;
	height: 34px;
	font-size: 17px;
}

.nx-qty--sm .nx-qty__value {
	min-width: 26px;
	font-size: 13.5px;
}

/* ==========================================================================
   5. PROMO STRIP + DESKTOP HEADER (3 tiers)
   ========================================================================== */

.nx-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: var(--nx-surface);
	box-shadow: 0 1px 0 var(--nx-line-2);
}

.nx-promo {
	background: var(--nx-ink-deep);
	color: rgba(255, 255, 255, 0.8);
	font-size: 12.5px;
	min-height: 40px;
	padding: 0 var(--nx-gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.nx-promo__wa {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--nx-success-bright);
	font-weight: 600;
	white-space: nowrap;
}

.nx-promo__wa:hover,
.nx-promo__wa:focus {
	color: #fff;
}

.nx-promo__util {
	display: flex;
	align-items: center;
	gap: 18px;
	white-space: nowrap;
}

.nx-promo__sep {
	opacity: 0.3;
}

.nx-langswitch {
	display: flex;
	gap: 4px;
}

.nx-langswitch__btn {
	border: 0;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	border-radius: var(--nx-r-sm);
	padding: 6px 9px;
	min-height: 24px;
	font-size: 11.5px;
	font-weight: 700;
	cursor: pointer;
	line-height: 1;
}

.nx-langswitch__btn.is-active {
	background: var(--nx-violet);
}

.nx-header__mid {
	min-height: 80px;
	padding: 0 var(--nx-gutter);
	display: flex;
	align-items: center;
	gap: 28px;
}

.nx-logo {
	display: flex;
	align-items: center;
	gap: 11px;
	flex: none;
	color: var(--nx-ink);
}

.nx-logo:hover,
.nx-logo:focus {
	color: var(--nx-ink);
}

.nx-logo img {
	width: 38px;
	height: 38px;
	border-radius: var(--nx-r-md);
	object-fit: cover;
}

.nx-logo__word {
	font-size: 20px;
	font-weight: 800;
	letter-spacing: 0.02em;
}

/* One pill holding four zones: icon · field · category · submit.
   Both ends carry the same 6px inset so the icon well and the button sit
   symmetrically against the rounded edges, and the whole bar reads as a single
   control rather than a field with things bolted on either side.

   Basis, not `flex: 1` — the trailing spacer is also flexible, and two equal
   `flex: 1` siblings would split the row and squash the field to half width. */
.nx-search {
	flex: 1 1 620px;
	max-width: 620px;
	display: flex;
	align-items: center;
	background: var(--nx-surface-2);
	border: 1px solid var(--nx-line);
	border-radius: 13px;
	height: 48px;
	padding-inline: 6px;
	gap: 0;
	position: relative;
}

/* A fixed well, so the glyph is optically centred against the pill's curve and
   the text always starts at the same offset whatever the icon's own width. */
.nx-search__icon {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 100%;
	color: var(--nx-muted);
}

/* The generic `input[type="search"]` rule is an attribute selector and outranks
   a bare class, so the reset has to be at least as specific or the field keeps
   its own height, padding and radius inside the bar. */
.nx-search input.nx-search__input,
input[type="search"].nx-search__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 100%;
	border: 0;
	border-radius: 0;
	background: transparent;
	outline: none;
	font-size: 14.5px;
	padding: 0;
	padding-inline-end: 10px;
	box-shadow: none;
}

.nx-search input.nx-search__input:focus,
input[type="search"].nx-search__input:focus {
	border: 0;
	box-shadow: none;
}

/* A hairline divider makes the scope read as part of the same control. */
.nx-search select.nx-search__cat {
	flex: none;
	width: auto;
	max-width: 170px;
	height: 26px;
	border: 0;
	border-inline-start: 1px solid var(--nx-line-2);
	border-radius: 0;
	background: transparent;
	font-size: 13px;
	font-weight: 600;
	color: var(--nx-muted);
	outline: none;
	padding: 0;
	padding-inline: 12px 8px;
	box-shadow: none;
}

.nx-search select.nx-search__cat:focus {
	border-inline-start-color: var(--nx-line-2);
	box-shadow: none;
}

.nx-search__submit {
	border: 0;
	background: var(--nx-violet);
	color: #fff;
	border-radius: 9px;
	height: 36px;
	padding-inline: 18px;
	margin-inline-start: 6px;
	font-size: 13.5px;
	font-weight: 700;
	cursor: pointer;
	flex: none;
}

.nx-search__submit:hover,
.nx-search__submit:focus {
	background: var(--nx-violet-700);
}

/* Autocomplete panel — rendered by the SearchAutocomplete island. */
.nx-search__panel {
	position: absolute;
	inset-inline: 0;
	top: calc(100% + 6px);
	background: var(--nx-surface);
	border: 1px solid var(--nx-line);
	border-radius: var(--nx-r-lg);
	box-shadow: 0 18px 40px rgba(23, 20, 28, 0.12);
	padding: 6px;
	z-index: 60;
	max-height: 380px;
	overflow-y: auto;
}

.nx-search__option {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border-radius: var(--nx-r-md);
	cursor: pointer;
	color: var(--nx-ink);
	font-size: 13.5px;
	font-weight: 600;
}

.nx-search__option[aria-selected="true"],
.nx-search__option:hover {
	background: var(--nx-violet-25);
	color: var(--nx-violet-700);
}

.nx-search__option img {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	object-fit: cover;
	flex: none;
}

.nx-search__option-price {
	margin-inline-start: auto;
	font-weight: 800;
	font-size: 13px;
	white-space: nowrap;
}

.nx-header__spacer {
	flex: 1 1 0;
	min-width: 0;
}

.nx-account-link {
	display: flex;
	align-items: center;
	gap: 9px;
	color: var(--nx-ink);
	min-height: 44px;
}

.nx-account-link:hover,
.nx-account-link:focus {
	color: var(--nx-violet-700);
}

.nx-stack-label {
	line-height: 1.2;
	white-space: nowrap;
}

.nx-stack-label__top {
	display: block;
	font-size: 11px;
	color: var(--nx-muted-2);
}

.nx-stack-label__main {
	display: block;
	font-size: 13.5px;
	font-weight: 700;
}

.nx-cart-pill {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--nx-ink);
	background: var(--nx-surface-2);
	border: 1px solid var(--nx-line);
	border-radius: 12px;
	padding: 9px 15px;
	min-height: 44px;
}

.nx-cart-pill:hover,
.nx-cart-pill:focus {
	color: var(--nx-ink);
	border-color: var(--nx-line-2);
}

.nx-cart-icon {
	position: relative;
	display: block;
	color: var(--nx-ink);
}

/* Badge hides at zero: the wrapper is only rendered when the cart is filled,
   and the [hidden] attribute is what the CartCounter island toggles. */
.nx-cart-badge[hidden] {
	display: none;
}

.nx-cart-badge {
	position: absolute;
	top: -7px;
	inset-inline-end: -8px;
	min-width: 18px;
	height: 18px;
	border-radius: 9px;
	background: var(--nx-violet);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 4px;
}

.nx-header__nav {
	min-height: 50px;
	padding: 0 var(--nx-gutter);
	display: flex;
	align-items: center;
	gap: 26px;
	border-block-start: 1px solid var(--nx-line-3);
}

.nx-allcats {
	display: flex;
	align-items: center;
	gap: 9px;
	background: var(--nx-ink);
	color: #fff;
	border: 0;
	border-radius: 10px;
	height: 34px;
	padding-inline: 15px;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	flex: none;
}

.nx-allcats:hover,
.nx-allcats:focus {
	background: var(--nx-ink-deep);
	color: #fff;
}

.nx-nav {
	display: flex;
	align-items: center;
	gap: 26px;
	list-style: none;
}

.nx-nav a {
	font-size: 14px;
	font-weight: 600;
	color: var(--nx-body);
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

.nx-nav a:hover,
.nx-nav a:focus,
.nx-nav .current-menu-item > a,
.nx-nav .current_page_item > a {
	color: var(--nx-violet-700);
}

.nx-header__wa {
	font-size: 13.5px;
	font-weight: 700;
	color: var(--nx-success-ink);
	white-space: nowrap;
}

/* ==========================================================================
   6. MOBILE HEADER, DRAWER, TAB BAR, FAB
   ========================================================================== */

.nx-mheader {
	display: none;
	position: sticky;
	top: 0;
	z-index: 40;
	background: var(--nx-surface);
	box-shadow: 0 1px 0 var(--nx-line-2);
}

.nx-mheader__bar {
	min-height: 54px;
	padding: 0 14px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.nx-iconbtn {
	border: 0;
	background: transparent;
	padding: 6px;
	min-width: 44px;
	min-height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--nx-ink);
	border-radius: 10px;
}

.nx-mheader__logo {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1;
	color: var(--nx-ink);
	min-width: 0;
}

.nx-mheader__logo img {
	width: 30px;
	height: 30px;
	border-radius: 9px;
	object-fit: cover;
	flex: none;
}

.nx-mheader__logo span {
	font-size: 16px;
	font-weight: 800;
}

.nx-mlang {
	border: 1px solid rgba(23, 20, 28, 0.12);
	background: var(--nx-surface);
	border-radius: 8px;
	padding: 5px 10px;
	min-height: 44px;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	color: var(--nx-ink);
}

.nx-mheader__searchrow {
	padding: 0 14px 12px;
	display: flex;
	align-items: center;
	gap: 9px;
}

.nx-mheader__searchrow .nx-search {
	flex: 1 1 auto;
	max-width: none;
	min-width: 0;
	height: 42px;
	border-radius: var(--nx-r-md);
	padding-inline: 4px;
}

.nx-mheader__searchrow .nx-search__icon {
	width: 34px;
}

.nx-mheader__searchrow .nx-search__input {
	font-size: 14px;
}

/* The design's mobile search row is icon + field + button. The category scope
   stays in the DOM so the form still submits it, but showing it at this width
   would leave the field only a few pixels wide. */
.nx-mheader__searchrow .nx-search__cat {
	display: none;
}

.nx-mheader__searchrow .nx-search__submit {
	height: 42px;
	border-radius: var(--nx-r-md);
	padding-inline: 15px;
	font-size: 13px;
}

.nx-mpromo {
	background: var(--nx-ink-deep);
	color: rgba(255, 255, 255, 0.85);
	font-size: 11px;
	padding: 8px 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	white-space: nowrap;
}

.nx-drawer {
	position: fixed;
	inset: 0;
	z-index: 70;
	background: rgba(22, 16, 31, 0.5);
	display: flex;
}

.nx-drawer[hidden] {
	display: none;
}

.nx-drawer__panel {
	width: 300px;
	max-width: 82%;
	height: 100%;
	background: var(--nx-surface);
	padding: 22px 20px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	box-shadow: 0 0 60px rgba(0, 0, 0, 0.3);
	overflow-y: auto;
}

.nx-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-block-end: 12px;
}

.nx-drawer__title {
	font-size: 16px;
	font-weight: 800;
}

.nx-drawer__close {
	border: 0;
	background: var(--nx-surface-2);
	border-radius: 9px;
	width: 44px;
	height: 44px;
	font-size: 18px;
	cursor: pointer;
	color: var(--nx-ink);
}

.nx-drawer__nav a {
	display: block;
	padding: 12px 2px;
	font-size: 15px;
	font-weight: 700;
	color: var(--nx-ink);
	border-block-end: 1px solid var(--nx-line-3);
}

.nx-drawer__heading {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.1em;
	color: var(--nx-muted-3);
	margin: 18px 0 6px;
}

.nx-drawer__cats a {
	display: block;
	padding: 9px 2px;
	font-size: 14px;
	color: var(--nx-body);
}

.nx-drawer__wa {
	margin-block-start: 18px;
	background: var(--nx-success);
	color: #fff;
	border-radius: var(--nx-r-md);
	padding: 13px;
	text-align: center;
	font-weight: 700;
	font-size: 14px;
}

.nx-drawer__wa:hover,
.nx-drawer__wa:focus {
	background: var(--nx-success-ink);
	color: #fff;
}

.nx-tabbar {
	display: none;
	position: sticky;
	bottom: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(10px);
	border-block-start: 1px solid rgba(23, 20, 28, 0.1);
	grid-template-columns: repeat(4, 1fr);
	padding: 7px 4px 22px;
}

.nx-tabbar__item {
	border: 0;
	background: transparent;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 4px 2px;
	cursor: pointer;
	color: var(--nx-muted-3);
	min-height: 48px;
}

.nx-tabbar__item.is-active {
	color: var(--nx-violet);
}

.nx-tabbar__icon {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
}

.nx-tabbar__badge {
	position: absolute;
	top: -5px;
	inset-inline-start: 13px;
	min-width: 16px;
	height: 16px;
	border-radius: 8px;
	background: var(--nx-violet);
	color: #fff;
	font-size: 10px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 3px;
}

.nx-tabbar__badge[hidden] {
	display: none;
}

.nx-tabbar__label {
	font-size: 10px;
	font-weight: 700;
	white-space: nowrap;
	line-height: 1.2;
}

.nx-fab {
	display: none;
	position: fixed;
	bottom: 22px;
	inset-inline-end: 18px;
	z-index: 50;
	border: 0;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: var(--nx-violet);
	color: #fff;
	box-shadow: 0 12px 30px rgba(124, 58, 237, 0.45);
	cursor: pointer;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 800;
}

.nx-wafloat {
	position: fixed;
	bottom: 22px;
	inset-inline-end: 18px;
	z-index: 45;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--nx-success);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 12px 30px rgba(5, 150, 105, 0.35);
}

.nx-wafloat:hover,
.nx-wafloat:focus {
	background: var(--nx-success-ink);
	color: #fff;
}

/* The tab bar and cart FAB own the bottom corner; the chat button steps above
   them. Matched on the body rather than as a sibling, because the float is
   rendered inside its island mount node and is not a sibling of either. */
body:has(.nx-tabbar.is-enabled) .nx-wafloat,
body:has(.nx-fab.is-enabled) .nx-wafloat {
	bottom: 96px;
}

/* ==========================================================================
   7. TOAST
   ========================================================================== */

@keyframes nx-toast-in {
	from {
		opacity: 0;
		transform: translate(-50%, 10px);
	}

	to {
		opacity: 1;
		transform: translate(-50%, 0);
	}
}

.nx-toast {
	position: fixed;
	bottom: 26px;
	inset-inline-start: 50%;
	transform: translateX(-50%);
	z-index: 80;
	background: var(--nx-ink);
	color: #fff;
	border-radius: 12px;
	padding: 13px 20px;
	font-size: 13.5px;
	font-weight: 700;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
	animation: nx-toast-in 0.22s ease;
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: calc(100vw - 32px);
}

.nx-toast[hidden] {
	display: none;
}

.nx-toast__check {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--nx-track-done);
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	color: var(--nx-ink);
}

@media (prefers-reduced-motion: reduce) {
	.nx-toast {
		animation: none;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

/* ==========================================================================
   8. PRODUCT CARD — clean / framed / row
   ========================================================================== */

.nx-card-product {
	background: var(--nx-surface);
	border: 1px solid var(--nx-line);
	border-radius: var(--nx-r-xl);
	padding: 12px;
	display: flex;
	flex-direction: column;
	gap: 9px;
	height: 100%;
}

.nx-card-product__media {
	position: relative;
	aspect-ratio: 1 / 1;
	border-radius: 12px;
	overflow: hidden;
	background: var(--nx-surface-4);
	display: block;
}

.nx-card-product__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nx-badge {
	position: absolute;
	top: 9px;
	inset-inline-start: 9px;
	background: var(--nx-violet);
	color: #fff;
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: 0.04em;
	padding: 4px 8px;
	border-radius: 7px;
	line-height: 1.2;
}

.nx-badge--new {
	background: var(--nx-new);
}

.nx-badge--save {
	background: var(--nx-sale);
}

/* Fixed two-line box keeps every card in a row the same height. */
.nx-card-product__cat {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.07em;
	color: var(--nx-muted-3);
	line-height: 1.3;
	height: 27px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.nx-card-product__title {
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.35;
	height: 37px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	margin: 0;
}

.nx-card-product__title a {
	color: var(--nx-ink);
}

.nx-card-product__title a:hover,
.nx-card-product__title a:focus {
	color: var(--nx-violet-700);
}

.nx-rating {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 11.5px;
	color: var(--nx-muted-2);
}

.nx-stars {
	color: var(--nx-star);
	letter-spacing: 0.05em;
	white-space: nowrap;
	line-height: 1;
	flex: none;
}

.nx-stars__off {
	opacity: 0.28;
}

.nx-card-product__spacer {
	flex: 1;
}

.nx-price {
	display: flex;
	align-items: baseline;
	gap: 8px;
	flex-wrap: wrap;
}

.nx-price__now {
	font-size: 16.5px;
	font-weight: 800;
}

.nx-price__was,
.nx-price del {
	font-size: 12px;
	color: var(--nx-muted-2);
	text-decoration: line-through;
}

/* WooCommerce wraps the active price in <ins>, which browsers underline. */
.nx-price ins,
.nx-pdp__price ins,
.nx-hero__strip-price ins,
.woocommerce-Price-amount ins,
ins.woocommerce-Price-amount {
	text-decoration: none;
	font-weight: 800;
	background: transparent;
	color: inherit;
}

.nx-price del,
.nx-pdp__price del,
.nx-hero__strip-price del {
	font-size: 12px;
	color: var(--nx-muted-2);
	font-weight: 500;
	text-decoration: line-through;
}

/* CTA is pinned to the bottom by the spacer above it. */
.nx-card-product__cta {
	border: 0;
	background: var(--nx-violet);
	color: #fff;
	border-radius: var(--nx-r-md);
	height: 44px;
	width: 100%;
	font-size: 13.5px;
	font-weight: 700;
	cursor: pointer;
	margin-block-start: 2px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.nx-card-product__cta:hover,
.nx-card-product__cta:focus {
	background: var(--nx-violet-700);
	color: #fff;
}

.nx-card-product__cta.is-in-cart,
.nx-card-product__cta.added {
	background: var(--nx-violet-50);
	color: var(--nx-violet-700);
}

/* --- framed treatment --- */

.nx-card-product--framed {
	border-radius: var(--nx-r-sm);
	border-color: rgba(23, 20, 28, 0.1);
	padding: 0;
	overflow: hidden;
	gap: 0;
}

.nx-card-product--framed .nx-card-product__accent {
	height: 4px;
	background: var(--nx-violet);
	flex: none;
}

.nx-card-product--framed .nx-card-product__body {
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}

.nx-card-product--framed .nx-card-product__media {
	border-radius: 0;
	background: var(--nx-surface-3);
}

.nx-card-product--framed .nx-card-product__media img {
	object-fit: contain;
}

.nx-card-product--framed .nx-card-product__metarow {
	display: flex;
	align-items: center;
	gap: 7px;
	min-height: 22px;
}

.nx-card-product--framed .nx-badge {
	position: static;
	background: transparent;
	color: var(--nx-violet);
	border: 1px solid var(--nx-violet);
	font-size: 10px;
	letter-spacing: 0.08em;
	padding: 3px 7px;
	border-radius: 4px;
}

.nx-card-product--framed .nx-badge--new {
	color: var(--nx-new);
	border-color: var(--nx-new);
}

.nx-card-product--framed .nx-badge--save {
	color: var(--nx-sale);
	border-color: var(--nx-sale);
}

.nx-card-product--framed .nx-card-product__cat {
	font-size: 10.5px;
	color: var(--nx-muted-3);
	font-weight: 600;
	letter-spacing: 0;
	height: auto;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.nx-card-product--framed .nx-card-product__title {
	font-size: 14px;
	height: 38px;
}

.nx-card-product--framed .nx-card-product__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	border-block-start: 1px solid var(--nx-line);
	padding-block-start: 12px;
}

.nx-card-product--framed .nx-price {
	display: block;
}

.nx-card-product--framed .nx-price__now {
	font-size: 17px;
}

.nx-card-product--framed .nx-price__was {
	font-size: 11.5px;
	display: block;
}

.nx-card-product--framed .nx-card-product__cta {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--nx-ink);
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	margin: 0;
	flex: none;
}

.nx-card-product--framed .nx-card-product__cta:hover,
.nx-card-product--framed .nx-card-product__cta:focus {
	background: var(--nx-violet);
}

/* --- row treatment --- */

.nx-card-product--row {
	border-radius: var(--nx-r-lg);
	padding: 11px;
	flex-direction: row;
	gap: 12px;
	align-items: center;
}

.nx-card-product--row .nx-card-product__media {
	width: 92px;
	height: 92px;
	aspect-ratio: auto;
	border-radius: 10px;
	flex: none;
}

.nx-card-product--row .nx-card-product__body {
	flex: 1;
	min-width: 0;
}

.nx-card-product--row .nx-card-product__title {
	font-size: 13px;
	height: 35px;
	margin-block-start: 3px;
}

.nx-card-product--row .nx-card-product__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-block-start: 6px;
}

.nx-card-product--row .nx-price__now {
	font-size: 15px;
}

.nx-card-product--row .nx-card-product__cta {
	border: 1px solid var(--nx-line-2);
	background: var(--nx-surface);
	color: var(--nx-ink);
	border-radius: 9px;
	height: 44px;
	width: auto;
	padding-inline: 12px;
	font-size: 12.5px;
	margin: 0;
	flex: none;
}

.nx-card-product--row .nx-card-product__cta:hover,
.nx-card-product--row .nx-card-product__cta:focus {
	background: var(--nx-violet-50);
	color: var(--nx-violet-700);
	border-color: var(--nx-violet-50);
}

/* Trending-now compact row reuses the row treatment with a violet-tinted CTA. */
.nx-trendrow .nx-card-product__cta {
	background: var(--nx-violet-50);
	color: var(--nx-violet-700);
	border-color: transparent;
}

/* ==========================================================================
   9. HOME — hero variants
   ========================================================================== */

.nx-hero {
	position: relative;
	overflow: hidden;
}

.nx-hero--split {
	background: var(--nx-ink-deep);
	padding: 56px var(--nx-gutter) 64px;
}

.nx-hero__glow-a,
.nx-hero__glow-b {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}

.nx-hero__glow-a {
	top: -140px;
	inset-inline-end: -80px;
	width: 520px;
	height: 520px;
	background: radial-gradient(circle, rgba(124, 58, 237, 0.55), rgba(124, 58, 237, 0) 68%);
}

.nx-hero__glow-b {
	bottom: -180px;
	inset-inline-start: 120px;
	width: 420px;
	height: 420px;
	background: radial-gradient(circle, rgba(6, 182, 212, 0.35), rgba(6, 182, 212, 0) 70%);
}

.nx-hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 48px;
	align-items: center;
	max-width: var(--nx-wrap);
	margin-inline: auto;
}

.nx-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: var(--nx-violet-300);
	border-radius: var(--nx-r-pill);
	padding: 6px 13px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.04em;
	white-space: nowrap;
}

.nx-hero__title {
	margin-block-start: 18px;
	font-size: var(--nx-h1-hero);
	line-height: 1.05;
	color: #fff;
}

.nx-hero__sub {
	margin-block-start: 16px;
	font-size: var(--nx-hero-sub);
	color: rgba(255, 255, 255, 0.66);
	max-width: 440px;
}

.nx-hero__actions {
	display: flex;
	gap: 12px;
	margin-block-start: 26px;
	flex-wrap: wrap;
}

.nx-hero__bullets {
	display: flex;
	gap: 22px;
	margin-block-start: 30px;
	flex-wrap: wrap;
	list-style: none;
}

.nx-hero__bullets li {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--nx-on-dark);
	font-size: 13px;
	font-weight: 600;
}

.nx-hero__bullets li::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--nx-cyan-300);
	flex: none;
}

.nx-hero__panel {
	position: relative;
}

.nx-hero__figure {
	border-radius: var(--nx-r-hero);
	overflow: hidden;
	background: linear-gradient(160deg, rgba(124, 58, 237, 0.35), rgba(6, 182, 212, 0.18));
	border: 1px solid rgba(255, 255, 255, 0.14);
	aspect-ratio: 1 / 1;
}

.nx-hero__figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nx-hero__tag {
	position: absolute;
	bottom: 18px;
	inset-inline-start: 18px;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(8px);
	border-radius: var(--nx-r-lg);
	padding: 12px 16px;
	min-width: 180px;
	max-width: calc(100% - 36px);
}

.nx-hero__tag-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--nx-violet-700);
}

.nx-hero__tag-name {
	font-size: 13.5px;
	font-weight: 700;
	margin-block-start: 4px;
	color: var(--nx-ink);
	height: 38px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.nx-hero__tag-price {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-block-start: 6px;
}

.nx-hero__tag-price .nx-price__now {
	font-size: 18px;
}

.nx-hero__tag-price .nx-price__was {
	font-size: 12.5px;
}

/* --- editorial --- */

.nx-hero--editorial {
	background: #f0edf6;
	padding: 56px var(--nx-gutter) 64px;
}

.nx-hero__rule {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	border-block-end: 1px solid var(--nx-line-2);
	padding-block-end: 20px;
}

.nx-hero__kicker {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.14em;
	color: var(--nx-violet-700);
}

.nx-hero__dates {
	font-size: 12.5px;
	color: var(--nx-muted);
	font-weight: 600;
}

.nx-hero__slab {
	margin-block-start: 26px;
	font-size: var(--nx-h1-slab);
	line-height: 0.95;
	letter-spacing: -0.03em;
	max-width: 900px;
}

.nx-hero__lede {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 48px;
	margin-block-start: 34px;
	align-items: end;
}

.nx-hero__lede p {
	font-size: var(--nx-hero-sub);
	color: var(--nx-body);
	max-width: 520px;
}

.nx-hero__strip {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin-block-start: 34px;
}

.nx-hero__strip-item {
	background: var(--nx-surface);
	border: 1px solid var(--nx-line);
	border-radius: var(--nx-r-xl);
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.nx-hero__strip-item .nx-card-product__media {
	border-radius: var(--nx-r-md);
	background: var(--nx-surface-4);
}

.nx-hero__strip-name {
	font-size: 12.5px;
	font-weight: 700;
	height: 34px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.nx-hero__strip-name a {
	color: var(--nx-ink);
}

.nx-hero__strip-price {
	font-size: 14px;
	font-weight: 800;
	color: var(--nx-violet-700);
}

/* --- mosaic --- */

.nx-hero--mosaic {
	background: var(--nx-page);
	padding: 56px var(--nx-gutter) 64px;
}

.nx-hero__mosaic {
	max-width: var(--nx-wrap);
	margin-inline: auto;
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 16px;
}

.nx-hero__mosaic-main {
	background: var(--nx-ink-deep);
	border-radius: var(--nx-r-3xl);
	padding: 34px;
	position: relative;
	overflow: hidden;
	min-height: 420px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.nx-hero__mosaic-main .nx-hero__glow-a {
	top: -90px;
	inset-inline-end: -60px;
	width: 360px;
	height: 360px;
	background: radial-gradient(circle, rgba(124, 58, 237, 0.6), rgba(124, 58, 237, 0) 70%);
}

.nx-hero__mosaic-copy {
	position: relative;
}

.nx-hero__mosaic-kicker {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.12em;
	color: var(--nx-violet-400);
}

.nx-hero__mosaic-title {
	margin-block-start: 14px;
	font-size: var(--nx-h1-mosaic);
	line-height: 1.02;
	color: #fff;
	max-width: 460px;
}

.nx-hero__mosaic-sub {
	margin-block-start: 14px;
	font-size: 15px;
	color: var(--nx-on-dark-dim);
	max-width: 380px;
}

.nx-hero__mosaic-foot {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
	margin-block-start: 24px;
}

.nx-hero__mosaic-img {
	width: 190px;
	aspect-ratio: 1 / 1;
	border-radius: var(--nx-r-xl);
	overflow: hidden;
	flex: none;
}

.nx-hero__mosaic-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nx-hero__tiles {
	display: grid;
	gap: 16px;
}

.nx-tile {
	border-radius: var(--nx-r-3xl);
	padding: 24px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 150px;
}

.nx-tile--deals {
	background: linear-gradient(150deg, var(--nx-violet), var(--nx-violet-900));
	color: #fff;
}

.nx-tile--deals a {
	color: #fff;
	font-size: 13.5px;
	font-weight: 700;
	text-decoration: underline;
}

.nx-tile--wa {
	background: var(--nx-surface);
	border: 1px solid var(--nx-line);
}

.nx-tile__label {
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: 0.1em;
	opacity: 0.75;
}

.nx-tile--wa .nx-tile__label {
	color: var(--nx-success-ink);
	opacity: 1;
}

.nx-tile__head {
	font-size: 26px;
	font-weight: 800;
	margin-block-start: 8px;
	line-height: 1.1;
}

.nx-tile--wa .nx-tile__head {
	font-size: 22px;
	line-height: 1.15;
	color: var(--nx-ink);
}

.nx-tile--wa a {
	color: var(--nx-success-ink);
	font-size: 13.5px;
	font-weight: 700;
}

/* ==========================================================================
   10. HOME — trust, categories, band, newsletter
   ========================================================================== */

.nx-trust {
	background: var(--nx-surface);
	border-block: 1px solid var(--nx-line-3);
	padding: 26px var(--nx-gutter);
}

.nx-trust__grid {
	max-width: var(--nx-wrap);
	margin-inline: auto;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 26px;
}

.nx-trust__item {
	display: flex;
	align-items: center;
	gap: 12px;
}

.nx-trust__icon {
	width: 40px;
	height: 40px;
	border-radius: var(--nx-r-md);
	background: var(--nx-violet-50);
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	color: var(--nx-violet-700);
}

.nx-trust__title {
	display: block;
	font-size: 13.5px;
	font-weight: 800;
}

.nx-trust__sub {
	display: block;
	font-size: 12px;
	color: var(--nx-muted-2);
	margin-block-start: 2px;
}

/* Flex column so the name and count always stack inside the tile, whatever
   height the grid stretches the card to. */
.nx-cat-card {
	background: var(--nx-surface);
	border: 1px solid var(--nx-line);
	border-radius: var(--nx-r-xl);
	padding: 14px;
	text-align: center;
	display: flex;
	flex-direction: column;
	height: 100%;
	color: var(--nx-ink);
}

.nx-cat-card:hover,
.nx-cat-card:focus {
	border-color: var(--nx-violet);
	color: var(--nx-ink);
}

.nx-cat-card__media {
	aspect-ratio: 1 / 1;
	border-radius: 12px;
	overflow: hidden;
	background: var(--nx-surface-4);
	margin-block-end: 10px;
}

.nx-cat-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Two-line clamp: a 3-up mobile grid has to keep every category tile the same
   height however long the name is. */
.nx-cat-card__name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.3;
}

.nx-cat-card__count {
	display: block;
	margin-block-start: auto;
	padding-block-start: 3px;
}

.nx-cat-card__count {
	font-size: 11px;
	color: var(--nx-muted-2);
	margin-block-start: 3px;
}

.nx-band-wrap {
	padding: 40px var(--nx-gutter);
}

.nx-band {
	max-width: var(--nx-wrap);
	margin-inline: auto;
	background: linear-gradient(135deg, var(--nx-violet-900), var(--nx-violet) 55%, var(--nx-cyan));
	border-radius: var(--nx-r-3xl);
	padding: 38px;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 24px;
	align-items: center;
	color: #fff;
}

.nx-band__label {
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: 0.12em;
	opacity: 0.8;
}

.nx-band__title {
	font-size: var(--nx-band-h);
	margin-block-start: 10px;
	line-height: 1.05;
}

.nx-band__sub {
	margin-block-start: 12px;
	font-size: 14.5px;
	color: rgba(255, 255, 255, 0.78);
	max-width: 420px;
}

.nx-band__actions {
	display: flex;
	gap: 12px;
	justify-content: flex-end;
	flex-wrap: wrap;
}

.nx-news-wrap {
	padding: 20px var(--nx-gutter) 52px;
}

.nx-news {
	max-width: var(--nx-wrap);
	margin-inline: auto;
	background: var(--nx-ink-deep);
	border-radius: var(--nx-r-3xl);
	padding: 38px;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 22px;
	align-items: center;
}

.nx-news__title {
	font-size: var(--nx-band-h);
	color: #fff;
}

.nx-news__sub {
	margin-block-start: 10px;
	font-size: 14px;
	color: var(--nx-on-dark-dim);
}

.nx-news__form {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.nx-news__form input[type="email"] {
	flex: 1;
	min-width: 180px;
	height: 48px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	padding: 0 16px;
}

.nx-news__form input[type="email"]::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

.nx-news__form .nx-btn {
	height: 48px;
	padding-inline: 24px;
	font-size: 14.5px;
}

.nx-news__msg {
	flex-basis: 100%;
	font-size: 13px;
	font-weight: 600;
	color: var(--nx-success-bright);
}

.nx-news__msg--error {
	color: #fca5a5;
}

/* ==========================================================================
   11. SHOP ARCHIVE + FILTERS
   ========================================================================== */

.nx-shop__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-block-end: 20px;
}

.nx-shop__title {
	font-size: var(--nx-h2);
}

.nx-shop__count {
	font-size: 12.5px;
	color: var(--nx-muted-2);
	margin-block-start: 6px;
}

.nx-sort {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 12.5px;
	color: var(--nx-muted);
	font-weight: 600;
}

.nx-sort select {
	height: 42px;
	width: auto;
	border-radius: var(--nx-r-md);
	font-size: 13.5px;
	font-weight: 600;
	padding-inline: 12px;
}

.nx-shop__layout {
	display: grid;
	grid-template-columns: 236px minmax(0, 1fr);
	gap: 22px;
	align-items: start;
}

/* Collapsible panel. On desktop the summary is an ordinary heading row with no
   affordance — the panel is always open — so the marker and pointer only appear
   at the mobile breakpoint, where the island actually closes it. */
.nx-filters__panel {
	display: block;
}

.nx-filters__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-block-end: 14px;
	cursor: default;
	list-style: none;
}

.nx-filters__head::-webkit-details-marker {
	display: none;
}

.nx-filters__count-hint {
	display: none;
	font-size: 12px;
	color: var(--nx-muted-2);
	font-weight: 600;
}

.nx-filters__clear-row {
	display: none;
}

.nx-filters__title {
	font-size: 13.5px;
	font-weight: 800;
}

.nx-filters__clear {
	border: 0;
	background: transparent;
	color: var(--nx-violet-700);
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	padding: 0;
}

.nx-filters__list {
	display: flex;
	flex-direction: column;
	gap: 2px;
	list-style: none;
}

.nx-filters__link {
	background: transparent;
	color: var(--nx-body);
	font-weight: 500;
	border-radius: 9px;
	padding: 9px 11px;
	min-height: 44px;
	font-size: 13px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	text-align: start;
	border: 0;
	width: 100%;
	cursor: pointer;
}

.nx-filters__link:hover {
	background: var(--nx-surface-3);
	color: var(--nx-violet-700);
}

.nx-filters__link.is-active,
.nx-filters__link[aria-current="true"] {
	background: var(--nx-violet-25);
	color: var(--nx-violet-700);
	font-weight: 700;
}

.nx-filters__count {
	font-size: 11px;
	color: var(--nx-muted-4);
}

.nx-filters__legend {
	font-size: 12.5px;
	font-weight: 800;
	margin-block-end: 10px;
	padding: 0;
}

.nx-filters fieldset {
	border: 0;
	padding: 0;
	margin: 0;
}

.nx-range {
	width: 100%;
	accent-color: var(--nx-violet);
	height: 24px;
}

.nx-range-row {
	display: flex;
	justify-content: space-between;
	font-size: 12px;
	color: var(--nx-muted);
	margin-block-start: 6px;
	font-weight: 600;
}

.nx-range-row output {
	color: var(--nx-violet-700);
	font-weight: 800;
}

.nx-filters__submit {
	margin-block-start: 14px;
	width: 100%;
}

/* The no-JS submits hide once ShopFilters hydrates and takes over. */
.js .nx-filters__submit,
.js .nx-sort__submit {
	display: none;
}

.nx-pagination {
	display: flex;
	gap: 8px;
	justify-content: center;
	margin-block-start: 34px;
	flex-wrap: wrap;
	list-style: none;
}

.nx-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding-inline: 12px;
	border-radius: var(--nx-r-md);
	border: 1px solid var(--nx-line-2);
	background: var(--nx-surface);
	font-size: 13.5px;
	font-weight: 700;
	color: var(--nx-ink);
}

.nx-pagination .page-numbers.current,
.nx-pagination .page-numbers:hover {
	background: var(--nx-violet);
	border-color: var(--nx-violet);
	color: #fff;
}

.nx-empty {
	background: var(--nx-surface);
	border: 1px solid var(--nx-line);
	border-radius: var(--nx-r-2xl);
	padding: 44px 24px;
	text-align: center;
}

.nx-empty__title {
	font-size: 17px;
	font-weight: 800;
}

.nx-empty__sub {
	font-size: 13.5px;
	color: var(--nx-muted-2);
	margin-block-start: 6px;
}

.nx-empty p + p {
	margin-block-start: 20px;
}

.nx-empty--cart {
	padding: 60px 24px;
	margin-block-start: 20px;
}

.nx-empty__mark {
	width: 56px;
	height: 56px;
	border-radius: var(--nx-r-xl);
	background: var(--nx-violet-50);
	color: var(--nx-violet-700);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 16px;
}

.nx-cart__actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-block-start: 4px;
}

/* ==========================================================================
   12. PRODUCT DETAIL
   ========================================================================== */

.nx-pdp {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 48px;
	align-items: start;
}

.nx-gallery__main {
	background: var(--nx-surface);
	border: 1px solid var(--nx-line);
	border-radius: 20px;
	overflow: hidden;
	aspect-ratio: 1 / 1;
}

.nx-gallery__main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nx-gallery__thumbs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin-block-start: 12px;
	list-style: none;
}

.nx-gallery__thumb {
	aspect-ratio: 1 / 1;
	border-radius: 12px;
	overflow: hidden;
	background: var(--nx-surface);
	border: 1px solid rgba(23, 20, 28, 0.1);
	cursor: pointer;
	padding: 0;
	display: block;
	width: 100%;
}

.nx-gallery__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nx-gallery__thumb.is-active,
.nx-gallery__thumb[aria-current="true"] {
	border: 2px solid var(--nx-violet);
}

.nx-pdp__cat {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.09em;
	color: var(--nx-violet-700);
	text-transform: uppercase;
}

.nx-pdp__title {
	margin-block-start: 10px;
	font-size: clamp(30px, 4vw, var(--nx-h1-hero));
	line-height: 1.15;
}

.nx-pdp__meta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-block-start: 12px;
	flex-wrap: wrap;
}

.nx-pdp__rating {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: var(--nx-muted);
}

.nx-chip-stock {
	font-size: 12px;
	font-weight: 700;
	color: var(--nx-success-ink);
	background: var(--nx-success-bg);
	border-radius: 7px;
	padding: 4px 9px;
}

.nx-chip-stock--out {
	color: var(--nx-sale);
	background: #fee9ee;
}

.nx-lowstock {
	font-size: 12px;
	color: var(--nx-warn);
	font-weight: 700;
}

.nx-pdp__price {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin-block-start: 20px;
}

.nx-pdp__price {
	flex-wrap: wrap;
}

.nx-pdp__price .nx-price__now,
.nx-pdp__price ins .woocommerce-Price-amount,
.nx-pdp__price > .woocommerce-Price-amount {
	font-size: 34px;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.nx-pdp__price del,
.nx-pdp__price del .woocommerce-Price-amount,
.nx-pdp__price .nx-price__was {
	font-size: 16px;
	font-weight: 500;
	color: var(--nx-muted-2);
}

.nx-pdp__taxline {
	font-size: 12.5px;
	color: var(--nx-muted-2);
	margin-block-start: 4px;
}

.nx-swatches {
	margin-block-start: 22px;
}

.nx-swatches__label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	color: var(--nx-muted);
	margin-block-end: 6px;
}

.nx-swatches__list {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	list-style: none;
}

.nx-swatch {
	display: flex;
	align-items: center;
	gap: 8px;
	background: var(--nx-surface);
	border: 1px solid var(--nx-line-2);
	border-radius: var(--nx-r-md);
	padding: 8px 13px;
	min-height: 44px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	color: var(--nx-ink);
}

.nx-swatch.is-active,
.nx-swatch[aria-pressed="true"] {
	border: 2px solid var(--nx-ink);
}

.nx-swatch__dot {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 1px solid rgba(23, 20, 28, 0.15);
	flex: none;
}

.nx-pdp__buy {
	display: flex;
	gap: 12px;
	margin-block-start: 22px;
	align-items: center;
	flex-wrap: wrap;
}

.nx-pdp__buy .nx-btn--add {
	flex: 1;
	min-width: 170px;
	padding-inline: 30px;
}

.nx-pdp__wa {
	margin-block-start: 12px;
	width: 100%;
}

.nx-delivery {
	margin-block-start: 22px;
	background: var(--nx-surface);
	border: 1px solid var(--nx-line);
	border-radius: var(--nx-r-lg);
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.nx-delivery__head {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13.5px;
	font-weight: 700;
}

.nx-delivery__head::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--nx-violet);
	flex: none;
}

.nx-delivery__note {
	font-size: 12.5px;
	color: var(--nx-muted);
	line-height: 1.55;
}

.nx-delivery select {
	height: 42px;
	font-size: 13.5px;
}

.nx-tabs {
	margin-block-start: 38px;
}

.nx-tabs__list {
	display: flex;
	gap: 22px;
	border-block-end: 1px solid rgba(23, 20, 28, 0.1);
	list-style: none;
	overflow-x: auto;
}

.nx-tabs__tab {
	border: 0;
	background: transparent;
	border-block-end: 2px solid transparent;
	color: var(--nx-muted-2);
	font-size: 14px;
	font-weight: 700;
	padding: 12px 2px;
	min-height: 44px;
	cursor: pointer;
	white-space: nowrap;
}

.nx-tabs__tab[aria-selected="true"] {
	color: var(--nx-ink);
	border-block-end-color: var(--nx-violet);
}

.nx-tabs__panel {
	padding-block-start: 20px;
}

.nx-tabs__panel[hidden] {
	display: none;
}

.nx-tabs__panel p {
	max-width: 760px;
	font-size: 15px;
	line-height: 1.75;
	color: var(--nx-body);
}

.nx-specs {
	max-width: 680px;
}

.nx-specs tr {
	border-block-end: 1px solid var(--nx-line-3);
}

.nx-specs th,
.nx-specs td {
	padding: 12px 0;
	font-size: 13.5px;
	text-align: start;
}

.nx-specs th {
	color: var(--nx-muted-2);
	font-weight: 600;
}

.nx-specs td {
	font-weight: 700;
	text-align: end;
}

.nx-reviews {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	max-width: 900px;
	list-style: none;
}

.nx-review {
	background: var(--nx-surface);
	border: 1px solid var(--nx-line);
	border-radius: var(--nx-r-2xl);
	padding: 22px;
}

.nx-review__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.nx-review__name {
	font-size: 13.5px;
	font-weight: 800;
}

.nx-review__meta {
	font-size: 11.5px;
	color: var(--nx-muted-3);
	margin-block-start: 2px;
}

.nx-review__text {
	margin-block-start: 10px;
	font-size: 13.5px;
	line-height: 1.65;
	color: var(--nx-body);
}

.nx-related {
	margin-block-start: 40px;
}

.nx-related h2 {
	font-size: var(--nx-h2);
}

.nx-related .nx-grid {
	margin-block-start: 18px;
}

/* ==========================================================================
   13. CART
   ========================================================================== */

.nx-cart__lines {
	display: flex;
	flex-direction: column;
	gap: 12px;
	list-style: none;
}

.nx-cartline {
	background: var(--nx-surface);
	border: 1px solid var(--nx-line);
	border-radius: var(--nx-r-xl);
	padding: 14px;
	display: flex;
	gap: 14px;
	align-items: center;
}

.nx-cartline__media {
	width: 84px;
	height: 84px;
	border-radius: 12px;
	overflow: hidden;
	background: var(--nx-surface-4);
	flex: none;
}

/* WooCommerce wraps line-item thumbnails in a link. An inline anchor is
   shrink-to-fit, so the image's width:100% would resolve against nothing —
   every media well has to stretch its anchor to the well itself. */
.nx-cartline__media > a,
.nx-minicart__media > a,
.nx-reviewline__media > a,
.nx-confirm__item-media > a {
	display: block;
	width: 100%;
	height: 100%;
}

.nx-cartline__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nx-cartline__body {
	flex: 1;
	min-width: 0;
}

.nx-cartline__cat {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.07em;
	color: var(--nx-muted-3);
}

.nx-cartline__name {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	margin-block-start: 3px;
}

.nx-cartline__name a {
	color: var(--nx-ink);
}

.nx-cartline__variant {
	font-size: 12px;
	color: var(--nx-muted-2);
	margin-block-start: 4px;
}

.nx-cartline__side {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 9px;
	flex: none;
}

.nx-cartline__total {
	font-size: 16px;
	font-weight: 800;
}

.nx-cartline__remove {
	border: 0;
	background: transparent;
	color: var(--nx-muted-3);
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	padding: 4px;
	min-height: 32px;
}

.nx-cartline__remove:hover,
.nx-cartline__remove:focus {
	color: var(--nx-sale);
}

.nx-summary__rows {
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 13.5px;
}

.nx-summary__row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
}

.nx-summary__row span:first-child {
	color: var(--nx-muted);
}

.nx-summary__row span:last-child {
	font-weight: 700;
}

.nx-summary__total {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
}

.nx-summary__total-label {
	font-size: 14px;
	font-weight: 800;
}

.nx-summary__total-value {
	font-size: 22px;
	font-weight: 800;
}

.nx-shipbar {
	margin: 16px 0 4px;
	height: 6px;
	border-radius: 4px;
	background: #efedf4;
	overflow: hidden;
}

.nx-shipbar__fill {
	height: 100%;
	background: var(--nx-violet);
	border-start-start-radius: 4px;
	border-end-start-radius: 4px;
	transition: width 0.25s ease;
}

.nx-shipbar__msg {
	font-size: 11.5px;
	color: var(--nx-muted);
	font-weight: 600;
}

.nx-secure-note {
	font-size: 11.5px;
	color: var(--nx-muted-3);
	text-align: center;
	margin-block-start: 10px;
}

/* ==========================================================================
   14. CHECKOUT
   ========================================================================== */

.nx-steps {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 22px 0 4px;
	flex-wrap: wrap;
	list-style: none;
}

.nx-step {
	display: flex;
	align-items: center;
	gap: 9px;
	border: 0;
	background: transparent;
	cursor: pointer;
	padding: 0;
	min-height: 44px;
	color: var(--nx-ink);
}

.nx-step__n {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #efedf4;
	color: var(--nx-muted-3);
	font-size: 12.5px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
}

.nx-step.is-active .nx-step__n,
.nx-step.is-done .nx-step__n {
	background: var(--nx-violet);
	color: #fff;
}

.nx-step__label {
	font-size: 13.5px;
	font-weight: 700;
}

.nx-step__line {
	width: 34px;
	height: 2px;
	background: rgba(23, 20, 28, 0.12);
	margin-inline-start: 4px;
}

.nx-step.is-done .nx-step__line {
	background: var(--nx-violet);
}

.nx-step:last-child .nx-step__line {
	display: none;
}

.nx-checkout__panels {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.nx-checkout__panel[hidden] {
	display: none;
}

.nx-paylist {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	list-style: none;
}

.nx-paymethod {
	display: flex;
	align-items: center;
	gap: 12px;
	border: 1px solid rgba(23, 20, 28, 0.12);
	background: var(--nx-surface);
	border-radius: 13px;
	padding: 14px;
	cursor: pointer;
	text-align: start;
	min-height: 44px;
	position: relative;
}

.nx-paymethod:has(input:checked) {
	border: 2px solid var(--nx-violet);
	background: #faf7ff;
	padding: 13px;
}

.nx-paymethod:has(input:focus-visible) {
	outline: 2px solid var(--nx-violet);
	outline-offset: 2px;
}

.nx-paymethod input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.nx-paymethod__dot {
	width: 19px;
	height: 19px;
	border-radius: 50%;
	border: 1.5px solid rgba(23, 20, 28, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
}

.nx-paymethod__dot::after {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: transparent;
}

.nx-paymethod:has(input:checked) .nx-paymethod__dot::after {
	background: var(--nx-violet);
}

.nx-paymethod__label {
	display: block;
	font-size: 13.5px;
	font-weight: 700;
}

.nx-paymethod__sub {
	display: block;
	font-size: 11.5px;
	color: var(--nx-muted-2);
	margin-block-start: 2px;
}

.nx-paymethod.is-unavailable {
	opacity: 0.5;
	cursor: not-allowed;
}

.nx-paymethod.is-unavailable input {
	pointer-events: none;
}

.nx-paybox {
	margin-block-start: 18px;
	padding-block-start: 18px;
	border-block-start: 1px solid var(--nx-line);
}

.nx-notice-info {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-block-start: 14px;
	background: var(--nx-violet-25);
	border-radius: var(--nx-r-md);
	padding: 12px 14px;
	font-size: 12.5px;
	color: var(--nx-violet-700);
	font-weight: 600;
}

.nx-notice-info::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--nx-violet);
	flex: none;
}

.nx-checkout__actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.nx-checkout__actions .nx-btn--next,
.nx-checkout__actions .nx-btn--place {
	flex: 1;
}

.nx-reviewline {
	display: flex;
	gap: 12px;
	align-items: center;
}

.nx-reviewline__media {
	width: 56px;
	height: 56px;
	border-radius: 10px;
	overflow: hidden;
	background: var(--nx-surface-4);
	flex: none;
}

.nx-reviewline__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nx-reviewline__name {
	font-size: 13.5px;
	font-weight: 700;
}

.nx-reviewline__meta {
	font-size: 11.5px;
	color: var(--nx-muted-2);
	margin-block-start: 3px;
}

.nx-reviewline__price {
	font-size: 14px;
	font-weight: 800;
	margin-inline-start: auto;
}

.nx-summary--sticky {
	position: sticky;
	top: 100px;
}

.nx-minicart {
	display: flex;
	flex-direction: column;
	gap: 11px;
	margin-block-end: 14px;
	list-style: none;
}

.nx-minicart__item {
	display: flex;
	gap: 10px;
	align-items: center;
}

.nx-minicart__media {
	width: 44px;
	height: 44px;
	border-radius: 9px;
	overflow: hidden;
	background: var(--nx-surface-4);
	flex: none;
}

.nx-minicart__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nx-minicart__name {
	font-size: 12.5px;
	font-weight: 700;
	height: 34px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	flex: 1;
	min-width: 0;
}

.nx-minicart__price {
	font-size: 12.5px;
	font-weight: 800;
	white-space: nowrap;
}

/* ==========================================================================
   15. ORDER CONFIRMATION + TRACKING
   ========================================================================== */

.nx-confirm {
	background: var(--nx-surface);
	border: 1px solid var(--nx-line);
	border-radius: 20px;
	padding: 38px;
	text-align: center;
}

.nx-confirm__mark {
	width: 62px;
	height: 62px;
	border-radius: 50%;
	background: var(--nx-success-bg);
	color: var(--nx-success-ink);
	font-size: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 18px;
}

.nx-confirm__title {
	font-size: var(--nx-h1-hero);
}

.nx-confirm__sub {
	margin: 12px auto 0;
	font-size: 15px;
	color: var(--nx-muted);
	max-width: 420px;
}

.nx-factgrid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-block-start: 24px;
	text-align: start;
}

.nx-fact {
	background: var(--nx-surface-3);
	border-radius: var(--nx-r-lg);
	padding: 16px;
}

.nx-fact__value {
	font-size: 17px;
	font-weight: 800;
	margin-block-start: 6px;
}

.nx-confirm__items {
	display: flex;
	flex-direction: column;
	gap: 11px;
	margin-block-start: 20px;
	text-align: start;
	list-style: none;
}

.nx-confirm__item {
	display: flex;
	gap: 12px;
	align-items: center;
	background: var(--nx-surface-3);
	border-radius: 12px;
	padding: 11px;
}

.nx-confirm__item-media {
	width: 48px;
	height: 48px;
	border-radius: 9px;
	overflow: hidden;
	background: var(--nx-surface);
	flex: none;
}

.nx-confirm__actions {
	display: flex;
	gap: 12px;
	margin-block-start: 24px;
	flex-wrap: wrap;
}

.nx-confirm__actions .nx-btn:first-child {
	flex: 1;
}

.nx-track__form {
	display: flex;
	gap: 10px;
	margin: 18px 0 22px;
	flex-wrap: wrap;
}

.nx-track__form .nx-input {
	flex: 1;
	min-width: 200px;
	height: 48px;
	border-radius: 12px;
}

.nx-track__form .nx-btn {
	height: 48px;
}

.nx-track__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin-block-end: 22px;
}

.nx-track__head-end {
	text-align: end;
}

.nx-timeline {
	display: flex;
	flex-direction: column;
	list-style: none;
}

.nx-timeline__step {
	display: flex;
	gap: 14px;
}

.nx-timeline__step.is-pending {
	opacity: 0.5;
}

.nx-timeline__rail {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: none;
}

.nx-timeline__mark {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #efedf4;
	color: var(--nx-muted-3);
	font-size: 12px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
}

.nx-timeline__step.is-done .nx-timeline__mark {
	background: var(--nx-track-done);
	color: #fff;
}

.nx-timeline__step.is-active .nx-timeline__mark {
	background: var(--nx-violet);
	color: #fff;
}

.nx-timeline__line {
	width: 2px;
	flex: 1;
	min-height: 26px;
	background: rgba(23, 20, 28, 0.12);
}

.nx-timeline__step.is-done .nx-timeline__line {
	background: var(--nx-track-done);
}

.nx-timeline__step:last-child .nx-timeline__line {
	display: none;
}

.nx-timeline__body {
	padding-block-end: 22px;
}

.nx-timeline__title {
	font-size: 14px;
	font-weight: 700;
}

.nx-timeline__time {
	font-size: 12.5px;
	color: var(--nx-muted-2);
	margin-block-start: 3px;
}

.nx-track__foot {
	border-block-start: 1px solid var(--nx-line);
	padding-block-start: 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

/* ==========================================================================
   16. ACCOUNT / LOGIN
   ========================================================================== */

.nx-account {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
	align-items: start;
}

.nx-account__tabs {
	display: flex;
	gap: 20px;
	border-block-end: 1px solid var(--nx-line-2);
	margin-block-end: 20px;
	list-style: none;
}

.nx-account__tab {
	border: 0;
	background: transparent;
	border-block-end: 2px solid transparent;
	color: var(--nx-muted-2);
	font-size: 14px;
	font-weight: 800;
	padding: 8px 2px 12px;
	min-height: 44px;
	cursor: pointer;
}

.nx-account__tab[aria-selected="true"] {
	color: var(--nx-ink);
	border-block-end-color: var(--nx-violet);
}

.nx-account__title {
	font-size: 24px;
}

.nx-account__sub {
	margin: 8px 0 20px;
	font-size: 13.5px;
	color: var(--nx-muted-2);
}

.nx-account__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-block-end: 18px;
	flex-wrap: wrap;
}

.nx-or {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 16px 0;
	color: var(--nx-muted-4);
	font-size: 12px;
}

.nx-or::before,
.nx-or::after {
	content: "";
	flex: 1;
	height: 1px;
	background: rgba(23, 20, 28, 0.1);
}

.nx-benefits {
	background: var(--nx-ink-deep);
	border-radius: var(--nx-r-2xl);
	padding: 26px;
	color: var(--nx-on-dark);
}

.nx-benefits__brand {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.1em;
	color: var(--nx-violet-400);
}

.nx-benefits__title {
	font-size: 22px;
	color: #fff;
	margin-block-start: 12px;
	line-height: 1.25;
}

.nx-benefits__list {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-block-start: 22px;
	list-style: none;
}

.nx-benefits__list li {
	display: flex;
	gap: 11px;
	align-items: flex-start;
}

.nx-benefits__list li::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--nx-cyan-300);
	margin-block-start: 6px;
	flex: none;
}

.nx-benefits__title-sm {
	display: block;
	font-size: 13.5px;
	font-weight: 700;
	color: #fff;
}

.nx-benefits__sub {
	display: block;
	font-size: 12.5px;
	margin-block-start: 2px;
}

/* ==========================================================================
   16b. ACCOUNT AREA (signed in)
   The prototype designed the login screen only. These views are assembled from
   the same vocabulary: the login page's dark panel, the shop's 236px sidebar,
   the product card's media well and the tracking page's timeline.
   ========================================================================== */

.nx-account-summary {
	background: var(--nx-ink-deep);
	border-radius: var(--nx-r-3xl);
	padding: 30px;
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 24px;
	align-items: center;
	color: var(--nx-on-dark);
	margin-block-end: 22px;
}

.nx-account-summary__name {
	font-size: 30px;
	color: #fff;
	margin-block-start: 10px;
}

.nx-account-summary__sub {
	margin-block-start: 8px;
	font-size: 14px;
	color: var(--nx-on-dark-dim);
	max-width: 380px;
}

.nx-account-summary__side {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 16px;
}

.nx-account-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
	gap: 10px;
	list-style: none;
	width: 100%;
}

.nx-account-stat {
	background: var(--nx-on-dark-fill);
	border-radius: var(--nx-r-lg);
	padding: 12px 14px;
	text-align: center;
}

.nx-account-stat__value {
	display: block;
	font-size: 18px;
	font-weight: 800;
	color: #fff;
	white-space: nowrap;
}

.nx-account-stat__label {
	display: block;
	font-size: 11px;
	margin-block-start: 2px;
	color: var(--nx-on-dark-dim);
}

.nx-account-layout {
	display: grid;
	grid-template-columns: 236px minmax(0, 1fr);
	gap: 22px;
	align-items: start;
}

.nx-account-nav {
	padding: 12px;
}

.nx-account-nav__list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.nx-account-nav__link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	min-height: 44px;
	border-radius: var(--nx-r-md);
	font-size: 13.5px;
	font-weight: 600;
	color: var(--nx-body);
}

.nx-account-nav__link:hover,
.nx-account-nav__link:focus {
	background: var(--nx-surface-3);
	color: var(--nx-violet-700);
}

.nx-account-nav__link.is-active {
	background: var(--nx-violet-25);
	color: var(--nx-violet-700);
	font-weight: 700;
}

.nx-account-nav__icon {
	display: flex;
	flex: none;
	color: currentColor;
}

.nx-account-nav__label {
	flex: 1;
	min-width: 0;
}

.nx-account-nav__count {
	flex: none;
	min-width: 22px;
	height: 20px;
	padding-inline: 6px;
	border-radius: var(--nx-r-pill);
	background: var(--nx-violet-50);
	color: var(--nx-violet-700);
	font-size: 11.5px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
}

.nx-account-nav__link--aside {
	margin-block-start: 6px;
	border-block-start: 1px solid var(--nx-line);
	border-radius: 0;
	padding-block-start: 14px;
	color: var(--nx-muted);
}

.nx-account-content {
	display: flex;
	flex-direction: column;
	gap: 18px;
	min-width: 0;
}

.nx-account-cards {
	gap: 18px;
}

.nx-card--nested {
	background: var(--nx-surface-3);
	box-shadow: none;
}

.nx-account-address {
	font-style: normal;
	font-size: 13.5px;
	line-height: 1.7;
	color: var(--nx-body);
}

.nx-account-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	align-items: center;
	margin-block-start: 18px;
}

/* Status chip — one tone per order state. */
.nx-status {
	display: inline-flex;
	align-items: center;
	flex: none;
	padding: 4px 10px;
	border-radius: 7px;
	font-size: 11.5px;
	font-weight: 700;
	white-space: nowrap;
}

.nx-status--waiting {
	background: #fdf1e7;
	color: var(--nx-warn);
}

.nx-status--progress {
	background: var(--nx-violet-50);
	color: var(--nx-violet-700);
}

.nx-status--done {
	background: var(--nx-success-bg);
	color: var(--nx-success-ink);
}

.nx-status--problem {
	background: #fee9ee;
	color: #9f1239;
}

/* Order cards */
.nx-orderlist {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.nx-ordercard {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px;
	border: 1px solid var(--nx-line);
	border-radius: var(--nx-r-xl);
	background: var(--nx-surface);
}

.nx-orderthumbs {
	display: flex;
	align-items: center;
	flex: none;
}

.nx-orderthumbs__item {
	width: 52px;
	height: 52px;
	border-radius: 11px;
	overflow: hidden;
	background: var(--nx-surface-4);
	border: 2px solid var(--nx-surface);
	flex: none;
}

.nx-orderthumbs__item + .nx-orderthumbs__item {
	margin-inline-start: -14px;
}

.nx-orderthumbs__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nx-orderthumbs__more {
	margin-inline-start: -10px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--nx-surface-2);
	color: var(--nx-muted);
	font-size: 11.5px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
}

.nx-ordercard__body {
	flex: 1;
	min-width: 0;
}

.nx-ordercard__head {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.nx-ordercard__number {
	font-size: 14px;
	font-weight: 800;
	color: var(--nx-ink);
}

.nx-ordercard__number:hover,
.nx-ordercard__number:focus {
	color: var(--nx-violet-700);
}

.nx-ordercard__meta {
	font-size: 12.5px;
	color: var(--nx-muted-2);
	margin-block-start: 4px;
}

.nx-ordercard__actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: none;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.nx-ordercard__again {
	font-size: 12.5px;
	font-weight: 700;
}

.nx-empty--flush {
	border: 0;
	padding: 28px 0 8px;
	text-align: start;
}

/* ==========================================================================
   17. ABOUT / CONTACT / BLOG
   ========================================================================== */

.nx-about__lead {
	background: var(--nx-ink-deep);
	padding: 56px var(--nx-gutter) 64px;
}

.nx-about__lead-inner {
	max-width: 900px;
	margin-inline: auto;
}

.nx-about__kicker {
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: 0.12em;
	color: var(--nx-violet-400);
}

.nx-about__title {
	margin-block-start: 16px;
	font-size: var(--nx-h1-hero);
	line-height: 1.15;
	color: #fff;
}

.nx-about__body {
	margin-block-start: 16px;
	font-size: 16px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.66);
	max-width: 620px;
}

.nx-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 26px;
	list-style: none;
}

.nx-stat {
	background: var(--nx-surface);
	border: 1px solid var(--nx-line);
	border-radius: var(--nx-r-xl);
	padding: 20px;
}

.nx-stat__k {
	font-size: 30px;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.nx-stat__v {
	font-size: 12.5px;
	color: var(--nx-muted-2);
	margin-block-start: 4px;
}

.nx-contact {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
	margin-block-start: 34px;
	align-items: start;
}

.nx-contact__aside {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.nx-infocard__value {
	font-size: 17px;
	font-weight: 800;
	margin-block-start: 6px;
}

.nx-infocard__value--wa {
	color: var(--nx-success-ink);
}

.nx-infocard__sub {
	font-size: 12.5px;
	color: var(--nx-muted-2);
	margin-block-start: 6px;
}

.nx-infocard__line {
	font-size: 15px;
	font-weight: 700;
	margin-block-start: 6px;
}

.nx-post-card {
	background: var(--nx-surface);
	border: 1px solid var(--nx-line);
	border-radius: var(--nx-r-2xl);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.nx-post-card__media {
	aspect-ratio: 16 / 10;
	background: var(--nx-surface-4);
}

.nx-post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nx-post-card__body {
	padding: 18px;
	display: flex;
	flex-direction: column;
	gap: 9px;
	flex: 1;
}

.nx-post-card__meta {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 11px;
	font-weight: 700;
}

.nx-tag {
	background: var(--nx-violet-50);
	color: var(--nx-violet-700);
	border-radius: var(--nx-r-sm);
	padding: 4px 8px;
	letter-spacing: 0.04em;
}

.nx-post-card__readtime {
	color: var(--nx-muted-3);
}

.nx-post-card__title {
	font-size: 16px;
	font-weight: 800;
	line-height: 1.3;
}

.nx-post-card__title a {
	color: var(--nx-ink);
}

.nx-post-card__title a:hover,
.nx-post-card__title a:focus {
	color: var(--nx-violet-700);
}

.nx-post-card__excerpt {
	font-size: 13.5px;
	color: var(--nx-muted);
	line-height: 1.6;
}

.nx-post-card__spacer {
	flex: 1;
}

.nx-post-card__more {
	font-size: 13.5px;
	font-weight: 700;
}

.nx-entry__title {
	font-size: clamp(28px, 4vw, 42px);
	line-height: 1.15;
	margin-block-start: 6px;
}

.nx-blog__sub {
	margin: 8px 0 24px;
	font-size: 14.5px;
	color: var(--nx-muted-2);
	max-width: 520px;
}

.nx-postnav {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-block-start: 34px;
	padding-block-start: 22px;
	border-block-start: 1px solid var(--nx-line);
	font-size: 14px;
	font-weight: 700;
}

.nx-empty__grid {
	margin-block-start: 22px;
	text-align: start;
}

.nx-page--account .nx-account {
	max-width: 980px;
	margin-inline: auto;
}

.nx-entry__content {
	max-width: 760px;
	font-size: 16px;
	line-height: 1.75;
	color: var(--nx-body);
}

.nx-entry__content > * + * {
	margin-block-start: 1.1em;
}

.nx-entry__content h2 {
	font-size: 24px;
	margin-block-start: 1.6em;
}

.nx-entry__content h3 {
	font-size: 19px;
	margin-block-start: 1.4em;
}

.nx-entry__content ul,
.nx-entry__content ol {
	padding-inline-start: 1.3em;
}

.nx-entry__content li + li {
	margin-block-start: 0.4em;
}

.nx-entry__content blockquote {
	margin: 0;
	padding-inline-start: 18px;
	border-inline-start: 3px solid var(--nx-violet);
	color: var(--nx-ink);
	font-weight: 600;
}

.nx-entry__content img {
	border-radius: var(--nx-r-xl);
}

.nx-entry__hero {
	aspect-ratio: 16 / 9;
	border-radius: var(--nx-r-hero);
	overflow: hidden;
	background: var(--nx-surface-4);
	margin-block: 22px 28px;
}

.nx-entry__hero img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ==========================================================================
   18. FOOTER
   ========================================================================== */

.nx-footer {
	background: var(--nx-ink);
	color: var(--nx-on-dark-dim);
	margin-block-start: 34px;
	padding: 52px var(--nx-gutter) 32px;
}

.nx-footer__grid {
	max-width: var(--nx-wrap);
	margin-inline: auto;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 32px;
}

.nx-footer__brand {
	display: flex;
	align-items: center;
	gap: 10px;
}

.nx-footer__brand img {
	width: 34px;
	height: 34px;
	border-radius: 10px;
	object-fit: cover;
}

.nx-footer__brand span {
	font-size: 17px;
	font-weight: 800;
	color: #fff;
}

.nx-footer__about {
	margin-block-start: 14px;
	font-size: 13px;
	line-height: 1.65;
	max-width: 320px;
}

.nx-socials {
	display: flex;
	gap: 9px;
	margin-block-start: 16px;
	list-style: none;
}

.nx-socials a {
	width: 44px;
	height: 44px;
	border-radius: 9px;
	background: var(--nx-on-dark-fill);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
}

.nx-socials a:hover,
.nx-socials a:focus {
	background: var(--nx-violet);
	color: #fff;
}

.nx-footer__col {
	display: block;
}

.nx-footer__coltitle {
	display: block;
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: 0.1em;
	color: #fff;
	margin-block-end: 14px;
	cursor: default;
	list-style: none;
}

.nx-footer__coltitle::-webkit-details-marker {
	display: none;
}

.nx-footer__links {
	display: flex;
	flex-direction: column;
	gap: 9px;
	list-style: none;
}

.nx-footer__links a {
	font-size: 13px;
	color: var(--nx-on-dark-dim);
	display: inline-block;
	padding-block: 2px;
}

.nx-footer__links a:hover,
.nx-footer__links a:focus {
	color: #fff;
}

.nx-footer__bar {
	max-width: var(--nx-wrap);
	margin: 26px auto 0;
	padding-block-start: 20px;
	border-block-start: 1px solid var(--nx-on-dark-line);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.nx-footer__copy {
	font-size: 12px;
}

.nx-paychips {
	display: flex;
	gap: 7px;
	flex-wrap: wrap;
	list-style: none;
}

.nx-paychips li {
	font-size: 10.5px;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.75);
	background: var(--nx-on-dark-fill);
	border-radius: var(--nx-r-sm);
	padding: 5px 9px;
}

/* ==========================================================================
   19. WOOCOMMERCE OVERRIDES
   ========================================================================== */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notices-wrapper > ul {
	list-style: none;
	background: var(--nx-violet-25);
	border: 1px solid var(--nx-line);
	border-inline-start: 3px solid var(--nx-violet);
	border-radius: var(--nx-r-md);
	padding: 14px 16px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--nx-violet-700);
	margin-block-end: 16px;
}

.woocommerce-error {
	background: #fee9ee;
	border-inline-start-color: var(--nx-sale);
	color: #9f1239;
}

.woocommerce-message {
	background: var(--nx-success-bg);
	border-inline-start-color: var(--nx-success);
	color: var(--nx-success-ink);
}

.woocommerce-Price-amount {
	white-space: nowrap;
}

/* WooCommerce form rows, restyled to the design's field spec. */
.form-row,
.woocommerce-input-wrapper {
	display: block;
	margin: 0;
}

/* The design's two-up field grid. WooCommerce tags each address row with
   form-row-first / form-row-last / form-row-wide; those are the column hints. */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper,
.woocommerce-additional-fields__field-wrapper {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	align-items: start;
}

.form-row-wide,
.woocommerce-billing-fields__field-wrapper > .form-row-wide,
.woocommerce-additional-fields__field-wrapper > .form-row {
	grid-column: 1 / -1;
}

.nx-grid--half > .form-row {
	margin-block-end: 0;
}

@media (max-width: 1023px) {
	.woocommerce-billing-fields__field-wrapper,
	.woocommerce-shipping-fields__field-wrapper,
	.woocommerce-additional-fields__field-wrapper {
		grid-template-columns: minmax(0, 1fr);
	}
}

.form-row > label,
.woocommerce-form-row > label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	color: var(--nx-muted);
	margin-block-end: 6px;
}

.form-row .required {
	color: var(--nx-sale);
	text-decoration: none;
}

.form-row.woocommerce-invalid input,
.form-row.woocommerce-invalid select {
	border-color: var(--nx-sale);
}

.form-row.woocommerce-invalid .nx-error,
.woocommerce-error-message {
	color: var(--nx-sale);
	font-size: 12px;
	font-weight: 600;
	margin-block-start: 6px;
}

/* WooCommerce's address-i18n.js reorders the address rows and calls jQuery
   .show() on them whenever the country changes, which writes an inline
   `display` and re-sorts the DOM. Two consequences the design has to survive:

   1. Hiding a field needs !important — an inline style cannot be beaten
      otherwise, and these fields must stay in the form for WooCommerce and
      shipping plugins to read.
   2. Visual order is pinned with grid `order` rather than DOM order, so the
      layout matches the design whatever the locale script does to the DOM. */
.form-row.nx-hidden-field {
	display: none !important;
}

.woocommerce-billing-fields__field-wrapper > #billing_first_name_field {
	order: 1;
}

.woocommerce-billing-fields__field-wrapper > #billing_phone_field {
	order: 2;
}

.woocommerce-billing-fields__field-wrapper > #billing_email_field {
	order: 3;
}

.woocommerce-billing-fields__field-wrapper > #billing_state_field {
	order: 4;
}

.woocommerce-billing-fields__field-wrapper > #billing_city_field {
	order: 5;
}

.woocommerce-billing-fields__field-wrapper > #billing_country_field {
	order: 6;
}

.woocommerce-billing-fields__field-wrapper > #billing_address_1_field {
	order: 7;
}

/* Anything the design does not place explicitly sorts after the above. */
.woocommerce-billing-fields__field-wrapper > .form-row {
	order: 8;
}

/* The locale script also rewrites form-row-first/-last/-wide, so the design's
   column spans are pinned by ID for the fields it actually lays out. */
.woocommerce-billing-fields__field-wrapper > #billing_first_name_field,
.woocommerce-billing-fields__field-wrapper > #billing_phone_field,
.woocommerce-billing-fields__field-wrapper > #billing_email_field,
.woocommerce-billing-fields__field-wrapper > #billing_state_field,
.woocommerce-billing-fields__field-wrapper > #billing_city_field,
.woocommerce-billing-fields__field-wrapper > #billing_country_field {
	grid-column: auto;
}

.woocommerce-billing-fields__field-wrapper > #billing_address_1_field {
	grid-column: 1 / -1;
}

.nx-field--full {
	grid-column: 1 / -1;
}

#order_comments_field,
.woocommerce-additional-fields {
	grid-column: 1 / -1;
	margin-block-start: 14px;
}

.select2-container .select2-selection--single {
	height: 46px;
	border: 1px solid var(--nx-line-2);
	border-radius: var(--nx-r-md);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 44px;
	padding-inline-start: 14px;
	color: var(--nx-ink);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 44px;
}

.nx-page--narrow {
	max-width: 820px;
}

.nx-review__summary {
	margin-block-start: 6px;
	font-size: 13px;
	line-height: 1.6;
	color: var(--nx-body);
}

.nx-eyebrow .nx-filters__clear {
	margin-inline-start: 8px;
	text-transform: none;
	letter-spacing: 0;
}

.nx-cart__lines--review {
	gap: 12px;
}

.nx-stars-wrap {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

/* WooCommerce's own .star-rating markup is replaced by nexelyx_rating_html(),
   which uses ★ glyphs — its icon font lives in the stylesheet we dequeue. This
   rule only catches any stray instance a plugin renders directly. */
.star-rating {
	font-size: 12px;
	color: var(--nx-star);
	white-space: nowrap;
}

.star-rating::before,
.star-rating span::before {
	content: none;
}

/* ==========================================================================
   20. RESPONSIVE — mobile
   ========================================================================== */

@media (max-width: 1023px) {
	:root {
		--nx-gutter: 16px;
		--nx-grid-gap: 12px;
		--nx-h1-hero: 32px;
		--nx-h1-slab: 36px;
		--nx-h1-mosaic: 30px;
		--nx-h2: 20px;
		--nx-hero-sub: 14.5px;
		--nx-band-h: 24px;
	}

	.nx-header {
		display: none;
	}

	.nx-mheader {
		display: block;
	}

	.nx-page {
		padding: 20px var(--nx-gutter) 30px;
	}

	.nx-section,
	.nx-section--tight {
		padding: 28px var(--nx-gutter) 4px;
	}

	.nx-grid--products,
	.nx-grid--results {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

	.nx-grid--trend,
	.nx-grid--blog,
	.nx-grid--half,
	.nx-grid--split,
	.nx-hero__inner,
	.nx-hero__lede,
	.nx-hero__mosaic,
	.nx-pdp,
	.nx-band,
	.nx-news,
	.nx-account,
	.nx-contact,
	.nx-reviews,
	.nx-paylist,
	.nx-factgrid {
		grid-template-columns: minmax(0, 1fr);
	}

	.nx-hero__inner,
	.nx-hero__lede,
	.nx-pdp {
		gap: 26px;
	}

	.nx-hero--split,
	.nx-hero--editorial,
	.nx-hero--mosaic,
	.nx-about__lead {
		padding: 26px var(--nx-gutter) 34px;
	}

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

	.nx-hero__mosaic-main {
		min-height: 320px;
	}

	.nx-hero__mosaic-img {
		width: 110px;
	}

	.nx-trust {
		padding: 18px var(--nx-gutter);
	}

	.nx-trust__grid,
	.nx-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}

	.nx-band-wrap {
		padding: 26px var(--nx-gutter);
	}

	.nx-band,
	.nx-news,
	.nx-confirm {
		padding: 24px;
	}

	.nx-band__actions {
		justify-content: flex-start;
	}

	.nx-news-wrap {
		padding: 8px var(--nx-gutter) 30px;
	}

	.nx-shop__layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.nx-card-product--row .nx-card-product__media {
		width: 76px;
		height: 76px;
	}

	.nx-footer {
		margin-block-start: 20px;
		padding: 30px var(--nx-gutter) 26px;
	}

	.nx-footer__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	/* Four stacked link lists make the footer enormous on a phone, so each
	   column becomes a tappable row that opens on demand. */
	.nx-footer__col {
		border-block-start: 1px solid var(--nx-on-dark-line);
	}

	.nx-footer__coltitle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		margin-block-end: 0;
		padding-block: 16px;
		min-height: 44px;
		cursor: pointer;
	}

	.nx-footer__coltitle::after {
		content: "";
		width: 9px;
		height: 9px;
		border-inline-end: 2px solid currentColor;
		border-block-end: 2px solid currentColor;
		transform: rotate(45deg);
		transform-origin: center;
		transition: transform 0.15s ease;
		flex: none;
		margin-block-start: -4px;
	}

	.nx-footer__col[open] .nx-footer__coltitle::after {
		transform: rotate(-135deg);
		margin-block-start: 2px;
	}

	.nx-footer__col .nx-footer__links {
		padding-block-end: 16px;
	}

	.nx-footer__brand + .nx-footer__about,
	.nx-footer__grid > div:first-child {
		margin-block-end: 20px;
	}

	/* The filter panel gets the same treatment: an eleven-item category list
	   would otherwise sit between the customer and the products. */
	.nx-filters__head {
		margin-block-end: 0;
		padding-block: 4px;
		min-height: 44px;
		align-items: center;
		cursor: pointer;
	}

	.nx-filters__panel[open] .nx-filters__head {
		margin-block-end: 14px;
	}

	.nx-filters__count-hint {
		display: inline;
	}

	.nx-filters__head::after {
		content: "";
		width: 9px;
		height: 9px;
		border-inline-end: 2px solid var(--nx-muted);
		border-block-end: 2px solid var(--nx-muted);
		transform: rotate(45deg);
		transition: transform 0.15s ease;
		flex: none;
		margin-inline-start: auto;
	}

	.nx-filters__panel[open] .nx-filters__head::after {
		transform: rotate(-135deg);
	}

	.nx-filters__clear-row {
		display: block;
		margin-block-end: 10px;
	}

	.nx-tabbar.is-enabled {
		display: grid;
	}

	/* The bar is sticky, so it floats over whatever sits at the bottom of the
	   page — including the last row of a form. Reserve its height so nothing is
	   ever covered, and keep anchored scrolling clear of it too. */
	body:has(.nx-tabbar.is-enabled) {
		scroll-padding-block-end: 96px;
	}

	body:has(.nx-tabbar.is-enabled) .nx-footer {
		padding-block-end: 96px;
	}

	.nx-fab.is-enabled {
		display: flex;
	}

	.nx-summary--sticky {
		position: static;
	}

	.nx-account-summary {
		grid-template-columns: minmax(0, 1fr);
		padding: 22px;
		gap: 18px;
	}

	.nx-account-summary__side {
		align-items: stretch;
	}

	/* Auto-fit packs four tiles as 3 + 1 on a phone, which reads as a mistake.
	   Two columns give an even 2 × 2 — and a clean 2 + 1 at three tiles, which
	   is what a store with no wallet feature shows. */
	.nx-account-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nx-account-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	/* The nav becomes a horizontally scrollable chip row so the content a
	   customer came for is not pushed down by six stacked links. */
	.nx-account-nav {
		padding: 8px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.nx-account-nav::-webkit-scrollbar {
		display: none;
	}

	.nx-account-nav__list {
		flex-direction: row;
		gap: 6px;
		width: max-content;
	}

	.nx-account-nav__link {
		white-space: nowrap;
	}

	.nx-account-nav__link--aside {
		display: none;
	}

	.nx-ordercard {
		flex-wrap: wrap;
	}

	.nx-ordercard__actions {
		width: 100%;
		justify-content: flex-start;
	}

	.nx-cartline__media {
		width: 72px;
		height: 72px;
	}

	.nx-pdp__buy .nx-btn--add {
		min-width: 100%;
	}
}

@media (max-width: 480px) {
	.nx-cartline {
		flex-wrap: wrap;
	}

	.nx-cartline__side {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		width: 100%;
	}
}

/* ==========================================================================
   21. ELEMENTOR
   The builder is an editing surface, not a second design system. Its widgets
   print the theme's own markup, so all that is needed here is a column knob
   for the grids, a flush variant (Elementor supplies the section padding
   itself), and the editor-only empty state.
   ========================================================================== */

.nx-section--flush {
	padding-inline: 0;
	max-width: none;
}

.nx-grid--el {
	--nx-el-cols: 4;

	grid-template-columns: repeat(var(--nx-el-cols), minmax(0, 1fr));
}

.nx-elementor-empty {
	padding: 22px;
	border: 1px dashed var(--nx-line-2);
	border-radius: var(--nx-r-lg);
	color: var(--nx-muted);
	font-size: 13.5px;
	text-align: center;
}

/* The Elementor widget's own column count still gives way on small screens —
   four product cards in a phone viewport is not a layout, it is a list of
   thumbnails. */
@media (max-width: 900px) {
	.nx-grid--el {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.nx-grid--el {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media print {
	.nx-header,
	.nx-mheader,
	.nx-tabbar,
	.nx-fab,
	.nx-toast,
	.nx-footer,
	.nx-drawer {
		display: none !important;
	}
}
