/* ============================================================
   Commerce & Account pages — shared styles for Login, Sign Up,
   My Account, Order Tracking, Cart, Checkout, Contact, Legal,
   and About pages. Same token system as botanical-science.css
   and the hair quiz plugin: Source Serif 4 / Hanken Grotesk,
   near-black ink, gold + botanical-green accents, cream page bg.

   IMPORTANT: many rules below use !important on hover/focus/disabled
   states. This is deliberate, not habitual — Storefront's base
   stylesheet has `button:hover, .button:hover { color: #fff }` and
   the site-wide Tailwind CDN `forms` plugin applies its own blue
   focus ring to every input/button on every page. Both load after
   this stylesheet and win specificity ties unless guarded. Confirmed
   by inspecting computed styles directly during the hair-quiz build.
   ============================================================ */

:root {
	--nt-ink: #1c1b1b;
	--nt-muted: #5d5f5f;
	--nt-line: #e5e2e1;
	--nt-cream: #ffffff;
	--nt-gold: #E1B335;
	--nt-gold-dark: #B18E21;
	--nt-green: #075954;
	--nt-green-dark: #075954;
	--nt-error: #ba1a1a;
	--nt-error-bg: #fdecea;
}

/* Hide default Storefront title on Cart/Checkout/Account pages since we build our own */
.woocommerce-cart .entry-header,
.woocommerce-checkout .entry-header,
.woocommerce-account .entry-header {
	display: none !important;
}

.nutraify-page {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 24px 80px;
	font-family: 'Hanken Grotesk', Arial, sans-serif;
	color: var(--nt-ink);
	box-sizing: border-box;
}
.nutraify-page *, .nutraify-page *::before, .nutraify-page *::after { box-sizing: border-box; }

.nutraify-eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--nt-gold-dark);
	margin-bottom: 12px;
}
.nutraify-h1 {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 36px;
	line-height: 1.2;
	color: var(--nt-ink);
	margin: 0 0 12px;
	font-weight: 600;
}
.nutraify-h1 em { font-style: italic; color: var(--nt-green); }
.nutraify-sub {
	font-size: 16px;
	color: var(--nt-muted);
	line-height: 1.6;
	max-width: 620px;
}

/* ---- Shared card ---- */
.nutraify-card {
	background: #fff;
	border: 1px solid var(--nt-line);
	border-radius: 16px;
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.06);
}

/* ---- Shared form fields (auth, contact, tracking lookup) ---- */
.nutraify-field {
	display: block;
	margin-bottom: 18px;
}
.nutraify-field > span {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	font-size: 13px;
	font-weight: 600;
	color: var(--nt-ink);
	margin-bottom: 6px;
}
.nutraify-field input,
.nutraify-field select,
.nutraify-field textarea {
	width: 100%;
	font-family: inherit;
	font-size: 16px;
	padding: 13px 14px;
	border: 1.5px solid var(--nt-line);
	border-radius: 8px;
	background: var(--nt-cream);
	color: var(--nt-ink);
}
.nutraify-field textarea { resize: vertical; min-height: 110px; }
.nutraify-field input::placeholder,
.nutraify-field textarea::placeholder { color: #9a9997; }
.nutraify-field input:focus,
.nutraify-field select:focus,
.nutraify-field textarea:focus {
	outline: none !important;
	box-shadow: none !important;
	border-color: var(--nt-gold) !important;
	background: #fff !important;
}
.nutraify-forgot {
	font-size: 12px;
	font-weight: 600;
	color: var(--nt-green) !important;
	text-decoration: none !important;
}
.nutraify-forgot:hover { color: var(--nt-green-dark) !important; text-decoration: underline !important; }

.nutraify-checkbox {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: var(--nt-ink);
	margin-bottom: 22px;
	cursor: pointer;
}
.nutraify-checkbox input { width: 18px; height: 18px; accent-color: var(--nt-green); flex: none; }

.nutraify-auth-error {
	background: var(--nt-error-bg);
	border: 1px solid rgba(186, 26, 26, 0.25);
	color: var(--nt-error);
	font-size: 13px;
	padding: 12px 14px;
	border-radius: 8px;
	margin-bottom: 18px;
}
.nutraify-auth-success {
	background: #eef6f0;
	border: 1px solid #bfe0c8;
	color: #075954;
	font-size: 13px;
	padding: 12px 14px;
	border-radius: 8px;
	margin-bottom: 18px;
	line-height: 1.5;
}

/* ---- Shared buttons ---- */
.nutraify-btn-primary {
	display: inline-block;
	width: 100%;
	text-align: center;
	background: var(--nt-green) !important;
	color: #fff !important;
	font-family: 'Hanken Grotesk', Arial, sans-serif;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 15px 24px;
	border-radius: 8px;
	border: none;
	cursor: pointer;
	text-decoration: none !important;
	transition: background .2s ease, box-shadow .2s ease;
}
.nutraify-btn-primary:hover:not(:disabled) {
	background: var(--nt-green-dark) !important;
	color: #fff !important;
	box-shadow: 0 8px 20px rgba(6, 89, 84, 0.25);
}
.nutraify-btn-primary:disabled { background: #e5e2e1 !important; color: #9a9997 !important; cursor: not-allowed; }
.nutraify-btn-primary:active { transform: scale(.99); }

.nutraify-btn-outline {
	display: inline-block;
	background: none !important;
	color: var(--nt-green) !important;
	border: 1.5px solid var(--nt-green) !important;
	font-family: 'Hanken Grotesk', Arial, sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 12px 22px;
	border-radius: 8px;
	cursor: pointer;
	text-decoration: none !important;
	transition: background .2s ease;
}
.nutraify-btn-outline:hover { background: rgba(6, 89, 84, 0.06) !important; color: var(--nt-green-dark) !important; }

.nutraify-auth-switch {
	text-align: center;
	font-size: 14px;
	color: var(--nt-muted);
	margin-top: 20px;
}
.nutraify-auth-switch a { color: var(--nt-green) !important; font-weight: 600; text-decoration: none !important; }
.nutraify-auth-switch a:hover { text-decoration: underline !important; }

/* ============================================================
   Auth pages (Login / Sign Up)
   ============================================================ */
.nutraify-auth-wrap {
	max-width: 1080px;
	margin: 0 auto;
	padding: 56px 24px 80px;
}
.nutraify-auth-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 560px;
	border: 1px solid var(--nt-line);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
}
.nutraify-auth-visual {
	background: linear-gradient(160deg, var(--nt-green) 0%, var(--nt-green-dark) 100%);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	padding: 40px 36px;
	color: #fff;
	box-sizing: border-box;
}
.nutraify-auth-img-area {
	flex: 1;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-bottom: 24px;
}
.nutraify-auth-product-img {
	max-height: 330px;
	max-width: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.4));
	margin: 0 auto;
	display: block;
}
.nutraify-auth-text-area {
	width: 100%;
	text-align: left;
}
.nutraify-auth-visual h3 {
	font-family: 'Source Serif 4', Georgia, serif;
	font-style: italic;
	font-size: 24px;
	margin: 0 0 8px;
	color: #fff !important; /* Storefront's base h1-h6 color rule otherwise wins this tie */
}
.nutraify-auth-visual p { font-size: 14px; opacity: .85; margin: 0; max-width: 340px; color: #fff !important; }
.nutraify-auth-panel {
	background: #fff;
	padding: 56px 48px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.nutraify-auth-form { max-width: 400px; width: 100%; margin: 0 auto; }
@media (max-width: 840px) {
	.nutraify-auth-grid { grid-template-columns: 1fr; }
	.nutraify-auth-visual { display: none; }
	.nutraify-auth-panel { padding: 36px 24px; }
}

body.woocommerce-lost-password .entry-header,
.page-template-page-forgot-password .entry-header {
	display: none !important;
}

/* ============================================================
   Cart / Checkout / My Account — shared page container
   ============================================================
   The site-wide full-width reset in functions.php
   (botanical_global_head_styles) zeroes out #primary/.entry-content's
   own padding on every page so each page can supply its own container —
   but these three never got one, so their content rendered edge-to-edge
   with no side margin at all. Scoped by body class + #primary ancestry
   (not a bare `.woocommerce` selector, which is also used unrelatedly
   on the Shop archive and would break its grid if touched here). */
body.woocommerce-cart #primary .woocommerce,
body.woocommerce-checkout #primary .woocommerce,
body.woocommerce-account #primary .woocommerce {
	max-width: 1200px;
	margin: 0 auto !important;
	padding: 0 24px 80px !important;
	box-sizing: border-box;
}

/* ============================================================
   My Account
   ============================================================ */
.nutraify-account-layout {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 40px;
	align-items: start;
	padding-top: 48px;
}
@media (max-width: 860px) {
	.nutraify-account-layout { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
	/* Compact grid nav on mobile + tablet (matches the breakpoint above
	   where .nutraify-account-layout already stacks nav above content) —
	   icon-over-label tiles instead of a full list of rows, so every tab
	   is visible at once without scrolling. */
	.nutraify-account-nav {
		display: grid !important;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0 !important;
		position: static !important;
		background: #fff;
		border: 1px solid var(--nt-line);
		border-radius: 12px;
		overflow: hidden;
		box-shadow: 0 3px 14px rgba(0, 0, 0, 0.05);
	}
	.nutraify-account-nav a {
		flex-direction: column;
		justify-content: center;
		gap: 6px;
		min-height: 76px;
		padding: 10px 4px;
		border-radius: 0 !important;
		border-right: 1px solid var(--nt-line);
		border-top: 1px solid var(--nt-line);
		text-align: center;
	}
	.nutraify-account-nav a:nth-child(3n) { border-right: none; }
	.nutraify-account-nav a:nth-child(-n+3) { border-top: none; }
	.nutraify-nav-icon { margin: 0 auto; }
	.nutraify-nav-label { flex: none; font-size: 11px; line-height: 1.2; }
	.nutraify-nav-arrow { display: none !important; }
	.nutraify-account-nav a.is-active { border-left: none !important; padding-left: 4px; border-bottom: 2px solid var(--nt-green); }
	.nutraify-account-nav a.is-signout {
		grid-column: 1 / -1;
		flex-direction: row;
		justify-content: center;
		min-height: 52px;
		margin-top: 0;
	}
	/* Real root cause of the nav-to-content gap being wrong was
	   .nutraify-account-nav's base position:sticky (meant for the desktop
	   sidebar) beating this rule's position:static above due to source
	   order — that made getBoundingClientRect() report the nav's stuck/
	   scrolled position instead of its flow position, so every margin
	   fix looked like it wasn't working. Fixed by adding !important to
	   position:static above. One clean gap value now, instead of the
	   extra margin band-aids stacked on top of each other while
	   debugging. */
	.nutraify-account-layout { gap: 24px; }
}
/* Storefront core CSS has .woocommerce-MyAccount-navigation{width:17.6%;
   float:left;margin-right:5.9%} (and a fullwidth-template variant at 21.7%)
   — our <nav> carries that class too (kept for WC/Subscriptions
   compatibility), so without overriding it the whole nav shrinks to that
   narrow float width instead of filling its column. */
.nutraify-account-nav {
	display: flex;
	flex-direction: column;
	gap: 2px;
	position: sticky;
	top: 120px;
	float: none !important;
	width: 100% !important;
	margin-right: 0 !important;
}
.nutraify-account-nav a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 14px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--nt-muted) !important;
	text-decoration: none !important;
}
/* Tailwind's global Preflight (loaded site-wide, see functions.php) resets
   svg sizing; without this, inline nav icons collapse to 0 width in a flex row. */
.nutraify-account-nav a svg { width: 16px !important; height: 16px !important; flex: none !important; }
.nutraify-account-nav a:hover { background: var(--nt-cream); color: var(--nt-ink) !important; }
.nutraify-account-nav a.is-active { background: rgba(6, 89, 84, 0.08); color: var(--nt-green) !important; }
.nutraify-account-nav a.is-signout { color: var(--nt-error) !important; margin-top: 12px; }

.nutraify-dash-welcome { margin-bottom: 28px; }
.nutraify-dash-welcome h1 { font-family: 'Source Serif 4', Georgia, serif; font-size: 30px; margin: 0 0 6px; }
.nutraify-dash-welcome p { color: var(--nt-muted); margin: 0; }

.nutraify-cart-card {
	display: flex;
	padding: 24px;
	border: 1px solid var(--nt-line);
	border-radius: 8px;
	background: #fff;
	margin-bottom: 16px;
	box-sizing: border-box !important;
}
.nutraify-dash-card {
	background: #fff;
	border: 1px solid var(--nt-line);
	border-radius: 14px;
	padding: 24px;
	margin-bottom: 20px;
}
.nutraify-dash-card h2 {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 18px;
	margin: 0 0 16px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.nutraify-status-pill {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	padding: 5px 12px;
	border-radius: 999px;
	background: rgba(6, 89, 84, 0.1);
	color: var(--nt-green-dark);
}

.nutraify-orders-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.nutraify-orders-table th {
	text-align: left;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--nt-muted);
	padding: 0 0 10px;
	border-bottom: 1px solid var(--nt-line);
}
.nutraify-orders-table td { padding: 14px 0; border-bottom: 1px solid var(--nt-line); vertical-align: middle; }
.nutraify-orders-table tr:last-child td { border-bottom: none; }
.nutraify-orders-table a.nutraify-order-view { color: var(--nt-green) !important; font-weight: 600; text-decoration: none !important; }
.nutraify-orders-table a.nutraify-order-view:hover { text-decoration: underline !important; }

.nutraify-empty-state { text-align: center; padding: 40px 20px; color: var(--nt-muted); }
.nutraify-empty-state a { color: var(--nt-green) !important; font-weight: 600; }

/* Dashboard two-column layout — main content + right rail (Buy Again,
   Need Help), matching the Stitch mockup. Only the dashboard endpoint uses
   this; other My Account tabs (orders/addresses/etc.) stay single-column. */
