/*
 * VSM-Tryk · det theme.json ikke kan udtrykke.
 * Farver, skrift og afstande kommer altid fra --wp--preset-variablerne.
 */

:root {
	--vsm-kant: var(--wp--preset--spacing--kant);
	--vsm-sektion: var(--wp--preset--spacing--3-xl);
	--vsm-r-sm: 4px;
	--vsm-r-md: 8px;
	--vsm-streg: 1px solid var(--wp--preset--color--streg);
	/* WordPress laver slug "2xl" om til variablen "2-xl", men blok-attributter (var:preset|spacing|2xl) peger på "2xl". Begge navne virker hermed. */
	--wp--preset--spacing--2xl: var(--wp--preset--spacing--2-xl);
	--wp--preset--spacing--3xl: var(--wp--preset--spacing--3-xl);
}

body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3 { text-wrap: balance; hyphens: auto; }
p { text-wrap: pretty; }
img { max-width: 100%; height: auto; }
.vsm-side-top { margin-top: clamp(32px, 5vw, 72px); }
.vsm-landing > .vsm-side-top:last-child { margin-bottom: clamp(48px, 7vw, 96px); }
.vsm-tekstside > * { max-width: 72ch; }
.vsm-tekstside h2 { margin-top: 40px; font-size: var(--wp--preset--font-size--title); }
.vsm-tekstside h3 { margin: 24px 0 4px; font-size: 18px; }
.vsm-tekstside p { margin-top: 8px; }
.vsm-tekstside li + li { margin-top: 6px; }
.vsm-side-top h1 { font-size: var(--wp--preset--font-size--display); }
:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 2px solid var(--wp--preset--color--blaek);
	outline-offset: 2px;
}
/* På teal og mørk teal ses en sort ring ikke (1,69-2,90:1). Dér er ringen hvid. */
:where(.vsm-hero, .vsm-footer, .vsm-logo, .has-teal-background-color, .has-teal-dyb-background-color) :where(a, button, input, select, textarea, summary):focus-visible,
.vsm-logo:focus-visible { outline-color: #fff; }
/* Den faste header må ikke dække det felt, man tabber til. */
html { scroll-padding-top: 96px; }
::placeholder { color: var(--wp--preset--color--blaek-daempet); opacity: 1; }
/* Links i brødtekst skal kunne skelnes uden farve (WCAG 1.4.1). */
.wp-block-post-content p a:not(.wp-element-button), .vsm-footer p a, .vsm-fakta-tlf a, .vsm-faq p a {
	text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.vsm-link a { text-decoration: none; }

/* ---------- Fælles tekstroller ---------- */
.vsm-lead { font-size: 19px; line-height: 1.58; max-width: 62ch; }
.vsm-eyebrow, .vsm-eyebrow a {
	margin: 0;
	font-size: 15px; font-weight: 600; line-height: 18px;
	color: var(--wp--preset--color--teal);
	text-decoration: none;
}
.vsm-link { font-size: 15px; font-weight: 600; }
.vsm-link a { text-decoration: none; }
.vsm-pris, .vsm-pris-stor {
	font-family: var(--wp--preset--font-family--barlow-condensed);
	font-weight: 700;
	color: var(--wp--preset--color--blaek);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.vsm-pris { font-size: var(--wp--preset--font-size--price-small); line-height: 1.1; }
.vsm-pris-stor { font-size: var(--wp--preset--font-size--price); line-height: 1; }

/* ---------- Sektioner ---------- */
.vsm-landing > .vsm-sektion,
.vsm-landing > .wp-block-group.vsm-sektion { margin-block-start: var(--vsm-sektion); }
.vsm-landing > .vsm-tilbudsboks { margin-block-end: var(--vsm-sektion); }

/* ---------- Faktastribe og header ---------- */
.vsm-faktastribe {
	padding: 7px var(--vsm-kant);
	font-size: 14px; line-height: 22px;
	color: var(--wp--preset--color--blaek-tekst);
}
.vsm-faktastribe p { margin: 0; }
.vsm-fakta span + span::before { content: ""; display: inline-block; width: 28px; }
.vsm-fakta-tlf a { color: inherit; text-decoration: none; }

/* Én række, én højde: logo, menu og handlinger står på samme midterlinje. */
.vsm-header {
	position: sticky; top: 0; z-index: 50;
	height: var(--vsm-header-h, 72px);
	gap: 40px;
	align-items: stretch !important;
	padding-right: var(--vsm-kant);
	background: var(--wp--preset--color--hvid);
	border-bottom: var(--vsm-streg);
}
.vsm-logo {
	flex: none;
	display: flex; align-items: center;
	padding: 0 24px 0 var(--vsm-kant);
	background: var(--wp--preset--color--teal);
}
.vsm-logo img { width: 120px; height: auto; display: block; }
.vsm-nav { flex: 1 1 auto; min-width: 0; align-self: stretch; font-size: 16px; font-weight: 600; }
.vsm-nav .wp-block-navigation__responsive-container:not(.is-menu-open),
.vsm-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__responsive-container-content,
.vsm-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__responsive-close,
.vsm-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__responsive-dialog,
.vsm-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item,
.vsm-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container { height: 100%; }
.vsm-nav .wp-block-navigation__container { gap: 4px !important; flex-wrap: nowrap !important; align-items: stretch !important; }
.vsm-nav a { color: var(--wp--preset--color--blaek); }
/* Desktop: hvert punkt er lige så højt som headeren og får en teal streg i bunden, når man er der eller peger på det. */
.vsm-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item__content {
	height: 100%; min-height: 0; padding: 0 12px;
	box-shadow: inset 0 -3px 0 transparent;
	transition: box-shadow 160ms ease-out, color 160ms ease-out;
	white-space: nowrap; text-decoration: none;
}
.vsm-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--teal); box-shadow: inset 0 -3px 0 var(--wp--preset--color--teal-dis); }
.vsm-nav .current-menu-item > a, .vsm-nav a[aria-current] { color: var(--wp--preset--color--teal); box-shadow: inset 0 -3px 0 var(--wp--preset--color--teal) !important; }
.vsm-header-hoejre { flex: none; gap: 20px; align-items: center; }
/* WordPress' flex-layout nulstiller margin på børn, så "skub til højre" skal være mere specifik. */
.vsm-header > .vsm-header-hoejre { margin-left: auto !important; }
/* Ingen luft mellem header, indhold og footer: sektionerne styrer selv deres afstand. */
.wp-site-blocks > * + * { margin-block-start: 0; }
.vsm-knap-lille .wp-block-button__link { min-height: 44px; line-height: 1; padding-inline: 20px; font-size: 15px; }
.vsm-soeg .wp-block-search__button {
	background: none; color: var(--wp--preset--color--blaek);
	font-weight: 500; padding: 0; border: 0; line-height: 44px;
}

/* Kasse: kun logo og hjælp, ingen menu. */
.vsm-header--kasse { position: static; }
.vsm-kasse-hjaelp { margin: 0; color: var(--wp--preset--color--blaek-daempet); }

/* ---------- Knapper ---------- */
/* Alle knapper har samme højde, uanset kant og tekstlængde, og teksten brydes aldrig midt i knappen. */
.wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	box-sizing: border-box; min-height: 52px; line-height: 1.2 !important; padding-block: 0 !important;
	white-space: nowrap; text-align: center;
	border: 1px solid transparent;
	transition: background-color 160ms ease-out, color 160ms ease-out, border-color 160ms ease-out, transform 120ms ease-out;
}
.wp-block-button__link:active { transform: scale(0.98); }
/* Kontur-knapper beholder deres kant (theme.json's variant har ingen specificitet og tabes ellers til reglen ovenfor). */
.wp-block-button.is-style-outline > .wp-block-button__link { border-color: var(--wp--preset--color--blaek); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--wp--preset--color--staal); }
/* To eller flere knapper side om side er lige brede. */
.wp-block-buttons:has(> .wp-block-button + .wp-block-button) { flex-wrap: nowrap; align-items: stretch; }
.wp-block-buttons:has(> .wp-block-button + .wp-block-button) > .wp-block-button { flex: 1 1 0; min-width: 0; max-width: 300px; }
.wp-block-buttons:has(> .wp-block-button + .wp-block-button) > .wp-block-button > .wp-block-button__link { width: 100%; padding-inline: 20px; }
.wp-block-button.is-style-paa-teal .wp-block-button__link {
	background: var(--wp--preset--color--hvid);
	color: var(--wp--preset--color--teal-dyb);
}
.wp-block-button.is-style-paa-teal .wp-block-button__link:hover { background: var(--wp--preset--color--teal-taage); }
.vsm-hero .wp-block-button.is-style-outline .wp-block-button__link,
.vsm-knap-paa-teal-kant .wp-block-button__link {
	background: transparent !important;
	color: var(--wp--preset--color--hvid) !important;
	border-color: var(--wp--preset--color--hvid) !important;
}

