/* =============================================================
   American-Researchers — WooCommerce theme styles
   Port of the Shopify mlr-custom.css design system.
   ============================================================= */

:root {
	/* ---- red, white & blue (American) palette ---- */
	--tcp-red: #B22234;          /* Old Glory red — CTAs, prices, sale */
	--tcp-red-dark: #8B1A29;
	--tcp-red-soft: #FBEAEC;
	--tcp-red-bright: #FF5C6C;
	--tcp-sale-red: #D2102E;
	--tcp-navy: #0A3161;         /* Old Glory blue — chrome, headings, secondary accents */
	--tcp-navy-dark: #071F40;
	--tcp-navy-2: #1B4B8F;
	--tcp-navy-soft: #E8EEF7;
	--tcp-ink: #0B1B33;
	--tcp-ink-2: #33415C;
	--tcp-muted: #5F6B7D;
	--tcp-muted-2: #8591A3;
	--tcp-line: #E4E9F0;
	--tcp-line-2: #D9E0EA;
	--tcp-border: #C8D2E0;
	--tcp-cream: #F5F7FB;        /* page surface — cool white (token name kept) */
	--tcp-cream-2: #EBEFF6;
	--tcp-parchment: #EEF2F8;
	--tcp-green: #16A34A;
	--tcp-green-dark: #15803D;
	--tcp-green-soft: #DCFCE7;
	/* legacy accent tokens (names kept; remapped into the red/white/blue set) */
	--tcp-gold: var(--tcp-navy-2);
	--tcp-gold-deep: var(--tcp-navy);
	--tcp-amber: var(--tcp-navy-2);
	--tcp-copper: var(--tcp-navy);
	--tcp-maple: var(--tcp-red);
	--tcp-brown: var(--tcp-ink);
	--tcp-forest: var(--tcp-navy);
	--tcp-forest-deep: var(--tcp-navy-dark);
	--tcp-page: 1240px;
	--tcp-radius-btn: 12px;
	--tcp-radius-card: 16px;
	--tcp-radius-xl: 26px;
	--tcp-shadow-soft: 0 10px 30px rgba(11, 27, 51, .06);
	--tcp-shadow-lift: 0 18px 44px rgba(11, 27, 51, .10);
	--tcp-font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
	/* one title face sitewide: Plus Jakarta Sans for headings, buttons, prices
	   and the big display titles (hero, Box Builder, guides, FAQ contact) */
	--tcp-font-heading: 'Plus Jakarta Sans', 'DM Sans', system-ui, sans-serif;
	--tcp-font-display: var(--tcp-font-heading);
	/* motion: one decelerate curve for things arriving, one in-out for wipes,
	   one small overshoot reserved for "you did something" moments */
	--tcp-ease-out: cubic-bezier(.2, .8, .2, 1);
	--tcp-ease-in-out: cubic-bezier(.45, 0, .25, 1);
	--tcp-ease-pop: cubic-bezier(.2, .9, .3, 1.25);
	--tcp-dur-fast: .15s;
	--tcp-dur: .28s;
	--tcp-dur-slow: .5s;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
/* Kill the default mobile tap-highlight (transparent blue rectangle on tap) site-wide */
* { -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--tcp-font-body);
	font-size: 14px;
	line-height: 1.6;
	color: var(--tcp-ink);
	background: var(--tcp-cream);
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--tcp-font-heading); font-weight: 800; color: var(--tcp-navy); margin: 0 0 .5em; }
a { color: inherit; }
img { max-width: 100%; height: auto; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }
/* Prevent accidental text selection on UI chrome & icons while keeping page copy selectable */
.tcp-announcements,
.tcp-header,
.tcp-mobile-nav,
.tcp-checkout-header,
button,
.tcp-btn,
svg { -webkit-user-select: none; user-select: none; }
.tcp-wrap { max-width: var(--tcp-page); margin: 0 auto; padding: 0 28px; }
.tcp-anchor { scroll-margin-top: 140px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tcp-hp { position: absolute; left: -9999px; opacity: 0; }

.tcp-kicker {
	color: var(--tcp-red);
	text-transform: uppercase;
	letter-spacing: .16em;
	font-weight: 700;
	font-size: .75rem;
	margin: 0 0 6px;
}
.tcp-h2 { font-size: 34px; line-height: 1.1; margin: 0; }

/* fade-in: main.js adds .tcp-reveal only to sections that start below the
   fold, so nothing on first paint is ever hidden (and no JS = no hiding). */
.tcp-reveal { opacity: 0; transform: translateY(12px); transition: opacity var(--tcp-dur-slow) var(--tcp-ease-out), transform var(--tcp-dur-slow) var(--tcp-ease-out); }
.tcp-reveal.is-visible { opacity: 1; transform: none; }
/* cards inside a revealed section rise in one after another (--i set by main.js).
   An animation with backwards fill, not a transition, so the cards' own hover
   lift is untouched once it has played. */
.tcp-reveal:not(.is-visible) :is(.tcp-card, .tcp-coa-card, .tcp-post-card) { opacity: 0; }
.tcp-reveal.is-visible :is(.tcp-card, .tcp-coa-card, .tcp-post-card) { animation: tcp-rise var(--tcp-dur-slow) var(--tcp-ease-out) backwards; animation-delay: calc(var(--i, 0) * 45ms + 80ms); }
@keyframes tcp-rise { from { opacity: 0; transform: translateY(14px); } }

/* ---------- buttons ---------- */
/* CTAs share the heading face (Plus Jakarta Sans) so buttons read as part of the same
   type system as the pillar numbers, prices, and card titles — body font is
   reserved for running copy. */
.tcp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--tcp-font-heading);
	font-size: .9rem;
	font-weight: 700;
	letter-spacing: .01em;
	padding: 12px 22px;
	border-radius: var(--tcp-radius-btn);
	border: 0;
	cursor: pointer;
	text-decoration: none;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.tcp-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(178, 34, 52, .30); }