.nutraify-dash-grid { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
@media (max-width: 1100px) { .nutraify-dash-grid { grid-template-columns: 1fr; } }
.nutraify-dash-main .nutraify-dash-card:last-child { margin-bottom: 0; }
.nutraify-dash-rail { display: flex; flex-direction: column; gap: 20px; }
.nutraify-dash-rail .nutraify-dash-card { margin-bottom: 0; }

.nutraify-buy-again-list { display: flex; flex-direction: column; gap: 18px; }
.nutraify-buy-again-item { display: flex; gap: 14px; align-items: flex-start; }
.nutraify-buy-again-thumb { flex: none; width: 64px; height: 64px; border-radius: 8px; overflow: hidden; background: var(--nt-cream); border: 1px solid var(--nt-line); }
.nutraify-buy-again-thumb img { width: 100%; height: 100%; object-fit: cover; }
.nutraify-buy-again-item h4 { margin: 0 0 6px; font-size: 14px; font-weight: 600; }
.nutraify-buy-again-item h4 a { color: var(--nt-green) !important; text-decoration: none !important; }
.nutraify-buy-again-add { font-size: 12px; color: var(--nt-green) !important; text-decoration: underline !important; text-underline-offset: 3px; }
.nutraify-buy-again-add:hover { color: var(--nt-green-dark) !important; }

.nutraify-dash-banner {
	background: var(--nt-green-dark);
	color: #fff;
	border-radius: 14px;
	padding: 24px;
}
.nutraify-dash-banner-eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--nt-gold); margin: 0 0 6px; font-weight: 700; }
.nutraify-dash-banner h4 { font-family: 'Source Serif 4', Georgia, serif; font-size: 20px; margin: 0 0 8px; color: #fff; }
.nutraify-dash-banner p { font-size: 13px; color: rgba(255,255,255,.75); margin: 0 0 18px; }
.nutraify-dash-banner-btn {
	display: block; width: 100%; text-align: center; box-sizing: border-box;
	background: #fff !important; color: var(--nt-green-dark) !important;
	font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
	padding: 11px 0; border-radius: 8px; text-decoration: none !important;
}
.nutraify-dash-banner-btn:hover { background: var(--nt-cream) !important; }

/* ---- Native WooCommerce My Account templates we don't override
   (orders list, addresses, account form, view-order) — reskinned via
   WooCommerce's own semantic classes rather than replacing their PHP,
   so refunds/pagination/filters from WooCommerce and other plugins
   (e.g. Subscriptions) keep working untouched. ---- */
/* Storefront's own woocommerce.css (assets/css/woocommerce/woocommerce.css) has
   .page-template-template-fullwidth-php .woocommerce-MyAccount-content
   { float:left; width:73.9% } — two classes, beats our single-class selector
   on specificity regardless of source order, and stops this element from
   stretching to fill its grid column in .nutraify-account-layout (address
   cards etc. then shrink to their own content width instead of spreading
   across the available space). !important to match this file's existing
   pattern for overriding Storefront/Tailwind rules that load after us. */
.woocommerce-MyAccount-content { font-family: 'Hanken Grotesk', Arial, sans-serif; float: none !important; width: 100% !important; margin-right: 0 !important; }
.woocommerce-MyAccount-content > p:first-child { color: var(--nt-muted); }
.woocommerce-MyAccount-content h1,
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 { font-family: 'Source Serif 4', Georgia, serif; color: var(--nt-ink) !important; }

.woocommerce-orders-table, .account-orders-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	border: 1px solid var(--nt-line);
	border-radius: 14px;
	overflow: hidden;
}
.woocommerce-orders-table th {
	text-align: left;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--nt-muted) !important;
	background: var(--nt-cream);
	padding: 14px 16px;
}
.woocommerce-orders-table td { padding: 14px 16px; border-top: 1px solid var(--nt-line); }
.woocommerce-orders-table a { color: var(--nt-green) !important; font-weight: 600; text-decoration: none !important; }
.woocommerce-orders-table a:hover { text-decoration: underline !important; }
.woocommerce-orders-table .button { background: var(--nt-green) !important; color: #fff !important; border-radius: 6px !important; font-size: 12px !important; }
.woocommerce-Message { background-color: #075954 !important; color: #ffffff !important; border: 1px solid rgba(225, 179, 53, 0.4) !important; border-left: 4px solid #E1B335 !important; border-radius: 12px !important; padding: 14px 20px !important; font-size: 14px !important; }

/* My Account > Addresses (woocommerce/myaccount/my-address.php override) —
   own markup/classes, since the default template's ".edit"/".title" classes
   collide with unrelated WooCommerce core icon-font and float rules
   (e.g. plain-CSS ".title h3{float:left}"/".title .edit{float:right}"). */
.nutraify-address-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px !important; }
@media (max-width: 640px) { .nutraify-address-cards { grid-template-columns: 1fr; } }
.nutraify-address-card {
	border: 1px solid var(--nt-line);
	border-radius: 14px;
	padding: 24px;
}
.nutraify-address-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.nutraify-address-card-icon {
	width: 40px; height: 40px; flex: none;
	display: flex; align-items: center; justify-content: center;
	border-radius: 10px; background: rgba(6, 89, 84, 0.08); color: var(--nt-green);
}
.nutraify-address-card-header h2 { flex: 1; font-size: 17px !important; margin: 0 !important; }
.nutraify-address-card-edit {
	display: inline-flex; align-items: center; gap: 6px; flex: none;
	color: var(--nt-green) !important; font-size: 12px; font-weight: 700;
	text-transform: uppercase; letter-spacing: .03em; text-decoration: none !important;
}
.nutraify-address-card-edit:hover { color: var(--nt-green-dark) !important; }
.nutraify-address-card address { font-style: normal; font-size: 14px; line-height: 1.7; color: var(--nt-muted); }
.nutraify-address-card-empty { text-align: left; padding: 4px 0 4px; }
.nutraify-address-card-empty p { color: var(--nt-muted); font-size: 14px; margin: 0 0 16px; }
.nutraify-address-card-empty .nutraify-btn-outline { width: auto; display: inline-block; padding: 10px 22px; font-size: 12px; }

.woocommerce-form-row { margin-bottom: 16px; }
.woocommerce-form-row label { display: block; font-size: 13px; font-weight: 600; color: var(--nt-ink); margin-bottom: 6px; }
.woocommerce-form-row .woocommerce-Input,
.woocommerce-form-row select,
.woocommerce-EditAccountForm select {
	width: 100%;
	font-family: inherit;
	font-size: 15px;
	padding: 12px 14px;
	border: 1.5px solid var(--nt-line) !important;
	border-radius: 8px !important;
	background: var(--nt-cream) !important;
	color: var(--nt-ink);
}
.woocommerce-form-row .woocommerce-Input:focus { outline: none !important; border-color: var(--nt-gold) !important; background: #fff !important; }

/* ---- Edit Address form (My Account > Addresses > Edit) ----
   Field layout/label/input/select2 styling now lives further down in this
   file, in the "Account Address Edit form" block — it reuses the exact
   floating-placeholder system checkout uses (.nutraify-checkout), so both
   pages render identically. This block just covers what that shared system
   doesn't: the page heading and the submit button. */
/* form-edit-address.php outputs <h2>Billing address</h2><div class=
   "woocommerce-address-fields">...</div> — h2 is a SIBLING of that div, not
   a descendant, so a ".woocommerce-address-fields h2" selector never
   matches anything. Target the h2 directly, then push the div below it. */
.woocommerce-MyAccount-content form > h2 { margin: 0 0 12px !important; font-family: 'Source Serif 4', Georgia, serif; }
.woocommerce-MyAccount-content h2 + .woocommerce-address-fields { margin-top: 28px; }
.woocommerce-MyAccount-content .woocommerce-address-fields button[type="submit"] {
	background: var(--nt-green) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 8px !important;
	font-family: 'Hanken Grotesk', Arial, sans-serif;
	font-weight: 600 !important;
	text-transform: uppercase;
	letter-spacing: .04em;
	font-size: 13px !important;
	padding: 14px 28px !important;
	cursor: pointer;
	transition: background .2s ease;
}
.woocommerce-MyAccount-content .woocommerce-address-fields button[type="submit"]:hover { background: var(--nt-green-dark) !important; }
.woocommerce-EditAccountForm fieldset { border: none !important; padding: 0 !important; margin: 24px 0 0; background: none !important; }
.woocommerce-EditAccountForm legend { font-family: 'Source Serif 4', Georgia, serif; font-size: 17px; padding: 0; margin-bottom: 14px; }
.woocommerce-EditAccountForm button[type=submit],
.u-columns + p .button {
	background: var(--nt-green) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 8px !important;
	font-weight: 600 !important;
	text-transform: uppercase;
	letter-spacing: .04em;
	font-size: 13px !important;
	padding: 13px 26px !important;
}
.woocommerce-EditAccountForm button[type=submit]:hover { background: var(--nt-green-dark) !important; }

/* Single order view (My Account > Orders > View) */
.woocommerce-order-details, .woocommerce-customer-details { margin-top: 24px; }
.woocommerce-order-details__title, .woocommerce-column__title { font-family: 'Source Serif 4', Georgia, serif; font-size: 18px; }
table.woocommerce-table { width: 100%; border-collapse: collapse; border: 1px solid var(--nt-line); border-radius: 12px; overflow: hidden; font-size: 14px; }
table.woocommerce-table th { background: var(--nt-cream); text-align: left; padding: 12px 16px; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--nt-muted); }
table.woocommerce-table td { padding: 12px 16px; border-top: 1px solid var(--nt-line); }

/* ============================================================
   My Account — hero banner, icon-card nav, dashboard stat/quick-
   action cards, and the print-based invoice on the order view page.
   Same token system as the rest of this file (--nt-*), not hardcoded
   colors, so it stays in sync if the palette ever changes.
   ============================================================ */

/* ---- Account hero — reuses .nt-page-hero (the same dark-forest hero the
   About/Contact/FAQ pages use, defined further down in this file under
   "BOTANICAL PAGE SYSTEM"). .nutraify-account-hero only adds what's specific
   to sitting inside the My Account page: breaking out of the constrained
   .woocommerce-account #primary .woocommerce wrapper to go full-bleed, and
   the avatar. ---- */
.woocommerce-account .site-header { margin-bottom: 0 !important; }
.woocommerce-account .site-content,
.woocommerce-account .site-main,
.woocommerce-account .content-area { padding-top: 0 !important; margin-top: 0 !important; }
.nutraify-account-hero {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	margin-top: 0;
	margin-bottom: 40px;
}
.nutraify-account-hero-avatar {
	display: block;
	margin: 0 auto 20px;
	border-radius: 50%;
	border: 3px solid rgba(255, 255, 255, 0.25);
}
@media (max-width: 860px) {
	.nutraify-account-hero { display: none; }
	/* The fixed-header spacer (.nl-header-spacer, functions.php) already
	   reserves clearance below the fixed nav — with the hero hidden there's
	   nothing left to add on top of that, so no extra padding here. */
	.nutraify-account-layout { padding-top: 0; }
	/* Requested tighter fit specifically on My Account: shrinks (doesn't
	   remove) the fixed-header clearance. #nl-header is 52px tall on mobile,
	   so the top ~30px of whatever's directly below now sits behind it —
	   scoped to .woocommerce-account only, other pages keep full clearance. */
	.woocommerce-account .nl-header-spacer { height: 64px !important; }

	/* Consistent 24px rhythm between every dashboard card on mobile
	   (Current Shipment, Recent Orders, Buy Again, support banner etc.),
	   matching the nav/stats spacing above — was 20px by default. */
	.nutraify-dash-card { margin-bottom: 24px; }
	.nutraify-dash-rail .nutraify-dash-card:last-child { margin-bottom: 0; }
	/* .nutraify-dash-grid's own gap (built for the desktop 2-column
	   main+rail layout) becomes the row-gap once it stacks to 1 column
	   here — keep it matching the 24px rhythm when stacked. */
	.nutraify-dash-grid { gap: 24px; }
}

/* ---- Sidebar nav: icon-card links with hover arrow ---- */
.nutraify-account-nav a {
	position: relative;
	gap: 12px;
	padding: 12px 14px;
}
.nutraify-nav-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	flex: none;
	background: var(--nt-cream);
	border: 1px solid var(--nt-line);
	border-radius: 9px;
	transition: background .2s ease, border-color .2s ease;
}
.nutraify-account-nav a:hover .nutraify-nav-icon { border-color: var(--nt-green); }
.nutraify-account-nav a.is-active .nutraify-nav-icon { background: var(--nt-green); border-color: var(--nt-green); }
.nutraify-account-nav a.is-active .nutraify-nav-icon svg { color: #fff; }
.nutraify-nav-label { flex: 1; }
.nutraify-nav-arrow { opacity: 0; transform: translateX(-4px); transition: all .2s ease; flex: none; }
.nutraify-account-nav a:hover .nutraify-nav-arrow,
.nutraify-account-nav a.is-active .nutraify-nav-arrow { opacity: 1; transform: translateX(0); }
.nutraify-account-nav a.is-active { border-left: 3px solid var(--nt-green); padding-left: 11px; }
.nutraify-account-nav a.is-signout { border-top: 1px solid var(--nt-line); padding-top: 14px; }

/* ---- Dashboard: stat cards ---- */
.nutraify-dash-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 28px; }
@media (max-width: 480px) {
	/* Stacked to 1 column on mobile — bump the gap between the two stat
	   cards (Total Orders / Member Since) so it matches the spacing
	   rhythm used elsewhere on this page (nav-to-content gap etc.),
	   instead of the tighter 16px meant for the 2-up desktop grid. */
	.nutraify-dash-stats { grid-template-columns: 1fr; gap: 24px; margin-bottom: 24px; }
}
.nutraify-stat-card {
	display: flex;
	align-items: center;
	gap: 14px;
	background: #fff;
	border: 1px solid var(--nt-line);
	border-radius: 14px;
	padding: 18px 20px;
}
.nutraify-stat-icon {
	width: 48px;
	height: 48px;
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: rgba(6, 89, 84, 0.08);
	color: var(--nt-green);
}
.nutraify-stat-icon-alt { background: rgba(225, 179, 53, 0.15); color: var(--nt-gold-dark); }
.nutraify-stat-number { display: block; font-size: 18px; font-weight: 700; color: var(--nt-ink); line-height: 1.2; }
.nutraify-stat-label { display: block; font-size: 13px; color: var(--nt-muted); margin-top: 2px; }

/* ---- Dashboard: Quick Actions ---- */
.nutraify-dash-section { margin-bottom: 28px; }
.nutraify-dash-section h3 { font-family: 'Source Serif 4', Georgia, serif; font-size: 18px; margin: 0 0 14px; }
.nutraify-quick-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 860px) { .nutraify-quick-actions { grid-template-columns: repeat(2, 1fr); } }
.nutraify-action-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 4px;
	background: #fff;
	border: 1px solid var(--nt-line);
	border-radius: 14px;
	padding: 22px 14px;
	text-decoration: none !important;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.nutraify-action-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.07); border-color: rgba(6, 89, 84, 0.3); }
.nutraify-action-icon {
	width: 48px; height: 48px; margin-bottom: 8px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 12px; background: rgba(6, 89, 84, 0.08); color: var(--nt-green);
	transition: background .2s ease, color .2s ease;
}
.nutraify-action-card:hover .nutraify-action-icon { background: var(--nt-green); color: #fff; }
.nutraify-action-card-shop .nutraify-action-icon { background: rgba(225, 179, 53, 0.18); color: var(--nt-gold-dark); }
.nutraify-action-card-shop:hover .nutraify-action-icon { background: var(--nt-gold); color: #fff; }
.nutraify-action-title { font-size: 14px; font-weight: 600; color: var(--nt-ink) !important; }
.nutraify-action-desc { font-size: 12px; color: var(--nt-muted); }

/* ---- Dashboard: Recent Orders as cards ---- */
.nutraify-dash-card-orders h2 { display: flex; justify-content: space-between; align-items: center; }
.nutraify-view-all { font-size: 13px; font-weight: 600; color: var(--nt-green) !important; text-decoration: none !important; }
.nutraify-view-all:hover { text-decoration: underline !important; }
.nutraify-order-cards { display: flex; flex-direction: column; gap: 10px; }
.nutraify-order-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	padding: 16px 18px;
	border: 1px solid var(--nt-line);
	border-radius: 12px;
	transition: box-shadow .2s ease;
}
.nutraify-order-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.05); }
.nutraify-order-card-info { display: flex; flex-direction: column; gap: 2px; }
.nutraify-order-card-number { font-weight: 600; color: var(--nt-ink); font-size: 14px; }
.nutraify-order-card-date { font-size: 12px; color: var(--nt-muted); }
.nutraify-order-card-details { display: flex; align-items: center; gap: 12px; }
.nutraify-order-card-total { font-weight: 600; color: var(--nt-ink); font-size: 14px; }
.nutraify-order-card-view { padding: 8px 16px !important; font-size: 12px !important; }

/* ============================================================
   Order Detail page (single order view) — status header, payment
   card, itemized list, address cards, and the hidden print-only
   invoice layout used by the "Download Invoice" button.
   ============================================================ */
.nutraify-order-view { max-width: 820px; margin: 0 auto; }

.nutraify-order-status-header {
	display: flex;
	align-items: center;
	gap: 18px;
	background: #fff;
	border: 1px solid var(--nt-line);
	border-radius: 16px;
	padding: 22px 24px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}
