/* Gencore Global — reusable component styles (product cards, breadcrumbs,
   ratings, tabs) shared by native templates, WooCommerce and Elementor. */

/* -----------------------------------------------------------------------
   Product card
----------------------------------------------------------------------- */
.product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 24px;
}

.product-card {
	display: flex;
	flex-direction: column;
	background: var(--gc-white);
	border-radius: var(--gc-radius-md);
	box-shadow: var(--gc-shadow-card);
	overflow: hidden;
}

.product-card-media {
	position: relative;
	height: 220px;
	overflow: hidden;
	background: linear-gradient(-128deg, var(--gc-blue-light) 15%, var(--gc-bg) 85%);
}
.product-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/* Real product photography (vs. a full-bleed lifestyle shot) reads better
   uncropped on the gradient backdrop, like a catalogue listing. */
.product-card-media.is-photo img { object-fit: contain; padding: 20px; }
.product-card-media .badge {
	position: absolute;
	top: 16px;
	left: 16px;
}

.product-card-content {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 24px;
}

.product-card-category {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	color: var(--gc-blue-dark);
}

.product-card-title {
	margin: 0;
	font-family: var(--gc-font-heading);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--gc-ink);
}

.rating-row { display: flex; align-items: center; gap: 6px; }
.rating-row .stars { display: flex; gap: 2px; color: var(--gc-accent); }
.rating-row .stars svg { width: 14px; height: 14px; fill: currentColor; }
.rating-row .review-count { font-size: 12px; color: var(--gc-muted); }

.price-row { display: flex; align-items: baseline; gap: 8px; }
.price-row .price-current {
	font-family: var(--gc-font-heading);
	font-size: 18px;
	font-weight: 800;
	color: var(--gc-ink);
}
.price-row .price-original {
	font-size: 13px;
	color: var(--gc-muted);
	text-decoration: line-through;
}

.product-card .btn-primary { width: 100%; margin-top: 6px; }

/* -----------------------------------------------------------------------
   Breadcrumb
----------------------------------------------------------------------- */
.gc-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	font-size: 13px;
	color: var(--gc-muted);
	margin-bottom: 24px;
}
.gc-breadcrumb a { color: var(--gc-muted); }
.gc-breadcrumb a:hover { color: var(--gc-blue-dark); }
.gc-breadcrumb .sep { opacity: 0.5; }

/* -----------------------------------------------------------------------
   Tabs (product description / additional info / reviews)
----------------------------------------------------------------------- */
.gc-tabs-nav,
.woocommerce-tabs ul.tabs {
	display: flex;
	gap: 8px;
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	border-bottom: 1px solid var(--gc-blue-light);
}
.gc-tabs-nav li,
.woocommerce-tabs ul.tabs li {
	margin: 0;
}
.gc-tabs-nav a,
.woocommerce-tabs ul.tabs li a {
	display: inline-block;
	padding: 12px 4px;
	margin-right: 24px;
	font-size: 14px;
	font-weight: 600;
	color: var(--gc-muted);
	border-bottom: 2px solid transparent;
}
.woocommerce-tabs ul.tabs li.active a,
.gc-tabs-nav a.active {
	color: var(--gc-blue-dark);
	border-bottom-color: var(--gc-blue);
}

/* -----------------------------------------------------------------------
   Simple flexbox table (used for order/meta style layouts)
----------------------------------------------------------------------- */
.gc-table { width: 100%; border-collapse: collapse; }
.gc-table th, .gc-table td {
	text-align: left;
	padding: 12px 16px;
	border-bottom: 1px solid var(--gc-blue-light);
	font-size: 14px;
}
.gc-table th { font-family: var(--gc-font-heading); font-weight: 700; color: var(--gc-ink); }

/* -----------------------------------------------------------------------
   Content area defaults (posts / pages)
----------------------------------------------------------------------- */
.entry-content { font-size: 16px; line-height: 1.7; }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content img { border-radius: var(--gc-radius-md); }

.entry-header { margin-bottom: 24px; }
.entry-title { margin-bottom: 0.3em; }
.entry-meta { font-size: 13px; color: var(--gc-muted); }

.page-hero {
	padding: 64px 0 32px;
	text-align: center;
}

/* -----------------------------------------------------------------------
   Home page — hero
----------------------------------------------------------------------- */
.hero-home {
	position: relative;
	padding: 156px 0 96px;
	overflow: hidden;
	background: var(--gc-bg);
	text-align: center;
}
.hero-home::before {
	content: "";
	position: absolute;
	inset: -10% -10% auto -10%;
	height: 640px;
	background: radial-gradient(ellipse 60% 55% at 50% 0%, rgba(91,167,219,0.22) 0%, rgba(91,167,219,0) 100%);
	pointer-events: none;
}
.hero-home-inner { position: relative; z-index: 1; max-width: 760px; margin-inline: auto; }
.hero-home .badge { margin-bottom: 20px; }
.hero-home h1 { margin-bottom: 0.4em; }
.hero-home-sub {
	font-size: 18px;
	line-height: 1.6;
	color: var(--gc-muted);
	max-width: 560px;
	margin: 0 auto 32px;
}
.hero-home-actions { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-home-actions .btn { padding: 14px 28px; font-size: 15px; }

.hero-stats {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 40px;
	flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat-num {
	display: block;
	font-family: var(--gc-font-heading);
	font-size: 28px;
	font-weight: 800;
	color: var(--gc-ink);
}
.hero-stat-label { font-size: 13px; color: var(--gc-muted); }

/* -----------------------------------------------------------------------
   Generic section scaffolding
----------------------------------------------------------------------- */
.gc-section { padding: 88px 0; }
.gc-section--tight { padding: 56px 0; }
.gc-section--alt { background: var(--gc-bg); }

.section-header { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-header .badge { margin-bottom: 16px; }
.section-header h2 { margin-bottom: 0.35em; }
.section-header p { color: var(--gc-muted); font-size: 16px; margin: 0; }
.section-header--start { margin-inline: 0; text-align: left; }

/* -----------------------------------------------------------------------
   Verticals grid — "one account, six worlds"
----------------------------------------------------------------------- */
.vertical-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
/* Two-up layout for pages with only a couple of destination cards (e.g.
   the "Join The Movement" hub) — mirrors .benefit-grid--3's cap-and-centre. */
.vertical-grid--2 {
	grid-template-columns: repeat(2, 1fr);
	max-width: 760px;
	margin-inline: auto;
}
.vertical-card {
	display: flex;
	flex-direction: column;
	background: var(--gc-white);
	border-radius: var(--gc-radius-md);
	box-shadow: var(--gc-shadow-card);
	overflow: hidden;
	transition: transform 0.2s cubic-bezier(0.34, 1.4, 0.5, 1), box-shadow 0.2s ease;
}
.vertical-card:hover {
	transform: translateY(-4px);
	box-shadow: 0px 16px 36px -10px rgba(20, 33, 43, 0.18);
}
.vertical-card-media { aspect-ratio: 4 / 3; overflow: hidden; }
.vertical-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}
.vertical-card:hover .vertical-card-media img { transform: scale(1.08); }
.vertical-card-body {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 22px 24px 24px;
	flex: 1 1 auto;
}
.vertical-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: var(--gc-radius-sm);
	background: linear-gradient(-135deg, var(--gc-blue) 15%, var(--gc-blue-dark) 85%);
	color: var(--gc-white);
	flex-shrink: 0;
}
.vertical-icon svg { width: 26px; height: 26px; }
.vertical-card h3 { margin: 0; }
.vertical-card p { margin: 0; color: var(--gc-muted); font-size: 14px; line-height: 1.55; flex: 1 1 auto; }
.vertical-card-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--gc-blue-dark);
}
.vertical-card-link svg { width: 14px; height: 14px; transition: transform 0.15s ease; }
.vertical-card:hover .vertical-card-link svg { transform: translateX(3px); }

