/*
 * Design fixes, Nov 2026 (matching the Figma file "Share Website Current").
 * Loaded after style.css, the refinements and WooCommerce's stylesheets, so these win.
 * The finding IDs (H-04, SH-01 ...) refer to the design QA report.
 */

/* SH-01  Buttons keep the brand pill on WooCommerce pages too (Shop, cart, account, and the
   header "Get Started" there), instead of WooCommerce's square grey button. */
html body.woocommerce :is(a, button, input).button,
html body.woocommerce-page :is(a, button, input).button,
html body .woocommerce :is(a, button, input).button {
	border-radius: 60px;
	font-weight: 400;
	background-color: var(--beige);
	color: var(--ink);
	line-height: 1.3;
}
html body.woocommerce :is(a, button, input).button:hover,
html body.woocommerce-page :is(a, button, input).button:hover {
	background-color: #c8bdac;
	color: var(--ink);
}
html body.woocommerce .header-actions .button {
	padding: 8px 28px;
	min-height: 41px;
	display: inline-flex;
	align-items: center;
}

/* SH-06  Prices in the body colour, not WooCommerce's olive. */
html body.woocommerce ul.products li.product .price,
html body.woocommerce div.product p.price,
html body.woocommerce div.product span.price {
	color: var(--ink);
}

/* SH-02  The two ticked lines under the Shop intro. */
.shop-intro .checks {
	list-style: none;
	padding: 0;
	margin: 26px 0 0;
	font-size: 14px;
	line-height: 2.2;
}
.shop-intro .checks li::before {
	content: '✓';
	color: var(--sage);
	margin-right: 10px;
}

/* SH-05  The closing section under the product list uses the same styles as the other pages
   (woocommerce.php now puts it straight inside <main>). Keep its button the regular size. */
html body.woocommerce #main > .cta .button {
	font-size: 18px;
	padding: 12px 30px;
	min-height: 56px;
	display: inline-flex;
	align-items: center;
}

/* H-04  More room between the icon tile and the card heading (Home). */
.symptoms .card h3 {
	margin-top: 94px;
}

/* H-08  Names sit on one line at the foot of every testimonial card; long quotes are trimmed. */
.testimonial {
	display: flex;
	flex-direction: column;
	height: auto;
	min-height: 427px;
}
.testimonial p {
	display: -webkit-box;
	-webkit-line-clamp: 6;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.testimonial cite {
	margin-top: auto;
	padding-top: 16px;
}

/* DM-09  Package cards reach the page margin; the VIP title stays on one line with its
   "Limited Spots" tag; sizes closer to the design. */
.packages .split > div:last-child {
	padding-right: 0;
}
.package-card {
	height: auto;
	min-height: 240px;
}
.package-title {
	font-size: 24px;
	line-height: 1.25;
	flex-wrap: wrap;
	row-gap: 8px;
}
.package-title > span:last-child {
	font-size: 22px;
	margin-left: auto;
}
.package-title em {
	flex: none;
	margin-right: auto;
	line-height: 1.4;
	font-size: 12px;
	padding: 4px 10px;
}
.packages h3 {
	font-size: 14px;
}
.packages .muted {
	color: var(--ink);
	font-size: 12px;
}

/* MA-05 and the other inner pages  Page titles at the design size. */
.page-intro h1 {
	font-size: 56px;
	line-height: 1.15;
	letter-spacing: -1.5px;
}

/* MA-01  Meet Alex photo as the wide banner from the design. */
.alex-wide {
	width: 796px;
	max-width: calc(100% - 40px);
	height: 372px;
	max-height: none;
	object-fit: cover;
	object-position: 50% 45%;
	display: block;
}

/* MA-02  "Let's connect," above the name. */
.prose .sign-off {
	line-height: 1.8;
}

/* RS-01  "Read More" links line up at the foot of each card. */
.resource-card {
	display: flex;
	flex-direction: column;
}
.resource-card > a:last-child {
	margin-top: auto;
}

/* GS-01  The booking calendar on the page itself. */
.booking-card.booking-embed {
	display: block;
	padding: 0;
	overflow: hidden;
}
.booking-embed iframe {
	display: block;
	width: 100%;
	height: 900px;
	border: 0;
}
.booking-embed .booking-fallback {
	margin: 0;
	padding: 12px 24px 18px;
	text-align: center;
}

/* G-07 and G-08  Footer small print as designed, and the "Decode" watermark cropped at the rule. */
.footer-watermark {
	line-height: 1;
	height: 0.62em;
	overflow: hidden;
	margin-top: 40px;
}
.footer-bottom {
	margin-top: 0;
}
.footer-bottom .text-button {
	text-decoration: none;
}

/* Testimonials heading follows the other section headings at every width. */
@media (max-width: 1125px) and (min-width: 961px) { /* desktop scale: was max-width 1500px */
	.testimonials .section-heading h2 {
		font-size: 52px;
		line-height: 1.1;
	}
}

@media (max-width: 960px) {
	/* M-01  The open menu: readable links with comfortable tap targets. */
	.site-header nav#main-nav.open a {
		font-size: 17px;
		line-height: 1.4;
	}
	.page-intro h1 {
		font-size: 44px;
	}
}