.nutraify-order-status-icon {
	width: 56px; height: 56px; flex: none;
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%;
}
.nutraify-order-status-icon.is-completed { background: #dcfce7; color: #16a34a; }
.nutraify-order-status-icon.is-processing { background: #dbeafe; color: #2563eb; }
.nutraify-order-status-icon.is-pending { background: #fef3c7; color: #d97706; }
.nutraify-order-status-icon.is-negative { background: #fee2e2; color: #dc2626; }
.nutraify-order-status-info { flex: 1; min-width: 200px; }
.nutraify-order-header-flex { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.nutraify-order-status-info h2 { font-family: 'Source Serif 4', Georgia, serif; font-size: 22px; margin: 0 0 4px; }
.nutraify-order-meta { color: var(--nt-muted); font-size: 14px; margin: 0; }
.nutraify-invoice-download-btn { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }

.nutraify-order-payment-info { margin-bottom: 20px; display: flex; flex-direction: column; gap: 12px; }
.nutraify-payment-method-card {
	display: flex; align-items: center; gap: 14px;
	background: #fff; border: 1px solid var(--nt-line); border-radius: 12px; padding: 16px 18px;
}
.nutraify-payment-icon { width: 44px; height: 44px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--nt-cream); border-radius: 10px; color: var(--nt-muted); }
.nutraify-payment-label { display: block; font-size: 12px; color: var(--nt-muted); margin-bottom: 2px; }
.nutraify-payment-value { font-size: 15px; color: var(--nt-ink); }
.nutraify-payment-banner {
	display: flex; align-items: center; gap: 10px;
	padding: 14px 18px; border-radius: 12px; font-size: 14px; font-weight: 500;
}
.nutraify-payment-banner.is-paid { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.nutraify-payment-banner.is-pending { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }

.nutraify-order-details-section {
	background: #fff; border: 1px solid var(--nt-line); border-radius: 16px; padding: 24px; margin-bottom: 20px;
}
.nutraify-order-details-section h3 { font-family: 'Source Serif 4', Georgia, serif; font-size: 17px; margin: 0 0 16px; padding-bottom: 14px; border-bottom: 1px solid var(--nt-line); }
.nutraify-order-item { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--nt-line); }
.nutraify-order-item:last-child { border-bottom: none; }
.nutraify-order-item-thumb { flex: none; width: 56px; height: 56px; border-radius: 8px; overflow: hidden; background: var(--nt-cream); border: 1px solid var(--nt-line); }
.nutraify-order-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.nutraify-order-item-details { flex: 1; }
.nutraify-order-item-name { margin: 0 0 4px; font-size: 14px; font-weight: 600; }
.nutraify-order-item-name a { color: var(--nt-ink) !important; text-decoration: none !important; }
.nutraify-order-item-name a:hover { color: var(--nt-green) !important; }
.nutraify-order-item-qty { font-size: 12px; color: var(--nt-muted); }
.nutraify-order-item-total { font-weight: 600; color: var(--nt-ink); font-size: 14px; }

.nutraify-order-summary { background: var(--nt-cream); border-radius: 10px; padding: 14px 18px; margin-top: 16px; }
.nutraify-summary-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 6px 0; font-size: 14px; color: var(--nt-muted); }
/* Labels ("Payment method:") never wrap — on narrow screens that turned a
   one-line row into two staggered lines, out of rhythm with the other
   (single-line) rows above it. The value takes the remaining space and
   right-aligns, wrapping only if it genuinely has to. */
.nutraify-summary-row span:first-child { white-space: nowrap; flex-shrink: 0; }
.nutraify-summary-row span:last-child { text-align: right; }
.nutraify-summary-row.is-total { border-top: 1px solid var(--nt-line); margin-top: 6px; padding-top: 12px; font-size: 16px; font-weight: 700; color: var(--nt-ink); }

.nutraify-order-addresses { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 20px; }
@media (max-width: 640px) { .nutraify-order-addresses { grid-template-columns: 1fr; } }
.nutraify-address-card { background: #fff; border: 1px solid var(--nt-line); border-radius: 14px; padding: 20px; }
.nutraify-address-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--nt-line); }
.nutraify-address-header h4 { margin: 0; font-size: 15px; font-family: 'Source Serif 4', Georgia, serif; }
.nutraify-address-edit-btn { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--nt-green) !important; text-decoration: none !important; }
.nutraify-address-edit-btn:hover { text-decoration: underline !important; }
.nutraify-address-card address { font-style: normal; font-size: 14px; color: var(--nt-muted); line-height: 1.7; }
.nutraify-address-card .nutraify-address-email,
.nutraify-address-card .nutraify-address-phone { font-size: 13px; color: var(--nt-muted); margin: 6px 0 0; }

.nutraify-order-notes-section { background: #fff; border: 1px solid var(--nt-line); border-radius: 16px; padding: 24px; margin-bottom: 20px; }
.nutraify-order-notes-section h3 { font-family: 'Source Serif 4', Georgia, serif; font-size: 17px; margin: 0 0 14px; }
.nutraify-order-note { background: var(--nt-cream); border-radius: 10px; padding: 14px 16px; margin-bottom: 10px; }
.nutraify-order-note:last-child { margin-bottom: 0; }
.nutraify-note-date { display: block; font-size: 12px; color: var(--nt-muted); margin-bottom: 6px; }
.nutraify-note-content p { margin: 0; font-size: 14px; color: var(--nt-ink); }

.nutraify-order-back-link { text-align: center; margin-top: 8px; }

/* ---- Print-only invoice layout ---- */
.nutraify-print-only { display: none; }
.nutraify-invoice-table th, .nutraify-invoice-table td { padding: 8px; }
.nutraify-text-right { text-align: right; }

@media print {
	@page { margin: 1.5cm 1cm; size: A4; }

	/* Force color rendering everywhere in the invoice — without this,
	   some browsers desaturate colored text/borders in print unless the
	   user separately enables "Background graphics" in the print dialog. */
	.nutraify-order-view, .nutraify-order-view * {
		-webkit-print-color-adjust: exact !important;
		print-color-adjust: exact !important;
		color-adjust: exact !important;
	}

	body * { visibility: hidden; }
	.nutraify-order-view, .nutraify-order-view * { visibility: visible; }
	.nutraify-order-view { position: absolute; left: 0; top: 0; width: 100%; }
	.nutraify-no-print { display: none !important; }
	.nutraify-print-only { display: block !important; }

	/* Brand band across the top of the page, matching the site's dark-forest
	   header treatment instead of a plain black rule. */
	.nutraify-invoice-header {
		display: flex !important;
		justify-content: space-between;
		align-items: flex-start;
		border-top: 4px solid var(--nt-green, #075954);
		padding: 14px 0 16px;
		margin-bottom: 18px;
		border-bottom: 1px solid var(--nt-line, #e5e2e1);
	}
	.nutraify-invoice-brand { display: flex; align-items: flex-start; gap: 16px; }
	.nutraify-invoice-logo-img {
		height: 30px;
		width: auto;
		margin: 0 0 8px;
		display: block;
	}
	.nutraify-invoice-company p { margin: 0; font-size: 12px; color: #444 !important; line-height: 1.5; }
	.nutraify-invoice-title { text-align: right; }
	.nutraify-invoice-title h2 {
		font-family: 'Source Serif 4', Georgia, serif;
		font-size: 26px;
		font-weight: 700;
		margin: 0 0 10px;
		color: var(--nt-green, #075954) !important;
		letter-spacing: 0.08em;
		text-transform: uppercase;
	}
	.nutraify-invoice-meta p { margin: 2px 0; font-size: 12.5px; color: #333 !important; }
	.nutraify-invoice-meta p strong { color: #111 !important; }

	.nutraify-order-details-section, .nutraify-address-card { border: none !important; box-shadow: none !important; padding: 0 !important; }
	.nutraify-invoice-table-wrapper { margin-bottom: 16px; page-break-inside: avoid; }
	.nutraify-invoice-table { width: 100%; border-collapse: collapse; font-size: 13px; }
	.nutraify-invoice-table th {
		border-bottom: 2px solid var(--nt-green, #075954) !important;
		text-align: left;
		text-transform: uppercase;
		letter-spacing: 0.04em;
		font-size: 10.5px;
		color: var(--nt-green-dark, #075954) !important;
		padding: 0 0 8px;
	}
	.nutraify-invoice-table td { border-bottom: 1px solid #eee; padding: 6px 0; color: #222 !important; }

	.nutraify-order-summary { background: none !important; padding: 0 !important; }
	.nutraify-summary-row.is-total {
		border-top: 2px solid var(--nt-green, #075954) !important;
		color: var(--nt-green, #075954) !important;
		font-weight: 700;
	}

	.nutraify-order-addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
	.nutraify-address-card h4 {
		font-family: 'Source Serif 4', Georgia, serif;
		font-size: 13px;
		text-transform: uppercase;
		letter-spacing: 0.04em;
		color: var(--nt-green, #075954) !important;
		border-bottom: 1px solid var(--nt-line, #e5e2e1);
		padding-bottom: 6px;
		margin-bottom: 8px;
	}
	.nutraify-address-card address { color: #222 !important; }
	.nutraify-address-card { page-break-inside: avoid; }

	.nutraify-invoice-footer { margin-top: 14px; border-top: 1px solid var(--nt-line, #e5e2e1); padding-top: 12px; page-break-inside: avoid; }
	.nutraify-invoice-footer-grid { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 14px; }
	.nutraify-invoice-payment-details h4, .nutraify-invoice-terms h4 {
		font-family: 'Source Serif 4', Georgia, serif;
		font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.03em;
		color: var(--nt-green, #075954) !important; margin: 0 0 6px;
	}
	.nutraify-invoice-payment-details p, .nutraify-invoice-terms p { font-size: 12px; margin: 2px 0; color: #333 !important; }
	.nutraify-invoice-signature { text-align: center; margin: 20px 0 0 auto; width: 200px; }
	.nutraify-signature-line { width: 180px; border-top: 1px solid #999; margin-bottom: 6px; }
	.nutraify-invoice-thanks {
		text-align: center;
		margin-top: 12px;
		padding-top: 10px;
		border-top: 3px solid var(--nt-gold, #C9A227) !important;
		font-family: 'Source Serif 4', Georgia, serif;
		font-style: italic;
		font-size: 14px;
		color: var(--nt-green-dark, #075954) !important;
	}
}

/* ---- My Reviews tab ---- */
.nutraify-review-awaiting-list { display: flex; flex-direction: column; gap: 12px; }
.nutraify-review-awaiting-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--nt-line); }
.nutraify-review-awaiting-item:last-child { border-bottom: none; }
.nutraify-review-awaiting-name { font-size: 14px; font-weight: 600; color: var(--nt-ink); }
.nutraify-review-list { display: flex; flex-direction: column; gap: 18px; }
.nutraify-review-item { padding-bottom: 18px; border-bottom: 1px solid var(--nt-line); }
.nutraify-review-item:last-child { border-bottom: none; padding-bottom: 0; }
.nutraify-review-item-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; flex-wrap: wrap; }
.nutraify-review-item-product { color: var(--nt-ink) !important; font-weight: 600; font-size: 14px; text-decoration: none !important; }
.nutraify-review-item-product:hover { color: var(--nt-green) !important; }
.nutraify-review-item-date { font-size: 12px; color: var(--nt-muted); }
.nutraify-review-item-stars { display: flex; gap: 2px; color: var(--nt-gold); margin-bottom: 8px; }
.nutraify-review-item-content { font-size: 14px; color: var(--nt-muted); margin: 0; line-height: 1.6; }

/* ============================================================
   Checkout Thank You / Order Received page — reuses the same
   .nutraify-order-view / .nutraify-address-card / .nutraify-invoice-*
   classes as woocommerce/myaccount/view-order.php, just adds the
   banner, info-strip, and footer actions that are unique to this page.
   ============================================================ */
.woocommerce-order { max-width: 820px; margin: 0 auto; padding-top: 32px; }

.nutraify-thankyou-banner {
	display: flex;
	align-items: center;
	gap: 16px;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-radius: 16px;
	padding: 24px;
	margin-bottom: 20px;
}
.nutraify-thankyou-check {
	width: 48px; height: 48px; flex: none;
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%; background: #16a34a; color: #fff;
}
.nutraify-thankyou-banner p { margin: 0; font-family: 'Source Serif 4', Georgia, serif; font-size: 19px; font-weight: 600; color: #14532d; }

.nutraify-thankyou-overview {
	display: flex;
	flex-wrap: wrap;
	background: #fff;
	border: 1px solid var(--nt-line);
	border-radius: 16px;
	padding: 20px 0;
	margin-bottom: 20px;
}
.nutraify-thankyou-overview > div { display: flex; flex-direction: column; gap: 4px; padding: 0 24px; }
/* Vertical divider between columns — only when sitting side by side on the
   same row; a wrapped item (new row on narrow screens) starts fresh with
   no dangling border, since it's flush against the container's left edge. */
.nutraify-thankyou-overview > div:not(:first-child) { border-left: 1px solid var(--nt-line); }
.nutraify-thankyou-overview-label { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--nt-muted); }
.nutraify-thankyou-overview strong { font-size: 14px; color: var(--nt-ink); }

.nutraify-thankyou-note { color: var(--nt-muted); font-size: 14px; margin: 0 0 20px; }

/* All 4 buttons (Dashboard, Homepage, Shop More Products, Download Invoice)
   in one row — flex-wrap + flex:1 lets them share the row evenly on desktop
   and wrap to 2-up (then 1-up) as space runs out, instead of overflowing. */
/* Shared by both button rows on the Thank You page: the top one (Dashboard/
   Homepage, right after the order info-strip) and the bottom one (Shop More
   Products/Download Invoice, right after the Order Details/Addresses card). */
.nutraify-thankyou-top-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin: 24px 0 20px; }
.nutraify-thankyou-top-actions .nutraify-btn-outline {
	flex: 1 1 auto;
	min-width: 210px;
	width: auto;
	display: inline-flex !important;
	flex-direction: row !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 20px;
	white-space: nowrap !important;
}
.nutraify-thankyou-top-actions .nutraify-btn-outline svg { flex-shrink: 0; width: 16px !important; height: 16px !important; }
.nutraify-thankyou-top-actions button.nutraify-btn-outline { font-family: 'Hanken Grotesk', Arial, sans-serif; cursor: pointer; background: none; }
@media (max-width: 480px) {
	/* Two per row, not stacked — min-width:210px from the base rule would
	   force wrapping on a narrow phone, so it's relaxed here along with
	   tighter padding/font-size so both fit side by side. */
	.nutraify-thankyou-top-actions .nutraify-btn-outline {
		flex: 1 1 0;
		min-width: 0;
		padding: 12px 8px;
		font-size: 12px;
	}

	/* Info-strip: the multi-column layout with vertical dividers doesn't
	   work once it wraps to 2 columns on a narrow screen (dangling
	   borders, uneven rows) — switch to one full-width row per field,
	   label on the left / value on the right, with horizontal dividers
	   between rows instead. */
	.nutraify-thankyou-overview { flex-direction: column; padding: 0; }
	.nutraify-thankyou-overview > div {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		gap: 16px;
		padding: 14px 20px;
		border-left: none !important;
		border-bottom: 1px solid var(--nt-line);
	}
	.nutraify-thankyou-overview > div:last-child { border-bottom: none; }
	.nutraify-thankyou-overview-label { flex: none; }
	.nutraify-thankyou-overview strong { text-align: right; }
}

/* Dashboard = solid green, Homepage = solid gold; Shop More Products and
   Download Invoice stay the default outline style. */
.nutraify-thankyou-btn-dashboard {
	background: var(--nt-green) !important;
	color: #fff !important;
	border-color: var(--nt-green) !important;
}
.nutraify-thankyou-btn-dashboard:hover {
	background: var(--nt-green-dark) !important;
	border-color: var(--nt-green-dark) !important;
	color: #fff !important;
}
.nutraify-thankyou-btn-home {
	background: var(--nt-gold) !important;
	color: var(--nt-ink) !important;
	border-color: var(--nt-gold) !important;
}
.nutraify-thankyou-btn-home:hover {
	background: var(--nt-gold-dark) !important;
	border-color: var(--nt-gold-dark) !important;
	color: #fff !important;
}

/* ============================================================
   Order Tracking
   ============================================================ */
.nutraify-track-lookup { max-width: 420px; margin: 48px auto; }
.nutraify-order-tracking { padding-top: 40px; max-width: 760px; margin: 0 auto; }
.nutraify-ot-header { text-align: center; margin-bottom: 36px; }
.nutraify-ot-header h2 { font-family: 'Source Serif 4', Georgia, serif; font-size: 22px; margin: 6px 0 14px; font-weight: 500; }

.nutraify-ot-timeline {
	display: flex;
	justify-content: space-between;
	position: relative;
	margin-bottom: 36px;
	padding: 0 10px;
}
.nutraify-ot-timeline::before {
	content: '';
	position: absolute;
	top: 15px;
	left: 30px;
	right: 30px;
	height: 2px;
	background: var(--nt-line);
	z-index: 0;
}
.nutraify-ot-step {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	flex: 1;
}
.nutraify-ot-dot {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid var(--nt-line);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	color: var(--nt-muted);
}
.nutraify-ot-step.is-done .nutraify-ot-dot { background: var(--nt-green); border-color: var(--nt-green); color: #fff; }
.nutraify-ot-step.is-active .nutraify-ot-dot { border-color: var(--nt-green); color: var(--nt-green); font-weight: 700; }
.nutraify-ot-label { font-size: 12px; font-weight: 600; color: var(--nt-muted); text-align: center; }
.nutraify-ot-step.is-done .nutraify-ot-label,
.nutraify-ot-step.is-active .nutraify-ot-label { color: var(--nt-ink); }

.nutraify-ot-carrier {
	display: flex;
	gap: 24px;
	justify-content: center;
	font-size: 13px;
	color: var(--nt-muted);
	background: var(--nt-cream);
	border-radius: 10px;
	padding: 14px 18px;
	margin-bottom: 32px;
}
.nutraify-ot-carrier strong { color: var(--nt-ink); }

.nutraify-ot-items, .nutraify-ot-address {
	border-top: 1px solid var(--nt-line);
	padding-top: 20px;
	margin-top: 20px;
}
.nutraify-ot-items h3, .nutraify-ot-address h3 {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--nt-muted);
	margin: 0 0 14px;
}
.nutraify-ot-item { display: flex; justify-content: space-between; font-size: 14px; padding: 8px 0; }
.nutraify-ot-total { font-weight: 700; border-top: 1px solid var(--nt-line); margin-top: 6px; padding-top: 12px; }
.nutraify-ot-address address { font-style: normal; font-size: 14px; line-height: 1.6; color: var(--nt-ink); }

/* ============================================================
   Contact page
   ============================================================ */
.nutraify-contact-tiles {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin: 40px 0;
}
@media (max-width: 720px) { .nutraify-contact-tiles { grid-template-columns: 1fr; } }
.nutraify-contact-tile {
	border: 1px solid var(--nt-line);
	border-radius: 14px;
	padding: 24px;
}
.nutraify-contact-tile .nutraify-ct-icon svg,
.nutraify-value-card .nutraify-v-icon svg { width: 20px !important; height: 20px !important; flex: none !important; }
.nutraify-contact-tile .nutraify-ct-icon {
	width: 40px; height: 40px;
	border-radius: 10px;
	background: var(--nt-green);
	color: #fff;
	display: flex; align-items: center; justify-content: center;
	margin-bottom: 14px;
}
.nutraify-contact-tile h3 { font-size: 16px; margin: 0 0 6px; }
.nutraify-contact-tile p { font-size: 13px; color: var(--nt-muted); margin: 0 0 10px; }
.nutraify-contact-tile a { color: var(--nt-green) !important; font-weight: 600; font-size: 13px; text-decoration: none !important; }
.nutraify-contact-tile a:hover { text-decoration: underline !important; }

.nutraify-contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; margin-top: 40px; }
@media (max-width: 860px) { .nutraify-contact-grid { grid-template-columns: 1fr; } }
.nutraify-hours-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--nt-line); font-size: 14px; }
.nutraify-hours-row:last-child { border-bottom: none; }

.nutraify-faq-item { border-bottom: 1px solid var(--nt-line); }
.nutraify-faq-q {
	width: 100%;
	text-align: left;
	background: none;
	border: none;
	padding: 16px 0;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	color: var(--nt-ink) !important;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.nutraify-faq-q:hover,
.nutraify-faq-q:focus {
	background: transparent !important;
	transform: none !important;
	box-shadow: none !important;
	outline: none !important;
}
.nutraify-faq-a {
	display: none;
	padding: 0 0 16px;
	font-size: 13px;
	color: var(--nt-muted);
	line-height: 1.6;
}
.nutraify-faq-item.is-open .nutraify-faq-a { display: block; }
.nutraify-faq-item.is-open .nutraify-faq-icon { transform: rotate(45deg); }
.nutraify-faq-icon { transition: transform .2s ease; color: var(--nt-gold-dark); font-size: 18px; }

/* Contact Form 7 field styling — reuse the shared .nutraify-field look.
   Fields are marked up as <div class="nutraify-field"><label>Text [shortcode]</label></div>,
   so the label text and generated input share one <label>; forcing the
   input to display:block puts it on its own line below the label text. */
.nutraify-field { margin-bottom: 18px; }
.wpcf7-form p { margin: 0 0 18px; }
.wpcf7-form label { display: block; font-size: 13px; font-weight: 600; color: var(--nt-ink); margin-bottom: 6px; }
.wpcf7-form input[type=text], .wpcf7-form input[type=email], .wpcf7-form select, .wpcf7-form textarea {
	display: block;
	width: 100%;
	font-family: inherit;
	font-size: 16px;
	margin-top: 6px;
	padding: 13px 14px;
	border: 1.5px solid var(--nt-line);
	border-radius: 8px;
	background: var(--nt-cream);
	color: var(--nt-ink);
}
.wpcf7-form .nutraify-checkbox-row { font-size: 13px; color: var(--nt-muted); margin-bottom: 20px; }
.wpcf7-form .nutraify-checkbox-row .wpcf7-list-item { margin: 0; }
.wpcf7-form .nutraify-checkbox-row label { display: flex; align-items: flex-start; gap: 8px; font-weight: normal; margin: 0; }
.wpcf7-form .nutraify-checkbox-row input { appearance: auto; -webkit-appearance: auto; width: 16px; height: 16px; flex: none; margin-top: 2px; accent-color: var(--nt-green); }
.wpcf7-form input:focus, .wpcf7-form select:focus, .wpcf7-form textarea:focus {
	outline: none !important;
	border-color: var(--nt-gold) !important;
	background: #fff !important;
}
.wpcf7-form input[type=submit] {
	background: var(--nt-green) !important;
	color: #fff !important;
	border: none;
	font-family: 'Hanken Grotesk', Arial, sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 14px 30px;
	border-radius: 8px;
	cursor: pointer;
}
.wpcf7-form input[type=submit]:hover { background: var(--nt-green-dark) !important; }
.wpcf7-form .wpcf7-not-valid-tip { color: var(--nt-error); font-size: 12px; margin-top: 4px; }
.wpcf7-form .wpcf7-response-output { border-radius: 8px; font-size: 13px; padding: 10px 14px; margin-top: 16px; }

/* ============================================================
   Legal pages (Privacy Policy, Terms, Disclaimer, Shipping &
   Returns, Refund Policy) — shared long-form layout.
   ============================================================ */
.nutraify-legal-wrap { max-width: 820px; margin: 0 auto; padding: 56px 24px 90px; }
.nutraify-legal-updated { font-size: 13px; color: var(--nt-muted); margin-bottom: 40px; }
.nutraify-legal-body h2 {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 22px;
	margin: 40px 0 14px;
	scroll-margin-top: 120px;
	color: #075954;
}
.nutraify-legal-body h2:first-child { margin-top: 0; }
.nutraify-legal-body p, .nutraify-legal-body li { font-size: 15px; line-height: 1.75; color: var(--nt-muted); }
.nutraify-legal-body ul, .nutraify-legal-body ol { padding-left: 22px; }
.nutraify-legal-body a { color: var(--nt-green) !important; }
.nutraify-legal-toc {
	border: 1px solid var(--nt-line);
	border-radius: 12px;
	padding: 20px 24px;
	margin-bottom: 40px;
	background: var(--nt-cream);
}
.nutraify-legal-toc p { margin: 0 0 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--nt-muted); }
.nutraify-legal-toc ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
.nutraify-legal-toc a { color: var(--nt-ink) !important; font-size: 13px; text-decoration: none !important; }
.nutraify-legal-toc a:hover { color: var(--nt-green) !important; text-decoration: underline !important; }

/* ============================================================
   About page
   ============================================================ */
.nutraify-about-hero { text-align: center; padding: 64px 0 48px; max-width: 720px; margin: 0 auto; }
.nutraify-values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 48px 0; }
@media (max-width: 780px) { .nutraify-values-grid { grid-template-columns: 1fr; } }
.nutraify-value-card { border: 1px solid var(--nt-line); border-radius: 14px; padding: 28px 24px; }
.nutraify-value-card .nutraify-v-icon { color: var(--nt-green); margin-bottom: 14px; }
.nutraify-value-card h3 { font-size: 17px; margin: 0 0 8px; }
.nutraify-value-card p { font-size: 14px; color: var(--nt-muted); margin: 0; line-height: 1.6; }
.nutraify-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin: 56px 0; }
@media (max-width: 780px) { .nutraify-story-grid { grid-template-columns: 1fr; } }
.nutraify-story-grid img { width: 100%; border-radius: 16px; }

/* ============================================================
   WooCommerce Cart & Checkout re-skin
   ============================================================ */
/* Card list, matching the Stitch mockup — see woocommerce/cart/cart.php,
   cart-totals.php, cross-sells.php. Values (32px card padding, 24px card
   gap, 20px title, 12px label-caps) are taken directly from the mockup's
   own Tailwind config rather than eyeballed. */
/* ---- Shopping Cart layout ---- */
.nutraify-shop-header {
	background: #075954;
	padding: 72px 0 64px;
	margin-bottom: 32px;
	position: relative;
	overflow: hidden;
}
.nutraify-shop-header::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 60% 40%, rgba(6,89,84,0.55) 0%, rgba(4,20,19,0.95) 70%);
	z-index: 1;
}
.nutraify-shop-header::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 2;
	opacity: 0.05;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
	background-size: 200px 200px;
	pointer-events: none;
}
.nutraify-cart-hero-inner {
	max-width: 1160px;
	margin: 0 auto;
	padding: 0 32px;
	position: relative;
	z-index: 3;
	text-align: center;
}
.nutraify-shop-header .nutraify-eyebrow {
	display: inline-block;
	font-family: 'Hanken Grotesk', Arial, sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #C9A227 !important;
	margin-bottom: 8px;
}
.nutraify-shop-header .nutraify-h1 { font-family: 'Source Serif 4', Georgia, serif; font-size: 40px; margin-bottom: 4px; color: #ffffff !important; }
.nutraify-shop-header .nutraify-count { font-size: 13px; font-family: 'Hanken Grotesk', Arial, sans-serif; color: rgba(255,255,255,0.85) !important; }
.nutraify-shop-header .nutraify-sub { font-size: 15px; font-family: 'Hanken Grotesk', Arial, sans-serif; color: rgba(255,255,255,0.90) !important; max-width: 580px; margin: 6px auto 0 !important; line-height: 1.5; }

.nutraify-cart-layout { display: flex; align-items: flex-start; gap: 24px; margin-top: 24px; width: 100%; box-sizing: border-box; }
.nutraify-cart-items { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 24px; width: 100%; }
@media (max-width: 900px) { .nutraify-cart-layout { flex-direction: column; align-items: stretch; } }

.nutraify-cart-card {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px;
	padding: 24px;
	background: #fff;
	border: 1px solid var(--nt-line);
	box-sizing: border-box !important;
}
.nutraify-cart-card-thumb { width: 128px; height: 128px; flex: none; background: var(--nt-cream); }
.nutraify-cart-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.nutraify-cart-card-body { flex: 1 1 240px; min-width: 0; }
.nutraify-cart-card-badge { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--nt-gold-dark); display: block; margin-bottom: 4px; }
.nutraify-cart-card-title { font-family: 'Hanken Grotesk', Arial, sans-serif; font-size: 20px; font-weight: 600; margin: 0; color: var(--nt-green); }
.nutraify-cart-card-title a { color: inherit !important; text-decoration: none !important; }
.nutraify-cart-card-meta { font-size: 16px; color: var(--nt-muted); margin: 4px 0 0; }
.nutraify-cart-card-controls { margin-top: 16px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.nutraify-cart-card-price { font-family: 'Hanken Grotesk', Arial, sans-serif; font-size: 20px; font-weight: 600; color: var(--nt-green); white-space: nowrap; margin-left: auto; }

@media (max-width: 600px) {
	.nutraify-cart-card {
		display: grid;
		grid-template-columns: 80px 1fr auto;
		grid-template-rows: auto auto auto 1fr;
		gap: 4px 16px;
		padding: 16px;
		align-items: start;
	}
	.nutraify-cart-card-thumb {
		width: 100%;
		height: 80px;
		grid-column: 1;
		grid-row: 1 / -1;
	}
	.nutraify-cart-card-body {
		display: contents; /* Allows children to be grid items */
	}
	.nutraify-cart-card-badge { grid-column: 2; grid-row: 1; margin-bottom: 0; }
	.nutraify-cart-card-title { grid-column: 2; grid-row: 2; font-size: 16px; }
	.nutraify-cart-card-meta { grid-column: 2; grid-row: 3; margin-top: 0; font-size: 14px; }
	
	.nutraify-cart-card-price {
		grid-column: 3;
		grid-row: 1 / 4;
		margin-left: 0;
		text-align: right;
	}
	
	.nutraify-cart-card-controls {
		grid-column: 2 / 4; /* Span across title and price */
		grid-row: 4;
		margin-top: 12px;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		width: 100%;
	}
}

.nutraify-qty-stepper .quantity { display: inline-flex; align-items: stretch; border: 1px solid var(--nt-line); height: 40px; }
.nutraify-qty-btn {
	background: none; border: none; cursor: pointer;
	padding: 0 12px; color: var(--nt-ink);
	display: flex; align-items: center; justify-content: center;
	font-size: 16px; line-height: 1;
}
.nutraify-qty-btn:hover { background: var(--nt-cream); }
.nutraify-qty-stepper input.qty {
	width: 40px; text-align: center; border: none; background: none;
	font-family: 'JetBrains Mono', monospace; font-size: 14px; padding: 0;
	-moz-appearance: textfield;
}
.nutraify-qty-stepper input.qty::-webkit-inner-spin-button,
.nutraify-qty-stepper input.qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.nutraify-cart-remove {
	font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .04em; text-transform: uppercase;
	color: var(--nt-error) !important; text-decoration: underline !important; text-underline-offset: 3px;
}
.nutraify-cart-remove:hover { color: #8f1414 !important; }

.nutraify-cart-actions { margin-top: 8px; }

/* Order Summary card (woocommerce/cart/cart-totals.php) */
.nutraify-summary { flex: 0 0 400px; width: 400px; position: sticky; top: 120px; }
@media (max-width: 900px) { .nutraify-summary { width: 100%; flex-basis: auto; position: static; } }
.cart_totals { width: 100% !important; float: none !important; background: #fff; border: 1px solid var(--nt-line); padding: 32px; box-sizing: border-box !important; }
.cart_totals h2 { font-family: 'Hanken Grotesk', Arial, sans-serif; font-size: 20px; font-weight: 600; margin: 0 0 16px; color: var(--nt-green) !important; }
.nutraify-summary-rows { margin-bottom: 24px; }
.nutraify-summary-row { display: flex; justify-content: space-between; align-items: center; font-size: 16px; padding: 8px 0; color: var(--nt-muted); }
.nutraify-summary-row span:last-child { color: var(--nt-green); }
.nutraify-summary-row a.woocommerce-remove-coupon { color: var(--nt-error) !important; margin-left: 8px; text-decoration: underline; text-underline-offset: 3px; }
.nutraify-summary-row a.woocommerce-remove-coupon:hover { color: #8f1414 !important; }
.nutraify-summary-note { text-transform: uppercase; font-size: 12px; letter-spacing: .04em; text-align: right; max-width: 60%; }
.nutraify-summary-row.total { border-top: 1px solid var(--nt-line); margin-top: 8px; padding-top: 16px; }
.nutraify-summary-row.total span { font-size: 20px; font-weight: 700; color: var(--nt-green) !important; }

.nutraify-promo { margin-bottom: 16px; }
.nutraify-promo-label { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--nt-muted); display: block; margin-bottom: 8px; }
.nutraify-promo-row { display: flex; gap: 4px; }
.nutraify-promo-row input { flex: 1; min-width: 0; border: 1px solid var(--nt-line); padding: 10px 12px; font-size: 15px; border-radius: 0; }
.nutraify-promo-row input:focus { outline: none; border-color: var(--nt-green) !important; }
.nutraify-promo-apply {
	background: var(--nt-line) !important;
	color: #fff !important;
	border: none !important;
	padding: 0 18px !important;
	font-family: 'JetBrains Mono', monospace !important;
	font-size: 12px !important; letter-spacing: .08em !important; text-transform: uppercase !important;
	cursor: pointer; border-radius: 0 !important;
}
.nutraify-promo-apply:hover { background: var(--nt-muted) !important; }

/* Active state when text is entered */
.nutraify-promo-row input:not(:placeholder-shown) + .nutraify-promo-apply {
	background: var(--nt-gold) !important;
	color: #fff !important;
}
.nutraify-promo-row input:not(:placeholder-shown) + .nutraify-promo-apply:hover {
	background: var(--nt-gold-dark) !important;
}

/* Removed global sticky cart for mobile - moved to botanical-science.css */



/* Cross-sells — "Recommended for You" (woocommerce/cart/cross-sells.php),
   full width below the two-column cart layout. Real content-product.php
   markup (image link + title/price inside it, add-to-cart button as a
   sibling) reflowed into a horizontal card via flex-wrap — no template
   surgery on WooCommerce's own add-to-cart/AJAX markup. */
.nutraify-cross-sells { 
	margin-top: 0px !important; 
	padding-top: 24px !important; 
	border-top: none !important; 
	width: 100% !important; 
	max-width: 100% !important; 
	box-sizing: border-box !important; 
}
.woocommerce-cart-form { margin-bottom: 0 !important; }
.nutraify-cross-sells h2 { font-family: 'Source Serif 4', Georgia, serif; font-size: 28px; margin: 0 0 18px; color: var(--nt-green) !important; }
.nutraify-cross-sells ul.products {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	list-style: none !important;
	margin: 0 !important; 
	padding: 0 !important;
	width: 100% !important;
}
.nutraify-cross-sells ul.products::before,
.nutraify-cross-sells ul.products::after {
	display: none !important;
}
@media (max-width: 768px) {
	.woocommerce-cart-form { margin-bottom: 0 !important; width: 100% !important; box-sizing: border-box !important; }
	.nutraify-cross-sells { margin-top: 0px !important; padding-top: 16px !important; border-top: none !important; width: 100% !important; min-width: 100% !important; max-width: 100% !important; overflow: hidden; box-sizing: border-box !important; }
	.nutraify-cross-sells h2 { font-size: 24px; }
	.nutraify-cross-sells ul.products { 
		display: flex !important; 
		flex-direction: column !important; 
		width: 100% !important; 
		min-width: 100% !important; 
		max-width: 100% !important; 
		margin: 0 !important; 
		padding: 0 !important; 
	}
	.nutraify-cross-sells ul.products li.product {
		width: 100% !important;
		min-width: 100% !important;
		max-width: 100% !important;
		margin: 0 !important;
		box-sizing: border-box !important;
	}
}
.nutraify-cross-sells ul.products li.product {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	border: 1px solid var(--nt-line) !important;
	padding: 16px !important;
	box-sizing: border-box !important;
	display: grid !important;
	grid-template-columns: 80px 1fr;
	grid-template-rows: auto auto auto;
	gap: 4px 16px;
	align-items: center;
	background: #fff;
	text-align: left !important;
}
.nutraify-cross-sells ul.products li.product a.woocommerce-LoopProduct-link {
	display: contents; /* Bypasses the wrapper so image and title act as direct grid children */
}
.nutraify-cross-sells ul.products li.product img { 
	grid-column: 1;
	grid-row: 1 / 4;
	width: 80px; 
	height: 80px; 
	object-fit: cover; 
	margin: 0; 
}
.nutraify-cross-sells ul.products li.product .woocommerce-loop-product__title {
	grid-column: 2;
	grid-row: 1;
	font-family: 'Hanken Grotesk', Arial, sans-serif;
	font-size: 15px; font-weight: 600; margin: 0; color: var(--nt-green);
	align-self: end;
}
.nutraify-cross-sells ul.products li.product .price {
	grid-column: 2;
	grid-row: 2;
	font-size: 13px; color: var(--nt-muted); margin: 0;
}
.nutraify-cross-sells ul.products li.product a.add_to_cart_button {
	grid-column: 2;
	grid-row: 3;
	margin: 8px 0 0 0;
	width: max-content;
	text-align: center;
	background: #fff !important;
	border: 1px solid var(--nt-green) !important;
	color: var(--nt-green) !important;
	font-family: 'JetBrains Mono', monospace;
	font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em;
	padding: 6px 12px; border-radius: 0;
	text-decoration: none !important;
	align-self: start;
}
.nutraify-cross-sells ul.products li.product a.add_to_cart_button::before {
	content: '+ ';
}
.nutraify-cross-sells ul.products li.product a.add_to_cart_button:hover { background: var(--nt-green) !important; color: #fff !important; }

/* ============================================================
   CHECKOUT — Premium two-column redesign
   Inspired by NOE clean card layout: form left, sticky summary right.
   Colors: botanical-green (#075954), cream (#ffffff), gold (#E1B335)
   Fonts: Source Serif 4 (headings), Hanken Grotesk (body)
   ============================================================ */

/* ---- Hero header ---- */
.nutraify-checkout-hero {
	background: #075954;
	padding: 72px 0 64px;
	margin-bottom: 0;
	position: relative;
	overflow: hidden;
}
.nutraify-checkout-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 60% 40%, rgba(6,89,84,0.55) 0%, rgba(4,20,19,0.95) 70%);
	z-index: 1;
}
.nutraify-checkout-hero::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 2;
	opacity: 0.05;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
	background-size: 200px 200px;
	pointer-events: none;
}
.nutraify-checkout-hero-inner {
	max-width: 1160px;
	margin: 0 auto;
	padding: 0 32px;
	position: relative;
	z-index: 3;
	text-align: center;
}
.nutraify-checkout-hero-title {
	font-family: 'Source Serif 4', Georgia, serif !important;
	font-size: 34px !important;
	font-weight: 600 !important;
	color: #fff !important;
	margin: 0 0 10px !important;
	line-height: 1.2 !important;
}
.nutraify-checkout-breadcrumb {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-family: 'Hanken Grotesk', Arial, sans-serif;
	font-size: 13px;
	color: rgba(255,255,255,0.55);
}
.nutraify-checkout-breadcrumb a {
	color: rgba(255,255,255,0.75);
	text-decoration: none;
	transition: color .15s;
}
.nutraify-checkout-breadcrumb a:hover { color: #fff; }
.nutraify-checkout-breadcrumb svg { opacity: 0.45; flex-shrink: 0; }
.nutraify-checkout-breadcrumb span.active { color: #fff; font-weight: 600; }

/* ---- Edge-to-Edge Bleed for Hero Banners ---- */
/* Forces the hero banners to break out of the theme's default .col-full container */
.nutraify-checkout-hero,
.nutraify-shop-header {
	width: 100vw !important;
	max-width: 100vw !important;
	position: relative !important;
	left: 50% !important;
	right: 50% !important;
	margin-left: -50vw !important;
	margin-right: -50vw !important;
	order: -1 !important; /* Force to top */
	margin-top: 0 !important;
	flex-shrink: 0 !important;
}

/* Force woocommerce container to flex so order works */
body.woocommerce-checkout .woocommerce,
body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .entry-content,
body.woocommerce-cart .entry-content {
	display: flex !important;
	flex-direction: column !important;
}

/* ---- Page wrapper (WooCommerce outputs the form directly in .entry-content) ---- */
/* Guarantee the page breaks out of the restrictive theme container */
body.woocommerce-checkout .storefront-breadcrumb,
body.woocommerce-cart .storefront-breadcrumb,
body.woocommerce-checkout .entry-header,
body.woocommerce-cart .entry-header { display: none !important; }
body.woocommerce-checkout .site-header,
body.woocommerce-cart .site-header { margin: 0 !important; padding: 0 !important; }

/* Prevent horizontal scrollbars from the 100vw hero bleed */
body.woocommerce-checkout,
body.woocommerce-cart {
	overflow-x: hidden;
}

/* Reset theme containers so they don't clip */
body.woocommerce-checkout .site-content,
body.woocommerce-cart .site-content,
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-checkout .content-area,
body.woocommerce-cart .content-area,
body.woocommerce-checkout .type-page,
body.woocommerce-cart .type-page,
body.woocommerce-checkout .entry-content,
body.woocommerce-cart .entry-content,
body.woocommerce-checkout .woocommerce,
body.woocommerce-cart .woocommerce { padding: 0 !important; margin: 0 !important; max-width: 100% !important; }
body.woocommerce-checkout .site-content > .col-full,
body.woocommerce-cart .site-content > .col-full { max-width: 100% !important; padding: 0 !important; margin: 0 !important; }
body.woocommerce-checkout .woocommerce-notices-wrapper,
body.woocommerce-cart .woocommerce-notices-wrapper { margin: 0 !important; padding: 0 !important; }

.woocommerce-checkout .nutraify-checkout { font-family: 'Hanken Grotesk', Arial, sans-serif; }
.woocommerce-checkout .entry-content > .nutraify-checkout-hero,
.woocommerce-checkout .entry-content > form.nutraify-checkout {
	max-width: 100%;
}
form.nutraify-checkout {
	max-width: 1160px;
	margin: 0 auto;
	padding: 40px 32px 80px;
}

/* ---- Two-column grid ---- */
.nutraify-checkout-grid {
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: 28px;
	align-items: start;
}
.nutraify-checkout-main {
	grid-column: 1;
	grid-row: 1;
	min-width: 0;
}
.nutraify-checkout-summary {
	grid-column: 2;
	grid-row: 1 / span 2;
}
.nutraify-checkout-payment-wrapper {
	grid-column: 1;
	grid-row: 2;
}

@media (max-width: 960px) {
	.nutraify-checkout-grid {
		grid-template-columns: 1fr;
	}
	.nutraify-checkout-main {
		grid-column: 1;
		grid-row: 1;
	}
	.nutraify-checkout-summary {
		grid-column: 1;
		grid-row: 2;
	}
	.nutraify-checkout-payment-wrapper {
		grid-column: 1;
		grid-row: 3;
	}
	form.nutraify-checkout { padding: 32px 20px 60px; }
	
	/* Reset Storefront default mobile checkout thick black top border */
	.woocommerce-checkout #order_review_heading,
	.woocommerce-checkout .woocommerce-checkout-review-order-table,
	.woocommerce-checkout #order_review {
		border-top: none !important;
		margin-top: 0 !important;
		padding-top: 0 !important;
	}
}
@media (max-width: 768px) {
	body.woocommerce-checkout #primary .woocommerce,
	body.woocommerce-account #primary .woocommerce {
		padding: 0 16px 60px !important;
	}
	form.nutraify-checkout { 
		padding: 24px 0 40px !important; 
	}
	.nutraify-checkout-section { 
		padding: 24px 20px !important; 
	}
}

/* Neutralize Storefront/WooCommerce's default checkout column floats+widths */
.nutraify-checkout #customer_details,
.nutraify-checkout #order_review,
.nutraify-checkout-summary #order_review {
	width: 100% !important;
	float: none !important;
	padding: 0 !important;
}

/* ---- Section cards ---- */
.nutraify-checkout-section {
	background: #fff;
	border: 1px solid #e8e4e4;
	border-radius: 14px;
	padding: 26px 28px;
	margin-bottom: 16px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.04);
	transition: box-shadow .2s ease;
}
.nutraify-checkout-section:hover {
	box-shadow: 0 4px 20px rgba(6,89,84,0.07);
}
.nutraify-checkout-section-title {
	font-family: 'Source Serif 4', Georgia, serif !important;
	font-size: 17px !important;
	font-weight: 600 !important;
	color: var(--nt-ink) !important;
	margin: 0 0 18px !important;
	padding-bottom: 14px !important;
	border-bottom: 1px solid #f0ecec !important;
}
.nutraify-guest-note {
	font-size: 13px;
	color: var(--nt-muted);
	margin: 4px 0 0;
	line-height: 1.5;
}

/* ---- Form layout ---- */
.nutraify-checkout .col2-set { display: block; width: 100%; }
.nutraify-checkout .col2-set .col-1,
.nutraify-checkout .col2-set .col-2 { width: 100%; float: none; padding: 0; }
.nutraify-checkout .woocommerce-billing-fields > h3,
.nutraify-checkout .woocommerce-shipping-fields > h3,
.nutraify-checkout .woocommerce-additional-fields > h3 { display: none; }

/* Force a flex layout so we can dictate the exact order, ignoring WooCommerce Locale JS */
.nutraify-checkout .woocommerce-billing-fields__field-wrapper,
.nutraify-checkout .woocommerce-shipping-fields__field-wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

/* Base field styles */
.nutraify-checkout .form-row {
	margin: 0 0 12px;
	padding: 0;
	position: relative;
	width: 100%; /* Default full width */
	float: none !important;
}
.nutraify-checkout .form-row.form-row-first,
.nutraify-checkout .form-row.form-row-last {
	width: calc(50% - 6px) !important;
	flex: 0 0 calc(50% - 6px) !important;
	max-width: calc(50% - 6px) !important;
}

/* Explicit widths & ordering to match NOE EXACTLY */
.nutraify-checkout #billing_first_name_field, .nutraify-checkout #shipping_first_name_field,
.nutraify-checkout [id*="first_name_field"] {
	order: 1; 
	width: calc(50% - 6px) !important; 
	flex: 0 0 calc(50% - 6px) !important;
	max-width: calc(50% - 6px) !important;
	clear: none !important; 
	margin-right: 0 !important;
}
.nutraify-checkout #billing_last_name_field,  .nutraify-checkout #shipping_last_name_field,
.nutraify-checkout [id*="last_name_field"] { 
	order: 2; 
	width: calc(50% - 6px) !important; 
	flex: 0 0 calc(50% - 6px) !important;
	max-width: calc(50% - 6px) !important;
	clear: none !important; 
	margin-right: 0 !important;
}
.nutraify-checkout #billing_country_field,    .nutraify-checkout #shipping_country_field    { order: 3; margin-right: 0 !important; }
.nutraify-checkout #billing_city_field,       .nutraify-checkout #shipping_city_field       { order: 4; width: calc(50% - 6px) !important; clear: none !important; margin-right: 0 !important; }
.nutraify-checkout #billing_postcode_field,   .nutraify-checkout #shipping_postcode_field   { order: 5; width: calc(50% - 6px) !important; clear: none !important; margin-right: 0 !important; }
.nutraify-checkout #billing_state_field,      .nutraify-checkout #shipping_state_field      { order: 6; width: 100% !important; clear: none !important; margin-right: 0 !important; }
.nutraify-checkout #billing_address_1_field,  .nutraify-checkout #shipping_address_1_field  { order: 7; margin-right: 0 !important; }
.nutraify-checkout #billing_address_2_field,  .nutraify-checkout #shipping_address_2_field  { order: 8; margin-right: 0 !important; }
.nutraify-checkout #billing_phone_field,      .nutraify-checkout #shipping_phone_field      { order: 9; width: calc(50% - 6px) !important; clear: none !important; margin-right: 0 !important; }
.nutraify-checkout #billing_company_field,    .nutraify-checkout #shipping_company_field    { order: 10; width: calc(50% - 6px) !important; clear: none !important; margin-right: 0 !important; }
.nutraify-checkout #billing_email_field,      .nutraify-checkout #shipping_email_field      { order: 11; margin-right: 0 !important; }

.nutraify-checkout .woocommerce-input-wrapper { display: block; width: 100%; }

/* ---- Labels ---- */
/* Hide all native labels EXCEPT checkboxes */
.nutraify-checkout .woocommerce-billing-fields__field-wrapper label:not(.checkbox),
.nutraify-checkout .woocommerce-shipping-fields__field-wrapper label:not(.checkbox),
.nutraify-checkout .woocommerce-additional-fields label:not(.checkbox),
.nutraify-checkout .form-row > label:not(.woocommerce-form__label-for-checkbox) {
	display: none !important;
}

/* ---- Text / Email / Tel inputs ---- */
.nutraify-checkout .woocommerce-input-wrapper input,
.nutraify-checkout textarea,
.nutraify-checkout input.input-text {
	width: 100% !important;
	box-sizing: border-box !important;
	border: 1.5px solid #d9d9d9 !important;
	border-radius: 8px !important;
	background: #fff !important;
	padding: 14px 16px !important;
	font-size: 15px !important;
	font-family: 'Hanken Grotesk', Arial, sans-serif !important;
	height: auto !important;
	min-height: 50px !important;
	color: #1a1a1a !important;
	transition: border-color .18s, box-shadow .18s !important;
}
.nutraify-checkout .woocommerce-input-wrapper input::placeholder,
.nutraify-checkout input.input-text::placeholder,
.nutraify-checkout textarea::placeholder { color: #999 !important; }

/* Native <select> fallback (hidden by Select2 in most browsers) */
.nutraify-checkout .woocommerce-input-wrapper select {
	width: 100% !important;
	box-sizing: border-box !important;
	border: 1.5px solid #d9d9d9 !important;
	border-radius: 8px !important;
	background: #fff !important;
	padding: 14px 16px !important;
	font-size: 15px !important;
	min-height: 50px !important;
	color: #1a1a1a !important;
}


/* Select2 widget — MINIMAL safe overrides only.
   NEVER set display:flex, overflow:hidden, or appearance:none on
   .select2-selection — these break the dropdown click handler. */
.nutraify-checkout .select2-container { width: 100% !important; }
.nutraify-checkout .select2-selection--single {
	border: 1.5px solid #ddd8d5 !important;
	border-radius: 10px !important;
	background: #fff !important;
	height: 50px !important;
	line-height: 50px !important;
	box-sizing: border-box !important;
	outline: none !important;
}
.nutraify-checkout .select2-selection--single .select2-selection__rendered {
	color: var(--nt-ink) !important;
	font-size: 15px !important;
	font-family: 'Hanken Grotesk', Arial, sans-serif !important;
	line-height: 50px !important;
	padding-left: 14px !important;
	padding-right: 36px !important;
}
.nutraify-checkout .select2-selection--single .select2-selection__arrow {
	height: 50px !important;
	top: 0 !important;
	right: 10px !important;
}
.nutraify-checkout .select2-selection--single .select2-selection__arrow b {
	border-color: #888 transparent transparent transparent !important;
}
.nutraify-checkout .select2-container--open .select2-selection--single,
.nutraify-checkout .select2-container--focus .select2-selection--single {
	border-color: var(--nt-green) !important;
	box-shadow: 0 0 0 3px rgba(6,89,84,0.1) !important;
}

/* ---- Floating-label Select2: Country/Region + State/County ---- */
/* Ensure selected text is vertically centered without the floating label */
.nutraify-checkout #billing_country_field .select2-selection__rendered,
.nutraify-checkout #billing_state_field .select2-selection__rendered {
	padding-top: 0 !important; 
	padding-left: 0 !important;
	line-height: 48px !important;
}

/* Fix global Select2 open/focus state border to match our input colour */
.nutraify-checkout .select2-selection--single {
	border: 1.5px solid #d9d9d9 !important;
	border-radius: 8px !important;
}

/* Focus states for text inputs */
.nutraify-checkout .woocommerce-input-wrapper input:focus,
.nutraify-checkout input.input-text:focus,
.nutraify-checkout textarea:focus {
	outline: none !important;
	border-color: var(--nt-green) !important;
	box-shadow: 0 0 0 3px rgba(6,89,84,0.1) !important;
}
.nutraify-checkout .required { color: #c0392b; border: none; }

/* "+ Add apartment" toggle link — used by both checkout's inline script
   (form-checkout.php) and the account address form's (functions.php). */
.nt-add-apartment-link {
	display: inline-block;
	font-size: 13px;
	color: var(--nt-muted) !important;
	text-decoration: none !important;
	padding: 4px 0;
}
.nt-add-apartment-link:hover { color: var(--nt-green) !important; }

/* ============================================================
   Account Address Edit form (My Account > Addresses > Edit) —
   reuses the exact same floating-placeholder field system as
   checkout (.nutraify-checkout, above) so both look identical.
   Field IDs (#billing_first_name_field etc.) are the same on
   both pages since WooCommerce generates them from the same
   address field definitions. Placeholders for this context are
   set in functions.php via woocommerce_billing_fields /
   woocommerce_shipping_fields (checkout uses a separate filter,
   woocommerce_checkout_fields, so needed its own hook).
   ============================================================ */
/* ---- Form layout ---- */
.woocommerce-MyAccount-content .col2-set { display: block; width: 100%; }
.woocommerce-MyAccount-content .col2-set .col-1,
.woocommerce-MyAccount-content .col2-set .col-2 { width: 100%; float: none; padding: 0; }
.woocommerce-MyAccount-content .woocommerce-billing-fields > h3,
.woocommerce-MyAccount-content .woocommerce-shipping-fields > h3,
.woocommerce-MyAccount-content .woocommerce-additional-fields > h3 { display: none; }

/* Force a flex layout so we can dictate the exact order, ignoring WooCommerce Locale JS */
.woocommerce-MyAccount-content .woocommerce-address-fields__field-wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

/* Base field styles */
.woocommerce-MyAccount-content .form-row {
	margin: 0 0 18px !important;
	padding: 0;
	position: relative;
	width: 100%; /* Default full width */
	float: none !important;
}
/* Display name's helper text ("This will be how your name will be
   displayed...") sits right after the input inside the same .form-row —
   give it its own line and breathing room instead of crowding the field. */
.woocommerce-MyAccount-content .form-row span[id$="_description"] {
	display: block;
	margin-top: 8px;
	font-size: 13px;
	color: var(--nt-muted);
}
.woocommerce-MyAccount-content .form-row.form-row-first,
.woocommerce-MyAccount-content .form-row.form-row-last {
	width: calc(50% - 6px) !important;
	flex: 0 0 calc(50% - 6px) !important;
	max-width: calc(50% - 6px) !important;
}

/* Account Details' First/Last name row — form-edit-account.php is
   overridden in the theme to wrap these two fields in .nutraify-name-row
   directly, rather than relying on .form-row-first/-last width tricks.
   Those kept losing to WooCommerce/Storefront's own legacy
   ".woocommerce-MyAccount-content .form-row-first{float:left;width:...}"
   rules, which happen to match our selector's specificity exactly. */
.nutraify-name-row { display: flex; gap: 12px; }
.nutraify-name-row .form-row { flex: 1 1 0; min-width: 0; margin: 0 0 18px !important; }
@media (max-width: 480px) {
	.nutraify-name-row { flex-direction: column; gap: 0; }
}

/* Explicit widths & ordering to match checkout exactly */
.woocommerce-MyAccount-content #billing_first_name_field, .woocommerce-MyAccount-content #shipping_first_name_field,
.woocommerce-MyAccount-content [id*="first_name_field"] {
	order: 1;
	width: calc(50% - 6px) !important;
	flex: 0 0 calc(50% - 6px) !important;
	max-width: calc(50% - 6px) !important;
	clear: none !important;
	margin-right: 0 !important;
}
.woocommerce-MyAccount-content #billing_last_name_field,  .woocommerce-MyAccount-content #shipping_last_name_field,
.woocommerce-MyAccount-content [id*="last_name_field"] {
	order: 2;
	width: calc(50% - 6px) !important;
	flex: 0 0 calc(50% - 6px) !important;
	max-width: calc(50% - 6px) !important;
	clear: none !important;
	margin-right: 0 !important;
}
.woocommerce-MyAccount-content #billing_country_field,    .woocommerce-MyAccount-content #shipping_country_field    { order: 3; margin-right: 0 !important; }
.woocommerce-MyAccount-content #billing_city_field,       .woocommerce-MyAccount-content #shipping_city_field       { order: 4; width: calc(50% - 6px) !important; clear: none !important; margin-right: 0 !important; }
.woocommerce-MyAccount-content #billing_postcode_field,   .woocommerce-MyAccount-content #shipping_postcode_field   { order: 5; width: calc(50% - 6px) !important; clear: none !important; margin-right: 0 !important; }
.woocommerce-MyAccount-content #billing_state_field,      .woocommerce-MyAccount-content #shipping_state_field      { order: 6; width: 100% !important; clear: none !important; margin-right: 0 !important; }
.woocommerce-MyAccount-content #billing_address_1_field,  .woocommerce-MyAccount-content #shipping_address_1_field  { order: 7; margin-right: 0 !important; }
.woocommerce-MyAccount-content #billing_address_2_field,  .woocommerce-MyAccount-content #shipping_address_2_field  { order: 8; margin-right: 0 !important; }
.woocommerce-MyAccount-content #billing_phone_field,      .woocommerce-MyAccount-content #shipping_phone_field      { order: 9; width: calc(50% - 6px) !important; clear: none !important; margin-right: 0 !important; }
.woocommerce-MyAccount-content #billing_company_field,    .woocommerce-MyAccount-content #shipping_company_field    { order: 10; width: calc(50% - 6px) !important; clear: none !important; margin-right: 0 !important; }
.woocommerce-MyAccount-content #billing_email_field,      .woocommerce-MyAccount-content #shipping_email_field      { order: 11; margin-right: 0 !important; }

.woocommerce-MyAccount-content .woocommerce-input-wrapper { display: block; width: 100%; }

/* ---- Labels ---- */
/* Hide all native labels EXCEPT checkboxes */
.woocommerce-MyAccount-content .woocommerce-address-fields__field-wrapper label:not(.checkbox),
.woocommerce-MyAccount-content .form-row > label:not(.woocommerce-form__label-for-checkbox) {
	display: none !important;
}

/* ---- Text / Email / Tel inputs ---- */
.woocommerce-MyAccount-content .woocommerce-input-wrapper input,
.woocommerce-MyAccount-content textarea,
.woocommerce-MyAccount-content input.input-text {
	width: 100% !important;
	box-sizing: border-box !important;
	border: 1.5px solid #d9d9d9 !important;
	border-radius: 8px !important;
	background: #fff !important;
	padding: 14px 16px !important;
	font-size: 15px !important;
	font-family: 'Hanken Grotesk', Arial, sans-serif !important;
	height: auto !important;
	min-height: 50px !important;
	color: #1a1a1a !important;
	transition: border-color .18s, box-shadow .18s !important;
}
.woocommerce-MyAccount-content .woocommerce-input-wrapper input::placeholder,
.woocommerce-MyAccount-content input.input-text::placeholder,
.woocommerce-MyAccount-content textarea::placeholder { color: #999 !important; }

/* Native <select> fallback (hidden by Select2 in most browsers) */
.woocommerce-MyAccount-content .woocommerce-input-wrapper select {
	width: 100% !important;
	box-sizing: border-box !important;
	border: 1.5px solid #d9d9d9 !important;
	border-radius: 8px !important;
	background: #fff !important;
	padding: 14px 16px !important;
	font-size: 15px !important;
	min-height: 50px !important;
	color: #1a1a1a !important;
}

/* Select2 widget — MINIMAL safe overrides only.
   NEVER set display:flex, overflow:hidden, or appearance:none on
   .select2-selection — these break the dropdown click handler. */
.woocommerce-MyAccount-content .select2-container { width: 100% !important; }
.woocommerce-MyAccount-content .select2-selection--single {
	border: 1.5px solid #ddd8d5 !important;
	border-radius: 10px !important;
	background: #fff !important;
	height: 50px !important;
	line-height: 50px !important;
	box-sizing: border-box !important;
	outline: none !important;
}
.woocommerce-MyAccount-content .select2-selection--single .select2-selection__rendered {
	color: var(--nt-ink) !important;
	font-size: 15px !important;
	font-family: 'Hanken Grotesk', Arial, sans-serif !important;
	line-height: 50px !important;
	padding-left: 14px !important;
	padding-right: 36px !important;
}
.woocommerce-MyAccount-content .select2-selection--single .select2-selection__arrow {
	height: 50px !important;
	top: 0 !important;
	right: 10px !important;
}
.woocommerce-MyAccount-content .select2-selection--single .select2-selection__arrow b {
	border-color: #888 transparent transparent transparent !important;
}
.woocommerce-MyAccount-content .select2-container--open .select2-selection--single,
.woocommerce-MyAccount-content .select2-container--focus .select2-selection--single {
	border-color: var(--nt-green) !important;
	box-shadow: 0 0 0 3px rgba(6,89,84,0.1) !important;
}

/* ---- Floating-label Select2: Country/Region + State/County ---- */
/* Ensure selected text is vertically centered without the floating label */
.woocommerce-MyAccount-content #billing_country_field .select2-selection__rendered,
.woocommerce-MyAccount-content #billing_state_field .select2-selection__rendered {
	padding-top: 0 !important;
	padding-left: 0 !important;
	line-height: 48px !important;
}

/* Fix global Select2 open/focus state border to match our input colour */
.woocommerce-MyAccount-content .select2-selection--single {
	border: 1.5px solid #d9d9d9 !important;
	border-radius: 8px !important;
}

/* Focus states for text inputs */
.woocommerce-MyAccount-content .woocommerce-input-wrapper input:focus,
.woocommerce-MyAccount-content input.input-text:focus,
.woocommerce-MyAccount-content textarea:focus {
	outline: none !important;
	border-color: var(--nt-green) !important;
	box-shadow: 0 0 0 3px rgba(6,89,84,0.1) !important;
}
.woocommerce-MyAccount-content .required { color: #c0392b; border: none; }

/* Select2 global dropdown panel */
.select2-container--open .select2-dropdown .select2-results > .select2-results__options {
	max-height: 260px !important;
	overflow-y: auto !important;
	-webkit-overflow-scrolling: touch !important;
}
.select2-dropdown {
	z-index: 999999 !important;
	border: 1.5px solid #d9d9d9 !important;
	border-radius: 8px !important;
	box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
	font-family: 'Hanken Grotesk', Arial, sans-serif !important;
	font-size: 15px !important;
}

.select2-results__option {
	padding: 10px 14px !important;
	color: var(--nt-ink) !important;
}
.select2-results__option--highlighted {
	background: rgba(6,89,84,0.08) !important;
	color: var(--nt-green) !important;
}
.select2-results__option[aria-selected=true] {
	background: rgba(6,89,84,0.12) !important;
	font-weight: 600 !important;
}
.select2-search--dropdown .select2-search__field {
	border: 1.5px solid #ddd8d5 !important;
	border-radius: 7px !important;
	padding: 8px 12px !important;
	font-size: 14px !important;
	font-family: 'Hanken Grotesk', Arial, sans-serif !important;
}
.select2-search--dropdown .select2-search__field:focus {
	border-color: var(--nt-green) !important;
	outline: none !important;
}

/* ---- Validation ---- */
.nutraify-checkout .woocommerce-NoticeGroup-checkout li[data-id] { display: none !important; }
.nutraify-checkout .woocommerce-NoticeGroup-checkout ul:not(:has(li:not([data-id]))) { display: none !important; }
.nutraify-checkout .woocommerce-NoticeGroup-checkout .woocommerce-error:not(:has(li:not([data-id]))) { display: none !important; }
.nutraify-checkout .woocommerce-NoticeGroup-checkout > div[role="alert"]:not(:has(li:not([data-id]))) { display: none !important; }

.nutraify-checkout .form-row.woocommerce-invalid .woocommerce-input-wrapper input,
.nutraify-checkout .form-row.woocommerce-invalid .woocommerce-input-wrapper select,
.nutraify-checkout .form-row.woocommerce-invalid input.input-text,
.nutraify-checkout .form-row.woocommerce-invalid .select2-selection {
	border-color: var(--nt-error) !important;
	background: var(--nt-error-bg) !important;
}
.nutraify-checkout .checkout-inline-error-message {
	color: var(--nt-error);
	font-size: 12px;
	font-weight: 600;
	margin: 6px 0 0;
}

/* ---- "+ Add apartment" toggle link ---- */
.nutraify-checkout .woocommerce-input-wrapper a.link,
.nutraify-checkout .address-field.additional_fields a {
	display: inline-block;
	font-size: 13px;
	color: var(--nt-muted);
	text-decoration: none;
	margin-bottom: 10px;
	transition: color .15s;
}
.nutraify-checkout .woocommerce-input-wrapper a.link:hover,
.nutraify-checkout .address-field.additional_fields a:hover { color: var(--nt-green); }

/* ---- Order notes / "Add a note" checkbox + textarea ---- */
.nutraify-checkout .woocommerce-additional-fields__field-wrapper .form-row { margin-bottom: 0; }
.nutraify-checkout #order_comments_field label { font-size: 14px; font-weight: 500; color: var(--nt-ink); }
.nutraify-checkout #order_comments_field textarea {
	min-height: 100px !important;
	resize: vertical !important;
	font-size: 14px !important;
	padding: 14px 16px !important;
	border-radius: 10px !important;
}
.nutraify-checkout .woocommerce-additional-fields input[type="checkbox"] {
	width: 18px !important;
	height: 18px !important;
	min-height: 0 !important;
	accent-color: var(--nt-green);
	cursor: pointer;
	margin-right: 8px;
	vertical-align: middle;
}
.nutraify-checkout .woocommerce-additional-fields label[for="order_notes"] {
	display: flex;
	align-items: center;
	font-size: 14px;
	color: var(--nt-ink);
	font-weight: 500;
	cursor: pointer;
	gap: 6px;
}

/* ---- Custom "Use same address for billing" Toggle ---- */
.nutraify-checkout .nt-same-billing-section {
	margin-top: 24px;
	margin-bottom: 24px;
	padding-top: 24px;
	border-top: 1px solid #eee;
}
.nutraify-checkout .nt-same-billing-label {
	display: flex;
	align-items: center;
	cursor: pointer;
	gap: 12px;
	font-size: 15px;
	font-weight: 500;
	color: var(--nt-ink);
}
.nutraify-checkout .nt-checkbox-wrap {
	position: relative;
	width: 20px;
	height: 20px;
	display: inline-block;
	flex-shrink: 0;
}
.nutraify-checkout .nt-same-billing-input {
	opacity: 0;
	position: absolute;
	width: 100%;
	height: 100%;
	margin: 0;
	cursor: pointer;
	z-index: 2;
}
.nutraify-checkout .nt-checkbox-custom {
	position: absolute;
	top: 0;
	left: 0;
	width: 20px;
	height: 20px;
	border: 1.5px solid #d9d9d9;
	border-radius: 4px;
	background: #fff;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1;
}
.nutraify-checkout .nt-same-billing-input:checked + .nt-checkbox-custom {
	background: var(--nt-green);
	border-color: var(--nt-green);
}
.nutraify-checkout .nt-checkmark {
	width: 12px;
	height: 10px;
	color: #fff;
	opacity: 0;
	transform: scale(0.5);
	transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.nutraify-checkout .nt-same-billing-input:checked + .nt-checkbox-custom .nt-checkmark {
	opacity: 1;
	transform: scale(1);
}
.nutraify-checkout .nt-same-billing-input:focus + .nt-checkbox-custom {
	box-shadow: 0 0 0 3px rgba(6,89,84,0.1);
	border-color: var(--nt-green);
}
#nt-billing-address-section {
	margin-top: 24px;
}


/* Returning-customer login + coupon toggles */
.woocommerce-checkout .woocommerce-form-login-toggle,
.woocommerce-checkout .woocommerce-form-coupon-toggle { margin-bottom: 18px; }
.woocommerce-checkout form.login,
.woocommerce-checkout form.checkout_coupon {
	background: #fff !important;
	border: 1px solid var(--nt-line) !important;
	border-radius: 14px !important;
	padding: 24px !important;
	margin-bottom: 20px !important;
}

/* ---- ORDER SUMMARY CARD (right) ---- */
.nutraify-checkout-summary { position: sticky; top: 100px; }
@media (max-width: 960px) { .nutraify-checkout-summary { position: static; } }

.nutraify-checkout-summary-card {
	background: #fff;
	border: 1px solid #e8e4e4;
	border-radius: 14px;
	padding: 26px 24px 22px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.nutraify-checkout-summary-card #order_review_heading {
	font-family: 'Source Serif 4', Georgia, serif !important;
	font-size: 17px !important;
	font-weight: 600 !important;
	color: var(--nt-ink) !important;
	margin: 0 0 18px !important;
	padding-bottom: 14px !important;
	border-bottom: 1px solid #f0ecec !important;
	text-align: left !important;
	float: none !important;
	width: 100% !important;
	clear: both !important;
}

/* Review order table */
.nutraify-checkout-review {
	width: 100%;
	border-collapse: collapse;
	border: none;
	margin: 0;
	table-layout: fixed;
}
.nutraify-checkout-review td, .nutraify-checkout-review th { border: none; background: none; }
.nutraify-checkout-review td.product-name, .nutraify-checkout-review tfoot th { width: auto; }
.nutraify-checkout-review td.product-total, .nutraify-checkout-review tfoot td { width: 90px; }

/* Cart items */
.nutraify-checkout-items .cart_item td {
	padding: 12px 0;
	border-bottom: 1px solid #f4f0f0;
	vertical-align: top;
}
.nutraify-checkout-item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}
.nutraify-checkout-item-thumb {
	position: relative;
	width: 60px;
	height: 60px;
	flex: none;
}
.nutraify-checkout-item-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 9px;
	border: 1px solid #ede9e7;
	background: var(--nt-cream);
	margin: 0;
}
.nutraify-checkout-item-qty {
	position: absolute;
	top: -8px;
	right: -8px;
	min-width: 22px;
	height: 22px;
	padding: 0 5px;
	box-sizing: border-box;
	background: var(--nt-ink);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	border-radius: 999px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.nutraify-checkout-item-info { flex: 1; min-width: 0; }
.nutraify-checkout-item-name {
	font-size: 13px;
	font-weight: 600;
	color: var(--nt-ink);
	display: block;
	line-height: 1.4;
}
.nutraify-checkout-item-meta { font-size: 12px; color: var(--nt-muted); margin-top: 2px; }
.nutraify-checkout-item-meta p { margin: 0; }
.nutraify-checkout-item-save {
	display: inline-block;
	margin-top: 5px;
	font-size: 11px;
	font-weight: 700;
	color: var(--nt-green);
	background: rgba(6,89,84,.08);
	padding: 2px 8px;
	border-radius: 4px;
}

/* Totals row */
.nutraify-checkout-review td.product-total {
	text-align: right;
	font-size: 13px;
	font-weight: 600;
	color: var(--nt-ink);
	white-space: nowrap;
}
.nutraify-checkout-review tfoot th {
	text-align: left;
	font-weight: 400;
	color: var(--nt-muted);
	font-size: 14px;
	padding: 8px 0 !important;
	background-color: transparent !important;
}
.nutraify-checkout-review tfoot td {
	text-align: right;
	font-size: 14px;
	color: var(--nt-ink);
	padding: 8px 0 !important;
	background-color: transparent !important;
}
.nutraify-checkout-review tfoot tr {
	background-color: transparent !important;
}
.nutraify-checkout-review tfoot tr.cart-subtotal th,
.nutraify-checkout-review tfoot tr.cart-subtotal td { padding-top: 18px !important; }
.nutraify-checkout-review tfoot tr.cart-discount th,
.nutraify-checkout-review tfoot tr.cart-discount td { color: var(--nt-green); }
.nutraify-checkout-review tfoot tr.order-total th,
.nutraify-checkout-review tfoot tr.order-total td {
	border-top: 1.5px solid #ede9e7;
	padding-top: 14px !important;
	font-weight: 700 !important;
	font-size: 17px !important;
	color: var(--nt-ink) !important;
}

/* Subscription recurring block */
.wps_recurring_bifurcation_wrapper {
	display: block;
	border-top: 1px solid var(--nt-line);
	margin-top: 10px;
	padding-top: 12px;
}
.wps_recurring_bifurcation_wrapper th,
.wps_recurring_bifurcation_wrapper td { display: block; width: 100% !important; padding: 0 !important; text-align: left !important; }
.wps_recurring_bifurcation_wrapper h4 {
	font-family: 'Hanken Grotesk', Arial, sans-serif;
	font-size: 13px;
	font-weight: 700;
	margin: 0 0 8px;
	color: var(--nt-ink);
	line-height: 1.35;
}
.wps_recurring_bifurcation_wrapper h4 a { color: var(--nt-green); text-decoration: none; font-weight: 700; }
.wps_recurring_bifurcation_wrapper ul { list-style: none; margin: 0; padding: 0; }
.wps_recurring_bifurcation_wrapper li {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	font-size: 13px;
	color: var(--nt-muted);
	padding: 3px 0;
}
.wps_recurring_bifurcation_wrapper li label { font-weight: 400; margin: 0; }
.wps_recurring_bifurcation_wrapper .wps_sfw_interval { color: var(--nt-muted); font-weight: 400; }

/* ---- COUPON TOGGLE (inside summary card) ---- */
.nutraify-coupon-toggle-wrap {
	border-top: 1px solid #f0ecec;
	margin-top: 18px;
	padding-top: 16px;
}
.nutraify-coupon-toggle-btn {
	display: flex;
	align-items: center;
	gap: 7px;
	width: 100%;
	background: none !important;
	border: none !important;
	padding: 0 !important;
	font-family: 'Hanken Grotesk', Arial, sans-serif;
	font-size: 13px;
	font-weight: 600;
	color: var(--nt-green) !important;
	cursor: pointer;
	text-align: left;
	transition: opacity .15s;
	box-shadow: none !important;
}
.nutraify-coupon-toggle-btn:hover { opacity: .75; }
.nutraify-coupon-chevron {
	margin-left: auto;
	display: flex;
	align-items: center;
	transition: transform .2s ease;
}
.nutraify-coupon-toggle-btn.is-open .nutraify-coupon-chevron { transform: rotate(180deg); }
.nutraify-coupon-form-wrap {
	padding-top: 12px;
}
.nutraify-coupon-row {
	display: flex;
	gap: 8px;
}
.nutraify-coupon-row .input-text {
	flex: 1;
	padding: 11px 14px !important;
	font-size: 14px !important;
	border: 1.5px solid #e0dbd8 !important;
	border-radius: 8px !important;
	background: #fafafa !important;
	min-height: 0 !important;
}
.nutraify-coupon-row .input-text:focus {
	border-color: var(--nt-green) !important;
	background: #fff !important;
	outline: none !important;
	box-shadow: 0 0 0 3px rgba(6,89,84,0.1) !important;
}
.nutraify-coupon-apply-btn {
	padding: 10px 16px !important;
	background: var(--nt-green) !important;
	color: #fff !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	border: none !important;
	border-radius: 8px !important;
	cursor: pointer;
	white-space: nowrap;
	transition: background .15s !important;
}
.nutraify-coupon-apply-btn:hover { background: var(--nt-green-dark) !important; }

/* ---- TRUST BADGES (below coupon) ---- */
.nutraify-checkout-trust {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid #f0ecec;
	flex-wrap: wrap;
}
.nutraify-checkout-trust-item {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .03em;
	color: var(--nt-muted);
}
.nutraify-checkout-trust-item svg { color: var(--nt-green); flex-shrink: 0; }

/* ---- PLACE ORDER BUTTON ---- */
.woocommerce-checkout #place_order,
.woocommerce-checkout .button {
	background: var(--nt-green) !important;
	color: #fff !important;
	border-radius: 10px !important;
	font-weight: 700 !important;
	font-size: 16px !important;
	letter-spacing: .02em !important;
	padding: 17px 24px !important;
	border: none !important;
	cursor: pointer;
	transition: background .18s, transform .18s, box-shadow .18s !important;
}
.woocommerce-checkout #place_order {
	width: 100% !important;
	margin-top: 8px;
	text-transform: none !important;
	box-shadow: 0 4px 14px rgba(6,89,84,0.28) !important;
}
.woocommerce-checkout #place_order:hover {
	background: var(--nt-green-dark) !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 6px 20px rgba(6,89,84,0.35) !important;
}
.woocommerce-checkout #place_order:active {
	transform: translateY(0) !important;
}

/* ---- PAYMENT METHOD RADIO CARDS ---- */
#payment { background: transparent !important; border: none !important; }
#payment ul.wc_payment_methods { list-style: none; margin: 0 0 16px; padding: 0; border: none !important; }
#payment ul.payment_methods li {
	border: 1.5px solid #e0dbd8;
	border-radius: 10px;
	padding: 14px 16px;
	margin-bottom: 10px;
	list-style: none;
	background: #fafafa;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
#payment ul.payment_methods li:hover {
	border-color: var(--nt-green);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(6,89,84,0.07);
}
#payment ul.payment_methods li:has(input:checked) {
	border-color: var(--nt-green) !important;
	background: rgba(6,89,84,.04) !important;
}
#payment ul.payment_methods li input[type=radio] {
	accent-color: var(--nt-green);
	width: 18px;
	height: 18px;
	margin-right: 10px;
	vertical-align: middle;
	cursor: pointer;
}
#payment ul.payment_methods li label {
	display: inline;
	font-weight: 600;
	font-size: 14px;
	color: var(--nt-ink);
	cursor: pointer;
	text-transform: none;
	letter-spacing: 0;
}
#payment ul.payment_methods li img { max-height: 24px; margin-left: 8px; vertical-align: middle; }
#payment .payment_box {
	background: rgba(6,89,84,.05);
	border-radius: 8px;
	margin: 12px 0 0;
	padding: 14px;
	font-size: 13px;
	color: var(--nt-muted);
}
#payment .payment_box::before { display: none !important; }
#payment .place-order { padding: 0 !important; margin: 0 !important; border: none !important; }
#payment .woocommerce-terms-and-conditions-wrapper {
	margin-bottom: 14px;
	font-size: 12px;
	color: var(--nt-muted);
}

/* WC privacy policy text */
#payment p.form-row { margin: 0 0 14px !important; font-size: 12px; color: var(--nt-muted); }


/* ---- WC NOTICES / TOASTS ---- */

/* Coupon / info / success notices — Botanical Green floating toast banner */
.woocommerce-notices-wrapper:empty { display: none !important; }
.woocommerce-info, .woocommerce-message, .woocommerce-error, .woocommerce-NoticeGroup .woocommerce-notice,
#nutraify-bottom-toasts .woocommerce-info, #nutraify-bottom-toasts .woocommerce-message, #nutraify-bottom-toasts .woocommerce-error, #nutraify-bottom-toasts .woocommerce-notice {
	background-color: #075954 !important;
	border: 1px solid rgba(225, 179, 53, 0.4) !important;
	border-left: 4px solid #E1B335 !important;
	color: #ffffff !important;
	border-radius: 12px !important;
	padding: 14px 20px !important;
	font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	list-style: none !important;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	flex-wrap: wrap !important;
	gap: 12px !important;
}
.nutraify-toast-hiding {
	animation: none !important;
	opacity: 0 !important;
	transform: translateY(15px) !important;
	pointer-events: none !important;
	transition: opacity 0.35s ease, transform 0.35s ease !important;
}
.woocommerce-info::before, .woocommerce-message::before, .woocommerce-error::before { display: none !important; }
.woocommerce-info a, .woocommerce-message a, .woocommerce-error a,
#nutraify-bottom-toasts .woocommerce-info a, #nutraify-bottom-toasts .woocommerce-message a, #nutraify-bottom-toasts .woocommerce-error a {
	color: #1a1a1a !important;
	background: #E1B335 !important;
	border-radius: 50px !important;
	padding: 6px 16px !important;
	font-weight: 700 !important;
	font-size: 13px !important;
	text-decoration: none !important;
	display: inline-flex !important;
	align-items: center !important;
	white-space: nowrap !important;
	order: 2 !important;
	margin-left: auto !important;
	float: none !important;
	box-shadow: 0 2px 8px rgba(0,0,0,0.18) !important;
	transition: background 0.2s ease, transform 0.2s ease !important;
}
.woocommerce-info a:hover, .woocommerce-message a:hover, .woocommerce-error a:hover {
	background: #e0b62d !important;
	transform: translateY(-1px) !important;
	text-decoration: none !important;
}
.checkout-coupon-form .form-row { display: flex; gap: 8px; margin-top: 12px; }

