@charset "UTF-8";

/* ==========================================================================
   Amino Heaven — design system
   --------------------------------------------------------------------------
   Ported from the source Lovable/TanStack storefront's `src/styles.css` and its
   Tailwind/shadcn component usage. Token values, spacing, typography scale,
   breakpoints (640 / 768 / 1024) and component geometry are reproduced as-is so
   the WordPress theme renders the same composition as the published site.

   Deliberate decisions:
   * The source declared `Manrope` / `Barlow Condensed` font stacks but never
     loaded the webfonts, so the published site rendered in system fonts. The
     identical stacks are kept here for byte-for-byte visual parity; add the
     webfonts and the design upgrades itself with no other change.
   * Tailwind utility classes used in the original JSX are expressed as semantic
     component classes (e.g. `mt-4` on the card eyebrow became
     `.ah-card-eyebrow { margin-top: 1rem }`).
   * The unused `.dark` token block from the source is dropped: the storefront
     has no dark-mode toggle.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
	--radius: 0.35rem;
	--radius-sm: calc(var(--radius) - 4px);
	--radius-md: calc(var(--radius) - 2px);
	--radius-lg: var(--radius);
	--radius-xl: calc(var(--radius) + 4px);
	--radius-2xl: calc(var(--radius) + 8px);

	--background: oklch(0.985 0.006 230);
	--foreground: oklch(0.19 0.052 232);
	--card: oklch(1 0 0);
	--card-foreground: oklch(0.129 0.042 264.695);
	--popover: oklch(1 0 0);
	--popover-foreground: oklch(0.129 0.042 264.695);
	--primary: oklch(0.42 0.112 225);
	--primary-foreground: oklch(0.99 0.004 220);
	--secondary: oklch(0.968 0.007 247.896);
	--secondary-foreground: oklch(0.208 0.042 265.755);
	--muted: oklch(0.968 0.007 247.896);
	--muted-foreground: oklch(0.554 0.046 257.417);
	--accent: oklch(0.94 0.035 220);
	--accent-foreground: oklch(0.28 0.08 228);
	--destructive: oklch(0.577 0.245 27.325);
	--destructive-foreground: oklch(0.984 0.003 247.858);
	--border: oklch(0.86 0.026 225);
	--input: oklch(0.86 0.026 225);
	--ring: oklch(0.55 0.12 225);
	--metal: oklch(0.72 0.09 220);
	--footer: oklch(0.16 0.045 230);
	--success: oklch(0.63 0.16 153);

	--font-sans: "Manrope", ui-sans-serif, system-ui, sans-serif;
	--font-display: "Barlow Condensed", ui-sans-serif, system-ui, sans-serif;

	--shadow-metal: 0 12px 30px color-mix(in oklab, var(--primary) 24%, transparent);
	--content-max: 1240px;
}

/* --------------------------------------------------------------------------
   2. Reset and base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
	border-color: var(--border);
}

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

body {
	margin: 0;
	background-color: var(--background);
	color: var(--foreground);
	font-family: var(--font-sans);
	font-size: 15px;
	line-height: 1.6;
	letter-spacing: 0;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd,
fieldset,
legend {
	margin: 0;
}

h1,
h2 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 0.93;
	text-transform: uppercase;
}

h3,
h4,
h5,
h6 {
	font-weight: 700;
}

/* A single long word must never be able to widen the page. */
h1,
h2,
h3,
h4,
.ah-entry-content p,
.ah-entry-content li {
	overflow-wrap: break-word;
}

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

img,
svg,
video {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

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

a:hover {
	color: var(--primary);
}

button,
input,
select,
textarea {
	font: inherit;
	letter-spacing: 0;
	color: inherit;
}

button {
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

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

hr {
	border: 0;
	border-top: 1px solid var(--border);
}

/* Accessible focus ring, applied only for keyboard users. */
:focus-visible {
	outline: 2px solid var(--ring);
	outline-offset: 2px;
}

/* WordPress screen-reader utility. */
.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--background);
	clip-path: none;
	color: var(--primary);
	display: block;
	font-size: 13px;
	font-weight: 700;
	height: auto;
	left: 6px;
	line-height: normal;
	padding: 14px 22px;
	text-decoration: none;
	top: 6px;
	width: auto;
	z-index: 100001;
}

