/* M.U.S MaskinUtleie — project design implementation.
   Started from the Trondheim Maskinutleie theme (same WooCommerce catalogue
   setup) and re-skinned to the MUS palette:
     primary = #1B1917 (asfalt: text, dark surfaces, header, footer)
     accent  = #F37523 (signal orange: fills only, always with asfalt text)
     rust    = #A84A0C (links and orange text on light backgrounds, 5.4:1)
     surface = #ECE9E4 (betong), page = #FAF8F5 (papir)
   Type: Barlow Condensed 800 caps (display), Barlow (body), IBM Plex Mono (figures). */

:root {
	--mus-primary: #1B1917;
	--mus-rust: #A84A0C;
	--mus-accent: #F37523;
	--mus-surface: #ECE9E4;
	--mus-ink: #1B1917;
	--mus-body: #5E5955;
	--mus-line: #D9D4CD;
	--mus-content: 1360px;
	/* No orange/teal in this project: any styrk-block that falls back to the
	   brand accent (orange #F37523) is redirected to logo-blue here. */
	--wp--preset--color--accent: #F37523;
	/* The parent theme paints every focus ring with
	   `var(--wp--preset--color--secondary, #0084AF) !important`. That variable
	   is undefined here, so without this line every keyboard focus ring on the
	   site renders in the banned teal. Navy gives 9.8:1 on white. */
	--wp--preset--color--secondary: #1B1917;
	--wp--preset--color--accent-80: #F59A5C;
	--wp--preset--color--accent-50: #F8C39E;
	/* ONE shared rail for the whole page. The shared header + footer defaulted
	   to --cb-content-max 1280 / --cb-rail 3.25rem, while the content sections
	   use --content-width 1360 / 24px padding — so the header logo, the section
	   content, and the footer columns all sat on DIFFERENT left/right edges.
	   Collapse the header/footer rail onto the 1360/24 content rail so every
	   section's outer edges line up on the same vertical lines. */
	--cb-content-max: 1360px;
	--cb-rail: 24px;

	/* Product presentation. Every value here is the shipped default; the
	   "Utseende" section under WooCommerce → Settings → Products prints an
	   override block after this stylesheet (see inc/product-appearance.php).
	   Archive cards and the single product page both read these, so the two
	   stay in sync from one place. */
	--mus-card-radius: 2px;
	--mus-card-bg: #fff;
	--mus-card-border-width: 1px;
	--mus-card-border-color: #D9D4CD;
	--mus-card-shadow: 0 2px 6px rgba(27, 25, 23, 0.05);
	--mus-card-shadow-hover: 0 22px 44px -20px rgba(27, 25, 23, 0.3);
	--mus-card-img-ratio: 1 / 1;
	--mus-card-img-fit: contain;
	--mus-card-img-pad: 16px;
	--mus-card-img-border-width: 0px;
	--mus-card-img-border-color: #D9D4CD;
	--mus-product-btn-radius: 2px;
	--mus-shop-bg: transparent;
	/* Card CTA icon buttons (ring / e-post). */
	--mus-iconbtn-bg: #fff;
	--mus-iconbtn-fg: #1B1917;
	--mus-iconbtn-border: #D9D4CD;
	--mus-iconbtn-bg-hover: #fff;
	--mus-iconbtn-fg-hover: #F37523;
}

/* ─────────── shared bits ─────────── */
.mus-wrap {
	max-width: var(--mus-content);
	margin-inline: auto;
	padding-inline: 24px;
}
.mus-eyebrow {
	font-family: var(--wp--preset--font-family--base);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--mus-rust);
}
.mus-h2 {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 600;
	font-size: clamp(2rem, 3.4vw, 2.9rem);
	line-height: 1.08;
	letter-spacing: -0.005em;
	color: var(--mus-ink);
	margin: 12px 0 0;
}
.mus-lead {
	margin: 12px 0 0;
	color: var(--mus-body);
	font-size: 17px;
	max-width: 54ch;
	line-height: 1.6;
}

/* buttons */
.mus-btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-family: var(--wp--preset--font-family--base);
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	border: none;
	cursor: pointer;
	border-radius: 2px;
	padding: 13px 20px;
	transition: transform 0.15s, box-shadow 0.15s, filter 0.15s,
		background 0.15s, border-color 0.15s;
}
.mus-btn--accent {
	background: var(--mus-accent);
	color: var(--mus-ink);
	box-shadow: 0 12px 30px -10px rgba(243, 117, 35, 0.55);
}
.mus-btn--accent:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}
.mus-btn--dark {
	background: var(--mus-primary);
	color: #fff;
}
.mus-btn--dark:hover {
	filter: brightness(1.15);
}
.mus-btn--outline {
	background: none;
	border: 1.5px solid var(--mus-line);
	color: var(--mus-ink);
}
.mus-btn--outline:hover {
	border-color: var(--mus-rust);
	background: var(--mus-surface);
}
/* The site's focus ring (2px, square, dark), not the browser's thin blue one.
   Every .mus-btn sits on a light surface (basket bar, job guide, cart). */
.mus-btn:focus-visible {
	outline: 2px solid var(--mus-ink);
	outline-offset: 3px;
}

/* ─────────── value props (numbered, editorial — no cards) ─────────── */
.mus-vps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
	gap: clamp(28px, 4vw, 44px);
	padding-block: clamp(48px, 6vw, 72px);
}
.mus-vp__num {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.16em;
	color: var(--mus-rust);
}
.mus-vp__rule {
	height: 3px;
	width: 34px;
	background: var(--mus-accent);
	border-radius: 2px;
	margin: 14px 0 18px;
}
.mus-vp__h {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 600;
	font-size: 19px;
	margin: 0 0 8px;
	color: var(--mus-ink);
}
.mus-vp__p {
	margin: 0;
	color: var(--mus-body);
	font-size: 15px;
	line-height: 1.55;
}

/* ─────────── category cards (image well + multiply + hover) ─────────── */
.mus-cats-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 38px;
}
.mus-cats {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 24px;
}
.mus-cat {
	display: block;
	text-align: left;
	background: #fff;
	border: 1px solid var(--mus-line);
	border-radius: 18px;
	overflow: hidden;
	text-decoration: none;
	box-shadow: 0 2px 6px rgba(27, 25, 23, 0.05);
	transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.mus-cat:hover {
	box-shadow: 0 22px 44px -20px rgba(27, 25, 23, 0.3);
	border-color: rgba(243, 117, 35, 0.45);
}
.mus-cat__well {
	background: #fff;
	aspect-ratio: 4 / 3;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 18px;
}
.mus-cat__well img {
	max-height: 100%;
	max-width: 100%;
	width: auto;
	object-fit: contain;
	mix-blend-mode: multiply; /* melts white studio bg into the card */
}
.mus-cat__body {
	padding: 18px 22px 22px;
	border-top: 1px solid #F3F0EC;
}
.mus-cat__h {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 600;
	font-size: 18px;
	color: var(--mus-ink);
	margin: 0;
}
.mus-cat__p {
	margin: 7px 0 0;
	color: var(--mus-body);
	font-size: 14px;
	line-height: 1.5;
}

.mus-section-pad {
	padding-block: clamp(56px, 7vw, 88px);
}

/* Front-page "Velg kategori" — now a DYNAMIC [product_categories] grid (real
   WooCommerce categories, auto-synced) instead of hardcoded cards. The shortcode
   renders a full-width .woocommerce wrapper, so cap + centre it on the content
   rail and tuck it under the section header (which keeps its own bottom pad off). */
.home .mus-cats-section {
	padding-bottom: 0;
}
.home .woocommerce ul.products {
	margin-top: 8px;
	margin-bottom: clamp(56px, 7vw, 88px);
}

/* Keep the product / category grid on the SAME content rail (--mus-content) the header and
   footer use, so the cards' outer edges line up with the logo and footer columns
   instead of spilling wider than them. The full-bleed BANDS (hero, arch-header)
   break out on their own 100vw rule, so capping the .woocommerce wrapper here
   only reins in the grid + result-count/ordering row. */
.home .woocommerce,
.post-type-archive-product ul.products,
.post-type-archive-product .woocommerce-result-count,
.post-type-archive-product .woocommerce-ordering,
.tax-product_cat ul.products,
.tax-product_cat .woocommerce-result-count,
.tax-product_cat .woocommerce-ordering,
.tax-product_tag ul.products {
	max-width: var(--mus-content, 1360px);
	margin-inline: auto;
	padding-inline: 24px;
	box-sizing: border-box;
}
/* WooCommerce floats the result-count + ordering, which makes margin-inline:auto
   compute to 0 — so they hugged the viewport edge while the grid sat centred on
   the rail. Unfloat them so they centre on the same rail as the cards. */
.post-type-archive-product .woocommerce-result-count,
.post-type-archive-product .woocommerce-ordering,
.tax-product_cat .woocommerce-result-count,
.tax-product_cat .woocommerce-ordering,
.tax-product_tag .woocommerce-result-count,
.tax-product_tag .woocommerce-ordering {
	float: none;
}

/* ─────────── tune the styrk blocks we keep ─────────── */
/* Om-oss split image: melt the white product photo into the frame */
.cb-block-split img,
.cb-split img {
	mix-blend-mode: multiply;
}

@media (prefers-reduced-motion: reduce) {
	.mus-btn,
	.mus-cat {
		transition: none;
	}
	.mus-btn:hover,
	.mus-cat:hover {
		transform: none;
	}
}


/* ─────────── WooCommerce product cards (category + shop archives) ───────────
   WooCommerce ships li.product as floated blocks with natural-height images,
   so cards are ragged and each "Ring oss" CTA sits at a different height.
   Rebuild the loop as a CSS grid of equal-height cards: a uniform image well
   (same W×H for every product, portrait or landscape) and the CTA pinned to
   the card bottom so all buttons align on one line. */
.woocommerce ul.products {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 28px;
	margin: 0 auto 48px; /* auto = stay centred on the content rail (see cap above) */
	padding-block: 0; /* keep the cap rule's padding-inline:24 rail gutter */
	list-style: none;
}
/* WooCommerce's clearfix pseudo-elements would become stray grid cells. */
.woocommerce ul.products::before,
.woocommerce ul.products::after {
	display: none !important;
}
.woocommerce ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	display: flex;
	flex-direction: column;
	background: var(--mus-card-bg);
	border: var(--mus-card-border-width) solid var(--mus-card-border-color);
	border-radius: var(--mus-card-radius);
	overflow: hidden;
	padding: 0 0 20px;
	box-shadow: var(--mus-card-shadow);
	transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.woocommerce ul.products li.product:hover {
	box-shadow: var(--mus-card-shadow-hover);
	border-color: rgba(243, 117, 35, 0.45);
}
/* Fuel badge (inc/fuel-badge.php). On cards it sits on the image's top-left
   corner so electric/hybrid/HVO machines stand out before the title is read;
   the glyph tells the fuels apart, not colour. */
.woocommerce ul.products li.product {
	position: relative;
}
.mus-fuel {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	width: max-content;
	flex-shrink: 0;
	white-space: nowrap;
	padding: 5px 10px;
	border-radius: var(--mus-card-radius);
	background: var(--mus-ink);
	color: #fff;
	font-family: var(--wp--preset--font-family--display);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.02em;
}
.mus-fuel svg {
	flex-shrink: 0;
}
.mus-fuel--card {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 1;
}
.mus-fuel--single {
	margin-bottom: 12px;
}

/* Image + title link grows to fill, pushing the CTA to the bottom. */
.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	text-decoration: none;
}
/* Uniform image well — identical box for every product. A square well plus
   `contain` means square AND landscape studio shots fill the card's full width
   edge-to-edge (no side gutters), while nothing ever gets cropped. The old
   4/3 well + 20px padding letterboxed every image into the middle of the card. */
/* "Luft rundt bildet" is padding inside the image well: the well keeps its full
   card width and the picture shrinks within it. The `a img` selector is
   required, not decorative: WooCommerce ships
   `li.product a img { width:100%; margin:0 0 1em }`, which outranks a plain
   `li.product img`. */
.woocommerce ul.products li.product img,
.woocommerce ul.products li.product a img {
	aspect-ratio: var(--mus-card-img-ratio);
	object-fit: var(--mus-card-img-fit);
	width: 100%;
	height: auto;
	margin: 0 0 16px;
	padding: var(--mus-card-img-pad);
	border: var(--mus-card-img-border-width) solid var(--mus-card-img-border-color);
	box-sizing: border-box; /* padding + border eat into the well, never grow it */
	background: var(--mus-card-bg);
	mix-blend-mode: multiply;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 600;
	font-size: 18px;
	line-height: 1.2;
	text-wrap: pretty; /* orphan guard — see .product_title below for the rationale */
	color: var(--mus-ink);
	padding: 0 20px;
	margin: 0;
}
/* Category-card title. WooCommerce uses a DIFFERENT class for category loops
   (.woocommerce-loop-category__title) than for product loops, and it shipped
   with no inset — so the label + count sat flush against the card's left edge.
   Give it the same horizontal gutter as the rest of the card. */
.woocommerce ul.products li.product-category .woocommerce-loop-category__title {
	padding: 0 16px;
}
/* Quiet contact row pinned to the card bottom (call + e-post icon buttons).
   The card image/title already links to the product, so this stays subtle
   instead of a loud repeated phone pill. */
.woocommerce ul.products li.product .mus-card-contact {
	display: flex;
	gap: 8px;
	margin: 16px 20px 0;
}
.mus-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1.5px solid var(--mus-iconbtn-border);
	border-radius: var(--mus-product-btn-radius);
	background: var(--mus-iconbtn-bg);
	color: var(--mus-iconbtn-fg);
	text-decoration: none;
	transition: color 0.18s, border-color 0.18s, background 0.18s;
}
/* Hover tints the glyph and the edge; it no longer floods the button with a
   pale fill. The border tracks the hover glyph colour so the affordance is
   never carried by colour alone. */
.mus-icon-btn:hover,
.mus-icon-btn:focus-visible {
	color: var(--mus-iconbtn-fg-hover);
	border-color: var(--mus-iconbtn-fg-hover);
	background: var(--mus-iconbtn-bg-hover);
}
/* Keyboard focus must stay distinguishable from hover, and survive whatever
   colours the client picks for the button. The parent theme sets its focus ring
   with `!important`, so beating it needs `!important` back — a 3px navy ring
   plus a white gap, which keeps >=3:1 against a light card AND against a
   saturated hover fill. The hover fill alone is NOT a focus indicator: hover
   and focus would then look identical to a keyboard user. */
.woocommerce ul.products li.product .mus-icon-btn:focus-visible {
	outline: 3px solid var(--mus-primary) !important;
	outline-offset: 2px !important;
	box-shadow: 0 0 0 2px #fff;
}
/* The card link fills the card, and the card is `overflow: hidden` (needed to
   clip the image to the rounded corners). That clips the link's own focus ring
   down to a sliver along the bottom edge — the ring is drawn, just invisible.
   So hoist it onto the card element, whose outline its own overflow can't clip. */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link:focus-visible {
	outline: none !important;
}
.woocommerce ul.products li.product:has(a.woocommerce-LoopProduct-link:focus-visible) {
	outline: 3px solid var(--mus-primary);
	outline-offset: 2px;
}
.mus-icon-btn svg {
	display: block;
}
@media (prefers-reduced-motion: reduce) {
	.mus-icon-btn {
		transition: none;
	}
}
@media (prefers-reduced-motion: reduce) {
	.woocommerce ul.products li.product {
		transition: none;
	}
	.woocommerce ul.products li.product:hover {
		transform: none;
	}
}

/* ─────────── Breadcrumb on the content rail ───────────
   WooCommerce prints the breadcrumb full-bleed, so on a laptop the trail sat
   hard against the window edge while the product below it sat on the content
   rail — two different left edges within the same page. Give it the rail and
   max width used by .woocommerce div.product so the trail lines up with the
   gallery under it. */
.woocommerce nav.woocommerce-breadcrumb {
	max-width: var(--cb-content-max, 1280px);
	margin: clamp(16px, 2.5vw, 28px) auto 0;
	padding: 0 var(--cb-rail, 1rem);
	box-sizing: border-box;
}

