/*!
Theme Name: Lumora Nutrition
Theme URI: http://underscores.me/
Author: Lumora Nutrition
Author URI: http://underscores.me/
Description: Custom WordPress and WooCommerce Theme for Lumora Nutrition
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: lumoranutri
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Lumora Nutrition is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Design Tokens
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments
# Lumora Nutrition Sections (added phase by phase)
	- Nav
	- Hero
	- Marquee
	- Ritual
	- Reclaim
	- Results
	- Testimonials
	- Gold Standard
	- FAQ
	- Instagram
	- CTA
	- Footer
	- Product Page
	- WooCommerce Overrides (see woocommerce.css)

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Design Tokens
--------------------------------------------------------------*/

/*
 * Ported unchanged in value from the source design's css/style.css :root
 * block. Every later section must consume these custom properties rather
 * than hardcoding colors, fonts, radii, or the container max-width.
 */
:root {
	/* colors */
	--color-lavender: #e8c9f6;
	--color-lavender-soft: #e7cef2;
	--color-lavender-pale: #f4ecff;
	--color-lavender-gradient: #f6e3ff;
	--color-pink-gradient: #ffe9f5;
	--color-plum: #650436;
	--color-pink: #f0429c;
	--color-ink: #07121b;
	--color-purple-btn: #290a36;
	--color-purple-deep: #500273;
	--color-purple-mid: #7b16a9;
	--color-purple-line: #a072a1;
	--color-footer-heading: #ffcfe8;
	--color-footer-text: #ffafd9;
	--color-white: #ffffff;

	/* type */
	--font-display: 'BBH Hegarty', sans-serif;
	--font-button: 'BBH Bartle', sans-serif;
	--font-body: 'Host Grotesk', sans-serif;
	--font-serif: 'Instrument Serif', serif;

	--container-max: 1888px;
	--radius-lg: 24px;
	--radius-md: 16px;
	--radius-pill: 100px;
}

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li>ul,
li>ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */

/*
 * The _s scaffold shipped default link/visited/hover/focus/active colors
 * here (blue/purple/navy) — no part of the design ever wants a link's
 * color to change by state, so those are removed outright rather than
 * overridden per component. Only the focus-visible outline (accessibility)
 * is kept.
 */
a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover>ul,
.main-navigation ul ul li.focus>ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover>ul,
.main-navigation ul li.focus>ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# Lumora Nutrition Sections (added phase by phase)
--------------------------------------------------------------*/

/* Base reset & page shell
--------------------------------------------- */

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: var(--font-body);
	color: var(--color-ink);
	background: var(--color-white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

/*
 * Deliberately bare tag selectors (matching the source design exactly) —
 * lowest possible specificity, so ANY class-based component rule safely
 * overrides them regardless of source order. Scoping these to #page or
 * even .site raised their specificity enough to silently beat single-class
 * component rules like .nav__cta's color — found via a real regression
 * where the nav CTA and footer links both rendered in the wrong color.
 */
img {
	max-width: 100%;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

button {
	font-family: inherit;
	cursor: pointer;
	border: none;
	background: none;
}

ul {
	list-style: none;
}

.container {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 16px;
}

.section-inner {
	border-radius: var(--radius-lg);
	overflow: clip;
	position: relative;
	z-index: 0;
}

/*
 * #page (not .page — the _s scaffold already uses .page as a post_class()
 * output on singular Page templates) is the design's page shell.
 */
#page {
	max-width: calc(var(--container-max) + 32px);
	margin: 0 auto;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 0;
}

/*
 * Matches the nav's own mobile-menu breakpoint (884px, see .nav below) —
 * the nav's mobile pill/dropdown treatment expects this surrounding
 * lavender page background, so both need to switch at the same width or
 * the 768-884px tier shows the mobile nav floating on a plain white page.
 */
@media (max-width: 884px) {
	#page {
		padding: 12px;
		background: var(--color-lavender);
	}
}

/* Base components (shared across every section)
--------------------------------------------- */

.eyebrow-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--color-white);
	border: 1px solid var(--color-ink);
	border-radius: 37px;
	padding: 7px 14px;
	box-shadow: 0 6px 0 var(--color-ink);
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 20px;
}

.eyebrow-badge .stars {
	display: flex;
	gap: 1px;
}

.eyebrow-badge .stars img,
.eyebrow-badge .stars svg {
	width: 22px;
	height: 22px;
}

.heading-xl {
	/* Overrides the scaffold's normalize `h1 { margin: 0.67em 0 }` — see .nav__links. */
	margin: 0;
	font-family: var(--font-display);
	font-weight: 400;
	text-transform: uppercase;
	color: var(--color-plum);
	font-size: 60px;
	line-height: 1.07;
}

.heading-xl .accent {
	color: var(--color-pink);
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	background: var(--color-purple-btn);
	color: var(--color-white);
	font-family: var(--font-button);
	font-weight: 400;
	font-size: 18px;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	border-radius: 36px;
	padding: 16px 36px;
	transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn:hover {
	transform: translateY(-2px);
	opacity: 0.92;
}

.btn--dark {
	background: var(--color-ink);
}

.btn img,
.btn svg {
	width: 22px;
	height: 22px;
}

.body-lg {
	/* Overrides the scaffold's `p { margin-bottom: 1.5em }` — see .nav__links. */
	margin: 0;
	font-family: var(--font-body);
	font-size: 20px;
	line-height: 1.4;
	color: var(--color-ink);
}

@media (max-width: 1024px) {
	.heading-xl {
		font-size: 44px;
	}
}

@media (max-width: 767px) {
	.heading-xl {
		font-size: 28px;
		line-height: 1.15;
	}

	.body-lg {
		font-size: 16px;
	}

	.btn {
		font-size: 14px;
		padding: 14px 26px;
	}
}

/* Nav
--------------------------------------------- */

/*
 * .nav is rendered in header.php — a sibling that precedes the main content
 * rather than nesting inside .hero/.product-intro like the source markup
 * does. It needs a positioned ancestor with the SAME rendered offset those
 * sections would have: #masthead has no padding of its own and, as a
 * normal-flow child of #page, is offset by #page's 16px padding exactly
 * the way .hero is offset by .page's padding in the source. #page itself
 * is deliberately NOT position:relative for this — for an absolutely
 * positioned descendant, the containing block is the padding *edge*
 * (border-box), not the content-box, so an ancestor's own padding is
 * never added to the offset if that same ancestor is the positioned one.
 * Using #page directly under-offsets .nav by exactly #page's padding
 * (confirmed by comparing computed nav position against the source at
 * matching viewport widths — off by 16px, i.e. #page's padding value).
 */
#masthead {
	position: relative;
}

.nav {
	position: absolute;
	top: 32px;
	left: 50%;
	transform: translateX(-50%);
	width: calc(100% - 448px);
	max-width: 1440px;
	z-index: 100;
	background: var(--color-white);
	border-radius: 65px;
	padding: 16px 20px 16px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.nav__logo img {
	height: 24px;
	width: auto;
	/*
	 * Without this, the generic image reset's max-width:100% resolves
	 * against this flex-item <a>'s own (still-being-computed) width,
	 * creating a circular auto-sizing dependency that collapses the logo
	 * to 0px in some browsers. The intrinsic-ratio width from height:24px
	 * never needs capping here, so just opt out of max-width entirely.
	 */
	max-width: none;
}

.nav__links {
	/*
	 * Overrides the _s scaffold's `ul, ol { margin: 0 0 1.5em 3em; }`
	 * content-list reset — a bare tag selector always beats the universal
	 * `* { margin: 0 }` reset regardless of source order, so structural
	 * <ul>s from wp_nav_menu()/repeaters need their own explicit zero.
	 */
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 9px;
}

.nav__links a {
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 20px;
	color: var(--color-ink);
	padding: 12px;
	border-radius: 12px;
}

.nav__links .current-menu-item a,
.nav__links .current_page_item a,
.nav__links a:hover,
.nav__links a:focus-visible {
	background: var(--color-lavender-pale);
}

/*
 * Wraps .nav__links + .nav__cta so they render as one floating card on
 * mobile (see header.php). display:contents here means the wrapper adds
 * nothing to desktop/tablet layout — .nav__links and .nav__cta stay direct
 * flex items of .nav exactly as before this element existed.
 */
.nav__mobile-menu {
	display: contents;
}

.nav__cta {
	background: var(--color-purple-btn);
	color: var(--color-white);
	font-family: var(--font-button);
	font-weight: 400;
	font-size: 14px;
	text-transform: uppercase;
	border-radius: 100px;
	padding: 14px 24px;
}

.nav__toggle {
	display: none;
	align-items: center;
	justify-content: center;
	padding: 8px;
}

.nav__toggle img,
.nav__toggle svg {
	width: 24px;
	height: 24px;
}

.nav__logo--short {
	display: none;
	align-items: center;
	font-family: var(--font-display);
	font-size: 20px;
	line-height: 30px;
	letter-spacing: 1px;
}

.nav__logo-l {
	color: var(--color-pink);
}

.nav__logo-p {
	color: var(--color-plum);
}

@media (max-width: 1024px) {
	.nav {
		width: calc(100% - 80px);
	}
}

/*
 * 1025px-1773px only: unlike every other nav property, .nav itself was
 * never fluid in this range at all — it kept its full desktop padding,
 * offset, and font-sizes at every width down to 1025px (only its own
 * `width` responded, via the plain @media(max-width:1024px) rule above).
 * That's a big part of why Hero's badge collides with it here: nav's own
 * height never shrinks to make room, no matter how tight the space gets
 * above the heading. There's no historical "mobile nav" size to reuse as
 * MIN (the <=767px mobile nav is a structurally different capsule+dropdown
 * design, not a smaller version of this one) — MIN values below are a
 * reasoned ~40-50% reduction from the desktop MAX, chosen to noticeably
 * shrink nav's rendered height while staying legible/clickable, then
 * verified live. All use the same interpolation method as Hero's clamps:
 * MIN at 1024px viewport (anchor only, never actually renders there),
 * MAX at 1773px (today's unchanged desktop value).
 */
@media (min-width: 1025px) and (max-width: 1773px) {
	.nav {
		/* top: slope=(32-16)/749=0.02136 -> 2.136vw; intercept=16-0.02136*1024=-5.87 */
		top: clamp(16px, 2.136vw - 5.87px, 32px);
		/* width subtraction: slope=(448-80)/749=0.4914 -> 49.14vw; intercept=80-0.4914*1024=-423.2 */
		width: calc(100% - clamp(80px, 49.14vw - 423.2px, 448px));
		/*
		 * padding: top/bottom slope=(16-8)/749=0.01068 -> 1.068vw; intercept=8-0.01068*1024=-2.94
		 * right: slope=10/749=0.01335 -> 1.335vw; intercept=10-0.01335*1024=-3.67
		 * left: slope=12/749=0.01602 -> 1.602vw; intercept=12-0.01602*1024=-4.4
		 */
		padding: clamp(8px, 1.068vw - 2.94px, 16px) clamp(10px, 1.335vw - 3.67px, 20px) clamp(8px, 1.068vw - 2.94px, 16px) clamp(12px, 1.602vw - 4.4px, 24px);
		/* gap: slope=10/749=0.01335 -> 1.335vw; intercept=14-0.01335*1024=0.33 */
		gap: clamp(14px, 1.335vw + 0.33px, 24px);
	}

	/* logo height: slope=6/749=0.00801 -> 0.801vw; intercept=18-0.00801*1024=9.8 */
	.nav__logo img {
		height: clamp(18px, 0.801vw + 9.8px, 24px);
	}

	.nav__links a {
		/* font-size: slope=5/749=0.00668 -> 0.668vw; intercept=15-0.00668*1024=8.16 */
		font-size: clamp(15px, 0.668vw + 8.16px, 20px);
		/* padding: slope=4/749=0.00534 -> 0.534vw; intercept=8-0.00534*1024=2.53 */
		padding: clamp(8px, 0.534vw + 2.53px, 12px);
	}

	.nav__cta {
		/* font-size: slope=2/749=0.00267 -> 0.267vw; intercept=12-0.00267*1024=9.27 */
		font-size: clamp(12px, 0.267vw + 9.27px, 14px);
		/*
		 * padding: vertical slope=4/749=0.00534 -> 0.534vw; intercept=10-0.00534*1024=4.53
		 * horizontal slope=8/749=0.01068 -> 1.068vw; intercept=16-0.01068*1024=5.07
		 */
		padding: clamp(10px, 0.534vw + 4.53px, 14px) clamp(16px, 1.068vw + 5.07px, 24px);
	}
}

@media (max-width: 884px) {
	.nav {
		/*
		 * relative (not static): .nav__mobile-menu.open anchors to this as
		 * an absolutely positioned dropdown, so it floats as its own card
		 * below the pill instead of stretching the pill's own shape.
		 * left AND top must both be reset — position:static was silently
		 * ignoring the desktop rule's left:50%/top:32px; position:relative
		 * honors both as relative offsets instead, which without this
		 * resets shoves .nav sideways *and* an extra 32px down the page.
		 */
		position: relative;
		left: auto;
		top: auto;
		order: -2;
		/* bottom raised 16->32px: previously only a 4px visible gap to .hero__image reached the pill, since .hero's own -12px top margin (a full-bleed reset, unrelated to nav) ate into it. */
		margin: 16px 8px 32px;
		transform: none;
		width: auto;
		max-width: none;
		/* 13px -> 10px: shrinks the pill's own height (was 66px, now 56px). */
		padding: 10px 20px;
		flex-wrap: wrap;
		border-radius: 65px;
	}

	.nav__logo--full {
		display: none;
	}

	.nav__logo--short {
		display: flex;
	}

	.nav__toggle {
		padding: 6px;
	}

	/*
	 * When the dropdown is open, the pill's bottom corners flatten and its
	 * shadow is dropped so it reads as the top of one continuous card with
	 * .nav__mobile-menu.open directly below it (0 gap, matching width) —
	 * not two separately floating pieces.
	 */
	.nav:has(.nav__mobile-menu.open) {
		border-radius: var(--radius-lg) var(--radius-lg) 0 0;
	}

	.nav__mobile-menu {
		display: none;
	}

	.nav__mobile-menu.open {
		display: flex;
		flex-direction: column;
		gap: 8px;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--color-white);
		border-radius: 0 0 var(--radius-lg) var(--radius-lg);
		padding: 16px;
		box-shadow: 3px 6px 0 0 var(--color-ink);
		z-index: 99;
	}

	.nav__links {
		width: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
	}

	.nav__links a {
		display: flex;
		padding: 12px;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		align-self: stretch;
		border-radius: 12px;
		color: var(--color-ink);
		font-family: var(--font-body);
		font-size: 20px;
		font-style: normal;
		font-weight: 500;
		line-height: 30px;
		/* 150% */
	}

	.nav__cta {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		align-self: center;
		margin-top: 8px;
		padding: 16px 32px;
	}

	.nav__toggle {
		display: flex;
	}
}

/* Footer
--------------------------------------------- */

.footer {
	background: var(--color-purple-deep);
	border-radius: var(--radius-lg);
	padding: 110px 224px 40px;
}

