/* SellAuth nav port — page-side layer.
 *
 * sa-nav.css is the untouched SellAuth landing bundle, scoped under .sa-nav.
 * This file carries the parts their React component owned and the two
 * adaptations this site needs:
 *
 *   1. the bar is fixed and overlays the page, the way theirs does;
 *   2. the glass capsule is on at rest instead of appearing on scroll only;
 *   3. the scroll morph their component applied through props;
 *   4. the drawer open/close states;
 *   5. a text wordmark in place of their inline SVG logotype.
 *
 * Geometry is theirs: wrapper px-6 py-3, bar px-5 py-1.5 max-w-[1400px],
 * 50px tall at rest, narrowing to 1200px once scrolled. The glass recipe is
 * their `bg-surface/75` + `backdrop-blur-[20px] backdrop-saturate-[1.4]`.
 * Light tokens come from their own [data-theme=light] block — nothing here
 * invents a colour.
 */

/* ------------------------------------------------------------- container */

/* Height of the floating bar, including the wrapper's own padding: 12 + 58 +
   12 on desktop, 8 + 52 + 8 below the drawer breakpoint. Every page offsets
   its first in-flow child by this much so the bar overlays the page. These are
   the fallbacks for the first frame; sa-nav.js measures the real header and
   republishes the value, so a logo or padding change cannot leave a band. */
:root {
	--sa-nav-h: 82px;
}

@media (max-width: 1023.98px) {
	:root {
		--sa-nav-h: 68px;
	}
}

/* Fixed, not sticky: sticky keeps the bar in flow, which paints a band of the
   page background above the content. SellAuth floats the pill over the page. */
.sa-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 1000;
	font-family: "Proxima Nova", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
	/* The wrapper is a transparent strip; only the bar and the open drawer
	   take clicks. The bar carries `pointer-events-auto` in its own markup. */
	pointer-events: none;
}

.sa-nav {
	position: relative;
	/* The scoped bundle no longer inherits the document background, but keep
	   this explicit: any future restyle of the wrapper must not paint a slab
	   behind the pill. */
	background: transparent;
	pointer-events: none;
}

.sa-nav-wrap {
	position: relative;
	pointer-events: none;
}

/* ------------------------------------------------------ content offset */

/* The bar is out of flow, so the page container takes its height back. Pages
   without the bar (404, search) are untouched. */
#page-container:has(> .sa-header) {
	padding-top: var(--sa-nav-h);
}

/* The theme ships `header { display:block }` plus a pile of .sh-header rules.
   None of them should reach inside the ported bar. */
.sa-header,
.sa-nav,
.sa-nav-wrap,
.sa-nav-bar {
	text-align: left;
	text-transform: none;
	letter-spacing: normal;
}

.sa-nav a {
	text-decoration: none;
	box-shadow: none;
}

/* ---------------------------------------------------------- breakpoints */

/* bundle.css carries Bootstrap-era `.hidden{display:none!important}`, which
   collides with Tailwind's `.hidden` and cannot be beaten by a media-query
   utility. The two visibility wrappers use their own class names instead. */
.sa-nav-mobile {
	display: none;
}

.sa-nav-desktop {
	display: flex;
}

@media (max-width: 1023.98px) {
	.sa-nav-mobile {
		display: flex;
	}

	.sa-nav-desktop {
		display: none;
	}
}

/* ------------------------------------------------------------ rest state */

/* Frosted capsule, always on. The reference nav keeps the pane visible at
   rest and only darkens it on scroll, which is the read the storefront wants:
   the bar is a floating pane of glass, not an invisible strip that sprouts a
   background halfway down the page.

   The sheen is a pair of wide white washes rather than a flat tint. A flat pane
   over a flat page is a bar; a pane with a light source in the top-left corner
   and a faint bounce bottom-right reads as glass even when the backdrop has no
   texture. White only: a tinted sheen pools colour on the page behind the pill.

   The pane samples the page with backdrop-filter. A bare background-color
   without one would tint the bar itself instead of the surface behind it. Both
   values are neutral so the pill never casts a colour onto the field. */