/* -----------------------------------------------------------------------
   Feature banner — two-column highlight, alternating sides
----------------------------------------------------------------------- */
.feature-banner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: center;
}
.feature-banner + .feature-banner { margin-top: 72px; }
.feature-banner--reverse .feature-banner-media { order: 2; }
.feature-banner-media {
	aspect-ratio: 4 / 3;
	border-radius: var(--gc-radius-md);
	background: linear-gradient(-128deg, var(--gc-blue-light) 15%, var(--gc-bg) 85%);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.feature-banner-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.feature-banner:hover .feature-banner-media img { transform: scale(1.06); }
.feature-banner-media .logo-mark { width: 88px; height: 88px; border-radius: var(--gc-radius-md); }
.feature-banner-media .logo-mark svg { width: 44px; height: 44px; }
.feature-banner-content .badge { margin-bottom: 16px; }
.feature-banner-content h3 { font-size: clamp(1.4rem, 1.2rem + 0.6vw, 1.8rem); margin-bottom: 0.5em; }
.feature-banner-content p { color: var(--gc-muted); margin-bottom: 24px; }
.feature-banner-list { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.feature-banner-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--gc-ink); }
.feature-banner-list svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--gc-blue-dark); margin-top: 1px; }

/* -----------------------------------------------------------------------
   Benefit grid — "why one Gencore account"
----------------------------------------------------------------------- */
.benefit-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
/* Fewer-than-4 layouts (e.g. Revyve's 3 mechanism cards) — cap the row width
   and center it instead of stretching/left-aligning across all 4 columns. */
.benefit-grid--3 {
	grid-template-columns: repeat(3, 1fr);
	max-width: 900px;
	margin-inline: auto;
}
.benefit-card {
	padding: 24px;
	border-radius: var(--gc-radius-md);
	background: var(--gc-white);
	border: 1px solid var(--gc-blue-light);
}
.benefit-card .vertical-icon { width: 40px; height: 40px; margin-bottom: 14px; background: var(--gc-blue-light); color: var(--gc-blue-dark); }
.benefit-card .vertical-icon svg { width: 20px; height: 20px; }
.benefit-card h4 { margin: 0 0 6px; font-size: 15px; }
.benefit-card p { margin: 0; font-size: 13px; color: var(--gc-muted); line-height: 1.5; }

/* Media variant — a photo strip above the icon/title/desc, opt-in via this
   modifier so plain .benefit-card usages (e.g. the homepage) are untouched. */
.benefit-card.benefit-card--media { padding: 0; overflow: hidden; }
.benefit-card--media .benefit-card-media { aspect-ratio: 16 / 9; overflow: hidden; }
.benefit-card--media .benefit-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.benefit-card--media:hover .benefit-card-media img { transform: scale(1.08); }
.benefit-card--media .benefit-card-content { padding: 20px 24px 24px; }

/* -----------------------------------------------------------------------
   Events strip
----------------------------------------------------------------------- */
.events-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.event-card { border-radius: var(--gc-radius-md); background: var(--gc-white); box-shadow: var(--gc-shadow-card); overflow: hidden; }
.event-card-media { aspect-ratio: 16 / 10; overflow: hidden; }
.event-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}
.event-card:hover .event-card-media img { transform: scale(1.08); }
.event-card-body { padding: 24px; }
.event-card .badge { margin-bottom: 14px; }
.event-card-date { font-size: 12px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; color: var(--gc-blue-dark); margin-bottom: 6px; }
.event-card h4 { margin: 0 0 6px; font-size: 16px; }
.event-card p { margin: 0; font-size: 13px; color: var(--gc-muted); line-height: 1.5; }

/* -----------------------------------------------------------------------
   Social proof strip
----------------------------------------------------------------------- */
.social-proof-strip {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 48px;
	flex-wrap: wrap;
	padding: 40px 24px;
	background: var(--gc-white);
	border-radius: var(--gc-radius-md);
	box-shadow: var(--gc-shadow-card);
}
.social-proof-item { display: flex; align-items: center; gap: 12px; }
.social-proof-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--gc-blue-light);
	color: var(--gc-blue-dark);
	flex-shrink: 0;
}
.social-proof-icon svg { width: 18px; height: 18px; }
.social-proof-count { display: block; font-family: var(--gc-font-heading); font-size: 18px; font-weight: 800; color: var(--gc-ink); line-height: 1.1; }
.social-proof-label { font-size: 12px; color: var(--gc-muted); }

