/* =========================================================================
   The Naked Soul — shared header, footer and primitives for every page except the homepage.
   Generated from the matching sections of home.css (same rules, scoped to
   body.tns-chrome — every public page except the homepage, from v1.3.0) so
   the homepage stylesheet stays untouched. When the
   header or footer rules in home.css change, regenerate this file.
   ========================================================================= */
/* Base */
:is(.tns-article, .tns-archive-page) *, :is(.tns-article, .tns-archive-page) *::before, :is(.tns-article, .tns-archive-page) *::after { box-sizing: border-box; }
:is(.tns-article, .tns-archive-page) a { color: inherit; }
:is(.tns-article, .tns-archive-page) :focus-visible { outline: 2px solid var(--tns-ink); outline-offset: 3px; }
:is(.tns-article, .tns-archive-page) .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;
}
/* Header, footer and drawer on every page (v1.3.0): they carry their own
   type, colour and box model, so pages still in Kadence's styling (store,
   informational pages) show the same chrome as the redesigned pages. */
.tns-chrome :where(.tns-header, .tns-footer),
.tns-chrome :where(.tns-header, .tns-footer) :is(*, *::before, *::after) { box-sizing: border-box; }
.tns-chrome :where(.tns-header, .tns-footer) {
	font-family: var(--tns-font-sans);
	color: var(--tns-ink);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	line-height: 1.5;
}
.tns-chrome :where(.tns-header, .tns-footer) a { color: inherit; }
.tns-chrome :where(.tns-header, .tns-footer) :focus-visible { outline: 2px solid var(--tns-ink); outline-offset: 3px; }
.tns-chrome :where(.tns-header, .tns-footer) .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;
}
/* ---------- Primitives ---------- */
.tns-chrome .tns-wrap {
	width: 100%;
	max-width: var(--tns-max);
	margin-inline: auto;
	padding-inline: var(--tns-gutter);
}
.tns-chrome .tns-section { padding-block: var(--tns-section-y); }
.tns-chrome .tns-display {
	font-family: var(--tns-font-sans);
	font-stretch: 125%;
	font-weight: 500;
	letter-spacing: var(--tns-track-tight);
	text-transform: uppercase;
}
.tns-chrome .tns-serif {
	font-family: var(--tns-font-serif);
	font-style: italic;
	font-weight: 400;
	letter-spacing: var(--tns-track-serif);
	text-transform: none;
}
.tns-chrome .tns-eyebrow {
	font-family: var(--tns-font-sans);
	font-size: var(--tns-fs-eyebrow);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: var(--tns-track-caps);
	line-height: 1.4;
}
.tns-chrome .tns-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	border: var(--tns-border);
	border-radius: var(--tns-radius-pill);
	padding: 0.25rem 0.75rem;
	font-family: var(--tns-font-sans);
	font-size: var(--tns-fs-micro);
	font-weight: 500;
	line-height: 1.4;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--tns-ink);
	background: transparent;
	white-space: nowrap;
}
.tns-chrome button.tns-pill--btn {
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
	box-shadow: none;
	min-height: 32px;
}
.tns-chrome button.tns-pill--btn:hover { background: var(--tns-surface); color: var(--tns-ink); }
.tns-chrome button.tns-pill--btn.is-active { background: var(--tns-ink); color: var(--tns-inverse); }

.tns-chrome .tns-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	background: var(--tns-ink);
	color: var(--tns-inverse);
	border: var(--tns-border);
	border-radius: var(--tns-radius-pill);
	padding: 0.75rem 1.5rem;
	font-size: var(--tns-fs-eyebrow);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: var(--tns-track-caps);
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.tns-chrome .tns-btn:hover,
.tns-chrome .tns-btn:focus-visible { background: transparent; color: var(--tns-ink); }
.tns-chrome .tns-btn--sm { padding: 0.5rem 1rem; }

.tns-chrome .tns-h2 {
	margin: 0;
	font-size: var(--tns-fs-h3);
	line-height: 1;
	color: var(--tns-ink);
	font-weight: 500;
}