.footer__top {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	padding-bottom: 46px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer__col:not(:last-child) {
	border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.footer__col h4 {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 20px;
	text-transform: uppercase;
	color: var(--color-footer-heading);
	margin-bottom: 24px;
}

.footer__col ul {
	/* See .nav__links — overrides the scaffold's ul,ol content-list margin. */
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.footer__col a,
.footer__col li {
	font-family: var(--font-body);
	font-weight: 300;
	font-size: 16px;
	color: var(--color-footer-text);
}

.footer__social a {
	display: flex;
	align-items: center;
	gap: 6px;
}

.footer__social img,
.footer__social svg {
	width: 18px;
	height: 18px;
}

.footer__col p.desc {
	font-weight: 300;
	line-height: 1.48;
	color: var(--color-footer-text);
	margin: 0 0 16px;
}


.footer__newsletter {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.footer__newsletter p.desc {
	font-weight: 300;
	line-height: 1.48;
	color: var(--color-footer-text);
}

.footer__newsletter-input {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid rgba(255, 255, 255, 0.4);
	padding-bottom: 16px;
}

.footer__newsletter-input input {
	background: none;
	border: none;
	color: var(--color-white);
	font-family: var(--font-body);
	font-weight: 300;
	font-size: 16px;
	text-transform: uppercase;
	width: 100%;
}

.footer__newsletter-input input::placeholder {
	color: var(--color-white);
	opacity: 0.7;
}

.footer__newsletter-input button img,
.footer__newsletter-input button svg {
	width: 29px;
	height: 16px;
}

.footer__newsletter-message {
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--color-footer-text);
}

.footer__brand {
	padding-top: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.footer__brand img {
	width: 100%;
	max-width: 1440px;
	height: auto;
}

@media (max-width: 1024px) {
	.footer {
		padding: 64px 32px 40px;
	}

	.footer__top {
		grid-template-columns: repeat(2, 1fr);
		gap: 40px 24px;
	}

	.footer__col:not(:last-child) {
		border-right: none;
	}

	.footer__col:nth-child(odd) {
		border-right: 1px solid rgba(255, 255, 255, 0.15);
	}
}

@media (max-width: 767px) {
	.footer {
		padding: 24px 20px;
	}

	.footer__top {
		grid-template-columns: repeat(2, 1fr);
		gap: 30px;
		padding-bottom: 0;
		border-bottom: none;
	}

	.footer__col {
		border-right: none !important;
	}

	.footer__col h4 {
		font-size: 16px;
		margin-bottom: 16px;
	}

	.footer__col a,
	.footer__col li {
		font-size: 12px;
	}

	.footer__social ul {
		gap: 8px;
	}

	.footer__social a {
		font-weight: 400;
	}

	.footer__newsletter p.desc {
		font-size: 12px;
	}

	.footer__newsletter-input input {
		font-size: 12px;
	}

	.footer__brand {
		padding-top: 30px;
	}
}

/*
 * Funnel footer — minimal footer used only on the checkout funnel's
 * dedicated product page (#46207) and the checkout page itself, loaded
 * via get_footer( 'funnel' ) instead of the sitewide footer.php (client
 * request, 2026-09-24: "make a dedicated custom footer like Demo only for
 * this product page and checkout page"). Values below measured directly
 * off the reference funnel's own footer. Deliberately its own class
 * namespace (not .footer, .footer__ elements, or #colophon) so it doesn't inherit or
 * collide with the sitewide footer's CSS above. Uses var(--font-body),
 * not this page's Montserrat (--rb-font, only loaded/defined under
 * .rosabella-clone) — this footer is shared with the not-yet-built
 * checkout page, which doesn't load that font, so it falls back to the
 * theme's own default body font on both until the checkout page gets its
 * own design pass.
 */
.funnel-footer {
	background: #fff;
	padding: 40px 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 16px;
}

.funnel-footer__brand img {
	max-width: 160px;
	max-height: 40px;
	width: auto;
	height: auto;
}

.funnel-footer__wordmark {
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 700;
	color: rgb(33, 37, 41);
}

.funnel-footer__copyright {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	color: rgb(33, 37, 41);
}

.funnel-footer__legal {
	max-width: 1200px;
	display: flex;
	flex-direction: column;
	gap: 21px;
}

.funnel-footer__legal p {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.3;
	color: rgb(33, 37, 41);
}

/*
 * Extra bottom padding so the sticky Add to Cart bar (.sticky-cta,
 * position:fixed;bottom:0) never covers this footer's last line once the
 * visitor is scrolled all the way down — found while testing this new
 * footer, 2026-09-24 (a pre-existing gap in the sticky bar's own CSS that
 * was simply never visible before, since nothing reached the true bottom
 * of the page until now). Scoped to body.rosabella-clone-page, the class
 * already applied only on the funnel's own product page (see
 * inc/template-functions.php), since the sticky bar is product-page-only
 * — the checkout page shares this same footer file but never gets this
 * padding, matching the 85px/76px bar heights set in
 * css/rosabella-product-clone.css's own Sticky Add to Cart section.
 */
body.rosabella-clone-page .funnel-footer {
	padding-bottom: 125px;
}

@media (max-width: 992px) {
	body.rosabella-clone-page .funnel-footer {
		padding-bottom: 106px;
	}
}

@media (max-width: 767px) {
	.funnel-footer {
		padding: 30px 20px;
	}

	body.rosabella-clone-page .funnel-footer {
		padding-bottom: 106px;
	}

	.funnel-footer__legal p {
		font-size: 13px;
	}
}

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

/*
 * Fluid scaling for the 1025px–1773px gap between the stacked mobile/tablet
 * layout (@media max-width:1024px) and the fixed desktop values below,
 * which only look correct at >=1773px viewport width. Every clamp() here
 * uses linear interpolation solved so MIN applies at exactly 1024px
 * viewport width (reusing the already-tuned @media(max-width:1024px)
 * value — never inventing a new number) and MAX applies at exactly
 * 1773px (the current, correct desktop value). Below 1024px the media
 * query below overrides these back to the static tuned values; above
 * 1773px clamp()'s own ceiling holds MAX steady, so both boundaries are
 * pixel-identical to their pre-existing behavior.
 *
 * slope = (MAX-MIN) / (1773-1024); vw-coefficient = slope * 100
 * intercept = MIN - slope * 1024
 */
.hero {
	position: relative;
	background: var(--color-lavender);
	display: grid;
	/*
	 * Image column: MIN=480px (reasoned — see below, no 1024 breakpoint
	 * analog exists since the layout is single-column there), MAX=934px.
	 * slope=(934-480)/749=0.60614 -> 60.61vw; intercept=480-0.60614*1024=-140.69
	 * min-height mirrors the same clamp so the (originally square 934x934)
	 * image column keeps its aspect ratio as it scales, not just its width.
	 */
	grid-template-columns: minmax(0, 1fr) clamp(480px, 60.61vw - 140.69px, 934px);
	align-items: stretch;
	min-height: clamp(480px, 60.61vw - 140.69px, 934px);
	margin-bottom: 16px;
}

.hero__left {
	position: relative;
	/* Lets the 1fr grid track actually shrink instead of forcing .hero to
	 * overflow its own container once the fixed-width image column and
	 * fixed padding leave less room than the text's intrinsic min-width. */
	min-width: 0;
}

.hero__content {
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	/*
	 * Left/right padding both reuse MIN=32px — the exact horizontal value
	 * already tuned for @media(max-width:1024px)'s stacked-layout padding
	 * (`180px 32px 48px`), so both sides start from a value that's already
	 * confirmed correct, just previously unreachable above 1024px.
	 * left: MAX=224px. slope=(224-32)/749=0.25634 -> 25.63vw; intercept=32-0.25634*1024=-230.49
	 * right: MAX=60px. slope=(60-32)/749=0.03738 -> 3.74vw; intercept=32-0.03738*1024=-6.28
	 */
	padding: 0 clamp(32px, 3.74vw - 6.28px, 60px) 0 clamp(32px, 25.63vw - 230.49px, 224px);
}

.hero__heading-wrap {
	position: relative;
}

/*
 * Unchanged from the original design: the badge is anchored to
 * .hero__heading-wrap's own rendered top-left, which is only stable
 * because at <=1024px (mobile, plain stacking) and >=1774px (desktop,
 * the design's own tuned state) the heading's line-wrap count barely
 * varies. This exact anchor and these exact static numbers apply at
 * EVERY width by default, including 1774px+ — the 1025-1773px override
 * below is the only range that needs a different mechanism.
 */
.hero__badge-wrap {
	position: absolute;
	left: -13.5px;
	top: -88px;
	width: 235.483px;
	height: 102.547px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
}

.hero__badge-wrap .eyebrow-badge {
	transform: rotate(-15deg);
	filter: drop-shadow(0 6px 0 var(--color-ink));
	box-shadow: none;
}

.hero__text {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 570px;
}

.hero .heading-xl {
	/* MIN(1024)=44px, MAX(1773)=64px. slope=(64-44)/749=0.02670 -> 2.67vw; intercept=44-0.02670*1024=16.66 */
	font-size: clamp(44px, 2.67vw + 16.66px, 64px);
}

/*
 * .hero__sparkle is positioned at left:82% of .hero__left (a fluid-width
 * ancestor), while the subtitle fills out to .hero__content's fixed right
 * padding — the two scale at different rates, so the subtitle's own right
 * edge runs into the sparkle's bounding box across nearly the whole
 * desktop range (measured overlap: 60px at 1091px, 67px at 1300px, 77px
 * at 1600px, 83px at 1774px, 93px at 1830px — worse than just "1830 and
 * below"). 110px clears the worst measured case (93px) with margin,
 * confirmed live at every width above rather than guessed from one.
 * Scoped to >=768px only — below that, .hero__sparkle--mobile (a
 * different element, different position/size) is shown instead, and this
 * padding would just eat into the already-narrow mobile text column for
 * no reason.
 */
@media (min-width: 768px) {
	.hero .body-lg {
		padding-right: 110px;
	}
}

.hero__sparkle {
	position: absolute;
	left: 82%;
	top: 47%;
	width: 20%;
	height: auto;
	pointer-events: none;
}

.hero__sparkle--mobile {
	display: none;
}

.hero__actions {
	margin-top: 24px;
}

.hero__image {
	position: relative;
	border-radius: var(--radius-lg);
	overflow: hidden;
}

.hero__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (max-width: 1024px) {
	.hero {
		grid-template-columns: 1fr;
		min-height: auto;
	}

	.hero__image {
		height: 420px;
	}

	.hero__badge-wrap {
		left: -9px;
		top: -58px;
		width: 162px;
		height: 70px;
	}

	.hero__content {
		padding: 180px 32px 48px;
	}

	.hero .heading-xl {
		font-size: 44px;
	}
}

@media (max-width: 767px) {
	.hero {
		padding: 0;
		margin: -12px -12px 16px;
		border-radius: 0;
	}

	.hero__content {
		padding: 80px 20px 32px;
	}

	.hero__image {
		order: -1;
		height: 272px;
		margin: 0 20px;
		border-radius: var(--radius-md);
	}

	.hero__sparkle--desktop {
		display: none;
	}

	.hero__sparkle--mobile {
		display: block;
		width: 100px;
		height: 102px;
		left: auto;
		right: 20px;
		top: -60px;
	}

	.hero__badge-wrap {
		left: -8px;
		top: -74px;
		width: 167.66px;
		height: 73.615px;
	}

	.hero__badge-wrap .eyebrow-badge {
		font-size: 14px;
		line-height: 22px;
		padding: 5px 12px 5px 8px;
		gap: 8px;
		border-radius: 36px;
	}

	.hero__badge-wrap .eyebrow-badge .stars img,
	.hero__badge-wrap .eyebrow-badge .stars svg {
		width: 16px;
		height: 16px;
	}

	.hero .heading-xl {
		font-size: 28px;
	}
}

/*
 * 1025px-1773px only. Two things are both true here and pull in opposite
 * directions:
 *
 * 1. The badge MUST stay anchored to .hero__heading-wrap's own rendered
 *    top-left (not decoupled from it) — an earlier attempt anchored the
 *    badge to the stable .hero__content box instead, using a position
 *    independent of the heading's actual location. That eliminated the
 *    nav collision but broke the far more important constraint: at some
 *    widths (e.g. 1440px) the heading's real position had drifted far
 *    enough from that fixed anchor that the badge ended up covering 71%
 *    of the heading text itself. Heading-wrap-anchoring keeps the badge
 *    glued to the text it decorates at a *constant* ~14-17% overlap
 *    ratio (matching the already-accepted design, confirmed unchanged
 *    at every tested width) — position:absolute relative to heading-wrap,
 *    same as the untouched >=1774px rule below, is the correct mechanism.
 *
 * 2. .nav sits at its own independently-fixed top:32px with no awareness
 *    of the heading. At some widths in this range (measured worst around
 *    1200px) the heading's own top edge lands within ~1-2px of .nav's
 *    bottom edge — there is close to zero vertical gap for a ~100px-tall
 *    badge to occupy without touching one or the other at all. This is a
 *    hard geometric constraint of this specific layout, not a tuning
 *    mistake: no repositioning of the badge alone resolves it completely.
 *
 * Given both, the offset and size are scaled down from the full desktop
 * values (still heading-wrap-anchored, so heading-overlap stays bounded)
 * rather than held at their full -88px/235x102 desktop magnitude — this
 * reduces how far the badge reaches toward .nav in absolute pixels
 * without ever decoupling it from the heading. Nav overlap is reduced
 * from the original bug's "fully disappears" severity to a bounded,
 * partial overlap (badge still meaningfully visible) at the worst widths,
 * while heading overlap never exceeds the design's own ~17% baseline.
 * MIN reuses the tuned @media(max-width:1024px) values (interpolation
 * anchor only — this range never actually renders at 1024px); MAX is the
 * untouched >=1774px desktop value.
 * left: slope=(-13.5-(-9))/749=-0.00601 -> -0.6008vw; intercept=-9-(-0.00601*1024)=-2.85
 * top: slope=(-88-(-58))/749=-0.04005 -> -4.005vw; intercept=-58-(-0.04005*1024)=-16.99
 * width: slope=(235.483-162)/749=0.09811 -> 9.81vw; intercept=162-0.09811*1024=61.54
 * height: slope=(102.547-70)/749=0.04345 -> 4.35vw; intercept=70-0.04345*1024=25.5
 *
 * Also nudging .hero__content's centered content block down, away from
 * .nav, with a padding-top that's largest at 1025px (where the pinch is
 * tightest) and tapers to exactly 0 by 1773px — 0 at the top boundary
 * means zero visual change to the already-correct >=1774px state, so
 * this only ever affects the problem range. Note justify-content:center
 * means padding-top only shifts the centered content down by *half* its
 * own value (the other half of the reserved space still balances the
 * centering on the other side), not a 1:1 px shift.
 *
 * MAX raised from an earlier 48px to 140px: 48px still left real,
 * measured badge/nav overlap across almost this entire range (11-50px,
 * confirmed live) — the previous 48px was chosen small enough to feel
 * "safe" against growing .hero taller, but was never actually tested
 * against how much slack .hero already has. Measured that directly:
 * because .hero__image is *also* fluid across this same range and grows
 * faster than .hero__content's own natural height needs to, the image
 * track is already the taller of `align-items:stretch`'s two tracks for
 * almost this whole range — pushing padding-top up to 140px consumes
 * that existing slack rather than growing .hero, confirmed unchanged
 * hero height at every width from ~1150px up. Only right at the 1025px
 * floor (where .hero__image is at its own 480px minimum, with no slack
 * to spare) does this add real height — a measured, minor +30px (~6%).
 * slope=(0-140)/749=-0.18692 -> -18.692vw; intercept=140-(-0.18692*1024)=331.4
 */
@media (min-width: 1025px) and (max-width: 1773px) {
	.hero__badge-wrap {
		left: clamp(-13.5px, -0.6008vw - 2.85px, -9px);
		top: clamp(-88px, -4.005vw - 16.99px, -58px);
		width: clamp(162px, 9.81vw + 61.54px, 235.483px);
		height: clamp(70px, 4.35vw + 25.5px, 102.547px);
	}

	.hero__content {
		padding-top: clamp(0px, -18.692vw + 331.4px, 140px);
	}
}

/*
 * 1440px-1773px only: the heading's fluid clamp(44px, 2.67vw+16.66px, 64px)
 * is mathematically smooth, but text reflow isn't — at ~55.6px (measured
 * exactly at 1459px) a word that fit on the "MASTER YOUR" line stops
 * fitting, and the heading gains a whole extra wrapped line right at that
 * threshold. Below 1440px the same clamp is fine (confirmed: 55.1px at
 * 1440px itself, no wrap change). Capping the heading at a flat 55px for
 * this sub-range — instead of continuing to grow toward 64px — keeps it
 * on the safe side of that specific word-wrap threshold. This does trade
 * away hitting the full 64px until 1774px (a bigger jump right at that
 * boundary than the smooth approach elsewhere in this file), but a
 * visible size jump is preferable to text that unpredictably reflows.
 */
@media (min-width: 1440px) and (max-width: 1773px) {
	.hero .heading-xl {
		font-size: 55px;
	}
}

/* Marquee
--------------------------------------------- */

.marquee-section {
	margin-bottom: 16px;
}

.marquee {
	background: var(--color-purple-deep);
	border-radius: 12px;
	overflow: hidden;
	padding: 36px 0;
}

.marquee__track {
	display: flex;
	align-items: center;
	gap: 24px;
	width: max-content;
	/* 30s here is just the fallback/base duration — section-marquee.php sets
	 * animation-duration inline per-request, scaled to however many sets it
	 * renders, so the scroll speed (px/sec) stays constant regardless of
	 * item count. See the comment there for why the set count is dynamic. */
	animation: marquee-scroll 30s linear infinite;
}

.marquee__item {
	font-family: var(--font-serif);
	font-size: 48px;
	text-transform: uppercase;
	color: var(--color-white);
	white-space: nowrap;
}

.marquee__star {
	display: block;
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}

.marquee__star img,
.marquee__star svg {
	width: 24px;
	height: 24px;
}

@keyframes marquee-scroll {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

@media (max-width: 767px) {
	.marquee {
		padding: 5px 0;
	}

	.marquee__item {
		font-size: 26px;
	}

	.marquee__star,
	.marquee__star img,
	.marquee__star svg {
		width: 16px;
		height: 16px;
	}
}

/* Gold Standard
--------------------------------------------- */

.gold {
	background: var(--color-lavender-soft);
	padding: 120px 40px;
	display: flex;
	justify-content: center;
	margin-bottom: 16px;
	position: relative;
	overflow: hidden;
}

.gold__sparkle {
	position: absolute;
	left: 75.95%;
	top: -85px;
	width: 14.3%;
	height: auto;
	pointer-events: none;
	transform: skew(30deg, -20deg);
}

.gold__inner {
	display: flex;
	gap: 60px;
	max-width: 1440px;
	width: 100%;
	align-items: stretch;
}

.gold__image {
	width: 646px;
	border-radius: 24px;
	overflow: hidden;
	flex-shrink: 0;
}

.gold__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gold__content {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	gap: 36px;
}

.gold__content .heading-xl {
	font-size: 60px;
}

.gold__content .body-lg {
	max-width: 494px;
	margin-top: 20px;
}

.gold__table {
	display: grid;
	grid-template-columns: 1fr 224px 224px;
	background: var(--color-white);
	border-radius: 20px;
	overflow: hidden;
	width: 100%;
}

.gold__table-cell {
	min-height: 60px;
	display: flex;
	align-items: center;
	padding: 15px 25px;
	border-bottom: 1px solid rgba(17, 44, 69, 0.1);
}

.gold__table-cell.col-lumora,
.gold__table-cell.col-others {
	justify-content: center;
	border-bottom: 1px solid rgba(17, 44, 69, 0.15);
}

.gold__table-cell.col-lumora {
	background: var(--color-purple-deep);
	border-bottom-color: var(--color-purple-mid);
}

/* Matches .gold__table's own 20px radius — the violet column reads as its own rounded card floating inside the table, per Figma. */
.gold__table-cell.col-lumora.first {
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
}

.gold__table-cell.col-lumora.last {
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
}

.gold__table-cell.col-lumora.last,
.gold__table-cell.col-others.last {
	border-bottom: none;
}

.gold__table-cell.header {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 20px;
}

.gold__table-cell.col-lumora.header {
	color: var(--color-white);
}

.gold__table-cell.col-others.header {
	color: rgba(7, 18, 27, 0.8);
	font-weight: 400;
	font-size: 16px;
}

.gold__table-cell.feature-row {
	gap: 12px;
	font-family: var(--font-body);
	font-size: 16px;
}

.gold__table-cell.feature-row img,
.gold__table-cell.feature-row svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.gold__table-cell img.status-icon,
.gold__table-cell.col-lumora svg,
.gold__table-cell.col-others svg {
	width: 22px;
	height: 22px;
}

@media (max-width: 1024px) {
	.gold__inner {
		flex-direction: column;
	}

	.gold__image {
		width: 100%;
		height: 420px;
	}

	.gold__content .heading-xl {
		font-size: 40px;
	}
}

@media (max-width: 767px) {
	.gold {
		padding: 15px 16px;
	}

	.gold__inner {
		gap: 24px;
	}

	.gold__image {
		height: 300px;
	}

	.gold__content {
		gap: 24px;
	}

	.gold__content .heading-xl {
		font-size: 28px;
	}

	.gold .btn {
		align-self: center;
	}

	.gold__table {
		grid-template-columns: 1fr 64px 64px;
	}

	.gold__table-cell {
		padding: 10px;
		min-height: 48px;
	}

	.gold__table-cell.feature-row {
		font-size: 13px;
		gap: 8px;
	}

	.gold__table-cell.header {
		font-size: 13px;
	}

	.gold__table-cell img.status-icon,
	.gold__table-cell.col-lumora svg,
	.gold__table-cell.col-others svg {
		width: 18px;
		height: 18px;
	}
}

/*
 * 1025px-1773px: same fixed-column-squeeze pattern as Hero (confirmed in
 * the sitewide audit) — .gold__image is a fixed 646px flex sibling next
 * to .gold__content, which contains .gold__table's grid
 * (1fr 224px 224px). Neither the image nor the table's two fixed columns
 * ever shrink, so once the section gets narrower than image+table's
 * combined minimum, the table forces itself past .gold__content's own
 * box (confirmed live: 163px past the viewport at 1200px). Reusing the
 * same range and interpolation method as Hero, not a new breakpoint.
 */
@media (min-width: 1025px) and (max-width: 1773px) {

	/* slope=(646-330)/749=0.4219 -> 42.19vw; intercept=330-0.4219*1024=-102.03 */
	.gold__image {
		width: clamp(330px, 42.19vw - 102.03px, 646px);
	}

	.gold__table {
		/* minmax(0,1fr) is the actual overflow-bug fix — same as Hero's grid
		 * column — so the label column can shrink instead of forcing the
		 * table past .gold__content. The two status columns also scale down
		 * (MIN reuses the tuned <=767px value) so there's real room freed,
		 * not just a shrink-to-nothing label column.
		 * slope=(224-64)/749=0.2136 -> 21.36vw; intercept=64-0.2136*1024=-155.7
		 */
		grid-template-columns: minmax(0, 1fr) clamp(64px, 21.36vw - 155.7px, 224px) clamp(64px, 21.36vw - 155.7px, 224px);
	}

	.gold__content .heading-xl {
		/* MIN(1024)=40px, MAX(1773)=60px. slope=20/749=0.0267 -> 2.67vw; intercept=40-0.0267*1024=12.66 */
		font-size: clamp(40px, 2.67vw + 12.66px, 60px);
	}
}

/* Reclaim
--------------------------------------------- */

.reclaim {
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--color-lavender-gradient) 50%, rgba(255, 255, 255, 0));
	padding: 112px 40px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
	margin-bottom: 16px;
	text-align: center;
}

.reclaim__ellipse {
	position: absolute;
	left: 50%;
	top: -786px;
	width: 1262px;
	height: 1262px;
	transform: translateX(-50%);
	pointer-events: none;
	z-index: -1;
}

.reclaim .heading-xl {
	font-size: 60px;
}

.reclaim__heading {
	max-width: 646px;
	margin: 0 auto;
}

.reclaim__intro {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	max-width: 700px;
	margin: 0 auto;
}

.reclaim__grid {
	position: relative;
	display: flex;
	gap: 20px;
	align-items: stretch;
	width: 100%;
	max-width: 1254px;
	text-align: left;
}

.reclaim__list {
	display: flex;
	flex-direction: column;
	gap: 20px;
	flex: 1;
}

.reclaim__item {
	background: var(--color-lavender);
	border: 1px solid var(--color-ink);
	border-radius: 24px;
	display: flex;
	align-items: center;
	gap: 46px;
	padding: 36px 33px;
}

.reclaim__item-icon {
	width: 74px;
	height: 74px;
	border-radius: 38px;
	background: var(--color-white);
	border: 1px solid var(--color-purple-line);
	box-shadow: 0 4px 0 var(--color-purple-line);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.reclaim__item-icon img {
	width: 36px;
	height: 36px;
}

.reclaim__item h3 {
	/* Overrides the scaffold's h1-h6 reset — see .nav__links for why an explicit value is needed. */
	margin: 0 0 6px;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 32px;
}

.reclaim__item p {
	/* Overrides the scaffold's `p { margin-bottom: 1.5em }` — see .nav__links. */
	margin: 0;
	font-family: var(--font-body);
	font-size: 20px;
}

.reclaim__image {
	flex: 1;
	position: relative;
}

.reclaim__photo-wrap {
	position: absolute;
	inset: 0;
	border-radius: 24px;
	overflow: hidden;
}

.reclaim__photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.reclaim__sparkle {
	position: absolute;
	left: 67.4%;
	top: -37.6%;
	width: 75.4%;
	height: auto;
	pointer-events: none;
	z-index: 0;
}

@media (max-width: 1024px) {
	.reclaim__grid {
		flex-direction: column;
	}

	.reclaim__image {
		order: -1;
		width: 100%;
		min-height: 360px;
	}

	.reclaim .heading-xl {
		font-size: 40px;
	}
}

/* <=767px only: matches Figma node 68:3255 exactly. */
@media (max-width: 767px) {
	.reclaim {
		padding: 24px 0;
		gap: 20px;
		background: none;
	}

	.reclaim__ellipse {
		display: none;
	}

	.reclaim__grid {
		gap: 13px;
	}

	.reclaim__list {
		gap: 8px;
	}

	.reclaim__item {
		padding: 17px;
		gap: 12px;
	}

	.reclaim__item h3 {
		font-size: 20px;
		line-height: 30px;
		margin-bottom: 2px;
	}

	.reclaim__item p {
		font-size: 14px;
		line-height: 20px;
	}

	.reclaim__item-icon {
		width: 40px;
		height: 40px;
	}

	.reclaim__item-icon img {
		width: 19px;
		height: 19px;
	}

	.reclaim__image {
		min-height: 272px;
	}

	.reclaim .heading-xl {
		font-size: 28px;
		line-height: 36px;
	}

	.reclaim .btn {
		font-size: 14px;
		padding: 14px 26px;
	}
}

/* Ritual
--------------------------------------------- */

.ritual {
	background: var(--color-lavender);
	padding: 112px 224px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
	margin-bottom: 16px;
	text-align: center;
}

.ritual__ellipse {
	position: absolute;
	left: 987px;
	top: -495px;
	width: 989px;
	height: 989px;
	pointer-events: none;
	z-index: -1;
}

.ritual__card {
	background: var(--color-white);
	border: 1px solid var(--color-ink);
	border-radius: 27px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	padding: 24px 24px 24px 96px;
	width: 100%;
	text-align: left;
}

.ritual__copy {
	display: flex;
	flex-direction: column;
	gap: 40px;
	max-width: 553px;
}

.ritual__copy .heading-xl {
	font-size: 60px;
}

.ritual__list {
	/* Overrides the scaffold's `ul, ol { margin: 0 0 1.5em 3em; }` — see .nav__links. */
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ritual__list li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 20px;
}

.ritual__list img,
.ritual__list svg {
	width: 28px;
	height: 28px;
}

.ritual__image {
	width: 605px;
	height: 640px;
	border-radius: 27px;
	overflow: hidden;
	flex-shrink: 0;
}

.ritual__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: bottom;
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	width: 100%;
}

.feature-card {
	background: var(--color-white);
	border: 1px solid var(--color-ink);
	border-radius: 27px;
	padding: 33px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 28px;
	text-align: left;
	transition: box-shadow 0.15s ease;
}

.feature-card:hover {
	box-shadow: 4px 8px 0 var(--color-ink);
}

.feature-card__icon {
	width: 57px;
	height: 57px;
	border-radius: 38px;
	background: var(--color-white);
	border: 1px solid var(--color-ink);
	box-shadow: 0 4px 0 var(--color-ink);
	display: flex;
	align-items: center;
	justify-content: center;
}

.feature-card__icon img {
	width: 28px;
	height: 28px;
}

.feature-card p {
	/* Overrides the scaffold's `p { margin-bottom: 1.5em }` — see .nav__links. */
	margin: 0;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 20px;
}

@media (max-width: 1024px) {
	.ritual {
		padding: 64px 32px;
	}

	.ritual__card {
		flex-direction: column;
		padding: 32px;
	}

	.ritual__image {
		width: 100%;
		height: 360px;
	}

	.feature-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.ritual__copy .heading-xl {
		font-size: 40px;
	}
}

/* .ritual__card, .ritual__copy, .ritual__list rules below: matches Figma node 68:3201 exactly. */
@media (max-width: 767px) {
	.ritual {
		padding: 15px 16px;
		gap: 24px;
	}

	.ritual__ellipse {
		display: none;
	}

	.ritual__card {
		padding: 24px 16px;
		gap: 20px;
	}

	.ritual__copy {
		gap: 16px;
	}

	.ritual__copy .body-lg {
		line-height: 24px;
	}

	.ritual__list {
		gap: 10px;
	}

	.ritual__list li {
		font-family: var(--font-body);
		font-weight: 400;
		line-height: 24px;
		color: var(--color-ink);
	}

	.ritual__list img,
	.ritual__list svg {
		width: 24px;
		height: 24px;
	}

	.ritual__image {
		order: -1;
		height: 366px;
	}

	/* gap 12->8, padding 20->14: extra room for the sub-551px font-size scale below — see the comment above that block. */
	.feature-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 8px;
	}

	.feature-card {
		padding: 16px;
		gap: 8px;
		border-radius: 16px;
		justify-content: center;
	}

	.feature-card__icon {
		width: 36px;
		height: 36px;
	}

	.feature-card__icon img {
		width: 20px;
		height: 20px;
	}

	.feature-card p {
		font-family: var(--font-body);
		font-weight: 500;
		line-height: 32px;
		font-size: 16px;
	}

	.ritual__copy .heading-xl {
		font-size: 28px;
		/* .ritual__copy's own 16px gap is correct for body-to-list; this pulls heading-to-body in to Figma's narrower 8px. */
		margin-bottom: -8px;
	}
}

/*
 * Recalibrated for Figma node 68:3233 (2026-08-20): switching
 * .feature-card p to the correct font (Host Grotesk Medium, per Figma —
 * it was wrongly using the display font) and the card's padding
 * 14px->17px both change the text's real available width, so the whole
 * ceiling curve below was re-measured live at the same 320/375/410/440/
 * 480/490px anchor points using the same bisection method as the
 * original fix, each anchored ~0.4px below its measured ceiling. The
 * new font/padding combo turned out to have MORE headroom than before at
 * every point (e.g. 320px: was 7px, now 8.14px), so flat 16px becomes
 * safe by ~490px instead of 551px — one fewer segment is needed.
 */
@media (min-width: 480px) and (max-width: 489px) {
	.feature-card p {
		/* slope=(16-15.55)/10=0.045 -> 4.5vw; intercept=15.55-0.045*480=-6.05 */
		font-size: clamp(15.55px, 4.5vw - 6.05px, 16px);
	}
}

@media (min-width: 440px) and (max-width: 479px) {
	.feature-card p {
		/* slope=(15.55-13.70)/40=0.04625 -> 4.625vw; intercept=13.70-0.04625*440=-6.65 */
		font-size: clamp(13.70px, 4.625vw - 6.65px, 15.55px);
	}
}

@media (min-width: 410px) and (max-width: 439px) {
	.feature-card p {
		/* slope=(13.70-12.31)/30=0.046333 -> 4.6333vw; intercept=12.31-0.046333*410=-6.687 */
		font-size: clamp(12.31px, 4.6333vw - 6.687px, 13.70px);
	}
}

@media (min-width: 375px) and (max-width: 409px) {
	.feature-card p {
		/* slope=(12.31-10.68)/35=0.046571 -> 4.6571vw; intercept=10.68-0.046571*375=-6.784 */
		font-size: clamp(10.68px, 4.6571vw - 6.784px, 12.31px);
	}
}

@media (max-width: 374px) {
	.feature-card p {
		/* slope=(10.68-8.14)/55=0.046182 -> 4.6182vw; intercept=8.14-0.046182*320=-6.638 */
		font-size: clamp(8.14px, 4.6182vw - 6.638px, 10.68px);
	}
}

/*
 * 1025px-1773px: same fixed-column-squeeze pattern as Hero and Gold
 * Standard — .ritual__image is a fixed 605px flex sibling, .ritual__card
 * has a fixed 96px left padding, and .ritual itself has a fixed 224px
 * section padding — none of them ever shrink, so the row eventually
 * needs more width than the section provides (confirmed live: the image
 * spilling 189px past .ritual__card's own right edge at 1440px, the
 * exact bug reported). Reusing the same range and interpolation method
 * as Hero, not a new breakpoint.
 */
@media (min-width: 1025px) and (max-width: 1773px) {
	.ritual {
		/* left/right slope=(224-32)/749=0.2564 -> 25.64vw; intercept=32-0.2564*1024=-230.55 */
		padding-left: clamp(32px, 25.64vw - 230.55px, 224px);
		padding-right: clamp(32px, 25.64vw - 230.55px, 224px);
	}

	.ritual__card {
		/* MIN reuses the tuned <=1024px stacked-layout padding (32px, the
		 * one side that's dramatically different from desktop's 96px) — the
		 * other three sides stay at their fixed 24px, close enough to the
		 * 1024 tier's own 32px that no fluid treatment is needed there.
		 * slope=(96-32)/749=0.0854 -> 8.54vw; intercept=32-0.0854*1024=-55.45
		 */
		padding-left: clamp(32px, 8.54vw - 55.45px, 96px);
	}

	.ritual__copy {
		/* Lets the copy column actually shrink instead of forcing the row to
		 * overflow — same fix as Hero's grid min-width:0, applied to a flex
		 * item instead of a grid track. */
		min-width: 0;
	}

	.ritual__copy .heading-xl {
		/* MIN(1024)=40px, MAX(1773)=60px. slope=20/749=0.0267 -> 2.67vw; intercept=40-0.0267*1024=12.66 */
		font-size: clamp(40px, 2.67vw + 12.66px, 60px);
	}

	.ritual__image {
		/*
		 * width: slope=(605-311)/749=0.3925 -> 39.25vw; intercept=311-0.3925*1024=-90.9
		 * height: slope=(640-329)/749=0.4152 -> 41.52vw; intercept=329-0.4152*1024=-96.2
		 */
		width: clamp(311px, 39.25vw - 90.9px, 605px);
		height: clamp(329px, 41.52vw - 96.2px, 640px);
	}
}

/*
 * .feature-card p wraps to 2 lines for its longest label ("Total Hormonal
 * Balance") well above 1773px, and font-size alone can't fix it without
 * going down to ~11px at 1025px — smaller than any text used elsewhere in
 * this design. Measured why: .feature-grid stays a 4-column grid all the
 * way from 1025px to 1920px+ (only becomes 2-column at <=1024px,
 * confirmed unaffected there — 447px cards, comfortably 1 line at 20px),
 * so cards keep narrowing right up near the true desktop width, and the
 * card's own fixed 33px padding was eating into the already-tight text
 * area on top of that. Fixing both together (padding first, since it's
 * free width; font-size still shrinks some, but the floor lands at a
 * more reasonable ~14px instead of ~11px) — same combined approach as
 * Hero's image+padding fix.
 *
 * Padding: MIN reuses the tuned <=767px value (20px); MAX is the current
 * 33px, anchored at the same empirically-verified 1900px used below.
 * slope=(33-20)/(1900-1024)=0.01484 -> 1.484vw; intercept=20-1.484*10.24=4.80
 */
@media (min-width: 1025px) {
	.feature-card {
		padding: clamp(20px, 1.484vw + 4.8px, 33px);
	}
}

/*
 * With the padding fix above in place, re-measured the actual MAXIMUM
 * font-size that keeps "Total Hormonal Balance" (the longest label) on
 * 1 line, at 7 points 150px apart: 13px/1025px, 13.75px/1150px,
 * 14.5px/1300px, 16px/1450px, 17px/1600px, 18px/1750px, 20px/1900px.
 *
 * Two earlier attempts were both too coarse and broke live: a single
 * 2-point clamp (1025px/13px to 1900px/20px) gave 15.2px at 1300px
 * against a real 14.5px max; a 3-segment version (300px each) still gave
 * 18.5px at 1750px against a real 18px max. These MAXIMUM-safe-size
 * values trace a curve that bows *below* any chord drawn between two
 * points on it — the further apart the anchors, the more a straight
 * line overshoots in the middle. Halving the segment width (150px, 6
 * segments) fixed both known failures; every interior anchor below also
 * has 0.25px shaved off its own measured value as a buffer against the
 * same error recurring at a finer scale than has been tested — the two
 * true endpoints (1025px and 1900px, the latter matching the original,
 * un-fixed desktop value) are left exact.
 */
@media (min-width: 1025px) and (max-width: 1150px) {
	.feature-card p {
		/* slope=(13.5-13)/125=0.004 -> 0.4vw; intercept=13-0.4*10.25=8.9 */
		font-size: clamp(13px, 0.4vw + 8.9px, 13.5px);
	}
}

@media (min-width: 1151px) and (max-width: 1300px) {
	.feature-card p {
		/* slope=(14.25-13.5)/150=0.005 -> 0.5vw; intercept=13.5-0.5*11.5=7.75 */
		font-size: clamp(13.5px, 0.5vw + 7.75px, 14.25px);
	}
}

@media (min-width: 1301px) and (max-width: 1450px) {
	.feature-card p {
		/* slope=(15.75-14.25)/150=0.01 -> 1vw; intercept=14.25-1*13=1.25 */
		font-size: clamp(14.25px, 1vw + 1.25px, 15.75px);
	}
}

@media (min-width: 1451px) and (max-width: 1600px) {
	.feature-card p {
		/* slope=(16.75-15.75)/150=0.006667 -> 0.6667vw; intercept=15.75-0.6667*14.5=6.083 */
		font-size: clamp(15.75px, 0.6667vw + 6.083px, 16.75px);
	}
}

@media (min-width: 1601px) and (max-width: 1750px) {
	.feature-card p {
		/* slope=(17.75-16.75)/150=0.006667 -> 0.6667vw; intercept=16.75-0.6667*16=6.083 */
		font-size: clamp(16.75px, 0.6667vw + 6.083px, 17.75px);
	}
}

@media (min-width: 1751px) and (max-width: 1900px) {
	.feature-card p {
		/* slope=(20-17.75)/150=0.015 -> 1.5vw; intercept=17.75-1.5*17.5=-8.5 */
		font-size: clamp(17.75px, 1.5vw - 8.5px, 20px);
	}
}

/* Results
--------------------------------------------- */

.results {
	background: var(--color-lavender);
	padding: 120px 40px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
	margin-bottom: 16px;
	text-align: center;
	position: relative;
}

.results .heading-xl {
	font-size: 60px;
}

.results__ellipse {
	position: absolute;
	width: 538px;
	height: 538px;
	pointer-events: none;
	z-index: -1;
}

.results__ellipse--top {
	left: 82.31%;
	top: -141px;
}

.results__ellipse--bottom {
	left: -8.64%;
	top: 805px;
}

.results__heading-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}

.results__lead {
	max-width: 584px;
}

.results__slider-wrap {
	position: relative;
	width: 940px;
	max-width: 100%;
}

.results__slider {
	position: relative;
	border-radius: 24px;
	box-shadow: 6px 12px 0 var(--color-ink);
	overflow: hidden;
}

.results__slider img {
	width: 100%;
	display: block;
}

.results__gradient {
	position: absolute;
	inset: 0;
	border-radius: 24px;
	background: linear-gradient(to bottom, rgba(17, 44, 69, 0) 60%, #bb25ff 100%);
	pointer-events: none;
}

.results__labels {
	position: absolute;
	bottom: 24px;
	left: 0;
	right: 0;
	display: flex;
	justify-content: space-around;
	pointer-events: none;
}

.results__labels span {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 32px;
	text-transform: uppercase;
	color: #f3f8ff;
}

.results__nav {
	position: absolute;
	top: 50%;
	left: -28px;
	right: -28px;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: space-between;
	pointer-events: none;
}

.results__nav .results__arrow {
	pointer-events: auto;
}

.results__arrow {
	/* Overrides the scaffold's `button { padding: 0.6em 1em 0.4em }` — see .nav__links. */
	padding: 0;
	width: 60px;
	height: 60px;
	border-radius: 53px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-white);
	border: 1px solid var(--color-ink);
}

.results__arrow--next {
	background: var(--color-pink);
	border: none;
}

.results__arrow img,
.results__arrow svg {
	width: 10px;
	height: 20px;
}

.results__arrow--prev img,
.results__arrow--prev svg {
	transform: scaleX(-1);
}

@media (max-width: 1024px) {
	.results__slider-wrap {
		width: 100%;
	}

	.results__nav {
		left: -16px;
		right: -16px;
	}

	.results .heading-xl {
		font-size: 40px;
	}
}

@media (max-width: 767px) {
	.results {
		padding: 15px 16px;
		gap: 24px;
	}

	.results__ellipse {
		display: none;
	}

	.results__labels span {
		font-size: 22px;
	}

	.results__nav {
		left: -8px;
		right: -8px;
	}

	.results__arrow {
		width: 44px;
		height: 44px;
	}

	.results .heading-xl {
		font-size: 28px;
	}
}

/* Testimonials
--------------------------------------------- */

.testimonials {
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--color-pink-gradient) 50%, rgba(255, 255, 255, 0));
	padding: 120px 40px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
	margin-bottom: 16px;
	text-align: center;
}

