/**
 * Holistic Hives: the site's own styles. Loads after all of Presstwood Base's CSS.
 *
 * The layer line must match Base's exactly. Put section and pattern rules in
 * @layer blocks, and site-wide component changes in @layer components.
 */
@layer reset, tokens, base, layout, components, blocks, utilities;

@layer tokens {
	:root {
		/* Floral White for light sections, the warm neutral (the page colour a
		   shade deeper) for alternate ones, and a dark Vintage Grape for dark
		   ones. White is only for the header and cards, and green is never a
		   section background. */
		--bg-light: var(--wp--preset--color--floral-white);
		--bg-light-alt: var(--bg-warm-neutral);
		--bg-brand: var(--base); /* Vintage Grape itself, so dark sections read as the brand, not black */

		/* Status colours, toned to the palette: success a muted sage, warning
		   from honey, error from the Botanicals rose, info a dusty blue.
		   Each text colour passes AA on its own background and on the page. */
		--success: light-dark(#3d5f35, #a9c98f);
		--warning: light-dark(#7f5410, #e3c27f);
		--error: light-dark(#9b3038, #eea3a6);
		--info: light-dark(#3b5674, #a8bfd8);
		--success-bg: light-dark(#e9efdc, color-mix(in oklch, #a9c98f 14%, transparent));
		--warning-bg: light-dark(#f7ead0, color-mix(in oklch, #e3c27f 14%, transparent));
		--error-bg: light-dark(#f6e1df, color-mix(in oklch, #eea3a6 14%, transparent));
		--info-bg: light-dark(#e4eaf0, color-mix(in oklch, #a8bfd8 14%, transparent));

		/* One family, like the labels. Kepler holds its own at display sizes,
		   so headings stay regular weight and get their presence from size. */
		--h1: clamp(2.75rem, 1.9rem + 3.75vw, 5.25rem);
		--h2: clamp(2.125rem, 1.6rem + 2.3vw, 3.5rem);
		--h3: clamp(1.625rem, 1.35rem + 1.2vw, 2.375rem);
		--h4: clamp(1.375rem, 1.2rem + 0.75vw, 1.75rem);
		--h5: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem);
		--h6: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);
		--heading-weight: 400;
		--weight-medium: 400;
		--weight-bold: 600;
		--heading-tracking: -0.01em;
		--heading-line-height: 1.08;
		--text-line-height: 1.55;
		--text-max-width: 60ch;

		/* Square corners, like a wine label. */
		--radius: 6px;
		--radius-s: 4px;

		/* Cards and raised panels sit in white on the floral page. Base would
		   tint them from the base colour, which turns Vintage Grape into a
		   flat mid grey. */
		--bg-surface: light-dark(var(--white), var(--base-d-3));

		/* Kepler for reading, Usual for the things you click: buttons, menus
		   and small labels. */
		--font-ui: var(--wp--preset--font-family--ui);

		/* Buttons: small spaced capitals in Usual, with a hairline border. */
		--btn-font-family: var(--font-ui);
		--btn-font-size: var(--text-xs);
		--btn-padding-block: 0.95em;
		--btn-padding-inline: 2.25em;
		--btn-border-width: 1px;

		/* Softened slightly from the square label corners, with Vintage Grape
		   text on Honey (7.3:1). The hover is a slightly lighter honey, which
		   only raises the contrast. */
		--btn-radius: 4px;
		--on-primary: var(--base);
		--primary-hover: var(--primary-l-1);

		/* Collection colours, from the client's label colour guide. Each product
		   line carries its own colour, the way a wine label does. Used as fills
		   and rules only, never as text. */
		--velvet: #f3d4a0;
		--artisan: #e9a967;
		--trail: #c9b48e;
		--botanicals: #eba3a8;

		/* Fine details, kept in one place so they stay consistent. */
		--tracking-caps: 0.14em; /* small spaced capitals: buttons, eyebrows */
		--tracking-ui: 0.02em; /* menu and small UI text */
		--rule-width: 2px; /* rules, and a text link's line on hover */
		--hairline: 1px; /* a text link's line at rest */
		--collection-bar-width: 2.5rem;
		--header-icon-size: 1.875rem;
		--header-icon-stroke: 1.5; /* line weight of the header icons, close to the menu text */
		--header-icon-hit: clamp(2rem, 1.6rem + 1.5vw, 2.75rem); /* the tappable area around each icon, smaller on phones so all three fit */
		/* One header height for the whole site. The header is drawn at this
		   height, the first section under a transparent header is pushed down
		   by it, and same-page links stop just below it. */
		--header-height: 6.5rem;
		--notice-bar-height: 2.375rem; /* the shipping bar above the header */
		--scroll-offset: calc(var(--header-height) + var(--space-m));
		--underline-gap: 0.4em; /* space between a text link and its line, the same on every text link */
		--underline-offset: var(--underline-gap); /* the same gap where the line is a real underline (menus, footer) */
		--text-2xs: calc(var(--text-xs) * 0.85); /* small labels: card links */
		--text-3xs: calc(var(--text-xs) * 0.68); /* the smallest labels: badges on photos */
		--link-line-rest: var(--primary-l-2); /* a text link's line at rest, soft but visible */
		--link-line-hover: var(--primary); /* the same line on hover */
		--hero-shade-extra: 0.25; /* how much darker the hero shade is behind the words */
		--hero-shade-mid: 45%; /* where across the hero the shade eases off */
		--hero-shade-clear: 5%; /* the shade left on the far side */
		--hero-settle-scale: 1.06; /* how far the hero photo starts zoomed in */
		--hero-settle-time: 2.4s; /* how long it takes to settle */
		--card-zoom: 1.04; /* how far a card photo zooms on hover */
		--card-lift: -3px; /* how far a card or tile rises on hover */
		--carousel-columns: 4; /* products shown at once in the best sellers carousel, at most */
		--carousel-card-min: var(--card-min); /* narrowest a carousel card gets, so smaller screens show fewer */
		--bg-warm-neutral: color-mix(in srgb, var(--bg-light), var(--neutral) 8%); /* the page colour a shade deeper, no tint */
		--botanicals-tin-width: 26rem; /* the Bee Kind Botanicals tin */
		--search-width: 40rem; /* the search panel */
		--search-backdrop: 60%; /* how much of the page the search backdrop covers */
		/* Links and "brand colour as text" in Vintage Grape, not Base’s dark
		   amber (Honey darkened until it reads on the page). */
		--primary-text: light-dark(var(--base), var(--white));
		--link-color: var(--primary-text);
		--link-color-hover: light-dark(var(--base-l-2), var(--primary-l-4));
		--product-image-ratio: 1 / 1; /* product photos are square */
		--z-content: 1; /* a section's content, between bees behind and in front */
		--z-header: 100; /* the sticky header, the same as Base's */
		--card-image-ratio: 4 / 3; /* card photos, collections and products alike */
		--hex-ratio: 95.89 / 86.6; /* the rounded hexagon behind the benefit icons, wider than tall */
		--hex-size: 6.5rem; /* that hexagon's width */
		--hex-icon: 58%; /* the icon's width inside the hexagon */
		--icon-hex-bg: var(--white); /* the hexagon behind a benefit icon on a Floral White section */
		--quiz-icon-size: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); /* the icon on each Find your honey answer tile */
		--quiz-tile-ratio: 5 / 3; /* each answer tile, wider than tall */
		--quiz-progress-height: 0.5rem; /* the quiz's progress bar */
		--collection-wash: 0.3; /* how strongly each photo takes its collection colour */

		/* Bee motion (assets/js/bee-motion.js): Vintage Grape ink and body,
		   Honey stripes, white wings. */
		--hb-ink: var(--base);
		--hb-stripe: var(--primary);
		--hb-fill: var(--white);
		--hb-body: var(--base); /* the bee's body and head */
		--hb-wing: var(--white);
		--join-hive-width: 34rem;
		--header-shadow: 0 var(--space-2xs) var(--space-m) color-mix(in srgb, var(--base) 8%, transparent); /* the header once the page scrolls: soft and short */
		--split-image-ratio: 1 / 1; /* photos beside text on the content pages, all the same square */
		--banner-image-ratio: 21 / 9; /* the photo on each Our Process step, short and wide */
		--process-banner-height: 24rem; /* each Our Process banner, number and heading over its photo */
		--cart-badge-size: 1.125rem; /* the item count on the cart icon */
		--meter-bee-size: 2rem; /* the bee on the free shipping line */
		--tab-icon-size: 2.75rem; /* the icon above each product tab label */
		--btn-lift: var(--card-lift); /* buttons rise the same distance as cards */
		--btn-shadow: 0 1px 2px color-mix(in srgb, var(--base) 10%, transparent); /* a button at rest: barely there */
		--btn-shadow-hover: 0 var(--space-2xs) var(--space-m) color-mix(in srgb, var(--base) 18%, transparent); /* the same button lifted: a clear, soft shadow */
		--icon-color: oklch(from var(--base) 0.55 0.09 h); /* benefit icons: a lighter grape from Vintage Grape’s own hue. The palette’s tints of grape turn grey, so this keeps the purple. Floral White hexagon on warm neutral, white on Floral White. */
		--field-border: color-mix(in srgb, var(--base) 14%, var(--bg-light)); /* form fields and drop-downs: a soft warm line that sits into the page */
		--field-border-hover: var(--primary-l-2); /* the same line under the pointer */
		--field-border-focus: var(--primary); /* and when typing in it */
		--tile-shadow-hover: 0 var(--space-2xs) var(--space-s) color-mix(in srgb, var(--base) 6%, transparent); /* a tile lifted on hover: barely there */
		--select-arrow-size: var(--space-s); /* the chevron on a drop-down */
		--card-min: 15rem; /* narrowest a card gets in an auto grid */
		--card-min-s: 12rem; /* the same for small cards: beliefs, the account menu */
		--account-nav-max: 16rem; /* widest the My Account menu gets */
		--contact-icon-scale: 45%; /* the icon's width inside its Honey circle on the Contact page */
		--footer-sep-height: 1em; /* the line between Privacy Policy and Website Terms, as tall as the text */
		--btn-small-font-size: var(--text-2xs); /* the small button, for a secondary action beside other content */
		--btn-small-padding-block: 0.8em;
		--btn-small-padding-inline: 1.6em;
	}
}

@layer components {
	/* Pills are small UI, so they take Usual like the buttons. */
	.pill {
		font-family: var(--font-ui);
	}
}

@layer blocks {
	/* Logo or title, never both: when the header has a logo image, the text
	   title is hidden. The logo's alt text carries the site name. */
	.site-header__brand:has(.wp-block-site-logo img) .site-header__title {
		display: none;
	}

	/* Homepage header: clear over the hero on load, white once the page
	   scrolls. Base's overlay header is pinned in place; here the whole
	   template part stays sticky so the header follows the page down.
	   functions.php adds is-scrolled. */
	.wp-block-template-part.site-header--overlay {
		position: sticky;
		top: var(--wp-admin--admin-bar--height, 0px);
		z-index: var(--z-header);
	}

	.site-header--overlay .site-header {
		transition: background-color var(--duration-quick), color var(--duration-quick), box-shadow var(--duration-quick);
	}

	/* The first section under the transparent header adds the header's
	   height to its top padding, so the space above its content matches the
	   space below. */
	body:has(.site-header--overlay) .wp-block-post-content > .hero:first-child {
		padding-block-start: calc(var(--section-space-l) + var(--header-height));
	}

	/* The header is white on every page. Over the homepage hero it starts
	   clear (Base) and turns white once the page scrolls (below). */
	.site-header {
		background: var(--white);
	}

	.site-header--overlay:not(.is-scrolled) .site-header {
		background: transparent;
	}

	/* No line under the header. Once the page scrolls it lifts off the page
	   with a soft shadow instead, the same as the homepage. */
	.site-header {
		border-block-end: 0;
		transition: box-shadow var(--duration-quick);
	}

	.is-scrolled .site-header {
		box-shadow: var(--header-shadow);
	}

	.site-header--overlay.is-scrolled .site-header {
		background: var(--white);
		color: var(--text-color);
		color-scheme: light;
		box-shadow: var(--header-shadow);
	}

	.site-header--overlay.is-scrolled .wp-block-site-logo img {
		filter: none;
	}

	.site-header__nav {
		font-family: var(--font-ui);
		font-size: var(--text-xs);
		letter-spacing: var(--tracking-ui);
	}

	/* Shipping bar: small Usual text in Vintage Grape on the pale green
	   accent. Safari tints its toolbar from this colour too. */
	/* The link in the bar matches the message exactly: same font, size and
	   case, with no spaced capitals. Buttons read their case and spacing from
	   these two variables (theme.json), so this changes only the bar's link. */
	.notice-bar {
		--btn-font-size: var(--text-2xs);
		--btn-case: none;
		--btn-tracking: normal;
		background: var(--accent);
		color: var(--base);
		font-family: var(--font-ui);
		font-size: var(--text-2xs);
		padding-block: 0;
	}

	/* The bar is drawn at one fixed height so the header can stick just
	   below it: the header part sticks with the bar pushed up out of view,
	   so the bar scrolls away and the header stays. Only when the bar is
	   showing; without it the header sticks at the top as normal. */
	.notice-bar__inner {
		align-items: center;
		min-height: var(--notice-bar-height);
	}

	.wp-block-template-part:has(> .notice-bar) {
		top: calc(var(--wp-admin--admin-bar--height, 0px) - var(--notice-bar-height));
	}

	.notice-bar .wp-block-button__link {
		color: inherit;
		text-decoration: underline;
		text-underline-offset: var(--underline-offset);
	}

	.site-header__inner--centred .site-header__actions {
		justify-self: end;
	}

	/* Search: the icon in the header opens a search panel over the page
	   (the browser's own dialog, so focus moves into it and Escape closes
	   it). The script in functions.php opens and closes it. */
	.site-search__open,
	.site-search__close {
		display: inline-grid;
		place-items: center;
		width: var(--header-icon-hit);
		height: var(--header-icon-hit);
		padding: 0;
		border: 0;
		background: none;
		color: var(--heading-color);
		cursor: pointer;
	}

	.site-search__open svg,
	.site-search__close svg {
		width: var(--header-icon-size);
		height: var(--header-icon-size);
		fill: currentColor;
	}

	/* Placed with inset and translate rather than auto margins: core clears
	   the margins of everything in the header row, outside any layer. */
	.site-search {
		inset: var(--space-xxl) auto auto 50%;
		translate: -50% 0;
		width: min(var(--search-width), 100% - var(--gutter) * 2);
		padding: var(--space-l);
		border: 0;
		border-radius: var(--radius);
		background: var(--white);
		color: var(--text-color);
		box-shadow: var(--shadow-l);
	}

	.site-search::backdrop {
		background: color-mix(in srgb, var(--base) var(--search-backdrop), transparent);
	}

	.site-search__close {
		position: absolute;
		inset-block-start: var(--space-2xs);
		inset-inline-end: var(--space-2xs);
	}

	.site-search__label {
		display: block;
		margin-block-end: var(--space-s);
		font-family: var(--font-ui);
		font-size: var(--text-2xs);
		letter-spacing: var(--tracking-caps);
		text-transform: uppercase;
		color: var(--text-muted);
	}

	.site-search__row {
		display: flex;
		align-items: center;
		gap: var(--space-s);
	}

	.site-search__field {
		flex: 1;
		min-width: 0;
		padding-block: var(--space-2xs);
		border: 0;
		border-block-end: var(--hairline) solid var(--border-color-strong);
		background: none;
		font-family: var(--font-heading);
		font-size: var(--h4);
		color: var(--heading-color);
	}

	@media (prefers-reduced-motion: no-preference) {
		.site-search[open] {
			animation: search-in var(--duration-slow) var(--ease);
		}
	}

	@keyframes search-in {
		from {
			opacity: 0;
			transform: translateY(var(--space-s));
		}
	}

	.site-header__actions :is(.wc-block-mini-cart__button, .wc-block-customer-account a) {
		color: var(--heading-color);
	}

	/* The header row is exactly --header-height tall with its contents
	   centred, so the space above and below the logo is always equal. */
	.site-header {
		padding-block: 0;
	}

	.site-header__inner {
		min-height: var(--header-height);
	}

	/* Header columns: core's grid layout makes three equal columns, so the
	   logo stays centred whatever the menu's width. */
	.site-header__inner--centred {
		align-items: center;
	}

	.site-header__inner--centred .site-header__brand {
		justify-self: center;
	}

	/* Home hero: the shade fades from behind the words to clear on the
	   right, so the blossom stays bright and the text still reads. The
	   block's overlay setting sets how dark the shade is at the text. */
	.home-hero .hero__overlay {
		opacity: 1;
		background: linear-gradient(to right, color-mix(in srgb, var(--black) calc((var(--hero-overlay) + var(--hero-shade-extra)) * 100%), transparent), color-mix(in srgb, var(--black) calc(var(--hero-overlay) * 100%), transparent) var(--hero-shade-mid), color-mix(in srgb, var(--black) var(--hero-shade-clear), transparent));
	}

	/* Bees on a dark section: light lines, the body in the section's colour,
	   white wings with dark outlines and veins. */
	:is(.is-style-section-brand, .is-style-section-dark, .scheme--dark) {
		--hb-ink: var(--text-light);
		--hb-fill: var(--bg-brand);
		--hb-body: var(--bg-brand);
		--hb-wing: var(--white);
		--hb-wing-line: var(--bg-brand); /* white wings, dark outline and veins */
	}

	/* A section with wandering bees: the content sits between the bees
	   behind it and the bees in front of it, so they weave through it. */
	.has-bees {
		position: relative;
		isolation: isolate; /* the bees weave within this section only */
	}

	.has-bees > :not(hh-bee) {
		position: relative;
		z-index: var(--z-content);
	}

	/* Style guide: hovering bees side by side. */
	.bee-row {
		display: flex;
		flex-wrap: wrap;
		align-items: flex-end;
		gap: var(--space-l);
	}

	/* The hive sits in a plain wrapper, because core's constrained layout
	   sets the width of a section's direct children outside any layer. The
	   size goes on the hive inside it. Above the newsletter invitation it's
	   smaller. */
	.join__hive hh-hive {
		max-width: var(--join-hive-width);
	}

	/* Join the hive: the invitation on the left, the hive large on the right. */
	.join__inner {
		align-items: center;
	}

	/* Footer: on the warm neutral, the page colour a shade deeper, so it
	   reads as its own band rather than plain white. */
	.site-footer {
		background: var(--bg-warm-neutral);
	}

	/* Footer copyright bar: small Usual, like the menus, with plain links
	   that underline only on hover. */
	/* The space under the footer columns matches the space above them. Core
	   already puts the content gap between the columns and the copyright
	   bar, outside any layer, so the columns add the rest. */
	.site-footer__main {
		padding-block-end: calc(var(--section-space-s) - var(--content-gap));
	}

	/* Footer sign-up: the invitation on the left, first name, email and the
	   button in one row on the right, with a fine rule under it. The home
	   page has its own large Join the hive section, so it's hidden there. */
	.site-footer__join {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
		align-items: end;
		gap: var(--space-l);
		padding-block-end: var(--section-space-s);
		border-block-end: var(--hairline) solid var(--border-color);
	}

	body.home .site-footer__join {
		display: none;
	}

	@media (max-width: 860px) {
		.site-footer__join {
			grid-template-columns: minmax(0, 1fr);
		}

	}

	.site-footer__bottom {
		font-family: var(--font-ui);
		font-size: var(--text-2xs);
	}

	.site-footer__bottom a {
		text-decoration: none;
	}

	.site-footer__bottom a:hover {
		text-decoration: underline;
	}

	/* Footer menus: Usual, like every other menu and small piece of UI. The
	   column headings stay in Kepler. */
	.site-footer__nav {
		font-family: var(--font-ui);
		font-size: var(--text-xs);
		letter-spacing: var(--tracking-ui);
	}

	/* Motion: quiet and slow. The hero photo settles from a slight zoom as
	   the page loads, while its words rise in (Base's reveal). Sections fade
	   and rise in as they scroll into view, and card photos zoom gently on
	   hover (Base does this for the collection cards). Nothing moves for anyone who has reduced motion switched on. */
	@media (prefers-reduced-motion: no-preference) {
		.home-hero .hero__image {
			animation: hero-settle var(--hero-settle-time) var(--ease) both;
		}

		.product-grid .wc-block-components-product-image img {
			transition: transform var(--duration-slow) var(--ease);
		}

		.product-grid .wc-block-product:hover .wc-block-components-product-image img {
			transform: scale(var(--card-zoom));
		}

		.product-grid .wc-block-product {
			transition: transform var(--duration-slow) var(--ease);
		}

		.product-grid .wc-block-product:hover {
			transform: translateY(var(--card-lift));
		}
	}

	@keyframes hero-settle {
		from {
			transform: scale(var(--hero-settle-scale));
		}
	}

	/* The hero's key line: set apart from the heading and the body text,
	   larger and in Kepler. */
	.hero__lead {
		max-width: var(--text-max-width);
		font-family: var(--font-heading);
		font-size: var(--h4);
		line-height: var(--snug-line-height);
		color: var(--heading-color);
	}

	/* Bee Kind Botanicals: the invitation on the left, a tin on the right.
	   Base's hero holds its content to one text column, so this hero opens
	   it to the full width for the two columns. */
	.home-botanicals .hero__content {
		max-width: none;
	}

	.botanicals__inner {
		align-items: center;
	}

	/* Base's grid lets its columns stretch, so the tin's size goes on the
	   image itself, which core keeps within the column on small screens. */
	/* Hidden until a better product photo is chosen (Austin, 21 November
	   2026). Remove display: none to show it again. */
	.botanicals__tin {
		display: none;
		text-align: center;
	}

	.botanicals__tin img {
		width: var(--botanicals-tin-width);
	}

	/* Eyebrow: a small spaced label in Usual above a heading. */
	.eyebrow {
		font-family: var(--font-ui);
		font-size: var(--text-xs);
		letter-spacing: var(--tracking-caps);
		text-transform: uppercase;
		color: var(--text-muted);
	}

	/* Buttons under a section's content, held away from it. */
	.section-actions {
		margin-block-start: var(--space-l);
	}

	/* Cards: collection cards and product cards share one design. A white
	   card with the photo running edge to edge across the top, the name in
	   Kepler, and a small text link at the bottom. */
	.collection-card {
		--card-pad: var(--space-m);
		background: var(--white);
		box-shadow: none;
	}

	/* Collection photos are washed in their collection's label colour,
	   which ties four different photos together. The wash lifts on hover to
	   show the true photo. The frame is a grid so the photo stretches to
	   fill it: core sets the image's height to auto outside any layer. */
	.collection-card .card__media {
		position: relative;
		display: grid;
		aspect-ratio: var(--card-image-ratio);
	}

	.collection-card .card__media img {
		align-self: stretch;
		justify-self: stretch;
		object-fit: cover;
	}

	.collection-card .card__media::after {
		content: "";
		position: absolute;
		inset: 0;
		background: var(--collection, var(--primary));
		mix-blend-mode: multiply;
		opacity: var(--collection-wash);
		transition: opacity var(--duration-slow);
		pointer-events: none;
	}

	.collection-card:hover .card__media::after {
		opacity: 0;
	}

	.collection-card .card__title,
	.product-grid__title {
		font-size: var(--h4);
		line-height: var(--snug-line-height);
	}

	/* Each collection's label colour, set on its category (Products >
	   Categories > Collection colour) and added to its item in a category
	   list (inc/collections.php). */
	.collection--trail {
		--collection: var(--trail);
	}

	.collection--velvet {
		--collection: var(--velvet);
	}

	.collection--artisan {
		--collection: var(--artisan);
	}

	.collection--botanicals {
		--collection: var(--botanicals);
	}

	/* Text links: the card links, the product links and "Shop all
	   products" share one look, small spaced capitals in Usual over a fine,
	   soft honey line that turns full Honey on hover. The line keeps
	   its thickness; only the colour changes.
	   The product and Shop all links are Base's Text button style. Core
	   removes underlines from buttons outside any layer, so the line is
	   drawn as a background, and the size goes through Base's button size
	   variable. */
	.product-grid__button,
	.section-actions .is-style-text,
	.carousel-actions .is-style-text {
		--btn-font-size: var(--text-2xs);
	}

	.collection-card .card__action {
		font-family: var(--font-ui);
		font-size: var(--text-2xs);
		letter-spacing: var(--tracking-caps);
		text-transform: uppercase;
		color: var(--heading-color);
	}

	.collection-card .card__action,
	.product-grid__button .wp-block-button__link,
	.section-actions .is-style-text .wp-block-button__link,
	.carousel-actions .is-style-text .wp-block-button__link {
		--link-line: var(--link-line-rest);
		--link-line-width: var(--rule-width);
		align-self: flex-start;
		padding-block-end: var(--underline-gap);
		background-image: linear-gradient(var(--link-line), var(--link-line));
		background-position: left bottom;
		background-size: 100% var(--link-line-width);
		background-repeat: no-repeat;
	}

	.collection-card:hover .card__action,
	.product-grid .wc-block-product:hover .product-grid__button .wp-block-button__link,
	.section-actions .is-style-text .wp-block-button__link:hover,
	.carousel-actions .is-style-text .wp-block-button__link:hover {
		--link-line: var(--link-line-hover);
	}

	.collection-card .card__action::after,
	.product-grid__button .wp-block-button__link::after,
	.section-actions .is-style-text .wp-block-button__link::after,
	.carousel-actions .is-style-text .wp-block-button__link::after {
		content: " \2192";
	}

	/* What makes it different: four short points, each under its icon. */
	.difference__item > * + * {
		margin-block-start: var(--space-2xs);
	}

	/* The benefit icons are drawn as single shapes with cut-out detail, so
	   they need the even-odd fill rule (Base's icon filter strips it from
	   the file, so it's set here). */
	.difference__icon path {
		fill-rule: evenodd;
		clip-rule: evenodd;
	}

	/* Each benefit icon sits in Vintage Grape on a pale hexagon: white on
	   a Floral White section, Floral White on a warm neutral one. The
	   hexagon is a mask (assets/images/hexagon.svg), so its colour comes from
	   the palette. */
	.difference__icon {
		display: inline-grid;
		place-items: center;
		inline-size: var(--hex-size);
		block-size: auto;
		aspect-ratio: var(--hex-ratio);
		margin-block-end: var(--space-xs);
		background-color: var(--icon-hex-bg);
		color: var(--icon-color);
		mask: url("../images/hexagon.svg") center / contain no-repeat;
	}

	.is-style-section-alt {
		--icon-hex-bg: var(--bg-light); /* Floral White on a warm neutral section */
	}

	.difference__icon svg {
		inline-size: var(--hex-icon);
		block-size: auto;
	}

	/* Find your honey: the intro beside the quiz, one third and two thirds,
	   stacking where Base stacks its image-and-text sections. Media queries
	   can’t read custom properties, so the width matches Base’s 860px. */
	@media (max-width: 860px) {
		.honey-finder__grid {
			grid-template-columns: 1fr !important; /* Base's grid utility sets the columns with !important */
		}
	}

	/* A block of reading text held to a comfortable line length, from
	   Base's running-text width. */
	.measure {
		max-inline-size: var(--text-max-width);
	}

	/* Story steps (Our Process): numbered steps down the right, with a
	   sticky list on the left that tells the story and marks the step
	   being read. On phones the list becomes a strip under the header. */
	.process__grid {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
		gap: var(--grid-gap);
		align-items: start;
	}

	.process__nav {
		position: sticky;
		inset-block-start: calc(var(--scroll-offset) + var(--wp-admin--admin-bar--height, 0px));
	}

	.process__nav-list {
		display: grid;
		gap: var(--space-2xs);
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.process__nav-list li {
		margin: 0;
	}

	.process__nav-list a {
		display: flex;
		gap: var(--space-xs);
		padding: var(--space-xs) var(--space-s);
		border-radius: var(--radius);
		font-family: var(--font-ui);
		font-size: var(--text-xs);
		line-height: var(--snug-line-height);
		color: var(--text-muted);
		text-decoration: none;
		transition: color var(--duration-quick), background-color var(--duration-quick);
	}

	.process__nav-list a:hover,
	.process__nav-list a[aria-current="step"] {
		background: var(--white);
		color: var(--heading-color);
	}

	.process__nav-number,
	.process__number {
		font-family: var(--font-ui);
		letter-spacing: var(--tracking-caps);
		color: var(--primary-d-2);
	}

	.process__number {
		font-size: var(--text-xs);
	}

	.process__step {
		scroll-margin-block-start: var(--scroll-offset);
	}

	.process__step + .process__step {
		margin-block-start: var(--section-space-m);
	}

	.process__image img,
	.process__collection-image img {
		inline-size: 100%;
		aspect-ratio: var(--card-image-ratio);
		object-fit: cover;
		border-radius: var(--radius);
	}

	.process__collection-image {
		margin-block-end: var(--space-s);
	}

	.process__collection h4 a {
		color: inherit;
	}

	@media (prefers-reduced-motion: no-preference) {
		html:has(.process__nav) {
			scroll-behavior: smooth;
		}
	}

	/* Media queries can’t read custom properties, so this matches Base’s
	   860px, where its image-and-text sections stack. */
	@media (max-width: 860px) {
		.process__grid {
			grid-template-columns: minmax(0, 1fr);
		}

		.process__nav {
			inset-block-start: calc(var(--header-height) + var(--wp-admin--admin-bar--height, 0px));
			z-index: var(--z-content);
			margin-inline: calc(var(--gutter) * -1);
			padding-inline: var(--gutter);
			background: var(--bg-body);
			border-block-end: var(--hairline) solid var(--border-color);
		}

		.process__nav .eyebrow {
			display: none;
		}

		.process__nav-list {
			display: flex;
			overflow-x: auto;
			scrollbar-width: none;
		}

		.process__nav-list a {
			white-space: nowrap;
		}
	}

	/* The closing promise: centred over its four points. */
	.process__closing-head,
	.process__closing-foot {
		margin-inline: auto;
		text-align: center;
	}

	.process__closing-head {
		margin-block-end: var(--space-l);
	}

	.process__closing-foot {
		margin-block-start: var(--space-l);
	}

	.process__closing-foot .section-actions {
		justify-content: center;
	}

	/* Points of difference: three points either side of the animated hive.
	   On phones the hive comes first and the points sit two to a row. */
	.points {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr);
		gap: var(--grid-gap);
		align-items: center;
	}

	.points__col {
		display: grid;
		gap: var(--space-l);
	}

	.points .difference__item {
		text-align: center;
	}

	.points .difference__item > * + * {
		margin-block-start: var(--space-2xs);
	}

	@media (max-width: 860px) {
		.points {
			grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
			align-items: start;
		}

		.points__hive {
			grid-column: 1 / -1;
			order: -1;
		}

		.points__col {
			display: contents;
		}
	}

	.points .difference__icon {
		display: grid;
		margin-inline: auto;
	}

	/* Product pages (templates/single-product.html): the summary, then the
	   product's own sections from the Product sections patterns, then related
	   products. */

	.product-summary__grid {
		--grid-gap: var(--section-space-s); /* room between the photo and the details */
		align-items: start;
	}

	.product-summary__details > * + * {
		margin-block-start: var(--space-s);
	}

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

	.product-summary .woocommerce-product-gallery img {
		border-radius: var(--radius);
	}

	/* Related products: hidden when a product has none, so no empty band. */
	.product-related:not(:has(.wc-block-product, .product)) {
		display: none;
	}

	.product-section__head {
		margin-block-end: var(--space-l);
	}

	.product-about__grid {
		align-items: start;
	}

	.product-about__story > * + * {
		margin-block-start: var(--space-s);
	}

	/* Each use has its icon in Honey above the heading. */
	.product-uses__icon {
		color: var(--primary);
	}

	.product-uses__icon path {
		fill-rule: evenodd;
		clip-rule: evenodd;
	}

	.product-uses__card {
		padding: var(--space-m);
		border: var(--hairline) solid var(--border-color);
		border-radius: var(--radius);
	}

	.product-uses__card > * + *,
	.product-ingredients__item > * + * {
		margin-block-start: var(--space-xs);
	}

	/* Uses and ingredients: a larger heading over smaller text. */
	.product-uses__card h3,
	.product-ingredients__item h3 {
		font-size: var(--text-l);
	}

	.product-uses__card p,
	.product-ingredients__item p {
		font-size: var(--text-s);
	}

	.product-ingredients__grid {
		row-gap: var(--space-l) !important; /* Base's grid utilities set gap with !important */
	}

	.product-ingredients__item {
		padding-block-start: var(--space-s);
		border-block-start: var(--rule-width) solid var(--primary);
	}

	.product-ingredients__notes {
		margin-block-start: var(--space-l);
	}

	/* Expandable questions (FAQs and product details): simple rows divided
	   by fine lines, like the rest of the site, in place of Base's white
	   cards with a shadow. Larger questions, answers in small text. */
	.faq__list {
		gap: 0;
		border-block-start: var(--hairline) solid var(--border-color);
	}

	.faq__list .wp-block-accordion-item {
		border-block-end: var(--hairline) solid var(--border-color);
		border-radius: 0;
		background: transparent;
		box-shadow: none;
	}

	.faq__list .wp-block-accordion-heading {
		font-family: var(--font-heading);
		font-size: var(--text-l);
		font-weight: var(--heading-weight);
		line-height: var(--heading-line-height);
	}


	.faq__list .wp-block-accordion-panel {
		padding: 0 0 var(--space-m);
	}

	.faq__list .wp-block-accordion-panel :where(p, li) {
		font-size: var(--text-s);
	}

	/* Product tabs (core Tabs block): the intro on top, then the tabs across
	   the full width. Folder tabs in Usual: the open one white and joined to
	   a white panel, the rest plain. On narrow screens the row of tabs
	   scrolls sideways instead of wrapping. */
	.product-about__grid:has(.product-tabs) {
		grid-template-columns: minmax(0, 1fr) !important; /* Base's two-column grid */
		gap: var(--space-xl) !important; /* as above */
	}

	.product-about__grid:has(.product-tabs) .product-about__story {
		max-inline-size: var(--text-max-width);
	}

	.product-tabs .wp-block-tab-list {
		display: flex;
		flex-wrap: nowrap;
		gap: var(--space-2xs);
		overflow-x: auto;
		scrollbar-width: none;
	}

	.product-tabs .wp-block-tab-panel {
		padding: var(--space-l);
		border-radius: 0 var(--radius) var(--radius) var(--radius);
		background: var(--white);
	}

	.product-tabs .wp-block-tab-panel > * + * {
		margin-block-start: var(--space-s);
	}

	/* Size and quantity: fields that match the site's forms, in Usual, with
	   the same border, corners and height as the button beside them. */
	.wp-block-add-to-cart-form .variations,
	.wp-block-add-to-cart-form .variations :is(tbody, tr) {
		display: block;
		inline-size: 100%;
	}

	.wp-block-add-to-cart-form .variations {
		border: 0;
	}

	.wp-block-add-to-cart-form .variations th,
	.wp-block-add-to-cart-form .variations td {
		display: block;
		padding: 0;
		border: 0;
		text-align: start;
	}

	.wp-block-add-to-cart-form .variations label {
		display: block;
		margin-block-end: var(--space-2xs);
		font-family: var(--font-ui);
		font-size: var(--text-xs);
		letter-spacing: var(--tracking-caps);
		text-transform: uppercase;
		color: var(--text-muted);
	}

	.wp-block-add-to-cart-form .variations select,
	.wp-block-add-to-cart-form input.qty {
		min-block-size: 100%;
		padding: var(--btn-padding-block) var(--space-s);
		border: var(--hairline) solid var(--border-color-strong);
		border-radius: var(--radius);
		background-color: var(--white);
		font-family: var(--font-ui);
		font-size: var(--btn-font-size, var(--text-s));
		color: var(--text-color);
	}

	.wp-block-add-to-cart-form .variations select {
		padding-block: var(--space-s);
		appearance: none;
		inline-size: 100%;
		max-inline-size: var(--search-width);
		padding-inline-end: var(--space-xl);
		/* The chevron, drawn from two gradients so it needs no image. */
		background-image:
			linear-gradient(45deg, transparent 50%, currentColor 50%),
			linear-gradient(135deg, currentColor 50%, transparent 50%);
		background-position:
			calc(100% - var(--space-m)) 50%,
			calc(100% - var(--space-m) + var(--space-2xs)) 50%;
		background-size: var(--space-2xs) var(--space-2xs);
		background-repeat: no-repeat;
		cursor: pointer;
	}

	.wp-block-add-to-cart-form .variations select:focus-visible,
	.wp-block-add-to-cart-form input.qty:focus-visible {
		outline: var(--rule-width) solid var(--focus-color, var(--primary));
		outline-offset: var(--hairline);
	}

	.wp-block-add-to-cart-form .reset_variations {
		display: inline-block;
		margin-block-start: var(--space-2xs);
		font-family: var(--font-ui);
		font-size: var(--text-xs);
		color: var(--text-muted);
	}

	/* Style guide page: colour chips, the type specimens and the bees. */
	.swatch__chip {
		aspect-ratio: 3 / 2;
		margin-block-end: var(--space-s);
		border: var(--hairline) solid var(--border-color);
		border-radius: var(--radius);
	}

	.swatch__chip--warm {
		background: var(--bg-warm-neutral);
	}

	.swatch__hex {
		font-size: var(--text-xs);
		letter-spacing: var(--tracking-ui);
	}

	.type-specimen {
		padding-block-start: var(--space-s);
		border-block-start: var(--rule-width) solid var(--primary);
	}

	.type-specimen__ui {
		font-size: var(--text-s);
		letter-spacing: var(--tracking-caps);
	}

	.type-scale > .eyebrow {
		margin-block-start: var(--space-l);
	}

	/* The category badge: what a product or collection is ("Raw Honey"),
	   on product cards, collection cards, the category page heading and
	   the style guide. One look everywhere. */
	.term-badge,
	.style-guide__badge,
	.product-grid .wc-block-product > .product-grid__terms {
		padding: var(--space-2xs) var(--space-xs);
		border-radius: var(--radius-pill);
		background: var(--primary-l-3); /* a soft honey; the pale green is kept for rare use */
		font-family: var(--font-ui);
		font-size: var(--text-3xs);
		font-weight: var(--weight-medium);
		letter-spacing: var(--tracking-caps);
		line-height: var(--snug-line-height);
		text-transform: uppercase;
		color: var(--base);
	}

	.term-badge:empty {
		display: none;
	}

	/* On a card, the badge sits on the photo in the top corner, so it
	   reads as a label rather than another line of text. */
	.collection-card {
		position: relative;
	}

	.collection-card > .term-badge,
	.product-grid .wc-block-product > .product-grid__terms {
		position: absolute;
		inset-block-start: var(--space-s);
		inset-inline-start: var(--space-s);
		z-index: var(--z-content);
		margin: 0;
	}

	/* On a category page, the badge sits above the collection name, inside
	   the heading so the heading holds the search name too. */
	.shop-archive__title .term-badge {
		display: block;
		inline-size: fit-content;
		margin-block-end: var(--space-s);
	}

	.style-guide__head {
		margin-block-end: var(--space-l);
	}

	.style-guide__bee {
		align-items: center;
	}

	.style-guide__bees {
		display: flex;
		gap: var(--space-l);
		align-items: center;
		justify-content: center;
	}

	/* Best sellers: product cards in the same design as the collection
	   cards, white on the pale honey section. WooCommerce's carousel pads
	   each product by a few pixels outside any layer, so the card's padding
	   goes on its contents instead. */
	.product-grid .wc-block-product {
		position: relative;
		display: flex;
		flex-direction: column;
		overflow: hidden;
		border-radius: var(--radius);
		background: var(--white);
		text-align: start;
	}

	.product-grid .wc-block-product > :not(.wc-block-components-product-image) {
		margin-inline: var(--space-m);
	}

	/* The photo runs edge to edge across the top. Its corners come from the
	   card, so the radius WooCommerce's styles give the image is set to 0
	   through the variable they read. */
	.product-grid .wc-block-components-product-image {
		--radius: 0;
		overflow: hidden;
		margin: 0;
		aspect-ratio: var(--product-image-ratio);
	}

	.product-grid .wc-block-components-product-image img {
		height: 100%;
		object-fit: cover;
	}

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

	/* Spacing sets the order: room under the photo, the name and price
	   held close together, then the link apart at the bottom. */
	.product-grid__title {
		margin-block: var(--space-m) var(--space-2xs);
	}

	.product-grid__title a {
		color: var(--heading-color);
		text-decoration: none;
	}

	.product-grid__price {
		font-family: var(--font-ui);
		font-size: var(--text-s);
		color: var(--base-l-2); /* a softer Vintage Grape than the name */
	}

	.product-grid__button {
		margin-block: auto var(--space-m);
		padding-block-start: var(--space-xs);
	}

	.product-grid .wc-product-collection-carousel-header {
		margin-block-end: var(--space-l);
	}

	.carousel-actions .wp-block-button__link {
		white-space: nowrap;
	}

	/* Carousel arrows: round. WooCommerce pads each arrow icon, and Base's
	   border-box sizing then squeezes the icon inside its frame and trims its
	   tips, so the icon keeps its own size here. */
	.wc-block-next-previous-buttons__button {
		border-radius: var(--radius-circle);
	}


	.wc-block-next-previous-buttons__icon {
		box-sizing: content-box;
	}

	/* Best sellers sits on a warm neutral, the page colour a shade deeper,
	   so the white cards stand out without a coloured background. */
	.best-sellers {
		background: var(--bg-warm-neutral);
	}
}

@layer blocks {
	/* Home hero: more room above and below the words. */
	body:has(.site-header--overlay) .wp-block-post-content > .home-hero:first-child {
		padding-block: calc(var(--section-space-xl) + var(--header-height)) var(--section-space-xl);
	}

	/* The Collections: the heading on the left and Find your honey on the
	   right, lined up with the bottom of the intro like Shop all products
	   in Best sellers. */
	.collections__head {
		margin-block-end: var(--space-l);
	}

	.collections__finder {
		gap: var(--space-s);
	}

	.collections__finder-note {
		margin: 0;
		font-family: var(--font-ui);
		font-size: var(--text-xs);
		color: var(--text-muted);
	}

	/* Bee Kind Botanicals: a darker shade behind the words, easing off to
	   the right, the same as the home hero, so the painting stays rich. */
	.home-botanicals .hero__overlay {
		opacity: 1;
		background: linear-gradient(to right, color-mix(in srgb, var(--base-d-3) calc((var(--hero-overlay) + var(--hero-shade-extra)) * 100%), transparent), color-mix(in srgb, var(--base-d-3) calc(var(--hero-overlay) * 100%), transparent) var(--hero-shade-mid), color-mix(in srgb, var(--base-d-3) calc(var(--hero-overlay) * 100%), transparent));
	}

	/* Photos beside text on the content pages (Our Story, Apiarist
	   Services, the homepage): one square size, so no photo is taller or
	   shorter than the next. */
	.split-media__image img {
		inline-size: 100%;
		aspect-ratio: var(--split-image-ratio);
		object-fit: cover;
	}

	/* Our Process: each step's photo short and wide. */
	.process__image img {
		aspect-ratio: var(--banner-image-ratio);
	}

	/* Our Process demo: the step's number and heading over its photo, on a
	   dark Vintage Grape shade. */
	.process__banner {
		border-radius: var(--radius);
		overflow: hidden;
	}

	.process__banner .wp-block-cover__inner-container > * {
		margin: 0;
	}

	.process__banner .process__number {
		font-family: var(--font-ui);
		font-size: var(--text-m);
		letter-spacing: var(--tracking-caps);
		color: var(--primary);
	}

	.process__banner .process__number + .process__title {
		margin-block-start: var(--space-xs);
	}

	.process__banner .process__title {
		color: var(--white);
	}

	.process__banner + * {
		margin-block-start: var(--space-l);
	}

	/* The art of craftsmanship: the three collections as a list. */
	.process__collection-list {
		margin-block: var(--space-m);
	}

	.process__collection-list li + li {
		margin-block-start: var(--space-s);
	}

	.process__collection-list a {
		color: var(--heading-color);
	}

	/* What sets our honey apart: the heading sits over the hive in the
	   middle column. */
	.points__hive {
		display: grid;
		gap: var(--space-m);
		text-align: center;
	}

	.points__hive h2 {
		font-size: var(--h3);
	}

	.points .difference__item > h3 + p {
		margin-block-start: 0;
	}

	/* What we believe (Our Story): five numbered cards on Vintage Grape,
	   in a row on wide screens. */
	.beliefs-section .section-head {
		margin-block-end: var(--space-xl);
	}

	.beliefs {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--card-min-s)), 1fr));
		gap: var(--space-s);
		counter-reset: belief;
	}


	.beliefs__item {
		padding: var(--space-l) var(--space-m);
		border-radius: var(--radius);
		background: var(--base-l-1);
		font-family: var(--font-heading);
		font-size: var(--h5);
		line-height: var(--snug-line-height);
		counter-increment: belief;
	}

	.beliefs__item::before {
		content: counter(belief, decimal-leading-zero);
		display: block;
		margin-block-end: var(--space-m);
		font-family: var(--font-ui);
		font-size: var(--text-xs);
		letter-spacing: var(--tracking-caps);
		color: var(--primary);
	}

	/* Contact details: each way to reach us beside its icon. */
	.contact-list {
		display: grid;
		gap: var(--space-xl);
	}

	.contact-list__item {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		gap: var(--space-s);
		align-items: center;
	}


	.contact-list__icon {
		display: grid;
		place-items: center;
		inline-size: var(--space-xl);
		block-size: var(--space-xl); /* Base sizes the icon block to the icon */
		border-radius: var(--radius-circle);
		background: var(--primary);
		color: var(--white);
	}

	.contact-list__icon svg {
		inline-size: var(--contact-icon-scale);
		block-size: auto;
		stroke-width: var(--header-icon-stroke);
	}



	.contact-list__item h3 {
		font-family: var(--font-ui);
		font-size: var(--text-xs);
		font-weight: var(--weight-bold);
		letter-spacing: var(--tracking-caps);
		text-transform: uppercase;
		color: var(--heading-color);
	}

	/* FAQs: each question on its own white panel, no shadow, with the
	   answer in smaller text. */
	.faq__list {
		gap: var(--space-xs);
		border-block-start: 0;
	}

	.faq__list .wp-block-accordion-item {
		border-block-end: 0;
		border-radius: var(--radius);
		background: var(--white);
		box-shadow: none;
	}


	.faq__list .wp-block-accordion-panel {
		padding: 0 var(--space-m) var(--space-m);
	}

	/* Shop and collection pages: room above the breadcrumb and below the
	   page numbers, and the collection's introduction under its name. */
	.shop-archive {
		padding-block: var(--section-space-s) var(--section-space-m);
	}

	.shop-archive__head {
		margin-block-end: var(--space-l);
	}

	.shop-archive__head > * + * {
		margin-block-start: var(--space-s);
	}

	.shop-archive__intro {
		max-inline-size: var(--text-max-width);
		color: var(--text-muted);
		font-size: var(--text-s);
	}

	.shop-archive__intro > * {
		margin: 0;
	}

	.shop-archive__toolbar {
		margin-block-end: var(--space-m);
		font-family: var(--font-ui);
		font-size: var(--text-xs);
		color: var(--text-muted);
	}

	.shop-archive .wp-block-query-pagination {
		margin-block-start: var(--section-space-xs);
	}

	.collection-more .split-media + .split-media,
	.collection-more > * + * {
		margin-block-start: var(--space-l);
	}

	/* Find your honey: a smaller Get in touch button beside the quiz. */
	.honey-finder .wp-block-button {
		--btn-font-size: var(--btn-small-font-size);
		--btn-padding-block: var(--btn-small-padding-block);
		--btn-padding-inline: var(--btn-small-padding-inline);
	}

	/* Stockists: each store as a short block of details, three across. */



	.stockists__grid {
		gap: var(--space-xl) var(--grid-gap);
	}

	.stockist__where,
	.stockist__phone {
		font-size: var(--text-s);
		color: var(--text-muted);
	}

	/* Wholesale: the reasons to stock as white cards, each under its icon
	   on a Floral White hexagon. */
	.wholesale-card {
		--icon-hex-bg: var(--bg-light);
		padding: var(--space-l);
		border-radius: var(--radius);
		background: var(--white);
	}
}

@layer blocks {
	/* Light text on dark sections and photos: the small label above a
	   heading in soft Honey instead of grey, so it reads. */
	:is(.is-style-section-brand, .is-style-section-dark, .scheme--dark) .eyebrow {
		color: var(--primary-l-2);
	}

	/* Homepage benefits: centred under their icons, with the heading and
	   its line close together. */
	.difference .difference__item {
		text-align: center;
	}

	.difference .difference__icon {
		display: grid;
		margin-inline: auto;
	}


	.difference__item > :is(h3, h4) {
		margin-block-end: 0;
		line-height: var(--snug-line-height);
	}

	/* FAQs: the plus has a little more Honey at rest, and the open one is
	   a softer Honey than full strength. */
	.faq__list .wp-block-accordion-heading__toggle-icon {
		--faq-icon: var(--base);
		background: var(--primary-l-3);
	}

	.faq__list .wp-block-accordion-heading__toggle:hover .wp-block-accordion-heading__toggle-icon,
	.faq__list .is-open .wp-block-accordion-heading__toggle-icon {
		--faq-icon: var(--base);
		background: var(--primary-l-1);
	}
}

@layer components {
	/* Buttons: a very soft shadow, lifting a touch on hover. Not on text
	   links styled as buttons. */
	.wp-element-button:not(.is-style-text .wp-element-button),
	.wc-block-components-button:not(.is-link) {
		box-shadow: var(--btn-shadow);
		transition: background-color var(--duration-quick), border-color var(--duration-quick), color var(--duration-quick), box-shadow var(--duration-quick), transform var(--duration-quick);
	}

	.wp-element-button:not(.is-style-text .wp-element-button):hover,
	.wc-block-components-button:not(.is-link):hover {
		box-shadow: var(--btn-shadow-hover);
		transform: translateY(var(--btn-lift));
	}

	@media (prefers-reduced-motion: reduce) {
		.wp-element-button:hover,
		.wc-block-components-button:hover {
			transform: none;
		}
	}
}

@layer blocks {
	/* Your honeys: the note under the heading, and the share band. */
	.honey-results__note {
		max-inline-size: var(--text-max-width);
	}

	.honey-results-section .product-grid {
		margin-block-start: var(--space-l);
	}

	.honey-share__inner {
		gap: var(--space-l);
	}

	.honey-share__text > * + * {
		margin-block-start: var(--space-xs);
	}

	.honey-share__actions {
		display: flex;
		flex-wrap: wrap;
		gap: var(--space-s);
	}
}

@layer blocks {
	/* Cart and checkout pages: page padding and a Kepler page title. */
	.shop-page__title {
		margin-block-end: var(--space-l);
	}

	/* Checkout header: the logo centred as on every other page, Back to
	   cart on the left and Secure checkout on the right, in small Usual. */
	.checkout-header :is(.checkout-header__back, .checkout-header__secure) {
		margin: 0;
		font-family: var(--font-ui);
		font-size: var(--text-xs);
		letter-spacing: var(--tracking-ui);
		color: var(--text-muted);
	}

	.checkout-header__back a {
		color: inherit;
		text-decoration: none;
	}

	.checkout-header__back a:hover {
		color: var(--heading-color);
	}

	.checkout-header__secure {
		justify-self: end;
		letter-spacing: var(--tracking-caps);
		text-transform: uppercase;
	}

	/* My Account: a personal welcome, then cards for each part of the
	   account, and the account menu in small Usual. */
	.account-welcome > * + * {
		margin-block-start: var(--space-s);
	}

	.account-welcome__lead {
		max-inline-size: var(--text-max-width);
		color: var(--text-muted);
	}

	.account-cards {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--card-min)), 1fr));
		gap: var(--space-s);
		margin-block-start: var(--space-l);
	}

	.account-card {
		display: grid;
		gap: var(--space-2xs);
		padding: var(--space-m);
		border-radius: var(--radius);
		background: var(--white);
		color: var(--text-color);
		text-decoration: none;
		transition: box-shadow var(--duration-quick), transform var(--duration-quick);
	}

	.account-card:hover {
		box-shadow: var(--tile-shadow-hover);
		transform: translateY(var(--card-lift));
	}

	.account-card__title {
		font-family: var(--font-heading);
		font-size: var(--h5);
		color: var(--heading-color);
	}

	.account-card__text {
		font-size: var(--text-xs);
		color: var(--text-muted);
	}

}

