/* ==========================================
   01. CSS-VARIABLER
   ========================================== */

:root {
    --link-color: #424242;
    --border: 1px solid #dddddd;
    --notice-color: #cf2929;
}

/* ==========================================
   02. GLOBALE INDSTILLINGER OG FÆLLES KOMPONENTER
   ========================================== */

body {
    background-color: #ffffff;
    color: #000;
}

.uk-navbar-container.navbar-main .top-cart {
    background-color: #eeeeee;
    border: none;
    box-shadow: none;
}

/* Fjern skygger */
.category-navigation,
.cbx-border {
    box-shadow: none;
}

.category-navigation {
    color: #000;
    border: none;
}

.category-navigation .uk-nav>.uk-nav-header>a::before {
    content: "";
}

.category-navigation .uk-nav>li>a::before {
    content: ">";
}

.product-list-filter {
    flex-direction: column;
    align-items: flex-end;
}

.product-list-filter-list {
    display: none;
}

/* Læg i kurv */
.add-to-cart .add-to-cart-button {
    background-color: #30954f;
    transition: all 0.3s ease-in-out;
}

.add-to-cart .add-to-cart-button:hover {
    background-color: #23733b;
}

.footer-so-me-links .uk-icon-button:hover {
    color: #0078D4;
    border-color: #0078D4;
}

.catalog-box {
    transition: all 0.3s ease-in-out;
}

.catalog-box:hover {
    box-shadow: 0 0 12px rgba(0,0,0,0.25);
}

/* ==========================================
   03. HEADER, NAVIGATION OG TOPBAR
   ========================================== */

#main-navigation,
.mobile-navigation-items {
    background-color: #333333;
    color: #ffffff;
}

/* Topbar */
/* FTI søgefelt - desktop */
#header .navbar-main .global-search-overlay {
    width: 16vw !important;
    max-width: 100% !important;
}

#header .navbar-main .uk-button-group {
    width: 100%;
}

/* FTI logo - desktop */
#header .navbar-main .uk-logo img {
    width: 260px !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
}

/* FTI logo - mobil */
#header .mobile-header-top-row-logo-container img {
    width: 130px !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
}

/* Topbar baggrund og højde */
#header .top-navigation {
    height: 26px !important;
    min-height: 26px !important;
    padding: 0 !important;
    background: #a52d21 !important;
}

/* Indholdets bredde og placering */
#header .top-navigation > .uk-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    width: 100%;
    height: 26px !important;
    min-height: 26px !important;
    padding: 0 15px;
    margin: 0 auto;
    box-sizing: border-box;
}

#header .top-navigation-left {
    display: flex;
    align-items: center;
    height: 26px;
    font-size: 10px;
    font-weight: 400;
    white-space: nowrap;
}

#header .top-navigation-left a {
    text-decoration: none;
    font-size: 10px;
    line-height: 26px;
    color: #ffffff !important;
}

#header .top-navigation-left strong {
    font-weight: 400;
}

#header .top-navigation-right {
    display: flex;
    align-items: center;
    height: 26px;
}

/* Menupunkternes container */
#header .top-navigation-right .content-links {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

/* Menulinks */
#header .top-navigation-right .content-links a {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 9px;
    font-size: 10px;
    font-weight: 400;
    text-transform: none;
    text-decoration: none;
    line-height: 26px;
    color: #ffffff !important;
}

/* Fjern ekstra afstand på første menupunkt */
#header .top-navigation-right .content-links a:first-child {
    padding-left: 0;
}

/* Fjern ekstra afstand på sidste menupunkt */
#header .top-navigation-right .content-links a:last-child {
    padding-right: 0;
}

/* Effekt ved markør over elementet */
#header .top-navigation-right .content-links a:hover {
    color: #ffffff !important;
    opacity: 0.75;
}

/* ==========================================
   04. FORSIDE: BANNERE OG USP
   ========================================== */

/* Bannerlayout: klasserne sættes på de tre containere i Umbraco.
   fpfti-hero: fælles container, fpfti-hero-main: venstre, fpfti-hero-side: højre. */

/* Overskriver kun topmarginen på CMS-gridet med forsidens bannere. */
main > .umb-block-grid > .uk-grid:has(.fpfti-hero, .fpfti-hero-mobile) {
    margin-top: 20px !important;
}

/* !important erstatter bannersektionens inline-padding fra CMS'et. */
.fpfti-hero > .uk-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 12px;
    margin-left: 0;
    padding: 0 !important;
}

.fpfti-hero > .uk-grid > div {
    min-width: 0;
    width: auto;
    margin-top: 0;
    padding-left: 0;
}

/* Det ydre grid styrer afstanden; indlejrede UIkit-gutters nulstilles. */
.fpfti-hero-main > .uk-grid,
.fpfti-hero-side > .uk-grid {
    margin-left: 0;
}

.fpfti-hero-main > .uk-grid > div,
.fpfti-hero-side > .uk-grid > div {
    min-width: 0;
    min-height: 0;
    margin-top: 0;
    padding-left: 0;
}

/* UIkits hjælpelag må ikke optage felter i de to CSS-grids. */
.fpfti-hero > .uk-grid::before,
.fpfti-hero > .uk-grid::after,
.fpfti-hero-side > .uk-grid::before,
.fpfti-hero-side > .uk-grid::after {
    content: none;
}

.fpfti-hero .cbx-image a,
.fpfti-hero .cbx-image img {
    display: block;
}

.fpfti-hero .cbx-image img {
    width: 100%;
    height: auto;
}

/* Venstre billede bestemmer højden; højre kolonne udfylder samme højde. */
.fpfti-hero > .uk-grid > div:has(> .fpfti-hero-side) {
    position: relative;
    min-height: 0;
}

.fpfti-hero .fpfti-hero-side {
    position: absolute;
    inset: 0;
}

.fpfti-hero-side > .uk-grid {
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 12px;
    height: 100%;
}

.fpfti-hero-side .cbx-image,
.fpfti-hero-side .cbx-image a {
    height: 100%;
}

/* Let beskæring ved kanterne giver fælles bundlinje uden at strække billederne. */
.fpfti-hero .fpfti-hero-side .cbx-image img {
    height: 100%;
    object-fit: cover;
}

/* 24 px til den efterfølgende USP-sektion erstatter CMS'ets samlede afstande. */
.uk-grid > div:has(> .fpfti-hero, > .fpfti-hero-mobile) ~ div:has(.fpfti-benefits) {
    margin-top: 24px !important;
}

.uk-grid > div:has(> .fpfti-hero, > .fpfti-hero-mobile) ~ div:has(.fpfti-benefits) .fpfti-benefits > .uk-grid {
    padding-top: 0 !important;
}

/* Separate bannersektioner: mobil skjules som udgangspunkt.
   CMS-wrapperen skjules også, så den ikke efterlader plads i UIkit-gridet. */
.fpfti-hero-mobile,
.uk-grid > div:has(> .fpfti-hero-mobile) {
    display: none !important;
}

/* Den synlige bannersektion skal ikke få ekstra margin fra en skjult naboblok. */
.uk-grid > div:has(> .fpfti-hero-desktop),
.uk-grid > div:has(> .fpfti-hero-mobile) {
    margin-top: 0 !important;
}

/* Mobil: ét stort banner efterfulgt af en container med to små bannere. */
.fpfti-hero-mobile > .uk-grid,
.fpfti-hero-mobile-main > .uk-grid,
.fpfti-hero-mobile-cards > .uk-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-left: 0;
    padding: 0 !important;
}

.fpfti-hero-mobile-cards > .uk-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.fpfti-hero-mobile > .uk-grid > div,
.fpfti-hero-mobile-main > .uk-grid > div,
.fpfti-hero-mobile-cards > .uk-grid > div {
    min-width: 0;
    width: auto;
    margin-top: 0;
    padding-left: 0;
}

/* UIkits hjælpelag må ikke optage felter i mobilens CSS-grids. */
.fpfti-hero-mobile > .uk-grid::before,
.fpfti-hero-mobile > .uk-grid::after,
.fpfti-hero-mobile-main > .uk-grid::before,
.fpfti-hero-mobile-main > .uk-grid::after,
.fpfti-hero-mobile-cards > .uk-grid::before,
.fpfti-hero-mobile-cards > .uk-grid::after {
    content: none;
}

.fpfti-hero-mobile .cbx-image a,
.fpfti-hero-mobile .cbx-image img {
    display: block;
}

/* Brug kvadratiske billeder i de små bokse. Billedernes indhold beskæres ikke. */
.fpfti-hero-mobile .cbx-image img {
    width: 100%;
    height: auto;
}

/* USP-bjælke */
/* Indhold */
.fpfti-benefits {
    display: block;
    width: 100%;
    min-width: 0;
}

/* Umbraco-grid */
.fpfti-benefits > .uk-grid {
    width: 100%;
    margin-left: 0;
}

.fpfti-benefits > .uk-grid > div {
    width: 100%;
    padding-left: 0;
}

/* USP-layout */
.fpfti-benefits .usp-main {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-content: center;
    align-items: start;
    gap: 24px;
    width: 100%;
    min-height: 120px;
    padding: 30px 24px !important;
    background: #f5f5f3;
    box-sizing: border-box;
}

/* USP-elementer */
.fpfti-benefits .usp-main-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

/* Røde ikoncirkler */
.fpfti-benefits .usp-main-item > .uk-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    padding: 0;
    background: #97271b;
    color: #fff !important;
    border-radius: 50%;
    box-sizing: border-box;
}

/* Hvide ikoner */
.fpfti-benefits .uk-icon svg {
    display: block;
    width: 21px;
    height: 21px;
    margin: auto;
    color: #fff !important;
}

.fpfti-benefits .uk-icon svg [stroke] {
    stroke: #fff !important;
}

/* Tekstcontainer */
.fpfti-benefits .usp-main-item > div {
    flex: 1;
    min-width: 0;
}

/* Overskrifter */
.fpfti-benefits .uk-text-bold {
    display: inline-block;
    font-size: 17px;
    line-height: 1.35;
    text-transform: none;
    color: #333;
}

/* Beskrivelser */
.fpfti-benefits .uk-text-small {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}

/* ==========================================
   05. FORSIDE: HOVEDKATEGORIER
   ========================================== */

/* FTI - Hovedkategorier */
.fpfti-maincategories {
    width: 100%;
    min-width: 0;
    margin-bottom: 25px;
    box-sizing: border-box;
}

/* Kategorikort */
.fpfti-maincategories .fpfti-category-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
    box-sizing: border-box;
}

.fpfti-maincategories .fpfti-category-card:hover {
    border-color: #ccc;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.05);
}

/* Fjern afstand mellem billed- og tekstcontainer */
.fpfti-maincategories .fpfti-category-card > .uk-grid {
    row-gap: 0 !important;
    margin-top: 0 !important;
}

/* Billedområde */
.fpfti-maincategories .fpfti-category-image {
    display: block;
    width: 100%;
    height: 200px;
    margin: 0;
    padding: 0;
    background: #f7f5f2;
    overflow: hidden;
    box-sizing: border-box;
}

.fpfti-maincategories .fpfti-category-image .cbx-rich-text,
.fpfti-maincategories .fpfti-category-image .cbx-rich-text p {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.fpfti-maincategories .fpfti-category-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    object-fit: cover;
    object-position: center;
}

/* Tekstområde */
.fpfti-maincategories .fpfti-category-text {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 4px 16px 14px;
    background: #fff;
    box-sizing: border-box;
}

/* Tekstindhold */
.fpfti-maincategories .fpfti-category-text .cbx-rich-text {
    margin: 0;
    padding: 0;
}

