/**
 * Nature Hut — page systems ported from the design files:
 * Legal (Terms/Privacy/Returns/Shipping), Blog post, Sign in, 404,
 * Track order. Structure and spacing follow the .dc.html sources;
 * colour comes from the Foundations V2 tokens.
 */

/* ------------------------------------------------------------------ *
 *  Buttons — Foundations 04. Forest = default. Orange = money moments.
 * ------------------------------------------------------------------ */
.nh-btn { min-height: var(--nh-h-md); transition: background 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); }
.nh-btn--buy:hover { background: #8E3B15; filter: none; }
.nh-btn--line:hover { background: var(--nh-forest); color: var(--nh-page) !important; }
.nh-btn--lg { min-height: var(--nh-h-lg); font-size: 15.5px; }
.nh-btn--sm { min-height: var(--nh-h-sm); font-size: 14px; padding: 10px 18px; }
.nh-btn[disabled], .nh-btn.is-disabled { background: var(--nh-line); color: var(--nh-muted-2) !important; cursor: not-allowed; }
.nh-btn:focus-visible, .nh-chip:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
	outline: 2px solid var(--nh-forest);
	outline-offset: 2px;
	border-radius: var(--nh-r-sm);
}

/* ------------------------------------------------------------------ *
 *  Legal documents  (Nature Hut Legal.dc.html)
 * ------------------------------------------------------------------ */
.nh-legal-hero {
	background: var(--nh-cream);
	padding: 40px var(--nh-gutter) 36px;
	display: grid;
	gap: 14px;
}
.nh-legal-hero h1 { margin: 0; font-size: clamp(30px, 4.4vw, 44px); font-weight: 700; letter-spacing: -.025em; line-height: 1.05; }
.nh-legal-hero .nh-legal-intro { font-size: 15.5px; line-height: 1.55; max-width: 64ch; text-wrap: pretty; margin: 0; color: var(--nh-ink); }
.nh-legal-meta {
	display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
	font-family: var(--nh-mono); font-size: 11px; letter-spacing: .06em; color: var(--nh-muted);
}
.nh-legal-meta .dot { width: 4px; height: 4px; border-radius: var(--nh-r-pill); background: var(--nh-line-strong); }

.nh-legal-layout {
	padding: 36px var(--nh-gutter) 64px;
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr) 300px;
	gap: 40px;
	align-items: start;
}
.nh-legal-nav { display: grid; gap: 22px; position: sticky; top: 24px; }
.nh-legal-nav .nh-mono-label { padding: 0 14px 8px; display: block; }
.nh-legal-nav__docs { display: grid; gap: 4px; }
.nh-legal-nav__docs a {
	display: flex; align-items: center; gap: 12px;
	font-size: 14.5px; font-weight: 500; padding: 11px 14px;
	border-radius: var(--nh-r); color: var(--nh-ink); text-decoration: none;
	transition: background var(--nh-t-fast) var(--nh-ease-out);
}
.nh-legal-nav__docs a::before {
	content: ""; width: 8px; height: 8px; border-radius: var(--nh-r-pill);
	background: var(--nh-line-strong); flex: none;
}
.nh-legal-nav__docs a:hover { background: var(--nh-sand); text-decoration: none; }
.nh-legal-nav__docs a[aria-current="page"] { background: var(--nh-forest); color: var(--nh-page); }
.nh-legal-nav__docs a[aria-current="page"]::before { background: var(--nh-amber); }
.nh-legal-toc { display: grid; gap: 2px; padding-top: 18px; border-top: 1px solid var(--nh-line); }
.nh-legal-toc a { font-size: 13.5px; padding: 7px 14px; color: var(--nh-ink); display: flex; gap: 10px; text-decoration: none; }
.nh-legal-toc a:hover { color: var(--nh-forest); }
.nh-legal-toc .num { font-family: var(--nh-mono); font-size: 11px; color: var(--nh-muted-2); padding-top: 2px; }