.ah-skip-link:focus {
	position: fixed !important;
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.ah-page {
	display: flex;
	min-height: 100vh;
	flex-direction: column;
}

.ah-main {
	flex: 1 1 auto;
}

.content-section {
	max-width: var(--content-max);
	margin: auto;
	padding: 100px 22px;
}

.ah-page-section,
.ah-single-post-section,
.ah-archive-section,
.ah-search-section,
.ah-404-section {
	padding-top: 64px;
	padding-bottom: 80px;
}

.eyebrow {
	color: var(--primary);
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	margin: 0;
}

/* --------------------------------------------------------------------------
   4. Buttons
   --------------------------------------------------------------------------
   Reproduces the source storefront's customised shadcn Button
   (`src/components/ui/button.tsx`):

     inline-flex min-h-11 items-center justify-center gap-2 rounded-sm px-5
     text-xs font-bold uppercase transition-all duration-200
     primary: bg-primary text-primary-foreground shadow-metal
              hover:-translate-y-0.5 hover:bg-primary/90
     outline: border border-primary/30 bg-background/70 text-primary
              backdrop-blur-sm hover:border-primary hover:bg-accent
     ghost:   text-foreground hover:bg-accent
     size:    default h-11 · icon size-11 p-0
   -------------------------------------------------------------------------- */
.ah-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 2.75rem;
	padding: 0.5rem 1.25rem;
	border: 1px solid transparent;
	border-radius: var(--radius-sm);
	background: var(--primary);
	color: var(--primary-foreground);
	font-family: var(--font-sans);
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: var(--shadow-metal);
	transition: all 0.2s ease;
}

.ah-button:hover {
	background: color-mix(in oklab, var(--primary) 90%, transparent);
	color: var(--primary-foreground);
	transform: translateY(-0.125rem);
}

.ah-button.is-outline {
	border-color: color-mix(in oklab, var(--primary) 30%, transparent);
	background: color-mix(in oklab, var(--background) 70%, transparent);
	color: var(--primary);
	box-shadow: none;
	backdrop-filter: blur(4px);
}

.ah-button.is-outline:hover {
	border-color: var(--primary);
	background: var(--accent);
	color: var(--primary);
	transform: translateY(-0.125rem);
}

.ah-button.is-outline.active,
.ah-button.is-outline[aria-pressed="true"] {
	border-color: var(--primary);
	background: var(--primary);
	color: var(--primary-foreground);
}

.ah-button.is-ghost {
	background: transparent;
	color: var(--foreground);
	box-shadow: none;
}

.ah-button.is-ghost:hover {
	background: var(--accent);
	color: var(--foreground);
}

/* Inverted button for the dark quality band. */
.ah-button.is-on-dark {
	background: var(--primary-foreground);
	color: var(--primary);
}

.ah-button.is-on-dark:hover {
	background: color-mix(in oklab, var(--primary-foreground) 88%, var(--metal));
	color: var(--primary);
}

/* Theme-only modifier used by compact cross-sell cards. */
.ah-button.is-small {
	min-height: 2rem;
	padding: 0.375rem 0.75rem;
	font-size: 0.6875rem;
	box-shadow: none;
}

.ah-button.is-full {
	width: 100%;
}

.ah-button.is-icon {
	width: 2.75rem;
	min-height: 2.75rem;
	padding: 0;
}

.ah-button[disabled],
.ah-button[aria-disabled="true"],
.ah-button:disabled {
	pointer-events: none;
	opacity: 0.5;
}

.ah-icon {
	flex: none;
}

/* --------------------------------------------------------------------------
   5. Forms
   -------------------------------------------------------------------------- */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="date"],
select,
textarea {
	width: 100%;
	max-width: 100%;
	min-height: 38px;
	border: 1px solid var(--input);
	border-radius: var(--radius);
	background: var(--card);
	padding: 0.5rem 0.75rem;
	font-size: 13px;
	color: var(--foreground);
}

textarea {
	min-height: 120px;
	resize: vertical;
}

select {
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--muted-foreground) 50%),
		linear-gradient(135deg, var(--muted-foreground) 50%, transparent 50%);
	background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	padding-right: 2rem;
}

label {
	font-size: 12px;
	font-weight: 600;
}

.ah-form-row {
	display: grid;
	gap: 5px;
	margin-bottom: 14px;
}

.ah-form-row > span,
.ah-form-row > label {
	font-size: 12px;
	font-weight: 600;
}

.ah-form-row .required,
.required {
	color: var(--destructive);
}

.ah-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* --------------------------------------------------------------------------
   6. Announcement ribbon
   -------------------------------------------------------------------------- */
.sale-ticker {
	display: grid;
	min-height: 30px;
	place-items: center;
	overflow: hidden;
	background: var(--primary);
	color: var(--primary-foreground);
	font-size: 10px;
	font-weight: 800;
	text-align: center;
	text-transform: uppercase;
}

.sale-ticker div {
	padding: 8px 16px;
	animation: ribbon-glow 1.8s ease-in-out infinite;
}

@keyframes ribbon-glow {
	0%,
	100% {
		opacity: 0.78;
		text-shadow: 0 0 3px color-mix(in oklab, var(--primary-foreground) 34%, transparent);
	}
	50% {
		opacity: 1;
		text-shadow: 0 0 6px var(--primary-foreground), 0 0 14px color-mix(in oklab, var(--metal) 74%, transparent);
	}
}

