/* ArtOf Home – startsidan. Färger och mått ändras i variablerna högst upp.
   Byggt av Micke (ArtOf · hello@artof.se) & Claude. */

#artof-home {
	--artof-bg: #0a1511;
	--artof-bg-2: #0f211a;
	--artof-ink: #f2efe6;
	--artof-muted: rgba(242, 239, 230, 0.68);
	--artof-line: rgba(242, 239, 230, 0.2);
	--artof-accent: #c6d67c;
	--artof-pad: clamp(24px, 6vw, 96px);
	--artof-ease: cubic-bezier(0.2, 0.7, 0.1, 1);

	position: relative;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: 0;
	background: var(--artof-bg);
	color: var(--artof-ink);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.55;
	text-align: left;
	-webkit-font-smoothing: antialiased;
	box-sizing: border-box;
}

html:has(.artof-home) {
	overflow-x: clip;
}

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

/* Nollställ temats stil på rubriker/text med låg specificitet */
#artof-home :is(h1, h2, h3, p, a, article, section, div, span, i, b) {
	margin: 0;
	padding: 0;
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	font-style: normal;
	font-weight: inherit;
	line-height: inherit;
	text-transform: none;
	letter-spacing: normal;
	text-decoration: none;
	text-shadow: none;
	text-align: inherit;
	border: 0;
	background: none;
}

/* ---------- Gemensamt ---------- */

#artof-home .artof-eyebrow {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 0.78rem;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--artof-accent);
}

#artof-home .artof-eyebrow::before {
	content: "";
	width: 36px;
	height: 1px;
	background: currentColor;
}

#artof-home .artof-eyebrow--center {
	justify-content: center;
}

#artof-home .artof-btn {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin-top: 36px;
	padding: 16px 30px;
	border: 1px solid var(--artof-line);
	border-radius: 999px;
	background: transparent;
	color: var(--artof-ink);
	font-size: 0.8rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	transition: background 0.4s var(--artof-ease), color 0.4s var(--artof-ease), border-color 0.4s var(--artof-ease);
}

#artof-home .artof-btn::after {
	content: "\2192";
	transition: transform 0.4s var(--artof-ease);
}

#artof-home .artof-btn:hover,
#artof-home .artof-btn:focus-visible {
	background: var(--artof-ink);
	border-color: var(--artof-ink);
	color: var(--artof-bg);
}

#artof-home .artof-btn:hover::after {
	transform: translateX(5px);
}

#artof-home a:focus-visible {
	outline: 2px solid var(--artof-accent);
	outline-offset: 4px;
}

/* ---------- Hero ---------- */

#artof-home .artof-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	height: 100vh;
	height: 100svh;
	min-height: 560px;
	overflow: hidden;
	isolation: isolate;
	background: var(--artof-bg);
}

#artof-home .artof-hero__media {
	position: absolute;
	top: -16%;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: -2;
	background-color: var(--artof-bg);
	background-image:
		radial-gradient(70% 80% at 18% 22%, #2f5a44 0%, transparent 60%),
		radial-gradient(60% 70% at 86% 78%, rgba(198, 214, 124, 0.35) 0%, transparent 62%),
		linear-gradient(160deg, #10281f, #0a1511);
	background-size: cover;
	background-position: center;
	will-change: transform;
}

#artof-home .artof-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 1.2s var(--artof-ease);
}

#artof-home .artof-hero__video.is-playing {
	opacity: 1;
}

#artof-home .artof-hero__shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(10, 21, 17, 0.45) 0%, rgba(10, 21, 17, 0.08) 38%, rgba(10, 21, 17, 0.9) 100%);
}

#artof-home .artof-hero__content {
	position: relative;
	width: 100%;
	padding: 0 var(--artof-pad) clamp(72px, 13vh, 150px);
	will-change: transform, opacity;
}

#artof-home .artof-hero__title {
	max-width: 16ch;
	margin: 22px 0 26px;
	font-size: clamp(2.7rem, 7.4vw, 7.4rem);
	font-weight: 300;
	line-height: 1.02;
	letter-spacing: -0.025em;
}

#artof-home .artof-line {
	display: block;
	overflow: hidden;
	padding-bottom: 0.1em;
	margin-bottom: -0.1em;
}

#artof-home .artof-line > span {
	display: block;
}

#artof-home .artof-hero__text {
	max-width: 46ch;
	font-size: clamp(1rem, 1.25vw, 1.2rem);
	color: var(--artof-muted);
}

#artof-home .artof-hero__cue {
	position: absolute;
	right: var(--artof-pad);
	bottom: clamp(36px, 7vh, 80px);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	font-size: 0.7rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
}

#artof-home .artof-hero__cue span {
	writing-mode: vertical-rl;
}

#artof-home .artof-hero__cue::after {
	content: "";
	width: 1px;
	height: 64px;
	background: linear-gradient(var(--artof-ink), transparent);
	transform-origin: top;
	animation: artof-cue 2.4s var(--artof-ease) infinite;
}

@keyframes artof-cue {
	0% { transform: scaleY(0); opacity: 1; }
	55% { transform: scaleY(1); opacity: 1; }
	100% { transform: scaleY(1); opacity: 0; }
}

/* Intro-animationer (bara när JS är igång) */
#artof-home.is-js .artof-line > span {
	transform: translateY(112%);
	transition: transform 1.2s var(--artof-ease);
}

#artof-home.is-js .artof-line:nth-child(2) > span { transition-delay: 0.12s; }
#artof-home.is-js .artof-line:nth-child(3) > span { transition-delay: 0.24s; }

#artof-home.is-ready .artof-line > span {
	transform: none;
}

#artof-home.is-js .artof-fade {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 1s var(--artof-ease) 0.4s, transform 1s var(--artof-ease) 0.4s;
}

#artof-home.is-ready .artof-fade {
	opacity: 1;
	transform: none;
}

#artof-home.is-js .artof-reveal {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity 1s var(--artof-ease), transform 1s var(--artof-ease);
}

#artof-home.is-js .artof-reveal.is-in {
	opacity: 1;
	transform: none;
}

/* ---------- Budskap (orden tänds) ---------- */

#artof-home .artof-statement {
	padding: clamp(120px, 26vh, 280px) var(--artof-pad);
	background: var(--artof-bg);
}

#artof-home .artof-statement__text {
	max-width: 1100px;
	margin-top: 36px;
	font-size: clamp(1.8rem, 4.2vw, 4.2rem);
	font-weight: 300;
	line-height: 1.16;
	letter-spacing: -0.015em;
}

#artof-home.is-js .artof-w {
	opacity: 0.16;
	transition: opacity 0.3s linear;
}

/* ---------- Horisontell scroll ---------- */

#artof-home .artof-hscroll {
	position: relative;
	background: var(--artof-bg-2);
}

#artof-home .artof-hscroll__sticky {
	position: sticky;
	top: 0;
	display: flex;
	align-items: center;
	height: 100vh;
	height: 100svh;
	overflow: hidden;
}

#artof-home .artof-hscroll__track {
	display: flex;
	align-items: center;
	gap: clamp(28px, 4.5vw, 72px);
	padding: 0 var(--artof-pad);
	will-change: transform;
}

#artof-home .artof-panel {
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	gap: 20px;
	width: clamp(280px, 34vw, 520px);
}

#artof-home .artof-panel[data-artof-panel]:nth-of-type(even) {
	margin-top: clamp(24px, 8vh, 90px);
}

#artof-home .artof-panel--intro,
#artof-home .artof-panel--end {
	justify-content: center;
	width: clamp(300px, 36vw, 560px);
}

#artof-home .artof-panel__lead {
	font-size: clamp(2rem, 4.4vw, 4.4rem);
	font-weight: 300;
	line-height: 1.04;
	letter-spacing: -0.02em;
}