.testimonials .heading-xl {
	font-size: 60px;
}

.testimonials__heading {
	max-width: 1000px;
}

.testimonials__grid {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 16px;
	justify-content: center;
	width: 100%;
	max-width: var(--container-max);
}

.testimonial-card {
	background: var(--color-lavender-pale);
	border: 1px solid var(--color-ink);
	border-radius: 24px;
	padding: 25px;
	display: flex;
	flex-direction: column;
	gap: 24px;
	text-align: left;
	flex: 1 1 0;
	min-width: 0;
	max-width: 370px;
	transition: box-shadow 0.15s ease;
}

.testimonial-card:hover {
	box-shadow: 4px 8px 0 var(--color-ink);
}

.testimonial-card h3 {
	/* Overrides the scaffold's h1-h6 reset — see .nav__links for why an explicit value is needed. */
	margin: 0 0 8px;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 20px;
	text-transform: uppercase;
	color: var(--color-plum);
}

.testimonial-card p.review-text {
	/* Overrides the scaffold's `p { margin-bottom: 1.5em }` — see .nav__links. */
	margin: 0;
	font-family: var(--font-body);
	font-size: 20px;
}

.testimonial-card__author {
	display: flex;
	align-items: center;
	gap: 16px;
}

.testimonial-card__author img.avatar {
	width: 49px;
	height: 49px;
	border-radius: 98px;
	object-fit: cover;
}

.testimonial-card__author-name {
	font-family: var(--font-body);
	font-size: 20px;
}

.testimonial-card__stars {
	display: flex;
	gap: 1px;
	margin-top: 8px;
}

.testimonial-card__stars img,
.testimonial-card__stars svg {
	width: 20px;
	height: 20px;
}

@media (max-width: 1024px) {
	.testimonials__grid {
		flex-wrap: wrap;
	}

	.testimonial-card {
		flex: 1 1 calc(50% - 8px);
		max-width: calc(50% - 8px);
	}

	.testimonials .heading-xl {
		font-size: 40px;
	}
}

/*
 * <=767px only: matches Figma node 68:3312 exactly (values corrected
 * against Figma's own Dev Mode inspect panel): heading-to-grid gap is
 * 20px, card-to-card gap within the grid is 16px, card padding is
 * 24px. The horizontal swipeable carousel itself (native scroll-snap,
 * hidden scrollbar) is unchanged from the earlier undesigned pass —
 * that mechanism was already a reasonable choice — only the values
 * change: fixed 296px cards (not 85% of viewport) and the section's
 * own padding/gap/typography now match the real reference instead of
 * a guess.
 */
@media (max-width: 767px) {
	.testimonials {
		/* border-radius/overflow already come from the shared .section-inner class at every breakpoint — no need to redeclare here. */
		padding: 24px 0;
		gap: 20px;
	}

	.testimonials .eyebrow-badge {
		padding: 7px 11px;
	}

	.testimonials .heading-xl {
		font-size: 28px;
		line-height: 36px;
	}

	.testimonials__grid {
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 16px;
		justify-content: flex-start;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding: 4px 16px 8px;
		margin: 0 -16px;
	}

	.testimonials__grid::-webkit-scrollbar {
		display: none;
	}

	.testimonial-card {
		flex: 0 0 296px;
		width: 296px;
		max-width: 296px;
		padding: 24px;
		scroll-snap-align: center;
	}

	.testimonial-card h3 {
		line-height: 28px;
	}

	.testimonial-card p.review-text {
		font-size: 16px;
		line-height: 24px;
		letter-spacing: -0.32px;
	}

	.testimonial-card__author-name {
		line-height: 28px;
	}
}

/* Instagram
--------------------------------------------- */

.instagram {
	background: var(--color-lavender);
	padding: 120px 40px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
	margin-bottom: 0;
	text-align: center;
}

.instagram .heading-xl {
	font-size: 60px;
}

.instagram__scroller {
	width: 100%;
	overflow: hidden;
}

.instagram__track {
	display: flex;
	align-items: center;
	gap: 12px;
	width: max-content;
	animation: instagram-scroll 28s linear infinite;
}

.instagram__scroller:hover .instagram__track {
	animation-play-state: paused;
}

@keyframes instagram-scroll {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

.instagram__item {
	position: relative;
	flex-shrink: 0;
	width: 278px;
	height: 364px;
	/* Matches --radius-lg, the same "rounded card" radius used for .hero__image/.footer/.cta — 12px read as barely-rounded against Figma's more pronounced corner. */
	border-radius: var(--radius-lg);
	overflow: hidden;
}

.instagram__item img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.instagram__item--pill {
	border-radius: 444px;
}

.instagram__item--short {
	height: 256px;
}

.instagram__gradient {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.instagram__item--pink .instagram__gradient {
	background: linear-gradient(to bottom, rgba(17, 44, 69, 0) 60%, #f472b6 100%);
}

.instagram__item--purple .instagram__gradient {
	background: linear-gradient(to bottom, rgba(17, 44, 69, 0) 60%, #af72f4 100%);
}

@media (max-width: 1024px) {
	.instagram .heading-xl {
		font-size: 40px;
	}
}

@media (max-width: 767px) {
	.instagram {
		padding: 15px 16px;
		gap: 24px;
	}

	.instagram__item {
		width: 180px;
		height: 236px;
	}

	.instagram__item--short {
		height: 166px;
	}

	.instagram .heading-xl {
		font-size: 28px;
	}
}

/* FAQ
--------------------------------------------- */

.faq {
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--color-lavender-gradient) 50%, rgba(255, 255, 255, 0));
	padding: 120px 40px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 36px;
	margin-bottom: 16px;
	backdrop-filter: blur(16px);
}

.faq .heading-xl {
	font-size: 60px;
	text-align: center;
}

.faq__ellipse {
	position: absolute;
	width: 1323px;
	height: 1323px;
	pointer-events: none;
	z-index: -1;
	filter: blur(8px);
}

.faq__ellipse--a {
	left: 73px;
	top: 62px;
}

.faq__heading {
	max-width: 700px;
}

.faq__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	max-width: 1170px;
}

.faq__item {
	background: var(--color-white);
	border: 1px solid var(--color-lavender-soft);
	border-radius: 16px;
	padding: 16px 32px;
	width: 100%;
	text-align: left;
}

.faq__item.open {
	border-color: var(--color-purple-deep);
	box-shadow: 3px 6px 0 var(--color-ink);
	padding: 24px 32px;
}

.faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	cursor: pointer;
	width: 100%;
	/* Overrides the scaffold's `button { padding: 0.6em 1em 0.4em }` — see .nav__links. */
	padding: 0;
	background: none;
	border: none;
	text-align: left;
}

.faq__question span {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 20px;
}

.faq__toggle {
	width: 38px;
	height: 38px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.faq__item.open .faq__toggle {
	background: var(--color-pink);
	border-radius: 12px;
}

.faq__toggle img,
.faq__toggle svg {
	width: 16px;
	height: auto;
}

/*
 * The source design swaps the toggle icon's <img src> on click; both icons
 * are always in the DOM here (inline SVG), so CSS swaps visibility instead
 * based on .faq__item.open — see faq-accordion.js.
 */
.faq__toggle-icon {
	display: flex;
}

.faq__toggle-icon--minus {
	display: none;
}

.faq__item.open .faq__toggle-icon--minus {
	display: flex;
}

.faq__item.open .faq__toggle-icon--plus {
	display: none;
}

.faq__answer {
	/* Overrides the scaffold's `p { margin-bottom: 1.5em }` — see .nav__links. */
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.62;
	max-width: 600px;
	overflow: hidden;
	max-height: 0;
	transition: max-height 0.3s ease;
}

.faq__item.open .faq__answer {
	max-height: 220px;
	margin-top: 16px;
}

/*
 * Was flex-wrap with flex:1;min-width:220px — visually identical once 4
 * cards settle on one row, but flex-wrap's per-card width jumps in
 * discrete, hard-to-predict steps at each row-count change (4-per-row vs
 * 3 vs 2 vs 1), which made a smooth font-size fix intractable — the same
 * technique that worked cleanly for .feature-grid's `repeat(4, 1fr)`
 * grid (predictable, continuous card width) doesn't transfer to
 * flex-wrap's jumps. Grid with an explicit, breakpointed column count
 * (matching .feature-grid's own pattern below) makes card width a
 * smooth function of viewport width, same as every other fluid fix in
 * this file.
 */
.trust-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	width: 100%;
	max-width: 1170px;
}

.trust-card {
	background: var(--color-white);
	border: 1px solid var(--color-lavender-soft);
	border-radius: 27px;
	padding: 33px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 28px;
	transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.trust-card:hover {
	border-color: var(--color-ink);
	box-shadow: 4px 8px 0 var(--color-ink);
}

/*
 * .trust-grid has its own max-width:1170px (unlike .feature-grid, which
 * has no such cap and keeps growing up to the section's own width) — so
 * card width stops growing once the section's inner width reaches
 * 1170px, at viewport=1250px (.faq's fixed 40px each-side padding: 1250
 * - 80 = 1170). Anchoring padding's MAX at 1900px like Ritual's fix
 * would have kept growing padding via vw well past where the card
 * itself stops growing — confirmed live, this was actively shrinking
 * the usable text area as viewport increased from 1450px to 1920px
 * (26.3px padding at 1450px, 33px "should be" only at a true 1900px
 * anchor) even though the card was already at its final width. Anchored
 * at the real plateau (1250px) instead.
 */
@media (min-width: 1025px) {
	.trust-card {
		/* slope=(33-20)/(1250-1024)=0.05752 -> 5.752vw; intercept=20-5.752*10.24=-38.9 */
		padding: clamp(20px, 5.752vw - 38.9px, 33px);
	}
}

.trust-card img {
	width: 56px;
	height: 56px;
}

.trust-card p {
	/* Overrides the scaffold's `p { margin-bottom: 1.5em }` — see .nav__links. */
	margin: 0;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 20px;
	text-transform: uppercase;
	color: var(--color-plum);
}

/*
 * Same measure-first approach as .feature-card p, applied to the
 * longest trust-card label ("24/7 Customer Support"). The first pass at
 * this (4 segments, 0.25px buffer) still wrapped live at 1150px and
 * 1200px — re-measuring after the .trust-card padding/plateau fix above
 * showed the true safe-maximum curve is NOT a straight line between
 * 1088px and 1250px: card width keeps growing past the padding's own
 * 1250px cap (the padding plateaus at 1250px, but .trust-grid itself
 * doesn't hit its max-width:1170px plateau until ~1290-1300px), so the
 * safe font-size keeps climbing in a series of different slopes right up
 * to 1300px, not just one. Re-measured live at 1025/1088/1120/1140/1150/
 * 1160/1180/1200/1220/1250/1260/1270/1300px (plus 1450/1900/1920px to
 * confirm the post-1300px plateau) and rebuilt as 9 tight segments, each
 * anchored ~0.35-0.4px below its measured safe-maximum instead of one
 * segment's exact ceiling — the earlier 12.75px ceiling at 1150px left
 * ~0px of real buffer once rendered (computed 12.744px still wrapped).
 * Card width plateaus at 1300px onward (confirmed identical at 1300px,
 * 1450px, 1900px, 1920px), so 13.7px is the permanent ceiling past that.
 */
@media (min-width: 1025px) and (max-width: 1088px) {
	.trust-card p {
		/* slope=(11.5-10.9)/63=0.009524 -> 0.9524vw; intercept=10.9-0.9524*10.25=1.14 */
		font-size: clamp(10.9px, 0.9524vw + 1.14px, 11.5px);
	}
}

@media (min-width: 1089px) and (max-width: 1120px) {
	.trust-card p {
		/* slope=(11.8-11.5)/31=0.009677 -> 0.9677vw; intercept=11.5-0.9677*10.89=0.96 */
		font-size: clamp(11.5px, 0.9677vw + 0.96px, 11.8px);
	}
}

@media (min-width: 1121px) and (max-width: 1150px) {
	.trust-card p {
		/* slope=(12.1-11.8)/29=0.010345 -> 1.0345vw; intercept=11.8-1.0345*11.21=0.2 */
		font-size: clamp(11.8px, 1.0345vw + 0.2px, 12.1px);
	}
}

@media (min-width: 1151px) and (max-width: 1180px) {
	.trust-card p {
		/* slope=(12.3-12.1)/29=0.006897 -> 0.6897vw; intercept=12.1-0.6897*11.51=4.16 */
		font-size: clamp(12.1px, 0.6897vw + 4.16px, 12.3px);
	}
}

@media (min-width: 1181px) and (max-width: 1200px) {
	.trust-card p {
		/* slope=(12.5-12.3)/19=0.010526 -> 1.0526vw; intercept=12.3-1.0526*11.81=-0.13 */
		font-size: clamp(12.3px, 1.0526vw - 0.13px, 12.5px);
	}
}

@media (min-width: 1201px) and (max-width: 1220px) {
	.trust-card p {
		/* slope=(12.7-12.5)/19=0.010526 -> 1.0526vw; intercept=12.5-1.0526*12.01=-0.14 */
		font-size: clamp(12.5px, 1.0526vw - 0.14px, 12.7px);
	}
}

@media (min-width: 1221px) and (max-width: 1250px) {
	.trust-card p {
		/* slope=(12.9-12.7)/29=0.006897 -> 0.6897vw; intercept=12.7-0.6897*12.21=4.28 */
		font-size: clamp(12.7px, 0.6897vw + 4.28px, 12.9px);
	}
}

@media (min-width: 1251px) and (max-width: 1270px) {
	.trust-card p {
		/* slope=(13.3-12.9)/19=0.021053 -> 2.1053vw; intercept=12.9-2.1053*12.51=-13.44 */
		font-size: clamp(12.9px, 2.1053vw - 13.44px, 13.3px);
	}
}

@media (min-width: 1271px) and (max-width: 1300px) {
	.trust-card p {
		/* slope=(13.7-13.3)/29=0.013793 -> 1.3793vw; intercept=13.3-1.3793*12.71=-4.23 */
		font-size: clamp(13.3px, 1.3793vw - 4.23px, 13.7px);
	}
}

@media (min-width: 1301px) {
	.trust-card p {
		font-size: 13.7px;
	}
}

@media (max-width: 1024px) {
	.faq__heading {
		max-width: none;
	}

	.faq .heading-xl {
		font-size: 40px;
	}

	/* Matches .feature-grid's own column count at this tier. */
	.trust-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
	.faq {
		padding: 15px 16px;
		gap: 24px;
	}

	.faq__ellipse {
		display: none;
	}

	.faq__item {
		padding: 14px 18px;
	}

	.faq__item.open {
		padding: 18px;
	}

	.faq__question span {
		font-size: 16px;
	}

	.faq__answer {
		font-size: 14px;
		max-width: 100%;
	}

	/* gap 10->8, padding 20->14: extra room for the sub-410px font-size scale below. */
	.trust-grid {
		gap: 8px;
	}

	.trust-card {
		padding: 14px;
		gap: 16px;
	}

	.trust-card p {
		font-size: 15px;
	}

	.faq .heading-xl {
		font-size: 28px;
	}
}

/*
 * Same source-fidelity finding as Ritual's feature-card: the original
 * design already wraps "24/7 Customer Support" to 3 lines at 375px
 * (confirmed live, identical 156px card width) and was never solved
 * upstream. Per explicit instruction this one only needs to be capped
 * at 2 lines (not forced to 1) at narrow widths, using the same
 * font-size/padding/gap levers. 15px (the flat mobile size above) stays
 * safe for <=2 lines down to ~410px (measured 15.1px ceiling there);
 * below that it's tightened with 2 measured, buffered segments.
 */
@media (min-width: 376px) and (max-width: 410px) {
	.trust-card p {
		/* slope=(14.7-12.8)/34=0.055882 -> 5.5882vw; intercept=12.8-0.055882*376=-8.21 */
		font-size: clamp(12.8px, 5.5882vw - 8.21px, 14.7px);
	}
}

@media (max-width: 375px) {
	.trust-card p {
		/* slope=(12.8-9.9)/55=0.052727 -> 5.2727vw; intercept=9.9-0.052727*320=-6.97 */
		font-size: clamp(9.9px, 5.2727vw - 6.97px, 12.8px);
	}
}

/* CTA
--------------------------------------------- */

.cta {
	position: relative;
	border-radius: var(--radius-lg);
	overflow: hidden;
	margin-bottom: 0;
	padding: 215px 224px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--color-lavender-gradient) 50%, rgba(255, 255, 255, 0));
}

.cta__ellipse {
	position: absolute;
	width: 84.5%;
	height: auto;
	pointer-events: none;
	z-index: -1;
}

.cta__ellipse--purple {
	left: 3.5%;
	top: 227px;
}

.cta__ellipse--pink {
	left: 21.9%;
	top: 332px;
	width: 78.9%;
}

.cta__bg {
	position: absolute;
	inset: 0;
	overflow: hidden;
	z-index: -1;
}

.cta__bg img {
	position: absolute;
	left: 27%;
	top: -97.2%;
	width: 98.72%;
	height: 214.24%;
	max-width: none;
	object-fit: cover;
}

.cta__card {
	background: var(--color-lavender-soft);
	border-radius: 24px;
	padding: 60px;
	max-width: 745px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 30px;
}

.cta__heading-wrap {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}

.cta__card .heading-xl {
	font-size: 60px;
}

@media (max-width: 1024px) {
	.cta {
		padding: 60px 40px;
		min-height: 500px;
	}

	.cta__card {
		max-width: 100%;
		padding: 40px;
	}

	.cta__card .heading-xl {
		font-size: 40px;
	}
}

/*
 * <=767px only: matches Figma node 68:3612 exactly (this project's prior
 * mobile treatment — a boxed side-by-side row-reverse layout — was an
 * earlier, undesigned guess; this Figma node is now the authoritative
 * reference). The white card is a fixed-width box that floats over a
 * full-bleed absolutely-positioned background photo, not two equal
 * flex columns. Markup is unchanged — .cta__bg (absolute, inset:0)
 * already precedes .cta__card in the template, matching Figma's own
 * DOM order, so no markup change was needed, only CSS.
 */
@media (max-width: 767px) {
	.cta {
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
		gap: 0;
		min-height: 0;
		/* Horizontal inset comes from #page's own 16px padding, not from .cta itself — matches Figma's own py-only spacing. */
		padding: 23px 0;
		/* Cancels the base rule's desktop gradient — #page's own <=884px lavender background shows through instead. */
		background: none;
		/*
		 * Cancels the base rule's border-radius — Figma's own mobile
		 * frame has no rounding on this outer container at all (only
		 * .cta__card, the white box, is rounded), so the base rule's
		 * radius was clipping a visible curve into the photo's own
		 * bottom-right corner.
		 */
		border-radius: 0;
		/*
		 * Base rule is margin-bottom:0 (desktop sits flush against the
		 * footer by design) — Figma's mobile frame instead leaves a gap
		 * between the photo's clipped bottom edge and the footer, same
		 * as the standard between-section gap used everywhere else on
		 * the page. The photo is still clipped flush against .cta's own
		 * bottom edge either way (overflow:hidden on .cta, unaffected by
		 * margin) — this just adds space after that edge, before the
		 * footer starts.
		 */
		margin-bottom: 16px;
	}

	.cta__ellipse {
		display: none;
	}

	.cta__bg {
		position: absolute;
		inset: 0;
		overflow: hidden;
		pointer-events: none;
		/*
		 * Resets the base rule's z-index:-1 — that value only works on
		 * desktop because .cta's own background there is a translucent
		 * gradient the photo can show through. At this tier .cta's
		 * background is none (fully transparent), so z-index:-1 instead
		 * pushed the photo behind #page's own opaque background. DOM
		 * order alone (.cta__bg markup precedes .cta__card) already
		 * stacks the card on top correctly, matching Figma's own
		 * structure — no negative z-index needed here at all.
		 */
		z-index: 0;
	}

	.cta__bg img {
		position: absolute;
		left: 35%;
		top: -0.07%;
		width: 100%;
		height: 112.11%;
		max-width: none;
		object-fit: cover;
	}

	.cta__card {
		background: var(--color-white);
		width: 227px;
		max-width: 100%;
		flex: none;
		padding: 16px;
		gap: 16px;
		border-radius: 24px;
	}

	.cta__heading-wrap {
		gap: 9px;
	}

	.cta__card .heading-xl {
		font-size: 24px;
		line-height: 32px;
	}

	.cta__card .body-lg {
		font-size: 14px;
		line-height: 20px;
		letter-spacing: -0.14px;
	}

	.cta__card .btn {
		width: 100%;
		padding: 14px 26px;
		font-size: 14px;
		white-space: nowrap;
	}
}

/* Product Intro (product.html — Phase 5, Section 1)
--------------------------------------------- */

/*
 * Matches source exactly, both tiers (desktop fixed-px + <=767px stacked)
 * — no fluid 768-1773px treatment yet. Same sequencing as every homepage
 * section: build to source first, then the dedicated fluid-scaling pass
 * (Phase 5.5) once all product-page sections exist and can be measured
 * against the real rendered page.
 */

.product-intro {
	position: relative;
	background: var(--color-lavender);
	padding: 160px 224px 112px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
	margin-bottom: 16px;
}

.product-intro__ellipse {
	position: absolute;
	left: 987px;
	top: -495px;
	width: 989px;
	height: 989px;
	pointer-events: none;
	z-index: -1;
}

.product-card {
	background: var(--color-white);
	border: 1px solid var(--color-ink);
	border-radius: 27px;
	padding: 32px;
	display: grid;
	grid-template-columns: 660px 1fr;
	gap: 36px;
	width: 100%;
	max-width: 1440px;
}

.product-gallery {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.product-gallery__main {
	position: relative;
	border-radius: 27.207px;
	overflow: hidden;
	height: 642px;
}

.product-gallery__main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product-gallery__thumbs {
	/*
	 * Figma (node 40:69) lays this out as a fixed-width row of exactly 6
	 * thumbs via justify-content:space-between (660px column, 6*104px
	 * thumbs, leaving 36px split across 5 gaps = 7.2px each). That only
	 * works when there are exactly 6 images — with a real gallery of any
	 * other count, space-between either stretches gaps awkwardly (<6) or
	 * silently shrinks every thumb below 104px to squeeze extras in (>6,
	 * flex's default shrink with no flex-basis floor). Fixed size +
	 * fixed gap + horizontal scroll reproduces the exact 6-visible Figma
	 * spacing at the reference width while working for any image count.
	 */
	display: flex;
	gap: 7.2px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.product-gallery__thumbs::-webkit-scrollbar {
	display: none;
}

.product-gallery__thumb {
	width: 104px;
	height: 104px;
	border-radius: 16px;
	overflow: hidden;
	border: none;
	padding: 0;
	cursor: pointer;
	opacity: 0.7;
	background: none;
	transition: opacity 0.15s ease;
	flex-shrink: 0;
	scroll-snap-align: start;
}

.product-gallery__thumb:hover {
	opacity: 0.9;
}

.product-gallery__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product-gallery__thumb--active,
.product-gallery__thumb--active:hover {
	opacity: 1;
	border: 1px solid var(--color-purple-btn);
}

/*
 * Prev/next nav: only rendered (see section-product-intro.php) when there
 * are more than 6 images. Overlaid on the thumb row's own edges rather
 * than added inline so the row itself stays exactly the Figma-matched
 * width — same white/ink circular-icon-button language as
 * .feature-card__icon/.reclaim__item-icon elsewhere in this theme.
 */
.product-gallery__thumbs-wrap {
	position: relative;
}

.product-gallery__thumb-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 1;
	width: 32px;
	height: 32px;
	border-radius: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	background: var(--color-white);
	border: 1px solid var(--color-ink);
	box-shadow: 0 2px 0 var(--color-ink);
	cursor: pointer;
}

.product-gallery__thumb-nav[hidden] {
	display: none;
}

.product-gallery__thumb-nav img,
.product-gallery__thumb-nav svg {
	width: 8px;
	height: 16px;
}

.product-gallery__thumb-nav--prev {
	left: 4px;
}

.product-gallery__thumb-nav--prev img,
.product-gallery__thumb-nav--prev svg {
	transform: scaleX(-1);
}

.product-gallery__thumb-nav--next {
	right: 4px;
}

.product-details {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	padding-top: 24px;
}

/*
 * No longer paired with .eyebrow-badge (2026-09-18, client confirmed) —
 * that's a shared pill/sticker component used sitewide (homepage hero,
 * testimonials, etc.), so this is now its own plain, flat treatment
 * rather than an override riding on that shared class.
 */
.product-rating-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.product-rating-badge__stars {
	display: flex;
	gap: 2px;
}

.product-rating-badge__stars svg {
	width: 20px;
	height: 20px;
}

.product-rating-badge__text {
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--color-ink);
}

.product-title {
	font-size: 48px;
	line-height: 56px;
	margin-top: 16px;
}

/* Single Product Page hero additions (2026-09-18) — optional, #8535 has none of these fields filled in so renders none of this. */
.product-subtitle {
	font-family: var(--font-body);
	font-size: 16px;
	color: rgba(7, 18, 27, 0.7);
	margin: 8px 0 0;
}

.product-checklist {
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
	background: var(--color-lavender-pale);
	border-radius: var(--radius-md);
	padding: 16px 20px;
}

.product-checklist li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 6px 0;
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.5;
	color: var(--color-ink);
}

.product-checklist li:not(:last-child) {
	border-bottom: 1px solid rgba(7, 18, 27, 0.08);
}

.product-checklist li svg {
	flex-shrink: 0;
	margin-top: 3px;
	width: 18px;
	height: 18px;
	border: 1px solid var(--color-ink);
	border-radius: 38px;
	padding: 3px;
}

/*
 * .product-checklist has no fixed width — it's shrink-to-fit (align-items:
 * flex-start on .product-details, so the <ul> never stretches), so it sizes
 * itself to its longest single-line item ("Balance – Daily support for
 * hormonal balance" at 15px ≈ 381px incl. padding/icon/gap). Below ~455px
 * viewport the fixed 74px .product-card mobile margin+padding+border eats
 * into that, so the item wraps to 2 lines — reported by client (2026-09-18)
 * as wrong; it must stay one line down to 320px. Same shrink-to-fit ceiling-
 * curve method as .feature-card p above: bisected the real wrap ceiling at
 * each anchor width with the actual "Balance" text, anchored ~0.35px below
 * each measured ceiling for cross-browser safety margin.
 */
@media (min-width: 440px) and (max-width: 454px) {
	.product-checklist li {
		/* slope=(14.56-13.89)/14=0.047857 -> 4.7857vw; intercept=13.89-0.047857*440=-7.167 */
		font-size: clamp(13.89px, 4.7857vw - 7.167px, 14.56px);
	}
}

@media (min-width: 410px) and (max-width: 439px) {
	.product-checklist li {
		/* slope=(13.89-12.45)/30=0.048 -> 4.8vw; intercept=12.45-0.048*410=-7.23 */
		font-size: clamp(12.45px, 4.8vw - 7.23px, 13.89px);
	}
}

@media (min-width: 375px) and (max-width: 409px) {
	.product-checklist li {
		/* slope=(12.45-10.78)/35=0.047714 -> 4.7714vw; intercept=10.78-0.047714*375=-7.113 */
		font-size: clamp(10.78px, 4.7714vw - 7.113px, 12.45px);
	}
}

