/* =========================================================================
   Rhapsody of Realities â€” design tokens (v3, 2026-08-06)
   Palette re-anchored to the real logo mark (aqua-to-navy badge + gold star
   ring) instead of the v2 forest-green mockup, for brand consistency. Gold
   accent kept as-is â€” it already matched. Libre Caslon Text for headings,
   Plus Jakarta Sans for body/UI unchanged.
   ========================================================================= */
:root {
	--ink: #1c1b1b;
	--ink-soft: #5f5e59;
	--primary: #10496b;
	--primary-deep: #082c42;
	--primary-soft: #a9dced;
	--primary-tint: rgba(16, 73, 107, 0.08);
	--gold: #dab46b;
	--gold-deep: #604503;
	--bg: #fcf9f8;
	--surface: #ffffff;
	--surface-alt: #f6f3f2;
	--line: #c3d8e2;

	--radius-card: 16px;
	--radius-card-lg: 20px;
	--radius-control: 10px;

	--space-1: 8px;
	--space-2: 16px;
	--space-3: 24px;
	--space-4: 32px;
	--space-5: 48px;
	--space-6: 64px;
	--space-7: 96px;

	--font-display: "Libre Caslon Text", Georgia, serif;
	--font-body: "Plus Jakarta Sans", system-ui, sans-serif;
	--font-ui: "Plus Jakarta Sans", system-ui, sans-serif;

	--measure: 640px;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}
body {
	margin: 0;
	background-color: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
	outline: 2px solid var(--primary);
	outline-offset: 2px;
}
img { max-width: 100%; height: auto; display: block; }

/* Images are now emitted as <picture><source webp><img fallback></picture> (see
   inc/images.php). `display: contents` removes the <picture> box from layout so
   every existing rule written as `.parent img { ... }` keeps behaving exactly as
   it did when the <img> was a direct child — without this, declarations like
   `.card--download .card__image img { height: 100% }` resolve against the
   content-sized <picture> instead of the sized parent and collapse.
   Safe for a11y: <picture> carries no semantics of its own, only the <img> does. */
picture { display: contents; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 700;
	color: var(--primary);
	line-height: 1.2;
	margin: 0 0 var(--space-2);
	text-wrap: balance;
}
h1 { font-size: 40px; }
h2 { font-size: 28px; }
h3 { font-size: 21px; }
h4 { font-size: 18px; }
p { margin: 0 0 var(--space-2); color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }

.material-symbols-outlined {
	font-family: "Material Symbols Outlined";
	font-weight: normal;
	font-style: normal;
	font-size: 24px;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	white-space: nowrap;
	word-wrap: normal;
	direction: ltr;
	-webkit-font-feature-settings: "liga";
	-webkit-font-smoothing: antialiased;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.container {
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 var(--space-3);
}

/* Anchor targets (daily-read / Download / connected / get-ebook) land below the sticky header, not flush against it */
section[id] { scroll-margin-top: 88px; }

.eyebrow {
	display: block;
	font-family: var(--font-ui);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--gold-deep);
	margin-bottom: var(--space-1);
}

/* ---------- Buttons â€” one system, three variants ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--font-ui);
	font-weight: 600;
	font-size: 15px;
	padding: 13px 26px;
	border-radius: var(--radius-control);
	border: 1.5px solid transparent;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn--primary { background-color: var(--primary); color: #fff; }
.btn--primary:hover { background-color: var(--primary-deep); color: #fff; text-decoration: none; }
.btn--secondary { background-color: var(--surface); color: var(--primary); border-color: var(--line); }
.btn--secondary:hover { background-color: var(--primary-tint); border-color: var(--primary); text-decoration: none; }
.btn--tertiary {
	background: none;
	border: none;
	border-radius: 0;
	padding: 4px 0;
	color: var(--ink);
	font-weight: 600;
	border-bottom: 1.5px solid var(--line);
}
.btn--tertiary:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.btn--gold { background-color: var(--gold); color: var(--gold-deep); }
.btn--gold:hover { background-color: var(--primary-soft); }
.btn--on-dark.btn--secondary { background-color: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.btn--on-dark.btn--secondary:hover { background-color: rgba(255, 255, 255, 0.18); }

/* ---------- Cards â€” one shell, several content variants ---------- */
.card {
	background-color: var(--surface);
	border-radius: var(--radius-card);
	padding: var(--space-4);
	box-shadow: 0 10px 40px rgba(16, 73, 107, 0.06);
}
.card--feature {
	text-align: left;
	transition: transform 0.2s ease;
}
.card--feature:hover { transform: translateY(-4px); }
.card--feature .card__icon {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background-color: var(--primary-soft);
	color: var(--primary);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: var(--space-2);
}
.card--feature h3 { font-size: 20px; margin-bottom: var(--space-1); }
.card--feature p { font-size: 15px; }

.card--stat { text-align: center; background-color: var(--surface-alt); box-shadow: none; }
.card--stat .card__number {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 30px;
	color: var(--primary);
	margin-bottom: 4px;
}
.card--stat .card__label { font-family: var(--font-ui); font-size: 13px; letter-spacing: 0.04em; color: var(--gold-deep); }

.card--testimonial { background-color: var(--surface-alt); box-shadow: none; }
.card--testimonial blockquote { margin: 0 0 var(--space-2); font-style: italic; font-size: 17px; color: var(--ink); }
.card--testimonial cite { font-family: var(--font-ui); font-size: 13px; font-style: normal; color: var(--ink-soft); }