@layer blocks {
	/* The last section on a page is never the footer's warm neutral: a
	   warm neutral section there takes the page colour instead, so the
	   page and the footer stay apart. Product pages are left out: related
	   products sit between their sections and the footer. */
	.wp-block-post-content:not(.product-sections) > .is-style-section-alt:last-child,
	.collection-more > .is-style-section-alt:last-child {
		--icon-hex-bg: var(--white);
		background-color: var(--bg-light);
	}

	/* Call to action bands: the heading and its line on the left, the
	   button on its own on the right. */
	.cta-band__inner {
		display: grid;
		grid-template-columns: minmax(0, 2fr) auto;
		gap: var(--space-l) var(--grid-gap);
		align-items: center;
	}

	.cta-band__text > * + * {
		margin-block-start: var(--space-xs);
	}

	@media (max-width: 860px) {
		.cta-band__inner {
			grid-template-columns: minmax(0, 1fr);
		}
	}

	/* Search panel: always light, whatever is behind it, with a single
	   line under the words. */
	.site-search {
		color-scheme: light;
	}

	/* Stockists: a white card for each store, with its logo, region, a
	   line about them and a link to their website. */

	.stockist {
		display: flex;
		flex-direction: column;
		block-size: 100%;
		padding: var(--space-l);
		border-radius: var(--radius);
		background: var(--white);
	}


	.stockist__logo img {
		max-block-size: var(--space-xxl);
		inline-size: auto;
		object-fit: contain;
	}

	.stockist__about {
		font-size: var(--text-s);
	}

	.stockist .stockist__links {
		padding-block-start: var(--space-m);
	}

	/* Shop notices (added to cart, account messages): a white panel with a
	   Honey edge, no big icon, and the link as a text link. */
	.woocommerce-message,
	.woocommerce-info,
	.woocommerce-error,
	.wc-block-components-notice-banner {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		gap: var(--space-s);
		padding: var(--space-m) var(--space-l);
		border: 0;
		border-radius: var(--radius);
		background: var(--white);
		color: var(--text-color);
		font-family: var(--font-ui);
		font-size: var(--text-s);
	}

	.woocommerce-error,
	.wc-block-components-notice-banner.is-error {
		background: var(--error-bg);
		color: var(--error);
	}

	/* My Account: the menu as a column of tabs beside the content, with clear
	   room between them. Each tab is plain with its icon; the open one sits
	   on white. No lines and no underlines. */
	.woocommerce-MyAccount-navigation ul {
		display: grid;
		gap: 0;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.woocommerce-MyAccount-navigation li {
		margin: 0;
	}

	.woocommerce-MyAccount-navigation a {
		display: flex;
		align-items: center;
		gap: var(--space-s);
		padding: var(--space-xs) var(--space-m);
		border: 0;
		border-radius: var(--radius);
		font-family: var(--font-ui);
		font-size: var(--text-s);
		line-height: var(--snug-line-height);
		color: var(--heading-color);
		text-decoration: none;
		transition: background-color var(--duration-quick);
	}

	.woocommerce-MyAccount-navigation a .icon {
		inline-size: var(--space-m);
		block-size: var(--space-m);
		stroke-width: var(--header-icon-stroke);
		color: var(--primary-d-1);
	}

	.woocommerce-MyAccount-navigation a:hover,
	.woocommerce-MyAccount-navigation .is-active a {
		background: var(--white);
	}

	/* Account pages: smaller headings over each address. */
	.woocommerce-Address-title :is(h2, h3) {
		font-size: var(--h5);
	}

}

/* Header icons, outside any layer. WooCommerce's account and cart buttons set their own padding and icon sizes unlayered,
   which beats any layered rule, so these match or beat their selectors and
   win on load order, the same way Base's woocommerce.css does. One size and
   one hit area for them and the search icon, evenly spaced. */
.site-header__actions.wp-block-group {
	align-items: center;
	gap: var(--space-2xs);
}

.site-header__actions.wp-block-group > :not(dialog) {
	display: flex;
	align-items: center;
	margin: 0;
}

.site-header__actions .wc-block-mini-cart__button,
.site-header__actions .wp-block-woocommerce-customer-account a {
	display: inline-grid;
	place-items: center;
	width: var(--header-icon-hit);
	height: var(--header-icon-hit);
	padding: 0;
	margin: 0;
}

.site-header__actions .icon-line {
	stroke-width: var(--header-icon-stroke);
}

.site-header__actions .wc-block-mini-cart__button svg,
.site-header__actions .wp-block-woocommerce-customer-account a svg {
	width: var(--header-icon-size);
	min-width: 0;
	height: var(--header-icon-size);
	min-height: 0;
}

/* Best sellers carousel, outside any layer. WooCommerce sizes each product
   in its carousel outside any layer (about five across here, centred, with
   part cards at the edges), so a layered rule can't change it. These rules
   match or beat its selectors and win on load order: four products across,
   lined up from the left edge.
   Austin asked for four columns at most, 21 November 2026. */
.product-grid .is-product-collection-layout-carousel {
	scroll-padding: 0;
}

.product-grid .is-product-collection-layout-carousel .wc-block-product {
	min-width: max(calc((100% - var(--grid-gap) * (var(--carousel-columns) - 1)) / var(--carousel-columns)), var(--carousel-card-min));
	max-width: none;
	scroll-snap-align: start;
}

/* Carousel arrows and the mini cart panel in the page colour, not
   WooCommerce's white. Unlayered, because WooCommerce sets the white outside
   any layer. */
.wc-block-next-previous-buttons__button,
.wc-block-mini-cart__drawer {
	background-color: var(--bg-light);
}

/* The size drop-down: WooCommerce sets its height, padding, text size and
   arrow image outside any layer, so these win only unlayered. The rest of
   its look is in the components layer with the quantity box. */
.woocommerce div.product .wp-block-add-to-cart-form form.cart table.variations tr td select {
	height: auto;
	min-inline-size: 0;
	margin: 0;
	padding: var(--space-s) var(--space-xl) var(--space-s) var(--space-s);
	font-size: var(--btn-font-size, var(--text-s));
	background-color: var(--white);
	background-image: none; /* the chevron is drawn by the wrapper, below */
}

/* Product tab buttons: core styles the tab list buttons outside any layer
   (padding, colour, font, and its own line under the open tab), so these
   win only unlayered. */
.product-tabs .wp-block-tab-list button {
	flex: none;
	margin: 0;
	padding: var(--space-m) var(--space-m) var(--space-s);
	border: 0;
	border-radius: var(--radius) var(--radius) 0 0;
	background: none;
	font-family: var(--font-ui);
	font-size: var(--text-xs);
	letter-spacing: var(--tracking-caps);
	text-transform: uppercase;
	line-height: var(--snug-line-height);
	color: var(--text-muted);
	white-space: nowrap;
	cursor: pointer;
	transition: color var(--duration-quick), background-color var(--duration-quick);
}

.product-tabs .wp-block-tab-list button::before {
	display: none;
}

.product-tabs .wp-block-tab-list button:hover {
	color: var(--heading-color);
}

.product-tabs .wp-block-tab-list button[aria-selected="true"] {
	background: var(--white);
	color: var(--heading-color);
}

/* Text links in a row of actions (Shop all products, Find your honey): core
   sets a Text button's padding to 0 outside any layer, so the room between
   the words and their drawn line is set here. */
.section-actions .is-style-text .wp-block-button__link,
.carousel-actions .is-style-text .wp-block-button__link,
.product-grid .product-grid__button .wp-block-button__link {
	padding: 0 0 var(--underline-gap) !important; /* core and WooCommerce pad these buttons; every text link has the same gap to its line */
}

/* Header dropdowns: always light, even over the clear homepage header,
   with a very light Honey behind the item under the pointer. Core and Base
   set the panel colours outside the layers this file can use. */
.site-header .site-header__nav .wp-block-navigation__submenu-container {
	color-scheme: light;
	background: var(--white) !important; /* core and Base colour the panel outside any layer, with high specificity */
	color: var(--text-color) !important; /* as above */
}

.site-header .site-header__nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.site-header .site-header__nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible {
	background: var(--primary-l-5);
}

/* Cart count: a small bold number on the pale green accent, readable on
   the white header and over the homepage photo. WooCommerce draws the
   badge outside any layer. */
.site-header__actions .wc-block-mini-cart__badge {
	min-inline-size: var(--cart-badge-size);
	block-size: var(--cart-badge-size);
	padding-inline: calc(var(--space-2xs) / 2);
	border: 0;
	border-radius: var(--radius-circle);
	background: var(--accent) !important; /* WooCommerce colours the badge outside any layer */
	color: var(--base) !important; /* as above */
	font-family: var(--font-ui);
	font-size: var(--text-3xs);
	font-weight: var(--weight-bold);
	line-height: var(--cart-badge-size);
}

.site-header__actions .wc-block-mini-cart__quantity-badge {
	color: var(--heading-color);
}

/* The sort menu on the shop and collection pages, in the site's own form
   style. WooCommerce styles it outside any layer. */
.shop-archive .woocommerce-ordering select.orderby {
	appearance: none;
	padding: var(--space-xs) var(--space-xl) var(--space-xs) var(--space-s);
	border: var(--hairline) solid var(--field-border);
	border-radius: var(--radius);
	background-color: var(--white);
	background-image: none; /* the chevron is drawn by the wrapper, below */
	font-family: var(--font-ui);
	font-size: var(--text-xs);
	color: var(--heading-color);
	cursor: pointer;
}

.shop-archive .woocommerce-ordering {
	margin: 0;
}

/* Product page size label: close to its drop-down. WooCommerce spaces
   the variations table outside any layer. */
.woocommerce div.product .wp-block-add-to-cart-form form.cart table.variations th.label {
	padding-block-end: var(--space-2xs);
}

.woocommerce div.product .wp-block-add-to-cart-form form.cart table.variations td.value {
	padding-block: 0 !important; /* WooCommerce pads the cell, which pushed Clear and the chevron down */
}

/* Product size: Clear sits on the label's line instead of pushing the
   price down, and the price is held further from the add to cart button.
   WooCommerce spaces these outside any layer. */
.woocommerce div.product .wp-block-add-to-cart-form form.cart table.variations {
	margin-block-end: var(--space-m);
}

.woocommerce div.product .wp-block-add-to-cart-form form.cart table.variations tr {
	position: relative;
}

.woocommerce div.product .wp-block-add-to-cart-form form.cart .reset_variations {
	position: absolute;
	inset-block-start: calc(100% + var(--space-2xs)); /* just under the drop-down, on the right */
	inset-inline-end: 0;
	margin: 0;
	padding: 0 !important; /* WooCommerce pads the link like a button */
	line-height: var(--snug-line-height);
	font-family: var(--font-ui);
	font-size: var(--text-xs);
}

.woocommerce div.product .wp-block-add-to-cart-form form.cart .single_variation_wrap .single_variation {
	margin-block-end: var(--space-l);
}

/* Our Process banners: generous room around the number and heading. Core
   pads the Cover block outside any layer. */
.wp-block-cover.process__banner {
	padding: var(--space-xl);
	min-height: var(--process-banner-height); /* beats core's default cover height, which is outside any layer */
}

/* Cart: no short descriptions under each product, larger product names in
   Kepler, and the column labels in small Usual. WooCommerce styles the
   cart block outside any layer. */
.wc-block-cart .wc-block-components-product-metadata__description {
	display: none;
}

.wc-block-cart .wc-block-components-product-name {
	font-family: var(--font-heading);
	font-size: var(--h5) !important; /* WooCommerce sets the cart's text sizes with high specificity */
	color: var(--heading-color);
	text-decoration: none;
}

.wc-block-cart .wc-block-cart-items th,
.wc-block-cart .wc-block-cart__totals-title {
	font-family: var(--font-ui);
	font-size: var(--text-xs) !important; /* WooCommerce sets these with high specificity */
	letter-spacing: var(--tracking-caps);
	text-transform: uppercase;
	color: var(--text-muted);
}

.wc-block-cart .wc-block-cart-item__prices,
.wc-block-cart .wc-block-cart-item__total,
.wc-block-cart .wc-block-components-totals-item,
.wc-block-cart .wc-block-cart-item__quantity,
.wc-block-cart .wc-block-cart-item__prices {
	font-size: var(--text-m) !important; /* as above */
}

.wc-block-cart .wc-block-cart-items__row td {
	padding-block: var(--space-m);
}

.wc-block-cart .wc-block-cart__sidebar {
	padding: var(--space-l);
	border-radius: var(--radius);
	background: var(--white);
}

/* Drop-downs (sort menu, product size): a soft line, white, with a fine
   chevron drawn by the wrapper from assets/images/chevron-down.svg, in the
   text colour. */
.shop-archive .woocommerce-ordering,
.woocommerce div.product .wp-block-add-to-cart-form form.cart table.variations td.value {
	position: relative;
}

.shop-archive .woocommerce-ordering::after,
.woocommerce div.product .wp-block-add-to-cart-form form.cart table.variations td.value::after {
	content: "";
	position: absolute;
	inset-block-start: 50%;
	inset-inline-end: var(--space-s);
	inline-size: var(--select-arrow-size);
	block-size: var(--select-arrow-size);
	background: var(--heading-color);
	mask: url("../images/chevron-down.svg") center / contain no-repeat;
	translate: 0 -50%;
	pointer-events: none;
}

.woocommerce div.product .wp-block-add-to-cart-form form.cart table.variations tr td select,
.shop-archive .woocommerce-ordering select.orderby {
	border-color: var(--field-border) !important; /* WooCommerce sets a grey border */
	transition: border-color var(--duration-quick);
}

.woocommerce div.product .wp-block-add-to-cart-form form.cart table.variations tr td select:hover,
.shop-archive .woocommerce-ordering select.orderby:hover {
	border-color: var(--field-border-hover) !important; /* as above */
}

/* Footer sign-up row. WS Form's own stylesheet sits outside any layer,
   so these rules do too: first name, email and the button in one row,
   the email consent checkbox underneath. On phones the fields stack. */
@media (min-width: 861px) {
	.site-footer__join .wsf-fields {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto;
		align-items: start;
		column-gap: var(--space-s);
	}

	.site-footer__join .wsf-fields > .wsf-tile {
		inline-size: auto;
		max-inline-size: none;
		flex: none;
	}

	/* The button has no label, so it drops to line up with the inputs. The
	   email consent checkbox runs underneath the whole row. */
	.site-footer__join .wsf-fields > .wsf-bottom {
		grid-column: 3;
		grid-row: 1;
		align-self: end;
		margin-block-end: var(--space-s);
	}

	.site-footer__join .wsf-fields > .wsf-tile:has(input[type="checkbox"]) {
		grid-column: 1 / -1;
		grid-row: 2;
	}
}

/* Footer: Privacy Policy | Website Terms, with a fine upright rule. */
.site-footer__legal {
	display: flex;
	align-items: center;
	gap: var(--space-xs);
}

.site-footer__sep {
	inline-size: var(--hairline);
	block-size: var(--footer-sep-height);
	background: var(--text-muted);
}

/* Running text never ends a paragraph on one or two stray words, and
   headings balance their lines. */
p,
li {
	text-wrap: pretty;
}

:is(h1, h2, h3, h4, h5, h6) {
	text-wrap: balance;
}

/* Search panel field: one line under the words in any state, text in
   Vintage Grape. Base and core outline and border fields on hover and
   focus outside any layer. */
.site-search .site-search__field,
.site-search .site-search__field:hover,
.site-search .site-search__field:focus {
	border: 0;
	border-block-end: var(--hairline) solid var(--field-border);
	border-radius: 0;
	outline: 0;
	box-shadow: none;
	background: none;
	color: var(--heading-color);
}

.site-search .site-search__field:focus {
	border-block-end-color: var(--field-border-focus);
}

/* Notices: WooCommerce draws a large icon and a top border outside any
   layer; the icon goes, and the link inside reads as a text link. */
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before,
.wc-block-components-notice-banner > svg {
	display: none !important; /* WooCommerce positions these with high specificity */
}

.woocommerce-message .button,
.woocommerce-info .button,
.wc-block-components-notice-banner .wc-forward {
	order: 2;
	padding: 0 0 var(--underline-gap) !important; /* WooCommerce styles these as buttons */
	border: 0 !important; /* as above */
	border-radius: 0 !important; /* as above */
	background: linear-gradient(var(--link-line-rest), var(--link-line-rest)) left bottom / 100% var(--rule-width) no-repeat !important; /* as above */
	box-shadow: none !important; /* as above */
	color: var(--heading-color) !important; /* as above */
	font-family: var(--font-ui);
	font-size: var(--text-2xs);
	letter-spacing: var(--tracking-caps);
	text-transform: uppercase;
	text-decoration: none;
	transform: none !important; /* the site's button lift is for real buttons, not text links */
}

.woocommerce-message .button:hover,
.woocommerce-info .button:hover,
.wc-block-components-notice-banner .wc-forward:hover {
	background-image: linear-gradient(var(--link-line-hover), var(--link-line-hover)) !important; /* as above */
}

/* Checkout and account fields: the same soft line as every other form.
   WooCommerce sets dark borders outside any layer. */
.wc-block-components-text-input input,
.wc-block-components-textarea,
.wc-blocks-components-select .wc-blocks-components-select__select,
.wc-block-components-combobox .wc-block-components-combobox-control input,
.woocommerce form .form-row .input-text,
.woocommerce form .form-row select {
	border-color: var(--field-border) !important; /* WooCommerce sets these with high specificity */
	border-radius: var(--radius) !important; /* as above */
	background-color: var(--white) !important; /* as above */
}

.wc-block-components-text-input input:hover,
.woocommerce form .form-row .input-text:hover {
	border-color: var(--field-border-hover) !important; /* as above */
}

.wc-block-components-text-input input:focus,
.woocommerce form .form-row .input-text:focus {
	border-color: var(--field-border-focus) !important; /* as above */
	box-shadow: none !important; /* as above */
}

/* Order summary: the item count on each product photo in the pale green,
   with Vintage Grape numbers. */
.wc-block-components-order-summary-item__quantity {
	border: 0 !important; /* WooCommerce sets these with high specificity */
	background: var(--accent) !important; /* as above */
	color: var(--base) !important; /* as above */
	box-shadow: none !important; /* as above */
	font-family: var(--font-ui);
	font-weight: var(--weight-bold);
}

/* Cart: a little larger again, with bigger photos. */
.wc-block-cart .wc-block-cart-item__image img {
	inline-size: var(--space-xxl);
	max-inline-size: none;
}

.wc-block-cart .wc-block-cart-items .wc-block-components-product-name {
	font-size: var(--h4) !important; /* WooCommerce sets the cart's text sizes with high specificity */
}

/* Shop and collection pages: the breadcrumb and results count as small
   spaced capitals in Usual, so they read as labels, not body text.
   WooCommerce sets their size outside any layer. */
.shop-archive .wc-block-breadcrumbs,
.shop-archive .woocommerce-breadcrumb,
.shop-archive .wc-block-product-results-count,
.shop-archive .woocommerce-result-count {
	font-family: var(--font-ui);
	font-size: var(--text-2xs) !important; /* WooCommerce sets a font size on the block */
	letter-spacing: var(--tracking-caps);
	text-transform: uppercase;
	color: var(--text-muted);
}

.shop-archive .woocommerce-breadcrumb a {
	color: var(--heading-color);
	text-decoration: none;
}

.shop-archive .woocommerce-breadcrumb a:hover {
	color: var(--primary-d-2);
}

.shop-archive .woocommerce-result-count {
	margin: 0;
	color: var(--heading-color);
}

/* Block notices (added to cart, checkout messages): the same white panel
   with a Honey edge as every other notice. WooCommerce colours them by
   type outside any layer. */
.wc-block-components-notice-banner {
	margin-block: var(--space-m) !important; /* WooCommerce sets these with high specificity */
	padding: var(--space-m) var(--space-l) !important; /* as above */
	border: 0 !important; /* as above */
	border-radius: var(--radius) !important; /* as above */
	background: var(--white) !important; /* as above */
	color: var(--text-color) !important; /* as above */
}

.wc-block-components-notice-banner.is-error {
	background: var(--error-bg) !important; /* as above */
	color: var(--error) !important; /* as above */
}

.wc-block-components-notice-banner .wc-block-components-notice-banner__content {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-s);
	font-family: var(--font-ui);
	font-size: var(--text-s);
}

