/* ==========================================================================
   MONELLEA — design system & storefront styles
   --------------------------------------------------------------------------
   1. Fonts            6. Header & navigation    11. Product page
   2. Tokens           7. Drawers, modals        12. Cart, checkout, account
   3. Base             8. Homepage sections      13. Content pages & forms
   4. Typography       9. Product cards          14. Footer
   5. Buttons & UI    10. Collections & filters  15. Utilities & motion
   ========================================================================== */

/* 1. Fonts ---------------------------------------------------------------- */
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 400 700; font-display: swap;
	src: url(../fonts/bodoni-moda-latin.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 400 700; font-display: swap;
	src: url(../fonts/bodoni-moda-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400 700; font-display: swap;
	src: url(../fonts/bodoni-moda-italic-latin.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400 700; font-display: swap;
	src: url(../fonts/bodoni-moda-italic-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 600; font-display: swap;
	src: url(../fonts/jost-latin.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 600; font-display: swap;
	src: url(../fonts/jost-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* 2. Tokens --------------------------------------------------------------- */
:root {
	/* Brand palette */
	--ivory: #F7F5F0;
	--beige: #E8E0D5;
	--espresso: #352B26;
	--charcoal: #242424;
	--white: #FFFFFF;

	/* Derived */
	--sand: #F0EBE3;          /* between ivory and beige — tinted sections */
	--stone: #6E655F;         /* muted text, 5.3:1 on ivory */
	--line: rgba(53, 43, 38, .14);
	--line-strong: rgba(53, 43, 38, .32);
	--clay: #8E3B26;          /* sale & alerts — used sparingly, 6.9:1 on ivory */
	--success: #3F5B45;

	/* Semantic */
	--bg: var(--ivory);
	--surface: var(--white);
	--text: var(--charcoal);
	--text-muted: var(--stone);
	--accent: var(--espresso);

	/* Type */
	--font-serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
	--font-sans: "Jost", "Futura", "Century Gothic", "Helvetica Neue", Arial, sans-serif;

	--fs-xs: .75rem;      /* 12 */
	--fs-sm: .8125rem;    /* 13 */
	--fs-base: .9375rem;  /* 15 */
	--fs-md: 1.0625rem;   /* 17 */
	--fs-lg: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
	--fs-xl: clamp(1.625rem, 1.3rem + 1.4vw, 2.375rem);
	--fs-2xl: clamp(2rem, 1.4rem + 2.6vw, 3.5rem);
	--fs-3xl: clamp(2.5rem, 1.5rem + 4.4vw, 5.25rem);

	--tracking-wide: .14em;
	--tracking-wider: .22em;

	/* Space & layout */
	--gutter: clamp(16px, 3.2vw, 48px);
	--max: 1680px;
	--text-max: 760px;
	--section: clamp(56px, 8vw, 128px);
	--grid-gap: clamp(12px, 1.6vw, 24px);
	--header-h: 64px;

	--ease: cubic-bezier(.2, .7, .2, 1);
	--dur: .35s;
	--radius: 0;
}

/* 3. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-sans);
	font-size: var(--fs-base);
	font-weight: 400;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
::selection { background: var(--espresso); color: var(--ivory); }
:focus-visible { outline: 1.5px solid var(--espresso); outline-offset: 3px; }
[hidden] { display: none !important; }

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

.screen-reader-text, .sr-only {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: 16px; top: -100px; z-index: 1000;
	background: var(--espresso); color: var(--ivory); padding: 12px 18px; font-size: var(--fs-sm);
}
.skip-link:focus { top: 12px; color: var(--ivory); }

/* 4. Typography ----------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-weight: 400; line-height: 1.12; letter-spacing: -.005em; }
h1, h2, .serif { font-family: var(--font-serif); font-optical-sizing: auto; }
h3, h4, h5, h6 { font-family: var(--font-sans); font-weight: 500; }
p { margin: 0 0 1em; }
.eyebrow {
	margin: 0 0 .9rem;
	font-family: var(--font-sans);
	font-size: var(--fs-xs);
	font-weight: 500;
	letter-spacing: var(--tracking-wider);
	text-transform: uppercase;
	color: var(--text-muted);
}
.serif-lg { font-family: var(--font-serif); font-size: var(--fs-lg); line-height: 1.3; margin-bottom: .4em; }
.muted { color: var(--text-muted); }

.rte { line-height: 1.75; }
.rte h2 { font-size: var(--fs-xl); margin-top: 2.2em; }
.rte h3 { font-size: var(--fs-md); margin-top: 2em; letter-spacing: .02em; }
.rte a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.rte ul, .rte ol { padding-left: 1.2em; }
.rte li { margin-bottom: .4em; }
.rte table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); margin: 1.5em 0; }
.rte th, .rte td { text-align: left; padding: .7em .8em; border-bottom: 1px solid var(--line); }
.rte blockquote { margin: 2em 0; padding-left: 1.5em; border-left: 1px solid var(--espresso); font-family: var(--font-serif); font-size: var(--fs-lg); font-style: italic; }
.rte mark, .placeholder-note {
	background: #F3E6C9; color: var(--charcoal); padding: 0 .25em;
}
.rte > :first-child { margin-top: 0; }

/* 5. Buttons & UI --------------------------------------------------------- */
.btn, .button, button.button, a.button, input[type="submit"].button,
.wp-block-button__link, .wc-block-components-button:not(.is-link) {
	display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	min-height: 50px; padding: 0 2rem;
	border: 1px solid var(--espresso); border-radius: var(--radius);
	background: var(--espresso); color: var(--ivory);
	font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: 500;
	letter-spacing: var(--tracking-wide); text-transform: uppercase; line-height: 1;
	transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
	cursor: pointer; text-decoration: none; white-space: nowrap;
}
.btn:hover, .button:hover, .wp-block-button__link:hover { background: var(--charcoal); border-color: var(--charcoal); color: var(--ivory); }
.btn--outline { background: transparent; color: var(--espresso); }
.btn--outline:hover { background: var(--espresso); color: var(--ivory); }
.btn--light { background: var(--ivory); border-color: var(--ivory); color: var(--espresso); }
.btn--light:hover { background: var(--white); border-color: var(--white); color: var(--espresso); }
.btn--block { width: 100%; }
.btn[disabled], .button.disabled, .button:disabled { opacity: .45; cursor: not-allowed; }
.btn.is-loading, .button.loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after, .button.loading::after {
	content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%;
	border: 1.5px solid currentColor; border-color: var(--ivory) var(--ivory) transparent transparent;
	animation: spin .7s linear infinite;
}
.btn--outline.is-loading::after, .btn--light.is-loading::after { border-color: var(--espresso) var(--espresso) transparent transparent; }
@keyframes spin { to { transform: rotate(360deg); } }

.link-underline {
	display: inline-block; position: relative; padding-bottom: 3px;
	font-size: var(--fs-xs); font-weight: 500; letter-spacing: var(--tracking-wide); text-transform: uppercase;
}
.link-underline::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
	transform-origin: right; transition: transform var(--dur) var(--ease);
}
.link-underline:hover::after { transform: scaleX(0); }
.link-arrow {
	display: inline-flex; align-items: center; gap: .5em;
	font-size: var(--fs-xs); font-weight: 500; letter-spacing: var(--tracking-wide); text-transform: uppercase;
}
.link-arrow .icon { transition: transform var(--dur) var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-btn {
	display: inline-flex; align-items: center; gap: .45em; padding: 0; border: 0; background: none;
	font-size: var(--fs-sm); text-decoration: underline; text-underline-offset: 3px; color: var(--text);
}

.icon-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	min-width: 44px; min-height: 44px; padding: 0 6px;
	border: 0; background: none; color: inherit; position: relative;
}

.badge {
	display: inline-block; padding: 5px 9px 4px;
	background: var(--ivory); color: var(--espresso);
	font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; line-height: 1.2;
}
.badge--sale { background: var(--clay); color: var(--white); }
.badge--sold-out { background: var(--charcoal); color: var(--ivory); }

.swatch-dot {
	display: inline-block; width: 14px; height: 14px; border-radius: 50%;
	background: var(--swatch, #ccc); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12);
}
.swatch-dot--multi { background: conic-gradient(#C9A55A, #8E3B26, #23304A, #3F5B45, #C9A55A); }

.img-placeholder { display: block; width: 100%; height: 100%; min-height: 200px; background: linear-gradient(135deg, var(--beige), var(--sand)); }

/* Form fields */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="search"],
input[type="number"], input[type="url"], input[type="date"], select, textarea,
.input-text {
	width: 100%; min-height: 50px; padding: 12px 14px;
	border: 1px solid var(--line-strong); border-radius: 0; background: var(--white);
	font-size: var(--fs-base); color: var(--text);
	transition: border-color var(--dur) var(--ease);
	appearance: none;
}
textarea { min-height: 140px; resize: vertical; }
select {
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23352B26' stroke-width='1.25' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--espresso); }
label { font-size: var(--fs-sm); }
::placeholder { color: #9A918B; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice { padding: 14px 18px; border: 1px solid var(--line-strong); background: var(--white); font-size: var(--fs-sm); }
.notice--success { border-color: var(--success); }
.notice--error { border-color: var(--clay); color: var(--clay); }

/* 6. Header & navigation -------------------------------------------------- */
.announcement {
	background: var(--espresso); color: var(--ivory); text-align: center;
	font-size: 11.5px; letter-spacing: var(--tracking-wide); text-transform: uppercase;
}
.announcement a, .announcement p { display: block; margin: 0; padding: 9px var(--gutter); color: inherit; }
.announcement a:hover { color: var(--beige); }

.site-header {
	position: sticky; top: 0; z-index: 100;
	background: var(--ivory); color: var(--espresso);
	border-bottom: 1px solid var(--line);
	transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.site-header__bar {
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
	min-height: var(--header-h);
}
.site-header__start, .site-header__end { display: flex; align-items: center; gap: 2px; }
.site-header__end { justify-content: flex-end; }
.site-header__label { font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; display: none; }
.site-logo { margin: 0; line-height: 0; font-size: 1rem; }
.site-logo a { display: block; padding: 8px 0; color: inherit; }
.site-logo .wordmark, .site-logo .custom-logo { width: clamp(132px, 13vw, 196px); height: auto; }
.wordmark { color: inherit; }
.bag-count {
	position: absolute; top: 6px; right: 0;
	min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
	background: var(--espresso); color: var(--ivory);
	font-size: 10px; font-weight: 500; line-height: 17px; text-align: center;
}
.bag-count[data-count="0"] { display: none; }

.primary-nav { display: none; }

/* Overlay header on the homepage hero */
.has-overlay-header .site-header { position: absolute; left: 0; right: 0; top: auto; }
.has-overlay-header .site-header.is-stuck { position: fixed; top: 0; }
.has-overlay-header .site-header:not(.is-solid) {
	background: transparent; color: var(--ivory); border-color: transparent;
}
.has-overlay-header .site-header:not(.is-solid) .bag-count { background: var(--ivory); color: var(--espresso); }
@media (min-width: 783px) {
	.admin-bar .site-header { top: 32px; }
	.admin-bar.has-overlay-header .site-header:not(.is-stuck) { top: auto; }
	.admin-bar.has-overlay-header .site-header.is-stuck { top: 32px; }
}

@media (min-width: 1024px) {
	:root { --header-h: 76px; }
	.site-header__menu { display: none; }
	.site-header__label { display: inline; }
	.site-header__search { gap: .6rem; }
	.site-header__wish .bag-count, .site-header__bag .bag-count { right: -4px; }
	.site-header__account .site-header__label { margin-left: .3rem; }

	.primary-nav { display: block; }
	.primary-nav__list { display: flex; justify-content: center; gap: clamp(18px, 2.4vw, 44px); margin: 0; padding: 0 var(--gutter); list-style: none; }
	.primary-nav .nav-item--depth-0 { position: static; display: flex; align-items: center; }
	.primary-nav .nav-link {
		display: block; padding: 6px 0 16px; position: relative;
		font-size: 12px; font-weight: 500; letter-spacing: var(--tracking-wide); text-transform: uppercase;
	}
	.primary-nav .nav-link::after {
		content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px; background: currentColor;
		transform: scaleX(0); transition: transform var(--dur) var(--ease);
	}
	.primary-nav .nav-item:hover > .nav-link::after,
	.primary-nav .nav-item.is-open > .nav-link::after,
	.primary-nav .is-current > .nav-link::after { transform: scaleX(1); }
	.primary-nav .menu-sale > .nav-link, .primary-nav .nav-item--sale > .nav-link { color: var(--clay); }
	.has-overlay-header .site-header:not(.is-solid) .menu-sale > .nav-link { color: inherit; }
	.primary-nav .nav-toggle {
		width: 18px; height: 18px; margin: -10px -20px 0 2px; padding: 0; border: 0; background: none; color: inherit;
		opacity: 0; display: inline-flex; align-items: center; justify-content: center;
	}
	.primary-nav .nav-toggle:focus-visible { opacity: 1; }

	.nav-panel {
		position: absolute; left: 0; right: 0; top: 100%;
		background: var(--ivory); color: var(--espresso); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
		opacity: 0; visibility: hidden; transform: translateY(-6px);
		transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
	}
	.nav-item.is-open > .nav-panel,
	.nav-item.has-panel:hover > .nav-panel {
		opacity: 1; visibility: visible; transform: none; transition-delay: .08s, .08s, 0s;
	}
	.nav-panel__inner {
		max-width: var(--max); margin: 0 auto; padding: 40px var(--gutter) 48px;
		display: grid; grid-template-columns: 1fr 260px; gap: 48px;
	}
	.nav-panel__list { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 48px; }
	.nav-panel__list > li { break-inside: avoid; margin-bottom: 4px; }
	.nav-panel__link, .nav-panel__all a { display: inline-block; padding: 6px 0; font-size: var(--fs-base); }
	.nav-panel__link:hover { text-decoration: underline; text-underline-offset: 4px; color: var(--espresso); }
	.nav-panel__all a { font-size: var(--fs-xs); font-weight: 500; letter-spacing: var(--tracking-wide); text-transform: uppercase; border-bottom: 1px solid currentColor; margin-top: 10px; }
	.nav-panel__sub { list-style: none; margin: 0 0 8px; padding: 0 0 0 12px; }
	.nav-panel__sub .nav-panel__link { font-size: var(--fs-sm); color: var(--text-muted); padding: 3px 0; }
	.nav-panel__feature { display: block; color: var(--espresso); }
	.nav-panel__feature img { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
	.nav-panel__feature span { display: block; margin-top: 10px; font-family: var(--font-serif); font-size: var(--fs-md); font-style: italic; }
}

/* Search panel */
.site-search { background: var(--ivory); color: var(--espresso); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.site-search__form { display: flex; align-items: center; gap: 14px; padding-block: 14px; }
.site-search__form input[type="search"] {
	border: 0; background: transparent; padding: 10px 0; min-height: 52px;
	font-family: var(--font-serif); font-size: var(--fs-lg);
}
.site-search__form input[type="search"]:focus { outline: none; }

/* 7. Drawers, modals, toast ----------------------------------------------- */
.drawer { position: fixed; inset: 0; z-index: 400; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(36, 36, 36, .42); opacity: 0; transition: opacity var(--dur) var(--ease); }
.drawer__panel {
	position: absolute; top: 0; bottom: 0; width: min(440px, 100%);
	display: flex; flex-direction: column;
	background: var(--ivory); color: var(--text);
	transition: transform .45s var(--ease);
}
.drawer--right .drawer__panel { right: 0; transform: translateX(100%); }
.drawer--left .drawer__panel { left: 0; transform: translateX(-100%); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	padding: 12px 12px 12px var(--gutter); min-height: 64px; border-bottom: 1px solid var(--line);
}
.drawer__title { margin: 0; font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: 500; letter-spacing: var(--tracking-wider); text-transform: uppercase; }
.drawer__logo .wordmark { width: 128px; color: var(--espresso); }
.drawer__content { flex: 1; overflow-y: auto; padding: 8px var(--gutter) 32px; overscroll-behavior: contain; }
.drawer__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px var(--gutter); border-top: 1px solid var(--line); }

/* Mobile navigation */
.mobile-nav__list { list-style: none; margin: 0; padding: 0; }
.mobile-nav .nav-item--depth-0 { display: grid; grid-template-columns: 1fr auto; align-items: center; border-bottom: 1px solid var(--line); }
.mobile-nav .nav-link { display: block; padding: 18px 0; font-family: var(--font-serif); font-size: 1.375rem; }
.mobile-nav .menu-sale > .nav-link { color: var(--clay); }
.mobile-nav .nav-toggle { width: 44px; height: 44px; border: 0; background: none; display: inline-flex; align-items: center; justify-content: center; }
.mobile-nav .nav-toggle .icon { transition: transform var(--dur) var(--ease); }
.mobile-nav .nav-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mobile-nav .nav-panel { grid-column: 1 / -1; display: none; }
.mobile-nav .nav-item.is-open > .nav-panel { display: block; }
.mobile-nav .nav-panel__list, .mobile-nav .nav-panel__sub { list-style: none; margin: 0; padding: 0 0 16px; }
.mobile-nav .nav-panel__link, .mobile-nav .nav-panel__all a { display: block; padding: 9px 0; font-size: var(--fs-base); }
.mobile-nav .nav-panel__sub { padding: 0 0 0 14px; }
.mobile-nav .nav-panel__all a { font-size: var(--fs-xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; font-weight: 500; }
.mobile-nav__secondary { list-style: none; margin: 28px 0 0; padding: 0; }
.mobile-nav__secondary a { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: var(--fs-sm); }

/* Cart drawer */
.cart-drawer__body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.mini-cart { list-style: none; margin: 0; padding: 8px var(--gutter); overflow-y: auto; flex: 1; }
.mini-cart__item { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.mini-cart__thumb img { width: 84px; aspect-ratio: 3/4; object-fit: cover; }
.mini-cart__info { display: flex; flex-direction: column; gap: 3px; font-size: var(--fs-sm); }
.mini-cart__name { font-size: var(--fs-base); line-height: 1.35; }
.mini-cart__info dl.variation { display: flex; flex-wrap: wrap; gap: 0 10px; margin: 0; color: var(--text-muted); }
.mini-cart__info dl.variation dt, .mini-cart__info dl.variation dd { margin: 0; }
.mini-cart__info dl.variation dd p { margin: 0; }
.mini-cart__qty { color: var(--text-muted); }
.mini-cart__remove { margin-top: auto; align-self: flex-start; font-size: var(--fs-xs); text-decoration: underline; text-underline-offset: 3px; color: var(--text-muted); }
.mini-cart__price { font-size: var(--fs-sm); }
.cart-drawer__foot { padding: 20px var(--gutter) 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; background: var(--ivory); }
.cart-drawer__subtotal { display: flex; justify-content: space-between; margin: 0; font-size: var(--fs-md); }
.cart-drawer__subtotal strong { font-weight: 500; }
.cart-drawer__note { margin: 0 0 6px; font-size: var(--fs-xs); color: var(--text-muted); }
.cart-drawer__empty { padding: 48px var(--gutter); text-align: center; }

/* Modal & lightbox (native <dialog>) */
dialog { padding: 0; border: 0; color: var(--text); }
dialog::backdrop { background: rgba(36, 36, 36, .5); }
.modal { width: min(760px, calc(100% - 24px)); max-height: calc(100dvh - 48px); background: var(--ivory); }
.modal__inner { padding: 8px clamp(20px, 4vw, 44px) 36px; }
.modal__head { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); margin-bottom: 24px; position: sticky; top: 0; background: var(--ivory); }
.modal__title { margin: 0; font-size: var(--fs-xl); }
.tabs__list { display: flex; gap: 24px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.tabs__tab { padding: 10px 0; border: 0; border-bottom: 1px solid transparent; margin-bottom: -1px; background: none; font-size: var(--fs-xs); font-weight: 500; letter-spacing: var(--tracking-wide); text-transform: uppercase; white-space: nowrap; color: var(--text-muted); }
.tabs__tab[aria-selected="true"] { color: var(--espresso); border-color: var(--espresso); }
.table-scroll { overflow-x: auto; }
.size-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); text-align: center; }
.size-table th, .size-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.size-table thead th { font-weight: 500; font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.size-table tbody th { font-weight: 500; }
.size-guide__how { margin-top: 28px; font-size: var(--fs-sm); }
.size-guide__how h3 { font-size: var(--fs-sm); letter-spacing: .08em; text-transform: uppercase; }
.size-guide__how ul { padding-left: 1.1em; }
.size-guide__custom { margin-bottom: 24px; padding: 16px 18px; background: var(--white); }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; background: var(--ivory); }
.lightbox__track { height: 100%; overflow-y: auto; scroll-snap-type: y mandatory; }
.lightbox__item { height: 100dvh; scroll-snap-align: start; display: flex; align-items: center; justify-content: center; overflow: hidden; cursor: zoom-in; }
.lightbox__item img { max-height: 100dvh; width: auto; max-width: 100%; object-fit: contain; transition: transform .3s var(--ease); }
.lightbox__item.is-zoomed { cursor: zoom-out; }
.lightbox__item.is-zoomed img { transform: scale(2.2); }
.lightbox__close { position: fixed; top: 12px; right: 12px; z-index: 2; background: var(--ivory); }
.lightbox__hint { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); margin: 0; font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }

.toast {
	position: fixed; left: 50%; bottom: 24px; z-index: 500; transform: translate(-50%, 12px);
	padding: 14px 22px; background: var(--espresso); color: var(--ivory);
	font-size: var(--fs-sm); letter-spacing: .03em; opacity: 0; transition: opacity .3s var(--ease), transform .3s var(--ease);
	max-width: calc(100% - 32px);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* 8. Homepage sections ---------------------------------------------------- */
.section { padding-block: var(--section); }
.section + .section:not(.section--tint) { padding-top: 0; }
.section--tint { background: var(--sand); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 3.5vw, 44px); }
.section-head__title { margin: 0; font-size: var(--fs-2xl); }
.section-head .eyebrow { margin-bottom: .6rem; }

/* Hero */
.hero { position: relative; min-height: min(100svh, 1000px); display: grid; color: var(--ivory); background: var(--espresso); overflow: hidden; }
.hero__media { position: absolute; inset: 0; display: grid; }
.hero__frame { position: relative; overflow: hidden; }
.hero__frame img, .hero__frame .img-placeholder { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero__frame--second { display: none; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36,30,26,.28) 0%, rgba(36,30,26,0) 28%, rgba(36,30,26,0) 48%, rgba(36,30,26,.55) 100%); pointer-events: none; }
.hero__content {
	position: relative; z-index: 1; align-self: end;
	padding: 0 var(--gutter) clamp(40px, 7vw, 96px); max-width: 760px;
	animation: rise 1s var(--ease) both .15s;
}
.hero .eyebrow { color: rgba(247, 245, 240, .85); }
.hero__title { margin: 0 0 .35em; font-size: var(--fs-3xl); line-height: 1.02; letter-spacing: -.015em; }
.hero__text { max-width: 30em; font-size: var(--fs-md); color: rgba(247, 245, 240, .9); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 28px; }
@media (min-width: 900px) {
	.hero--diptych .hero__media { grid-template-columns: 1fr 1fr; }
	.hero--diptych .hero__frame--second { display: block; }
	.hero--diptych .hero__content { justify-self: center; text-align: center; max-width: 820px; }
	.hero--diptych .hero__text { margin-inline: auto; }
	.hero--diptych .hero__actions { justify-content: center; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Departments */
.departments__grid { display: grid; gap: var(--grid-gap); }
.dept-card { position: relative; display: block; overflow: hidden; color: var(--ivory); }
.dept-card__media { display: block; aspect-ratio: 4/5; overflow: hidden; background: var(--beige); }
.dept-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.dept-card:hover .dept-card__media img { transform: scale(1.035); }
.dept-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(36,30,26,.5)); pointer-events: none; }
.dept-card__label { position: absolute; z-index: 1; left: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 40px); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.dept-card__title { font-family: var(--font-serif); font-size: var(--fs-2xl); line-height: 1; }
.dept-card:hover { color: var(--ivory); }
@media (min-width: 768px) { .departments__grid { grid-template-columns: 1fr 1fr; } }

/* Trending collections */
.collections__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: var(--grid-gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.collections__grid::-webkit-scrollbar { display: none; }
.collection-tile { scroll-snap-align: start; }
.collection-tile a { display: block; }
.collection-tile__media { display: block; aspect-ratio: 3/4; overflow: hidden; background: var(--beige); }
.collection-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.collection-tile a:hover img { transform: scale(1.04); }
.collection-tile__meta { display: block; padding-top: 16px; }
.collection-tile__meta .eyebrow { margin-bottom: 4px; }
.collection-tile__name { font-family: var(--font-serif); font-size: var(--fs-lg); }
@media (min-width: 600px) { .collections__grid { grid-auto-columns: 46%; } }
@media (min-width: 1024px) { .collections__grid { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; } }

/* Bags & accessories */
.bags-acc__grid { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
.bags-acc__feature { position: relative; display: block; color: var(--ivory); overflow: hidden; }
.bags-acc__media { display: block; aspect-ratio: 4/5; background: var(--beige); overflow: hidden; }
.bags-acc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bags-acc__feature:hover img { transform: scale(1.03); }
.bags-acc__feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(36,30,26,.55)); }
.bags-acc__caption { position: absolute; z-index: 1; left: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 40px); display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.bags-acc__caption .eyebrow { color: rgba(247,245,240,.85); margin: 0; }
.bags-acc__title { font-family: var(--font-serif); font-size: var(--fs-2xl); line-height: 1.05; }
.bags-acc__feature:hover { color: var(--ivory); }
.bags-acc__links { display: flex; gap: 32px; margin: 28px 0 0; }
@media (min-width: 1024px) { .bags-acc__grid { grid-template-columns: 5fr 6fr; } }

/* Campaign */
.campaign { display: grid; background: var(--beige); }
.campaign__main { min-height: 70vh; overflow: hidden; }
.campaign__main img, .campaign__main .img-placeholder { width: 100%; height: 100%; object-fit: cover; }
.campaign__aside { display: grid; align-content: center; gap: 40px; padding: clamp(40px, 7vw, 112px) var(--gutter); }
.campaign__text { max-width: 440px; }
.campaign__title { font-size: var(--fs-2xl); font-style: italic; margin-bottom: .5em; }
.campaign__text p:not(.eyebrow) { color: #4b423d; margin-bottom: 2rem; }
.campaign__detail { width: min(60%, 300px); justify-self: end; }
.campaign__detail img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
@media (min-width: 900px) {
	.campaign { grid-template-columns: 7fr 5fr; }
	.campaign__main { min-height: 0; aspect-ratio: auto; }
	.campaign__main img { aspect-ratio: 4/5; }
}

/* Story */
.story { padding-top: var(--section) !important; }
.story__grid { display: grid; gap: clamp(32px, 6vw, 96px); align-items: center; }
.story__media img, .story__media .img-placeholder { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.story__text { max-width: 520px; }
.story__mark { width: 52px; height: auto; margin-bottom: 28px; }
.story__title { font-size: var(--fs-2xl); }
.story__body { font-size: var(--fs-md); line-height: 1.8; color: #4b423d; margin-bottom: 2rem; }
@media (min-width: 900px) { .story__grid { grid-template-columns: 1fr 1fr; } .story__text { padding-block: 40px; } }

/* Newsletter */
.newsletter { background: var(--espresso); color: var(--ivory); padding-block: clamp(56px, 7vw, 104px); text-align: center; }
.newsletter__inner { max-width: 720px; }
.newsletter__title { font-size: var(--fs-2xl); margin-bottom: .4em; }
.newsletter__text { color: rgba(247,245,240,.78); margin-bottom: 2rem; }
.newsletter-form__row { display: flex; gap: 0; }
.newsletter-form input[type="email"] { flex: 1; min-width: 0; }
.newsletter .newsletter-form input[type="email"] { background: transparent; border-color: rgba(247,245,240,.45); color: var(--ivory); }
.newsletter .newsletter-form input[type="email"]::placeholder { color: rgba(247,245,240,.6); }
.newsletter .newsletter-form input[type="email"]:focus { border-color: var(--ivory); }
.newsletter .btn--dark { background: var(--ivory); border-color: var(--ivory); color: var(--espresso); }
.newsletter .btn--dark:hover { background: var(--white); }
.newsletter-form__legal { margin: 14px 0 0; font-size: var(--fs-xs); color: var(--text-muted); }
.newsletter .newsletter-form__legal { color: rgba(247,245,240,.6); }
.newsletter-form__legal a { text-decoration: underline; text-underline-offset: 2px; }
.newsletter-form__status { margin: 10px 0 0; font-size: var(--fs-sm); min-height: 1.4em; }

/* Social */
.social__head { text-align: center; margin-bottom: clamp(24px, 3vw, 40px); }
.social__title { font-size: var(--fs-xl); font-style: italic; margin-bottom: .2em; }
.social__head p { color: var(--text-muted); margin: 0; }
.social__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.social__grid li { position: relative; overflow: hidden; background: var(--beige); aspect-ratio: 1; }
.social__grid img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform 1s var(--ease), opacity .3s; }
.social__grid a:hover img { transform: scale(1.05); opacity: .9; }
.social__icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--ivory); opacity: 0; transition: opacity .3s; background: rgba(36,30,26,.2); }
.social__grid a:hover .social__icon, .social__grid a:focus-visible .social__icon { opacity: 1; }
@media (min-width: 900px) { .social__grid { grid-template-columns: repeat(6, 1fr); } }

/* 9. Product cards & grids ------------------------------------------------ */
ul.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px var(--grid-gap); }
@media (min-width: 768px) { ul.products { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { ul.products.columns-4 { grid-template-columns: repeat(4, 1fr); } }
ul.products[data-grid="2"] { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 767px) { ul.products[data-grid="2"] { grid-template-columns: 1fr; } }
ul.products.products--two { grid-template-columns: repeat(2, 1fr); }

/* Horizontal rails on small screens */
@media (max-width: 1023px) {
	ul.products.products--rail {
		grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 44%;
		overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
		margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
	}
	ul.products.products--rail::-webkit-scrollbar { display: none; }
	ul.products.products--rail > li { scroll-snap-align: start; }
}
@media (max-width: 599px) { ul.products.products--rail { grid-auto-columns: 68%; } }

.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card__media { position: relative; overflow: hidden; background: var(--beige); aspect-ratio: 3/4; }
.card__image-link { display: block; height: 100%; }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease), transform 1.4s var(--ease); }
.card__img--alt { opacity: 0; }
@media (hover: hover) {
	.card:hover .card__img--alt { opacity: 1; }
	.card:hover .card__img:only-child, .card:hover .card__img:not(.card__img--alt):only-of-type { transform: scale(1.03); }
}
.card__badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; pointer-events: none; }
.card__wish { position: absolute; top: 4px; right: 4px; }
.wish-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: none; color: var(--espresso); padding: 0; }
.card__wish::before { content: ""; position: absolute; width: 32px; height: 32px; border-radius: 50%; background: rgba(247,245,240,.82); z-index: -1; }
.card__wish { z-index: 1; isolation: isolate; }
.wish-btn .icon { transition: transform .25s var(--ease), fill .25s; }
.wish-btn:hover .icon { transform: scale(1.1); }
.wish-btn[aria-pressed="true"] .icon { fill: currentColor; }
.wish-btn.is-pop .icon { animation: pop .4s var(--ease); }
@keyframes pop { 50% { transform: scale(1.3); } }

.card__quick {
	position: absolute; left: 10px; right: 10px; bottom: 10px;
	background: rgba(247,245,240,.94); padding: 10px 12px 12px;
	opacity: 0; transform: translateY(8px); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.card__quick:has(> .btn) { padding: 0; background: none; }
.card:hover .card__quick, .card__quick:focus-within { opacity: 1; transform: none; }
@media (hover: none) { .card__quick { display: none; } }
.card__quick-label { margin: 0 0 6px; font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; text-align: center; color: var(--text-muted); }
.card__sizes { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.size-btn { min-width: 36px; height: 32px; padding: 0 8px; border: 1px solid transparent; background: none; font-size: var(--fs-xs); letter-spacing: .04em; }
.size-btn:hover:not(:disabled) { border-color: var(--espresso); }
.size-btn:disabled { color: #aaa29c; text-decoration: line-through; cursor: not-allowed; }
.size-btn.is-loading { opacity: .5; }

.card__body { padding-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.card__title { margin: 0; font-family: var(--font-sans); font-size: var(--fs-sm); font-weight: 400; line-height: 1.4; letter-spacing: .01em; }
.card__title a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.card__price { font-size: var(--fs-sm); }
.card__swatches { list-style: none; margin: 6px 0 0; padding: 0; display: flex; gap: 6px; align-items: center; }
.card__swatches .swatch-dot { width: 11px; height: 11px; }
.card__more { font-size: var(--fs-xs); color: var(--text-muted); }

/* Prices (WooCommerce markup) */
.price { color: var(--text); }
.price del, .card__price del { color: var(--text-muted); margin-right: .45em; text-decoration-thickness: 1px; }
.price ins, .card__price ins, .mini-cart__price ins { text-decoration: none; color: var(--clay); }
.price .screen-reader-text { position: absolute !important; }

/* Rails */
.rail { padding-block: clamp(48px, 6vw, 88px) 0; }
.rail__title, .related > h2, .upsells > h2 { font-size: var(--fs-xl); margin-bottom: 28px; }

/* 10. Collections & filters ----------------------------------------------- */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; font-size: var(--fs-xs); letter-spacing: .06em; color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs__sep { opacity: .5; }

.collection-head { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(20px, 3vw, 36px); text-align: center; }
.collection-head .breadcrumbs { justify-content: center; }
.collection-head__title, .page-header__title { font-size: var(--fs-2xl); margin: 0; }
.collection-head__intro { max-width: 560px; margin: 14px auto 0; color: var(--text-muted); }
.collection-head__intro p:last-child { margin: 0; }

.dept-hero { position: relative; display: grid; min-height: clamp(380px, 62vh, 680px); color: var(--ivory); background: var(--espresso); overflow: hidden; }
.dept-hero__media { position: absolute; inset: 0; }
.dept-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.dept-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36,30,26,.1), rgba(36,30,26,.55)); }
.dept-hero__content { position: relative; z-index: 1; align-self: end; padding-bottom: clamp(32px, 5vw, 72px); }
.dept-hero .breadcrumbs { color: rgba(247,245,240,.8); }
.dept-hero__title { font-size: var(--fs-3xl); margin: 0; line-height: 1; }
.dept-hero__intro { max-width: 520px; margin-top: 14px; color: rgba(247,245,240,.88); }
.dept-hero__intro p:last-child { margin: 0; }

.cat-tiles { padding-block: clamp(28px, 4vw, 48px) 0; }
.cat-tiles__list { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 38%; gap: 12px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.cat-tiles__list::-webkit-scrollbar { display: none; }
.cat-tile { scroll-snap-align: start; }
.cat-tile a { display: block; }
.cat-tile__media { display: block; aspect-ratio: 3/4; overflow: hidden; background: var(--beige); }
.cat-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cat-tile a:hover img { transform: scale(1.04); }
.cat-tile__name { display: block; padding-top: 10px; font-size: var(--fs-xs); font-weight: 500; letter-spacing: var(--tracking-wide); text-transform: uppercase; }
@media (min-width: 768px) { .cat-tiles__list { grid-auto-columns: 22%; } }
@media (min-width: 1200px) { .cat-tiles__list { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); } }

.subnav { padding-bottom: 8px; }
.subnav__list { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.subnav__list a { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; }
.subnav__list a:hover, .subnav__list a[aria-current="page"] { border-color: var(--espresso); background: var(--espresso); color: var(--ivory); }
@media (max-width: 767px) { .subnav__list { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; } .subnav__list a { white-space: nowrap; } }

.collection { padding-bottom: var(--section); }
.toolbar {
	position: sticky; top: var(--header-h); z-index: 20;
	display: flex; align-items: center; gap: 16px; padding: 12px 0; margin-bottom: 24px;
	background: var(--bg); border-bottom: 1px solid var(--line);
}
.admin-bar .toolbar { top: calc(var(--header-h) + 32px); }
.toolbar__filter { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0; border: 0; background: none; font-size: var(--fs-xs); font-weight: 500; letter-spacing: var(--tracking-wide); text-transform: uppercase; }
.toolbar__count { margin: 0 auto 0 0; font-size: var(--fs-xs); color: var(--text-muted); letter-spacing: .04em; }
.toolbar__count .woocommerce-result-count { margin: 0; }
.toolbar__grid { display: flex; gap: 2px; }
.toolbar__grid button { width: 36px; height: 36px; border: 0; background: none; display: inline-flex; align-items: center; justify-content: center; opacity: .4; }
.toolbar__grid button[aria-pressed="true"] { opacity: 1; }
.grid-ico { display: grid; gap: 2px; }
.grid-ico--2 { grid-template-columns: repeat(2, 7px); }
.grid-ico--4 { grid-template-columns: repeat(4, 3px); }
.grid-ico::before, .grid-ico::after { content: ""; display: block; height: 12px; background: var(--espresso); }
.grid-ico--4 { background: linear-gradient(90deg, var(--espresso) 3px, transparent 3px 5px, var(--espresso) 5px 8px, transparent 8px 10px, var(--espresso) 10px 13px, transparent 13px 15px, var(--espresso) 15px 18px); width: 18px; height: 12px; }
.grid-ico--4::before, .grid-ico--4::after { display: none; }
@media (max-width: 767px) { .toolbar__grid { display: none; } }

.filter-chips { list-style: none; margin: -8px 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; background: var(--white); border: 1px solid var(--line); font-size: var(--fs-xs); }
.filter-chips a:hover { border-color: var(--espresso); }
.filter-chips__clear { background: none !important; border: 0 !important; text-decoration: underline; text-underline-offset: 3px; }

.filter-group { border: 0; border-bottom: 1px solid var(--line); margin: 0; padding: 22px 0; }
.filter-group__title { padding: 0; margin-bottom: 14px; font-size: var(--fs-xs); font-weight: 500; letter-spacing: var(--tracking-wider); text-transform: uppercase; }
.filter-options { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-options--list { flex-direction: column; gap: 4px; }
.filter-options--links { list-style: none; margin: 0; padding: 0; flex-direction: column; gap: 2px; }
.filter-options--links a { display: block; padding: 6px 0; }
.radio { display: flex; align-items: center; gap: 12px; padding: 6px 0; font-size: var(--fs-base); cursor: pointer; }
.radio input { appearance: none; width: 16px; height: 16px; margin: 0; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-content: center; }
.radio input:checked { border-color: var(--espresso); }
.radio input:checked::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--espresso); }
.check-chip { position: relative; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.check-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-chip > span:last-child { display: inline-flex; align-items: center; min-width: 46px; min-height: 40px; justify-content: center; padding: 0 12px; border: 1px solid var(--line-strong); font-size: var(--fs-sm); transition: all .2s; }
.check-chip input:checked ~ span:last-child { background: var(--espresso); color: var(--ivory); border-color: var(--espresso); }
.check-chip input:focus-visible ~ span:last-child { outline: 1.5px solid var(--espresso); outline-offset: 2px; }
.filter-options--swatches { flex-direction: column; gap: 2px; }
.filter-options--swatches .check-chip > span:last-child { border: 0; min-height: 36px; padding: 0; justify-content: flex-start; }
.filter-options--swatches .check-chip input:checked ~ span:last-child { background: none; color: var(--text); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.filter-options--swatches .swatch-dot { width: 18px; height: 18px; }
.check-chip input:checked ~ .swatch-dot { box-shadow: 0 0 0 2px var(--ivory), 0 0 0 3px var(--espresso); }
.price-range { display: flex; align-items: flex-end; gap: 12px; }
.price-range label { flex: 1; display: grid; gap: 4px; font-size: var(--fs-xs); color: var(--text-muted); }
.price-range span[aria-hidden] { padding-bottom: 14px; }
.woocommerce-pagination { margin-top: clamp(48px, 6vw, 80px); }
.woocommerce-pagination ul.page-numbers, .navigation.pagination .nav-links { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 4px; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; font-size: var(--fs-sm); }
.page-numbers.current { border-bottom: 1px solid var(--espresso); }
.empty-state { text-align: center; padding: 72px 0; }
.woocommerce-info, .woocommerce-message, .woocommerce-error, .woocommerce-notices-wrapper > * {
	list-style: none; margin: 0 0 24px; padding: 14px 18px; border: 1px solid var(--line-strong); background: var(--white); font-size: var(--fs-sm);
	display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.woocommerce-error { border-color: var(--clay); color: var(--clay); }
.woocommerce-message .button, .woocommerce-info .button { order: 2; min-height: 40px; padding: 0 16px; }

/* 11. Product page -------------------------------------------------------- */
.site-main--shop .woocommerce-notices-wrapper { max-width: var(--max); margin: 0 auto; padding: 16px var(--gutter) 0; }
.pdp { max-width: var(--max); margin: 0 auto; padding-bottom: var(--section); }

/* Gallery + summary: their own grid, so nothing sticky leaks into the sections below */
.pdp-main { display: grid; grid-template-columns: minmax(0, 1fr); }
.pdp-main__summary { padding: 28px var(--gutter) 0; }
@media (min-width: 1024px) {
	.pdp-main { grid-template-columns: minmax(0, 7fr) minmax(360px, 4fr); column-gap: clamp(32px, 4vw, 72px); padding: 24px var(--gutter) 0; align-items: start; }
	.pdp-main__media { position: sticky; top: calc(var(--header-h) + 72px); }
	.admin-bar .pdp-main__media { top: calc(var(--header-h) + 104px); }
	.pdp-main__summary { padding: 8px 0 0; }
}

/* Below the fold: plain grids, full width, in normal flow */
.pdp-after { padding: 0 var(--gutter); }
.pdp-after > section, .pdp-after .related, .pdp-after .upsells, .pdp-after .rail { position: static; padding-top: clamp(56px, 7vw, 104px); }
.pdp-after ul.products { grid-auto-flow: row; overflow: visible; }

/* Gallery */
.pdp-gallery { position: relative; }
.pdp-gallery__viewport { position: relative; }
.pdp-gallery__track {
	position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 0;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
	transition: opacity .25s var(--ease);
}
.pdp-gallery__track::-webkit-scrollbar { display: none; }
.pdp-gallery__track:focus-visible { outline-offset: -2px; }
.pdp-gallery.is-switching .pdp-gallery__track { opacity: .35; }
.pdp-gallery__slide { margin: 0; scroll-snap-align: start; background: var(--beige); }
.pdp-gallery__zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; }
.pdp-gallery__slide img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.pdp-gallery__arrow {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
	width: 44px; height: 44px; border: 0; border-radius: 50%;
	background: rgba(247,245,240,.92); color: var(--espresso);
	display: inline-flex; align-items: center; justify-content: center;
	opacity: 0; transition: opacity .25s var(--ease);
}
.pdp-gallery__arrow--prev { left: 12px; }
.pdp-gallery__arrow--next { right: 12px; }
.pdp-gallery__arrow:disabled { opacity: 0 !important; pointer-events: none; }
.pdp-gallery:hover .pdp-gallery__arrow, .pdp-gallery__arrow:focus-visible { opacity: 1; }
.pdp-gallery__counter { position: absolute; right: 12px; bottom: 12px; margin: 0; padding: 4px 10px; background: rgba(247,245,240,.9); font-size: var(--fs-xs); letter-spacing: .08em; }
.pdp-gallery__thumbs { display: flex; gap: 8px; padding: 12px var(--gutter) 0; overflow-x: auto; scrollbar-width: none; }
.pdp-gallery__thumbs::-webkit-scrollbar { display: none; }
.pdp-gallery__thumb { flex: none; width: 56px; padding: 0; border: 1px solid transparent; background: var(--beige); opacity: .55; transition: opacity .2s, border-color .2s; }
.pdp-gallery__thumb img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.pdp-gallery__thumb:hover { opacity: .85; }
.pdp-gallery__thumb.is-active { opacity: 1; border-color: var(--espresso); }
.pdp-gallery[data-count="1"] .pdp-gallery__thumbs, .pdp-gallery[data-count="1"] .pdp-gallery__counter, .pdp-gallery[data-count="1"] .pdp-gallery__arrow { display: none; }
@media (hover: none) { .pdp-gallery__arrow { display: none; } }
@media (min-width: 1024px) {
	.pdp-gallery__track { grid-auto-columns: calc(50% - 2px); gap: 4px; }
	.pdp-gallery[data-count="1"] .pdp-gallery__track { grid-auto-columns: 100%; }
	.pdp-gallery[data-count="1"] .pdp-gallery__slide img { aspect-ratio: 4/5; max-height: calc(100vh - var(--header-h) - 120px); }
	.pdp-gallery__thumbs { padding: 12px 0 0; }
	.pdp-gallery__thumb { width: 64px; }
	.pdp-gallery__slide img { max-height: calc(100vh - var(--header-h) - 190px); }
}

/* Summary */
.summary .breadcrumbs { margin-bottom: 20px; }
.pdp-badges { display: flex; gap: 6px; margin-bottom: 14px; }
.pdp-badges .badge { border: 1px solid var(--line); }
.product_title { font-family: var(--font-serif); font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); line-height: 1.12; margin: 0 0 12px; }
.summary > .price { font-size: var(--fs-md); margin: 0 0 20px; }
.summary .woocommerce-product-rating { display: flex; align-items: center; gap: 10px; margin: -8px 0 18px; font-size: var(--fs-xs); }
.star-rating { position: relative; display: inline-block; width: 5.4em; height: 1em; font-size: 12px; line-height: 1; letter-spacing: .1em; overflow: hidden; }
.star-rating::before { content: "★★★★★"; color: var(--line-strong); position: absolute; inset: 0; }
.star-rating span { position: absolute; top: 0; left: 0; overflow: hidden; padding-top: 1.2em; }
.star-rating span::before { content: "★★★★★"; color: var(--espresso); position: absolute; top: 0; left: 0; }
.pdp-lede { color: #4b423d; margin-bottom: 24px; line-height: 1.7; }
.pdp-lede p:last-child { margin: 0; }

form.cart { margin: 0 0 24px; }
.variations { width: 100%; border-collapse: collapse; margin: 0 0 8px; }
.variations, .variations tbody, .variations tr, .variations th, .variations td { display: block; }
.variations tr { margin-bottom: 18px; }
.variations th.label { text-align: left; padding: 0 0 10px; }
.variations th.label label { font-size: var(--fs-xs); font-weight: 500; letter-spacing: var(--tracking-wide); text-transform: uppercase; }
.variations .label .selected-value { font-weight: 400; letter-spacing: .04em; text-transform: none; color: var(--text-muted); margin-left: 6px; }
.variations td.value { padding: 0; }
.variations select.is-enhanced { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.reset_variations { display: inline-block; margin-top: 10px; font-size: var(--fs-xs); text-decoration: underline; text-underline-offset: 3px; color: var(--text-muted); }
.opt-group { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-btn {
	min-width: 52px; height: 46px; padding: 0 14px; border: 1px solid var(--line-strong); background: var(--white);
	font-size: var(--fs-sm); letter-spacing: .03em; transition: border-color .2s, background .2s, color .2s;
}
.opt-btn:hover:not(:disabled) { border-color: var(--espresso); }
.opt-btn[aria-pressed="true"] { background: var(--espresso); color: var(--ivory); border-color: var(--espresso); }
.opt-btn:disabled, .opt-btn.is-unavailable { color: #aaa29c; background: transparent; text-decoration: line-through; cursor: not-allowed; }
.opt-group--colour .opt-btn { min-width: 0; width: 38px; height: 38px; padding: 0; border-radius: 50%; border-color: transparent; background: none; display: inline-flex; align-items: center; justify-content: center; }
.opt-group--colour .opt-btn .swatch-dot { width: 28px; height: 28px; }
.opt-group--colour .opt-btn[aria-pressed="true"] { background: none; box-shadow: 0 0 0 1px var(--espresso); }
.opt-group--colour .opt-btn.is-unavailable { opacity: .35; text-decoration: none; }
.size-guide-link { margin: -4px 0 18px; }

.single_variation_wrap .woocommerce-variation { margin-bottom: 14px; }
.woocommerce-variation-price .price { font-size: var(--fs-md); }
.stock { margin: 0 0 14px; font-size: var(--fs-sm); display: flex; align-items: center; gap: 8px; }
.stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.stock.out-of-stock { color: var(--clay); }
.stock.out-of-stock::before { background: var(--clay); }
.stock.available-on-backorder::before { background: #B58A3A; }

.woocommerce-variation-add-to-cart, form.cart:not(.variations_form) { display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; }
.quantity { display: none !important; } /* WooCommerce toggles it inline after a variation is chosen */
.single_add_to_cart_button { flex: 1; min-height: 54px; }
.single_add_to_cart_button.disabled { opacity: .5; }
.wish-btn--pdp { width: 54px; height: 54px; border: 1px solid var(--line-strong); }
.wish-btn--pdp:hover { border-color: var(--espresso); }

.pdp-service { list-style: none; margin: 0 0 8px; padding: 0; font-size: var(--fs-sm); }
.pdp-service li { display: flex; align-items: center; gap: 12px; padding: 7px 0; color: #4b423d; }
.pdp-service a { text-decoration: underline; text-underline-offset: 3px; }
.pdp-service .icon { flex: none; }

.accordion { border-top: 1px solid var(--line); margin-top: 20px; }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__summary {
	display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 18px 0;
	cursor: pointer; list-style: none; font-size: var(--fs-xs); font-weight: 500; letter-spacing: var(--tracking-wide); text-transform: uppercase;
}
.accordion__summary::-webkit-details-marker { display: none; }
.accordion__icon { position: relative; width: 12px; height: 12px; flex: none; }
.accordion__icon::before, .accordion__icon::after { content: ""; position: absolute; top: 50%; left: 0; width: 12px; height: 1px; background: currentColor; transition: transform var(--dur) var(--ease); }
.accordion__icon::after { transform: rotate(90deg); }
details[open] > .accordion__summary .accordion__icon::after { transform: rotate(0); }
.accordion__body { padding: 0 0 24px; font-size: var(--fs-sm); color: #4b423d; }
.accordion__body table.shop_attributes { width: 100%; border-collapse: collapse; }
.accordion__body table.shop_attributes th, .accordion__body table.shop_attributes td { padding: 8px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; vertical-align: top; }
.accordion__body table.shop_attributes th { width: 40%; color: var(--text-muted); }
.accordion__body table.shop_attributes p { margin: 0; }
.pdp-meta span { color: var(--text-muted); margin-right: 6px; }
.pdp-links { display: flex; gap: 20px; }

/* Reviews inside accordion */
#reviews .commentlist { list-style: none; margin: 0; padding: 0; }
#reviews .comment_container { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
#reviews .avatar { border-radius: 50%; width: 36px; height: 36px; }
#reviews .comment-text { flex: 1; }
#reviews .meta { font-size: var(--fs-xs); color: var(--text-muted); }
#review_form .comment-reply-title { display: block; font-family: var(--font-serif); font-size: var(--fs-lg); margin: 20px 0 10px; }
#review_form .stars a { color: var(--espresso); margin-right: 4px; }
.woocommerce-noreviews { margin-bottom: 0; }
#review_form .form-submit input { background: var(--espresso); color: var(--ivory); border: 0; min-height: 48px; padding: 0 24px; text-transform: uppercase; letter-spacing: .14em; font-size: var(--fs-xs); }


/* 12. Cart, checkout & account -------------------------------------------- */
.is-store-page .page-header { text-align: left; }
.is-store-page .entry-content { padding-bottom: var(--section); }

/* Block cart & checkout — inherit the brand */
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { font-family: var(--font-sans); }
.wc-block-components-title.wc-block-components-title, .wc-block-cart__totals-title, .wc-block-components-checkout-step__title {
	font-family: var(--font-sans) !important; font-size: var(--fs-xs) !important; font-weight: 500 !important; letter-spacing: var(--tracking-wide); text-transform: uppercase !important;
}
.wc-block-components-button:not(.is-link), .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button {
	border-radius: 0 !important; min-height: 54px !important; background: var(--espresso) !important; color: var(--ivory) !important;
	font-size: var(--fs-xs) !important; letter-spacing: var(--tracking-wide) !important; text-transform: uppercase;
}
.wc-block-components-button:not(.is-link):hover { background: var(--charcoal) !important; }
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input,
.wc-blocks-components-select .wc-blocks-components-select__select, .wc-block-components-textarea {
	border-radius: 0 !important; border-color: var(--line-strong) !important; background: var(--white) !important;
}
.wc-block-components-text-input.is-active input, .wc-block-components-text-input input:focus { border-color: var(--espresso) !important; box-shadow: none !important; }
.wc-block-components-radio-control__option, .wc-block-components-radio-control--highlight-checked { border-radius: 0 !important; }
.wc-block-components-sidebar-layout .wc-block-components-main { padding-right: clamp(0px, 3vw, 48px); }
.wc-block-components-totals-wrapper, .wc-block-components-order-summary { border-color: var(--line) !important; }
.wc-block-cart-items .wc-block-cart-items__header { font-size: var(--fs-xs); letter-spacing: var(--tracking-wide); color: var(--text-muted); }
.wc-block-components-product-name { font-size: var(--fs-base) !important; color: var(--text) !important; text-decoration: none !important; }
.wc-block-components-product-badge { border-radius: 0 !important; }
.wc-block-components-quantity-selector { border-radius: 0 !important; }
.wc-block-components-quantity-selector::after { border-radius: 0 !important; border-color: var(--line-strong) !important; }
.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title { font-family: var(--font-serif); font-size: var(--fs-xl); }
.wc-block-components-sidebar { background: var(--white); padding: 24px !important; }
.wc-block-components-notice-banner { border-radius: 0 !important; }

/* Classic cart/checkout (if shortcodes are used) */
table.shop_table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
table.shop_table th, table.shop_table td { padding: 16px 10px; border-bottom: 1px solid var(--line); text-align: left; }
table.shop_table img { width: 72px; }

/* My account */
.woocommerce-account .woocommerce { display: grid; gap: 40px; }
@media (min-width: 900px) { .woocommerce-account.logged-in .woocommerce { grid-template-columns: 240px 1fr; gap: 64px; } }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--line); }
.woocommerce-MyAccount-navigation a { display: block; padding: 14px 0; font-size: var(--fs-xs); font-weight: 500; letter-spacing: var(--tracking-wide); text-transform: uppercase; }
.woocommerce-MyAccount-navigation .is-active a { color: var(--espresso); text-decoration: underline; text-underline-offset: 4px; }
.woocommerce-MyAccount-content > p:first-child { font-family: var(--font-serif); font-size: var(--fs-lg); }
.woocommerce-MyAccount-content a:not(.button) { text-decoration: underline; text-underline-offset: 3px; }
.u-columns.col2-set, #customer_login { display: grid; gap: 48px; }
@media (min-width: 900px) { #customer_login { grid-template-columns: 1fr 1fr; gap: 80px; } }
#customer_login h2, .woocommerce-form-login + h2 { font-size: var(--fs-xl); }
.woocommerce-form-row, .form-row { margin: 0 0 16px; display: flex; flex-direction: column; gap: 6px; }
.woocommerce-form-row label .required, .form-row label .required { color: var(--clay); text-decoration: none; }
.woocommerce-form-login__rememberme, .woocommerce-form__label-for-checkbox { flex-direction: row !important; align-items: center; gap: 8px; display: inline-flex; }
input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--espresso); }
.woocommerce-LostPassword a, .lost_password a { font-size: var(--fs-sm); text-decoration: underline; text-underline-offset: 3px; }
.woocommerce-Addresses { display: grid; gap: 32px; }
@media (min-width: 768px) { .woocommerce-Addresses { grid-template-columns: 1fr 1fr; } }
.woocommerce-Address-title h2 { font-size: var(--fs-lg); }
.woocommerce-orders-table .button { min-height: 36px; padding: 0 14px; }
.woocommerce-privacy-policy-text { font-size: var(--fs-xs); color: var(--text-muted); }

/* 13. Content pages & forms ----------------------------------------------- */
.page-header { padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(24px, 3vw, 44px); text-align: center; }
.page-header__intro { max-width: 600px; margin: 16px auto 0; color: var(--text-muted); font-size: var(--fs-md); }
.page-hero { margin: 0 auto clamp(32px, 5vw, 64px); }
.page-hero img { width: 100%; max-height: 72vh; object-fit: cover; }
.site-main--page .entry-content { padding-bottom: var(--section); }

/* Block styles used in content pages */
.entry-content .wp-block-image img { height: auto; }
.entry-content .wp-block-columns { gap: clamp(24px, 4vw, 64px); margin-block: 2.5em; }
.entry-content .wp-block-details { border-bottom: 1px solid var(--line); padding: 0; }
.entry-content .wp-block-details:first-of-type { border-top: 1px solid var(--line); }
.entry-content .wp-block-details summary { padding: 20px 32px 20px 0; cursor: pointer; font-size: var(--fs-md); list-style: none; position: relative; }
.entry-content .wp-block-details summary::-webkit-details-marker { display: none; }
.entry-content .wp-block-details summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.25rem; font-weight: 300; }
.entry-content .wp-block-details[open] summary::after { content: "–"; }
.entry-content .wp-block-details > :not(summary) { margin-top: 0; padding-bottom: 12px; color: #4b423d; }
.entry-content .wp-block-heading.is-style-eyebrow, .entry-content .has-eyebrow-style { font-family: var(--font-sans); font-size: var(--fs-xs); letter-spacing: var(--tracking-wider); text-transform: uppercase; color: var(--text-muted); font-weight: 500; }
.entry-content .wp-block-pullquote, .entry-content .wp-block-quote.is-style-large { border: 0; padding: 0; text-align: center; font-family: var(--font-serif); font-style: italic; font-size: var(--fs-xl); line-height: 1.3; margin: 2.5em auto; max-width: 18em; }
.entry-content .wp-block-separator { border-top: 1px solid var(--line); margin: 3em auto; }
.entry-content .alignwide { width: min(1200px, calc(100vw - var(--gutter) * 2)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content .wp-block-cover { min-height: 60vh; }
.entry-content .has-text-align-center { text-align: center; }

.contact-form { display: grid; gap: 0; margin-top: 8px; }
.field { margin: 0 0 18px; display: grid; gap: 6px; }
.field label { font-size: var(--fs-xs); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.field-row { display: grid; gap: 0 18px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.contact-details { list-style: none; padding: 0; margin: 0; }
.contact-details li { padding: 12px 0; border-bottom: 1px solid var(--line); }

.wishlist { padding-bottom: var(--section); }

/* Journal */
.post-grid { display: grid; gap: 48px var(--grid-gap); padding-bottom: var(--section); }
@media (min-width: 768px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card__media img, .post-card__media .img-placeholder { aspect-ratio: 3/4; object-fit: cover; width: 100%; margin-bottom: 18px; }
.post-card__title { font-family: var(--font-serif); font-size: var(--fs-lg); }
.post-card__excerpt { color: var(--text-muted); font-size: var(--fs-sm); }

.not-found { text-align: center; padding-block: clamp(72px, 12vw, 160px); max-width: 640px; }
.not-found__title { font-size: var(--fs-2xl); }
.not-found__search { display: flex; margin: 32px auto; max-width: 480px; }
.not-found__links { display: flex; justify-content: center; gap: 28px; }
.search-form { display: flex; }

/* 14. Footer -------------------------------------------------------------- */
.site-footer { background: var(--sand); color: var(--text); margin-top: 0; }
.footer-newsletter { border-bottom: 1px solid var(--line); padding-block: clamp(40px, 5vw, 64px); }
.footer-newsletter__inner { display: grid; gap: 24px; align-items: center; }
.footer-newsletter__title { font-size: var(--fs-xl); margin-bottom: .25em; }
.footer-newsletter p { margin: 0; color: var(--text-muted); }
@media (min-width: 900px) { .footer-newsletter__inner { grid-template-columns: 1fr 1fr; gap: 80px; } }
.site-footer__main { display: grid; gap: 40px; padding-block: clamp(48px, 6vw, 88px); }
@media (min-width: 768px) { .site-footer__main { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; } }
.footer-brand__logo { display: inline-block; color: var(--espresso); }
.footer-brand__logo .wordmark { width: 168px; }
.footer-brand__tagline { margin: 16px 0 10px; font-family: var(--font-serif); font-style: italic; font-size: var(--fs-md); }
.footer-brand__text { max-width: 320px; color: var(--text-muted); font-size: var(--fs-sm); }
.footer-col__title { margin: 0 0 16px; font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: 500; letter-spacing: var(--tracking-wider); text-transform: uppercase; }
.footer-col__list { list-style: none; margin: 0; padding: 0; }
.footer-col__list a { display: inline-block; padding: 5px 0; font-size: var(--fs-sm); color: #4b423d; }
.footer-col__list a:hover { color: var(--espresso); text-decoration: underline; text-underline-offset: 3px; }
.social-links { list-style: none; margin: 20px 0 0; padding: 0; display: flex; gap: 4px; }
.social-links a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; margin-left: -10px; margin-right: 10px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 22px; border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--text-muted); }
.site-footer__bottom p { margin: 0; }
.legal-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.legal-nav a:hover { color: var(--text); }

@media (max-width: 767px) {
	.site-footer__main nav.footer-col { border-top: 1px solid var(--line); padding-top: 24px; }
}

/* 15. Utilities & motion -------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.reveal { opacity: 1; transform: none; }
}

@media print {
	.site-header, .site-footer, .announcement, .drawer, .toast { display: none !important; }
	body { background: #fff; }
}

/* Small-screen refinements */
@media (max-width: 599px) {
	.site-header__account { display: none; }
	.section-head { flex-wrap: wrap; align-items: flex-start; gap: 12px; }
	.section-head .link-arrow { order: 2; }
}

/* Account: login / register */
.woocommerce-account:not(.logged-in) .entry-content > .woocommerce { max-width: 980px; }
.woocommerce-account:not(.logged-in) .woocommerce-form-login:only-child { max-width: 460px; }
.woocommerce-form-login, .woocommerce-form-register { display: grid; gap: 4px; }
.password-input { position: relative; display: block; }
.password-input input { padding-right: 64px; }
.show-password-input { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); padding: 8px; }
.show-password-input::after { content: "Show"; }
.show-password-input.display-password::after { content: "Hide"; }
.woocommerce-form-login__submit, .woocommerce-form-register__submit { width: 100%; margin-top: 8px; }

/* Editor font-size presets used in page content */
.has-large-font-size { font-family: var(--font-serif); font-size: var(--fs-lg) !important; line-height: 1.5; }
.entry-content h3.wp-block-heading { font-size: var(--fs-xs); letter-spacing: var(--tracking-wider); text-transform: uppercase; color: var(--text-muted); margin: 2.4em 0 .6em; }
.is-store-page .page-header { padding-bottom: 8px; }

/* Grouped mega menu (Clothing / Shoes / Bags / Accessories / Discover) ---------------- */
@media (min-width: 1024px) {
	.nav-panel__inner { grid-template-columns: 1fr 230px; gap: 56px; padding-top: 36px; }
	.nav-panel__list:has(> .nav-group) {
		columns: auto; display: grid; gap: 28px 40px;
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); align-items: start;
	}
	.nav-panel__list > .nav-group:has(.nav-panel__sub > li:nth-child(9)) { grid-column: span 2; }
	.nav-panel__list > .nav-group:has(.nav-panel__sub > li:nth-child(9)) .nav-panel__sub { columns: 2; column-gap: 40px; }
	.nav-group > .nav-panel__link {
		display: block; padding: 0 0 12px; margin-bottom: 6px; border-bottom: 1px solid var(--line);
		font-size: 11px; font-weight: 500; letter-spacing: var(--tracking-wider); text-transform: uppercase; color: var(--espresso);
	}
	.nav-group > .nav-panel__link:hover { text-decoration: none; color: var(--text-muted); }
	.nav-group .nav-panel__sub { padding: 0; margin: 0; }
	.nav-group .nav-panel__sub .nav-panel__link { color: var(--text); font-size: var(--fs-sm); padding: 5px 0; }
	.nav-group .nav-panel__sub li { break-inside: avoid; }
	.nav-group--discover .nav-panel__sub .nav-panel__link { font-family: var(--font-serif); font-size: var(--fs-md); font-style: italic; padding: 4px 0; }
	.nav-panel__list:has(> .nav-group) > .nav-panel__all { grid-column: 1 / -1; padding-top: 4px; }
}
.mobile-nav .nav-group > .nav-panel__link {
	padding: 16px 0 6px; font-size: 11px; font-weight: 500; letter-spacing: var(--tracking-wider); text-transform: uppercase; color: var(--text-muted);
}
.mobile-nav .nav-group .nav-panel__sub { padding-left: 0; }

/* Cart page (Shopify-style) ------------------------------------------------------------ */
.is-cart-page .entry-content { padding-bottom: var(--section); }
.m-cart { padding-top: clamp(32px, 5vw, 64px); transition: opacity .25s var(--ease); }
.is-updating { opacity: .55; pointer-events: none; }
.m-cart__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: clamp(24px, 3vw, 40px); }
.m-cart__title { margin: 0; font-size: var(--fs-2xl); }
.m-cart__count { font-family: var(--font-sans); font-size: var(--fs-md); color: var(--text-muted); vertical-align: middle; }
.m-cart__layout { display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (min-width: 1000px) { .m-cart__layout { grid-template-columns: minmax(0, 1fr) 380px; } }
.m-cart__table { width: 100%; border-collapse: collapse; }
.m-cart__table thead th { padding: 0 0 14px; border-bottom: 1px solid var(--line); text-align: left; font-size: 11px; font-weight: 500; letter-spacing: var(--tracking-wider); text-transform: uppercase; color: var(--text-muted); }
.m-cart__table .m-cart__th-qty { width: 190px; }
table.shop_table .m-cart__th-total, table.shop_table td.m-cart__total { text-align: right; width: 120px; }
.m-cart__row > td { padding: 28px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.m-cart__row.is-removing { opacity: .3; }
.m-cart__product { display: flex; gap: 20px; }
.m-cart__thumb { flex: none; width: 104px; background: var(--beige); }
table.shop_table .m-cart__thumb img, .m-cart__thumb img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.m-cart__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding-right: 16px; }
.m-cart__name { font-size: var(--fs-md); line-height: 1.35; }
.m-cart__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.m-cart__unit { font-size: var(--fs-sm); color: var(--text-muted); }
.m-cart__info dl.variation { display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; margin: 6px 0 0; font-size: var(--fs-sm); color: #4b423d; }
.m-cart__info dl.variation dt, .m-cart__info dl.variation dd { margin: 0; }
.m-cart__info dl.variation dd p { margin: 0; }
.m-qty { display: flex; align-items: center; gap: 10px; }
.m-qty__stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--line-strong); background: var(--white); height: 46px; }
.m-qty__btn { width: 40px; border: 0; background: none; display: inline-flex; align-items: center; justify-content: center; color: var(--espresso); }
.m-qty__btn:hover { background: var(--sand); }
.m-qty__input { width: 44px !important; min-height: 0 !important; height: 100%; padding: 0 !important; border: 0 !important; text-align: center; background: transparent !important; -moz-appearance: textfield; }
.m-qty__input::-webkit-outer-spin-button, .m-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.m-qty__single { display: inline-flex; align-items: center; height: 46px; padding: 0 16px; border: 1px solid var(--line); }
.m-cart__remove { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; color: var(--text-muted); }
.m-cart__remove:hover { color: var(--clay); }
.m-cart__total { font-size: var(--fs-md); }
.m-cart__total del { color: var(--text-muted); font-size: var(--fs-sm); margin-right: 6px; }
.m-cart__actions { display: flex; justify-content: flex-end; gap: 12px; padding-top: 20px; }
.js .m-cart__update { display: none; }
.m-cart__summary { background: var(--white); padding: clamp(24px, 3vw, 36px); }
@media (min-width: 1000px) { .m-cart__summary { position: sticky; top: calc(var(--header-h) + 72px); } }
.m-cart__totals { margin: 0; display: grid; gap: 10px; }
.m-cart__totals > div { display: flex; justify-content: space-between; gap: 16px; font-size: var(--fs-base); }
.m-cart__totals dt, .m-cart__totals dd { margin: 0; }
.m-cart__discount dd { color: var(--success); }
.m-cart__discount a { font-size: var(--fs-xs); margin-left: 6px; color: var(--text-muted); text-decoration: underline; }
.m-cart__estimate { padding-top: 16px; margin-top: 6px; border-top: 1px solid var(--line); align-items: baseline; }
.m-cart__estimate dt { font-weight: 500; }
.m-cart__estimate dd { font-family: var(--font-serif); font-size: var(--fs-xl); }
.m-cart__note { margin: 10px 0 22px; font-size: var(--fs-sm); color: var(--text-muted); }
.m-cart__checkout .checkout-button, .m-cart__checkout a.button {
	display: flex; width: 100%; min-height: 56px; align-items: center; justify-content: center;
	background: var(--espresso); color: var(--ivory); font-size: var(--fs-xs); font-weight: 500; letter-spacing: var(--tracking-wide); text-transform: uppercase;
}
.m-cart__checkout .checkout-button:hover { background: var(--charcoal); color: var(--ivory); }
.m-cart__assurance { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 8px; font-size: var(--fs-xs); color: var(--text-muted); }
.m-cart__assurance li { display: flex; align-items: center; gap: 8px; }
.m-cart__collaterals .cross-sells { padding-top: clamp(56px, 7vw, 96px); }
.m-cart__collaterals .cross-sells > h2 { font-size: var(--fs-xl); margin-bottom: 28px; }
.m-cart--empty { text-align: center; padding-block: clamp(64px, 10vw, 140px); }
.m-cart__empty-text { color: var(--text-muted); margin: 12px 0 28px; }
.m-cart__login { margin-top: 28px; font-size: var(--fs-sm); color: var(--text-muted); }
.m-cart__login a { text-decoration: underline; text-underline-offset: 3px; color: var(--text); }
@media (max-width: 749px) {
	.m-cart__table thead { display: none; }
	.m-cart__table, .m-cart__table tbody { display: block; }
	.m-cart__row { display: grid; grid-template-columns: 1fr auto; padding: 22px 0; border-bottom: 1px solid var(--line); }
	.m-cart__row > td { display: block; padding: 0; border: 0; width: auto !important; }
	.m-cart__product { grid-column: 1 / -1; }
	.m-cart__thumb { width: 88px; }
	.m-cart__qty { padding: 14px 0 0 108px !important; }
	.m-cart__total { align-self: end; }
}

/* Checkout: distraction-free, Shopify-style split ----------------------------------------- */
.checkout-header { background: var(--white); border-bottom: 1px solid var(--line); }
.checkout-header__bar { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); min-height: 76px; display: flex; align-items: center; gap: 20px; }
.checkout-header__logo { color: var(--espresso); line-height: 0; margin-right: auto; }
.checkout-header__logo .wordmark { width: 168px; }
.checkout-header__secure { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.checkout-header__bag { color: var(--espresso); }
.checkout-footer { max-width: 1120px; margin: 0 auto; padding: 18px var(--gutter) 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: var(--fs-xs); color: var(--text-muted); border-top: 1px solid var(--line); }
.checkout-footer p { margin: 0; }
.checkout-footer__links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.checkout-footer__links a { text-decoration: underline; text-underline-offset: 3px; }

body.is-focus-checkout { background: var(--white); }
.is-focus-checkout .site-main--page .entry-content { max-width: 1120px; padding-bottom: 0; }
.is-focus-checkout .wp-block-woocommerce-checkout { margin: 0; padding: 0; }
.is-focus-checkout .wc-block-components-sidebar-layout { margin: 0 !important; }
@media (min-width: 1000px) {
	/* Columns: form 55% on white, summary 45% on a sand panel that is painted by the
	   summary column itself (extends to the right edge and the full height of the page). */
	.is-focus-checkout .wc-block-components-sidebar-layout {
		flex-wrap: nowrap !important; align-items: stretch !important; gap: 0 !important;
		min-height: calc(100vh - 77px - 101px);
	}
	.is-focus-checkout .wc-block-components-sidebar-layout .wc-block-checkout__main {
		flex: 0 0 55% !important; width: 55% !important; max-width: none !important;
		padding: 48px 64px 72px 0 !important; box-sizing: border-box; background: var(--white);
	}
	.is-focus-checkout .wc-block-components-sidebar-layout .wc-block-checkout__sidebar {
		flex: 0 0 45% !important; width: 45% !important; max-width: none !important;
		position: relative !important; top: auto !important; align-self: stretch !important; margin: 0 !important;
		padding: 48px 0 72px 56px !important; box-sizing: border-box;
		background: var(--sand);
		box-shadow: 0 0 0 100vmax var(--sand);
		clip-path: inset(0 -100vmax 0 0);
		border-left: 1px solid rgba(53, 43, 38, .1);
	}
	.is-focus-checkout .wc-block-checkout__sidebar > * { position: sticky; top: 24px; }
	.admin-bar.is-focus-checkout .wc-block-checkout__sidebar > * { top: 56px; }
}

.is-focus-checkout .wc-block-components-checkout-step__title,
.is-focus-checkout .wc-block-components-title.wc-block-components-title {
	font-family: var(--font-sans) !important; font-size: 1.25rem !important; font-weight: 500 !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--charcoal);
}
.is-focus-checkout .wc-block-components-checkout-step { margin-bottom: 28px !important; }
.is-focus-checkout .wc-block-components-checkout-step__heading { margin-bottom: 12px; }
.is-focus-checkout .wc-block-components-checkout-step__container::after, .is-focus-checkout .wc-block-components-checkout-step::after { display: none !important; }
.is-focus-checkout .wc-block-components-checkout-step__content > * { margin-bottom: 0; }
.is-focus-checkout .wc-block-components-text-input input,
.is-focus-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
.is-focus-checkout .wc-blocks-components-select .wc-blocks-components-select__select {
	border-radius: 5px !important; border: 1px solid #D9D3CB !important; background: var(--white) !important; min-height: 52px; font-size: 15px !important;
}
.is-focus-checkout .wc-block-components-text-input.is-active input:focus, .is-focus-checkout .wc-blocks-components-select__select:focus { border-color: var(--espresso) !important; box-shadow: 0 0 0 1px var(--espresso) !important; }
.is-focus-checkout .wc-block-components-radio-control--highlight-checked, .is-focus-checkout .wc-block-components-radio-control-accordion-option { border-radius: 5px !important; }
.is-focus-checkout .wc-block-components-radio-control--highlight-checked::after { border-color: #D9D3CB !important; border-radius: 5px; }
.is-focus-checkout .wc-block-components-radio-control__option--checked-option-highlighted, .is-focus-checkout .wc-block-components-radio-control-accordion-option--checked-option-highlighted { box-shadow: inset 0 0 0 1px var(--espresso) !important; background: #FBFAF7; }
.is-focus-checkout .wc-block-components-radio-control__input:checked { border-color: var(--espresso) !important; }
.is-focus-checkout .wc-block-components-radio-control__input:checked::before { background: var(--espresso) !important; }
.is-focus-checkout .wc-block-components-checkbox__input[type="checkbox"]:checked { background: var(--espresso) !important; border-color: var(--espresso) !important; }
.is-focus-checkout .wc-block-components-checkout-place-order-button {
	width: 100%; min-height: 58px !important; border-radius: 5px !important; font-size: 13px !important; letter-spacing: .14em !important;
}
.is-focus-checkout .wc-block-components-checkout-return-to-cart-button { font-size: var(--fs-sm); color: var(--espresso) !important; text-decoration: underline; text-underline-offset: 3px; }
.is-focus-checkout .wc-block-checkout__actions_row { gap: 20px; }
.is-focus-checkout .wc-block-components-notice-banner { border-radius: 5px !important; }

/* Order summary panel */
.is-focus-checkout .wc-block-checkout__sidebar .wc-block-components-totals-wrapper,
.is-focus-checkout .wc-block-checkout__sidebar .wc-block-components-order-summary,
.is-focus-checkout .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block { border-color: rgba(53,43,38,.12) !important; background: transparent !important; }
.is-focus-checkout .wp-block-woocommerce-checkout-order-summary-block { border: 0 !important; }
.is-focus-checkout .wc-block-components-checkout-order-summary__title { border: 0 !important; }
.is-focus-checkout .wc-block-components-order-summary-item { padding: 12px 0 !important; align-items: center; }
.is-focus-checkout .wc-block-components-order-summary-item__image { width: 64px !important; }
.is-focus-checkout .wc-block-components-order-summary-item__image img { width: 64px !important; height: 80px; object-fit: cover; border-radius: 6px; border: 1px solid rgba(53,43,38,.12); background: var(--white); }
.is-focus-checkout .wc-block-components-order-summary-item__quantity {
	background: var(--stone) !important; color: var(--white) !important; border: 0 !important; box-shadow: none !important;
	min-width: 22px; height: 22px; border-radius: 11px !important; font-size: 11px; font-weight: 500;
}
.is-focus-checkout .wc-block-components-product-name { font-size: var(--fs-sm) !important; font-weight: 500; }
.is-focus-checkout .wc-block-components-product-metadata { font-size: var(--fs-xs); color: var(--text-muted); }
.is-focus-checkout .wc-block-components-totals-item { font-size: var(--fs-sm); }
.is-focus-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-size: 1.125rem; font-weight: 500; }
.is-focus-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-size: 1.5rem; font-weight: 500; }
.is-focus-checkout .wc-block-components-totals-coupon__form .wc-block-components-button { min-height: 52px !important; border-radius: 5px !important; }
.is-focus-checkout .entry-content .alignwide, .is-cart-page .entry-content .alignwide { width: auto; margin-left: 0; margin-right: 0; transform: none; max-width: none; }
.is-focus-checkout .wc-block-components-sidebar { background: transparent; }
table.shop_table .m-cart__th-qty, table.shop_table td.m-cart__qty { width: 190px; }
.m-cart__variant { margin: 4px 0 0; font-size: var(--fs-sm); color: #4b423d; }
.m-cart__variant span + span::before { content: " · "; color: var(--text-muted); }
.m-cart__estimate dd { font-family: var(--font-sans); font-size: 1.5rem; font-weight: 500; letter-spacing: -.01em; }
@media (max-width: 749px) {
	.m-cart__row > td.m-cart__product { display: flex; gap: 16px; }
	.m-cart__thumb { width: 88px; }
}
@media (max-width: 599px) {
	.checkout-header__secure span, .checkout-header__secure { font-size: 0; gap: 0; }
	.checkout-header__secure .icon { width: 18px; height: 18px; }
	.checkout-header__logo .wordmark { width: 140px; }
}
.variations tr.needs-choice th.label label { color: var(--clay); }
.variations tr.needs-choice .opt-group { animation: nudge .35s var(--ease); }
@keyframes nudge { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.is-focus-checkout .checkout-footer { border-top: 0; }
.is-focus-checkout .site-main { border-bottom: 1px solid var(--line); }
@media (max-width: 999px) {
	/* Mobile: collapsible order summary bar sits on a full-bleed sand band, form stays on white */
	.is-focus-checkout .wc-block-checkout__sidebar {
		background: var(--sand) !important; box-shadow: 0 0 0 100vmax var(--sand); clip-path: inset(0 -100vmax);
		padding: 4px 0 !important; margin-bottom: 24px !important; border-bottom: 1px solid rgba(53, 43, 38, .1);
	}
}
.is-focus-checkout .wc-block-checkout__use-address-for-billing { margin-top: 18px !important; }
.is-focus-checkout .wc-block-checkout__use-address-for-billing label { font-size: var(--fs-base); }

/* Product page rails: exactly one row of four on tablet/desktop, 2 × 2 on phones */
.pdp-after .related ul.products, .pdp-after .upsells ul.products, .pdp-after .rail ul.products { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) {
	.pdp-after .related ul.products, .pdp-after .upsells ul.products, .pdp-after .rail ul.products { grid-template-columns: repeat(4, 1fr); }
}
.pdp-after .related ul.products > li:nth-child(n+5), .pdp-after .rail ul.products > li:nth-child(n+5) { display: none; }

/* Customer sign-in / create account (6-digit email code) ----------------------------- */
.auth-modal { width: min(460px, calc(100% - 24px)); background: var(--ivory); }
.auth-modal__inner { padding: 6px clamp(22px, 5vw, 40px) 34px; }
.auth-modal__head { display: flex; justify-content: space-between; align-items: center; padding: 10px 0 8px; margin: 0 -10px 6px 0; }
.auth-modal__logo .wordmark { width: 118px; color: var(--espresso); }
.auth__tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.auth__tab { padding: 14px 0 12px; border: 0; border-bottom: 1px solid transparent; margin-bottom: -1px; background: none; font-size: var(--fs-xs); font-weight: 500; letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--text-muted); }
.auth__tab[aria-selected="true"] { color: var(--espresso); border-bottom-color: var(--espresso); }
.auth__step { display: grid; gap: 0; }
.auth__title { margin: 0 0 8px; font-size: var(--fs-xl); }
.auth__lede { margin: 0 0 22px; color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.6; }
.auth__lede strong { color: var(--text); font-weight: 500; overflow-wrap: anywhere; }
.auth .field { margin-bottom: 14px; }
.auth .field-row { gap: 0 12px; grid-template-columns: 1fr 1fr; }
.auth__opt { text-transform: none; letter-spacing: 0; color: var(--text-muted); font-weight: 400; }
.auth__check { display: flex; gap: 10px; align-items: flex-start; margin: 2px 0 18px; font-size: var(--fs-sm); color: #4b423d; cursor: pointer; }
.auth__check input { margin-top: 3px; flex: none; }
.auth__error { min-height: 1.2em; margin: 0 0 12px; font-size: var(--fs-sm); color: var(--clay); }
.auth__error:empty { margin: 0; min-height: 0; }
.auth__suggest { color: var(--espresso); font-size: var(--fs-sm); }
.auth__legal { margin: 14px 0 0; font-size: var(--fs-xs); color: var(--text-muted); text-align: center; }
.auth__legal a { text-decoration: underline; text-underline-offset: 2px; }
.auth__links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.auth__links .link-btn:disabled { color: var(--text-muted); text-decoration: none; cursor: default; }
.auth__hint { margin: 14px 0 0; font-size: var(--fs-xs); color: var(--text-muted); }
.otp { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; border: 0; padding: 0; margin: 0 0 16px; }
.otp input { min-height: 0; height: 60px; padding: 0; text-align: center; font-family: var(--font-serif); font-size: 1.75rem; background: var(--white); border-color: var(--line-strong); caret-color: var(--espresso); }
.otp input:focus { border-color: var(--espresso); box-shadow: 0 0 0 1px var(--espresso); }
.otp.is-shake { animation: nudge .35s var(--ease); }
.auth__done { text-align: center; justify-items: center; padding: 24px 0 8px; color: var(--success); }
.auth__done .auth__title { color: var(--text); margin-top: 12px; }
.auth-page { max-width: 460px; margin: 8px auto 0; padding: clamp(24px, 4vw, 40px); background: var(--white); }
.auth-page__staff { margin: 22px 0 0; text-align: center; font-size: var(--fs-xs); color: var(--text-muted); }
.auth-page__staff a { text-decoration: underline; text-underline-offset: 2px; }
.woocommerce-account:not(.logged-in) .page-header { text-align: center; }
@media (max-width: 599px) {
	.auth-modal { width: 100%; max-width: 100%; inset: auto 0 0 0; margin: 0; max-height: calc(100dvh - 24px); overflow-y: auto; padding-bottom: env(safe-area-inset-bottom, 0px); }
	.auth-modal[open] { animation: sheet-up .3s var(--ease); }
	.otp { gap: 6px; }
	.otp input { height: 54px; font-size: 1.5rem; }
}
@keyframes sheet-up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Language & currency ------------------------------------------------------------------ */
.site-header__region { display: none; }
@media (min-width: 1024px) {
	.site-header__region { display: inline-flex; gap: .45rem; margin-right: 6px; }
	.site-header__region .site-header__label { letter-spacing: .12em; }
}
.region-link { display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.region-link:hover span { text-decoration: underline; text-underline-offset: 3px; }
.region-link--drawer { padding: 10px 0; font-size: var(--fs-sm); }
.region-link--footer { font-size: var(--fs-xs); color: var(--text-muted); }
.region-link--footer .icon { width: 15px; height: 15px; }

.region-modal { width: min(520px, calc(100% - 24px)); background: var(--ivory); }
.region-modal__inner { padding: 6px clamp(22px, 5vw, 40px) 32px; }
.region-modal__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 0 10px; margin: 0 -10px 14px 0; border-bottom: 1px solid var(--line); }
.region-modal__title { margin: 0; font-size: var(--fs-lg); }
.region-modal__group { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.region-modal__legend { padding: 0; margin: 0 0 12px; font-size: var(--fs-xs); font-weight: 500; letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--text-muted); }
.region-modal__langs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.region-pill { position: relative; }
.region-pill input, .region-option input { position: absolute; opacity: 0; pointer-events: none; }
.region-pill span { display: flex; align-items: center; justify-content: center; min-height: 46px; border: 1px solid var(--line-strong); background: var(--white); font-size: var(--fs-sm); cursor: pointer; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.region-pill input:checked + span { border-color: var(--espresso); box-shadow: inset 0 0 0 1px var(--espresso); font-weight: 500; }
.region-pill input:focus-visible + span, .region-option input:focus-visible ~ .region-option__code { outline: 2px solid var(--espresso); outline-offset: 2px; }
.region-modal__currencies { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; max-height: min(46vh, 380px); overflow-y: auto; border-top: 1px solid var(--line); }
.region-option { position: relative; display: flex; align-items: baseline; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); cursor: pointer; font-size: var(--fs-sm); }
.region-option__code { flex: none; width: 3.2em; font-weight: 500; letter-spacing: .06em; }
.region-option__name { color: var(--text-muted); }
.region-option input:checked ~ .region-option__code, .region-option input:checked ~ .region-option__name { color: var(--espresso); }
.region-option input:checked ~ .region-option__name::after { content: "✓"; margin-left: 8px; color: var(--espresso); }
.region-modal__note { margin: 12px 0 0; font-size: var(--fs-xs); color: var(--text-muted); }
@media (max-width: 479px) { .region-modal__currencies { grid-template-columns: 1fr; } }
@media (max-width: 767px) {
	.region-modal { width: 100%; max-width: none; margin: auto 0 0; max-height: 92dvh; }
}