.tcp-btn:active { transform: scale(.98); box-shadow: 0 2px 6px rgba(178, 34, 52, .22); transition-duration: .06s; }
.tcp-btn--primary { background: var(--tcp-red); color: #fff; }
.tcp-btn--primary:hover { background: var(--tcp-red-dark); }
.tcp-btn--secondary { background: #fff; color: var(--tcp-ink); border: 1.5px solid var(--tcp-line-2); }
.tcp-btn--secondary:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, .10); }
.tcp-btn--dark { background: var(--tcp-navy); color: #fff; }
.tcp-btn--lg { padding: 15px 26px; box-shadow: 0 8px 22px rgba(178, 34, 52, .28); }
.tcp-btn--secondary.tcp-btn--lg { box-shadow: none; padding: 15px 24px; }
.tcp-btn--block { width: 100%; }
.tcp-btn--sm { padding: 9px 14px; font-size: .82rem; }
.tcp-btn.is-loading { opacity: .6; pointer-events: none; }

/* ---------- announcements ---------- */
.tcp-announcements {
	background: linear-gradient(90deg, var(--tcp-navy-dark), var(--tcp-navy) 50%, var(--tcp-navy-dark));
	color: #fff;
	text-align: center;
	padding: 8px 16px;
	position: relative;
	min-height: 36px;
}

/* thin star-and-stripe band across the top of the header (and footer) */
.tcp-leafline { line-height: 0; background: var(--tcp-cream); border-bottom: 1px solid var(--tcp-line); }
.tcp-leafline__svg { display: block; }
.tcp-announcements__item {
	margin: 0;
	font-size: .8rem;
	letter-spacing: .02em;
	color: #fff;
	display: none;
}
.tcp-announcements__item.is-active { display: block; animation: tcp-fade .4s ease; }
.tcp-announcements__item.is-bold { font-weight: 700; text-transform: uppercase; }
.tcp-announcements__item a { color: #fff; text-decoration: underline; }
@keyframes tcp-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- header ---------- */
.tcp-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: #fff;
	border-bottom: 1px solid var(--tcp-line);
	transition: background-color var(--tcp-dur) ease, box-shadow var(--tcp-dur) ease, margin-bottom var(--tcp-dur) var(--tcp-ease-out);
}
/* Once scrolled: frosted glass, and (desktop) a slimmer bar. The bar loses
   14px of height and gains the same 14px as margin, so the page below never
   jumps while it shrinks. */
.tcp-header.is-stuck { box-shadow: 0 2px 16px rgba(0, 0, 0, .08); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.tcp-header.is-stuck { background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); }
}
.tcp-header__inner { display: flex; align-items: center; justify-content: center; gap: 24px; min-height: 76px; max-width: 1360px; transition: min-height var(--tcp-dur) var(--tcp-ease-out); }
@media (min-width: 990px) {
	.tcp-header.is-stuck { margin-bottom: 14px; }
	.tcp-header.is-stuck .tcp-header__inner { min-height: 62px; }
}
.tcp-header__logo { flex-shrink: 0; }
.tcp-header__logo img, .tcp-logo img { height: 40px; width: auto; display: block; }
.tcp-header__logo img, .tcp-header__inner .custom-logo-link img {
	transition: transform var(--tcp-dur) var(--tcp-ease-out);
	transform-origin: center;
}
.tcp-header__logo:hover img, .tcp-header__logo:focus-visible img,
.tcp-header__inner .custom-logo-link:hover img, .tcp-header__inner .custom-logo-link:focus-visible img {
	transform: scale(1.04);
}
@media (prefers-reduced-motion: reduce) {
	.tcp-header__logo img, .tcp-header__inner .custom-logo-link img { transition: none; }
	.tcp-header__logo:hover img, .tcp-header__inner .custom-logo-link:hover img { transform: none; }
}
.tcp-header__nav { flex: 0 0 auto; }
/* nav = cream pill track with segmented-pill links (same language as the product tabs) */
.tcp-nav {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2px;
	margin: 0;
	padding: 4px;
	background: var(--tcp-cream);
	border: 1px solid var(--tcp-line);
	border-radius: 999px;
}
.tcp-nav .menu-item > a {
	display: block;
	position: relative;
	padding: 8px 14px;
	font-size: 14px;
	font-weight: 600;
	color: var(--tcp-ink);
	text-decoration: none;
	border-radius: 999px;
	transition: color .15s ease, background .15s ease, box-shadow .15s ease;
}
.tcp-nav .menu-item > a:hover { color: var(--tcp-red); background: #fff; box-shadow: var(--tcp-shadow-soft); }
.tcp-nav .current-menu-item > a,
.tcp-nav .current-menu-ancestor > a,
.tcp-nav .current_page_item > a {
	background: var(--tcp-navy);
	color: #fff;
}
.tcp-nav .current-menu-item > a:hover,
.tcp-nav .current-menu-ancestor > a:hover,
.tcp-nav .current_page_item > a:hover { background: var(--tcp-navy-dark); color: #fff; box-shadow: none; }
.tcp-nav .sub-menu {
	display: none;
	position: absolute;
	background: #fff;
	min-width: 250px;
	border: 1px solid var(--tcp-line);
	border-radius: 16px;
	box-shadow: var(--tcp-shadow-lift);
	list-style: none;
	padding: 8px;
}
.tcp-nav .menu-item { position: relative; }
.tcp-nav li:hover > .sub-menu { display: block; }
.tcp-nav .sub-menu a { color: var(--tcp-ink-2); border-radius: 10px; }
.tcp-nav .sub-menu a:hover { color: var(--tcp-red); background: var(--tcp-red-soft); box-shadow: none; }

/* ---------- mega menus (inc/mega-menu.php + main.js) ----------
   Dark full-width panels under the header. Their <li>s are position:static so
   the panel anchors to the sticky header and spans the whole viewport
   (except .tcp-mega--compact, which drops under its own link). */
.tcp-nav .tcp-mega { position: static; }
.tcp-nav .tcp-mega > a { display: inline-flex; align-items: center; gap: 4px; }
.tcp-mega__chev { transition: transform .22s var(--tcp-ease-out); }
.tcp-nav .tcp-mega.is-open > a { color: var(--tcp-red); background: #fff; box-shadow: var(--tcp-shadow-soft); }
.tcp-nav .tcp-mega.is-open.current-menu-item > a { color: #fff; background: var(--tcp-navy-dark); }
.tcp-mega.is-open .tcp-mega__chev { transform: rotate(180deg); }
.tcp-mega__panel {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 60;
	visibility: hidden;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity .18s ease, transform .26s var(--tcp-ease-out), visibility 0s linear .18s;
}
/* hover bridge over the gap between the link and the panel */
.tcp-mega__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
.tcp-mega.is-open > .tcp-mega__panel { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.tcp-mega__inner {
	display: grid;
	gap: 26px 40px;
	padding: 32px max(28px, calc(50% - 600px)) 34px;
	border-radius: 0 0 30px 30px;
	background: radial-gradient(90% 90% at 50% 0%, var(--tcp-navy-2) 0%, var(--tcp-navy-dark) 72%);
	box-shadow: 0 34px 70px -28px rgba(7, 20, 40, .7);
	color: #fff;
}
.tcp-mega__inner--shop { grid-template-columns: minmax(250px, 1fr) 340px minmax(280px, 1fr); }
.tcp-mega__inner--research { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) 200px 210px; gap: 34px; }
.tcp-mega__panel a { text-decoration: none; }
.tcp-mega__heading { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .72); }
.tcp-mega__words { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.tcp-mega__word {
	font-family: var(--tcp-font-heading);
	font-size: 30px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.02em;
	color: rgba(255, 255, 255, .58);
	transition: color .15s ease, transform .22s var(--tcp-ease-out);
}
.tcp-mega__word.is-on, .tcp-mega__word:hover, .tcp-mega__word:focus-visible { color: #fff; transform: translateX(6px); }
.tcp-mega__all { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 16px; font-weight: 600; color: #A9C4EE; }
.tcp-mega__all:hover { color: #fff; }
.tcp-mega__quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tcp-mega__quick a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 15px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); font-size: 14px; font-weight: 600; color: #fff; transition: background .15s ease; }
.tcp-mega__quick a:hover { background: rgba(255, 255, 255, .1); }
.tcp-mega__plate, .tcp-mega__thumb, .tcp-mega__chip-img { display: block; overflow: hidden; background: #fff; }
.tcp-mega__plate img, .tcp-mega__thumb img, .tcp-mega__chip-img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.tcp-mega__plate { aspect-ratio: 1; border-radius: 30px; box-shadow: 0 30px 80px -20px rgba(110, 160, 235, .55); }
.tcp-mega__plate img { padding: 6%; transition: opacity .15s ease; }
.tcp-mega__rank { list-style: none; margin: 0; padding: 0; }
.tcp-mega__rank li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.tcp-mega__rank a { display: flex; align-items: center; gap: 12px; padding: 7px 0; color: #fff; }
.tcp-mega__num { flex: 0 0 24px; font-size: 22px; font-weight: 700; text-align: center; color: var(--tcp-red-bright); font-variant-numeric: tabular-nums; }
.tcp-mega__thumb { flex: 0 0 auto; width: 54px; height: 54px; border-radius: 13px; }
.tcp-mega__rt { min-width: 0; }
.tcp-mega__rt b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.25; transition: color .15s ease; }
.tcp-mega__rt small { display: block; margin-top: 2px; font-size: 13px; color: rgba(255, 255, 255, .72); }
.tcp-mega__rank a:hover b { color: #A9C4EE; }
.tcp-mega__low { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); }
.tcp-mega__low .tcp-mega__heading { flex: 0 0 auto; margin: 0; }
.tcp-mega__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tcp-mega__chip { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 4px 14px 4px 5px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 14px; font-weight: 600; color: #fff; transition: background .15s ease; }
.tcp-mega__chip:hover { background: rgba(255, 255, 255, .18); }
.tcp-mega__chip-img { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; }
.tcp-mega__chip-img img { object-fit: cover; transform: scale(1.5); }
/* research panel: tool tiles | latest articles | guide + topic link lists */
.tcp-mega__tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tcp-mega__tool { display: flex; flex-direction: column; gap: 8px; padding: 13px; border-radius: 15px; background: rgba(255, 255, 255, .08); color: #fff; transition: background .15s ease; }
.tcp-mega__tool:hover { background: rgba(255, 255, 255, .15); }
.tcp-mega__tool svg { color: #A9C4EE; }
.tcp-mega__tool b { font-size: 14px; font-weight: 600; line-height: 1.25; }
.tcp-mega__posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tcp-mega__post { display: block; color: #fff; }
.tcp-mega__post span { display: block; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, .08); }
.tcp-mega__post img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.tcp-mega__post:hover img { transform: scale(1.04); }
.tcp-mega__post b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin-top: 8px; font-size: 13.5px; font-weight: 600; line-height: 1.3; transition: color .15s ease; }
.tcp-mega__post:hover b { color: #A9C4EE; }
.tcp-mega__links { list-style: none; margin: 0; padding: 0; }
.tcp-mega__links a { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 5px 0; font-size: 14.5px; color: rgba(255, 255, 255, .82); transition: color .15s ease; }
.tcp-mega__links a:hover { color: #fff; }
.tcp-mega__links small { font-size: 12px; color: rgba(255, 255, 255, .5); font-variant-numeric: tabular-nums; }
/* box builder + COA panels: a pitch column on the left */
.tcp-mega__inner--box { grid-template-columns: minmax(0, 1fr) minmax(0, 470px); align-items: center; gap: 30px 64px; }
.tcp-mega__inner--coas { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) 250px; gap: 34px; }
.tcp-mega__big { max-width: 15ch; margin: 0 0 18px; font-size: 38px; font-weight: 700; line-height: 1.08; letter-spacing: -.02em; }
.tcp-mega__inner--coas .tcp-mega__big { max-width: 17ch; font-size: 30px; margin-bottom: 12px; }
.tcp-mega__lead { max-width: 44ch; margin: 0 0 12px; font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, .78); }
.tcp-mega__steps { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.tcp-mega__steps li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; color: rgba(255, 255, 255, .88); }
.tcp-mega__steps span { flex: 0 0 auto; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .1); font-size: 13px; font-weight: 700; color: var(--tcp-red-bright); }
.tcp-mega__cta { display: inline-flex; align-items: center; gap: 8px; }
.tcp-mega__card { padding: 20px 22px; border-radius: 22px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); }
.tcp-mega__boxlist, .tcp-mega__reports { list-style: none; margin: 0; padding: 0; }
.tcp-mega__boxlist li, .tcp-mega__reports li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.tcp-mega__boxlist a, .tcp-mega__reports a { display: flex; align-items: center; gap: 12px; padding: 6px 0; color: #fff; }
.tcp-mega__boxlist .tcp-mega__thumb, .tcp-mega__reports .tcp-mega__thumb { width: 44px; height: 44px; border-radius: 11px; }
.tcp-mega__boxlist .tcp-mega__rt, .tcp-mega__reports .tcp-mega__rt { flex: 1 1 auto; }
.tcp-mega__boxlist a:hover b, .tcp-mega__reports a:hover .tcp-mega__rt b { color: #A9C4EE; }
.tcp-mega__px, .tcp-mega__pct { flex: 0 0 auto; text-align: right; font-variant-numeric: tabular-nums; }
.tcp-mega__px del { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .5); }
.tcp-mega__px b, .tcp-mega__pct b { display: block; font-size: 15px; font-weight: 700; }
.tcp-mega__pct small { display: block; font-size: 12px; color: rgba(255, 255, 255, .6); }
.tcp-mega__total { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0 0; font-size: 15px; font-weight: 600; }
.tcp-mega__total del { margin-right: 6px; font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .5); }
.tcp-mega__total b { font-size: 22px; }
.tcp-mega__save { margin: 6px 0 0; text-align: right; font-size: 14px; font-weight: 700; color: var(--tcp-red-bright); }
.tcp-mega__tags { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tcp-mega__tags li { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 13px; font-weight: 600; cursor: help; }
.tcp-mega__pitch .tcp-mega__all { margin-top: 0; }
.tcp-mega__sub { display: block; margin-top: 8px; font-size: 14px; color: rgba(255, 255, 255, .72); }
.tcp-mega__sub:hover { color: #fff; }
.tcp-mega__links--cols { columns: 2; column-gap: 20px; }
.tcp-mega__links--cols li { break-inside: avoid; }
/* help: a compact card under its own link instead of a full-width panel */
.tcp-nav .tcp-mega--compact { position: relative; }
.tcp-mega--compact > .tcp-mega__panel { left: auto; right: 0; width: 580px; top: calc(100% + 20px); }
.tcp-mega__inner--help { grid-template-columns: minmax(0, 1fr) 180px; gap: 18px 30px; padding: 24px 26px; border-radius: 24px; }
.tcp-mega__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.tcp-mega__facts li { display: flex; gap: 12px; }
.tcp-mega__facts svg { flex: 0 0 auto; margin-top: 1px; color: #A9C4EE; }
.tcp-mega__facts b { display: block; font-size: 15px; font-weight: 600; }
.tcp-mega__facts small { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.4; color: rgba(255, 255, 255, .72); }
.tcp-mega__mail { grid-column: 1 / -1; margin: 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; color: rgba(255, 255, 255, .72); }
.tcp-mega__mail a { color: #A9C4EE; font-weight: 600; }
.tcp-mega__mail a:hover { color: #fff; }
.tcp-mega__panel a:focus-visible { outline: 2px solid #A9C4EE; outline-offset: 3px; border-radius: 8px; }
@media (max-width: 1179px) {
	.tcp-mega__inner--coas { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.tcp-mega__inner--coas > :last-child { display: none; }
	.tcp-mega__big { font-size: 32px; }
	.tcp-mega__inner { gap: 20px 24px; }
	.tcp-mega__inner--shop { grid-template-columns: 220px 250px minmax(0, 1fr); }
	.tcp-mega__inner--research { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) 180px; }
	.tcp-mega__topics { display: none; }
	.tcp-mega__word { font-size: 25px; }
	.tcp-mega__low { flex-wrap: wrap; }
}
@media (max-width: 989px) {
	.tcp-mega__panel { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.tcp-mega__panel, .tcp-mega__word, .tcp-mega__chev { transition: none; }
}
.tcp-header__actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.tcp-header__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: none;
	border: 0;
	border-radius: 999px;
	color: var(--tcp-ink);
	cursor: pointer;
	position: relative;
	text-decoration: none;
	transition: color .15s ease, background .15s ease, transform .15s ease;
}
.tcp-header__icon:hover { color: var(--tcp-red); background: var(--tcp-red-soft); transform: translateY(-1px); }
.tcp-header__icon:active { transform: scale(.94); transition-duration: .06s; }

/* ---------- header account button + dropdown (inc/my-account.php, main.js) ----------
   ≥1240px: avatar + "Hello, Name / My account ⌄"; 990–1239px: avatar only;
   both open the navy panel on hover / focus. ≤989px: icon link, no panel. */
.tcp-acct-menu { position: relative; }
.tcp-header__icon.tcp-acct-menu__trigger { gap: 9px; }
.tcp-acct-menu__avatar {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	flex: none;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--tcp-navy-2), var(--tcp-navy-dark));
	box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--tcp-red);
	color: #fff;
	font-family: var(--tcp-font-heading);
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: .03em;
	line-height: 1;
}
.tcp-acct-menu__avatar--lg { width: 44px; height: 44px; font-size: 15px; box-shadow: 0 0 0 2px var(--tcp-navy-dark), 0 0 0 4px var(--tcp-red); }
.tcp-acct-menu__person { display: grid; }
.tcp-acct-menu__label { display: none; text-align: left; line-height: 1.15; }
.tcp-acct-menu__label small { display: block; font-size: 11.5px; font-weight: 500; color: var(--tcp-muted); white-space: nowrap; max-width: 130px; overflow: hidden; text-overflow: ellipsis; }
.tcp-acct-menu__label b { display: inline-flex; align-items: center; gap: 2px; font-family: var(--tcp-font-heading); font-size: 13.5px; font-weight: 700; color: var(--tcp-ink); white-space: nowrap; }
.tcp-acct-menu__chev { transition: transform .22s var(--tcp-ease-out); }
.tcp-acct-menu.is-open .tcp-acct-menu__chev { transform: rotate(180deg); }

.tcp-acct-menu__panel {
	position: absolute;
	top: calc(100% + 14px);
	right: -8px;
	z-index: 95;
	width: 368px;
	visibility: hidden;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity .18s ease, transform .26s var(--tcp-ease-out), visibility 0s linear .18s;
}
.tcp-acct-menu__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.tcp-acct-menu.is-open > .tcp-acct-menu__panel { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.tcp-acct-menu__inner {
	padding: 20px;
	border-radius: 22px;
	background: radial-gradient(120% 90% at 50% 0%, var(--tcp-navy-2) 0%, var(--tcp-navy-dark) 75%);
	box-shadow: 0 34px 70px -24px rgba(7, 20, 40, .7);
	color: #fff;
}
.tcp-acct-menu__panel a { text-decoration: none; }
.tcp-acct-menu__panel a:focus-visible { outline: 2px solid #A9C4EE; outline-offset: 2px; border-radius: 10px; }
.tcp-acct-menu__who { display: flex; align-items: center; gap: 14px; padding: 2px 2px 16px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.tcp-acct-menu__who > span:last-child { display: grid; min-width: 0; line-height: 1.3; }
.tcp-acct-menu__who b { font-family: var(--tcp-font-heading); font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tcp-acct-menu__who small { font-size: 12.5px; color: rgba(255, 255, 255, .65); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tcp-acct-menu__heading { margin: 14px 0 8px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.tcp-acct-menu__order-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	border-radius: 14px;
	background: rgba(255, 255, 255, .08);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
	color: #fff;
	transition: background .15s ease;
}
.tcp-acct-menu__order-card:hover { background: rgba(255, 255, 255, .14); }
.tcp-acct-menu__order-card > span:first-child { display: grid; min-width: 0; line-height: 1.3; }
.tcp-acct-menu__order-card b { font-family: var(--tcp-font-heading); font-size: 14.5px; }
.tcp-acct-menu__order-card small { font-size: 12.5px; color: rgba(255, 255, 255, .7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tcp-acct-menu__go { flex: none; padding: 5px 12px; border-radius: 999px; background: #fff; color: var(--tcp-navy); font-family: var(--tcp-font-heading); font-size: 12px; font-weight: 700; }
.tcp-acct-menu__go.is-pay { background: var(--tcp-red); color: #fff; }
.tcp-acct-menu__links { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.tcp-acct-menu__links a,
.tcp-acct-menu__logout {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 9px 10px;
	border-radius: 11px;
	font-size: 13.5px;
	font-weight: 600;
	color: rgba(255, 255, 255, .86);
	white-space: nowrap;
	transition: background .15s ease, color .15s ease;
}
.tcp-acct-menu__links .tcp-acct-icon,
.tcp-acct-menu__logout .tcp-acct-icon { width: 18px; height: 18px; flex: none; color: #A9C4EE; }
.tcp-acct-menu__links a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.tcp-acct-menu__logout { margin-top: 10px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .12); border-radius: 0; color: rgba(255, 255, 255, .65); }
.tcp-acct-menu__logout:hover { color: #fff; }
.tcp-acct-menu__logout:hover .tcp-acct-icon { color: var(--tcp-red-bright); }

.tcp-acct-menu__title { margin: 0; font-family: var(--tcp-font-heading); font-size: 19px; font-weight: 800; }
.tcp-acct-menu__intro { margin: 4px 0 14px; font-size: 13.5px; color: rgba(255, 255, 255, .7); }
.tcp-acct-menu__perks { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.tcp-acct-menu__perks li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255, 255, 255, .88); }
.tcp-acct-menu__perks .tcp-acct-icon { width: 18px; height: 18px; flex: none; color: #A9C4EE; }
.tcp-btn.tcp-acct-menu__cta { width: 100%; min-height: 46px; background: var(--tcp-red); color: #fff; box-shadow: 0 8px 20px rgba(178, 34, 52, .35); }
.tcp-btn.tcp-acct-menu__cta:hover { background: var(--tcp-red-dark); }
.tcp-acct-menu__new { margin: 12px 0 0; text-align: center; font-size: 13.5px; color: rgba(255, 255, 255, .7); }
.tcp-acct-menu__new a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 1240px) {
	.tcp-header__icon.tcp-acct-menu__trigger { width: auto; padding: 0 12px 0 5px; }
	.tcp-acct-menu:not(.is-in) .tcp-header__icon.tcp-acct-menu__trigger { padding-left: 10px; }
	.tcp-acct-menu__label { display: block; }
	.tcp-acct-menu .tcp-header__icon.tcp-acct-menu__trigger:hover { background: var(--tcp-cream); transform: none; }
	.tcp-acct-menu.is-open .tcp-header__icon.tcp-acct-menu__trigger { background: #fff; box-shadow: var(--tcp-shadow-soft); color: var(--tcp-ink); }
}
@media (max-width: 989px) {
	.tcp-acct-menu__panel { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.tcp-acct-menu__panel, .tcp-acct-menu__chev { transition: none; }
}
/* ---------- header search + cart buttons ----------
   Search: ≥990px a faux search field (icon, placeholder, "/" chip) that
   takes whatever width the nav leaves (up to 380px); it's a container, so
   it drops the chip, then the text, as it gets squeezed. Clicking it opens
   the search panel anchored on top of it (search.js). <990px: tinted circle.
   Cart: solid navy circle (the header's one filled control), red count
   bubble ringed in white, bag lifts its handle on hover. */
.tcp-header__search {
	background: var(--tcp-cream);
	box-shadow: inset 0 0 0 1px var(--tcp-line-2);
	color: var(--tcp-navy);
	transition: color .15s ease, background .15s ease, box-shadow .2s ease, transform .15s ease;
}
.tcp-header__search:hover {
	background: #fff;
	color: var(--tcp-navy);
	box-shadow: inset 0 0 0 1.5px var(--tcp-navy-2), 0 6px 16px -6px rgba(10, 49, 97, .28);
}
.tcp-header__search-in { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 100%; }
.tcp-header__search-glyph { flex: none; transition: transform .25s var(--tcp-ease-pop); }
.tcp-header__search:hover .tcp-header__search-glyph { transform: rotate(-12deg) scale(1.08); }
.tcp-header__search-text,
.tcp-header__kbd { display: none; }
@media (min-width: 990px) {
	.tcp-header__actions { flex: 1 1 auto; min-width: 0; justify-content: flex-end; }
	.tcp-header__actions > :not(.tcp-header__search) { flex-shrink: 0; }
	.tcp-header__icon.tcp-header__search {
		flex: 1 1 380px;
		width: auto;
		min-width: 40px;
		max-width: 380px;
		height: 44px;
		margin-right: 6px;
		container-type: inline-size;
	}
	.tcp-header__icon.tcp-header__search:hover { transform: none; }
	.tcp-header__search-in { justify-content: flex-start; padding: 0 9px 0 15px; }
	.tcp-header__search-text {
		display: block;
		flex: 1;
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		text-align: left;
		font-size: 14.5px;
		font-weight: 500;
		color: var(--tcp-muted);
		transition: color .15s ease;
	}
	.tcp-header__search:hover .tcp-header__search-text { color: var(--tcp-ink-2); }
	.tcp-header__kbd {
		display: grid;
		place-items: center;
		flex: none;
		width: 24px;
		height: 24px;
		border-radius: 7px;
		background: #fff;
		box-shadow: inset 0 0 0 1px var(--tcp-border), 0 1px 0 var(--tcp-border);
		color: var(--tcp-muted);
		font: 700 12px/1 var(--tcp-font-body);
	}
	.tcp-header__search-short { display: none; }
	@container (max-width: 270px) {
		.tcp-header__search-long { display: none; }
		.tcp-header__search-short { display: inline; }
	}
	@container (max-width: 150px) { .tcp-header__kbd { display: none; } }
	@container (max-width: 120px) {
		.tcp-header__search-in { justify-content: center; padding: 0; }
		.tcp-header__search-text { display: none; }
	}
}

.tcp-header__icon.tcp-header__cart {
	width: 44px;
	height: 44px;
	margin-left: 4px;
	background: var(--tcp-navy);
	color: #fff;
	box-shadow: 0 6px 16px -6px rgba(10, 49, 97, .55);
	transition: background .15s ease, box-shadow .2s ease, transform .2s var(--tcp-ease-pop);
}
.tcp-header__icon.tcp-header__cart:hover {
	background: var(--tcp-navy-2);
	color: #fff;
	box-shadow: 0 10px 22px -8px rgba(10, 49, 97, .6);
	transform: translateY(-2px);
}
.tcp-header__icon.tcp-header__cart:active { transform: scale(.94); }
.tcp-header__cart-handle { transition: transform .25s var(--tcp-ease-pop); }
.tcp-header__cart:hover .tcp-header__cart-handle { transform: translateY(-1.5px); }
.tcp-header__search:focus-visible,
.tcp-header__cart:focus-visible { outline: 2px solid var(--tcp-navy-2); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
	.tcp-header__search-glyph, .tcp-header__cart-handle { transition: none; }
}

.tcp-cart-bubble {
	position: absolute;
	top: -3px;
	right: -4px;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--tcp-red);
	box-shadow: 0 0 0 2px #fff;
	color: #fff;
	font-size: .7rem;
	font-weight: 800;
	line-height: 20px;
	text-align: center;
}
.tcp-cart-bubble.is-empty { display: none; }
/* cart-drawer.js replays this when the count goes up */
.tcp-cart-bubble.is-bump { animation: tcp-bump .45s var(--tcp-ease-pop); }
@keyframes tcp-bump { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 100% { transform: scale(1); } }
.tcp-header__burger { display: none; }
/* ---------- header search panel (inc/search.php + search.js) ----------
   Phones/tablets: centered sheet with its own field + Cancel.
   ≥990px (.is-anchored, set by search.js): the field sits exactly over the
   header field (--tcp-s-*), widens leftwards, and the results card drops
   down beneath it, right-aligned. */
.tcp-search { position: fixed; inset: 0; z-index: 950; display: flex; justify-content: center; align-items: flex-start; padding: 14px 16px; }
.tcp-search[hidden] { display: none; }
.tcp-search__scrim { position: absolute; inset: 0; background: rgba(11, 27, 51, .42); opacity: 0; transition: opacity .18s ease; }
.tcp-search__panel {
	position: relative;
	width: 100%;
	max-width: 600px;
	max-height: calc(100vh - 28px);
	max-height: calc(100dvh - 28px);
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--tcp-line);
	border-radius: 22px;
	box-shadow: var(--tcp-shadow-lift);
	overflow: hidden;
	opacity: 0;
	transform: translateY(-8px) scale(.985);
	transition: opacity .18s ease, transform .18s ease;
}
.tcp-search.is-open .tcp-search__scrim { opacity: 1; }
.tcp-search.is-open .tcp-search__panel { opacity: 1; transform: none; }
html.tcp-search-lock { overflow: hidden; padding-right: var(--tcp-sbw, 0px); }
.tcp-search__bar { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--tcp-line); }
.tcp-search__field {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0 6px 0 16px;
	height: 48px;
	border: 1.5px solid var(--tcp-navy-2);
	border-radius: 999px;
	background: #fff;
	color: var(--tcp-muted);
	transition: box-shadow .15s ease, border-color .15s ease;
}
.tcp-search__field:focus-within { border-color: var(--tcp-navy-2); box-shadow: 0 0 0 4px rgba(27, 75, 143, .14); }
.tcp-search__field > svg { flex: none; color: var(--tcp-navy); }
.tcp-search__field input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 15.5px; font-weight: 500; color: var(--tcp-ink); }
.tcp-search__field input::placeholder { color: var(--tcp-muted); font-weight: 500; }
.tcp-search__field input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
.tcp-search__kbd { font: 600 11px/1 var(--tcp-font-body); color: var(--tcp-muted); padding: 4px 7px; border: 1px solid var(--tcp-line-2); border-radius: 6px; background: var(--tcp-cream); }
.tcp-search__field:focus-within .tcp-search__kbd { display: none; }
.tcp-search__clear {
	flex: none;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	background: var(--tcp-cream-2);
	color: var(--tcp-ink-2);
	cursor: pointer;
	transition: background .15s ease, color .15s ease, transform .15s ease;
}
.tcp-search__clear:hover { background: var(--tcp-navy-soft); color: var(--tcp-navy); }
.tcp-search__clear:active { transform: scale(.92); }
.tcp-search__clear:focus-visible { outline: 2px solid var(--tcp-navy-2); outline-offset: 2px; }
/* the sheet has Cancel; × only appears once there's something to clear */
.tcp-search:not(.is-anchored):not(.has-query) .tcp-search__clear { display: none; }
.tcp-search__cancel { background: none; border: 0; padding: 6px 2px; font: inherit; font-weight: 700; color: var(--tcp-navy-2); cursor: pointer; }
.tcp-search__cancel:hover { color: var(--tcp-red); }
.tcp-search__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 6px 18px 18px; }
.tcp-search__section + .tcp-search__section { margin-top: 4px; }
.tcp-search__head { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--tcp-muted-2); }
.tcp-search__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 0 4px; }
.tcp-search__chip {
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	border: 1px solid var(--tcp-line-2);
	border-radius: 999px;
	background: #fff;
	color: var(--tcp-ink);
	font-weight: 600;
	font-size: 13px;
	text-decoration: none;
	transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.tcp-search__chip:hover, .tcp-search__chip:focus-visible { border-color: var(--tcp-navy-2); color: var(--tcp-navy); outline: none; }
.tcp-search__chip.is-link { background: var(--tcp-navy-soft); border-color: #D3DEEE; color: var(--tcp-navy-2); }
.tcp-search__chip.is-link:hover, .tcp-search__chip.is-link:focus-visible { background: #DCE6F4; border-color: var(--tcp-navy-2); }
.tcp-search__list, .tcp-search__guides { list-style: none; margin: 0; padding: 0; }
.tcp-search__row { display: flex; align-items: center; gap: 12px; }
.tcp-search__row + .tcp-search__row, .tcp-search__guides li + li { border-top: 1px solid var(--tcp-line); }
.tcp-search__item { flex: 1; min-width: 0; display: flex; align-items: center; gap: 16px; padding: 12px 8px 12px 0; text-decoration: none; color: inherit; outline: none; }
.tcp-search__thumb { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 12px; background: var(--tcp-cream); transition: transform .2s var(--tcp-ease-out); }
.tcp-search__thumb img { width: 56px; height: 56px; object-fit: contain; }
.tcp-search__item:hover .tcp-search__thumb, .tcp-search__item:focus-visible .tcp-search__thumb { transform: scale(1.05); }
.tcp-search__text { display: flex; flex-direction: column; gap: 1px; min-width: 0; line-height: 1.35; }
.tcp-search__name { font-size: 16px; font-weight: 500; color: var(--tcp-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .15s ease; }
.tcp-search__hit { font-weight: 800; }
.tcp-search__item:hover .tcp-search__name, .tcp-search__item:focus-visible .tcp-search__name { color: var(--tcp-navy-2); }
.tcp-search__item:focus-visible .tcp-search__name { text-decoration: underline; text-underline-offset: 3px; }
.tcp-search__meta { font-size: 13.5px; color: var(--tcp-muted); }
.tcp-search__price { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; font-size: 15px; font-weight: 800; color: var(--tcp-red); }
.tcp-search__price s { font-weight: 500; font-size: 12.5px; color: var(--tcp-muted-2); }
.tcp-search__add {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 1.5px solid var(--tcp-line-2);
	border-radius: 999px;
	background: #fff;
	color: var(--tcp-navy-2);
	cursor: pointer;
	transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.tcp-search__add:hover, .tcp-search__add:focus-visible { background: var(--tcp-navy); border-color: var(--tcp-navy); color: #fff; outline: none; }
.tcp-search__add:active { transform: scale(.94); }
.tcp-search__add:disabled { opacity: .5; cursor: progress; }
.tcp-search__oos { flex-shrink: 0; font-size: 12px; font-weight: 600; color: var(--tcp-muted); padding-right: 6px; }
.tcp-search__page { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; text-decoration: none; color: var(--tcp-ink); outline: none; }
.tcp-search__page-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15.5px; font-weight: 500; transition: color .15s ease; }
.tcp-search__page:hover .tcp-search__page-title, .tcp-search__page:focus-visible .tcp-search__page-title { color: var(--tcp-navy-2); }
.tcp-search__page:focus-visible .tcp-search__page-title { text-decoration: underline; text-underline-offset: 3px; }
.tcp-search__tag { flex: none; padding: 5px 9px; border-radius: 7px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; line-height: 1; background: var(--tcp-cream-2); color: var(--tcp-ink-2); }
.tcp-search__tag.is-article { background: var(--tcp-navy-soft); color: var(--tcp-navy-2); }
.tcp-search__tag.is-compare { background: var(--tcp-red-soft); color: var(--tcp-red-dark); }
.tcp-search__tag.is-page, .tcp-search__tag.is-category { background: var(--tcp-green-soft); color: var(--tcp-green-dark); }
.tcp-search__empty { margin: 16px 0 4px; color: var(--tcp-muted); }
.tcp-search__all {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 54px;
	margin-top: 14px;
	padding: 0 18px;
	border-radius: 999px;
	background: var(--tcp-navy-soft);
	font-family: var(--tcp-font-heading);
	font-size: 16px;
	font-weight: 700;
	color: var(--tcp-navy-2);
	text-decoration: none;
	transition: background .15s ease, color .15s ease;
}
.tcp-search__all-arrow { transition: transform .2s var(--tcp-ease-out); }
.tcp-search__all:hover, .tcp-search__all:focus-visible { background: #DCE6F4; color: var(--tcp-navy); outline: none; }
.tcp-search__all:hover .tcp-search__all-arrow, .tcp-search__all:focus-visible .tcp-search__all-arrow { transform: translateX(4px); }
.tcp-search__note { margin: 12px 0 0; text-align: center; font-size: 13px; color: var(--tcp-muted-2); }

/* ≥990px: dropdown anchored to the header field */
/* :not([hidden]) — otherwise this outranks .tcp-search[hidden] (same specificity,
   later in the file) and a closed panel stays laid over the field, invisible,
   swallowing the next click */
.tcp-search.is-anchored:not([hidden]) { display: block; padding: 0; }
.tcp-search.is-anchored .tcp-search__scrim { background: rgba(11, 27, 51, .3); }
.tcp-search.is-anchored .tcp-search__panel {
	position: absolute;
	top: var(--tcp-s-top);
	right: var(--tcp-s-right);
	width: min(680px, calc(100vw - 32px));
	max-width: none;
	max-height: calc(100vh - var(--tcp-s-top) - 16px);
	max-height: calc(100dvh - var(--tcp-s-top) - 16px);
	align-items: flex-end;
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	overflow: visible;
	transform: none;
}
.tcp-search.is-anchored .tcp-search__bar { padding: 0; border: 0; }
.tcp-search.is-anchored .tcp-search__field {
	flex: none;
	width: var(--tcp-s-w0);
	height: var(--tcp-s-h);
	padding: 0 5px 0 15px;
	transition: width .26s var(--tcp-ease-out), box-shadow .15s ease;
}
.tcp-search.is-anchored.is-open .tcp-search__field { width: var(--tcp-s-w); }
.tcp-search.is-anchored .tcp-search__cancel,
.tcp-search.is-anchored .tcp-search__kbd { display: none; }
.tcp-search.is-anchored .tcp-search__clear { width: 32px; height: 32px; }
.tcp-search.is-anchored .tcp-search__body {
	align-self: stretch;
	margin-top: 10px;
	padding: 6px 24px 18px;
	background: #fff;
	border: 1px solid var(--tcp-line);
	border-radius: 24px;
	box-shadow: 0 34px 70px -24px rgba(11, 27, 51, .4);
	transform: translateY(-6px);
	transition: transform .24s var(--tcp-ease-out);
}
.tcp-search.is-anchored.is-open .tcp-search__body { transform: none; }
/* opened from the hero field (left side of the page): pin to its left edge
   and drop down as wide as it (min 480px) instead of widening leftwards */
.tcp-search.is-anchored.is-left .tcp-search__panel { left: var(--tcp-s-left); right: auto; width: var(--tcp-s-pw); align-items: flex-start; }

@media (max-width: 560px) {
	.tcp-search { padding: 0; }
	.tcp-search__panel { max-width: none; max-height: 100vh; max-height: 100dvh; border-radius: 0 0 20px 20px; border-top: 0; }
	.tcp-search__kbd { display: none; }
	.tcp-search__body { padding: 4px 14px 16px; }
	.tcp-search__thumb { width: 54px; height: 54px; }
	.tcp-search__thumb img { width: 48px; height: 48px; }
	.tcp-search__item { gap: 12px; }
	.tcp-search__name { font-size: 15px; }
	.tcp-search__add { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
	.tcp-search__scrim, .tcp-search__panel, .tcp-search.is-anchored .tcp-search__field,
	.tcp-search.is-anchored .tcp-search__body, .tcp-search__thumb, .tcp-search__all-arrow { transition: none; }
}
.tcp-mobile-nav { border-top: 1px solid var(--tcp-line); padding: 8px 16px 16px; }
.tcp-mobile-nav__list { list-style: none; margin: 0; padding: 0; }
.tcp-mobile-nav__list a { display: block; padding: 12px 10px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--tcp-line); border-radius: 10px 10px 0 0; transition: color .15s ease, background .15s ease; }
.tcp-mobile-nav__list a:hover { color: var(--tcp-red); background: var(--tcp-cream); }
.tcp-mobile-nav .sub-menu { list-style: none; padding-left: 16px; }

/* ---------- hero (eagle lookout) ---------- */
/* One full-bleed photographic scene (hero-eagle-full[@2x].webp/.jpg, built by
   build-hero.py from ar-operations/eagle plate.png): a sunlit mountain
   lake on the left, an empty rock mid-frame with the three real vials layered
   on it (.tcp-hero__vials below), the bald eagle and the flag on the right.
   The sunlit left is the copy's stage; a soft
   cream wash — strongest at the left edge, gone by 42% — keeps the headline,
   chips and promise card legible without dulling the vials or the eagle. */
/* The hero is a BANNER (~2.5:1 via the 40vw height, capped at 900px). The whole
   ~2.08:1 photo shows top-to-bottom (`auto 100%` — image height = banner height,
   no vertical crop) anchored to the right, so the eagle's head and the rock
   base stay in frame. On wide screens the image stops short of the left edge,
   so build-hero.py bakes a cream feather + solid cream into its left side —
   the edge is invisible at any width (don't reintroduce a hard photo edge). */
.tcp-hero {
	position: relative;
	isolation: isolate; /* keeps the scene/wash/vials z-indexes local to the hero */
	display: flex;
	align-items: center;
	min-height: clamp(470px, 40vw, 900px);
	padding: 36px 0 44px;
	overflow: hidden;
	background-color: var(--tcp-cream);
}
/* The scene is a real <picture> (template-parts/hero.php) so the vials can be
   layered over the exact plate box: `height: 100%` anchored right (--tcp-scene-x
   slides it), width from the image's aspect — the whole photo shows top to
   bottom, the eagle's head and the rock base stay in frame. */
.tcp-hero__scene {
	position: absolute;
	top: 0;
	right: var(--tcp-scene-x, 0px);
	height: 100%;
	aspect-ratio: 4208 / 1740;
}
.tcp-hero__scene picture, .tcp-hero__plate { display: block; width: 100%; height: 100%; }
/* the cream wash over the plate's left (below the vials and the copy) */
.tcp-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(90deg, rgb(245, 247, 251) 0%, rgb(245, 247, 251) 10%, rgba(245, 247, 251, .72) 22%, rgba(245, 247, 251, .36) 30%, rgba(245, 247, 251, .1) 37%, rgba(245, 247, 251, 0) 42%);
}

/* Tablets + small laptops (750-1365px): the banner is taller relative to its
   width here, so the scene renders wider and its vials would slide under the
   checklist card. Slide the photo right in proportion to the shortfall (0 at
   1366, ≈95px at 1240, ≈200px at 1100; steeper since the hero search made
   the banner taller — only the flag and the eagle's back
   get trimmed) and carry the cream wash a little further for the card. */
@media (min-width: 750px) and (max-width: 1365px) {
	.tcp-hero { --tcp-scene-x: calc((100vw - 1366px) * .85); }
	.tcp-hero::before {
		background: linear-gradient(90deg, rgb(245, 247, 251) 0%, rgb(245, 247, 251) 14%, rgba(245, 247, 251, .8) 26%, rgba(245, 247, 251, .45) 36%, rgba(245, 247, 251, .12) 44%, rgba(245, 247, 251, 0) 49%);
	}
}

/* ---- the eagle (OPTIONAL desktop/tablet layer — off by default; only
   rendered after `python build-hero.py --eagle-layer`, see hero.php) ----
   Its own image (hero-eagle-bird.webp) over a plate with the eagle removed,
   both from build-hero.py, which prints the box: left 64.2146% / top
   8.9450% / width 28.5398% of the plate. The plate starts 14.2586% into the
   scene, so: left = 14.2586% + 85.7414% × .642146, width = 85.7414% ×
   .285398 (top is already a share of the full height). Hover (hero-vials.js
   tests the bird's real outline, not its box) lifts it a touch from its feet
   — the transform-origin build-hero.py prints, so the talons stay planted —
   and sweeps the same shine the vials use across the feathers. */
.tcp-hero__eagle { position: absolute; z-index: 1; left: 69.3173%; top: 8.945%; width: 24.4704%; pointer-events: none; }
.tcp-hero__eagle-bird { position: relative; display: block; transform-origin: 39.9% 95.7%; transition: transform .6s var(--tcp-ease-out), filter .45s ease; }
.tcp-hero__eagle-bird img { display: block; width: 100%; height: auto; }
.tcp-hero__eagle-bird::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(105deg, rgba(255, 255, 255, 0) 40%, rgba(255, 246, 225, .42) 49%, rgba(255, 255, 255, .12) 54%, rgba(255, 255, 255, 0) 62%) no-repeat;
	background-size: 260% 100%;
	background-position: 130% 0;
	-webkit-mask: var(--eagle) center / 100% 100% no-repeat;
	mask: var(--eagle) center / 100% 100% no-repeat;
	opacity: 0;
	pointer-events: none;
}
.tcp-hero__eagle.is-hover .tcp-hero__eagle-bird { transform: scale(1.03); filter: brightness(1.06) saturate(1.06); }
.tcp-hero__eagle.is-hover .tcp-hero__eagle-bird::after { opacity: 1; background-position: -30% 0; transition: background-position 1.3s var(--tcp-ease-out), opacity .25s ease; }
@media (prefers-reduced-motion: reduce) {
	.tcp-hero__eagle-bird { transition: none; }
	.tcp-hero__eagle.is-hover .tcp-hero__eagle-bird { transform: none; }
	.tcp-hero__eagle-bird::after { display: none; }
}

/* ---- the vials on the rock ----
   .tcp-hero__vials is laid exactly over the plate inside the image (desktop:
   right of the baked-in cream strip; build-hero.py prints these boxes), so each
   vial's --x/--y/--w (set inline from $tcp_vials) are shares of the plate:
   left edge, bottom edge (up from the plate's bottom), width. They sit under
   the copy (z 2 < grid 3) so a card that ever overlaps them still wins; the
   grid passes clicks through outside the copy column. */
.tcp-hero__vials { position: absolute; left: 14.2586%; top: 0; width: 85.7414%; height: 100%; z-index: 2; list-style: none; margin: 0; padding: 0; pointer-events: none; } /* only the vials + cards take the pointer, not the scene-sized box (the eagle hover needs it) */
.tcp-hero__vial { position: absolute; left: var(--x); bottom: var(--y); width: var(--w); pointer-events: auto; }
/* contact shadow on the rock: tight and dark while the vial stands, wider and
   fainter as it lifts */
.tcp-hero__vial::before {
	content: "";
	position: absolute;
	left: -14%;
	right: -14%;
	bottom: -5%;
	height: 11%;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(28, 18, 8, .62), rgba(28, 18, 8, .28) 55%, rgba(28, 18, 8, 0));
	transform-origin: 50% 50%;
	transition: transform .45s var(--tcp-ease-out), opacity .45s var(--tcp-ease-out);
	animation: tcp-vial-shadow-in .7s var(--tcp-ease-out) calc(.35s + var(--i, 0) * .1s) backwards;
	pointer-events: none;
}
@keyframes tcp-vial-shadow-in { from { opacity: 0; transform: scale(1.4, .6); } }
.tcp-hero__vial-link { position: relative; display: block; color: inherit; text-decoration: none; border-radius: 10px; -webkit-tap-highlight-color: transparent; }
.tcp-hero__vial-link:focus-visible { outline: 2px solid var(--tcp-navy-2); outline-offset: 6px; }
.tcp-hero__vial-glass {
	position: relative;
	display: block;
	transition: transform .45s var(--tcp-ease-pop), filter .3s ease;
	animation: tcp-vial-in .7s var(--tcp-ease-out) calc(.35s + var(--i, 0) * .1s) backwards;
}
.tcp-hero__vial-glass img { display: block; width: 100%; height: auto; }
/* light sweep across the glass, masked to the bottle's own silhouette */
.tcp-hero__vial-glass::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(105deg, rgba(255, 255, 255, 0) 38%, rgba(255, 250, 235, .55) 48%, rgba(255, 255, 255, .15) 54%, rgba(255, 255, 255, 0) 62%) no-repeat;
	background-size: 260% 100%;
	background-position: 130% 0;
	-webkit-mask: var(--vial) center / 100% 100% no-repeat;
	mask: var(--vial) center / 100% 100% no-repeat;
	opacity: 0;
	pointer-events: none;
}
/* The vial stays lifted while its card is in use (hover anywhere on the
   vial or card, or pinned open). */
@media (hover: hover) {
	.tcp-hero__vial:hover .tcp-hero__vial-glass { transform: translateY(-5%) scale(1.03); }
	.tcp-hero__vial-link:hover .tcp-hero__vial-glass::after { opacity: 1; background-position: -30% 0; transition: background-position .9s var(--tcp-ease-out), opacity .2s ease; }
	.tcp-hero__vial:hover::before { transform: scale(1.25, .8); opacity: .45; }
}
/* the vial whose card is showing stays lifted (also while the pointer
   crosses into its card) */
.tcp-hero__vial.is-open .tcp-hero__vial-glass, .tcp-hero__vial.is-hover .tcp-hero__vial-glass, .tcp-hero__vial-link:focus-visible .tcp-hero__vial-glass { transform: translateY(-5%) scale(1.03); }
.tcp-hero__vial.is-open::before, .tcp-hero__vial.is-hover::before, .tcp-hero__vial:has(.tcp-hero__vial-link:focus-visible)::before { transform: scale(1.25, .8); opacity: .45; }
/* while a card is showing, the other two step back a touch (state-based, so
   crossing the gap between vials doesn't flicker it) */
.tcp-hero__vials.has-card .tcp-hero__vial:not(.is-hover):not(.is-open) .tcp-hero__vial-glass { filter: brightness(.9) saturate(.9); }
/* an open card sits above the copy column (it may overlap the "why" card) */
.tcp-hero__vials.has-open, .tcp-hero__vials:has(.tcp-hero__vial:hover) { z-index: 4; }

/* ---- quick-buy card (inc/hero-vials.php, assets/js/hero-vials.js) ----
   Pops over the vial like the nav's mega-menu panel: mouse users get it on
   hover after a short intent delay (and a grace period on the way out, plus
   a bridge over the gap, so moving into it never drops it); a click pins it.
   Touch/keyboard toggle it with .is-open. Phones get a bottom sheet (below). */
.tcp-qb {
	position: absolute;
	left: 50%;
	bottom: calc(100% + 16px);
	z-index: 1;
	width: 316px;
	padding: 16px 16px 14px;
	border-radius: var(--tcp-radius-card);
	background: rgba(255, 255, 255, .97);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	backdrop-filter: blur(14px) saturate(140%);
	border: 1px solid rgba(255, 255, 255, .9);
	box-shadow: 0 24px 60px rgba(11, 27, 51, .26), 0 2px 6px rgba(11, 27, 51, .08);
	color: var(--tcp-ink);
	text-align: left;
	visibility: hidden;
	opacity: 0;
	transform: translate(-50%, 8px) scale(.98);
	transform-origin: 50% 100%;
	transition: opacity .18s ease, transform .26s var(--tcp-ease-out), visibility 0s linear .26s;
}
/* hover bridge over the gap down to the vial cap */
.tcp-qb::before { content: ""; position: absolute; left: 20%; right: 20%; top: 100%; height: 18px; }
/* little pointer at the cap */
.tcp-qb::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -8px; border: 8px solid transparent; border-top-color: rgba(255, 255, 255, .97); }
/* hero-vials.js owns the timing (intent delay, grace period, swaps): it sets
   .is-hover (mouse) or .is-open (pinned / touch / keyboard) on the vial */
.tcp-hero__vial.is-open .tcp-qb, .tcp-hero__vial.is-hover .tcp-qb { visibility: visible; opacity: 1; transform: translate(-50%, 0) scale(1); transition-delay: 0s; }
/* swapping from another vial's card: appear in place, a quick fade only */
.tcp-qb.is-swap { transition: opacity .12s ease, visibility 0s linear .12s; }
.tcp-hero__vial.is-hover .tcp-qb.is-swap, .tcp-hero__vial.is-open .tcp-qb.is-swap { transition: opacity .12s ease; }
/* the card being replaced vanishes at once */
.tcp-qb.is-instant { transition: none !important; }
.tcp-qb__head { position: relative; padding-right: 30px; margin-bottom: 12px; }
.tcp-qb__title { margin: 0; font-family: var(--tcp-font-heading); font-size: 1.12rem; font-weight: 800; line-height: 1.2; letter-spacing: -.012em; color: var(--tcp-navy); }
.tcp-qb__meta { margin: 2px 0 0; font-size: .74rem; font-weight: 600; color: var(--tcp-muted); }
.tcp-qb__close {
	position: absolute; top: -6px; right: -6px;
	display: grid; place-items: center;
	width: 30px; height: 30px; padding: 0;
	border: 0; border-radius: 50%;
	background: transparent; color: var(--tcp-muted); cursor: pointer;
	transition: background .15s ease, color .15s ease;
}
.tcp-qb__close:hover { background: var(--tcp-cream); color: var(--tcp-ink); }
/* mouse users close it by moving away; the button is for pinned/touch/phone */
@media (hover: hover) and (min-width: 750px) { .tcp-hero__vial:not(.is-open) .tcp-qb__close { display: none; } }
.tcp-qb__group { margin: 0 0 12px; padding: 0; border: 0; min-width: 0; }
.tcp-qb__legend { margin: 0 0 6px; padding: 0; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tcp-muted); }
.tcp-qb__pills { display: flex; flex-wrap: wrap; gap: 6px; }
/* same pill as the grid card's size picker */
.tcp-qb__pill { position: relative; }
.tcp-qb__pill input { position: absolute; opacity: 0; pointer-events: none; }
.tcp-qb__pill span {
	display: inline-flex; align-items: center; gap: 5px;
	padding: 6px 11px;
	border: 1px solid var(--tcp-line-2);
	border-radius: 999px;
	background: #fff;
	font-size: .8rem; font-weight: 600; line-height: 1.2;
	color: var(--tcp-ink);
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.tcp-qb__pill small { font-size: .72rem; font-weight: 800; color: #1E7A46; }
.tcp-qb__pill small:empty { display: none; }
.tcp-qb__pill span:hover { border-color: var(--tcp-red); }
.tcp-qb__pill input:checked + span { border-color: var(--tcp-red); background: var(--tcp-red-soft); color: var(--tcp-red); box-shadow: 0 0 0 2px rgba(178, 34, 52, .12); }
.tcp-qb__pill input:focus-visible + span { outline: 2px solid var(--tcp-navy-2); outline-offset: 2px; }
.tcp-qb__pill input:disabled + span { color: var(--tcp-muted); text-decoration: line-through; cursor: not-allowed; border-color: var(--tcp-line-2); background: transparent; box-shadow: none; }
.tcp-qb__total { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 10px; margin: 2px 0 12px; padding-top: 12px; border-top: 1px solid var(--tcp-line); }
.tcp-qb__price .tcp-price__now { font-size: 1.25rem; }
.tcp-qb__unit { margin: 0; font-size: .76rem; font-weight: 600; color: var(--tcp-ink-2); }
.tcp-qb__unit:empty { display: none; }
.tcp-qb__actions { display: flex; align-items: center; gap: 12px; }
.tcp-qb__add { flex: 1 1 auto; justify-content: center; padding: 12px 16px; }
.tcp-qb__add.is-added { background: #1E7A46; border-color: #1E7A46; }
.tcp-qb__more { flex: none; font-size: .82rem; font-weight: 700; color: var(--tcp-navy); text-decoration: none; white-space: nowrap; }
.tcp-qb__more:hover { color: var(--tcp-red); }
.tcp-qb__soldout { margin: 0 0 12px; font-weight: 700; color: var(--tcp-red); }

/* phones: the card moves into a body-level sheet (hero-vials.js) */
.tcp-qb-sheet { position: fixed; inset: 0; z-index: 990; display: flex; align-items: flex-end; visibility: hidden; transition: visibility 0s linear .26s; }
.tcp-qb-sheet__scrim { position: absolute; inset: 0; background: rgba(7, 20, 40, .45); opacity: 0; transition: opacity .22s ease; }
.tcp-qb-sheet .tcp-qb {
	position: relative; left: auto; right: auto; bottom: auto;
	width: 100%; max-height: 85vh; overflow-y: auto;
	padding: 20px 18px calc(18px + env(safe-area-inset-bottom));
	border-radius: 20px 20px 0 0;
	background: #fff;
	visibility: visible; opacity: 1;
	transform: translateY(100%);
	transition: transform .26s var(--tcp-ease-out);
}
.tcp-qb-sheet .tcp-qb::after, .tcp-qb-sheet .tcp-qb::before { display: none; }
.tcp-qb-sheet .tcp-qb__close { display: grid; top: -8px; right: -6px; }
.tcp-qb-sheet .tcp-qb__pill span { padding: 9px 14px; font-size: .88rem; }
.tcp-qb-sheet.is-open { visibility: visible; transition-delay: 0s; }
.tcp-qb-sheet.is-open .tcp-qb-sheet__scrim { opacity: 1; }
.tcp-qb-sheet.is-open .tcp-qb { transform: none; }
@keyframes tcp-vial-in { from { opacity: 0; transform: translateY(14%); } }
/* The "you can hover these" wave (main.js adds .is-hinting on every load,
   mouse users only): ~1.6s after load each vial in turn does a small
   version of its hover — lift, glint, shadow widens — then settles. It moves
   the link (not the glass) so it never fights the hover transform. */
.tcp-hero__vials.is-hinting .tcp-hero__vial-link { animation: tcp-vial-hint .9s ease-in-out calc(1.6s + var(--i, 0) * .15s); }
.tcp-hero__vials.is-hinting .tcp-hero__vial-glass::after { animation: tcp-vial-glint .9s var(--tcp-ease-out) calc(1.6s + var(--i, 0) * .15s); }
.tcp-hero__vials.is-hinting .tcp-hero__vial::before {
	animation: tcp-vial-shadow-in .7s var(--tcp-ease-out) calc(.35s + var(--i, 0) * .1s) backwards, tcp-vial-hint-shadow .9s ease-in-out calc(1.6s + var(--i, 0) * .15s);
}
@keyframes tcp-vial-hint { 40% { transform: translateY(-3.5%); } }
@keyframes tcp-vial-hint-shadow { 40% { transform: scale(1.18, .85); opacity: .55; } }
@keyframes tcp-vial-glint { 0% { opacity: 0; background-position: 130% 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; background-position: -30% 0; } }
@media (prefers-reduced-motion: reduce) {
	.tcp-hero__vial-glass, .tcp-hero__vial::before, .tcp-qb, .tcp-qb-sheet, .tcp-qb-sheet .tcp-qb, .tcp-qb-sheet__scrim, .tcp-hero__vials.is-hinting .tcp-hero__vial-link, .tcp-hero__vials.is-hinting .tcp-hero__vial::before { transition: none; animation: none; }
	.tcp-hero__vial-link:hover .tcp-hero__vial-glass, .tcp-hero__vial-link:focus-visible .tcp-hero__vial-glass { transform: none; }
	.tcp-hero__vial-glass::after { display: none; }
}

.tcp-hero__grid, .tcp-hero__copy { pointer-events: none; }
.tcp-hero__copy > * { pointer-events: auto; }
.tcp-hero__grid { position: relative; z-index: 3; width: 100%; }
/* On desktop the hero breaks out of the centered page grid entirely and the
   copy sits just off the LEFT EDGE of the stage (viewport-scaled gutter, ≈6%
   like the reference mock) — the text fills the pale empty space at the left
   of the scene instead of floating toward the middle. Copy elements size with
   vw so a wide monitor keeps the mock's proportions (headline ≈ 4.7% of the
   viewport width, copy column ≈ 42%). All the clamps bottom out at the old
   fixed values, so nothing changes on laptops/tablets/phones. */
@media (min-width: 990px) {
	.tcp-hero__grid { max-width: none; padding: 0 clamp(32px, 7vw, 130px); }
}
/* the copy owns the left ~half of the scene; the photo's moose + vials own the rest */
.tcp-hero__copy { min-width: 0; max-width: clamp(560px, 38vw, 700px); }
/* oversized geometric-sans headline (the heading face, Plus Jakarta Sans, at
   800 with tight tracking): "America's" navy + "Trusted" red with a brush swoosh
   under it, then "Peptide Supplier" on its own line, all upright. The soft
   cream glow (text-shadow, inherited by the spans) acts as a local scrim
   where the sky behind it is busy — blurred only, no hard offset layer, so
   the letters don't look embossed. */
.tcp-hero__title {
	font-family: var(--tcp-font-heading);
	font-size: clamp(2.05rem, 3.95vw, 70px);
	line-height: 1.04;
	letter-spacing: -.035em;
	word-spacing: .05em; /* the tight tracking otherwise closes up the word gaps */
	font-weight: 800;
	margin: 0 0 clamp(18px, 1.5vw, 28px);
	color: var(--tcp-navy);
	overflow-wrap: break-word;
	hyphens: none;
	text-shadow:
		0 2px 14px rgba(245, 247, 251, .85),
		0 10px 44px rgba(245, 247, 251, .6);
}
.tcp-hero__accent {
	position: relative;
	display: inline-block;
	color: var(--tcp-red);
	white-space: nowrap;
}
/* hand-drawn red swoosh under "Trusted": a tapered stroke, thick in the
   middle, drawn as a mask so it takes the accent's color */
.tcp-hero__accent::after {
	content: "";
	position: absolute;
	left: -.04em;
	right: -.08em;
	bottom: -.13em;
	height: .21em;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M2 20C70 9 170 3 298 6c-2 2-6 3-10 3C180 8 90 13 5 23c-3 0-4-2-3-3z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M2 20C70 9 170 3 298 6c-2 2-6 3-10 3C180 8 90 13 5 23c-3 0-4-2-3-3z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	pointer-events: none;
}
.tcp-hero__title-line { display: block; }
/* one line under the headline that names the product: the product phrase in
   navy semibold, the rest in the body ink, sized up so it reads as the
   headline's second voice rather than a caption */
.tcp-hero__subtitle {
	margin: 0 0 clamp(16px, 1.25vw, 22px);
	font-size: clamp(16px, 1.22vw, 21px);
	font-weight: 400;
	line-height: 1.45;
	letter-spacing: -.003em;
	color: var(--tcp-ink-2);
	text-shadow: 0 0 12px rgba(245, 247, 251, .9);
}
.tcp-hero__subtitle strong { font-weight: 600; color: var(--tcp-navy); }
/* hero search: the header's faux search field, scaled up (icon, placeholder,
   "/" chip). It carries data-tcp-search-toggle, so clicking it opens the same
   search panel as the header — on ≥990px anchored over THIS field and dropping
   down from it (search.js, .is-left). White instead of the header's cream so
   it reads on the cream hero. Then a "Popular:" row of best-seller chips
   (same order as the panel's best sellers). */
.tcp-hero__search { margin: 0 0 clamp(16px, 1.3vw, 24px); max-width: clamp(500px, 36vw, 660px); }
.tcp-hero__search-field {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	height: clamp(52px, 3.8vw, 60px);
	padding: 0 12px 0 clamp(18px, 1.3vw, 22px);
	border: 0;
	border-radius: 999px;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--tcp-line-2), 0 10px 28px rgba(11, 27, 51, .10);
	color: var(--tcp-navy);
	font: inherit;
	cursor: text;
	transition: box-shadow .2s ease;
}
.tcp-hero__search-field:hover { box-shadow: inset 0 0 0 1.5px var(--tcp-navy-2), 0 10px 28px rgba(10, 49, 97, .16); }
.tcp-hero__search-field:focus-visible { outline: 2px solid var(--tcp-navy-2); outline-offset: 2px; }
.tcp-hero__search-glyph { flex: none; transition: transform .25s var(--tcp-ease-pop); }
.tcp-hero__search-field:hover .tcp-hero__search-glyph { transform: rotate(-12deg) scale(1.08); }
.tcp-hero__search-text {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	text-align: left;
	font-size: clamp(15px, 1.05vw, 17px);
	font-weight: 500;
	color: var(--tcp-muted);
	transition: color .15s ease;
}
.tcp-hero__search-field:hover .tcp-hero__search-text { color: var(--tcp-ink-2); }
.tcp-hero__kbd {
	display: grid;
	place-items: center;
	flex: none;
	width: 26px;
	height: 26px;
	border-radius: 7px;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--tcp-border), 0 1px 0 var(--tcp-border);
	color: var(--tcp-muted);
	font: 700 12.5px/1 var(--tcp-font-body);
}
@media (prefers-reduced-motion: reduce) { .tcp-hero__search-glyph { transition: none; } }
.tcp-hero__popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: clamp(10px, .8vw, 14px); }
.tcp-hero__popular-label { margin-right: 2px; font-size: 14px; font-weight: 600; color: var(--tcp-ink-2); text-shadow: 0 0 8px rgba(245, 247, 251, .95); }
.tcp-hero__chip {
	padding: 7px 15px;
	border: 1px solid var(--tcp-line-2);
	border-radius: 999px;
	background: rgba(255, 255, 255, .82);
	color: var(--tcp-ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	transition: background var(--tcp-dur-fast), border-color var(--tcp-dur-fast), color var(--tcp-dur-fast);
}
.tcp-hero__chip:hover { background: #fff; border-color: var(--tcp-navy-2); color: var(--tcp-navy); }
/* "why researchers choose us" checklist — the brand ad's four reasons, one
   frosted card in the old proof bar's material (it sits over the photo, so the
   frosting keeps the copy legible). Each row: solid red check badge, bold title
   in the heading face, one readable proof line. Single column like the ad, so
   every reason gets the same weight and scans top to bottom. A red
   letterspaced "Why researchers choose us" label heads the card. */
.tcp-hero__why {
	width: fit-content;
	max-width: 100%;
	margin: clamp(4px, .4vw, 8px) 0 clamp(23px, 1.8vw, 32px);
	padding: clamp(16px, 1.2vw, 22px) clamp(20px, 1.6vw, 28px) clamp(16px, 1.2vw, 22px) clamp(16px, 1.25vw, 22px);
	background: rgba(255, 255, 255, .86);
	-webkit-backdrop-filter: blur(10px) saturate(130%);
	backdrop-filter: blur(10px) saturate(130%);
	border: 1px solid var(--tcp-line-2);
	border-radius: var(--tcp-radius-card);
	box-shadow: 0 8px 22px rgba(11, 27, 51, .08);
}
.tcp-hero__why-head {
	margin: 0 0 clamp(12px, .95vw, 17px);
	color: var(--tcp-red);
	font-weight: 800;
	font-size: clamp(.72rem, .78vw, .92rem);
	letter-spacing: .2em;
	text-transform: uppercase;
	line-height: 1.2;
}
.tcp-hero__why-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: clamp(13px, 1vw, 18px); }
.tcp-hero__why li { display: flex; align-items: flex-start; gap: clamp(11px, .85vw, 15px); min-width: 0; }
.tcp-hero__why-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: clamp(30px, 2.15vw, 38px);
	height: clamp(30px, 2.15vw, 38px);
	border-radius: 50%;
	background: linear-gradient(180deg, #C8303F 0%, var(--tcp-red) 55%, #8B1A29 100%);
	color: #fff;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 3px 8px rgba(140, 16, 20, .22);
}
.tcp-hero__why-icon svg { width: 54%; height: 54%; display: block; }
.tcp-hero__why-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding-top: 1px; }
.tcp-hero__why-title { font-family: var(--tcp-font-heading); font-size: clamp(16px, 1.15vw, 21px); font-weight: 800; line-height: 1.2; letter-spacing: -.012em; color: var(--tcp-navy); }
.tcp-hero__why-proof { font-size: clamp(13px, .9vw, 16px); line-height: 1.4; color: var(--tcp-ink-2); }
.tcp-hero__why-proof a { color: var(--tcp-red); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.tcp-hero__why-proof a:hover { color: var(--tcp-red-dark); }
/* tablets (750-989): the banner is short here and the vials sit close to the
   copy — tighten the card and the CTAs so they stay clear of the bottles */
@media (min-width: 750px) and (max-width: 989px) {
	.tcp-hero__why { padding: 12px 18px 12px 14px; margin-bottom: 18px; }
	.tcp-hero__why-head { margin-bottom: 10px; }
	.tcp-hero__why-list { gap: 8px; }
	/* five reasons + the search bar make the banner taller, which widens the
	   scene — slide it further right than the 750-1199 rule so the vials clear
	   the card; the Popular chips are dropped here to keep the banner short */
	.tcp-hero { --tcp-scene-x: calc((100vw - 1200px) * .6 - 100px); }
	.tcp-hero__search { margin-bottom: 14px; }
	.tcp-hero__popular { display: none; }
	.tcp-hero__why-icon { width: 28px; height: 28px; }
	.tcp-hero__why-title { font-size: 15px; }
	.tcp-hero__why-proof { font-size: 12.5px; }
	.tcp-hero .tcp-hero__ctas .tcp-btn--lg { padding: 13px 22px; } /* outranks the base CTA rule below */
}

.tcp-hero__ctas { display: flex; gap: clamp(11px, .9vw, 16px); flex-wrap: wrap; }
.tcp-hero__ctas .tcp-btn--lg { padding: clamp(13px, 1vw, 18px) clamp(30px, 2.6vw, 46px); font-size: clamp(.84rem, .86vw, 1rem); }
/* the primary is SOLID over the photo (a translucent red reads weak against a
   busy scene): maple gradient with a lit top edge and a red-tinted shadow */
.tcp-hero__ctas .tcp-btn--primary {
	background: linear-gradient(180deg, #C8303F 0%, var(--tcp-red) 52%, #8B1A29 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 8px 18px rgba(140, 16, 20, .24);
}
.tcp-hero__ctas .tcp-btn--primary:hover {
	background: linear-gradient(180deg, #B22234 0%, var(--tcp-red-dark) 55%, #6E1420 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 10px 20px rgba(140, 16, 20, .28);
}
.tcp-hero__ctas .tcp-btn--primary:active { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 5px 10px rgba(140, 16, 20, .22); }
/* the secondary stays frosted glass, with the same lit edge as the promise card */
.tcp-hero__ctas .tcp-btn--secondary {
	background: rgba(255, 255, 255, .58);
	-webkit-backdrop-filter: blur(12px) saturate(130%);
	backdrop-filter: blur(12px) saturate(130%);
	border-color: rgba(255, 255, 255, .75);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 7px 16px rgba(11, 27, 51, .1);
}
.tcp-hero__ctas .tcp-btn--secondary:hover {
	background: rgba(255, 255, 255, .74);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), 0 9px 18px rgba(11, 27, 51, .13);
}
/* browsers without backdrop-filter fall back to near-solid so text stays legible */
@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
	.tcp-hero__why { background: rgba(255, 255, 255, .96); }
	.tcp-hero__ctas .tcp-btn--secondary { background: rgba(255, 255, 255, .92); }
}

/* featured "Top Sellers" band — full-width tinted strip bridging the hero and the catalog */
/* .tcp-shelf__badge is reused by the single-product COA chip; the rest of the
   former homepage "Top Sellers" shelf styles were removed with that section. */
.tcp-shelf__badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: #E7F6EC;
	color: var(--tcp-green-dark);
	font-size: .72rem;
	font-weight: 700;
	padding: 5px 10px;
	border-radius: 999px;
}

/* ---------- price bits (shared) ---------- */
.tcp-price__from { color: var(--tcp-red); font-weight: 700; }
.tcp-price__was { color: var(--tcp-muted-2); font-size: .92em; }
.tcp-price__now { font-weight: 800; color: var(--tcp-ink); }
.tcp-price__cad { color: var(--tcp-muted-2); font-weight: 600; font-size: .82em; }
.tcp-save-badge {
	display: inline-block;
	background: var(--tcp-green-soft);
	color: var(--tcp-green-dark);
	font-size: 10.5px;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: 5px;
	white-space: nowrap;
}

/* ---------- trust pillars (proof-point cards) ---------- */
/* three proof-point cards directly beneath the hero */
.tcp-trust { background: var(--tcp-cream); border-bottom: 1px solid rgba(178, 34, 52, .10); }
.tcp-trust__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-top: 8px; padding-bottom: 30px; }
.tcp-trust__item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	background: #fff;
	border: 1px solid var(--tcp-line-2);
	border-radius: var(--tcp-radius-card);
	box-shadow: var(--tcp-shadow-soft);
	padding: 18px;
}
.tcp-trust__icon {
	flex: none;
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	background: var(--tcp-red-soft);
	border-radius: 12px;
	color: var(--tcp-red);
}
.tcp-trust__label { margin: 0; font-weight: 800; font-size: 15px; letter-spacing: -.01em; }
.tcp-trust__text { margin: 3px 0 0; color: var(--tcp-muted); font-size: 13px; line-height: 1.45; }
.tcp-trust__link { display: inline-flex; align-items: center; gap: 4px; margin-top: 5px; color: var(--tcp-red); font-size: 12px; font-weight: 700; text-decoration: none; letter-spacing: -.005em; }
.tcp-trust__link svg { transition: transform .2s ease; }
.tcp-trust__link:hover { text-decoration: underline; }
.tcp-trust__link:hover svg { transform: translateX(2px); }

/* "Ways to save" band under the hero (template-parts/ways-to-save.php) — a
   full-bleed soft band in the hero's cream, hairline rules fading at the page
   edges; content stays in the shared 1240px column so it lines up with the
   catalog below. Head: kicker + "Save up to N%" (the number in red) + how it
   stacks. Then one white card per way to save: navy coin icon, big red value
   with the deal's name beside it, one line of detail, optional action link. */
.tcp-save {
	background:
		radial-gradient(90% 130% at 6% -12%, rgba(27, 75, 143, .05), rgba(27, 75, 143, 0) 46%),
		linear-gradient(180deg, var(--tcp-cream), #EEF2F8);
	border-top: 1px solid transparent;
	border-bottom: 1px solid transparent;
	border-image: linear-gradient(90deg, rgba(10, 49, 97, 0) 0%, rgba(10, 49, 97, .22) 22%, rgba(10, 49, 97, .22) 78%, rgba(10, 49, 97, 0) 100%) 1;
	margin-bottom: 46px;
}
.tcp-save > .tcp-wrap { padding-top: 38px; padding-bottom: 40px; }
.tcp-save__head { max-width: 760px; margin: 0 0 24px; }
.tcp-save__kicker { margin: 0 0 6px; color: var(--tcp-red); font-weight: 800; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; }
.tcp-save__title { margin: 0 0 6px; font-family: var(--tcp-font-display); font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -.015em; color: var(--tcp-ink); }
/* tabular digits so the count-up (main.js) doesn't jitter as numbers change */
.tcp-save__accent { color: var(--tcp-red); font-variant-numeric: tabular-nums; }
.tcp-save__sub { margin: 0; font-size: 15px; line-height: 1.5; color: var(--tcp-ink-2); }
.tcp-save__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tcp-save__card {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 18px 18px 16px;
	background: #fff;
	border: 1px solid var(--tcp-line-2);
	border-radius: var(--tcp-radius-card);
	box-shadow: 0 6px 18px rgba(11, 27, 51, .06);
	transition: transform var(--tcp-dur) var(--tcp-ease-out), box-shadow var(--tcp-dur) var(--tcp-ease-out), border-color var(--tcp-dur) var(--tcp-ease-out);
}
/* navy coin icon, same treatment as the old pillars band */
.tcp-save__icon {
	flex: none;
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	background: radial-gradient(120% 120% at 30% 20%, #4F7BC0, var(--tcp-navy-2) 55%, var(--tcp-navy));
	color: #fff;
	border-radius: 50%;
	border: 1px solid rgba(7, 31, 64, .55);
	box-shadow: inset 0 1px 1px rgba(255, 255, 255, .7), inset 0 -2px 3px rgba(11, 27, 51, .4), 0 3px 6px rgba(11, 27, 51, .22);
	transition: transform var(--tcp-dur) var(--tcp-ease-pop);
}
.tcp-save__icon svg { width: 21px; height: 21px; display: block; }
.tcp-save__body { min-width: 0; }
.tcp-save__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 9px; margin: 0 0 5px; }
.tcp-save__value { font-family: var(--tcp-font-heading); font-weight: 800; font-size: clamp(26px, 2.4vw, 32px); line-height: 1; letter-spacing: -.02em; color: var(--tcp-red); }
.tcp-save__name { font-family: var(--tcp-font-heading); font-weight: 700; font-size: 16.5px; letter-spacing: -.01em; color: var(--tcp-ink); white-space: nowrap; }
.tcp-save__text { margin: 0 0 6px; font-size: 14px; line-height: 1.5; color: var(--tcp-ink-2); }
.tcp-save__link { display: inline-flex; align-items: center; gap: 5px; color: var(--tcp-red); font-weight: 700; font-size: .82rem; text-decoration: none; }
.tcp-save__link svg { transition: transform .15s ease; }
.tcp-save__link:hover { text-decoration: underline; }
.tcp-save__link:hover svg { transform: translateX(3px); }
/* a card with an action link is clickable all over (the link's ::after covers
   the card); keyboard focus outlines the whole card instead of the small link.
   Never transform the link itself: that would make it the ::after's
   containing block and shrink the click area back to the link. */
.tcp-save__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.tcp-save__card:has(.tcp-save__link) { cursor: pointer; }
.tcp-save__link:focus-visible { outline: none; }
.tcp-save__card:has(.tcp-save__link:focus-visible) { outline: 2px solid var(--tcp-navy); outline-offset: 2px; }
/* hover (mouse only): the card lifts, the coin tips and grows a touch, the
   arrow nudges — the same lift language as the product cards */
@media (hover: hover) {
	.tcp-save__card:hover { transform: translateY(-3px); border-color: rgba(27, 75, 143, .28); box-shadow: 0 14px 30px rgba(11, 27, 51, .11); }
	.tcp-save__card:hover .tcp-save__icon { transform: rotate(-10deg) scale(1.08); }
	.tcp-save__card:hover .tcp-save__link { text-decoration: underline; }
	.tcp-save__card:hover .tcp-save__link svg { transform: translateX(3px); }
}
/* Rise-in: the cards come up one after another the first time the grid
   scrolls into view (main.js adds .is-in, --i is set in ways-to-save.php).
   Hidden from first paint by CSS (needs .js, so no-JS shows them), and a
   failsafe shows them after 4s if main.js never runs. */
@media (prefers-reduced-motion: no-preference) {
	.js .tcp-save:not(.is-in) .tcp-save__card { opacity: 0; animation: tcp-save-failsafe 0s linear 4s forwards; }
	.js .tcp-save.is-in .tcp-save__card { animation: tcp-rise var(--tcp-dur-slow) var(--tcp-ease-out) backwards; animation-delay: calc(var(--i, 0) * 70ms + 60ms); }
}
@keyframes tcp-save-failsafe { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
	.tcp-save__card, .tcp-save__icon, .tcp-save__link svg { transition: none; }
	.tcp-save__card:hover, .tcp-save__card:hover .tcp-save__icon, .tcp-save__link:hover svg, .tcp-save__card:hover .tcp-save__link svg { transform: none; }
}
@media (max-width: 989px) {
	.tcp-save__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- catalog & grids ---------- */
/* site-wide main-content background — the leaf watermark as the page's base
   pattern on every page (home, shop, product, cart, checkout, blog…). Kept very
   faint; sections/cards with their own background sit on top, gaps show it. */
.tcp-main { position: relative; --leaf-tint: var(--tcp-copper); --leaf-alpha: .05; }
.tcp-catalog { padding: 0 0 40px; }
.tcp-catalog__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.tcp-catalog__viewall {
	font-weight: 700;
	color: var(--tcp-ink);
	text-decoration: none;
	border-bottom: 2px solid var(--tcp-red);
	padding-bottom: 2px;
	transition: color .15s ease;
}
.tcp-catalog__viewall:hover { color: var(--tcp-red); }
.tcp-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.tcp-pill {
	background: #fff;
	border: 1.5px solid var(--tcp-line-2);
	color: var(--tcp-ink-2);
	font-weight: 600;
	font-size: .85rem;
	padding: 9px 18px;
	border-radius: 999px;
	cursor: pointer;
	transition: all .15s ease;
}
.tcp-pill:hover { border-color: var(--tcp-red); color: var(--tcp-red); transform: translateY(-1px); }
.tcp-pill:active { transform: translateY(0); }
.tcp-pill.is-active { background: var(--tcp-navy); border-color: var(--tcp-navy); color: #fff; }

.tcp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
/* Paged grid (homepage catalog): before filters.js runs, paint only the first
   two rows so the page doesn't load long and then collapse. */
.js .tcp-grid[data-tcp-paginate-rows="2"]:not([data-tcp-page]) > :nth-child(n+9) { display: none; }
@media (max-width: 989px) {
	.js .tcp-grid[data-tcp-paginate-rows="2"]:not([data-tcp-page]) > :nth-child(n+5) { display: none; }
}

/* product card */
.tcp-card {
	min-width: 0;
	background: #fff;
	border: 1px solid var(--tcp-line);
	border-radius: 20px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 28px rgba(16, 24, 40, .06);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform .18s ease, box-shadow .18s ease;
}
.tcp-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(16, 24, 40, .12); }
.tcp-card__media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 280px;
	background: linear-gradient(180deg, #F7F9FC, #EDF1F7);
	text-decoration: none;
}
.tcp-card__media img { height: 240px; width: auto; object-fit: contain; transition: transform .3s ease; }
.tcp-card:hover .tcp-card__media img { transform: scale(1.04); }
.tcp-card__soldout, .tcp-card__sale-badge, .tcp-card__stock {
	position: absolute;
	top: 12px;
	font-size: .68rem;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 999px;
}
.tcp-card__soldout { right: 12px; background: var(--tcp-ink); color: #fff; }
.tcp-card__sale-badge { left: 12px; background: var(--tcp-red); color: #fff; }
.tcp-card__stock {
	right: 12px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #fff;
	color: var(--tcp-green-dark);
	border: 1px solid var(--tcp-green-soft);
	box-shadow: 0 1px 2px rgba(16, 24, 40, .06);
}
.tcp-card__stock::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--tcp-green);
}
/* Best-seller badge — dark/gold, anchored bottom-left so it never collides with
   the red "Sale!" badge (top-left) or the "In stock" / "Sold out" chip (top-right). */
.tcp-card__bestseller {
	position: absolute;
	bottom: 12px;
	left: 12px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: .68rem;
	font-weight: 800;
	letter-spacing: .01em;
	padding: 4px 10px 4px 8px;
	border-radius: 999px;
	background: var(--tcp-ink);
	color: #FFFFFF;
	border: 1px solid var(--tcp-navy-2);
	box-shadow: 0 2px 6px rgba(16, 24, 40, .18);
}
.tcp-card__bestseller-star { color: var(--tcp-red-bright); font-size: .8em; line-height: 1; }
.tcp-card.is-soldout .tcp-card__media img { opacity: .55; }
.tcp-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.tcp-badge {
	align-self: flex-start;
	background: var(--tcp-red-soft);
	color: var(--tcp-red);
	text-transform: uppercase;
	font-size: .6rem;
	font-weight: 700;
	letter-spacing: .06em;
	padding: 3px 8px;
	border-radius: 3px;
	margin-bottom: 8px;
}
/* Title is the primary differentiator between near-identical vial photos, so it's
   the dominant text on the card — larger and heavier than the meta/price below. */
.tcp-card__title { font-size: 1.28rem; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; margin: 0 0 6px; }
.tcp-card__title a { text-decoration: none; transition: color .15s ease; }
.tcp-card__title a:hover { color: var(--tcp-red); }
.tcp-card__meta { display: flex; gap: 6px; color: var(--tcp-muted); font-size: .78rem; margin: 0 0 12px; }
.tcp-card__purity { color: var(--tcp-green-dark); font-weight: 600; }
.tcp-card__footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tcp-card__price { font-size: .88rem; }
.tcp-card__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--tcp-red);
	color: #fff;
	border: 0;
	font-weight: 700;
	font-size: .82rem;
	padding: 9px 16px;
	border-radius: var(--tcp-radius-btn);
	cursor: pointer;
	text-decoration: none;
	transition: background .15s ease;
	white-space: nowrap;
}
.tcp-card__btn .tcp-cart-icon { flex-shrink: 0; }
.tcp-card__btn:hover { background: var(--tcp-red-dark); }
.tcp-card__btn.is-disabled { background: var(--tcp-line-2); color: var(--tcp-muted); pointer-events: none; }

/* Cart glyph hidden when the add-to-cart button is unavailable (sold out / no variation picked). */
.tcp-atc:disabled .tcp-cart-icon { display: none; }

/* In-card dosage picker: pick the strength (mg) and add without leaving the grid. */
.tcp-card__sizes { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.tcp-card__sizes-label {
	font-size: .62rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--tcp-muted);
}
.tcp-card__size-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.tcp-card__size-pill { position: relative; }
.tcp-card__size-pill input { position: absolute; opacity: 0; pointer-events: none; }
.tcp-card__size-pill span {
	display: inline-block;
	padding: 4px 10px;
	border: 1px solid var(--tcp-line-2);
	border-radius: 999px;
	font-size: .76rem;
	font-weight: 600;
	line-height: 1.2;
	color: var(--tcp-ink);
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.tcp-card__size-pill span:hover { border-color: var(--tcp-red); }
.tcp-card__size-pill input:checked + span {
	border-color: var(--tcp-red);
	background: var(--tcp-red-soft);
	color: var(--tcp-red);
	box-shadow: 0 0 0 2px rgba(178, 34, 52, .12);
}
.tcp-card__size-pill.is-soldout span,
.tcp-card__size-pill.is-soldout span:hover {
	border-color: var(--tcp-line-2);
	color: var(--tcp-muted);
	text-decoration: line-through;
	cursor: not-allowed;
	box-shadow: none;
	background: transparent;
}

/* ---------- COA section (full-width band) ---------- */
.tcp-coa {
	position: relative;
	background: var(--tcp-cream);
	border-top: 1px solid var(--tcp-line);
	border-bottom: 1px solid var(--tcp-line);
	padding: 48px 0;
	overflow: hidden;
}
.tcp-coa::before {
	content: "";
	position: absolute;
	top: -180px;
	right: -120px;
	width: 520px;
	height: 520px;
	background: radial-gradient(circle, rgba(178, 34, 52, .07), transparent 65%);
	pointer-events: none;
}
.tcp-coa__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 22px; position: relative; }
.tcp-coa__head .tcp-btn { flex-shrink: 0; }
.tcp-coa__copy { max-width: 620px; }
.tcp-coa__title { font-size: 30px; margin-bottom: 8px; }
.tcp-coa__copy p { color: var(--tcp-ink-2); margin: 0; }
.tcp-coa__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; position: relative; }
/* Compact horizontal card: icon + name/lot left, purity % + PASS right. */
.tcp-coa-card {
	display: flex;
	align-items: center;
	gap: 14px;
	background: #fff;
	border: 1px solid #E1E7EF;
	border-radius: 16px;
	padding: 16px 18px;
	box-shadow: var(--tcp-shadow-soft);
	transition: transform .18s ease, box-shadow .18s ease;
}
.tcp-coa-card:hover { transform: translateY(-3px); box-shadow: var(--tcp-shadow-lift); }
.tcp-coa-card__icon { flex: none; display: inline-flex; color: var(--tcp-red); }
.tcp-coa-card__info { flex: 1; min-width: 0; }
.tcp-coa-card__name { font-family: var(--tcp-font-heading); font-weight: 700; margin: 0; }
.tcp-coa-card__lot { color: var(--tcp-muted); font-size: .78rem; margin: 2px 0 0; }
.tcp-coa-card__result { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.tcp-coa-card__purity { margin: 0; color: var(--tcp-muted); font-size: .72rem; line-height: 1; white-space: nowrap; }
.tcp-coa-card__purity span { font-family: var(--tcp-font-heading); font-weight: 800; font-size: 22px; color: var(--tcp-red); margin-right: 3px; }
.tcp-coa-card__pass { background: #E7F6EC; color: var(--tcp-green-dark); font-size: .62rem; font-weight: 800; letter-spacing: .04em; padding: 3px 8px; border-radius: 999px; }

/* ---------- research library teaser (front page) ---------- */
.tcp-research { padding: 56px 0 16px; }
.tcp-research__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.tcp-research__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tcp-research .tcp-post-card { box-shadow: none; border-color: var(--tcp-line-2); }
/* Compact single-row list — used while the library is thin (< 4 posts). */
.tcp-research--compact { padding-bottom: 8px; }
.tcp-research__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--tcp-line-2); }
.tcp-research__row { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--tcp-line-2); }
.tcp-research__row-main { min-width: 0; }
.tcp-research__row-title { font-size: 17px; margin: 0 0 2px; }
.tcp-research__row-title a { text-decoration: none; transition: color .15s ease; }
.tcp-research__row-title a:hover { color: var(--tcp-red); }
.tcp-research__row-excerpt { margin: 0; color: var(--tcp-muted); font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tcp-research__row-meta { flex: none; display: flex; align-items: baseline; gap: 16px; color: var(--tcp-muted); font-size: .78rem; }
.tcp-research__row-read { color: var(--tcp-red); font-weight: 700; text-decoration: none; white-space: nowrap; transition: transform .15s ease; }
.tcp-research__row-read:hover { transform: translateX(3px); }

/* ---------- collection / library shared ---------- */
.tcp-collection, .tcp-library { padding-top: 24px; padding-bottom: 56px; } /* sides come from .tcp-wrap */
.tcp-collection__header, .tcp-library__header { margin-bottom: 18px; }
.tcp-collection__count { color: var(--tcp-muted); margin: 4px 0 0; }
.tcp-library__intro { color: var(--tcp-muted); max-width: 560px; }
.tcp-library__controls, .tcp-collection__controls { margin-bottom: 22px; }
.tcp-library__search {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: 420px;
	margin-bottom: 16px;
	background: #fff;
	border: 1.5px solid var(--tcp-line-2);
	border-radius: 999px;
	padding: 11px 18px;
	color: var(--tcp-muted);
	box-shadow: var(--tcp-shadow-soft);
	transition: border-color .15s, box-shadow .15s;
}
.tcp-library__search:focus-within { border-color: var(--tcp-red); box-shadow: 0 0 0 3px rgba(178, 34, 52, .12); }
.tcp-library__search input { border: 0; outline: none; flex: 1; font: inherit; color: var(--tcp-ink); background: none; }
.tcp-library__count { font-size: .78rem; white-space: nowrap; }
.tcp-library__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tcp-library__empty { color: var(--tcp-muted); padding: 40px 0; text-align: center; }

.tcp-post-card { background: #fff; border: 1px solid var(--tcp-line); border-radius: 16px; box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 28px rgba(16, 24, 40, .06); overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; display: flex; flex-direction: column; }
.tcp-post-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(11, 27, 51, .1); }
.tcp-post-card__media { display: block; aspect-ratio: 16 / 9; background: linear-gradient(180deg, #F7F9FC, #EDF1F7); overflow: hidden; }
.tcp-post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.tcp-post-card:hover .tcp-post-card__media img { transform: scale(1.04); }
.tcp-post-card__placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; gap: 8px; }
.tcp-post-card__placeholder img { width: 120px; height: auto; object-fit: contain; }
.tcp-post-card__placeholder span { font-size: .6rem; font-weight: 700; letter-spacing: .2em; color: var(--tcp-muted); }
.tcp-post-card__body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.tcp-post-card__title { font-size: 17px; margin: 0 0 8px; }
.tcp-post-card__title a { text-decoration: none; transition: color .15s ease; }
.tcp-post-card__title a:hover { color: var(--tcp-red); }
.tcp-post-card__excerpt {
	color: var(--tcp-muted);
	font-size: .85rem;
	margin: 0 0 14px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.tcp-post-card__footer { margin-top: auto; display: flex; justify-content: space-between; color: var(--tcp-muted); font-size: .78rem; }
.tcp-post-card__read { display: inline-block; color: var(--tcp-red); font-weight: 700; text-decoration: none; transition: transform .15s ease; }
.tcp-post-card__read:hover { transform: translateX(3px); }

.tcp-pagination { margin-top: 32px; text-align: center; }
.tcp-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	margin: 0 3px;
	border: 1.5px solid var(--tcp-line-2);
	border-radius: 999px;
	text-decoration: none;
	font-weight: 600;
	transition: border-color .15s ease, color .15s ease, transform .15s ease;
}
.tcp-pagination a.page-numbers:hover { border-color: var(--tcp-red); color: var(--tcp-red); transform: translateY(-1px); }
.tcp-pagination .page-numbers.current { background: var(--tcp-navy); border-color: var(--tcp-navy); color: #fff; }
/* Homepage catalog pager (filters.js renders <button>s, not links). */
.tcp-pagination button.page-numbers { background: #fff; color: var(--tcp-ink-2); font: inherit; font-weight: 600; cursor: pointer; }
.tcp-pagination button.page-numbers:hover:not(.current) { border-color: var(--tcp-red); color: var(--tcp-red); transform: translateY(-1px); }
.tcp-pagination button.page-numbers.current { background: var(--tcp-navy); color: #fff; cursor: default; }
.tcp-pagination .page-numbers.dots { border-color: transparent; min-width: 20px; padding: 0; }
.tcp-pagination .page-numbers.prev, .tcp-pagination .page-numbers.next { font-size: 1.25rem; line-height: 1; }

/* ---------- product page ---------- */
.tcp-product { padding: 32px 0 56px; }
.tcp-product__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
/* Let wide children (the reconstitution table scrolls itself) shrink instead
   of stretching the column past a phone screen. */
.tcp-product__grid > * { min-width: 0; }
.tcp-product__media { position: sticky; top: 120px; }
.tcp-product__image {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--tcp-cream);
	border: 1px solid var(--tcp-line);
	border-radius: var(--tcp-radius-xl);
	box-shadow: var(--tcp-shadow-soft);
	min-height: 320px;
	padding: 28px;
}
/* Capped to the viewport so the photo and the trust badges under it fit
   on one screen beside the (much taller) buy box. */
.tcp-product__image img { max-height: clamp(260px, calc(100vh - 460px), 420px); width: auto; object-fit: contain; }
/* Dose photo swap (product-card.js): the incoming bottle on a copy laid
   exactly over the photo, revealed once decoded. --tcp-swap-ms set inline. */
img.tcp-photo-layer {
	position: absolute;
	margin: 0;
	max-width: none;
	max-height: none;
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--tcp-swap-ms, 180ms) ease, transform .3s ease;
}
img.tcp-photo-layer.is-in { opacity: 1; }
/* Wipe variant (product page): a mask 3x the photo's width, opaque on its
   left half with a narrow soft edge, slides from fully-hidden (100%) to
   fully-shown (0%) so the new bottle sweeps in left to right. */
img.tcp-photo-layer--wipe {
	opacity: 1;
	-webkit-mask-image: linear-gradient(to right, #000 47%, transparent 53%);
	mask-image: linear-gradient(to right, #000 47%, transparent 53%);
	-webkit-mask-size: 300% 100%;
	mask-size: 300% 100%;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: 100% 0;
	mask-position: 100% 0;
	transition: -webkit-mask-position var(--tcp-swap-ms, 420ms) var(--tcp-ease-in-out), mask-position var(--tcp-swap-ms, 420ms) var(--tcp-ease-in-out);
}
img.tcp-photo-layer--wipe.is-in { -webkit-mask-position: 0 0; mask-position: 0 0; }
.tcp-product__title { font-size: 32px; margin: 0 0 2px; }
.tcp-product__subtitle { color: var(--tcp-muted); font-size: 16px; margin: 0 0 12px; }
.tcp-stock-badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: .75rem;
	font-weight: 700;
	color: #fff;
	background: var(--tcp-ink);
	padding: 6px 12px;
	border-radius: 999px;
	margin-bottom: 14px;
}
/* a soft "live" ring that plays a few times on load, then rests */
.tcp-stock-badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tcp-green); animation: tcp-pulse 2s ease-out .6s 3; }
@keyframes tcp-pulse { 0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .45); } 100% { box-shadow: 0 0 0 7px rgba(22, 163, 74, 0); } }
.tcp-stock-badge.is-out { background: var(--tcp-line-2); color: var(--tcp-ink-2); }
.tcp-stock-badge.is-out .tcp-stock-badge__dot { background: var(--tcp-red-bright); animation: none; }
.tcp-features {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 4px;
	margin: 18px 0 0;
	padding: 22px 12px;
	background: var(--tcp-cream);
	border: 1px solid var(--tcp-line);
	border-radius: var(--tcp-radius-xl);
}
.tcp-features li {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 12px;
	padding: 4px 10px;
}
.tcp-feature__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: var(--tcp-red);
}
.tcp-feature__icon svg { width: 26px; height: 26px; }
.tcp-feature__text { display: flex; flex-direction: column; gap: 3px; line-height: 1.35; }
.tcp-feature__text strong { font-size: .82rem; font-weight: 700; color: var(--tcp-ink); }
.tcp-feature__text span { font-size: .72rem; color: var(--tcp-muted); }
@media (max-width: 560px) {
	.tcp-features { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
}
.tcp-product__price { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; font-size: 1.5rem; font-family: var(--tcp-font-heading); margin: 6px 0 4px; }
.tcp-product__price .tcp-price__from { font-size: .72em; font-weight: 500; text-transform: uppercase; letter-spacing: .03em; color: var(--tcp-red); }
.tcp-product__price .tcp-price__now { color: var(--tcp-ink); font-weight: 700; }
.tcp-product__price .tcp-price__was { font-size: 1em; font-weight: 400; color: #777; }
.tcp-product__price .tcp-price__cad { font-size: 1em; font-weight: inherit; color: inherit; }
.tcp-product__price .tcp-save-badge {
	display: inline-flex;
	align-items: center;
	background: var(--tcp-red);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .02em;
	padding: 3px 10px;
	border-radius: 999px;
}
.tcp-product__price .tcp-save-badge[hidden] { display: none; } /* no "was" price (supplies) */
.tcp-divider { border: 0; border-top: 1px solid var(--tcp-line); margin: 18px 0; }

/* buy box — the whole purchase form sits on one soft cream panel */
.tcp-buybox {
	background: var(--tcp-cream);
	border: 1px solid var(--tcp-line);
	border-radius: var(--tcp-radius-xl);
	padding: 20px 20px 18px;
	margin: 0 0 18px;
}
.tcp-buybox .tcp-product__price { margin: 0 0 16px; padding: 0 0 16px; border-bottom: 1px solid var(--tcp-line); }
.tcp-buy-form { margin: 0; }

/* variant picker */
.tcp-variant { border: 0; margin: 0 0 18px; padding: 0; }
.tcp-variant__legend { font-size: .95rem; font-weight: 700; margin-bottom: 10px; padding: 0; }
.tcp-variant__static-pill {
	display: inline-block;
	min-width: 72px;
	text-align: center;
	padding: 11px 20px;
	background: var(--tcp-red-soft);
	border: 2px solid var(--tcp-red);
	border-radius: 999px;
	font-weight: 700;
	font-size: .95rem;
}
.tcp-size-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.tcp-size-pill input { position: absolute; opacity: 0; pointer-events: none; }
.tcp-size-pill span {
	display: inline-block;
	min-width: 72px;
	text-align: center;
	padding: 11px 20px;
	background: #fff;
	border: 2px solid var(--tcp-border);
	border-radius: 999px;
	font-weight: 700;
	font-size: .95rem;
	cursor: pointer;
	transition: all .15s ease;
}
.tcp-size-pill span:hover { border-color: var(--tcp-red); transform: translateY(-1px); }
.tcp-size-pill input:checked + span { border-color: var(--tcp-red); background: var(--tcp-red-soft); box-shadow: 0 0 0 3px rgba(178, 34, 52, .12); }
.tcp-size-pill.is-soldout span,
.tcp-size-pill.is-soldout span:hover,
.tcp-size-pill.is-soldout input:checked + span {
	opacity: .55;
	background: var(--tcp-cream);
	border-color: var(--tcp-border);
	text-decoration: line-through;
	color: var(--tcp-muted-2);
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

.tcp-pack-cards { display: flex; gap: 10px; }
.tcp-pack-card { flex: 1 1 0; min-width: 96px; position: relative; }
.tcp-pack-card input { position: absolute; opacity: 0; pointer-events: none; }
.tcp-pack-card__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	padding: 16px 12px 14px;
	background: #fff;
	border: 2px solid var(--tcp-border);
	border-radius: 16px;
	cursor: pointer;
	position: relative;
	overflow: visible;
	transition: all .15s ease;
	text-align: center;
}
.tcp-pack-card__inner:hover { border-color: var(--tcp-red); transform: translateY(-1px); }
.tcp-pack-card input:checked + .tcp-pack-card__inner {
	border-color: var(--tcp-red);
	background: var(--tcp-red-soft);
	box-shadow: 0 0 0 3px rgba(178, 34, 52, .12);
}
.tcp-pack-card__badge {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -50%);
	background: var(--tcp-red);
	color: #fff;
	text-transform: uppercase;
	font-size: .56rem;
	font-weight: 700;
	letter-spacing: .04em;
	padding: 3px 9px;
	border-radius: 6px;
	white-space: nowrap;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .18);
}
.tcp-pack-card__name { font-weight: 700; font-size: 1rem; }
.tcp-pack-card__pervial { color: var(--tcp-red); font-weight: 600; font-size: .82rem; }
.tcp-pack-card__pervial em { color: var(--tcp-muted-2); font-style: normal; }
.tcp-pack-card__soldout { text-transform: uppercase; font-size: .72rem; font-weight: 600; color: var(--tcp-muted-2); }
.tcp-pack-card.is-soldout { cursor: not-allowed; }
.tcp-pack-card.is-soldout .tcp-pack-card__inner,
.tcp-pack-card.is-soldout .tcp-pack-card__inner:hover {
	opacity: .55;
	background: var(--tcp-cream);
	border-color: var(--tcp-border);
	cursor: not-allowed;
	transform: none;
}
.tcp-pack-card.is-soldout .tcp-pack-card__name { text-decoration: line-through; }

.tcp-buy-row { display: flex; gap: 12px; margin: 6px 0 0; }
.tcp-qty {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--tcp-border);
	border-radius: var(--tcp-radius-btn);
	overflow: hidden;
	flex-shrink: 0;
}
.tcp-qty__btn { width: 38px; height: 44px; background: #fff; border: 0; font-size: 1.1rem; cursor: pointer; color: var(--tcp-ink); transition: background .15s ease, color .15s ease; }
.tcp-qty__btn:hover { background: var(--tcp-red-soft); color: var(--tcp-red); }
.tcp-qty__input { width: 44px; height: 44px; border: 0; text-align: center; font: inherit; font-weight: 700; -moz-appearance: textfield; }
.tcp-qty__input::-webkit-outer-spin-button, .tcp-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; }
.tcp-atc { font-size: 1rem; }
.tcp-atc:disabled { background: var(--tcp-line-2); color: var(--tcp-muted); box-shadow: none; transform: none; cursor: not-allowed; }

/* info tabs — segmented pill control */
.tcp-tabs { margin: 4px 0 18px; }
.tcp-tabs__nav {
	display: inline-flex;
	gap: 4px;
	background: var(--tcp-cream);
	border: 1px solid var(--tcp-line);
	border-radius: 999px;
	padding: 4px;
}
.tcp-tabs__tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: none;
	border: 0;
	border-radius: 999px;
	padding: 8px 16px;
	font: inherit;
	font-size: .88rem;
	font-weight: 700;
	color: var(--tcp-muted);
	cursor: pointer;
	white-space: nowrap;
	transition: color .15s ease, background .15s ease, box-shadow .15s ease;
}
.tcp-tabs__tab svg { width: 17px; height: 17px; flex-shrink: 0; }
.tcp-tabs__tab:hover { color: var(--tcp-ink); }
.tcp-tabs__tab.is-active { color: var(--tcp-ink); background: #fff; box-shadow: var(--tcp-shadow-soft); }
.tcp-tabs__panel { display: none; padding: 16px 4px 0 18px; font-size: 15px; line-height: 1.65; color: var(--tcp-ink); }
.tcp-tabs__panel.is-active { display: block; }
.tcp-tabs__panel p { color: var(--tcp-ink); }
.tcp-tabs__panel ul { margin: 10px 0; padding-left: 1.25em; }
.tcp-tabs__panel a { color: var(--tcp-red); }

.tcp-product__disclaimer {
	background: var(--tcp-red-dark);
	color: #fff;
	border-radius: 12px;
	padding: 14px 16px;
	font-size: .85rem;
	margin: 0 0 18px;
}
.tcp-product__disclaimer a { color: #fff; }

.tcp-accordion { display: flex; flex-direction: column; gap: 10px; }
.tcp-accordion__item {
	border: 1px solid var(--tcp-line-2);
	border-radius: var(--tcp-radius-card);
	background: #fff;
	transition: border-color .15s ease, background .15s ease;
}
.tcp-accordion__item[open] { background: var(--tcp-cream); border-color: var(--tcp-line); }
.tcp-accordion__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	list-style: none;
	cursor: pointer;
	padding: 14px 18px;
	font-weight: 700;
	font-size: .95rem;
	transition: color .15s ease;
}
.tcp-accordion__item summary:hover { color: var(--tcp-red); }
.tcp-accordion__item summary::-webkit-details-marker { display: none; }
.tcp-accordion__icon { color: var(--tcp-red); font-size: 1.2rem; font-weight: 400; transition: transform .2s ease; }
.tcp-accordion__item[open] .tcp-accordion__icon { transform: rotate(45deg); }
.tcp-accordion__body { padding: 0 18px 16px; color: var(--tcp-ink-2); font-size: .9rem; }

/* breadcrumbs */
.tcp-breadcrumbs { margin: 0 0 18px; font-size: .82rem; color: var(--tcp-muted); }
.tcp-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0; padding: 0; }
.tcp-breadcrumbs li { display: inline-flex; align-items: center; min-width: 0; }
.tcp-breadcrumbs li + li::before { content: "›"; margin: 0 8px; color: var(--tcp-muted-2); }
.tcp-breadcrumbs a { color: var(--tcp-muted); text-decoration: none; }
.tcp-breadcrumbs a:hover { color: var(--tcp-red); text-decoration: underline; }
.tcp-breadcrumbs [aria-current] { color: var(--tcp-ink); font-weight: 600; }

/* per-mg price lines */
.tcp-size-pill__permg { display: block; margin-top: 2px; font-style: normal; font-size: .72rem; font-weight: 600; color: var(--tcp-red); }
.tcp-size-pill__permg:empty,
.tcp-size-pill.is-soldout .tcp-size-pill__permg { display: none; }
.tcp-size-pill__permg em,
.tcp-pack-card__permg em { color: var(--tcp-muted-2); font-style: normal; }
.tcp-pack-card__permg { font-size: .72rem; font-weight: 600; color: var(--tcp-ink-2); }

/* payment methods */
/* Compact "We accept" logo row (tcp_accepted_payments_compact(), inc/checkout.php):
   product buy box + homepage hero. Reuses the .tcp-summary-cards marks at 24px. */
.tcp-paystrip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.tcp-paystrip__label { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--tcp-muted); white-space: nowrap; }
.tcp-paystrip .tcp-paystrip__icons { margin: 0; gap: 6px; }
.tcp-paystrip .tcp-paystrip__icons img { width: 24px; height: 24px; }
.tcp-paystrip .tcp-paystrip__icons img.tcp-pay-brand { width: auto; height: 24px; border-radius: 5px; }
.tcp-paystrip .tcp-paystrip__icons img.tcp-pay-brand--chip { padding: 5px 7px; box-shadow: inset 0 0 0 1px var(--tcp-line-2); }
.tcp-paystrip .tcp-paystrip__icons img.tcp-pay-card { width: 38px; height: 24px; border-radius: 4px; }
.tcp-paystrip__more { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 5px; background: #fff; box-shadow: inset 0 0 0 1px var(--tcp-line-2); font-size: .72rem; font-weight: 700; color: var(--tcp-ink-2); white-space: nowrap; cursor: help; }
.tcp-paystrip--product { margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--tcp-line); }
.tcp-paystrip--hero { margin-top: clamp(14px, 1.2vw, 20px); }
.tcp-paystrip--hero .tcp-paystrip__label { color: var(--tcp-ink-2); }

/* Delivery estimate + "Notify me" (inc/product-trust.php, inc/stock-alerts.php, assets/js/product-extras.js) */
.tcp-eta { margin: 14px 0 0; background: #fff; border: 1px solid var(--tcp-line-2); border-radius: 12px; overflow: hidden; font-size: .84rem; line-height: 1.4; }
.tcp-eta__ship { display: flex; gap: 10px; align-items: center; margin: 0; padding: 10px 14px; background: var(--tcp-green-soft); font-weight: 600; color: var(--tcp-ink); }
.tcp-eta__icon { display: inline-flex; flex-shrink: 0; color: var(--tcp-green-dark); }
.tcp-eta__clock { font-weight: 800; color: var(--tcp-green-dark); font-variant-numeric: tabular-nums; }
.tcp-eta__methods { list-style: none; margin: 0; padding: 2px 14px; }
.tcp-eta__methods:empty { display: none; }
.tcp-eta__methods li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 12px; padding: 9px 0; }
.tcp-eta__methods li + li { border-top: 1px solid var(--tcp-line); }
.tcp-eta__method { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--tcp-ink); }
.tcp-eta__tag { padding: 2px 8px; background: var(--tcp-green-soft); border-radius: 999px; font-size: .7rem; font-weight: 700; color: var(--tcp-green-dark); white-space: nowrap; }
.tcp-eta__dates { color: var(--tcp-ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 480px) {
	.tcp-eta__methods li { flex-direction: column; align-items: flex-start; gap: 2px; }
}
.tcp-notify { margin: 14px 0 0; padding: 16px; background: #fff; border: 1px solid var(--tcp-line-2); border-radius: var(--tcp-radius-card); }
.tcp-notify__title { margin: 0 0 10px; font-weight: 700; color: var(--tcp-ink); }
.tcp-notify__form { display: flex; gap: 8px; }
.tcp-notify__input { flex: 1; min-width: 0; padding: 11px 14px; border: 1px solid var(--tcp-line-2); border-radius: var(--tcp-radius-btn); font: inherit; font-size: .92rem; }
.tcp-notify__input:focus { outline: 2px solid var(--tcp-navy); outline-offset: 1px; }
.tcp-notify__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.tcp-notify__btn { white-space: nowrap; }
.tcp-notify__msg { margin: 8px 0 0; font-size: .86rem; font-weight: 600; }
.tcp-notify__msg:empty { display: none; }
.tcp-notify__msg.is-ok { color: var(--tcp-green-dark); }
.tcp-notify__msg.is-error { color: var(--tcp-red); }
.tcp-notify__fine { margin: 8px 0 0; font-size: .76rem; color: var(--tcp-muted); }
@media (max-width: 480px) {
	.tcp-notify__form { flex-direction: column; }
}
.tcp-card__soldout.is-coming { background: var(--tcp-navy); }
.tcp-card__btn--notify { background: var(--tcp-navy); }
.tcp-card__btn--notify:hover { background: var(--tcp-navy-dark); }

/* SKU / category / brand */
.tcp-product__meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0 0 18px; padding: 0 4px; font-size: .82rem; }
.tcp-product__meta div { display: flex; gap: 6px; }
.tcp-product__meta dt { color: var(--tcp-muted); }
.tcp-product__meta dd { margin: 0; font-weight: 600; color: var(--tcp-ink); }
.tcp-product__meta a { color: inherit; }
.tcp-product__meta a:hover { color: var(--tcp-red); }

/* reconstitution reference */
.tcp-recon { margin: 0 0 18px; padding: 20px; background: #fff; border: 1px solid var(--tcp-line-2); border-radius: var(--tcp-radius-card); }
.tcp-recon__eyebrow { margin: 0 0 4px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tcp-red); }
.tcp-recon__title { margin: 0 0 8px; font-family: var(--tcp-font-heading); font-size: 1.15rem; color: var(--tcp-navy); }
.tcp-recon__intro { margin: 0 0 14px; font-size: .88rem; color: var(--tcp-ink-2); }
.tcp-recon__intro a { color: var(--tcp-red); }
.tcp-recon__table-wrap { overflow-x: auto; margin: 0 0 16px; border: 1px solid var(--tcp-line); border-radius: 12px; }
.tcp-recon__table { width: 100%; border-collapse: collapse; font-size: .84rem; font-variant-numeric: tabular-nums; }
.tcp-recon__table th,
.tcp-recon__table td { padding: 9px 12px; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--tcp-line); }
.tcp-recon__table thead th { background: var(--tcp-cream); font-size: .74rem; font-weight: 700; color: var(--tcp-muted); }
.tcp-recon__table tbody th { font-weight: 700; color: var(--tcp-ink); }
.tcp-recon__table tbody tr:last-child > * { border-bottom: 0; }
.tcp-recon__links { display: flex; flex-direction: column; gap: 6px; list-style: none; margin: 0 0 12px; padding: 0; }
.tcp-recon__links a { font-size: .88rem; font-weight: 600; color: var(--tcp-red); text-decoration: none; }
.tcp-recon__links a:hover { text-decoration: underline; }
.tcp-recon__note { margin: 0; font-size: .74rem; color: var(--tcp-muted); }
@media (max-width: 560px) {
	.tcp-recon { padding: 16px; }
}

/* product page "What arrives" + spec sheet (woocommerce/single-product.php) */
.tcp-specs { display: grid; gap: 16px; margin: 0 0 18px; padding: 18px 20px; background: #fff; border: 1px solid var(--tcp-line-2); border-radius: var(--tcp-radius-card); }
.tcp-specs__title { margin: 0 0 8px; font-family: var(--tcp-font-heading); font-size: 1.05rem; color: var(--tcp-navy); }
.tcp-specs__arrives ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.tcp-specs__arrives li { position: relative; padding-left: 22px; font-size: .88rem; color: var(--tcp-ink-2); }
.tcp-specs__arrives li::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 800; color: var(--tcp-green); }
.tcp-specs__arrives a { color: var(--tcp-red); }
.tcp-specs__table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.tcp-specs__table th, .tcp-specs__table td { padding: 8px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--tcp-line); }
.tcp-specs__table tr:last-child > * { border-bottom: 0; }
.tcp-specs__table th { width: 34%; padding-right: 12px; font-weight: 600; color: var(--tcp-muted); }
.tcp-specs__table td { color: var(--tcp-ink); overflow-wrap: anywhere; }

/* floating Savings tab + panel (template-parts/savings-tab.php) */
.tcp-savings__tab {
	position: fixed;
	right: 0;
	top: 58%;
	z-index: 80;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 10px 7px 12px;
	border: 1px solid var(--tcp-line-2);
	border-right: 0;
	border-radius: 14px 0 0 14px;
	background: #fff;
	box-shadow: var(--tcp-shadow-lift);
	color: var(--tcp-navy);
	font: inherit;
	cursor: pointer;
	transition: padding .15s ease, transform .3s var(--tcp-ease-out);
}
.tcp-savings__tab:hover { padding-right: 11px; }
/* .is-tucked: main.js slides it off the edge while a control is underneath */
.tcp-savings__tab.is-tucked { transform: translateX(110%); pointer-events: none; }
.tcp-savings__pct { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--tcp-red); color: #fff; font-size: 13px; font-weight: 800; }
.tcp-savings__label { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.tcp-savings__scrim { position: fixed; inset: 0; z-index: 120; background: rgba(7, 20, 40, .45); opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s linear .2s; }
.tcp-savings__panel {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 121;
	width: min(380px, 92vw);
	padding: 22px;
	overflow-y: auto;
	background: #fff;
	box-shadow: -20px 0 50px rgba(7, 20, 40, .2);
	transform: translateX(100%);
	visibility: hidden;
	transition: transform .28s var(--tcp-ease-out), visibility 0s linear .28s;
}
.tcp-savings.is-open .tcp-savings__scrim { opacity: 1; visibility: visible; transition-delay: 0s; }
.tcp-savings.is-open .tcp-savings__panel { transform: none; visibility: visible; transition-delay: 0s; }
.tcp-savings__head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 16px; }
.tcp-savings__title { margin: 0; font-family: var(--tcp-font-heading); font-size: 1.35rem; font-weight: 800; color: var(--tcp-navy); }
.tcp-savings__x { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--tcp-cream); color: var(--tcp-ink); cursor: pointer; }
.tcp-savings__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tcp-savings__deal { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border: 1px solid var(--tcp-line); border-radius: var(--tcp-radius-card); background: var(--tcp-cream); }
.tcp-savings__big { flex: 0 0 62px; font-family: var(--tcp-font-heading); font-size: 1.45rem; font-weight: 800; line-height: 1.1; color: var(--tcp-red); }
.tcp-savings__deal p { margin: 0; font-size: .88rem; color: var(--tcp-ink-2); }
.tcp-savings__deal b { color: var(--tcp-ink); }
.tcp-savings__deal a { display: inline-block; margin-top: 6px; font-size: .86rem; font-weight: 700; color: var(--tcp-navy); text-decoration: none; }
.tcp-savings__deal a:hover { color: var(--tcp-red); }
@media (max-width: 749px) {
	/* phones: just the % badge, so the tab covers ~36x42px of the page edge
	   instead of a 110px strip over cards and buttons. The label stays for
	   screen readers. */
	.tcp-savings__tab { top: auto; bottom: 96px; padding: 8px 6px 8px 7px; }
	.tcp-savings__tab:hover { padding-right: 6px; }
	.tcp-savings__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media print { .tcp-savings { display: none; } }
@media (prefers-reduced-motion: reduce) { .tcp-savings__panel, .tcp-savings__scrim { transition: none; } }

/* glossary page */
.tcp-glossary__az { flex-wrap: wrap; }
.tcp-glossary__az a { min-width: 36px; justify-content: center; }
.tcp-glossary__list { max-width: 80ch; margin: 0; }
.tcp-glossary__letter { margin: 28px 0 6px; font-family: var(--tcp-font-heading); font-size: 1.6rem; font-weight: 800; color: var(--tcp-red); }
.tcp-glossary__entry { padding: 14px 0; border-bottom: 1px solid var(--tcp-line); }
.tcp-glossary__entry:target { background: var(--tcp-navy-soft); border-radius: 10px; padding-inline: 12px; }
.tcp-glossary__entry dt { font-family: var(--tcp-font-heading); font-size: 1.08rem; font-weight: 700; color: var(--tcp-navy); }
.tcp-glossary__entry dd { margin: 4px 0 0; color: var(--tcp-ink-2); line-height: 1.6; }
.tcp-glossary__entry dd a { margin-left: 4px; font-weight: 600; color: var(--tcp-red); text-decoration: none; white-space: nowrap; }
.tcp-glossary__entry dd a:hover { text-decoration: underline; }

/* long-form research description (General tab expander) */
.tcp-research { margin: 18px 0 4px; border-top: 1px solid var(--tcp-line-2); }
.tcp-research__toggle { display: flex; align-items: center; gap: 8px; padding: 14px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: .95rem; color: var(--tcp-navy); }
.tcp-research__toggle::-webkit-details-marker { display: none; }
.tcp-research__toggle::after { content: ""; width: 8px; height: 8px; margin-left: 2px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; }
.tcp-research[open] > .tcp-research__toggle::after { transform: translateY(2px) rotate(-135deg); }
.tcp-research__toggle:hover { color: var(--tcp-red); }
.tcp-research__toggle:focus-visible { outline: 2px solid var(--tcp-navy-2); outline-offset: 2px; border-radius: 4px; }
.tcp-research__close,
.tcp-research[open] .tcp-research__open { display: none; }
.tcp-research[open] .tcp-research__close { display: inline; }
.tcp-research__body { padding: 0 0 8px; }
.tcp-research__body h2 { margin: 28px 0 10px; font-family: var(--tcp-font-heading); font-size: 1.2rem; line-height: 1.3; color: var(--tcp-navy); scroll-margin-top: 110px; }
.tcp-research__body h2:first-child { margin-top: 6px; }
.tcp-research__body h3 { margin: 18px 0 6px; font-size: 1rem; line-height: 1.35; color: var(--tcp-ink); }
.tcp-research__body ol { margin: 10px 0; padding-left: 1.4em; }
.tcp-research__body li { margin: 0 0 4px; }
.tcp-research__body sup { line-height: 0; }
.tcp-research__body sup a { text-decoration: none; font-weight: 600; }
.tcp-research__table { overflow-x: auto; margin: 12px 0 16px; border: 1px solid var(--tcp-line); border-radius: 12px; }
.tcp-research__table table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .84rem; line-height: 1.45; }
.tcp-research__table th,
.tcp-research__table td { padding: 9px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--tcp-line); }
.tcp-research__table thead th { background: var(--tcp-cream); font-size: .74rem; font-weight: 700; color: var(--tcp-muted); }
.tcp-research__table tbody th { font-weight: 700; color: var(--tcp-ink); }
.tcp-research__table tbody tr:last-child > * { border-bottom: 0; }
.tcp-research__refs { font-size: .82rem; line-height: 1.5; color: var(--tcp-ink-2); overflow-wrap: anywhere; }
.tcp-research__refs li { scroll-margin-top: 110px; }
.tcp-research__refs li:target { background: var(--tcp-navy-soft); border-radius: 4px; }
.tcp-research__note { margin-top: 18px; font-size: .8rem; color: var(--tcp-muted) !important; }

/* "You may also like": in-stock cards in a horizontal scroll-snap track.
   No visible scrollbar: arrows (desktop), drag/swipe, a slim progress bar,
   and edge fades when there's more to either side (assets/js/main.js sets
   .is-scrollable / .can-prev / .can-next on the section). */
.tcp-related { --rel-gap: 22px; --rel-pad: 16px; margin-top: 64px; }
.tcp-related__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.tcp-related__head .tcp-h2 { margin: 0; }
.tcp-related__nav { display: flex; gap: 10px; flex: none; }
.tcp-related:not(.is-scrollable) .tcp-related__nav { visibility: hidden; }
.tcp-related__btn {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid var(--tcp-line-2);
	background: #fff;
	color: var(--tcp-navy);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	box-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 4px 12px rgba(16, 24, 40, .06);
	transition: background .15s ease, color .15s ease, border-color .15s ease, opacity .15s ease, box-shadow .15s ease, transform .15s ease;
}
.tcp-related__btn svg { display: block; }
.tcp-related__btn:hover:not(:disabled) { background: var(--tcp-navy); border-color: var(--tcp-navy); color: #fff; box-shadow: 0 6px 16px rgba(10, 49, 97, .25); }
.tcp-related__btn:active:not(:disabled) { transform: scale(.94); }
.tcp-related__btn:focus-visible { outline: 2px solid var(--tcp-navy); outline-offset: 3px; }
.tcp-related__btn:disabled { opacity: .35; cursor: default; box-shadow: none; }

/* The viewport bleeds past the content edge so card shadows and the hover
   lift aren't clipped; the track pads it back in. */
.tcp-related__viewport { margin: -14px calc(-1 * var(--rel-pad)) -8px; }
.tcp-related__track {
	--fade-l: 0px;
	--fade-r: 0px;
	display: flex;
	gap: var(--rel-gap);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--rel-pad);
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	padding: 14px var(--rel-pad) 22px;
	scrollbar-width: none;
	-webkit-mask-image: linear-gradient(to right, transparent, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent);
	mask-image: linear-gradient(to right, transparent, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent);
}
.tcp-related__track::-webkit-scrollbar { display: none; }
.tcp-related.can-prev .tcp-related__track { --fade-l: 56px; }
.tcp-related.can-next .tcp-related__track { --fade-r: 56px; }
.tcp-related__track:focus-visible { outline: 2px solid var(--tcp-navy); outline-offset: -6px; border-radius: 24px; }
.tcp-related__track.is-dragging { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; user-select: none; }
.tcp-related__track.is-dragging .tcp-card { pointer-events: none; }
.tcp-related__track > * { flex: 0 0 calc((100% - 2 * var(--rel-pad) - 3 * var(--rel-gap)) / 4); min-width: 0; scroll-snap-align: start; }

/* Progress bar: replaces the native scrollbar. */
.tcp-related__progress { display: none; position: relative; width: min(240px, 50%); height: 4px; margin: 4px auto 0; border-radius: 999px; background: var(--tcp-line-2); overflow: hidden; }
.tcp-related.is-scrollable .tcp-related__progress { display: block; }
.tcp-related__progress-bar { position: absolute; top: 0; bottom: 0; left: 0; width: 25%; border-radius: inherit; background: var(--tcp-navy); }

/* Price: now + currency on one line, was + Save % under it, so every card's
   footer has the same shape and nothing wraps unevenly. */
.tcp-related .tcp-card__footer { align-items: center; }
.tcp-related .tcp-price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; row-gap: 3px; }
.tcp-related .tcp-price:has(.tcp-price__was)::after { content: ""; order: 3; flex-basis: 100%; height: 0; }
.tcp-related .tcp-price__from { order: 0; }
.tcp-related .tcp-price__now { order: 1; font-size: 1.22rem; letter-spacing: -.01em; }
.tcp-related .tcp-price__cad { order: 2; }
.tcp-related .tcp-price__was { order: 4; }
.tcp-related .tcp-save-badge { order: 5; }

@media (max-width: 989px) {
	.tcp-related__track > * { flex-basis: calc((100% - 2 * var(--rel-pad) - 2 * var(--rel-gap)) / 2.4); }
}
@media (max-width: 749px) {
	.tcp-related { --rel-gap: 12px; margin-top: 48px; }
	.tcp-related__nav { display: none; }
	/* one card and a peek of the next */
	.tcp-related__track > * { flex-basis: min(76%, 290px); }
	.tcp-related.can-prev .tcp-related__track { --fade-l: 24px; }
	.tcp-related.can-next .tcp-related__track { --fade-r: 24px; }
	.tcp-related .tcp-card__footer { flex-direction: row; align-items: center; }
}

/* ---------- cart drawer ---------- */
html.tcp-drawer-lock, html.tcp-gate-lock { overflow: hidden; }
.tcp-drawer { position: fixed; inset: 0; z-index: 1000; pointer-events: none; }
.tcp-drawer__overlay { position: absolute; inset: 0; background: rgba(11, 27, 51, .5); opacity: 0; transition: opacity .25s ease; }
.tcp-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	width: min(430px, 100vw);
	background: #fff;
	border-radius: 22px 0 0 22px;
	overflow: hidden;
	box-shadow: -12px 0 40px rgba(0, 0, 0, .18);
	transform: translateX(100%);
	transition: transform .28s var(--tcp-ease-out);
	display: flex;
	flex-direction: column;
}
.tcp-drawer.is-open { pointer-events: auto; }
.tcp-drawer.is-open .tcp-drawer__overlay { opacity: 1; }
.tcp-drawer.is-open .tcp-drawer__panel { transform: none; }
.tcp-drawer__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 18px 10px;
	border-bottom: 1px solid var(--tcp-line);
}
.tcp-drawer__title { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; margin: 0; }
.tcp-drawer__count {
	background: var(--tcp-ink);
	color: #fff;
	font-family: var(--tcp-font-body);
	font-size: .7rem;
	font-weight: 700;
	min-width: 22px;
	height: 22px;
	line-height: 22px;
	text-align: center;
	border-radius: 999px;
	padding: 0 6px;
}
.tcp-drawer__close { background: none; border: 0; cursor: pointer; width: 36px; height: 36px; border-radius: 8px; color: var(--tcp-ink); transition: background .15s ease, color .15s ease; }
.tcp-drawer__close:hover { background: var(--tcp-red-soft); color: var(--tcp-red); }
.tcp-drawer__body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.tcp-drawer__scroll { flex: 1; overflow-y: auto; padding: 14px 16px; }
.tcp-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; }

