/* Built by soumm_style_bundle() from the files named below. Edit those, not this. */

/* --- assets/css/fonts.css --- */
/* Montserrat variable 300-700, self-hosted. Latin subsets only -
   the Cyrillic and Vietnamese subsets in the prototypes are dropped.

   The rupee sign (U+20B9) is left out of latin-ext on purpose (1 November
   2026): it was usually the only character on a page in that range, so every
   price downloaded the 67 KB latin-ext file. It now draws from the system
   font next in the stack, which has it. */

@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/montserrat-latin-ext-italic.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-20B8, U+20BA-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/montserrat-latin-italic.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: 'Montserrat';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/montserrat-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-20B8, U+20BA-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/montserrat-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;
}

/* --- assets/css/tokens.css --- */
/**
 * Soumm design tokens.
 *
 * Every value here was measured off the design prototypes. Nothing in the
 * theme should hardcode a colour, a size or a duration — it comes from here.
 *
 * The design has exactly one breakpoint: 1000px. CSS cannot hold a media
 * query in a custom property, so that number appears literally in the other
 * stylesheets, always with a comment.
 */

:root {
	/* --- Colour ------------------------------------------------------- */
	--soumm-ink: #173A34;          /* deep green: body text, buttons        */
	--soumm-brass: #B08A52;        /* accent: eyebrows, hover               */
	--soumm-page: #FCFBF8;         /* ivory: default ground                 */
	--soumm-surface-alt: #F8F5F0;  /* warm cream: alternating sections      */
	--soumm-line: #EAE4DA;         /* borders, rules                        */
	--soumm-muted: #8B847A;        /* secondary text, captions              */
	--soumm-on-ink: #FCFBF8;       /* text on the deep green ground         */

	/* Derived. Kept as tokens so a brand change stays in this file. */
	--soumm-ink-08: rgba(23, 58, 52, 0.08);
	--soumm-ink-14: rgba(23, 58, 52, 0.14);
	--soumm-page-90: rgba(252, 251, 248, 0.9);

	/* --- Type --------------------------------------------------------- */
	--soumm-font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;

	--soumm-fs-display: clamp(30px, 4vw, 58px);
	--soumm-fs-h2: clamp(24px, 3.26vw, 47px);
	--soumm-fs-h3: clamp(19px, 1.85vw, 27px);
	--soumm-fs-h4: clamp(17px, 1.4vw, 21px);
	--soumm-fs-body: 16px;
	--soumm-fs-small: 15px;
	--soumm-fs-meta: 12px;
	--soumm-fs-eyebrow: 12px;
	--soumm-fs-nav: 11px;
	--soumm-fs-btn: 10px;

	--soumm-lh-display: 1.06;
	--soumm-lh-h2: 1.08;
	--soumm-lh-h3: 1.18;
	--soumm-lh-body: 1.9;
	--soumm-lh-tight: 1.5;

	--soumm-ls-display: -0.012em;
	--soumm-ls-eyebrow: 0.22em;
	--soumm-ls-nav: 0.18em;

	--soumm-fw-body: 400;
	--soumm-fw-head: 500;
	--soumm-fw-btn: 700;

	/* --- Layout ------------------------------------------------------- */
	--soumm-container: 1580px;
	--soumm-gutter: clamp(20px, 4vw, 72px);
	/* One vertical rhythm for every section (tightened 2026-11-01; the
	   prototypes ran 130–190px per side). Templates use these inline. */
	--soumm-section-y: clamp(56px, 7vw, 104px);
	--soumm-section-y-sm: clamp(40px, 4.5vw, 64px);
	--soumm-header-h: clamp(68px, 6.6vw, 92px);
	--soumm-page-top: calc(var(--soumm-header-h) + clamp(32px, 4vw, 60px)); /* first section, below the fixed header */
	--soumm-head-gap: clamp(36px, 4vw, 60px); /* section intro to its content */
	--soumm-col-gap: clamp(36px, 5vw, 90px);
	--soumm-stack: clamp(24px, 2.8vw, 38px);
	--soumm-measure: 34em;
	--soumm-measure-tight: 18em;

	/* --- Shape and motion --------------------------------------------- */
	--soumm-radius-pill: 999px;
	--soumm-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--soumm-dur: 500ms;
	--soumm-dur-slow: 600ms;
	--soumm-dur-fast: 240ms;
}

/* --- assets/css/proto.css --- */
/**
 * Prototype base.
 *
 * The design prototypes carry their own reset and keyframes. The ported
 * templates keep their inline styles, so this supplies exactly the global
 * rules those styles were written against — nothing more.
 */

html {
	scroll-behavior: smooth;
	scroll-padding-top: clamp(80px, 8vw, 110px);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: #FCFBF8;
	color: #2E2E2E;
	font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

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

a {
	color: #173A34;
	text-decoration: none;
}

a:hover {
	color: #B08A52;
}

::selection {
	background: #EAE4DA;
	color: #173A34;
}

input,
button,
select,
textarea {
	font: inherit;
}

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

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd {
	margin: 0;
}

ul, ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

[hidden] {
	display: none !important;
}

@keyframes soummFade {
	from { opacity: 0; }
	to   { opacity: 1; }
}

@keyframes soummSpin {
	from { transform: rotate(0deg); }
	to   { transform: rotate(360deg); }
}

/* Focus stays visible for keyboard users; the prototypes relied on the UA
   default, which the reset above would otherwise weaken. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
	outline: 2px solid #B08A52;
	outline-offset: 3px;
}

.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.skip-link:focus {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 1000;
	clip-path: none;
	width: auto;
	height: auto;
	padding: 12px 20px;
	background: #173A34;
	color: #FCFBF8;
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* --- assets/css/components.css --- */
/**
 * Soumm component layer.
 *
 * One class per component, no element selectors, no nesting beyond one level
 * of descendant — so nothing here can silently override base.css or layout.css.
 */

/* ====================================================================== */
/*  Eyebrow                                                               */
/* ====================================================================== */
.s-eyebrow {
	font-size: var(--soumm-fs-eyebrow);
	font-weight: 400;
	letter-spacing: var(--soumm-ls-eyebrow);
	text-transform: uppercase;
	color: var(--soumm-brass);
	margin: 0;
}

.s-eyebrow--muted {
	color: var(--soumm-muted);
}

/* ====================================================================== */
/*  Buttons                                                               */
/* ====================================================================== */
.s-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: var(--soumm-ink);
	color: var(--soumm-on-ink);
	font-size: var(--soumm-fs-btn);
	font-weight: var(--soumm-fw-btn);
	letter-spacing: var(--soumm-ls-nav);
	text-transform: uppercase;
	padding: 18px 34px;
	border: 1px solid var(--soumm-ink);
	border-radius: var(--soumm-radius-pill);
	transition: background var(--soumm-dur) var(--soumm-ease),
		border-color var(--soumm-dur) var(--soumm-ease),
		color var(--soumm-dur) var(--soumm-ease);
	cursor: pointer;
	text-align: center;
}

.s-btn:hover {
	background: var(--soumm-brass);
	border-color: var(--soumm-brass);
	color: var(--soumm-on-ink);
}

.s-btn:disabled,
.s-btn[aria-disabled="true"] {
	opacity: 0.45;
	pointer-events: none;
}

.s-btn--ghost {
	background: transparent;
	color: var(--soumm-ink);
	border-color: var(--soumm-ink);
}

.s-btn--ghost:hover {
	background: var(--soumm-ink);
	color: var(--soumm-on-ink);
	border-color: var(--soumm-ink);
}

.s-btn--on-ink {
	background: var(--soumm-on-ink);
	color: var(--soumm-ink);
	border-color: var(--soumm-on-ink);
}

.s-btn--on-ink:hover {
	background: var(--soumm-brass);
	border-color: var(--soumm-brass);
	color: var(--soumm-on-ink);
}

.s-btn--block {
	width: 100%;
}

/* Text link with a trailing arrow, used all through the design. */
.s-arrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: var(--soumm-fs-eyebrow);
	letter-spacing: var(--soumm-ls-nav);
	text-transform: uppercase;
	color: var(--soumm-muted);
}

.s-arrow:hover {
	color: var(--soumm-ink);
}