/* ---------- Hero ---------- */
.vsm-hero { padding-block: clamp(32px, 6vw, 72px) clamp(40px, 7vw, 88px); }
.vsm-hero h1 { margin-bottom: 24px; }
.vsm-hero .vsm-lead { margin-bottom: 20px; }
.vsm-hero .wp-block-buttons { margin-top: 28px; }

/* ---------- Fotostribe ---------- */
.vsm-fotostribe .vsm-scroller { gap: 4px; margin: 0; }
.vsm-fotostribe .wp-block-column { min-width: 0; }
.vsm-fotostribe figure { margin: 0; }
/* Billeder med fast format fylder altid deres kolonne, også når filen er mindre end kolonnen (fx Børnehuset, 420 px). */
.wp-block-image img[style*="aspect-ratio"] { width: 100%; height: auto; display: block; }
.vsm-case-navn { padding: 12px 16px 0; margin: 0; line-height: 1.45; }
.vsm-case-navn strong { color: var(--wp--preset--color--blaek); font-weight: 600; }
.vsm-case-navn a { color: inherit; text-decoration: underline; text-decoration-color: var(--wp--preset--color--teal); text-underline-offset: 3px; }
.vsm-case-navn a:hover { color: var(--wp--preset--color--teal); }
.vsm-kant { padding-inline: var(--vsm-kant); }

/* ---------- Fire veje og trin ---------- */
/* Kortene deler rækker (subgrid), så billede, overskrift, tekst, pris og link står på samme linje på tværs. */
.vsm-veje.wp-block-columns { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--wp--preset--spacing--lg); row-gap: var(--wp--preset--spacing--xl); }
.vsm-veje > .vsm-vej { display: grid; grid-template-rows: subgrid; grid-row: span 6; row-gap: 0; flex-basis: auto !important; margin: 0 !important; }
.vsm-veje > .vsm-vej > * { margin-block: 0 !important; }
.vsm-veje > .vsm-vej > figure { margin-bottom: 16px !important; }
.vsm-veje > .vsm-vej > .vsm-eyebrow { align-self: end; margin-bottom: 4px !important; }
.vsm-veje > .vsm-vej > p.has-small-font-size:not(.vsm-vej-fakta) { margin-top: 8px !important; margin-bottom: 16px !important; }
.vsm-veje > .vsm-vej > .vsm-vej-fakta { align-self: stretch; display: flex; align-items: center; }
.vsm-veje > .vsm-vej > .vsm-link { padding-top: 14px; }
.vsm-vej h3 { margin: 4px 0 0; }
.vsm-vej p { margin-block: 8px 0; }
.vsm-vej-fakta {
	padding-block: 12px;
	border-block: var(--vsm-streg);
	font-weight: 600; color: var(--wp--preset--color--blaek);
}
.vsm-trin { border-top: var(--vsm-streg); padding-top: 24px; }
.vsm-trin-nr { margin: 0; font-family: var(--wp--preset--font-family--barlow-condensed); font-weight: 700; }
.vsm-trin h3 { margin: 8px 0 6px; }

/* ---------- Anmeldelse ---------- */
.vsm-anmeldelse img { border-radius: var(--vsm-r-md); }
.vsm-score { display: flex; align-items: center; gap: 12px; color: var(--wp--preset--color--blaek-daempet); font-size: 14px; }
.vsm-score-tal {
	font-family: var(--wp--preset--font-family--barlow-condensed);
	font-weight: 800; font-size: 88px; line-height: 0.9;
	color: var(--wp--preset--color--blaek);
}
.vsm-stjerner { color: var(--wp--preset--color--teal); letter-spacing: 2px; font-size: 20px; }

/* ---------- Prislister og rækker ---------- */
.vsm-prisliste-hoved { border-bottom: 2px solid var(--wp--preset--color--blaek); padding-bottom: 12px; }
.vsm-prisliste-hoved h3, .vsm-prisliste-hoved p { margin: 0; }
.is-style-raekke {
	border-bottom: var(--vsm-streg);
	padding-block: 13px;
	margin: 0 !important;
	gap: 16px;
}
.is-style-raekke p { margin: 0; }
.vsm-prisliste .vsm-link { margin-top: 16px; }
/* Prislisterne: samme hoved-højde, så rækkerne står på linje, og linket nederst i hver kolonne. */
.wp-block-column.vsm-prisliste { display: flex; flex-direction: column; }
.vsm-prisliste > .vsm-prisliste-hoved { flex-direction: column; align-items: flex-start !important; justify-content: flex-end; gap: 2px; min-height: 64px; box-sizing: border-box; }
.vsm-prisliste > .vsm-link { margin-top: auto !important; padding-top: 16px; }

/* ---------- Mærker ---------- */

/* ---------- Tilbudsboks ---------- */
.vsm-tilbudsboks { padding: clamp(24px, 4vw, 48px); gap: clamp(16px, 4vw, 48px); }
.vsm-tilbudsboks-tekst { flex: 1 1 380px; }
.vsm-tilbudsboks-tekst h2 { margin-top: 0; }

/* ---------- Kort ---------- */
.is-style-kort {
	border: var(--vsm-streg);
	border-radius: var(--vsm-r-md);
	padding: 24px;
	background: var(--wp--preset--color--hvid);
}

/* ---------- FAQ ---------- */
.wp-block-details.is-style-faq { border-bottom: var(--vsm-streg); padding-block: 20px; }
.wp-block-details.is-style-faq summary {
	list-style: none; cursor: pointer;
	display: flex; justify-content: space-between; gap: 16px;
	font-size: 19px; font-weight: 600; color: var(--wp--preset--color--blaek);
}
.wp-block-details.is-style-faq summary::after { content: "+"; color: var(--wp--preset--color--teal); }
.wp-block-details.is-style-faq[open] summary::after { content: "−"; }
.wp-block-details.is-style-faq summary::-webkit-details-marker { display: none; }

/* ---------- Produkt og shop ---------- */
.vsm-produkt-top { margin-top: 24px; }
.vsm-koeb > * + * { margin-top: 20px; }
.vsm-filtre { font-size: 15px; }

/* ---------- Footer ---------- */
.vsm-footer { padding-block: 64px 72px; margin-top: 0; }
.vsm-footer a { color: var(--wp--preset--color--teal-dis); text-decoration: none; }
.vsm-footer a:hover { color: var(--wp--preset--color--hvid); }
.vsm-footer-gitter {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
	gap: 40px;
	font-size: 15px; line-height: 1.6;
}
.vsm-footer-firma img { width: 150px; height: auto; }
.vsm-footer-firma p { color: var(--wp--preset--color--teal-dis); }
.vsm-footer-kolonne summary {
	list-style: none; font-weight: 600; margin-bottom: 12px;
	color: var(--wp--preset--color--hvid); pointer-events: none;
}
.vsm-footer-kolonne summary::-webkit-details-marker { display: none; }
.vsm-footer-kolonne ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vsm-footer-betaling { margin-top: 40px; font-size: 14px; color: var(--wp--preset--color--teal-dis); }

