/*-- -------------------------- -->
<---       Generelle Stiler        -->
<--- -------------------------- -*/

h2 {
    text-align: left;
    font-size: var(--global-kb-font-size-l, 2rem);
    line-height: 1.2;
    color: #062983;
}

/*-- -------------------------- -->
<---       Why Choose Us        -->
<--- -------------------------- -*/

#why-choose-2058 {
    background-color: rgb(236, 245, 255);
    position: relative;
    z-index: 1;
    padding-top:30px;
}

#why-choose-2058 .cs-container {
    width: 100%;
    max-width: 120rem;
    margin: auto;
    padding: 0 1rem; /* NY: Lagt til padding for mobil */
    box-sizing: border-box; /* NY: Sikrer at padding er inkludert i bredden */
    display: grid;
    grid-auto-flow: row;
}

#why-choose-2058 .cs-flex1,
#why-choose-2058 .cs-flex2 {
    display: contents;
    position: relative;
    z-index: 1;
}

#why-choose-2058 .cs-content {
    width: 100%;
    max-width: 43.75rem;
    padding: var(--sectionPadding);
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-self: center;
}

#why-choose-2058 .cs-text {
margin: 1rem 0 0rem;
font-size: 1.2rem;
text-align: center;
}

#why-choose-2058 .cs-title {
text-align:center;
}

#why-choose-2058 .cs-link {
    margin:0 auto;
color: var(--global-palette9, #ffffff);
background: var(--global-palette2, #2B6CB0);
font-size: 1rem;
border-radius: 7px;
font-weight: 700;
text-decoration: none;
margin-bottom: 2rem;
padding-top: var(--global-kb-spacing-xs, 1rem);
padding-right: var(--global-kb-spacing-sm, 1.5rem);
padding-bottom: var(--global-kb-spacing-xs, 1rem);
padding-left: var(--global-kb-spacing-sm, 1.5rem);
width: max-content;
}


/* START: Stiler for nytt bilde */
.cs-static-picture {
    display: none; /* Skjult på mobil som standard */
}

.cs-static-picture .cs-picture,
.cs-static-picture .cs-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 20% 50%;
}
/* --- The Creative Styling --- */

/* Problem side (dempet) */
#problem-solver-2058 .cs-problem {
    background-color: #f1f1f1;
    color: #6d6d6d;
    position: relative; /* VIKTIG: For å posisjonere X-ikonet */
    overflow: hidden;   /* VIKTIG: For å holde X-ikonet innenfor boksen */
}

/* START: LEGG TIL DISSE NYE STILENE */
#problem-solver-2058 .cs-problem .cs-cross-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%; /* Juster størrelsen etter ønske */
    height: 90%; /* Juster størrelsen etter ønske */
    stroke: #d00000; /* En tydelig rødfarge */
    opacity: 0.08; /* Gjør den til et svakt vannmerke */
    z-index: 0; /* Plasserer den bak innholdet */
}

#problem-solver-2058 .cs-problem .cs-h3,
#problem-solver-2058 .cs-problem .cs-ul {
    position: relative;
    z-index: 1; /* Sikrer at teksten ligger over X-ikonet */
}
/* SLUTT: LEGG TIL DISSE NYE STILENE */


#problem-solver-2058 .cs-problem .cs-h3 {
    color: #555555;
}

#problem-solver-2058 .cs-problem svg {
    stroke: #888888;
}

#problem-solver-2058 .cs-problem .cs-list-h4,
#problem-solver-2058 .cs-problem .cs-list-content p {
    color: #555555;
}

#why-choose-2058 .cs-small-picture {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    flex-shrink: 0; /* VIKTIG for at bildene ikke krymper */
}

/* NY: Stiler for selve slider-containeren */
.cs-small-picture-slider {
    width: 100%;
    height: 24.25rem;
    display: block;
    position: relative;
    overflow: hidden; /* Skjuler bilder utenfor rammen */
}

.cs-slider-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out; /* Animasjon ved bildebytte */
}

.cs-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(6, 41, 131, 0.7);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-family: 'Arial', sans-serif;
}

