/* ==========================================================================
   Vooma — theme.css
   --------------------------------------------------------------------------
   Tokens live in theme.json (--wp--preset--*, --wp--custom--*). This sheet adds
   what theme.json can't express: component craft for core + WooCommerce blocks,
   the two category blocks, and motion.
   Breakpoints: 640px (phones), 782px (WordPress stacks columns), 1100px.
   Rule: never transform/filter an ancestor of the mini-cart — it would trap the
   drawer's position:fixed. Static offsets use `translate`/`scale`; reveal
   animations use `transform`; the two compose.
   ========================================================================== */

/* 1. Aliases ================================================================ */
:root {
	--v-ink: var(--wp--preset--color--contrast);
	--v-muted: var(--wp--preset--color--muted);
	--v-line: var(--wp--preset--color--line);
	--v-line-strong: var(--wp--preset--color--line-strong);
	--v-surface: var(--wp--preset--color--surface);
	--v-base: var(--wp--preset--color--base);
	--v-brand: var(--wp--preset--color--brand);
	--v-brand-deep: var(--wp--preset--color--brand-deep);
	--v-accent: var(--wp--preset--color--accent);
	--v-cta: var(--wp--preset--color--cta);
	--v-cta-deep: var(--wp--preset--color--cta-deep);
	--v-sale: var(--wp--preset--color--sale);
	--v-sale-wash: var(--wp--preset--color--sale-wash);
	--v-success: var(--wp--preset--color--success);
	--v-peach: #ffb38f; /* highlight on navy — 7.9:1 on #1b3a5b */
	--v-display: var(--wp--preset--font-family--display);
	--v-sans: var(--wp--preset--font-family--sans);
	--v-r-sm: var(--wp--custom--radius--sm);
	--v-r-md: var(--wp--custom--radius--md);
	--v-r-lg: var(--wp--custom--radius--lg);
	--v-r-xl: var(--wp--custom--radius--xl);
	--v-ease: var(--wp--custom--ease--soft);
	--v-shadow-soft: var(--wp--preset--shadow--soft);
	--v-shadow-lift: var(--wp--preset--shadow--lift);
	--v-bar: 2.25rem; /* announcement bar height; the sticky header parks just below it */
	--v-gutter: var(--wp--style--root--padding-left, 1.25rem);
	--v-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e293b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	--v-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

/* 2. Base =================================================================== */
html { scroll-behavior: smooth; }
body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
::selection { background: color-mix(in srgb, var(--v-accent) 22%, transparent); color: var(--v-ink); }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--v-accent);
	outline-offset: 3px;
}
:where(h1, h2, h3, h4) { text-wrap: balance; font-variation-settings: "SOFT" 30; }
:where(p, li, dd) { text-wrap: pretty; }
:where(h1, h2) em {
	font-style: italic;
	color: var(--v-accent);
	font-variation-settings: "SOFT" 100, "WONK" 1;
}
/* Padded image wells: the padding must sit inside the 100% box, not add to it. */
:is(.vooma-mosaic, .vooma-rail, .vooma-grid) .wc-block-components-product-image img,
.vooma-tile__media img,
.vooma-product__media img,
.vooma-usp__icon img { box-sizing: border-box; }
.wp-site-blocks > * + * { margin-block-start: 0; }
/* Safety net against stray horizontal overflow on phones. `clip` (not `hidden`) keeps
   position: sticky working because it does not create a scroll container. */
.wp-site-blocks { overflow-x: clip; }
.vooma-home > * + * { margin-block-start: 0; }
.vooma-main { min-height: 50vh; }
.vooma-visually-hidden,
.vooma-mosaic .wp-block-post-title {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

/* 3. Shared: eyebrow, section heads, buttons ================================ */
.vooma-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .65rem;
	margin: 0 0 .85rem;
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--v-muted);
}
.vooma-eyebrow::before {
	content: "";
	width: 1.5rem;
	height: 2px;
	border-radius: 2px;
	background: var(--v-cta);
}
.vooma-eyebrow--light { color: rgb(255 255 255 / .78); }
.vooma-eyebrow--light::before { background: var(--v-peach); }
.vooma-eyebrow--sale { color: var(--v-sale); }
.vooma-eyebrow--sale::before { background: var(--v-sale); }

.vooma-section { padding-block: var(--wp--preset--spacing--70); }
.vooma-section__head { gap: 1rem 2rem; margin-bottom: var(--wp--preset--spacing--50); }
.vooma-section__title { margin: 0; }
.vooma-section__link { margin: 0; font-size: var(--wp--preset--font-size--small); font-weight: 600; }
.vooma-section__link a {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	padding-block: .5rem;
	color: var(--v-brand);
	text-decoration: none;
}
.vooma-section__link a::after {
	content: "→";
	display: inline-block;
	transition: translate .35s var(--v-ease);
}
.vooma-section__link a:hover { text-decoration: underline; text-underline-offset: 4px; }
.vooma-section__link a:hover::after { translate: 4px 0; }

/* Rails that come back empty (no new / sale / related products) disappear. */
.vooma-section:has(.vooma-rail):not(:has(.wc-block-product)) { display: none; }

.wp-element-button,
.wp-block-button__link {
	transition: background-color .2s var(--v-ease), color .2s, box-shadow .2s, translate .2s var(--v-ease);
}
.wp-block-button__link:active { translate: 0 1px; }
.wp-block-button.is-style-cta .wp-block-button__link {
	background: var(--v-cta);
	color: #fff;
	box-shadow: 0 12px 28px -14px rgb(204 69 19 / .7);
}
.wp-block-button.is-style-cta .wp-block-button__link:hover { background: var(--v-cta-deep); color: #fff; }
.wp-block-button.is-style-ghost .wp-block-button__link {
	background: transparent;
	color: var(--v-ink);
	box-shadow: inset 0 0 0 1.5px var(--v-line-strong);
}
.wp-block-button.is-style-ghost .wp-block-button__link:hover {
	background: var(--v-surface);
	color: var(--v-ink);
	box-shadow: inset 0 0 0 1.5px var(--v-ink);
}

/* 4. Header ================================================================= */
/* The whole header part is sticky and parks var(--v-bar) above the top edge: the
   announcement bar scrolls away, logo/search/cart/categories stay. */
.vooma-site-header,
.wp-site-blocks > header.wp-block-template-part:has(.vooma-header) {
	position: sticky;
	top: calc(-1 * var(--v-bar));
	z-index: 100;
	view-transition-name: vooma-header;
}
.admin-bar .vooma-site-header,
.admin-bar .wp-site-blocks > header.wp-block-template-part:has(.vooma-header) {
	top: calc(var(--wp-admin--admin-bar--height, 32px) - var(--v-bar));
}
/* On phones the full header (logo, search, category chips) would eat a quarter of the
   screen while scrolling, so it scrolls away there; "Læg i kurv" opens the drawer anyway. */
@media (max-width: 781px) {
	.vooma-site-header,
	.wp-site-blocks > header.wp-block-template-part:has(.vooma-header) { position: relative; top: auto; }
}

.vooma-announcement {
	overflow: hidden;
	background: var(--v-brand);
	color: rgb(255 255 255 / .92);
}
.vooma-announcement > .vooma-announcement__items {
	display: flex;
	justify-content: center;
	gap: 0 2.25rem;
	width: max-content;
	max-width: none;
	height: var(--v-bar);
	margin: 0 auto;
	font-size: .72rem;
	font-weight: 500;
	line-height: var(--v-bar);
	letter-spacing: .14em;
	text-transform: uppercase;
	white-space: nowrap;
}
.vooma-announcement__item { display: inline-flex; align-items: center; gap: .5rem; color: rgb(255 255 255 / .8); }
.vooma-announcement__item strong { color: #fff; font-weight: 700; }
.vooma-announcement__item::before {
	content: "";
	flex: none;
	width: 1rem;
	height: 1rem;
	background: var(--v-peach);
	-webkit-mask: var(--icon) center / contain no-repeat;
	mask: var(--icon) center / contain no-repeat;
}
.vooma-announcement__item--truck { --icon: url("../icons/truck.svg"); }
.vooma-announcement__item--pin { --icon: url("../icons/map-pin.svg"); }
.vooma-announcement__item--package { --icon: url("../icons/package.svg"); }
.vooma-announcement__item--chat { --icon: url("../icons/chat.svg"); }
.vooma-announcement__item--shield { --icon: url("../icons/shield.svg"); }
.vooma-announcement__item--lock { --icon: url("../icons/lock.svg"); }
.vooma-announcement__item a { color: #fff; font-weight: 600; text-decoration: none; }
.vooma-announcement__item a:hover { text-decoration: underline; text-underline-offset: 2px; }
.vooma-announcement__item--rotate { --icon: url("../icons/rotate.svg"); }
.vooma-announcement__item--award { --icon: url("../icons/award.svg"); }

.vooma-header {
	background: #fff;
	border-bottom: 1px solid var(--v-line);
}
@supports (animation-timeline: scroll()) {
	.vooma-header {
		animation: vooma-header-lift linear both;
		animation-timeline: scroll(root);
		animation-range: 0 160px;
	}
}
@keyframes vooma-header-lift {
	to { box-shadow: 0 14px 34px -24px rgb(15 23 42 / .45); border-bottom-color: transparent; }
}
.vooma-header__bar { gap: 1rem 2rem; padding-block: 1rem; }

/* The logo: the outlined wordmark "vooma." (assets/brand/, Fraunces 760 / SOFT 100 /
   opsz 144, drawn as paths — no font needed). The site title stays the link text for
   screen readers and search engines; only its look is the image. The "v." monogram
   (vooma-mark.svg) is the favicon/app icon. */
.vooma-logo { --vooma-logo-h: 1.6rem; margin: 0; line-height: 0; }
.vooma-logo a {
	display: block;
	width: calc(var(--vooma-logo-h) * 6.3068);
	height: var(--vooma-logo-h);
	overflow: hidden;
	background: url("../brand/vooma-logo.svg") left center / contain no-repeat;
	color: transparent;
	font-size: 0;
	text-decoration: none;
	transition: opacity .2s;
}
.vooma-logo a:hover { opacity: .85; }
.vooma-logo--inverse a { background-image: url("../brand/vooma-logo-inverse.svg"); }
@media (max-width: 781px) {
	.vooma-logo { --vooma-logo-h: 1.35rem; }
}

.vooma-search { flex: 1 1 20rem; max-width: 38rem; margin: 0; }
.vooma-search .wp-block-search__inside-wrapper {
	padding: .3rem .3rem .3rem 1.15rem;
	border: 1px solid var(--v-line);
	border-radius: 999px;
	background: var(--v-surface);
	transition: background .2s, border-color .2s, box-shadow .2s;
}
.vooma-search .wp-block-search__inside-wrapper:focus-within {
	border-color: var(--v-accent);
	background: #fff;
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--v-accent) 15%, transparent);
}
.vooma-search .wp-block-search__input {
	min-width: 0;
	padding: .5rem 0;
	border: 0;
	background: transparent;
	color: var(--v-ink);
	font-size: var(--wp--preset--font-size--small);
}
.vooma-search .wp-block-search__input:focus { outline: none; }
.vooma-search .wp-block-search__input::placeholder { color: var(--v-muted); opacity: .85; }
.vooma-search .wp-block-search__button {
	display: grid;
	place-items: center;
	width: 2.6rem;
	height: 2.6rem;
	margin: 0;
	padding: 0;
	border-radius: 999px;
}
.vooma-search .wp-block-search__button svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }

/* Live search (assets/js/live-search.js): categories as chips, products with image and price,
   "Se alle …" at the foot — a card under the field, wider than it on large screens. */
