/* ============================================================
   Forces Brands Marketplace — Theme CSS
   Dark · premium · delightful. Brand identity: cobalt/royal blue
   on a deep slate-navy canvas. Matches the plugin design system
   (forces-brands-design-system.css) so header/footer/homepage and
   the shop/seller surfaces read as one product.
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@600;700;800&display=swap");

/* ── Reset & Variables ───────────────────────────────────── */

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

:root {
	/* Brand blue (brightened for contrast on dark) */
	--fbm-blue:        #3b82f6;
	--fbm-blue-deep:   #2563eb;
	--fbm-blue-hover:  #5a96f8;
	--fbm-azure:       #7cc0ff;
	--fbm-blue-soft:   rgba(124, 192, 255, 0.14);

	/* Dark surface scale (matches plugin design system) */
	--fbm-bg:          #0e1320;
	--fbm-bg-elevated: #11192a;
	--fbm-surface:     #182231;
	--fbm-khaki:       #1d2c49;

	/* Ink & neutrals on dark */
	--fbm-ink:         #e9eef7;
	--fbm-text:        #aab6c8;
	--fbm-text-muted:  #93a0b4;
	--fbm-white:       #ffffff;
	--fbm-border:      #28324a;
	--fbm-border-strong: #3a4866;

	/* Legacy aliases (kept so any stray reference still resolves) */
	--fbm-black:       #0a0e18;
	--fbm-off-black:   var(--fbm-surface);
	--fbm-dark:        var(--fbm-bg-elevated);
	--fbm-off-white:   var(--fbm-bg);
	--fbm-warm:        var(--fbm-bg-elevated);
	--fbm-gold:        var(--fbm-blue);
	--fbm-gold-dark:   var(--fbm-blue-deep);

	--fbm-radius:      10px;
	--fbm-radius-lg:   18px;
	--fbm-shadow:      0 2px 10px rgba(0,0,0,0.45);
	--fbm-shadow-md:   0 12px 30px rgba(0,0,0,0.55);
	--fbm-shadow-header: 0 1px 0 rgba(255,255,255,0.04), 0 8px 24px rgba(0,0,0,0.45);
	--fbm-header-h:    76px;
	--fbm-max-w:       1200px;
	--fbm-font:        "Inter", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	--fbm-font-head:   "Montserrat", "Inter", system-ui, sans-serif;
	--fbm-focus-ring:  0 0 0 3px rgba(124,192,255,0.45);
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--fbm-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--fbm-text);
	background: var(--fbm-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

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

a {
	color: inherit;
	text-decoration: none;
}

ul {
	list-style: none;
}

h1, h2, h3, h4 {
	font-family: var(--fbm-font-head);
	color: var(--fbm-ink);
}

:focus-visible {
	outline: none;
	box-shadow: var(--fbm-focus-ring);
	border-radius: 4px;
}

/* ── Container ───────────────────────────────────────────── */

.fbm-container {
	width: 100%;
	max-width: var(--fbm-max-w);
	margin-inline: auto;
	padding-inline: 24px;
}

.fbm-container--full {
	max-width: 100%;
}

/* ── Buttons ─────────────────────────────────────────────── */

.fbm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	border-radius: var(--fbm-radius);
	font-family: var(--fbm-font-head);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.01em;
	cursor: pointer;
	transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.15s ease;
	text-decoration: none;
	border: 1.5px solid transparent;
	white-space: nowrap;
	line-height: 1.2;
}

.fbm-btn:hover {
	transform: translateY(-1px);
}

.fbm-btn--primary {
	background: var(--fbm-blue);
	color: var(--fbm-white);
	border-color: var(--fbm-blue);
	box-shadow: 0 4px 14px rgba(59,130,246,0.35);
}
.fbm-btn--primary:hover {
	background: var(--fbm-blue-hover);
	border-color: var(--fbm-blue-hover);
	box-shadow: 0 8px 22px rgba(59,130,246,0.42);
}

.fbm-btn--outline {
	background: transparent;
	color: var(--fbm-ink);
	border-color: var(--fbm-border-strong);
}
.fbm-btn--outline:hover {
	background: var(--fbm-blue-soft);
	border-color: var(--fbm-azure);
	color: var(--fbm-white);
}

