/**
 * Thelmz — the styles theme.json can't express.
 * Layout, spacing, type and components follow the g68 "Floral Shop" design
 * with the Thelmz colours (see docs/decisions/ADR-0002, update 2026-10-12).
 * Loaded on the site and inside the editor, so what you see is what you get.
 * Mobile first where it matters; the desktop header starts at 1025px (as g68).
 * WooCommerce block styling lives in assets/css/blocks/woocommerce--*.css.
 * Author: Shina Adetoye
 */

:root {
	/* Form field outline: 3:1 against white and blush (WCAG 1.4.11). */
	--thelmz-field-border: color-mix(in srgb, var(--wp--preset--color--muted) 80%, var(--wp--preset--color--white));
	--thelmz-tap: 44px;
	--thelmz-float-size: 52px;
	--thelmz-hairline: #eeeeee;
	--thelmz-ornament: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 70' fill='none' stroke='%23c66076' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M60 40c-6-8-6-18 0-24 6 6 6 16 0 24z'/%3E%3Cpath d='M60 40c-9-3-15-11-14-19 8 1 13 9 14 19z'/%3E%3Cpath d='M60 40c9-3 15-11 14-19-8 1-13 9-14 19z'/%3E%3Ccircle cx='60' cy='38' r='2.5'/%3E%3Cpath d='M60 42c0 8-2 14-6 20M60 42c3 9 8 14 14 18'/%3E%3Cpath d='M48 50c-10-2-20 2-28 10 10 2 20-1 28-10zM48 50c-10 4-18 6-28 10'/%3E%3Cpath d='M72 50c10-2 20 2 28 10-10 2-20-1-28-10zM72 50c10 4 18 6 28 10'/%3E%3Cpath d='M38 30c-8-6-18-6-26-2 8 6 18 6 26 2zM38 30c-9-1-17 0-26-2'/%3E%3Cpath d='M82 30c8-6 18-6 26-2-8 6-18 6-26 2zM82 30c9-1 17 0 26-2'/%3E%3C/svg%3E");
}

/* Marcellus has one weight and no italic: never fake bold or italic. */
body {
	font-synthesis: none;
}

/* g68 type scale on tablets and phones (H1 42/35, H2 30, H3 26, H4 23). */
@media (max-width: 1024px) {
	body {
		--wp--preset--font-size--display: 2.625rem;
		--wp--preset--font-size--title: 2.625rem;
	}
}
@media (max-width: 767px) {
	body {
		--wp--preset--font-size--display: 2.1875rem;
		--wp--preset--font-size--title: 2.1875rem;
		--wp--preset--font-size--xx-large: 1.875rem;
		--wp--preset--font-size--x-large: 1.625rem;
		--wp--preset--font-size--large-plus: 1.4375rem;
	}
}

::selection {
	background: var(--wp--preset--color--blush);
	color: var(--wp--preset--color--teal-deep);
}

/* Header, main and footer sit flush: no root block gap between template parts. */
.wp-site-blocks > main,
.wp-site-blocks > footer {
	margin-block-start: 0;
}

/* Full-width sections stack flush. */
.wp-block-post-content > .alignfull + .alignfull,
.entry-content > .alignfull + .alignfull,
main > .alignfull + .alignfull {
	margin-block-start: 0;
}

/* Light covers: body text in the theme's grey, headings in deep teal (core
   makes cover headings inherit the text colour). */
.wp-block-cover.is-light:not(.has-text-color) .wp-block-cover__inner-container {
	color: var(--wp--preset--color--muted);
}
.wp-block-cover.is-light .wp-block-cover__inner-container :is(h1, h2, h3, h4, h5, h6):not(.has-text-color) {
	color: var(--wp--preset--color--teal-deep);
}

/* ---------- Block styles (chosen in the editor's "Styles" panel) ---------- */

/* Eyebrow: Marcellus capitals in rose above a heading (g68 H6 look). */
.is-style-eyebrow {
	font-family: var(--wp--preset--font-family--heading) !important;
	font-size: var(--wp--preset--font-size--medium) !important;
	font-weight: 400 !important;
	line-height: 1.5 !important;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--rose-ink);
}
.is-style-eyebrow a {
	color: inherit;
	text-decoration: none;
}
.is-style-eyebrow + :is(h1, h2, h3, h4, h5, h6) {
	margin-block-start: 0.35rem;
}

/* Section styles: the g68 vertical rhythm (100px, 40px on phones). */
.wp-block-group[class*="is-style-section-"] {
	padding-top: var(--wp--preset--spacing--60);
	padding-bottom: var(--wp--preset--spacing--60);
}

/* Card: white box, square corners, faint shadow underneath. */
.wp-block-group.is-style-card {
	background: var(--wp--preset--color--white);
	border-radius: 0;
	box-shadow: var(--wp--preset--shadow--soft);
	padding: var(--wp--preset--spacing--30);
}

/* Intro: centred label + heading + text with a fine flower drawing behind the label. */
.wp-block-group.is-style-intro {
	padding-top: 1.75rem;
	text-align: center;
}
.wp-block-group.is-style-intro > .is-style-eyebrow:first-child {
	position: relative;
	isolation: isolate;
}
.wp-block-group.is-style-intro > .is-style-eyebrow:first-child::before {
	content: "";
	position: absolute;
	z-index: -1;
	bottom: calc(100% + 0.1rem); /* sits above the label, clear of the letters */
	left: 50%;
	width: 96px;
	height: 56px;
	transform: translateX(-50%);
	background: var(--thelmz-ornament) center / contain no-repeat;
	opacity: 0.5;
	pointer-events: none;
}
.wp-block-group.is-style-intro > p:last-child:not(.is-style-eyebrow) {
	margin-block-start: 0.75rem;
}

/* Swipe row: a grid on desktop, a swipeable row on phones (no JavaScript). */
@media (max-width: 781px) {
	.wp-block-group.is-style-scroller {
		display: flex !important;
		flex-wrap: nowrap !important;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		gap: 1rem;
		padding-bottom: 0.75rem;
		scrollbar-width: thin;
	}
	.wp-block-group.is-style-scroller > * {
		flex: 0 0 78%;
		scroll-snap-align: start;
		margin: 0 !important;
	}
}

/* Image shapes */
.wp-block-image.is-style-arch img {
	border-radius: 999px 999px 0 0;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}
.wp-block-image.is-style-circle img {
	border-radius: 50%;
	aspect-ratio: 1;
	object-fit: cover;
}

