/*
 * Base layer: resets, layout utilities and the shared components
 * (section header, care-icon row, stock badges, product card, quantity
 * stepper shell) specified in docs/01-brand-guide.md §9. Every colour,
 * size, radius and shadow below is a var() reference into theme.json —
 * there should be no literal hex/px design value in this file that
 * isn't itself defining a token's fallback.
 */

*,
*::before,
*::after {
	box-sizing: border-box;
}

img,
svg {
	max-width: 100%;
	height: auto;
	display: block;
}

/* Never invert product photography — brand guide §7. */
img.wp-post-image,
.vv-product-card__image img,
.woocommerce-product-gallery img {
	filter: none !important;
}

:focus-visible {
	outline: 2px solid var(--wp--preset--color--terracotta-600);
	outline-offset: 2px;
	border-radius: var(--wp--custom--radius--sm);
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100000;
	background: var(--wp--preset--color--forest-900);
	color: var(--wp--preset--color--cream-50);
	padding: var(--wp--preset--spacing--xs) var(--wp--preset--spacing--sm);
	border-radius: var(--wp--custom--radius--sm);
}

.skip-link:focus {
	left: var(--wp--preset--spacing--sm);
	top: var(--wp--preset--spacing--sm);
}

.vv-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

/* ---------- Container / width utilities ---------- */
/* Default (contentSize) and wide (wideSize) alignment are handled by
   core block layout automatically from theme.json settings.layout.
   These cover the two extra widths brand guide work needs. */

.vv-narrow {
	max-width: var(--wp--custom--container-width--narrow);
	margin-inline: auto;
}

.vv-section-bleed {
	max-width: var(--wp--custom--container-width--section);
	margin-inline: auto;
}

/* ---------- Section header (brand guide §9.2) ---------- */

.vv-section-header {
	text-align: center;
	max-width: var(--wp--custom--container-width--narrow);
	margin-inline: auto;
}

.vv-section-header__eyebrow {
	display: block;
	font-family: var(--wp--preset--font-family--karla);
	font-size: var(--wp--preset--font-size--eyebrow);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--wp--preset--color--sage-700);
	margin-block-end: var(--wp--preset--spacing--sm);
}

.vv-section-header__heading {
	margin: 0;
}

.vv-section-header__support {
	color: var(--wp--preset--color--sand-700);
	max-width: 60ch;
	margin-inline: auto;
	margin-block-start: var(--wp--preset--spacing--xs);
}

.vv-section-header__divider {
	display: flex;
	justify-content: center;
	margin-block-start: var(--wp--preset--spacing--md);
	color: var(--wp--preset--color--sage-600);
}

.vv-section-header__divider .vv-illustration {
	width: 7.5rem;
	height: auto;
}

@media (min-width: 782px) {
	.vv-section-header--split {
		text-align: left;
		max-width: none;
		display: flex;
		align-items: flex-end;
		justify-content: space-between;
		gap: var(--wp--preset--spacing--md);
	}

	.vv-section-header--split .vv-section-header__support {
		margin-inline: 0;
	}

	.vv-section-header--split .vv-section-header__divider {
		justify-content: flex-start;
	}
}

/* ---------- Hero (R3.5 — asymmetric, editorial, full-bleed) ---------- */

.has-display-font-size {
	letter-spacing: -0.03em;
}

.vv-hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, var(--wp--preset--color--sage-50) 0%, var(--wp--preset--color--cream-50) 55%);
	padding-block: var(--wp--custom--spacing--section-sm);
}

.vv-hero__grid {
	position: relative;
	z-index: 1;
	max-width: var(--wp--custom--container-width--section);
	margin-inline: auto;
	padding-inline: var(--wp--preset--spacing--sm);
	display: grid;
	grid-template-columns: 1fr;
	grid-template-areas: "media" "copy";
	gap: var(--wp--preset--spacing--xl);
	align-items: center;
}

.vv-hero__copy {
	grid-area: copy;
}

.vv-hero__media {
	grid-area: media;
	position: relative;
}

.vv-hero__eyebrow {
	display: block;
	font-family: var(--wp--preset--font-family--karla);
	font-size: var(--wp--preset--font-size--eyebrow);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--wp--preset--color--sage-700);
	margin: 0 0 var(--wp--preset--spacing--xs);
}

.vv-hero__heading {
	margin: 0 0 var(--wp--preset--spacing--sm);
	max-width: 20ch;
	text-wrap: balance;
}

.vv-hero__body {
	max-width: 42ch;
	font-size: var(--wp--preset--font-size--body);
	color: var(--wp--preset--color--forest-800);
	margin: 0 0 var(--wp--preset--spacing--md);
}

.vv-hero__body p {
	margin: 0;
}

.vv-hero__body p + p {
	margin-block-start: var(--wp--preset--spacing--xs);
}

.vv-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--wp--preset--spacing--sm);
	margin-bottom: var(--wp--preset--spacing--md);
}

.vv-hero__trust {
	display: grid;
	gap: var(--wp--preset--spacing--3-xs);
	max-width: 34ch;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--forest-700);
	list-style: none;
	margin: 0;
	padding: 0;
}

.vv-hero__trust li {
	display: flex;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--3-xs);
}

.vv-hero__trust svg {
	flex-shrink: 0;
	margin-block-start: 0.15em;
	color: var(--wp--preset--color--sage-600);
}

.vv-hero__image-wrap {
	overflow: hidden;
	border-radius: var(--wp--custom--radius--xl);
	box-shadow: var(--wp--preset--shadow--soft-lg);
	max-width: 22rem;
	margin-inline: auto;
}

.vv-hero__image-wrap img {
	width: 100%;
	height: auto;
	display: block;
}

/* Botanical accent tying the hero to the logo's own linework (brand guide
   §6/§8) — large, low-opacity, deliberately behind the copy rather than
   competing with the product photo, which stays the hero's real focus. */
.vv-hero__botanical {
	position: absolute;
	inset-block-start: -10%;
	inset-inline-end: -8%;
	width: min(28rem, 60vw);
	color: var(--wp--preset--color--sage-300);
	opacity: 0.35;
	pointer-events: none;
	z-index: 0;
}

