/* Onyx. A single charcoal palette throughout the research catalogue. */
html[data-theme="dark"] {
	--onyx-page: #0c1215;
	--onyx-surface: #141d21;
	--onyx-raised: #1b272c;
	--onyx-ink: #f3f5f4;
	--onyx-muted: #aab7bb;
	--onyx-border: #2b383e;
	--onyx-shadow: 0 18px 52px rgba(0, 0, 0, .22);
	--onyx-overlay: rgba(12, 18, 21, .97);
	--onyx-scrim: rgba(5, 10, 13, .65);
	--onyx-field-border: #687a82;
	--void: var(--onyx-page);
	--deep: #10191d;
	--panel: var(--onyx-surface);
	--glass: var(--onyx-raised);
	--page: var(--onyx-page);
	--band: var(--deep);
	--surface: var(--onyx-surface);
	--surface-raised: var(--onyx-raised);
	--text: var(--onyx-ink);
	--muted: var(--onyx-muted);
	--quiet: #98a7ac;
	--line: var(--onyx-border);
	--line-strong: #45565e;
	--accent: #00c7dc;
	--accent-bright: #00c7dc;
	--accent-text: #00c7dc;
	--accent-ink: #06252a;
	--accent-cool: #00c7dc;
	--blue: #45a6b2;
	--ok: #8acc9e;
	--warn: #e6bd79;
	--r-sm: 5px;
	--r-md: 10px;
	--r-lg: 14px;
	--r-xl: 20px;
	--nav-h: 78px;
	--onyx-bottom-nav: 0px;
	background: var(--page);
	color: var(--text);
	color-scheme: dark;
}
html[data-theme="dark"] body.onyx-theme {
	background: var(--page);
	color: var(--text);
	padding-bottom: var(--onyx-bottom-nav);
}
html[data-theme="dark"] .onyx-theme :is(h1, h2, h3, h4) { color: var(--text); }
html[data-theme="dark"] .onyx-theme a:focus-visible,
html[data-theme="dark"] .onyx-theme button:focus-visible,
html[data-theme="dark"] .onyx-theme :is(input, textarea, select, summary):focus-visible {
	outline: 2px solid var(--accent-text);
	outline-offset: 4px;
}
.onyx-theme ::selection { background: var(--accent); color: var(--accent-ink); }
.onyx-theme .radial::before { background: none; }