.fbm-btn--white {
	background: var(--fbm-white);
	color: var(--fbm-blue-deep);
	border-color: var(--fbm-white);
	box-shadow: var(--fbm-shadow);
}
.fbm-btn--white:hover {
	background: #eaf2ff;
	border-color: #eaf2ff;
	color: var(--fbm-blue-deep);
}

.fbm-btn--sm  { padding: 8px 16px; font-size: 13px; }
.fbm-btn--lg  { padding: 15px 32px; font-size: 16px; }

/* ── Brand mark ──────────────────────────────────────────── */

.fbm-brandmark {
	display: inline-flex;
	align-items: center;
	gap: 11px;
}

.fbm-brandmark__icon {
	flex-shrink: 0;
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--fbm-blue) 0%, var(--fbm-blue-deep) 100%);
	color: var(--fbm-white);
	box-shadow: 0 3px 12px rgba(59,130,246,0.45);
}

.fbm-brandmark__icon svg {
	width: 20px;
	height: 20px;
	display: block;
}

/* ── Header ──────────────────────────────────────────────── */

.fbm-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	height: var(--fbm-header-h);
	background: rgba(14,19,32,0.82);
	backdrop-filter: saturate(160%) blur(14px);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	color: var(--fbm-ink);
	border-bottom: 1px solid var(--fbm-border);
	box-shadow: var(--fbm-shadow-header);
}

.fbm-header__inner {
	display: flex;
	align-items: center;
	height: 100%;
	max-width: var(--fbm-max-w);
	margin-inline: auto;
	padding-inline: 24px;
	gap: 32px;
}

.fbm-header__brand {
	flex-shrink: 0;
}

.fbm-header__logo-link {
	display: inline-flex;
	align-items: center;
}

.fbm-header__logo {
	height: 42px;
	width: auto;
	display: block;
}

.fbm-header__wordmark {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	gap: 11px;
	line-height: 1.05;
}

.fbm-header__wordmark-text {
	display: flex;
	flex-direction: column;
	line-height: 1.05;
}

.fbm-header__wordmark-main {
	font-family: var(--fbm-font-head);
	font-size: 18px;
	font-weight: 800;
	letter-spacing: 0.01em;
	color: var(--fbm-white);
}

.fbm-header__wordmark-sub {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--fbm-azure);
	margin-top: 2px;
}

/* Nav */

.fbm-nav {
	flex: 1;
}

.fbm-nav__list {
	display: flex;
	align-items: center;
	gap: 2px;
}

.fbm-nav__list .menu-item > a,
.fbm-nav__list .menu-item > span {
	display: block;
	padding: 9px 14px;
	font-size: 14px;
	font-weight: 600;
	color: var(--fbm-text);
	border-radius: var(--fbm-radius);
	transition: color 0.15s, background 0.15s;
}

.fbm-nav__list .menu-item > a:hover,
.fbm-nav__list .menu-item.current-menu-item > a {
	color: var(--fbm-white);
	background: rgba(255,255,255,0.06);
}

.fbm-nav__list .fbm-nav__link--discover {
	color: var(--fbm-azure);
}

.fbm-nav__list .fbm-nav__link--discover:hover {
	color: var(--fbm-white);
	background: var(--fbm-blue);
}

/* Dropdown */
.fbm-nav__list .menu-item {
	position: relative;
}

.fbm-nav__list .sub-menu {
	display: none;
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	background: var(--fbm-surface);
	border: 1px solid var(--fbm-border);
	border-radius: var(--fbm-radius);
	box-shadow: var(--fbm-shadow-md);
	min-width: 210px;
	padding: 6px;
	z-index: 100;
}

.fbm-nav__list .menu-item:hover > .sub-menu {
	display: block;
}

.fbm-nav__list .sub-menu .menu-item > a {
	color: var(--fbm-text);
	padding: 10px 14px;
	font-size: 14px;
	border-radius: 8px;
}

.fbm-nav__list .sub-menu .menu-item > a:hover {
	background: rgba(255,255,255,0.06);
	color: var(--fbm-white);
}

/* Header actions */

.fbm-header__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.fbm-header__cart {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--fbm-text);
	font-size: 14px;
	font-weight: 600;
	padding: 8px 12px;
	border-radius: var(--fbm-radius);
	transition: color 0.15s, background 0.15s;
}