/* Kategorinavn */
.fpfti-maincategories .fpfti-category-text .fpfti-category-name,
.fpfti-maincategories .fpfti-category-text .cbx-button > a.uk-button {
    margin: 0 0 4px !important;
    padding: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.fpfti-maincategories .fpfti-category-name a {
    text-decoration: none;
    color: #333;
}

/* CMS-knapper bruges som kategorilinks og får samme typografi som navnene. */
.fpfti-maincategories .fpfti-category-text .cbx-button > a.uk-button {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 32px;
    margin: 0 !important;
    padding: 0;
    text-align: left;
    text-decoration: none;
    text-transform: none;
    letter-spacing: normal;
    color: #333;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    white-space: normal;
    overflow-wrap: anywhere;
    box-sizing: border-box;
}

/* Fokusrammen holdes inde i kortet, der beskærer indhold ved de runde hjørner. */
.fpfti-maincategories .fpfti-category-text .cbx-button > a.uk-button:focus-visible {
    outline: 2px solid #97271b;
    outline-offset: -2px;
}

/* Se hele udvalget */
.fpfti-maincategories .fpfti-category-text .fpfti-category-cta {
    margin: 0 !important;
    padding: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.fpfti-maincategories .fpfti-category-cta a {
    text-decoration: none;
    color: #97271b;
}

.fpfti-maincategories .fpfti-category-cta a:hover,
.fpfti-maincategories .fpfti-category-name a:hover,
.fpfti-maincategories .fpfti-category-text .cbx-button > a.uk-button:hover {
    text-decoration: underline;
}

/* Tastatur */
.fpfti-maincategories a:focus-visible {
    outline: 2px solid #97271b;
    outline-offset: 2px;
}

/* ==========================================
   06. FORSIDE: BLIV FORHANDLER
   ========================================== */

/* Hovedcontainer */
.fpfti-dealer-cta {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 40px 48px !important;
    background: #252525;
    color: #fff;
    box-sizing: border-box;
}

/* UMBRACO GRID */
/* Container med de to kolonner */
.fpfti-dealer-cta > .uk-grid,
.fpfti-dealer-cta > .uk-container > .uk-grid {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 56px;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

/* Nulstil UIkits indvendige kolonneafstand */
.fpfti-dealer-cta > .uk-grid > *,
.fpfti-dealer-cta > .uk-container > .uk-grid > * {
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

/* Venstre kolonne */
.fpfti-dealer-cta .fpfti-dealer-cta-left {
    flex: 1.35;
    min-width: 0;
    margin: 0 !important;
}

/* Højre kolonne */
.fpfti-dealer-cta .fpfti-dealer-cta-right {
    flex: 0.9;
    min-width: 0;
    margin: 0 !important;
}

/* Tekstindhold */
.fpfti-dealer-cta .cbx-rich-text {
    margin: 0;
    padding: 0;
}

.fpfti-dealer-cta .cbx-rich-text > :first-child {
    margin-top: 0;
}

.fpfti-dealer-cta .cbx-rich-text > :last-child {
    margin-bottom: 0;
}

/* VENSTRE SIDE */
/* Lille tekst over overskriften */
.fpfti-dealer-cta .fpfti-dealer-eyebrow {
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.4;
    text-transform: uppercase;
    color: #d6b1a7;
}

/* Hovedoverskrift */
.fpfti-dealer-cta .fpfti-dealer-cta-left h2 {
    max-width: 520px;
    margin: 0 0 14px;
    font-size: 29px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

/* Beskrivelse */
.fpfti-dealer-cta .fpfti-dealer-description {
    max-width: 560px;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #e2e2e2;
}

/* HØJRE SIDE */
/* Overskrift */
.fpfti-dealer-cta .fpfti-dealer-cta-right h3 {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
}

/* Beskrivelse */
.fpfti-dealer-cta .fpfti-dealer-intro {
    max-width: 340px;
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.5;
    color: #e2e2e2;
}

/* Rød handlingsknap */
.fpfti-dealer-cta .fpfti-dealer-button {
    margin: 0 0 14px;
}

.fpfti-dealer-cta .fpfti-dealer-button a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none !important;
    background: #a92b1d;
    color: #fff !important;
    border: 1px solid #a92b1d;
    border-radius: 3px;
    transition: background 0.2s ease, border-color 0.2s ease;
    box-sizing: border-box;
}

/* Effekt ved markør over elementet */
.fpfti-dealer-cta .fpfti-dealer-button a:hover {
    background: #8f2318;
    color: #fff !important;
    border-color: #8f2318;
}

/* KONTAKTOPLYSNINGER */
.fpfti-dealer-cta .fpfti-dealer-contact {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: #cfcfcf;
}

.fpfti-dealer-cta .fpfti-dealer-contact a {
    font-weight: 700;
    text-decoration: none;
    color: #fff !important;
}

.fpfti-dealer-cta .fpfti-dealer-contact a:hover {
    text-decoration: underline;
}

/* Tastaturnavigation */
.fpfti-dealer-cta a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

/* ==========================================
   07. FORSIDE: OM FTI OG UDFOLDELIG TEKST
   ========================================== */

.fpfti-about {
    width: 100%;
    min-width: 0;
    padding: 48px 0;
    box-sizing: border-box;
}

/* TO KOLONNER */
.fpfti-about > .uk-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    align-items: start;
    gap: 48px;
    margin: 0 !important;
}

.fpfti-about > .uk-grid > * {
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    padding: 0 !important;
}

.fpfti-about-content .cbx-rich-text {
    margin: 0;
    padding: 0;
}

.fpfti-about-label {
    margin: 0 0 14px !important;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.fpfti-about-intro p {
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

/* BILLEDE TIL HØJRE */
.fpfti-about-image {
    width: 100%;
    min-width: 0;
    border-radius: 5px;
    overflow: hidden;
}

.fpfti-about-image img {
    display: block;
    width: 100%;
    height: 350px;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
}

/* UDFOLDELIG SEO-TEKST */
.fpfti-about-details {
    margin-top: 6px;
}

.fpfti-about-details summary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 700;
    list-style: none;
    background: #f5f5f3;
    color: #333;
    border: 1px solid #ebebeb;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.2s ease;
}

/* Fjern browserens standardpil */
/* Browserregel til at skjule standardmarkøren i WebKit. */
.fpfti-about-details summary::-webkit-details-marker {
    display: none;
}

.fpfti-about-details summary::after {
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    color: #97271b;
    content: "+";
}

.fpfti-about-details[open] summary::after {
    content: "-";
}

.fpfti-about-details summary:hover {
    background: #ebebe8;
}

.fpfti-about-details summary:focus-visible {
    outline: 2px solid #97271b;
    outline-offset: 3px;
}

/* Skift teksten når tekstfeltet er åben */
.fpfti-about-less {
    display: none;
}

.fpfti-about-details[open] .fpfti-about-more {
    display: none;
}

.fpfti-about-details[open] .fpfti-about-less {
    display: inline;
}

/* EKSTRA SEO-INDHOLD */
.fpfti-about-extra {
    padding-top: 22px;
}

.fpfti-about-extra h3 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    color: #333;
}

.fpfti-about-extra p {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

.fpfti-about-extra a {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    color: #97271b;
}

/* Tablet og mobil, højst 959 px. Rækkefølgen i kaskaden er bevaret. */
@media (max-width: 959px) {

    .fpfti-about-image img {
        height: 300px;
    }
}

/* Mobil, højst 767 px. Rækkefølgen i kaskaden er bevaret. */
@media (max-width: 767px) {

    .fpfti-about {
        padding: 32px 0;
    }

    .fpfti-about-intro p {
        font-size: 15px;
    }

    .fpfti-about-image img {
        height: 240px;
    }
}

/* ==========================================
   08. RABATMÆRKNING OG BILLEDVISNING
   ========================================== */

/* Rabatmærkning */
.discount-overlay {
    display: none;
}

/* Billedvisning */
.uk-lightbox {
    background: rgba(0,0,0,0.75);
}

/* ==========================================
   09. FORSIDE: LÆS MERE MED JAVASCRIPT
   ========================================== */

/* FTI - SEO TEKST MED LÆS MERE */
/* Om FTI sektion */
.fpfti-about-content {
    width: 100%;
    min-width: 0;
}

/* Label */
.fpfti-about-label {
    font-size: 12px;
    font-weight: 700;
    color: #97271b;
}

/* Overskrift */
.fpfti-about-content h2 {
    margin: 0 0 18px;
}

/* Brødtekst */
.fpfti-about-content .fpfti-about-text p {
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 1.65;
    color: #555;
}

/* Ekstra overskrifter */
.fpfti-about-content .fpfti-about-text h3 {
    margin: 20px 0 10px;
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

/* SAMMENKLAPPET TEKST */
.fpfti-about-text {
    position: relative;
    line-height: 1.65;
    overflow: hidden;
}

/* Kun når JavaScript er aktiveret */
/* Højden svarer til fem tekstlinjer og bruges af den eksisterende JavaScript-funktion. */
.fpfti-about-text.fpfti-about-collapsed {
    max-height: calc(5 * 16px * 1.65);
}

/* Fade nederst på teksten */
.fpfti-about-text.fpfti-about-collapsed::after {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 45px;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0),
        #fff
    );
    pointer-events: none;
    content: "";
}

/* Udfoldet tekst */
.fpfti-about-text.fpfti-about-expanded {
    max-height: none;
    overflow: visible;
}

/* LÆS MERE KNAP */
.fpfti-about-readmore {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 12px;
    padding: 10px 0;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    background: transparent;
    color: #333;
    border: none;
    cursor: pointer;
}

.fpfti-about-readmore::after {
    display: block;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    content: "";
}

.fpfti-about-readmore[aria-expanded="true"]::after {
    transform: rotate(225deg);
}

.fpfti-about-readmore:hover {
    color: #97271b;
}

.fpfti-about-readmore:focus-visible {
    outline: 2px solid #97271b;
    outline-offset: 3px;
}

/* Mobil, højst 767 px. Rækkefølgen i kaskaden er bevaret. */
@media (max-width: 767px) {

    .fpfti-about-content .fpfti-about-text p {
        font-size: 15px;
    }
}

/* ==========================================
   10. FORSIDE: CANADIAN ERGO
   ========================================== */

/* SEKTIONENS OVERSKRIFT */
.fpfti-featured > .cbx-rich-text h2 {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    color: #333;
}

.fpfti-featured > .cbx-rich-text p {
    margin: 0 0 24px;
    font-size: 15px;
    line-height: 1.5;
    color: #666;
}

/* KOLONNEFORDELING */
/* Container med billede og slider */
.fpfti-featured .fpfti-featured-row.uk-grid,
.fpfti-featured .fpfti-featured-row > .uk-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 3fr) minmax(0, 7fr);
    align-items: start !important;
    gap: 20px;
    width: 100%;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

/* Nulstil Umbracos standardkolonner */
.fpfti-featured .fpfti-featured-row.uk-grid > *,
.fpfti-featured .fpfti-featured-row > .uk-grid > * {
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

/* VENSTRE KOLONNE - BILLEDE */
/* Billedets gradient og tekst holdes i deres egen lokale lagrækkefølge. */
.fpfti-featured .fpfti-featured-image {
    position: relative;
    z-index: 0;
    isolation: isolate;
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    height: 314px;
    margin: 14px 0 0 !important;
    padding: 0 !important;
    background: #f5f5f3;
    border-radius: 6px;
    box-sizing: border-box;
    overflow: hidden;
}

/* Fjern ekstra afstand fra indre Umbraco-grid */
.fpfti-featured .fpfti-featured-image .uk-grid {
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Selve billedet */
.fpfti-featured .fpfti-featured-image img {
    display: block;
    width: 100%;
    height: 314px;
    max-width: 100%;
    margin: 0;
    padding: 0;
    object-fit: cover;
    object-position: center;
}

/* Lille label */
.fpfti-featured .fpfti-featured-label {
    margin: 0 0 8px !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    line-height: 1.4;
    color: #f0c5bd;
}

/* Overskrift på billedet */
.fpfti-featured .fpfti-featured-image h3 {
    margin: 0 0 12px !important;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
}

/* Link til serien */
.fpfti-featured .fpfti-featured-link {
    margin: 0 !important;
}

.fpfti-featured .fpfti-featured-link a {
    font-size: 14px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
    color: #fff !important;
}

.fpfti-featured .fpfti-featured-link a:hover {
    text-decoration: none;
    color: #fff !important;
}

/* Tastaturnavigation */
.fpfti-featured .fpfti-featured-link a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

/* HØJRE KOLONNE - PRODUKTSLIDER */
/* Kun containerens placering og bredde */
.fpfti-featured .fpfti-featured-slider {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    margin: 0;
    padding: 0 !important;
    box-sizing: border-box;
}

/* Hovedsektion */
/* FIX - OVERLAP MED STICKY OVERSKRIFT */
/* Isolation afgrænser billedets lag, så de ikke løftes ud af sektionen. */
.fpfti-featured {
    position: relative;
    z-index: 0;
    isolation: isolate;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 32px 0;
    box-sizing: border-box;
}

/* Mørk gradient nederst på billedet */
/* Gradienten ligger under teksten og modtager ikke klik. */
.fpfti-featured .fpfti-featured-image::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        transparent 45%,
        rgba(0, 0, 0, 0.82) 100%
    );
    pointer-events: none;
    content: "";
}

/* TEKST OVEN PÅ BILLEDET */
/* Teksten ligger over gradienten i billedets lokale lag. */
.fpfti-featured .fpfti-featured-image .cbx-rich-text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    width: 100%;
    margin: 0 !important;
    padding: 18px !important;
    box-sizing: border-box;
}

/* ==========================================
   11. FORSIDE: AFSLUTTENDE TEKSTREGLER
   ========================================== */

.fpfti-about-content h2 {
    margin: 0 0 20px;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    color: #333;
}

/* Placeringen efter de tidlige mobilregler bevarer prioriteten, når tekstklasser overlapper. */
.fpfti-about-content .cbx-rich-text > p {
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

.fpfti-about-content .cbx-rich-text > p:last-child {
    margin-bottom: 0;
}

/* ==========================================
   12. PRODUKTLISTER OG KATEGORISIDER
   ========================================== */

/* VARELISTE */
.product-preview .product-image img {
    aspect-ratio: 310 / 240;
    object-fit: contain;
}

.product-preview .product-colors>div {
    border: solid 1px #000000;
}

.product-list-filter-mobile-actions-action-container > .product-list-filter-button:first-of-type {
    display: none;
    pointer-events: none;
}

/* ==========================================
   13. KONTAKT: MEDARBEJDERE
   ========================================== */

/* Kontakt side */
.kontakt-side {
    padding: 10px;
    border-top: 2px solid #E5E7EB;
    border-bottom: 2px solid #E5E7EB;
}

.team-container {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
}

.team-member {
    width: 150px;
    margin-right: 50px;
    padding: 20px;
    text-align: left;
    background-color: #fff;
    border-radius: 12px;
}

.team-member img {
    width: 145px;
    height: auto;
}

.team-member h3 {
    margin: 10px 0 5px 0;
    font-size: 1.2em;
    font-weight: normal;
}

.team-member h4 {
    margin: 5px 0;
    font-size: 14px;
    font-weight: bold;
}

.team-member p {
    margin: 5px 0;
    font-size: 14px;
}

.team-member a {
    text-decoration: none;
    color: #007bff;
}

/* ==========================================
   14. FÆLLES CMS- OG PRODUKTREGLER
   ========================================== */

/* Varekort */
.uk-list .uk-margin-small:first-child {
    display: none;
}

#product-list-container .uk-margin {
    margin-bottom: 0;
}

.uk-grid-column p {
    font-size: 16px;
}

/* Tilpasning af produktbillede */
.product-images .active-product-image {
    background-color: #fff;
    object-fit: contain;
}

.uk-width-1-1.cart-item-comment {
    height: 50px;
}

/* Formatér teksten i de p-tags i den tredje kolonne */
.uk-grid .uk-grid-column:nth-child(3) p {
    display: flex;
    align-items: center;
    margin: 8px 0;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #000;
}

/* ==========================================
   15. CHECKOUT
   ========================================== */

/* CHECKOUT */
.uk-radio,
.uk-checkbox {
    background-color: #fff;
    border: 1px solid #000;
}

.uk-checkbox:checked {
    background-color: #afafaf;
    border: 1px solid #000;
}

/* Leverings- og betalingsvalg. Fejltilstandens standardfarver bevares. */
.checkout-option:not(.error) {
    color: #333;
    background-color: #fff;
    border: 1px solid #dedede;
    box-shadow: none;
    box-sizing: border-box;
}

/* Den indvendige ekstra kant giver 2 px markering uden størrelsesskift. */
.checkout-option.active:not(.error) {
    color: #333;
    background-color: #f7f7f7;
    border-color: #97271b;
    box-shadow: inset 0 0 0 1px #97271b;
}

/* Ophæv temaets farvede overskriftsbjælke på almindelige og valgte felter. */
.checkout-option:not(.error) label .primary-info {
    color: #333;
    background-color: transparent;
}

.checkout-option:not(.error) .title {
    font-weight: 700;
}

.checkout-option:not(.error) .secondary-info {
    color: #333;
}

/* !important overskriver UIkits hjælpeklasse for nedtonet tekst. */
.checkout-option.active:not(.error) .uk-text-muted {
    color: #555 !important;
}

/* Rød markering på både almindelige radioknapper og UIkits radioknapper. */
.checkout-option:not(.error) .primary-info input[type="radio"] {
    accent-color: #97271b;
}

/* !important erstatter temaets markering og hvide baggrund i aktive felter. */
.checkout-option:not(.error) .primary-info input.uk-radio:checked:not(:disabled) {
    background-color: #fff !important;
    background-image: radial-gradient(circle, #97271b 0%, #97271b 40%, transparent 45%) !important;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    border-color: #97271b;
}

.checkout-option .primary-info input[type="radio"]:focus-visible {
    outline: 2px solid #97271b;
    outline-offset: 3px;
}

/* ==========================================
   16. PRODUKTSIDE
   ========================================== */

/* Fragt og kontakt under købsområdet */
.fti-product-service {
    min-width: 0;
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

/* Overskriv kun CMS-gridets topafstand på den nye tekstbloks egen række. */
.uk-grid > [data-content-element-type-alias="cbxRichText"]:has(> .fti-product-service) {
    margin-top: 12px !important;
}

.fti-product-service p {
    margin: 0;
    padding: 0;
}

.fti-product-service p + p {
    margin-top: 6px;
}

/* Produktside */
.product-information .uk-grid-large {
    flex-direction: column;
}

#product-details-tabs {
    display: flex;
    flex-direction: row;
    flex: 1;
    width: auto;
}

#product-details-tabs li {
    display: flex;
}

/* Lageroplysninger */
/* Bred UIkit-regel fra kilden. Kan også skjule elementer uden for produktsiden. */
.uk-padding-remove-bottom {
    display: none;
}

.product-item-comment-editor-label.uk-text-large {
    margin-bottom: 0px;
    font-size: 14px !important;
    font-weight: normal;
}

.variant-selector-image-button-image-container img,
.product-images .media-browser-container .media-browser li a img {
    aspect-ratio: 310 / 240;
    width: 100%;
    object-fit: contain;
}

.product-images .product-images-grid .product-images-main-area a,
.variant-selector-image-button-image-container,
.product-images .media-browser-container .media-browser li a {
    background-color: #fff;
}

/* Skjulte elementer */
/* Skjul ekstra information og USP på produktsiden */
/* Bred CMS-regel fra kilden. Afgrænsning kræver kendskab til HTML-strukturen. */
.uk-margin-large-top:nth-child(2) {
    display: none;
}

/* ==========================================
   17. BLIV FORHANDLER OG ANSØGNINGSFORMULAR
   ========================================== */

/* FTI - BLIV FORHANDLER Tilpasset faktisk Chainbox HTML */
/* SIDE OG GRID */
.umb-block-grid:has(.fti-dealer-intro) {
    --fti-red: #97271b;
    --fti-gray: #f6f6f6;
    --fti-border: #dedede;
    /* Padding indgår i bredden, så siden ikke bliver bredere end skærmen. */
    box-sizing: border-box;
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    font-family: Lato, Arial, sans-serif;
    color: #333;
}

.umb-block-grid:has(.fti-dealer-intro) *,
.umb-block-grid:has(.fti-dealer-intro) *::before,
.umb-block-grid:has(.fti-dealer-intro) *::after {
    box-sizing: border-box;
}

/* Yderste grid */
.umb-block-grid:has(.fti-dealer-intro) > .uk-grid {
    display: flex !important;
    flex-direction: column;
    gap: 0;
    margin: 0 !important;
}

.umb-block-grid:has(.fti-dealer-intro) > .uk-grid > div {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Fjern ekstra padding fra Chainbox-containere */
.fti-dealer-intro,
.fti-dealer-contact,
.fti-application,
.fti-benefits,
.fti-dealer-contact-image,
.fti-dealer-contact-info,
.fti-application-columns,
.fti-why,
.fti-application-form,
.fti-benefit {
    width: 100%;
    max-width: none !important;
    min-width: 0;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Kun de indvendige Chainbox-containere */
.fti-dealer-contact-image,
.fti-dealer-contact-info,
.fti-application-columns,
.fti-why,
.fti-application-form,
.fti-benefit {
    padding-left: 0;
    padding-right: 0;
}

/* Nulstil indvendig UIkit-afstand */
.fti-dealer-intro > .uk-grid,
.fti-dealer-contact > .uk-grid,
.fti-application > .uk-grid,
.fti-application-columns > .uk-grid,
.fti-benefits > .uk-grid {
    margin: 0 !important;
}

/* INTRODUKTION */
.fti-dealer-intro {
    margin-bottom: 24px !important;
    padding: 0 !important;
}

.fti-dealer-intro > .uk-grid > div {
    padding: 0 !important;
}

.fti-dealer-intro h1 {
    margin: 0 0 14px !important;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    color: #262626;
}

.fti-dealer-intro p {
    max-width: 760px;
    margin: 0 0 12px !important;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.fti-dealer-intro p:last-child {
    margin-bottom: 0 !important;
}

/* UIkits hjælpelag må ikke optage felter i sidens CSS-grids. */
.umb-block-grid:has(.fti-dealer-intro) .uk-grid::before,
.umb-block-grid:has(.fti-dealer-intro) .uk-grid::after {
    content: none;
}

/* KONTAKTBOKS
   Flyt den eksisterende kontaktcontainer ind først i .fti-why i CMS'et. */
.fti-dealer-contact {
    margin-bottom: 20px !important;
    padding: 16px !important;
    background: #f6f6f6 !important;
    border: 1px solid #e5e5e5;
    border-radius: 2px;
}

.fti-dealer-contact > .uk-grid {
    display: grid !important;
    grid-template-columns: 80px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
}

.fti-dealer-contact > .uk-grid > div {
    width: 100% !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
}

/* Portræt */
.fti-dealer-contact-image {
    padding: 0 !important;
}

.fti-dealer-contact-image .uk-grid {
    margin: 0 !important;
}

.fti-dealer-contact-image .uk-grid > div {
    width: 100% !important;
    padding: 0 !important;
}

.fti-dealer-contact-image .cbx-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
}

.fti-dealer-contact-image img {
    display: block;
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
}

/* Kontaktinformation */
.fti-dealer-contact-info .fti-contact-greeting {
    /* Mailhilsenen skjules, indtil teksten er fjernet i CMS'et. */
    display: none;
}

.fti-dealer-contact-info {
    padding: 0 !important;
}

.fti-dealer-contact-info p {
    margin: 0 0 5px !important;
    font-size: 14px;
    line-height: 1.5;
}

.fti-dealer-contact-info .fti-contact-small {
    font-size: 12px;
    color: #777;
}

.fti-dealer-contact-info h3 {
    margin: 3px 0 5px !important;
    font-size: 19px;
    font-weight: 700;
}

.fti-dealer-contact-info a {
    text-decoration: none;
    color: #333;
}

.fti-dealer-contact-info a:hover {
    color: #97271b;
}

/* ANSØGNINGSSEKTION */
.fti-application {
    margin: 0 !important;
    padding: 24px !important;
    background: #f6f6f6 !important;
    border-radius: 2px;
}

.fti-application > .uk-grid > div {
    width: 100% !important;
    min-width: 0;
    padding: 0 !important;
}

.fti-application-eyebrow {
    margin: 0 0 8px !important;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #777;
}

.fti-application .cbx-rich-text > h2 {
    margin: 0 0 10px !important;
    font-size: 28px;
    font-weight: 700;
}

.fti-application-intro {
    max-width: 750px;
    margin: 0 0 26px !important;
    font-size: 15px;
    line-height: 1.6;
    color: #666;
}

/* TO HOVEDKOLONNER */
.fti-application-columns {
    padding: 0 !important;
}

.fti-application-columns > .uk-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: 24px;
}

.fti-application-columns > .uk-grid > div {
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    padding: 0 !important;
    margin: 0 !important;
}

/* Formularen placeres først i CMS'et. Desktop viser den i højre kolonne. */
.fti-application-columns > .uk-grid > div:has(> .fti-application-form) {
    grid-column: 2;
    grid-row: 1;
}

.fti-application-columns > .uk-grid > div:has(> .fti-why) {
    grid-column: 1;
    grid-row: 1;
}

/* Hvide bokse */
.fti-why,
.fti-application-form {
    height: auto;
    padding: 24px !important;
    background: #fff !important;
    border: 1px solid #dedede;
    border-radius: 2px;
}

/* Fjern indvendig grid-afstand */
.fti-why > .uk-grid,
.fti-application-form > .uk-grid {
    margin: 0 !important;
}

.fti-why > .uk-grid > div,
.fti-application-form > .uk-grid > div {
    width: 100% !important;
    margin-top: 0 !important;
    padding: 0 !important;
}

/* HVORFOR VÆLGE FTI */
.fti-why h2 {
    margin: 0 0 12px !important;
    font-size: 22px;
    font-weight: 700;
}

.fti-why__intro {
    margin: 0 0 20px !important;
    font-size: 15px;
    line-height: 1.6;
    color: #636363;
}

/* Punkterne ligger direkte i Tekstindhold */
.fti-why__list:empty,
.fti-why__contact:empty {
    display: none;
}

.fti-why__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.fti-why__item::before {
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    margin-top: 7px;
    background: #333;
    border-radius: 50%;
    content: "";
}

.fti-why__label {
    margin: 24px 0 8px !important;
    font-size: 12px;
    font-weight: 700;
    color: #777;
}

.fti-why p {
    line-height: 1.6;
}

.fti-why a {
    text-decoration: none;
    color: #333;
}

.fti-why a:hover {
    color: #97271b;
}

/* FORMULAR */
.fti-application-form .contact-form {
    width: 100% !important;
    /* Ophæv den generelle formulargrænse på 500 px kun i denne boks. */
    max-width: none;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

.fti-application-form .contact-form .uk-container {
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Fjern CMS'ets ekstra gutter omkring selve formularen. */
.fti-application-form .contact-form > .uk-container > form {
    margin: 0 !important;
}

.fti-application-form .contact-form > .uk-container > form > div {
    min-width: 0;
    padding-left: 0 !important;
}

/* Faste labels indsættes af CMS'et eller den tilhørende formularfil. */
.fti-application-form label {
    display: block;
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: #333;
}

/* Lange kontaktoplysninger og fejltekster må bryde ved smalle bredder. */
.fti-dealer-contact-info,
.fti-why,
.fti-application-form {
    overflow-wrap: anywhere;
}

/* Overskrift */
.fti-application-form .contact-form-header {
    margin: 0 0 20px !important;
    padding: 0 !important;
    text-align: left !important;
}

.fti-application-form .contact-form-header .uk-h3 {
    display: block;
    margin: 0 0 6px !important;
    font-size: 22px;
    font-weight: 700;
    color: #262626;
}

.fti-application-form .contact-form-header div {
    font-size: 12px;
    color: #777;
}

/* Formularfelter */
.fti-application-form .contact-form span > form > .uk-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px 20px !important;
    margin: 0 !important;
}

.fti-application-form .contact-form span > form > .uk-grid > div {
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
}

/* Skjulte felter */
.fti-application-form .uk-hidden {
    display: none !important;
}

/* Inputfelter */
.fti-application-form .uk-input,
.fti-application-form .uk-select {
    width: 100% !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    font-size: 14px;
    background: #fff !important;
    color: #333;
    border: 1px solid #dedede !important;
    border-radius: 2px;
    box-shadow: none !important;
}

/* Bemærkninger */
.fti-application-form .contact-form span > form > .uk-grid > div:has(textarea) {
    grid-column: 1 / -1;
}

.fti-application-form .uk-textarea {
    width: 100% !important;
    min-height: 110px;
    padding: 10px !important;
    font-size: 14px;
    border: 1px solid #dedede;
    border-radius: 2px;
    resize: vertical;
}

/* Tastaturfokus bevares tydeligt på links og send-knap. */
.fti-dealer-contact a:focus-visible,
.fti-why a:focus-visible,
.fti-application-form button[type="submit"]:focus-visible {
    outline: 2px solid #97271b;
    outline-offset: 3px;
}

/* Fokus */
.fti-application-form .uk-input:focus,
.fti-application-form .uk-textarea:focus {
    outline: 2px solid #97271b;
    outline-offset: 2px;
    border-color: #97271b !important;
}

/* Send-knap */
.fti-application-form .contact-form span > form > .uk-grid > div:has(button[type="submit"]) {
    grid-column: 1 / -1;
}

.fti-application-form button[type="submit"] {
    width: 100% !important;
    min-height: 44px;
    margin-top: 8px;
    padding: 0 20px !important;
    font-size: 13px;
    font-weight: 700;
    background: #97271b !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 2px;
    cursor: pointer;
}

.fti-application-form button[type="submit"]:hover {
    background: #7e2017 !important;
}

.fti-application-form button[type="submit"] svg {
    stroke: #fff !important;
}

/* FORDELSBOKSE */
.fti-benefits {
    margin-top: 18px !important;
    padding: 0 !important;
}

.fti-benefits > .uk-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.fti-benefits > .uk-grid > div {
    width: 100% !important;
    min-width: 0;
    padding: 0 !important;
    margin: 0 !important;
}

.fti-benefit {
    height: 100%;
    min-height: 135px;
    padding: 20px !important;
    background: #f6f6f6 !important;
    border: 1px solid #e4e4e4;
    border-radius: 2px;
}

.fti-benefit h3 {
    margin: 0 0 10px !important;
    font-size: 17px;
    font-weight: 700;
}

.fti-benefit p {
    margin: 0 !important;
    font-size: 13px;
    line-height: 1.6;
    color: #666;
}

/* ==========================================
   18. OM FTI: INDHOLDSSIDE
   ========================================== */

/* FTI - HVEM ER VI */
/* Bruges inde i Umbraco-sektioner, der allerede ligger i uk-container uk-container-large. */
.fti-about-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    font-family: Lato, Arial, sans-serif;
    box-sizing: border-box;
}

/* INTRODUKTION */
/* 1430 px inklusive 15 px i hver side flugter med de øvrige siders 1400 px indhold. */
.fti-about-hero-inner {
    width: 100%;
    max-width: 1430px;
    height: auto;
    margin: 0 auto;
    padding: 40px 15px;
    font-family: Lato, Arial, sans-serif;
    box-sizing: border-box;
}

/* Lille label */
.fti-about-hero-inner .fti-about-eyebrow {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 20px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #333333;
}

/* H1 */
.fti-about-hero-inner h1 {
    width: 100%;
    max-width: 800px;
    margin: 0 0 8px;
    font-size: 48px;
    line-height: 58px;
    font-weight: 700;
    color: #2e2e2e;
}

/* Stor intro */
.fti-about-hero-lead {
    width: 100%;
    max-width: 850px;
    margin: 0 0 28px;
    font-size: 24px;
    line-height: 34px;
    font-weight: 400;
    color: #383838;
}

/* Nederste tekst */
.fti-about-hero-text {
    width: 100%;
    max-width: 950px;
    margin: 0;
    font-size: 17px;
    line-height: 27px;
    font-weight: 400;
    color: #555555;
}

/* HISTORIE */
/* Denne blok ligger allerede inde i Umbracos uk-container uk-container-large. */
.fti-about-history {
    width: 100%;
    max-width: 1400px;
    min-height: 0;
    margin: 0 auto;
    padding-top: 32px;
    font-family: Lato, Arial, sans-serif;
    box-sizing: border-box;
}

.fti-about-history .fti-about-eyebrow {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 18px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #8c8c8c;
}

.fti-about-history h2 {
    width: 100%;
    max-width: 790px;
    margin: 0 0 8px;
    font-size: 35px;
    line-height: 44px;
    font-weight: 700;
    color: #2e2e2e;
}

.fti-about-history p {
    width: 100%;
    max-width: 780px;
    margin: 0;
    font-size: 17px;
    line-height: 28px;
    font-weight: 400;
    color: #383838;
}

/* ALTID ET SKRIDT FORAN */
/* Fleksible kolonner kan krympe på tablet uden vandret overløb. */
.fti-about-focus-grid {
    display: grid;
    grid-template-columns: minmax(0, 720fr) minmax(0, 340fr);
    column-gap: clamp(24px, 6vw, 80px);
    align-items: start;
    width: 100%;
    min-height: 0;
    box-sizing: border-box;
    padding: 32px 0;
}

/* Venstre indhold */
.fti-about-focus-content {
    width: 100%;
    max-width: 720px;
}

.fti-about-focus-content .fti-about-eyebrow {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: #787878;
}

.fti-about-focus-content h2 {
    width: 100%;
    max-width: 560px;
    margin: 0 0 11px;
    font-size: 34px;
    line-height: 42px;
    font-weight: 700;
    color: #212121;
}

.fti-about-focus-content p {
    width: 100%;
    max-width: 720px;
    margin: 0 0 18px;
    font-size: 18px;
    line-height: 29px;
    font-weight: 400;
    color: #3d3d3d;
}

.fti-about-focus-content p:last-child {
    margin-bottom: 0;
}

/* HIGHLIGHT BOKS */
.fti-about-highlight {
    width: 100%;
    height: auto;
    margin-top: 0;
    padding: 24px;
    background: #f2f2f2;
    border-radius: 2px;
    box-sizing: border-box;
}

.fti-about-highlight-label {
    width: 100%;
    margin: 0 0 18px;
    font-size: 12px;
    line-height: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: #737373;
}

.fti-about-highlight h3 {
    width: 100%;
    max-width: 270px;
    margin: 0 0 14px;
    font-size: 23px;
    line-height: 30px;
    font-weight: 700;
    color: #212121;
}

.fti-about-highlight p {
    width: 100%;
    max-width: 270px;
    margin: 0;
    font-size: 16px;
    line-height: 25px;
    font-weight: 400;
    color: #474747;
}

/* VORES KUNDER */
/* Den grå fuld bredde baggrund kommer allerede fra Umbracos background-wrapper. */
.fti-about-customers-grid {
    display: grid;
    grid-template-columns: minmax(0, 650fr) minmax(0, 410fr);
    column-gap: clamp(24px, 6vw, 80px);
    align-items: start;
    width: 100%;
    max-width: 1400px;
    min-height: 0;
    margin: 0 auto;
    font-family: Lato, Arial, sans-serif;
    box-sizing: border-box;
    padding: 32px 0;
}

.fti-about-customers-content {
    width: 100%;
    min-width: 0;
}

.fti-about-customers-content .fti-about-eyebrow {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: #787878;
}

.fti-about-customers-content h2 {
    width: 100%;
    margin: 0 0 14px;
    font-size: 34px;
    line-height: 42px;
    font-weight: 700;
    color: #212121;
    max-width: 600px;
}

.fti-about-customers-content p {
    width: 100%;
    margin: 0 0 20px;
    font-size: 18px;
    line-height: 29px;
    font-weight: 400;
    color: #3d3d3d;
    max-width: 650px;
}

.fti-about-customers-content p:last-child {
    margin-bottom: 0;
}

/* KONTAKT KORT */
.fti-about-contact-card {
    width: 100%;
    height: auto;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #dedede;
    border-radius: 2px;
    box-sizing: border-box;
}

.fti-about-contact-card h3 {
    width: 100%;
    max-width: 350px;
    margin: 0 0 12px;
    font-size: 25px;
    line-height: 32px;
    font-weight: 700;
    color: #212121;
}

.fti-about-contact-card p {
    width: 100%;
    max-width: 330px;
    margin: 0 0 28px;
    font-size: 16px;
    line-height: 25px;
    font-weight: 400;
    color: #474747;
}

.fti-about-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 42px;
    text-decoration: none !important;
    font-size: 13px;
    line-height: 17px;
    font-weight: 700;
    background: #2b2b2b;
    color: #ffffff !important;
    box-sizing: border-box;
}

.fti-about-button:hover {
    background: #1f1f1f;
}

/* BLIV FORHANDLER */
.fti-about-dealer-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    height: auto;
    margin: 32px auto 40px;
    padding: 32px;
    font-family: Lato, Arial, sans-serif;
    background: #212121;
    box-sizing: border-box;
    flex-wrap: wrap;
    gap: 24px 32px;
}