/* -----------------------------------------------------------------------
   CTA banner
----------------------------------------------------------------------- */
.cta-banner {
	position: relative;
	overflow: hidden;
	padding: 64px;
	border-radius: var(--gc-radius-md);
	background: linear-gradient(-135deg, var(--gc-cta-start) 15%, var(--gc-cta-end) 85%);
	color: var(--gc-white);
	text-align: center;
}
.cta-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 55% 65% at 85% 15%, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 100%);
	pointer-events: none;
}
.cta-banner-inner { position: relative; z-index: 1; max-width: 560px; margin-inline: auto; }
.cta-banner h2 { color: var(--gc-white); margin-bottom: 0.4em; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 28px; }
.cta-banner .btn-primary { background: var(--gc-white); color: var(--gc-blue-dark); box-shadow: none; }
.cta-banner .btn-primary:hover { background: var(--gc-white); color: var(--gc-blue-dark); opacity: 0.92; }

@media (max-width: 960px) {
	.vertical-grid { grid-template-columns: repeat(2, 1fr); }
	.benefit-grid { grid-template-columns: repeat(2, 1fr); }
	.events-strip { grid-template-columns: 1fr; }
	.feature-banner { grid-template-columns: 1fr; gap: 28px; }
	.feature-banner--reverse .feature-banner-media { order: 0; }
	.hero-home { padding: 132px 0 72px; }
	.cta-banner { padding: 48px 28px; }
}
@media (max-width: 640px) {
	.vertical-grid { grid-template-columns: 1fr; gap: 14px; }
	.benefit-grid { grid-template-columns: 1fr; gap: 12px; }
	.hero-stats { gap: 20px 24px; }
	.gc-section { padding: 52px 0; }
	.gc-section--tight { padding: 38px 0; }
	.gc-tabs-nav,
	.woocommerce-tabs ul.tabs { flex-wrap: wrap; row-gap: 0; margin-bottom: 18px; }
	.gc-tabs-nav a,
	.woocommerce-tabs ul.tabs li a { margin-right: 12px; padding: 10px 2px; font-size: 13.5px; }

	.page-hero { padding: 40px 0 24px; }
	.section-header { margin-bottom: 28px; }
	.section-header .badge { margin-bottom: 10px; }
	.section-header p { font-size: 14.5px; line-height: 1.5; }

	.hero-home { padding: 96px 0 56px; }
	.hero-home::before { display: none; }
	.hero-home .badge { margin-bottom: 14px; }
	.hero-home-sub { font-size: 15px; margin-bottom: 22px; }
	.hero-home-actions { gap: 10px; margin-bottom: 28px; }
	.hero-home-actions .btn { flex: 1 1 100%; min-height: 44px; padding: 12px 20px; font-size: 14.5px; }
	.hero-stat-num { font-size: 22px; }
	.hero-stat-label { font-size: 12px; }

	.product-grid { gap: 14px; }
	.product-card-media { height: 150px; }
	.product-card-media.is-photo img { padding: 12px; }
	.product-card-media .badge { top: 10px; left: 10px; }
	.product-card-content { padding: 16px; }
	.product-card-title { font-size: 15.5px; }

	.vertical-card-media { aspect-ratio: 16 / 9; }
	.vertical-card-body { gap: 10px; padding: 16px 18px 18px; }
	.vertical-icon { width: 42px; height: 42px; }
	.vertical-icon svg { width: 21px; height: 21px; }

	.benefit-card { padding: 18px; }
	.benefit-card--media .benefit-card-content { padding: 16px 18px 18px; }

	.feature-banner { gap: 20px; }
	.feature-banner + .feature-banner { margin-top: 36px; }
	.feature-banner-media { aspect-ratio: 16 / 9; }
	.feature-banner-media .logo-mark { width: 64px; height: 64px; }
	.feature-banner-media .logo-mark svg { width: 32px; height: 32px; }
	.feature-banner-content p { margin-bottom: 16px; }
	.feature-banner-list { margin-bottom: 20px; gap: 8px; }

	.events-strip { gap: 14px; }
	.event-card-media { aspect-ratio: 16 / 9; }
	.event-card-body { padding: 18px; }
	.event-card .badge { margin-bottom: 10px; }

	.social-proof-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 20px 16px; }
	.social-proof-item { gap: 10px; }
	.social-proof-icon { width: 34px; height: 34px; }
	.social-proof-icon svg { width: 16px; height: 16px; }
	.social-proof-count { font-size: 16px; }

	.cta-banner { padding: 32px 20px; }
	.cta-banner::before { display: none; }
	.cta-banner p { margin-bottom: 20px; }

	.entry-header { margin-bottom: 18px; }
	.gc-breadcrumb { margin-bottom: 16px; font-size: 12.5px; }
	.gc-table th, .gc-table td { padding: 10px 12px; font-size: 13.5px; }
}
@media (max-width: 480px) {
	.gc-section { padding: 44px 0; }
	.gc-section--tight { padding: 32px 0; }
	.section-header { margin-bottom: 24px; }
	.hero-home { padding: 84px 0 44px; }
	.social-proof-strip { gap: 10px; padding: 16px 14px; }
	.cta-banner { padding: 26px 16px; }
}

/* -----------------------------------------------------------------------
   Home page motion — scroll reveal, ambient drift, hover flourishes.
   All disabled under prefers-reduced-motion (see bottom of this block).
----------------------------------------------------------------------- */
[data-reveal] {
	opacity: 0;
	transform: translateY(28px);
	transition:
		opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms),
		transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms);
	will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@keyframes gc-blob-breathe {
	0%, 100% { transform: scale(1); opacity: 1; }
	50% { transform: scale(1.1); opacity: 0.85; }
}
.hero-home::before { animation: gc-blob-breathe 9s ease-in-out infinite; }

@keyframes gc-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-10px); }
}
.feature-banner-media .logo-mark { animation: gc-float 4.5s ease-in-out infinite; }

