/**
 * Nature Hut — page sections (the blocks in /blocks).
 *
 * Layout and measurements from "Nature Hut Home Marketplace" (the approved
 * 1440 artboard); colour, buttons, badges and cards from Foundations V2.
 * The same file styles the front end and the editor canvas, so a section
 * looks the same while it is being edited.
 *
 * Headings and links are prefixed with .nhs so they outrank the theme's
 * base `body.nh h2` / `body.nh a` colours (forest-on-forest bit us twice).
 */

/* ------------------------------------------------------------------ *
 *  Section base
 * ------------------------------------------------------------------ */
.nhs {
	position: relative;
	font-family: var(--nh-sans);
	color: var(--nh-ink);
	-webkit-font-smoothing: antialiased;
}
.nhs *, .nhs *::before, .nhs *::after { box-sizing: border-box; }
.nhs :where(h1, h2, h3, h4, p, ul, figure) { margin: 0; }
.nhs a { text-decoration: none; }
.nhs img { max-width: 100%; }

/* Grid sections get an explicit shrinkable column: an implicit `auto`
   column grows to its widest child (a row of chips on one line), which
   pushed the phone layout 80px past the screen. */
.nhs-cats,
.nhs-needs,
.nhs-band,
.nhs-shelf,
.nhs-shelf__preview { grid-template-columns: minmax(0, 1fr); }

/* Space above / below — the editor's "Spacing" panel (Foundations scale). */
.nhs.nhs--pt-none { padding-top: 0; }
.nhs.nhs--pt-sm { padding-top: var(--nh-s-lg); }
.nhs.nhs--pt-md { padding-top: var(--nh-s-xl); }
.nhs.nhs--pt-lg { padding-top: var(--nh-s-2xl); }
.nhs.nhs--pb-none { padding-bottom: 0; }
.nhs.nhs--pb-sm { padding-bottom: var(--nh-s-lg); }
.nhs.nhs--pb-md { padding-bottom: var(--nh-s-xl); }
.nhs.nhs--pb-lg { padding-bottom: var(--nh-s-2xl); }

/* Brand mark standing in for photography (Foundations 06: wells are placeholders). */
/* Sized by its width/height attributes (90 in the hero, 40 in an arch, 56 on cards). */
.nh-well-mark { display: block; opacity: .2; max-width: 40%; height: auto; }

/* ------------------------------------------------------------------ *
 *  Section heading rows
 * ------------------------------------------------------------------ */
.nhs-head {
	display: flex;
	align-items: center;
	gap: 20px;
}
.nhs-head--end { align-items: flex-end; }
.nhs .nhs-head__title {
	margin: 0;
	font-family: var(--nh-serif);
	font-weight: 700;
	font-size: 30px;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--nh-forest);
	white-space: nowrap;
}
.nhs-head__rule {
	flex: 1;
	min-width: 24px;
	height: 1px;
	background: var(--nh-line-strong);
	display: block;
}
.nhs-head__flourish { flex: none; display: block; line-height: 0; color: var(--nh-forest); }
.nhs .nhs-head__note { margin: 0; font-size: 14px; color: var(--nh-ink); white-space: nowrap; }
.nhs .nhs-head__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14.5px;
	font-weight: 500;
	color: var(--nh-forest);
	white-space: nowrap;
}
.nhs .nhs-head__link:hover { color: var(--nh-forest-deep); }
.nhs-head--end .nhs-head__link { margin-left: auto; }
.nhs .nhs-head__link--underline { gap: 8px; padding-bottom: 2px; border-bottom: 1px solid currentColor; }
.nhs-head__link svg { flex: none; transition: transform var(--nh-t-fast) var(--nh-ease-out); }
.nhs-head__link:hover svg { transform: translateX(3px); }

/* ------------------------------------------------------------------ *
 *  Buttons (Foundations 04): forest is the default action; orange is
 *  kept for add-to-cart and checkout; ink on amber, never white.
 * ------------------------------------------------------------------ */
