/* ========================================================================== Formal Peptides, Global UI fixes v1.8.1 Scrollbar, logo, product cards, section rhythm, home blog ========================================================================== */ :root { --fp-section-gap: 110px;
} /* Fix double scrollbar: single scroll root on html only */
html { overflow-x: clip; overflow-y: auto; scrollbar-gutter: stable;
} body { overflow-x: clip; overflow-y: visible; width: 100%;
} .home-page,
.hv2-page,
#main.site-main,
.site-main { overflow: visible !important; overflow-x: clip !important;
} /* Hide nested horizontal scrollbars that flash on load */
.category-carousel__track,
.hv2-cat-owl:not(.owl-loaded),
.hv2-hero__cat-track { scrollbar-width: none; -ms-overflow-style: none;
} .category-carousel__track::-webkit-scrollbar,
.hv2-cat-owl:not(.owl-loaded)::-webkit-scrollbar,
.hv2-hero__cat-track::-webkit-scrollbar { display: none; width: 0; height: 0;
} /* Header logo, remove box lines, shift 8px left */
.header__logo { background: transparent !important; border: none !important; box-shadow: none !important; border-radius: 0 !important; padding: 0 !important; margin-left: -8px;
} .fp-site-logo__img,
.fp-site-logo--header .fp-site-logo__img { background: transparent !important; border: none !important; box-shadow: none !important; outline: none !important; display: block;
} /* Product cards, ~20% shorter image area sitewide */
.product-card__image-wrap { aspect-ratio: 1 / 1; max-height: 280px;
} .product-card__image-wrap img,
.product-card__image { object-fit: cover; object-position: center center;
} .hv2-vial-card__media { aspect-ratio: 5 / 4; max-height: 220px;
} .hv2-vial-card__img { object-fit: cover; object-position: center center;
} /* Section padding 110px rhythm */
.home-section,
.content-page,
.shop-hero,
.hv2-page > section:not(.hv2-hero):not(.hv2-trust) { padding-block: calc(var(--fp-section-gap, 110px) / 2) !important;
} .hv2-categories { padding: calc(var(--fp-section-gap, 110px) / 2) 0 0 !important;
} .hv2-categories__title { margin-bottom: calc(var(--fp-section-gap, 110px) / 2);
} .stats-band,
.hv2-stats,
.hv2-scan,
.hv2-vials,
.hv2-faq,
.hv2-blog { padding-block: calc(var(--fp-section-gap, 110px) / 2) !important;
} /* Main Home, blog section (visible on light background) */
.home-blog { background: linear-gradient(180deg, #f8fbfe 0%, #f0f6fa 100%); padding-block: calc(var(--fp-section-gap, 110px) / 2) !important;
} .home-blog__head { display: flex; align-items: flex-end; gap: 20px; margin-bottom: 32px; flex-direction: row;

} .home-blog__eyebrow { display: block; font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--fp-teal-500, #00a3c4); margin-bottom: 10px;
} .home-blog__title { font-size: clamp(1.77rem, 3.5vw, 1.9rem); font-weight: 700; color: var(--fp-navy-900, #002137); margin: 0; line-height: 1.2;
} .home-blog__title em { font-style: italic; color: var(--fp-teal-500, #00a3c4);
} .home-blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
} .home-blog-card { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: #ffffff; border: 1px solid rgba(0, 33, 55, 0.1); box-shadow: 0 10px 32px rgba(0, 33, 55, 0.08); text-decoration: none; color: inherit; height: 100%; transition: transform 0.35s ease, box-shadow 0.35s ease;
} .home-blog-card:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(0, 33, 55, 0.14);
} .home-blog-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, #e8f4f8, #d4e8f0);
} .home-blog-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.45s ease;
} .home-blog-card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0, 33, 55, 0.4) 100%); pointer-events: none;
} .home-blog-card__cat { position: absolute; bottom: 12px; left: 14px; z-index: 2; font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #fff; background: rgba(0, 163, 196, 0.9); padding: 5px 10px; border-radius: 4px;
} .home-blog-card:hover .home-blog-card__media img { transform: scale(1.05);
} .home-blog-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1;
} .home-blog-card__date { font-size: 0.75rem; font-weight: 700; color: var(--fp-teal-500, #00a3c4); text-transform: uppercase; letter-spacing: 0.06em;
} .home-blog-card__title { margin: 0; font-size: 1.0625rem; font-weight: 700; color: var(--fp-navy-900, #002137); line-height: 1.35;
} .home-blog-card__excerpt { margin: 0; font-size: 0.875rem; line-height: 1.55; color: rgba(0, 33, 55, 0.68);
} .home-blog-card__read { margin-top: auto; font-size: 0.8125rem; font-weight: 700; color: var(--fp-teal-500, #00a3c4); display: inline-flex; align-items: center; gap: 6px;
} /* Home-2 blog, keep cards visible on white sections */
.hv2-blog { background: linear-gradient(180deg, #f8fbfe 0%, #f0f6fa 100%) !important;
} .hv2-blog-card { background: #ffffff; border: 1px solid rgba(0, 33, 55, 0.1); box-shadow: 0 10px 32px rgba(0, 33, 55, 0.08);
} @media (max-width: 1023px) { .home-blog__grid, .hv2-blog__grid { grid-template-columns: 1fr; }
} @media (max-width: 639px) { .header__logo { margin-left: -4px; } .product-card__image-wrap { max-height: 220px; }
} .home-page .product-section,
.product-section,
.trust-strip,
.reviews-section,
.reviews-panel,
.category-band { padding-block: calc(var(--fp-section-gap, 110px) / 2) !important;
}


/* Primary CTA buttons — white label text on teal (all pages) */
a.btn--primary,
a.btn--primary:hover,
a.btn--primary:focus,
a.btn--primary:active,
.btn--primary,
.btn--primary:hover,
.btn--primary:focus,
.btn--primary:active,
.product-card__footer a.btn,
.product-card__footer a.btn--primary,
.product-card__footer .btn--primary,
.product-gate a.btn--primary,
.woocommerce-page a.btn--primary,
.woocommerce-page a.btn--primary:hover {
	color: #ffffff !important;
}

/* === FORCE: white text on all primary CTA buttons (sitewide) === */
a.btn.btn--primary,
a.btn.btn--primary:hover,
a.btn.btn--primary:focus,
a.btn.btn--primary:active,
.btn.btn--primary,
.product-card__footer a,
.product-card__footer a.btn,
.product-card__footer a.btn--primary,
.product-card__footer a.btn--primary:hover,
.product-card__footer a.btn--primary:focus,
.product-card__footer a.btn--primary:active,
.product-gate a.btn--primary,
.product-gate a.btn--primary:hover,
.woocommerce-page a.btn--primary,
.woocommerce-page a.btn--primary:hover,
.woocommerce-page .product-card__footer a.btn--primary,
.related.products .product-card__footer a.btn--primary,
.product-related .product-card__footer a.btn--primary,
.home-page .product-card__footer a.btn--primary,
.product-grid--shop .product-card__footer a.btn--primary {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	background-color: var(--fp-teal-500, #00A3C4) !important;
	border-color: var(--fp-teal-500, #00A3C4) !important;
}

a.btn.btn--primary:hover,
.product-card__footer a.btn--primary:hover,
.woocommerce-page a.btn--primary:hover {
	background-color: var(--fp-teal-600, #008fad) !important;
	border-color: var(--fp-teal-600, #008fad) !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

/* Hide duplicate WooCommerce related heading if it ever renders */
.product-related .related.products > h2 {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	position: absolute !important;
	width: 1px !important;
}

/* Kill duplicate WC related heading if cached template still outputs it */
section.related.products > h2:not(.product-related__title),
.product-related section.related.products > h2:not(.product-related__title) {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	position: absolute !important;
	width: 1px !important;
	clip: rect(0,0,0,0) !important;
}

.product-related__title {
	color: var(--fp-navy-900, #002137) !important;
	-webkit-text-fill-color: var(--fp-navy-900, #002137) !important;
	background: none !important;
	-webkit-background-clip: unset !important;
	background-clip: unset !important;
}

/* Never apply teal link color to buttons */
.woocommerce a.btn,
.woocommerce-page a.btn,
.woocommerce a.btn--primary,
.woocommerce-page a.btn--primary {
    color: #00A3C4 !important;
    -webkit-text-fill-color: #00A3C4 !important;
}

.woocommerce a.btn:hover,
.woocommerce-page a.btn:hover,
.woocommerce a.btn--primary:hover,
.woocommerce-page a.btn--primary:hover {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}



/* Homepage product cards — full vial visible, no crop */




@media (max-width: 639px) {
	
}

@media (min-width: 1024px) {
	
}
@media (max-width: 639px) {
	/* Override mobile shrink on homepage cards */
	
}

/* Sitewide eyebrow consistency */
.fp-eyebrow,
.about-eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
}
.fp-eyebrow__line,
.about-eyebrow__line {
	display: block; width: 42px; height: 2px;
	background: linear-gradient(90deg, var(--fp-teal-500, #00a3c4), rgba(0, 163, 196, 0.35));
	border-radius: 2px; flex-shrink: 0;
}
.fp-eyebrow__text,
.about-eyebrow__text,
.home-blog__eyebrow {
	font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.16em;
	text-transform: uppercase; color: var(--fp-teal-500, #00a3c4);
}
.fp-eyebrow__badge,
.about-eyebrow__badge {
	display: inline-flex; align-items: center; justify-content: center;
	width: 28px; height: 28px; border-radius: 8px;
	background: linear-gradient(145deg, rgba(0, 163, 196, 0.14), rgba(0, 163, 196, 0.06));
	border: 1px solid rgba(0, 163, 196, 0.22); color: var(--fp-teal-500, #00a3c4);
	box-shadow: 0 4px 14px rgba(0, 163, 196, 0.12); flex-shrink: 0;
}

/* Hide WooCommerce view cart link globally */
a.added_to_cart,
.woocommerce-message a.button.wc-forward { display: none !important; }

/* FP nav dropdown + affiliates footer */
.header__nav-list > .menu-item {
	position: relative;
	list-style: none;
}

.header__nav-list .sub-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%) translateY(6px);
	min-width: 220px;
	margin: 0;
	padding: 0.5rem 0;
	list-style: none;
	background: var(--fp-white);
	border: 1px solid var(--fp-gray-200);
	border-radius: var(--fp-radius-lg);
	box-shadow: var(--fp-shadow-md);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
	z-index: 300;
}

.header__nav-list > .menu-item-has-children:hover > .sub-menu,
.header__nav-list > .menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateX(-50%) translateY(0);
}

.header__nav-list .sub-menu .menu-item {
	width: 100%;
}

.header__nav-list .sub-menu .header__nav-link {
	display: block;
	padding: 0.65rem 1rem;
	font-size: 0.9375rem;
	font-weight: 600;
	white-space: nowrap;
	color: var(--fp-gray-700);
}

.header__nav-list .sub-menu .header__nav-link::after {
	display: none;
}

.header__nav-list .sub-menu .header__nav-link:hover {
	color: var(--fp-navy-900);
	background: var(--fp-gray-50);
}

.header__submenu-toggle {
	display: none;
}

.header__mobile-nav-list .menu-item {
	list-style: none;
	position: relative;
}

.header__mobile-nav-list .menu-item-has-children {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
}

.header__mobile-nav-list .menu-item-has-children > .header__mobile-nav-link {
	grid-column: 1;
}

.header__mobile-nav-list .header__submenu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--fp-navy-900);
	cursor: pointer;
	grid-column: 2;
	grid-row: 1;
}

.header__mobile-nav-list .header__submenu-toggle span {
	display: block;
	width: 10px;
	height: 10px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}

.header__mobile-nav-list .header__submenu-toggle[aria-expanded="true"] span {
	transform: rotate(225deg);
}

.header__mobile-nav-list .sub-menu {
	display: none;
	grid-column: 1 / -1;
	list-style: none;
	margin: 0;
	padding: 0 0 0 var(--fp-space-4);
	background: transparent;
}

.header__mobile-nav-list .menu-item-has-children.is-open > .sub-menu {
	display: block;
}

.header__mobile-nav-list .sub-menu .header__mobile-nav-link {
	font-size: var(--fp-font-size-base);
	font-weight: 500;
	color: var(--fp-gray-700);
}

@media (min-width: 1024px) {
	.footer__grid {
		grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1.5fr;
	}
}