/* fixed-header spacer used consistently across the redesigned pages */
.nutraify-header-spacer { height: 100px; }

/* Empty Cart Custom Design */
.nutraify-empty-cart-container {
    max-width: 480px;
    margin: 100px auto;
    text-align: center;
    padding: 40px 20px;
}
.nutraify-empty-cart-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 32px;
    color: var(--nt-green);
    background: var(--nt-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nutraify-empty-cart-icon svg {
    width: 40px;
    height: 40px;
}
.nutraify-empty-cart-title {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 32px;
    font-weight: 400;
    color: var(--nt-ink);
    margin: 0 0 16px;
}
.nutraify-empty-cart-text {
    font-family: 'Hanken Grotesk', Arial, sans-serif;
    font-size: 18px;
    color: var(--nt-muted);
    margin: 0 0 40px;
    line-height: 1.5;
}
.nutraify-empty-cart-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.nutraify-empty-cart-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #075954 !important;
    color: #fff !important;
    font-family: 'Hanken Grotesk', Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 8px !important;
    text-decoration: none !important;
    border: 2px solid #075954 !important;
    transition: all 0.2s ease;
    min-width: 180px;
}
.nutraify-empty-cart-button:hover {
    background: #04423E !important;
    border-color: #04423E !important;
    color: #fff !important;
}
.nutraify-empty-cart-button.alt-button,
a.button.alt,
button.button.alt,
input.button.alt,
.alt-button {
    background: transparent !important;
    border: 2px solid #075954 !important;
    color: #075954 !important;
}
.nutraify-empty-cart-button.alt-button:hover,
a.button.alt:hover,
button.button.alt:hover,
input.button.alt:hover,
.alt-button:hover {
    background: #075954 !important;
    color: #ffffff !important;
    border-color: #075954 !important;
}