@media (min-width: 782px) {
	.vv-hero {
		padding-block: 0;
		min-height: clamp(34rem, 80vh, 54rem);
		display: flex;
		align-items: center;
	}

	.vv-hero__grid {
		grid-template-columns: 1.4fr 1fr;
		grid-template-areas: "copy media";
		gap: var(--wp--preset--spacing--2-xl);
	}

	.vv-hero__copy {
		max-width: 34rem;
	}

	/* Deliberate overlap (R3.3): the image column spills past the grid row
	   it sits in rather than sitting flush, which is what makes an
	   asymmetric split read as editorial instead of just "two columns." */
	.vv-hero__media {
		align-self: stretch;
		display: flex;
		align-items: center;
		margin-block: -3rem;
	}

	.vv-hero__image-wrap {
		max-width: none;
		width: 100%;
		aspect-ratio: 4 / 5;
	}

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

@media (min-width: 1100px) {
	.vv-hero__copy {
		max-width: 36rem;
	}
}

/* ---------- About / The Story (R3.3 — deliberate overlap) ---------- */

.vv-about__image {
	position: relative;
}

/* Two portrait photos side by side, the second dropped a little so the pair
   reads as a loose, hand-placed set rather than a rigid grid. */
.vv-about__photos {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: start;
	gap: var(--wp--preset--spacing--xs);
	width: 100%;
	max-width: 24rem;
}

.vv-about__photo {
	margin: 0;
	overflow: hidden;
	border-radius: var(--wp--custom--radius--xl);
	box-shadow: var(--wp--preset--shadow--soft-md);
}

.vv-about__photo img {
	display: block;
	width: 100%;
	height: auto;
}

.vv-about__photo:nth-child(2) {
	margin-block-start: var(--wp--preset--spacing--lg);
}

@media (min-width: 782px) {
	.vv-about__grid {
		flex-wrap: nowrap !important;
	}

	/* The photos give way before the copy does on a narrow tablet. */
	.vv-about__image {
		flex: 0 1 32rem;
		min-width: 16rem;
	}

	.vv-about__photos {
		max-width: 32rem;
	}

	/* A flat terracotta panel sitting behind-and-right of the photos,
	   offset so its corner shows past the edge — the "occasional
	   deliberate overlap between an image and an adjacent block" R3.3
	   asks for. */
	.vv-about__image::before {
		content: "";
		position: absolute;
		inset-block-end: -1.25rem;
		inset-inline-end: -1.25rem;
		width: 60%;
		height: 60%;
		background: var(--wp--preset--color--terracotta-200);
		border-radius: var(--wp--custom--radius--xl);
		z-index: -1;
	}

	.vv-about__copy {
		margin-inline-start: calc(var(--wp--preset--spacing--xl) * -1);
		z-index: 1;
	}
}

/* ---------- Stock / status badges (brand guide §9.1) ---------- */

.vv-badge {
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--3-xs);
	font-family: var(--wp--preset--font-family--karla);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	line-height: 1;
	padding: var(--wp--preset--spacing--3-xs) var(--wp--preset--spacing--xs);
	border-radius: var(--wp--custom--radius--pill);
}

.vv-badge--in-stock {
	color: var(--wp--preset--color--in-stock-text);
	background: var(--wp--preset--color--in-stock-bg);
}

.vv-badge--low-stock {
	color: var(--wp--preset--color--low-stock-text);
	background: var(--wp--preset--color--low-stock-bg);
	/* R7: anchors the sonar-ping rings (motion.css) — scoped to this one
	   state only, not the shared .vv-badge rule. */
	position: relative;
}

/* R7: "New this week" (real post_date, <= 7 days old — vv/new-badge). */
.vv-badge--new {
	color: var(--wp--preset--color--new-badge-text);
	background: var(--wp--preset--color--new-badge-bg);
}

.vv-badge--on-request {
	color: var(--wp--preset--color--on-request-text);
	background: var(--wp--preset--color--on-request-bg);
}

.vv-badge--sold {
	color: var(--wp--preset--color--sand-700);
	background: var(--wp--preset--color--sand-100);
}

/* Out of stock reuses the same neutral treatment as "sold" — a plain,
   unalarmed state, not an error. */
.vv-badge--out-of-stock {
	color: var(--wp--preset--color--sand-700);
	background: var(--wp--preset--color--sand-100);
}

/* ---------- Notify-me capture (out-of-stock state, brief §5.5) ---------- */

.vv-notify-me {
	margin-top: var(--wp--preset--spacing--xs);
}

.vv-notify-me__intro {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--muted-text);
	margin: 0 0 var(--wp--preset--spacing--3-xs);
}

.vv-notify-me__row {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--3-xs);
}

/* The One of One waitlist adds a name box to the same row; without the text-input
   selector it kept the browser's own square, small-print styling beside the pill email box. */
.vv-notify-me__row input[type="email"],
.vv-notify-me__row input[type="text"] {
	flex: 1 1 12rem;
	min-height: 44px;
	border: 1px solid var(--wp--preset--color--card-border);
	border-radius: var(--wp--custom--radius--pill);
	padding-inline: var(--wp--preset--spacing--sm);
	font-family: var(--wp--preset--font-family--karla);
	font-size: 1rem; /* 16px, so phones do not zoom in on focus */
}

.vv-notify-me__hp {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.vv-notify-me__status {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--forest-700);
	margin: var(--wp--preset--spacing--3-xs) 0 0;
}

/* A plant with options: its "tell me when this option is back" form is in the page from the start and shown by notify-me-options.js. */
.vv-notify-me[hidden] {
	display: none !important;
}

.vv-notify-me--option {
	margin-top: var(--wp--preset--spacing--sm);
	padding: var(--wp--preset--spacing--sm);
	border: 1px solid var(--wp--preset--color--card-border);
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--preset--color--card-background);
}

/* ---------- Pages the links in our emails open (unsubscribe, confirm a subscription) ---------- */

.vv-public-page__main {
	padding-block: var(--wp--custom--spacing--section-md);
	padding-inline: var(--wp--preset--spacing--sm);
}

.vv-public-page__card {
	max-width: 34rem;
	margin-inline: auto;
	padding: var(--wp--preset--spacing--lg);
	background: var(--wp--preset--color--card-background);
	border: 1px solid var(--wp--preset--color--card-border);
	border-radius: var(--wp--custom--radius--lg);
	box-shadow: var(--wp--preset--shadow--soft-md);
}

.vv-public-page__heading {
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: var(--wp--preset--font-size--h-2);
	margin: 0 0 var(--wp--preset--spacing--sm);
}

.vv-public-page__note {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--muted-text);
}

/* ---------- Care icon row (brand guide §5, §9.1) ---------- */

.vv-care-icons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--wp--preset--spacing--xs);
	margin-block: var(--wp--preset--spacing--xs);
	color: var(--vv-category-accent, var(--wp--custom--category-accent--default));
}

.vv-care-icons__item {
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--3-xs);
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--muted-text);
}

.vv-icon {
	width: 1.25rem;
	height: 1.25rem;
	color: var(--wp--preset--color--forest-600);
	stroke-width: var(--wp--custom--icon--stroke);
	flex-shrink: 0;
}

/* ---------- Product card (brand guide §9.1) ---------- */