/* Checkout: bigger step headings in Kepler, and no short descriptions in
   the order summary. WooCommerce sizes these outside any layer. */
.wc-block-checkout .wc-block-components-checkout-step__title,
.wc-block-checkout .wc-block-components-title.wc-block-components-title {
	font-family: var(--font-heading);
	font-size: var(--h4) !important; /* WooCommerce sets these with high specificity */
	font-weight: var(--heading-weight);
	color: var(--heading-color);
}

.wc-block-components-order-summary .wc-block-components-product-metadata__description {
	display: none;
}

/* Product cards: the photo runs the full width of the card, with no inset.
   WooCommerce pads each product outside any layer. */
.product-grid .wc-block-product {
	padding: 0 !important; /* WooCommerce sets these with high specificity */
}

.product-grid .wc-block-product .wc-block-components-product-image {
	margin: 0 !important; /* as above */
}

/* The name sits clear of the photo, with the same room as the card's sides. */
.product-grid .wc-block-product .product-grid__title {
	margin-block-start: var(--space-m) !important; /* WooCommerce and core space these with high specificity */
}

/* Free shipping meter (functions.php): a white panel above the cart and
   under the mini cart title. A thin, light line fills with Honey as the
   cart grows, with the site's bee flying along it at the point reached. */
.shipping-meter {
	margin-block-end: var(--space-l);
	padding: var(--space-m) var(--space-l) var(--space-l);
	border-radius: var(--radius);
	background: var(--white);
	font-family: var(--font-ui);
}