/* ---------- Buttons ---------- */
.wp-block-button__link {
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
/* Outline: g68 square button with a 2px border in the text colour. */
.wp-block-button.is-style-outline .wp-block-button__link {
	padding: calc(0.875rem - 2px) calc(2.5rem - 2px);
	border: 2px solid currentColor;
	border-radius: 0;
	background: transparent;
	color: var(--wp--preset--color--teal-deep);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	border-color: var(--wp--preset--color--teal-deep);
	background: var(--wp--preset--color--teal-deep);
	color: var(--wp--preset--color--white) !important;
}
.wp-block-button.is-style-outline > .wp-block-button__link.has-rose-ink-color:hover {
	border-color: var(--wp--preset--color--rose-ink);
	background: var(--wp--preset--color--rose-ink);
}
/* Soft: blush pill (g68 secondary). */
.wp-block-button.is-style-soft .wp-block-button__link {
	background: var(--wp--preset--color--blush);
	color: var(--wp--preset--color--teal-deep);
}
.wp-block-button.is-style-soft .wp-block-button__link:hover {
	background: var(--wp--preset--color--rose-ink);
	color: var(--wp--preset--color--white);
}
/* Dark: deep-teal pill. */
.wp-block-button.is-style-dark .wp-block-button__link {
	background: var(--wp--preset--color--teal-deep);
	color: var(--wp--preset--color--white);
}
.wp-block-button.is-style-dark .wp-block-button__link:hover {
	background: var(--wp--preset--color--rose-ink);
}
/* WhatsApp buttons (client, 30 Oct: "transition from red to green"): every
   button that opens WhatsApp, whatever its style (Dark, Outline, Soft or the
   default), is the brand red with white text and turns deep green on hover
   and keyboard focus, like the main buttons. White on rose-ink is 5.9:1 and
   white on deep teal 13.6:1. The focus ring (rose, outside the button) stays.
   Plain text links (contact and footer lines) keep their own look. They are
   round like the main buttons, even when saved with the square Outline style. */
.wp-block-button:not(:is(.thelmz-text-links, .thelmz-footer-contact) *) > .wp-block-button__link:is([href*="wa.me"], [href*="whatsapp"]) {
	border-radius: var(--wp--custom--radius--pill);
	border-color: var(--wp--preset--color--rose-ink);
	background: var(--wp--preset--color--rose-ink);
	color: var(--wp--preset--color--white) !important;
}
.wp-block-button:not(:is(.thelmz-text-links, .thelmz-footer-contact) *) > .wp-block-button__link:is([href*="wa.me"], [href*="whatsapp"]):is(:hover, :focus-visible) {
	border-color: var(--wp--preset--color--teal-deep);
	background: var(--wp--preset--color--teal-deep);
	color: var(--wp--preset--color--white) !important;
}
/* Bound links that read as plain text links (email, phone). */
.thelmz-text-links,
.thelmz-footer-contact {
	gap: 0;
}
.thelmz-footer .thelmz-footer-contact {
	gap: 0.25rem 1.5rem;
	justify-content: center;
}
:is(.thelmz-text-links, .thelmz-footer-contact) .wp-block-button__link,
:is(.thelmz-text-links, .thelmz-footer-contact) .wp-block-button__link:hover {
	padding: 0;
	border-radius: 0;
	background: none;
	color: inherit;
	font-family: var(--wp--preset--font-family--body);
	font-size: inherit;
	letter-spacing: 0;
	line-height: inherit;
	text-align: left;
	text-transform: none;
	text-decoration: underline;
	text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
	text-underline-offset: 0.25em;
}
:is(.thelmz-text-links, .thelmz-footer-contact) .wp-block-button__link:hover {
	color: var(--wp--preset--color--rose-ink);
	text-decoration-color: currentColor;
}

/* ---------- Floating button (Buttons block, style "Floating") ----------
 * Phones: a round 52px icon button (the words stay in the page for screen
 * readers). Tablets and up: a pill with icon and words. The icon follows the
 * link: WhatsApp for wa.me links, a phone for tel: links, a chat bubble
 * otherwise. */
.wp-block-buttons.is-style-floating {
	position: fixed;
	right: max(1rem, env(safe-area-inset-right));
	bottom: max(1rem, env(safe-area-inset-bottom));
	z-index: 50;
	margin: 0 !important;
	--thelmz-float-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 3h16a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H9l-5 4v-4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z'/%3E%3C/svg%3E");
}
.wp-block-buttons.is-style-floating .wp-block-button__link {
	position: relative;
	padding: 0.8rem 1.6rem 0.8rem 3.2rem;
	font-size: var(--wp--preset--font-size--small);
	box-shadow: var(--wp--preset--shadow--lift);
}
.wp-block-buttons.is-style-floating .wp-block-button__link::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 1.1rem;
	width: 1.375rem;
	height: 1.375rem;
	transform: translateY(-50%);
	background-color: currentColor;
	-webkit-mask: var(--thelmz-float-icon) center / contain no-repeat;
	mask: var(--thelmz-float-icon) center / contain no-repeat;
}
.wp-block-buttons.is-style-floating :is(a[href*="wa.me"], a[href*="whatsapp"]) {
	--thelmz-float-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.01 2C6.51 2 2.02 6.48 2.02 11.98C2.02 13.74 2.48 15.46 3.36 16.98L2 22L7.23 20.76C8.69 21.56 10.33 21.98 12.01 21.98L12.01 21.98C17.51 21.98 22 17.5 22 11.99C22 9.33 20.96 6.82 19.08 4.93C17.19 3.04 14.68 2 12.01 2zM12.01 4C14.15 4 16.15 4.83 17.66 6.34C19.17 7.85 20 9.86 20 11.99C20 16.4 16.41 19.98 12.01 19.98C10.67 19.98 9.35 19.64 8.19 19.01L7.52 18.64L6.77 18.82L4.8 19.28L5.29 17.5L5.5 16.7L5.09 15.98C4.39 14.77 4.02 13.39 4.02 11.98C4.02 7.58 7.61 4 12.01 4zM8.48 7.38C8.31 7.38 8.04 7.44 7.81 7.69C7.58 7.94 6.94 8.54 6.94 9.77C6.94 11 7.83 12.18 7.96 12.35C8.08 12.52 9.68 15.12 12.22 16.12C14.33 16.95 14.75 16.78 15.21 16.74C15.67 16.7 16.69 16.14 16.9 15.55C17.11 14.97 17.11 14.47 17.04 14.37C16.98 14.26 16.82 14.2 16.57 14.08C16.32 13.95 15.09 13.35 14.86 13.27C14.63 13.18 14.46 13.14 14.3 13.39C14.13 13.64 13.66 14.2 13.51 14.37C13.36 14.53 13.22 14.56 12.97 14.43C12.72 14.31 11.91 14.04 10.96 13.19C10.22 12.53 9.72 11.71 9.57 11.46C9.43 11.22 9.56 11.08 9.68 10.96C9.8 10.84 9.93 10.66 10.06 10.52C10.18 10.37 10.22 10.27 10.31 10.1C10.39 9.94 10.35 9.79 10.29 9.66C10.22 9.54 9.74 8.31 9.52 7.81C9.33 7.4 9.13 7.39 8.95 7.38C8.81 7.37 8.64 7.38 8.48 7.38z'/%3E%3C/svg%3E");
}
.wp-block-buttons.is-style-floating a[href^="tel:"] {
	--thelmz-float-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25c1.12.37 2.33.57 3.6.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E");
}
/* It stays off whatever it would cover (Mrs Thelma's phone review, 3 Nov 2026):
   hidden while the footer or a WhatsApp button on the page is on screen, and
   on phones while scrolling down, back when scrolling up (see functions.php).
   Without the script it simply stays in its corner. */
.wp-block-buttons.is-style-floating {
	transition: opacity 0.2s ease, visibility 0.2s;
}
.wp-block-buttons.is-style-floating.is-out-of-the-way {
	visibility: hidden;
	opacity: 0;
}
@media (max-width: 781px) {
	:root {
		--thelmz-float-size: 44px;
	}
	.wp-block-buttons.is-style-floating {
		right: max(0.5rem, env(safe-area-inset-right));
		bottom: max(0.75rem, env(safe-area-inset-bottom));
	}
	.wp-block-buttons.is-style-floating .wp-block-button__link {
		display: block;
		box-sizing: border-box;
		width: var(--thelmz-float-size);
		height: var(--thelmz-float-size);
		padding: 0;
		border-radius: 50%;
		overflow: hidden;
		white-space: nowrap;
		text-indent: 200%;
	}
	.wp-block-buttons.is-style-floating .wp-block-button__link::before {
		left: 50%;
		width: 1.375rem;
		height: 1.375rem;
		transform: translate(-50%, -50%);
	}
	/* Cart and checkout keep the screen for their own order buttons. */
	:is(.woocommerce-cart, .woocommerce-checkout) .wp-block-buttons.is-style-floating {
		display: none;
	}
}
/* Room under the footer's last line so the floating button (round icon on
   phones, pill from 782px) never covers it at any width. */
body:has(.wp-block-buttons.is-style-floating) .thelmz-footer__base {
	padding-bottom: calc(var(--thelmz-float-size) + 1.5rem + env(safe-area-inset-bottom)) !important;
}
.editor-styles-wrapper .wp-block-buttons.is-style-floating {
	position: static;
}

/* ---------- Header (g68: top bar, then search | left menu | logo | right menu | cart) ---------- */
/* Not sticky, like g68. */
.thelmz-topbar {
	border-bottom: 1px solid var(--thelmz-hairline);
	font-size: 0.9375rem;
	line-height: 1.5;
}
.thelmz-topbar p {
	margin: 0;
}
.thelmz-topbar__note {
	font-weight: 700;
}
.thelmz-topbar__links {
	gap: 2rem;
}
.thelmz-topbar a {
	color: inherit;
}
.thelmz-topbar .wc-block-customer-account__link,
.thelmz-topbar .wc-block-customer-account a {
	color: inherit;
	font-size: 0.9375rem;
	text-decoration: none;
}
.thelmz-topbar .wc-block-customer-account a:hover {
	text-decoration: underline;
}
.thelmz-topbar .wp-block-social-links {
	gap: 0.3em;
	margin: 0;
}
.thelmz-topbar .wp-block-social-links .wp-social-link a {
	padding: 0.25rem;
}
/* Phones and tablets: the top bar keeps only the same-day note (the FAQ
   points people to it); account and search move into the header row. */
@media (max-width: 1024px) {
	.thelmz-topbar {
		font-size: 0.8125rem;
	}
	.thelmz-topbar__row {
		justify-content: center !important;
	}
	.thelmz-topbar__note {
		text-align: center;
	}
	.thelmz-topbar__links {
		display: none !important;
	}
}

.thelmz-header {
	position: relative;
	padding-top: 1.25rem;
	padding-bottom: 1.25rem;
	background: var(--wp--preset--color--white);
}
.thelmz-header__row {
	gap: 0.75rem;
	min-height: 80px;
}
.thelmz-header__start,
.thelmz-header__end {
	flex: 1 1 0;
	min-width: 0;
	gap: 0.5rem;
}
.thelmz-header__brand {
	flex: 0 0 auto;
	max-width: 22rem;
	padding-inline: 1.875rem;
}
.thelmz-header .wp-block-site-title,
.thelmz-footer .wp-block-site-title {
	margin: 0;
	text-wrap: balance;
}
.thelmz-header .wp-block-site-tagline,
.thelmz-footer .wp-block-site-tagline {
	margin: 0;
	line-height: 1.3;
}
/* The logo (the shop name curved round a rose) is the biggest thing in the
   header and footer: wider than the shop name under it, which is kept small
   and no wider than the logo (client review, 2 Nov 2026). The checkout and
   minimal headers keep it small. A set height, not a cap: the logo has
   smaller copies (srcset), and with them the image's own size is the block's
   64px width, not the file's. The logo is 1.04 times as wide as it is tall. */