#artof-home .artof-panel__visual {
	position: relative;
	display: block;
	height: clamp(240px, 50vh, 540px);
	height: clamp(240px, 50svh, 540px);
	overflow: hidden;
	border-radius: 2px;
	background: var(--artof-bg);
}

#artof-home .artof-panel__visual::after,
#artof-home .artof-parallax::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0.16;
	mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

#artof-home .artof-art {
	position: absolute;
	top: 0;
	bottom: 0;
	left: -14%;
	right: -14%;
	will-change: transform;
	transition: filter 0.6s var(--artof-ease);
}

#artof-home .artof-panel__visual:hover .artof-art {
	filter: brightness(1.12);
}

#artof-home .artof-art--1 { background: radial-gradient(55% 55% at 30% 32%, #4a7d5d 0%, transparent 62%), radial-gradient(45% 45% at 78% 82%, rgba(198, 214, 124, 0.45), transparent 62%), linear-gradient(160deg, #173a2d, #0a1511); }
#artof-home .artof-art--2 { background: radial-gradient(60% 60% at 72% 28%, #5f8f6f 0%, transparent 62%), radial-gradient(45% 45% at 24% 80%, rgba(198, 214, 124, 0.3), transparent 62%), linear-gradient(200deg, #12301f, #0a1511); }
#artof-home .artof-art--3 { background: radial-gradient(50% 50% at 50% 40%, rgba(198, 214, 124, 0.55) 0%, transparent 60%), radial-gradient(60% 60% at 20% 90%, #2f5a44, transparent 64%), linear-gradient(170deg, #0f2a21, #0a1511); }
#artof-home .artof-art--4 { background: radial-gradient(55% 55% at 25% 70%, #6d9a63 0%, transparent 62%), radial-gradient(50% 50% at 80% 20%, rgba(242, 239, 230, 0.2), transparent 62%), linear-gradient(150deg, #15352a, #0a1511); }
#artof-home .artof-art--5 { background: radial-gradient(60% 60% at 70% 60%, #3d6f55 0%, transparent 62%), radial-gradient(40% 40% at 20% 20%, rgba(198, 214, 124, 0.4), transparent 62%), linear-gradient(190deg, #112e24, #0a1511); }

#artof-home .artof-panel__meta {
	display: flex;
	align-items: baseline;
	gap: 18px;
}

#artof-home .artof-panel__num {
	font-size: 0.78rem;
	letter-spacing: 0.2em;
	color: var(--artof-accent);
}

#artof-home .artof-panel__title {
	font-size: clamp(1.4rem, 2.2vw, 2.1rem);
	font-weight: 300;
	line-height: 1.1;
}

#artof-home .artof-panel__text {
	max-width: 38ch;
	font-size: 0.98rem;
	color: var(--artof-muted);
}

#artof-home .artof-hscroll__count {
	position: absolute;
	top: clamp(24px, 5vh, 48px);
	right: var(--artof-pad);
	font-size: 0.78rem;
	letter-spacing: 0.2em;
	color: var(--artof-muted);
}

#artof-home .artof-hscroll__count b {
	font-weight: 400;
	color: var(--artof-ink);
}

#artof-home .artof-hscroll__bar {
	position: absolute;
	right: var(--artof-pad);
	bottom: clamp(24px, 5vh, 48px);
	left: var(--artof-pad);
	height: 1px;
	background: var(--artof-line);
}

#artof-home .artof-hscroll__bar i {
	position: absolute;
	inset: 0;
	background: var(--artof-accent);
	transform: scaleX(0);
	transform-origin: left;
}

/* ---------- Parallax-avslutning ---------- */

#artof-home .artof-parallax {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 130vh;
	padding: var(--artof-pad);
	overflow: hidden;
	text-align: center;
	background: linear-gradient(180deg, var(--artof-bg-2), var(--artof-bg));
}

#artof-home .artof-orb {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
	will-change: transform;
}

#artof-home .artof-orb--1 {
	top: 6%;
	left: -12%;
	width: min(70vw, 820px);
	aspect-ratio: 1;
	background: radial-gradient(circle at 35% 35%, rgba(79, 129, 98, 0.75), rgba(79, 129, 98, 0) 68%);
}

#artof-home .artof-orb--2 {
	right: -6%;
	bottom: 4%;
	width: min(46vw, 540px);
	aspect-ratio: 1;
	background: radial-gradient(circle at 60% 40%, rgba(198, 214, 124, 0.5), rgba(198, 214, 124, 0) 66%);
}

#artof-home .artof-ring {
	top: 14%;
	right: 12%;
	width: min(38vw, 460px);
	aspect-ratio: 1;
	border: 1px solid var(--artof-line);
}

#artof-home .artof-parallax__inner {
	position: relative;
	max-width: 900px;
	will-change: transform;
}

#artof-home .artof-parallax__title {
	margin: 22px 0 24px;
	font-size: clamp(2.2rem, 5.6vw, 5.6rem);
	font-weight: 300;
	line-height: 1.05;
	letter-spacing: -0.02em;
}

#artof-home .artof-parallax__text {
	max-width: 48ch;
	margin: 0 auto;
	color: var(--artof-muted);
}

/* ---------- Mobil ---------- */

@media (max-width: 700px) {
	#artof-home .artof-hero__cue { display: none; }
	#artof-home .artof-hero__title { max-width: 12ch; }
	#artof-home .artof-panel { width: 74vw; }
	#artof-home .artof-panel--intro,
	#artof-home .artof-panel--end { width: 78vw; }
	#artof-home .artof-btn { padding: 14px 24px; }
}

/* ---------- Minskad rörelse: allt visas som vanlig kolumn ---------- */

@media (prefers-reduced-motion: reduce) {
	#artof-home .artof-hscroll { height: auto !important; }
	#artof-home .artof-hscroll__sticky { position: static; display: block; height: auto; overflow: visible; padding: 96px 0; }
	#artof-home .artof-hscroll__track { flex-direction: column; align-items: flex-start; transform: none !important; }
	#artof-home .artof-panel,
	#artof-home .artof-panel--intro,
	#artof-home .artof-panel--end { width: 100%; max-width: 560px; margin-top: 0 !important; }
	#artof-home .artof-art { transform: none !important; }
	#artof-home .artof-hscroll__bar,
	#artof-home .artof-hscroll__count,
	#artof-home .artof-hero__cue::after { display: none; }
	#artof-home .artof-hero__media,
	#artof-home .artof-hero__content,
	#artof-home .artof-parallax__inner,
	#artof-home .artof-orb { transform: none !important; }
	#artof-home.is-js .artof-line > span,
	#artof-home.is-js .artof-fade,
	#artof-home.is-js .artof-reveal { opacity: 1; transform: none; transition: none; }
	#artof-home.is-js .artof-w { opacity: 1; transition: none; }
}

/* =====================================================================
   Typografi, linje och delad sektion (gäller båda teman)
   ===================================================================== */

#artof-home {
	--artof-display: "Cinzel", "Cormorant Garamond", Georgia, serif;
}

#artof-home .artof-hero__title,
#artof-home .artof-panel__lead,
#artof-home .artof-panel__title,
#artof-home .artof-parallax__title,
#artof-home .artof-split__title {
	font-family: var(--artof-display);
	font-weight: 400;
	letter-spacing: 0.01em;
}

#artof-home .artof-hero__title { font-size: clamp(2.4rem, 6.4vw, 6.4rem); line-height: 1.08; }
#artof-home .artof-panel__lead { font-size: clamp(1.9rem, 3.8vw, 3.8rem); line-height: 1.08; }
#artof-home .artof-panel__title { font-size: clamp(1.25rem, 1.8vw, 1.7rem); }
#artof-home .artof-parallax__title { font-size: clamp(2rem, 4.8vw, 4.8rem); line-height: 1.08; }