.tcp-ship-bar { background: var(--tcp-cream); border: 1px solid var(--tcp-line); border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; }
.tcp-ship-bar__text { display: flex; align-items: center; gap: 8px; margin: 0 0 9px; font-size: .82rem; line-height: 1.3; }
.tcp-ship-bar__icon { width: 17px; height: 17px; flex: 0 0 auto; color: var(--tcp-red); }
.tcp-ship-bar.is-qualified .tcp-ship-bar__icon { color: var(--tcp-green); }
.tcp-ship-bar__track { height: 6px; border-radius: 999px; background: var(--tcp-line-2); overflow: hidden; }
.tcp-ship-bar__fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--tcp-red), var(--tcp-red-bright)); transition: width .35s ease; }
.tcp-ship-bar.is-qualified .tcp-ship-bar__fill { background: var(--tcp-green); }

/* Post-purchase "next order" reward promo (cart drawer + checkout summary). */
.tcp-next-reward {
	display: flex;
	align-items: center;
	gap: 9px;
	background: var(--tcp-green-soft);
	border: 1px solid color-mix(in srgb, var(--tcp-green) 22%, transparent);
	border-radius: 12px;
	padding: 11px 13px;
	margin-top: 14px;
}
.tcp-next-reward__icon { width: 20px; height: 20px; flex: 0 0 auto; color: var(--tcp-green-dark); }
.tcp-next-reward__text { margin: 0; font-size: .82rem; line-height: 1.35; color: var(--tcp-ink-2); }
.tcp-next-reward__text strong { color: var(--tcp-green-dark); }

