/*
Theme Name: Anita Dakaj Art
Theme URI: https://anitadakajart.com
Author: Built for Anita Dakaj Art
Description: Lean hand-coded theme for Anita Dakaj Art. No page builder. Single stylesheet, minimal JavaScript, WooCommerce ready.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: anita
*/

/* ===============================================================
   ANITA DAKAJ ART
   Direction: quiet gallery. The pen-and-ink work is the loudest
   thing on every page. Type is editorial and calm, rules are
   hairline, the pink accent appears rarely enough to still mean
   something. Nothing animates that would pull the eye off a drawing.
   =============================================================== */

/* ---------------------------------------------------------------
   1. Tokens
   --------------------------------------------------------------- */
:root {
	/* --- Night (default). Ground is a touch deeper than the old site so
	   white ink drawings gain contrast without going pure black. --- */
	--bg:            #171918;
	--bg-raised:     #1e2120;
	--bg-input:      #121413;

	--text:          #c9c2b7;   /* 10.0:1 on --bg */
	--text-strong:   #f2ede4;   /* 13.9:1 */
	--text-muted:    #a49d92;   /* 6.2:1, was 4.8:1 and too close to the floor */

	/* The brand pink stays for fills. On a dark ground it only reaches
	   4.1:1 as small text, so links use a lifted tint that clears AA. */
	--accent:        #cc4e74;   /* the brand pink, kept exact */
	--accent-text:   #e2718e;   /* 6.1:1 on --bg, for links and small text */
	--accent-fill:   #b84061;   /* white clears 4.5:1 here; the brand pink does not */
	--accent-soft:   rgba(204, 78, 116, 0.16);
	--on-accent:     #ffffff;

	/* Answers a form gives back. Deliberately not the brand pink: pink is
	   the colour of the thing you press, and a message about what happened
	   after you pressed it should not wear the same coat. Both are warm and
	   desaturated so they sit with the ink rather than shouting over it,
	   which is what the plugin's stock neon green did.
	   Coral 6.3:1 on --bg, sage 7.6:1. */
	--notice-bad:       #e0736f;
	--notice-bad-soft:  rgba(224, 115, 111, 0.11);
	--notice-good:      #7fb08a;
	--notice-good-soft: rgba(127, 176, 138, 0.11);

	--rule:          rgba(242, 237, 228, 0.14);
	--rule-strong:   rgba(242, 237, 228, 0.30);

	color-scheme: dark;

	/* Montserrat is the brand wordmark face. Lora carries body copy:
	   a brushed serif whose modulated strokes sit naturally beside
	   hand-drawn ink, and which holds up on a dark ground. */
	--font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	--font-body:    "Lora", Georgia, "Times New Roman", serif;

	--wrap:        1280px;
	/* 50ch, and the intent behind the old 68ch was almost certainly "68
	   characters". `ch` is the width of a zero, not of an average letter,
	   and Lora's zero is 1.35 times its average character, so 68ch was
	   setting 92 characters to the line: well past the 45 to 75 that
	   sustained reading wants. Measured against real copy from the site,
	   50ch lands at 68 characters, which is what the name always meant.
	   Kept in `ch` rather than converted to rem so the measure still
	   tracks the font if the body size ever changes. */
	--wrap-text:   50ch;
	--rhythm:      clamp(3.5rem, 9vw, 7rem);
	--ease:        cubic-bezier(.22, .61, .36, 1);

	/* One height for every buying control, so the format picker, the
	   quantity stepper and the add-to-cart button line up exactly instead
	   of each resolving to whatever its own padding produced. 3.25rem is
	   52px, comfortably past the 24px minimum target size. */
	--control-h:   3.25rem;

	/* Drawn once and used as a mask, so the arrow takes the current text
	   colour in both schemes rather than needing a second coloured copy. */
	--chevron: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 11 7"><path d="M1 1l4.5 4.5L10 1" fill="none" stroke="black" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/></svg>');
	/* A painted copy of the chevron for backgrounds, which cannot take
	   currentColor. Night by default; the daylight scheme swaps it below. */
	--chevron-ink: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 11 7"><path d="M1 1l4.5 4.5L10 1" fill="none" stroke="%23f2ede4" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/></svg>');

	/* Drawn white rather than masked: it only ever sits on the accent fill
	   of a checked box, so it needs no colour of its own. */
	--tick: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 11 9"><path d="M1 4.6l3 3L10 1" fill="none" stroke="white" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}

/* --- Daylight. #FAFAFA is the site's established white, and the brand
   palette is pure #000000 throughout. Anita works in black ink on white
   paper, so the neutrals here carry no warm bias: any cream would tint
   the work and read as reproduction rather than as ink. --- */
:root[data-theme="light"] {
	--bg:            #fafafa;
	--bg-raised:     #ffffff;
	--bg-input:      #ffffff;

	--text:          #2b2b2b;   /* 13.7:1 on --bg */
	--text-strong:   #000000;   /* the brand black, 19.8:1 */
	--text-muted:    #5c5c5c;   /* 6.5:1 */

	--accent:        #b53f63;
	--accent-text:   #a2374f;   /* 6.4:1 on --bg */
	--accent-fill:   #9d3453;   /* white clears 4.5:1 here */
	--accent-soft:   rgba(181, 63, 99, 0.10);
	--on-accent:     #ffffff;

	--rule:          rgba(0, 0, 0, 0.14);
	--rule-strong:   rgba(0, 0, 0, 0.32);

	/* The night pair are lifted so they carry on a near-black ground, which
	   leaves them far too pale on #fafafa: they measured 2.94:1 and 2.37:1
	   there, under the 3:1 a UI element needs, and the wash was barely a
	   tint. Darkened here to 4.8:1 and 4.7:1. Same two hues, same roles. */
	--notice-bad:       #c1443f;
	--notice-bad-soft:  rgba(193, 68, 63, 0.10);
	--notice-good:      #3f7d52;
	--notice-good-soft: rgba(63, 125, 82, 0.10);

	--chevron-ink: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 11 7"><path d="M1 1l4.5 4.5L10 1" fill="none" stroke="%23000000" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/></svg>');

	color-scheme: light;
}

/* Grain gives the dark ground depth. On white it reads as a dirty sheet,
   which is the last thing a pen-and-ink page should look like. */
:root[data-theme="light"] body::after { display: none; }

/* Several works are drawn on a light ground and saved with a transparent
   margin: Swallow is 96% light at a mean luminance of 238. On a white page
   those have no edge at all and the tile reads as empty, even though the
   file loaded perfectly.
   drop-shadow follows the alpha channel rather than the box, so it traces
   each piece's true silhouette. White-grounded works gain a defined edge;
   dark-grounded ones are visually untouched. A plain background or border
   cannot do this: the transparent margin would show as a grey rectangle. */
:root[data-theme="light"] :is(
	ul.products li.product img,
	.category-tile img,
	.artwork-rail img,
	.woocommerce-product-gallery__image img,
	.entry__content img
) {
	filter:
		drop-shadow(0 1px 2px rgba(0, 0, 0, .20))
		drop-shadow(0 0 1px rgba(0, 0, 0, .16));
}

/* Theme changes should feel like a lamp being switched, not a jump cut. */
@media (prefers-reduced-motion: no-preference) {
	body, .site-header, .site-footer, .newsletter,
	input, textarea, select, .btn, button {
		transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
	}
}

/* ---------------------------------------------------------------
   2. Base
   --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
	line-height: 1.75;
	letter-spacing: 0.005em;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
}

/* Elementor's kit stylesheet loads after the theme and paints the body via
   `.elementor-kit-N`, which outranks a bare `body` rule. `body[class]` scores
   higher than a single class, so the gallery ground wins while page content is
   still being migrated off the builder. Remove once Elementor is gone. */
html body[class] {
	background-color: var(--bg);
	color: var(--text);
}

/* A whisper of paper tooth over the whole page. Fixed so it reads as
   surface rather than as something scrolling past. */
body::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 9999;
	pointer-events: none;
	opacity: 0.5;
	mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--text-strong); text-decoration: none; }
a:hover, a:focus-visible { color: var(--accent-text); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 500;
	color: var(--text-strong);
	line-height: 1.12;
	letter-spacing: -0.015em;
	margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem); }

p, ul, ol { margin: 0 0 1.4em; }

/* Long-form copy gets a comfortable measure regardless of container.
   Layout lists are excluded: a reading measure on the category grid caps
   it at roughly two columns and leaves the row half empty, and it held
   the signpost cards to 534px under a standfirst and
   a form that are both 736px, so the middle of the page stepped inwards
   for no reason. Written `:not(a, b)` rather than `:not(a):not(b)` so
   the rule keeps its (0,2,1) and nothing else in the cascade shifts. */
.entry__content > p,
.entry__content > ul:not(.category-grid, .routes),
.entry__content > ol { max-width: var(--wrap-text); }

hr { border: 0; border-top: 1px solid var(--rule); margin: var(--rhythm) 0; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
	outline: 1px solid var(--accent);
	outline-offset: 3px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px,1px,1px,1px);
	white-space: nowrap;
}

/* White on the brand pink only reaches 4.28:1. Inverting to the page
   ground with a pink rule clears AA comfortably and is more legible. */
.skip-link {
	position: absolute; left: -9999px;
	background: var(--bg);
	color: var(--text-strong);
	border: 1px solid var(--accent);
	padding: 0.8em 1.4em; z-index: 10000;
	font-family: var(--font-display);
	letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.75rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* The multi-currency plugin that used to render a fixed tab here is gone;
   the switcher is the theme's own now and lives with the nav, at section 17. */

/* ---------------------------------------------------------------
   3. Layout
   --------------------------------------------------------------- */
.wrap { width: min(100% - 3rem, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 3rem, 820px); }

.site-main { padding-block: clamp(2.5rem, 6vw, 4.5rem) var(--rhythm); }

.page-header {
	text-align: center;
	margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.page-header h1 { margin-bottom: 0.25em; }

/* Small caps label used above section headings. */
.eyebrow {
	font-family: var(--font-display);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 1.1em;
}

/* ---------------------------------------------------------------
   4. Load reveal
   One orchestrated entrance, staggered. Respects reduced motion.
   --------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
	.reveal { animation: rise .9s var(--ease) both; }
	.reveal--1 { animation-delay: .05s; }
	.reveal--2 { animation-delay: .16s; }
	.reveal--3 { animation-delay: .27s; }
}

@keyframes rise {
	from { opacity: 0; transform: translateY(14px); }
	to   { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------
   5. Header
   --------------------------------------------------------------- */
.site-header {
	padding-block: clamp(2rem, 5vw, 3.25rem) clamp(1.5rem, 3vw, 2rem);
	text-align: center;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: clamp(0.9rem, 2vw, 1.4rem);
}
.brand:hover { color: inherit; }

.brand__logo {
	width: clamp(56px, 7vw, 84px);
	aspect-ratio: 1;
	border-radius: 50%;
	flex: none;
	transition: transform .6s var(--ease);
}
.brand:hover .brand__logo { transform: rotate(-6deg) scale(1.04); }

.brand__name {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(1.7rem, 1rem + 3.2vw, 3.4rem);
	letter-spacing: -0.02em;
	color: var(--text-strong);
	line-height: 1;
	white-space: nowrap;
}

/* Primary nav: uppercase display type, hairline dot separators,
   and an underline that grows from the left on hover.
   Everything here is addressed as a direct child of the nav. The panel
   these rules also serve on a phone contains a second list, of social
   icons, and a bare `.main-nav ul` at (0,1,1) quietly outranked its own
   class: the menu's 2rem column gap landed on the icons and wrapped them
   onto two lines, and the dot separators appeared between them. */
.main-nav { margin-top: clamp(1.4rem, 3vw, 2.1rem); }

.main-nav > ul {
	list-style: none;
	margin: 0; padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.4rem 2rem;
}

.main-nav > ul > li { position: relative; }

.main-nav > ul > li + li::before {
	content: "";
	position: absolute;
	left: -1rem; top: 50%;
	width: 2px; height: 2px;
	margin-top: -1px;
	border-radius: 50%;
	background: var(--rule-strong);
}

.main-nav > ul > li > a {
	position: relative;
	display: inline-block;
	font-family: var(--font-display);
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--text);
	padding-block: 0.4em;
	transition: color .3s var(--ease);
}
.main-nav > ul > li > a::after {
	content: "";
	position: absolute;
	left: 0; bottom: 0;
	width: 100%; height: 1px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .4s var(--ease);
}
.main-nav > ul > li > a:hover::after,
.main-nav > ul > .current-menu-item > a::after { transform: scaleX(1); }
.main-nav > ul > li > a:hover,
.main-nav > ul > .current-menu-item > a { color: var(--text-strong); }

/* Cart sits in the same list but reads as an action, not a section. */
.main-nav > ul > li > a.header-cart,
.header-cart {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--accent-text);
	white-space: nowrap;
	letter-spacing: 0.12em;
}
.main-nav > ul > li > a.header-cart::after { display: none; }
.main-nav > ul > li > a.header-cart:hover { color: var(--accent-hover, #e0648a); }
.header-cart svg { width: 1.05em; height: 1.05em; fill: currentColor; flex: none; }

.nav-toggle {
	display: none;
	align-items: center;
	gap: 0.7rem;
	margin: 1.4rem auto 0;
	background: none;
	border: 1px solid var(--rule);
	color: var(--text-strong);
	font-family: var(--font-display);
	font-size: 0.72rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	/* 0.95em block padding on a 0.72rem label gives a 44px control, the
	   minimum a thumb should ever be asked to hit. */
	padding: 0.95em 1.5em;
	cursor: pointer;
	transition: border-color .3s var(--ease), color .3s var(--ease);
}
.nav-toggle:hover { border-color: var(--rule-strong); color: var(--accent-text); }

/* Two hairlines rather than the usual three: at this size a third reads as
   noise, and the word beside them is doing the real work of saying what
   the control is. */
.nav-toggle__bars {
	position: relative;
	width: 18px;
	height: 9px;
	flex: none;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	height: 1px;
	background: currentColor;
	transition: transform .3s var(--ease);
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after  { bottom: 0; }
.nav-toggle:hover .nav-toggle__bars::after { transform: translateX(4px); }

/* The panel's own furniture is meaningless on a desktop, where the nav is
   just a row of links.
   The foot is `contents`, not `none`: it holds the scheme toggle, which on
   a desktop is pinned to the corner of the viewport. `display: none` on an
   ancestor hides a fixed-position descendant too, so hiding the foot took
   the toggle off the page altogether and left no way to change scheme.
   `contents` drops the wrapper from the layout but keeps what it holds. */
.main-nav__head { display: none; }
.main-nav__foot { display: contents; }
/* The panel's own social row, though: the footer already has one. */
.main-nav .socials--nav { display: none; }

/* ---------------------------------------------------------------
   6. WooCommerce: product grid
   The gallery wall. Wide gutters, art first, captions quiet.
   --------------------------------------------------------------- */
.woocommerce ul.products,
ul.products {
	list-style: none;
	margin: 0; padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(clamp(200px, 24vw, 280px), 1fr));
	gap: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem);
}

/* One piece per screen turns a 24-work catalogue into an endless scroll.
   Two columns let someone take in the body of work the way they would scan
   a gallery wall, and the detail is one tap away. */
@media (max-width: 640px) {
	.woocommerce ul.products,
	ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2rem 1rem;
	}
	ul.products li.product .woocommerce-loop-product__title { font-size: 0.9rem; }
	ul.products li.product .button { font-size: 0.62rem; padding: 0.7em 1em; }
}

/* Each tile is a column so the buy action can be pinned to the bottom.
   Without this, a title that wraps to two lines pushes its own price and
   button down and the whole row falls out of step with its neighbours. */
ul.products li.product {
	margin: 0;
	text-align: center;
	display: flex;
	flex-direction: column;
}
.woocommerce ul.products li.product .button,
ul.products li.product .button { margin-top: auto; }

ul.products li.product a img,
ul.products li.product img {
	width: 100%;
	margin: 0 0 1.1rem;
	transition: transform .7s var(--ease), opacity .4s var(--ease);
}

/* WooCommerce's loop link wraps the title and price as well as the image,
   so any background set on it becomes a slab behind the caption. The
   surface belongs to the image alone. */
ul.products li.product a.woocommerce-LoopProduct-link {
	display: block;
	background: transparent;
}
/* Anita's files carry a transparent margin around the artwork, so any
   surface behind them shows as a grey plate rather than reading as a mount.
   The ground itself is the only backdrop the work needs. */
ul.products li.product a.woocommerce-LoopProduct-link img {
	background: transparent;
	overflow: hidden;
}
ul.products li.product:hover img { transform: scale(1.035); }

ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 400;
	font-style: italic;
	color: var(--text-strong);
	letter-spacing: 0;
	margin: 0 0 0.35rem;
	padding: 0;
}

ul.products li.product .price {
	font-family: var(--font-display);
	font-size: 0.8rem;
	letter-spacing: 0.1em;
	color: var(--text-muted);
	display: block;
}
ul.products li.product .price del { opacity: .5; margin-right: .4em; }
ul.products li.product .price ins { text-decoration: none; color: var(--accent-text); }

/* Add-to-cart on a loop tile stays understated until hovered.
   margin-top is auto, not a fixed value: it pins the button to the bottom
   of the tile so every button in a row lines up even when one title wraps
   to two lines. The breathing room comes from the link's own margin below,
   which an earlier fixed margin-top here was silently cancelling. */
/* WooCommerce sets `margin-top: 1em` on this at (0,4,3). A rule written
   against a bare `ul.products li.product .button` is (0,3,3) and loses, so
   inside a `.woocommerce` wrapper the auto margin never applied and the
   button sat directly under the price instead of at the foot of the tile.
   On the archives the custom loop emits no wrapper, so the shallow rule
   won there and the defect only showed in related products: three buttons
   in a row lined up and the fourth, whose title wrapped, did not. */
.woocommerce ul.products li.product .button,
ul.products li.product .button {
	margin-top: auto;
	font-size: 0.7rem;
	padding: 0.7em 1.4em;
}
ul.products li.product > a.woocommerce-LoopProduct-link { margin-bottom: 0.9rem; }

.woocommerce-result-count,
.woocommerce-ordering { display: none; }

.page-header__lede {
	max-width: 56ch;
	margin-inline: auto;
	color: var(--text-muted);
}

/* Pagination: numerals set like a plate list under a gallery wall. */
.pagination, nav.woocommerce-pagination, .page-numbers {
	margin-top: var(--rhythm);
}
ul.page-numbers {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	padding: 0;
	margin: var(--rhythm) 0 0;
}
ul.page-numbers li { margin: 0; }
.page-numbers a, .page-numbers span.page-numbers {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding-inline: 0.85em;
	font-family: var(--font-display);
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-muted);
	border: 1px solid transparent;
	transition: color .3s var(--ease), border-color .3s var(--ease);
}
.page-numbers a:hover { color: var(--text-strong); border-color: var(--rule); }
.page-numbers span.current {
	color: var(--text-strong);
	border-color: var(--rule-strong);
}
.page-numbers span.dots { border-color: transparent; }

/* The category grids are currently produced by Essential Addons rather
   than WooCommerce's own loop, so its markup needs the same gallery
   treatment. This block retires with the addon once the archives are
   rebuilt on native templates. */
.eael-product-wrap { background: transparent; text-align: center; }
.eael-product-wrap img { margin-inline: auto; }

.eael-product-wrap :is(.woocommerce-loop-product__title, .eael-product-title, h2, h3) {
	font-family: var(--font-body);
	font-size: 1rem;
	font-style: italic;
	font-weight: 400;
	color: var(--text-strong);
	margin: 1rem 0 0.35rem;
}

.eael-product-wrap .woocommerce-Price-amount,
ul.products .woocommerce-Price-amount {
	font-family: var(--font-display);
	font-size: 0.8rem;
	font-style: normal;
	letter-spacing: 0.1em;
	color: var(--text-muted);
}
.eael-product-wrap del .woocommerce-Price-amount { opacity: .55; }
.eael-product-wrap ins { text-decoration: none; }
.eael-product-wrap ins .woocommerce-Price-amount { color: var(--accent-text); }

/* Keep the buy action quiet until the visitor reaches for it. */
.eael-product-wrap :is(.add_to_cart_button, .button) {
	margin-top: 0.9rem;
	font-size: 0.68rem;
	padding: 0.75em 1.5em;
}

.eael-onsale, .eael-out-of-stock {
	font-family: var(--font-display);
	font-size: 0.62rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	background: var(--accent);
	color: var(--on-accent);
	padding: 0.45em 0.9em;
	border-radius: 0;
}

/* ---------------------------------------------------------------
   6b. WooCommerce's own archives: /shop/, product categories, tags
   Not part of the navigation - the menu points at the curated pages
   instead - but reachable, indexable, and linked by WooCommerce itself.
   They should look like the rest of the shop when someone lands on one.
   --------------------------------------------------------------- */

/* Every tile in the middle of a row was collapsing to 89px inside a 290px
   grid column, so a row read as wide, sliver, wide.

   The cause is a specificity tie that only half the rule wins. WooCommerce
   sizes tiles for a float layout with
   `.woocommerce ul.products.columns-3 li.product` at (0,4,0), and the
   theme's own reset above is `.woocommerce ul.products li.product`, which is
   (0,3,0) and loses. The `.first` and `.last` variants of that reset are
   (0,4,0), tie, and win on load order - which is exactly why the first and
   last tiles in each row looked right and the middle one did not.

   `[class*="columns-"]` buys the missing point of specificity without
   naming every column count, and it covers product tiles and category
   tiles alike: the ones on /shop/ are `li.product-category`, not
   `li.product.type-product`, so a class-based fix would have missed them. */
.woocommerce ul.products[class*="columns-"] li.product,
.woocommerce-page ul.products[class*="columns-"] li.product {
	float: none;
	width: auto;
	margin: 0;
	clear: none;
}

/* The category tiles on /shop/. WooCommerce gives them the same `.product`
   class as a real product, so everything above already applies; what is
   left is the caption, which is a link wrapping an <h2> and a count. */
.woocommerce ul.products li.product-category > a {
	display: block;
	background: transparent;
}
.woocommerce ul.products li.product-category h2,
.woocommerce ul.products li.product-category h3 {
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 400;
	font-style: italic;
	color: var(--text-strong);
	margin: 0;
}

/* The count arrives as `<mark>`, which carries a yellow highlight by
   default. On a page of ink drawings that was the loudest thing on screen.
   Same treatment as the licensing picker further down. */
.woocommerce ul.products li.product-category mark,
.woocommerce ul.products li.product-category .count {
	background: none;
	font-family: var(--font-display);
	font-size: 0.72rem;
	letter-spacing: 0.1em;
	color: var(--text-muted);
}

/* A category with no image of its own falls back to WooCommerce's
   placeholder, which is a light grey square and reads as a hole punched in
   a dark page. `anita_subcategory_thumbnail()` prints nothing in that case
   and marks the tile instead, so the space stays reserved and the row keeps
   its rhythm without pretending there is a picture. */
.woocommerce ul.products li.product-category .category-tile__blank {
	display: block;
	aspect-ratio: 1;
	margin-bottom: 1.1rem;
	border: 1px solid var(--rule);
	background: transparent;
}

/* The archive's own heading, and the "no products" case. Both come from
   WooCommerce rather than from a page, so neither had any styling. */
.woocommerce .woocommerce-products-header {
	margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}
.woocommerce .woocommerce-products-header__title {
	margin: 0;
}
.woocommerce .term-description {
	max-width: var(--wrap-text);
	color: var(--text-muted);
}
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-no-products-found .woocommerce-info {
	background: transparent;
	border-top: 1px solid var(--rule);
	color: var(--text-muted);
	padding: 1.2rem 0;
}

/* Result count and the sort dropdown. The catalogue is shown whole, so the
   count is noise and ordering is the artist's, not the visitor's. */
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
	display: none;
}

/* ---------------------------------------------------------------
   7. WooCommerce: single product
   The page is a gallery label card: the work on the left at the size
   it deserves, and a quiet, well-set label beside it.
   --------------------------------------------------------------- */
.woocommerce div.product {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
	column-gap: clamp(2rem, 5vw, 4.5rem);
	row-gap: 0;
	align-items: start;
}

/* WooCommerce appends the tabs and the related-products section as further
   children of div.product. Under a two-column grid they were auto-placed
   into row two as *columns*, which is why related products rendered as a
   single squeezed strip in the right half of the page while the tabs sat
   in the left. Everything below the fold belongs to the full width. */
.woocommerce div.product > .woocommerce-tabs,
.woocommerce div.product > .related,
.woocommerce div.product > .upsells,
.woocommerce div.product > .product-backlink,
.woocommerce div.product > .woocommerce-notices-wrapper,
.woocommerce div.product > .woocommerce-product-gallery + .clear,
.woocommerce div.product > .clear {
	grid-column: 1 / -1;
	width: 100%;
	min-width: 0;
}

/* Floated clearing divs from WooCommerce's templates would otherwise each
   claim a grid cell and open a phantom row. */
.woocommerce div.product > .clear { display: none; }

/* The sale flash is placed by the same hook as the gallery, so in a grid
   it would consume a cell. It belongs over the artwork. */
.woocommerce div.product > span.onsale {
	position: absolute;
	top: 0; left: 0;
	z-index: 3;
	margin: 0;
}

/* No sticky summary here, deliberately.
   Pinning the label while the artwork scrolls sounds right, and it is fine
   on the originals, whose summary is three short lines. But the t-shirts
   carry care instructions and their summary runs 920px. In an 820px-tall
   window a sticky element taller than the viewport freezes with its foot
   below the fold and stays there for the whole of the gallery's scroll
   range: the add-to-cart button sat 32px off-screen and no amount of
   scrolling could reach it. A buy button that cannot be clicked is a worse
   outcome than a column that scrolls normally, and CSS alone cannot ask
   whether the content happens to fit. */

.woocommerce div.product .product_title {
	margin-top: 0;
	margin-bottom: 0.5rem;
	text-wrap: balance;
}

/* A quiet way back to the collection. Sits above the artwork on its own
   line so it reads as orientation rather than as part of the label. */
.product-backlink {
	margin-bottom: clamp(1.25rem, 3vw, 2rem);
}
.product-backlink a {
	display: inline-flex;
	align-items: center;
	gap: 0.55em;
	font-family: var(--font-display);
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--text-muted);
	padding: 0.35em 0;
	transition: color .3s var(--ease);
}
.product-backlink a:hover { color: var(--accent-text); }
.product-backlink a span { transition: transform .3s var(--ease); }
.product-backlink a:hover span { transform: translateX(-3px); }

/* Price and medium read as one block of facts, set off from the buying
   controls below by a single hairline rather than by guessed margins. */
.summary__lede {
	padding-bottom: clamp(1.5rem, 3vw, 2rem);
	margin-bottom: clamp(1.5rem, 3vw, 2rem);
	border-bottom: 1px solid var(--rule);
}
.summary__lede > *:last-child { margin-bottom: 0; }

/* WooCommerce ships an olive default for prices. Override the amount
   itself, not just the wrapper, or the inner span keeps the old colour. */
.woocommerce div.product :is(.price, .price .woocommerce-Price-amount, .price bdi) {
	font-family: var(--font-display);
	font-size: 1.15rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: var(--text-strong);
}
.woocommerce div.product .price { margin-bottom: 1.5rem; }

/* WooCommerce colours every amount in its own green, which lands at
   2.98:1 on the paper ground. Amounts should take the colour of whatever
   container they sit in, since the theme already sets that deliberately. */
.woocommerce :is(.woocommerce-Price-amount, .amount, bdi),
.woocommerce :is(.price, .woocommerce-variation-price, .woocommerce-price-suffix) {
	color: inherit;
}
/* WooCommerce targets the price as `div.product p.price` at (0,3,2), which
   outranks a rule written against `.price` alone. Match the element part of
   their selector or the green survives on the paper ground at 3.27:1. */
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce div.product p.price *,
.woocommerce div.product span.price *,
.woocommerce div.product .woocommerce-variation-price .price {
	color: var(--text-strong);
}
/* WooCommerce scopes loop prices as `.woocommerce ul.products li.product
   .price` at (0,4,2). Matching that depth is required, otherwise related
   products still render in its own colour at 3.27:1 on the white ground. */
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .price *,
.woocommerce .related ul.products li.product .price,
.woocommerce .related ul.products li.product .price *,
ul.products li.product .price,
ul.products li.product .price * { color: var(--text-muted); }

/* Buttons inside migrated content carried the old theme's flat black.
   The label lives in a nested <span>, which the content colour rule above
   also matches, so the span must be named or white never reaches the text
   and the button reads at 1.77:1 despite a correct background. */
.entry__content :is(.elementor-button, .elementor-button-link, .elementor-size-md) {
	background-color: var(--accent-fill) !important;
	border-color: var(--accent-fill) !important;
	font-family: var(--font-display);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	border-radius: 0 !important;
}
.entry__content :is(.elementor-button, .elementor-button-link),
.entry__content :is(.elementor-button, .elementor-button-link) span,
.entry__content :is(.elementor-button, .elementor-button-link) .elementor-button-text,
.entry__content :is(.elementor-button, .elementor-button-link) .elementor-button-content-wrapper {
	color: var(--on-accent) !important;
}

.entry__content :is(.elementor-button, .elementor-button-link):hover {
	background-color: transparent !important;
	border-color: var(--accent) !important;
}
.entry__content :is(.elementor-button, .elementor-button-link):hover,
.entry__content :is(.elementor-button, .elementor-button-link):hover span {
	color: var(--accent-text) !important;
}

/* WooCommerce sets .woocommerce-product-gallery { float:left; width:48% }
   with enough weight to beat a bare class rule, which left the artwork
   floating at a third of its column. On a site selling images the image
   commands the space, so the float is cleared and the width reclaimed. */
.woocommerce div.product .woocommerce-product-gallery,
.woocommerce #content div.product .woocommerce-product-gallery,
div.product .woocommerce-product-gallery {
	float: none !important;
	width: 100% !important;
	/* The !important here is for the float and the width, which have to
	   beat WooCommerce. The bottom margin was collateral: a blanket
	   `margin: 0 !important` cannot be overridden by anything, including
	   an inline style, so the gallery could never be given air beneath it
	   when the layout stacks. Routed through a variable instead, which
	   sets the value without needing to out-shout this declaration. */
	margin: 0 0 var(--gallery-gap, 0) !important;
}
/* The slide, not the track. See the note on __wrapper below: the track has
   to stay wider than the frame or the carousel cannot slide. Without
   flexslider (no script) the slides have no inline width and this stacks
   them, which is the right fallback. */
.woocommerce div.product .woocommerce-product-gallery__image { width: 100%; }
.woocommerce div.product .woocommerce-product-gallery__image img { width: 100%; }

/* ---------------------------------------------------------------
   The gallery is a fixed square, so changing slide cannot move the page

   The drawings are photographed at whatever shape they are. On `Pick`
   the three slides measured 627, 400 and 388 pixels tall in the same
   gallery, and flexslider writes the current slide's height inline onto
   .flex-viewport and animates it. So clicking the second thumbnail
   collapsed the frame by 227px and threw everything below it - the
   price, the buy button, the whole page - upwards under the pointer.

   A square is the right frame rather than an arbitrary one: every main
   product image on this shop is already 1:1, so the hero fills it
   exactly and only the detail shots letterbox inside it. `contain`, not
   `cover`: this is artwork, and cropping it to fill a box is not a
   trade this site gets to make.

   The inline height has to be beaten with !important because flexslider
   sets it on the element itself and rewrites it on every slide change.
   --------------------------------------------------------------- */
.woocommerce div.product .woocommerce-product-gallery .flex-viewport {
	height: auto !important;
	aspect-ratio: 1 / 1;
	transition: none;
}

/* The single-image case never gets a .flex-viewport, so the frame is
   declared on the slide too and holds with or without the carousel. */
.woocommerce div.product .woocommerce-product-gallery__image {
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.woocommerce div.product .woocommerce-product-gallery__image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* The zoom overlay is positioned from the image's own box and must not be
   stretched by the rule above, or the magnified copy lands offset from
   the thing it is magnifying. */
.woocommerce div.product .woocommerce-product-gallery img.zoomImg {
	height: auto;
	object-fit: fill;
}

/* The artwork is now a control - see the lightbox forwarder in product.js -
   so it has to look like one before it is clicked, not only after. */
.woocommerce div.product .woocommerce-product-gallery__image > a {
	display: block;
	width: 100%;
	height: 100%;
	cursor: zoom-in;
}
.woocommerce div.product .woocommerce-product-gallery__image > a:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 4px;
}

/* ---------------------------------------------------------------
   The lightbox

   PhotoSwipe ships styled for a generic gallery: pure black, a chrome
   sprite for the buttons, and a caption in the browser default face. On a
   site whose whole subject is one artist's drawings that reads as a
   third-party viewer bolted on, so it is brought into the theme.

   The ground is the site's own near-black rather than #000. Pure black
   makes the white of the paper glare, and these are pen and ink drawings
   where the paper is half the work.
   --------------------------------------------------------------- */
.pswp__bg { background: var(--ground-deep, #131514); }

.pswp__caption__center {
	font-family: var(--font-body);
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--text-muted, #a49d92);
	text-align: center;
	padding: 1rem 1.25rem 1.5rem;
	max-width: 42rem;
}

.pswp__counter {
	font-family: var(--font-display);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	color: var(--text-muted, #a49d92);
	opacity: 1;
	padding: 0 0 0 1.25rem;
	height: 2.75rem;
	line-height: 2.75rem;
}

/* The default is 0.75 flat, which leaves the controls half-present at all
   times. Quiet until wanted, then definite. */
.pswp__button { opacity: 0.55; transition: opacity 0.18s ease; }
.pswp__button:hover,
.pswp__button:focus-visible { opacity: 1; }
.pswp__button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

.pswp__top-bar { background: none; }

/* The thumbnail strip, built in product.js because PhotoSwipe 4 has none.
   Sits over the bottom of the frame rather than taking a band out of it:
   the drawing is what the visitor came to look at and it keeps the whole
   height. */
.anita-pswp-thumbs {
	position: absolute;
	z-index: 1550;
	left: 0;
	right: 0;
	/* `bottom` is written by product.js, which measures how much of the
	   overlay a mobile browser has hidden behind its own toolbar. Zero is
	   the desktop answer and the starting point. */
	bottom: 0;
	padding: 1.75rem clamp(0.5rem, 3vw, 1.25rem)
		calc(1.15rem + env(safe-area-inset-bottom, 0px));
	background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0));
	/* The gradient reaches well above the thumbnails so it can fade out
	   properly. That whole band must not become a dead zone over the
	   artwork, so only the controls themselves take pointer events. */
	pointer-events: none;
}
.anita-pswp-thumbs > * { pointer-events: auto; }

.anita-pswp-thumbs__track {
	display: flex;
	flex-wrap: nowrap;
	/* Hugs its thumbnails and centres itself while they fit, then stops at
	   the full width and scrolls. Doing the centring with auto margins
	   rather than `justify-content` is what keeps the first thumbnail
	   reachable: see the note on the page strip. */
	width: fit-content;
	max-width: 100%;
	margin-inline: auto;
	gap: 0.5rem;
	min-width: 0;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.anita-pswp-thumbs__track::-webkit-scrollbar { display: none; }

/* Lighter than the page arrows because the ground here is PhotoSwipe's
   own near-black rather than the page, and `--bg` on a light theme would
   put a white disc in the middle of a blacked-out screen. */
/* Held between the same insets as the strip's own padding, so `margin-block:
   auto` centres it on the thumbnails rather than on the tall gradient above
   them. */
.anita-pswp-thumbs__arrow {
	position: absolute;
	top: 1.75rem;
	bottom: calc(1.15rem + env(safe-area-inset-bottom, 0px));
	margin-block: auto;
	z-index: 2;
	display: none;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 50%;
	background: rgba(18, 20, 19, 0.82);
	color: #fff;
	cursor: pointer;
	transition: background-color .25s ease, border-color .25s ease,
		opacity .25s ease, visibility .25s ease;
}
.anita-pswp-thumbs__arrow--prev { left: clamp(0.5rem, 3vw, 1.25rem); }
.anita-pswp-thumbs__arrow--next { right: clamp(0.5rem, 3vw, 1.25rem); }
.anita-pswp-thumbs__arrow svg { width: 10px; height: 16px; }
.anita-pswp-thumbs__arrow--next svg { transform: scaleX(-1); }
.anita-pswp-thumbs--scrollable .anita-pswp-thumbs__arrow { display: grid; }
.anita-pswp-thumbs__arrow:hover {
	background: rgba(255, 255, 255, 0.16);
	border-color: rgba(255, 255, 255, 0.6);
}
.anita-pswp-thumbs__arrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.anita-pswp-thumbs__arrow.is-spent {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

@supports (mask-image: linear-gradient(#000, #000)) {
	.anita-pswp-thumbs--scrollable .anita-pswp-thumbs__track {
		mask-image: linear-gradient(to right,
			transparent 0, #000 2.5rem, #000 calc(100% - 2.5rem), transparent 100%);
	}
	.anita-pswp-thumbs--scrollable.is-at-start .anita-pswp-thumbs__track {
		mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 2.5rem), transparent 100%);
	}
	.anita-pswp-thumbs--scrollable.is-at-end .anita-pswp-thumbs__track {
		mask-image: linear-gradient(to right, transparent 0, #000 2.5rem, #000 100%);
	}
}

.anita-pswp-thumbs__item {
	flex: 0 0 auto;
	width: 54px;
	height: 54px;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 0;
	background: none;
	cursor: pointer;
	opacity: 0.5;
	transition: opacity 0.18s ease, border-color 0.18s ease;
}
.anita-pswp-thumbs__item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.anita-pswp-thumbs__item:hover,
.anita-pswp-thumbs__item:focus-visible { opacity: 0.9; }
.anita-pswp-thumbs__item:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* The current one is stated by full opacity and a light edge, not by a
   colour, so it reads the same whichever drawing is under it. */
.anita-pswp-thumbs__item.is-current {
	opacity: 1;
	border-color: rgba(255, 255, 255, 0.9);
}

/* Ranged left was the old answer to a strip too wide for a phone. It is
   now a scroller, so it can stay centred: a set of three on a phone reads
   as centred under the drawing rather than as a row that ran out. */
@media (max-width: 560px) {
	.anita-pswp-thumbs { padding-bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px)); }
	.anita-pswp-thumbs__item { width: 44px; height: 44px; }
	.anita-pswp-thumbs__arrow {
		width: 32px;
		height: 32px;
		/* Matches the padding above, or the arrow drifts off centre. */
		bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px));
	}
}

@media (prefers-reduced-motion: reduce) {
	.anita-pswp-thumbs__item,
	.anita-pswp-thumbs__arrow { transition: none; }
}

@media (prefers-reduced-motion: reduce) {
	.pswp__button { transition: none; }
}

/* WooCommerce's zoom overlays an <img class="zoomImg"> at the source
   image's natural width, 815px here, on top of the gallery. Nothing clips
   it by default, so on a phone it drags the whole page sideways and
   leaves a horizontal scrollbar under every product.
   Clipped at the gallery and at each slide. Deliberately NOT at the track
   between them, which is 800% wide by design. */
.woocommerce div.product .woocommerce-product-gallery,
.woocommerce div.product .woocommerce-product-gallery__image {
	position: relative;
	overflow: hidden;
	max-width: 100%;
}
.woocommerce div.product .woocommerce-product-gallery img.zoomImg { pointer-events: none; }

/* ---------------------------------------------------------------
   Gallery: zoom trigger and thumbnails
   --------------------------------------------------------------- */
/* WooCommerce draws the full-screen trigger itself: a white disc with the
   magnifier built from ::before and ::after. That is a perfectly good icon
   and it is left in place. What needed fixing was everything around it.
   Their rules are scoped `div.product div.images .…trigger` at (0,4,2), so
   each override below has to match that depth; a shallower rule silently
   loses, which is how a hand-drawn icon and Woo's ended up stacked on top
   of each other. The disc and the glyph are also hard-coded white and
   black, which on the night scheme is a white button floating on a dark
   page. Both take the scheme's own colours here. */
.woocommerce div.product div.images .woocommerce-product-gallery__trigger,
.woocommerce div.product .woocommerce-product-gallery__trigger {
	position: absolute;
	top: 0.85rem;
	right: 0.85rem;
	left: auto;
	z-index: 4;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	background-color: var(--bg);
	border: 1px solid var(--rule);
	box-shadow: none;
	opacity: 0;
	transition: opacity .3s var(--ease), border-color .3s var(--ease);
}
.woocommerce div.product div.images .woocommerce-product-gallery__trigger::before {
	border-color: var(--text-strong);
}
.woocommerce div.product div.images .woocommerce-product-gallery__trigger::after {
	background-color: var(--text-strong);
}

/* Revealed on approach so nothing sits on top of a drawing while it is
   simply being looked at. Focus and touch reveal it unconditionally. */
.woocommerce div.product .woocommerce-product-gallery:hover .woocommerce-product-gallery__trigger,
.woocommerce div.product .woocommerce-product-gallery__trigger:focus-visible { opacity: 1; }
.woocommerce div.product .woocommerce-product-gallery__trigger:hover { border-color: var(--rule-strong); }
@media (hover: none) {
	.woocommerce div.product .woocommerce-product-gallery__trigger { opacity: 1; }
}

/* Thumbnails. WooCommerce floats these into a percentage grid of its own,
   so the first job is to stop it floating them.

   The layout itself is not decided here. This rule was a grid, and it is
   outranked further down the file by the single-row scroller under
   "The gallery thumbnails", which is where any change belongs. What is
   left here is only what that rule does not restate. */
.woocommerce div.product .flex-control-thumbs {
	list-style: none;
	padding: 0;
}
/* WooCommerce sizes these `width: 25%` at (0,4,2). Against its own float
   layout that meant four across; as a grid item the percentage resolves
   against the 80px track instead, so each thumbnail collapsed to 20px and
   the whole strip rendered as a 20px sliver under the artwork. Matching
   their depth is what makes the grid's own sizing apply. */
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li,
.woocommerce div.product div.images .flex-control-thumbs li,
.woocommerce div.product .flex-control-thumbs li {
	float: none;
	width: auto;
	margin: 0;
	list-style: none;
}
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs img,
.woocommerce div.product div.images .flex-control-thumbs img,
.woocommerce div.product .flex-control-thumbs img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	cursor: pointer;
	opacity: .55;
	border: 1px solid transparent;
	transition: opacity .3s var(--ease), border-color .3s var(--ease);
}
.woocommerce div.product .flex-control-thumbs img:hover { opacity: .85; }
/* Opacity alone is a weak signal for which frame is showing, and it is
   invisible to anyone who cannot distinguish the two levels. The active
   thumbnail also takes a border. */
.woocommerce div.product .flex-control-thumbs img.flex-active,
.woocommerce div.product .flex-control-thumbs img[aria-current="true"] {
	opacity: 1;
	border-color: var(--text-strong);
}

/* On a phone the gallery runs taller than the viewport, pushing size and
   price choices past two screenfuls. Cap it so the buying controls stay in
   reach. `contain` means no drawing is cropped to achieve it. */
@media (max-width: 640px) {
	.woocommerce div.product .woocommerce-product-gallery__image img {
		max-height: 62vh;
		width: auto;
		margin-inline: auto;
		object-fit: contain;
	}
}

/* The summary column is likewise floated by default. */
.woocommerce div.product .summary,
.woocommerce div.product .entry-summary {
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
}

/* ---------------------------------------------------------------
   Variation picker (Format, Size)
   WooCommerce renders this as a <table> with the label in a left cell,
   which produced a right-aligned "FORMAT" caption floating beside a raw
   operating-system dropdown. Tables also refuse to shrink below their
   content width and pushed the page sideways on a phone. Laid out as
   blocks the label sits above its field at every width, and the control
   can be styled to belong to the rest of the page.
   --------------------------------------------------------------- */
.woocommerce div.product .variations,
.woocommerce div.product .variations tbody,
.woocommerce div.product .variations tr,
.woocommerce div.product .variations th,
.woocommerce div.product .variations td {
	display: block;
	width: 100%;
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
	border: 0;
	text-align: left;
}
.woocommerce div.product .variations { margin-bottom: 1.6rem; }
.woocommerce div.product .variations tr + tr { margin-top: 1.2rem; }

.woocommerce div.product .variations th,
.woocommerce div.product .variations label {
	font-family: var(--font-display);
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin: 0 0 0.55rem;
	line-height: 1;
}

/* The value cell carries the chevron, so the select itself needs no
   background image and stays a single flat surface. */
.woocommerce div.product .variations td.value {
	position: relative;
}
.woocommerce div.product .variations td.value::after {
	content: "";
	position: absolute;
	top: 0;
	right: 1.15rem;
	height: var(--control-h);
	width: 11px;
	pointer-events: none;
	background-color: var(--text-strong);
	/* A mask rather than an inline SVG fill: the arrow then takes the text
	   colour and follows the light and dark schemes without a second rule. */
	-webkit-mask: var(--chevron) center / 11px 7px no-repeat;
	mask: var(--chevron) center / 11px 7px no-repeat;
	transition: background-color .3s var(--ease);
}
.woocommerce div.product .variations td.value:hover::after { background-color: var(--accent-text); }

/* WooCommerce draws its own chevron as a background image on the select,
   scoped `div.product form.cart .variations select` at (0,4,2). A rule
   written one level shallower loses, and the page shipped with two arrows
   stacked on top of each other. Match their depth and clear the image. */
.woocommerce div.product form.cart .variations select,
.woocommerce div.product .variations select {
	appearance: none;
	-webkit-appearance: none;
	background-image: none;
	width: 100%;
	height: var(--control-h);
	padding: 0 3rem 0 1.15rem;
	background: var(--bg-input);
	border: 1px solid var(--rule-strong);
	border-radius: 0;
	color: var(--text-strong);
	font-family: var(--font-display);
	font-size: 0.82rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	line-height: var(--control-h);
	cursor: pointer;
	transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.woocommerce div.product .variations select:hover { border-color: var(--text-strong); }
.woocommerce div.product .variations select:focus-visible {
	border-color: var(--accent);
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}
/* The popup list is drawn by the operating system and inherits nothing,
   so its colours have to be named or it opens white on the dark scheme. */
.woocommerce div.product .variations select option {
	background-color: var(--bg-input);
	color: var(--text-strong);
	font-family: var(--font-display);
}

/* WooCommerce hides this by writing `visibility: hidden` inline, which
   still reserves its box. That left a 50px hole between the format picker
   and the quantity row on every variable product, for a link that was not
   even on screen. Keying the display off the inline style it already sets
   takes the element out of the flow until there is something to reset. */
.woocommerce div.product .reset_variations { display: none; }
.woocommerce div.product .reset_variations[style*="visible"] {
	display: inline-block;
	margin-top: 0.75rem;
	font-family: var(--font-display);
	font-size: 0.66rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--text-muted);
	border-bottom: 1px solid var(--rule-strong);
	padding-bottom: 2px;
}
.woocommerce div.product .reset_variations:hover { color: var(--accent-text); border-color: var(--accent-text); }

/* The chosen variation's price and stock line. It replaces the range
   shown above, so it needs the same weight the range had. */
.woocommerce div.product .woocommerce-variation-description p:last-child { margin-bottom: 0; }
.woocommerce div.product .woocommerce-variation-price { margin-bottom: 1.2rem; }
.woocommerce div.product .woocommerce-variation-availability p {
	font-family: var(--font-display);
	font-size: 0.7rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 1rem;
}

.woocommerce div.product .woocommerce-product-details__short-description { margin-bottom: 0; }

.woocommerce div.product form.cart { margin-bottom: 2rem; }

/* Category and tags. Set as a label row, and the links given the
   underline they need to read as links without shouting. */
.woocommerce div.product .product_meta {
	font-family: var(--font-display);
	font-size: 0.68rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--text-muted);
	border-top: 1px solid var(--rule);
	padding-top: 1.4rem;
	margin-top: 2rem;
	line-height: 1.9;
}
.woocommerce div.product .product_meta > span { display: block; }
.woocommerce div.product .product_meta a {
	color: var(--text);
	border-bottom: 1px solid var(--rule);
	transition: color .3s var(--ease), border-color .3s var(--ease);
}
.woocommerce div.product .product_meta a:hover { color: var(--accent-text); border-color: var(--accent-text); }

/* ---------------------------------------------------------------
   Product tabs
   The tab strip and the attribute table inside it were the single
   biggest source of sideways scroll on a phone, 73px on their own.
   Tabs wrap instead of running off the edge, and the attribute table
   scrolls inside its own box rather than moving the page.
   --------------------------------------------------------------- */
.woocommerce div.product .woocommerce-tabs { max-width: 100%; }

.woocommerce div.product .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.75rem;
	margin: 0 0 2rem;
	padding: 0 0 0.55rem;
	border-bottom: 1px solid var(--rule);
	list-style: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after { display: none; }
/* li.active carries a white pill from WooCommerce and outranks a bare `li`
   rule, which left the active tab label at 1.17:1 on the dark ground. */
.woocommerce div.product .woocommerce-tabs ul.tabs li,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	margin: 0; padding: 0; border: 0; border-radius: 0;
	background: transparent !important;
	box-shadow: none !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	font-family: var(--font-display);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--text-muted);
	/* A 0.72rem label is a 20px line box, and these are standalone
	   controls rather than links inside a sentence, so the inline
	   exception to the 24px minimum target size does not apply to them.
	   The strip's own padding gives back what the anchors take. */
	display: block;
	padding-block: 0.32rem;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover { color: var(--text-strong); }

/* Prose is held to a readable measure; tables are not prose. Capping the
   whole panel at 68ch meant the inches size chart, which is wider than the
   centimetre one, was cut off mid-column with no sign that it scrolled.
   The measure moves onto the text elements so a table can use the width
   the section actually has. */
.woocommerce div.product .woocommerce-tabs .panel { max-width: 100%; }
.woocommerce div.product .woocommerce-tabs .panel > :is(p, ul, ol, h1, h2, h3, h4, blockquote) {
	max-width: var(--wrap-text);
}
.woocommerce div.product .woocommerce-tabs h2 { font-size: 1.2rem; }
/* The tab strip already names each panel; a heading repeating it is
   removed at the template level, but WooCommerce still emits an empty
   <h2> whose margin would open a gap where a title used to be. */
.woocommerce div.product .woocommerce-tabs .panel > h2:empty { display: none; }
.woocommerce div.product .woocommerce-tabs .panel > *:last-child { margin-bottom: 0; }

/* Now that the tabs span the full width rather than sharing a column with
   the artwork, they need room above them and a rule to sit under. */
.woocommerce div.product > .woocommerce-tabs {
	margin-top: var(--rhythm);
	padding-top: clamp(2rem, 4vw, 3rem);
	border-top: 1px solid var(--rule);
}

/* Any table in a tab panel or in page content scrolls inside its own box.
   Targeting only table.shop_attributes was not enough: the size chart in
   the t-shirt description is an unclassed <table>, and at 448px wide it
   dragged the page 58px sideways on a phone. Tables are the single most
   common cause of horizontal scroll, so the rule is deliberately broad. */
.woocommerce div.product .woocommerce-tabs table,
.woocommerce div.product .woocommerce-Tabs-panel table,
.woocommerce div.product table.shop_attributes,
.entry__content table {
	display: block;
	overflow-x: auto;
	max-width: 100%;
	border: 0;
	-webkit-overflow-scrolling: touch;
}
.woocommerce div.product table.shop_attributes th,
.woocommerce div.product table.shop_attributes td {
	border-bottom: 1px solid var(--rule);
	padding: 0.7em 0.9em 0.7em 0;
	font-style: normal;
}
.woocommerce div.product table.shop_attributes th { color: var(--text-muted); font-weight: 400; }

/* The size chart in the t-shirt descriptions is a plain unclassed table
   pasted from the manufacturer. Scrolling it inside its own box stopped it
   dragging the page sideways, but it still arrived with no rules, no
   header emphasis and figures set in a proportional serif, so the columns
   did not line up down the page. */
.woocommerce div.product .woocommerce-Tabs-panel table:not(.shop_attributes),
.entry__content table {
	border-collapse: collapse;
	font-family: var(--font-display);
	/* Was 0.82rem, which rendered at 13.12px. These are the numbers somebody
	   holds a tape measure against before choosing a size - the most
	   consequential figures on a garment page - and they were the smallest
	   text on it. */
	font-size: 0.95rem;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	margin-bottom: 1.75rem;
	/* These tables arrive from the manufacturer with a hard `width="448"`
	   attribute. Laid out as a block for scrolling, that attribute became a
	   real 448px clip: the inches chart needs 473px, so its 2XL column was
	   cut in half on a 1280px-wide page. max-content lets each table take
	   exactly the width its figures need, and max-width still hands it back
	   to the scroll container on a phone. */
	width: max-content;
	max-width: 100%;
}
.woocommerce div.product .woocommerce-Tabs-panel table:not(.shop_attributes) :is(th, td),
.entry__content table :is(th, td) {
	padding: 0.7em 1.1em;
	border-bottom: 1px solid var(--rule);
	text-align: right;
	vertical-align: middle;
}
/* The first column is a row label, not a figure. */
.woocommerce div.product .woocommerce-Tabs-panel table:not(.shop_attributes) :is(th, td):first-child,
.entry__content table :is(th, td):first-child {
	text-align: left;
	padding-left: 0;
	color: var(--text-muted);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	/* 0.68rem measured 10.88px next to figures at 13. A row label may sit
	   below its data but not that far below it. */
	font-size: 0.76rem;
	white-space: normal;
}
.woocommerce div.product .woocommerce-Tabs-panel table:not(.shop_attributes) tr:first-child :is(th, td),
.entry__content table thead :is(th, td) {
	color: var(--text-strong);
	font-weight: 500;
	border-bottom-color: var(--rule-strong);
}

/* ---------------------------------------------------------------
   Related products
   --------------------------------------------------------------- */
/* WooCommerce lays its loops out with floats and percentage widths:
   `.woocommerce ul.products li.product { float: left; width: 22.05% }`
   at (0,3,0). The theme's own grid rule is written against a bare
   `ul.products li.product` at (0,2,0) and loses, so every tile kept the
   float and the 22% width. Inside a full-width archive that stayed
   invisible because the grid still placed the items; inside the narrow
   related-products column it collapsed the tiles to 127px images stacked
   in a broken ladder. Clear the float at matching depth. */
.woocommerce ul.products li.product,
.woocommerce ul.products li.product.first,
.woocommerce ul.products li.product.last,
.woocommerce .related ul.products li.product,
.woocommerce .upsells ul.products li.product {
	float: none;
	width: auto;
	margin: 0;
	clear: none;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }

/* Scoped off `div.product` deliberately: these are re-hooked outside it so
   the sticky gallery stops at the summary. Written as `.related.products`
   rather than a bare `.related` to keep the weight these rules need over
   the archive grid they sit on top of. */
.woocommerce .related.products,
.woocommerce .upsells.products {
	margin-top: var(--rhythm);
	padding-top: clamp(2.5rem, 5vw, 4rem);
	border-top: 1px solid var(--rule);
}

/* The heading names a small closing section, not a new page, so it is set
   as a label rather than at display size. Centring it lets the four tiles
   below sit symmetrically under it. */
/* auto-fit with a capped track, not the archive's auto-fill: WooCommerce
   returns however many related products it finds, often two. Under the
   archive grid those two sat hard left in a four-column track list while
   the heading above them was centred. Collapsing the empty tracks and
   centring what is left keeps any count balanced under the heading, and
   the 280px cap stops two tiles inflating to half the page each. */
/* One row, never two.

   This used to be `repeat(auto-fit, minmax(180px, 280px))`, which is the
   right answer for a grid that may wrap and the wrong one here, because
   WooCommerce always renders four and auto-fit happily put the fourth on
   a second row on its own the moment the viewport could not hold four
   tracks. A single orphan tile under three reads as a layout error
   rather than as a closing section.

   So the column count is stated rather than inferred, and the tiles that
   would not fit in one row are not shown at all. The count and the
   breakpoints below have to be changed together - that is the cost of
   this approach, and it is why they sit in the same block.

   Hidden rather than not rendered: how many fit depends on the viewport,
   which PHP cannot know. */
.woocommerce .related.products ul.products,
.woocommerce .upsells.products ul.products {
	grid-template-columns: repeat(4, minmax(0, 280px));
	justify-content: center;
}
.woocommerce .related.products ul.products > li:nth-child(n + 5),
.woocommerce .upsells.products ul.products > li:nth-child(n + 5) { display: none; }

@media (max-width: 1079px) {
	.woocommerce .related.products ul.products,
	.woocommerce .upsells.products ul.products {
		grid-template-columns: repeat(3, minmax(0, 280px));
	}
	.woocommerce .related.products ul.products > li:nth-child(n + 4),
	.woocommerce .upsells.products ul.products > li:nth-child(n + 4) { display: none; }
}

@media (max-width: 779px) {
	.woocommerce .related.products ul.products,
	.woocommerce .upsells.products ul.products {
		grid-template-columns: repeat(2, minmax(0, 280px));
	}
	.woocommerce .related.products ul.products > li:nth-child(n + 3),
	.woocommerce .upsells.products ul.products > li:nth-child(n + 3) { display: none; }
}

.woocommerce .related.products > h2,
.woocommerce .upsells.products > h2 {
	font-family: var(--font-display);
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--text-muted);
	text-align: center;
	margin: 0 0 clamp(2rem, 4vw, 3rem);
}

@media (max-width: 860px) {
	/* minmax(0, 1fr), not 1fr: a bare fr track has an automatic minimum of
	   min-content, and flexslider writes an inline pixel width onto the
	   gallery wrapper. That let the column resolve to 448px inside a 327px
	   wrap and pushed the page sideways on every t-shirt. */
	.woocommerce div.product { grid-template-columns: minmax(0, 1fr); }

	/* Stacked, the artwork and its label are two blocks, not two columns,
	   so the row gap the desktop layout does not want is needed here. */
	.woocommerce div.product > .summary { margin-top: clamp(1.75rem, 5vw, 2.5rem); }

	.woocommerce div.product > .woocommerce-tabs,
	.woocommerce .related.products,
	.woocommerce .upsells.products { margin-top: clamp(2.75rem, 8vw, 4rem); }
}

@media (max-width: 560px) {
	/* The buy row needs no width override. `flex: 1 1 12rem` on the button
	   against a wrapping row does the right thing at every width on its
	   own: while the two fit side by side the button takes the remaining
	   space, and once the column is too narrow for a 12rem button beside
	   the stepper it wraps to its own line and grows to the full width.
	   An explicit 100% would have forced the wrap early and left a stub of
	   dead space beside the quantity on the wider phones. */

	/* Two works per screen rather than one: a phone should still show the
	   relationship between the pieces, the same as the collection pages. */
	.woocommerce .related.products ul.products,
	.woocommerce .upsells.products ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2rem 1rem;
	}
}

/* The currency switcher is styled in full at section 17; nothing about it
   is specific to the product page. */

/* Same reasoning for the gallery itself: it must be allowed to shrink. */
.woocommerce div.product .woocommerce-product-gallery,
.woocommerce div.product .summary,
.woocommerce div.product .entry-summary { min-width: 0; }

/* The frame, and only the frame.
   A flexslider gallery is three nested pieces: .flex-viewport is the window
   and is the width of the column; .woocommerce-product-gallery__wrapper is
   the track inside it, which the script sizes inline to 800% for eight
   slides; each __image is one slide, floated left at the window's width.
   Clicking a thumbnail slides the track sideways behind the window.

   This rule used to name the track as well, and `width: 100% !important`
   beat the inline 800%. Four 627px slides then had 627px of track to sit
   in, so they wrapped into a vertical column instead of a horizontal
   strip, the window's overflow:hidden cropped everything past the first,
   and the track slid sideways over slides that were no longer beside it.
   The gallery looked correct and every thumbnail but the first showed
   blank. The track must be free to be wider than what shows it. */
.woocommerce div.product .woocommerce-product-gallery .flex-viewport {
	width: 100% !important;
	max-width: 100% !important;
}

/* ---------------------------------------------------------------
   8. Forms and buttons
   --------------------------------------------------------------- */
input[type="text"], input[type="email"], input[type="search"],
input[type="tel"], input[type="number"], input[type="password"],
input[type="url"], textarea, select {
	width: 100%;
	background: var(--bg-input);
	border: 1px solid var(--rule);
	border-radius: 0;
	color: var(--text-strong);
	font-family: var(--font-body);
	font-size: 1rem;
	padding: 0.95em 1.1em;
	transition: border-color .3s var(--ease);
}
input::placeholder, textarea::placeholder { color: var(--text-muted); }
input:focus, textarea:focus, select:focus {
	border-color: var(--accent-text);
	outline: none;
}

/* Native select popups need an explicit dark background or the browser
   paints the option list white. Same defect we fixed on the live site. */
select, select option, select optgroup {
	background-color: var(--bg-input);
	color: var(--text-strong);
}

/* Not all WooCommerce output sits inside a .woocommerce wrapper: a custom
   loop emits bare `ul.products`, so the button rules must stand alone too. */
.btn,
button, input[type="submit"],
a.button, button.button, input.button,
.woocommerce a.button, .woocommerce button.button,
.woocommerce input.button, .woocommerce a.button.alt, .woocommerce button.button.alt {
	display: inline-block;
	background: transparent;
	color: var(--text-strong);
	border: 1px solid var(--rule-strong);
	border-radius: 0;
	font-family: var(--font-display);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	padding: 1em 2.2em;
	cursor: pointer;
	text-align: center;
	line-height: 1;
	transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
.btn:hover, button:hover, input[type="submit"]:hover,
a.button:hover, button.button:hover, input.button:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover,
.woocommerce input.button:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover {
	background: var(--text-strong);
	border-color: var(--text-strong);
	color: var(--bg);
}

/* Buying actions are the two loud moments on the site: add to cart, and
   proceed to checkout. WooCommerce paints .alt buttons in its own brand
   purple and layers a higher-specificity .disabled variant on top, so both
   states must be named or the shop ships in someone else's colour. */
.woocommerce a.checkout-button,
.woocommerce a.checkout-button.button.alt,
.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce input.button.alt,
.woocommerce button.button.alt.disabled,
.woocommerce button.button.alt:disabled,
.woocommerce button.button.alt:disabled[disabled],
button.single_add_to_cart_button.button.alt {
	background: var(--accent-fill);
	border-color: var(--accent-fill);
	color: var(--on-accent);
}

.woocommerce a.checkout-button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover:not(:disabled):not(.disabled) {
	background: transparent;
	color: var(--accent-text);
	border-color: var(--accent);
}

/* Disabled here means "choose a size first", so it should read as waiting
   rather than as broken. */
.woocommerce button.button.alt.disabled,
.woocommerce button.button.alt:disabled {
	opacity: .45;
	cursor: not-allowed;
}

/* ---------------------------------------------------------------
   Buying controls: quantity stepper and add to cart
   These two are one gesture and should read as one row. Both take
   --control-h, so they align exactly rather than approximately.
   --------------------------------------------------------------- */
.woocommerce div.product form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0.75rem;
}
/* The variation picker and the chosen-variation panel are full-width
   rows inside that flex container, not items sitting beside the button. */
.woocommerce div.product form.cart table.variations,
.woocommerce div.product form.cart .single_variation_wrap,
.woocommerce div.product form.cart .woocommerce-variation,
.woocommerce div.product form.cart .woocommerce-variation-description,
.woocommerce div.product form.cart .woocommerce-variation-price,
.woocommerce div.product form.cart .woocommerce-variation-availability {
	flex: 1 0 100%;
	min-width: 0;
}
/* Woo's variation form buries the quantity and the button two wrappers
   deep. Both wrappers have to be told to take the full row, or the inner
   one shrink-wraps to its content and the button drops onto its own line
   with a stub of empty space beside the quantity. */
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0.75rem;
	width: 100%;
}
/* The screen-reader alert Woo inserts for variation resets is a real
   element in the flex row and would otherwise open a 1px gap. */
.woocommerce div.product form.cart .reset_variations_alert { position: absolute; }

.woocommerce div.product form.cart .quantity,
.woocommerce .quantity {
	display: flex;
	align-items: stretch;
	flex: 0 0 auto;
	margin: 0;
	border: 1px solid var(--rule-strong);
	background: var(--bg-input);
	transition: border-color .3s var(--ease);
}
.woocommerce .quantity:focus-within { border-color: var(--accent); }

/* The input keeps no border of its own: the wrapper draws the single
   outline so minus, field and plus read as one object. */
.woocommerce div.product form.cart .quantity input.qty,
.woocommerce .quantity input.qty {
	width: 3rem;
	height: var(--control-h);
	padding: 0;
	border: 0;
	background: transparent;
	text-align: center;
	font-family: var(--font-display);
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--text-strong);
	/* Digits in a stepper change under a fixed frame, so proportional
	   figures make the field twitch on every press. */
	font-variant-numeric: tabular-nums;
	-moz-appearance: textfield;
}
.woocommerce .quantity input.qty:focus { outline: none; }
/* Native spinners are ~13px wide, well under the minimum target size, and
   are replaced by the buttons the script inserts. */
.woocommerce .quantity input.qty::-webkit-outer-spin-button,
.woocommerce .quantity input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.woocommerce .quantity .qty-step {
	display: grid;
	place-items: center;
	width: var(--control-h);
	min-width: var(--control-h);
	height: var(--control-h);
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--text-muted);
	cursor: pointer;
	transition: color .25s var(--ease), background-color .25s var(--ease);
}
.woocommerce .quantity .qty-step svg {
	width: 15px; height: 15px;
	stroke: currentColor;
	stroke-width: 1.4;
	stroke-linecap: round;
	fill: none;
}
.woocommerce .quantity .qty-step:hover:not(:disabled) {
	background: var(--accent-soft);
	color: var(--text-strong);
	border: 0;
}
.woocommerce .quantity .qty-step:disabled {
	opacity: .3;
	cursor: not-allowed;
}
.woocommerce .quantity .qty-step:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: -2px;
}

/* Before the script runs there is nothing to hide the native field's own
   look behind, so the wrapper only becomes a stepper once buttons exist.
   Without this the input would sit borderless and invisible on a phone
   with JavaScript blocked. */
.woocommerce .quantity:not(.quantity--stepper) input.qty {
	width: 4.5rem;
	-moz-appearance: auto;
}

/* Add to cart is the one loud moment on the page, so it takes the room
   left over rather than shrinking to fit its label. */
.woocommerce div.product form.cart button.single_add_to_cart_button,
.woocommerce div.product form.cart .single_add_to_cart_button {
	flex: 1 1 12rem;
	min-height: var(--control-h);
	padding-block: 0;
	font-size: 0.78rem;
	letter-spacing: 0.2em;
}

/* WooCommerce hides "Add to cart" behind a disabled state until a
   variation is chosen. It should read as waiting for an answer rather
   than as broken, and it must still say so to a screen reader. */
.woocommerce div.product form.cart button.single_add_to_cart_button.disabled {
	opacity: 1;
	background: transparent;
	border-color: var(--rule-strong);
	color: var(--text-muted);
}

/* ---------------------------------------------------------------
   9. Newsletter
   --------------------------------------------------------------- */
/* The newsletter and the social row are one closing movement, so the
   space between them should read as a single pause rather than two
   stacked blocks of padding. */
.newsletter {
	text-align: center;
	padding-block: var(--rhythm) clamp(2rem, 4vw, 3rem);
	border-top: 1px solid var(--rule);
}
.newsletter h2 { margin-bottom: 0.3em; }
.newsletter > .wrap > p {
	color: var(--text-muted);
	margin-inline: auto;
	margin-bottom: 2rem;
	max-width: 46ch;
}

.newsletter__form {
	display: flex;
	gap: 0.75rem;
	max-width: 540px;
	margin-inline: auto;
	flex-wrap: wrap;
}
.newsletter__form input[type="email"] {
	flex: 1 1 240px;
	text-align: center;
}
/* Once the row wraps on a phone the button lands alone on the second line.
   Left against a full-width field above it, it read as a stray control, so
   the wrapped line is centred to match everything else in this section. */
.newsletter__form { justify-content: center; }
.newsletter__form button { flex: 0 1 auto; }

.newsletter__notice {
	max-width: 46ch;
	margin: 0 auto 1.4rem;
	padding: 0.9em 1.2em;
	border: 1px solid var(--rule);
	font-size: 0.9rem;
}
.newsletter__notice--ok { border-color: var(--accent-text); background: var(--accent-soft); color: var(--text-strong); }
.newsletter__notice--error { border-color: var(--rule-strong); }

/* ---------------------------------------------------------------
   10. Socials
   Hairline rings rather than brand colours: a shop window, not a
   social feed. They fill with the accent only on hover.
   --------------------------------------------------------------- */
.socials {
	display: flex;
	justify-content: center;
	gap: 0.85rem;
	list-style: none;
	margin: 0;
	padding: 0 0 clamp(2.5rem, 5vw, 4rem);
}
.socials a {
	display: grid;
	place-items: center;
	width: 42px; aspect-ratio: 1;
	border: 1px solid var(--rule);
	border-radius: 50%;
	color: var(--text-muted);
	transition: color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.socials a:hover {
	color: var(--accent-text);
	border-color: var(--accent-text);
	transform: translateY(-3px);
}
.socials svg { width: 17px; height: 17px; fill: currentColor; }

/* ---------------------------------------------------------------
   11. Footer
   --------------------------------------------------------------- */
.site-footer {
	padding-block: clamp(2.5rem, 5vw, 3.5rem);
	text-align: center;
	border-top: 1px solid var(--rule);
}

.site-footer__brand { margin-bottom: 1.6rem; }
.site-footer__logo {
	width: 46px; aspect-ratio: 1;
	border-radius: 50%;
	margin: 0 auto 0.8rem;
	opacity: .85;
}
.site-footer__tagline {
	font-style: italic;
	color: var(--text-muted);
	font-size: 0.95rem;
	margin: 0;
}

.footer-nav ul {
	list-style: none;
	margin: 0 0 1.8rem;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 1.8rem;
}
.footer-nav li { position: relative; }
.footer-nav li + li::before {
	content: "";
	position: absolute;
	left: -0.9rem; top: 50%;
	width: 2px; height: 2px; margin-top: -1px;
	border-radius: 50%;
	background: var(--rule-strong);
}
.footer-nav a {
	font-family: var(--font-display);
	color: var(--text-muted);
	font-size: 0.7rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	transition: color .3s var(--ease);
}
.footer-nav a:hover { color: var(--accent-text); }

.site-footer__legal {
	color: var(--text-muted);
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	margin: 0;
}

/* ---------------------------------------------------------------
   11b. Migrated content components
   Markup the theme now owns outright, replacing builder widgets.
   --------------------------------------------------------------- */

/* Category tiles on the front page. Three doors into the work. */
/* The three categories are the site's primary navigation, so they should
   hold as one row for as long as they legibly can. A 260px minimum broke
   to two columns on a tablet and left T-shirts orphaned beside an empty
   half-row; 200px keeps all three together down to roughly 700px. */
.category-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: clamp(1.5rem, 3vw, 3rem);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}
/* Anita's three doors are a tall drawing, another tall drawing and a
   square garment photo. Left to their natural sizes the row is ragged and
   the labels sit at three different heights. Each tile gets an identical
   frame with the work centred inside it, the way a gallery uses matching
   mounts for differently shaped pieces. Nothing is cropped or stretched. */
.category-tile a {
	display: grid;
	grid-template-rows: clamp(240px, 26vw, 380px) auto;
	gap: 1.25rem;
	justify-items: center;
	align-items: center;
	text-decoration: none;
	color: inherit;
}
.category-tile img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	background: transparent;
	transition: transform .7s var(--ease);
}
.category-tile a:hover img { transform: scale(1.03); }
.category-tile__label {
	font-family: var(--font-display);
	font-size: 0.82rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--text-strong);
	position: relative;
	padding-bottom: 0.35em;
}
.category-tile__label::after {
	content: "";
	position: absolute;
	left: 50%; bottom: 0;
	width: 0; height: 1px;
	background: var(--accent);
	transform: translateX(-50%);
	transition: width .45s var(--ease);
}
.category-tile a:hover .category-tile__label::after { width: 100%; }

/* Horizontal artwork rail, replacing the builder carousel. Native scrolling
   with scroll-snap does the work: touch, trackpad and keyboard all behave
   correctly before any script runs. The arrows below are added on top of
   that for mouse users, who otherwise have only a 3px scrollbar to aim at.
   They are drawn at 44px so they clear the target-size minimum comfortably,
   which was the original reason for leaving them out. */
.artwork-rail {
	margin: clamp(2rem, 4vw, 3rem) 0;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
	scrollbar-color: var(--rule-strong) transparent;
	padding-bottom: 1rem;
}

/* The shell exists only so the arrows have something to be positioned
   against that is not itself scrolling. It is created by the script, so
   its absence is the no-JavaScript case and the rail is unaffected. */
.rail-shell { position: relative; }

.rail-arrow {
	position: absolute;
	top: calc(50% - 0.5rem);   /* less the rail's own bottom padding */
	transform: translateY(-50%);
	z-index: 2;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--rule-strong);
	border-radius: 50%;
	background: var(--bg);
	color: var(--text-strong);
	cursor: pointer;
	/* Hidden until the script confirms there is somewhere to scroll to. */
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s var(--ease), visibility .3s var(--ease),
		background-color .3s var(--ease), color .3s var(--ease),
		border-color .3s var(--ease);
}
.rail-arrow svg { width: 11px; height: 18px; }
.rail-arrow--prev { left: -22px; }
.rail-arrow--next { right: -22px; }
.rail-arrow--next svg { transform: scaleX(-1); }

.rail-shell--scrollable .rail-arrow { opacity: 1; visibility: visible; }

.rail-arrow:hover:not(:disabled) {
	background: var(--text-strong);
	border-color: var(--text-strong);
	color: var(--bg);
}
.rail-arrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* An arrow with nowhere to go is removed rather than dimmed. Hanging just
   22px outside the wrap it overlapped the first work by the width of its
   own circle, which at the top of the page was the first thing anyone saw.
   The edge fade now carries the "there is more" signal, so the arrows are
   free to be purely functional. */
.rail-arrow:disabled { opacity: 0; visibility: hidden; pointer-events: none; }

/* Hanging the arrows outside the rail needs room for them to hang into.
   Inside 1024px there is none, so they sit over the artwork instead and
   take a shadow to stay legible against whatever is behind them. */
@media (max-width: 1024px) {
	.rail-arrow--prev { left: 0.5rem; }
	.rail-arrow--next { right: 0.5rem; }
	.rail-arrow { box-shadow: 0 2px 12px rgba(0, 0, 0, .18); }
}

/* Touch scrolling is the natural gesture on a phone and the arrows would
   only cover the work. */
@media (hover: none) and (pointer: coarse) {
	.rail-arrow { display: none; }
}
.artwork-rail:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
.artwork-rail ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: clamp(1rem, 2.5vw, 1.75rem);
}
/* Anita's pieces are all different shapes, so a plain flex row leaves a
   ragged top edge. A shared frame height with the work centred inside it
   keeps the rail even without cropping or distorting any drawing. */
.artwork-rail li {
	flex: 0 0 clamp(210px, 26vw, 300px);
	scroll-snap-align: start;
	margin: 0;
}
/* A shared frame height with the work centred inside it, and the name on
   its own line below. Anita's pieces are every shape, so without the frame
   the names would sit at a different height under each one. */
.artwork-rail__frame {
	display: grid;
	place-items: center;
	height: clamp(220px, 27vw, 300px);
}
.artwork-rail img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	background: transparent;
}
.artwork-rail__name {
	display: block;
	margin-top: 0.9rem;
	font-family: var(--font-body);
	font-style: italic;
	font-size: 0.95rem;
	line-height: 1.35;
	color: var(--text-strong);
	text-align: center;
	transition: color .3s var(--ease);
}
.artwork-rail .work-open:hover .artwork-rail__name { color: var(--accent-text); }
.artwork-rail::-webkit-scrollbar { height: 3px; }
.artwork-rail::-webkit-scrollbar-thumb { background: var(--rule-strong); }
.artwork-rail::-webkit-scrollbar-track { background: transparent; }

.entry-figure { margin: clamp(2rem, 4vw, 3rem) 0; }
.entry-figure img { margin-inline: auto; background: transparent; }

/* text-align: center only centres within the box it is set on, and this
   paragraph was inheriting the 68ch prose measure from `.entry__content > p`.
   The button was therefore centred inside a 726px box sitting at the left
   of a 1280px page, landing it 300px left of the page's own centre while
   looking, in isolation, as though it had simply been indented. */
/* `.entry__content > p` sets the prose measure at (0,1,1), so a rule on
   `.entry-cta` alone at (0,1,0) loses and the cap survived. The element
   part has to be named for the call to action to escape the text column. */
.entry-cta,
.entry__content > p.entry-cta {
	margin: clamp(2rem, 4vw, 3rem) 0;
	text-align: center;
	max-width: none;
}

/* ---------------------------------------------------------------
   11d. Works dialog
   The full licensing set, shown at once. Replaces the builder popup
   the "view all" button used to open. A native <dialog> brings focus
   trapping, Escape to close and inert background for free.
   --------------------------------------------------------------- */
.works-dialog {
	width: min(1100px, calc(100vw - 2rem));
	max-width: none;
	max-height: calc(100vh - 4rem);
	margin: auto;
	padding: clamp(1.5rem, 4vw, 2.75rem);
	border: 1px solid var(--rule-strong);
	border-radius: 0;
	background: var(--bg);
	color: var(--text);
	overflow-y: auto;
	overscroll-behavior: contain;
}
.works-dialog::backdrop {
	background: rgba(0, 0, 0, .72);
	backdrop-filter: blur(2px);
}

.works-dialog__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding-bottom: 1.1rem;
	margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
	border-bottom: 1px solid var(--rule);
	/* The heading stays in view while the grid scrolls under it, so the
	   close control is always within reach of the pointer. */
	position: sticky;
	top: calc(clamp(1.5rem, 4vw, 2.75rem) * -1);
	background: var(--bg);
	padding-top: clamp(1.5rem, 4vw, 2.75rem);
	margin-top: calc(clamp(1.5rem, 4vw, 2.75rem) * -1);
	z-index: 1;
}
.works-dialog__title {
	font-family: var(--font-display);
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin: 0;
}
.works-dialog__close {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 40px; height: 40px;
	padding: 0;
	border: 1px solid var(--rule);
	border-radius: 50%;
	background: transparent;
	color: var(--text-strong);
	cursor: pointer;
	transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.works-dialog__close svg { width: 15px; height: 15px; }
.works-dialog__close:hover {
	background: var(--text-strong);
	border-color: var(--text-strong);
	color: var(--bg);
}

.works-dialog__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
	gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2vw, 1.75rem);
}
/* A shared square frame with the work centred inside it, the same device
   the rail uses. Anita's pieces are every shape, and without it the
   captions land at ten different heights down the grid. */
.works-dialog__grid li {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
.works-dialog__grid img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: contain;
	background: transparent;
}
.works-dialog__caption {
	font-family: var(--font-body);
	font-style: italic;
	font-size: 0.92rem;
	color: var(--text-strong);
	text-align: center;
	margin-top: auto;
}

/* A 220px minimum leaves only one column on a phone, turning ten works
   into a very long scroll. Two per screen is what the shop's own grids do
   at this width, and it lets someone compare pieces rather than page
   through them one at a time. */
@media (max-width: 560px) {
	.works-dialog__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.75rem 1rem;
	}
	.works-dialog__caption { font-size: 0.82rem; }
}

@media (prefers-reduced-motion: no-preference) {
	.works-dialog[open] { animation: works-dialog-in .28s var(--ease); }
	@keyframes works-dialog-in {
		from { opacity: 0; transform: translateY(12px); }
		to   { opacity: 1; transform: none; }
	}
}

/* ---------------------------------------------------------------
   11e. Licensing
   --------------------------------------------------------------- */
/* Every Everest form's grid, owned outright rather than negotiated with.
   Scoped to the content area rather than to the licensing page: the same
   plugin lays out the commissions brief and the contact form, and the
   normalisation below is not specific to any of them. Depth is unchanged,
   so nothing about which rules win has moved.
   Everest Forms builds its columns from a negative row margin, padding on
   the field container, and a side margin on each field that only appears
   from 768px up. Cancelling one part of that at the width where the other
   parts change left the rows hanging 15px outside the wrap on a tablet.
   Zeroing all three and supplying a real `gap` is deterministic at every
   width, and the selectors are deep enough to outrank the plugin's own
   (0,5,0) rules rather than relying on source order. */
.entry__content .everest-forms .evf-field-container {
	padding-left: 0;
	padding-right: 0;
}
.entry__content .everest-forms .evf-field-container .evf-frontend-row {
	display: flex;
	/* Explicitly a row. Everest switches its own rows to `column` below
	   768px to stack them, which quietly turns flex-basis into a height and
	   left both columns full width and stacked no matter what basis they
	   were given. Stacking is governed below by the basis instead. */
	flex-direction: row;
	flex-wrap: wrap;
	column-gap: 1.75rem;
	margin-left: 0;
	margin-right: 0;
}
.entry__content .everest-forms .evf-field-container .evf-frontend-row .evf-frontend-grid {
	flex: 1 1 100%;
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
	margin-left: 0;
	margin-right: 0;
}
.entry__content .everest-forms .evf-field-container .evf-frontend-row .evf-frontend-grid .evf-field {
	margin-left: 0;
	margin-right: 0;
}

/* Two columns once there is room for two.
   `flex-basis: 0`, not `calc(50% - half the gap)`. The percentage version
   resolved to 338.33px twice against a 704.67px row with a 28px gap, which
   is exactly the row width: subpixel rounding tipped it over and the second
   column wrapped underneath the first. With a zero basis the columns simply
   share whatever is left after the gap, and there is nothing to round. */
@media (min-width: 720px) {
	.entry__content .everest-forms .evf-field-container .evf-frontend-row .evf-frontend-grid.evf-grid-2 {
		flex: 1 1 0;
		min-width: 0;
		max-width: none;
	}
}

/* "Request a quote" is a second movement on the page, not a subheading of
   the first, so it takes the same rule and spacing that separates sections
   on the product pages. */
.page--licensing .entry__content > h2 {
	margin-top: var(--rhythm);
	padding-top: clamp(2rem, 4vw, 3rem);
	border-top: 1px solid var(--rule);
}

/* The opening paragraph's measure now comes from --wrap-text, which is
   correct site-wide; the local override this page carried has gone. */
.page--licensing .entry__content > p.entry-cta { max-width: none; }

/* ---------------------------------------------------------------
   11c. About
   The page arrived as a stack: a centred 815px portrait with three
   left-aligned paragraphs beneath it in a 726px measure. Two different
   axes, two different widths, and the right half of the page empty from
   the portrait down. Setting the two side by side gives the face and the
   words a relationship, uses the space the stack was wasting, and lets
   someone read who made the work while looking at her.
   --------------------------------------------------------------- */
@media (min-width: 970px) {
	.page--about .entry__content {
		display: grid;
		/* Capped tracks rather than fractions, centred as a pair. Given the
		   whole 1280px wrap the portrait resolved to 544px square while the
		   writing beside it ran only 351px tall, so the photograph hung
		   nearly 200px below the last line with empty page to its right.
		   Holding it to 440px brings the two columns close to the same
		   height, and centring the pair puts them on the same axis as the
		   centred title above.

		   The portrait gives way first, and that is the point of the clamp.
		   Both tracks used to be `minmax(0, …)`, which shares a shortfall
		   between them: at a 946px window the two settled at 425px each and
		   the prose came out at 46 characters to the line, against 58 on a
		   wide screen. The reader pays for the picture. Sizing the portrait
		   against the viewport instead lets it shrink from 440px to 340px
		   while `--wrap-text` holds the measure at 50ch the whole way, so
		   the line length is the same at 970px as it is at 1600px.

		   Below 970px there is no longer room for both at a decent size, so
		   the stacked layout takes over rather than squeezing them. */
		grid-template-columns: minmax(0, clamp(340px, 34vw, 440px)) minmax(0, var(--wrap-text));
		justify-content: center;
		column-gap: clamp(2.5rem, 5vw, 4.5rem);
		/* Zero, deliberately. The portrait spans a generous number of rows
		   below, and a row gap would be multiplied across every one of
		   them, including the empty ones. The paragraphs carry their own
		   margins, which is where this spacing belongs anyway. */
		row-gap: 0;
		align-items: start;
	}

	/* `1 / -1` cannot be used here: with no explicit rows, -1 resolves to
	   line 1 and the span collapses. A generous explicit span reaches past
	   however many paragraphs Anita ends up writing, and the rows it
	   creates beyond them size to their content, which is nothing. */
	.page--about .entry__content > figure.entry-figure {
		grid-column: 1;
		grid-row: 1 / span 30;
		margin: 0;
		align-self: start;
	}

	/* Everything that is not the portrait reads as one column of prose.
	   The measure comes from the track, not from a `ch` value on each
	   element: `ch` is relative to the element's own font size, so the
	   larger lede below was resolving 54ch to 633px while the body
	   paragraphs took 577px, and the column had two different right edges. */
	.page--about .entry__content > *:not(figure.entry-figure) {
		grid-column: 2;
		max-width: 100%;
	}
	.page--about .entry__content > *:first-of-type { margin-top: 0; }

	/* The opening sentence is the one that says who she is, so it is set
	   as a lede rather than as the first of three equal blocks. */
	.page--about .entry__content > p:first-of-type {
		font-size: 1.18rem;
		line-height: 1.6;
		color: var(--text-strong);
		margin-bottom: 1.6rem;
	}
}

/* Stacked, the portrait still leads, but at full width it would fill a
   phone screen on its own and push the writing entirely below the fold. */
@media (max-width: 969px) {
	/* Stacked, the portrait and the writing are two centred blocks, so any
	   difference in width shows up immediately as two different left
	   edges. Capping both at the same measure makes them share an edge on
	   each side and read as one column.
	   34rem also fixes the line length: the prose had the whole wrap to
	   itself and was setting 85 characters to the line. The shared
	   --wrap-text is 68ch, but `ch` is the width of a zero, and Lora's
	   zero is far wider than its average lowercase letter, so 68ch buys
	   considerably more than 68 characters. This holds the line near 65.
	   Width alone governs, with no viewport-height cap: a square portrait
	   at this measure is around 500px on a tablet and the full column on a
	   phone, generous without pushing the opening sentence off-screen.
	   Both take --wrap-text so the two can never drift apart. */
	.page--about .entry-figure img,
	.page--about .entry__content > p {
		max-width: var(--wrap-text);
		margin-inline: auto;
	}
	.page--about .entry-figure img { width: 100%; height: auto; }
	.page--about .entry__content > p:first-of-type {
		font-size: 1.1rem;
		color: var(--text-strong);
	}
}

/* ---------------------------------------------------------------
   12. Theme toggle
   A single quiet control. The icon is one SVG whose two halves swap,
   so there is no layout shift and no second asset to load.
   --------------------------------------------------------------- */
.theme-toggle {
	display: grid;
	place-items: center;
	padding: 0;
	background: var(--bg-raised);
	border: 1px solid var(--rule);
	border-radius: 50%;
	color: var(--text);
	cursor: pointer;
	transition: color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.theme-toggle:hover {
	color: var(--accent-text);
	border-color: var(--accent-text);
}
.theme-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; }

/* On a desktop it sits at the right end of the menu row, not floating over
   the page.

   It used to be `position: fixed` in the bottom right corner, and the comment
   in header.php already recorded why that was wrong on a phone: a floating
   control on a narrow column inevitably sits on top of the copy. The same
   thing turned out to be true on a desktop, it just took a page whose content
   reaches that corner to show it. On checkout the order summary runs to the
   right edge, so the disc sat on the order total and it read "210,00 EU" with
   the R underneath. On the most important number on the page.

   It takes its own place in the row rather than being positioned over the
   end of it. Absolute positioning was tried first and looked right at
   1280px, where the centred menu leaves 100px of air at each end. It is
   wrong by 950px: the menu grows to fill the row, the disc stays pinned to
   the right edge, and the two meet. Measured at 950px the toggle sat 21px
   over the cart.

   The row itself, including the empty flex item that balances this control
   at the other end, is laid out in the `min-width: 861px` block in section
   30. That block already owned `.main-nav`'s desktop layout, and a second
   copy here lost to it and cost an hour. One owner per element. */
@media (min-width: 861px) {
	.theme-toggle {
		flex: 0 0 36px;
		width: 36px;
		height: 36px;
		background: none;
		border: 0;
	}
	.theme-toggle:hover { transform: none; }
	.theme-toggle svg { width: 18px; height: 18px; }

	/* The account icon rode 2.2px high. Only an issue in this row, where the
	   items sit on a shared centre line; in the panel each one is its own
	   full-width row. */
	.main-nav > ul > li.menu-item--account {
		display: flex;
		align-items: center;
	}
}

/* Moon by night, sun by day. */
.theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: block; }

/* ---------------------------------------------------------------
   13. Editor content safety net
   Page content still comes from the old builder. Its kit hard-codes
   near-black text, which lands at 1.2:1 on the night ground, so the
   theme reclaims colour here. Drop this block once content is migrated.
   --------------------------------------------------------------- */
.entry__content img { margin-inline: auto; }
.entry__content .alignwide { width: min(100%, var(--wrap)); margin-inline: auto; }
.entry__content .alignfull { width: 100vw; margin-inline: calc(50% - 50vw); }

.entry__content :is(h1, h2, h3, h4, h5, h6),
.entry__content .elementor-heading-title,
.entry__content .elementor-image-box-title,
.entry__content .elementor-icon-box-title {
	color: var(--text-strong) !important;
	font-family: var(--font-display);
}

.entry__content,
.entry__content :is(p, li, span, div),
.entry__content .elementor-widget-text-editor,
.entry__content .elementor-image-box-description,
.entry__content .elementor-icon-box-description {
	color: var(--text);
}

.entry__content a:not(.btn):not(.button) { color: var(--accent-text); }
.entry__content a:not(.btn):not(.button):hover { color: var(--text-strong); }

/* A linked heading is still a heading. The body-link rule above scores
   (0,3,1), so matching :not() chains are needed here to outrank it,
   otherwise the builder's image-box titles render as pink body links. */
.entry__content :is(h1, h2, h3, h4, h5, h6) a:not(.btn):not(.button),
.entry__content .elementor-image-box-title a:not(.btn):not(.button) {
	color: inherit;
	transition: color .3s var(--ease);
}
.entry__content :is(h1, h2, h3, h4, h5, h6) a:not(.btn):not(.button):hover,
.entry__content .elementor-image-box-title a:not(.btn):not(.button):hover {
	color: var(--accent-text);
}

/* Builder sections and widget shells carry hard-coded light backgrounds
   from a theme that no longer exists. Left alone they produce white cards
   with near-white text on them, which is how the Licensing quote form
   became unreadable. Let the ground show through instead. */
.entry__content :is(
	.elementor-section, .elementor-container, .elementor-widget-wrap,
	.elementor-column-wrap, .elementor-widget-container, .elementor-element,
	.elementor-column, .elementor-inner-section
) {
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
}

/* Everest Forms ships its own light chrome for the same reason. */
.entry__content :is(.evf-field-container, .everest-forms, .evf-frontend-row, .evf-frontend-grid),
.entry__content form.everest-forms-form {
	background: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
}
/* Everest Forms styles labels via a bare `.everest-forms label` at a
   grey that lands on 2.07:1 here, so the field-label class must be named
   explicitly rather than relying on the wrapper alone. */
.entry__content .everest-forms label,
.entry__content .evf-field-label,
.entry__content .evf-field-sublabel,
.everest-forms .evf-field-label,
.entry__content :is(.evf-label, .everest-forms-field-label, .everest-forms-field-label-inline) {
	color: var(--text-muted) !important;
	font-family: var(--font-display);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
/* Everest Forms ships 38px fields with 4px corners and 14px Lora. Next to
   the shop's own 52px square controls the quote form read as a different
   website bolted onto the page. These are the same tokens the add-to-cart
   row uses, so a licensing enquiry is filled in on the same furniture as
   a purchase. */
/* The single-line controls. The textarea is deliberately NOT in this list,
   even though it shares almost every value.
   `:is()` takes the specificity of its most specific argument, and the
   `:not([type=…])` guards here push that to (0,5,1). A textarea rule
   written the obvious way, `.entry__content .everest-forms textarea`, is
   (0,2,1) and lost — so `padding: 0 1.1em` below applied to the textarea
   too and its placeholder sat flush against the top edge with no room to
   breathe. Repeating the shared values once is worth more than a selector
   contrived to outrank an accident. */
.entry__content :is(.everest-forms input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not(.artwork-picker__input),
	.everest-forms select) {
	/* background-color, never the `background` shorthand. The shorthand
	   also resets background-image, and because the `:not()` guards push
	   this selector to (0,5,1) it did so in preference to the rule that
	   paints the select's arrow — which is how the chevron vanished. */
	background-color: var(--bg-input) !important;
	color: var(--text-strong) !important;
	border: 1px solid var(--rule-strong) !important;
	border-radius: 0 !important;
	font-family: var(--font-body);
	font-size: 1rem !important;
	height: var(--control-h);
	padding: 0 1.1em;
	box-shadow: none !important;
	transition: border-color .3s var(--ease);
}

.entry__content .everest-forms textarea {
	background-color: var(--bg-input) !important;
	color: var(--text-strong) !important;
	border: 1px solid var(--rule-strong) !important;
	border-radius: 0 !important;
	font-family: var(--font-body);
	font-size: 1rem !important;
	padding: 0.9em 1.1em;
	min-height: 9rem;
	line-height: 1.6;
	box-shadow: none !important;
	transition: border-color .3s var(--ease);
}
.entry__content :is(.everest-forms input, .everest-forms select, .everest-forms textarea):focus {
	border-color: var(--accent) !important;
	outline: none;
}
.entry__content :is(.everest-forms input, .everest-forms textarea)::placeholder {
	color: var(--text-muted);
	opacity: 1;
}

/* The two selects were left as raw operating-system dropdowns, the same
   defect the product page's Format picker had. Same fix: suppress the
   native control and draw the chevron as a mask so it follows the scheme.
   The wrapper is the plugin's own field div, which is why the arrow is
   positioned against that rather than against the select. */
/* Everest Forms asserts `appearance: menulist` from
   `.everest-forms .evf-field-container .evf-frontend-row:not(.wp-list-table) select`.
   The `:not()` counts toward specificity, putting it at (0,4,1), and the
   browser kept drawing its own arrow underneath the one added here so both
   showed. Rather than chain selectors deep enough to outrank a plugin that
   may renumber them on any update, this uses !important, which is already
   the established pattern for Everest overrides in this file. */
.entry__content .everest-forms select {
	appearance: none !important;
	-webkit-appearance: none !important;
	background-image: none !important;
	padding-right: 3rem;
	font-family: var(--font-display);
	font-size: 0.82rem !important;
	font-weight: 500;
	letter-spacing: 0.06em;
	cursor: pointer;
}
.entry__content .everest-forms select option {
	background-color: var(--bg-input);
	color: var(--text-strong);
}
/* The arrow is painted on the select itself rather than on the field
   wrapper. The wrapper is 92px tall because it also holds the label, so an
   ::after pinned to its bottom edge sat 10px below the middle of the 52px
   control and the arrow read as badly centred. A background on the select
   is centred on the select by definition.
   It costs a themed copy of the SVG, since a background image cannot take
   currentColor the way a mask can. */
.entry__content .everest-forms select {
	background-image: var(--chevron-ink) !important;
	background-repeat: no-repeat !important;
	background-position: right 1.15rem center !important;
	background-size: 11px 7px !important;
}

/* The submit button arrived in the plugin's grey with rounded corners and
   a 17px label. Sending a licensing enquiry is the point of this page, so
   it takes the accent the way add-to-cart does. */
.entry__content .everest-forms button.everest-forms-submit-button,
.entry__content .everest-forms input[type="submit"] {
	min-height: var(--control-h);
	padding: 0 2.6em !important;
	background: var(--accent-fill) !important;
	border: 1px solid var(--accent-fill) !important;
	border-radius: 0 !important;
	color: var(--on-accent) !important;
	font-family: var(--font-display);
	font-size: 0.78rem !important;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.entry__content .everest-forms button.everest-forms-submit-button:hover,
.entry__content .everest-forms input[type="submit"]:hover {
	background: transparent !important;
	color: var(--accent-text) !important;
	border-color: var(--accent) !important;
}

/* The required marker is decoration around a label, not a warning, and at
   the plugin's red it was the loudest thing in the form. */
.entry__content .everest-forms .evf-required-label,
.entry__content .everest-forms abbr.required {
	color: var(--accent-text) !important;
	text-decoration: none;
	font-size: 0.9em;
}

/* The zoom trigger used to be pushed to the top-left with !important,
   because a currency plugin pinned a tab to the top-right and the two
   collided. Nothing floats over the page there any more - the switcher is
   in the nav - so the trigger returns to the top-right corner it belongs
   in and is styled once, in the gallery section, rather than being
   overridden here. Two rules fighting over the same corner is what left
   the emoji and the drawn icon rendering on top of each other. */

/* ---------------------------------------------------------------
   Cookie consent
   The plugin ships a light banner and inherits the theme's light text
   onto it, landing at 1.77:1. It also keeps an off-state template row
   containing a literal {title} placeholder. Give the banner its own
   opaque surface so it is legible regardless of the active scheme.
   --------------------------------------------------------------- */
#cmplz-cookiebanner-container .cmplz-cookiebanner,
.cmplz-cookiebanner {
	background: var(--bg-raised) !important;
	border: 1px solid var(--rule-strong) !important;
	color: var(--text) !important;
	font-family: var(--font-body);
}
.cmplz-cookiebanner :is(.cmplz-title, .cmplz-body, .cmplz-message, p, span, li) {
	color: var(--text) !important;
}
.cmplz-cookiebanner .cmplz-title { color: var(--text-strong) !important; font-family: var(--font-display); }
.cmplz-cookiebanner a,
.cmplz-cookiebanner .cmplz-link { color: var(--accent-text) !important; text-decoration: underline; }

/* The banner's type scale was upside down. The plugin sets its buttons
   from `--cmplz_button_font_size` at `.cmplz-cookiebanner .cmplz-buttons
   .cmplz-btn`, which landed at 15px uppercase over 12px of body copy, so
   ACCEPT / DENY / VIEW PREFERENCES were physically larger than the
   explanation they answer - and uppercase at a given size reads larger
   again than the same size in lower case. The explanation is the part
   that has to be read, so it goes up; the buttons come down to the size
   every other button on this site uses.
   Both selectors below carry the plugin's own depth, or they lose. */
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn,
.cmplz-cookiebanner .cmplz-btn {
	font-family: var(--font-display);
	font-size: 0.7rem !important;
	font-weight: 500;
	letter-spacing: 0.14em;
	line-height: 1.2;
	text-transform: uppercase;
	min-height: 0;
	padding: 1.05em 1.5em !important;
	border-radius: 0 !important;
	transition: background-color .2s var(--ease), color .2s var(--ease),
	            border-color .2s var(--ease);
}

/* The copy, which is what someone is actually being asked to read. */
.cmplz-cookiebanner .cmplz-body,
.cmplz-cookiebanner .cmplz-message,
.cmplz-cookiebanner .cmplz-body .cmplz-message {
	font-size: 0.875rem;
	line-height: 1.65;
}
.cmplz-cookiebanner .cmplz-title {
	font-size: 1.02rem;
	letter-spacing: 0.02em;
}
/* A row of three, not three full-width slabs. */
.cmplz-cookiebanner .cmplz-buttons { gap: 0.5rem; }
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn { width: auto; }
.cmplz-cookiebanner .cmplz-btn.cmplz-accept {
	background: var(--accent-fill) !important;
	border-color: var(--accent-fill) !important;
	color: var(--on-accent) !important;
}
.cmplz-cookiebanner .cmplz-btn:is(.cmplz-deny, .cmplz-view-preferences) {
	background: transparent !important;
	border: 1px solid var(--rule-strong) !important;
	color: var(--text-strong) !important;
}

/* The close control.
   The banner was given a dark surface above and this was not, so it kept
   the #222 the plugin ships for its own light banner: #222 on #1e2120 is
   1.02:1, which is not poor contrast but none at all. The button read as an
   empty outlined box with nothing in it.
   Its glyph is an SVG painted with fill="currentColor", so setting the
   colour on the control is enough to reach it. Muted at rest, since
   dismissing is not the action being asked for, and full strength the
   moment it is pointed at or focused. Sized to a 44px target: it ships at
   20px, under the 24px minimum, and it is the control someone jabs at on a
   phone to get the banner out of the way. */
.cmplz-cookiebanner .cmplz-close {
	color: var(--text-muted) !important;
	width: 44px !important;
	height: 44px !important;
	display: grid !important;
	place-items: center;
	border-radius: 999px;
	cursor: pointer;
	background: transparent;
	transition: color .2s var(--ease), background-color .2s var(--ease);
}
.cmplz-cookiebanner .cmplz-close svg { width: 15px; height: 15px; }

/* A neutral fill, not the accent one. The banner opens with this focused,
   so an accent ring plus an accent wash made dismissal the brightest
   thing in a dialog whose actual question is below it. */
.cmplz-cookiebanner .cmplz-close:hover,
.cmplz-cookiebanner .cmplz-close:focus-visible {
	color: var(--text-strong) !important;
	background-color: rgba(242, 237, 228, 0.08);
}
/* It is a div with role="button" and tabindex, so it takes focus but gets
   no focus ring of its own. */
.cmplz-cookiebanner .cmplz-close:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

/* The template row the plugin keeps for cloning is not content. */
.cmplz-cookiebanner .cmplz-category-template,
.cmplz-cookiebanner [class*="-template"] { display: none !important; }

/* WooCommerce breadcrumbs default to a grey that fails on this ground. */
.woocommerce-breadcrumb,
.woocommerce-breadcrumb a {
	color: var(--text-muted) !important;
	font-size: 0.82rem;
}
.woocommerce-breadcrumb a:hover { color: var(--accent-text) !important; }

/* ---------------------------------------------------------------
   13. Responsive
   --------------------------------------------------------------- */
@media (max-width: 860px) {
	.brand { flex-direction: column; gap: 0.8rem; }
	.brand__name { white-space: normal; }

	/* Must be block, not inline-block: the brand is inline-flex, so an
	   inline-level toggle shares its line and lands beside the logo,
	   knocking the wordmark off centre. */
	/* Must be flex, not inline-flex: the brand is inline-flex, so an
	   inline-level toggle shares its line and lands beside the logo,
	   knocking the wordmark off centre. */
	.nav-toggle { display: flex; margin-inline: auto; }

	/* -----------------------------------------------------------------
	   The menu panel
	   A full-screen takeover rather than the accordion this used to be.
	   An accordion pushed the page down, left the trigger as the only way
	   back out, and gave the sections of an artist's catalogue less
	   presence than the footer. Set full-bleed, the entries can take the
	   size they deserve and nothing else competes for attention.
	   ----------------------------------------------------------------- */
	.main-nav {
		position: fixed;
		inset: 0;
		/* Above anything that pins itself to the viewport with its own
		   stacking order, so nothing can sit over a panel that is meant to
		   be the only thing on screen. */
		z-index: 1200;
		margin: 0;
		display: flex;
		flex-direction: column;
		background: var(--bg);
		/* dvh, not vh: on a phone vh is the *largest* viewport, so with the
		   browser's own chrome showing, the foot of the panel sits below
		   the fold and the scheme toggle cannot be reached. */
		height: 100dvh;
		/* The panel owns the notch and the home indicator. */
		padding:
			max(1.1rem, env(safe-area-inset-top))
			max(1.5rem, env(safe-area-inset-right))
			max(1.1rem, env(safe-area-inset-bottom))
			max(1.5rem, env(safe-area-inset-left));
		overflow-y: auto;
		overscroll-behavior: contain;

		/* Closed state. visibility, not display: an element that is
		   display:none cannot be transitioned, and cannot be measured by
		   the script that needs to find its focusable children.
		   The visibility step is timed rather than eased. Transitioning it
		   over the same .32s as the fade left the panel still computing as
		   hidden a frame after opening, so the script's focus() into the
		   dialog was rejected, focus stayed on the trigger, and marking the
		   trigger inert a moment later dropped focus to the body. Opening
		   flips visibility at once; closing holds it until the fade ends so
		   the panel does not vanish mid-transition. */
		visibility: hidden;
		opacity: 0;
		transition: opacity .32s var(--ease), visibility 0s linear .32s;
	}
	.main-nav.is-open {
		visibility: visible;
		opacity: 1;
		transition: opacity .32s var(--ease), visibility 0s linear 0s;
	}

	.main-nav__head,
	.main-nav__foot { display: flex; align-items: center; }
	.main-nav .socials--nav { display: flex; }

	.main-nav__head {
		justify-content: space-between;
		gap: 1rem;
		padding-bottom: 1.4rem;
		flex: none;
	}
	.main-nav__eyebrow {
		font-family: var(--font-display);
		font-size: 0.66rem;
		font-weight: 500;
		letter-spacing: 0.22em;
		text-transform: uppercase;
		color: var(--text-muted);
	}
	/* A bare X on a dark panel reads as a mark rather than as a control, and
	   was being missed: the way out of a full-screen menu has to look like
	   something you press. Given the ring the socials and the currency pill
	   already use, so it is recognisably part of the same set of controls,
	   and kept quiet enough not to compete with the menu itself. */
	.main-nav__close {
		display: grid;
		place-items: center;
		width: 44px; height: 44px;
		padding: 0;
		border: 1px solid var(--rule-strong);
		border-radius: 999px;
		background: none;
		color: var(--text-muted);
		cursor: pointer;
		transition: color .2s var(--ease), border-color .2s var(--ease),
		            background-color .2s var(--ease);
	}
	.main-nav__close svg { width: 18px; height: 18px; }
	.main-nav__close:hover,
	.main-nav__close:focus-visible {
		color: var(--text-strong);
		border-color: var(--accent);
		background-color: var(--accent-soft);
	}
	.main-nav__close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

	/* The entries. A catalogue index: one work per line, hairline ruled,
	   set larger than the desktop nav because here they are the page.
	   Scoped with `>` throughout: the panel's foot also contains a <ul> of
	   social icons, and a bare `.main-nav ul` turned that into a stack of
	   full-width ovals. */
	.main-nav > ul {
		flex: 1 1 auto;
		flex-direction: column;
		justify-content: center;
		gap: 0;
		align-items: stretch;
		border-bottom: 1px solid var(--rule);
	}
	.main-nav > ul > li { width: 100%; }
	.main-nav > ul > li + li::before { display: none; }

	.main-nav > ul > li > a {
		display: flex;
		align-items: center;
		min-height: 60px;
		padding-block: 0.5rem;
		border-top: 1px solid var(--rule);
		font-size: clamp(1.05rem, 4.6vw, 1.4rem);
		letter-spacing: 0.16em;
		color: var(--text-strong);
	}
	.main-nav > ul > li > a::after { display: none; }

	/* Where you are now, said with the accent rather than with weight, so
	   the column keeps one texture. */
	.main-nav > ul > .current-menu-item > a { color: var(--accent-text); }
	.main-nav > ul > .current-menu-item > a::before {
		content: "";
		width: 18px;
		height: 1px;
		margin-right: 0.9rem;
		background: var(--accent);
		flex: none;
	}

	/* The cart's base rule sets `display: inline-flex` at (0,2,0), which
	   outranks the row rule above and left it shrink-wrapped and centred
	   while every other entry ran the full width. */
	.main-nav > ul > li > a.header-cart {
		display: flex;
		justify-content: flex-start;
		border-top: 1px solid var(--rule);
		font-size: clamp(0.95rem, 4vw, 1.15rem);
	}

	/* In the panel the account is a row of words, not a figure.

	   Every other entry here is a full-width line of type, and a lone 17px
	   person icon among them reads as a glyph that failed to load rather than
	   as a link to anything. The icon belongs to the desktop row, where it
	   sits beside the cart in a group of utilities and where the words would
	   not fit. The same span carries the label in both places, hidden by
	   `screen-reader-text` up there and let out again here, so what a screen
	   reader announces and what the eye reads never disagree. */
	.main-nav > ul > li > a.header-account {
		display: flex;
		justify-content: flex-start;
		align-items: center;
		min-height: 60px;
		padding: 0.5rem 0;
		margin: 0;
		border-top: 1px solid var(--rule);
		line-height: inherit;
		color: var(--text-strong);
	}
	/* No font-size here on purpose, so this row takes whatever the rest of
	   the menu takes and cannot drift away from it.

	   Setting the panel's intended `clamp(1.05rem, 4.6vw, 1.4rem)` gave 17.3px
	   against 13.8px on every neighbour, because that clamp is itself being
	   overridden: the unconditional `.main-nav > ul > li > a { font-size:
	   0.86rem }` near the end of this file comes later and wins here too. So
	   the whole panel is running smaller than it was drawn to. Left alone
	   rather than fixed in passing, since correcting it resizes the entire
	   mobile menu and that is a design decision, not a bug fix. */
	.main-nav > ul > li > a.header-account svg { display: none; }
	/* Undoing `screen-reader-text` takes both of the properties that hide it.
	   This theme's own rule uses the old `clip: rect(...)`; something else in
	   the stack, WordPress or WooCommerce, also sets `clip-path: inset(50%)`
	   on the same class. Releasing only `clip` leaves the element the right
	   size, the right colour and in the right place, and still invisible:
	   every measurement said the label was 114x24 of black text at x23,y536
	   and the row rendered blank. */
	.main-nav .header-account__label {
		position: static !important;
		width: auto; height: auto;
		overflow: visible;
		clip: auto;
		-webkit-clip-path: none;
		clip-path: none;
		white-space: nowrap;
	}

	.main-nav__foot {
		justify-content: space-between;
		gap: 1rem;
		padding-top: 1.3rem;
		flex: none;
	}
	/* The foot holds two things on one line inside a 342px phone. At the
	   footer's own 42px icons the row needed 366px, so the flex container
	   shrank the toggle instead, squeezing its icon to nothing and leaving
	   a pill that just said LIGHT. Smaller icons here let both sit at their
	   natural size. */
	.socials--nav {
		padding: 0;
		gap: 0.35rem;
		justify-content: flex-end;
		flex: 0 1 auto;
	}
	.socials--nav a { width: 36px; }
	.socials--nav svg { width: 15px; height: 15px; }

	/* The nav's dot separators are meant for the horizontal desktop menu.
	   Scoped only to the menu list they still reached the social icons in
	   the foot, dotting the space between them. */
	.main-nav .socials li + li::before { display: none; }

	/* The staggered entrance is for the menu's own rows. Without the child
	   combinator it also caught every social icon, which then rose one
	   after another in the corner. */
	@media (prefers-reduced-motion: no-preference) {
		.main-nav.is-open .socials--nav li { animation: none; }
	}

	/* One orchestrated entrance. The rows arrive in the order they are
	   read, using the same rise the rest of the site uses on load, so the
	   menu feels like part of the page rather than a separate app. */
	@media (prefers-reduced-motion: no-preference) {
		.main-nav.is-open :is(> ul > li, .main-nav__head, .main-nav__foot) {
			animation: rise .5s var(--ease) both;
		}
		.main-nav.is-open .main-nav__head { animation-delay: .02s; }
		.main-nav.is-open > ul > li:nth-child(1) { animation-delay: .06s; }
		.main-nav.is-open > ul > li:nth-child(2) { animation-delay: .10s; }
		.main-nav.is-open > ul > li:nth-child(3) { animation-delay: .14s; }
		.main-nav.is-open > ul > li:nth-child(4) { animation-delay: .18s; }
		.main-nav.is-open > ul > li:nth-child(5) { animation-delay: .22s; }
		.main-nav.is-open > ul > li:nth-child(6) { animation-delay: .26s; }
		.main-nav.is-open > ul > li:nth-child(7) { animation-delay: .30s; }
		.main-nav.is-open .main-nav__foot { animation-delay: .34s; }
	}

	/* In the panel the toggle is a labelled row, not a floating disc. */
	.theme-toggle {
		position: static;
		width: auto;
		aspect-ratio: auto;
		min-height: 44px;
		padding: 0 1.1em 0 0.9em;
		border-radius: 999px;
		gap: 0.6rem;
		grid-auto-flow: column;
		align-items: center;
		color: var(--text-muted);
		/* Never give ground to the social row beside it. */
		flex: 0 0 auto;
	}
	.theme-toggle svg { flex: none; width: 17px; height: 17px; }
	.theme-toggle:hover { transform: none; }
	.theme-toggle__label {
		font-family: var(--font-display);
		font-size: 0.64rem;
		font-weight: 500;
		letter-spacing: 0.16em;
		text-transform: uppercase;
	}
}

/* The label only means anything in the menu; on a desktop the toggle is a
   bare disc in the corner and the aria-label carries the meaning. */
.theme-toggle__label { display: none; }
@media (max-width: 860px) { .theme-toggle__label { display: block; } }

/* While the panel is open the page behind it must not scroll. */
html.nav-open, body.nav-open { overflow: hidden; }

/* The consent tab pins itself to the viewport with its own stacking order
   and floated on top of a panel meant to be the only thing on screen. It
   belongs to the page underneath, and goes with it.
   Nothing else belongs in this list. The currency switcher was in it once,
   which hid the very control the panel exists to expose; anything that is
   part of the menu must be left alone here. */
html.nav-open :is(#cmplz-manage-consent, .cmplz-manage-consent) {
	opacity: 0;
	pointer-events: none;
	visibility: hidden;
}

/* The footer links are long enough to need their own breakpoint. They wrap
   happily across two lines on a tablet, and only need stacking once a
   single item no longer fits on one line. */
@media (max-width: 600px) {
	.footer-nav ul { flex-direction: column; gap: 0.7rem; }
	.footer-nav li + li::before { display: none; }
}

/* Complianz parks a persistent light tab mid-height on the right, where it
   crosses the newsletter copy and ignores the palette. Anchor it to the
   bottom-left so it clears the theme toggle, and dress it as a footer
   control rather than a notification. */
/* Once nav.js has moved it into the footer menu, the consent control is a
   footer link and is styled as one. Everything below is written against
   the plugin's own button, which is why it is all !important: Complianz
   ships per position stylesheets - settings/hover-hide-mobile.css and the
   like - that pin the tab to the viewport with fixed positioning and their
   own colours, and those load after the theme. */
.menu-item--cookies #cmplz-manage-consent,
.menu-item--cookies .cmplz-manage-consent-container {
	position: static !important;
	inset: auto !important;
	transform: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
	border: 0 !important;
	box-shadow: none !important;
	opacity: 1 !important;
	z-index: auto !important;
	width: auto !important;
	height: auto !important;
}

.menu-item--cookies .cmplz-manage-consent {
	position: static !important;
	inset: auto !important;
	transform: none !important;
	display: inline !important;
	width: auto !important;
	height: auto !important;
	/* `width: auto` is not enough on its own: Complianz also sets
	   `min-width: 100px`, and the words are 65px, so the button kept a
	   100px box. That put 18px of dead space either side of "Cookies" and
	   46px between it and "Archive" where every other pair in the footer
	   sits 29px apart - which reads as the last link having drifted. */
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	opacity: 1 !important;
	cursor: pointer;
	/* Stated rather than inherited. `font: inherit` takes the type from the
	   <li>, which carries the page's body face - so the button came out as
	   17px Lora beside four 11px letterspaced Montserrat links. These are
	   the footer link's own values. */
	font-family: var(--font-display) !important;
	font-size: 0.7rem !important;
	/* 400, like the links either side. At 500 it read as a different
	   colour rather than a heavier weight. */
	font-weight: 400 !important;
	letter-spacing: 0.16em !important;
	line-height: inherit !important;
	text-transform: uppercase !important;
	color: var(--text-muted) !important;
}
.menu-item--cookies .cmplz-manage-consent:hover,
.menu-item--cookies .cmplz-manage-consent:focus-visible {
	color: var(--text-strong) !important;
}
.menu-item--cookies .cmplz-manage-consent:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

/* The plugin hides its button until its own script decides otherwise; in
   the footer it is a permanent link and should not flicker in. */
.menu-item--cookies .cmplz-manage-consent.cmplz-hidden { display: inline !important; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .001ms !important;
		transition-duration: .001ms !important;
		scroll-behavior: auto !important;
	}
}

/* ---------------------------------------------------------------
   14. Collection: load more
   The control that continues the grid. Centred under the last row,
   with room above it so it reads as the end of the works rather
   than as another tile.
   --------------------------------------------------------------- */
.loop-more {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.9rem;
	margin-top: clamp(2.5rem, 6vw, 4rem);
}
.loop-more__button { min-width: 16rem; }

/* While a page is in flight the label should say so without the button
   jumping to a different width. */
.loop-more.is-loading .loop-more__button {
	opacity: .55;
	pointer-events: none;
}

.loop-more__status {
	margin: 0;
	min-height: 1.2em;
	font-family: var(--font-display);
	font-size: 0.68rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--text-muted);
}

/* Works appended after the first page arrive without the entrance the
   original grid had, so they do not flash in behind the reveal. */
@media (prefers-reduced-motion: no-preference) {
	ul.products > li.product { animation: none; }
}

/* ---------------------------------------------------------------
   15. Licensing: viewing and choosing works
   --------------------------------------------------------------- */

/* Every work is now a button. It must carry no button chrome at all: the
   artwork is the control, and the global button rules would otherwise wrap
   each one in a bordered, letterspaced box. */
.work-open {
	display: block;
	width: 100%;
	padding: 0;
	margin: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	letter-spacing: normal;
	text-transform: none;
	cursor: zoom-in;
	line-height: 0;
}
.work-open:hover { background: none; border: 0; }
.work-open:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.artwork-rail .work-open { display: flex; flex-direction: column; }

/* ---------------------------------------------------------------
   Lightbox
   --------------------------------------------------------------- */
.lightbox {
	--lightbox-image-max-height: calc(100dvh - 11rem);
	width: 100vw;
	max-width: 100vw;
	height: 100dvh;
	max-height: 100dvh;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	overflow: hidden;
}
.lightbox::backdrop {
	/* Near opaque. At .88 the form fields and the accent submit button
	   behind it stayed legible enough to compete with the artwork, which
	   is the one thing this view exists to show. */
	background: rgba(0, 0, 0, .96);
	backdrop-filter: blur(4px);
}

.lightbox__figure {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1.2rem;
	height: 100%;
	margin: 0;
	/* Room for the controls at every edge, and for a notch. */
	padding:
		max(4.5rem, env(safe-area-inset-top))
		max(4.5rem, env(safe-area-inset-right))
		max(2.5rem, env(safe-area-inset-bottom))
		max(4.5rem, env(safe-area-inset-left));
}
.lightbox__image {
	max-width: 100%;
	/* Leaves the caption its line rather than letting a tall work push it
	   off the bottom of the screen. */
	max-height: var(--lightbox-image-max-height);
	width: auto;
	height: auto;
	object-fit: contain;
	background: transparent;
	/* The viewer's ground is near black in both schemes, so the light-mode
	   edge treatment used elsewhere would be wrong here. */
	filter: none;
}
.lightbox__landscape {
	position: relative;
	flex: none;
	overflow: hidden;
	width: min(100%, var(--landscape-width), calc(var(--lightbox-image-max-height) * var(--landscape-aspect)));
	aspect-ratio: var(--landscape-aspect);
}
.lightbox__landscape .lightbox__image {
	position: absolute;
	left: var(--landscape-image-left);
	top: var(--landscape-image-top);
	width: var(--landscape-image-width);
	max-width: none;
	max-height: none;
}
.lightbox__caption {
	font-family: var(--font-body);
	font-style: italic;
	font-size: 1rem;
	color: #f2ede4;
	text-align: center;
}

.lightbox__close,
.lightbox__nav {
	position: fixed;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid rgba(242, 237, 228, .28);
	border-radius: 50%;
	background: rgba(0, 0, 0, .35);
	color: #f2ede4;
	cursor: pointer;
	transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover {
	background: rgba(242, 237, 228, .14);
	border-color: rgba(242, 237, 228, .6);
}
.lightbox__close:focus-visible,
.lightbox__nav:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lightbox__close svg, .lightbox__nav svg { width: 18px; height: 18px; }

.lightbox__close { top: max(1rem, env(safe-area-inset-top)); right: max(1rem, env(safe-area-inset-right)); }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: max(0.75rem, env(safe-area-inset-left)); }
.lightbox__nav--next { right: max(0.75rem, env(safe-area-inset-right)); }

@media (prefers-reduced-motion: no-preference) {
	.lightbox[open] .lightbox__figure { animation: rise .3s var(--ease) both; }
}

/* On a phone the side arrows would sit on top of the artwork, so they move
   to the foot where thumbs are anyway. */
@media (max-width: 560px) {
	.lightbox__figure { padding-inline: 1rem; padding-bottom: 5.5rem; }
	.lightbox__nav { top: auto; bottom: max(1rem, env(safe-area-inset-bottom)); transform: none; }
	.lightbox__nav--prev { left: 25%; }
	.lightbox__nav--next { right: 25%; }
	.lightbox { --lightbox-image-max-height: calc(100dvh - 14rem); }
}

/* ---------------------------------------------------------------
   Artwork picker
   --------------------------------------------------------------- */
.artwork-picker { position: relative; }

/* The real field still carries the value and still submits; it is just no
   longer what anyone types into. */
.entry__content .everest-forms input.artwork-picker__input {
	position: absolute;
	width: 1px; height: 1px;
	padding: 0;
	opacity: 0;
	pointer-events: none;
}

.artwork-picker__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	min-height: var(--control-h);
	padding: 0 3rem 0 1.1em;
	background: var(--bg-input);
	border: 1px solid var(--rule-strong);
	border-radius: 0;
	color: var(--text-strong);
	font-family: var(--font-body);
	font-size: 1rem;
	letter-spacing: normal;
	text-transform: none;
	text-align: left;
	cursor: pointer;
	position: relative;
}
.artwork-picker__toggle:hover { background: var(--bg-input); border-color: var(--text-strong); color: var(--text-strong); }
.artwork-picker__toggle::after {
	content: "";
	position: absolute;
	right: 1.15rem;
	top: 50%;
	margin-top: -3px;
	width: 11px; height: 7px;
	background-color: var(--text-strong);
	-webkit-mask: var(--chevron) center / 11px 7px no-repeat;
	mask: var(--chevron) center / 11px 7px no-repeat;
	transition: transform .3s var(--ease);
}
.artwork-picker.is-open .artwork-picker__toggle::after { transform: rotate(180deg); }

.artwork-picker__value {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.artwork-picker__value.is-placeholder { color: var(--text-muted); }

.artwork-picker__panel {
	position: absolute;
	z-index: 20;
	top: calc(100% - 1px);
	left: 0; right: 0;
	max-height: 20rem;
	overflow-y: auto;
	overscroll-behavior: contain;
	background: var(--bg-raised);
	border: 1px solid var(--rule-strong);
	box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
}

.artwork-picker__list { list-style: none; margin: 0; padding: 0; }
.artwork-picker__list li { position: relative; margin: 0; }
.artwork-picker__list li + li { border-top: 1px solid var(--rule); }

/* The checkbox is the control; the label is the whole row, so the target is
   the row rather than a 13px square. */
.artwork-picker__list input {
	position: absolute;
	width: 1px; height: 1px;
	opacity: 0;
	pointer-events: none;
}
.artwork-picker__list label {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	min-height: 56px;
	padding: 0.5rem 1.1rem 0.5rem 0.7rem;
	cursor: pointer;
	font-family: var(--font-body);
	font-size: 0.95rem;
	letter-spacing: normal;
	text-transform: none;
	color: var(--text);
}
.artwork-picker__list label img {
	width: 42px;
	height: 42px;
	object-fit: contain;
	background: transparent;
	flex: none;
	filter: none;
}
.artwork-picker__list label::after {
	content: "";
	margin-left: auto;
	width: 16px; height: 16px;
	border: 1px solid var(--rule-strong);
	flex: none;
}
.artwork-picker__list input:checked + label { color: var(--text-strong); }
.artwork-picker__list input:checked + label::after {
	background: var(--accent-fill) var(--tick) center / 11px 9px no-repeat;
	border-color: var(--accent-fill);
}
.artwork-picker__list input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: -2px; }
.artwork-picker__list label:hover { background: var(--accent-soft); }

/* Two inherited rules had to be named explicitly here.
   Everest Forms styles its field labels through
   `.entry__content .everest-forms label` at (0,2,1), which outranks a rule
   written on the picker's own class and set every artwork title in small
   uppercase Montserrat — correct for a field label, wrong for a list of
   work names. And the editor safety net gives `.entry__content img` an auto
   inline margin, which on a flex item absorbs all the free space and pushed
   each thumbnail into the middle of its row. */
.entry__content .everest-forms .artwork-picker__list label {
	font-family: var(--font-body);
	font-size: 0.95rem;
	font-weight: 400;
	letter-spacing: normal;
	text-transform: none;
	color: var(--text) !important;
}
.entry__content .everest-forms .artwork-picker__list input:checked + label {
	color: var(--text-strong) !important;
}
.entry__content .everest-forms .artwork-picker__list label img {
	margin: 0;
}
/* The toggle carries the same treatment for the same reason. */
.entry__content .everest-forms .artwork-picker__toggle {
	font-family: var(--font-body);
	font-size: 1rem;
	letter-spacing: normal;
	text-transform: none;
}

/* The picker's type-ahead. */
.artwork-picker__search {
	display: block;
	width: 100%;
	border: 0;
	border-bottom: 1px solid var(--rule);
	background: var(--bg-input);
	padding: 0.85em 1.1em;
	font-family: var(--font-body);
	font-size: 0.95rem;
	color: var(--text-strong);
	position: sticky;
	top: 0;
	z-index: 1;
}
.artwork-picker__search:focus { outline: none; border-bottom-color: var(--accent); }

/* The matched run of letters. `mark` carries a yellow highlight by default,
   which would be the loudest thing on a page of ink drawings. */
.artwork-picker__list mark {
	background: none;
	color: var(--accent-text);
	font-weight: 500;
}

.artwork-picker__empty {
	margin: 0;
	padding: 1.1em;
	font-family: var(--font-body);
	font-size: 0.9rem;
	font-style: italic;
	color: var(--text-muted);
	text-align: center;
}

/* ---------------------------------------------------------------
   16. Licensing page composition
   Three movements on one axis: a centred masthead, the works, and
   the enquiry. Before this the standfirst sat in a 534px column at
   the far left of a 1280px band, so two thirds of the page's first
   screen was empty and nothing lined up with the centred title.
   --------------------------------------------------------------- */
.page--licensing .entry__content > p:first-of-type {
	max-width: 46rem;
	margin-inline: auto;
	text-align: center;
	font-size: 1.06rem;
	line-height: 1.75;
	color: var(--text);
}

/* The works, and the one action that follows them. */
.page--licensing .rail-shell { margin-top: clamp(2.5rem, 6vw, 4rem); }

.page--licensing .entry-cta {
	margin-top: clamp(1.5rem, 3vw, 2.25rem);
	margin-bottom: 0;
}

/* An edge fade so a work cut off by the viewport reads as "more this way"
   rather than as a crop. Only while there is actually more to see, and only
   on the side that has it, which the script tracks on the shell. */
@supports (mask-image: linear-gradient(#000, #000)) {
	.rail-shell--scrollable .artwork-rail {
		mask-image: linear-gradient(to right,
			transparent 0, #000 3rem, #000 calc(100% - 3rem), transparent 100%);
	}
	/* Nothing to the left yet, so nothing to fade into. */
	.rail-shell--scrollable.is-at-start .artwork-rail {
		mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 3rem), transparent 100%);
	}
	.rail-shell--scrollable.is-at-end .artwork-rail {
		mask-image: linear-gradient(to right, transparent 0, #000 3rem, #000 100%);
	}
	.rail-shell--scrollable.is-at-start.is-at-end .artwork-rail { mask-image: none; }
}

/* The enquiry. A form is read as a column of questions, so it is held to a
   measure rather than stretched across the page: at full width the Name
   field was 610px, which tells someone to expect a sentence.

   Held to a measure but not centred, it sat hard against the left edge of a
   1280px band while the title above it, the standfirst and the newsletter
   below were all centred - the one movement of the page off the axis every
   other one is on. The block is centred here to rejoin it.

   The block, though, not the writing inside it: labels and fields stay
   ranged left, because a column of questions is read down its left edge and
   centring that would make every field start in a different place. */
.page--licensing .everest-forms {
	max-width: 46rem;
	margin-inline: auto;
}
.page--licensing .entry__content > h2 { text-align: center; }

.page--licensing .everest-forms button.everest-forms-submit-button {
	min-width: 12rem;
	margin-top: 0.5rem;
}

@media (max-width: 860px) {
	/* Centred, a standfirst this long becomes a ragged block on a narrow
	   column. Ranged left it reads as ordinary copy again. */
	.page--licensing .entry__content > p:first-of-type {
		text-align: left;
		font-size: 1rem;
	}
}

/* The enquiry's own lede belongs to the form's column, not to the shared
   prose measure: at 50ch it broke one line short of the form's width and
   left "hours." stranded on a line of its own. Centred with the heading and
   the form it introduces - it is one short sentence, so it centres without
   turning ragged the way the long standfirst above would. */
.page--licensing .entry__content > h2 + p {
	max-width: 46rem;
	margin-inline: auto;
	text-align: center;
}

/* Everest Forms sets `display: block` on the descendants of a field at
   (0,5,0). That outranks the user agent's own `[hidden] { display: none }`,
   which is only (0,0,0) — so filtering the artwork list set the property on
   each row and nothing whatsoever moved on screen. `hidden` is a state
   rather than a style, and a state that means "not present" is the one case
   where !important is the honest tool. */
.artwork-picker__list li[hidden] { display: none !important; }

/* ---------------------------------------------------------------
   17. Header utilities: the cart and the currency

   The nav row carries two kinds of thing. Everything on the left is a
   place to go. The cart and the currency are things to do, and before
   this they were simply appended to the list of places: the cart set
   entirely in the accent, so it shouted louder than the marker showing
   which page you were on, and the currency in a bordered pill, the only
   boxed object in a row of plain letterspaced text, which is what made
   it read as bolted on rather than belonging.

   Both now take the nav's own type scale, so the row is one line in one
   voice, and the group is divided from the sections by a hairline
   rather than by the dot that runs between them: a different mark for a
   different kind of break.
   --------------------------------------------------------------- */

/* The nav is a plain block, so the list of sections and the currency
   control stacked and the control stranded itself on a centred line of
   its own beneath a row that had 200px of space left in it. A centred
   flex row puts them on one line, with the list keeping its own wrapping
   so a narrow desktop folds the links rather than overflowing.
   Above the panel breakpoint only: below it the nav is a fixed,
   full-height column and must stay one. */
@media (min-width: 861px) {
	.main-nav {
		display: flex;
		/* `nowrap`, and it matters. The three parts of this row are a spacer,
		   the list and the scheme toggle, and wrapping applies to them, not
		   to the links: left as `wrap` the list claimed a whole line and the
		   toggle dropped onto a second one 44px below it. The links do their
		   own wrapping inside the list. */
		flex-wrap: nowrap;
		align-items: center;
		justify-content: center;
		gap: 0.6rem 1.6rem;
	}
	/* Balances the scheme toggle at the far end so the list stays centred on
	   the page rather than sitting half the toggle's width to the left. */
	.main-nav::before {
		content: "";
		flex: 0 0 36px;
	}
	.main-nav > ul { width: auto; flex: 0 1 auto; }
}

/* Seven sections, a cart and a currency need 950px of row, and between the
   panel breakpoint and about 1220px there is less than that. Left alone the
   list broke to two lines and then dropped the cart onto a line of its own
   with the currency stranded beneath it - three ragged rows where the whole
   point of the group is that it reads as one.

   So the row is tightened rather than broken: mostly out of the letter
   spacing, which at 0.18em is buying air the row cannot afford here, and
   which costs nothing legible to give back.

   The ceiling was 1180px and is now 1239px. At 1180 the tightening switched
   off one pixel before the full-size row could fit: measured at 1182px the
   list wanted 995px and had exactly 995, so it broke to two lines between
   1181 and about 1200 and then healed on its own. A boundary set to the
   width where something *just* fits has no margin for a longer menu label
   or a different font. At 1220 the full-size row had 20px of slack, so the
   handover was pushed to 1240, where it has 41. */
@media (min-width: 861px) and (max-width: 1239px) {
	.main-nav { gap: 0.5rem 1rem; }
	.main-nav > ul { gap: 0.4rem 1.15rem; }
	.main-nav > ul > li > a,
	.currency__trigger {
		font-size: 0.7rem;
		letter-spacing: 0.13em;
	}
	.main-nav > ul > li + li::before { left: -0.6rem; }
	/* The tightened gap leaves the rule almost touching CONTACT, so the
	   utilities group buys back a little space of its own and the rule sits
	   centred in it. */
	.main-nav > ul > li.menu-item--cart { margin-left: 0.5rem; }
	.main-nav > ul > li.menu-item--cart::before { left: -0.83rem; }
	.main-nav > ul > li > a.header-cart { gap: 0.38rem; }
}

/* The boundary. Overrides the dot that `li + li::before` draws between
   sections, so it has to match that rule's depth to win. */
.main-nav > ul > li.menu-item--cart::before {
	left: -1rem;
	top: 50%;
	width: 1px;
	height: 17px;
	margin-top: -8.5px;
	border-radius: 0;
	background: var(--rule);
}

.main-nav > ul > li > a.header-cart,
.header-cart {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--text);
	white-space: nowrap;
	letter-spacing: 0.18em;
}
.main-nav > ul > li > a.header-cart::after { display: none; }
.main-nav > ul > li > a.header-cart:hover,
.main-nav > ul > li > a.header-cart:focus-visible { color: var(--text-strong); }

.header-cart svg {
	width: 1em; height: 1em;
	fill: currentColor;
	flex: none;
	opacity: .72;
	transition: opacity .3s var(--ease);
}
.header-cart:hover svg { opacity: 1; }

/* The one piece of accent the cart gets, and only when it holds
   something. The count is the thing worth noticing here. */
.header-cart__count {
	display: inline-grid;
	place-items: center;
	min-width: 1.5em;
	height: 1.5em;
	padding-inline: 0.4em;
	/* Square, for the same reason the selection chips are: the work is
	   drawn on paper with square edges, and a pill was the one rounded
	   shape left in the header. A single digit lands on an exact square
	   because the minimum width and the height are the same; a two digit
	   count widens into a rectangle rather than stretching into a pill. */
	border-radius: 0;
	background: var(--accent-fill);
	color: var(--on-accent);
	font-size: 0.62rem;
	letter-spacing: 0;
	font-variant-numeric: tabular-nums;
}

/* Tabular figures so the subtotal does not shuffle the row about as it
   changes. */
.header-cart__total {
	color: var(--text-muted);
	letter-spacing: 0.08em;
	font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------------
   The currency control

   A <details> disclosure, not a <select>. A select's drop-down is drawn
   by the operating system: it cannot take a font, a colour or a border,
   and it opened here as a grey system list under a dark, letterspaced
   header. Everything below is only possible because the panel is now
   ordinary markup.
   --------------------------------------------------------------- */
.currency { position: relative; }
.currency__disclosure { position: relative; }

.currency__trigger {
	display: inline-flex;
	align-items: center;
	gap: 0.42rem;
	font-family: var(--font-display);
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--text);
	cursor: pointer;
	padding-block: 0.4em;
	list-style: none;
	transition: color .3s var(--ease);
}
/* The disclosure triangle, in both dialects. */
.currency__trigger::-webkit-details-marker { display: none; }
.currency__trigger::marker { content: ""; }

.currency__trigger:hover { color: var(--text-strong); }
.currency__trigger:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
	border-radius: 2px;
	color: var(--text-strong);
}

.currency__symbol { color: var(--text-muted); }
.currency__chevron {
	width: 9px; height: 6px;
	opacity: .7;
	transition: transform .3s var(--ease);
}
.currency__disclosure[open] > .currency__trigger { color: var(--text-strong); }
.currency__disclosure[open] .currency__chevron { transform: rotate(180deg); opacity: 1; }

.currency__panel {
	position: absolute;
	top: calc(100% + 0.7rem);
	right: 0;
	/* Above the scheme toggle, which sits at 90.
	   The toggle is `position: static`, where z-index is normally ignored -
	   but it is also a flex item of the menu's foot, and a flex item whose
	   z-index is not `auto` creates a stacking context regardless of its
	   position. At 60 the panel opened upward and the toggle painted
	   straight through it. */
	z-index: 120;
	/* Wide enough for the longest name on one line. "United States (US)
	   dollar" wrapped at 16rem, which made that one row taller than the
	   rest and broke the rhythm of the list. */
	min-width: 19rem;
	padding: 0.4rem;
	/* The header is centred and this inherits from it, which centred every
	   name in its column and left the list with no edge to read down. */
	text-align: left;
	background: var(--bg-raised);
	border: 1px solid var(--rule-strong);
	border-radius: 3px;
	/* Two shadows: a long soft one to lift the panel off the page, and a
	   tight one to keep its edge crisp against a dark ground. */
	box-shadow: 0 20px 44px -14px rgba(0, 0, 0, .7),
	            0 2px 10px rgba(0, 0, 0, .35);
	animation: currency-panel-in .2s var(--ease) both;
}

.currency__heading {
	margin: 0 0 0.3rem;
	padding: 0.5rem 0.8rem 0.55rem;
	font-family: var(--font-display);
	font-size: 0.56rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--text-muted);
	border-bottom: 1px solid var(--rule);
}

.currency__list { list-style: none; margin: 0; padding: 0; }

/* Code, name, symbol on one baseline: the code is what someone scans
   for, the name confirms it, the symbol is the shape they will see on
   the prices. */
.currency__option {
	position: relative;
	display: grid;
	grid-template-columns: 3rem 1fr auto;
	align-items: center;
	gap: 0.8rem;
	padding: 0.6rem 0.8rem;
	border-radius: 2px;
	color: var(--text);
	transition: background-color .2s var(--ease), color .2s var(--ease);
}
.currency__option:hover { background: var(--accent-soft); color: var(--text-strong); }
.currency__option:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: -2px;
}

.currency__opt-code {
	font-family: var(--font-display);
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.currency__opt-name {
	font-family: var(--font-body);
	font-size: 0.88rem;
	line-height: 1.3;
	color: var(--text-muted);
	white-space: nowrap;
}
.currency__opt-symbol {
	font-family: var(--font-body);
	font-size: 0.95rem;
	color: var(--text-muted);
}
.currency__option:hover .currency__opt-name,
.currency__option:hover .currency__opt-symbol { color: var(--text); }

/* The one in use, marked the way the open menu marks the page you are
   on: a short accent rule, not a coloured row. */
.currency__option.is-current { color: var(--text-strong); }
.currency__option.is-current::before {
	content: "";
	position: absolute;
	left: 0; top: 50%;
	width: 2px; height: 1.15em;
	transform: translateY(-50%);
	background: var(--accent);
}
.currency__option.is-current .currency__opt-name,
.currency__option.is-current .currency__opt-symbol { color: var(--text); }

@keyframes currency-panel-in {
	from { opacity: 0; transform: translateY(-6px); }
	to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
	.currency__panel { animation: none; }
	.currency__chevron { transition: none; }
}

@media (max-width: 860px) {
	/* In the menu the control gets a row of its own, and the label that
	   is otherwise only read aloud is shown: there is room for it, and a
	   bare "EUR" in a list of settings needs saying what it is. */
	.currency {
		flex: 1 0 100%;
		order: 2;
	}
	.currency__disclosure { display: block; }

	.currency__trigger {
		display: flex;
		align-items: center;
		gap: 0.6rem;
		min-height: 44px;
		padding-inline: 0;
		font-size: 0.72rem;
	}
	/* The visually-hidden utility carries !important on position and clip,
	   so bringing the label back has to as well. */
	.currency__trigger .screen-reader-text {
		position: static !important;
		width: auto !important;
		height: auto !important;
		margin: 0 auto 0 0;
		padding: 0;
		overflow: visible !important;
		clip: auto !important;
		clip-path: none;
		white-space: nowrap;
		font-size: 0.62rem;
		letter-spacing: 0.16em;
		color: var(--text-muted);
	}

	/* Opens upward: the control sits near the bottom of the menu, and a
	   panel dropping from it would run off the screen. */
	.currency__panel {
		top: auto;
		bottom: calc(100% + 0.5rem);
		left: 0; right: 0;
		min-width: 0;
	}

	/* The foot carries three rows: the scheme toggle, the currency, and
	   the social row beneath both. */
	.main-nav__foot { flex-wrap: wrap; gap: 0.9rem 1rem; }
	.theme-toggle { order: 1; }
	.socials--nav { flex: 1 0 100%; justify-content: center; order: 3; }
}

/* ---------------------------------------------------------------
   18. The geolocation currency notice

   WooPayments prints this through WooCommerce's store-notice element,
   which arrives as a fixed purple bar (#a46497, a colour from nowhere in
   this palette) pinned over the top of the page, covering the masthead.
   It is also printed in the footer, so it cannot simply be un-fixed
   without falling to the bottom of the document; nav.js lifts it to the
   top of the body instead, where it belongs in the reading order and can
   push the page down rather than sit on top of it.

   What it says is useful and entirely undramatic: the prices changed,
   here is how to change them back. So it is a quiet strip in the theme's
   own colours, with the accent spent only on the one action.
   --------------------------------------------------------------- */
.woocommerce-store-notice,
p.woocommerce-store-notice.demo_store {
	position: static;
	margin: 0;
	padding: 0.85rem clamp(1.5rem, 4vw, 3rem);
	background: var(--bg-raised);
	border-bottom: 1px solid var(--rule);
	color: var(--text-muted);
	font-family: var(--font-display);
	font-size: 0.68rem;
	font-weight: 400;
	letter-spacing: 0.1em;
	line-height: 1.6;
	text-align: center;
	text-transform: none;
	box-shadow: none;
	border-radius: 0;
}

.woocommerce-store-notice a {
	color: var(--accent-text);
	text-decoration: underline;
	text-underline-offset: 0.25em;
	text-decoration-thickness: 1px;
	transition: color .2s var(--ease);
}
.woocommerce-store-notice a:hover { color: var(--text-strong); }

/* Dismissing is not the action being offered, so it recedes: the accent
   belongs to "use euro instead", not to getting rid of the message. */
.woocommerce-store-notice a.woocommerce-store-notice__dismiss-link {
	margin-left: 0.9rem;
	padding-left: 0.9rem;
	border-left: 1px solid var(--rule);
	color: var(--text-muted);
	text-decoration: none;
	font-size: 0.62rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
.woocommerce-store-notice a.woocommerce-store-notice__dismiss-link:hover {
	color: var(--text-strong);
}

/* ---------------------------------------------------------------
   19. Commissions

   The page asks for a great deal: nine questions, several of them
   open-ended, before anyone knows whether their idea will even be taken
   on. It arrived as one undifferentiated column - three paragraphs of
   terms set as ordinary body copy, then eight fields stacked full width
   at whatever measure the page happened to be, with the size and finish
   choices rendered as a bulleted list of native radio buttons.

   Nothing was broken. It simply gave no shape to what is really two
   different acts: reading what you are agreeing to, and writing a brief.
   So the page is set in two movements, on the same centred axis and the
   same 46rem measure the licensing enquiry already uses.
   --------------------------------------------------------------- */

/* --- First movement: the terms ------------------------------------
   Set as a definition list rather than as prose. These are three things
   to know before spending ten minutes on a brief, and someone scanning
   for "what does it cost me if I change my mind" should find it without
   reading two paragraphs to see whether it is in there. The label
   column carries that job; the hairlines keep the three apart without
   drawing a box around them. */
.page--commisions .brief-terms {
	max-width: 46rem;
	margin-inline: auto;
	margin-top: clamp(0.5rem, 2vw, 1.5rem);
}

.page--commisions .brief-terms__title {
	margin: 0 0 1.4rem;
	font-family: var(--font-display);
	font-size: 0.62rem;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--text-muted);
	text-align: center;
}

.page--commisions .brief-terms__item {
	display: grid;
	grid-template-columns: 11rem 1fr;
	gap: 0.4rem 2rem;
	align-items: start;
	padding-block: 1.4rem;
	border-top: 1px solid var(--rule);
}

.page--commisions .brief-terms__label {
	margin: 0;
	font-family: var(--font-display);
	font-size: 0.66rem;
	font-weight: 500;
	letter-spacing: 0.13em;
	line-height: 1.6;
	text-transform: uppercase;
	color: var(--text-strong);
}

.page--commisions .brief-terms__item p {
	margin: 0;
	max-width: none;
	font-size: 0.95rem;
	line-height: 1.75;
	color: var(--text);
}

@media (max-width: 720px) {
	/* The label column costs more than it earns once it is only two words
	   wide; stacked, the label still leads its paragraph. */
	.page--commisions .brief-terms__item {
		grid-template-columns: 1fr;
		gap: 0.45rem;
		padding-block: 1.2rem;
	}
}

/* --- Second movement: the brief ----------------------------------- */
.page--commisions .brief-heading {
	max-width: 46rem;
	margin-inline: auto;
	margin-top: var(--rhythm);
	padding-top: clamp(2rem, 4vw, 3rem);
	border-top: 1px solid var(--rule);
	text-align: center;
}

.page--commisions .everest-forms {
	max-width: 46rem;
	margin-inline: auto;
}

/* A form is read down its left edge, so the fields keep a single column
   and only the two halves of a name share a line - they are one answer
   given in two boxes, and stacking them made the form a question longer
   than it is. Everything else spans, because every other answer here is
   a sentence or a choice, not a fragment.

   At full depth again: Everest sets `.evf-field { display: block;
   margin-bottom: 10px }` at (0,5,0), so anything shallower here would be
   overruled without a word. */
@media (min-width: 620px) {
	.page--commisions .everest-forms .evf-field-container .evf-frontend-row .evf-frontend-grid {
		display: grid;
		grid-template-columns: 1fr 1fr;
		column-gap: 1.5rem;
	}
	.page--commisions .everest-forms .evf-field-container .evf-frontend-row .evf-frontend-grid > .evf-field { grid-column: 1 / -1; }
	.page--commisions .everest-forms .evf-field-container .evf-frontend-row .evf-frontend-grid > .evf-field.evf-field-first-name,
	.page--commisions .everest-forms .evf-field-container .evf-frontend-row .evf-frontend-grid > .evf-field.evf-field-last-name { grid-column: span 1; }
}

/* Room to breathe between questions. Everest's 10px assumes a compact
   contact form, not a brief someone will spend ten minutes on. */
.page--commisions .everest-forms .evf-field-container .evf-frontend-row .evf-frontend-grid .evf-field { margin-bottom: 1.9rem; }

/* --- The choices --------------------------------------------------
   Size, finish and coverage arrived as a bulleted list of native radio
   buttons: a 16px target beside 13px of text, three questions running
   down the page looking like body copy with dots next to it. They are
   the quickest questions on the form and they were the hardest to
   answer. Set as chips they become a row of real targets, the selected
   one is obvious at a glance, and the size question reads as the scale
   it is rather than as a list.

   Everest's own rules for these lists run to (0,6,2) - they set the li
   to display:flex with a 5px margin, the ul to a 10px margin, and the
   radio itself to 16px wide with margins of its own. So every rule here
   is written at that depth or deeper. Shallower ones simply lose, and
   lose silently: the chips would have come out with stray margins and a
   16px radio still holding space beside each one. */
.page--commisions .everest-forms .evf-field-container .evf-frontend-row .evf-frontend-grid .evf-field.evf-field-radio ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin: 0.85rem 0 0;
	padding: 0;
	list-style: none;
}
.page--commisions .everest-forms .evf-field-container .evf-frontend-row .evf-frontend-grid .evf-field.evf-field-radio ul li {
	display: block;
	margin: 0;
	padding: 0;
}
.page--commisions .everest-forms .evf-field-container .evf-frontend-row .evf-frontend-grid .evf-field.evf-field-radio ul li::before,
.page--commisions .everest-forms .evf-field-container .evf-frontend-row .evf-frontend-grid .evf-field.evf-field-radio ul li::marker { content: none; }

/* Visually hidden rather than display:none, so it stays focusable and
   stays the control the label is actually operating. */
.page--commisions .everest-forms .evf-field-container .evf-frontend-row .evf-frontend-grid .evf-field.evf-field-radio ul li input[type="radio"] {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	padding: 0;
	border: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	appearance: none;
}

.page--commisions .everest-forms .evf-field-container .evf-frontend-row .evf-frontend-grid .evf-field.evf-field-radio ul li label {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	/* A floor, so "YES" and "A6" are not thin slots next to "OTHER".
	   Squared off, the width of a chip reads as part of its shape rather
	   than as incidental padding, and an uneven set looks like a mistake. */
	min-width: 4.25rem;
	margin: 0;
	padding: 0 1.1em;
	border: 1px solid var(--rule-strong);
	/* Square, like the paper. The options are sheet sizes - A6 through A3 -
	   and a rounded chip is the one shape they are certainly not. It also
	   puts them back in the theme's own button language: add-to-cart, and
	   the consent buttons, are all square-cornered. The rounded pills here
	   were the odd ones out on both counts. */
	border-radius: 0;
	background: var(--bg-input);
	color: var(--text) !important;
	font-family: var(--font-display);
	font-size: 0.68rem !important;
	font-weight: 500;
	letter-spacing: 0.12em;
	line-height: 1.3;
	text-transform: uppercase;
	text-align: center;
	cursor: pointer;
	transition: border-color .2s var(--ease), background-color .2s var(--ease),
	            color .2s var(--ease);
}

.page--commisions .everest-forms .evf-field-container .evf-frontend-row .evf-frontend-grid .evf-field.evf-field-radio ul li label:hover {
	border-color: var(--text-muted);
	color: var(--text-strong) !important;
}

.page--commisions .everest-forms .evf-field-container .evf-frontend-row .evf-frontend-grid .evf-field.evf-field-radio ul li input[type="radio"]:checked + label {
	border-color: var(--accent);
	background: var(--accent-soft);
	color: var(--text-strong) !important;
}

/* The input is hidden, so the ring has to be drawn on the chip or a
   keyboard user has no idea where they are. */
.page--commisions .everest-forms .evf-field-container .evf-frontend-row .evf-frontend-grid .evf-field.evf-field-radio ul li input[type="radio"]:focus-visible + label {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

/* No width override on a narrow screen. There was one here forcing every
   chip to fill the row, meant to stop "Black ink on white paper
   (standard)" being squeezed - but it applied to all of them, and turned
   the five paper sizes into five full-width slabs stacked down the phone.
   Wrapping already does the right thing on its own: the short chips sit
   several to a row, and the two long ones are wide enough to take a row
   each without being told to. */

/* --- The one question that needs its answer framed first ----------
   "Estimated completion time" is an open text box, and the minimums that
   make an answer sensible sat underneath it as small print - read, if at
   all, after the box had already been filled in. Ordering puts the
   guidance between the question and the box, which is where it does any
   good. Needs to beat the same (0,5,0) `display: block`. */
.page--commisions .everest-forms .evf-field-container .evf-frontend-row .evf-frontend-grid .evf-field.evf-field-text {
	display: flex;
	flex-direction: column;
}
.page--commisions .everest-forms .evf-field-container .evf-frontend-row .evf-frontend-grid .evf-field.evf-field-text > label { order: 1; }
.page--commisions .everest-forms .evf-field-container .evf-frontend-row .evf-frontend-grid .evf-field.evf-field-text > .evf-field-description {
	order: 2;
	margin: 0.5rem 0 0.8rem;
}
.page--commisions .everest-forms .evf-field-container .evf-frontend-row .evf-frontend-grid .evf-field.evf-field-text > input { order: 3; }

/* Descriptions generally: they are guidance, not labels, so they are set
   in the reading face rather than the uppercase display one the shared
   label rule would otherwise give them. */
.page--commisions .everest-forms .evf-field-container .evf-frontend-row .evf-frontend-grid .evf-field .evf-field-description {
	font-family: var(--font-body);
	font-size: 0.85rem;
	line-height: 1.6;
	letter-spacing: 0;
	text-transform: none;
	color: var(--text-muted);
}

/* --- Submit -------------------------------------------------------- */
.page--commisions .everest-forms button.everest-forms-submit-button {
	min-width: 14rem;
	margin-top: 0.5rem;
}

/* ---------------------------------------------------------------
   20. Contact

   The page was a title and a form. Nothing else: no line saying what
   the form is for, no idea when an answer might come, and - the real
   problem - no acknowledgement that this site has three enquiry forms.
   Someone wanting to commission a piece had no way of knowing that the
   commissions page exists and asks better questions, so they wrote it
   into a box marked Subject and the reply took two exchanges longer
   than it needed to.

   So the page now does the one job a contact page has: get each person
   to the right place. A line about what this form covers, two signposts
   to the forms that are not this one, then a short form on the same
   centred 46rem axis the other two enquiry pages use.

   The words all live in the page content, not here, so they can be
   edited in WordPress without touching the theme.
   --------------------------------------------------------------- */

/* The opening line. Same treatment as the licensing standfirst so the
   three enquiry pages open the same way. */
.page--contact .entry__content > p:first-of-type {
	max-width: 46rem;
	margin-inline: auto;
	text-align: center;
	font-size: 1.06rem;
	line-height: 1.75;
	color: var(--text);
}

@media (max-width: 860px) {
	/* Centred, a sentence this long turns ragged on a narrow column. */
	.page--contact .entry__content > p:first-of-type {
		text-align: left;
		font-size: 1rem;
	}
}

/* --- Signpost cards (shared) ---------------------------------------
   Routes out of a page, for people who are in the wrong place. The
   contact page uses them to point at the two enquiry forms that are not
   the contact form; the empty cart uses them to point at the three
   collections. Written page-agnostically so a third use does not mean a
   third copy.

   Cards rather than a sentence with links in it, because they are doing
   navigation, not making a point: someone who is here to commission a
   piece, or who has just emptied their cart, should be able to leave
   without reading a paragraph first. */
.entry__content ul.routes {
	list-style: none;
	max-width: 46rem;
	margin: clamp(2rem, 4vw, 2.75rem) auto 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	gap: 0.9rem;
}

.entry__content ul.routes > li {
	position: relative;
	text-align: left;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	margin: 0;
	padding: 1.35rem 1.45rem;
	border: 1px solid var(--rule);
	/* Square, like every other bordered thing on this site. */
	border-radius: 0;
	transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.entry__content ul.routes > li::before,
.entry__content ul.routes > li::marker { content: none; }

/* Hover on the card, focus-within for the keyboard: the link inside is
   what actually takes focus, and the card is what shows it. */
.entry__content ul.routes > li:hover,
.entry__content ul.routes > li:focus-within {
	border-color: var(--accent);
	background: var(--accent-soft);
}

/* The `:not(.button)` is not decoration. The body-link rule,
   `.entry__content a:not(.btn):not(.button)`, scores (0,3,1) and paints
   every link in the accent, so a plainer selector here came out pink and
   made the signposts shout louder than whatever they point away from.
   Matching its :not() chain is the pattern this stylesheet already uses
   to outrank it (see the linked-heading rule). */
.entry__content ul.routes > li > a:not(.button) {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	font-family: var(--font-display);
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.13em;
	line-height: 1.4;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--text-strong);
}

/* Stretched over the whole card, so the card is the target and not just
   the label. The link text stays short, which is also what a screen
   reader wants read out. */
.entry__content ul.routes > li > a::before {
	content: "";
	position: absolute;
	inset: 0;
}

.entry__content ul.routes > li > a::after {
	content: "\2192";
	flex: none;
	color: var(--accent-text);
	transition: transform .25s var(--ease);
}
.entry__content ul.routes > li:hover > a::after { transform: translateX(3px); }

.entry__content ul.routes > li > a:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 4px;
}

.entry__content ul.routes > li > span {
	font-family: var(--font-body);
	font-size: 0.88rem;
	line-height: 1.6;
	color: var(--text-muted);
}

@media (prefers-reduced-motion: reduce) {
	.entry__content ul.routes > li,
	.entry__content ul.routes > li > a::after { transition: none; }
}

/* --- The form ------------------------------------------------------ */
.page--contact .entry__content > h2 {
	max-width: 46rem;
	margin-inline: auto;
	margin-top: var(--rhythm);
	padding-top: clamp(2rem, 4vw, 3rem);
	border-top: 1px solid var(--rule);
	text-align: center;
}

.page--contact .everest-forms {
	max-width: 46rem;
	margin-inline: auto;
}

/* Name and email share a line: two halves of the same introduction.
   Subject and message span, because both are sentences.

   Written at Everest's own depth - it sets `.evf-field { display: block;
   margin-bottom: 10px }` at (0,5,0) - and by position rather than by
   class, because Name and Subject are both `.evf-field-text` and there
   is nothing else to tell them apart. If the plugin ever puts something
   else first, `.evf-field:nth-child(1)` simply stops matching and the
   fields go back to full width, which is the harmless outcome. */
@media (min-width: 620px) {
	.page--contact .everest-forms .evf-field-container .evf-frontend-row .evf-frontend-grid {
		display: grid;
		grid-template-columns: 1fr 1fr;
		column-gap: 1.5rem;
	}
	.page--contact .everest-forms .evf-field-container .evf-frontend-row .evf-frontend-grid > .evf-field {
		grid-column: 1 / -1;
	}
	.page--contact .everest-forms .evf-field-container .evf-frontend-row .evf-frontend-grid > .evf-field:nth-child(1),
	.page--contact .everest-forms .evf-field-container .evf-frontend-row .evf-frontend-grid > .evf-field:nth-child(2) {
		grid-column: span 1;
	}
}

/* Everest's 10px between fields is too tight for controls this tall. */
.page--contact .everest-forms .evf-field-container .evf-frontend-row .evf-frontend-grid .evf-field {
	margin-bottom: 1.7rem;
}

.page--contact .everest-forms button.everest-forms-submit-button {
	min-width: 14rem;
	margin-top: 0.5rem;
}

/* ---------------------------------------------------------------
   21. Cart

   The cart had no theme styling at all beyond three lines for the
   checkout button, so it arrived as WooCommerce's default: a six column
   data table with a header row reading Product / Price / Quantity /
   Subtotal, a second table underneath it for the totals, and a light
   theme's notice boxes on a near-black page. A spreadsheet, on a site
   that sells drawings.

   Two things are wrong with a table here beyond how it looks. It puts
   the artwork - the whole reason someone is on this page - in a
   thumbnail column of its own, sized like a data cell. And on a phone
   `shop_table_responsive` collapses it into stacked rows with the column
   headings repeated in front of every value, which is the least
   readable form the same information can take.

   So the table is unbuilt into a list. Each line is a work: the image at
   a size worth looking at, the title, what you are paying, and the two
   controls that change it. The totals sit beside the list on a desktop
   rather than a screen below it, which is where every shop has put them
   for a decade and where people look for the checkout button.
   --------------------------------------------------------------- */

/* --- The two column shell ------------------------------------------
   The form and the totals are siblings inside .woocommerce, so the cart
   page's own wrapper does the splitting. */
@media (min-width: 900px) {
	/* Only when there is actually a cart to put in it. Applied
	   unconditionally, the empty cart got the same two columns: its
	   message and the three collection cards sat in the 904px first
	   column with 320px of nothing beside them, so the whole empty
	   state hung to the left of a centred page title. */
	.woocommerce-cart .entry__content > .woocommerce:has(.woocommerce-cart-form) {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 20rem;
		align-items: start;
		gap: clamp(2rem, 4vw, 3.5rem);
	}
	/* Notices span, so "added to your cart" is not squeezed into a column. */
	.woocommerce-cart .entry__content > .woocommerce:has(.woocommerce-cart-form) > .woocommerce-notices-wrapper {
		grid-column: 1 / -1;
	}
	.woocommerce-cart .entry__content > .woocommerce > .cart-collaterals {
		position: sticky;
		top: 2rem;
	}
}

/* --- Unbuilding the table ------------------------------------------
   Every part of the table is turned back into an ordinary box so the
   row can be laid out as a grid. The header row goes entirely: with the
   values laid out as a line of work rather than as columns, a row of
   column headings has nothing left to head. */
.woocommerce-cart table.shop_table.cart,
.woocommerce-cart table.shop_table.cart tbody,
.woocommerce-cart table.shop_table.cart tr,
.woocommerce-cart table.shop_table.cart td {
	display: block;
	width: auto;
	border: 0;
	padding: 0;
	margin: 0;
	background: none;
	/* The theme's own `.entry__content table` sets `white-space: nowrap`
	   with `overflow-x: auto`, which is right for a table of figures that
	   should scroll rather than reflow, and wrong for this, which is not a
	   table any more. Left in place a long title ran 500px wide out of a
	   154px column and put a scrollbar under the cart instead of wrapping.
	   The subtotal keeps its own nowrap further down; a price should not
	   break. */
	white-space: normal;
	overflow: visible;
}
.woocommerce-cart table.shop_table.cart thead { display: none; }

/* Zebra striping, off. WooCommerce tints every second row with black at
   2.5%, which on a light table is a faint stripe and here is not: the
   cells are grid areas with gaps between them, so what appears is four
   loose rectangles behind the title, the price and the figures, and
   nothing behind the gaps. The rows are separated by a rule already.

   The reset above says `background: none` at (0,3,2) and lost to
   woocommerce-smallscreen.css at (0,3,3); the nth-child here is what
   buys the extra point back. */
.woocommerce-cart table.shop_table.cart tbody tr:nth-child(2n) td {
	background: none;
}

/* WooCommerce's responsive table prints the column heading in front of
   every value from `data-title`. That exists to rescue a table that has
   been stacked; this one is not stacked, it is a list. */
.woocommerce-cart table.shop_table.cart td::before {
	content: none !important;
}

.woocommerce-cart table.shop_table.cart {
	border-collapse: collapse;
	border-top: 1px solid var(--rule);
}

/* --- One work, one line -------------------------------------------- */
.woocommerce-cart table.shop_table.cart tr.cart_item {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr) auto auto;
	grid-template-areas:
		"thumb name  qty      total"
		"thumb price qty      total";
	align-items: center;
	column-gap: clamp(1rem, 2.5vw, 1.75rem);
	row-gap: 0.25rem;
	padding-block: 1.5rem;
	border-bottom: 1px solid var(--rule);
}

/* Ranged left, and !important is doing real work in both directions.
   The theme's own table rule, `.entry__content table :is(th, td)`, right
   aligns every cell - correct for a table of figures, wrong for a list of
   works, and it was throwing the title and the price to the right hand
   edge of their column. WooCommerce then reasserts the same thing on a
   phone from woocommerce-smallscreen.css, where it carries !important,
   so a plain declaration wins on the desktop and loses on the device
   where the layout is tightest. */
.woocommerce-cart table.shop_table.cart td.product-name,
.woocommerce-cart table.shop_table.cart td.product-price,
.woocommerce-cart table.shop_table.cart td.product-quantity {
	text-align: left !important;
}
.woocommerce-cart table.shop_table.cart td.product-subtotal {
	text-align: right !important;
}

.woocommerce-cart table.shop_table.cart td.product-thumbnail { grid-area: thumb; }
.woocommerce-cart table.shop_table.cart td.product-name { grid-area: name; }
.woocommerce-cart table.shop_table.cart td.product-price { grid-area: price; }
.woocommerce-cart table.shop_table.cart td.product-quantity { grid-area: qty; }
.woocommerce-cart table.shop_table.cart td.product-subtotal { grid-area: total; }

/* WooCommerce hides the thumbnail entirely below 768px - reasonably, for
   its own stacked layout, which has nowhere to put it. This layout has a
   column for it. The rule doing the hiding is
   `.woocommerce-page #content table.cart .product-thumbnail`, and this
   theme's <main> is id="content", so it carries an id and outranks any
   selector made of classes. !important is the only thing left. */
.woocommerce-cart table.shop_table.cart td.product-thumbnail {
	display: block !important;
}
.woocommerce-cart table.shop_table.cart td.product-thumbnail img {
	display: block;
	width: 88px;
	height: 88px;
	object-fit: cover;
	border: 1px solid var(--rule);
}

.woocommerce-cart table.shop_table.cart td.product-name a {
	font-family: var(--font-body);
	font-size: 1.02rem;
	font-style: italic;
	line-height: 1.35;
	color: var(--text-strong) !important;
	text-decoration: none;
}
.woocommerce-cart table.shop_table.cart td.product-name a:hover {
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

/* The unit price, under the title. Kept because a print can be bought
   more than one at a time, and then the subtotal on the right is not
   the price of the thing. */
.woocommerce-cart table.shop_table.cart td.product-price {
	font-size: 0.85rem;
	color: var(--text-muted);
	font-variant-numeric: tabular-nums;
	/* Same reason as the subtotal below. The cell shrinks to its text, so
	   once the table's blanket nowrap was lifted for the title's sake,
	   "210,00 €" broke at the space and came out as two lines. */
	white-space: nowrap;
}

.woocommerce-cart table.shop_table.cart td.product-subtotal {
	justify-self: end;
	text-align: right;
	font-family: var(--font-display);
	font-size: 0.9rem;
	letter-spacing: 0.04em;
	color: var(--text-strong);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

/* --- Remove -------------------------------------------------------
   Out of the row's flow and into the corner of the image. It is the one
   destructive control on the page and it was sitting first, ahead of
   the artwork, as a bare multiplication sign in a column of its own. */
.woocommerce-cart table.shop_table.cart td.product-remove {
	position: absolute;
	top: 1.5rem;
	/* The far corner of the thumbnail, not the near one. Anchored left it
	   hung nine pixels outside the content column and broke the left edge
	   every other block on the page lines up on. */
	left: 88px;
	transform: translate(-50%, -50%);
}
.woocommerce-cart table.shop_table.cart tr.cart_item { position: relative; }

.woocommerce-cart table.shop_table.cart td.product-remove a.remove {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	margin: 0;
	border-radius: 999px;
	background: var(--bg);
	border: 1px solid var(--rule-strong);
	color: var(--text-muted) !important;
	font-size: 15px;
	line-height: 1;
	text-decoration: none;
	transition: color .2s var(--ease), border-color .2s var(--ease),
	            background-color .2s var(--ease);
}
.woocommerce-cart table.shop_table.cart td.product-remove a.remove:hover {
	background: var(--accent-fill);
	border-color: var(--accent-fill);
	color: var(--on-accent) !important;
}
.woocommerce-cart table.shop_table.cart td.product-remove a.remove:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

/* --- Update cart ---------------------------------------------------
   A secondary control: it only matters if a quantity has been changed,
   and it should never compete with the checkout button. */
.woocommerce-cart table.shop_table.cart td.actions {
	display: flex;
	justify-content: flex-start;
	padding-top: 1.5rem;
}
.woocommerce-cart table.shop_table.cart td.actions button[name="update_cart"] {
	background: transparent;
	border: 1px solid var(--rule-strong);
	color: var(--text) ;
	font-family: var(--font-display);
	font-size: 0.68rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	padding: 0.95em 1.6em;
	border-radius: 0;
	cursor: pointer;
	transition: border-color .2s var(--ease), color .2s var(--ease);
}
.woocommerce-cart table.shop_table.cart td.actions button[name="update_cart"]:hover:not(:disabled) {
	border-color: var(--text-muted);
	color: var(--text-strong);
}
.woocommerce-cart table.shop_table.cart td.actions button[name="update_cart"]:disabled {
	opacity: .45;
	cursor: default;
}

/* --- The totals ----------------------------------------------------- */
.woocommerce-cart .cart-collaterals { width: 100%; }
.woocommerce-cart .cart-collaterals .cart_totals {
	width: 100%;
	float: none;
	padding: 1.5rem 1.6rem 1.7rem;
	border: 1px solid var(--rule);
	background: var(--bg-raised);
}

.woocommerce-cart .cart-collaterals .cart_totals > h2 {
	margin: 0 0 1.1rem;
	padding-bottom: 0.9rem;
	border-bottom: 1px solid var(--rule);
	font-family: var(--font-display);
	font-size: 0.62rem;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--text-muted);
}

/* The totals are a second table; same treatment, laid out as rows of
   label and figure. */
.woocommerce-cart .cart_totals table.shop_table,
.woocommerce-cart .cart_totals table.shop_table tbody,
.woocommerce-cart .cart_totals table.shop_table tr,
.woocommerce-cart .cart_totals table.shop_table th,
.woocommerce-cart .cart_totals table.shop_table td {
	display: block;
	width: auto;
	border: 0;
	padding: 0;
	margin: 0;
	background: none;
}
.woocommerce-cart .cart_totals table.shop_table td::before { content: none !important; }

.woocommerce-cart .cart_totals table.shop_table tr {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: baseline;
	gap: 0.5rem 1rem;
	padding-block: 0.7rem;
	border-bottom: 1px solid var(--rule);
}
.woocommerce-cart .cart_totals table.shop_table tr:last-child { border-bottom: 0; }

.woocommerce-cart .cart_totals table.shop_table th {
	font-family: var(--font-display);
	font-size: 0.64rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--text-muted);
	text-align: left;
}
.woocommerce-cart .cart_totals table.shop_table td {
	justify-self: end;
	text-align: right;
	font-variant-numeric: tabular-nums;
	color: var(--text);
}

/* The one figure that matters. */
.woocommerce-cart .cart_totals table.shop_table tr.order-total th {
	color: var(--text-strong);
}
.woocommerce-cart .cart_totals table.shop_table tr.order-total td,
.woocommerce-cart .cart_totals table.shop_table tr.order-total .woocommerce-Price-amount {
	font-family: var(--font-display);
	font-size: 1.05rem;
	letter-spacing: 0.02em;
	color: var(--text-strong);
}

/* Shipping: the calculator is a form inside a table cell, so it needs
   the full width of the panel rather than the right hand column. */
.woocommerce-cart .cart_totals table.shop_table tr.shipping { grid-template-columns: 1fr; }
.woocommerce-cart .cart_totals table.shop_table tr.shipping td {
	justify-self: stretch;
	text-align: left !important;
}
.woocommerce-cart .cart_totals .shipping-calculator-button {
	font-family: var(--font-display);
	font-size: 0.64rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.woocommerce-cart .cart_totals .shipping-calculator-form { margin-top: 0.9rem; }
.woocommerce-cart .cart_totals .shipping-calculator-form .form-row { margin-bottom: 0.75rem; }
.woocommerce-cart .cart_totals ul#shipping_method {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.4rem;
}
.woocommerce-cart .cart_totals ul#shipping_method li { margin: 0; }
.woocommerce-cart .cart_totals .woocommerce-shipping-destination { font-size: 0.82rem; color: var(--text-muted); }

.woocommerce-cart .wc-proceed-to-checkout { margin-top: 1.3rem; padding: 0; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { width: 100%; text-align: center; }

/* --- Empty ---------------------------------------------------------- */
.cart-empty-state { text-align: center; }
.cart-empty-state__lede {
	max-width: 46rem;
	margin: 0 auto;
	font-size: 1.06rem;
	line-height: 1.75;
	color: var(--text);
}

/* WooCommerce's own empty message is removed in the template override,
   but the notice class is styled anyway: a plugin or a stray filter can
   still put one here, and it would otherwise arrive as a light theme's
   info box on a near black page. */
.woocommerce-cart .woocommerce-info,
.woocommerce-cart .cart-empty {
	background: transparent;
	border: 0;
	border-top: 1px solid var(--rule);
	color: var(--text);
	padding: 1rem 0 0;
}
.woocommerce-cart .woocommerce-info::before { display: none; }

/* --- Narrow ---------------------------------------------------------
   768px, matching the width at which WooCommerce loads its small screen
   stylesheet. Set lower, the band between the two had this layout's wide
   row and that stylesheet's overrides at the same time. */
@media (max-width: 768px) {
	.woocommerce-cart table.shop_table.cart tr.cart_item {
		/* One number for the image's width, the column that holds it and
		   the anchor the remove control hangs off, so the three cannot
		   drift apart. It grows with the viewport between a 320px phone
		   and a tablet instead of being one fixed size for both. */
		--cart-thumb: clamp(104px, 32vw, 132px);

		grid-template-columns: var(--cart-thumb) minmax(0, 1fr) auto;
		/* The last row takes the slack. Everything below depends on this:
		   with the first two rows sized to their text and the third given
		   what is left, the stepper can be pushed to the bottom of the
		   row rather than sitting wherever the text above happens to end. */
		grid-template-rows: auto auto 1fr;
		grid-template-areas:
			"thumb name  total"
			"thumb price price"
			"thumb qty   qty";
		row-gap: 0.5rem;
		padding-block: 1.25rem;
	}

	/* --- The image fills the row's height, whatever that turns out to be
	   Sizing it to a number was the mistake this replaces. It was 72px,
	   then 96px, and both were guesses at a height that is not fixed: the
	   row is as tall as the title, price and stepper stacked beside it,
	   and a title that wraps to two lines changes it. Any guess leaves
	   dead space under the image.

	   The cell is what gets sized, and the picture is laid over it. Doing
	   it the other way round does not work: the cell's own height comes
	   from `align-self: stretch`, and a percentage height on a child does
	   not resolve against that, so `height: 100%` on the <img> quietly
	   fell back to its aspect ratio and stayed square. Out of flow it is
	   sized by `inset` instead of by a percentage, which does resolve.

	   `min-height` is what makes the row that tall in the first place - a
	   grid row is at least as tall as the minimum height of what is in it,
	   and the image is out of flow now, so it cannot say so itself.

	   `max-height` then stops it. WooCommerce crops these to a square, so
	   every pixel of height past square is bought by cropping the width;
	   1.25 gives up a fifth of the picture and that is as far as this
	   should go. In practice the cap is rarely reached: a one line title
	   with its price and stepper comes to about 100px, under the image's
	   own height, so the image sets the height of the row and is not
	   stretched at all. It is a three line title on a 320px screen that
	   runs into it, and there a little space under the image costs less
	   than a fifth of the work. */
	.woocommerce-cart table.shop_table.cart td.product-thumbnail {
		position: relative;
		align-self: stretch;
		min-height: var(--cart-thumb);
		max-height: calc(var(--cart-thumb) * 1.25);
	}
	/* !important, and it is not optional. woocommerce-layout.css carries
	   `.woocommerce-page #content table.cart img { height: auto }`, which
	   has an id in it and so outranks any selector made of classes. That
	   is the same trap as the rule that hides this thumbnail below 768px,
	   and for the same reason: this theme's <main> is id="content", so
	   WooCommerce's id-scoped rules match here when they were never
	   really meant to. Without this the image silently keeps its own
	   aspect ratio and stops short of the row again. */
	.woocommerce-cart table.shop_table.cart td.product-thumbnail img {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100% !important;
	}

	/* Pushed to the bottom of that 1fr row, which is what puts its lower
	   edge on the image's lower edge. Ranged left, so its left edge is on
	   the title's and the price's. Two alignments rather than none: the
	   complaint about it before was that it sat at an arbitrary height
	   next to an image that ended somewhere else. */
	.woocommerce-cart table.shop_table.cart td.product-quantity {
		justify-self: start;
		align-self: end;
	}
	/* 44px controls rather than 52px. Full width it read as an input
	   someone ought to type into; at its natural size it was still 154px,
	   wider than the whole content column on a 320px screen. 44px is the
	   floor for something meant to be tapped, and it takes the stepper to
	   138px, which fits. */
	.woocommerce-cart table.shop_table.cart td.product-quantity .quantity {
		--control-h: 2.75rem;
	}

	.woocommerce-cart table.shop_table.cart td.product-remove {
		top: 1.25rem;
		left: var(--cart-thumb);
	}
	.woocommerce-cart table.shop_table.cart td.product-name a { font-size: 0.96rem; }
	.woocommerce-cart table.shop_table.cart td.actions { padding-top: 1.25rem; }
	.woocommerce-cart table.shop_table.cart td.actions button[name="update_cart"] { width: 100%; }
}

/* --- Notices --------------------------------------------------------
   WooCommerce's messages are built for a light theme: a near white panel
   with a green rule on top. Dropped onto this page they came out as two
   white slabs the width of the content, with the theme's pale body text
   on them - "added to your cart" was legible only because it is dark
   green, and the "View cart" button inside was white on white.

   Scoped to the notices wrapper rather than to the cart, since the same
   messages appear wherever WooCommerce has something to say. */
.woocommerce-notices-wrapper :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.6rem 1rem;
	/* `margin` and `padding` lost their `!important` in the section 42 work.
	   They never needed it: WooCommerce's own notice rule is
	   `.woocommerce-error, .woocommerce-info, .woocommerce-message` at
	   (0,1,0) and this selector is (0,2,0), so it already won on
	   specificity. The flag was only stopping later rules in this same
	   stylesheet from adjusting the spacing per page, which is exactly what
	   the account needed. The colour and border flags below stay: those are
	   holding off the dark-mode plugin, which does rewrite them. */
	margin: 0 0 0.75rem;
	padding: 0.95rem 1.2rem;
	background: var(--bg-raised) !important;
	border: 1px solid var(--rule) !important;
	border-left: 2px solid var(--accent) !important;
	border-radius: 0 !important;
	color: var(--text) !important;
	font-family: var(--font-body);
	font-size: 0.92rem;
	line-height: 1.6;
	list-style: none;
}

/* The icon is an icon-font glyph positioned into the left padding that
   was reserved for it; both go. */
.woocommerce-notices-wrapper :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::before {
	display: none !important;
}

.woocommerce-notices-wrapper .woocommerce-error { border-left-color: var(--accent-fill) !important; }

/* The action inside a notice is secondary to the notice itself. */
.woocommerce-notices-wrapper :is(.woocommerce-message, .woocommerce-info) .button {
	margin-left: auto;
	padding: 0.7em 1.2em;
	background: transparent;
	border: 1px solid var(--rule-strong);
	border-radius: 0;
	color: var(--text-strong);
	font-family: var(--font-display);
	font-size: 0.64rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	transition: border-color .2s var(--ease), color .2s var(--ease);
}
.woocommerce-notices-wrapper :is(.woocommerce-message, .woocommerce-info) .button:hover {
	border-color: var(--accent);
	color: var(--text-strong);
}

/* ---------------------------------------------------------------
   22. WooCommerce form controls

   The theme's control styling was written against Everest Forms and only
   ever matched Everest Forms, so every field WooCommerce renders itself
   was still the plugin's default: white, 4px rounded, and inheriting the
   page's pale body colour onto it. The shipping calculator's country
   control came out as light grey text on white, and the postcode box as
   a white slab in the middle of the totals panel.

   Scoped to .woocommerce and to select2's own containers rather than to
   the cart, because checkout renders the same controls and will want the
   same answer.
   --------------------------------------------------------------- */
.woocommerce :is(
	input[type="text"], input[type="email"], input[type="tel"],
	input[type="number"], input[type="password"], input[type="search"],
	input[type="url"], textarea, select
):not(.qty):not([type="checkbox"]):not([type="radio"]) {
	background-color: var(--bg-input);
	color: var(--text-strong);
	border: 1px solid var(--rule-strong);
	border-radius: 0;
	font-family: var(--font-body);
	font-size: 0.95rem;
	padding: 0.85em 1.05em;
	line-height: 1.4;
}
.woocommerce :is(input, textarea)::placeholder { color: var(--text-muted); opacity: 1; }
.woocommerce :is(input, textarea, select):focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
	border-color: var(--accent);
}

.woocommerce .form-row label,
.woocommerce-cart .cart_totals .form-row label {
	display: block;
	margin-bottom: 0.45rem;
	font-family: var(--font-display);
	font-size: 0.6rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--text-muted);
}

/* --- select2 ---------------------------------------------------------
   WooCommerce swaps the country select for selectWoo, its fork of
   select2, which draws its own control and renders the open list in a
   container appended to <body>. None of it is inside .woocommerce, so
   none of it can be reached by scoping to the shop: these have to be
   global, and they are the only global rules in this stylesheet that
   belong to a third party's markup.

   Left alone it is white with a blue highlight bar, which on this page
   was the brightest thing on the screen by a wide margin. */
.select2-container--default .select2-selection--single {
	height: auto;
	min-height: var(--control-h);
	display: flex;
	align-items: center;
	background-color: var(--bg-input);
	border: 1px solid var(--rule-strong);
	border-radius: 0;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
	flex: 1 1 auto;
	padding: 0 2.6rem 0 1.05em;
	color: var(--text-strong);
	font-family: var(--font-body);
	font-size: 0.95rem;
	line-height: 1.4;
}
.select2-container--default .select2-selection--single .select2-selection__placeholder {
	color: var(--text-muted);
}

/* The arrow is a CSS triangle built from border colours on a <b>. */
.select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 100%;
	right: 0.9rem;
	width: 11px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
	border-color: var(--text-muted) transparent transparent transparent;
	border-width: 5px 4px 0 4px;
	margin-left: -4px;
}
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
	border-color: transparent transparent var(--text-strong) transparent;
	border-width: 0 4px 5px 4px;
}
.select2-container--default.select2-container--open .select2-selection--single {
	border-color: var(--accent);
}

/* The list itself.
   select2's own rules for the panel and the highlighted row score the
   same as any sensible selector written here, and its stylesheet is
   enqueued after the theme's, so a tie goes to it: the panel stayed
   white and the highlight stayed the default blue. These are third
   party globals being deliberately overridden, so they say so rather
   than being dressed up in a deeper selector that would win by accident
   and break the next time the markup changes. */
.select2-dropdown {
	background-color: var(--bg-raised) !important;
	border: 1px solid var(--rule-strong) !important;
	border-radius: 0 !important;
	box-shadow: 0 20px 44px -14px rgba(0, 0, 0, .7);
}
.select2-container--default .select2-search--dropdown { padding: 0.5rem; }
.select2-container--default .select2-search--dropdown .select2-search__field {
	background-color: var(--bg-input);
	border: 1px solid var(--rule);
	border-radius: 0;
	color: var(--text-strong);
	font-family: var(--font-body);
	font-size: 0.92rem;
	padding: 0.6em 0.8em;
}
.select2-container--default .select2-results__option {
	color: var(--text) !important;
	font-family: var(--font-body);
	font-size: 0.92rem;
	padding: 0.55rem 0.85rem;
}

/* selectWoo marks state with `data-selected` where select2 used
   `aria-selected`; the version in play can be either, so both are named
   rather than guessed at. */
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected],
.select2-container--default .select2-results__option--highlighted {
	background-color: var(--accent-soft) !important;
	color: var(--text-strong) !important;
}
.select2-container--default .select2-results__option[aria-selected="true"],
.select2-container--default .select2-results__option[data-selected="true"] {
	background-color: transparent;
	color: var(--text-strong);
	font-weight: 500;
}
.select2-results__options { scrollbar-width: thin; }

/* --- The shipping calculator, once its fields are legible ----------- */
.woocommerce-cart .cart_totals .shipping-calculator-form .form-row { margin-bottom: 1rem; }
.woocommerce-cart .cart_totals .shipping-calculator-form button.button {
	width: 100%;
	margin-top: 0.25rem;
}

/* --- Auto-updating cart --------------------------------------------
   The update button is hidden only when the script that replaces it has
   actually attached (it adds .cart-form--auto), so with no JavaScript
   the button is still there and still the way to commit a change. */
.woocommerce-cart table.shop_table.cart td.actions { transition: opacity .2s var(--ease); }
.cart-form--auto table.shop_table.cart td.actions { display: none; }

/* Brief, because the page reloads - but long enough that a change does
   not look like it did nothing. */
.woocommerce-cart-form.is-updating {
	opacity: .45;
	pointer-events: none;
	transition: opacity .2s var(--ease);
}

/* The open dropdown is appended to <body>, and WooCommerce sets
   `.woocommerce-page .select2-container { width: 100% !important }` -
   meant for the inline control, but the body carries that class too, so
   the floating container matched as well. With no positioned ancestor
   its 100% resolved against the viewport: an invisible 1426px box
   pinned at the control's left edge, hanging most of a screen off the
   right of the page and putting a horizontal scrollbar under every cart
   with the calculator open. Only the container is touched; the visible
   panel inside it is unaffected. */
body > .select2-container {
	width: auto !important;
	max-width: calc(100vw - 2rem);
}
body > .select2-container .select2-dropdown { min-width: 15rem; }

/* --- The overlay during an update ----------------------------------
   WooCommerce blocks the cart with jQuery blockUI while it updates, and
   blockUI is told to paint that overlay `#fff` at 0.6 - set inline on the
   element, so only !important reaches it. On a near black page every
   quantity change was a white flash across the cart.

   It also fades in rather than appearing at full strength. An update
   takes well under a second, and an overlay that arrives instantly reads
   as a flicker even once it is the right colour. */
.blockUI.blockOverlay {
	background-color: var(--bg) !important;
	opacity: 0 !important;
	animation: cart-blocking .45s var(--ease) forwards;
}
@keyframes cart-blocking {
	from { opacity: 0; }
	to   { opacity: .6; }
}
@media (prefers-reduced-motion: reduce) {
	.blockUI.blockOverlay { animation: none; opacity: .6 !important; }
}

/* Below 480px the title and the total share one line, and the title comes
   off worst: it is what is left after the image and the total have taken
   theirs. At 430px that was 134px - narrower than the image beside it -
   for "Behind The Doors Of No Beginning And No Ending print".

   So the title takes the full line here and the two figures pair up
   beneath it, which costs one row of height and roughly doubles the width
   the title wraps in. 480 rather than the 420 this started at: the width
   the title gets side by side only passes 200px at about 500, so between
   420 and 480 the old arrangement was worse than both of its neighbours -
   more cramped than the layout just below it, no roomier than the one
   just above. */
@media (max-width: 479px) {
	.woocommerce-cart table.shop_table.cart tr.cart_item {
		grid-template-areas:
			"thumb name  name"
			"thumb price total"
			"thumb qty   qty";

		/* `minmax(min-content, ...)` rather than `minmax(0, ...)`, and this
		   is the whole fix for the two prices running together. The middle
		   column is a `1fr` share of what is left after the total has taken
		   its width, which at 320px came to 53px - narrower than the unit
		   price standing in it. The price does not wrap, so it simply drew
		   outside its column, and "210,00 €1.890,00 €" arrived with one
		   pixel between them and read as a single number. The cells were
		   14px apart the whole time, which is why this had to be measured
		   from the glyphs rather than from the boxes.

		   A floor of min-content stops the column collapsing under its own
		   text. The column gap comes down a little to pay for it; the
		   image keeps its size, because the width below 340px is bought
		   by stacking the figures instead. */
		grid-template-columns: var(--cart-thumb) minmax(min-content, 1fr) auto;
		column-gap: 0.62rem;
	}

}

/* --- 340px and under: the two figures stop sharing a line ------------
   Below about 340px the row cannot hold the image, the unit price and a
   long total side by side, and the total is the one that loses: at 320px
   a five figure sum - which this shop reaches at nine prints - drew 7px
   past the content edge and was clipped there.

   It cannot be wrapped out of trouble either. WooCommerce joins the
   number to the currency symbol with a non-breaking space, so there is
   no break opportunity in "12.340,00 €" at all and `white-space: normal`
   does nothing. The choice is to break it mid-number, which no price
   should do, or to give it its own line.

   Its own line, then. Nothing can collide, and any length fits. The two
   figures stay distinguishable by weight and by side rather than by
   proximity: the unit price muted and ranged left, the total bright and
   ranged right. */
@media (max-width: 340px) {
	.woocommerce-cart table.shop_table.cart tr.cart_item {
		grid-template-areas:
			"thumb name  name"
			"thumb price price"
			"thumb total total"
			"thumb qty   qty";
		grid-template-rows: auto auto auto 1fr;
		row-gap: 0.35rem;
	}
}

/* ---------------------------------------------------------------
   23. A 16px floor for form controls on touch devices

   Safari on iPhone zooms the whole page in when you focus a field
   rendering under 16px - it assumes anything smaller is too small to
   read. It does not zoom back out on blur, so the customer is left on a
   page 1.3x too wide, scrolling sideways, mid checkout. Five controls
   were tripping it: both quantity inputs, the country select and the
   box select2 draws over it, and the postcode.

   The fix is the font size itself. The other way round - pinning
   `maximum-scale=1` on the viewport - stops the zoom by stopping
   pinch-zoom for everyone, which fails WCAG 1.4.4.

   Scoped to `pointer: coarse` so the tuned 0.95rem survives on a mouse,
   where the zoom does not exist and there is no reason to change what
   the rest of the type was balanced against.

   The selector below is section 22's, repeated in full rather than
   shortened. Written the obvious way - `.woocommerce :is(input, select,
   textarea)` - it is (0,1,2) and loses to section 22's (0,5,1), and the
   postcode and country fields silently stayed at 15.2px. Same trap as the
   plugin overrides: the short selector reads correctly and does nothing.
   --------------------------------------------------------------- */
@media (pointer: coarse) {
	.woocommerce :is(
		input[type="text"], input[type="email"], input[type="tel"],
		input[type="number"], input[type="password"], input[type="search"],
		input[type="url"], textarea, select
	):not(.qty):not([type="checkbox"]):not([type="radio"]),
	.woocommerce .quantity input.qty,
	.woocommerce div.product form.cart .quantity input.qty,
	.select2-container--default .select2-selection--single .select2-selection__rendered,
	.select2-container--default .select2-search--dropdown .select2-search__field {
		font-size: 1rem;
	}
}

/* ---------------------------------------------------------------
   24. Legal documents
   Shipping, terms and privacy, refunds and returns.

   These are consulted, not read. Somebody wants to know whether their
   country is on the list, or what happens if the parcel arrives crushed.
   Everything here serves being able to find one answer and leave.

   What was wrong was mostly structural rather than decorative. The prose
   sat in a 534px measure ranged hard against the left edge of a 1280px
   page with seven hundred pixels of nothing beside it, while the headings
   ran the full width, so the two did not read as one document. There were
   no lists: thirty bullets across the three pages were the character "•"
   typed at the front of a line inside a paragraph, with <br> between
   them. Sub-headings were bold runs mid-paragraph. On the terms page all
   fourteen headings were h2, including one with two headings inside it.

   The rail now occupies the space the prose was never going to use, which
   is what a contents list is for.
   --------------------------------------------------------------- */
.legal-doc .doc {
	/* Wider than the site's prose measure, on purpose. `--wrap-text` is
	   50ch, which measures out at 59 characters to the line in Lora - fine
	   for an essay, thin for a document with a 240px rail either side of
	   it and a screen wide enough to show all three. 57ch lands at about
	   67 characters, still inside the 45 to 75 that sustained reading
	   wants, and it stops the column reading as a narrow strip. */
	--doc-measure: 57ch;

	display: grid;
	grid-template-columns: minmax(0, var(--doc-measure));
	justify-content: center;
	gap: clamp(2rem, 5vw, 4.5rem);
}

@media (min-width: 900px) {
	/* Three columns, the third one empty and never filled. Two columns
	   centred would centre the *pair*, which pushes the prose 152px right
	   of the page's centre line and leaves the title floating over the
	   gap rather than over the text it introduces. Balanced by an equal
	   empty column, the prose stays under the title and the rail hangs in
	   the margin beside it, which is where a margin note belongs.

	   The rail comes first in the source as well as on screen: it is a
	   navigation landmark and should be reachable before the document it
	   navigates, not after it. */
	.legal-doc .doc {
		grid-template-columns: minmax(0, 15rem) minmax(0, var(--doc-measure)) minmax(0, 15rem);
		align-items: start;
	}
}

/* --- The contents rail --------------------------------------------- */
.legal-doc .doc__toc { font-family: var(--font-display); }

.legal-doc .doc__toc summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.9rem 1.05rem;
	border: 1px solid var(--rule-strong);
	color: var(--text-strong);
	font-size: 0.66rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
	list-style: none;
}
.legal-doc .doc__toc summary::-webkit-details-marker { display: none; }
.legal-doc .doc__toc summary::marker { content: ""; }
.legal-doc .doc__toc summary::after {
	content: "";
	width: 11px;
	height: 7px;
	flex: none;
	background: currentColor;
	-webkit-mask: var(--chevron) no-repeat center / contain;
	mask: var(--chevron) no-repeat center / contain;
	transition: transform .25s var(--ease);
}
.legal-doc .doc__toc[open] summary::after { transform: rotate(180deg); }

.legal-doc .doc__toc ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
/* The `:not(.btn)` is not idle. Prose links are accent coloured by
   `.entry__content a:not(.btn):not(.button)`, which is (0,3,1); written
   the short way this rule is (0,2,1) and loses, and the whole rail comes
   out pink - fifteen links all shouting at once, in the one colour this
   site spends sparingly. The extra :not() buys the point back. */
.legal-doc .doc__toc .doc__toc-item a:not(.btn) {
	display: block;
	padding: 0.42rem 0;
	color: var(--text-muted);
	font-size: 0.78rem;
	line-height: 1.4;
	text-decoration: none;
	transition: color .2s var(--ease);
}
.legal-doc .doc__toc .doc__toc-item a:not(.btn):hover,
.legal-doc .doc__toc .doc__toc-item a:not(.btn):focus-visible { color: var(--text-strong); }

/* Subsections sit under their section rather than beside it. The terms
   page is two sections and thirteen subsections; flattened, the rail
   reads as fifteen unrelated links. */
.legal-doc .doc__toc-item--h3 a {
	padding-left: 0.9rem;
	font-size: 0.74rem;
}
.legal-doc .doc__toc-item--h3 + .doc__toc-item--h2 a { margin-top: 0.55rem; }

@media (min-width: 900px) {
	/* The same element, read twice. On a phone it is a real disclosure,
	   because fifteen links stacked above the first paragraph bury the
	   document they belong to. Here it stops being a control and becomes
	   the rail's heading - a list of links with nothing at the top of it
	   is a set of orphans, and hiding the summary outright left exactly
	   that. `pointer-events: none` is what makes it a heading rather than
	   a button: there is nothing to click, so the rail cannot be closed
	   at a width where it should always be open. */
	.legal-doc .doc__toc summary {
		padding: 0 0 0.9rem;
		margin-bottom: 0.35rem;
		border: 0;
		border-bottom: 1px solid var(--rule);
		color: var(--text-muted);
		font-size: 0.58rem;
		pointer-events: none;
	}
	.legal-doc .doc__toc summary::after { display: none; }

	.legal-doc .doc__toc {
		position: sticky;
		top: 2.5rem;
		padding-left: 1.15rem;
		border-left: 1px solid var(--rule);
		/* Scrolls on its own if a document ever outgrows the viewport,
		   rather than cutting the last entries off. */
		max-height: calc(100vh - 5rem);
		overflow-y: auto;
		scrollbar-width: thin;
	}
}

/* --- The document -------------------------------------------------- */
.legal-doc .doc__stamp {
	margin: 0 0 var(--rhythm);
	font-family: var(--font-display);
	font-size: 0.62rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.legal-doc .doc__body > h2 {
	margin: 3.2rem 0 1.1rem;
	padding-top: 1.6rem;
	border-top: 1px solid var(--rule);
	font-size: clamp(1.35rem, 1rem + 1.2vw, 1.75rem);
	line-height: 1.2;
}
.legal-doc .doc__body > h2:first-of-type {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.legal-doc .doc__body > h3 {
	margin: 2.2rem 0 0.7rem;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--text-strong);
}

.legal-doc .doc__body :is(p, ul, ol, dl) { margin-block: 0 1.1rem; }
.legal-doc .doc__body > :last-child { margin-bottom: 0; }

/* --- Lists ----------------------------------------------------------
   A square marker. The accent gets to appear about once a page, and a
   list of what you may not do with somebody's drawings is a reasonable
   place to spend it. Square for the same reason everything else here is:
   the work is drawn on paper with square edges. */
.legal-doc .doc__body ul:not(.doc-places) {
	list-style: none;
	padding-left: 0;
}
.legal-doc .doc__body ul:not(.doc-places) > li {
	position: relative;
	padding-left: 1.5rem;
	margin-bottom: 0.5rem;
	line-height: 1.65;
}
.legal-doc .doc__body ul:not(.doc-places) > li::before {
	content: "";
	position: absolute;
	left: 0;
	/* Set against the middle of the first line rather than the top of the
	   box, so it stays with the text when an item wraps. */
	top: calc(0.825em - 2px);
	width: 5px;
	height: 5px;
	background: var(--accent);
}

/* --- Where do you ship to? ------------------------------------------
   Fifty-five countries as a comma separated paragraph is a wall that has
   to be read to be searched. In columns it can be scanned, which is the
   only thing anyone does with this list.
   The count comes from the list's own width, not the viewport's: beside
   the contents rail the column is only 328px, and three columns there
   left 88px each, which split Luxembourg and Herzegovina mid-word. 7.5rem
   holds the longest single word (Liechtenstein) and still gives two
   columns at 320px. */
.legal-doc .doc-places {
	columns: 7.5rem 3;
	column-gap: 2rem;
	list-style: none;
	padding-left: 0;
	font-size: 0.94rem;
}
.legal-doc .doc-places > li {
	break-inside: avoid;
	padding: 0.2rem 0;
	color: var(--text);
}

/* --- The two things that cost money if they are missed -------------- */
.legal-doc .doc-callout {
	padding: 1.05rem 1.25rem;
	background: var(--bg-raised);
	border-left: 2px solid var(--accent-fill);
	color: var(--text-strong);
}
.legal-doc .doc-callout strong { color: var(--accent-text); }

/* --- FAQ ------------------------------------------------------------
   A description list, so the question is marked up as the thing the
   answer belongs to. Kept out of the rail deliberately: these are asides,
   and listing them beside the sections would double its length with
   entries nobody navigates by. */
.legal-doc .doc-faq { margin: 0; }
.legal-doc .doc-faq dt {
	margin-top: 1.6rem;
	font-family: var(--font-display);
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--text-strong);
}
.legal-doc .doc-faq dt:first-child { margin-top: 0; }
.legal-doc .doc-faq dd {
	margin: 0.55rem 0 0;
	padding-left: 1.15rem;
	border-left: 1px solid var(--rule);
	color: var(--text);
}

/* Anchors land under the top of the window rather than flush against it. */
.legal-doc :is(h2, h3)[id] { scroll-margin-top: 2.5rem; }

/* ---------------------------------------------------------------
   25. Checkout

   Checkout is the block checkout, not the classic form the cart uses, so
   none of section 21 or 22 reaches it. It arrived as WooCommerce Blocks
   ships it: white fields with near-black borders on a near-black page,
   4px rounded corners, and a "Place order" button drawn as a faint
   outline - the least emphatic control on the page doing the one thing
   the page exists for.

   Every selector here is anchored on `body.woocommerce-checkout`, and
   that is deliberate rather than decorative. checkout.css and
   packages-style.css are enqueued *after* this stylesheet, so a tie in
   specificity goes to the plugin. Their form rules run to (0,3,1);
   prefixing `body.woocommerce-checkout` puts these at (0,3,2) and they
   win on element count. Shorten one of these selectors and it does not
   error, it simply stops applying and the field goes white again.
   --------------------------------------------------------------- */

/* --- Layout ---------------------------------------------------------
   The block stacks its sidebar under the form below 700px and runs two
   columns above it. Between 700 and 1000 that leaves the summary about
   270px wide, which is where the overflow at 820px was coming from:
   titles breaking mid-phrase, the description running to five lines, and
   the item rows drawn wider than the column holding them.

   Stacked to 900px instead. The block already knows how to do this - the
   summary takes order 0 and moves above the form, which is the right way
   round on a narrow screen, since what you are buying should come before
   the form that buys it. */
@media (max-width: 899px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout {
		flex-direction: column;
		flex-wrap: nowrap;
	}
	body.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
	body.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
		flex: 1 1 100%;
		max-width: 100%;
		width: 100%;
		padding-left: 0;
		padding-right: 0;
	}
	body.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
		order: 0;
		/* Un-stick it. The block makes the sidebar sticky for its own two
		   column layout, which it still thinks it is in at this width.
		   Stacked and left sticky, the summary pinned itself to the top of
		   the window and the form scrolled underneath it - the payment
		   section was drawn behind the summary panel and could not be
		   reached. Sticky only makes sense beside the form, never above it. */
		position: static;
		/* Room between the summary and the form under it. The express
		   payment title is drawn straddling its own top border, the way a
		   legend sits on a fieldset, so with the default 5px it landed on
		   the summary panel's bottom edge and read as two elements
		   colliding rather than one label on a rule. */
		margin-bottom: 2.75rem;
	}
	body.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-main { order: 1; }
}

/* Nothing inside the summary may be wider than the summary. The item rows
   carry a negative inline margin of their own for the quantity badge; on
   a column this narrow that margin was what pushed the content past its
   own container. */
body.woocommerce-checkout .wc-block-components-order-summary,
body.woocommerce-checkout .wc-block-components-order-summary__content,
body.woocommerce-checkout .wc-block-components-order-summary-item {
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}
body.woocommerce-checkout .wc-block-components-sidebar { min-width: 0; }

/* --- Fields ---------------------------------------------------------
   The same treatment as section 22 gives the classic form, so the cart's
   shipping calculator and this page read as one system rather than two. */
/* Written out one control at a time rather than gathered into a single
   `:is()`, which is what the first attempt did and why every field stayed
   white. `:is()` contributes the specificity of its most specific
   argument and nothing for itself, so
   `body.woocommerce-checkout :is(.wc-block-components-text-input input, …)`
   is (0,2,2) - a class short of the plugin's (0,3,1), and beaten. Naming
   the wrapper class in each selector puts these at (0,3,2), which wins on
   element count. The `:not([type="hidden"])` is there to cover every
   input type at once without listing six of them. */
body.woocommerce-checkout .wc-block-components-text-input input:not([type="hidden"]),
body.woocommerce-checkout .wc-blocks-components-select select.wc-blocks-components-select__select,
body.woocommerce-checkout textarea.wc-block-components-textarea:not([hidden]) {
	background-color: var(--bg-input);
	color: var(--text-strong);
	border: 1px solid var(--rule-strong);
	border-radius: 0;
	font-family: var(--font-body);
	box-shadow: none;
}
body.woocommerce-checkout .wc-block-components-text-input input:not([type="hidden"]):focus,
body.woocommerce-checkout .wc-blocks-components-select select.wc-blocks-components-select__select:focus,
body.woocommerce-checkout textarea.wc-block-components-textarea:not([hidden]):focus {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
	border-color: var(--accent);
	box-shadow: none;
}
/* The field turns white again the moment it is autofilled, because the
   browser paints its own background. Only the inset shadow trick reaches
   it; `background-color` is ignored on an autofilled control. */
body.woocommerce-checkout .wc-block-components-text-input input:-webkit-autofill,
body.woocommerce-checkout .wc-block-components-text-input input:-webkit-autofill:focus {
	-webkit-text-fill-color: var(--text-strong);
	-webkit-box-shadow: 0 0 0 100px var(--bg-input) inset;
	caret-color: var(--text-strong);
}

/* The floating label sits inside the field, so it has to be legible on
   the field's own background rather than on the page's. */
body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-blocks-components-select__label {
	color: var(--text-muted);
	font-family: var(--font-body);
}
body.woocommerce-checkout .wc-block-components-text-input.is-active label {
	color: var(--text-muted);
}

/* The select draws its own arrow as a background image, which cannot take
   currentColor; the theme keeps a painted copy for exactly this. */
body.woocommerce-checkout .wc-blocks-components-select__container::after,
body.woocommerce-checkout .wc-blocks-components-select__expand {
	background: var(--chevron-ink) no-repeat center / 11px 7px;
	border: 0;
	opacity: 1;
}
body.woocommerce-checkout .wc-blocks-components-select__select option {
	background-color: var(--bg-raised);
	color: var(--text-strong);
}

/* --- Checkboxes and radios ------------------------------------------
   Square, and filled with the accent when they are on. The tick is drawn
   white because it only ever sits on that fill. */
body.woocommerce-checkout .wc-block-components-checkbox__input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	width: 20px;
	height: 20px;
	margin: 0 0.6rem 0 0;
	background-color: var(--bg-input);
	border: 1px solid var(--rule-strong);
	border-radius: 0;
	transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
body.woocommerce-checkout .wc-block-components-checkbox__input[type="checkbox"]:checked {
	background-color: var(--accent-fill);
	border-color: var(--accent-fill);
	background-image: var(--tick);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 11px 9px;
}
body.woocommerce-checkout .wc-block-components-checkbox__input[type="checkbox"]:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}
/* The block draws its own tick over the input as an SVG. With the input
   painting one of its own, two ticks appeared on every checked box. */
body.woocommerce-checkout .wc-block-components-checkbox__mark { display: none; }

body.woocommerce-checkout .wc-block-components-radio-control__input {
	border-color: var(--rule-strong);
	background-color: var(--bg-input);
}
body.woocommerce-checkout .wc-block-components-radio-control__input:checked {
	border-color: var(--accent-fill);
}

/* --- Panels ---------------------------------------------------------
   Payment options, the express block and the summary all become the same
   raised panel the cart totals use. */
body.woocommerce-checkout :is(
	.wc-block-components-radio-control-accordion-option,
	.wc-block-components-radio-control__option,
	.wc-block-checkout__payment-method .wc-block-components-radio-control
) {
	border-radius: 0;
	border-color: var(--rule);
}
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option {
	background: var(--bg-raised);
	border: 1px solid var(--rule);
}
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option:has(input:checked) {
	border-color: var(--rule-strong);
}
body.woocommerce-checkout .wc-block-components-radio-control-accordion-content {
	background: transparent;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block {
	padding: clamp(1.25rem, 3vw, 1.75rem);
	background: var(--bg-raised);
	border: 1px solid var(--rule);
}
@media (min-width: 900px) {
	/* Two columns, on one line, both starting at the top.
	   The layout container is `flex-wrap: wrap` by default, and the
	   summary was ending up a thousand pixels down the page - level with
	   the payment section, its foot aligned to the "Place order" button,
	   with the whole top right of the checkout empty. `nowrap` keeps the
	   two columns on a single line and `flex-start` puts the summary at
	   the top of it, which is the only place it is any use: it is what a
	   customer checks while filling in the fields beside it. */
	body.woocommerce-checkout .wc-block-components-sidebar-layout {
		flex-wrap: nowrap;
		align-items: flex-start;
	}
	body.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
		align-self: flex-start;
		margin-top: 0;
	}
}

/* --- Type -----------------------------------------------------------
   Step titles as the same uppercase Montserrat label used for section
   headings elsewhere, rather than as headings competing with the page's
   own H1. */
body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-checkout-order-summary__title-text,
body.woocommerce-checkout .wc-block-components-express-payment__title {
	font-family: var(--font-display);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--text-strong);
}
body.woocommerce-checkout .wc-block-components-checkout-step__description {
	color: var(--text-muted);
	font-family: var(--font-body);
	font-size: 0.9rem;
}
body.woocommerce-checkout .wc-block-components-totals-item__label { color: var(--text-muted); }
body.woocommerce-checkout .wc-block-components-totals-item__value { color: var(--text-strong); }
body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-family: var(--font-display);
	font-weight: 600;
}

/* Square, like everything else that holds text. */
body.woocommerce-checkout .wc-block-components-product-badge {
	border-radius: 0;
	border-color: var(--rule-strong);
	color: var(--text-muted);
	font-family: var(--font-display);
	font-size: 0.58rem;
	letter-spacing: 0.1em;
}

/* --- The one thing this page is for ---------------------------------
   It shipped as an outline: a transparent box with a 30% white border,
   quieter than the "Add a note to your order" checkbox above it. The cart
   fills its checkout button with the accent, and the last step of the
   same journey should not be less certain of itself than the first. */
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background: var(--accent-fill);
	border: 1px solid var(--accent-fill);
	border-radius: 0;
	color: var(--on-accent);
	font-family: var(--font-display);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	min-height: var(--control-h);
	transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover:not(:disabled) {
	background: var(--accent);
	border-color: var(--accent);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

/* --- Notices and empty states --------------------------------------- */
body.woocommerce-checkout :is(
	.wc-block-components-notice-banner,
	.wc-block-components-shipping-rates-control__no-results-notice
) {
	background: var(--bg-raised);
	border: 1px solid var(--rule);
	border-left: 2px solid var(--accent);
	border-radius: 0;
	color: var(--text);
}
body.woocommerce-checkout .wc-block-components-notice-banner.is-error {
	border-left-color: var(--accent-fill);
}
body.woocommerce-checkout .wc-block-components-validation-error {
	color: var(--accent-text);
	font-family: var(--font-body);
}

/* The rule either side of "Or continue below" is drawn with a border on
   a pseudo-element and came through as the plugin's own near-black. */
body.woocommerce-checkout .wc-block-components-express-payment-continue-rule {
	color: var(--text-muted);
	font-family: var(--font-display);
	font-size: 0.62rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
body.woocommerce-checkout .wc-block-components-express-payment-continue-rule::before,
body.woocommerce-checkout .wc-block-components-express-payment-continue-rule::after {
	border-color: var(--rule);
}
body.woocommerce-checkout .wc-block-components-express-payment {
	border-color: var(--rule);
}

/* ---------------------------------------------------------------
   24b. The contents rail, continued
   Where you are in the document, and how to get somewhere else.
   --------------------------------------------------------------- */

/* --- On a phone, one panel rather than two loose pieces -------------
   The <details> carried no border of its own, so only the summary was
   drawn as a box and the links fell out of the bottom of it: a bordered
   button with a list of orphans underneath, ranged against the page edge
   and 31px tall, under the 44px anything tapped should be. */
@media (max-width: 899px) {
	.legal-doc .doc__toc {
		background: var(--bg-raised);
		border: 1px solid var(--rule);
	}
	.legal-doc .doc__toc summary {
		border: 0;
		padding: 1rem 1.15rem;
	}
	/* The divider belongs to the open state. Closed, the panel is a single
	   bar and a rule across the bottom of it would be a line to nowhere. */
	.legal-doc .doc__toc[open] summary { border-bottom: 1px solid var(--rule); }

	.legal-doc .doc__toc nav { padding: 0.35rem 0; }

	.legal-doc .doc__toc .doc__toc-item a:not(.btn) {
		padding: 0.72rem 1.15rem;
		min-height: 44px;
		display: flex;
		align-items: center;
		font-size: 0.82rem;
	}
	/* Indent by padding rather than margin so the whole row stays tappable
	   to both edges. */
	.legal-doc .doc__toc .doc__toc-item--h3 a:not(.btn) {
		padding-left: 2.1rem;
		font-size: 0.78rem;
	}
	.legal-doc .doc__toc .doc__toc-item + .doc__toc-item--h2 a:not(.btn) {
		border-top: 1px solid var(--rule);
		margin-top: 0.35rem;
		padding-top: 0.95rem;
	}
	.legal-doc .doc__toc .doc__toc-item a:not(.btn):active {
		background: var(--accent-soft);
	}
}

/* --- Where you are --------------------------------------------------
   Set by script from the heading currently in view. Without it the rail
   is a list of places you might go and no indication of the one you are
   already in, which on a fifteen section document is most of the value. */
.legal-doc .doc__toc .doc__toc-item a[aria-current="true"]:not(.btn) {
	color: var(--text-strong);
	font-weight: 600;
}

@media (min-width: 900px) {
	/* A mark in the rule the rail hangs off, rather than a background
	   behind the text. The rule is already there; this lights up the part
	   of it belonging to the section being read, so the rail reads as a
	   position indicator instead of a list with one bold item. */
	.legal-doc .doc__toc .doc__toc-item a:not(.btn) {
		position: relative;
		padding-left: 0;
	}
	.legal-doc .doc__toc .doc__toc-item a[aria-current="true"]:not(.btn)::before {
		content: "";
		position: absolute;
		left: -1.15rem;
		top: 0.42rem;
		bottom: 0.42rem;
		width: 2px;
		margin-left: -1px;
		background: var(--accent);
	}
	/* The subsection indent is padding, so it moves the text and not the
	   box. The mark is positioned against the box, which means both levels
	   take the same offset - an h3 override here put it 15px clear of the
	   rule it is supposed to be sitting on. */
	.legal-doc .doc__toc .doc__toc-item--h3 a:not(.btn) { padding-left: 0.9rem; }
}

/* --- The bar that follows you down a phone --------------------------
   Once the contents have scrolled off the top there is nothing left
   saying which section is on screen, and the way back to the list is the
   whole document away. This is that list again, as a bar.

   `hidden` until script decides otherwise, and never shown at all on a
   width where the rail is permanently visible beside the text. */
.legal-doc .doc__rail {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 80;
	background: var(--bg-raised);
	border-bottom: 1px solid var(--rule);
	/* Slides down rather than appearing. Crossing the contents is a
	   gradual thing and a bar that materialises reads as a glitch. */
	transform: translateY(-100%);
	transition: transform .28s var(--ease);
}
.legal-doc .doc__rail[hidden] { display: none; }
.legal-doc .doc__rail.is-visible { transform: translateY(0); }

@media (min-width: 900px) {
	/* The rail proper is on screen at these widths, so this would be a
	   second copy of it. */
	.legal-doc .doc__rail { display: none !important; }
}

.legal-doc .doc__rail-toggle {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.15rem;
	width: 100%;
	min-height: 56px;
	padding: 0.6rem 1.25rem;
	background: none;
	border: 0;
	text-align: left;
	cursor: pointer;
	color: var(--text-strong);
}
.legal-doc .doc__rail-eyebrow {
	font-family: var(--font-display);
	font-size: 0.54rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--text-muted);
}
.legal-doc .doc__rail-current {
	display: block;
	max-width: 100%;
	font-family: var(--font-display);
	font-size: 0.82rem;
	font-weight: 500;
	line-height: 1.25;
	/* Sentence case, and it has to be said. The theme sets every <button>
	   uppercase with 0.18em tracking, which is right for a control saying
	   PLACE ORDER and wrong for one quoting a heading: "Prints &
	   Merchandise (T-shirts)" came out shouting, and wide enough that the
	   longer titles were cut off. The eyebrow above it keeps the uppercase
	   treatment, which is what marks the two apart. */
	text-transform: none;
	letter-spacing: 0.01em;
	/* One line. A section title long enough to wrap would double the
	   height of a bar that is meant to stay out of the way. */
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* The chevron is on the bar rather than beside the title, so it does not
   move as the title changes length. */
.legal-doc .doc__rail-toggle::after {
	content: "";
	position: absolute;
	right: 1.25rem;
	top: 50%;
	width: 11px;
	height: 7px;
	margin-top: -3px;
	background: currentColor;
	-webkit-mask: var(--chevron) no-repeat center / contain;
	mask: var(--chevron) no-repeat center / contain;
	color: var(--text-muted);
	transition: transform .25s var(--ease);
}
.legal-doc .doc__rail { position: fixed; }
.legal-doc .doc__rail-toggle { position: relative; }
.legal-doc .doc__rail-toggle[aria-expanded="true"]::after { transform: rotate(180deg); }

.legal-doc .doc__rail-panel {
	max-height: min(60vh, 26rem);
	overflow-y: auto;
	overscroll-behavior: contain;
	border-top: 1px solid var(--rule);
	scrollbar-width: thin;
}
.legal-doc .doc__rail-panel[hidden] { display: none; }
.legal-doc .doc__rail-panel ul {
	list-style: none;
	margin: 0;
	padding: 0.35rem 0;
}
.legal-doc .doc__rail-panel .doc__toc-item a {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 0.72rem 1.25rem;
	color: var(--text-muted);
	font-family: var(--font-display);
	font-size: 0.82rem;
	text-decoration: none;
}
.legal-doc .doc__rail-panel .doc__toc-item--h3 a {
	padding-left: 2.2rem;
	font-size: 0.78rem;
}
.legal-doc .doc__rail-panel .doc__toc-item a[aria-current="true"] {
	color: var(--text-strong);
	font-weight: 600;
}
.legal-doc .doc__rail-panel .doc__toc-item a:active { background: var(--accent-soft); }

/* The bar covers the top of the window, so an anchor landing at 2.5rem
   would land underneath it. */
@media (max-width: 899px) {
	.legal-doc :is(h2, h3)[id] { scroll-margin-top: 5.5rem; }
}

@media (prefers-reduced-motion: reduce) {
	.legal-doc .doc__rail { transition: none; }
	.legal-doc .doc__rail-toggle::after { transition: none; }
}

/* ---------------------------------------------------------------
   25b. Checkout, continued
   --------------------------------------------------------------- */

/* --- Place order, properly ------------------------------------------
   Three separate things were wrong with it and only one was visible at a
   glance.

   The colour was set on the button, but the block renders the words in a
   span of their own and colours that span, so the label stayed the body
   text colour: 3.01:1 on the accent fill, under the 4.5:1 it needs. It
   read as greyed out - as a button that was not ready yet - on the one
   control that is always ready.

   The size came from the plugin: 36px tall on a 34.56px min-height, which
   is smaller than every other control on the page and well under the
   44px anything tapped should be. */
body.woocommerce-checkout button.wc-block-components-button.wc-block-components-checkout-place-order-button {
	min-height: var(--control-h);
	padding: 1.05rem 1.75rem;
	font-size: 0.75rem;
	letter-spacing: 0.16em;
	line-height: 1.2;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button .wc-block-components-button__text {
	color: var(--on-accent);
	font-family: var(--font-display);
	font-weight: 600;
	letter-spacing: inherit;
}
/* The spinner the button shows while an order is going through is drawn
   in the same inherited colour, and would disappear against the fill. */
body.woocommerce-checkout .wc-block-components-checkout-place-order-button .wc-block-components-spinner::before {
	border-top-color: var(--on-accent);
}

/* --- The gap above the terms ----------------------------------------
   48px of padding above the rule, 48px of margin below it, and the
   checkbox's own 17px on top of that: 111px of nothing between "Add a
   note" and the line a customer has to read before they can buy. The
   separator is worth keeping - it marks the last step before the money -
   but it does not need to be that far away from either side of it. */
body.woocommerce-checkout .wc-block-checkout__terms {
	padding-top: 1.25rem;
	margin-bottom: 1.5rem;
}
body.woocommerce-checkout .wc-block-checkout__terms .wc-block-components-checkbox {
	margin-top: 0;
}
/* Say why nothing happened.
   The checkbox is genuinely required - unchecked, WooCommerce registers a
   validation error and the order cannot be placed - but it registers it
   with `hidden: true`, so the only feedback is the box turning red. A
   customer who has filled in the whole form, pressed Place order and had
   nothing happen is owed a sentence. Attached to the plugin's own
   `has-error` state, so it appears exactly when the submission is
   actually being blocked and never otherwise. */
body.woocommerce-checkout .wc-block-checkout__terms .wc-block-components-checkbox.has-error::after {
	content: "Please tick this to place your order.";
	display: block;
	margin-top: 0.4rem;
	color: var(--accent-text);
	font-family: var(--font-body);
	font-size: 0.85rem;
	line-height: 1.4;
}

/* The other half of it. Checkout steps are spaced 48px apart, which is
   right between "Shipping address" and "Payment options" and much too
   much under "Add a note to your order" - a single 25px line that is not
   really a step at all. Narrowed only for that one, so the rhythm of the
   real steps above is untouched. */
body.woocommerce-checkout .wc-block-components-checkout-step:has(.wc-block-checkout__add-note) {
	margin-bottom: 1.5rem;
}

/* --- The shipping line in the summary -------------------------------
   The block labels this row with the name of the chosen rate, so the
   summary read "Fast (1-3 days)  27,34 €" with no indication that the
   line is shipping at all. Next to "Subtotal" and "Total" it looked like
   a third product had been added to the order.

   The row is relabelled rather than the rate renamed: the rate's own name
   still has to say "Fast (1-3 days)" where it is chosen, a few inches up
   the page. So "Shipping" is what the line is, and the rate name stays,
   underneath, as the detail it always was.

   `content` is not translatable, which is the cost of doing it here. It
   is written this way because the label is rendered by React from the
   Store API and re-rendered whenever the cart changes: text swapped in by
   script is undone on the next update, whereas a pseudo-element survives
   because it was never in the DOM to begin with. */
body.woocommerce-checkout .wc-block-components-totals-shipping .wc-block-components-totals-item__label {
	display: flex;
	flex-direction: column;
	gap: 0.12rem;
	font-size: 0.78rem;
	line-height: 1.35;
	color: var(--text-muted);
}
body.woocommerce-checkout .wc-block-components-totals-shipping .wc-block-components-totals-item__label::before {
	content: "Shipping";
	font-size: 1.0625rem;
	line-height: 1.3;
	color: var(--text-muted);
}
/* The figure sits against the first line rather than the middle of two. */
body.woocommerce-checkout .wc-block-components-totals-shipping .wc-block-components-totals-item {
	align-items: start;
}

/* ---------------------------------------------------------------
   26. The cookie policy

   Complianz generates this page, and it is the fourth policy document in
   the footer, so it gets the same treatment as the other three: contents
   rail, measure, last-updated line. Adding its slug to
   `anita_legal_slugs()` is all that takes.

   What it needs on top of that is the plugin's own furniture. Every
   service and category is a disclosure whose header Complianz paints
   `rgba(239,239,239,.5)` - a light grey slab, fixed, on the assumption
   the page behind it is white. On this one the theme's text colour sits
   on top of it at **1.01:1**: white lettering on near white. The names of
   the services placing cookies on a visitor's machine were, in dark mode,
   invisible.
   --------------------------------------------------------------- */

/* --- The service and category headers -------------------------------
   Tokens rather than fixed greys, so the same rule answers both schemes
   instead of one of them.

   `#cmplz-document` is in these selectors because Complianz's own rule is
   `#cmplz-document .cmplz-dropdown summary` - an id, which outranks any
   number of classes. Written with classes alone this section parsed,
   applied to nothing, and left the headers exactly as they were. Naming
   the summary as well as the id clears their (1,2,1) on element count,
   so it does not rest on which stylesheet happens to load last. */
body.page--cookie-policy-eu #cmplz-document .cmplz-dropdown summary,
body.page--cookie-policy-eu #cmplz-document :is(.cmplz-service-header, .cmplz-category-header) {
	background: var(--bg-raised);
	border: 1px solid var(--rule);
	border-radius: 0;
	padding: 0.9rem 1.1rem;
}
body.page--cookie-policy-eu #cmplz-document .cmplz-dropdown summary:hover,
body.page--cookie-policy-eu #cmplz-document :is(.cmplz-service-header, .cmplz-category-header):hover {
	border-color: var(--rule-strong);
}
body.page--cookie-policy-eu #cmplz-document :is(
	.cmplz-service-title, .cmplz-category-title, .cmplz-service-header h3,
	.cmplz-category-header h4, .cmplz-service-header h4
) {
	margin: 0;
	color: var(--text-strong);
	font-family: var(--font-display);
	font-size: 0.86rem;
	font-weight: 500;
	letter-spacing: 0.02em;
}
/* The category on the right of the header - "Functional", "Statistics" -
   is a label for the thing next to it and should not compete with it. */
body.page--cookie-policy-eu #cmplz-document :is(.cmplz-service-category, .cmplz-category-header span) {
	color: var(--text-muted);
	font-family: var(--font-display);
	font-size: 0.62rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
/* Complianz's own green. It means "on", which is worth keeping - but in
   the palette this site actually has. */
body.page--cookie-policy-eu #cmplz-document .cmplz-always-active {
	color: var(--accent-text);
}

/* The chevron is an inline SVG with a fixed stroke. */
body.page--cookie-policy-eu #cmplz-document :is(.cmplz-service-header, .cmplz-category-header) svg,
body.page--cookie-policy-eu #cmplz-document :is(.cmplz-service-header, .cmplz-category-header) svg path {
	stroke: var(--text-muted);
	fill: none;
}

/* --- What the disclosure opens onto ---------------------------------
   Each cookie is a stack of h5 labels - Name, Expiration, Function - with
   the value under each. 183 of them on this page. Left at heading sizes
   they read as a document of their own; they are field labels. */
body.page--cookie-policy-eu #cmplz-document .cmplz-service-description,
body.page--cookie-policy-eu #cmplz-document .cmplz-sharing-data,
body.page--cookie-policy-eu #cmplz-document .cmplz-dropdown > div {
	border-color: var(--rule);
}
body.page--cookie-policy-eu #cmplz-document h5 {
	margin: 0.9rem 0 0.1rem;
	color: var(--text-muted);
	font-family: var(--font-display);
	font-size: 0.58rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
body.page--cookie-policy-eu #cmplz-document h4 {
	margin: 1.6rem 0 0.5rem;
	color: var(--text-strong);
	font-family: var(--font-display);
	font-size: 0.78rem;
	font-weight: 600;
}

/* --- The per-service consent switches ------------------------------- */
body.page--cookie-policy-eu #cmplz-document .cmplz_consent_per_service_label,
body.page--cookie-policy-eu #cmplz-document label {
	color: var(--text);
	font-family: var(--font-body);
	font-size: 0.9rem;
}
body.page--cookie-policy-eu #cmplz-document input[type="checkbox"] {
	accent-color: var(--accent-fill);
}

/* --- Complianz's own tables, where it uses them ---------------------- */
body.page--cookie-policy-eu #cmplz-document table {
	width: 100%;
	border-collapse: collapse;
	white-space: normal;
}
body.page--cookie-policy-eu #cmplz-document :is(th, td) {
	padding: 0.55rem 0.7rem;
	border-bottom: 1px solid var(--rule);
	text-align: left;
	font-size: 0.86rem;
}

/* The document opens with its date as an italic standfirst; the theme's
   own stamp says the same thing above it, so this is the sentence rather
   than a second date line. */
body.page--cookie-policy-eu #cmplz-document > p:first-child i,
body.page--cookie-policy-eu #cmplz-document p i:first-child {
	color: var(--text-muted);
}

/* --- The consent switches under "Manage your consent settings" -------
   A second container with a second set of rules, one level deeper again.
   Complianz styles this one at
   `#cmplz-manage-consent-container.cmplz-manage-consent-container
    .cmplz-categories .cmplz-category .cmplz-category-header` - (1,4,0).
   The block above only reaches (1,2,1), so this row kept the grey slab
   and its label stayed invisible after everything else was fixed. Same
   chain plus the body class, which takes it to (1,5,1). */
body.page--cookie-policy-eu #cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header {
	background: var(--bg-raised);
	border: 1px solid var(--rule);
	border-radius: 0;
	padding: 0.9rem 1.1rem;
}
body.page--cookie-policy-eu #cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-category-title {
	color: var(--text-strong);
	font-family: var(--font-display);
	font-size: 0.86rem;
	font-weight: 500;
}
/* Complianz's fixed green reads as "on" - at 3.16:1 on the dark ground,
   which is under AA. The accent says the same thing in the palette the
   rest of the page is drawn in.

   Set as their variable rather than as a colour of our own. Their rule is
   `#cmplz-manage-consent-container.cmplz-manage-consent-container
    .cmplz-categories .cmplz-category .cmplz-category-header
    .cmplz-always-active` at (1,5,0), and it reads
   `var(--cmplz_category_header_always_active_color)`. Out-specifying that
   takes a six-class selector; supplying the variable it already asks for
   takes one line and keeps working if they restructure the chain.

   Scoped to this page, so the consent banner elsewhere is untouched. */
body.page--cookie-policy-eu {
	--cmplz_category_header_always_active_color: var(--accent-text);
}
body.page--cookie-policy-eu #cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-always-active,
body.page--cookie-policy-eu #cmplz-document .cmplz-always-active {
	font-family: var(--font-display);
	font-size: 0.62rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
body.page--cookie-policy-eu #cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header svg,
body.page--cookie-policy-eu #cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header svg path {
	stroke: var(--text-muted);
	fill: none;
}

/* Two leftovers of Complianz's own document styling.

   `#cmplz-document ul { list-style: disc }` carries an id, so it beat the
   list reset in section 24 and every item was drawn twice: their disc and
   this theme's square accent marker, side by side.

   And `.cmplz-dropdown` is painted `rgba(239,239,239,.25)` and stands 5px
   taller than the summary inside it, so a pale strip showed under every
   service header once the header itself was made dark. */
body.page--cookie-policy-eu #cmplz-document ul:not(.doc-places) {
	list-style: none;
}
body.page--cookie-policy-eu #cmplz-document .cmplz-dropdown {
	background: transparent;
	border-radius: 0;
}

/* --- The cookie details, on a phone ---------------------------------
   Open a service on a 390px screen and 110 elements ran off the side of
   it: `.purpose` measured 484px inside a 342px parent, and the names,
   retentions and functions 383px. Nothing scrolled - an ancestor clips -
   so the values were simply cut off and unreachable. On the page whose
   entire job is telling people what is stored about them.

   A grid item's `min-width` is `auto`, which means it cannot be made
   narrower than its longest unbreakable run, and cookie names are exactly
   that. `min-width: 0` lets the track do its job, and `overflow-wrap`
   gives the long tokens somewhere to break. Both are needed: either alone
   still overflows.

   Both are confined to narrow screens, and that is the point. `min-width:
   0` removes the floor a track is sized from, so applied everywhere it let
   the desktop table's expiration column collapse to 70px and set "session"
   as "sessio / n" across three lines. Above 700px Complianz's own three
   column table has room to size itself and is left alone; below it, there
   is no width to be precious with and breaking a long cookie name is
   better than losing it off the side. */
@media (max-width: 699px) {
	body.page--cookie-policy-eu #cmplz-document .cookies-per-purpose,
	body.page--cookie-policy-eu #cmplz-document .cookies-per-purpose > *,
	body.page--cookie-policy-eu #cmplz-document .cmplz-service-description,
	body.page--cookie-policy-eu #cmplz-document .cmplz-sharing-data,
	body.page--cookie-policy-eu #cmplz-document :is(.purpose, .name, .retention, .function, h4, h5) {
		min-width: 0;
		max-width: 100%;
		overflow-wrap: anywhere;
	}
}

/* --- Inside an open service: the cookie table ------------------------
   Complianz paints these cells `#ffffff`, `#f7f7f7` and `#dadada` - the
   grid's own background showing through the gaps as hairlines. Fixed
   values again, so in dark mode the labels this theme sets in
   `--text-muted` sat on near white and the whole table was unreadable.
   The overflow fix above made the rows fit; it did not make them legible,
   which the measurements could not show and a screenshot did straight
   away. */
body.page--cookie-policy-eu #cmplz-document .cmplz-dropdown .cookies-per-purpose {
	background: var(--rule);
	gap: 1px;
}
body.page--cookie-policy-eu #cmplz-document .cmplz-dropdown .cookies-per-purpose > * {
	background: var(--bg-raised);
	padding: 0.6rem 0.8rem;
}
body.page--cookie-policy-eu #cmplz-document .cmplz-dropdown .cookies-per-purpose .purpose {
	background: var(--bg);
	color: var(--text-strong);
}
body.page--cookie-policy-eu #cmplz-document .cmplz-dropdown .cookies-per-purpose :is(.name, .retention, .function) {
	color: var(--text);
}

/* The label column sizes to its longest label instead of being pinned at
   100px. "EXPIRATION" set in tracked uppercase does not fit in 100px, and
   with `overflow-wrap: anywhere` inherited from the overflow fix it broke
   as "EXPIRATIO / N". The wrap is for the values - cookie names and
   retention strings, which genuinely have no break points - so it is
   taken back off the labels. */
@media (max-width: 699px) {
	body.page--cookie-policy-eu #cmplz-document .cmplz-dropdown .cookies-per-purpose {
		grid-template-columns: minmax(0, auto) minmax(0, 1fr);
	}
}
body.page--cookie-policy-eu #cmplz-document :is(h4, h5) {
	overflow-wrap: normal;
	word-break: normal;
	hyphens: none;
}

/* ---------------------------------------------------------------
   25c. Checkout, third pass
   --------------------------------------------------------------- */

/* --- The dividers ---------------------------------------------------
   Every rule on this page is drawn `rgba(18, 18, 18, .11)` - near black
   at eleven percent, which is a hairline on white and **1.06:1** on this
   page. Not faint: absent. The order summary had no visible separation
   between the item, the subtotal and the total; the terms section had no
   line above it at all.

   Scoped to the top and bottom edges, because those are the only ones
   any of these dividers use, and because the accent borders elsewhere in
   section 25 are all on the left - the notice bar, the selected payment
   method - so this cannot reach them. Buttons are excluded outright: the
   place order button is bordered in the accent fill on all four sides and
   would otherwise grow a seam across its top and bottom. */
/* Superseded by section 29, which excludes inputs. */

/* --- One card, not two ----------------------------------------------
   The summary panel is drawn in section 25; the block then draws its own
   border inside it and insets its contents by another 16px each side. Two
   frames a few pixels apart, and 60px of the column spent on the gap
   between them rather than on the order. The inner frame goes and the
   contents sit on the panel's own padding. */
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block {
	border: 0;
}
body.woocommerce-checkout .wc-block-components-order-summary,
body.woocommerce-checkout .wc-block-components-totals-item {
	padding-inline: 0;
}
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-cart-items-block {
	padding-top: 0;
}

/* --- Place order, the actual words ----------------------------------
   Third time, and the reason it kept failing is that the label is nested
   one level deeper than it looks. The block renders
   button > .wc-block-components-button__text >
   .wc-block-components-checkout-place-order-button__text, and the words
   live in the innermost of those. Colouring the button reached the first
   two and left the text at `--text`: **2.06:1** on the fill in daylight,
   which is what shows in the screenshot as near black on crimson. */
body.woocommerce-checkout .wc-block-components-checkout-place-order-button .wc-block-components-checkout-place-order-button__text,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button__text {
	color: var(--on-accent);
	font-family: var(--font-display);
	font-weight: 600;
	letter-spacing: inherit;
}

/* --- Room before the last step, on a phone --------------------------
   The terms line and the button that acts on it were close enough to be
   read as one block, which is the wrong relationship: the sentence is a
   condition, the button is the act. */
@media (max-width: 899px) {
	body.woocommerce-checkout .wc-block-checkout__terms {
		margin-bottom: 2.25rem;
	}
}

/* ---------------------------------------------------------------
   27. Buttons that were too short, and the gallery strip
   --------------------------------------------------------------- */

/* --- Buying controls get the height of a buying control -------------
   `--control-h` is the theme's one control height, and the buttons that
   actually take money were not using it. "Proceed to checkout" came out
   37px tall on a 12px line height; "Add to cart" in the shop grid, 28px.
   Both are under the 44px minimum for something tapped, and the checkout
   button in particular is the end of the cart and should not be the
   smallest thing on the page.

   `inline-flex` rather than more padding on an inline-block: it lets the
   label centre on both axes, so the height can be set once and the text
   stays put whether it wraps to two lines or not. */
.woocommerce a.checkout-button,
.woocommerce a.checkout-button.button.alt,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: var(--control-h);
	padding: 1.05rem 1.75rem;
	line-height: 1.25;
}

/* The shop grid. 44px rather than the full 52px: these sit under every
   tile in a wall of them, and at full control height they start competing
   with the work above them. 44px is the floor for a tap target and half
   again what they were. */
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce ul.products li.product .product_type_variable,
.woocommerce ul.products li.product .product_type_simple,
.category-grid a.button,
.category-grid .add_to_cart_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.85rem 1.4rem;
	line-height: 1.25;
}

/* --- The gallery thumbnails -----------------------------------------
   Two things. They sat flush against the bottom edge of the artwork -
   the strip's own `margin-top` is overridden by WooCommerce at a depth
   this rule now matches - and they were ranged left in a row as wide as
   the picture, so three thumbnails under a 599px image ended at 274px
   with the rest of the row empty.

   Flex rather than the auto-fill grid it was: `auto-fill` reserves a
   column for every slot the row could hold, which is what pinned three
   items to the left of seven tracks. Flex lays out only what exists, so
   `justify-content: center` has something to centre.

   Then `nowrap`. Wrapping looked reasonable with three thumbnails and
   fell apart with five: on a 390px phone the row broke and the second
   line carried two lonely squares, which reads as a layout accident
   rather than as a set. One row is what a set of views of one drawing
   should be, so the row is now a scroller and the overflow is scrolled
   to rather than stacked. */
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs,
.woocommerce div.product div.images .flex-control-thumbs,
.woocommerce div.product .flex-control-thumbs {
	display: flex;
	flex-wrap: nowrap;
	/* `safe`, and it matters. A plain `center` on a scroller that overflows
	   spills the content equally off both ends, and the half that goes off
	   the left is behind scroll position zero - unreachable by scrolling, by
	   swiping or by an arrow. Five thumbnails on a phone lost the first one
	   entirely. `safe` centres only while everything fits and behaves as
	   `start` the moment it does not. */
	justify-content: safe center;
	gap: 0.7rem;
	margin: 1.1rem 0 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	overflow-y: hidden;
	/* Proximity, not mandatory: someone dragging the strip a little to
	   peek should be allowed to leave it where they put it. */
	scroll-snap-type: x proximity;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.woocommerce div.product .flex-control-thumbs::-webkit-scrollbar { display: none; }

/* `0 0` rather than `0 1`: under nowrap a shrinkable basis lets six
   thumbnails squeeze themselves into the width instead of overflowing,
   and a squeezed thumbnail is both unreadable and un-scrollable. */
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li,
.woocommerce div.product div.images .flex-control-thumbs li,
.woocommerce div.product .flex-control-thumbs li {
	flex: 0 0 76px;
	max-width: 76px;
	scroll-snap-align: center;
}

/* --- The thumbnail rail: one row, and the arrows that say there is more

   Built by product.js, which wraps the strip in this shell. Without the
   script the strip is still a single scrollable row - the arrows are the
   part that needs JavaScript, and they are only ever a convenience for
   whoever would rather click than swipe.

   The arrows hang over the two ends of the strip, the way the homepage
   rail's do. They were beside it at first, which kept them off the
   artwork but cost the strip 90px of its width at each end and pushed
   the first thumbnail in from the edge of the column. Over the ends the
   strip runs the full width, the first thumbnail starts where the
   artwork above it starts, and an arrow with nowhere to go can be taken
   away without the whole row sliding sideways. */
.anita-thumbrail {
	position: relative;
	margin: 1.1rem 0 0;
}
/* The shell now carries the gap under the artwork. Written at the same
   depth as the rule above that sets it, or the strip keeps its own margin
   too and the gap is 2.2rem. */
.woocommerce div.product .woocommerce-product-gallery .anita-thumbrail .flex-control-thumbs,
.woocommerce div.product div.images .anita-thumbrail .flex-control-thumbs,
.woocommerce div.product .anita-thumbrail .flex-control-thumbs {
	margin: 0;
}

.anita-thumbrail__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	display: none;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--rule-strong);
	border-radius: 50%;
	background: var(--bg);
	color: var(--text-strong);
	cursor: pointer;
	/* It sits over a thumbnail once the strip has been scrolled, so it
	   needs an edge of its own against whatever is behind it. */
	box-shadow: 0 2px 14px rgba(0, 0, 0, .45);
	transition: background-color .3s var(--ease), color .3s var(--ease),
		border-color .3s var(--ease), opacity .3s var(--ease),
		visibility .3s var(--ease);
}
.anita-thumbrail__arrow--prev { left: 0; }
.anita-thumbrail__arrow--next { right: 0; }
.anita-thumbrail__arrow svg { width: 10px; height: 16px; }
.anita-thumbrail__arrow--next svg { transform: scaleX(-1); }
.anita-thumbrail--scrollable .anita-thumbrail__arrow { display: grid; }
.anita-thumbrail__arrow:hover {
	background: var(--text-strong);
	border-color: var(--text-strong);
	color: var(--bg);
}
.anita-thumbrail__arrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* An arrow with nowhere to go is taken away rather than dimmed, the same
   as on the homepage rail. A dimmed one still reads as a control and still
   sits over the first thumbnail, which is the one thing the strip should
   be showing plainly when it is at the start. */
.anita-thumbrail__arrow.is-spent {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

/* The fade is the real "there is more this way" signal, and it works on a
   phone where there is no hover to discover an arrow with. Drawn only on
   a side that actually has something beyond the edge, and wide enough for
   the arrow to sit inside it rather than on clear artwork. */
@supports (mask-image: linear-gradient(#000, #000)) {
	.anita-thumbrail--scrollable .flex-control-thumbs {
		mask-image: linear-gradient(to right,
			transparent 0, #000 2.75rem, #000 calc(100% - 2.75rem), transparent 100%);
	}
	.anita-thumbrail--scrollable.is-at-start .flex-control-thumbs {
		mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 2.75rem), transparent 100%);
	}
	.anita-thumbrail--scrollable.is-at-end .flex-control-thumbs {
		mask-image: linear-gradient(to right, transparent 0, #000 2.75rem, #000 100%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.anita-thumbrail__arrow { transition: none; }
}

/* --- The shop grid, without the .woocommerce wrapper ----------------
   The collection pages use the theme's own template, and it renders
   `ul.products` with no `.woocommerce` ancestor - so every selector above
   that starts `.woocommerce ul.products` matched nothing on the one set
   of pages it was written for, and the buttons stayed 28px.

   The attribute selector is there to buy a point over WooCommerce's
   `.woocommerce ul.products li.product .button, ul.products li.product
   .button`, which is (0,3,3) and sets the padding these are replacing.
   Every one of these is a link with an href. */
ul.products li.product a.button[href],
ul.products li.product a.add_to_cart_button[href],
.woocommerce ul.products li.product a.button[href] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.85rem 1.4rem;
	line-height: 1.25;
}


/* --- The totals table, same trap as the items table -----------------
   `.entry__content table` sets `white-space: nowrap` with
   `overflow-x: auto`. Section 21 lifted that for the cart's item table
   and stopped there. The totals table has it still, and once a shipping
   address exists the destination line - "Shipping to 1 Test Street,
   Portland, OR 97201, United States" - is 445px of unbreakable text in a
   267px column, so a scrollbar appears inside the totals panel and the
   address is cut off mid-word. Only visible after an address has been
   entered, which is why it survived the cart work. */
.woocommerce-cart .cart_totals table.shop_table,
.woocommerce-cart .cart_totals table.shop_table :is(th, td) {
	white-space: normal;
	overflow: visible;
}
/* Figures still hold their line. */
.woocommerce-cart .cart_totals table.shop_table .woocommerce-Price-amount,
.woocommerce-cart .cart_totals table.shop_table bdi {
	white-space: nowrap;
}

/* ---------------------------------------------------------------
   28. Adding to the cart, and the columns that would not line up
   --------------------------------------------------------------- */

/* --- "View cart" ----------------------------------------------------
   WooCommerce appends this link after a successful add, and it arrived
   as a bare <a> in the body serif - 17px Lora under a 44px letterspaced
   Montserrat button - with nothing marking it as a different kind of
   thing. Worse, it is a flex sibling of the button, so it grew the card
   by 30px and every other card in that row grew with it: adding one work
   to the basket shunted the whole row down the page.

   Taken out of flow and given space that is always reserved, so the grid
   never moves. The strip costs 24px under every card, which reads as
   spacing rather than as a gap, and is much the cheaper of the two. */
ul.products li.product,
.woocommerce ul.products li.product {
	position: relative;
	padding-bottom: 1.5rem;
}
ul.products li.product .added_to_cart,
.woocommerce ul.products li.product .added_to_cart {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: block;
	padding: 0;
	margin: 0;
	color: var(--accent-text);
	font-family: var(--font-display);
	font-size: 0.62rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	line-height: 1.4;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	/* It appears after a round trip to the server, so it should arrive
	   rather than blink into place. */
	animation: added-to-cart .35s var(--ease) both;
}
ul.products li.product .added_to_cart::after,
.woocommerce ul.products li.product .added_to_cart::after {
	content: " \2192";
	letter-spacing: 0;
}
ul.products li.product .added_to_cart:hover,
.woocommerce ul.products li.product .added_to_cart:hover {
	color: var(--text-strong);
}
@keyframes added-to-cart {
	from { opacity: 0; transform: translateY(-3px); }
	to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	ul.products li.product .added_to_cart { animation: none; }
}

/* The button acknowledges the click itself, so there is feedback before
   the link comes back from the server. */
ul.products li.product a.button.added[href],
.woocommerce ul.products li.product a.button.added[href] {
	border-color: var(--accent);
	color: var(--accent-text);
}

/* --- Columns that line up across rows -------------------------------
   Every row of the cart is its own grid, which is what unbuilding the
   table into a list bought - and what it cost. Grid tracks are computed
   per grid, so a row totalling "1.470,00 €" sized its last column to 87px
   and a row totalling "800,00 €" to 73px, and the two steppers ended up
   14px apart. Nothing was wrong with either row; they simply had never
   been asked to agree.

   `subgrid` is the fix that keeps the list: the tbody owns the four
   tracks and each row borrows them, so all four columns line up down the
   whole cart. Wrapped in @supports, and confined to the width where the
   rows actually are columns - below 768px each row is stacked full width
   and there is nothing to align. */
@supports (grid-template-columns: subgrid) {
	@media (min-width: 769px) {
		.woocommerce-cart table.shop_table.cart tbody {
			display: grid;
			grid-template-columns: 88px minmax(0, 1fr) auto auto;
			column-gap: clamp(1rem, 2.5vw, 1.75rem);
		}
		.woocommerce-cart table.shop_table.cart tbody > tr {
			grid-column: 1 / -1;
		}
		.woocommerce-cart table.shop_table.cart tr.cart_item {
			grid-template-columns: subgrid;
		}
	}
}

/* ---------------------------------------------------------------
   29. Checkout controls: the radios and the checkboxes
   --------------------------------------------------------------- */

/* The divider rule in 25c reaches any element whose class begins
   `wc-block-`, which includes the radios and checkboxes themselves - so
   it was quietly flattening their outlines to `--rule` at 14% and
   undoing the `--rule-strong` they were given. Inputs are not dividers. */
body.woocommerce-checkout .wc-block-checkout [class*="wc-block-"]:not(button):not(input):not(.wc-block-components-button),
body.woocommerce-checkout .wc-block-checkout [class*="wp-block-woocommerce-"]:not(button):not(input) {
	border-top-color: var(--rule);
	border-bottom-color: var(--rule);
}

/* --- The radios -----------------------------------------------------
   WooCommerce draws these `rgba(25, 23, 17, .48)` unchecked and
   `rgba(18, 18, 18, .8)` checked - near black rings on a near black
   panel, which is why the selected payment method was indistinguishable
   from the unselected one. Its checked state is a ring drawn with a box
   shadow, which on this ground read as a stray pink halo around a hole.

   Replaced with the plainest thing that works: a ring in the same
   hairline as every other control, and, when chosen, a filled accent
   disc. The accent appears exactly once in the group, on the option
   actually selected. */
body.woocommerce-checkout .wc-block-components-radio-control .wc-block-components-radio-control__input {
	appearance: none;
	-webkit-appearance: none;
	width: 20px;
	height: 20px;
	margin: 0;
	display: inline-grid;
	place-content: center;
	background: var(--bg-input);
	border: 1px solid var(--rule-strong);
	border-radius: 50%;
	box-shadow: none;
	transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
body.woocommerce-checkout .wc-block-components-radio-control .wc-block-components-radio-control__input::before {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: transparent;
	transition: background-color .2s var(--ease), transform .2s var(--ease);
	transform: scale(.4);
	/*
	 * The dot centres itself, and must.
	 *
	 * The block positions this absolutely at `top: 50%; left: 50%` and pulls
	 * it back to centre with `translate(-50%, -50%)` - in the same `transform`
	 * this rule needs for the scale. Setting `transform` here replaced theirs,
	 * the translate went with it, and the dot came to rest against the bottom
	 * right of the ring: measured at 11.3px into a 24px box where centred is
	 * 6px. Adding the translate back would work and would keep this tied to
	 * their coordinates. Taking the dot out of absolute positioning instead
	 * hands the centring to the `place-content: center` on the input above,
	 * which owes them nothing.
	 */
	position: static;
	inset: auto;
}
/* `--accent`, not `--accent-fill`. The fill token exists to carry white
   text and is darker for that reason; as a mark on its own it came to
   3.05:1 against the panel, a whisker over the 3:1 a control needs. The
   accent proper is the token the house style names for borders and
   marks, and clears it more comfortably. */
body.woocommerce-checkout .wc-block-components-radio-control .wc-block-components-radio-control__input:checked {
	border-color: var(--accent);
	background: var(--bg-input);
	box-shadow: none;
}
body.woocommerce-checkout .wc-block-components-radio-control .wc-block-components-radio-control__input:checked::before {
	background: var(--accent);
	transform: scale(1);
}
/* Their own halo, off. */
body.woocommerce-checkout .wc-block-components-radio-control .wc-block-components-radio-control__input:checked::after,
body.woocommerce-checkout .wc-block-components-radio-control__option::after {
	display: none;
}
body.woocommerce-checkout .wc-block-components-radio-control .wc-block-components-radio-control__input:hover {
	border-color: var(--text-muted);
}
body.woocommerce-checkout .wc-block-components-radio-control .wc-block-components-radio-control__input:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

/* --- The checkboxes -------------------------------------------------
   Square, like everything else that holds a state, and with an outline
   you can actually see. The tick is the theme's own, drawn white because
   it only ever sits on the accent fill. WooPayments adds one of these
   inside the card panel ("Save payment information"), so this is written
   against the input rather than against any one block. */
body.woocommerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"],
body.woocommerce-checkout input[type="checkbox"].wc-block-components-checkbox__input {
	appearance: none;
	-webkit-appearance: none;
	width: 20px;
	height: 20px;
	margin: 0 0.7rem 0 0;
	flex: 0 0 20px;
	background-color: var(--bg-input);
	border: 1px solid var(--rule-strong);
	border-radius: 0;
	box-shadow: none;
	transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
body.woocommerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:hover {
	border-color: var(--text-muted);
}
body.woocommerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked {
	background-color: var(--accent-fill);
	border-color: var(--accent-fill);
	background-image: var(--tick);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 11px 9px;
}
body.woocommerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}
/* The block draws its own tick as an SVG over the input; with the input
   painting one too, a checked box showed two. */
body.woocommerce-checkout .wc-block-components-checkbox__mark { display: none; }

/* ---------------------------------------------------------------
   30. The product page, and two spacing debts
   --------------------------------------------------------------- */

/* --- The "cannot add that amount" notice ----------------------------
   WooCommerce puts the message and its button in the same <li>, and
   floats the button right. Section 21 made the <ul> a flex row, which
   does nothing for a float two levels down: the text simply wrapped
   around the button, so three lines of message ran into the side of
   "View cart" and the two read as one collided block.

   The <li> is the thing that needs to be the row. Message and action are
   then laid out as siblings, and the action drops to its own line when
   the message is long enough to need the width. */
.woocommerce-notices-wrapper :is(.woocommerce-error, .woocommerce-info, .woocommerce-message) > li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.9rem 1.5rem;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}
/* The message keeps a sensible measure and takes the remaining width;
   below that the action wraps under it rather than squeezing beside it. */
.woocommerce-notices-wrapper :is(.woocommerce-error, .woocommerce-info, .woocommerce-message) > li {
	--notice-action: 12rem;
}
.woocommerce-notices-wrapper :is(.woocommerce-error, .woocommerce-info, .woocommerce-message) > li > .button {
	float: none;
	margin: 0 0 0 auto;
	flex: 0 0 auto;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* --- Air under the gallery ------------------------------------------
   Stacked, the thumbnail strip's last pixel was the product title's
   first: `gapThumbsToTitle` measured 0. The title is the loudest thing
   on the page and it was resting on the pictures. */
@media (max-width: 900px) {
	/* Setting the variable the rule above reads, rather than the margin
	   itself: that rule carries `!important` for the float and the width,
	   and a margin declared there cannot be beaten by specificity at all. */
	.woocommerce div.product .woocommerce-product-gallery {
		--gallery-gap: clamp(2rem, 5vw, 3rem);
	}
}

/* --- Buying one of one ----------------------------------------------
   Every original is an edition of one, so the quantity stepper is inert
   on every original page: `max="1"`, both buttons disabled, a pale empty
   box sitting where a control should be. It was also indented 12px from
   the column everything else on the page starts at, which is what made
   the section look loose - price, description, stock and category all
   ranged on one line, the buying controls on another.

   Where only one exists, the stepper goes and the button takes the full
   width. Asking someone to choose a quantity of a unique drawing is a
   question with one answer. */
.woocommerce div.product form.cart {
	align-items: stretch;
	gap: 1rem;
}
.woocommerce div.product form.cart .quantity {
	margin: 0;
}
.woocommerce div.product form.cart:has(input.qty[max="1"]) .quantity {
	display: none;
}
.woocommerce div.product form.cart:has(input.qty[max="1"]) button.single_add_to_cart_button {
	flex: 1 1 100%;
	width: 100%;
}

/* The stock line, in the theme's voice rather than WooCommerce's.
   It shipped `rgb(149, 142, 9)` - an olive that belongs to no part of
   this palette and reads as a warning about a work that is simply
   scarce. Set as the same quiet uppercase label as "Category" below it,
   so the two agree. */
.woocommerce div.product .stock,
.woocommerce div.product p.stock.in-stock,
.woocommerce div.product .summary .stock {
	margin: 0 0 1rem;
	color: var(--text-muted);
	font-family: var(--font-display);
	font-size: 0.62rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.woocommerce div.product .stock.out-of-stock {
	color: var(--accent-text);
}

/* --- Room between "Add to cart" and "View cart" ----------------------
   They were 10px apart, and the link's own target was 14px tall. WCAG
   2.5.8 asks for targets of at least 24x24, or 24px of space between
   them where they are smaller; Apple asks 44pt and Google 48dp for the
   targets themselves. Ten pixels between two live controls, one of them
   the one that takes the money, is a misfire waiting to happen.

   Both halves are answered rather than one: the link is padded out to a
   24px target of its own, and it is set 24px clear of the button. The
   reserved strip grows to hold it, which costs the grid a little height
   and no movement, since the space is reserved whether or not anything
   is in it. */
ul.products li.product,
.woocommerce ul.products li.product {
	/* 3.5rem, measured rather than guessed: the link's own target lands at
	   29px and this leaves 27px of clear space above it, so both halves of
	   2.5.8 are satisfied - the target is over 24px and so is the gap. At
	   3.25rem the gap came to 23px, which met neither reading by a pixel. */
	padding-bottom: 3.5rem;
}
ul.products li.product .added_to_cart,
.woocommerce ul.products li.product .added_to_cart {
	padding: 0.55rem 0.5rem;
	line-height: 1.2;
}

/* --- The cart, when there is nothing in it --------------------------
   Set by nav.js from WooCommerce's own `woocommerce_items_in_cart`
   cookie, because the header is inside the page cache and cannot be
   trusted to have been rendered for the visitor reading it. The class is
   only ever added, never assumed: without script the cart stays where it
   is, which is the safe direction to fail. */
.main-nav .menu-item--cart.is-empty { display: none; }

/* ---------------------------------------------------------------
   31. A quieter header
   --------------------------------------------------------------- */

/* --- The currency control, in the footer ----------------------------
   nav.js moves the element here above 860px and back into the panel
   below it. This is only the styling of the slot it lands in. */
.site-footer__currency {
	display: flex;
	justify-content: center;
	margin: 1.75rem 0 1.5rem;
}
.site-footer__currency:empty { display: none; }

/* In the nav it sat as a bare control among links. Here it is one item in
   a column of centred things, so it gets an outline to read as a control
   rather than as another line of footer text. */
.site-footer__currency .currency__trigger {
	padding: 0.55rem 0.9rem;
	border: 1px solid var(--rule);
	transition: border-color .2s var(--ease);
}
.site-footer__currency .currency__trigger:hover {
	border-color: var(--rule-strong);
}
/* The panel opens upward here: there is nothing below the footer to
   open into. */
@media (min-width: 861px) {
	/* The panel only. `.currency__list` is inside it, and repositioning
	   both moved the box and its contents independently - the border ended
	   up centred with the currencies sitting outside it. */
	.site-footer__currency .currency__panel {
		top: auto;
		bottom: calc(100% + 0.5rem);
		/* Centred on the trigger. In the header it hung from the right edge,
		   which is right for a control sitting at the end of a row and wrong
		   for one standing in the middle of a centred footer - it opened a
		   couple of hundred pixels off to the side of the thing it belongs
		   to. */
		left: 50%;
		right: auto;
		/* Centred with a margin rather than a transform: the panel already
		   animates on `transform`, so a translate here is overwritten the
		   moment it opens and the list jumps back off-centre. The width is
		   a fixed 304px, so half of it is a number we can just subtract. */
		margin-left: -152px;
	}
}

/* --- The navigation, larger -----------------------------------------
   With the currency gone the row has space to spend, and it was set
   small enough that the wordmark above it did all the work. */
.main-nav > ul > li > a {
	font-size: 0.86rem;
	letter-spacing: 0.13em;
}
@media (min-width: 1100px) {
	.main-nav > ul > li > a {
		font-size: 0.92rem;
	}
}

/* --- The narrow end of the desktop row ------------------------------
   Between the panel breakpoint and about 1015px the row has to hold seven
   links, an account icon, a cart and the scheme toggle. Measured at 861px
   there are 694px for the list and at the sizes above it wants 823, so it
   broke to two lines.

   Note that the 861 to 1180 block further up already tries to tighten this
   and cannot: it sets `font-size: 0.7rem` on the same selector, and the
   unconditional `0.86rem` rule directly above here comes later in the file
   and wins. The tightening has been dead the whole time, which is why the
   row still broke. This block sits after that rule instead of fighting it.

   The size is fluid rather than stepped so it arrives at exactly 0.86rem by
   1015px and there is no jump in the type at the seam. At 861px it lands on
   0.72rem and the list measures 664px, leaving 30px in hand.

   The band runs to 1055 rather than to 1015 because of the gap, not the
   type. Above it the list goes back to the 1.15rem gap of the block below,
   which costs 45px, and that only fits from 1016px with nothing to spare.
   A handover has to land where the looser setting already fits with room,
   not where it first becomes possible: at 1056px it has 40px. */
@media (min-width: 861px) and (max-width: 1055px) {
	.main-nav > ul > li > a,
	.main-nav > ul > li > a.header-cart {
		font-size: clamp(0.72rem, 1.455vw - 1px, 0.86rem);
		letter-spacing: 0.08em;
	}
	.main-nav > ul { gap: 0.4rem 0.8rem; }
	.main-nav > ul > li > a.header-cart { gap: 0.38rem; }
	/* The dots and the rule between the links follow the tighter gap, or
	   they sit closer to one neighbour than the other. */
	.main-nav > ul > li + li::before { left: -0.42rem; }
	.main-nav > ul > li.menu-item--account::before,
	.main-nav > ul > li.menu-item--cart::before { left: -0.5rem; }
}

/* --- The collection labels on the home page -------------------------
   "Originals", "Prints", "T-shirts" name the three things this shop
   sells and were set at footnote size under pictures a foot tall. */
.category-tile__label {
	font-size: 0.86rem;
	letter-spacing: 0.16em;
}
@media (min-width: 861px) {
	.category-tile__label {
		font-size: 0.95rem;
	}
}

/* --- One of one: the button becomes "View cart" ----------------------
   nav.js rewrites the button on these cards after a successful add, so
   the separate link never appears and the reserved strip beneath it is
   no longer paying for anything. The 3.5rem was bought to hold a link
   and keep two targets apart; with one control there is nothing to keep
   apart. */
/* The reserved strip stays on every card, including these.
   Dropping it where no link can appear reclaimed 56px and cost the row
   its baseline: a shop of one-of-ones still has the odd piece with more
   than one in stock - "A Distance Within" is one - and those keep the
   strip, so their buttons sat 56px above their neighbours' in the same
   row. A consistent line across the grid is worth more than the space. */

/* The changed button reads as a way onward rather than as the primary
   action it was a moment ago: the accent moves to the text and the fill
   goes, so the loudest thing on the card is the work again. */
ul.products li.product a.button--view-cart,
.woocommerce ul.products li.product a.button--view-cart {
	background: transparent;
	border-color: var(--accent);
	color: var(--accent-text);
}
ul.products li.product a.button--view-cart::after {
	content: " \2192";
	letter-spacing: 0;
}
ul.products li.product a.button--view-cart:hover,
.woocommerce ul.products li.product a.button--view-cart:hover {
	background: var(--accent-fill);
	border-color: var(--accent-fill);
	color: var(--on-accent);
}

/* ---------------------------------------------------------------
   32. Two things the product page was saying that it need not
   --------------------------------------------------------------- */

/* --- "1 in stock", on a work there is only one of --------------------
   True, and worth nothing. Every original is an edition of one, so the
   line is on every original page, always reads the same, and tells a
   visitor only that this shop counts things. Section 30 had already
   quietened it to a label; this removes it.

   Scoped to the category rather than to `product--only-one`, and the
   difference matters: `product--only-one` is also true of a print or a
   shirt down to its last copy, and there "1 in stock" is real news -
   it says buy now or lose it. On an original it is a tautology.

   Only the in-stock line goes. `out-of-stock` stays, and stays visible:
   on a unique work "sold" is the single most important thing the page
   can say, and someone who does not see it will try to buy it. */
.woocommerce div.product.product_cat-originals p.stock.in-stock,
.woocommerce div.product.product_cat-originals .summary p.stock.in-stock {
	display: none;
}

/* --- The "Category:" row --------------------------------------------
   It repeats what the visitor just clicked to get here, and it is the
   only thing in `.product_meta`, which carries a rule above it and
   2rem of air - a labelled divider introducing one redundant link.

   The row is hidden rather than the box, so that a SKU or a tag added
   later still has somewhere to appear. The box then hides itself only
   while nothing else is in it, which is what `:has()` is asking below:
   no child that is not the category row. */
.woocommerce div.product .product_meta > .posted_in,
.woocommerce div.product .product_meta > .tagged_as {
	display: none;
}
/* The box hides itself once nothing but those two are left in it, so a SKU
   added later still has somewhere to appear. */
.woocommerce div.product .product_meta:not(:has(> *:not(.posted_in):not(.tagged_as))) {
	display: none;
}

/* --- "1 left in stock", in the order summary -------------------------
   The same tautology as above, in the checkout's summary of the cart.

   It cannot be scoped to originals here: the block's summary rows carry
   no product or category identifier, only the item's own description.
   So it goes for everything, and that is defensible in this shop - all
   but a handful of what it sells is a unique work, where "1 left" is
   what "original" already meant. It also reads differently at checkout
   than on a collection page: the work is already in the visitor's cart
   and held for them, so the badge urges them to hurry over something
   they have. That is pressure, not information.

   Only the low-stock badge. `.wc-block-components-product-badge` is
   also used for things worth keeping, "Backordered" among them, so the
   longer class is the one named. */
body.woocommerce-checkout .wc-block-components-product-badge.wc-block-components-product-low-stock-badge,
body.woocommerce-cart .wc-block-components-product-badge.wc-block-components-product-low-stock-badge {
	display: none;
}

/* ---------------------------------------------------------------
   33. The newsletter's answer
   --------------------------------------------------------------- */

/* --- The answer to a signup ------------------------------------------
   The submit handler now returns the visitor to `#newsletter`, so the
   heading would otherwise land hard against the top edge of the window. */
.newsletter {
	scroll-margin-top: clamp(1.5rem, 5vh, 3rem);
}

/* The notice is what they came back to read, so it is given the accent
   border that marks it as the reply rather than another paragraph. A rule
   on one side only: a full box would make it a warning, and three quarters
   of the time it is good news. */
/* Written out to `.newsletter > .wrap > p.newsletter__notice`, and it has
   to be. The notice is a <p> sitting directly inside the block's wrap, so
   `.newsletter > .wrap > p` at (0,2,1) matches it and beats a bare
   `.newsletter__notice` at (0,1,0). The border and the size below landed
   because that rule does not set them; `max-width` and `colour` silently
   did not, so the notice kept the standfirst's 46ch and muted grey. This
   selector is (0,3,1). Shortening it puts both back. */
.newsletter > .wrap > p.newsletter__notice {
	/* The form's own cap, so the two share both edges. At 46ch the notice
	   came out 457px against the form's 540 and sat 41px inside it on each
	   side - close enough to read as a mistake rather than as a choice. */
	max-width: 540px;
	margin: 0 auto 1.5rem;
	padding: 0.85rem 1.1rem;
	border-left: 2px solid var(--accent);
	background: var(--accent-soft);
	text-align: left;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.5;
	color: var(--text);
}
/* A failure loses the accent - the accent marks the reply you wanted - but
   not the reading colour. Muted here made the one message that asks the
   visitor to do something quieter than the one that asks nothing of them,
   which is backwards. It keeps `--text` and is distinguished by the plain
   border and the absent tint instead. */
.newsletter > .wrap > p.newsletter__notice--error {
	border-left-color: var(--rule-strong);
	background: transparent;
	color: var(--text);
}

/* --- The Send button, once the row wraps ------------------------------
   On a wide screen the button sits beside the field and a flex row
   stretches it to the field's height, so it measured the house 52px and
   looked correct. On a phone the row wraps, the button lands alone on the
   second line with nothing to stretch against, and falls back to its own
   content: 12px of label and 12px of padding, measured at 37.3px.

   That breaks both halves of the house rule at once - every control is
   supposed to be `--control-h`, and 44px is the floor for anything
   tapped - and it does it only on the devices where a thumb is the
   pointer. Asking for the height directly means it no longer depends on
   having a neighbour. */
.newsletter__form button {
	min-height: var(--control-h);
}

/* --- The product detail, inside the buying column ----------------------
   It used to be a band under both columns, capped at 40rem and centred on
   the page. It now sits in the summary column under the buy button, so it
   takes that column's width and needs no cap of its own.

   The wrapper keeps a rule above it to separate it from the buy controls,
   but loses the page-section padding it carried as a full-width band. */
.woocommerce div.product .woocommerce-tabs {
	width: 100%;
	margin-top: 2.25rem;
	padding-top: 0;
	border-top: 0;
}

/* The headings the care and sizing copy now uses. They sit inside a tab
   panel rather than in the page's own flow, so they take a step down from
   the product title rather than competing with it. */
.woocommerce div.product .woocommerce-Tabs-panel h3 {
	margin: 2.25rem 0 0.6rem;
	font-size: 1.05rem;
	letter-spacing: 0.01em;
}
.woocommerce div.product .woocommerce-Tabs-panel h3:first-child {
	margin-top: 0;
}

/* ---------------------------------------------------------------
   34. The product detail, as an accordion
   --------------------------------------------------------------- */

/* The tab bar is gone; see woocommerce/single-product/tabs/tabs.php for
   why. Its label styling would now paint an element that no longer
   exists, so nothing here refers to `ul.tabs`. */

/* No border-top here. `.woocommerce-tabs` already draws one and pads 32px
   below it, so adding a second put two hairlines 33px apart with an empty
   band between them that read as a blank row. The wrapper's rule is the top
   edge of the accordion. */

/* --- A row -----------------------------------------------------------
   Hairlines and space, no boxes. A filled or outlined row would put three
   more rectangles on a page whose subject is a drawing, and the house rule
   is that the drawing stays the loudest thing. The rule between rows is
   the whole of the decoration. */
.product-detail__section {
	border-bottom: 1px solid var(--rule);
}

.product-detail__section > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	/* 1.1rem top and bottom puts the row well past the 44px floor without
	   needing a min-height to enforce it. */
	padding: 1.1rem 0;
	cursor: pointer;
	list-style: none;
	transition: color .2s var(--ease);
}
/* Safari and Chrome each draw their own disclosure triangle. */
.product-detail__section > summary::-webkit-details-marker { display: none; }
.product-detail__section > summary::marker { content: ""; }

.product-detail__section > summary:hover .product-detail__label {
	color: var(--text-strong);
}
.product-detail__section > summary:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.product-detail__label {
	font-family: var(--font-display);
	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: var(--text);
	transition: color .2s var(--ease);
}

/* --- The marker ------------------------------------------------------
   A plus that becomes a minus, drawn as two hairlines rather than set as a
   glyph: a typographic + sits on the text baseline and reads as punctuation
   beside the label, where two 1px rules read as a mark. Square ends, like
   everything else she draws. */
.product-detail__marker {
	position: relative;
	flex: 0 0 12px;
	width: 12px;
	height: 12px;
}
.product-detail__marker::before,
.product-detail__marker::after {
	content: "";
	position: absolute;
	inset: 50% 0 auto 0;
	height: 1px;
	background: var(--text-muted);
	transition: transform .25s var(--ease), background-color .2s var(--ease);
}
/* The upright bar of the plus. Rotating it to flat is the whole animation. */
.product-detail__marker::after {
	transform: rotate(90deg);
}
.product-detail__section[open] .product-detail__marker::after {
	transform: rotate(0deg);
}
.product-detail__section > summary:hover .product-detail__marker::before,
.product-detail__section > summary:hover .product-detail__marker::after {
	background: var(--text-strong);
}

/* --- The body --------------------------------------------------------
   Aligned with the label rather than indented: an indent would start a
   second left edge on a page that already has one. */
.product-detail__body {
	padding: 0 0 1.6rem;
}
.product-detail__body > *:first-child { margin-top: 0; }
.product-detail__body > *:last-child { margin-bottom: 0; }

/* Opening is a reveal, not a slide: `height` cannot be animated from auto,
   and animating a wrapper's max-height guesses at a height it does not
   know. A short fade with a few pixels of travel says "this appeared"
   without pretending to measure. */
.product-detail__section[open] .product-detail__body {
	animation: anita-detail-open .22s var(--ease) both;
}
@keyframes anita-detail-open {
	from { opacity: 0; transform: translateY(-4px); }
	to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.product-detail__section[open] .product-detail__body { animation: none; }
	.product-detail__marker::before,
	.product-detail__marker::after { transition: none; }
}

/* A single-paragraph description is printed rather than folded, so it gets
   the air a standing paragraph needs instead of a row's padding. */
.product-detail__panel > p:first-child { margin-top: 1.6rem; }
.product-detail__panel > p:last-child { margin-bottom: 1.6rem; }

/* The size charts arrived from the manufacturer separated by a literal
   `&nbsp;`, which WordPress wraps in a paragraph. It is an empty paragraph
   carrying a full line-height and the table's own bottom margin, so the two
   charts sat 82px apart with nothing between them. `:has()` finds a
   paragraph whose only content is that space. */
.product-detail__body > p:not(:has(*)):has(+ table) {
	display: none;
}

/* --- The picture stays while the detail is read ------------------------
   Moving the detail into the buying column solved one imbalance and made
   another: with Size guide open the summary column runs 839px past the
   bottom of the photograph, leaving that much empty page beside it.

   Sticking the gallery answers it without adding anything to the page. The
   work stays in view while its sizes and washing instructions are read,
   which is the right relationship for a shop selling pictures: the reason
   you are buying should not scroll away while you check whether it fits.

   Only above the breakpoint where the two are side by side. Stacked, there
   is no column to stick to, and pinning the image on a phone would cost
   most of the screen. */
@media (min-width: 901px) and (min-height: 800px) {
	/* The height condition is a guard, not a nicety. A sticky element taller
	   than the window pins its top edge and its lower half can never be
	   scrolled to. The gallery runs to about 692px on an original, so below
	   an 800px window it is left to scroll normally. */
	/* Matched on both classes the gallery carries. It is also
	   `div.images`, so WooCommerce's own `.woocommerce div.product
	   div.images { position: relative }` scores (0,3,2) against this rule's
	   (0,3,1) - the tie broken by one extra element - and won. The symptom
	   was precise and misleading: `top: 32px` applied while `position` did
	   not, so the rule looked live and did nothing. */
	.woocommerce div.product div.images.woocommerce-product-gallery {
		position: sticky;
		/* The header scrolls away with the page, so this is clearance from
		   the window edge rather than from a fixed bar. */
		top: 2rem;
		/* The grid parent already aligns its items to `start`; sticky needs
		   that, because a stretched item has no room to move inside. */
		align-self: start;
	}
}

/* ---------------------------------------------------------------
   35. The customer account
   Accounts were switched on late, so every one of these pages arrived
   as WooCommerce ships them: a floated pair of columns, a bulleted
   list for navigation, and every link in accent pink.

   The direction is the same as everywhere else. The rail borrows the
   legal documents' idea - a quiet index in the left margin - so the
   account does not introduce a third navigation pattern. Accent is
   spent once per view: on the primary action where there is one, and
   on the current item's marker where there is not. They never appear
   together, because the pages with a rail have no accent button.
   --------------------------------------------------------------- */

/* WooCommerce floats the two columns at 30/68%. Grid instead, so the
   rail cannot drift out of step with content of a different height and
   so the order can be swapped on a phone without touching the markup. */
.woocommerce-account .woocommerce {
	display: grid;
	grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: start;
}

/* WooCommerce clears its floats with `.woocommerce::before/::after`, and a
   generated box inside a grid container is a grid item like any other. Those
   two empty boxes took the first and third cells, which put the rail in
   column two and the content in column one of the row below - measured as
   the rail at x=331 and the orders table at x=53, one under the other.
   Nothing in the DOM explains it, which is what makes it worth a note: the
   items causing it are not in the DOM. */
.woocommerce-account .woocommerce::before,
.woocommerce-account .woocommerce::after {
	display: none;
}
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
	float: none;
	width: auto;
	margin: 0;
	min-width: 0;
}

/* The login screen has no rail, so it should not sit in a 13rem gutter. */
.woocommerce-account .woocommerce:not(:has(.woocommerce-MyAccount-navigation)) {
	display: block;
}

/* --- The rail ------------------------------------------------- */

.woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
}
.woocommerce-MyAccount-navigation li {
	margin: 0;
	border-left: 1px solid var(--rule);
}
.woocommerce-MyAccount-navigation a {
	display: block;
	padding: 0.7rem 0 0.7rem 1rem;
	font-family: var(--font-display);
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--text-muted);
	text-decoration: none;
	transition: color .2s var(--ease);
}
.woocommerce-MyAccount-navigation a:hover,
.woocommerce-MyAccount-navigation a:focus-visible {
	color: var(--text-strong);
}

/* The one accent on these pages: where you are. The rule sits on the
   li so it meets its neighbours with no gap, reading as one continuous
   margin line with a lit segment. */
.woocommerce-MyAccount-navigation li.is-active {
	border-left-color: var(--accent);
}
.woocommerce-MyAccount-navigation li.is-active a {
	color: var(--text-strong);
}

/* Logging out is not a peer of "Addresses", so it is set apart rather
   than left as the seventh identical row. */
.woocommerce-MyAccount-navigation-link--customer-logout {
	margin-top: 0.9rem;
	padding-top: 0.9rem;
	border-top: 1px solid var(--rule);
	border-left-color: transparent;
}

/* --- Login and register --------------------------------------- */

/* WooCommerce boxes each form in a bordered card. Two heavy slabs is
   the opposite of the house style, so they become two columns of a
   single spread, divided by one hairline. */
.woocommerce-account .u-columns.col2-set {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
	gap: clamp(2rem, 5vw, 4rem);
	max-width: 58rem;
	margin-inline: auto;
}
.woocommerce-account .u-column1,
.woocommerce-account .u-column2 {
	float: none;
	width: auto;
	padding: 0;
	border: 0;
	border-radius: 0;
}
.woocommerce-account .u-columns.col2-set .u-column2 {
	padding-left: clamp(0rem, 5vw, 4rem);
	border-left: 1px solid var(--rule);
}
@media (max-width: 46rem) {
	.woocommerce-account .u-columns.col2-set .u-column2 {
		padding-left: 0;
		padding-top: 2.5rem;
		border-left: 0;
		border-top: 1px solid var(--rule);
	}
}

/* "Login" and "Register" were rendering at display-heading size and
   competing with the page's own H1. They are section labels. */
.woocommerce-account .u-column1 > h2,
.woocommerce-account .u-column2 > h2 {
	font-family: var(--font-display);
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin: 0 0 1.6rem;
}

.woocommerce-form-login,
.woocommerce-form-register {
	border: 0;
	padding: 0;
	margin: 0;
}

/* Log in is the primary action of the page: the accent goes here and
   nowhere else on this view. Register is the same control, outlined.

   Scoped to the form, not to the account page. The same login form is also
   served on the order-received page when the buyer is not signed in, and
   styling it by page meant that copy of it came out unstyled. Specificity
   is unchanged at (0,3,0). */
.woocommerce .woocommerce-form-login .woocommerce-form-login__submit {
	width: 100%;
	background: var(--accent-fill);
	border-color: var(--accent-fill);
	color: var(--on-accent);
}
.woocommerce .woocommerce-form-login .woocommerce-form-login__submit:hover,
.woocommerce .woocommerce-form-login .woocommerce-form-login__submit:focus-visible {
	background: var(--accent);
	border-color: var(--accent);
}
.woocommerce-account .woocommerce-form-register .woocommerce-form-register__submit {
	width: 100%;
}

/* Remember me and the lost-password link shared a line with the button
   and collided on narrow screens. */
.woocommerce-form-login__rememberme {
	display: flex;
	align-items: center;
	margin: 0 0 1.4rem;
	font-family: var(--font-display);
	font-size: 0.7rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text-muted);
	cursor: pointer;
}
.woocommerce-form-login__rememberme input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin: 0 0.7rem 0 0;
	background-color: var(--bg-input);
	border: 1px solid var(--rule-strong);
	border-radius: 0;
	transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.woocommerce-form-login__rememberme input[type="checkbox"]:checked {
	background-color: var(--accent-fill);
	border-color: var(--accent-fill);
	background-image: var(--tick);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 11px 9px;
}
.woocommerce-form-login__rememberme input[type="checkbox"]:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.woocommerce-LostPassword {
	margin: 1.1rem 0 0;
	font-family: var(--font-display);
	font-size: 0.7rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.woocommerce-LostPassword a { color: var(--text-muted); }
.woocommerce-LostPassword a:hover { color: var(--text-strong); }

/* --- Showing the password ------------------------------------- */

/* WCAG 2.2 adds 3.3.8 Accessible Authentication, and the guidance that
   goes with it asks for a way to see what has been typed: retyping a
   long password blind is a memory test, which is the thing the
   criterion exists to remove. WooCommerce 10.1 ships correct
   autocomplete tokens but no reveal, so assets/account.js adds one.

   The button sits inside the field's own box rather than beside it, so
   the input keeps its width and the row keeps one control height. */
.anita-password {
	position: relative;
	display: block;
}
.anita-password > input {
	padding-right: 3.4rem;
}
.anita-password__toggle {
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	width: 3.2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: 0;
	border-radius: 0;
	padding: 0;
	color: var(--text-muted);
	cursor: pointer;
	transition: color .2s var(--ease);
}
.anita-password__toggle:hover { color: var(--text-strong); }
.anita-password__toggle:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: -2px;
}
.anita-password__toggle svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.4;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* The struck-through eye is a second path shown only while the
   password is visible, so the two states differ by shape and not by
   colour alone. */
.anita-password__toggle .anita-password__slash { display: none; }
.anita-password__toggle[aria-pressed="true"] .anita-password__slash { display: inline; }

/* --- Tables: orders, downloads, order detail ------------------- */

.woocommerce-account table.shop_table {
	width: 100%;
	border: 0;
	border-collapse: collapse;
	margin: 0;
}
.woocommerce-account table.shop_table th {
	font-family: var(--font-display);
	font-size: 0.66rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--text-muted);
	text-align: left;
	padding: 0 1rem 0.9rem 0;
	border-bottom: 1px solid var(--rule-strong);
	white-space: nowrap;
}
.woocommerce-account table.shop_table td {
	padding: 1.1rem 1rem 1.1rem 0;
	border-bottom: 1px solid var(--rule);
	vertical-align: middle;
	color: var(--text);
}
.woocommerce-account table.shop_table th:last-child,
.woocommerce-account table.shop_table td:last-child {
	padding-right: 0;
	text-align: right;
}

/* The order number was a pink link competing with the action beside
   it. The row's action is the button; the number is a label. */
.woocommerce-account .woocommerce-orders-table__cell-order-number a {
	font-family: var(--font-display);
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	color: var(--text-strong);
	text-decoration: none;
}
.woocommerce-account .woocommerce-orders-table__cell-order-number a:hover {
	color: var(--accent-text);
}

/* Status reads as a mark in the margin of the row, not as a badge
   demanding attention. */
.woocommerce-account .woocommerce-orders-table__cell-order-status {
	font-family: var(--font-display);
	font-size: 0.64rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.woocommerce-account table.shop_table .button {
	white-space: nowrap;
	min-height: 44px;
}

/* Below 768px WooCommerce collapses these tables into stacked rows and
   prints the column name from data-title in a pseudo-element. Left
   alone it inherits none of the type above. */
@media (max-width: 768px) {
	.woocommerce-account table.shop_table thead { display: none; }
	.woocommerce-account table.shop_table tr {
		display: block;
		padding: 1.2rem 0;
		border-bottom: 1px solid var(--rule);
	}
	.woocommerce-account table.shop_table td {
		display: flex;
		justify-content: space-between;
		align-items: baseline;
		gap: 1.5rem;
		padding: 0.3rem 0;
		border: 0;
		text-align: right;
	}
	.woocommerce-account table.shop_table td::before {
		content: attr(data-title);
		font-family: var(--font-display);
		font-size: 0.62rem;
		letter-spacing: 0.14em;
		text-transform: uppercase;
		color: var(--text-muted);
		text-align: left;
	}
	.woocommerce-account table.shop_table td.woocommerce-orders-table__cell-order-actions {
		justify-content: flex-end;
		margin-top: 0.8rem;
	}
	.woocommerce-account table.shop_table td.woocommerce-orders-table__cell-order-actions::before {
		display: none;
	}
}

/* --- Addresses, account details, order detail ------------------ */

.woocommerce-account .woocommerce-Addresses {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr));
	gap: clamp(1.5rem, 4vw, 3rem);
}
.woocommerce-account .woocommerce-Address {
	float: none;
	width: auto;
}
.woocommerce-account .woocommerce-Address-title h2,
.woocommerce-account .woocommerce-column__title,
.woocommerce-account .woocommerce-order-details__title,
.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
	font-family: var(--font-display);
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin: 0 0 1.1rem;
}
.woocommerce-account .woocommerce-Address-title {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.9rem;
}
.woocommerce-account .woocommerce-Address-title .edit {
	font-family: var(--font-display);
	font-size: 0.66rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-muted);
	white-space: nowrap;
	text-decoration: none;
}
.woocommerce-account .woocommerce-Address-title .edit:hover { color: var(--text-strong); }
.woocommerce-account address {
	font-style: normal;
	line-height: 1.8;
	color: var(--text);
}

.woocommerce-account .woocommerce-customer-details,
.woocommerce-account .woocommerce-order-details { margin-top: var(--rhythm); }

.woocommerce-account fieldset {
	border: 0;
	border-top: 1px solid var(--rule);
	margin: 2.5rem 0 0;
	padding: 2rem 0 0;
}
.woocommerce-account fieldset legend {
	padding: 0;
	font-family: var(--font-display);
	font-size: 0.78rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--text-muted);
}
.woocommerce-account .woocommerce-EditAccountForm em,
.woocommerce-account form .description {
	display: block;
	margin-top: 0.4rem;
	font-family: var(--font-body);
	font-size: 0.85rem;
	font-style: normal;
	color: var(--text-muted);
}

/* --- Notices and empty states --------------------------------- */

/* Nothing here restyles `.woocommerce-info` and friends on purpose.

   The theme already has a notice: a raised panel with a hairline accent
   edge, used on the cart and at checkout. An account-only variant was
   written first and then removed - it was both losing a specificity
   contest and, more to the point, wrong to try. A customer who meets a
   notice at checkout and a different-looking notice on their account has
   learned two things where there was one to learn.

   Only the layout inside the notice belongs to this section: an empty
   endpoint puts its "Browse products" button in the same box as its
   sentence, and the button should sit at the far end rather than wrap
   under the text. */
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-message {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.2rem;
}
.woocommerce-account .woocommerce-info .button,
.woocommerce-account .woocommerce-message .button {
	margin-left: auto;
}

/* --- The rail on a phone -------------------------------------- */

/* A vertical rail would push the content a screen down. It becomes a
   row of labels above the content instead, scrolling sideways if the
   endpoints outgrow the width. */
@media (max-width: 48rem) {
	.woocommerce-account .woocommerce {
		grid-template-columns: minmax(0, 1fr);
		gap: 2rem;
	}
	.woocommerce-MyAccount-navigation ul {
		flex-direction: row;
		flex-wrap: nowrap;
		overflow-x: auto;
		gap: 0;
		padding-bottom: 0.4rem;
		border-bottom: 1px solid var(--rule);
		scrollbar-width: none;
	}
	.woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
	.woocommerce-MyAccount-navigation li {
		border-left: 0;
		border-bottom: 2px solid transparent;
		flex: 0 0 auto;
	}
	.woocommerce-MyAccount-navigation li.is-active { border-bottom-color: var(--accent); }
	.woocommerce-MyAccount-navigation a { padding: 0.6rem 1rem; white-space: nowrap; }
	.woocommerce-MyAccount-navigation-link--customer-logout {
		margin-top: 0;
		padding-top: 0;
		border-top: 0;
		margin-left: 0.5rem;
	}
}

/* --- Links inside the account, and one specificity tie ---------- */

/* Everything above set link colours and none of them applied: the rail,
   the order numbers and the address edit links all rendered in accent
   pink. The account endpoints render inside `.entry__content`, and

       .entry__content a:not(.btn):not(.button)

   is (0,3,1) - one class for the wrapper and one for each :not() - while
   `.woocommerce-MyAccount-navigation a` is only (0,1,1). Prefixing with
   `.entry__content` alone would merely tie it, so each of these carries a
   fourth class and clears it outright.

   This is the trap `UPGRADE-NOTES.md` describes from the other direction:
   there, WooCommerce's `#content` rules beat the theme's classes. Same
   lesson, and the tell is identical - the rule parses, the other
   properties in it apply, and only `color` looks ignored. */

.woocommerce-account .entry__content .woocommerce-MyAccount-navigation a:not(.button) {
	color: var(--text-muted);
}
.woocommerce-account .entry__content .woocommerce-MyAccount-navigation a:not(.button):hover,
.woocommerce-account .entry__content .woocommerce-MyAccount-navigation a:not(.button):focus-visible,
.woocommerce-account .entry__content .woocommerce-MyAccount-navigation li.is-active a:not(.button) {
	color: var(--text-strong);
}

.woocommerce-account .entry__content .woocommerce-orders-table__cell-order-number a:not(.button) {
	color: var(--text-strong);
}
.woocommerce-account .entry__content .woocommerce-orders-table__cell-order-number a:not(.button):hover {
	color: var(--accent-text);
}

.woocommerce-account .entry__content .woocommerce-Address-title .edit:not(.button),
.woocommerce-account .entry__content .woocommerce-LostPassword a:not(.button) {
	color: var(--text-muted);
}
.woocommerce-account .entry__content .woocommerce-Address-title .edit:not(.button):hover,
.woocommerce-account .entry__content .woocommerce-LostPassword a:not(.button):hover {
	color: var(--text-strong);
}

/* The tracking number comes from woo-orders-tracking and is a link to the
   carrier. It is data, not the row's action, so it reads as data. */
.woocommerce-account .entry__content .woocommerce-orders-table a.wot-tracking-number,
.woocommerce-account .entry__content td[data-title="Tracking"] a:not(.button) {
	color: var(--text);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-color: var(--rule-strong);
}
.woocommerce-account .entry__content .woocommerce-orders-table a.wot-tracking-number:hover,
.woocommerce-account .entry__content td[data-title="Tracking"] a:not(.button):hover {
	color: var(--text-strong);
	text-decoration-color: var(--accent);
}

/* --- The float layer under the login screen -------------------- */

/* The login and register columns came out swapped and half-width: Login
   sat in the right cell at 207px inside a 432px track, Register in the
   left. Two separate causes, both from the float layout underneath.

   1. The clearfix again. `.u-columns::before/::after` are grid items once
      the container is a grid, so they took the first and last cells and
      pushed the real columns one place along. Same as the wrapper above,
      and worth killing on every container this section turns into a grid
      rather than waiting to be surprised a third time.

   2. WooCommerce sizes the columns for floats with
      `.woocommerce .col2-set .col-1` at (0,3,0). The reset here was
      `.woocommerce-account .u-column1` at (0,2,0) and lost, so `width:48%`
      survived - 48% of 432px is the 207px that was measured. */

.woocommerce-account .woocommerce .u-columns::before,
.woocommerce-account .woocommerce .u-columns::after,
.woocommerce-account .woocommerce-Addresses::before,
.woocommerce-account .woocommerce-Addresses::after,
.woocommerce-account .woocommerce-MyAccount-content::before,
.woocommerce-account .woocommerce-MyAccount-content::after {
	display: none;
}

.woocommerce-account .woocommerce .u-columns .u-column1,
.woocommerce-account .woocommerce .u-columns .u-column2,
.woocommerce-account .woocommerce .col2-set .col-1,
.woocommerce-account .woocommerce .col2-set .col-2,
.woocommerce-account .woocommerce .woocommerce-Addresses .woocommerce-Address {
	width: auto;
	float: none;
}

/* WooCommerce boxes each form with `.woocommerce form.login` at (0,2,1),
   which beat the (0,1,0) reset above and left the two slabs in place. The
   hairline between the columns already divides them; a border round each
   as well is the panel-inside-a-panel the cart had. */
.woocommerce form.woocommerce-form-login.login,
.woocommerce-account .woocommerce form.woocommerce-form-register {
	border: 0;
	padding: 0;
	border-radius: 0;
	margin: 0;
}

/* WooCommerce draws an icon in the notice with a pseudo-element set in its
   own icon font. That font is not loaded here, so it rendered as a
   missing-glyph box sitting on top of the sentence - visible on Downloads
   as a blue square over "No downloads available yet."

   The panel already reads as a notice without it. This hides the glyph
   only; the theme's notice styling is left alone. */
.woocommerce-account .woocommerce-info::before,
.woocommerce-account .woocommerce-message::before,
.woocommerce-account .woocommerce-error::before {
	display: none;
}

/* --- Notices printed outside the notices wrapper --------------- */

/* The theme's notice styling is scoped to `.woocommerce-notices-wrapper`,
   and most notices land there. The account endpoints do not always use
   it: asking for an order that is not yours prints "Invalid order."
   straight into the content area, where it inherited WooCommerce's own
   light-theme styling and rendered as a **white slab on a dark page** -
   the exact failure `STYLE.md` warns about under Plugin markup.
   Reproduce by opening /my-account/view-order/<id>/ for someone else's
   order while logged in.

   Same declarations as the wrapper rule above, deliberately: a customer
   should not meet two different-looking notices. `!important` for the
   same reason it is used there - WooCommerce's own notice rules carry
   colours that would otherwise win. */
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-error,
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-info,
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-message {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.6rem 1rem;
	margin: 0 0 1.2rem !important;
	padding: 0.95rem 1.2rem !important;
	background: var(--bg-raised) !important;
	border: 1px solid var(--rule) !important;
	border-left: 2px solid var(--accent) !important;
	border-radius: 0 !important;
	color: var(--text) !important;
	font-family: var(--font-body);
	font-size: 0.92rem;
	line-height: 1.6;
	list-style: none;
}
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-error {
	border-left-color: var(--accent-fill) !important;
}

/* --- The stacked order rows on a phone -------------------------- */

/* WooCommerce ships `woocommerce-smallscreen.css`, whose rules read
   `.woocommerce table.shop_table_responsive tbody tr td` - (0,2,3). The
   block above is `.woocommerce-account table.shop_table td` at (0,2,1) and
   loses on element count, so on a phone the cells stayed `display: block`
   and, worse, **the order number cell was hidden outright**: the card
   opened at "Date:" and never said which order it was.

   `body` in front is the cheapest way past it. */
@media (max-width: 768px) {
	/* `space-between` assumed two flex items, a label and a value. The total
	   cell has three: the `::before` label, a `<span>` holding the price, and
	   a bare text node reading " EUR for 1 item". Spread evenly, the row came
	   out as "TOTAL:  10,00 €  EUR for 1 item" with the amount stranded in
	   the middle, split from its own currency.

	   Pushing the label away with an auto margin instead packs everything
	   after it against the right edge, however many pieces WooCommerce
	   happens to render the value in. */
	body.woocommerce-account table.shop_table_responsive tbody tr td {
		display: flex;
		justify-content: flex-end;
		align-items: baseline;
		gap: 0.4rem;
		padding: 0.3rem 0;
		border: 0;
		text-align: right;
	}
	body.woocommerce-account table.shop_table_responsive tbody tr td::before {
		margin-right: auto;
		padding-right: 1.1rem;
	}

	/* The order number leads the card, so it is set like the heading it
	   effectively is rather than as another label-and-value row. */
	body.woocommerce-account table.shop_table_responsive tbody tr td.woocommerce-orders-table__cell-order-number {
		display: flex;
		margin-bottom: 0.5rem;
	}
	body.woocommerce-account table.shop_table_responsive tbody tr td.woocommerce-orders-table__cell-order-number a {
		font-size: 0.95rem;
	}

	body.woocommerce-account table.shop_table_responsive tbody tr td.woocommerce-orders-table__cell-order-actions {
		justify-content: flex-end;
		margin-top: 0.8rem;
	}
	body.woocommerce-account table.shop_table_responsive tbody tr td.woocommerce-orders-table__cell-order-actions::before {
		display: none;
	}
}

/* --- Tracking, on the order detail ------------------------------ */

/* woo-orders-tracking prints the number and the carrier as two <div>s,
   but something in the cascade renders them inline, so they ran together
   as "1234567CARRIER: PACKAGE SENDER" with no space. They are metadata
   about the line item, so they are set as two quiet lines under it. */
.woocommerce-account .woo-orders-tracking-orders-details {
	margin-top: 0.5rem;
	font-family: var(--font-display);
	font-size: 0.66rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text-muted);
	line-height: 1.9;
}
/* The tracking plugin makes this wrapper a flex row, so the two facts it
   holds were laid side by side with no gap and ran together as
   "Tracking number: 1234567Carrier: Package Sender".

   `display: block` on the children was already here and could never have
   worked: a block-level flex item is still a flex item, and the direction
   is set by the parent. The parent is what has to change. Same trap as
   section 41, where `align-items` was set on something that was not a flex
   container: a declaration can express the right intent and still be inert
   because a different property decides the layout. */
/* The plugin's rule is
   `display: flex !important; flex-wrap: wrap !important; justify-content:
   space-between !important` and it does **not** set `flex-direction`. So
   the direction is the one property left to take, and turning the row into
   a column stacks the two facts without an `!important` war. Their
   `justify-content` and `flex-wrap` become no-ops once the column has no
   constrained height. */
.woocommerce-account .woo-orders-tracking-orders-details,
.woocommerce-order .woo-orders-tracking-orders-details {
	flex-direction: column;
	align-items: flex-start;
	row-gap: 0.15rem;
}
.woocommerce-account .woo-orders-tracking-orders-details > div,
.woocommerce-order .woo-orders-tracking-orders-details > div {
	display: block;
}
.woocommerce-account .entry__content .woo-orders-tracking-orders-details a:not(.button) {
	color: var(--text);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-color: var(--rule-strong);
}
.woocommerce-account .entry__content .woo-orders-tracking-orders-details a:not(.button):hover {
	color: var(--text-strong);
	text-decoration-color: var(--accent);
}

/* KNOWN, and not fixable in CSS: on a phone the orders card has no order
   number. It opens at "Date:".

   Two attempts are recorded here so the third person does not spend the
   time. First a more specific selector, then `!important` - neither
   worked, because the cell is not merely hidden: below the small-screen
   breakpoint **WooCommerce does not render that cell at all**, so there is
   nothing for CSS to reveal. Confirmed by counting cells in the row: six
   at desktop width, five on a phone, with no `data-title="Order"` among
   them.

   Changing it means the `woocommerce_my_account_my_orders_columns` filter
   or an `orders.php` template override, which is a second template
   override for one line of text. Left alone deliberately: every card
   carries a View button that leads to the order, and the order number is
   the first thing on that page. Worth revisiting only if a customer with
   several orders ever says they cannot tell the rows apart. */

/* ---------------------------------------------------------------
   36. The account link in the header, and the orphaned tile
   --------------------------------------------------------------- */

/* Sits immediately before the cart and is set to match it: same inline
   flex, same 1.05em glyph, same accent. Icon only - the cart earns its
   word because it also carries a count. */
.header-account {
	display: inline-flex;
	align-items: center;
	color: var(--accent-text);
	line-height: 1;
}
.main-nav > ul > li > a.header-account::after { display: none; }
.main-nav > ul > li > a.header-account:hover,
.main-nav > ul > li > a.header-account:focus-visible {
	color: var(--accent-hover, #e0648a);
}
.header-account svg {
	width: 1.15em;
	height: 1.15em;
	fill: currentColor;
	flex: none;
}

/* The glyph alone is a 19px target. The link is padded out to 44px so it
   can be tapped, without moving the icon off the line the nav sits on. */
.menu-item--account > a.header-account {
	padding: 0.6rem 0.35rem;
	margin: -0.6rem 0;
}

/* Why the icon rode 2.2px above everything else in the desktop row, fixed in
   the min-width: 861px block up in section 12.

   The cause is the pair of declarations directly above. The padding gives the
   icon a 36px hit target and the negative margin stops that target pushing
   the header row taller, which is a reasonable thing to want. What it leaves
   behind is a link whose painted box is 36px tall inside a list item only
   30px tall, and the link is an inline-block, so it hangs from the row's text
   baseline rather than sitting on its centre line. Every sibling is text, or
   in the cart's case an icon beside text, so every sibling has a real line
   box and lands where you would expect. This one had nothing to take a
   baseline from. */

/* ---------------------------------------------------------------
   The last tile, when it is alone in its row

   `.category-grid` is a fixed, curated set - the three doors into the
   shop - and it reads as a composition rather than a list. When the row
   wraps to two, the third sat alone against the left margin under a gap
   as wide as itself.

   Flex rather than a `:nth-child` trick. The grid is
   `repeat(auto-fit, minmax(min(100%, 200px), 1fr))`, so the number of
   columns changes with the viewport and is never known to the
   stylesheet; `:last-child:nth-child(odd)` would centre the third tile
   correctly at two columns and wrongly at three. `flex-wrap` with
   `justify-content: center` needs to know nothing: any row that is not
   full centres itself, at any count and any width.

   **This is deliberately not applied to `ul.products`.** A catalogue is
   scanned down its left edge, and 55 works whose last row floats to the
   middle breaks that line. A set of three doors is looked at; a
   catalogue is read. */
/* Flex with `justify-content: center` was tried first and rejected. It does
   centre the stray tile at any column count, which is the appealing part,
   but a lone tile then grows to its own max-width: measured 420px against
   its two siblings' 267px in the row above. A centred tile that is half
   again as wide as its neighbours trades one kind of odd for another.

   So the grid stays a grid, and only the band where the row is two wide is
   touched. Two columns is the only case that can strand exactly one tile
   out of three, and inside a fixed two-column grid the stray one can be
   given precisely one column's width and centred across both. The
   boundaries come from the grid's own sizing: three 200px columns plus two
   gaps stop fitting at about 700px of viewport, and two stop fitting at
   about 470px. */
@media (min-width: 470px) and (max-width: 700px) {
	.category-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.category-grid > .category-tile:last-child:nth-child(odd) {
		grid-column: 1 / -1;
		justify-self: center;
		width: calc((100% - clamp(1.5rem, 3vw, 3rem)) / 2);
	}
}

/* The account takes over the boundary the cart used to draw, because it
   is now the first of the two utilities. Same declarations and the same
   selector depth, since both have to beat the dot that `li + li::before`
   puts between ordinary nav items. */
.main-nav > ul > li.menu-item--account::before {
	left: -1rem;
	top: 50%;
	width: 1px;
	height: 17px;
	margin-top: -8.5px;
	border-radius: 0;
	background: var(--rule);
}

/* Account and cart are one group, so there is no rule between them - only
   before the pair. When the cart is empty it is hidden entirely and the
   account keeps the boundary on its own. */
.main-nav > ul > li.menu-item--account + li.menu-item--cart::before {
	display: none;
}
.main-nav > ul > li.menu-item--account + li.menu-item--cart {
	margin-left: 0;
}

@media (max-width: 900px) {
	.main-nav > ul > li.menu-item--account::before { left: -0.83rem; }
}

/* ---------------------------------------------------------------
   37. The account, second pass: measure, and fields sized to content

   Everything in the account was being stretched to the full width of
   the content column, whatever it was. Measured before this block, at a
   1400px window:

     dashboard paragraph      985px, about 115 characters to the line
     "No saved methods found." a 1002px ribbon for four words
     postcode field           996px
     phone field              996px

   115 characters is roughly double the 45 to 75 the eye tracks
   comfortably, and it is the same fault already fixed once on the About
   page. A 996px postcode field is the form equivalent: the width of an
   input is a silent instruction about how much to type, and this one
   was telling people to write an essay into their postcode.

   Tables are deliberately exempt. An orders table earns the full width
   because it is columns of data, not a line of prose.
   --------------------------------------------------------------- */

/* Prose gets the site's reading measure, the same one the rest of the
   theme uses. */
.woocommerce-account .woocommerce-MyAccount-content > p,
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-Message,
.woocommerce-account .woocommerce-MyAccount-content form > p:not(.form-row):not(.woocommerce-form-row) {
	max-width: var(--wrap-text);
}

/* A notice is a sentence, not a banner. Wide enough for the sentence and
   its button, no wider. */
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-info,
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-error,
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-message,
.woocommerce-account .woocommerce-notices-wrapper > * {
	max-width: 46rem;
}

/* Forms are read down a single column, so they are held to a column's
   width rather than the page's. 34rem still leaves the two-up name row
   about 16rem a side, which is enough for any name. */
.woocommerce-account .woocommerce-EditAccountForm,
.woocommerce-account form.edit-account,
.woocommerce-account .woocommerce-address-fields,
.woocommerce-account .woocommerce-ResetPassword,
.woocommerce-account form.lost_reset_password {
	max-width: 34rem;
}

/* Fields sized to what goes in them. A postcode, a phone number and a
   country are all known quantities, and an input that matches its
   content is the oldest piece of form-design advice there is: it tells
   the eye what is expected before a single character is typed.

   Left as full width on purpose: street address, town, and email, all of
   which are genuinely long and unpredictable. */
.woocommerce-account .woocommerce-MyAccount-content #billing_postcode,
.woocommerce-account .woocommerce-MyAccount-content #shipping_postcode {
	max-width: 11rem;
}
.woocommerce-account .woocommerce-MyAccount-content #billing_phone,
.woocommerce-account .woocommerce-MyAccount-content #shipping_phone {
	max-width: 18rem;
}

/* Under 34rem of room the caps stop helping and start fighting the
   gutters, so they are released. */
@media (max-width: 34rem) {
	.woocommerce-account .woocommerce-MyAccount-content #billing_postcode,
	.woocommerce-account .woocommerce-MyAccount-content #shipping_postcode,
	.woocommerce-account .woocommerce-MyAccount-content #billing_phone,
	.woocommerce-account .woocommerce-MyAccount-content #shipping_phone {
		max-width: none;
	}
}

/* --- Rhythm between the parts of a form ------------------------ */

/* The field rows were 6px apart, which is closer than the gap between a
   label and its own input - so a label read as belonging to the field
   above it rather than the one below. Grouping has to be unambiguous:
   more space between fields than inside one. */
.woocommerce-account .woocommerce-MyAccount-content .form-row {
	margin: 0 0 1.35rem;
	padding: 0;
}
.woocommerce-account .woocommerce-MyAccount-content .form-row label {
	display: block;
	margin-bottom: 0.45rem;
}
.woocommerce-account .woocommerce-MyAccount-content .form-row:last-of-type {
	margin-bottom: 0;
}

/* The two halves of a name sit on one line and need a real gutter, not
   the percentage WooCommerce leaves between floats. */
.woocommerce-account .woocommerce-MyAccount-content .form-row-first,
.woocommerce-account .woocommerce-MyAccount-content .form-row-last {
	float: none;
	width: auto;
}
.woocommerce-account .woocommerce-MyAccount-content .form-row-first + .form-row-last {
	margin-top: 0;
}
@media (min-width: 30rem) {
	/* Two inline-blocks at 50% minus half a gutter do not fit on one line:
	   the newline between them in the markup is a real space, and the pair
	   came to a few pixels over the form's 544px and wrapped. Each is cut
	   back by a full gutter instead of half, which absorbs the whitespace
	   and leaves the row comfortably inside. */
	.woocommerce-account .woocommerce-MyAccount-content form:has(.form-row-first) .form-row-first,
	.woocommerce-account .woocommerce-MyAccount-content form:has(.form-row-first) .form-row-last {
		display: inline-block;
		width: calc(50% - 1.1rem);
		vertical-align: top;
	}
	.woocommerce-account .woocommerce-MyAccount-content form:has(.form-row-first) .form-row-first {
		margin-right: 1.1rem;
	}
}

/* The submit is the end of the form, not another field in it. */
.woocommerce-account .woocommerce-MyAccount-content form .button[type="submit"],
.woocommerce-account .woocommerce-MyAccount-content form button[type="submit"] {
	margin-top: 1.6rem;
}

/* Two stacked address lines are one field in two parts, and they were
   sitting further apart than two genuinely separate fields - which reads
   as "these are unrelated" when the opposite is true. WooCommerce gives
   the second line its own `.form-row` and no label, so the row above is
   pulled back up to leave the pair closer to each other than either is
   to its neighbours. Proximity is the only thing saying they belong
   together, since the second line has no label of its own. */
.woocommerce-account .woocommerce-MyAccount-content .form-row:has(#billing_address_2),
.woocommerce-account .woocommerce-MyAccount-content .form-row:has(#shipping_address_2) {
	margin-top: -0.85rem;
}

/* The order number is a <th> inside <tbody>, not a <td>. WooCommerce marks
   it up as a row header, which is correct - it names the row - but it meant
   the header styling above landed on it: it took `--rule-strong` while the
   cells beside it took `--rule`, so the line under a row was a short dark
   stub under the number and a hairline everywhere else.

   The row header keeps its semantics and takes the cells appearance. The
   number itself is still set in Montserrat by the rule on the <a> inside. */
.woocommerce-account table.shop_table tbody th {
	padding: 1.1rem 1rem 1.1rem 0;
	border-bottom: 1px solid var(--rule);
	vertical-align: middle;
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: normal;
	text-transform: none;
	color: var(--text);
}

/* ---------------------------------------------------------------
   38. The receipt: /checkout/order-received/

   The page a customer sees the moment money has left their account,
   and the one they come back to when they want to check what they
   bought. It arrived as WooCommerce ships it, inside the checkout
   page's own layout, which meant:

     - a 57px "Checkout" heading over a completed purchase
     - the one sentence confirming the order set in 17px body type,
       the smallest thing on the page
     - "Order details", "Billing address" and "Shipping address" at
       38px display size, three shouted headings on a receipt
     - the summary strip and the item table both running the full
       1280px, so a two-column table was 1280px wide

   The heading and the sentence are fixed in functions.php. This is
   the rest: the same section-label treatment the account uses, so a
   receipt and an order in the account read as the same document.
   --------------------------------------------------------------- */

/* Revised once. The first pass capped this at 60rem and left it aligned to
   the left edge of a 1280px column, under a heading centred over the whole
   1280. That put the receipt's axis 160px off the heading's, and the three
   blocks inside it settled at three different widths: a 960px summary strip,
   a 544px item table and a 700px pair of addresses, so the right edge was
   ragged all the way down.

   One column, one measure, centred under the heading. 40rem is wide enough
   for a product name beside its price and narrow enough that the summary
   strip wrapping to two rows reads as a band rather than a stretched line. */
.woocommerce-order {
	max-width: 40rem;
	margin-inline: auto;
}

/* The confirmation. It leads, so it is set as a lead: larger than
   body, and given room to be read on its own before the data starts. */
.woocommerce-order > .woocommerce-thankyou-order-received,
.woocommerce-order > p.woocommerce-notice--success {
	max-width: var(--wrap-text);
	margin: 0 0 clamp(2rem, 5vw, 3.25rem);
	font-size: clamp(1.05rem, 1.6vw, 1.2rem);
	line-height: 1.65;
	color: var(--text-strong);
}

/* The summary strip: order number, date, email, total, payment. Five
   facts that belong together, so they are one band of label-over-value
   pairs rather than a list with pipes between it. */
.woocommerce-order ul.woocommerce-order-overview,
.woocommerce-order ul.order_details {
	display: flex;
	flex-wrap: wrap;
	gap: 1.6rem clamp(1.75rem, 4vw, 3.25rem);
	list-style: none;
	margin: 0 0 var(--rhythm);
	padding: 1.4rem 0;
	border-top: 1px solid var(--rule-strong);
	border-bottom: 1px solid var(--rule);
}
.woocommerce-order ul.woocommerce-order-overview li,
.woocommerce-order ul.order_details li {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	margin: 0;
	padding: 0;
	border: 0;
	font-family: var(--font-display);
	font-size: 0.64rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--text-muted);
	white-space: normal;
}
.woocommerce-order ul.woocommerce-order-overview li strong,
.woocommerce-order ul.order_details li strong {
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: normal;
	text-transform: none;
	color: var(--text-strong);
}

/* Section labels, the same ones the account uses. A receipt does not
   need three display headings; it needs its parts named quietly. */
.woocommerce-order .woocommerce-order-details__title,
.woocommerce-order .woocommerce-column__title,
.woocommerce-order h2 {
	font-family: var(--font-display);
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin: 0 0 1.2rem;
}

/* The item table. Held to a measure so a two-column table is not
   1280px wide, and set like the account's tables so the same order
   looks the same in both places. */
/* The 34rem cap that used to be here is gone with the revision above: the
   column is now the measure, so the table fills it and the receipt has one
   right edge instead of three. */
.woocommerce-order table.woocommerce-table--order-details,
.woocommerce-order table.order_details {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
}
.woocommerce-order table.woocommerce-table--order-details th,
.woocommerce-order table.order_details th {
	font-family: var(--font-display);
	font-size: 0.66rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--text-muted);
	text-align: left;
	padding: 0 1rem 0.8rem 0;
	border-bottom: 1px solid var(--rule-strong);
}
.woocommerce-order table.woocommerce-table--order-details td,
.woocommerce-order table.order_details td {
	padding: 0.85rem 1rem 0.85rem 0;
	border-bottom: 1px solid var(--rule);
	color: var(--text);
	vertical-align: top;
}
.woocommerce-order table.woocommerce-table--order-details th:last-child,
.woocommerce-order table.woocommerce-table--order-details td:last-child,
.woocommerce-order table.order_details th:last-child,
.woocommerce-order table.order_details td:last-child {
	padding-right: 0;
	text-align: right;
}

/* The totals rows are a summary of the rows above, so their labels are
   set as labels rather than as another line of the list. */
.woocommerce-order table.woocommerce-table--order-details tfoot th {
	border-bottom: 1px solid var(--rule);
	padding: 0.85rem 1rem 0.85rem 0;
	white-space: nowrap;
}
.woocommerce-order table.woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-order table.woocommerce-table--order-details tfoot tr:last-child td {
	border-bottom: 0;
	padding-top: 1.1rem;
}
.woocommerce-order table.woocommerce-table--order-details tfoot tr:last-child td {
	font-family: var(--font-display);
	font-size: 1rem;
	color: var(--text-strong);
}

/* Reorder is an offer, not the point of the page. */
.woocommerce-order .order-again {
	margin-top: 1.6rem;
}

/* The two addresses. Equal columns with a real gutter, and the same
   quiet address setting the account uses. */
.woocommerce-order .woocommerce-customer-details {
	margin-top: var(--rhythm);
}
.woocommerce-order .woocommerce-customer-details .woocommerce-columns--addresses {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr));
	gap: clamp(1.75rem, 4vw, 3rem);
}
.woocommerce-order .woocommerce-customer-details .woocommerce-column {
	float: none;
	width: auto;
	padding: 0;
}
.woocommerce-order .woocommerce-customer-details address {
	font-style: normal;
	line-height: 1.8;
	color: var(--text);
	border: 0;
	padding: 0;
	border-radius: 0;
}

/* The same trap once more, and this one hid in plain sight. WooCommerce's
   clearfix `::before` and `::after` on the overview list are `display: table`
   with `content: " "`, which makes them flex items the moment the list
   becomes a flex container. They are 0px wide, so they look harmless, but
   each still takes a slot and a full 52px gap: the first row was indented
   52px past its own border, and the `::after` at the end of row one pushed
   Total and Payment method onto a second row that started at the real left
   edge. Two rows that disagreed about where the strip begins. */
.woocommerce-order ul.woocommerce-order-overview::before,
.woocommerce-order ul.woocommerce-order-overview::after,
.woocommerce-order ul.order_details::before,
.woocommerce-order ul.order_details::after {
	display: none;
}

/* Clearfix pseudo-elements become grid items, the trap from section 35. */
.woocommerce-order .woocommerce-columns--addresses::before,
.woocommerce-order .woocommerce-columns--addresses::after,
.woocommerce-order .woocommerce-customer-details::before,
.woocommerce-order .woocommerce-customer-details::after {
	display: none;
}

/* ---------------------------------------------------------------
   39. The focused account pages: one form, centred

   Three pages in this site are a single form and nothing else: ask for
   a reset link, set a new password, and the login gate that the
   order-received page shows to a visitor who is not signed in. None of
   them has a navigation rail, so none of them has anything to fill the
   right-hand side of the content column.

   They were all inheriting the full 1280px column and aligning left,
   which measured, at a 1400px window:

     lost-password form   544px wide, sitting at x=61
     reset-password form  two fields ending at x=847
     order-received gate  1280px wide, fields 582px each

   544px of form and 736px of nothing, under a heading centred over the
   whole 1280px. The forms themselves were the right width the whole
   time. A measure is only correct relative to what contains it, and
   nothing here contained them.

   The fix is the obvious one for a single-task page: make the column
   the width of the form and centre it, so the heading, the sentence
   and the fields all share one axis. Text stays left-aligned inside
   the column, because centred labels and inputs are harder to scan.
   --------------------------------------------------------------- */

/* Selected by shape rather than by page: an account view with no rail
   and no login/register spread is, by definition, a single form. That
   catches both states of /my-account/lost-password/ without depending
   on which query string produced them. */
.woocommerce-account .entry__content > .woocommerce:not(:has(.woocommerce-MyAccount-navigation)):not(:has(.col2-set)),
.woocommerce-order-received .entry__content > .woocommerce:has(> form.login) {
	max-width: 34rem;
	margin-inline: auto;
}

/* --- Paired rows stack in a column this narrow ------------------ */

/* WooCommerce floats `.form-row-first` and `.form-row-last` at 47%
   each. Inside 34rem that is about 250px a side, which is too tight
   for a password field that also carries a reveal button.

   The reset form would stack even if it fitted. "New password" and
   "Re-enter new password" side by side asks the reader to work out
   which is which; stacked, the order is the instruction. */
.woocommerce-lost-password .woocommerce form .form-row-first,
.woocommerce-lost-password .woocommerce form .form-row-last,
.woocommerce-order-received .woocommerce form.login .form-row-first,
.woocommerce-order-received .woocommerce form.login .form-row-last {
	float: none;
	width: auto;
}

/* --- Rhythm, matching section 37 -------------------------------- */

/* Section 37 gave the account forms their spacing, but scoped it to
   `.woocommerce-MyAccount-content`, which none of these pages has.
   Same values, so a form looks the same whichever page it is on. */
.woocommerce-lost-password .woocommerce .form-row,
.woocommerce-order-received .woocommerce form.login .form-row {
	margin: 0 0 1.35rem;
	padding: 0;
}
/* `:not(.woocommerce-form__label-for-checkbox)` is load-bearing. A label
   above a text field is a block; a label wrapped *around* a checkbox is a
   row, and blanket `display: block` here flattened Remember me back into
   the misalignment section 41 exists to fix. */
.woocommerce-lost-password .woocommerce .form-row label:not(.woocommerce-form__label-for-checkbox),
.woocommerce-order-received .woocommerce form.login .form-row label:not(.woocommerce-form__label-for-checkbox) {
	display: block;
	margin-bottom: 0.45rem;
}
.woocommerce-lost-password .woocommerce .form-row:last-of-type,
.woocommerce-order-received .woocommerce form.login .form-row:last-of-type {
	margin-bottom: 0;
}

/* The sentence above the fields is an instruction, not a caption, so it
   gets room to be read before the form starts. */
.woocommerce-lost-password .woocommerce form > p:not(.form-row):first-child {
	margin: 0 0 1.9rem;
	line-height: 1.65;
	color: var(--text-strong);
}

/* Remember me sits above its own submit here, as it does on the account
   page, rather than sharing a line with it. */
.woocommerce-order-received .woocommerce form.login .woocommerce-form-login__rememberme {
	margin-bottom: 1.1rem;
}

/* --- The order-received login gate ------------------------------ */

/* This state is reached by a buyer who paid while signed in and then
   opened the receipt link somewhere they are not signed in. The order
   went through; the page just cannot prove who is asking. The good
   news has to carry, so it leads at the same size the receipt's
   confirmation does, and the login request follows it as the smaller,
   secondary thing it is. */
.woocommerce-order-received .woocommerce:has(> form.login) > .woocommerce-thankyou-order-received {
	margin: 0 0 1.6rem;
	font-size: clamp(1.05rem, 1.6vw, 1.2rem);
	line-height: 1.65;
	color: var(--text-strong);
}

.woocommerce-order-received .woocommerce > .woocommerce-info {
	margin: 0 0 1.9rem;
}

/* The icon WooCommerce puts in a notice is drawn from its own icon font,
   which is not loaded here, so it renders as a missing-glyph box. The
   same fix as the account page, which scoped it to `.woocommerce-account`
   and so missed this copy. */
.woocommerce-order-received .woocommerce-info::before {
	display: none;
}

/* --- Narrow screens --------------------------------------------- */

/* Below the column width the centring is a no-op and the gutters take
   over, so nothing is needed. The one thing that does need saying: the
   fields must not keep a fixed width once the column is fluid. */
@media (max-width: 34rem) {
	.woocommerce-lost-password .woocommerce input.input-text,
	.woocommerce-order-received .woocommerce form.login input.input-text {
		width: 100%;
	}
}

/* ---------------------------------------------------------------
   40. The account tables were not as wide as they looked

   Section 6 gives any table in page content `display: block` with
   `overflow-x: auto`, so an unclassed size chart pasted into a product
   description scrolls in its own box instead of dragging the page
   sideways on a phone. The selector was written deliberately broad:
   `.entry__content table`.

   Every table in the account is inside `.entry__content`, so they all
   became blocks. A block is as wide as it is told to be, but the
   anonymous table inside it shrinks to fit its content, and the two
   are not the same box. Measured at a 1400px window:

     orders list      element 1002px, cells stopped at 674, 328 unused
     view order       element 1002px, cells stopped at 616, 386 unused
     receipt          element  640px, cells stopped at 391, 249 unused

   So every column rule and row border stopped short of the column it
   was supposed to span, and `width: 100%` on the table did nothing to
   fix it because the element really was 100% wide. The element was the
   right width the whole time and the table inside it was not.

   These tables are markup this theme controls, with two to six short
   columns, and they have WooCommerce's own responsive stacking below
   its breakpoint. None of them needs to scroll, so they opt out of the
   broad rule and go back to being tables.
   --------------------------------------------------------------- */

.woocommerce-account .entry__content table.shop_table,
.woocommerce-account .entry__content table.woocommerce-table,
.woocommerce-order table.woocommerce-table--order-details,
.woocommerce-order table.order_details {
	display: table;
	overflow: visible;
	width: 100%;
	white-space: normal;
}

/* `display: table` alone was not enough, and going back for the rest of
   section 6's rule is the point worth remembering. It also sets
   `white-space: nowrap` and `width: max-content`, both correct for a size
   chart that must keep its columns intact and scroll instead. Restored to
   a real table and left with nowrap, these tables could no longer shrink:
   the orders list pushed the page 110px sideways at 834px, and the receipt
   13px at 390px. A scroll box was hiding it before.

   Prices and dates still hold their line; it is the long cells - product
   titles, addresses, shipping method - that are allowed to wrap. */
.woocommerce-account .entry__content table.shop_table :is(th, td),
.woocommerce-account .entry__content table.woocommerce-table :is(th, td),
.woocommerce-order table.woocommerce-table--order-details :is(th, td),
.woocommerce-order table.order_details :is(th, td) {
	white-space: normal;
}

/* ---------------------------------------------------------------
   41. A control and its label sit on one centre line

   "Remember me" was 6.7px lower than its own checkbox on both pages
   that show a login form. Section 35 had already asked for the right
   thing:

       .woocommerce-form-login__rememberme { display: flex; align-items: center }

   and it never applied. WooCommerce ships
   `.woocommerce .woocommerce-form-login .woocommerce-form-login__rememberme`
   at (0,3,0), the rule above is (0,1,0), so the label stayed
   `inline-block` and `align-items` had nothing to align. The checkbox
   kept its `margin-right`, so the gap looked deliberate and only the
   vertical position gave it away.

   That is the shape of the bug worth remembering. A 20px box and 9.6px
   uppercase text on a shared baseline cannot line up: an input's
   baseline is its bottom edge, so the text drops to meet the bottom of
   the box rather than its middle. Baseline alignment is right for text
   beside text and wrong for text beside a control.

   Written for every WooCommerce checkbox label rather than for the one
   that was reported, so terms, ship-to-a-different-address and the
   marketing opt-in are covered by the same rule.
   --------------------------------------------------------------- */

.woocommerce .woocommerce-form__label-for-checkbox,
.woocommerce-page .woocommerce-form__label-for-checkbox,
.woocommerce .woocommerce-form-login label.woocommerce-form-login__rememberme,
.woocommerce-page .woocommerce-form-login label.woocommerce-form-login__rememberme {
	display: flex;
	align-items: center;
	gap: 0.7rem;
}

/* The gap above replaces the checkbox's own right margin. Left in place
   they would add up and the pair would drift apart. */
.woocommerce .woocommerce-form__label-for-checkbox input[type="checkbox"],
.woocommerce-page .woocommerce-form__label-for-checkbox input[type="checkbox"] {
	flex: 0 0 auto;
	margin: 0;
}

/* ---------------------------------------------------------------
   42. The bought piece, and the notice that announces it

   Two things, both about a moment that was all words.

   --- The artwork on the receipt ---------------------------------

   A receipt for a drawing showed no drawing. The line item was a title,
   a quantity and a price, which is what a receipt for a kettle looks
   like. `woocommerce/order/order-details-item.php` now puts the
   thumbnail beside the name, so the same image appears on the receipt,
   in the stored order, and on the archive tile it was bought from.

   The image is the shop's own `woocommerce_thumbnail`, a 1:1 crop at
   400px. That crop is the shop's existing convention, not a decision
   made here - every archive tile on the site is already square, so a
   receipt that cropped differently would be the odd one out.
   --------------------------------------------------------------- */

/* Centred rather than top-aligned. A line item is usually one short title
   against a 100px image, and aligning to the top left the title stranded
   at the ceiling with a block of empty space under it. */
.order-item {
	display: flex;
	align-items: center;
	gap: 1.1rem;
}

/* `line-height: 0` keeps the anchor from adding a phantom text row under
   the image, which would push the thumbnail out of line with the title. */
.order-item__media {
	flex: 0 0 auto;
	width: 6.25rem;
	line-height: 0;
	border: 1px solid var(--rule);
	background: var(--bg-raised);
}
.order-item__media img {
	display: block;
	width: 100%;
	height: auto;
}

/* `min-width: 0` so a long title wraps instead of forcing the flex row
   wider than the table cell it sits in. */
.order-item__body {
	min-width: 0;
}

/* Section 38 sets every cell to `vertical-align: top`, which is right for
   the totals rows. On an item row the price now has a 100px image opposite
   it, so top-aligning left the amount hovering above its own artwork. Only
   the item rows change. */
.woocommerce-order table tr.woocommerce-table__line-item > td,
.woocommerce-account table tr.woocommerce-table__line-item > td {
	vertical-align: middle;
}

/* The quantity belongs to the title, so it stays on the title's line and
   does not become a second paragraph beside a tall image. */
.order-item__body .product-quantity {
	white-space: nowrap;
}

@media (max-width: 32rem) {
	.order-item {
		gap: 0.85rem;
	}
	.order-item__media {
		width: 4rem;
	}
}

/* --- The "added to your cart" notice ---------------------------

   Measured on the account page at 1401px, with a notice showing:

     notice          736px wide, starting at x=53
     the content it introduces   928px wide, starting at x=229
     gap between them            12px

   So it began 176px to the left of the block it belongs to, ended 368px
   short of it, and sat 12px above the "Login" heading - close enough
   that the two read as one broken unit. It was aligned to nothing on
   the page.

   Centring is what fixes it rather than a matching width, because the
   account views do not agree on a width: the login screen is a 928px
   spread, the dashboard is the full 1280px column. They do agree on a
   centre line, the same one the page heading uses, so the notice is put
   on that and given room to be its own object.
   --------------------------------------------------------------- */

.woocommerce-account .woocommerce-notices-wrapper > * {
	margin-inline: auto;
	margin-bottom: clamp(2.25rem, 4vw, 3rem);
	padding: 1.3rem 1.6rem 1.3rem 1.75rem;
}

/* The wrapper kept its own bottom margin as well, which stacked with the
   notice's and then collapsed unpredictably depending on whether a notice
   was present at all. The spacing is the notice's to own. */
.woocommerce-account .woocommerce-notices-wrapper {
	margin-bottom: 0;
}

/* ===============================================================
   What a form says back
   ---------------------------------------------------------------
   Both messages shipped as the plugin drew them, which on this
   ground was two different kinds of wrong. The validation error
   was a white slab with a red hairline and grey text inside it,
   which read as an empty input rather than as a complaint about
   one. The confirmation was a saturated green banner with white
   text, borrowed from an admin notice and the loudest thing that
   has ever been on this site.

   Both are rebuilt on one shape: a soft wash of the message's own
   colour, a rule down the leading edge, and no box. The rule is
   the whole signal. It sits in the margin the way an editor's mark
   does, points at the thing it is about, and needs no border to
   hold it together.

   The two roles are told apart by hue and by voice: the error is a
   short Montserrat label, the same idiom as every other small
   caption on the site, and the confirmation is a Lora sentence,
   because it is one.
   =============================================================== */

/* --- The complaint ------------------------------------------- */
.entry__content .everest-forms label.evf-error,
.everest-forms label.evf-error,
label.evf-error {
	display: block;
	width: fit-content;
	max-width: 100%;
	margin: 0.7rem 0 0 !important;
	padding: 0.55rem 0.85rem !important;
	border: 0 !important;
	border-left: 2px solid var(--notice-bad) !important;
	border-radius: 0 !important;
	background: var(--notice-bad-soft) !important;
	font-family: var(--font-display);
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	/* Was --text-muted, which on the old white slab measured 2.4:1. The
	   one message that has to be read was the least readable thing in
	   the form. */
	color: var(--text-strong) !important;
	line-height: 1.45;
}

/* The field that caused it takes the same edge, so the eye can travel
   from the message to the input without reading either. */
.entry__content .everest-forms .evf-has-error input:not([type="checkbox"]):not([type="radio"]),
.entry__content .everest-forms .evf-has-error select,
.entry__content .everest-forms .evf-has-error textarea {
	border-color: var(--notice-bad) !important;
}

/* Two fields on these forms are one pixel wide on purpose: the picker's
   real input, and the plugin's captcha proxy. Both must stay technically
   visible or jQuery Validate skips them and the rule they carry stops
   being enforced. They should not paint, though, and the captcha proxy
   was painting the plugin's white slab. */
.entry__content .everest-forms .evf-recaptcha-hidden,
.entry__content .everest-forms input.artwork-picker__input {
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	color: transparent !important;
}

/* --- The confirmation ---------------------------------------- */
.entry__content .everest-forms-notice--success,
.everest-forms-notice.everest-forms-notice--success,
.everest-forms-notice--success {
	display: flex;
	align-items: flex-start;
	gap: 0.9rem;
	margin: 0 !important;
	padding: 1.15rem 1.4rem !important;
	border: 0 !important;
	border-left: 3px solid var(--notice-good) !important;
	border-radius: 0 !important;
	background: var(--notice-good-soft) !important;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--text-strong) !important;
	list-style: none;
}
.entry__content .everest-forms-notice--success li,
.everest-forms-notice--success li {
	list-style: none;
	margin: 0;
}

/* The plugin puts a tick in front of the sentence, and it is worth keeping:
   the shape is read before the words are, which is the whole job of a
   confirmation. Redrawn in the message's own colour and set apart from the
   text rather than run into it. Aligned to the first line by the same
   line-height the text uses, so it sits on the baseline of "Thank you"
   rather than floating above a two-line message. */
.entry__content .everest-forms-notice--success::before,
.everest-forms-notice--success::before {
	content: "\2713";
	/* The plugin positions this absolutely, which takes it out of the flex
	   flow so `gap` cannot separate it and it lands directly on top of the
	   first letter. Putting it back in flow is what makes it a flex item. */
	position: static !important;
	display: block !important;
	flex: 0 0 auto;
	font-family: var(--font-display);
	font-size: 0.95rem;
	line-height: 1.65;
	color: var(--notice-good);
}

/* Info and error banners, the same shape so a form never answers in two
   visual languages. */
.entry__content .everest-forms-notice--info,
.everest-forms-notice--info {
	margin: 0 !important;
	padding: 1.15rem 1.4rem !important;
	border: 0 !important;
	border-left: 3px solid var(--rule-strong) !important;
	border-radius: 0 !important;
	background: var(--bg-raised) !important;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--text) !important;
}
.entry__content .everest-forms-notice--error,
.everest-forms-notice--error,
.entry__content .everest-forms-error-notice,
.everest-forms-error-notice {
	margin: 0 0 1.25rem !important;
	padding: 1.15rem 1.4rem !important;
	border: 0 !important;
	border-left: 3px solid var(--notice-bad) !important;
	border-radius: 0 !important;
	background: var(--notice-bad-soft) !important;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--text-strong) !important;
	list-style: none;
}

/* --- The artwork picker's panel must leave its row ------------------
   Everest Forms makes every field row a scroll box under 600px:

     .evf-container .evf-field.evf-field         { overflow: auto }
     .evf-container .evf-field:not(.evf-field-phone) { overflow-x: hidden }

   That is (0,3,0) and (0,2,1), and it cropped the picker's 320px panel
   to the row's own ~100px on a phone: the list of works showed as a
   sliver and the toggle scrolled around inside its own row. Desktop was
   never affected, which is why this only ever appeared on a phone.

   The class is put on the row by artwork-picker.js. Written at (0,4,0)
   so it wins without !important, and scoped to the one row that has a
   panel to let out, so every other field keeps whatever the plugin
   intended by making them scrollable. */
@media only screen and (max-width: 600px) {
	.evf-container .evf-field.evf-field.evf-field--has-picker {
		overflow: visible;
		overflow-x: visible;
		overflow-y: visible;
	}
}

/* The "if other, please specify" field starts hidden, so it is not on
   screen and not in the tab order before the script has run. Everest
   Forms puts the field's own `css` setting on the row, which is how a
   plain form field is reachable from here at all. */
.evf-field.anita-reveal { display: none; }

/* Checkout order summary */
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block {
	padding: 0;
	border: 0;
	background: transparent;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block {
	--summary-inset: clamp(0.875rem, 2vw, 1.5rem);
	padding: 0;
	border: 1px solid var(--rule);
	border-radius: 0;
	background: var(--bg-raised);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title {
	box-sizing: border-box;
	min-height: var(--control-h);
	margin: 0;
	padding: 0.75rem var(--summary-inset);
	gap: 0.5rem;
	border: 0;
}

@media (max-width: 359px) {
	body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title {
		gap: 0.375rem;
	}
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title.is-open {
	border-bottom: 1px solid var(--rule);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block :is(
	.wc-block-components-checkout-order-summary__title-text,
	.wc-block-components-checkout-step__title
) {
	margin: 0;
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: normal;
	text-transform: none;
	color: var(--text-strong);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-step__heading {
	padding: 1rem var(--summary-inset) 0.375rem;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title-price {
	margin-inline-start: auto;
	font-family: var(--font-display);
	font-size: 1.0625rem;
	font-weight: 600;
	white-space: nowrap;
	color: var(--text-strong);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block :is(
	.wc-block-components-checkout-order-summary__content,
	.checkout-order-summary-block-fill
) {
	padding: 0 var(--summary-inset);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-wrapper {
	padding: 0.4rem 0 0;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-wrapper:empty {
	padding: 0;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wp-block-woocommerce-checkout-order-summary-cart-items-block {
	padding: 0.5rem 0 0;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block :is(
	.wc-block-components-order-summary,
	.wc-block-components-order-summary__content
) {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item {
	display: grid;
	grid-template-columns: 3rem minmax(0, 1fr) max-content;
	align-items: start;
	gap: 0.75rem;
	margin: 0;
	padding: 0.5rem 0 0.875rem;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item__image {
	width: 3rem;
	padding: 0;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item__image img {
	display: block;
	width: 3rem;
	height: auto;
	border-radius: 0;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item__quantity {
	z-index: 1;
	inset: auto 0 0 auto;
	min-width: 1.35rem;
	padding: 0 0.25rem;
	border: 1px solid var(--rule-strong);
	border-radius: 0;
	background: var(--bg-raised);
	box-shadow: none;
	color: var(--text-strong);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block :is(
	.wc-block-components-order-summary-item__description,
	.wc-block-components-order-summary-item__total-price
) {
	width: auto;
	padding: 0;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item .wc-block-components-product-name {
	margin: 0;
	color: var(--text-strong);
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item :is(
	.wc-block-components-product-metadata,
	.wc-block-components-product-metadata p
) {
	margin-block: 0.25rem 0;
	color: var(--text-muted);
	font-size: 1rem;
	line-height: 1.45;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item__total-price {
	color: var(--text-strong);
	white-space: nowrap;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .anita-summary-single :is(
	.wc-block-components-order-summary-item__quantity,
	.wc-block-components-order-summary-item__individual-prices:not(:has(del, ins))
) {
	display: none;
}

@media (max-width: 520px) {
	body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .anita-summary-single:not(:has(.wc-block-components-order-summary-item__individual-prices :is(del, ins))) {
		grid-template-areas: "image name price" "image details details";
		row-gap: 0;

		& .wc-block-components-order-summary-item__description { display: contents; }
		& .wc-block-components-order-summary-item__image { grid-area: image; }
		& .wc-block-components-product-name { grid-area: name; }
		& .wc-block-components-product-metadata { grid-area: details; }
		& .wc-block-components-order-summary-item__total-price { grid-area: price; }
	}
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wp-block-woocommerce-checkout-order-summary-coupon-form-block {
	padding: 0;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-coupon .wc-block-components-panel__button {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	width: auto;
	min-height: 44px;
	margin: 0;
	padding: 0;
	color: var(--text-muted);
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 500;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-coupon .wc-block-components-panel__button-icon {
	position: static;
	order: 1;
	width: 1.125rem;
	height: 1.125rem;
	margin: 0;
	transform: none;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-coupon [aria-expanded="true"] .wc-block-components-panel__button-icon {
	rotate: 180deg;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) fit-content(55%);
	align-items: start;
	column-gap: 0.75rem;
	padding: 0.15rem 0;
	font-size: 1rem;
	line-height: 1.45;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-item__value {
	text-align: end;
	white-space: normal;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-item__description {
	grid-column: 1 / -1;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-wrapper:has(> .wc-block-components-totals-footer-item) {
	border-top: 0;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-footer-item {
	box-sizing: border-box;
	align-items: baseline;
	width: calc(100% + 2 * var(--summary-inset));
	max-width: none;
	margin-inline: calc(-1 * var(--summary-inset));
	padding: 0.75rem var(--summary-inset) 0.875rem;
	border-top: 1px solid var(--rule-strong);
	background: var(--bg-input);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-footer-item :is(
	.wc-block-components-totals-item__label,
	.wc-block-components-totals-item__value
) {
	color: var(--text-strong);
	font-family: var(--font-display);
	font-weight: 600;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-size: 1.1875rem;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-footer-item-tax-value {
	color: inherit;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block :is(
	.wc-block-components-checkout-order-summary__title[role="button"],
	.wc-block-components-totals-coupon .wc-block-components-panel__button
):focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}