/* --------------------------------------------------------------------------
   7. Header
   -------------------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	min-height: 76px;
	padding: 10px clamp(20px, 5vw, 72px);
	border-bottom: 1px solid var(--border);
	background: color-mix(in oklab, var(--background) 90%, transparent);
	backdrop-filter: blur(18px);
}

/* WordPress admin bar offsets so the sticky header is never hidden behind it. */
body.admin-bar .site-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px;
	}
}

.brand {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 11px;
	color: var(--foreground);
}

.brand:hover {
	color: var(--foreground);
}

.brand img,
.brand .ah-brand-logo {
	width: 253px;
	height: 60px;
/*	object-fit: cover;
	object-position: 50% 42%;
	border-radius: 50%; */
}

.brand span {
	display: flex;
	min-width: 0;
	flex-direction: column;
}

.brand b {
	font-family: var(--font-display);
	font-size: 21px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

.brand small {
	margin-top: 4px;
	color: var(--muted-foreground);
	font-size: 8px;
	font-weight: 700;
	text-transform: uppercase;
}

.desktop-nav {
	display: none;
}

.desktop-nav .ah-menu {
	display: flex;
	gap: 32px;
	list-style: none;
}

.desktop-nav .ah-menu a {
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	color: var(--foreground);
}

.desktop-nav .ah-menu a:hover,
.desktop-nav .ah-menu .current-menu-item > a {
	color: var(--primary);
}

.desktop-nav .sub-menu {
	display: none;
}

.ah-header-actions {
	display: flex;
	align-items: center;
	gap: 4px;
	justify-self: end;
}

.ah-header-actions .ah-cart-link,
.ah-menu-toggle {
	position: relative;
	display: grid;
	width: 2.75rem;
	height: 2.75rem;
	place-items: center;
	border-radius: var(--radius);
	color: var(--foreground);
	transition: background-color 0.15s ease, color 0.15s ease;
}

.ah-header-actions .ah-cart-link:hover,
.ah-menu-toggle:hover {
	background: var(--accent);
	color: var(--accent-foreground);
}

.ah-cart-count {
	position: absolute;
	top: 1px;
	right: 0;
	display: grid;
	min-width: 16px;
	height: 16px;
	place-items: center;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--primary);
	color: var(--primary-foreground);
	font-size: 9px;
	font-weight: 800;
	line-height: 1;
}

.ah-cart-count[data-ah-cart-count="0"] {
	display: none;
}

.mobile-nav {
	position: absolute;
	top: 76px;
	right: 16px;
	display: grid;
	min-width: 220px;
	border: 1px solid var(--border);
	background: var(--background);
	padding: 10px;
	box-shadow: var(--shadow-metal);
}

.mobile-nav[hidden] {
	display: none;
}

.mobile-nav .ah-menu {
	display: grid;
	list-style: none;
}

.mobile-nav .ah-menu a {
	display: block;
	padding: 12px;
	font-size: 13px;
	font-weight: 700;
	color: var(--foreground);
}

.mobile-nav .ah-menu a:hover {
	color: var(--primary);
}

.ah-menu-toggle-icon[hidden] {
	display: none;
}

/* --------------------------------------------------------------------------
   8. Hero band
   -------------------------------------------------------------------------- */
.hero-band {
	position: relative;
	min-height: 620px;
	overflow: hidden;
	background: linear-gradient(118deg, var(--background) 5%, color-mix(in oklab, var(--metal) 22%, var(--background)) 52%, var(--background) 94%);
}

.hero-inner {
	position: relative;
	z-index: 2;
	display: grid;
	min-height: 620px;
	align-items: center;
	gap: 42px;
	max-width: var(--content-max);
	margin: auto;
	padding: 50px 22px 54px;
}

.hero-copy {
	max-width: 680px;
	min-width: 0;
}

/* The display-scale heading belongs to the hero band only. Editorial pages
   render their own h1 from page content, where a 51px ceiling would overflow a
   320px viewport (see the responsive tests). */
.hero-copy h1,
.hero-copy .wp-block-heading {
	max-width: 770px;
	margin-top: 15px;
	font-size: clamp(3rem, 7vw, 6.4rem);
}

.hero-copy > p:not(.eyebrow),
.hero-copy .wp-block-paragraph:not(.eyebrow) {
	max-width: 620px;
	margin-top: 22px;
	font-size: 15px;
	line-height: 1.75;
}

