/*!
 * Apex Account — header.css
 * Site-wide, light-theme surfaces (UI-CONTRACT §7, amendments §12/§18): header account icon,
 * checkout banner, order-received claim card, PDP/shop member-price line. Loaded on every page,
 * so it stays small, uses no photo underlays / blur, and only .apxa- classes + --apxa- tokens.
 * account.css is NOT present on these pages: every component used here is fully styled here.
 */

/* ------------------------------------------------------------------ */
/* 1. Tokens (light theme + tier colour roles)                          */
/* ------------------------------------------------------------------ */

.apxa-light,
.apxa-hdr {
	--apxa-blue: #006cff;
	--apxa-blue-text: #0051c2;
	--apxa-blue-link: #0751b2;
	--apxa-ink: #0f1c2b;
	--apxa-copy: #2c3f52;
	--apxa-rule: rgba(15, 28, 43, 0.14);
	--apxa-radius: 8px;
	--apxa-cyan: #6bb7ff;
	--apxa-gold: #d8b86a;
	--apxa-inner-glow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
	--apxa-input-bg: linear-gradient(180deg, rgba(10, 25, 40, 0.96), rgba(5, 17, 30, 0.92));
	--apxa-input-border: rgba(18, 48, 72, 0.42);
	--apxa-focus-light: #0051c2;
	--apxa-mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
	--apxa-tier-bronze-text: #7a4c06;
	--apxa-tier-bronze-fill: rgba(185, 120, 18, 0.14);
	--apxa-tier-bronze-dot: #d9a33f;
	--apxa-tier-silver-text: #4f5b6b;
	--apxa-tier-silver-fill: rgba(138, 151, 168, 0.18);
	--apxa-tier-silver-dot: #c0c7d1;
	--apxa-tier-gold-text: #7f5b0b;
	--apxa-tier-gold-fill: rgba(216, 184, 106, 0.22);
	--apxa-tier-gold-dot: #d8b86a;
	--apxa-tier-platinum-text: #34526d;
	--apxa-tier-platinum-fill: rgba(91, 125, 153, 0.14);
	--apxa-tier-platinum-dot: #e8f3ff;
	--apxa-tier-diamond-text: #0b56a0;
	--apxa-tier-diamond-fill: rgba(19, 121, 202, 0.12);
	--apxa-tier-diamond-dot: #7fd3ff;
	--apxa-tier-onyx-text: #0b0f14;
	--apxa-tier-onyx-fill: rgba(11, 15, 20, 0.10);
	--apxa-tier-onyx-dot: #0b0f14;
	/* 1.1.1 metallic role (same values as account.css §1.2): pill / gem surfaces + AA ink on them */
	--apxa-tier-bronze-metal: linear-gradient(135deg, #f7e2b8 0%, #dcaa4b 48%, #c48a2b 100%);
	--apxa-tier-bronze-metal-ink: #3d2404;
	--apxa-tier-silver-metal: linear-gradient(135deg, #ffffff 0%, #dde3ea 48%, #aeb8c6 100%);
	--apxa-tier-silver-metal-ink: #26313f;
	--apxa-tier-gold-metal: linear-gradient(135deg, #fff4cf 0%, #e6c66f 48%, #c39a33 100%);
	--apxa-tier-gold-metal-ink: #4a3305;
	--apxa-tier-platinum-metal: linear-gradient(135deg, #ffffff 0%, #e6f1fb 48%, #bfd3e6 100%);
	--apxa-tier-platinum-metal-ink: #1f3549;
	--apxa-tier-diamond-metal: linear-gradient(135deg, #f4fbff 0%, #b3e5ff 48%, #6cc3f4 100%);
	--apxa-tier-diamond-metal-ink: #053a66;
	--apxa-tier-onyx-metal: linear-gradient(135deg, #6a7480 0%, #232a33 46%, #07090d 100%);
	--apxa-tier-onyx-metal-ink: #f8fbff;
	/* generic aliases default to bronze (claim card art before a tier is known) */
	--apxa-tier-text: var(--apxa-tier-bronze-text);
	--apxa-tier-fill: var(--apxa-tier-bronze-fill);
	--apxa-tier-dot: var(--apxa-tier-bronze-dot);
	--apxa-tier-metal: var(--apxa-tier-bronze-metal);
	--apxa-tier-metal-ink: var(--apxa-tier-bronze-metal-ink);
}

/* Tier modifier → generic aliases (surface roots, badges, price lines, header anchor) */
.apxa-tier--bronze, .apxa-hdr--bronze { --apxa-tier-text: var(--apxa-tier-bronze-text); --apxa-tier-fill: var(--apxa-tier-bronze-fill); --apxa-tier-dot: var(--apxa-tier-bronze-dot); --apxa-tier-metal: var(--apxa-tier-bronze-metal); --apxa-tier-metal-ink: var(--apxa-tier-bronze-metal-ink); }
.apxa-tier--silver, .apxa-hdr--silver { --apxa-tier-text: var(--apxa-tier-silver-text); --apxa-tier-fill: var(--apxa-tier-silver-fill); --apxa-tier-dot: var(--apxa-tier-silver-dot); --apxa-tier-metal: var(--apxa-tier-silver-metal); --apxa-tier-metal-ink: var(--apxa-tier-silver-metal-ink); }
.apxa-tier--gold, .apxa-hdr--gold { --apxa-tier-text: var(--apxa-tier-gold-text); --apxa-tier-fill: var(--apxa-tier-gold-fill); --apxa-tier-dot: var(--apxa-tier-gold-dot); --apxa-tier-metal: var(--apxa-tier-gold-metal); --apxa-tier-metal-ink: var(--apxa-tier-gold-metal-ink); }
.apxa-tier--platinum, .apxa-hdr--platinum { --apxa-tier-text: var(--apxa-tier-platinum-text); --apxa-tier-fill: var(--apxa-tier-platinum-fill); --apxa-tier-dot: var(--apxa-tier-platinum-dot); --apxa-tier-metal: var(--apxa-tier-platinum-metal); --apxa-tier-metal-ink: var(--apxa-tier-platinum-metal-ink); }
.apxa-tier--diamond, .apxa-hdr--diamond { --apxa-tier-text: var(--apxa-tier-diamond-text); --apxa-tier-fill: var(--apxa-tier-diamond-fill); --apxa-tier-dot: var(--apxa-tier-diamond-dot); --apxa-tier-metal: var(--apxa-tier-diamond-metal); --apxa-tier-metal-ink: var(--apxa-tier-diamond-metal-ink); }
.apxa-tier--onyx, .apxa-hdr--onyx { --apxa-tier-text: var(--apxa-tier-onyx-text); --apxa-tier-fill: var(--apxa-tier-onyx-fill); --apxa-tier-dot: var(--apxa-tier-onyx-dot); --apxa-tier-metal: var(--apxa-tier-onyx-metal); --apxa-tier-metal-ink: var(--apxa-tier-onyx-metal-ink); }

/* Onyx gems always carry the 1px white ring + soft glow */
.apxa-light .apxa-tier--onyx .apxa-gem,
.apxa-light.apxa-tier--onyx .apxa-claim__art .apxa-gem {
	border-radius: 50%;
	box-shadow: 0 0 0 1px #f8fbff, 0 0 12px rgba(248, 251, 255, 0.35);
}

/* ------------------------------------------------------------------ */
/* 2. Header account icon (printed inside Astra's .ast-header-woo-cart) */
/* ------------------------------------------------------------------ */

/* Belt: the cart total/label wrap is removed by filter; hide it for everyone regardless. */
.ast-woo-header-cart-info-wrap {
	display: none !important;
}

.ast-header-woo-cart {
	display: flex;
	align-items: center;
	gap: 4px;
}

.apxa-hdr {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 40px;
	min-width: 40px;
	height: 40px;
	margin: 0 2px 0 0;
	padding: 0;
	border-radius: 8px;
	color: var(--ast-global-color-0, #0f1c2b);
	line-height: 0;
	text-decoration: none !important;
	transition: color 160ms ease, background 160ms ease;
}

.apxa-hdr:hover,
.apxa-hdr:focus-visible {
	color: var(--ast-global-color-2, #006cff);
	background: rgba(0, 108, 255, 0.06);
}

.apxa-hdr:focus-visible {
	outline: 2px solid #0051c2;
	outline-offset: 2px;
}

.apxa-hdr .ahfb-svg-iconset {
	display: inline-flex;
	line-height: 0;
}

.apxa-hdr__svg {
	display: block;
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.apxa-hdr__dot {
	position: absolute;
	right: 7px;
	bottom: 7px;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--apxa-tier-dot, #006cff);
	box-shadow: 0 0 0 2px #ffffff;
	pointer-events: none;
}

.apxa-hdr__dot[hidden] {
	display: none;
}

.apxa-hdr--onyx .apxa-hdr__dot {
	box-shadow: 0 0 0 1px #f8fbff, 0 0 0 3px #ffffff;
}

/* Touch: 44×44 hit area without moving the glyph */
@media (pointer: coarse) {
	.apxa-hdr {
		width: 44px;
		min-width: 44px;
		height: 44px;
		padding: 2px;
	}

	.apxa-hdr__dot {
		right: 9px;
		bottom: 9px;
	}
}

/* Width budgets (amendments §12): tight desktop headers and the narrowest phones */
/* Astra's 921.99px max query can overlap its 922px min query after browser
   rounding. Follow its own JS mode so the overlap never hides both headers. */
@media (min-width: 922px) {
	body.ast-header-break-point #ast-mobile-header {
		display: block;
	}
}

/* The desktop row already has 20px inner gutters. Additional drawer-plugin
   bar padding made its minimum content overflow between 923px and 936px. */
@media (min-width: 922px) and (max-width: 959px) {
	body.ast-desktop #ast-desktop-header .ast-primary-header-bar {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}

@media (min-width: 922px) and (max-width: 1290px) {
	.apxa-hdr {
		width: 36px;
		min-width: 36px;
	}

	.ast-header-woo-cart {
		gap: 4px;
	}

	.apxa-hdr__dot {
		right: 5px;
	}
}

@media (max-width: 365px) {
	.apxa-hdr {
		width: 34px;
		min-width: 34px;
		margin-right: 0;
	}

	.apxa-hdr__dot {
		right: 4px;
	}
}

/* ≤365px (phones): the layout footprint stays 34px (header budget) while the hit box grows to 44×44
   through negative side margins; the glyph does not move. Width-based on purpose: touch emulators do not
   always report a coarse pointer, and a 34px target is too small on any phone-width screen. */
@media (max-width: 365px) {
	.apxa-hdr {
		width: 44px;
		min-width: 44px;
		height: 44px;
		min-height: 44px;
		margin: 0 -5px;
		padding: 2px;
	}

	.apxa-hdr__dot {
		right: 9px;
		bottom: 9px;
	}
}

/* ------------------------------------------------------------------ */
/* 3. Shared light-theme primitives (scoped to .apxa-light)             */
/* ------------------------------------------------------------------ */

.apxa-light,
.apxa-light *,
.apxa-light *::before,
.apxa-light *::after {
	box-sizing: border-box;
}

.apxa-light {
	color: var(--apxa-ink);
	font-family: inherit;
	letter-spacing: 0;
}

.apxa-light p,
.apxa-light h2 {
	margin: 0;
	color: inherit;
}

.apxa-light .apxa-ico {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
	display: inline-block;
	vertical-align: middle;
}

.apxa-light .apxa-ico--30 {
	width: 30px;
	height: 30px;
}

.apxa-light .apxa-sr,
.apxa-light .screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.apxa-light .apxa-hp {
	position: absolute !important;
	left: -10000px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0;
}

.apxa-light [hidden] {
	display: none !important;
}

/* Kicker on light pages */
.apxa-light .apxa-kicker {
	display: inline-flex;
	align-items: center;
	min-height: 20px;
	color: var(--apxa-blue-text);
	font-size: 11px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.8px;
	text-transform: uppercase;
}

.apxa-light .apxa-kicker::before {
	content: "";
	flex: 0 0 auto;
	width: 24px;
	height: 1px;
	margin-right: 8px;
	background: linear-gradient(90deg, var(--apxa-cyan), var(--apxa-gold));
}

/* Tier badge (inline in banner / claim title) — metallic pill, AA metal ink (matches account.css) */
.apxa-light .apxa-tier-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 26px;
	margin: 0 1px;
	padding: 3px 10px 3px 7px;
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: 999px;
	background: var(--apxa-tier-metal);
	color: var(--apxa-tier-metal-ink);
	font-size: 12px;
	font-weight: 850;
	line-height: 1.2;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.28);
	vertical-align: middle;
	white-space: nowrap;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 -1px 0 rgba(0, 0, 0, 0.12), 0 3px 10px rgba(3, 15, 28, 0.14);
}

.apxa-light .apxa-tier-badge.apxa-tier--onyx {
	border-color: rgba(255, 255, 255, 0.28);
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
}

.apxa-light .apxa-tier-badge .apxa-gem {
	width: 14px;
	height: 14px;
	color: currentColor;
	box-shadow: none;
}

/* Buttons (primary + link button are the only variants used off-hub) */
.apxa-light .apxa-btn {
	position: relative;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 44px;
	margin: 0;
	padding: 12px 20px;
	border: 1px solid rgba(5, 16, 29, 0.22);
	border-radius: 6px;
	background: rgba(5, 16, 29, 0.88);
	color: #f8fbff !important;
	font-family: inherit;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	text-decoration: none !important;
	text-shadow: none;
	white-space: nowrap;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	box-shadow: var(--apxa-inner-glow);
	transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.apxa-light .apxa-btn::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(120deg, transparent 0 38%, rgba(255, 255, 255, 0.22) 50%, transparent 62%);
	transform: translateX(-140%);
	transition: transform 520ms ease;
}

.apxa-light .apxa-btn:hover::before,
.apxa-light .apxa-btn:focus-visible::before {
	transform: translateX(140%);
}

.apxa-light .apxa-btn:hover {
	transform: translateY(-1px);
}

.apxa-light .apxa-btn > span,
.apxa-light .apxa-btn > .apxa-ico {
	position: relative;
	z-index: 1;
}

.apxa-light .apxa-btn--primary {
	border-color: rgba(194, 225, 255, 0.7);
	background: linear-gradient(135deg, #f8fbff, #9dcbff 42%, #006cff);
	color: #020916 !important;
	box-shadow: 0 16px 44px rgba(0, 108, 255, 0.24), var(--apxa-inner-glow);
}

.apxa-light .apxa-btn--primary:hover {
	border-color: rgba(216, 237, 255, 0.88);
	background: linear-gradient(135deg, #ffffff, #bdddff 42%, #2382ff);
}

.apxa-light .apxa-btn--block {
	width: 100%;
	min-height: 48px;
}

.apxa-light .apxa-btn:disabled,
.apxa-light .apxa-btn[aria-disabled="true"] {
	opacity: 0.48;
	cursor: not-allowed;
	transform: none;
}

.apxa-light .apxa-btn.is-busy {
	pointer-events: none;
	transform: none;
}

.apxa-light .apxa-btn.is-busy > span,
.apxa-light .apxa-btn.is-busy > .apxa-ico {
	visibility: hidden;
}

.apxa-light .apxa-btn.is-busy::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 16px;
	height: 16px;
	margin: -8px 0 0 -8px;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: apxa-spin 700ms linear infinite;
}

.apxa-light .apxa-link-btn {
	letter-spacing: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	margin: 0;
	padding: 9px 12px;
	border: 1px solid rgba(0, 108, 255, 0.27);
	border-radius: 6px;
	background: rgba(0, 108, 255, 0.075);
	color: var(--apxa-blue-link) !important;
	font-family: inherit;
	font-size: 12px;
	font-weight: 850;
	line-height: 1.2;
	text-decoration: none !important;
	text-transform: none;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	box-shadow: none;
	transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.apxa-light .apxa-link-btn:hover {
	background: rgba(0, 108, 255, 0.13);
	transform: translateY(-1px);
}

.apxa-light .apxa-link-btn[disabled],
.apxa-light .apxa-link-btn[aria-disabled="true"] {
	opacity: 0.55;
	cursor: not-allowed;
	transform: none;
}

.apxa-light .apxa-btn-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.apxa-light .apxa-form__error {
	margin: 0;
	color: #be123c;
	font-size: 13px;
	font-weight: 750;
	line-height: 1.45;
}

.apxa-light .apxa-form__error:empty {
	display: none;
}

.apxa-light .apxa-micro {
	font-size: 11.5px;
	font-weight: 700;
	line-height: 1.4;
}

.apxa-light .apxa-turnstile {
	display: grid;
	min-width: 0;
}

.apxa-light .apxa-turnstile:empty {
	display: none;
}

.apxa-light .apxa-turnstile .cf-turnstile {
	width: 100%;
	min-width: 0;
}

.apxa-light .apxa-turnstile iframe {
	max-width: 100%;
}

/* OTP — one input over six dark cells (UI §4.4), same geometry as account.css */
.apxa-light .apxa-otp {
	--apxa-otp-cell: 44px;
	--apxa-otp-gap: 8px;
	display: grid;
	gap: 8px;
	min-width: 0;
}

.apxa-light .apxa-otp__label {
	display: block;
	color: var(--apxa-ink);
	font-size: 13px;
	font-weight: 850;
	line-height: 1.3;
}

.apxa-light .apxa-otp__track {
	position: relative;
	width: calc(6 * var(--apxa-otp-cell) + 5 * var(--apxa-otp-gap));
	max-width: 100%;
	margin: 0;
	border-radius: 6px;
	overflow: hidden;
}

.apxa-light .apxa-otp__cells {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-columns: repeat(6, var(--apxa-otp-cell));
	gap: var(--apxa-otp-gap);
	pointer-events: none;
}

.apxa-light .apxa-otp__cells i {
	display: block;
	height: 56px;
	border: 1px solid var(--apxa-input-border);
	border-radius: 6px;
	background: var(--apxa-input-bg);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
	transition: border-color 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.apxa-light .apxa-otp__cells i.is-filled {
	border-color: rgba(107, 183, 255, 0.55);
}

.apxa-light .apxa-otp__cells i.is-active {
	border-color: var(--apxa-cyan);
	box-shadow: 0 0 0 3px rgba(107, 183, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.apxa-light .apxa-otp.has-error .apxa-otp__cells i {
	border-color: rgba(239, 68, 68, 0.7);
}

.apxa-light .apxa-otp.is-locked .apxa-otp__cells i {
	opacity: 0.5;
}

.apxa-light .apxa-otp__input {
	position: relative;
	z-index: 1;
	display: block;
	width: 100% !important;
	height: 56px;
	min-height: 56px;
	margin: 0 !important;
	padding: 0 0 0 calc((var(--apxa-otp-cell) - 1ch) / 2) !important;
	border: 0 !important;
	border-radius: 6px;
	background: transparent !important;
	box-shadow: none !important;
	color: #f8fbff !important;
	font-family: var(--apxa-mono);
	font-size: 26px;
	font-weight: 800;
	line-height: 56px;
	letter-spacing: calc(var(--apxa-otp-cell) + var(--apxa-otp-gap) - 1ch);
	text-align: left;
	caret-color: var(--apxa-cyan);
	outline: none !important;
	-webkit-appearance: none;
	appearance: none;
}

.apxa-light .apxa-otp__track:focus-within {
	outline: 3px solid var(--apxa-focus-light);
	outline-offset: 2px;
	box-shadow: 0 0 0 5px #ffffff;
}

.apxa-light .apxa-otp__hint {
	color: var(--apxa-copy);
}

.apxa-light input:-webkit-autofill {
	-webkit-text-fill-color: #f8fbff !important;
	box-shadow: inset 0 0 0 1000px #0b1b2b !important;
	transition: background-color 9999s ease-in-out 0s;
}

/* Tier track (light variant, claim done state) — same component as account.css §5.2: gradient fill with a one-pass
   shimmer, the current-tier gem riding the fill head (left: --apxa-progress-pct, inline from render), the next-tier gem
   parked at the end, points line + quieter dollar hint. */
.apxa-light .apxa-progress {
	--apxa-progress-pct: 0%;
	--apxa-gem-size: 26px;
	display: grid;
	gap: 10px;
	width: 100%;
	max-width: 480px;
	min-width: 0;
}

.apxa-light .apxa-progress__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 0 2px;
}

.apxa-light .apxa-progress__from,
.apxa-light .apxa-progress__to {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
	color: var(--apxa-tier-text);
	font-size: 12px;
	font-weight: 850;
	line-height: 1.2;
	letter-spacing: 0.7px;
	text-transform: uppercase;
}

.apxa-light .apxa-progress__track {
	position: relative;
	height: 14px;
	margin: 6px 0;
	border: 1px solid rgba(54, 89, 118, 0.18);
	border-radius: 999px;
	background: rgba(8, 26, 42, 0.08);
	box-shadow: inset 0 1px 2px rgba(3, 15, 28, 0.12);
	overflow: visible;
}

.apxa-light .apxa-progress__fill {
	position: relative;
	display: block;
	height: 100%;
	max-width: 100%;
	min-width: 14px;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--apxa-tier-dot), #6bb7ff 58%, var(--apxa-blue));
	box-shadow: 0 0 14px rgba(0, 108, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.5);
	transform-origin: left center;
	animation: apxa-progress-fill 900ms ease both;
	overflow: hidden;
}

.apxa-light .apxa-progress__fill::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.7) 50%, transparent 70%);
	transform: translateX(-130%);
	animation: apxa-shimmer 1400ms ease-out 900ms 1 both;
}

.apxa-light .apxa-progress__gem {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: grid;
	place-items: center;
	width: var(--apxa-gem-size);
	height: var(--apxa-gem-size);
	border: 2px solid rgba(255, 255, 255, 0.9);
	border-radius: 50%;
	background: var(--apxa-tier-metal);
	color: var(--apxa-tier-metal-ink);
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9), 0 6px 16px rgba(3, 15, 28, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.7);
	pointer-events: none;
	transform: translate(-50%, -50%);
}

.apxa-light .apxa-progress__gem .apxa-gem {
	width: 13px;
	height: 13px;
	color: inherit;
	box-shadow: none;
}

.apxa-light .apxa-progress__gem--now {
	left: clamp(calc(var(--apxa-gem-size) / 2), var(--apxa-progress-pct), calc(100% - var(--apxa-gem-size) / 2));
	animation: apxa-gem-arrive 900ms ease both;
}

.apxa-light .apxa-progress__gem--next {
	left: 100%;
	border-color: rgba(255, 255, 255, 0.7);
	filter: saturate(0.55);
	opacity: 0.85;
}

.apxa-light .apxa-progress--top .apxa-progress__gem--now {
	left: calc(100% - var(--apxa-gem-size) / 2);
}

.apxa-light .apxa-progress__hint {
	color: var(--apxa-ink);
	font-size: 14px;
	font-weight: 800;
	line-height: 1.4;
	font-variant-numeric: tabular-nums;
}

.apxa-light .apxa-progress__sub {
	margin-top: -6px;
	color: var(--apxa-copy);
	font-size: 13px;
	font-weight: 650;
	line-height: 1.45;
}

/* Focus recipe on light surfaces */
.apxa-light :is(a, button, input, [tabindex]):focus-visible {
	outline: 3px solid var(--apxa-focus-light);
	outline-offset: 2px;
	box-shadow: 0 0 0 5px #ffffff;
}

.apxa-light .apxa-otp__input:focus-visible {
	outline: none !important;
	box-shadow: none !important;
}

/* ------------------------------------------------------------------ */
/* 4. Checkout banner                                                   */
/* ------------------------------------------------------------------ */

.apxa-co-banner {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	margin: 0 0 18px;
	padding: 12px 16px;
	border: 1px solid rgba(0, 108, 255, 0.2);
	border-left: 3px solid var(--apxa-blue);
	border-radius: 10px;
	background: linear-gradient(135deg, #ffffff, #f0f6ff);
	color: var(--apxa-ink);
	font-size: 14px;
	font-weight: 650;
	line-height: 1.5;
	box-shadow: 0 8px 22px rgba(3, 15, 28, 0.06);
}

.apxa-co-banner__ico {
	box-sizing: content-box;
	width: 18px;
	height: 18px;
	padding: 7px;
	border: 1px solid rgba(0, 108, 255, 0.18);
	border-radius: 50%;
	background: rgba(0, 108, 255, 0.08);
	color: var(--apxa-blue);
}

.apxa-co-banner p {
	min-width: 0;
	margin: 0;
	overflow-wrap: anywhere;
}

.apxa-co-banner strong {
	color: var(--apxa-ink);
	font-weight: 800;
}

.apxa-co-banner a {
	display: inline-block;
	padding: 13px 2px;
	margin: -13px -2px;
	color: var(--apxa-blue-text) !important;
	font-weight: 700;
	text-decoration: underline !important;
	text-underline-offset: 2px;
}

.apxa-co-banner a:hover {
	color: var(--apxa-blue) !important;
}

.apxa-co-banner .apxa-tier-badge {
	min-height: 24px;
}

/* ------------------------------------------------------------------ */
/* 5. Order-received claim card (640px column, sibling of #apex-sa-confirm-root) */
/* ------------------------------------------------------------------ */

.apxa-claim {
	position: relative;
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	width: 100%;
	max-width: 640px;
	margin: 8px auto 28px;
	padding: 22px;
	border: 1px solid rgba(0, 108, 255, 0.2);
	border-radius: 12px;
	background: linear-gradient(135deg, #ffffff, #f2f7ff);
	color: var(--apxa-ink);
	box-shadow: 0 14px 40px rgba(3, 15, 28, 0.08);
	text-align: left;
}

/* Hidden while the SellAbroad hero reports a non-success state (amendments §12) */
#apex-sa-confirm-root[data-state="failed"] ~ .apxa-claim,
#apex-sa-confirm-root[data-state="attention"] ~ .apxa-claim,
#apex-sa-confirm-root[data-state="refunded"] ~ .apxa-claim {
	display: none;
}

.apxa-claim__art {
	display: inline-grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: rgba(0, 108, 255, 0.08);
	color: var(--apxa-tier-dot);
}

.apxa-claim__art .apxa-gem {
	width: 30px;
	height: 30px;
	color: inherit;
}

.apxa-claim__body {
	min-width: 0;
}

.apxa-claim__step {
	display: grid;
	gap: 12px;
	min-width: 0;
}

.apxa-claim__title {
	color: var(--apxa-ink);
	font-size: clamp(18px, 2.4vw, 22px);
	font-weight: 800;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.apxa-claim__title .apxa-tier-badge {
	position: relative;
	top: -2px;
	font-size: 12px;
}

.apxa-claim__text {
	color: var(--apxa-copy);
	font-size: 14px;
	font-weight: 650;
	line-height: 1.55;
}

.apxa-claim__text strong {
	color: var(--apxa-ink);
	font-weight: 800;
}

.apxa-claim__form {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
}

.apxa-claim__form .apxa-btn {
	justify-self: start;
}

.apxa-claim__fine {
	color: var(--apxa-copy);
}

.apxa-claim__resend {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.apxa-claim__step--done .apxa-btn-row {
	margin-top: 2px;
}

/* Hidden gem sprite printed by the card for the JS template */
.apxa-claim > svg[aria-hidden="true"] {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

@media (max-width: 520px) {
	.apxa-claim {
		grid-template-columns: minmax(0, 1fr);
		padding: 18px;
	}

	.apxa-claim__art {
		display: none;
	}

	.apxa-claim__form .apxa-btn {
		justify-self: stretch;
		width: 100%;
	}
}

@media (max-width: 480px) {
	.apxa-light .apxa-otp {
		--apxa-otp-cell: 40px;
		--apxa-otp-gap: 6px;
	}
}

@media (max-width: 380px) {
	.apxa-light .apxa-otp {
		--apxa-otp-cell: 38px;
		--apxa-otp-gap: 6px;
	}

	.apxa-claim {
		padding: 16px;
	}
}

@media (max-width: 340px) {
	.apxa-light .apxa-otp {
		--apxa-otp-cell: 34px;
		--apxa-otp-gap: 6px;
	}

	.apxa-light .apxa-otp__input {
		font-size: 24px;
	}
}

/* ------------------------------------------------------------------ */
/* 6. PDP / shop member-price line (inserted by header.js after .price)  */
/* ------------------------------------------------------------------ */

.apxa-member-price {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	max-width: 100%;
	min-height: 28px;
	margin-top: 6px;
	padding: 4px 11px 4px 9px;
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: 999px;
	background: var(--apxa-tier-metal);
	color: var(--apxa-tier-metal-ink);
	font-size: 13px;
	font-weight: 750;
	line-height: 1.3;
	letter-spacing: 0;
	text-decoration: none !important;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.28);
	vertical-align: middle;
	white-space: nowrap;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 -1px 0 rgba(0, 0, 0, 0.1), 0 3px 10px rgba(3, 15, 28, 0.12);
}

.apxa-member-price.apxa-tier--onyx {
	border-color: rgba(255, 255, 255, 0.28);
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
}

.apxa-member-price .apxa-ico,
.apxa-member-price .apxa-gem {
	width: 13px;
	height: 13px;
	color: currentColor;
	box-shadow: none;
}

.apxa-member-price__amount {
	color: inherit;
	font-weight: 900;
	font-variant-numeric: tabular-nums;
}

.apxa-member-price__pct {
	opacity: 0.85;
}

/* 44px hit area for the guest pill without changing its visual size */
.apxa-member-price--guest {
	position: relative;
}

.apxa-member-price--guest::after {
	content: "";
	position: absolute;
	inset: -9px 0;
}

.apxa-member-price--guest {
	border-color: rgba(0, 108, 255, 0.2);
	background: linear-gradient(135deg, #ffffff, #eaf3ff);
	color: var(--apxa-blue-text) !important;
	text-shadow: none;
	box-shadow: 0 3px 10px rgba(3, 15, 28, 0.08);
}

.apxa-member-price--guest:hover {
	background: #e8f1ff;
	color: var(--apxa-blue) !important;
}

.apxa-member-price--card,
li.product .apxa-member-price {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px 6px;
	margin-top: 4px;
	padding: 4px 8px;
	border-radius: 8px;
	font-size: 11.5px;
	line-height: 1.35;
	white-space: normal;
	text-align: left;
}

/* Woo puts .price as a block; keep the line under it, never beside */
.summary .price + .apxa-member-price,
li.product .price + .apxa-member-price {
	display: inline-flex;
}

/* ------------------------------------------------------------------ */
/* 7. Keyframes + reduced motion                                        */
/* ------------------------------------------------------------------ */

@keyframes apxa-spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes apxa-progress-fill {
	from {
		transform: scaleX(0);
	}
	to {
		transform: scaleX(1);
	}
}

@keyframes apxa-shimmer {
	from {
		transform: translateX(-130%);
	}
	to {
		transform: translateX(130%);
	}
}

@keyframes apxa-gem-arrive {
	from {
		opacity: 0;
		transform: translate(-50%, -50%) scale(0.6);
	}
	60% {
		opacity: 1;
	}
	to {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1);
	}
}

@media (prefers-reduced-motion: reduce) {
	.apxa-light,
	.apxa-light *,
	.apxa-light *::before,
	.apxa-light *::after,
	.apxa-hdr,
	.apxa-hdr * {
		animation-duration: 1ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 1ms !important;
		scroll-behavior: auto !important;
	}

	.apxa-light .apxa-btn::before {
		display: none;
	}
}

/* 1.0.2 — narrowest-phone header budget (≤365px). Measured on production 2026-09-04: Astra's mobile row was
   128 (toggle 54 + search 54 with 10px margins) + 94 (logo) + 82 (account + bag) + 2×10 gap = 324px inside a
   280px content box (20px bar padding) → 24px horizontal scroll at 320px once the account icon was added.
   Recover 44px: drop the search element's side margins (−20), shrink the account icon to 32px (−12), and pull
   the bar padding to 14px (−12). All scoped to the mobile header; the 44px tap target is kept with negative
   margins on the anchor's hit box (padding), not by widening the layout footprint. */
@media (max-width: 365px) {
	#ast-mobile-header .ast-primary-header-bar {
		padding-left: 14px !important;
		padding-right: 14px !important;
	}
	#ast-mobile-header .site-header-primary-section-left .ast-header-search {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
	/* Layout footprint stays 32px (44 − 2×6) so the 1.0.2 mobile-header budget holds, while the tappable box is
	   44×44 (touch target); the glyph does not move (symmetric negative margins). */
	#ast-mobile-header .apxa-hdr {
		width: 44px !important;
		min-width: 44px !important;
		min-height: 44px;
		margin-left: -6px !important;
		margin-right: -6px !important;
	}
	#ast-mobile-header .apxa-hdr .apxa-hdr__svg,
	#ast-mobile-header .apxa-hdr svg {
		width: 18px;
		height: 18px;
	}
}