/* A restrained navigation bar, identical on every catalogue route. */
html[data-theme="dark"] .onyx-announce {
	min-height: 28px;
	padding: 5px 0;
	border-color: var(--line);
	background: var(--deep);
	color: var(--muted);
	font-size: 10px;
	font-weight: 400;
	letter-spacing: .07em;
}
.onyx-announce .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
html[data-theme="dark"] .onyx-announce .code { color: var(--muted); border-color: var(--line-strong); padding-block: 0; }
html[data-theme="dark"] .onyx-header,
html[data-theme="dark"] .onyx-header.stuck { background: var(--page); border-bottom: 1px solid var(--line); box-shadow: none; backdrop-filter: none; }
html[data-theme="dark"] .onyx-header .onyx-header-inner {
	display: flex;
	min-height: var(--nav-h);
	gap: clamp(20px, 3vw, 48px);
}
html[data-theme="dark"] .onyx-wordmark,
html[data-theme="dark"] .onyx-header a.onyx-wordmark {
	flex: 0 0 auto;
	width: auto;
	height: auto;
	min-width: 0;
	gap: 0;
	color: var(--text);
	font-family: "Sora", "Inter Tight", sans-serif;
	font-size: 31px;
	line-height: 1.3;
	letter-spacing: -.075em;
	white-space: nowrap;
}
html[data-theme="dark"] .onyx-wordmark > .onyx-brand-name { display: inline; }
.onyx-brand-pept { font-weight: 300; }
.onyx-brand-pro { color: #00c7dc; font-weight: 800; }
html[data-theme="dark"] .onyx-header .primary-nav { margin: 0; justify-self: auto; }
html[data-theme="dark"] .onyx-header .primary-nav .menu { gap: clamp(16px, 2vw, 28px); }
html[data-theme="dark"] .onyx-header .primary-nav .menu a { color: var(--muted); font-size: 13px; font-weight: 500; }
html[data-theme="dark"] .onyx-header .primary-nav .menu a:is(:hover, [aria-current="page"]) { color: var(--text); }
/* A click-operated category disclosure keeps the Catalogue link intact. */
.onyx-catalogue-nav { position: relative; }
.onyx-catalogue-row { display: flex; align-items: center; }
.onyx-category-toggle { display: grid; place-items: center; width: 44px; min-width: 44px; min-height: 44px; margin-left: 2px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; }
.onyx-category-toggle:hover, .onyx-category-toggle[aria-expanded="true"] { color: var(--accent); background: var(--surface); }
.onyx-category-toggle svg { transition: transform 160ms ease; }
.onyx-category-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.onyx-category-toggle[hidden], .onyx-category-links[hidden] { display: none; }
.onyx-category-links { position: absolute; z-index: 100; top: calc(100% + 8px); left: -14px; width: 220px; max-width: calc(100vw - 32px); margin: 0; padding: 8px; list-style: none; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); box-shadow: var(--onyx-shadow); }
html[data-theme="dark"] .onyx-header .primary-nav .onyx-category-links a { min-height: 46px; padding: 10px 12px; border: 0; border-radius: 6px; }
html[data-theme="dark"] .onyx-header .primary-nav .onyx-category-links a:is(:hover, :focus-visible, [aria-current="page"]) { color: var(--text); background: var(--surface-raised); }
.onyx-category-all { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
html[data-theme="dark"] .onyx-header .onyx-header-tools { display: flex; gap: 3px; margin-left: auto; }
html[data-theme="dark"] .onyx-header :is(.icon-button, .wishlist-link) { flex: 0 0 auto; width: 42px; height: 44px; min-width: 42px; min-height: 44px; color: var(--text); }
html[data-theme="dark"] .onyx-header #searchOpen.onyx-search-trigger {
	display: flex;
	justify-content: flex-start;
	gap: 10px;
	width: clamp(155px, 17vw, 220px);
	min-width: 0;
	height: 38px;
	min-height: 38px;
	margin: 3px 8px 3px 0;
	padding: 8px 12px;
	border: 1px solid var(--line-strong);
	border-radius: 8px;
	background: var(--surface);
	color: var(--muted);
	font-size: 12px;
	font-weight: 400;
}
.onyx-search-trigger span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-theme="dark"] .onyx-header #searchOpen.onyx-search-trigger:hover { border-color: var(--accent-text); color: var(--text); }
html[data-theme="dark"] .onyx-header .nav-toggle { display: none; }
html[data-theme="dark"] .onyx-header .n { top: 1px; right: 0; min-width: 15px; height: 15px; font-size: 10px; }
.onyx-mobile-nav { display: none; }

