/* ----------------------------------------
   Nova Page Hero -- Reusable Inner Page Hero Component
   Phase 08
   ----------------------------------------
   @package nova-peptides
   ----------------------------------------
   All colors use --nova-* CSS custom properties.
   Only permitted hardcoded values:
     rgba(255,255,255,0.3)  — stat divider (no semantic token)
   ---------------------------------------- */

/* ----------------------------------------
   Hero Component
   ---------------------------------------- */

/* --- Header Override (per D-08, CHROME-03) ---
   When nova-page-hero.css is loaded, override the default white header
   back to the transparent / glass purple treatment so it overlays the hero.
   The scrolled state (body.nova-scrolled) and mega-open state
   (.site-header.mega-open) in nova-header.css have higher specificity
   and will correctly switch back to white when triggered. */
.col-full{
	padding: 0;
}
.col-full.topbar-wrapper{
	border: none;
}


#masthead.site-header {
	background-color: transparent;
	position: absolute;
	left: 0;
	right: 0;
	z-index: 100;
	box-shadow: none;
}

/* Logo: show light (white) version on dark hero background */
.nova-logo-light {
	display: block;
}

.nova-logo-blue {
	display: none;
}

/* Nav links: white on dark background */
.nova-nav-menu li a,
.nova-nav-link {
	color: var(--nova-text-primary);
}

/* Search: glass / blur treatment */
.nova-search-form {
	background: var(--nova-glass-bg);
	backdrop-filter: blur(32px);
	-webkit-backdrop-filter: blur(32px);
	border: none;
}

.nova-search-icon {
	color: var(--nova-text-primary);
}

.nova-search-form input[type="search"],
.nova-search-form .nova-search-input {
	color: var(--nova-text-primary);
}

.nova-search-form input[type="search"]::placeholder,
.nova-search-form .nova-search-input::placeholder {
	color: var(--nova-text-primary);
	opacity: 0.5;
}

/* Login button: white pill with accent text (inverted from default) */
.nova-login-btn {
	background: var(--nova-bg-white);
	backdrop-filter: blur(var(--nova-glass-blur));
	-webkit-backdrop-filter: blur(var(--nova-glass-blur));
	color: var(--nova-accent);
}

.nova-login-btn:hover {
	background: rgba(255, 255, 255, 0.9);
	color: var(--nova-accent);
}

/* Account + cart icons: white */
.nova-account-icon,
.nova-cart-link {
	color: var(--nova-text-primary);
}

/* Hamburger bars: white */
.hamburger-bar {
	background: var(--nova-text-primary);
}

/* Mobile toggle: white */
#nova-menu-toggle {
	color: var(--nova-text-primary);
}


.nova-page-hero {
	position: relative;
	min-height: 456px;
	/* Push content below announcement bar (40px) + header (~96px) */
	padding-top: 136px;
	background-color: var(--nova-bg-primary);
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	width: 100%;
	box-sizing: border-box;
}

.nova-page-hero__texture {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0.2;
	mix-blend-mode: luminosity;
}

.nova-page-hero__inner {
	position: relative;
	max-width: var(--nova-max-page-width);
	margin: 0 auto;
	z-index: 2;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	padding: 0 56px 80px;
}

.nova-page-hero__text {
	max-width: 50%;
	margin-right: 20px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	color: var(--nova-text-primary);
}

.nova-page-hero__eyebrow {
	font-family: var(--nova-font-body);
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: var(--nova-text-muted);
}

.nova-page-hero__title {
	font-family: var(--nova-font-heading);
	font-size: 72px;
	font-weight: 400;
	line-height: 72px;
	letter-spacing: -3.6px;
	color: var(--nova-text-primary);
	margin: 0;
}

