/* Mighty Page Builder – blokke på shoppen. Bruger themets farver (--color-*) hvor de findes. */
.mpb-page { --mpb-accent: var(--color-primary, #1f6feb); --mpb-line: var(--color-line, #e5e5e5); --mpb-soft: var(--color-soft, var(--color-primary-soft, #f4f4f5)); --mpb-radius: var(--radius, 10px); }
.mpb-zone { --mpb-accent: var(--color-primary, #1f6feb); --mpb-line: var(--color-line, #e5e5e5); --mpb-soft: var(--color-soft, var(--color-primary-soft, #f4f4f5)); --mpb-radius: var(--radius, 10px); }
.mpb-list { display: flow-root; }
.mpb-block { position: relative; }
.mpb-block > .mpb-wrap { }
.mpb-narrow { max-width: 780px; margin-inline: auto; }
.mpb-page > .mpb-list > .mpb-block:first-child.mpb-full { margin-top: 0; }
.mpb-has-bg { background: var(--mpb-bg); }
.mpb-has-fg, .mpb-has-fg :is(h1, h2, h3, h4, p, li, a:not(.btn), figcaption, strong, span) { color: var(--mpb-fg); }

/* Luft */
.mpb-pt-none { padding-top: 0; } .mpb-pt-s { padding-top: 12px; } .mpb-pt-m { padding-top: 24px; } .mpb-pt-l { padding-top: 48px; } .mpb-pt-xl { padding-top: 80px; }
.mpb-pb-none { padding-bottom: 0; } .mpb-pb-s { padding-bottom: 12px; } .mpb-pb-m { padding-bottom: 24px; } .mpb-pb-l { padding-bottom: 48px; } .mpb-pb-xl { padding-bottom: 80px; }
.mpb-list-nested > .mpb-block.mpb-pt-m { padding-top: 10px; } .mpb-list-nested > .mpb-block.mpb-pb-m { padding-bottom: 10px; }
.mpb-full.mpb-b-hero, .mpb-full.mpb-b-image { padding-top: 0; padding-bottom: 0; }
.mpb-zone-top .mpb-block { padding-top: 0; padding-bottom: 0; }

@media (max-width: 760px) { .mpb-hide-mobile { display: none !important; } }
@media (min-width: 761px) { .mpb-hide-desktop { display: none !important; } }

.mpb-align-left { text-align: left; } .mpb-align-center { text-align: center; } .mpb-align-right { text-align: right; }

/* Tekst */
.mpb-heading { margin: 0; }
.mpb-text { margin: 0; }
.mpb-text > :first-child { margin-top: 0; } .mpb-text > :last-child { margin-bottom: 0; }
.mpb-size-small { font-size: .9em; } .mpb-size-large { font-size: 1.15em; } .mpb-size-lead { font-size: 1.35em; line-height: 1.5; }
.mpb-text img { max-width: 100%; height: auto; }

/* Billede */
.mpb-image { margin: 0; }
.mpb-image img { display: block; width: 100%; height: auto; }
.mpb-crop { object-fit: cover; }
.mpb-image.mpb-size-small { width: min(100%, 33.333%); } .mpb-image.mpb-size-medium { width: min(100%, 50%); } .mpb-image.mpb-size-large { width: min(100%, 75%); }
.mpb-image.mpb-align-center { margin-inline: auto; } .mpb-image.mpb-align-right { margin-left: auto; }
@media (max-width: 760px) { .mpb-image.mpb-size-small, .mpb-image.mpb-size-medium { width: 100%; } }
.mpb-rounded img { border-radius: var(--mpb-radius); }
.mpb-image figcaption, .mpb-video-wrap figcaption { margin-top: 8px; font-size: .88em; opacity: .7; text-align: center; }
.mpb-full .mpb-image figcaption { padding-inline: 16px; }

/* Galleri */
.mpb-gallery { display: grid; grid-template-columns: repeat(var(--mpb-cols, 3), minmax(0, 1fr)); }
.mpb-gallery figure { margin: 0; }
.mpb-gallery img { display: block; width: 100%; height: auto; border-radius: calc(var(--mpb-radius) * .6); }
.mpb-gap-none { gap: 0; } .mpb-gap-none img { border-radius: 0; } .mpb-gap-s { gap: 6px; } .mpb-gap-m { gap: 14px; } .mpb-gap-l { gap: 28px; }
@media (max-width: 760px) { .mpb-gallery { grid-template-columns: repeat(min(var(--mpb-cols, 3), 2), minmax(0, 1fr)); } }

/* Knap */
.mpb-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.mpb-buttons.mpb-align-center { justify-content: center; } .mpb-buttons.mpb-align-right { justify-content: flex-end; }
.mpb-btn-ghost { text-decoration: underline; text-underline-offset: 3px; }

/* Banner */
.mpb-hero { position: relative; overflow: hidden; display: flex; align-items: center; background: var(--color-dark, #1c1c1e); color: #fff; border-radius: var(--mpb-radius); isolation: isolate; }
.mpb-full .mpb-hero { border-radius: 0; }
.mpb-hero.mpb-tone-dark { background: var(--mpb-soft); color: var(--color-heading, var(--color-text, #111)); }
.mpb-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.mpb-hero-shade { position: absolute; inset: 0; background: #000; z-index: -1; pointer-events: none; }
.mpb-tone-dark .mpb-hero-shade { background: #fff; }
.mpb-h-small { min-height: 260px; } .mpb-h-medium { min-height: 420px; } .mpb-h-large { min-height: 600px; } .mpb-h-screen { min-height: calc(100vh - 80px); }
.mpb-hero-body { width: 100%; padding-block: 48px; }
.mpb-hero:not(.mpb-full .mpb-hero) .mpb-hero-body { padding-inline: clamp(24px, 5vw, 64px); }
.mpb-hero-copy { max-width: 640px; }
.mpb-hero.mpb-align-center .mpb-hero-copy { margin-inline: auto; } .mpb-hero.mpb-align-right .mpb-hero-copy { margin-left: auto; }
.mpb-hero-title { margin: 0 0 14px; font-size: clamp(30px, 5vw, 56px); line-height: 1.08; color: inherit; }
.mpb-hero-text { margin: 0 0 24px; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.5; opacity: .92; color: inherit; }
.mpb-hero .mpb-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.mpb-hero.mpb-align-center .mpb-hero-actions { justify-content: center; } .mpb-hero.mpb-align-right .mpb-hero-actions { justify-content: flex-end; }
.mpb-hero.mpb-tone-light :is(h1, p) { color: #fff; }

/* Billede + tekst */
.mpb-mt { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.mpb-mt.mpb-valign-start { align-items: start; } .mpb-mt.mpb-valign-end { align-items: end; }
.mpb-mt-right .mpb-mt-media { order: 2; }
.mpb-mt-media img { display: block; width: 100%; height: auto; border-radius: var(--mpb-radius); }
.mpb-mt-body h2 { margin-top: 0; }
.mpb-mt-actions { margin: 20px 0 0; }
@media (max-width: 760px) { .mpb-mt { grid-template-columns: 1fr; } .mpb-mt-right .mpb-mt-media { order: 0; } }

/* Kolonner */
.mpb-cols { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); }
.mpb-cols-1 { --n: 1; } .mpb-cols-2 { --n: 2; } .mpb-cols-3 { --n: 3; } .mpb-cols-4 { --n: 4; }
.mpb-cols-2.mpb-ratio-2-1 { grid-template-columns: 2fr 1fr; } .mpb-cols-2.mpb-ratio-1-2 { grid-template-columns: 1fr 2fr; }
.mpb-cols.mpb-gap-s { gap: 12px; } .mpb-cols.mpb-gap-m { gap: 28px; } .mpb-cols.mpb-gap-l { gap: 56px; }
.mpb-cols.mpb-valign-center { align-items: center; } .mpb-cols.mpb-valign-end { align-items: end; }
.mpb-col { min-width: 0; }
.mpb-col > .mpb-block:first-child, .mpb-col > .mpb-list > .mpb-block:first-child { padding-top: 0; }
@media (max-width: 900px) { .mpb-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .mpb-cols, .mpb-cols-2.mpb-ratio-2-1, .mpb-cols-2.mpb-ratio-1-2 { grid-template-columns: 1fr; } }

/* Produkter og kategorier */
.mpb-section-head h2 { margin: 0; }
.mpb-section-head { margin-bottom: 20px; }
.mpb-products .product-grid { grid-template-columns: repeat(var(--mpb-cols, 4), minmax(0, 1fr)); }
@media (max-width: 1000px) { .mpb-products .product-grid { grid-template-columns: repeat(min(var(--mpb-cols, 4), 3), minmax(0, 1fr)); } }
@media (max-width: 760px) { .mpb-products .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mpb-products .product-grid:not(.product-grid *) { display: grid; gap: 28px 20px; }
.mpb-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; }
.mpb-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--mpb-radius); }
.mpb-card-price { font-weight: 600; }

.mpb-cat-grid { display: grid; grid-template-columns: repeat(var(--mpb-cols, 4), minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .mpb-cat-grid { grid-template-columns: repeat(min(var(--mpb-cols, 4), 3), minmax(0, 1fr)); } }
@media (max-width: 560px) { .mpb-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.mpb-cat { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit; }
.mpb-cat-media { display: block; aspect-ratio: 4 / 3; border-radius: var(--mpb-radius); overflow: hidden; background: var(--mpb-soft); }
.mpb-cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.mpb-cat:hover .mpb-cat-media img { transform: scale(1.04); }
.mpb-cat-name { margin-top: 6px; font-weight: 600; }
.mpb-cat-count { font-size: .85em; opacity: .65; }

/* Fordele */
.mpb-usp { display: grid; grid-template-columns: repeat(min(var(--mpb-cols, 3), 4), minmax(0, 1fr)); gap: 20px; }
@media (max-width: 760px) { .mpb-usp { grid-template-columns: 1fr; gap: 14px; } }
.mpb-usp-item { display: flex; flex-direction: column; gap: 4px; }
.mpb-usp.mpb-align-center .mpb-usp-item { align-items: center; text-align: center; }
.mpb-usp-boxed .mpb-usp-item { padding: 22px 20px; background: var(--mpb-soft); border-radius: var(--mpb-radius); }
.mpb-usp-icon { color: var(--mpb-accent); margin-bottom: 4px; }
.mpb-usp-text { opacity: .75; font-size: .92em; }

/* Spørgsmål og svar */
.mpb-faq { border-top: 1px solid var(--mpb-line); }
.mpb-faq-item { border-bottom: 1px solid var(--mpb-line); }
.mpb-faq-q { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 600; cursor: pointer; list-style: none; }
.mpb-faq-q::-webkit-details-marker { display: none; }
.mpb-faq-q::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s; opacity: .6; }
details[open] > .mpb-faq-q::after, .mpb-faq-item.is-open > .mpb-faq-q::after { transform: rotate(225deg); }
.mpb-faq-a { padding: 0 0 18px; }
.mpb-faq-a > :first-child { margin-top: 0; } .mpb-faq-a > :last-child { margin-bottom: 0; }

/* Video, afstand, html */
.mpb-video-wrap { margin: 0; }
.mpb-video { position: relative; width: 100%; border-radius: var(--mpb-radius); overflow: hidden; background: #000; }
.mpb-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mpb-spacer { display: flex; align-items: center; }
.mpb-spacer hr { width: 100%; border: 0; border-top: 1px solid var(--mpb-line); margin: 0; }
.mpb-b-spacer { padding-top: 0; padding-bottom: 0; }
.mpb-note { padding: 18px; border: 1px dashed var(--mpb-line); border-radius: var(--mpb-radius); font-size: 14px; opacity: .8; }
.mpb-note-error { border-color: #d33; color: #b00; }

/* Lysboks til galleri */
.mpb-lightbox { position: fixed; inset: 0; z-index: 9990; background: rgba(10, 10, 12, .92); display: flex; align-items: center; justify-content: center; padding: 40px; }
.mpb-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.mpb-lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 50%; font-size: 22px; cursor: pointer; }
.mpb-lightbox button:hover { background: rgba(255,255,255,.24); }
.mpb-lb-close { top: 16px; right: 16px; } .mpb-lb-prev { left: 16px; top: 50%; translate: 0 -50%; } .mpb-lb-next { right: 16px; top: 50%; translate: 0 -50%; }

/* Citat */
.mpb-quote { margin: 0; max-width: 720px; }
.mpb-quote.mpb-align-center { margin-inline: auto; text-align: center; } .mpb-quote.mpb-align-right { margin-left: auto; text-align: right; }
.mpb-quote blockquote { margin: 0; padding: 0; border: 0; }
.mpb-quote blockquote p { margin: 0 0 14px; font-size: clamp(19px, 2.2vw, 26px); line-height: 1.45; font-style: italic; }
.mpb-quote figcaption { font-size: .95em; opacity: .85; } .mpb-quote figcaption span { opacity: .75; } .mpb-quote figcaption span::before { content: "· "; }
.mpb-quote-line blockquote { border-left: 4px solid var(--color-primary, #888); padding-left: 20px; }
.mpb-quote-line.mpb-align-center blockquote, .mpb-quote-line.mpb-align-right blockquote { border-left: 0; padding-left: 0; border-top: 4px solid var(--color-primary, #888); padding-top: 16px; }
.mpb-quote-quotes blockquote::before { content: "\201C"; display: block; font-size: 72px; line-height: .7; color: var(--color-primary, #888); font-style: normal; margin-bottom: 8px; }
.mpb-quote-card { padding: 28px 30px; border-radius: var(--mpb-radius, 12px); background: var(--mpb-soft, #f4f4f5); }
/* Opfordring */
.mpb-cta { padding: clamp(28px, 5vw, 56px) clamp(20px, 5vw, 56px); border-radius: var(--mpb-radius, 12px); }
.mpb-full .mpb-cta { border-radius: 0; }
.mpb-cta-brand { background: var(--color-primary, #2b6cb0); color: #fff; } .mpb-cta-dark { background: var(--color-dark, #1c1c1e); color: #fff; } .mpb-cta-soft { background: var(--mpb-soft, #f4f4f5); }
.mpb-cta :is(h2, p) { color: inherit; }
.mpb-cta-title { margin: 0 0 10px; font-size: clamp(24px, 3.6vw, 40px); line-height: 1.15; }
.mpb-cta-text { margin: 0 auto 24px; max-width: 640px; font-size: clamp(16px, 1.5vw, 19px); opacity: .92; } .mpb-cta.mpb-align-left .mpb-cta-text { margin-left: 0; }
.mpb-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; } .mpb-cta.mpb-align-center .mpb-cta-actions { justify-content: center; }
.mpb-cta-brand .btn-primary { background: #fff; color: var(--color-primary, #2b6cb0); border-color: #fff; }
.mpb-cta-brand .btn-secondary, .mpb-cta-dark .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
/* Fælles udseende */
.mpb-rd-s { border-radius: 6px; } .mpb-rd-m { border-radius: 12px; } .mpb-rd-l { border-radius: 24px; }
.mpb-bd-thin { border: 1px solid rgba(0,0,0,.14); } .mpb-bd-thick { border: 3px solid var(--color-primary, #444); }
.mpb-sh-s { box-shadow: 0 2px 10px rgba(0,0,0,.08); } .mpb-sh-m { box-shadow: 0 10px 34px rgba(0,0,0,.16); }
.mpb-rd-s, .mpb-rd-m, .mpb-rd-l, .mpb-bd-thin, .mpb-bd-thick, .mpb-sh-s, .mpb-sh-m { overflow: hidden; }
/* Tekst fra editoren */
.mpb-block blockquote { margin: 1em 0; padding: .2em 0 .2em 1.1em; border-left: 4px solid var(--color-primary, #888); font-style: italic; }
.mpb-block hr { border: 0; border-top: 1px solid rgba(0,0,0,.18); margin: 1.5em 0; }
.mpb-block mark { background: #fff3a3; padding: 0 .15em; border-radius: 2px; }

.mpb-block .prose img, .mpb-block [data-mpb-rich] img { max-width: 100%; height: auto; display: block; margin-inline: auto; border-radius: 6px; }
.mpb-block .prose p[style*="left"] img, .mpb-block [data-mpb-rich] p[style*="left"] img { margin-left: 0; } .mpb-block .prose p[style*="right"] img, .mpb-block [data-mpb-rich] p[style*="right"] img { margin-right: 0; margin-left: auto; }
