/*
 * 901 Wellness - storefront styles.
 * Layout: full-bleed bands (hero, approach, footer) around a 1380px editorial column.
 * Type: Instrument Serif for display, DM Sans for everything read or clicked.
 */

/* Fonts (self-hosted, SIL Open Font License - see assets/fonts) */
@font-face {
	font-family: "Instrument Serif";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/instrument-serif-400.woff2") format("woff2");
}
@font-face {
	font-family: "Instrument Serif";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/instrument-serif-400-italic.woff2") format("woff2");
}
@font-face {
	font-family: "DM Sans";
	font-style: normal;
	font-weight: 100 1000;
	font-display: swap;
	src: url("../fonts/dm-sans-variable.woff2") format("woff2");
}

:root {
	/* Colour */
	--tge-forest: #15221e;      /* announcement, approach band, footer */
	--tge-evergreen: #1f302a;   /* primary buttons */
	--tge-ivory: #f6f4ef;       /* page, header, journal */
	--tge-sand: #efece5;        /* catalogue band */
	--tge-stone: #e7e3da;       /* newsletter, notes */
	--tge-paper: #fbfaf7;       /* panels, toolbar, tiles */
	--tge-champagne: #c8ad7f;   /* accent on dark */
	--tge-gilt: #ab9064;        /* large accent on light */
	--tge-bronze: #7d6844;      /* small accent text on light (AA) */
	--tge-ink: #1d2420;
	--tge-muted: #5d625b;
	--tge-faint: #8a8d86;
	--tge-line: rgba(29, 36, 32, .12);
	--tge-line-dark: rgba(246, 244, 239, .16);
	--tge-placeholder: #e4e1d9;

	/* Type */
	--tge-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
	--tge-sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;

	/* Layout */
	--tge-wrap: min(1380px, calc(100% - 72px));
	--tge-band: clamp(72px, 8vw, 112px);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	color: var(--tge-ink);
	background: var(--tge-ivory);
	font-family: var(--tge-sans);
	font-size: 16px;
	line-height: 1.6;
	font-optical-sizing: auto;
	-webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--tge-gilt); outline-offset: 3px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus, .skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0; padding: .7rem 1rem;
	top: .5rem; left: .5rem; z-index: 1000; background: var(--tge-paper); color: var(--tge-ink);
}
.tge-wrap, .content-width { width: var(--tge-wrap); margin-inline: auto; }
.content-width--narrow { max-width: 820px; }
.alignleft { float: left; margin: .4em 1.5em 1em 0; }
.alignright { float: right; margin: .4em 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, figcaption { color: var(--tge-muted); font-size: .8rem; }

/* Shared type */
.tge-eyebrow, .eyebrow {
	margin: 0 0 14px; color: var(--tge-bronze); font-size: .66rem; font-weight: 600;
	letter-spacing: .2em; text-transform: uppercase;
}
.tge-display {
	margin: 0; font: 400 clamp(2.7rem, 5.2vw, 4.6rem)/.98 var(--tge-serif);
	letter-spacing: -.02em; color: var(--tge-ink);
}
.tge-display em, .tge-accent { font-style: italic; color: var(--tge-gilt); }
.tge-lede { margin: 14px 0 0; max-width: 62ch; color: var(--tge-muted); font-size: .95rem; }

/* Buttons and links */
.tge-button, .button {
	display: inline-flex; align-items: center; justify-content: center; gap: 14px;
	min-height: 52px; padding: 0 26px; border: 1px solid var(--tge-evergreen);
	background: var(--tge-evergreen); color: var(--tge-ivory); text-decoration: none; cursor: pointer;
	font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.tge-button:hover, .button:hover { background: var(--tge-forest); border-color: var(--tge-forest); color: #fff; }
.tge-button--ghost-light { background: transparent; border-color: rgba(246, 244, 239, .7); color: var(--tge-ivory); }
.tge-button--ghost-light:hover { background: var(--tge-ivory); border-color: var(--tge-ivory); color: var(--tge-forest); }
.tge-button svg, .tge-link svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; }
.tge-link {
	display: inline-flex; align-items: center; gap: 10px; padding-bottom: 6px;
	border-bottom: 1px solid currentColor; color: var(--tge-ink); text-decoration: none;
	font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.tge-link--plain { border-bottom: 0; padding-bottom: 0; }
.tge-link:hover { color: var(--tge-evergreen); }
.tge-link--muted { color: var(--tge-muted); border-bottom-color: transparent; }

/* Announcement and header */
.announcement {
	padding: 9px 16px; background: var(--tge-forest); color: rgba(246, 244, 239, .86);
	text-align: center; font-size: .66rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
}
.site-header {
	position: sticky; top: 0; z-index: 50; background: rgba(246, 244, 239, .97);
	border-bottom: 1px solid var(--tge-line); backdrop-filter: blur(12px);
}
.site-header__inner {
	width: var(--tge-wrap); min-height: 82px; margin: 0 auto;
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.site-branding { display: flex; align-items: center; gap: 14px; min-width: 0; text-decoration: none; }
.site-branding .custom-logo { max-width: 220px; max-height: 56px; width: auto; }
.tge-monogram {
	display: grid; place-items: center; width: 46px; height: 46px; flex: none;
	border: 1px solid rgba(29, 36, 32, .22); color: var(--tge-ink);
	font: 400 .95rem/1 var(--tge-serif); letter-spacing: .02em;
}
.tge-wordmark { display: grid; gap: 5px; min-width: 0; }
.tge-wordmark__name {
	color: var(--tge-ink); font: 400 1.08rem/1 var(--tge-serif); letter-spacing: .05em; text-transform: uppercase;
}
.tge-wordmark__tag { color: var(--tge-muted); font-size: .54rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; }
.primary-navigation .menu { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); margin: 0; padding: 0; list-style: none; }
.primary-navigation a { color: var(--tge-ink); font-size: .86rem; text-decoration: none; }
.primary-navigation a:hover, .primary-navigation .current-menu-item > a { text-decoration: underline; }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 26px; }
.header-action {
	display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; border: 0; background: none;
	color: var(--tge-ink); font-size: .84rem; text-decoration: none; cursor: pointer;
}
.header-action svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.tge-cart-count {
	display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px;
	background: var(--tge-evergreen); color: var(--tge-ivory); font-size: .62rem; font-weight: 600; font-variant-numeric: tabular-nums;
}
.tge-cart-count[data-count="0"] { display: none; }
.menu-toggle { display: none; padding: 8px; border: 0; background: none; color: var(--tge-ink); cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.header-search-panel { border-top: 1px solid var(--tge-line); background: var(--tge-paper); }
.header-search-panel form { width: var(--tge-wrap); margin: 0 auto; display: flex; gap: 12px; padding: 16px 0; }
.header-search-panel input[type="search"] {
	flex: 1; min-width: 0; min-height: 48px; padding: 0 16px; border: 1px solid var(--tge-line); background: #fff;
}

/* Hero */
.hero {
	position: relative; display: flex; align-items: center; min-height: clamp(560px, 50vw, 740px);
	overflow: hidden; color: var(--tge-ivory); background-color: #2c3a33;
	background-image:
		linear-gradient(90deg, rgba(12, 22, 18, .82) 0%, rgba(12, 22, 18, .55) 38%, rgba(12, 22, 18, .08) 72%),
		var(--hero-image);
	background-position: center; background-size: cover;
}
.hero__content { width: var(--tge-wrap); margin: 0 auto; padding: 96px 0 84px; }
.hero .tge-eyebrow { color: var(--tge-champagne); margin-bottom: 22px; }
.hero__title {
	margin: 0; max-width: 16ch; font: 400 clamp(3.2rem, 7vw, 7rem)/.92 var(--tge-serif); letter-spacing: -.025em;
}
.hero__title span { display: block; }
.hero__title em { display: block; font-style: italic; color: var(--tge-champagne); }
.hero__copy { max-width: 47ch; margin: 30px 0 34px; color: rgba(246, 244, 239, .9); font-size: 1rem; line-height: 1.65; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__note { max-width: 70ch; margin: 22px 0 0; color: rgba(246, 244, 239, .72); font-size: .72rem; }

/* Trust strip */
.trust-strip { background: var(--tge-paper); border-bottom: 1px solid var(--tge-line); }
.trust-strip__list { display: grid; grid-template-columns: repeat(4, 1fr); width: var(--tge-wrap); margin: 0 auto; padding: 0; list-style: none; }
.trust-strip__item {
	display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 64px; padding: 12px 16px;
	color: var(--tge-ink); font-size: .8rem; text-align: center;
}
.trust-strip__item + .trust-strip__item { border-left: 1px solid var(--tge-line); }
.trust-strip__item svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--tge-faint); stroke-width: 1.4; }

/* Section shells */
.tge-band { padding-block: var(--tge-band); }
.tge-band--sand { background: var(--tge-sand); }
.tge-band--stone { background: var(--tge-stone); }
.tge-band--ivory { background: var(--tge-ivory); }
.tge-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 40px; }
.tge-heading > div { min-width: 0; }

/* Catalogue overview */
.tge-stats { display: flex; gap: 36px; margin: 0; padding: 0 0 6px; list-style: none; }
.tge-stats li { display: grid; gap: 6px; }
.tge-stats strong { font: 400 2rem/1 var(--tge-serif); color: var(--tge-ink); font-variant-numeric: tabular-nums; }
.tge-stats span { color: var(--tge-muted); font-size: .6rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.tge-panel { padding: clamp(24px, 3.4vw, 44px); background: var(--tge-paper); border: 1px solid rgba(29, 36, 32, .06); }
.tge-panel__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 26px; }
.tge-panel__title { margin: 0; font: 400 clamp(1.7rem, 2.6vw, 2.15rem)/1.05 var(--tge-serif); }
.tge-panel__toggle { border: 0; background: none; cursor: pointer; }
.tge-panel__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.tge-cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.tge-cat-grid li[hidden] { display: none; }
.tge-cat {
	display: grid; grid-template-columns: 66px 1fr auto; align-items: center; gap: 14px; height: 100%;
	padding: 10px 14px 10px 10px; background: #fff; border: 1px solid var(--tge-line); text-decoration: none;
	transition: border-color .2s ease;
}
.tge-cat:hover { border-color: rgba(29, 36, 32, .35); }
.tge-cat__thumb { width: 66px; height: 66px; overflow: hidden; background: var(--tge-placeholder); }
.tge-cat__thumb img { width: 100%; height: 100%; object-fit: cover; }
.tge-cat__name { display: block; color: var(--tge-ink); font-size: .84rem; font-weight: 600; line-height: 1.3; }
.tge-cat__count { display: block; margin-top: 3px; color: var(--tge-muted); font-size: .74rem; }
.tge-cat svg { width: 14px; height: 14px; fill: none; stroke: var(--tge-faint); stroke-width: 1.6; }

/* Products */
.tge-products { padding-top: 0; }
.tge-products .tge-heading { margin-bottom: 22px; }
.tge-products .tge-display { font-size: clamp(2.3rem, 3.8vw, 3.4rem); }
.tge-count { margin: 0 0 8px; color: var(--tge-muted); font-size: .78rem; font-variant-numeric: tabular-nums; }
.tge-toolbar {
	display: flex; align-items: stretch; margin-bottom: 26px; background: var(--tge-paper);
	border: 1px solid rgba(29, 36, 32, .06);
}
.tge-toolbar__search { display: flex; flex: 1; align-items: center; gap: 12px; min-width: 0; padding: 0 18px; }
.tge-toolbar__search svg { width: 17px; height: 17px; flex: none; fill: none; stroke: var(--tge-faint); stroke-width: 1.5; }
.tge-toolbar input[type="search"] {
	flex: 1; min-width: 0; min-height: 56px; border: 0; background: transparent; font-size: .86rem; outline-offset: -2px;
}
.tge-toolbar input[type="search"]::placeholder { color: var(--tge-faint); }
.tge-toolbar__field { display: flex; align-items: center; gap: 10px; padding: 0 16px; border-left: 1px solid var(--tge-line); }
.tge-toolbar__field svg { width: 16px; height: 16px; fill: none; stroke: var(--tge-faint); stroke-width: 1.5; }
.tge-toolbar select {
	min-height: 56px; padding: 0 26px 0 4px; border: 0; background: transparent; cursor: pointer;
	font-size: .8rem; font-weight: 500; appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%231d2420' stroke-width='1.4'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 4px center; background-size: 11px;
}
.tge-toolbar__apply { align-self: center; margin-right: 10px; }

.tge-grid, .woocommerce ul.products, .woocommerce-page ul.products {
	display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 22px;
	margin: 0 !important; padding: 0 !important; list-style: none;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.tge-card, .woocommerce ul.products li.product {
	float: none !important; width: auto !important; margin: 0 !important; min-width: 0; list-style: none;
}
.tge-card__media, .woocommerce ul.products li.product a img {
	display: block; width: 100%; aspect-ratio: 1 / 1.1; margin: 0 0 16px !important; overflow: hidden;
	background: var(--tge-placeholder); object-fit: cover;
}
.tge-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tge-card__media:hover img { transform: scale(1.03); }
.tge-brand {
	display: block; margin: 0 0 6px; color: var(--tge-muted); font-size: .6rem; font-weight: 600;
	letter-spacing: .16em; text-transform: uppercase;
}
.tge-card__title, .woocommerce ul.products li.product .woocommerce-loop-product__title {
	margin: 0 0 14px; padding: 0 !important; color: var(--tge-ink); font: 400 1.38rem/1.12 var(--tge-serif) !important;
	letter-spacing: -.005em;
}
.tge-card__title a { text-decoration: none; }
.tge-card__title a:hover { text-decoration: underline; }
.tge-price, .woocommerce ul.products li.product .price {
	display: block; margin: 0 0 6px !important; color: var(--tge-ink) !important; font-size: .9rem !important; font-weight: 600;
	font-variant-numeric: tabular-nums;
}
.tge-price del, .woocommerce ul.products li.product .price del, .woocommerce div.product p.price del {
	margin-right: 8px; color: var(--tge-faint); font-size: .78rem; font-weight: 500; opacity: 1;
}
.tge-price ins, .woocommerce ul.products li.product .price ins, .woocommerce div.product p.price ins { text-decoration: none; }
.tge-from { color: var(--tge-muted); font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.tge-stock { margin: 0; color: var(--tge-muted); font-size: .72rem; }
.tge-stock--outofstock { color: #8a3b2e; }
.tge-badge {
	display: inline-block; margin: 0 0 8px; padding: 3px 8px; border: 1px solid var(--tge-evergreen); color: var(--tge-evergreen);
	font-size: .58rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.woocommerce ul.products li.product .button { margin-top: 12px; min-height: 42px; padding: 0 16px; font-size: .64rem; }
.woocommerce span.onsale {
	top: 12px; left: 12px; right: auto; min-width: 0; min-height: 0; margin: 0; padding: 4px 10px; border-radius: 0;
	background: var(--tge-forest); font-size: .6rem; font-weight: 600; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase;
}

.tge-pagination { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 52px; }
.tge-pagination a, .tge-pagination span.is-disabled {
	display: grid; place-items: center; width: 42px; height: 42px; background: #fff; border: 1px solid var(--tge-line); text-decoration: none;
}
.tge-pagination span.is-disabled { color: var(--tge-faint); background: transparent; }
.tge-pagination svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.tge-pagination__status { font-size: .8rem; font-variant-numeric: tabular-nums; }
.tge-pagination__status strong { font-weight: 600; }
.tge-note {
	margin: 34px 0 0; padding: 14px 20px; background: var(--tge-stone); border-left: 2px solid var(--tge-gilt);
	color: var(--tge-muted); font-size: .76rem;
}
.tge-empty { padding: 34px; background: var(--tge-paper); border: 1px solid var(--tge-line); color: var(--tge-muted); }
.tge-empty p { margin: 0; }
.tge-empty a { color: var(--tge-ink); }

/* Approach band */
.tge-approach { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 540px; background: var(--tge-forest); color: var(--tge-ivory); }
.tge-approach__media { min-height: 320px; background: #22322c center / cover no-repeat; }
.tge-approach__copy { align-self: center; max-width: 560px; padding: clamp(48px, 6vw, 96px) clamp(28px, 5vw, 72px); }
.tge-approach .tge-eyebrow { color: var(--tge-champagne); }
.tge-approach h2 { margin: 0; font: 400 clamp(2.4rem, 3.9vw, 3.5rem)/1.02 var(--tge-serif); letter-spacing: -.02em; }
.tge-approach p:not(.tge-eyebrow) { margin: 22px 0 30px; color: rgba(246, 244, 239, .8); font-size: .92rem; line-height: 1.7; }

/* Journal */
.tge-journal-grid, .journal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.4vw, 48px); }
.tge-story__media, .journal-card__image {
	display: block; aspect-ratio: 1.6; margin-bottom: 20px; overflow: hidden; background: var(--tge-placeholder);
}
.tge-story__media img, .journal-card__image img { width: 100%; height: 100%; object-fit: cover; }
.tge-story__meta, .journal-card__meta { margin: 0 0 10px; color: var(--tge-bronze); font-size: .6rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.tge-story__title, .journal-card h2, .journal-card h3 { margin: 0 0 10px; font: 400 clamp(1.5rem, 2vw, 1.85rem)/1.1 var(--tge-serif); color: var(--tge-ink); }
.tge-story__title a, .journal-card h2 a, .journal-card h3 a { text-decoration: none; }
.tge-story__excerpt, .journal-card p { margin: 0 0 18px; color: var(--tge-muted); font-size: .86rem; }
.tge-story .tge-link--muted { cursor: default; color: var(--tge-ink); border-bottom-color: currentColor; }

/* Newsletter */
.tge-newsletter { text-align: center; }
.tge-newsletter .tge-display { font-size: clamp(2.6rem, 4.8vw, 4.3rem); }
.tge-newsletter p:not(.tge-eyebrow) { max-width: 60ch; margin: 18px auto 30px; color: var(--tge-ink); font-size: .92rem; }
.tge-newsletter .tge-newsletter__fine { margin: 18px auto 0; color: var(--tge-muted); font-size: .72rem; }
.tge-newsletter__form { max-width: 520px; margin: 0 auto; }

/* Footer */
.site-footer { padding: 72px 0 26px; background: var(--tge-forest); color: var(--tge-ivory); }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; width: var(--tge-wrap); margin: 0 auto; padding-bottom: 64px; }
.site-footer .tge-monogram { border-color: rgba(246, 244, 239, .35); color: var(--tge-ivory); }
.site-footer .tge-wordmark__name { color: var(--tge-ivory); }
.site-footer .tge-wordmark__tag { color: rgba(246, 244, 239, .55); }
.footer-brand p { max-width: 36ch; margin: 22px 0 0; color: rgba(246, 244, 239, .78); font-size: .84rem; line-height: 1.65; }
.footer-column h2 { margin: 6px 0 20px; font-family: var(--tge-sans); line-height: 1.4; color: var(--tge-champagne); font-size: .62rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.footer-column ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.footer-column a { color: rgba(246, 244, 239, .9); font-size: .82rem; text-decoration: none; }
.footer-column a:hover { text-decoration: underline; }
.footer-pending { color: rgba(246, 244, 239, .62); font-size: .82rem; }
.footer-bottom {
	display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; width: var(--tge-wrap); margin: 0 auto; padding-top: 22px;
	border-top: 1px solid var(--tge-line-dark); color: rgba(246, 244, 239, .62); font-size: .72rem;
}
.footer-bottom p { margin: 0; }

/* Inner pages */
.site-main { min-height: 45vh; padding-block: 72px; }
.woocommerce-main { padding-block: 56px 96px; }
.page-header { margin-bottom: 36px; }
.page-header h1 { margin: 0; color: var(--tge-ink); font: 400 clamp(2.6rem, 6vw, 4.6rem)/1 var(--tge-serif); letter-spacing: -.02em; }
.archive-description { margin-top: 12px; color: var(--tge-muted); }
.entry-content { max-width: 760px; margin-inline: auto; }
.entry-content h2, .entry-content h3 { font-family: var(--tge-serif); font-weight: 400; line-height: 1.1; }
.entry-content h2 { font-size: 2.2rem; }
.entry-content h3 { font-size: 1.6rem; }
.article-featured-image { margin: 28px 0; }
.navigation.pagination, .post-navigation, .woocommerce nav.woocommerce-pagination { margin-top: 48px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.page-numbers { padding: 6px 10px; text-decoration: none; }
.page-numbers.current { border-bottom: 2px solid var(--tge-evergreen); }
.search-form { display: flex; gap: 10px; margin-top: 18px; }
.search-form .search-field { flex: 1; min-height: 48px; padding: 0 14px; border: 1px solid var(--tge-line); background: #fff; }
.search-form .search-submit { min-height: 48px; padding: 0 20px; border: 1px solid var(--tge-evergreen); background: var(--tge-evergreen); color: #fff; cursor: pointer; }

/* WooCommerce pages */
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce button.button.alt, .woocommerce a.button.alt {
	min-height: 48px; padding: 0 22px; border: 1px solid var(--tge-evergreen); border-radius: 0;
	background: var(--tge-evergreen); color: #fff; font-size: .7rem; font-weight: 600; letter-spacing: .14em; line-height: 46px; text-transform: uppercase;
}
.woocommerce .button:hover, .woocommerce button.button:hover, .woocommerce a.button:hover, .woocommerce button.button.alt:hover, .woocommerce a.button.alt:hover {
	background: var(--tge-forest); border-color: var(--tge-forest); color: #fff;
}
.woocommerce .woocommerce-breadcrumb { margin-bottom: 26px; color: var(--tge-muted); font-size: .76rem; }
.woocommerce .woocommerce-result-count { color: var(--tge-muted); font-size: .8rem; }
.woocommerce .woocommerce-ordering select, .woocommerce .quantity .qty, .woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea, .woocommerce form .form-row select, .woocommerce div.product form.cart .variations select {
	min-height: 46px; padding: 8px 12px; border: 1px solid #c5c2b8; border-radius: 0; background: #fff;
}
.woocommerce div.product .product_title { margin-bottom: 12px; color: var(--tge-ink); font: 400 clamp(2.3rem, 4.6vw, 3.8rem)/1.02 var(--tge-serif); letter-spacing: -.02em; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--tge-ink); font-size: 1.2rem; font-weight: 600; }
.woocommerce div.product div.images img { background: var(--tge-placeholder); }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; border-bottom: 1px solid var(--tge-line); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { margin: 0 24px 0 0; padding: 0; border: 0; border-radius: 0; background: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 12px 0; color: var(--tge-muted); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--tge-ink); box-shadow: inset 0 -2px 0 var(--tge-ink); }
.woocommerce-Tabs-panel--description { max-width: 860px; }
.woocommerce-Tabs-panel--description h3 { margin: 2em 0 .6em; font: 400 1.5rem/1.15 var(--tge-serif); }
.woocommerce-Tabs-panel--description ul { padding-left: 1.2em; }
.woocommerce-Tabs-panel--description li { margin-bottom: .35em; }
.woocommerce-Tabs-panel--description table { display: block; max-width: 100%; overflow-x: auto; }
.woocommerce table.shop_table { border-radius: 0; border-color: var(--tge-line); }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-color: var(--tge-line); }
.woocommerce .woocommerce-message, .woocommerce .woocommerce-info { border-top-color: var(--tge-evergreen); background: var(--tge-paper); }
.woocommerce .woocommerce-message::before, .woocommerce .woocommerce-info::before { color: var(--tge-evergreen); }
.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register { border-color: var(--tge-line); border-radius: 0; }

/* Tablet */
@media (max-width: 1100px) {
	.tge-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tge-grid, .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.footer-main { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
	:root { --tge-wrap: calc(100% - 40px); }
	.site-header__inner { grid-template-columns: auto 1fr auto; gap: 14px; min-height: 70px; }
	.menu-toggle { display: block; }
	.primary-navigation {
		display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 8px 20px 18px;
		background: var(--tge-ivory); border-bottom: 1px solid var(--tge-line);
	}
	.primary-navigation.is-open { display: block; }
	.primary-navigation .menu { display: grid; gap: 0; }
	.primary-navigation li { border-bottom: 1px solid var(--tge-line); }
	.primary-navigation a { display: block; padding: 14px 0; font-size: .95rem; }
	.header-action__label { display: none; }
	.header-actions { gap: 16px; }
	.trust-strip__list { grid-template-columns: 1fr 1fr; }
	.trust-strip__item { justify-content: flex-start; text-align: left; }
	.trust-strip__item:nth-child(3) { border-left: 0; }
	.trust-strip__item:nth-child(n+3) { border-top: 1px solid var(--tge-line); }
	.tge-heading { flex-direction: column; align-items: flex-start; }
	.tge-approach { grid-template-columns: 1fr; }
	.tge-approach__media { min-height: 300px; }
	.tge-journal-grid, .journal-grid { grid-template-columns: 1fr; gap: 44px; }
}
/* Phone */
@media (max-width: 640px) {
	.tge-wordmark__tag { display: none; }
	.tge-monogram { width: 40px; height: 40px; }
	.tge-wordmark__name { font-size: .98rem; }
	.hero { min-height: 600px; background-position: 62% center; }
	.hero__content { padding: 72px 0 60px; }
	.hero__actions .tge-button { flex: 1 1 100%; }
	.trust-strip__list { grid-template-columns: 1fr; }
	.trust-strip__item { min-height: 52px; border-left: 0 !important; }
	.trust-strip__item + .trust-strip__item { border-top: 1px solid var(--tge-line); }
	.tge-stats { gap: 26px; }
	.tge-panel__head { flex-direction: column; align-items: flex-start; }
	.tge-cat-grid { grid-template-columns: 1fr; }
	.tge-toolbar { flex-wrap: wrap; }
	.tge-toolbar__search { flex: 1 1 100%; border-bottom: 1px solid var(--tge-line); }
	.tge-toolbar__field { flex: 1 1 50%; min-width: 0; border-left: 0; padding: 0 14px; }
	.tge-toolbar__field + .tge-toolbar__field { border-left: 1px solid var(--tge-line); }
	.tge-toolbar select { width: 100%; min-width: 0; }
	.tge-grid, .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; }
	.tge-card__title, .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 1.12rem !important; }
	.footer-main { grid-template-columns: 1fr; gap: 34px; }
	.footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