/* Common surfaces: underlying templates keep their content and controls. */
html[data-theme="dark"] .onyx-theme :is(.plate, .pp-card, .saved-card, .buy-panel, .report-panel, .empty-state, .compare-empty, .compare-instrument, .reports-filter, .faq-echo-aside, .purchase-pending, .pdp-shipping, .pay-preview, .r7-pen, .pc-standing, .pc-panel, .pc-summary) {
	background: var(--surface);
	border-color: var(--line);
	box-shadow: none;
}
html[data-theme="dark"] .onyx-theme :is(.quality-band, .usp, .r7-points) { background: var(--band); border-color: var(--line); }
html[data-theme="dark"] .onyx-theme .r7-points::before { background: none; }
html[data-theme="dark"] .onyx-theme .wrap .r7-points { background: transparent; }
html[data-theme="dark"] .onyx-theme :is(.cimg, .pd-gal .big, .p3-gal-thumb, .saved-media, .compare-product-image, .reports-page .rs-thumb) { background: var(--surface-raised); border-color: var(--line); }
.onyx-theme .peptpro-cartridge-figure {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 0;
	margin: 0;
}
.onyx-theme .peptpro-cartridge-figure img.peptpro-cartridge-artwork {
	position: static;
	flex: 1 1 0;
	min-height: 0;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	padding: 0;
	object-fit: contain;
	object-position: center;
	transform: none;
	clip-path: none;
	mix-blend-mode: normal;
	background: transparent;
}
.onyx-theme .peptpro-artwork-note {
	flex: 0 0 auto;
	display: block;
	padding: 3px 4px;
	color: var(--muted);
	font-size: 10px;
	line-height: 1.4;
	text-align: center;
}
.onyx-theme .onyx-signature-grid .onyx-product-image:has(.peptpro-cartridge-figure) {
	height: clamp(150px, 18vw, 200px);
	padding-block: 0;
}
.onyx-theme .pd-gal:has(.peptpro-cartridge-figure) { width: 100%; min-width: 0; align-self: stretch; }
.onyx-theme .pd-gal .big.p3-gal-empty:has(.peptpro-cartridge-figure) {
	width: 100%;
	aspect-ratio: 1;
	padding: 14px;
}
.onyx-theme :is(.saved-media, .compare-product-image, .p3-search-shot, .pc-line-thumb, .product-thumbnail) img:is([src*="/assets/img/cartridges/"], [src*="/assets/img/supplied-cartridges/"]) {
	position: static;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: center;
	transform: none;
	clip-path: none;
	mix-blend-mode: normal;
	background: transparent;
}
.onyx-theme img.peptpro-essential-artwork {
	position: static;
	width: 100%; height: 100%; max-width: 100%; max-height: 100%;
	object-fit: contain; object-position: center;
	transform: none; clip-path: none; mix-blend-mode: normal; background: transparent;
}
.onyx-theme .pd-gal:has(.peptpro-essential-artwork) { width: 100%; min-width: 0; align-self: stretch; }
.onyx-theme .pd-gal .big.p3-gal-empty:has(.peptpro-essential-artwork) { width: 100%; aspect-ratio: 1; padding: 14px; }
html[data-theme="dark"] .onyx-theme .pp-card { border-radius: var(--r-lg); }
html[data-theme="dark"] .onyx-theme .pp-card::before { background: radial-gradient(300px at var(--mx) var(--my), color-mix(in srgb, var(--accent) 5%, transparent), transparent 75%); }
html[data-theme="dark"] .onyx-theme .pp-card:hover { border-color: var(--line-strong); box-shadow: var(--onyx-shadow); transform: translateY(-2px); }
html[data-theme="dark"] .onyx-theme :is(.btn, a.btn, button.btn, .addc) { border-radius: 9px; box-shadow: none; }
html[data-theme="dark"] .onyx-theme :is(.btn-ghost, a.btn-ghost, button.btn-ghost, .addc-secondary) { color: var(--text); border-color: var(--line-strong); background: transparent; }
html[data-theme="dark"] .onyx-theme :is(.report-state, .report-pending, .price-pending) { color: var(--muted); }
html[data-theme="dark"] .onyx-theme :is(.report-state.available, .report-status.available) { color: var(--ok); }
html[data-theme="dark"] .onyx-theme :is(.chip, .card-top .tag) { border-color: var(--line-strong); color: var(--muted); background: transparent; }
html[data-theme="dark"] .onyx-theme :is(.catalogue-search, .catalogue-sort, .reports-filter input, .reports-filter select) { color: var(--text); background: var(--surface); border-color: var(--onyx-field-border); }
html[data-theme="dark"] .onyx-theme input::placeholder,
html[data-theme="dark"] .onyx-theme textarea::placeholder { color: var(--quiet); opacity: 1; }
html[data-theme="dark"] .onyx-theme .pc { --pc-field-line: var(--onyx-field-border); }
html[data-theme="dark"] .onyx-theme .reports-page .reports-well.rs-on .rs-pop { background: var(--surface); box-shadow: var(--onyx-shadow); }
html[data-theme="dark"] .onyx-theme .reports-page .reports-well.rs-on:is(.rs-open, :focus-within) { background: var(--surface); }
html[data-theme="dark"] .onyx-theme .reports-page .reports-well.rs-on .rs-opt:is([aria-selected="true"], :hover, .is-active) { color: var(--text); background: var(--surface-raised); }
html[data-theme="dark"] .onyx-theme .reports-page .reports-well.rs-on .rs-opt[aria-selected="true"] .rs-opt-name { color: var(--text); }
html[data-theme="dark"] .onyx-theme .reports-page .reports-well.rs-on .rs-group-head { background: var(--surface); color: var(--muted); }
html[data-theme="dark"] .onyx-theme .reports-page .reports-filter::before { background: none; }
html[data-theme="dark"] .onyx-theme .r7q--footer { background: var(--surface); border-color: var(--line); }

