/* ==========================================================================
   Salus Compounds — design tokens
   ========================================================================== */
.salus-root {
	--salus-bg: #0B1220;
	--salus-bg-alt: #0F1830;
	--salus-surface: #131C31;
	--salus-surface-2: #182238;
	--salus-line: rgba(231, 236, 243, 0.09);
	--salus-text: #E7ECF3;
	--salus-text-muted: #8B96AC;
	--salus-teal: #2DD4BF;
	--salus-teal-dim: #1B8F82;
	--salus-amber: #F2A94A;

	--font-display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
	--font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
	--font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;

	background: var(--salus-bg);
	color: var(--salus-text);
	font-family: var(--font-body);
	line-height: 1.5;
}

.salus-root * { box-sizing: border-box; }

.salus-root h1, .salus-root h2, .salus-root h3 {
	font-family: var(--font-display);
	letter-spacing: -0.01em;
	color: var(--salus-text);
	margin: 0;
}

.salus-mono { font-family: var(--font-mono); }

/* ==========================================================================
   Research-use banner
   ========================================================================== */
.salus-ruo-banner {
	background: var(--salus-surface-2);
	border-bottom: 1px solid var(--salus-line);
	text-align: center;
	padding: 8px 16px;
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.02em;
	color: var(--salus-text-muted);
}
.salus-ruo-banner--inline { margin-bottom: 24px; border-top: 1px solid var(--salus-line); }

/* ==========================================================================
   Hero + lattice animation
   ========================================================================== */
.salus-hero {
	position: relative;
	overflow: hidden;
	min-height: 640px;
	display: flex;
	align-items: center;
	background: radial-gradient(120% 100% at 50% 0%, #101B34 0%, var(--salus-bg) 60%);
}

.salus-hero-canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
	opacity: 0.9;
}

.salus-hero-inner {
	position: relative;
	z-index: 2;
	max-width: 760px;
	margin: 0 auto;
	padding: 96px 24px;
	text-align: center;
}

.salus-eyebrow {
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--salus-teal);
	margin: 0 0 20px;
}

.salus-hero-title {
	font-size: clamp(2.2rem, 5vw, 3.6rem);
	line-height: 1.08;
	font-weight: 600;
}

.salus-hero-sub {
	margin: 24px auto 0;
	max-width: 540px;
	color: var(--salus-text-muted);
	font-size: 17px;
}

.salus-hero-actions {
	margin-top: 36px;
	display: flex;
	gap: 14px;
	justify-content: center;
	flex-wrap: wrap;
}

.salus-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 13px 26px;
	border-radius: 4px;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.salus-btn:hover { transform: translateY(-1px); }