.fbm-header__cart:hover {
	color: var(--fbm-white);
	background: rgba(255,255,255,0.06);
}

.fbm-header__actions .fbm-btn--outline {
	color: var(--fbm-ink);
	border-color: var(--fbm-border-strong);
}
.fbm-header__actions .fbm-btn--outline:hover {
	background: var(--fbm-blue-soft);
	border-color: var(--fbm-azure);
	color: var(--fbm-white);
}

/* Hamburger */

.fbm-hamburger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 42px;
	height: 42px;
	background: none;
	border: 1px solid var(--fbm-border);
	cursor: pointer;
	padding: 8px;
	border-radius: var(--fbm-radius);
	transition: background 0.15s, border-color 0.15s;
	flex-shrink: 0;
}

.fbm-hamburger:hover {
	background: rgba(255,255,255,0.06);
	border-color: var(--fbm-azure);
}

.fbm-hamburger__bar {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--fbm-ink);
	border-radius: 2px;
	transition: transform 0.22s ease, opacity 0.22s ease;
}

.fbm-hamburger[aria-expanded="true"] .fbm-hamburger__bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
.fbm-hamburger[aria-expanded="true"] .fbm-hamburger__bar:nth-child(2) {
	opacity: 0;
}
.fbm-hamburger[aria-expanded="true"] .fbm-hamburger__bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* Header spacer */

.fbm-header-spacer {
	height: var(--fbm-header-h);
}

/* ── Seller Header ────────────────────────────────────────── */

.fbm-seller-header {
	height: 60px;
	background: var(--fbm-bg-elevated);
	color: var(--fbm-ink);
	border-bottom: 1px solid var(--fbm-border);
}

.fbm-seller-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	height: 100%;
	max-width: var(--fbm-max-w);
	margin-inline: auto;
	padding-inline: 24px;
}

.fbm-seller-header__brand {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	line-height: 0;
}

.fbm-seller-header__logo {
	height: 34px;
	width: auto;
	display: block;
}

/* Right-hand "Dashboard" action — a proper pill button, not bare text. */
.fbm-seller-header__back {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	flex-shrink: 0;
	padding: 8px 16px;
	border: 1px solid var(--fbm-border-strong);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	color: var(--fbm-ink);
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.fbm-seller-header__back:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: var(--fbm-azure);
	color: var(--fbm-white);
}

.fbm-seller-header__back-arrow {
	font-size: 15px;
	line-height: 1;
}

@media (max-width: 600px) {
	.fbm-seller-header__inner {
		padding-inline: 16px;
	}

	.fbm-seller-header__logo {
		height: 28px;
	}

	.fbm-seller-header__back {
		padding: 7px 14px;
	}
}

/* ── Main Content ─────────────────────────────────────────── */

.fbm-main {
	flex: 1 0 auto;
	min-height: 60vh;
}

.fbm-main--seller {
	min-height: 100vh;
	/* Match the seller shell surface so the darker page background never shows
	   through around/behind the seller content — the container reads full-bleed. */
	background: var(--fbm-surface);
}

/* ── Hero ────────────────────────────────────────────────── */

.fbm-hero {
	position: relative;
	background:
		radial-gradient(ellipse 80% 60% at 85% 0%, rgba(59,130,246,0.22) 0%, transparent 60%),
		linear-gradient(180deg, #111a2c 0%, var(--fbm-bg) 100%);
	color: var(--fbm-ink);
	padding: 100px 0 84px;
	overflow: hidden;
	border-bottom: 1px solid var(--fbm-border);
}

.fbm-hero__overlay {
	position: absolute;
	top: -120px;
	right: -60px;
	width: 480px;
	height: 480px;
	background: radial-gradient(circle, rgba(124,192,255,0.16) 0%, transparent 70%);
	pointer-events: none;
	filter: blur(12px);
}

.fbm-hero__content {
	position: relative;
	max-width: 680px;
}

.fbm-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--fbm-azure);
	background: var(--fbm-blue-soft);
	padding: 6px 14px;
	border-radius: 999px;
	margin-bottom: 22px;
}

