/**
 * LumiVera custom CSS
 * Handles the two pieces of the original Webflow design that theme.json's
 * static design-token model can't express: the infinite scrolling symptom
 * "ticker" on the homepage hero, and the animated number count-up on the
 * stats section. Everything else (color, spacing, type) stays in theme.json
 * so it remains editable via the Site Editor.
 */


/* ---------------------------------------------------------------------
   Homepage hero — mobile background image
   (desktop background handled via theme.json)
--------------------------------------------------------------------- */
.home-hero {
	background-size: contain, cover;
	background-position: bottom right, center center;
	background-repeat: no-repeat, no-repeat;
	background-image: url("/wp-content/uploads/2026/07/home_hero_mobile.webp"), url("/wp-content/uploads/2026/07/hero_sky.webp");
}

/* ---------------------------------------------------------------------
   Navigation — breakpoint override
   WP navigation block defaults to 782px. Force hamburger + overlay at 895px.
   !important required to beat WP's own nav block inline styles and
   its stylesheet which loads after ours.
--------------------------------------------------------------------- */
@media (max-width: 895px) {
	.wp-block-navigation .wp-block-navigation__responsive-container-open {
		display: flex !important;
	}
	.wp-block-navigation:not(.has-modal-open) .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none !important;
	}
}

@media (min-width: 896px) {
	.wp-block-navigation .wp-block-navigation__responsive-container-open {
		display: none !important;
	}
	.wp-block-navigation:not(.has-modal-open) .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: flex !important;
	}
}

/* ---------------------------------------------------------------------
   Navigation — font weight + current-page highlight
--------------------------------------------------------------------- */
.wp-block-navigation .wp-block-navigation-item__content,
.wp-block-navigation .wp-block-navigation-item__content:hover {
	font-weight: 700;
	text-decoration: none;
}

.wp-block-navigation .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--highlight);
	text-decoration: none;
}

.wp-block-navigation .wp-block-navigation-item__content[aria-current="page"] {
	color: var(--wp--preset--color--highlight);
}

/* Mobile CTA items inside the nav block —
   !important required: WP's own navigation block styles load after this
   stylesheet and override specificity-only rules. */
.wp-block-navigation .lv-nav-mobile-cta {
	display: none !important;
}

/* Separator above the first mobile CTA */
.wp-block-navigation__responsive-container .lv-nav-mobile-cta--login {
	margin-block-start: 1.5rem;
	padding-block-start: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	width: 100%;
}

/* Base button appearance for both CTAs in the overlay */
.wp-block-navigation__responsive-container .lv-nav-mobile-cta .wp-block-navigation-item__content {
	display: block;
	border-radius: 12px;
	box-sizing: border-box;
	padding: 0.9rem 0 !important;
	text-align: center;
	font-weight: 600;
	font-size: var(--wp--preset--font-size--base);
	text-decoration: none;
	transition: transform 0.2s ease;
	width: 100%;
}

.wp-block-navigation__responsive-container .lv-nav-mobile-cta .wp-block-navigation-item__content:hover {
	transform: translateY(-3px);
	color: inherit;
}

/* Login — outline style */
.wp-block-navigation__responsive-container .lv-nav-mobile-cta--login .wp-block-navigation-item__content {
	background: transparent;
	border: 2px solid var(--wp--preset--color--lime);
	color: var(--wp--preset--color--contrast);
}

/* Start Your Intake — filled lime */
.wp-block-navigation__responsive-container .lv-nav-mobile-cta--intake .wp-block-navigation-item__content {
	background: var(--wp--preset--color--lime);
	border: 2px solid var(--wp--preset--color--lime);
	color: #000;
	margin-block-start: 0.75rem;
}

/* Hide desktop header CTAs on mobile (when hamburger is active) */
@media (max-width: 895px) {
	.lv-header-ctas {
		display: none !important;
	}

	.wp-block-navigation .lv-nav-mobile-cta {
		display: list-item !important;
	}

	.wp-block-navigation__responsive-container .lv-nav-mobile-cta {
		display: list-item !important;
		width: 100%;
	}

	.wp-block-navigation__responsive-container {
		background: var(--wp--preset--color--surface) !important;
	}

	.wp-block-navigation .wp-block-navigation-item__content {
		font-size: var(--wp--preset--font-size--huge);
	}

	.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content,
	.wp-block-navigation .wp-block-navigation-item__content[aria-current="page"] {
		outline: none;
	}
}