.thelmz-header .wp-block-site-logo img {
	width: auto;
	height: 176px;
}
:is(.thelmz-header, .thelmz-footer):not(.thelmz-header--minimal) .wp-block-site-title {
	max-width: 183px;
	font-size: 0.9375rem;
	letter-spacing: 0.04em;
}
:is(.thelmz-checkout-header, .thelmz-header--minimal) .wp-block-site-logo img {
	height: 64px;
}
.thelmz-header__icons {
	gap: 0.25rem;
}
/* Search and account icons that only phones and tablets need (desktop has
   them in the top bar and left of the menu). */
@media (min-width: 1025px) {
	.thelmz-header .thelmz-phone-only {
		display: none !important;
	}
}
.thelmz-header__account a,
.thelmz-header__account .wc-block-customer-account__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--thelmz-tap);
	height: var(--thelmz-tap);
	padding: 0;
	border-radius: 50%;
	color: var(--wp--preset--color--teal-deep);
}
.thelmz-header__account a:hover {
	color: var(--wp--preset--color--rose-ink);
}
.thelmz-header__account svg {
	width: 24px;
	height: 24px;
}
@media (max-width: 380px) {
	.thelmz-header__icons {
		gap: 0 !important;
	}
	.thelmz-header :is(.wp-block-navigation__responsive-container-open, .thelmz-search-toggle > summary),
	.thelmz-header__account a {
		width: 40px;
		min-width: 40px;
	}
}

/* Icon buttons: search, menu and cart share one look. */
.thelmz-header :is(.wp-block-navigation__responsive-container-open, .wp-block-search__button, .wc-block-mini-cart__button) {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--thelmz-tap);
	min-width: var(--thelmz-tap);
	height: var(--thelmz-tap);
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--wp--preset--color--teal-deep);
	font-size: 1rem;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.thelmz-header :is(.wp-block-navigation__responsive-container-open, .wp-block-search__button, .wc-block-mini-cart__button) svg {
	display: block;
	width: 24px;
	height: 24px;
	min-width: 24px;
	min-height: 24px;
	margin: 0;
}
/* Search button (inside the field): blush circle that turns rose (g68). */
.thelmz-header .wp-block-search__button {
	background: var(--wp--preset--color--blush-soft);
}
.thelmz-header .wp-block-search__button svg {
	width: 20px;
	height: 20px;
	min-width: 20px;
	min-height: 20px;
}
.thelmz-header .wp-block-search__button:hover {
	background: var(--wp--preset--color--rose-ink);
	color: var(--wp--preset--color--white);
}
.thelmz-header .wc-block-mini-cart__button {
	width: auto;
	gap: 0.3rem;
	padding-inline: 0.5rem;
	border-radius: var(--wp--custom--radius--pill);
}
.thelmz-header .wc-block-mini-cart__button:hover {
	color: var(--wp--preset--color--rose-ink);
}
/* Cart count: a small blush bubble next to the icon (g68). */
.thelmz-header .wc-block-mini-cart__quantity-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
}
.thelmz-header .wc-block-mini-cart__badge {
	position: static;
	min-width: 1.5em;
	height: 1.5em;
	margin: 0;
	padding: 0 0.4em;
	transform: none;
	border: 0;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--blush);
	color: var(--wp--preset--color--teal-deep);
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.75rem;
	font-weight: 700;
}

/* Search (client's second preview test, 27 Oct): nothing pops out or flies
   back into an icon.
   - Computers (1025px and up): an ordinary search field, always open, left of
     the menu ("Search (computers: always open)" in the header).
   - Phones and tablets: the search icon (a Details block) opens a full-width
     search bar under the header. It stays open, also when the field loses
     focus, until the same button, now a cross, is pressed (or Escape). */
.thelmz-header .wp-block-search.thelmz-header-search {
	flex: 0 1 15rem;
	min-width: 9.5rem;
	margin: 0;
}
.thelmz-header .wp-block-search.thelmz-header-search .wp-block-search__inside-wrapper {
	box-sizing: border-box;
	width: 100% !important;
	padding: 3px;
}
.thelmz-header .wp-block-search.thelmz-header-search .wp-block-search__input {
	min-width: 0;
	min-height: 38px;
	padding: 0 0.25rem 0 0.9rem;
	font-size: 0.9375rem;
}
.thelmz-header .wp-block-search.thelmz-header-search .wp-block-search__button.has-icon {
	width: 38px;
	min-width: 38px;
	height: 38px;
	min-height: 38px;
	margin-left: 3px;
}
.thelmz-header .wp-block-search.thelmz-header-search .wp-block-search__button svg {
	width: 18px;
	height: 18px;
	min-width: 18px;
	min-height: 18px;
}
.thelmz-search-toggle {
	margin: 0;
	padding: 0;
	border: 0;
}
.thelmz-search-toggle > summary {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--thelmz-tap);
	height: var(--thelmz-tap);
	border-radius: 50%;
	background: var(--wp--preset--color--blush-soft);
	color: var(--wp--preset--color--teal-deep);
	font-size: 0; /* the word "Search" is for screen readers; the icon shows */
	list-style: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.thelmz-search-toggle > summary::-webkit-details-marker {
	display: none;
}
.thelmz-search-toggle > summary::before {
	content: "";
	display: block;
	width: 22px;
	height: 22px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 5c-3.3 0-6 2.7-6 6 0 1.4.5 2.7 1.3 3.7l-3.8 3.8 1.1 1.1 3.8-3.8c1 .8 2.3 1.3 3.7 1.3 3.3 0 6-2.7 6-6S16.3 5 13 5zm0 10.5c-2.5 0-4.5-2-4.5-4.5s2-4.5 4.5-4.5 4.5 2 4.5 4.5-2 4.5-4.5 4.5z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 5c-3.3 0-6 2.7-6 6 0 1.4.5 2.7 1.3 3.7l-3.8 3.8 1.1 1.1 3.8-3.8c1 .8 2.3 1.3 3.7 1.3 3.3 0 6-2.7 6-6S16.3 5 13 5zm0 10.5c-2.5 0-4.5-2-4.5-4.5s2-4.5 4.5-4.5 4.5 2 4.5 4.5-2 4.5-4.5 4.5z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.thelmz-search-toggle > summary:hover,
.thelmz-search-toggle[open] > summary {
	background: var(--wp--preset--color--rose-ink);
	color: var(--wp--preset--color--white);
}
.thelmz-search-toggle[open] > summary::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z'/%3E%3C/svg%3E");
}
.thelmz-search-toggle > summary:focus-visible {
	outline: 2px solid var(--wp--preset--color--rose);
	outline-offset: 2px;
}
/* The bar: full width, straight under the header (no animation). */
.thelmz-header .thelmz-search-toggle > .wp-block-search {
	position: absolute;
	top: 100%;
	right: 0;
	left: 0;
	z-index: 30;
	box-sizing: border-box;
	margin: 0;
	padding: 0.75rem var(--wp--style--root--padding-right) 0.75rem var(--wp--style--root--padding-left);
	border-top: 1px solid var(--thelmz-hairline);
	border-bottom: 1px solid var(--thelmz-hairline);
	background: var(--wp--preset--color--white);
}
.thelmz-header .thelmz-search-toggle .wp-block-search__inside-wrapper {
	box-sizing: border-box;
	width: 100% !important;
	max-width: 40rem;
	margin-inline: auto;
}

/* Desktop menus: Marcellus capitals, deep teal, rose for the current page. */
.thelmz-nav .wp-block-navigation-item__content {
	color: var(--wp--preset--color--teal-deep);
}
.thelmz-nav-left,
.thelmz-nav-right {
	gap: 0;
}
:is(.thelmz-nav-left, .thelmz-nav-right) > .wp-block-navigation__container {
	gap: 0;
}
:is(.thelmz-nav-left, .thelmz-nav-right) .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
	padding: 0.6em 0.9em;
}
:is(.thelmz-nav-left, .thelmz-nav-right) .wp-block-navigation__container > .wp-block-navigation-item.has-child > .wp-block-navigation-item__content {
	padding-right: 0.25em;
}
:is(.thelmz-nav-left, .thelmz-nav-right) .wp-block-navigation-item__content:hover,
:is(.thelmz-nav-left, .thelmz-nav-right) :is(.current-menu-item, .current-menu-ancestor) > .wp-block-navigation-item__content {
	color: var(--wp--preset--color--rose-ink);
}
:is(.thelmz-nav-left, .thelmz-nav-right) .wp-block-navigation__submenu-icon {
	margin-right: 0.6em;
	color: var(--wp--preset--color--teal-deep);
}
/* Drop-down (Shop): dark panel, small capitals, rose on hover (g68). */
:is(.thelmz-nav-left, .thelmz-nav-right) .wp-block-navigation__submenu-container {
	min-width: 200px !important;
	padding: 0;
	border: 0 !important;
	background: var(--wp--preset--color--teal-deep) !important;
	box-shadow: 0 2px 13px rgba(0, 0, 0, 0.1);
}
:is(.thelmz-nav-left, .thelmz-nav-right) .wp-block-navigation__submenu-container .wp-block-navigation-item {
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
:is(.thelmz-nav-left, .thelmz-nav-right) .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	width: 100%;
	padding: 1em 1.2em;
	color: var(--wp--preset--color--blush-soft);
	font-size: 0.8125rem;
}
:is(.thelmz-nav-left, .thelmz-nav-right) .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
:is(.thelmz-nav-left, .thelmz-nav-right) .wp-block-navigation__submenu-container .current-menu-item > .wp-block-navigation-item__content {
	background: var(--wp--preset--color--rose-ink);
	color: var(--wp--preset--color--white);
}