.nh-legal-article { display: grid; gap: 34px; max-width: 720px; }
.nh-legal-article section { display: grid; gap: 12px; scroll-margin-top: 24px; }
.nh-legal-article h2 {
	margin: 0; display: flex; gap: 14px; align-items: baseline;
	font-size: 24px; font-weight: 700; letter-spacing: -.02em;
}
.nh-legal-article h2 .num { font-family: var(--nh-mono); font-weight: 500; font-size: 13px; color: var(--nh-orange); }
.nh-legal-article p { margin: 0; font-size: 15.5px; line-height: 1.7; text-wrap: pretty; color: var(--nh-ink); max-width: none; }
.nh-legal-article ul { margin: 4px 0 0; padding-left: 20px; display: grid; gap: 7px; font-size: 15px; line-height: 1.6; }
.nh-legal-callout { background: var(--nh-cream); border-radius: var(--nh-r-lg); padding: 22px 24px; display: grid; gap: 6px; }
.nh-legal-callout .nh-script { color: var(--nh-forest); font-size: 26px; line-height: 1; }
.nh-legal-callout p { margin: 0; font-size: 14.5px; line-height: 1.6; }

.nh-legal-aside { display: grid; gap: 16px; position: sticky; top: 24px; }
.nh-legal-summary { background: var(--nh-surface); border: 1px solid var(--nh-line); border-radius: var(--nh-r-lg); padding: 20px 22px; display: grid; gap: 12px; }
.nh-legal-summary li { display: flex; gap: 8px; font-size: 13.5px; line-height: 1.5; list-style: none; }
.nh-legal-summary ul { margin: 0; padding: 0; display: grid; gap: 12px; }
.nh-legal-summary svg { color: var(--nh-forest); flex: none; margin-top: 2px; }
.nh-legal-help { background: var(--nh-forest); border-radius: var(--nh-r-lg); padding: 22px; display: grid; gap: 12px; }
.nh-legal-help .nh-script { color: var(--nh-amber); font-size: 28px; line-height: 1.1; }
.nh-legal-help p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--nh-on-forest); }

/* ------------------------------------------------------------------ *
 *  Blog post  (Nature Hut Blog Post.dc.html)
 * ------------------------------------------------------------------ */
.nh-post-head { padding: 30px var(--nh-gutter) 0; display: grid; justify-items: center; text-align: center; gap: 16px; }
.nh-post-head .nh-breadcrumb { justify-self: start; }
.nh-post-head h1 {
	margin: 0; font-size: clamp(32px, 5.2vw, 52px); font-weight: 700;
	line-height: 1.05; letter-spacing: -.025em; max-width: 20ch; text-wrap: balance;
}
.nh-post-standfirst { font-size: 18px; line-height: 1.55; max-width: 58ch; text-wrap: pretty; margin: 0; color: var(--nh-ink); }
.nh-post-byline { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--nh-muted); }
.nh-post-byline img, .nh-post-byline .avatar { width: 36px; height: 36px; border-radius: var(--nh-r-pill); background: var(--nh-line); display: block; }
.nh-post-byline strong { color: var(--nh-ink); font-weight: 600; }
.nh-post-hero { margin: 32px var(--nh-gutter) 0; background: var(--nh-cream); border-radius: 12px; overflow: hidden; position: relative; }
.nh-post-hero img { width: 100%; display: block; }

.nh-post-layout {
	padding: 44px var(--nh-gutter) 64px;
	display: grid; grid-template-columns: 220px minmax(0, 680px) 300px;
	gap: 60px; justify-content: center; align-items: start;
}
.nh-post-toc { display: grid; gap: 10px; position: sticky; top: 24px; align-content: start; }
.nh-post-toc a {
	font-size: 13.5px; line-height: 1.4; color: var(--nh-muted);
	padding: 4px 0 4px 12px; border-left: 2px solid var(--nh-line); text-decoration: none;
	transition: color var(--nh-t-fast) var(--nh-ease-out), border-color var(--nh-t-fast) var(--nh-ease-out);
}
.nh-post-toc a:hover, .nh-post-toc a.is-active { color: var(--nh-forest); border-left-color: var(--nh-forest); font-weight: 600; }
.nh-post-share { display: flex; gap: 8px; padding-top: 18px; margin-top: 8px; border-top: 1px solid var(--nh-line); }
.nh-post-share a {
	width: 34px; height: 34px; border-radius: var(--nh-r-pill);
	border: 1.5px solid var(--nh-forest); color: var(--nh-forest);
	display: grid; place-items: center; transition: background var(--nh-t-fast) var(--nh-ease-out);
}
.nh-post-share a:hover { background: var(--nh-forest); color: var(--nh-page); }

