/* Generated by scripts/build-theme-css.py. Edit the source stylesheets. */
/*
 * 9Yaards Design Tokens
 * The single source of truth for colour, type, spacing, radius, containers and
 * breakpoints. Every other stylesheet consumes these variables — never hard-code
 * a colour or size elsewhere.
 *
 * Direction: FAITHFUL to the existing 9Yaards Shopify store (Lirea theme).
 * Values are taken from the live site's own CSS, not reinterpreted:
 *   primary #c04814 · text #0b0b0b · white ground · Lato 14px body · Poppins 500
 *   headings · 11px nav/buttons · 1300px page width · overlay #0b0b0b @ 0.3.
 * Do NOT enlarge type or warm the ground into cream — the live site is compact
 * and white-based.
 */

:root {
	/* ---- Colour (from live site) ---- */
	--c-ink:        #0b0b0b; /* primary text — near-black (live --bs-body-color) */
	--c-ink-soft:   #4a4a4a; /* secondary text */
	--c-muted:      #767676; /* captions, meta */
	--c-line:       #ebebeb; /* hairline borders (live --bs-border-color) */
	--c-bg:         #ffffff; /* page ground — white */
	--c-surface:    #f8f7f4; /* very light neutral card ground (live --bs-color-border-card) */
	--c-surface-2:  #f1efea; /* deeper neutral surface */
	--c-primary:    #c04814; /* terracotta — live --color-foreground 192,72,20 */
	--c-primary-ink:#ffffff; /* text on primary */
	--c-primary-dk: #a23a10; /* hover */

	/* Section grounds (from live per-section --color-background) */
	--c-navy:       #122f4f; /* 18,47,79 — "Our Collection" / "Dusk to Night" panels */
	--c-maroon:     #5c2724; /* newsletter band (textured maroon on live) */
	--c-footer:     #131313; /* 19,19,19 — footer */
	--c-gold:       #e2982f; /* warm gold — section headings on dark grounds */
	--c-sale:       #c04814; /* sale price */
	--c-focus:      #0b0b0b; /* focus ring */
	--c-primary-soft:#f7ece6; /* terracotta tint — hover grounds, badges */
	--c-overlay:    rgba(11,11,11,0.30); /* image overlays (live --color-overlay 11,11,11 @ 0.3) */
	--c-overlay-dk: rgba(11,11,11,0.55);

	/* ---- Typography (compact, matching live) ---- */
	--font-head: "Poppins", ui-sans-serif, system-ui, sans-serif;
	--font-body: "Lato", ui-sans-serif, system-ui, -apple-system, sans-serif;
	--fw-head: 500;      /* live --bs-font-heading-weight */

	--fs-100: 0.6875rem; /* 11 — nav / buttons (live 11px) */
	--fs-200: 0.75rem;   /* 12 */
	--fs-300: 0.875rem;  /* 14 — base body (live --font-size-base 14px) */
	--fs-400: 1rem;      /* 16 */
	--fs-500: 1.25rem;   /* 20 */
	--fs-600: 1.5rem;    /* 24 */
	--fs-700: 1.875rem;  /* 30 */
	--fs-800: clamp(1.875rem, 3vw, 2.75rem); /* display — restrained, not oversized */

	--lh-tight: 1.2;
	--lh-snug:  1.35;
	--lh-body:  1.6;

	--tracking-caps: 0.08em; /* letter-spacing for eyebrow/nav labels */

	/* ---- Spacing scale (8pt-ish, generous) ---- */
	--sp-1: 0.25rem;
	--sp-2: 0.5rem;
	--sp-3: 0.75rem;
	--sp-4: 1rem;
	--sp-5: 1.5rem;
	--sp-6: 2rem;
	--sp-7: 3rem;
	--sp-8: 4rem;
	--sp-9: 6rem;
	--sp-10: 8rem;

	/* ---- Containers ---- */
	--container:      1300px; /* carried from the existing store */
	--container-wide: 1600px;
	--container-text: 720px;  /* editorial reading measure */
	--gutter:         clamp(1rem, 4vw, 2.5rem);

	/* ---- Radius / borders / shadow (restrained) ---- */
	--radius-sm: 2px;
	--radius:    4px;
	--radius-lg: 8px;
	--shadow:    0 1px 2px rgba(28,25,23,0.04), 0 8px 24px rgba(28,25,23,0.06);

	/* ---- Motion ---- */
	--ease: cubic-bezier(0.4, 0, 0.2, 1);
	--dur:  240ms;

	/* ---- Layout constants ---- */
	--header-h: 66px;
	--z-header: 100;
	--z-drawer: 200;
}