@media (max-width: 650px) {
	/* M-09  The assessment banner runs edge to edge (it also stopped the page scrolling sideways). */
	.photo-banner {
		width: 100%;
		margin-left: 0;
		margin-right: 0;
		border-radius: 0;
	}

	/* The "Real stories" heading overlapped itself on phones. */
	.testimonials .section-heading h2 {
		font-size: 41px;
		line-height: 45.8px;
	}

	.symptoms .card h3 {
		margin-top: 20px;
	}

	.page-intro h1 {
		font-size: 40px;
	}

	.alex-wide {
		height: 240px;
		max-width: calc(100% - 26px);
		border-radius: 20px;
	}


	.booking-embed iframe {
		height: 880px;
	}

	/* Meet Alex: the "My journey" heading was set at the desktop size on phones. */
	.prose h2 {
		font-size: 38px;
		line-height: 1.12;
		letter-spacing: -1px;
	}

	.package-card {
		min-height: 0;
	}
	.package-title {
		font-size: 21px;
	}

	.footer-watermark {
		margin-top: 30px;
	}
}

/* ------------------------------------------------------------------------------------------
 * Round 2 (27 Nov 2026): Alex's review of desktop and mobile against the Figma prototype.
 * On screens wider than 960px the page is scaled to the 1920px design frame (functions.php,
 * "Desktop scale"), so the pixel values in the desktop rules below are design-frame pixels.
 * ------------------------------------------------------------------------------------------ */

/* "Ready to decode" was pushed left of centre on every page: the section lost the automatic
   side margins of .wrap, so its 1600px box started at the left edge of the screen. */
#main > .cta {
	margin-left: auto;
	margin-right: auto;
}
#main > .cta p {
	max-width: 880px;
}