.s-arrow svg {
	flex: none;
	transition: transform var(--soumm-dur) var(--soumm-ease);
}

.s-arrow:hover svg {
	transform: translateX(4px);
}

/* ====================================================================== */
/*  Text blocks                                                           */
/* ====================================================================== */
.s-lede {
	font-size: var(--soumm-fs-body);
	line-height: var(--soumm-lh-body);
	color: var(--soumm-ink);
	max-width: var(--soumm-measure);
}

.s-body {
	font-size: var(--soumm-fs-body);
	line-height: var(--soumm-lh-body);
	max-width: var(--soumm-measure);
}

.s-body p + p {
	margin-top: 14px;
}

.s-small {
	font-size: var(--soumm-fs-small);
	line-height: 1.85;
}

.s-meta {
	font-size: var(--soumm-fs-meta);
	color: var(--soumm-muted);
	letter-spacing: 0.02em;
}

.s-quote {
	font-size: var(--soumm-fs-h3);
	line-height: 1.5;
	font-weight: 400;
	color: var(--soumm-ink);
	max-width: 22em;
}

/* ====================================================================== */
/*  Rules                                                                 */
/* ====================================================================== */
.s-rule {
	height: 1px;
	background: var(--soumm-line);
	border: 0;
}

/* ====================================================================== */
/*  Image slot — renders photography direction until a photo is assigned   */
/* ====================================================================== */
.s-img {
	position: relative;
	overflow: hidden;
	background: var(--soumm-surface-alt);
}

.s-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.s-img--4x5 {
	aspect-ratio: 4 / 5;
}

.s-img--16x9 {
	aspect-ratio: 16 / 9;
}

.s-img--1x1 {
	aspect-ratio: 1 / 1;
}

.s-img__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	gap: 10px;
	padding: clamp(16px, 2vw, 26px);
	background: var(--soumm-surface-alt);
	border: 1px solid var(--soumm-line);
}

.s-img__placeholder::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(var(--soumm-line) 1px, transparent 1px),
		linear-gradient(90deg, var(--soumm-line) 1px, transparent 1px);
	background-size: 44px 44px;
	opacity: 0.5;
	pointer-events: none;
}

.s-img__tag {
	position: relative;
	font-size: 10px;
	letter-spacing: var(--soumm-ls-eyebrow);
	text-transform: uppercase;
	color: var(--soumm-brass);
}

.s-img__note {
	position: relative;
	font-size: var(--soumm-fs-meta);
	line-height: 1.6;
	color: var(--soumm-muted);
	max-width: 30em;
}

/* ====================================================================== */
/*  Cards                                                                 */
/* ====================================================================== */
.s-card {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.s-card__title {
	font-size: var(--soumm-fs-h4);
	line-height: 1.25;
	font-weight: var(--soumm-fw-head);
	color: var(--soumm-ink);
	transition: color var(--soumm-dur) var(--soumm-ease);
}

.s-card__body {
	font-size: var(--soumm-fs-small);
	line-height: 1.8;
	color: var(--soumm-ink);
}

.s-card__kind {
	font-size: 10px;
	letter-spacing: var(--soumm-ls-eyebrow);
	text-transform: uppercase;
	color: var(--soumm-brass);
}

.s-card--panel {
	background: var(--soumm-page);
	border: 1px solid var(--soumm-line);
	padding: clamp(24px, 3vw, 40px);
	gap: 14px;
}

.s-card--alt {
	background: var(--soumm-surface-alt);
	border: 1px solid var(--soumm-line);
	padding: clamp(24px, 3vw, 40px);
	gap: 14px;
}

.s-card__link {
	display: block;
	color: inherit;
}

.s-card__link:hover .s-card__title {
	color: var(--soumm-brass);
}

/* ====================================================================== */
/*  Accordion — product panels, FAQs, policies                            */
/* ====================================================================== */
.s-acc {
	border-top: 1px solid var(--soumm-line);
}

.s-acc__item {
	border-bottom: 1px solid var(--soumm-line);
}

.s-acc__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	padding: 24px 0;
	text-align: left;
	font-size: var(--soumm-fs-body);
	line-height: 1.5;
	color: var(--soumm-ink);
	transition: color var(--soumm-dur) var(--soumm-ease);
}

.s-acc__trigger:hover {
	color: var(--soumm-brass);
}

.s-acc__sign {
	flex: none;
	width: 14px;
	height: 14px;
	position: relative;
}

.s-acc__sign::before,
.s-acc__sign::after {
	content: "";
	position: absolute;
	background: currentColor;
	transition: transform var(--soumm-dur) var(--soumm-ease),
		opacity var(--soumm-dur) var(--soumm-ease);
}

.s-acc__sign::before {
	top: 6px;
	left: 0;
	right: 0;
	height: 1px;
}

.s-acc__sign::after {
	top: 0;
	left: 6px;
	width: 1px;
	height: 14px;
}

.s-acc__trigger[aria-expanded="true"] .s-acc__sign::after {
	transform: scaleY(0);
	opacity: 0;
}

.s-acc__panel {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows var(--soumm-dur) var(--soumm-ease);
}

.s-acc__panel[data-open="true"] {
	grid-template-rows: 1fr;
}

.s-acc__inner {
	overflow: hidden;
}

.s-acc__content {
	padding-bottom: 26px;
	font-size: var(--soumm-fs-small);
	line-height: 1.85;
	color: var(--soumm-ink);
	max-width: var(--soumm-measure);
}

/* ====================================================================== */
/*  Forms                                                                 */
/* ====================================================================== */
.s-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.s-label {
	font-size: 11px;
	letter-spacing: var(--soumm-ls-nav);
	text-transform: uppercase;
	color: var(--soumm-muted);
}

.s-input,
.s-select,
.s-textarea {
	width: 100%;
	background: var(--soumm-page);
	border: 1px solid var(--soumm-line);
	border-radius: 0;
	padding: 15px 18px;
	font-size: var(--soumm-fs-small);
	color: var(--soumm-ink);
	transition: border-color var(--soumm-dur) var(--soumm-ease);
}

.s-input::placeholder,
.s-textarea::placeholder {
	color: var(--soumm-muted);
}

.s-input:focus,
.s-select:focus,
.s-textarea:focus {
	border-color: var(--soumm-ink);
	outline-offset: 2px;
}

.s-textarea {
	min-height: 150px;
	resize: vertical;
	line-height: 1.75;
}

.s-select {
	appearance: none;
	background-repeat: no-repeat;
	background-position: right 18px center;
	background-size: 12px 8px;
	padding-right: 46px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%238B847A' stroke-width='1'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
}

/* Selectable card: size choice, contact topics, payment methods. */
.s-choice {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.s-choice__option {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	border: 1px solid var(--soumm-line);
	background: var(--soumm-page);
	padding: 14px 22px;
	font-size: var(--soumm-fs-small);
	color: var(--soumm-ink);
	cursor: pointer;
	transition: border-color var(--soumm-dur) var(--soumm-ease),
		background var(--soumm-dur) var(--soumm-ease);
}

.s-choice__option:hover {
	border-color: var(--soumm-muted);
}

.s-choice__option[aria-pressed="true"],
.s-choice__option[data-selected="true"] {
	border-color: var(--soumm-ink);
	background: var(--soumm-surface-alt);
}

.s-choice__option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

/* Quantity stepper. */
.s-qty {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--soumm-line);
}

.s-qty button {
	width: 46px;
	height: 46px;
	display: grid;
	place-items: center;
	font-size: 16px;
	color: var(--soumm-ink);
	transition: background var(--soumm-dur) var(--soumm-ease);
}

.s-qty button:hover {
	background: var(--soumm-surface-alt);
}

.s-qty input {
	width: 46px;
	height: 46px;
	border: 0;
	text-align: center;
	background: transparent;
	font-size: var(--soumm-fs-small);
	font-variant-numeric: tabular-nums;
	-moz-appearance: textfield;
	appearance: textfield;
}