.nhs .nhs-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: var(--nh-h-sm);
	padding: 12px 22px;
	border: 1.5px solid transparent;
	border-radius: var(--nh-r);
	font-family: var(--nh-sans);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition:
		background-color var(--nh-t-fast) var(--nh-ease-out),
		border-color var(--nh-t-fast) var(--nh-ease-out),
		color var(--nh-t-fast) var(--nh-ease-out),
		box-shadow var(--nh-t-fast) var(--nh-ease-out);
}
.nhs .nhs-btn svg { flex: none; transition: transform var(--nh-t-fast) var(--nh-ease-out); }
.nhs .nhs-btn:hover svg { transform: translateX(3px); }
.nhs .nhs-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--nh-page), 0 0 0 6px var(--nh-amber); }

.nhs .nhs-btn--primary { background: var(--nh-forest); border-color: var(--nh-forest); color: var(--nh-page); }
.nhs .nhs-btn--primary:hover { background: var(--nh-forest-deep); border-color: var(--nh-forest-deep); color: var(--nh-page); }

.nhs .nhs-btn--secondary { background: var(--nh-page); border-color: var(--nh-forest); color: var(--nh-forest); }
.nhs .nhs-btn--secondary:hover { background: var(--nh-forest); border-color: var(--nh-forest); color: var(--nh-page); }

/* On forest grounds the default action inverts: page fill, forest words. */
.nhs .nhs-btn--on-dark { background: var(--nh-page); border-color: var(--nh-page); color: var(--nh-forest); }
.nhs .nhs-btn--on-dark:hover { background: var(--nh-amber); border-color: var(--nh-amber); color: var(--nh-ink); }
.nhs .nhs-btn--on-dark:focus-visible { box-shadow: 0 0 0 3px var(--nh-forest), 0 0 0 6px var(--nh-amber); }

/* Display size — the hero's Literata pills (52px, the large control). */
.nhs .nhs-btn--display {
	min-height: var(--nh-h-lg);
	padding: 12px 32px;
	border-radius: var(--nh-r-pill);
	font-family: var(--nh-serif);
	font-size: 19px;
	font-weight: 600;
}

/* ------------------------------------------------------------------ *
 *  Icon + label items (hero benefits, promise bands)
 * ------------------------------------------------------------------ */
.nhs-item__icon { display: block; flex: none; line-height: 0; color: var(--nh-forest); }
.nhs-item__icon svg { display: block; }
/* Probiotic and digestion are "24px+" drawings in the icon set (V1.1). */
.nh-icon--probiotic, .nh-icon--digestion { min-width: 24px; min-height: 24px; }
.nhs-item__text { display: grid; gap: 1px; min-width: 0; }
.nhs .nhs-item__title { display: block; font-weight: 600; color: var(--nh-ink); line-height: 1.3; }
.nhs .nhs-item__sub { display: block; color: var(--nh-ink); line-height: 1.35; }

/* ------------------------------------------------------------------ *
 *  Hero
 * ------------------------------------------------------------------ */
.nhs-hero {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	align-items: stretch;
	background: var(--nh-sand);
}
.nhs-hero__copy {
	padding: 56px 44px 56px var(--nh-gutter);
	display: grid;
	gap: 22px;
	align-content: center;
	justify-items: start;
	min-width: 0;
}
.nhs .nhs-hero__kicker {
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .16em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--nh-ink);
}
.nhs .nhs-hero__title {
	margin: 0;
	font-family: var(--nh-serif);
	font-weight: 700;
	font-size: clamp(36px, 4.03vw, 58px);
	line-height: 1.06;
	letter-spacing: -0.03em;
	color: var(--nh-forest);
	max-width: 15ch;
	text-wrap: balance;
}
.nhs .nhs-hero__lede { font-size: 17.5px; line-height: 1.6; color: var(--nh-ink); max-width: 42ch; }