.fbm-hero__headline {
	font-family: var(--fbm-font-head);
	font-size: clamp(38px, 5.2vw, 66px);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.025em;
	color: var(--fbm-white);
	margin-bottom: 20px;
}

.fbm-hero__sub {
	font-size: 18px;
	color: var(--fbm-text);
	line-height: 1.6;
	margin-bottom: 36px;
	max-width: 560px;
}

.fbm-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* ── Mission Strip ───────────────────────────────────────── */

.fbm-mission {
	background: var(--fbm-black);
	color: var(--fbm-ink);
	padding: 36px 0;
	border-bottom: 1px solid var(--fbm-border);
}

.fbm-mission__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 56px;
	flex-wrap: wrap;
}

.fbm-mission__stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.fbm-mission__stat-number {
	font-family: var(--fbm-font-head);
	font-size: 30px;
	font-weight: 800;
	color: var(--fbm-azure);
	letter-spacing: -0.02em;
}

.fbm-mission__stat-label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--fbm-text-muted);
	margin-top: 6px;
}

.fbm-mission__divider {
	width: 1px;
	height: 42px;
	background: var(--fbm-border);
}

/* ── Sections ────────────────────────────────────────────── */

.fbm-section {
	padding: 80px 0;
}

/* Slightly elevated dark surface */
.fbm-section--light {
	background: var(--fbm-bg-elevated);
}

/* Deeper dark band */
.fbm-section--dark,
.fbm-section--tint {
	background:
		radial-gradient(ellipse 70% 80% at 15% 0%, rgba(59,130,246,0.12) 0%, transparent 55%),
		var(--fbm-black);
	color: var(--fbm-ink);
}

/* Premium blue accent band (vendor CTA) */
.fbm-section--accent {
	background: linear-gradient(135deg, var(--fbm-blue) 0%, var(--fbm-blue-deep) 100%);
	color: var(--fbm-white);
	position: relative;
	overflow: hidden;
}

.fbm-section--accent::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 60% 100% at 80% 0%, rgba(255,255,255,0.16) 0%, transparent 60%);
	pointer-events: none;
}

.fbm-section__header {
	text-align: center;
	margin-bottom: 48px;
}

/* On dark bands the title/lead stay light */
.fbm-section__header--light .fbm-section__title {
	color: var(--fbm-white);
}
.fbm-section__header--light .fbm-section__lead {
	color: var(--fbm-text);
}

.fbm-section__title {
	font-size: clamp(26px, 3vw, 38px);
	font-weight: 800;
	letter-spacing: -0.02em;
	margin-bottom: 12px;
	color: var(--fbm-ink);
}

.fbm-section__lead {
	font-size: 16px;
	color: var(--fbm-text-muted);
	max-width: 560px;
	margin-inline: auto;
}

.fbm-section__footer {
	text-align: center;
	margin-top: 44px;
}

/* ── Join CTA ────────────────────────────────────────────── */

.fbm-join {
	position: relative;
	max-width: 700px;
	margin-inline: auto;
	text-align: center;
}

.fbm-join__title {
	font-family: var(--fbm-font-head);
	font-size: clamp(26px, 3vw, 42px);
	font-weight: 800;
	letter-spacing: -0.02em;
	margin-bottom: 16px;
	color: var(--fbm-white);
}

.fbm-join__body {
	font-size: 17px;
	color: rgba(255,255,255,0.9);
	line-height: 1.7;
	margin-bottom: 32px;
}

/* ── Trust Bar ───────────────────────────────────────────── */

.fbm-trust {
	background: var(--fbm-black);
	padding: 28px 0;
	border-top: 1px solid var(--fbm-border);
}

.fbm-trust__statement {
	text-align: center;
	font-size: 14px;
	color: var(--fbm-text-muted);
	max-width: 660px;
	margin-inline: auto;
	line-height: 1.7;
}

/* ── Page ────────────────────────────────────────────────── */

.fbm-page {
	padding: 48px 0 72px;
}

.fbm-page--full-width {
	padding-inline: 0;
}

.fbm-page--marketplace {
	padding-top: 32px;
}

.fbm-page__header {
	margin-bottom: 32px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--fbm-border);
}

.fbm-page__title {
	font-size: clamp(26px, 3vw, 42px);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--fbm-white);
}

.fbm-page__content {
	line-height: 1.75;
	color: var(--fbm-text);
}