.vv-product-card {
	background: var(--wp--preset--color--card-background);
	border: 1px solid var(--wp--preset--color--card-border);
	border-radius: var(--wp--custom--radius--lg);
	box-shadow: var(--wp--preset--shadow--soft-md);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow var(--wp--custom--motion--micro-duration) var(--wp--custom--motion--entrance-ease);
}

@media (hover: hover) {
	.vv-product-card:hover,
	.vv-product-card:focus-within {
		box-shadow: var(--wp--preset--shadow--soft-lg);
	}

	.vv-product-card:hover .vv-product-card__image img,
	.vv-product-card:focus-within .vv-product-card__image img {
		transform: scale(1.02);
	}
}

.vv-product-card__image {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--wp--preset--color--cream-100);
}

.vv-product-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--wp--custom--motion--micro-duration) ease-out;
}

.vv-product-card__badge {
	position: absolute;
	top: var(--wp--preset--spacing--xs);
	left: var(--wp--preset--spacing--xs);
	transform: translateY(8px);
}

.vv-product-card__body {
	padding: var(--wp--preset--spacing--sm);
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

@media (min-width: 782px) {
	.vv-product-card__body {
		padding: var(--wp--preset--spacing--md);
	}
}

.vv-product-card__name {
	font-family: var(--wp--preset--font-family--karla);
	font-size: var(--wp--preset--font-size--h-4);
	font-weight: 700;
	color: var(--wp--preset--color--forest-900);
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.vv-product-card__botanical {
	font-family: var(--wp--preset--font-family--karla);
	font-style: italic;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--sand-600);
	margin: var(--wp--preset--spacing--3-xs) 0 0;
}

.vv-product-card__price {
	font-family: var(--wp--preset--font-family--karla);
	font-weight: 700;
	font-size: var(--wp--preset--font-size--h-4);
	color: var(--wp--preset--color--price-text);
	margin-block-start: auto;
	padding-block-start: var(--wp--preset--spacing--xs);
}

/* ---------- Quantity stepper shell (visual layer — Phase 3/5 wire the logic) ---------- */

.vv-qty-stepper {
	display: inline-flex;
	align-items: stretch;
	border: 1px solid var(--wp--preset--color--card-border);
	border-radius: var(--wp--custom--radius--pill);
	overflow: hidden;
}

.vv-qty-stepper__btn {
	min-width: 44px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--wp--preset--color--cream-100);
	border: none;
	font-size: 1.25rem;
	line-height: 1;
	color: var(--wp--preset--color--forest-700);
	cursor: pointer;
}

.vv-qty-stepper__btn:hover {
	background: var(--wp--preset--color--cream-200);
}

.vv-qty-stepper__input {
	width: 3.25rem;
	min-height: 44px;
	border: none;
	border-inline: 1px solid var(--wp--preset--color--card-border);
	text-align: center;
	font-family: var(--wp--preset--font-family--karla);
	font-weight: 600;
	font-size: 1rem;
	color: var(--wp--preset--color--forest-900);
	background: var(--wp--preset--color--cream-50);
}

/* ---------- What-you'll-receive note (brief §1.6) ---------- */

.vv-receive-note {
	display: flex;
	gap: var(--wp--preset--spacing--xs);
	align-items: flex-start;
	background: var(--wp--preset--color--sage-50, var(--wp--preset--color--cream-100));
	border: 1px solid var(--wp--preset--color--card-border);
	border-radius: var(--wp--custom--radius--md);
	padding: var(--wp--preset--spacing--sm);
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--forest-800);
}

/* ---------- Button system (R3.4) ----------
 * theme.json sets the default (fill/primary) and outline (secondary)
 * colour/type/radius via block styles + variations — that covers the
 * static look. Hover, focus-visible, active and disabled states can't be
 * expressed in theme.json (it has no :active/:disabled/:focus-visible
 * concept), so they live here, applied to every button-shaped control:
 * core/button's own markup, the header CTA it renders through, and the
 * plain .vv-btn utility for controls that aren't block buttons at all.
 */

.wp-block-button__link,
.wp-element-button,
.vv-btn {
	min-height: 44px;
	padding-inline: var(--wp--preset--spacing--md);
	/* R7: buttons were previously flat with zero shadow anywhere — a
	   deliberate lever for a bolder, more inviting CTA. Discrete hover
	   state change, not a loop, so it's cheap regardless of the
	   transform/opacity-only motion rule. */
	box-shadow: var(--wp--preset--shadow--soft-md);
	transition: box-shadow var(--wp--custom--motion--micro-duration) ease, transform var(--wp--custom--motion--micro-duration) ease;
}

.wp-block-button__link:hover,
.wp-element-button:hover,
.vv-btn:hover {
	box-shadow: var(--wp--preset--shadow--soft-lg);
	transform: translateY(-2px);
}

.wp-block-button__link:focus-visible,
.wp-element-button:focus-visible,
.vv-btn:focus-visible {
	outline: 2px solid var(--wp--preset--color--terracotta-600);
	outline-offset: 2px;
}

.wp-block-button__link:active,
.wp-element-button:active,
.vv-btn:active {
	transform: scale(0.98);
}

.wp-block-button__link:disabled,
.wp-block-button__link[aria-disabled="true"],
.wp-element-button:disabled,
.wp-element-button[aria-disabled="true"],
.vv-btn:disabled,
.vv-btn[aria-disabled="true"] {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
	pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
	.wp-block-button__link:active,
	.wp-element-button:active,
	.vv-btn:active {
		transform: none;
	}

	/* R7: hover lift is still a motion effect even though it's
	   interaction-triggered, not autoplaying — kept consistent with every
	   other reduced-motion rule in this codebase. The shadow-swap on hover
	   stays (a static colour/paint change, not motion). */
	.wp-block-button__link:hover,
	.wp-element-button:hover,
	.vv-btn:hover {
		transform: none;
	}
}

/* Secondary — outline (theme.json's core/button "outline" variation sets
   the resting colours; the states below round it out). */
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--wp--preset--color--terracotta-50, var(--wp--preset--color--cream-100));
}

.wp-block-button.is-style-outline .wp-block-button__link:active {
	background: var(--wp--preset--color--terracotta-100, var(--wp--preset--color--cream-200));
}

/* Tertiary — text-only, registered as the "vv-text" core/button style
   (functions.php\register_block_style()). No fill, no border — an
   underline carries the affordance, same restrained hover language as
   the nav links above. */
.wp-block-button.is-style-vv-text .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--heading-text);
	padding-inline: var(--wp--preset--spacing--2-xs);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.wp-block-button.is-style-vv-text .wp-block-button__link:hover {
	color: var(--wp--preset--color--terracotta-600);
}