.s-qty input::-webkit-outer-spin-button,
.s-qty input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* ====================================================================== */
/*  Reveal                                                                */
/* ====================================================================== */
/*
 * Removed. `.js .s-reveal` set opacity:0 and waited for an `.is-visible`
 * class that nothing in the theme ever added -- layout.js reveals the
 * `[data-reveal]` ATTRIBUTE, which is a different mechanism. layout.js also
 * puts `js` on <html>, so the rule armed itself on every load and left the
 * content permanently invisible: cart, checkout and my-account all render
 * through page.php, and their entire body sat at opacity 0. The comment here
 * used to claim it animated "from a visible resting state" -- only the hiding
 * half was ever built, so the effect was exactly inverted.
 *
 * Use `data-reveal` for reveals. It works.
 */

/* ====================================================================== */
/*  Tags                                                                  */
/* ====================================================================== */
.s-tag {
	display: inline-block;
	font-size: 10px;
	letter-spacing: var(--soumm-ls-eyebrow);
	text-transform: uppercase;
	color: var(--soumm-muted);
	border: 1px solid var(--soumm-line);
	border-radius: var(--soumm-radius-pill);
	padding: 6px 14px;
}

.s-tag--brass {
	color: var(--soumm-brass);
	border-color: var(--soumm-brass);
}

/* ====================================================================== */
/*  Assurance list — the three lines under the buy box                    */
/* ====================================================================== */
.s-assure {
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: var(--soumm-fs-meta);
	color: var(--soumm-muted);
}

.s-assure li {
	display: flex;
	align-items: baseline;
	gap: 10px;
}

.s-assure li::before {
	content: "";
	flex: none;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--soumm-brass);
	transform: translateY(-2px);
}

/* ====================================================================== */
/*  Breadcrumb                                                            */
/* ====================================================================== */
.s-crumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	font-size: 11px;
	letter-spacing: var(--soumm-ls-nav);
	text-transform: uppercase;
	color: var(--soumm-muted);
}

.s-crumb a:hover {
	color: var(--soumm-ink);
}

/* ====================================================================== */
/*  Pagination                                                            */
/* ====================================================================== */
.s-pager {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: var(--soumm-col-gap);
}

.s-pager .page-numbers {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--soumm-line);
	border-radius: var(--soumm-radius-pill);
	font-size: var(--soumm-fs-meta);
	font-variant-numeric: tabular-nums;
	color: var(--soumm-muted);
	transition: border-color var(--soumm-dur) var(--soumm-ease),
		color var(--soumm-dur) var(--soumm-ease);
}

.s-pager .page-numbers:hover {
	border-color: var(--soumm-ink);
	color: var(--soumm-ink);
}

.s-pager .page-numbers.current {
	background: var(--soumm-ink);
	border-color: var(--soumm-ink);
	color: var(--soumm-on-ink);
}

/* ====================================================================== */
/*  Sale prices                                                           */
/* ====================================================================== */
/* WooCommerce prints a sale as <del>regular</del> <ins>sale</ins>. woo.css
   styles that inside .price on shop pages only, but the theme prints prices
   bare -- the product page, the shop blocks, the Explore row -- where the
   browser underlined the sale price and left the old one at full weight
   (Diwali offer, 31 October 2026). This matches the woo.css treatment. */
del:has(> .woocommerce-Price-amount) {
	opacity: 0.5;
	margin-right: 8px;
}

ins:has(> .woocommerce-Price-amount) {
	text-decoration: none;
}

/* --- assets/css/layout.css --- */
/**
 * Soumm layout layer: containers, sections, grids, sticky columns.
 *
 * This is where the prototypes' JS layout attributes become real CSS.
 * data-twocol  -> .s-grid--2 inside the 1000px media query
 * data-sticky  -> .s-sticky
 */

/* --- Container ------------------------------------------------------- */
.s-wrap {
	width: 100%;
	max-width: var(--soumm-container);
	margin-inline: auto;
	padding-inline: var(--soumm-gutter);
}

.s-wrap--narrow {
	max-width: 1080px;
}

.s-wrap--text {
	max-width: 780px;
}

/* --- Section --------------------------------------------------------- */
.s-section {
	padding-block: var(--soumm-section-y);
}

.s-section--sm {
	padding-block: var(--soumm-section-y-sm);
}

.s-section--alt {
	background: var(--soumm-surface-alt);
}

.s-section--ink {
	background: var(--soumm-ink);
	color: var(--soumm-on-ink);
}

.s-section--ink h1,
.s-section--ink h2,
.s-section--ink h3,
.s-section--ink h4 {
	color: var(--soumm-on-ink);
}

/* First section on a page sits below the fixed header. */
.s-main > .s-section:first-child {
	padding-top: var(--soumm-page-top);
}

/* --- Stacks ---------------------------------------------------------- */
.s-stack {
	display: flex;
	flex-direction: column;
	gap: var(--soumm-stack);
}

.s-stack--sm {
	gap: 14px;
}

.s-stack--lg {
	gap: var(--soumm-col-gap);
}

/* --- Grids ----------------------------------------------------------- */
.s-grid {
	display: grid;
	gap: var(--soumm-col-gap);
	grid-template-columns: minmax(0, 1fr);
}

.s-grid--tight {
	gap: clamp(18px, 2vw, 30px);
}

/* Below 1000px every grid is a single column. The design has one breakpoint. */
@media (min-width: 1000px) {
	.s-grid--2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.s-grid--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.s-grid--4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	/* Asymmetric splits used by the editorial sections. */
	.s-grid--sidebar {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	}

	.s-grid--sidebar-left {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	}

	.s-grid--media {
		grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
	}

	.s-sticky {
		position: sticky;
		top: clamp(120px, 9vw, 150px);
		align-self: start;
	}
}

/* Two- and three-up card rows collapse to two columns on tablet widths, which
   the prototypes handled with a JS resize listener. */
@media (min-width: 640px) and (max-width: 999px) {
	.s-grid--3,
	.s-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* --- Measure --------------------------------------------------------- */
.s-measure {
	max-width: var(--soumm-measure);
}

.s-measure--tight {
	max-width: var(--soumm-measure-tight);
}

/* --- Utility --------------------------------------------------------- */
.s-center {
	text-align: center;
}

.s-center .s-measure {
	margin-inline: auto;
}

.s-flow > * + * {
	margin-top: 14px;
}

/*
 * Desktop columns from the first paint (1 November 2026). layout.js applies
 * data-twocol only once it has run, so on a slow first paint desktop pages drew
 * one column and then jumped to two (CLS 0.39 on the home page). Each
 * data-twocol element also carries its split as --soumm-tc, applied here at the
 * design's single breakpoint straight away; below it the inline single column
 * stands, and layout.js still sets the same values either side.
 */
@media (min-width: 1000px) {
	[data-twocol] {
		grid-template-columns: var(--soumm-tc) !important;
	}
}

/* --- assets/css/pages.css --- */
/**
 * Page-level compositions: article layout, filters, the stress cycle,
 * the gallery grid and the product page.
 */

/* ====================================================================== */
/*  Filters row                                                           */
/* ====================================================================== */
.s-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.s-filters .s-tag {
	cursor: pointer;
	transition: border-color var(--soumm-dur) var(--soumm-ease),
		color var(--soumm-dur) var(--soumm-ease),
		background var(--soumm-dur) var(--soumm-ease);
}

.s-filters .s-tag:hover {
	border-color: var(--soumm-muted);
	color: var(--soumm-ink);
}

.s-filters .s-tag.is-active,
.s-filters .s-tag[aria-pressed="true"] {
	background: var(--soumm-ink);
	border-color: var(--soumm-ink);
	color: var(--soumm-on-ink);
}

/* ====================================================================== */
/*  Article                                                               */
/* ====================================================================== */
.s-article__grid {
	display: grid;
	gap: var(--soumm-col-gap);
	grid-template-columns: minmax(0, 1fr);
	margin-top: var(--soumm-section-y-sm);
}

.s-article__toc ol {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 16px;
	counter-reset: toc;
}

.s-article__toc a {
	display: grid;
	grid-template-columns: 26px 1fr;
	gap: 4px;
	font-size: var(--soumm-fs-meta);
	line-height: 1.5;
	color: var(--soumm-muted);
}

.s-article__toc a::before {
	counter-increment: toc;
	content: counter(toc, decimal-leading-zero);
	color: var(--soumm-line);
	font-variant-numeric: tabular-nums;
}

.s-article__toc a:hover {
	color: var(--soumm-ink);
}

.s-article__body {
	min-width: 0;
}

.s-article__block + .s-article__block {
	margin-top: clamp(30px, 3.4vw, 48px);
}

.s-article__h2 {
	font-size: var(--soumm-fs-h3);
	line-height: 1.18;
	margin-bottom: 18px;
	scroll-margin-top: calc(var(--soumm-header-h) + 30px);
}

.s-article__h3 {
	font-size: var(--soumm-fs-h4);
	margin-bottom: 14px;
}

.s-article__body .s-body {
	max-width: 34em;
}

.s-article__body .s-body p + p,
.s-article__body .s-body ul,
.s-article__body .s-body ol {
	margin-top: 14px;
}

.s-article__body .s-body ul,
.s-article__body .s-body ol {
	padding-left: 20px;
	list-style: disc;
}

.s-article__body .s-body ol {
	list-style: decimal;
}

.s-article__body .s-body li + li {
	margin-top: 6px;
}

.s-pullquote {
	border-left: 2px solid var(--soumm-brass);
	padding-left: clamp(20px, 2.6vw, 34px);
}

.s-pullquote blockquote {
	font-size: var(--soumm-fs-h3);
	line-height: 1.45;
	color: var(--soumm-ink);
	max-width: 20em;
}

.s-pullquote figcaption {
	margin-top: 14px;
}

.s-steps-list {
	border-top: 1px solid var(--soumm-line);
}

.s-steps-list__row {
	display: grid;
	grid-template-columns: 90px minmax(0, 1fr);
	gap: 18px;
	padding: 16px 0;
	border-bottom: 1px solid var(--soumm-line);
	align-items: baseline;
}

.s-steps-list dt {
	font-size: var(--soumm-fs-meta);
	letter-spacing: var(--soumm-ls-nav);
	text-transform: uppercase;
	color: var(--soumm-brass);
	font-variant-numeric: tabular-nums;
}

.s-steps-list dd {
	font-size: var(--soumm-fs-small);
	line-height: 1.8;
}

@media (min-width: 1000px) {
	.s-article__grid {
		grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
	}
}

/* ====================================================================== */
/*  Hero                                                                  */
/* ====================================================================== */
.s-hero {
	padding-top: calc(var(--soumm-header-h) + clamp(50px, 7vw, 110px));
	padding-bottom: var(--soumm-section-y);
}

.s-hero__grid {
	display: grid;
	gap: var(--soumm-col-gap);
	grid-template-columns: minmax(0, 1fr);
	align-items: center;
}

.s-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin-top: var(--soumm-stack);
}

