/* ============================================================
   Luxury Closet Collections — design system (bright refresh)
   Type: Cormorant Garamond (headings) + Jost (body/labels)
   Palette: gold #C7A24E/#E3C892, pink #C21B6B/#A3155C,
            blush #FBEFF3, cream #F6F1E8, ink #3A1E2A/#2A2226
   Backgrounds: light throughout — white content, blush hero/About/footer
   Ported from the Shopify build (tag: shopify-final).
   ============================================================ */

/* ---------- self-hosted brand fonts (latin, variable woff2) ---------- */
@font-face {
	font-family: 'Cormorant Garamond';
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url('../fonts/cormorant-garamond-latin.woff2') format('woff2');
}

@font-face {
	font-family: 'Cormorant Garamond';
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/cormorant-garamond-latin-italic.woff2') format('woff2');
}

@font-face {
	font-family: 'Jost';
	font-style: normal;
	font-weight: 300 600;
	font-display: swap;
	src: url('../fonts/jost-latin.woff2') format('woff2');
}

/* ---------- brand tokens ---------- */
:root {
	/* neutrals & backgrounds */
	--lcc-white: #ffffff;
	--lcc-blush: #fbeff3;      /* hero, About, footer tint */
	--lcc-cream: #f6f1e8;      /* warm neutral */
	--lcc-cream-deep: #ede3d2; /* light dividers / borders */

	/* metals & accents (from the logo) */
	--lcc-gold: #c7a24e;
	--lcc-gold-light: #e3c892;
	--lcc-pink: #c21b6b;       /* bright: display / decorative */
	--lcc-pink-deep: #a3155c;  /* deep: buttons + small accent text */

	/* text */
	--lcc-ink: #3a1e2a;        /* headings: deep aubergine */
	--lcc-body: #2a2226;       /* body: warm charcoal */
	--lcc-muted: #6d666a;      /* placeholder / helper text; AA on white and blush */

	--lcc-font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--lcc-font-body: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	--lcc-wrap: 1280px;
	--lcc-gutter: clamp(20px, 5vw, 64px);
	--lcc-section-y: clamp(56px, 8vw, 120px);
}

/* ---------- Blocksy integration ----------
   Blocksy routes its entire design through variables: a numbered 8-colour
   palette, and `font-family: var(--theme-font-family)` (plus size, weight,
   line-height and letter-spacing from sibling variables) applied to body,
   every heading, and dozens of components through one large selector list.
   Remapping those variables is Blocksy's own extension surface, so every
   Blocksy surface inherits the LCC brand instead of us chasing its selectors.

   Palette roles are Blocksy's convention, confirmed against its defaults:
   1 accent, 2 accent hover, 3 body text, 4 headings, 5 borders,
   6 and 7 light backgrounds, 8 white.

   `html:root` rather than `:root`: Blocksy prints its Customizer-driven
   palette in an inline <style> that lands after this file, on an identical
   `:root` selector, so it wins on source order at equal specificity. The
   type selector raises specificity just enough to take precedence.
   ---------------------------------------------------------------------- */
html:root {
	--theme-palette-color-1: var(--lcc-pink-deep);
	--theme-palette-color-2: var(--lcc-pink);
	--theme-palette-color-3: var(--lcc-body);
	--theme-palette-color-4: var(--lcc-ink);
	--theme-palette-color-5: var(--lcc-cream-deep);
	--theme-palette-color-6: var(--lcc-blush);
	--theme-palette-color-7: var(--lcc-cream);
	--theme-palette-color-8: var(--lcc-white);
}

body {
	--theme-font-family: var(--lcc-font-body);
	--theme-text-color: var(--lcc-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	--theme-font-family: var(--lcc-font-display);
	--theme-font-weight: 500;
	--theme-line-height: 1.05;
}

/* ---------- base typography ---------- */
body {
	font-family: var(--lcc-font-body);
	color: var(--lcc-body);
	-webkit-font-smoothing: antialiased;
}

/*
 * Blocksy's Customizer CSS prints `body { background-color:
 * var(--theme-palette-color-7) }` after this stylesheet, which paints the site
 * cream. The homepage hid it behind `.lcc-section`, but the WooCommerce
 * archives sit directly on the canvas. `html body` outranks it. Content is
 * white; blush is reserved for the hero, About, and footer.
 */
html body {
	background: var(--lcc-white);
}

h1,
h2,
h3,
h4 {
	font-family: var(--lcc-font-display);
	font-weight: 500;
	line-height: 1.05;
	color: var(--lcc-ink);
}

/* ---------- layout utilities ---------- */
.lcc-wrap {
	width: 100%;
	max-width: var(--lcc-wrap);
	margin-inline: auto;
	padding-inline: var(--lcc-gutter);
}

.lcc-section {
	background: var(--lcc-white);
	padding-block: var(--lcc-section-y);
}

.lcc-section--blush {
	background: var(--lcc-blush);
}

.lcc-section__head {
	text-align: center;
	margin-bottom: clamp(36px, 5vw, 64px);
}

.lcc-section__title {
	font-size: clamp(34px, 5vw, 56px);
	color: var(--lcc-ink);
}

.lcc-section__title--center {
	text-align: center;
}

.lcc-eyebrow {
	font-family: var(--lcc-font-body);
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--lcc-pink);
	margin: 0 0 18px;
}

/* ---------- buttons and links ---------- */
.lcc-btn {
	display: inline-block;
	font-family: var(--lcc-font-body);
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 16px 38px;
	border: 1px solid var(--lcc-pink-deep);
	color: var(--lcc-white);
	background: var(--lcc-pink-deep);
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
	cursor: pointer;
}

.lcc-btn:hover {
	background: var(--lcc-pink);
	border-color: var(--lcc-pink);
	color: var(--lcc-white);
}

.lcc-btn:focus-visible {
	outline: 2px solid var(--lcc-pink-deep);
	outline-offset: 2px;
}

.lcc-btn--ghost {
	background: transparent;
	color: var(--lcc-pink-deep);
	border-color: var(--lcc-gold);
}

.lcc-btn--ghost:hover {
	background: var(--lcc-gold);
	color: var(--lcc-ink);
}

.lcc-link {
	font-family: var(--lcc-font-body);
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--lcc-pink-deep);
	border-bottom: 1px solid transparent;
	padding-bottom: 3px;
	transition: border-color 0.25s ease;
}

.lcc-link:hover {
	border-color: var(--lcc-pink-deep);
}

.lcc-link:focus-visible {
	outline: 2px solid var(--lcc-pink-deep);
	outline-offset: 2px;
}

/* ---------- neutral image placeholder ----------
   No AI imagery: products and categories without a real photo get this
   tile, which real client images replace later. Shared by the collection
   grid here and the product cards in Task 5.
   ---------------------------------------------------------------------- */
.lcc-ph {
	position: relative;
	aspect-ratio: 1 / 1;
	background:
		radial-gradient(120% 120% at 50% 30%, rgba(194, 27, 107, 0.08), transparent 60%),
		linear-gradient(160deg, var(--lcc-white) 0%, var(--lcc-blush) 100%);
	border: 1px solid rgba(199, 162, 78, 0.35);
	display: grid;
	place-items: center;
	overflow: hidden;
}

.lcc-ph__mark {
	font-family: var(--lcc-font-display);
	font-size: clamp(28px, 4vw, 48px);
	letter-spacing: 0.12em;
	color: rgba(163, 21, 92, 0.72);
}

/* Signed-in-only scaffold for the collections band before the client has any
   product categories. Muted on purpose: it should read as an instruction to
   her, not as store content. The colour is the same value .lcc-about__body
   uses, which already clears AA on both white and blush. */
.lcc-scaffold-note {
	max-width: 620px;
	margin: 0 auto 36px;
	text-align: center;
	font-size: 15px;
	line-height: 1.7;
	color: rgba(42, 34, 38, 0.82);
}

.lcc-collection-card--empty .lcc-collection-card__name,
.lcc-collection-card--empty .lcc-link {
	color: var(--lcc-muted);
}

.lcc-collection-card--empty .lcc-link {
	cursor: default;
}

/* ---------- footer link columns (blush) ----------

   Injected above Blocksy's copyright bar via blocksy:footer:before, so this
   rule owns its own background rather than inheriting the parent's footer
   colour. Blush matches the hero and About bands, per the brand's footer tint.
   Every colour below is a solid token, deliberately: the pending column is the
   only muted value and it is composited over blush in the contrast notes. */
.lcc-footer-links {
	background: var(--lcc-blush);
	padding-block: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 44px);
}

.lcc-footer-links__grid {
	display: grid;
	grid-template-columns: 1fr 2fr 1fr;
	gap: clamp(28px, 4vw, 64px);
	align-items: start;
}

.lcc-footer-col__title {
	font-family: var(--lcc-font-display);
	font-size: 22px;
	font-weight: 400;
	margin: 0 0 16px;
	color: var(--lcc-ink);
}

.lcc-footer-col__title a {
	color: inherit;
	text-decoration: none;
}

.lcc-footer-col__title a:hover,
.lcc-footer-col__title a:focus-visible {
	color: var(--lcc-pink-deep);
}

.lcc-footer-col__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.lcc-footer-col__list--two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: clamp(16px, 3vw, 40px);
}

.lcc-footer-col__list a {
	font-family: var(--lcc-font-body);
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--lcc-body);
	text-decoration: none;
}

.lcc-footer-col__list a:hover,
.lcc-footer-col__list a:focus-visible {
	color: var(--lcc-pink-deep);
	text-decoration: underline;
}

.lcc-footer-col__list--pending li {
	font-family: var(--lcc-font-body);
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--lcc-muted);
}

.lcc-footer-col__note {
	margin: 14px 0 0;
	font-size: 13px;
	line-height: 1.65;
	color: var(--lcc-muted);
}

@media (max-width: 900px) {
	.lcc-footer-links__grid {
		grid-template-columns: 1fr;
	}
}