.cs-slider-nav:hover {
    background-color: rgba(6, 41, 131, 1);
}

.cs-prev {
    left: 10px;
}

.cs-next {
    right: 10px;
}

/*-- -------------------------- -->
<---     Key Features Stiler      -->
<--- -------------------------- -*/

#why-choose-2058 .cs-key-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* Avstand mellom hvert punkt */
}

#why-choose-2058 .cs-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
}

#why-choose-2058 .cs-feature-item .cs-icon-wrapper {
    background-color: #e7efff; /* Lys blå bakgrunn */
    color: #062983; /* Mørk blå farge for ikonet */
    min-width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0; /* Hindrer ikonet fra å krympe */
}

#why-choose-2058 .cs-feature-item svg {
    width: 24px;
    height: 24px;
}

#why-choose-2058 .cs-feature-item .cs-h3 {
    font-size: 1.25rem;
    color: #062983;
    margin: 0 0 0.25rem 0;
}

#why-choose-2058 .cs-feature-item p {
margin: 0;
font-size: 1.1rem;
line-height: 1.5;
color: #0d447d;
font-weight: 500;
}

/* Tilpasser den eksisterende .cs-text klassen for kun det første avsnittet */
#why-choose-2058 .cs-text {
    text-align: left; /* Justerer teksten for større skjermer */
    max-width: 100%; /* Sørger for at den fyller bredden */
}

#why-choose-2058 .cs-small-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    object-position: 80% 50%; /* Justerer bildets posisjon mot venstre */
}


#why-choose-2058 .cs-services {
    margin: 0;
    padding: 0; 
    background-color: #ecf5ff;
    display: flex; 
    flex-wrap: wrap; 
    list-style: none; 
    /* Initialiserer en teller for nummereringen */
    counter-reset: service-counter; 
}

#why-choose-2058 .cs-item {
flex-grow: 1;
flex-basis: 100%;
padding: 1.0rem 1.1rem 1.2rem 4rem;
box-sizing: border-box;
border-bottom: 1px solid #b6cde7;
display: flex;
align-items: center;
justify-content: start;
position: relative;
}
#why-choose-2058 .cs-item:first-child {
    border-top: 1px solid #b6cde7;
}
#why-choose-2058 .cs-item:nth-child(odd) {
    background-color:#dfeaf7; /* En litt mørkere blåfarge for kontrast */
}
#why-choose-2058 .cs-item::before {
counter-increment: service-counter;
content: counter(service-counter);
position: absolute;
left: 1rem;
top: 50%;
transform: translateY(-50%);
color: rgb(65, 90, 154);
width: 30px;
height: 30px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
font-size: 1.5rem;
}

/* ERSTATT DENNE BLOKKEN */
#why-choose-2058 .cs-item-text {
font-size: clamp(1.03rem, 1.5vw, 1rem);
font-weight: 600;
line-height: 1.4em;
margin: 0;
color: #0d447d;
padding-top: 5px;
text-align: left;
}


#why-choose-2058 .cs-h3 {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.2em;
    margin: 0 0 1rem;
    color: #c9e4ff;
}

#why-choose-2058 .cs-video-wrapper {
    width: 100%;
    height: 95vw;
    max-height: 21.25rem;
    display: block;
    grid-row: 4;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

#why-choose-2058 .cs-video-wrapper:hover .cs-play {
    transform: translate(-50%, -50%) scale(1.2);
}

#why-choose-2058 .cs-video-wrapper video,
#why-choose-2058 .cs-video-wrapper .cs-picture,
#why-choose-2058 .cs-video-wrapper video img,
#why-choose-2058 .cs-video-wrapper .cs-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

#why-choose-2058 .cs-play {
    width: clamp(5rem, 10vw, 7.5rem);
    height: clamp(5rem, 10vw, 7.5rem);
    background-color: rgba(255, 255, 255, 0.2);
    pointer-events: none;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s, opacity 0.3s;
    backdrop-filter: blur(8px);
}

#why-choose-2058 .cs-play.cs-hide {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0) !important;
}