.card--download {
	text-align: center;
	border: 1px solid transparent;
	transition: border-color 0.2s ease;
}
.card--download:hover { border-color: var(--line); }
.card--download .card__image {
	width: 128px;
	height: 160px;
	margin: 0 auto var(--space-2);
	border-radius: var(--radius-control);
	overflow: hidden;
	background-color: var(--surface-alt);
}
.card--download .card__image img { width: 100%; height: 100%; object-fit: cover; }
.card--download h3 { font-family: var(--font-display); font-size: 19px; margin-bottom: 2px; }
.card--download .card__age { font-family: var(--font-ui); font-size: 13px; color: var(--ink-soft); display: block; margin-bottom: var(--space-2); }
.card--download .btn--tertiary {
	width: 100%;
	display: block;
	background-color: var(--surface-alt);
	border: none;
	border-radius: var(--radius-control);
	padding: 12px;
	margin-top: auto;
}
.card--download .btn--tertiary:hover { background-color: var(--primary); color: #fff; }

/* Article spotlight â€” asymmetric card (image bleeds one side, content the other) */
.card--spotlight {
	display: flex;
	flex-direction: row;
	padding: 0;
	overflow: hidden;
}
.card--spotlight .spotlight__content {
	flex: 1;
	padding: var(--space-5);
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	justify-content: center;
}
.card--spotlight .spotlight__rule {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	margin-bottom: var(--space-1);
}
.card--spotlight .spotlight__rule .line { flex-grow: 1; height: 1px; background-color: var(--line); }
.card--spotlight .spotlight__image { flex: 1; position: relative; min-height: 380px; background-color: var(--surface-alt); }
.card--spotlight .spotlight__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.card--spotlight .spotlight__thumb {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--surface);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

@media (max-width: 860px) {
	.card--spotlight { flex-direction: column; }
	.card--spotlight .spotlight__image { min-height: 220px; order: -1; }
}

/* ---------- Shared form (Get Connected / ebook signup) ---------- */
.form-shared {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	text-align: left;
}
.form-shared input,
.form-shared textarea {
	font-family: var(--font-body);
	font-size: 15px;
	border-radius: var(--radius-control);
	border: none;
	padding: 12px 16px;
	background-color: var(--surface);
	color: var(--ink);
}
.form-shared textarea { min-height: 120px; resize: vertical; }
.form-shared input::placeholder,
.form-shared textarea::placeholder { color: var(--ink-soft); opacity: 0.8; }
.form-shared .btn { align-self: flex-start; }
.form-notice { font-family: var(--font-ui); font-size: 14px; padding: 10px 14px; border-radius: var(--radius-control); margin: 0 0 var(--space-2); }
.form-notice--success { background-color: var(--primary-tint); color: var(--primary); }
.form-notice--error { background-color: rgba(161, 92, 63, 0.12); color: #7a3f28; }

/* ---------- Section rhythm ---------- */
.section { padding: var(--space-6) 0; }
.section--alt { background-color: var(--surface-alt); }
.section--primary { background-color: var(--primary); color: #fff; }
.section--primary h1, .section--primary h2, .section--primary h3 { color: #fff; }
.section--primary p { color: rgba(255, 255, 255, 0.82); }
.section-head { max-width: var(--measure); margin: 0 auto var(--space-4); text-align: center; }
.section-head.left { text-align: left; margin-left: 0; }

/* Bento card used for Get Connected / gold accent cards */
.card--bento {
	background-color: var(--primary);
	color: #fff;
	border-radius: var(--radius-card-lg);
}
.card--bento h2, .card--bento h3 { color: #fff; }
.card--bento p { color: rgba(255, 255, 255, 0.82); }
.card--bento.card--bento-gold { background-color: var(--gold); }
.card--bento.card--bento-gold h2, .card--bento.card--bento-gold h3 { color: var(--gold-deep); }
.card--bento.card--bento-gold p { color: rgba(96, 69, 3, 0.8); }
.card--bento .card__icon-circle {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.18);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: var(--space-2);
}

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background-color: var(--surface);
	box-shadow: 0 1px 0 var(--line);
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3);
	padding: var(--space-2) var(--space-3);
}
.site-header__logo { display: block; flex-shrink: 0; }
.site-header__logo img { height: 56px; width: auto; }
.site-header__nav {
	display: flex;
	align-items: center;
	gap: var(--space-4);
}
.site-nav__list {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: var(--font-ui);
	font-size: 14.5px;
	font-weight: 600;
}
.site-nav__list a { color: var(--ink-soft); padding-bottom: 4px; border-bottom: 2px solid transparent; }
.site-nav__list a:hover { color: var(--primary); text-decoration: none; }
/* No "current page" underline here on purpose: Home/Daily Read/Free Download/Contact Us are all
   anchor fragments on the same page ("/#Daily Read" etc.) â€” WordPress's current-menu-item logic
   compares URLs ignoring the #fragment, so it marks all of them "current" at once on the home page.
   Styling that class would visibly underline all four simultaneously, which is wrong, not a design choice. */
.site-nav__list .nav-cta > a {
	background-color: var(--primary);
	color: #fff;
	padding: 10px 18px;
	border-radius: var(--radius-control);
	border-bottom: none;
}
.site-nav__list .nav-cta > a:hover { background-color: var(--primary-deep); }
.site-header__cart {
	position: relative;
	display: inline-flex;
	color: var(--ink-soft);
}
.site-header__cart:hover { color: var(--primary); }
.site-header__cart-count {
	position: absolute;
	top: -8px;
	right: -10px;
	background-color: var(--primary);
	color: #fff;
	font-family: var(--font-ui);
	font-size: 10px;
	font-weight: 700;
	min-width: 16px;
	height: 16px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 3px;
}
.site-header__toggle {
	display: none;
	background: none;
	border: none;
	padding: 8px;
	cursor: pointer;
}
.site-header__toggle-bar,
.site-header__toggle-bar::before,
.site-header__toggle-bar::after {
	display: block;
	width: 22px;
	height: 2px;
	background-color: var(--ink);
	position: relative;
	border-radius: 2px;
}
.site-header__toggle-bar::before { content: ""; position: absolute; top: -7px; }
.site-header__toggle-bar::after { content: ""; position: absolute; top: 7px; }

@media (max-width: 860px) {
	.site-header__toggle { display: block; }
	.site-header__nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background-color: var(--surface);
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
		flex-direction: column;
		align-items: flex-start;
		gap: var(--space-3);
		padding: var(--space-3);
		display: none;
	}
	.site-header__nav.is-open { display: flex; }
	.site-nav__list { flex-direction: column; align-items: flex-start; gap: var(--space-2); width: 100%; }
}

/* ---------- Footer ---------- */
.site-footer {
	background-color: var(--surface-alt);
	padding: var(--space-5) 0 var(--space-4);
}
.site-footer__brand-row {
	display: flex;
	justify-content: center;
	margin-bottom: var(--space-3);
}
.site-footer__brand-row img { height: 32px; width: auto; }
.site-footer__nav-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-3);
	margin: 0 0 var(--space-3);
	padding: 0;
	list-style: none;
	font-family: var(--font-ui);
	font-size: 13.5px;
	font-weight: 600;
}
.site-footer__nav-list a { color: var(--ink-soft); }
.site-footer__nav-list a:hover { color: var(--primary); }
.site-footer__social {
	display: flex;
	justify-content: center;
	gap: var(--space-2);
	margin-bottom: var(--space-3);
}
.site-footer__social a { font-family: var(--font-ui); font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.site-footer__divider { height: 1px; background-color: var(--line); opacity: 0.5; max-width: 480px; margin: 0 auto var(--space-3); }
.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-1) var(--space-3);
	margin-bottom: var(--space-2);
}
.site-footer__legal a {
	font-family: var(--font-ui);
	font-size: 13px;
	color: var(--ink-soft);
}
.site-footer__copyright {
	text-align: center;
	font-family: var(--font-ui);
	font-size: 12.5px;
	color: var(--ink-soft);
	margin: 0;
}

/* =========================================================================
   Home (front-page.php)
   ========================================================================= */
.home-hero {
	position: relative;
	min-height: 620px;
	display: flex;
	align-items: center;
	overflow: hidden;
	background-color: var(--surface-alt);
}
.home-hero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0.9;
}
.home-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
@media (prefers-reduced-motion: reduce) {
	.home-hero__video { display: none; }
}
.home-hero__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(252, 249, 248, 0.84) 0%, rgba(252, 249, 248, 0.60) 45%, transparent 75%);
}
.home-hero__inner { position: relative; z-index: 1; max-width: 560px; }
.home-hero__inner h1 { font-size: 56px; margin-bottom: var(--space-2); }
.home-hero__inner h1 em { font-style: italic; font-weight: 400; color: var(--primary-deep); opacity: 0.7; }
.home-hero__rule { width: 96px; height: 4px; background-color: var(--gold); border-radius: 4px; margin-bottom: var(--space-2); }
.home-hero__inner p { font-size: 18px; margin-bottom: var(--space-3); }
.home-hero__buttons { display: flex; gap: var(--space-2); flex-wrap: wrap; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); align-items: center; }

@media (max-width: 860px) {
	.home-hero { min-height: 0; padding: var(--space-6) 0; }
	.home-hero__scrim { background: linear-gradient(180deg, rgba(252, 249, 248, 0.32), var(--bg) 70%); }
	.home-hero__inner h1 { font-size: 36px; }
	.grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
	#connected .grid-3 {
		grid-template-columns: minmax(0, 1fr) !important;
	}
	#connected .card {
		width: 100%;
		min-width: 0;
	}
}

/* =========================================================================
   Consistent Growth (page-consistent-growth.php)
   ========================================================================= */
.cg-hero { position: relative; overflow: hidden; min-height: 560px; display: flex; align-items: center; padding: var(--space-6) 0; }
.cg-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.cg-hero__overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(6, 24, 34, 0.78), rgba(16, 73, 107, 0.55)); z-index: 1; }
.cg-hero__inner { position: relative; z-index: 2; }
.cg-hero__inner h1 { color: #fff; font-size: 44px; margin-bottom: var(--space-4); max-width: 620px; }
.cg-hero__signup {
	background-color: var(--surface);
	border-radius: var(--radius-card-lg);
	padding: var(--space-4);
	max-width: 420px;
}
.cg-hero__signup h2 { font-size: 22px; margin-bottom: var(--space-1); }
.cg-hero__signup p { font-size: 14.5px; margin-bottom: var(--space-2); }
.cg-hero__signup form { display: flex; flex-direction: column; gap: var(--space-2); }

.cg-discover__grid { margin-top: var(--space-4); }
.cg-copy__grid { align-items: start; }
.cg-copy__image img { border-radius: var(--radius-card); }
.cg-copy__text ul { padding-left: 20px; margin: 0 0 var(--space-3); color: var(--ink-soft); }
.cg-copy__text li { margin-bottom: 8px; }
.cg-copy__actions { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-4); }

@media (max-width: 860px) {
	.cg-hero { min-height: 0; }
	.cg-hero__inner .grid-2 { grid-template-columns: 1fr; }
	.cg-hero__inner h1 { font-size: 30px; }
}

/* =========================================================================
   Rhapsodyorders (page-rhapsodyorders.php)
   ========================================================================= */