.vertical-icon {
	transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.5, 1), background 0.2s ease;
}
.vertical-card:hover .vertical-icon { transform: scale(1.1) rotate(-6deg); }

.benefit-card .vertical-icon:hover,
.benefit-card:hover .vertical-icon { transform: scale(1.1) rotate(-6deg); }

.social-proof-icon { transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.5, 1), background 0.2s ease, color 0.2s ease; }
.social-proof-item:hover .social-proof-icon {
	transform: scale(1.12);
	background: var(--gc-blue);
	color: var(--gc-white);
}

.event-card { transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.5, 1), box-shadow 0.25s ease; }
.event-card:hover { transform: translateY(-4px); box-shadow: 0px 16px 36px -10px rgba(20, 33, 43, 0.18); }
.event-card:hover .vertical-card-link svg { transform: translateX(3px); }

.cta-banner-inner .btn-primary { transition: transform 0.2s cubic-bezier(0.34, 1.4, 0.5, 1), opacity 0.2s ease; }
.cta-banner-inner .btn-primary:hover { transform: translateY(-2px) scale(1.03); }

@media (prefers-reduced-motion: reduce) {
	[data-reveal] { opacity: 1; transform: none; transition: none; }
	.hero-home::before,
	.hero-home-bg,
	.feature-banner-media .logo-mark { animation: none; }
}

/* -----------------------------------------------------------------------
   Product landing pages — ingredient grid, step-by-step, testimonials,
   quote block. Shared by verticals' product/brand pages (e.g. Revyve).
----------------------------------------------------------------------- */
.product-card-media.is-placeholder { display: flex; align-items: center; justify-content: center; }
.product-card-media.is-placeholder svg { width: 48px; height: 48px; opacity: 0.3; color: var(--gc-blue-dark); }

.section-banner {
	aspect-ratio: 21 / 6;
	border-radius: var(--gc-radius-md);
	overflow: hidden;
	margin-bottom: 40px;
}
.section-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ingredient-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.ingredient-card { padding: 20px; border-radius: var(--gc-radius-md); background: var(--gc-white); border: 1px solid var(--gc-blue-light); }
.ingredient-number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--gc-blue-light);
	color: var(--gc-blue-dark);
	font-family: var(--gc-font-heading);
	font-weight: 800;
	font-size: 13px;
	margin-bottom: 12px;
}
.ingredient-card h4 { margin: 0 0 6px; font-size: 14px; }
.ingredient-card p { margin: 0; font-size: 12.5px; color: var(--gc-muted); line-height: 1.5; }

.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card { border-radius: var(--gc-radius-md); background: var(--gc-white); box-shadow: var(--gc-shadow-card); overflow: hidden; }
.step-card-media { aspect-ratio: 4 / 3; overflow: hidden; }
.step-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.step-card:hover .step-card-media img { transform: scale(1.08); }
.step-card-content { padding: 20px 24px 24px; }
.step-number { font-family: var(--gc-font-heading); font-weight: 800; font-size: 34px; color: var(--gc-blue-light); line-height: 1; margin-bottom: 10px; }
.step-card h4 { margin: 0 0 6px; font-size: 15px; }
.step-card p { margin: 0; font-size: 13px; color: var(--gc-muted); line-height: 1.5; }

.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.testimonial-card { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--gc-radius-md); background: var(--gc-white); box-shadow: var(--gc-shadow-card); }
.testimonial-quote { margin: 0; font-size: 14px; color: var(--gc-ink); line-height: 1.6; }
.testimonial-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--gc-muted); }
.testimonial-person { display: flex; align-items: center; gap: 10px; }
.testimonial-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
/* Initials variant for testimonials with no real customer photo on file —
   same gradient treatment as .quote-avatar, scaled to testimonial size. */
.testimonial-avatar-initial {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: linear-gradient(-135deg, var(--gc-blue) 15%, var(--gc-blue-dark) 85%);
	color: var(--gc-white);
	font-family: var(--gc-font-heading);
	font-weight: 800;
	font-size: 12px;
	flex-shrink: 0;
}
.testimonial-name { font-weight: 700; color: var(--gc-ink); }

.quote-block { display: flex; gap: 20px; align-items: flex-start; padding: 32px; border-radius: var(--gc-radius-md); background: var(--gc-blue-light); }
.quote-avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: linear-gradient(-135deg, var(--gc-blue) 15%, var(--gc-blue-dark) 85%);
	color: var(--gc-white);
	font-family: var(--gc-font-heading);
	font-weight: 800;
	flex-shrink: 0;
}
.quote-block blockquote { margin: 0 0 10px; font-size: 15px; line-height: 1.6; color: var(--gc-ink); font-style: italic; }
.quote-cite { font-size: 13px; font-weight: 700; color: var(--gc-blue-dark); }
.quote-avatar { object-fit: cover; }

/* Hero with a background photo (e.g. Revyve) instead of the plain gradient
   used on the homepage hero — isolated behind --photo so .hero-home itself
   is untouched. */
.hero-home--photo { background: var(--gc-ink); padding-top: 220px; }
.hero-home--photo::before { display: none; }
.hero-home-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
	animation: gc-hero-zoom 22s ease-in-out infinite alternate;
}
@keyframes gc-hero-zoom {
	from { transform: scale(1); }
	to { transform: scale(1.09); }
}
.hero-home-overlay {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(180deg, rgba(20,33,43,0.35) 0%, rgba(20,33,43,0.82) 100%);
}
.hero-home--photo h1,
.hero-home--photo .hero-stat-num { color: var(--gc-white); }
.hero-home--photo .hero-home-sub,
.hero-home--photo .hero-stat-label { color: rgba(255,255,255,0.78); }

/* -----------------------------------------------------------------------
   Hero carousel — rotates the homepage hero through each vertical's own
   photo, headline and CTA. Builds on .hero-home--photo above rather than
   duplicating the photo/overlay treatment.
----------------------------------------------------------------------- */
.hero-carousel { padding: 40px 0 0; }
.hero-carousel--full { width: 100vw; margin-left: calc(50% - 50vw); max-width: 100vw; }
/* Edge to edge: remove the inner content cap so slides fill the full width. */
.hero-carousel--full .gc-container { max-width: none; }
/* Widget use: no page-header offset, so drop the top padding that would
   otherwise expose the dark section background as a bar above the slide. */