@media (max-width: 781px) {

	.wp-block-buttons>.wp-block-button {
		width: 100%;
	}

	.home-hero {
		background-size: auto 40%, cover !important;
		background-image: url("/wp-content/uploads/2026/07/home-hero-mobile-scaled.png"), linear-gradient(90deg, rgb(255, 255, 255) 0%, rgb(146, 194, 234) 100%) !important;
	}

	.home-hero .wp-block-columns {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}
}

/* ---------------------------------------------------------------------
   Symptom ticker (marquee)
   Markup expected (see patterns/symptom-ticker.php):
   .lumivera-ticker > .lumivera-ticker__track > .lumivera-ticker__item (x2 sets)
--------------------------------------------------------------------- */
.lumivera-ticker {
	overflow: hidden;
	width: 100%;
	border-top: 1px solid var(--wp--preset--color--secondary);
	border-bottom: 1px solid var(--wp--preset--color--secondary);
	margin-block-start: 0;
	padding-block: 0.75rem;
	background: var(--wp--preset--color--highlight);
}

.lumivera-ticker__track {
	display: flex;
	width: max-content;
	gap: 1rem;
	animation: lumivera-marquee var(--lumivera-ticker-speed, 28s) linear infinite;
}

/* Editor canvas: keep the track static so editors can read/edit item text
   without it scrolling out from under their cursor. */
.lumivera-ticker--preview .lumivera-ticker__track {
	animation: none;
	flex-wrap: wrap;
}

.lumivera-ticker:hover .lumivera-ticker__track {
	animation-play-state: paused;
}

.lumivera-ticker__item {
	white-space: nowrap;
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--medium);
	font-style: italic;
	color: var(--wp--preset--color--white);
	display: flex;
	align-items: center;
	background-color: var(--wp--preset--color--white-20);
	text-align: center;
	border-radius: 50px;
	padding: 2px 40px;
	font-weight: 400;
}

@keyframes lumivera-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
	.lumivera-ticker__track {
		animation: none;
	}
}

/* ---------------------------------------------------------------------
   Stat counters
   Markup expected (see patterns/stat-counters.php):
   <span class="lumivera-counter" data-target="70" data-suffix="M">0</span>
--------------------------------------------------------------------- */
.lumivera-stat-wrapper > .wp-block-column {
	position: relative;
}

.lumivera-stat-wrapper > .wp-block-column:not(:last-child)::after {
	content: "";
	background-color: var(--wp--preset--color--highlight);
	height: 100px;
	position: absolute;
	left: 100%;
	top: 50%;
	transform: translateY(-50%);
	width: 2px;
}

.lumivera-stat {
	text-align: center;
}

.lumivera-stat:not(:last-child)::after {
	content: "";
	display: block;
	width: 1px;
	height: 2rem;
	margin: 0 auto;
	background-color: var(--wp--preset--color--muted);
}

.lumivera-counter {
	font-family: var(--wp--preset--font-family--counter);
	font-size: var(--wp--preset--font-size--counter);
	font-weight: 400;
	color: var(--wp--preset--color--highlight);
	display: inline-block;
	font-variant-numeric: tabular-nums;
}

.lumivera-counter em {
	font-size: var(--wp--preset--font-size--counter-em);
	font-style: normal;
}

.lumivera-stat__label {
	margin-top: 0.5rem;
	color: var(--wp--preset--color--contrast);
}

@media (max-width: 781px) {
	.lumivera-stat-wrapper > .wp-block-column {		
		padding: 0 0 var(--wp--preset--spacing--70) 0 !important;
	}

	.lumivera-stat-wrapper > .wp-block-column:not(:last-child)::after {
		left: 50%;
		top: 100%;
		height: 2px;
		width: 100px;
		transform: translateX(-50%);
	}

	.lumivera-counter {
		font-size: 88px;
	}
}

/* ---------------------------------------------------------------------
   Product Grid Block (acf/product-grid)
   Supports two layout modes: scrollable_row and grid.
--------------------------------------------------------------------- */

/* Filter buttons */

.lv-pgb__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
	margin-block-end: 2rem;
}