.ro-hero {
	position: relative;
	background-color: var(--primary);
	background-image: linear-gradient(135deg, var(--primary), var(--primary-deep));
	overflow: hidden;
	padding: var(--space-7) 0;
}
.ro-hero__decor { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.ro-hero__decor--1 { top: -15%; left: -8%; width: 45%; height: 45%; background-color: var(--primary-soft); opacity: 0.25; }
.ro-hero__decor--2 { top: 20%; right: -10%; width: 55%; height: 55%; background-color: var(--primary-deep); opacity: 0.5; }
.ro-hero__icon {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1px solid var(--gold);
	color: var(--gold);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: var(--space-2);
}
.ro-hero__text { position: relative; z-index: 1; }
.ro-hero__text h1 { color: #fff; font-size: 38px; text-align: left; margin-bottom: var(--space-2); }
.ro-hero__highlight { color: var(--gold); }
.ro-hero__text p { color: rgba(255, 255, 255, 0.85); font-size: 17px; max-width: 440px; margin-bottom: var(--space-2); }
.ro-hero__price { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--gold); margin-bottom: var(--space-3); }
.ro-hero__image { position: relative; z-index: 1; }
.ro-hero__image img { max-width: 420px; margin: 0 auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35)); }

/* ---------- Cart hero: star-ring motif lifted from the logo mark ----------
   The logo is a badge ringed with gold stars. Two slow counter-rotating
   dashed rings echo that without competing with the content. */
/* The cart hero is a working form, not a landing page — it's deliberately
   tighter than .ro-hero so the line items and checkout button stay close to
   the fold. Requested directly after review: "condense the info so you don't
   have to scroll down to place the order." */
.ro-hero--cart { padding: var(--space-4) 0 var(--space-5); }
.ro-hero--cart .ro-hero__text h1 { font-size: 29px; margin-bottom: var(--space-1); }
.ro-hero--cart .ro-hero__price { font-size: 20px; margin-bottom: var(--space-2); }
.ro-hero--cart .grid-2 { gap: var(--space-3); }
.ro-hero--cart .ro-hero__image img { max-width: 260px; }
.ro-hero--cart .eyebrow { margin-bottom: 6px; }

/* Cut-off and impact sit side by side rather than stacking */
.ro-hero__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-1) var(--space-2);
}
.ro-hero__meta .ro-hero__impact { margin: 0; padding-left: var(--space-2); font-size: 14.5px; }
.ro-hero__meta .ro-hero__cutoff { padding: 8px 12px; font-size: 13.5px; }

/* Trim the wrapper the cart block sits in — its default 64px top padding put
   the line items well below the fold. */
.woocommerce-cart .ro-steps-wrap + .section { padding-top: var(--space-3); }
.woocommerce-cart .ro-steps-wrap + .section > .container { padding-top: 0; }
.ro-hero__ring {
	position: absolute;
	top: 50%;
	right: -8%;
	width: 520px;
	height: 520px;
	margin-top: -260px;
	border: 2px dashed var(--gold);
	border-radius: 50%;
	opacity: 0.14;
	pointer-events: none;
	animation: ring-spin 90s linear infinite;
}
.ro-hero__ring--inner {
	width: 380px;
	height: 380px;
	margin-top: -190px;
	right: -2%;
	opacity: 0.1;
	animation-duration: 65s;
	animation-direction: reverse;
}
@keyframes ring-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
	.ro-hero__ring { animation: none; }
}

.eyebrow--onDark { color: var(--gold); }
.ro-hero__price span { font-family: var(--font-body); font-size: 15px; font-weight: 400; color: rgba(255, 255, 255, 0.7); }

/* Progress toward the free-delivery threshold */
.deliv-meter { margin-top: var(--space-2); }
.deliv-meter__track {
	height: 6px;
	border-radius: 999px;
	background-color: rgba(255, 255, 255, 0.18);
	overflow: hidden;
}
.deliv-meter__fill {
	height: 100%;
	border-radius: 999px;
	background-image: linear-gradient(90deg, var(--primary-soft), var(--gold));
	transition: width 450ms var(--ease-out-quint, cubic-bezier(0.22, 1, 0.36, 1));
}
.deliv-meter__note {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.75);
	margin: 8px 0 0;
}
.deliv-meter__note .material-symbols-outlined { font-size: 16px; color: var(--gold); }
.deliv-meter.is-free .deliv-meter__note { color: var(--gold); font-weight: 600; }

.ro-hero__impact {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 16px;
	color: rgba(255, 255, 255, 0.85);
	margin: 0 0 var(--space-3);
	padding-left: var(--space-2);
	border-left: 2px solid var(--gold);
}
.ro-hero__impact strong { color: var(--gold); font-style: normal; }
.ro-hero__impact.is-empty { display: none; }
.ro-hero__cutoff strong { color: #fff; }

/* Three-step order path — first-time church buyers need to see what's coming */
/* Single slim row — conveys the three stages without the vertical cost of
   full descriptions. */
.ro-steps-wrap { margin-top: -28px; position: relative; z-index: 2; margin-bottom: var(--space-3); }
.ro-steps {
	background-color: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-card);
	box-shadow: 0 14px 34px rgba(16, 73, 107, 0.1);
	padding: 12px var(--space-3);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-2);
}
.ro-steps__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-3);
}
.ro-steps__item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-ui);
	font-size: 14px;
	font-weight: 600;
	color: var(--ink-soft);
}
.ro-steps__item.is-current { color: var(--primary); }
.ro-steps__num {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background-color: var(--surface-alt);
	color: var(--ink-soft);
	font-size: 12.5px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}
.ro-steps__item.is-current .ro-steps__num { background-color: var(--gold); color: var(--primary-deep); }
.ro-steps__badges { display: flex; align-items: center; gap: 6px; }
.ro-steps__badges .material-symbols-outlined { font-size: 16px; color: var(--primary); }
.ro-steps__badges .ro-trust__badge { padding: 4px 8px; font-size: 10px; }

@media (max-width: 860px) {
	.ro-steps { justify-content: flex-start; }
	.ro-steps__list { gap: var(--space-2); }
	.ro-steps-wrap { margin-top: -18px; }
	.ro-hero__ring { display: none; }
	.ro-hero--cart .ro-hero__image { display: none; }
}

/* ---------- Order vs Sponsor mode picker (2026-08-18) ----------
   Two cards in the cart hero, above the quantity pills. Deliberately larger
   and higher-contrast than the pills: choosing the wrong one is only
   recoverable by refunding, so it should not read as a minor toggle.
   Anchors, not radios — each one is a nonced link that re-points the cart
   server-side (see inc/sponsorship.php), so there is no form to submit. */
.mode-pick { margin-bottom: var(--space-3); }
.mode-pick__label {
	display: block;
	font-family: var(--font-ui);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7);
	margin-bottom: var(--space-1);
}
.mode-pick__options {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-1);
}
.mode-pick__option {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 14px;
	border-radius: var(--radius-control);
	border: 1px solid rgba(255, 255, 255, 0.3);
	background-color: rgba(255, 255, 255, 0.08);
	color: #fff;
	text-decoration: none;
	transition: background-color 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.mode-pick__option:hover {
	background-color: rgba(255, 255, 255, 0.16);
	border-color: rgba(255, 255, 255, 0.5);
	text-decoration: none;
	transform: translateY(-1px);
}
.mode-pick__option.is-active {
	background-color: rgba(218, 180, 107, 0.16);
	border-color: var(--gold);
	box-shadow: inset 0 0 0 1px var(--gold);
}
.mode-pick__icon { font-size: 22px; color: var(--gold); flex-shrink: 0; }
.mode-pick__body { display: block; min-width: 0; }
.mode-pick__name {
	display: block;
	font-family: var(--font-ui);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
}
.mode-pick__desc {
	display: block;
	font-size: 12.5px;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.72);
	margin-top: 2px;
}
/* The tick is the only cue that survives for a colour-blind reader, so the
   active state carries it as well as the gold border. */
.mode-pick__check {
	position: absolute;
	top: 8px;
	right: 8px;
	font-size: 18px;
	color: var(--gold);
	opacity: 0;
	transition: opacity 200ms ease;
}
.mode-pick__option.is-active .mode-pick__check { opacity: 1; }
.mode-pick__option.is-active .mode-pick__desc { color: rgba(255, 255, 255, 0.85); }
.mode-pick__note {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: var(--space-1) 0 0;
	padding: 10px 12px;
	border-radius: var(--radius-control);
	border: 1px solid rgba(218, 180, 107, 0.4);
	background-color: rgba(218, 180, 107, 0.12);
	font-size: 13px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.9);
	max-width: 460px;
}
.mode-pick__note .material-symbols-outlined { font-size: 17px; color: var(--gold); flex-shrink: 0; }

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

/* Restated at checkout, where the missing address step needs explaining.
   On light ground here, unlike the in-hero note above. */
