/*
Theme Name: Bergen  Dun customized Theme
Theme URI: https://brightsolutions.dk
Description: Customer specific child theme for the Dykon Master theme, designed for Bergen Dun
Author: Tommy Martinsen
Author URI: https://brightsolutions.dk
Template: dykon-master
Version: 1.0.08
Text Domain: dykon-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/* create font face for variable true type fonts */
@font-face {
    font-family: 'plus-jakarta-sans';
    src: url(assets/fonts/PlusJakartaSans-VariableFont_wght.ttf) format('truetype');
}
@font-face {
    font-family: 'inter';
    src: url(assets/fonts/Inter-VariableFont_opsz_wght.ttf) format('truetype');
}
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

:root {

    --primary-font: inter;
    --heading-font: 'plus-jakarta-sans';
	--loop-gap: 16px;
    
    --default-color: #23293D;
    --bergen-blue: #23293D;
    --bergen-darkblue: #171a24;
    --bergen-lightblue: #9bb2ff;
    --text-color: #264453;
    --bergen-bg-1: #F5F7Fc;
    --bergen-bg-2: #E2EBFD;
    --heading-color: #132B37;
	--internal-block-padding: 48px 24px;
    --menu-textcolor: var(--heading-color);
    
    --stroke-color: #D9D9D9;
    
    --sp-overlay-color: #00000030;

    --outer-page-bgcolor: #f0f0f0;
    --inner-page-bgcolor: #ffffff;
    --footer-bgcolor: var(--bergen-darkblue);
    --menu-bgcolor: white;

    --p-regular-font: 300 14px/20px var(--primary-font);
    --p-big-font: 300 16px/22px var(--primary-font);
    --h1-font: 600 36px/40px var(--heading-font);
    --h2-font: 600 32px/36px var(--heading-font);
    --h3-font: 600 24px/28px var(--heading-font);
    --h4-font: 600 20px/24px var(--heading-font);
    --h5-font: 600 18px/22px var(--heading-font);

    --breaker-padding: 32px;
    --text-foto-padding: 24px;
    
    --hero-height-big: 420px;
    --hero-height-small: 280px;
    --hero-height-medium: 280px;

    --default-border-radius: 32px;
    --smaller-border-radius: 16px;
    --default-button-border-radius: 100px;

    --adobefont: "gill-sans-nova", sans-serif;

    --mobile-margins: 21px;

    --button-height: 60px;
}

/* Firefox only */

@supports (-moz-appearance:none) {
  body {
    --h2-font: 600 32px/36px var(--heading-font);
  }
}



@media screen and (min-width: 768px) {
    :root {
        --hero-height-big: 584px;
        --hero-height-small: 320px;
        --hero-height-medium: 360px;
        --h1-font: 600 42px/46px var(--heading-font);
        --h2-font: 600 36px/40px var(--heading-font);
        --text-foto-padding: 64px;
    }
}
main {
    font-family: var(--primary-font);
    color: var(--text-color);
}
body {
    font: var(--p-big-font);
}
.sp-main-header {
    margin: 0;
}
/* topbar */
.sp-topbar {
    height: 64px;
    background-color: var(--bergen-bg-1);
    display: flex;
    align-items: anchor-center;
    justify-content: center;
}
.sp-topbar-text {
    font: var(--p-regular-font);
    font-weight: 500;
    color: var(--text-color);
}
@media screen and (min-width: 768px) {
    .sp-topbar-text {
        display: flex;
        align-items: center;
    }
    .sp-topbar-text .sp-fact-icons {
        display: flex;
        gap: 60px;
        align-items: center;
    }
}
.sp-topbar-text .sp-fact-icons .sp-fact-icon {
    display: flex;
    gap: 10px;
    justify-content:center;
    align-items:center;
    flex-shrink: 0;
}
@media screen and (max-width: 768px) {
    .sp-topbar-text .sp-fact-icons .sp-fact-icon:first-child,
    .sp-topbar-text .sp-fact-icons .sp-fact-icon:last-child {
        display: none;
    }
}
/* header */
@media screen and (min-width: 768px) {
header#masthead {
	box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.05);
}
}
header#masthead, .sp-header-secondrow {
    background-color: white;
    color: white;
}

.sp-header-secondrow {
    height: 83px;
    width: var(--content-width);
    max-width: calc(100% - ( 2 * var(--mobile-margins) ));
    margin: 0 auto;
}
@media screen and (min-width: 768px) {
    .sp-header-secondrow {
        height: 98px;
    }
}
.sp-header-secondrow-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.site-branding .custom-logo-link img {
    max-height: 53px;
}
#mobile-menu-toggle {
    width: 27px;
}
.sp-mobile-menu-header {
    background-color: white;
    padding: unset;
    height: 83px;
    position: relative;
    right: var(--mobile-margins);
    width: 100vw;
    display: flex;
    align-items: center;
}
.sp-menu-section.active {
    padding-top: unset;
    padding-bottom: unset;
}
@media (min-width: 768px) {
.sp-mobile-menu-header {
    display: none;
}
#primary-menu li a {
        color: var(--menu-textcolor);
    }
    #primary-menu:has(li.current-menu-item) > li > a {
        color: var(--bergen-blue);
        opacity: 0.5;
    }
	#primary-menu > li.current-menu-item > a {
		opacity: 1 !important;
	}
	#primary-menu:has(li.current-menu-item) > li:has(.sub-menu .current-menu-item) > a {
        color: var(--bergen-blue);
        opacity: 1 !important;
    }
}
.sp-mobile-menu-header-upper {
     width: var(--content-width);
    max-width: var(--max-content-width);
    margin: 0 auto;
    
}
.sp-mobile-menu-header-upper #sp-mobile-menu-closer {
    top: 50%;
    transform: translateY(-50%);
}
#primary-menu li.sp-mi-main-dynetest {
    background-color: var(--bergen-blue);
    justify-content: center;
    gap: 16px;
    border-radius: 100px;
    height: 77px;   
    font-weight: 700;
    align-items: center;
}
@media screen and (min-width: 768px) {
#primary-menu li.sp-mi-main-dynetest {
    height: 60px;
    gap: 24px;
    padding: 0 24px;
   
}
}
li.sp-mi-main-dynetest:before {
    content: url('assets/icons/menu-dynetest-moon.svg');
}
#primary-menu .sp-mi-main-dynetest a {
    color: white !important;
	opacity: 1 !important;
}
.sp-header-cart-content {
	position: relative;
}
.bs-cart-contents-count {
	background-color: var(--bergen-blue);
	display: flex;
	width: 20px;
	height: 20px;
	font-size: 12px;
	border-radius: 50%;
	justify-content:center;
	align-items: center;
	position: absolute;
	bottom: calc(100% - 8px);
	left: calc(100% - 10px);
}
/* mobile menu */
@media screen and (max-width: 768px) {
.sp-actual-menu {
    width: 100vw;
    position: relative;
    right: var(--mobile-margins);
    font: var(--h5-font);
    font-weight: 500;
}
.menu-skypimmenu-container {
    width: var(--content-width);
    max-width: var(--max-content-width);
    margin-left: var(--mobile-margins);
}
    .menu > li:not(last-child) {
        margin-bottom: 27px;
    }
.menu li.sp-mi-dyner {
    padding-top: 24px;
    padding-bottom: 16px;
    margin-bottom: unset;
}    
    li.sp-mi-puder {
        padding-bottom: 24px;
    }
li.sp-mi-dyner, li.sp-mi-puder {
    width: 100vw;
    position: relative;
    right: var(--mobile-margins);
    background-color: var(--bergen-bg-1);
    padding-left: var(--mobile-margins);
    flex-direction: column;
    padding-right: var(--mobile-margins);
    font-weight: 600;
}
    li.sp-mi-dyner a, li.sp-mi-puder a {
        width: 100%;
    }
    li.sp-mi-dyner img.menu-image, li.sp-mi-puder img.menu-image {
        height: 100px;
        width: 100%;
    }
li.sp-mi-dyner .menu-text, li.sp-mi-puder .menu-text {
    background-color: var(--bergen-blue);
    color: white;
    padding: 0px 16px;
    border-bottom-left-radius: var(--smaller-border-radius);
    border-bottom-right-radius: var(--smaller-border-radius);
    height:  57px;
    display: flex;
    align-items: anchor-center;
}
    li.sp-mi-dyner img.mobilemenu-subselector {
    bottom: 32px;    
    }
    li.sp-mi-puder img.mobilemenu-subselector {
        bottom: 46px;
    }
li.sp-mi-dyner img.mobilemenu-subselector,
li.sp-mi-puder img.mobilemenu-subselector {
    z-index: 1;
    position: absolute;
    right: calc(16px + var(--mobile-margins));
}
    img.mobilemenu-subselector {
        height: 18px;
    }
    ul.sub-menu.active {
        right: var(--mobile-margins);
        width: 100bw;
    }
    .sp-submenu-header {
        margin-top: unset;
        background-color: var(--bergen-bg-1);
        height: 78px;
        align-items:anchor-center;
        justify-content:center;
        font: var(--h3-font);
        margin-bottom: 22px;
        padding: 0;
    }
    img.mobilemenu-backselector {
        position: absolute;
        left: var(--mobile-margins);
        top: 50%;
        transform: translateY(-50%);
        height: 22px;
        padding-left: 0;
        width: max-content;
    }
    .sub-menu > .menu-item {
        margin-left: var(--mobile-margins);
        margin-bottom: 24px;
    }
}
/* desktop menu */
@media screen and (min-width: 768px) {
.menu {
    font: var(--p-big-font);
    font-weight: 500;
}
    .main-navigation ul > li:hover>ul {
        border-top: 4px solid var(--bergen-blue);
        background-color: white;
        padding: 28px 24px;
    }
    .main-navigation ul > li:hover>ul > li {
        margin-bottom: 16px;
    }
    .main-navigation ul > li:hover>ul > li:last-child {
        margin-bottom: 0px;
    }
    
}