.lv-pgb__filter {
	background: transparent;
	border: 2px solid var(--wp--preset--color--lime);
	border-radius: 12px;
	color: var(--wp--preset--color--contrast);
	cursor: pointer;
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--base);
	font-weight: 500;
	letter-spacing: 0.01em;
	padding: 0.9rem 1.75rem;
	transition: background 0.15s ease, color 0.15s ease;
	min-width: 170px;
	text-align: center;
}

@media (max-width: 781px) {
	.lv-pgb__filter {
		width: 100%;
	}
}

.lv-pgb__filter:hover {
	background: var(--wp--preset--color--lime);
	color: #000;
}

.lv-pgb__filter.is-active {
	background: var(--wp--preset--color--lime);
	color: #000;
}

/* ── 3-column grid layout ───────────────────────────────────────── */
.lv-pgb--grid .lv-pgb__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

/* ── Scrollable single-row layout ───────────────────────────────── */
.lv-pgb--scrollable_row .lv-pgb__grid {
	display: flex;
	flex-direction: row;
	gap: 1.5rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	padding-block-end: 0.75rem;
	scrollbar-width: thin;
	scrollbar-color: var(--wp--preset--color--lime) transparent;
}

.lv-pgb--scrollable_row .lv-pgb__grid::-webkit-scrollbar {
	height: 4px;
}

.lv-pgb--scrollable_row .lv-pgb__grid::-webkit-scrollbar-track {
	background: transparent;
}

.lv-pgb--scrollable_row .lv-pgb__grid::-webkit-scrollbar-thumb {
	background: var(--wp--preset--color--lime);
	border-radius: 2px;
}

.lv-pgb--scrollable_row .lv-pgb__card {
	flex: 0 0 calc(33.333% - 1rem);
	scroll-snap-align: start;
}

/* ── Card ────────────────────────────────────────────────────────── */
.lv-pgb__card {
	position: relative;
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 2px 20px rgba(31, 36, 33, 0.07);
	transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.lv-pgb__card:hover {
	box-shadow: 0 6px 32px rgba(31, 36, 33, 0.13);
	transform: translateY(-2px);
}

.lv-pgb__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

/* Image */
.lv-pgb__image {
	height: 260px;
	overflow: hidden;
	background: #f5f2ef;
	flex-shrink: 0;
}

.lv-pgb__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.lv-pgb__card:hover .lv-pgb__image img {
	transform: scale(1.03);
}

.lv-pgb__image-placeholder {
	width: 100%;
	height: 100%;
	background: var(--wp--preset--color--secondary);
}

/* Card body */
.lv-pgb__body {
	padding: 1.5rem 1.5rem 1.75rem;
	text-align: center;
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.25rem;
}

.lv-pgb__title {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--medium-large);
	font-weight: 500;
	color: var(--wp--preset--color--contrast);
	line-height: 1.2;
	margin-block-end: 0.5rem;
	margin-block-start: 0;
}

.lv-pgb__price-label {
	font-size: var(--wp--preset--font-size--small);
	font-style: italic;
	color: var(--wp--preset--color--contrast);
	margin: 0;
}

.lv-pgb__price {
	font-size: var(--wp--preset--font-size--base);
	font-weight: 700;
	color: var(--wp--preset--color--contrast);
	margin: 0;
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
	.lv-pgb--grid .lv-pgb__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.lv-pgb--scrollable_row .lv-pgb__card {
		flex: 0 0 clamp(240px, 75vw, 320px);
	}
}

@media (max-width: 540px) {
	.lv-pgb--grid .lv-pgb__grid {
		grid-template-columns: 1fr;
	}
}

/* ---------------------------------------------------------------------
   Button styles — lock visual properties on hover, lift only on Y axis
--------------------------------------------------------------------- */
.wp-block-button.is-style-primary .wp-block-button__link,
.wp-block-button.is-style-secondary .wp-block-button__link,
.wp-block-button.is-style-tertiary .wp-block-button__link {
	transition: transform 0.2s ease;
}

.wp-block-button.is-style-primary .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--lime);
	color: #000000;
	border-color: var(--wp--preset--color--lime);
	border-width: 2px;
	border-style: solid;
	border-radius: 12px;
	font-weight: 600;
	transform: translateY(-5px);
}

.wp-block-button.is-style-secondary .wp-block-button__link:hover {
	background-color: #ffffff;
	color: #000000;
	border-color: var(--wp--preset--color--lime);
	border-width: 2px;
	border-style: solid;
	border-radius: 12px;
	font-weight: 600;
	transform: translateY(-5px);
}