.sa-nav {
	--nav-sheen:
		radial-gradient(120% 200% at 6% -70%, rgb(255 255 255 / 0.5), transparent 62%),
		radial-gradient(90% 170% at 96% 170%, rgb(255 255 255 / 0.22), transparent 60%);
}

.sa-nav [data-theme=dark] {
	--nav-sheen:
		radial-gradient(120% 200% at 6% -70%, rgb(255 255 255 / 0.08), transparent 64%),
		radial-gradient(90% 170% at 96% 170%, rgb(255 255 255 / 0.05), transparent 62%);
}

.sa-nav .sa-nav-glass {
	opacity: 1;
	background-color: rgb(var(--surface-rgb) / 0.64);
	background-image: var(--nav-sheen);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.38),
		inset 0 -1px 0 rgba(0, 0, 0, 0.05);
	-webkit-backdrop-filter: blur(20px) saturate(1.75);
	backdrop-filter: blur(20px) saturate(1.75);
	transition:
		opacity 400ms cubic-bezier(0.4, 0, 0.2, 1),
		background-color 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Bar geometry is theirs: 1400px wide, 50px tall, 20px side padding. Radius
   is 9999px at every scroll position — their component only morphs after
   scrolling, this bar is a capsule throughout. */
.sa-nav .sa-nav-bar {
	max-width: 1400px;
	border-radius: 9999px;
	/* The hairline is the pane's edge: lighter than the surface in light,
	   white/10 over the dark ramp. Painted on the bar, not the glass layer,
	   so it never scales with the backdrop-filter. */
	border-color: rgb(var(--ink-rgb) / 0.08);
	box-shadow:
		0 1px 1px rgba(16, 18, 24, 0.03),
		0 16px 40px -26px rgba(16, 18, 24, 0.4);
	/* The glass layer is `absolute inset-0 -z-10`. Without a stacking context
	   on the bar, that negative index resolves against .sa-header and the pill
	   paints behind its own container. Isolation keeps it inside the pill. */
	isolation: isolate;
	transition:
		max-width 500ms cubic-bezier(0.4, 0, 0.2, 1),
		padding 500ms cubic-bezier(0.4, 0, 0.2, 1),
		border-color 500ms cubic-bezier(0.4, 0, 0.2, 1),
		box-shadow 500ms cubic-bezier(0.4, 0, 0.2, 1),
		background-color 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* -------------------------------------------------------- scroll morph */

/* Mirrors their scrolled state: the pane thickens, the bar narrows to
   1200px, tightens its side padding and picks up a stronger edge and shadow. */
.sa-nav.is-scrolled .sa-nav-glass {
	opacity: 1;
	background-color: rgb(var(--surface-rgb) / 0.84);
}

.sa-nav.is-scrolled .sa-nav-bar {
	max-width: 1200px;
	padding-left: 16px;
	padding-right: 16px;
	border-color: rgb(var(--ink-rgb) / 0.12);
	box-shadow:
		0 2px 4px rgba(16, 18, 24, 0.04),
		0 22px 50px -26px rgba(16, 18, 24, 0.5);
}

/* ---------------------------------------------------------- brand mark */

/* The real store logo: the car and the HamzaBG lockup, pre-scaled to 2x the
   display height so it stays crisp on a retina panel without shipping the
   388 KB original on every page. */
.sa-nav .sa-nav-brand {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	text-decoration: none;
}

.sa-nav .sa-nav-logo {
	display: block;
	height: 44px;
	width: auto;
}

@media (max-width: 1023.98px) {
	.sa-nav .sa-nav-logo {
		height: 38px;
	}
}

/* ------------------------------------------------------------ nav items */

/* Their links are plain text: 14px, medium, muted, no hover box. The utility
   classes on the markup give every item a rounded hover chip, which reads as a
   toolbar. Strip the chip and keep the colour change. */
.sa-nav .sa-nav-desktop > a.group {
	padding: 8px 13px;
	border-radius: 9999px;
}

.sa-nav .sa-nav-desktop > a.group:hover {
	background: transparent;
}

.sa-nav .sa-nav-desktop > a.group > span {
	font-size: 14px;
	font-weight: 500;
	color: rgb(var(--copy-rgb) / 0.78);
}

.sa-nav .sa-nav-desktop > a.group:hover > span {
	color: rgb(var(--ink-rgb));
}

/* Their icon buttons are glyphs, not form controls: no border, no fill, 55%
   opacity, full opacity on hover. */
.sa-nav .sa-nav-toggle,
.sa-nav .sa-theme-btn {
	border-color: transparent;
	background: transparent;
	box-shadow: none;
	opacity: 0.55;
}

.sa-nav .sa-nav-toggle:hover,
.sa-nav .sa-theme-btn:hover {
	background: rgb(var(--ink-rgb) / 0.06);
	opacity: 1;
}

/* Community icon button: Font Awesome glyph from config/community.php. */
.sa-nav .sa-nav-community i {
	font-size: 18px;
	line-height: 1;
}

/* Drawer community rows use the same glyph set. */
.sa-nav .sa-nav-drawer i[class*="fa-"] {
	font-size: 16px;
	line-height: 1;
}

/* -------------------------------------------------------------- drawer */

/* The drawer is a frosted sheet that slides out from under the pill. It used
   to be `display:none` until `.is-open`, which killed every transition and
   (because the markup's closers sat two levels early) left half the rows as
   bare children of this element. Both are fixed here and in the markup:
   visibility/opacity/transform carry the motion, `top` follows the measured
   header so there is no 4px overlap under the bar. */
.sa-nav .sa-nav-drawer {
	display: flex;
	top: var(--sa-nav-h);
	visibility: hidden;
	opacity: 0;
	transform: translateY(-10px);
	pointer-events: none;
	border-top: 1px solid rgb(var(--ink-rgb) / 0.07);
	background: rgb(var(--surface-rgb) / 0.9);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
	-webkit-backdrop-filter: blur(26px) saturate(1.7);
	backdrop-filter: blur(26px) saturate(1.7);
	transition:
		opacity 260ms cubic-bezier(0.4, 0, 0.2, 1),
		transform 260ms cubic-bezier(0.4, 0, 0.2, 1),
		visibility 0ms linear 260ms;
}

.sa-nav .sa-nav-drawer.is-open {
	visibility: visible;
	opacity: 1;
	transform: none;
	pointer-events: auto;
	transition:
		opacity 260ms cubic-bezier(0.4, 0, 0.2, 1),
		transform 260ms cubic-bezier(0.4, 0, 0.2, 1),
		visibility 0ms linear 0ms;
}

/* Row tiles inside the sheet read as inset chips, not outlined buttons. */
.sa-nav .sa-nav-drawer a.group > span:first-child {
	border-color: rgb(var(--ink-rgb) / 0.06);
	background: rgb(var(--ink-rgb) / 0.035);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.sa-nav .sa-nav-drawer a.group:hover {
	background: rgb(var(--ink-rgb) / 0.045);
}

/* Scroll lock, with the scrollbar width handed back so the page does not
   shift sideways when the sheet opens. sa-nav.js sets --sa-nav-scrollbar. */
.sa-nav-open {
	overflow: hidden;
	padding-right: var(--sa-nav-scrollbar, 0px);
}

/* Mobile cluster: the injected search tile and the hamburger sit as one
   pair, never touching the logo. */
.sa-nav .sa-nav-mobile {
	gap: 8px;
}

/* The search tile is injected by search-overlay.js with Tailwind utilities
   that assume a bordered toolbar. Neutralise it into the icon set the rest
   of the cluster uses: no fill, no edge, 60% opacity, full on hover. */
.sa-nav .sa-nav-search-btn {
	width: 36px;
	height: 36px;
	border: 0;
	background: transparent;
	box-shadow: none;
	opacity: 0.6;
}

.sa-nav .sa-nav-search-btn:hover,
.sa-nav .sa-nav-search-btn:focus-visible {
	border: 0;
	background: rgb(var(--ink-rgb) / 0.07);
	opacity: 1;
}

.sa-nav .sa-nav-search-btn:focus-visible {
	outline: 2px solid rgb(var(--accent-rgb));
	outline-offset: 2px;
}

/* Hamburger cross-fade, same two-icon trick their button uses. */
.sa-nav-toggle svg {
	position: absolute;
	inset: 0;
	transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1), opacity 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.sa-nav-toggle .sa-nav-icon-close {
	opacity: 0;
	transform: rotate(-90deg);
}

.sa-nav.is-open .sa-nav-icon-menu {
	opacity: 0;
	transform: rotate(90deg);
}

.sa-nav.is-open .sa-nav-icon-close {
	opacity: 1;
	transform: rotate(0deg);
}

/* Anchors should not hide under the sticky bar. */
html {
	scroll-padding-top: 96px;
}

/* ------------------------------------------------------------ dark tokens
 * The extracted bundle only carries SellAuth's `[data-theme=light]` block, so
 * their dark ramp is rebuilt here from the values their own root block uses
 * (surface 13 17 23, ink 255 255 255) and tuned to this page's #151515 body.
 * Every key the light block defines is defined again — nothing inherits a
 * light value into dark.
 */

.sa-nav [data-theme=dark] {
	--surface-rgb: 16 16 16;
	--raised-rgb: 26 26 26;
	--raised-2-rgb: 34 34 34;
	--ink-rgb: 255 255 255;
	--copy-rgb: 203 210 220;
	--copy-muted-rgb: 148 158 172;
	--copy-faint-rgb: 124 134 148;
	--copy-ghost-rgb: 106 115 128;
	--glass: rgba(16, 16, 16, .6);
	--glass-card: rgba(26, 26, 26, .6);
	--glass-brand: rgba(101, 113, 255, .14);
	--showcase: rgba(26, 26, 26, .75);
	--shadow-dropdown: 0 24px 64px rgba(0, 0, 0, .55);
	--shadow-card: 0 8px 32px -4px rgba(0, 0, 0, .45);
	--shadow-dashboard: 0 0 0 1px rgba(255, 255, 255, .06), 0 20px 60px -10px rgba(0, 0, 0, .6), 0 0 40px rgba(0, 0, 0, .35);
	--shadow-feature-img: 0 20px 60px -10px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .06);
	--shine-inset: inset 0 2px 0 rgba(255, 255, 255, .09);
	--shine-inset-subtle: inset 0 1px 0 rgba(255, 255, 255, .06), inset 0 0 0 1px rgba(255, 255, 255, .08);
	--shine-showcase-inset: inset 0 1px 0 rgba(255, 255, 255, .06);
	--shadow-gp-card: inset 0 1px 0 rgba(255, 255, 255, .06), 0 2px 8px rgba(0, 0, 0, .4);
	--gradient-btn-glass: linear-gradient(180deg, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, .04) 100%);
	--gradient-btn-glass-v2: linear-gradient(180deg, rgba(255, 255, 255, .06) 0%, rgba(255, 255, 255, .03) 100%);
	--gradient-bento: linear-gradient(160deg, rgba(30, 30, 32, .9) 0%, rgba(20, 20, 22, .75) 100%);
	--gradient-bento-icon: linear-gradient(160deg, rgba(36, 36, 40, .95) 0%, rgba(24, 24, 27, .8) 100%);
	--gradient-vignette: radial-gradient(ellipse 60% 40% at 50% 30%, rgba(255, 255, 255, .06) 0%, transparent 70%);
	--gradient-gp-card: linear-gradient(160deg, rgba(34, 34, 38, .95) 0%, rgba(24, 24, 27, .7) 30%, rgba(18, 18, 20, .9) 100%);
	--gradient-gp-card-hover: linear-gradient(160deg, rgba(42, 42, 48, .95) 0%, rgba(30, 30, 34, .85) 30%, rgba(22, 22, 25, .95) 100%);
}