.shipping-meter--mini {
	margin: 0 var(--space-m) var(--space-m);
	border: var(--hairline) solid var(--field-border);
}

.shipping-meter__text {
	margin: 0 0 var(--space-m);
	font-size: var(--text-m);
	color: var(--heading-color);
}

.shipping-meter__track {
	--meter-progress: 0%;
	position: relative;
	block-size: var(--rule-width);
	margin-inline-end: var(--meter-bee-size);
	background: var(--field-border);
}

.shipping-meter__fill {
	position: absolute;
	inset-block: 0;
	inset-inline-start: 0;
	inline-size: var(--meter-progress);
	background: var(--primary);
	transition: inline-size var(--duration-slow) var(--ease);
}

.shipping-meter__bee {
	--size: var(--meter-bee-size);
	position: absolute;
	inset-block-start: 50%;
	inset-inline-start: var(--meter-progress);
	translate: -50% -50%;
	transition: inset-inline-start var(--duration-slow) var(--ease);
}

.shipping-meter.is-free .shipping-meter__fill {
	background: var(--accent-d-1);
}

/* Product tabs: the open tab sits directly on its panel. Core spaces the
   tab row and panels apart outside any layer. */
.product-tabs.wp-block-tabs {
	gap: 0; /* core sets the block gap through a single class, which this beats */
}