#why-choose-2058 .cs-icon {
    width: 1.25rem;
    height: auto;
}

/*-- -------------------------- -->
<---          Products          -->
<--- -------------------------- -*/

#cs-products-2058 {
    background-color: #0d447d;
    padding: 50px 0;
}

#cs-products-2058 .cs-container {
    width: 100%;
    max-width: 1300px;
    margin: auto;
    padding: 0 1rem; /* NY: Lagt til padding for mobil */
    box-sizing: border-box; /* NY: Sikrer at padding er inkludert i bredden */
    display: flex;
    flex-direction: column;
    align-items: center;
}

#cs-products-2058 .cs-title {
    text-align: center;
    color: #ffffff;
    font-size:1.6rem;
    margin-bottom: 4rem;
}



#cs-products-2058 .cs-product-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
    /* Fjernet max-width for å la containeren styre bredden */
    margin: 0;
    padding: 0;
    list-style: none;
}

#cs-products-2058 .cs-product-item {
    background-color: #ffffff;
    border-radius: 0.5rem;
    padding: 50px 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}

#cs-products-2058 .cs-product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

#cs-products-2058 .cs-product-picture {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
     cursor: pointer;
}

#cs-products-2058 .cs-product-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#cs-products-2058 .cs-product-content {
    padding: 0rem;
    text-align: center;
}

#cs-products-2058 .cs-product-h3 {
    font-size: 1.5rem;
    color: #0d447d;
    margin: 0 0 0.5rem;
}

#cs-products-2058 .cs-product-text {
    font-size: 1.1rem;
    color: #333;
    margin: 0 0 1.5rem;
    line-height: 1.5;
}

.open-modal-btn {
    display: inline-block;
    background-color: #062983;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    width: 100%;
    max-width: 250px;
}

.open-modal-btn:hover {
    background-color: #0d447d;
}

/*-- -------------------------- -->
<---     Oppdatert Product Modal    -->
<--- -------------------------- -*/

.modal-content {
    max-width: 1100px; /* Øker bredden for to kolonner */
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr; /* Mobil først: en kolonne */
    gap: 2rem;
}

.modal-right {
    padding-top: 1rem;
}

.modal-right .modal-form-title {
    font-size: 1.8rem;
    color: #062983;
    margin: 0 0 1.5rem;
    text-align: left;
    line-height: 1.2;
}

/* Gjenbruker stiler for et konsistent design */
.modal-right .inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Litt mindre avstand i modalen */
}

.modal-right .form-group {
    text-align: left;
}

.modal-right .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #062983;
    font-size: 0.9rem;
}

.modal-right .checkbox-group label {
    font-size: 1rem;
    font-weight: 400; /* Tilbakestiller for checkbox labels */
    color: #333;
}

.modal-right .form-group input[type="text"],
.modal-right .form-group input[type="tel"],
.modal-right .form-group input[type="email"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d8e0e9;
    border-radius: 7px;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box; /* Sikrer at padding ikke ødelegger bredden */
}

.modal-right .form-group input:focus {
    outline: none;
    border-color: #062983;
    box-shadow: 0 0 0 3px rgba(6, 41, 131, 0.1);
}

.modal-right .checkbox-group {
    background-color: #f8fafc;
    padding: 0.8rem;
    border-radius: 7px;
    border: 1px solid #d8e0e9;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* NYTT: Stiler for checkbox-gruppering */
.checkbox-group-title {
    font-size: 1rem;
    font-weight: 700;
    color: #062983;
    margin: 0.8rem 0 0.2rem 0;
    padding-bottom: 0.2rem;
    border-bottom: 1px solid #e0e0e0;
}

.checkbox-group-title:first-child {
    margin-top: 0;
}

.modal-right .checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #062983;
}

.modal-right .cs-button {
    width: 100%;
    background-color: #062983;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 700;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: background-color 0.3s, transform 0.2s;
}

.modal-right .cs-button:hover {
    background-color: #0d447d;
    transform: translateY(-2px);
}