/* Breakpoints are documented here for reference (used as @media literals in CSS):
   sm 480px · md 768px · lg 1024px · xl 1300px
   Mobile-first: base styles target small screens; min-width queries scale up. */
/*
 * Base: reset-ish, element defaults, typography, accessibility primitives.
 * Consumes tokens.css.
 */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

/* Off-canvas panels (cart drawer, filter/nav sheets) sit translated off-screen; clip
   the page so they never create horizontal scroll. `clip` keeps position:sticky working. */
html, body { overflow-x: clip; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: var(--fs-300);
	line-height: var(--lh-body);
	color: var(--c-ink);
	background: var(--c-bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-head);
	font-weight: 500;
	line-height: var(--lh-tight);
	color: var(--c-ink);
	margin: 0 0 var(--sp-4);
	letter-spacing: -0.01em;
}
h1 { font-size: var(--fs-800); }
h2 { font-size: var(--fs-700); }
h3 { font-size: var(--fs-600); }
h4 { font-size: var(--fs-500); }

p { margin: 0 0 var(--sp-4); }

a { color: inherit; text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--c-primary); }

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

ul, ol { margin: 0; padding: 0; }

button { font: inherit; cursor: pointer; }

hr { border: 0; border-top: 1px solid var(--c-line); margin: var(--sp-7) 0; }

/* Editorial helpers */
.eyebrow {
	font-family: var(--font-head);
	font-size: var(--fs-100);
	text-transform: uppercase;
	letter-spacing: var(--tracking-caps);
	color: var(--c-muted);
	font-weight: 500;
}

.lede { font-size: var(--fs-400); color: var(--c-ink-soft); }

/* Long-form legal / policy pages (Privacy, Terms, Refund & Return).
   Scoped to `.legal` so the global bullet-strip (ul,ol { padding:0 }) and
   inherited link colour don't flatten legal copy. */
.legal { text-align: left; }
.legal h2 { font-size: var(--fs-600); margin-top: var(--sp-7); }
.legal h3 { font-size: var(--fs-400); margin-top: var(--sp-5); }
.legal > h2:first-child, .legal > h3:first-child { margin-top: 0; }
.legal ul, .legal ol { padding-left: var(--sp-6); margin: 0 0 var(--sp-4); }
.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal li + li { margin-top: var(--sp-2); }
.legal a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 2px; }
.legal table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 var(--sp-4);
	font-size: var(--fs-200);
}
.legal th, .legal td {
	border: 1px solid var(--c-line);
	padding: var(--sp-3);
	text-align: left;
	vertical-align: top;
}
.legal tr:first-child th, .legal thead th {
	background: var(--c-primary-soft);
	font-weight: 600;
}
@media (max-width: 640px) {
	.legal table, .legal thead, .legal tbody, .legal tr, .legal th, .legal td { display: block; }
	.legal tr { margin-bottom: var(--sp-3); }
	.legal td { border-top: 0; }
	.legal tr th:first-child { border-bottom: 0; }
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--sp-2);
	padding: var(--sp-3) var(--sp-6);
	font-family: var(--font-body);
	font-size: var(--fs-100);
	letter-spacing: var(--tracking-caps);
	text-transform: uppercase;
	border: 1px solid var(--c-ink);
	background: var(--c-ink);
	color: #fff;
	border-radius: var(--radius-sm);
	transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn:hover { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-primary-ink); }
.btn--primary { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-primary-ink); }
.btn--primary:hover { background: var(--c-primary-dk); border-color: var(--c-primary-dk); }
.btn--ghost { background: transparent; color: var(--c-ink); }
.btn--ghost:hover { background: var(--c-ink); color: #fff; }

/* Accessibility */
:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 2px; }

.screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	width: 1px; height: 1px;
	overflow: hidden;
	white-space: nowrap;
}
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--c-ink);
	color: #fff;
	padding: var(--sp-3) var(--sp-4);
	z-index: 1000;
}
.skip-link:focus { left: var(--sp-4); top: var(--sp-4); color: #fff; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* Native FAQ disclosures work with keyboard, touch, and JavaScript disabled. */
.faq-list details { border-bottom: 1px solid var(--c-line); }
.faq-list summary {
	padding-block: var(--sp-4);
	min-height: 44px;
	font-weight: 500;
	cursor: pointer;
}
.faq-list details > p { margin-bottom: var(--sp-4); }
.faq-list details[open] { padding-bottom: var(--sp-2); }
/*
 * Layout primitives: containers, sections, grid. Consumes tokens.css.
 */

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container--wide { max-width: var(--container-wide); }
.container--text { max-width: var(--container-text); }

/* Vertical rhythm between page sections — generous, editorial. */
.section { padding-block: var(--sp-8); }
.section--tight { padding-block: var(--sp-6); }
.section--hero { padding-block: 0; }

@media (min-width: 768px) {
	.section { padding-block: var(--sp-9); }
}

/* Responsive auto-grid used by product listings and feature blocks. */
.grid {
	display: grid;
	gap: var(--sp-5) var(--sp-4);
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 768px) {
	.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-6) var(--sp-5); }
}
@media (min-width: 1024px) {
	.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.stack > * + * { margin-top: var(--sp-4); }
.stack--lg > * + * { margin-top: var(--sp-6); }

.center { text-align: center; }
.measure { max-width: var(--container-text); margin-inline: auto; }
/*
 * 9Yaards components — the reusable visual vocabulary shared across every page.
 * Consumes tokens.css. Photography-led, minimal chrome, restrained borders/shadows.
 */

/* ---------------------------------------------------------------- Section heads */
.section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--sp-4);
	margin-bottom: var(--sp-6);
}
.section-head__titles { max-width: 60ch; }
.section-head h2 { margin: var(--sp-1) 0 0; }
.section-head__link {
	font-family: var(--font-head);
	font-size: var(--fs-100);
	letter-spacing: var(--tracking-caps);
	text-transform: uppercase;
	color: var(--c-ink);
	white-space: nowrap;
	border-bottom: 1px solid currentColor;
	padding-bottom: 2px;
}
.section-head--center { flex-direction: column; align-items: center; text-align: center; }

/* ---------------------------------------------------------------- Forms */
input[type="text"], input[type="email"], input[type="search"], input[type="password"],
input[type="tel"], input[type="number"], select, textarea {
	width: 100%;
	padding: var(--sp-3) var(--sp-4);
	font: inherit;
	color: var(--c-ink);
	background: var(--c-bg);
	border: 1px solid var(--c-line);
	border-radius: var(--radius-sm);
	transition: border-color var(--dur) var(--ease);
}
input:focus, select:focus, textarea:focus { border-color: var(--c-ink); outline: none; }
label { font-family: var(--font-head); font-size: var(--fs-200); }

/* ---------------------------------------------------------------- Badges */
.badge {
	display: inline-flex;
	align-items: center;
	font-family: var(--font-head);
	font-size: var(--fs-100);
	letter-spacing: var(--tracking-caps);
	text-transform: uppercase;
	padding: 3px var(--sp-2);
	border-radius: var(--radius-sm);
	line-height: 1.4;
}
.badge--sale { background: var(--c-ink); color: #fff; }
.badge--soft { background: var(--c-primary-soft); color: var(--c-primary-dk); }
.badge--out  { background: var(--c-surface-2); color: var(--c-ink-soft); }

/* ---------------------------------------------------------------- Product card
   ONE component, used on home / shop / archives / related / search. */
.product-card { position: relative; display: flex; flex-direction: column; }
.product-card__media {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--c-surface);
	aspect-ratio: 3 / 4;
}
.product-card__media img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 600ms var(--ease), opacity var(--dur) var(--ease);
}
.product-card__img--secondary {
	position: absolute; inset: 0;
	opacity: 0;
}
/* Subtle second-image reveal on hover (only when a second image exists). */
@media (hover: hover) {
	.product-card.is-hover-image-ready:hover .product-card__img--primary { opacity: 0; }
	.product-card.is-hover-image-ready:hover .product-card__img--secondary { opacity: 1; }
	.product-card:hover .product-card__media img { transform: scale(1.03); }
}
.product-card__badges { position: absolute; top: var(--sp-3); left: var(--sp-3); display: flex; gap: var(--sp-2); z-index: 2; }
.product-card__wish {
	position: absolute; top: var(--sp-2); right: var(--sp-2); z-index: 2;
	width: 38px; height: 38px; display: grid; place-items: center;
	background: color-mix(in srgb, var(--c-bg) 82%, transparent);
	border: 0; border-radius: 999px; color: var(--c-ink);
	opacity: 0; transform: translateY(-4px);
	transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), color var(--dur) var(--ease);
}
.product-card:hover .product-card__wish,
.product-card__wish:focus-visible,
.product-card__wish.is-active { opacity: 1; transform: none; }
.product-card__wish.is-active { color: var(--c-primary); }
.product-card__wish svg { width: 18px; height: 18px; }

/* flex:1 lets the body absorb any slack so the Add-to-Cart button pins to the card
   bottom (keeping its own top gap) when a card is taller than its neighbours. */