.hero-actions {
	margin-top: 1.75rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.ah-hero-disclaimer {
	margin-top: 1.25rem;
	font-size: 12px;
	font-weight: 500;
	color: var(--muted-foreground);
}

.hero-product {
	position: relative;
	display: grid;
	min-width: 0;
	min-height: 390px;
	place-items: center;
}

.hero-product img {
	position: relative;
	z-index: 2;
	width: min(78%, 350px);
	aspect-ratio: 1;
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 30px 24px color-mix(in oklab, var(--primary) 24%, transparent));
	mix-blend-mode: multiply;
}

.hero-product span {
	position: absolute;
	right: 0;
	bottom: 18%;
	z-index: 3;
	color: var(--primary);
	font: 700 10px/1.45 var(--font-sans);
	text-align: right;
}

.halo-ring {
	position: absolute;
	width: min(82vw, 410px);
	aspect-ratio: 1;
	border: 1px solid color-mix(in oklab, var(--primary) 28%, transparent);
	border-radius: 50%;
	box-shadow: inset 0 0 70px color-mix(in oklab, var(--metal) 16%, transparent);
}

/* --------------------------------------------------------------------------
   9. Helix backdrop
   -------------------------------------------------------------------------- */
.helix-field {
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0.2;
}

.helix-field svg {
	width: 100%;
	height: 100%;
}

.helix-field path,
.helix-field line {
	fill: none;
	stroke: var(--primary);
	stroke-width: 1.2;
}

.helix-track {
	transform-origin: center;
	animation: drift 13s ease-in-out infinite alternate;
}

.molecule-nodes {
	fill: var(--metal);
	animation: pulse-nodes 4s ease-in-out infinite;
}

@keyframes drift {
	to {
		transform: translate3d(26px, -14px, 0);
	}
}

@keyframes pulse-nodes {
	50% {
		opacity: 0.35;
	}
}

/* --------------------------------------------------------------------------
   10. Trust strip
   -------------------------------------------------------------------------- */
.trust-strip {
	position: relative;
	z-index: 3;
	display: grid;
	grid-template-columns: 1fr;
	max-width: 1180px;
	margin: -1px auto 0;
	border: 1px solid var(--border);
	background: var(--background);
}

.trust-strip > div {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 96px;
	padding: 22px;
	border-bottom: 1px solid var(--border);
	color: var(--primary);
}

.trust-strip > div:last-child {
	border-bottom: 0;
}

.trust-strip .ah-icon {
	flex: none;
}

.trust-strip span {
	display: grid;
	color: var(--foreground);
}

.trust-strip b {
	font-size: 13px;
}

.trust-strip small {
	margin-top: 4px;
	color: var(--muted-foreground);
	font-size: 10px;
}

/* --------------------------------------------------------------------------
   11. Section headings
   -------------------------------------------------------------------------- */
.section-heading {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 38px;
}

/* Let the heading text shrink (and let the "View all" link wrap below it on
   narrow screens) instead of pushing the row wider than the viewport. */
.section-heading > div {
	min-width: 0;
}

.section-heading h1,
.section-heading h2,
.quality-inner h2 {
	margin-top: 10px;
	font-size: clamp(2.7rem, 5vw, 4.8rem);
}

.section-heading p:last-child {
	margin-top: 10px;
	color: var(--muted-foreground);
	font-size: 13px;
}

.section-heading > a,
.section-heading > div + a {
	display: flex;
	flex: none;
	align-items: center;
	gap: 5px;
	color: var(--primary);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	white-space: nowrap;
}

/* --------------------------------------------------------------------------
   12. Product card
   -------------------------------------------------------------------------- */
/* WooCommerce's own `ul.products` markup carries the grid. Deliberately not
   scoped to a `.woocommerce` ancestor: the front page renders the same loop
   without WooCommerce's archive wrapper. */
.product-grid,
ul.products {
	display: grid;
	gap: 18px;
	grid-template-columns: minmax(0, 1fr);
	margin: 0;
	padding: 0;
	list-style: none;
}

.ah-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--border);
	background: var(--card);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ah-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-metal);
}

.product-image {
	display: block;
	position: relative;
	aspect-ratio: 1.2;
	overflow: hidden;
	--imgpad: clamp(0px);
	background: linear-gradient(145deg, var(--accent), var(--background));
}

.product-image img {
	position: absolute;
	inset: var(--imgpad);
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	margin: auto;
	object-fit: contain;
	object-position: center;
	transition: transform 0.3s ease;
}

.ah-card:hover .product-image img {
	transform: scale(1.025);
}

.product-copy {
	padding: 20px;
}

.ah-card-copy {
	display: flex;
	min-width: 0;
	flex: 1 1 auto;
	flex-direction: column;
}

.ah-card-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
}

.ah-card-title {
	/* Neutralises the display h1/h2 treatment when the card title is an h2. */
	margin: 0;
	min-height: 42px;
	font-family: var(--font-display);
	font-size: 21px;
	font-weight: 700;
	line-height: 1.15;
	text-transform: none;
	letter-spacing: 0;
}