/* Gjør layouten to-delt på større skjermer */
@media only screen and (min-width: 768px) {
     .modal-body {
        grid-template-columns: 1fr 1fr; /* To like kolonner */
        align-items: flex-start;
        gap: 3rem;
    }

    /* -- NY KODE -- */
    .modal-right {
        position: sticky;
        top: 2rem; /* Sørger for litt luft over skjemaet når det scroller */
    }
}

@media only screen and (max-width: 458px) {
    .hide { 
    display:none !important;
}
.mobil {
        display:none !important
    }
    .cs-content { 
        padding-bottom:30px !important;
    }
     }

.cs-product-buttons {
    display: flex;
    flex-direction: column; /* MOBIL: Knappene stables vertikalt */
    align-items: center;
    gap: 0.75rem; /* Avstand mellom knappene */
    margin-top: 1.5rem; /* Avstand fra teksten over */
}


/* NYTT: Stiler for videoknappen */
.open-video-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: transparent;
    color: #062983;
    border: 2px solid #e0e0e0;
    border-radius: 7px;
    padding: 8px 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    font-family: inherit;
    font-size: 0.95rem;
    width: 100%;
    max-width: 250px;
}

.open-video-btn:hover {
    background-color: #f8fafc;
    border-color: #062983;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    color: var(--global-palette-btn-bg);
}

.open-video-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    flex-shrink: 0;
}

.modal-details-container .open-video-btn {
    margin:0 auto;
    margin-top: 1rem;
    margin-bottom: 1rem;
    width: auto;
}


/* NYTT: Wrapper for tittel og fargevalg */
.title-color-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Justering av eksisterende stiler */
.checkbox-group-title {
    margin: 0;
    padding: 0;
    border-bottom: none; /* Fjerner den gamle bunnlinjen */
}

.checkbox-group-title:first-child {
    margin-top: 0; /* Fjerner unødvendig margin */
}

.color-selection {
    padding-left: 0; /* Fjerner innrykket */
    margin-top: 0;
}

/* NYTT: Stiler for video-modal */
.video-modal-content {
    width: 100%;
    max-width: 960px;
    padding: 1rem;
    background-color: black;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    /* Fjerner overflow slik at videoen kan bestemme høyden */
    overflow-y: visible; 
}

.video-modal-content .video-wrapper {
    /* Sikrer 16:9-aspektforhold for videoen */
    position: relative;
    padding-bottom: 56.25%; 
    height: 0;
    background: #000;
}

.video-modal-content video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0.5rem;
}

.video-modal-close-btn {
    color: #fff;
    opacity: 0.8;
    font-size: 3rem;
    text-shadow: 0 0 10px black;
    z-index: 10;
}

.video-modal-close-btn:hover {
    opacity: 1;
    color: #fff;
}

.product-size-label {
position: absolute;
    /* Sentrerer elementet i midten av bildet */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    /* Justerer tekst-align for et bedre utseende i midten */
    text-align: center;

    /* Beholder resten av det fine designet ditt */
    background-color: rgba(6, 41, 131, 0.85);
    color: #ffffff;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 5px;
    z-index: 10;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.2;
}

.product-size-label .size-details {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: none;
    opacity: 0.9;
    display: block;
    margin-top: 2px;
}

/*-- -------------------------- -->
<---      Forespørsel Skjema      -->
<--- -------------------------- -*/

#foresporsel-skjema .form-group input[type="text"]:focus,
#foresporsel-skjema .form-group input[type="tel"]:focus,
#foresporsel-skjema .form-group input[type="email"]:focus {
    outline: none;
    border-color: #062983;
    box-shadow: 0 0 0 3px rgba(6, 41, 131, 0.1);
}

#foresporsel-skjema .inquiry-form .cs-button:hover {
    background-color: #0d447d;
    transform: translateY(-2px);
}

/*-- -------------------------- -->
<---     Form Color Options       -->
<--- -------------------------- -*/

.product-option > label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 400;
    cursor: pointer;
}

.color-selection {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-left: 2.2rem; /* Indent to align with checkbox */
    margin-top: 0.5rem;
}