/* Savings: "You're saving $X" banner, itemized list and the "Save $Y more"
   card — inc/savings.php (drawer, cart page, checkout, thank-you). */
.tcp-savings-banner {
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--tcp-green-soft);
	border: 1px solid color-mix(in srgb, var(--tcp-green) 22%, transparent);
	border-radius: 12px;
	padding: 10px 13px;
	margin: 0 0 12px;
}
.tcp-savings-banner__icon { width: 22px; height: 22px; flex: 0 0 auto; color: var(--tcp-green-dark); }
.tcp-savings-banner__title { margin: 0; font-family: var(--tcp-font-heading); font-size: 1rem; font-weight: 700; line-height: 1.25; color: var(--tcp-ink); }
.tcp-savings-banner__title strong, .tcp-savings-banner__title .amount { color: var(--tcp-green-dark); }
.tcp-savings-banner__sub { margin: 2px 0 0; font-size: .8rem; line-height: 1.35; color: var(--tcp-ink-2); }
.tcp-savings-banner--thankyou, .tcp-savings-banner--cart { padding: 14px 16px; }
.tcp-savings-banner--thankyou .tcp-savings-banner__title, .tcp-savings-banner--cart .tcp-savings-banner__title { font-size: 1.15rem; }
.tcp-savings-was { color: var(--tcp-muted); font-weight: 400; margin-left: 4px; }
.tcp-savings-details { margin: 0 0 4px; }
.tcp-savings-details__rows { margin: 0 0 8px; }
.tcp-savings-details__rows[hidden] { display: none; }
.tcp-savings-details__rows:has(+ .tcp-summary-row--credit) { margin-bottom: 0; }
.tcp-savings-details .tcp-summary-row--credit { margin-bottom: 8px; }
.tcp-savings-details__toggle { cursor: pointer; }
.tcp-savings-details__toggle .tcp-savings-banner { margin: 0; }
.tcp-savings-banner__chevron { flex: 0 0 auto; margin-left: auto; color: var(--tcp-green-dark); transition: transform .2s ease; }
.tcp-savings-details .tcp-savings-banner__chevron { transform: rotate(180deg); }
.tcp-savings-details.is-open .tcp-savings-banner__chevron { transform: rotate(0deg); }
.tcp-summary__free { color: var(--tcp-green-dark); font-weight: 600; }