/* Search, cart, filter sheet and feedback retain the shared overlay controller. */
html[data-theme="dark"] .onyx-theme .backdrop { background: var(--onyx-scrim); }
html[data-theme="dark"] .onyx-theme :is(.drawer, .filter-sheet, .compare-tray, .p3-box-tray) { background: var(--surface); color: var(--text); border-color: var(--line-strong); box-shadow: var(--onyx-shadow); }
/* Let the products remain visible through the idle box selector. The expanded
   editor keeps its solid surface so quantities and totals stay easy to read. */
html[data-theme="dark"] .onyx-theme .p3-box-tray[data-box-count="0"][data-box-open="0"] {
	background: rgba(12, 20, 24, .64);
	border-color: rgba(153, 190, 201, .32);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(221, 249, 255, .05);
}
html[data-theme="dark"] .onyx-theme .pbt-start {
	background: transparent;
	border-color: rgba(190, 217, 225, .46);
	text-shadow: 0 1px 5px rgba(0, 0, 0, .8);
}
html[data-theme="dark"] .onyx-theme .pbt-idle-copy span { color: var(--text); }
html[data-theme="dark"] .onyx-theme .pbt-start:is(:hover, :focus-visible) {
	background: rgba(14, 196, 216, .1);
	border-color: var(--accent);
}
@media (prefers-reduced-transparency: reduce) {
	html[data-theme="dark"] .onyx-theme .p3-box-tray[data-box-count="0"][data-box-open="0"] {
		background: var(--surface);
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}
}
html[data-theme="dark"] .onyx-theme #peptSearch { background: var(--onyx-overlay); color: var(--text); }
html[data-theme="dark"] .onyx-theme #peptSearch .p3-search-input { border-color: var(--onyx-field-border); background: var(--surface); color: var(--text); border-radius: var(--r-md); }
html[data-theme="dark"] .onyx-theme #peptSearch button[type="submit"] { border-radius: var(--r-md); }
html[data-theme="dark"] .onyx-theme .p3-search-list { background: var(--surface); border-color: var(--line); }
html[data-theme="dark"] .onyx-theme .p3-search-option:is(:hover, [aria-selected="true"]) { background: var(--surface-raised); }
html[data-theme="dark"] .onyx-theme .p3-lightbox { background: var(--onyx-overlay); }
html[data-theme="dark"] .onyx-theme .toast { background: var(--surface); color: var(--text); border-color: var(--line-strong); box-shadow: var(--onyx-shadow); }

/* Footer: a quieter continuation of the page, with the real signup intact. */
html[data-theme="dark"] .onyx-footer { padding-block: 48px 24px; background: var(--page); color: var(--muted); border-color: var(--line); }
.onyx-footer-top { display: grid; grid-template-columns: 1.1fr 1.1fr 1.2fr; align-items: start; gap: 40px; padding-bottom: 40px; }
.onyx-footer-intro { min-width: 0; }
html[data-theme="dark"] .onyx-footer .onyx-wordmark { margin-bottom: 18px; font-size: 30px; }
html[data-theme="dark"] .onyx-footer .footer-claim { max-width: 26ch; margin-bottom: 16px; color: var(--text); font-size: 14px; line-height: 1.5; }
html[data-theme="dark"] .onyx-footer .ruo-block { max-width: 36ch; margin: 0; padding: 0; border: 0; color: var(--muted); font-size: 11px; }
.onyx-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
html[data-theme="dark"] .onyx-footer h4 { margin-bottom: 18px; color: var(--muted); font-size: 10px; letter-spacing: .1em; }
html[data-theme="dark"] .onyx-footer li a { color: var(--muted); font-size: 13px; }
html[data-theme="dark"] .onyx-footer li a:hover { color: var(--text); }
html[data-theme="dark"] .onyx-footer .menu-pending { color: var(--quiet); }
html[data-theme="dark"] .onyx-footer .tg-support { color: var(--muted); background: none; }
html[data-theme="dark"] .onyx-footer .tg-support:hover { color: var(--text); }
html[data-theme="dark"] .onyx-footer .r7nl-inline { border: 0; background: transparent; }
html[data-theme="dark"] .onyx-footer .r7nl-wrap { padding: 0; }
html[data-theme="dark"] .onyx-footer .r7nl-lede { font-size: 14px; font-weight: 500; line-height: 1.5; margin-bottom: 16px; }
html[data-theme="dark"] .onyx-footer .r7nl-row { gap: 8px; }
html[data-theme="dark"] .onyx-footer .r7nl-label { font-size: 11px; font-weight: 400; color: var(--muted); }
html[data-theme="dark"] .onyx-footer .r7nl-input { min-width: 0; border-color: var(--onyx-field-border); background: var(--surface); }
html[data-theme="dark"] .onyx-footer .r7nl-submit { padding-inline: 13px; }
html[data-theme="dark"] .onyx-footer .r7nl-note { font-size: 10px; }
html[data-theme="dark"] .onyx-footer .fbot { padding-top: 20px; border-color: var(--line); color: var(--quiet); font-size: 10px; gap: 30px; }
.onyx-footer .fbot > :last-child { max-width: 52ch; text-align: right; }