@media (min-width: 961px) {
	/* Header: logo and bar at the design size. */
	.site-header {
		min-height: 120px;
	}
	.site-header > .brand {
		zoom: 1.26;
	}

	/* Home hero: photo framed as in the design (closer on Alex), caption smaller and darker. */
	.home-hero .hero-photo .hero-image {
		transform: scale(1.2);
		transform-origin: 56% 42%;
	}
	.home-hero .hero-copy .muted {
		font-size: 12.5px;
		color: #848783;
		opacity: 1;
	}

	/* Home: spacing between sections as in the design. */
	.home-hero + .statement {
		margin-top: 97px;
	}
	.statement {
		padding-left: 10%;
		padding-right: 10%;
	}
	.statement + .symptoms {
		margin-top: 185px;
	}
	.symptoms .card h3 {
		margin-top: 28px;
	}
	.symptoms .card p {
		max-width: 414px;
	}
	.symptoms + .split {
		margin-top: 154px;
	}
	#main > .split + .photo-banner {
		margin-top: 206px;
	}

	/* Home "Start with our Genetic Needs Assessment" banner at the design height, inside its
	   paper-coloured frame. */
	#main > .photo-banner {
		height: 787px;
	}

	/* Home "Meet Alex" photo: the whole photo, as in the design, not zoomed in and cut off. */
	.home .bio-portrait img {
		transform: none;
		object-position: 50% 40%;
	}

	/* Footer: kept at its unscaled size, which is the design size (see --decode-unzoom below). */
	.site-footer {
		zoom: var(--decode-unzoom, 1);
	}

	/* Two-column sections (Home "Connecting the dots", "A curious mind"; Decode Method "Sound
	   familiar"): headings and text at the design measure, so they break where the design does. */
	.split.section h2,
	.bio h2 {
		max-width: 700px;
	}
	.split.section > div > p,
	.split.section > div > ul,
	.bio > div > p {
		max-width: 660px;
	}

	/* The 26 Nov sizes above were set for an unscaled 1440px screen; on the scaled desktop they
	   are given here in design-frame pixels. */
	.page-intro h1 {
		font-size: 72px;
	}
	.page-intro > p:not(.lead) {
		max-width: 780px;
	}
	.page-intro:has(+ p) > p:not(.lead) {
		max-width: 850px;
	}
	.testimonial {
		min-height: 569px;
	}
	.alex-wide {
		width: 1061px;
		height: 496px;
	}
	.shop-intro .checks {
		font-size: 18px;
	}
	.package-title {
		font-size: 33px;
	}
	.package-title > span:last-child {
		font-size: 31px;
	}
	.package-title em {
		font-size: 16px;
		padding: 5px 14px;
	}
	.packages h3 {
		font-size: 18px;
	}
	.packages .muted {
		font-size: 16px;
	}

	/* Decode Method hero: the notebook photo from the design, inside a paper-coloured frame. */
	.method-hero {
		width: calc(100% - 64px);
		margin-left: auto;
		margin-right: auto;
		border-radius: 32px;
		background:
			linear-gradient(#272c23a3, #272c23e6),
			url(assets/method-food.webp) center / cover;
	}

	/* Decode Method statement: design size and measure (four lines). */
	.method-statement {
		font-size: 41px;
		line-height: 55px;
		max-width: 1080px;
		margin-top: 178px;
		margin-bottom: 150px;
	}
	.method-statement + .split {
		margin-top: 150px;
	}
	.split + .process {
		margin-top: 250px;
	}
	.process + .packages {
		margin-top: 150px;
	}

	/* "From feeling stuck to knowing what works for your body": two lines, the framework line on
	   one line and the paragraph on two, as in the design. */
	.process .section-heading {
		max-width: 1000px;
		margin-left: auto;
		margin-right: auto;
	}
	.process .section-heading p {
		max-width: 960px;
	}

	/* "Weeks 1 - 4" labels at the design size. */
	.phase-week {
		font-size: 17px;
		padding: 5px 18px;
	}

	/* Meet Alex "My journey": every paragraph at the body size (only the first one was). */
	.prose > p {
		font-size: 18px;
		line-height: 28.9px;
	}

	/* Page titles on one line where the design has them on one ("Frequently Asked Questions"). */
	.page-intro {
		max-width: 1240px;
	}

	/* FAQs: the list, its rows and the arrow buttons at the design size, and the design's space
	   above "Ready to decode". */
	.faq-list {
		width: auto;
		max-width: 1067px;
	}
	.faq-list summary {
		padding-top: 40px;
		padding-bottom: 40px;
		min-height: 111px;
	}
	.faq-list summary:after {
		width: 51px;
		height: 51px;
		top: 50%;
		background-size: 22px 22px;
	}
	.faq-list details p {
		font-size: 18px;
		line-height: 28.9px;
	}
	.faq-list + .cta {
		margin-top: 150px;
	}

	/* Resources: the wider grid with 3:2 photos, and titles held to the design measure. */
	.resource-grid {
		max-width: 1245px;
		column-gap: 45px;
	}
	.resource-card img {
		width: 100%;
		height: auto;
		aspect-ratio: 3 / 2;
		object-fit: cover;
	}
	.resource-card h2 {
		max-width: 300px;
	}

	/* Contact: the design's two columns (text on the left, form card on the right), the title
	   on two lines and the intro at body size. */
	.contact-layout {
		max-width: 1341px;
		grid-template-columns: 531px 656px;
		gap: 153px !important;
		justify-content: space-between;
	}
	.contact-layout > div:first-child p {
		font-size: 18px !important;
		font-weight: 400 !important;
		line-height: 28.9px !important;
	}
}