.nh-post-body { display: grid; gap: 22px; font-size: 17px; line-height: 1.7; color: var(--nh-ink); }
.nh-post-body > * { margin: 0; }
.nh-post-body > p { text-wrap: pretty; }
.nh-post-body > p:first-of-type::first-letter {
	font-family: var(--nh-serif); font-weight: 700; font-size: 58px; line-height: .8;
	float: left; color: var(--nh-orange); padding: 10px 10px 0 0;
}
.nh-post-body h2 { margin: 14px 0 0; font-size: 28px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.nh-post-body h3 { margin: 10px 0 0; font-size: 21px; font-weight: 600; }
.nh-post-body blockquote {
	margin: 8px 0; padding: 4px 0 4px 28px; border-left: 3px solid var(--nh-amber);
	font-family: var(--nh-serif); font-size: 24px; line-height: 1.4; letter-spacing: -.01em;
	color: var(--nh-forest); text-wrap: balance;
}
.nh-post-body img, .nh-post-body figure img { border-radius: var(--nh-r-lg); display: block; }
.nh-post-body figcaption { font-size: 12px; color: var(--nh-muted-2); padding-top: 6px; }
.nh-post-body ul, .nh-post-body ol { padding-left: 22px; display: grid; gap: 8px; }
.nh-post-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 6px 0; }
.nh-post-step { background: var(--nh-cream); border-radius: var(--nh-r-lg); padding: 18px 18px 16px; display: grid; gap: 8px; align-content: start; }
.nh-post-step .num { font-family: var(--nh-mono); font-weight: 500; font-size: 12px; color: var(--nh-orange); }
.nh-post-step strong { font-size: 15px; font-weight: 600; line-height: 1.3; }
.nh-post-step span { font-size: 13.5px; line-height: 1.5; color: var(--nh-muted); }
.nh-post-author {
	display: flex; align-items: center; gap: 18px; padding: 24px; margin-top: 12px;
	background: var(--nh-surface); border: 1px solid var(--nh-line); border-radius: var(--nh-r-lg);
}
.nh-post-author .avatar { width: 64px; height: 64px; border-radius: var(--nh-r-pill); background: var(--nh-line); flex: none; }

.nh-post-aside { display: grid; gap: 16px; position: sticky; top: 24px; align-content: start; }
.nh-post-aside__product { background: var(--nh-surface); border: 1px solid var(--nh-amber); border-radius: var(--nh-r-lg); overflow: hidden; display: grid; }
.nh-post-aside__product .media { background: var(--nh-cream); min-height: 190px; display: grid; place-items: center; }
.nh-post-aside__product .body { padding: 18px 20px 20px; display: grid; gap: 10px; }
.nh-post-aside__product .title { font-family: var(--nh-serif); font-weight: 600; font-size: 19px; line-height: 1.25; color: var(--nh-forest); }
.nh-post-aside__product .price { font-family: var(--nh-serif); font-weight: 600; font-size: 22px; color: var(--nh-forest); }
.nh-post-news { background: var(--nh-forest); border-radius: var(--nh-r-lg); padding: 22px; display: grid; gap: 10px; }
.nh-post-news .nh-script { color: var(--nh-amber); font-size: 28px; line-height: 1.1; }
.nh-post-news p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--nh-on-forest); }
.nh-post-news input {
	font-size: 13.5px; border: 0; border-radius: var(--nh-r);
	padding: 11px 14px; width: 100%; background: var(--nh-surface); color: var(--nh-ink);
}