/* Narrow desktops (1025-1279px): smaller menu type and padding so both menus,
   the logo and the icons fit on one row without overflow. */
@media (min-width: 1025px) and (max-width: 1279px) {
	.thelmz-header__row {
		gap: 0.5rem;
	}
	.thelmz-header__start,
	.thelmz-header__end {
		gap: 0.25rem;
	}
	.thelmz-header__brand {
		max-width: 15rem;
		padding-inline: clamp(0.25rem, 2.5vw - 1.5rem, 1.875rem);
	}
	:is(.thelmz-nav-left, .thelmz-nav-right) .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
		padding-inline: clamp(0.35em, 1.6vw - 1em, 0.9em);
		font-size: clamp(0.875rem, 0.5rem + 0.75vw, 1.0625rem);
		letter-spacing: 0.03em;
	}
	:is(.thelmz-nav-left, .thelmz-nav-right) .wp-block-navigation__submenu-icon {
		margin-right: 0.35em;
	}
}
/* The search, cart and menu buttons never shrink into ovals (the computer
   search field may narrow, down to its minimum width). */
.thelmz-header :is(.thelmz-search-toggle, .wp-block-search__button, .wc-block-mini-cart, .thelmz-header__icons) {
	flex-shrink: 0;
}

/* Desktop (1025px and up): two menus; the phone menu button is hidden. */
@media (min-width: 1025px) {
	.thelmz-nav-phone {
		display: none !important;
	}
}

/* Phones and tablets: logo on the left; cart and menu button on the right. */
@media (max-width: 1024px) {
	.thelmz-header {
		padding-top: 0.75rem;
		padding-bottom: 0.75rem;
	}
	.thelmz-header__row {
		min-height: 56px;
	}
	.thelmz-header__start,
	.thelmz-nav-left,
	.thelmz-nav-right {
		display: none !important;
	}
	.thelmz-header__brand {
		order: 1;
		flex: 1 1 auto;
		min-width: 0;
		align-items: flex-start !important;
		padding-inline: 0;
	}
	.thelmz-header__brand :is(.wp-block-site-title, .wp-block-site-tagline) {
		text-align: left !important;
	}
	.thelmz-header__end {
		order: 2;
		flex: 0 0 auto;
		justify-content: flex-end !important;
		margin-right: -10px;
	}
	/* Still wider than the shop name, which goes on two lines under it. */
	.thelmz-header:not(.thelmz-header--minimal) .wp-block-site-title {
		max-width: 100px;
		font-size: 0.8125rem;
	}
	.thelmz-header .wp-block-site-logo img {
		height: 96px;
	}
}
/* Small phones: four header icons leave less room. */
@media (max-width: 480px) {
	.thelmz-header .wp-block-site-tagline {
		font-size: 0.8125rem;
	}
}

/* Phone menu: a side panel from the right on deep teal (g68 drawer). */
.thelmz-nav-phone .wp-block-navigation__responsive-container.is-menu-open {
	left: auto;
	width: min(400px, 88vw);
	padding: 1rem 1.5rem 2.5rem;
}
/* Dimmed page left of the panel: catches taps and swipes so the page behind
   never scrolls (iOS Safari ignores overflow alone for touch scrolling). */
.thelmz-nav-phone:has(.is-menu-open)::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: rgba(14, 51, 51, 0.45);
	touch-action: none;
}
.thelmz-nav-phone .wp-block-navigation__responsive-container.is-menu-open {
	overscroll-behavior: contain;
}
html.has-modal-open,
html.has-modal-open body {
	overflow: hidden;
	overscroll-behavior: none;
}
.thelmz-nav-phone .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 3.5rem;
	align-items: stretch;
	gap: 0;
}
.thelmz-nav-phone .wp-block-navigation__responsive-container-close {
	top: 0;
	right: -6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--thelmz-tap);
	height: var(--thelmz-tap);
	color: var(--wp--preset--color--blush-soft);
}
.thelmz-nav-phone .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	width: 100%;
	gap: 0;
	align-items: stretch;
}
.thelmz-nav-phone .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
	width: 100%;
	align-items: stretch;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.thelmz-nav-phone .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	display: block;
	width: 100%;
	padding: 1em 0;
	color: var(--wp--preset--color--blush-soft);
	font-size: 1.25rem;
	letter-spacing: 0;
	line-height: 1.2;
	text-transform: none;
}
.thelmz-nav-phone .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	width: 100%;
	padding: 0 0 0.5rem 1rem !important;
	gap: 0 !important;
}
.thelmz-nav-phone .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item:last-child {
	border-bottom: 0;
}
.thelmz-nav-phone .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 0.7em 0;
	font-size: 1rem;
}
.thelmz-nav-phone .wp-block-navigation__responsive-container.is-menu-open :is(.wp-block-navigation-item__content:hover, .current-menu-item > .wp-block-navigation-item__content) {
	color: var(--wp--preset--color--white);
	text-decoration: underline;
	text-underline-offset: 0.25em;
}

/* ---------- Footer (g68: logo, menu, bottom line; plus a slim contact line) ---------- */
.thelmz-footer a {
	text-decoration: none;
}
.thelmz-footer__brand {
	margin-bottom: 1.75rem;
}
.thelmz-footer .wp-block-site-logo img {
	width: auto;
	height: 176px;
}
/* Less white space above the footer (client review, 31 Oct 2026). */
.thelmz-footer.wp-block-group {
	padding-top: 2rem !important;
}
/* Every page ends 2rem above the footer, as the shop pages do (instead of a
   section's 100px): product pages, Journal posts and lists, cart, order
   received, written pages, and a full-width section that ends a page
   (Services, Contact, FAQ). Photo bands (cover blocks, like the home page's
   last banner and About's "why us" band) and the teal call-to-action band
   keep their own even spacing; so do checkout and the not-found page. */
main.wp-block-group:is(.thelmz-product-page, .thelmz-single, .thelmz-cart-page, .thelmz-order-confirmation),
.thelmz-page-content.wp-block-post-content,
.thelmz-posts-area.wp-block-group,
.woocommerce-account main > .wp-block-group:last-child,
:is(.thelmz-page-content, .thelmz-flush-content) > .wp-block-group.alignfull:last-child:not(.is-style-section-teal) {
	padding-bottom: 2rem !important;
}
/* The delivery fees list ends the Delivery page: its last line (the WhatsApp
   link) keeps no space of its own below. */
.thelmz-delivery-fees > :last-child {
	margin-bottom: 0;
}
.thelmz-footer-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0 auto;
	padding: 0;
	list-style: none;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--medium);
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
.thelmz-footer-menu li {
	margin: 0;
}
.thelmz-footer-menu a {
	display: inline-flex;
	align-items: center;
	min-height: var(--thelmz-tap);
	padding: 0 1.3em;
	color: var(--wp--preset--color--teal-deep);
}
.thelmz-footer-menu a:hover,
.thelmz-footer-menu a[aria-current] {
	color: var(--wp--preset--color--rose-ink);
}
.thelmz-footer__contact {
	gap: 0.25rem 1.5rem !important;
	margin-block: 1.25rem 1rem !important;
	font-size: var(--wp--preset--font-size--small);
	text-align: center;
}
.thelmz-footer__contact > * {
	margin: 0 !important;
}
.thelmz-footer__base {
	border-top: 1px solid var(--thelmz-hairline);
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
	font-size: var(--wp--preset--font-size--small);
}
.thelmz-footer__base .wp-block-group {
	gap: 0.25rem 1.5rem;
}
.thelmz-footer__base p {
	margin: 0;
}
.thelmz-footer__base a {
	color: var(--wp--preset--color--rose-ink);
	text-decoration: underline;
}

/* ---------- Page heroes ---------- */
/* Template band (pages, journal, archives, search): dark words on white with a
   clear photo on the right; words on white only on phones, where a photo behind
   them was faded and hard to read (Mrs Thelma's phone review, 3 Nov 2026). The
   photos are 600px, so they are never drawn wider than that. */