.vv-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--wp--preset--spacing--3-xs);
	border-radius: var(--wp--custom--radius--pill);
	font-family: var(--wp--preset--font-family--karla);
	font-size: var(--wp--preset--font-size--button);
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	/* R7: box-shadow/transform added here too — this rule matches .vv-btn
	   at the same specificity as the earlier shared button-state block and
	   comes later in source order, so without these two properties here
	   .vv-btn's own hover shadow/lift would snap instantly instead of
	   easing, while plain wp-element-button controls animate smoothly. */
	transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease, box-shadow var(--wp--custom--motion--micro-duration) ease, transform var(--wp--custom--motion--micro-duration) ease;
}

.vv-btn--primary {
	background: var(--wp--preset--color--button-primary);
	color: var(--wp--preset--color--button-primary-text);
	border: 2px solid var(--wp--preset--color--button-primary);
}

.vv-btn--primary:hover {
	background: var(--wp--preset--color--terracotta-700);
	border-color: var(--wp--preset--color--terracotta-700);
}

.vv-btn--secondary {
	background: transparent;
	color: var(--wp--preset--color--button-primary);
	border: 2px solid var(--wp--preset--color--button-primary);
}

.vv-btn--secondary:hover {
	background: var(--wp--preset--color--terracotta-50, var(--wp--preset--color--cream-100));
}

.vv-btn--tertiary {
	background: transparent;
	color: var(--wp--preset--color--heading-text);
	border: 2px solid transparent;
	padding-inline: var(--wp--preset--spacing--2-xs);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.vv-btn--tertiary:hover {
	color: var(--wp--preset--color--terracotta-600);
}

/* ---------- Header (R3.4 — rebuilt, not patched) ---------- */

.vv-announcement-bar a {
	color: var(--wp--preset--color--cream-50);
	text-decoration: underline;
}

/*
 * Resting height: padding-block (2×) + a 44px content row (icon-link/
 * toggle touch targets are the tallest element) = 60px mobile, 76px
 * desktop — inside the 60–64px / 72–80px spec. `--vv-header-logo-scale`
 * and `--vv-header-pad-block` are the two properties the scroll-shrink
 * keyframes below (and their no-animation-timeline fallback) drive.
 *
 * No `filter`/`backdrop-filter`/`transform` here, ever — any of those
 * establish a CSS containing block, which traps the mobile menu panel's
 * and the search overlay's `position: fixed` (both are DOM descendants
 * of this header) inside the header's own box instead of the viewport.
 * Caught live: the mobile panel rendered 88px tall instead of full-height.
 */
.vv-site-header {
	--vv-header-pad-block: var(--wp--preset--spacing--2-xs);
	--vv-header-logo-scale: 1;
	padding-block: var(--vv-header-pad-block);
	padding-inline: var(--wp--preset--spacing--sm);
	transition: padding-block 200ms ease;
}

@media (min-width: 782px) {
	.vv-site-header {
		--vv-header-pad-block: var(--wp--preset--spacing--sm);
	}
}

.vv-site-header .wp-block-site-logo img,
.vv-site-header .vv-header-mark {
	transform: scale(var(--vv-header-logo-scale));
	transform-origin: left center;
	transition: transform 200ms ease;
}

/* Scroll-driven shrink — native, compositor-only, zero JavaScript on the
   ~84% of browsers that support both animation-timeline and
   animation-range (the animation-range clause specifically excludes the
   partial-support tier). assets/js/header-scroll.js provides the
   equivalent for everything else, entirely outside this @supports block. */
@supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
	.vv-site-header {
		animation: vv-header-condense linear forwards;
		animation-timeline: scroll(root);
		animation-range: 0 160px;
	}

	@keyframes vv-header-condense {
		from {
			--vv-header-pad-block: var(--wp--preset--spacing--2-xs);
			--vv-header-logo-scale: 1;
		}
		to {
			--vv-header-pad-block: var(--wp--preset--spacing--3-xs);
			--vv-header-logo-scale: 0.88;
		}
	}

	@media (min-width: 782px) {
		@keyframes vv-header-condense {
			from {
				--vv-header-pad-block: var(--wp--preset--spacing--sm);
				--vv-header-logo-scale: 1;
			}
			to {
				--vv-header-pad-block: var(--wp--preset--spacing--3-xs);
				--vv-header-logo-scale: 0.82;
			}
		}
	}
}

/* JS fallback class (assets/js/header-scroll.js) — only ever attached when
   the @supports test above fails, so the two mechanisms never compete. */
.vv-site-header.vv-header--scrolled {
	--vv-header-pad-block: var(--wp--preset--spacing--3-xs);
	--vv-header-logo-scale: 0.85;
}

@media (prefers-reduced-motion: reduce) {
	.vv-site-header {
		animation: none !important;
		transition: none;
	}
}

.vv-header-right {
	gap: var(--wp--preset--spacing--md);
	align-items: center;
}

.vv-header-actions {
	gap: var(--wp--preset--spacing--2-xs) !important;
	align-items: center;
}

/* The header CTA needs real room (label + generous padding) to sit
   alongside search, cart and the nav toggle without wrapping the header
   to a second row at 320px — the exact H3 bug. Decision (documented in
   PROGRESS.md): quiet it to tablet/desktop only; the same destination is
   always one tap away via the nav on mobile. */
.vv-header-actions .wp-block-buttons {
	display: none;
}

@media (min-width: 782px) {
	.vv-header-actions .wp-block-buttons {
		display: flex;
	}
}

.vv-header-icon-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	color: var(--wp--preset--color--forest-700);
	background: none;
	border: none;
	border-radius: var(--wp--custom--radius--pill);
	font: inherit;
	cursor: pointer;
	transition: background-color 120ms ease, color 120ms ease;
}

@media (hover: hover) {
	.vv-header-icon-link:hover {
		color: var(--wp--preset--color--terracotta-600);
		background: var(--wp--preset--color--cream-100);
	}
}

.vv-header-icon-link:active {
	background: var(--wp--preset--color--cream-200);
}

.vv-header-cart__count {
	position: absolute;
	top: 4px;
	right: 4px;
	min-width: 1.1rem;
	height: 1.1rem;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--terracotta-600);
	color: var(--wp--preset--color--button-primary-text);
	font-size: 0.6875rem;
	font-weight: 700;
	line-height: 1.1rem;
	text-align: center;
	padding-inline: 3px;
}

.vv-mini-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--sm);
}

/* ---------- Nav dropdown — "Shop" (R3.4: owner-managed taxonomy) ---------- */

.vv-site-header .wp-block-navigation-item__content {
	transition: color 120ms ease;
}