/* Dark keeps the same glass recipe; a #101010 capsule on a #151515 page needs
   the hairline to carry the shape, so the edge is white/10 and the pane is
   slightly more opaque than the light ramp. */
.sa-nav [data-theme=dark] .sa-nav-glass {
	background-color: rgb(var(--surface-rgb) / 0.66);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.09),
		inset 0 -1px 0 rgba(0, 0, 0, 0.24);
}

.sa-nav.is-scrolled [data-theme=dark] .sa-nav-glass {
	background-color: rgb(var(--surface-rgb) / 0.86);
}

.sa-nav.is-scrolled [data-theme=dark] .sa-nav-bar {
	border-color: rgba(255, 255, 255, .12);
	box-shadow:
		0 2px 4px rgba(0, 0, 0, .3),
		0 22px 54px -26px rgba(0, 0, 0, .8);
}

.sa-nav [data-theme=dark] .sa-nav-bar {
	border-color: rgba(255, 255, 255, .1);
	box-shadow:
		0 1px 1px rgba(0, 0, 0, .25),
		0 18px 44px -26px rgba(0, 0, 0, .7);
}

.sa-nav [data-theme=dark] .sa-nav-drawer {
	border-top-color: rgba(255, 255, 255, .07);
	background: rgb(var(--surface-rgb) / 0.88);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* ------------------------------------------------------------ theme button */

.sa-theme-btn {
	flex: 0 0 auto;
}

.sa-theme-glyph {
	position: relative;
	display: block;
	width: 18px;
	height: 18px;
}

.sa-theme-glyph svg {
	position: absolute;
	inset: 0;
	transition: transform 320ms cubic-bezier(0.4, 0, 0.2, 1), opacity 220ms ease;
}

.sa-theme-sun {
	opacity: 1;
	transform: rotate(0deg) scale(1);
}

.sa-theme-moon {
	opacity: 0;
	transform: rotate(-70deg) scale(0.7);
}

.sa-nav [data-theme=dark] .sa-theme-sun {
	opacity: 0;
	transform: rotate(70deg) scale(0.7);
}

.sa-nav [data-theme=dark] .sa-theme-moon {
	opacity: 1;
	transform: rotate(0deg) scale(1);
}

/* ------------------------------------------------------- theme segmented */

.sa-theme-choices {
	display: flex;
	gap: 4px;
	margin-top: 6px;
	padding: 4px;
	border: 1px solid rgb(var(--ink-rgb) / 0.08);
	border-radius: 14px;
	background: rgb(var(--surface-rgb) / 0.42);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
	-webkit-backdrop-filter: blur(12px) saturate(1.5);
	backdrop-filter: blur(12px) saturate(1.5);
}

.sa-theme-choice {
	flex: 1 1 0;
	height: 36px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: rgb(var(--copy-muted-rgb));
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.sa-theme-choice:hover {
	color: rgb(var(--ink-rgb));
}

.sa-theme-choice[aria-pressed=true] {
	background: rgb(var(--raised-rgb));
	color: rgb(var(--ink-rgb));
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), inset 0 0 0 1px rgb(var(--ink-rgb) / 0.06);
}

.sa-theme-choice:focus-visible {
	outline: 2px solid rgb(var(--accent-rgb));
	outline-offset: 1px;
}

@media (prefers-reduced-motion: reduce) {
	.sa-theme-glyph svg,
	.sa-theme-choice {
		transition-duration: 1ms;
	}
}

/* --------------------------------------------------------- products menu */

/* One nav item, a panel under it, and the category list inside. Hover opens on
   a pointer device, click opens everywhere, Escape closes. sa-nav.js owns all
   three; the CSS only has to make the panel look like it belongs there. */
.sa-nav .sa-products {
	position: relative;
	display: flex;
	flex: 0 0 auto;
}

.sa-nav .sa-products-trigger {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 36px;
	padding: 0 16px;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: rgb(var(--copy-rgb) / 0.7);
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background-color 0.18s ease, color 0.18s ease;
}

.sa-nav .sa-products-trigger:hover,
.sa-nav .sa-products-trigger[aria-expanded="true"] {
	background: rgb(var(--ink-rgb) / 0.08);
	color: rgb(var(--ink-rgb));
}

.sa-nav .sa-products-trigger:focus-visible {
	outline: 2px solid rgb(var(--accent-rgb));
	outline-offset: 2px;
}

.sa-nav .sa-products-chevron {
	opacity: 0.45;
	transition: transform 0.2s cubic-bezier(0.2, 0.9, 0.3, 1), opacity 0.18s ease;
}

.sa-nav .sa-products-trigger[aria-expanded="true"] .sa-products-chevron {
	opacity: 0.9;
	transform: rotate(180deg);
}

.sa-nav .sa-products-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 30;
	display: flex;
	flex-direction: column;
	min-width: 236px;
	padding: 8px;
	border: 1px solid rgb(var(--ink-rgb) / 0.09);
	border-radius: 16px;
	background: rgb(var(--surface-rgb) / 0.86);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.3),
		0 24px 64px -18px rgb(0 0 0 / 0.28),
		0 2px 8px rgb(0 0 0 / 0.05);
	-webkit-backdrop-filter: blur(22px) saturate(1.7);
	backdrop-filter: blur(22px) saturate(1.7);
	transform-origin: top left;
	animation: sa-menu-in 0.16s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.sa-nav .sa-products-menu[hidden] {
	display: none;
}