/* ---------- Header ---------- */
.tns-chrome .tns-header {
	/* v1.3.0: sticky on every page, below the WordPress admin bar when shown. */
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 50;
	background: var(--tns-bg);
	border-bottom: var(--tns-border);
}
.tns-chrome .tns-header__bar {
	display: flex;
	align-items: center;
	gap: 32px;
	min-height: 76px;
	padding-block: 12px;
}
.tns-chrome .tns-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--tns-ink);
	flex-shrink: 0;
}
.tns-chrome .tns-brand .tns-logo__img {
	width: 48px;
	height: 48px;
	object-fit: contain;
	display: block;
}
.tns-chrome .tns-brand__name {
	font-size: 1rem;
	font-weight: 600;
	font-stretch: 112%;
	letter-spacing: -0.01em;
	white-space: nowrap;
}
.tns-chrome .tns-nav { margin-left: auto; flex-shrink: 0; }
.tns-chrome .tns-nav__list {
	display: flex;
	align-items: center;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.tns-chrome .tns-nav__item { position: relative; }
.tns-chrome .tns-nav__item > a {
	display: inline-block;
	padding: 6px 0;
	font-size: var(--tns-fs-small);
	font-weight: 500;
	color: var(--tns-ink);
	text-decoration: none;
	white-space: nowrap;
}
.tns-chrome .tns-nav__list > .tns-nav__item > a::after { content: "."; }
.tns-chrome .tns-nav__item > a:hover,
.tns-chrome .tns-nav__item.is-current > a { text-decoration: underline; text-underline-offset: 4px; }
.tns-chrome .tns-nav__sub {
	position: absolute;
	top: 100%;
	left: -16px;
	min-width: 200px;
	list-style: none;
	margin: 0;
	padding: 8px 0;
	background: var(--tns-bg);
	border: var(--tns-border);
	opacity: 0;
	visibility: hidden;
	transform: translateY(4px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.tns-chrome .tns-nav__item:hover > .tns-nav__sub,
.tns-chrome .tns-nav__item:focus-within > .tns-nav__sub { opacity: 1; visibility: visible; transform: none; }
.tns-chrome .tns-nav__sub a { display: block; padding: 8px 16px; font-size: var(--tns-fs-small); }
.tns-chrome .tns-nav__sub a::after { content: none; }
.tns-chrome .tns-header__cta { flex-shrink: 0; }
.tns-chrome .tns-header__bar { flex-wrap: nowrap; }
/* Set by home.js when the full nav would not fit on one line */
.tns-chrome .tns-header.is-compact .tns-nav,
.tns-chrome .tns-header.is-compact .tns-header__cta { display: none; }
.tns-chrome .tns-header.is-compact .tns-burger { display: inline-block; }

.tns-chrome .tns-burger {
	display: none;
	margin-left: auto;
	width: 44px;
	height: 44px;
	padding: 0;
	border: var(--tns-border);
	border-radius: var(--tns-radius-pill);
	background: transparent;
	cursor: pointer;
	position: relative;
	box-shadow: none;
}
.tns-chrome .tns-burger span {
	position: absolute;
	left: 13px;
	right: 13px;
	height: 1.5px;
	background: var(--tns-ink);
}
.tns-chrome .tns-burger span:first-child { top: 18px; }
.tns-chrome .tns-burger span:last-child { top: 24px; }

/* Drawer (mobile navigation) */
.tns-chrome .tns-drawer {
	position: fixed;
	inset: 0;
	z-index: 1000;
	background: var(--tns-bg);
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	padding-bottom: 32px;
}
.tns-chrome .tns-drawer[hidden] { display: none; }
.tns-chrome .tns-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 76px;
	border-bottom: var(--tns-border);
}
.tns-chrome .tns-drawer__close {
	background: transparent;
	color: var(--tns-ink);
	border: var(--tns-border);
	border-radius: var(--tns-radius-pill);
	padding: 0.5rem 1rem;
	font-size: var(--tns-fs-eyebrow);
	font-weight: 500;
	letter-spacing: var(--tns-track-caps);
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: none;
	min-height: 40px;
}
.tns-chrome .tns-drawer__list { list-style: none; margin: 0; padding: 8px 0 24px; }
.tns-chrome .tns-drawer__list > .tns-drawer__item { border-bottom: 1px solid var(--tns-line-soft); }
.tns-chrome .tns-drawer__item > a {
	display: block;
	padding: 14px 0;
	font-size: clamp(1.25rem, 6vw, 1.75rem);
	font-weight: 500;
	font-stretch: 125%;
	letter-spacing: var(--tns-track-tight);
	text-transform: uppercase;
	text-decoration: none;
	color: var(--tns-ink);
	line-height: 1.1;
}
.tns-chrome .tns-drawer__item.is-current > a { font-family: var(--tns-font-serif); font-style: italic; text-transform: none; font-stretch: normal; }
.tns-chrome .tns-drawer__sub { list-style: none; margin: -6px 0 12px; padding: 0 0 0 16px; }
.tns-chrome .tns-drawer__sub a { font-size: 0.95rem; padding: 6px 0; font-stretch: 100%; text-transform: none; letter-spacing: 0; }
.tns-chrome .tns-drawer__cta { margin-top: 8px; }
.tns-chrome .tns-drawer__foot { margin-top: auto; padding-top: 32px; font-size: 1.5rem; color: var(--tns-muted); }
body.tns-chrome.tns-drawer-open { overflow: hidden; }

/* ---------- Footer ---------- */
.tns-chrome .tns-footer {
	background: var(--tns-bg);
	color: var(--tns-ink);
	border-top: var(--tns-border);
	font-size: var(--tns-fs-small);
}
.tns-chrome .tns-footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	max-width: var(--tns-max);
	margin-inline: auto;
}
.tns-chrome .tns-footer__cell { padding: 24px; border-bottom: 1px solid var(--tns-line-soft); }
.tns-chrome .tns-footer__cell:last-child { border-bottom: 0; }
.tns-chrome .tns-footer__label { margin: 0 0 14px; font-size: var(--tns-fs-eyebrow); color: var(--tns-muted); font-weight: 500; }
.tns-chrome .tns-footer__desc { margin: 14px 0 0; color: var(--tns-muted); line-height: 1.6; max-width: 34ch; }
.tns-chrome .tns-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tns-chrome .tns-footer__links a { text-decoration: none; }
.tns-chrome .tns-footer__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tns-chrome .tns-footer__note { margin: 0 0 12px; color: var(--tns-muted); line-height: 1.6; }
.tns-chrome .tns-news {
	display: flex;
	align-items: center;
	border-bottom: var(--tns-border);
	opacity: 0.55;
}
.tns-chrome .tns-news input {
	flex: 1;
	min-width: 0;
	border: 0 !important;
	background: transparent !important;
	padding: 8px 0 !important;
	font: inherit;
	color: var(--tns-ink);
	box-shadow: none !important;
	border-radius: 0 !important;
	cursor: not-allowed;
}
.tns-chrome .tns-news button {
	border: 0;
	background: transparent;
	color: var(--tns-ink);
	font-size: 1rem;
	padding: 8px 0 8px 12px;
	cursor: not-allowed;
	box-shadow: none;
}
.tns-chrome .tns-footer__status { margin: 10px 0 0; color: var(--tns-muted); }
.tns-chrome .tns-footer__bar {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px;
	border-top: var(--tns-border);
	padding: 16px max(24px, calc((100% - var(--tns-max)) / 2 + 24px));
	font-size: 0.65rem;
	text-transform: uppercase;
	letter-spacing: var(--tns-track-caps);
}
@media (min-width: 768px) {
	.tns-chrome .tns-footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr 0.8fr; }
	.tns-chrome .tns-footer__cell { border-bottom: 0; border-right: var(--tns-border); padding: 32px 24px; }
	.tns-chrome .tns-footer__cell:last-child { border-right: 0; }
}