.vooma-search--live { position: relative; }
.vooma-search--live.is-loading .wp-block-search__button svg { animation: vooma-search-pulse .9s var(--v-ease) infinite alternate; }
@keyframes vooma-search-pulse { to { opacity: .35; } }
.vooma-suggest {
	position: absolute;
	top: calc(100% + .5rem);
	left: 0;
	z-index: 80;
	width: max(100%, min(34rem, calc(100vw - 2rem)));
	max-height: min(72vh, 40rem);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: .4rem;
	border: 1px solid var(--v-line);
	border-radius: var(--v-r-lg);
	background: var(--v-base);
	box-shadow: var(--v-shadow-lift);
	text-align: left;
}
.vooma-suggest[hidden] { display: none; }
.vooma-suggest__label {
	margin: .55rem .6rem .35rem;
	color: var(--v-muted);
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.vooma-suggest__chips { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 .5rem .45rem; }
.vooma-suggest__cat {
	display: inline-flex;
	align-items: baseline;
	gap: .4rem;
	padding: .4rem .8rem;
	border: 1px solid var(--v-line);
	border-radius: 999px;
	color: var(--v-ink);
	font-size: .85rem;
	font-weight: 600;
	text-decoration: none;
	transition: border-color .15s, background .15s;
}
.vooma-suggest__cat-parent { color: var(--v-muted); font-size: .75rem; font-weight: 500; }
.vooma-suggest__cat:is(:hover, .is-active) { border-color: var(--v-brand); background: var(--v-surface); }
.vooma-suggest__product {
	display: grid;
	grid-template-columns: 3.5rem minmax(0, 1fr);
	gap: .8rem;
	align-items: center;
	padding: .45rem .6rem;
	border-radius: var(--v-r-md);
	color: var(--v-ink);
	text-decoration: none;
}
.vooma-suggest__product:is(:hover, .is-active) { background: var(--v-surface); }
.vooma-suggest__thumb {
	display: block;
	width: 3.5rem;
	height: 3.5rem;
	overflow: hidden;
	border-radius: var(--v-r-sm);
	background: var(--v-surface);
}
.vooma-suggest__thumb img { width: 100%; height: 100%; padding: .2rem; object-fit: contain; mix-blend-mode: multiply; }
.vooma-suggest__name {
	display: -webkit-box;
	overflow: hidden;
	font-size: .9rem;
	line-height: 1.3;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.vooma-suggest__price { display: block; margin-top: .15rem; font-size: .85rem; font-weight: 700; }
.vooma-suggest__all {
	display: block;
	margin: .4rem .2rem .2rem;
	padding: .75rem .9rem;
	border-radius: var(--v-r-md);
	background: var(--v-surface);
	color: var(--v-brand);
	font-weight: 700;
	text-align: center;
	text-decoration: none;
}
.vooma-suggest__all::after { content: " →"; }
.vooma-suggest__all:is(:hover, .is-active) { background: var(--v-brand); color: #fff; }
.vooma-suggest__empty { margin: .9rem .8rem; color: var(--v-muted); font-size: .9rem; }
.vooma-search--live .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.vooma-header__actions { gap: .25rem; }
.vooma-header__actions .wp-block-woocommerce-customer-account a,
.vooma-header__actions .wc-block-mini-cart__button {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border-radius: 999px;
	color: var(--v-ink);
	transition: background .2s;
}
.vooma-header__actions .wp-block-woocommerce-customer-account a:hover,
.vooma-header__actions .wc-block-mini-cart__button:hover { background: var(--v-surface); }
.vooma-header__actions svg { width: 1.5rem; height: 1.5rem; }
.wc-block-mini-cart__badge {
	background: var(--v-cta) !important;
	color: #fff !important;
	font-weight: 700;
	box-shadow: 0 0 0 2px #fff;
}

.vooma-catnav__list { margin: 0; padding: 0; list-style: none; }
.vooma-catnav__link { color: var(--v-ink); text-decoration: none; }
.vooma-catnav__link--sale { color: var(--v-sale); font-weight: 600; }
.vooma-catnav--bar { border-top: 1px solid var(--v-line); }
/* One line, always: centred when it fits, horizontally scrollable when it doesn't
   (never a lonely "Tilbud" on a second row). */
.vooma-catnav--bar .vooma-catnav__list {
	display: flex;
	flex-wrap: nowrap;
	justify-content: safe center;
	gap: 0 2rem;
	overflow-x: auto;
	scrollbar-width: none;
}
.vooma-catnav--bar .vooma-catnav__list::-webkit-scrollbar { display: none; }
@media (max-width: 1100px) {
	.vooma-catnav--bar .vooma-catnav__list { gap: 0 1.35rem; }
}
.vooma-catnav--bar .vooma-catnav__link {
	position: relative;
	display: inline-block;
	padding: .85rem 0;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	white-space: nowrap;
}
.vooma-catnav--bar .vooma-catnav__link--sale { font-weight: 600; }
.vooma-catnav--bar .vooma-catnav__link::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: .5rem;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	scale: 0 1;
	transform-origin: left;
	transition: scale .35s var(--v-ease);
}
.vooma-catnav--bar .vooma-catnav__link:hover::after,
.vooma-catnav--bar .vooma-catnav__link[aria-current="page"]::after,
.vooma-catnav--bar .vooma-catnav__link.is-ancestor::after { scale: 1 1; }

@media (max-width: 781px) {
	.vooma-header__bar { row-gap: .7rem; padding-block: .7rem; }
	.vooma-search { order: 3; flex-basis: 100%; max-width: none; }
	.vooma-catnav--bar .vooma-catnav__list {
		flex-wrap: nowrap;
		justify-content: flex-start;
		gap: .5rem;
		padding-block: .65rem;
		overflow-x: auto;
		scrollbar-width: none;
		-webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
		mask-image: linear-gradient(90deg, #000 88%, transparent);
	}
	.vooma-catnav--bar .vooma-catnav__list::-webkit-scrollbar { display: none; }
	.vooma-catnav--bar .vooma-catnav__link {
		padding: .45rem .95rem;
		border: 1px solid var(--v-line);
		border-radius: 999px;
		font-size: .875rem;
	}
	.vooma-catnav--bar .vooma-catnav__link::after { display: none; }
	.vooma-catnav--bar .vooma-catnav__link[aria-current="page"] { border-color: var(--v-brand); color: var(--v-brand); }
	.vooma-catnav--bar .vooma-catnav__link--sale {
		border-color: color-mix(in srgb, var(--v-sale) 35%, #fff);
		background: var(--v-sale-wash);
	}
}
/* Mega menu (block vooma/mega-menu, markup in inc/mega-menu.php) -------------
   Desktop: the departments bar; a department's panel is a floating card under the
   bar (positioned against the nav, so it spans the wide width). Phones: a
   "Kategorier" button + chips, and a <dialog> drawer. */
.vooma-mega { position: relative; border-top: 1px solid var(--v-line); }
.vooma-mega__bar {
	display: flex;
	flex-wrap: nowrap;
	justify-content: safe center;
	gap: 0 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
@media (max-width: 1100px) {
	.vooma-mega__bar { gap: 0 .9rem; }
}
.vooma-mega__item { display: flex; align-items: center; }
/* Priority+ (view.js): departments that don't fit move to "Flere". Until the script has
   measured, a guess by width; without JavaScript that guess stays. */
.vooma-mega[data-fitted] .is-overflow { display: none; }
.vooma-mega:not([data-fitted]) .vooma-mega__item--dept:nth-child(n+8),
.vooma-mega:not([data-fitted]) .vooma-mega__item--more { display: none; }
@media (max-width: 1279px) {
	.vooma-mega:not([data-fitted]) .vooma-mega__item--dept:nth-child(n+6) { display: none; }
}
.vooma-mega__top {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: .2rem;
	padding: .85rem 0;
	border: 0;
	background: none;
	color: var(--v-ink);
	font: inherit;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	white-space: nowrap;
	text-decoration: none;
	cursor: pointer;
}
.vooma-mega__top::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: .5rem;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	scale: 0 1;
	transform-origin: left;
	transition: scale .35s var(--v-ease);
}
.vooma-mega__top:hover::after,
.vooma-mega__item[data-open] > .vooma-mega__top::after,
.vooma-mega__top[aria-current]::after,
.vooma-mega__top[data-ancestor]::after { scale: 1 1; }
.vooma-mega__top--sale { color: var(--v-sale); font-weight: 600; }
.vooma-mega__item--more .vooma-mega__top::after { inset-inline-end: 1.15rem; }
.vooma-mega__toggle:not(.vooma-mega__top) {
	display: grid;
	place-items: center;
	width: 1.45rem;
	height: 1.45rem;
	margin-inline-start: .05rem;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: none;
	color: var(--v-muted);
	cursor: pointer;
	transition: background .2s, color .2s;
}
.vooma-mega__toggle:not(.vooma-mega__top):hover,
.vooma-mega__item[data-open] > .vooma-mega__toggle { background: var(--v-surface); color: var(--v-ink); }
.vooma-mega__chevron {
	width: .95rem;
	height: .95rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: rotate .25s var(--v-ease);
}
.vooma-mega__item[data-open] .vooma-mega__chevron { rotate: 180deg; }

.vooma-mega__panel {
	position: absolute;
	top: 100%;
	inset-inline: 0;
	z-index: 20;
	padding-top: .4rem;
	visibility: hidden;
	opacity: 0;
	translate: 0 -8px;
	pointer-events: none;
	transition: opacity .16s var(--v-ease), translate .22s var(--v-ease), visibility 0s linear .22s;
}
.vooma-mega__item[data-open] > .vooma-mega__panel {
	visibility: visible;
	opacity: 1;
	translate: 0 0;
	pointer-events: auto;
	transition: opacity .18s var(--v-ease), translate .24s var(--v-ease), visibility 0s;
}
/* The page dims behind an open panel (inside the sticky header's stacking context, so
   it sits over the page but under the header itself). */
.vooma-mega::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	background: rgb(15 23 42 / .16);
	opacity: 0;
	pointer-events: none;
	transition: opacity .25s var(--v-ease);
}
.vooma-mega[data-panel-open]::before { opacity: 1; }
.vooma-mega__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 16rem;
	gap: 2.25rem;
	max-height: min(72vh, 36rem);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 1.75rem 1.75rem 1.5rem 2rem;
	border: 1px solid var(--v-line);
	border-radius: var(--v-r-lg);
	background: #fff;
	box-shadow: 0 30px 60px -32px rgb(15 23 42 / .5), 0 2px 6px rgb(15 23 42 / .05);
}
.vooma-mega__inner--more { grid-template-columns: minmax(0, 1fr); }
.vooma-mega__groups {
	columns: 3 11.5rem;
	column-gap: 2.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.vooma-mega__group { break-inside: avoid; margin: 0 0 1.4rem; }
.vooma-mega__heading {
	display: inline-flex;
	align-items: baseline;
	gap: .45rem;
	color: var(--v-ink);
	font-size: .95rem;
	font-weight: 600;
	text-decoration: none;
}
.vooma-mega__heading:hover { color: var(--v-brand); }
.vooma-mega__count {
	color: var(--v-muted);
	font-size: .72rem;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
}
.vooma-mega__links { display: grid; gap: .35rem; margin: .5rem 0 0; padding: 0; list-style: none; }
.vooma-mega__link { color: var(--v-muted); font-size: .875rem; text-decoration: none; }
.vooma-mega__link:hover { color: var(--v-ink); text-decoration: underline; text-underline-offset: 3px; }
.vooma-mega__all { color: var(--v-brand); font-size: .82rem; font-weight: 600; text-decoration: none; }
.vooma-mega__all::after { content: " →"; }
.vooma-mega__all:hover { text-decoration: underline; text-underline-offset: 3px; }
.vooma-mega__panel [aria-current="page"],
.vooma-mega__panel [data-ancestor] { color: var(--v-brand); }

.vooma-mega__feature {
	display: flex;
	flex-direction: column;
	align-self: start;
	overflow: hidden;
	border-radius: var(--v-r-md);
	background: var(--v-surface);
	color: var(--v-ink);
	text-decoration: none;
}
.vooma-mega__feature-media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	padding: 1rem;
	object-fit: contain;
	mix-blend-mode: multiply;
	transition: scale .5s var(--v-ease);
}
.vooma-mega__feature:hover img { scale: 1.04; }
.vooma-mega__feature-text { display: grid; gap: .2rem; padding: .25rem 1.1rem 1.15rem; }
.vooma-mega__feature-media + .vooma-mega__feature-text { padding-top: 0; }
.vooma-mega__kicker {
	color: var(--v-muted);
	font-size: .68rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
}
.vooma-mega__feature-name { font-family: var(--v-display); font-size: 1.35rem; line-height: 1.15; }
.vooma-mega__feature-cta { margin-top: .35rem; color: var(--v-cta); font-size: .85rem; font-weight: 600; }
.vooma-mega__feature-cta::after { content: " →"; display: inline-block; transition: translate .3s var(--v-ease); }
.vooma-mega__feature:hover .vooma-mega__feature-cta::after { translate: 3px 0; }
@media (max-width: 1100px) {
	.vooma-mega__inner { grid-template-columns: minmax(0, 1fr) 13rem; gap: 1.5rem; padding: 1.5rem; }
	.vooma-mega__groups { columns: 2 11rem; }
}

.vooma-mega-mobile { display: none; }
@media (max-width: 781px) {
	.vooma-mega { border-top: 0; }
	.vooma-mega::before { display: none; }
	.vooma-mega__bar { display: none; }
	.vooma-mega-mobile { display: flex; align-items: center; gap: .5rem; padding-block: .15rem .7rem; }
	.vooma-mega-mobile__open {
		flex: none;
		display: inline-flex;
		align-items: center;
		gap: .4rem;
		padding: .5rem .95rem .5rem .75rem;
		border: 0;
		border-radius: 999px;
		background: var(--v-brand);
		color: #fff;
		font: inherit;
		font-size: .875rem;
		font-weight: 600;
		cursor: pointer;
	}
	.vooma-mega-mobile__open svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
	.vooma-mega-mobile__chips {
		display: flex;
		gap: .45rem;
		min-width: 0;
		margin: 0;
		padding: 0;
		list-style: none;
		overflow-x: auto;
		scrollbar-width: none;
		-webkit-mask-image: linear-gradient(90deg, #000 84%, transparent);
		mask-image: linear-gradient(90deg, #000 84%, transparent);
	}
	.vooma-mega-mobile__chips::-webkit-scrollbar { display: none; }
	.vooma-mega-mobile__chip {
		display: inline-block;
		padding: .45rem .9rem;
		border: 1px solid var(--v-line);
		border-radius: 999px;
		color: var(--v-ink);
		font-size: .875rem;
		white-space: nowrap;
		text-decoration: none;
	}
	.vooma-mega-mobile__chip[aria-current],
	.vooma-mega-mobile__chip[data-ancestor] { border-color: var(--v-brand); color: var(--v-brand); }
	.vooma-mega-mobile__chip--sale {
		border-color: color-mix(in srgb, var(--v-sale) 35%, #fff);
		background: var(--v-sale-wash);
		color: var(--v-sale);
		font-weight: 600;
	}
}

.vooma-drawer {
	inset: 0 auto 0 0;
	width: min(25rem, 90vw);
	max-width: none;
	height: 100dvh;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: #fff;
	color: var(--v-ink);
	box-shadow: 30px 0 60px -30px rgb(15 23 42 / .5);
	overscroll-behavior: contain;
}
.vooma-drawer[open] { display: flex; flex-direction: column; animation: vooma-drawer-in .32s var(--v-ease); }
.vooma-drawer::backdrop { background: rgb(15 23 42 / .45); animation: vooma-fade-in .3s ease; }
@keyframes vooma-drawer-in { from { translate: -100% 0; } }
@keyframes vooma-fade-in { from { opacity: 0; } }
html.vooma-drawer-open { overflow: hidden; }
.vooma-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: .85rem .85rem .85rem 1.25rem;
	border-bottom: 1px solid var(--v-line);
}
.vooma-drawer__title { margin: 0; color: var(--v-brand); font-family: var(--v-display); font-size: 1.45rem; }
.vooma-drawer__close,
.vooma-eu-dialog__close,
.vooma-legal-dialog__close {
	display: grid;
	place-items: center;
	width: 2.6rem;
	height: 2.6rem;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: var(--v-surface);
	color: var(--v-ink);
	cursor: pointer;
}
.vooma-drawer__close svg,
.vooma-eu-dialog__close svg,
.vooma-legal-dialog__close svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.vooma-drawer__body { flex: 1; overflow-y: auto; padding: 1rem 0 2.5rem; }
.vooma-drawer__sale {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin: 0 1.25rem .75rem;
	padding: .85rem 1rem;
	border-radius: var(--v-r-md);
	background: var(--v-sale-wash);
	color: var(--v-sale);
	font-weight: 700;
	text-decoration: none;
}
.vooma-drawer__sale span { color: var(--v-ink); font-size: .8rem; font-weight: 500; }
.vooma-drawer__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--v-line); }
.vooma-drawer__dept { border-bottom: 1px solid var(--v-line); }
.vooma-drawer__summary {
	display: flex;
	align-items: center;
	gap: .5rem;
	padding: 1rem 1.25rem;
	color: var(--v-ink);
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	list-style: none;
	cursor: pointer;
}
.vooma-drawer__summary::-webkit-details-marker { display: none; }
summary.vooma-drawer__summary::after {
	content: "";
	flex: none;
	width: 1rem;
	height: 1rem;
	background: var(--v-chevron) center / contain no-repeat;
	transition: rotate .25s var(--v-ease);
}
details[open] > summary.vooma-drawer__summary::after { rotate: 180deg; }
.vooma-drawer__count { margin-inline-start: auto; color: var(--v-muted); font-size: .78rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.vooma-drawer__panel { padding: 0 1.25rem 1.1rem; }
.vooma-drawer__all { display: inline-block; margin-bottom: .5rem; color: var(--v-cta); font-size: .9rem; font-weight: 600; text-decoration: none; }
.vooma-drawer__all::after { content: " →"; }
.vooma-drawer__groups { margin: 0; padding: 0; list-style: none; }
.vooma-drawer__group { display: block; padding: .55rem 0; color: var(--v-ink); font-size: .95rem; text-decoration: none; }
.vooma-drawer__subs { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 .55rem; padding: 0; list-style: none; }
.vooma-drawer__sub {
	display: inline-block;
	padding: .3rem .7rem;
	border: 1px solid var(--v-line);
	border-radius: 999px;
	color: var(--v-muted);
	font-size: .8rem;
	text-decoration: none;
}
.vooma-drawer [aria-current="page"] { color: var(--v-brand); font-weight: 600; }
@media (prefers-reduced-motion: reduce) {
	.vooma-mega__panel,
	.vooma-mega__panel * { transition: none !important; }
	.vooma-drawer[open],
	.vooma-drawer::backdrop,
	.vooma-eu-dialog[open],
	.vooma-legal-dialog[open] { animation: none; }
}

/* Announcement promises: all five in a row where they fit; below that one at a time,
   each rising in for 4 s (a ticker is hard to read). */
@media (max-width: 1400px) {
	.vooma-announcement > .vooma-announcement__items { position: relative; display: block; width: auto; }
	.vooma-announcement__item {
		position: absolute;
		inset: 0;
		justify-content: center;
		opacity: 0;
		animation: vooma-announce 20s var(--v-ease) infinite;
	}
	.vooma-announcement__item:nth-child(2) { animation-delay: 4s; }
	.vooma-announcement__item:nth-child(3) { animation-delay: 8s; }
	.vooma-announcement__item:nth-child(4) { animation-delay: 12s; }
	.vooma-announcement__item:nth-child(5) { animation-delay: 16s; }
}
@media (max-width: 640px) {
	.vooma-announcement > .vooma-announcement__items { letter-spacing: .09em; }
}
@keyframes vooma-announce {
	0% { opacity: 0; translate: 0 .6rem; }
	3%, 17% { opacity: 1; translate: 0 0; }
	20%, 100% { opacity: 0; translate: 0 -.6rem; }
}

/* 5. Home: hero + mosaic ==================================================== */
.vooma-hero {
	overflow: clip;
	padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(3.5rem, 8vw, 7rem);
}
.vooma-hero__grid { gap: clamp(2rem, 5vw, 5rem); margin: 0; }
.vooma-hero__title {
	margin: 0 0 1.25rem;
	font-size: var(--wp--preset--font-size--huge);
	font-weight: 460;
	line-height: .98;
	letter-spacing: -0.03em;
}
.vooma-hero__lead {
	max-width: 34ch;
	margin: 0 0 2rem;
	color: var(--v-muted);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.55;
}
.vooma-hero__actions { gap: .75rem; margin: 0 0 1.75rem; }
.vooma-hero__facts {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--v-muted);
	font-size: var(--wp--preset--font-size--small);
}
.vooma-hero__facts li { display: inline-flex; align-items: center; gap: .5rem; }
.vooma-hero__facts li::before {
	content: "";
	flex: none;
	width: 1.15rem;
	height: 1.15rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--v-success) 14%, #fff) var(--v-check) center / .7rem no-repeat;
}
.vooma-hero__media:not(:has(.wc-block-product)) { display: none; }

.vooma-mosaic .wc-block-product-template {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(.75rem, 1.8vw, 1.5rem);
	margin: 0;
	padding: 0 0 clamp(1.5rem, 4vw, 3.5rem);
	list-style: none;
}
.vooma-mosaic .wc-block-product-template > li {
	position: relative;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
}
.vooma-mosaic .wc-block-product-template > li:nth-child(even) { translate: 0 clamp(1.5rem, 4vw, 3.5rem); }
.vooma-mosaic .wc-block-components-product-image {
	margin: 0 !important;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: var(--v-r-xl);
	background: var(--v-surface);
}
.vooma-mosaic .wc-block-components-product-image a { display: block; height: 100%; }
.vooma-mosaic .wc-block-components-product-image img {
	width: 100%;
	height: 100% !important;
	padding: 12% 12% 22%;
	object-fit: contain !important;
	mix-blend-mode: multiply;
	transition: scale .9s var(--v-ease);
}
.vooma-mosaic li:hover .wc-block-components-product-image img { scale: 1.05; }
.vooma-mosaic .wc-block-components-product-price {
	position: absolute;
	left: .8rem;
	bottom: .8rem;
	margin: 0 !important;
	padding: .45rem .8rem;
	border-radius: 999px;
	background: rgb(255 255 255 / .92);
	box-shadow: var(--v-shadow-soft);
	font-size: .8125rem !important;
	pointer-events: none;
}

/* 6. USP band =============================================================== */
/* Four promises as big numbers: the stat in Fraunces, its label beside it, one line of
   proof under it; hairline dividers between the columns. */
.vooma-usps {
	padding-block: clamp(1.9rem, 3.5vw, 2.75rem);
	border-block: 1px solid var(--v-line);
	background: var(--v-surface);
}
.vooma-usps__grid { gap: 1.75rem 0; }
.vooma-usp {
	gap: 0;
	align-items: flex-start;
	padding-inline: clamp(1rem, 2.4vw, 2rem);
	border-inline-start: 1px solid var(--v-line);
}
.vooma-usp:first-child { padding-inline-start: 0; border-inline-start: 0; }
.vooma-usp > * { margin: 0 !important; }
.vooma-usp__icon { flex: none; margin-bottom: .85rem !important; }
.vooma-usp__icon img {
	display: block;
	width: 2.5rem !important;
	height: 2.5rem !important;
	padding: .55rem;
	border-radius: 999px;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--v-line);
}
.vooma-usp__title {
	display: grid;
	gap: .15rem;
	color: var(--v-ink);
	font-size: .95rem;
	font-weight: 600;
	line-height: 1.2;
}
.vooma-usp__stat {
	color: var(--v-brand);
	font-family: var(--v-display);
	font-size: clamp(1.85rem, 2.6vw, 2.35rem);
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -.015em;
	font-variation-settings: "SOFT" 50;
}
.vooma-usp__desc {
	margin-top: .4rem !important;
	color: var(--v-muted);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.45;
}
@media (max-width: 781px) {
	.vooma-usps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.vooma-usp:nth-child(odd) { padding-inline-start: 0; border-inline-start: 0; }
	.vooma-usp:nth-child(even) { padding-inline-end: 0; }
}