.nhs-hero__benefits {
	width: 100%;
	max-width: 560px;
	margin-top: 6px;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}
.nhs-hero .nhs-item { display: grid; gap: 9px; justify-items: center; align-content: start; text-align: center; }
.nhs-hero .nhs-item__icon {
	width: 54px;
	height: 54px;
	border-radius: var(--nh-r-pill);
	border: 1.5px solid var(--nh-amber);
	display: grid;
	place-items: center;
}
.nhs-hero .nhs-item__icon svg { width: 24px; height: 24px; }
.nhs-hero .nhs-item__title { font-size: 13.5px; }
.nhs-hero .nhs-item__sub { font-size: 12px; }

.nhs-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 10px; }

.nhs-hero__media {
	position: relative;
	min-height: 520px;
	background: var(--nh-cream);
	display: grid;
	place-items: center;
	overflow: hidden;
}
.nhs-hero__media .nh-well-mark { width: 90px; }
.nhs .nhs-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }

/* Handwritten notes — Caveat is decoration only (Foundations 02). */
.nhs .nhs-note {
	position: absolute;
	z-index: 1;
	font-family: var(--nh-script);
	line-height: 1.15;
	text-align: center;
	color: var(--nh-ink);
}
.nhs .nhs-note--top { top: 40px; right: 34px; font-size: 30px; }
.nhs .nhs-note--card {
	bottom: 54px;
	right: 40px;
	font-size: 27px;
	padding: 14px 20px;
	background: var(--nh-page);
	border: 1px solid var(--nh-line);
	border-radius: var(--nh-r-sm);
}
.nhs-hero.has-media .nhs-note--top { text-shadow: 0 1px 12px rgba(254, 254, 251, .85); }

/* ------------------------------------------------------------------ *
 *  Shop by category — arch tiles
 * ------------------------------------------------------------------ */
.nhs-cats {
	padding: 56px var(--nh-gutter) 44px;
	background: var(--nh-page);
	display: grid;
	gap: 26px;
}
.nhs .nhs-cats .nhs-head__title { font-size: clamp(26px, 2.5vw, 36px); letter-spacing: -0.022em; }
.nhs-cats__grid {
	display: grid;
	grid-template-columns: repeat(var(--nhs-cols, 8), minmax(0, 1fr));
	gap: 14px;
}
.nhs .nhs-tile {
	display: grid;
	gap: 11px;
	justify-items: center;
	align-content: start;
	text-align: center;
	color: var(--nh-ink);
	min-width: 0;
}
.nhs-tile__frame {
	width: 100%;
	aspect-ratio: 1 / 1.16;
	border: 1.5px solid var(--nh-amber);
	border-radius: 999px 999px 12px 12px;
	background: var(--nh-cream);
	display: grid;
	place-items: center;
	overflow: hidden;
	transition: transform var(--nh-t-fast) var(--nh-ease-out), box-shadow var(--nh-t-fast) var(--nh-ease-out);
}
.nhs .nhs-tile__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nhs-tile__text { display: grid; gap: 2px; }
.nhs .nhs-tile__label { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.25; color: var(--nh-ink); }
.nhs .nhs-tile__sub { display: block; font-size: 11.5px; line-height: 1.35; color: var(--nh-ink); }
.nhs a.nhs-tile:hover .nhs-tile__label { color: var(--nh-forest); }
.nhs a.nhs-tile:focus-visible { outline: none; }
.nhs a.nhs-tile:focus-visible .nhs-tile__frame { box-shadow: 0 0 0 3px var(--nh-page), 0 0 0 6px var(--nh-forest); }
@media (hover: hover) {
	.nhs a.nhs-tile:hover .nhs-tile__frame { transform: translateY(-3px); box-shadow: var(--nh-e-1); }
}