/* ─────────── Single product page ───────────
   Default WooCommerce ships a full-bleed, float-based two-column layout with
   oversized 20px body copy and a title that overflows its column. Cap it to the
   site content rail, tighten the type rhythm, and give the CTA + meta room. */
.woocommerce div.product {
	max-width: var(--cb-content-max, 1280px);
	margin: clamp(24px, 4vw, 48px) auto;
	padding: 0 var(--cb-rail, 1rem);
	box-sizing: border-box;
}
/* Keep the default gallery|summary split but let each column shrink so long
   words/titles wrap instead of overflowing. */
.woocommerce div.product .woocommerce-product-gallery,
.woocommerce div.product .entry-summary {
	min-width: 0;
}
.woocommerce div.product .product_title {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	line-height: 1.1;
	margin: 0 0 0.5rem;
	overflow-wrap: break-word;
	/* Product names follow a `<brand> <model> <type> <N> t` convention, so a
	   third of the catalogue ends in a one-letter word. The default wrap
	   strips that `t` onto a line of its own. `pretty` reflows the last lines
	   to clear the orphan. NOT `balance`: it optimises for even line lengths
	   and breaks model numbers at their hyphen (`WA80M-` / `8EO`), which is
	   worse. Unsupported browsers fall back to today's rendering. */
	text-wrap: pretty;
	color: var(--mus-ink);
}
/* Bold intro line (short description lead) + body rhythm. Cap the measure so
   lines don't run the full 680px column, and drop 20px → ~16.5px with 1.6
   line-height and tighter paragraph gaps for a calm, readable block. */
.woocommerce div.product .woocommerce-product-details__short-description {
	max-width: 62ch;
	color: var(--mus-ink);
}
.woocommerce div.product .woocommerce-product-details__short-description p {
	font-size: 1.0625rem;
	line-height: 1.6;
	margin: 0 0 0.75rem;
}
.woocommerce div.product .woocommerce-product-details__short-description p:last-child {
	margin-bottom: 0;
}
/* CTA + meta breathing room — the "Ring oss" button and the product meta were
   jammed together directly under the copy. */
.woocommerce div.product .entry-summary .mus-single-contact {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 1.5rem 0 0;
}
.woocommerce div.product .entry-summary .mus-single-contact .mus-product-cta,
.woocommerce div.product .entry-summary .mus-single-contact .mus-product-cta-alt {
	margin: 0;
}
.woocommerce div.product .product_meta {
	margin-top: 1.5rem;
	padding-top: 1rem;
	border-top: 1px solid var(--mus-line);
	font-size: 0.875rem;
	line-height: 1.6;
	color: var(--mus-muted, #5E5955);
}
.woocommerce div.product .product_meta > span {
	display: block;
	margin-bottom: 0.25rem;
}
.woocommerce div.product .product_meta a {
	color: var(--mus-accent, #F37523);
	text-decoration: none;
}
.woocommerce div.product .product_meta a:hover {
	text-decoration: underline;
}

/* ─── Product tabs (Beskrivelse + any custom tabs registered in functions.php) ─── */
.woocommerce div.product .woocommerce-tabs {
	/* The product wrapper already sits on the content rail; a second gutter
	   here put the tabs 24px in from the gallery and the sections below. */
	margin: clamp(2rem, 5vw, 3.5rem) 0 0;
	padding: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	margin: 0 0 1.5rem;
	padding: 0 0 0;
	border-bottom: 2px solid var(--mus-line);
	list-style: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after {
	display: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	border-radius: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	display: inline-block;
	padding: 0.65rem 1.1rem;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--mus-muted, #5E5955);
	text-decoration: none;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
	color: var(--mus-ink);
	border-bottom-color: var(--mus-accent, #F37523);
}
.woocommerce div.product .woocommerce-tabs .panel {
	max-width: 68ch;
	margin: 0;
	color: var(--mus-ink);
}
.woocommerce div.product .woocommerce-tabs .panel h2:first-child {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.35rem;
	margin: 0 0 0.75rem;
}
.woocommerce div.product .woocommerce-tabs .panel p {
	font-size: 1.0625rem;
	line-height: 1.6;
	margin: 0 0 0.75rem;
}

@media (max-width: 768px) {
	.woocommerce div.product .product_title {
		font-size: clamp(1.5rem, 7vw, 2rem);
	}
}

/* Page-header title — this project's display type is Barlow Condensed everywhere, not
   the styrk-blocks default Fraunces serif. Keep the band, swap the face.
   Also CAP the size: styrk-blocks ships a fixed 104px, which is absurd for an
   inner-page title — clamp it to a responsive display size. */
.cb-page-header__title {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 600 !important;
	letter-spacing: -0.005em;
	font-size: clamp(2.25rem, 3.5vw + 1rem, 3.75rem) !important;
	line-height: 1.05 !important;
	max-width: 20ch;
}

/* The page-header block ships ~8-10rem top/bottom padding for overlay-hero
   clearance. But on inner pages it sits inside .cb-page-main, which ALREADY
   pads the top to clear the fixed header — so the block's own big padding just
   stacked into a huge empty light band above the title and below the subtitle.
   Trim it to modest internal spacing; cb-page-main handles header clearance. */
.cb-page-header {
	padding-top: clamp(1.5rem, 3vw, 2.5rem) !important;
	padding-bottom: clamp(1.5rem, 3vw, 2.5rem) !important;
}
/* page.html gives .cb-page-main a big top padding meant to clear an OVERLAY
   header — but on these inner pages the header is in-flow (position:relative),
   so that padding was just an ugly dead gap between the header and the surface
   band. Drop it so the band meets the header seamlessly (the band carries its
   own internal top padding for the breadcrumb). */
.cb-page-main {
	padding-top: 0 !important;
}
/* Hero heading SCALE only — no font-family here.
 *
 * The stencil face is NOT a site default. It is registered in theme.json purely
 * as a selectable family, and is applied per-heading via the hero block's
 * "Skrifttype" control (which emits an inline font-family). Setting it here
 * leaked the stencil onto every hero on every ordinary page (e.g. the privacy
 * page's auto-title). Headings otherwise inherit Barlow Condensed from theme.json. */
.cb-hero-content :is(h1, h2),
.cb-hero__main :is(h1, h2),
.text-hero,
.cb-hero .text-hero {
	letter-spacing: 0.01em;
	font-size: clamp(2.4rem, 5vw, 4.4rem) !important;
	line-height: 1.08;
}

/* No baked-in gap between the inner-page sections — spacing is controlled with
   Gutenberg spacer/divider blocks in the editor instead. The blocks ship a big
   96px `py-section`; on these short inner pages that read as dead gaps, so trim
   it right down and let the editor add spacers where separation is wanted. */
.cb-page-main > .entry-content > .alignfull:not(.cb-page-header) {
	padding-top: 0;
}
.cb-page-main .py-section {
	padding-top: clamp(2rem, 3vw, 2.25rem) !important;
	padding-bottom: clamp(2rem, 3vw, 2.25rem) !important;
}

/* FAQ accordion rows: the block's `divide-muted` hairline (#D9D4CD) is nearly
   invisible on the surface bg, so the terms list read as bare floating rows.
   Give each row a visible-but-subtle divider so the accordion has structure. */
.wp-block-styrk-blocks-faq-accordion [role="listitem"] + [role="listitem"] {
	border-top: 1px solid rgba(27, 25, 23, 0.13);
}

/* ── Inner pages (Kurs / Kontakt / Leievilkår): full-width sections ──────────
   styrk-theme/page.html double-constrains the content column to 720px — great
   for prose, but it also traps the full-width SECTIONS (page-header, faq,
   call-card, cta) at 720px with wide white gutters, so they read as broken.
   Break every alignfull section inside the reading column out to the viewport;
   each section's own inner wrapper keeps its CONTENT centred and capped. */
.cb-page-main .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}
/* 100vw is viewport-incl-scrollbar, so it overhangs by the scrollbar width →
   a faint horizontal scroll. Clip it on the block wrapper (overflow-x:clip
   doesn't create a scroll container, so the sticky header is unaffected). */
.wp-site-blocks {
	overflow-x: clip;
}

/* Full-bleed hero on the shop. WooCommerce wraps the shop content (incl. any
   hero placed in the shop page's description) in a width-capped container, so
   an `alignfull` hero can't reach the edges and its dark background sits inset
   with white gutters — mismatched against the full-width header. Break it out to
   the viewport edges (the hero's own inner rail keeps the CONTENT capped). */
.woocommerce .cb-hero,
.post-type-archive-product .cb-hero {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}
/* WooCommerce pipes the shop's archive description (which holds this hero block)
   through wpautop, which converts the newline after the <h2> open tag into a
   stray LEADING <br>. That empty first line stranded the eyebrow far above the
   title. Hero titles never use an intentional break, so drop it on the shop. */
.post-type-archive-product .cb-hero-content :is(h1, h2) br {
	display: none;
}
/* 100vw is viewport-incl-scrollbar, so it overhangs the usable width by the
   scrollbar (~8px) → a faint horizontal scroll. Clip it on the block wrapper
   (body/viewport overflow propagates, so clipping there doesn't work).
   overflow-x:clip (not hidden) doesn't create a scroll container, so the
   header's sticky/relative behaviour is unaffected. */
.post-type-archive-product .wp-site-blocks {
	overflow-x: clip;
}

/* Readability: body copy was the same heavy navy (#1B1917) as the headings, so
   nothing led and long paragraphs read cold/dense. Soften long-form body text
   to a slate — headings stay navy and now clearly lead. */
.woocommerce div.product .woocommerce-product-details__short-description p,
.cb-page-header__intro,
.cb-page-header__lead {
	color: #5E5955;
}

/* Header logo — enforce the react-header's intended sizing on EVERY template.
   The block's own stylesheet (.rh-logo { height:44px }) is not enqueued on
   WooCommerce archive pages, so the mounted logo renders at its native size
   (978×219). project.css loads site-wide, so we pin it here as a safety net. */
.rh-logo,
.site-header-react .rh-logo,
.react-header-live-wrapper img {
	height: 44px !important;
	width: auto !important;
	display: block;
}
@media (max-width: 782px) {
	.rh-logo,
	.site-header-react .rh-logo,
	.react-header-live-wrapper img {
		height: 36px !important;
	}
}

/* Header CTA ("Be om tilbud") — house rule: a CTA underlines on hover, no
   movement. Same treatment as .mus-btn--accent:hover. */
.site-header-react .rh-cta:hover,
.site-header-react .rh-cta:focus-visible {
	text-decoration: underline !important;
	text-underline-offset: 3px;
	transform: none !important;
}

/* ─────────── Product archive landing pages (category / tag) ───────────
   Branded editorial band (rendered in functions.php → archive_branded_header)
   that replaces WooCommerce's bare flush-left title. Self-contained so it
   doesn't depend on the page-header block stylesheet (not loaded on archives).
   Full-bleed: the woo archive wraps content in a width-capped container, so
   break the band out to the viewport edges like the shop hero. */
.mus-arch-header {
	background: var(--mus-surface);
	border-bottom: 1px solid var(--mus-line);
	/* Mirrors .cb-page-header so archives read exactly like the other inner
	   pages. NOTE: these are re-declared in the high-specificity rule below —
	   see the comment there. This copy only applies if the band is ever nested
	   deeper than a direct child of <main>. */
	padding-top: clamp(1.5rem, 3vw, 2.5rem) !important;
	padding-bottom: clamp(1.5rem, 3vw, 2.5rem) !important;
	/* The block-theme wrapper stamps `alignwide` on hooked WooCommerce output,
	   whose max-width (wide-size) beats a plain width:100vw. Force the breakout
	   so the band reaches both viewport edges like the page-header on normal
	   pages. Gutter lives on __inner so the band bg stays edge-to-edge. */
	padding-inline: 0 !important;
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
}
/* Air between the surface band and the content below. The BAND owns this space,
   so it holds no matter what renders first: a product list (result-count + sort)
   or a subcategory grid (bare ul.products, no result-count). The old rule hung
   the margin off .woocommerce-result-count, so category pages that show
   subcategories — e.g. /utleie/betongutstyr/ — sat flush against the band.
   Adjacent margins collapse, so the sibling rule below can't double it up. */
/* styrk-blocks' style-index.css sets `padding: 0 !important; margin-top: 0
   !important; margin-bottom: 0 !important` on EVERY direct child of <main>
   (`.wp-site-blocks > main:not(.cb-page-main) > *`, specificity 0-2-1), because
   its section blocks own their padding. A bare `.mus-arch-header` (0-1-0) loses
   to that even with !important — which is why the band rendered with zero
   internal padding AND no bottom air on every product archive. Match the same
   context so these legitimately win.

   The band owns its bottom spacing, so it holds whether what follows is a
   result-count + sort row, or a bare subcategory ul.products. */
.wp-site-blocks > main:not(.cb-page-main) > .mus-arch-header {
	padding-top: clamp(1.5rem, 3vw, 2.5rem) !important;
	padding-bottom: clamp(1.5rem, 3vw, 2.5rem) !important;
	padding-inline: 0 !important;
	margin-bottom: clamp(2.5rem, 5vw, 4rem) !important;
}
/* The shop archive (/butikk/) has no band — keep its own top air. */
.post-type-archive-product .woocommerce-result-count,
.post-type-archive-product .woocommerce-notices-wrapper + ul.products,
.post-type-archive-product ul.products:first-child {
	margin-top: clamp(2.5rem, 5vw, 4rem) !important;
}
/* Match the content column exactly: the product grid and the site logo both sit
   at (content-max centred) + 24px, so the header text needs the same gutter or
   it hangs 24px to the left of everything below it. */
.mus-arch-header__inner {
	max-width: var(--mus-content);
	margin-inline: auto;
	padding-inline: var(--cb-rail, 24px);
	box-sizing: border-box;
}
.mus-arch-header__crumbs {
	font-family: var(--wp--preset--font-family--base);
	font-size: 13px;
	color: var(--mus-body);
	margin: 0 0 22px;
}
.mus-arch-header__crumbs a {
	color: var(--mus-body);
	text-decoration: none;
}
.mus-arch-header__crumbs a:hover {
	color: var(--mus-accent);
}
.mus-arch-header__sep {
	margin: 0 9px;
	opacity: 0.5;
}
.mus-arch-header__title {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 600;
	font-size: clamp(2.25rem, 3.5vw + 1rem, 3.75rem);
	line-height: 1.05;
	letter-spacing: -0.005em;
	color: var(--mus-ink);
	margin: 10px 0 0;
	max-width: 20ch;
}
.mus-arch-header__rule {
	width: 34px;
	height: 3px;
	background: var(--mus-accent);
	border: 0;
	border-radius: 2px;
	margin: 20px 0 0;
}
.mus-arch-header__sub {
	margin: 18px 0 0;
	color: #5E5955;
	max-width: 60ch;
	font-size: 16px;
	line-height: 1.6;
}
/* The shop page renders the page-header BLOCK inside WooCommerce's width-capped
   .content-area, so its own `alignfull` breakout never reaches the viewport.
   Force it, so /utleie/ matches the category archives and the normal pages. */
.woocommerce-products-header .cb-page-header,
.content-area .cb-page-header.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* 100vw breakout overhangs by the scrollbar width → clip it on the archive. */
.tax-product_cat .wp-site-blocks,
.tax-product_tag .wp-site-blocks,
.woocommerce-page .wp-site-blocks,
.post-type-archive-product .wp-site-blocks {
	overflow-x: clip;
}

/* Result count + ordering row — WooCommerce ships them unstyled (a raw select
   floating top-right). Give them the site's type + a tidy control. */
.woocommerce .woocommerce-result-count {
	font-family: var(--wp--preset--font-family--base);
	font-size: 14px;
	color: var(--mus-body);
	margin: 0 0 24px;
}
.woocommerce .woocommerce-ordering select {
	font-family: var(--wp--preset--font-family--base);
	font-size: 14px;
	color: var(--mus-ink);
	border: 1.5px solid var(--mus-line);
	border-radius: var(--mus-product-btn-radius);
	padding: 9px 14px;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.18s;
}
.woocommerce .woocommerce-ordering select:hover,
.woocommerce .woocommerce-ordering select:focus-visible {
	border-color: var(--mus-accent);
	outline: none;
}

/* Product CTA radius is scoped to the product pages so the shop settings can't
   reshape the hero/footer buttons that share the .mus-btn class. */
.woocommerce div.product .mus-btn {
	border-radius: var(--mus-product-btn-radius);
}
/* Archive background. Default `transparent` keeps whatever the page/template
   already paints; a colour here tints the shop + category listings only. */
.tax-product_cat .content-area,
.tax-product_tag .content-area,
.post-type-archive-product .content-area {
	background: var(--mus-shop-bg);
}

/* Single product: drop the meaningless "Produktnummer" (SKU = product name in a
   rental catalog) and add breathing room + a short trust note under the CTA. */
.woocommerce div.product .product_meta .sku_wrapper {
	display: none;
}
.mus-single-note {
	margin: 14px 0 0;
	font-family: var(--wp--preset--font-family--base);
	font-size: 14px;
	line-height: 1.55;
	color: var(--mus-body);
}

/* ─────────── Contact split (theme block pattern: kontakt-split) ───────────
   Two-column dark contact CTA that matches the Trondheim design (the built-in
   call-card is single-column, phone-only). Built from CORE blocks so it stays
   fully editable in Gutenberg — this CSS only handles the look: the dark band,
   the logo-blue phone card, the dark e-post card, the icon tiles (CSS mask) and
   the whole-card click target (stretched link). No shared-block fork. */
.mus-contact {
	background: #14171c;
	color: #fff;
	padding: clamp(3rem, 6vw, 5rem) 24px !important;
}
.mus-contact__cols {
	gap: clamp(2rem, 5vw, 4rem) !important;
}
.mus-contact__eyebrow {
	color: var(--mus-accent);
	margin: 0 0 14px;
}
.mus-contact__title {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 600;
	font-size: clamp(2rem, 3.4vw, 2.9rem);
	line-height: 1.08;
	color: #fff;
	margin: 0;
}
.mus-contact__lead {
	color: #A8A29B;
	font-size: 17px;
	line-height: 1.6;
	margin: 14px 0 0;
	max-width: 46ch;
}

/* Contact cards */
.mus-contact-card {
	position: relative;
	border-radius: 16px;
	padding: 20px 22px 20px 84px; /* left inset for the icon tile */
	transition: transform 0.18s, filter 0.18s, border-color 0.18s;
}
.mus-contact-card + .mus-contact-card {
	margin-top: 14px;
}
.mus-contact-card--phone {
	background: var(--mus-accent);
}
.mus-contact-card--email {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.12);
}
.mus-contact-card:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}
.mus-contact-card--phone:hover {
	filter: brightness(1.05);
}
.mus-contact-card--email:hover {
	border-color: rgba(255, 255, 255, 0.28);
}
/* icon tile (::before) + glyph (::after, CSS mask so it inherits a flat colour) */
.mus-contact-card::before {
	content: "";
	position: absolute;
	left: 22px;
	top: 50%;
	transform: translateY(-50%);
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.18);
}
.mus-contact-card--email::before {
	background: rgba(255, 255, 255, 0.07);
}
.mus-contact-card::after {
	content: "";
	position: absolute;
	left: 33px;
	top: 50%;
	transform: translateY(-50%);
	width: 24px;
	height: 24px;
	background: #fff;
	-webkit-mask: var(--mus-ico) center / 24px no-repeat;
	mask: var(--mus-ico) center / 24px no-repeat;
}
.mus-contact-card--phone {
	--mus-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}