@media (min-width: 1000px) {
	.s-hero__grid {
		grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
	}
}

/* ====================================================================== */
/*  Stress cycle                                                          */
/* ====================================================================== */
.s-cycle {
	display: grid;
	gap: var(--soumm-col-gap);
	grid-template-columns: minmax(0, 1fr);
	align-items: center;
}

.s-cycle__modes {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: var(--soumm-stack);
}

.s-cycle__ring {
	width: 100%;
	max-width: 460px;
	margin-inline: auto;
	color: var(--soumm-brass);
	aspect-ratio: 1 / 1;
}

.s-cycle__steps {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.s-cycle__step {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
	text-align: left;
	padding: 15px 0;
	border-bottom: 1px solid var(--soumm-line);
	opacity: 0.5;
	transition: opacity var(--soumm-dur) var(--soumm-ease);
}

.s-cycle__step[data-active="true"] {
	opacity: 1;
}

.s-cycle__n {
	font-size: var(--soumm-fs-meta);
	color: var(--soumm-brass);
	font-variant-numeric: tabular-nums;
	padding-top: 2px;
}

.s-cycle__step strong {
	display: block;
	font-size: var(--soumm-fs-small);
	font-weight: 500;
	color: var(--soumm-ink);
	line-height: 1.4;
}

.s-cycle__step span span {
	display: block;
	font-size: var(--soumm-fs-meta);
	line-height: 1.7;
	color: var(--soumm-muted);
	margin-top: 4px;
}

@media (min-width: 1000px) {
	.s-cycle {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	}
}

/*
 * The home stress cycle's affordances (client feedback, 30 October 2026):
 * the next number pulses until the cycle is first used, and inactive numbers
 * and list rows answer the pointer. home.js repaints their state as inline
 * styles, so the hover colours need !important to show through; the active
 * stage (data-on) is left alone.
 */
[data-cycnode][data-hint]::after {
	content: "";
	position: absolute;
	inset: -1px;
	border: 1px solid #B08A52;
	border-radius: 999px;
	pointer-events: none;
	animation: soummCyclePulse 2.4s cubic-bezier(.2, .7, .2, 1) infinite;
}

@keyframes soummCyclePulse {
	0%        { transform: scale(1);    opacity: 0.9; }
	70%, 100% { transform: scale(1.55); opacity: 0; }
}

@media (hover: hover) {
	[data-cycnode]:not([data-on]):hover {
		scale: 1.08;
		border-color: #B08A52 !important;
		color: #173A34 !important;
	}

	[data-listrow]:not([data-on]):hover {
		padding-left: 6px !important;
	}

	[data-listrow]:not([data-on]):hover > span:first-child {
		color: #B08A52 !important;
	}

	[data-listrow]:not([data-on]):hover > span:last-child {
		color: #173A34 !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	/* A still ring in place of the pulse. */
	[data-cycnode][data-hint]::after {
		animation: none !important;
		transform: scale(1.18);
		opacity: 0.6;
	}
}

/*
 * The home botanicals photo (client feedback, 1 November 2026). The photo is
 * square and was filling a 4:5 half-column, about 735 x 919 px on wide
 * screens; the template now shows it square and caps it at 540px. In the
 * two-column layout it sits at the column's outer edge; stacked, it stays
 * left with the text.
 */
@media (min-width: 1000px) {
	.s-botanicals-img {
		justify-self: end;
	}
}

/* ====================================================================== */
/*  Gallery grid                                                          */
/* ====================================================================== */
.s-gallery {
	display: grid;
	gap: clamp(12px, 1.4vw, 22px);
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.s-gallery__item {
	min-width: 0;
}

.s-gallery__item[hidden] {
	display: none;
}

.s-gallery__caption {
	margin-top: 10px;
	font-size: var(--soumm-fs-meta);
	color: var(--soumm-muted);
}

@media (min-width: 1000px) {
	.s-gallery {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.s-gallery__item[data-span="2"] {
		grid-column: span 2;
	}

	.s-gallery__item[data-span="3"] {
		grid-column: span 3;
	}
}

/* ====================================================================== */
/*  Product page                                                          */
/* ====================================================================== */
.s-pdp {
	display: grid;
	gap: var(--soumm-col-gap);
	grid-template-columns: minmax(0, 1fr);
}

.s-pdp__thumbs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin-top: 12px;
}

.s-pdp__thumb {
	border: 1px solid transparent;
	padding: 0;
	cursor: pointer;
	transition: border-color var(--soumm-dur) var(--soumm-ease);
}

.s-pdp__thumb[aria-pressed="true"] {
	border-color: var(--soumm-ink);
}

.s-pdp__price {
	font-size: clamp(24px, 2.2vw, 32px);
	line-height: 1.2;
	font-variant-numeric: tabular-nums;
}

.s-pdp__buy {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin-top: var(--soumm-stack);
}

.s-ritual {
	display: grid;
	gap: clamp(20px, 2.4vw, 36px);
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: var(--soumm-col-gap);
	counter-reset: ritual;
}

.s-ritual__step {
	border-top: 1px solid var(--soumm-line);
	padding-top: 18px;
}

.s-ritual__step::before {
	counter-increment: ritual;
	content: counter(ritual, decimal-leading-zero);
	display: block;
	font-size: var(--soumm-fs-meta);
	color: var(--soumm-brass);
	font-variant-numeric: tabular-nums;
	margin-bottom: 12px;
}

@media (min-width: 1000px) {
	.s-pdp {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	}

	.s-ritual {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* ====================================================================== */
/*  Chapter rail                                                          */
/* ====================================================================== */
.s-chapters {
	display: none;
}

@media (min-width: 1280px) {
	.s-chapters {
		display: flex;
		flex-direction: column;
		gap: 12px;
		position: fixed;
		right: 26px;
		top: 50%;
		transform: translateY(-50%);
		z-index: 40;
	}

	.s-chapters a {
		font-size: 10px;
		letter-spacing: 0.1em;
		color: var(--soumm-muted);
		font-variant-numeric: tabular-nums;
		opacity: 0.5;
		transition: opacity var(--soumm-dur) var(--soumm-ease),
			color var(--soumm-dur) var(--soumm-ease);
	}

	.s-chapters a:hover,
	.s-chapters a.is-active {
		opacity: 1;
		color: var(--soumm-ink);
	}
}


/* ------------------------------------------------------------------ */
/*  Client feedback, 27 September 2026                                  */
/* ------------------------------------------------------------------ */

/* Header email: the envelope alone until the address has room. */
.soumm-mailword { display: none; }
@media (min-width: 1600px) { .soumm-mailword { display: inline; } }

/*
 * Header fit. Home and Soumm People made seven primary links, and with the
 * email beside Search the bar overflowed below ~1300px, squeezing the logo to
 * nothing. The logo no longer shrinks; below 1366px the Search label goes and
 * the links tighten, and below 1200px the Begin Your Ritual button steps aside
 * (it stays in the mobile menu and the hero).
 */
[data-header] > div > a:first-child,
[data-header] > div > div:last-child > * { flex-shrink: 0; }
@media (max-width: 1365px) {
	[data-header] [data-searchword] { display: none !important; }
}
@media (min-width: 1000px) and (max-width: 1365px) {
	[data-desknav] { gap: 16px !important; }
	[data-desknav] a { letter-spacing: 0.12em !important; }
}
@media (min-width: 1000px) and (max-width: 1199px) {
	[data-header] [data-cta] { display: none !important; }
}

/* Explore Soumm row on product pages: a thin scrollbar, so the row reads as scrollable without a heavy bar. */
.soumm-explore { scrollbar-width: thin; scrollbar-color: #DDD5C8 transparent; }
.soumm-explore::-webkit-scrollbar { height: 6px; }
.soumm-explore::-webkit-scrollbar-thumb { background: #DDD5C8; border-radius: 999px; }

/* Size choice on the shop page's Add to Bag (27 September 2026). */
.soumm-size { position: relative; display: inline-flex; cursor: pointer; }
.soumm-size input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.soumm-size > span { display: inline-block; padding: 12px 20px; border: 1px solid #DDD5C8; border-radius: 999px; font-size: 13px; color: #173A34; transition: border-color 300ms ease, background 300ms ease, color 300ms ease; }
.soumm-size:hover > span { border-color: #B08A52; }
.soumm-size input:checked + span { background: #173A34; border-color: #173A34; color: #FCFBF8; }
.soumm-size input:focus-visible + span { outline: 2px solid #B08A52; outline-offset: 2px; }

/*
 * Bag page notices as a toast (27 September 2026). Woo prints "... removed.
 * Undo?", "Bag updated." and coupon messages above the page, where the fixed
 * header covered them and Woo's own icon sat on top of the text. On the bag
 * page they now float under the header like the add-to-bag toast; the same
 * rule catches the ones Woo's cart script inserts after an AJAX update.
 * home.js adds the close button and the timed dismiss.
 */
.woocommerce-cart .woocommerce-notices-wrapper:not(:empty) {
	position: fixed;
	z-index: 95;
	top: calc(clamp(68px, 6.6vw, 92px) + 14px);
	right: clamp(16px, 3vw, 48px);
	width: min(420px, calc(100vw - 32px));
	display: flex;
	flex-direction: column;
	gap: 10px;
	animation: soummFade 400ms ease both;
}
.woocommerce-cart .woocommerce-notices-wrapper :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
	position: relative;
	display: block;
	list-style: none;
	margin: 0;
	padding: 18px 48px 18px 22px;
	background: #173A34;
	color: #FCFBF8;
	border: 1px solid #173A34;
	border-radius: 0;
	box-shadow: 0 18px 50px rgba(23, 58, 52, 0.18);
	font-size: 14px;
	line-height: 1.6;
}
.woocommerce-cart .woocommerce-notices-wrapper :is(.woocommerce-info, .woocommerce-error) {
	background: #FCFBF8;
	color: #173A34;
	border-color: #B08A52;
}
.woocommerce-cart .woocommerce-notices-wrapper :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::before {
	content: none;
	display: none;
}
.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-error li {
	margin: 0;
	padding: 0;
}
.woocommerce-cart .woocommerce-notices-wrapper a {
	color: #C7A878;
	font-weight: 600;
	border-bottom: 1px solid currentColor;
	margin-left: 4px;
	text-decoration: none;
}
.woocommerce-cart .woocommerce-notices-wrapper :is(.woocommerce-info, .woocommerce-error) a {
	color: #B08A52;
}
.soumm-notice-close {
	position: absolute;
	top: 16px;
	right: 14px;
	background: none;
	border: 0;
	padding: 2px;
	line-height: 0;
	color: inherit;
	opacity: 0.7;
	cursor: pointer;
}
.soumm-notice-close:hover { opacity: 1; }

/*
 * Checkout notices (27 September 2026). Woo's notice icon is absolutely
 * positioned for its own padding; woo.css gave the boxes the design's padding
 * and brass edge instead, so the icon sat on top of the first words. The
 * brass edge is the design's marker, so the icon goes, everywhere. On the
 * checkout the boxes stack as plain blocks (an error list flowed sideways as
 * flex items), the coupon link reads as a link, and the rare notice Woo prints
 * before the template (stock changes) floats under the header like the bag
 * page's rather than hiding behind it.
 */
:is(.woocommerce, .woocommerce-page) :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::before {
	content: none;
	display: none;
}
.woocommerce-checkout :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
	display: block;
	margin: 0 0 18px;
	padding: 18px 22px;
	font-size: 14px;
	line-height: 1.7;
	color: #173A34;
	background: #F8F5F0;
	border: 1px solid #EAE4DA;
	border-left: 2px solid #B08A52;
}
.woocommerce-checkout .woocommerce-error {
	background: #FCF6F4;
	border-left-color: #A33F35;
}
.woocommerce-checkout .woocommerce-error li {
	margin: 0 0 6px;
	padding: 0;
	list-style: none;
}
.woocommerce-checkout .woocommerce-error li:last-child {
	margin-bottom: 0;
}
.woocommerce-checkout :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) a {
	color: #173A34;
	font-weight: 600;
	border-bottom: 1px solid #B08A52;
	text-decoration: none;
}
.woocommerce-checkout :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) a:hover {
	color: #B08A52;
}
.s-checkout-notices {
	margin: 0 0 clamp(20px, 2.4vw, 30px);
}
.s-checkout-notices:empty {
	display: none;
}
.s-checkout-notices form.checkout_coupon {
	margin: 0 0 18px;
	padding: 20px 22px;
	border: 1px solid #EAE4DA;
	background: #FCFBF8;
}
.woocommerce-checkout .woocommerce > .woocommerce-notices-wrapper:not(:empty) {
	position: fixed;
	z-index: 95;
	top: calc(clamp(68px, 6.6vw, 92px) + 14px);
	right: clamp(16px, 3vw, 48px);
	width: min(420px, calc(100vw - 32px));
	box-shadow: 0 18px 50px rgba(23, 58, 52, 0.18);
}
.woocommerce-checkout .woocommerce > .woocommerce-notices-wrapper:not(:empty) :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
	position: relative;
	margin: 0;
	padding-right: 48px;
	background: #FCFBF8;
}

/* Checkout coupon form: the field takes the room, the button sits beside it at its own width (Woo floats both at 47%). */
.s-checkout-notices form.checkout_coupon[style*="block"],
.s-checkout-notices form.checkout_coupon:not([style*="none"]) {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 12px 16px;
}
.s-checkout-notices form.checkout_coupon[style*="none"] {
	display: none;
}
.s-checkout-notices form.checkout_coupon .form-row {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
}
.s-checkout-notices form.checkout_coupon .form-row-first {
	flex: 1 1 240px;
	max-width: 420px;
}
.s-checkout-notices form.checkout_coupon .form-row-last {
	flex: 0 0 auto;
}
.s-checkout-notices form.checkout_coupon .clear {
	display: none;
}
.s-checkout-notices .coupon-error-notice {
	display: block;
	margin-top: 8px;
	font-size: 12px;
	color: #A33F35;
}

/* --- assets/css/woo.css --- */
/**
 * WooCommerce surfaces, restyled to the Soumm system.
 *
 * Woo emits its own class names, so this file is the one place where the
 * theme selects on foreign classes. Everything is scoped under .s-woo or a
 * woocommerce body class so it cannot leak into theme components.
 */

/* ====================================================================== */
/*  Shell                                                                 */
/* ====================================================================== */
.s-woo {
	padding-block: calc(var(--soumm-section-y-sm) + var(--soumm-header-h)) var(--soumm-section-y);
}

:is(.woocommerce, .woocommerce-page) .woocommerce-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	font-size: 11px;
	letter-spacing: var(--soumm-ls-nav);
	text-transform: uppercase;
	color: var(--soumm-muted);
	margin-bottom: var(--soumm-col-gap);
}

/* ====================================================================== */
/*  Notices                                                               */
/* ====================================================================== */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	list-style: none;
	background: var(--soumm-surface-alt);
	border: 1px solid var(--soumm-line);
	border-left: 2px solid var(--soumm-brass);
	padding: 18px 22px;
	margin-bottom: 26px;
	font-size: var(--soumm-fs-small);
	color: var(--soumm-ink);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
}

.woocommerce-error {
	border-left-color: #9A3B2F;
}

.woocommerce-message .button,
.woocommerce-info .button {
	margin-left: auto;
}

/* ====================================================================== */
/*
 * Scope note: cart, checkout and account pages get `woocommerce-page` on the
 * body but NOT `woocommerce` -- only shop and product pages get both. Every
 * rule here was written as `.woocommerce ...`, so none of it reached the cart
 * or the checkout and WooCommerce's own purple showed through. `:is()` carries
 * the specificity of its most specific argument, so this matches exactly as
 * before everywhere it already worked.
 */
/*  Buttons — Woo emits .button everywhere                                */
/* ====================================================================== */
:is(.woocommerce, .woocommerce-page) .button,
:is(.woocommerce, .woocommerce-page) button.button,
:is(.woocommerce, .woocommerce-page) input.button,
:is(.woocommerce, .woocommerce-page) a.button,
:is(.woocommerce, .woocommerce-page) #respond input#submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: var(--soumm-ink);
	color: var(--soumm-on-ink);
	font-size: var(--soumm-fs-btn);
	font-weight: var(--soumm-fw-btn);
	letter-spacing: var(--soumm-ls-nav);
	text-transform: uppercase;
	padding: 18px 34px;
	border: 1px solid var(--soumm-ink);
	border-radius: var(--soumm-radius-pill);
	line-height: 1;
	transition: background var(--soumm-dur) var(--soumm-ease),
		border-color var(--soumm-dur) var(--soumm-ease);
}

/* ====================================================================== */
/*  Cart form actions                                                     */
/* ====================================================================== */
/*
 * The design keeps one filled pill per view. On the cart that is Proceed to
 * checkout; "Apply coupon" and "Update bag" are utilities beside it and were
 * rendering as identical ink pills, so three controls competed as the primary
 * action. Woo also disables "Update bag" until a quantity changes, and a
 * filled pill at 45% opacity read as a broken grey blob rather than a resting
 * state.
 *
 * They now take the secondary treatment the rest of the theme uses for Share,
 * Save and Download the paper: an outline pill that turns brass.
 *
 * Scoped through `td.actions` deliberately. Woo styles the disabled state with
 * `.woocommerce input.button:disabled[disabled]`, which carries the same
 * specificity as a plainer selector here and sets padding of its own -- that
 * is why "Update bag" kept Woo's 0.618em/1em while "Apply coupon", identical
 * but enabled, took the design's. This chain outranks it in both states.
 */
:is(.woocommerce, .woocommerce-page) .woocommerce-cart-form td.actions button[name="apply_coupon"],
:is(.woocommerce, .woocommerce-page) .woocommerce-cart-form td.actions button[name="update_cart"] {
	background: none;
	border: 1px solid #DDD5C8;
	border-radius: var(--soumm-radius-pill);
	color: var(--soumm-ink);
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	padding: 12px 22px;
	line-height: 1;
	opacity: 1;
	transition: border-color 400ms ease, color 400ms ease;
}

:is(.woocommerce, .woocommerce-page) .woocommerce-cart-form td.actions button[name="apply_coupon"]:hover,
:is(.woocommerce, .woocommerce-page) .woocommerce-cart-form td.actions button[name="update_cart"]:hover:not(:disabled) {
	background: none;
	border-color: var(--soumm-brass);
	color: var(--soumm-brass);
}

/*
 * The coupon field. Woo still ships `.coupon input { width: 80px }`, which is
 * too narrow to read a code back, and because the input sits outside a
 * `.form-row` it missed the theme's field styling entirely. The row is laid out
 * as flex so the field and its button align on one baseline and the field can
 * take the space the actions cell already has.
 */
/* The actions cell holds one flex row (see cart.php). The cell itself must
 * stay `display: table-cell` -- making it flex drops it out of the table
 * layout algorithm and collapses the product column. */
:is(.woocommerce, .woocommerce-page) .woocommerce-cart-form td.actions .soumm-cart-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

:is(.woocommerce, .woocommerce-page) .woocommerce-cart-form td.actions .coupon {
	display: flex;
	flex: 1 1 auto;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	float: none;
	margin: 0;
}

:is(.woocommerce, .woocommerce-page) .woocommerce-cart-form td.actions button[name="update_cart"] {
	float: none;
	margin-left: auto;
}

:is(.woocommerce, .woocommerce-page) .woocommerce-cart-form td.actions .coupon input#coupon_code,
:is(.woocommerce, .woocommerce-page) .woocommerce-cart-form td.actions .coupon input.input-text {
	flex: 1 1 260px;
	width: auto;
	min-width: 220px;
	max-width: 340px;
	background: var(--soumm-page);
	border: 1px solid var(--soumm-line);
	border-radius: 0;
	padding: 15px 18px;
	height: auto;
	font-size: var(--soumm-fs-small);
	color: var(--soumm-ink);
}

:is(.woocommerce, .woocommerce-page) .woocommerce-cart-form td.actions .coupon input#coupon_code:focus {
	border-color: var(--soumm-ink);
	outline: none;
}

/* Nothing to update yet: a quiet outline, not a filled shape at half strength.
 * The base rule above already matches a disabled button, so this only has to
 * restate what differs -- and being one class more specific, it wins cleanly. */
:is(.woocommerce, .woocommerce-page) .woocommerce-cart-form td.actions button[name="update_cart"]:disabled,
:is(.woocommerce, .woocommerce-page) .woocommerce-cart-form td.actions button[name="update_cart"].disabled {
	border: 1px solid var(--soumm-line);
	/* Woo's `input.button:disabled[disabled]` sets `color: inherit` and holds
	 * the property at equal specificity, so this has to be forced. */
	color: var(--soumm-muted) !important;
	cursor: default;
}

/* ====================================================================== */
/*  My account                                                            */
/* ====================================================================== */
/*
 * Cart and checkout each open their own section; my account has no theme
 * template to put one in -- Woo renders login, dashboard, orders, addresses
 * and account details itself -- so the container goes here instead. Without it
 * the page ran edge to edge with no top padding and the login field stretched
 * to 1383px.
 */
.woocommerce-account main > .woocommerce {
	padding: var(--soumm-page-top) clamp(20px, 4vw, 72px) var(--soumm-section-y);
	max-width: calc(1580px + 2 * clamp(20px, 4vw, 72px));
	margin-inline: auto;
}

/* Woo titles each screen with an h2; give it the weight the design gives a
 * page heading. */
.woocommerce-account main > .woocommerce > h2 {
	font-weight: 400;
	font-size: clamp(30px, 4vw, 52px);
	line-height: 1.06;
	letter-spacing: -0.014em;
	color: var(--soumm-ink);
	margin: 0 0 clamp(30px, 4vw, 48px);
}

/* Signing in is a standalone task -- it should not span the full width. */
.woocommerce-account main > .woocommerce form.woocommerce-form-login,
.woocommerce-account main > .woocommerce form.woocommerce-ResetPassword {
	max-width: 520px;
	border: 1px solid var(--soumm-line);
	padding: clamp(26px, 3vw, 40px);
}

.woocommerce-account main > .woocommerce form.woocommerce-form-login .form-row {
	margin-bottom: 18px;
}

/* ====================================================================== */
/*  Checkout columns                                                      */
/* ====================================================================== */
/*
 * Woo's `.col2-set` puts billing and shipping side by side at 48% each. This
 * checkout splits them across its own steps instead, so `.col-1` had a column
 * to itself and still took 48% of it -- half the panel sat empty and the name
 * fields, 48% of that again, came out 161px wide inside a 722px column.
 */
:is(.woocommerce, .woocommerce-page) form.checkout .col2-set,
:is(.woocommerce, .woocommerce-page) form.checkout .col2-set .col-1,
:is(.woocommerce, .woocommerce-page) form.checkout .col2-set .col-2 {
	float: none;
	width: 100%;
	max-width: none;
}

/* Half-width pairs (first/last name) should share the row properly. */
:is(.woocommerce, .woocommerce-page) form.checkout .form-row-first,
:is(.woocommerce, .woocommerce-page) form.checkout .form-row-last {
	float: none;
	width: calc(50% - 9px);
	display: inline-flex;
	vertical-align: top;
}

:is(.woocommerce, .woocommerce-page) form.checkout .form-row-first {
	margin-right: 14px;
}

/* Woo swaps the native select for select2; it has to fill the row like any
 * other field or the state box collapses to a sliver. */
:is(.woocommerce, .woocommerce-page) form.checkout .select2-container {
	width: 100% !important;
}

/* ====================================================================== */
/*  Cart totals panel                                                     */
/* ====================================================================== */
/*
 * Woo lays the collaterals out as its own two columns -- cross-sells on the
 * left, `.cart_totals` floated right at 48%. The design puts the totals alone
 * in a single sticky panel, so that 48% squeezed them to 130px while the table
 * inside still wanted 257px. It burst 85px out of the panel and pushed the
 * document 35px wider than the viewport, so the whole page scrolled sideways.
 */
:is(.woocommerce, .woocommerce-page) .cart-collaterals,
:is(.woocommerce, .woocommerce-page) .cart-collaterals .cart_totals,
:is(.woocommerce, .woocommerce-page) .cart-collaterals .cross-sells {
	float: none;
	width: 100%;
}

:is(.woocommerce, .woocommerce-page) .cart-collaterals .cart_totals table {
	width: 100%;
}

/* The label column sizes to its content -- `table-layout: fixed` split it
 * evenly and broke "Subtotal" and "Shipment" mid-word. Only the value column
 * needs permission to wrap. */
:is(.woocommerce, .woocommerce-page) .cart-collaterals .cart_totals table th {
	white-space: nowrap;
	width: 1%;
	padding-right: 18px;
}

:is(.woocommerce, .woocommerce-page) .cart-collaterals .cart_totals table td {
	overflow-wrap: anywhere;
}

/* ====================================================================== */
/*  Invalid fields                                                        */
/* ====================================================================== */
/*
 * Woo flags a bad row with `woocommerce-invalid`, and checkout-steps.js now
 * sets the same class when it blocks a step. Nothing styled it, so a blocked
 * step gave no reason why.
 */
/* Mirrors the field selector further down this file, plus the invalid class,
 * so it outranks that rule's `border` shorthand rather than tying with it. */
:is(.woocommerce, .woocommerce-page) form .form-row.woocommerce-invalid input.input-text,
:is(.woocommerce, .woocommerce-page) form .form-row.woocommerce-invalid select,
:is(.woocommerce, .woocommerce-page) form .form-row.woocommerce-invalid textarea {
	/* !important is deliberate. The generic field rule further down sets
	 * `border` as a shorthand, and this needs to win outright wherever it
	 * appears -- an error the customer cannot see is worse than a specificity
	 * purist's objection. */
	border: 1px solid #A33F35 !important;
}

:is(.woocommerce, .woocommerce-page) form .form-row.woocommerce-invalid label {
	color: #A33F35;
}

/*
 * Woo ships a dedicated rule for this one button --
 * `.woocommerce-cart .wc-proceed-to-checkout a.checkout-button` -- setting
 * 1.25em type, 1em padding and display:block, which left the cart's primary
 * action oversized and squeezed to 42px wide. Same specificity, later sheet.
 */
:is(.woocommerce, .woocommerce-page) .wc-proceed-to-checkout a.checkout-button {
	display: inline-flex;
	width: auto;
	font-size: var(--soumm-fs-btn);
	letter-spacing: var(--soumm-ls-nav);
	padding: 18px 34px;
	text-align: center;
}

:is(.woocommerce, .woocommerce-page) .button:hover,
:is(.woocommerce, .woocommerce-page) button.button:hover,
:is(.woocommerce, .woocommerce-page) input.button:hover,
:is(.woocommerce, .woocommerce-page) a.button:hover,
:is(.woocommerce, .woocommerce-page) #respond input#submit:hover {
	background: var(--soumm-brass);
	border-color: var(--soumm-brass);
	color: var(--soumm-on-ink);
}

:is(.woocommerce, .woocommerce-page) .button.alt,
:is(.woocommerce, .woocommerce-page) a.button.alt,
:is(.woocommerce, .woocommerce-page) input.button.alt,
:is(.woocommerce, .woocommerce-page) button.button.alt {
	background: var(--soumm-ink);
	border-color: var(--soumm-ink);
}

/* `.alt` and `:hover` are both (0,3,1) and `.alt` is declared later, so it won
 * even while hovered and the primary buttons -- Proceed to checkout among them
 * -- never reacted. These come after it and settle the tie. */
:is(.woocommerce, .woocommerce-page) .button.alt:hover,
:is(.woocommerce, .woocommerce-page) a.button.alt:hover,
:is(.woocommerce, .woocommerce-page) input.button.alt:hover,
:is(.woocommerce, .woocommerce-page) button.button.alt:hover {
	background: var(--soumm-brass);
	border-color: var(--soumm-brass);
	color: var(--soumm-on-ink);
}

/* Woo sets `color: inherit` on a disabled button. On the design's ink button
 * that inherits the page's ink text, so "Update bag" was ink-on-ink and its
 * label disappeared -- it read as an empty grey pill. */
:is(.woocommerce, .woocommerce-page) .button:disabled,
:is(.woocommerce, .woocommerce-page) .button.disabled,
:is(.woocommerce, .woocommerce-page) button.button:disabled,
:is(.woocommerce, .woocommerce-page) button.button.disabled {
	opacity: 0.45;
	cursor: not-allowed;
	color: var(--soumm-on-ink);
}

/* ====================================================================== */
/*  Form fields                                                           */
/* ====================================================================== */
:is(.woocommerce, .woocommerce-page) form .form-row {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0 0 20px;
	padding: 0;
}

:is(.woocommerce, .woocommerce-page) form .form-row label {
	font-size: 11px;
	letter-spacing: var(--soumm-ls-nav);
	text-transform: uppercase;
	color: var(--soumm-muted);
}

:is(.woocommerce, .woocommerce-page) form .form-row .required {
	color: var(--soumm-brass);
	text-decoration: none;
}

:is(.woocommerce, .woocommerce-page) form .form-row input.input-text,
:is(.woocommerce, .woocommerce-page) form .form-row textarea,
:is(.woocommerce, .woocommerce-page) form .form-row select,
:is(.woocommerce, .woocommerce-page) .select2-container .select2-selection--single {
	width: 100%;
	background: var(--soumm-page);
	border: 1px solid var(--soumm-line);
	border-radius: 0;
	padding: 15px 18px;
	height: auto;
	font-size: var(--soumm-fs-small);
	color: var(--soumm-ink);
	transition: border-color var(--soumm-dur) var(--soumm-ease);
}

:is(.woocommerce, .woocommerce-page) form .form-row input.input-text:focus,
:is(.woocommerce, .woocommerce-page) form .form-row textarea:focus,
:is(.woocommerce, .woocommerce-page) form .form-row select:focus {
	border-color: var(--soumm-ink);
	outline: 2px solid var(--soumm-brass);
	outline-offset: 2px;
}

:is(.woocommerce, .woocommerce-page) form .form-row textarea {
	min-height: 140px;
	line-height: 1.75;
	resize: vertical;
}

:is(.woocommerce, .woocommerce-page) .select2-container .select2-selection--single .select2-selection__rendered {
	line-height: 1.5;
	padding: 0;
	color: var(--soumm-ink);
}

:is(.woocommerce, .woocommerce-page) .select2-container .select2-selection--single .select2-selection__arrow {
	top: 50%;
	transform: translateY(-50%);
	right: 14px;
}

/* Two-up rows on wide screens, matching the design's form grid. */
@media (min-width: 1000px) {
	.woocommerce form .form-row-first,
	.woocommerce form .form-row-last {
		width: calc(50% - 12px);
		display: inline-flex;
		vertical-align: top;
	}

	.woocommerce form .form-row-first {
		margin-right: 24px;
	}
}

/* ====================================================================== */
/*  Quantity                                                              */
/* ====================================================================== */
:is(.woocommerce, .woocommerce-page) .quantity {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--soumm-line);
}