.product-tabs .wp-block-tab-panels {
	margin-block-start: 0 !important; /* as above */
}

/* Mini cart. WooCommerce styles the drawer outside any layer, so these
   win only unlayered.
   The free shipping meter clears the title, which WooCommerce pulls the
   content up under. */
.wc-block-mini-cart__drawer .shipping-meter--mini {
	margin-block-start: var(--space-xl);
}

/* Each product: a larger name in Kepler, the price once (in the right-hand
   column), and the short description kept. */
.wc-block-mini-cart__drawer .wc-block-components-product-name {
	font-family: var(--font-heading);
	font-size: var(--h5) !important; /* WooCommerce sets these with high specificity */
	color: var(--heading-color);
	text-decoration: none;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__prices,
.wc-block-mini-cart__drawer .wc-block-cart-item__product .wc-block-components-product-price {
	display: none !important; /* as above */
}

.wc-block-mini-cart__drawer .wc-block-cart-item__total {
	font-size: var(--text-s) !important; /* as above */
}

.wc-block-mini-cart__drawer .wc-block-components-product-metadata__description {
	font-size: var(--text-xs) !important; /* as above */
	color: var(--text-muted);
}

/* The line above the subtotal: the same soft line as the site's fields. */
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer {
	border-block-start: var(--hairline) solid var(--field-border) !important; /* as above */
}

/* Cart button: the site's secondary button, the same as Back in the forms.
   A Vintage Grape outline that warms to the page colour on hover. */
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-cart.wc-block-components-button {
	border: var(--btn-border-width) solid var(--heading-color) !important; /* as above */
	background: transparent !important; /* as above */
	color: var(--heading-color) !important; /* as above */
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-cart.wc-block-components-button:hover,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-cart.wc-block-components-button:focus-visible {
	border-color: var(--heading-color) !important; /* as above */
	background: var(--bg-warm-neutral) !important; /* as above */
	color: var(--heading-color) !important; /* as above */
}

/* Account and order tables: the same soft line as the site's fields, not
   WooCommerce's grey, and links in the menu never underlined. */
.woocommerce-account .woocommerce table.shop_table,
.woocommerce-account .woocommerce table.shop_table :is(th, td) {
	border-color: var(--field-border) !important; /* WooCommerce sets these with high specificity */
}

.woocommerce-account .woocommerce-MyAccount-navigation a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
	text-decoration: none !important; /* core and Base underline links in content */
}

/* My Account layout: the tabs beside the content with clear room between.
   WooCommerce floats these at fixed widths and adds clearfix pseudo
   elements, all outside any layer; in a grid those pseudo elements would
   take up cells, so they're switched off. Stacks on phones. */
.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) {
	display: grid;
	grid-template-columns: minmax(var(--card-min-s), var(--account-nav-max)) minmax(0, 1fr);
	gap: var(--section-space-xs);
	align-items: start;
}