#artof-home .artof-rule {
	display: block;
	width: 56px;
	height: 1px;
	margin: 28px auto;
	background: var(--artof-line);
}

#artof-home .artof-rule--left { margin-left: 0; }

/* Budskapet: centrerat */
#artof-home .artof-statement { text-align: center; }
#artof-home .artof-statement .artof-eyebrow { justify-content: center; }
#artof-home .artof-statement__text {
	margin: 0 auto;
	font-size: clamp(1.5rem, 3.3vw, 3.2rem);
	font-weight: 300;
	line-height: 1.34;
	letter-spacing: -0.01em;
}

/* ---------- Delad sektion: text bredvid stor bild ---------- */

#artof-home .artof-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 100vh;
	min-height: 100svh;
	background: var(--artof-bg-2);
}

#artof-home .artof-split__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: clamp(64px, 12vh, 140px) var(--artof-pad);
}

#artof-home .artof-split__title {
	max-width: 14ch;
	margin-top: 22px;
	font-size: clamp(2rem, 3.8vw, 3.8rem);
	line-height: 1.1;
}

#artof-home .artof-split__body {
	max-width: 42ch;
	color: var(--artof-muted);
	font-size: clamp(1rem, 1.15vw, 1.1rem);
}

#artof-home .artof-split__visual {
	position: relative;
	overflow: hidden;
	background: var(--artof-bg);
}

#artof-home .artof-split__visual .artof-art {
	top: -12%;
	bottom: -12%;
	left: 0;
	right: 0;
}

#artof-home .artof-split__visual::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0.16;
	mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

@media (max-width: 800px) {
	#artof-home .artof-split { grid-template-columns: 1fr; min-height: 0; }
	#artof-home .artof-split__visual { order: -1; height: 62vh; }
	#artof-home .artof-split__text { padding-top: 56px; padding-bottom: 72px; }
}

/* =====================================================================
   LJUST TEMA (standard): varm ljus yta, mörk text, tunna linjer
   ===================================================================== */

#artof-home.artof-home--light {
	--artof-bg: #ecebe6;
	--artof-bg-2: #f4f2ed;
	--artof-ink: #1d1d1b;
	--artof-muted: rgba(29, 29, 27, 0.64);
	--artof-line: rgba(29, 29, 27, 0.2);
	--artof-accent: #3d5f4d;
}

/* Hero ligger alltid över video/mörk bild: ljus text */
#artof-home.artof-home--light .artof-hero {
	--artof-ink: #f6f4ee;
	--artof-muted: rgba(246, 244, 238, 0.8);
	--artof-line: rgba(246, 244, 238, 0.34);
	--artof-accent: #d6e3a8;
}

#artof-home.artof-home--light .artof-eyebrow { color: var(--artof-muted); }
#artof-home.artof-home--light .artof-hero .artof-eyebrow { color: var(--artof-accent); }
#artof-home.artof-home--light .artof-eyebrow--center::before { display: none; }
#artof-home.artof-home--light .artof-panel__num { color: var(--artof-accent); }
#artof-home.artof-home--light .artof-hscroll__bar i { background: var(--artof-accent); }

#artof-home.artof-home--light .artof-hscroll { background: var(--artof-bg-2); }

#artof-home.artof-home--light .artof-parallax {
	background: linear-gradient(180deg, var(--artof-bg-2), var(--artof-bg));
}

#artof-home.artof-home--light .artof-orb--1 {
	background: radial-gradient(circle at 35% 35%, rgba(150, 180, 158, 0.6), rgba(150, 180, 158, 0) 68%);
}

#artof-home.artof-home--light .artof-orb--2 {
	background: radial-gradient(circle at 60% 40%, rgba(222, 205, 160, 0.75), rgba(222, 205, 160, 0) 66%);
}

#artof-home.artof-home--light .artof-parallax::after { opacity: 0.1; }

#artof-home.artof-home--light .artof-hero { color: var(--artof-ink); }

/* Ljusa platshållarbilder: salvia, sand och sten (byts mot riktiga foton) */
#artof-home.artof-home--light .artof-art--1 { background: radial-gradient(55% 55% at 28% 30%, rgba(236, 240, 226, 0.85), transparent 62%), radial-gradient(50% 50% at 80% 84%, rgba(214, 196, 152, 0.9), transparent 64%), linear-gradient(160deg, #8aa690, #4d6b58); }
#artof-home.artof-home--light .artof-art--2 { background: radial-gradient(60% 60% at 72% 26%, rgba(250, 244, 226, 0.9), transparent 62%), radial-gradient(48% 48% at 22% 82%, rgba(120, 150, 128, 0.7), transparent 64%), linear-gradient(200deg, #d9ccaa, #98a584); }
#artof-home.artof-home--light .artof-art--3 { background: radial-gradient(50% 50% at 50% 38%, rgba(255, 250, 235, 0.85), transparent 60%), radial-gradient(60% 60% at 22% 90%, rgba(98, 130, 108, 0.75), transparent 64%), linear-gradient(170deg, #b9c4a8, #7c9585); }
#artof-home.artof-home--light .artof-art--4 { background: radial-gradient(55% 55% at 26% 70%, rgba(236, 226, 196, 0.9), transparent 62%), radial-gradient(50% 50% at 80% 20%, rgba(255, 255, 255, 0.55), transparent 62%), linear-gradient(150deg, #a3b59a, #62806b); }
#artof-home.artof-home--light .artof-art--5 { background: radial-gradient(60% 60% at 70% 60%, rgba(214, 196, 152, 0.85), transparent 62%), radial-gradient(40% 40% at 20% 20%, rgba(244, 248, 236, 0.7), transparent 62%), linear-gradient(190deg, #90ab94, #56735f); }

/* =====================================================================
   v0.4: Kontaktrad i hero + remsgalleri
   ===================================================================== */

/* ---------- Kontaktuppgifter överst (bredvid temats logga) ---------- */

#artof-home .artof-contact {
	position: absolute;
	top: 46px;
	right: calc(var(--artof-pad) + 110px);
	z-index: 3;
	display: flex;
	align-items: baseline;
	gap: clamp(16px, 2.2vw, 38px);
	font-family: var(--artof-display);
	font-size: clamp(0.95rem, 1.08vw, 1.1rem);
	font-weight: 500;
	letter-spacing: 0.07em;
	color: inherit;
}

body.admin-bar #artof-home .artof-contact { top: 78px; }

/* "Skandinavien" strax efter loggan (exakt läge sätts av JS) */
#artof-home .artof-region {
	position: absolute;
	top: 46px;
	left: calc(var(--artof-pad) + 300px);
	z-index: 3;
	display: grid;
	grid-template-columns: 38px auto;
	align-items: center;
	column-gap: 18px;
	row-gap: 12px;
	font-family: var(--artof-display);
	font-size: clamp(0.95rem, 1.25vw, 1.2rem);
	font-weight: 400;
	letter-spacing: 0.42em;
	text-transform: uppercase;
	color: inherit;
	line-height: 1;
	white-space: nowrap;
}

#artof-home .artof-region::before {
	content: "";
	width: 38px;
	height: 1px;
	background: currentColor;
	opacity: 0.55;
}

#artof-home .artof-region__label { grid-column: 2; grid-row: 1; }

/* Små runda, platta flaggor under "Skandinavien" */
#artof-home .artof-flags {
	grid-column: 2;
	grid-row: 2;
	display: flex;
	gap: 14px;
	align-items: center;
	letter-spacing: 0;
	padding-top: 4px;
}

