/* Ladcykeleksperten.dk */

@font-face {
	font-family: "Manrope";
	src: url("../fonts/manrope-latin.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}

:root {
	--groen: #075a32;
	--groen-moerk: #05452a;
	--groen-lys: #e7f1e8;
	--creme: #f5f8f3;
	--tekst: #151a17;
	--daempet: #56615a;
	--kant: #e3e8e2;
	--hvid: #fff;
	--radius: 14px;
	--radius-lille: 9px;
	--skygge: 0 1px 2px rgba(21, 26, 23, .05), 0 6px 20px rgba(21, 26, 23, .06);
	--skygge-hover: 0 2px 4px rgba(21, 26, 23, .06), 0 14px 34px rgba(21, 26, 23, .11);
	--bredde: 1280px;
	--font: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.55;
	color: var(--tekst);
	background: var(--hvid);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--groen); text-underline-offset: 3px; }
a:hover { color: var(--groen-moerk); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
:focus-visible { outline: 3px solid #1c8a55; outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--bredde) + 48px); margin: 0 auto; padding: 0 24px; }
.wrap-smal { max-width: 860px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.spring { position: absolute; left: -9999px; top: 8px; background: var(--hvid); padding: 10px 16px; border-radius: 8px; z-index: 100; font-weight: 700; }
.spring:focus { left: 8px; }
.ikon { flex: none; }

/* ---------- Knapper ---------- */

.knap,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wc-block-components-button:not(.is-link) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 20px;
	border: 2px solid transparent;
	border-radius: var(--radius-lille);
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s, border-color .15s, transform .15s;
}
.knap-groen,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.wc-block-components-button:not(.is-link) {
	background: var(--groen);
	color: var(--hvid);
}
.knap-groen:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce #respond input#submit:hover,
.wc-block-components-button:not(.is-link):hover { background: var(--groen-moerk); color: var(--hvid); }
.woocommerce button.button.alt.disabled,
.woocommerce button.button.alt.disabled:hover,
.woocommerce button.button:disabled { background: #9db3a6; color: var(--hvid); opacity: 1; cursor: not-allowed; }
.knap-hvid { background: var(--hvid); color: var(--tekst); border-color: var(--tekst); }
.knap-hvid:hover { background: var(--creme); color: var(--tekst); }
.knap-stor { min-height: 52px; padding: 13px 26px; font-size: 1.06rem; }
.knap-lille { min-height: 40px; padding: 8px 14px; font-size: .9rem; }

.pil-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.pil-link span { text-decoration: underline; text-underline-offset: 4px; }
.pil-link .ikon { transition: transform .15s; }
.pil-link:hover .ikon { transform: translateX(3px); }

/* ---------- Topbjælke ---------- */

.topbar { background: var(--groen); color: var(--hvid); font-size: .92rem; font-weight: 600; }
.topbar ul { list-style: none; margin: 0; padding: 9px 0; display: flex; justify-content: space-between; gap: 20px; }
.topbar li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
@media (max-width: 1000px) { .topbar li:nth-child(n+3) { display: none; } .topbar ul { justify-content: space-around; } }
@media (max-width: 560px) { .topbar li:nth-child(n+2) { display: none; } .topbar ul { justify-content: center; } .topbar { font-size: .85rem; } }

/* ---------- Header ---------- */

.header { background: var(--hvid); border-bottom: 1px solid var(--kant); position: sticky; top: 0; z-index: 50; }
.header-indre { display: flex; align-items: center; gap: 28px; min-height: 80px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--groen); flex: none; }
.logo-billede { max-height: 52px; width: auto; }
.logo-tekst { display: flex; flex-direction: column; line-height: 1.1; }
.logo-navn { font-size: 1.62rem; font-weight: 800; letter-spacing: -.02em; color: var(--tekst); }
.logo-navn span { color: var(--groen); }
.logo-under { font-size: .86rem; font-weight: 500; color: var(--tekst); margin-top: 3px; }

.hovednav { flex: 1; display: flex; justify-content: center; }
.hovednav ul { list-style: none; margin: 0; padding: 0; }
.hovednav > ul { display: flex; gap: 6px; }
.hovednav li { position: relative; }
.hovednav a { display: flex; align-items: center; gap: 6px; padding: 10px 14px; color: var(--tekst); font-weight: 600; text-decoration: none; border-radius: 8px; white-space: nowrap; }
.hovednav a:hover, .hovednav .current-menu-item > a { color: var(--groen); background: var(--creme); }
.hovednav .menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 4px; }
.hovednav .sub-menu { position: absolute; top: 100%; left: 0; min-width: 240px; background: var(--hvid); border: 1px solid var(--kant); border-radius: var(--radius-lille); box-shadow: var(--skygge-hover); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; z-index: 60; }
.hovednav li:hover > .sub-menu, .hovednav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.hovednav .sub-menu a { padding: 10px 12px; }

.header-ikoner { display: flex; align-items: center; gap: 6px; flex: none; }
.ikon-knap { display: inline-flex; align-items: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 8px; justify-content: center; background: none; border: 0; border-radius: 8px; color: var(--tekst); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; position: relative; }
.ikon-knap:hover { background: var(--creme); color: var(--groen); }
.kurv-antal { position: absolute; top: 0; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--groen); color: var(--hvid); font-size: .72rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.menu-knap { display: none; min-width: 44px; min-height: 44px; background: none; border: 0; color: var(--tekst); cursor: pointer; border-radius: 8px; }

.soegefelt { border-top: 1px solid var(--kant); background: var(--creme); padding: 14px 0; }
.soegefelt form { display: flex; gap: 10px; }
.soegefelt input[type="search"] { flex: 1; }

input[type="search"], input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], select, textarea {
	font: inherit; color: var(--tekst); background: var(--hvid); border: 1.5px solid #c9d1c9; border-radius: var(--radius-lille); min-height: 44px; padding: 9px 12px; max-width: 100%;
}
input:focus, select:focus, textarea:focus { border-color: var(--groen); outline: 3px solid rgba(7, 90, 50, .18); outline-offset: 0; }

@media (max-width: 1140px) {
	.logo-under { display: none; }
	.konto-tekst { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
	.header-indre { gap: 12px; }
	.hovednav a { padding: 10px 10px; }
}
@media (max-width: 920px) {
	.menu-knap { display: inline-flex; align-items: center; justify-content: center; }
	.header-indre { min-height: 64px; gap: 6px; }
	.logo { flex: 1; min-width: 0; }
	.logo-cykel { width: 46px; height: auto; }
	.logo-navn { font-size: 1.12rem; }
	.hovednav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--hvid); border-bottom: 1px solid var(--kant); box-shadow: var(--skygge-hover); padding: 8px 16px 16px; max-height: calc(100vh - 110px); overflow: auto; }
	.hovednav.aaben { display: block; }
	.hovednav > ul { flex-direction: column; gap: 0; }
	.hovednav a { padding: 14px 6px; font-size: 1.05rem; border-bottom: 1px solid var(--kant); border-radius: 0; white-space: normal; }
	.hovednav .menu-item-has-children > a::after { display: none; }
	.hovednav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 0 16px; }
	.hovednav .sub-menu a { font-weight: 500; font-size: 1rem; }
}
@media (max-width: 480px) {
	.logo-cykel { display: none; }
	.logo { overflow: hidden; }
	.logo-navn { font-size: .98rem; letter-spacing: -.03em; white-space: nowrap; }
	.header-indre { gap: 2px; }
	.ikon-knap { min-width: 40px; padding: 6px; }
	.menu-knap { min-width: 40px; margin-left: -8px; }
}

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