/* ------------------------------------------------------------------ *
 *  Promise bands — boxed (trust) and open (why choose us)
 * ------------------------------------------------------------------ */
.nhs-band { display: grid; gap: 22px; }
.nhs-band__grid { display: grid; grid-template-columns: repeat(var(--nhs-cols, 5), minmax(0, 1fr)); }
.nhs-band .nhs-item { display: flex; align-items: center; gap: 13px; min-width: 0; }

.nhs-band--boxed { padding: 0 var(--nh-gutter); }
.nhs-band--boxed .nhs-band__grid {
	background: var(--nh-surface);
	border: 1px solid var(--nh-line-strong);
	border-radius: var(--nh-r-lg);
	overflow: hidden;
}
.nhs-band--boxed .nhs-item { padding: 20px 18px; border-right: 1px solid var(--nh-line-strong); }
.nhs-band--boxed .nhs-item:last-child { border-right: 0; }
.nhs-band--boxed .nhs-item__icon svg { width: 24px; height: 24px; }
.nhs-band--boxed .nhs-item__title { font-size: 13.5px; }
.nhs-band--boxed .nhs-item__sub { font-size: 12px; }

.nhs-band--open { padding: 0 var(--nh-gutter) 52px; }
.nhs-band--open .nhs-item { padding: 4px 20px; border-right: 1px solid var(--nh-line-strong); }
.nhs-band--open .nhs-item:first-child { padding-left: 0; }
.nhs-band--open .nhs-item:last-child { padding-right: 0; border-right: 0; }
.nhs-band--open .nhs-item__icon svg { width: 32px; height: 32px; }
.nhs-band--open .nhs-item__title { font-size: 14px; }
.nhs-band--open .nhs-item__sub { font-size: 12.5px; }

/* ------------------------------------------------------------------ *
 *  Shop by need — forest cards
 * ------------------------------------------------------------------ */
.nhs-needs { padding: 44px var(--nh-gutter) 0; display: grid; gap: 20px; }
.nhs-needs__grid {
	display: grid;
	grid-template-columns: repeat(var(--nhs-cols, 4), minmax(0, 1fr));
	gap: 16px;
}
.nhs-need {
	background: var(--nh-forest);
	border-radius: var(--nh-r-lg);
	padding: 22px 22px 20px;
	display: grid;
	gap: 12px;
	align-content: start;
	color: var(--nh-page);
	min-width: 0;
}
.nhs-need__ring {
	width: 46px;
	height: 46px;
	border-radius: var(--nh-r-pill);
	border: 1.5px solid var(--nh-amber);
	display: grid;
	place-items: center;
	color: var(--nh-page);
	line-height: 0;
}
.nhs-need__ring svg { width: 24px; height: 24px; }
.nhs-need__copy { display: grid; gap: 4px; }
.nhs .nhs-need__title {
	margin: 0;
	font-family: var(--nh-serif);
	font-weight: 600;
	font-size: 20px;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--nh-page);
}
.nhs .nhs-need__title a { color: var(--nh-page); }
.nhs .nhs-need__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.nhs .nhs-need__text { font-size: 13.5px; line-height: 1.5; color: var(--nh-on-forest); }
.nhs-need__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.nhs .nhs-need__chips li > * {
	display: inline-block;
	font-size: 12px;
	line-height: 1.4;
	color: var(--nh-page);
	border: 1px solid rgba(254, 254, 251, .26);
	border-radius: var(--nh-r-pill);
	padding: 4px 10px;
	transition: border-color var(--nh-t-fast) var(--nh-ease-out), background-color var(--nh-t-fast) var(--nh-ease-out);
}
.nhs .nhs-need__chips a:hover { border-color: var(--nh-amber); color: var(--nh-page); }
.nhs .nhs-need__chips a:focus-visible { outline: 2px solid var(--nh-amber); outline-offset: 2px; }