#artof-home .artof-flag {
	appearance: none;
	-webkit-appearance: none;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	position: relative;
	display: block;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	overflow: hidden;
	box-shadow:
		0 0 0 1px rgba(0, 0, 0, 0.18),
		0 8px 14px -4px rgba(0, 0, 0, 0.45),
		0 2px 3px rgba(0, 0, 0, 0.25);
	transition: transform 0.45s var(--artof-ease), box-shadow 0.45s var(--artof-ease);
}

/* Glaskupol: stor blank reflex upptill och mjuk ljuskant nedtill, som en bubbla */
#artof-home .artof-flag::before {
	content: "";
	position: absolute;
	left: 9%;
	right: 9%;
	top: 4%;
	height: 50%;
	border-radius: 50% 50% 46% 46% / 62% 62% 38% 38%;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.34) 55%, rgba(255, 255, 255, 0.06) 100%);
	z-index: 2;
	pointer-events: none;
}

#artof-home .artof-flag::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background:
		radial-gradient(ellipse at 50% 108%, rgba(255, 255, 255, 0.5) 0, rgba(255, 255, 255, 0) 52%),
		radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, 0.32) 100%);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28), inset 0 -4px 8px rgba(0, 0, 0, 0.22);
	z-index: 3;
	pointer-events: none;
}

#artof-home .artof-flag:hover {
	transform: translateY(-4px) scale(1.1);
	box-shadow:
		0 0 0 1px rgba(0, 0, 0, 0.2),
		0 14px 18px -5px rgba(0, 0, 0, 0.5),
		0 3px 4px rgba(0, 0, 0, 0.25);
}

#artof-home .artof-flag svg { display: block; width: 100%; height: 100%; transform: scale(1.12); }

body.admin-bar #artof-home .artof-region { top: 78px; }

@media (max-width: 960px) {
	#artof-home .artof-region { top: 98px !important; left: var(--artof-pad) !important; }
	body.admin-bar #artof-home .artof-region { top: 130px !important; }
	#artof-home .artof-contact { margin-top: 24px; }
}

#artof-home .artof-contact a {
	padding-bottom: 3px;
	border-bottom: 1px solid var(--artof-line);
	transition: border-color 0.3s var(--artof-ease), color 0.3s var(--artof-ease);
}

#artof-home .artof-contact a:hover { border-color: var(--artof-accent); color: var(--artof-accent); }

@media (max-width: 1500px) {
	#artof-home .artof-contact__addr { display: none; }
}

@media (max-width: 960px) {
	#artof-home .artof-contact {
		top: 98px !important;
		right: auto;
		left: var(--artof-pad);
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
		font-size: 0.95rem;
	}
	#artof-home .artof-contact__addr { display: inline; }
	body.admin-bar #artof-home .artof-contact { top: 130px !important; }
}

/* ---------- Remsgalleri (ljus scen, som i originalet fast ljus) ---------- */

#artof-home .artof-slats {
	--artof-h: clamp(220px, 34vh, 420px);
	--artof-h: clamp(220px, 34svh, 420px);
	--artof-w: clamp(64px, 7.6vw, 136px);
	background: var(--artof-bg);
}

#artof-home .artof-slats .artof-hscroll__sticky {
	display: block;
	height: calc(var(--artof-h) + 240px);
	top: calc(50vh - (var(--artof-h) + 240px) / 2);
	top: calc(50svh - (var(--artof-h) + 240px) / 2);
	perspective: 1000px;
	perspective-origin: 50% 50%;
}

#artof-home .artof-slats .artof-hscroll__track {
	position: absolute;
	top: 50%;
	left: 0;
	gap: clamp(8px, 1.1vw, 18px);
	padding: 0 46vw 0 42vw;
	margin-top: calc(var(--artof-h) / -2);
	align-items: stretch;
	transform-style: preserve-3d;
}

#artof-home .artof-slat {
	position: relative;
	display: block;
	flex: 0 0 auto;
	width: var(--artof-w);
	height: var(--artof-h);
	overflow: hidden;
	background: #d9d7d0;
	filter: grayscale(1);
	opacity: 0.58;
	transition: filter 0.6s var(--artof-ease), opacity 0.6s var(--artof-ease);
}

#artof-home .artof-slat:hover,
#artof-home .artof-slat:focus-visible,
#artof-home .artof-slat.is-active {
	filter: grayscale(0);
	opacity: 1;
}

#artof-home .artof-slats .artof-art {
	left: -80%;
	right: -80%;
	filter: none;
}

#artof-home .artof-art--img {
	background-size: cover;
	background-position: center;
}

#artof-home .artof-slats .artof-art.artof-art--img {
	left: -12%;
	right: -12%;
}

/* Linjal överst i mitten */
#artof-home .artof-slats__ruler {
	position: absolute;
	top: 52px;
	left: 50%;
	z-index: 4;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: min(36vw, 420px);
	height: 26px;
	transform: translateX(-50%);
}

body.admin-bar #artof-home .artof-slats__ruler { top: 84px; }

#artof-home .artof-slats__ruler span {
	display: block;
	width: 1px;
	height: 12px;
	background: var(--artof-ink);
	opacity: 0.28;
	transition: height 0.35s var(--artof-ease), opacity 0.35s var(--artof-ease);
}

#artof-home .artof-slats__ruler span.is-near { height: 18px; opacity: 0.55; }
#artof-home .artof-slats__ruler span.is-on { height: 26px; opacity: 1; background: var(--artof-accent); }

/* Hörnen: titel längst ned till vänster, utforska i mitten, länk till höger */
#artof-home .artof-slats__caps {
	position: absolute;
	bottom: 34px;
	left: var(--artof-pad);
	z-index: 4;
	width: min(34ch, 36vw);
	height: 3.2em;
	font-size: 0.78rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

#artof-home .artof-slats__cap {
	position: absolute;
	inset: 0 auto auto 0;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.5s var(--artof-ease), transform 0.5s var(--artof-ease);
}

#artof-home .artof-slats__cap.is-on { opacity: 1; transform: none; }

#artof-home .artof-slats .artof-panel__num {
	display: block;
	margin-bottom: 8px;
	font-size: 0.7rem;
	letter-spacing: 0.24em;
	color: var(--artof-accent);
}

#artof-home .artof-slats__ct { display: block; color: var(--artof-ink); }

#artof-home .artof-slats__explore {
	position: absolute;
	bottom: 34px;
	left: 50%;
	z-index: 4;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--artof-ink);
	font: inherit;
	font-size: 0.74rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	text-indent: 0.3em;
	cursor: pointer;
	transform: translateX(-50%);
}

#artof-home .artof-slats__explore i {
	position: relative;
	display: block;
	width: 1px;
	height: 22px;
	background: var(--artof-ink);
}

#artof-home .artof-slats__explore i::after {
	content: "+";
	position: absolute;
	bottom: -22px;
	left: 50%;
	font-size: 1.1rem;
	font-style: normal;
	line-height: 1;
	transform: translateX(-50%);
	transition: transform 0.5s var(--artof-ease);
}

#artof-home .artof-slats__explore:hover i::after { transform: translateX(-50%) rotate(90deg); }

#artof-home .artof-slats__links {
	position: absolute;
	right: var(--artof-pad);
	bottom: 34px;
	z-index: 4;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
	font-size: 0.74rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

#artof-home .artof-slats__links .artof-hscroll__count { position: static; order: 2; }

#artof-home .artof-slats__links a {
	border-bottom: 1px solid var(--artof-line);
	padding-bottom: 3px;
	transition: color 0.3s var(--artof-ease), border-color 0.3s var(--artof-ease);
}