:is(.woocommerce, .woocommerce-page) .quantity .qty {
	width: 56px;
	height: 46px;
	border: 0;
	background: transparent;
	text-align: center;
	font-size: var(--soumm-fs-small);
	font-variant-numeric: tabular-nums;
}

/* ====================================================================== */
/*  Price                                                                 */
/* ====================================================================== */
:is(.woocommerce, .woocommerce-page) .price,
:is(.woocommerce, .woocommerce-page) .amount {
	color: var(--soumm-ink);
	font-weight: 400;
	font-variant-numeric: tabular-nums;
}

:is(.woocommerce, .woocommerce-page) .price del {
	opacity: 0.5;
	margin-right: 8px;
}

/* ====================================================================== */
/*  Cart and checkout tables                                              */
/* ====================================================================== */
:is(.woocommerce, .woocommerce-page) table.shop_table {
	border: 1px solid var(--soumm-line);
	border-radius: 0;
	border-collapse: collapse;
	background: var(--soumm-page);
	font-size: var(--soumm-fs-small);
}

:is(.woocommerce, .woocommerce-page) table.shop_table th {
	text-align: left;
	font-size: 10px;
	font-weight: 400;
	letter-spacing: var(--soumm-ls-eyebrow);
	text-transform: uppercase;
	color: var(--soumm-muted);
	background: var(--soumm-surface-alt);
	padding: 16px 20px;
	border-bottom: 1px solid var(--soumm-line);
}