.sponsor-banner-wrap { padding-top: var(--space-4); }
.sponsor-banner {
	display: flex;
	align-items: flex-start;
	gap: var(--space-2);
	padding: var(--space-3);
	border-radius: var(--radius-card);
	border: 1px solid var(--gold);
	background-color: rgba(218, 180, 107, 0.1);
}
.sponsor-banner__icon { font-size: 28px; color: var(--gold-deep); flex-shrink: 0; }
.sponsor-banner__body { min-width: 0; }
.sponsor-banner__body p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink); }
.sponsor-banner__title {
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 4px !important;
}
.sponsor-banner__switch {
	display: inline-block;
	margin-top: var(--space-1);
	font-family: var(--font-ui);
	font-size: 13.5px;
	font-weight: 600;
	color: var(--primary);
	text-decoration: underline;
}

/* Order confirmation and emails */
.sponsor-receipt {
	padding: var(--space-2);
	border-left: 3px solid var(--gold);
	background-color: var(--surface-alt);
	border-radius: var(--radius-control);
	font-size: 14.5px;
	line-height: 1.6;
}

/* Quantity quick-select — sits in the cart hero, drives the cart's own input */
.qty-pick { margin-bottom: var(--space-3); }
/* Nothing is charged for delivery in sponsor mode, so the free-delivery flag on
   the 100-pill would be promising something that doesn't apply. */
.qty-pick--sponsor .qty-pick__btn--free::after { content: none; }
.deliv-meter__note--sponsor { margin-top: var(--space-2); }
.qty-pick__label {
	display: block;
	font-family: var(--font-ui);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7);
	margin-bottom: var(--space-1);
}
.qty-pick__options { display: flex; flex-wrap: wrap; gap: var(--space-1); }
.qty-pick__btn {
	min-width: 56px;
	padding: 10px 16px;
	border-radius: var(--radius-control);
	border: 1px solid rgba(255, 255, 255, 0.35);
	background-color: rgba(255, 255, 255, 0.08);
	color: #fff;
	font-family: var(--font-ui);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.qty-pick__btn:hover { background-color: rgba(255, 255, 255, 0.18); transform: translateY(-1px); }
.qty-pick__btn.is-active {
	background-color: var(--gold);
	border-color: var(--gold);
	color: var(--primary-deep);
}
.qty-pick__btn--free { position: relative; }
.qty-pick__btn--free::after {
	content: "FREE DELIVERY";
	position: absolute;
	top: -9px;
	right: -10px;
	background-color: var(--gold);
	color: var(--primary-deep);
	font-size: 8px;
	font-weight: 700;
	letter-spacing: 0.06em;
	padding: 2px 5px;
	border-radius: 999px;
	white-space: nowrap;
}
.qty-pick__btn--free.is-active::after { background-color: #fff; }
.qty-pick__hint { font-size: 13px; color: rgba(255, 255, 255, 0.7); margin: var(--space-1) 0 0; }

.ro-hero__cutoff {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background-color: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: var(--radius-control);
	padding: 10px 14px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.9);
	margin: 0;
}
.ro-hero__cutoff .material-symbols-outlined { font-size: 18px; color: var(--gold); }

/* =========================================================================
   Help & policy pages — editorial treatment
   These sell trust, not product. Print-like: serif hierarchy, a gold rule,
   a constrained measure, and a sidebar so the five pages cross-reference
   each other instead of being dead ends.
   ========================================================================= */
.legal-hero {
	position: relative;
	background-color: var(--surface-alt);
	background-image:
		radial-gradient(circle at 12% 18%, rgba(218, 180, 107, 0.16), transparent 42%),
		radial-gradient(circle at 88% 82%, rgba(16, 73, 107, 0.1), transparent 46%);
	padding: var(--space-6) 0 var(--space-5);
	border-bottom: 1px solid var(--line);
	text-align: center;
}
.legal-hero h1 { font-size: 42px; margin-bottom: var(--space-2); }
.legal-hero__rule {
	width: 64px;
	height: 3px;
	border-radius: 3px;
	background-image: linear-gradient(90deg, var(--gold), var(--primary-soft));
	margin: 0 auto var(--space-2);
}
.legal-hero__meta {
	font-family: var(--font-ui);
	font-size: 12.5px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--ink-soft);
	margin: 0;
}

.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: var(--space-5); align-items: start; }
.legal-aside { position: sticky; top: 110px; }
.legal-aside__title {
	display: block;
	font-family: var(--font-ui);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-soft);
	margin-bottom: var(--space-2);
}
.legal-aside ul { list-style: none; margin: 0 0 var(--space-4); padding: 0; }
.legal-aside li { margin-bottom: 2px; }
.legal-aside li a {
	display: block;
	padding: 9px 14px;
	border-left: 2px solid var(--line);
	font-family: var(--font-ui);
	font-size: 14px;
	color: var(--ink-soft);
	transition: border-color 200ms ease, color 200ms ease, background-color 200ms ease;
}
.legal-aside li a:hover { color: var(--primary); background-color: var(--primary-tint); text-decoration: none; }
.legal-aside li a[aria-current="page"] {
	border-left-color: var(--gold);
	color: var(--primary);
	font-weight: 600;
	background-color: var(--primary-tint);
}
.legal-aside__help {
	background-color: var(--primary);
	color: #fff;
	border-radius: var(--radius-card);
	padding: var(--space-3);
}
.legal-aside__help .material-symbols-outlined { color: var(--gold); margin-bottom: 6px; }
/* Was an h4 for its size alone, which skipped a level after the page h1. It is an
   h2 now (the aside is a sibling section of the page body) and is sized here. */
.legal-aside__help h2 { color: #fff; font-size: 16px; margin-bottom: 4px; }
.legal-aside__help p { color: rgba(255, 255, 255, 0.75); font-size: 13px; margin-bottom: var(--space-2); }
.legal-aside__help a {
	display: block;
	color: var(--gold);
	font-family: var(--font-ui);
	font-size: 13.5px;
	font-weight: 600;
	word-break: break-word;
}

/* Long-form reading column */
.prose { max-width: 68ch; }
.prose > h2 {
	font-size: 25px;
	margin-top: var(--space-5);
	padding-top: var(--space-3);
	border-top: 1px solid var(--line);
}
.prose > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose > h3 { font-size: 19px; margin-top: var(--space-4); }
.prose p { font-size: 16.5px; line-height: 1.75; }
.prose > p:first-of-type { font-size: 18px; color: var(--ink); }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li {
	position: relative;
	padding-left: var(--space-3);
	margin-bottom: 10px;
	color: var(--ink-soft);
	line-height: 1.7;
}
.prose ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 11px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background-color: var(--gold);
}
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--primary-soft); }
.prose a:hover { text-decoration-color: var(--gold); }

/* FAQ accordions — native <details>, no JS needed */
.faq-item {
	border-bottom: 1px solid var(--line);
	padding: var(--space-2) 0;
}
.faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-2);
	cursor: pointer;
	list-style: none;
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 700;
	color: var(--primary);
	padding: var(--space-1) 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
	content: "add";
	font-family: "Material Symbols Outlined";
	font-size: 22px;
	color: var(--gold);
	flex-shrink: 0;
	transition: transform 250ms var(--ease-out-quart, ease);
}
.faq-item[open] summary::after { content: "remove"; }
.faq-item summary:hover { color: var(--primary-deep); }
.faq-item__body { padding: var(--space-1) 0 var(--space-2); }
.faq-item__body p { margin-bottom: 0; }
.faq-item[open] .faq-item__body { animation: faq-open 320ms var(--ease-out-quart, ease) both; }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) {
	.faq-item[open] .faq-item__body { animation: none; }
}