.thelmz-title-band {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 240px;
	box-sizing: border-box;
	padding-top: var(--wp--preset--spacing--50);
	padding-bottom: var(--wp--preset--spacing--50);
	background: var(--wp--preset--color--white) url("../images/gallery-5.webp") right 50% / auto 500px no-repeat;
}
.thelmz-title-band > *,
.thelmz-archive-intro.wp-block-group > * {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
}
.thelmz-title-band::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, var(--wp--preset--color--white) calc(100% - 520px), rgba(255, 255, 255, 0) calc(100% - 250px));
}
.thelmz-title-band :is(h1, .wp-block-post-title, .wp-block-query-title) {
	margin: 0;
	text-wrap: balance;
}
.thelmz-title-band .wp-block-term-description,
.thelmz-title-band .thelmz-lede {
	max-width: 560px;
	margin: 0;
	color: var(--wp--preset--color--ink);
	text-wrap: pretty;
}
.thelmz-title-band .wp-block-term-description p {
	margin: 0;
}
.thelmz-title-band .wp-block-search {
	width: 100%;
}
/* Pattern hero at the top of a page (editable photo). */
.wp-block-cover.thelmz-page-hero {
	padding: var(--wp--preset--spacing--50) var(--wp--style--root--padding-right) var(--wp--preset--spacing--50) var(--wp--style--root--padding-left);
}
.wp-block-cover.thelmz-page-hero > .wp-block-cover__inner-container {
	width: 100%;
	max-width: var(--wp--style--global--wide-size);
	margin-inline: auto;
}
.thelmz-page-hero__inner {
	max-width: 560px;
}
.thelmz-page-hero__inner > * {
	margin-block: 0;
}
.thelmz-page-hero__inner > * + * {
	margin-block-start: 0.75rem;
}
.thelmz-page-hero__inner h1 {
	margin-block-start: 0.35rem;
}
@media (max-width: 781px) {
	.wp-block-cover.thelmz-page-hero {
		min-height: 260px !important;
	}
	.thelmz-page-hero__inner {
		margin-inline: auto;
		text-align: center;
	}
	.thelmz-title-band {
		background-image: none;
	}
	.thelmz-title-band::before,
	.thelmz-page-hero > img.wp-block-cover__image-background {
		display: none;
	}
	.thelmz-page-hero .wp-block-cover__gradient-background {
		background: var(--wp--preset--color--white) !important;
		opacity: 1;
	}
}
.thelmz-page-hero__inner > p:not(.is-style-eyebrow) {
	color: var(--wp--preset--color--ink);
}
/* Content that starts or ends with a full-width section meets the band and the footer
   (the content's bottom padding is 2rem: see "Every page ends 2rem above the footer"). */
.thelmz-page-content > .alignfull:first-child {
	margin-top: calc(-1 * var(--wp--preset--spacing--55)) !important;
}
.thelmz-page-content > .alignfull:last-child {
	margin-bottom: -2rem !important;
}
.thelmz-flush-content > :first-child:not(.alignfull) {
	margin-top: var(--wp--preset--spacing--50);
}
.thelmz-flush-content > :last-child:not(.alignfull) {
	margin-bottom: 2rem;
}

/* ---------- Home hero: photo with a white panel on the left ---------- */
.wp-block-cover.is-style-hero-split {
	padding: var(--wp--preset--spacing--60) var(--wp--style--root--padding-right) var(--wp--preset--spacing--60) var(--wp--style--root--padding-left);
}
.wp-block-cover.is-style-hero-split > .wp-block-cover__inner-container {
	width: 100%;
	max-width: var(--wp--style--global--wide-size);
	margin-inline: auto;
}
.thelmz-hero__panel {
	box-sizing: border-box;
	width: 51%;
	max-width: 640px;
	padding: 3.125rem;
	color: var(--wp--preset--color--ink);
}
.thelmz-hero__panel > * {
	margin-block: 0;
}
.thelmz-hero__panel > * + * {
	margin-block-start: 1.25rem;
}
.thelmz-hero__panel > .is-style-eyebrow + h1 {
	margin-block-start: 0.5rem;
}
.thelmz-hero__panel h1 {
	line-height: 1.25;
}
.thelmz-hero__panel .wp-block-buttons {
	margin-block-start: 2rem;
	gap: 1.875rem;
}
/* Phones and small tablets: the photo on top, centred words under it
   (Mrs Thelma's phone review, 3 Nov 2026). */
@media (max-width: 781px) {
	.wp-block-cover.is-style-hero-split {
		flex-direction: column;
		align-items: stretch;
		min-height: 0 !important;
		padding: 0;
		background: var(--wp--preset--color--white);
	}
	.is-style-hero-split > img.wp-block-cover__image-background {
		position: relative;
		flex: none;
		height: 260px;
	}
	.thelmz-hero__panel {
		width: 100%;
		max-width: none;
		padding: var(--wp--preset--spacing--40) var(--wp--style--root--padding-right) var(--wp--preset--spacing--55) var(--wp--style--root--padding-left);
		text-align: center;
	}
	.thelmz-hero__panel .wp-block-buttons {
		flex-direction: column;
		align-items: center;
		gap: 1.5rem;
	}
}
@media (min-width: 782px) and (max-width: 1024px) {
	.thelmz-hero__panel {
		width: 70%;
	}
}

/* ---------- Home sections ---------- */
/* Promo tiles */
.thelmz-promo .wp-block-cover {
	margin: 0;
	padding: 2.5rem 2.2rem;
}
.thelmz-promo .wp-block-cover__inner-container > * {
	margin-block: 0;
}
.thelmz-promo .wp-block-cover__inner-container > * + * {
	margin-block-start: 0.6rem;
}
.thelmz-promo .wp-block-buttons {
	margin-block-start: 1.25rem !important;
}
.thelmz-promo .wp-block-button.is-style-outline > .wp-block-button__link {
	padding: 0.25rem 1rem;
	font-size: var(--wp--preset--font-size--small);
}
.thelmz-promo__stack {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}
.thelmz-promo__stack > .wp-block-cover {
	flex: 1 1 0;
	min-height: 290px !important;
}
.thelmz-promo__tile-small .wp-block-cover__inner-container {
	max-width: 60%;
	margin-left: 0;
}
/* The middle tile: a clear photo with dark words on white under it, not words
   over a faded photo (Mrs Thelma's phone review, 3 Nov 2026). */
.thelmz-promo .wp-block-cover.thelmz-promo__tile-centre {
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	padding: 0;
	border: 1px solid var(--wp--preset--color--line);
	background: var(--wp--preset--color--white);
}
.thelmz-promo__tile-centre > img.wp-block-cover__image-background {
	position: relative;
	flex: 1 1 0;
	height: auto;
	min-height: 240px;
}
.thelmz-promo__tile-centre > .wp-block-cover__background {
	display: none;
}
.thelmz-promo .thelmz-promo__tile-centre > .wp-block-cover__inner-container {
	box-sizing: border-box;
	padding: 1.75rem;
	color: var(--wp--preset--color--ink);
}
/* Headings never split inside a word (tiles get narrow on tablets). */
.thelmz-promo :is(h2, h3, h4, p) {
	overflow-wrap: normal;
	word-break: normal;
	hyphens: manual;
}
/* Tablets: the tall and centre tiles side by side, the two small tiles as a
   full-width row underneath, so every tile is wide enough for its words. */
@media (min-width: 782px) and (max-width: 1024px) {
	.thelmz-promo.wp-block-columns {
		flex-wrap: wrap !important;
	}
	.thelmz-promo > .wp-block-column:not(.thelmz-promo__stack) {
		flex-basis: calc(50% - 0.9375rem) !important;
	}
	.thelmz-promo > .thelmz-promo__stack {
		flex-basis: 100% !important;
		flex-direction: row;
	}
	.thelmz-promo__tile-small .wp-block-cover__inner-container {
		max-width: 65%;
	}
}
@media (max-width: 781px) {
	.thelmz-promo .thelmz-promo__tile-tall {
		min-height: 420px !important;
	}
	.thelmz-promo .wp-block-cover.thelmz-promo__tile-centre {
		min-height: 0 !important;
	}
	.thelmz-promo__tile-centre > img.wp-block-cover__image-background {
		flex: none;
		height: 240px;
	}
	.thelmz-promo__stack > .wp-block-cover {
		min-height: 200px !important;
	}
}

/* Split heading + paragraph, photo pair, info boxes */
/* Side by side, the tall photo fills the wide photo's height, so both line
   up at the top and the bottom. */
@media (min-width: 782px) {
	.thelmz-photo-pair > .wp-block-column:last-child {
		position: relative;
		align-self: stretch;
	}
	.thelmz-photo-pair > .wp-block-column:last-child figure {
		position: absolute;
		inset: 0;
	}
	.thelmz-photo-pair > .wp-block-column:last-child img {
		width: 100%;
		height: 100% !important;
		aspect-ratio: auto !important;
		object-fit: cover;
	}
}
.thelmz-photo-pair figure,
.thelmz-mosaic figure {
	margin: 0;
}
.thelmz-mosaic .wp-block-column > figure + figure {
	margin-top: 1.25rem;
}
/* Side by side, the single tall photo fills its column, so it ends level with
   the two stacked photos (and the gap between them) in the other columns. */