/* ------------------------------------------------------------------ *
 *  Product shelf
 * ------------------------------------------------------------------ */
.nhs-shelf { padding: 48px var(--nh-gutter) 56px; display: grid; gap: 22px; }
.nhs .nhs-shelf .nhs-head__title { font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.022em; }
.nhs-shelf__preview { display: grid; gap: 22px; }

.nhs-shelf__bar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; }
.nhs-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.nhs .nhs-chip {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 8px 16px;
	border: 1.5px solid var(--nh-forest);
	border-radius: var(--nh-r-pill);
	background: transparent;
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--nh-forest);
	white-space: nowrap;
	cursor: pointer;
	transition: background-color var(--nh-t-fast) var(--nh-ease-out), color var(--nh-t-fast) var(--nh-ease-out);
}
.nhs .nhs-chip:hover { background: var(--nh-forest-tint); color: var(--nh-forest); }
.nhs .nhs-chip.is-active,
.nhs .nhs-chip[aria-pressed="true"] { background: var(--nh-forest); color: var(--nh-page); }
.nhs .nhs-chip:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--nh-page), 0 0 0 6px var(--nh-amber); }
.nhs .nhs-chip.is-unused { opacity: .45; border-style: dashed; cursor: help; }
@media (pointer: coarse) {
	.nhs .nhs-chip { min-height: var(--nh-h-sm); }
}

.nhs-sort { margin-left: auto; }
.nhs-sort label { position: relative; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--nh-ink); cursor: pointer; }
.nhs .nhs-sort select {
	appearance: none;
	-webkit-appearance: none;
	min-height: var(--nh-h-sm);
	padding: 6px 22px 6px 2px;
	border: 0;
	background: transparent;
	font: inherit;
	color: var(--nh-ink);
	cursor: pointer;
}
.nhs .nhs-sort select:focus-visible { outline: 2px solid var(--nh-forest); outline-offset: 2px; border-radius: var(--nh-r-sm); }
.nhs-sort svg { position: absolute; right: 2px; top: 50%; margin-top: -8px; color: var(--nh-forest); pointer-events: none; }
.nhs-sort__go { margin-left: 8px; }