.nh-post-more { padding: 0 var(--nh-gutter) 64px; display: grid; gap: 20px; }
.nh-post-more__head { display: flex; align-items: center; gap: 16px; }
.nh-post-more__head h2 { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.nh-post-more__head .rule { flex: 1; height: 1px; background: var(--nh-line); }

/* ------------------------------------------------------------------ *
 *  Sign in / account  (Nature Hut Sign In.dc.html)
 * ------------------------------------------------------------------ */
.nh-auth {
	margin: 40px var(--nh-gutter) 72px;
	display: grid; grid-template-columns: 1fr 1fr;
	background: var(--nh-surface); border: 1px solid var(--nh-line);
	border-radius: 14px; overflow: hidden; min-height: 640px;
}
.nh-auth__pitch {
	background: var(--nh-forest); padding: 52px 56px;
	display: grid; align-content: space-between; gap: 40px;
	position: relative; overflow: hidden; color: var(--nh-page);
}
.nh-auth__pitch .leaf { position: absolute; right: -30px; bottom: -20px; color: var(--nh-forest-line); }
.nh-auth__pitch .nh-script { color: var(--nh-amber); font-size: 32px; line-height: 1; position: relative; }
.nh-auth__pitch h2 {
	margin: 0; font-size: 40px; font-weight: 700; line-height: 1.08;
	letter-spacing: -.025em; color: var(--nh-page); text-wrap: balance; position: relative;
}
.nh-auth__pitch ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; position: relative; }
.nh-auth__pitch li { display: flex; gap: 8px; font-size: 14.5px; line-height: 1.5; color: var(--nh-page); }
.nh-auth__pitch li svg { color: var(--nh-page); flex: none; margin-top: 1px; }
.nh-auth__form { padding: 52px 64px; display: grid; align-content: center; gap: 26px; }
.nh-auth__form h1, .nh-auth__form h2 { margin: 0; font-size: 32px; font-weight: 700; letter-spacing: -.02em; }
.nh-auth__tabs { display: flex; background: var(--nh-cream); border-radius: var(--nh-r-pill); padding: 4px; justify-self: start; }
.nh-auth__tabs a, .nh-auth__tabs button {
	font-size: 14px; font-weight: 600; padding: 9px 22px; border: 0;
	border-radius: var(--nh-r-pill); background: transparent; color: var(--nh-forest);
	cursor: pointer; text-decoration: none;
}
.nh-auth__tabs .is-active { background: var(--nh-forest); color: var(--nh-page); }
.nh-auth__note { font-size: 12.5px; line-height: 1.6; color: var(--nh-muted); max-width: 44ch; }

/* WooCommerce login/register inside the shell */
.nh-auth__form .woocommerce-form-row, .nh-auth__form .form-row { display: grid; gap: 6px; margin: 0; padding: 0; }
.nh-auth__form label { font-size: 12.5px; font-weight: 600; }
.nh-auth__form .input-text {
	font-size: 15px; height: var(--nh-h-input);
	border: 1.5px solid var(--nh-line-strong); border-radius: var(--nh-r);
	padding: 0 14px; background: var(--nh-surface); width: 100%;
}
.nh-auth__form .input-text:focus { border-color: var(--nh-forest); outline: 2px solid rgba(20, 90, 49, .18); outline-offset: 1px; }
.nh-auth__form .button, .nh-auth__form button[type="submit"] {
	background: var(--nh-orange); color: var(--nh-page); border: 0;
	border-radius: var(--nh-r); font-weight: 600; font-size: 15px;
	min-height: var(--nh-h-lg); padding: 0 20px; cursor: pointer; width: 100%;
}
.nh-otp { display: flex; gap: 10px; }
.nh-otp span {
	width: 56px; height: 62px; border: 1.5px solid var(--nh-line-strong);
	border-radius: var(--nh-r); background: var(--nh-surface);
	display: grid; place-items: center; font-family: var(--nh-mono); font-size: 24px;
}
.nh-otp span.is-next { border-color: var(--nh-amber); }
.nh-otp span.is-filled { border-color: var(--nh-forest); }

/* ------------------------------------------------------------------ *
 *  404  (Nature Hut 404.dc.html)
 * ------------------------------------------------------------------ */
.nh-404 { padding: 90px var(--nh-gutter) 100px; display: grid; justify-items: center; text-align: center; gap: 18px; }
.nh-404 .nh-script { font-size: 34px; line-height: 1; color: var(--nh-orange); }
.nh-404__code { font-family: var(--nh-serif); font-weight: 700; font-size: clamp(76px, 13vw, 128px); line-height: .9; letter-spacing: -.04em; color: var(--nh-forest); }
.nh-404 h1 { margin: 0; font-size: 0; position: absolute; left: -9999px; }
.nh-404__copy { font-size: 17px; line-height: 1.55; max-width: 46ch; text-wrap: pretty; color: var(--nh-muted); margin: 0; }
.nh-404__actions { display: flex; gap: 10px; padding-top: 8px; flex-wrap: wrap; justify-content: center; }
.nh-404__search { width: min(520px, 100%); margin-top: 24px; }
.nh-404__search .nh-searchpill { padding: 8px 8px 8px 22px; }
.nh-404__search .nh-searchpill input { font-size: 15px; }
.nh-404__search .nh-searchpill button { width: 40px; height: 40px; }
.nh-404__popular { display: flex; gap: 8px; font-size: 13px; color: var(--nh-muted); align-items: center; flex-wrap: wrap; justify-content: center; }

/* ------------------------------------------------------------------ *
 *  Track order  (Nature Hut Track Order.dc.html)
 * ------------------------------------------------------------------ */