@media (max-width: 860px) {
	.legal-layout { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
	.legal-aside { position: static; }
	.legal-hero h1 { font-size: 30px; }
	.legal-hero { padding: var(--space-5) 0 var(--space-4); }
}

.ro-trust-wrap { margin-top: -40px; position: relative; z-index: 2; }
.ro-trust {
	background-color: var(--surface);
	border-radius: var(--radius-card-lg);
	box-shadow: 0 20px 50px rgba(16, 73, 107, 0.12);
	padding: var(--space-4);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3);
}
.ro-trust__info { display: flex; align-items: center; gap: var(--space-3); }
.ro-trust__icon {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background-color: var(--surface-alt);
	color: var(--primary);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.ro-trust__info h3 { font-size: 19px; margin-bottom: 2px; }
.ro-trust__info p { font-size: 14px; margin: 0; }
.ro-trust__badges { display: flex; gap: var(--space-2); }
.ro-trust__badge {
	background-color: var(--surface-alt);
	border-radius: var(--radius-control);
	padding: 8px 14px;
	font-family: var(--font-ui);
	font-weight: 700;
	font-size: 12px;
}

@media (max-width: 860px) {
	.ro-hero__text h1 { font-size: 27px; }
	.ro-hero__image { margin-top: var(--space-3); }
	.ro-trust { flex-direction: column; align-items: flex-start; }
}

/* =========================================================================
   WooCommerce â€” Shop / Cart / Checkout / My Account
   Presentation only, styled via tokens. No template overrides. Class names
   verified against WooCommerce's own compiled block CSS (wc-block-*), not
   guessed â€” see wp-content/plugins/woocommerce/assets/client/blocks/*.css.
   ========================================================================= */

/* ---------- Shared button override for every WooCommerce surface ---------- */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce-page a.button,
.wc-block-components-checkout-place-order-button,
.wc-block-cart__submit-button,
.wc-block-components-totals-coupon__button {
	font-family: var(--font-ui) !important;
	font-weight: 600 !important;
	background-color: var(--primary) !important;
	color: #fff !important;
	border-radius: var(--radius-control) !important;
	border: none !important;
	padding: 13px 26px !important;
	box-shadow: none !important;
	text-transform: none !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.wc-block-components-checkout-place-order-button:hover, .wc-block-cart__submit-button:hover {
	background-color: var(--primary-deep) !important;
}
.wc-block-components-checkout-place-order-button {
	background-color: var(--gold) !important;
	color: var(--gold-deep) !important;
	width: 100%;
	padding: 16px 26px !important;
	font-size: 16px !important;
}
.wc-block-components-checkout-place-order-button:hover { background-color: var(--primary-soft) !important; }

/* ---------- Shop archive + single product (classic templates) ---------- */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); list-style: none; padding: 0; }
.woocommerce ul.products li.product {
	background-color: var(--surface);
	border-radius: var(--radius-card);
	box-shadow: 0 10px 40px rgba(16, 73, 107, 0.06);
	padding: var(--space-3);
	text-align: center;
}
.woocommerce ul.products li.product img { border-radius: calc(var(--radius-card) - 6px); margin-bottom: var(--space-2); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--font-display); font-size: 19px; color: var(--primary); }
.woocommerce ul.products li.product .price { font-family: var(--font-ui); color: var(--gold-deep); font-weight: 600; }

.woocommerce div.product {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-5);
	align-items: start;
}
.woocommerce div.product .woocommerce-product-gallery img { border-radius: var(--radius-card); }
.woocommerce div.product .summary.entry-summary .price {
	font-family: var(--font-display);
	color: var(--gold-deep);
	font-size: 28px;
	margin: var(--space-1) 0 var(--space-3);
}
.woocommerce div.product .summary.entry-summary .woocommerce-product-details__short-description { color: var(--ink-soft); }
.woocommerce div.product form.cart {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	margin-top: var(--space-3);
}
.woocommerce div.product form.cart .quantity {
	display: inline-flex;
	border: 1.5px solid var(--line);
	border-radius: var(--radius-control);
	overflow: hidden;
}
.woocommerce div.product form.cart .quantity .qty {
	border: none !important;
	width: 56px;
	text-align: center;
	font-family: var(--font-ui);
	padding: 12px 8px !important;
}
.woocommerce div.product form.cart .single_add_to_cart_button {
	padding: 14px 32px !important;
}

/* ---------- Cart block (real class names: wc-block-cart-*, wc-block-components-*) ----------
   Deliberately NOT overriding the sidebar-layout's own display/grid-template-columns â€”
   WooCommerce's block JS controls those column proportions itself, and fighting it with a
   competing grid caused the sidebar to collapse to a sliver with a large dead gap next to it
   (confirmed via screenshot: "Estimated total"/"Proceed to Checkout" wrapping letter-by-letter).
   Only cosmetic styling (background/padding/radius/color/font) below â€” no layout properties. */
.wc-block-cart__main, .wc-block-components-main {
	background-color: var(--surface);
	border-radius: var(--radius-card-lg);
	padding: var(--space-4);
	box-shadow: 0 10px 40px rgba(16, 73, 107, 0.06);
}
.wc-block-cart__sidebar, .wc-block-components-sidebar {
	background-color: var(--surface-alt);
	border-radius: var(--radius-card-lg);
	padding: var(--space-4);
	min-width: 320px;
}
/* WooCommerce's own compiled cart.css/checkout.css sets padding:0 on these via a container
   query below 699px (`.wc-block-components-sidebar-layout .wc-block-components-main`/`-sidebar`),
   a two-class selector that outranks the single-class rules above regardless of source order —
   that's what was causing the cramped mobile padding. !important reclaims it; this is spacing,
   not the layout wrapper's own display/grid/flex, so it doesn't violate the rule above.
   Uses @container, not @media: WooCommerce sets container-type:inline-size on
   .wp-block-woocommerce-cart itself, so its breakpoint tracks that element's own width, not the
   viewport — this theme's .container padding around it means those two diverge by ~48-90px. */
@container (max-width: 699px) {
	.wc-block-cart__main, .wc-block-components-main,
	.wc-block-cart__sidebar, .wc-block-checkout__sidebar, .wc-block-components-sidebar {
		padding: var(--space-3) !important;
	}
}
.wc-block-cart-items__header { display: none; } /* redundant with per-row labels below */
/* Cart items table renders <tr> rows as CSS grid, but the <table> itself keeps the browser's
   default table-layout:auto — meaning the table's own outer width still grows to fit its rows'
   content instead of honoring width:100%, so the whole table (and every row in it) could blow
   out past .wc-block-cart__main regardless of any column sizing below. table-layout:fixed makes
   width:100% (set by WooCommerce itself) actually binding. */
.wc-block-cart-items { table-layout: fixed; }
/* !important on grid-template-columns/padding: WooCommerce's own cart.css has a higher-specificity
   `table.wc-block-cart-items .wc-block-cart-items__row` rule fixing this at `80px 132px` (a hard
   pixel width, not fluid) — it silently won over this rule at every viewport, which is what let a
   ~310px-wide row overflow past the screen edge on any phone narrower than ~375px (the row's
   fixed width didn't shrink with the viewport). Confirmed via computed styles in a real headless
   browser at 320/344/360/390px, not guessed from static CSS. */
.wc-block-cart-items__row {
	display: grid !important;
	grid-template-columns: 88px 1fr auto auto !important;
	gap: var(--space-2);
	align-items: center;
	padding: var(--space-3) 0 !important;
	border-bottom: 1px solid var(--line);
}
/* WooCommerce's cart.css puts `border-top` AND `padding: 20px 0` on every <td>
   (`.wc-block-cart__main .wc-block-cart-items td`). Because the row above is a grid with
   align-items:center, each <td> becomes an independently-sized, vertically-centred grid item
   — so those per-cell top borders each render at their own cell's top edge, at three
   different heights, reading as broken line fragments rather than one rule across the row.
   Caught from a user screenshot; curl can't surface it since the filled cart is client-rendered.
   The horizontal rules belong to the row (border-bottom above), so strip them off the cells. */
.wc-block-cart__main .wc-block-cart-items td {
	border-top: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

/* CSS Grid won't shrink a 1fr track below its content's min-content width unless told to —
   without this, the product-name/description text refuses to wrap and forces the row (and the
   table above) wider than the viewport on narrow phones. */
.wc-block-cart-item__product { min-width: 0; }
.wc-block-cart-items__row:last-child { border-bottom: none; padding-bottom: 0; }
.wc-block-cart-item__image img { border-radius: var(--radius-control); }
.wc-block-components-product-name { font-family: var(--font-display); color: var(--primary); font-size: 17px; text-decoration: none; }
.wc-block-cart-item__remove-link { font-family: var(--font-ui); font-size: 13px; color: var(--ink-soft) !important; }
.wc-block-components-quantity-selector {
	display: inline-flex;
	align-items: center;
	border: 1.5px solid var(--line);
	border-radius: var(--radius-control);
	overflow: hidden;
}
.wc-block-components-quantity-selector__button { background: none; border: none; color: var(--primary); font-weight: 700; padding: 8px 12px; cursor: pointer; }
.wc-block-components-quantity-selector__input { border: none !important; width: 40px; text-align: center; font-family: var(--font-ui); }
.wc-block-components-product-price, .wc-block-components-formatted-money-amount { font-family: var(--font-ui); font-weight: 600; color: var(--gold-deep); }

.wc-block-components-totals-item__label { font-family: var(--font-ui); color: var(--ink-soft); }
.wc-block-components-totals-item__value { font-family: var(--font-ui); font-weight: 600; }
.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-size: 20px;
	color: var(--primary);
	font-weight: 700;
}
.wc-block-cart__totals-title { display: none; }
.wc-block-components-panel { border: none; }
.wc-block-components-panel__button { font-family: var(--font-ui); font-weight: 600; color: var(--primary); }
.wc-block-components-totals-coupon__input { border-radius: var(--radius-control) !important; border: 1.5px solid var(--line) !important; }