/* Blocksy's copyright bar sits in its own .ct-container, which carries no
   inline padding on desktop, so its text started 64px left of every other
   line on the page. Two classes to beat the parent's single-class rule, and
   the same wrap width and gutter the rest of the site uses. */
.ct-footer .ct-container {
	max-width: var(--lcc-wrap);
	padding-inline: var(--lcc-gutter);
}

/* ---------- birthstone band (under the hero) ----------

   Cream rather than blush: the hero above it and the About section below it are
   both blush, and three blush bands in a row lose the edges between sections.
   Cream is the brand's other light neutral and keeps the hero distinct. */
.lcc-birthstone-band {
	background: var(--lcc-cream);
	border-block: 1px solid var(--lcc-cream-deep);
}

.lcc-birthstone-band__inner {
	display: grid;
	/* Feature column capped, months take the remainder. The other way round
	   left the feature's short lines floating in a 700px column with a visible
	   hole between the two halves. */
	grid-template-columns: minmax(0, 34ch) minmax(0, 1fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

.lcc-birthstone-band__stones {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	margin-block: 6px 12px;
}

.lcc-birthstone-band__stone {
	display: inline-flex;
	align-items: baseline;
}

/* The band's stone names run at display size, so the 14px swatch that suits
   body copy reads as a speck next to them. */
.lcc-birthstone-band__stones .lcc-swatch {
	inline-size: 20px;
	block-size: 20px;
	margin-inline-end: 12px;
	align-self: center;
}

.lcc-birthstone-band__meaning {
	font-family: var(--lcc-font-body);
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--lcc-body);
	margin-block: 0 26px;
}

.lcc-birthstone-band__cta {
	margin-block: 0;
}

/* Capped and pushed right rather than stretched across the whole column. Three
   equal fractions of 800px put 160px of dead space between each swatch and the
   next month's name, which read as a broken table. */
.lcc-birthstone-band__months ul {
	list-style: none;
	margin: 0;
	margin-inline-start: auto;
	padding: 0;
	max-inline-size: 34rem;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px 12px;
}

.lcc-birthstone-band__month a {
	display: flex;
	align-items: center;
	gap: 2px;
	font-family: var(--lcc-font-body);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--lcc-body);
	text-decoration: none;
	padding: 6px 8px;
	border: 1px solid transparent;
}

.lcc-birthstone-band__month a:hover,
.lcc-birthstone-band__month a:focus-visible {
	border-color: var(--lcc-gold);
	color: var(--lcc-pink-deep);
}

/* The current month is marked by weight, a gold rule and aria-current, not by
   colour alone. */
.lcc-birthstone-band__month.is-current a {
	border-color: var(--lcc-gold);
	background: var(--lcc-white);
	font-weight: 500;
}

@media (max-width: 900px) {
	.lcc-birthstone-band__inner {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.lcc-birthstone-band__months ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 480px) {
	/* Two columns, not one. Twelve full-width rows made this band 848px tall on
	   a 390px screen, a whole viewport spent on the month list. Two columns
	   halve it and "SEPTEMBER" still fits its cell at this size. */
	.lcc-birthstone-band__months ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* WCAG 2.2 AA needs 24px targets and these already cleared it, but Task 10
	   set 44px as this build's habit for anything thumb-operated. */
	.lcc-birthstone-band__month a {
		min-block-size: 44px;
	}
}

/* ---------- birthstone swatches ----------

   Representative colours for the twenty birthstones, as flat swatches rather
   than photographs. On a real jewelry store a generated gem image could
   reasonably be mistaken for stock, so these are deliberately graphic: a
   colour and a name, obviously a reference chart and not a product.

   Each is an --lcc-stone-* custom property. That prefix matters beyond
   tidiness: lcc-verify.sh flags hardcoded hex after the token block and skips
   any line naming an --lcc variable, so gem reference colours stay out of the
   brand palette without defeating the check. */
:root {
	--lcc-stone-garnet: #7b1f2b;
	--lcc-stone-amethyst: #9966cc;
	--lcc-stone-aquamarine: #a3dbdb;
	--lcc-stone-diamond: #eef3f5;
	--lcc-stone-emerald: #2e8b57;
	--lcc-stone-pearl: #f4ece0;
	--lcc-stone-alexandrite: #6f8f7f;
	--lcc-stone-moonstone: #dde6ee;
	--lcc-stone-ruby: #9b111e;
	--lcc-stone-peridot: #b5c334;
	--lcc-stone-spinel: #c9375b;
	--lcc-stone-sardonyx: #8b4a3a;
	--lcc-stone-sapphire: #0f52ba;
	--lcc-stone-opal: #ded3cb;
	--lcc-stone-tourmaline: #e07a9c;
	--lcc-stone-topaz: #e8a93a;
	--lcc-stone-citrine: #e4a010;
	--lcc-stone-turquoise: #40b5b8;
	--lcc-stone-tanzanite: #4b3d8f;
	--lcc-stone-zircon: #4fa3c7;
}

.lcc-swatch {
	display: inline-block;
	inline-size: 14px;
	block-size: 14px;
	border-radius: 50%;
	/* Diamond, pearl, moonstone and opal are near-white. Without the hairline
	   they vanish on the page background rather than reading as a swatch. */
	border: 1px solid rgba(58, 30, 42, 0.28);
	margin-inline-end: 8px;
	vertical-align: baseline;
}

.lcc-swatch + span,
.lcc-stone__names .lcc-swatch:not(:first-child) {
	margin-inline-start: 14px;
}

.lcc-swatch--garnet { background: var(--lcc-stone-garnet); }
.lcc-swatch--amethyst { background: var(--lcc-stone-amethyst); }
.lcc-swatch--aquamarine { background: var(--lcc-stone-aquamarine); }
.lcc-swatch--diamond { background: var(--lcc-stone-diamond); }
.lcc-swatch--emerald { background: var(--lcc-stone-emerald); }
.lcc-swatch--pearl { background: var(--lcc-stone-pearl); }
.lcc-swatch--alexandrite { background: var(--lcc-stone-alexandrite); }
.lcc-swatch--moonstone { background: var(--lcc-stone-moonstone); }
.lcc-swatch--ruby { background: var(--lcc-stone-ruby); }
.lcc-swatch--peridot { background: var(--lcc-stone-peridot); }
.lcc-swatch--spinel { background: var(--lcc-stone-spinel); }
.lcc-swatch--sardonyx { background: var(--lcc-stone-sardonyx); }
.lcc-swatch--sapphire { background: var(--lcc-stone-sapphire); }
.lcc-swatch--opal { background: var(--lcc-stone-opal); }
.lcc-swatch--tourmaline { background: var(--lcc-stone-tourmaline); }
.lcc-swatch--topaz { background: var(--lcc-stone-topaz); }
.lcc-swatch--citrine { background: var(--lcc-stone-citrine); }
.lcc-swatch--turquoise { background: var(--lcc-stone-turquoise); }
.lcc-swatch--tanzanite { background: var(--lcc-stone-tanzanite); }
.lcc-swatch--zircon { background: var(--lcc-stone-zircon); }

.page .entry-content .lcc-stones {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(20px, 3vw, 36px);
	margin-block: 36px;
}

.page .entry-content .lcc-stone {
	padding: clamp(20px, 2.4vw, 28px);
	background: var(--lcc-white);
	border: 1px solid var(--lcc-cream-deep);
}

.page .entry-content .lcc-stone h3 {
	font-family: var(--lcc-font-display);
	margin-block: 0 10px;
}

.page .entry-content .lcc-stone__names {
	font-family: var(--lcc-font-body);
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--lcc-ink);
	margin-block: 0 14px;
}

.page .entry-content .lcc-stone p:last-child {
	margin-block-end: 0;
}

@media (max-width: 900px) {
	.page .entry-content .lcc-stones {
		grid-template-columns: 1fr;
	}
}

/* ---------- hero (blush) ---------- */
.lcc-hero {
	background: var(--lcc-blush);
	color: var(--lcc-body);
}

.lcc-hero__inner {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: clamp(32px, 6vw, 80px);
	align-items: center;
	padding-block: var(--lcc-section-y);
}

.lcc-hero__title {
	font-size: clamp(48px, 8vw, 96px);
	margin: 0 0 22px;
	color: var(--lcc-ink);
}

.lcc-hero__lede {
	font-size: 16px;
	line-height: 1.7;
	max-width: 44ch;
	color: rgba(42, 34, 38, 0.78);
	margin: 0 0 34px;
}

.lcc-hero__media {
	position: relative;
}

.lcc-hero__emblem {
	display: block;
	width: 100%;
	height: auto;
	max-width: 460px;
	margin-inline: auto;
}

/* ---------- featured collections ---------- */
.lcc-collections__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(16px, 2.4vw, 32px);
}

.lcc-collection-card {
	text-align: center;
}

.lcc-collection-card > a {
	display: block;
	text-decoration: none;
	color: inherit;
}

.lcc-collection-card__img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: block;
}

.lcc-collection-card__name {
	font-family: var(--lcc-font-display);
	font-size: 26px;
	margin: 18px 0 12px;
	color: var(--lcc-ink);
}

/* ---------- homepage about and contact ---------- */
.lcc-about__inner {
	max-width: 720px;
	margin-inline: auto;
	text-align: center;
}

/* About teaser with a photograph.

   Two columns only when the About page has a featured image; the centred
   single-column rule above stays the no-image default, so an install without
   one renders exactly as it did before. The title override needs two classes
   to beat .lcc-section__title--center's own text-align. */
.lcc-about--has-media .lcc-about__inner {
	max-width: var(--lcc-wrap);
	display: grid;
	/* The picture column is capped rather than an equal half. At 1fr 1fr on a
	   wide screen the square grew past 540px, towered over four lines of text
	   and left a bank of dead blush under them. Text takes the flexible share. */
	grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
	text-align: left;
}

.lcc-about--has-media .lcc-section__title--center {
	text-align: left;
}