.color-selection-label {
    font-size: 0.9rem;
    color: #555;
    font-style: italic;
}

.color-options-form {
    display: flex;
    gap: 0.5rem;
}

.color-swatch-label {
    position: relative;
    cursor: pointer;
}

.color-radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.color-options-form .color-swatch {
    width: 22px;
    height: 22px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.color-radio:checked + .color-swatch {
    transform: scale(1.15);
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #062983;
}

.color-radio:focus + .color-swatch {
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #0d447d;
}

#foresporsel-skjema .color-selection {
    padding-left: 28px; /* Adjust indentation for the main form */
}


/*-- -------------------------- -->
<---      New Benefits Section      -->
<--- -------------------------- -*/

#cs-benefits-2058 {
    background-color: #ffffff;
    padding: 50px 0;
}

#cs-benefits-2058 .cs-container {
    width: 100%;
    max-width: 1300px;
    margin: auto;
    padding: 0 1rem; /* NY: Lagt til padding for mobil */
    box-sizing: border-box; /* NY: Sikrer at padding er inkludert i bredden */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#cs-benefits-2058 .cs-title {
    margin-bottom: 3rem;
    color: #0d447d;
    font-size:1.6rem;
    text-align: center;
}

#cs-benefits-2058 .cs-benefit-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem; /* Justert for bedre tilpasning */
    margin: 0;
    padding: 0;
    list-style: none;
}

#cs-benefits-2058 .cs-benefit-item {
    width: calc(50% - 1.5rem); /* Oppretter 2x2 rutenett */
    max-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#cs-benefits-2058 .cs-icon-wrapper {
    background-color: #0d447d;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

#cs-benefits-2058 .cs-icon-wrapper svg {
    color: #ffffff;
    width: 40px;
    height: 40px;
}

#cs-benefits-2058 .cs-h3 {
    font-size: 1.2rem;
    color: #062983;
    margin: 0 0 0.5rem;
}

#cs-benefits-2058 .cs-text {
    color: #555;
    line-height: 1.5;
    font-size:1rem;
    margin: 0;
}

/*-- -------------------------- -->
<---       Color swatches       -->
<--- -------------------------- -*/

.color-options {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 1rem 0;
}

.color-swatch {
    display: block;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.2s, border-color 0.2s;
    outline: none;
}

.color-swatch:hover,
.color-swatch.active {
    transform: scale(1.1);
    border-color: #0d447d;
}

.color-swatch.black {
    background-color: black;
}
.color-swatch.blue {
    background-color: blue;
}
.color-swatch.red {
    background-color: red;
}
.color-swatch.white {
    background-color: white;
    border: 1px solid #ccc;
}

/*-- -------------------------- -->
<---       Product Modal        -->
<--- -------------------------- -*/

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 1rem;
    box-sizing: border-box; /* NY: Sikrer at padding er inkludert i bredden */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.visible {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.5rem;
    position: relative;
    width: 100%;
    max-width: 1100px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    overscroll-behavior: contain; /* <-- LEGG TIL DENNE LINJEN */
}
.modal-overlay.visible .modal-content {
    transform: scale(0.9);
}

.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
}

.modal-close-btn:hover {
    background: #fff;
    color: #062983;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/*-- -------------------------- -->
<---     Ny, integrert knapp      -->
<--- -------------------------- -*/

.request-quote-btn-wrapper {
    display: flex;
    border-radius: 7px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    max-width: max-content;
    /* Senterstiller i produktkort/modal */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.request-quote-btn-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 41, 131, 0.15);
}

.quote-info-text {
    background-color: #f0f3f7; /* En lys, nøytral blågrå farge */
    color: #5a6a7e;
    padding: 10px 15px;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    border-right: 1px solid #d8e0e9; /* Subtil skillelinje */
    white-space: nowrap;
    font-family: inherit;
}

/* Gjenbruker eksisterende .button-stil, men justerer for perfekt passform */
.request-quote-btn-wrapper .button.add_to_cart_button {
    border-radius: 0 7px 7px 0; /* Runder av kun høyre side */
    margin: 0; /* Fjerner margin for å unngå mellomrom */
    border: none;
}