.fti-about-dealer-content {
    width: 100%;
    flex: 1 1 420px;
    min-width: 0;
    max-width: 700px;
}

.fti-about-dealer-label {
    margin: 0 0 16px;
    font-size: 13px;
    line-height: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: #c7c7c7;
}

.fti-about-dealer-box h2 {
    margin: 0 0 11px;
    font-size: 34px;
    line-height: 42px;
    font-weight: 700;
    color: #ffffff;
}

.fti-about-dealer-box p {
    width: 100%;
    margin: 0;
    font-size: 18px;
    line-height: 29px;
    font-weight: 400;
    color: #ededed;
}

/* Knap */
.fti-about-dealer-action {
    flex-shrink: 0;
    margin-top: 0;
    max-width: 100%;
}

.fti-about-dealer-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 255px;
    height: auto;
    text-align: center;
    text-decoration: none !important;
    font-size: 12px;
    line-height: 16px;
    font-weight: 700;
    background: #ffffff;
    color: #212121 !important;
    box-sizing: border-box;
    max-width: 100%;
    min-height: 52px;
    padding: 12px 16px;
    overflow-wrap: anywhere;
}

.fti-about-dealer-button:hover {
    background: #f2f2f2;
}

/* Lange ord må ikke udvide kolonnerne. */
.fti-about-focus-content,
.fti-about-highlight,
.fti-about-contact-card,
.fti-about-dealer-content {
    min-width: 0;
    overflow-wrap: anywhere;
}

