/* ==========================================================================
   AMEDVEN — main stylesheet
   ========================================================================== */
:root {
	/* Palette, type and controls come from the AMEDVEN design system (assets/ds/amedven.css).
	   The old theme names are kept as aliases so every existing rule follows the new style. */
	--am-navy-2: var(--am-ink);
	--am-accent: var(--am-teal);
	--am-text: var(--am-slate);
	--am-bg: transparent;                       /* the pearl tile on <html> shows through */
	--am-tint: rgba(255, 255, 255, .6);
	--am-radius: var(--am-radius-card);
	--am-shadow: var(--am-shadow-card);
	--am-shadow-lg: var(--am-shadow-pop);
	--am-font-head: var(--am-font);             /* one font everywhere: Inter */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--am-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--am-text);
	background: var(--am-bg);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--am-teal); text-decoration: none; }
a:hover { color: var(--am-teal-ink); }
h1, h2, h3, h4 { font-family: var(--am-font); color: var(--am-navy); font-weight: 600; line-height: var(--am-lh-head); margin: 0 0 .5em; letter-spacing: var(--am-track-head); }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
.screen-reader-text, .am-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.am-skip { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--am-navy); color: #fff; padding: 10px 16px; }
.am-skip:focus { left: 12px; top: 12px; }
:focus-visible { outline: 2px solid var(--am-accent); outline-offset: 2px; }

.am-container { width: 100%; max-width: var(--am-container); margin: 0 auto; padding: 0 24px; }
.am-narrow { max-width: 860px; }
.am-icon { flex: none; }

/* ---------- Buttons ---------- */
.am-btn, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .wc-block-components-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
	font-weight: 600; font-size: 15px; line-height: 1.2; cursor: pointer;
	transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
	text-decoration: none;
}
.am-btn:hover { transform: translateY(-1px); }
.am-btn--primary, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce #respond input#submit.alt,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .wc-block-components-button:not(.is-link) {
	background: var(--am-accent); color: #fff; border-color: var(--am-accent);
}
.am-btn--primary:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover {
	background: var(--am-navy); border-color: var(--am-navy); color: #fff; box-shadow: 0 8px 20px rgba(11,31,58,.2);
}
.am-btn--light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.3); }
.am-btn--light:hover { background: #fff; color: var(--am-navy); }
.am-btn--ghost { background: transparent; color: var(--am-navy); border-color: var(--am-line); }
.am-btn--ghost:hover { border-color: var(--am-navy); color: var(--am-navy); }
.am-btn--lg { padding: 15px 28px; font-size: 16px; }
.am-btn--sm { padding: 8px 16px; font-size: 14px; }
.am-icon-btn {
	display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
	background: transparent; border: 0; color: var(--am-ink); cursor: pointer; position: relative;
	transition: background .2s;
}
.am-icon-btn:hover { background: var(--am-tint); color: var(--am-ink); }
.am-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }

.am-eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--am-accent); margin-bottom: 14px;
}
.am-eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.am-h2 { font-size: clamp(28px, 3.4vw, 40px); }

/* ---------- Top bar ---------- */
.am-topbar { background: var(--am-surface-2); color: var(--am-slate); font-size: 13px; border-bottom: 1px solid var(--am-line); }
.am-topbar__in { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.am-topbar__in span { display: inline-flex; align-items: center; gap: 8px; }
.am-topbar .am-icon { color: var(--am-accent); }

/* ---------- Header ---------- */
.am-header {
	position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
	backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--am-line);
	transition: box-shadow .2s;
}
.am-header.is-scrolled { box-shadow: 0 6px 20px rgba(15,23,42,.06); }
.admin-bar .am-header { top: 32px; }
.am-header__in { display: flex; align-items: center; gap: 28px; height: 76px; }
.am-header__burger { display: none; }
.am-header__brand .custom-logo { max-height: 44px; width: auto; }
.am-header__actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }

.am-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--am-font-head); font-weight: 700; font-size: 22px; letter-spacing: .12em; color: var(--am-navy); }
.am-brand:hover { color: var(--am-navy); }
.am-brand__mark {
	width: 30px; height: 30px; border-radius: 8px; position: relative;
	background: linear-gradient(135deg, var(--am-navy) 0%, var(--am-navy-2) 60%, var(--am-accent) 140%);
}
.am-brand__mark::after { content: ""; position: absolute; inset: 8px; border: 2px solid #fff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.am-brand--light { color: #fff; }
.am-brand--light:hover { color: #fff; }
.am-brand--light .am-brand__mark { background: linear-gradient(135deg, var(--am-accent), #0ea5e9); }

.am-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.am-nav__list > li { position: relative; }
.am-nav__list > li > a { display: flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 999px; font-weight: 500; color: var(--am-ink); font-size: 15px; }
.am-nav__list > li > a:hover, .am-nav__list > li.current-menu-item > a { background: var(--am-tint); color: var(--am-navy); }
.am-nav__list > li.menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; border-right: 1.6px solid; border-bottom: 1.6px solid; transform: rotate(45deg) translateY(-3px); margin-left: 4px; }
.am-nav .sub-menu {
	list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px;
	background: #fff; border: 1px solid var(--am-line); border-radius: var(--am-radius); box-shadow: var(--am-shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease;
}
.am-nav .sub-menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.am-nav li:hover > .sub-menu, .am-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.am-nav .sub-menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--am-text); font-size: 14.5px; }
.am-nav .sub-menu a:hover { background: var(--am-tint); color: var(--am-navy); }

.am-hsearch { display: flex; align-items: center; gap: 8px; background: var(--am-tint); border: 1px solid transparent; border-radius: 999px; padding: 0 14px; height: 42px; width: 240px; color: var(--am-muted); transition: .2s; }
.am-hsearch:focus-within { border-color: var(--am-accent); background: #fff; width: 280px; }
.am-hsearch input { border: 0; background: transparent; outline: 0; width: 100%; font-size: 14px; color: var(--am-ink); }

.am-cart-count {
	position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
	background: var(--am-accent); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; line-height: 1;
}

/* ---------- Hero ---------- */
.am-hero {
	position: relative; overflow: hidden; color: #fff;
	background:
		radial-gradient(900px 500px at 85% 20%, rgba(20,184,166,.28), transparent 60%),
		radial-gradient(700px 500px at 0% 100%, rgba(14,165,233,.18), transparent 60%),
		linear-gradient(160deg, var(--am-navy) 0%, #071629 100%);
}
.am-hero__bg { position: absolute; inset: 0; pointer-events: none; }
.am-hero__mol { position: absolute; right: -80px; top: -40px; width: 620px; color: rgba(255,255,255,.07); animation: am-spin 120s linear infinite; }
@keyframes am-spin { to { transform: rotate(360deg); } }
.am-hero__in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-top: 96px; padding-bottom: 104px; }
.am-hero__title { color: #fff; font-size: clamp(38px, 5.4vw, 66px); margin-bottom: 20px; letter-spacing: -.02em; }
.am-hero__text { font-size: 19px; color: rgba(255,255,255,.78); max-width: 580px; margin-bottom: 32px; }
.am-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.am-hero__search {
	display: flex; align-items: center; gap: 10px; max-width: 520px; padding: 6px 6px 6px 18px; border-radius: 999px;
	background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.7);
}
.am-hero__search input { flex: 1; border: 0; outline: 0; background: transparent; color: #fff; font-size: 15px; }
.am-hero__search input::placeholder { color: rgba(255,255,255,.55); }

.am-hero__card { position: relative; display: grid; place-items: center; min-height: 380px; }
.am-vial { width: 170px; filter: drop-shadow(0 30px 50px rgba(0,0,0,.45)); animation: am-bob 6s ease-in-out infinite; }
@keyframes am-float { 50% { transform: translateY(-12px); } }
/* `translate` composes with the parallax `transform`, so floating and depth can run together. */
@keyframes am-bob { 50% { translate: 0 -12px; } }
.am-vial__cap { height: 46px; margin: 0 26px; border-radius: 10px 10px 4px 4px; background: linear-gradient(90deg, #0d9488, var(--am-accent), #5eead4, var(--am-accent)); }
.am-vial__body {
	height: 230px; border-radius: 16px 16px 26px 26px; margin-top: -4px; padding: 64px 14px 0;
	background: linear-gradient(90deg, rgba(255,255,255,.55), rgba(255,255,255,.92) 35%, rgba(255,255,255,.7) 70%, rgba(255,255,255,.45));
	display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--am-navy);
	position: relative;
}
.am-vial__body::before { content: ""; position: absolute; left: 10px; right: 10px; top: 52px; bottom: 60px; background: #fff; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(11,31,58,.08); }
.am-vial__body > * { position: relative; }
.am-vial__brand { font-family: var(--am-font-head); font-weight: 700; letter-spacing: .18em; font-size: 15px; margin-top: 12px; }
.am-vial__name { font-size: 12px; font-weight: 600; margin-top: 6px; }
.am-vial__lot { font-size: 9.5px; color: var(--am-muted); margin-top: 6px; letter-spacing: .04em; }
.am-coa-float {
	position: absolute; right: 4%; bottom: 14%; display: grid; gap: 2px; padding: 16px 20px; border-radius: var(--am-radius);
	background: rgba(255,255,255,.96); color: var(--am-navy); box-shadow: var(--am-shadow-lg); animation: am-bob 6s ease-in-out infinite reverse;
}
.am-coa-float__label { font-size: 12px; color: var(--am-muted); }
.am-coa-float strong { font-family: var(--am-font-head); font-size: 30px; line-height: 1; }
.am-coa-float__ok { display: inline-flex; align-items: center; gap: 4px; color: var(--am-ok); font-size: 12px; font-weight: 600; }

/* ---------- Stats ---------- */
.am-stats { position: relative; z-index: 2; margin-top: -52px; }
.am-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 20px; box-shadow: var(--am-shadow-lg); padding: 8px; }
.am-stat { padding: 24px 26px; display: grid; gap: 2px; border-right: 1px solid var(--am-line); }
.am-stat:last-child { border-right: 0; }
.am-stat__num { font-family: var(--am-font-head); font-size: 38px; color: var(--am-navy); line-height: 1.1; }
.am-stat__label { font-weight: 600; color: var(--am-ink); }
.am-stat__sub { font-size: 14px; color: var(--am-muted); }

/* ---------- Sections ---------- */
.am-section { padding: 96px 0; }
.am-section--tint { background: var(--am-tint); }
.am-section--navy { background: transparent; color: var(--am-slate); }   /* no dark areas: the brief */
.am-section--navy h2, .am-section--navy h3 { color: var(--am-navy); }
.am-section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.am-section__head h2 { margin: 0; }
.am-section__head--center { flex-direction: column; align-items: center; text-align: center; }

/* Quality */
.am-quality { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.am-quality__copy p { font-size: 17px; margin-bottom: 28px; }
.am-tests { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.am-test { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: var(--am-radius-sm); border: 1px solid var(--am-line); background: #fff; transition: .2s; }
.am-test:hover { border-color: var(--am-accent); }
.am-test__n { font-family: var(--am-font-head); font-weight: 700; color: var(--am-accent); font-size: 14px; width: 28px; }
.am-test div { flex: 1; display: grid; }
.am-test strong { color: var(--am-ink); }
.am-test div span { font-size: 13.5px; color: var(--am-muted); }
.am-test > .am-icon { color: var(--am-ok); }

/* Steps */
.am-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.am-step { position: relative; padding: 28px; border-radius: var(--am-radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.am-step__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--am-accent); color: #fff; margin-bottom: 20px; }
.am-step__n { position: absolute; top: 20px; right: 24px; font-family: var(--am-font-head); font-size: 44px; font-weight: 700; color: rgba(255,255,255,.08); line-height: 1; }
.am-step h3 { font-size: 18px; }
.am-step p { font-size: 14.5px; margin: 0; }

/* About */
.am-about { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.am-about__card p { font-size: 17px; }
.am-about__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.am-about__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.am-about__points li { display: flex; gap: 16px; padding: 20px; background: #fff; border-radius: var(--am-radius); box-shadow: var(--am-shadow); }
.am-about__points .am-icon { color: var(--am-accent); margin-top: 2px; }
.am-about__points div { display: grid; }
.am-about__points strong { color: var(--am-ink); }
.am-about__points span { font-size: 14px; color: var(--am-muted); }

/* Newsletter */
.am-news { padding: 72px 0; background: linear-gradient(120deg, var(--am-navy), var(--am-navy-2)); color: rgba(255,255,255,.75); }
.am-news h2 { color: #fff; }
.am-news__in { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.am-news__form { display: flex; flex-wrap: wrap; gap: 10px; }
.am-news__form input[type=email] { flex: 1; min-width: 220px; height: 52px; padding: 0 22px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; outline: 0; }
.am-news__form input[type=email]::placeholder { color: rgba(255,255,255,.5); }
.am-news__form input[type=email]:focus { border-color: var(--am-accent); }
.am-news__form .am-btn { height: 52px; }
.am-news__form small { width: 100%; font-size: 13px; }
.am-news__form small a { color: #fff; text-decoration: underline; }
.am-news__msg { width: 100%; margin: 0; font-size: 14px; min-height: 0; }
.am-news__msg.is-ok { color: #5eead4; }
.am-news__msg.is-err { color: #fca5a5; }

/* ---------- COA ---------- */
.am-coa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.am-coa-grid--tab { grid-template-columns: repeat(2, 1fr); }
.am-coa-grid--single { grid-template-columns: 1fr; margin: 40px 0; }
.am-coa { display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: var(--am-radius); background: #fff; border: 1px solid var(--am-line); }
.am-coa[hidden] { display: none; }
.am-coa__head { display: flex; align-items: flex-start; gap: 12px; }
.am-coa__head > div { flex: 1; }
.am-coa__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--am-tint); color: var(--am-navy); flex: none; }
.am-coa__title { font-size: 17px; margin: 0 0 2px; }
.am-coa__batch { font-size: 13px; color: var(--am-muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.am-coa__purity { padding: 6px 12px; border-radius: 999px; background: rgba(22,163,74,.1); color: var(--am-ok); font-weight: 700; font-size: 14px; }
.am-coa__meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; padding: 14px; background: var(--am-tint); border-radius: var(--am-radius-sm); }
.am-coa__meta div { display: grid; }
.am-coa__meta dt { font-size: 12px; color: var(--am-muted); }
.am-coa__meta dd { margin: 0; font-weight: 600; color: var(--am-ink); font-size: 14px; }
.am-coa__tests { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.am-coa__tests li { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--am-line); }
.am-coa__tests .am-icon { color: var(--am-ok); }
.am-coa .am-btn { align-self: flex-start; margin-top: auto; }
.am-coa-lib__bar { display: flex; align-items: center; gap: 16px; margin: 8px 0 24px; }
.am-search { flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 18px; height: 52px; border-radius: 999px; border: 1px solid var(--am-line); background: #fff; color: var(--am-muted); }
.am-search:focus-within { border-color: var(--am-accent); }
.am-search input { flex: 1; border: 0; outline: 0; background: transparent; color: var(--am-ink); }
.am-coa-lib__count { color: var(--am-muted); font-size: 14px; white-space: nowrap; }
.am-coa-lib__empty { padding: 40px; text-align: center; color: var(--am-muted); background: var(--am-tint); border-radius: var(--am-radius); }

/* ---------- Pages ---------- */
.am-main { min-height: 50vh; }
.am-page-hero { background: linear-gradient(160deg, var(--am-navy), #071629); padding: 64px 0 56px; margin-bottom: 48px; }
.am-page-hero .am-page-title { color: #fff; margin: 0; font-size: clamp(32px, 4vw, 48px); }
.am-page-head { padding: 56px 0 24px; }
.am-content { padding-bottom: 80px; font-size: 17px; }
.am-content h2 { font-size: 26px; margin-top: 1.6em; }
.am-content h3 { font-size: 20px; margin-top: 1.4em; }
.am-content ul { padding-left: 1.2em; }
.am-content a { text-decoration: underline; text-underline-offset: 3px; }

.am-faq h3 {
	margin: 0; padding: 20px 52px 20px 22px; font-size: 18px; cursor: pointer; position: relative;
	border: 1px solid var(--am-line); border-radius: var(--am-radius-sm); background: #fff; transition: .2s;
}
.am-faq h3::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--am-accent); transition: transform .2s; }
.am-faq h3:hover { border-color: var(--am-accent); }
.am-faq h3.is-open { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-color: var(--am-accent); }
.am-faq h3.is-open::after { transform: translateY(-50%) rotate(45deg); }
.am-faq .am-faq__a { padding: 0 22px; border: 1px solid var(--am-accent); border-top: 0; border-radius: 0 0 var(--am-radius-sm) var(--am-radius-sm); margin-bottom: 10px; }
.am-faq .am-faq__a > *:first-child { margin-top: 18px; }
.am-faq .am-faq__a[hidden] { display: none; }
.am-faq h3:not(.is-open) { margin-bottom: 10px; }
.am-faq__more { text-align: center; padding: 0 0 80px; }

.am-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding-bottom: 80px; }
.am-card { background: #fff; border: 1px solid var(--am-line); border-radius: 20px; padding: 32px; box-shadow: var(--am-shadow); }
.am-form { display: grid; gap: 16px; }
.am-form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; color: var(--am-ink); }
.am-form input, .am-form textarea,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.select2-container--default .select2-selection--single {
	width: 100%; padding: 12px 16px; border: 1px solid var(--am-line); border-radius: var(--am-radius-sm); background: #fff; font-weight: 400; outline: 0; min-height: 48px;
}
.am-form input:focus, .am-form textarea:focus, .woocommerce form .form-row input.input-text:focus { border-color: var(--am-accent); box-shadow: 0 0 0 3px rgba(20,184,166,.15); }
.am-success { color: var(--am-ok); font-weight: 600; }
.am-error { color: var(--am-danger); }
.am-footer__contact--dark { color: var(--am-text) !important; }
.am-footer__contact--dark a { color: var(--am-navy) !important; }

.am-404 { text-align: center; padding: 100px 24px; }
.am-404__code { font-family: var(--am-font-head); font-size: 120px; font-weight: 700; color: var(--am-tint); -webkit-text-stroke: 2px var(--am-line); line-height: 1; display: block; }
.am-posts { display: grid; gap: 16px; padding-bottom: 60px; }
.am-post-card { padding: 24px; border: 1px solid var(--am-line); border-radius: var(--am-radius); }

/* ---------- Footer ---------- */
.am-footer { background: #071629; color: rgba(255,255,255,.65); padding: 72px 0 32px; font-size: 15px; }
.am-footer a { color: rgba(255,255,255,.75); }
.am-footer a:hover { color: var(--am-accent); }
.am-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.am-footer__about p { margin: 18px 0; max-width: 340px; }
.am-footer__title { color: #fff; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.am-footer__menu, .am-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.am-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.am-footer__contact .am-icon { color: var(--am-accent); margin-top: 3px; }
.am-pay { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.am-pay li { font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 6px 10px; border-radius: 6px; background: rgba(255,255,255,.08); color: #fff; }
.am-footer__legal { padding-top: 28px; font-size: 13px; color: rgba(255,255,255,.45); }
.am-footer__copy { margin: 0; }

/* ---------- Cart drawer ---------- */
.am-drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.am-drawer.is-open { visibility: visible; }
.am-drawer__overlay { position: absolute; inset: 0; background: rgba(7,22,41,.5); opacity: 0; transition: opacity .25s; }
.am-drawer.is-open .am-drawer__overlay { opacity: 1; }
.am-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: #fff; transform: translateX(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1); display: flex; }
.am-drawer.is-open .am-drawer__panel { transform: none; }
.am-drawer__inner { display: flex; flex-direction: column; width: 100%; height: 100%; }
.am-drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--am-line); }
.am-drawer__head h2 { margin: 0; font-size: 20px; }
.am-drawer__head h2 span { color: var(--am-muted); font-weight: 500; }
.am-drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.am-drawer__note { padding: 0 24px 20px; margin: 0; font-size: 13px; color: var(--am-muted); text-align: center; }
.am-drawer .woocommerce-mini-cart { list-style: none; margin: 0; padding: 0; }
.am-drawer .woocommerce-mini-cart-item { position: relative; display: block; padding: 16px 28px 16px 84px !important; border-bottom: 1px solid var(--am-line); min-height: 96px; font-size: 14.5px; }
.am-drawer .woocommerce-mini-cart-item img { position: absolute; left: 0; top: 16px; width: 68px !important; height: 68px; object-fit: cover; border-radius: var(--am-radius-sm); background: var(--am-tint); margin: 0 !important; }
.am-drawer .woocommerce-mini-cart-item a:not(.remove) { font-weight: 600; color: var(--am-ink); display: block; }
.am-drawer .woocommerce-mini-cart-item .remove { position: absolute; right: 0; top: 14px; color: var(--am-muted) !important; font-size: 20px; }
.am-drawer .woocommerce-mini-cart-item .quantity { color: var(--am-muted); }
.am-drawer .woocommerce-mini-cart__total { display: flex; justify-content: space-between; padding: 18px 0 8px; margin: 0; font-size: 16px; color: var(--am-ink); }
.am-drawer .woocommerce-mini-cart__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding-bottom: 16px; }
.am-drawer .woocommerce-mini-cart__buttons a.button { margin: 0; }
.am-drawer .woocommerce-mini-cart__buttons a.button:not(.checkout) { background: transparent; color: var(--am-navy); border-color: var(--am-line); }
.am-drawer .woocommerce-mini-cart__empty-message { text-align: center; padding: 60px 0; color: var(--am-muted); }
.am-ship { padding: 14px 24px; background: var(--am-tint); font-size: 14px; }
.am-ship p { margin: 0 0 8px; }
.am-ship__track { height: 6px; border-radius: 999px; background: var(--am-line); overflow: hidden; }
.am-ship__track span { display: block; height: 100%; background: linear-gradient(90deg, var(--am-accent), #0ea5e9); border-radius: inherit; transition: width .4s; }
body.am-lock { overflow: hidden; }

/* ---------- Age gate ---------- */
.am-gate { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; background: rgba(7,22,41,.75); backdrop-filter: blur(8px); }
.am-gate[hidden] { display: none; }
.am-gate__box { width: min(520px, 100%); background: #fff; border-radius: 22px; padding: 40px 36px; text-align: center; box-shadow: var(--am-shadow-lg); animation: am-pop .3s ease; }
@keyframes am-pop { from { transform: scale(.95); opacity: 0; } }
.am-gate__brand { display: flex; justify-content: center; margin-bottom: 22px; }
.am-gate__brand .custom-logo { max-height: 48px; width: auto; }
.am-gate h2 { font-size: 26px; }
.am-gate p { color: var(--am-text); }
.am-gate__actions { display: grid; gap: 10px; margin: 24px 0 16px; }
.am-gate small { color: var(--am-muted); }
.am-gate small a { text-decoration: underline; }

/* ==========================================================================
   WooCommerce
   ========================================================================== */
.am-shop { padding: 40px 0 96px; }
.am-bc { font-size: 14px; color: var(--am-muted); margin-bottom: 20px; }
.am-bc a { color: var(--am-muted); }
.am-bc__sep { margin: 0 8px; opacity: .5; }
.woocommerce-products-header__title { font-size: clamp(32px, 4vw, 44px); }
.woocommerce .woocommerce-result-count { color: var(--am-muted); font-size: 14px; margin: 10px 0 24px; }
.woocommerce .woocommerce-ordering select { padding: 10px 14px; border-radius: 999px; border: 1px solid var(--am-line); background: #fff; }

.am-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.am-chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--am-line); font-size: 14px; font-weight: 500; color: var(--am-ink); display: inline-flex; gap: 6px; }
.am-chip span { color: var(--am-muted); }
.am-chip:hover { border-color: var(--am-navy); color: var(--am-navy); }
.am-chip.is-active { background: var(--am-teal); border-color: var(--am-teal); color: #fff; }
.am-chip.is-active span { color: rgba(255,255,255,.6); }

.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0 0 40px !important; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product {
	width: auto !important; margin: 0 !important; float: none !important; position: relative;
	display: flex; flex-direction: column; padding: 14px !important; border-radius: var(--am-radius); background: #fff; border: 1px solid var(--am-line); transition: .2s ease;
}
.woocommerce ul.products li.product:hover { border-color: transparent; box-shadow: var(--am-shadow-lg); transform: translateY(-4px); }
.woocommerce ul.products li.product a img { border-radius: var(--am-radius-sm); background: var(--am-tint); aspect-ratio: 1; object-fit: cover; margin: 0 0 14px !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--am-font-head); font-size: 17px !important; color: var(--am-ink); padding: 0 !important; margin-bottom: 4px; }
.woocommerce ul.products li.product .price { color: var(--am-navy) !important; font-weight: 700; font-size: 16px !important; margin-bottom: 14px !important; }
.woocommerce ul.products li.product .price del { color: var(--am-muted); font-weight: 400; }
.woocommerce ul.products li.product .button { margin-top: auto !important; width: 100%; }
.woocommerce ul.products li.product .added_to_cart { display: none; }
.woocommerce span.onsale { background: var(--am-danger); border-radius: 999px; min-height: 0; min-width: 0; line-height: 1; padding: 6px 10px; top: 22px !important; left: 22px !important; right: auto !important; margin: 0 !important; font-size: 12px; }
.am-badges { position: absolute; top: 22px; right: 22px; display: flex; gap: 6px; z-index: 2; }
.am-badge { font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: #fff; color: var(--am-navy); box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.am-badge--purity { color: var(--am-ok); }
.am-badge--coa { background: var(--am-teal-soft); color: var(--am-teal-ink); }
.am-login-price { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--am-navy); }

.woocommerce nav.woocommerce-pagination ul { border: 0 !important; display: flex; gap: 6px; justify-content: center; }
.woocommerce nav.woocommerce-pagination ul li { border: 0 !important; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { width: 42px; height: 42px; display: grid !important; place-items: center; border-radius: 50%; padding: 0 !important; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--am-teal) !important; color: #fff !important; }

/* Single product */
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.woocommerce div.product .woocommerce-product-gallery, .woocommerce div.product .summary { width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce div.product .woocommerce-product-gallery { position: sticky; top: 110px; }
.woocommerce div.product > .woocommerce-notices-wrapper, .woocommerce div.product > .onsale { grid-column: 1 / -1; }
.woocommerce div.product .woocommerce-product-gallery__image { border-radius: var(--am-radius); overflow: hidden; background: var(--am-tint); }
.woocommerce div.product .flex-control-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px !important; }
.woocommerce div.product .flex-control-thumbs li { width: 64px !important; border-radius: 10px; overflow: hidden; background: var(--am-tint); }
/* size selector: one pill per size (the native select stays in the form, hidden) */
.am-sizes { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 2px; }
.am-sizes button { font: 600 14px/1 var(--am-font-body, inherit); padding: 11px 15px; border-radius: 999px; border: 1px solid var(--am-line); background: #fff; color: var(--am-navy); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.am-sizes button:hover { border-color: var(--am-teal, #148F91); }
.am-sizes button[aria-pressed="true"] { background: var(--am-teal); border-color: var(--am-teal); color: #fff; }
.am-sizes button:disabled { opacity: .4; cursor: not-allowed; }
.woocommerce div.product form.cart .variations select.am-hidden { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.woocommerce div.product .product_title { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 10px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--am-navy) !important; font-size: 26px !important; font-weight: 700; font-family: var(--am-font-head); }
.woocommerce div.product .woocommerce-product-details__short-description { font-size: 16.5px; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 24px 0 !important; }
.woocommerce div.product form.cart .variations { width: 100%; margin-bottom: 8px; }
.woocommerce div.product form.cart .variations td, .woocommerce div.product form.cart .variations th { padding: 6px 0; display: block; }
.woocommerce div.product form.cart .variations select { width: 100%; padding: 12px 14px; border: 1px solid var(--am-line); border-radius: var(--am-radius-sm); min-height: 48px; }
.woocommerce div.product form.cart .single_variation_wrap { width: 100%; }
.woocommerce-variation-add-to-cart { display: flex; gap: 12px; }
.woocommerce .quantity .qty { width: 84px; height: 50px; border: 1px solid var(--am-line); border-radius: 999px; text-align: center; }
.woocommerce div.product form.cart .button { height: 50px; flex: 1; font-size: 16px; }
.am-ruo { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--am-radius-sm); background: #fff7ed; color: #9a3412; font-size: 14px; font-weight: 500; margin: 16px 0; }
.am-trust-list { list-style: none; margin: 0 0 20px; padding: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border: 1px solid var(--am-line); border-radius: var(--am-radius); font-size: 14px; }
.am-trust-list li { display: flex; gap: 10px; align-items: center; }
.am-trust-list .am-icon { color: var(--am-accent); }
.woocommerce div.product .product_meta { font-size: 14px; color: var(--am-muted); display: grid; gap: 4px; }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0 !important; margin: 0 0 24px !important; display: flex; gap: 6px; border-bottom: 1px solid var(--am-line); overflow-x: auto; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none !important; border: 0 !important; margin: 0 !important; padding: 0 !important; border-radius: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 14px 18px !important; font-weight: 600; color: var(--am-muted) !important; border-bottom: 2px solid transparent; white-space: nowrap; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--am-navy) !important; border-color: var(--am-accent); }
.woocommerce div.product .woocommerce-tabs .panel { font-size: 16px; }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { display: none; }
.am-list-check { list-style: none; padding: 0; display: grid; gap: 10px; }
.am-list-check li { display: flex; gap: 10px; }
.am-list-check .am-icon { color: var(--am-ok); margin-top: 4px; }
.woocommerce div.product .related > h2, .woocommerce div.product .upsells > h2 { font-size: 28px; margin: 40px 0 24px; }
.woocommerce table.shop_attributes { border: 0; }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { border: 0; border-bottom: 1px solid var(--am-line); padding: 12px; font-style: normal; }

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-radius: var(--am-radius-sm); border-top: 0 !important; border-left: 4px solid var(--am-accent); background: var(--am-tint); }
.woocommerce-error { border-left-color: var(--am-danger); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--am-accent); }

/* Cart / checkout / account */
.woocommerce table.shop_table { border-radius: var(--am-radius); border-color: var(--am-line); }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-color: var(--am-line); padding: 16px; }
.woocommerce-cart .cart-collaterals .cart_totals, .woocommerce-checkout #order_review { background: var(--am-tint); border-radius: var(--am-radius); padding: 24px; }
.woocommerce-checkout .am-ruo-check { background: #fff7ed; padding: 14px 16px !important; border-radius: var(--am-radius-sm); font-size: 14px; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; display: grid; gap: 4px; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: var(--am-radius-sm); color: var(--am-text); }
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { background: var(--am-teal-soft); color: var(--am-teal-ink); }

/* ==========================================================================
   Redesign 1.1 — photographic layers, parallax, reveal, pinned checks
   Photos live in assets/img (see amedven_photo()); every block has a
   no-photo fallback so the site looks finished before they arrive.
   ========================================================================== */
.am-layer, .am-layer-item {
	transform: translate3d(var(--am-mx, 0px), calc(var(--am-py, 0px) + var(--am-my, 0px)), 0);
}
.am-layer { position: absolute; inset: 0; will-change: transform; }
.am-layer--bg { inset: -16% -3%; }
.am-layer img { width: 100%; height: 100%; object-fit: cover; }
.am-layer--fx { inset: -8% -4%; mix-blend-mode: screen; pointer-events: none; }
.am-layer--dots {
	inset: -10% -4%; pointer-events: none; filter: blur(1.5px); opacity: .9;
	background:
		radial-gradient(circle at 74% 18%, rgba(94,234,212,.45) 0 5px, transparent 6px),
		radial-gradient(circle at 92% 34%, rgba(14,165,233,.35) 0 11px, transparent 12px),
		radial-gradient(circle at 63% 78%, rgba(94,234,212,.28) 0 8px, transparent 9px),
		radial-gradient(circle at 86% 86%, rgba(255,255,255,.22) 0 4px, transparent 5px),
		radial-gradient(circle at 55% 12%, rgba(255,255,255,.18) 0 3px, transparent 4px),
		radial-gradient(circle at 97% 62%, rgba(20,184,166,.3) 0 18px, transparent 19px),
		radial-gradient(circle at 70% 52%, rgba(14,165,233,.22) 0 2px, transparent 3px);
}

/* Hero */
.am-hero { min-height: min(92vh, 880px); display: flex; align-items: center; isolation: isolate; }
.am-hero > .am-container { width: 100%; }
.am-hero__bg { overflow: hidden; z-index: -1; }
.am-hero__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,22,41,.55), transparent 35%); }
.am-hero--photo { background: #071629; }
.am-hero--photo .am-hero__shade {
	background:
		linear-gradient(90deg, rgba(7,22,41,.94) 0%, rgba(7,22,41,.72) 38%, rgba(7,22,41,.15) 70%, rgba(7,22,41,.25) 100%),
		linear-gradient(0deg, rgba(7,22,41,.85) 0%, transparent 32%);
}
.am-hero__in { padding-top: 112px; padding-bottom: 150px; }
.am-hero__title { font-size: clamp(42px, 6vw, 82px); letter-spacing: -.035em; line-height: 1.02; text-wrap: balance; }
.am-hero__title::after { content: ""; display: block; width: 72px; height: 3px; margin-top: 26px; border-radius: 3px; background: linear-gradient(90deg, var(--am-accent), #0ea5e9); }
.am-hero__search { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.am-hero__card { min-height: 460px; }
.am-hero__vialimg { position: relative; width: min(400px, 100%); --label-y: 60%; }
.am-hero__vialimg img { width: 100%; filter: drop-shadow(0 40px 60px rgba(0,0,0,.55)); animation: am-bob 7s ease-in-out infinite; }
.am-hero__vialbrand {
	position: absolute; left: 50%; top: var(--label-y); translate: -50% -50%;
	font-family: var(--am-font-head); font-weight: 700; letter-spacing: .22em; font-size: 18px; color: var(--am-navy);
	animation: am-bob 7s ease-in-out infinite;
}
.am-hero__scroll {
	position: absolute; left: 50%; bottom: 76px; translate: -50% 0; z-index: 1;
	width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.4); border-radius: 14px;
}
.am-hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: am-scrollcue 1.8s ease-in-out infinite; }
@keyframes am-scrollcue { 0% { opacity: 0; translate: 0 0; } 30% { opacity: 1; } 100% { opacity: 0; translate: 0 14px; } }

/* Stats: glass card overlapping the hero */
.am-stats { margin-top: -64px; }
.am-stats__grid { background: rgba(255,255,255,.96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }

/* Categories — tall photo cards */
.am-cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.am-cat {
	position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
	aspect-ratio: 4 / 5; border-radius: 20px; color: rgba(255,255,255,.75);
	background: radial-gradient(120% 80% at 80% 0%, rgba(20,184,166,.28), transparent 60%), linear-gradient(165deg, var(--am-navy-2), #071629);
	transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
}
.am-cat:hover { color: rgba(255,255,255,.75); transform: translateY(-6px); box-shadow: 0 28px 50px rgba(11,31,58,.28); }
.am-cat__media { position: absolute; inset: 0; z-index: -1; }
.am-cat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.am-cat:hover .am-cat__media img { transform: scale(1.08); }
.am-cat__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,22,41,.95) 0%, rgba(7,22,41,.55) 45%, rgba(7,22,41,0) 75%); }
.am-cat__glyph { position: absolute; right: -24px; top: 6%; color: rgba(94,234,212,.16); transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.am-cat__glyph .am-icon { width: 170px; height: 170px; stroke-width: 1; }
.am-cat:hover .am-cat__glyph { transform: rotate(-8deg) scale(1.06); }
.am-cat__body { display: grid; gap: 4px; padding: 22px; }
.am-cat__icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.1); color: #5eead4; margin-bottom: 10px; backdrop-filter: blur(6px); }
.am-cat h3 { color: #fff; font-size: 20px; margin: 0; }
.am-cat p { font-size: 14px; line-height: 1.5; margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.am-cat__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: #5eead4; }
.am-cat__more .am-icon { transition: translate .25s; }
.am-cat:hover .am-cat__more .am-icon { translate: 4px 0; }

/* Photo sections (generic) */
.am-section--photo { position: relative; overflow: clip; isolation: isolate; color: rgba(255,255,255,.78); }
.am-section--photo h2, .am-section--photo h3 { color: #fff; }
.am-photo-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.am-photo-bg__shade { position: absolute; inset: 0; background: rgba(7,22,41,.74); }
.am-photo-bg__shade--left { background: linear-gradient(90deg, rgba(7,22,41,.94) 0%, rgba(7,22,41,.7) 50%, rgba(7,22,41,.82) 100%); }
.am-section--photo:not(.has-photo) .am-photo-bg__shade { background: radial-gradient(800px 500px at 90% 10%, rgba(20,184,166,.2), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(14,165,233,.12), transparent 60%); }
.am-section--navy.has-photo, .am-news.has-photo { background: #071629; }
.am-news.has-photo { padding: 120px 0; }

/* Seven checks — pinned */
.am-checks { position: relative; overflow: visible; background: linear-gradient(160deg, var(--am-navy) 0%, #071629 100%); }
/* No overflow:hidden on the pinned section itself — it would break position:sticky. The pin clips instead. */
.am-checks.has-photo { background: #071629; }
.am-checks__pin { position: relative; overflow: hidden; padding: 110px 0; isolation: isolate; }
.am-checks__in { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.am-checks__copy p { font-size: 17px; margin-bottom: 28px; max-width: 520px; }
.am-checks__meter { display: flex; align-items: center; gap: 18px; margin: 0 0 32px; max-width: 420px; }
.am-checks__count { font-family: var(--am-font-head); color: rgba(255,255,255,.45); font-size: 18px; white-space: nowrap; }
.am-checks__count b { color: #fff; font-size: 40px; font-weight: 700; }
.am-checks__bar { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.14); overflow: hidden; }
.am-checks__bar i { display: block; height: 100%; width: calc(var(--am-p, 1) * 100%); background: linear-gradient(90deg, var(--am-accent), #0ea5e9); }
.am-checks .am-tests { gap: 10px; }
.am-checks .am-test {
	background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
	transition: opacity .45s, background .45s, border-color .45s, transform .45s cubic-bezier(.2,.7,.2,1);
}
.am-checks .am-test strong { color: #fff; }
.am-checks .am-test div span { color: rgba(255,255,255,.6); }
.am-checks .am-test > .am-icon { color: var(--am-accent); }
.am-checks .am-test.is-active { background: rgba(20,184,166,.16); border-color: var(--am-accent); transform: translateX(-10px) scale(1.02); }
@media (min-width: 1025px) and (prefers-reduced-motion: no-preference) {
	.am-motion .am-checks { height: 300vh; }
	.am-motion .am-checks__pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; padding: 76px 0 0; }
	.am-motion .am-checks .am-test { opacity: .38; }
	.am-motion .am-checks .am-test > .am-icon { opacity: 0; transition: opacity .45s; }
	.am-motion .am-checks .am-test.is-done, .am-motion .am-checks .am-test.is-active { opacity: 1; }
	.am-motion .am-checks .am-test.is-done > .am-icon, .am-motion .am-checks .am-test.is-active > .am-icon { opacity: 1; }
}

/* How it works on photo */
.am-section--photo .am-step { background: rgba(255,255,255,.06); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* About on photo */
.am-about-sec.has-photo { padding: 130px 0; }
.am-about-sec.has-photo .am-about__card p { color: rgba(255,255,255,.8); }
.am-about-sec.has-photo .am-about__points li { background: rgba(255,255,255,.95); }

/* Reveal on scroll (only when JS is running; see amedven_head_early) */
.am-js [data-reveal] {
	opacity: 0; translate: 0 32px;
	transition: opacity .9s cubic-bezier(.2,.7,.2,1) var(--am-delay, 0ms), translate .9s cubic-bezier(.2,.7,.2,1) var(--am-delay, 0ms);
}
.am-js [data-reveal].is-in { opacity: 1; translate: none; }

@media (max-width: 1180px) {
	.am-cats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
	.am-hero { min-height: 0; }
	.am-hero__in { padding-top: 72px; padding-bottom: 120px; }
	.am-hero__scroll { display: none; }
	.am-checks__in { grid-template-columns: 1fr; gap: 36px; }
	.am-checks .am-test.is-active { transform: none; }
	.am-layer--bg { inset: -8% 0; }
}
@media (max-width: 680px) {
	.am-cats { grid-template-columns: 1fr 1fr; gap: 12px; }
	.am-cat { aspect-ratio: 3 / 4; }
	.am-cat__body { padding: 16px; }
	.am-cat h3 { font-size: 17px; }
	.am-cat p { display: none; }
	.am-cat:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
	.am-checks__pin { padding: 72px 0; }
}
@media (prefers-reduced-motion: reduce) {
	.am-js [data-reveal] { opacity: 1; translate: none; }
	.am-layer, .am-layer-item { transform: none !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
	.am-hsearch { display: none; }
}
@media (max-width: 1024px) {
	.am-header { backdrop-filter: none; background: #fff; }
	.am-header__burger { display: inline-grid; }
	.am-header__in { gap: 12px; }
	.am-nav {
		position: fixed; inset: 0 30% 0 0; min-width: 280px; z-index: 120; background: #fff; padding: 88px 20px 24px; overflow-y: auto;
		transform: translateX(-100%); transition: transform .3s ease; box-shadow: var(--am-shadow-lg);
	}
	.am-nav.is-open { transform: none; }
	.am-nav__list { flex-direction: column; }
	.am-nav__list > li > a { padding: 14px 12px; border-radius: 10px; font-size: 17px; }
	.am-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; display: none; }
	.am-nav li.is-sub-open > .sub-menu { display: block; }
	.am-header__burger { z-index: 130; }
	.am-hero__in { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 120px; }
	.am-hero__card { display: none; }
	.am-stats__grid { grid-template-columns: repeat(2, 1fr); }
	.am-stat:nth-child(2) { border-right: 0; }
	.am-stat:nth-child(-n+2) { border-bottom: 1px solid var(--am-line); }
	.am-quality, .am-about, .am-news__in, .am-contact { grid-template-columns: 1fr; gap: 36px; }
	.am-steps { grid-template-columns: repeat(2, 1fr); }
	.am-coa-grid { grid-template-columns: repeat(2, 1fr); }
	.woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
	.woocommerce div.product { grid-template-columns: 1fr; gap: 32px; }
	.woocommerce div.product .woocommerce-product-gallery { position: static; }
	.am-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 782px) { .admin-bar .am-header { top: 46px; } }
@media (max-width: 680px) {
	.am-container { padding-left: 18px; padding-right: 18px; }
	.am-topbar .am-topbar__ship { display: none; }
	.am-topbar__in { justify-content: center; text-align: center; }
	.am-header__in { height: 64px; }
	.am-section { padding: 64px 0; }
	.am-section__head { flex-direction: column; align-items: flex-start; }
	.am-steps, .am-coa-grid, .am-coa-grid--tab { grid-template-columns: 1fr; }
	.am-stat { padding: 18px; }
	.am-stat__num { font-size: 30px; }
	.woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.woocommerce ul.products li.product { padding: 10px !important; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 15px !important; }
	.am-trust-list { grid-template-columns: 1fr; }
	.am-coa__meta { grid-template-columns: 1fr 1fr; }
	.am-footer__grid { grid-template-columns: 1fr; }
	.am-hero__search .am-btn { display: none; }
}

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