/* A white mat with a gold hairline, so the photograph is inset from the frame
   rather than bleeding to the container edge. The frame's outer edge keeps the
   grid alignment; the mat padding is what puts air between the picture and the
   margin. White rather than cream because the section behind it is blush and a
   warm mat muddies the pink stones. */
.lcc-about__media {
	margin: 0;
	padding: clamp(12px, 1.6vw, 20px);
	background: var(--lcc-white);
	border: 1px solid var(--lcc-gold);
}

/* The client's photographs arrive in a mix of square and 3:4 portrait. Left at
   their natural ratio a portrait shot makes this teaser band 935px tall and it
   stops reading as a teaser, so the slot is a fixed square and the image covers
   it. Her jewelry sits centred in frame, which is what makes a centre crop safe
   here rather than lucky. */
.lcc-about__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: center;
}

@media (max-width: 900px) {
	.lcc-about--has-media .lcc-about__inner {
		grid-template-columns: 1fr;
		gap: 32px;
		max-width: 720px;
		text-align: center;
	}

	.lcc-about--has-media .lcc-section__title--center {
		text-align: center;
	}
}

.lcc-about__body {
	font-size: 17px;
	line-height: 1.85;
	color: rgba(42, 34, 38, 0.82);
	margin-top: 22px;
}

.lcc-about__cta,
.lcc-contact__cta {
	margin-top: 28px;
}

.lcc-contact__inner {
	max-width: 620px;
	margin-inline: auto;
	text-align: center;
}

/* ---------- header ----------
   Selectors confirmed against Blocksy 2.1.52 rendered markup, not assumed.
   The header background must stay pure white: the header lockup's own
   backdrop is white, so any tint would show as a visible box around it.
   ---------------------------------------------------------------------- */
.ct-header {
	background: var(--lcc-white);
	border-bottom: 1px solid var(--lcc-cream-deep);
}

/* The approved design is a logo-only lockup; the logo carries the name. */
.ct-header .site-title {
	display: none;
}

/* Blocksy's header middle row is 120px; keep the lockup inside it so the
   logo's own white backdrop never spills past the white header. */
.ct-header .site-logo-container img {
	height: 80px;
	width: auto;
	max-height: none;
}

/* Blocksy drops the header row to 70px below 1000px; shrink the lockup to
   match or its white backdrop spills below the header. */
@media (max-width: 999.98px) {

	.ct-header .site-logo-container img {
		height: 52px;
	}
}

.ct-header .ct-menu-link {
	font-family: var(--lcc-font-body);
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--lcc-body);
	text-decoration: none;
	transition: color 0.2s ease;
}

.ct-header .ct-menu-link:hover,
.ct-header .current-menu-item > .ct-menu-link {
	color: var(--lcc-pink-deep);
}

/* ---------- mobile offcanvas menu ----------
   Blocksy's offcanvas panel defaults to near-black with white links. The
   bright refresh retired the near-black scheme entirely, so the panel is
   repainted white with brand links. Blocksy scopes these rules as
   `[data-header*="type-1"] #offcanvas ...` in CSS that prints after this
   file, so the leading `html` buys the specificity to win outright rather
   than relying on source order.
   ---------------------------------------------------------------------- */
html [data-header] #offcanvas .ct-panel-inner {
	background-color: var(--lcc-white);
}

html [data-header] [data-id="mobile-menu"] {
	--theme-link-initial-color: var(--lcc-body);
	--theme-link-hover-color: var(--lcc-pink-deep);
	--theme-font-family: var(--lcc-font-body);
	--theme-font-size: 14px;
	--theme-letter-spacing: 0.2em;
	--theme-text-transform: uppercase;
}

html [data-header] #offcanvas .ct-toggle-close {
	--theme-icon-color: var(--lcc-ink);
}

/* ---------- footer ---------- */
.ct-footer {
	background: var(--lcc-blush);
	color: var(--lcc-body);
}

.ct-footer a {
	color: var(--lcc-body);
	text-decoration: none;
	transition: color 0.2s ease;
}

.ct-footer a:hover,
.ct-footer a:focus {
	color: var(--lcc-pink-deep);
}

.ct-footer .ct-footer-copyright {
	font-family: var(--lcc-font-body);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.ct-footer .lcc-footer__emblem {
	max-width: 120px;
	height: auto;
}

/* ---------- product archive (shop and category) ----------
   Selectors verified against Blocksy 2.1.52 in DevTools, not assumed. The
   parent renders vanilla `ul.products` / `li.product` / `.woocommerce-loop-
   product__title` / `span.price` / `span.onsale`, but wraps the media in
   `figure > a.ct-media-container`, appends `ul.entry-meta` for categories, and
   puts the add-to-cart button in `div.ct-woo-card-actions`.
   ---------------------------------------------------------------------- */
.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(28px, 3.4vw, 46px) clamp(16px, 2.2vw, 30px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	content: none;
}

.woocommerce ul.products li.product {
	width: 100%;
	margin: 0;
	padding: 0;
	float: none;
	text-align: left;
}

/* ---- card media ---- */
.woocommerce ul.products li.product > figure {
	position: relative;
	margin: 0;
}

.woocommerce ul.products li.product a.ct-media-container {
	display: block;
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 2px;
}

/*
 * Blocksy prints `style="aspect-ratio: 4/3"` inline on the thumbnail. Giving
 * the image a definite width and height makes both axes definite, so the
 * inline ratio is ignored without needing !important.
 */
.woocommerce ul.products li.product a.ct-media-container img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.woocommerce ul.products li.product a.ct-media-container:hover img {
	transform: scale(1.04);
}

/* ---- card text ---- */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--lcc-font-display);
	font-size: 21px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--lcc-ink);
	padding: 0;
	margin: 14px 0 8px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title a:hover {
	color: var(--lcc-pink-deep);
}

.woocommerce ul.products li.product .price {
	font-family: var(--lcc-font-body);
	font-size: 14px;
	letter-spacing: 0.04em;
	color: var(--lcc-body);
}

/*
 * Blocksy already flexes a discounted price so the current amount leads and the
 * struck original follows, matching the approved card; its `screen-reader-text`
 * spans carry the accessible wording and are positioned out of flow. Only the
 * gap and colours are set here — reordering would desync DOM and reading order.
 */
.woocommerce ul.products li.product .price .sale-price {
	gap: 10px;
}

.woocommerce ul.products li.product .price del {
	color: rgba(42, 34, 38, 0.72);
}

.woocommerce ul.products li.product .price ins {
	color: var(--lcc-pink-deep);
	text-decoration: none;
	font-weight: 500;
}

/* Blocksy's product-category meta, styled as the card's small accent label. */
.woocommerce ul.products li.product ul.entry-meta {
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

.woocommerce ul.products li.product ul.entry-meta li,
.woocommerce ul.products li.product ul.entry-meta a {
	font-family: var(--lcc-font-body);
	font-size: 10px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--lcc-pink-deep);
	text-decoration: none;
}

.woocommerce ul.products li.product ul.entry-meta a:hover {
	color: var(--lcc-pink);
}

/* ---- card badges ---- */
.woocommerce ul.products li.product span.onsale,
.woocommerce ul.products li.product .out-of-stock-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	font-family: var(--lcc-font-body);
	font-size: 10px;
	font-weight: 400;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	background: var(--lcc-pink-deep);
	color: var(--lcc-white);
	border-radius: 2px;
	padding: 5px 10px;
	margin: 0;
	min-height: 0;
	min-width: 0;
	line-height: 1.4;
}

/* Blocksy prints only one badge per card, preferring sold-out over sale. */
.woocommerce ul.products li.product .out-of-stock-badge {
	background: var(--lcc-ink);
}

/* ---- add to cart ---- */
.woocommerce ul.products li.product .ct-woo-card-actions {
	margin-top: 14px;
}

.woocommerce ul.products li.product .ct-woo-card-actions .button {
	display: inline-block;
	font-family: var(--lcc-font-body);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
	background: var(--lcc-pink-deep);
	border: 1px solid var(--lcc-pink-deep);
	color: var(--lcc-white);
	border-radius: 2px;
	padding: 11px 18px;
	transition: background 0.25s ease, border-color 0.25s ease;
}

.woocommerce ul.products li.product .ct-woo-card-actions .button:hover {
	background: var(--lcc-pink);
	border-color: var(--lcc-pink);
	color: var(--lcc-white);
}

.woocommerce ul.products li.product .ct-woo-card-actions .button:focus-visible {
	outline: 2px solid var(--lcc-pink-deep);
	outline-offset: 2px;
}

/* ---- products awaiting a real photo ----
   `lcc-no-image` is added in inc/woocommerce.php. Blocksy renders WooCommerce's
   grey placeholder inside its own media container, so the LCC tile is painted
   onto that container and the stock image is hidden rather than replaced.
   ---------------------------------------------------------------------- */
.woocommerce ul.products li.product.lcc-no-image a.ct-media-container {
	background:
		radial-gradient(120% 120% at 50% 30%, rgba(194, 27, 107, 0.08), transparent 60%),
		linear-gradient(160deg, var(--lcc-white) 0%, var(--lcc-blush) 100%);
	border: 1px solid rgba(199, 162, 78, 0.35);
}

.woocommerce ul.products li.product.lcc-no-image a.ct-media-container img {
	opacity: 0;
}

.woocommerce ul.products li.product.lcc-no-image a.ct-media-container::after {
	content: "LCC";
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-family: var(--lcc-font-display);
	font-size: clamp(28px, 4vw, 48px);
	letter-spacing: 0.12em;
	color: rgba(163, 21, 92, 0.72);
}

/* ---- listing bar: result count and sorting ---- */
.woocommerce .woo-listing-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--lcc-cream-deep);
	margin-bottom: 26px;
}

.woocommerce .woocommerce-result-count {
	font-family: var(--lcc-font-body);
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgba(42, 34, 38, 0.72);
	margin: 0;
}