@media (min-width: 782px) {
	.thelmz-mosaic > .wp-block-column:first-child {
		position: relative;
		align-self: stretch;
	}
	.thelmz-mosaic > .wp-block-column:first-child figure {
		position: absolute;
		inset: 0;
	}
	.thelmz-mosaic > .wp-block-column:first-child img {
		width: 100%;
		height: 100% !important;
		aspect-ratio: auto !important;
		object-fit: cover;
	}
}
.thelmz-infoboxes .thelmz-infobox {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	padding: 2rem 2.25rem;
}
.thelmz-infoboxes .thelmz-infobox + .thelmz-infobox {
	border-left: 1px solid var(--wp--preset--color--line);
}
.thelmz-infobox > figure {
	flex: 0 0 auto;
	margin: 0;
}
.thelmz-infobox h3 {
	margin: 0;
	line-height: 1.3;
}
.thelmz-infobox p {
	margin: 0.3rem 0 0;
	font-size: var(--wp--preset--font-size--small);
}
@media (max-width: 781px) {
	.thelmz-infoboxes .thelmz-infobox {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	.thelmz-infoboxes .thelmz-infobox + .thelmz-infobox {
		border-left: 0;
		border-top: 1px solid var(--wp--preset--color--line);
	}
}

/* Delivered by hand: photo with round badge, numbered steps */
.thelmz-steps__media {
	position: relative;
}
.thelmz-steps__media figure {
	margin: 0;
}
.thelmz-badge-circle {
	position: absolute;
	right: -1.5rem;
	bottom: -1.75rem;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 170px;
	height: 170px;
	margin: 0 !important;
	padding: 1.5rem;
	border-radius: 50%;
	background: var(--wp--preset--color--rose-ink);
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.2;
	text-align: center;
}
.thelmz-step {
	gap: 1.75rem !important;
	padding: 2rem 2.5rem;
}
.thelmz-steps__list > .thelmz-step + .thelmz-step {
	margin-block-start: 1.875rem;
}
.thelmz-step__number {
	flex: 0 0 3.5rem;
	margin: 0;
	color: var(--wp--preset--color--rose-ink);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 3.25rem;
	line-height: 1;
	text-align: center;
}
.thelmz-step h3 {
	margin: 0;
	line-height: 1.3;
}
.thelmz-step p:not(.thelmz-step__number) {
	margin: 0.4rem 0 0;
	font-size: var(--wp--preset--font-size--small);
}
@media (max-width: 781px) {
	.thelmz-badge-circle {
		display: none !important;
	}
	.thelmz-step {
		flex-direction: column;
		align-items: center !important;
		gap: 1rem !important;
		padding: 2.5rem 1.5rem;
		text-align: center;
	}
	.thelmz-step__number {
		flex-basis: auto;
	}
}

/* Our story: rows and the tall photo */
.thelmz-story__row figure {
	margin: 0;
}
.thelmz-story__row h3 {
	line-height: 1.35;
}
.thelmz-story .wp-block-separator {
	margin-block: var(--wp--preset--spacing--30);
	border-top: 1px solid var(--wp--preset--color--line);
	opacity: 1;
}
.thelmz-story__photo figure {
	margin: 0;
}
.thelmz-testimonial figure {
	flex: 0 0 auto;
	margin: 0;
}
.thelmz-person__name {
	margin: 0;
	color: var(--wp--preset--color--teal-deep);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.1875rem;
	line-height: 1.3;
}
.thelmz-person__role {
	margin: 0;
	font-size: var(--wp--preset--font-size--small);
}

/* Stats: dark words on white, with no photo behind them (Mrs Thelma's phone
   review, 3 Nov 2026). */
.wp-block-cover.thelmz-stats {
	min-height: 0;
	border-block: 1px solid var(--wp--preset--color--line);
	background: var(--wp--preset--color--white);
}
.thelmz-stats > :is(img.wp-block-cover__image-background, .wp-block-cover__background) {
	display: none;
}
.thelmz-stat > * {
	margin: 0;
}
.thelmz-stat__number {
	color: var(--wp--preset--color--rose-ink);
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(1.75rem, 1.3rem + 2vw, 3.5rem);
	line-height: 1.2;
	white-space: nowrap;
}
.thelmz-stat__label {
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--small);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
@media (max-width: 781px) {
	.thelmz-stats__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		row-gap: 2rem !important;
	}
}

/* Testimonials */
.thelmz-testimonials {
	gap: var(--wp--preset--spacing--40) !important;
}
.thelmz-testimonial {
	display: flex;
	flex-direction: column;
	padding: 2.5rem 2.25rem;
}
.thelmz-testimonial > * {
	margin-block: 0;
}
.thelmz-testimonial > * + * {
	margin-block-start: 1.25rem;
}
.thelmz-testimonial > :last-child {
	margin-top: auto;
	padding-top: 1.25rem;
}
.thelmz-testimonial h3 {
	line-height: 1.45;
}
.thelmz-testimonial__text {
	font-size: 1.1875rem;
	font-style: italic;
	line-height: 1.55;
}
@media (max-width: 781px) {
	.thelmz-testimonials,
	.thelmz-usps__grid {
		grid-template-columns: minmax(0, 1fr) !important;
	}
}

/* Customer reviews as the client's screenshots, in a row that scrolls sideways
   (decided 6 Nov 2026). The page itself never scrolls sideways. */
.thelmz-review-shots {
	align-items: center;
	display: flex;
	gap: var(--wp--preset--spacing--30);
	margin-top: var(--wp--preset--spacing--40);
	overflow-x: auto;
	padding-bottom: 0.75rem;
	scroll-snap-type: x proximity;
	scrollbar-width: thin;
}
.thelmz-review-shots::-webkit-scrollbar {
	height: 8px;
}
.thelmz-review-shots::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, 0.3);
	border-radius: 4px;
}
.thelmz-review-shots:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}
.thelmz-review-shots > .wp-block-image {
	flex: none;
	margin: 0;
	scroll-snap-align: start;
}
.thelmz-review-shots img {
	display: block;
	height: 600px;
	max-width: none;
	width: auto;
}
@media (max-width: 781px) {
	.thelmz-review-shots img {
		height: auto;
		max-height: 560px;
		max-width: 84vw;
		width: auto;
	}
}

/* Closing banner: a clear photo with the words on a white panel; on phones the
   photo on top and the words under it (Mrs Thelma's phone review, 3 Nov 2026). */
.thelmz-cta-banner > .wp-block-cover__background {
	display: none;
}
.thelmz-cta-banner .wp-block-cover__inner-container > .wp-block-group {
	box-sizing: border-box;
	padding: 2.5rem;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--ink);
}
@media (max-width: 781px) {
	.wp-block-cover.thelmz-cta-banner {
		flex-direction: column;
		align-items: stretch;
		min-height: 0 !important;
		padding: 0 !important;
		background: var(--wp--preset--color--white);
	}
	.thelmz-cta-banner > img.wp-block-cover__image-background {
		position: relative;
		flex: none;
		height: 240px;
	}
	.thelmz-cta-banner .wp-block-cover__inner-container > .wp-block-group {
		padding: var(--wp--preset--spacing--40) var(--wp--style--root--padding-right) var(--wp--preset--spacing--55) var(--wp--style--root--padding-left);
	}
}
/* Closing banner and quote band */
.thelmz-cta-banner .wp-block-cover__inner-container > .wp-block-group > * + *,
.thelmz-quote-band .wp-block-cover__inner-container > .wp-block-group > * + * {
	margin-block-start: 1rem;
}
.thelmz-cta-banner .wp-block-buttons {
	margin-block-start: 2rem !important;
	gap: 1.5rem;
}
.thelmz-quote-band__text {
	font-size: 1.375rem;
}

/* Icons in rose circles (promises, contact boxes) */
.thelmz-usp-clock,
.thelmz-icon-clock {
	--thelmz-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}
.thelmz-usp-leaf,
.thelmz-icon-leaf {
	--thelmz-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19c0-8 6-14 14-14 0 8-6 14-14 14z'/%3E%3Cpath d='M5 19l8-8'/%3E%3C/svg%3E");
}
.thelmz-usp-heart,
.thelmz-icon-heart {
	--thelmz-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.5-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.5-7 10-7 10z'/%3E%3C/svg%3E");
}
.thelmz-usp-email,
.thelmz-icon-email {
	--thelmz-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='1'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E");
}
.thelmz-usp-map,
.thelmz-icon-map {
	--thelmz-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6-6.2-6-11a6 6 0 0 1 12 0c0 4.8-6 11-6 11z'/%3E%3Ccircle cx='12' cy='10' r='2'/%3E%3C/svg%3E");
}
.thelmz-usp-phone,
.thelmz-icon-phone {
	--thelmz-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a1 1 0 0 1-1 1A16 16 0 0 1 4 5a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}
.thelmz-usp,
.thelmz-contact-box {
	display: grid;
	grid-template-columns: 2.75rem minmax(0, 1fr);
	column-gap: 1rem;
	align-items: start;
}
.thelmz-usp::before,
.thelmz-contact-box::before {
	content: "";
	grid-row: 1 / span 2;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	background: var(--thelmz-icon, none) center / 1.375rem no-repeat, var(--wp--preset--color--rose-ink);
}
.thelmz-usp > *,
.thelmz-contact-box > * {
	grid-column: 2;
	margin: 0;
}
.thelmz-usp h3,
.thelmz-contact-box h3 {
	line-height: 1.3;
}
.thelmz-usp p,
.thelmz-contact-box :is(p, .wp-block-buttons) {
	margin-top: 0.25rem;
	font-size: var(--wp--preset--font-size--small);
}
.thelmz-contact-boxes {
	gap: 1.5rem 2rem !important;
	margin-top: var(--wp--preset--spacing--30) !important;
}
.thelmz-contact-box:nth-child(n + 3) {
	padding-top: 1.5rem;
	border-top: 1px solid var(--wp--preset--color--line);
}
@media (max-width: 599px) {
	.thelmz-contact-boxes {
		grid-template-columns: minmax(0, 1fr) !important;
	}
	.thelmz-contact-box:nth-child(n + 2) {
		padding-top: 1.5rem;
		border-top: 1px solid var(--wp--preset--color--line);
	}
}