/* ---------- Tablet ---------- */
@media (max-width: 1240px) {
	.vsm-header { gap: 24px; }
	.vsm-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item__content { padding: 0 9px; font-size: 15px; }
	.vsm-header-hoejre { gap: 14px; }
}
/* Burgermenuen bruges kun, når menuen ikke kan stå på én linje. Over 1100 px vises den aldrig. */
@media (min-width: 1100px) {
	.vsm-nav .wp-block-navigation__responsive-container-open { display: none !important; }
}
@media (max-width: 1099px) {
	.vsm-nav { flex: 0 0 auto; order: 3; display: flex; align-items: center; }
	.vsm-nav .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
	.vsm-nav .wp-block-navigation__responsive-container-open { display: inline-flex !important; }
	.vsm-header > .vsm-header-hoejre { margin-left: auto !important; }
	.vsm-header { gap: 16px; }
}
@media (max-width: 1100px) {
	.vsm-faktastribe .vsm-fakta span:nth-child(n+3) { display: none; }
	.vsm-veje.wp-block-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Mobil ---------- */
@media (max-width: 781px) {
	.vsm-faktastribe { justify-content: center; }
	.vsm-fakta-tlf { display: none; }
	.vsm-fakta span:nth-child(n+3) { display: none; }
	:root { --vsm-header-h: 60px; }
	.vsm-header { gap: 8px; padding-right: 8px; }
	.vsm-logo { padding: 0 14px 0 16px; }
	.vsm-logo img { width: 92px; }
	.vsm-header-hoejre { gap: 4px; }
	/* "Få et tilbud" bliver i headeren på mobil. Det er sidens vigtigste handling. */
	.vsm-header-hoejre .vsm-knap-lille .wp-block-button__link { min-height: 40px; padding-inline: 14px; font-size: 14px; }
	.vsm-soeg { display: none; }
	.vsm-hero .wp-block-buttons .wp-block-button { width: 100%; }
	.vsm-hero .wp-block-buttons .wp-block-button__link { width: 100%; }
	.vsm-fotostribe .vsm-scroller { overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: 16px; gap: 10px; }
	.vsm-fotostribe .vsm-scroller > .wp-block-column { flex: 0 0 62% !important; scroll-snap-align: start; }
	.vsm-case-navn { padding-inline: 0; }
	.vsm-veje.wp-block-columns { grid-template-columns: minmax(0, 1fr); }
	.vsm-veje > .vsm-vej { grid-row: auto; grid-template-rows: none; }
	.vsm-score-tal { font-size: 64px; }
	.vsm-footer-gitter { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.vsm-footer-firma { margin-bottom: 24px; }
	.vsm-footer-kolonne { border-top: 1px solid rgba(255, 255, 255, 0.18); padding-block: 14px; }
	.vsm-footer-kolonne summary { pointer-events: auto; margin: 0; display: flex; justify-content: space-between; }
	.vsm-footer-kolonne summary::after { content: "+"; }
	.vsm-footer-kolonne[open] summary::after { content: "−"; }
	.vsm-footer-kolonne ul { margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Min konto: log ind og opret side om side, kontomenu som faner. */
.woocommerce-account .woocommerce { display: grid; gap: var(--wp--preset--spacing--lg); }
.woocommerce-account .u-columns.col2-set { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: var(--wp--preset--spacing--xl); }
.woocommerce-account .u-columns.col2-set > div { width: auto; float: none; }
.woocommerce-account .woocommerce-form { border: var(--vsm-streg); border-radius: var(--vsm-r-md); padding: var(--wp--preset--spacing--lg); margin: 0; }
.woocommerce-account .woocommerce-form .input-text { min-height: 48px; border: var(--vsm-streg); border-radius: var(--vsm-r-sm); padding: 0 12px; width: 100%; box-sizing: border-box; font: inherit; }
.woocommerce-account .show-password-input { display: none; }
.woocommerce-account .woocommerce-form-login__rememberme { display: inline-flex; gap: 8px; align-items: center; margin-left: 12px; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.woocommerce-account .woocommerce-MyAccount-navigation a {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
	border: var(--vsm-streg); border-radius: var(--vsm-r-sm); text-decoration: none; font-weight: 600; color: var(--wp--preset--color--blaek);
}
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { border: 2px solid var(--wp--preset--color--teal); background: var(--wp--preset--color--teal-taage); padding: 0 13px; }
.woocommerce-account .woocommerce-MyAccount-content { min-width: 0; }
.woocommerce-account table.shop_table { width: 100%; border-collapse: collapse; }
.woocommerce-account table.shop_table th, .woocommerce-account table.shop_table td { padding: 12px 8px; border-bottom: var(--vsm-streg); text-align: left; }
@media (max-width: 700px) {
	.woocommerce-account table.shop_table_responsive thead { display: none; }
	.woocommerce-account table.shop_table_responsive tr { display: grid; padding: 8px 0; border-bottom: var(--vsm-streg); }
	.woocommerce-account table.shop_table_responsive td { border: 0; padding: 4px 0; display: flex; justify-content: space-between; gap: 12px; }
	.woocommerce-account table.shop_table_responsive td::before { content: attr(data-title); font-weight: 600; }
}

/* Varefakta under Ordresedlen (vsm/produkt-fakta) */
.vsm-produkt-fakta { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: var(--wp--preset--spacing--lg) var(--wp--preset--spacing--xl); }
.vsm-produkt-fakta .vsm-produkt-fakta-titel { margin: 0 0 8px; font-size: var(--wp--preset--font-size--title); }
.vsm-produkt-fakta p { margin: 0; font-size: var(--wp--preset--font-size--small); line-height: 1.55; }

/* Mobilmenu: samme typografi som overskrifterne, tilbud og telefon nederst. Ekstra punkter vises kun i menuen. */
.vsm-nav .vsm-kun-menu { display: none !important; }
.vsm-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 20px var(--wp--preset--spacing--kant, 16px) 32px; background: var(--wp--preset--color--hvid); color: var(--wp--preset--color--blaek); }
.vsm-nav .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 40px; }
.vsm-nav .is-menu-open .wp-block-navigation__container { gap: 0 !important; width: 100%; align-items: stretch !important; }
.vsm-nav .is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: var(--vsm-streg); }
.vsm-nav .is-menu-open .vsm-kun-menu { display: flex !important; }
.vsm-nav .is-menu-open .wp-block-navigation-item__content {
	display: block; box-sizing: border-box; width: 100%; padding: 14px 0 !important;
	font-family: var(--wp--preset--font-family--barlow-condensed); font-weight: 700; font-size: 28px; line-height: 1.15;
	color: var(--wp--preset--color--blaek); text-decoration: none;
}
.vsm-nav .is-menu-open .vsm-menu-cta { border: 0; margin-top: 24px; }
.vsm-nav .is-menu-open .vsm-menu-cta .wp-block-navigation-item__content {
	box-sizing: border-box; padding: 0 24px !important; min-height: 52px; display: flex; align-items: center; justify-content: center;
	background: var(--wp--preset--color--teal); color: #fff; border-radius: var(--vsm-r-sm);
	font-family: var(--wp--preset--font-family--barlow); font-size: 17px; font-weight: 600;
}
.vsm-nav .is-menu-open .vsm-menu-tlf { border: 0; }
.vsm-nav .is-menu-open .vsm-menu-tlf .wp-block-navigation-item__content { font-family: var(--wp--preset--font-family--barlow); font-size: 17px; font-weight: 600; color: var(--wp--preset--color--teal); text-align: center; }
.vsm-nav .is-menu-open .wp-block-navigation-item__content:focus-visible { outline: 2px solid var(--wp--preset--color--teal); outline-offset: 2px; }
.vsm-nav .is-menu-open .wp-block-navigation-item__content:focus:not(:focus-visible) { outline: 0; }

/* Mærkebåndet: de 23 logoer i ét bånd. Uden JavaScript eller ved reduceret bevægelse står de stille i et gitter. */
.vsm-maerkebaand-hoved { gap: 8px 24px; margin-bottom: 28px; }
.vsm-maerkebaand-hoved h3, .vsm-maerkebaand-hoved p { margin: 0; }
.vsm-ticker { position: relative; }
.vsm-ticker-spor { display: flex; }
.vsm-ticker-raekke {
	list-style: none; margin: 0; padding: 0;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 56px;
}
.vsm-ticker-raekke[aria-hidden="true"] { display: none; }
.vsm-ticker-raekke li { flex: none; display: flex; align-items: center; height: 52px; }
.vsm-ticker-raekke img { display: block; max-width: none; height: auto; opacity: 0.74; transition: opacity 200ms ease-out; }
.vsm-ticker-raekke li:hover img { opacity: 1; }

/* Filtre i shoppen: alt holder sig inden for kolonnen (prisslideren er ellers 330 px bred). */
.vsm-filtre { min-width: 0; }
.vsm-filtre .wc-block-product-filters { display: grid; gap: 28px; }
.vsm-filtre .wp-block-woocommerce-product-filter-price-slider,
.vsm-filtre .wc-block-product-filter-price-slider__content,
.vsm-filtre .wc-block-product-filter-price-slider__range { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
.vsm-filtre .wc-block-product-filter-price-slider__range input[type="range"] { width: 100%; }
.vsm-filtre .wc-block-product-filter-price-slider__content { display: flex; flex-wrap: wrap; gap: 12px; }
.vsm-filtre .wc-block-product-filter-price-slider__content > .wc-block-product-filter-price-slider__range { flex: 1 0 100%; order: -1; }
.vsm-filtre .wc-block-product-filter-price-slider__left, .vsm-filtre .wc-block-product-filter-price-slider__right { flex: 1 1 0; min-width: 0; }
.vsm-filtre .wc-block-product-filter-price-slider__left input, .vsm-filtre .wc-block-product-filter-price-slider__right input {
	width: 100% !important; min-width: 0; box-sizing: border-box; min-height: 40px;
	border: var(--vsm-streg); border-radius: var(--vsm-r-sm); padding: 0 10px; font: inherit; font-size: 15px;
}
.vsm-filtre h3 { margin: 0 0 10px; font-weight: 600; }
.vsm-filtre .wc-block-product-filter-checkbox-list__label { font-size: 15px; }
@media (min-width: 601px) {
	.vsm-filtre .wc-block-product-filters__overlay,
	.vsm-filtre .wc-block-product-filters__overlay-wrapper,
	.vsm-filtre .wc-block-product-filters__overlay-dialog,
	.vsm-filtre .wc-block-product-filters__overlay-content,
	.vsm-filtre .wp-block-woocommerce-product-filter-price { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
}

/* Trykflader på mindst 44 px: menu, burger, stepper. */
.vsm-nav .wp-block-navigation-item__content { display: inline-flex; align-items: center; min-height: 44px; }
.vsm-nav .is-menu-open .wp-block-navigation-item__content { box-shadow: none !important; }
.vsm-nav .wp-block-navigation__responsive-container-open,
.vsm-nav .wp-block-navigation__responsive-container-close { min-width: 44px; min-height: 44px; padding: 10px; align-items: center; justify-content: center; }
.vsm-nav .wp-block-navigation__responsive-container-close { display: inline-flex; }
.vsm-stepper { height: 48px; }
.vsm-stepper button { width: 44px; }

/* Smalle skærme: knapperne stables og fylder hele bredden. */
@media (max-width: 600px) {
	.wp-block-buttons:has(> .wp-block-button + .wp-block-button) { flex-wrap: wrap; }
	.wp-block-buttons:has(> .wp-block-button + .wp-block-button) > .wp-block-button { flex: 1 1 100%; max-width: none; }
}

/* ---------- Varesiden ---------- */
/* Galleriet bliver stående, mens man udfylder Ordresedlen, så forhåndsvisningen af logoet hele tiden kan ses. */
@media (min-width: 782px) {
	.vsm-produkt-top > .wp-block-column:first-child { position: sticky; top: calc(var(--vsm-header-h, 72px) + 20px); align-self: flex-start; }
}
/* Miniaturerne står i én række, der kan rulles, i stedet for tre rækker, der skubber Ordresedlen ned. */
.woocommerce-product-gallery .flex-control-thumbs {
	display: flex !important; gap: 8px; margin: 10px 0 0 !important; padding: 0 0 6px !important;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; list-style: none;
}
.woocommerce-product-gallery .flex-control-thumbs li {
	flex: 0 0 calc((100% - 32px) / 5) !important; width: auto !important; float: none !important; margin: 0 !important; scroll-snap-align: start;
}
.woocommerce-product-gallery .flex-control-thumbs img {
	display: block; width: 100%; aspect-ratio: 1; object-fit: cover; box-sizing: border-box;
	border: 1px solid var(--wp--preset--color--streg); border-radius: var(--vsm-r-sm); opacity: 0.72; cursor: pointer;
	transition: opacity 160ms ease-out, border-color 160ms ease-out;
}
.woocommerce-product-gallery .flex-control-thumbs img:hover { opacity: 1; }
.woocommerce-product-gallery .flex-control-thumbs img.flex-active { opacity: 1; border: 2px solid var(--wp--preset--color--teal); }
/* Hovedbilledet står i en fast, lys flade, så galleriet ikke skifter højde fra billede til billede, og fritlagte varer på hvidt
   smelter ind i fladen som i varelisterne. */
.woocommerce-product-gallery__image > a { display: block; background: var(--wp--preset--color--staal); border-radius: var(--vsm-r-md); overflow: hidden; }
.woocommerce-product-gallery__image > a > img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; border-radius: 0; }
@media (max-width: 781px) {
	.woocommerce-product-gallery .flex-control-thumbs li { flex-basis: calc((100% - 24px) / 4.5) !important; }
}

/* ---------- Hero på tablet ---------- */
/* Under 1180 px er der ikke plads til tekst og Ordreseddel side om side. Teksten kommer først, sedlen under. */
@media (max-width: 1180px) {
	.vsm-hero > .wp-block-columns { flex-wrap: wrap !important; }
	.vsm-hero > .wp-block-columns > .wp-block-column { flex-basis: 100% !important; }
	.vsm-hero > .wp-block-columns > .wp-block-column:last-child { max-width: 620px; }
}

/* ---------- Anmeldelser: score og et bånd med rigtige anmeldelser ---------- */
.vsm-anm-hoved { gap: 16px 40px; margin-bottom: 32px !important; }
.vsm-anm-hoved h2 { margin: 0; }
.vsm-anm-score { display: flex; align-items: center; gap: 16px; }
.vsm-anm-score .vsm-score-tal { font-size: 72px; }
.vsm-anm-score-tekst { display: grid; gap: 2px; font-size: 14px; color: var(--wp--preset--color--blaek-daempet); }
.vsm-anm-score-tekst a { font-weight: 600; color: var(--wp--preset--color--teal); text-decoration: none; }
.vsm-anm-score-tekst a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Uden bevægelse (eller uden JavaScript) kan båndet rulles med hånden. */
.vsm-ticker--anmeldelser .vsm-ticker-vindue { overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: var(--vsm-kant); scrollbar-width: none; }
.vsm-ticker--anmeldelser .vsm-ticker-vindue::-webkit-scrollbar { display: none; }
.vsm-ticker--anmeldelser .vsm-ticker-raekke.vsm-anm-raekke { flex-wrap: nowrap; justify-content: flex-start; align-items: stretch; gap: 20px; }
.vsm-ticker--anmeldelser .vsm-anm-kort { height: auto; }
.vsm-ticker-raekke li.vsm-anm-kort {
	flex: 0 0 340px; width: 340px; height: auto; box-sizing: border-box; scroll-snap-align: start;
	display: flex !important; flex-direction: column; align-items: flex-start !important; gap: 14px;
	padding: 24px; background: var(--wp--preset--color--hvid);
	border: var(--vsm-streg); border-radius: var(--vsm-r-md);
}
.vsm-anm-stjerner { color: var(--wp--preset--color--teal); letter-spacing: 2px; font-size: 18px; line-height: 1; }
.vsm-anm-tekst { margin: 0; padding: 0; border: 0; }
.vsm-anm-tekst p {
	margin: 0; font-size: 17px; line-height: 1.5; color: var(--wp--preset--color--blaek);
	display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.vsm-anm-fod { margin: auto 0 0; padding-top: 14px; width: 100%; border-top: var(--vsm-streg); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 14px; }
.vsm-anm-navn { font-weight: 600; color: var(--wp--preset--color--blaek); }
.vsm-anm-dato { color: var(--wp--preset--color--blaek-daempet); }
.vsm-anm-kilde { margin-left: auto; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--wp--preset--color--teal-taage); color: var(--wp--preset--color--teal-dyb); }
@media (max-width: 781px) {
	.vsm-ticker-raekke li.vsm-anm-kort { flex-basis: min(82vw, 320px); width: min(82vw, 320px); }
	.vsm-anm-score .vsm-score-tal { font-size: 56px; }
}

/* ---------- Varekort i shop, kategorier, lukkede shops og "Bestilles ofte sammen med" ---------- */
/* Varebillederne er meget forskellige (fritlagt på hvidt, foto med baggrund, sort firkant). De står alle i samme lyse flade
   med luft omkring, og hvid baggrund i fritlagte billeder smelter ind i fladen (multiply). Så ligner rækken én serie. */
.wc-block-product .wc-block-components-product-image,
.wp-block-post .wc-block-components-product-image,
.vsm-vare-ramme {
	aspect-ratio: 1; overflow: hidden; border-radius: var(--vsm-r-md) !important;
	background: var(--wp--preset--color--staal); margin-bottom: 14px !important;
}
.wc-block-product .wc-block-components-product-image a,
.wp-block-post .wc-block-components-product-image a { display: block; width: 100%; height: 100%; }
.wc-block-product .wc-block-components-product-image img,
.wp-block-post .wc-block-components-product-image img,
.vsm-vare-ramme img {
	width: 100% !important; height: 100% !important; aspect-ratio: 1 !important;
	object-fit: contain !important; padding: 7%; box-sizing: border-box;
	mix-blend-mode: multiply; background: transparent !important; border-radius: 0 !important;
	transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}
.wc-block-product:hover .wc-block-components-product-image img,
.wp-block-post:hover .wc-block-components-product-image img { transform: scale(1.03); }

/* Navnet fylder altid to linjer, så prisen står på samme linje i hele rækken. */
.wc-block-product .wp-block-post-title,
.wp-block-post .wc-block-components-product-image ~ .wp-block-post-title {
	margin: 0 !important;
	font-family: var(--wp--preset--font-family--barlow); font-size: 17px !important; font-weight: 600; line-height: 1.35;
	min-height: calc(2 * 1.35em); max-height: calc(2 * 1.35em);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
	text-wrap: pretty; word-break: break-word;
}
.wc-block-product .wp-block-post-title a,
.wp-block-post .wp-block-post-title a { color: var(--wp--preset--color--blaek); text-decoration: none; }
.wc-block-product:hover .wp-block-post-title a,
.wp-block-post:hover .wp-block-post-title a { color: var(--wp--preset--color--teal); }
.wc-block-product .vsm-listepris p { margin-top: 6px; }
.wc-block-product .vsm-listepris .vsm-pris { font-size: 22px; }
/* Hele kortet er klikbart via billedet og navnet. Ens luft mellem kortene. */
.wc-block-product-template.wc-block-product-template__responsive { gap: 40px 24px !important; grid-template-columns: repeat(var(--vsm-kol, 3), minmax(0, 1fr)) !important; }
.wc-block-product-template__responsive.columns-4 { --vsm-kol: 4; }
@media (max-width: 1100px) { .wc-block-product-template.wc-block-product-template__responsive { --vsm-kol: 2; } }
.vsm-vare-navn { min-height: calc(2 * 1.3em); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 600px) {
	.wc-block-product .wp-block-post-title, .wp-block-post .wc-block-components-product-image ~ .wp-block-post-title { font-size: 15px !important; }
	.wc-block-product .vsm-listepris .vsm-pris { font-size: 19px; }
	.wc-block-product-template.wc-block-product-template__responsive { gap: 28px 12px !important; --vsm-kol: 2; }
}

/* ---------- Shopfiltre: varetyper, farve og linjen over varerne ---------- */
.vsm-varetyper { margin: 4px 0 28px; }
.vsm-vt-raekke { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.vsm-vt-raekke--under { margin-top: 12px; padding-top: 12px; border-top: var(--vsm-streg); }
.vsm-vt {
	display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; box-sizing: border-box;
	border: 1px solid var(--wp--preset--color--streg); border-radius: 999px; background: var(--wp--preset--color--hvid);
	color: var(--wp--preset--color--blaek); font-size: 15px; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap;
	transition: border-color 160ms ease-out, background-color 160ms ease-out, color 160ms ease-out;
}
.vsm-vt:hover { border-color: var(--wp--preset--color--blaek); }
.vsm-vt.er-valgt { background: var(--wp--preset--color--teal); border-color: var(--wp--preset--color--teal); color: #fff; }
.vsm-vt--lille { min-height: 36px; padding: 0 13px; font-size: 14px; }
.vsm-vt--lille.er-valgt { background: var(--wp--preset--color--teal-taage); border-color: var(--wp--preset--color--teal); color: var(--wp--preset--color--teal-dyb); }
.vsm-vt-antal { font-size: 12px; font-weight: 500; color: var(--wp--preset--color--blaek-daempet); font-variant-numeric: tabular-nums; }
.vsm-vt.er-valgt .vsm-vt-antal { color: rgba(255, 255, 255, 0.8); }
.vsm-vt--lille.er-valgt .vsm-vt-antal { color: var(--wp--preset--color--teal-dyb); }
@media (max-width: 781px) {
	/* På mobil står chipsene i én række, der kan rulles, helt ud til kanten. */
	.vsm-vt-raekke { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--vsm-kant); margin-inline: calc(-1 * var(--vsm-kant)); padding-inline: var(--vsm-kant); scrollbar-width: none; }
	.vsm-vt-raekke::-webkit-scrollbar { display: none; }
	.vsm-vt-raekke li { scroll-snap-align: start; }
	.vsm-varetyper { margin-bottom: 20px; }
}

.vsm-filter-titel, .vsm-filtre h3 { margin: 0 0 12px !important; font-size: 16px !important; font-weight: 700 !important; color: var(--wp--preset--color--blaek); }
.vsm-ff-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.vsm-ff {
	display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 8px; margin: 0 -8px; border-radius: var(--vsm-r-sm);
	color: var(--wp--preset--color--blaek); text-decoration: none; font-size: 15px;
}
.vsm-ff:hover { background: var(--wp--preset--color--staal); }
.vsm-ff-prik { flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--prik); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18); }
.vsm-ff-navn { flex: 1; }
.vsm-ff.er-valgt { font-weight: 700; background: var(--wp--preset--color--teal-taage); }
.vsm-ff.er-valgt .vsm-ff-prik { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp--preset--color--teal); }
.vsm-ff-ryd { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--wp--preset--color--teal); }