/* Shop: the top of the page as in the design (title, sign-in, the two ticks, then the
   products). The category links, search box, result count and sorting are hidden; delete this
   rule to bring them back. */
.post-type-archive-product .commerce-catalog > .decode-shop-categories,
.post-type-archive-product .commerce-catalog > .catalog-search,
.post-type-archive-product .commerce-catalog > .woocommerce-result-count,
.post-type-archive-product .commerce-catalog > .woocommerce-ordering {
	display: none;
}

/* Round 2, phones (650px and under). */
@media (max-width: 650px) {
	/* Header logo at the design size. */
	.site-header .brand-mark {
		width: 50px;
		height: 52px;
	}
	.site-header .wordmark {
		font-size: 42px;
	}

	/* Home hero: "Your body is constantly giving you clues." on one line, and the paragraph under
	   it single-spaced. */
	html body .home-hero .hero-copy .lead {
		font-size: 16px !important;
		line-height: 1.5 !important;
		letter-spacing: -0.2px;
	}
	html body .home-hero .hero-copy p:not(.lead):not(.muted) {
		line-height: 22px !important;
	}

	/* Home statement: one flowing paragraph (the desktop line breaks split it up on phones). */
	.statement {
		height: auto;
	}
	.statement p {
		font-size: 23px;
		line-height: 33px;
	}

	/* Home "Meet Alex" photo: the whole photo, not zoomed in on the face. */
	.home .bio-portrait {
		height: auto;
		aspect-ratio: 370 / 391;
	}
	html body.home .bio-portrait img {
		transform: none;
		width: 100% !important;
		height: 100% !important;
		object-position: 50% 35%;
	}

	/* Assessment banner heading on three lines. */
	#main > .photo-banner h2 {
		font-size: 40px;
		line-height: 44px;
	}

	/* Page intros (Meet Alex, Resources, FAQs): single-spaced paragraph. */
	.page-intro > p:not(.lead) {
		font-size: 14px;
		line-height: 22px;
	}

	/* Meet Alex "My journey": all paragraphs at one size. */
	.prose > p,
	.prose > p:first-of-type {
		font-size: 15px;
		line-height: 23px;
	}

	/* Shop: title and the line under it each on one line. */
	.shop-intro h1 {
		font-size: 33px;
	}
	.shop-intro .lead {
		font-size: 18px;
	}

	/* Decode Method hero: the notebook photo, framed like the other banners, title on one line. */
	.method-hero {
		width: auto;
		margin-left: 13px;
		margin-right: 13px;
		border-radius: 20px;
		background:
			linear-gradient(#272c23a3, #272c23e6),
			url(assets/method-food.webp) 30% center / cover;
	}
	.method-hero h1 {
		font-size: 36px;
		line-height: 1.15;
	}
	.phase-circle {
		width: 120px;
		height: 120px;
	}

	/* "From feeling stuck to knowing what works for your body" on three lines, and the framework
	   line on two. */
	.process .section-heading strong {
		font-size: 14px;
		line-height: 22px;
	}

	/* Phase cards only as tall as their text, with the week labels at a readable size. */
	.phase-card {
		height: auto;
		padding-bottom: 32px;
	}
	.phase-week {
		font-size: 15px;
		padding: 4px 12px;
	}

	/* Packages: price on the right of the title, "Limited Spots" under the title. */
	.package-title {
		display: grid;
		grid-template-columns: 1fr auto;
		align-items: baseline;
		column-gap: 12px;
		row-gap: 8px;
	}
	.package-title > span:last-child {
		grid-column: 2;
		grid-row: 1;
		margin-left: 0;
	}
	.package-title em {
		grid-column: 1;
		grid-row: 2;
		justify-self: start;
		margin: 0;
	}

	/* Footer: menu single-spaced with "The Decode Method" on one line, the newsletter field as
	   one pill with the arrow inside it, and the small print centred. */
	.footer-nav {
		grid-template-columns: 1.6fr 1fr;
	}
	.footer-grid .footer-nav a {
		font-size: 16px;
		line-height: 30px;
	}
	.site-footer .newsletter-form input[type="email"] {
		background: transparent;
		border: 0;
		border-radius: 0;
	}
	.footer-bottom {
		flex-direction: column;
		align-items: center;
		gap: 6px;
		text-align: center;
	}
}