.tcp-savings-box { background: #fff; border: 1px solid var(--tcp-line); border-radius: var(--tcp-radius-card); padding: 16px; margin: 0 0 16px; }
.tcp-savings-box--thankyou { margin: 0 0 28px; }
.tcp-savings-list { list-style: none; margin: 0; padding: 0; }
.tcp-savings-list__row { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; padding: 4px 0; color: var(--tcp-ink-2); }
.tcp-savings-list__row--muted { color: var(--tcp-muted); }
.tcp-savings-list__row--save { color: var(--tcp-green-dark); font-weight: 600; }
.tcp-savings-list__row--total { border-top: 1px solid var(--tcp-line); margin-top: 6px; padding-top: 10px; font-weight: 800; color: var(--tcp-ink); }

.tcp-save-more {
	background: #fff;
	border: 1.5px dashed color-mix(in srgb, var(--tcp-navy) 35%, transparent);
	border-radius: 14px;
	padding: 12px 14px;
	margin: 0 0 12px;
}
.tcp-save-more__title { margin: 0 0 3px; font-family: var(--tcp-font-heading); font-size: 1rem; font-weight: 700; color: var(--tcp-ink); }
.tcp-save-more__title strong, .tcp-save-more__title .amount { color: var(--tcp-green-dark); }
.tcp-save-more__text { margin: 0 0 10px; font-size: .82rem; line-height: 1.4; color: var(--tcp-ink-2); }
.tcp-save-more__btn {
	display: block;
	width: 100%;
	background: var(--tcp-navy);
	color: #fff;
	border: 0;
	border-radius: 10px;
	padding: 10px 14px;
	font: inherit;
	font-weight: 700;
	font-size: .88rem;
	cursor: pointer;
	transition: background .15s ease;
}
.tcp-save-more__btn:hover { background: var(--tcp-navy-2); }
.tcp-save-more__btn:disabled { opacity: .6; cursor: wait; }
.tcp-save-more__error { margin: 8px 0 0; font-size: .8rem; color: var(--tcp-red); }
.tcp-signed-up [data-tcp-needs-signup] { display: none; }

/* Order-received / thank-you confirmation variant — a touch larger. */
.tcp-next-reward--thankyou { align-items: flex-start; gap: 12px; padding: 16px 18px; margin: 24px 0; }
.tcp-next-reward--thankyou .tcp-next-reward__icon { width: 26px; height: 26px; margin-top: 1px; }
/* Card (Ontario Wellness) payment state on the order-received page — inc/card-payment.php */
.tcp-card-status { padding: 14px 18px; margin: 0 0 24px; border-radius: var(--tcp-radius-btn); border: 1px solid var(--tcp-border); background: var(--tcp-navy-soft); color: var(--tcp-ink); }
.tcp-card-status--paid { border-color: var(--tcp-green); background: var(--tcp-green-soft); }
.tcp-next-reward__title { margin: 0 0 3px; font-family: var(--tcp-font-heading); font-size: 1rem; font-weight: 700; color: var(--tcp-ink); }

.tcp-cart-lines { list-style: none; margin: 0; padding: 0; }
.tcp-cart-line {
	display: grid;
	grid-template-columns: 64px 1fr auto;
	grid-template-areas:
		"media details price"
		"media actions actions";
	gap: 6px 12px;
	background: #fff;
	border: 1px solid #ECECEF;
	border-radius: 16px;
	padding: 14px;
	margin-bottom: 12px;
}
.tcp-cart-line__media { grid-area: media; width: 64px; height: 64px; border: 1px solid var(--tcp-line); border-radius: 10px; padding: 3px; display: flex; align-items: center; justify-content: center; }
.tcp-cart-line__media a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.tcp-cart-line__media img { max-width: 100%; max-height: 100%; object-fit: contain; }
.tcp-cart-line__details { grid-area: details; min-width: 0; }
.tcp-cart-line__title { display: block; font-size: 15px; font-weight: 700; text-decoration: none; }
.tcp-cart-line__title:hover { color: var(--tcp-red); }
.tcp-cart-line__meta { color: var(--tcp-muted); font-size: 13px; margin: 2px 0 0; }
.tcp-cart-line__price { grid-area: price; text-align: right; }
.tcp-cart-line__total { font-size: 15px; font-weight: 700; }
.tcp-cart-line__sale-row { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin-top: 2px; }
.tcp-cart-line__was { color: var(--tcp-muted-2); font-size: 12.5px; }
.tcp-cart-line__actions { grid-area: actions; display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.tcp-cart-line .tcp-qty__btn, .tcp-cart-line .tcp-qty__input { height: 34px; }
.tcp-cart-line .tcp-qty__btn { width: 32px; }
.tcp-cart-line .tcp-qty__input { width: 36px; }
.tcp-cart-line__remove {
	width: 32px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: 0;
	border-radius: 8px;
	color: var(--tcp-muted-2);
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
}
.tcp-cart-line__remove:hover { color: var(--tcp-red); background: var(--tcp-red-soft); }

.tcp-addons { margin-top: 6px; }
.tcp-addons__title { font-size: 14px; font-weight: 700; margin: 0; }
.tcp-addons__sub { font-size: 12px; color: var(--tcp-muted); margin: 2px 0 10px; }
.tcp-addon {
	display: grid;
	grid-template-columns: 44px 1fr auto;
	align-items: center;
	gap: 10px;
	background: var(--tcp-cream);
	border: 1px solid var(--tcp-line);
	border-radius: 12px;
	padding: 10px;
	margin-bottom: 8px;
}
.tcp-addon__media { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.tcp-addon__media img { max-width: 100%; max-height: 100%; object-fit: contain; }
.tcp-addon__info { display: flex; flex-direction: column; min-width: 0; }
.tcp-addon__name { font-size: 13.5px; font-weight: 700; }
.tcp-addon__variant { font-size: 12px; color: var(--tcp-muted); }
.tcp-addon__right { display: flex; align-items: center; gap: 10px; }
.tcp-addon__price { font-size: 14px; font-weight: 700; }
.tcp-toggle { position: relative; display: inline-flex; cursor: pointer; }
.tcp-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.tcp-toggle__track { width: 42px; height: 24px; background: var(--tcp-border); border-radius: 999px; transition: background .18s ease; display: block; position: relative; }
.tcp-toggle__thumb {
	position: absolute;
	top: 2px;
	left: 2px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
	transition: transform .18s ease;
	display: block;
}
.tcp-toggle input:checked + .tcp-toggle__track { background: var(--tcp-red); }
.tcp-toggle input:checked + .tcp-toggle__track .tcp-toggle__thumb { transform: translateX(18px); }

.tcp-cart-summary { border-top: 1px solid var(--tcp-line); padding: 14px 16px 18px; background: #fff; }
.tcp-discount { margin-bottom: 10px; font-size: .85rem; }
.tcp-discount summary { display: flex; align-items: center; gap: 6px; cursor: pointer; font-weight: 700; list-style: none; }
.tcp-discount summary svg { transition: transform .2s ease; }
.tcp-discount[open] summary svg { transform: rotate(180deg); }
.tcp-discount summary::-webkit-details-marker { display: none; }
.tcp-discount__row { display: flex; gap: 8px; margin-top: 8px; }
.tcp-discount__input { flex: 1; border: 1px solid var(--tcp-border); border-radius: 8px; padding: 8px 10px; font: inherit; }
.tcp-discount__apply { background: var(--tcp-ink); color: #fff; border: 0; border-radius: 8px; padding: 0 14px; font-weight: 700; cursor: pointer; }
.tcp-discount__pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--tcp-red-soft);
	color: var(--tcp-red);
	font-weight: 700;
	font-size: .78rem;
	padding: 4px 10px;
	border-radius: 999px;
	margin-top: 8px;
	text-transform: uppercase;
}
.tcp-discount__remove { background: none; border: 0; color: inherit; cursor: pointer; font-size: 1rem; line-height: 1; padding: 0; }
.tcp-summary-row { display: flex; justify-content: space-between; font-size: .9rem; padding: 3px 0; }
.tcp-summary-row--muted { color: var(--tcp-muted); }
.tcp-summary-row--savings { color: var(--tcp-green-dark); font-weight: 600; }
.tcp-summary-row--total { font-size: 1.05rem; font-weight: 800; padding-top: 8px; align-items: baseline; }
.tcp-summary-total__price { display: inline-flex; align-items: baseline; gap: 7px; font-variant-numeric: tabular-nums; }
.tcp-summary-total__was { color: var(--tcp-muted); font-size: .88rem; font-weight: 500; text-decoration-thickness: 1px; }
.tcp-summary-note { color: var(--tcp-muted); font-size: .75rem; margin: 2px 0 12px; }
.tcp-checkout-btn {
	display: block;
	width: 100%;
	text-align: center;
	background: var(--tcp-red);
	color: #fff;
	font-weight: 700;
	letter-spacing: .02em;
	padding: 14px;
	border-radius: var(--tcp-radius-btn);
	text-decoration: none;
	box-shadow: 0 6px 18px rgba(178, 34, 52, .28);
	transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.tcp-checkout-btn:hover { background: var(--tcp-red-dark); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(178, 34, 52, .34); }
.tcp-checkout-btn:active { transform: translateY(0); }

/* ---------- footer ---------- */
/* footer bookend — deepens the page into an autumn forest at dusk, brand red kept
   as the top anchor edge */
/* ---------- leaf-pattern highlight ----------
   A tone-on-tone botanical watermark applied to CHOSEN elements only (not the
   page). leaf-pattern.svg is used as a CSS mask, so each element tints the
   delicate line-art leaves via --leaf-tint and dials presence via --leaf-alpha;
   only the strokes show. The watermark is a negative-z ::before + isolation, so
   it sits above the host's background but behind ALL its content without
   touching the host's own `position` (the header stays sticky) or its children
   (the announcement rotator keeps working). The host must establish a
   containing block (relative / sticky / etc.). Add `tcp-leafmark` to any
   element, then set --leaf-tint / --leaf-alpha (+ optional --leaf-size). */
.tcp-leafmark { isolation: isolate; }
.tcp-leafmark::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background: var(--leaf-tint, var(--tcp-gold));
	-webkit-mask: url("../img/star-pattern.svg") 0 0 / var(--leaf-size, 160px 160px) repeat;
	        mask: url("../img/star-pattern.svg") 0 0 / var(--leaf-size, 160px 160px) repeat;
	opacity: var(--leaf-alpha, .12);
}
/* per-element tint / presence */
.tcp-header { --leaf-tint: var(--tcp-copper); --leaf-alpha: .07; }

.tcp-footer { background: linear-gradient(180deg, #0F3B73 0%, var(--tcp-navy) 62%, var(--tcp-navy-dark) 100%); color: #fff; margin-top: 64px; border-top: 3px solid var(--tcp-red); position: relative; --leaf-tint: #fff; --leaf-alpha: .06; }
.tcp-footer .tcp-leafline--footer { background: transparent; border: 0; padding: 10px 0 2px; }
.tcp-footer a { color: rgba(255, 255, 255, .85); }
.tcp-footer a:hover { color: #fff; text-decoration: underline; }
.tcp-footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 40px; padding-top: 60px; padding-bottom: 40px; }
.tcp-footer__logo img { height: 56px; width: auto; }
.tcp-footer__brand p { color: rgba(255, 255, 255, .85); font-size: .88rem; }
.tcp-footer__address { font-style: normal; color: rgba(255, 255, 255, .85); font-size: .88rem; line-height: 1.6; }
.tcp-footer__address-name { display: block; font-weight: 700; color: #fff; }
.tcp-footer__disclaimer { font-size: .75rem !important; color: rgba(255, 255, 255, .6) !important; }
.tcp-footer__heading {
	color: #9FB7DE;
	text-transform: uppercase;
	letter-spacing: .1em;
	font-size: .75rem;
	font-weight: 700;
	margin-bottom: 14px;
}
.tcp-footer__heading--lg { color: #fff; text-transform: none; letter-spacing: 0; font-size: 1.15rem; }
.tcp-footer__menu { list-style: none; margin: 0; padding: 0; }
.tcp-footer__menu a, .tcp-footer__extra-link { display: inline-block; padding: 4px 0; font-size: .88rem; text-decoration: none; transition: transform .15s ease, color .15s ease; }
.tcp-footer__menu a:hover, .tcp-footer__extra-link:hover { transform: translateX(3px); }
.tcp-footer__signup { display: flex; position: relative; margin-top: 12px; }
.tcp-footer__signup input[type="email"] {
	flex: 1;
	border: 1px solid rgba(255, 255, 255, .35);
	background: rgba(255, 255, 255, .08);
	color: #fff;
	border-radius: 100px;
	padding: 12px 52px 12px 18px;
	font: inherit;
}
.tcp-footer__signup input[type="email"]::placeholder { color: rgba(255, 255, 255, .55); }
.tcp-footer__signup button {
	position: absolute;
	right: 5px;
	top: 50%;
	transform: translateY(-50%);
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 0;
	background: #fff;
	color: var(--tcp-red);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .15s ease, transform .15s ease;
}
.tcp-footer__signup button:hover { background: var(--tcp-red-soft); transform: translateY(-50%) scale(1.06); }
.tcp-footer__utilities-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 12px; padding-bottom: 32px; font-size: .75rem; flex-wrap: wrap; }
.tcp-footer__policies { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }
.tcp-footer__policies a { text-decoration: none; }
.tcp-footer__social { display: flex; gap: 14px; }
.tcp-footer__social a { display: inline-flex; transition: transform .15s ease, color .15s ease; }
.tcp-footer__social a:hover { transform: translateY(-2px); }

.tcp-footer__pay-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
	padding-top: 28px;
	padding-bottom: 8px;
}
.tcp-footer__pay-label {
	font-size: .72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .12em;
	opacity: .6;
}
.tcp-footer__pay .tcp-summary-cards { margin: 0; }

/* ---------- scroll top ---------- */
#tcp-scroll-top {
	position: fixed;
	bottom: 24px;
	right: 24px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--tcp-red);
	color: #fff;
	border: 0;
	cursor: pointer;
	z-index: 80;
	-webkit-tap-highlight-color: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 18px rgba(178, 34, 52, .35);
	/* Hidden by default; fades + slides in when .is-visible is toggled by JS. */
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(12px);
	transition: opacity .3s ease, transform .3s ease, visibility .3s ease, background .15s ease, box-shadow .2s ease;
}
#tcp-scroll-top.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
/* main.js hides it while it would cover a control (e.g. "Review order") */
#tcp-scroll-top.is-visible.is-tucked { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(12px); }
#tcp-scroll-top:hover { background: var(--tcp-red-dark); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(178, 34, 52, .4); }
#tcp-scroll-top:active { transform: translateY(-1px); }
#tcp-scroll-top:focus { outline: none; }
#tcp-scroll-top:focus-visible { outline: 2px solid var(--tcp-red-dark); outline-offset: 2px; }

/* ---------- age gate ---------- */
.tcp-age-gate { position: fixed; inset: 0; z-index: 2147483600; display: flex; align-items: center; justify-content: center; padding: 16px; }
.tcp-age-gate[hidden] { display: none; }
.tcp-age-gate__backdrop { position: absolute; inset: 0; background: rgba(11, 27, 51, .72); backdrop-filter: blur(6px); }
.tcp-age-gate__dialog {
	position: relative;
	background: #fff;
	border-radius: 16px;
	border-top: 5px solid var(--tcp-red);
	max-width: 480px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	padding: 28px;
	text-align: left;
}
.tcp-age-gate__logo { display: block; height: 72px; width: auto; margin: 0 auto 14px; }
.tcp-age-gate__dialog h2 { text-transform: uppercase; color: var(--tcp-red); font-size: 1.6rem; text-align: center; margin-bottom: 12px; }
.tcp-age-gate__dialog > p { font-size: .85rem; color: var(--tcp-ink-2); }
.tcp-age-gate__check { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; font-size: .85rem; cursor: pointer; }
.tcp-age-gate__check input { accent-color: var(--tcp-red); margin-top: 3px; flex-shrink: 0; }
.tcp-age-gate__check a { color: var(--tcp-red); }
.tcp-age-gate__enter {
	display: block;
	width: 100%;
	margin-top: 14px;
	background: var(--tcp-red);
	color: #fff;
	text-transform: uppercase;
	font-weight: 800;
	letter-spacing: .04em;
	border: 0;
	border-radius: var(--tcp-radius-btn);
	padding: 14px;
	cursor: pointer;
}
.tcp-age-gate__enter:disabled { background: var(--tcp-line-2); color: var(--tcp-muted); cursor: not-allowed; }
.tcp-age-gate__decline { text-align: center; font-size: .78rem; color: var(--tcp-muted); margin: 12px 0 0; }
.tcp-age-gate__decline a { color: var(--tcp-red); }

/* ---------- newsletter popup ---------- */
.tcp-newsletter { position: fixed; inset: 0; z-index: 2147483500; display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; transition: opacity .3s ease; }
.tcp-newsletter[hidden] { display: none; }
.tcp-newsletter.is-open { opacity: 1; }
.tcp-newsletter__backdrop { position: absolute; inset: 0; background: rgba(11, 27, 51, .6); }
.tcp-newsletter__dialog {
	position: relative;
	background: #fff;
	border-radius: 22px;
	max-width: 420px;
	width: 100%;
	max-height: 92vh;
	overflow-y: auto;
	overflow-x: hidden;
	box-shadow: 0 24px 64px -16px rgba(11, 27, 51, .5);
	transform: translateY(14px) scale(.97);
	transition: transform .34s var(--tcp-ease-out);
}
.tcp-newsletter.is-open .tcp-newsletter__dialog { transform: none; }
@media (prefers-reduced-motion: reduce) {
	.tcp-newsletter__dialog { transition: none; transform: none; }
}
.tcp-newsletter__x {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 2;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 0;
	background: rgba(255, 255, 255, .18);
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .18s ease;
}
.tcp-newsletter__x:hover { background: rgba(255, 255, 255, .32); }
.tcp-newsletter__head {
	position: relative;
	overflow: hidden;
	min-height: 240px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	color: #fff;
	text-align: center;
	padding: 30px 22px 22px;
	background: var(--tcp-navy-dark) image-set(url("../img/newsletter-header.webp") type("image/webp"), url("../img/newsletter-header.jpg") type("image/jpeg")) center 26% / cover no-repeat;
}
.tcp-newsletter__head::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(5, 16, 34, .92) 3%, rgba(7, 23, 48, .42) 44%, rgba(7, 23, 48, .1) 100%);
	pointer-events: none;
}
.tcp-newsletter__head > * { position: relative; }
.tcp-newsletter__wordmark { margin: 0 0 10px; font-family: var(--tcp-font-heading); font-weight: 800; font-size: .84rem; letter-spacing: .02em; text-shadow: 0 1px 8px rgba(0, 0, 0, .7); }
.tcp-newsletter__wordmark span { opacity: .82; }
.tcp-newsletter__kicker { margin: 0; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; opacity: .92; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.tcp-newsletter__amount { font-family: var(--tcp-font-heading); font-size: 3.3rem; font-weight: 800; line-height: 1; letter-spacing: -.01em; margin: 3px 0; text-shadow: 0 3px 16px rgba(0, 0, 0, .5); }
.tcp-newsletter__sub { margin: 0 0 12px; font-size: .95rem; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.tcp-newsletter__stack {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	align-self: center;
	background: var(--tcp-red);
	color: #fff;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .01em;
	padding: 5px 13px;
	border-radius: 999px;
	margin: 0;
	box-shadow: 0 4px 14px -4px rgba(0, 0, 0, .6);
}
.tcp-newsletter__stack svg { width: 13px; height: 13px; flex: 0 0 auto; }
.tcp-newsletter__body { padding: 20px 22px 22px; text-align: center; }
.tcp-newsletter__body > p { font-size: .85rem; color: var(--tcp-ink-2); }
.tcp-newsletter__badges {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin: 18px 0 20px;
	padding-top: 18px;
	border-top: 1px solid var(--tcp-line);
}
.tcp-newsletter__badges span {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	font-size: .7rem;
	font-weight: 600;
	color: var(--tcp-ink-2);
	line-height: 1.2;
	text-align: center;
}
.tcp-newsletter__badges svg {
	box-sizing: border-box;
	width: 42px;
	height: 42px;
	padding: 10px;
	color: var(--tcp-red);
	background: var(--tcp-red-soft);
	border-radius: 12px;
}
.tcp-newsletter__form { display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }
.tcp-newsletter__form input[type="email"] { border: 1.5px solid var(--tcp-line-2); border-radius: var(--tcp-radius-btn); padding: 13px 16px; font: inherit; }
.tcp-newsletter__form input[type="email"]:focus { outline: none; border-color: var(--tcp-red); box-shadow: 0 0 0 3px rgba(178, 34, 52, .12); }
.tcp-newsletter__form button { background: var(--tcp-red); color: #fff; font-weight: 700; letter-spacing: .01em; border: 0; border-radius: var(--tcp-radius-btn); padding: 14px; cursor: pointer; box-shadow: 0 6px 18px -6px rgba(178, 34, 52, .5); transition: background .18s ease, transform .18s ease, box-shadow .18s ease; }
.tcp-newsletter__form button:hover { background: var(--tcp-red-dark); transform: translateY(-1px); box-shadow: 0 10px 22px -8px rgba(178, 34, 52, .55); }
.tcp-newsletter__decline { display: block; width: 100%; margin-top: 14px; padding-top: 14px; background: none; border: 0; border-top: 1px solid var(--tcp-line); color: var(--tcp-muted); font-size: .8rem; cursor: pointer; text-decoration: underline; }
.tcp-newsletter__form button[disabled] { opacity: .65; cursor: default; transform: none; box-shadow: none; }
/* The [hidden] attr must win over the display:flex/block rules above, or a
   hidden form/decline stays visible (e.g. "Sending…" lingering after success). */
.tcp-newsletter [hidden] { display: none !important; }
.tcp-newsletter__error { color: var(--tcp-red); font-weight: 700; margin: 4px 0 0; }
.tcp-newsletter__success {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 4px 0 2px;
	padding: 18px 16px;
	font-size: 1.1rem;
	font-weight: 800;
	line-height: 1.35;
	color: var(--tcp-green-dark);
	background: var(--tcp-green-soft);
	border: 1.5px solid var(--tcp-green);
	border-radius: 14px;
}
.tcp-newsletter__success svg { width: 26px; height: 26px; flex: 0 0 auto; color: var(--tcp-green); }
.tcp-newsletter__disclaimer { font-size: .68rem; color: var(--tcp-muted); margin: 12px 0 0; }

/* "Claim 20% off" edge tab that opens the signup dialog (template-parts/newsletter-popup.php).
   It starts 10px off-screen so the wiggle never shows a gap at the edge. */
.tcp-welcome-tab {
	position: fixed;
	left: -10px;
	top: 50%;
	z-index: 80;
	transform: translate(-110%, -50%);
	transition: transform .45s var(--tcp-ease-out);
}
.tcp-welcome-tab[hidden] { display: none; }
.tcp-welcome-tab.is-in { transform: translate(0, -50%); }
/* main.js slides it off the edge while a control is underneath */
.tcp-welcome-tab.is-in.is-tucked { transform: translate(-110%, -50%); pointer-events: none; }
.tcp-welcome-tab__btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 12px 8px 14px 18px;
	border: 0;
	border-radius: 0 14px 14px 0;
	background: linear-gradient(180deg, var(--tcp-red) 0%, var(--tcp-red-dark) 100%);
	box-shadow: 0 12px 28px -10px rgba(178, 34, 52, .6), inset -1px 0 0 rgba(255, 255, 255, .14);
	color: #fff;
	font: inherit;
	cursor: pointer;
	transform-origin: left center;
	transition: padding .15s ease, box-shadow .15s ease;
	animation: tcp-welcome-wiggle 8s ease-in-out 2.5s infinite;
}
.tcp-welcome-tab__btn:hover { padding-left: 22px; box-shadow: 0 16px 32px -10px rgba(178, 34, 52, .7), inset -1px 0 0 rgba(255, 255, 255, .14); }
.tcp-welcome-tab__btn:hover, .tcp-welcome-tab__btn:focus-visible { animation-play-state: paused; }
.tcp-welcome-tab__btn:focus-visible { outline: 2px solid var(--tcp-navy); outline-offset: 2px; }
.tcp-welcome-tab.is-quiet .tcp-welcome-tab__btn { animation: none; }
.tcp-welcome-tab__icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--tcp-red); }
.tcp-welcome-tab__icon svg { width: 15px; height: 15px; }
.tcp-welcome-tab__label { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 13px; font-weight: 800; letter-spacing: .04em; white-space: nowrap; }
.tcp-welcome-tab__x {
	position: absolute;
	top: -8px;
	right: -8px;
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	padding: 0;
	border: 1px solid var(--tcp-line-2);
	border-radius: 50%;
	background: #fff;
	color: var(--tcp-muted);
	box-shadow: 0 2px 8px rgba(11, 27, 51, .15);
	cursor: pointer;
	opacity: 0;
	transition: opacity .15s ease, color .15s ease;
}
.tcp-welcome-tab:hover .tcp-welcome-tab__x, .tcp-welcome-tab__x:focus-visible { opacity: 1; }
.tcp-welcome-tab__x:hover { color: var(--tcp-ink); }
@media (hover: none) { .tcp-welcome-tab__x { opacity: .9; } }
/* A short nudge-and-wiggle at the start of each 8s cycle, then still. */
@keyframes tcp-welcome-wiggle {
	0%, 13%, 100% { transform: none; }
	2% { transform: translateX(5px) rotate(-3deg); }
	4% { transform: translateX(5px) rotate(3deg); }
	6% { transform: translateX(4px) rotate(-2.5deg); }
	8% { transform: translateX(3px) rotate(1.5deg); }
	10% { transform: translateX(1px) rotate(-.5deg); }
}
@media (max-width: 749px) {
	.tcp-welcome-tab { top: auto; bottom: 96px; transform: translateX(-110%); }
	.tcp-welcome-tab.is-in { transform: none; }
	.tcp-welcome-tab.is-in.is-tucked { transform: translateX(-110%); }
	/* phones: gift icon over a short "$20" (data-short: the offer, set in
	   template-parts/newsletter-popup.php) instead of the tall vertical
	   label, which sat over buttons and card text. The full label stays for
	   screen readers; the short one is decorative (empty alt text). */
	.tcp-welcome-tab__btn { gap: 3px; padding: 7px 5px 6px 15px; }
	.tcp-welcome-tab__btn:hover { padding-left: 15px; }
	.tcp-welcome-tab__icon { width: 24px; height: 24px; }
	.tcp-welcome-tab__icon svg { width: 13px; height: 13px; }
	.tcp-welcome-tab__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.tcp-welcome-tab__btn::after { content: attr(data-short) / ""; font-size: 10px; font-weight: 800; line-height: 1; letter-spacing: .02em; }
}
@media (prefers-reduced-motion: reduce) {
	.tcp-welcome-tab { transition: none; }
	.tcp-welcome-tab__btn { animation: none; }
}
@media print { .tcp-welcome-tab { display: none; } }

/* ---------- CSS vial fallback ---------- */
.tcp-vial { width: 86px; display: flex; flex-direction: column; align-items: center; }
.tcp-vial__cap { width: 44px; height: 18px; border-radius: 5px 5px 2px 2px; }
.tcp-vial__collar { width: 36px; height: 5px; background: #C9CDD2; }
.tcp-vial__neck { width: 30px; height: 8px; background: linear-gradient(90deg, #E7EBEE, #F7FAFC, #E7EBEE); }
.tcp-vial__body {
	position: relative;
	width: 64px;
	height: 168px;
	background: linear-gradient(90deg, #E9EDF1 0%, #FAFCFE 30%, #F2F5F8 70%, #E4E8EC 100%);
	border-radius: 8px 8px 12px 12px;
	overflow: hidden;
	border: 1px solid #D8DDE2;
}
.tcp-vial__liquid { position: absolute; bottom: 0; width: 100%; height: 78%; background: linear-gradient(180deg, rgba(240, 244, 248, .5), rgba(222, 230, 238, .8)); }
.tcp-vial__label {
	position: absolute;
	top: 18px;
	left: 4px;
	right: 4px;
	bottom: 26px;
	background: #fff;
	border: 1px solid #E3E7EB;
	border-radius: 4px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	padding: 4px 2px;
	text-align: center;
}
.tcp-vial__brand { font-size: 6px; font-weight: 800; color: var(--tcp-red); letter-spacing: .04em; }
.tcp-vial__brand2 { font-size: 5px; font-weight: 700; color: #1E4FA0; letter-spacing: .16em; }
.tcp-vial__name { font-family: var(--tcp-font-heading); font-size: 11px; font-weight: 800; line-height: 1.05; }
.tcp-vial__mg { font-size: 8px; color: var(--tcp-muted); }
.tcp-vial__ruo { font-size: 4.5px; font-weight: 700; color: var(--tcp-red); letter-spacing: .06em; }

/* ---------- static pages / prose ---------- */
.tcp-page { padding: 40px 0 64px; }
.tcp-page--narrow { max-width: 820px; }
.tcp-page--center { text-align: center; padding: 80px 0; }
.tcp-page__title { font-size: 34px; margin-bottom: 20px; }
.tcp-prose { font-size: 15px; line-height: 1.7; color: var(--tcp-ink-2); }
.tcp-prose h2 { font-size: 24px; margin-top: 1.6em; }
.tcp-prose h3 { font-size: 19px; margin-top: 1.4em; }
.tcp-prose a { color: var(--tcp-red); }
/* data-first blog posts (blog-post skill): tables, TOC, author box */
.tcp-prose .tcp-table-wrap { overflow-x: auto; margin: 1.2em 0; border: 1px solid var(--tcp-line); border-radius: 12px; }
.tcp-prose table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.tcp-prose th, .tcp-prose td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--tcp-line); }
.tcp-prose thead th { background: var(--tcp-cream); color: var(--tcp-ink); font-weight: 700; white-space: nowrap; }
.tcp-prose tbody tr:last-child td { border-bottom: 0; }
.tcp-prose .tcp-table-source { font-size: 13px; color: var(--tcp-muted); margin-top: -.6em; }
.tcp-prose .tcp-toc { background: var(--tcp-cream); border: 1px solid var(--tcp-line); border-radius: 12px; padding: 14px 18px; margin: 1.4em 0; }
.tcp-prose .tcp-toc p { margin: 0 0 6px; font-weight: 700; color: var(--tcp-ink); }
.tcp-prose .tcp-toc ol { margin: 0; padding-left: 1.2em; }
.tcp-prose .tcp-toc a { text-decoration: none; }
.tcp-prose .tcp-author { border-left: 3px solid var(--tcp-red); padding: 4px 0 4px 14px; margin: 0 0 1.4em; font-size: 14px; color: var(--tcp-muted); }
.tcp-prose .tcp-author strong { color: var(--tcp-ink); }
.tcp-prose .tcp-lead { font-size: 17px; color: var(--tcp-ink); }

/* Support page (page-support.php) */
.tcp-support__lead { font-size: 17px; line-height: 1.65; color: var(--tcp-ink); max-width: 62ch; margin: 0 0 8px; }
.tcp-support-cards { display: flex; flex-wrap: wrap; gap: 20px; margin: 28px 0 4px; }
.tcp-support-card { flex: 1 1 260px; background: var(--tcp-cream); border: 1px solid var(--tcp-border); border-radius: var(--tcp-radius-card); padding: 26px 24px; box-shadow: var(--tcp-shadow-soft); }
.tcp-support-card__icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.tcp-support-card__icon--mail { background: var(--tcp-red-soft); color: var(--tcp-red); }
.tcp-support-card__icon--faq { background: var(--tcp-green-soft); color: var(--tcp-green-dark); }
.tcp-support-card h2 { font-size: 20px; margin: 0 0 8px; color: var(--tcp-ink); }
.tcp-support-card p { margin: 0 0 18px; color: var(--tcp-muted); font-size: 15px; line-height: 1.6; }
.tcp-support-btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 14px; padding: 11px 16px; border-radius: var(--tcp-radius-btn); transition: transform .12s ease, box-shadow .12s ease; }
.tcp-support-btn:hover { transform: translateY(-1px); box-shadow: var(--tcp-shadow-soft); }
.tcp-support-btn--primary { background: var(--tcp-red); color: #fff; }
.tcp-support-btn--primary:hover { background: var(--tcp-red-dark); }
.tcp-support-btn--ghost { background: #fff; color: var(--tcp-ink); border: 1px solid var(--tcp-border); }
.tcp-support__note { display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; font-size: 14px; color: var(--tcp-muted); }
.tcp-support__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tcp-green); display: inline-block; flex: none; }

/* FAQs page contact header (page-faqs.php): serif heading on the left, an
   airmail "letter" on the right (red/navy diagonal stripe along the top, a
   perforated star stamp, the address big, then a hairline ledger). The eyebrow
   class is shared with page-track-order.php. */
.tcp-faq-contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 44px); align-items: center; margin: 8px 0 52px; }
.tcp-faq-contact__eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tcp-red); }
.tcp-faq-contact__title { margin: 0 0 14px; font-family: var(--tcp-font-display); font-weight: 800; font-size: clamp(40px, 6vw, 60px); line-height: 1; letter-spacing: -.035em; word-spacing: .05em; color: var(--tcp-navy); }
/* accent word: red, upright (the title face has no italic loaded) — same treatment as the hero's "Trusted" */
.tcp-faq-contact__title em { font-style: normal; color: var(--tcp-red); }
.tcp-faq-contact__lead { margin: 0 0 18px; font-size: 17px; line-height: 1.65; color: var(--tcp-ink-2); }
.tcp-faq-contact__jump { display: inline-flex; gap: 6px; font-weight: 700; color: var(--tcp-navy); text-decoration: none; border-bottom: 2px solid var(--tcp-red); padding-bottom: 2px; }
.tcp-faq-contact__jump:hover { color: var(--tcp-red); }
.tcp-faq-contact__letter { position: relative; overflow: hidden; padding: 34px 26px 22px; background: #fff; border: 1px solid var(--tcp-line-2); border-radius: 10px; box-shadow: var(--tcp-shadow-lift); }
.tcp-faq-contact__letter::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: repeating-linear-gradient(-45deg, var(--tcp-red) 0 10px, #fff 10px 15px, var(--tcp-navy) 15px 25px, #fff 25px 30px); }
.tcp-faq-contact__stamp { position: absolute; top: 22px; right: 22px; display: grid; place-items: center; width: 44px; height: 52px; background: var(--tcp-navy); color: #fff; font-size: 20px; line-height: 1; border-radius: 2px; transform: rotate(6deg); outline: 2px dotted #fff; outline-offset: -5px; }
.tcp-faq-contact__label { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tcp-muted); }
.tcp-faq-contact__email { display: inline-block; margin: 0 56px 18px 0; font-family: var(--tcp-font-display); font-size: clamp(22px, 2.6vw, 27px); font-weight: 600; line-height: 1.2; color: var(--tcp-navy); text-decoration: none; overflow-wrap: anywhere; }
.tcp-faq-contact__email span { white-space: nowrap; }
.tcp-faq-contact__email:hover { color: var(--tcp-red); }
.tcp-faq-contact__ledger { margin: 0 0 16px; border-top: 1px solid var(--tcp-line); }
.tcp-faq-contact__ledger div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--tcp-line-2); }
.tcp-faq-contact__ledger dt { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--tcp-red); padding-top: 2px; }
.tcp-faq-contact__ledger dd { margin: 0; font-size: 15px; line-height: 1.5; color: var(--tcp-ink); }
.tcp-faq-contact__track { font-weight: 700; color: var(--tcp-red); text-decoration: none; }
.tcp-faq-contact__track:hover { text-decoration: underline; }
.tcp-faq-contact__faq-title { font-size: 28px; margin: 0 0 8px; padding-top: 32px; border-top: 1px solid var(--tcp-line); scroll-margin-top: 90px; }
@media (max-width: 720px) {
	.tcp-faq-contact { grid-template-columns: minmax(0, 1fr); }
	.tcp-faq-contact__letter { padding: 30px 18px 18px; }
}
.tcp-article__date { color: var(--tcp-muted); font-size: .85rem; }
.tcp-article__media img { border-radius: var(--tcp-radius-card); }
.tcp-article__disclaimer {
	margin-top: 32px;
	background: var(--tcp-cream);
	border: 1px solid var(--tcp-line);
	border-radius: 12px;
	padding: 14px 16px;
	font-size: .8rem;
	color: var(--tcp-muted);
}

/* ---------- WooCommerce checkout/account polish ---------- */
.woocommerce .button, .wc-block-components-button, .woocommerce button.button {
	background: var(--tcp-red) !important;
	color: #fff !important;
	border-radius: var(--tcp-radius-btn) !important;
	border: 0 !important;
	font-weight: 700 !important;
}
.woocommerce .button:hover, .woocommerce button.button:hover { background: var(--tcp-red-dark) !important; }
.woocommerce-page .tcp-main > .woocommerce { max-width: var(--tcp-page); margin: 0 auto; padding: 32px 28px 64px; }

/* ---------- cart page (classic shortcode) ---------- */
.tcp-cart-page { padding-top: 32px; padding-bottom: 64px; }
.tcp-cart-page__title { font-size: 34px; margin: 0 0 24px; }

/* cart table → soft card */
.woocommerce-cart .tcp-cart-page table.shop_table.cart {
	border: 1px solid var(--tcp-line);
	border-radius: var(--tcp-radius-xl);
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	background: #fff;
	box-shadow: var(--tcp-shadow-soft);
}
.woocommerce-cart .tcp-cart-page table.shop_table.cart th,
.woocommerce-cart .tcp-cart-page table.shop_table.cart td {
	border: 0;
	border-bottom: 1px solid var(--tcp-line);
	padding: 16px;
	vertical-align: middle;
	background: transparent;
}
.woocommerce-cart .tcp-cart-page table.shop_table.cart thead th {
	background: var(--tcp-cream);
	text-transform: uppercase;
	letter-spacing: .08em;
	font-size: .72rem;
	color: var(--tcp-muted);
}
.woocommerce-cart .tcp-cart-page table.shop_table.cart td.actions { border-bottom: 0; background: var(--tcp-cream); }
.tcp-cart-page .product-remove a.remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	color: var(--tcp-muted) !important;
	font-size: 18px;
	font-weight: 400;
	text-decoration: none;
	transition: background .15s ease, color .15s ease;
}
.tcp-cart-page .product-remove a.remove:hover { background: var(--tcp-red-soft); color: var(--tcp-red) !important; }
.woocommerce-cart .tcp-cart-page table.cart td.product-remove { width: 40px; }
.woocommerce-cart .tcp-cart-page table.cart td.product-thumbnail { width: 88px; }
.woocommerce-cart .tcp-cart-page table.cart img {
	width: 72px;
	height: 72px;
	object-fit: contain;
	background: var(--tcp-cream);
	border: 1px solid var(--tcp-line);
	border-radius: 12px;
}
.tcp-cart-page .product-name a { font-weight: 700; text-decoration: none; }
.tcp-cart-page .product-name a:hover { color: var(--tcp-red); }
.tcp-cart-page dl.variation { display: grid; grid-template-columns: auto 1fr; gap: 0 6px; margin: 4px 0 0; font-size: .8rem; color: var(--tcp-muted); }
.tcp-cart-page dl.variation dt, .tcp-cart-page dl.variation dd { margin: 0; font-weight: 500; }
.tcp-cart-page dl.variation p { margin: 0; }
.tcp-cart-page .quantity .qty {
	width: 64px;
	min-height: 40px;
	border: 1px solid var(--tcp-border);
	border-radius: var(--tcp-radius-btn);
	text-align: center;
	font: inherit;
	font-weight: 700;
}
.woocommerce-cart .tcp-cart-page td.actions .coupon .input-text {
	width: 170px;
	min-height: 42px;
	border: 1px solid var(--tcp-border);
	border-radius: var(--tcp-radius-btn);
	padding: 8px 14px;
	font: inherit;
	font-size: .88rem;
	margin-right: 8px;
}