@media (hover: hover) {
	.vv-site-header .wp-block-navigation-item__content:hover {
		color: var(--wp--preset--color--terracotta-600);
		text-decoration: underline;
		text-underline-offset: 0.2em;
	}
}

.vv-site-header .wp-block-navigation__submenu-container {
	background: var(--wp--preset--color--card-background);
	border: 1px solid var(--wp--preset--color--card-border);
	border-radius: var(--wp--custom--radius--md);
	box-shadow: var(--wp--preset--shadow--soft-md);
	padding: var(--wp--preset--spacing--2-xs);
	min-width: 14rem;
}

.vv-site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: var(--wp--preset--spacing--2-xs) var(--wp--preset--spacing--xs);
	border-radius: var(--wp--custom--radius--sm);
}

@media (hover: hover) {
	.vv-site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
		background: var(--wp--preset--color--cream-100);
		text-decoration: none;
	}
}

/* Categories fill in from the owner-managed taxonomy at whatever count it
   currently has (brief: never hardcode); a two-column grid once there are
   enough of them reads as a considered dropdown rather than a long list. */
@media (min-width: 480px) {
	.vv-site-header .wp-block-navigation__submenu-container:has(.vv-shop-nav-menu__item) {
		display: grid;
		grid-template-columns: repeat(2, minmax(10rem, 1fr));
		gap: 0 var(--wp--preset--spacing--2-xs);
		min-width: 22rem;
	}
}

/* ---------- Search overlay (R3.4) ---------- */

.vv-search-overlay {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: flex-start;
	justify-content: center;
}

.vv-search-overlay[hidden] {
	display: none;
}

.vv-search-overlay__scrim {
	position: absolute;
	inset: 0;
	background: var(--wp--preset--color--forest-900);
	opacity: 0.5;
}

.vv-search-overlay__panel {
	position: relative;
	width: min(100% - 2rem, 40rem);
	margin-block-start: min(18vh, 9rem);
	background: var(--wp--preset--color--card-background);
	border-radius: var(--wp--custom--radius--lg);
	box-shadow: var(--wp--preset--shadow--soft-lg);
	padding: var(--wp--preset--spacing--md);
	opacity: 0;
	transform: translateY(-12px);
	transition: opacity 180ms cubic-bezier(0.16, 1, 0.3, 1), transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.vv-search-overlay.is-open .vv-search-overlay__panel {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	.vv-search-overlay__panel {
		transition: opacity 1ms linear;
		transform: none;
	}
}

.vv-search-overlay__form {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--xs);
	color: var(--wp--preset--color--muted-text);
}

.vv-search-overlay__input {
	flex: 1 1 auto;
	min-height: 44px;
	border: none;
	background: transparent;
	font-family: var(--wp--preset--font-family--karla);
	font-size: var(--wp--preset--font-size--h-4);
	color: var(--wp--preset--color--forest-900);
}

.vv-search-overlay__input:focus {
	outline: none;
}

.vv-search-overlay__submit {
	min-height: 44px;
	padding-inline: var(--wp--preset--spacing--sm);
	background: var(--wp--preset--color--button-primary);
	color: var(--wp--preset--color--button-primary-text);
	border: none;
	border-radius: var(--wp--custom--radius--pill);
	font-family: var(--wp--preset--font-family--karla);
	font-weight: 600;
	cursor: pointer;
	transition: background-color 120ms ease;
}

.vv-search-overlay__submit:hover {
	background: var(--wp--preset--color--terracotta-700);
}

.vv-search-overlay__close {
	position: absolute;
	top: var(--wp--preset--spacing--xs);
	right: var(--wp--preset--spacing--xs);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	background: none;
	border: none;
	border-radius: var(--wp--custom--radius--pill);
	color: var(--wp--preset--color--muted-text);
	cursor: pointer;
	transition: background-color 120ms ease, color 120ms ease;
}

.vv-search-overlay__close:hover {
	background: var(--wp--preset--color--cream-100);
	color: var(--wp--preset--color--forest-900);
}

/* ---------- Mobile menu — slide-in panel, not a full-screen list ---------- */

.vv-site-header .wp-block-navigation__responsive-container {
	background: var(--wp--preset--color--cream-50);
}

.vv-site-header .wp-block-navigation__responsive-container.is-menu-open {
	position: fixed;
	inset-block: 0;
	inset-inline-end: 0;
	inset-inline-start: auto;
	z-index: 150;
	width: min(100%, 22rem);
	overflow-y: auto;
	padding: var(--wp--preset--spacing--2-xl) var(--wp--preset--spacing--md) var(--wp--preset--spacing--md);
	transform: translateX(0);
	animation: vv-mobile-panel-in 240ms cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: var(--wp--preset--shadow--soft-lg);
}

@keyframes vv-mobile-panel-in {
	from { transform: translateX(100%); }
	to { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
	.vv-site-header .wp-block-navigation__responsive-container.is-menu-open {
		animation: none;
	}
}

/*
 * `.wp-block-navigation__responsive-container` is the SAME markup at every
 * viewport — core just displays it inline at wide widths and toggles it
 * into the overlay via `.is-menu-open` at narrow ones. Every rule below
 * that shouldn't also apply to the always-visible desktop nav row must be
 * scoped under `.is-menu-open` — an early version of this rebuild that
 * omitted that scope leaked the larger mobile type and the reveal
 * animation into the permanent desktop nav (a 56px-tall row and an
 * unwanted fade-in on every page load), caught by live-inspecting the
 * rendered DOM rather than assumed from the class names alone.
 */
.vv-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
	opacity: 0;
	transform: translateY(8px);
	animation: vv-mobile-item-in 240ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Staggered reveal, capped so a long menu doesn't cascade slowly — same
   pattern as the page-level .vv-reveal-group stagger in motion.css. */
.vv-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:nth-child(1) { animation-delay: 60ms; }
.vv-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:nth-child(2) { animation-delay: 120ms; }
.vv-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:nth-child(3) { animation-delay: 180ms; }
.vv-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:nth-child(4) { animation-delay: 240ms; }
.vv-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:nth-child(5) { animation-delay: 300ms; }
.vv-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:nth-child(n+6) { animation-delay: 360ms; }

@keyframes vv-mobile-item-in {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
	.vv-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
		opacity: 1;
		transform: none;
		animation: none;
	}
}

.vv-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-size: var(--wp--preset--font-size--h-4);
	font-family: var(--wp--preset--font-family--fraunces);
	padding-block: var(--wp--preset--spacing--xs);
}

.vv-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	position: static;
	box-shadow: none;
	border: none;
	background: none;
	padding-inline-start: var(--wp--preset--spacing--sm);
}

.vv-site-header .wp-block-navigation__responsive-container-close,
.vv-site-header .wp-block-navigation__responsive-container-open {
	min-width: 44px;
	min-height: 44px;
}