@media (max-width: 374px) {
	.product-checklist li {
		/* slope=(10.78-8.14)/55=0.048 -> 4.8vw; intercept=8.14-0.048*320=-7.22 */
		font-size: clamp(8.14px, 4.8vw - 7.22px, 10.78px);
	}
}

/*
 * Client confirmed (2026-09-18): centered, and the dot gets an animated
 * "wave" ring instead of sitting plain — see .product-stock-note__dot's
 * own ::before below for the actual ripple.
 */
.product-stock-note {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--color-ink);
	text-align: center;
}

.product-stock-note__dot-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 8px;
	height: 8px;
	flex-shrink: 0;
}

.product-stock-note__dot {
	position: relative;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	flex-shrink: 0;
}

.product-stock-note__dot--in-stock {
	background: #1a7f37;
}

.product-stock-note__dot--out-of-stock {
	background: #dc2626;
}

/*
 * The wave ring: a second circle the same color as the dot, pinned to
 * its center via absolute positioning (so it never affects layout/
 * alignment), that scales up and fades out on a loop. `background:
 * inherit` is what lets one rule serve both the in-stock (green) and
 * out-of-stock (red) dot colors without duplicating the animation.
 */
.product-stock-note__dot::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: inherit;
	transform: translate(-50%, -50%) scale(1);
	animation: lumoranutri-stock-note-wave 1.8s ease-out infinite;
}

@keyframes lumoranutri-stock-note-wave {
	0% {
		transform: translate(-50%, -50%) scale(1);
		opacity: 0.6;
	}

	100% {
		transform: translate(-50%, -50%) scale(3.2);
		opacity: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.product-stock-note__dot::before {
		animation: none;
	}
}

.product-guarantee {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	background: var(--color-lavender-pale);
	border-radius: var(--radius-md);
	padding: 20px;
	margin-top: 16px;
}

.product-guarantee__icon {
	flex-shrink: 0;
	color: #1a7f37;
}

.product-guarantee__icon svg {
	display: block;
	width: 24px;
	height: 26px;
}

.product-guarantee__heading {
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 15px;
	color: var(--color-ink);
	margin: 0 0 4px;
}

.product-guarantee__text {
	font-family: var(--font-body);
	font-size: 13px;
	color: rgba(7, 18, 27, 0.7);
	margin: 0;
}

.product-purchase {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}

.product-price {
	display: flex;
	align-items: baseline;
	gap: 16px;
	font-family: var(--font-display);
	font-size: 32px;
	letter-spacing: -0.64px;
}

.product-price__current {
	color: var(--color-ink);
}

.product-price__original {
	color: rgba(7, 18, 27, 0.2);
	text-decoration: line-through;
}

.product-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.product-tags li {
	display: flex;
	align-items: center;
	gap: 8px;
	background: var(--color-white);
	border: 1px solid var(--color-ink);
	border-style: dashed;
	border-radius: 27px;
	padding: 5px 8px 5px 5px;
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--color-purple-btn);
}

.product-tags li svg {
	width: 20px;
	height: 20px;
	border: 1px solid var(--color-ink);
	border-radius: 38px;
	padding: 4px;
	flex-shrink: 0;
}

.product-options {
	display: flex;
	gap: 14px;
}

.product-options__box {
	background: var(--color-white);
	border: 1px solid var(--color-ink);
	border-radius: 12px;
	padding: 9px 13px 13px;
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.product-options__box--quantity {
	flex: 1;
}

/*
 * .product-options__box's own `display: flex` (an author rule) beats the
 * browser's native `[hidden] { display: none }` UA-stylesheet rule
 * regardless of specificity math — author styles always win over UA
 * defaults. Needed for the funnel product's hero (2026-09-18), which
 * hides this box via the real `hidden` attribute rather than a class,
 * since #section-product-intro.php reuses this exact markup for every
 * product and only #46207 needs it hidden.
 */
.product-options__box--quantity[hidden] {
	display: none;
}

.product-options__label {
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 16px;
	color: var(--color-ink);
	display: flex;
	gap: 9px;
	align-items: baseline;
	margin: 0;
}

.product-options__subtotal {
	font-weight: 400;
	color: rgba(7, 18, 27, 0.8);
}

.product-options__choices {
	display: flex;
	gap: 8px;
}

/*
 * Real radio inputs, visually hidden (not display:none, so they stay
 * keyboard/screen-reader accessible) — the visible pill is the <label>.
 * See section-product-intro.php's docblock for why this is a WooCommerce-
 * native classic add-to-cart form, not a re-skinned <select>.
 */
.swatch-input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.product-choice {
	display: flex;
	align-items: center;
	gap: 6px;
	background: var(--color-white);
	border: 1px solid var(--color-ink);
	border-radius: 28px;
	padding: 8px 13px 8px 8px;
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 14px;
	color: var(--color-purple-btn);
	cursor: pointer;
	transition: background-color 0.15s ease, padding-left 0.15s ease;
}

.product-choice__check {
	width: 20px;
	height: 20px;
	border: 1px solid var(--color-ink);
	border-radius: 38px;
	background: var(--color-white);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.product-choice__check svg {
	width: 12px;
	height: 12px;
	opacity: 0;
	transition: opacity 0.15s ease;
}

.swatch-input:checked+.product-choice {
	background: var(--color-lavender);
	padding-left: 7px;
}

.swatch-input:checked+.product-choice .product-choice__check svg {
	opacity: 1;
}

.swatch-input:focus-visible+.product-choice {
	outline: 2px solid var(--color-purple-btn);
	outline-offset: 2px;
}

.product-stepper {
	background: var(--color-lavender);
	border-radius: 27px;
	padding: 8px 7px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.product-stepper__btn {
	width: 20px;
	height: 20px;
	border: 1px solid var(--color-ink);
	border-radius: 38px;
	background: var(--color-white);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	flex-shrink: 0;
	transition: opacity 0.15s ease;
}

.product-stepper__btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.product-stepper__btn svg {
	width: 12px;
	height: 12px;
}

.product-stepper__value {
	flex: 1;
	min-width: 0;
	text-align: center;
	background: none;
	border: none;
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 14px;
	color: var(--color-purple-btn);
	-moz-appearance: textfield;
}

.product-stepper__value::-webkit-outer-spin-button,
.product-stepper__value::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.product-stepper__value:focus-visible {
	outline: 2px solid var(--color-purple-btn);
	outline-offset: 2px;
	border-radius: 4px;
}

.product-cta {
	display: flex;
	align-items: center;
	gap: 20px;
}

/*
 * Single Product Page hero variant (2026-09-18): button full-width, note
 * centered below it — matches the reference design. #8535 never gets
 * this class (only added when hero_checklist is set), so its existing
 * side-by-side button+note layout is untouched.
 */
.product-cta--stacked {
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
}

.product-cta--stacked .btn {
	width: 100%;
}

.product-cta--stacked .product-cta__note {
	text-align: center;
}

.product-cta .btn {
	padding: 16px 24px;
	flex-shrink: 0;
	white-space: nowrap;
}

.product-cta .btn.is-loading {
	opacity: 0.7;
	pointer-events: none;
}

.product-cta__note {
	font-family: var(--font-body);
	font-size: 16px;
	color: rgba(7, 18, 27, 0.8);
	margin: 0;
}

/*
 * Client confirmed (2026-09-18): matches a reference design, applied
 * site-wide to every product (not just #46207) — trust badges on their
 * own centered row on top, payment icons centered below, both inside one
 * shaded box. Replaces the old side-by-side (payments left, badges
 * right, border-top separator) layout entirely, so the several
 * responsive overrides that existed only to stop THAT layout's own
 * squeeze/overlap at various widths (see the removed 1025-1820px and
 * <=767px blocks) are gone too — a centered, wrapping, stacked layout
 * doesn't have that problem at any width, nothing left to patch.
 */
.product-trust {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	width: 100%;
	background: var(--color-lavender-pale);
	border-radius: var(--radius-md);
	padding: 16px 20px;
}

.product-trust__payments {
	display: block;
	margin: 0 auto;
	height: 28px;
	width: auto;
}

.product-trust__badges {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
}

.product-trust__badge {
	display: flex;
	align-items: center;
	gap: 6px;
	padding-left: 12px;
	border-left: 1px solid rgba(7, 18, 27, 0.2);
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 14px;
	color: var(--color-ink);
}

.product-trust__badge:first-child {
	padding-left: 0;
	border-left: none;
}

.product-trust__icon {
	width: 18px;
	height: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: var(--color-purple-btn);
}

.product-trust__icon svg {
	width: 100%;
	height: 100%;
}

.product-accordion {
	border-radius: 12px;
	overflow: hidden;
	width: 100%;
}

.product-accordion__item {
	background: var(--color-white);
	border: 1px dashed var(--color-ink);
}

.product-accordion__item:not(:first-child) {
	border-top: none;
}

/*
 * .product-accordion clips its items to a 12px rounded rectangle via
 * overflow:hidden, but each item's own dashed border is a plain
 * right-angled rectangle — without these, the border gets clipped away
 * right where the corner curve starts, leaving a gap with no border
 * along the curve. Matching the same 12px radius onto the outer corners
 * of the first/last item makes their border follow the actual visible
 * (clipped) edge.
 */
.product-accordion__item:first-child {
	border-top-left-radius: 12px;
	border-top-right-radius: 12px;
}

.product-accordion__item:last-child {
	border-bottom-left-radius: 12px;
	border-bottom-right-radius: 12px;
}

.product-accordion__heading {
	font-weight: normal;
	margin: 0;
}

.product-accordion__question {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 11px 13px;
	background: none;
	border: none;
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 14px;
	color: var(--color-purple-btn);
	cursor: pointer;
	text-align: left;
}

.product-accordion__question:focus-visible {
	outline: 2px solid var(--color-purple-btn);
	outline-offset: -2px;
}

.product-accordion__chevron {
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

.product-accordion__item.open .product-accordion__chevron {
	transform: rotate(180deg);
}

.product-accordion__panel {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}

/*
 * `> *` (not just `p`) because this content is real product-description
 * HTML from wp-admin's WYSIWYG editor — whatever mix of <p>, headings,
 * <ul>/<ol>, etc. an editor produces there all need the same padding, or
 * anything that isn't a plain <p> renders flush against the accordion's
 * border with no styling at all.
 */
.product-accordion__panel>* {
	font-family: var(--font-body);
	font-size: 14px;
	line-height: 1.6;
	color: var(--color-ink);
	padding: 0 13px 16px;
	margin: 0;
}

.product-accordion__item.open .product-accordion__panel {
	max-height: 300px;
}

.product-reviews {
	display: flex;
	gap: 20px;
	width: 100%;
	max-width: 1440px;
}

.product-review-card {
	flex: 1;
	background: var(--color-lavender-pale);
	border: 1px solid var(--color-ink);
	border-radius: 24px;
	padding: 21px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	transition: box-shadow 0.15s ease;
}

.product-review-card:hover {
	box-shadow: 4px 8px 0 var(--color-ink);
}

.product-review-card__stars {
	display: flex;
	gap: 1px;
}

.product-review-card__stars img,
.product-review-card__stars svg {
	width: 20px;
	height: 20px;
}

.product-review-card__text {
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 20px;
	line-height: 28px;
	color: var(--color-ink);
	margin: 0;
}

.product-review-card__author {
	display: flex;
	align-items: center;
	gap: 16px;
}

.product-review-card__author img {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.product-review-card__name {
	display: flex;
	align-items: center;
	gap: 5px;
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 20px;
	color: var(--color-ink);
	margin: 0;
}

.product-review-card__verified {
	width: 16px;
	height: 16px;
	background: #7957ff;
	border-radius: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.product-review-card__verified svg {
	width: 10px;
	height: 10px;
}

.product-review-card__location {
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--color-purple-btn);
	margin: 0;
}

/*
 * Reviews Carousel — client-attached design (2026-09-18), dedicated
 * single product page only (see section-reviews-carousel.php's own
 * $lumoranutri_is_funnel_product gate). Cards are a fixed width and the
 * track scrolls natively; the progress thumb/arrow buttons are a
 * presentational overlay driven by js/reviews-carousel.js, not a
 * re-implementation of scrolling itself.
 */
.reviews-carousel {
	/* Same gradient as the homepage .testimonials section (client request, 2026-09-18) — background/card colour only, not its card size/spacing. */
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--color-pink-gradient) 50%, rgba(255, 255, 255, 0));
	border-radius: var(--radius-lg);
	padding: 48px 40px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	text-align: center;
}

.reviews-carousel__heading {
	font-size: 36px;
}

.reviews-carousel__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 16px;
	color: var(--color-ink);
	margin-bottom: 16px;
}

.reviews-carousel__badge-stars {
	display: flex;
	gap: 1px;
}

.reviews-carousel__badge-stars svg {
	width: 18px;
	height: 18px;
}

/*
 * Capped well below --container-max (1888px) on purpose: the reference
 * design always shows ~4 cards + a peek of the next one and a working
 * nav, regardless of monitor width. Letting this track grow to the full
 * container let every card fit with room to spare on a wide screen (no
 * scroll needed), which silently hid the whole nav via reviews-carousel.js's
 * own overflow check — reported by client (2026-09-18): visible with
 * DevTools open (which narrows the content area and forces overflow),
 * invisible without. Roughly 4 cards + gaps at the 280px card width below.
 */
.reviews-carousel__track-wrap {
	width: 100%;
	max-width: 1200px;
	overflow: hidden;
}

.reviews-carousel__track {
	display: flex;
	flex-wrap: nowrap;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	padding: 4px;
	margin: -4px;
}

.reviews-carousel__track::-webkit-scrollbar {
	display: none;
}

.review-card {
	position: relative;
	/* Same card colours as the homepage's .testimonial-card (client request, 2026-09-18) — this carousel keeps its own size/padding/gap. */
	background: var(--color-lavender-pale);
	border: 1px solid var(--color-ink);
	border-radius: var(--radius-md);
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	text-align: left;
	flex: 0 0 280px;
	width: 280px;
	scroll-snap-align: start;
}

.review-card__headline {
	margin: 0;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 16px;
	color: var(--color-ink);
}

.review-card__rating {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: -8px;
}

.review-card__stars {
	display: flex;
	gap: 1px;
}

.review-card__stars svg {
	width: 15px;
	height: 15px;
}

.review-card__rating-value {
	font-family: var(--font-body);
	font-size: 13px;
	color: rgba(7, 18, 27, 0.6);
}

.review-card__text {
	margin: 0;
	font-family: var(--font-body);
	font-size: 14px;
	line-height: 1.5;
	color: rgba(7, 18, 27, 0.75);
	flex-grow: 1;
}

.review-card__author {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: auto;
}

.review-card__avatar {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
}

.review-card__avatar--fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-lavender);
	color: var(--color-plum);
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
}

.review-card__name {
	margin: 0;
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 600;
	color: var(--color-ink);
}

.review-card__verified {
	font-weight: 400;
	color: rgba(7, 18, 27, 0.6);
}

.review-card__date {
	margin: 4px 0 0;
	font-family: var(--font-body);
	font-size: 12px;
	color: rgba(7, 18, 27, 0.5);
}

.reviews-carousel__nav {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	margin-top: 8px;
}

.reviews-carousel__nav[hidden] {
	display: none;
}

.reviews-carousel__progress {
	width: 140px;
	height: 4px;
	border-radius: var(--radius-pill);
	background: var(--color-lavender-pale);
	overflow: hidden;
}

.reviews-carousel__progress-thumb {
	display: block;
	height: 100%;
	border-radius: var(--radius-pill);
	background: var(--color-pink);
}

.reviews-carousel__buttons {
	display: flex;
	gap: 10px;
}

.reviews-carousel__button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid var(--color-pink);
	background: var(--color-white);
	cursor: pointer;
	padding: 0;
	transition: border-color 0.15s ease, opacity 0.15s ease;
}

.reviews-carousel__button svg path {
	fill: var(--color-pink);
}

/* At either end of the track — nothing left to scroll that direction. */
.reviews-carousel__button:disabled {
	border-color: rgba(7, 18, 27, 0.25);
	cursor: default;
}

.reviews-carousel__button:disabled svg path {
	fill: rgba(7, 18, 27, 0.35);
}

.reviews-carousel__button svg {
	width: 8px;
	height: 16px;
}

.reviews-carousel__button--prev svg {
	transform: scaleX(-1);
}

/*
 * FAQ is now its own section (template-parts/product/section-faq.php,
 * 2026-09-24) — the reference doesn't share the carousel's box/background
 * the way this was originally built. See css/rosabella-product-clone.css
 * for its styling; the .reviews-carousel__faq* rules that used to live
 * here were removed along with the markup that used them.
 */
@media (max-width: 767px) {
	.reviews-carousel {
		padding: 24px 20px;
		gap: 12px;
	}

	.reviews-carousel__heading {
		font-size: 24px;
		line-height: 32px;
	}

	.review-card {
		flex: 0 0 260px;
		width: 260px;
	}
}

/*
 * Problem/Solution — client-attached design (2026-09-18), dedicated
 * single product page only (section-problem-solution.php's own
 * $lumoranutri_is_funnel_product gate). Deliberately flat/soft (no black
 * borders or hard drop-shadows) to match the attached reference exactly —
 * unlike Ritual/Feature-card's bold-sticker treatment elsewhere on this
 * site, this section's own reference has none of that.
 */
.problem-solution {
	background: var(--color-lavender-soft);
	padding: 80px 40px;
	display: flex;
	justify-content: center;
}

.problem-solution__container {
	width: 100%;
	/* Same 1200px cap as the reviews carousel/FAQ above it, so all three sit in one consistent content column. */
	max-width: 1200px;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.problem-solution__row {
	display: flex;
	align-items: center;
	gap: 64px;
}

.problem-solution__image {
	flex: 0 0 42%;
	border-radius: var(--radius-lg);
	overflow: hidden;
}

.problem-solution__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.problem-solution__copy {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
	text-align: left;
}

.problem-solution__heading {
	font-size: 40px;
}

.problem-solution__heading--sm {
	font-size: 32px;
}

.problem-solution__checklist {
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.problem-solution__checklist li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: var(--font-body);
	font-size: 16px;
	color: var(--color-ink);
}

.problem-solution__checklist svg {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
}

.problem-solution__eyebrow {
	margin: 0;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--color-ink);
}

.problem-solution__solution {
	position: relative;
	background: var(--color-pink-gradient);
	border-radius: var(--radius-lg);
	padding: 48px;
	display: flex;
	align-items: center;
	gap: 64px;
	/* Room for the 3-bottle image, which deliberately overflows the bar top/bottom/right. */
	margin-top: 32px;
}

.problem-solution__solution .problem-solution__copy {
	max-width: 50%;
}

.problem-solution__benefits {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-top: 8px;
}

.problem-solution__benefit {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-align: center;
}

.problem-solution__benefit svg {
	width: 26px;
	height: 26px;
}

.problem-solution__benefit p {
	margin: 0;
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 600;
	color: var(--color-ink);
}

/* Transparent 3-bottle cut-out: taller than the bar and vertically centred on it, so it overflows top and bottom (and slightly right). */
.problem-solution__image--solution {
	position: absolute;
	top: 50%;
	right: -16px;
	transform: translateY(-50%);
	width: auto;
	height: 118%;
	aspect-ratio: 1355 / 1161;
	flex: none;
	border-radius: 0;
	overflow: visible;
	background: none;
}

.problem-solution__image--solution img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

