/* ===== Global Base ===== */
:root {
	color-scheme: light;
	--color-ink: #111111;
	--color-ink-soft: #3d3d3d;
	--color-muted: #707070;
	--color-border: #e9e9e9;
	--color-border-strong: #d7d7d7;
	--color-bg: #ffffff;
	--color-bg-soft: #f7f7f5;
	--color-card: #ffffff;
	--color-inverse: #ffffff;
	--color-accent: #111111;
	--color-danger: #d64045;
	--color-success: #1f8f5f;
	--color-warning: #a97818;
	--shadow-xs: 0 1px 2px rgba(17, 17, 17, 0.06);
	--shadow-sm: 0 8px 22px rgba(17, 17, 17, 0.08);
	--shadow-md: 0 18px 50px rgba(17, 17, 17, 0.12);
	--shadow-panel: 0 24px 70px rgba(17, 17, 17, 0.16);
	--radius-xs: 8px;
	--radius-sm: 12px;
	--radius-md: 18px;
	--radius-lg: 28px;
	--radius-pill: 999px;
	--container-width: 1400px;
	--container-padding: clamp(16px, 4vw, 32px);
	--header-height: 82px;
	--header-height-live: var(--header-height);
	--header-tier-gap: 0px;
	--header-padding-top: 12px;
	--header-padding-bottom: 6px;
	--header-menu-min-height: 0px;
	--header-menu-offset: 0px;
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
	--duration-fast: 160ms;
	--duration-base: 240ms;
	--duration-slow: 420ms;
	--tap-size: 44px;
	--header-surface: rgba(255, 255, 255, 0.96);
	--header-surface-solid: #ffffff;
	--header-divider: rgba(17, 17, 17, 0.08);
	--font-body: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--font-ui: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--font-display: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--font-brand: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--font-weight-light: 300;
	--font-weight-regular: 400;
	--font-weight-medium: 500;
	--font-weight-semibold: 600;
	--font-weight-bold: 700;
}

/* Global font lock: every page and every shell-mounted component inherits the same typography source. */
html {
	font-family: var(--font-body);
	font-weight: var(--font-weight-regular);
}

:where(body, main, section, article, aside, header, footer, nav, div, p, span, a, button, input, textarea, select, option, optgroup, label, small, strong, em, table, th, td, li, summary, dialog) {
	font-family: inherit;
}

:where(*, *::before, *::after) {
	font-family: inherit;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

* {
	margin: 0;
	padding: 0;
}

html {
	width: 100%;
	min-width: 320px;
	min-height: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-height-live, var(--header-height)) + 16px);
	scrollbar-gutter: stable;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	width: 100%;
	min-width: 320px;
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	font-family: inherit;
	font-weight: var(--font-weight-regular);
	line-height: 1.5;
	background: var(--color-bg);
	color: var(--color-ink);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body.cart-open,
body.menu-open {
	overflow: hidden;
	touch-action: none;
}

html,
body {
	max-width: 100%;
}

img,
svg,
video,
canvas,
iframe {
	max-width: 100%;
	height: auto;
}

iframe {
	border: 0;
}

body,
main,
section,
article,
header,
footer,
nav,
div,
form {
	min-width: 0;
}

img {
	display: block;
}

button,
input,
textarea,
select {
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

button {
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}

button:disabled {
	cursor: not-allowed;
	opacity: 0.58;
}

a {
	color: inherit;
	text-decoration: none;
}

ul,
ol {
	list-style: none;
}

::selection {
	background: var(--color-ink);
	color: var(--color-inverse);
}

.container {
	width: 100%;
	max-width: var(--container-width);
	margin-inline: auto;
	padding-left: max(var(--container-padding), env(safe-area-inset-left));
	padding-right: max(var(--container-padding), env(safe-area-inset-right));
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 9999;
	padding: 10px 16px;
	border-radius: var(--radius-pill);
	background: var(--color-ink);
	color: var(--color-inverse);
	font-size: 0.88rem;
	font-weight: var(--font-weight-semibold);
	transform: translateY(-140%);
	transition: transform var(--duration-base) var(--ease-smooth);
}

.skip-link:focus {
	transform: translateY(0);
}

:focus-visible {
	outline: 2px solid var(--color-ink);
	outline-offset: 3px;
}

h1,
h2,
h3,
.heading-display,
.font-display {
	font-family: var(--font-display);
	font-weight: var(--font-weight-semibold);
	letter-spacing: -0.045em;
}

button,
input,
textarea,
select,
.btn,
.header-menu,
.product-category,
.product-price,
.footer-links,
.footer-contact {
	font-family: var(--font-ui);
}

.text-balance {
	text-wrap: balance;
}

main {
	width: 100%;
	flex: 1 0 auto;
	isolation: isolate;
}

body > main {
	flex: 1 0 auto;
}

/* Global shell slots are the only approved mount points for shared account, header, cart, and footer UI. */
.site-shell-slot {
	display: block;
	flex: 0 0 auto;
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
}

.site-shell-slot--account,
.site-shell-slot--header,
.site-shell-slot--cart {
	display: contents;
}

.site-shell-slot--footer {
	margin-top: auto;
}


@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}


@supports (overflow: clip) {
	body {
		overflow-x: clip;
	}

	body.cart-open,
	body.menu-open {
		overflow: clip;
	}
}