.wp-block-button.is-style-tertiary .wp-block-button__link:hover {
	background-color: #e2ef8a26;
	color: #000000;
	border-color: var(--wp--preset--color--lime);
	border-width: 2px;
	border-style: solid;
	border-radius: 12px;
	font-weight: 600;
	transform: translateY(-5px);
}

/* ---------------------------------------------------------------------
   Treatment teaser grid — minor hover affordance since cards link out
   to the external ordering subdomain (start.lumivera.com).
--------------------------------------------------------------------- */
.lumivera-treatment-card {
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	border-radius: var(--wp--style--root--border-radius, 12px);
}

.lumivera-treatment-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--wp--preset--shadow--card);
}

/* ---------------------------------------------------------------------
   Product Archive — /treatments/
   archive-lumivera_product.php
--------------------------------------------------------------------- */

/* Hero banner */
.lv-archive__hero {
	background: var(--wp--preset--color--surface);
	padding-block: var(--wp--preset--spacing--70, 4rem) var(--wp--preset--spacing--50, 2.5rem);
	text-align: center;
}

.lv-archive__hero-inner {
	max-width: var(--wp--style--global--content-size, 720px);
	margin-inline: auto;
	padding-inline: 1.5rem;
}

.lv-archive__hero h1 {
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--xx-large);
	font-weight: 500;
	line-height: 1.15;
	margin-block-end: 0.75rem;
}

.lv-archive__hero p {
	color: var(--wp--preset--color--contrast);
	font-size: var(--wp--preset--font-size--medium);
}

/* Filter bar */
.lv-filter-bar {
	background: var(--wp--preset--color--base);
	border-bottom: 1px solid var(--wp--preset--color--secondary);
	padding-block: 1rem;
	position: sticky;
	top: 0;
	z-index: 10;
}

.lv-filter-bar__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
	max-width: var(--wp--style--global--wide-size, 1200px);
	margin-inline: auto;
	padding-inline: 1.5rem;
}

.lv-filter-btn {
	background: transparent;
	border: 2px solid var(--wp--preset--color--lime);
	border-radius: 12px;
	color: var(--wp--preset--color--contrast);
	cursor: pointer;
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--base);
	font-weight: 600;
	padding: 0.5rem 1.25rem;
	transition: background 0.15s ease, color 0.15s ease;
}

.lv-filter-btn:hover {
	background: var(--wp--preset--color--lime);
	color: #000;
}

.lv-filter-btn.is-active {
	background: var(--wp--preset--color--lime);
	color: #000;
}

/* Grid wrapper */
.lv-products-wrap {
	max-width: var(--wp--style--global--wide-size, 1200px);
	margin-inline: auto;
	padding: var(--wp--preset--spacing--60, 3rem) 1.5rem;
}

.lv-products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5rem;
}

.lv-products-empty {
	text-align: center;
	color: var(--wp--preset--color--contrast);
	padding-block: 3rem;
}

/* Product card */
.lv-product-card {
	position: relative;
	background: var(--wp--preset--color--surface);
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.lv-product-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--wp--preset--shadow--card);
}

.lv-product-card__image img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
}