/* Pris og mærke i samme stil som farven: ingen kasser med egen rullebjælke. */
.vsm-filtre .wc-block-product-filter-checkbox-list__items { max-height: none !important; overflow: visible !important; border: 0 !important; padding: 0 !important; }
.vsm-filtre .wc-block-product-filter-checkbox-list__item { min-height: 32px; }
.vsm-filtre .wc-block-product-filters > * + * { padding-top: 24px; border-top: var(--vsm-streg); }
.vsm-filtre .wc-block-product-filter-active:empty, .vsm-filtre .wp-block-woocommerce-product-filter-active:not(:has(.wc-block-product-filter-removable-chips__item)) { display: none; }
.vsm-filtre .wc-block-product-filters > .wp-block-woocommerce-product-filter-active + * { border-top: 0; padding-top: 0; }

.vsm-shop-linje { gap: 12px 20px; margin-bottom: 24px !important; padding-bottom: 16px; border-bottom: var(--vsm-streg); }
.vsm-shop-linje .woocommerce-result-count { margin: 0; font-size: 15px; color: var(--wp--preset--color--blaek-daempet); }
.vsm-shop-linje-hoejre { gap: 16px; }
.vsm-shop-linje .woocommerce-ordering { margin: 0; }
.vsm-shop-linje .woocommerce-ordering select {
	min-height: 42px; padding: 0 36px 0 12px; border: 1px solid var(--wp--preset--color--streg); border-radius: var(--vsm-r-sm);
	background: var(--wp--preset--color--hvid) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center;
	appearance: none; font: inherit; font-size: 15px; color: var(--wp--preset--color--blaek); cursor: pointer;
}
.vsm-shop-linje .vsm-vis-med-logo { margin: 0; }
@media (max-width: 781px) {
	.vsm-shop-linje { flex-wrap: wrap !important; }
	.vsm-shop-linje-hoejre { width: 100%; justify-content: space-between; }
}
.vsm-shop-antal { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.vsm-shop-antal-tal { margin: 0; font-size: 15px; color: var(--wp--preset--color--blaek-daempet); }
.vsm-shop-antal-tal strong { color: var(--wp--preset--color--blaek); font-weight: 700; }
.vsm-sortering { display: flex; align-items: center; gap: 8px; margin: 0; }
.vsm-sortering label { font-size: 15px; color: var(--wp--preset--color--blaek-daempet); }
.vsm-sortering select {
	min-height: 42px; padding: 0 36px 0 12px; border: 1px solid var(--wp--preset--color--streg); border-radius: var(--vsm-r-sm);
	background: var(--wp--preset--color--hvid) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center;
	appearance: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--wp--preset--color--blaek); cursor: pointer;
}
@media (max-width: 781px) { .vsm-shop-linje > .vsm-shop-antal { width: 100%; justify-content: space-between; } }