/* ---------- Checkout block ---------- */
/* Same lesson as the cart block above: not overriding the outer grid/flex â€” only cosmetic
   styling on what's inside it. */
.wc-block-checkout__sidebar {
	background-color: var(--surface-alt);
	border-radius: var(--radius-card-lg);
	padding: var(--space-4);
	min-width: 320px;
}
.wc-block-components-checkout-step {
	background-color: var(--surface);
	border-radius: var(--radius-card);
	padding: var(--space-3) var(--space-4);
	margin-bottom: var(--space-3);
	box-shadow: 0 10px 40px rgba(16, 73, 107, 0.05);
}
.wc-block-components-checkout-step__title { font-family: var(--font-display); font-size: 20px; color: var(--primary); }
.wc-block-components-checkout-step__heading-content .wc-block-components-checkout-step__title::before {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background-color: var(--gold);
	color: var(--gold-deep);
	font-family: var(--font-ui);
	font-size: 13px;
	margin-right: 10px;
	vertical-align: middle;
}
.wc-block-components-text-input input, .wc-block-components-text-input .wc-block-components-text-input__wrapper,
.wc-block-components-address-form input,
.wc-block-components-select-input, select.wc-block-components-country-input,
.wc-block-components-country-input input, .wc-block-components-state-input input {
	border-radius: var(--radius-control) !important;
	border: 1.5px solid var(--line) !important;
	font-family: var(--font-body) !important;
}
.wc-block-components-radio-control__option {
	border: 1.5px solid var(--line) !important;
	border-radius: var(--radius-control) !important;
	margin-bottom: var(--space-1);
}
.wc-block-components-radio-control__option--checked-option-highlighted,
.wc-block-components-radio-control__input:checked ~ * {
	border-color: var(--primary) !important;
}
.wc-block-components-checkout-order-summary__title { font-family: var(--font-display); color: var(--primary); }
.wc-block-components-order-summary-item__description { font-family: var(--font-ui); font-size: 14px; }
.wc-block-components-order-summary-item__image img { border-radius: var(--radius-control); }
.wc-block-checkout__terms { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- Shared table (classic order-review / My Account order history) ---------- */
.woocommerce table.shop_table {
	border-radius: var(--radius-card);
	border: 1px solid var(--line);
	overflow: hidden;
}
.woocommerce table.shop_table th { background-color: var(--surface-alt); font-family: var(--font-ui); }

/* ---------- My Account ---------- */
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; }
.woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--line); }
.woocommerce-MyAccount-navigation li a { display: block; padding: var(--space-1) 0; font-family: var(--font-ui); font-weight: 600; color: var(--ink); }
.woocommerce-MyAccount-navigation li.is-active a { color: var(--primary); }
.woocommerce form.login, .woocommerce form.register {
	background-color: var(--surface);
	border-radius: var(--radius-card);
	padding: var(--space-4);
	box-shadow: 0 10px 40px rgba(16, 73, 107, 0.06);
	max-width: 420px;
}
.woocommerce form.login input.input-text, .woocommerce form.register input.input-text {
	border-radius: var(--radius-control) !important;
	border: 1.5px solid var(--line) !important;
	font-family: var(--font-body) !important;
}

@media (max-width: 860px) {
	.woocommerce ul.products { grid-template-columns: 1fr; }
	.woocommerce div.product { grid-template-columns: 1fr; }
	/* 3 tracks, not 2: WooCommerce's own .wc-block-cart-item__product spans grid-column 2/4 (two
	   tracks) by design at every breakpoint, so a 2-column template here left no track for the
	   row total and forced it into an uncontrolled implicit column past the row's right edge —
	   the exact cause of the price overflowing off-screen. Narrowing product's own span to a
	   single track (below) matches this 3-column template. */
	.wc-block-cart-items__row { grid-template-columns: 64px 1fr auto !important; }
	.wc-block-cart-item__product { grid-column: 2 / 3 !important; }
	.wc-block-cart__sidebar, .wc-block-checkout__sidebar, .wc-block-components-sidebar { min-width: 0; }
}

/* =========================================================================
   Spatial system v3 â€” refined depth and motion
   ========================================================================= */
:root {
	--depth-perspective: 1100px;
	--depth-shadow-low: 0 5px 10px rgba(8, 44, 66, 0.08);
	--depth-shadow-mid: 0 18px 36px rgba(8, 44, 66, 0.13);
	--depth-shadow-high: 0 28px 56px rgba(8, 44, 66, 0.18);
	--ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
	--ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
	--ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
	--motion-fast: 140ms;
	--motion-state: 260ms;
	--motion-scene: 700ms;
	--z-sticky: 20;
	--z-menu: 30;
}

body { overflow-x: clip; }
.depth-scene { perspective: var(--depth-perspective); transform-style: preserve-3d; }
.depth-card, .depth-image, .tilt-surface { transform-style: preserve-3d; backface-visibility: hidden; }
.depth-card { box-shadow: var(--depth-shadow-mid); }
.depth-image img { filter: drop-shadow(0 22px 18px rgba(8, 44, 66, 0.18)); }

/* Interaction feedback */
.btn {
	position: relative;
	isolation: isolate;
	transform: translateZ(0);
	transition: transform var(--motion-fast) var(--ease-out-quart), box-shadow var(--motion-state) var(--ease-out-quart), background-color var(--motion-fast) ease, color var(--motion-fast) ease, border-color var(--motion-fast) ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 8px rgba(8, 44, 66, 0.16); }
.btn:active { transform: translateY(0) scale(0.975); transition-duration: 80ms; }
.btn--tertiary:hover { box-shadow: none; transform: translateY(-1px); }
.form-shared input, .form-shared textarea {
	transition: transform var(--motion-state) var(--ease-out-quart), box-shadow var(--motion-state) var(--ease-out-quart), background-color var(--motion-fast) ease;
}
.form-shared input:focus, .form-shared textarea:focus {
	outline: 2px solid var(--gold);
	outline-offset: 2px;
	transform: translateY(-1px);
	box-shadow: 0 5px 8px rgba(8, 44, 66, 0.12);
}

/* Header compacts without changing document flow. */
.site-header {
	z-index: var(--z-sticky);
	transition: background-color var(--motion-state) ease, box-shadow var(--motion-state) ease;
}
.site-header__inner, .site-header__logo img { transition: padding var(--motion-state) var(--ease-out-quart), height var(--motion-state) var(--ease-out-quart); }
.site-header.is-scrolled { background-color: rgba(255, 255, 255, 0.96); box-shadow: 0 4px 8px rgba(8, 44, 66, 0.09); }
.site-header.is-scrolled .site-header__inner { padding-top: 10px; padding-bottom: 10px; }
.site-header.is-scrolled .site-header__logo img { height: 46px; }
.site-nav__list a { position: relative; border-bottom: 0; }
.site-nav__list a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: var(--gold);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform var(--motion-state) var(--ease-out-expo);
}
.site-nav__list a:hover::after, .site-nav__list a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.site-nav__list .nav-cta > a::after { display: none; }

/* Signature hero choreography and layered response. */
.home-hero { isolation: isolate; }
.home-hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 68px;
	background: linear-gradient(to top, var(--bg), transparent);
	pointer-events: none;
	z-index: 1;
}
.home-hero__bg {
	inset: -3%;
	transform: translate3d(var(--pointer-bg-x, 0px), calc(var(--scroll-y, 0px) + var(--pointer-bg-y, 0px)), -35px) scale(1.08);
	will-change: transform;
}
.home-hero__scrim { transform: translateZ(0); }
.home-hero__inner {
	transform: translate3d(var(--pointer-content-x, 0px), var(--pointer-content-y, 0px), 42px);
	transition: transform 180ms linear;
}
.motion-ready .home-hero__rule { animation: hero-rule 650ms 120ms var(--ease-out-expo) both; transform-origin: left; }
.motion-ready .home-hero__inner h1 { animation: hero-copy 720ms 160ms var(--ease-out-expo) both; }
.motion-ready .home-hero__inner > p { animation: hero-copy 700ms 240ms var(--ease-out-expo) both; }
.motion-ready .home-hero__buttons { animation: hero-copy 680ms 320ms var(--ease-out-expo) both; }
@keyframes hero-rule { from { transform: scaleX(0); opacity: 0; } }
@keyframes hero-copy { from { opacity: 0; transform: translate3d(0, 22px, -25px); filter: blur(5px); } to { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0); } }