.fbm-page__content--seller {
	padding: 0;
}

/* Style editorial prose links only. Anchors with a class are plugin/theme
   components (buttons, cards, tiles) and must keep their own styling. */
.fbm-page__content a:not([class]) {
	color: var(--fbm-azure);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.fbm-page__content a:not([class]):hover {
	color: var(--fbm-blue-hover);
}

.fbm-page__content p,
.fbm-page__content ul,
.fbm-page__content ol {
	margin-bottom: 16px;
}

.fbm-page__content h2,
.fbm-page__content h3,
.fbm-page__content h4 {
	margin-top: 32px;
	margin-bottom: 12px;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--fbm-ink);
}

/* ── Seller Canvas ───────────────────────────────────────── */

.fbm-seller-canvas {
	width: 100%;
}

/* ── 404 ─────────────────────────────────────────────────── */

.fbm-404 {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 110px 24px;
}

.fbm-404__code {
	font-family: var(--fbm-font-head);
	font-size: 128px;
	font-weight: 800;
	line-height: 1;
	background: linear-gradient(135deg, var(--fbm-azure) 0%, var(--fbm-blue) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	letter-spacing: -0.04em;
	margin-bottom: 16px;
}

.fbm-404__title {
	font-size: 32px;
	font-weight: 800;
	letter-spacing: -0.02em;
	margin-bottom: 12px;
	color: var(--fbm-white);
}

.fbm-404__body {
	font-size: 16px;
	color: var(--fbm-text-muted);
	margin-bottom: 36px;
}

.fbm-404__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}

/* ── Marketplace Wrap ────────────────────────────────────── */

.fbm-marketplace-wrap {
	background: var(--fbm-bg);
	min-height: 60vh;
}

/* The plugin's public pages render their own utility top bar (.fb-topbar).
   The theme already provides the fixed site header, so hide the duplicate. */
.fbm-public-page .fb-public .fb-topbar {
	display: none;
}

/* ── Footer ──────────────────────────────────────────────── */

.fbm-footer {
	background: var(--fbm-black);
	color: var(--fbm-text);
	border-top: 1px solid var(--fbm-border);
	margin-top: auto;
	flex-shrink: 0;
}

.fbm-footer__top {
	padding: 64px 0 48px;
	border-bottom: 1px solid var(--fbm-border);
}

.fbm-footer__grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 48px;
}

.fbm-footer__brandmark {
	margin-bottom: 14px;
}

.fbm-footer__logo {
	height: 46px;
	width: auto;
	display: block;
	margin-bottom: 18px;
}

.fbm-footer__brand-name {
	font-family: var(--fbm-font-head);
	font-size: 18px;
	font-weight: 800;
	letter-spacing: 0.02em;
	color: var(--fbm-white);
}

.fbm-footer__tagline {
	font-size: 13px;
	color: var(--fbm-azure);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-bottom: 16px;
}

.fbm-footer__mission {
	font-size: 14px;
	color: var(--fbm-text-muted);
	line-height: 1.7;
	max-width: 340px;
}

.fbm-footer__heading {
	font-family: var(--fbm-font-head);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--fbm-text-muted);
	margin-bottom: 16px;
}

.fbm-footer__list li {
	margin-bottom: 10px;
}

.fbm-footer__list a {
	font-size: 14px;
	color: var(--fbm-text);
	transition: color 0.15s;
}

.fbm-footer__list a:hover {
	color: var(--fbm-white);
}

.fbm-footer__bottom {
	padding: 22px 0;
}

.fbm-footer__copy {
	font-size: 13px;
	color: var(--fbm-text-muted);
	text-align: center;
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 1024px) {
	.fbm-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 36px;
	}
}

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

	.fbm-hamburger {
		display: flex;
		margin-left: auto;
	}

	.fbm-header__logo {
		height: 34px;
	}

	/* Desktop nav + inline actions collapse into the drawer on mobile. */
	.fbm-nav,
	.fbm-header__actions {
		display: none;
	}

	.fbm-hero {
		padding: 64px 0 56px;
	}

	.fbm-hero__sub {
		font-size: 16px;
	}

	.fbm-mission__inner {
		gap: 28px;
	}

	.fbm-mission__divider {
		display: none;
	}

	.fbm-section {
		padding: 56px 0;
	}

	.fbm-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 32px;
	}

	.fbm-footer__col--brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 480px) {
	.fbm-container {
		padding-inline: 16px;
	}

	.fbm-footer__grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.fbm-hero__actions {
		flex-direction: column;
	}

	.fbm-hero__actions .fbm-btn {
		width: 100%;
		text-align: center;
	}

	.fbm-404__code {
		font-size: 88px;
	}
}