/* ============== FOOTER =================== */
footer#colophon {
    padding-top: unset;
    padding-bottom: unset;
}
.site-footer {
     color: white;
}
.sp-footer-standardcolumns-outer {
    color: white;
    padding-bottom: 50px;
}

.sp-footer-standardcolumns {
    width: var(--default-page-width);
    max-width: var(--max-default-page-width);
    margin-left: auto;
    margin-right: auto;
    padding-top: 25px;
    padding-bottom: 25px;
    position: relative;
}
@media screen and (min-width: 768px) {
    footer#colophon .sp-footer-menu-hori .menu {
        margin: unset;
    }
    footer#colophon .sp-footer-menu-hori .menu li {
        align-items: unset;
    }
    .sp-footer-standardcolumns {
        padding-top: 50px;
        padding-bottom: unset;
    }
}
.sp-footer-standardcolumns-left-upper {
    display: flex;
    flex-direction: column;
    gap: 38px;
}
@media screen and (min-width: 768px) {
    .sp-footer-standardcolumns-left-upper {
        flex-direction:row;
        max-width: 1050px;
    }
}
.sp-footer-menu-header-container {
    display:  flex;
    justify-content: space-between;
}
#colophon .menu > li:not(last-child) {
        margin-bottom: 10px;
    }
@media screen and (min-width: 768px) {
img.sp-footer-menu-header-icon {
    display: none;
}
}
.site-info {
    height:  159px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-social-media {
    height: 36px;
    align-items: anchor-center;
}
.footer-social-media-icon {
    height: max-content;
}
.footer-social-media img {
    height: 31px;
    display: block;
}
.footer-facticon-section {
    background-color: var(--bergen-bg-1);
    color: var(--text-color);
    width: var(--page-width);
    max-width: var(--max-page-width);
    font: var(--p-big-font);
    font-weight: 600;
    height: 188px;
    position: relative;
    right: var(--mobile-margins);
}
.footer-facticon-section .sp-fact-icons {
    width: var(--content-width);
    max-width: var(--max-content-width);
    margin-left: var(--mobile-margins);
    display: flex;
    flex-direction:column;
    justify-content: space-evenly;
    height:  100%;
}
@media screen and (min-width: 768px) {
    .footer-facticon-section {
        height: 88px;
    }
    .footer-facticon-section .sp-fact-icons {
        flex-direction: row;
        gap: 50px;
        margin-left: auto;
        margin-right: auto;
        justify-content:center;
    }
}
.footer-facticon-section .sp-fact-icons .sp-fact-icon {
    display: flex;
    gap: 10px;
}
@media screen and (min-width: 768px) {
    .footer-facticon-section .sp-fact-icons .sp-fact-icon {
        align-items:center;
    }
    .footer-facticon-section .sp-fact-icons .sp-fact-icon img {
        width: 28px;
    }
}
.footer-header,
.sp-footercol-heading {
    font: var(--h5-font) !important;
    margin: unset;
}
@media screen and (min-width: 768px) {
    .footer-header,
    .sp-footercol-heading {
    font: var(--h3-font) !important;
 
}
}

.sp-footer-standardcolumns-left-upper {
    margin-bottom: 40px;
}
.sp-company-info, .sp-company-info a {
    color: var(--bergen-lightblue) !important;
}
@media screen and (min-width: 768px) {
.sp-company-info, .sp-company-info a {
  font: var(--h5-font);
    font-weight: 600;
}
}
.sp-company-info p {
    margin: unset;
    line-height: 33px;
}
.sp-footer-standardcolumns-left-lower {
    display: flex;
    flex-direction: column-reverse;
    font: var(--p-regular-font);
    font-weight: 300;
}
.sp-footer-standardcolumns-left-lower ul.menu {
	display: flex;
	flex-direction: column;
}
@media screen and (min-width: 768px) {
    .sp-footer-standardcolumns-left-lower {
        flex-direction: row;
        gap: 42px;
        justify-content: left;
    }
    .sp-footer-copyright {
        display: flex;
        align-items: center;
		
    }
	.sp-footer-companyinfo {
		   display: flex;
        align-items: center;
		
		
	}
	.sp-footer-copyrightmenu {
		   display: flex;
        align-items: center;
	
	}
	footer#colophon .sp-footer-standardcolumns-left-lower ul.menu li {
		margin-bottom: unset;
	}
    footer#colophon .sp-footer-standardcolumns-left-lower li a {
        font-weight: 300;
		font-size: 14px;
		
    }
	.sp-footer-standardcolumns-left-lower ul.menu {
		flex-direction: row;
		gap: 24px;
	}
}
footer#colophon .sp-footer-standardcolumns-left-lower li a {
    text-decoration: underline;
}
.footer-payment-icons {
    display: flex;
    gap:  16px;
    margin-top: 12px;
    margin-bottom: 16px;
    padding: 8px;
    background-color: white;
}

img.sp-payment-icon {
    height: 18px;
}



/* =========== DEFAULT ITEMS =============== */
a.sp-buttonlink-1,
a.sp-buttonlink-2,
a.sp-buttonlink-3,
a.sp-buttonlink-4 {
    background-color: var(--bergen-blue);
    color: white;
    text-decoration: none;
    border-radius: var(--default-button-border-radius);
    font: var(--p-big-font);
    font-weight: 600;
    height: var(--button-height);
    padding: 0 24px;
    display: flex;
    align-items: center;
} 

a.sp-buttonlink-3:before {
    content: url(assets/icons/bedfront-white.svg);
    margin-right: 5px;
    display: inline-block;
    position: relative;
    top: 3px;
}

a.sp-buttonlink-4:before {
    content: url(assets/icons/link-button-play-symbol.svg);
    margin-right: 10px;
    display: inline-block;
    position: relative;
    top: 3px;
}
a.sp-buttonlink-maane {
	background-color: var(--bergen-blue);
	text-decoration: none;
	font-size: 17px;
	border-radius: var(--default-button-border-radius);
	display: flex;
	align-items: center;
	gap: 8px;
}
a.sp-buttonlink-maane:before {
content: url('assets/icons/menu-dynetest-moon.svg');
}