#artof-home .artof-slats__links a:hover { color: var(--artof-accent); border-color: var(--artof-accent); }

#artof-home .artof-slats .artof-hscroll__bar { bottom: 0; right: 0; left: 0; height: 2px; }

@media (max-width: 700px) {
	#artof-home .artof-slats { --artof-h: clamp(240px, 42svh, 420px); --artof-w: 21vw; }
	#artof-home .artof-slats .artof-hscroll__track { padding: 0 44vw 0 40vw; }
	#artof-home .artof-slats__ruler { display: none; }
	#artof-home .artof-slats__caps { width: 30vw; }
	#artof-home .artof-slats__links a { display: none; }
}

/* Minskad rörelse: remsorna ligger i en rad man kan svepa i */
@media (prefers-reduced-motion: reduce) {
	#artof-home .artof-slats .artof-hscroll__sticky { height: 100vh; overflow-x: auto; padding: 0; }
	#artof-home .artof-slats .artof-hscroll__track { flex-direction: row; transform: none !important; }
	#artof-home .artof-slats .artof-slat { filter: none; opacity: 1; }
	#artof-home .artof-slats__ruler,
	#artof-home .artof-slats__caps { display: none; }
}

/* =====================================================================
   v0.9.6: temats meny när man scrollat – mörkgrön i stället för svart
   ===================================================================== */
/* (sidhuvudets färg vid scroll sköts nu av temat ArtOf Taiga) */

/* Paus/spela-knapp för videon */
#artof-home .artof-vbtn {
	position: absolute;
	right: calc(var(--artof-pad) + 70px);
	bottom: 40px;
	z-index: 3;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.18);
	color: #fff;
	cursor: pointer;
	display: grid;
	place-items: center;
	padding: 0;
	transition: background 0.3s, border-color 0.3s;
}
#artof-home .artof-vbtn:hover { background: rgba(0, 0, 0, 0.35); border-color: #fff; }
#artof-home .artof-vbtn__icon {
	width: 10px;
	height: 12px;
	border-left: 3px solid currentColor;
	border-right: 3px solid currentColor;
}
#artof-home .artof-vbtn.is-paused .artof-vbtn__icon {
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 7px 0 7px 11px;
	border-color: transparent transparent transparent currentColor;
	margin-left: 3px;
}
@media (max-width: 960px) {
	#artof-home .artof-vbtn { right: var(--artof-pad); bottom: 24px; }
}

/* v0.9.8: mobil – rubriken får plats, kontaktraden blir kompaktare */
@media (max-width: 600px) {
	#artof-home .artof-hero__title { font-size: clamp(1.7rem, 7vw, 2.4rem); overflow-wrap: normal; max-width: 100%; }
	#artof-home .artof-contact { gap: 6px; font-size: 0.85rem; }
}