.ah-card-title a {
	color: var(--foreground);
}

.ah-card-title a:hover {
	color: var(--primary);
}

.ah-card-strength {
	white-space: nowrap;
}

.ah-card-eyebrow {
	margin-top: 1rem;
}

.ah-stock {
	display: flex;
	flex: none;
	align-items: center;
	gap: 5px;
	font-size: 9px;
	font-weight: 700;
	text-transform: uppercase;
	white-space: nowrap;
}

.ah-stock > span {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--success);
}

.ah-stock.is-out-of-stock > span {
	background: var(--destructive);
}

.price-line {
	display: flex;
	align-items: baseline;
	gap: 7px;
	flex-wrap: wrap;
}

.price-line del {
	color: var(--muted-foreground);
	font-size: 13px;
}

.price-line strong {
	font-size: 24px;
	font-weight: 700;
}

.price-line span {
	color: var(--muted-foreground);
	font-size: 12px;
	display: none;
}

.ah-price-line {
	margin-top: 0.5rem;
}

.bulk-price {
	color: var(--muted-foreground);
	font-size: 12px;
}

.bulk-price del {
	margin-right: 3px;
}

.bulk-price strong {
	color: var(--foreground);
}

.ah-bulk-price {
	margin-top: 0.25rem;
}

.variant-selector {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 6px;
}

.variant-selector button {
	width: 100%;
}

.ah-dose-selector {
	margin-top: 0.75rem;
}

.ah-coa-button.is-full {
	width: 100%;
	margin-top: 0.75rem;
}

.pack-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 4px;
}

.ah-pack-grid {
	margin-top: 1rem;
	border: 0;
	padding: 0;
	min-width: 0;
}

.ah-pack-option {
	position: relative;
	display: grid;
	min-width: 0;
	min-height: 76px;
	place-content: center;
	border: 1px solid var(--border);
	background: var(--background);
	padding: 6px 6px;
	font-size: 9px;
	text-align: center;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

/* Multi-strength products render one pack grid per strength; only the active
   strength is shown. The `header.php` <noscript> block re-reveals every
   combination when JavaScript is unavailable. */
.ah-pack-option.is-dose-hidden {
	display: none;
}

.ah-pack-option input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.ah-pack-option b {
	font-size: 9px;
	font-weight: 700;
	text-transform: uppercase;
}

.ah-pack-option .ah-pack-price {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2px;
	margin-top: 4px;
	font-size: 11px;
}

.ah-pack-option del {
	color: var(--muted-foreground);
	font-size: 8px;
}

.ah-pack-option em {
	color: var(--primary);
	font-size: 8px;
	font-style: normal;
}

.ah-pack-dose {
	display: none;
}

.ah-pack-option:hover {
	border-color: color-mix(in oklab, var(--primary) 45%, var(--border));
}

.ah-pack-option.is-active,
.ah-pack-option:has(input:checked) {
	border-color: var(--primary);
	background: var(--accent);
}

.ah-pack-option:has(input:focus-visible) {
	outline: 2px solid var(--ring);
	outline-offset: 2px;
}

.qty {
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr) 32px;
	align-items: center;
	border: 1px solid var(--border);
	text-align: center;
	background: var(--background);
}

.qty button {
	display: grid;
	height: 100%;
	min-height: 36px;
	place-items: center;
	color: var(--foreground);
}

.qty button:hover {
	color: var(--primary);
}

.ah-qty-input {
	width: 100%;
	min-width: 0;
	min-height: 36px;
	border: 0;
	border-radius: 0;
	background: transparent;
	padding: 0;
	text-align: center;
	font-size: 13px;
	font-weight: 600;
	appearance: textfield;
	-moz-appearance: textfield;
}

.ah-qty-input::-webkit-outer-spin-button,
.ah-qty-input::-webkit-inner-spin-button {
	appearance: none;
	-webkit-appearance: none;
	margin: 0;
}

.ah-card-buy {
	display: grid;
	grid-template-columns: 104px minmax(0, 1fr);
	gap: 0.5rem;
	margin-top: 1rem;
}

.ah-card-form {
	margin-top: auto;
}

.ah-total {
	margin-top: 0.75rem;
	text-align: right;
	font-size: 12px;
	font-weight: 600;
}

.ah-total span {
	color: var(--foreground);
}

.ah-card--compact .ah-card-buy,
.ah-card--compact .ah-total,
.ah-card--compact .ah-pack-grid,
.ah-card--compact .ah-bulk-price {
	display: none;
}

.ah-card--compact .ah-card-title {
	min-height: 0;
	font-size: 18px;
}

/* --------------------------------------------------------------------------
   13. Quality band
   -------------------------------------------------------------------------- */