.product-card__body { padding: var(--sp-3) 0 0; text-align: center; flex: 1; }
.product-card__addcart {
	/* Sit above the title's stretched link so clicks reach the cart action. */
	position: relative; z-index: 2;
	display: block; margin-top: var(--sp-3);
	background: var(--c-ink); color: #fff; text-align: center;
	padding: var(--sp-3) var(--sp-4);
	font-family: var(--font-body); font-size: var(--fs-100);
	text-transform: uppercase; letter-spacing: var(--tracking-caps);
	transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.product-card__addcart:hover, .product-card__addcart.added { background: var(--c-primary); color: #fff; }
.product-card__addcart.loading { opacity: 0.6; }
.product-card__eyebrow {
	font-family: var(--font-head); font-size: var(--fs-100);
	letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--c-muted);
	margin-bottom: 2px;
	/* Reserve 2 lines so a single-line attribute row (e.g. TISSUE · LOOM) keeps the
	   price/CTA below it aligned with cards whose row wraps to two lines. */
	line-height: var(--lh-snug); min-height: calc(var(--lh-snug) * 2em);
}
.product-card__title {
	font-family: var(--font-body); font-size: var(--fs-300); font-weight: 400;
	line-height: var(--lh-snug); margin: 0 0 var(--sp-1); color: var(--c-ink);
	/* Reserve 2 lines so prices align across a row regardless of title length. */
	min-height: calc(var(--lh-snug) * 2em);
}
.product-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.product-card__price { font-size: var(--fs-200); color: var(--c-ink-soft); }
.product-card__price del { color: var(--c-muted); margin-right: var(--sp-2); }
.product-card__price ins { color: var(--c-sale); text-decoration: none; font-weight: 600; }

/* ---------------------------------------------------------------- Homepage (faithful to live) */
.home-section { padding-block: var(--sp-7); }
.home-section--navy { background: var(--c-navy); color: #fff; }
.home-section--terracotta { background: var(--c-primary); color: #fff; }
.home-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-4); margin-bottom: var(--sp-6); }
.home-section__head--center { flex-direction: column; align-items: center; text-align: center; }
.home-section__head h2 { font-size: var(--fs-600); margin: 0; color: var(--c-primary); letter-spacing: 0.01em; }
.home-section--navy .home-section__head h2 { color: var(--c-gold); }
.home-section--terracotta .home-section__head h2 { color: #fff; }
.home-section__head p { color: var(--c-ink-soft); margin: var(--sp-2) 0 0; font-size: var(--fs-400); }
.home-section--navy .home-section__head p, .home-section--terracotta .home-section__head p { color: rgba(255,255,255,0.85); }
.home-section__cta { text-align: center; margin-top: var(--sp-6); }

/* Product cards on dark grounds render as white boxes with centred meta (like live). */
.home-section--navy .product-card, .home-section--terracotta .product-card { background: #fff; border-radius: var(--radius); overflow: hidden; }
.home-section--navy .product-card__media, .home-section--terracotta .product-card__media { border-radius: 0; }
.home-section--navy .product-card__body, .home-section--terracotta .product-card__body { padding: var(--sp-3) var(--sp-3) var(--sp-4); text-align: center; }

/* Product carousel — mirrors the live sliders. CSS scroll-snap works without JS; the
   round prev/next arrows are a JS enhancement, shown only when the track overflows. */
.product-carousel { position: relative; }
.product-carousel__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: 78%;
	gap: var(--sp-4); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch; padding-bottom: var(--sp-2); scrollbar-width: none;
}
.product-carousel__track::-webkit-scrollbar { display: none; }
.product-carousel__cell { scroll-snap-align: start; min-width: 0; }
@media (min-width: 700px) { .product-carousel__track { grid-auto-columns: 42%; } }
@media (min-width: 1024px) { .product-carousel__track { grid-auto-columns: calc((100% - var(--sp-5) * 3) / 4); gap: var(--sp-5); } }
.product-carousel__arrow {
	position: absolute; top: 38%; transform: translateY(-50%); z-index: 3;
	width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--c-line);
	background: #fff; color: var(--c-ink); align-items: center; justify-content: center;
	cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,0.14); display: none;
}
.product-carousel__arrow svg { width: 20px; height: 20px; }
.product-carousel__arrow--prev { left: -18px; }
.product-carousel__arrow--next { right: -18px; }
.product-carousel__arrow:disabled { opacity: 0.3; cursor: default; }
@media (min-width: 1024px) { .product-carousel__arrow:not([hidden]) { display: inline-flex; } }

/* Scroll-reveal — sections fade + rise into view as on the live store. Gated on both
   JS (body.reveal-ready) and motion preference, so content is always visible without JS
   and never animates for reduced-motion users. */
@media (prefers-reduced-motion: no-preference) {
	.reveal-ready .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); will-change: opacity, transform; }
	.reveal-ready .reveal.is-revealed { opacity: 1; transform: none; }
}