/* 7. Category tiles + chips ================================================= */
.vooma-tiles__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(.75rem, 1.6vw, 1.25rem);
	margin: 0;
	padding: 0;
	list-style: none;
}
.vooma-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--v-line);
	border-radius: var(--v-r-lg);
	background: #fff;
	color: var(--v-ink);
	text-decoration: none;
	transition: translate .45s var(--v-ease), box-shadow .45s var(--v-ease), border-color .3s;
}
.vooma-tile:hover { translate: 0 -4px; border-color: transparent; box-shadow: var(--v-shadow-lift); }
.vooma-tile__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--v-surface); }
.vooma-tile__media img {
	width: 100%;
	height: 100%;
	padding: 10%;
	object-fit: contain;
	mix-blend-mode: multiply;
	transition: scale .8s var(--v-ease);
}
.vooma-tile:hover .vooma-tile__media img { scale: 1.06; }
.vooma-tile__body { display: flex; flex-direction: column; gap: .2rem; padding: 1rem 3.5rem 1.15rem 1.15rem; }
.vooma-tile__name {
	font-family: var(--v-display);
	font-size: 1.15rem;
	font-weight: 550;
	line-height: 1.2;
	letter-spacing: -0.01em;
}
.vooma-tile__count { color: var(--v-muted); font-size: var(--wp--preset--font-size--x-small); }
.vooma-tile__arrow {
	position: absolute;
	right: 1rem;
	bottom: 1.1rem;
	display: grid;
	place-items: center;
	width: 2.1rem;
	height: 2.1rem;
	border-radius: 999px;
	background: var(--v-surface);
	color: var(--v-brand);
	transition: background .3s, color .3s, translate .45s var(--v-ease);
}
.vooma-tile:hover .vooma-tile__arrow { background: var(--v-brand); color: #fff; translate: 3px 0; }
@media (max-width: 1100px) {
	.vooma-tiles__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.vooma-tiles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.vooma-tile__body { padding: .8rem .9rem .9rem; }
	.vooma-tile__name { font-size: 1rem; }
	.vooma-tile__arrow { display: none; }
}

.vooma-catnav--chips { margin-top: 1.25rem; }
.vooma-catnav--chips .vooma-catnav__list { display: flex; flex-wrap: wrap; gap: .5rem; }
.vooma-catnav--chips .vooma-catnav__link {
	display: inline-block;
	padding: .5rem 1rem;
	border: 1px solid var(--v-line);
	border-radius: 999px;
	background: #fff;
	font-size: .875rem;
	white-space: nowrap;
	transition: border-color .2s, color .2s, background .2s;
}
.vooma-catnav--chips .vooma-catnav__link:hover { border-color: var(--v-brand); color: var(--v-brand); }
@media (max-width: 781px) {
	.vooma-catnav--chips .vooma-catnav__list {
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
		-webkit-mask-image: linear-gradient(90deg, #000 86%, transparent);
		mask-image: linear-gradient(90deg, #000 86%, transparent);
	}
	.vooma-catnav--chips .vooma-catnav__list::-webkit-scrollbar { display: none; }
}

/* 8. Product cards — rails + grids ========================================== */
:is(.vooma-rail, .vooma-grid) .wc-block-product-template {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1.5rem, 2.5vw, 2.25rem) clamp(.75rem, 1.6vw, 1.25rem);
	margin: 0;
	padding: 0;
	list-style: none;
}
:is(.vooma-rail, .vooma-grid) .wc-block-product-template > li {
	display: flex;
	flex-direction: column;
	gap: .35rem;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
}
:is(.vooma-rail, .vooma-grid) .wc-block-components-product-image {
	position: relative;
	margin: 0 0 .55rem !important;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: var(--v-r-lg);
	background: var(--v-surface);
}
:is(.vooma-rail, .vooma-grid) .wc-block-components-product-image a { display: block; height: 100%; }
:is(.vooma-rail, .vooma-grid) .wc-block-components-product-image img {
	width: 100%;
	height: 100% !important;
	padding: 9%;
	object-fit: contain !important;
	mix-blend-mode: multiply;
	transition: scale .7s var(--v-ease);
}
:is(.vooma-rail, .vooma-grid) li:hover .wc-block-components-product-image img { scale: 1.045; }
:is(.vooma-rail, .vooma-grid) .wp-block-post-title {
	display: -webkit-box;
	min-height: 2.7em;
	margin: 0;
	overflow: hidden;
	font-family: var(--v-sans);
	font-size: .95rem;
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: 0;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
}
:is(.vooma-rail, .vooma-grid) .wp-block-post-title a { color: var(--v-ink); text-decoration: none; }
:is(.vooma-rail, .vooma-grid) li:hover .wp-block-post-title a { color: var(--v-brand); }
:is(.vooma-rail, .vooma-grid) .wc-block-components-product-price { margin: 0 !important; font-size: 1.05rem !important; }
:is(.vooma-rail, .vooma-grid) .wc-block-components-product-button {
	margin: auto 0 0 !important;
	padding-top: .55rem;
	justify-content: stretch !important;
}
:is(.vooma-rail, .vooma-grid) .wc-block-components-product-button .wp-block-button__link {
	width: 100%;
	padding: .7rem 1rem;
	background: transparent;
	color: var(--v-brand);
	box-shadow: inset 0 0 0 1.5px var(--v-line-strong);
	font-size: .875rem !important;
}
:is(.vooma-rail, .vooma-grid) .wc-block-components-product-button .wp-block-button__link:hover {
	background: var(--v-brand);
	color: #fff;
	box-shadow: none;
}
.wc-block-components-product-button .added_to_cart {
	margin-top: .4rem;
	color: var(--v-brand);
	font-size: .8rem;
	font-weight: 600;
}

.wc-block-components-product-price,
.price { color: var(--v-ink); font-weight: 600; font-variant-numeric: proportional-nums; }
.wc-block-components-product-price del,
.price del {
	margin-right: .35em;
	color: var(--v-muted);
	font-size: .85em;
	font-weight: 400;
	text-decoration-thickness: 1px;
}
.wc-block-components-product-price ins,
.price ins { color: var(--v-sale); text-decoration: none; }
/* "Fra 571 kr" — a variable product before a choice (inc/variations.php). */
.vooma-price-from { margin-right: .1em; color: var(--v-muted); font-size: .8em; font-weight: 500; }

.wc-block-components-product-sale-badge,
.onsale {
	position: absolute;
	top: .75rem;
	left: .75rem;
	z-index: 2;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: .3rem .65rem !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--v-sale) !important;
	color: #fff !important;
	font-size: .75rem !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	letter-spacing: .02em;
	box-shadow: 0 8px 18px -10px rgb(220 38 38 / .8);
}

/* "Flere varianter" — a variable product's card, top right (inc/woocommerce.php). Two
   overlapping swatch dots say "more than one" without a word to read; the sale badge keeps the
   top left, and on narrow cards that carry both, this one moves to the bottom. */
.vooma-variants-badge {
	position: absolute;
	top: .75rem;
	right: .75rem;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	padding: .28rem .6rem .28rem .45rem;
	border: 1px solid var(--v-line);
	border-radius: 999px;
	background: rgb(255 255 255 / .94);
	color: var(--v-ink);
	font-size: .72rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: .01em;
	white-space: nowrap;
	box-shadow: 0 6px 16px -12px rgb(27 58 91 / .55);
	pointer-events: none;
}
.vooma-variants-badge svg { flex: none; width: 1.05rem; height: 1.05rem; overflow: visible; }
.vooma-variants-badge__back { fill: var(--v-cta); }
.vooma-variants-badge__front { fill: var(--v-brand); stroke: #fff; stroke-width: 1.5; }
@media (max-width: 600px) {
	.vooma-variants-badge { top: .5rem; right: .5rem; gap: .25rem; padding: .22rem .45rem .22rem .35rem; font-size: .66rem; }
	.wc-block-components-product-image:has(.wc-block-components-product-sale-badge) .vooma-variants-badge { top: auto; bottom: .5rem; }
}

@media (max-width: 1100px) {
	.vooma-grid .wc-block-product-template { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 781px) {
	.vooma-grid .wc-block-product-template { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.vooma-rail .wc-block-product-template {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: 64%;
		margin-inline: calc(-1 * var(--v-gutter));
		padding: 0 var(--v-gutter) .75rem;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--v-gutter);
		scrollbar-width: none;
	}
	.vooma-rail .wc-block-product-template::-webkit-scrollbar { display: none; }
	.vooma-rail .wc-block-product-template > li { scroll-snap-align: start; }
}

/* 9. Brand band ============================================================= */
.vooma-brandband {
	position: relative;
	overflow: clip;
	margin-block: var(--wp--preset--spacing--60);
	padding-block: var(--wp--preset--spacing--80);
	background: var(--wp--preset--gradient--navy-glow);
	color: rgb(255 255 255 / .82);
}
.vooma-brandband::before {
	content: "";
	position: absolute;
	top: -18rem;
	right: -12rem;
	width: 40rem;
	height: 40rem;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgb(204 69 19 / .38), transparent);
	pointer-events: none;
}
.vooma-brandband__grid { position: relative; gap: clamp(2rem, 6vw, 6rem); margin: 0; }
.vooma-brandband__title {
	margin: 0 0 2rem;
	color: #fff;
	font-size: var(--wp--preset--font-size--xx-large);
	line-height: 1.02;
}
.vooma-brandband__title em { color: var(--v-peach); }
.vooma-steps {
	display: grid;
	gap: 1.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: vooma-step;
}
.vooma-steps li {
	position: relative;
	padding: 0 0 1.75rem 5.25rem;
	border-bottom: 1px solid rgb(255 255 255 / .14);
	counter-increment: vooma-step;
	font-size: 1.0625rem;
	line-height: 1.55;
}
.vooma-steps li:last-child { padding-bottom: 0; border-bottom: 0; }
.vooma-steps li::before {
	content: counter(vooma-step, decimal-leading-zero);
	position: absolute;
	top: .05em;
	left: 0;
	color: var(--v-peach);
	font-family: var(--v-display);
	font-size: 2.75rem;
	font-style: italic;
	font-weight: 400;
	line-height: .9;
	font-variation-settings: "SOFT" 100, "WONK" 1;
}
.vooma-steps strong {
	display: block;
	margin-bottom: .2rem;
	color: #fff;
	font-family: var(--v-display);
	font-size: 1.3rem;
	font-weight: 550;
}
@media (max-width: 640px) {
	.vooma-steps li { padding-left: 3.75rem; }
	.vooma-steps li::before { font-size: 2.1rem; }
}

/* 10. Archive / search / Tilbud ============================================= */
.vooma-archive { padding-bottom: var(--wp--preset--spacing--70); }
.vooma-archive__head { padding-block: clamp(1.25rem, 3vw, 2.25rem) 1.25rem; }
.vooma-archive__title { margin: .25rem 0 .75rem; font-size: var(--wp--preset--font-size--xx-large); }
.vooma-archive__intro {
	max-width: 62ch;
	margin: 0;
	color: var(--v-muted);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.5;
}
.vooma-archive__intro:empty { display: none; }

/* Category copy (vooma/category-copy): intro under the title, long-form text under the
   grid. Both keep a reading measure but align with the grid's left edge. */
.vooma-copy--intro {
	max-width: 68ch;
	color: var(--v-muted);
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.6;
}
.vooma-copy--intro p { margin: 0 0 .5em; }
.vooma-copy__more summary {
	display: inline-flex;
	align-items: center;
	gap: .3em;
	color: var(--v-brand);
	font-weight: 600;
	list-style: none;
	cursor: pointer;
}
.vooma-copy__more summary::-webkit-details-marker { display: none; }
.vooma-copy__more summary::after {
	content: "";
	width: 1em;
	height: 1em;
	background: var(--v-chevron) center / contain no-repeat;
	transition: rotate .2s var(--v-ease);
}
.vooma-copy__more summary:hover { text-decoration: underline; text-underline-offset: 3px; }
.vooma-copy__more[open] summary { margin-bottom: .5em; }
.vooma-copy__more[open] summary::after { rotate: 180deg; }

.vooma-copy--outro {
	margin-top: var(--wp--preset--spacing--70);
	padding-top: var(--wp--preset--spacing--60);
	border-top: 1px solid var(--v-line);
	line-height: 1.7;
}
.vooma-copy--outro > * { max-width: 72ch; }
.vooma-copy--outro h2 { margin: 1.5em 0 .45em; font-size: var(--wp--preset--font-size--x-large); }
.vooma-copy--outro h3 { margin: 1.3em 0 .35em; font-size: var(--wp--preset--font-size--large); }
.vooma-copy--outro > :first-child { margin-top: 0; }
.vooma-copy--outro :is(p, ul, ol) { margin: 0 0 1em; }
.vooma-copy--outro li + li { margin-top: .3em; }

.woocommerce-breadcrumb {
	margin: 0 0 .75rem;
	color: var(--v-muted);
	font-size: var(--wp--preset--font-size--x-small);
}
.woocommerce-breadcrumb a { color: var(--v-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--v-brand); text-decoration: underline; text-underline-offset: 3px; }
.vooma-crumb-sep { margin-inline: .5em; color: var(--v-line-strong); }

.vooma-toolbar {
	gap: .75rem 1.5rem;
	margin-block: .5rem 1.75rem;
	padding-block: .9rem;
	border-block: 1px solid var(--v-line);
}
.vooma-toolbar .woocommerce-result-count { margin: 0; color: var(--v-muted); font-size: var(--wp--preset--font-size--small); }
.vooma-toolbar .woocommerce-ordering { margin: 0; }
.woocommerce-ordering select,
.vooma-product__cart table.variations select {
	-webkit-appearance: none;
	appearance: none;
	padding: .6rem 2.6rem .6rem 1.1rem;
	border: 1px solid var(--v-line-strong);
	border-radius: 999px;
	background: #fff var(--v-chevron) right 1rem center / .9rem no-repeat;
	color: var(--v-ink);
	font: inherit;
	font-size: var(--wp--preset--font-size--small);
	cursor: pointer;
}

.wp-block-query-pagination { gap: .45rem; margin-top: var(--wp--preset--spacing--60); font-size: var(--wp--preset--font-size--small); }
.wp-block-query-pagination-numbers { display: flex; gap: .45rem; }
.wp-block-query-pagination .page-numbers,
.wp-block-query-pagination-previous,
.wp-block-query-pagination-next {
	display: inline-grid;
	place-items: center;
	min-width: 2.75rem;
	height: 2.75rem;
	padding: 0 1rem;
	border: 1px solid var(--v-line);
	border-radius: 999px;
	color: var(--v-ink);
	text-decoration: none;
	transition: border-color .2s, background .2s, color .2s;
}
.wp-block-query-pagination a:hover { border-color: var(--v-brand); color: var(--v-brand); }
.wp-block-query-pagination .page-numbers.current { border-color: var(--v-brand); background: var(--v-brand); color: #fff; }
.wp-block-query-pagination .page-numbers.dots { min-width: 0; padding: 0 .25rem; border-color: transparent; }

.vooma-sale-hero .vooma-archive__title { color: var(--v-ink); }

/* 11. Product page ========================================================== */
.vooma-product { padding-block: clamp(1rem, 2.5vw, 2rem) var(--wp--preset--spacing--70); }
.vooma-product__grid { gap: clamp(2rem, 5vw, 4.5rem); margin-block: 1rem 0; }

/* WooCommerce's classic CSS gives the gallery a fixed width + float; fill the column. */
.vooma-product__media .woocommerce-product-gallery {
	position: relative;
	width: 100% !important;
	margin: 0;
	float: none !important;
}
.vooma-product__media .woocommerce-product-gallery__wrapper,
.vooma-product__media .flex-viewport {
	overflow: hidden;
	border-radius: var(--v-r-xl);
	background: var(--v-surface);
}
.vooma-product__media .woocommerce-product-gallery__image img {
	width: 100%;
	aspect-ratio: 1;
	padding: 6%;
	object-fit: contain;
	mix-blend-mode: multiply;
}
.vooma-product__media .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: .75rem;
	margin: .9rem 0 0;
	padding: 0;
	list-style: none;
}
.vooma-product__media .flex-control-thumbs li { width: auto !important; margin: 0 !important; float: none !important; }
.vooma-product__media .flex-control-thumbs img {
	aspect-ratio: 1;
	padding: 8%;
	border: 1.5px solid transparent;
	border-radius: var(--v-r-md);
	background: var(--v-surface);
	object-fit: contain;
	mix-blend-mode: multiply;
	opacity: .6;
	cursor: pointer;
	transition: opacity .2s, border-color .2s;
}
.vooma-product__media .flex-control-thumbs img.flex-active,
.vooma-product__media .flex-control-thumbs img:hover { border-color: var(--v-brand); opacity: 1; }
.woocommerce-product-gallery__trigger {
	position: absolute;
	top: 1rem;
	right: 1rem;
	z-index: 5;
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 999px;
	background: #fff;
	box-shadow: var(--v-shadow-soft);
	font-size: 0;
	text-decoration: none;
}
.woocommerce-product-gallery__trigger > span[aria-hidden] { display: none; }
.woocommerce-product-gallery__trigger::before {
	content: "";
	width: 1.2rem;
	height: 1.2rem;
	background: var(--v-ink);
	-webkit-mask: url("../icons/zoom.svg") center / contain no-repeat;
	mask: url("../icons/zoom.svg") center / contain no-repeat;
}

@media (min-width: 782px) {
	.vooma-product__summary { position: sticky; top: 9rem; align-self: flex-start; }
}
.vooma-product__cats {
	margin: 0 0 .75rem;
	color: var(--v-muted);
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.vooma-product__cats a { color: inherit; text-decoration: none; }
.vooma-product__cats a:hover { color: var(--v-brand); }
.vooma-product__title { margin: 0 0 1rem; font-size: var(--wp--preset--font-size--x-large); line-height: 1.12; }
.vooma-product__price .wc-block-components-product-price,
.vooma-product__price.wc-block-components-product-price {
	font-family: var(--v-display);
	font-size: 2.1rem !important;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.015em;
}
.vooma-product__price del { font-size: .6em; }
.vooma-product__price .vooma-price-from { font-family: var(--v-sans); font-size: .5em; letter-spacing: 0; }
.vooma-product__summary .vooma-product__vat { margin: .15rem 0 .6rem; color: var(--v-muted); font-size: var(--wp--preset--font-size--x-small); }
.wc-block-components-product-stock-indicator {
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	margin: .5rem 0 1.1rem;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
}
.wc-block-components-product-stock-indicator--in-stock { color: var(--v-success); }
.wc-block-components-product-stock-indicator--in-stock::before {
	content: "";
	width: .55rem;
	height: .55rem;
	border-radius: 999px;
	background: currentColor;
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--v-success) 18%, transparent);
}
/* Variable products have no stock text until a variation is chosen — no lonely dot. */
.wc-block-components-product-stock-indicator:empty { display: none; }
.vooma-product__excerpt { margin-bottom: 1.5rem; color: var(--v-muted); }
.vooma-product__excerpt :is(p, ul) { margin: 0 0 .75rem; }
.vooma-product__excerpt ul { display: grid; gap: .4rem; padding: 0; list-style: none; }
.vooma-product__excerpt li { position: relative; padding-left: 1.6rem; }
.vooma-product__excerpt li::before {
	content: "";
	position: absolute;
	top: .28em;
	left: 0;
	width: 1rem;
	height: 1rem;
	background: var(--v-check) center / contain no-repeat;
}

/* (.vooma-product raises specificity over WooCommerce's inline stepper grid.) */
.vooma-product .vooma-product__cart form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: .75rem;
	margin: 0 0 1.5rem;
}
.vooma-product .vooma-product__cart form.variations_form { display: block; }
.vooma-product .vooma-product__cart .single_variation_wrap { width: 100%; }
.vooma-product__cart .quantity .qty {
	width: 5.5rem;
	height: 3.5rem;
	border: 1px solid var(--v-line-strong);
	border-radius: 999px;
	font: inherit;
	font-weight: 600;
	text-align: center;
}
/* Quantity as − 1 + (the block's stepper style): one pill, big touch targets. */
.vooma-product__cart .quantity.wc-block-components-quantity-selector {
	display: inline-flex;
	flex: none;
	align-items: center;
	width: auto;
	height: 3.5rem;
	margin: 0;
	padding: 0 .3rem;
	border: 1px solid var(--v-line-strong);
	border-radius: 999px;
	background: #fff;
}
.vooma-product__cart .quantity.wc-block-components-quantity-selector::after { display: none; }
.vooma-product__cart .wc-block-components-quantity-selector .qty {
	order: 2;
	box-sizing: border-box;
	width: 2.4rem;
	height: 2.6rem;
	margin: 0;
	padding: 0 !important;
	border: 0;
	border-radius: 0;
	background: transparent;
	line-height: 2.6rem;
	-moz-appearance: textfield;
	appearance: textfield;
}
/* Variable products: quantity + button in one row (WooCommerce's stepper CSS makes this a
   grid with a narrow button column). */