/* ── Body class gates ────────────────────────────────────── */

.fbm-seller-page .fbm-header-spacer {
	display: none;
}

/* ── WordPress core compatibility ────────────────────────── */

.admin-bar .fbm-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .fbm-header {
		top: 46px;
	}
}

.admin-bar .fbm-header-spacer {
	height: calc(var(--fbm-header-h) + 32px);
}

@media (max-width: 782px) {
	.admin-bar .fbm-header-spacer {
		height: calc(var(--fbm-header-h) + 46px);
	}
}

/* Ensure top-level plugin shortcode content spans the content column.
   Use > (direct child) so nested elements like the seller sidebar are NOT affected. */
.fbm-page__content > .forces-marketplace,
.fbm-page__content > [class*="fm-"],
.fbm-page__content > [class*="forces-"] {
	width: 100%;
}

/* Seller shell: break out of the container so the full-width app layout works */
.fbm-page:has(.fm-seller-shell) {
	padding: 0;
}
.fbm-page:has(.fm-seller-shell) .fbm-container {
	max-width: 100%;
	padding-inline: 0;
}

/* ============================================================
   Phase 76 — Branded header, vendor nav & mobile drawer
   ============================================================ */

/* Subtle elevation once the sticky header is scrolled. */
.fbm-header--scrolled {
	box-shadow: 0 1px 0 var(--fbm-border), 0 10px 30px rgba(0,0,0,0.5);
}

/* Secondary text link in the header actions (e.g. "Become a Vendor"). */
.fbm-header__link {
	font-size: 14px;
	font-weight: 600;
	color: var(--fbm-text);
	padding: 8px 6px;
	border-radius: var(--fbm-radius);
	transition: color 0.15s;
	white-space: nowrap;
}
.fbm-header__link:hover {
	color: var(--fbm-white);
}

/* Vendor context chip (brand · package · boost) */
.fbm-vendor-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	max-width: 320px;
	padding: 6px 10px;
	border: 1px solid var(--fbm-border);
	border-radius: 999px;
	background: rgba(255,255,255,0.03);
}
.fbm-vendor-chip__name {
	font-size: 13px;
	font-weight: 700;
	color: var(--fbm-ink);
	max-width: 160px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.fbm-vendor-chip__badge {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--fbm-azure);
	background: var(--fbm-blue-soft);
	padding: 3px 8px;
	border-radius: 999px;
	white-space: nowrap;
}
.fbm-vendor-chip__boost {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	font-size: 12px;
	font-weight: 700;
	color: var(--fbm-azure);
	white-space: nowrap;
}

/* Vendor header carries more items — collapse to the drawer earlier. */
@media (max-width: 1080px) {
	.fbm-header--vendor .fbm-nav,
	.fbm-header--vendor .fbm-header__actions {
		display: none;
	}
	.fbm-header--vendor .fbm-hamburger {
		display: flex;
		margin-left: auto;
	}
}

/* ── Mobile drawer ───────────────────────────────────────── */

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

.fbm-drawer {
	position: fixed;
	inset: 0;
	z-index: 1100;
	visibility: hidden;
	pointer-events: none;
}

.fbm-drawer.is-open {
	visibility: visible;
	pointer-events: auto;
}

.fbm-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(5,8,15,0.62);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	opacity: 0;
	transition: opacity 0.28s ease;
}
.fbm-drawer.is-open .fbm-drawer__backdrop {
	opacity: 1;
}

.fbm-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	width: min(88vw, 380px);
	background: var(--fbm-bg-elevated);
	border-left: 1px solid var(--fbm-border);
	box-shadow: -20px 0 50px rgba(0,0,0,0.55);
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	transform: translateX(100%);
	transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.fbm-drawer.is-open .fbm-drawer__panel {
	transform: translateX(0);
}