.lv-product-card__body {
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.lv-product-card__cat {
	display: inline-block;
	background: var(--wp--preset--color--lime);
	border-radius: 999px;
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	color: #000;
	padding: 0.2rem 0.75rem;
	margin-block-end: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.lv-product-card__title {
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 500;
	line-height: 1.2;
	margin-block-end: 0.5rem;
}

.lv-product-card__title a {
	color: inherit;
	text-decoration: none;
}

.lv-product-card__title a:hover {
	color: var(--wp--preset--color--primary);
}

.lv-product-card__desc {
	color: var(--wp--preset--color--contrast);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.55;
	margin-block-end: 1rem;
	flex: 1;
}

.lv-product-card__price {
	font-size: var(--wp--preset--font-size--medium);
	color: var(--wp--preset--color--contrast);
	margin-block-end: 0.15rem;
}

.lv-product-card__price strong {
	font-weight: 700;
}

.lv-product-card__price-unit {
	color: var(--wp--preset--color--contrast);
	font-weight: 400;
	font-size: var(--wp--preset--font-size--small);
}

.lv-product-card__price-note {
	font-size: var(--wp--preset--font-size--x-small);
	color: var(--wp--preset--color--contrast);
	margin-block-end: 1rem;
}

.lv-product-card__cta {
	display: inline-block;
	margin-block-start: auto;
	padding: 0.7rem 1.5rem;
	background: var(--wp--preset--color--lime);
	border: 2px solid var(--wp--preset--color--lime);
	border-radius: 12px;
	color: #000;
	font-weight: 600;
	font-size: var(--wp--preset--font-size--base);
	text-decoration: none;
	text-align: center;
	transition: background 0.15s ease, color 0.15s ease;
}

.lv-product-card__cta:hover {
	background: transparent;
	color: var(--wp--preset--color--contrast);
}

@media (max-width: 600px) {
	.lv-products-grid {
		grid-template-columns: 1fr;
	}
}

/* ---------------------------------------------------------------------
   Single Product Page  (.lv-product)
--------------------------------------------------------------------- */

/* Hero — layout handled by core/columns block; only typography overrides needed here */
.lv-product__price-block {
	margin-block-end: 2rem;
}

.lv-product__price {
	font-size: var(--wp--preset--font-size--large);
	font-weight: 700;
	color: var(--wp--preset--color--contrast);
	margin: 0;
}

.lv-product__price-unit {
	font-size: var(--wp--preset--font-size--base);
	font-weight: 400;
	color: var(--wp--preset--color--contrast);
}

.lv-product__availability {
	margin: 0.5rem 0 0;
	font-size: var(--wp--preset--font-size--base);
	color: var(--wp--preset--color--contrast);
	font-style: italic;
}

/* ── Out of stock badge ──────────────────────────────────────────── */
/* Base look, used inline on the single product page (product-price block),
   placed below the price. */
.lv-badge--out-of-stock {
	display: inline-block;
	margin-block-start: 0.5rem;
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 0.25rem 0.75rem;
	border-radius: 999px;
	margin-block-end: 0.5rem;
}

/* Corner-ribbon placement on grid/related/archive cards. */
.lv-pgb__card .lv-badge--out-of-stock,
.lv-product-card .lv-badge--out-of-stock {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	margin-block-start: 0;
	margin-block-end: 0;
}

/* Accordion content sections */
.lv-product__content-inner {
	max-width: var(--wp--style--global--wide-size, 720px);
	margin-inline: auto;
	padding-inline: 0;
}

.lv-product__accordion {
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.lv-product__accordion:first-child {
	border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.lv-product__accordion-toggle {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	background: none;
	border: none;
	cursor: pointer;
	padding: 1.375rem 0;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--medium-large);
	font-weight: 500;
	color: var(--wp--preset--color--contrast);
	text-align: left;
	gap: 1rem;
}

.lv-product__accordion-label {
	flex: 1;
}

.lv-product__accordion-icon {
	flex-shrink: 0;
	width: 30px;
	height: 30px;
	border: 2px solid var(--wp--preset--color--lime);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: var(--wp--preset--font-size--medium-large);
	line-height: 1;
	color: var(--wp--preset--color--contrast);
	transition: background 0.2s ease;
}

.lv-product__accordion-icon::before {
	content: '+';
}

.lv-product__accordion.is-open .lv-product__accordion-icon {
	background: var(--wp--preset--color--lime);
}

.lv-product__accordion.is-open .lv-product__accordion-icon::before {
	content: '\2212'; /* minus sign */
}

.lv-product__accordion-body {
	overflow: hidden;
	max-height: 0;
	transition: max-height 0.35s ease;
}

.lv-product__accordion.is-open .lv-product__accordion-body {
	max-height: 3000px;
}

.lv-product__accordion-content {
	padding-block-end: 1.75rem;
	color: var(--wp--preset--color--contrast);
	line-height: 1.75;
	font-size: var(--wp--preset--font-size--base);
}

.lv-product__accordion-content p {
	margin-block-end: 0.875rem;
}

.lv-product__accordion-content ul,
.lv-product__accordion-content ol {
	padding-inline-start: 1.5rem;
	margin-block-end: 0.875rem;
}

.lv-product__accordion-content li {
	margin-block-end: 0.375rem;
}

/* Related treatments row */
.lv-product__related {
	background: var(--wp--preset--color--surface);
	padding-block: 3rem;
}

.lv-product__related-inner {
	max-width: var(--wp--style--global--wide-size, 1200px);
	margin-inline: auto;
	padding-inline: 1.5rem;
}

.lv-product__related-heading {
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--section-heading);
	font-weight: 500;
	margin-block-end: 1.5rem;
	color: var(--wp--preset--color--contrast);
}

.lv-product__related-grid {
	display: flex;
	gap: 1.5rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	padding-block-end: 0.5rem;
	scrollbar-width: thin;
	scrollbar-color: var(--wp--preset--color--lime) transparent;
}

.lv-product__related-grid .lv-pgb__card {
	flex: 0 0 calc(25% - 1.125rem);
	min-width: 220px;
	scroll-snap-align: start;
}

/* Responsive */
@media (max-width: 781px) {
	.lv-product__related-grid .lv-pgb__card {
		flex: 0 0 clamp(240px, 70vw, 300px);
	}
}

/* ---------------------------------------------------------------------
   Numbered Columns — round number background for the count-up numbers
--------------------------------------------------------------------- */
.has-count > p.has-background {
    padding: 0;
    display: flex;
    justify-content: center;
    height: 80px;
    width: 80px;
    border-radius: 40px;
    line-height: 120%;
	font-family: var(--wp--preset--font-family--counter);
    font-size: var(--wp--preset--font-size--xx-large);
    font-style: italic;
    font-weight: 900;
    font-family: 'Playfair Display';
}

@media (max-width: 781px) {
	.has-count > p.has-background {
		font-size: 50px;
	}
}

/* ---------------------------------------------------------------------
   Share Button (lumivera/share-button)
   Matches Figma: lime pill, dark icons, "Share" label always visible.
   Frame 1 (collapsed): [share icon] [Share]
   Frame 2 (expanded):  [close icon] [Share] | [FB] [X] [Email] [Copy]
--------------------------------------------------------------------- */
.lv-share {
	display: inline-flex;
	margin-left: auto !important;
	position: relative;
}

.lv-share__pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: rgba(226, 239, 138, 0.5);
	border: 2px solid #e2ef8a;
	border-radius: 12px;
	padding: 6px 12px;
	cursor: pointer;
}

/* Remove focus outlines from all interactive elements in the component */
.lv-share__toggle:focus,
.lv-share__toggle:focus-visible,
.lv-share__action:focus,
.lv-share__action:focus-visible {
	outline: none;
}

/* Toggle button — icon only, no padding */
.lv-share__toggle {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	height: 22px;
	padding: 0;
	background: none;
	border: none;
	cursor: pointer;
	color: #000;
	font: inherit;
}

/* Fixed-size box the two icons are stacked in */
.lv-share__icons {
	position: relative;
	flex-shrink: 0;
	width: 22px;
	height: 22px;
}

/* Icon pair — share visible by default, close visible when open */
.lv-share__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	inset: 0;
	margin: auto;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.lv-share__icon--close {
	opacity: 0;
	transform: rotate(-45deg) scale(0.8);
}

.lv-share__pill.is-open .lv-share__icon--share {
	opacity: 0;
	transform: rotate(45deg) scale(0.8);
}

.lv-share__pill.is-open .lv-share__icon--close {
	opacity: 1;
	transform: rotate(0deg) scale(1);
}

/* "Share" label */
.lv-share__label {
	font-family: var(--wp--preset--font-family--body);
	font-size: 1rem;
	font-weight: 600;
	color: #000;
	white-space: nowrap;
	letter-spacing: -0.005em;
	flex-shrink: 0;
}

/* Actions wrapper — collapses to zero width, clips its children */
.lv-share__actions {
	display: flex;
	align-items: center;
	max-width: 0;
	overflow: hidden;
	opacity: 0;
	transition: max-width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
	            opacity   0.2s ease;
	pointer-events: none;
}

.lv-share__pill.is-open .lv-share__actions {
	max-width: 14rem;
	opacity: 1;
	pointer-events: auto;
}

/* Inner row — keeps the gap and divider inside the overflow clip */
.lv-share__actions-inner {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	padding-inline-start: 0.75rem;
	border-inline-start: 1.5px solid rgba(0, 0, 0, 0.2);
	margin-inline-start: 0.25rem;
}

/* Individual action icon */
.lv-share__action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	padding: 0;
	background: none;
	border: none;
	border-radius: 6px;
	color: #000;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.15s ease, transform 0.15s ease;
	position: relative;
	flex-shrink: 0;
}

