/* =========================================================================
   Hippevlaggenlijntjes headless theme: layer 1 / 6, global.
   Tokens are copied verbatim from the concept (assets/base.css :root).

   z-index scale (one table, every overlay declares against it):
     header .............................. 60   (concept)
     mobile nav ........................... 80   (concept)
     product mobile bar ................... 55   (concept)
     sub-menu ............................. 120
     search backdrop ...................... 9998
     search panel ......................... 10000
     header while search is open .......... 10001
     side cart (drawer) ................... 10100
     lightbox ............................. 10200
     toast ................................ 11000
   ====================================================================== */

:root {
	--hv-ink: #1e1a16;
	--hv-ink-soft: #4a423a;
	--hv-muted: #8a8078;
	--hv-line: #ece5dc;
	--hv-line-strong: #dbd1c5;
	--hv-bg: #faf7f3;
	--hv-bg-deep: #f2ece4;
	--hv-card: #ffffff;

	--hv-accent: #5a9b97;
	--hv-accent-dark: #427d79;
	--hv-accent-soft: #e9f3f2;
	--hv-warm: #c98a5b;
	--hv-warm-soft: #fbf1e8;
	--hv-warm-line: #f0dcc8;
	--hv-warm-ink: #8a5c33;

	/* Square by design, kept as tokens so the whole system can be dialled
	   back to soft corners from one place. */
	--hv-radius: 0;
	--hv-radius-sm: 0;
	--hv-radius-lg: 0;

	--hv-shadow-sm: 0 1px 2px rgba(30, 26, 22, .05), 0 6px 16px -10px rgba(30, 26, 22, .22);
	--hv-shadow: 0 2px 4px rgba(30, 26, 22, .05), 0 18px 40px -22px rgba(30, 26, 22, .38);
	--hv-shadow-lg: 0 30px 70px -30px rgba(30, 26, 22, .5);

	--hv-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--hv-display: "Karla", var(--hv-font);
	--hv-script: "Sacramento", "Brush Script MT", cursive;
	--hv-script-ink: #548885;

	--hv-head-h: 66px;
	--hv-wrap: 1280px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--hv-bg); }
html, body { overflow-x: hidden; max-width: 100%; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
html:has(> body.hvl-lock) { overflow: hidden; }
body.hvl-lock { overflow: hidden; }

body {
	font-family: var(--hv-font);
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--hv-ink);
	background: var(--hv-bg);
	-webkit-font-smoothing: antialiased;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
}

body > .hvl-main { flex: 1 0 auto; }

button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Inline <svg> without width/height falls back to 300x150. Type selector
   (specificity 0,0,1) so every class-based icon rule still wins. */
svg { width: 16px; height: 16px; flex: 0 0 auto; }

:focus-visible { outline: 2px solid var(--hv-accent); outline-offset: 2px; border-radius: 0; }

.hv-sr, .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;
}

/* .wrap is the alias of the concept container (.hv-wrap). */
.hv-wrap, .wrap {
	width: 100%;
	max-width: var(--hv-wrap);
	margin: 0 auto;
	padding: 0 clamp(16px, 4vw, 34px);
}

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 11000; padding: 10px 16px; background: var(--hv-ink); color: #fff; }
.skip-link:focus { left: 10px; top: 10px; }