.woocommerce .woocommerce-ordering select {
	font-family: var(--lcc-font-body);
	font-size: 13px;
	color: var(--lcc-body);
	background: var(--lcc-white);
	border: 1px solid var(--lcc-cream-deep);
	border-radius: 2px;
	padding: 9px 12px;
}

.woocommerce .woocommerce-ordering select:focus-visible {
	outline: 2px solid var(--lcc-pink-deep);
	outline-offset: 1px;
	border-color: var(--lcc-pink-deep);
}

/* ---- pagination ----
   Blocksy replaces WooCommerce's `nav.woocommerce-pagination ul li` with its
   own `nav.ct-pagination` and bare `.page-numbers` children.
   ---------------------------------------------------------------------- */
.ct-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: clamp(36px, 5vw, 60px);
}

.ct-pagination .page-numbers {
	font-family: var(--lcc-font-body);
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--lcc-body);
	border-radius: 2px;
	padding: 9px 14px;
	transition: background 0.2s ease, color 0.2s ease;
}

.ct-pagination .page-numbers.current {
	background: var(--lcc-pink-deep);
	color: var(--lcc-white);
}

.ct-pagination a.page-numbers:hover {
	background: var(--lcc-blush);
	color: var(--lcc-pink-deep);
}

.ct-pagination a.page-numbers:focus-visible {
	outline: 2px solid var(--lcc-pink-deep);
	outline-offset: 2px;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {

	.lcc-hero__inner {
		grid-template-columns: 1fr;
	}

	.lcc-hero__copy {
		text-align: center;
	}

	.lcc-hero__lede {
		margin-inline: auto;
	}

	.lcc-collections__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.woocommerce ul.products {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 540px) {

	/*
	 * The approved design keeps two product columns on phones rather than
	 * dropping to one, so the grid still reads as a jewelry case.
	 */
	.woocommerce ul.products {
		grid-template-columns: repeat(2, 1fr);
	}

	.woocommerce ul.products li.product .woocommerce-loop-product__title {
		font-size: 18px;
	}

	/*
	 * Blocksy lays the card actions out with flex, so the button is stretched
	 * with flex-grow rather than display:block to give a full-width tap target.
	 */
	.woocommerce ul.products li.product .ct-woo-card-actions .button {
		flex: 1;
		text-align: center;
		padding: 12px 8px;
		letter-spacing: 0.1em;
	}

	.woocommerce .woo-listing-top {
		flex-wrap: wrap;
	}
}

/* ==========================================================================
   Single product page
   ==========================================================================

   Selectors below were checked against the rendered page on Blocksy 2.1.52
   rather than taken from WooCommerce convention. Three things differ from the
   defaults and shape what is written here:

   - `div.product div.images` does not exist. Blocksy replaces the gallery with
     its own flexy slider and lays the two columns out on
     `.product-entry-wrapper`, so there is no images column to give a width to.
   - `.related.products` is a sibling `<section>` of `div.product`, not a
     descendant, so it has to be reached from `.woocommerce` instead.
   - No responsive block is needed. Blocksy already switches
     `.product-entry-wrapper` to `display: block` at its own breakpoint; the
     columns stack and the page does not scroll horizontally without help.
   ========================================================================== */

.woocommerce div.product {
	max-width: var(--lcc-wrap);
	margin-inline: auto;
	padding-inline: 24px;
}

.woocommerce div.product .woocommerce-product-gallery img {
	border-radius: 2px;
}

.woocommerce div.product .product_title {
	font-family: var(--lcc-font-display);
	font-size: clamp(1.9rem, 4vw, 2.9rem);
	font-weight: 400;
	color: var(--lcc-ink);
	margin: 0 0 14px;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	font-family: var(--lcc-font-body);
	font-size: 1.35rem;
	letter-spacing: 0.04em;
	color: var(--lcc-body);
}

/*
 * Scoped to `span.price` as well as `p.price`: on a variable product the live
 * price is re-rendered by WooCommerce into `.woocommerce-variation-price
 * span.price`, so a `p.price`-only rule leaves the sale price unstyled once a
 * variation is chosen.
 */
.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
	opacity: 0.6;
	margin-right: 8px;
}

.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
	color: var(--lcc-pink-deep);
	text-decoration: none;
	font-weight: 500;
}

/* ---- Variation selectors ---- */
.woocommerce div.product form.cart .variations th.label label {
	font-family: var(--lcc-font-body);
	font-size: 0.76rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--lcc-body);
}

.woocommerce div.product form.cart .variations select {
	font-family: var(--lcc-font-body);
	font-size: 0.85rem;
	color: var(--lcc-body);
	border: 1px solid var(--lcc-cream-deep);
	border-radius: 2px;
	padding: 10px 14px;
	background: var(--lcc-white);
}

/* ---- Quantity and add to cart ---- */
/*
 * No border-radius here on purpose. Blocksy sets `border-radius: ... !important`
 * on `div.quantity input[type="number"]`, so a 2px value in this rule would be
 * dead code — the field keeps the parent's 3px.
 */
.woocommerce div.product form.cart div.quantity input.qty {
	font-family: var(--lcc-font-body);
	border: 1px solid var(--lcc-cream-deep);
	padding: 12px 8px;
	color: var(--lcc-body);
}

.woocommerce div.product form.cart .button.single_add_to_cart_button {
	font-family: var(--lcc-font-body);
	font-size: 0.8rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	background: var(--lcc-pink-deep);
	color: var(--lcc-white);
	border-radius: 2px;
	padding: 15px 34px;
}

.woocommerce div.product form.cart .button.single_add_to_cart_button:hover {
	background: var(--lcc-ink);
	color: var(--lcc-white);
}

.woocommerce div.product form.cart .button.single_add_to_cart_button.disabled {
	background: var(--lcc-cream-deep);
	color: var(--lcc-body);
	opacity: 1;
}

/* ---- Tabs and description ----
   Blocksy renders type-1 tabs here and adds `.active` to the current tab with
   JavaScript, so `li.active` is correct even though it is absent from the
   server-rendered markup.

   `div.woocommerce-tabs` rather than `.woocommerce-tabs`: Blocksy's bundled
   woocommerce.min.css styles the active tab through
   `.woocommerce div.product div.woocommerce-tabs ul.tabs li.active a`, and a
   class-only selector here is one element short of that and silently loses.
   ---------------------------------------------------------------------- */
.woocommerce div.product div.woocommerce-tabs ul.tabs {
	padding: 0;
	margin-bottom: 28px;
}

.woocommerce div.product div.woocommerce-tabs ul.tabs::before {
	border-bottom-color: var(--lcc-cream-deep);
}

.woocommerce div.product div.woocommerce-tabs ul.tabs li {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 0 18px 0 0;
}

.woocommerce div.product div.woocommerce-tabs ul.tabs li::before,
.woocommerce div.product div.woocommerce-tabs ul.tabs li::after {
	content: none;
}

.woocommerce div.product div.woocommerce-tabs ul.tabs li a {
	font-family: var(--lcc-font-body);
	font-size: 0.78rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--lcc-body);
	padding: 10px 0;
}

.woocommerce div.product div.woocommerce-tabs ul.tabs li.active a {
	color: var(--lcc-pink-deep);
	border-bottom: 2px solid var(--lcc-gold);
}

.woocommerce div.product div.woocommerce-tabs .panel {
	line-height: 1.85;
	color: var(--lcc-body);
}

.woocommerce div.product div.woocommerce-tabs .panel h2 {
	font-family: var(--lcc-font-display);
	color: var(--lcc-ink);
}

.woocommerce div.product div.woocommerce-tabs .panel a {
	color: var(--lcc-pink-deep);
}

/* ---- Related and upsell products ----
   Reached from `.woocommerce` because these sections sit outside `div.product`.
   ---------------------------------------------------------------------- */
.woocommerce .related.products > h2,
.woocommerce .upsells.products > h2 {
	font-family: var(--lcc-font-display);
	font-size: 1.85rem;
	font-weight: 400;
	color: var(--lcc-ink);
	margin-bottom: 28px;
}

/* ==========================================================================
   Static pages (About, Contact)
   ========================================================================== */

.page .entry-content,
.single-post .entry-content {
	max-width: 760px;
	margin-inline: auto;
	line-height: 1.85;
	color: var(--lcc-body);
}

/*
 * Blocksy prints the page title as `h1.page-title` inside `header.entry-header`.
 * A page carries no `.entry-title`, so a rule written against that class matches
 * nothing at all.
 */
.page .entry-header .page-title {
	font-family: var(--lcc-font-display);
	font-weight: 400;
	color: var(--lcc-ink);
	text-align: center;
}

.page .entry-content .lcc-eyebrow {
	text-align: center;
}

.page .lcc-page__lead {
	font-family: var(--lcc-font-display);
	font-size: clamp(26px, 3.4vw, 38px);
	font-weight: 400;
	line-height: 1.3;
	color: var(--lcc-ink);
	text-align: center;
	margin: 0 0 42px;
}

.page .lcc-page__sign {
	margin-top: 38px;
	line-height: 1.9;
}

.page .lcc-page__sign-name {
	font-family: var(--lcc-font-display);
	font-size: 1.2rem;
	color: var(--lcc-ink);
}

.page .lcc-page__rule {
	width: 90px;
	margin: 46px auto;
	border: 0;
	border-top: 1px solid var(--lcc-gold);
}

.page .lcc-page__quote {
	font-family: var(--lcc-font-display);
	font-size: clamp(20px, 2.4vw, 27px);
	font-weight: 400;
	line-height: 1.45;
	color: var(--lcc-ink);
	text-align: center;
	margin: 0;
	padding: 0;
	border: 0;
}

.page .lcc-page__cta {
	text-align: center;
	margin-top: 46px;
}