@media (max-width: 1024px) {
	.problem-solution__row,
	.problem-solution__solution {
		flex-direction: column;
		gap: 32px;
	}

	.problem-solution__image,
	.problem-solution__image--solution {
		flex: 0 0 auto;
		width: 100%;
		max-width: 480px;
	}

	.problem-solution__image--solution {
		position: static;
		transform: none;
		height: auto;
	}

	.problem-solution__solution .problem-solution__copy {
		max-width: none;
	}

	.problem-solution__benefits {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
	.problem-solution {
		padding: 40px 20px;
	}

	.problem-solution__solution {
		padding: 28px;
	}

	.problem-solution__heading {
		font-size: 28px;
	}

	.problem-solution__heading--sm {
		font-size: 24px;
	}
}

/*
 * Stages + Comparison — client-attached design (2026-09-18), dedicated
 * single product page only (section-stages-comparison.php's own
 * $lumoranutri_is_funnel_product gate). White background, same 1200px
 * content column as the sections above. Bar height = --bar-pct * 1.62px,
 * set inline from each bar's Value relative to the largest.
 */
.stages-comparison {
	background: var(--color-white);
	padding: 80px 40px;
	display: flex;
	justify-content: center;
}

.stages-comparison__container {
	width: 100%;
	max-width: 1200px;
	display: flex;
	flex-direction: column;
	gap: 48px;
}

.stages-comparison__heading {
	font-size: 36px;
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
}

.stages-comparison__stages {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.stage-card {
	display: flex;
	background: var(--color-lavender-pale);
	border-radius: var(--radius-md);
	overflow: hidden;
}

.stage-card__image {
	flex: 0 0 40%;
}

.stage-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.stage-card__body {
	flex: 1 1 0;
	padding: 20px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 8px;
}

.stage-card__label {
	margin: 0;
	font-family: var(--font-body);
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--color-pink);
}

.stage-card__title {
	margin: 0;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 18px;
	line-height: 1.3;
	color: var(--color-ink);
}

.stage-card__text {
	margin: 0;
	font-family: var(--font-body);
	font-size: 14px;
	line-height: 1.5;
	color: rgba(7, 18, 27, 0.75);
}

.stages-comparison__driver {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 64px;
}

.stages-comparison__driver-copy {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.stages-comparison__eyebrow {
	margin: 0;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--color-pink);
}

.stages-comparison__driver-heading {
	font-size: 32px;
}

.stages-comparison__chart {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.stages-comparison__chart-heading {
	margin: 0;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 20px;
	text-align: center;
	color: var(--color-ink);
}

.stages-comparison__bars {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: 18px;
}

.stages-comparison__bar-col {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	width: 90px;
}

.stages-comparison__bar {
	width: 100%;
	height: calc(var(--bar-pct, 0) * 1.62px);
	border-radius: 4px 4px 0 0;
	background: linear-gradient(to bottom, #e5e5e5, #c4c4c4);
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding-top: 10px;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 20px;
	color: var(--color-ink);
}

.stages-comparison__bar--highlight {
	background: linear-gradient(to bottom, var(--color-pink), var(--color-plum));
	color: var(--color-white);
}

.stages-comparison__bar-label {
	margin: 0;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 14px;
	text-align: center;
	color: var(--color-ink);
}

.stages-comparison__note {
	margin: 0;
	width: 100%;
	padding: 14px 16px;
	border-radius: var(--radius-md);
	background: var(--color-lavender-pale);
	font-family: var(--font-body);
	font-size: 14px;
	line-height: 1.5;
	color: var(--color-ink);
}

.stages-comparison__note strong {
	color: var(--color-pink);
}

@media (max-width: 1024px) {
	.stages-comparison__stages {
		grid-template-columns: 1fr;
	}

	.stages-comparison__driver {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

@media (max-width: 767px) {
	.stages-comparison {
		padding: 40px 20px;
	}

	.stages-comparison__heading {
		font-size: 24px;
		line-height: 32px;
	}

	.stages-comparison__driver-heading {
		font-size: 24px;
	}

	.stage-card {
		flex-direction: column;
	}

	.stage-card__image {
		flex: none;
		height: 200px;
	}
}

/*
 * Results Timeline — client-attached design (2026-09-18), dedicated single
 * product page only (section-timeline.php's own $lumoranutri_is_funnel_
 * product gate). Pink background, same 1200px content column as the
 * sections above. Each step's connector line is a flex-filled ::after on
 * its marker row; the last step has none.
 */
.timeline {
	background: var(--color-lavender-soft);
	padding: 80px 40px;
	display: flex;
	justify-content: center;
}

.timeline__container {
	width: 100%;
	max-width: 1200px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 48px;
}

.timeline__heading {
	font-size: 36px;
	text-align: center;
	max-width: 800px;
	margin: 0;
}

.timeline__steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
	width: 100%;
}

.timeline__step {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	text-align: left;
}

.timeline__marker {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	margin-bottom: 8px;
}

.timeline__marker::before {
	content: "";
	flex: 0 0 12px;
	height: 12px;
	background: var(--color-pink);
}

.timeline__marker::after {
	content: "";
	flex: 1 1 auto;
	height: 1px;
	background: rgba(7, 18, 27, 0.35);
}

.timeline__step:last-child .timeline__marker::after {
	display: none;
}

/*
 * Scroll-in animation (client request, 2026-09-20, matching the reference):
 * the steps play as a chain — step 1's marker fills and its connector line
 * draws left to right, then step 2 starts as step 1 finishes, and so on.
 * Runs once when the section scrolls into view. js/timeline-animation.js adds
 * .timeline--animate (starting state) and, on entering the viewport,
 * .timeline--in-view (plays it); with no JS, reduced motion, or a phone-width
 * screen (lines hidden there) neither class is added and the steps simply show
 * in their final state. Each step's turn comes from --step-index (set inline
 * by section-timeline.php) x --timeline-step. The marker starts as a white box
 * with a pink dot (a white inset ring around the pink square) and fills solid;
 * the line is a faint track with a darker fill grown via background-size.
 */
.timeline {
	--timeline-step: 0.9s;
}

.timeline--animate .timeline__marker::before {
	box-shadow: inset 0 0 0 5px var(--color-white);
}

.timeline--animate .timeline__marker::after {
	background:
		linear-gradient(rgba(7, 18, 27, 0.35), rgba(7, 18, 27, 0.35)) left center / 0% 100% no-repeat,
		rgba(7, 18, 27, 0.1);
}

.timeline--in-view .timeline__marker::before {
	animation: timeline-marker-fill 0.3s ease-out forwards;
	animation-delay: calc(var(--step-index, 0) * var(--timeline-step));
}

.timeline--in-view .timeline__marker::after {
	animation: timeline-line-draw 0.75s ease-out forwards;
	animation-delay: calc(var(--step-index, 0) * var(--timeline-step) + 0.15s);
}

@keyframes timeline-marker-fill {
	to {
		box-shadow: inset 0 0 0 0 var(--color-white);
	}
}

@keyframes timeline-line-draw {
	from {
		background-size: 0% 100%, auto;
	}

	to {
		background-size: 100% 100%, auto;
	}
}

.timeline__week {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	color: var(--color-ink);
}

.timeline__tag {
	margin: 0;
	padding: 4px 8px;
	background: var(--color-pink);
	color: var(--color-white);
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 600;
}

.timeline__text {
	margin: 0;
	font-family: var(--font-body);
	font-size: 14px;
	line-height: 1.5;
	color: var(--color-ink);
}

.timeline__points {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.timeline__points li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-family: var(--font-body);
	font-size: 14px;
	line-height: 1.4;
	color: var(--color-ink);
}

.timeline__points svg {
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	margin-top: 1px;
}

.timeline__guarantee {
	max-width: 530px;
	width: 100%;
	padding: 18px 20px;
	background: var(--color-white);
	border: 1px solid rgba(7, 18, 27, 0.15);
	border-radius: 4px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	text-align: left;
}

.timeline__guarantee-heading {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 16px;
	color: var(--color-ink);
}

.timeline__guarantee-heading svg {
	flex: 0 0 auto;
	width: 16px;
	height: 18px;
	color: var(--color-pink);
}

.timeline__guarantee-text {
	margin: 0;
	font-family: var(--font-body);
	font-size: 13px;
	color: var(--color-ink);
}

@media (max-width: 1024px) {
	.timeline__steps {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
	.timeline {
		padding: 40px 20px;
	}

	.timeline__heading {
		font-size: 24px;
		line-height: 32px;
	}

	.timeline__steps {
		grid-template-columns: 1fr;
	}

	.timeline__marker::after {
		display: none;
	}
}

/*
 * Comparison Table — client-attached design (2026-09-18), dedicated single
 * product page only (section-comparison.php's own $lumoranutri_is_funnel_
 * product gate). White background, same 1200px content column as the
 * sections above. A single 3-column grid (us | feature | them) so row
 * heights stay aligned across all three; the head row's images overhang
 * into the first data row via negative margin.
 */
.comparison {
	background: var(--color-white);
	padding: 80px 40px;
	display: flex;
	justify-content: center;
}

.comparison__container {
	width: 100%;
	max-width: 1200px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.comparison__eyebrow {
	margin: 0;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--color-pink);
}

.comparison__heading {
	font-size: 36px;
	text-align: center;
	max-width: 1000px;
	margin: 0 0 24px;
}

.comparison__table {
	display: grid;
	grid-template-columns: 210px minmax(0, 356px) 210px;
	width: 100%;
	max-width: 776px;
}

.comparison__head {
	display: flex;
	justify-content: center;
	align-items: flex-end;
	height: 110px;
	position: relative;
	z-index: 1;
	margin-bottom: -36px;
}

.comparison__head img {
	height: 140px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
}

.comparison__head svg {
	height: 118px;
	width: auto;
}

.comparison__cell {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 74px;
	padding: 12px 16px;
	text-align: center;
	font-family: var(--font-body);
	font-size: 18px;
	color: var(--color-ink);
}

.comparison__cell--us {
	background: var(--color-pink);
}

.comparison__cell--them {
	background: #ececec;
}

.comparison__cell--label {
	border-bottom: 1px solid rgba(7, 18, 27, 0.12);
}

.comparison__cell--label:nth-last-child(2) {
	border-bottom: 0;
}

/* First data row makes room for the overhanging bottles. */
.comparison__head + .comparison__head + .comparison__head + .comparison__cell {
	padding-top: 48px;
}

.comparison__head + .comparison__head + .comparison__head + .comparison__cell + .comparison__cell {
	padding-top: 48px;
}

.comparison__head + .comparison__head + .comparison__head + .comparison__cell + .comparison__cell + .comparison__cell {
	padding-top: 48px;
}

.comparison__head + .comparison__head + .comparison__head + .comparison__cell {
	border-radius: 4px 0 0 0;
}

.comparison__head + .comparison__head + .comparison__head + .comparison__cell + .comparison__cell + .comparison__cell {
	border-radius: 0 4px 0 0;
}

@media (max-width: 767px) {
	.comparison {
		padding: 40px 20px;
	}

	.comparison__heading {
		font-size: 24px;
		line-height: 32px;
	}

	.comparison__table {
		grid-template-columns: 84px minmax(0, 1fr) 84px;
	}

	.comparison__head img {
		height: 100px;
	}

	.comparison__head svg {
		height: 84px;
	}

	.comparison__cell {
		font-size: 14px;
		padding: 10px 8px;
	}

	.comparison__cell svg {
		width: 24px;
		height: 24px;
	}
}

/*
 * "Results felt" pink card — second sub-block of the Comparison section
 * (client-attached design, 2026-09-18), inside the same white section and
 * 1200px container. 3-column grid: stats span cols 1-2 beside the photo in
 * col 3; product image in col 1 beside the guarantee spanning cols 2-3.
 */
.results-felt {
	width: 100%;
	margin-top: 64px;
	padding: 48px;
	background: var(--color-lavender-soft);
	border-radius: var(--radius-md);
	display: grid;
	grid-template-columns: 360px 1fr 375px;
	gap: 32px 40px;
	text-align: left;
}

.results-felt__intro {
	grid-column: 1 / 3;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.results-felt__heading {
	font-size: 32px;
	margin: 0;
}

.results-felt__subtext {
	margin: 0 0 12px;
	font-family: var(--font-body);
	font-size: 15px;
	color: var(--color-ink);
}

.results-felt__stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.results-felt__stat {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.results-felt__stat-value {
	margin: 0;
	font-family: var(--font-display);
	font-size: 48px;
	line-height: 1;
	color: var(--color-pink);
}

.results-felt__stat-title {
	margin: 0;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 18px;
	line-height: 1.3;
	color: var(--color-ink);
}

.results-felt__stat-text {
	margin: 0;
	font-family: var(--font-body);
	font-size: 14px;
	line-height: 1.5;
	color: var(--color-ink);
}

.results-felt__photo {
	grid-column: 3;
	grid-row: 1;
	border-radius: 4px;
	overflow: hidden;
	align-self: start;
}

.results-felt__photo img {
	width: 100%;
	height: 100%;
	max-height: 360px;
	object-fit: cover;
	display: block;
}

.results-felt__product {
	grid-column: 1;
	grid-row: 2;
	align-self: center;
}

.results-felt__product img {
	width: 100%;
	height: auto;
	display: block;
}

.results-felt__guarantee {
	grid-column: 2 / 4;
	grid-row: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	align-self: center;
}

.results-felt__guarantee-big {
	margin: 0;
	font-family: var(--font-display);
	font-size: 40px;
	line-height: 1;
	color: var(--color-pink);
}

.results-felt__guarantee-title {
	margin: 0;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 22px;
	color: var(--color-ink);
}

.results-felt__guarantee-text {
	margin: 0;
	max-width: 640px;
	font-family: var(--font-body);
	font-size: 14px;
	line-height: 1.5;
	color: var(--color-ink);
}

.results-felt__guarantee-points {
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 48px;
}

.results-felt__guarantee-points li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 600;
	color: var(--color-ink);
}

.results-felt__guarantee-points svg {
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
}

@media (max-width: 1024px) {
	.results-felt {
		grid-template-columns: 1fr;
		padding: 32px;
	}

	.results-felt__intro,
	.results-felt__photo,
	.results-felt__product,
	.results-felt__guarantee {
		grid-column: 1;
		grid-row: auto;
	}

	.results-felt__product {
		max-width: 360px;
	}
}

@media (max-width: 767px) {
	.results-felt {
		padding: 24px;
		margin-top: 40px;
	}

	.results-felt__heading {
		font-size: 24px;
		line-height: 32px;
	}

	.results-felt__stats {
		grid-template-columns: 1fr;
	}
}

/*
 * Verified-reviews grid — third sub-block of the Comparison section
 * (client-attached design, 2026-09-18). Plain columns (no cards) under a
 * pink rule; "Load More Reviews" jumps up to the carousel (#reviews).
 */
.reviews-grid {
	width: 100%;
	margin-top: 72px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.reviews-grid__heading {
	font-size: 36px;
	text-align: center;
	margin: 0;
}

.reviews-grid__list {
	width: 100%;
	margin-top: 24px;
	padding-top: 32px;
	border-top: 1px solid var(--color-pink);
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	text-align: left;
}

.reviews-grid__item {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.reviews-grid__text {
	margin: 0;
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.5;
	color: var(--color-ink);
}

.reviews-grid__more {
	margin-top: 12px;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 16px;
	color: var(--color-ink);
	text-decoration: underline;
}

@media (max-width: 1024px) {
	.reviews-grid__list {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.reviews-grid {
		margin-top: 40px;
	}

	.reviews-grid__heading {
		font-size: 24px;
		line-height: 32px;
	}
}

/*
 * Sticky Add to Cart bar (client request, 2026-09-19) — single product page,
 * funnel product only (section-sticky-cta.php's own gate). Fixed to the
 * bottom of the viewport, slid off-screen until js/sticky-cta.js adds
 * .is-visible (i.e. while the hero is out of view). visibility is toggled
 * alongside the transform so the hidden button can't be tabbed to.
 */
.sticky-cta {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 90;
	display: flex;
	justify-content: center;
	padding: 12px 16px;
	background: var(--color-white);
	border-top: 1px solid rgba(7, 18, 27, 0.12);
	box-shadow: 0 -4px 16px rgba(7, 18, 27, 0.08);
	transform: translateY(110%);
	visibility: hidden;
	transition: transform 0.25s ease, visibility 0s linear 0.25s;
}

.sticky-cta.is-visible {
	transform: translateY(0);
	visibility: visible;
	transition: transform 0.25s ease, visibility 0s;
}

.sticky-cta__button {
	width: 100%;
	max-width: 450px;
	padding: 16px 24px;
	white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
	.sticky-cta,
	.sticky-cta.is-visible {
		transition: none;
	}
}

.wellness-standard {
	position: relative;
	background: var(--color-lavender);
	padding: 112px 224px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
	margin-bottom: 16px;
}

.wellness-standard__ellipse {
	position: absolute;
	left: 449px;
	top: -495px;
	width: 989px;
	height: 989px;
	pointer-events: none;
	z-index: -1;
}

.wellness-standard__intro {
	background: var(--color-white);
	border: 1px solid var(--color-ink);
	border-radius: 27.207px;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	padding: 24px 24px 24px 64px;
	width: 100%;
}

.wellness-standard__copy {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 553px;
	padding: 40px 0;
}

.wellness-standard__copy .heading-xl {
	font-size: 48px;
	line-height: 56px;
}

.wellness-standard__photo {
	width: 605px;
	align-self: stretch;
	border-radius: 24px;
	overflow: hidden;
}

.wellness-standard__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wellness-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	width: 100%;
}

.wellness-stat {
	background: var(--color-white);
	border: 1px solid var(--color-ink);
	border-radius: 27.207px;
	flex: 1;
	/*
	 * 280px let the card's content area (card width minus 66px of its
	 * own left+right padding) shrink well below what the copy actually
	 * needs, so all 3 cards kept getting placed into a 3-column row that
	 * was too narrow for them — measured the real requirement instead of
	 * guessing: the longest title ("Regained Daily Digestive Comfort")
	 * needs 372px unwrapped at this card's 20px font, and the longest
	 * description needs only 331px to stay within 2 lines at 14px — so
	 * title is the binding constraint. 372 + 66px padding = 438px content
	 * area, +10px buffer = 448px. Below the width where 3 of these fit
	 * per row, flex-wrap now reflows to 2 or 1 per row instead of
	 * cramming 3 narrow cards with wrapping text — same self-adjusting
	 * mechanism as before, just with a min-width that's actually correct.
	 */
	min-width: 448px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 29px 33px 31px;
}

.wellness-stat__number {
	/* Overrides the scaffold's `p { margin-bottom: 1.5em }` — see .nav__links. */
	margin: 0;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 60px;
	line-height: 64px;
	color: var(--color-pink);
}

.wellness-stat__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.wellness-stat__title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 20px;
	line-height: 30px;
	color: var(--color-ink);
}

.wellness-stat__desc {
	/* Overrides the scaffold's `p { margin-bottom: 1.5em }` — see .nav__links. */
	margin: 0;
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 14px;
	line-height: 22px;
	color: var(--color-purple-btn);
}

.video-testimonials {
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--color-pink-gradient) 50%, rgba(255, 255, 255, 0));
	padding: 120px 40px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
	margin-bottom: 16px;
	text-align: center;
}

.video-testimonials__heading {
	/* Overrides the scaffold's normalize `h2 { margin: 1em 0 }` — see .nav__links. */
	margin: 0;
	font-size: 48px;
	line-height: 56px;
	max-width: 1000px;
}

.video-testimonials__grid {
	display: flex;
	gap: 16px;
	justify-content: center;
	width: 100%;
	max-width: 1440px;
}

.video-card {
	position: relative;
	width: 350px;
	height: 465px;
	border-radius: 12px;
	overflow: hidden;
	flex-shrink: 0;
}

.video-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Desktop: card 2 is the "active" (playing) card — dims 1, 3, 4. */
.video-card:nth-child(1),
.video-card:nth-child(3),
.video-card:nth-child(4) {
	opacity: 0.4;
}

.video-card:nth-child(2) {
	opacity: 0.8;
}

.video-card:nth-child(1) .video-card__overlay,
.video-card:nth-child(1) .video-card__content,
.video-card:nth-child(1) .video-card__mute {
	display: none;
}

.video-card__media {
	position: absolute;
	inset: 0;
}

.video-card__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(17, 44, 69, 0) 60%, #af72f4 100%);
	pointer-events: none;
}

.video-card__content {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 16px;
}

.video-card__progress {
	width: 100%;
	height: 8px;
	background: var(--color-white);
	border-radius: 9px;
	flex-shrink: 0;
}

.video-card__mute {
	position: absolute;
	right: 16px;
	bottom: 16px;
	background: rgba(7, 18, 27, 0.2);
	border: none;
	border-radius: 34px;
	padding: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.video-card__mute svg {
	width: 20px;
	height: 20px;
}

@media (max-width: 1024px) {
	.product-intro {
		padding: 64px 32px;
	}

	/*
	 * Same "no room for a fixed 660px + 1fr grid" bug as the 1025-1773px
	 * fix above, but here there's no room to keep it a 2-column grid at
	 * all (960px available at 1024px, 704px at 768px, vs. the grid's own
	 * 660px+gap+details minimum) — matches Hero's own precedent of
	 * dropping to a single stacked column at <=1024px rather than trying
	 * to fluid-scale a 2-column layout that no longer fits.
	 */
	.product-card {
		display: flex;
		flex-direction: column;
		gap: 24px;
	}

	.product-gallery__main {
		height: auto;
		aspect-ratio: 660 / 642;
	}
}

/*
 * 1025px-1773px only (Phase 5.5): same fixed-column-squeeze bug class
 * already fixed on Hero/Gold/Ritual, reusing that exact range and
 * interpolation method. Confirmed live against the real rendered page
 * (not the static mockup) before writing this: .product-card overflowed
 * its own container by up to 623px at 1025px, tapering to 0 by ~1700px
 * — .product-card's grid-template-columns was a literal 660px (no
 * minmax(0,1fr) escape valve on the details column) inside a section
 * with its own fixed 224px side padding (identical value to Hero/Ritual,
 * so its fix reuses their exact clamp formula verbatim).
 */
@media (min-width: 1025px) and (max-width: 1773px) {
	.product-intro {
		/* Reuses Hero's own clamp verbatim — identical 32px MIN / 224px MAX. */
		padding-left: clamp(32px, 25.63vw - 230.49px, 224px);
		padding-right: clamp(32px, 25.63vw - 230.49px, 224px);
	}

	.product-card {
		/*
		 * minmax(0,1fr) on the details column is the actual overflow fix
		 * (same mechanism as Hero's grid). Gallery column MIN reasoned as
		 * ~50% of desktop, same "no historical mobile analog" call as
		 * Hero's own image column.
		 * slope=(660-330)/749=0.4406 -> 44.06vw; intercept=330-0.4406*1024=-121.2
		 */
		grid-template-columns: clamp(330px, 44.06vw - 121.2px, 660px) minmax(0, 1fr);
	}

	.product-gallery__main {
		/* aspect-ratio keeps height following the now-fluid gallery column width, matching source's 660:642 ratio. */
		height: auto;
		aspect-ratio: 660 / 642;
	}

	/*
	 * .product-gallery__thumbs/.product-gallery__thumb no longer need a
	 * shrink-to-fit override at this tier — the base rule now scrolls
	 * (overflow-x:auto) instead of squeezing thumbs below 104px when the
	 * fluid gallery column narrows below 660px, so 104x104 stays exact
	 * at every width down to the 767px mobile tier's own 56x56 override.
	 */
}

/*
 * 1025px-1773px only (Wellness Standard). Measured live before writing
 * this: .wellness-standard__intro is a plain flex row (no grid, no gap)
 * with two FIXED-width children (.wellness-standard__copy 553px,
 * .wellness-standard__photo 605px) — 1158px combined, inside a card
 * whose own content width is nowhere near that once the section's 224px
 * padding is squeezed. Since flex items shrink by default (unlike a grid
 * track), this didn't overflow the page — it silently crushed the photo
 * instead: measured 126px wide (a sliver) at 1025px, vs. copy's 313px,
 * because the photo (a bare <img>, no text) has no min-content floor of
 * its own the way the heading/paragraph text does. Both need an explicit
 * MIN so neither collapses.
 */
@media (min-width: 1025px) and (max-width: 1773px) {
	.wellness-standard {
		/* Reuses Hero's own clamp verbatim — identical 32px MIN / 224px MAX. */
		padding-left: clamp(32px, 25.63vw - 230.49px, 224px);
		padding-right: clamp(32px, 25.63vw - 230.49px, 224px);
	}

	.wellness-standard__copy {
		/*
		 * MIN is NOT a "~50% of desktop" guess like the other untuned
		 * MINs in this project — measured that "The Standard for" (the
		 * longer of the title's two wrappable lines) needs 320px at the
		 * heading's own 28px MIN font-size, or the title wraps to 5
		 * lines instead of the intended 3 (confirmed live: it did,
		 * exactly that, before this fix). MIN=400px adds ~80px of right-
		 * side breathing room on top of that 320px floor. MAX stays the
		 * untouched 553px so it still reverts exactly at 1774px+ — that
		 * ceiling is fixed by the original desktop design, not by this
		 * fix, so the same margin necessarily narrows back down as the
		 * viewport approaches 1774px (down to ~4px, matching how little
		 * slack 553px/48px already had in the untouched source itself).
		 * slope=(553-400)/749=0.2043 -> 20.43vw; intercept=400-0.2043*1024=190.83
		 */
		width: clamp(400px, 20.43vw + 190.83px, 553px);
	}

	.wellness-standard__copy .heading-xl {
		/*
		 * Same clamp() treatment as .hero .heading-xl — MIN anchored to
		 * the existing <=767px mobile pair (28px/36px) rather than a
		 * fresh ~50% guess, since that's an already-tuned real value one
		 * tier down. MAX is the untouched 48px/56px desktop pair.
		 * font-size: slope=(48-28)/749=0.02670 -> 2.67vw; intercept=28-0.02670*1024=0.66
		 * line-height (fixed px here, unlike Hero's unitless 1.07 — must
		 * scale it too or leading looks loose once font-size shrinks):
		 * slope=(56-36)/749=0.02670 -> 2.67vw; intercept=36-0.02670*1024=8.66
		 */
		font-size: clamp(28px, 2.67vw + 0.66px, 48px);
		line-height: clamp(36px, 2.67vw + 8.66px, 56px);
	}

	.wellness-standard__photo {
		/* slope=(605-303)/749=0.4032 -> 40.32vw; intercept=303-0.4032*1025=-110.28 */
		width: clamp(303px, 40.32vw - 110.28px, 605px);
	}

	/*
	 * .wellness-stats: keep all 3 stat cards on one row throughout this
	 * range (min-width:448px, added for the >=900px fix, would force a
	 * wrap here) — cancel it and instead shrink each card's font/padding
	 * fluidly, same "scale the content, not the column count" approach
	 * as everywhere else in this range. Measured live at 1025px (the
	 * tightest point, column width 291px with 3 equal flex:1 columns and
	 * a 20px gap): the title needs a MIN font of 13px and reduced 20px
	 * side padding to stay on 1 line; description needs MIN 10px/15px to
	 * stay <=2 lines at that same reduced padding. All MAX values are
	 * the untouched desktop numbers.
	 */
	.wellness-stat {
		min-width: 0;
		/* top: slope=(29-16)/749=0.01736->1.74vw; intercept=16-1.74%*1024=-1.81
		   sides: slope=(33-20)/749=0.01736->1.74vw; intercept=20-1.74%*1024=2.22
		   bottom: slope=(31-20)/749=0.01468->1.47vw; intercept=20-1.47%*1024=4.97 */
		padding: clamp(16px, 1.74vw - 1.81px, 29px) clamp(20px, 1.74vw + 2.22px, 33px) clamp(20px, 1.47vw + 4.97px, 31px);
		/* slope=(20-12)/749=0.01068->1.07vw; intercept=12-1.07%*1024=1.05 */
		gap: clamp(12px, 1.07vw + 1.05px, 20px);
	}

	.wellness-stat__number {
		/* slope=(60-42)/749=0.02403->2.40vw; intercept=42-2.40%*1024=17.42 */
		font-size: clamp(42px, 2.40vw + 17.42px, 60px);
		/* slope=(64-45)/749=0.02537->2.54vw; intercept=45-2.54%*1024=18.99 */
		line-height: clamp(45px, 2.54vw + 18.99px, 64px);
	}

	.wellness-stat__title {
		/*
		 * A straight line between (1025px -> 13px) and (1774px -> 20px)
		 * overshoots in the middle of the range: measured the actual
		 * max-safe font at 6 points across the range (accounting for
		 * both the section-padding clamp and this card's own padding
		 * clamp compounding together) and the true safe curve is
		 * slightly convex, not linear — a chord through its endpoints
		 * sits above it. Real max-safe values measured: 1025->13.50,
		 * 1100->13.91, 1300->15.27, 1500->16.64, 1650->17.68,
		 * 1773->18.53. Capping this clamp's ceiling at 18.5px (just
		 * under the measured 1773px max) instead of the full 20px stays
		 * under the true curve at every one of those points — the
		 * tradeoff is a small (~1.5px), imperceptible font jump right
		 * at the 1773->1774px boundary instead of a linear ramp that
		 * would wrap the title mid-range.
		 * slope=(18.5-13)/749=0.00734->0.73vw; intercept=13-0.73%*1024=5.52
		 */
		font-size: clamp(13px, 0.73vw + 5.52px, 18.5px);
		/* Paired to font-size at the same ~1.5 ratio used at both ends. */
		line-height: clamp(20px, 1.03vw + 9.45px, 27.75px);
	}

	.wellness-stat__desc {
		/* slope=(14-10)/749=0.00534->0.53vw; intercept=10-0.53%*1024=4.53 */
		font-size: clamp(10px, 0.53vw + 4.53px, 14px);
		/* slope=(22-15)/749=0.00934->0.93vw; intercept=15-0.93%*1024=5.44 */
		line-height: clamp(15px, 0.93vw + 5.44px, 22px);
	}
}

/*
 * 1025px-1773px only (Video Testimonials). Measured live before writing
 * this: .video-testimonials__grid is a plain flex row of 4 FIXED-width
 * (350px) cards with flex-shrink:0 and no wrap — at 1025px this needed
 * 1448px (4*350 + 3*16px gaps) but only had ~945px available. Since the
 * cards can't shrink and don't wrap, this didn't show up as a page
 * scrollbar (the theme's own `body{overflow-x:hidden}` swallowed it
 * silently) — it just clipped the 1st and 4th cards half off-screen,
 * confirmed live via getBoundingClientRect() showing card 1 at
 * left:-219px and card 4 at right:1229px against a 1025px viewport.
 */
@media (min-width: 1025px) and (max-width: 1773px) {
	.video-testimonials__heading {
		/* Same clamp() pair as Wellness Standard's heading — identical <=767px mobile anchor (28px/36px) and untouched desktop pair (48px/56px). */
		font-size: clamp(28px, 2.67vw + 0.66px, 48px);
		line-height: clamp(36px, 2.67vw + 8.66px, 56px);
	}

	.video-card {
		/*
		 * MIN=210px keeps 4 cards + 3*16px gaps comfortably inside the
		 * ~945px available at 1025px ((945-48)/4=224.25px is the hard
		 * ceiling there — 210px leaves a safety margin). MAX is the
		 * untouched 350px. Available width grows faster than this clamp
		 * across the rest of the range (section padding is a fixed 40px,
		 * not itself scaled), so slack only increases from here to
		 * 1773px — no mid-range overshoot risk the way the convex
		 * wellness-stat title curve had.
		 * slope=(350-210)/749=0.1869->18.69vw; intercept=210-18.69%*1024=18.65
		 */
		width: clamp(210px, 18.69vw + 18.65px, 350px);
		/* height:auto + aspect-ratio instead of a second independent height clamp — same technique as Product Intro's gallery image. */
		height: auto;
		aspect-ratio: 350 / 465;
	}
}

/*
 * <=1024px only (Video Testimonials). Even the 1025-1773px fix's 210px
 * MIN card width doesn't fit here — measured live at 768px, 4 cards
 * would need to shrink to ~160px to fit (too small for a testimonial
 * card meant to show a face/video clearly). Reusing the horizontal-
 * scroll treatment the source already uses at <=767px instead of
 * shrinking further — same known-good 280px/373px card size, just
 * extended to cover this whole tier instead of only phones.
 */
@media (max-width: 1024px) {
	.video-testimonials__grid {
		justify-content: flex-start;
		gap: 12px;
		overflow-x: auto;
	}

	.video-card {
		width: 280px;
		height: 373px;
		aspect-ratio: auto;
	}
}

@media (max-width: 767px) {

	/*
	 * Same edge-to-edge nav treatment as Hero's own <=767px rule —
	 * align-items:stretch matches .hero's grid (which stretches items by
	 * default) so .nav fills the full width here too, instead of
	 * flexbox's default content-hugging under align-items:center.
	 */
	.product-intro {
		padding: 0;
		margin: -12px -12px 16px;
		border-radius: 0;
		gap: 0;
		align-items: stretch;
		padding-bottom: 24px;
	}

	.product-card {
		display: flex;
		flex-direction: column;
		padding: 16px;
		gap: 0;
		margin: 0 20px;
		width: auto;
		max-width: none;
	}

	.product-gallery__main {
		height: auto;
		aspect-ratio: 660 / 756;
	}

	.product-gallery__thumbs {
		/* Scaled from desktop's 7.2px gap by the same 56/104 ratio as the thumb size itself: 7.2*(56/104)=3.88px. */
		gap: 3.88px;
	}

	.product-gallery__thumb {
		width: 56px;
		height: 56px;
		border-radius: 12px;
	}

	.product-gallery__thumb-nav {
		/* Strict 56/104 scaling of desktop's 32px would be ~17px — too small to tap reliably, so floored at 24px instead. */
		width: 24px;
		height: 24px;
	}

	.product-gallery__thumb-nav img,
	.product-gallery__thumb-nav svg {
		width: 7px;
		height: 14px;
	}

	.product-details {
		padding-top: 24px;
	}

	.product-title {
		font-size: 32px;
		line-height: 36px;
		margin-top: 0;
	}

	.product-price {
		font-size: 20px;
		line-height: 30px;
	}

	.product-tags li {
		font-size: 12px;
	}

	.product-options {
		gap: 10px;
	}

	.product-options__box {
		padding: 5px 9px 9px;
		gap: 6px;
	}

	.product-options__label {
		font-size: 12px;
		gap: 2px;
	}

	.product-options__subtotal {
		font-size: 10px;
	}

	.product-options__choices {
		gap: 4px;
	}

	.product-choice {
		height: 32px;
		padding: 6px;
		gap: 4px;
		font-size: 10px;
	}

	.product-choice__check {
		width: 16px;
		height: 16px;
	}

	.product-choice__check svg {
		width: 10px;
		height: 10px;
	}

	.product-stepper {
		height: 32px;
		padding: 6px;
	}

	.product-stepper__value {
		font-size: 10px;
	}

	.product-cta {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	/*
	 * Base .product-trust is already centered/stacked/wrapping (2026-09-18
	 * redesign) — nothing to override here for layout, just a smaller
	 * mobile padding/payments height to match this tier's other compact
	 * spacing (e.g. .product-cta above).
	 */
	.product-trust {
		padding: 12px 16px;
	}

	.product-trust__payments {
		height: 24px;
	}

	.product-trust__badge {
		font-size: 13px;
	}

	.product-reviews {
		flex-direction: column;
		gap: 20px;
		margin: 16px 20px 0;
		width: auto;
		max-width: none;
	}

	.product-review-card {
		padding: 17px;
	}

	.product-review-card__text {
		font-size: 16px;
		line-height: 24px;
	}

	.product-review-card__name {
		font-size: 16px;
	}

	.product-review-card__location {
		font-size: 12px;
	}

	/* Wellness Standard (product.html) */
	.wellness-standard {
		padding: 48px 16px;
		gap: 24px;
	}

	.wellness-standard__intro {
		flex-direction: column;
		align-items: stretch;
		padding: 20px;
		gap: 16px;
	}

	.wellness-standard__copy {
		width: 100%;
		padding: 0;
		gap: 11px;
	}

	.wellness-standard__copy .heading-xl {
		font-size: 28px;
		line-height: 36px;
		color: var(--color-pink);
	}

	.wellness-standard__copy .body-lg {
		font-size: 16px;
		line-height: 24px;
	}

	.wellness-standard__photo {
		width: 100%;
		align-self: auto;
		aspect-ratio: 605 / 296;
	}

	.wellness-stats {
		flex-direction: column;
		gap: 12px;
	}

	/*
	 * Padding trimmed from 21px to 16px sides to free up a bit more
	 * content width for the title/description sizing below — measured
	 * live (375px viewport) that neither line-count target is reachable
	 * at a readable font size with the original 21px padding.
	 */
	.wellness-stat {
		min-width: 0;
		padding: 17px 16px 21px;
		gap: 6px;
	}

	.wellness-stat__number {
		font-size: 40px;
		line-height: 48px;
	}

	/*
	 * Sized so the title stays on 1 line and the description stays on
	 * <=2 lines at this project's standard 375px mobile baseline
	 * (measured live: title's longest string needs 15.41px max at this
	 * card's resulting content width, description needs 12px/18px for
	 * 2 lines) — shipped 15px/12px, just under each measured ceiling.
	 * Below 375px (down to the 320px floor) there isn't enough width
	 * left for both constraints at a still-readable size; title may
	 * wrap to 2 lines there as a graceful degradation rather than
	 * shrinking the font further.
	 */
	.wellness-stat__title {
		font-size: 15px;
		line-height: 1.2;
	}

	.wellness-stat__desc {
		font-size: 12px;
		line-height: 18px;
	}

	/* Video Testimonials (product.html) */
	.video-testimonials {
		padding: 24px 16px;
		gap: 20px;
	}

	.video-testimonials .eyebrow-badge {
		font-size: 14px;
	}

	.video-testimonials .eyebrow-badge .stars svg {
		width: 16px;
		height: 16px;
	}

	.video-testimonials__heading {
		font-size: 28px;
		line-height: 36px;
	}

	.video-testimonials__grid {
		justify-content: flex-start;
		gap: 12px;
		overflow-x: auto;
		margin: 0 -16px;
		padding: 0 16px;
	}

	.video-card {
		width: 280px;
		height: 373px;
	}

	/* Mobile: card 1 becomes the active card, card 2 goes dim — the reverse of desktop, matching the source's mobile mock exactly. */
	.video-card:nth-child(1) {
		opacity: 0.8;
	}

	.video-card:nth-child(1) .video-card__overlay,
	.video-card:nth-child(1) .video-card__content,
	.video-card:nth-child(1) .video-card__mute {
		display: flex;
	}

	.video-card:nth-child(2) {
		opacity: 0.4;
	}
}

/* ==========================================================================
   Generic WP Page (page.php / template-parts/content-page.php)

   No static mockup exists for a plain Gutenberg-block page (Privacy
   Policy, Refund and Returns Policy, or any other ad-hoc page an editor
   creates) — the client's source design only covers the homepage and
   product page, same situation as Checkout below. Styled to match the
   established design system (tokens, .heading-xl, .btn, container width)
   instead, reusing the same 1200px/160px-top-clearance pattern already
   used for Checkout so both read as the same family of "plain content
   page" rather than two different one-off designs.

   IMPORTANT — cascade order: this block MUST stay before the Checkout
   block below. Checkout reuses this exact same template (page.php ->
   content-page.php), so its own .woocommerce-checkout-prefixed rules
   have the SAME specificity as these plain-class rules (two classes
   each) — CSS falls back to source order on a specificity tie, so
   Checkout's overrides only win because they're declared later.
   ========================================================================== */

.page-article .entry-header {
	max-width: 1200px;
	margin: 0 auto;
	padding: 160px 40px 0;
}

.page-article .entry-title {
	margin: 0;
}

.page-article .post-thumbnail {
	max-width: 1200px;
	margin: 32px auto 0;
	padding: 0 40px;
}

.page-article .post-thumbnail img {
	width: 100%;
	border-radius: var(--radius-lg);
	display: block;
}

.page-article .entry-content {
	max-width: 1200px;
	margin: 0 auto;
	padding: 32px 40px 96px;
	font-family: var(--font-body);
	color: var(--color-ink);
	font-size: 16px;
	line-height: 1.6;
}

/* Gutenberg block content — whatever an editor drops into the block editor for ANY plain page. */
.page-article .entry-content > * + * {
	margin-top: 1.5em;
}

.page-article .entry-content h2 {
	font-family: var(--font-display);
	font-weight: 400;
	text-transform: uppercase;
	color: var(--color-plum);
	font-size: 32px;
	line-height: 1.15;
	margin-top: 2em;
}

.page-article .entry-content h3 {
	font-family: var(--font-body);
	font-weight: 700;
	color: var(--color-ink);
	font-size: 22px;
	line-height: 1.3;
	margin-top: 1.75em;
}

.page-article .entry-content h4,
.page-article .entry-content h5,
.page-article .entry-content h6 {
	font-family: var(--font-body);
	font-weight: 700;
	color: var(--color-ink);
	font-size: 18px;
	line-height: 1.4;
	margin-top: 1.5em;
}

.page-article .entry-content p {
	/*
	 * Only reset the scaffold's own p { margin-bottom: 1.5em } (and any
	 * left/right) here — NOT margin-top. A blanket `margin: 0` would
	 * also zero margin-top, which is a higher-specificity override of
	 * the sibling-gap rule above (.entry-content > * + *) for any block
	 * that happens to be a <p>, silently cancelling that spacing.
	 * Confirmed live: paragraphs/lists were rendering with 0 gap from
	 * the block before them until this was split out.
	 */
	margin-bottom: 0;
	margin-left: 0;
	margin-right: 0;
}

.page-article .entry-content a {
	color: var(--color-pink);
	text-decoration: underline;
}

.page-article .entry-content ul,
.page-article .entry-content ol {
	/* Same margin-top-preserving reset as p above — the scaffold's own ul/ol margin is `0 0 1.5em 3em`. */
	margin-bottom: 0;
	margin-left: 0;
	padding-left: 1.25em;
}

.page-article .entry-content li + li {
	margin-top: 0.5em;
}

.page-article .entry-content li::marker {
	color: var(--color-pink);
}

.page-article .entry-content blockquote {
	/* Scaffold's own blockquote margin is `0 1.5em` — left/right only reset here, margin-top left alone for the same reason as p/ul above. */
	margin-left: 0;
	margin-right: 0;
	padding: 4px 0 4px 24px;
	border-left: 3px solid var(--color-pink);
	font-family: var(--font-body);
	font-style: italic;
	color: var(--color-ink);
}

.page-article .entry-content hr {
	border: none;
	border-top: 1px solid var(--color-lavender);
	margin: 2.5em 0;
}

.page-article .entry-content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--radius-lg);
	display: block;
}

.page-article .entry-content figcaption {
	font-family: var(--font-body);
	font-size: 14px;
	color: rgba(7, 18, 27, 0.7);
	margin-top: 8px;
	text-align: center;
}

.page-article .entry-content table {
	width: 100%;
	border-collapse: collapse;
}

.page-article .entry-content th,
.page-article .entry-content td {
	padding: 12px 16px;
	border: 1px solid var(--color-lavender);
	text-align: left;
}

.page-article .entry-content th {
	font-family: var(--font-body);
	font-weight: 700;
	background: var(--color-lavender);
	color: var(--color-ink);
}

.page-article .entry-content .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	background: var(--color-purple-btn);
	color: var(--color-white);
	font-family: var(--font-button);
	font-weight: 400;
	font-size: 18px;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	border-radius: 36px;
	padding: 16px 36px;
	text-decoration: none;
	transition: transform 0.15s ease, opacity 0.15s ease;
}

.page-article .entry-content .wp-block-button__link:hover {
	transform: translateY(-2px);
	opacity: 0.92;
}

.page-article .entry-content .wp-block-button.is-style-outline .wp-block-button__link {
	background: none;
	border: 1px solid var(--color-ink);
	color: var(--color-ink);
}

.page-article .entry-content .wp-block-quote {
	/* margin-top intentionally left alone — same reason as p/ul/blockquote above. */
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 0;
	padding: 4px 0 4px 24px;
	border-left: 3px solid var(--color-pink);
}

.page-article .entry-content .wp-block-quote cite {
	display: block;
	margin-top: 8px;
	font-family: var(--font-body);
	font-style: normal;
	font-size: 14px;
	color: rgba(7, 18, 27, 0.7);
}

.page-article .entry-content .wp-block-columns {
	gap: 32px;
}

@media (max-width: 767px) {
	.page-article .entry-header,
	.page-article .post-thumbnail,
	.page-article .entry-content {
		padding-left: 20px;
		padding-right: 20px;
	}

	.page-article .entry-header {
		padding-top: 100px;
	}

	.page-article .entry-content h2 {
		font-size: 26px;
	}
}

/* ==========================================================================
   WooCommerce Checkout (Phase 6)

   No static mockup exists for this page — the client's source design only
   covers the homepage and product page. Styled to match the established
   design system (tokens, radius scale, .btn pattern, card treatment)
   instead. Targets WooCommerce Blocks' own CSS classes (`.wc-block-*`)
   directly rather than overriding template markup, since the Checkout
   block itself is React-rendered client-side — this theme has nothing to
   override even if it wanted to.

   page.php no longer calls get_sidebar() for ANY page (not just
   checkout), so this gets the same full-width, no-widget-area treatment
   as every other custom page.
   ========================================================================== */

.woocommerce-checkout .entry-header {
	/* top padding matches .product-intro/.hero's own clearance for the floating (position:absolute) .nav pill. */
	max-width: 1200px;
	margin: 0 auto;
	padding: 160px 40px 0;
}

.woocommerce-checkout .entry-title {
	font-family: var(--font-display);
	font-weight: 400;
	text-transform: uppercase;
	color: var(--color-plum);
	font-size: 48px;
	line-height: 1.1;
	margin: 0;
}

.woocommerce-checkout .entry-content {
	max-width: 1200px;
	margin: 0 auto;
	padding: 32px 40px 96px;
}

/* Step section headings ("Contact information", "Billing address"). */
.wc-block-components-checkout-step__title {
	font-family: var(--font-display);
	font-weight: 400;
	text-transform: uppercase;
	color: var(--color-plum);
	font-size: 22px;
	letter-spacing: 0.2px;
}

.wc-block-components-checkout-step__description,
.wc-block-components-checkout-step__description a {
	font-family: var(--font-body);
	color: var(--color-ink);
}

.wc-block-components-checkout-step__description a {
	color: var(--color-purple-btn);
}

/* Text inputs, selects, textareas. */
.wc-block-components-text-input input[type="text"],
.wc-block-components-text-input input[type="email"],
.wc-block-components-text-input input[type="tel"],
.wc-block-components-text-input textarea,
.wc-blocks-components-select__select,
.wc-block-components-combobox input {
	border: 1px solid var(--color-ink);
	border-radius: 12px;
	font-family: var(--font-body);
	font-size: 16px;
	background: var(--color-white);
	color: var(--color-ink);
}

.wc-block-components-text-input input:focus,
.wc-block-components-text-input textarea:focus,
.wc-blocks-components-select__select:focus,
.wc-block-components-combobox input:focus {
	border-color: var(--color-purple-btn);
	outline: none;
	box-shadow: 0 0 0 2px rgba(41, 10, 54, 0.15);
}

.wc-block-components-text-input label,
.wc-blocks-components-select__label {
	font-family: var(--font-body);
	color: var(--color-ink);
}

/* Saved-address summary card (shown after a valid address collapses the form). */
.wc-block-components-address-card {
	border: 1px solid var(--color-ink);
	border-radius: var(--radius-md);
	font-family: var(--font-body);
}

.wc-block-components-address-card__edit {
	color: var(--color-purple-btn);
	font-family: var(--font-body);
}

/* Checkbox ("Add a note to your order"). */
.wc-block-components-checkbox__input {
	border: 1px solid var(--color-ink);
	border-radius: 6px;
}

.wc-block-components-checkbox__input:checked+.wc-block-components-checkbox__mark {
	fill: var(--color-white);
}

.wc-block-components-checkbox__input:checked {
	background-color: var(--color-purple-btn);
	border-color: var(--color-purple-btn);
}

.wc-block-components-checkbox__label {
	font-family: var(--font-body);
	color: var(--color-ink);
}

/* Place order button — same visual pattern as .btn elsewhere in the theme. */
.wc-block-components-checkout-place-order-button {
	background: var(--color-purple-btn);
	color: var(--color-white);
	font-family: var(--font-button);
	font-weight: 400;
	font-size: 18px;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	border-radius: 36px;
	height: auto;
	padding: 16px 36px;
	transition: transform 0.15s ease, opacity 0.15s ease;
}

.wc-block-components-checkout-place-order-button:hover,
.wc-block-components-checkout-place-order-button:focus {
	background: var(--color-purple-btn);
	color: var(--color-white);
	transform: translateY(-2px);
	opacity: 0.92;
}

/* Order summary sidebar card. */
.wc-block-checkout__sidebar {
	background: var(--color-white);
	border: 1px solid var(--color-ink);
	border-radius: var(--radius-lg);
	padding: 28px;
}

.wc-block-checkout__sidebar .wc-block-components-title {
	font-family: var(--font-display);
	font-weight: 400;
	text-transform: uppercase;
	color: var(--color-plum);
	font-size: 22px;
}

.wc-block-components-order-summary-item__image {
	width: 64px;
	height: 64px;
	flex-shrink: 0;
	border: 1px solid var(--color-ink);
	border-radius: 12px;
	overflow: hidden;
}

.wc-block-components-order-summary-item__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wc-block-components-order-summary-item__description,
.wc-block-components-order-summary-item__individual-prices {
	font-family: var(--font-body);
}

.wc-block-components-order-summary-item .wc-block-components-product-name {
	font-family: var(--font-display);
	font-weight: 400;
	color: var(--color-ink);
}

.wc-block-components-totals-item,
.wc-block-components-totals-item__label,
.wc-block-components-totals-item__value {
	font-family: var(--font-body);
	color: var(--color-ink);
}

.wc-block-components-totals-footer-item,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-family: var(--font-display);
	font-weight: 400;
	color: var(--color-plum);
	font-size: 20px;
}

.wc-block-components-totals-coupon-link,
.wc-block-components-panel__button {
	font-family: var(--font-body);
	color: var(--color-purple-btn);
}

.wc-block-components-totals-coupon__input .wc-block-components-text-input input {
	border-radius: 12px 0 0 12px;
}

.wc-block-components-totals-coupon__button {
	background: var(--color-purple-btn);
	color: var(--color-white);
	font-family: var(--font-button);
	text-transform: uppercase;
	border-radius: 0 12px 12px 0;
}

/* Validation / error notices — no existing brand token for error states, so a plain accessible red is used rather than inventing an untokenized brand color. */
.wc-block-components-validation-error,
.woocommerce-error,
.wc-block-store-notice.is-error {
	border: 1px solid #d32f2f;
	background: #fdecea;
	border-radius: var(--radius-md);
	font-family: var(--font-body);
	color: #7a1f1f;
}

.wc-block-components-text-input.has-error input,
.wc-blocks-components-select__select.has-error {
	border-color: #d32f2f;
}

@media (max-width: 767px) {
	.woocommerce-checkout .entry-header {
		/* Matches Hero's own mobile nav-clearance value. */
		padding: 80px 20px 0;
	}

	.woocommerce-checkout .entry-title {
		font-size: 32px;
	}

	.woocommerce-checkout .entry-content {
		padding: 24px 20px 64px;
	}

	.wc-block-components-checkout-step__title {
		font-size: 18px;
	}

	.wc-block-checkout__sidebar {
		padding: 20px;
	}
}

/* ==========================================================================
   WooCommerce Checkout — classic shortcode (Phase 7)

   Replaces the Checkout BLOCK used above (Phase 6 CSS kept, unused, not
   deleted — the client may switch back once the payment gateway's Blocks
   support is sorted, per explicit instruction not to remove it silently).
   Switched to the classic [woocommerce_checkout] shortcode because the
   active payment gateway plugin doesn't support the Checkout block's Store
   API integration. Targets the classic checkout's real markup
   (#customer_details, .woocommerce-checkout-review-order-table, #payment,
   etc.) instead of the .wc-block-* classes above, which don't render here
   at all. The container-level rules above (.woocommerce-checkout
   .entry-header/.entry-title/.entry-content) are untouched and still
   apply — confirmed live, they're generic wrapper styling, not
   Block-specific, so no duplication needed here.

   Payment method styling below (.wc_payment_method, .payment_box) is
   written against WooCommerce's own documented/standard classic-checkout
   markup, but could not be visually verified against a live gateway —
   none is currently showing as "available" at checkout on this
   environment (a pre-existing gateway configuration gap, unrelated to
   this shortcode switch — confirmed the same gap existed before this
   change too).
   ========================================================================== */

.woocommerce-checkout form.checkout {
	display: grid;
	grid-template-columns: 1fr 400px;
	grid-template-rows: auto 1fr;
	gap: 40px;
	align-items: start;
}

.woocommerce-checkout #customer_details {
	grid-column: 1;
	grid-row: 1 / 3;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.woocommerce-checkout #customer_details .col2-set,
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 {
	width: 100%;
	float: none;
}

.woocommerce-checkout #order_review_heading {
	grid-column: 2;
	grid-row: 1;
	margin: 0;
}

.woocommerce-checkout #order_review {
	grid-column: 2;
	grid-row: 2;
	position: sticky;
	top: 100px;
}

