/* =========================================================================
   Pepéra Labs — main.css
   Dark lab shell · clinical white product sections · gradient as precision accent
   Mobile-first. Tokens up top; change the brand there.
   ========================================================================= */

:root {
	/* Brand — sampled from the Pepéra logo gradient */
	--navy: #0a1180;
	--blue: #1f2fd8;
	--violet: #6f1fd6;
	--magenta: #e80f9e;
	--pink: #ff3db5;
	--grad: linear-gradient(115deg, var(--blue) 0%, var(--violet) 48%, var(--magenta) 100%);
	--grad-soft: linear-gradient(115deg, rgba(31, 47, 216, 0.12), rgba(232, 15, 158, 0.12));

	/* Surfaces */
	--ink: #060a1f;
	--ink-2: #0a1030;
	--ink-3: #141b48;
	--paper: #f6f7fd;
	--tint: #eef0fb;
	--card: #ffffff;
	--line: #dfe2f2;
	--line-dark: rgba(158, 168, 255, 0.16);

	/* Text */
	--txt: #10142e;
	--muted: #585e80;
	--txt-inv: #edefff;
	--muted-inv: #a2a9d2;

	/* Type */
	--font-display: "Sora", system-ui, sans-serif;
	--font-body: "Instrument Sans", system-ui, sans-serif;
	--font-mono: "IBM Plex Mono", ui-monospace, monospace;

	/* Rhythm */
	--wrap: 74rem;
	--wrap-narrow: 46rem;
	--gutter: clamp(1.1rem, 4vw, 2rem);
	--section-pad: clamp(3.5rem, 9vw, 6.5rem);
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 14px 40px rgba(10, 17, 128, 0.1);
	--shadow-lift: 0 22px 54px rgba(10, 17, 128, 0.16);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------------------------------------------------------------- Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--txt);
	background: var(--ink);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
	font-family: var(--font-display);
	line-height: 1.12;
	letter-spacing: -0.015em;
	margin: 0 0 0.6em;
	color: inherit;
}
h1 { font-size: clamp(2.15rem, 6.4vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 4.6vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.16rem; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible {
	outline: 2px solid var(--magenta);
	outline-offset: 3px;
	border-radius: 4px;
}

.mono {
	font-family: var(--font-mono);
	font-size: 0.78rem;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}
.grad-text {
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: var(--wrap-narrow); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.skip-link {
	position: absolute;
	left: 1rem; top: -4rem;
	z-index: 200;
	background: var(--card);
	color: var(--txt);
	padding: 0.6rem 1rem;
	border-radius: var(--radius-sm);
	transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------------------------------------------------------------- Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.82rem 1.6rem;
	border: 0;
	border-radius: 999px;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	line-height: 1.2;
	transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background-color 0.22s var(--ease), color 0.22s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-gradient {
	background: var(--grad);
	color: #fff;
	box-shadow: 0 8px 24px rgba(232, 15, 158, 0.32);
}
.btn-gradient:hover { box-shadow: 0 12px 30px rgba(232, 15, 158, 0.42); }
.btn-ghost {
	background: transparent;
	color: var(--txt-inv);
	box-shadow: inset 0 0 0 1.5px var(--line-dark);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--muted-inv); }
.btn-dark { background: var(--ink); color: var(--txt-inv); }
.btn-dark:hover { box-shadow: 0 10px 26px rgba(6, 10, 31, 0.35); }
.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------------------------------------------------------------- Announce */
.announce {
	background: var(--grad);
	color: #fff;
	text-align: center;
	font-size: 0.82rem;
	font-weight: 500;
	letter-spacing: 0.02em;
}
.announce p { margin: 0; padding: 0.5rem var(--gutter); }
.announce-sep { margin-inline: 0.6rem; opacity: 0.75; }
@media (max-width: 480px) {
	.announce-item:nth-child(3), .announce-sep { display: none; }
}

/* ---------------------------------------------------------------- Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(6, 10, 31, 0.82);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.site-header.is-scrolled {
	background: rgba(6, 10, 31, 0.94);
	border-bottom-color: var(--line-dark);
}
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 4.25rem;
}
.header-brand img, .custom-logo {
	width: clamp(150px, 22vw, 210px);
	height: auto;
	filter: drop-shadow(0 0 9px rgba(111, 31, 214, 0.55)) drop-shadow(0 0 22px rgba(232, 15, 158, 0.32));
	transition: filter 0.3s var(--ease);
}
.site-logo, .custom-logo-link { display: inline-flex; }
.site-logo:hover img, .custom-logo-link:hover .custom-logo {
	filter: drop-shadow(0 0 12px rgba(111, 31, 214, 0.8)) drop-shadow(0 0 30px rgba(232, 15, 158, 0.5));
}

.header-nav { display: none; }
.nav-list {
	display: flex;
	gap: clamp(1rem, 2.4vw, 2rem);
	list-style: none;
	margin: 0;
	padding: 0;
}
.nav-list a {
	color: var(--muted-inv);
	text-decoration: none;
	font-weight: 500;
	font-size: 0.95rem;
	padding-block: 0.4rem;
	position: relative;
	transition: color 0.2s var(--ease);
}
.nav-list a::after {
	content: "";
	position: absolute;
	left: 0; right: 100%;
	bottom: 0;
	height: 2px;
	background: var(--grad);
	border-radius: 2px;
	transition: right 0.28s var(--ease);
}
.nav-list a:hover, .nav-list .current-menu-item > a { color: var(--txt-inv); }
.nav-list a:hover::after, .nav-list .current-menu-item > a::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 0.45rem; }
.header-icon {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem; height: 2.5rem;
	border-radius: 50%;
	color: var(--txt-inv);
	transition: background-color 0.2s var(--ease);
}
.header-icon:hover { background: var(--ink-3); }
.cart-count {
	position: absolute;
	top: 0.15rem; right: 0.05rem;
	min-width: 1.05rem; height: 1.05rem;
	padding-inline: 0.2rem;
	display: grid;
	place-items: center;
	background: var(--grad);
	color: #fff;
	border-radius: 999px;
	font-family: var(--font-mono);
	font-size: 0.62rem;
	line-height: 1;
}

.nav-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem; height: 2.5rem;
	background: none;
	border: 0;
	border-radius: 50%;
	color: var(--txt-inv);
}
.nav-toggle:hover { background: var(--ink-3); }
.nav-toggle-box { display: grid; gap: 5px; width: 20px; }
.nav-toggle-box span {
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform 0.28s var(--ease), opacity 0.2s var(--ease);
	transform-origin: center;
}
.nav-open .nav-toggle-box span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle-box span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle-box span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile slide-down panel */
@media (max-width: 899px) {
	.header-nav {
		display: block;
		position: fixed;
		inset: 0;
		top: 0;
		z-index: 90;
		background: var(--ink);
		padding: 7.5rem var(--gutter) 3rem;
		transform: translateY(-102%);
		transition: transform 0.4s var(--ease), visibility 0s 0.4s;
		visibility: hidden;
	}
	.nav-open .header-nav {
		transform: translateY(0);
		visibility: visible;
		transition: transform 0.4s var(--ease);
	}
	.nav-list { flex-direction: column; gap: 0.4rem; }
	.nav-list a {
		display: block;
		font-family: var(--font-display);
		font-size: 1.5rem;
		font-weight: 600;
		color: var(--txt-inv);
		padding-block: 0.65rem;
		border-bottom: 1px solid var(--line-dark);
	}
	.nav-list a::after { display: none; }
	body.nav-open { overflow: hidden; }
}
@media (min-width: 900px) {
	.header-nav { display: block; position: static; }
	.nav-toggle { display: none; }
}

/* ---------------------------------------------------------------- Hero */
.hero {
	position: relative;
	background: var(--ink);
	color: var(--txt-inv);
	overflow: hidden;
	padding-block: clamp(3.5rem, 10vw, 7rem) clamp(3rem, 8vw, 5.5rem);
}
.hero-glow {
	position: absolute;
	inset: -20% -10% auto;
	height: 130%;
	background:
		radial-gradient(42rem 30rem at 82% 18%, rgba(232, 15, 158, 0.20), transparent 62%),
		radial-gradient(40rem 30rem at 12% 82%, rgba(31, 47, 216, 0.28), transparent 60%);
	pointer-events: none;
}
.hero-inner {
	position: relative;
	display: grid;
	gap: 3rem;
	align-items: center;
}
.eyebrow { color: var(--magenta); margin: 0 0 1rem; }
.section-light .eyebrow, .section-tint .eyebrow { color: var(--violet); }
.hero h1 { max-width: 13ch; }
.hero-sub {
	color: var(--muted-inv);
	max-width: 46ch;
	font-size: 1.1rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
.hero-ticker {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.6rem;
	list-style: none;
	margin: 2.4rem 0 0;
	padding: 0;
	color: var(--muted-inv);
}
.hero-ticker li { display: inline-flex; align-items: center; gap: 0.5rem; }
.tick {
	width: 0.5rem; height: 0.5rem;
	border-radius: 2px;
	background: var(--grad);
	flex: none;
}

/* Hero visual: vial card + peptide chain */
.hero-visual { display: grid; justify-items: center; gap: 2rem; }
.vial-card {
	background: linear-gradient(160deg, var(--ink-2), var(--ink-3));
	border: 1px solid var(--line-dark);
	border-radius: calc(var(--radius) + 6px);
	padding: 2.2rem 2.4rem 1.6rem;
	display: grid;
	justify-items: center;
	gap: 1.6rem;
	box-shadow: var(--shadow-lift);
	max-width: 21rem;
	width: 100%;
}

.vial { display: grid; justify-items: center; filter: drop-shadow(0 18px 26px rgba(232, 15, 158, 0.22)); }
.vial-cap {
	width: 3.1rem; height: 1.15rem;
	background: var(--grad);
	border-radius: 6px 6px 3px 3px;
}
.vial-neck {
	width: 2.2rem; height: 0.55rem;
	background: rgba(210, 216, 255, 0.35);
}
.vial-body {
	position: relative;
	width: 4.6rem; height: 6.6rem;
	background: linear-gradient(165deg, rgba(220, 226, 255, 0.22), rgba(220, 226, 255, 0.06));
	border: 1px solid rgba(220, 226, 255, 0.35);
	border-radius: 10px 10px 16px 16px;
	overflow: hidden;
	display: grid;
	place-items: center;
}
.vial-label {
	position: relative;
	z-index: 2;
	text-align: center;
	font-size: 0.6rem;
	letter-spacing: 0.14em;
	color: #fff;
	background: rgba(6, 10, 31, 0.55);
	padding: 0.28rem 0.45rem;
	border-radius: 4px;
}
.vial-liquid {
	position: absolute;
	inset: 42% 0 0;
	background: var(--grad);
	opacity: 0.85;
}
.vial-liquid::before {
	content: "";
	position: absolute;
	top: -6px; left: -12%;
	width: 124%; height: 12px;
	background: inherit;
	border-radius: 50%;
	filter: brightness(1.25);
	animation: pepera-slosh 5s ease-in-out infinite;
}
@keyframes pepera-slosh {
	0%, 100% { transform: translateX(-3%) rotate(-1.6deg); }
	50% { transform: translateX(3%) rotate(1.6deg); }
}
.vial-sm { transform: scale(0.86); }

.vial-readout {
	display: grid;
	gap: 0.45rem;
	width: 100%;
	color: var(--muted-inv);
	font-size: 0.72rem;
	border-top: 1px solid var(--line-dark);
	padding-top: 1.1rem;
}
.vial-readout span { display: flex; justify-content: space-between; gap: 1rem; }
.vial-readout strong { color: var(--txt-inv); font-weight: 500; }

/* Signature: peptide chain */
.chain {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}
.chain span {
	width: clamp(0.85rem, 2.4vw, 1.15rem);
	aspect-ratio: 1;
	border-radius: 38%;
	background: var(--grad);
	position: relative;
	animation: pepera-chain 3.2s var(--ease) infinite;
}
.chain span::after {
	content: "";
	position: absolute;
	left: 100%;
	top: 50%;
	width: 0.5rem;
	height: 2px;
	background: var(--line-dark);
	transform: translateY(-50%);
}
.chain span:last-child::after { display: none; }
.chain span:nth-child(odd) { background: linear-gradient(115deg, var(--blue), var(--violet)); }
.chain span:nth-child(1) { animation-delay: 0s; }
.chain span:nth-child(2) { animation-delay: 0.12s; }
.chain span:nth-child(3) { animation-delay: 0.24s; }
.chain span:nth-child(4) { animation-delay: 0.36s; }
.chain span:nth-child(5) { animation-delay: 0.48s; }
.chain span:nth-child(6) { animation-delay: 0.6s; }
.chain span:nth-child(7) { animation-delay: 0.72s; }
.chain span:nth-child(8) { animation-delay: 0.84s; }
@keyframes pepera-chain {
	0%, 100% { transform: translateY(0); }
	18% { transform: translateY(-7px); }
	36% { transform: translateY(0); }
}
.chain-static span { animation: none; }

@media (min-width: 900px) {
	.hero-inner { grid-template-columns: 1.15fr 0.85fr; }
}

/* ---------------------------------------------------------------- Trust bar */
.trustbar {
	background: var(--ink-2);
	border-block: 1px solid var(--line-dark);
	color: var(--muted-inv);
}
.trustbar-inner {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.9rem 1.5rem;
	padding-block: 1.3rem;
	font-size: 0.74rem;
}
.trustbar-inner p { margin: 0; display: flex; align-items: baseline; gap: 0.5rem; }
.trustbar-inner strong {
	font-size: 1.15rem;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
@media (min-width: 720px) {
	.trustbar-inner { grid-template-columns: repeat(4, auto); justify-content: space-between; }
}

/* ---------------------------------------------------------------- Sections */
.section { padding-block: var(--section-pad); }
.section-light { background: var(--paper); color: var(--txt); }
.section-tint { background: var(--tint); color: var(--txt); }
.section-dark { background: var(--ink); color: var(--txt-inv); }
.section-head { max-width: 40rem; margin-bottom: clamp(2rem, 5vw, 3.2rem); }
.section-sub { color: var(--muted); }
.section-dark .section-sub { color: var(--muted-inv); }
.section-cta { margin-top: 2.5rem; }
.section-note {
	margin-top: 1.4rem;
	font-size: 0.85rem;
	color: var(--muted);
}

/* Scroll reveal */
[data-reveal] {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- Product cards (shared: Woo + placeholders)
   WooCommerce's woocommerce-layout.css hard-codes a float grid on
   `.woocommerce ul.products li.product` (float:left; width:22.05%; margin-right:3.8%)
   and woocommerce-smallscreen.css overrides it again at <768px. Because Woo's
   stylesheet load order relative to the theme isn't guaranteed, the four layout
   properties below are forced. Everything else wins on specificity alone. */
.pepera-grid,
.woocommerce ul.products,
ul.products {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(1rem, 2.5vw, 2rem);
	list-style: none;
	margin: 0;
	padding: 0;
	align-items: stretch;
}

/* Woo appends a clearfix ::after to ul.products. Inside a grid container that
   pseudo-element becomes a phantom grid item and leaves an empty cell. */
.pepera-grid::before,
.pepera-grid::after,
.woocommerce ul.products::before,
.woocommerce ul.products::after,
ul.products::before,
ul.products::after {
	content: none;
	display: none;
}

/* Tablet — 2 up */
@media (min-width: 600px) {
	.pepera-grid,
	.woocommerce ul.products,
	ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Desktop — 4 up (3 up when Woo is set to 3 columns) */
@media (min-width: 1024px) {
	.pepera-grid,
	.woocommerce ul.products,
	ul.products,
	.woocommerce ul.products.columns-4,
	ul.products.columns-4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
	.woocommerce ul.products.columns-3,
	ul.products.columns-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.woocommerce ul.products.columns-2,
	ul.products.columns-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Neutralize Woo's float layout so each item fills its grid cell. */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
ul.products li.product {
	float: none !important;
	clear: none !important;
	width: 100% !important;
	margin: 0 !important;
}

.product-card,
.woocommerce ul.products li.product,
ul.products li.product {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.15rem 1.15rem 1.35rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.3rem;
	height: 100%;
	min-width: 0;
	transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
	position: relative;
}
.product-card:hover,
.woocommerce ul.products li.product:hover,
ul.products li.product:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-lift);
	border-color: transparent;
}

/* Woo wraps image + title + price in a single anchor — make it a full-width
   column so the media area and typography align with the placeholder cards. */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
ul.products li.product a.woocommerce-LoopProduct-link {
	display: flex;
	flex-direction: column;
	width: 100%;
	min-width: 0;
}

.product-card-media {
	width: 100%;
	display: grid;
	place-items: center;
	background: linear-gradient(160deg, var(--ink-2), var(--ink-3));
	border-radius: var(--radius-sm);
	padding: 1.5rem 1rem;
	margin-bottom: 0.9rem;
}

/* Consistent image area: fixed aspect box, image centered and never cropped.
   Panel is white with a hairline so product shots on white backgrounds blend
   seamlessly. For a dark showcase panel instead, swap `background` for
   linear-gradient(160deg, var(--ink-2), var(--ink-3)) and raise the padding. */
.woocommerce ul.products li.product img,
ul.products li.product img {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	object-position: center;
	padding: 0.4rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	margin: 0 0 0.9rem;
	background: #fff;
}

.product-card h3,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .woocommerce-loop-product__title {
	font-size: 1rem;
	line-height: 1.35;
	margin: 0 0 0.1rem;
	padding: 0;
	color: var(--txt);
}
.woocommerce ul.products li.product a,
ul.products li.product a { text-decoration: none; }

.ruo-tag {
	display: inline-block;
	font-family: var(--font-mono);
	font-size: 0.6rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--violet);
	background: var(--grad-soft);
	border-radius: 4px;
	padding: 0.22rem 0.45rem;
	margin-block: 0.15rem 0.35rem;
}

.product-card .price,
.woocommerce ul.products li.product .price,
ul.products li.product .price {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.05rem;
	color: var(--txt);
	margin: 0 0 0.8rem;
}
.woocommerce ul.products li.product .price del,
ul.products li.product .price del { color: var(--muted); font-weight: 400; opacity: 0.8; }
.woocommerce ul.products li.product .price ins,
ul.products li.product .price ins { text-decoration: none; }

/* Add to Cart pinned to the bottom so buttons line up across the row. */
.woocommerce ul.products li.product .button,
ul.products li.product .button,
.single_add_to_cart_button {
	display: inline-block;
	background: var(--grad);
	color: #fff;
	border: 0;
	border-radius: 999px;
	padding: 0.55rem 1.15rem;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.85rem;
	line-height: 1.3;
	transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
	margin: auto 0 0;
}
.woocommerce ul.products li.product .button:hover,
ul.products li.product .button:hover,
.single_add_to_cart_button:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(232, 15, 158, 0.35);
	color: #fff;
}
/* "View cart" link that Woo injects after an AJAX add — keep it from
   breaking the button rhythm at the card foot. */
.woocommerce ul.products li.product a.added_to_cart {
	font-family: var(--font-mono);
	font-size: 0.65rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--violet);
	margin-top: 0.55rem;
}
/* Woo's `.woocommerce span.onsale` outranks a bare `span.onsale`, and it ships
   a negative margin (pushes the badge outside the card) plus min-width/height
   and line-height of 3.236em (forces a circle). All neutralized here. */
.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale,
span.onsale {
	position: absolute;
	top: 0.8rem;
	left: 0.8rem;
	right: auto;
	z-index: 2;
	margin: 0;
	background: var(--grad);
	color: #fff;
	font-family: var(--font-mono);
	font-size: 0.62rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 0.3rem 0.6rem;
	border-radius: 999px;
	min-width: 0;
	min-height: 0;
	width: auto;
	height: auto;
	line-height: 1.2;
}

/* ---------------------------------------------------------------- Quality / COA */
.quality { position: relative; overflow: hidden; }
.quality::before {
	content: "";
	position: absolute;
	inset: auto -20% -40% -20%;
	height: 70%;
	background: radial-gradient(50% 60% at 50% 100%, rgba(111, 31, 214, 0.25), transparent 70%);
	pointer-events: none;
}
.quality-inner {
	position: relative;
	display: grid;
	gap: 3rem;
	align-items: center;
}
.quality-copy p { color: var(--muted-inv); max-width: 46ch; }
.check-list {
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
	display: grid;
	gap: 0.7rem;
}
.check-list li {
	padding-left: 1.7rem;
	position: relative;
	color: var(--txt-inv);
}
.check-list li::before {
	content: "";
	position: absolute;
	left: 0; top: 0.42em;
	width: 0.85rem; height: 0.85rem;
	border-radius: 4px;
	background: var(--grad);
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M6.2 12.6 1.9 8.3l1.5-1.5 2.8 2.8 6.4-6.4 1.5 1.5z'/%3E%3C/svg%3E") center / contain no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M6.2 12.6 1.9 8.3l1.5-1.5 2.8 2.8 6.4-6.4 1.5 1.5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.coa-card {
	background: linear-gradient(165deg, var(--ink-2), var(--ink-3));
	border: 1px solid var(--line-dark);
	border-radius: var(--radius);
	padding: 1.6rem 1.7rem;
	color: var(--muted-inv);
	font-size: 0.72rem;
	box-shadow: var(--shadow-lift);
	max-width: 26rem;
	width: 100%;
	justify-self: center;
}
.coa-head {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding-bottom: 1rem;
	margin-bottom: 1rem;
	border-bottom: 1px solid var(--line-dark);
	color: var(--txt-inv);
}
.coa-rows { display: grid; gap: 0.65rem; margin: 0; }
.coa-rows div { display: flex; justify-content: space-between; gap: 1rem; }
.coa-rows dt { color: var(--muted-inv); }
.coa-rows dd { margin: 0; color: var(--txt-inv); text-align: right; }
.coa-strong {
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent !important;
	font-weight: 500;
}
.coa-bar {
	margin-top: 1.2rem;
	height: 6px;
	border-radius: 999px;
	background: var(--ink);
	overflow: hidden;
}
.coa-bar span {
	display: block;
	height: 100%;
	width: var(--w, 99%);
	background: var(--grad);
	border-radius: inherit;
	transform-origin: left;
	animation: pepera-fill 1.4s var(--ease) both;
}
@keyframes pepera-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.coa-foot { margin: 1rem 0 0; font-size: 0.62rem; letter-spacing: 0.12em; }

@media (min-width: 900px) {
	.quality-inner { grid-template-columns: 1.05fr 0.95fr; }
}

/* ---------------------------------------------------------------- Features */
.feature-grid {
	display: grid;
	gap: 1.2rem;
}
.feature-card {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.7rem 1.6rem;
	transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature-num {
	font-size: 0.72rem;
	color: var(--magenta);
	margin-bottom: 0.9rem;
}
.feature-card p { color: var(--muted); margin: 0; font-size: 0.97rem; }
@media (min-width: 760px) {
	.feature-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------------------------------------------------------------- Testimonials */
.review-grid { display: grid; gap: 1.2rem; }
.review-card {
	margin: 0;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.5rem 1.5rem 1.3rem;
	display: flex;
	flex-direction: column;
	transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stars {
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	letter-spacing: 0.15em;
	margin-bottom: 0.7rem;
	font-size: 0.85rem;
}
.review-card blockquote { margin: 0 0 1rem; }
.review-card blockquote p { margin: 0; font-size: 0.98rem; }
.review-card figcaption { color: var(--muted); font-size: 0.66rem; margin-top: auto; }
@media (min-width: 720px) { .review-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------------------------------------------------------------- FAQ */
.faq-list { display: grid; gap: 0.8rem; }
.faq-list details {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	overflow: hidden;
	transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.faq-list details[open] { border-color: transparent; box-shadow: var(--shadow); }
.faq-list summary {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.05rem 1.25rem;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-icon {
	flex: none;
	width: 1.5rem; height: 1.5rem;
	border-radius: 50%;
	background: var(--grad-soft);
	position: relative;
	transition: transform 0.3s var(--ease);
}
.faq-icon::before, .faq-icon::after {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 0.65rem; height: 2px;
	background: var(--violet);
	border-radius: 2px;
}
.faq-icon::after { transform: rotate(90deg); }
details[open] .faq-icon { transform: rotate(135deg); }
.faq-body { padding: 0 1.25rem 1.15rem; }
.faq-body p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* ---------------------------------------------------------------- Contact */
.contact { position: relative; overflow: hidden; }
.contact::before {
	content: "";
	position: absolute;
	inset: -30% -10% auto auto;
	width: 34rem; height: 34rem;
	background: radial-gradient(closest-side, rgba(232, 15, 158, 0.18), transparent);
	pointer-events: none;
}
.contact-inner { position: relative; display: grid; gap: 3rem; align-items: start; }
.contact-copy p { color: var(--muted-inv); max-width: 42ch; }
.contact-line { color: var(--txt-inv); margin-block: 1.4rem 2rem; }

.contact-form-wrap {
	background: var(--card);
	color: var(--txt);
	border-radius: var(--radius);
	padding: clamp(1.4rem, 3.5vw, 2.2rem);
	box-shadow: var(--shadow-lift);
}
.contact-form p { margin: 0 0 1.1rem; }
.contact-form label {
	display: block;
	font-family: var(--font-mono);
	font-size: 0.68rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 0.4rem;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea,
.search-form input[type="search"] {
	width: 100%;
	border: 1.5px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--paper);
	padding: 0.75rem 0.9rem;
	font: inherit;
	color: var(--txt);
	transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.contact-form textarea { resize: vertical; min-height: 8rem; }
.contact-form input:focus, .contact-form textarea:focus, .search-form input:focus {
	outline: none;
	border-color: var(--violet);
	box-shadow: 0 0 0 3px rgba(111, 31, 214, 0.16);
}
.hp-field { position: absolute !important; left: -9999px; }
.form-notice {
	border-radius: var(--radius-sm);
	padding: 0.8rem 1rem;
	font-size: 0.92rem;
	margin-bottom: 1.2rem;
}
.form-notice-ok { background: #e9fbf1; color: #0c6b3d; border: 1px solid #bfe9d2; }
.form-notice-err { background: #fdeef4; color: #a1145f; border: 1px solid #f5c4dc; }

@media (min-width: 900px) {
	.contact-inner { grid-template-columns: 0.9fr 1.1fr; }
}

/* ---------------------------------------------------------------- Footer */
.site-footer { background: var(--ink); color: var(--muted-inv); }
.footer-keyline { height: 3px; background: var(--grad); }
.footer-grid {
	display: grid;
	gap: 2.4rem;
	padding-block: clamp(2.8rem, 6vw, 4rem) 2rem;
}
.footer-logo {
	width: 180px;
	margin-bottom: 1.1rem;
	filter: drop-shadow(0 0 8px rgba(111, 31, 214, 0.45)) drop-shadow(0 0 18px rgba(232, 15, 158, 0.26));
}
.footer-brand p { font-size: 0.94rem; max-width: 34ch; }
.footer-meta { color: var(--magenta); font-size: 0.64rem; }
.footer-title {
	font-size: 0.78rem;
	font-family: var(--font-mono);
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--txt-inv);
	margin-bottom: 1rem;
}
.footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-menu a {
	color: var(--muted-inv);
	text-decoration: none;
	font-size: 0.95rem;
	transition: color 0.2s var(--ease);
}
.footer-menu a:hover { color: var(--txt-inv); }
.footer-disclaimer {
	border-top: 1px solid var(--line-dark);
	padding-block: 1.6rem 0.4rem;
	font-size: 0.78rem;
	line-height: 1.6;
	color: color-mix(in srgb, var(--muted-inv) 75%, transparent);
}
.footer-disclaimer strong { color: var(--muted-inv); }
.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.6rem;
	padding-block: 1.2rem 1.6rem;
	font-size: 0.8rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom .mono { color: var(--magenta); font-size: 0.64rem; }
@media (min-width: 800px) {
	.footer-grid { grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr; }
}

/* ---------------------------------------------------------------- RUO gate */
.ruo-gate {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: grid;
	place-items: center;
	padding: var(--gutter);
	background: rgba(6, 10, 31, 0.8);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}
.ruo-gate[hidden] { display: none; }
.ruo-gate-card {
	background: var(--card);
	color: var(--txt);
	border-radius: var(--radius);
	max-width: 26rem;
	padding: 2.2rem 2rem;
	text-align: center;
	display: grid;
	justify-items: center;
	gap: 0.4rem;
	box-shadow: var(--shadow-lift);
	animation: pepera-pop 0.45s var(--ease) both;
}
@keyframes pepera-pop {
	from { opacity: 0; transform: translateY(14px) scale(0.97); }
	to { opacity: 1; transform: none; }
}
.ruo-gate-card h2 { margin: 0.6rem 0 0.2rem; font-size: 1.35rem; }
.ruo-gate-card p { color: var(--muted); font-size: 0.95rem; }
.ruo-gate-card .btn { margin-top: 0.6rem; }
.ruo-gate-leave {
	font-size: 0.8rem;
	color: var(--muted);
	margin-top: 0.4rem;
}
body.ruo-locked { overflow: hidden; }

/* ---------------------------------------------------------------- Content pages / blog */
.entry-content { max-width: 65ch; }
.entry-content a { color: var(--violet); }
.post-list { display: grid; gap: 1.4rem; }
.post-card {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.6rem;
}
.post-card-title { font-size: 1.25rem; margin-bottom: 0.2rem; }
.post-card-title a { text-decoration: none; color: var(--txt); }
.post-card-title a:hover { color: var(--violet); }
.post-card-meta { color: var(--muted); font-size: 0.68rem; }
.center-404 { text-align: center; padding-block: 2rem; }
.search-form { display: flex; gap: 0.6rem; max-width: 30rem; margin-inline: auto; }
.center-404 .search-form { margin-block: 1.5rem; }

/* ---------------------------------------------------------------- WooCommerce pages */
.shop-shell .woocommerce-products-header__title {
	font-size: clamp(1.7rem, 4.6vw, 2.5rem);
}
.woocommerce-result-count { color: var(--muted); font-size: 0.9rem; }
.woocommerce-ordering select {
	border: 1.5px solid var(--line);
	border-radius: var(--radius-sm);
	padding: 0.5rem 0.8rem;
	background: var(--card);
	font: inherit;
}
.woocommerce-breadcrumb { color: var(--muted); font-size: 0.85rem; margin-bottom: 1.4rem; }
.woocommerce-breadcrumb a { color: var(--muted); }
nav.woocommerce-pagination ul {
	border: 0;
	display: flex;
	gap: 0.4rem;
	justify-content: center;
	margin-top: 2.4rem;
}
nav.woocommerce-pagination ul li { border: 0; }
nav.woocommerce-pagination ul li a,
nav.woocommerce-pagination ul li span {
	display: grid;
	place-items: center;
	min-width: 2.4rem; height: 2.4rem;
	border-radius: 50%;
	background: var(--card);
	border: 1px solid var(--line);
	color: var(--txt);
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.85rem;
}
nav.woocommerce-pagination ul li span.current,
nav.woocommerce-pagination ul li a:hover {
	background: var(--grad);
	border-color: transparent;
	color: #fff;
}

/* Single product */
.single-product div.product .product_title { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.single-product div.product p.price {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.4rem;
	color: var(--txt);
}
.single-product div.product .woocommerce-product-details__short-description { color: var(--muted); }
.single-product div.product form.cart div.quantity .qty {
	border: 1.5px solid var(--line);
	border-radius: var(--radius-sm);
	padding: 0.6rem;
	width: 4.4rem;
}
.single-product div.product .woocommerce-tabs ul.tabs {
	padding: 0;
	margin-bottom: 0;
}
.single-product div.product .woocommerce-tabs ul.tabs::before { border-color: var(--line); }
.single-product div.product .woocommerce-tabs ul.tabs li {
	background: transparent;
	border: 0;
	border-radius: 0;
}
.single-product div.product .woocommerce-tabs ul.tabs li::before,
.single-product div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.single-product div.product .woocommerce-tabs ul.tabs li a {
	font-family: var(--font-display);
	font-weight: 600;
	color: var(--muted);
}
.single-product div.product .woocommerce-tabs ul.tabs li.active a { color: var(--txt); }
.woocommerce-product-gallery img { border-radius: var(--radius); }

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	border-top-color: var(--violet);
	background: var(--card);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow);
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--violet); }
.woocommerce-error { border-top-color: var(--magenta); }
.woocommerce-error::before { color: var(--magenta); }
.woocommerce-message .button, .woocommerce-info .button {
	background: var(--grad);
	color: #fff;
	border-radius: 999px;
}

/* Cart / checkout */
.woocommerce table.shop_table {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	border-collapse: separate;
	overflow: hidden;
	background: var(--card);
}
.woocommerce table.shop_table th { font-family: var(--font-display); }
.woocommerce .cart .button,
.woocommerce .checkout-button,
.woocommerce #place_order,
.woocommerce button.button.alt {
	background: var(--grad);
	color: #fff;
	border-radius: 999px;
	font-family: var(--font-display);
	font-weight: 600;
	transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.woocommerce .checkout-button:hover,
.woocommerce #place_order:hover,
.woocommerce button.button.alt:hover {
	background: var(--grad);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(232, 15, 158, 0.35);
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
	border: 1.5px solid var(--line);
	border-radius: var(--radius-sm);
	padding: 0.7rem 0.85rem;
	background: var(--card);
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	padding: 0;
	display: grid;
	gap: 0.3rem;
}
.woocommerce-account .woocommerce-MyAccount-navigation a {
	display: block;
	padding: 0.6rem 0.9rem;
	border-radius: var(--radius-sm);
	text-decoration: none;
	color: var(--muted);
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
	background: var(--grad-soft);
	color: var(--txt);
}

/* ---------------------------------------------------------------- Motion safety */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.001s !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001s !important;
	}
	[data-reveal] { opacity: 1; transform: none; }
}