.fti-about-button:focus-visible,
.fti-about-dealer-button:focus-visible {
    outline: 2px solid #97271b;
    outline-offset: 3px;
}

/* ==========================================
   19. KONTAKTSIDE OG KONTAKTKORT
   ========================================== */

/* FTI - KONTAKTSIDE */
/* FÆLLES INDSTILLINGER */
.fpfti-contact-intro,
.fpfti-contact,
.fpfti-contact-form {
    width: 100%;
    max-width: none !important;
    min-width: 0;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
}

/* Nulstil UIkit på sektionernes direkte grids */
.fpfti-contact-intro > .uk-grid,
.fpfti-contact > .uk-grid,
.fpfti-contact-form > .uk-grid {
    margin-left: 0 !important;
}

.fpfti-contact-intro > .uk-grid > div,
.fpfti-contact > .uk-grid > div,
.fpfti-contact-form > .uk-grid > div {
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    padding-left: 0 !important;
    box-sizing: border-box;
}

/* Sidens yderste container følger den fælles bredde på 1400 px plus sidepadding. */
.umb-block-grid:has(.fpfti-contact-intro) {
    width: 100%;
    max-width: 1430px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 15px;
    padding-left: 15px;
    box-sizing: border-box;
}

/* Samme klasse på en indre tekstboks må ikke lægge afstandene sammen.
   !important nulstiller også CMS'ets responsive padding. */
.fpfti-contact-intro .fpfti-contact-intro {
    margin: 0 !important;
    padding: 0 !important;
}

.fpfti-contact-intro .fti-contact-eyebrow:empty {
    display: none;
}

/* INTRODUKTION - HVID BAGGRUND */
.fpfti-contact-intro {
    padding: 20px 0 12px !important;
    background: #ffffff;
}

.fpfti-contact-intro .fti-contact-eyebrow {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.3px;
    color: #787878;
}

.fpfti-contact-intro h1 {
    margin: 0 0 16px !important;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    color: #212121;
}

.fpfti-contact-intro .cbx-rich-text > p {
    max-width: 850px;
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

/* KONTAKTSEKTION - GRÅ BAGGRUND */
.fpfti-contact {
    position: relative;
    isolation: isolate;
    padding: 24px 0 !important;
}

/* Baggrund i hele skærmens bredde */
/* Det negative lag placerer baggrunden bag indholdet i sektionens isolerede lag. */
.fpfti-contact::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    z-index: -1;
    width: 100vw;
    background: #f6f6f6;
    transform: translateX(-50%);
    content: "";
}

/* KONTAKTSEKTIONENS OVERSKRIFT */
.fpfti-contact .fpfti-contact-eyebrow {
    margin: 0 0 12px !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.3px;
    color: #787878;
}

.fpfti-contact > .uk-grid > div > .cbx-rich-text h2 {
    margin: 0 0 24px !important;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    color: #212121;
}