/* Section headings: "Billing details", "Ship to a different address?", "Your order". */
.woocommerce-checkout #customer_details h3,
.woocommerce-checkout #order_review_heading {
	font-family: var(--font-display);
	font-weight: 400;
	text-transform: uppercase;
	color: var(--color-plum);
	font-size: 22px;
	letter-spacing: 0.2px;
	margin: 0 0 8px;
}

.woocommerce-checkout .form-row {
	margin: 0 0 16px;
}

.woocommerce-checkout .form-row label {
	display: block;
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 14px;
	color: var(--color-ink);
	margin-bottom: 6px;
}

.woocommerce-checkout .form-row label .required {
	color: var(--color-pink);
	text-decoration: none;
}

.woocommerce-checkout .input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
	width: 100%;
	border: 1px solid var(--color-ink);
	border-radius: 12px;
	padding: 13px 17px;
	font-family: var(--font-body);
	font-size: 16px;
	color: var(--color-ink);
	background: var(--color-white);
}

.woocommerce-checkout .input-text:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
	outline: none;
	border-color: var(--color-purple-btn);
}

/*
 * Country / State fields render through Select2 (WooCommerce's own
 * searchable-dropdown JS), which hides the real <select> and builds its
 * own markup — confirmed live via DOM inspection. That markup ignores the
 * padding/border/radius rules above entirely, which is why those two
 * fields showed up with no left padding and a plain default border in the
 * client's screenshot. Re-applying the same input look here to match.
 */
.woocommerce-checkout .select2-container--default .select2-selection--single {
	height: 52px;
	border: 1px solid var(--color-ink);
	border-radius: 12px;
	background: var(--color-white);
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
	padding: 0 40px 0 17px;
	line-height: 50px;
	font-family: var(--font-body);
	font-size: 16px;
	color: var(--color-ink);
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 50px;
	right: 12px;
}

.woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single,
.woocommerce-checkout .select2-container--default.select2-container--focus .select2-selection--single {
	border-color: var(--color-purple-btn);
}

.woocommerce-checkout .select2-dropdown {
	border-color: var(--color-ink);
	border-radius: 0 0 12px 12px;
	font-family: var(--font-body);
	font-size: 16px;
}

.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
	width: calc(50% - 8px);
	display: inline-block;
}

.woocommerce-checkout .form-row-first {
	margin-right: 16px;
}

/*
 * Every .form-row here is a <p>, so the generic page-content reset
 * (".page-article .entry-content p { margin-bottom: 0; }" — this template
 * also carries the .page-article/.entry-content wrapper classes) has
 * higher specificity (2 classes + a tag) than ".woocommerce-checkout
 * .form-row" (2 classes) and was silently winning, collapsing the gap
 * between Street address and the Apartment/suite line to 0px — confirmed
 * live via getBoundingClientRect(). Re-declaring with an extra qualifier
 * outranks it regardless of source order, the same fix pattern already
 * used elsewhere in this stylesheet for this exact cascade collision.
 *
 * margin-bottom only — not the `margin` shorthand this used to be.
 * Confirmed live (2026-09-18): the shorthand's implicit `margin-right: 0`
 * has this exact same (2 classes + a tag) specificity, so it was also
 * beating `.form-row-first { margin-right: 16px; }` just above, silently
 * collapsing the gap between every paired half-width row (First/Last
 * Name, City/Zip) to ~5px instead of 16px — the inconsistent-looking
 * field spacing the client flagged. This rule only ever needed to win
 * the margin-bottom fight described above; touching the other three
 * sides was accidental and this longhand form doesn't repeat that.
 */
.woocommerce-checkout form.checkout .form-row {
	margin-bottom: 16px;
}

.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
	background: #f4ecff;
	border: 1px solid var(--color-ink);
	border-radius: 12px;
	padding: 13px 17px;
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--color-ink);
	list-style: none;
	margin: 0 0 32px;
}

.woocommerce-checkout .woocommerce-form-coupon-toggle a {
	color: var(--color-pink);
	font-weight: 500;
}

/* "Your order" review card. */
.woocommerce-checkout .woocommerce-checkout-review-order-table {
	width: 100%;
	border-collapse: collapse;
	background: var(--color-white);
	border: 1px solid var(--color-ink);
	border-radius: 24px;
	overflow: hidden;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table thead th {
	background: #f4ecff;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 14px;
	color: var(--color-ink);
	text-align: left;
	padding: 12px 16px;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table td {
	padding: 16px;
	border-top: 1px solid var(--color-lavender);
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--color-ink);
	vertical-align: top;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td {
	padding: 12px 16px;
	border-top: 1px solid var(--color-lavender);
	font-family: var(--font-body);
	font-size: 14px;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total td {
	font-weight: 700;
	font-size: 16px;
	color: var(--color-plum);
}

.woocommerce-checkout .lumoranutri-order-item {
	display: flex;
	align-items: center;
	gap: 12px;
}

.woocommerce-checkout .lumoranutri-order-item-thumbnail {
	width: 48px;
	height: 48px;
	border-radius: 8px;
	object-fit: cover;
	flex-shrink: 0;
}

.woocommerce-checkout .lumoranutri-order-item__name {
	line-height: 1.4;
}

/* Payment methods — see the docblock comment above re: not visually verified against a live gateway. */
.woocommerce-checkout .woocommerce-checkout-payment {
	background: #f4ecff;
	border: 1px solid var(--color-ink);
	border-radius: 24px;
	padding: 24px;
	margin-top: 24px;
}

.woocommerce-checkout .wc_payment_methods {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.woocommerce-checkout .wc_payment_method .payment_box {
	background: var(--color-white);
	border: 1px solid var(--color-ink);
	border-radius: 12px;
	padding: 16px;
	margin-top: 8px;
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--color-ink);
}

.woocommerce-checkout .wc_payment_method label {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 16px;
	color: var(--color-ink);
}

/*
 * Card-brand icons (Visa/MC/Amex/Discover) in the payment method label —
 * confirmed live these were stacking one-per-line instead of sitting next
 * to the label text, caused by a global `img { display: block; }` reset
 * elsewhere in this stylesheet applying here with nothing to override it.
 */
.woocommerce-checkout .wc_payment_method label img {
	display: inline-block;
	width: auto;
	height: 20px;
	vertical-align: middle;
}

/*
 * PeachPay / ConvesioPay card form (the live gateway since 2026-10-11,
 * replacing NMI, whose own plugin CSS used to style its card boxes — this
 * form has none, and nothing in this theme styled it). Number / Expiry /
 * Security code / Name on card are VGS Collect iframes, so this stylesheet
 * can't reach inside them — PeachPay only gives the SDK a light/dark theme.
 * What the page does own is each iframe's wrapper (.vault-field-container):
 * it becomes the visible input box, matching the .input-text rule above
 * (52px, 1px ink border, 12px radius, white), and the iframe is stretched
 * 1px past it on every side so the iframe's own faint border is cropped off
 * by overflow:hidden rather than showing as a second one. Previewed on the
 * live checkout (CSS injected in the browser only) before writing. The text
 * typed inside the iframes stays the SDK's own 16px Arial.
 *
 * Padding goes on the gateway's own container, not .payment_box: the
 * plugin's JS injects `padding: 0 !important` on .payment_box when this is
 * the only payment method, which this theme's CSS can't outrank.
 */
body.woocommerce-checkout:not(.checkout-funnel-page) #convesiopay-unified-payment-container {
	padding: 16px;
}

.woocommerce-checkout .vault-field-container {
	position: relative;
	box-sizing: border-box;
	height: 52px;
	background: var(--color-white);
	border: 1px solid var(--color-ink);
	border-radius: 12px;
	overflow: hidden;
}

.woocommerce-checkout .vault-field-container:focus-within {
	border-color: var(--color-purple-btn);
}

.woocommerce-checkout .vault-field-container iframe {
	position: absolute !important;
	top: -1px !important;
	left: -1px !important;
	width: calc(100% + 2px) !important;
	height: calc(100% + 2px) !important;
}

.woocommerce-checkout .vault-label {
	display: block;
	margin-bottom: 6px;
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 14px;
	color: var(--color-ink);
}

.woocommerce-checkout .vault-form-note {
	font-family: var(--font-body);
	font-size: 14px;
	color: rgba(7, 18, 27, 0.75);
}

/* "All fields are required unless marked otherwise." — hidden on both checkouts (regular, then the custom funnel too) per client request 2026-10-11. The fields are still required; only PeachPay's note is hidden. */
body.woocommerce-checkout .vault-form-note {
	display: none;
}

/*
 * Empty placeholder for the gateway's own hosted card-number/expiry/CVV
 * iframes (nmi-for-woocommerce plugin, injected via its own JS — Collect.js
 * — once a tokenization key is configured in WooCommerce > Settings >
 * Payments). Confirmed live: these currently render as literally empty,
 * zero-height divs (`console` shows "A tokenization key must be provided" —
 * a gateway configuration issue, not a theme/CSS bug, so this can't be
 * "fixed" from here). This gives the container consistent spacing/sizing
 * now, so the payment box doesn't look broken/collapsed either way, and
 * matches once real fields do render.
 */
.woocommerce-checkout #nmi-ccnumber,
.woocommerce-checkout #nmi-ccexp,
.woocommerce-checkout #nmi-cvv {
	min-height: 48px;
	margin-top: 12px;
	border: 1px solid var(--color-ink);
	border-radius: 12px;
	background: #f4ecff;
}

/*
 * Authorize.net (CIM) credit-card fields — this gateway is only installed
 * on the live server, not this local dev site, so unlike every other fix
 * in this project this one could NOT be verified live in a browser. Built
 * directly from the markup the client provided: it reuses the exact same
 * .form-row/.form-row-first/.form-row-last/.input-text/.required classes
 * WooCommerce core uses everywhere else in this checkout, so it slots into
 * the same rules already styling every other field, plus a few overrides
 * (scoped to this gateway's own wrapper class, using its field IDs where
 * a plugin stylesheet needs to be outranked for certain) for the specific
 * problems the client's screenshot showed: oversized input/placeholder
 * font, the required-asterisk sitting off the label's baseline, and the
 * Expiration/CSC fields having no gap between them. Ask the client to
 * confirm on the live site and flag anything that still needs a nudge.
 */
.woocommerce-checkout .wc-authorize-net-cim-credit-card-new-payment-method-form .form-row {
	margin: 0 0 16px;
}

.woocommerce-checkout .wc-authorize-net-cim-credit-card-new-payment-method-form label {
	display: block;
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 14px;
	line-height: 1.4;
	color: var(--color-ink);
	margin-bottom: 6px;
}

.woocommerce-checkout .wc-authorize-net-cim-credit-card-new-payment-method-form label .required {
	display: inline;
	vertical-align: baseline;
	line-height: inherit;
	font-size: 14px;
	color: var(--color-pink);
	text-decoration: none;
}

.woocommerce-checkout .wc-authorize-net-cim-credit-card-new-payment-method-form .input-text {
	box-sizing: border-box;
	width: 100%;
	height: 52px;
	border: 1px solid var(--color-ink);
	border-radius: 12px;
	padding: 13px 17px;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.4;
	letter-spacing: normal;
	color: var(--color-ink);
	background: var(--color-white);
}

.woocommerce-checkout .wc-authorize-net-cim-credit-card-new-payment-method-form .input-text::placeholder {
	font-size: 16px;
	letter-spacing: normal;
	color: rgba(7, 18, 27, 0.45);
}

.woocommerce-checkout .wc-authorize-net-cim-credit-card-new-payment-method-form .input-text:focus {
	outline: none;
	border-color: var(--color-purple-btn);
}

/*
 * The gateway's own JS adds a card-brand class (visa/mastercard/amex/
 * discover) plus "identified" to the card-number field once it detects a
 * brand, and draws a brand icon via its own CSS background-image inset in
 * the input's right side (visible in the client's screenshot). Reserving
 * extra right-side room here so this theme's own padding doesn't crowd
 * that icon against the digits — a value estimated from the screenshot,
 * since the plugin's own CSS isn't available to inspect locally.
 */
.woocommerce-checkout .wc-authorize-net-cim-credit-card-new-payment-method-form .input-text.identified {
	padding-right: 56px;
}

.woocommerce-checkout .wc-authorize-net-cim-credit-card-new-payment-method-form .form-row-first,
.woocommerce-checkout .wc-authorize-net-cim-credit-card-new-payment-method-form .form-row-last {
	box-sizing: border-box;
	width: calc(50% - 8px);
	display: inline-block;
	vertical-align: top;
}

.woocommerce-checkout .wc-authorize-net-cim-credit-card-new-payment-method-form .form-row-first {
	margin-right: 16px;
}

.woocommerce-checkout .wc-authorize-net-cim-credit-card-new-payment-method-form .clear {
	clear: both;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
	font-family: var(--font-body);
	font-size: 13px;
	color: rgba(7, 18, 27, 0.7);
	margin: 0 0 20px;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper a {
	color: var(--color-pink);
}

.woocommerce-checkout #place_order {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	gap: 12px;
	background: var(--color-purple-btn);
	color: var(--color-white);
	font-family: var(--font-button);
	font-weight: 400;
	font-size: 18px;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	border: none;
	border-radius: 36px;
	padding: 16px 36px;
	cursor: pointer;
	transition: transform 0.15s ease, opacity 0.15s ease;
}

.woocommerce-checkout #place_order:hover {
	transform: translateY(-2px);
	opacity: 0.92;
}