/* cart totals → cream panel */
.woocommerce-cart .tcp-cart-page .cart_totals { width: 47%; }
.woocommerce-cart .tcp-cart-page .cart_totals > h2 { font-size: 20px; margin: 0 0 12px; }
.woocommerce-cart .tcp-cart-page .cart_totals table.shop_table {
	background: var(--tcp-cream);
	border: 1px solid var(--tcp-line);
	border-radius: var(--tcp-radius-xl);
	border-collapse: separate;
	border-spacing: 0;
	padding: 8px;
	box-shadow: var(--tcp-shadow-soft);
}
.woocommerce-cart .tcp-cart-page .cart_totals th,
.woocommerce-cart .tcp-cart-page .cart_totals td {
	border: 0;
	border-bottom: 1px solid var(--tcp-line);
	padding: 13px 12px;
	background: transparent;
	font-size: 14px;
}
.woocommerce-cart .tcp-cart-page .cart_totals tr:last-child th,
.woocommerce-cart .tcp-cart-page .cart_totals tr:last-child td { border-bottom: 0; }
.woocommerce-cart .tcp-cart-page .cart_totals tr.order-total th,
.woocommerce-cart .tcp-cart-page .cart_totals tr.order-total td {
	font-family: var(--tcp-font-heading);
	font-weight: 800;
	font-size: 17px;
}
.tcp-cart-page #shipping_method { list-style: none; margin: 0; padding: 0; }
.tcp-cart-page #shipping_method li { margin: 0 0 8px; }
.tcp-cart-page #shipping_method input.shipping_method { accent-color: var(--tcp-red); margin-right: 6px; }
.tcp-cart-page .woocommerce-shipping-destination { color: var(--tcp-muted); font-size: .85rem; }
.tcp-cart-page .shipping-calculator-button { color: var(--tcp-red); font-weight: 600; }
.woocommerce-cart .tcp-cart-page .wc-proceed-to-checkout { padding-top: 16px; }
/* phones: the totals panel stacks under the cart at full width (47% left it
   ~160px wide, wrapping every savings line). */
@media (max-width: 749px) {
	.woocommerce-cart .tcp-cart-page .cart_totals { float: none; width: 100%; }
}

.tcp-empty-cart {
	max-width: 560px;
	margin: 24px auto 8px;
	text-align: center;
}
.tcp-empty-cart__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 84px;
	height: 84px;
	margin-bottom: 22px;
	border-radius: 50%;
	background: var(--tcp-cream);
	border: 1px solid var(--tcp-line);
	color: var(--tcp-red);
}
.tcp-empty-cart .tcp-kicker { margin-bottom: 8px; }
.tcp-empty-cart__title { font-size: 30px; line-height: 1.15; margin: 0 0 10px; }
.tcp-empty-cart__text { color: var(--tcp-muted); font-size: 1rem; line-height: 1.6; margin: 0 auto 26px; max-width: 40ch; }
.tcp-empty-cart__cta {
	display: inline-block;
	background: var(--tcp-red);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	padding: 14px 30px;
	border-radius: var(--tcp-radius-btn);
	transition: background .15s ease;
}
.tcp-empty-cart__cta:hover { background: var(--tcp-red-dark); color: #fff; }

.tcp-empty-cart__suggested { margin-top: 64px; }
.tcp-empty-cart__suggested-head { text-align: center; margin-bottom: 26px; }

@media (max-width: 640px) {
	.tcp-empty-cart__title { font-size: 25px; }
	.tcp-empty-cart__suggested { margin-top: 48px; }
}

/* ---------- classic checkout ---------- */
.tcp-checkout-page { padding-top: 32px; padding-bottom: 64px; }
.tcp-checkout-page__head { margin: 0 0 22px; }
.tcp-checkout-page__title { font-size: 34px; margin: 0; }
.tcp-checkout-page__sub { margin: 6px 0 0; font-size: 14px; color: var(--tcp-muted); }

/* minimal checkout header (header-checkout.php): logo / step strip / secure */
.tcp-checkout-header {
	background: #fff;
	border-bottom: 1px solid var(--tcp-line);
}
.tcp-checkout-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 64px;
}
.tcp-checkout-header__brand { flex: 0 0 auto; display: flex; align-items: center; }
.tcp-checkout-header__brand img { height: 38px; width: auto; display: block; }
.tcp-checkout-header__secure {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	color: var(--tcp-ink-2);
}
.tcp-checkout-header__secure svg { color: var(--tcp-muted); }

/* brand the WC notice boxes (login toggle, coupon toggle) — kill the default blue */
.tcp-checkout-page .woocommerce-info,
.tcp-cart-page .woocommerce-info {
	background: var(--tcp-cream);
	border: 1px solid var(--tcp-line);
	border-top: 0;
	border-left: 3px solid var(--tcp-red);
	border-radius: var(--tcp-radius-card);
	color: var(--tcp-ink-2);
}
.tcp-checkout-page .woocommerce-info::before,
.tcp-cart-page .woocommerce-info::before { color: var(--tcp-red); }

.tcp-checkout__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: 40px;
	align-items: start;
}
/* the whole left form sits in one white card */
.tcp-checkout__main {
	min-width: 0;
	background: #fff;
	border: 1px solid var(--tcp-line);
	border-radius: var(--tcp-radius-xl);
	padding: 28px;
	box-shadow: var(--tcp-shadow-soft);
}

.tcp-checkout__section { margin: 0 0 30px; }
.tcp-checkout__section:last-child { margin-bottom: 0; }
.tcp-checkout__heading {
	font-size: 18px;
	margin: 0 0 14px;
}

/* section head: red outline icon + bold title + one-line grey subtitle */
.tcp-section-head {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0 0 16px;
}
.tcp-section-head__icon {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	margin-top: 2px;
	color: var(--tcp-red);
}
.tcp-section-head__icon svg { width: 22px; height: 22px; display: block; }
.tcp-section-head .tcp-checkout__heading { margin: 0; font-size: 17px; }
.tcp-section-head__sub { margin: 2px 0 0; font-size: 12.5px; color: var(--tcp-muted); }

/* "Don't forget your supplies" — add-ons not yet in the cart (inc/checkout.php) */
.tcp-supplies { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tcp-supply {
	display: grid;
	grid-template-columns: 72px 1fr auto;
	align-items: center;
	gap: 16px;
	padding: 16px;
	border: 1px solid var(--tcp-line);
	border-radius: var(--tcp-radius-card);
	background: #fff;
}
.tcp-supply__media {
	width: 72px;
	height: 72px;
	border-radius: 12px;
	background: var(--tcp-cream);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.tcp-supply__media img { max-width: 100%; max-height: 100%; object-fit: contain; }
.tcp-supply__info { display: flex; flex-direction: column; min-width: 0; }
.tcp-supply__name { font-size: 15px; font-weight: 700; color: var(--tcp-ink); }
.tcp-supply__blurb { font-size: 13px; color: var(--tcp-muted); margin: 2px 0 10px; }
.tcp-checkout select.tcp-supply__qty { min-height: 42px; padding-top: 9px; padding-bottom: 9px; }
.tcp-supply__add {
	min-width: 80px;
	min-height: 44px;
	padding: 0 20px;
	border: 0;
	border-radius: var(--tcp-radius-btn);
	background: var(--tcp-red);
	color: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: background .15s ease;
}
.tcp-supply__add:hover { background: var(--tcp-red-dark); }
.tcp-supply__add:focus-visible { outline: 0; box-shadow: 0 0 0 3px var(--tcp-red-soft); }
.tcp-supply__add[disabled] { opacity: .65; cursor: progress; }
@media (max-width: 559px) {
	.tcp-supply { grid-template-columns: 56px 1fr; gap: 12px; padding: 14px; }
	.tcp-supply__media { width: 56px; height: 56px; align-self: start; }
	.tcp-supply__add { grid-column: 2; width: 100%; }
}

/* form fields — floating labels (Shopify-style): the placeholder shows while
   a field is empty; once it has a value the small label floats into the top
   of the box. Scoped to the address/contact wrappers so shipping + payment
   labels keep normal flow. */
.tcp-checkout .form-row {
	display: block;
	margin: 0 0 14px;
	padding: 0;
	width: 100% !important; /* WC core gives -first/-last width 47% + float */
	float: none !important;
}
.tcp-checkout .woocommerce-billing-fields__field-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 14px;
}
.tcp-checkout .form-row-wide { grid-column: 1 / -1; }
.tcp-checkout .form-row-first { grid-column: 1 / 2; }
.tcp-checkout .form-row-last { grid-column: 2 / 3; }
.tcp-checkout .woocommerce-billing-fields__field-wrapper .form-row { position: relative; }
.tcp-checkout .woocommerce-billing-fields__field-wrapper label {
	position: absolute;
	top: 7px;
	left: 15px;
	z-index: 2;
	margin: 0;
	font-size: 11px;
	line-height: 1.2;
	color: var(--tcp-muted);
	pointer-events: none;
	opacity: 0;
	transition: opacity .12s ease;
}
.tcp-checkout .required { display: none; }
.tcp-checkout label .optional { display: none; }
.tcp-checkout ::placeholder { color: var(--tcp-muted); opacity: 1; }
.tcp-checkout input.input-text,
.tcp-checkout textarea,
.tcp-checkout select,
.tcp-checkout .select2-container .select2-selection {
	width: 100%;
	border: 1px solid var(--tcp-border);
	border-radius: var(--tcp-radius-btn);
	padding: 12px 14px;
	font-size: 14px;
	font-family: inherit;
	color: var(--tcp-ink);
	background: #fff;
	min-height: 48px;
}
.tcp-checkout textarea { min-height: 90px; }
.tcp-checkout input.input-text:focus,
.tcp-checkout textarea:focus,
.tcp-checkout select:focus {
	outline: 0;
	border-color: var(--tcp-red);
	box-shadow: 0 0 0 3px var(--tcp-red-soft);
}
/* State dropdown — strip the native/OS select chrome and paint the theme
   chevron so the field reads identically to the text inputs beside it
   (appearance:none drops the arrow, so we draw our own). Covers both the plain
   <select> and select2's rendered box; the chevron stays vertically centred on
   the 48px box regardless of the floated-label top padding. */
.tcp-checkout select,
.tcp-checkout .select2-container .select2-selection--single {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236B7177' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 12px 8px;
	cursor: pointer;
}
.tcp-checkout select::-ms-expand { display: none; }
/* hide select2's own arrow — we draw the chevron on the box above */
.tcp-checkout .select2-container--default .select2-selection--single .select2-selection__arrow { display: none; }
/* neutralize WC's green "validated" borders; keep red for invalid */
.woocommerce form.tcp-checkout .form-row.woocommerce-validated input.input-text,
.woocommerce form.tcp-checkout .form-row.woocommerce-validated select,
.woocommerce form.tcp-checkout .form-row.woocommerce-validated .select2-container .select2-selection {
	border-color: var(--tcp-border);
}
.woocommerce form.tcp-checkout .form-row.woocommerce-validated input.input-text:focus,
.woocommerce form.tcp-checkout .form-row.woocommerce-validated select:focus {
	border-color: var(--tcp-red);
}
.woocommerce form.tcp-checkout .form-row.woocommerce-invalid input.input-text,
.woocommerce form.tcp-checkout .form-row.woocommerce-invalid select {
	border-color: var(--tcp-red);
}
/* floated state: text field with content, or a select / fixed value (always shown) */
.tcp-checkout .form-row:has(input.input-text:not(:placeholder-shown)) label,
.tcp-checkout .form-row:has(select) label,
.tcp-checkout .form-row:has(.woocommerce-input-wrapper > strong) label { opacity: 1; }
.tcp-checkout .form-row:has(input.input-text:not(:placeholder-shown)) input.input-text,
.tcp-checkout .form-row:has(select) select,
.tcp-checkout .form-row:has(select) .select2-container .select2-selection {
	padding-top: 22px;
	padding-bottom: 6px;
}
/* select2's box carries its own fixed height + a rendered span with its own
   line-height/left-padding, so the selected state value sat at a different level and
   the box was a different height than the native inputs. Match them: let the box
   grow to the shared 48px min-height and flow the value inside the same floated-
   label padding the inputs use (top 22 / bottom 6 comes from the :has(select)
   rule above), instead of centering it. */
.tcp-checkout .select2-container--default .select2-selection--single {
	display: block;
	height: auto;
}
.tcp-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
	padding: 0;
	line-height: 20px;
	color: inherit;
}
/* single-country "United States" — a fixed value, not a dropdown: the US is the only
   country the store ships to, so there is nothing to choose. Render it as a
   read-only field (same box as the inputs, faint cream fill + default cursor to
   signal it can't be changed) with no select chevron. */
.tcp-checkout #billing_country_field .woocommerce-input-wrapper {
	display: block;
	border: 1px solid var(--tcp-border);
	border-radius: var(--tcp-radius-btn);
	background: var(--tcp-cream-2);
	padding: 22px 14px 6px;
	min-height: 48px;
	font-size: 14px;
	line-height: 20px;
	color: var(--tcp-ink);
	cursor: default;
}
.tcp-checkout #billing_country_field strong { font-weight: 400; }
/* Address autocomplete dropdown (checkout.js, inc/address-autocomplete.php):
   hangs under the Address input, over the rows below it. */
.tcp-checkout #billing_address_1_field .woocommerce-input-wrapper { position: relative; display: block; }
.tcp-addr-suggest {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 6px);
	z-index: 30;
	background: #fff;
	border: 1px solid var(--tcp-border);
	border-radius: var(--tcp-radius-btn);
	box-shadow: var(--tcp-shadow-lift);
	padding: 6px;
	overflow: hidden;
}
.tcp-addr-suggest[hidden] { display: none; }
.tcp-addr-suggest ul { list-style: none; margin: 0; padding: 0; }
.tcp-addr-suggest__item {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 9px 10px 9px 34px;
	border-radius: 8px;
	cursor: pointer;
	line-height: 1.3;
}
.tcp-addr-suggest__item::before {
	content: "";
	position: absolute;
	left: 10px;
	top: 50%;
	width: 14px;
	height: 18px;
	margin-top: -9px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='18' viewBox='0 0 14 18'%3E%3Cpath d='M7 1C3.7 1 1 3.6 1 6.9 1 11.2 7 17 7 17s6-5.8 6-10.1C13 3.6 10.3 1 7 1z' fill='none' stroke='%238591A3' stroke-width='1.5'/%3E%3Ccircle cx='7' cy='7' r='2.2' fill='%238591A3'/%3E%3C/svg%3E") no-repeat center / contain;
}
.tcp-addr-suggest__item.is-active { background: var(--tcp-navy-soft); }
.tcp-addr-suggest__main { font-size: 14px; font-weight: 600; color: var(--tcp-ink); }
.tcp-addr-suggest__sub { font-size: 12.5px; color: var(--tcp-muted); }
.tcp-addr-suggest__by {
	padding: 6px 10px 2px;
	border-top: 1px solid var(--tcp-line);
	margin-top: 4px;
	font-family: Roboto, Arial, sans-serif;
	font-size: 11px;
	color: var(--tcp-muted);
	text-align: right;
}

/* shipping options + payment cards */
.tcp-ship-options__table { width: 100%; border-collapse: collapse; }
.tcp-ship-options__table th { display: none; }
.tcp-ship-options ul#shipping_method,
.tcp-ship-options .woocommerce-shipping-totals td { padding: 0; }
.tcp-ship-options ul#shipping_method {
	list-style: none;
	margin: 0;
	padding: 0;
}
.tcp-ship-options ul#shipping_method li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	border: 1px solid var(--tcp-border);
	border-radius: var(--tcp-radius-btn);
	padding: 14px 16px;
	margin: 0 0 10px;
	background: #fff;
	transition: border-color .15s ease, background .15s ease;
}
/* selected: a single red border + faint red-soft wash — clearly chosen without
   the loud doubled ring the box-shadow used to add */
.tcp-ship-options ul#shipping_method li:has(input:checked),
.tcp-ship-options ul#shipping_method li:not(:has(input[type="radio"])) {
	border-color: var(--tcp-red);
	background: var(--tcp-red-soft);
}
.tcp-ship-options ul#shipping_method input[type="radio"] {
	appearance: none;
	-webkit-appearance: none;
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 1.5px solid var(--tcp-border);
	background: #fff;
	margin: 2px 0 0; /* sit on the first text line, not centered across the card */
	cursor: pointer;
}
.tcp-ship-options ul#shipping_method input[type="radio"]:checked { border: 5px solid var(--tcp-red); }
/* single method → hidden input; draw a checked radio */
.tcp-ship-options ul#shipping_method li:not(:has(input[type="radio"]))::before {
	content: '';
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	margin-top: 2px;
	border-radius: 50%;
	border: 5px solid var(--tcp-red);
	background: #fff;
	box-sizing: border-box;
}
.tcp-checkout .tcp-ship-options ul#shipping_method li label {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: stretch;
	gap: 2px;
	margin: 0;
	color: var(--tcp-ink);
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
}
.tcp-ship-option__main {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.tcp-ship-option__price { font-weight: 600; white-space: nowrap; }
.tcp-ship-option__meta { font-weight: 400; font-size: 13px; color: var(--tcp-muted); }

/* kill WC core's grey #payment panel — the section sits on the page background */
.tcp-checkout #payment,
.woocommerce-checkout .tcp-checkout #payment {
	background: transparent !important;
	border-radius: 0;
}
.tcp-checkout #payment ul.payment_methods {
	border-bottom: 0 !important;
	padding: 0 !important;
}
.tcp-checkout #payment div.form-row.place-order {
	padding: 0 !important;
	margin: 0;
}
/* Payment methods — each option is a full-width clickable card: radio, title +
   one-line hint, gateway marks pushed right; the chosen one opens its
   description below a hairline. Markup: woocommerce/checkout/payment-method.php.
   `#payment` in the selectors outranks WC core's `#payment ul.payment_methods li`. */
.tcp-checkout #payment .wc_payment_methods {
	display: grid;
	list-style: none;
	margin: 0;
	gap: 10px;
}
.tcp-checkout #payment .wc_payment_methods li {
	position: relative;
	margin: 0;
	padding: 0;
	line-height: 1.4;
	border: 1px solid var(--tcp-border);
	border-radius: var(--tcp-radius-btn);
	background: #fff;
	transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.tcp-checkout #payment .wc_payment_methods li:hover { border-color: var(--tcp-muted-2); }
.tcp-checkout #payment .wc_payment_methods li:has(input:checked) {
	border-color: var(--tcp-red);
	box-shadow: 0 0 0 1px var(--tcp-red), 0 8px 22px rgba(178, 34, 52, .08);
	background: linear-gradient(180deg, var(--tcp-red-soft) 0, #fff 72px);
}
.tcp-checkout #payment .wc_payment_methods li:has(input:focus-visible) {
	outline: 2px solid var(--tcp-navy-2);
	outline-offset: 2px;
}
.tcp-checkout #payment .wc_payment_methods input.input-radio {
	display: block !important; /* WC's checkout JS hides it when there's a single gateway */
	position: absolute;
	left: 16px;
	top: 21px;
	appearance: none;
	-webkit-appearance: none;
	width: 18px;
	height: 18px;
	margin: 0;
	border-radius: 50%;
	border: 1.5px solid var(--tcp-border);
	background: #fff;
	cursor: pointer;
	transition: border .12s ease;
}
.tcp-checkout #payment .wc_payment_methods input.input-radio:checked { border: 5.5px solid var(--tcp-red); }
.tcp-checkout #payment .wc_payment_methods label {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 60px;
	margin: 0;
	padding: 12px 16px 12px 48px;
	cursor: pointer;
}
.tcp-paymethod__text {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
	line-height: 1.3;
}
.tcp-paymethod__title { font-size: 14.5px; font-weight: 700; color: var(--tcp-ink); }
.tcp-paymethod__hint { font-size: 12.5px; font-weight: 400; color: var(--tcp-muted); }
/* Gateway logos (NOWPayments etc.) ship a large square image with no intrinsic
   sizing — cap it to a tidy inline chip so it sits beside the label, not over it. */
.tcp-checkout #payment .wc_payment_methods label img {
	display: inline-block;
	width: auto;
	max-width: 90px;
	max-height: 26px;
	height: auto;
	margin: 0 0 0 auto;
	padding: 0;
	float: none;
	border-radius: 4px;
	object-fit: contain;
}
/* Our own inline gateway chips (coin SVGs + "150+ COINS", card mark) —
   pushed to the right end of the row. See inc/checkout.php. */
.tcp-checkout #payment .wc_payment_methods label .tcp-gateway-icons {
	display: flex;
	align-items: center;
	gap: 5px;
	flex: 0 0 auto;
	margin-left: auto;
}
.tcp-checkout #payment .wc_payment_methods label .tcp-gateway-icons img {
	width: 24px;
	height: 24px;
	max-width: none;
	max-height: none;
	margin: 0;
	border-radius: 0;
	display: block;
}
.tcp-checkout #payment .wc_payment_methods label .tcp-gateway-icons img.tcp-pay-brand { width: auto; height: 24px; border-radius: 5px; }
.tcp-checkout #payment .wc_payment_methods label .tcp-gateway-icons img.tcp-pay-card { width: 38px; height: 24px; border-radius: 4px; }
/* The card row carries seven marks: let them wrap onto their own line under the
   title + hint instead of squeezing (and shrinking) beside the text. */
.tcp-checkout #payment .wc_payment_methods label:has(.tcp-pay-card) { flex-wrap: wrap; }
.tcp-checkout #payment .wc_payment_methods label:has(.tcp-pay-card) .tcp-paymethod__text { flex: 1 1 100%; }
.tcp-checkout #payment .wc_payment_methods label .tcp-gateway-icons:has(.tcp-pay-card) {
	flex: 1 1 100%;
	flex-wrap: wrap;
	margin-left: 0;
	gap: 6px;
}
.tcp-checkout #payment .wc_payment_methods label .tcp-gateway-icons:has(.tcp-pay-card) img { flex: 0 0 auto; }
.tcp-checkout #payment .wc_payment_methods label .tcp-gateway-icons img.tcp-pay-brand--chip { background: #fff; padding: 4px 6px; box-sizing: border-box; box-shadow: inset 0 0 0 1px var(--tcp-line); }
.tcp-checkout #payment .wc_payment_methods label .tcp-gateway-icons .tcp-pay-more {
	height: 24px;
	padding: 0 7px;
}
.tcp-checkout #payment div.payment_box {
	position: static;
	width: auto;
	margin: 0 16px 0 48px;
	padding: 12px 0 15px !important;
	border-top: 1px solid var(--tcp-line);
	border-radius: 0;
	font-size: .82rem;
	line-height: 1.55;
	color: var(--tcp-ink-2);
	background: transparent !important;
}
.tcp-checkout #payment div.payment_box::before { display: none !important; }
.tcp-checkout #payment div.payment_box p { color: inherit; margin: 0 0 .5em; }
.tcp-checkout #payment div.payment_box p:last-child { margin-bottom: 0; }
@media (max-width: 400px) {
	.tcp-checkout #payment .wc_payment_methods label { padding-right: 12px; }
	.tcp-checkout #payment div.payment_box { margin-right: 12px; }
	.tcp-checkout #payment .wc_payment_methods label .tcp-gateway-icons .tcp-pay-more { display: none; }
}
/* "Add a note to your order (optional)" — a select-look collapsed row (like
   the coupon box) whose hidden checkbox reveals the textarea when clicked */
.tcp-order-note { margin: 16px 0 4px; }
.tcp-order-note__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	border: 1px solid var(--tcp-border);
	border-radius: var(--tcp-radius-btn);
	background: #fff;
	padding: 12px 14px;
	font-size: 13px;
	color: var(--tcp-ink-2);
	cursor: pointer;
	position: relative;
}
.tcp-order-note__toggle input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}
.tcp-order-note__label { flex: 1; }
.tcp-order-note__chev { flex: 0 0 auto; color: var(--tcp-muted); transition: transform .15s ease; }
.tcp-order-note:has(input:checked) .tcp-order-note__chev { transform: rotate(180deg); }
.tcp-order-note__field { display: none; margin-top: 12px; }
.tcp-order-note:has(input:checked) .tcp-order-note__field { display: block; }
/* Required "for research use only" attestation, above Place Order. Reuses the
   order-note checkbox styling; label wraps as a normal line of copy. */
.tcp-checkout .tcp-research-use { margin: 4px 0 0; }
/* Specificity must beat WooCommerce core's
   `.woocommerce-page form .form-row label.checkbox { display: inline }` (0,3,2),
   otherwise the label stays inline and the appearance:none checkbox collapses to
   a ~2px sliver. `.form-row.tcp-research-use` + `label.checkbox` = (0,4,1). */
.tcp-checkout .form-row.tcp-research-use label.checkbox {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	font-size: 13px;
	line-height: 1.45;
	color: var(--tcp-ink-2);
	cursor: pointer;
}
.tcp-checkout .tcp-research-use input {
	appearance: none;
	-webkit-appearance: none;
	position: relative;
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	margin: 1px 0 0;
	border: 1.5px solid var(--tcp-border);
	border-radius: 4px;
	background: #fff;
	cursor: pointer;
}
.tcp-checkout .tcp-research-use input:checked { background: var(--tcp-red); border-color: var(--tcp-red); }
.tcp-checkout .tcp-research-use input:checked::after {
	content: '';
	position: absolute;
	left: 4px;
	top: 1px;
	width: 4px;
	height: 8px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.tcp-checkout .tcp-research-use .required { color: var(--tcp-red); }
/* My Account — optional researcher profile fieldset */
.tcp-researcher-fields {
	margin: 24px 0 8px;
	padding-top: 20px;
	border-top: 1px solid var(--tcp-border);
}
.tcp-researcher-fields legend {
	font-size: 14px;
	font-weight: 600;
	color: var(--tcp-ink);
	margin-bottom: 12px;
	padding: 0;
}
.tcp-checkout #place_order {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin-top: 16px;
	padding: 16px 44px;
	font-size: 15px;
	text-transform: none;
	letter-spacing: .01em;
}
/* trailing arrow pinned to the right edge (mock: text centered, arrow right) */
.tcp-place-order__arrow {
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
}
.tcp-checkout .woocommerce-terms-and-conditions-wrapper { font-size: .78rem; color: var(--tcp-muted); margin: 12px 0 0; }
.tcp-checkout .woocommerce-privacy-policy-text a { color: var(--tcp-red); }

/* order summary card */
.tcp-order-summary {
	position: sticky;
	top: 24px;
	background: #fff;
	border: 1px solid var(--tcp-line);
	border-radius: var(--tcp-radius-xl);
	padding: 22px;
	box-shadow: var(--tcp-shadow-soft);
}
.tcp-order-summary__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 16px;
}
.tcp-order-summary__title { font-size: 18px; margin: 0; }
.tcp-order-summary__edit {
	font-size: 13px;
	font-weight: 600;
	color: var(--tcp-red);
	text-decoration: none;
	white-space: nowrap;
}
.tcp-order-summary__edit:hover { text-decoration: underline; }

/* trust rows + payment-brand chips under the totals */
.tcp-summary-trust {
	list-style: none;
	margin: 18px 0 0;
	padding: 16px 0 0;
	border-top: 1px solid var(--tcp-line);
	display: grid;
	gap: 10px;
}
.tcp-summary-trust li {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 12.5px;
	color: var(--tcp-ink-2);
}
.tcp-summary-trust svg { flex: 0 0 auto; width: 15px; height: 15px; color: var(--tcp-muted); }
.tcp-summary-cards { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; align-items: center; }
.tcp-summary-cards img {
	width: 30px;
	height: 30px;
	display: block;
}
/* Official brand artwork (Cash App Pay, Klarna, Affirm, Amazon Pay): keep each
   mark's own proportions; transparent ones sit on a white chip. */