/* Responsive (header) */
@media (max-width: 1150px) {
	.tns-chrome .tns-nav__list { gap: 18px; }
	.tns-chrome .tns-header__bar { gap: 20px; }
}
@media (max-width: 1080px) {
	.tns-chrome .tns-nav,
	.tns-chrome .tns-header__cta { display: none; }
	.tns-chrome .tns-burger { display: inline-block; }
}
@media (max-width: 639px) {
	.tns-chrome .tns-brand .tns-logo__img { width: 40px; height: 40px; }
}
@media (max-width: 359px) {
	.tns-chrome .tns-wrap { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.tns-chrome .tns-nav__sub { transition: none !important; }
}
/* Keep the footer's last line clear of the floating chat button, and hide the
   button while the site menu is open (its own settings are untouched). */
@media (max-width: 1339px) {
	.tns-chrome .tns-footer { padding-bottom: 76px; }
}
body.tns-chrome.tns-drawer-open #chatbase-bubble-button,
body.tns-chrome.tns-drawer-open #chatbase-message-bubbles { visibility: hidden !important; }

/* ---------- v1.3.0: sticky header, cart link ---------- */
/* Kadence styles #masthead with a white background; keep the intended bone. */
/* Kadence styles #masthead (position: relative, white background) with an ID
   selector, so the sticky rules are repeated here at matching strength. */
.tns-chrome #masthead.tns-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 50;
	background: var(--tns-bg);
}
/* Room for the cart link: the full menu keeps fitting down to 1081px. */
@media (max-width: 1240px) {
	.tns-chrome .tns-nav__list { gap: 18px; }
	.tns-chrome .tns-header__bar { gap: 20px; }
}
/* In-page links (#soul-trip, comment links) land below the sticky header. */
html:has(body.tns-chrome) { scroll-padding-top: calc(var(--wp-admin--admin-bar--height, 0px) + 92px); }