.quality-band {
	position: relative;
	overflow: hidden;
	background: linear-gradient(112deg, var(--primary), oklch(0.28 0.08 230));
	color: var(--primary-foreground);
}

.quality-band .helix-field {
	opacity: 0.13;
}

.quality-band .helix-field path,
.quality-band .helix-field line {
	stroke: var(--primary-foreground);
}

.quality-inner {
	position: relative;
	z-index: 2;
	display: grid;
	max-width: var(--content-max);
	margin: auto;
	padding: 100px 22px;
	gap: 55px;
}

.quality-inner > * {
	min-width: 0;
}

.quality-inner .eyebrow {
	color: var(--metal);
}

.quality-link {
	margin-top: 26px;
}

.quality-points {
	display: grid;
	gap: 32px;
}

.quality-points article {
	padding-top: 18px;
	border-top: 1px solid color-mix(in oklab, var(--primary-foreground) 28%, transparent);
}

.quality-points span {
	color: var(--metal);
	font-size: 11px;
}

.quality-points h3 {
	margin-top: 18px;
	font: 700 23px var(--font-display);
	text-transform: uppercase;
}

.quality-points p {
	margin-top: 10px;
	color: color-mix(in oklab, var(--primary-foreground) 72%, transparent);
	font-size: 13px;
	line-height: 1.7;
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.ah-footer {
	background: var(--footer);
	color: var(--primary-foreground);
	padding: 70px 22px 26px;
}

.footer-grid {
	display: grid;
	max-width: var(--content-max);
	margin: auto;
	gap: 38px;
}

.footer-grid h3 {
	margin-bottom: 16px;
	color: var(--metal);
	font: 700 13px var(--font-sans);
	text-transform: uppercase;
}

.footer-grid p,
.footer-grid a {
	display: block;
	margin-bottom: 9px;
	color: color-mix(in oklab, var(--primary-foreground) 68%, transparent);
	font-size: 11px;
	line-height: 1.65;
}

.footer-grid a:hover {
	color: var(--primary-foreground);
}

.footer-brand b {
	font: 700 30px var(--font-display);
	text-transform: uppercase;
}

.footer-brand p:first-of-type {
	color: color-mix(in oklab, var(--primary-foreground) 82%, transparent);
	font-size: 12px;
}

.footer-grid ul {
	list-style: none;
}

.ah-newsletter {
	display: flex;
	margin-top: 18px;
}

.ah-newsletter input[type="email"] {
	min-width: 0;
	flex: 1;
	min-height: 38px;
	border: 1px solid color-mix(in oklab, var(--primary-foreground) 28%, transparent);
	border-radius: 0;
	background: transparent;
	padding: 0 12px;
	font-size: 12px;
	color: var(--primary-foreground);
}

.ah-newsletter input[type="email"]::placeholder {
	color: color-mix(in oklab, var(--primary-foreground) 48%, transparent);
}

.ah-newsletter .ah-button {
	border-radius: 0 var(--radius) var(--radius) 0;
	min-height: 38px;
	font-size: 12px;
}

.ah-newsletter-status {
	margin-top: 10px;
	font-size: 11px;
	font-weight: 600;
}

.ah-newsletter-status.is-success {
	color: var(--metal);
}

.ah-newsletter-status.is-error {
	color: oklch(0.78 0.15 25);
}

.compliance-statement {
	max-width: var(--content-max);
	margin: 50px auto 0;
	padding-top: 28px;
	border-top: 1px solid color-mix(in oklab, var(--primary-foreground) 14%, transparent);
}

.compliance-statement p {
	margin-bottom: 16px;
	color: color-mix(in oklab, var(--primary-foreground) 62%, transparent);
	font-size: 10px;
	line-height: 1.8;
}

.legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	max-width: var(--content-max);
	margin: 34px auto 0;
	padding-top: 22px;
	border-top: 1px solid color-mix(in oklab, var(--primary-foreground) 14%, transparent);
	color: color-mix(in oklab, var(--primary-foreground) 48%, transparent);
	font-size: 9px;
}

.legal ul {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	list-style: none;
}

.legal a {
	color: inherit;
}

.legal a:hover {
	color: var(--primary-foreground);
}

/* --------------------------------------------------------------------------
   15. Entry gate (21+ / research use)
   -------------------------------------------------------------------------- */
.age-gate {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	place-items: center;
	overflow-y: auto;
	padding: 20px;
	background: color-mix(in oklab, var(--foreground) 76%, transparent);
	backdrop-filter: blur(12px) saturate(0.7);
}

.age-dialog {
	width: min(100%, 540px);
	border: 1px solid color-mix(in oklab, var(--metal) 68%, var(--border));
	background: linear-gradient(145deg, var(--background), color-mix(in oklab, var(--metal) 12%, var(--background)));
	padding: clamp(26px, 6vw, 48px);
	box-shadow: 0 28px 80px color-mix(in oklab, var(--foreground) 45%, transparent), inset 0 1px var(--background);
	outline: none;
	text-align: center;
}