/* ---------- Policy pages ---------- */

/* "Last updated: …" — added above the Privacy and Delivery policies by
   vv-core's PolicyPages, from the page's own modified date. */
.vv-policy-updated {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--muted-text);
	margin-block-end: var(--wp--preset--spacing--md);
}

/* ---------- Delivery & trust ---------- */

/* Same treatment as `.vv-site-footer a`: the global link colour is a dark
   green that all but disappears on this dark band. */
.vv-delivery-trust a {
	color: var(--wp--preset--color--dark-section-text);
}

/* The three points (`patterns/delivery-trust.php`): a plain titled list under
   hairlines. The browser's bullets and 40px indent are gone, and the titles
   take the band's light text colour — the global heading colour is the same
   dark green as the band itself, which made them all but invisible. */
.vv-delivery-trust__grid {
	align-items: flex-start;
	gap: var(--wp--preset--spacing--lg) var(--wp--preset--spacing--xl);
}

.vv-trust-list {
	list-style: none;
	margin: 0;
	padding: 0;
	flex: 1 1 28rem;
	max-width: 40rem;
}

.vv-trust-list__item {
	padding-block: var(--wp--preset--spacing--md);
	border-top: 1px solid var(--wp--preset--color--forest-700);
}

.vv-trust-list__item:first-child {
	padding-block-start: 0;
	border-top: 0;
}

.vv-trust-list__item:last-child {
	padding-block-end: 0;
}

.vv-trust-list__title {
	margin: 0 0 var(--wp--preset--spacing--3-xs);
	font-size: var(--wp--preset--font-size--h-4);
	color: var(--wp--preset--color--dark-section-text);
}

.vv-trust-list__body {
	margin: 0;
}

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

.vv-site-footer {
	background: var(--wp--preset--color--dark-section-bg);
	color: var(--wp--preset--color--dark-section-text);
}

.vv-footer-top {
	gap: var(--wp--preset--spacing--lg) var(--wp--preset--spacing--xl);
	align-items: flex-start;
}

.vv-footer-brand {
	flex: 0 0 auto;
}

.vv-footer-contact {
	flex: 0 1 14rem;
}

.vv-social-icons {
	gap: var(--wp--preset--spacing--2-xs);
	margin-block-end: var(--wp--preset--spacing--sm);
}

.vv-social-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	color: var(--wp--preset--color--sage-300);
	border: 1px solid var(--wp--preset--color--forest-700);
	border-radius: var(--wp--custom--radius--pill);
	transition: background-color 120ms ease, color 120ms ease;
}

.vv-social-icon__svg {
	width: 20px;
	height: 20px;
}

@media (hover: hover) {
	.vv-social-icon:hover {
		color: var(--wp--preset--color--cream-50);
		background: var(--wp--preset--color--forest-700);
	}
}

.vv-social-icon:active {
	background: var(--wp--preset--color--forest-600);
}

.vv-site-footer a {
	color: var(--wp--preset--color--dark-section-text);
}

.vv-site-footer .vv-section-header__heading,
.vv-footer-heading {
	font-family: var(--wp--preset--font-family--karla);
	font-size: var(--wp--preset--font-size--small);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	/* forest-700 on a light background by default — .vv-footer-heading is
	   reused outside the footer (patterns/contact.php, the homepage gifts
	   teaser) against light section backgrounds, where sage-300 (correct
	   inside the footer's own dark background, restored below) measured a
	   real 1.66:1 contrast ratio against WCAG AA's 4.5:1 minimum — found
	   live via axe-core, "First pieces coming soon" on the homepage. */
	color: var(--wp--preset--color--forest-700);
	margin-block-end: var(--wp--preset--spacing--sm);
}

.vv-site-footer .vv-section-header__heading,
.vv-site-footer .vv-footer-heading {
	color: var(--wp--preset--color--sage-300);
}

.vv-trust-badges {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--sm);
	align-items: center;
}

.vv-trust-badge {
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--3-xs);
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--cream-200);
	border: 1px solid var(--wp--preset--color--forest-700);
	border-radius: var(--wp--custom--radius--pill);
	padding: var(--wp--preset--spacing--3-xs) var(--wp--preset--spacing--sm);
}

.vv-newsletter-form {
	display: flex;
	gap: var(--wp--preset--spacing--2-xs);
	flex-wrap: wrap;
}

.vv-newsletter-form input[type="email"] {
	flex: 1 1 12rem;
	min-height: 44px;
	border-radius: var(--wp--custom--radius--pill);
	border: 1px solid var(--wp--preset--color--forest-600);
	background: var(--wp--preset--color--forest-800);
	color: var(--wp--preset--color--cream-50);
	padding-inline: var(--wp--preset--spacing--sm);
}

.vv-newsletter-form input[type="email"]::placeholder {
	color: var(--wp--preset--color--sage-300);
}

/* The consent line and the answer sit under the box, full width. */
.vv-newsletter-form__consent,
.vv-newsletter-form__status,
.vv-newsletter-form__captcha-note {
	flex: 1 0 100%;
	margin: 0;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.5;
	color: inherit;
}

.vv-newsletter-form__consent {
	opacity: 0.85;
}

.vv-newsletter-form__consent a,
.vv-newsletter-form__captcha-note a {
	color: inherit;
	text-decoration: underline;
}

.vv-newsletter-form__status:empty {
	display: none;
}

/* ---------- Blog post grid (index/archive) ---------- */

.vv-post-grid.wp-block-post-template {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--wp--preset--spacing--md);
	list-style: none;
	padding: 0;
}

@media (min-width: 600px) {
	.vv-post-grid.wp-block-post-template { grid-template-columns: repeat(3, 1fr); }
}

.vv-post-grid .wp-block-post-featured-image img {
	border-radius: var(--wp--custom--radius--lg);
	box-shadow: var(--wp--preset--shadow--soft-sm);
}

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

.vv-faq {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--xs);
	max-width: 42rem;
	margin-inline: auto;
}

.vv-faq-item {
	background: var(--wp--preset--color--card-background);
	border: 1px solid var(--wp--preset--color--card-border);
	border-radius: var(--wp--custom--radius--md);
	padding: var(--wp--preset--spacing--sm);
}