.nh-track { padding: 28px var(--nh-gutter) 64px; display: grid; grid-template-columns: 1fr 400px; gap: 30px; align-items: start; }
.nh-track__main { display: grid; gap: 20px; }
.nh-track-find {
	margin: 20px var(--nh-gutter) 0; background: var(--nh-surface);
	border: 1px solid var(--nh-line); border-radius: var(--nh-r-lg);
	padding: 18px 20px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end;
}
/* Label text on its own line, the field under it at a fixed height, in
   plain block flow: password-manager icons injected beside a field (seen in
   testing) can no longer push it out of line with its neighbours. */
.nh-track-find label { display: block; min-width: 0; }
.nh-track-find__label { display: block; margin: 0 0 6px; font-size: 12.5px; font-weight: 600; line-height: 1.3; color: var(--nh-ink); }
form.nh-track-find input[type="text"] {
	display: block; width: 100%; height: var(--nh-h-md); margin: 0;
	font-family: var(--nh-mono); font-size: 14px; background: var(--nh-surface);
	border: 1.5px solid var(--nh-line-strong); border-radius: var(--nh-r); padding: 0 14px;
}
form.nh-track-find input[type="text"]:focus { border-color: var(--nh-forest); outline: 2px solid rgba(20, 90, 49, .18); outline-offset: 0; }
.nh-track-find button {
	display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600;
	color: var(--nh-page); background: var(--nh-forest); border: 0;
	border-radius: var(--nh-r); padding: 0 24px; height: var(--nh-h-md); cursor: pointer;
}
.nh-track-status { background: var(--nh-cream); border-radius: var(--nh-r-lg); padding: 22px 24px; display: grid; gap: 3px; }
.nh-track-status strong { font-family: var(--nh-serif); font-weight: 700; font-size: 26px; color: var(--nh-forest); }
/* A cancelled / refunded / failed order says so on sand, without a journey. */
.nh-track-status.is-halted { background: var(--nh-sand); }
.nh-track-status.is-halted strong { color: var(--nh-ink); }
.nh-track-status + .nh-journey { margin-top: 18px; }

/* The find row's own message, under the fields. */
.nh-track-find button svg { flex: none; }
.nh-track-find__error { grid-column: 1 / -1; margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--nh-error); }

/* A found order: a full-width band (status + the rider's rail), then the
   order details beside a sidebar with the timeline and the help card. */
.nh-track--found { grid-template-areas: "hero hero" "main side"; row-gap: 24px; }
.nh-track--found .nh-track__hero { grid-area: hero; display: grid; gap: 16px; min-width: 0; }
.nh-track--found .nh-track__main { grid-area: main; min-width: 0; }
.nh-track--found .nh-track-aside { grid-area: side; }
.nh-track--found .nh-track__hero > .nh-track-status + .nh-journey { margin-top: 0; }

/* The sidebar timeline: the stops on a line, each with when it happened. */
.nh-timeline { background: var(--nh-surface); border: 1px solid var(--nh-line); border-radius: var(--nh-r-lg); padding: 20px 22px; display: grid; gap: 16px; }
.nh-timeline .nh-journey__rows { margin: 0; padding: 0; border-top: 0; }
.nh-timeline .nh-journey__row { position: relative; grid-template-columns: 22px minmax(0, 1fr); gap: 3px 14px; padding: 0 0 20px; }
.nh-timeline .nh-journey__row:last-child { padding-bottom: 0; }
.nh-timeline .nh-journey__row time { grid-column: 2; padding-top: 0; }
.nh-timeline .nh-journey__row:not(.is-done):not(.is-current) time { display: none; }
.nh-timeline .nh-journey__row:not(:last-child)::before {
	content: ""; position: absolute; left: 10px; top: 27px; bottom: 3px;
	width: 2px; border-radius: 2px; background: var(--nh-line);
}
.nh-timeline .nh-journey__row.is-done::before { background: var(--nh-forest); }

/* The details column: the shop's updates, then WooCommerce's own tables. */
.nh-track-result { display: grid; gap: 28px; min-width: 0; }
.nh-track-updates { background: var(--nh-surface); border: 1px solid var(--nh-line); border-radius: var(--nh-r-lg); padding: 20px 24px; display: grid; gap: 12px; }
.nh .nh-track-updates h2 { margin: 0; font-size: 20px; }
.nh-track-updates ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.nh-track-updates li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; font-size: 14px; line-height: 1.55; }
.nh-track-updates time { font-family: var(--nh-mono); font-size: 12px; color: var(--nh-muted); padding-top: 2px; }
.nh-track-updates li p { margin: 0; }
/* The section's reset zeroes heading margins — that let WooCommerce's
   "Order details" / address headings run into their tables. */