/* Oppdaterte stiler for "Se listen"-knappen for et helhetlig uttrykk */
.knappe-container > .sm-lagt-til-knapp, 
.modal-knappe-container > .sm-lagt-til-knapp {
    background-color: #28a745; /* Grønn for suksess */
}

.knappe-container > .sm-lagt-til-knapp:hover,
.modal-knappe-container > .sm-lagt-til-knapp:hover {
    background-color: #218838;
}

.knappe-container > .sm-fjern-fra-liste,
.modal-knappe-container > .sm-fjern-fra-liste {
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
    font-size: 1.5rem;
    color: #c82333; /* Rød for fjerning */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s, transform 0.2s;
}

.knappe-container > .sm-fjern-fra-liste:hover,
.modal-knappe-container > .sm-fjern-fra-liste:hover {
    color: #a41a27;
    transform: scale(1.1);
}
.modal-image-container .modal-product-picture img {
    width: 100%;
    height: auto;
    scale:0.8;
}

.modal-details-container {
    display: flex;
    flex-direction: column;
}

.modal-product-title {
    font-size: 2.1rem;
    color: #062983;
    margin: 0 0 0.5rem;
    text-align: center;
}

.modal-product-size {
    font-size: 1.2rem;
    font-weight: 600;
    color: #555;
    margin: 0;
    text-align: center;
}

.modal-color-options {
    display: flex; /* <-- LEGG TIL DENNE LINJEN */
    justify-content: flex-start;
    gap: 10px;
    margin:12px auto;
}
.modal-color-options .color-options {
    justify-content: flex-start;
}

.modal-description-wrapper {
    margin: 0rem 0 1.5rem 0;
    text-align: left;
}

.modal-description-wrapper .cs-product-text.short {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1.5rem;
}

.modal-description-wrapper .cs-product-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-left: 15px;
}

.modal-description-wrapper .cs-product-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 1rem;
    color: #333;
}

.modal-description-wrapper .cs-product-features li::before {
    content: '✔';
    color: #062983;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.modal-knappe-container .button {
    display: inline-block;
    background-color: #062983;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s;
    border: none;
    font-size: 1rem;
}

.modal-knappe-container .button:hover {
    background-color: #0d447d;
}

/*-- -------------------------- -->
<---     Problem vs Solution      -->
<--- -------------------------- -*/

#problem-solver-2058 {
    padding: clamp(3.125rem, 6vw, 6.25rem) 0; /* ENDRING: Fjernet sidepadding */
    background-color: #f8fafc;
}

#problem-solver-2058 .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    padding: 0 1rem; /* NY: Lagt til padding for mobil */
    box-sizing: border-box; /* NY: Sikrer at padding er inkludert i bredden */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

#problem-solver-2058 .cs-content {
    text-align: center;
    max-width: 50rem;
}

#problem-solver-2058 .cs-title {
    text-align: center;
    font-size:1.6rem;
    color: #0d447d;
}

#problem-solver-2058 .cs-text {
    margin-bottom: 0;
    font-size:1.3rem;
}

#problem-solver-2058 .cs-card-group {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

#problem-solver-2058 .cs-problem,
#problem-solver-2058 .cs-solution {
    padding: 2rem;
    border-radius: 0.5rem;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
}

#problem-solver-2058 .cs-h3 {
    font-size: 1.5rem;
    line-height: 1.2;
    margin: 0 0 1.5rem;
    text-align: center;
}

#problem-solver-2058 .cs-ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.9rem;
    flex-grow: 1;
}

#problem-solver-2058 .cs-li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.125rem;
    line-height: 1.5;
}

#problem-solver-2058 .cs-li svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

#problem-solver-2058 .cs-icon-box {
    flex-shrink: 0;
    margin-top: 4px;
}

#problem-solver-2058 .cs-list-content {
    display: flex;
    flex-direction: column;
}