.vooma-product .vooma-product__cart .woocommerce-variation-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .75rem;
}
.vooma-product__cart .wc-block-components-quantity-selector .qty::-webkit-inner-spin-button,
.vooma-product__cart .wc-block-components-quantity-selector .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.vooma-product__cart .wc-block-components-quantity-selector__button {
	display: grid;
	place-items: center;
	width: 2.6rem;
	height: 2.6rem;
	min-width: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--v-ink);
	font-size: 1.3rem;
	line-height: 1;
	cursor: pointer;
	opacity: 1;
	transition: background .2s;
}
.vooma-product__cart .wc-block-components-quantity-selector__button--minus { order: 1; }
.vooma-product__cart .wc-block-components-quantity-selector__button--plus { order: 3; }
.vooma-product__cart .wc-block-components-quantity-selector__button:hover { background: var(--v-surface); }
.vooma-product__cart .wc-block-components-quantity-selector__button:disabled { color: var(--v-line-strong); cursor: default; }
.vooma-product__cart .single_add_to_cart_button {
	flex: 1 1 0;
	min-width: 9rem;
	height: 3.5rem;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--v-cta) !important;
	color: #fff !important;
	font-size: 1rem !important;
	font-weight: 700 !important;
	letter-spacing: .01em;
	cursor: pointer;
	box-shadow: 0 14px 30px -16px rgb(204 69 19 / .75);
	transition: background .2s, translate .2s var(--v-ease), box-shadow .2s;
}
.vooma-product__cart .single_add_to_cart_button:hover { background: var(--v-cta-deep) !important; translate: 0 -1px; }
.vooma-product__cart .single_add_to_cart_button:is(.disabled, :disabled) { opacity: .45; box-shadow: none; translate: none; }
.vooma-product__cart .single_add_to_cart_button:is(.disabled, :disabled):hover { background: var(--v-cta) !important; }