/* "Filtrer varer" på mobil: en rigtig knap, ikke en linje tekst. */
.vsm-filtre .wc-block-product-filters__open-overlay {
	align-items: center; gap: 8px; min-height: 42px; padding: 0 16px 0 12px;
	border: 1px solid var(--wp--preset--color--blaek); border-radius: 999px; background: var(--wp--preset--color--hvid);
	color: var(--wp--preset--color--blaek); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
}
.vsm-filtre .wc-block-product-filters__open-overlay svg { width: 20px; height: 20px; }
@media (min-width: 601px) { .vsm-filtre .wc-block-product-filters__open-overlay { display: none !important; } }
.vsm-sortering label { line-height: 1; margin: 0; }
@media (max-width: 781px) { .vsm-filtre { margin-bottom: 4px; } }
/* Browserens standardramme om fieldset i WooCommerces afkrydsningslister. */
.vsm-filtre fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }

/* ---------- Hovedmenu (vsm/hovedmenu) ---------- */
.vsm-hm { display: contents; }
.vsm-hm-nav { flex: 1 1 auto; min-width: 0; align-self: stretch; }
.vsm-hm-liste { list-style: none; margin: 0; padding: 0; height: 100%; display: flex; align-items: stretch; gap: 2px; }
.vsm-hm-punkt { display: flex; }
.vsm-hm-link {
	display: inline-flex; align-items: center; gap: 6px; height: 100%; padding: 0 12px; box-sizing: border-box;
	font-size: 16px; font-weight: 600; color: var(--wp--preset--color--blaek); text-decoration: none; white-space: nowrap;
	box-shadow: inset 0 -3px 0 transparent; transition: color 160ms ease-out, box-shadow 160ms ease-out;
}
.vsm-hm-link:hover, .vsm-hm-punkt.er-aaben > .vsm-hm-link { color: var(--wp--preset--color--teal); box-shadow: inset 0 -3px 0 var(--wp--preset--color--teal-dis); }
.vsm-hm-link.er-aktiv { color: var(--wp--preset--color--teal); box-shadow: inset 0 -3px 0 var(--wp--preset--color--teal); }
.vsm-hm-link:focus-visible { outline-offset: -4px; }
.vsm-hm-pil { transition: transform 160ms ease-out; }
.vsm-hm-punkt.er-aaben .vsm-hm-pil { transform: rotate(180deg); }