/* Fix massive empty space above cart and footer on mobile */
/* Unified Mobile Page Hero Styling & High-Contrast Colors Across All Pages */
@media (max-width: 900px) {
    .site-header { margin-bottom: 0 !important; padding-bottom: 0 !important; }
    .site-content { padding-top: 0px !important; padding-bottom: 0px !important; margin-top: 0 !important; margin-bottom: 0 !important; }
    #content { padding-top: 0px !important; padding-bottom: 0px !important; margin-top: 0 !important; margin-bottom: 0 !important; }
    #primary { margin-top: 0 !important; padding-top: 0 !important; margin-bottom: 0 !important; padding-bottom: 0 !important; }
    .site-footer { margin-top: 0 !important; padding-top: 16px !important; }

    .nt-page-hero,
    .science-hero,
    .nutraify-shop-header {
        padding-top: 35px !important;
        padding-bottom: 30px !important;
        margin-top: 0 !important;
        text-align: center !important;
    }
    .nt-page-hero-inner,
    .science-hero__content,
    .nutraify-cart-hero-inner {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        padding-bottom: 0 !important;
    }
    .nt-page-hero h1,
    .science-hero__title,
    .nutraify-shop-header .nutraify-h1 {
        font-size: 32px !important;
        color: #ffffff !important;
        margin-top: 0 !important;
        margin-bottom: 6px !important;
        text-align: center !important;
        line-height: 1.2 !important;
    }
    .nt-page-hero-eyebrow,
    .science-hero__label,
    .nutraify-shop-header .nutraify-eyebrow {
        color: #C9A227 !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        letter-spacing: 0.18em !important;
        text-transform: uppercase !important;
        display: inline-block !important;
        margin-bottom: 8px !important;
        text-align: center !important;
    }
    .nt-page-hero p,
    .science-hero__subtitle,
    .nutraify-shop-header .nutraify-sub,
    .nutraify-shop-header .nutraify-count {
        color: rgba(255, 255, 255, 0.90) !important;
        font-size: 14px !important;
        line-height: 1.5 !important;
        margin-top: 4px !important;
        margin-bottom: 0 !important;
        text-align: center !important;
        max-width: 580px !important;
        opacity: 1 !important;
    }
    .nt-hero-actions {
        margin-top: 24px !important;
        margin-bottom: 8px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        gap: 12px !important;
    }
    .nt-hero-actions .nt-btn-primary,
    .nt-hero-actions .nt-btn-gold,
    .nt-hero-actions .nt-btn-outline-white,
    .nt-btn-primary,
    .nt-btn-gold,
    .nt-btn-outline-white {
        width: 100% !important;
        max-width: 320px !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }
}