.vv-faq-item summary {
	font-family: var(--wp--preset--font-family--karla);
	font-weight: 700;
	color: var(--wp--preset--color--forest-900);
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.vv-faq-item summary::-webkit-details-marker {
	display: none;
}

.vv-faq-item summary::after {
	content: "+";
	font-size: 1.25rem;
	color: var(--wp--preset--color--terracotta-600);
	margin-inline-start: var(--wp--preset--spacing--sm);
}

.vv-faq-item[open] summary::after {
	content: "–";
}

.vv-faq-item p {
	margin: var(--wp--preset--spacing--xs) 0 0;
	color: var(--wp--preset--color--forest-800);
}

/* ---------- How It Works — numbered editorial timeline (R3.5) ----------
 * Deliberately not a row of three identical icon cards (the banned §R3.1
 * pattern) — a connecting rule ties the three steps together as one
 * sequence, oversized numerals carry the visual weight instead of icons,
 * and the steps sit flush-left rather than centred in equal boxes. */

.vv-how-it-works {
	background: var(--wp--preset--color--cream-100);
}

.vv-steps {
	list-style: none;
	margin: var(--wp--preset--spacing--xl) 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--wp--preset--spacing--xl);
	max-width: var(--wp--custom--container-width--wide);
	margin-inline: auto;
	position: relative;
}

@media (min-width: 782px) {
	.vv-steps {
		grid-template-columns: repeat(3, 1fr);
		gap: var(--wp--preset--spacing--lg);
		align-items: start;
	}

	/* The connecting rule — a single line running behind all three
	   numerals, making the sequence read as one flow rather than three
	   separate, identical units. */
	.vv-steps::before {
		content: "";
		position: absolute;
		inset-inline: 6%;
		top: 1.4rem;
		height: 2px;
		background: var(--wp--preset--color--sage-300);
		z-index: 0;
	}

	/* Deliberate asymmetry: the middle step sits slightly lower, breaking
	   the three columns out of a perfectly uniform row. */
	.vv-steps__item:nth-child(2) {
		margin-block-start: var(--wp--preset--spacing--lg);
	}
}

.vv-steps__item {
	position: relative;
	z-index: 1;
}

.vv-steps__num {
	display: block;
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: clamp(2.5rem, 1.8rem + 2.5vw, 3.5rem);
	font-weight: 600;
	line-height: 1;
	color: var(--wp--preset--color--terracotta-500);
	letter-spacing: -0.02em;
	margin-block-end: var(--wp--preset--spacing--xs);
}

/* The step's short name ("Browse & choose"), set like a section eyebrow
   but held close to the friendlier headline beneath it. */
.vv-steps__label {
	font-family: var(--wp--preset--font-family--karla);
	font-size: var(--wp--preset--font-size--eyebrow);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--wp--preset--color--sage-700);
	margin: 0 0 var(--wp--preset--spacing--3-xs);
}

.vv-steps__title {
	font-family: var(--wp--preset--font-family--karla);
	font-size: var(--wp--preset--font-size--h-4);
	color: var(--wp--preset--color--forest-900);
	margin: 0 0 var(--wp--preset--spacing--3-xs);
}

.vv-steps__body {
	color: var(--wp--preset--color--muted-text);
	max-width: 32ch;
	margin: 0;
}

/* ---------- Map ---------- */

.vv-map-frame {
	aspect-ratio: 16 / 9;
	border-radius: var(--wp--custom--radius--lg);
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--card-border);
}

.vv-map-frame__caption {
	font-size: var(--wp--preset--font-size--small);
	margin-block-start: var(--wp--preset--spacing--xs);
}

/* ---------- Care guide teasers ---------- */

.vv-care-guides {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--wp--preset--spacing--sm);
}

@media (min-width: 600px) {
	.vv-care-guides { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
	.vv-care-guides { grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; }

	/* Same editorial-variance treatment as the category showcase (R3.3) —
	   the first guide reads as the featured entry rather than a fourth
	   identical tile. */
	.vv-care-guide-card:first-child {
		grid-column: span 2;
		grid-row: span 2;
		display: flex;
		flex-direction: column;
		justify-content: center;
	}

	.vv-care-guide-card:first-child .vv-icon {
		width: 2.75rem;
		height: 2.75rem;
	}

	.vv-care-guide-card:first-child h3 {
		font-size: var(--wp--preset--font-size--h-3);
	}
}

.vv-care-guide-card {
	display: block;
	background: var(--wp--preset--color--card-background);
	border: 1px solid var(--wp--preset--color--card-border);
	border-radius: var(--wp--custom--radius--lg);
	box-shadow: var(--wp--preset--shadow--soft-sm);
	padding: var(--wp--preset--spacing--md);
	text-decoration: none;
	transition: box-shadow 200ms ease-out;
}

.vv-care-guide-card:hover {
	box-shadow: var(--wp--preset--shadow--soft-md);
}

.vv-care-guide-card .vv-icon {
	width: 2rem;
	height: 2rem;
	color: var(--wp--preset--color--sage-600);
}

.vv-care-guide-card h3 {
	font-size: var(--wp--preset--font-size--h-4);
	margin: var(--wp--preset--spacing--xs) 0 var(--wp--preset--spacing--3-xs);
}

.vv-care-guide-card p {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--muted-text);
	margin: 0;
}

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

.vv-testimonials {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--wp--preset--spacing--md);
}

@media (min-width: 782px) {
	.vv-testimonials { grid-template-columns: repeat(3, 1fr); }
}

.vv-testimonial {
	margin: 0;
	background: var(--wp--preset--color--card-background);
	border: 1px solid var(--wp--preset--color--card-border);
	border-radius: var(--wp--custom--radius--lg);
	box-shadow: var(--wp--preset--shadow--soft-sm);
	padding: var(--wp--preset--spacing--md);
}

.vv-testimonial p {
	font-family: var(--wp--preset--font-family--fraunces);
	font-style: italic;
	font-size: var(--wp--preset--font-size--h-4);
	color: var(--wp--preset--color--forest-800);
	margin: 0 0 var(--wp--preset--spacing--xs);
}

.vv-testimonial footer {
	font-family: var(--wp--preset--font-family--karla);
	font-weight: 700;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--sand-600);
}

/* ---------- Gallery grid ---------- */

.vv-gallery-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--wp--preset--spacing--sm);
}

@media (min-width: 782px) {
	.vv-gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

.vv-gallery-grid figure {
	margin: 0;
	border-radius: var(--wp--custom--radius--md);
	overflow: hidden;
	box-shadow: var(--wp--preset--shadow--soft-sm);
}

.vv-gallery-grid img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

/* ---------- Empty / loading states ---------- */

.vv-empty-state {
	text-align: center;
	padding: var(--wp--preset--spacing--2-xl) var(--wp--preset--spacing--sm);
	color: var(--wp--preset--color--muted-text);
}

.vv-empty-state .vv-illustration {
	width: 4rem;
	height: 4rem;
	margin-inline: auto;
	margin-block-end: var(--wp--preset--spacing--sm);
	color: var(--wp--preset--color--sage-500);
}

.vv-loading-state {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--wp--preset--spacing--lg);
}