.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation)::before,
.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation)::after {
	display: none;
}

.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content {
	float: none;
	inline-size: auto;
	margin: 0;
}

@media (max-width: 860px) {
	.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Product tab icons (functions.php): the hand-drawn icon above each tab's
   label, in the same lighter grape as the benefit icons. */
.product-tabs .wp-block-tab-list button {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-xs);
}

.product-tabs__icon {
	display: inline-flex;
	color: var(--icon-color);
}

.product-tabs__icon svg {
	inline-size: var(--tab-icon-size);
	block-size: var(--tab-icon-size);
}

.product-tabs__icon path {
	fill-rule: evenodd;
	clip-rule: evenodd;
}

.product-tabs__icon .icon--botanical-garden path {
	fill-rule: nonzero; /* this icon is drawn without cut-outs */
}

/* Footer menus: Vintage Grape at rest, turning to the heading colour with a
   soft Honey line on hover, the same feel as the site's text links. Core
   colours navigation links outside any layer. */
.site-footer .site-footer__nav .wp-block-navigation-item__content {
	color: var(--text-muted);
	text-decoration: underline;
	text-decoration-color: transparent;
	text-decoration-thickness: var(--rule-width);
	text-underline-offset: var(--underline-offset);
	transition: color var(--duration-quick), text-decoration-color var(--duration-quick);
}