.lv-share__action svg {
	width: 20px;
	height: 20px;
}

.lv-share__action:hover {
	background: rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

/* Copy tooltip */
.lv-share__copy-tip {
	position: absolute;
	bottom: calc(100% + 6px);
	left: 50%;
	transform: translateX(-50%);
	background: #000;
	color: #fff;
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	white-space: nowrap;
	padding: 0.25rem 0.6rem;
	border-radius: 6px;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.15s ease;
}

.lv-share__copy-tip:not(:empty) {
	opacity: 1;
}

/* ---------------------------------------------------------------------
   Gravity Forms - Contact Us
--------------------------------------------------------------------- */

.contact-us-form .gform_fields .gfield input[type="text"],
.contact-us-form .gform_fields .gfield input[type="email"],
.contact-us-form .gform_fields .gfield input[type="tel"],
.contact-us-form .gform_fields .gfield textarea {
	border: 1px solid var(--wp--preset--color--secondary);
    background-color: var(--wp--preset--color--surface);
    min-height: 68px;
    color: var(--wp--preset--color--contrast);
    border-radius: 14px;
    margin-bottom: 0;
    padding-left: 24px;
    padding-right: 24px;
    font-size: 18px;
    transition: color .3s, border-color .3s;
}

.contact-us-form .gform-footer #gform_submit_button_1 {
    background-color: var(--wp--preset--color--lime);
    border-radius: 12px;
    border-color: var(--wp--preset--color--lime);
    border-width: 2px;
    border-style: solid;
    color: #000000;
    font-family: inherit;
    font-size: var(--wp--preset--font-size--base);
    font-style: inherit;
    font-weight: 600;
    letter-spacing: inherit;
    line-height: inherit;
    padding-top: 0.9rem;
    padding-right: 1.75rem;
    padding-bottom: 0.9rem;
    padding-left: 1.75rem;
    text-decoration: none;
    text-transform: inherit;
}