.tcp-summary-cards img.tcp-pay-brand { width: auto; height: 30px; border-radius: 6px; }
.tcp-summary-cards img.tcp-pay-brand--chip { background: #fff; padding: 6px 8px; box-sizing: border-box; }
/* Visa / Mastercard / Amex marks are 8:5 and carry their own backing + border. */
.tcp-summary-cards img.tcp-pay-card { width: 48px; height: 30px; border-radius: 5px; }
.tcp-pay-more {
	height: 30px;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0 10px;
	border-radius: 6px;
	background: #39414f;
	color: #fff;
	line-height: 1;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.tcp-pay-more b { font-size: 12px; font-weight: 800; letter-spacing: .01em; }
.tcp-pay-more small { font-size: 6px; font-weight: 700; letter-spacing: .1em; opacity: .82; margin-top: 1px; }
.tcp-summary__lines { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 14px; }
.tcp-summary__line { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: start; }
.tcp-summary__media { position: relative; width: 44px; height: 44px; }
.tcp-summary__media img {
	width: 44px; height: 44px; object-fit: cover;
	border: 1px solid var(--tcp-line); border-radius: 8px;
}
.tcp-summary__qty {
	position: absolute; top: -8px; right: -8px;
	min-width: 20px; height: 20px; padding: 0 5px;
	display: flex; align-items: center; justify-content: center;
	background: var(--tcp-muted); color: #fff;
	border-radius: 999px; font-size: 11px; font-weight: 700;
}
.tcp-summary__info { min-width: 0; }
.tcp-summary__name { display: block; font-weight: 700; font-size: 13px; line-height: 1.35; color: var(--tcp-ink); }
.tcp-summary__meta { display: block; font-size: 12px; line-height: 1.45; color: var(--tcp-muted); margin-top: 2px; }
.tcp-summary__price { text-align: right; white-space: nowrap; }
.tcp-summary__now { display: block; font-weight: 700; font-size: 13px; }
.tcp-summary__was { display: block; font-size: 12px; color: var(--tcp-muted-2); }

/* coupon — select-look box */
.tcp-coupon { margin: 16px 0; }
.tcp-coupon__summary {
	cursor: pointer; list-style: none;
	display: flex; align-items: center; justify-content: space-between;
	font-weight: 400; font-size: 13px; color: var(--tcp-ink-2);
	border: 1px solid var(--tcp-border);
	border-radius: var(--tcp-radius-btn);
	background: #fff;
	padding: 12px 14px;
}
.tcp-coupon__summary svg { color: var(--tcp-muted); }
.tcp-coupon__summary::-webkit-details-marker { display: none; }
.tcp-coupon[open] .tcp-coupon__summary svg { transform: rotate(180deg); }
.tcp-coupon__form { display: flex; gap: 8px; margin-top: 12px; }
.tcp-coupon__input { flex: 1; min-height: 44px !important; }
.tcp-coupon__apply {
	flex: 0 0 auto; padding: 0 18px !important;
	min-height: 44px; border-radius: var(--tcp-radius-btn) !important;
}

/* totals */
.tcp-summary__totals { border-top: 1px solid var(--tcp-line); padding-top: 14px; }
.tcp-summary__row {
	display: flex; justify-content: space-between; gap: 12px;
	font-size: 14px; color: var(--tcp-ink-2); margin: 0 0 10px;
}
.tcp-summary__row--save { color: var(--tcp-green-dark); font-weight: 600; }
.tcp-summary__row--save a.woocommerce-remove-coupon { font-size: 11px; color: var(--tcp-muted); margin-left: 6px; }
.tcp-summary__row--total {
	border-top: 1px solid var(--tcp-line);
	padding-top: 14px; margin-top: 4px; margin-bottom: 0;
	font-family: var(--tcp-font-heading);
	font-weight: 800; font-size: 20px; color: var(--tcp-ink);
}
.tcp-summary__row--total .amount { font-size: 20px; }

/* Woo notices inside checkout */
.tcp-checkout .woocommerce-error,
.tcp-checkout .woocommerce-message,
.woocommerce-checkout .woocommerce-NoticeGroup { border-radius: var(--tcp-radius-btn); }

/* AJAX loading overlay (fires when you pick a shipping method or apply a
   coupon). WC's blockUI snaps in a hard white box over #order_review with no
   transition, then fades it out — so it flashes. Blend it with the cream
   summary, round it, and ease it in to match the fade-out. */
.tcp-checkout .blockUI.blockOverlay,
.tcp-order-summary .blockUI.blockOverlay {
	background: #fff !important;
	border-radius: var(--tcp-radius-xl);
	opacity: .55 !important;
	animation: tcpBlockFadeIn .2s ease both;
}
@keyframes tcpBlockFadeIn { from { opacity: 0; } to { opacity: .55; } }

@media (max-width: 989px) {
	.tcp-checkout__grid { grid-template-columns: 1fr; gap: 28px; }
	.tcp-checkout__aside { order: -1; }
	.tcp-order-summary { position: static; }
	.tcp-checkout__main { padding: 20px 16px; }
}
@media (max-width: 700px) {
	.tcp-checkout-header__brand img { height: 32px; }
}
/* small phones: logo + "Secure checkout" didn't fit side by side at 320px */
@media (max-width: 400px) {
	.tcp-checkout-header__inner { gap: 12px; }
	.tcp-checkout-header__brand { flex: 0 1 auto; min-width: 0; }
	.tcp-checkout-header__brand img { height: auto; max-height: 28px; max-width: 100%; }
	.tcp-checkout-header__secure { font-size: 12px; gap: 5px; }
}

/* ---------- motion polish ---------- */
/* Hero copy settles in line by line on load. CSS-only so it never waits on
   JS; backwards fill leaves each element's own transforms alone afterwards. */
.tcp-hero__copy > * { animation: tcp-rise .6s var(--tcp-ease-out) backwards; }
.tcp-hero__copy > :nth-child(1) { animation-delay: 0s; }
.tcp-hero__copy > :nth-child(2) { animation-delay: .06s; }
.tcp-hero__copy > :nth-child(3) { animation-delay: .14s; }
.tcp-hero__copy > :nth-child(4) { animation-delay: .22s; }
.tcp-hero__copy > :nth-child(5) { animation-delay: .3s; }
.tcp-hero__copy > :nth-child(n+6) { animation-delay: .38s; }

/* Small "press" on everything clickable that looks like a button. */
.tcp-card__btn, .tcp-pill, .tcp-card__size-pill span, .tcp-drawer .tcp-qty__btn { transition: transform var(--tcp-dur-fast) ease, background-color var(--tcp-dur-fast) ease, border-color var(--tcp-dur-fast) ease, color var(--tcp-dur-fast) ease, box-shadow var(--tcp-dur-fast) ease; }
.tcp-card__btn:active, .tcp-pill:active, .tcp-card__size-pill span:active, .tcp-drawer .tcp-qty__btn:active { transform: scale(.96); transition-duration: .06s; }

/* Images fade in once loaded instead of popping (main.js tags the ones still
   loading; already-cached images are never touched). */
.tcp-img-pending { opacity: 0; }
.tcp-img-in { animation: tcp-fade .45s ease; }

/* Price change on a dose / pack switch: a quick settle instead of a jump. */
.tcp-swap-in { animation: tcp-swap-in .26s var(--tcp-ease-out); }
@keyframes tcp-swap-in { from { opacity: 0; transform: translateY(4px); } }
[data-tcp-price-now] { display: inline-block; }

/* Add-to-cart confirmation: the button turns green and says "Added" briefly,
   and the new / bumped line slides into the drawer with a soft highlight. */
.tcp-add-to-cart.is-added, .tcp-atc.is-added, .tcp-atc.is-added:hover { background: var(--tcp-green); color: #fff; box-shadow: none; }
.tcp-add-to-cart.is-added svg, .tcp-atc.is-added svg { animation: tcp-swap-in .3s var(--tcp-ease-pop); }
.tcp-cart-line.is-new { animation: tcp-line-in .55s var(--tcp-ease-out); }
@keyframes tcp-line-in {
	0% { opacity: 0; transform: translateX(16px); background: var(--tcp-green-soft); }
	45% { opacity: 1; transform: none; background: var(--tcp-green-soft); }
	100% { background: transparent; }
}

/* Quiet-add toast (cart-drawer.js): product-card grids confirm here instead of
   opening the drawer. Bottom-centre, clear of the side savings/welcome tabs. */
.tcp-toast {
	position: fixed;
	left: 50%;
	bottom: calc(16px + env(safe-area-inset-bottom, 0px));
	z-index: 900;
	display: flex;
	align-items: center;
	gap: 12px;
	width: min(460px, calc(100vw - 32px));
	padding: 12px 10px 12px 14px;
	background: var(--tcp-navy);
	color: #fff;
	border-radius: var(--tcp-radius-card);
	box-shadow: 0 18px 44px rgba(7, 31, 64, .32);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 14px);
	transition: opacity var(--tcp-dur) var(--tcp-ease-out), transform var(--tcp-dur) var(--tcp-ease-out), visibility 0s linear var(--tcp-dur);
}
.tcp-toast.is-in { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.tcp-toast.is-pulse { animation: tcp-toast-pulse .32s var(--tcp-ease-pop); }
@keyframes tcp-toast-pulse { 40% { transform: translate(-50%, -4px); } }
.tcp-toast__icon { flex-shrink: 0; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--tcp-green); color: #fff; }
.tcp-toast__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; line-height: 1.3; }
.tcp-toast__title { font-size: .88rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tcp-toast__ship { font-size: .78rem; color: rgba(255, 255, 255, .78); }
.tcp-toast__ship strong, .tcp-toast__ship .amount { color: #fff; font-weight: 700; }
.tcp-toast__view {
	flex-shrink: 0;
	padding: 8px 14px;
	border: 0;
	border-radius: var(--tcp-radius-btn);
	background: #fff;
	color: var(--tcp-navy);
	font: inherit;
	font-size: .82rem;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color var(--tcp-dur-fast) ease;
}
.tcp-toast__view:hover { background: var(--tcp-navy-soft); }
.tcp-toast__close { flex-shrink: 0; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: rgba(255, 255, 255, .7); cursor: pointer; }
.tcp-toast__close:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.tcp-toast__close svg { width: 16px; height: 16px; }
.tcp-toast :focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
html.tcp-drawer-lock .tcp-toast { display: none; }
@media (prefers-reduced-motion: reduce) {
	.tcp-toast { transition: opacity var(--tcp-dur) linear, visibility 0s linear var(--tcp-dur); transform: translate(-50%, 0); }
	.tcp-toast.is-pulse { animation: none; }
}
@media print { .tcp-toast { display: none; } }

/* Page-to-page: a soft cross-fade instead of a white flash, and the bottle
   you clicked glides from its card into the product page (main.js names the
   clicked card's photo; the product page names its main photo). Browsers
   without cross-document view transitions just navigate normally. */
@media (prefers-reduced-motion: no-preference) {
	@view-transition { navigation: auto; }
}
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }
.tcp-product__image > img:not(.tcp-photo-layer) { view-transition-name: tcp-photo; }
::view-transition-group(tcp-photo) { animation-duration: .38s; animation-timing-function: var(--tcp-ease-out); }
::view-transition-old(tcp-photo), ::view-transition-new(tcp-photo) { height: 100%; object-fit: contain; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-delay: 0s !important;
		animation-iteration-count: 1 !important;
	}
	html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 989px) {
	/* tablets (750-989) keep the desktop banner scene — the wide photo still
	   reads at these widths. The phone-mock hero takes over at ≤749px. */
	.tcp-research__grid { grid-template-columns: repeat(2, 1fr); }
	.tcp-grid { grid-template-columns: repeat(2, 1fr); }
	.tcp-library__grid { grid-template-columns: repeat(2, 1fr); }
	.tcp-product__grid { grid-template-columns: 1fr; }
	.tcp-product__media { position: static; }
	/* one column: photo, then name/price/Add to cart, then the trust badges
	   (they sit under the photo on desktop, which pushed the buy box a full
	   screen down on phones). */
	.tcp-product__media { display: contents; }
	.tcp-product__details { order: 1; }
	.tcp-product__media > .tcp-features { order: 2; margin-top: 0; }
	.tcp-header__inner { justify-content: space-between; gap: 16px; min-height: 64px; }
	.tcp-header__logo img, .tcp-logo img { height: 34px; }
	.tcp-header__nav { display: none; }
	.tcp-header__burger { display: inline-flex; }
}
@media (max-width: 749px) {
	.tcp-wrap { padding: 0 16px; }
	/* the eagle lockup is wide (~5.9:1) — let it shrink into whatever the icons
	   leave rather than push the burger off-screen on narrow phones */
	.tcp-header__logo { flex: 1 1 auto; min-width: 0; }
	.tcp-header__logo img, .tcp-logo img { height: auto; max-height: 30px; max-width: 100%; }
	.tcp-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	/* phones: the reference phone mock — the whole hero is ONE portrait scene
	   (hero-eagle-phone.webp/.jpg, 880x970, built by build-hero.py): sky behind
	   the headline, the eagle's head on the right edge, the three named vials
	   on the rock at the bottom right. The image bakes cream fades into its
	   top/left/bottom edges, so it melts into the cream hero with no seam and
	   the copy column reads over the pale left. Every copy element below the
	   headline is WIDTH-CAPPED (the vials start ≈44% of the image width) so
	   text never lands on the eagle or the bottles: kicker → headline →
	   tagline → 3-chip row → stacked left-column CTAs → promise card
	   bottom-left, with the vials framed beside the CTAs like the mock. */
	.tcp-hero {
		min-height: 0;
		display: flex;
		align-items: stretch;
		padding: 16px 0 24px;
		background-color: var(--tcp-cream);
	}
	.tcp-hero::before { display: none; } /* the phone plate bakes its own cream fades */
	/* the <picture> swaps to hero-eagle-phone here */
	.tcp-hero__scene {
		top: 306px; /* 196px + the ~110px hero search block */
		right: 0;
		width: min(100%, 520px);
		height: auto;
		aspect-ratio: 1040 / 1146;
	}
	/* the plate's box inside the phone crop (build-hero.py prints it) */
	.tcp-hero__vials { left: -11.1111%; top: 41.3978%; width: 133.9259%; height: 58.6022%; }
	.tcp-hero__eagle { display: none; } /* baked into hero-eagle-phone (no hover on phones) */
	.tcp-hero__grid { display: flex; }
	.tcp-hero__copy { display: flex; flex-direction: column; flex: 1 1 auto; max-width: none; }
	/* sized so each line fits the phone: America's Trusted / Peptide Supplier */
	.tcp-hero__title { font-size: clamp(1.9rem, 9.4vw, 40px); margin-bottom: 8px; }
	.tcp-hero__subtitle { margin: 0 0 clamp(14px, 4vw, 18px); font-size: 14px; max-width: min(64vw, 250px); }
	/* search spans the full column (it sits above the scene); the chips stay
	   on one swipeable row so the block is a fixed ~110px — the scene's top
	   offset above includes that height so the vials keep their
	   place beside the CTAs */
	.tcp-hero__search { max-width: none; margin-bottom: 16px; }
	.tcp-hero__search-field { height: 50px; padding: 0 12px 0 16px; }
	.tcp-hero__search-text { font-size: 15px; }
	.tcp-hero__kbd { display: none; } /* no "/" key on a phone */
	.tcp-hero__popular { flex-wrap: nowrap; overflow-x: auto; margin: 10px -16px 0; padding: 0 16px 2px; scrollbar-width: none; }
	.tcp-hero__popular::-webkit-scrollbar { display: none; }
	.tcp-hero__popular-label { flex: none; font-size: 13px; }
	.tcp-hero__chip { flex: none; padding: 6px 12px; font-size: 13px; }
	/* the checklist drops its frosted card and becomes a plain stacked list,
	   width-capped so it ends left of the eagle's head (≈75% across); the pale
	   sky behind it plus a cream halo on the text keep it legible. Also
	   overrides the no-backdrop-filter fallback above. */
	.tcp-hero__why { width: min(62vw, 240px); margin: 4px 0 clamp(16px, 4.6vw, 20px); padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
	.tcp-hero__why-head { font-size: clamp(10px, 3vw, 12px); margin-bottom: 10px; text-shadow: 0 0 8px rgba(245, 247, 251, .95); }
	.tcp-hero__why-list { gap: 11px; }
	.tcp-hero__why li { gap: 10px; }
	.tcp-hero__why-icon { width: 26px; height: 26px; }
	.tcp-hero__why-text { padding-top: 0; }
	.tcp-hero__why-title { font-size: 14.5px; text-shadow: 0 1px 0 rgba(245, 247, 251, .8), 0 0 10px rgba(245, 247, 251, .95); }
	.tcp-hero__why-proof { font-size: 12.5px; line-height: 1.35; text-shadow: 0 0 8px rgba(245, 247, 251, .95); }
	/* CTAs stacked in the left column — the vials sit beside them */
	.tcp-hero__ctas { order: 2; flex-direction: column; gap: 9px; flex-wrap: nowrap; width: min(45vw, 185px); }
	.tcp-hero__ctas .tcp-btn { flex: none; width: 100%; justify-content: center; padding: 13px 10px; font-size: 14px; white-space: nowrap; }
	.tcp-paystrip--hero { order: 3; margin-top: 18px; }
	/* phones: 20px marks so all seven + "+6 more" fit one row under the label */
	.tcp-paystrip .tcp-paystrip__icons { gap: 5px; }
	.tcp-paystrip .tcp-paystrip__icons img { width: 20px; height: 20px; }
	.tcp-paystrip .tcp-paystrip__icons img.tcp-pay-brand { height: 20px; border-radius: 4px; }
	.tcp-paystrip .tcp-paystrip__icons img.tcp-pay-brand--chip { padding: 4px 5px; }
	.tcp-paystrip .tcp-paystrip__icons img.tcp-pay-card { width: 32px; height: 20px; }
	.tcp-paystrip__more { height: 20px; padding: 0 6px; font-size: .68rem; }
	.tcp-paystrip--product .tcp-paystrip__more-word { display: none; } /* buy box is ~310px: "+6" keeps one row */
	.tcp-library__grid { grid-template-columns: 1fr; }
	/* phones: one compact card per row */
	.tcp-save > .tcp-wrap { padding-top: 28px; padding-bottom: 30px; }
	.tcp-save__grid { grid-template-columns: 1fr; gap: 10px; }
	.tcp-save__card { padding: 14px; gap: 12px; }
	.tcp-save__icon { width: 36px; height: 36px; }
	.tcp-save__icon svg { width: 18px; height: 18px; }
	.tcp-save__value { font-size: 24px; }
	.tcp-trust__row { grid-template-columns: 1fr; gap: 12px; }
	.tcp-coa__head { flex-direction: column; align-items: flex-start; }
	.tcp-coa__cards { grid-template-columns: 1fr; }
	.tcp-research__grid { grid-template-columns: 1fr; }
	.tcp-research__row { flex-direction: column; align-items: flex-start; gap: 6px; }
	.tcp-research__row-excerpt { white-space: normal; }
	.tcp-card__media { min-height: 180px; }
	.tcp-card__media img { height: 150px; }
	.tcp-h2 { font-size: 26px; }
	.tcp-coa__title { font-size: 28px; }
	.tcp-footer { margin-top: 48px; }
	.tcp-footer__grid { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; padding-bottom: 32px; text-align: center; }
	.tcp-footer__col { display: flex; flex-direction: column; align-items: center; }
	.tcp-footer__signup { max-width: 340px; width: 100%; margin-left: auto; margin-right: auto; }
	.tcp-footer__utilities-inner {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 16px;
		padding-bottom: 40px;
	}
	.tcp-footer__policies { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
	.tcp-pack-cards { flex-wrap: wrap; }
	.tcp-card__footer { flex-direction: column; align-items: flex-start; }
	.tcp-buybox { padding: 16px; }
	.tcp-tabs__nav { display: flex; width: 100%; }
	.tcp-tabs__tab { flex: 1; justify-content: center; padding: 8px 8px; gap: 6px; }
	.tcp-drawer__panel { border-radius: 0; }
}
/* small phones: drop the tab icons so General / Reconstitution / Storage fit
   in one row instead of pushing the product page sideways */
@media (max-width: 400px) {
	.tcp-tabs__tab { flex: 1 1 auto; min-width: 0; padding: 8px 6px; font-size: .82rem; }
	.tcp-tabs__tab svg { display: none; }
}

/* phones: form fields at 16px+ so iPhone Safari doesn't zoom the page in
   when one is tapped (it does that for anything smaller). !important because
   most fields set their own px size on a class. */
@media (max-width: 749px) {
	input:is([type="text"], [type="search"], [type="email"], [type="tel"], [type="number"], [type="password"], [type="url"], :not([type])),
	select,
	textarea { font-size: 16px !important; }
}

/* Guide layout (reused by the COA Library and Affiliates pages) */
.tcp-guide__hero { background: linear-gradient(180deg, var(--tcp-navy-soft), var(--tcp-cream)); border-bottom: 1px solid var(--tcp-line); padding: 52px 0 40px; }
.tcp-guide__title { font-family: var(--tcp-font-display); font-weight: 600; font-size: clamp(34px, 5vw, 52px); line-height: 1.05; margin: 0 0 14px; }
.tcp-guide__lead { font-size: 17px; line-height: 1.65; color: var(--tcp-ink-2); max-width: 62ch; margin: 0 0 24px; }
.tcp-guide__toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tcp-guide__toc a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--tcp-border); text-decoration: none; font-weight: 600; font-size: 14px; color: var(--tcp-ink); transition: border-color .12s ease, color .12s ease; }
.tcp-guide__toc a span { color: var(--tcp-red); font-size: 12px; font-weight: 700; }
.tcp-guide__toc a:hover { border-color: var(--tcp-navy); color: var(--tcp-navy); }
.tcp-guide__trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; font-size: 14px; color: var(--tcp-ink-2); }
.tcp-guide__trust li::before { content: "✓"; color: var(--tcp-green); font-weight: 700; margin-right: 7px; }
.tcp-guide__body { padding-top: 12px; padding-bottom: 64px; }
.tcp-guide__section { padding: 40px 0; border-bottom: 1px solid var(--tcp-line); font-size: 15px; line-height: 1.7; color: var(--tcp-ink-2); }
.tcp-guide__section > p, .tcp-guide__list, .tcp-guide__steps { max-width: 72ch; }
.tcp-guide__section a:not(.tcp-btn):not(.tcp-card__btn):not(.tcp-card__media) { color: var(--tcp-red); }
.tcp-guide__num { font-family: var(--tcp-font-heading); font-weight: 800; font-size: 14px; letter-spacing: .14em; color: var(--tcp-red); margin: 0 0 4px; }
.tcp-guide__h2 { font-size: clamp(24px, 3vw, 30px); line-height: 1.15; margin: 0 0 14px; }
.tcp-guide__list li, .tcp-guide__steps li { margin-bottom: 8px; }
.tcp-guide__list strong { color: var(--tcp-ink); }
.tcp-guide__steps { counter-reset: tcp-step; list-style: none; padding: 0; }
.tcp-guide__steps li { counter-increment: tcp-step; position: relative; padding-left: 42px; min-height: 28px; }
.tcp-guide__steps li::before { content: counter(tcp-step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--tcp-navy); color: #fff; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.tcp-guide__grid { margin: 24px 0 8px; }
.tcp-guide__grid--3 { grid-template-columns: repeat(3, 1fr); max-width: 940px; }
.tcp-guide__callout, .tcp-guide__warn { max-width: 72ch; margin: 22px 0 0; padding: 16px 20px; border-radius: 12px; background: var(--tcp-navy-soft); border-left: 4px solid var(--tcp-navy); color: var(--tcp-ink); }
.tcp-guide__warn { background: var(--tcp-red-soft); border-left-color: var(--tcp-red); margin: 18px 0; }
.tcp-guide__formula { max-width: 72ch; margin: 24px 0 0; padding: 22px 24px; border-radius: var(--tcp-radius-card); background: var(--tcp-navy); color: #fff; }
.tcp-guide__formula p { margin: 0; }
.tcp-guide__formula-label { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 700; color: var(--tcp-red-bright); margin-bottom: 8px !important; }
.tcp-guide__formula-eq { font-family: var(--tcp-font-heading); font-weight: 700; font-size: 19px; line-height: 1.35; margin-bottom: 10px !important; }
.tcp-guide__formula-ex { color: rgba(255, 255, 255, .82); font-size: 14px; }
.tcp-guide__table-wrap { overflow-x: auto; border: 1px solid var(--tcp-line); border-radius: 12px; background: #fff; max-width: 820px; }
.tcp-guide__table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.tcp-guide__table caption { text-align: left; padding: 12px 14px 4px; font-weight: 700; color: var(--tcp-ink); }
.tcp-guide__table th, .tcp-guide__table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--tcp-line); white-space: nowrap; }
.tcp-guide__table thead th { background: var(--tcp-cream); color: var(--tcp-ink); }
.tcp-guide__table tbody th { color: var(--tcp-navy); }
.tcp-guide__table tbody tr:last-child > * { border-bottom: 0; }
.tcp-guide__cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 940px; }
.tcp-guide__card { background: #fff; border: 1px solid var(--tcp-line-2); border-radius: var(--tcp-radius-card); padding: 20px 22px; }
.tcp-guide__card h3 { font-size: 17px; margin: 0 0 6px; color: var(--tcp-ink); }
.tcp-guide__card p { margin: 0; font-size: 14.5px; }
.tcp-guide__faq { max-width: 820px; border-top: 1px solid var(--tcp-line-2); }
.tcp-guide__faq details { border-bottom: 1px solid var(--tcp-line-2); }
.tcp-guide__faq summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; position: relative; font-weight: 700; font-size: 16px; color: var(--tcp-ink); }
.tcp-guide__faq summary::-webkit-details-marker { display: none; }
.tcp-guide__faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--tcp-red); transition: transform .15s ease; }
.tcp-guide__faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.tcp-guide__faq details p { margin: 0 0 18px; max-width: 72ch; }
.tcp-guide__more { margin-top: 18px; font-size: 14px; }
.tcp-guide__links { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.tcp-guide__links a { display: flex; justify-content: space-between; gap: 12px; padding: 16px 18px; background: #fff; border: 1px solid var(--tcp-line-2); border-radius: 12px; text-decoration: none; font-weight: 600; color: var(--tcp-ink) !important; transition: border-color .12s ease, transform .12s ease; }
.tcp-guide__links a span { color: var(--tcp-red); }
.tcp-guide__links a:hover { border-color: var(--tcp-navy); transform: translateY(-1px); }
.tcp-guide__cta { text-align: center; padding: 56px 0 40px; }
.tcp-guide__cta h2 { font-size: clamp(26px, 3.4vw, 34px); margin-bottom: 8px; }
.tcp-guide__cta p { color: var(--tcp-muted); margin: 0 0 22px; font-size: 15px; }
.tcp-guide__cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.tcp-guide__disclaimer { font-size: 12.5px; line-height: 1.6; color: var(--tcp-muted); border-top: 1px solid var(--tcp-line); padding-top: 20px; margin: 0; }
@media (max-width: 989px) {
	.tcp-guide__grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.tcp-guide__hero { padding: 36px 0 28px; }
	.tcp-guide__section { padding: 32px 0; }
	.tcp-guide__cards { grid-template-columns: 1fr; }
	.tcp-guide__formula-eq { font-size: 17px; }
}

.tcp-footer__extra-link { display: table; } /* stack the extra footer links (Research Library, COA Library, …) */

/* =============================================================
   Box Builder (page-build-your-box.php + assets/js/build-kit.js)
   ============================================================= */

/* hero */
.tcp-box__hero { position: relative; overflow: hidden; padding: 56px 0 64px; background:
	radial-gradient(700px 420px at 12% 30%, rgba(178, 34, 52, .07), transparent 70%),
	radial-gradient(900px 520px at 85% 50%, rgba(27, 75, 143, .12), transparent 70%),
	var(--tcp-cream); }
.tcp-box__hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
/* headline in the homepage hero's serif with the red italic accent word, a
   rotated red "X% off" seal like the ads use, and a label-style spec strip
   (navy top rule, hairline cells) in place of a pill bar */
.tcp-box__kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.tcp-box__kicker::before { content: ""; width: 28px; height: 2px; background: var(--tcp-red); }
.tcp-box__heading { display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); margin: 0 0 18px; }
.tcp-box__title { margin: 0; font-family: var(--tcp-font-display); font-weight: 800; font-size: clamp(2.8rem, 6vw, 4.8rem); line-height: .98; letter-spacing: -.035em; word-spacing: .05em; color: var(--tcp-navy); }
/* accent word: red, upright (the title face has no italic loaded) — same treatment as the hero's "Trusted" */
.tcp-box__title em { font-style: normal; color: var(--tcp-red); }
.tcp-box__seal { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; width: clamp(78px, 8vw, 96px); aspect-ratio: 1; border-radius: 50%; background: var(--tcp-red); color: #fff; text-align: center; transform: rotate(-10deg); outline: 1.5px dashed rgba(255, 255, 255, .6); outline-offset: -7px; box-shadow: 0 10px 24px rgba(178, 34, 52, .28); }
.tcp-box__seal b { font-family: var(--tcp-font-heading); font-size: clamp(1.35rem, 2.2vw, 1.7rem); line-height: 1; letter-spacing: -.02em; }
.tcp-box__seal small { max-width: 6em; margin-top: 2px; font-size: .58rem; font-weight: 700; line-height: 1.15; letter-spacing: .08em; text-transform: uppercase; }
.tcp-box__lead { max-width: 30em; margin: 0 0 22px; font-size: 1.15rem; line-height: 1.55; color: var(--tcp-ink-2); }
.tcp-box__spec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 34em; margin: 0 0 28px; border-top: 2px solid var(--tcp-navy); border-bottom: 1px solid var(--tcp-line-2); }
.tcp-box__spec div { padding: 10px 14px 12px; }
.tcp-box__spec div:first-child { padding-left: 0; }
.tcp-box__spec div + div { border-left: 1px solid var(--tcp-line-2); }
.tcp-box__spec dt { margin: 0 0 3px; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tcp-muted); }
.tcp-box__spec dd { margin: 0; font-size: .95rem; font-weight: 600; line-height: 1.3; color: var(--tcp-ink); }
.tcp-box__start span { transition: transform .15s ease; }
.tcp-box__start:hover span { transform: translateX(3px); }

/* hero box: empty-box photo + real bottles dropping into its five slots + the
   box's front wall (cropped from the same photo at the slot lip, y=659 of 1024)
   on top, so the vials sit inside the foam. Slot x-centers: $tcp_box_slots. */
.tcp-box__stage { position: relative; overflow: hidden; aspect-ratio: 5 / 4; border-radius: var(--tcp-radius-xl); background: #fff; border: 1px solid var(--tcp-line); box-shadow: var(--tcp-shadow-lift); }
.tcp-box__photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.tcp-box__vial { position: absolute; left: var(--x); bottom: 30.4%; width: 20%; max-width: none; height: auto; transform: translateX(-50%); filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .35)); animation: tcp-box-drop .7s var(--tcp-ease-pop) both; animation-delay: calc(.3s + var(--i) * .14s); }
.tcp-box__front { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; }
@keyframes tcp-box-drop { from { opacity: 0; transform: translate(-50%, -160%); } 40% { opacity: 1; } to { opacity: 1; transform: translate(-50%, 0); } }

/* layout + grid */
.tcp-box__layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; padding-top: 48px; padding-bottom: 72px; scroll-margin-top: 90px; }
.tcp-box__intro { margin-bottom: 18px; }
.tcp-box__intro p:last-child { margin: 0; max-width: 40em; color: var(--tcp-ink-2); }
.tcp-box__h2 { font-size: 2rem; margin: 0 0 6px; }
.tcp-box__h3 { font-size: 1.2rem; margin: 0; }
.tcp-box__search { margin-bottom: 14px; }
.tcp-box__search input::-webkit-search-cancel-button { cursor: pointer; }
.tcp-box__empty { margin: 8px 0 0; padding: 28px 20px; text-align: center; color: var(--tcp-ink-2); background: #fff; border: 1.5px dashed var(--tcp-line-2); border-radius: var(--tcp-radius-card); }
.tcp-box__empty[hidden] { display: none; }
.tcp-box__empty-reset { margin-left: 6px; padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: var(--tcp-navy); text-decoration: underline; cursor: pointer; }
.tcp-box__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tcp-box__chip { border: 1px solid var(--tcp-line-2); background: #fff; color: var(--tcp-ink-2); border-radius: 999px; padding: 8px 16px; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; }
.tcp-box__chip:hover { border-color: var(--tcp-navy-2); }
.tcp-box__chip.is-active { background: var(--tcp-navy); border-color: var(--tcp-navy); color: #fff; }
.tcp-box__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.tcp-box-card { display: flex; flex-direction: column; background: #fff; border: 1.5px solid var(--tcp-line); border-radius: var(--tcp-radius-card); overflow: hidden; transition: border-color .15s ease, box-shadow .15s ease; }
.tcp-box-card[hidden] { display: none; }
.tcp-box-card:hover { box-shadow: var(--tcp-shadow-soft); }
.tcp-box-card.in-box { border-color: var(--tcp-navy); box-shadow: 0 0 0 3px var(--tcp-navy-soft); }
.tcp-box-card__media { position: relative; display: block; aspect-ratio: 1 / 1; background: radial-gradient(circle at 50% 60%, #fff 0%, var(--tcp-navy-soft) 100%); }
.tcp-box-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease; }
.tcp-box-card:hover .tcp-box-card__media img { transform: scale(1.04); }
.tcp-box-card__check { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--tcp-navy); opacity: 0; transform: scale(.6); transition: opacity .15s ease, transform .2s var(--tcp-ease-pop); }
.tcp-box-card__check svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.tcp-box-card.in-box .tcp-box-card__check { opacity: 1; transform: none; }
.tcp-box-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 14px; }
.tcp-box-card__name { font-family: var(--tcp-font-heading); font-weight: 700; color: var(--tcp-navy); text-decoration: none; }
.tcp-box-card__name:hover { color: var(--tcp-red); }
.tcp-box-card__dose { margin: -6px 0 0; font-size: .85rem; color: var(--tcp-muted); }
.tcp-box-card__sizes { display: grid; gap: 4px; }
.tcp-box-card__size { display: flex; justify-content: space-between; gap: 8px; width: 100%; padding: 8px 12px; border: 0; border-radius: 8px; background: var(--tcp-cream); color: var(--tcp-ink-2); font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; }
.tcp-box-card__size span + span { color: var(--tcp-muted); font-weight: 500; }
.tcp-box-card__size:hover:not(:disabled) { background: var(--tcp-navy-soft); }
.tcp-box-card__size.is-active { background: var(--tcp-navy); color: #fff; }
.tcp-box-card__size.is-active span + span { color: #fff; }
.tcp-box-card__size:disabled { cursor: not-allowed; opacity: .5; }
.tcp-box-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin: auto 0 0; }
.tcp-box-card__price strong { font-family: var(--tcp-font-heading); font-size: 1.3rem; color: var(--tcp-navy); }
.tcp-box-card__price s { color: var(--tcp-muted-2); font-size: .85rem; }
.tcp-box-card__price span { color: var(--tcp-muted); font-size: .8rem; }
.tcp-box-card__add.tcp-btn--dark:hover { background: var(--tcp-navy-dark); box-shadow: 0 4px 12px rgba(10, 49, 97, .3); }
.tcp-box-card__add.tcp-btn--secondary { color: var(--tcp-navy); border-color: var(--tcp-navy); }
.tcp-box-card__add[hidden], .tcp-box-card__stepper[hidden] { display: none; }
/* In the box: − n in box + (repeats of the same vial are allowed) */
.tcp-box-card__stepper { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; border: 1.5px solid var(--tcp-navy); border-radius: var(--tcp-radius-btn, 10px); overflow: hidden; }
.tcp-box-card__stepper button { height: 42px; padding: 0; border: 0; background: var(--tcp-navy); color: #fff; font: inherit; font-size: 1.25rem; font-weight: 700; line-height: 1; cursor: pointer; }
.tcp-box-card__stepper button:hover:not(:disabled) { background: var(--tcp-navy-dark); }
.tcp-box-card__stepper button:disabled { background: var(--tcp-line); color: var(--tcp-muted); cursor: not-allowed; }
.tcp-box-card__stepper span { text-align: center; color: var(--tcp-navy); font-size: .85rem; font-weight: 700; }
/* ×n badge replaces the check when a peptide fills more than one slot */
.tcp-box-card__check b { display: none; color: #fff; font-size: .75rem; font-weight: 800; }
.tcp-box-card.has-many .tcp-box-card__check { width: auto; min-width: 28px; padding: 0 8px; border-radius: 999px; }
.tcp-box-card.has-many .tcp-box-card__check svg { display: none; }
.tcp-box-card.has-many .tcp-box-card__check b { display: block; }
.tcp-box .tcp-btn:disabled { background: var(--tcp-line); color: var(--tcp-muted); border-color: transparent; box-shadow: none; transform: none; cursor: not-allowed; }
.tcp-box-card.is-soldout .tcp-box-card__media img { opacity: .5; filter: grayscale(.6); }

/* summary */
.tcp-box__summary { position: sticky; top: 110px; display: grid; gap: 14px; max-height: calc(100vh - 130px); overflow-y: auto; padding: 22px; background: #fff; border: 1px solid var(--tcp-line); border-radius: var(--tcp-radius-xl); box-shadow: var(--tcp-shadow-soft); }
.tcp-box__summary-head { display: flex; align-items: center; gap: 10px; }
.tcp-box__count { margin-left: auto; font-size: .85rem; font-weight: 700; color: var(--tcp-muted); }
.tcp-box.is-full .tcp-box__count { color: var(--tcp-green-dark); }
.tcp-box__sheet-close { display: none; border: 0; background: none; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--tcp-muted); }
.tcp-box__meter { height: 6px; border-radius: 999px; background: var(--tcp-cream-2); overflow: hidden; }
.tcp-box__meter span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--tcp-navy-2), var(--tcp-navy)); transition: width .3s ease; }
.tcp-box.is-full .tcp-box__meter span { background: var(--tcp-green); }
.tcp-box__slots { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tcp-box-slot { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto 20px; align-items: center; gap: 10px; min-height: 58px; padding: 6px 10px 6px 6px; border: 1px solid var(--tcp-line); border-radius: 12px; }
.tcp-box-slot.is-new { animation: tcp-box-pop .25s ease; }
.tcp-box-slot.is-empty { grid-template-columns: 44px 1fr; border-style: dashed; border-color: var(--tcp-line-2); background: var(--tcp-cream); }
@keyframes tcp-box-pop { from { opacity: 0; transform: scale(.97); } }
.tcp-box-slot__num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: #fff; color: var(--tcp-muted-2); font-weight: 700; font-size: .85rem; }
.tcp-box-slot__empty { color: var(--tcp-muted-2); font-size: .88rem; }
.tcp-box-slot__img { width: 44px; height: 44px; object-fit: contain; border-radius: 10px; background: var(--tcp-navy-soft); }
.tcp-box-slot__name { display: grid; min-width: 0; font-size: .88rem; line-height: 1.25; }
.tcp-box-slot__name strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--tcp-navy); }
.tcp-box-slot__name small { color: var(--tcp-muted); }
.tcp-box-slot__price { display: grid; text-align: right; font-weight: 700; font-size: .9rem; color: var(--tcp-ink); }
.tcp-box-slot__price s { font-weight: 500; font-size: .75rem; color: var(--tcp-muted-2); }
.tcp-box-slot__remove { padding: 0; border: 0; background: none; color: var(--tcp-muted-2); font-size: 1.2rem; cursor: pointer; }
.tcp-box-slot__remove:hover { color: var(--tcp-red); }
.tcp-box__totals { display: grid; gap: 8px; margin: 0; padding: 14px; border-radius: 14px; background: var(--tcp-cream); }
.tcp-box__totals div { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; }
.tcp-box__totals dt { color: var(--tcp-muted); }
.tcp-box__totals dd { margin: 0; font-weight: 600; color: var(--tcp-ink-2); }
.tcp-box__totals dd s { color: var(--tcp-muted-2); font-weight: 500; }
.tcp-box__totals .is-saving dt, .tcp-box__totals .is-saving dd { color: var(--tcp-green-dark); }
.tcp-box__totals .is-total { align-items: baseline; margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--tcp-line-2); }
.tcp-box__totals .is-total dt { color: var(--tcp-ink); font-weight: 700; }
.tcp-box__totals .is-total dd { font-family: var(--tcp-font-heading); font-size: 1.6rem; font-weight: 800; color: var(--tcp-navy); }
.tcp-box__note { margin: 0; text-align: center; font-size: .78rem; color: var(--tcp-muted); }
.tcp-box__error { margin: 0; color: var(--tcp-sale-red); font-size: .85rem; }
.tcp-box__error[hidden] { display: none; }
.tcp-box__bar, .tcp-box__scrim { display: none; }

/* cart drawer: Box Builder lines (inc/cart-drawer.php) */
.tcp-cart-line__box { margin: 2px 0 0; font-size: .75rem; font-weight: 700; color: var(--tcp-green-dark); }
.tcp-cart-line__box.is-broken { color: var(--tcp-sale-red); }
.tcp-cart-line__box-qty { padding: 4px 10px; border-radius: 999px; background: var(--tcp-navy-soft); color: var(--tcp-navy); font-size: .75rem; font-weight: 700; }

@media (max-width: 1100px) {
	.tcp-box__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.tcp-box__hero { padding: 32px 0 40px; }
	.tcp-box__hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.tcp-box__layout { grid-template-columns: minmax(0, 1fr); padding-top: 32px; padding-bottom: 104px; }
	.tcp-box__summary { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 60; max-height: 88vh; border-radius: var(--tcp-radius-xl) var(--tcp-radius-xl) 0 0; transform: translateY(105%); transition: transform .25s ease; }
	.tcp-box.is-sheet-open .tcp-box__summary { transform: none; }
	.tcp-box__sheet-close { display: block; }
	.tcp-box__bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--tcp-navy); color: #fff; box-shadow: 0 -8px 24px rgba(11, 27, 51, .18); }
	.tcp-box__bar-dots { display: flex; gap: 4px; }
	.tcp-box__bar-dots i { width: 10px; height: 10px; border-radius: 3px; border: 1.5px solid rgba(255, 255, 255, .5); }
	.tcp-box__bar-dots i.is-on { background: #fff; border-color: #fff; }
	.tcp-box.is-full .tcp-box__bar-dots i { background: var(--tcp-green); border-color: var(--tcp-green); }
	.tcp-box__bar-count { font-weight: 700; }
	.tcp-box__bar-total { margin-right: auto; opacity: .85; }
	.tcp-box__scrim { position: fixed; inset: 0; z-index: 55; background: rgba(11, 27, 51, .45); }
	.tcp-box.is-sheet-open .tcp-box__scrim { display: block; }
	body:has(.tcp-box) #tcp-scroll-top { bottom: calc(84px + env(safe-area-inset-bottom)); }
	body:has(.tcp-box.is-sheet-open) #tcp-scroll-top,
	body:has(.tcp-box.is-sheet-open) .tcp-welcome-tab,
	body:has(.tcp-box.is-sheet-open) .tcp-savings__tab { display: none; }
}
@media (max-width: 560px) {
	.tcp-box__spec { grid-template-columns: minmax(0, 1fr); }
	.tcp-box__spec div, .tcp-box__spec div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 0; }
	.tcp-box__spec div + div { border-left: 0; border-top: 1px solid var(--tcp-line); }
	.tcp-box__spec dt { margin: 0; }
	.tcp-box__grid { gap: 10px; }
	.tcp-box-card__body { padding: 10px; gap: 8px; }
	.tcp-box-card__size { padding: 7px 8px; font-size: .78rem; }
	.tcp-box-card__price strong { font-size: 1.1rem; }
	.tcp-box-card__add { padding: 10px 8px; font-size: .8rem; }
	.tcp-box-card__stepper { grid-template-columns: 38px 1fr 38px; }
	.tcp-box-card__stepper button { height: 38px; }
	.tcp-box-card__stepper span { font-size: .78rem; }
}
@media (prefers-reduced-motion: reduce) {
	.tcp-box__summary, .tcp-box__meter span { transition: none; }
	.tcp-box__vial, .tcp-box-slot.is-new { animation: none; }
}