.age-dialog-mark {
	display: grid;
	width: 54px;
	height: 54px;
	margin: 0 auto 20px;
	place-items: center;
	border: 1px solid color-mix(in oklab, var(--primary) 42%, var(--border));
	background: var(--accent);
	color: var(--primary);
	box-shadow: var(--shadow-metal);
}

.age-dialog-mark svg {
	width: 25px;
	height: 25px;
}

.age-dialog h2 {
	margin-top: 8px;
	font-size: clamp(2.8rem, 8vw, 4rem);
}

.age-dialog > p:not(.eyebrow) {
	max-width: 430px;
	margin: 18px auto 0;
	color: var(--muted-foreground);
	font-size: 13px;
	line-height: 1.7;
}

.age-confirmations {
	display: grid;
	gap: 10px;
	margin-top: 26px;
	text-align: left;
}

.age-confirmations label {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	align-items: start;
	gap: 11px;
	border: 1px solid var(--border);
	background: color-mix(in oklab, var(--background) 78%, var(--secondary));
	padding: 14px;
	color: var(--foreground);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.5;
	cursor: pointer;
}

.age-confirmations input {
	width: 17px;
	height: 17px;
	min-height: 0;
	margin-top: 1px;
	accent-color: var(--primary);
}

.age-actions {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 9px;
	margin-top: 22px;
}

.ah-gate-status {
	margin: 12px 0 0;
}

.ah-gate-noscript-note {
	margin-top: 14px;
	color: var(--muted-foreground);
	font-size: 11px;
	line-height: 1.6;
	text-align: center;
}

/* --------------------------------------------------------------------------
   16. Editorial pages, posts, search, 404
   -------------------------------------------------------------------------- */
.ah-page-header {
	margin-bottom: 30px;
}

.ah-page-title {
	max-width: 900px;
	font-size: clamp(2.6rem, 6vw, 4.6rem);
	text-transform: uppercase;
}

.ah-page-thumbnail {
	margin: 0 0 30px;
}

.ah-page-thumbnail img {
	width: 100%;
	height: auto;
	border: 1px solid var(--border);
}

.ah-entry-content > * + * {
	margin-top: 1.15em;
}

.ah-entry-content h1 {
	margin-bottom: 0.4em;
	font-size: clamp(2.4rem, 6vw, 4rem);
}

.ah-entry-content h2 {
	margin-top: 1.6em;
	font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.ah-entry-content h3 {
	margin-top: 1.4em;
	font-family: var(--font-display);
	font-size: 22px;
	text-transform: uppercase;
}

.ah-entry-content p,
.ah-entry-content li {
	font-size: 15px;
	line-height: 1.8;
}

.ah-entry-content ul,
.ah-entry-content ol {
	padding-left: 1.25rem;
}

.ah-entry-content ul {
	list-style: disc;
}

.ah-entry-content ol {
	list-style: decimal;
}

.ah-entry-content a {
	color: var(--primary);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ah-entry-content blockquote {
	border-left: 3px solid var(--metal);
	padding: 4px 0 4px 18px;
	color: var(--muted-foreground);
}

.ah-entry-content table {
	border: 1px solid var(--border);
	font-size: 13px;
}

.ah-entry-content th,
.ah-entry-content td {
	border: 1px solid var(--border);
	padding: 10px 12px;
	text-align: left;
}

.ah-entry-content th {
	background: var(--secondary);
	font-weight: 700;
}

.ah-entry-content img {
	border-radius: var(--radius);
}

.ah-entry-content code {
	background: var(--secondary);
	padding: 2px 5px;
	border-radius: var(--radius-sm);
	font-size: 0.9em;
}

/* Content cards used by the Quality / About / Contact pages. */
.ah-card-grid {
	display: grid;
	gap: 18px;
	margin-top: 34px;
}

.ah-panel {
	border: 1px solid var(--border);
	background: var(--card);
	padding: 26px;
}

.ah-panel h2,
.ah-panel h3 {
	margin-bottom: 12px;
	font-family: var(--font-display);
	font-size: 24px;
	text-transform: uppercase;
}

.ah-panel p {
	color: var(--muted-foreground);
	font-size: 13px;
	line-height: 1.75;
}

.ah-panel p + p {
	margin-top: 12px;
}

.ah-panel .ah-icon {
	color: var(--primary);
	margin-bottom: 14px;
}

.ah-notice {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	border: 1px solid var(--border);
	border-left: 3px solid var(--primary);
	background: var(--accent);
	padding: 18px 20px;
	margin-top: 26px;
	text-align: left;
}

.ah-notice .ah-icon {
	color: var(--primary);
	flex: none;
	margin-top: 2px;
}

.ah-notice strong {
	display: block;
	font-size: 13px;
	margin-bottom: 5px;
}

.ah-notice p {
	color: color-mix(in oklab, var(--foreground) 78%, transparent);
	font-size: 12px;
	line-height: 1.7;
}

/* Posts / search results */
.ah-post-grid {
	display: grid;
	gap: 18px;
}

.ah-post-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--border);
	background: var(--card);
}