.hero-carousel--widget { padding-top: 0; }
.hero-carousel-track { position: relative; height: 640px; overflow: hidden; }
.hero-slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.9s ease, visibility 0s linear 0.9s;
	z-index: 0;
}
.hero-slide.is-active {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.9s ease;
	z-index: 1;
}
.hero-slide .hero-home-inner { padding-top: 96px; width: 100%; }
/* Force the slide photo to fill: an absolutely-positioned <img> with height:auto
   (the theme's global img reset) collapses to its intrinsic size and ignores the
   bottom inset, so it sits in the top half on tall/portrait mobile slides. This
   descendant selector outweighs the global img rule. */
.hero-slide .hero-home-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide .hero-home-bg { animation: none; }
.hero-slide.is-active .hero-home-bg { animation: gc-hero-zoom 9s ease-in-out infinite alternate; }

.hero-carousel-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255,255,255,0.14);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: var(--gc-white);
	border: none;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}
.hero-carousel-arrow:hover { background: rgba(255,255,255,0.28); transform: translateY(-50%) scale(1.06); }
.hero-carousel-arrow svg { width: 20px; height: 20px; }
.hero-carousel-prev { left: 24px; }
.hero-carousel-next { right: 24px; }

.hero-carousel-dots {
	position: absolute;
	bottom: 28px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	display: flex;
	gap: 8px;
}
.hero-carousel-dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(255,255,255,0.4);
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}
.hero-carousel-dot:hover { background: rgba(255,255,255,0.7); }
.hero-carousel-dot.is-active { background: var(--gc-white); transform: scale(1.35); }

@media (max-width: 960px) {
	.hero-carousel { padding-top: 28px; }
	.hero-carousel--widget { padding-top: 0; }
	.hero-carousel-track { height: 500px; }
	.hero-carousel-arrow { display: none; }
}
@media (max-width: 640px) {
	.hero-carousel { padding-top: 20px; }
	.hero-carousel--widget { padding-top: 0; }
	.hero-carousel-track { height: 480px; }
	.hero-slide .hero-home-inner { padding-top: 32px; }
	.hero-slide .hero-home-actions { margin-bottom: 0; }
	.hero-slide .hero-home-bg { animation: none; }
	.hero-slide.is-active .hero-home-bg { animation: none; }
	.hero-carousel-dots { bottom: 14px; }
}
@media (max-width: 480px) {
	.hero-carousel-track { height: 460px; }
	.hero-slide .hero-home-inner { padding-top: 24px; }
}

@media (prefers-reduced-motion: reduce) {
	.hero-slide { transition: none; }
	.hero-slide.is-active .hero-home-bg { animation: none; }
}