/* FAQs: two columns of white boxes, "+" markers (g68 accordions) */
.thelmz-faq > .wp-block-column {
	align-self: flex-start;
	padding: 0;
}
.thelmz-faq .wp-block-details {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid var(--thelmz-hairline);
}
.thelmz-faq .wp-block-details:last-child {
	border-bottom: 0;
}
.thelmz-faq .wp-block-details summary {
	display: flex;
	gap: 0.75rem;
	align-items: baseline;
	padding: 1rem 1.5rem;
	color: var(--wp--preset--color--teal-deep);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.1875rem;
	line-height: 1.4;
	list-style: none;
	cursor: pointer;
}
.thelmz-faq .wp-block-details summary::-webkit-details-marker {
	display: none;
}
.thelmz-faq .wp-block-details summary::before {
	content: "+";
	flex: 0 0 1rem;
	font-family: var(--wp--preset--font-family--body);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1;
}
.thelmz-faq .wp-block-details[open] summary::before {
	content: "\2013";
}
.thelmz-faq .wp-block-details > :not(summary) {
	margin: 0;
	padding: 0 1.5rem 1.25rem 3.25rem;
}
@media (max-width: 781px) {
	.thelmz-faq > .wp-block-column + .wp-block-column {
		margin-top: 0 !important;
		border-top: 1px solid var(--thelmz-hairline);
	}
}
/* Details elsewhere keep a simple hairline list. */
.wp-block-details summary {
	cursor: pointer;
}

/* About page */
.thelmz-florist-card {
	padding: 3rem 2.5rem;
	text-align: center;
}
.thelmz-florist-card > * {
	margin-block: 0;
}
.thelmz-florist-card > * + * {
	margin-block-start: 0.75rem;
}
.thelmz-florist-card > figure + * {
	margin-block-start: 1.5rem;
}
.thelmz-about-story .wp-block-separator {
	margin-block: var(--wp--preset--spacing--30);
	border-top: 1px solid var(--wp--preset--color--line);
	opacity: 1;
}
.thelmz-cards {
	gap: 0 !important;
}
.thelmz-card-simple figure {
	margin: 0;
}
.thelmz-card-simple h3 {
	margin: 0.75rem 0 0;
}
.thelmz-card-simple h3 a {
	color: var(--wp--preset--color--teal-deep);
	text-decoration: none;
}
.thelmz-card-simple h3 a:hover {
	color: var(--wp--preset--color--rose-ink);
}
.thelmz-card-simple p {
	margin-top: 0.25rem;
}

/* Services page */
.thelmz-service-box {
	padding: 2rem 1.75rem;
}
.thelmz-service-box > * {
	margin-block: 0;
}
.thelmz-service-box > * + * {
	margin-block-start: 0.6rem;
}
.thelmz-service-box h3 {
	margin-top: 1rem;
	line-height: 1.3;
}
@media (min-width: 782px) {
	.thelmz-service-boxes {
		position: relative;
		z-index: 2;
		margin-bottom: -5rem !important;
		padding-inline: 2.5rem;
	}
	.wp-block-cover.thelmz-service-band {
		margin-top: 0 !important;
		padding-top: 7rem;
	}
}
.thelmz-services > .thelmz-service {
	padding: 3rem 2.5rem;
}
.thelmz-services > .thelmz-service + .thelmz-service {
	margin-top: 1.875rem !important;
}
.thelmz-service__photo figure {
	margin: 0;
}
@media (min-width: 782px) {
	.thelmz-service__photo + .thelmz-service__photo figure,
	.thelmz-service-reverse .thelmz-service__photo:first-child figure {
		transform: translateY(-1.25rem);
	}
}
@media (max-width: 781px) {
	.thelmz-services > .thelmz-service {
		padding: 2rem 1.5rem;
	}
	.thelmz-services .thelmz-service__photo {
		flex-basis: calc(50% - 0.75rem) !important;
	}
	.thelmz-service.thelmz-service-reverse .thelmz-service__text {
		order: -1;
	}
	.thelmz-services .wp-block-columns {
		flex-wrap: wrap !important;
	}
	.thelmz-services .thelmz-service__text {
		flex-basis: 100% !important;
	}
}

/* Contact page */
.thelmz-contact figure,
.thelmz-ask figure {
	margin: 0;
}

/* Occasion tiles (image with label at the bottom) */
.thelmz-tile {
	overflow: hidden;
}
.thelmz-tile .wp-block-cover__inner-container a {
	color: inherit;
	text-decoration: none;
}
.thelmz-tile .wp-block-cover__inner-container a::after {
	content: "";
	position: absolute;
	inset: 0;
}
.thelmz-tile:hover .wp-block-cover__image-background {
	transform: scale(1.03);
}
.thelmz-tile .wp-block-cover__image-background {
	transition: transform 0.5s ease;
}

/* ---------- Mobile: centred text in stacked sections (g68 phones) ---------- */
@media (max-width: 781px) {
	:is(.thelmz-split, .thelmz-story, .thelmz-about-story, .thelmz-contact, .thelmz-ask, .thelmz-services) :is(h1, h2, h3, p) {
		text-align: center;
	}
	:is(.thelmz-split, .thelmz-story, .thelmz-about-story, .thelmz-contact, .thelmz-ask, .thelmz-services) .wp-block-buttons {
		justify-content: center;
	}
	.thelmz-contact .thelmz-contact-box :is(h3, p),
	.thelmz-contact .thelmz-contact-box .wp-block-buttons {
		text-align: left;
		justify-content: flex-start;
	}
}

/* ---------- Journal: white cards on blush (g68 blog) ---------- */
.thelmz-post-list .wp-block-post-template.is-layout-grid {
	grid-template-columns: minmax(0, 1fr);
	gap: 1.875rem;
}
@media (min-width: 782px) {
	.thelmz-post-list .wp-block-post-template.is-layout-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.thelmz-post-list-small .wp-block-post-template.is-layout-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
.thelmz-post-list .wp-block-post {
	display: flex;
	flex-direction: column;
	margin: 0;
	background: var(--wp--preset--color--white);
	box-shadow: var(--wp--preset--shadow--soft);
}
.thelmz-post-list .wp-block-post-featured-image {
	margin: 0;
	overflow: hidden;
}
.thelmz-post-list .wp-block-post-featured-image img {
	transition: transform 0.4s ease;
}
.thelmz-post-list .wp-block-post-featured-image a:hover img {
	transform: scale(1.03);
}
.thelmz-post-card {
	flex: 1 1 auto;
	margin: 0 !important;
	padding: 2rem;
}
.thelmz-post-card > * {
	margin-block: 0;
}
.thelmz-post-card__terms {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
.thelmz-post-card__terms a {
	color: var(--wp--preset--color--rose-ink);
	text-decoration: none;
}
.thelmz-post-list .wp-block-post-title {
	line-height: 1.3;
}
.thelmz-post-list .wp-block-post-title a,
.thelmz-entry .wp-block-post-title {
	color: var(--wp--preset--color--teal-deep);
	text-decoration: none;
}
.thelmz-post-list .wp-block-post-title a:hover {
	color: var(--wp--preset--color--rose-ink);
}
.thelmz-post-card__meta {
	font-size: var(--wp--preset--font-size--x-small);
}
.thelmz-post-card__meta > * {
	margin: 0;
}
.thelmz-post-list .wp-block-post-excerpt {
	font-size: var(--wp--preset--font-size--small);
}
.thelmz-post-list .wp-block-post-excerpt__excerpt {
	margin: 0;
}
.thelmz-post-list .wp-block-post-excerpt__more-text {
	margin: 1rem 0 0;
}
.thelmz-post-list .wp-block-post-excerpt__more-link {
	color: var(--wp--preset--color--teal-deep);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-decoration: none;
	text-transform: uppercase;
}
.thelmz-post-list .wp-block-post-excerpt__more-link::after {
	content: " \2192";
}
.thelmz-post-list .wp-block-post-excerpt__more-link:hover {
	color: var(--wp--preset--color--rose-ink);
}
.thelmz-post-list-small .thelmz-post-card {
	padding: 1.5rem;
}
.thelmz-entry {
	padding: 2rem;
	box-shadow: var(--wp--preset--shadow--soft);
}
.thelmz-entry > .wp-block-post-terms + .wp-block-post-title {
	margin-block-start: 0.35rem;
}
.thelmz-entry .wp-block-post-featured-image {
	margin-block-start: var(--wp--preset--spacing--30);
}
@media (max-width: 767px) {
	.thelmz-entry,
	.thelmz-post-card {
		padding: 1.5rem;
	}
}
.wp-block-query-total {
	margin-bottom: var(--wp--preset--spacing--30);
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
}
.thelmz-no-results {
	padding-block: var(--wp--preset--spacing--40);
}
/* Single post: previous / next */
.thelmz-post-nav {
	margin-top: var(--wp--preset--spacing--40) !important;
	padding-top: var(--wp--preset--spacing--30);
	border-top: 1px solid var(--wp--preset--color--line);
}
.thelmz-post-nav a {
	text-decoration: none;
}
.thelmz-post-nav .post-navigation-link__label {
	display: block;
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.thelmz-post-nav .post-navigation-link__title {
	font-family: var(--wp--preset--font-family--heading);
}

/* ---------- Breadcrumbs (core) ---------- */
.wp-block-breadcrumbs {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--x-small);
}
.wp-block-breadcrumbs a {
	display: inline-block;
	padding-block: 0.35rem;
	color: inherit;
	text-decoration: underline;
}
.wp-block-breadcrumbs a:hover {
	color: var(--wp--preset--color--rose-ink);
}
.wp-block-breadcrumbs [aria-current="page"] {
	color: var(--wp--preset--color--ink);
}
.thelmz-breadcrumbs-center ol {
	justify-content: center;
}

/* ---------- Pagination (core) ---------- */
.wp-block-query-pagination {
	gap: 0.5rem;
	margin-top: var(--wp--preset--spacing--50);
	font-size: var(--wp--preset--font-size--small);
}
.wp-block-query-pagination-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.4rem;
}
.wp-block-query-pagination :is(.page-numbers, .wp-block-query-pagination-previous, .wp-block-query-pagination-next) {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: var(--thelmz-tap);
	min-height: var(--thelmz-tap);
	margin: 0;
	padding: 0 0.85rem;
	border: 1px solid var(--wp--preset--color--line);
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--teal-deep);
	text-decoration: none;
}
.wp-block-query-pagination a:is(.page-numbers, .wp-block-query-pagination-previous, .wp-block-query-pagination-next):hover {
	border-color: var(--wp--preset--color--rose-ink);
	background: var(--wp--preset--color--rose-ink);
	color: var(--wp--preset--color--white);
}
.wp-block-query-pagination .page-numbers.current {
	border-color: var(--wp--preset--color--teal-deep);
	background: var(--wp--preset--color--teal-deep);
	color: var(--wp--preset--color--white);
}
.wp-block-query-pagination .page-numbers.dots {
	min-width: 0;
	border: 0;
	background: none;
}
.wp-block-query-pagination :is(.wp-block-query-pagination-previous-arrow, .wp-block-query-pagination-next-arrow) {
	margin: 0;
}

