/* ========================================================================== 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; justify-content: space-between; gap: 20px; margin-bottom: 32px;
} .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.75rem, 3.5vw, 2.25rem); font-weight: 800; 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,
.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; }