/* ---------------------------------------------------------------------
   Footer — mobile layout
   Matches live lumivera.com mobile footer (see screenshot):
   - Brand column (logo, tagline) LEFT-aligned
   - Products column LEFT-aligned, links in brand rose/pink
   - Legal column: links centered, 2-per-row wrap
   - Copyright centered (already set in block template)
--------------------------------------------------------------------- */
@media (max-width: 767px) {
	/* Stack all columns full-width */
	footer .wp-block-columns {
		flex-direction: column;
		gap: 0;
	}

	footer .wp-block-column {
		flex-basis: 100% !important;
		width: 100%;
		margin-block-end: 2rem;
	}

	/* Brand column — logo + tagline LEFT-aligned */
	footer .wp-block-column:first-child {
		text-align: center;
	}

	/* Logo — left-aligned, generous width matching live site */
	footer .wp-block-site-logo {
		margin-inline: 0;
	}

	footer .wp-block-site-logo img {
		max-width: 260px;
	}

	/* Social links — left-aligned in brand column */
	footer .wp-block-social-links {
		justify-content: flex-start;
	}

	footer .wp-block-heading {
		text-align: center;
	}
	
	/* Strip default list styles from all footer lists */
	footer .wp-block-list {
		display: contents;
		padding-inline-start: 0;
		text-align: center;
		list-style: none;
		margin: 0;
	}

	footer .wp-block-list li {
		margin-block-end: 1.25rem;
	}

	footer .wp-block-list li:last-child {
		margin-block-end: 0;
	}

	/* Products links — rose/pink brand color, left-aligned */
	footer .wp-block-column:nth-child(2) .wp-block-list a {
		color: var(--wp--preset--color--highlight);
		text-decoration: none;
	}

	/* Legal column — links centered, wrap in 2-per-row grid */
	footer .wp-block-column:nth-child(3) {
		text-align: center;
	}

	footer .wp-block-column:nth-child(3) h5 {
		display: none; /* live site hides the "Legal" heading on mobile */
	}

	footer .wp-block-column:nth-child(3) .wp-block-list {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 0.5rem 1.5rem;
	}

	footer .wp-block-column:nth-child(3) .wp-block-list li {
		margin-block-end: 0;
		flex: 0 0 auto;
	}

	footer .wp-block-column:nth-child(3) .wp-block-list a {
		font-size: var(--wp--preset--font-size--small);
		text-decoration: none;
		color: inherit;
	}

	/* Separator spacing */
	footer .wp-block-separator {
		margin-block: 1.5rem;
	}
}