/* ==========================================================================
   Long-form guide pages (Jewelry Guide)
   ==========================================================================
   The About and Contact pages are short and hand-composed, so they never
   needed heading rhythm, list spacing, or tables. The guides are 750-950 words
   each with real h2/h3 hierarchy and three of them carry data tables.

   Blocksy's reset applies `margin:0;padding:0;font:inherit` to every heading,
   list and table cell through one bare-element selector, so a guide page ships
   with headings at body size and tables with no cell padding until these rules
   restore them. Verified against the rendered /jewelry-guide/ring-size/ page,
   not assumed.

   `:not(.lcc-page__lead)` matters: `.page .entry-content h2` is (0,2,1) and
   would otherwise outweigh `.page .lcc-page__lead` at (0,2,0) and flatten the
   opening statement on every page that uses one, About included.
   ---------------------------------------------------------------------- */

.page .entry-content h2:not(.lcc-page__lead),
.single-post .entry-content h2 {
	font-family: var(--lcc-font-display);
	font-size: clamp(25px, 3vw, 33px);
	font-weight: 400;
	line-height: 1.25;
	color: var(--lcc-ink);
	margin: 52px 0 16px;
}

.page .entry-content h3,
.single-post .entry-content h3 {
	font-family: var(--lcc-font-display);
	font-size: clamp(20px, 2.2vw, 24px);
	font-weight: 500;
	line-height: 1.3;
	color: var(--lcc-ink);
	margin: 34px 0 10px;
}

.page .entry-content p,
.single-post .entry-content p {
	margin: 0 0 18px;
}

.page .entry-content ul,
.page .entry-content ol,
.single-post .entry-content ul,
.single-post .entry-content ol {
	margin: 0 0 22px;
	padding-left: 1.35em;
}

.page .entry-content ul,
.single-post .entry-content ul { list-style: disc; }
.page .entry-content ol,
.single-post .entry-content ol { list-style: decimal; }

.page .entry-content li,
.single-post .entry-content li {
	margin-bottom: 9px;
	padding-left: 0.2em;
}

.page .entry-content li::marker,
.single-post .entry-content li::marker {
	color: var(--lcc-gold);
}

.page .entry-content strong,
.single-post .entry-content strong {
	font-weight: 600;
	color: var(--lcc-ink);
}

/* Guide index: each card is an h3 wrapping the link, so the heading itself
   must not inherit the body link colour. */
.page .entry-content h3 a {
	color: var(--lcc-ink);
	text-decoration: none;
	border-bottom: 1px solid var(--lcc-gold-light);
}

.page .entry-content h3 a:hover,
.page .entry-content h3 a:focus-visible {
	color: var(--lcc-pink-deep);
	border-bottom-color: var(--lcc-pink-deep);
}

/* ---- data tables ----
   Blocksy already sets border-collapse, width and border colour from
   `--theme-table-border-color`, falling back to `--theme-border-color`, which
   this theme remaps to --lcc-cream-deep. So the border colour is inherited
   rather than restated; only the cell padding Blocksy zeroes, the header
   treatment, and the numeric alignment are set here.

   Contrast, composited (no semi-transparent layers in this block):
     ink   #3A1E2A on blush #FBEFF3 = 13.40:1  (header row)      AAA
     body  #2A2226 on white  #FFFFFF = 15.49:1 (odd body rows)   AAA
     body  #2A2226 on cream  #F6F1E8 = 13.77:1 (even body rows)  AAA
   ---------------------------------------------------------------------- */

.lcc-table-wrap {
	overflow-x: auto;
	margin: 0 0 26px;
	-webkit-overflow-scrolling: touch;
}

.page .entry-content .lcc-table-wrap table,
.single-post .entry-content .lcc-table-wrap table {
	font-family: var(--lcc-font-body);
	font-size: 0.94rem;
	line-height: 1.5;
	min-width: 30rem;
}

.page .entry-content .lcc-table-wrap th,
.page .entry-content .lcc-table-wrap td,
.single-post .entry-content .lcc-table-wrap th,
.single-post .entry-content .lcc-table-wrap td {
	padding: 11px 14px;
	text-align: left;
	vertical-align: top;
}

.page .entry-content .lcc-table-wrap thead th {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--lcc-ink);
	background: var(--lcc-blush);
	white-space: nowrap;
}

.page .entry-content .lcc-table-wrap tbody tr:nth-child(even) {
	background: var(--lcc-cream);
}

.page .entry-content .lcc-table-wrap tbody td {
	color: var(--lcc-body);
}

/* Ring sizes and hardness values read as columns of figures, so they are
   aligned on a common digit width rather than by glyph. */
.page .entry-content .lcc-table-wrap td + td {
	font-variant-numeric: tabular-nums;
}

@media (max-width: 480px) {
	.page .entry-content .lcc-table-wrap th,
	.page .entry-content .lcc-table-wrap td {
		padding: 9px 11px;
	}
}

/* ---- Fluent Forms ----
   Selector shapes confirmed against the rendered contact page: the plugin emits
   `.ff-el-input--label label`, `.ff-el-form-control`, and `.ff-btn-submit` as
   written. Unstyled it ships a 7px radius, a system font stack, and a blue
   submit button, none of which belong to this brand.
   ---------------------------------------------------------------------- */
.fluentform .ff-el-input--label label {
	font-family: var(--lcc-font-body);
	font-size: 0.76rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--lcc-body);
}

.fluentform .ff-el-form-control {
	font-family: var(--lcc-font-body);
	color: var(--lcc-body);
	border: 1px solid var(--lcc-cream-deep);
	border-radius: 2px;
	padding: 12px 14px;
	background: var(--lcc-white);
}

.fluentform .ff-el-form-control:focus {
	border-color: var(--lcc-gold);
	outline: 2px solid var(--lcc-gold-light);
	outline-offset: 1px;
}

/*
 * Fluent Forms declares `--fluentform-primary` on `:root` and then paints the
 * submit button from it through its own per-form inline CSS
 * (`form.fluent_form_N .ff-btn-submit:not(.ff_btn_no_style)`), which prints
 * after this stylesheet and outranks a plain `.fluentform .ff-btn-submit`.
 * Remapping the variable on the form wrapper is what actually recolours the
 * button; a nearer ancestor wins for custom properties regardless of the
 * specificity of the rule that consumes them.
 */
.fluentform {
	--fluentform-primary: var(--lcc-pink-deep);
	--fluentform-border-radius: 2px;

	/*
	 * `--fluentform-danger` colours the required asterisk and the validation
	 * messages. Its default #F56C6C sits at 2.90:1 on white and fails WCAG 2.2
	 * AA for text; deep pink is 7.45:1 and is already in the palette. Remapping
	 * the variable fixes every place the plugin uses that colour at once.
	 */
	--fluentform-danger: var(--lcc-pink-deep);
}

/*
 * Selector shape is deliberate. Blocksy styles this button through
 * `.fluentform .ff-el-group button.ff-btn` — three classes, specificity
 * (0,3,1) — and sets `text-transform: var(--theme-button-text-transform)`
 * from a variable it never defines. That declaration therefore wins the
 * cascade and then resolves to nothing, leaving the button unstyled, and no
 * amount of extra element qualifiers gets past it: class count is compared
 * before element count, so `html body .fluentform button.ff-btn-submit`
 * (0,2,3) still loses. Matching its group class and both button classes
 * gives (0,4,1), which wins outright without resorting to !important.
 */
.fluentform .ff-el-group button.ff-btn.ff-btn-submit {
	font-family: var(--lcc-font-body);
	font-size: 0.8rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	background: var(--lcc-pink-deep);
	color: var(--lcc-white);
	border: 0;
	border-radius: 2px;
	padding: 14px 32px;
}

.fluentform .ff-el-group button.ff-btn.ff-btn-submit:hover {
	background: var(--lcc-ink);
}

/* ---- WooCommerce block notice banners ----
   WooCommerce paints its error banner background at 70% alpha
   (`rgba(218, 0, 28, 0.7)`), which composites to #E54D60 over the page and
   drops the white notice text to 3.78:1 — below the 4.5:1 WCAG 2.2 AA needs at
   this size. Found on checkout via the "no payment methods available" notice.

   Painting it opaque in deep pink fixes the contrast (7.45:1) and keeps every
   error state on the site consistent: the contact form's validation messages
   were moved off the same kind of default red in Task 8. The palette carries
   no red, so introducing one here would mean inventing a brand colour.

   Cart and checkout get their full brand pass in Task 7; this rule is only the
   contrast fix.
   ---------------------------------------------------------------------- */
/*
 * `html body` and the variable remap are both needed. Blocksy's Customizer CSS
 * prints after this stylesheet and targets the same
 * `.wc-block-components-notice-banner.is-error` selector, so an equal-specificity
 * rule here loses on source order. It sets `--background-color`, which
 * woocommerce.min.css then consumes via `.is-error { background-color:
 * var(--background-color) }` — so the variable has to be remapped, not just the
 * property overridden.
 */
html body .wc-block-components-notice-banner.is-error {
	--background-color: var(--lcc-pink-deep);

	background-color: var(--lcc-pink-deep);
}

/* ---- Mobile menu tap target ----
   Blocksy renders the header trigger with no --toggle-button-size, so the
   button is auto-sized to its 18x18 icon and that icon is the whole clickable
   area. It clears WCAG 2.2 AA only on the spacing exception in 2.5.8 — nothing
   sits within 24px of it — but it is the primary navigation control on a phone
   and 18px is a poor thumb target. 13px of padding takes the clickable box to
   44x44 without changing the icon or the header's height.

   Both declarations are shaped around parent rules that would otherwise eat
   them, and neither can be written the obvious way:

   1. The padding has to come through --toggle-button-padding. main.min.css
      sets `padding: var(--toggle-button-padding, 0px) !important` on
      [class*="ct-toggle"], which beats any child padding declaration at any
      specificity.
   2. The negative margin cannot come through --toggle-button-margin-end, even
      though that is Blocksy's own idiom on .ct-panel-actions .ct-toggle-close.
      `#header [data-items] > *` (0,1,1,0) sets physical margins and outranks
      the `margin-inline` shorthand on [class*="ct-toggle"] (0,0,1,0) that reads
      the variable, so the variable resolves and is then discarded. Matching the
      parent's selector shape at (0,1,2,0) is what makes the declaration land.

   Without the margin the box grows leftward off a pinned right edge and shifts
   the icon 13px inboard, breaking the header's symmetry with the logo gutter.
   ---------------------------------------------------------------------- */