.cta-banner .btn-secondary { background: rgba(255,255,255,0.16); color: var(--gc-white); }
.cta-banner .btn-secondary:hover { background: rgba(255,255,255,0.26); color: var(--gc-white); }
.cta-banner-actions { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

@media (max-width: 960px) {
	.ingredient-grid { grid-template-columns: repeat(3, 1fr); }
	.step-grid { grid-template-columns: repeat(2, 1fr); }
	.testimonial-grid { grid-template-columns: 1fr; }
	.section-banner { aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
	.ingredient-grid { grid-template-columns: repeat(2, 1fr); }
	.step-grid { grid-template-columns: 1fr; }
	.quote-block { flex-direction: column; }
}

/* -----------------------------------------------------------------------
   Legal / long-form text pages — gc-container is full width, so prose
   needs its own reading-width cap (same pattern as .hero-home-inner /
   .section-header) rather than stretching edge to edge.
----------------------------------------------------------------------- */
.legal-content { max-width: 780px; margin: 0 auto; }
.legal-content h2 { margin-top: 1.6em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content ul { padding-left: 1.2em; }
.legal-content .legal-updated { font-size: 13px; color: var(--gc-muted); margin-bottom: 2.4em; }

/* -----------------------------------------------------------------------
   FAQ accordion
----------------------------------------------------------------------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--gc-white); border-radius: var(--gc-radius-md); box-shadow: var(--gc-shadow-card); overflow: hidden; }
.faq-item summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 24px;
	font-family: var(--gc-font-heading);
	font-weight: 700;
	font-size: 15px;
	color: var(--gc-ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-icon { flex-shrink: 0; width: 20px; height: 20px; color: var(--gc-blue-dark); transition: transform 0.2s ease; }
.faq-item[open] summary .faq-icon { transform: rotate(45deg); }
.faq-item-body { padding: 0 24px 22px; font-size: 14px; line-height: 1.6; color: var(--gc-muted); }

/* -----------------------------------------------------------------------
   Contact page — form + details side panel
----------------------------------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: start; }
.contact-form-panel,
.contact-info-panel { background: var(--gc-white); border-radius: var(--gc-radius-md); box-shadow: var(--gc-shadow-card); padding: 32px; }
.contact-info-panel h3 { margin: 0 0 16px; font-size: 16px; }
.contact-info-panel h3 + h3 { margin-top: 28px; }
.contact-info-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-info-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--gc-ink); line-height: 1.5; }
.contact-info-list svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--gc-blue-dark); margin-top: 1px; }
.contact-social { display: flex; gap: 10px; }
.contact-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--gc-blue-light);
	color: var(--gc-blue-dark);
	flex-shrink: 0;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.contact-social a:hover { background: var(--gc-blue); color: var(--gc-white); transform: translateY(-2px); }
.contact-social svg { width: 16px; height: 16px; }

/* -----------------------------------------------------------------------
   Photo gallery grid (e.g. Customs Gallery) — real tiles mixed with an
   honest "coming soon" placeholder tile rather than repeating the same
   photo to fake a fuller grid.
----------------------------------------------------------------------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gallery-tile { position: relative; aspect-ratio: 4 / 3; border-radius: var(--gc-radius-md); overflow: hidden; background: linear-gradient(-128deg, var(--gc-blue-light) 15%, var(--gc-bg) 85%); }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.gallery-tile:hover img { transform: scale(1.08); }
.gallery-tile-caption {
	position: absolute;
	inset: auto 0 0 0;
	padding: 14px 16px;
	background: linear-gradient(0deg, rgba(20,33,43,0.78) 0%, rgba(20,33,43,0) 100%);
	color: var(--gc-white);
	font-size: 13px;
	font-weight: 600;
}
.gallery-tile.is-placeholder { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; color: var(--gc-blue-dark); }
.gallery-tile.is-placeholder svg { width: 32px; height: 32px; opacity: 0.35; }
.gallery-tile.is-placeholder span { font-size: 12px; color: var(--gc-muted); text-align: center; padding: 0 12px; }

@media (max-width: 960px) {
	.gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* -----------------------------------------------------------------------
   Dose calculators (GLP-1 / Peptide)
----------------------------------------------------------------------- */
.calc-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.calc-panel { background: var(--gc-white); border-radius: var(--gc-radius-md); box-shadow: var(--gc-shadow-card); padding: 32px; }
.calc-panel h3 { margin: 0 0 20px; font-size: 16px; }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.calc-result {
	margin-top: 8px;
	padding: 24px;
	border-radius: var(--gc-radius-md);
	background: var(--gc-blue-light);
	text-align: center;
}
.calc-result-value { display: block; font-family: var(--gc-font-heading); font-weight: 800; font-size: 30px; color: var(--gc-blue-dark); line-height: 1.2; }
.calc-result-label { font-size: 13px; color: var(--gc-ink); }
.calc-syringe { margin-top: 20px; position: relative; height: 46px; border-radius: 999px; background: var(--gc-bg); border: 1px solid var(--gc-blue-light); overflow: hidden; }
.calc-syringe-fill { position: absolute; inset: 0 auto 0 0; width: 0%; background: linear-gradient(90deg, var(--gc-blue) 15%, var(--gc-blue-dark) 85%); transition: width 0.3s ease; }
.calc-syringe-ticks { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: center; padding: 0 6px; }
.calc-syringe-ticks span { width: 1px; height: 14px; background: rgba(20,33,43,0.15); }
.calc-disclaimer { margin-top: 20px; font-size: 12.5px; color: var(--gc-muted); line-height: 1.6; }

@media (max-width: 960px) {
	.contact-layout,
	.calc-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.calc-row { grid-template-columns: 1fr; }
	.contact-form-panel,
	.contact-info-panel,
	.calc-panel { padding: 22px 20px; }
	.contact-info-list li { overflow-wrap: anywhere; }
}

/* -----------------------------------------------------------------------
   Product landing page — extra card motion (Revyve and similar pages).
   Reuses the site's existing lift/pop language (see vertical-card,
   event-card above) rather than inventing a new one.
----------------------------------------------------------------------- */

/* Scale-in variant of [data-reveal] for repeated card grids — a bit more
   lively than the plain fade/slide used for headers and one-off blocks. */
[data-reveal].reveal-pop { transform: translateY(24px) scale(0.94); }
[data-reveal].reveal-pop.is-visible { transform: translateY(0) scale(1); }

.benefit-card,
.ingredient-card,
.step-card,
.testimonial-card,
.product-card {
	transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.5, 1), box-shadow 0.25s ease, border-color 0.2s ease;
}
.benefit-card:hover,
.ingredient-card:hover,
.step-card:hover,
.testimonial-card:hover,
.product-card:hover {
	transform: translateY(-6px);
	box-shadow: 0px 16px 36px -10px rgba(20, 33, 43, 0.18);
}
.benefit-card:hover,
.ingredient-card:hover { border-color: var(--gc-blue-light); }

.ingredient-number { transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.5, 1), background 0.2s ease, color 0.2s ease; }
.ingredient-card:hover .ingredient-number { transform: scale(1.15) rotate(-8deg); background: var(--gc-blue); color: var(--gc-white); }

.step-number { transition: color 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.4, 0.5, 1); }
.step-card:hover .step-number { color: var(--gc-blue); transform: translateX(3px); }

.testimonial-avatar,
.testimonial-avatar-initial { transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.5, 1); }
.testimonial-card:hover .testimonial-avatar,
.testimonial-card:hover .testimonial-avatar-initial { transform: scale(1.1); }

.testimonial-card .stars svg,
.product-card .stars svg { transition: transform 0.2s ease; }
.testimonial-card:hover .stars svg,
.product-card:hover .stars svg { transform: scale(1.12); }

.product-card-media.is-placeholder svg { transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.5, 1); }
.product-card:hover .product-card-media.is-placeholder svg { transform: scale(1.1) rotate(-4deg); }

@media (prefers-reduced-motion: reduce) {
	.benefit-card,
	.ingredient-card,
	.step-card,
	.testimonial-card,
	.product-card,
	.ingredient-number,
	.step-number,
	.testimonial-avatar,
	.testimonial-card .stars svg,
	.product-card .stars svg,
	.product-card-media.is-placeholder svg { transition: none; }
}