/* Variation choices: label above its control. WooCommerce's block-theme CSS sizes these
   selects with more specificity than ours, clipping the text — hence the !important. */
.vooma-product__cart table.variations,
.vooma-product__cart table.variations :is(tbody, tr, th, td) { display: block; width: 100%; border: 0; }
.vooma-product__cart table.variations { margin: 0 0 1.25rem; }
.vooma-product__cart table.variations tr + tr { margin-top: 1.1rem; }
.vooma-product__cart table.variations th { padding: 0 0 .5rem; text-align: left; font-size: var(--wp--preset--font-size--small); line-height: 1.3; }
.vooma-product__cart table.variations th label { font-weight: 600; }
.vooma-product__cart table.variations th label[data-current]::after { content: " · " attr(data-current); color: var(--v-muted); font-weight: 400; }
.vooma-product__cart table.variations td { padding: 0; }
.vooma-product .vooma-product__cart table.variations select {
	width: 100% !important;
	max-width: 26rem;
	height: auto !important;
	min-height: 3rem;
	margin: 0 !important;
	padding: .75rem 2.75rem .75rem 1.1rem !important;
	line-height: 1.35 !important;
	font-size: var(--wp--preset--font-size--small) !important;
}
.vooma-product__cart .reset_variations { display: inline-block; margin-top: .6rem; color: var(--v-muted); font-size: .8rem; }
/* The chosen variation's price is the one under the title (variation-summary.js). On
   desktop that price is a glance away, so no second one here; on phones the title is a
   screen above, so the price stands again right over the button, beside the stock. */
.vooma-product__cart .woocommerce-variation-price { display: none; }
@media (max-width: 781px) {
	.vooma-product__cart .woocommerce-variation.single_variation:has(.price) {
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
		gap: .15rem .85rem;
		margin-bottom: .9rem;
	}
	.vooma-product__cart .woocommerce-variation-description:empty { display: none; }
	.vooma-product__cart .woocommerce-variation-price {
		display: block;
		margin: 0;
		font-family: var(--v-display);
		font-size: 1.75rem;
		font-weight: 600;
		line-height: 1.15;
	}
	.vooma-product__cart .woocommerce-variation-price del { font-size: .6em; }
	.vooma-product__cart .single_variation .woocommerce-variation-availability .stock { margin: 0; }
}
.vooma-product__cart .woocommerce-variation-availability .stock { margin: 0 0 1rem; font-size: var(--wp--preset--font-size--small); font-weight: 500; }
.vooma-product__cart .woocommerce-variation-availability .in-stock { color: var(--v-success); }
.vooma-product__cart .woocommerce-variation-availability .out-of-stock { color: var(--v-sale); }
/* A choice still missing when the buy bar sent the customer here. */
.vooma-product__cart table.variations tr.is-missing { animation: vooma-missing 1.6s var(--v-ease); border-radius: var(--v-r-md); }
@keyframes vooma-missing {
	0%, 60% { box-shadow: 0 0 0 .5rem color-mix(in srgb, var(--v-cta) 16%, transparent); background: color-mix(in srgb, var(--v-cta) 16%, transparent); }
	100% { box-shadow: 0 0 0 .5rem transparent; background: transparent; }
}

/* Buy bar (phones, variation-summary.js): price, what's chosen, "Læg i kurv" — while the
   form's own button is off screen. */
.vooma-buybar { display: none; }
@media (max-width: 781px) {
	.vooma-buybar {
		position: fixed;
		inset: auto 0 0;
		z-index: 90;
		display: flex;
		align-items: center;
		gap: .9rem;
		padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
		border-top: 1px solid var(--v-line);
		background: rgb(255 255 255 / .97);
		box-shadow: 0 -14px 34px -22px rgb(15 23 42 / .45);
		translate: 0 110%;
		visibility: hidden;
		transition: translate .3s var(--v-ease), visibility 0s linear .3s;
	}
	.vooma-buybar.is-visible { translate: 0 0; visibility: visible; transition: translate .3s var(--v-ease), visibility 0s; }
	.vooma-has-buybar .wp-site-blocks { padding-bottom: 5.25rem; }
	.vooma-buybar__info { flex: 1; min-width: 0; }
	.vooma-buybar__price {
		color: var(--v-ink);
		font-family: var(--v-display);
		font-size: 1.3rem;
		font-weight: 600;
		line-height: 1.15;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	.vooma-buybar__price .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.vooma-buybar__price del { font-size: .7em; }
	.vooma-buybar__price .vooma-price-from { font-family: var(--v-sans); font-size: .6em; }
	.vooma-buybar__meta {
		margin-top: .1rem;
		color: var(--v-muted);
		font-size: .78rem;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	.vooma-buybar__button {
		flex: none;
		min-width: 9.5rem;
		height: 3rem;
		padding: 0 1.3rem;
		border: 0;
		border-radius: 999px;
		background: var(--v-cta);
		color: #fff;
		font: inherit;
		font-size: .95rem;
		font-weight: 700;
		box-shadow: 0 12px 26px -14px rgb(204 69 19 / .8);
		cursor: pointer;
	}
	.vooma-buybar__button:active { background: var(--v-cta-deep); }
	.vooma-buybar__button:disabled { opacity: .45; box-shadow: none; }
}
@media (max-width: 781px) and (prefers-reduced-motion: reduce) {
	.vooma-buybar { transition: none; }
}

/* Colour swatches (inc/swatches.php + assets/js/swatches.js). */
.vooma-swatches { position: relative; }
.vooma-swatches select {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	min-height: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	opacity: 0;
	pointer-events: none;
}
.vooma-swatches__list { display: flex; flex-wrap: wrap; gap: .55rem; }
.vooma-swatch {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: none;
	cursor: pointer;
}
.vooma-swatch__paint {
	width: 2.15rem;
	height: 2.15rem;
	border-radius: 999px;
	box-shadow: inset 0 0 0 1px rgb(0 0 0 / .14);
	transition: scale .2s var(--v-ease);
}
.vooma-swatch::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 999px;
	box-shadow: inset 0 0 0 2px transparent;
	transition: box-shadow .2s var(--v-ease);
}
.vooma-swatch:hover .vooma-swatch__paint { scale: 1.07; }
.vooma-swatch[aria-checked="true"]::after { box-shadow: inset 0 0 0 2px var(--v-brand); }
.vooma-swatch--gloss .vooma-swatch__paint { position: relative; }
.vooma-swatch--gloss .vooma-swatch__paint::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: radial-gradient(circle at 32% 28%, rgb(255 255 255 / .95), transparent 48%);
}
.vooma-swatch--text {
	width: auto;
	height: auto;
	min-height: 2.5rem;
	padding: .45rem .95rem;
	border: 1px solid var(--v-line-strong);
	color: var(--v-ink);
	font: inherit;
	font-size: var(--wp--preset--font-size--small);
}
.vooma-swatch--text[aria-checked="true"] { border-color: var(--v-brand); }
.vooma-swatch.is-unavailable { opacity: .38; }
.vooma-swatch.is-unavailable:hover { opacity: .7; }
.vooma-swatch.is-soldout { opacity: .32; cursor: not-allowed; }
.vooma-swatch.is-soldout .vooma-swatch__paint { scale: 1; }
.vooma-swatch.is-soldout::before {
	content: "";
	position: absolute;
	z-index: 1;
	width: 2.4rem;
	height: 2px;
	border-radius: 2px;
	background: var(--v-ink);
	rotate: -45deg;
}