#header [data-items] > .ct-header-trigger {
	--toggle-button-padding: 13px;

	margin-inline-end: -13px;
}

/* ====================================================================
   Cart and checkout (block-based)
   --------------------------------------------------------------------
   WooCommerce's Cart and Checkout blocks, not the classic shortcodes.
   Every selector here was read off the rendered pages rather than taken
   from WooCommerce's documentation — the block class names are stable
   but numerous, and the plan's own note says to inspect first.

   Much of the brand already arrives for free: the Task 2 palette remap
   means buttons come through in deep pink, inputs already carry the
   cream-deep border, and the checkout step titles are already Cormorant.
   What is missing is the LCC *treatment* — uppercase labels with wide
   tracking, the 2px button radius, and a visible order-summary panel.
   These rules close that gap rather than restyling from scratch.

   Steps 1, 2 and 6 of this task (install the gateway, configure test
   keys, place a real test order) still wait on the client's gateway
   choice. Nothing below depends on it.
   ==================================================================== */

/* ---- primary actions ----
   Matches the single-product add-to-cart treatment exactly, so the
   button a shopper presses on the product page and the one they press to
   pay look like the same button. Scoped to the two primary actions: the
   coupon "Apply" and address "Edit" buttons are secondary and keep the
   parent's quieter styling. */
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
	font-family: var(--lcc-font-body);
	font-size: 0.8rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	background: var(--lcc-pink-deep);
	color: var(--lcc-white);
	border-radius: 2px;
	padding: 16px 34px;
}

.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover {
	background: var(--lcc-ink);
}

/* ---- section headings ----
   The checkout step titles already render in Cormorant via the Blocksy
   heading variables, but these two are emitted as spans and miss it, so
   the summary heading sat in Jost next to Cormorant step titles. */
.wc-block-components-checkout-order-summary__title-text,
.wc-block-cart .wc-block-cart__totals-title {
	font-family: var(--lcc-font-display);
	font-size: 1.4rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	text-transform: none;
	color: var(--lcc-ink);
}

/* ---- line items and summary rows ----
   `checkout.css` sets `font-family: inherit` on
   `.wc-block-checkout__sidebar .wc-block-components-product-name` at (0,2,0),
   which beats a single-class rule and drags the name back to body Jost. Both
   contexts are matched at the same shape, and lcc-theme.css prints later, so
   equal specificity is enough — no escalation needed. */
.wc-block-checkout__sidebar .wc-block-components-product-name,
.wc-block-cart .wc-block-components-product-name {
	font-family: var(--lcc-font-display);
	font-size: 1.05rem;
	color: var(--lcc-ink);
}

/* Column headers and totals labels are the small-caps label style used
   for eyebrows and meta across the rest of the site. */
.wc-block-cart-items__header,
.wc-block-components-totals-item__label {
	font-family: var(--lcc-font-body);
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--lcc-body);
}

/* The order total is the one number that matters on the page and was
   rendering at the same weight and size as shipping and tax.

   Blocksy's woocommerce-cart-checkout-blocks bundle forces `font-size:
   initial` here through
   `.wc-block-components-sidebar-layout .wc-block-components-totals-footer-item :is(...)`,
   which is (0,3,0). Colour and font-family landed from a two-class rule but
   size did not, which is the tell: when only *some* properties of a rule take
   effect, a higher-specificity rule is setting exactly those. Carrying the
   layout class puts these at the same (0,3,0), and lcc-theme.css prints later. */
.wc-block-components-sidebar-layout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
	font-size: 0.78rem;
	color: var(--lcc-ink);
}

.wc-block-components-sidebar-layout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-family: var(--lcc-font-display);
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--lcc-pink-deep);
}

/* ---- quantity stepper ----
   Same border and type as the product page's quantity field. */
.wc-block-components-quantity-selector {
	border: 1px solid var(--lcc-cream-deep);
	border-radius: 2px;
	background: var(--lcc-white);
}

.wc-block-components-quantity-selector__input,
.wc-block-components-quantity-selector__button {
	font-family: var(--lcc-font-body);
	color: var(--lcc-body);
}

.wc-block-components-quantity-selector__button:hover {
	color: var(--lcc-pink-deep);
}

/* ---- order summary panel ----
   `wc-block-components-sidebar` and `wc-block-*__sidebar` are two classes on
   the same element, not a parent and child — a descendant selector between
   them matches nothing at all.

   Blush is the section tint used by the hero, About and footer. Giving
   the summary the same tint separates it from the form without
   introducing a colour, and keeps gold and pink as accents rather than
   backgrounds. */
.wc-block-cart__sidebar,
.wc-block-checkout__sidebar {
	background: var(--lcc-blush);
	padding: 28px 24px;
	border-radius: 2px;
}

/* ---- remove link ----
   `cart.css` reaches this element through four classes and an element
   (`table.wc-block-cart-items ... .wc-block-cart-item__remove-link`, 0,4,1)
   and sets `color: inherit`. Matching that shape exactly is enough, since
   lcc-theme.css prints later; anything shorter loses silently.

   Reads as body copy by default, which makes a destructive action look
   like text. Pink marks it as an action without shouting. */
table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link {
	font-family: var(--lcc-font-body);
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--lcc-pink-deep);
}

/* ---- empty cart ----
   The plan's Step 4 says to style an `.lcc-btn` returning the shopper to the
   shop. The *block* empty cart has no such button: it renders a heading, a
   dotted separator, and a "New in store" product grid, and routes the shopper
   back through the grid instead. So there is no button to style, and adding
   one would be a content edit to the Cart page's block markup rather than CSS.
   Recorded in the revision log rather than worked around here.

   What the block does need is size. Its heading is an h2 that lands at 16px —
   smaller than the product titles beneath it — so the page reads as though
   something failed to load rather than as an intentional empty state. */
.wc-block-cart__empty-cart__title {
	font-family: var(--lcc-font-display);
	font-size: clamp(1.6rem, 4vw, 2.2rem);
	font-weight: 400;
	color: var(--lcc-ink);
	margin-bottom: 0.4em;
}

.wp-block-woocommerce-empty-cart-block .wp-block-heading:not(.wc-block-cart__empty-cart__title) {
	font-family: var(--lcc-font-display);
	font-size: clamp(1.2rem, 3vw, 1.6rem);
	font-weight: 400;
	color: var(--lcc-ink);
}

/* ==========================================================================
   No results, search results, and the account area
   ==========================================================================

   Three page types a shopper reaches that had no rules at all until now. Every
   selector below was read off the rendered pages on Blocksy 2.1.56, not taken
   from WooCommerce or WordPress convention.

   What the markup check found, and what it changed:

   - The 404 and the empty search are THE SAME COMPONENT. Both render
     `section.ct-no-results` wrapping a `.hero-section` with `h1.page-title`
     and `div.page-description`, then `div.entry-content` holding Blocksy's own
     live-results search form. So one rule set dresses both pages. The only
     structural difference is the element: the 404 uses `<section>` and the
     search uses `<div class="hero-section is-width-constrained">`, so these
     rules match on the class and never on the tag.

   - Blocksy hides the empty-search explanation on small screens. The
     description carries `ct-hidden-sm`, so a phone shows "Search Results for
     x" and a bare search box with no sentence explaining that nothing matched.
     That reads as a broken page. It is restored below.

   - Search results render products as blog posts. The card is
     `article.entry-card` carrying `type-product`, with `ul.entry-meta`
     holding `li.meta-author` and `li.meta-date`, an excerpt, and no price. A
     necklace therefore arrives with a byline and a publish date. The byline is
     removed for every result type (this is a single-voice store, not a
     publication) and the date only for products; posts keep theirs, because
     the client's blog is coming and a post's date is real information. The
     price is printed by `lcc_search_card_price()` in inc/woocommerce.php,
     because CSS cannot add content that is not in the markup.

   - Search result images arrive at `aspect-ratio: 4/3` while the shop grid
     crops square. The same product looked like two different products across
     two pages, so results are squared to match the grid.

   - The account area is two different pages. Signed out, Blocksy marks the
     wrapper `.ct-woo-unauthorized` and WooCommerce renders only
     `form.woocommerce-form-login` — there is no registration form, by
     decision: accounts are created at checkout. Signed in, the wrapper becomes
     `.ct-woo-account` and holds `nav.woocommerce-MyAccount-navigation` (which
     Blocksy also tags `ct-acount-nav`, its own spelling) beside
     `div.woocommerce-MyAccount-content`.

   Contrast, composited (no semi-transparent layers in this block):
     ink      #3A1E2A on white #FFFFFF = 15.01:1  AAA  headings
     ink      #3A1E2A on blush #FBEFF3 = 13.40:1  AAA  account nav panel
     body     #2A2226 on white #FFFFFF = 15.50:1  AAA  descriptions, excerpts
     muted    #6D666A on white #FFFFFF =  5.59:1  AA   result meta
     pinkdeep #A3155C on white #FFFFFF =  7.45:1  AAA  price, active nav link
     pinkdeep #A3155C on blush #FBEFF3 =  6.65:1  AA   active nav link on panel
     white    #FFFFFF on pinkdeep #A3155C = 7.45:1 AAA button label
   Gold is never used for text anywhere below: #C7A24E on white is 2.41:1 and
   fails AA outright. It appears only as borders and rules.
   ========================================================================== */

/* ---- 404 and empty search ---- */

.ct-no-results {
	max-width: 720px;
	margin-inline: auto;
	padding-block: var(--lcc-section-y);
	text-align: center;
}

.ct-no-results .page-title {
	font-family: var(--lcc-font-display);
	font-size: clamp(2rem, 5vw, 3.2rem);
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: 0.01em;
	color: var(--lcc-ink);
	margin-bottom: 0.5em;
}