.site-footer .site-footer__nav .wp-block-navigation-item__content:hover,
.site-footer .site-footer__nav .wp-block-navigation-item__content:focus-visible {
	color: var(--heading-color);
	text-decoration-color: var(--primary);
}

/* Footer social icons under the logo: plain icons in Vintage Grape that
   turn Honey on hover. Core colours each icon by brand outside any layer. */
.site-footer .site-footer__social {
	gap: var(--space-s);
	margin-block-start: var(--space-m);
}

.site-footer .site-footer__social .wp-social-link {
	color: var(--heading-color) !important; /* core colours each brand */
	transition: color var(--duration-quick);
}

.site-footer .site-footer__social .wp-social-link a {
	padding: 0;
}

.site-footer .site-footer__social .wp-social-link svg {
	inline-size: var(--header-icon-size);
	block-size: var(--header-icon-size);
}

.site-footer .site-footer__social .wp-social-link:hover {
	color: var(--primary-d-1) !important; /* as above */
}

/* Product questions box (functions.php): beside the product tabs, a Vintage
   Grape card inviting questions. Stacks under the tabs on phones. */
.product-tabs-row {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: var(--section-space-xs);
	align-items: start; /* the box stays put at the top while tabs change height */
}

@media (max-width: 860px) {
	.product-tabs-row {
		grid-template-columns: minmax(0, 1fr);
	}
}