@media (max-width: 1100px) and (min-width: 901px) {
	html[data-theme="dark"] .onyx-header .onyx-header-inner { gap: 20px; }
	html[data-theme="dark"] .onyx-header .wishlist-link { display: none; }
	html[data-theme="dark"] .onyx-header #searchOpen.onyx-search-trigger { width: 156px; }
	.onyx-footer-top { gap: 24px; grid-template-columns: 1fr 1.25fr; }
	.onyx-footer-updates { grid-column: 1 / -1; max-width: 500px; }
}
@media (max-width: 900px) {
	html[data-theme="dark"] { --nav-h: 112px; --onyx-bottom-nav: calc(64px + env(safe-area-inset-bottom)); }
	html[data-theme="dark"] .onyx-header .onyx-header-inner { position: relative; flex-wrap: wrap; gap: 0 4px; min-height: var(--nav-h); padding-block: 6px 10px; }
	html[data-theme="dark"] .onyx-header a.onyx-wordmark { order: 0; margin-right: auto; font-size: 27px; min-height: 48px; }
	html[data-theme="dark"] .onyx-header .onyx-header-tools { display: contents; }
	html[data-theme="dark"] .onyx-header :is(.icon-button, .wishlist-link) { width: 42px; min-width: 42px; height: 48px; min-height: 48px; }
	html[data-theme="dark"] .onyx-header .wishlist-link { display: none; }
	html[data-theme="dark"] .onyx-header #cartOpen { order: 2; }
	html[data-theme="dark"] .onyx-header .nav-toggle { order: 3; display: grid; margin: 0; }
	html[data-theme="dark"] .onyx-header #searchOpen.onyx-search-trigger { order: 10; display: flex; flex: 1 0 100%; width: 100%; min-height: 40px; height: 40px; margin: 2px 0 0; font-size: 12px; padding: 8px 12px; }
	html[data-theme="dark"] .onyx-header .primary-nav { position: absolute; inset: 100% 0 auto; z-index: 99; display: none; max-height: calc(100svh - var(--nav-h) - var(--onyx-bottom-nav)); overflow-y: auto; padding: 12px 22px 22px; border-bottom: 1px solid var(--line); background: var(--page); box-shadow: var(--onyx-shadow); backdrop-filter: none; }
	html[data-theme="dark"] .onyx-header .primary-nav.open { display: block; }
	html[data-theme="dark"] .onyx-header .primary-nav .menu { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
	html[data-theme="dark"] .onyx-header .primary-nav .menu a { min-height: 50px; font-size: 16px; }
	.onyx-catalogue-row { border-bottom: 1px solid var(--line); }
	html[data-theme="dark"] .onyx-header .primary-nav .onyx-catalogue-row > a { flex: 1; border-bottom: 0; }
	.onyx-category-toggle { min-height: 48px; margin-left: 8px; }
	.onyx-category-links { position: static; width: 100%; max-width: none; margin: 6px 0 12px; border-color: var(--line); box-shadow: none; }
	html[data-theme="dark"] .onyx-header .primary-nav .onyx-category-links a { min-height: 48px; font-size: 15px; }
	html[data-theme="dark"] .onyx-header .mobile-nav-utilities { display: grid; gap: 4px; padding-top: 12px; }
	html[data-theme="dark"] .onyx-header .mobile-nav-tool { min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r-md); color: var(--muted); }
	html[data-theme="dark"] .onyx-mobile-nav { position: fixed; inset: auto 0 0; z-index: 90; display: grid; grid-template-columns: repeat(4, 1fr); min-height: var(--onyx-bottom-nav); padding: 7px max(12px, env(safe-area-inset-left)) calc(7px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--page); }
	.onyx-mobile-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 48px; color: var(--muted); font-size: 10px; line-height: 1.25; }
	.onyx-mobile-nav svg { width: 19px; height: 19px; }
	.onyx-mobile-nav a[aria-current="page"] { color: var(--accent-text); }
	.onyx-mobile-nav a[aria-current="page"] svg { stroke-width: 2; }
	.onyx-footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
	.onyx-footer-updates { grid-column: 1 / -1; max-width: 540px; }
	html[data-theme="dark"] .onyx-theme .compare-tray { bottom: calc(var(--onyx-bottom-nav) + 12px); }
	html[data-theme="dark"] .onyx-theme .p3-box-tray { bottom: calc(var(--onyx-bottom-nav) + 12px); }
	html[data-theme="dark"] body.onyx-theme.p3box-on { padding-bottom: calc(var(--onyx-bottom-nav) + var(--p3box-h, 84px) + 28px); }
	html[data-theme="dark"] body.onyx-theme.p3box-on .compare-tray { bottom: calc(var(--onyx-bottom-nav) + var(--p3box-h, 84px) + 24px); }
	html[data-theme="dark"] .onyx-theme .toast { bottom: calc(var(--onyx-bottom-nav) + 18px); }
	html[data-theme="dark"] .onyx-theme.compare-active .toast { bottom: calc(var(--onyx-bottom-nav) + 112px); }
}
@media (max-width: 560px) {
	html[data-theme="dark"] .onyx-announce { min-height: 26px; font-size: 9px; letter-spacing: .025em; }
	html[data-theme="dark"] .onyx-header .onyx-header-inner { padding-inline: 16px; }
	html[data-theme="dark"] .onyx-header a.onyx-wordmark { font-size: 26px; }
	html[data-theme="dark"] .onyx-footer { padding-block: 34px 20px; }
	.onyx-footer-top { grid-template-columns: 1fr; gap: 28px; padding-bottom: 28px; }
	.onyx-footer-updates { grid-column: auto; }
	.onyx-footer-links { gap: 20px; }
	html[data-theme="dark"] .onyx-footer .fbot { flex-direction: column; gap: 8px; }
	.onyx-footer .fbot > :last-child { text-align: left; }
	}