#problem-solver-2058 .cs-list-h4 {
    font-size: 1.125rem;
    line-height: 1.2;
    font-weight: 700;
    margin: 0;
}

#problem-solver-2058 .cs-list-content p {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

#problem-solver-2058 .cs-problem {
    background-color: #f1f1f1;
    color: #6d6d6d;
}

#problem-solver-2058 .cs-problem .cs-h3 {
    color: #555555;
}

#problem-solver-2058 .cs-problem svg {
    stroke: #888888;
}

#problem-solver-2058 .cs-problem .cs-list-h4,
#problem-solver-2058 .cs-problem .cs-list-content p {
    color: #555555;
}

#problem-solver-2058 .cs-solution {
    background-color: #ffffff;
    border-color: #062983;
    box-shadow: 0px 10px 30px -10px rgba(6, 41, 131, 0.3);
}

#problem-solver-2058 .cs-solution .cs-h3 {
    color: #062983;
}

#problem-solver-2058 .cs-solution .cs-li {
    color: #333;
}

#problem-solver-2058 .cs-solution svg {
    stroke: #062983;
}

#problem-solver-2058 .cs-solution .cs-list-h4,
#problem-solver-2058 .cs-solution .cs-list-content p {
    color: #333;
}

/*-- -------------------------- -->
<---    Nøkkelfordeler Grid (Oppdatert) -->
<--- -------------------------- -*/

.cs-key-features-section {
grid-column: 5 / 9;
grid-row: 2 / 3;
background-color: #ecf5ff;
padding-left: 1rem;
padding-right: 1rem;
padding-bottom: 1rem;
display: flex;
flex-direction: column;
justify-content: center;
}

.cs-key-features-title {
    font-size: 1.6rem;
    color: #062983;
    text-align: center;
    margin: 0 0 2rem 0;
}

.cs-key-features-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1.5rem;
    /* Mobil først: Én kolonne som standard */
    grid-template-columns: 1fr;
}

.cs-key-feature-item {
    background-color: #ffffff;
    border: 1px solid #dfeaf7;
    border-radius: 8px;
    padding: 1.25rem 1rem; /* Litt mer luft */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.cs-feature-icon {
    width: 32px;
    height: 32px;
    color: #062983;
    flex-shrink: 0;
}

.cs-feature-text {
    font-size: 1.05rem;
    color: #0d447d;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

/* Skjuler den gamle listen på mobil */
@media only screen and (max-width: 48rem) {
    #why-choose-2058 .cs-services {
        display: none;
    }
    .cs-key-features-section {
        grid-column: 1 / -1;
        padding: 2.5rem 1.5rem;
    }
}

/* NYTT: Stiler for større skjermer (nettbrett og oppover) */
@media only screen and (min-width: 500px) {
    .cs-key-features-grid {
        /* To kolonner for en ryddig 2x2... layout */
        grid-template-columns: repeat(2, 1fr);
    }

    /* Den magiske biten: Lar det siste elementet ta opp hele bredden */
    .cs-key-features-grid .cs-key-feature-item:last-child {
        grid-column: 1 / -1; /* Spenner fra første til siste kolonne */
    }
}
/*-- -------------------------- -->
<---      Transition Section      -->
<--- -------------------------- -*/

#cs-transition-2058 {
background-color: #ecf5ff;
color: #0d447d;
padding: 3rem 0;
text-align: center;
}

#cs-transition-2058 .cs-container {
    width: 100%;
    max-width: 48rem;
    margin: auto;
    padding: 0 1rem; /* NY: Lagt til padding for mobil */
    box-sizing: border-box; /* NY: Sikrer at padding er inkludert i bredden */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#cs-transition-2058 .cs-title {
color: rgb(13, 68, 125);
text-align: center;
font-size: 2.5rem;
line-height: 1.4;
}

#cs-transition-2058 .cs-text {
    font-size: 1.2rem;
    line-height: 1.5;
    margin: 1.5 0 1.5rem;
    max-width: 1000px;
}

#cs-transition-2058 .cs-button {
    background-color: #062983;
color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
}