.ct-no-results .page-description {
	font-family: var(--lcc-font-body);
	font-size: 1rem;
	line-height: 1.7;
	color: var(--lcc-body);
	margin-bottom: 2em;
}

/*
 * Blocksy's `ct-hidden-sm` drops the explanation below its small breakpoint,
 * which leaves a phone with a heading and a search box and no sentence saying
 * nothing was found. That reads as a page that failed to load.
 *
 * This is one of the few places `!important` is the correct answer rather than
 * an escalation. Blocksy hides it with `.ct-hidden-sm { display: none
 * !important }` inside `@media (max-width: 689.98px)` — a hard utility, not a
 * variable, so there is nothing to remap and no non-important rule can win at
 * any specificity. Read off the rendered page at a true 375px viewport: the
 * first version of this rule had no `!important` and the sentence stayed
 * hidden.
 *
 * Matched `!important` against `!important` is resolved by specificity, and
 * (0,3,0) here beats the utility's (0,1,0), so the outcome is deterministic
 * rather than a race. Scoped to Blocksy's own breakpoint so desktop keeps the
 * parent's `inline-block`, and set to `inline-block` for the same reason: the
 * element should behave identically either side of the breakpoint.
 */
@media (max-width: 689.98px) {
	.ct-no-results .page-description.ct-hidden-sm {
		display: inline-block !important;
	}
}

/* Blocksy's search form is full width inside the container; the no-results
   column is narrower than that, so it is capped and centred rather than
   restyled. The form itself already carries the theme's input treatment. */
.ct-no-results .ct-search-form {
	max-width: 460px;
	margin-inline: auto;
}

.lcc-no-results-actions {
	margin-top: 28px;
}

/* ---- search results ---- */

/*
 * Author is removed for every result type. The store speaks in one voice and
 * every page is by the store, so "by admin" is noise at best and, on a
 * product, actively confusing.
 */
.search-results .entry-card .entry-meta .meta-author {
	display: none;
}

/*
 * Date is removed for products only. A product's publish date is an accident
 * of when it was added to the catalog and tells a shopper nothing. A blog
 * post's date is real information, and the client's blog is coming, so posts
 * are deliberately left alone here.
 */
.search-results .entry-card.type-product .entry-meta .meta-date {
	display: none;
}

/* An empty `ul.entry-meta` still occupies its margin once both children are
   hidden, leaving a gap above the title that reads as a layout bug. */
.search-results .entry-card.type-product .entry-meta:not(:has(li:not(.meta-date):not(.meta-author))) {
	display: none;
}

.search-results .entry-card .entry-title {
	font-family: var(--lcc-font-display);
	font-size: 1.35rem;
	font-weight: 400;
	line-height: 1.25;
	color: var(--lcc-ink);
}

.search-results .entry-card .entry-title a {
	color: inherit;
	text-decoration: none;
}

.search-results .entry-card .entry-title a:hover {
	color: var(--lcc-pink-deep);
}

.search-results .entry-card .meta-categories a {
	font-family: var(--lcc-font-body);
	font-size: 0.7rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--lcc-muted);
	text-decoration: none;
}

.search-results .entry-card .entry-excerpt {
	font-family: var(--lcc-font-body);
	font-size: 0.92rem;
	line-height: 1.65;
	color: var(--lcc-body);
}

/*
 * Squared to match the shop grid, which crops `woocommerce_thumbnail` to 1:1.
 * Without this the same necklace is 4:3 in search and square on the shop page,
 * and reads as two different photographs.
 *
 * `!important` on the ratio only, and it is not an escalation: Blocksy writes
 * `style="aspect-ratio: 4/3;"` directly on the `img` element, and an inline
 * declaration outranks every selector in every stylesheet. A stylesheet
 * `!important` is the only thing that beats a non-important inline style, so
 * there is no lower-force option available. Confirmed by reading the element's
 * style attribute in the browser rather than inferring it — `object-fit` and
 * `width` on the same rule won without help, which is how it was clear the
 * ratio alone was being lost to something on the element itself.
 *
 * Deliberately scoped to `.type-product`. The client's blog is coming and 4:3
 * suits an article card, so posts keep the parent's ratio.
 */
.search-results .entry-card.type-product .ct-media-container img {
	aspect-ratio: 1 / 1 !important;
	object-fit: cover;
	width: 100%;
}

/* Printed by lcc_search_card_price(); matches the archive card's price. */
.lcc-search-price {
	font-family: var(--lcc-font-body);
	font-size: 1rem;
	letter-spacing: 0.04em;
	color: var(--lcc-pink-deep);
	margin-top: 8px;
}

.lcc-search-price del {
	color: var(--lcc-muted);
	margin-right: 8px;
}

.lcc-search-price ins {
	text-decoration: none;
}

/* ---- account: signed out ---- */

/*
 * The login form is the first authenticated surface a customer meets, and the
 * site already has a form treatment from Task 8. Rather than invent a second
 * one, the input, label and button shapes here are the Fluent Forms contact
 * treatment restated against WooCommerce's class names, so the two forms read
 * as the same design.
 */
.woocommerce.ct-woo-unauthorized {
	max-width: 460px;
	margin-inline: auto;
	padding-block: var(--lcc-section-y);
}

.woocommerce.ct-woo-unauthorized .woocommerce-form-login {
	border: 1px solid var(--lcc-cream-deep);
	border-radius: 2px;
	padding: clamp(24px, 5vw, 40px);
	background: var(--lcc-white);
}

.woocommerce .woocommerce-form-row label {
	display: block;
	font-family: var(--lcc-font-body);
	font-size: 0.76rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--lcc-body);
	margin-bottom: 6px;
}

.woocommerce .woocommerce-Input--text,
.woocommerce input[type='password'].woocommerce-Input {
	font-family: var(--lcc-font-body);
	color: var(--lcc-body);
	border: 1px solid var(--lcc-cream-deep);
	border-radius: 2px;
	padding: 12px 14px;
	background: var(--lcc-white);
	width: 100%;
}

.woocommerce .woocommerce-Input--text:focus,
.woocommerce input[type='password'].woocommerce-Input:focus {
	border-color: var(--lcc-gold);
	outline: 2px solid var(--lcc-gold-light);
	outline-offset: 1px;
}

/*
 * Matches the cart and checkout primary actions exactly, so the button that
 * signs a customer in looks like the button that takes their money.
 */
.woocommerce button.button.woocommerce-form-login__submit {
	font-family: var(--lcc-font-body);
	font-size: 0.8rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	background: var(--lcc-pink-deep);
	color: var(--lcc-white);
	border: 0;
	border-radius: 2px;
	padding: 14px 32px;
}

.woocommerce button.button.woocommerce-form-login__submit:hover {
	background: var(--lcc-ink);
}

.woocommerce .woocommerce-LostPassword a {
	font-family: var(--lcc-font-body);
	font-size: 0.85rem;
	color: var(--lcc-pink-deep);
}

/* ---- account: signed in ---- */

/*
 * Selector shape is deliberate, and the bare `.woocommerce-MyAccount-navigation
 * ul` this started as did not work. The culprit is THIS stylesheet, not the
 * parent: the long-form rule `.page .entry-content ul { list-style: disc }`
 * written for the Jewelry Guide is (0,2,1), and the account page is also a
 * `.page` with an `.entry-content`, so guide bullets leaked onto the account
 * nav and beat a one-class descendant selector at (0,1,1).
 *
 * Worth stating plainly because the first diagnosis was wrong and cost time:
 * no `disc` declaration exists anywhere in Blocksy's bundles, which made this
 * look like a browser default and therefore like the rule failing to load.
 * Matching the same `.entry-content` shape gives (0,2,1) and wins on source
 * order within one file. The bare selector is kept alongside it for any context
 * where the nav renders outside `.entry-content`.
 */
.entry-content .woocommerce-MyAccount-navigation ul,
.woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.woocommerce-MyAccount-navigation-link a {
	display: block;
	font-family: var(--lcc-font-body);
	font-size: 0.78rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--lcc-body);
	text-decoration: none;
	padding: 12px 14px;
	border-bottom: 1px solid var(--lcc-cream-deep);
}

.woocommerce-MyAccount-navigation-link a:hover {
	background: var(--lcc-blush);
	color: var(--lcc-ink);
}

/*
 * The active item deliberately sets no colour. Blocksy already paints it white
 * on #A3155C — deep pink arrives from the Task 2 palette remap, so the parent's
 * own rule is already on brand at 7.45:1, AAA. The `color: var(--lcc-pink-deep)`
 * this rule started with lost that contest and was dead code, and it was
 * dangerous dead code: had it ever won, it would have put deep pink text on a
 * deep pink background and made the active item unreadable. Confirmed by
 * reading the computed colour in the browser, not the variable.
 *
 * What is added is a second, non-colour signal. The gold rule and the heavier
 * weight mean the active item is still identifiable without colour perception.
 */
.woocommerce-MyAccount-navigation-link.is-active a {
	font-weight: 500;
	border-left: 2px solid var(--lcc-gold);
}

.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
	font-family: var(--lcc-font-display);
	font-weight: 400;
	color: var(--lcc-ink);
}

.woocommerce-MyAccount-content p,
.woocommerce-MyAccount-content address {
	font-family: var(--lcc-font-body);
	line-height: 1.7;
	color: var(--lcc-body);
	font-style: normal;
}

/*
 * Order and download tables. Blocksy zeroes cell padding through a bare-element
 * reset, the same reset the Jewelry Guide tables had to undo, so padding is
 * restored here rather than inherited.
 */
.woocommerce table.woocommerce-orders-table,
.woocommerce table.woocommerce-table--order-details,
.woocommerce table.shop_table {
	width: 100%;
}