@media (prefers-reduced-motion: reduce) {
	html[data-theme="dark"] { scroll-behavior: auto; }
	.onyx-category-toggle svg { transition: none; }
	html[data-theme="dark"] .onyx-theme .pp-card:hover { transform: none; }
}

/* Explicitly opened support and feedback stand above the mobile navigation
   and any active catalogue trays. Their own scroll areas remain reachable. */
@media (max-width: 900px) {
	html[data-theme="dark"] body.onyx-theme { --onyx-support-offset: calc(var(--onyx-bottom-nav) + 12px); }
	html[data-theme="dark"] body.onyx-theme.p3box-on { --onyx-support-offset: calc(var(--onyx-bottom-nav) + var(--p3box-h, 84px) + 24px); }
	html[data-theme="dark"] body.onyx-theme.compare-active { --onyx-support-offset: calc(var(--onyx-bottom-nav) + 108px); }
	html[data-theme="dark"] body.onyx-theme.p3box-on.compare-active { --onyx-support-offset: calc(var(--onyx-bottom-nav) + var(--p3box-h, 84px) + 120px); }
	html[data-theme="dark"] .onyx-theme .r7s-card { bottom: var(--onyx-support-offset); max-height: calc(100vh - var(--onyx-support-offset) - 16px); max-height: calc(100dvh - var(--onyx-support-offset) - 16px); }
	html[data-theme="dark"] .onyx-theme .r6s { bottom: max(var(--r6s-lift), var(--onyx-support-offset)); }
	html[data-theme="dark"] body.onyx-theme:is(.p3box-on, .compare-active) .toast { bottom: var(--onyx-support-offset); }
}