.mus-contact-card--email {
	--mus-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpolyline points='22,4 12,13 2,4'/%3E%3C/svg%3E");
}
.mus-contact-card__label {
	margin: 0;
	font-size: 13px;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.82);
}
.mus-contact-card--email .mus-contact-card__label {
	color: #A8A29B;
}
.mus-contact-card__value {
	margin: 2px 0 0;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 600;
	font-size: clamp(1.4rem, 2.2vw, 1.7rem);
	line-height: 1.1;
}
.mus-contact-card__value a {
	color: #fff;
	text-decoration: none;
}
.mus-contact-card--email .mus-contact-card__value {
	font-size: clamp(1rem, 1.6vw, 1.15rem);
	word-break: break-word;
}
/* Stretched link — the whole card is the click target, but only the real
   <a> is in the DOM (accessible: one link, full-card hit area). */
.mus-contact-card__value a::after {
	content: "";
	position: absolute;
	inset: 0;
}
@media (prefers-reduced-motion: reduce) {
	.mus-contact-card {
		transition: none;
	}
	.mus-contact-card:hover {
		transform: none;
	}
}

/* Footer "Følg oss": the standard 20px column-heading margin left an oversized
   gap above the small social icons. Tighten it just for the socials column. */
.site-footer__col-heading:has( + .site-footer__social ) {
	margin-bottom: 4px !important;
}
/* The two social icons were jammed together (0px between them). Lay the row out
   as a flex row with real spacing between the links, sitting right under the
   heading. */
.site-footer__social {
	display: flex !important;
	align-items: center;
	gap: 12px;
	margin-top: 0 !important;
	padding-top: 0 !important;
}

/* Long footer column heading (the full "Trondheim Maskinutleie AS") was ~5px
   too wide for its column, so "AS" wrapped onto an orphan second line. Tighten
   the uppercase tracking so it fits on one line; balance as a graceful fallback
   for any even-longer heading. */
.site-footer__col-heading {
	letter-spacing: 0.06em !important;
	text-wrap: balance;
}

/* Inline text-colour on the hero heading is applied via <mark>; strip its
   default yellow highlight background so only the text colour shows. */
.cb-hero mark,
.text-hero mark,
.cb-hero-content mark {
	background-color: transparent;
	padding: 0;
}

/* ── Catalogue filter bar ────────────────────────────────────────────────
 * Sits between the archive band and the product grid, on the same content
 * column as the cards so the chips line up with the first card's left edge.
 *
 * The values are laid out flat rather than hidden behind a dropdown: a lift
 * customer is choosing a working height, and seeing that 18 m exists at all —
 * with the number of machines next to it — is most of the decision. A select
 * would hide exactly that.
 * ─────────────────────────────────────────────────────────────────────── */
.mus-filters {
	max-width: var(--mus-content);
	margin: 0 auto clamp(1.75rem, 3.5vw, 2.75rem);
	padding-inline: var(--cb-rail, 24px);
	box-sizing: border-box;
}
/* Two columns — labels left, values right — with every group's chips starting
 * on the same vertical line. Laid out as one grid rather than a stack of rows,
 * because a row whose chips wrap starts them under its label while a row that
 * fits keeps them beside it: the left edge of the values then moves from row to
 * row and the bar reads as three unrelated fragments. `display: contents` lets
 * each group hand its label and its list straight to the shared grid. */
.mus-filters__inner {
	border: 1px solid var(--mus-line);
	border-radius: var(--mus-card-radius, 4px);
	background: #fff;
	padding: clamp(1rem, 2vw, 1.35rem) clamp(1rem, 2.2vw, 1.5rem);
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	column-gap: clamp(1rem, 2vw, 1.75rem);
	row-gap: 0.85rem;
	align-items: start;
}
.mus-filters__group {
	display: contents;
}
.mus-filters__label {
	color: var(--mus-ink);
	/* Optical, not mathematical: lines the label's cap-height up with the text
	   inside the first chip rather than with the chip's border box. */
	padding-top: 0.55rem;
}
.mus-filters__values {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.mus-filters__value {
	margin: 0;
}

/* The chip itself. Border-only at rest so a row of eight of them doesn't
   compete with the product cards below; filled navy once chosen, because the
   one thing that must be unmistakable is which filters are ON. */
.mus-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.4rem 0.75rem;
	border: 1px solid var(--mus-line);
	border-radius: 999px;
	background: #fff;
	color: var(--mus-ink);
	font-family: var(--wp--preset--font-family--base);
	font-size: 14px;
	line-height: 1.2;
	text-decoration: none;
	transition:
		background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1),
		border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1),
		color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
.mus-chip:hover,
.mus-chip:focus-visible {
	border-color: var(--mus-accent);
	color: var(--mus-primary);
	background: var(--mus-surface);
}
.mus-chip:focus-visible {
	outline: 2px solid var(--mus-accent);
	outline-offset: 2px;
}
.mus-chip.is-active {
	background: var(--mus-primary);
	border-color: var(--mus-primary);
	color: #fff; /* 8.6:1 on #1B1917 — AAA */
}
.mus-chip.is-active:hover,
.mus-chip.is-active:focus-visible {
	background: var(--mus-accent);
	border-color: var(--mus-accent);
	color: var(--mus-ink);
}
/* The count is context, not the label — quieter, and tabular so a column of
   chips doesn't jitter. */
.mus-chip__count {
	font-size: 12px;
	font-variant-numeric: tabular-nums;
	color: var(--mus-body);
}
.mus-chip.is-active .mus-chip__count {
	color: rgba(255, 255, 255, 0.85);
}

.mus-filters__active {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.75rem;
	border-top: 1px solid var(--mus-line);
	padding-top: 0.9rem;
}
.mus-filters__active-label {
	font-family: var(--wp--preset--font-family--base);
	font-size: 13px;
	color: var(--mus-body);
}
.mus-chip--remove {
	background: var(--mus-surface);
	border-color: var(--mus-surface);
}
.mus-chip__x {
	font-size: 15px;
	line-height: 1;
	color: var(--mus-body);
}
.mus-chip--remove:hover .mus-chip__x,
.mus-chip--remove:focus-visible .mus-chip__x {
	color: var(--mus-primary);
}
.mus-filters__reset {
	margin-inline-start: auto;
	font-family: var(--wp--preset--font-family--base);
	font-size: 13px;
	color: var(--mus-body);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.mus-filters__reset:hover,
.mus-filters__reset:focus-visible {
	color: var(--mus-primary);
}

/* Under ~640px the label above its own row of chips reads better than a label
   competing with them for the same line. */
@media (max-width: 640px) {

	/* One column: the label sits over its own chips. Side by side, a label of
	   "Arbeidshøyde" would leave the values a strip barely wide enough for one
	   chip. */
	.mus-filters__inner {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 0.5rem;
	}

	.mus-filters__label {
		padding-top: 0.5rem;
	}

	.mus-filters__label:first-child {
		padding-top: 0;
	}

	.mus-filters__reset {
		margin-inline-start: 0;
	}
}

@media (prefers-reduced-motion: reduce) {

	.mus-chip {
		transition: none;
	}
}

/* ── Product lightbox above the sticky header ────────────────────────────
 * PhotoSwipe ships at z-index 1500; the sticky header sits at 10000, so the
 * full-size image opened underneath it and the top 100px of every photo was
 * covered by the navigation. A lightbox is modal — while it is open it is the
 * only thing on screen, header included.
 *
 * Scoped to `body` for specificity, not vanity: WooCommerce enqueues
 * photoswipe.min.css AFTER this file, so a bare `.pswp` ties on specificity
 * and loses on order. */
body .pswp {
	z-index: 100000;
}

/* ─────────── Tilbehør (single product, inc/product-accessories.php) ───────────
   Accessories for the machine on screen, from WooCommerce cross-sells. Styled
   as a quiet tile row — lighter than the product cards below it, so it reads as
   part of this product rather than a second catalogue listing. */
.mus-accessories {
	margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
	padding-top: clamp(2rem, 4vw, 2.75rem);
	border-top: 1px solid var(--mus-line);
}
.mus-accessories__title {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 600;
	font-size: clamp(1.5rem, 2.6vw, 2rem);
	line-height: 1.15;
	color: var(--mus-ink);
	margin: 0;
}
.mus-accessories__intro {
	font-family: var(--wp--preset--font-family--base);
	font-size: 15px;
	line-height: 1.6;
	color: var(--mus-body);
	margin: 10px 0 0;
	max-width: 60ch;
}
.mus-accessories__list {
	list-style: none;
	margin: 24px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 16px;
}
.mus-accessories__link {
	display: flex;
	align-items: center;
	gap: 14px;
	height: 100%;
	padding: 12px 16px 12px 12px;
	background: var(--mus-card-bg);
	border: var(--mus-card-border-width) solid var(--mus-card-border-color);
	border-radius: var(--mus-card-radius);
	text-decoration: none;
	transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.mus-accessories__link:hover,
.mus-accessories__link:focus-visible {
	border-color: var(--mus-accent);
	box-shadow: var(--mus-card-shadow);
}
.mus-accessories__media {
	flex: 0 0 64px;
	width: 64px;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.mus-accessories__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.mus-accessories__name {
	/* Even line lengths — machine names are long and the cards are narrow, so
	   the default greedy wrap left stray fragments on the last line. */
	text-wrap: balance;
	font-family: var(--wp--preset--font-family--base);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--mus-ink);
}
.mus-accessories__link:hover .mus-accessories__name {
	color: var(--mus-accent);
}

/* ─────────── M.U.S header ───────────
   Menu labels stay on one line ("Finn riktig løsning", "Om M.U.S"). */
.react-header-live-wrapper nav a,
.react-header-live-wrapper .wp-block-navigation-item__label {
	white-space: nowrap;
}

/* …but not in the open mega menu: there each group title has one grid
   column, and a long one ("Komplette tjenester") ran into the next. */
.react-header-live-wrapper .rh-megamenu__group-title a {
	white-space: normal;
}

/* ─────────── Front page ─────────── */

/* Rigging timeline on asfalt: four steps side by side on desktop, joined by a
   rule, orange step numbers in Plex Mono. Stacks on phones. Content stays in
   the Process block, so the client edits it as usual. */
.mus-rigg .cb-process__step-title { color: #fff; }
.mus-rigg .cb-process__step-text { color: rgba(255, 255, 255, 0.78); }
.mus-rigg .cb-process__step-number {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 14px;
	line-height: 1;
	letter-spacing: 0.06em;
	color: var(--mus-ink);
	background: var(--mus-accent);
	border: 0;
	width: auto;
	height: auto;
	padding: 8px 10px;
	border-radius: 2px;
}
.mus-rigg .cb-process__step-marker { display: flex; align-items: center; width: 100%; }
@media (min-width: 900px) {
	.mus-rigg .cb-process__list {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 32px;
		position: relative;
	}
	.mus-rigg .cb-process__step {
		display: flex;
		flex-direction: column;
		gap: 20px;
		padding: 0;
	}
	.mus-rigg .cb-process__step::before,
	.mus-rigg .cb-process__step::after { display: none; }
	.mus-rigg .cb-process__step-marker { position: relative; }
	/* The line runs from each number towards the next step. Drawn as a
	   background so no pseudo-element from the block can override it. */
	.mus-rigg .cb-process__step:not(:last-child) .cb-process__step-marker {
		background: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)) no-repeat 56px 50% / calc(100% - 64px) 1px;
	}
}


/* Square corners on every styrk button, matching the slab type. */
.cb-cta-btn,
.wp-block-button__link,
.wp-element-button { border-radius: 2px !important; }

/* Closing band on the content rail, like every other section. */
.mus-close .cb-cta-band__inner {
	max-width: var(--mus-content);
	margin-inline: auto;
	padding-inline: var(--cb-rail);
	box-sizing: border-box;
}

/* Phones: categories two by two with a shorter image, so 20 categories don't
   become a 20-screen scroll. */
@media (max-width: 639px) {
	.mus-home-cats .cb-collection__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}
	.mus-home-cats .cb-collection-card { font-size: 14px; }
}

/* ─────────── Projects showcase (front page) ───────────
   The styrk-blocks Showcase block does the layout, links, hover and focus.
   Here: the core-group section head above it, and the M.U.S type details. */
.mus-showcase-head { padding-top: clamp(56px, 7vw, 96px); background: var(--wp--preset--color--page-bg); }
@media (max-width: 1247px) { .mus-showcase-head { padding-inline: var(--cb-rail); } }
.mus-showcase-block { padding-top: 0 !important; background: var(--wp--preset--color--page-bg); }
.mus-showcase-block .cb-showcase__panel .cb-showcase__eyebrow { font-family: var(--wp--preset--font-family--mono); font-weight: 400; }
.mus-showcase-block .cb-showcase__text { font-size: inherit; line-height: inherit; }