:is(.woocommerce, .woocommerce-page) table.shop_table td {
	padding: 20px;
	border-top: 1px solid var(--soumm-line);
	vertical-align: middle;
	color: var(--soumm-ink);
}

:is(.woocommerce, .woocommerce-page) table.shop_table img {
	width: 78px;
	height: auto;
}

:is(.woocommerce, .woocommerce-page) a.remove {
	display: inline-grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	color: var(--soumm-muted);
	font-size: 18px;
	line-height: 1;
	text-decoration: none;
}

:is(.woocommerce, .woocommerce-page) a.remove:hover {
	background: var(--soumm-surface-alt);
	color: var(--soumm-ink);
}

:is(.woocommerce, .woocommerce-page) .cart_totals h2,
.woocommerce-checkout #order_review_heading {
	font-size: var(--soumm-fs-h4);
	margin-bottom: 18px;
}

/* ====================================================================== */
/*  Checkout — the three-step wrapper                                     */
/* ====================================================================== */
.s-steps {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 30px;
	margin-bottom: var(--soumm-col-gap);
	padding-bottom: 22px;
	border-bottom: 1px solid var(--soumm-line);
}

.s-steps__item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 11px;
	letter-spacing: var(--soumm-ls-nav);
	text-transform: uppercase;
	color: var(--soumm-muted);
	background: none;
	border: 0;
	cursor: default;
}