.tns-chrome .tns-cart {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border: var(--tns-border);
	border-radius: var(--tns-radius-pill);
	color: var(--tns-ink);
	background: transparent;
	text-decoration: none;
	transition: background-color 0.2s ease;
}
.tns-chrome .tns-cart:hover,
.tns-chrome .tns-cart:focus-visible { background: var(--tns-surface); }
.tns-chrome .tns-cart svg { width: 18px; height: 18px; display: block; }
.tns-chrome .tns-cart__count {
	position: absolute;
	top: -5px;
	right: -5px;
	min-width: 19px;
	height: 19px;
	padding: 0 5px;
	border-radius: var(--tns-radius-pill);
	background: var(--tns-ink);
	color: var(--tns-inverse);
	font-family: var(--tns-font-sans);
	font-size: 10px;
	font-weight: 600;
	line-height: 19px;
	text-align: center;
	letter-spacing: 0;
}
.tns-chrome .tns-cart__count[hidden] { display: none; }
/* When the menu collapses to the button, the cart sits beside it on the right. */
.tns-chrome .tns-header.is-compact .tns-cart { margin-left: auto; }
.tns-chrome .tns-header.is-compact .tns-burger { margin-left: 10px; }
@media (max-width: 1080px) {
	.tns-chrome .tns-cart { margin-left: auto; }
	.tns-chrome .tns-burger { margin-left: 10px; }
}

/* The open menu starts below the WordPress admin bar (logged-in views only). */
.tns-chrome .tns-drawer { top: var(--wp-admin--admin-bar--height, 0px); }

/* v1.4.1 — narrow phones: keep the menu button full size (44px). Below 375px
   the brand + cart + button did not fit, and the button was the only item
   allowed to shrink (13px wide at 320px). */
.tns-chrome .tns-burger { flex-shrink: 0; }
@media (max-width: 374px) {
	.tns-chrome .tns-header__bar { gap: 12px; }
	.tns-chrome .tns-brand { flex-shrink: 1; min-width: 0; gap: 10px; }
	.tns-chrome .tns-brand__name { font-size: 0.875rem; overflow: hidden; text-overflow: ellipsis; }
	.tns-chrome .tns-header.is-compact .tns-burger,
	.tns-chrome .tns-burger { margin-left: 8px; }
}

/* v1.4.2 — hide Kadence's "above" page-title banner only on Cart, Checkout,
   My Account (body.tns-shop--utility) and the Privacy Policy
   (body.privacy-policy.tns-page). The redesigned H1 inside the content stays. */
body.tns-shop--utility .entry-hero.page-hero-section,
body.privacy-policy.tns-page .entry-hero.page-hero-section { display: none !important; }

/* v1.4.3 — same fix for the About Us page only (page ID 31). */
body.page-id-31.tns-page .entry-hero.page-hero-section { display: none !important; }
