/*
 * Base styles used on every page: brand fonts and background for the whole
 * site (including Kadence's own pages), page width, buttons, eyebrows,
 * focus rings, reduced motion. Loaded after tokens.css.
 */

/* Kadence reads these variables for its own text, so shop pages, cart and
 * account pages use the self-hosted brand fonts too. */
:root {
	--global-body-font-family: var(--font-body);
	--global-heading-font-family: var(--font-heading);
	--global-primary-nav-font-family: var(--font-body);
}

/* "hidden" always wins, even over a class that sets display (as in the design). */
[hidden] {
	display: none !important;
}

body {
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16.5px;
	line-height: 1.6;
}

/* Kadence's content wrapper sits between our header and footer. */
body #inner-wrap {
	overflow: visible;
}

.mn-wrap {
	max-width: 1280px;
	margin: 0 auto;
	padding-inline: 24px;
}

.mn-h,
.mn-section h2,
.mn-section h3 {
	margin: 0;
	font-family: var(--font-heading);
	font-weight: 600;
	line-height: 1.08;
	color: var(--ink);
}

.mn-eyebrow {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--lime-deep);
}

/* Buttons: colour sweeps in from the left on hover. */
.mn-btn {
	position: relative;
	isolation: isolate;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 50px;
	padding: 13px 28px;
	overflow: hidden;
	border: 0;
	border-radius: 999px;
	font: 600 16px/1.2 var(--font-body);
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.3s var(--ease-spring), color 0.35s var(--ease);
}
.mn-btn::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	transform: translateX(-101%);
	transition: transform 0.45s var(--ease);
}
.mn-btn:hover {
	transform: translateY(-2px);
}
.mn-btn:hover::before,
.mn-btn:focus-visible::before {
	transform: none;
}
.mn-btn .mn-arr {
	transition: transform 0.35s var(--ease);
}
.mn-btn:hover .mn-arr {
	transform: translateX(4px);
}
.mn-btn--lime {
	background: var(--lime);
	color: var(--ink);
}
.mn-btn--lime::before {
	background: var(--ink);
}
.mn-btn--lime:hover,
.mn-btn--lime:focus-visible {
	color: var(--lime);
}
.mn-btn--ghost {
	background: var(--white);
	color: var(--ink);
	box-shadow: inset 0 0 0 1.5px var(--sage-2);
}
.mn-btn--ghost::before {
	background: var(--lime-soft);
}

/* One visible focus ring for everything we build. */
.mn-top a:focus-visible,
.mn-top button:focus-visible,
.mn-footer a:focus-visible,
.mn-section a:focus-visible,
.mn-section button:focus-visible,
.mn-btn:focus-visible {
	outline: 3px solid var(--ink);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.mn-btn,
	.mn-btn::before,
	.mn-btn .mn-arr {
		transition: none;
	}
}

/* ---------- Pre-launch mode (Minali settings → General) ---------- */

/* "First drop coming soon" on empty listings. */
.mn-soon {
	max-width: 560px;
	margin: 32px auto;
	padding: 32px 24px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: var(--white);
	text-align: center;
}
.mn-soon h2 {
	margin: 0 0 8px;
	color: var(--ink);
	font: 600 clamp(26px, 4vw, 34px)/1.15 var(--font-heading);
}
.mn-soon p {
	margin: 0 0 20px;
	color: var(--muted);
}

/* The note on the homepage after being sent away from the cart or checkout. */
.mn-soon-note {
	padding: 12px 16px;
	background: var(--lime-soft);
	color: var(--ink);
	text-align: center;
}
.mn-soon-note p {
	margin: 0;
}
.mn-soon-note a {
	color: var(--lime-deep);
	font-weight: 600;
}

/* "Be first to know when we open." on the register form. */
.mn-soon-reg {
	color: var(--lime-deep);
	font-weight: 500;
}