/* Shop-menuen: hele bredden under headeren, med indholdet på sidens linjer. */
.vsm-mega {
	position: absolute; left: 0; right: 0; top: 100%; z-index: 49;
	background: var(--wp--preset--color--hvid); border-top: var(--vsm-streg);
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.3);
	opacity: 0; visibility: hidden; transform: translateY(-6px);
	transition: opacity 140ms ease-out, transform 140ms ease-out, visibility 0s linear 140ms;
}
.vsm-hm-punkt.er-aaben > .vsm-mega { opacity: 1; visibility: visible; transform: none; transition: opacity 180ms cubic-bezier(0.22, 1, 0.36, 1), transform 180ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s; }
.vsm-mega-indre {
	box-sizing: border-box; max-width: calc(1312px + 2 * var(--vsm-kant)); margin: 0 auto; padding: 32px var(--vsm-kant) 32px;
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.2fr); gap: 48px;
}
.vsm-mega-titel { margin: 0 0 10px; font-size: 14px; font-weight: 600; color: var(--wp--preset--color--blaek-daempet); }
.vsm-mega-kol ul { list-style: none; margin: 0; padding: 0; }
.vsm-mega-kol li a {
	display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0;
	font-size: 16px; font-weight: 600; color: var(--wp--preset--color--blaek); text-decoration: none; border-bottom: 1px solid transparent;
}
.vsm-mega-kol li a:hover { color: var(--wp--preset--color--teal); }
.vsm-mega-antal { font-size: 13px; font-weight: 500; color: var(--wp--preset--color--blaek-daempet); font-variant-numeric: tabular-nums; }
.vsm-mega-alle { display: inline-block; margin-top: 12px; font-size: 15px; font-weight: 600; color: var(--wp--preset--color--teal); text-decoration: none; }
.vsm-mega-alle:hover { text-decoration: underline; text-underline-offset: 3px; }
.vsm-mega-kort { display: grid; grid-template-rows: auto 1fr; border-radius: var(--vsm-r-md); overflow: hidden; background: var(--wp--preset--color--staal); color: var(--wp--preset--color--blaek); text-decoration: none; }
.vsm-mega-kort img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1); }
.vsm-mega-kort:hover img { transform: scale(1.03); }
.vsm-mega-kort-tekst { display: grid; gap: 6px; align-content: start; padding: 16px 18px 18px; font-size: 15px; line-height: 1.45; }
.vsm-mega-kort-tekst strong { font-family: var(--wp--preset--font-family--barlow-condensed); font-size: 24px; line-height: 1.1; }
.vsm-mega-kort-link { margin-top: 4px; font-weight: 600; color: var(--wp--preset--color--teal); }
.vsm-mega-fod { background: var(--wp--preset--color--staal); }
.vsm-mega-fod { display: flex; justify-content: center; gap: 16px; padding: 14px var(--vsm-kant); font-size: 15px; color: var(--wp--preset--color--blaek-daempet); }
.vsm-mega-fod a { font-weight: 600; color: var(--wp--preset--color--teal); text-decoration: none; }
.vsm-mega-fod a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1240px) {
	.vsm-hm-link { padding: 0 9px; font-size: 15px; }
	.vsm-mega-indre { gap: 32px; }
}

/* Burger og skuffe: kun under 1100 px. */
.vsm-hm-burger { display: none; }
@media (max-width: 1099px) {
	.vsm-hm-nav { display: none; }
	.vsm-hm-burger {
		display: inline-flex; align-items: center; gap: 6px; order: 9; align-self: center;
		min-height: 44px; padding: 0 8px; border: 0; background: none; cursor: pointer;
		color: var(--wp--preset--color--blaek); font: inherit; font-size: 15px; font-weight: 600;
	}
}
@media (max-width: 420px) { .vsm-hm-burger-tekst { display: none; } }