/* Headings: Barlow Condensed is only loaded at 700/800 and the blocks ask for
   400/600 — pin every heading to the heavy cut so nothing renders thin or
   faux-bold. Small card headings get 700, big ones 800. */
h1, h2, .text-hero, .text-section-heading, .cb-process__heading,
.cb-collection__heading { font-weight: 800 !important; letter-spacing: 0.025em !important; }
h3, h4, .cb-process__step-title { font-weight: 700 !important; letter-spacing: 0.03em !important; }

/* ─────────── Inner page header on asfalt ───────────
   The block takes its text colour from the theme, so set it for the dark band. */
.mus-page-header .cb-page-header__title,
.mus-page-header .cb-page-header__crumb-current,
.mus-page-header .cb-page-header__crumb-sep { color: #fff; }
.mus-page-header .cb-page-header__subtitle,
.mus-page-header .cb-page-header__crumb-link { color: rgba(255, 255, 255, 0.78); }
.mus-page-header .cb-page-header__eyebrow { color: var(--mus-accent); }
.mus-page-header .cb-page-header__rule { background: var(--mus-accent); border-color: var(--mus-accent); }

/* Contact form panel: the Forminator form is styled for a dark background. */
.mus-contact .forminator-label { color: rgba(255, 255, 255, 0.85) !important; }
.mus-contact .forminator-button-submit { color: var(--mus-ink) !important; border-radius: 2px !important; }
.mus-contact h2, .mus-contact h3, .mus-contact p,
.mus-contact .contact-info__person, .mus-contact .contact-info__person * { color: #fff; }
.mus-contact .contact-info a { color: #fff; text-decoration-color: var(--mus-accent); }
.mus-contact [class*="divider"], .mus-contact hr { border-color: rgba(255, 255, 255, 0.15); }

/* Contact columns share one top line: the info column rises beside the form
   header, so «Kontaktpersoner» sits level with the form heading instead of
   under an empty block. The columns' own grid is lifted into the layout's
   (display: contents). Only for the plain two-column case; with a divider
   or without the form the plugin's stacked layout stays. */
@media (min-width: 768px) {
	.mus-contact .contact-layout:not(:has(.contact-layout__divider, .contact-layout__cols--info-only)) {
		display: grid;
		grid-template-columns: 1fr 1fr;
		column-gap: 0;
	}
	.mus-contact .contact-layout:not(:has(.contact-layout__divider, .contact-layout__cols--info-only)) > * { grid-column: 1 / -1; }
	.mus-contact .contact-layout:not(:has(.contact-layout__divider, .contact-layout__cols--info-only)) > .contact-layout__header { grid-column: 1; grid-row: 1; padding-right: 2rem; }
	.mus-contact .contact-layout:not(:has(.contact-layout__divider, .contact-layout__cols--info-only)) > .contact-layout__cols { display: contents; }
	.mus-contact .contact-layout:not(:has(.contact-layout__divider, .contact-layout__cols--info-only)) .contact-form-col { grid-column: 1; grid-row: 2; }
	.mus-contact .contact-layout:not(:has(.contact-layout__divider, .contact-layout__cols--info-only)) .contact-info-col {
		grid-column: 2;
		grid-row: 1 / span 2;
		/* Centre «Kontaktpersoner» (17px / 1.75) on the form heading's line
		   (plugin: clamp(1.75rem, 2.5vw, 2.25rem) / 1.2), below the 32.5px
		   eyebrow and the 16px to the heading (0.75rem gap + 4px margin). */
		--mus-contact-eyebrow: 0px;
		padding-top: calc(var(--mus-contact-eyebrow) + (1.2 * clamp(1.75rem, 2.5vw, 2.25rem) - 29.75px) / 2) !important; /* beats the block's inline padding */
	}
	.mus-contact .contact-layout:not(:has(.contact-layout__divider, .contact-layout__cols--info-only)):has(.contact-form__eyebrow) .contact-info-col { --mus-contact-eyebrow: calc(32.5px + 1rem); }
}

/* ─────────── Why M.U.S (front page) ───────────
   Four short claims: one row of four on desktop, each with an orange top rule,
   a bigger title and readable body, so the section is dense instead of sparse. */
.mus-claims { padding-block: clamp(56px, 6vw, 80px) !important; }
.mus-claims .cb-section-header { margin-bottom: 40px !important; }
.mus-claims .skotnes-services-editorial {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 24px !important;
}
.mus-claims .skotnes-services-editorial__item {
	border-top: 3px solid var(--mus-accent);
	padding: 24px 0 0 !important;
	margin: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.mus-claims .skotnes-services-editorial__icon svg { width: 32px; height: 32px; }
.mus-claims .skotnes-services-editorial__title { font-size: clamp(24px, 2.2vw, 30px) !important; margin: 4px 0 0 !important; }
.mus-claims .skotnes-services-editorial__body { font-size: 17px !important; line-height: 1.5; color: var(--mus-body) !important; margin: 0 !important; }
@media (max-width: 899px) {
	.mus-claims .skotnes-services-editorial { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 32px 20px !important; }
}
/* Card grids (Velg jobben, Hva vi leverer, Arbeidsvarsling, …): the client
   found the open grids hard to read (meeting 13.10), so every card is its own
   white box, keeping the orange rule on top and the hover bar across it. */
.mus-claims .skotnes-services-editorial { gap: 20px !important; }
.mus-claims .skotnes-services-editorial__item {
	background: var(--mus-card-bg);
	border: var(--mus-card-border-width) solid var(--mus-card-border-color);
	border-top: 3px solid var(--mus-accent);
	border-radius: var(--mus-card-radius);
	padding: 24px 24px 22px !important;
}
/* Inside a box the column is 48px narrower: long compound words
   («Avfallshåndtering») must fit, so a touch smaller and hyphenated. */
.mus-claims .skotnes-services-editorial__title {
	font-size: clamp(22px, 1.9vw, 27px) !important;
	hyphens: manual;
	overflow-wrap: normal;
}
@media (max-width: 899px) {
	.mus-claims .skotnes-services-editorial { gap: 16px !important; }
	.mus-claims .skotnes-services-editorial__item { padding: 20px 18px 18px !important; }
}

@media (max-width: 479px) {
	.mus-claims .skotnes-services-editorial { grid-template-columns: 1fr !important; }
}

/* ─────────── Hover and focus on dark surfaces ───────────
   Links hover to the theme's "secondary" colour, which is dark asfalt here, so
   on the dark mobile menu, header and footer the hovered item vanished. On dark
   surfaces, hover and keyboard focus go orange instead (6.2:1 on asfalt). */
/* Mobile menu, third level («Komplette riggtjenester» › services): the plugin
   styles two levels only, so these showed browser bullets. Indented under a
   thin rule, same rhythm as the level above. */
.rh-megamenu__sublinks {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 7px;
	margin: 7px 0 4px;
	padding: 0 0 0 16px;
	border-left: 1px solid rgba(255, 255, 255, 0.22);
}
/* Orange-filled links keep their dark text on hover (the rule below turned
   «Få veibeskrivelse» orange on orange); the underline is the hover cue. */
.mus-contact a.contact-map__directions {
	color: var(--mus-ink) !important; /* never white on orange */
}
.mus-contact a.contact-map__directions:is(:hover, :focus-visible) {
	color: var(--mus-ink) !important;
	text-decoration: underline;
	text-underline-offset: 4px;
}
.rh-megamenu__panel a:hover,
.rh-megamenu__panel a:focus-visible,
.rh-megamenu__links a:hover,
.rh-megamenu__group-title a:hover,
.site-footer a:hover,
.site-footer a:focus-visible,
.mus-contact a:hover,
.mus-close a:hover,
.mus-page-header a:hover {
	color: var(--mus-accent) !important;
}
.rh-megamenu__panel a:focus-visible,
.site-footer a:focus-visible {
	outline: 2px solid var(--mus-accent) !important;
	outline-offset: 3px;
}
/* The parent theme paints focus rings with the secondary colour (!important),
   so on dark surfaces redefine that colour itself. */
.rh-megamenu__panel,
.react-header-live-wrapper,
.site-footer,
.mus-contact,
.mus-close,
.mus-page-header,
.mus-rigg { --wp--preset--color--secondary: #F37523; }

/* ─────────── Footer ───────────
   Bottom links: plain spacing instead of separator dots, so no dot is ever
   left dangling at the start of a wrapped line. */
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer__legal a::before { display: none !important; content: none !important; }
.site-footer__legal a { margin: 0 !important; padding: 0 !important; }
/* "Hva vi leverer" has eight short items: keep them two by two on phones. */
@media (max-width: 479px) {
	.mus-deliver .skotnes-services-editorial { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 28px 16px !important; }
	.mus-deliver .skotnes-services-editorial__title { font-size: 20px !important; }
	.mus-deliver .skotnes-services-editorial__body { font-size: 15px !important; }
}

/* ─────────── Product page: specs + brochure ─────────── */
.mus-spec { width: 100%; max-width: 640px; border-collapse: collapse; font-size: 16px; }
.mus-spec th, .mus-spec td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--mus-line); vertical-align: top; }
.mus-spec th { font-weight: 600; color: var(--mus-body); width: 45%; }
.mus-spec td { font-family: var(--wp--preset--font-family--mono); color: var(--mus-ink); }
.mus-brochure { margin: 12px 0 0; }
.mus-brochure a { font-weight: 600; color: var(--mus-rust); text-underline-offset: 3px; }
/* Orange text on light fails contrast (2.9:1) — product meta links use rust. */
.product_meta a, .woocommerce-breadcrumb a { color: var(--mus-rust) !important; }

/* ─────────── Utleie (shop) header: category quick links ─────────── */
.mus-arch-header__cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.mus-arch-header__cats .mus-chip {
	display: inline-block; padding: 8px 12px; border: 1px solid var(--mus-line); border-radius: 2px;
	background: #fff; color: var(--mus-ink); font-weight: 600; font-size: 15px; text-decoration: none;
}
.mus-arch-header__cats .mus-chip:hover,
.mus-arch-header__cats .mus-chip:focus-visible { background: var(--mus-accent); border-color: var(--mus-accent); color: var(--mus-ink); }
/* Less dead space between the archive band and the product list. */
.post-type-archive-product .mus-arch-header,
.tax-product_cat .mus-arch-header { margin-bottom: 0 !important; }
/* The content area owns the 32px between the band and the list (and below the
   list), so its first and last lines sit that far inside its edges. */
.post-type-archive-product .content-area,
.tax-product_cat .content-area { margin-top: 0 !important; }
/* The plugin zeroes every direct child of <main>; match its context to win. */
.wp-site-blocks > main:not(.cb-page-main) > #primary.content-area {
	padding-top: 32px !important;
	padding-bottom: 32px !important;
}
/* Phones: product cards two by two, inside the screen. */
@media (max-width: 639px) {
	.post-type-archive-product ul.products,
	.tax-product_cat ul.products,
	.tax-product_tag ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 12px !important;
	}
	ul.products li.product { min-width: 0 !important; width: auto !important; }
	ul.products li.product .woocommerce-loop-product__title { font-size: 15px !important; }
}

/* ─────────── Search results page ───────────
   Result rows had 16px side padding (for the hover tint), so titles sat in
   from the "62 treff" line and the search field. Put them on one edge. */
.cb-search-page__hit-link { padding-inline: 0 !important; }
.wp-site-blocks > main:not(.cb-page-main) > .mus-arch-header { margin-bottom: 0 !important; }
.post-type-archive-product .woocommerce-result-count,
.tax-product_cat .woocommerce-result-count,
.tax-product_tag .woocommerce-result-count { margin-top: 40px !important; }

/* ─────────── Wide screens: project hero ───────────
   The project hero was capped at 1440px, so on a 1910px screen it stopped
   short of the edges. Let it run full width, but guard it at 2560px so it
   doesn't stretch forever on very wide displays. */
.cb-project-hero.alignfull { max-width: min(100%, 2560px) !important; margin-inline: auto !important; }

/* ─────────── Breadcrumbs: readable size everywhere ─────────── */
.cb-breadcrumbs, .cb-breadcrumbs__list, .cb-breadcrumbs__item,
.cb-page-header__breadcrumb, .cb-page-header__breadcrumb *,
.mus-arch-header__crumbs, .mus-arch-header__crumbs *,
.woocommerce-breadcrumb { font-size: 16px !important; }

/* ─────────── Previous / next project buttons ───────────
   The site's one CTA hover: the label underlines, nothing else changes. */
.cb-post-nav__link a:hover,
.cb-post-nav__link a:focus-visible {
	text-decoration: underline !important;
	text-underline-offset: 3px;
}
.cb-post-nav__link a:focus-visible { outline: 2px solid var(--mus-ink); outline-offset: 3px; }

/* ─────────── Services lists: link at the bottom of every item ───────────
   "Se utstyr →" sat at different heights because bodies wrap differently.
   Items stretch to the row height and the link is pushed to the bottom. */
.skotnes-services-editorial { align-items: stretch !important; }
.skotnes-services-editorial__item { display: flex !important; flex-direction: column; height: 100%; }
.skotnes-services-editorial__item > a:last-child,
.skotnes-services-editorial__item > [class*="link"]:last-child { margin-top: auto !important; padding-top: 16px; }

/* ─────────── Editor: Process block ───────────
   In the editor the Process block has no centring wrapper (the front end
   does), so it ran from the canvas edge and the steps were cut off. Give it
   the same rail as the front end, and keep the steps stacked in the editor
   so the step controls (background, text, delete) always fit. */
.editor-styles-wrapper .mus-rigg .cb-process__inner {
	max-width: var(--mus-content) !important;
	margin-inline: auto !important;
	padding-inline: var(--cb-rail) !important;
	box-sizing: border-box;
}
.editor-styles-wrapper .mus-rigg .cb-process__list {
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
}
.editor-styles-wrapper .mus-rigg .cb-process__step { min-width: 0; }
/* Form column: no side indent, so the fields start on the same edge as the
   "Send oss en forespørsel" heading above. */
.mus-contact .contact-form-col { padding-left: 0 !important; }
/* Contact on phones: the form fields run the full width of the heading above
   (same left and right edge), instead of stopping 24px short on the right. */
@media (max-width: 767px) {
	.mus-contact .contact-form-col { padding-right: 0 !important; }
}
/* Services lists: push the "Se utstyr →" link to the bottom of each item. */
.skotnes-services-editorial__item > .skotnes-services-editorial__cta { margin-top: auto !important; padding-top: 16px; }
.editor-styles-wrapper .mus-rigg .cb-process__step { display: flex; flex-direction: column; }
.editor-styles-wrapper .mus-rigg .cb-process__step-controls { margin-top: auto; padding-top: 16px; }

/* ─────────── Staff cards + icon buttons ───────────
   Square icon buttons (2px) to match every other button; e-mail links hover
   to rust (orange text on white is 2.9:1). */
.mus-icon-btn,
.cb-employee-card a[class*="icon"],
[class*="employee"] [class*="contact-icon"],
[class*="employee"] [class*="icon-btn"] { border-radius: 2px !important; }
.cb-employee-link:hover, .cb-employee-link:focus-visible { color: var(--mus-rust) !important; text-decoration: underline; text-underline-offset: 3px; }
/* Header buttons (search, menu, close) and their focus rings: square, 2px. */
.react-header-live-wrapper button,
.rh-megamenu button,
.rh-search-trigger,
.rh-search-close,
[class*="rh-hamburger"] { border-radius: 2px !important; }

/* ─────────── Employee pop-up ───────────
   styrk-blocks hardcodes 24px / 12px / round corners here and leaves focus to
   the browser's blue ring. Match the site: 2px corners everywhere, asfalt
   focus ring on the white panel (orange on white is under 3:1 for a ring),
   and a betong hover on the close button. */
.cb-employee-modal__panel { border-radius: 2px !important; }
.cb-employee-modal__photo,
.cb-employee-modal__photo img,
.cb-employee-modal img { border-radius: 2px !important; }
.cb-employee-modal__close { border-radius: 2px !important; }
.cb-employee-modal__close:hover { background: var(--mus-surface) !important; border-color: var(--mus-line) !important; }
.cb-employee-modal__close:focus-visible,
.cb-employee-modal__contact-link:focus-visible {
	outline: 2px solid var(--mus-ink) !important;
	outline-offset: 2px;
	box-shadow: none !important;
}
.cb-employee-modal__contact-link:hover { color: var(--mus-rust) !important; }

/* ─────────── Cookie banner (GDPR plugin) ─────────── */
#moove_gdpr_cookie_info_bar .mgbutton,
#moove_gdpr_cookie_modal .mgbutton,
#moove_gdpr_cookie_modal .moove-gdpr-modal-close,
#moove_gdpr_cookie_modal .moove-gdpr-tab-nav,
#moove_gdpr_cookie_modal .moove-gdpr-modal-content { border-radius: 2px !important; }
/* Cookie buttons: dark text on orange (white on orange is 2.9:1). */
#moove_gdpr_cookie_info_bar .mgbutton.moove-gdpr-infobar-allow-all,
#moove_gdpr_cookie_info_bar .mgbutton.moove-gdpr-infobar-reject-btn,
#moove_gdpr_cookie_modal .mgbutton.moove-gdpr-modal-allow-all,
#moove_gdpr_cookie_modal .mgbutton.moove-gdpr-modal-save-settings { color: var(--mus-ink) !important; }

/* Employee card focus: the trigger button covers only the photo + name and is
   clipped by the card, so its ring showed as a stray rounded line under the
   name. Draw the ring around the whole card instead. */
.cb-employee-card__trigger { border-radius: 2px !important; }
.cb-employee-card__trigger:focus-visible { outline: none !important; }
.cb-employee-card:has(.cb-employee-card__trigger:focus-visible) {
	outline: 2px solid var(--mus-ink);
	outline-offset: 3px;
}

/* ─────────── Focus + hover sweep fixes (2026-10-09) ─────────── */
/* Skip link: visible, square, theme colours. */
.skip-link:focus, .skip-link:focus-visible {
	background: var(--mus-ink) !important; color: #fff !important; border-radius: 2px !important;
	outline: 2px solid var(--mus-accent) !important; outline-offset: 2px;
}
/* Buttons on dark or photo backgrounds (hero, dark bands): white ring. */
.cb-hero .cb-cta-btn:focus-visible,
.mus-rigg .cb-cta-btn:focus-visible,
.mus-page-header a:focus-visible,
.mus-close a:focus-visible,
.mus-contact a:focus-visible,
.mus-contact button:focus-visible { outline: 2px solid #fff !important; outline-offset: 3px; }
/* Whole-card links (feature cards, product cards): ring around the card. */
.cb-stretched-link:focus-visible,
.woocommerce-LoopProduct-link:focus-visible { outline: none !important; }
:is(div, article, li):has(> .cb-stretched-link:focus-visible),
:is(div, article, li):has(.cb-stretched-link:focus-visible):not(:has(:is(div, article, li) .cb-stretched-link:focus-visible)),
li.product:has(.woocommerce-LoopProduct-link:focus-visible) {
	outline: 2px solid var(--mus-ink); outline-offset: 3px;
}
/* Remaining rounded controls. */
.forminator-button, .forminator-button-submit,
.woocommerce-product-gallery__trigger { border-radius: 2px !important; }
/* E-mail links on staff cards: rust on hover, beats the plugin's
   hover:text-accent utility (orange on light grey is ~2.5:1). */
.cb-employee-card a.cb-employee-link:hover,
.cb-employee-card a.cb-employee-link:focus-visible { color: var(--mus-rust) !important; }

/* ─────────── Focus rings: one square shape everywhere ───────────
   Browsers round an outline by the element's radius plus the offset, so a
   2px button with a 3px offset got a ~5px ring while nav links (0px) got a
   square one. Drop the radius while focused: every ring is square. */
html body :focus-visible:focus-visible,
html body :is(button, a, input, select, textarea):focus:focus { border-radius: 0 !important; }
.cb-employee-card:has(:focus-visible),
.cb-feature-card:has(.cb-stretched-link:focus-visible),
li.product:has(.woocommerce-LoopProduct-link:focus-visible) { border-radius: 0 !important; }
.cb-feature-card:has(.cb-stretched-link:focus-visible) { outline: 2px solid var(--mus-ink); outline-offset: 3px; }
.cb-feature-card[style*="background"]:has(.cb-stretched-link:focus-visible) { outline-color: var(--mus-ink); }
/* Hero sits on a dark photo: white rings there. */
.cb-hero { --wp--preset--color--secondary: #fff; }
html body .cb-hero .cb-cta-btn:focus-visible { outline: 2px solid #fff !important; outline-offset: 3px; }
/* Skip link sits on the light page: dark ring. */
html body .skip-link:focus-visible { outline-color: var(--mus-ink) !important; }
/* Forminator submit: square like every other button. */
form.forminator-ui button.forminator-button,
form.forminator-ui .forminator-button-submit { border-radius: 2px !important; }

/* ─────────── Readable sizes ───────────
   Body copy, buttons, meta and tabs at 16px minimum; small capital labels
   (eyebrows, tags) at 13px minimum with letter-spacing. No glow on buttons. */
.mus-btn { font-size: 16px !important; }
.mus-btn--accent, .mus-btn--accent:hover { box-shadow: none !important; transform: none !important; }
.mus-single-note,
.product_meta, .product_meta a,
.woocommerce-tabs ul.tabs li a,
.woocommerce-result-count,
.woocommerce-ordering select { font-size: 16px !important; }

/* Project cards: square ring on keyboard focus. */
.cb-project-card:focus-visible { outline: 2px solid var(--mus-ink) !important; outline-offset: 3px; }

/* Only images that ARE links react to hover. Split-section photos zoomed on
   hover although nothing happens on click — misleading. */
.wp-block-styrk-blocks-split-section img:not(a img),
.wp-block-styrk-blocks-split-section img:not(a img):hover { transform: none !important; }

/* ─────────── QA sweep 2026-10-09: readable sizes everywhere ───────────
   Floor: 16px for any running text, links and buttons; 14px for small
   capital labels (eyebrows). Nothing smaller anywhere on the site. */
.skotnes-services-editorial__body,
.mus-deliver .skotnes-services-editorial__body,
.skotnes-services-editorial__cta,
.skotnes-services-editorial__num,
.mus-arch-header__cats .mus-chip,
.cb-search-page__hit-excerpt,
.cb-search-page button,
.cb-collection-card__count,
.cb-process__step-number,
.cb-cta-band__body, .cb-cta-band__body a,
.cb-employee-link,
.rh-cta,
.cb-split-stat-badge__label,
.site-footer__org-number, .site-footer__org-number *,
.site-footer__credits, .site-footer__credits *,
.site-footer__bar p, .site-footer__legal a,
form.forminator-ui .forminator-label,
form.forminator-ui .forminator-description,
form.forminator-ui .forminator-required { font-size: 16px !important; }
.mus-rigg .cb-process__step-number { font-size: 15px !important; }
.cb-page-header__eyebrow,
.cb-search-page__hit-type,
.cb-employee-card__role,
.mus-arch-header__eyebrow { font-size: 14px !important; }

/* Pagination: WooCommerce's purple defaults → theme colours. */
.woocommerce-pagination .page-numbers li a,
.woocommerce-pagination .page-numbers li span {
	color: var(--mus-ink) !important; background: #fff !important; border-color: var(--mus-line) !important;
	font-size: 16px !important; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
}
.woocommerce-pagination .page-numbers li a:hover,
.woocommerce-pagination .page-numbers li a:focus-visible { background: var(--mus-accent) !important; color: var(--mus-ink) !important; }
.woocommerce-pagination .page-numbers li span.current { background: var(--mus-ink) !important; color: #fff !important; }

/* Breadcrumb links on the light archive band hover to rust, not orange. */
.mus-arch-header__crumbs a:hover, .mus-arch-header__crumbs a:focus-visible,
.cb-breadcrumbs a:hover, .woocommerce-breadcrumb a:hover { color: var(--mus-rust) !important; }
/* Skip link sits on the dark header: orange ring so it stands out. */
html body .skip-link:focus, html body .skip-link:focus-visible {
	outline: 2px solid var(--mus-accent) !important; outline-offset: 0;
	box-shadow: 0 0 0 2px var(--mus-accent) !important;
}
/* Small capital labels: 14px floor. */
.contact-form__eyebrow, .cb-search-page__count,
.cb-post-nav__link a { font-size: 14px !important; }
/* Forminator styles its button through the form's id, so beat that with an
   id-weight :not() and square the button like every other one. */
body:not(#mus-none) form.forminator-ui .forminator-button,
body:not(#mus-none) form.forminator-ui .forminator-button-submit {
	border-radius: 2px !important; font-size: 16px !important;
}
body:not(#mus-none) form.forminator-ui .forminator-button:focus,
body:not(#mus-none) form.forminator-ui .forminator-button:focus-visible { border-radius: 0 !important; }
body:not(#mus-none) form.forminator-ui .forminator-button span { font-size: 16px !important; }

/* ─────────── Split sections with one link: the whole block is the link ───────────
   Automatic: ANY split section whose content has exactly one button becomes
   one big link (no per-section class to forget). The button's ::before
   covers the block, the photo zooms 2% inside its frame and the button text
   underlines on hover; one tab stop, ring around the block on focus.
   Sections with two or more buttons keep separate links. */
.wp-block-styrk-blocks-split-section:has(.cb-cta-btn:only-of-type):not(:has(video, iframe)) .cb-split-cols { position: relative; }
.wp-block-styrk-blocks-split-section:has(.cb-cta-btn:only-of-type):not(:has(video, iframe)) .cb-cta-btn::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.wp-block-styrk-blocks-split-section:has(.cb-cta-btn:only-of-type):not(:has(video, iframe)) .cb-split-cols > div:has(img.cb-split-image) { overflow: hidden; }
html body .wp-block-styrk-blocks-split-section:has(.cb-cta-btn:only-of-type):not(:has(video, iframe)) img.cb-split-image { transition: transform .4s ease; transform: none !important; }
html body .wp-block-styrk-blocks-split-section:has(.cb-cta-btn:only-of-type):not(:has(video, iframe)) .cb-split-cols:hover img.cb-split-image { transform: scale(1.02) !important; }
.wp-block-styrk-blocks-split-section:has(.cb-cta-btn:only-of-type):not(:has(video, iframe)) .cb-split-cols:hover .cb-cta-btn { text-decoration: underline; text-underline-offset: 4px; }
html body .wp-block-styrk-blocks-split-section:has(.cb-cta-btn:only-of-type):not(:has(video, iframe)) .cb-cta-btn:focus-visible { outline: none !important; box-shadow: none !important; }
.wp-block-styrk-blocks-split-section:has(.cb-cta-btn:only-of-type):not(:has(video, iframe)) .cb-split-cols:has(.cb-cta-btn:focus-visible) { outline: 2px solid var(--mus-ink); outline-offset: 6px; }
@media (prefers-reduced-motion: reduce) { html body .wp-block-styrk-blocks-split-section img.cb-split-image { transition: none; } }

/* Skip link sits on the dark header: orange ring so it stands out. */
html body .skip-link:focus, html body .skip-link:focus-visible {
	outline: 2px solid var(--mus-accent) !important; outline-offset: 0;
	box-shadow: 0 0 0 2px var(--mus-accent) !important;
}
/* Small capital labels: 14px floor. */
.contact-form__eyebrow, .cb-search-page__count,
.cb-post-nav__link a { font-size: 14px !important; }
/* Forminator styles its button through the form's id; beat that with an
   id-weight :not() and square the button like every other one. */
body:not(#mus-none) form.forminator-ui .forminator-button,
body:not(#mus-none) form.forminator-ui .forminator-button-submit,
body:not(#mus-none) form.forminator-ui .forminator-button span { border-radius: 2px !important; font-size: 16px !important; }
body:not(#mus-none) form.forminator-ui .forminator-button:focus,
body:not(#mus-none) form.forminator-ui .forminator-button:focus-visible { border-radius: 0 !important; }
/* The site's one CTA hover: the label underlines, nothing moves. Forminator's
   submit and WooCommerce's buttons had no hover state at all. */
body:not(#mus-none) form.forminator-ui .forminator-button:hover,
body:not(#mus-none) form.forminator-ui .forminator-button:hover span,
.woocommerce-button:hover,
.woocommerce .button:hover {
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

/* Contact column: with a "Kontaktpersoner" heading, the people list starts
   right under it (no extra rule between heading and first person). */
.contact-info__people-heading + .contact-info__people { border-top: 0 !important; padding-top: 0 !important; margin-top: 12px !important; }

.wp-site-blocks a.skotnes-services-editorial__item.skotnes-services-editorial__item:focus-visible { outline: none !important; box-shadow: none !important; }

/* Section header for core-block sections (eyebrow + title), matching the
   styrk-blocks section headers: 18px spaced caps eyebrow, display title,
   16px between, 72px to the content. */
.mus-section-head {
	max-width: calc(var(--mus-content) - 2 * var(--cb-rail));
	margin: 0 auto 72px !important;
	display: flex; flex-direction: column; gap: 16px;
}
.mus-section-head > * { margin: 0 !important; }
.mus-section-head__eyebrow { font-size: 18px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mus-ink); }
.mus-section-head__title { font-size: clamp(36px, 4vw, 51px); line-height: 1.1; color: var(--mus-ink); }
@media (max-width: 1247px) { .mus-section-head { margin-inline: 0 !important; } }
@media (max-width: 781px) { .mus-section-head { margin-bottom: 40px !important; } }

/* ─────────── Product "Dokumenter" tab ───────────
   One row per file: name as a link, file type as a small label. */
.mus-docs { list-style: none; margin: 0; padding: 0; }
.mus-docs li { display: flex; justify-content: flex-start; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--mus-line); font-size: 16px; }
.mus-docs a { color: var(--mus-rust); font-weight: 600; text-underline-offset: 3px; }
.mus-docs__type { font-size: 14px; font-weight: 600; letter-spacing: 0.06em; padding: 1px 6px; border: 1px solid var(--mus-line); border-radius: var(--mus-card-radius); color: var(--mus-body); }
.woocommerce-tabs .mus-docs { padding-left: 0 !important; margin-left: 0 !important; }
/* WooCommerce's rounded "hook" corners under each tab. */
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border-radius: 0 !important; }

/* ─────────── Product gallery: main image + thumbnail row ───────────
   No slider (see functions.php), so the gallery has its final shape on
   first paint: a 4:3 main image, then the other photos four to a row. */
.woocommerce-product-gallery__wrapper { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0 !important; width: 100% !important; max-width: 100%; }
.woocommerce-product-gallery__image { width: auto !important; min-width: 0; margin: 0 !important; float: none !important; position: relative; overflow: hidden; }
.woocommerce-product-gallery__image:first-child { grid-column: 1 / -1; }
.woocommerce-product-gallery__image img:not(.zoomImg) {
	aspect-ratio: 4 / 3; width: 100% !important; height: auto; object-fit: contain; background: #fff;
}
.woocommerce-product-gallery__image:nth-child(n+2) img:not(.zoomImg) { aspect-ratio: 1 / 1; }
.woocommerce-product-gallery__image a { display: block; cursor: zoom-in; }
/* Every photo opens the full-screen view on click; a magnifier badge on the
   main photo says so (client, uke 46). Decorative: the link is the control. */
.woocommerce-product-gallery__image:first-child a::after {
	content: "";
	position: absolute;
	right: 12px;
	bottom: 12px;
	width: 40px;
	height: 40px;
	border-radius: 2px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%231B1917' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' x2='16.65' y1='21' y2='16.65'/%3E%3Cline x1='11' x2='11' y1='8' y2='14'/%3E%3Cline x1='8' x2='14' y1='11' y2='11'/%3E%3C/svg%3E") center / 22px no-repeat;
	box-shadow: inset 0 0 0 1px var(--mus-line), 0 2px 6px rgba(27, 25, 23, 0.12);
	pointer-events: none;
	transition: background-color 0.15s;
}
.woocommerce-product-gallery__image:first-child a:is(:hover, :focus-visible)::after {
	background-color: var(--mus-accent);
}

/* ─────────── QA fixes 2026-10-09 ─────────── */
/* Sticky header must never hide what has focus or what a link jumps to
   (WCAG 2.4.11): keep that much space free at the top when scrolling. */
html { scroll-padding-top: calc(var(--cb-header-h, 100px) + 16px); }

/* Footer logo: no stray baseline gap under the image, so it sits centred
   in its (focusable) link box. */
.site-footer__logo-link img, .site-footer__logo-link svg { display: block; }

/* Footer social icons: 44×44 tap targets, icon centred. */
.site-footer__social-link.site-footer__social-link--icons {
	display: inline-flex !important; align-items: center; justify-content: center;
	width: 44px; height: 44px; margin: 0 !important;
}
@media (pointer: coarse), (max-width: 767px) {
	/* 48px on touch screens; the equal negative margin keeps the row where it was. */
	.site-footer__social-link.site-footer__social-link--icons { width: 48px; height: 48px; margin: -2px !important; }
}
.site-footer__social--icons { gap: 4px !important; margin-left: -12px; }

/* Header search button: 44×44. */
.rh-search-trigger { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; } /* display: the plugin's (hidden on desktop when the search field is on) */

/* Product card titles: clear step above body text. */
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 20px !important; line-height: 1.15; }
@media (max-width: 639px) { .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 17px !important; } }
.site-footer__logo-link { display: inline-block !important; width: auto !important; height: auto !important; min-width: 0 !important; min-height: 0 !important; line-height: 0; padding: 4px !important; }

/* Long legal text (Personvern): readable measure on the content rail. */
.mus-legal { padding: clamp(48px, 6vw, 80px) var(--cb-rail); }
.mus-legal > * { max-width: 720px; margin-inline: 0 auto !important; }
/* The text starts on the page header's left edge (a centred column under a
   left-aligned title looked misplaced); the 720px measure stays. */
@media (min-width: 782px) { .mus-legal { padding-inline: 0; } }
.mus-legal h2 { font-size: clamp(24px, 2.4vw, 30px); margin-top: 48px !important; margin-bottom: 12px !important; }
.mus-legal p, .mus-legal li { font-size: 17px; line-height: 1.65; }

/* Long Norwegian words in big headings (PERSONVERNERKLÆRING, ARBEIDSPLASSEN)
   ran past the screen edge on phones: hyphenate, and break as a last resort. */
@media (max-width: 639px) {
	h1, h2, h3, .cb-page-header__title, .text-hero, .skotnes-services-editorial__title {
		hyphens: manual; -webkit-hyphens: manual; overflow-wrap: normal;
	}
	.cb-page-header__title { font-size: clamp(32px, 10vw, 44px) !important; }
}

/* Forminator prints the form with style="display:none" and shows it from
   JavaScript, so the contact page jumped ~650px on load (CLS 0.33 on phones).
   Its stylesheet is already in <head>, so show the form from the start. */
form.forminator-ui.forminator-custom-form[style*="display: none"] { display: block !important; }
/* Editor: core block margins won over the plain child rule; match the front end. */
.mus-section-head.mus-section-head > p,
.mus-section-head.mus-section-head > h2 { margin: 0 !important; }
.editor-styles-wrapper .mus-section-head { max-width: calc(var(--mus-content) - 48px); margin-inline: auto !important; }
.editor-styles-wrapper .mus-section-head.mus-section-head > .wp-block-paragraph.wp-block-paragraph { margin: 0 !important; }
.cb-cta-band__body a { white-space: nowrap; }

/* ─────────── No blur-up behind contained product photos ───────────
   styrk-blocks paints a blurred placeholder (LQIP) as the image's
   background while it loads. Product photos are shown whole (object-fit:
   contain), so the blur stayed visible in the empty bands around the
   photo. These images sit on white instead. */
.woocommerce ul.products li.product img,
.woocommerce-product-gallery img,
.related.products img,
.upsells.products img,
.cb-collection-card__media img,
.mus-docs img {
	background-image: none !important;
	background-color: #fff !important;
}

/* ─────────── Pagination (product lists) ───────────
   WooCommerce's default: one joined strip with lilac borders, centred.
   Ours: separate 44px squares on the content edge (left, like the cards),
   site line colour, current page in asfalt, hover in signal orange. */
.woocommerce nav.woocommerce-pagination { text-align: left !important; margin-top: 48px; padding-inline: 24px; }
.woocommerce nav.woocommerce-pagination ul.page-numbers {
	display: flex !important; flex-wrap: wrap; gap: 8px; border: 0 !important; margin: 0 !important;
}
.woocommerce nav.woocommerce-pagination ul.page-numbers li { border: 0 !important; float: none !important; overflow: visible !important; }
.woocommerce nav.woocommerce-pagination ul.page-numbers li a,
.woocommerce nav.woocommerce-pagination ul.page-numbers li span {
	min-width: 44px; height: 44px; padding: 0 12px !important; display: inline-flex !important;
	align-items: center; justify-content: center; box-sizing: border-box;
	border: 1px solid var(--mus-line) !important; border-radius: 2px !important;
	background: #fff !important; color: var(--mus-ink) !important;
	font-size: 16px !important; font-weight: 600; line-height: 1; text-decoration: none;
}
.woocommerce nav.woocommerce-pagination ul.page-numbers li span.dots { border-color: transparent !important; background: transparent !important; }
.woocommerce nav.woocommerce-pagination ul.page-numbers li span.current {
	background: var(--mus-ink) !important; border-color: var(--mus-ink) !important; color: #fff !important;
}
.woocommerce nav.woocommerce-pagination ul.page-numbers li a:hover,
.woocommerce nav.woocommerce-pagination ul.page-numbers li a:focus-visible {
	background: var(--mus-accent) !important; border-color: var(--mus-accent) !important; color: var(--mus-ink) !important;
}
.woocommerce nav.woocommerce-pagination ul.page-numbers li { margin: 0 !important; padding: 0 !important; }
.woocommerce nav.woocommerce-pagination { margin-bottom: clamp(56px, 7vw, 96px) !important; }
.woocommerce nav.woocommerce-pagination ul.page-numbers::before, .woocommerce nav.woocommerce-pagination ul.page-numbers::after { display: none !important; content: none !important; }
@media (max-width: 639px) {
	.woocommerce nav.woocommerce-pagination ul.page-numbers { gap: 4px; }
	.woocommerce nav.woocommerce-pagination ul.page-numbers li a,
	.woocommerce nav.woocommerce-pagination ul.page-numbers li span { min-width: 36px; padding: 0 6px !important; }
	.woocommerce nav.woocommerce-pagination ul.page-numbers li span.dots { min-width: 16px; padding: 0 !important; }
}

/* Front-page hero photo has its own dark left side (asfalt fade). Show it at
   full strength; on phones the text covers the whole width, so keep a
   stronger overlay there and frame the photo on the man (right side). */
/* Not the video poster: it must fade out under the playing film, or it ghosts
   through the 80% video as a burnt-in image. */
.mus-hero img.object-cover:not(.cb-hero__poster) { opacity: 1 !important; object-position: 50% 50%; }
@media (max-width: 767px) {
	.mus-hero img.object-cover:not(.cb-hero__poster) { object-position: 78% 50%; }
	.mus-hero .cb-hero-overlay { opacity: .6 !important; }
}

/* ─────────── Contact form dropdown ───────────
   Forminator hides the native <select> behind its styled one but leaves it
   in the page with white text on white (WAVE: contrast error). Give it real
   colours, and give the open list the theme instead of Forminator's grey. */
body:not(#mus-none) form.forminator-ui select.forminator-select--field,
body:not(#mus-none) form.forminator-ui select.forminator-select--field option { color: var(--mus-ink) !important; background-color: #fff !important; }
.forminator-select-dropdown-container .select2-results__option,
.select2-container--open .select2-results__option { color: var(--mus-ink) !important; background: #fff !important; font-size: 16px; }
.forminator-select-dropdown-container .select2-results__option--highlighted,
.select2-container--open .select2-results__option--highlighted,
.select2-container--open .select2-results__option[aria-selected="true"] { background: var(--mus-surface) !important; color: var(--mus-ink) !important; }
.select2-container--open .select2-dropdown { border-radius: 2px !important; border-color: var(--mus-line) !important; }

/* ─────────── Linked service cards (Finn riktig løsning, Hva vi leverer) ───────────
   No panel, no background change. At rest: the orange rule on top. Hover
   and keyboard focus: an asfalt bar runs across that rule left to right,
   the icon grows 6% and the arrow slides 4px with the link underlined.
   Keyboard focus also gets a square ring around the card. */
a.skotnes-services-editorial__item { position: relative; text-decoration: none; }
a.skotnes-services-editorial__item::before { content: none !important; }
a.skotnes-services-editorial__item::after {
	content: ""; position: absolute; left: 0; right: 0; top: -3px; height: 3px;
	background: var(--mus-ink); transform: scaleX(0); transform-origin: left center;
	transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
a.skotnes-services-editorial__item:hover::after,
a.skotnes-services-editorial__item:focus-visible::after { transform: scaleX(1); }
a.skotnes-services-editorial__item .skotnes-services-editorial__cta > span { display: inline-block; transition: transform .2s ease; }
a.skotnes-services-editorial__item:hover .skotnes-services-editorial__cta > span,
a.skotnes-services-editorial__item:focus-visible .skotnes-services-editorial__cta > span { transform: translateX(4px); }
a.skotnes-services-editorial__item:hover .skotnes-services-editorial__cta,
a.skotnes-services-editorial__item:focus-visible .skotnes-services-editorial__cta { text-decoration: underline; text-underline-offset: 4px; }
.wp-site-blocks a.skotnes-services-editorial__item.skotnes-services-editorial__item:focus-visible {
	outline: 2px solid var(--mus-ink) !important; outline-offset: 14px !important; box-shadow: none !important; border-radius: 0 !important;
}
@media (prefers-reduced-motion: reduce) {
	a.skotnes-services-editorial__item::after,
	a.skotnes-services-editorial__item svg,
	a.skotnes-services-editorial__item .skotnes-services-editorial__cta > span { transition: none; }
}

/* Text selection: dark text on the orange (the parent theme uses white, 2.9:1). */
:root { --cb-selection-bg: #F37523; --cb-selection-color: #1B1917; }
::selection { background: #F37523; color: #1B1917; }
::-moz-selection { background: #F37523; color: #1B1917; }


/* Header with seven menu items (Arbeidsvarsling added 13.10): the default
   36px between links and 48px between logo, menu and actions pushed «Be om
   tilbud» past the right edge. Tighter spacing keeps it inside the frame. */
@media (min-width: 1025px) {
	.react-header-live-wrapper .rh-desktop-nav { gap: 24px !important; }
	.react-header-live-wrapper .rh-desktop-nav { margin-inline: 0 !important; }
	.react-header-live-wrapper .rh-desktop-nav a { font-size: 17px !important; }
	.react-header-live-wrapper .site-header-react > div { gap: 28px !important; }
}

/* Buttons with an arrow (hero CTAs, «Les om prosjektet her», …) nudge the
   arrow 4px on hover and keyboard focus, like the card links. */
.cb-cta-btn > svg:last-child,
.cb-showcase__arrow {
	display: inline-block;
	transition: transform .2s ease;
}
.cb-cta-btn:hover > svg:last-child,
.cb-cta-btn:focus-visible > svg:last-child,
.cb-showcase__btn:hover .cb-showcase__arrow,
.cb-showcase__btn:focus-visible .cb-showcase__arrow { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) {
	.cb-cta-btn > svg:last-child,
	.cb-showcase__arrow { transition: none; }
}

/* ─────────── Request basket (inc/request-basket.php) ───────────
   «Legg i forespørsel» is the primary action everywhere: orange with dark
   text (white on orange fails contrast), the site's 2px radius, 44px tall.
   Cart and checkout carry no prices, so their money columns are hidden. */
.woocommerce ul.products li.product .mus-card-contact {
	align-items: center;
}
.woocommerce ul.products li.product .mus-card-contact .button,
.woocommerce .single_add_to_cart_button.button,
.woocommerce #place_order,
.woocommerce-cart .mus-basket-next .mus-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	margin: 0;
	padding: 10px 18px;
	border: 0;
	border-radius: var(--mus-product-btn-radius);
	background: var(--mus-accent) !important;
	color: var(--mus-ink) !important;
	font-family: var(--wp--preset--font-family--base);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}
.woocommerce ul.products li.product .mus-card-contact .button {
	flex: 1 1 auto;
}
.woocommerce ul.products li.product .mus-card-contact .button:hover,
.woocommerce .single_add_to_cart_button.button:hover,
.woocommerce #place_order:hover,
.woocommerce-cart .mus-basket-next .mus-btn:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}
/* After an AJAX add the card keeps its height: no «Se forespørselen» link
   below the button (the basket count in the header confirms it), the button
   gets a check mark instead. */
.woocommerce ul.products li.product .added_to_cart {
	display: none !important;
}
.woocommerce ul.products li.product .mus-card-contact .button.added::before {
	content: "";
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin-right: 8px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* Button and call icon: one row, the same 44px height. */
.woocommerce ul.products li.product .mus-card-contact .mus-icon-btn {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	box-sizing: border-box;
}
.woocommerce ul.products li.product .mus-card-contact .button {
	box-sizing: border-box;
	min-width: 0;
	padding-inline: 10px;
	white-space: nowrap;
}
/* The row is as wide as the card's content: on a narrow card the button gives
   up some side padding instead of pushing the call icon out of the card. */
.woocommerce ul.products li.product .mus-card-contact {
	container-type: inline-size;
}
@container (max-width: 230px) {
	.woocommerce ul.products li.product .mus-card-contact .button {
		padding-inline: 8px;
	}
}

/* Cart and checkout pages */
.mus-basket-main {
	padding-block: 48px 72px;
	padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px));
}
.woocommerce-cart table.cart .product-price,
.woocommerce-cart table.cart .product-subtotal {
	display: none;
}
.woocommerce-cart table.cart img {
	width: 72px;
}
.woocommerce-cart .cart-collaterals {
	display: flex;
	flex-direction: column-reverse;
	gap: 40px;
	margin-top: 32px;
}
.mus-basket-next {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 24px;
	padding: 24px;
	background: var(--mus-surface);
}
.mus-basket-next p {
	margin: 0;
	font-size: 18px;
	color: var(--mus-ink);
}
.mus-basket-review {
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--mus-line);
}
.mus-basket-review li {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid var(--mus-line);
}
.mus-basket-review__qty {
	flex-shrink: 0;
	font-variant-numeric: tabular-nums;
}
/* Delivery radios: one line each, label beside the dot. */
.woocommerce-checkout #mus_delivery_field .woocommerce-input-wrapper {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	column-gap: 0;
}
.woocommerce-checkout #mus_delivery_field input[type="radio"] {
	margin: 0 8px 0 0;
}
.woocommerce-checkout #mus_delivery_field label.radio {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin: 0;
}
.woocommerce-checkout #mus_delivery_field label.radio .required,
.woocommerce-checkout #mus_delivery_field label.radio abbr {
	display: none;
}
.woocommerce-order-overview__total,
.woocommerce-table--order-details .product-total,
.woocommerce-table--order-details tfoot {
	display: none;
}
.woocommerce-cart .cross-sells ul.products {
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	max-width: none;
	margin-inline: 0;
	padding-inline: 0;
}
.woocommerce-cart .cart-collaterals .cross-sells {
	width: 100%;
}
/* Two cards per row on phones leave ~120px for the action row: the button
   takes the full width and the call icon steps aside (the phone number is
   in the header and on every product page). */
@media (max-width: 599px) {
	.woocommerce ul.products li.product .mus-card-contact {
		margin-inline: 12px;
	}
	.woocommerce ul.products li.product .mus-card-contact .mus-icon-btn {
		display: none;
	}
	.woocommerce ul.products li.product .mus-card-contact .button {
		width: 100%;
		padding-inline: 8px;
		font-size: 15px;
		text-align: center;
		white-space: normal;
	}
	.woocommerce ul.products li.product .mus-card-contact .button.added::before {
		margin-right: 6px;
	}
}

/* «Usikker? Finn riktig løsning», the last card on /utleie/. Dark card so it
   reads as help, not as a twelfth category; the whole card is the link. */
.woocommerce ul.products li.mus-help-card {
	background: var(--mus-ink);
	border-color: var(--mus-ink);
}
.woocommerce ul.products li.mus-help-card > a {
	display: flex;
	flex-direction: column;
	gap: 10px;
	height: 100%;
	padding: 28px 24px;
	color: #fff;
	text-decoration: none;
}
.mus-help-card__eyebrow {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--mus-accent);
}
.mus-help-card__title {
	font-family: var(--wp--preset--font-family--display);
	font-size: 28px;
	font-weight: 700;
	line-height: 1.1;
	text-transform: uppercase;
}
.mus-help-card__body {
	font-size: 16px;
	color: rgba(255, 255, 255, 0.85);
}
.mus-help-card__link {
	margin-top: auto;
	font-weight: 700;
	color: #fff;
	text-decoration: underline;
	text-decoration-color: var(--mus-accent);
	text-underline-offset: 4px;
}
.woocommerce ul.products li.mus-help-card > a:hover .mus-help-card__link {
	text-decoration-thickness: 2px;
}
/* Added: «✓ Lagt til» on one line at every width (the full label plus a
   check would wrap on phones and make the card taller). */
.woocommerce ul.products li.product .mus-card-contact .button.added {
	font-size: 0;
}
.woocommerce ul.products li.product .mus-card-contact .button.added::after {
	content: "Lagt til";
	font-size: 16px;
}
@media (max-width: 599px) {
	.woocommerce ul.products li.product .mus-card-contact .button.added::after {
		font-size: 15px;
	}
}


/* ─────────── «Finn riktig løsning» step 2 (inc/job-guide.php) ───────────
   The job cards step aside once a job is picked; the equipment list takes
   their place on the content rail. The action bar sticks to the bottom so
   «Legg valgte i forespørselen» is in reach however long the list is. */
.mus-guide-step-2 .mus-jobs {
	display: none;
}
.mus-guide {
	box-sizing: border-box;
	max-width: var(--mus-content);
	margin: 0 auto;
	padding: 40px 24px 0;
	scroll-margin-top: 24px;
}
.mus-guide-steps {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
	counter-reset: step;
	font-size: 15px;
	font-weight: 600;
	color: var(--mus-body);
}
.mus-guide-steps li {
	counter-increment: step;
	display: flex;
	align-items: center;
	gap: 8px;
}
.mus-guide-steps li::before {
	content: counter(step);
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border: 1.5px solid var(--mus-line);
	border-radius: var(--mus-card-radius);
	font-variant-numeric: tabular-nums;
}
.mus-guide-steps li[aria-current="step"] {
	color: var(--mus-ink);
}
.mus-guide-steps li[aria-current="step"]::before {
	background: var(--mus-accent);
	border-color: var(--mus-accent);
	color: var(--mus-ink);
}
.mus-guide-steps a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.mus-guide__title {
	margin: 0 0 8px;
}
.mus-guide__lead {
	max-width: 65ch;
	margin: 0 0 32px;
	color: var(--mus-body);
}
.mus-guide-group {
	margin: 0 0 32px;
	padding: 0;
	border: 0;
	min-width: 0;
}
.mus-guide-group__title {
	margin: 0 0 12px;
	padding: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: 22px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--mus-ink);
}
.mus-guide-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr));
	gap: 8px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.mus-guide-row {
	display: grid;
	grid-template-columns: auto 1fr auto auto;
	align-items: center;
	gap: 12px;
	padding: 8px 12px;
	background: var(--mus-card-bg);
	border: 1px solid var(--mus-line);
	border-radius: var(--mus-card-radius);
}
.mus-guide-row:has(.mus-guide-row__check:checked) {
	border-color: var(--mus-accent);
	box-shadow: inset 3px 0 0 var(--mus-accent);
}
.mus-guide-row__check {
	width: 22px;
	height: 22px;
	margin: 0;
	accent-color: var(--mus-accent);
}
.mus-guide-row__label {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 12px;
	min-width: 0;
	min-height: 56px;
	cursor: pointer;
}
.mus-guide-row__img img {
	display: block;
	width: 56px;
	height: 56px;
	object-fit: contain;
	mix-blend-mode: multiply;
}
.mus-guide-row__name {
	flex: 1 1 160px;
	min-width: 0;
	font-weight: 600;
	color: var(--mus-ink);
}
.mus-guide-row .mus-fuel {
	font-size: 14px;
	padding: 3px 8px;
}
.mus-guide-row__qty input {
	width: 64px;
	min-height: 44px;
	box-sizing: border-box;
	padding: 0 8px;
	border: 1.5px solid var(--mus-line);
	border-radius: var(--mus-card-radius);
	font-size: 16px;
	text-align: center;
}
.mus-guide-row__more {
	font-size: 15px;
	font-weight: 600;
	color: var(--mus-ink);
	text-decoration: underline;
	text-decoration-color: var(--mus-accent);
	text-underline-offset: 3px;
}
.mus-guide__actions {
	position: sticky;
	bottom: 0;
	z-index: 5;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 24px;
	margin: 0 -24px;
	padding: 16px 24px max(16px, env(safe-area-inset-bottom, 0px));
	background: var(--mus-surface);
	border-top: 1px solid var(--mus-line);
}
.mus-guide__back {
	font-weight: 600;
	color: var(--mus-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}
@media (max-width: 599px) {
	.mus-guide-row {
		grid-template-columns: auto 1fr auto;
	}
	.mus-guide-row__more {
		grid-column: 2 / -1;
		margin-top: -4px;
	}
	.mus-guide-row__label {
		flex-wrap: nowrap;
	}
	.mus-guide-row__img img {
		width: 48px;
		height: 48px;
	}
	.mus-guide-row__name {
		flex-basis: 0;
		font-size: 15px;
	}
	.mus-guide-row .mus-fuel {
		display: none; /* no room beside the name; the badge shows on the product page */
	}
	.mus-guide__actions {
		gap: 8px 16px;
		padding-block: 12px;
	}
}

/* Page header band: the inner carries the 24px gutter like every other
   section, so the band itself adds none (the plugin's side padding put the
   title 40–64px in from the content edge). */
.cb-page-header.alignfull {
	padding-inline: 0 !important;
}

/* «Gå videre» fills the rest of the next-step band, so the band reads as one
   action instead of a sentence with a small button parked after it. */
.mus-basket-next .mus-btn {
	flex: 1 1 200px;
	justify-content: center;
}

/* ─────────── Hero «Innganger» (styrk-blocks entry cards), M.U.S skin ───────────
   The three entry choices are the hero's own element now (no separate block
   pulled up with CSS). Skin only: tall white cards, square corners, the
   display face in capitals, the third card in signal orange; the link line
   underlines on hover and focus while the arrow nudges. */
.mus-hero {
	--cb-hero-entry-radius: 2px;
	--cb-hero-entry-bg: #fff;
	--cb-hero-entry-ink: var(--mus-ink);
	min-height: max(560px, calc(100svh - 169px)) !important;
}
.mus-hero .cb-hero__entries {
	margin-top: 32px;
}
.mus-hero .cb-hero__entry {
	min-height: 112px;
	padding: 20px 24px;
	box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.6);
}
.mus-hero .cb-hero__entry.is-highlight {
	background: var(--mus-accent);
	color: var(--mus-ink);
}
.mus-hero .cb-hero__entry-icon {
	width: 48px;
	height: 48px;
	border-radius: 2px;
	background: #fdeee4;
	box-shadow: inset 0 0 0 1px #f7c9a9;
}
/* Middle card in pastel orange, so the row steps white → pastel → signal
   orange (client, uke 46). Its icon stands bare, like the orange card's. */
.mus-hero .cb-hero__entry:nth-child(2):not(.is-highlight) {
	background: #fbd3b6;
}
.mus-hero .cb-hero__entry:nth-child(2):not(.is-highlight) .cb-hero__entry-icon {
	background: transparent;
	box-shadow: none;
}
/* Footer Kontakt: the shared e-mail and phone sit above both departments
   (parts/footer.html), with the same 16px step as between the departments. */
.site-footer .wp-block-column .site-footer__contact-info + p.site-footer__address-label {
	margin-top: 16px;
}
/* Project pages: styrk-blocks zeroes the padding of lists in the project body
   (to align them with the copy), so the bullets hung outside the text edge.
   Give lists their indent back: bullets on the copy's edge, text inside.
   Remove once the plugin ships the same fix. */
body .wp-site-blocks .cb-project-body .wp-block-post-content > :is(ul, ol) {
	padding-left: 1.25em;
}
/* Front page: the numbers band under the hero (scripts/uke46-pitch.php).
   A compact strip on the hero's dark, no inner card: orange display-face
   numbers as the eye-catcher, thin rules between, 2 × 2 on phones. */
.mus-stats.py-section {
	padding-block: clamp(32px, 4vw, 48px) !important;
}
.mus-stats .cb-stats-grid {
	gap: 0 !important;
}
.mus-stats .cb-stat {
	padding: 16px 24px !important;
	gap: 10px !important;
}
.mus-stats .cb-stat + .cb-stat {
	border-left: 1px solid rgba(255, 255, 255, 0.14) !important;
}
.mus-stats .cb-stat-value {
	font-family: var(--wp--preset--font-family--display, "Barlow Condensed", sans-serif);
	font-weight: 800;
	font-size: clamp(44px, 4.4vw, 64px) !important;
	color: var(--mus-accent);
}
.mus-stats .cb-stat-label {
	font-size: 16px !important;
	font-weight: 400 !important;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.82);
	max-width: 26ch;
}
@media (max-width: 1023px) {
	.mus-stats .cb-stats-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
	.mus-stats .cb-stat {
		padding: 16px 12px !important;
	}
	.mus-stats .cb-stat:nth-child(odd) {
		border-left: 0;
	}
	.mus-stats .cb-stat:nth-child(n+3) {
		border-top: 1px solid rgba(255, 255, 255, 0.14);
	}
}
/* Hvorfor velge M.U.S: six promises (scripts/uke46-pitch.php) as 3 + 3. */
@media (min-width: 900px) {
	.mus-promises .skotnes-services-editorial {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}
/* Kontakt: Trondheim / Stjørdal switch above the map (functions.php). */
.mus-map-switch {
	display: flex;
	gap: 8px;
}
.contact-info > .mus-map-switch + .contact-info__map {
	margin-top: -20px; /* 12px under the switch; the column's flex gap is 32px */
}
.mus-map-switch button {
	flex: 1 1 0;
	min-height: 44px;
	padding: 8px 16px;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 2px;
	background: transparent;
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
.mus-map-switch button[aria-pressed="true"] {
	background: var(--mus-accent);
	border-color: var(--mus-accent);
	color: var(--mus-ink);
}
.mus-map-switch button:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}
.mus-map-switch button:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}
.mus-hero .cb-hero__entry.is-highlight .cb-hero__entry-icon {
	background: transparent;
	box-shadow: none;
}
.mus-hero .cb-hero__entry-title {
	font-family: var(--wp--preset--font-family--display, "Barlow Condensed", sans-serif);
	font-weight: 700;
	font-size: clamp(18px, 1.6vw, 22px);
	line-height: 1.15;
	text-transform: uppercase;
}
.mus-hero .cb-hero__entry:hover .cb-hero__entry-title {
	text-decoration: none;
}
.mus-hero .cb-hero__entry-cta {
	font-size: 16px;
	font-weight: 600;
}
.mus-hero .cb-hero__entry:is(:hover, :focus-within) .cb-hero__entry-cta {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}
.mus-hero a.cb-hero__entry-link:focus-visible::after {
	outline-color: var(--mus-ink);
}
@media (max-width: 1023px) {
	.mus-hero {
		min-height: 0 !important;
	}
	.mus-hero .cb-hero__entry {
		min-height: 88px;
	}
}

/* ─────────── Min side (WooCommerce My account) ───────────
   Navigation as a quiet list on the left, content on the right; on phones
   the navigation becomes a row of tabs above the content. */
.woocommerce-account .woocommerce {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
	float: none !important;
	width: auto !important;
}
/* WooCommerce prints its notices wrapper first; give every part a fixed place. */
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper {
	grid-column: 1 / -1;
}
.woocommerce-account .woocommerce-MyAccount-navigation {
	grid-column: 1;
}
.woocommerce-account .woocommerce-MyAccount-content {
	grid-column: 2;
}
.woocommerce-account .woocommerce-MyAccount-content .wc-block-components-notice-banner {
	margin: 0 0 16px;
}
.woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--mus-line);
}
.woocommerce-MyAccount-navigation li {
	border-bottom: 1px solid var(--mus-line);
}
.woocommerce-MyAccount-navigation a {
	display: flex;
	align-items: center;
	min-height: 48px;
	padding: 0 12px;
	color: var(--mus-ink);
	font-weight: 600;
	text-decoration: none;
}
.woocommerce-MyAccount-navigation a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}
.woocommerce-MyAccount-navigation .is-active a {
	background: var(--mus-surface);
	box-shadow: inset 3px 0 0 var(--mus-accent);
}
.woocommerce-MyAccount-navigation-link--customer-logout a {
	font-weight: 400;
	color: var(--mus-body);
}
.woocommerce-MyAccount-content > p:first-child {
	margin-top: 0;
	font-size: 18px;
}
.mus-account-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}
.mus-account-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 24px;
	background: var(--mus-card-bg);
	border: 1px solid var(--mus-line);
	border-radius: var(--mus-card-radius);
}
.mus-account-card__title {
	margin: 0;
	font-size: 22px;
}
.mus-account-card p {
	margin: 0;
	color: var(--mus-body);
}
.mus-account-card__link {
	margin-top: auto;
	padding-top: 8px;
	font-weight: 700;
	color: var(--mus-ink);
	text-decoration: underline;
	text-decoration-color: var(--mus-accent);
	text-underline-offset: 4px;
}
/* One link per card: the whole card is the link. */
.mus-account-card__link::after {
	content: "";
	position: absolute;
	inset: 0;
}
.mus-account-card:hover .mus-account-card__link {
	text-decoration-color: currentColor;
}
@media (max-width: 767px) {
	.woocommerce-account .woocommerce {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.woocommerce-account .woocommerce-MyAccount-content {
		grid-column: 1;
	}
	.woocommerce-MyAccount-navigation ul {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
		border: 0;
	}
	.woocommerce-MyAccount-navigation li {
		border: 0;
	}
	.woocommerce-MyAccount-navigation a {
		min-height: 44px;
		padding: 0 14px;
		border: 1px solid var(--mus-line);
		border-radius: var(--mus-card-radius);
	}
	.woocommerce-MyAccount-navigation .is-active a {
		box-shadow: none;
		border-color: var(--mus-accent);
	}
}

/* Request basket, checkout and Min side: utility pages get a compact title
   band, not a 360–520px hero, and their content sits on the shared rail
   (the constrained width counts the 24px gutter, like every section). */
:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .cb-page-auto-hero {
	--hero-minh: 0px !important;
	min-height: 0 !important;
	padding-block: 48px !important;
}
.mus-basket-main {
	padding-inline: 24px !important;
}
.mus-basket-main.is-layout-constrained > * {
	max-width: calc(var(--mus-content) - 48px) !important;
}
:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .cb-page-auto-hero * {
	padding-block: 0 !important;
	margin-block: 0 !important;
}
:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .cb-page-auto-hero h1 {
	font-size: clamp(36px, 4vw, 56px) !important;
}
.mus-account-cards {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.mus-account-card p {
	font-size: 16px;
	line-height: 1.5;
}
@media (max-width: 1023px) {
	.mus-account-cards {
		grid-template-columns: 1fr;
	}
}
.woocommerce-account .woocommerce-MyAccount-content {
	max-width: none !important;
}
.woocommerce-MyAccount-navigation li {
	margin: 0 !important;
	padding: 0 !important;
}
.woocommerce-account .mus-basket-main .woocommerce {
	max-width: none !important; /* a 1000px cap elsewhere left a third of the row empty */
}

/* «Brukes til» on the product page (inc/job-guide.php). */
.mus-uses {
	margin: 20px 0;
	padding: 16px 0;
	border-block: 1px solid var(--mus-line);
}
.mus-uses__title {
	margin: 0 0 8px;
	font-size: 14px !important;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--mus-body);
}
.mus-uses__text {
	margin: 0 0 10px;
}
.mus-uses__jobs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.mus-uses__jobs a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 14px;
	border: 1.5px solid var(--mus-line);
	border-radius: var(--mus-card-radius);
	font-weight: 600;
	color: var(--mus-ink);
	text-decoration: none;
	white-space: nowrap;
}
.mus-uses__jobs a:hover {
	border-color: var(--mus-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.mus-keydata {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 32px;
	margin: 16px 0 28px;
}
.mus-keydata div {
	display: flex;
	flex-direction: column;
}
.mus-keydata dt {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--mus-body);
}
.mus-keydata dd {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: 28px;
	font-weight: 700;
	color: var(--mus-ink);
	font-variant-numeric: tabular-nums;
}

/* Two families only: Barlow (text) and Barlow Condensed (display).
   The collection cards' titles came in the plugin's Oswald, and form
   buttons fell back to the browser's Arial. Font files cover weight ranges
   in theme.json, so a 500/600 request uses the real 700 cut, not a faux bold. */
.cb-collection-card__title {
	font-family: var(--wp--preset--font-family--display) !important;
	font-weight: 700 !important;
}
button,
input,
select,
textarea {
	font-family: inherit;
}

/* Download links (brochure under the buttons, documents tab): a real
   download glyph in front of the text. It is an inline-block, so the
   link's underline runs under the words only, never under the icon. */
.mus-brochure a,
.mus-docs a {
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}
.mus-brochure a::before,
.mus-docs a::before {
	content: "";
	display: inline-block;
	width: 18px;
	height: 18px;
	margin-right: 8px;
	vertical-align: -3px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Fuel badge in the text face: small condensed bold on a dark chip went
   grainy on large low-density screens. */
.mus-fuel {
	font-family: var(--wp--preset--font-family--base);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.01em;
}
/* Lists and tables in the tabs run the tab rule's full width; only running
   text keeps the 68ch measure. */
.woocommerce div.product .woocommerce-tabs :is(#tab-mus_docs, #tab-mus_spec, #tab-additional_information) {
	max-width: none;
}

/* Min side › Adresse: the «Legg til / Endre» link sits under its heading on
   the same edge (WooCommerce floats it right, into nowhere). */
.woocommerce-account .woocommerce-Address-title {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	margin-bottom: 12px;
}
.woocommerce-account .woocommerce-Address-title::before,
.woocommerce-account .woocommerce-Address-title::after {
	display: none;
}
.woocommerce-account .woocommerce-Address-title :is(h2, h3) {
	margin: 0;
	font-size: clamp(22px, 2vw, 28px);
}
.woocommerce-account .woocommerce-Address-title .edit {
	float: none !important;
	font-weight: 600;
	color: var(--mus-ink);
	text-decoration-color: var(--mus-accent);
	text-underline-offset: 4px;
}
.woocommerce-account .woocommerce-Addresses address {
	font-style: normal;
}


/* ─────────── QA sweep 2026-11-02 ─────────── */

/* Cookie banner: it sits over the footer's last row until answered. The
   footer keeps that much room (--mus-cookie-h, set in functions.php) and
   focus scrolls clear of it. */
html { scroll-padding-bottom: var(--mus-cookie-h, 0px); }
.site-footer { padding-bottom: var(--mus-cookie-h, 0px); }
/* Cookie buttons: the house hover (underline, no movement), and the quiet
   «Innstillinger» button at full strength (70% opacity failed contrast). */
#moove_gdpr_cookie_info_bar .mgbutton:hover,
#moove_gdpr_cookie_info_bar .mgbutton:focus-visible {
	text-decoration: underline !important;
	text-underline-offset: 3px;
}
#moove_gdpr_cookie_info_bar .moove-gdpr-infobar-settings-btn { opacity: 1 !important; }
#moove_gdpr_cookie_info_bar .change-settings-button { min-height: 24px; }

/* Inner-page bands: at least 32px of air where text meets the next band. */
.cb-page-header,
.mus-arch-header,
.wp-site-blocks > main:not(.cb-page-main) > .mus-arch-header {
	padding-top: clamp(2rem, 3vw, 2.5rem) !important;
	padding-bottom: clamp(2.25rem, 3vw, 2.5rem) !important;
}


/* «Se mer» links in the job guide: underline in the darker orange (3:1 on white). */
.mus-guide-row__more { text-decoration-color: var(--mus-rust); }

/* Filter chips: underline on hover and focus, like every CTA. */
.mus-chip:hover,
.mus-chip:focus-visible,
.mus-arch-header__cats .mus-chip:hover,
.mus-arch-header__cats .mus-chip:focus-visible { text-decoration: underline !important; text-underline-offset: 3px; }

/* Headings that wrap keep at least 1.1 line height (Å, Ø, Ä carry marks). */
.woocommerce ul.products li.product-category .woocommerce-loop-category__title,
.cb-collection__heading,
.cb-page-header__title,
.cb-hero .text-hero,
.cb-hero-content :is(h1, h2),
.cb-hero__main :is(h1, h2) { line-height: 1.12; }

/* Call icon on product cards: 20px glyph in the same 44px box. */
.mus-icon-btn svg { width: 20px; height: 20px; }

/* Card links: the product link's box runs down behind the contact row, so
   Tab (image/title, then button, then call) reads in the order it is drawn
   and never jumps back up to the next card in the row. */
.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link {
	padding-bottom: 60px;
	margin-bottom: -60px;
}
.woocommerce ul.products li.product .mus-card-contact {
	position: relative;
	z-index: 1;
}

.wp-site-blocks > main:not(.cb-page-main) > .mus-arch-header { margin-bottom: 0 !important; }
.mus-close { padding-bottom: 8px; }


/* Cookie banner: the plugin draws no focus ring on its buttons. */
html body #moove_gdpr_cookie_info_bar#moove_gdpr_cookie_info_bar#moove_gdpr_cookie_info_bar button:focus-visible,
html body #moove_gdpr_cookie_info_bar#moove_gdpr_cookie_info_bar#moove_gdpr_cookie_info_bar a:focus-visible {
	outline: 2px solid var(--mus-accent) !important;
	outline-offset: 3px !important;
}

/* Call icon on a card: the card clips outside rings, so draw it inside. */
.woocommerce ul.products li.product .mus-icon-btn:focus-visible {
	outline: 2px solid var(--mus-primary) !important;
	outline-offset: -5px !important;
	box-shadow: none;
}

/* Touch size: 48px for pagination and breadcrumb links on phones and touch
   screens; padding plus equal negative margin, so nothing moves. */
@media (pointer: coarse), (max-width: 767px) {
	.woocommerce nav.woocommerce-pagination ul.page-numbers li a,
	.woocommerce nav.woocommerce-pagination ul.page-numbers li span {
		min-width: 48px; height: 48px;
	}
}
/* Breadcrumb links: a 40px+ box at every width, nothing moves. */
.mus-arch-header__crumbs a,
.woocommerce-breadcrumb a,
.cb-page-header__crumb-link {
	display: inline-block;
	padding-block: 12px;
	margin-block: -12px;
}

/* Category cards: the ring goes on the card (the card clips anything outside
   its own box), exactly like the product cards. */
.woocommerce ul.products li.product-category > a:focus-visible { outline: none !important; }
.woocommerce ul.products li.product-category:has(> a:focus-visible) {
	outline: 3px solid var(--mus-primary);
	outline-offset: 2px;
}

/* Job guide: its sticky action bar must not hide what keyboard focus scrolls to. */
:root:has(.mus-guide__actions) { scroll-padding-bottom: calc(var(--mus-cookie-h, 0px) + 96px); }

/* Download glyph nudges on hover and focus, like every icon beside words. */
.mus-brochure a::before,
.mus-docs a::before { transition: transform 0.15s ease; }
.mus-brochure a:is(:hover, :focus-visible)::before,
.mus-docs a:is(:hover, :focus-visible)::before { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) {
	.mus-brochure a::before, .mus-docs a::before { transition: none; }
}

/* Cookie notice: readable line height. */
#moove_gdpr_cookie_info_bar .moove-gdpr-cookie-notice p { line-height: 1.5; }

/* Category cards: the link fills the card, so every card's link ends at the
   same height whatever its title length. */
.woocommerce ul.products li.product-category > a {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
}

/* Cookie notice: line height the plugin leaves tight; no fades, so contrast
   is measured on the settled colours. */
html body #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-content p { line-height: 1.5 !important; }
#moove_gdpr_cookie_info_bar .mgbutton { transition: none !important; }

/* Every .mus-btn underlines on hover and focus, like the other CTAs. */
.mus-btn:hover,
.mus-btn:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

/* Headings that wrap keep a line height of 1.1 or more. */
.cb-page-header__title,
.cb-project-hero__title,
.mus-legal h2,
.related.products > h2,
.upsells.products > h2 { line-height: 1.12 !important; }
.cb-hero-eyebrow { line-height: 1.35 !important; }

/* Page title and card titles: the longest Norwegian word fits a phone. */
@media (max-width: 639px) {
	.cb-page-header__title { font-size: clamp(28px, 8.2vw, 44px) !important; }
	.skotnes-services-editorial__title { font-size: clamp(18px, 5.4vw, 22px) !important; }
}

/* Request page: the basket wrapper keeps 32px of air at both ends. */
.wp-block-post-content > .woocommerce { padding-block: 32px; }
/* Empty-basket notice: the icon sits on the first line of its text. */
.wc-block-components-notice-banner { align-items: flex-start; }
.wc-block-components-notice-banner > svg { flex: none; height: 24px; width: 24px; margin-top: -2px; }

/* Rings that the gallery and the tab strip would clip are drawn inside. */
.woocommerce div.product div.woocommerce-product-gallery .woocommerce-product-gallery__image a:focus-visible,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:focus-visible {
	outline: 2px solid var(--mus-primary) !important;
	outline-offset: -4px !important;
}

/* Small text links get a 44px+ touch box; padding and equal negative margin, so nothing moves. */
.product_meta a,
.contact-info-row__value a,
.contact-info__person-email,
.contact-info__person-phone {
	padding-block: 12px;
	margin-block: -12px;
}

/* Show-password button: a 48px touch box (padding-free, so the field keeps its size). */
.woocommerce form .password-input .show-password-input {
	width: 48px;
	height: 48px;
	top: calc(50% - 24px);
	right: 0;
	background-position: center;
	background-repeat: no-repeat;
}
.rh-search-trigger, .rh-shop-link--cart, .rh-mobile-toggle { box-sizing: border-box; }

/* Two-by-two service cards on phones: the longest title («Avfallshåndtering») fits its column. */
@media (max-width: 479px) {
	.mus-deliver .skotnes-services-editorial__title,
	.skotnes-services-editorial__title { font-size: 16px !important; letter-spacing: 0.02em !important; }
	.mus-claims .skotnes-services-editorial__item { padding-inline: 10px !important; }
}

/* FAQ block: its section carries 24px of side padding on top of the block's
   own gutter, so its heading started 24px right of every other section. */
.wp-block-styrk-blocks-faq-accordion.px-6 { padding-inline: 0; }

/* WooCommerce's remove button is a "×" text glyph in a circle: the glyph's
   font metrics put it off centre, worst on hover. Draw the cross as an icon
   centred in its own box instead; the link keeps its aria-label. */
.woocommerce a.remove,
a.remove {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	font-size: 0 !important;
	line-height: 0 !important;
	border-radius: 50%;
}
a.remove::before {
	content: "";
	width: 12px;
	height: 12px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1 1l10 10M11 1L1 11' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1 1l10 10M11 1L1 11' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Pagination: "→", "←" and "…" are text glyphs whose font metrics sit them
   low in their 44px box. Draw them as icons centred in the box. */
.woocommerce-pagination .page-numbers li .page-numbers.next,
.woocommerce-pagination .page-numbers li .page-numbers.prev,
.woocommerce-pagination .page-numbers li .page-numbers.dots {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	font-size: 0 !important;
}
.page-numbers.next::before,
.page-numbers.prev::before,
.page-numbers.dots::before {
	content: "";
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: var(--mus-pg-icon) center / contain no-repeat;
	mask: var(--mus-pg-icon) center / contain no-repeat;
}
.page-numbers.next { --mus-pg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h11M9 3.5 13.5 8 9 12.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.page-numbers.prev { --mus-pg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M14 8H3M7 3.5 2.5 8 7 12.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.page-numbers.dots { --mus-pg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='3' cy='8' r='1.5'/%3E%3Ccircle cx='8' cy='8' r='1.5'/%3E%3Ccircle cx='13' cy='8' r='1.5'/%3E%3C/svg%3E"); }

/* ─────────── Readable card text ───────────
   Small text set in heavy condensed capitals was hard to read, worst for
   people with poorer eyesight. Card titles and buttons use the body face
   at semibold, in normal case; condensed capitals stay for large headings.
   Every card title keeps room for two lines, so cards with one- and
   two-line titles line up. */
body ul.products li.product .woocommerce-loop-product__title,
body ul.products li.product-category .woocommerce-loop-category__title {
	font-family: var(--wp--preset--font-family--base) !important;
	font-weight: 600 !important;
	font-size: 18px !important;
	line-height: 1.25 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	min-height: calc(2 * 1.25em);
}
/* /utleie/ has no .woocommerce wrapper: give its category photos the same
   inner padding as product cards. */
body ul.products li.product-category img {
	padding: var(--mus-card-img-pad) !important;
	box-sizing: border-box;
	object-fit: contain;
	background: #fff;
}
body ul.products li.product-category .woocommerce-loop-category__title .count {
	font-weight: 400;
	color: var(--mus-muted, #5E5955);
	background: none;
}
.woocommerce ul.products li.product .mus-card-contact .button,
.woocommerce .single_add_to_cart_button.button,
.woocommerce #place_order,
.woocommerce-cart .mus-basket-next .mus-btn,
.wp-element-button,
.mus-btn {
	font-weight: 600 !important;
	letter-spacing: 0 !important;
}

/* Photo tiles (feature-cards «photo»): the plugin sets them edge to edge, so a
   tile's focus ring (3px outside the tile) lands on its neighbours' photos and
   disappears. A gap puts the ring on the section background. */
.mus-photo-tiles .cb-feature-cards--photo {
	gap: 16px;
}

/* Kurs: nine short course items. At tablet width the plugin's two columns
   leave one alone in the last row; three columns end the grid even. */
@media (min-width: 640px) {
	.mus-courses .skotnes-services-editorial--cols-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Basket bar on category, shop and search pages (inc/request-basket.php):
   the job guide's action bar, fixed to the bottom once something is in the
   request, above the cookie banner while that shows. */
.mus-basket-bar {
	position: fixed;
	inset-inline: 0;
	bottom: var(--mus-cookie-h, 0px);
	z-index: 50;
	background: var(--mus-surface);
	border-top: 1px solid var(--mus-line);
	padding-bottom: env(safe-area-inset-bottom, 0px);
}
.mus-basket-bar[hidden] {
	display: none;
}
.mus-basket-bar__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	max-width: var(--wp--style--global--content-size, 1360px); /* same edge as the product grid */
	box-sizing: border-box;
	margin-inline: auto;
	padding: 16px 24px;
}
.mus-basket-bar__text {
	margin: 0;
	font-weight: 600;
	color: var(--mus-ink);
}
:root:has(.mus-basket-bar:not([hidden])) .site-footer {
	padding-bottom: calc(var(--mus-cookie-h, 0px) + 88px);
}
@media (max-width: 599px) {
	.mus-basket-bar__inner {
		padding-block: 12px;
	}
	.mus-basket-bar .mus-btn {
		flex: 1 1 100%;
		text-align: center;
	}
}

/* Staff without a photo: the logo placeholder fills the photo frame like a
   portrait would, instead of sitting as a small centred symbol. */
.cb-employee-photo--symbol .cb-employee-photo__symbol-img[src*="avatar-placeholder"] {
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
}