/* CONTAINER MED KONTAKTKORT */
.fpfti-contact .fpfti-contact-grid {
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

/* To kort ved siden af hinanden */
.fpfti-contact .fpfti-contact-grid > .uk-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 30px;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

/* Fjern UIkits indbyggede kolonnebredder */
.fpfti-contact .fpfti-contact-grid > .uk-grid > div {
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

/* KONTAKTKORT */
.fpfti-contact .fpfti-contact-card {
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    min-height: 210px;
    height: 100%;
    margin: 0 !important;
    padding: 22px 24px !important;
    background: #ffffff;
    border: 1px solid #dedede;
    border-radius: 3px;
    box-sizing: border-box;
}

/* Tekst til venstre, billede til højre */
.fpfti-contact .fpfti-contact-card > .uk-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 138px;
    align-items: center;
    gap: 22px;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

/* Fjern UIkits 50% kolonnebredder */
.fpfti-contact .fpfti-contact-card > .uk-grid > div {
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

/* Fjern ekstra padding på de indre containere */
.fpfti-contact .fpfti-contact-card > .uk-grid > div > .cbx-container {
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

/* TEKST I KONTAKTKORT */
.fpfti-contact .fpfti-contact-text {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0 !important;
    text-align: left;
    overflow-wrap: anywhere;
}

/* Fjern ekstra grid-afstande fra Tekstindhold */
.fpfti-contact .fpfti-contact-text .uk-grid {
    margin: 0 !important;
}

.fpfti-contact .fpfti-contact-text .uk-grid > div {
    width: 100% !important;
    padding: 0 !important;
}

/* Navn */
.fpfti-contact .fpfti-contact-text h2,
.fpfti-contact .fpfti-contact-text h3 {
    margin: 0 0 8px !important;
    font-size: 24px !important;
    font-weight: 700;
    line-height: 1.25;
    color: #212121 !important;
}

/* Afsnit */
.fpfti-contact .fpfti-contact-text p {
    margin: 0 0 9px !important;
    font-size: 15px;
    line-height: 1.5;
    color: #555;
}

.fpfti-contact .fpfti-contact-text p:last-child {
    margin-bottom: 0 !important;
}

/* Stilling */
.fpfti-contact .fpfti-contact-text strong {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #737373;
}

/* Links */
.fpfti-contact .fpfti-contact-text a {
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    color: #2b2b2b !important;
}

.fpfti-contact .fpfti-contact-text a:hover {
    text-decoration: underline;
    color: #97271b !important;
}

.fpfti-contact .fpfti-contact-text a:focus-visible {
    outline: 2px solid #97271b;
    outline-offset: 3px;
}

/* BILLEDER I KONTAKTKORT */
.fpfti-contact .fpfti-contact-image {
    width: 138px !important;
    max-width: 138px !important;
    height: 138px;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

/* Fjern ekstra UIkit-afstand */
.fpfti-contact .fpfti-contact-image > .uk-grid {
    margin: 0 !important;
    padding: 0 !important;
}

.fpfti-contact .fpfti-contact-image > .uk-grid > div {
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
}

/* Billedcontainer */
.fpfti-contact .fpfti-contact-image .cbx-image {
    width: 100%;
    height: 138px;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* Selve billedet */
.fpfti-contact .fpfti-contact-image img {
    display: block;
    width: 138px !important;
    height: 138px !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain;
    object-position: center;
}

/* KONTAKTFORMULAR - HVID SEKTION */
.fpfti-contact-form {
    padding: 28px 0 36px !important;
    background: #ffffff;
}

/* Label */
.fpfti-contact-form .fpfti-form-eyebrow {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.3px;
    color: #787878;
}

/* Overskrift */
.fpfti-contact-form h2 {
    margin: 0 0 16px !important;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    color: #212121;
}

/* Beskrivelse */
.fpfti-contact-form .cbx-rich-text > p {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

/* FORMULARBOKS */
.fpfti-contact-form .fpfti-contact-form-box {
    width: 100%;
    min-width: 0;
    padding: 26px !important;
    background: #f6f6f6;
    border: 1px solid #e8e8e8;
    box-sizing: border-box;
}

/* Almindelige formularfelter */
.fpfti-contact-form .fpfti-contact-form-box input,
.fpfti-contact-form .fpfti-contact-form-box textarea,
.fpfti-contact-form .fpfti-contact-form-box select {
    max-width: 100%;
    box-sizing: border-box;
}

/* Send-knap */
.fpfti-contact-form .fpfti-contact-form-box button[type="submit"] {
    min-height: 44px;
    padding: 0 22px;
    font-size: 13px;
    font-weight: 700;
    background: #252525;
    color: #ffffff;
    border: 1px solid #252525;
    cursor: pointer;
}

.fpfti-contact-form .fpfti-contact-form-box button[type="submit"]:hover {
    background: #97271b;
    border-color: #97271b;
}

/* Telefonikon. Tilføj fti-contact-phone på telefonens billedcontainer.
   Det oprindelige billede bevares i CMS. Kurts billede berøres ikke. */
.fpfti-contact .fpfti-contact-image.fti-contact-phone {
    position: relative;
    display: grid;
    place-items: center;
}

.fpfti-contact .fpfti-contact-image.fti-contact-phone > .uk-grid {
    display: none;
}

.fpfti-contact .fpfti-contact-image.fti-contact-phone::before {
    width: 64px;
    height: 64px;
    background: #97271b;
    border-radius: 50%;
    content: "";
}

/* Det hvide telefonrør placeres midt i den røde cirkel. */
.fpfti-contact .fpfti-contact-image.fti-contact-phone::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    background: #ffffff;
    transform: translate(-50%, -50%);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.24 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1 11.4 11.4 0 0 0 .57 3.6 1 1 0 0 1-.24 1z'/%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'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.24 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1 11.4 11.4 0 0 0 .57 3.6 1 1 0 0 1-.24 1z'/%3E%3C/svg%3E") center / contain no-repeat;
    content: "";
}

/* ==========================================
   20. LEVERINGSTIDER
   ========================================== */

/* FTI - LEVERINGSTIDER */
/* HOVEDCONTAINER */
.fti-delivery {
    width: 100%;
    max-width: 1170px !important;
    min-width: 0;
    margin: 0 auto !important;
    padding: 35px 0 60px !important;
    color: #333;
    box-sizing: border-box;
}

/* Nulstil yderste UIkit-grid */
.fti-delivery > .uk-grid {
    margin-left: 0 !important;
}

.fti-delivery > .uk-grid > div {
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    padding-left: 0 !important;
}

/* Fælles containere */
.fti-delivery .fti-delivery-hero,
.fti-delivery .fti-delivery-overview,
.fti-delivery .fti-delivery-special-section,
.fti-delivery .fti-delivery-specials,
.fti-delivery .fti-delivery-note {
    width: 100%;
    max-width: none !important;
    min-width: 0;
    box-sizing: border-box;
}

/* Fjern indvendig UIkit-padding */
.fti-delivery .fti-delivery-hero,
.fti-delivery .fti-delivery-overview,
.fti-delivery .fti-delivery-special-section,
.fti-delivery .fti-delivery-specials {
    padding: 0 !important;
}

/* Nulstil indvendige grid-afstande */
.fti-delivery .fti-delivery-hero > .uk-grid,
.fti-delivery .fti-delivery-overview > .uk-grid,
.fti-delivery .fti-delivery-special-section > .uk-grid {
    margin-left: 0 !important;
}

.fti-delivery .fti-delivery-hero > .uk-grid > div,
.fti-delivery .fti-delivery-overview > .uk-grid > div,
.fti-delivery .fti-delivery-special-section > .uk-grid > div {
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    padding-left: 0 !important;
}

/* GENEREL TYPOGRAFI */
.fti-delivery .cbx-rich-text {
    margin: 0;
    padding: 0;
}

.fti-delivery .cbx-rich-text > :first-child {
    margin-top: 0;
}

.fti-delivery .cbx-rich-text > :last-child {
    margin-bottom: 0;
}

/* Små røde sektionsoverskrifter */
.fti-delivery .fti-delivery-eyebrow {
    margin: 0 0 10px !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
    color: #97271b !important;
}

/* Hovedoverskrift */
.fti-delivery h1 {
    margin: 0 0 16px !important;
    font-size: 42px !important;
    font-weight: 700;
    line-height: 1.2;
    color: #333 !important;
}

/* Sektionstitler */
.fti-delivery h2 {
    margin: 0 0 12px !important;
    font-size: 28px !important;
    font-weight: 700;
    line-height: 1.3;
    color: #333 !important;
}

/* Almindelig tekst */
.fti-delivery p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

/* INTRODUKTION */
.fti-delivery .fti-delivery-hero {
    margin: 0 0 48px;
    background: #fff;
}

.fti-delivery .fti-delivery-hero p:not(.fti-delivery-eyebrow) {
    max-width: 760px;
    margin: 0;
    font-size: 18px;
    line-height: 1.55;
    color: #555;
}

/* DISTRIBUTIONSOVERSIGT */
.fti-delivery .fti-delivery-overview {
    margin: 0 0 34px;
}

.fti-delivery .fti-delivery-overview h2 {
    margin-bottom: 10px !important;
}

.fti-delivery .fti-delivery-overview .cbx-rich-text > p:not(.fti-delivery-eyebrow) {
    margin: 0 0 24px;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

/* DISTRIBUTIONSTABEL */
/* Understøtter klassen på både table og wrapper */
.fti-delivery table.fti-delivery-table,
.fti-delivery .fti-delivery-table table {
    width: 100% !important;
    max-width: 100%;
    margin: 0;
    font-size: 15px;
    background: #fff;
    border: 1px solid #dcdcdc;
    border-collapse: collapse;
    border-spacing: 0;
    box-sizing: border-box;
}

/* Brede tabeller kan rulles vandret inde i denne container. */
.fti-delivery div.fti-delivery-table {
    width: 100%;
    overflow-x: auto;
}

/* Umbraco placerer tabeloverskrifter i tbody, hvor den første række indeholder th-elementer. */
/* Mørkegrå baggrund */
.fti-delivery .fti-delivery-table tbody tr:first-child th,
.fti-delivery .fti-delivery-table thead th {
    padding: 18px 24px !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-align: left;
    vertical-align: middle;
    background: #333333 !important;
    color: #ffffff !important;
    border: 1px solid #333333 !important;
}

/* Hvid tekst i alle indlejrede elementer */
.fti-delivery .fti-delivery-table tbody tr:first-child th *,
.fti-delivery .fti-delivery-table thead th * {
    color: #ffffff !important;
}

/* Fjern p-tag afstand i header */
.fti-delivery .fti-delivery-table th p {
    margin: 0 !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: #ffffff !important;
}

/* TABELRÆKKER */
.fti-delivery .fti-delivery-table td {
    padding: 16px 24px !important;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
    vertical-align: middle;
    color: #333;
    border: 1px solid #e5e5e5;
}

/* Fjern standardmargin fra p-tags */
.fti-delivery .fti-delivery-table td p {
    margin: 0 !important;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

/* Første kolonne */
.fti-delivery .fti-delivery-table th:first-child,
.fti-delivery .fti-delivery-table td:first-child {
    width: 26.5%;
    border-right: 1px solid #dcdcdc;
}

/* Postnumre */
.fti-delivery .fti-delivery-table td:first-child,
.fti-delivery .fti-delivery-table td:first-child p {
    font-weight: 700;
}

/* Skiftende rækkefarver - kun datarækker */
/* Ulige datarækker */
.fti-delivery .fti-delivery-table tbody tr:nth-child(even) {
    background: #ffffff !important;
}

/* Lige datarækker */
.fti-delivery .fti-delivery-table tbody tr:nth-child(odd):not(:first-child) {
    background: #fafafa !important;
}

/* Lad cellerne arve rækkernes baggrund */
.fti-delivery .fti-delivery-table tbody td {
    background: transparent !important;
}

/* Effekt ved markør over elementet */
.fti-delivery .fti-delivery-table tbody tr:not(:first-child):hover {
    background: #f2f2f2 !important;
}

/* Ekstern fragtmand */
.fti-delivery .fti-delivery-table .fti-delivery-freight-text,
.fti-delivery .fti-delivery-table .fti-delivery-freight-text p {
    color: #97271b !important;
}

/* OVERSKRIFT - SÆRLIGE POSTNUMRE */
.fti-delivery .fti-delivery-special-section {
    margin: 0 0 24px;
}

.fti-delivery .fti-delivery-special-section h2 {
    margin-bottom: 12px !important;
}

.fti-delivery .fti-delivery-special-section .cbx-rich-text > p:not(.fti-delivery-eyebrow) {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

/* GRID MED FEM FRAGTMANDSKORT */
.fti-delivery .fti-delivery-specials {
    margin: 0 0 30px;
}

/* Fem kolonner på desktop */
.fti-delivery .fti-delivery-specials > .uk-grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

/* Nulstil UIkit-kolonner */
.fti-delivery .fti-delivery-specials > .uk-grid > div {
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

/* FRAGTMANDSKORT */
.fti-delivery .fti-delivery-special {
    display: block;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    min-height: 150px;
    height: 100%;
    margin: 0 !important;
    padding: 18px !important;
    background: #f9f2f1 !important;
    border: 1px solid #e8d2cf;
    border-radius: 3px;
    box-sizing: border-box;
}

/* Fjern indvendige grid-afstande */
.fti-delivery .fti-delivery-special > .uk-grid {
    margin: 0 !important;
}

.fti-delivery .fti-delivery-special > .uk-grid > div {
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    padding: 0 !important;
}

/* Postnummer */
.fti-delivery .fti-delivery-special h3 {
    margin: 0 0 15px !important;
    font-size: 17px !important;
    font-weight: 700;
    line-height: 1.3;
    color: #333 !important;
}

/* Beskrivelse */
.fti-delivery .fti-delivery-special p {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

/* Pris */
.fti-delivery .fti-delivery-special strong {
    font-size: 15px;
    font-weight: 700;
    color: #97271b !important;
}

/* Sidste afsnit */
.fti-delivery .fti-delivery-special p:last-child {
    margin-bottom: 0;
}

/* BEMÆRKNING NEDERST */
.fti-delivery .fti-delivery-note {
    width: 100%;
    margin: 0;
    padding: 22px 20px !important;
    background: #f1f1f1 !important;
    border-radius: 3px;
    box-sizing: border-box;
}

/* Nulstil indvendigt grid */
.fti-delivery .fti-delivery-note > .uk-grid {
    margin: 0 !important;
}

.fti-delivery .fti-delivery-note > .uk-grid > div {
    width: 100% !important;
    padding: 0 !important;
}

/* Bemærkningstekst */
.fti-delivery .fti-delivery-note p {
    margin: 0 !important;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

/* ==========================================
   21. KONTAKTFORMULAR
   ========================================== */

/* FTI-kontaktformular */
.fti-contact-form {
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 24px 0 36px !important;
    font-family: Lato, Arial, sans-serif;
    background: #ffffff;
    box-sizing: border-box;
}

/* CONTAINER */
.fti-contact-form > .uk-container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

.fti-contact-form > .uk-container > :is(form, .fti-contact-shell) {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.fti-contact-form > .uk-container > :is(form, .fti-contact-shell) > div {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

.fti-contact-form > .uk-container > :is(form, .fti-contact-shell) > div > span {
    display: block !important;
    width: 100% !important;
}

.fti-contact-form > .uk-container > :is(form, .fti-contact-shell) > div > span > form {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* OVERSKRIFT */
.fti-contact-form .contact-form-header {
    width: 100% !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
    text-align: left !important;
}

/* Formularens titel og hjælpetekst skal komme fra CMS, ikke CSS-indhold. */
.fti-contact-form .contact-form-header .uk-h3,
.fti-contact-form .contact-form-header h2 {
    display: block;
    margin: 0 0 10px !important;
    font-size: 30px !important;
    line-height: 1.3 !important;
    font-weight: 700;
    color: #212121;
}

.fti-contact-form .contact-form-header p,
.fti-contact-form .contact-form-header > div {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #666666;
}

/* FORMULARKORT */
.fti-contact-form span > form > .uk-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 22px !important;
    row-gap: 20px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 24px !important;
    background: #f7f7f7;
    border: 1px solid #dedede;
    border-radius: 2px;
    box-sizing: border-box;
}

/* Felter */
.fti-contact-form span > form > .uk-grid > div {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

/* Skjult felt til spamkontrol */
.fti-contact-form .uk-hidden {
    display: none !important;
}

/* Midlertidige feltnavne til den eksisterende komponent.
   De skjules automatisk, når rigtige labels er indsat i CMS-komponenten. */
.fti-contact-form span > form > .uk-grid > div:not(:has(label)):has(#Navn\*)::before {
    content: "Dit fulde navn*";
}

.fti-contact-form span > form > .uk-grid > div:not(:has(label)):has(#Firma\*)::before {
    content: "Firma*";
}

.fti-contact-form span > form > .uk-grid > div:not(:has(label)):has(#Email\*)::before {
    content: "Email*";
}

.fti-contact-form span > form > .uk-grid > div:not(:has(label)):has(#Emne\*)::before {
    content: "Emne*";
}

.fti-contact-form span > form > .uk-grid > div:not(:has(label)):has(#Din\ besked\*)::before {
    content: "Din besked*";
}

.fti-contact-form span > form > .uk-grid > div:not(:has(label)):has(.uk-input)::before,
.fti-contact-form span > form > .uk-grid > div:not(:has(label)):has(.uk-textarea)::before {
    display: block;
    margin: 0 0 7px;
    font-size: 13px;
    line-height: 18px;
    font-weight: 700;
    color: #333333;
}

/* Rigtige labels forbindes til felterne i formularens komponent. */
.fti-contact-form label {
    display: block;
    margin: 0 0 7px;
    font-size: 13px;
    line-height: 18px;
    font-weight: 700;
    color: #333333;
}

/* INPUTFELTER */
.fti-contact-form .uk-input {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
    height: 42px !important;
    padding: 0 12px !important;
    font-family: Lato, Arial, sans-serif !important;
    font-size: 16px !important;
    line-height: 20px !important;
    background: #ffffff !important;
    color: #333333 !important;
    border: 1px solid #d7d7d7 !important;
    border-radius: 2px !important;
    outline: none !important;
    box-shadow: none !important;
    box-sizing: border-box;
}

.fti-contact-form .uk-input::placeholder,
.fti-contact-form .uk-textarea::placeholder {
    color: #737373 !important;
}

.fti-contact-form .uk-input:focus,
.fti-contact-form .uk-textarea:focus {
    border-color: #97271b !important;
    outline: 2px solid #97271b !important;
    outline-offset: 2px;
}

/* TEKSTFELT */
.fti-contact-form span > form > .uk-grid > div:has(.uk-textarea) {
    grid-column: 1 / -1 !important;
}

.fti-contact-form .uk-textarea {
    display: block;
    width: 100% !important;
    height: 120px !important;
    min-height: 120px !important;
    padding: 12px !important;
    font-family: Lato, Arial, sans-serif !important;
    font-size: 16px !important;
    line-height: 22px !important;
    background: #ffffff !important;
    color: #333333 !important;
    border: 1px solid #d7d7d7 !important;
    border-radius: 2px !important;
    outline: none !important;
    box-shadow: none !important;
    resize: vertical;
    box-sizing: border-box;
}

/* KNAP */
.fti-contact-form span > form > .uk-grid > div:has(button[type="submit"]) {
    grid-column: 1 / -1 !important;
}

.fti-contact-form button[type="submit"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 140px !important;
    height: 46px !important;
    margin: 0 !important;
    padding: 0 18px !important;
    font-family: Lato, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 18px !important;
    font-weight: 700 !important;
    background: #2b2b2b !important;
    color: #ffffff !important;
    border: 0 !important;
    border-radius: 2px !important;
    cursor: pointer;
    box-sizing: border-box;
}

.fti-contact-form button[type="submit"] .uk-icon {
    display: none !important;
}

/* Knappens tekst kommer fra CMS og har kun ét tilgængeligt navn. */
.fti-contact-form button[type="submit"] .uk-text-bold {
    font-size: 13px !important;
    text-transform: uppercase;
}

.fti-contact-form button[type="submit"]:focus-visible {
    outline: 2px solid #97271b;
    outline-offset: 3px;
}

.fti-contact-form button[type="submit"]:hover {
    background: #1f1f1f !important;
}

/* ==========================================
   22. SIDEFOD
   ========================================== */

/* YDERSTE FOOTER */
.fpfti-footer {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 38px 24px !important;
    background: #211d1c !important;
    color: #fff;
    box-sizing: border-box;
}

/* INDRE CONTAINER */
.fpfti-footer .fpfti-footer-inner {
    width: 100% !important;
    max-width: 1170px !important;
    min-width: 0;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box;
}

/* FIRE FOOTER-KOLONNER */
.fpfti-footer .fpfti-footer-inner > .uk-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) minmax(0, 1.1fr) minmax(0, 1.1fr);
    align-items: start;
    column-gap: 36px;
    row-gap: 28px;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

/* Nulstil UIkits kolonnebredder */
.fpfti-footer .fpfti-footer-inner > .uk-grid > div {
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

/* Nulstil indvendig containerafstand */
.fpfti-footer .fpfti-footer-logo,
.fpfti-footer .fpfti-footer-company,
.fpfti-footer .fpfti-footer-info,
.fpfti-footer .fpfti-footer-help {
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    margin: 0;
    padding: 0 !important;
    box-sizing: border-box;
}

/* GENEREL TYPOGRAFI */
.fpfti-footer .cbx-rich-text {
    margin: 0;
    padding: 0;
    text-align: left;
}

.fpfti-footer .cbx-rich-text > :first-child {
    margin-top: 0;
}

.fpfti-footer .cbx-rich-text > :last-child {
    margin-bottom: 0;
}

/* Overskrifter */
.fpfti-footer .cbx-rich-text h2,
.fpfti-footer .cbx-rich-text h3,
.fpfti-footer .cbx-rich-text h4 {
    margin: 0 0 14px !important;
    font-size: 13px !important;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.8px;
    text-align: left;
    text-transform: uppercase;
    color: #c6c2c0 !important;
}

/* Afsnit */
.fpfti-footer .cbx-rich-text p {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.6;
    color: #e1dddd !important;
}

/* Fremhævet tekst */
.fpfti-footer .cbx-rich-text strong {
    font-weight: 700;
    color: #fff !important;
}

/* Links */
.fpfti-footer .cbx-rich-text a {
    text-decoration: none;
    color: #fff !important;
    transition: color 0.2s ease;
}

.fpfti-footer .cbx-rich-text a:hover {
    text-decoration: underline;
    color: #e6b8b0 !important;
}

.fpfti-footer a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

/* KOLONNE 1 - LOGO */
.fpfti-footer .fpfti-footer-logo .cbx-image {
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: left;
}

.fpfti-footer .fpfti-footer-logo img {
    display: block;
    width: 185px !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0;
    padding: 0;
    object-fit: contain;
    object-position: left center;
}

/* KOLONNE 2 - VIRKSOMHED */
.fpfti-footer .fpfti-footer-company p {
    margin: 0 0 12px;
}

.fpfti-footer .fpfti-footer-company p:last-child {
    margin-bottom: 0;
}

/* KOLONNE 3 - INFORMATION */
.fpfti-footer .fpfti-footer-info p {
    margin: 0 0 8px;
}

/* KOLONNE 4 - NYTTIG INFORMATION */
.fpfti-footer .fpfti-footer-help p {
    margin: 0 0 12px;
}

/* Ens afstand mellem knapper */
.fpfti-footer .fpfti-footer-help p:has(.fpfti-footer-button) {
    margin: 0 0 10px;
}

/* FOOTER-KNAPPER */
/* Primær knap: Bliv forhandler */
.fpfti-footer .cbx-rich-text a.fpfti-footer-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 165px;
    min-height: 42px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none !important;
    background: #97271b;
    color: #fff !important;
    border: 1px solid #97271b;
    border-radius: 3px;
    transition: background 0.2s ease, border-color 0.2s ease;
    box-sizing: border-box;
}

/* Effekt ved markør over elementet på primær knap */
.fpfti-footer .cbx-rich-text a.fpfti-footer-button:hover {
    text-decoration: none;
    background: #b23224;
    color: #fff !important;
    border-color: #b23224;
}

/* Sekundær knap: Se leveringstider */
.fpfti-footer .cbx-rich-text a.fpfti-footer-button.fpfti-footer-button-outline {
    background: transparent;
    color: #fff !important;
    border: 1px solid #97271b;
}

/* Effekt ved markør over elementet på sekundær knap */
.fpfti-footer .cbx-rich-text a.fpfti-footer-button.fpfti-footer-button-outline:hover {
    background: #97271b;
    color: #fff !important;
    border-color: #97271b;
}

/* ==========================================
   23. KATEGORISLIDER
   ========================================== */

/* INDRE CONTAINER */
.categories-slider-container.uk-container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

.categories-slider-container > div {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
}

/* OVERSKRIFT */
.categories-slider-texts {
    width: 100%;
    margin: 0 0 20px !important;
    padding: 0 !important;
    text-align: left !important;
}

.categories-slider-texts .categories-slider-headline {
    margin: 0 !important;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    text-align: left !important;
    color: #333;
}

/* SLIDER */
.categories-slider {
    position: relative;
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: Lato, Arial, sans-serif;
}

.categories-slider *,
.categories-slider *::before,
.categories-slider *::after {
    box-sizing: border-box;
}

.categories-slider::before {
    content: none !important;
}

.categories-slider .uk-slider {
    width: 100%;
}

/* Positionering af navigationspile */
.categories-slider .uk-slider > .uk-position-relative {
    position: static !important;
}

/* Synligt område */
/* Beskæringen skjuler kategorier uden for sliderens synlige område. */
.categories-slider .uk-slider-container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
}

/* KATEGORIER */
/* Negativ venstremargin udligner kortenes indvendige afstand. */
.categories-slider .uk-slider-items {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
    column-gap: 0 !important;
    margin: 0 0 0 -12px !important;
    padding: 0 !important;
    list-style: none;
}

/* Desktop: 7 synlige kategorier */
.categories-slider .uk-slider-items > li {
    flex: 0 0 14.285714% !important;
    width: 14.285714% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 0 0 12px !important;
    list-style: none;
}

/* KATEGORIKORT */
.categories-slider .category-preview {
    display: flex !important;
    flex-direction: column;
    width: 100%;
    height: 100%;
    margin: 0 !important;
    background: #fff !important;
}

.categories-slider .category-preview > .uk-padding {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.categories-slider .product-preview-transition-container {
    display: none !important;
}

/* PRODUKTBILLEDER */
.categories-slider .category-image {
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 100% !important;
    aspect-ratio: 1 / 1;
    margin: 0 0 8px !important;
    padding: 0 !important;
    background: #fff !important;
    overflow: hidden;
}

.categories-slider .category-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    transition: transform 0.2s ease;
    object-fit: contain !important;
    object-position: center;
}

.categories-slider .category-image:hover img {
    transform: scale(1.03);
}

/* KATEGORINAVNE */
.categories-slider .category-preview-texts {
    width: 100%;
    margin: 0 !important;
    padding: 0 3px;
    text-align: center;
}

.categories-slider .category-name {
    margin: 0 !important;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 400 !important;
    color: #333;
}

.categories-slider .category-name a {
    font-weight: 400 !important;
    text-decoration: underline;
    text-underline-offset: 3px;
    color: #333 !important;
}

.categories-slider .category-name a:hover {
    color: #97271b !important;
}

/* NAVIGATION */
/* Pilene placeres over slideren; det eksisterende lag 10 er bevaret. */
.categories-slider .categories-slider-arrows {
    position: absolute !important;
    top: -56px !important;
    right: 0 !important;
    left: auto !important;
    z-index: 10;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.categories-slider .categories-slider-arrows::before {
    margin-right: 10px;
    font-size: 12px;
    font-weight: 400;
    white-space: nowrap;
    color: #777;
    content: "Træk for at se flere";
}

/* Pileknapper */
.categories-slider .categories-slider-previous,
.categories-slider .categories-slider-next {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin: 0 !important;
    padding: 0 !important;
    text-decoration: none;
    border: 0;
    border-radius: 0;
}

.categories-slider .categories-slider-previous {
    background: #f2f2f2;
    color: #333;
}

.categories-slider .categories-slider-next {
    background: #97271b;
    color: #fff;
}

.categories-slider .categories-slider-previous svg,
.categories-slider .categories-slider-next svg {
    width: 9px;
    height: 15px;
}

.categories-slider .categories-slider-previous svg polyline {
    stroke: #333 !important;
}

.categories-slider .categories-slider-next svg polyline {
    stroke: #fff !important;
}

.categories-slider .categories-slider-previous:hover {
    background: #e5e5e5;
}

.categories-slider .categories-slider-next:hover {
    background: #7e2017;
}

.categories-slider .categories-slider-arrows .uk-invisible {
    pointer-events: none;
    visibility: visible !important;
    opacity: 0.35;
}

/* SKJUL PRIKNAVIGATION */
.categories-slider .uk-slider-nav {
    display: none !important;
}

/* REDUCER LUFT UNDER SLIDEREN */
/* Selve slideren */
.categories-slider,
.categories-slider .uk-slider,
.categories-slider-container {
    min-height: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Chainbox-elementet med slideren */
[data-content-element-type-alias="cbxCategoriesSlider"] {
    min-height: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Yderste Chainbox-element omkring slideren */
[data-content-element-type-alias="cbxContainer"]:has(.categories-slider) {
    min-height: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Fjern ekstra afstand før næste Grid-element */
[data-content-element-type-alias="cbxContainer"]:has(.categories-slider) + [data-content-grid-area] {
    margin-top: 25px !important;
}

/* Hvis næste element ligger direkte efter sliderblokken */
[data-content-element-type-alias="cbxCategoriesSlider"] + [data-content-grid-area] {
    margin-top: 25px !important;
}

/* ==========================================
   24. RESPONSIVE TILPASNINGER
   ========================================== */

/* Desktop fra 960 px. */
@media (min-width: 960px) {

    /* Forhandlersiden flugter med header og brødkrumme:
       1400 px indhold plus 15 px padding i hver side, med border-box. */
    .umb-block-grid:has(.fti-dealer-intro) {
        max-width: 1430px;
        padding: 0 15px;
    }

    /* Samme desktopbredde på leveringstider. !important overskriver
       containerens eksisterende bredde og sidepadding; top og bund bevares. */
    .fti-delivery {
        max-width: 1430px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Lavere USP-bjælke trækker kategorierne op uden at ændre tekst eller ikoner. */
    .fpfti-benefits .usp-main {
        min-height: 84px;
        padding: 18px 24px !important;
    }

    /* Fjern CMS'ets inline-padding under USP. Sektionen efter styrer afstanden. */
    .fpfti-benefits > .uk-grid {
        padding-bottom: 0 !important;
    }

    main > .umb-block-grid > .uk-grid > div:has(.fpfti-benefits) + div:has(.categories-slider) {
        margin-top: 16px !important;
    }

    /* Fælles anker for overskrift og pile. !important erstatter CMS-inline-padding. */
    main > .umb-block-grid > .uk-grid > div:has(.fpfti-benefits) + div:has(.categories-slider) > .cbx-container > .uk-grid {
        position: relative;
        padding-top: 0 !important;
    }

    /* Reserver plads til pilene, så overskrift og tekst ikke overlapper dem. */
    main > .umb-block-grid > .uk-grid > div:has(.fpfti-benefits) + div:has(.categories-slider) > .cbx-container > .uk-grid > [data-content-element-type-alias="cbxRichText"] {
        min-height: 38px;
        padding-right: 230px;
    }

    main > .umb-block-grid > .uk-grid > div:has(.fpfti-benefits) + div:has(.categories-slider) > .cbx-container > .uk-grid > [data-content-element-type-alias="cbxRichText"] > .cbx-rich-text > p:first-child {
        margin-top: 0;
        margin-bottom: 8px;
    }

    main > .umb-block-grid > .uk-grid > div:has(.fpfti-benefits) + div:has(.categories-slider) > .cbx-container > .uk-grid > [data-content-element-type-alias="cbxRichText"] > .cbx-rich-text > p:last-child {
        margin-top: 0;
        margin-bottom: 0;
    }

    main > .umb-block-grid > .uk-grid > div:has(.fpfti-benefits) + div:has(.categories-slider) > .cbx-container > .uk-grid > [data-content-element-type-alias="cbxCategoriesSlider"] {
        margin-top: 12px !important;
    }

    /* CMS'et udskriver en tom overskriftsblok, selv om teksten står separat. */
    main > .umb-block-grid > .uk-grid > div:has(.fpfti-benefits) + div:has(.categories-slider) .categories-slider-texts:empty {
        display: none;
    }

    /* Pilene forankres nu i sektionens grid frem for selve billedrækken. */
    main > .umb-block-grid > .uk-grid > div:has(.fpfti-benefits) + div:has(.categories-slider) .categories-slider {
        position: static;
    }

    main > .umb-block-grid > .uk-grid > div:has(.fpfti-benefits) + div:has(.categories-slider) .categories-slider-arrows {
        top: 0 !important;
    }
}

/* Tablet og mobil, højst 959 px. Rækkefølgen i kaskaden er bevaret. */
@media (max-width: 959px) {
    /* Skjul USP og dens yderste CMS-blok i mobilvisningen uden tom plads.
       !important overskriver komponentens og UIkits display-regler. */
    .fpfti-benefits,
    main > .umb-block-grid > .uk-grid > div:has(.fpfti-benefits) {
        display: none !important;
    }

    /* Til og med 959 px vises kun den særskilte mobilsektion. */
    .fpfti-hero-desktop,
    .uk-grid > div:has(> .fpfti-hero-desktop) {
        display: none !important;
    }

    .fpfti-hero-mobile,
    .uk-grid > div:has(> .fpfti-hero-mobile) {
        display: block !important;
    }

    /* Forside: stablede bannere beholder billedernes naturlige proportioner. */
    .fpfti-hero > .uk-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .fpfti-hero .fpfti-hero-side {
        position: static;
    }

    .fpfti-hero-side > .uk-grid {
        grid-template-rows: auto auto;
        height: auto;
    }

    .fpfti-hero-side .cbx-image,
    .fpfti-hero-side .cbx-image a,
    .fpfti-hero .fpfti-hero-side .cbx-image img {
        height: auto;
    }

    .fpfti-about > .uk-grid {
        gap: 28px;
    }

    .umb-block-grid:has(.fti-dealer-intro) {
        padding: 0 24px;
    }

    .fti-application {
        padding: 20px !important;
    }

    /* Formularen vises først på tablet og mobil uden smalle sidekolonner. */
    .fti-application-columns > .uk-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .fti-application-columns > .uk-grid > div:has(> .fti-application-form) {
        grid-column: 1;
        grid-row: 1;
    }

    .fti-application-columns > .uk-grid > div:has(> .fti-why) {
        grid-column: 1;
        grid-row: 2;
    }

    .fti-application-form .contact-form span > form > .uk-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 14px !important;
    }

    /* 16 px gør felterne læsbare og modvirker automatisk zoom ved fokus. */
    .fti-application-form .uk-input,
    .fti-application-form .uk-select,
    .fti-application-form .uk-textarea {
        font-size: 16px;
    }

    .fti-benefits > .uk-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .fpfti-contact .fpfti-contact-grid > .uk-grid {
        gap: 18px;
    }

    .fpfti-contact .fpfti-contact-card {
        padding: 18px !important;
    }

    .fpfti-contact .fpfti-contact-card > .uk-grid {
        grid-template-columns: minmax(0, 1fr) 100px;
        gap: 12px;
    }

    .fpfti-contact .fpfti-contact-image {
        width: 100px !important;
        max-width: 100px !important;
        height: 100px;
    }

    .fpfti-contact .fpfti-contact-image .cbx-image,
    .fpfti-contact .fpfti-contact-image img {
        width: 100px !important;
        height: 100px !important;
    }

    .fpfti-contact .fpfti-contact-text h2,
    .fpfti-contact .fpfti-contact-text h3 {
        font-size: 20px !important;
    }

    .fti-delivery {
        padding: 30px 24px 45px !important;
    }

    .fti-delivery h1 {
        font-size: 36px !important;
    }

    .fti-delivery h2 {
        font-size: 25px !important;
    }

    .fti-delivery .fti-delivery-specials > .uk-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

    .fpfti-maincategories .fpfti-category-image {
        height: 190px;
    }

    .fpfti-dealer-cta {
        padding: 32px !important;
    }

    .fpfti-dealer-cta > .uk-grid,
    .fpfti-dealer-cta > .uk-container > .uk-grid {
        gap: 32px;
    }

    .fpfti-dealer-cta .fpfti-dealer-cta-left h2 {
        font-size: 25px;
    }

    .fpfti-dealer-cta .fpfti-dealer-cta-right h3 {
        font-size: 19px;
    }

    .fpfti-featured .fpfti-featured-row.uk-grid,
    .fpfti-featured .fpfti-featured-row > .uk-grid {
        grid-template-columns: minmax(0, 35fr) minmax(0, 65fr);
        gap: 16px;
    }

    .fpfti-featured .fpfti-featured-image {
        height: 260px;
        margin-top: 14px !important;
    }

    .fpfti-featured .fpfti-featured-image img {
        height: 260px;
    }

    .fpfti-featured .fpfti-featured-image .cbx-rich-text {
        padding: 14px !important;
    }

    .fpfti-featured .fpfti-featured-image h3 {
        font-size: 18px;
    }

    .fpfti-footer {
        padding: 36px 28px !important;
    }

    .fpfti-footer .fpfti-footer-inner > .uk-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 30px;
        row-gap: 30px;
    }
}

/* Kategorislider på tablet, fra 601 til 959 px. Rækkefølgen i kaskaden er bevaret. */
@media (min-width: 601px) and (max-width: 959px) {

    .categories-slider-texts .categories-slider-headline {
        font-size: 21px;
    }

    .categories-slider .uk-slider-items {
        margin-left: -12px !important;
    }

    .categories-slider .uk-slider-items > li {
        flex-basis: 25% !important;
        width: 25% !important;
        padding-left: 12px !important;
    }

    .categories-slider .categories-slider-arrows::before {
        display: none;
    }
}

/* Mobil, højst 767 px. Rækkefølgen i kaskaden er bevaret. */
@media (max-width: 767px) {

    .fpfti-about > .uk-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .fpfti-about-text.fpfti-about-collapsed {
        max-height: calc(5 * 15px * 1.65);
    }

    .umb-block-grid:has(.fti-dealer-intro) {
        padding: 0 16px;
    }

    .fti-dealer-intro h1 {
        font-size: 30px;
    }

    .fti-dealer-intro p {
        font-size: 15px;
    }

    .fti-dealer-contact {
        padding: 16px !important;
    }

    .fti-dealer-contact > .uk-grid {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 12px;
    }

    .fti-dealer-contact-image .cbx-image,
    .fti-dealer-contact-image img {
        width: 64px !important;
        height: 64px !important;
        max-width: 64px !important;
    }

    /* Undgå tredobbelt indvendig afstand på mobil. */
    .fti-application {
        padding: 0 !important;
    }

    .fti-application-columns > .uk-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .fti-why,
    .fti-application-form {
        height: auto;
        padding: 16px !important;
    }

    .fti-benefits > .uk-grid {
        gap: 12px;
    }

    /* Intro */
    .fpfti-contact-intro {
        padding-top: 16px !important;
        padding-bottom: 12px !important;
    }

    .fpfti-contact-intro h1 {
        font-size: 26px;
    }

    /* Kontaktsektion */
    .fpfti-contact {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }

    .fpfti-contact > .uk-grid > div > .cbx-rich-text h2 {
        margin-bottom: 18px !important;
        font-size: 24px;
    }

    /* Kort under hinanden */
    .fpfti-contact .fpfti-contact-grid > .uk-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .fpfti-contact .fpfti-contact-card {
        min-height: 0;
        padding: 18px !important;
    }

    .fpfti-contact .fpfti-contact-card > .uk-grid {
        grid-template-columns: minmax(0, 1fr) 80px;
        gap: 12px;
    }

    /* Billeder */
    .fpfti-contact .fpfti-contact-image {
        width: 80px !important;
        max-width: 80px !important;
        height: 80px;
    }

    .fpfti-contact .fpfti-contact-image .cbx-image,
    .fpfti-contact .fpfti-contact-image img {
        width: 80px !important;
        height: 80px !important;
    }

    .fpfti-contact .fpfti-contact-text h2,
    .fpfti-contact .fpfti-contact-text h3 {
        font-size: 19px !important;
    }

    .fpfti-contact .fpfti-contact-text p,
    .fpfti-contact .fpfti-contact-text a {
        font-size: 14px;
    }

    /* Kontaktformular */
    .fpfti-contact-form {
        padding-top: 20px !important;
        padding-bottom: 28px !important;
    }

    .fpfti-contact-form h2 {
        font-size: 24px;
    }

    .fpfti-contact-form .fpfti-contact-form-box {
        padding: 18px !important;
    }

    .fti-delivery {
        padding: 25px 18px 40px !important;
    }

    /* Overskrifter */
    .fti-delivery h1 {
        font-size: 30px !important;
    }

    .fti-delivery h2 {
        font-size: 23px !important;
    }

    .fti-delivery .fti-delivery-eyebrow {
        font-size: 12px;
    }

    /* Introduktion */
    .fti-delivery .fti-delivery-hero {
        margin-bottom: 30px;
    }

    .fti-delivery .fti-delivery-hero p:not(.fti-delivery-eyebrow) {
        font-size: 16px;
    }

    /* Tabel */
    .fti-delivery .fti-delivery-table th,
    .fti-delivery .fti-delivery-table td {
        padding: 13px 12px !important;
        font-size: 13px;
    }

    .fti-delivery .fti-delivery-table th:first-child,
    .fti-delivery .fti-delivery-table td:first-child {
        width: 35%;
    }

    /* To fragtmandskort pr. række */
    .fti-delivery .fti-delivery-specials > .uk-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .fti-delivery .fti-delivery-special {
        min-height: 135px;
        padding: 15px !important;
    }

    .fti-delivery .fti-delivery-special h3 {
        font-size: 15px !important;
    }

    .fti-delivery .fti-delivery-special p {
        font-size: 13px;
    }

    .fti-delivery .fti-delivery-special strong {
        font-size: 14px;
    }

    /* Bemærkning */
    .fti-delivery .fti-delivery-note {
        padding: 18px !important;
    }

    /* To kolonner i det aktuelle CMS-grid. Den tidligere selector bevares også. */
    .fpfti-maincategories > .uk-grid,
    .fpfti-maincategories .fpfti-category-grid > .uk-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        gap: 10px !important;
        margin: 0 !important;
    }

    /* UIkits hjælpelag må ikke optage felter i CSS-gridet. */
    .fpfti-maincategories > .uk-grid::before,
    .fpfti-maincategories > .uk-grid::after,
    .fpfti-maincategories .fpfti-category-grid > .uk-grid::before,
    .fpfti-maincategories .fpfti-category-grid > .uk-grid::after {
        content: none;
    }

    /* !important nulstiller CMS'ets kolonnebredder og ekstra grid-afstande. */
    .fpfti-maincategories > .uk-grid > *,
    .fpfti-maincategories .fpfti-category-grid > .uk-grid > * {
        width: auto !important;
        max-width: none !important;
        min-width: 0;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Overskriften forbliver i fuld bredde over kortene. */
    .fpfti-maincategories > .uk-grid > [data-content-element-type-alias="cbxRichText"],
    .fpfti-maincategories > .uk-grid > div:has(> .fpfti-category-grid) {
        grid-column: 1 / -1;
    }

    .fpfti-maincategories .fpfti-category-card {
        width: 100%;
        height: 100%;
        min-width: 0;
        border-radius: 10px;
    }

    /* Fjern indlejrede grid-margener mellem billedet og tekstfeltet. */
    .fpfti-maincategories .fpfti-category-card .uk-grid {
        gap: 0 !important;
        width: 100%;
        margin: 0 !important;
        padding: 0 !important;
    }

    .fpfti-maincategories .fpfti-category-card .uk-grid > * {
        width: 100%;
        min-width: 0;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Billedformatet svarer til de eksisterende billeder på 340 x 200 px. */
    .fpfti-maincategories .fpfti-category-image {
        width: 100%;
        height: auto;
        aspect-ratio: 17 / 10;
    }

    .fpfti-maincategories .fpfti-category-image > a {
        display: block;
        width: 100%;
        height: 100%;
    }

    .fpfti-maincategories .fpfti-category-image img {
        width: 100%;
        height: 100%;
        padding: 0;
        object-fit: cover;
    }

    .fpfti-maincategories .fpfti-category-text {
        padding: 10px !important;
    }

    /* Mindst to tekstlinjer giver rolige kort. Længere navne må vokse frit. */
    .fpfti-maincategories .fpfti-category-text .fpfti-category-name,
    .fpfti-maincategories .fpfti-category-text .cbx-button > a.uk-button {
        min-height: 2.7em;
        margin: 0 !important;
        font-size: 14px !important;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }

    .fpfti-maincategories .fpfti-category-cta {
        margin: 0 !important;
        font-size: 11px !important;
        line-height: 1.4;
    }

    .fpfti-dealer-cta {
        padding: 28px 20px !important;
    }

    .fpfti-dealer-cta > .uk-grid,
    .fpfti-dealer-cta > .uk-container > .uk-grid {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    .fpfti-dealer-cta > .uk-grid > *,
    .fpfti-dealer-cta > .uk-container > .uk-grid > * {
        flex: 0 0 auto;
        width: 100% !important;
        max-width: none !important;
    }

    .fpfti-dealer-cta .fpfti-dealer-cta-left,
    .fpfti-dealer-cta .fpfti-dealer-cta-right {
        flex: 0 0 auto;
        width: 100%;
    }

    .fpfti-dealer-cta .fpfti-dealer-cta-left h2 {
        font-size: 24px;
    }

    .fpfti-dealer-cta .fpfti-dealer-cta-right h3 {
        font-size: 18px;
    }

    .fpfti-dealer-cta .fpfti-dealer-button a {
        width: 100%;
    }

    .fpfti-featured {
        padding: 24px 0;
    }

    /* Billedet over produktslideren */
    .fpfti-featured .fpfti-featured-row.uk-grid,
    .fpfti-featured .fpfti-featured-row > .uk-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .fpfti-featured .fpfti-featured-image,
    .fpfti-featured .fpfti-featured-slider {
        width: 100% !important;
        max-width: 100% !important;
    }

    .fpfti-featured .fpfti-featured-image {
        height: 240px;
        margin-top: 0 !important;
    }

    .fpfti-featured .fpfti-featured-image img {
        height: 240px;
    }

    .fpfti-featured .fpfti-featured-image .cbx-rich-text {
        padding: 18px !important;
    }

    .fpfti-featured .fpfti-featured-image h3 {
        font-size: 20px;
    }

    .fpfti-featured .fpfti-featured-link a {
        font-size: 13px;
    }

    .fpfti-featured > .cbx-rich-text h2 {
        font-size: 22px;
    }

    .fpfti-about-content h2 {
        font-size: 24px;
    }

    .fpfti-about-content .cbx-rich-text > p {
        font-size: 15px;
        line-height: 1.6;
    }

    .fti-contact-form {
        padding: 20px 0 28px !important;
    }

    .fti-contact-form .contact-form-header .uk-h3,
    .fti-contact-form .contact-form-header h2 {
        font-size: 24px !important;
    }

    .fti-contact-form span > form > .uk-grid {
        grid-template-columns: 1fr !important;
        row-gap: 16px !important;
        padding: 20px !important;
    }

    .fti-contact-form span > form > .uk-grid > div {
        grid-column: 1 !important;
    }

    .fti-contact-form button[type="submit"] {
        width: 100% !important;
    }

    /* Bevares til alternative CMS-opbygninger. Den aktive side bruger reglerne ved 768 px. */
    .fti-about-focus,
    .fti-about-customers-inner {
        width: 90%;
    }

    .fti-about-dealer h2 {
        font-size: 29px !important;
        line-height: 37px !important;
    }

    .fti-about-dealer p {
        font-size: 17px !important;
        line-height: 27px !important;
        font-size: 17px;
        line-height: 27px;
    }

    .fti-about-focus {
        min-height: 0;
        margin-top: 45px;
    }

    /* Introduktion */
    .fti-about-hero {
        height: auto;
        min-height: 420px;
    }

    .fti-about-hero-content {
        padding: 55px 0 45px;
    }

    .fti-about-hero h1 {
        font-size: 36px !important;
        line-height: 44px !important;
        font-size: 36px;
        line-height: 44px;
    }

    /* Fælles overskrifter */
    .fti-about-focus h2,
    .fti-about-customers h2,
    .fti-about-dealer h2 {
        font-size: 29px;
        line-height: 37px;
    }

    /* Fokus */
    .fti-about-focus {
        padding: 10px 0 50px;
    }

    /* Vores kunder */
    .fti-about-customers {
        padding: 50px 0;
    }

    /* Bliv forhandler */
    .fti-about-dealer {
        padding-top: 40px;
    }

    .fpfti-footer {
        padding: 32px 20px !important;
    }

    .fpfti-footer .fpfti-footer-inner > .uk-grid {
        grid-template-columns: minmax(0, 1fr);
        column-gap: 0;
        row-gap: 26px;
    }

    .fpfti-footer .fpfti-footer-logo img {
        width: 165px !important;
    }

    .fpfti-footer .cbx-rich-text a.fpfti-footer-button {
        width: 100%;
        max-width: 320px;
    }
}

/* Særlige regler til og med 768 px, efter 767 px-reglerne. Rækkefølgen i kaskaden er bevaret. */
@media (max-width: 768px) {

    .fpfti-benefits .usp-main {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 25px 20px !important;
    }

    img[id^="category-image-preview-"] {
        min-height: 280px;
    }

    /* Om FTI: samlet mobilopsætning ved det eksisterende breakpoint. */
    .fti-about-hero-inner {
        padding: 28px 15px;
    }

    .fti-about-hero-inner h1 {
        font-size: 36px;
        line-height: 44px;
    }

    .fti-about-hero-lead {
        margin-bottom: 20px;
        font-size: 20px;
        line-height: 29px;
    }

    .fti-about-hero-text,
    .fti-about-history p {
        font-size: 16px;
        line-height: 26px;
    }

    .fti-about-history {
        padding-top: 28px;
    }

    .fti-about-focus-grid,
    .fti-about-customers-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        padding: 28px 0;
    }

    .fti-about-history h2,
    .fti-about-focus-content h2,
    .fti-about-customers-content h2,
    .fti-about-dealer-box h2 {
        font-size: 29px;
        line-height: 37px;
    }

    .fti-about-focus-content p,
    .fti-about-customers-content p,
    .fti-about-dealer-box p {
        font-size: 17px;
        line-height: 27px;
    }

    .fti-about-highlight,
    .fti-about-contact-card {
        padding: 24px;
    }

    .fti-about-highlight h3 {
        max-width: none;
        font-size: 22px;
        line-height: 29px;
    }

    .fti-about-highlight p {
        max-width: none;
    }

    .fti-about-dealer-box {
        display: block;
        margin: 28px auto;
        padding: 24px;
    }

    .fti-about-dealer-action {
        width: 100%;
        margin-top: 24px;
    }

    .fti-about-dealer-button {
        width: 100%;
    }
}

/* Kategorislider på mobil, højst 600 px. Rækkefølgen i kaskaden er bevaret. */
@media (max-width: 600px) {

    .categories-slider-texts {
        margin-bottom: 18px !important;
    }

    .categories-slider-texts .categories-slider-headline {
        font-size: 19px;
    }

    .categories-slider .uk-slider-items {
        margin-left: -10px !important;
    }

    .categories-slider .uk-slider-items > li {
        flex-basis: 50% !important;
        width: 50% !important;
        padding-left: 10px !important;
    }

    .categories-slider .category-name {
        font-size: 12px;
    }

    .categories-slider .categories-slider-arrows {
        top: -48px !important;
    }

    .categories-slider .categories-slider-arrows::before {
        display: none;
    }

    .categories-slider .categories-slider-previous,
    .categories-slider .categories-slider-next {
        width: 32px;
        height: 32px;
    }
}

/* Mindre mobilskærme, højst 500 px. Rækkefølgen i kaskaden er bevaret. */
@media (max-width: 500px) {

    .fti-application-form .contact-form span > form > .uk-grid {
        grid-template-columns: 1fr !important;
    }

    .fti-benefits > .uk-grid {
        grid-template-columns: 1fr;
    }
}

/* Små mobilskærme, højst 420 px. Rækkefølgen i kaskaden er bevaret. */
@media (max-width: 420px) {

    .fti-delivery .fti-delivery-specials > .uk-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .fti-delivery .fti-delivery-special {
        min-height: 0;
    }
}

/* Reduceret bevægelse. Rækkefølgen i kaskaden er bevaret. */
@media (prefers-reduced-motion: reduce) {

    .fpfti-dealer-cta .fpfti-dealer-button a {
        transition: none;
    }

    .fpfti-featured .fpfti-featured-link a {
        scroll-behavior: auto;
    }

    .fpfti-footer .cbx-rich-text a {
        transition: none;
    }
}