.product-questions {
	padding: var(--space-l);
	border-radius: var(--radius);
	background: var(--base);
	color: var(--text-light);
}

:root .product-questions > * {
	margin-block: 0; /* core spaces a group's children; :root makes this beat core's :root :where() rule */
}

:root .product-questions > * + * {
	margin-block-start: var(--space-s); /* as above */
}

.product-questions :is(h2, h3) {
	font-size: var(--h4);
	color: var(--white);
}

:root .product-questions .wp-block-buttons {
	margin-block-start: var(--space-m); /* as above */
}

/* Product page shipping note (functions.php): small Usual text under the
   add to cart button. */
.product-shipping-note {
	margin-block-start: var(--space-s);
	font-family: var(--font-ui);
	font-size: var(--text-xs);
	color: var(--text-muted);
}

/* Product tabs share one row equally, however many there are; a long
   label wraps onto two lines inside its own tab. Core wraps the tab row
   and sizes tabs to their text outside any layer. */
.product-tabs .wp-block-tab-list {
	flex-wrap: nowrap !important; /* core lets the row wrap */
	align-items: stretch;
}

.product-tabs .wp-block-tab-list button {
	flex: 1 1 0 !important; /* core sizes each tab to its label */
	min-inline-size: 0;
	padding-inline: var(--space-xs);
	justify-content: flex-start; /* icons line up along the top, whatever the label length */
	white-space: normal;
	text-align: center;
}

/* Product card buttons are text links in every state: no Honey fill on
   hover. WordPress gives every button that fill outside any layer. */
.product-grid .product-grid__button .wp-block-button__link:is(:hover, :focus-visible, .added),
.product-grid .product-grid__button .wp-block-button__link.loading {
	background-color: transparent !important; /* WordPress's button hover fill */
	color: var(--heading-color) !important; /* as above */
	box-shadow: none !important; /* the site's button lift is for filled buttons */
	transform: none !important; /* as above */
}

/* WooCommerce adds a "View cart" link beside the button once something is
   added. The button already says how many are in the cart, and the cart is
   one click away in the header, so the extra link is hidden. */
.product-grid .product-grid__button .added_to_cart {
	display: none !important; /* WooCommerce shows it inline */
}

/* Spacing inside components. WordPress spaces the blocks in a group
   (its block gap) and pads some blocks outside any layer, so these sit
   outside the layers too, each selector more specific than core's
   :root :where(.is-layout-flow) rules. They're part of each component's
   design, so they live here rather than as a gap typed on each block. */
:root main > .product-sections,
:root main > .product-related {
	margin-block-start: 0;
}

.faq__list .wp-block-accordion-heading__toggle {
	padding: var(--space-m) 0;
}

:root .beliefs > * {
	margin-block: 0;
}

:root .contact-list {
	margin-block-start: var(--space-l);
}

:root .contact-list > *,
:root .contact-list__item > * {
	margin: 0;
}

.contact-list__item > :last-child > * {
	margin-block: 0;
}

.contact-list__item > :last-child > * + * {
	margin-block-start: var(--space-xs);
}

.faq__list .wp-block-accordion-heading__toggle {
	padding: var(--space-m);
}

.stockists .stockist > * {
	margin-block: 0;
}

.stockists .stockist > * + * {
	margin-block-start: var(--space-2xs);
}

.stockists .stockist__name {
	margin-block-start: var(--space-xs);
}

.difference__item > :is(h3,
:root h4) + p {
	margin-block-start: 0;
}

:root .stockists {
	margin-block-start: var(--space-xl);
}

:root .stockist__logo {
	margin: 0 0 var(--space-m);
}

.stockist .stockist__links {
	margin-block-start: auto;
}

/* Product cards: the badge sits the same distance from the top and the
   left of the photo, so core's flow margin is cleared. */
:root .product-grid .wc-block-product > .product-grid__terms {
	margin: 0;
}

/* Collection cards: clear space between the card text and the link.
   Base's card owns its children's margins (with !important), so this
   is padding on the summary rather than a margin. */
.collection-card > .card__title + p {
	padding-block-end: var(--space-m);
}