/* Call and email buttons show the number or address (thelmz-core
   contact-links.php): written as it is, not in capitals; the number stays on
   one line, an address may wrap after the @. */
.thelmz-contact-detail {
	letter-spacing: 0.02em;
	text-transform: none;
}
.thelmz-contact-detail--phone {
	white-space: nowrap;
}

/* ---------- Forms: search, comments, password-protected pages ---------- */
.wp-block-search:not(.wp-block-search__button-only) .wp-block-search__input,
.wp-block-post-comments-form :is(input:not([type="submit"]):not([type="checkbox"]):not([type="hidden"]), textarea),
.post-password-form input[type="password"] {
	box-sizing: border-box;
	min-height: 3rem;
	padding: 0.7rem 1.1rem;
	border: 1px solid var(--wp--preset--color--muted);
	border-color: var(--thelmz-field-border);
	border-radius: var(--wp--custom--radius--small);
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--body);
	font-size: 1rem; /* 16px: stops phones zooming in on focus */
}
:is(.wp-block-search__input, .wp-block-post-comments-form input, .wp-block-post-comments-form textarea, .post-password-form input)::placeholder {
	color: var(--wp--preset--color--muted);
	opacity: 1;
}
:is(.wp-block-search__input, .wp-block-post-comments-form input, .wp-block-post-comments-form textarea, .post-password-form input):focus-visible {
	border-color: var(--wp--preset--color--teal);
	outline: 2px solid var(--wp--preset--color--rose);
	outline-offset: 2px;
}
.wp-block-search:not(.wp-block-search__button-only) .wp-block-search__button {
	min-height: 3rem;
	margin-left: 0.5rem;
	padding: 0 1.4rem;
	border: 0;
}
.wp-block-search:not(.wp-block-search__button-only) .wp-block-search__button.has-icon {
	width: 3rem;
	padding: 0;
}
/* Button inside the field: one bordered field with a round rose button. */
.wp-block-search__button-inside .wp-block-search__inside-wrapper {
	padding: 4px;
	border: 1px solid var(--wp--preset--color--muted);
	border-color: var(--thelmz-field-border);
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--white);
}
.wp-block-search__button-inside .wp-block-search__inside-wrapper:focus-within {
	border-color: var(--wp--preset--color--teal);
	outline: 2px solid var(--wp--preset--color--rose);
	outline-offset: 2px;
}
.wp-block-search.wp-block-search__button-inside .wp-block-search__input {
	min-height: var(--thelmz-tap);
	padding: 0 0.5rem 0 1rem;
	border: 0;
	background: transparent;
}
.wp-block-search.wp-block-search__button-inside .wp-block-search__input:focus-visible {
	outline: none;
}
.wp-block-search.wp-block-search__button-inside .wp-block-search__button {
	min-height: var(--thelmz-tap);
	margin-left: 4px;
	border-radius: var(--wp--custom--radius--pill);
}
.wp-block-search.wp-block-search__button-inside .wp-block-search__button.has-icon {
	width: var(--thelmz-tap);
}
.thelmz-search-field {
	width: 100%;
	max-width: 32rem;
	margin-inline: auto !important;
}
.wp-block-post-comments-form textarea {
	min-height: 9rem;
}
.wp-block-post-comments-form label,
.post-password-form label {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
}
.post-password-form {
	max-width: var(--wp--style--global--content-size);
	margin-inline: auto;
}
.post-password-form input[type="submit"] {
	min-height: 3rem;
	margin-top: 0.5rem;
	padding: 0 2.5rem;
	border: 0;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--rose-ink);
	color: var(--wp--preset--color--white);
	font: 400 var(--wp--preset--font-size--medium) / 1 var(--wp--preset--font-family--heading);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
}
.post-password-form input[type="submit"]:hover {
	background: var(--wp--preset--color--teal-deep);
}

/* ---------- 404 ---------- */
@media (min-width: 782px) {
	.thelmz-404 {
		display: flex;
		flex-direction: column;
		justify-content: center;
		min-height: min(62vh, 44rem);
	}
}
.thelmz-quick-links {
	color: var(--wp--preset--color--muted);
}

/* ---------- Shop pages: blush page with white cards (g68) ---------- */
main:has(.thelmz-catalog),
main.thelmz-product-page {
	background: var(--wp--preset--color--blush-soft);
}
/* Shop pages: less white space around the product grid and page numbers. */
main:has(.thelmz-catalog) {
	padding-bottom: 2rem !important;
}
.thelmz-catalog.wp-block-group {
	margin-top: 1.25rem !important;
}
.thelmz-catalog .wp-block-query-pagination {
	margin-top: 1.5rem;
}
.thelmz-archive-intro.wp-block-group {
	/* Tighter than the template's saved spacing: the client asked for less
	   white space above the breadcrumb and below the category buttons. No
	   minimum height either: a category's banner (breadcrumb and title only)
	   was centred in 240px, about 34px more space above and below. */
	padding-top: 1rem !important;
	padding-bottom: 1.25rem !important;
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	min-height: 0;
	box-sizing: border-box;
	background: var(--wp--preset--color--white) url("../images/gallery-6.webp") right 40% / auto 500px no-repeat !important;
}
.thelmz-archive-intro.wp-block-group::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, var(--wp--preset--color--white) calc(100% - 520px), rgba(255, 255, 255, 0) calc(100% - 250px));
}
.thelmz-archive-intro__text {
	color: var(--wp--preset--color--ink) !important;
}
@media (max-width: 781px) {
	.thelmz-archive-intro.wp-block-group {
		background-image: none !important;
	}
	.thelmz-archive-intro.wp-block-group::before {
		display: none;
	}
}
.thelmz-product,
.thelmz-product-info {
	box-sizing: border-box;
	padding: 2.5rem;
	background: var(--wp--preset--color--white);
	box-shadow: var(--wp--preset--shadow--soft);
}
@media (max-width: 781px) {
	.thelmz-product,
	.thelmz-product-info {
		padding: 1.25rem;
	}
}
/* WhatsApp help button on product pages: smaller so it stays on one line. */
.thelmz-product__help .wp-block-button__link {
	padding-inline: 1.5rem;
	font-size: var(--wp--preset--font-size--small);
	letter-spacing: 0.06em;
}
/* Product name on its page: Marcellus, tighter lines (g68). */
.thelmz-product .wp-block-post-title {
	line-height: 1.2;
}

/* ---------- Accessibility & motion ---------- */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--wp--preset--color--rose);
	outline-offset: 3px;
}
/* On teal, rose and photo backgrounds the focus ring turns blush so it stays visible (3:1). */
:is(.thelmz-topbar, .is-style-section-teal, .has-teal-background-color, .has-teal-deep-background-color, .has-rose-ink-background-color, .wp-block-navigation__responsive-container.is-menu-open) :focus-visible {
	outline-color: var(--wp--preset--color--blush);
}
body .skip-link.screen-reader-text:focus {
	top: 0.5rem;
	left: 0.5rem;
	padding: 0.75rem 1.25rem;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--teal-deep);
	color: var(--wp--preset--color--white);
	font: 400 var(--wp--preset--font-size--small) / 1.2 var(--wp--preset--font-family--heading);
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Legal pages: the "[Draft — client/legal to approve]" note at the top. */
.thelmz-draft-note {
	padding: 0.9rem 1.1rem;
	border-left: 4px solid var(--wp--preset--color--rose-ink);
	background: var(--wp--preset--color--blush-soft);
	color: var(--wp--preset--color--ink);
}