.s-steps__item[data-state="done"],
.s-steps__item[data-state="current"] {
	color: var(--soumm-ink);
}

.s-steps__item[data-state="done"] {
	cursor: pointer;
}

.s-steps__n {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	border: 1px solid currentColor;
	font-size: 10px;
	font-variant-numeric: tabular-nums;
}

.s-steps__item[data-state="current"] .s-steps__n {
	background: var(--soumm-ink);
	border-color: var(--soumm-ink);
	color: var(--soumm-on-ink);
}

.s-step-panel[hidden] {
	display: none;
}

.s-step-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 26px;
}

/* Payment methods as selectable cards. */
.woocommerce-checkout #payment {
	background: transparent;
	border-radius: 0;
}

.woocommerce-checkout #payment ul.payment_methods {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	border: 0;
	padding: 0;
	margin-bottom: 24px;
}

.woocommerce-checkout #payment ul.payment_methods li {
	flex: 1 1 180px;
	border: 1px solid var(--soumm-line);
	background: var(--soumm-page);
	padding: 16px 20px;
	transition: border-color var(--soumm-dur) var(--soumm-ease),
		background var(--soumm-dur) var(--soumm-ease);
}

.woocommerce-checkout #payment ul.payment_methods li:hover {
	border-color: var(--soumm-muted);
}