/* ---------- v0.9.16: fast toppfält vid scroll ---------- */
.artof-topbar {
	position: fixed; top: 0; left: 0; right: 0; z-index: 99990;
	display: flex; justify-content: flex-end; align-items: center; gap: 28px;
	padding: 8px 90px 8px 24px;
	background: rgba(12, 18, 14, 0.88);
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	color: #fff; font-size: 0.85rem; letter-spacing: 0.06em;
	transform: translateY(-100%); transition: transform 0.35s ease;
	pointer-events: none;
}
.artof-topbar.is-on { transform: none; pointer-events: auto; }
body.admin-bar .artof-topbar { top: 32px; }
.artof-topbar a { color: #fff; text-decoration: none; }
.artof-topbar a:hover { opacity: 0.75; }
.artof-topbar__cart { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.artof-cartcount { display: inline-block; min-width: 22px; padding: 1px 6px; border-radius: 11px; background: #fff; color: #111; text-align: center; font-size: 0.78rem; }
@media (max-width: 782px) { body.admin-bar .artof-topbar { top: 46px; } }
@media (max-width: 700px) { .artof-topbar { gap: 14px; padding: 8px 64px 8px 12px; font-size: 0.78rem; } .artof-topbar__a:nth-child(2) { display: none; } }

/* ---------- v0.9.17: enhetliga produktbilder ---------- */
.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img,
.woocommerce ul.products li.product img.attachment-woocommerce_thumbnail {
	width: 100% !important; height: auto !important;
	aspect-ratio: 1 / 1; object-fit: contain !important;
	background: #fff; padding: 8px; box-sizing: border-box;
}
.woocommerce div.product div.images img,
.woocommerce div.product .woocommerce-product-gallery__image img {
	aspect-ratio: 1 / 1; object-fit: contain; background: #fff; width: 100%; height: auto;
}

/* ---------- v0.9.18: toppfält i det gröna + centrerad "Skandinavien" ---------- */
.artof-topbar { background: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; padding-top: 0 !important; padding-bottom: 0 !important; height: 40px; }
#artof-home .artof-region { display: flex !important; flex-direction: column; align-items: center; row-gap: 12px; }
#artof-home .artof-region::before { display: none !important; content: none !important; }
#artof-home .artof-region__label { padding-left: 0.42em; }
#artof-home .artof-flags { justify-content: center; }
.artof-topbar { transform: none !important; opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0.35s; }
.artof-topbar.is-on { opacity: 1; visibility: visible; }

/* ---------- v0.9.21: Beställning med nedfällbar lista ---------- */
.artof-topbar__cartwrap { position: relative; }
.artof-topbar__cartwrap::after { content: ""; position: absolute; left: -20px; right: -20px; top: 100%; height: 24px; }
.artof-minicart {
	position: absolute; right: 0; top: calc(100% + 14px); width: 340px; max-height: 70vh; overflow: auto;
	background: #fff; color: #1c3328; border-radius: 6px; padding: 14px 16px;
	box-shadow: 0 18px 40px -10px rgba(0,0,0,.45);
	opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s;
	letter-spacing: 0; font-size: .9rem; line-height: 1.4; text-align: left;
}
.artof-topbar__cartwrap:hover .artof-minicart, .artof-topbar__cartwrap:focus-within .artof-minicart { opacity: 1; visibility: visible; transform: none; }
.artof-minicart a { color: #1c3328; }
.artof-minicart ul { list-style: none; margin: 0; padding: 0; }
.artof-minicart li { position: relative; display: block; padding: 8px 22px 8px 0; border-bottom: 1px solid #e6e6e0; }
.artof-minicart li img { float: left; width: 44px; height: 44px; object-fit: contain; margin: 0 10px 0 0; }
.artof-minicart li a.remove { position: absolute; right: 0; top: 8px; text-decoration: none; font-size: 1.2rem; }
.artof-minicart li a:not(.remove) { font-weight: 600; display: block; }
.artof-minicart .quantity { display: block; font-size: .82rem; opacity: .8; }
.artof-minicart .woocommerce-mini-cart__total { margin: 10px 0; }
.artof-minicart .woocommerce-mini-cart__buttons { display: flex; gap: 8px; margin: 0; }
.artof-minicart .woocommerce-mini-cart__buttons a { flex: 1; text-align: center; padding: 9px 6px; background: #1c3328; color: #fff; border-radius: 4px; text-decoration: none; font-size: .85rem; }
.artof-minicart .woocommerce-mini-cart__empty-message { margin: 0; }
@media (max-width: 700px) { .artof-minicart { width: 280px; } }

/* v0.9.23: ta bort temats lilla streck över produkterna */
.woocommerce ul.products li.product::before { display: none !important; content: none !important; }

/* v0.9.25: spjälbilder fyller alltid ytan */
#artof-home .artof-art.artof-art--img {
	background-size: cover !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
}

/* ---------- v0.9.29 Återförsäljare + karta ---------- */
#artof-home .artof-stock { min-height: 0; text-align: left; padding-block: clamp(80px, 12vw, 160px); }
#artof-home .artof-stock__grid { position: relative; z-index: 1; width: 100%; max-width: 1200px; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
#artof-home .artof-stock .artof-parallax__title { font-size: clamp(2rem, 4.4vw, 4.2rem); }
#artof-home .artof-stock .artof-parallax__text { margin: 0; max-width: 52ch; }
#artof-home .artof-stock__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
#artof-home .artof-btn--ghost { background: transparent; border: 1px solid currentColor; color: inherit; }
#artof-home .artof-stock__map { text-align: center; }
#artof-home .artof-stock__map svg { width: 100%; max-width: 420px; height: auto; max-height: 78vh; }
#artof-home .artof-map__c { fill: var(--artof-accent); fill-opacity: 0.22; stroke: var(--artof-accent); stroke-width: 0.8; stroke-linejoin: round; transition: fill-opacity .3s; }
#artof-home .artof-map__c--se { fill-opacity: 0.4; }
#artof-home .artof-stock__map:hover .artof-map__c { fill-opacity: 0.5; }
#artof-home .artof-map__pins .artof-pin { cursor: pointer; outline: none; }
#artof-home .artof-map__pins .artof-pin__lead { stroke: #10281f; stroke-width: .9; }
#artof-home .artof-map__pins .artof-pin__dot { fill: #10281f; stroke: #fff; stroke-width: 2.2; transition: fill .2s; }
#artof-home .artof-map__pins .artof-pin__ring { fill: none; stroke: #c6d67c; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: artof-pin-pulse 2.6s ease-out infinite; }
#artof-home .artof-map__pins .artof-pin:nth-child(3n+2) .artof-pin__ring { animation-delay: .9s; }
#artof-home .artof-map__pins .artof-pin:nth-child(3n) .artof-pin__ring { animation-delay: 1.7s; }
#artof-home .artof-map__pins .artof-pin__count { fill: #fff; font: 700 7px/1 system-ui, sans-serif; pointer-events: none; }
#artof-home .artof-map__pins .artof-pin__label { fill: #10281f; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-weight: 600; letter-spacing: .01em; }
#artof-home .artof-map__pins .artof-pin__bg { fill: #fff; fill-opacity: .94; stroke: rgba(16,40,31,.18); stroke-width: .6; transition: fill .2s; }
#artof-home .artof-map__pins .artof-pin:hover .artof-pin__bg, #artof-home .artof-map__pins .artof-pin.is-active .artof-pin__bg { fill: #eef5e4; }
#artof-home .artof-map__pins .artof-pin:hover .artof-pin__dot, #artof-home .artof-map__pins .artof-pin:focus .artof-pin__dot, #artof-home .artof-map__pins .artof-pin.is-active .artof-pin__dot { fill: #3f7a56; }
#artof-home .artof-map__pins .artof-pin:hover .artof-pin__label, #artof-home .artof-map__pins .artof-pin.is-active .artof-pin__label { fill: #3f7a56; }
@keyframes artof-pin-pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { #artof-home .artof-map__pins .artof-pin__ring { animation: none; opacity: 0; } }
#artof-home .artof-stock__legend { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 14px 0 0; padding: 0; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--artof-muted); }
@media (max-width: 820px) {
	#artof-home .artof-stock__grid { grid-template-columns: 1fr; }
	#artof-home .artof-stock__map svg { max-width: 300px; }
}

/* 3D-karta: staplade lager + lutning */
#artof-home .artof-m3d { perspective: 1400px; display: inline-block; width: 100%; max-width: 560px; }
#artof-home .artof-m3d__stage { position: relative; transform-style: preserve-3d; transform: rotateX(var(--rx, 48deg)) rotateZ(var(--rz, -14deg)); transition: transform .25s ease-out; aspect-ratio: 350 / 510; }
#artof-home .artof-m3d__layer, #artof-home .artof-m3d__top { position: absolute; inset: 0; width: 100%; height: 100%; }
#artof-home .artof-m3d__layer { transform: translateZ(var(--z)); }
#artof-home .artof-m3d__layer path, #artof-home .artof-m3d__layer use { fill: #2f5a40; fill-opacity: 1; stroke: #264a34; stroke-width: 0.6; }
#artof-home .artof-m3d__layer:nth-child(1) { filter: blur(6px); opacity: .35; }
#artof-home .artof-m3d__top { transform: translateZ(0); filter: drop-shadow(0 0 10px rgba(198,214,124,.45)); }
#artof-home .artof-m3d__top svg { width: 100%; height: 100%; max-width: none; max-height: none; }
#artof-home .artof-m3d__top .artof-map__c { fill: #8fbf8f; fill-opacity: 1; stroke: #e9f3d0; stroke-width: 0.9; }
#artof-home .artof-m3d__top .artof-map__c--se { fill: #7fb386; }
#artof-home .artof-m3d__top .artof-map__c--no { fill: #6fa57a; }
#artof-home .artof-m3d__top .artof-map__c--fi { fill: #9bc79a; }
#artof-home .artof-m3d__top .artof-map__c--dk { fill: #b6d58a; }
#artof-home .artof-stock__map:hover .artof-map__c { fill-opacity: 1; }
#artof-home .artof-stock__map { padding-bottom: 6%; }
@media (max-width: 820px) { #artof-home .artof-m3d { max-width: 440px; } #artof-home .artof-stock__map { text-align:center; } }
@media (prefers-reduced-motion: reduce) { #artof-home .artof-m3d__stage { transition: none; } }
#artof-home .artof-stock__map .artof-m3d svg { width: 100%; height: 100%; max-width: none; max-height: none; }
@media (max-width: 700px) { .artof-topbar { justify-content: flex-end; } .artof-topbar__a:nth-child(1), .artof-topbar__a:nth-child(2) { display: none; } }
@media (max-width: 700px) { .artof-topbar { padding-right: 14px !important; gap: 12px; } }
@media (max-width: 700px) {
	#artof-home .artof-contact { display: none !important; }
	.artof-topbar { opacity: 1 !important; visibility: visible !important; pointer-events: auto; }
}

/* ---------- v0.9.33: pallmätare i toppfältet ---------- */
.artof-topbar__cart .artof-palleticon { flex: none; opacity: .95; }
.artof-pallet { display: inline-flex; align-items: center; gap: 8px; margin-left: 4px; padding-left: 12px; border-left: 1px solid rgba(255,255,255,.35); font-size: .78rem; font-weight: 500; letter-spacing: .04em; }
.artof-pallet[hidden], .artof-pallet-big[hidden] { display: none; }
.artof-pallet__bars { display: inline-flex; gap: 4px; align-items: center; }
.artof-pbar { position: relative; display: inline-block; width: 56px; height: 8px; border-radius: 4px; background: rgba(255,255,255,.28); overflow: hidden; }
.artof-pbar b { position: absolute; left: 0; top: 0; bottom: 0; background: #c6d67c; border-radius: 4px; transition: width .4s ease; }
.artof-pbar.is-full b { background: #8fd19e; }
.artof-pbar.is-near b { background: #e8c468; }
.artof-pbar.is-low b { background: #f0905a; }
.artof-pallet__bars em { font-style: normal; opacity: .8; }
.artof-pallet-big { margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1px solid #e6e6e0; }
.artof-pallet-big__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.artof-pallet-big .artof-pbar { width: 100%; height: 12px; border-radius: 6px; background: #e6e6e0; flex: 1; }
.artof-pallet-big .artof-pallet__bars { display: flex; width: 100%; gap: 6px; }
.artof-pallet-big .artof-pbar b { border-radius: 6px; }
.artof-pallet-big__hint { margin: 8px 0 0; font-size: .82rem; color: #8a4a1f; }
.artof-pallet-big small { display: block; margin-top: 6px; opacity: .65; font-size: .75rem; }
@media (max-width: 700px) { .artof-pallet__txt { display: none; } .artof-pbar { width: 34px; } .artof-pallet { padding-left: 8px; } .artof-topbar__label { display: none; } }
.artof-minicart .woocommerce-mini-cart__buttons a { white-space: nowrap; padding: 9px 4px; font-size: .78rem; letter-spacing: .02em; }

/* ---------- v0.9.35: pall-ikon som mätare (ersätter text + stapel i toppraden) ---------- */
.artof-topbar__cart { gap: 10px; }
.artof-topbar__cart .artof-pallet { position: relative; display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 0; border: 0; font-size: .85rem; font-weight: 600; letter-spacing: .03em; }
.artof-topbar__cart .artof-palleticon { display: block; width: 54px; height: 43px; opacity: 1; color: #fff; }
.artof-palleticon .h { stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.artof-palleticon .d { fill: currentColor; opacity: .9; }
.artof-palleticon rect.off { fill: none; stroke: currentColor; stroke-width: 1; opacity: .35; }
.artof-palleticon rect.on { fill: #c6d67c; stroke: #c6d67c; stroke-width: 1; }
.artof-palleticon.is-near rect.on { fill: #e8c468; stroke: #e8c468; }
.artof-palleticon.is-full rect.on { fill: #8fd19e; stroke: #8fd19e; }
.artof-palleticon.is-low rect.on { fill: #f0905a; stroke: #f0905a; }
.artof-pallet__n { position: absolute; left: 36px; top: -4px; min-width: 16px; padding: 0 4px; border-radius: 8px; background: #fff; color: #1c3328; font-style: normal; font-size: .68rem; line-height: 16px; text-align: center; }
.artof-topbar__cart .artof-cartcount { margin-left: 2px; }
@media (max-width: 700px) { .artof-topbar__cart .artof-palleticon { width: 42px; height: 34px; } .artof-topbar__cart .artof-pallet__txt { display: none; } .artof-pallet__n { left: 28px; } }

/* Kartans butikskort */
#artof-home .artof-stock__map { position: relative; }
#artof-home .artof-stock__hint { margin: 12px 0 0; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--artof-muted); }
#artof-home .artof-storecard { position: relative; z-index: 5; margin: 14px auto 0; width: min(360px, 100%); text-align: left; background: #fff; color: #10281f; border-radius: 12px; padding: 16px 18px 14px; box-shadow: 0 18px 40px rgba(0,0,0,.28); animation: artof-card-in .25s ease-out; }
#artof-home .artof-storecard[hidden] { display: none; }
@keyframes artof-card-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
#artof-home .artof-storecard__close { position: absolute; top: 6px; right: 8px; width: 30px; height: 30px; border: 0; background: none; font-size: 22px; line-height: 1; color: #10281f; cursor: pointer; }
#artof-home .artof-storecard__item + .artof-storecard__item { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(0,0,0,.1); }
#artof-home .artof-storecard__name { display: block; font-weight: 700; font-size: 1.02rem; margin-right: 24px; }
#artof-home .artof-storecard__meta { display: block; font-size: .86rem; opacity: .75; margin: 2px 0 6px; }
#artof-home .artof-storecard__links { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .86rem; }
#artof-home .artof-storecard__links a { color: #2f6b47; font-weight: 600; text-decoration: none; }
#artof-home .artof-storecard__links a:hover { text-decoration: underline; }

/* ---------- Karta: endast namn, samma färg och typsnitt överallt ---------- */
#artof-home .artof-map__pins .artof-pin__bg { display: none; }
#artof-home .artof-map__pins .artof-pin__label,
#artof-home .artof-map__pins .artof-pin:hover .artof-pin__label,
#artof-home .artof-map__pins .artof-pin.is-active .artof-pin__label { fill: #0b1f17; font-family: "Helvetica Neue", Arial, system-ui, sans-serif; font-weight: 800; font-size: 9.6px; letter-spacing: .01em; stroke: #fff; stroke-width: 2.6px; stroke-linejoin: round; paint-order: stroke fill; }

/* ---------- Odlingstips & råd: interaktivt register ---------- */
#artof-home .artof-split__visual--tips { display: flex; align-items: center; }
#artof-home .artof-tips { position: relative; z-index: 2; width: 100%; padding: clamp(56px, 10vh, 120px) var(--artof-pad); }
#artof-home .artof-tips__ghost { position: absolute; right: -0.04em; top: 50%; z-index: -1; transform: translateY(-50%); font-family: var(--artof-display); font-size: clamp(5rem, 13vw, 13rem); line-height: .8; writing-mode: vertical-rl; color: transparent; -webkit-text-stroke: 1px var(--artof-line); opacity: .7; pointer-events: none; transition: opacity .5s var(--artof-ease); white-space: nowrap; }
#artof-home .artof-tips__ghost.is-swap { opacity: 0; }
#artof-home .artof-tips__title { margin: 22px 0 30px; font-family: var(--artof-display); font-weight: 400; font-size: clamp(1.9rem, 3.4vw, 3.4rem); line-height: 1.08; }
#artof-home .artof-tips__tabs { position: relative; display: flex; flex-wrap: wrap; gap: 4px 28px; margin-bottom: 18px; border-bottom: 1px solid var(--artof-line); }
#artof-home .artof-tips__tab { position: relative; padding: 0 0 14px; border: 0; background: none; color: var(--artof-muted); font: inherit; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; cursor: pointer; transition: color .3s var(--artof-ease); }
#artof-home .artof-tips__tab sup { margin-left: 6px; font-size: .62rem; letter-spacing: 0; color: var(--artof-accent); }
#artof-home .artof-tips__tab:hover, #artof-home .artof-tips__tab.is-on { color: var(--artof-ink); }
#artof-home .artof-tips__tab:focus-visible { outline: 2px solid var(--artof-accent); outline-offset: 4px; }
#artof-home .artof-tips__bar { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--artof-accent); transition: transform .6s var(--artof-ease), width .6s var(--artof-ease); }
#artof-home .artof-tips__panel { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 32px; }
#artof-home .artof-tips.is-js .artof-tips__panel:not(.is-on) { display: none; }
#artof-home .artof-tips__panel li { break-inside: avoid; border-bottom: 1px solid var(--artof-line); }
#artof-home .artof-tips.is-js .artof-tips__panel.is-on li { animation: artof-tip-in .7s var(--artof-ease) both; animation-delay: calc(var(--d) * 45ms); }
@keyframes artof-tip-in { from { opacity: 0; transform: translateY(18px); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
#artof-home .artof-tips__panel a { display: flex; align-items: baseline; gap: 14px; padding: 13px 0; color: var(--artof-ink); text-decoration: none; }
#artof-home .artof-tips__n { flex: none; width: 2ch; color: var(--artof-accent); font-size: .7rem; letter-spacing: .12em; }
#artof-home .artof-tips__name { position: relative; flex: 1; font-family: var(--artof-display); font-size: clamp(1.05rem, 1.55vw, 1.5rem); line-height: 1.15; transition: transform .5s var(--artof-ease); }
#artof-home .artof-tips__name::after { content: attr(data-text); position: absolute; inset: 0; color: var(--artof-accent); clip-path: inset(0 100% 0 0); transition: clip-path .55s var(--artof-ease); }
#artof-home .artof-tips__arr { flex: none; opacity: 0; transform: translateX(-10px); color: var(--artof-accent); transition: opacity .4s var(--artof-ease), transform .4s var(--artof-ease); }
#artof-home .artof-tips__panel a:hover .artof-tips__name, #artof-home .artof-tips__panel a:focus-visible .artof-tips__name { transform: translateX(8px); }
#artof-home .artof-tips__panel a:hover .artof-tips__name::after, #artof-home .artof-tips__panel a:focus-visible .artof-tips__name::after { clip-path: inset(0 0 0 0); }
#artof-home .artof-tips__panel a:hover .artof-tips__arr, #artof-home .artof-tips__panel a:focus-visible .artof-tips__arr { opacity: 1; transform: none; }
#artof-home .artof-tips .artof-btn { margin-top: 30px; }
body .artof-tips__peek { position: fixed; left: 0; top: 0; z-index: 50; width: 190px; height: 240px; margin: -120px 0 0 24px; border-radius: 120px 120px 8px 8px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate3d(var(--x, -999px), var(--y, -999px), 0) scale(.6) rotate(-6deg); transition: opacity .35s var(--artof-ease), transform .5s var(--artof-ease); box-shadow: 0 24px 60px rgba(16,40,31,.28); }
body .artof-tips__peek.is-on { opacity: 1; transform: translate3d(var(--x), var(--y), 0) scale(1) rotate(0); }
body .artof-tips__peek i { position: absolute; inset: -10%; background: center / cover no-repeat; transition: background-image .2s; }
@media (max-width: 1100px) { #artof-home .artof-tips__panel { columns: 1; } }
@media (max-width: 800px) { #artof-home .artof-split__visual.artof-split__visual--tips { order: 0; height: auto; } #artof-home .artof-tips__ghost { display: none; } }
@media (hover: none) { body .artof-tips__peek { display: none; } }
@media (prefers-reduced-motion: reduce) { #artof-home .artof-tips.is-js .artof-tips__panel.is-on li { animation: none; } body .artof-tips__peek { transition: opacity .2s; } }

/* ---------- Karta v2: platta, skarpa HTML-etiketter ovanpå 3D-kartan ---------- */
#artof-home .artof-stock__map { position: relative; }
#artof-home .artof-m3d .artof-pin__label, #artof-home .artof-m3d .artof-pin__lead, #artof-home .artof-m3d .artof-pin__bg { display: none; }
#artof-home .artof-maplabels { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
#artof-home .artof-maplabel { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; gap: 1px; pointer-events: auto; cursor: pointer; white-space: nowrap; font-family: "Helvetica Neue", Arial, system-ui, sans-serif; font-size: 13px; font-weight: 700; line-height: 1.15; letter-spacing: .005em; color: #0b1f17; text-shadow: 0 0 2px #fff, 0 0 3px #fff, 0 0 6px rgba(255,255,255,.9); -webkit-font-smoothing: antialiased; transition: color .2s; will-change: transform; }
#artof-home .artof-maplabel.is-start { align-items: flex-start; }
#artof-home .artof-maplabel.is-end { align-items: flex-end; }
#artof-home .artof-maplabel:hover, #artof-home .artof-maplabel.is-active { color: #3f7a56; }
@media (max-width: 600px) { #artof-home .artof-maplabel { font-size: 11px; } }
.artof-credit a, .artof-credit-inline a { color: inherit; text-decoration: underline; }

/* Flagg-meddelande */
.artof-toast { position: fixed; left: 50%; top: 24px; transform: translate(-50%, -20px); z-index: 100000; background: #1c3328; color: #fff; font: 600 14px/1.3 sans-serif; padding: 12px 20px; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.artof-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ArtOf: surfplatta/liten laptop (701–1100 px) – topbar får inte gå in över logotypen. */
@media (min-width: 701px) and (max-width: 1100px) {
	.artof-topbar { padding-left: 220px !important; gap: 18px; }
}
@media (min-width: 701px) and (max-width: 880px) {
	.artof-topbar__a:nth-child(2) { display: none; }
}

/* ArtOf: branschnotis i kontaktraden */
#artof-home .artof-contact__addr a { text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* =====================================================================
   v1.0.4 (ArtOf): ny placering av logga, Skandinavien-flaggor och kontaktrad.
   Kontaktraden ligger bredvid loggan om det får plats, annars under (JS sätter .artof-stacked).
   Branschnotisen ligger på en egen rad, så den aldrig går in över flaggorna.
   ===================================================================== */
@media (min-width: 701px) {
	#artof-home .artof-contact {
		flex-wrap: wrap;
		justify-content: flex-end;
		align-items: baseline;
		row-gap: 10px;
		max-width: calc(100% - 2 * var(--artof-pad));
		margin-top: 0 !important;
		flex-direction: row !important;
		font-size: clamp(0.9rem, 1.02vw, 1.05rem) !important;
	}
	#artof-home .artof-contact a { white-space: nowrap; }
	#artof-home .artof-contact__addr {
		display: block !important;
		flex: 0 0 100%;
		text-align: right;
		font-family: "Raleway", "Helvetica Neue", Arial, sans-serif;
		font-size: 0.8rem;
		font-weight: 500;
		letter-spacing: 0.04em;
		text-transform: none;
		opacity: 0.92;
	}
	#artof-home .artof-contact__addr a { border-bottom: 0 !important; padding-bottom: 0 !important; }
	#artof-home .artof-region { left: auto; }
	#artof-home.artof-home .artof-stacked .artof-contact,
	#artof-home .artof-hero.artof-stacked .artof-contact {
		left: var(--artof-pad) !important;
		right: auto !important;
		justify-content: flex-start;
		gap: 10px 26px;
	}
	#artof-home .artof-hero.artof-stacked .artof-contact__addr { text-align: left; }
}
/* v1.0.6 (ArtOf): mobil – visa branschnotisen under flaggorna */
@media (max-width: 700px) {
	#artof-home .artof-contact { display: block !important; position: absolute; top: 226px !important; left: var(--artof-pad) !important; right: var(--artof-pad) !important; margin: 0 !important; }
	body.admin-bar #artof-home .artof-contact { top: 258px !important; }
	#artof-home .artof-contact > a { display: none !important; }
	#artof-home .artof-contact__addr { display: block !important; font-family: "Raleway", "Helvetica Neue", Arial, sans-serif; font-size: 0.82rem; letter-spacing: 0.02em; text-transform: none; line-height: 1.5; text-shadow: 0 1px 6px rgba(0,0,0,.45); }
	#artof-home .artof-contact__addr a { border: 0 !important; }
}
/* v1.0.7 (ArtOf): små mobiler – dölj den lilla rubriken ovanför "Friska rötter" så inget krockar */
@media (max-width: 700px) and (max-height: 800px) {
	#artof-home .artof-hero__content > .artof-eyebrow { display: none; }
}
/* v1.0.8 (ArtOf): mobil – branschnotisen som en egen ruta överst i introt, med luft under */
#artof-home .artof-mnotice { display: none; }
@media (max-width: 700px) {
	#artof-home .artof-contact { display: none !important; }
	#artof-home .artof-mnotice {
		display: block;
		margin: 0 0 clamp(28px, 6vh, 48px);
		padding: 10px 14px;
		max-width: 22rem;
		border: 1px solid rgba(255, 255, 255, 0.35);
		border-radius: 10px;
		background: rgba(10, 21, 17, 0.45);
		-webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
		font-family: "Raleway", "Helvetica Neue", Arial, sans-serif;
		font-size: 0.82rem; line-height: 1.5; letter-spacing: 0.02em; text-transform: none;
	}
	#artof-home .artof-mnotice a { text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
}
/* v1.0.9 (ArtOf): låga mobilskärmar – introt får plats under flaggorna (sidan blir lite högre i stället) */
@media (max-width: 700px) {
	#artof-home .artof-hero { min-height: 740px; }
	body.admin-bar #artof-home .artof-hero { min-height: 772px; }
}