/* ============= BREAKERS ================ */
@media screen and (max-width: 768px) {
    .sp-breaker:has(.sp-pure-text) {
        padding-top: 64px;
        padding-bottom: 64px;
    }
    .sp-breaker.first-sp-breaker:has(.sp-pure-text) {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .home .sp-breaker.first-sp-breaker:has(.sp-pure-text) {
        padding-top: 32px;
        padding-bottom: 32px;
    }
    
    
}    
@media screen and (min-width: 768px) {
.sp-breaker:has(.sp-pure-text) {
    padding-top: 96px;
    padding-bottom: 96px;
}
.sp-breaker .sp-pure-text {
    margin: 0 auto;
    max-width: 909px;
}  
.sp-breaker.first-sp-breaker .sp-pure-text {
    max-width: 723px;
    margin: 0 auto;
}
.home .sp-breaker.first-sp-breaker .sp-pure-text {
    max-width: 885px;
    margin: 0 auto;
}
.sp-breaker .sp-pure-text:has(.sp-readmore) {
    max-width: 660px;
    margin: 0 auto;
}
	.sp-breaker.first-sp-breaker:has(.sp-pure-text .sp-text-box) {
    padding-top: 48px;
    padding-bottom: 48px;
}
.sp-breaker,
.sp-breaker.first-sp-breaker:has(.sp-pure-text .sp-text-box .sp-content-text),
.sp-breaker:has(.sp-pure-text):has(.sp-readmore) {
    padding-top: 64px;
    padding-bottom: 64px;
}


}
/* ============== BLOCKS =================== */

/* HERO */
.sp-hero.sp-hero-medium {
    height: var(--hero-height-medium);
}
.sp-hero.sp-hero-medium .sp-image-container {
    height: var(--hero-height-medium);
}
.sp-hero.sp-hero-medium .sp-image-content iframe.sp-vimeo-video {
    min-height: var(--hero-height-medium); 
}
.sp-hero.sp-hero-medium .sp-video-container:has(.sp-image-content iframe.sp-vimeo-video) {
    height: var(--hero-height-medium); 
}


.sp-hero .sp-text-box {
    text-align: center;
    max-width: 334px;
}
@media screen and (min-width: 768px) {
    .sp-hero .sp-text-box {
        max-width: 641px;
}
}
.sp-hero .sp-text-container {
    background-color: var(--sp-overlay-color);
    width: 100%;
    height: 100%;
    left: 0;
    transform: unset;
    top: 0;
    right: 0;
    max-width: unset;
    padding: var(--mobile-margins);
    display: flex;
    align-items:center;
    justify-content: center;
}
.sp-hero .sp-main-header {
    font-size: 42px;
    line-height: 48px;
    font-weight: 600;
    color: white;
}
/* ARTICLE  */
.sp-pure-text:has(.sp-content-text) .sp-main-header {
    margin-bottom: 16px;
}
.sp-pure-text:not(.sp-breaker .sp-pure-text) {
	margin-bottom: 12px;
	}
.sp-pure-text:not(.sp-breaker .sp-pure-text):has(.sp-content-text) {
    margin-top: var(--block-spacing);
    margin-bottom: var(--block-spacing);
}

.sp-pure-text:has(.sp-readmore):not(.first-sp-breaker .sp-pure-text) .sp-content-text  {
    max-height: 240px;
    overflow: hidden;
    position: relative;
}
/* Basis + fallback */
.sp-pure-text:has(.sp-readmore):not(.first-sp-breaker .sp-pure-text) .sp-content-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 86px;
    pointer-events: none;
    background: linear-gradient(to bottom, transparent, var(--breaker-bg, #fff));
}
.sp-pure-text.sp-expanded .sp-content-text  {
	max-height: unset !important;
}
.sp-pure-text.sp-expanded .sp-content-text:after  {
	display: none !important;
}
.sp-readmore:not(.first-sp-breaker .sp-readmore) {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    gap: 8px;
    margin-top: 16px;
    cursor: pointer;
    font: var(--p-big-font);
    font-weight: 600;
}
.sp-readmore:not(.first-sp-breaker .sp-readmore):after {
	content: url(assets/icons/chewron-down.svg);
}
@media screen and (min-width: 768px) {
	/* custom variation with only read-more on mobile */
    .first-sp-breaker .sp-pure-text .sp-readmore {
         display: none;   
         max-height: unset;
}
    .sp-breaker:has(.sp-pure-text) .sp-main-header {
    font: var(--h1-font);
}

    .home .sp-breaker:has(.sp-pure-text) .sp-main-header {
        font: var(--h2-font);
    }
    .home .first-sp-breaker .sp-pure-text:has(.sp-readmore) .sp-linkbox {
        margin-top: 24px;
    }
    .home .first-sp-breaker .sp-pure-text:has(.sp-readmore) .sp-main-header {
        margin-bottom: 24px;
    }
}
@media screen and (max-width: 768px) {
    .sp-pure-text .sp-readmore {
        font-weight: 600;
        text-decoration: underline;
    }
    .first-sp-breaker .sp-pure-text .sp-readmore {
        margin-top: 15px;
    }
    .first-sp-breaker .sp-pure-text .sp-linkbox {
        margin-top: 15px;
    }
    
.first-sp-breaker .sp-pure-text:has(.sp-readmore) .sp-text-container {
     /* only show the two first paragraphs in .sp-pure-text .sp-content-text */
        max-height: 320px;
        overflow: hidden;
}
.first-sp-breaker .sp-pure-text.sp-expanded:has(.sp-readmore) .sp-text-container {
        max-height: unset;   
}
    .sp-breaker .sp-pure-text .sp-main-header {
        font: var(--h2-font);
    }
    .sp-breaker .sp-pure-text:has(.sp-readmore) .sp-main-header {
        font: var(--h3-font);
    }    
    
    .sp-breaker.first-sp-breaker .sp-pure-text .sp-main-header {
        font: var(--h1-font);
        margin-bottom: 15px;
    }
    
}


/* NORMAL TEXT FOTO */
.sp-text-foto {
    margin-top: 50px;
    margin-bottom: 50px;
    margin-left: auto;
    margin-right: auto;
}
/* custom top margin to bring it closer to the header above */
.sp-text-foto.sp-text-over-image {
	margin-top: 12px;
}
.sp-text-foto .sp-intro,
.sp-text-foto .sp-text-container{
    font: var(--p-big-font);
}
@media screen and (max-width: 768px) {
	
.sp-text-foto .sp-text-container {
    font: var(--p-big-font);
    margin-bottom: 30px;
    order: 1;
}
}
.sp-text-foto .sp-text-box:has(.sp-content-text) .sp-main-header {
    margin-bottom: 18px;
}
@media screen and (min-width: 768px) {
	.sp-text-foto .sp-text-box:has(.sp-content-text) .sp-main-header {
    margin-bottom: 12px;
}
}

.sp-text-foto .sp-text-container h3 {
    font-size: 28px;
    line-height: 28px;
    font-weight: 600;
    margin: unset;
    margin-bottom: 15px;
}
.sp-text-foto.sp-tf-padding .sp-image-content {
    aspect-ratio: 305 / 276;
}
@media screen and (min-width: 768px) {
	.sp-text-foto.sp-tf-padding .sp-image-container {
		height: 0;
		min-height:  100%;
	}
    .sp-text-foto.sp-tf-padding:not(.sp-flipright) .sp-image-container {
        padding-left: 62px;
    }
    .sp-text-foto.sp-tf-padding.sp-flipright .sp-image-container {
        padding-right: 62px;
    }
.sp-text-foto.sp-tf-padding .sp-image-content {
    min-height: 446px;
	height: 100%;
	aspect-ratio: unset;
}
    .sp-text-foto.sp-tf-padding {
        padding: var(--text-foto-padding) 70px;
        min-height: 574px;
    }
	.sp-text-foto .sp-text-container {
		padding-top: 10px;
		padding-bottom: 10px;
	}
}
.sp-text-foto .sp-text-box img {
    width: 50%;
    margin-bottom: 15px;
}
.sp-text-foto .sp-text-box p:first-of-type {
    margin-top: unset;
}
.sp-text-foto .sp-text-box p:last-child {
    margin-bottom: unset;
}
.sp-text-foto .sp-main-header.explorer {
    margin-bottom: 15px;
}

/* text over image  */
.sp-text-foto.sp-text-over-image {
    height: 540px;
	border-radius: var(--default-border-radius);
    /* left:  0; */
}
.sp-text-foto.sp-text-over-image .sp-image-content {
    border-radius: unset;
    height: 100%;
    aspect-ratio: unset;
}

.sp-text-foto.sp-text-over-image .sp-text-container {
    background-color: var(--sp-overlay-color);
    color: white;
    height: 100%;
    display: flex;
    align-items:center;
}
.sp-text-foto.sp-text-over-image .sp-text-box {
    max-width: 300px;
}
@media (min-width: 768px) {
	.sp-text-foto.sp-text-over-image .sp-text-box {
	    max-width: 400px;
	}
}
.sp-text-foto.sp-text-over-image .sp-main-header {
    color: white;
}
.sp-text-foto.sp-text-over-image .sp-text-box:has(.sp-intro) .sp-main-header,
.sp-text-foto.sp-text-over-image .sp-text-box:has(.sp-content-text) .sp-main-header {
	margin-bottom: 14px;
}
.sp-text-foto.sp-text-over-image .sp-linkbox {
    margin-top: 18px;
}
.sp-text-foto.sp-text-over-image .sp-linkbox a {
    height: 72px;
    padding: 0 32px;
}
/* TEXT-FOTO SPESIAL - DYNEVELGER */
.sp-text-foto.sp-text-foto-dynevalg:not(.sp-border-1):not(.sp-bgcolor):not(.sp-text-over-image) {
	margin-top: unset;
	margin-bottom: unset;
	width: var(--page-width);
	max-width: 100vw;
	position: relative;
    left: calc( 0px - var(--mobile-margins) );
	border-radius: unset;
    grid-gap: 30px;
}
@media (min-width: 768px) {
    .sp-text-foto.sp-text-foto-dynevalg:not(.sp-border-1):not(.sp-bgcolor):not(.sp-text-over-image) {
        left: calc( 0px - (var(--page-width) - var(--content-width)) / 2 );
    }
}

.sp-text-foto.sp-text-foto-dynevalg:not(.sp-border-1):not(.sp-bgcolor):not(.sp-text-over-image) .sp-text-container {
    order: 2;
    padding: 0 var(--mobile-margins);
}
@media (min-width: 768px) {
	.sp-text-foto.sp-text-foto-dynevalg:not(.sp-border-1):not(.sp-bgcolor):not(.sp-text-over-image) .sp-text-container {
		flex-direction:column;
		justify-content: center;
		padding-left: 25px;
	}
}
.sp-text-foto.sp-text-foto-dynevalg:not(.sp-border-1):not(.sp-bgcolor):not(.sp-text-over-image) .sp-text-container .sp-main-header {
        font: var(--h1-font);
    margin-bottom: 24px;
} 
.sp-text-foto.sp-text-foto-dynevalg:not(.sp-border-1):not(.sp-bgcolor):not(.sp-text-over-image) .sp-text-container .sp-intro {
        margin-top: 20px;
        width: 100%;
} 
.sp-text-foto.sp-text-foto-dynevalg:not(.sp-border-1):not(.sp-bgcolor):not(.sp-text-over-image) .sp-text-container .sp-linkbox {
        margin-top: 20px;
} 
.sp-text-foto.sp-text-foto-dynevalg:not(.sp-border-1):not(.sp-bgcolor):not(.sp-text-over-image) .sp-text-container .sp-linkitem {
        width: 100%;
	height: 68px;
} 
.sp-text-foto.sp-text-foto-dynevalg:not(.sp-border-1):not(.sp-bgcolor):not(.sp-text-over-image) .sp-text-container .sp-linkitem a {
	width: 100%;
	justify-content: center;
	height: 68px;
}
@media (min-width: 768px) {
	.sp-text-foto.sp-text-foto-dynevalg:not(.sp-border-1):not(.sp-bgcolor):not(.sp-text-over-image) .sp-text-container .sp-linkitem {
        width: unset;
	}
	.sp-text-foto.sp-text-foto-dynevalg:not(.sp-border-1):not(.sp-bgcolor):not(.sp-text-over-image) .sp-text-container .sp-linkitem a {
		width: unset;
	}
}
.sp-text-foto.sp-text-foto-dynevalg:not(.sp-border-1):not(.sp-bgcolor):not(.sp-text-over-image) .sp-image-container {
    order: 1;
}
.sp-text-foto.sp-text-foto-dynevalg:not(.sp-border-1):not(.sp-bgcolor):not(.sp-text-over-image) .sp-image-content {
    border-radius: unset;
}

/* STYLING FILTERS */
/* SHARED */

 .sp-filter-dropdown label  input[type="checkbox"]{
  /* kill the native look */
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;

  /* box size and basic look */
  width:32px;
  height:32px;
  border:2px solid var(--stroke-color);   
  border-radius:2px;
  background:#fff;
  cursor:pointer;

  /* layout helpers */
  display:inline-block;
  vertical-align:middle;
  margin:0 6px 0 0;
  position:relative;    
}
    .sp-filter-dropdown label input[type="checkbox"]:checked{
  background:var(--bergen-blue);         /* red background */
  border-color:var(--ringsted-rod);       /* red border */
}
    .sp-filter-dropdown label input[type="checkbox"]:checked::after{
  content:'';
  position:absolute;
  left:9px; top:2px;         
  width:10px; height:18px;
  border:solid #fff;
  border-width:0 2px 2px 0;
  transform:rotate(45deg);  
}
.sp-filter-dropdown label {
        padding: 0px;
        margin-bottom: 12px;
        display: flex;
        align-items: center;
    }
/* MOBILE */
@media (max-width: 768px) {
    .sp-filter-dropdown label {
        padding-left: var(--mobile-margins);
    }
.filters {
    background-color: var(--bergen-bg-2);
    width: var(--page-width);
    max-width: var(--max-page-width);
    position: relative;
    right: var(--mobile-margins);
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.sp-open-mobile-filters {
    font: var(--p-big-font);
        padding: 15px 25px;
    border-radius: var(--default-button-border-radius);
    font-weight: 600;
    border: 1px solid var(--stroke-color);
    display: flex;
    gap: 10px;
    align-content:center;
    align-items:center;
    justify-content: center;
    background-color: white;
    width: var(--content-width);
    max-width: var(--max-content-width);
}
.sp-open-mobile-filters:before {
    content: url(assets/icons/filterikon-mobile.svg); 
    padding-top: 3px;
}
.sp-filters-upper {
    display: none;
}
    .sp-filters-left {
        display: none;
    }
    .sp-filters-upper.active {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        inset: 0;
        width: 100vw;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        z-index: 5;
    }
    .sp-mobile-filters-header-container {
        display: flex;
        height: 90px;
        width: var(--page-width);
        max-width: var(--max-page-width);
        padding: 0 var(--mobile-margins);
        border-bottom: 2px solid var(--stroke-color);
        justify-content: space-between;
        align-items: center;
        flex-shrink:0;
    }
    .sp-mobile-filters-header-text {
        font: var(--h3-font);
    }
    .sp-mobile-filters-closer {
        font-size: 18px;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .sp-mobile-filters-closer:after {
     content: url(assets/icons/mobile-menu-closer.svg);
}
    .sp-filtergroup {
        padding: 0px 0px 16px 0px;
        border-bottom: 1px solid var(--stroke-color);
    }
    .sp-filters-right .sp-filtergroup:last-child {
        border-bottom: unset;
    }
    .sp-filter-dropdown-header {
         display: none;
    }
    .sp-filter-header-trigger {
        font: var(--h5-font) !important;
        margin-bottom: 16px;
        margin-top: 24px;
        padding-left: var(--mobile-margins);
        font-weight: 600 !important;
    }
    .sp-filter-dropdown label {
        padding: 0px;
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        padding-left: var(--mobile-margins);
    }
    .sp-filtergroup .sp-filter-dropdown .sp-desktop, 
    .sp-filtergroup:has(.sp-filter-header-trigger) .sp-filter-dropdown .sp-desktop {
    display: none;
}
    .sp-filtergroup:has(.sp-filter-header-trigger) .sp-filter-dropdown {
        display: block;
    }
    .sp-filters-right {
        overflow-y: auto;
    }
    .active-filters {
        position: absolute;
        left: 0;
        top: 100%;
        margin-left: var(--mobile-margins);
        margin-top: 5px;
        display: flex;
        gap: 5px;
    }
     .active-filters .filter-tag {
        background-color: var(--bergen-bg-2);
        font: var(--p-big-font);
        font-weight: 600;
        padding: 4px 12px;
        border-radius: 100px;
    }
    .apply-group-filters-container:has(.sp-mobile) {
        height: 103px;
        flex-shrink: 0;
        padding: 0 var(--mobile-margins);
        display: flex;
        align-items: center;
        border-top: 1px solid #e9e9e9;
    }
    .apply-filters.sp-mobile {
        width: 100%;
        border: none;
        background-color: var(--heading-color);
        color: white;
        font-size: 16px;
        height: 64px;
        border-radius: 100px;
    }
     
}
/* STYLING FILTERS */
/* DESKTOP */
@media (min-width: 768px) {
.sp-open-mobile-filters {
    display: none;
}
.sp-mobile-filters-header-container {
    display: none;
}
.sp-mobile, .apply-group-filters-container:has(.sp-mobile) {
    display: none;
}
    .filter-option, .reset-filters {
        color: #132B3790;
        font-weight: 600;
        padding: unset;
        display: flex;
        flex-shrink: 0;
        align-items: center;
    }
    .filter-option.active, .reset-filters.active {
        color: var(--heading-color);
        border-bottom: 2px solid var(--heading-color);
        border-radius: unset;
    }
    .reset-filters {
        height: 100%;
        gap: 5px;
    }
    
    .sp-filters-upper {
        display: flex;
        justify-content: space-between;
        position: relative;
        left: calc( 0px - (var(--page-width) - var(--content-width)) / 2 );
        padding: 0 calc( (var(--page-width) - var(--content-width)) / 2 );
        width: var(--page-width);
        max-width: 100vw;
        background-color: var(--bergen-bg-2);
        height: 84px;
    }
    .sp-filters-left {
        display: flex;
        gap: 25px;
        height:  100%;
        flex-shrink:  0;
    }
    .sp-filters-right {
        display: flex;
        gap: 12px;
    }
    .sp-filtergroup:not(.sp-mobile) {
    position: relative;
    display: flex;
    align-items: center;
}
    .sp-filter-header-trigger {
        display: flex;
        gap: 5px;
        padding: 0 24px;
        background-color: white;
        height: 52px;
        align-items: center;
        border-radius: 100px;
        font: var(--p-big-font) !important;
        font-weight: 600 !important;
    }
    .sp-filter-header-trigger:before {
        content: url(assets/icons/feather.svg);
}
.sp-filter-header-trigger:after {
    content: url(assets/icons/filter_dropdown_arrow.svg);
    padding-bottom: 5px;
}
    .sp-filter-dropdown.open {
        position: absolute;
        top: 100%;
        z-index: 6;
        background-color: white;
        border-radius: 16px;
        padding: 24px;
        padding-bottom: 0px;
        box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.16);
        width: max-content;
        min-width: 240px;
    }
    .apply-group-filters-container {
        height: 88px;
        display: flex;
        align-items: center;
        border-top: 1px solid #e9e9e9;
        width: calc(100% + 48px);
        position: relative;
        right: 24px;
        padding: 0 24px;
        margin-top: 20px;
    }
    .apply-group-filters {
        width: 100%;
        background-color: var(--bergen-blue);
        color: white;
        font: var(--p-big-font);
        font-weight:600;
        height: 56px;
        border-radius: 100px;
    }
    .sp-filtergroup label div, .sp-filtergroup label input  {
        flex-shrink: 0;
    }
    .sp-filter-dropdown-header {
        font: var(--p-big-font);
        font-weight: 600;
        margin-bottom: 16px;
    }
    .active-filters {
        padding: 12px 0;
        display: flex;
        gap: 5px;
    }
    .active-filters .filter-tag {
        background-color: var(--bergen-bg-2);
        font: var(--p-big-font);
        font-weight: 600;
        padding: 4px 12px;
        border-radius: 100px;
    }
}

/* PRODUCT LOOP */
.sp-repeater.sp-infocard-items.sp-product-items {
    margin-top: 28px;
    margin-bottom: 54px;
	grid-row-gap: 48px;
}
.sp-product-loop-item a {
    text-decoration: unset;
}
.sp-product-loop-image {
    border-radius: 32px;
    aspect-ratio: 342 / 343;
}
.woocommerce-loop-product__title {
    color: var(--heading-color);
    font: var(--h3-font) !important;
    margin-top: 12px;
    margin-bottom: 24px;
}
@media screen and (min-width: 768px) {
	.woocommerce-loop-product__title {
		margin-top: 18px;
	    margin-bottom: 18px;
	}
}
.sp-loop-shortdescription {
    font: var(--p-regular-font);
    margin-bottom: 24px;
}
@media screen and (min-width: 768px) {
	.sp-loop-shortdescription {
		margin-bottom: 12px;
	}
}
.sp-loop-comfortlevels {
    display: flex;
    gap: 5px;
    font: var(--p-regular-font);
    font-weight: 600;
}
.sp-comfortlevel {
    padding: 0 14px;
    background-color: var(--bergen-bg-1);
    border-radius: 100px;
    height: 34px;
    display: flex;
    align-items: center;
}
/* PRODUCT PAGE */
.woocommerce-product-gallery {
	width: 100vw;
	position: relative;
	right: var(--mobile-margins);
}
@media screen and (min-width: 768px) {
	.woocommerce-product-gallery {
		width: 100%;
		max-width: 100%;
		position: unset;
		right: unset;
	}
}
.sp-product-gallery-image-container {
	border-radius: 0;
}
.sp-product-gallery-images {
	padding-bottom: 8px;
}
.sp-product-gallery-image {
	aspect-ratio: 393 / 298;
}
@media screen and (min-width: 768px) {
	.sp-product-gallery-image {
		aspect-ratio: 659 / 500;
		border-radius: var(--smaller-border-radius);
	}
	.sp-prodgallery-prev {
		display: none;
	}
	.sp-prodgallery-next {
		background-color: #f5f7fc;
		padding: 14px;
		right: 24px;
	}
}
.sp-product-gallery-image img {
	width: 100%;
	min-height: 500px;
	max-width: unset;
	min-width: 100%;
	max-height: unset;
}
.sp-product-gallery-thumbs {
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
	overflow: hidden;
}
.sp-product-gallery-thumb {
	height: 67px;
	aspect-ratio: 89 / 67;
	overflow: hidden;
}
@media screen and (min-width: 768px) {
	.sp-product-gallery-thumb {
		aspect-ratio: 132 / 99;
		height: 99px;
	}
}
.sp-product-gallery-thumb img {
	width: 100%;
}
.product-template-default .product {
	gap: 34px;
	max-width: 100%;
	grid-template-columns: minmax(0, 1fr);
}
@media screen and (min-width: 768px) {
	.product-template-default .product {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-column-gap: 48px;
		min-width: 0;
		margin-top: 29px;
	}	
	.product-template-default .product .sp-product-infoblock {
		grid-column: span 2;
	}
}
.entry-summary {
	width: 100%;
	min-width: 0;
	
	overflow: hidden;
}
@media screen and (min-width: 768px) {
	.entry-summary {
		max-width: 100%;
		padding-right: var(--text-foto-padding); 
		padding-left: 24px;
		margin-top: 19px;
	}
}

.product .sp-breadcrumb {
	font: var(--p-regular-font);
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
@media screen and (min-width: 768px) {
	.product .sp-breadcrumb {
		font: var(--h5-font);
		color: #1c1f2190;
	}
}
.product .sp-breadcrumb a {
	font-weight: 600;
	color: var(--heading-color);
}
.product .sp-model-right-header {
	margin-top: 12px;
	margin-bottom: 6px;
}
.product .sp-serie-items-top {
	display: none;
}
.product .sp-comfort-items-top {
	display: flex;
	gap: 8px;
}
.product .sp-comfort-item-top {
	background-color: var(--bergen-bg-1);
	height: 34px;
	display: flex;
	align-items: center;
	padding: 0 14px;
	border-radius: 14px;
	font: var(--p-regular-font);
	font-weight: 600;
}
@media screen and (min-width: 768px) {
	.product .sp-comfort-item-top {
		color: #1b1b1d;
	}
}
.product .sp-model-beskrivelse {
	padding-bottom: 20px;
	margin-bottom: 20px;
	margin-top: 16px;
	border-bottom: 1px solid #d9d9d9;
}
@media screen and (min-width: 768px) {
	.product .sp-model-beskrivelse {
		padding-bottom: 34px;
	}
}
.sp-model-beskrivelse:not(.sp-expanded) .sp-model-beskrivelse-text {
    max-height: 124px;
    overflow: hidden;
    position: relative;
}
.sp-model-beskrivelse:not(.sp-expanded) .sp-model-beskrivelse-text::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3em; /* høyde på fade */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
    pointer-events: none; /* slik at den ikke blokkerer klikk */
}
@media screen and (min-width: 768px) {
	.sp-model-beskrivelse:not(.sp-expanded) .sp-model-beskrivelse-text {
		max-height: 95px;
	}
}
.sp-model-beskrivelse .sp-readmore, 
.sp-model-beskrivelse .sp-readless {
	cursor: pointer;
	text-align: left;
	font: var(--p-big-font);
	font-weight: 600;
	margin-top: 10px;
	line-height: var(--p-regular-lineheight);
	text-decoration: underline !important;
	white-space: normal;
}
.sp-model-beskrivelse .sp-readmore:after, 
.sp-model-beskrivelse .sp-readless:after {
	display: none;
}
.product .sp-model-beskrivelse p:last-child {
	margin-bottom: 0;
}
.product .sp-model-beskrivelse p:first-child {
	margin-top: 0;
}
.product .sp-model-beskrivelse .sp-readmore {
	display: none;
}
.sp-kvalitable {
	border-bottom: 1px solid var(--stroke-color);
	margin-bottom: 20px;
}
.sp-kvalitable tr {
	display: grid;
	grid-template-columns: 1fr;
	margin-bottom: 14px;
	gap: 4px;
}
@media screen and (min-width: 768px) {
	.sp-kvalitable {
		padding-bottom: 20px;
	}
	.sp-kvalitable tr {
		display: table-row;
	}
	.sp-kvalitable th {
		vertical-align: top;
		padding-right: 48px;
	}
}
.sp-model-variantselect {
	font: var(--p-regular-font);
}
@media screen and (min-width: 768px) {
.sp-model-variantselect {
	font: var(--p-big-font);
}
}
.sp-modelvare-header {
	display: grid;
	grid-template-columns: 1.5fr 2fr 1fr;
	padding: 15px;
	padding-right: 55px;
	font-weight: 600;
}
@media screen and (min-width: 768px) {
	.sp-modelvare-header {
		font: var(--h5-font);
		color:  var(--heading-color);
	}
}
.sp-modelvare-header span:last-child {
	text-align: right;
}
.sp-modelvare-container {
	position: relative;
}
.sp-modelvare-select {
	font: var(--p-regular-font);
    width: 100%;
    border-width: 1px;
    border-style: solid;
    border-radius: 30px;
    border-color: var(--stroke-color);
    background-color: #fff;
    background-image: linear-gradient(45deg, transparent 50%, #919191 50%), linear-gradient(135deg, #919191 50%, transparent 50%), linear-gradient(to right, #919191, #919191);
    background-position: calc(100% - 20px) calc(1em + 10px), calc(100% - 15px) calc(1em + 10px), calc(100% - 2.5em) .5em;
    background-repeat: no-repeat;
    background-size: 5px 5px, 5px 5px, 1px calc(100% - 12px);
    cursor: pointer;
	display: grid;
	grid-template-columns: 1.5fr 2fr 1fr;
	padding: 15px;
	padding-right: 55px;
}
@media screen and (min-width: 768px) {
	.sp-modelvare-select {
		font: var(--p-big-font);
		color: var(--heading-color);
	}
}
.sp-modelvare-select > span:last-child {
	text-align: right;
}
.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    background-color: #f9f9f9;
    min-width: 100%;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: var(--default-border-radius);
    overflow: hidden;
    max-height: 50vh;
    overflow-y: auto;
    padding: 15px 0;
    flex-direction:column;
    gap: 0px;
}
@media screen and (min-width: 768px) {
	.dropdown-content {
		max-height: 350px;
	}
}
.show {
	display: flex;
}
.dropdown-content > div {
	display: grid;
	grid-template-columns: 1.5fr 2fr 1fr;
	cursor:  pointer;
	padding: 5px 55px 5px 15px;
	
}
.dropdown-content > div:hover {
	background-color: #f1f1f1;
}
.dropdown-content > div > span:last-child {
	text-align: right;
}
.sp-product-price {
	font: var(--h3-font);
	text-align: right;
	margin-top: 24px;
}
.sp_ms_currency {
	margin-right: 8px;	
}
.sp-buy-button {
	width: 100%;
	height: 60px;
	margin-top: 12px;
	margin-bottom: 16px;
	color: white;
	background-color: var(--bergen-blue);
	border-radius: 100px;
    cursor: pointer;
}
.sp-model-varianter {
    border-bottom: 1px solid var(--stroke-color);
    padding-bottom: 15px;
    margin-bottom: 30px;
}
.sp-model-varianter table {
		width: 100%;
	}
.sp-model-varianter th:last-of-type,
.sp-model-varianter td:last-of-type {
    text-align: right;
}

.sp-model-varianter th {
    padding-bottom: 5px;
}
.sp-variationtable-showmore {
    cursor: pointer;
    text-decoration: underline;
    color: var(--bergen-blue);
    font-weight: 600;
    margin-top: 15px;
}
.sp-prod-acordion-header {
	font: var(--h5-font) !important;
	padding-bottom: 16px;
	margin-bottom: 16px;
	border-bottom: 1px solid #e9e9e9;
	position: relative;
}
.sp-prod-acordion-header.active {
	border-bottom: unset;
	margin-bottom: unset;
}
.sp-prod-acordion-header:after {
    position: absolute;
    right: 0;
    cursor: pointer;
}
.sp-prod-acordion-header:not(.sp-prod-acordion-header.active):after {
    content: "+";
}

h2.sp-prod-acordion-header.active:after {
    content: "-";
}

.sp-prod-acordion-slidecontent {
    display: none;
	font: var(--p-regular-font);
}
.sp-details-table {
	border-top: 1px solid var(--bergen-blue);
}
.sp-details-table th,
.sp-details-table td {
    padding: 15px 25px 15px 0px;
    border-bottom: 1px solid var(--stroke-color);
    vertical-align: top;
}
.sp-details-table th {
    width: 25%;
}
.sp-details-table td {
    width: 75%;  
}
.sp-wash1, .sp-wash2 {
	margin-bottom: 8px;
}
@media screen and (min-width: 768px) {
	.sp-wash2 img {
		max-width: 65%;
	}
}
.sp-certificates-container  {
	background-color: #f5f7fc;	
	margin-top: 24px;
}
.sp-model-certifikat-image {
	font-family: var(--heading-font);
	font-size: 12px !important;
	font-weight: 600;
}
.sp-model-certifikat-image:not(:nth-child(2n)) {
    border-right: 1px solid var(--stroke-color);
}
/* make all sp-model-certifikat-iamge with border bottom, but not the final two */
.sp-model-certifikat-image:not(:nth-last-child(-n+2)) {
    border-bottom: 1px solid var(--stroke-color);
}
@media screen and (min-width: 768px) {
 .sp-model-certifikat-image:not(:nth-last-child(-n+2)) {
    border-bottom: unset;
}
.sp-model-certifikat-image:not(:nth-last-child(-n+3)) {
    border-bottom: 1px solid var(--stroke-color);
}
    .sp-model-certifikat-image:not(:nth-child(2n)) {
    border-right: unset;
}
.sp-model-certifikat-image:not(:nth-child(3n)) {
    border-right: 1px solid var(--stroke-color);
}
}
.related.products {
	max-width: 100%;
	width:  100%;
}
.related.products h2 {
	margin-bottom: 32px;
	margin-top: 32px;
	color: var(--heading-color);
}
@media screen and (min-width: 768px) { 
	.related.products h2 {
	margin-bottom: 0px;
	margin-top: 32px;
		font: var(--h1-font);
	}
}
.related.products .products {
	display: flex;
	gap: 16px;
	margin-top: 0px;
	flex-wrap: nowrap;
	overflow-x: auto;
     overflow-y: hidden;
     scroll-snap-type: x mandatory;
     scroll-behavior: smooth;
	width: calc(100% + var(--mobile-margins));
}
@media screen and (min-width: 768px) { 
	.related.products .products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
		padding-left: unset;
	}
}
.related.products .products li {
    width: 87%;
    display: block;
    flex-shrink: 0;
    margin-bottom: 10px;
    scroll-snap-align: start;
}
@media screen and (min-width: 768px) { 
	.related.products .products li {
		width: 100%;
	}
}
/* scrollbars on infinity loops */
.sp-products-container.sp-shortcode-infinityloop ul.products::-webkit-scrollbar,
.sp-infinity-loop .sp-repeater::-webkit-scrollbar {
		height: 2px;
	}
@media screen and (min-width: 768px) {
.sp-products-container.sp-shortcode-infinityloop ul.products::-webkit-scrollbar,
.sp-infinity-loop .sp-repeater::-webkit-scrollbar {
		height: 4px;
	}
	
}
.sp-products-container.sp-shortcode-infinityloop ul.products::-webkit-scrollbar-track,
    .sp-infinity-loop .sp-repeater::-webkit-scrollbar-track {
		background: var(--bergen-bg-1);
		border-radius: 100vw;
		margin-right: calc((var(--page-width) - var(--content-width)) / 2);
	}
	
	.sp-products-container.sp-shortcode-infinityloop ul.products::-webkit-scrollbar-thumb,
    .sp-infinity-loop .sp-repeater::-webkit-scrollbar-thumb {
		background: var(--bergen-blue);
		border-radius: 100vw;
		
	}	
	.sp-products-container.sp-shortcode-infinityloop ul.products::-webkit-scrollbar-thumb:hover,
    .sp-infinity-loop .sp-repeater::-webkit-scrollbar-thumb:hover {
		background: var(--bergen-blue);
		cursor: pointer;
	}
/* buttons on infinity loops */
@media screen and (min-width: 768px) {
.sp-infinity-scrollright-btn {
        content: url(assets/icons/slideshow-right-chewron.svg);
        display: block;
		right: 15px;
    }

    .sp-infinity-scroll-left-btn {
        content: url(assets/icons/slideshow-left-chewron.svg);
		left: 15px;
    }
	.sp-standard-product-loop {
		position: relative;
	}
	.sp-infinity-scrollright-btn,
    .sp-infinity-scroll-left-btn {
		cursor: pointer;
		position: absolute;
        margin-right: 15px;
        top: calc(50% - 150px);
        width: 75px;
        height: 75px;
        padding: 25px;
        border-radius: 50%;
        background-color: var(--bergen-blue);
        z-index: 999;
    }
}
/* dynamic add to cart button */
/* loader */
 .loader {
    width: 10px;
	 height: 10px;
    aspect-ratio: 1;
    border-radius: 50%;
    animation: l5 1s infinite linear alternate;
    margin-right: auto;
    margin-left: auto;
  }
  @keyframes l5 {
      0%  {box-shadow: 20px 0 var(--bergen-bg-1), -20px 0 var(--bergen-lightblue);background: var(--bergen-bg-1) }
      33% {box-shadow: 20px 0 var(--bergen-bg-1), -20px 0 var(--bergen-lightblue);background: var(--bergen-bg-1)}
      66% {box-shadow: 20px 0 var(--bergen-lightblue),-20px 0 var(--bergen-bg-1); background: var(--bergen-lightblue)}
      100%{box-shadow: 20px 0 var(--bergen-lightblue),-20px 0 var(--bergen-bg-1); background: var(--bergen-bg-1) }
  }
.added-to-cart {
    content: url(assets/icons/checkmark-white.svg);
    height: 15px;
    margin-right: auto;
    margin-left: auto;
}

/* QUOTE BLOCK */
.sp-multi-slideshow-wrapper .sp-textblock-before-multi {
	margin-top: 0;
}
.sp-slideshowitem.sp-quoteblock .sp-text-box:before {
    content: url(assets/icons/quotesymbol.svg);
}
@media screen and (min-width: 768px) {
	.sp-multi-slideshow-wrapper.sp-bgcolor {
		padding-top: 52px;
		padding-bottom: 52px;
	}
    .sp-slideshowitem.sp-quoteblock .sp-text-box:before {
        content: "";
        background-image: url(assets/icons/quotesymbol.svg);
        background-size: 55px 55px;
        height: 55px;
        width: 55px;
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
    }
}
/* ============== SLIDESHOW QUOTE ======================= */
.sp-slideshowdarrowprev,
.sp-slideshowdarrownext {
    background-color: var(--bergen-blue);
    height: 60px;
    width: 60px;
    padding: 18px;
    border-radius: 50%;
    top: calc(100% - 114px);
}
.sp-slideshowdarrowprev {
    left: calc(50% - 75px);
	content: url(assets/icons/slideshow-left-chewron.svg);
}
.sp-slideshowdarrownext {
    right: calc(50% - 75px);
	content: url(assets/icons/slideshow-right-chewron.svg);
}
@media screen and (min-width: 768px) {
	.sp-slideshowdarrowprev,
	.sp-slideshowdarrownext {
		top: 50%;
		transform: translateY(-50%);
	}
	.sp-slideshowdarrowprev {
	    left: calc(75px);
	}
	.sp-slideshowdarrownext {
	    right: calc(75px);
	}
}
.sp-slideshowdot {
    width: 9px;
    height: 9px;
    border: none;
    background-color: #1B1B1D20;
}
@media screen and (min-width: 768px) {
	.sp-quoteblock .sp-text-box {
		max-width: 878px;
	}
}
.sp-quoteblock .sp-main-header {
	font: var(--h3-font);
	color: #1c1f21;
	margin-top: 8px;
}
.sp-quoteblock .sp-content-text {
	font-size: 18px;
	line-height: 24px;
}
@media screen and (min-width: 768px) {
	.sp-quoteblock .sp-content-text {
	font-size: 24px;
	line-height: 30px;
	}
	.sp-quoteblock .sp-content-text strong {
		font-size: 18px;
		line-height: 22px;
		color: #23293d;
	}
}
/* LOOP BLOCKS */
/* LOGOCARDS */
.sp-logocard-items {
   gap: 48px;
}
.sp-textblock-before-multi {
	margin-top: var(--block-spacing);
	margin-bottom: 12px;
}
.sp-textblock-before-multi.sp-prodloop-textblock {
	margin-bottom: 12px;
}
.sp-shortcode-infinityloop {
	margin-bottom: 50px;
}
.sp-multi-slideshow-wrapper {
	margin-top: 50px;
	margin-bottom: 50px;
}
.sp-dykonlook.sp-repeater {
	margin-bottom: var(--block-spacing);
	gap: 24px;
}
@media screen and (min-width: 768px) {
	.sp-dykonlook.sp-repeater {
		display: grid;
		grid-template-columns: 541fr 771fr;
	}
	.sp-dykonlook.sp-dykonlook-reverse.sp-repeater {
			grid-template-columns: 771fr 541fr;
	}
}
.sp-dykonlook .sp-repeater-item {
	position: relative;
}

.sp-dykonlook .sp-repeater-item .sp-text-box {
	position: absolute;
	bottom: 24px;
	left: 24px;
	pointer-events: none;
}
@media screen and (min-width: 768px) {
.sp-dykonlook .sp-repeater-item .sp-text-box {
	bottom: 54px;

}
}
.sp-dykonlook .sp-repeater-item .sp-text-box .sp-main-header {
	color: white;
	display: flex;
	justify-content:flex-start;
	align-items: center;
	gap: 12px;
	z-index: 3;
	position: relative;
}
.sp-dykonlook .sp-repeater-item .sp-text-box .sp-main-header:after {
	content: url(assets/icons/dykonlook-arrow.svg);
	height: 24px;
}
.sp-dykonlook .sp-repeater-item .sp-image-container {
	z-index: 1;
	border-radius: 32px;
	overflow: hidden;
}
.sp-dykonlook .sp-repeater-item .sp-image-content {
	aspect-ratio: 345 / 295;
	position: relative;
}
.sp-dykonlook .sp-repeater-item .sp-image-content:before {
	background-color: var(--sp-overlay-color);
	position: absolute;
	height: 100%;
	width: 100%;
	content: " ";
	display: block;
	z-index: 1;
	pointer-events: none;
}
@media screen and (min-width: 768px) {
.sp-dykonlook .sp-repeater-item:first-child .sp-image-content {
	aspect-ratio: 541 / 463;
}
.sp-dykonlook .sp-repeater-item:last-child .sp-image-content {
	aspect-ratio: 771 / 463;
}
	.sp-dykonlook.sp-dykonlook-reverse .sp-repeater-item:last-child .sp-image-content {
	aspect-ratio: 541 / 463;
}
.sp-dykonlook.sp-dykonlook-reverse .sp-repeater-item:first-child .sp-image-content {
	aspect-ratio: 771 / 463;
}
}

/* CART and CHECHOUT PAGES  */
/* format cart and checkout pages */
/* cart and checkout */

.woocommerce-cart #page {
    background-color: var(--bergen-bg-1);
}
.woocommerce-cart-form {
    margin-top: 24px;
}
@media screen and (min-width: 768px) {
	.woocommerce-cart-form {
		display: grid;
		grid-template-columns: repeat(12, minmax(0, 1fr));
		grid-gap: 24px;
	}
}
.woocommerce-cart-form__cart-item.cart_item {
    display:  grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-column-gap: 12px;
	padding-bottom: 24px;
    border-bottom: 1px solid var(--stroke-color);
}
@media screen and (min-width: 768px) { 
	.woocommerce-cart-form__cart-item.cart_item {
		grid-template-columns: repeat(12, minmax(0, 1fr));
	}
	.woocommerce-cart-form__cart-item.cart_item .product-thumbnail {
		grid-column: span 2;
		grid-row: span 2;
	}
}

.sp-cart-header {
    font: var(--h2-font);
    margin-bottom: 24px;
}

.sp-cart-table {
    padding: 24px;
    background-color: white;
    border: 1px solid var(--stroke-color);
}
@media screen and (min-width: 768px) { 
	.sp-cart-table {
		grid-column: span 9;
	}
}
.cart_item td.product-name {
    font: var(--p-regular-font);
    font-weight: 600;
    order: 2;
}
.checkout .cart_item td.product-name {
	order: unset;
}
@media screen and (min-width: 768px) { 
.sp-cart-table .cart_item td.product-name {
	font: var(--p-big-font);
	font-weight: 600;
	grid-column: span 8;
}
}
.cart_item td.product-name .variation {
    font-weight: 400;
}
.cart_item td.product-name .variation span {
    display: block;
}
/* empty cart page */
.woocommerce:has(.wc-empty-cart-message) {
    padding-top: 100px;
    padding-bottom: 50px;
}
.wc-empty-cart-message {
    text-align: center;
    margin-bottom: 50px;
    font: var(--h3-font);
}
.return-to-shop {
    text-align: center;
    padding-bottom: 50px;
}
.return-to-shop a {
    display: flex;
    width: max-content;
    height: 48px;
    background-color: var(--bergen-blue);
    color: white;
    padding: 0 24px;
    text-decoration: none;
    align-items: center;
    border-radius: 100px;
    margin: 0 auto;
}

.checkout .cart_item td.product-name .variation span {
	display: inline;
}
@media screen and (min-width: 768px) { 
	.cart_item td.product-name .variation {
		display: inline;
	}
	.cart_item td.product-name .variation span {
		display: inline;
	}
}
.cart_item td.product-name .variation span:before {
    content: "- "
}
.sp-cart-table .sp-cart-item-price {
    font-weight: 400;
    margin-top: 12px;
}
.sp-cart-table .product-subtotal {
    order:4;
    text-align: right;
    font: var(--p-big-font);
    font-weight: 600;
}
.sp-cart-table .product-remove {
    order: 3;
}
.sp-cart-table .product-quantity {
    order: 5;
    grid-column: span 2;   
    padding-top: 24px;
}
@media screen and (min-width: 768px) { 
	.sp-cart-table .product-subtotal {
		order: 3;
		grid-column: span 2;
	}
	.sp-cart-table .product-remove {
	    order: 4;
		grid-column: span 4;
		font-size: 12px;
	}
	.sp-cart-table .product-quantity {
	    order: 5;
	    grid-column: span 6;
	    padding-top:  unset;
	}

}
td.product-quantity .quantity {
	float: right;
	display: flex;
	gap: 4px;
}
td.product-quantity .quantity input {
	width: 58px;
	text-align: right;
	padding: 5px 10px;
	/* border-color: var(--stroke-color); */
	/* outline: none; */
	border: 1px solid var(--stroke-color);
}
td.product-quantity .quantity .plus, td.product-quantity .quantity .minus {
	background-color: unset;
	border-radius: unset;
	height:  36px;
    padding: 0 12px;  
	cursor: pointer;
}
.sp-cart-table td.actions {
    padding-top: 24px;
    text-align: right;
}
.sp-cart-table td.actions button {
    background-color: var(--bergen-blue);
    font: var(--p-regular-font);
    color: white;
    padding: 0px 24px;
    height: 42px;
}
.sp-cart-table td.actions button:disabled {
    background-color: white;
    border-color: var(--stroke-color);
    color: var(--stroke-color);
}
.sp-coupon-and-totals {
    margin-top: 24px;
}
@media screen and (min-width: 768px) { 
	.sp-coupon-and-totals {
		grid-column: span 3;
		margin-top: 0px;
	}
}
.coupon {
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid var(--stroke-color);
}

.coupon input {
    font: var(--p-regular-font);
    padding: 4px;
}
.coupon input, .coupon button {
    width: 100%;
}
.coupon button {
    font: var(--p-regular-font);
    background-color: var(--bergen-blue);
    color: white;
}
.cart-collaterals {
    margin-top: 24px;
    margin-bottom: 24px;
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid var(--stroke-color);
}
@media screen and (min-width: 768px) { 
	.cart-collaterals {
		margin-bottom: 0;
	}
	.cart-collaterals h2 {
		font: var(--h4-font)
	}
}
.cart_totals table {
    width: 100%;
}
.cart_totals th, .cart_totals td {
    padding-top: 5px;
}
.cart_totals table th {
    padding-right: 12px;
}
.cart_totals table td {
    text-align: right;
}
.cart_totals .wc-proceed-to-checkout {
    margin-top: 12px;
    padding-top: 12px;
}
.cart_totals .wc-proceed-to-checkout a {
    display: block;
    width: 100%;
    color: white;
    text-decoration: none;
    background-color: var(--bergen-blue);
    height: 42px;
    display: flex;
    align-items:center;
    justify-content:center;
    border-radius: var(--default-button-border-radius);
}
form.checkout.woocommerce-checkout .col2-set {
    padding: 24px;
    background-color: var(--bergen-bg-1);
}
form.checkout.woocommerce-checkout input{
    border: 1px solid var(--stroke-color);
    width: 100%;
    padding: 8px 16px;
    font: var(--p-regular-font);
    border-radius: 100px;
}
form.checkout.woocommerce-checkout .select2-container--default .select2-selection--single {
    border: 1px solid var(--stroke-color);
    border-radius: 100px;
    height: 38px;
    padding-top: 4px;
    padding-left: 8px;
    font: var(--p-regular-font);
}
form.checkout.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 8px;
    right: 12px;
}
.woocommerce-additional-fields h3 {
    display: none;
}
.woocommerce-additional-fields label {
    display: block;
}
.woocommerce-additional-fields textarea {
    width: 100%;
	height: 64px;
    margin-top: 8px;
	padding: 8px;
	font: var(--p-regular-font);
	border-radius: 16px;
	border: 1px solid var(--stroke-color);
}
.woocommerce-checkout-review-order {
    margin-top: 24px;
}
.woocommerce-checkout-review-order table {
    width: 100%;
}
.woocommerce-checkout-review-order thead {
    display: none;
}
.woocommerce-checkout-review-order td {
    border-bottom: 1px solid var(--stroke-color);
    padding-bottom: 8px;
}
.woocommerce-checkout-review-order .coupon-form td {
    padding-bottom: 0px;
}
.woocommerce-checkout-review-order td.product-total {
    text-align: right;
    vertical-align: top;
    font: var(--p-regular-font);
}
.woocommerce-form-coupon-toggle {
    display: none;
}
.woocommerce-checkout .checkout_coupon.woocommerce-form-coupon {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-column-gap: 8px;
}
.woocommerce-checkout .checkout_coupon.woocommerce-form-coupon button {
    width: 100%;
    background-color: var(--bergen-blue);
    color: white;
    font: var(--p-regular-font);
}
.woocommerce-checkout tr.cart_item {
	display: grid;
	grid-template-columns: 3fr 1fr;
	/* width:  100%; */
}
.woocommerce-checkout .coupon-form {
	display: block;
}
.woocommerce-checkout-review-order tfoot {
	display: block;
}
.woocommerce-checkout tr.cart-subtotal {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.woocommerce-checkout tr.cart-subtotal td {
	text-align: right;
}
.woocommerce-checkout tr.cart-subtotal td,
.woocommerce-checkout tr.cart-subtotal th {
	border-bottom: 1px solid var(--stroke-color);
	padding: 12px 0;
}

.checkout .woocommerce-shipping-totals.shipping {
	display: grid;
	margin-top: 24px;
	padding: 24px;
	background-color: var(--bergen-bg-1);
}
.checkout .woocommerce-shipping-totals.shipping th {
	font: var(--h3-font);
}
.woocommerce-shipping-methods {
	list-style: none;
	padding-left: 0;
}
.woocommerce-shipping-methods label {
	font-weight: 600;
}
.parcelshoplist .shopinlist {
	display: grid;
	grid-template-columns: 20% 80%;
	padding: 12px 0;
}
.shopinlist input {
    height: 20px;
    accent-color: var(--bergen-blue);
}
.shopinlist:not(:last-child) {
    border-bottom: 1px solid var(--stroke-color);
}
.shopinlist:has(input:checked) {
	background-color: var(--bergen-bg-2);
}
.parcelshop-name {
	display: block;
}
.parcelshop-zip {
	display: block;
}
.parcelshoplist {
    max-height: 400px;
    overflow-y: auto;
    background-color:  white;
}

.checkout .order-total {
	padding: 24px 12px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	font:  var(--h4-font);
} 
.order-total td {
	border: unset;
	text-align: right;
}
.woocommerce-checkout-payment {
	padding: 24px 12px;
	background-color: var(--bergen-bg-1);
}
.woocommerce-checkout-payment ul {
	padding-left: 0;
}
.woocommerce-checkout-payment li {
	list-style: none;
}
.woocommerce-privacy-policy-text {
	font: var(--p-regular-font);
}
.order-review .form-row.validate-required label {
    display: grid;
    grid-template-columns: 1fr 9fr;
}
.woocommerce-terms-and-conditions-wrapper .form-row.validate-required input {
    height: 20px;
    width: 20px;
    accent-color: var(--bergen-blue);
}
.woocommerce-terms-and-conditions-checkbox-text {
	font: var(--p-regular-font);
}
.form-row.validate-required abbr {
    display: none;
}
button#place_order {
    background-color: var(--bergen-blue);
	color: white;
    width: 100%;
}
/* THANK YOU PAGE */
p.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received {
    font: var(--h3-font);
}
.woocommerce-order-received {
    font: var(--p-regular-font);
}
@media screen and (min-width: 768px) { 
	.woocommerce-order-received {
    font: var(--p-big-font);
	}
}

ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
    list-style: none;
    padding-left: 0;
    
}
.woocommerce-table__line-item.order_item .product-name {
    padding-right: 12px;
}
.woocommerce-table__product-table.product-total,
.woocommerce-table__product-total.product-total {
    text-align: right;
    vertical-align: top;
}
.woocommerce-table__product-total.product-total, .woocommerce-table__line-item.order_item .product-name {
    border-bottom: 1px solid var(--stroke-color);
}
.woocommerce-table__product-name.product-name ul.wc-item-meta {
    list-style: none;
    padding-left: 0;
}
.woocommerce-table__product-name.product-name .wc-item-meta-label {
    display: none;
}
.woocommerce-table__product-name.product-name ul.wc-item-meta p {
    margin-top: unset;
    margin-bottom: unset;
}
.woocommerce-table.woocommerce-table--order-details.shop_table.order_details tfoot td {
    text-align: right;
}
li.wc_payment_method input:checked {
	accent-color: var(--bergen-blue);
}
	ul.wc_payment_methods.payment_methods.methods li {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--stroke-color);
}
.payment_method_dibs_easy img {
	max-width: 100% !important;
    height: 28px;
}


