/* Hjelseth Core – Søk. Tokens from theme.json with fallbacks. Contrast checked for WCAG 2.2 AA. */

.hc-sok,
.hc-sok-topp,
.hc-sok-side,
.hc-sok-blokk {
	--hc-sok-a: var(--wp--preset--color--accent, #C9420D);
	--hc-sok-a2: var(--wp--preset--color--accent-2, #9A330A);
	--hc-sok-t: var(--wp--preset--color--contrast, #14213D);
	--hc-sok-m: var(--wp--preset--color--contrast-2, #4A5568);
	--hc-sok-b: var(--wp--preset--color--base, #FFFFFF);
	--hc-sok-b2: var(--wp--preset--color--base-2, #F4F2EE);
	--hc-sok-k: var(--wp--preset--color--border, #E4E0D8);
	--hc-sok-rs: var(--wp--custom--radius--sm, 10px);
	--hc-sok-rm: var(--wp--custom--radius--md, 18px);
	--hc-sok-rl: var(--wp--custom--radius--lg, 28px);
	--hc-sok-skygge: 0 1px 2px rgb(20 33 61 / .05), 0 12px 32px rgb(20 33 61 / .08);
	--hc-sok-fart: 160ms ease;
}

.hc-sok-skjult {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.hc-sok-ikon { width: 20px; height: 20px; flex: none; display: block; }

/* ---------------------------------------------------------------- Field */

.hc-sok { position: relative; margin: 0; font: inherit; color: var(--hc-sok-t); width: 100%; }
.hc-sok__etikett { display: block; font-weight: 600; margin-bottom: .45rem; }

.hc-sok__felt {
	position: relative;
	display: flex;
	align-items: center;
	gap: 4px;
	min-height: 56px;
	padding: 4px 4px 4px 16px;
	background: var(--hc-sok-b);
	border: 1px solid var(--hc-sok-k);
	border-radius: 999px;
	box-shadow: 0 1px 2px rgb(20 33 61 / .04);
	transition: border-color var(--hc-sok-fart), box-shadow var(--hc-sok-fart);
}
.hc-sok__felt:hover { border-color: #C9C2B5; }
.hc-sok__felt:focus-within {
	border-color: var(--hc-sok-t);
	box-shadow: 0 0 0 1px var(--hc-sok-t), 0 6px 20px rgb(20 33 61 / .08);
}

.hc-sok__ikon { position: relative; display: grid; place-items: center; width: 24px; height: 24px; color: var(--hc-sok-m); flex: none; }
.hc-sok__spinner {
	position: absolute;
	inset: 1px;
	border-radius: 50%;
	border: 2px solid var(--hc-sok-k);
	border-top-color: var(--hc-sok-a);
	opacity: 0;
}
.hc-sok--laster .hc-sok__ikon .hc-sok-ikon { opacity: 0; }
.hc-sok--laster .hc-sok__spinner { opacity: 1; animation: hc-sok-snurr .7s linear infinite; }
@keyframes hc-sok-snurr { to { transform: rotate(360deg); } }

.hc-sok .hc-sok__inndata {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 48px;
	margin: 0;
	padding: 0 8px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--hc-sok-t);
	font: inherit;
	font-size: max(16px, 1rem); /* 16px+ stops iOS from zooming */
	line-height: 1.3;
	-webkit-appearance: none;
	appearance: none;
}
.hc-sok .hc-sok__inndata::placeholder { color: var(--hc-sok-m); opacity: 1; }
.hc-sok .hc-sok__inndata:focus,
.hc-sok .hc-sok__inndata:focus-visible { outline: none; box-shadow: none; }
.hc-sok .hc-sok__inndata::-webkit-search-cancel-button,
.hc-sok .hc-sok__inndata::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }

.hc-sok .hc-sok__tom,
.hc-sok .hc-sok__tom:focus-visible {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	flex: none;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--hc-sok-m);
	cursor: pointer;
}
.hc-sok .hc-sok__tom[hidden] { display: none; }
.hc-sok .hc-sok__tom:hover { background: var(--hc-sok-b2); color: var(--hc-sok-t); }

.hc-sok .hc-sok__knapp,
.hc-sok .hc-sok__knapp:focus-visible {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex: none;
	min-height: 48px;
	min-width: 48px;
	margin: 0;
	padding: 0 22px;
	border: 0;
	border-radius: 999px;
	background: var(--hc-sok-t);
	color: #fff;
	font: inherit;
	font-weight: 650;
	font-size: 1rem;
	line-height: 1;
	cursor: pointer;
	transition: background var(--hc-sok-fart), transform var(--hc-sok-fart);
}
.hc-sok .hc-sok__knapp:hover { background: var(--hc-sok-a2); color: #fff; }
.hc-sok .hc-sok__knapp:active { transform: translateY(1px); }
.hc-sok .hc-sok__knapp .hc-sok-ikon { width: 18px; height: 18px; }

.hc-sok :focus-visible,
.hc-sok-topp :focus-visible,
.hc-sok-side :focus-visible { outline: 3px solid var(--hc-sok-a); outline-offset: 2px; }

/* Large (results page, header bar, block «Stor») */
.hc-sok--stor .hc-sok__felt { min-height: 64px; padding-left: 20px; box-shadow: var(--hc-sok-skygge); }
.hc-sok--stor .hc-sok__inndata { font-size: max(16px, 1.125rem); }
.hc-sok--stor .hc-sok__ikon { width: 26px; height: 26px; }
.hc-sok--stor .hc-sok__ikon .hc-sok-ikon { width: 22px; height: 22px; }
.hc-sok--stor .hc-sok__knapp { min-height: 54px; padding: 0 28px; }

@media (max-width: 520px) {
	.hc-sok__felt { padding-left: 14px; }
	.hc-sok .hc-sok__knapp { padding: 0; width: 48px; }
	.hc-sok--stor .hc-sok__knapp { width: 54px; padding: 0; }
	.hc-sok .hc-sok__knapp-tekst { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (min-width: 521px) {
	.hc-sok .hc-sok__knapp .hc-sok-ikon { display: none; }
}

/* ---------------------------------------------------------------- Suggestions panel */

.hc-sok__panel {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	width: 100%;
	z-index: 60;
	max-height: min(70vh, 560px);
	max-height: min(65dvh, 560px);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 8px;
	background: var(--hc-sok-b);
	border: 1px solid var(--hc-sok-k);
	border-radius: var(--hc-sok-rm);
	box-shadow: 0 2px 4px rgb(20 33 61 / .04), 0 18px 48px rgb(20 33 61 / .14);
	text-align: left;
	animation: hc-sok-inn 140ms ease-out;
}
.hc-sok__panel[hidden] { display: none; }
@keyframes hc-sok-inn { from { opacity: 0; transform: translateY(-4px); } }

.hc-sok__melding { margin: 0; padding: 12px 12px 8px; color: var(--hc-sok-m); font-size: .95rem; }
.hc-sok__melding[hidden] { display: none; }

.hc-sok__gruppe + .hc-sok__gruppe { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--hc-sok-k); }
.hc-sok__gruppe-tittel {
	padding: 10px 12px 4px;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--hc-sok-m);
}

.hc-sok__valg {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	min-height: 48px;
	padding: 8px 12px;
	border-radius: var(--hc-sok-rs);
	color: var(--hc-sok-t);
	cursor: pointer;
	transition: background var(--hc-sok-fart);
}
.hc-sok__valg:hover,
.hc-sok__valg[aria-selected="true"] { background: var(--hc-sok-b2); }
.hc-sok__valg[aria-selected="true"] { box-shadow: inset 3px 0 0 var(--hc-sok-a); }

.hc-sok__valg-ikon {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 999px;
	background: var(--hc-sok-b2);
	color: var(--hc-sok-a2);
}
.hc-sok__valg-ikon svg { width: 18px; height: 18px; }
.hc-sok__valg[aria-selected="true"] .hc-sok__valg-ikon,
.hc-sok__valg:hover .hc-sok__valg-ikon { background: var(--hc-sok-b); }

.hc-sok__valg-bilde {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	overflow: hidden;
	border-radius: 8px;
	background: var(--hc-sok-b2);
	color: var(--hc-sok-m);
}
.hc-sok__valg-bilde img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hc-sok__valg-bilde .hc-sok__valg-ikon { background: none; }

.hc-sok__valg-tekst { display: grid; gap: 2px; min-width: 0; }
.hc-sok__valg-tittel {
	font-weight: 600;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.hc-sok__valg-meta {
	font-size: .875rem;
	line-height: 1.35;
	color: var(--hc-sok-m);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.hc-sok__valg-meta--utsolgt { color: #9B1C1C; }
.hc-sok__valg-pris { display: grid; justify-items: end; font-weight: 650; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hc-sok__valg-pris-na { color: var(--hc-sok-a2); }
.hc-sok__valg-pris-for { font-weight: 400; font-size: .8125rem; color: var(--hc-sok-m); }

.hc-sok mark,
.hc-sok-side mark {
	background: rgb(201 66 13 / .14);
	color: inherit;
	font-weight: inherit;
	border-radius: 3px;
	padding: 0 1px;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}
.hc-sok__valg-tittel mark { background: none; color: inherit; font-weight: 750; padding: 0; }

.hc-sok__valg--alle {
	grid-template-columns: minmax(0, 1fr) auto;
	margin-top: 6px;
	border-top: 1px solid var(--hc-sok-k);
	border-radius: 0 0 var(--hc-sok-rs) var(--hc-sok-rs);
	color: var(--hc-sok-a2);
	font-weight: 650;
}
.hc-sok__melding:not([hidden]) + .hc-sok__liste .hc-sok__valg--alle { border-top: 0; margin-top: 0; border-radius: var(--hc-sok-rs); }
.hc-sok__valg--alle .hc-sok__valg-tittel { font-weight: 650; }
.hc-sok__valg-pil { display: grid; place-items: center; }
.hc-sok__valg-pil svg { width: 18px; height: 18px; transition: transform var(--hc-sok-fart); }
.hc-sok__valg--alle[aria-selected="true"] .hc-sok__valg-pil svg,
.hc-sok__valg--alle:hover .hc-sok__valg-pil svg { transform: translateX(3px); }

/* ---------------------------------------------------------------- Header icon + search bar */

.hc-sok-topp { display: inline-flex; }
.hc-sok-topp__knapp,
.hc-sok-topp__knapp:focus-visible {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	color: var(--hc-sok-t);
	text-decoration: none;
	transition: background var(--hc-sok-fart);
}
.hc-sok-topp__knapp:hover,
.hc-sok-topp__knapp[aria-expanded="true"] { background: var(--hc-sok-b2); color: var(--hc-sok-t); }
.hc-sok-topp__knapp .hc-sok-ikon { width: 22px; height: 22px; }

.hc-sok-ark {
	position: fixed;
	top: var(--hc-sok-topp, 0px);
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 49;
	background: rgb(20 33 61 / .32);
	opacity: 0;
	transition: opacity 180ms ease;
}
.hc-sok-ark[hidden] { display: none; }
.hc-sok-ark.er-apen { opacity: 1; }
.hc-sok-ark__flate {
	background: var(--hc-sok-b);
	border-top: 1px solid var(--hc-sok-k);
	box-shadow: var(--hc-sok-skygge);
	padding: clamp(16px, 3vw, 28px) clamp(16px, 4vw, 32px) clamp(20px, 3vw, 32px);
	transform: translateY(-8px);
	transition: transform 200ms ease;
}
.hc-sok-ark.er-apen .hc-sok-ark__flate { transform: none; }
.hc-sok-ark__indre { width: min(860px, 100%); margin-inline: auto; }
.hc-sok-ark__rad { display: flex; align-items: center; gap: 12px; }
.hc-sok-ark__rad .hc-sok { flex: 1 1 auto; min-width: 0; }
.hc-sok-ark__lukk,
.hc-sok-ark__lukk:focus-visible {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	flex: none;
	padding: 0;
	border: 1px solid var(--hc-sok-k);
	border-radius: 999px;
	background: var(--hc-sok-b);
	color: var(--hc-sok-t);
	cursor: pointer;
}
.hc-sok-ark__lukk:hover { border-color: var(--hc-sok-t); }
.hc-sok-ark__snarveier { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 16px; }
.hc-sok-ark__snarveier-tittel { margin: 0; font-size: .875rem; font-weight: 600; color: var(--hc-sok-m); }
.hc-sok-ark .hc-sok-brikke { min-height: 40px; font-size: .9375rem; }

@media (max-width: 520px) {
	.hc-sok-ark__rad { gap: 8px; }
	.hc-sok-ark__lukk { width: 44px; height: 44px; }
}

/* ---------------------------------------------------------------- Chips (categories, popular) */

.hc-sok-brikker { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hc-sok-brikke,
.hc-sok-brikke:focus-visible {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid var(--hc-sok-k);
	border-radius: 999px;
	background: var(--hc-sok-b);
	color: var(--hc-sok-t);
	font-weight: 550;
	text-decoration: none;
	line-height: 1.2;
	transition: border-color var(--hc-sok-fart), background var(--hc-sok-fart);
}
.hc-sok-brikke:hover { border-color: var(--hc-sok-t); color: var(--hc-sok-t); }
.hc-sok-brikke[aria-current] { background: var(--hc-sok-t); border-color: var(--hc-sok-t); color: #fff; }
.hc-sok-brikke .hc-sok-ikon { width: 16px; height: 16px; color: var(--hc-sok-a2); }
.hc-sok-brikke__antall {
	min-width: 24px;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--hc-sok-b2);
	color: var(--hc-sok-m);
	font-size: .8125rem;
	font-weight: 600;
	text-align: center;
	font-variant-numeric: tabular-nums;
}
.hc-sok-brikke[aria-current] .hc-sok-brikke__antall { background: rgb(255 255 255 / .16); color: #fff; }

/* ---------------------------------------------------------------- Results page */

.hc-sok-side { display: grid; gap: clamp(20px, 3vw, 32px); color: var(--hc-sok-t); }
.hc-sok-side > * { margin: 0; }
.hc-sok-side__status { margin: 0; color: var(--hc-sok-m); font-size: 1.0625rem; }
.hc-sok-side__status strong { color: var(--hc-sok-t); font-weight: 650; }
.hc-sok-side__delvis { display: block; margin-top: 4px; font-size: .95rem; }

/* Tabs (links) */
.hc-sok-faner { margin: 0; border-bottom: 1px solid var(--hc-sok-k); }
.hc-sok-faner ul {
	list-style: none;
	margin: 0;
	padding: 0 0 12px;
	display: flex;
	gap: 8px;
	overflow-x: auto;
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}
.hc-sok-faner li { flex: none; }
.hc-sok-faner a,
.hc-sok-faner a:focus-visible {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid var(--hc-sok-k);
	border-radius: 999px;
	background: var(--hc-sok-b);
	color: var(--hc-sok-t);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: border-color var(--hc-sok-fart), background var(--hc-sok-fart);
}
.hc-sok-faner a:hover { border-color: var(--hc-sok-t); color: var(--hc-sok-t); }
.hc-sok-faner a[aria-current] { background: var(--hc-sok-t); border-color: var(--hc-sok-t); color: #fff; }
.hc-sok-faner__antall {
	min-width: 24px;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--hc-sok-b2);
	color: var(--hc-sok-m);
	font-size: .8125rem;
	font-weight: 650;
	text-align: center;
	font-variant-numeric: tabular-nums;
}
.hc-sok-faner a[aria-current] .hc-sok-faner__antall { background: rgb(255 255 255 / .16); color: #fff; }

/* Product filters */
.hc-sok-filter { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px 32px; }
.hc-sok-filter__gruppe { display: grid; gap: 8px; }
.hc-sok-filter__tittel { margin: 0; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hc-sok-m); }
.hc-sok-segment {
	list-style: none;
	margin: 0;
	padding: 4px;
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px;
	background: var(--hc-sok-b2);
	border-radius: 999px;
}
.hc-sok-segment a,
.hc-sok-segment a:focus-visible {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 16px;
	border-radius: 999px;
	color: var(--hc-sok-t);
	font-weight: 600;
	font-size: .9375rem;
	text-decoration: none;
	white-space: nowrap;
}
.hc-sok-segment a:hover { background: rgb(255 255 255 / .7); color: var(--hc-sok-t); }
.hc-sok-segment a[aria-current] { background: var(--hc-sok-b); box-shadow: 0 1px 3px rgb(20 33 61 / .12); }

/* Sections in «Alle» */
.hc-sok-seksjon { display: grid; gap: 16px; }
.hc-sok-seksjon__topp { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.hc-sok-side .hc-sok-seksjon__tittel { margin: 0; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); line-height: 1.2; letter-spacing: -.015em; }
.hc-sok-seksjon__antall { color: var(--hc-sok-m); font-weight: 500; font-size: .8em; }
.hc-sok-seksjon__mer,
.hc-sok-seksjon__mer:focus-visible {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	color: var(--hc-sok-a2);
	font-weight: 650;
	text-decoration: none;
}
.hc-sok-seksjon__mer:hover { color: var(--hc-sok-a2); text-decoration: underline; text-underline-offset: 3px; }
.hc-sok-seksjon__mer .hc-sok-ikon { width: 18px; height: 18px; transition: transform var(--hc-sok-fart); }
.hc-sok-seksjon__mer:hover .hc-sok-ikon { transform: translateX(3px); }

/* Product cards */
.hc-sok-produkter {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
	gap: clamp(12px, 2vw, 20px);
}
@media (max-width: 460px) { .hc-sok-produkter { grid-template-columns: 1fr 1fr; } }
.hc-sok-produkt {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	background: var(--hc-sok-b);
	border: 1px solid var(--hc-sok-k);
	border-radius: var(--hc-sok-rm);
	transition: box-shadow 200ms ease, transform 200ms ease, border-color 200ms ease;
}
.hc-sok-produkt:hover { box-shadow: var(--hc-sok-skygge); transform: translateY(-2px); border-color: transparent; }
.hc-sok-produkt:focus-within { box-shadow: var(--hc-sok-skygge); }
.hc-sok-produkt__bilde { aspect-ratio: 1; background: var(--hc-sok-b2); overflow: hidden; }
.hc-sok-produkt__bilde img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 300ms ease; }
.hc-sok-produkt:hover .hc-sok-produkt__bilde img { transform: scale(1.03); }
.hc-sok-produkt__tomt { display: grid; place-items: center; height: 100%; color: var(--hc-sok-m); }
.hc-sok-produkt__tomt .hc-sok-ikon { width: 32px; height: 32px; }
.hc-sok-produkt__tekst { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 14px 16px 16px; }
.hc-sok-side .hc-sok-produkt__navn { margin: 0; font-size: 1.0625rem; line-height: 1.3; letter-spacing: -.01em; font-weight: 650; }
.hc-sok-produkt__navn a { color: var(--hc-sok-t); text-decoration: none; }
.hc-sok-produkt__navn a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
@supports selector(:has(a)) {
	.hc-sok-produkt__navn a:focus-visible { outline: none; }
	.hc-sok-produkt:has(.hc-sok-produkt__navn a:focus-visible) { outline: 3px solid var(--hc-sok-a); outline-offset: 2px; }
}
.hc-sok-produkt__pris { margin: 0; font-weight: 650; color: var(--hc-sok-t); font-variant-numeric: tabular-nums; }
.hc-sok-produkt__pris del { color: var(--hc-sok-m); font-weight: 400; font-size: .9em; margin-right: 6px; }
.hc-sok-produkt__pris ins { text-decoration: none; color: var(--hc-sok-a2); }
.hc-sok-produkt__lager { margin: 0; display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; color: var(--hc-sok-m); }
.hc-sok-produkt__lager::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.hc-sok-lager--instock { color: #1D6B3A; }
.hc-sok-lager--outofstock { color: #9B1C1C; }
.hc-sok-lager--onbackorder { color: #8A5A00; }
.hc-sok-produkt__cta { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; color: var(--hc-sok-a2); font-weight: 650; font-size: .9375rem; }
.hc-sok-produkt__cta .hc-sok-ikon { width: 16px; height: 16px; transition: transform var(--hc-sok-fart); }
.hc-sok-produkt:hover .hc-sok-produkt__cta .hc-sok-ikon { transform: translateX(3px); }

/* Other results */
.hc-sok-liste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hc-sok-k); }
.hc-sok-liste > li { border-bottom: 1px solid var(--hc-sok-k); }
.hc-sok-treff { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: center; padding: 20px 4px; }
.hc-sok-treff--bilde { grid-template-columns: minmax(0, 1fr) 96px; }
.hc-sok-treff__tekst { display: grid; gap: 4px; }
.hc-sok-treff__type { margin: 0; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hc-sok-a2); }
.hc-sok-side .hc-sok-treff__tittel { margin: 0; font-size: 1.1875rem; line-height: 1.3; letter-spacing: -.01em; font-weight: 650; }
.hc-sok-treff__tittel a { color: var(--hc-sok-t); text-decoration: none; }
.hc-sok-treff__tittel a::after { content: ""; position: absolute; inset: 0; }
@supports selector(:has(a)) {
	.hc-sok-treff__tittel a:focus-visible { outline: none; }
	.hc-sok-treff:has(.hc-sok-treff__tittel a:focus-visible) { outline: 3px solid var(--hc-sok-a); outline-offset: 2px; border-radius: var(--hc-sok-rs); }
}
.hc-sok-treff:hover .hc-sok-treff__tittel a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.hc-sok-treff__utdrag { margin: 0; color: var(--hc-sok-m); line-height: 1.55; }
.hc-sok-treff__utdrag mark { color: var(--hc-sok-t); }
.hc-sok-treff__bilde { width: 96px; height: 96px; border-radius: var(--hc-sok-rs); overflow: hidden; background: var(--hc-sok-b2); }
.hc-sok-treff__bilde img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 520px) {
	.hc-sok-treff--bilde { grid-template-columns: minmax(0, 1fr) 72px; }
	.hc-sok-treff__bilde { width: 72px; height: 72px; }
}

/* Pagination */
.hc-sok-sider ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; }
.hc-sok-sider a,
.hc-sok-sider a:focus-visible {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid var(--hc-sok-k);
	border-radius: 999px;
	background: var(--hc-sok-b);
	color: var(--hc-sok-t);
	font-weight: 600;
	text-decoration: none;
	font-variant-numeric: tabular-nums;
}
.hc-sok-sider a:hover { border-color: var(--hc-sok-t); color: var(--hc-sok-t); }
.hc-sok-sider a[aria-current] { background: var(--hc-sok-t); border-color: var(--hc-sok-t); color: #fff; }
.hc-sok-sider__gap { color: var(--hc-sok-m); padding: 0 4px; }

/* Popular + «Ingen treff» */
.hc-sok-populart { display: grid; gap: 12px; }
.hc-sok-side .hc-sok-populart__tittel { margin: 0; font-size: 1.125rem; }
.hc-sok-tomt {
	display: grid;
	gap: 16px;
	padding: clamp(24px, 4vw, 40px);
	background: var(--hc-sok-b2);
	border-radius: var(--hc-sok-rl);
}
.hc-sok-tomt > * { margin: 0; }
.hc-sok-side .hc-sok-tomt__tittel { margin: 0; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); line-height: 1.2; letter-spacing: -.02em; }
.hc-sok-tomt__mente { font-size: 1.125rem; }
.hc-sok-tomt__mente a { color: var(--hc-sok-a2); font-weight: 650; }
.hc-sok-tomt__tips { margin: 0; padding-left: 1.2em; color: var(--hc-sok-m); display: grid; gap: 4px; }
.hc-sok-side .hc-sok-tomt__undertittel { margin: 8px 0 0; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hc-sok-m); }
.hc-sok-tomt .hc-sok-brikke { background: var(--hc-sok-b); }
.hc-sok-tomt__hjelp {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	margin-top: 8px;
	padding: 16px 16px 16px 20px;
	background: var(--hc-sok-b);
	border-radius: var(--hc-sok-rm);
}
.hc-sok-tomt__hjelp p { margin: 0; flex: 1 1 220px; font-weight: 550; }
.hc-sok-tomt__hjelp-ikon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: var(--hc-sok-b2); color: var(--hc-sok-a2); flex: none; }
.hc-sok-knapp,
.hc-sok-knapp:focus-visible {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 22px;
	border-radius: 999px;
	background: var(--hc-sok-a);
	color: #fff;
	font-weight: 650;
	text-decoration: none;
	transition: background var(--hc-sok-fart);
}
.hc-sok-knapp:hover { background: var(--hc-sok-a2); color: #fff; }
.hc-sok-knapp .hc-sok-ikon { width: 18px; height: 18px; }

/* Block wrapper */
.hc-sok-blokk { width: 100%; }

/* ---------------------------------------------------------------- Motion */
@media (prefers-reduced-motion: reduce) {
	.hc-sok *,
	.hc-sok-topp *,
	.hc-sok-side *,
	.hc-sok-ark,
	.hc-sok-ark__flate { transition: none !important; animation: none !important; }
	.hc-sok--laster .hc-sok__ikon .hc-sok-ikon { opacity: 1; }
	.hc-sok--laster .hc-sok__spinner { opacity: 0; }
	.hc-sok-produkt:hover,
	.hc-sok-produkt:hover .hc-sok-produkt__bilde img { transform: none; }
}

@media (forced-colors: active) {
	.hc-sok__valg[aria-selected="true"] { outline: 2px solid Highlight; }
	.hc-sok mark, .hc-sok-side mark { forced-color-adjust: none; background: Mark; color: MarkText; }
}