/* ================================================================
   BOTANICAL PAGE SYSTEM — About, Contact, FAQ
   Premium page layouts matching the home page Botanical Theme
   Source Serif 4 headings | Hanken Grotesk body | green/cream/gold
   ================================================================ */

/* ── Shared Page Hero (Dark Forest) ── */
.nt-page-hero {
    background: #043330 !important;
    background-color: #043330 !important;
    color: #fff;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.nt-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 40%, rgba(4,51,48,0.55) 0%, rgba(4,20,19,0.95) 70%);
    z-index: 1;
}
.nt-page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    pointer-events: none;
}
.nt-page-hero-inner {
    position: relative;
    z-index: 3;
    max-width: 760px;
    margin: 0 auto;
}
.nt-page-hero-eyebrow {
    display: inline-block;
    font-family: 'Hanken Grotesk', Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #C9A227;
    margin-bottom: 22px;
    padding: 7px 18px;
    border: 1px solid rgba(201,162,39,0.35);
    border-radius: 50px;
    background: rgba(201,162,39,0.08);
}
.nt-page-hero h1 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.15;
    color: #fff;
    margin: 0 0 20px;
    font-weight: 600;
}
.nt-page-hero h1 em {
    font-style: italic;
    color: rgba(201,162,39,0.92);
}
.nt-page-hero p {
    font-family: 'Hanken Grotesk', Arial, sans-serif;
    font-size: 17px;
    color: rgba(255,255,255,0.70);
    line-height: 1.65;
    max-width: 580px;
    margin: 0 auto 34px;
}
/* About page hero — solid brand color, no gradient/noise overlay */
.nt-page-hero.nt-about-hero {
    background: #043330 !important;
    background-color: #043330 !important;
}
.nt-page-hero.nt-about-hero::before,
.nt-page-hero.nt-about-hero::after {
    display: none;
}
.nt-hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