/* Promises under "Læg i kurv": icon disc + a bold line + one line of detail, so rows
   never wrap into ragged halves in the narrow summary column. */
.vooma-trust {
	margin: 0 0 1.5rem;
	padding: .25rem 1.1rem;
	border: 1px solid var(--v-line);
	border-radius: var(--v-r-lg);
	background: #fff;
	list-style: none;
}
.vooma-trust li {
	display: grid;
	grid-template-columns: 2.35rem minmax(0, 1fr);
	align-items: center;
	column-gap: .85rem;
	padding: .8rem 0;
}
.vooma-trust li + li { border-top: 1px solid var(--v-line); }
.vooma-trust li::before {
	content: "";
	grid-row: span 2;
	width: 2.35rem;
	height: 2.35rem;
	border-radius: 999px;
	background: var(--v-surface) var(--icon) center / 1.2rem no-repeat;
}
.vooma-trust strong { display: block; color: var(--v-ink); font-size: .92rem; font-weight: 600; line-height: 1.3; }
.vooma-trust span { display: block; margin-top: .1rem; color: var(--v-muted); font-size: .8rem; line-height: 1.35; }
.vooma-trust .vooma-trust__eta strong { color: color-mix(in srgb, var(--v-success) 78%, #000); } /* ≥ 4.5:1 on white */
.vooma-trust .vooma-trust__eta::before { background-color: color-mix(in srgb, var(--v-success) 11%, #fff); }
.vooma-trust__truck { --icon: url("../icons/truck.svg"); }
.vooma-trust__rotate { --icon: url("../icons/rotate.svg"); }
.vooma-trust__award { --icon: url("../icons/award.svg"); }
.vooma-trust__chat { --icon: url("../icons/chat.svg"); }
.vooma-trust__shield { --icon: url("../icons/shield.svg"); }
.vooma-trust__lock { --icon: url("../icons/lock.svg"); }
.wp-block-woocommerce-product-meta { color: var(--v-muted); font-size: var(--wp--preset--font-size--x-small); }

.vooma-product__details { margin-top: var(--wp--preset--spacing--70); }
.vooma-product__details .woocommerce-tabs ul.tabs {
	display: flex;
	gap: 1.75rem;
	margin: 0 0 2rem;
	padding: 0;
	overflow-x: auto;
	border-bottom: 1px solid var(--v-line);
	list-style: none;
}
.vooma-product__details .woocommerce-tabs ul.tabs::before,
.vooma-product__details .woocommerce-tabs ul.tabs li::before,
.vooma-product__details .woocommerce-tabs ul.tabs li::after { display: none !important; }
.vooma-product__details .woocommerce-tabs ul.tabs li { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
.vooma-product__details .woocommerce-tabs ul.tabs li a {
	display: block;
	margin-bottom: -1px;
	padding: 1rem 0;
	border-bottom: 2px solid transparent;
	color: var(--v-muted);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}
.vooma-product__details .woocommerce-tabs ul.tabs li.active a { border-color: var(--v-cta); color: var(--v-ink); }
.vooma-product__details .woocommerce-Tabs-panel { max-width: 72ch; }
.vooma-product__details .woocommerce-Tabs-panel > h2:first-child { font-size: var(--wp--preset--font-size--large); }
.vooma-product__details table.woocommerce-product-attributes { width: 100%; border: 0; border-collapse: collapse; }
.vooma-product__details table.woocommerce-product-attributes th,
.vooma-product__details table.woocommerce-product-attributes td {
	padding: .75rem 0;
	border: 0;
	border-bottom: 1px solid var(--v-line);
	font-size: var(--wp--preset--font-size--small);
	text-align: left;
}
.vooma-product__details table.woocommerce-product-attributes th { width: 35%; color: var(--v-muted); font-weight: 500; }
.vooma-product__details table.woocommerce-product-attributes td p { margin: 0; }
.vooma-section--related { padding-bottom: 0; }

/* 12. Cart, checkout, mini-cart, notices, forms ============================== */
.vooma-cart,
.vooma-checkout { padding-block: var(--wp--preset--spacing--50) var(--wp--preset--spacing--70); }
.vooma-page__title { margin-bottom: var(--wp--preset--spacing--50); }
/* WooCommerce caps the cart/checkout title at 1000px; align it with the 1200px content. */
:is(.vooma-cart, .vooma-checkout) .vooma-page__title { max-width: 1200px !important; }
.wc-block-components-button:not(.is-link) { border-radius: 999px; }
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
.wc-block-mini-cart__footer-checkout {
	min-height: 3.25rem;
	border: 0 !important;
	background: var(--v-cta) !important;
	color: #fff !important;
	font-weight: 700 !important;
	box-shadow: 0 14px 30px -18px rgb(204 69 19 / .8);
}
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover,
.wc-block-mini-cart__footer-checkout:hover { background: var(--v-cta-deep) !important; }
.wc-block-mini-cart__footer-cart { border-radius: 999px !important; }
.wc-block-cart .wc-block-cart__sidebar {
	align-self: flex-start;
	padding: 1.5rem !important;
	border-radius: var(--v-r-lg);
	background: var(--v-surface);
}
/* Checkout: WooCommerce draws its own framed order summary — style that frame instead
   of wrapping it in a second card. */
.wc-block-checkout .wp-block-woocommerce-checkout-order-summary-block {
	overflow: hidden;
	border-color: var(--v-line) !important;
	border-radius: var(--v-r-lg);
	background: var(--v-surface);
}
.wc-block-cart-item__image img,
.wc-block-components-order-summary-item__image img {
	border-radius: var(--v-r-sm);
	background: var(--v-surface);
	mix-blend-mode: multiply;
}
.wc-block-components-product-name { color: var(--v-ink); font-weight: 600; text-decoration: none; }
.wc-block-components-text-input input,
.wc-block-components-textarea,
.wc-blocks-components-select .wc-blocks-components-select__select { border-radius: var(--v-r-sm) !important; }
.wc-block-components-notice-banner,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error { border-radius: var(--v-r-md); }
.wc-block-mini-cart__title { font-family: var(--v-display); font-weight: 500; }

.vooma-site-header--checkout { position: relative; z-index: 10; }
.vooma-checkout-header { border-bottom: 1px solid var(--v-line); background: #fff; }
.vooma-checkout-header > .alignwide { gap: 1rem; padding-block: 1.1rem; }
.vooma-checkout-header__meta { gap: .5rem 1.5rem; }
.vooma-checkout-header__meta p { margin: 0; }
.vooma-secure-badge {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	color: var(--v-success);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
}
.vooma-secure-badge::before {
	content: "";
	width: 1rem;
	height: 1rem;
	background: currentColor;
	-webkit-mask: url("../icons/lock.svg") center / contain no-repeat;
	mask: url("../icons/lock.svg") center / contain no-repeat;
}
.vooma-checkout-header__back a { color: var(--v-muted); font-size: var(--wp--preset--font-size--small); }
.vooma-checkout-footer {
	padding-block: 1.5rem 2rem;
	border-top: 1px solid var(--v-line);
	color: var(--v-muted);
	font-size: var(--wp--preset--font-size--x-small);
}

/* 13. Footer ================================================================ */
.vooma-footer {
	margin-top: var(--wp--preset--spacing--70);
	padding-block: var(--wp--preset--spacing--70) 1.5rem;
	background: var(--v-brand-deep);
	color: rgb(255 255 255 / .74);
	font-size: var(--wp--preset--font-size--small);
}
.vooma-home + .vooma-site-footer .vooma-footer { margin-top: 0; }
.vooma-footer a,
.vooma-footer .vooma-catnav__link { color: rgb(255 255 255 / .88); text-decoration: none; }
.vooma-footer a:hover,
.vooma-footer .vooma-catnav__link:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.vooma-footer .vooma-catnav__link--sale { color: #ffb4b4; }
.vooma-footer__top { gap: 2.5rem 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgb(255 255 255 / .12); }
.vooma-footer .vooma-logo { --vooma-logo-h: 1.75rem; }
.vooma-footer__brand p { max-width: 30ch; margin: 1rem 0 0; }
.vooma-footer__brand .vooma-footer__tagline { margin-top: 1.25rem; color: #fff; font-family: var(--v-display); font-size: 1.3rem; font-weight: 600; line-height: 1.2; }
.vooma-footer__brand .vooma-footer__tagline + p { margin-top: .5rem; }
.vooma-footer__heading {
	margin: 0 0 1rem;
	color: #fff;
	font-family: var(--v-sans);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
}
.vooma-footer__links,
.vooma-footer__facts,
.vooma-catnav--list .vooma-catnav__list { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.vooma-footer__facts li { display: flex; align-items: center; gap: .55rem; }
.vooma-footer__facts li::before {
	content: "";
	flex: none;
	width: .4rem;
	height: .4rem;
	border-radius: 999px;
	background: var(--v-peach);
}
.vooma-footer__bottom {
	gap: .5rem 2rem;
	padding-top: 1.25rem;
	color: rgb(255 255 255 / .62);
	font-size: var(--wp--preset--font-size--x-small);
}
.vooma-footer__bottom p { margin: 0; }
.vooma-footer .vooma-footer__contact { margin: 0 0 1rem; line-height: 1.75; }
.vooma-footer .vooma-footer__contact a { color: #fff; font-weight: 600; }
.vooma-footer .vooma-footer__contact span { color: rgb(255 255 255 / .62); font-size: var(--wp--preset--font-size--x-small); }

/* Accepted cards (patterns/payment-logos.php) — footer and checkout. */
.vooma-paylogos { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: 0; }
.vooma-paylogos__label { margin-inline-end: .2rem; }
.vooma-paylogos img { display: block; width: 2.9rem; height: auto; aspect-ratio: 242.65 / 153.01; padding: .15rem; border-radius: .3rem; background: #fff; box-shadow: 0 0 0 1px rgb(15 23 42 / .08); }
.vooma-checkout-footer .vooma-paylogos { justify-content: center; margin-top: .75rem; }
.vooma-checkout-footer__contact { margin-top: .35rem; }
.vooma-checkout-footer a { color: var(--v-brand); }

/* 14. Pages, 404, empty states ============================================== */
.vooma-page { padding-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--70); }
.vooma-404 { padding-block: var(--wp--preset--spacing--80); text-align: center; }
.vooma-404 > :where(:not(.alignwide)) { margin-inline: auto; }
.vooma-404__code {
	margin: 0;
	color: transparent;
	font-family: var(--v-display);
	font-size: clamp(6rem, 18vw, 12rem);
	font-style: italic;
	font-weight: 300;
	line-height: .85;
	-webkit-text-stroke: 1.5px var(--v-line-strong);
	font-variation-settings: "SOFT" 100, "WONK" 1;
}
.vooma-404__title { margin: .5rem 0 1rem; }
.vooma-404__lead { max-width: 46ch; color: var(--v-muted); }
:is(.vooma-404, .vooma-empty) .vooma-search { max-width: 34rem; margin: 1.75rem auto 3rem; }
.vooma-empty { padding-block: var(--wp--preset--spacing--60); }
.vooma-empty__lead { color: var(--v-muted); }

/* 15. Motion ================================================================ */
@media (prefers-reduced-motion: no-preference) {
	@view-transition { navigation: auto; }

	.vooma-hero__copy > * { animation: vooma-rise-in .9s var(--v-ease) both; }
	.vooma-hero__copy > :nth-child(2) { animation-delay: .06s; }
	.vooma-hero__copy > :nth-child(3) { animation-delay: .12s; }
	.vooma-hero__copy > :nth-child(4) { animation-delay: .18s; }
	.vooma-hero__copy > :nth-child(5) { animation-delay: .24s; }
	.vooma-mosaic .wc-block-product-template > li { animation: vooma-rise-in 1.1s var(--v-ease) both; }
	.vooma-mosaic .wc-block-product-template > li:nth-child(1) { animation-delay: .15s; }
	.vooma-mosaic .wc-block-product-template > li:nth-child(2) { animation-delay: .25s; }
	.vooma-mosaic .wc-block-product-template > li:nth-child(3) { animation-delay: .35s; }
	.vooma-mosaic .wc-block-product-template > li:nth-child(4) { animation-delay: .45s; }

	@supports (animation-timeline: view()) {
		.vooma-section__head,
		.vooma-usp,
		.vooma-tiles__item,
		.vooma-steps li,
		:is(.vooma-rail, .vooma-grid) .wc-block-product-template > li {
			animation: vooma-rise linear both;
			animation-timeline: view();
			animation-range: entry 5% entry 45%;
		}
	}
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	/* The rotating announcement holds still on its first promise. */
	.vooma-announcement__item { animation: none !important; }
	.vooma-announcement__item:first-child { opacity: 1; }
	*,
	*::before,
	*::after { transition-duration: .01ms !important; }
}
@keyframes vooma-rise-in {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: none; }
}
@keyframes vooma-rise {
	from { opacity: .001; transform: translateY(28px); }
	to { opacity: 1; transform: none; }
}

/* Legal pages (wp-shop/content/legal) and the “Fortryd aftale” function
   (mu-plugins/vooma-legal.php) ============================================= */
.vooma-legal { max-width: 46rem; color: var(--v-ink); font-size: 1rem; line-height: 1.65; }
.vooma-legal__meta { margin: 0 0 .75rem; color: var(--v-muted); font-size: .85rem; }
.vooma-legal__lead { margin: 0 0 2rem; color: var(--v-ink); font-size: 1.125rem; }
.vooma-legal h2 { margin: 2.5rem 0 .75rem; font-size: 1.45rem; line-height: 1.25; scroll-margin-top: 9rem; }
.vooma-legal :is(p, ul, ol) { margin: 0 0 1rem; }
.vooma-legal :is(ul, ol) { padding-left: 1.25rem; }
.vooma-legal li + li { margin-top: .35rem; }
.vooma-legal a { color: var(--v-brand); text-underline-offset: 3px; }
.vooma-legal__card { padding: 1rem 1.25rem; border: 1px solid var(--v-line); border-radius: var(--v-r-md); background: var(--v-surface); }
.vooma-legal__toc { margin: 0 0 2.5rem; padding: 1.25rem 1.5rem; border: 1px solid var(--v-line); border-radius: var(--v-r-lg); background: #fff; }
.vooma-legal__toc-title { margin: 0 0 .6rem !important; color: var(--v-muted); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.vooma-legal__toc ol { columns: 2 14rem; column-gap: 2rem; margin: 0; padding-left: 1.25rem; }
.vooma-legal__toc li { margin: 0 0 .3rem; break-inside: avoid; }
.vooma-legal__form { padding: 1.5rem; border: 1px dashed var(--v-line-strong); border-radius: var(--v-r-md); }
.vooma-legal [id] { scroll-margin-top: 9rem; }
.vooma-legal__card small { display: block; margin-top: .35rem; color: var(--v-muted); font-size: .85rem; line-height: 1.45; }
.vooma-legal .vooma-legal__postcodes { margin: 0 0 1.25rem; padding: .9rem 1.25rem .9rem 2.25rem; border: 1px solid var(--v-line); border-radius: var(--v-r-md); background: var(--v-surface); font-size: .95rem; }
.vooma-legal__line { height: 1.8rem; margin: 0 0 1rem; border-bottom: 1px solid var(--v-line-strong); }
/* Cookie policy: tables scroll sideways on phones instead of squeezing the columns. */
.vooma-legal__table { margin: 0 0 1rem; overflow-x: auto; border: 1px solid var(--v-line); border-radius: var(--v-r-md); }
.vooma-legal__table table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: .88rem; line-height: 1.45; }
.vooma-legal__table :is(th, td) { padding: .6rem .8rem; border-bottom: 1px solid var(--v-line); text-align: left; vertical-align: top; }
.vooma-legal__table th { background: var(--v-surface); color: var(--v-muted); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.vooma-legal__table tr:last-child td { border-bottom: 0; }
.vooma-legal__table td:last-child { white-space: nowrap; }
.vooma-legal code { padding: .05rem .3rem; border-radius: var(--v-r-sm); background: var(--v-surface); font-size: .85em; overflow-wrap: anywhere; }
.vooma-legal .vooma-legal__cta {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding: .55rem 1.25rem;
	border-radius: var(--v-r-md);
	background: var(--v-brand);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
}
.vooma-legal .vooma-legal__cta:hover { background: var(--v-brand-deep); }

.vooma-withdrawal { display: grid; max-width: 34rem; margin: 1.5rem 0; padding: 1.5rem; border: 1px solid var(--v-line); border-radius: var(--v-r-lg); background: #fff; box-shadow: var(--v-shadow-soft); }
.vooma-withdrawal > p { margin: 0; }
.vooma-withdrawal__field { display: grid; gap: .35rem; margin: 0 0 1.1rem !important; }
.vooma-withdrawal__field label { font-size: .95rem; font-weight: 600; }
.vooma-withdrawal__field label span { color: var(--v-muted); font-weight: 400; }
.vooma-withdrawal :is(input, textarea) { box-sizing: border-box; width: 100%; padding: .75rem 1rem; border: 1px solid var(--v-line-strong); border-radius: var(--v-r-sm); background: #fff; font: inherit; }
.vooma-withdrawal small { color: var(--v-muted); font-size: .8rem; }
.vooma-withdrawal__trap { position: absolute !important; left: -9999px; }
.vooma-withdrawal :is(.vooma-withdrawal__submit, .vooma-withdrawal__print) {
	min-height: 3rem;
	padding: 0 1.6rem;
	border: 0;
	border-radius: 999px;
	background: var(--v-cta);
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}
.vooma-withdrawal .vooma-withdrawal__print { background: var(--v-brand); }
.vooma-withdrawal__errors { margin: 0 0 1rem; padding: .75rem 1rem; border-radius: var(--v-r-sm); background: var(--v-sale-wash); color: var(--v-sale); }
.vooma-withdrawal__errors ul { margin: 0; padding-left: 1.1rem; }
.vooma-withdrawal__title { margin: 0 0 .9rem !important; color: color-mix(in srgb, var(--v-success) 78%, #000); font-family: var(--v-display); font-size: 1.35rem; font-weight: 600; }
.vooma-withdrawal__receipt { display: grid; grid-template-columns: max-content 1fr; gap: .45rem 1.25rem; margin: 0 0 1rem; }
.vooma-withdrawal__receipt dt { color: var(--v-muted); }
.vooma-withdrawal__receipt dd { margin: 0; font-weight: 600; }
.vooma-withdrawal--receipt > p + p { margin-top: .75rem; }
.vooma-footer .vooma-footer__withdraw { font-weight: 700; }

/* EU's notice on the legal guarantee: the official file, whole and unaltered — only the
   frame around it is ours. Opened from links with .vooma-eu-trigger (a dialog). */
.vooma-eu-notice { margin: 1.25rem 0 2rem; }
.vooma-eu-notice img { display: block; width: 100%; max-width: 40rem; height: auto; border-radius: var(--v-r-sm); box-shadow: var(--v-shadow-soft); }
.vooma-eu-notice figcaption { margin-top: .85rem; color: var(--v-muted); font-size: .9rem; line-height: 1.5; }
.vooma-eu-notice a { color: var(--v-brand); text-underline-offset: 3px; }
.vooma-eu-trigger { color: var(--v-brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.vooma-footer .vooma-eu-trigger { color: rgb(255 255 255 / .88); font-weight: 400; text-decoration: none; }
.vooma-checkout-footer .vooma-eu-trigger { font-weight: 500; }
.vooma-eu-dialog {
	width: min(40rem, calc(100vw - 1.5rem));
	max-width: none;
	max-height: calc(100dvh - 1.5rem);
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: var(--v-r-lg);
	background: #fff;
	color: var(--v-ink);
	box-shadow: 0 30px 60px -20px rgb(15 23 42 / .5);
	overscroll-behavior: contain;
}
.vooma-eu-dialog[open] { animation: vooma-fade-in .2s ease; }
.vooma-eu-dialog::backdrop { background: rgb(15 23 42 / .55); }
html:has(.vooma-eu-dialog[open]) { overflow: hidden; }
.vooma-eu-dialog__inner { padding: 0 1.25rem 1.25rem; }
.vooma-eu-dialog__head {
	position: sticky;
	top: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin: 0 -1.25rem;
	padding: .7rem .7rem .7rem 1.25rem;
	border-bottom: 1px solid var(--v-line);
	background: #fff;
}
.vooma-eu-dialog__title { margin: 0; color: var(--v-brand); font-family: var(--v-display); font-size: 1.3rem; }
.vooma-eu-dialog .vooma-eu-notice { margin: 1rem 0 0; }
.vooma-eu-dialog .vooma-eu-notice img { max-width: none; box-shadow: 0 0 0 1px var(--v-line); }
/* Terms, privacy … opened from the cart and checkout (mu-plugins/vooma-legal.php). */
.vooma-legal-dialog {
	width: min(48rem, calc(100vw - 1.5rem));
	max-width: none;
	max-height: calc(100dvh - 2rem);
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: var(--v-r-lg);
	background: #fff;
	color: var(--v-ink);
	box-shadow: 0 30px 60px -20px rgb(15 23 42 / .5);
	overscroll-behavior: contain;
}
.vooma-legal-dialog[open] { display: flex; flex-direction: column; animation: vooma-fade-in .2s ease; }
.vooma-legal-dialog::backdrop { background: rgb(15 23 42 / .55); }
html:has(.vooma-legal-dialog[open]) { overflow: hidden; }
.vooma-legal-dialog__head {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: .7rem .7rem .7rem 1.5rem;
	border-bottom: 1px solid var(--v-line);
}
.vooma-legal-dialog__title { margin: 0; color: var(--v-brand); font-family: var(--v-display); font-size: 1.35rem; line-height: 1.2; }
.vooma-legal-dialog__body { flex: 1; min-height: 0; overflow-y: auto; padding: 1.25rem 1.5rem 2rem; outline: none; overscroll-behavior: contain; }
.vooma-legal-dialog__loading { margin: 0; color: var(--v-muted); }
.vooma-legal-dialog .vooma-legal { max-width: none; }
.vooma-legal-dialog .vooma-legal [id] { scroll-margin-top: 1rem; }
@media (max-width: 480px) {
	.vooma-legal-dialog__head { padding-left: 1rem; }
	.vooma-legal-dialog__body { padding: 1rem 1rem 1.5rem; }
}
@media (max-width: 480px) {
	.vooma-eu-dialog__inner { padding: 0 .75rem .9rem; }
	.vooma-eu-dialog__head { margin: 0 -.75rem; padding-left: 1rem; }
}
@media print {
	.vooma-site-header, .vooma-site-footer, .vooma-withdrawal__print { display: none !important; }
}

/* Cookie consent (mu-plugins/vooma-consent.php): a card in the corner (a sheet on phones) that
   never blocks the shop. "Afvis" and "Accepter statistik" are the same size, colour and weight —
   rejecting must be as easy as accepting (Datatilsynet + Digitaliseringsstyrelsen, 2025). */
.vooma-consent {
	position: fixed;
	inset: auto auto 1rem 1rem;
	z-index: 9990;
	width: min(27rem, calc(100vw - 2rem));
	max-height: calc(100dvh - 2rem);
	overflow-y: auto;
	padding: 1.2rem 1.25rem 1.1rem;
	border: 1px solid var(--v-line);
	border-radius: var(--v-r-lg);
	background: #fff;
	color: var(--v-ink);
	box-shadow: 0 24px 48px -16px rgb(15 23 42 / .38);
	font-size: .86rem;
	line-height: 1.5;
	overscroll-behavior: contain;
	animation: vooma-consent-in .35s var(--v-ease) both;
}
.vooma-consent[hidden] { display: none; }
.vooma-consent:focus-visible { outline: none; } /* focused on open so Tab starts here; the buttons show focus */
.vooma-consent__title { margin: 0 0 .5rem; color: var(--v-brand); font-family: var(--v-display); font-size: 1.2rem; line-height: 1.25; }
.vooma-consent__text p { margin: 0 0 .55rem; }
.vooma-consent__text a { color: var(--v-brand); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.vooma-consent__status { margin: 0 0 .55rem; color: var(--v-muted); font-size: .8rem; }
.vooma-consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: .85rem; }
.vooma-consent__btn {
	min-height: 2.75rem;
	padding: .55rem .9rem;
	border: 0;
	border-radius: var(--v-r-md);
	background: var(--v-brand);
	color: #fff;
	font: inherit;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color .15s ease;
}
.vooma-consent__btn:hover { background: var(--v-brand-deep); }
.vooma-consent__btn:focus-visible { outline: 2px solid var(--v-brand); outline-offset: 3px; }
.vooma-consent__btn[aria-pressed="true"]::before { content: "✓ "; }
@keyframes vooma-consent-in { from { opacity: 0; translate: 0 1rem; } }
@media (max-width: 640px) {
	.vooma-consent {
		inset: auto 0 0;
		width: auto;
		max-height: 85dvh;
		padding: 1.1rem 1rem calc(1rem + env(safe-area-inset-bottom));
		border-width: 1px 0 0;
		border-radius: var(--v-r-lg) var(--v-r-lg) 0 0;
	}
}
@media (prefers-reduced-motion: reduce) {
	.vooma-consent { animation: none; }
}
@media print {
	.vooma-consent { display: none !important; }
}

/* "Varenr. V-…" under the buy box (inc/product-ids.php); follows the chosen variant. */
.vooma-product__sku { margin: 0; }
.vooma-product__sku-value { color: var(--v-ink); font-weight: 600; font-variant-numeric: tabular-nums; }

/* 5b. Home: photo hero, inspiration, season (patterns hero/inspiration/season, inc/home.php) ======
   The photos are AI-generated mood pictures; they lead to categories, never to a specific product. */

/* Hero: the copy sits on the calm, sunlit wall on the left of the photo; a soft paper-toned
   veil keeps it legible. */
.vooma-hero--photo {
	position: relative;
	isolation: isolate;
	display: grid;
	min-height: clamp(34rem, 80vh, 48rem);
	padding: 0;
	background: #efe6da; /* the tone of the wall while the photo loads */
}
.vooma-hero__photo { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.vooma-hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.vooma-hero__photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgb(255 252 247 / .9) 0%, rgb(255 252 247 / .7) 32%, rgb(255 252 247 / 0) 60%);
}
.vooma-hero__inner { display: grid; align-items: end; padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); }
.vooma-hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; width: 100%; } /* a grid item with auto margins would shrink to its content */
.vooma-hero__copy { max-width: 36rem; }
.vooma-hero--photo .vooma-hero__lead { color: color-mix(in srgb, var(--v-ink) 82%, transparent); }
.vooma-hero--photo .vooma-hero__facts { color: var(--v-ink); }
.vooma-hero--photo .wp-block-button.is-style-ghost .wp-block-button__link { background: rgb(255 255 255 / .7); }


/* Inspiration: four tall photo tiles on warm linen, every other one set lower. */
.vooma-inspo { background: #f6f1ea; }
.vooma-inspo__lead { max-width: 44ch; margin: .8rem 0 0; color: var(--v-muted); font-size: var(--wp--preset--font-size--medium); line-height: 1.55; }
.vooma-inspo .vooma-section__title em { color: var(--v-cta); }
.vooma-inspo__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(.75rem, 1.6vw, 1.5rem);
	margin-block: 0;
	padding: 0 0 clamp(1.5rem, 4vw, 3.5rem);
	list-style: none;
}
.vooma-inspo__item { margin: 0; }
.vooma-inspo__item:nth-child(even) { translate: 0 clamp(1.5rem, 4vw, 3.5rem); }
.vooma-inspo__tile {
	position: relative;
	isolation: isolate;
	display: block;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border-radius: var(--v-r-xl);
	background: #d8cdbf;
	color: #fff;
	text-decoration: none;
}
.vooma-inspo__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: scale 1.1s var(--v-ease); }
.vooma-inspo__tile::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgb(12 26 42 / 0) 42%, rgb(12 26 42 / .8) 100%);
}
.vooma-inspo__tile:is(:hover, :focus-visible) .vooma-inspo__img { scale: 1.05; }
.vooma-inspo__tile:focus-visible { outline: 3px solid var(--v-cta); outline-offset: 3px; }
.vooma-inspo__text { position: absolute; inset: auto 0 0; display: grid; gap: .3rem; padding: clamp(1rem, 2vw, 1.5rem); }
.vooma-inspo__title { font-family: var(--v-display); font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 500; line-height: 1.1; letter-spacing: -.01em; }
.vooma-inspo__desc { color: rgb(255 255 255 / .84); font-size: .85rem; line-height: 1.4; }
.vooma-inspo__cta { display: inline-flex; align-items: center; gap: .4rem; margin-top: .35rem; color: var(--v-peach); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.vooma-inspo__cta::after { content: "→"; transition: translate .35s var(--v-ease); }
.vooma-inspo__tile:hover .vooma-inspo__cta::after { translate: 4px 0; }

/* Season: a wide dusk photo with the copy on its calm right, then four products. */
.vooma-season__banner {
	position: relative;
	isolation: isolate;
	display: grid;
	align-items: center;
	justify-items: end;
	min-height: clamp(22rem, 40vw, 33rem);
	margin-bottom: var(--wp--preset--spacing--50);
	overflow: hidden;
	border-radius: var(--v-r-xl);
	background: #2a2018;
	color: #fff;
}
.vooma-season__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 35% 50%; }
.vooma-season__banner::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(270deg, rgb(22 15 9 / .78) 0%, rgb(22 15 9 / .5) 34%, rgb(22 15 9 / 0) 62%);
}
.vooma-season__copy { max-width: 27rem; padding: clamp(1.5rem, 4vw, 3.5rem); }
.vooma-season__copy .vooma-eyebrow { margin-bottom: .9rem; }
.vooma-season__title { margin: 0 0 .9rem; color: #fff; font-size: var(--wp--preset--font-size--xx-large); font-weight: 460; line-height: 1.02; letter-spacing: -.02em; }
.vooma-season__title em { color: var(--v-peach); }
.vooma-season__text { margin: 0 0 1.6rem; color: rgb(255 255 255 / .86); font-size: var(--wp--preset--font-size--medium); line-height: 1.55; }
.vooma-season__action { margin: 0; }
.vooma-season__button {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .85rem 1.6rem;
	border-radius: 999px;
	background: var(--v-cta);
	color: #fff;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 12px 28px -14px rgb(204 69 19 / .7);
	transition: background-color .2s var(--v-ease);
}
.vooma-season__button::after { content: "→"; transition: translate .35s var(--v-ease); }
.vooma-season__button:hover { background: var(--v-cta-deep); color: #fff; }
.vooma-season__button:hover::after { translate: 4px 0; }

@media (max-width: 781px) {
	.vooma-hero--photo { display: block; min-height: 0; background: #fff; }
	.vooma-hero__photo { position: relative; inset: auto; z-index: auto; aspect-ratio: 4 / 3; }
	.vooma-hero__photo::after { background: linear-gradient(180deg, rgb(255 255 255 / 0) 62%, #fff 100%); }
	.vooma-hero__img { object-position: 72% 50%; }
	.vooma-hero__inner { position: relative; margin-top: -1.5rem; padding-block: 0 2.5rem; }
	.vooma-hero__row { display: block; }

	.vooma-inspo__grid {
		display: flex;
		gap: .75rem;
		margin-inline: calc(-1 * var(--v-gutter));
		padding-inline: var(--v-gutter);
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--v-gutter);
		scrollbar-width: none;
	}
	.vooma-inspo__grid::-webkit-scrollbar { display: none; }
	.vooma-inspo__item { flex: 0 0 72%; scroll-snap-align: start; }
	.vooma-inspo__item:nth-child(even) { translate: none; }

	.vooma-season__banner { display: block; min-height: 0; }
	.vooma-season__img { position: relative; z-index: auto; height: auto; aspect-ratio: 3 / 2; }
	.vooma-season__banner::before { display: none; }
	.vooma-season__copy { max-width: none; padding: 1.4rem 1.25rem 1.6rem; }
}
@media (prefers-reduced-motion: no-preference) {
	@supports (animation-timeline: view()) {
		.vooma-inspo__item,
		.vooma-season__banner {
			animation: vooma-rise linear both;
			animation-timeline: view();
			animation-range: entry 5% entry 45%;
		}
	}
}

/* "Kommer snart" (templates/coming-soon.html + patterns/coming-soon.php): what visitors see while
   WooCommerce's coming-soon mode is on — the living-room photo beside the promise. */
.vooma-soon-main { margin: 0; }
.vooma-soon {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	min-height: 100vh;
	min-height: 100dvh;
	background: #fbf8f3;
}
.vooma-soon__photo { position: relative; overflow: hidden; background: #efe6da; }
.vooma-soon__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.vooma-soon__panel {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	padding: clamp(1.75rem, 4vw, 3.5rem) clamp(1.5rem, 4.5vw, 4.5rem);
}
.vooma-soon__logo { margin: 0; }
.vooma-soon__logo img { display: block; width: 9.5rem; height: auto; }
.vooma-soon__copy { max-width: 30rem; margin-block: auto; }
.vooma-soon__title {
	margin: 0 0 1.25rem;
	color: var(--v-ink);
	font-size: var(--wp--preset--font-size--huge);
	font-weight: 460;
	line-height: .98;
	letter-spacing: -0.03em;
}
.vooma-soon__lead { margin: 0 0 1.75rem; color: var(--v-muted); font-size: var(--wp--preset--font-size--large); line-height: 1.55; }
.vooma-soon__usps { display: grid; gap: .7rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.vooma-soon__usp { display: flex; align-items: center; gap: .75rem; color: var(--v-muted); font-size: .95rem; }
.vooma-soon__usp strong { color: var(--v-ink); font-weight: 600; }
.vooma-soon__usp::before {
	content: "";
	flex: none;
	width: 2.2rem;
	height: 2.2rem;
	border-radius: 999px;
	background: #fff var(--icon) center / 1.05rem no-repeat;
	box-shadow: inset 0 0 0 1px var(--v-line);
}
.vooma-soon__usp--truck { --icon: url("../icons/truck.svg"); }
.vooma-soon__usp--chat { --icon: url("../icons/chat.svg"); }
.vooma-soon__usp--shield { --icon: url("../icons/shield.svg"); }
.vooma-soon__usp--lock { --icon: url("../icons/lock.svg"); }
.vooma-soon__contact { margin: 0; color: var(--v-muted); }
.vooma-soon__contact a { color: var(--v-brand); font-weight: 600; text-underline-offset: 3px; }
.vooma-soon__legal { margin: 0; color: var(--v-muted); font-size: .75rem; line-height: 1.7; }
.vooma-soon__legal a { color: inherit; text-underline-offset: 2px; }
@media (max-width: 781px) {
	.vooma-soon { grid-template-columns: 1fr; min-height: 0; }
	.vooma-soon__photo { aspect-ratio: 4 / 3; }
	.vooma-soon__panel { gap: 1.75rem; padding-block: 1.75rem 2rem; }
	.vooma-soon__logo { order: -1; }
}
@media (prefers-reduced-motion: no-preference) {
	.vooma-soon__copy > * { animation: vooma-rise-in .9s var(--v-ease) both; }
	.vooma-soon__copy > :nth-child(2) { animation-delay: .06s; }
	.vooma-soon__copy > :nth-child(3) { animation-delay: .12s; }
	.vooma-soon__copy > :nth-child(4) { animation-delay: .18s; }
	.vooma-soon__copy > :nth-child(5) { animation-delay: .24s; }
}

/* Christmas (inc/home.php: vooma_christmas_page(), vooma_is_christmas_banner()) — the "Jul" link in the
   header menu (15 Sep – 26 Dec, while /jul/ is published) and the /jul/ page. Fir green, 6:1 on white. */
:root { --v-christmas: #2f6e4c; --v-christmas-wash: #edf5f0; }
.vooma-mega__top--season { color: var(--v-christmas); font-weight: 600; }
.vooma-mega__top--season::before { content: "✦"; margin-inline-end: .3rem; font-size: .8em; }
.vooma-mega-mobile .vooma-mega-mobile__chip--season {
	border-color: color-mix(in srgb, var(--v-christmas) 35%, #fff);
	background: var(--v-christmas-wash);
	color: var(--v-christmas);
	font-weight: 600;
}
.vooma-drawer__season {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin: 0 1.25rem .5rem;
	padding: .85rem 1rem;
	border-radius: var(--v-r-md);
	background: var(--v-christmas-wash);
	color: var(--v-christmas);
	font-weight: 700;
	text-decoration: none;
}
.vooma-drawer__season span { color: var(--v-ink); font-size: .8rem; font-weight: 500; }

.vooma-jul-nav { padding-block: 1.5rem 0; scroll-margin-top: 7rem; }
.vooma-jul-nav__list { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: 0; padding: 0; list-style: none; }
.vooma-jul-nav__chip {
	display: inline-flex;
	align-items: center;
	min-height: 2.5rem;
	padding: .45rem 1rem;
	border: 1px solid color-mix(in srgb, var(--v-christmas) 30%, #fff);
	border-radius: 999px;
	background: var(--v-christmas-wash);
	color: var(--v-christmas);
	font-size: .875rem;
	font-weight: 600;
	text-decoration: none;
	transition: background-color .2s var(--v-ease), color .2s;
}
.vooma-jul-nav__chip:hover { background: var(--v-christmas); color: #fff; }
/* The chosen filter; the count in a small bubble; lighting's kinds as lighter chips after it. */
.vooma-jul-nav__chip[aria-current="page"] { border-color: var(--v-christmas); background: var(--v-christmas); color: #fff; }
.vooma-jul-nav__count {
	margin-left: .45rem;
	padding: .05rem .45rem;
	border-radius: 999px;
	background: #fff;
	color: var(--v-christmas);
	font-size: .72rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.vooma-jul-nav__chip:is(:hover, [aria-current="page"]) .vooma-jul-nav__count { background: rgb(255 255 255 / .2); color: #fff; }
.vooma-jul-nav__chip--sub { min-height: 2.2rem; padding: .35rem .85rem; background: #fff; font-size: .8125rem; font-weight: 500; }
.vooma-jul-nav__chip--sub .vooma-jul-nav__count { background: var(--v-christmas-wash); }
.vooma-jul-grid { scroll-margin-top: 7rem; }
.vooma-jul-nav__note { margin-block: .9rem 0; color: var(--v-muted); font-size: var(--wp--preset--font-size--small); }
.vooma-jul-section { scroll-margin-top: 8rem; }
.vooma-jul-section:nth-of-type(even) { background: #f6f1ea; }
.vooma-jul-section__lead { max-width: 52ch; margin: .6rem 0 0; color: var(--v-muted); }
.vooma-jul .vooma-section__title em { color: var(--v-christmas); }
@media (max-width: 640px) {
	.vooma-jul-nav__list { flex-wrap: nowrap; margin-inline: calc(-1 * var(--v-gutter)); padding-inline: var(--v-gutter); overflow-x: auto; scrollbar-width: none; }
	.vooma-jul-nav__list::-webkit-scrollbar { display: none; }
	.vooma-jul-nav__chip { white-space: nowrap; }
}