@media (max-width: 1024px) {
	.woocommerce-checkout form.checkout {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
	}

	.woocommerce-checkout #customer_details,
	.woocommerce-checkout #order_review_heading,
	.woocommerce-checkout #order_review {
		grid-column: 1;
	}

	.woocommerce-checkout #customer_details {
		grid-row: 1;
	}

	.woocommerce-checkout #order_review_heading {
		grid-row: 2;
	}

	.woocommerce-checkout #order_review {
		grid-row: 3;
		position: static;
	}
}

@media (max-width: 600px) {
	.woocommerce-checkout .form-row-first,
	.woocommerce-checkout .form-row-last {
		width: 100%;
		display: block;
		margin-right: 0;
	}
}

/*
 * #place_order ("PLACE ORDER") wraps onto 2 lines once its column narrows
 * below ~460px — confirmed live via canvas-text-width: the button's own
 * fixed 36px side padding + 18px uppercase display-font text ("BBH
 * Bartle", +0.3px letter-spacing per character) needs ~242px, but the
 * funnel's own Step 4 column (nested inside the 24px .woocommerce-
 * checkout-payment box, itself inside the 32px section padding) is only
 * ~227px wide at 320px viewport. Not scoped to .checkout-funnel — the
 * unmodified normal checkout's own #place_order shares this exact same
 * base rule/bug at narrow widths, so fixing it here benefits both. Sized
 * to leave a real buffer at 320px (measured 189px needed at 14px vs.
 * ~199px available with this padding), not just the exact fit.
 */
@media (max-width: 767px) {
	.woocommerce-checkout #place_order {
		padding: 16px 14px;
		font-size: 14px;
	}
}

/* ==========================================================================
   WooCommerce Order Received / Order Details (Phase 6)

   Same situation as Checkout: no static mockup exists, and unlike Checkout
   this page IS a classic PHP template (order/order-details.php etc.) —
   but deliberately NOT overridden/rewritten. WooCommerce Subscriptions and
   other plugins hook real, load-bearing content into this exact template's
   action hooks (woocommerce_thankyou, woocommerce_order_details_after_*),
   so restyling the existing markup in place (same approach as Checkout's
   block classes) keeps every plugin integration intact instead of risking
   a full template rewrite silently dropping something on a subscription
   commerce site. Shares .woocommerce-checkout's page-level chrome (nav
   clearance, no sidebar, title styling) since is_checkout() is true on
   both this endpoint and the order-received one.
   ========================================================================== */

.woocommerce-order {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.woocommerce-thankyou-order-received {
	background: var(--color-lavender-pale);
	border-radius: var(--radius-md);
	padding: 20px 24px;
	font-family: var(--font-body);
	font-size: 18px;
	color: var(--color-ink);
	margin: 0;
}

.woocommerce-order-overview {
	display: flex;
	flex-wrap: wrap;
	gap: 24px 48px;
	list-style: none;
	margin: 0;
	padding: 0;
	background: var(--color-white);
	border: 1px solid var(--color-ink);
	border-radius: var(--radius-lg);
	padding: 24px 28px;
}

.woocommerce-order-overview li {
	font-family: var(--font-body);
	color: rgba(7, 18, 27, 0.65);
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.woocommerce-order-overview li strong {
	display: block;
	font-family: var(--font-display);
	font-weight: 400;
	text-transform: none;
	color: var(--color-plum);
	font-size: 20px;
	margin-top: 4px;
}

.woocommerce-order-details__title,
.woocommerce-column__title {
	font-family: var(--font-display);
	font-weight: 400;
	text-transform: uppercase;
	color: var(--color-plum);
	font-size: 22px;
	margin: 0 0 16px;
}

.woocommerce-table--order-details {
	width: 100%;
	border-collapse: collapse;
	background: var(--color-white);
	border: 1px solid var(--color-ink);
	border-radius: var(--radius-lg);
	overflow: hidden;
	font-family: var(--font-body);
	color: var(--color-ink);
}

.woocommerce-table--order-details th,
.woocommerce-table--order-details td {
	padding: 16px 20px;
	text-align: left;
	border-bottom: 1px solid var(--color-lavender-soft);
}

.woocommerce-table--order-details thead th {
	font-family: var(--font-display);
	font-weight: 400;
	text-transform: uppercase;
	font-size: 14px;
	color: var(--color-plum);
	background: var(--color-lavender-pale);
}

.woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-table--order-details tfoot tr:last-child td {
	border-bottom: none;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 18px;
	color: var(--color-plum);
}

.woocommerce-table__product-table.product-total {
	text-align: right;
}

.lumoranutri-order-item {
	/*
	 * inline-flex, not flex — the "x 1" quantity <strong> that WooCommerce
	 * appends is a sibling AFTER this wrapper in the DOM (added by a
	 * separate filter than the one that builds this wrapper), not
	 * something inside it. A block-level flex container would force that
	 * sibling onto its own line; inline-flex keeps it on the same line.
	 */
	display: inline-flex;
	align-items: center;
	gap: 12px;
	vertical-align: middle;
}

.lumoranutri-order-item-thumbnail {
	width: 48px;
	height: 48px;
	flex-shrink: 0;
	border: 1px solid var(--color-ink);
	border-radius: 10px;
	object-fit: cover;
}

.woocommerce-customer-details {
	background: var(--color-white);
	border: 1px solid var(--color-ink);
	border-radius: var(--radius-lg);
	padding: 24px 28px;
}

.woocommerce-customer-details address {
	font-family: var(--font-body);
	font-style: normal;
	color: var(--color-ink);
	line-height: 1.6;
}

.lumoranutri-order-received-cta {
	margin: 0;
}

/* Failed-order notice — same treatment as Checkout's validation errors. */
.woocommerce-thankyou-order-failed {
	border: 1px solid #d32f2f;
	background: #fdecea;
	border-radius: var(--radius-md);
	padding: 16px 20px;
	font-family: var(--font-body);
	color: #7a1f1f;
}

.woocommerce-thankyou-order-failed-actions {
	display: flex;
	gap: 12px;
}

.woocommerce-thankyou-order-failed-actions .button {
	background: var(--color-purple-btn);
	color: var(--color-white);
	font-family: var(--font-button);
	text-transform: uppercase;
	border-radius: 36px;
	padding: 14px 28px;
	display: inline-block;
}

@media (max-width: 767px) {
	.woocommerce-order-overview {
		gap: 16px 32px;
		padding: 20px;
	}

	.woocommerce-table--order-details th,
	.woocommerce-table--order-details td {
		padding: 12px 14px;
	}

	.woocommerce-customer-details {
		padding: 20px;
	}
}

/* Contact Page (Figma node 43:1612, desktop >=1025px only — mobile note pending)
--------------------------------------------- */
.contact-hero {
	/*
	 * Figma (node 43:1615) wraps the whole section in a lavender card —
	 * same pattern as .hero on the homepage (background:var(--color-lavender),
	 * .nav sits position:absolute on top of it). This was missing entirely
	 * in the first pass: only the inner white .contact-card was built, so
	 * .nav had no colored section to visually anchor against, unlike
	 * every other page. border-radius/overflow already come from the
	 * shared .section-inner class (same var(--radius-lg) token Figma's
	 * own 24px matches) — no need to redeclare here.
	 */
	position: relative;
	background: var(--color-lavender);
	padding: 136px 224px 84px;
	margin-bottom: 16px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.contact-hero__ellipse--a {
	position: absolute;
	left: 50%;
	top: -495px;
	transform: translateX(calc(-50% + 494px));
	pointer-events: none;
	z-index: -1;
}

.contact-hero__ellipse--b {
	position: absolute;
	left: 50%;
	top: 10px;
	transform: translateX(-50%);
	pointer-events: none;
	z-index: -1;
}

.contact-card {
	position: relative;
	background: var(--color-white);
	border: 1px solid var(--color-ink);
	border-radius: 27px;
	overflow: hidden;
	display: flex;
	justify-content: flex-end;
	padding: 100px 64px;
}

.contact-card__sparkle {
	/*
	 * Figma node 43:2452 — a decorative holographic star/sparkle graphic
	 * on a transparent background (assets/images/contact-sparkle.png, a
	 * high-res 1253x1450 source provided directly by the user after the
	 * theme's own sparkle-new.png at 246x334 rendered blurry when scaled
	 * up to fill this ~750px box), NOT a lifestyle photo. Figma masks it
	 * with a custom organic vector shape so it can extend under the text
	 * column — reproducing that exact vector is out of scope for this
	 * pass. object-fit:cover (tried first) cropped one of the star's 4
	 * points depending on object-position, since the box's own aspect
	 * ratio doesn't match the source image's; object-fit:contain shows
	 * the whole star instead, left-aligned in the box so it sits nearest
	 * the card's edge, matching Figma's own left-anchored positioning.
	 * The transparent background blends into the white card without
	 * needing a fade mask to stay legible.
	 */
	position: absolute;
	left: 0;
	top: 0;
	width: 700px;
	height: 100%;
	object-fit: contain;
	object-position: 0% 50%;
	pointer-events: none;
}

.contact-card__content {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 32px;
	width: 780px;
}

.contact-card__intro {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.contact-card__intro .heading-xl {
	font-size: 64px;
	line-height: 64px;
}

.contact-card__intro .body-lg {
	font-size: 20px;
	line-height: 30px;
	font-weight: 500;
	color: var(--color-purple-btn);
}

/* Contact Form 7 -- custom field markup in the form content (see the "Contact form 1" CF7 form), styled here. */
.contact-form form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.contact-form .contact-form__row {
	display: flex;
	gap: 16px;
}

.contact-form__field {
	background: #f4ecff;
	border: 1px solid var(--color-ink);
	border-radius: 12px;
	padding: 12px 16px;
	width: 382px;
}

.contact-form__field--full {
	width: 100%;
}

.contact-form__field p {
	/*
	 * CF7's wpautop wraps the raw form content as
	 * <p><label>Name</label><br>[input]</p> — the <br> forces a full
	 * extra line-height's worth of space between label and input, not a
	 * clean flex gap, since this <p> was never a flex container. Making
	 * the <p> itself the flex column and hiding the now-redundant <br>
	 * is what "too much space" was originally caused by (Figma's own
	 * node 43:1672 spec is 4px here; 9px is a deliberate override of
	 * that per explicit instruction).
	 */
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.contact-form__field p br {
	display: none;
}

.contact-form__field label {
	display: block;
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 16px;
	line-height: 24px;
	color: var(--color-ink);
}

.contact-form__field .wpcf7-form-control-wrap {
	display: block;
}

.contact-form__field .wpcf7-form-control {
	width: 100%;
	border: none;
	background: none;
	padding: 0;
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	color: rgba(7, 18, 27, 0.8);
}

.contact-form__field .wpcf7-form-control:focus {
	outline: none;
}

.contact-form__field textarea.wpcf7-form-control {
	/*
	 * Figma node 43:2375: Message is the same ~78px-tall field as
	 * Name/Email/Phone, not a tall multi-line textarea — CF7's own
	 * default rows="10" attribute needs an explicit height override, not
	 * just min-height, to actually shrink it. display:block is also
	 * needed on the textarea itself (not just its .wpcf7-form-control-wrap
	 * span) — a textarea left at its default inline-level display sits on
	 * the text baseline, leaving ~7px of descender space below it that
	 * min-height/height alone don't remove.
	 */
	display: block;
	resize: none;
	height: 24px;
}

.contact-form .wpcf7-submit {
	width: 100%;
	background: var(--color-purple-btn);
	color: var(--color-white);
	font-family: var(--font-button);
	font-weight: 400;
	font-size: 18px;
	line-height: 28px;
	text-align: center;
	border: none;
	border-radius: 36px;
	padding: 16px 43px;
	cursor: pointer;
	transition: transform 0.15s ease, opacity 0.15s ease;
}

.contact-form .wpcf7-submit:hover {
	transform: translateY(-2px);
	opacity: 0.92;
}

.contact-form .wpcf7-spinner {
	display: none;
}

.contact-reviews {
	display: flex;
	gap: 20px;
	width: 100%;
}

.contact-review-card {
	/*
	 * Figma groups stars+text as their own nested "Paragraph" block with
	 * its own 12px gap, separate from this 16px outer gap to the author
	 * row — .contact-review-card__rating below is that nested block.
	 * Previously flattened into one 16px gap across all 3 children; the
	 * two values genuinely differ (16 vs 12), confirmed against both the
	 * desktop node (43:1733) and the mobile node (68:4614) fetched for
	 * this fix.
	 */
	flex: 1 0 0;
	min-width: 0;
	background: #f4ecff;
	border: 1px solid var(--color-ink);
	border-radius: 24px;
	box-shadow: 4px 8px 0 var(--color-ink);
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 21px;
}

.contact-review-card__rating {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
}

.contact-review-card__stars {
	display: flex;
	gap: 1px;
}

.contact-review-card__stars img,
.contact-review-card__stars svg {
	width: 20px;
	height: 20px;
}

.contact-review-card__text {
	/* Overrides the scaffold's `p { margin-bottom: 1.5em }` — see .nav__links. */
	margin: 0;
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 20px;
	line-height: 28px;
	color: var(--color-ink);
}

.contact-review-card__author {
	display: flex;
	align-items: center;
	gap: 16px;
}

.contact-review-card__author img.avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.contact-review-card__name {
	/* Overrides the scaffold's `p { margin-bottom: 1.5em }` — see .nav__links. */
	margin: 0 0 4px;
	display: flex;
	align-items: center;
	gap: 5px;
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 20px;
	line-height: 26px;
	color: var(--color-ink);
}

.contact-review-card__verified {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	border-radius: 38px;
	background: #7957ff;
	flex-shrink: 0;
}

.contact-review-card__verified svg,
.contact-review-card__verified img {
	width: 10px;
	height: 10px;
}

.contact-review-card__location {
	/* Overrides the scaffold's `p { margin-bottom: 1.5em }` — see .nav__links. */
	margin: 0;
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 14px;
	line-height: 18px;
	color: var(--color-purple-btn);
}

/*
 * 1025px-1773px only: same fixed-column-squeeze pattern as Hero/Ritual/
 * Product Intro, reusing Hero's own side-padding clamp verbatim.
 * .contact-card__sparkle/__content were both fixed px (750/780) matching
 * Figma's own 1920px-wide reference frame — confirmed live at 1440px
 * (inside this range, before this fix, back when this was a lifestyle
 * photo rather than the sparkle graphic) that the fixed-width content
 * column got pushed far enough left by the still-750px-wide image that
 * the heading/subtext became illegible against it. Both scaled down
 * together via clamp() (not just the image) so the two stay
 * proportionally matched at every width in this range, not just the
 * two endpoints.
 */
@media (min-width: 1025px) and (max-width: 1773px) {
	.contact-hero {
		padding-left: clamp(32px, 25.63vw - 230.49px, 224px);
		padding-right: clamp(32px, 25.63vw - 230.49px, 224px);
	}

	.contact-card__sparkle {
		/* Same slope as before the 50px width reduction, both MIN/MAX shifted down 50px: slope=(700-488)/749=0.2831 -> 28.31vw; intercept=488-0.2831*1025=197.82 */
		width: clamp(488px, 28.31vw + 197.82px, 700px);
	}

	.contact-card__content {
		/* slope=(780-560)/749=0.2937 -> 29.37vw; intercept=560-0.2937*1025=258.96 */
		width: clamp(560px, 29.37vw + 258.96px, 780px);
	}
}

/*
 * <=1024px: matches Figma node 68:4399 exactly (explicitly given as the
 * "smaller to max-width:767px" spec) — extended up through 1024px rather
 * than stopping at 767px because the fluid clamp above only covers
 * 1025px+; below that, with no mobile styles, the section genuinely
 * overflowed (confirmed live at 900px: docOverflow +46px, real bug, not
 * just "looks a bit off"). This single-column layout scales cleanly
 * across that whole range, so one breakpoint covers both the true
 * mobile spec and the otherwise-unstyled tablet gap, rather than
 * inventing a separate undocumented tablet design for 768-1024px.
 * .contact-reviews below has no Figma mobile node yet — stacked to a
 * plain full-width column as a reasonable placeholder, flagged as not
 * Figma-sourced.
 */
@media (max-width: 1024px) {
	.contact-hero {
		padding: 0;
		margin: -12px 8px 16px;
		border-radius: 0;
		gap: 0;
		align-items: stretch;
		padding-bottom: 24px;
	}

	.contact-hero__ellipse--a,
	.contact-hero__ellipse--b {
		display: none;
	}

	.contact-card {
		padding: 32px;
		gap: 0;
	}

	.contact-card__sparkle {
		/*
		 * Figma positions this as a small corner accent bleeding in from
		 * outside the card's top-right (mask box top:-207px relative to
		 * the 552px-tall card — mostly above the card, clipped by the
		 * card's own overflow:hidden to just a peeking sliver). Approximated
		 * with a simpler top-right absolute placement + contain, rather
		 * than the exact negative-offset mask geometry.
		 */
		left: auto;
		right: -90px;
		top: -116px;
		width: 220px;
		height: 220px;
		object-position: 100% 0%;
	}

	.contact-card__content {
		width: 100%;
	}

	.contact-card__intro {
		gap: 8px;
	}

	.contact-card__intro .heading-xl {
		font-size: 32px;
		line-height: 36px;
	}

	.contact-form form {
		gap: 16px;
	}

	.contact-form .contact-form__row {
		flex-direction: column;
		gap: 8px;
	}

	.contact-form__field {
		width: 100%;
		padding: 9px 13px;
	}

	.contact-form__field p {
		gap: 2px;
	}

	.contact-form__field label {
		font-size: 14px;
		line-height: 20px;
	}

	.contact-form__field .wpcf7-form-control {
		font-size: 12px;
		line-height: 18px;
		color: rgba(7, 18, 27, 0.7);
	}

	.contact-form__field textarea.wpcf7-form-control {
		height: 18px;
	}

	.contact-form .wpcf7-submit {
		padding: 18px 43px;
		font-size: 16px;
		line-height: 24px;
	}

	.contact-reviews {
		flex-direction: column;
		margin-top: 20px;
	}

	/* Matches Figma node 68:4614 exactly. */
	.contact-review-card {
		padding: 17px;
		gap: 12px;
	}

	.contact-review-card__rating {
		gap: 8px;
	}

	.contact-review-card__text {
		font-size: 16px;
		line-height: 24px;
	}

	.contact-review-card__name {
		font-size: 16px;
		line-height: 24px;
	}

	.contact-review-card__location {
		font-size: 12px;
		color: rgba(7, 18, 27, 0.8);
	}
}
/*--------------------------------------------------------------
# Checkout Funnel — dedicated single-product subscription checkout
# Phase D: full section-by-section design, built against the client's
# reference funnel video/screenshot (structure/interaction only — all
# colors/type/spacing use this theme's own existing design tokens, never
# the reference's own pink color scheme or components).
--------------------------------------------------------------*/
.checkout-funnel-header {
	border-bottom: 1px solid rgba(7, 18, 27, 0.12);
	background: var(--color-white);
}

/*
 * Client asked for the header content to sit inside the same container
 * as the rest of the page — it was using its own separate max-width +
 * margin:0 auto centering, unrelated to how .checkout-funnel-content
 * insets everything below it, so the logo/contact row didn't line up
 * with the gallery/steps at all (confirmed live: header content started
 * at #page's bare 16px inset, body content started ~97px further in at
 * 1280px). Reusing .checkout-funnel-content's own padding system exactly
 * (same values, same breakpoints, below) instead of a second mechanism.
 */
.checkout-funnel-header__inner {
	padding: 20px 224px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

@media (min-width: 1025px) and (max-width: 1773px) {
	.checkout-funnel-header__inner {
		padding-left: clamp(32px, 25.63vw - 230.49px, 224px);
		padding-right: clamp(32px, 25.63vw - 230.49px, 224px);
	}
}

@media (max-width: 1024px) {
	.checkout-funnel-header__inner {
		padding-left: 32px;
		padding-right: 32px;
	}
}

.checkout-funnel-header__logo img {
	display: block;
	height: 32px;
	width: auto;
}

.checkout-funnel-header__trust {
	margin: 0;
	font-family: var(--font-body);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: 13px;
	color: var(--color-ink);
}

.checkout-funnel-header__contact {
	margin: 0;
	font-family: var(--font-body);
	font-size: 13px;
	color: rgba(7, 18, 27, 0.7);
}

.checkout-funnel-header__contact a {
	color: var(--color-plum);
	font-weight: 600;
}

/*
 * Researched properly this time: the established pattern used by every
 * section on this site (.hero, .ritual, .product-intro, confirmed by
 * reading their actual CSS) is a `<section class="{name} section-inner">`
 * with its OWN horizontal padding — never a shared `.container` div.
 * Sections needing more than #page's own 16px inset reuse one exact,
 * already-proven formula verbatim (confirmed live on .product-intro,
 * single-product page): a flat 224px above 1773px, fluid clamp between
 * 1025-1773px, flat 32px at <=1024px. Reused verbatim here rather than
 * inventing a new number.
 */
.checkout-funnel-content {
	padding: 48px 224px 80px;
	margin-top: 16px;
}

@media (min-width: 1025px) and (max-width: 1773px) {
	.checkout-funnel-content {
		padding-left: clamp(32px, 25.63vw - 230.49px, 224px);
		padding-right: clamp(32px, 25.63vw - 230.49px, 224px);
	}
}

@media (max-width: 1024px) {
	.checkout-funnel-content {
		padding: 32px 32px 48px;
	}
}

/* Gallery + offer copy (§2.2) */
/*
 * Client corrected this twice: a flex/fixed-420px approach was wrong —
 * researched the real product page's own gallery+details "hero" layout
 * properly this time (getBoundingClientRect + the actual .product-card
 * CSS) and it's a CSS grid, not flex: `grid-template-columns: 660px 1fr`
 * at the base, fluid-scaling down to 330px between 1025-1773px (same
 * clamp formula family as Hero/Ritual), stacking to flex-column at
 * <=767px. Reused verbatim below rather than inventing new numbers.
 */
/*
 * Client corrected this twice: a flex/fixed-420px approach was wrong —
 * researched the real product page's own gallery+details "hero" layout
 * properly this time (getBoundingClientRect + the actual .product-card
 * CSS) and it's a CSS grid, not flex: `grid-template-columns: 660px 1fr`
 * at the base, fluid-scaling down to 330px between 1025-1773px (same
 * clamp formula family as Hero/Ritual), stacking to flex-column at
 * <=767px. Reused verbatim below rather than inventing new numbers.
 *
 * A later attempt (stretch + object-fit:cover, 440px base) to close the
 * gap under this column's shorter copy made the 1025-1773px range worse
 * instead of better — reverted back to this known-good state per
 * explicit instruction; the actual height-matching fix needs to be
 * re-approached and verified across that full range before touching
 * this again, not just at one spot-checked width.
 *
 * Client asked for "a little bit smaller" afterwards — 660px -> 560px
 * (~15% down), MIN kept at the same 50%-of-MAX ratio as the original
 * 330/660 (280/560), same clamp calculation method as before, not a
 * repeat of the earlier 440px/stretch attempt this time.
 */
.checkout-funnel__gallery-offer {
	display: grid;
	grid-template-columns: 560px 1fr;
	gap: 36px;
	align-items: center;
	border: 1px dashed rgba(7, 18, 27, 0.3);
	border-radius: var(--radius-md);
	padding: 20px;
	margin-bottom: 24px;
}

/*
 * Root cause of the gap under the image at >=1774px, found via
 * inspector: the shared base rule (`.product-gallery__main { height:
 * 642px; }`, ~line 4090) is a FIXED height matching the real product
 * page's own fixed 660px-wide column — harmless there since that column
 * never changes width, but this column is intentionally narrower
 * (280-560px) and that fixed 642px doesn't track it at all. Rather than
 * chase that page's own per-breakpoint height/aspect-ratio overrides
 * (tuned for ITS specific widths, not this column's), this uses one
 * aspect-ratio that holds at every width this column can ever be, so the
 * image is always exactly square, matching whatever width the grid
 * column above computes — no per-breakpoint height values needed here.
 */
.checkout-funnel__gallery .product-gallery__main {
	position: relative;
	height: auto;
	aspect-ratio: 1 / 1;
}

.checkout-funnel__gallery .product-gallery__main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--radius-md);
}

/*
 * Thumbnails: the shared base rule (~line 4126) is a fixed 104x104px —
 * correct for the real product page's own fixed 660px-wide column
 * (6*104px + 5*7.2px gaps = 660px exactly), but this column's width is
 * narrower and fluid (280-560px), so a fixed 104px would only ever fit
 * 2-5 across before scrolling. Sized as a fraction of the row's own
 * width instead — always exactly 6 per row, always square (aspect-ratio,
 * not a fixed height), at any width this column can be, on any device.
 */
.checkout-funnel__gallery .product-gallery__thumbs {
	gap: 6px;
}

.checkout-funnel__gallery .product-gallery__thumb {
	width: calc((100% - (5 * 6px)) / 6);
	height: auto;
	aspect-ratio: 1 / 1;
}

/*
 * Main-image prev/next — reuses .product-gallery__thumb-nav's own
 * established round-button look, positioned at the image edges instead
 * of the thumb strip. Same icon-flip convention as the existing thumb
 * nav buttons too (icon-arrow-prev's raw shape points right by default;
 * flipped via scaleX on the icon itself for "prev", left as-is for
 * "next" — matching .product-gallery__thumb-nav--prev/--next exactly).
 */
.product-gallery__main-nav--prev {
	left: 16px;
}

.product-gallery__main-nav--prev img,
.product-gallery__main-nav--prev svg {
	transform: scaleX(-1);
}

.product-gallery__main-nav--next {
	right: 16px;
}

.checkout-funnel__offer {
	flex: 1 1 auto;
	padding-top: 8px;
}

/*
 * Client confirmed (2026-09-17): make this a real <h1>, reusing
 * `heading-xl product-title` exactly as the single-product page's own
 * title does (48px/56px desktop, steps down to 32px/36px at <=767px via
 * .product-title's own existing rule — see style.css ~line 4221/5269) —
 * so this rule only adds the bottom spacing those two classes don't
 * already provide, nothing else duplicated here.
 */
.checkout-funnel__offer-headline {
	margin-bottom: 16px;
}

.checkout-funnel__offer-bullets {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.checkout-funnel__offer-bullets li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-family: var(--font-body);
	font-size: 20px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--color-ink);
}

/*
 * margin-top centers the icon against the FIRST LINE only (not the whole
 * multi-line paragraph) — was tuned for the bullets' earlier 15px/22.5px
 * line-height (3px), now stale since the font-size grew to 20px/30px
 * line-height without this being recomputed. Icon's own aspect ratio
 * (viewBox 9.55091:20.3571) at width:8px -> height ~17.05px;
 * (30 - 17.05) / 2 = 6.475px.
 */
.checkout-funnel__offer-bullets li svg {
	flex: 0 0 auto;
	margin-top: 6.5px;
	width: 8px;
	height: auto;
}

.checkout-funnel__offer-bullets li svg path {
	fill: var(--color-pink);
}

/* Countdown bar (§2.3) */
.checkout-funnel__countdown {
	display: flex;
	align-items: center;
	gap: 12px;
	background: #fff4e5;
	border: 1px solid #f0b429;
	border-radius: var(--radius-md);
	padding: 14px 20px;
	margin-bottom: 32px;
}

/*
 * icon-warning-triangle.php's viewBox is 20x18 (not square, unlike the
 * checkmark it replaced) — height:auto instead of a fixed 20px keeps its
 * own aspect ratio instead of stretching it.
 */
.checkout-funnel__countdown svg {
	flex: 0 0 auto;
	width: 20px;
	height: auto;
}

.checkout-funnel__countdown p {
	margin: 0;
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--color-ink);
}

/*
 * Client's reference demo shows both the "NEW YEAR SPECIAL..." headline
 * and the countdown number itself in the same red as the caution icon —
 * switched from --color-pink (this bar's old checkmark-icon-era color) to
 * the same red as icon-warning-triangle.php's triangle fill so the icon
 * and highlighted copy read as one consistent "urgent" color, matching
 * the demo instead of mixing pink text with a red icon.
 */
.checkout-funnel__countdown strong {
	color: #dc2626;
	font-weight: 700;
}

/*
 * Root cause of the "content isn't filling the container" bug, found by
 * comparing matched CSS rules live: the existing Phase 7 checkout block
 * (above, `.woocommerce-checkout form.checkout { display:grid;
 * grid-template-columns:1fr 400px; ... }` + grid-column/grid-row/sticky
 * rules on the bare IDs #order_review_heading and #order_review) was
 * built for the *normal* checkout's own DOM shape (#customer_details +
 * those two IDs as direct grid children). This funnel's <form> also
 * carries the `woocommerce-checkout`/`checkout` classes (needed for its
 * real field styling) and reuses those same two IDs deliberately, so it
 * inherited that unrelated grid: the form itself became the 1fr/400px
 * grid, .checkout-funnel__grid landed alone in the 1fr track (measured
 * live: 985px instead of the full ~1873px), and the 400px track sat
 * empty — accounting for the exact ~440px shortfall measured. Explicitly
 * overriding those rules back off here, scoped to .checkout-funnel-form
 * only, so the normal checkout page's own Phase 7 layout is completely
 * untouched.
 */
.woocommerce-checkout form.checkout.checkout-funnel-form {
	display: block;
}

.checkout-funnel__col-sidebar #order_review_heading {
	grid-column: auto;
	grid-row: auto;
}

.checkout-funnel__col-sidebar #order_review {
	grid-column: auto;
	grid-row: auto;
	position: static;
	top: auto;
}