.vv-loading-state .vv-illustration {
	width: 2.5rem;
	height: 2.5rem;
	color: var(--wp--preset--color--sage-600);
}

/* Phase 7 — Dev Panel-driven header/footer/section controls. */

.vv-announcement-bar__dismiss {
	position: absolute;
	right: var(--wp--preset--spacing--sm);
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: inherit;
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
	padding: 0.25rem 0.5rem;
}

.vv-announcement-bar--dismissible {
	position: relative;
}

.vv-announcement-bar.vv-announcement-bar--hidden {
	display: none;
}

body.vv-header--no-sticky .vv-site-header {
	position: static !important;
}

.vv-site-logo-variant-link {
	display: none;
}

.vv-site-logo--mobile {
	height: 2.25rem;
	width: auto;
	display: block;
}

@media (max-width: 480px) {
	.vv-site-header .wp-block-site-logo:has(+ .vv-site-logo-variant-link) {
		display: none;
	}

	.vv-site-header .vv-site-logo-variant-link {
		display: block;
	}
}

.vv-footer-links,
.vv-site-footer .wc-block-product-categories-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--3-xs);
}

/* The footer's "Shop by category" list is WooCommerce's own block, which
   brings bullets and its own indent; sub-categories step in under their parent. */
.vv-site-footer .wc-block-product-categories-list .wc-block-product-categories-list {
	margin-block-start: var(--wp--preset--spacing--3-xs);
	padding-inline-start: var(--wp--preset--spacing--sm);
}

.vv-footer-legal-links__consent {
	font: inherit;
	color: inherit;
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.vv-footer-legal-links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--sm);
}

.vv-section-instance {
	border-radius: var(--wp--custom--radius--md, 0);
}

.vv-consent-banner {
	position: fixed;
	left: var(--wp--preset--spacing--sm);
	right: var(--wp--preset--spacing--sm);
	bottom: var(--wp--preset--spacing--sm);
	z-index: 100;
	max-width: 28rem;
	margin-inline: auto;
	background: var(--wp--preset--color--cream-50);
	border: 1px solid var(--wp--preset--color--card-border, var(--wp--preset--color--sand-300));
	border-radius: var(--wp--custom--radius--lg, 0.75rem);
	box-shadow: var(--wp--preset--shadow--soft-md);
	padding: var(--wp--preset--spacing--sm);
}

.vv-consent-banner__categories {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--sm);
	margin-block: var(--wp--preset--spacing--xs);
}

.vv-consent-banner__categories label {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	font-size: var(--wp--preset--font-size--small);
}

.vv-consent-banner__categories input {
	accent-color: var(--wp--preset--color--forest-700);
}

.vv-consent-banner__actions {
	display: flex;
	gap: var(--wp--preset--spacing--xs);
	flex-wrap: wrap;
}

.vv-legal-review-banner {
	background: var(--wp--preset--color--terracotta-50, #fbe9e2);
	border: 1px solid var(--wp--preset--color--terracotta-500);
	border-radius: var(--wp--custom--radius--md, 0.5rem);
	padding: var(--wp--preset--spacing--sm);
}

/* Phase 10 — Gifts (One of One) landing page, "Sold" archive, care articles. */

.vv-one-of-one-badge {
	color: var(--wp--preset--color--dusty-pink-700);
	background: var(--wp--preset--color--dusty-pink-100);
}

.vv-gifts-landing__intro {
	text-align: center;
	max-width: 40rem;
	margin-inline: auto;
	padding-block-end: var(--wp--preset--spacing--xl);
}

.vv-gifts-landing__lead {
	font-size: var(--wp--preset--font-size--medium);
	color: var(--wp--preset--color--muted-text);
}

.vv-gifts-landing__points {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--wp--preset--spacing--md);
	margin-block-start: var(--wp--preset--spacing--lg);
	text-align: start;
}

@media (min-width: 782px) {
	.vv-gifts-landing__points { grid-template-columns: repeat(3, 1fr); }
}

.vv-gifts-landing__point {
	background: var(--wp--preset--color--dusty-pink-50);
	border-radius: var(--wp--custom--radius--lg);
	padding: var(--wp--preset--spacing--md);
}

.vv-gifts-landing__point .vv-illustration {
	width: 2rem;
	height: 2rem;
	color: var(--wp--preset--color--dusty-pink-600);
	margin-block-end: var(--wp--preset--spacing--xs);
}

.vv-gifts-landing__point h3 {
	font-family: var(--wp--preset--font-family--karla);
	font-size: var(--wp--preset--font-size--h-4);
	margin: 0 0 var(--wp--preset--spacing--3-xs);
}

.vv-gifts-landing__point p {
	color: var(--wp--preset--color--muted-text);
	margin: 0;
}

.vv-gifts-landing__coming-soon {
	text-align: center;
	max-width: 32rem;
	margin-inline: auto;
	padding: var(--wp--preset--spacing--xl) var(--wp--preset--spacing--md);
	background: var(--wp--preset--color--cream-100);
	border-radius: var(--wp--custom--radius--lg);
}

.vv-gifts-waitlist {
	margin-top: var(--wp--preset--spacing--xs);
	max-width: 26rem;
	margin-inline: auto;
	text-align: start;
}

.vv-gifts-landing__live,
.vv-gifts-landing__archive {
	margin-block-start: var(--wp--preset--spacing--2-xl);
}

.vv-gifts-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--wp--preset--spacing--md);
	margin-block-start: var(--wp--preset--spacing--md);
}

@media (min-width: 782px) {
	.vv-gifts-grid { grid-template-columns: repeat(4, 1fr); }
}

.vv-gifts-grid .vv-product-card {
	text-decoration: none;
	color: inherit;
}

.vv-product-card--sold .vv-product-card__image img {
	filter: grayscale(35%);
	opacity: 0.85;
}

/* ---------- Care guide article body ---------- */

.vv-care-article {
	max-width: 42rem;
	margin-inline: auto;
}

.vv-care-article__meta {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--xs);
	color: var(--wp--preset--color--muted-text);
	font-size: var(--wp--preset--font-size--small);
	margin-block-end: var(--wp--preset--spacing--md);
}

.vv-care-article__meta .vv-icon {
	width: 1.5rem;
	height: 1.5rem;
	color: var(--wp--preset--color--forest-600);
}

.vv-care-article p {
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.7;
}

.vv-care-article h2 {
	margin-block-start: var(--wp--preset--spacing--xl);
}

/* ---------- Care guide index grid ---------- */

.vv-care-guide-index {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--wp--preset--spacing--md);
	margin-block-start: var(--wp--preset--spacing--lg);
}

@media (min-width: 600px) {
	.vv-care-guide-index { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
	.vv-care-guide-index { grid-template-columns: repeat(3, 1fr); }
}