/* ── Shared Buttons ── */
.nt-btn-primary,
.nt-btn-gold {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 14px 28px !important;
    background: #C9A227 !important;
    background-color: #C9A227 !important;
    color: #043330 !important;
    font-family: 'Hanken Grotesk', Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    border: 2px solid #C9A227 !important;
    box-shadow: 0 4px 16px rgba(201,162,39,0.25) !important;
}
.nt-btn-primary:hover,
.nt-btn-gold:hover {
    background: #e0b62d !important;
    background-color: #e0b62d !important;
    border-color: #e0b62d !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(201,162,39,0.45) !important;
    color: #043330 !important;
}
.nt-btn-outline-white {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 14px 28px !important;
    background: transparent !important;
    background-color: transparent !important;
    color: #ffffff !important;
    font-family: 'Hanken Grotesk', Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    border: 2px solid rgba(255,255,255,0.70) !important;
    transition: all 0.25s ease !important;
}
.nt-btn-outline-white:hover {
    border-color: #ffffff !important;
    color: #043330 !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 16px rgba(255,255,255,0.2) !important;
}

/* ── Scroll Reveal ── */
.nt-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}
.nt-reveal.visible { opacity: 1; transform: translateY(0); }
.nt-reveal-d1 { transition-delay: 0.1s; }
.nt-reveal-d2 { transition-delay: 0.2s; }
.nt-reveal-d3 { transition-delay: 0.3s; }
.nt-reveal-d4 { transition-delay: 0.4s; }