/* -----------------------------------------------------------------------
   Shared CTA modal + inline embed (see inc/gc-cta.php, assets/js/gc-modal.js)
----------------------------------------------------------------------- */
.gc-modal[hidden] { display: none; }
.gc-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.gc-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(20, 33, 43, 0.55);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	animation: gc-modal-fade 0.2s ease;
}
.gc-modal__dialog {
	position: relative;
	width: 100%;
	max-width: 560px;
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	background: var(--gc-white, #fff);
	color: var(--gc-ink, #14212b);
	border-radius: var(--gc-radius-md, 16px);
	box-shadow: var(--gc-shadow-card, 0 20px 50px -12px rgba(20, 33, 43, 0.35));
	padding: 32px;
	animation: gc-modal-rise 0.24s cubic-bezier(0.34, 1.4, 0.5, 1);
}
.gc-modal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	line-height: 1;
	color: var(--gc-muted, #5a6b75);
	background: transparent;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.gc-modal__close:hover { background: var(--gc-blue-light, #eaf3fa); color: var(--gc-ink, #14212b); }
.gc-modal__body > :first-child { margin-top: 0; }
.gc-modal__body > :last-child { margin-bottom: 0; }

.gc-embed { width: 100%; }
.gc-embed--empty { color: var(--fa-panel-text, #14212B); font-size: 15px; line-height: 1.6; }
.gc-embed--empty p { margin: 0 0 12px; }
.gc-embed--empty p:last-child { margin-bottom: 0; }
.gc-embed--empty a { color: var(--fa-accent-dark, #3D82B3); font-weight: 600; }

body.gc-modal-lock { overflow: hidden; }

@keyframes gc-modal-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes gc-modal-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (max-width: 640px) {
	.gc-modal { padding: 12px; }
	.gc-modal__dialog { padding: 22px 18px; max-height: calc(100vh - 24px); }
	.gc-modal__close { top: 8px; right: 8px; width: 40px; height: 40px; }
	.gc-modal__backdrop { backdrop-filter: none; -webkit-backdrop-filter: none; }
}

@media (prefers-reduced-motion: reduce) {
	.gc-modal__backdrop,
	.gc-modal__dialog { animation: none; }
}

@media (max-width: 640px) {
	.hero-home--photo { padding-top: 120px; }
	.section-banner { margin-bottom: 24px; }
	.ingredient-grid { gap: 12px; }
	.ingredient-card { padding: 14px; }
	.ingredient-number { width: 28px; height: 28px; margin-bottom: 9px; }
	.step-grid { gap: 14px; }
	.step-card-media { aspect-ratio: 16 / 9; }
	.step-card-content { padding: 16px 18px 18px; }
	.step-number { font-size: 26px; margin-bottom: 7px; }
	.testimonial-grid { gap: 12px; }
	.testimonial-card { gap: 10px; padding: 18px; }
	.quote-block { gap: 14px; padding: 20px; }
	.quote-avatar { width: 46px; height: 46px; }
	.faq-list { gap: 10px; }
	.faq-item summary { padding: 16px 18px; gap: 12px; font-size: 14.5px; }
	.faq-item-body { padding: 0 18px 18px; }
	.gallery-tile-caption { padding: 10px 12px; font-size: 12px; }
	.gallery-tile.is-placeholder span { font-size: 11px; }
	.contact-layout, .calc-layout { gap: 16px; }
	.contact-info-panel h3 + h3 { margin-top: 20px; }
	.contact-info-list { gap: 12px; }
	.calc-panel h3 { margin-bottom: 14px; }
	.calc-result { padding: 18px; }
	.calc-result-value { font-size: 25px; }
	.calc-syringe { margin-top: 14px; height: 38px; }
	.calc-disclaimer { margin-top: 14px; }
	.cta-banner-actions { gap: 10px; }
	.cta-banner-actions .btn { flex: 1 1 100%; min-height: 44px; }
	.feature-banner-media .logo-mark { animation: none; }
}
@media (max-width: 480px) {
	.hero-home--photo { padding-top: 104px; }
	.quote-block { padding: 18px 16px; }
	.gc-modal { padding: 10px; }
	.gc-modal__dialog { padding: 20px 16px; max-height: calc(100vh - 20px); }
}

/* ---- Shared section background fade ----
   Painted on its own layer rather than as the section's background, because a
   section is only as wide as the container it was dropped into. The layer is a
   viewport-wide box centred on the section, so the fade runs edge to edge even
   inside a padded container. The clear stops are the paint colour mixed to nothing
   rather than the transparent keyword, which would drag the ramp through
   transparent black. Each widget sets --gcf-bg to its own background colour. */

.gc-bgfade {
	--gcf-center: 50%;
	--gcf-offset: 0px;
	--gcf-band: 72%;
	--gcf-soft: 14%;
	--gcf-reach: 50%;
	--gcf-top: 14%;
	--gcf-bottom: 14%;
	--gcf-opacity: 100%;
	--gcf-tint: var(--gcf-color, var(--gcf-bg, transparent));
	--gcf-paint: color-mix(in srgb, var(--gcf-tint) var(--gcf-opacity), transparent);
	--gcf-clear: color-mix(in srgb, var(--gcf-tint), transparent 100%);
	--gcf-c: calc(var(--gcf-center) + var(--gcf-offset));
	position: relative;
	background-color: transparent;
}

.gc-bgfade::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 100vw;
	transform: translateX(-50%);
	z-index: 0;
	pointer-events: none;
	background-repeat: no-repeat;
}

.gc-bgfade > * {
	position: relative;
	z-index: 1;
}

.gc-bgfade--band::before {
	--gcf-half: calc(var(--gcf-band) / 2);
	background-image: linear-gradient(
		to bottom,
		var(--gcf-clear) 0,
		var(--gcf-clear) calc(var(--gcf-c) - var(--gcf-half) - var(--gcf-soft)),
		var(--gcf-paint) calc(var(--gcf-c) - var(--gcf-half)),
		var(--gcf-paint) calc(var(--gcf-c) + var(--gcf-half)),
		var(--gcf-clear) calc(var(--gcf-c) + var(--gcf-half) + var(--gcf-soft)),
		var(--gcf-clear) 100%
	);
}

.gc-bgfade--linear::before {
	background-image: linear-gradient(
		to bottom,
		var(--gcf-clear) calc(var(--gcf-c) - var(--gcf-reach)),
		var(--gcf-paint) var(--gcf-c),
		var(--gcf-clear) calc(var(--gcf-c) + var(--gcf-reach))
	);
}

.gc-bgfade--edges::before {
	background-image: linear-gradient(
		to bottom,
		var(--gcf-clear) 0,
		var(--gcf-paint) var(--gcf-top),
		var(--gcf-paint) calc(100% - var(--gcf-bottom)),
		var(--gcf-clear) 100%
	);
}

/* Flat paint on the same full-bleed layer, for a section that wants its background
   to reach the viewport edges without any fade. */
.gc-bgfade--flat::before {
	background-image: linear-gradient(var(--gcf-paint), var(--gcf-paint));
}

/* Search results: type-aware rows. A page or product must not read as a blog
   post, so nothing here carries a publish date or a Read More button. */
.gc-sresults__count {
	margin: 6px 0 0;
	font-size: 14px;
	color: var(--gc-muted, #5A6B75);
}
.gc-sresults__form {
	margin: 18px auto 0;
	max-width: 460px;
}
.gc-sresults__form form {
	display: flex;
	gap: 8px;
}
.gc-sresults__form .search-field {
	flex: 1 1 auto;
	min-width: 0;
	padding: 11px 16px;
	border: 1px solid var(--gc-line, #E1E9EE);
	border-radius: var(--gc-radius-pill, 999px);
	background: var(--gc-white, #fff);
	font-family: var(--gc-font-body, "Inter", sans-serif);
	font-size: 14px;
	color: var(--gc-ink, #14212B);
}
.gc-sresults__form .search-field:focus {
	outline: 2px solid var(--gc-blue, #5BA7DB);
	outline-offset: 1px;
	border-color: var(--gc-blue, #5BA7DB);
}
.gc-sresults__form .search-submit {
	flex: 0 0 auto;
	padding: 11px 22px;
	border: 0;
	border-radius: var(--gc-radius-pill, 999px);
	background: linear-gradient(135deg, var(--gc-glider-start, #5BA7DB), var(--gc-glider-end, #6EC1E4));
	color: #fff;
	font-family: var(--gc-font-heading, "Manrope", sans-serif);
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
}

/* Group label, shown only when one search returns both products and pages. */
.gc-sresults__group {
	margin: 44px 0 0;
	font-family: var(--gc-font-heading, "Manrope", sans-serif);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--gc-muted, #5A6B75);
	text-align: center;
}
.gc-sresults__group:first-child {
	margin-top: 0;
}

.gc-sresults {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 34px;
}
.gc-sresult__link {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 16px 20px;
	border: 1px solid var(--gc-line, #E1E9EE);
	border-radius: var(--gc-radius-md, 16px);
	background: var(--gc-white, #fff);
	text-decoration: none;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.gc-sresult__link:hover {
	transform: translateY(-2px);
	border-color: var(--gc-blue, #5BA7DB);
	box-shadow: 0 18px 36px -26px rgba(20, 33, 43, .55);
}
.gc-sresult__link:focus-visible {
	outline: 2px solid var(--gc-blue-dark, #3D82B3);
	outline-offset: 3px;
}
.gc-sresult__media {
	flex: 0 0 auto;
	width: 72px;
	height: 72px;
	overflow: hidden;
	border-radius: var(--gc-radius-sm, 12px);
	background: var(--gc-bg, #F4F8FB);
}
.gc-sresult__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.gc-sresult__body {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 5px;
}
.gc-sresult__title {
	font-family: var(--gc-font-heading, "Manrope", sans-serif);
	font-weight: 700;
	font-size: 17px;
	line-height: 1.3;
	letter-spacing: -.015em;
	color: var(--gc-ink, #14212B);
}
.gc-sresult__meta {
	font-size: 14px;
	line-height: 1.5;
	color: var(--gc-muted, #5A6B75);
}
.gc-sresult__meta--product {
	font-family: var(--gc-font-heading, "Manrope", sans-serif);
	font-weight: 700;
	color: var(--gc-blue-dark, #3D82B3);
}
.gc-sresult__meta--product del {
	opacity: .55;
	font-weight: 600;
	margin-right: 6px;
}
.gc-sresult__meta--product ins {
	text-decoration: none;
}
.gc-sresult__go {
	flex: 0 0 auto;
	display: inline-flex;
	color: var(--gc-blue, #5BA7DB);
	transition: transform .18s ease;
}
.gc-sresult__go svg {
	width: 20px;
	height: 20px;
}
.gc-sresult__link:hover .gc-sresult__go {
	transform: translateX(3px);
}

@media (max-width: 560px) {
	.gc-sresult__link { gap: 14px; padding: 14px 16px; }
	.gc-sresult__media { width: 56px; height: 56px; }
	.gc-sresult__title { font-size: 15.5px; }
	.gc-sresults__form form { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	.gc-sresult__link, .gc-sresult__go { transition: none; }
	.gc-sresult__link:hover { transform: none; }
	.gc-sresult__link:hover .gc-sresult__go { transform: none; }
}

/* Shown in place of an excerpt when a page has no hand-written one. */
.gc-sresult__meta--path {
	font-size: 13px;
	letter-spacing: .01em;
	color: var(--gc-blue-dark, #3D82B3);
	opacity: .85;
}

/* Shared image slider (gencore_image_slider_html). Slides are stacked and
   crossfaded rather than translated, so the box keeps the height of whatever
   the host widget gives it and nothing reflows between images. */
.gc-islide { position: relative; display: block; width: 100%; height: 100%; }
.gc-islide__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity .7s ease;
}
.gc-islide__img:not(.is-on) { position: absolute; inset: 0; pointer-events: none; }
.gc-islide__img.is-on { position: relative; opacity: 1; }
.gc-islide__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0 0 3px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .88);
	color: var(--gc-ink, #14212B);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	opacity: 0;
	transition: opacity .2s ease, background .2s ease;
	box-shadow: 0 6px 16px -8px rgba(20, 33, 43, .5);
}
.gc-islide:hover .gc-islide__nav,
.gc-islide__nav:focus-visible { opacity: 1; }
.gc-islide__nav:hover { background: #fff; }
.gc-islide__nav:focus-visible { outline: 2px solid var(--gc-blue, #5BA7DB); outline-offset: 2px; }
.gc-islide__nav--prev { left: 12px; }
.gc-islide__nav--next { right: 12px; }
.gc-islide__dots {
	position: absolute;
	bottom: 12px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 7px;
}
.gc-islide__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .55);
	cursor: pointer;
	transition: background .2s ease, transform .2s ease;
}
.gc-islide__dot.is-on { background: #fff; transform: scale(1.35); }
.gc-islide__dot:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

@media (max-width: 640px) {
	.gc-islide__nav { opacity: 1; width: 32px; height: 32px; font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
	.gc-islide__img { transition: none; }
	.gc-islide__dot { transition: none; }
}