@keyframes sa-menu-in {
	from {
		opacity: 0;
		transform: translateY(-6px) scale(0.98);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

.sa-nav .sa-products-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	height: 42px;
	padding: 0 12px;
	border-radius: 10px;
	color: rgb(var(--copy-rgb));
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: background-color 0.14s ease, color 0.14s ease;
}

.sa-nav .sa-products-item:hover,
.sa-nav .sa-products-item:focus-visible {
	background: rgb(var(--ink-rgb) / 0.06);
	color: rgb(var(--ink-rgb));
}

.sa-nav .sa-products-item:focus-visible {
	outline: 2px solid rgb(var(--accent-rgb));
	outline-offset: -2px;
}

.sa-nav .sa-products-item svg {
	flex: 0 0 auto;
	color: rgb(var(--copy-muted-rgb));
	opacity: 0.5;
	transition: color 0.14s ease, opacity 0.14s ease, transform 0.14s ease;
}

.sa-nav .sa-products-item:hover svg,
.sa-nav .sa-products-item:focus-visible svg {
	color: rgb(var(--accent-rgb));
	opacity: 1;
	transform: translateX(2px);
}

/* ------------------------------------------------------- currency switch */

/* Sits in the nav's right cluster, one pill wide. The panel opens on the same
   contract as the account menu: haspopup, aria-expanded, Escape, arrows. */
.sa-nav .sa-currency {
	position: relative;
	display: flex;
	flex: 0 0 auto;
}

.sa-nav .sa-currency-trigger {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 36px;
	padding: 0 11px 0 10px;
	border: 1px solid rgb(var(--accent-rgb) / 0.22);
	border-radius: 12px;
	background: rgb(var(--accent-rgb) / 0.1);
	color: rgb(var(--accent-rgb));
	font-family: inherit;
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.04em;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background-color 0.18s ease, border-color 0.18s ease;
}

.sa-nav .sa-currency-trigger:hover {
	border-color: rgb(var(--accent-rgb) / 0.34);
	background: rgb(var(--accent-rgb) / 0.16);
}

.sa-nav .sa-currency-trigger[aria-expanded="true"] {
	border-color: rgb(var(--accent-rgb) / 0.5);
	background: rgb(var(--accent-rgb) / 0.18);
}

.sa-nav .sa-currency-trigger:focus-visible {
	outline: 2px solid rgb(var(--accent-rgb));
	outline-offset: 2px;
}

.sa-nav .sa-currency-trigger svg {
	opacity: 0.75;
	transition: transform 0.18s ease;
}

.sa-nav .sa-currency-trigger[aria-expanded="true"] svg {
	transform: rotate(180deg);
}

.sa-nav .sa-currency-menu {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	z-index: 30;
	width: 286px;
	padding: 8px;
	border: 1px solid rgb(var(--ink-rgb) / 0.09);
	border-radius: 16px;
	background: rgb(var(--surface-rgb) / 0.86);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.3),
		0 24px 64px -18px rgb(0 0 0 / 0.28),
		0 2px 8px rgb(0 0 0 / 0.05);
	-webkit-backdrop-filter: blur(22px) saturate(1.7);
	backdrop-filter: blur(22px) saturate(1.7);
	transform-origin: top right;
	animation: sa-menu-in 0.16s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.sa-nav .sa-currency-menu[hidden] {
	display: none;
}

.sa-nav .sa-currency-item {
	display: grid;
	grid-template-columns: 20px 22px minmax(0, 1fr) auto 16px;
	align-items: center;
	gap: 8px;
	width: 100%;
	height: 42px;
	padding: 0 10px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: rgb(var(--copy-rgb));
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
	transition: background-color 0.12s ease, color 0.12s ease;
}

.sa-nav .sa-currency-item:hover,
.sa-nav .sa-currency-item:focus-visible {
	background: rgb(var(--ink-rgb) / 0.06);
	color: rgb(var(--ink-rgb));
}

.sa-nav .sa-currency-item:focus-visible {
	outline: 2px solid rgb(var(--accent-rgb));
	outline-offset: -2px;
}

/* Local SVG flag. A hairline ring keeps the white edges of JP-style flags
   from dissolving into the panel on light and dark alike. */
.sa-nav .sa-currency-flag {
	display: block;
	width: 20px;
	height: 15px;
	border-radius: 2px;
	object-fit: cover;
	box-shadow: 0 0 0 1px rgb(var(--ink-rgb) / 0.14);
	-webkit-user-select: none;
	user-select: none;
}

.sa-nav .sa-currency-sym {
	color: rgb(var(--copy-muted-rgb));
	font-size: 12.5px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	text-align: center;
	white-space: nowrap;
}

.sa-nav .sa-currency-label {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sa-nav .sa-currency-code {
	color: rgb(var(--copy-muted-rgb));
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.07em;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.sa-nav .sa-currency-check {
	color: rgb(var(--accent-rgb));
	opacity: 0;
}

.sa-nav .sa-currency-item[aria-checked="true"] .sa-currency-check {
	opacity: 1;
}

.sa-nav .sa-currency-item[aria-checked="true"] .sa-currency-sym {
	color: rgb(var(--accent-rgb));
}

/* Drawer row: four chips, no panel. */
.sa-nav .sa-currency-choices {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 4px;
	margin-top: 6px;
	padding: 4px;
	border: 1px solid rgb(var(--ink-rgb) / 0.08);
	border-radius: 14px;
	background: rgb(var(--surface-rgb) / 0.42);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
	-webkit-backdrop-filter: blur(12px) saturate(1.5);
	backdrop-filter: blur(12px) saturate(1.5);
}

.sa-nav .sa-currency-choice {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 36px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: rgb(var(--copy-muted-rgb));
	font-family: inherit;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.sa-nav .sa-currency-choice .sa-currency-flag {
	width: 16px;
	height: 12px;
}

.sa-nav .sa-currency-choice:hover {
	color: rgb(var(--ink-rgb));
}

.sa-nav .sa-currency-choice[aria-pressed="true"] {
	background: rgb(var(--raised-rgb));
	color: rgb(var(--ink-rgb));
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), inset 0 0 0 1px rgb(var(--ink-rgb) / 0.06);
}

.sa-nav .sa-currency-choice:focus-visible {
	outline: 2px solid rgb(var(--accent-rgb));
	outline-offset: 1px;
}

@media (max-width: 1023.98px) {
	.sa-nav .sa-currency {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sa-nav .sa-currency-menu,
	.sa-nav .sa-products-menu {
		animation: none;
	}

	.sa-nav .sa-currency-trigger svg,
	.sa-nav .sa-products-chevron {
		transition: none;
	}
}

/* ------------------------------------------- left cluster, cart, dividers */

/* The bar reads like the reference: brand, a hairline, the two shop links,
   then the right cluster pinned to the far edge. The exported bar used
   justify-between with three children, which parked the shop links in the
   middle; flex-start plus margin-left:auto on the right cluster keeps the
   links hugging the logo at every width. */
.sa-nav .sa-nav-bar {
	justify-content: flex-start;
}

.sa-nav .sa-nav-left {
	display: flex;
	align-items: center;
	gap: 2px;
	margin-left: 10px;
	flex: 0 0 auto;
}

.sa-nav .sa-nav-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 36px;
	padding: 0 14px;
	border-radius: 12px;
	color: rgb(var(--copy-rgb) / 0.7);
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	transition: background-color 0.18s ease, color 0.18s ease;
}

.sa-nav .sa-nav-link:hover {
	background: rgb(var(--ink-rgb) / 0.08);
	color: rgb(var(--ink-rgb));
}

.sa-nav .sa-nav-link:focus-visible {
	outline: 2px solid rgb(var(--accent-rgb));
	outline-offset: 2px;
}

.sa-nav .sa-nav-item-icon {
	flex: 0 0 auto;
	opacity: 0.5;
	transition: opacity 0.18s ease;
}

.sa-nav .sa-nav-link:hover .sa-nav-item-icon,
.sa-nav .sa-products-trigger:hover .sa-nav-item-icon,
.sa-nav .sa-products-trigger[aria-expanded="true"] .sa-nav-item-icon {
	opacity: 0.9;
}

.sa-nav .sa-nav-desktop,
.sa-nav .sa-nav-mobile {
	margin-left: auto;
}

/* Cart sits with the social glyphs, so it uses the same 36px tile and the
   same 55% rest opacity instead of the pill-shaped text link it replaced. */
.sa-nav .sa-nav-cart {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	color: rgb(var(--ink-rgb));
	opacity: 0.55;
	transition: background-color 0.18s ease, opacity 0.18s ease;
}

.sa-nav .sa-nav-cart:hover {
	background: rgb(var(--ink-rgb) / 0.08);
	opacity: 1;
}

.sa-nav .sa-nav-cart:focus-visible {
	outline: 2px solid rgb(var(--accent-rgb));
	outline-offset: 2px;
}

.sa-nav .sa-nav-cart .sa-nav-cart-count {
	position: absolute;
	top: 0;
	right: 0;
	min-width: 16px;
	height: 16px;
	margin-left: 0;
	padding: 0 4px;
	font-size: 10px;
	line-height: 16px;
}

.sa-nav .sa-nav-divider {
	width: 1px;
	height: 22px;
	margin: 0 6px;
	background: rgb(var(--ink-rgb) / 0.12);
	flex: 0 0 auto;
}

.sa-nav .sa-nav-divider--brand {
	height: 26px;
	margin: 0 12px 0 28px;
}

@media (max-width: 1023.98px) {
	.sa-nav .sa-nav-left,
	.sa-nav .sa-nav-divider--brand {
		display: none;
	}
}

/* ------------------------------------------------------ account menu glass */

/* The account panel is authored in shop.css. This is the same pane as the
   Products and currency menus: translucent surface, hairline, blurred
   backdrop, so all three panels read as one family. */
.sa-nav .sa-account-menu {
	border: 1px solid rgb(var(--ink-rgb) / 0.09);
	background: rgb(var(--surface-rgb) / 0.86);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.3),
		0 24px 64px -18px rgb(0 0 0 / 0.28),
		0 2px 8px rgb(0 0 0 / 0.05);
	-webkit-backdrop-filter: blur(22px) saturate(1.7);
	backdrop-filter: blur(22px) saturate(1.7);
}

/* Dark twin for every glass chrome piece that lives inside the nav: the
   surface token flips with the theme, the highlight and edge have to flip
   by hand because they are literal whites. */
.sa-nav [data-theme=dark] .sa-products-menu,
.sa-nav [data-theme=dark] .sa-currency-menu,
.sa-nav [data-theme=dark] .sa-account-menu {
	border-color: rgba(255, 255, 255, .1);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, .07),
		0 28px 70px -18px rgba(0, 0, 0, .8),
		0 2px 8px rgba(0, 0, 0, .35);
}

.sa-nav [data-theme=dark] .sa-theme-choices,
.sa-nav [data-theme=dark] .sa-currency-choices {
	border-color: rgba(255, 255, 255, .09);
	background: rgb(var(--surface-rgb) / 0.5);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.sa-nav [data-theme=dark] .sa-theme-choice[aria-pressed=true],
.sa-nav [data-theme=dark] .sa-currency-choice[aria-pressed=true] {
	background: rgb(255 255 255 / 0.1);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 2px rgba(0, 0, 0, .35);
}

.sa-nav [data-theme=dark] .sa-nav-drawer a.group > span:first-child {
	border-color: rgba(255, 255, 255, .07);
	background: rgba(255, 255, 255, .05);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

@media (prefers-reduced-motion: reduce) {
	.sa-nav .sa-nav-drawer,
	.sa-nav .sa-nav-drawer.is-open {
		transition: opacity 1ms linear, visibility 0ms;
		transform: none;
	}
}