/* Header fit: logo + 7-link nav + icons need ~1350px at
   full size, so tighten in steps below that instead of spilling the logo
   off the left edge. The burger menu takes over at 989px. */
@media (max-width: 1439px) {
	.tcp-header__inner { gap: 16px; }
	.tcp-nav .menu-item > a { padding: 8px 11px; }
}
@media (max-width: 1199px) {
	.tcp-header__inner { gap: 12px; }
	.tcp-header__logo img, .tcp-header__inner .custom-logo-link img { height: 34px; }
	.tcp-nav .menu-item > a { padding: 7px 9px; font-size: 13.5px; }
}
@media (max-width: 1099px) {
}

/* ---------- third-party lab reports (inc/lab-reports.php) ---------- */
/* Homepage band cards are links to the lab's verify page. */
a.tcp-coa-card { text-decoration: none; color: inherit; }
.tcp-coa-card__name, .tcp-coa-card__lot, .tcp-coa-card__purity { display: block; }
.tcp-coa-card__pass { display: inline-block; }
.tcp-feature__text a { font-size: .72rem; color: var(--tcp-red); font-weight: 600; text-underline-offset: 2px; }

/* Product page lab-results card (template-parts/lab-card.php) */
.tcp-labcard { margin: 0 0 18px; padding: 18px 20px; background: #fff; border: 1px solid var(--tcp-line-2); border-radius: var(--tcp-radius-card); box-shadow: var(--tcp-shadow-soft); }
.tcp-labcard__head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--tcp-line); }
.tcp-labcard__seal { flex: none; width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--tcp-green-soft); color: var(--tcp-green-dark); }
.tcp-labcard__heading { flex: 1; min-width: 0; }
.tcp-labcard__title { font-size: 1.02rem; line-height: 1.2; margin: 0; color: var(--tcp-ink); }
.tcp-labcard__lab { margin: 2px 0 0; font-size: .8rem; color: var(--tcp-muted); }
.tcp-labcard__all { flex: none; font-size: .82rem; font-weight: 700; color: var(--tcp-navy); text-decoration: none; }
.tcp-labcard__all:hover { color: var(--tcp-red); }
.tcp-labcard__batch { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 14px 0 12px; font-size: .78rem; color: var(--tcp-muted); }
.tcp-labcard__batch strong { font-family: var(--tcp-font-heading); font-size: .9rem; color: var(--tcp-ink); }
.tcp-labcard__batch span { font-variant-numeric: tabular-nums; }
.tcp-labcard__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.tcp-labcard__stats > div { background: var(--tcp-cream); border: 1px solid var(--tcp-line); border-radius: 12px; padding: 10px 12px; }
.tcp-labcard__stats dt { font-size: .72rem; font-weight: 600; color: var(--tcp-muted); text-transform: uppercase; letter-spacing: .06em; }
.tcp-labcard__stats dt small { font-size: inherit; font-weight: 500; text-transform: none; letter-spacing: 0; opacity: .8; }
.tcp-labcard__stats dd { margin: 0; }
.tcp-labcard__big { font-family: var(--tcp-font-heading); font-weight: 800; font-size: 1.3rem; line-height: 1.25; color: var(--tcp-navy); font-variant-numeric: tabular-nums; }
.tcp-labcard__ok { color: var(--tcp-green-dark); font-size: 1.05rem; line-height: 1.55; }
.tcp-labcard__note { font-size: .74rem; color: var(--tcp-muted); }
.tcp-labcard__checks { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; margin: 14px 0 0; padding: 0; font-size: .84rem; color: var(--tcp-ink); }
.tcp-labcard__checks li { display: flex; align-items: center; gap: 7px; }
.tcp-labcard__checks svg { flex: none; color: var(--tcp-green); }
.tcp-labcard__checks em { margin-left: auto; font-style: normal; font-size: .78rem; color: var(--tcp-muted); font-variant-numeric: tabular-nums; }
.tcp-labcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--tcp-line); font-size: .8rem; color: var(--tcp-muted); }
.tcp-labcard__earlier { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 12px 0 0; font-size: .8rem; color: var(--tcp-muted); }
.tcp-labcard__earlier a { color: var(--tcp-ink-2); text-decoration: underline; text-underline-offset: 2px; }
.tcp-labcard__none { margin: 14px 0 0; font-size: .86rem; color: var(--tcp-ink-2); }
@media (max-width: 560px) {
	.tcp-labcard { padding: 16px; }
	.tcp-labcard__stats { gap: 8px; }
	.tcp-labcard__stats > div { padding: 9px 10px; }
	.tcp-labcard__big { font-size: 1.08rem; }
	.tcp-labcard__ok { font-size: .92rem; line-height: 1.6; }
	.tcp-labcard__checks { grid-template-columns: 1fr; }
	.tcp-labcard__foot .tcp-btn { width: 100%; }
}

/* COA Library page (page-coa-library.php); hero/toc/steps reuse .tcp-guide* */
.tcp-coalib__stats { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 22px; }
.tcp-coalib__stats > div { min-width: 132px; padding: 12px 16px; background: #fff; border: 1px solid var(--tcp-line-2); border-radius: 12px; }
.tcp-coalib__stats dt { font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--tcp-muted); }
.tcp-coalib__stats dd { margin: 2px 0 0; font-family: var(--tcp-font-heading); font-weight: 800; font-size: 1.6rem; line-height: 1.1; color: var(--tcp-navy); font-variant-numeric: tabular-nums; }
.tcp-coalib__toc { margin-bottom: 0; }
.tcp-coalib__body { padding-top: 28px; padding-bottom: 64px; }
.tcp-coalib__group { padding: 22px 0; border-bottom: 1px solid var(--tcp-line); }
.tcp-coalib__group-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.tcp-coalib__thumb { flex: none; width: 52px; height: 52px; border-radius: 12px; background: #fff; border: 1px solid var(--tcp-line); overflow: hidden; display: block; }
.tcp-coalib__thumb img { width: 100%; height: 100%; object-fit: contain; }
.tcp-coalib__name { flex: 1; min-width: 0; font-size: 1.35rem; margin: 0; }
.tcp-coalib__shop { flex: none; font-size: .86rem; font-weight: 700; color: var(--tcp-red); text-decoration: none; }
.tcp-coalib__shop:hover { text-decoration: underline; }
.tcp-coalib__table-wrap { background: #fff; border: 1px solid var(--tcp-line-2); border-radius: var(--tcp-radius-card); overflow: hidden; }
.tcp-coalib__table { width: 100%; border-collapse: collapse; font-size: .9rem; line-height: 1.4; }
/* Fixed column widths so the per-product tables line up down the page. */
@media (min-width: 861px) {
	.tcp-coalib__table { table-layout: fixed; }
	.tcp-coalib__table thead th:nth-child(1) { width: 9%; }
	.tcp-coalib__table thead th:nth-child(2) { width: 17%; }
	.tcp-coalib__table thead th:nth-child(3) { width: 11%; }
	.tcp-coalib__table thead th:nth-child(4) { width: 12%; }
	.tcp-coalib__table thead th:nth-child(5) { width: 11%; }
	.tcp-coalib__table thead th:nth-child(6) { width: 28%; }
	.tcp-coalib__table thead th:nth-child(7) { width: 12%; }
}
.tcp-coalib__table th, .tcp-coalib__table td { padding: 12px 14px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--tcp-line); }
.tcp-coalib__table tbody tr:last-child > * { border-bottom: 0; }
.tcp-coalib__table thead th { background: var(--tcp-cream); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--tcp-muted); white-space: nowrap; }
.tcp-coalib__table tbody th { font-family: var(--tcp-font-heading); font-weight: 800; color: var(--tcp-ink); white-space: nowrap; }
.tcp-coalib__table td { font-variant-numeric: tabular-nums; color: var(--tcp-ink); }
.tcp-coalib__mono { display: block; font-weight: 600; }
.tcp-coalib__sub { display: block; font-size: .76rem; color: var(--tcp-muted); }
.tcp-coalib__purity { font-family: var(--tcp-font-heading); font-weight: 800; font-size: 1.1rem; color: var(--tcp-red); }
.tcp-coalib__passes { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0; padding: 0; font-size: .8rem; }
.tcp-coalib__passes li { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.tcp-coalib__passes svg { color: var(--tcp-green); }
.tcp-coalib__action { text-align: right !important; white-space: nowrap; }
.tcp-coalib__explain { padding: 36px 0 0; font-size: 15px; line-height: 1.7; color: var(--tcp-ink-2); }
.tcp-coalib__panels { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 0; padding: 0; }
.tcp-coalib__panels li { background: #fff; border: 1px solid var(--tcp-line-2); border-radius: 12px; padding: 14px 16px; }
.tcp-coalib__panels p { margin: 0; font-size: .88rem; line-height: 1.5; }
.tcp-coalib__panel-name { font-family: var(--tcp-font-heading); font-weight: 800; color: var(--tcp-navy); font-size: 1rem !important; }
.tcp-coalib__panel-method { color: var(--tcp-red); font-weight: 600; font-size: .76rem !important; margin-bottom: 6px !important; }
.tcp-coalib__more { margin-top: 22px; }
.tcp-coalib__whatis { margin: 8px 0 18px; padding: 52px 24px 56px; background: #fff; border: 1px solid var(--tcp-line); border-radius: var(--tcp-radius-xl); text-align: center; }
.tcp-coalib__whatis-title { display: inline-block; margin: 0 0 26px; padding: 6px 16px 8px; background: var(--tcp-navy); color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.15; letter-spacing: -.01em; box-shadow: var(--tcp-shadow-lift); }
.tcp-coalib__whatis-title span { color: var(--tcp-red-bright); }
.tcp-coalib__whatis p { max-width: 520px; margin: 0 auto; font-size: 1.05rem; line-height: 1.75; color: var(--tcp-ink-2); }
@media (max-width: 600px) { .tcp-coalib__whatis { padding: 36px 18px 40px; } }
/* Below tablet width each report row becomes a labeled card. */
@media (max-width: 860px) {
	.tcp-coalib__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.tcp-coalib__table, .tcp-coalib__table tbody, .tcp-coalib__table tr, .tcp-coalib__table th, .tcp-coalib__table td { display: block; }
	.tcp-coalib__table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; padding: 14px 16px; border-bottom: 1px solid var(--tcp-line); }
	.tcp-coalib__table tbody tr:last-child { border-bottom: 0; }
	.tcp-coalib__table th, .tcp-coalib__table td { padding: 0; border: 0; }
	.tcp-coalib__table td[data-label]::before { content: attr(data-label); display: block; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--tcp-muted); margin-bottom: 2px; }
	.tcp-coalib__table tbody th { grid-column: 1 / -1; font-size: 1.05rem; }
	.tcp-coalib__table td:nth-child(6), .tcp-coalib__action { grid-column: 1 / -1; }
	.tcp-coalib__action { text-align: left !important; }
	.tcp-coalib__action .tcp-btn { width: 100%; }
}
@media (max-width: 560px) {
	.tcp-coalib__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
	.tcp-coalib__stats > div { min-width: 0; }
	.tcp-coalib__group-head { flex-wrap: wrap; }
	.tcp-coalib__shop { width: 100%; padding-left: 66px; margin-top: -10px; }
}

/* ==========================================================================
   Order discount tiers — "spend more, save more" (inc/order-tiers.php).
   Ladder inside the drawer's free-shipping bar, product-page nudge, and the
   "codes replace the order discount" note (cart page + checkout summary).
   ========================================================================== */
.tcp-tier-ladder { margin-top: 11px; padding-top: 10px; border-top: 1px dashed var(--tcp-line-2); }
.tcp-tier-ladder__text { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: .82rem; line-height: 1.3; }
.tcp-tier-icon { width: 17px; height: 17px; flex: 0 0 auto; color: var(--tcp-navy-2); }
.tcp-tier-ladder.is-active .tcp-tier-icon { color: var(--tcp-green); }
.tcp-tier-ladder.is-blocked .tcp-tier-ladder__text { color: var(--tcp-muted); }
.tcp-tier-ladder__steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px; list-style: none; margin: 0; padding: 0; }
.tcp-tier-step { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 5px 4px; border: 1px solid var(--tcp-line); border-radius: 8px; background: #fff; line-height: 1.15; text-align: center; }
.tcp-tier-step__pct { font-size: .78rem; font-weight: 700; color: var(--tcp-ink); }
.tcp-tier-step__min { font-size: .7rem; color: var(--tcp-muted); }
.tcp-tier-step.is-next { border-color: var(--tcp-navy-2); }
.tcp-tier-step.is-reached { border-color: color-mix(in srgb, var(--tcp-green) 40%, transparent); background: var(--tcp-green-soft); }
.tcp-tier-step.is-reached .tcp-tier-step__pct { color: var(--tcp-green-dark); }
.tcp-tier-ladder.is-blocked .tcp-tier-ladder__steps { opacity: .5; }

.tcp-tier-nudge { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; padding: 9px 12px; border-radius: 10px; background: var(--tcp-navy-soft); font-size: .85rem; line-height: 1.35; color: var(--tcp-ink-2); }
.tcp-tier-nudge[hidden] { display: none; }
.tcp-tier-nudge strong { color: var(--tcp-navy); }

.tcp-tier-note { margin: 4px 0 0; font-size: .78rem; color: var(--tcp-muted); }
tr.tcp-tier-note td { padding-top: 0; font-size: .8rem; color: var(--tcp-muted); }

/* =============================================================
   Affiliate / partner program
   - /affiliates/ page (page-affiliates.php): sits on the .tcp-guide* layout,
     adds hero buttons, the status cards and the application form.
   - My Account → Affiliate tab (inc/affiliates-account.php): share link +
     code with copy buttons (assets/js/affiliates.js), stat tiles, tables.
   ============================================================= */
.tcp-aff__hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 22px; }
.tcp-aff__terms li { margin-bottom: 10px; }
.tcp-aff__apply { border-bottom: 0; }

.tcp-aff-status { max-width: 720px; background: #fff; border: 1px solid var(--tcp-line-2); border-left: 4px solid var(--tcp-navy); border-radius: var(--tcp-radius-card); padding: 20px 24px; box-shadow: var(--tcp-shadow-soft); color: var(--tcp-ink-2); }
.tcp-aff-status h3 { font-size: 19px; margin: 0 0 6px; color: var(--tcp-ink); }
.tcp-aff-status p { margin: 0; font-size: 15px; line-height: 1.6; }
.tcp-aff-status p + p { margin-top: 14px; }
.tcp-aff-status--ok { border-left-color: var(--tcp-green); }
.tcp-aff-status--pending { border-left-color: var(--tcp-red); }
.tcp-aff-status__btns { display: flex; flex-wrap: wrap; gap: 10px; }

.tcp-aff-form { max-width: 760px; background: #fff; border: 1px solid var(--tcp-line-2); border-radius: var(--tcp-radius-card); padding: 26px 28px; box-shadow: var(--tcp-shadow-soft); }
.tcp-aff-form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.tcp-aff-field { margin: 0 0 18px; }
.tcp-aff-field label { display: block; font-weight: 700; font-size: 14px; color: var(--tcp-ink); margin-bottom: 6px; }
.tcp-aff-field input[type="text"], .tcp-aff-field input[type="email"], .tcp-aff-field select, .tcp-aff-field textarea { width: 100%; font: inherit; font-size: 15px; color: var(--tcp-ink); background: #fff; border: 1.5px solid var(--tcp-line-2); border-radius: 10px; padding: 11px 13px; transition: border-color .12s ease, box-shadow .12s ease; }
.tcp-aff-field textarea { resize: vertical; min-height: 84px; }
.tcp-aff-field input:focus, .tcp-aff-field select:focus, .tcp-aff-field textarea:focus { outline: none; border-color: var(--tcp-navy); box-shadow: 0 0 0 3px var(--tcp-navy-soft); }
.tcp-aff-field input[readonly] { background: var(--tcp-cream); color: var(--tcp-ink-2); }
.tcp-aff-field small { display: block; margin-top: 5px; font-size: 12.5px; color: var(--tcp-muted); }
.tcp-aff-field--check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; line-height: 1.55; color: var(--tcp-ink-2); }
.tcp-aff-field--check input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--tcp-red); flex: none; }
.tcp-aff-form__errors { background: var(--tcp-red-soft); border-left: 4px solid var(--tcp-red); border-radius: 10px; padding: 12px 16px; margin: 0 0 20px; color: var(--tcp-ink); font-size: 14px; }
.tcp-aff-form__errors p { margin: 0 0 4px; }
.tcp-aff-form__errors ul { margin: 0; padding-left: 18px; }

.tcp-aff-dash { color: var(--tcp-ink-2); }
.tcp-aff-dash__paused { background: var(--tcp-red-soft); border-radius: 10px; padding: 12px 16px; color: var(--tcp-ink); }
.tcp-aff-share { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; margin: 0 0 20px; }
.tcp-aff-share__item { background: #fff; border: 1px solid var(--tcp-line-2); border-radius: var(--tcp-radius-card); padding: 16px 18px; min-width: 0; }
.tcp-aff-share__item label { display: block; text-transform: uppercase; letter-spacing: .1em; font-size: 11.5px; font-weight: 700; color: var(--tcp-muted); margin-bottom: 8px; }
.tcp-aff-share__item small { display: block; margin-top: 8px; font-size: 12.5px; line-height: 1.5; color: var(--tcp-muted); }
.tcp-aff-copy { display: flex; gap: 8px; }
.tcp-aff-copy input { flex: 1; min-width: 0; font: inherit; font-size: 14px; color: var(--tcp-ink); background: var(--tcp-cream); border: 1.5px solid var(--tcp-line-2); border-radius: 10px; padding: 9px 12px; }
.tcp-aff-copy .tcp-aff-copy__code { font-family: var(--tcp-font-heading); font-weight: 800; font-size: 17px; letter-spacing: .12em; color: var(--tcp-navy); }
.tcp-aff-stats { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 0 0 10px; padding: 0; }
.tcp-aff-stats li { background: #fff; border: 1px solid var(--tcp-line-2); border-radius: 12px; padding: 12px 14px; }
.tcp-aff-stats span { display: block; font-size: 12px; color: var(--tcp-muted); }
.tcp-aff-stats strong { display: block; font-family: var(--tcp-font-heading); font-weight: 800; font-size: 20px; color: var(--tcp-navy); }
.tcp-aff-stats__owed { border-color: var(--tcp-green) !important; background: var(--tcp-green-soft) !important; }
.tcp-aff-stats__owed strong { color: var(--tcp-green-dark); }
.tcp-aff-dash__note { font-size: 13px; line-height: 1.55; color: var(--tcp-muted); margin: 0 0 8px; }
.tcp-aff-dash__h { font-size: 18px; margin: 26px 0 10px; }
.tcp-aff-dash__rules { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--tcp-line); font-size: 13px; color: var(--tcp-muted); }
.tcp-aff-dash__rules a, .tcp-aff-status a:not(.tcp-btn) { color: var(--tcp-red); }
.tcp-aff-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--tcp-line); border-radius: 12px; }
.tcp-aff-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0 !important; border: 0 !important; }
.tcp-aff-table th, .tcp-aff-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--tcp-line); }
.tcp-aff-table thead th { background: var(--tcp-cream); color: var(--tcp-ink); font-size: 13px; }
.tcp-aff-table tbody tr:last-child td { border-bottom: 0; }
.tcp-aff-pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--tcp-cream-2); color: var(--tcp-ink-2); }
.tcp-aff-pill--approved, .tcp-aff-pill--paid { background: var(--tcp-green-soft); color: var(--tcp-green-dark); }
.tcp-aff-pill--pending { background: var(--tcp-navy-soft); color: var(--tcp-navy); }
.tcp-aff-pill--reversed { background: var(--tcp-red-soft); color: var(--tcp-red-dark); }
.tcp-aff-empty { font-size: 14px; color: var(--tcp-muted); }
@media (max-width: 860px) {
	.tcp-aff-share { grid-template-columns: 1fr; }
	.tcp-aff-stats { grid-template-columns: repeat(2, 1fr); }
	.tcp-aff-stats__owed { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	.tcp-aff-form { padding: 20px 16px; }
	.tcp-aff-form__row--2 { grid-template-columns: 1fr; }
	.tcp-aff-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.tcp-aff-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; padding: 12px 14px; border-bottom: 1px solid var(--tcp-line); }
	.tcp-aff-table tbody tr:last-child { border-bottom: 0; }
	.tcp-aff-table td { padding: 0; border: 0; }
	.tcp-aff-table td::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--tcp-muted); }
}
/* ---------- end affiliate program ---------- */

/* ---------- checkout account gate (template-parts/account-gate.php) ----------
   Signed-out visitors see this card on /checkout/ instead of the order form. */
.tcp-account-gate { max-width: 560px; margin: 8px auto 0; }
.tcp-account-gate__card {
	background: #fff;
	border: 1px solid var(--tcp-line);
	border-radius: var(--tcp-radius-xl);
	box-shadow: var(--tcp-shadow-soft);
	overflow: hidden;
}
.tcp-account-gate__panel[hidden] { display: none; }
.tcp-account-gate__head {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 24px 28px 22px;
	background: var(--tcp-navy);
	background-image: linear-gradient(135deg, var(--tcp-navy) 0%, var(--tcp-navy-dark) 100%);
	color: #fff;
	border-bottom: 3px solid var(--tcp-red);
}
.tcp-account-gate__icon {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: rgba(255, 255, 255, .12);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
}
.tcp-account-gate__icon svg { width: 22px; height: 22px; display: block; }
.tcp-account-gate__title { margin: 0; font-size: 22px; line-height: 1.2; color: #fff; }
.tcp-account-gate__intro { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .82); }

.tcp-account-gate__form { padding: 24px 28px 4px; display: grid; gap: 16px; }
.tcp-account-gate__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tcp-account-gate__field { display: grid; gap: 6px; min-width: 0; }
.tcp-account-gate__field label,
.tcp-account-gate__label-row label { font-size: 14px; font-weight: 600; color: var(--tcp-ink); }
.tcp-account-gate__hint { font-weight: 400; color: var(--tcp-muted); }
.tcp-account-gate__label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.tcp-account-gate__label-row a { font-size: 13px; color: var(--tcp-navy-2); }

.tcp-account-gate input[type="text"],
.tcp-account-gate input[type="email"],
.tcp-account-gate input[type="password"],
.tcp-account-gate input[type="date"],
.tcp-account-gate select {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid var(--tcp-border);
	border-radius: var(--tcp-radius-btn);
	background: #fff;
	color: var(--tcp-ink);
	font: inherit;
	font-size: 15px;
	line-height: 1.3;
}
.tcp-account-gate ::placeholder { color: var(--tcp-muted-2); opacity: 1; }
.tcp-account-gate input:focus,
.tcp-account-gate select:focus {
	outline: 0;
	border-color: var(--tcp-navy-2);
	box-shadow: 0 0 0 3px var(--tcp-navy-soft);
}
.tcp-account-gate select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235F6B7D' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 12px 8px;
	cursor: pointer;
}
.tcp-account-gate select:invalid { color: var(--tcp-muted-2); }
.tcp-account-gate select option { color: var(--tcp-ink); }
.tcp-account-gate input[type="date"] { -webkit-appearance: none; appearance: none; }
.tcp-account-gate input[type="date"]:invalid:not(:focus) { color: var(--tcp-muted-2); }

.tcp-account-gate__password { position: relative; }
.tcp-account-gate__password input { padding-right: 48px; }
.tcp-account-gate__eye {
	position: absolute;
	top: 50%;
	right: 6px;
	transform: translateY(-50%);
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--tcp-muted);
	cursor: pointer;
}
.tcp-account-gate__eye:hover { color: var(--tcp-ink); background: var(--tcp-cream); }
.tcp-account-gate__eye:focus-visible { outline: 2px solid var(--tcp-navy-2); outline-offset: 1px; }
.tcp-account-gate__eye-shut,
.tcp-account-gate__eye[aria-pressed="true"] .tcp-account-gate__eye-open { display: none; }
.tcp-account-gate__eye[aria-pressed="true"] .tcp-account-gate__eye-shut { display: block; }

.tcp-account-gate__ack {
	padding: 14px 16px;
	border: 1px solid var(--tcp-line);
	border-radius: var(--tcp-radius-card);
	background: var(--tcp-cream);
}
.tcp-account-gate__ack label,
.tcp-account-gate__remember {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--tcp-ink-2);
	cursor: pointer;
}
.tcp-account-gate__ack strong { color: var(--tcp-ink); }
.tcp-account-gate__remember { align-items: center; font-size: 13.5px; }
.tcp-account-gate input[type="checkbox"] {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	accent-color: var(--tcp-red);
	cursor: pointer;
}
.tcp-account-gate__remember input[type="checkbox"] { margin: 0; width: 18px; height: 18px; }

.tcp-account-gate__submit { width: 100%; min-height: 52px; font-size: 1rem; margin-top: 4px; }
.tcp-account-gate__submit.is-busy { opacity: .7; cursor: progress; }
.tcp-account-gate__fine {
	margin: 0;
	font-size: 12.5px;
	line-height: 1.55;
	color: var(--tcp-muted);
	text-align: center;
}
.tcp-account-gate__fine a { color: var(--tcp-muted); text-decoration: underline; }
.tcp-account-gate__switch {
	margin: 0;
	padding: 18px 28px 24px;
	text-align: center;
	font-size: 14.5px;
	color: var(--tcp-muted);
}
.tcp-account-gate__switch a { font-weight: 700; color: var(--tcp-red); text-decoration: none; }
.tcp-account-gate__switch a:hover { text-decoration: underline; }

/* errors */
.tcp-account-gate__notice {
	padding: 12px 14px;
	border-radius: var(--tcp-radius-btn);
	border-left: 3px solid var(--tcp-red);
	background: var(--tcp-red-soft);
	color: var(--tcp-red-dark);
	font-size: 14px;
	line-height: 1.45;
}
.tcp-account-gate__error { margin: 0; font-size: 13px; color: var(--tcp-red); }
.tcp-account-gate .is-invalid input:not([type="checkbox"]),
.tcp-account-gate .is-invalid select { border-color: var(--tcp-red); }
.tcp-account-gate__ack.is-invalid { border-color: var(--tcp-red); background: var(--tcp-red-soft); }

.tcp-account-gate__back { margin: 18px 0 0; text-align: center; font-size: 14px; }
.tcp-account-gate__back a { display: inline-flex; align-items: center; gap: 6px; color: var(--tcp-muted); text-decoration: none; }
.tcp-account-gate__back a:hover { color: var(--tcp-ink); }

@media (max-width: 600px) {
	.tcp-account-gate { margin-top: 0; }
	.tcp-account-gate__head { padding: 20px 18px 18px; gap: 12px; }
	.tcp-account-gate__icon { width: 36px; height: 36px; }
	.tcp-account-gate__title { font-size: 20px; }
	.tcp-account-gate__form { padding: 20px 18px 4px; gap: 14px; }
	.tcp-account-gate__switch { padding: 16px 18px 20px; }
	.tcp-account-gate__row { gap: 12px; }
}
@media (max-width: 340px) {
	.tcp-account-gate__row { grid-template-columns: 1fr; }
}

/* ---------- email verification card (template-parts/email-verify.php) ----------
   Checkout (inside .tcp-account-gate) and the My Account banner. */
.tcp-verify__code {
	font-family: ui-monospace, Menlo, Consolas, monospace;
	font-size: 24px !important;
	letter-spacing: .35em;
	text-align: center;
}
.tcp-verify__code::placeholder { letter-spacing: .35em; }
.tcp-account-gate__notice.tcp-verify__ok {
	border-left-color: var(--tcp-green);
	background: var(--tcp-green-soft);
	color: var(--tcp-green-dark);
}
.tcp-verify__help {
	display: grid;
	gap: 10px;
	padding: 16px 28px 24px;
	font-size: 14px;
	color: var(--tcp-muted);
	text-align: center;
}
.tcp-verify__resend { margin: 0; }
.tcp-verify__link {
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-weight: 700;
	color: var(--tcp-red);
	cursor: pointer;
}
.tcp-verify__link:hover { text-decoration: underline; }
.tcp-verify__change summary {
	display: inline-block;
	cursor: pointer;
	color: var(--tcp-navy-2);
	text-decoration: underline;
}
.tcp-verify__change-form { display: grid; gap: 12px; margin-top: 12px; text-align: left; }
.tcp-verify__change-btn { width: 100%; min-height: 46px; }
.tcp-verify-banner { max-width: none; margin: 0 0 24px; }
/* My Account's own heading / submit-button rules would otherwise win. */
.tcp-account .tcp-verify-banner .tcp-account-gate__title { margin: 0; font-size: 22px; color: #fff; }
.tcp-account .tcp-verify-banner form button.tcp-verify__link[type="submit"] {
	min-height: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	font-family: inherit;
	font-size: inherit;
	color: var(--tcp-red);
}
@media (max-width: 600px) {
	.tcp-verify__help { padding: 14px 18px 20px; }
}

/* ---------- store credit (inc/store-credit.php) ---------- */
.tcp-credit-icon { width: 18px; height: 18px; flex: 0 0 auto; color: var(--tcp-green-dark); }
.tcp-credit-note {
	display: grid; gap: 5px;
	margin: 0 0 12px; padding: 11px 13px;
	border-radius: 12px; border: 1px solid #BBF7D0;
	background: var(--tcp-green-soft); color: var(--tcp-green-dark);
	font-size: .84rem; line-height: 1.35;
}
.tcp-credit-note.is-pending { border-color: var(--tcp-line); background: var(--tcp-cream); color: var(--tcp-ink); }
.tcp-credit-note__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tcp-credit-note__title { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .84rem; }
.tcp-credit-note__bal { font-family: var(--tcp-font-heading); font-size: .86rem; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tcp-credit-note__msg { margin: 0; }
.tcp-credit-note__msg strong { font-weight: 800; }
.tcp-credit-note__track { height: 5px; border-radius: 999px; background: rgba(11, 27, 51, .1); overflow: hidden; margin-top: 2px; }
.tcp-credit-note__fill { height: 100%; border-radius: 999px; background: var(--tcp-green-dark); transition: width .25s ease; }
.tcp-credit-note__exp { margin: 0; font-size: .76rem; font-weight: 600; color: var(--tcp-muted); }
.tcp-credit-note.is-applied .tcp-credit-note__exp { color: #166534; }
.tcp-credit-note__exp.is-soon { color: #9A4D00; font-weight: 700; }
.tcp-summary__totals .tcp-credit-note { margin: 8px 0; }
.tcp-summary-row--credit { color: var(--tcp-green-dark); font-weight: 700; font-variant-numeric: tabular-nums; }
.tcp-summary-row--credit .woocommerce-Price-amount { color: inherit; }
.tcp-credit-empty {
	display: flex; align-items: center; gap: 10px;
	max-width: 360px; margin: 0 auto 10px; padding: 11px 14px;
	border-radius: 12px; border: 1px solid #BBF7D0;
	background: var(--tcp-green-soft); color: #14532D; text-align: left;
}
.tcp-credit-empty__body { display: grid; gap: 2px; }
.tcp-credit-empty__title { margin: 0; font-size: .88rem; line-height: 1.3; }
.tcp-credit-empty__title strong { color: var(--tcp-green-dark); font-weight: 800; }
.tcp-credit-empty__sub { margin: 0; font-size: .76rem; font-weight: 600; color: #166534; line-height: 1.3; }
.tcp-credit-empty__sub.is-soon { color: #9A4D00; font-weight: 700; }
.tcp-empty-cart .tcp-credit-empty { margin: 0 auto 24px; }
.tcp-credit-pitch {
	display: flex; align-items: flex-start; gap: 10px;
	margin: 16px 24px 0; padding: 11px 14px;
	border: 1px solid #BBF7D0; border-radius: 12px; background: var(--tcp-green-soft);
	color: #14532D; font-size: 14px; line-height: 1.45;
}
.tcp-credit-pitch .tcp-credit-icon { margin-top: 1px; }
.tcp-credit-pitch strong { color: var(--tcp-green-dark); font-weight: 800; }
.woocommerce-form-register .tcp-credit-pitch { margin: 0 0 16px; }
.tcp-acct-menu__credit {
	display: flex; align-items: center; gap: 12px;
	margin: 14px 0 0; padding: 11px 13px; border-radius: 12px;
	background: rgba(22, 163, 74, .18); color: #fff; text-decoration: none;
}
.tcp-acct-menu__credit:hover { background: rgba(22, 163, 74, .28); color: #fff; }
.tcp-acct-menu__credit.is-zero { background: rgba(255, 255, 255, .08); }
.tcp-acct-menu__credit.is-zero:hover { background: rgba(255, 255, 255, .14); }
.tcp-acct-menu__credit .tcp-credit-icon { color: #86EFAC; width: 20px; height: 20px; }
.tcp-acct-menu__credit.is-zero .tcp-credit-icon { color: rgba(255, 255, 255, .65); }
.tcp-acct-menu__credit > span { display: grid; line-height: 1.3; }
.tcp-acct-menu__credit b { font-family: var(--tcp-font-heading); font-size: 14.5px; }
.tcp-acct-menu__credit small { font-size: 12.5px; color: rgba(255, 255, 255, .7); }
.tcp-acct-menu__credit small.is-soon { color: #FDE68A; font-weight: 700; }
.tcp-header__credit {
	display: none;
	align-items: center;
	gap: 6px;
	height: 34px;
	padding: 0 11px;
	border-radius: 999px;
	background: var(--tcp-green-soft);
	border: 1px solid #BBF7D0;
	color: var(--tcp-green-dark);
	font-size: 12.5px;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: border-color var(--tcp-dur-fast) ease, background var(--tcp-dur-fast) ease;
}
.tcp-header__credit:hover { border-color: #86EFAC; color: var(--tcp-green-dark); }
.tcp-header__credit:focus-visible { outline: 2px solid var(--tcp-navy-2); outline-offset: 2px; }
.tcp-header__credit .tcp-credit-icon { width: 15px; height: 15px; color: inherit; }
.tcp-header__credit-amt { font-family: var(--tcp-font-heading); font-weight: 800; font-variant-numeric: tabular-nums; }
.tcp-header__credit-sub { font-weight: 600; color: #166534; }
.tcp-header__credit.is-soon { background: #FFF3E0; border-color: #F6D7AE; color: #9A4D00; }
.tcp-header__credit.is-soon:hover { border-color: #EAB676; color: #9A4D00; }
.tcp-header__credit.is-soon .tcp-credit-icon { color: #B45F06; }
.tcp-header__credit.is-soon .tcp-header__credit-sub { color: #9A4D00; font-weight: 700; }
@media (min-width: 990px) {
	.tcp-header__credit { display: inline-flex; }
}
.tcp-newsletter--credit .tcp-newsletter__amount { letter-spacing: -.02em; }
.tcp-cashback .tcp-credit-icon { width: 20px; height: 20px; }
.tcp-next-reward--thankyou.tcp-cashback .tcp-credit-icon { width: 26px; height: 26px; margin-top: 1px; }
.tcp-newsletter__dialog:focus { outline: none; }