/* All-collections index — 4-up grid of tiles (image + name), like the live /collections */
.collections-header { text-align: center; margin-bottom: var(--sp-7); }
.collections-header h1 { font-size: var(--fs-600); color: var(--c-ink); margin: 0; }
.collections-intro { max-width: 60ch; margin: var(--sp-3) auto 0; color: var(--c-ink-soft); }
.collections-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-6) var(--sp-4); }
@media (min-width: 700px) { .collections-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .collections-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-7) var(--sp-5); } }
.collection-tile { display: block; text-align: center; }
.collection-tile__media { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: #f2eee7; }
.collection-tile__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.collection-tile:hover .collection-tile__media img { transform: scale(1.04); }
.collection-tile__name { display: block; font-family: var(--font-head); font-weight: 500; font-size: var(--fs-300); letter-spacing: 0.01em; color: var(--c-ink); margin-top: var(--sp-3); }
.collection-tile:hover .collection-tile__name { color: var(--c-primary); }

/* Hero — portrait banner + text/paragraph/CTA + wide banner, on terracotta */
.home-hero { background: var(--c-primary); color: #fff; padding-block: var(--sp-4) var(--sp-6); }
.home-hero__grid { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .home-hero__grid { grid-template-columns: 5fr 6fr; } }
.home-hero__portrait { display: block; overflow: hidden; aspect-ratio: 4 / 5; }
.home-hero__portrait img { width: 100%; height: 100%; object-fit: cover; }
.home-hero__content { display: flex; flex-direction: column; gap: var(--sp-4); }
.home-hero__content h1 { color: #fff; font-size: clamp(1.75rem, 3.4vw, 2.75rem); margin: 0; }
.home-hero__content p { color: #fff; font-size: var(--fs-400); line-height: var(--lh-body); margin: 0; max-width: 50ch; }
.home-hero__wide { display: block; overflow: hidden; aspect-ratio: 3 / 2; margin-top: var(--sp-2); }
.home-hero__wide img { width: 100%; height: 100%; object-fit: cover; }
.btn--onprimary { align-self: flex-start; background: transparent; border-color: #fff; color: #fff; }
.btn--onprimary:hover { background: #fff; color: var(--c-primary); border-color: #fff; }

/* Promo banner — full-width image, left-aligned overlay (eyebrow + title + CTA) */
.promo-banner__link { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 6; background: var(--c-surface); }
.promo-banner__link img { width: 100%; height: 100%; object-fit: cover; }
.promo-banner__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: var(--sp-3); text-align: left; padding: 0 clamp(1.5rem, 6vw, 6rem); }
.promo-banner__overlay .eyebrow { color: rgba(255,255,255,0.85); }
.promo-banner__title { font-family: var(--font-head); font-weight: var(--fw-head); font-size: clamp(1.5rem, 3vw, 2.5rem); color: #fff; text-shadow: 0 1px 16px rgba(0,0,0,0.4); max-width: 18ch; }

/* Split banner — Dusk to Night (navy text panel + image) */
.split-banner { display: grid; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 900px) { .split-banner { grid-template-columns: 1fr 1.2fr; } }
.split-banner__body { display: flex; flex-direction: column; justify-content: center; gap: var(--sp-3); padding: var(--sp-8) var(--gutter); }
.split-banner--navy .split-banner__body { background: var(--c-navy); color: #fff; }
.split-banner--navy .split-banner__body h2 { color: var(--c-gold); font-size: var(--fs-700); margin: 0; }
.split-banner--navy .split-banner__body p { color: rgba(255,255,255,0.85); margin: 0 0 var(--sp-2); font-size: var(--fs-400); }
.split-banner--navy .split-banner__body .btn { align-self: flex-start; }
.split-banner__media { overflow: hidden; aspect-ratio: 3 / 2; background: var(--c-surface); }
.split-banner__media img { width: 100%; height: 100%; object-fit: cover; }

/* Testimonials — on terracotta ground, centred, gold stars */
.testimonials { display: grid; gap: var(--sp-6); grid-template-columns: 1fr; }
@media (min-width: 800px) { .testimonials { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.testimonial { margin: 0; text-align: center; color: #fff; }
.testimonial__stars { color: var(--c-gold); letter-spacing: 2px; margin-bottom: var(--sp-3); }
.testimonial blockquote { margin: 0 0 var(--sp-3); font-size: var(--fs-300); line-height: var(--lh-body); color: #fff; }
.testimonial figcaption { font-family: var(--font-head); font-weight: var(--fw-head); font-size: var(--fs-200); color: #fff; }

/* ---------------------------------------------------------------- Craft chips (shop by craft) */
.chip-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.chip {
	display: inline-flex; align-items: center;
	padding: var(--sp-2) var(--sp-4);
	border: 1px solid var(--c-line); border-radius: 999px;
	font-family: var(--font-head); font-size: var(--fs-200); color: var(--c-ink);
	transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.chip:hover, .chip[aria-current="true"] { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }

/* ---------------------------------------------------------------- Editorial split (craft story) */
.split { display: grid; gap: var(--sp-6); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: var(--sp-8); } .split--reverse .split__media { order: 2; } }
.split__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--c-surface); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------------- Journal cards */
.journal-grid { display: grid; gap: var(--sp-6) var(--sp-5); grid-template-columns: 1fr; }
@media (min-width: 700px) { .journal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.journal-card__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; background: var(--c-surface); margin-bottom: var(--sp-3); }
.journal-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.journal-card:hover .journal-card__media img { transform: scale(1.03); }
.journal-card__tag { font-size: var(--fs-100); text-transform: uppercase; letter-spacing: var(--tracking-caps); color: var(--c-muted); }
.journal-card h3 { font-size: var(--fs-400); margin: var(--sp-1) 0 var(--sp-2); }
.journal-card p { font-size: var(--fs-300); color: var(--c-ink-soft); margin: 0; }

/* ---------------------------------------------------------------- Newsletter band (maroon, full-width) */
.newsletter { background: var(--c-maroon); color: #fff; padding-block: var(--sp-8); }
.newsletter__inner { text-align: center; }
.newsletter h2 { color: #fff; text-transform: uppercase; letter-spacing: 0.06em; font-size: var(--fs-600); margin: 0 0 var(--sp-2); }
.newsletter p { color: rgba(255,255,255,0.82); margin: 0; }
.newsletter form { display: flex; gap: 0; max-width: 460px; margin: var(--sp-5) auto 0; }
.newsletter input[type="email"] { background: #fff; border: 0; border-radius: 0; color: var(--c-ink); }
.newsletter input::placeholder { color: var(--c-muted); }
.newsletter .btn { border-radius: 0; white-space: nowrap; }

/* Saved-item actions stay above the card's stretched product link. */
.wishlist-remove { position: relative; z-index: 2; min-height: 44px; margin-top: var(--sp-3); }
.wishlist-status { margin-block: var(--sp-4); }

/* Contact information remains available when email delivery is not configured. */
.contact-layout { display: grid; gap: var(--sp-7); margin-top: var(--sp-6); }
.contact-layout section { min-width: 0; }
.contact-layout h2 { font-size: var(--fs-500); }
.contact-layout address { font-style: normal; }
.contact-layout a { overflow-wrap: anywhere; text-decoration: underline; }
.contact-form label { display: block; margin-bottom: var(--sp-2); }
.contact-form input:not([type="hidden"]), .contact-form textarea { width: 100%; font-size: 1rem; }
.contact-form [role="status"]:empty { display: none; }
.contact-form button:disabled { opacity: .7; cursor: wait; }
@media (min-width: 800px) { .contact-layout:has(form) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); } }

/* WhatsApp remains a small, optional disclosure below shopping overlays. */
.whatsapp { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 90; color: #122f4b; font-family: var(--font-body, 'Lato', sans-serif); }
.whatsapp[inert] { visibility: hidden; }
.whatsapp__toggle, .whatsapp__link { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 18px; border-radius: 999px; background: #087d3e; color: #fff; font-size: 15px; font-weight: 700; line-height: 1.4; text-decoration: none; cursor: pointer; }
.whatsapp__toggle { list-style: none; box-shadow: 0 4px 16px rgb(0 0 0 / 15%); }
.whatsapp__toggle::-webkit-details-marker { display: none; }
.whatsapp__toggle:hover, .whatsapp__link:hover { background: #066333; color: #fff; }
.whatsapp svg { flex-shrink: 0; }
.whatsapp__panel { position: absolute; right: 0; bottom: calc(100% + 12px); width: min(340px, calc(100vw - 40px)); max-height: calc(100dvh - 112px - env(safe-area-inset-bottom)); overflow-y: auto; padding: 20px; border-radius: 16px; background: #fff; box-shadow: 0 8px 32px rgb(0 0 0 / 18%); }
.whatsapp__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.whatsapp__brand { color: #bd4710; font-size: 21px; font-weight: 700; }
.whatsapp__close { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #122f4b; cursor: pointer; }
.whatsapp__close[hidden] { display: none; }
.whatsapp__close:hover { background: #f3f0ec; }
.whatsapp__panel h2 { margin: 0 0 8px; color: #122f4b; font-size: 22px; line-height: 1.3; }
.whatsapp__panel p { margin: 0 0 20px; font-size: 15px; line-height: 1.5; color: #46586a; }
.whatsapp__panel .whatsapp__number { color: #122f4b; font-size: 18px; font-weight: 700; }
.whatsapp__panel .whatsapp__hint { margin: 10px 0 0; font-size: 12px; text-align: center; }
.whatsapp :focus-visible { outline: 3px solid #122f4b; outline-offset: 3px; }
@media (max-width: 479px) {
 .whatsapp { right: max(12px, env(safe-area-inset-right)); bottom: calc(12px + env(safe-area-inset-bottom)); }
 .whatsapp__panel { width: min(340px, calc(100vw - 24px)); }
}
@media print { .whatsapp { display: none; } }
/*
 * Site header — terracotta bar (like the live store): centred wordmark, search left,
 * account/wishlist/cart right, centred nav row beneath. White text on terracotta;
 * dropdowns are white panels. Below lg the nav is off-canvas.
 */

.site-header {
	position: sticky;
	top: 0;
	z-index: var(--z-header);
	background: var(--c-primary);
	color: #fff;
}

.site-header__bar {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: var(--sp-4);
	min-height: 58px;
	padding-block: var(--sp-2);
}

.site-header__left { display: flex; align-items: center; gap: var(--sp-2); justify-self: start; }

.site-brand { justify-self: center; display: inline-flex; align-items: center; color: #fff; }
.site-brand .custom-logo,
.site-brand img { max-height: 46px; width: auto; }
.site-brand.site-brand--text { font-family: var(--font-head); font-weight: var(--fw-head); font-size: var(--fs-500); letter-spacing: 0.04em; text-transform: lowercase; }

/* Utilities (icons) */
.header-actions { display: flex; align-items: center; gap: var(--sp-1); justify-self: end; }
.header-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: #fff; border-radius: 999px; }
.header-icon:hover { color: #fff; background: rgba(255,255,255,0.14); }
.header-icon svg { width: 19px; height: 19px; }
.cart-count, .wish-count {
	position: absolute; top: 3px; right: 3px;
	min-width: 15px; height: 15px; padding: 0 4px;
	display: inline-flex; align-items: center; justify-content: center;
	font-family: var(--font-head); font-size: 0.58rem; line-height: 1;
	color: var(--c-primary); background: #fff; border-radius: 999px;
}

/* Header search — expanding panel under the top bar (toggled by the magnifier). */
button.header-icon { border: 0; background: transparent; cursor: pointer; font: inherit; }
.header-search { border-top: 1px solid rgba(255,255,255,0.16); }
.header-search[hidden] { display: none; }
.header-search__form { display: flex; align-items: center; gap: var(--sp-2); padding-block: var(--sp-3); }
.header-search__input {
	flex: 1; min-width: 0; height: 44px; padding: 0 var(--sp-4);
	border: 0; border-radius: 999px; background: #fff; color: var(--c-ink);
	font-family: var(--font-body); font-size: var(--fs-300);
}
.header-search__input::placeholder { color: var(--c-ink-soft); }
.header-search__submit {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; flex: none; padding: 0;
	border: 0; border-radius: 999px; cursor: pointer;
	background: rgba(255,255,255,0.16); color: #fff;
}
.header-search__submit:hover { background: rgba(255,255,255,0.26); }
.header-search__submit svg { width: 19px; height: 19px; }

/* Primary nav — a centred second row on the terracotta bar. */
.primary-nav { border-top: 1px solid rgba(255,255,255,0.16); }
.primary-nav > ul { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: var(--sp-5); margin: 0; padding: var(--sp-2) 0; align-items: center; }
.primary-nav li { position: relative; list-style: none; }
.primary-nav a {
	font-family: var(--font-body);
	font-size: var(--fs-100);
	letter-spacing: var(--tracking-caps);
	text-transform: uppercase;
	color: #fff;
	padding-block: var(--sp-1);
	white-space: nowrap;
	display: inline-block;
}
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.primary-nav .menu-item-has-children > a::after {
	content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 6px;
	border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
	transform: translateY(-1px) rotate(45deg); opacity: 0.75;
}

/* Dropdown panels — white boxes with dark text. */
.primary-nav .sub-menu {
	list-style: none; margin: 0; padding: var(--sp-3) 0;
	position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px);
	min-width: 200px; background: #fff; border: 1px solid var(--c-line); box-shadow: var(--shadow);
	opacity: 0; visibility: hidden;
	transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
	z-index: var(--z-header);
}
.primary-nav .sub-menu li { position: static; }
.primary-nav .sub-menu a { display: block; padding: var(--sp-2) var(--sp-5); text-transform: none; letter-spacing: 0; font-size: var(--fs-300); color: var(--c-ink-soft); }
.primary-nav .sub-menu a:hover { color: var(--c-primary); background: var(--c-surface); }
.primary-nav .menu-item-has-children:hover > .sub-menu,
.primary-nav .menu-item-has-children:focus-within > .sub-menu {
	opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}

.primary-nav__close, .primary-nav > .primary-nav__utilities { display: none; }

/* Mobile toggle */
.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; width: 26px; height: 20px; padding: 0; border: 0; background: transparent; justify-content: center; }
.nav-toggle span { display: block; height: 1.5px; background: #fff; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-overlay { position: fixed; inset: 0; background: var(--c-overlay-dk); z-index: calc(var(--z-header) - 1); opacity: 0; transition: opacity var(--dur) var(--ease); }
body.nav-open .nav-overlay { opacity: 1; }

@media (max-width: 1023px) {
	.primary-nav {
		position: fixed; inset: 0 auto 0 0; visibility: hidden;
		width: min(84vw, 340px);
		background: var(--c-bg); color: var(--c-ink);
		border-right: 1px solid var(--c-line); border-top: 0;
		transform: translateX(-100%);
		transition: transform var(--dur) var(--ease);
		padding: var(--sp-6) var(--gutter); overflow-y: auto; z-index: var(--z-header);
	}
	.primary-nav > ul { flex-direction: column; gap: 0; align-items: stretch; justify-content: flex-start; padding: 0; }
	.primary-nav a { color: var(--c-ink); font-size: var(--fs-400); text-transform: none; letter-spacing: 0; padding-block: var(--sp-3); border-bottom: 1px solid var(--c-line); display: block; }
	.primary-nav .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none;
		border: 0; box-shadow: none; padding: 0 0 var(--sp-2) var(--sp-4); min-width: 0;
	}
	.primary-nav .sub-menu a { font-size: var(--fs-300); padding-block: var(--sp-2); border-bottom: 0; color: var(--c-ink-soft); }
	.primary-nav .menu-item-has-children > a::after { display: none; }
	body.nav-open .primary-nav { transform: translateX(0); visibility: visible; }
	.primary-nav .sub-menu { visibility: inherit; }
	.primary-nav__close { display: block; min-height: 44px; margin: 0 0 var(--sp-4) auto; padding: var(--sp-2) var(--sp-3); background: transparent; border: 1px solid var(--c-line); color: var(--c-ink); }
	.primary-nav > .primary-nav__utilities { display: flex; flex-direction: row; gap: var(--sp-5); margin-bottom: var(--sp-3); border-bottom: 1px solid var(--c-line); }
	.primary-nav__utilities a { font-size: var(--fs-300); border: 0; }
	.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--c-ink); }
	.primary-nav__utilities [data-wishlist-count] { font-size: var(--fs-200); margin-left: var(--sp-2); }
	body.nav-open { overflow: hidden; }
	.header-icon--account, .header-icon--wish { display: none; }
}

@media (min-width: 1024px) {
	.nav-toggle { display: none; }
	.nav-overlay { display: none !important; }
}
/*
 * Footer — near-black ground (live #131313); terracotta "Womanhood Expressed"
 * heading; a statement paragraph, a Menu column and a Policies column.
 */

.site-footer {
	background: var(--c-footer);
	color: rgba(255,255,255,0.72);
	padding-block: var(--sp-8) var(--sp-6);
	margin-top: 0;
}

.site-footer__grid {
	display: grid;
	gap: var(--sp-6);
	grid-template-columns: 1fr;
}
@media (min-width: 800px) {
	.site-footer__grid { grid-template-columns: 2fr 1fr 1fr; gap: var(--sp-8); }
}

.footer-brand__name,
.site-footer h4 {
	font-family: var(--font-head);
	font-weight: var(--fw-head);
	font-size: var(--fs-400);
	color: var(--c-gold);
	margin: 0 0 var(--sp-4);
	text-transform: none;
	letter-spacing: 0;
}

.footer-brand p {
	color: rgba(255,255,255,0.66);
	font-size: var(--fs-300);
	line-height: var(--lh-body);
	max-width: 46ch;
	margin: 0;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: var(--sp-3); }
.footer-col a { color: rgba(255,255,255,0.72); font-size: var(--fs-300); }
.footer-col a:hover { color: #fff; }

.site-footer__base {
	margin-top: var(--sp-7);
	padding-top: var(--sp-4);
	border-top: 1px solid rgba(255,255,255,0.12);
	font-size: var(--fs-200);
	color: rgba(255,255,255,0.5);
}