/* Small laptops (961px to 1125px): logo at its normal size and a tighter menu, so the header
   still fits on one row. */
@media (min-width: 961px) and (max-width: 1125px) {
	.site-header > .brand {
		zoom: 1;
	}
	.site-header nav {
		gap: 20px;
	}
	.header-actions {
		gap: 16px;
	}
}

/* Pages the design does not cover (product, cart, checkout, account, resource articles), the
   booking calendar and the footer keep their unscaled size at every width (--decode-unzoom is
   1 / the page scale, set in functions.php). */
@media (min-width: 961px) {
	body.single-product #main,
	body.woocommerce-cart #main,
	body.woocommerce-checkout #main,
	body.woocommerce-account #main,
	body.single-post #main,
	.booking-embed iframe {
		zoom: var(--decode-unzoom, 1);
	}
}

/* Round 2 follow-up. */
@media (min-width: 1200px) {
	/* Home hero: the heading keeps its design width on 1280-1440px laptops (four lines); the
	   photo gives way instead and keeps its proportions. */
	.home-hero .hero-copy {
		flex: 0 0 776px;
	}
	.home-hero .hero-photo {
		flex: 0 1 796px;
		min-width: 0;
		height: auto;
		aspect-ratio: 796 / 800;
	}
	.home-hero .hero-photo .hero-image {
		height: 100%;
	}
}
@media (min-width: 961px) {
	/* Shop: "Log in" and "Log in to purchase" at the design button size. */
	html body.woocommerce .shop-intro .button {
		font-size: 18px;
		min-height: 55px;
		padding: 12px 46px;
	}
	html body.woocommerce ul.products li.product .button {
		font-size: 18px;
		min-height: 56px;
		padding: 12px 30px;
	}

	/* Contact: form intro and placeholder at the design size. */
	.contact-layout .decode-form > p {
		font-size: 20px !important;
		line-height: 30px !important;
	}
	.contact-layout .decode-form input,
	.contact-layout .decode-form textarea {
		font-size: 18px;
	}
}

/* Phones: the "Weeks" labels fit their text, centred. */
@media (max-width: 650px) {
	.phase-week {
		width: auto;
		height: auto;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		line-height: 1.4;
		padding: 6px 14px;
	}
}

/* Resources: photos of Alex framed on her face, food photos centred. Most are portrait photos
   shown in landscape boxes; centring the photos of Alex cut her off at the chin. */