.nhs-shelf__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
.nhs-shelf__grid.has-deal { grid-template-columns: minmax(0, 1fr) 320px; }
.nhs-shelf__products { min-width: 0; transition: opacity var(--nh-t-fast) var(--nh-ease-out); }
.nhs-shelf.is-loading .nhs-shelf__products { opacity: .45; pointer-events: none; }
.nh .nhs-shelf__products ul.products { margin: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.nhs-shelf__empty { font-size: 14.5px; color: var(--nh-muted); padding: 24px 0; }
.nhs .nhs-shelf__empty a { color: var(--nh-forest); text-decoration: underline; text-underline-offset: 3px; }

/* Deal of the day */
.nhs-deal {
	background: var(--nh-forest);
	border-radius: var(--nh-r-lg);
	padding: 20px;
	display: grid;
	gap: 14px;
	align-content: start;
	color: var(--nh-page);
}
.nhs-deal__head { display: grid; gap: 3px; justify-items: center; text-align: center; }
.nhs .nhs-deal__title {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--nh-serif);
	font-weight: 700;
	font-size: 21px;
	line-height: 1.2;
	color: var(--nh-page);
}
.nhs-deal__title .nh-sprig { color: var(--nh-amber); flex: none; }
.nhs .nhs-deal__sub { font-size: 12.5px; color: var(--nh-on-forest); }
.nhs-deal .nh-countdown { justify-content: center; }
.nhs-deal .nh-countdown b { font-size: 26px; }
.nhs-deal__card { background: var(--nh-surface); border-radius: 8px; overflow: hidden; color: var(--nh-ink); }
.nhs-deal__media {
	position: relative;
	display: grid;
	place-items: center;
	height: 122px;
	background: var(--nh-cream);
	overflow: hidden;
}
.nhs .nhs-deal__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.nhs .nhs-deal__media img.woocommerce-placeholder { object-fit: none; }
.nhs .nhs-deal__badge { top: 9px; right: 9px; left: auto; }
.nhs-deal__body { padding: 13px; display: grid; gap: 6px; }
.nhs .nhs-deal__name {
	font-family: var(--nh-serif);
	font-weight: 600;
	font-size: 16px;
	line-height: 1.3;
	color: var(--nh-ink);
}
.nhs .nhs-deal__name:hover { color: var(--nh-forest); }
.nhs-deal .nh-stockline { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--nh-ink); }
.nhs-deal .nh-stockline svg { color: var(--nh-forest); flex: none; }
.nhs .nhs-deal .price {
	display: flex;
	flex-direction: row-reverse;
	justify-content: flex-end;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 2px 8px;
	font-family: var(--nh-serif);
	font-weight: 600;
	font-size: 20px;
	color: var(--nh-forest);
}
.nhs .nhs-deal .price del { font-family: var(--nh-sans); font-size: 12.5px; font-weight: 400; color: var(--nh-muted-2); opacity: 1; }
.nhs .nhs-deal .price ins { text-decoration: none; }
.nhs .nhs-deal .button,
.nhs .nhs-deal .added_to_cart {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: var(--nh-h-sm);
	margin-top: 2px;
	padding: 12px 14px;
	border: 0;
	border-radius: var(--nh-r);
	background: var(--nh-orange);
	color: var(--nh-page);
	font-family: var(--nh-sans);
	font-size: 14px;
	font-weight: 500;
	text-align: center;
	transition: background-color var(--nh-t-fast) var(--nh-ease-out);
}
.nhs .nhs-deal .button:hover { background: var(--nh-orange-deep); color: var(--nh-page); }
.nhs .nhs-deal .added_to_cart { background: var(--nh-forest); }
.nhs-deal.is-ended .nh-countdown { display: none; }

/* ------------------------------------------------------------------ *
 *  Countdown (flash band, deal of the day)
 * ------------------------------------------------------------------ */
.nh-countdown { display: flex; align-items: flex-start; gap: 8px; }
.nh-countdown__days { display: contents; }
.nh-countdown__days[hidden] { display: none; }
.nh-countdown__unit { display: grid; gap: 2px; justify-items: center; min-width: 2.2ch; }
.nh-countdown b {
	display: block;
	font-family: var(--nh-mono);
	font-size: 27px;
	font-weight: 500;
	line-height: 1.1;
	color: var(--nh-page);
	font-variant-numeric: tabular-nums;
}
.nh-countdown small { font-size: 10.5px; color: var(--nh-on-forest); white-space: nowrap; }
.nh-countdown__sep { font-family: var(--nh-mono); font-size: 27px; line-height: 1.1; color: var(--nh-amber); }

/* ------------------------------------------------------------------ *
 *  Flash sale band
 * ------------------------------------------------------------------ */