.hero { position: relative; background: linear-gradient(100deg, #f3f7f0 0%, #e9f1e6 55%, #dfeadb 100%); overflow: hidden; }
.hero-billede { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .86) 32%, rgba(255, 255, 255, 0) 62%); }
.hero-indre { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 24px; min-height: 420px; padding-top: 40px; padding-bottom: 44px; }
.overlinje { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; color: var(--groen); font-weight: 800; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; }
.overlinje::before { content: ""; width: 28px; height: 2px; background: var(--groen); }
.hero h1 { max-width: 11em; margin-bottom: 16px; }
.hero-under { font-size: 1.22rem; max-width: 26em; margin-bottom: 26px; color: #2a322d; }
.hero-knapper { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-side { position: relative; align-self: stretch; display: flex; align-items: center; justify-content: center; min-height: 300px; }
.hero-produkt .hero-indre { z-index: auto; }
.hero-cykel { display: block; width: min(100%, 560px); }
.hero-cykel img { width: 100%; height: auto; mix-blend-mode: multiply; }
.prisbadge { position: absolute; top: 6px; right: 0; width: 172px; height: 172px; border-radius: 50%; background: var(--groen); color: var(--hvid); text-decoration: none; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; line-height: 1.12; font-weight: 700; font-size: 1.02rem; transform: rotate(-8deg); box-shadow: 0 0 0 3px var(--hvid), 0 10px 26px rgba(7, 90, 50, .28); transition: transform .2s; }
.prisbadge:hover { color: var(--hvid); transform: rotate(-8deg) scale(1.04); }
.prisbadge strong { font-size: 1.55rem; font-weight: 800; margin-top: 3px; letter-spacing: -.02em; white-space: nowrap; }
@media (max-width: 900px) {
	.hero-indre { grid-template-columns: 1fr; min-height: 0; padding-top: 30px; padding-bottom: 30px; }
	.hero-side { min-height: 0; margin-top: 4px; }
	.hero-foto .hero-side { justify-content: flex-start; }
	.hero-foto::after { background: rgba(255, 255, 255, .84); }
	.hero-foto .prisbadge { position: static; }
	.prisbadge { width: 132px; height: 132px; font-size: .84rem; }
	.prisbadge strong { font-size: 1.2rem; }
	.hero-under { font-size: 1.08rem; }
	.hero-knapper .knap { flex: 1 1 100%; }
}

/* ---------- Fordele ---------- */

.fordele { padding: 22px 0; border-bottom: 1px solid var(--kant); }
.fordele ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.fordele li { display: flex; align-items: center; gap: 16px; padding: 4px 24px; border-left: 1px solid var(--kant); }
.fordele li:first-child { border-left: 0; padding-left: 0; }
.fordele .ikon { color: var(--groen); }
.fordele strong { display: block; font-weight: 700; line-height: 1.25; }
.fordele span { display: block; color: #2f3832; font-size: .96rem; }
@media (max-width: 1000px) { .fordele ul { grid-template-columns: repeat(2, 1fr); gap: 18px 0; } .fordele li:nth-child(odd) { border-left: 0; padding-left: 0; } }
@media (max-width: 560px) { .fordele ul { grid-template-columns: 1fr; gap: 14px; } .fordele li { border-left: 0; padding-left: 0; } .fordele .ikon { width: 32px; height: 32px; } }

/* ---------- Sektioner ---------- */

.sektion { padding: 44px 0; }
.sektion-hoved { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.sektion-hoved h2 { margin: 0; }

/* ---------- Produktkort ---------- */

ul.products, .kort-gitter { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
ul.products::before, ul.products::after { display: none !important; }
ul.products.kort-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1100px) { ul.products, .kort-gitter, ul.products.kort-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { ul.products, .kort-gitter, ul.products.kort-4 { grid-template-columns: 1fr; } }

.woocommerce ul.products li.product, .woocommerce-page ul.products li.product, li.kort { float: none !important; width: auto !important; margin: 0 !important; padding: 0; position: relative; display: flex; flex-direction: column; background: var(--hvid); border: 1px solid var(--kant); border-radius: var(--radius); box-shadow: var(--skygge); overflow: hidden; transition: box-shadow .2s, transform .2s; }
li.kort:hover { box-shadow: var(--skygge-hover); transform: translateY(-2px); }
.kort-billede { display: block; background: var(--hvid); aspect-ratio: 4 / 3; padding: 14px 18px 0; }
.woocommerce ul.products li.product .kort-billede img, .kort-billede img { width: 100%; height: 100%; object-fit: contain; margin: 0; }
.maerkat { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 4px 11px; border-radius: 7px; font-size: .82rem; font-weight: 700; }
.maerkat-groen { background: #2f8a3c; color: var(--hvid); }
.maerkat-lys { background: var(--groen-lys); color: var(--tekst); }
.kort-krop { display: flex; flex-direction: column; flex: 1; padding: 6px 18px 18px; }
.woocommerce ul.products li.product .kort-navn, .kort-navn { font-size: 1.28rem; font-weight: 800; margin: 0 0 2px; padding: 0; }
.kort-navn a { color: var(--tekst); text-decoration: none; }
.kort-navn a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.kort-tekst { font-size: .92rem; margin: 0 0 12px; color: #252c27; }
.kort-specs { list-style: none; margin: 0 0 14px; padding: 0; font-size: .9rem; font-weight: 600; display: grid; gap: 5px; }
.kort-specs li { display: flex; align-items: center; gap: 10px; }
.kort-bund { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.kort-pris { color: var(--groen); font-size: 1.65rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; white-space: nowrap; }
.pris-fra { font-size: .9rem; font-weight: 600; }
.kort-bund .knap { position: relative; z-index: 2; }

/* ---------- Rådgivning ---------- */

.raadgivning { padding: 8px 0 12px; }
.raad-boks { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; background: var(--groen-lys); border-radius: var(--radius); padding: 22px 28px; }
.raad-intro { display: flex; align-items: center; gap: 18px; flex: 1 1 340px; }
.raad-ikon { flex: none; width: 68px; height: 68px; border-radius: 50%; background: var(--hvid); color: var(--groen); display: flex; align-items: center; justify-content: center; }
.raad-boks h2 { font-size: 1.3rem; margin: 0 0 4px; }
.raad-boks p { margin: 0; max-width: 24em; }
.raad-kanal { display: flex; align-items: center; gap: 14px; color: var(--tekst); text-decoration: none; padding-right: 28px; border-right: 1px solid #c4d6c6; }
.raad-kanal .ikon { color: var(--groen); }
.raad-kanal span { display: flex; flex-direction: column; line-height: 1.3; }
.raad-kanal strong { font-weight: 800; }
@media (max-width: 760px) { .raad-kanal { border-right: 0; padding-right: 0; flex: 1 1 100%; } .raad-boks .knap { flex: 1 1 100%; } .raad-boks { padding: 20px; gap: 18px; } }

/* ---------- Købsguide ---------- */

.guide { background: var(--creme); margin-top: 32px; }
.guide-trin { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: trin; }
.guide-trin li { background: var(--hvid); border: 1px solid var(--kant); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.guide-ikon { width: 56px; height: 56px; border-radius: 50%; background: var(--groen-lys); color: var(--groen); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.guide-trin h2, .guide-trin h3 { font-size: 1.2rem; margin-bottom: 8px; }
.guide-trin p { margin-bottom: 14px; color: #2a322d; }
.guide-links { margin: auto 0 0 !important; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.guide-intro { font-size: 1.15rem; margin: 0; }
.indhold .guide { margin: 0 0 24px; padding: 0; background: none; }
.indhold .guide .wrap, .indhold .faq .wrap { padding: 0; max-width: none; }
.indhold .faq { padding: 12px 0 0; }
@media (max-width: 900px) { .guide-trin { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */

.faq h2 { margin-bottom: 18px; }
.faq details { border-bottom: 1px solid var(--kant); }
.faq details:first-of-type { border-top: 1px solid var(--kant); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 2px; font-weight: 700; font-size: 1.08rem; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ikon { color: var(--groen); transition: transform .2s; }
.faq details[open] summary .ikon { transform: rotate(180deg); }
.faq details p { padding: 0 2px 18px; margin: 0; max-width: 46em; color: #2a322d; }

/* ---------- Footer ---------- */

.footer { background: var(--groen); color: #e3efe6; margin-top: 56px; }
.footer a { color: var(--hvid); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-gitter { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding-top: 48px; padding-bottom: 40px; }
.footer h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--hvid); margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-om p { margin-top: 14px; max-width: 26em; }
.logo-lys, .logo-lys .logo-navn, .logo-lys .logo-navn span { color: var(--hvid); }
.logo-lys .logo-cykel circle[fill] { fill: var(--groen); }
.footer-bund { border-top: 1px solid rgba(255, 255, 255, .18); padding: 16px 0; font-size: .9rem; }
.footer-bund .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bund p { margin: 0; }
@media (max-width: 900px) { .footer-gitter { grid-template-columns: 1fr 1fr; } .footer-om { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-gitter { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- Almindelige sider ---------- */

.side { padding: 28px 0 8px; }
.side h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: .6em; }
.indhold { font-size: 1.05rem; }
.indhold h2 { margin-top: 1.4em; }
.kontakt-boks dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 18px 0; }
.kontakt-boks dt { font-weight: 700; }
.kontakt-boks dd { margin: 0; }
.admin-note { background: #fff7e0; border: 1px solid #ecd58a; border-radius: var(--radius-lille); padding: 12px 14px; }

/* ---------- Butik ---------- */

.sti { font-size: .9rem; color: var(--daempet); margin-bottom: 14px; }
.sti a { color: var(--daempet); }
.sti-skil { margin: 0 8px; }
.woocommerce-products-header { margin-bottom: 18px; }
.woocommerce-products-header .term-description { max-width: 46em; color: #2a322d; }
.butik-filter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; background: var(--creme); border: 1px solid var(--kant); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; }
.butik-filter .felt { display: flex; flex-direction: column; gap: 4px; flex: 1 1 150px; min-width: 0; }
.butik-filter .felt-soeg { flex: 2 1 220px; }
.butik-filter .felt-knap { flex: 0 0 auto; flex-direction: row; align-items: center; gap: 14px; }
.butik-filter label { font-size: .82rem; font-weight: 700; }
.butik-filter select, .butik-filter input { width: 100%; }
.butik-antal { color: var(--daempet); font-size: .92rem; margin-bottom: 16px; }
.butik-antal .woocommerce-result-count { float: none; margin: 0; }
.nulstil { font-weight: 600; }
.woocommerce-info, .woocommerce-message, .woocommerce-error, .woocommerce-no-products-found .woocommerce-info { border-radius: var(--radius-lille); }
.woocommerce nav.woocommerce-pagination { margin-top: 28px; }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; justify-content: center; gap: 6px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--kant); border-radius: 8px; color: var(--tekst); font-weight: 700; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--groen); color: var(--hvid); border-color: var(--groen); }

/* ---------- Produktside ---------- */

/* Galleriet må aldrig blive usynligt, hvis et billede eller script er langsomt. */
.woocommerce div.product div.images.woocommerce-product-gallery { opacity: 1 !important; }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger { z-index: 5; }

.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px 48px; align-items: start; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { float: none; width: auto; margin: 0; }
.woocommerce div.product > .woocommerce-tabs, .woocommerce div.product > .related, .woocommerce div.product > .upsells, .woocommerce div.product > section { grid-column: 1 / -1; }
.woocommerce div.product div.images.woocommerce-product-gallery { position: sticky; top: 100px; }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { border: 1px solid var(--kant); border-radius: var(--radius); overflow: hidden; background: var(--hvid); }
.woocommerce div.product div.images .flex-viewport { border: 1px solid var(--kant); border-radius: var(--radius); background: var(--hvid); }
.woocommerce div.product div.images .flex-viewport .woocommerce-product-gallery__wrapper { border: 0; border-radius: 0; }
.woocommerce div.product div.images img { object-fit: contain; aspect-ratio: 4 / 3; background: var(--hvid); }
.woocommerce div.product div.images .flex-control-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 10px; padding: 0; }
.woocommerce div.product div.images .flex-control-thumbs li { width: auto; float: none; list-style: none; }
.woocommerce div.product div.images .flex-control-thumbs img { border: 1px solid var(--kant); border-radius: 8px; aspect-ratio: 1; object-fit: contain; opacity: .7; cursor: pointer; }
.woocommerce div.product div.images .flex-control-thumbs img.flex-active, .woocommerce div.product div.images .flex-control-thumbs img:hover { opacity: 1; border-color: var(--groen); }
.woocommerce div.product .product_title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 6px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--groen); font-size: 2rem; font-weight: 800; letter-spacing: -.02em; margin: 0 0 10px; }
.woocommerce div.product p.price small { font-size: .9rem; font-weight: 600; color: var(--daempet); letter-spacing: 0; }
.woocommerce div.product .woocommerce-product-details__short-description { font-size: 1.1rem; margin-bottom: 14px; }
.woocommerce div.product .summary .kort-specs { font-size: 1rem; background: var(--creme); border-radius: var(--radius-lille); padding: 14px 16px; margin-bottom: 18px; gap: 8px; }
.woocommerce div.product .summary .kort-specs .ikon { color: var(--groen); }
.woocommerce div.product p.stock { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1rem; margin-bottom: 14px; }
.woocommerce div.product p.stock::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.woocommerce div.product p.stock.in-stock { color: #1c7a3c; }
.woocommerce div.product p.stock.out-of-stock { color: #b3261e; }
.woocommerce div.product p.stock.available-on-backorder { color: #8a5a00; }
.woocommerce div.product form.cart { margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.woocommerce div.product form.cart.variations_form { display: block; }
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart { display: flex; gap: 10px; flex-wrap: wrap; }
.woocommerce div.product form.cart div.quantity { float: none; margin: 0; }
.woocommerce div.product form.cart .quantity .qty { width: 76px; min-height: 56px; text-align: center; font-weight: 700; font-size: 1.05rem; }
.woocommerce div.product form.cart .button { float: none; flex: 1 1 220px; min-height: 56px; font-size: 1.12rem; }
.woocommerce div.product form.cart .variations { margin: 0 0 12px; border: 0; }
.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { display: block; padding: 0; text-align: left; line-height: 1.4; }
.woocommerce div.product form.cart .variations label { font-weight: 700; display: block; margin-bottom: 4px; }
.woocommerce div.product form.cart .variations select { width: 100%; max-width: 340px; min-height: 48px; margin: 0; }
.woocommerce div.product form.cart .reset_variations { display: inline-block; margin-top: 6px; font-size: .9rem; }
.woocommerce div.product .woocommerce-variation-price { margin-bottom: 8px; }
.produkt-tryghed { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--kant); display: grid; gap: 12px; font-size: .96rem; }
.produkt-tryghed li { display: flex; gap: 12px; align-items: flex-start; }
.produkt-tryghed .ikon { color: var(--groen); margin-top: 2px; }
.produkt-tryghed strong { display: block; }

.woocommerce div.product .woocommerce-tabs { margin-top: 28px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 2px solid var(--kant); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs::after, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none; border: 0; border-radius: 0; margin: 0 0 -2px; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { display: block; padding: 13px 18px; font-weight: 700; color: var(--daempet); border-bottom: 3px solid transparent; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--groen); border-bottom-color: var(--groen); }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 860px; margin: 0; }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { font-size: 1.4rem; }
.woocommerce table.shop_attributes { border: 0; border-collapse: collapse; width: 100%; }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { border: 0; border-bottom: 1px solid var(--kant); padding: 12px 14px; text-align: left; font-style: normal; background: none !important; vertical-align: top; }
.woocommerce table.shop_attributes th { width: 40%; font-weight: 700; }
.woocommerce table.shop_attributes tr:nth-child(odd) th, .woocommerce table.shop_attributes tr:nth-child(odd) td { background: var(--creme) !important; }
.woocommerce table.shop_attributes td p { margin: 0; padding: 0; }
.woocommerce div.product .related, .woocommerce div.product .upsells { margin-top: 40px; }
.woocommerce div.product .related > h2, .woocommerce div.product .upsells > h2 { margin-bottom: 18px; }

@media (max-width: 900px) {
	.woocommerce div.product { grid-template-columns: 1fr; }
	.woocommerce div.product div.images.woocommerce-product-gallery { position: relative; top: 0; }
	.woocommerce table.shop_attributes th { width: 44%; }
}

/* ---------- Kurv, checkout, konto ---------- */

.woocommerce-cart .side h1, .woocommerce-checkout .side h1, .woocommerce-account .side h1 { margin-bottom: 20px; }
.woocommerce-cart .wrap-smal, .woocommerce-checkout .wrap-smal, .woocommerce-account .wrap-smal { max-width: 1180px; }
.wc-block-components-button:not(.is-link) { width: 100%; min-height: 54px; font-size: 1.08rem; }
.wc-block-cart__submit-container a, .wc-block-components-checkout-place-order-button { border-radius: var(--radius-lille); }
.woocommerce table.shop_table { border-radius: var(--radius-lille); border-color: var(--kant); }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border: 1px solid var(--kant); border-radius: 8px; text-decoration: none; font-weight: 600; color: var(--tekst); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--groen); border-color: var(--groen); color: var(--hvid); }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { float: none; width: auto; }
.tom-butik { margin-top: 14px; }