/* Contextual surfaces */
.tilt-surface {
	--rx: 0deg;
	--ry: 0deg;
	transform: perspective(var(--depth-perspective)) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift, 0px));
	transition: transform 300ms var(--ease-out-quart), box-shadow 300ms var(--ease-out-quart);
}
.tilt-surface.is-tilting { transition: box-shadow 300ms var(--ease-out-quart); box-shadow: var(--depth-shadow-high); }
.card--feature .card__icon { transform: translateZ(28px); box-shadow: var(--depth-shadow-low); transition: transform 300ms var(--ease-out-quart); }
.card--feature:hover { --lift: -6px; }
.card--feature:hover .card__icon { transform: translateZ(38px) scale(1.04); }
.card--download { position: relative; overflow: visible; }
.card--download::after {
	content: "";
	position: absolute;
	inset: 12px 18px -10px;
	z-index: -1;
	background: rgba(8, 44, 66, 0.14);
	filter: blur(12px);
	transform: translateZ(-20px) scale(0.9);
	opacity: 0;
	transition: opacity 300ms ease, transform 300ms var(--ease-out-quart);
}
.card--download:hover { --lift: -8px; border-color: transparent; }
.card--download:hover::after { opacity: 1; transform: translateZ(-20px) scale(1); }
.card--download .card__image { transform: translateZ(35px) rotateY(-2deg); box-shadow: -7px 9px 10px rgba(8, 44, 66, 0.18); transition: transform 350ms var(--ease-out-quint), box-shadow 350ms var(--ease-out-quint); }
.card--download:hover .card__image { transform: translateZ(48px) rotateY(0deg) translateY(-3px); box-shadow: -10px 14px 12px rgba(8, 44, 66, 0.22); }
.card--spotlight { overflow: visible; position: relative; }
.card--spotlight .spotlight__content { position: relative; z-index: 2; }
.card--spotlight .spotlight__image { margin: -18px -18px -18px 0; border-radius: 0 var(--radius-card) var(--radius-card) 0; overflow: hidden; transform: translateZ(30px) rotateY(-1.5deg); box-shadow: var(--depth-shadow-high); }
.card--bento { position: relative; isolation: isolate; }
.card--bento::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	background: inherit;
	transform: translate3d(10px, 12px, -24px);
	opacity: 0.16;
}

/* Controlled section depth and list reveals. Content is visible until JS opts in. */
.section { position: relative; }
.section--alt { box-shadow: inset 0 1px rgba(16, 73, 107, 0.05), inset 0 -1px rgba(16, 73, 107, 0.05); }
.motion-ready [data-reveal] {
	opacity: 0;
	transition: opacity 620ms var(--ease-out-quart), transform 680ms var(--ease-out-expo), filter 620ms var(--ease-out-quart);
	transition-delay: calc(min(var(--i, 0), 6) * 55ms);
}
.motion-ready [data-reveal="rise"] { transform: translate3d(0, 30px, -25px) rotateX(2deg); }
.motion-ready [data-reveal="book"] { transform: perspective(var(--depth-perspective)) translate3d(0, 34px, -35px) rotateY(-4deg); }
.motion-ready [data-reveal="unfold"] { transform: perspective(var(--depth-perspective)) translate3d(0, 28px, -30px) rotateX(2deg); clip-path: inset(0 5% 0 0 round var(--radius-card)); }
.motion-ready [data-reveal="slide"] { transform: translate3d(28px, 0, -20px); }
/* Revealed state is an attribute, not a class: these elements can sit inside
   React-rendered regions, and React rewrites the whole class attribute when its
   own className changes — which silently stripped a class marker and left the
   element stranded at opacity 0. It does not touch unknown data attributes. */
.motion-ready [data-reveal][data-revealed] { opacity: 1; transform: translate3d(0, 0, 0) rotateX(0) rotateY(0); filter: none; clip-path: inset(0 0 0 0 round var(--radius-card)); }

/* Restrained spatial treatment for campaign and commerce surfaces. */
.cg-hero__signup, .ro-trust, .woocommerce ul.products li.product, .woocommerce form.login, .woocommerce form.register, .wc-block-components-checkout-step {
	transform-style: preserve-3d;
	transition: transform var(--motion-state) var(--ease-out-quart), box-shadow var(--motion-state) var(--ease-out-quart);
}
.ro-hero__image img { transform: perspective(var(--depth-perspective)) rotateY(-4deg) translateZ(28px); transition: transform 450ms var(--ease-out-quint), filter 450ms var(--ease-out-quint); }
.ro-hero__image:hover img { transform: perspective(var(--depth-perspective)) rotateY(0) translateZ(42px) translateY(-5px); }
.woocommerce ul.products li.product:hover { transform: translateY(-5px); box-shadow: var(--depth-shadow-mid); }
.woocommerce ul.products li.product img, .woocommerce div.product .woocommerce-product-gallery img { filter: drop-shadow(0 12px 10px rgba(8, 44, 66, 0.15)); transition: transform 300ms var(--ease-out-quart), filter 300ms var(--ease-out-quart); }
.woocommerce ul.products li.product:hover img { transform: translateY(-3px) rotateY(-2deg); filter: drop-shadow(0 17px 12px rgba(8, 44, 66, 0.2)); }
.wc-block-components-checkout-step:focus-within, .woocommerce form.login:focus-within, .woocommerce form.register:focus-within { transform: translateY(-2px); box-shadow: 0 7px 8px rgba(8, 44, 66, 0.1); }

@media (max-width: 860px) {
	.home-hero__bg { inset: 0; transform: scale(1.03); will-change: auto; }
	.home-hero__inner { transform: none; }
	.card--spotlight { overflow: hidden; }
	.card--spotlight .spotlight__image { margin: 0; border-radius: var(--radius-card) var(--radius-card) 0 0; transform: none; box-shadow: none; }
	.tilt-surface { transform: none; }
	.site-header__nav { display: flex; visibility: hidden; opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity var(--motion-state) ease, transform var(--motion-state) var(--ease-out-quart), visibility 0s linear var(--motion-state); }
	.site-header__nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); pointer-events: auto; transition-delay: 0s; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
	.home-hero__bg, .home-hero__inner, .tilt-surface, .motion-ready [data-reveal], .motion-ready [data-reveal][data-revealed], .ro-hero__image img, .ro-hero__image:hover img { transform: none !important; filter: none; clip-path: none; opacity: 1; }
}

/* Cascade refinements: retain live tilt after reveal and keep header motion layout-safe. */
.motion-ready .tilt-surface[data-reveal][data-revealed] {
	transform: perspective(var(--depth-perspective)) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift, 0px));
}
.motion-ready .tilt-surface[data-reveal][data-revealed].is-tilting {
	transition: box-shadow 300ms var(--ease-out-quart);
}
.site-header__inner { transition: none; }
.site-header__logo img { transition: transform var(--motion-state) var(--ease-out-quart); transform-origin: left center; }
.site-header.is-scrolled .site-header__inner { padding: var(--space-2) var(--space-3); }
.site-header.is-scrolled .site-header__logo img { height: 56px; transform: scale(0.84); }
@media (prefers-reduced-motion: reduce) {
	.site-header.is-scrolled .site-header__logo img { transform: none; }
}

/* Mobile article spotlight: join the cover and copy into one compact composition. */
@media (max-width: 600px) {
	section#daily-read { padding-top: 36px; padding-bottom: 48px; }
	.card--spotlight {
		border-radius: var(--radius-card);
		background: var(--surface);
		box-shadow: 0 14px 28px rgba(8, 44, 66, 0.12);
	}
	.card--spotlight .spotlight__image {
		height: 190px;
		min-height: 190px;
		padding: 16px 20px 0;
		background: var(--surface-alt);
		overflow: visible;
	}
	.card--spotlight .spotlight__image img {
		position: relative;
		inset: auto;
		width: auto;
		height: 198px;
		margin: 0 auto;
		object-fit: contain;
		transform: translateY(10px);
		filter: drop-shadow(0 14px 12px rgba(8, 44, 66, 0.2));
	}
	.card--spotlight .spotlight__content {
		padding: 38px 24px 28px;
		gap: 12px;
	}
	.card--spotlight .spotlight__content h2 {
		font-size: clamp(27px, 8vw, 34px);
		line-height: 1.08;
	}
	.card--spotlight .spotlight__rule { gap: 12px; }
	.card--spotlight .spotlight__rule .line { min-width: 40px; }
}