/* ── Section Wrappers ── */
.nt-section {
    padding: 80px 24px;
    background: var(--nt-cream, #ffffff);
}
.nt-section-dark {
    padding: 80px 24px;
    background: #075954;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.nt-section-white {
    padding: 80px 24px;
    background: #fff;
}
.nt-section-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.nt-section-header {
    text-align: center;
    margin-bottom: 56px;
}
.nt-section-header h2 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: clamp(26px, 4vw, 40px);
    line-height: 1.22;
    color: var(--nt-ink, #1c1b1b);
    margin: 0 0 14px;
    font-weight: 600;
}
.nt-section-header h2 em { font-style: italic; color: var(--nt-green, #075954); }
.nt-section-header p {
    font-family: 'Hanken Grotesk', Arial, sans-serif;
    font-size: 16px;
    color: var(--nt-muted, #5d5f5f);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.65;
}
.nt-section-eyebrow {
    display: inline-block;
    font-family: 'Hanken Grotesk', Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--nt-gold-dark, #B18E21);
    margin-bottom: 14px;
}
.nt-section-header-dark h2 { color: #fff; }
.nt-section-header-dark h2 em { color: #C9A227; }
.nt-section-header-dark p { color: rgba(255,255,255,0.65); }
.nt-section-header-dark .nt-section-eyebrow { color: #C9A227; }

/* About page dark sections — solid brand color, matches hero */
.nt-section-dark.nt-about-section-dark {
    background: #053330;
}

/* ── ABOUT: Stats Bar ── */
.nt-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-top: 1px solid var(--nt-line, #e5e2e1);
    border-bottom: 1px solid var(--nt-line, #e5e2e1);
}
.nt-stat-item {
    text-align: center;
    padding: 40px 20px;
    border-right: 1px solid var(--nt-line, #e5e2e1);
    transition: background 0.2s ease;
}
.nt-stat-item:last-child { border-right: none; }
.nt-stat-item:hover { background: var(--nt-cream, #ffffff); }
.nt-stat-number {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--nt-green, #075954);
    line-height: 1;
    margin-bottom: 8px;
}
.nt-stat-label {
    font-family: 'Hanken Grotesk', Arial, sans-serif;
    font-size: 13px;
    color: var(--nt-muted, #5d5f5f);
    line-height: 1.4;
}

/* ── ABOUT: Two-Column Story ── */
.nt-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.nt-two-col-text .eyebrow {
    font-family: 'Hanken Grotesk', Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--nt-gold-dark, #B18E21);
    display: block;
    margin-bottom: 14px;
}
.nt-two-col-text h2 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: clamp(24px, 3.5vw, 36px);
    line-height: 1.25;
    color: var(--nt-ink, #1c1b1b);
    font-weight: 600;
    margin: 0 0 20px;
}
.nt-two-col-text h2 em { font-style: italic; color: var(--nt-green, #075954); }
.nt-two-col-text p {
    font-family: 'Hanken Grotesk', Arial, sans-serif;
    font-size: 15.5px;
    color: var(--nt-muted, #5d5f5f);
    line-height: 1.8;
    margin-bottom: 16px;
}
.nt-two-col-image { position: relative; }
.nt-two-col-image img {
    width: 100%;
    border-radius: 20px;
    display: block;
    box-shadow: 0 24px 60px rgba(0,0,0,0.12);
}
.nt-img-badge {
    position: absolute;
    bottom: -18px;
    left: 24px;
    background: #fff;
    border: 1px solid var(--nt-line, #e5e2e1);
    border-radius: 14px;
    padding: 14px 20px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 200px;
}
.nt-img-badge .b-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--nt-green, #075954);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}
.nt-img-badge .b-text {
    font-family: 'Hanken Grotesk', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--nt-ink, #1c1b1b);
    line-height: 1.3;
}
.nt-img-badge .b-text small {
    display: block;
    font-weight: 400;
    color: var(--nt-muted, #5d5f5f);
    font-size: 11px;
}

/* ── ABOUT: Feature Bullets ── */
.nt-feature-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}
.nt-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
    font-family: 'Hanken Grotesk', Arial, sans-serif;
    font-size: 15px;
    color: var(--nt-muted, #5d5f5f);
    line-height: 1.65;
}
.nt-feature-list li .nt-tick {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(6,89,84,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    color: var(--nt-green, #075954);
}
.nt-feature-list li strong {
    display: block;
    font-weight: 600;
    color: var(--nt-ink, #1c1b1b);
    margin-bottom: 3px;
    font-size: 15.5px;
}

/* ── ABOUT: Values Cards ── */
.nt-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.nt-value-card {
    background: #fff;
    border: 1px solid var(--nt-line, #e5e2e1);
    border-radius: 20px;
    padding: 36px 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}
.nt-value-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--nt-green, #075954), #C9A227);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.nt-value-card:hover { transform: translateY(-6px); box-shadow: 0 24px 56px rgba(0,0,0,0.1); }
.nt-value-card:hover::after { opacity: 1; }
.nt-value-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(6,89,84,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--nt-green, #075954);
    transition: background 0.3s ease, color 0.3s ease;
}
.nt-value-card:hover .nt-value-icon { background: var(--nt-green, #075954); color: #fff; }
.nt-value-card h3 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--nt-ink, #1c1b1b);
    margin: 0 0 10px;
}
.nt-value-card p {
    font-family: 'Hanken Grotesk', Arial, sans-serif;
    font-size: 14px;
    color: var(--nt-muted, #5d5f5f);
    line-height: 1.72;
    margin: 0;
}

/* ── ABOUT: Doctors ── */
.nt-doctors-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    max-width: 900px;
    margin: 0 auto;
}
.nt-doctor-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 20px;
    padding: 36px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.3s ease, background 0.3s ease;
}
.nt-doctor-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.12); }
.nt-doctor-card-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.nt-doctor-card img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(201,162,39,0.5);
}
.nt-doctor-card h3 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 18px;
    color: #fff;
    margin: 0 0 4px;
    font-weight: 600;
}
.nt-doctor-card .role {
    font-family: 'Hanken Grotesk', Arial, sans-serif;
    font-size: 11px;
    color: #C9A227;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}
.nt-doctor-card blockquote {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 15px;
    font-style: italic;
    color: rgba(255,255,255,0.72);
    line-height: 1.68;
    margin: 0;
}

/* ── ABOUT: Timeline ── */
.nt-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: relative;
    gap: 32px;
}
.nt-timeline::before {
    content: '';
    position: absolute;
    top: 38px;
    left: calc(16.66% + 16px);
    right: calc(16.66% + 16px);
    height: 2px;
    background: linear-gradient(90deg, var(--nt-green, #075954), #C9A227, var(--nt-green, #075954));
}
.nt-timeline-step { text-align: center; padding: 0 16px; position: relative; }
.nt-timeline-dot {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--nt-green, #075954);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 20px rgba(6,89,84,0.15);
    color: var(--nt-green, #075954);
    transition: background 0.3s ease, color 0.3s ease;
}
.nt-timeline-step:hover .nt-timeline-dot { background: var(--nt-green, #075954); color: #fff; }
.nt-timeline-badge {
    font-family: 'Hanken Grotesk', Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--nt-gold-dark, #B18E21);
    margin-bottom: 8px;
    display: block;
}
.nt-timeline-step h3 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 20px;
    color: var(--nt-ink, #1c1b1b);
    margin: 0 0 10px;
    font-weight: 600;
}
.nt-timeline-step p {
    font-family: 'Hanken Grotesk', Arial, sans-serif;
    font-size: 14px;
    color: var(--nt-muted, #5d5f5f);
    line-height: 1.7;
    margin: 0;
}

/* ── ABOUT: Quiz CTA Banner ── */
.nt-quiz-cta {
    background: linear-gradient(135deg, #075954 0%, #075954 100%);
    padding: 88px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.nt-quiz-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 75% 50%, rgba(201,162,39,0.1) 0%, transparent 55%);
}
.nt-quiz-cta-inner { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; }
/* About page quiz CTA — solid brand color, no gold glow overlay */
.nt-quiz-cta.nt-about-quiz-cta {
    background: #053330;
}
.nt-quiz-cta.nt-about-quiz-cta::before {
    display: none;
}
.nt-quiz-cta h2 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: clamp(28px, 4vw, 42px);
    color: #fff;
    margin: 0 0 16px;
    font-weight: 600;
}
.nt-quiz-cta h2 em { font-style: italic; color: #C9A227; }
.nt-quiz-cta p {
    font-family: 'Hanken Grotesk', Arial, sans-serif;
    font-size: 16px;
    color: rgba(255,255,255,0.68);
    margin: 0 auto 34px;
    line-height: 1.65;
}

/* ── CONTACT: Method Cards ── */
.nt-contact-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}
.nt-contact-method {
    background: #fff;
    border: 1px solid var(--nt-line, #e5e2e1);
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}
.nt-contact-method:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0,0,0,0.1); }
.nt-contact-method-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(6,89,84,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: var(--nt-green, #075954);
    transition: background 0.3s ease, color 0.3s ease;
}
.nt-contact-method:hover .nt-contact-method-icon { background: var(--nt-green, #075954); color: #fff; }
.nt-contact-method h3 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 19px;
    color: var(--nt-ink, #1c1b1b);
    margin: 0 0 8px;
    font-weight: 600;
}
.nt-contact-method p {
    font-family: 'Hanken Grotesk', Arial, sans-serif;
    font-size: 14px;
    color: var(--nt-muted, #5d5f5f);
    line-height: 1.62;
    margin: 0 0 18px;
}
.nt-contact-method a, .nt-contact-method span.contact-link {
    font-family: 'Hanken Grotesk', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--nt-green, #075954) !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease, color 0.2s ease;
}
.nt-contact-method a:hover { gap: 10px !important; color: var(--nt-green-dark, #075954) !important; }

/* ── CONTACT / FAQ: Premium Accordion ── */
.nt-accordion { border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--nt-line, #e5e2e1); }
.nt-accordion-item { border-bottom: 1px solid var(--nt-line, #e5e2e1); }
.nt-accordion-item:last-child { border-bottom: none; }
.nt-accordion-btn {
    width: 100%;
    background: none !important;
    border: none !important;
    padding: 20px 24px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    text-align: left;
    font-family: 'Hanken Grotesk', Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--nt-ink, #1c1b1b);
    transition: color 0.2s ease;
    transform: none !important;
    box-shadow: none !important;
}
.nt-accordion-btn:hover { color: var(--nt-green, #075954); transform: none !important; box-shadow: none !important; background: rgba(6,89,84,0.03) !important; }
.nt-accordion-item.is-open .nt-accordion-btn { color: var(--nt-green, #075954); background: rgba(6,89,84,0.03) !important; }
.nt-accordion-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--nt-cream, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nt-green, #075954);
    transition: background 0.25s ease, transform 0.35s ease;
}
.nt-accordion-item.is-open .nt-accordion-icon { background: var(--nt-green, #075954); color: #fff; transform: rotate(45deg); }
.nt-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
    font-family: 'Hanken Grotesk', Arial, sans-serif;
    font-size: 14.5px;
    color: var(--nt-muted, #5d5f5f);
    line-height: 1.78;
    padding: 0 24px;
}
.nt-accordion-item.is-open .nt-accordion-body { max-height: 500px; padding: 0 24px 22px; }

/* ── CONTACT: Hours + Grid ── */
.nt-contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: start; }
.nt-hours-card {
    background: #fff;
    border: 1px solid var(--nt-line, #e5e2e1);
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 24px;
}
.nt-hours-card h3 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 18px;
    color: var(--nt-ink, #1c1b1b);
    font-weight: 600;
    margin: 0 0 18px;
}
.nt-hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--nt-line, #e5e2e1);
    font-family: 'Hanken Grotesk', Arial, sans-serif;
    font-size: 14px;
}
.nt-hours-row:last-child { border-bottom: none; }
.nt-hours-row span:first-child { color: var(--nt-muted, #5d5f5f); }
.nt-hours-row span:last-child { color: var(--nt-green, #075954); font-weight: 600; }
.nt-faq-sidebar-heading {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 18px;
    color: var(--nt-ink, #1c1b1b);
    font-weight: 600;
    margin: 0 0 4px;
}

/* ── CONTACT: Form Card ── */
.nt-form-card {
    background: #fff;
    border: 1px solid var(--nt-line, #e5e2e1);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.07);
}
.nt-form-card h3 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 24px;
    color: var(--nt-ink, #1c1b1b);
    margin: 0 0 6px;
    font-weight: 600;
}
.nt-form-card .form-sub {
    font-family: 'Hanken Grotesk', Arial, sans-serif;
    font-size: 14px;
    color: var(--nt-muted, #5d5f5f);
    margin: 0 0 28px;
    line-height: 1.55;
}
.nt-form-card .wpcf7 input:not([type=submit]):not([type=checkbox]):not([type=radio]),
.nt-form-card .wpcf7 textarea,
.nt-form-card .wpcf7 select {
    width: 100% !important;
    font-family: 'Hanken Grotesk', Arial, sans-serif !important;
    font-size: 15px !important;
    padding: 13px 16px !important;
    border: 1.5px solid var(--nt-line, #e5e2e1) !important;
    border-radius: 10px !important;
    background: var(--nt-cream, #ffffff) !important;
    color: var(--nt-ink, #1c1b1b) !important;
    transition: border-color 0.2s ease, background 0.2s ease !important;
    box-shadow: none !important;
    transform: none !important;
}
.nt-form-card .wpcf7 input:not([type=submit]):not([type=checkbox]):not([type=radio]):focus,
.nt-form-card .wpcf7 textarea:focus {
    border-color: var(--nt-gold, #E1B335) !important;
    background: #fff !important;
    outline: none !important;
    box-shadow: none !important;
}
.nt-form-card .wpcf7 textarea { min-height: 130px !important; resize: vertical; }
.nt-form-card .wpcf7 input[type=submit] {
    background: var(--nt-green, #075954) !important;
    color: #fff !important;
    font-family: 'Hanken Grotesk', Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    padding: 14px 28px !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    width: 100% !important;
    transition: background 0.2s ease, transform 0.2s ease !important;
}
.nt-form-card .wpcf7 input[type=submit]:hover { background: var(--nt-green-dark, #075954) !important; transform: translateY(-1px) !important; }

/* Checkbox and Radio styling in Contact Form 7 to prevent stacking and align correctly on left */
.wpcf7-form .wpcf7-list-item,
.nt-form-card .wpcf7 .wpcf7-list-item {
    margin: 0 !important;
    display: block !important;
}
.wpcf7-form label:has(input[type=checkbox]),
.wpcf7-form label:has(input[type=radio]),
.wpcf7-form .wpcf7-acceptance label,
.nt-form-card .wpcf7 label:has(input[type=checkbox]),
.nt-form-card .wpcf7 label:has(input[type=radio]) {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: left !important;
    gap: 10px !important;
    font-weight: 500 !important;
    margin: 0 !important;
    cursor: pointer !important;
}
.wpcf7-form .wpcf7-acceptance .wpcf7-list-item-label {
    display: inline-block !important;
    text-align: left !important;
}
.wpcf7-form input[type=checkbox],
.wpcf7-form input[type=radio],
.nt-form-card .wpcf7 input[type=checkbox],
.nt-form-card .wpcf7 input[type=radio] {
    width: 18px !important;
    height: 18px !important;
    margin: 2px 0 0 0 !important;
    flex: none !important;
    display: block !important;
    appearance: auto !important;
    -webkit-appearance: auto !important;
    accent-color: var(--nt-green) !important;
}

.nt-form-card .wpcf7-form p { margin-bottom: 14px; }
.nt-form-card .wpcf7-form label {
    font-family: 'Hanken Grotesk', Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--nt-ink, #1c1b1b);
    display: block;
    margin-bottom: 7px;
}

/* ── CONTACT: Trust Strip ── */
.nt-trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: var(--nt-line, #e5e2e1);
    border: 1px solid var(--nt-line, #e5e2e1);
    border-radius: 16px;
    overflow: hidden;
    margin-top: 0;
}
.nt-trust-item {
    background: #fff;
    padding: 28px 20px;
    text-align: center;
    border-right: 1px solid var(--nt-line, #e5e2e1);
}
.nt-trust-item:last-child { border-right: none; }
.nt-trust-item .ti-icon {
    color: var(--nt-green, #075954);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nt-trust-val {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--nt-green, #075954);
    line-height: 1;
    margin-bottom: 4px;
}
.nt-trust-lab {
    font-family: 'Hanken Grotesk', Arial, sans-serif;
    font-size: 12px;
    color: var(--nt-muted, #5d5f5f);
    line-height: 1.4;
}

/* ── FAQ: Category Tabs ── */
.nt-faq-tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.nt-faq-tab {
    padding: 9px 22px;
    border: 1.5px solid var(--nt-line, #e5e2e1);
    border-radius: 50px;
    background: #fff;
    font-family: 'Hanken Grotesk', Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--nt-muted, #5d5f5f);
    cursor: pointer;
    transition: all 0.2s ease;
}
.nt-faq-tab:hover { border-color: var(--nt-green, #075954); color: var(--nt-green, #075954); background: rgba(6,89,84,0.04); transform: none !important; box-shadow: none !important; }
.nt-faq-tab.active { background: var(--nt-green, #075954); border-color: var(--nt-green, #075954); color: #fff; box-shadow: 0 4px 14px rgba(6,89,84,0.3); }
.nt-faq-tab.active:hover { background: var(--nt-green-dark, #075954) !important; transform: none !important; }
.nt-faq-group { display: none; }
.nt-faq-group.active { display: block; }
.nt-faq-category-label {
    font-family: 'Hanken Grotesk', Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--nt-gold-dark, #B18E21);
    margin-bottom: 4px;
    display: block;
}

/* ── FAQ: Featured Questions ── */
.nt-featured-faqs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}
.nt-featured-faq {
    background: #fff;
    border: 1px solid var(--nt-line, #e5e2e1);
    border-radius: 16px;
    padding: 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.nt-featured-faq:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); }
.nt-featured-faq .fq-emoji { font-size: 30px; margin-bottom: 14px; display: block; }
.nt-featured-faq h3 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 16px;
    color: var(--nt-ink, #1c1b1b);
    font-weight: 600;
    margin: 0 0 8px;
    line-height: 1.4;
}
.nt-featured-faq p {
    font-family: 'Hanken Grotesk', Arial, sans-serif;
    font-size: 13.5px;
    color: var(--nt-muted, #5d5f5f);
    line-height: 1.68;
    margin: 0;
}

/* ── FAQ: Still Have Questions ── */
.bg-deep-forest,
.bg-botanical-green,
.nt-section-dark,
.nt-still-cta,
.science-cta-banner {
    background-color: #043330 !important;
    background: #043330 !important;
}
.nt-still-cta {
    background: #043330 !important;
    background-color: #043330 !important;
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    margin-top: 64px;
    position: relative;
    overflow: hidden;
}
.nt-still-cta::before,
.nt-still-cta::after {
    display: none !important;
}

/* ── Story Banner Original Layout & Gradient Map Overlay ── */
.css-1y52ln4 {
    position: relative !important;
    overflow: hidden !important;
    background-color: #043330 !important;
}
.css-1y52ln4 .hero-bg-wrapper {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}
.css-1y52ln4 .container {
    position: relative !important;
    z-index: 10 !important;
}
.css-1y52ln4 h1,
.css-1y52ln4 .textelement,
.css-1y52ln4 .font-grilliItalic {
    color: #ffffff !important;
}

/* MOBILE ONLY: Center-to-Center Alignment */
@media (max-width: 768px) {
    .css-1y52ln4 {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 320px !important;
        padding: 50px 20px !important;
        text-align: center !important;
    }
    .css-1y52ln4 .container,
    .css-1y52ln4 .css-qcwzwr,
    .css-1y52ln4 .css-1fy2xxy {
        position: relative !important;
        z-index: 10 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .css-1y52ln4 h1,
    .css-1y52ln4 .textelement {
        text-align: center !important;
        font-size: 28px !important;
        line-height: 1.25 !important;
        max-width: 320px !important;
        margin: 0 auto !important;
    }
}
.nt-still-cta h2 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: clamp(22px, 3.5vw, 32px);
    color: #fff;
    margin: 0 0 12px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}
.nt-still-cta h2 em { font-style: italic; color: #C9A227; }
.nt-still-cta p {
    font-family: 'Hanken Grotesk', Arial, sans-serif;
    font-size: 15px;
    color: rgba(255,255,255,0.65);
    margin: 0 auto 28px;
    max-width: 480px;
    line-height: 1.65;
    position: relative;
    z-index: 1;
}
.nt-still-cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .nt-stats-bar { grid-template-columns: repeat(2, 1fr); }
    .nt-stat-item { border-right: none; border-bottom: 1px solid var(--nt-line, #e5e2e1); }
    .nt-stat-item:nth-child(2n) { border-bottom: 1px solid var(--nt-line, #e5e2e1); }
    .nt-stat-item:last-child { border-bottom: none; }
    .nt-values-grid { grid-template-columns: 1fr 1fr; }
    .nt-contact-methods { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
    .nt-featured-faqs { grid-template-columns: 1fr 1fr; }
    .nt-doctors-grid { grid-template-columns: 1fr; max-width: 520px; }
    .nt-trust-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nt-page-hero { padding: 100px 20px 60px; }
    .nt-section { padding: 60px 20px; }
    .nt-section-dark { padding: 60px 20px; }
    .nt-section-white { padding: 60px 20px; }
    .nt-two-col { grid-template-columns: 1fr; gap: 40px; }
    .nt-two-col.img-first .nt-two-col-image { order: -1; }
    .nt-values-grid { grid-template-columns: 1fr; }
    .nt-timeline { grid-template-columns: 1fr; }
    .nt-timeline::before { display: none; }
    .nt-timeline-step { margin-bottom: 28px; padding: 0 8px; }
    .nt-featured-faqs { grid-template-columns: 1fr; }
    .nt-trust-strip { grid-template-columns: 1fr 1fr; }
    .nt-img-badge { left: 10px; bottom: -14px; min-width: 160px; }
    .nt-contact-grid { grid-template-columns: 1fr; }
    .nt-still-cta { padding: 44px 24px; border-radius: 16px; }
    .nt-form-card { padding: 28px 24px; }
    .nt-contact-methods { max-width: 100%; }
}
@media (max-width: 480px) {
    .nt-trust-strip { grid-template-columns: 1fr; }
    .nt-stats-bar { grid-template-columns: 1fr; }
    .nt-stats-bar .nt-stat-item { border-right: none; border-bottom: 1px solid var(--nt-line, #e5e2e1); }
}

/* User requested to hide all notifications/popups on the checkout page */
body.woocommerce-checkout .woocommerce-notices-wrapper,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-message,
body.woocommerce-checkout .woocommerce-error,
body.woocommerce-checkout .woocommerce-NoticeGroup {
    display: none !important;
}

/* Reduce massive padding on Checkout hero section for mobile/tablet */
@media (max-width: 960px) {
    .nutraify-checkout-hero {
        padding: 16px 0 12px !important;
    }
}

/* WCAG 2.2 AA Focus States */
*:focus-visible { outline: 2px solid var(--nt-green, #075954) !important; outline-offset: 2px !important; }


/* Fix text contrast on dark background utility */
.text-nova-base-black { color: #041C1B !important; }
.text-white.text-nova-base-black { color: #041C1B !important; }
.bg-nova-base-solid-20 .text-nova-base-black { color: #041C1B !important; }
.bg-nova-base-solid-20 h4.text-nova-base-black { color: #041C1B !important; }