/* Two-column grid + sticky sidebar (§2.4) */
.checkout-funnel__grid {
	display: grid;
	grid-template-columns: 1fr 400px;
	gap: 48px;
	align-items: start;
}

.checkout-funnel__col-sidebar {
	position: sticky;
	top: 32px;
}

.checkout-funnel__step {
	margin-bottom: 32px;
	padding-bottom: 32px;
	border-bottom: 1px solid rgba(7, 18, 27, 0.1);
}

.checkout-funnel__step-heading {
	font-family: var(--font-display);
	font-weight: 400;
	text-transform: uppercase;
	font-size: 20px;
	color: var(--color-plum);
	margin: 0 0 6px;
}

.checkout-funnel__step-subheading {
	font-family: var(--font-body);
	font-size: 13px;
	color: rgba(7, 18, 27, 0.7);
	margin: 0 0 20px;
}

/* Step 1 — plan cards */
.checkout-funnel__plans {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.checkout-funnel__plan-switch-error {
	margin: 12px 0 0;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 600;
	color: #dc2626;
}

.checkout-funnel__plan {
	position: relative;
	display: grid;
	grid-template-columns: auto auto 1fr auto;
	align-items: center;
	gap: 16px;
	border: 1px solid rgba(7, 18, 27, 0.2);
	border-radius: var(--radius-md);
	padding: 16px 20px;
	cursor: pointer;
	background: var(--color-white);
}

.checkout-funnel__plan--selected {
	border-color: var(--color-purple-btn);
	border-width: 2px;
	background: var(--color-lavender-pale);
}

.checkout-funnel__plan-badge {
	position: absolute;
	top: -11px;
	left: 20px;
	background: #dc2626;
	color: var(--color-white);
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 11px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 4px 12px;
	border-radius: var(--radius-pill);
	box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.45);
	animation: lumoranutri-plan-badge-pulse 1.5s ease-in-out infinite;
}

/* Timing and swing matched to the client's reference (measured from their screen recording): one full pulse every 1.5s, badge growing ~10% with a soft red glow at the peak. */
@keyframes lumoranutri-plan-badge-pulse {
	0%, 100% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
	}
	50% {
		transform: scale(1.05);
		box-shadow: 0 0 8px 2px rgba(220, 38, 38, 0.45);
	}
}

.checkout-funnel__plan-radio {
	width: 20px;
	height: 20px;
	accent-color: var(--color-purple-btn);
	margin: 0;
}

.checkout-funnel__plan-thumb {
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: 8px;
}

.checkout-funnel__plan-details {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.checkout-funnel__plan-name {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 15px;
	color: var(--color-ink);
}

.checkout-funnel__plan-interval {
	font-family: var(--font-body);
	font-size: 13px;
	color: rgba(7, 18, 27, 0.65);
}

.checkout-funnel__plan-free-shipping {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 12px;
	color: #1a7f37;
}

.checkout-funnel__plan-price {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
	text-align: right;
}

.checkout-funnel__plan-price-regular {
	font-family: var(--font-body);
	font-size: 12px;
	color: rgba(7, 18, 27, 0.5);
	text-decoration: line-through;
}

.checkout-funnel__plan-price-discount {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 12px;
	color: #1a7f37;
}

.checkout-funnel__plan-price-sale {
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 16px;
	color: var(--color-ink);
}

/*
 * Now a real <button>, not an <a> (it no longer navigates — see
 * section-plan-cards.php) — resetting the browser's own button chrome
 * (background/border/padding/font-family) keeps it looking exactly like
 * the plain underlined text link it replaced.
 */
.checkout-funnel__buy-once {
	display: block;
	width: 100%;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	text-align: center;
	margin-top: 20px;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 14px;
	color: var(--color-ink);
	text-decoration: underline;
}

.checkout-funnel__buy-once:disabled {
	opacity: 0.6;
	cursor: default;
}

.checkout-funnel__buy-once-note {
	text-align: center;
	font-family: var(--font-body);
	font-size: 12px;
	color: rgba(7, 18, 27, 0.6);
	margin: 6px 0 0;
}

/*
 * Refresh feedback. WooCommerce covers the payment box, the order table
 * (and some gateways the whole form) with a white 60% blockUI overlay plus
 * spinner on every checkout refresh, and each overlay fades in and out
 * separately — several stacked flashes per plan click. Here the overlays
 * stay in place (so nothing can be clicked mid-refresh) but are invisible;
 * the one visible cue is a single soft dim on the order totals, driven by
 * `.is-refreshing` (js/checkout-funnel-ajax.js), held until the LAST
 * refresh of a burst has finished.
 */
.checkout-funnel-form .blockUI.blockOverlay {
	background: transparent !important;
	opacity: 0 !important;
	cursor: default !important;
}

.checkout-funnel-form .blockUI.blockOverlay::before {
	display: none !important;
}

/* Buy Once / Subscribe toggle clicked: soften the old cards until the server's fresh Step 1 replaces them. */
.checkout-funnel__step-1 .checkout-funnel__plans {
	transition: opacity 0.2s ease;
}

.checkout-funnel__step-1.is-switching .checkout-funnel__plans {
	opacity: 0.55;
}

.checkout-funnel__col-sidebar #order_review tfoot {
	transition: opacity 0.2s ease;
}

.checkout-funnel__col-sidebar #order_review.is-refreshing tfoot {
	opacity: 0.55;
}

/* Steps 2/3 — billing fields reuse .woocommerce-checkout .form-row etc. from the Phase 7 block already in this file */

/*
 * Client confirmed (2026-09-18): placeholder-only fields, no visible
 * label above each input — but the <label> tag itself stays in the
 * markup (class-lumoranutri-checkout-funnel-content.php only adds
 * `placeholder` text; it never removes the field's own `label`), so this
 * is a real screen-reader-text visual hide, not `display:none` — still
 * announced by assistive tech and still what autofill keys off, only
 * invisible on screen. Scoped to Steps 2/3 specifically (not the
 * sitewide `.woocommerce-checkout .form-row label` rule above, which the
 * normal checkout still needs) and higher specificity (3 selectors vs.
 * that rule's 2) so it reliably wins regardless of source order.
 *
 * Excludes the SMS opt-in checkbox row: a checkbox's label is the actual
 * clickable text next to it, not a redundant caption above an input with
 * its own placeholder — hiding it would leave the checkbox unlabeled.
 */
.woocommerce-checkout .checkout-funnel__step-2 .form-row label,
.woocommerce-checkout .checkout-funnel__step-3 .form-row:not(.lumoranutri-sms-optin-field) label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/*
 * Root cause of the client's "inconsistent right edges" report (First/
 * Last Name and City/Zip-Postcode rows sitting short of Address/Country/
 * State/Phone's right edge): confirmed live via getBoundingClientRect()
 * that `.form-row-first { margin-right: 16px; }` (~line 6180) had been
 * silently reading as 0px, because the `margin: 0 0 16px` SHORTHAND fix
 * added earlier for a *different* bug (the Address-2 bottom-margin
 * collapse, see that rule's own comment) has the same specificity and
 * its implicit `margin-right: 0` was winning. That's already fixed at
 * the source (that rule is now the `margin-bottom`-only longhand), which
 * restored the 16px gap — but doing so then exposed a SECOND, previously
 * -masked bug: `calc(50% - 8px) + calc(50% - 8px) + 16px` sums to
 * exactly 100% of the row width, leaving zero room for the few px of
 * ordinary inline-block whitespace the browser renders for the newline
 * between these two adjacent <p> tags in the PHP loop's output — so the
 * second field was wrapping onto its own line instead of sitting beside
 * the first (confirmed live: forcing the wrapper's font-size to 0, which
 * eliminates that inline whitespace entirely, made them sit correctly
 * side by side again).
 *
 * Fix: free up that whitespace's few px from the *margin*, not the
 * width — narrowing the fields themselves would pull their own right
 * edge back in from the full-width fields' edge, reintroducing the exact
 * misalignment this is fixing. Confirmed empirically (binary search over
 * real margin values, live): 16px wraps, 11px is the largest value that
 * both stays on one row AND keeps the last field's right edge flush with
 * the full-width fields below it — the two things this bug report is
 * actually about. Scoped to Steps 2/3 (their `.form-row-first` is also
 * what City/Zip-Postcode use, both fixed by the same rule) rather than
 * changing the shared ~line 6180 rule, so the normal checkout's own
 * first/last name row — a different, wider container where this same
 * latent bug does not visibly manifest — is left exactly as it already
 * renders today, not changed as a side effect of a funnel-specific report.
 */
.woocommerce-checkout .checkout-funnel__step-2 .form-row-first,
.woocommerce-checkout .checkout-funnel__step-3 .form-row-first {
	margin-right: 11px;
}

/* Step 4 — payment + expedited shipping */
.checkout-funnel__expedited-shipping {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	border: 1px dashed #1a7f37;
	border-radius: var(--radius-md);
	background: #f0fbf3;
	padding: 16px;
	margin: 20px 0;
	cursor: pointer;
}

/*
 * Blinking pointer to the left of the checkbox. Originally stopped blinking
 * once the box was checked (client request, 2026-09-19); superseded
 * 2026-09-26 — the reference blinks continuously regardless of checked
 * state (confirmed via client screenshots of both states), so that rule
 * is gone. Still respects reduced-motion users below.
 */
.checkout-funnel__expedited-shipping-arrow {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	margin-top: 2px;
	animation: lumoranutri-arrow-blink 1s ease-in-out infinite;
}

.checkout-funnel__expedited-shipping-arrow svg {
	width: 26px;
	height: 20px;
}

@keyframes lumoranutri-arrow-blink {
	0%,
	100% {
		opacity: 1;
		transform: translateX(0);
	}

	50% {
		opacity: 0.15;
		transform: translateX(4px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.checkout-funnel__expedited-shipping-arrow {
		animation: none;
	}
}

.checkout-funnel__expedited-shipping input {
	margin-top: 4px;
	accent-color: #1a7f37;
}

.checkout-funnel__expedited-shipping-icon svg,
.checkout-funnel__expedited-shipping-icon img {
	width: 32px;
	height: 32px;
}

.checkout-funnel__expedited-shipping strong {
	display: block;
	font-family: var(--font-body);
	font-size: 14px;
	color: #1a7f37;
	margin-bottom: 4px;
}

.checkout-funnel__expedited-shipping-copy {
	display: block;
	font-family: var(--font-body);
	font-size: 13px;
	color: rgba(7, 18, 27, 0.75);
}

/*
 * "Expedited Shipping:" lead-in on the description line (client request
 * 2026-09-26, reference shows this bold/red/underlined before the rest of
 * the sentence). Named/scoped separately from the header row's own
 * <strong> ("Yes, I want Expedited Shipping!") — the compound selector
 * outranks the generic `.checkout-funnel__expedited-shipping strong` rule
 * above so this doesn't inherit its block display/green color/margin.
 */
.checkout-funnel__expedited-shipping strong.checkout-funnel__expedited-shipping-copy-label {
	display: inline;
	font-size: inherit;
	font-weight: 700;
	color: var(--rbc-red, #D70000);
	text-decoration: underline;
	text-transform: uppercase;
	margin: 0 2px 0 0;
}

/* Order Summary sidebar: reviews + why choose us */
.checkout-funnel__sidebar-heading {
	text-align: center;
	font-family: var(--font-display);
	font-weight: 400;
	text-transform: uppercase;
	font-size: 16px;
	color: var(--color-plum);
	margin: 32px 0 16px;
}

.checkout-funnel__review {
	display: flex;
	gap: 12px;
	padding: 16px 0;
}

.checkout-funnel__review-avatar {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
}

.checkout-funnel__review-avatar--fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-lavender);
	color: var(--color-plum);
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 16px;
	text-transform: uppercase;
}

.checkout-funnel__review-stars {
	display: flex;
	align-items: center;
	gap: 1px;
}

.checkout-funnel__review-stars svg {
	width: 14px;
	height: 14px;
}

/*
 * Reference's own star graphic sampled directly (canvas pixel read against
 * the live asset, not eyeballed): #FDC22D — a lighter gold than the
 * #FEA200 already used elsewhere in this project for this same reference
 * site's OTHER star icons (reviews-carousel__badge-stars in rosabella-
 * product-clone.css), so this is its own, separately-measured value, not a
 * reused one. Same "override the fill, don't fork for color" approach;
 * the shape fix (spiky vs. full star) needed an actual forked icon file
 * instead — see icon-review-star-filled-checkout.php's own docblock.
 */
.checkout-funnel__review-stars svg path {
	fill: #fdc22d;
}

.checkout-funnel__review-name {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 14px;
	line-height: 1.2;
	color: rgb(48, 48, 48);
	margin-left: 4px;
}

.checkout-funnel__review-verified {
	display: flex;
	align-items: center;
	gap: 6px;
	font-family: 'Poppins', sans-serif;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	color: rgb(48, 48, 48);
	margin: 2px 0 6px;
}

/*
 * Reference shows this checkmark inside a solid teal (#56B6C1, client-
 * supplied exact value) circle badge, not as a
 * bare icon (client request 2026-09-26). Turning the SVG itself into that
 * badge — background + border-radius + padding on the inline <svg> — means
 * no template/markup change is needed. icon-verified-check.php's own
 * stroke="white" is exactly right again now that there's a colored circle
 * behind it (superseding the earlier currentColor-green override from
 * when this sat directly on the plain sidebar background).
 */
.checkout-funnel__review-verified svg {
	box-sizing: border-box;
	width: 16px;
	height: 16px;
	padding: 3px;
	background: #56b6c1;
	border-radius: 50%;
}

.checkout-funnel__review-verified svg path {
	stroke: #fff;
}

.checkout-funnel__review-text {
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
	line-height: 1.5;
	color: rgb(48, 48, 48);
	margin: 0;
}

.checkout-funnel__why-item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 12px 0;
}

.checkout-funnel__why-number {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border: 1px dashed var(--color-purple-btn);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 12px;
	color: var(--color-purple-btn);
}

.checkout-funnel__why-title {
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 13px;
	color: var(--color-ink);
	margin: 0 0 4px;
}

.checkout-funnel__why-description {
	font-family: var(--font-body);
	font-size: 12px;
	line-height: 1.5;
	color: rgba(7, 18, 27, 0.7);
	margin: 0;
}

/*
 * Order Summary table — client asked for a clean/minimal format matching
 * the reference funnel, instead of the existing Phase 7 bordered-box
 * table style. Scoped to .checkout-funnel__col-sidebar specifically
 * (same 2-class specificity as the Phase 7 rules, later in source order
 * — the same resolution pattern already used elsewhere in this file) so
 * the normal checkout page's own table design is completely untouched.
 */
.checkout-funnel__col-sidebar .woocommerce-checkout-review-order-table {
	width: 100%;
	border: none;
	border-radius: 0;
	background: none;
}

.checkout-funnel__col-sidebar .woocommerce-checkout-review-order-table thead {
	display: none;
}

.checkout-funnel__col-sidebar .woocommerce-checkout-review-order-table td,
.checkout-funnel__col-sidebar .woocommerce-checkout-review-order-table th {
	padding: 16px 0;
	border-top: 1px solid rgba(7, 18, 27, 0.1);
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--color-ink);
	font-weight: 400;
	text-align: left;
	vertical-align: middle;
}

/*
 * Root cause of the "not flush against the edges" issue across the
 * coupon/Total/Recurring rows, found via computed-style inspection: the
 * existing Phase 7 rule `tfoot th, tfoot td { padding: 12px 16px; }`
 * (style.css ~line 6244) has one extra tag in its selector than the
 * general td/th rule above, so it out-specifies it for every row inside
 * <tfoot> specifically, silently reintroducing 16px of horizontal inset
 * this override never intended. Matching that exact selector shape
 * (same specificity, later in source) to win cleanly instead of
 * patching each affected row separately.
 */
.checkout-funnel__col-sidebar .woocommerce-checkout-review-order-table tfoot th,
.checkout-funnel__col-sidebar .woocommerce-checkout-review-order-table tfoot td {
	padding: 16px 0;
}

.checkout-funnel__col-sidebar .woocommerce-checkout-review-order-table tbody tr:first-child td {
	border-top: none;
	padding-top: 0;
}

.checkout-funnel__col-sidebar td.product-total,
.checkout-funnel__col-sidebar .cart-subtotal td,
.checkout-funnel__col-sidebar .order-total td,
.checkout-funnel__col-sidebar .fee td {
	text-align: right;
}

/* Real per-variation price breakdown injected into the product row (Lumoranutri_Checkout_Funnel_Content::render_plan_price_breakdown()) — matches Step 1's own plan-card price block. */
.checkout-funnel__summary-price {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
}

/* Reference shows the strikethrough price in a genuine red, distinct from this theme's own pink brand accent — no existing --color token matches, so a plain red is used here specifically for this "expired/was" price semantic. */
.checkout-funnel__summary-price-regular {
	font-family: var(--font-body);
	font-size: 12px;
	color: #dc2626;
	text-decoration: line-through;
}

.checkout-funnel__summary-price-discount,
.checkout-funnel__summary-price-shipping {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 12px;
	color: #1a7f37;
}

.checkout-funnel__summary-price-sale {
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 16px;
	color: var(--color-ink);
}

/*
 * Product row: condensed to plan name + "Delivered every X days" (two
 * lines, matching the reference) via Lumoranutri_Checkout_Funnel_Content::
 * render_condensed_plan_name() — the redundant "$X every Y days" line
 * WooCommerce Subscriptions renders itself (.wcs-checkout-item-price,
 * core plugin markup — no filter to cleanly suppress its content, so
 * hidden here instead) and the "× 1" quantity marker (already suppressed
 * server-side, this is just a defensive backstop) are no longer shown,
 * since the same information now lives in the price breakdown/plan name.
 */
.checkout-funnel__col-sidebar .wcs-checkout-item-price,
.checkout-funnel__col-sidebar .product-quantity {
	display: none;
}

.checkout-funnel__summary-item {
	display: flex;
	align-items: center;
	gap: 12px;
}

.checkout-funnel__summary-item-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.checkout-funnel__summary-item-plan {
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 14px;
	color: var(--color-ink);
}

.checkout-funnel__summary-item-interval {
	font-family: var(--font-body);
	font-size: 12px;
	color: rgba(7, 18, 27, 0.6);
}

/*
 * Hides rows that would otherwise duplicate what's already shown: this
 * funnel's cart is always exactly one line item (Subtotal always equals
 * that line's own price), and "Free shipping" is confirmed the ONLY
 * shipping method configured sitewide (WC_Shipping_Zones — no paid
 * method exists to ever hide by mistake), already represented by the
 * "+FREE SHIPPING" badge above. The final "Recurring total" row (which
 * carries the real first-renewal date) stays — only its own redundant
 * section header/subtotal/shipping/fee breakout rows are hidden.
 * `.fee.recurring-total` (Phase E's Expedited Shipping fee, added via
 * WC_Cart::add_fee()) is the same WC Subscriptions recurring-breakdown
 * duplicate as the subtotal/shipping rows below it — it didn't exist
 * when this rule was first written, added here for the same reason:
 * the fee already shows once in the main totals (the row that actually
 * contributes to "Total"), so this second breakdown copy is redundant.
 */
.checkout-funnel__col-sidebar .cart-subtotal:not(.recurring-total),
.checkout-funnel__col-sidebar .woocommerce-shipping-totals.shipping:not(.recurring-total),
.checkout-funnel__col-sidebar .recurring-totals,
.checkout-funnel__col-sidebar .cart-subtotal.recurring-total,
.checkout-funnel__col-sidebar .shipping.recurring-total,
.checkout-funnel__col-sidebar .fee.recurring-total {
	display: none;
}

.checkout-funnel__col-sidebar .order-total th,
.checkout-funnel__col-sidebar .order-total td {
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 16px;
	color: var(--color-ink);
}

.checkout-funnel__col-sidebar .order-total.recurring-total th,
.checkout-funnel__col-sidebar .order-total.recurring-total td {
	font-weight: 500;
	font-size: 13px;
	color: rgba(7, 18, 27, 0.7);
}

.checkout-funnel__col-sidebar .first-payment-date {
	margin-top: 2px;
}

.checkout-funnel__col-sidebar .first-payment-date small {
	font-size: 12px;
	color: rgba(7, 18, 27, 0.55);
}

/* Discount code field, relocated inside the summary (render_coupon_field_in_summary()) */
.checkout-funnel__summary-coupon-row td {
	padding-top: 4px !important;
	padding-bottom: 4px !important;
}

.checkout-funnel__summary-coupon {
	display: flex;
	gap: 8px;
	width: 100%;
}

.checkout-funnel__summary-coupon .input-text {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	border: 1px solid rgba(7, 18, 27, 0.2);
	border-radius: 8px;
	padding: 10px 12px;
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--color-ink);
}

.checkout-funnel__summary-coupon .button {
	flex: 0 0 auto;
	background: #2563eb;
	color: var(--color-white);
	border-radius: 8px;
	padding: 10px 20px;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 14px;
	border: none;
	cursor: pointer;
}

.checkout-funnel__summary-coupon .button:hover {
	opacity: 0.9;
}

/* FAQ */
.checkout-funnel__faq {
	margin-top: 48px;
}

/*
 * Confirmed live: the site's own Customizer "Additional CSS" (a database-
 * stored block the client edits directly — NOT this stylesheet — which
 * also happens to hold the Authorize.net CSS handed to the client
 * earlier this project, confirming they did add it) contains a vestigial
 * rule from some earlier, now-uninstalled plugin ("xoo-wsc" — no such
 * plugin exists on this site today): `table.shop_table.woocommerce-
 * checkout-review-order-table, a.xoo-wsc-ft-btn... { display: none; }`.
 * That unconditionally hides the real order-review table everywhere,
 * including this new page, which is why "Your Order" showed no line
 * items/totals when first tested live. Deliberately NOT editing that
 * Customizer CSS itself here — it's the client's own maintained content
 * and touching a grouped selector risks affecting whatever the other
 * half of that rule (the vestigial one) was ever meant to do elsewhere.
 * Overriding it back on, scoped to only this page and only enough
 * specificity to win regardless of the Customizer CSS's own position in
 * <head> (confirmed it can load either before or after this stylesheet).
 */
.checkout-funnel table.woocommerce-checkout-review-order-table {
	display: table !important;
}

/*
 * Same calculation method as .product-card's own fix, recomputed for
 * this section's own 560px/280px bounds (matching the base rule's new
 * "a little smaller" width above): slope=(560-280)/749=0.3738 -> 37.38vw;
 * intercept=280-0.3738*1025=-103.17
 */
@media (min-width: 1025px) and (max-width: 1773px) {
	.checkout-funnel__gallery-offer {
		grid-template-columns: clamp(280px, 37.38vw - 103.17px, 560px) minmax(0, 1fr);
	}
}

@media (max-width: 1024px) {
	.checkout-funnel__grid {
		grid-template-columns: 1fr;
	}

	.checkout-funnel__col-sidebar {
		position: static;
	}

	/*
	 * 768-1024px had no override at all — the 1025-1773px clamp rule
	 * stops at 1025px and the old <=767px stack started at 767px, so this
	 * whole tablet range silently fell through to the base rule's fixed
	 * `560px 1fr` grid, which doesn't fit a tablet-width container.
	 * Matches .product-card's own identical <=1024px stacking precedent
	 * (~line 4951) exactly, rather than inventing a separate tablet fix.
	 */
	.checkout-funnel__gallery-offer {
		display: flex;
		flex-direction: column;
	}
}

@media (max-width: 767px) {
	/* Side padding stays 32px, matching .checkout-funnel-content's own mobile value (no separate <=767px override there) — only vertical padding/centering change here. */
	.checkout-funnel-header__inner {
		padding: 16px 32px;
		justify-content: center;
		text-align: center;
	}

	/*
	 * Client corrected: dropping price onto its own full-width row below
	 * (the old grid-template-columns:auto auto 1fr + grid-column:1/-1
	 * price override) reshaped the card into a visibly different,
	 * "double-lined" layout compared to the single-row 4-column grid the
	 * base rule already renders correctly at 768px+. Keeping the same
	 * base grid (auto auto 1fr auto) here instead and just tightening
	 * padding/gap/thumb size makes every width down to 0 render the
	 * identical single-row shape, not a separate stacked one.
	 */
	.checkout-funnel__plan {
		padding: 14px 8px;
		gap: 3px;
	}

	.checkout-funnel__plan-radio {
		width: 18px;
		height: 18px;
	}

	.checkout-funnel__plan-thumb {
		width: 28px;
		height: 28px;
	}

	/*
	 * The interval line ("Delivered every 84 days") is the longest string
	 * in the card at any plan, so it's what actually governs whether the
	 * details column wraps — measured via canvas-text-width against the
	 * live details column at 375px: needed ~144px at the base 13px size,
	 * vs. only ~124px available even with the padding/gap/thumb/radio
	 * trims above. Sized down 1px here (13px -> 12px, still ~133px
	 * needed) closes most of that gap without touching the name (bold,
	 * already fits) or the price column; the rest comes from the trims
	 * above, together leaving ~140px available at 375px.
	 */
	.checkout-funnel__plan-interval {
		font-size: 12px;
	}
}