.nhs-flash { padding: 0 var(--nh-gutter) 48px; }
.nhs-flash__band {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	gap: 26px;
	padding: 30px 34px;
	border-radius: var(--nh-r-lg);
	background: var(--nh-forest);
	color: var(--nh-page);
}
.nhs-flash__band > * { position: relative; }
.nhs .nhs-flash__leaves { position: absolute; inset: 0; pointer-events: none; color: rgba(254, 254, 251, .16); }
.nhs-flash__leaf { position: absolute; display: block; }
.nhs-flash__leaf--a { left: -8px; top: -6px; }
.nhs-flash__leaf--b { right: -8px; bottom: -6px; transform: scaleX(-1); }
.nhs .nhs-flash__title {
	margin: 0;
	font-family: var(--nh-serif);
	font-weight: 700;
	font-size: clamp(30px, 2.95vw, 42px);
	line-height: 1.05;
	letter-spacing: .01em;
	color: var(--nh-page);
	white-space: nowrap;
}
.nhs .nhs-flash__script { font-family: var(--nh-script); font-size: 27px; line-height: 1.12; color: var(--nh-amber); }
.nhs .nhs-rosette {
	width: 104px;
	height: 104px;
	flex: none;
	border-radius: var(--nh-r-pill);
	background: var(--nh-amber);
	color: var(--nh-ink);
	display: grid;
	place-content: center;
	justify-items: center;
	text-align: center;
}
.nhs .nhs-rosette__small { display: block; font-size: 11px; font-weight: 600; line-height: 1.25; letter-spacing: .02em; color: var(--nh-ink); }
.nhs .nhs-rosette__big { display: block; font-family: var(--nh-serif); font-weight: 700; font-size: 30px; line-height: 1; color: var(--nh-ink); }
.nhs-flash__offer { display: grid; gap: 7px; }
.nhs .nhs-flash__offer-title { font-family: var(--nh-serif); font-weight: 600; font-size: 20px; color: var(--nh-page); }
.nhs .nhs-flash__band > .nhs-btn {
	margin-left: auto;
	border-radius: var(--nh-r-pill);
	font-size: 16px;
	padding: 12px 28px;
	white-space: nowrap;
}
.nhs-flash__band.is-ended .nh-countdown { display: none; }

/* Editor-only notes printed by server previews. */
.nhs-editor-note {
	margin: 0;
	padding: 10px 12px;
	border: 1px dashed var(--nh-line-strong);
	border-radius: var(--nh-r);
	background: var(--nh-sand);
	color: var(--nh-ink-soft);
	font-family: var(--nh-sans);
	font-size: 13px;
	line-height: 1.45;
}
.nhs-editor-note--dark { background: rgba(254, 254, 251, .08); border-color: rgba(254, 254, 251, .35); color: var(--nh-page); }

/* ------------------------------------------------------------------ *
 *  Responsive — the artboards are 1440 only (mobile is a listed gap);
 *  these keep every section readable and thumb-sized down to 390.
 * ------------------------------------------------------------------ */
@media (max-width: 1180px) {
	.nhs-hero__copy { padding-right: 28px; }
	.nhs-cats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 24px; }
	.nhs-needs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nhs-shelf__grid.has-deal { grid-template-columns: minmax(0, 1fr); }
	.nhs-deal { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; column-gap: 24px; }
	.nhs-deal__head, .nhs-deal .nh-countdown { grid-column: 1; }
	.nhs-deal__card { grid-column: 2; grid-row: 1 / span 2; display: grid; grid-template-columns: 150px minmax(0, 1fr); }
	.nhs-deal__media { height: auto; min-height: 150px; }
	.nhs-flash__band { flex-wrap: wrap; row-gap: 18px; }
	.nhs .nhs-flash__band > .nhs-btn { margin-left: 0; }
}

@media (max-width: 1100px) {
	.nhs-band__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nhs-band--boxed .nhs-band__grid { gap: 1px; background: var(--nh-line-strong); }
	.nhs-band--boxed .nhs-item { border-right: 0; background: var(--nh-surface); }
	.nhs-band--boxed .nhs-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.nhs-band--open .nhs-band__grid { row-gap: 18px; column-gap: 24px; }
	.nhs-band--open .nhs-item,
	.nhs-band--open .nhs-item:first-child,
	.nhs-band--open .nhs-item:last-child { padding: 0; border-right: 0; }
}