.nh .nhs-trackpage .woocommerce-order-details,
.nh .nhs-trackpage .woocommerce-customer-details { margin: 0; }
.nh .nhs-trackpage .woocommerce-order-details__title,
.nh .nhs-trackpage .woocommerce-column__title { margin: 0 0 12px; font-size: 22px; line-height: 1.2; }
.nh .nhs-trackpage .woocommerce-order-details .shop_table { margin: 0; }
.nh .nhs-trackpage .woocommerce-columns--addresses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0; }
.nh .nhs-trackpage .woocommerce-columns--addresses::before,
.nh .nhs-trackpage .woocommerce-columns--addresses::after { display: none; }
.nh .nhs-trackpage .woocommerce-columns--addresses .woocommerce-column { float: none; width: auto; max-width: none; margin: 0; }
.nh .nhs-trackpage .woocommerce-customer-details address {
	margin: 0; padding: 14px 16px; border: 1px solid var(--nh-line); border-radius: var(--nh-r-lg);
	background: var(--nh-surface); font-style: normal; line-height: 1.65;
}
@media (max-width: 1100px) {
	.nh-track--found { grid-template-areas: "hero" "side" "main"; }
}
@media (max-width: 640px) {
	.nh .nhs-trackpage .woocommerce-columns--addresses { grid-template-columns: minmax(0, 1fr); }
}

.nh-journey { background: var(--nh-surface); border: 1px solid var(--nh-line); border-radius: var(--nh-r-lg); padding: 30px 28px 24px; overflow: hidden; }
.nh-journey__track { position: relative; height: 118px; }
.nh-journey__rail, .nh-journey__progress {
	position: absolute; left: 10%; right: 10%; top: 66px; height: 3px;
	border-radius: var(--nh-r-pill); display: block;
}
.nh-journey__rail { background: var(--nh-line); }
.nh-journey__progress { background: var(--nh-forest); transform-origin: left center; transform: scaleX(0); }
.nh-journey__rider { position: absolute; left: 0; right: 0; top: 8px; height: 0; display: block; }
/* left% is the resting truth (rendered by PHP); transform is only the travel. */
.nh-journey__dot { position: absolute; left: 10%; top: 0; width: 40px; margin-left: -20px; display: grid; justify-items: center; gap: 4px; will-change: transform; }
.nh-journey__puck {
	width: 40px; height: 40px; border-radius: var(--nh-r-pill); background: var(--nh-amber);
	border: 3px solid var(--nh-page); box-shadow: 0 6px 16px rgba(26, 43, 32, .22);
	display: grid; place-items: center; color: var(--nh-ink);
}
.nh-journey__pin { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid var(--nh-amber); }
.nh-journey__nodes { position: absolute; left: 0; right: 0; top: 50px; display: grid; grid-template-columns: repeat(5, 1fr); }
.nh-journey__node { display: grid; justify-items: center; gap: 12px; }
.nh-journey__bead {
	width: 34px; height: 34px; border-radius: var(--nh-r-pill);
	background: var(--nh-surface); border: 2.5px solid var(--nh-line-strong);
	display: grid; place-items: center; color: var(--nh-line-strong);
	will-change: transform;
}
.nh-journey__node.is-done .nh-journey__bead { background: var(--nh-forest); border-color: var(--nh-forest); color: var(--nh-page); }
.nh-journey__node.is-current .nh-journey__bead { background: var(--nh-amber); border-color: var(--nh-amber); color: var(--nh-ink); box-shadow: 0 0 0 6px rgba(254, 178, 4, .25); }
.nh-journey__label { display: grid; gap: 2px; text-align: center; }
.nh-journey__label strong { font-size: 13px; font-weight: 600; color: var(--nh-line-strong); }
.nh-journey__node.is-done .nh-journey__label strong,
.nh-journey__node.is-current .nh-journey__label strong { color: var(--nh-ink); }
.nh-journey__label time { font-family: var(--nh-mono); font-size: 11px; color: var(--nh-muted); }