.salus-btn-primary {
	background: var(--salus-teal);
	color: #06251F;
}
.salus-btn-primary:hover { background: #45E2CE; }

.salus-btn-ghost {
	background: transparent;
	border-color: var(--salus-line);
	color: var(--salus-text);
}
.salus-btn-ghost:hover { border-color: var(--salus-teal); color: var(--salus-teal); }

/* ==========================================================================
   Trust bar
   ========================================================================== */
.salus-trust-bar {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border-top: 1px solid var(--salus-line);
	border-bottom: 1px solid var(--salus-line);
	background: var(--salus-bg-alt);
}
.salus-trust-item {
	padding: 22px 16px;
	text-align: center;
	border-right: 1px solid var(--salus-line);
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.salus-trust-item:last-child { border-right: none; }
.salus-trust-label { font-family: var(--font-display); font-weight: 600; font-size: 14px; }
.salus-trust-sub { font-size: 12px; color: var(--salus-text-muted); font-family: var(--font-mono); }

/* ==========================================================================
   Generic section shell
   ========================================================================== */
.salus-section { max-width: 1180px; margin: 0 auto; padding: 80px 24px; }
.salus-section-title {
	font-size: 1.6rem;
	font-weight: 600;
	margin-bottom: 36px;
}

.salus-empty-state {
	color: var(--salus-text-muted);
	font-family: var(--font-mono);
	font-size: 13px;
	border: 1px dashed var(--salus-line);
	border-radius: 6px;
	padding: 28px;
}

/* ==========================================================================
   Category grid
   ========================================================================== */
.salus-cat-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}
.salus-cat-card {
	background: var(--salus-surface);
	border: 1px solid var(--salus-line);
	border-radius: 8px;
	overflow: hidden;
	text-decoration: none;
	color: var(--salus-text);
	display: flex;
	flex-direction: column;
	transition: border-color 0.15s ease, transform 0.15s ease;
}
.salus-cat-card:hover { border-color: var(--salus-teal-dim); transform: translateY(-2px); }
.salus-cat-media {
	aspect-ratio: 4 / 3;
	background-color: var(--salus-surface-2);
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
}
.salus-cat-glyph {
	width: 34px; height: 34px;
	border-radius: 50%;
	border: 2px solid var(--salus-teal-dim);
	position: relative;
}
.salus-cat-glyph::after {
	content: "";
	position: absolute; inset: 8px;
	border-radius: 50%;
	background: var(--salus-teal);
	opacity: 0.5;
}
.salus-cat-name { font-family: var(--font-display); font-weight: 600; font-size: 14px; padding: 14px 14px 2px; }
.salus-cat-count { font-family: var(--font-mono); font-size: 11px; color: var(--salus-text-muted); padding: 0 14px 14px; }

/* ==========================================================================
   Featured products — scope WooCommerce's default grid to dark theme
   ========================================================================== */
.salus-product-grid-wrap ul.products { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; margin: 0; padding: 0; }
.salus-product-grid-wrap ul.products li.product {
	background: var(--salus-surface);
	border: 1px solid var(--salus-line);
	border-radius: 8px;
	padding: 16px;
	transition: border-color 0.15s ease, transform 0.15s ease;
}
.salus-product-grid-wrap ul.products li.product:hover { border-color: var(--salus-teal-dim); transform: translateY(-2px); }
.salus-product-grid-wrap ul.products li.product img { border-radius: 4px; margin-bottom: 12px; }
.salus-product-grid-wrap ul.products li.product .woocommerce-loop-product__title { color: var(--salus-text); font-family: var(--font-display); font-size: 14px; }
.salus-product-grid-wrap ul.products li.product .price { font-family: var(--font-mono); color: var(--salus-teal); }
.salus-product-grid-wrap ul.products li.product .button {
	background: transparent;
	border: 1px solid var(--salus-line);
	color: var(--salus-text) !important;
	border-radius: 4px;
	font-family: var(--font-display);
	font-size: 13px;
}
.salus-product-grid-wrap ul.products li.product .button:hover { border-color: var(--salus-teal); color: var(--salus-teal) !important; }

/* ==========================================================================
   Benefits
   ========================================================================== */
.salus-benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.salus-benefit-card {
	background: var(--salus-surface);
	border: 1px solid var(--salus-line);
	border-radius: 8px;
	padding: 28px;
}
.salus-benefit-index {
	font-family: var(--font-mono);
	color: var(--salus-teal);
	font-size: 13px;
	display: block;
	margin-bottom: 14px;
}
.salus-benefit-card h3 { font-size: 17px; margin-bottom: 10px; }
.salus-benefit-card p { color: var(--salus-text-muted); font-size: 14px; margin: 0; }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.salus-faq-list { border-top: 1px solid var(--salus-line); }
.salus-faq-item { border-bottom: 1px solid var(--salus-line); }
.salus-faq-question {
	width: 100%;
	background: none;
	border: none;
	color: var(--salus-text);
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 600;
	padding: 20px 4px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	text-align: left;
}
.salus-faq-icon { width: 16px; height: 16px; position: relative; flex-shrink: 0; margin-left: 16px; }
.salus-faq-icon::before, .salus-faq-icon::after {
	content: ""; position: absolute; background: var(--salus-teal);
	transition: transform 0.2s ease;
}
.salus-faq-icon::before { width: 16px; height: 2px; top: 7px; left: 0; }
.salus-faq-icon::after { width: 2px; height: 16px; top: 0; left: 7px; }
.salus-faq-question[aria-expanded="true"] .salus-faq-icon::after { transform: scaleY(0); }

.salus-faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.salus-faq-answer p { color: var(--salus-text-muted); font-size: 14px; padding: 0 4px 20px; margin: 0; }

/* ==========================================================================
   Newsletter
   ========================================================================== */
.salus-newsletter { background: var(--salus-surface); border-radius: 10px; margin-left: 24px; margin-right: 24px; max-width: 1132px; }
.salus-newsletter-inner { text-align: center; max-width: 480px; margin: 0 auto; padding: 20px 0; }
.salus-newsletter-inner h2 { font-size: 1.4rem; margin-bottom: 8px; }
.salus-newsletter-inner p { color: var(--salus-text-muted); font-size: 14px; margin: 0 0 24px; }
.salus-newsletter-form { display: flex; gap: 10px; }
.salus-newsletter-form input[type="email"] {
	flex: 1;
	background: var(--salus-bg);
	border: 1px solid var(--salus-line);
	border-radius: 4px;
	padding: 12px 14px;
	color: var(--salus-text);
	font-family: var(--font-body);
	font-size: 14px;
}
.salus-newsletter-status { font-family: var(--font-mono); font-size: 12px; color: var(--salus-teal); min-height: 18px; margin-top: 12px; }

/* ==========================================================================
   Product page additions
   ========================================================================== */
.salus-pdp-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.salus-pdp-badges span {
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--salus-teal);
	border: 1px solid var(--salus-teal-dim);
	border-radius: 4px;
	padding: 5px 10px;
}
.salus-lab-results p { font-family: var(--font-mono); font-size: 14px; }

/* ==========================================================================
   Motion respect
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	.salus-hero-canvas { display: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
	.salus-trust-bar { grid-template-columns: repeat(2, 1fr); }
	.salus-trust-item:nth-child(2) { border-right: none; }
	.salus-cat-grid { grid-template-columns: repeat(2, 1fr); }
	.salus-product-grid-wrap ul.products { grid-template-columns: repeat(2, 1fr) !important; }
	.salus-benefits-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
	.salus-newsletter-form { flex-direction: column; }
	.salus-hero { min-height: 520px; }
}