.fbm-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px;
	border-bottom: 1px solid var(--fbm-border);
	position: sticky;
	top: 0;
	background: var(--fbm-bg-elevated);
	z-index: 1;
}

.fbm-drawer__logo {
	height: 34px;
	width: auto;
	display: block;
}

.fbm-drawer__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--fbm-border);
	border-radius: var(--fbm-radius);
	background: transparent;
	color: var(--fbm-ink);
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s;
	flex-shrink: 0;
}
.fbm-drawer__close:hover {
	background: rgba(255,255,255,0.06);
	border-color: var(--fbm-azure);
}

.fbm-drawer__nav {
	padding: 12px 20px 32px;
}

.fbm-drawer__context {
	padding: 14px 16px;
	margin-bottom: 12px;
	border: 1px solid var(--fbm-border);
	border-radius: var(--fbm-radius-lg);
	background: rgba(255,255,255,0.03);
}
.fbm-drawer__context-name {
	display: block;
	font-family: var(--fbm-font-head);
	font-size: 16px;
	font-weight: 800;
	color: var(--fbm-ink);
	margin-bottom: 6px;
}
.fbm-drawer__context-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.fbm-drawer__group {
	padding: 14px 0;
	border-bottom: 1px solid var(--fbm-border);
}
.fbm-drawer__group:last-of-type {
	border-bottom: none;
}

.fbm-drawer__group-title {
	font-family: var(--fbm-font-head);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--fbm-text-muted);
	margin-bottom: 6px;
	padding: 0 4px;
}

.fbm-drawer__list {
	display: flex;
	flex-direction: column;
}

.fbm-drawer__link {
	display: flex;
	align-items: center;
	min-height: 48px;
	padding: 10px 12px;
	font-size: 16px;
	font-weight: 600;
	color: var(--fbm-ink);
	border-radius: var(--fbm-radius);
	transition: background 0.15s, color 0.15s;
}
.fbm-drawer__link:hover,
.fbm-drawer__link:focus-visible {
	background: var(--fbm-blue-soft);
	color: var(--fbm-white);
}
.fbm-drawer__link--muted {
	color: var(--fbm-text-muted);
}

.fbm-drawer__cta {
	margin-top: 18px;
}
.fbm-drawer__cta .fbm-btn {
	width: 100%;
}

/* Keep header nav items on one line (they collapse to the drawer if too wide). */
.fbm-header .fbm-nav__list .menu-item > a {
	white-space: nowrap;
}

/* Offset the drawer panel below the WordPress admin bar for logged-in users. */
.admin-bar .fbm-drawer__panel {
	top: 32px;
	height: calc(100% - 32px);
}
@media (max-width: 782px) {
	.admin-bar .fbm-drawer__panel {
		top: 46px;
		height: calc(100% - 46px);
	}
}

/* Body scroll lock while the drawer is open. */
html.fbm-scroll-lock,
html.fbm-scroll-lock body {
	overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* ── Hero: light Modern-Warfare variant ──────────────────────
   Content left, soldier cutout right, smoky light backdrop with
   a drifting digital-dust overlay. Scoped to .fbm-hero--light so
   the rest of the site keeps the dark theme. */

.fbm-hero--light {
	background:
		radial-gradient(ellipse 70% 85% at 74% 45%, rgba(59,130,246,0.10) 0%, transparent 62%),
		radial-gradient(ellipse 110% 60% at 50% 108%, rgba(150,143,128,0.55) 0%, transparent 70%),
		linear-gradient(180deg, #f4f2ec 0%, #e9e6dd 55%, #d9d5c9 100%);
	color: #1b2434;
	border-bottom: 1px solid #c7c2b5;
	padding: 88px 0 0;
}

/* Smoky vignette around the edges, like the MW cover art. */
.fbm-hero--light::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 120% 95% at 50% 30%, transparent 55%, rgba(20,26,40,0.16) 100%);
	pointer-events: none;
	z-index: 1;
}

.fbm-hero__split {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1fr) clamp(260px, 34vw, 430px);
	gap: 24px 56px;
	align-items: end;
}

.fbm-hero--light .fbm-hero__content {
	padding-bottom: 80px;
}