/* Working policy destinations and the essential-storage notice. */
.onyx-legal-links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.onyx-legal-links [data-cookie-settings] { color: var(--muted); border: 0; padding: 0; background: transparent; font: inherit; text-align: left; cursor: pointer; }
.onyx-legal-links [data-cookie-settings]:hover { color: var(--accent); }
.onyx-legal-links [data-cookie-settings]:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.onyx-connection { display: inline-flex; align-items: center; gap: 8px; }
.onyx-connection svg { width: 15px; height: 15px; }
.onyx-theme .peptpro-pen-gift.is-locked { display: block; }
.onyx-cookie-notice { position: fixed; z-index: 245; left: 24px; bottom: 24px; width: min(620px, calc(100% - 48px)); display: flex; align-items: center; gap: 22px; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); box-shadow: 0 14px 46px #0005; }
.onyx-cookie-notice[hidden], .onyx-legal-links [hidden], .overlay-open .onyx-cookie-notice { display: none; }
.onyx-cookie-notice h2 { margin: 0 0 7px; font-size: 16px; line-height: 1.3; }
.onyx-cookie-notice p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.onyx-cookie-notice button { flex: 0 0 145px; min-height: 44px; border: 1px solid var(--accent); border-radius: 7px; padding: 10px 12px; color: #071316; background: var(--accent); font: inherit; font-size: 12px; line-height: 1.4; cursor: pointer; }
.onyx-cookie-notice button:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; }
@media (max-width: 900px) {
	.onyx-cookie-notice { left: 12px; bottom: calc(var(--onyx-bottom-nav, 64px) + 10px); width: calc(100% - 24px); gap: 12px; padding: 16px; flex-direction: column; align-items: stretch; }
	.onyx-cookie-notice button { flex-basis: auto; }
}

/* Catalogue discovery scrolls with its products. Two persistent search rows
   must not consume the browsing area above the bottom navigation and box tray. */
@media (max-width: 680px) {
	html[data-theme="dark"] .onyx-theme .mobile-discovery {
		position: static;
		top: auto;
		z-index: auto;
		gap: 8px;
		padding-block: 12px;
		background: var(--page);
		backdrop-filter: none;
	}
	html[data-theme="dark"] .onyx-theme .mobile-search-field {
		display: flex;
		align-items: center;
		gap: 10px;
		min-height: 46px;
		margin: 0;
		padding: 0 14px;
		border-radius: 9px;
	}
	html[data-theme="dark"] .onyx-theme .mobile-search-field > svg { flex: 0 0 19px; }
	html[data-theme="dark"] .onyx-theme .mobile-search-field #catalogueSearch { flex: 1 1 auto; min-width: 0; height: 46px; min-height: 46px; }
	html[data-theme="dark"] .onyx-theme :is(.mobile-filter-trigger, .mobile-sort) { min-height: 46px; margin: 0; padding-inline: 14px; }
	html[data-theme="dark"] .onyx-theme .mobile-sort { display: flex; }
	/* WooCommerce styles native selects with !important; keep a single visible
	   field boundary on this already-labelled sort control. */
	html[data-theme="dark"] .onyx-theme .mobile-sort #catalogueSort { min-height: 44px; padding: 0 !important; border: 0 !important; background: transparent !important; }

	/* The idle prompt stays discoverable in 90px; opening a box restores the
	   existing full tray, measured padding and controls without changing JS. */
	html[data-theme="dark"] .onyx-theme .p3-box-tray[data-box-count="0"][data-box-open="0"] .pbt-idle { display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; padding: 8px 10px; }
	html[data-theme="dark"] .onyx-theme .p3-box-tray[data-box-count="0"][data-box-open="0"] .pbt-idle-copy b { font-size: 12px; line-height: 1.4; }
	html[data-theme="dark"] .onyx-theme .p3-box-tray[data-box-count="0"][data-box-open="0"] .pbt-idle-copy span { display: none; }
	html[data-theme="dark"] .onyx-theme .p3-box-tray[data-box-count="0"][data-box-open="0"] .pbt-idle-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; }
	html[data-theme="dark"] .onyx-theme .p3-box-tray[data-box-count="0"][data-box-open="0"] .pbt-start { min-height: 44px; padding: 8px; font-size: 12px; }
}