.resource-card img[src*="resource-5.webp"],
.resource-card img[src*="resource-6.webp"],
.resource-card img[src*="resource-8.webp"],
.resource-card img[src*="resource-9.webp"],
.resource-card img[src*="resource-10.webp"],
.resource-card img[src*="resource-11.webp"] {
	object-position: 50% 25%;
}
.resource-card img[src*="resource-7.webp"] {
	object-position: 50% 0;
}

/* Article photo: shown in portrait at a size the photos can fill sharply (it was a 1200 x 600
   strip cut from the middle of a portrait photo, enlarged past the photo's own size). */
html body .article-hero {
	display: block;
	width: 100%;
	max-width: 560px;
	max-height: none;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: 50% 50%;
}
html body .article-hero[src*="resource-5.webp"],
html body .article-hero[src*="resource-6.webp"],
html body .article-hero[src*="resource-8.webp"],
html body .article-hero[src*="resource-9.webp"],
html body .article-hero[src*="resource-10.webp"],
html body .article-hero[src*="resource-11.webp"] {
	object-position: 50% 25%;
}
html body .article-hero[src*="resource-7.webp"] {
	object-position: 50% 0;
}

/* Footer newsletter: a link to the external sign-up page instead of the local form. */
.site-footer .newsletter-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 6px;
	white-space: nowrap;
	width: auto;
}

/* ---- Round 3 (28 Nov 2026) ---- */

/* Decode Method hero: title, text, button and the three phases centred as one block inside the
   photo, on every screen (they sat high, with a deep empty band under the phases). */
html body .method-hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding-top: 60px;
	padding-bottom: 60px;
}
html body .method-hero > p {
	margin-top: 0;
}
html body .method-hero > .button {
	align-self: center;
}
html body .method-hero .phases {
	width: 100%;
}

/* WooCommerce buttons (Log in to purchase, Browse products, Resend, Add payment method, ...):
   text centred in the button, the button only as wide as its text. They were set to a fixed
   height with the text pinned to the top, and a few were stretched to the full width. */