.nova-page-hero__desc {
	font-family: var(--nova-font-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	color: var(--nova-text-white-70);
	margin: 0;
}

.nova-page-hero__stats {
	display: flex;
	align-items: flex-end;
	gap: 40px;
	flex-shrink: 0;
	max-width: 50%;
}

.nova-page-hero__stat {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	color: var(--nova-text-primary);
}

.nova-page-hero__stat-num {
	font-family: var(--nova-font-heading);
	font-size: 56px;
	font-weight: 400;
	line-height: 56px;
	letter-spacing: -1.68px;
}

.nova-page-hero__stat-label {
	font-family: var(--nova-font-body);
	font-size: 20px;
	font-weight: 400;
	line-height: 32px;
}

.nova-page-hero__divider {
	width: 1px;
	height: 88px;
	background: rgba(255, 255, 255, 0.3);
	flex-shrink: 0;
}

/* ----------------------------------------
   Responsive -- 1200px (large tablet)
   ---------------------------------------- */

@media (max-width: 1200px) {
	.nova-page-hero__title {
		font-size: 60px;
		line-height: 60px;
	}
}

/* ----------------------------------------
   Responsive -- 1024px (tablet)
   ---------------------------------------- */

@media (max-width: 1024px) {
	.nova-page-hero {
		min-height: 420px;
		padding-top: 120px;
	}

	.nova-page-hero__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 40px;
		padding: 0 32px 64px;
	}

	.nova-page-hero__stats {
		max-width: 100%;
	}

	.nova-page-hero__text {
		max-width: 100%;
	}

	.nova-page-hero__title {
		font-size: 48px;
		line-height: 1.1;
		letter-spacing: -1.2px;
	}

	.nova-page-hero__desc {
		font-size: 18px;
		line-height: 26px;
	}
}

/* ----------------------------------------
   Responsive -- 768px (mobile)
   ---------------------------------------- */

@media (max-width: 768px) {
	.nova-page-hero {
		min-height: fit-content;
		padding-top: 96px;
		align-items: flex-start;
	}

	.nova-page-hero__inner {
		padding: 0 16px 48px;
		gap: 28px;
	}

	.nova-page-hero__eyebrow {
		font-size: 12px;
		line-height: 16px;
		letter-spacing: 1.2px;
	}

	.nova-page-hero__title {
		font-size: 32px;
		line-height: 1.05;
		letter-spacing: -0.8px;
	}

	.nova-page-hero__desc {
		font-size: 15px;
		line-height: 1.55;
	}

	/* Stats lay out as a 2-column grid on mobile so 4-stat heroes wrap to
	   2-per-row. The DOM is stat-div-stat-div-stat-div-stat (dividers
	   between every pair of stats). Using a 3-track grid (stat | 1px |
	   stat) the inline dividers fall naturally into the centre column.
	   For 4 stats, the *middle* divider (4th child overall) is the one
	   that breaks the row — promote it to a full-width horizontal rule
	   spanning both columns. The remaining dividers stay vertical. */
	.nova-page-hero__stats {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
		column-gap: 24px;
		row-gap: 20px;
		max-width: 100%;
		align-items: start;
	}

	.nova-page-hero__divider {
		width: 1px;
		height: 56px;
		align-self: center;
		justify-self: center;
		margin: 0;
	}

	.nova-page-hero__divider:nth-child(4n) {
		grid-column: 1 / -1;
		width: 100%;
		height: 1px;
	}

	.nova-page-hero__stat-num {
		font-size: 40px;
		line-height: 40px;
		letter-spacing: -1px;
	}

	.nova-page-hero__stat-label {
		font-size: 15px;
		line-height: 22px;
	}
}

/* ----------------------------------------
   Responsive -- 480px (small mobile)
   ---------------------------------------- */

@media (max-width: 480px) {
	.nova-page-hero {
		padding-top: 88px;
	}

	.nova-page-hero__inner {
		padding: 0 12px 36px;
		gap: 24px;
	}

	.nova-page-hero__title {
		font-size: 26px;
		line-height: 1.08;
		letter-spacing: -0.4px;
	}

	.nova-page-hero__desc {
		font-size: 14px;
		line-height: 1.5;
	}

	.nova-page-hero__stats {
		column-gap: 16px;
		row-gap: 16px;
	}

	.nova-page-hero__divider {
		height: 44px;
	}

	.nova-page-hero__stat-num {
		font-size: 26px;
		line-height: 28px;
		letter-spacing: -0.4px;
	}

	.nova-page-hero__stat-label {
		font-size: 13px;
		line-height: 18px;
	}
}