.ah-post-card-copy {
	padding: 20px;
}

.ah-post-card-title {
	margin: 8px 0 10px;
	font-family: var(--font-display);
	font-size: 22px;
	line-height: 1.15;
	text-transform: none;
}

.ah-post-card-copy p {
	color: var(--muted-foreground);
	font-size: 13px;
	line-height: 1.7;
}

.ah-post-card-image {
	display: block;
	aspect-ratio: 1.6;
	overflow: hidden;
	background: var(--accent);
}

.ah-post-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ah-archive-description {
	margin-top: 12px;
	color: var(--muted-foreground);
	font-size: 13px;
}

.ah-pagination {
	margin-top: 40px;
}

.ah-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	list-style: none;
}

.ah-pagination a,
.ah-pagination span {
	display: grid;
	min-width: 38px;
	min-height: 38px;
	place-items: center;
	border: 1px solid var(--border);
	background: var(--card);
	padding: 0 10px;
	font-size: 12px;
	font-weight: 700;
	color: var(--foreground);
}

.ah-pagination a:hover {
	border-color: var(--primary);
	color: var(--primary);
}

.ah-pagination .current {
	border-color: var(--primary);
	background: var(--primary);
	color: var(--primary-foreground);
}

.ah-no-results {
	border: 1px solid var(--border);
	background: var(--card);
	padding: 30px;
}

.ah-no-results h2 {
	font-size: 26px;
	margin-bottom: 10px;
}

.ah-no-results p {
	color: var(--muted-foreground);
	font-size: 13px;
	margin-bottom: 18px;
}

.ah-404 h1 {
	margin-top: 14px;
	font-size: clamp(3rem, 8vw, 6rem);
}

.ah-404 p {
	margin-top: 18px;
	max-width: 620px;
	color: var(--muted-foreground);
	font-size: 14px;
}

.ah-404-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 26px;
}

.ah-404-search {
	margin-top: 40px;
	max-width: 460px;
}

.ah-404-search h2 {
	font-size: 22px;
	margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   17. Utilities
   -------------------------------------------------------------------------- */
.ah-rotated {
	transform: rotate(180deg);
}

.ah-muted {
	color: var(--muted-foreground);
}

.ah-align-right {
	text-align: right;
}

.ah-stack {
	display: grid;
	gap: 12px;
}

.ah-divider {
	height: 1px;
	background: var(--border);
	margin: 30px 0;
}

/* --------------------------------------------------------------------------
   18. Responsive
   -------------------------------------------------------------------------- */
@media (min-width: 640px) {
	.trust-strip {
		grid-template-columns: repeat(3, 1fr);
	}

	.trust-strip > div {
		border-right: 1px solid var(--border);
		border-bottom: 0;
	}

	.trust-strip > div:last-child {
		border-right: 0;
	}

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

	.footer-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.ah-card-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.ah-post-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 768px) {
	.site-header {
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	}

	.desktop-nav {
		display: flex;
	}

	.ah-menu-toggle {
		display: none;
	}

	.mobile-nav {
		display: none !important;
	}

	.hero-inner {
		grid-template-columns: 1.2fr 0.8fr;
		padding-inline: 40px;
	}

	.hero-product {
		min-height: 500px;
	}

	.quality-inner {
		grid-template-columns: 0.9fr 1.1fr;
	}

	.quality-points {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.product-grid,
	ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.footer-grid {
		grid-template-columns: 1.1fr 0.8fr 1.2fr 1fr;
	}

	.ah-card-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.ah-post-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 1280px) {
	ul.products.columns-4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* --------------------------------------------------------------------------
   19. Motion preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	html {
		scroll-behavior: auto;
	}
}

@media (max-width: 420px) {
	.age-gate {
		align-items: start;
		padding: 12px;
	}

	.age-dialog {
		margin-block: 12px;
		padding: 24px 18px;
	}

	.age-actions {
		grid-template-columns: 1fr;
	}

	.content-section {
		padding: 72px 18px;
	}
}

/* --------------------------------------------------------------------------
   20. Print
   -------------------------------------------------------------------------- */
@media print {
	.sale-ticker,
	.site-header,
	.ah-footer,
	.age-gate,
	.ah-card-form {
		display: none !important;
	}
}