@media (max-width: 380px) {
	.card--spotlight .spotlight__content { padding-inline: 20px; }
	.card--spotlight .spotlight__content h2 { font-size: 26px; }
}

/* Mobile order page: prevent intrinsic grid and 3D image width from clipping the hero. */
@media (max-width: 860px) {
	.ro-hero { padding: 56px 0 76px; }
	.ro-hero .container,
	.ro-hero .grid-2,
	.ro-hero__text,
	.ro-hero__image {
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}
	.ro-hero .grid-2 { grid-template-columns: minmax(0, 1fr); }
	.ro-hero__text h1,
	.ro-hero__text p {
		width: 100%;
		max-width: 100%;
		overflow-wrap: anywhere;
		word-break: normal;
	}
	.ro-hero__text h1 {
		font-size: clamp(26px, 7.8vw, 34px);
		line-height: 1.12;
	}
	.ro-hero__image img,
	.ro-hero__image:hover img {
		width: min(100%, 420px);
		max-width: 100%;
		transform: none;
	}
	.ro-trust,
	.ro-trust__info { min-width: 0; width: 100%; }
	.ro-trust__info > div:last-child { min-width: 0; }
	.ro-trust__badges { flex-wrap: wrap; }
}

@media (max-width: 380px) {
	.ro-hero__text h1 { font-size: 25px; }
	.ro-hero__text p { font-size: 16px; }
}

/* Mobile order hero spacing: comfortable edges and clearer vertical rhythm. */
@media (max-width: 860px) {
	.ro-hero { padding-top: 64px; padding-bottom: 88px; }
	.ro-hero .container { padding-inline: 30px; }
	.ro-hero__icon { margin-bottom: 22px; }
	.ro-hero__text h1 { margin-bottom: 22px; }
	.ro-hero__text p { margin-bottom: 24px; }
	.ro-hero__price { margin-bottom: 28px; }
	.ro-hero__image { margin-top: 44px; }
}

@media (max-width: 380px) {
	.ro-hero .container { padding-inline: 22px; }
}

/* Mobile width hardening: prevent intrinsic content and transforms from widening the viewport. */
html,
body {
	width: 100%;
	max-width: 100%;
	overflow-x: hidden;
}

@supports (overflow: clip) {
	html,
	body { overflow-x: clip; }
}

main,
section,
.site-header,
.site-footer,
.container,
.grid-2,
.grid-3,
.grid-4,
.grid-2 > *,
.grid-3 > *,
.grid-4 > * {
	min-width: 0;
	max-width: 100%;
}

video,
iframe,
svg,
.form-shared,
.form-shared input,
.form-shared textarea,
.woocommerce,
.woocommerce-page {
	max-width: 100%;
}

.form-shared input,
.form-shared textarea {
	width: 100%;
}

@media (max-width: 860px) {
	.container { padding-inline: clamp(20px, 6vw, 24px); }
	.grid-2,
	.grid-3,
	.grid-4 { grid-template-columns: minmax(0, 1fr); }
	.card,
	.home-hero__inner,
	.cg-hero__inner,
	.site-footer__inner { min-width: 0; max-width: 100%; }
	h1,
	h2,
	h3,
	p,
	a { overflow-wrap: break-word; }
}
/* =========================================================================
   Cookie consent banner
   Rendered server-side in the initial HTML (see inc/consent.php) so it cannot
   flash in after paint. Accept and Decline are given deliberately equal visual
   weight — a de-emphasised "Decline" is a dark pattern, and regulators treat it
   as invalid consent.
   ========================================================================= */
.consent-banner {
	position: fixed;
	z-index: 1000;
	left: var(--space-2);
	right: var(--space-2);
	bottom: var(--space-2);
	background: var(--surface);
	color: var(--ink);
	border: 1px solid var(--line);
	border-radius: var(--radius-card-lg);
	box-shadow: 0 18px 44px rgba(8, 44, 66, 0.18);
	padding: var(--space-3);
}

.consent-banner__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-3);
	max-width: 1100px;
	margin: 0 auto;
}

.consent-banner__copy { flex: 1 1 420px; }

.consent-banner__title {
	font-family: var(--font-display);
	font-size: 18px;
	margin: 0 0 6px;
}

.consent-banner__copy p {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--ink-soft);
}

.consent-banner__copy a {
	color: var(--primary);
	text-decoration: underline;
}

.consent-banner__actions {
	display: flex;
	gap: var(--space-1);
	flex: 0 0 auto;
}

/* Both actions size identically so neither reads as the "safe" default. */
.consent-banner__actions .btn {
	min-width: 132px;
	justify-content: center;
}

@media (max-width: 600px) {
	.consent-banner {
		left: 0;
		right: 0;
		bottom: 0;
		border-radius: var(--radius-card-lg) var(--radius-card-lg) 0 0;
		border-left: 0;
		border-right: 0;
		border-bottom: 0;
		padding: var(--space-2);
	}

	.consent-banner__actions { width: 100%; }
	.consent-banner__actions .btn { flex: 1 1 0; min-width: 0; }
}

@media (prefers-reduced-motion: no-preference) {
	.consent-banner { animation: consent-rise 260ms ease-out both; }
}

@keyframes consent-rise {
	from { transform: translateY(12px); opacity: 0; }
	to   { transform: translateY(0); opacity: 1; }
}

/* =========================================================================
   404 page (404.php)
   ========================================================================= */
.error-404 {
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}

.error-404 h1 { margin: 0 0 var(--space-2); }

.error-404__lead {
	color: var(--ink-soft);
	font-size: 17px;
	line-height: 1.6;
	margin: 0 auto var(--space-4);
	max-width: 56ch;
}

.error-404__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-1);
	justify-content: center;
	margin-bottom: var(--space-5);
}

.error-404 h2 {
	font-size: 20px;
	margin: 0 0 var(--space-2);
}

.error-404__search,
.error-404__recent,
.error-404__help {
	text-align: left;
	padding-top: var(--space-4);
	border-top: 1px solid var(--line);
	margin-top: var(--space-4);
}

.error-404__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.error-404__list li {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--space-1);
	padding: var(--space-1) 0;
	border-bottom: 1px solid var(--line);
}

.error-404__list li:last-child { border-bottom: 0; }

.error-404__list a {
	color: var(--primary);
	font-weight: 600;
	text-decoration: none;
}

.error-404__list a:hover,
.error-404__list a:focus-visible { text-decoration: underline; }

.error-404__date {
	color: var(--ink-soft);
	font-family: var(--font-ui);
	font-size: 13px;
	white-space: nowrap;
}

.error-404__inline {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-1) var(--space-3);
	margin: 0;
	padding: 0;
}

.error-404__inline a {
	color: var(--primary);
	text-decoration: underline;
}

/* Core's get_search_form() markup, styled to match .form-shared inputs. */
.search-form {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-1);
}

.search-form label {
	flex: 1 1 240px;
	margin: 0;
}

.search-form .search-field {
	width: 100%;
	font-family: var(--font-body);
	font-size: 16px;
	padding: 12px 14px;
	color: var(--ink);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-control);
}

.search-form .search-field:focus-visible {
	outline: 2px solid var(--primary);
	outline-offset: 1px;
	border-color: var(--primary);
}

.search-form .search-submit {
	font-family: var(--font-ui);
	font-size: 15px;
	font-weight: 600;
	padding: 12px 22px;
	color: #fff;
	background: var(--primary);
	border: 1px solid var(--primary);
	border-radius: var(--radius-control);
	cursor: pointer;
}

.search-form .search-submit:hover { background: var(--primary-deep); border-color: var(--primary-deep); }

/* Deck / standfirst copy that sits under a section heading.
   Both instances of this were <h4> elements chosen for their size, which skipped
   a heading level (h2 -> h4) and announced descriptive sentences as headings.
   They are paragraphs now; this class carries the look. */
.section-deck {
	font-family: var(--font-body);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.55;
	color: var(--ink-soft);
	margin: 0;
	max-width: 62ch;
	text-wrap: pretty;
}

/* Page/archive heading block (index.php, page.php's Checkout & My Account) */
.page-heading { margin-bottom: var(--space-4); }
.page-heading h1 { margin-bottom: var(--space-1); }
.page-heading__description { color: var(--ink-soft); font-size: 16px; }