.nh-journey__rows { display: grid; margin: 26px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid var(--nh-line); }
.nh-journey__row { display: grid; grid-template-columns: 28px 1fr auto; gap: 16px; align-items: start; padding: 10px 0; }
.nh-journey__row .marker {
	width: 24px; height: 24px; border-radius: var(--nh-r-pill); display: grid; place-items: center;
	background: var(--nh-surface); border: 1.5px solid var(--nh-line-strong); margin-top: 1px;
}
.nh-journey__row.is-done .marker { background: var(--nh-forest); border-color: var(--nh-forest); color: var(--nh-page); }
.nh-journey__row.is-current .marker { border-color: var(--nh-forest); }
.nh-journey__row.is-current .marker::after { content: ""; width: 8px; height: 8px; border-radius: var(--nh-r-pill); background: var(--nh-amber); }
.nh-journey__row .copy { display: grid; gap: 2px; }
.nh-journey__row .copy strong { font-size: 15px; font-weight: 600; }
.nh-journey__row .copy span { font-size: 13.5px; line-height: 1.5; }
.nh-journey__row:not(.is-done):not(.is-current) .copy { color: var(--nh-line-strong); }
.nh-journey__row time { font-family: var(--nh-mono); font-size: 12px; color: var(--nh-muted); white-space: nowrap; padding-top: 3px; }

.nh-track-parcel { background: var(--nh-surface); border: 1px solid var(--nh-line); border-radius: var(--nh-r-lg); padding: 20px 24px; display: flex; align-items: center; gap: 18px; }
.nh-track-parcel .tag { font-family: var(--nh-mono); font-size: 10px; letter-spacing: .08em; color: var(--nh-ink); background: var(--nh-amber); border-radius: var(--nh-r-sm); padding: 5px 9px; }
.nh-track-aside { display: grid; gap: 16px; }
.nh-track-card { background: var(--nh-surface); border: 1px solid var(--nh-line); border-radius: var(--nh-r-lg); padding: 20px 22px; display: grid; gap: 12px; }
.nh-track-help { background: var(--nh-forest); border-radius: var(--nh-r-lg); padding: 18px 20px; display: grid; gap: 6px; color: var(--nh-page); }
.nh-track-help strong { font-size: 14px; font-weight: 600; }
.nh-track-help p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--nh-on-forest); }

/* ------------------------------------------------------------------ *
 *  Responsive
 * ------------------------------------------------------------------ */