@media (max-width: 900px) {
	.nhs-hero { grid-template-columns: minmax(0, 1fr); }
	.nhs-hero__copy { padding: 36px var(--nh-gutter) 32px; gap: 18px; }
	.nhs-hero__media { min-height: 0; aspect-ratio: 16 / 11; }
	.nhs .nhs-note--top { top: 18px; right: 18px; font-size: 24px; }
	.nhs .nhs-note--card { bottom: 18px; right: 18px; font-size: 22px; padding: 10px 14px; }
	.nh .nhs-shelf__products ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 782px) {
	.nhs-head { flex-wrap: wrap; gap: 8px 14px; }
	.nhs .nhs-head__title { white-space: normal; }
	.nhs-head__rule { display: none; }
	.nhs .nhs-head__note { white-space: normal; flex-basis: 100%; }
	.nhs-head--end { align-items: center; }

	.nhs-cats { padding: 36px var(--nh-gutter) 32px; gap: 20px; }
	.nhs-needs { padding-top: 32px; }
	.nhs-shelf { padding: 36px var(--nh-gutter) 40px; gap: 18px; }
	.nhs-band--open { padding-bottom: 40px; }
	.nhs-flash { padding-bottom: 36px; }

	/* Chips scroll sideways rather than stacking four rows deep. */
	.nhs-shelf__bar { flex-wrap: nowrap; flex-direction: column; align-items: stretch; }
	.nhs-chips {
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
		margin: 0 calc(var(--nh-gutter) * -1);
		padding: 2px var(--nh-gutter) 4px;
	}
	.nhs-chips::-webkit-scrollbar { display: none; }
	.nhs-sort { margin-left: 0; }
	.nh .nhs-shelf__products ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

	.nhs-deal { grid-template-columns: minmax(0, 1fr); }
	.nhs-deal__head, .nhs-deal .nh-countdown, .nhs-deal__card { grid-column: auto; grid-row: auto; }
	.nhs-deal__card { grid-template-columns: 120px minmax(0, 1fr); }
	.nhs-deal__media { min-height: 0; height: 100%; }

	.nhs-flash__band { padding: 26px 22px; gap: 16px 18px; }
	.nhs .nhs-rosette { width: 88px; height: 88px; }
	.nhs .nhs-rosette__big { font-size: 26px; }
	.nhs .nhs-flash__band > .nhs-btn { width: 100%; }
}

@media (max-width: 640px) {
	/* Arches and need cards become snap rows: one thumb-swipe, not a tall stack. */
	.nhs-cats__grid,
	.nhs-needs__grid {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		margin: 0 calc(var(--nh-gutter) * -1);
		padding: 2px var(--nh-gutter) 8px;
		scroll-padding-inline: var(--nh-gutter);
	}
	.nhs-cats__grid::-webkit-scrollbar,
	.nhs-needs__grid::-webkit-scrollbar { display: none; }
	.nhs-cats__grid > * { flex: 0 0 36%; scroll-snap-align: start; }
	.nhs-needs__grid > * { flex: 0 0 82%; scroll-snap-align: start; }

	.nhs-hero__benefits { gap: 8px; }
	.nhs-hero .nhs-item__icon { width: 46px; height: 46px; }
	.nhs-hero .nhs-item__title { font-size: 12.5px; }
	.nhs-hero .nhs-item__sub { font-size: 11.5px; }
	.nhs .nhs-btn--display { font-size: 17px; padding: 11px 24px; }
	.nhs .nhs-hero__lede { font-size: 16px; }

	.nhs-band__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.nhs-band--boxed .nhs-item { padding: 16px 14px; gap: 10px; }
	.nhs-band--boxed .nhs-item__icon svg { width: 20px; height: 20px; }

	.nhs-deal__card { grid-template-columns: minmax(0, 1fr); }
	.nhs-deal__media { height: 150px; }
	.nh-countdown b, .nhs-deal .nh-countdown b { font-size: 23px; }
	.nh-countdown__sep { font-size: 23px; }
}

@media (prefers-reduced-motion: reduce) {
	.nhs .nhs-btn svg, .nhs-head__link svg, .nhs-tile__frame { transition: none; }
	.nhs .nhs-btn:hover svg, .nhs-head__link:hover svg { transform: none; }
}