/* ---------------------------------------------------------------------
   Blockquote
   Matches Figma: Article 1 - Desktop › Quote frame.
   Large decorative opening mark left-aligned, Playfair Display body text,
   italic spans rendered in rose pink.
--------------------------------------------------------------------- */
.wp-block-quote,
blockquote {
	display: flex;
	align-items: flex-end;
	gap: 1rem;
	padding-block: 1rem;
	padding-inline: 0;
	border: none;
	margin-inline: 0;
	font-family: var(--wp--preset--font-family--heading);
}

/* Opening quotation mark */
.wp-block-quote::before,
blockquote::before {
	content: '\201C';
	font-family: var(--wp--preset--font-family--heading);
	font-size: 11.25rem; /* 180px */
	font-weight: 400;
	line-height: 0.46; /* anchors the glyph bottom so it aligns with text */
	color: #e6b6c7;
	letter-spacing: -0.02em;
	flex-shrink: 0;
	width: 85px;
	align-self: flex-end;
}

.wp-block-quote p,
blockquote p {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 3rem; /* 48px */
	font-weight: 400;
	line-height: 1.1;
	color: var(--wp--preset--color--contrast);
	letter-spacing: -0.02em;
	margin: 0;
}

/* Italic / emphasized words in rose pink */
.wp-block-quote em,
.wp-block-quote i,
blockquote em,
blockquote i {
	font-style: italic;
	color: #ab687f;
}

/* Citation — smaller, muted */
.wp-block-quote cite,
blockquote cite {
	display: block;
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--small);
	font-style: normal;
	color: var(--wp--preset--color--contrast);
	margin-block-start: 0.75rem;
}

@media (max-width: 781px) {
	.wp-block-quote,
	blockquote {
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding-block-start: 3rem;  /* 48px — matches Figma mobile */
		padding-block-end: 1rem;
		gap: 0;
	}

	.wp-block-quote::before,
	blockquote::before {
		font-size: 11.25rem; /* stays 180px — same glyph, smaller container */
		line-height: 0.22;   /* 40px visible height (40 / 180) */
		width: 85px;
		align-self: center;
	}

	.wp-block-quote p,
	blockquote p {
		font-size: 3rem; /* stays 48px per Figma */
		text-align: center;
	}
}

/* Affiliate Page */
/* Overrides the sitewide mobile rule (.wp-block-buttons > .wp-block-button { width: 100% }, above)
   for this page only — buttons here should keep their natural width at every breakpoint. */
.page-affiliate .wp-block-buttons > .wp-block-button {
	width: auto;
}

.partner-with-us {
	max-width: 916px !important;
	position: relative;
	z-index: 1;
}

.bg-image-left {
	position: absolute;
	left: 0;
	top: 400px;
	z-index: 0;
	pointer-events: none;
}

.bg-image-left svg,
.bg-image-right svg {
	width: 38vw;
	height: auto;
	max-width: 550px;
	display: block;
}

.bg-image-left svg path,
.bg-image-right svg path {
	fill: #E8C2CE;
}

.bg-image-right {
	position: absolute;
	right: 0;
	bottom: -40px;
	z-index: 0;
	pointer-events: none;
}

@media (max-width: 781px) {
	.partner-with-us {
		border-radius: 0 !important;
	}
	
	.full-width-mobile {		
		margin-right: calc(var(--wp--style--root--padding-right) * -1) !important;
    	margin-left: calc(var(--wp--style--root--padding-left) * -1) !important;
	}
	
	.bg-image-left {
		top: 680px;
	}

	.bg-image-left svg {
		width: 46vw;
		max-width: 200px;
	}

	.bg-image-right {
		bottom: -20px;
	}

	.bg-image-right svg {
		width: 46vw;
		max-width: 200px;
	}
	
	.swap-mobile *:first-child {
    	order: 1;
	}
	
	.earn-inspire .wp-block-column img {
		border-radius: 0 !important;
		margin-bottom: calc(var(--wp--preset--spacing--70) * -1) !important;
		margin-top: var(--wp--preset--spacing--70) !important;
	}
}