#cs-transition-2058 .cs-button:hover {
    background-color: ##72369;
    transform: translateY(-2px);
}

/* NYTT: Stiler for kontaktinfo under knapp */
.cs-contact-info {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    color: #0d447d;
}

.cs-contact-info a {
    color: #0d447d;
    margin-left:8px;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px solid #0d447d;
    transition: color 0.3s, border-bottom-color 0.3s;
}

.cs-contact-info a:hover {
    color: #c9e4ff;
    border-bottom-color: #c9e4ff;
}


/*-- -------------------------- -->
<---       Media Queries        -->
<--- -------------------------- -*/

/* Nettbrett */
@media only screen and (min-width: 48rem) {
    #why-choose-2058 {
        padding: var(--sectionPadding);
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 0;
    }
    #why-choose-2058 .cs-title {
        text-align: left;
    }
    
    
    #cs-benefits-2058 {
        padding: 70px 0;
    }
    #cs-products-2058 {
        padding:70px 0;
    }
    #cs-benefits-2058 .cs-h3 {
    font-size: 1.5rem;
}

#problem-solver-2058 .cs-title {
        font-size: 3rem;
}

#cs-benefits-2058 .cs-text {
    font-size:1.2rem;
}
#cs-products-2058 .cs-title {
    font-size:2.5rem;
}
#why-choose-2058 .cs-text {
    font-size: 1.3rem;
    font-weight: 500;
    text-align: left;
}
#cs-benefits-2058 .cs-title { 
    font-size: 3rem;
    text-align: left;
}
    #why-choose-2058 .cs-container {
        padding: 0; /* Fjerner padding på større skjermer der seksjonen styrer det */
    }

    /* NYTT: Styrer knappene for større skjermer */
    .cs-product-buttons {
        flex-direction: row; /* PC/NETTBRETT: Knappene legges ved siden av hverandre */
        justify-content: center;
    }

    .cs-product-buttons .open-video-btn,
    .cs-product-buttons .open-modal-btn {
        width: auto; /* Lar knappene tilpasse bredden til innholdet */
    }

    #why-choose-2058 .cs-container {
        grid-template-columns: repeat(12, 1fr);
        grid-template-rows: auto auto; /* Endret til auto for fleksibel høyde */
    }

    /* START: Korrigert og eksplisitt grid-plassering */
    #why-choose-2058 .cs-content {
        padding-top: clamp(3rem, 6vw, 6.25rem);
        padding-bottom: clamp(3.75rem, 5vw, 5rem);
        grid-column: 1 / 9; /* Plassering øverst til venstre */
        grid-row: 1 / 2;
    }

    #why-choose-2058 .cs-video-wrapper {
        height: 100%;
        max-height: none;
        grid-column: 9 / 13; /* Plassering øverst til høyre */
        grid-row: 1 / 2;
    }

    .cs-small-picture-slider {
        height: 100%;
        grid-column: 1 / 5; /* Rad 2, kolonne 1 */
        grid-row: 2 / 3;
    }

    #why-choose-2058 .cs-services {
        justify-content: center;
        grid-column: 5 / 9; /* Rad 2, kolonne 2 */
        grid-row: 2 / 3;
    }
    
    .cs-static-picture {
        display: block;
        grid-column: 9 / 13; /* Rad 2, kolonne 3 */
        grid-row: 2 / 3;
    }
    /* SLUTT: Korrigert grid-plassering */


    #cs-products-2058 .cs-product-list {
        grid-template-columns: repeat(3, 1fr);
        max-width: none;
    }
    
    #cs-products-2058 .cs-container {
        padding: 0; /* Fjerner padding på større skjermer */
    }

    #cs-benefits-2058 .cs-benefit-list {
        flex-wrap: nowrap;
        gap: 2rem;
    }

    #cs-benefits-2058 .cs-benefit-item {
        width: 100%; /* Tilbakestiller bredden for større skjermer */
    }


    .modal-body {
        grid-template-columns: 1fr 1fr;
        align-items: flex-start;
    }

    #problem-solver-2058 .cs-card-group {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}