html body.single-product .summary .button,
html :where(#main) .woocommerce .button,
html .woocommerce :where(#main) .button,
html :where(#main) .woocommerce a.button,
html .woocommerce :where(#main) a.button,
html :where(#main) .woocommerce button.button,
html .woocommerce :where(#main) button.button,
html body .woocommerce-MyAccount-content .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	max-width: 100%;
	height: auto;
	min-height: 48px;
	padding: 10px 28px;
	line-height: 1.25;
	text-align: center;
	white-space: normal;
	box-sizing: border-box;
}
html body.single-product .summary .button {
	min-height: 52px;
	padding: 12px 34px;
	margin: 6px 0 18px;
}

/* "Add to cart", "Place order" and the other main store buttons in the site's colours, not
   WooCommerce's default purple. */
html :where(#main) .woocommerce a.button.alt,
html .woocommerce :where(#main) a.button.alt,
html :where(#main) .woocommerce button.button.alt,
html .woocommerce :where(#main) button.button.alt,
html :where(#main) .woocommerce input.button.alt,
html .woocommerce :where(#main) input.button.alt,
html :where(#main) .woocommerce button.button.alt.disabled,
html .woocommerce :where(#main) button.button.alt.disabled,
html :where(#main) .woocommerce button.button.alt:disabled,
html .woocommerce :where(#main) button.button.alt:disabled{
	background: var(--beige);
	color: var(--ink);
}
html :where(#main) .woocommerce a.button.alt:hover,
html .woocommerce :where(#main) a.button.alt:hover,
html :where(#main) .woocommerce button.button.alt:hover,
html .woocommerce :where(#main) button.button.alt:hover,
html :where(#main) .woocommerce input.button.alt:hover,
html .woocommerce :where(#main) input.button.alt:hover{
	background: #c8bdac;
	color: var(--ink);
}
html :where(#main) .woocommerce div.product form.cart,
html .woocommerce :where(#main) div.product form.cart{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
}
html :where(#main) .woocommerce div.product form.cart .quantity,
html .woocommerce :where(#main) div.product form.cart .quantity{
	float: none;
	margin: 0;
}
html :where(#main) .woocommerce div.product form.cart .button,
html .woocommerce :where(#main) div.product form.cart .button{
	float: none;
	margin: 0;
}

/* Notices with a button in them (Orders "Browse products", account "Resend", payment methods):
   message on the left, button on the right, both vertically centred, wrapping on phones. */
html body .woocommerce-info,
html body .woocommerce-message,
html body .woocommerce-error li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
}
html body .woocommerce-info .button,
html body .woocommerce-message .button,
html body .woocommerce-error .button {
	float: none;
	order: 2;
	margin: 0 0 0 auto;
	min-height: 42px;
	padding: 8px 22px;
	flex: 0 0 auto;
}
html body .woocommerce-info::after,
html body .woocommerce-message::after {
	content: none;
}

/* Payment methods: "Add payment method" and the table buttons at their natural width. */
html body .woocommerce-MyAccount-content > .button,
html body .woocommerce-MyAccount-paymentMethods .button,
html body .woocommerce-MyAccount-orders .button {
	width: auto;
	min-height: 42px;
	padding: 8px 22px;
}
html body .woocommerce-MyAccount-content > .button {
	margin-top: 16px;
}

@media (max-width: 650px) {
	/* Decode Method hero on phones as in the design: the food photo, the phase name larger than
	   the "Phase One" label, and short arrows between the circles. */
	html body .method-hero {
		background:
			linear-gradient(#272c23a3, #272c23e6),
			url(assets/method-food.webp) 55% center / cover;
		padding: 56px 20px 48px;
		aspect-ratio: auto !important;
		height: auto;
	}
	html body .method-hero .phases {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 0;
	}
	html body .method-hero .phase-circle {
		width: 132px;
		height: 132px;
		font-size: 12px;
		line-height: 1.3;
	}
	html body .method-hero .phase-circle strong {
		display: block;
		font-size: 16px;
		line-height: 1.25;
		margin-top: 2px;
	}
	html body .method-hero .phase-arrow {
		position: relative;
		display: block;
		width: 0;
		height: 20px;
		margin: 6px auto 12px;
		font-size: 0;
		line-height: 0;
		rotate: none;
		transform: none;
		border-left: 1.5px dashed rgba(255, 255, 255, 0.9);
	}
	html body .method-hero .phase-arrow::after {
		content: "";
		position: absolute;
		left: -5.75px;
		bottom: -7px;
		border: 5px solid transparent;
		border-top: 6px solid rgba(255, 255, 255, 0.9);
		border-bottom: 0;
	}

	/* Home: "Start with our Genetic Needs Assessment" centred on its photo. */
	html body #main > .photo-banner,
	html body .photo-banner {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
	}
	html body .photo-banner > * {
		margin-left: auto;
		margin-right: auto;
	}
	html body .photo-banner > p {
		margin-top: 0;
	}

	/* Account and shop notices: the button under the message, at its natural width. */
	html body .woocommerce-info .button,
	html body .woocommerce-message .button {
		margin: 0;
	}
}

/* Payment box (checkout and account "Add payment method"): the site's colours instead of the
   WooCommerce lavender, and the account form's button at its natural width. */
html body #add_payment_method #payment,
html body.woocommerce-checkout #payment {
	background: #eef0e8;
	border-radius: 18px;
}
html body #add_payment_method #payment div.payment_box,
html body.woocommerce-checkout #payment div.payment_box {
	background: #fff;
	color: var(--ink);
}
html body #add_payment_method #payment div.payment_box::before,
html body.woocommerce-checkout #payment div.payment_box::before {
	border-bottom-color: #fff;
}
html body #add_payment_method #payment #place_order {
	width: auto;
	min-width: 240px;
	float: none;
}