.woocommerce-checkout #payment ul.payment_methods li label {
	font-size: var(--soumm-fs-small);
	letter-spacing: 0;
	text-transform: none;
	color: var(--soumm-ink);
	cursor: pointer;
}

.woocommerce-checkout #payment div.payment_box {
	background: var(--soumm-surface-alt);
	border: 1px solid var(--soumm-line);
	font-size: var(--soumm-fs-meta);
	line-height: 1.7;
	color: var(--soumm-muted);
	margin: 14px 0 0;
	padding: 14px 16px;
}

.woocommerce-checkout #payment div.payment_box::before {
	display: none;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
	margin-bottom: 20px;
	font-size: var(--soumm-fs-meta);
	color: var(--soumm-muted);
}

/* ====================================================================== */
/*  Order received                                                        */
/* ====================================================================== */
:is(.woocommerce, .woocommerce-page) .woocommerce-order {
	text-align: center;
	max-width: 760px;
	margin-inline: auto;
}

:is(.woocommerce, .woocommerce-page) ul.order_details {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px;
	margin: 34px 0;
	padding: 0;
}

:is(.woocommerce, .woocommerce-page) ul.order_details li {
	font-size: 10px;
	letter-spacing: var(--soumm-ls-eyebrow);
	text-transform: uppercase;
	color: var(--soumm-muted);
	border: 0;
}

:is(.woocommerce, .woocommerce-page) ul.order_details li strong {
	display: block;
	margin-top: 8px;
	font-size: var(--soumm-fs-small);
	letter-spacing: 0;
	text-transform: none;
	color: var(--soumm-ink);
}

/* ====================================================================== */
/*  Hide Woo chrome the design does not use                               */
/* ====================================================================== */
:is(.woocommerce, .woocommerce-page) .woocommerce-result-count,
:is(.woocommerce, .woocommerce-page) .woocommerce-ordering,
.woocommerce-cart .cross-sells {
	display: none;
}

/* ====================================================================== */
/*  Product page: the size cards                                          */
/* ====================================================================== */
/*
 * variable.php bakes each card's resting appearance into its inline style at
 * render time, and pdp.js only flips data-selected -- it deliberately does not
 * rewrite that inline style, because layout.js's hover handler restores the
 * cssText it captured *before* the click as soon as the pointer leaves, which
 * would silently undo the selection a moment after it was made.
 *
 * So the selected state is declared here instead, with !important to clear
 * both the inline style and the hover handler. A chosen size then stays
 * visibly chosen whether the pointer is over it or not -- which is also the
 * correct behaviour: hover should not make a selected card look unselected.
 *
 * The colours are the same two the template paints server-side for a size
 * that arrives already selected, so the load-time and click-time appearances
 * are one design, not two.
 */
:is(.woocommerce, .woocommerce-page) [data-size-option][data-selected="true"] {
	border-color: var(--soumm-ink) !important;
	background: var(--soumm-surface-alt) !important;
}