li.wc_payment_method input {
    width: 25px !important;
    flex-grow: 0;
}
@media screen and (min-width: 768px) { 
	.woocommerce-NoticeGroup.woocommerce-NoticeGroup-checkout {
    grid-column: span 2;
		padding: 24px;
		background-color: var(--bergen-bg-1);
		
}

table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details {
    width: 60%;
}
section.woocommerce-customer-details {
    width: 40%;
}
	form.checkout.woocommerce-checkout {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 3fr);
    gap: 48px;
    margin-top: 48px;
}
form.checkout.woocommerce-checkout #customer_details {
    background-color: unset;
    padding: unset;
}
form.checkout.woocommerce-checkout #customer_details .col-1,
form.checkout.woocommerce-checkout #customer_details .col-2 {
    background-color: var(--bergen-bg-1);
    padding: 5px 25px 25px 25px;
}
form.checkout.woocommerce-checkout #customer_details .col-1 {
    padding-bottom: 1px;
}
form.checkout.woocommerce-checkout #customer_details .col-2 {
    padding-top: 1px;
}
form.checkout.woocommerce-checkout #customer_details label {
    font: var(--p-regular-font);
    font-weight: 600;
}
form.checkout.woocommerce-checkout #customer_details .woocommerce-input-wrapper {
    font: var(--p-regular-font);
}
.checkout .cart_item td.product-name {
    display: block;
}
.woocommerce-checkout .coupon-form td {
    display: block;
}
.parcelshoplist {
    font: var(--p-regular-font);
}
.parcelshop-name {
    font: var(--p-big-font);
    font-weight: 600;
}
.parcelshop-street, .parcelshop-zip {
    font-weight: 400;
}
.checkout .form-row.validate-required label {
    display: flex;
    align-items:center;
    gap: 10px;
}
}