.fbm-hero__media {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

/* Ground haze so the figure sits in the scene instead of floating. */
.fbm-hero__media::before {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -6px;
	width: 130%;
	height: 120px;
	transform: translateX(-50%);
	background: radial-gradient(ellipse 50% 100% at 50% 100%, rgba(20,26,40,0.30) 0%, transparent 70%);
	filter: blur(6px);
	pointer-events: none;
}

.fbm-hero__figure {
	position: relative;
	display: block;
	width: 100%;
	max-width: 430px;
	height: auto;
	filter: drop-shadow(0 26px 44px rgba(15,20,32,0.35));
}

.fbm-hero--light .fbm-hero__eyebrow {
	color: #1d4ed8;
	background: rgba(37,99,235,0.12);
}

.fbm-hero--light .fbm-hero__headline {
	color: #141b29;
}

.fbm-hero--light .fbm-hero__sub {
	color: #3f4859;
}

.fbm-hero--light .fbm-btn--outline {
	color: #1b2434;
	border-color: rgba(27,36,52,0.45);
}

.fbm-hero--light .fbm-btn--outline:hover {
	background: var(--fbm-blue);
	border-color: var(--fbm-blue);
	color: #ffffff;
}

/* ── Digital dust overlay ──
   Two seamless particle tiles drifting at different speeds and
   directions. Pseudo-elements are one tile larger than the hero so
   a full-tile translate loops with no visible jump. */

.fbm-hero__dust {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	z-index: 3;
}

.fbm-hero__dust::before,
.fbm-hero__dust::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: calc(100% + 420px);
	height: calc(100% + 420px);
	background-repeat: repeat;
	will-change: transform;
}

/* Fine sharp dust — drifts up and to the left. */
.fbm-hero__dust::before {
	background-image:
		radial-gradient(1.5px 1.5px at 32px 48px, rgba(71,85,105,0.55) 45%, transparent 60%),
		radial-gradient(1px 1px at 150px 210px, rgba(71,85,105,0.45) 45%, transparent 60%),
		radial-gradient(1.5px 1.5px at 250px 90px, rgba(59,130,246,0.50) 45%, transparent 60%),
		radial-gradient(1px 1px at 340px 300px, rgba(71,85,105,0.50) 45%, transparent 60%),
		radial-gradient(1px 1px at 90px 350px, rgba(59,130,246,0.35) 45%, transparent 60%),
		radial-gradient(1.5px 1.5px at 400px 180px, rgba(100,116,139,0.45) 45%, transparent 60%);
	background-size: 420px 420px;
	animation: fbm-dust-fine 52s linear infinite;
	opacity: 0.8;
}

/* Larger soft motes — slower, drifting up and to the right. */
.fbm-hero__dust::after {
	width: calc(100% + 680px);
	height: calc(100% + 680px);
	left: -680px;
	background-image:
		radial-gradient(5px 5px at 120px 160px, rgba(100,116,139,0.22) 30%, transparent 70%),
		radial-gradient(4px 4px at 420px 90px, rgba(100,116,139,0.18) 30%, transparent 70%),
		radial-gradient(6px 6px at 560px 420px, rgba(59,130,246,0.16) 30%, transparent 70%),
		radial-gradient(4px 4px at 240px 540px, rgba(100,116,139,0.20) 30%, transparent 70%),
		radial-gradient(5px 5px at 620px 260px, rgba(120,130,150,0.16) 30%, transparent 70%);
	background-size: 680px 680px;
	animation: fbm-dust-soft 104s linear infinite;
	opacity: 0.7;
}

@keyframes fbm-dust-fine {
	from { transform: translate3d(0, 0, 0); }
	to   { transform: translate3d(-420px, -420px, 0); }
}

@keyframes fbm-dust-soft {
	from { transform: translate3d(0, 0, 0); }
	to   { transform: translate3d(680px, -680px, 0); }
}

@media (prefers-reduced-motion: reduce) {
	.fbm-hero__dust::before,
	.fbm-hero__dust::after {
		animation: none;
	}
}

@media (max-width: 860px) {
	.fbm-hero--light {
		padding-top: 56px;
	}

	.fbm-hero__split {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.fbm-hero--light .fbm-hero__content {
		padding-bottom: 36px;
	}

	.fbm-hero__figure {
		max-width: 300px;
	}
}