@media (max-width: 1100px) {
	.nh-legal-layout { grid-template-columns: 220px minmax(0, 1fr); }
	.nh-legal-aside { grid-column: 1 / -1; position: static; grid-template-columns: 1fr 1fr; display: grid; }
	.nh-post-layout { grid-template-columns: minmax(0, 680px) 300px; justify-content: start; gap: 34px; }
	.nh-post-toc { display: none; }
	.nh-track { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
	.nh-auth { grid-template-columns: 1fr; margin: 20px var(--nh-gutter) 48px; min-height: 0; }
	.nh-auth__pitch { padding: 34px 28px; }
	.nh-auth__pitch h2 { font-size: 28px; }
	.nh-auth__form { padding: 30px 28px; }
}
@media (max-width: 782px) {
	.nh-legal-layout { grid-template-columns: 1fr; gap: 26px; padding-top: 24px; }
	.nh-legal-nav { position: static; }
	.nh-legal-aside { grid-template-columns: 1fr; }
	.nh-post-layout { grid-template-columns: 1fr; gap: 30px; padding-top: 30px; }
	.nh-post-aside { position: static; }
	.nh-post-steps { grid-template-columns: 1fr; }
	.nh-post-body { font-size: 16px; }
	.nh-track-find { grid-template-columns: 1fr; }
	.nh-journey { padding: 22px 16px 18px; }
	.nh-journey__label strong { font-size: 11px; }
	.nh-journey__label time { font-size: 10px; }
	.nh-post-more__head h2 { font-size: 21px; }
}

/* ------------------------------------------------------------------ *
 *  Specificity guards — base `body.nh h1,h2,h3` paints headings forest,
 *  which is invisible on forest. Anything on a dark ground restates it.
 * ------------------------------------------------------------------ */
body.nh .nh-auth__pitch h1,
body.nh .nh-auth__pitch h2,
body.nh .nh-auth__pitch h3,
body.nh .nh-legal-help h2,
body.nh .nh-post-news h2,
body.nh .nh-track-help h2 { color: var(--nh-page); }

/* ------------------------------------------------------------------ *
 *  WooCommerce login / register inside the sign-in shell
 * ------------------------------------------------------------------ */
.nh-auth__form .u-columns { display: grid; gap: 0; }
.nh-auth__form .u-column1, .nh-auth__form .u-column2 { width: 100% !important; float: none !important; margin: 0 !important; }
.nh-auth__form .col-1, .nh-auth__form .col-2 { max-width: none; padding: 0; }
.nh-auth__form h2 { font-size: 26px; margin: 0 0 14px; }
.nh-auth__form form.login, .nh-auth__form form.register {
	border: 0 !important; padding: 0 !important; margin: 0 !important; border-radius: 0;
	display: grid; gap: 16px;
}
.nh-auth__form .woocommerce-form-login__rememberme { font-size: 13px; color: var(--nh-muted); display: inline-flex; gap: 8px; align-items: center; }
.nh-auth__form .woocommerce-LostPassword { font-size: 13.5px; margin: 0; }
.nh-auth__form .woocommerce-privacy-policy-text p { font-size: 12.5px; line-height: 1.6; color: var(--nh-muted); }

/* Tabbed panes (JS adds .nh-auth--tabbed once both forms are present) */
.nh-auth--tabbed .nh-auth__pane { display: none; }
.nh-auth--tabbed .nh-auth__pane.is-active { display: block; }

/* ------------------------------------------------------------------ *
 *  WooCommerce order tracking form → the design's find-order row
 * ------------------------------------------------------------------ */
.nh-track-find form.track_order {
	display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; margin: 0;
}
.nh-track-find form.track_order > p:first-child {
	grid-column: 1 / -1; margin: 0 0 4px; font-size: 13.5px; color: var(--nh-muted); max-width: 70ch;
}
.nh-track-find form.track_order .form-row { margin: 0; padding: 0; width: auto; display: grid; gap: 6px; }
.nh-track-find form.track_order label { font-size: 12.5px; font-weight: 600; color: var(--nh-ink); }
.nh-track-find form.track_order .input-text {
	font-family: var(--nh-mono); font-size: 14px; background: var(--nh-surface);
	border: 1.5px solid var(--nh-line-strong); border-radius: var(--nh-r);
	padding: 12px 14px; width: 100%; height: var(--nh-h-md);
}
.nh-track-find form.track_order .input-text:focus { border-color: var(--nh-forest); outline: 2px solid rgba(20, 90, 49, .18); }
.nh-track-find form.track_order button[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-size: 14.5px; font-weight: 600; color: var(--nh-page); background: var(--nh-forest);
	border: 0; border-radius: var(--nh-r); padding: 0 24px; height: var(--nh-h-md); cursor: pointer;
}
.nh-track-find form.track_order button[type="submit"]:hover { background: var(--nh-forest-deep); }
@media (max-width: 782px) {
	.nh-track-find form.track_order { grid-template-columns: 1fr; }
}


/* The horizontal rail needs room for five labels. Below that, the vertical
   list underneath carries exactly the same information, so the rail steps
   aside rather than overflowing its track. */
@media (max-width: 720px) {
	.nh-journey__track { display: none; }
	.nh-journey--track-only { display: none; }
	.nh-journey__rows { margin-top: 0; padding-top: 0; border-top: 0; }
}
/* Phones: the time goes under its stop, so the words keep the width. */
@media (max-width: 480px) {
	.nh-journey__row { grid-template-columns: 24px minmax(0, 1fr); gap: 4px 12px; }
	.nh-journey__row time { grid-column: 2; padding-top: 0; }
	.nh-journey__row:not(.is-done):not(.is-current) time { display: none; }
}
@media (min-width: 721px) and (max-width: 1000px) {
	.nh-journey__label strong { font-size: 11.5px; }
	.nh-journey__label time { font-size: 10px; }
	.nh-journey__bead { width: 30px; height: 30px; }
}

/* WooCommerce puts the submit in its own .form-row; keep it on the grid rail. */
.nh-track-find form.track_order p.form-row:has(button),
.nh-track-find form.track_order p.form-row:last-child { grid-column: 3; justify-self: start; }
.nh-track-find form.track_order p.form-row:has(button) button { width: auto; }
.nh-track-find form.track_order .clear { display: none; }
@media (max-width: 782px) {
	.nh-track-find form.track_order p.form-row:has(button),
	.nh-track-find form.track_order p.form-row:last-child { grid-column: 1; }
}

/* Nothing may force the page wider than the screen. */
.nh input, .nh select, .nh textarea, .nh-searchpill input { max-width: 100%; }
.nh-track-find form.track_order .input-text,
.nh-legal-layout, .nh-post-layout, .nh-track { min-width: 0; }