/*  STORE LOCATOR */
.wpsl-search.wpsl-clearfix {
    order: 1;
    background: unset;
    padding: unset;
}

@media screen and (max-width: 768px) {
div#wpsl-wrap {
    display: grid;
	margin-top: 48px;
}
#wpsl-wrap:before {
		content:"Finn forhandler i nærheten";
		order: 1;
		font: var(--h3-font);
		text-align:  left;
		font-size:  24px;
		padding-bottom: 24px;
	}
div#wpsl-gmap {
    order: 3;
}


div#wpsl-result-list {
    order: 2;
}
#wpsl-search-wrap .wpsl-input label {
    font: var(--p-big-font);
    font-weight: 600;
    margin-bottom: 8px;
}
#wpsl-search-wrap div label {
    font: var(--p-big-font);
    font-weight: 600;
    margin-bottom: 8px;
    text-align: left;
}
#wpsl-search-wrap input {
    border: 1px solid var(--stroke-color);
    height: 48px;
    width: 100% !important;
}
#wpsl-search-wrap input:focus-visible {
    outline: 1px solid var(--stroke-color);
}
#wpsl-category {
    width: 100%;
    margin-top: 12px;
}
#wpsl-search-wrap .wpsl-dropdown {
    width: 100% !important;
    height: 48px;
    padding-left: 12px;
}
.wpsl-search-btn-wrap {
    width: 100%;
}
#wpsl-search-btn {
    background-color: var(--bergen-blue);
    background-image: unset;
    color: white;
    width: 100%;
    border-radius: 100px !important;
}
#wpsl-stores {
     height: 325px !important;   
    border: 1px solid var(--stroke-color);
    padding: 12px;
}
#wpsl-stores ul {
    padding-right: 42px;
}
#wpsl-stores li {
    display: flex;
    text-align: left;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px !important;
    padding-bottom: 18px !important;
}
#wpsl-stores ul li:first-child {
    padding-top: unset !important;
}
a.wpsl-directions {
     font: var(--p-big-font);
    font-family: "plus-jakarta-sans";
    font-weight: 600;
    color: #23293d;
    text-underline-offset: 2px;
}
#wpsl-result-list li p {
    margin: unset;
}
.wpsl-store-location p strong {
    line-height: 28px;
    color: #23293d;
    font-family: "plus-jakarta-sans";
    font-weight: 600;
}
.wpsl-store-location span {
    display: block;
}
}
@media screen and (min-width: 768px) {
    .sp-content-text:has(#wpsl-wrap) {
        overflow: visible;
    }
	#wpsl-wrap:before {
		content:"Finn forhandler i nærheten";
		order: 1;
		font: var(--h3-font);
		text-align:  left;
		font-size:  32px;
		padding-bottom: 32px;
	}
    #wpsl-wrap {
        width: var(--content-width);
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        display: grid;
        grid-template-columns: minmax(0, 32%) minmax(0, 68%);
        grid-column-gap: 28px;
        margin-top: 48px;
    }
    #wpsl-search-wrap {
        display: block;
    }
    #wpsl-search-wrap .wpsl-input {
        width: 100% !important;
        max-width: 100% !important;
        display: block;
    }
    #wpsl-search-wrap .wpsl-input input {
        width: 100% !important;
        max-width: 100% !important;
        display: block;
    }
    div#wpsl-gmap {
        order: 2;
        grid-row: span 3;
        width: 100%;
        height: 100% !important;
    }
    div#wpsl-result-list {
        order: 4;
        width:  100%;
    }
    .wpsl-search.wpsl-clearfix {
        max-width: 100%;
        min-width: 0;
        width: 100%;
        display: block;
        order: 3;
    }
    .wpsl-dropdown {
        width: 100% !important;
        max-width: 100%;
    }
    .wpsl-search-btn-wrap {
    width: 100%;
}
#wpsl-search-btn {
    background-color: var(--bergen-blue);
    background-image: unset;
    color: white;
    width: 100%;
    border-radius: 100px !important;
}
    #wpsl-search-wrap .wpsl-input label {
    font: var(--p-big-font);
    font-weight: 600;
    margin-bottom: 8px;
}
#wpsl-search-wrap div label {
    font: var(--p-big-font);
    font-weight: 600;
    margin-bottom: 8px;
    text-align: left;
}
    #wpsl-search-wrap input {
    border: 1px solid var(--stroke-color);
    height: 48px;
    width: 100% !important;
}
#wpsl-search-wrap input:focus-visible {
    outline: 1px solid var(--stroke-color);
}
#wpsl-category {
    width: 100%;
    margin-top: 12px;
}
#wpsl-search-wrap .wpsl-dropdown {
    width: 100% !important;
    height: 48px;
    padding-left: 12px;
    text-align: left;
}
    #wpsl-stores {
     height: 325px !important;
     border: 1px solid var(--stroke-color);
     padding: 12px;
     padding-right:  0px;
     max-height: 325px;
}
#wpsl-stores ul {
    padding-right: 9px;
}
#wpsl-stores li {
    display: flex;
    text-align: left;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px !important;
    padding-bottom: 18px !important;
}
#wpsl-stores ul li:first-child {
    padding-top: unset !important;
}
a.wpsl-directions {
     font: var(--p-big-font);
    font-family: "plus-jakarta-sans";
    font-weight: 600;
    color: #23293d;
    text-underline-offset: 2px;
}
#wpsl-result-list li p {
    margin: unset;
}
.wpsl-store-location p strong {
    line-height: 28px;
    color: #23293d;
    font-family: "plus-jakarta-sans";
    font-weight: 600;
}
.wpsl-store-location span {
    display: block;
}
}