.woocommerce table.woocommerce-orders-table th,
.woocommerce table.woocommerce-table--order-details th,
.woocommerce table.shop_table th {
	font-family: var(--lcc-font-body);
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-align: left;
	color: var(--lcc-ink);
	background: var(--lcc-blush);
	padding: 12px 14px;
}

.woocommerce table.woocommerce-orders-table td,
.woocommerce table.woocommerce-table--order-details td,
.woocommerce table.shop_table td {
	font-family: var(--lcc-font-body);
	color: var(--lcc-body);
	padding: 12px 14px;
	border-bottom: 1px solid var(--lcc-cream-deep);
}

.woocommerce .woocommerce-MyAccount-content .button {
	font-family: var(--lcc-font-body);
	font-size: 0.76rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	background: var(--lcc-pink-deep);
	color: var(--lcc-white);
	border: 0;
	border-radius: 2px;
	padding: 10px 20px;
}

.woocommerce .woocommerce-MyAccount-content .button:hover {
	background: var(--lcc-ink);
}

/* ---- responsive ---- */

@media (max-width: 768px) {
	/* The account nav sits beside the content on desktop; stacked on a phone it
	   needs to read as a list rather than a sidebar that lost its column. */
	.woocommerce-MyAccount-navigation {
		margin-bottom: 28px;
	}

	/* Order tables carry five columns and cannot shrink to a phone. Scrolling
	   the table rather than the page keeps the rest of the layout intact. */
	.woocommerce table.woocommerce-orders-table,
	.woocommerce table.woocommerce-table--order-details {
		display: block;
		overflow-x: auto;
	}
}

/* ==========================================================================
   Blog
   ==========================================================================

   Added 2026-09-10. Placement in both the header menu and the footer Explore
   column is Sheri's call; the client writes and manages the posts.

   Markup verified on the rendered pages rather than assumed:

   - The archive is `body.blog` with the SAME `article.entry-card` component
     that search results use, so the card work already done carries over and
     only the shared selectors needed widening. Posts carry `ul.entry-meta`
     with `li.meta-categories` and `li.meta-date` and, unlike search results,
     no `li.meta-author` at all — so there is no byline to remove here.
   - The single post is `body.single-post` with `.hero-section` >
     `.entry-header` > `h1.page-title` and `ul.entry-meta`, then
     `.entry-content`.

   The important discovery: every long-form typography rule in this file is
   scoped to `.page`, because until now the only long-form content on the site
   was the Jewelry Guide. A post is `.single-post`, not `.page`, so the seeded
   post arrived with Blocksy's reset intact — headings at body size and no
   paragraph rhythm. Those rules are now shared by both rather than duplicated
   here, so guide and post typography cannot drift apart.

   Dates are kept on posts and hidden on products in search, which is the same
   decision read from both ends: a post's date is real information about how
   current the writing is, and a product's is an accident of cataloguing.

   Contrast, composited (no semi-transparent layers in this block):
     ink   #3A1E2A on white #FFFFFF = 15.01:1  AAA  post and card titles
     body  #2A2226 on white #FFFFFF = 15.50:1  AAA  body copy
     muted #6D666A on white #FFFFFF =  5.59:1  AA   date and category meta
   ========================================================================== */

.blog .entry-card .entry-title {
	font-family: var(--lcc-font-display);
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1.25;
	color: var(--lcc-ink);
}

.blog .entry-card .entry-title a {
	color: inherit;
	text-decoration: none;
}

.blog .entry-card .entry-title a:hover {
	color: var(--lcc-pink-deep);
}

.blog .entry-card .entry-meta,
.single-post .entry-header .entry-meta {
	font-family: var(--lcc-font-body);
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--lcc-muted);
}

.blog .entry-card .entry-meta a,
.single-post .entry-header .entry-meta a {
	color: var(--lcc-muted);
	text-decoration: none;
}

.blog .entry-card .entry-meta a:hover,
.single-post .entry-header .entry-meta a:hover {
	color: var(--lcc-pink-deep);
}

.blog .entry-card .entry-excerpt {
	font-family: var(--lcc-font-body);
	font-size: 0.95rem;
	line-height: 1.7;
	color: var(--lcc-body);
}

/* ---- single post ---- */

.single-post .entry-header .page-title {
	font-family: var(--lcc-font-display);
	font-size: clamp(2rem, 4.5vw, 3rem);
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: 0.01em;
	color: var(--lcc-ink);
}

/*
 * Body links inside a post. The guide pages hand-style their links, but a post
 * is written by the client in the editor, so ordinary links have to look right
 * with no classes applied. Underlined rather than colour-only, so the link is
 * identifiable without colour perception.
 */
.single-post .entry-content a {
	color: var(--lcc-pink-deep);
	text-decoration: underline;
	text-underline-offset: 2px;
	text-decoration-thickness: 1px;
}

.single-post .entry-content a:hover {
	color: var(--lcc-ink);
}

/*
 * Comments. Blocksy renders a full comment form on posts, and WordPress ships
 * comments open. The setup script closes them, so this block only dresses what
 * remains if they are ever reopened — it is deliberately minimal rather than a
 * full comment design for a feature that is currently off.
 */
.single-post .comment-reply-title {
	font-family: var(--lcc-font-display);
	font-size: 1.5rem;
	font-weight: 400;
	color: var(--lcc-ink);
}

/* ==========================================================================
   Motion
   ==========================================================================

   Added 2026-09-10. The homepage had hover transitions but nothing on arrival,
   so the page simply appeared. This gives it an entrance and lets the sections
   below settle in as they are reached.

   Three constraints shaped every choice here, and they are the reason this is
   short rather than elaborate:

   1. THE THEME SHIPS NO JAVASCRIPT, and that is worth keeping. Everything below
      is CSS. The scroll reveals use `animation-timeline: view()` rather than an
      IntersectionObserver, which means no script, no layout thrash, and nothing
      to run on the main thread.

   2. NO MOTION WITHOUT AN OFF SWITCH. The whole block sits inside
      `prefers-reduced-motion: no-preference`, so a visitor who has asked their
      system for less motion gets a completely static page — never a hidden
      element that fails to animate in. The reduce branch at the end also stills
      the hover transitions that already existed, which had no such handling.
      This is the same reasoning that chose the birthstone band over an
      auto-cycling carousel: motion that needs a pause control is motion this
      site should not have.

   3. RESTRAINT IS THE BRAND. Fades and small rises, one soft easing curve, and
      nothing that moves more than 18px or takes longer than 0.9s. Jewelry that
      announces itself reads cheap, and so does a jewelry site that does.

   Progressive enhancement is deliberate in both directions. The load-in sets
   `opacity: 0` only inside the no-preference query, so the starting state
   cannot strand content for a reduced-motion visitor. The scroll reveals sit
   behind `@supports (animation-timeline: view())` — Chrome and Edge run them,
   Safari and Firefox do not yet, and where they are unsupported the rules never
   apply at all and the content is simply, correctly, visible.
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {

	/* One curve for everything: a soft expo-out that decelerates late, which
	   reads as settling into place rather than sliding to a stop. */
	:root {
		--lcc-ease: cubic-bezier(0.16, 1, 0.3, 1);
	}

	@keyframes lcc-rise {
		from { opacity: 0; transform: translateY(18px); }
		to   { opacity: 1; transform: none; }
	}

	/* The emblem is the brand mark, so it gets the one distinct treatment: it
	   settles from very slightly small rather than from below. Scaling from
	   0.96 rather than something more dramatic keeps the logo from reading as
	   a zoom effect. */
	@keyframes lcc-settle {
		from { opacity: 0; transform: scale(0.96); }
		to   { opacity: 1; transform: none; }
	}

	/* ---- hero, on load ----
	   Staggered in reading order so the eye is led down the copy and arrives at
	   the button last. The emblem comes in with the title rather than after the
	   button, because holding the page's largest object back until the end
	   makes the hero feel like it is still loading. */
	.lcc-hero__copy .lcc-eyebrow,
	.lcc-hero__title,
	.lcc-hero__lede,
	.lcc-hero__copy .lcc-btn {
		animation: lcc-rise 0.9s var(--lcc-ease) both;
	}

	.lcc-hero__copy .lcc-eyebrow { animation-delay: 0.05s; }
	.lcc-hero__title             { animation-delay: 0.15s; }
	.lcc-hero__lede              { animation-delay: 0.25s; }
	.lcc-hero__copy .lcc-btn     { animation-delay: 0.35s; }

	.lcc-hero__emblem {
		animation: lcc-settle 1.1s var(--lcc-ease) both;
		animation-delay: 0.15s;
	}

	/* ---- sections, on scroll ----
	   Behind @supports because Safari and Firefox do not implement scroll-driven
	   animations yet. Where they are missing these rules never apply and every
	   section renders normally — the failure mode is "no animation", never
	   "invisible content". */
	@supports (animation-timeline: view()) {

		.lcc-birthstone-band__inner,
		.lcc-collections .lcc-section__head,
		.lcc-collection-card,
		.lcc-about__inner,
		.lcc-contact__inner {
			animation: lcc-rise linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 45%;
		}

		/* The four collection tiles enter the viewport on the same row and would
		   otherwise animate in perfect unison, which looks mechanical. Widening
		   each card's range in turn makes the later ones resolve slightly after
		   the earlier ones, producing a cascade from scroll position rather than
		   from a timed delay — `animation-delay` means nothing on a view()
		   timeline, which is the trap here. */
		.lcc-collection-card:nth-child(2) { animation-range: entry 0% entry 55%; }
		.lcc-collection-card:nth-child(3) { animation-range: entry 0% entry 65%; }
		.lcc-collection-card:nth-child(4) { animation-range: entry 0% entry 75%; }
	}
}

/*
 * The reduce branch. Everything above is already scoped away from these
 * visitors, so this exists for the transitions that predate this block —
 * button and link colour fades, and the 0.5s image zoom on product cards —
 * which had no reduced-motion handling at all. Near-zero rather than `none`
 * because some browsers skip transitionend handlers entirely when a duration
 * is exactly zero.
 */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