.vsm-skuffe {
	position: fixed; inset: 0 0 0 auto; margin: 0; padding: 0; border: 0;
	width: min(420px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh;
	background: var(--wp--preset--color--hvid); color: var(--wp--preset--color--blaek); overflow-y: auto; overscroll-behavior: contain;
}
.vsm-skuffe[open] { display: flex; flex-direction: column; animation: vsm-skuffe-ind 260ms cubic-bezier(0.32, 0.72, 0, 1) both; }
.vsm-skuffe.lukker { animation: vsm-skuffe-ud 180ms ease-in both; }
.vsm-skuffe::backdrop { background: rgba(9, 20, 21, 0.45); }
@keyframes vsm-skuffe-ind { from { transform: translateX(100%); } to { transform: none; } }
@keyframes vsm-skuffe-ud { to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .vsm-skuffe[open], .vsm-skuffe.lukker { animation: none; } }
.vsm-skuffe-top { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding: 0 8px 0 20px; background: var(--wp--preset--color--hvid); border-bottom: var(--vsm-streg); }
.vsm-skuffe-titel { font-family: var(--wp--preset--font-family--barlow-condensed); font-size: 22px; font-weight: 700; }
.vsm-skuffe-luk { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; color: inherit; }
.vsm-skuffe-soeg { display: flex; margin: 16px 20px 4px; border: 1px solid var(--wp--preset--color--streg); border-radius: var(--vsm-r-sm); }
.vsm-skuffe-soeg:focus-within { border-color: var(--wp--preset--color--teal); box-shadow: 0 0 0 1px var(--wp--preset--color--teal); }
.vsm-skuffe-soeg input { flex: 1; min-width: 0; min-height: 48px; padding: 0 12px; border: 0; background: none; font: inherit; font-size: 16px; outline: none; }
.vsm-skuffe-soeg button { width: 48px; border: 0; background: none; cursor: pointer; color: var(--wp--preset--color--blaek); }
.vsm-skuffe-shop { margin: 8px 20px 0; border-bottom: var(--vsm-streg); }
.vsm-skuffe-shop summary {
	list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 60px;
	font-family: var(--wp--preset--font-family--barlow-condensed); font-size: 28px; font-weight: 700;
}
.vsm-skuffe-shop summary::-webkit-details-marker { display: none; }
.vsm-skuffe-shop summary::after { content: "+"; font-family: var(--wp--preset--font-family--barlow); font-weight: 400; color: var(--wp--preset--color--teal); }
.vsm-skuffe-shop[open] summary::after { content: "−"; }
.vsm-skuffe-shop ul { list-style: none; margin: 0 0 12px; padding: 0; }
.vsm-skuffe-shop li a { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; font-size: 17px; font-weight: 600; color: inherit; text-decoration: none; }
.vsm-skuffe-links { list-style: none; margin: 0 20px; padding: 0; }
.vsm-skuffe-links a {
	display: block; padding: 14px 0; border-bottom: var(--vsm-streg);
	font-family: var(--wp--preset--font-family--barlow-condensed); font-size: 28px; font-weight: 700; line-height: 1.15; color: inherit; text-decoration: none;
}
.vsm-skuffe-links a[aria-current] { color: var(--wp--preset--color--teal); }
.vsm-skuffe-fod { display: grid; gap: 12px; margin-top: auto; padding: 24px 20px calc(24px + env(safe-area-inset-bottom)); }
.vsm-skuffe-cta { display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: var(--vsm-r-sm); background: var(--wp--preset--color--teal); color: #fff; font-weight: 600; text-decoration: none; }
.vsm-skuffe-tlf { text-align: center; font-weight: 600; color: var(--wp--preset--color--teal); text-decoration: none; }
.vsm-skuffe-tider { text-align: center; font-size: 14px; color: var(--wp--preset--color--blaek-daempet); }
.vsm-skuffe-tider a { color: inherit; }

/* ---------- Shop: filter i synsfeltet, valgte filtre, ingen varer og sider ---------- */
/* Filteret står fast, mens man ruller gennem varerne. Er det højere end skærmen, ruller det for sig selv. */
@media (min-width: 782px) {
	.vsm-shop .vsm-filtre {
		position: sticky; top: calc(var(--vsm-header-h, 72px) + 24px); align-self: flex-start;
		max-height: calc(100vh - var(--vsm-header-h, 72px) - 48px); overflow-y: auto; overscroll-behavior: contain;
		padding-right: 8px; scrollbar-width: thin; scrollbar-color: var(--wp--preset--color--streg) transparent;
	}
}
.vsm-valgte { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.vsm-valgt {
	display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 10px 0 12px; border-radius: 999px;
	background: var(--wp--preset--color--teal-taage); color: var(--wp--preset--color--teal-dyb); font-size: 14px; font-weight: 600; text-decoration: none;
}
.vsm-valgt:hover { background: var(--wp--preset--color--teal-dis); }
.vsm-valgte-ryd { font-size: 14px; font-weight: 600; color: var(--wp--preset--color--blaek-daempet); text-decoration: underline; text-underline-offset: 3px; }
.vsm-ingen-varer { padding: 40px 0 24px; }
.vsm-ingen-varer h2 { margin-top: 0; }

.vsm-shop .wp-block-query-pagination { gap: 6px; margin-top: 48px !important; font-size: 15px; font-weight: 600; }
.vsm-shop .wp-block-query-pagination-numbers { display: flex; gap: 6px; }
.vsm-shop .wp-block-query-pagination .page-numbers,
.vsm-shop .wp-block-query-pagination-previous,
.vsm-shop .wp-block-query-pagination-next {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; box-sizing: border-box;
	border: 1px solid var(--wp--preset--color--streg); border-radius: var(--vsm-r-sm); color: var(--wp--preset--color--blaek); text-decoration: none;
}
.vsm-shop .wp-block-query-pagination .page-numbers:hover,
.vsm-shop .wp-block-query-pagination-previous:hover,
.vsm-shop .wp-block-query-pagination-next:hover { border-color: var(--wp--preset--color--blaek); }
.vsm-shop .wp-block-query-pagination .page-numbers.current { background: var(--wp--preset--color--blaek); border-color: var(--wp--preset--color--blaek); color: #fff; }
.vsm-shop .wp-block-query-pagination .page-numbers.dots { border: 0; min-width: 24px; padding: 0; }
@media (max-width: 600px) { .vsm-shop .wp-block-query-pagination-numbers .page-numbers:not(.current):not(:first-child):not(:last-child) { display: none; } }

/* Headeren skal blive ved toppen hele siden igennem. Skabelondelens omslutning er kun så høj som headeren selv,
   så den fjernes fra layoutet, og headeren bliver sticky i forhold til hele siden. */
.wp-site-blocks > .wp-block-template-part:has(> .vsm-header) { display: contents; }

/* ---------- Søgning med forslag (vsm/soeg) ---------- */
.vsm-sg { display: flex; align-items: center; }
.vsm-sg-knap {
	display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 6px; border: 0; background: none; cursor: pointer;
	color: var(--wp--preset--color--blaek); font: inherit; font-size: 15px; font-weight: 600;
}
.vsm-sg-knap:hover { color: var(--wp--preset--color--teal); }
.vsm-sg-panel {
	position: absolute; left: 0; right: 0; top: 100%; z-index: 48;
	background: var(--wp--preset--color--hvid); border-top: var(--vsm-streg); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.3);
	animation: vsm-sg-ind 160ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes vsm-sg-ind { from { opacity: 0; transform: translateY(-6px); } }
.vsm-sg-indre { box-sizing: border-box; max-width: 880px; margin: 0 auto; padding: 24px var(--vsm-kant) 28px; }
.vsm-sg-form { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 12px; }
.vsm-sg-lup { grid-column: 1; color: var(--wp--preset--color--blaek-daempet); }
.vsm-sg-felt {
	grid-column: 2; min-width: 0; min-height: 56px; padding: 0; border: 0; border-bottom: 2px solid var(--wp--preset--color--blaek); border-radius: 0;
	background: none; font: inherit; font-size: 22px; font-weight: 500; color: var(--wp--preset--color--blaek); outline: none;
}
.vsm-sg-felt:focus { border-bottom-color: var(--wp--preset--color--teal); }
.vsm-sg-felt::-webkit-search-cancel-button { display: none; }
.vsm-sg-luk { grid-column: 3; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; color: var(--wp--preset--color--blaek); }
.vsm-sg-forslag { grid-column: 1 / -1; margin-top: 20px; min-height: 40px; transition: opacity 120ms ease-out; }
.henter .vsm-sg-forslag { opacity: 0.55; }
.vsm-sg-titel { margin: 0 0 10px; font-size: 14px; font-weight: 600; color: var(--wp--preset--color--blaek-daempet); }
.vsm-sg-gruppe + .vsm-sg-gruppe { margin-top: 20px; }
.vsm-sg-populaere, .vsm-sg-typer { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.vsm-sg-populaere a, .vsm-sg-typer a {
	display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border: 1px solid var(--wp--preset--color--streg); border-radius: 999px;
	font-size: 15px; font-weight: 600; color: var(--wp--preset--color--blaek); text-decoration: none;
}
.vsm-sg-populaere a:hover, .vsm-sg-typer a:hover, .vsm-sg-populaere a:focus-visible, .vsm-sg-typer a:focus-visible { border-color: var(--wp--preset--color--teal); color: var(--wp--preset--color--teal); }
.vsm-sg-antal { font-size: 12px; font-weight: 500; color: var(--wp--preset--color--blaek-daempet); }
.vsm-sg-varer { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
.vsm-sg-varer a { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 8px; margin: 0 -8px; border-radius: var(--vsm-r-sm); color: var(--wp--preset--color--blaek); text-decoration: none; }
.vsm-sg-varer a:hover, .vsm-sg-varer a:focus-visible { background: var(--wp--preset--color--staal); }
.vsm-sg-varer img { width: 56px; height: 56px; object-fit: contain; border-radius: var(--vsm-r-sm); background: var(--wp--preset--color--staal); mix-blend-mode: multiply; }
.vsm-sg-vare-tekst { display: grid; gap: 2px; min-width: 0; }
.vsm-sg-vare-navn { font-size: 15px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vsm-sg-sku { font-size: 12px; color: var(--wp--preset--color--blaek-daempet); }
.vsm-sg-pris { font-family: var(--wp--preset--font-family--barlow-condensed); font-size: 18px; font-weight: 700; white-space: nowrap; }
.vsm-sg-forslag mark { background: none; color: inherit; font-weight: 800; }
.vsm-sg-alle { display: inline-block; margin-top: 18px; font-size: 15px; font-weight: 600; color: var(--wp--preset--color--teal); text-decoration: none; }
.vsm-sg-alle:hover { text-decoration: underline; text-underline-offset: 3px; }
.vsm-sg-ingen { margin-bottom: 18px; font-size: 15px; }
.vsm-sg-ingen a { color: var(--wp--preset--color--teal); font-weight: 600; }
@media (max-width: 781px) {
	.vsm-sg-knap-tekst { display: none; }
	.vsm-sg-knap { padding: 0 10px; }
	/* På mobil fylder panelet skærmen under headeren, og siden bagved ruller ikke. */
	.vsm-sg-panel { position: fixed; top: var(--vsm-header-h, 60px); bottom: 0; overflow-y: auto; overscroll-behavior: contain; box-shadow: none; }
	.vsm-sg-indre { padding-top: 16px; }
	.vsm-sg-felt { font-size: 18px; min-height: 48px; }
	.vsm-sg-varer { grid-template-columns: minmax(0, 1fr); }
	html.vsm-sg-laast, html.vsm-sg-laast body { overflow: hidden; }
}
/* Forslagene i mobilskuffen. */
.vsm-skuffe-soeg { flex-wrap: wrap; position: relative; }
.vsm-sg-forslag--skuffe { flex: 1 1 100%; margin: 0; padding: 0 12px; }
.vsm-sg-forslag--skuffe:not(:empty) { padding: 12px; border-top: var(--vsm-streg); }
.vsm-sg-forslag--skuffe .vsm-sg-varer { grid-template-columns: minmax(0, 1fr); }
@media (prefers-reduced-motion: reduce) { .vsm-sg-panel { animation: none; } }

/* Tom vareliste (blocks/ingen-varer): filterkolonnen har intet at filtrere, så teksten får hele bredden. */
.wp-block-columns:has(.vsm-ingen-varer) > .vsm-filtre { display: none; }
.wp-block-column:has(.vsm-ingen-varer) > .vsm-shop-linje { display: none; }
.vsm-ingen-varer p { max-width: 60ch; }
.vsm-ingen-proev { margin: 24px 0 10px; font-weight: 600; font-size: 15px; }
.vsm-ingen-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.vsm-ingen-chips a {
	display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px;
	border: 1px solid var(--wp--preset--color--streg, #d9dfdf); color: var(--wp--preset--color--blaek, #0f1a1b);
	font-weight: 600; font-size: 15px; text-decoration: none; transition: border-color 150ms ease, background-color 150ms ease;
}
.vsm-ingen-chips a:hover { border-color: var(--wp--preset--color--teal, #006d77); background: var(--wp--preset--color--teal-taage, #e6f1f2); }

/* Smalle telefoner (320-389 px): logo, søg, tilbud, kurv og menu skal stå på én linje uden at menuknappen ryger ud over kanten. */
@media (max-width: 389px) {
	.vsm-header { gap: 4px; padding-right: 4px; }
	.vsm-logo { padding: 0 10px 0 12px; }
	.vsm-logo img { width: 78px; }
	.vsm-header-hoejre { gap: 0; }
	.vsm-header-hoejre .vsm-knap-lille .wp-block-button__link { padding-inline: 10px; font-size: 13px; }
	.vsm-header .wc-block-mini-cart__button { width: 40px; padding-inline: 0; justify-content: center; }
}

/* ---------- Produktsiden: tillid under Ordresedlen, Om varen, Lignende varer og tilbage-link på mobil ---------- */
.vsm-tillid { display: grid; gap: 10px; margin-top: 16px; padding: 16px 20px; border: var(--vsm-streg); border-radius: var(--vsm-r-md); }
.vsm-tillid-score { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: var(--wp--preset--color--blaek); font-size: 15px; text-decoration: none; }
.vsm-tillid-score .vsm-stjerner { font-size: 17px; }
.vsm-tillid-score:hover span:last-child { text-decoration: underline; text-underline-offset: 3px; }
.vsm-tillid-citat { margin: 0; padding: 0; border: 0; }
.vsm-tillid-citat p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--wp--preset--color--blaek-tekst, #2a3438); }
.vsm-tillid-citat cite { display: block; margin-top: 2px; font-size: 13px; font-style: normal; color: var(--wp--preset--color--blaek-daempet); }
.vsm-tillid-betaling { margin: 0; padding-top: 10px; border-top: var(--vsm-streg); font-size: 13px; color: var(--wp--preset--color--blaek-daempet); }
.vsm-tillid-fortryd { margin: 0; font-size: 13px; line-height: 1.45; color: var(--wp--preset--color--blaek-daempet); }
.vsm-tillid-fortryd a { color: inherit; }

.vsm-detaljer {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--wp--preset--spacing--lg) var(--wp--preset--spacing--2xl); align-items: start;
	margin-top: var(--wp--preset--spacing--2xl); padding-top: var(--wp--preset--spacing--xl); border-top: var(--vsm-streg);
}
.vsm-detaljer-titel { margin: 0; }
.vsm-detaljer-indhold { display: grid; gap: 32px; min-width: 0; }
.vsm-detaljer-tekst { max-width: 65ch; }
.vsm-detaljer-tekst > :first-child { margin-top: 0; }
.vsm-detaljer-tekst > :last-child { margin-bottom: 0; }
.vsm-fakta-liste { margin: 0; border-top: var(--vsm-streg); }
.vsm-fakta-liste > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: var(--vsm-streg); font-size: 15px; line-height: 1.45; }
.vsm-fakta-liste dt { color: var(--wp--preset--color--blaek-daempet); }
.vsm-fakta-liste dd { margin: 0; color: var(--wp--preset--color--blaek); font-weight: 500; overflow-wrap: anywhere; }
.vsm-fakta-liste a { color: inherit; text-underline-offset: 3px; }
.vsm-fold { border-top: var(--vsm-streg); }
.vsm-fold:last-child { border-bottom: var(--vsm-streg); }
.vsm-folder { margin-top: -8px; }
.vsm-fold summary {
	display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; cursor: pointer; list-style: none;
	font-weight: 600; font-size: 17px; color: var(--wp--preset--color--blaek);
}
.vsm-fold summary::-webkit-details-marker { display: none; }
.vsm-fold summary::after { content: ""; width: 10px; height: 10px; flex: none; margin-right: 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1); }
.vsm-fold[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.vsm-fold summary:hover { color: var(--wp--preset--color--teal); }
.vsm-fold-indhold { padding-bottom: 20px; max-width: 65ch; font-size: 15px; line-height: 1.6; }
.vsm-fold-indhold > :first-child { margin-top: 0; }
.vsm-fold-indhold img { max-width: 100%; height: auto; border-radius: var(--vsm-r-md); }
@media (prefers-reduced-motion: reduce) { .vsm-fold summary::after { transition: none; } }

.vsm-lignende { margin-top: var(--wp--preset--spacing--2xl); }
.vsm-lignende-hoved { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: var(--wp--preset--spacing--lg); }
.vsm-lignende-hoved h2 { margin: 0; }
.vsm-lignende-alle { font-weight: 600; color: var(--wp--preset--color--teal); text-decoration: none; }
.vsm-lignende-alle:hover { text-decoration: underline; text-underline-offset: 3px; }
.vsm-lignende .wc-block-product-template.wc-block-product-template__responsive { --vsm-kol: 4; }

.vsm-tilbage { display: none; }
@media (max-width: 1100px) { .vsm-lignende .wc-block-product-template.wc-block-product-template__responsive { --vsm-kol: 2; } }
@media (max-width: 900px) { .vsm-detaljer { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
	.vsm-produkt .wc-block-breadcrumbs .woocommerce-breadcrumb { display: none; }
	.vsm-tilbage { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--wp--preset--color--teal); font-weight: 600; text-decoration: none; }
	.vsm-tilbage span { font-size: 22px; line-height: 1; }
	.vsm-fakta-liste > div { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
	.vsm-tillid { padding: 14px 16px; }
}
/* VSM's beskrivelser har egne overskrifter (h2 med varens navn). Inde i Om varen er de mellemrubrikker. */
.vsm-detaljer-tekst :is(h1, h2, h3, h4) { margin: 28px 0 8px; font-family: var(--wp--preset--font-family--barlow); font-size: 18px; font-weight: 700; line-height: 1.35; letter-spacing: 0; }
.vsm-detaljer-tekst > :is(h1, h2, h3, h4):first-child { margin-top: 0; }
.vsm-detaljer-tekst :is(p, li) { font-size: 16px; line-height: 1.65; }
@media (min-width: 901px) { .vsm-detaljer-titel { position: sticky; top: calc(var(--vsm-header-h, 72px) + 24px); } }
.vsm-pleje { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 8px 24px; }
.vsm-pleje li { position: relative; padding-left: 18px; }
.vsm-pleje li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--wp--preset--color--teal); }
.vsm-hel { white-space: nowrap; }

/* Farveprik i farvechips (vsm_farveprik). Hvid og lyse farver får en tynd kant, så de kan ses på hvidt. */
.vsm-chip .vsm-prik { display: inline-block; width: 14px; height: 14px; margin-right: 8px; flex: none; border-radius: 50%; background: var(--prik); box-shadow: inset 0 0 0 1px rgba(15, 26, 27, 0.18); vertical-align: -2px; }
.vsm-chip > span:has(.vsm-prik) { display: inline-flex; align-items: center; }

/* WooCommerce skjuler galleriet (opacity: 0), til scriptet har kørt. Det første billede er sidens største element, så det vises
   med det samme. Indtil slideren er klar, skjules de øvrige billeder, og der holdes plads til miniaturerækken, så intet hopper. */
.woocommerce-product-gallery { opacity: 1 !important; }
.woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__image:nth-child(n+2) { display: none !important; }
.woocommerce-product-gallery:not(:has(.flex-viewport)):has(.woocommerce-product-gallery__image:nth-child(2)) { padding-bottom: calc((100% - 32px) / 5 + 16px); }
@media (max-width: 781px) {
	.woocommerce-product-gallery:not(:has(.flex-viewport)):has(.woocommerce-product-gallery__image:nth-child(2)) { padding-bottom: calc((100% - 24px) / 4.5 + 16px); }
}

/* Mobil: galleriet står over Ordresedlen. Den valgte farves billede står ved farvevalget (assets/galleri.js). */
.vsm-farve-vist { display: none; }
@media (max-width: 781px) {
	.vsm-seddel-felt legend:has(.vsm-farve-vist) { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 12px; }
	.vsm-farve-vist { display: block; width: 44px; height: 44px; flex: none; border-radius: var(--vsm-r-sm, 4px); background: var(--wp--preset--color--staal); overflow: hidden; }
	.vsm-farve-vist img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; display: block; }
}
/* Mens flexslider regner bredderne ud (ca. 130 ms på mobil), er hvert billede lige så bredt som hele rækken (6.000 px høje).
   Alle slides er kvadratiske, så vinduet holdes kvadratisk fra start. Flexsliders egen højde overtager bagefter. */
.woocommerce-product-gallery .flex-viewport { aspect-ratio: 1; overflow: hidden; }

/* GLS' knap til valg af pakkeshop i sitets stil i stedet for GLS' gule. */
.wc-block-checkout .GLSDk-pick-location, .woocommerce-checkout .GLSDk-pick-location {
	display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin-top: 12px; padding: 0 20px;
	background: var(--wp--preset--color--hvid) !important; color: var(--wp--preset--color--blaek) !important;
	border: 1px solid var(--wp--preset--color--blaek) !important; border-radius: var(--vsm-r-sm, 4px); box-shadow: none !important;
	font: 600 15px/1 var(--wp--preset--font-family--barlow); text-transform: none; cursor: pointer;
	transition: background-color 160ms ease-out, color 160ms ease-out;
}
.wc-block-checkout .GLSDk-pick-location:hover { background: var(--wp--preset--color--blaek) !important; color: #fff !important; }

/* Tak-siden: trinene efter bestillingen (includes/kasse.php). */
.vsm-tak-trin { margin: 32px 0 40px; padding: 24px 28px; border: var(--vsm-streg); border-radius: var(--vsm-r-md); }
.vsm-tak-trin h2 { margin: 0 0 16px; font-size: var(--wp--preset--font-size--title); }
.vsm-tak-trin ol { margin: 0; padding: 0; list-style: none; counter-reset: trin; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px 32px; }
.vsm-tak-trin li { counter-increment: trin; display: grid; grid-template-columns: 32px minmax(0, 1fr); align-content: start; column-gap: 12px; row-gap: 4px; font-size: 15px; line-height: 1.5; }
.vsm-tak-trin li::before { content: counter(trin); grid-row: span 2; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--wp--preset--color--teal); color: #fff; font-weight: 700; font-size: 15px; }
.vsm-tak-trin li strong { color: var(--wp--preset--color--blaek); }
.vsm-tak-trin li span { color: var(--wp--preset--color--blaek-tekst, #2a3438); overflow-wrap: anywhere; }
.vsm-tak-hjaelp { margin: 20px 0 0; padding-top: 16px; border-top: var(--vsm-streg); font-size: 14px; color: var(--wp--preset--color--blaek-daempet); }
@media (max-width: 600px) { .vsm-tak-trin { padding: 20px; } }
