:root {

--font: Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;


--base-color: #E01839;


--base-text-color: #fff;


--footer-color: #3C3C3C;


--footer-text-color: #fff;


--button-color: #4FAB2A;


--button-hover-color: hsl(from var(--button-color) h s calc(l - 5));


--button-text-color: #fff;


--header-color: #fefefe;


--header-text-color: #333;

--clear-filters-display-text: inline-block;


--clear-filters-display-icon: inline-block;

}

	.es-clear-all-filters-button .button-text {
	display: var(--clear-filters-display-text);
	}

	.es-clear-all-filters-button .button-icon {
	display: var(--clear-filters-display-icon);
	}

/* =============================================================================================================================
					IMPORTS
   ============================================================================================================================= */
@import url('https://fonts.googleapis.com/css?family=Raleway:700');


/* =============================================================================================================================
					GLOBAL DEFAULTS & RESET
   ============================================================================================================================= */

/* Mini Basket */

.minibasket .minibasket-icon {
    color: #ffffff;
    background-color: #011278;
    font-size: 1.5rem;
    text-align: center;
    border-radius: 2px;
    display: inline-block;
    position: relative;
    margin-left: 12px;
    padding-top: 4px;
    height: 42px;
    width: 42px;
}

.button {
    background-color: #FA344C;
	color: #fff;
}
.button:hover {
    background-color: #011278;
	color: #fff;
}

.basket-remove {
    display: none;
}


/* Bakgrunnsfarger */

main {
background-color: #FFFFFF;
}

.header {
	background-color: #FFFFFF;
}

.footer {
  background-color: #011278;
}

.sticky-footer-bar {
	background-color: #011278;
}

.menu-bar {
	background-color: rgba(8, 189, 244, 0.20);
}

/* =============================================================================================================================
					HEADER
   ============================================================================================================================= */

.header {
    color: #1B1C1E;
    padding: 0px;
	/*margin: 0;*//*denne gjÃ¸r at headerinnhold ikke er midtstilt*/
	padding-bottom: 0px;
}

.header-wrapper {
    background-color: transparent;
    color: #1B1C1E;
    padding-bottom: 0px;
	display: block;
	overflow: visible;
	margin: 0;
}


/* Product search */
.product-search {
	background-color: transparent;
    color: #1B1C1E;
}

.product-search-input-container {
	background-color: #fff;
    color: #1B1C1E;
	border: 0.5px solid black !important;
	border-radius: 8px; 
	margin-top: 16px;
}

.search-result-related-categories {
    color: #1B1C1E;
	opacity: 0.999!important;
}

.quick-search .close-search {
  position: absolute;
  top: 10px; /* Juster hvis nÃ¸dvendig */
  right: 10px;
  z-index: 9999;
  cursor: pointer;
}

span.logged-in-info-text__label {
	font-weight: 800;
	color: #FA344C;
	font-size: 1rem;
}


/* =============================================================================================================================
					FOOTER
   ============================================================================================================================= */

/* SÃ¸rger for at hele siden tar full hÃ¸yde */
/* MÃ¥ vÃ¦re "auto" for at sticky header skal kunne scrolle korrekt */
html, body {
  margin: 0;
  padding: 0;
  height: auto !important;
  overflow-y: auto !important;
}

/* SÃ¸rger for at innhold + footer deler 100vh og at footer skyves ned ved lite innhold */
main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  will-change: min-height;
}

/* Flytter footer til bunn av main */
#footer {
  margin-top: auto;
  flex-shrink: 0;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Footer-stil (bakgrunnsfarge, padding osv) */
.footer {
  padding: 0;
  margin: 0;
}

/* Wrapper rundt innholdet i footeren */
.content-footer-wrapper {
  max-width: 1000px;
  width: 100%;
  margin: 20px auto 0 auto !important;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0 30px;
}

/* Hver kolonne (li) */
.content-footer-wrapper > li {
  width: 227px;
  height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 !important;
  padding: 0 !important;
  margin-top: 20px !important;
}

/* FÃ¸rste kolonne (logo) â midtstilles */
.content-footer-wrapper > li:nth-child(1) {
  justify-content: center !important;
  align-items: center !important;
}

/* De andre kolonnene (tekst) â toppjusteres */
.content-footer-wrapper > li:nth-child(2),
.content-footer-wrapper > li:nth-child(3),
.content-footer-wrapper > li:nth-child(4) {
  justify-content: flex-start;
}

/* Skjul eventuell 5. kolonne */
.content-footer-wrapper > li:nth-child(5) {
  display: none !important;
}

/* Footer-logo */
.footer-logo {
  width: 80%;
  height: auto;
  max-height: 60px;
}
.footer-logo-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Tekstfelleskap */
.footer-address,
.footer-contact,
.footer-info {
  font-size: 0.8rem !important;
  line-height: 1.2 !important;
  color: #ffffff !important;
}

.footer-address h4,
.footer-contact h4,
.footer-info h4 {
  margin-bottom: 6px !important;
  font-size: 0.9rem !important;
  font-weight: bold !important;
  color: #ffffff !important;
}

/* Adresse-kolonne */
.footer-address div,
.footer-contact div,
.footer-info div {
  display: flex !important;
  align-items: center !important;
  margin-bottom: 3px !important;
}
.footer-address a,
.footer-contact a,
.footer-info a {
  color: #ffffff !important;
  font-size: 0.8rem !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.footer-contact i,
.footer-info i {
  font-size: 0.8rem !important;
  width: 16px !important;
  margin-right: 6px !important;
  text-align: center !important;
}

/* =============================================================================================================================
					STICKY FOOTER BAR
   ============================================================================================================================= */

/* Sticky-baren er skrudd av nÃ¥, men behold CSS klart */
.sticky-footer-bar.hidden {
  transform: translateY(100%);
}

.sticky-footer-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  /* background: #011278;*/
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(0);
  transition: transform 0.3s ease;
  z-index: 9999;
}

.sticky-footer-content {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  margin: 0 auto;
}

.sticky-footer-logo {
  height: 28px;
  width: auto;
}

.sticky-footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.sticky-footer-links a {
  color: white;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  padding: 0;
  margin: 0;
}

/* =============================================================================================================================
					TOP MENU BAR
   ============================================================================================================================= */

/* Drop Down Menu Bar (All products) */
.menu-bar {
	/*background-color: #E4E8F0!important;*/
	color: #1b1c1e!important;
	margin: 0;
	padding: 0px;
	padding-bottom: 0px;
}
.menu-bar-items {
    font-family: 'Raleway', sans-serif;
	font-size:17px!important;
}
.menu-bar-item-label {
    color: #1b1c1e;
	font-weight:500;
}

.menu-bar-desktop {
	color: #3A3F73;
	margin: 0;
}


/* ==================== PRODUCT DROPDOWN MENU ================================= */

/* ======== Main-container ======== */
.menu-bar-desktop-products {
  width: auto !important;           /* vokser med innholdet */
  position: absolute !important;
  left: 0 !important;               /* sÃ¸rger for venstrestilling */
  z-index: 1000;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
}


/* ====== CATEGORIES ========= */

.menu-bar-desktop-categories-menu {
  max-width: none !important;
  width: max-content !important;
  border: 1px solid black !important;
  border-radius: 4px 0 0 4px !important;
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  
}

.menu-bar-desktop-categories-menu-item:hover,
.menu-bar-desktop-categories-menu-item.active {
  background: #011278 !important;
}

.menu-bar-desktop-categories-menu-item-label {
  font-size: 0.95rem !important;
  font-weight: 400 !important;
  color: #1b1c1e !important;
  white-space: nowrap !important;
  margin-right: 15px;
}

.menu-bar-desktop-categories-menu-item:hover .menu-bar-desktop-categories-menu-item-label,
.menu-bar-desktop-categories-menu-item.active .menu-bar-desktop-categories-menu-item-label {
  font-weight: bold !important;
  color: white !important;
}

/* ============= PRODUCTS MENU ============= */

.menu-bar-desktop-products-menus {
  display: flex !important;
  flex-wrap: nowrap !important;
  width: auto !important;
  border: 1px solid black !important;
  border-left: none !important; /* fjern dobbel kant mot kategori */
  border-radius: 0 4px 4px 0 !important;
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  padding: 0.3rem !important;
  gap: 1.5rem !important;
}

.menu-bar-desktop-products-menu {
  min-width: 180px !important;
  max-width: 260px !important;
  white-space: nowrap !important;
  padding: 0 0.6rem !important;
}


.menu-bar-desktop-products-menu-label {
  border: none !important;               /* fjerner tidligere linje */
  text-decoration: underline !important; /* legger til tekst-underline */
  text-underline-offset: 0.4rem;          /* justerer avstand fra teksten (valgfritt) */
  font-weight: bold !important;          /* behold evt. tykk skrift */
}

/* Icon on menu bar (all products)*/
.menu-bar-desktop-menu-products .menu-bar-item-label i {
  font-size: 16px;
  color: #011278 !important;
}

/* Hide product package from products menu */
.menu-bar-desktop-products-menu:has(a.menu-bar-desktop-products-menu-label[href="javascript://"]) {
  display: none !important;
}


/* ================= Menubar right wrapper + icons (JS aktivert) ================= */

@media (min-width: 768px) {
  .menu-bar-items {
    display: flex;
    align-items: center;
  }

  .menu-bar-right-wrapper {
    display: flex;
    align-items: center;
    margin-left: auto;
  }

  .menu-bar-right-wrapper .menu-bar-item {
    display: flex;
    align-items: center;
    position: relative;
    padding: 0;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  .menu-bar-right-wrapper .menu-bar-item:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #011278;
    border-radius: 50%;
    margin-inline: 15px;
  }

  .menu-bar-right-wrapper .menu-bar-item-label,
.menu-bar-right-wrapper .menu-login {
    display: inline-flex;
    align-items: center;
    padding-left: 4px;
	padding-right: 4px;
	padding-top: 0;
	padding-bottom: 0;
    border-radius: 6px;
    transition: box-shadow 0.25s ease, background-color 0.25s ease;
  }

.menu-bar-right-wrapper i {
  color: #011278;
  margin-right: 6px;
  transition: filter 0.2s;
  transform: translateY(-1px);
  font-size: 1rem;
}

.menu-bar-right-wrapper .fas.fa-user {
    order: -1;
}
 

/* ====== HOVEREFFEKT PÃ MENYBAR ====== */
 
.menu-bar-item-label {
  position: relative;
  transition: color 0.2s ease;
}

.menu-bar-item-label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 12px; /* Justert etter dine behov */
  width: 100%;
  height: 2px;
  background-color: #011278; /* Endre til Ã¸nsket farge */
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-bar-item-label:hover {
  color: #1b1c1e;
  cursor: pointer;
}

.menu-bar-item-label:hover::after {
  transform: scaleX(1);
  opacity: 1;
}


}


/* ====== HOVEREFFEKT FOR LOGG-INN-KNAPP (EGET JAVASCRIPT) ====== */

.menu-bar-right-wrapper .menu-login {
  position: relative;
  transition: color 0.2s ease;
  text-decoration: none;
  color: #011278; /* Samme farge som ikon */
}

/* selve linja under */
.menu-bar-right-wrapper .menu-login::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 12px; /* lik som pÃ¥ .menu-bar-item-label */
  width: 100%;
  height: 2px;
  background-color: #011278;
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* hover-effekt */
.menu-bar-right-wrapper .menu-login:hover {
  color: #1b1c1e; /* Samme som andre ved hover */
  cursor: pointer;
}

.menu-bar-right-wrapper .menu-login:hover::after {
  transform: scaleX(1);
  opacity: 1;
}





/* ======== DROP DOWN MENUS (NOT PRODUCTS) ======== */

.resource-menu-desktop {
  max-width: 400px;
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  border-radius: 4px !important;
  border: 1px solid black !important;
  padding: 0rem 0 !important;
  min-width: 230px !important;
  z-index: 10 !important;
  white-space: nowrap !important;
}

/* Fjerner dobbel UL-nesting padding */
.resource-menu-desktop > ul > li > ul {
  padding: 0 !important;
  margin: 0 !important;
}

/* Stil for ALLE link-elementer, inkludert logg ut */
.resource-menu-desktop a.link,
.resource-menu-desktop a.menu-logout {
  white-space: nowrap !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.3rem 0.3rem !important;
  font-size: 0.95rem !important;
  color: #1b1c1e !important;
  text-decoration: none !important;
  transition: background 0.2s ease !important;
  font-weight: 400 !important;
  display: flex !important;
  overflow: visible !important;
  width: 100% !important;
  align-items: center !important;
  box-sizing: border-box !important;
}

/* Hover-stil for ALLE linker */
.resource-menu-desktop a.link:hover,
.resource-menu-desktop a.menu-logout:hover {
  background: #011278 !important;
  color: white !important;
  font-weight: bold !important;
}

/* Ikon ved hover */
.resource-menu-desktop a.link:hover i.fa,
.resource-menu-desktop a.menu-logout:hover i.fa {
  color: white !important;
}

/* Ikoner */
.resource-menu-desktop a.link i.fa,
.resource-menu-desktop a.menu-logout i.fa {
  width: 1.2em !important;
  text-align: center !important;
  margin-right: 6px !important;
  font-size: 1rem !important;
  color: #011278 !important;
}

/* UnngÃ¥ hover-effekter pÃ¥ tomrom mellom linker */
.resource-menu-desktop li,
.resource-menu-desktop li:hover,
.resource-menu-desktop li:focus,
.resource-menu-desktop li:focus-within,
.resource-menu-desktop li:active {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Samme for UL */
.resource-menu-desktop ul,
.resource-menu-desktop ul:focus,
.resource-menu-desktop ul:hover {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Skillelinjer mellom grupper */
.resource-menu-desktop > ul > li:nth-child(2),
.resource-menu-desktop > ul > li:nth-child(3) {
  border-top: 1px solid #ddd !important;
}

/* Ekstra spesifikk fix for logg ut sitt LI-element */
.resource-menu-desktop > ul > li.menu-item-node-container:last-child {
  margin: 0 !important;
  padding: 0 !important;
}


/* --- Hindrer hvit tekst etter klikk eller aktivt fokus --- */
.menu-bar-item-label:focus,
.menu-bar-item-label:active,
.menu-login:focus,
.menu-login:active {
  color: #1b1c1e !important;     /* behold opprinnelig tekstfarge */
  background: transparent !important;
  outline: none !important;       /* fjern evt. gammel fokusmarkering */
  box-shadow: none !important;    /* fjerner hvit glow som vises kort */
}

/* --- Egendefinert focus-stil for tastaturnavigasjon (TAB) --- */
.menu-bar-item-label:focus-visible,
.menu-login:focus-visible {
  outline: 2px solid black !important;  /* stabil svart ramme */
  outline-offset: 2px;
  color: #1b1c1e !important;            /* behold tekstfarge */
  background: transparent !important;
}




/* =============================================================================================================================
					FRONT PAGE
   ============================================================================================================================= */
   
   
/* ======================================================================================
   FRONT PAGE PROMOS â FAST GRID
   -----------------------------------------------------------------------------
   Slik lager du en egen rad med annet antall kort (f.eks. 6 kort i stedet for 5):
   1. Finn raden i HTML: <div class="row collapse promotions no-acc">â¦</div>
   2. Legg inn inline style med variablene du vil overstyre, f.eks.:
        <div class="row collapse promotions no-acc"
             style="--promo-cols:6; --promo-card-w:180px;">
   3. NÃ¥ fÃ¥r akkurat den raden 6 kolonner med 180px bredde per kort.
   4. Andre rader uten inline style bruker standardverdiene i CSS nedenfor.
   -----------------------------------------------------------------------------
   Tips: Du kan overstyre flere variabler (gap, hÃ¸yde osv.) pÃ¥ samme mÃ¥te.
   ====================================================================================== */

.row.collapse.promotions.no-acc{
  --promo-cols: 5;            /* antall kort pr. rad (overstyr per rad) */
  --promo-card-w: 210px;      /* bredde per kort   (overstyr per rad) */
  --promo-gap: 25px;          /* mellomrom mellom kort + ytterkant */
  --promo-h: 250px;           /* lik hÃ¸yde pÃ¥ kort (auto pÃ¥ mobil) */
  --promo-total: calc( (2 * var(--promo-gap)) +
                       (var(--promo-cols) * var(--promo-card-w)) +
                       ((var(--promo-cols) - 1) * var(--promo-gap)) );

  /* layout */
  position: relative;
  display: grid !important;
  grid-template-columns: repeat(var(--promo-cols), var(--promo-card-w));
  column-gap: var(--promo-gap);
  row-gap: var(--promo-gap);
  grid-auto-flow: dense;
  width: var(--promo-total) !important;
  margin: 0 auto !important;
  padding: 0 var(--promo-gap) !important;
  box-sizing: border-box;
}

/* slÃ¥ av clearfix-pseudoer som ellers blir grid-items */
.row.collapse.promotions.no-acc::before,
.row.collapse.promotions.no-acc::after{
  content:none !important;
  display:none !important;
}

/* kortene fyller grid-cellen og har lik hÃ¸yde */
.row.collapse.promotions.no-acc .promotion-container{
  float:none !important;
  width:100% !important;
  height:var(--promo-h) !important;
  min-height:var(--promo-h) !important;
  max-height:var(--promo-h) !important;
  display:flex;
  flex-direction:column;
  box-sizing:border-box;
  grid-column:auto !important;
  grid-row:auto !important;
}

/* indre struktur */
.row.collapse.promotions.no-acc .promotion-item{
  display:flex;
  flex-direction:column;
  height:100%;
}
.row.collapse.promotions.no-acc .promotion-item-image{ flex:0 0 auto; }
.row.collapse.promotions.no-acc .promotion-item-information{ flex:1 1 auto; overflow:hidden; }
.row.collapse.promotions.no-acc .promotion-item-bar{ flex:0 0 auto; margin-top:auto; }

/* Robust bildeoppfÃ¸rsel (trygg default) */
.row.collapse.promotions.no-acc .promotion-item img{
  max-width:100%;
  height:auto;
  display:block;
}

/* ð¯ Produktkortbilde â behold ca. 100px hÃ¸yde desktop */
.row.collapse.promotions.no-acc .promotion-item.only-product .promotion-item-image img {
  max-height: 100px;
  width: auto;
  object-fit: contain;
  margin: 0 auto;
}

/* ð¯ Bildekort â fyll kortet med bilde, uten rammer/bakgrunn */
.row.collapse.promotions.no-acc .promotion-item.only-picture{
  height:100%;
  display:flex;
  flex-direction:column;
  border:none !important;
  background:transparent !important;
}
.row.collapse.promotions.no-acc .promotion-item.only-picture .promotion-item-image,
.row.collapse.promotions.no-acc .promotion-item.only-picture .promotion-item-image > a{
  flex:1 1 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  height:100%;
}
.row.collapse.promotions.no-acc .promotion-item.only-picture .promotion-item-image > a > img:not(.mobile){
  width:170px;
  height:200px;
  object-fit:cover;
}


/* SlÃ¥ av kort-hover kun for bildefliser inne i promo-raden */
.row.collapse.promotions.no-acc .promotion-item.only-picture:hover,
.row.collapse.promotions.no-acc .promotion-item.only-picture:focus-within{
  box-shadow: none !important;
  transform: none !important;
  border-color: transparent !important;
  outline: none !important;
}



/* === DESKTOP/LAPTOP === */
@media (hover:hover) and (pointer:fine){
  /* hover pÃ¥ knappene (only-picture) â pÃ¥ selve bildet */
  .row.collapse.promotions.no-acc .promotion-item.only-picture .promotion-item-image img:hover,
  .row.collapse.promotions.no-acc .promotion-item.only-picture .promotion-item-image > a > img:not(.mobile):hover{
    transform: translateY(-2px) scale(1.05);
    opacity: 0.8;
    transition: transform .18s ease, opacity .18s ease, filter .18s ease;
    cursor: pointer;
  }

  /* hover pÃ¥ HELE produktboksen (only-product) */
  .row.collapse.promotions.no-acc .promotion-item.only-product:hover{
    transform: translateY(-2px) scale(1.05);
	box-shadow: 0px 0px 12px rgba(1, 18, 120, 0.3) !important;
  }
}

/* === MOBIL/TABLET (ingen sticky hover) â kort trykk-feedback === */
@media (hover:none){
  .row.collapse.promotions.no-acc .promotion-item.only-picture .promotion-item-image img:active,
  .row.collapse.promotions.no-acc .promotion-item.only-picture .promotion-item-image > a > img:not(.mobile):active,
  .row.collapse.promotions.no-acc .promotion-item.only-product:active{
    transform: translateY(-1px) scale(1.02);
  }
}




/* Tekster i kortet â stramme linjer og klipp av lange titler */
.row.collapse.promotions.no-acc .promotion-item h5 a{
  /* behold farger/font lokalt scoped til raden */
  color:#263379;
  font-weight:bolder;
  font-family:'Raleway', sans-serif;

  /* bedre layout enn padding-top:50px */
  padding-top:0;
  display:-webkit-box;
  -webkit-line-clamp:2;          /* maks 2 linjer */
  -webkit-box-orient:vertical;
  overflow:hidden;
  line-height:1.2;
  margin-top:.25rem;
}

/* Ãvrige infosnutter i kort (scopet til raden for Ã¥ unngÃ¥ sideeffekter) */
.row.collapse.promotions.no-acc .promotion-container .product-name{
  flex:1;
  min-height:40px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.row.collapse.promotions.no-acc h6.product-price.promotion-price.price{
  min-height:20px;
  white-space:nowrap;
  color:#011278;
  padding-bottom:0;
  margin-bottom:0;
}
.row.collapse.promotions.no-acc .promotion-container .stock-status{
  min-height:17px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  color:#02AA20;
  font-weight:bold;
  padding:0;
  margin:0;
}

/* SmÃ¥ justeringer rundt innholdet i kortet */
.row.collapse.promotions.no-acc h5.bold.hide-for-small-only{
  font-size:0.9rem;
  color:#1b1c1e;
}
.row.collapse.promotions.no-acc div.promotion-item-information{
  font-size:0.8rem;
}
.row.collapse.promotions.no-acc div.outer-wrapper.hide-for-small-only{
  padding-top:10px;
  padding-bottom:10px;
}

/* SekundÃ¦r fontbruk (scopet) */
.row.collapse.promotions.no-acc .product-card-information-container h4{
  color:#263379;
  font-family:'Raleway', sans-serif;
  margin:0;
}

/* ð± Mobiltilpasning â scoped til promo-raden */
@media (max-width:768px){
  .row.collapse.promotions.no-acc{
    --promo-cols: 1;
    --promo-card-w: 100%;
    --promo-gap: 16px;
    --promo-h: auto;
    --promo-total: 100%;
    padding:0 var(--promo-gap) !important;
  }

  .row.collapse.promotions.no-acc .promotion-container{
    height:auto !important;
    min-height:auto !important;
    max-height:none !important;
    width:100%;
    margin-bottom:20px;
  }

  .row.collapse.promotions.no-acc .promotion-item.only-product .promotion-item-image img{
    max-height:70px;
  }

  .row.collapse.promotions.no-acc .promotion-item.only-picture{
    height:auto;
  }
  .row.collapse.promotions.no-acc .promotion-item.only-picture .promotion-item-image > a > img:not(.mobile){
    width:100%;
    height:auto;
    max-height:200px;
    object-fit:cover;
  }
}

.promotion-item.only-product {
    border-radius: 10px !important;
  }
  
  

/* =============================================================================================================================
					PRODUCTS
   ============================================================================================================================= */

/* Baseline: la grid fungere normalt */
.product-card {
  max-width: none;
  margin-left: 0 !important;
  margin-right: 0 !important;
  float: left !important;
}

/* Ikke tving inline-block pÃ¥ tilbehÃ¸r */
.product-card-accessories {
  display: block; /* eller fjern denne helt */
}

/* NÃ¥r raden har INGEN reelle tilbehÃ¸rsitems */
.row.collapse.no-acc > .product-card-accessories {
  display: none !important;
}

/* Utvid og midtstill produktkortet i dette tilfellet */
.row.collapse.no-acc > .product-card {
  float: none !important;         /* dropp grid-floaten */
  width: 100% !important;         /* ta hele raden */
  max-width: 1100px;              /* juster etter smak */
  margin-left: auto !important;
  margin-right: auto !important;  /* midtstill */
}


/* Hovedpristekster */
.product-card .product-card-price .price .price-text {
    /*color: #1B1C1E !important;*/
	color: #011278 !important; 
}

span.price-suffix {
    color: #1B1C1E !important; 
	font-size: 0.8rem;
	font-weight: 500 !important;
}

/* Accordion (info tabs) */

.product-card-tabs .accordion-title {
    padding: 8px 16px; /* default 8 + 16 */
    border: 0;
    background: rgb(202,223,232);
    background: -moz-linear-gradient(90deg, rgba(202,223,232,1) 95%, rgba(38,51,121,1) 95%);
    background: -webkit-linear-gradient(90deg, rgba(202,223,232,1) 95%, rgba(38,51,121,1) 95%);
    background: linear-gradient(90deg, rgba(1,18,120,1) 50%, rgba(1,18,120,1) 50%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#cadfe8",endColorstr="#263379",GradientType=1);
	font-family: 'Raleway', sans-serif;
	color: #ffffff;
}

.tab-expand, .tab-fold {
    color: #ffffff;
}

.is-active .accordion-title, .accordion-title:hover {
    color: #ffffff;
}

.accordion-content {
  background-color: #fff !important;
  color: #1b1c1e;
  margin: 0!important;
  border: 0.5px solid black !important;
  padding-left: 15px!important;
  padding-right: 15px!important;
}

/* RÃ¸d border for ugyldige felt */
.product-option.input-invalid {
  border: 4px solid #ef3b4c !important;
}

/* Buy/quantity (+/-) buttons */

.buy-form-container fieldset {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap; /* GjÃ¸r at elementer kan brytes til ny linje pÃ¥ smÃ¥ skjermer */
}

.qty-btn {
  background: transparent !important;
  border: none !important;
  padding: 0 10px !important;
  font-size: 1.1rem !important;
  cursor: pointer !important;
  /*border-right: 1px solid #ccc;*/
  height: 100% !important;
	width: 35px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.qty-btn:last-of-type {
  border-left: 1px solid #ccc;
  border-right: none;
}

.qty-btn:focus {
  outline: none;
  box-shadow: none;
}

.qty-btn:hover {
  background-color: #011278 !important;
  color: white !important;
}

.buy-quantity-container {
  display: flex !important;
  align-items: center !important;
  border: 1px solid #ccc !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  height: 35px !important;
  background-color: #fff !important;
}

.buy-quantity__input {
  width: 35px;
  text-align: center;
  border-right: 1px solid #ccc;
  border-left: 1px solid #ccc;
  border-top: none;
  border-bottom: none;
  outline: none;
  background: transparent;
}

.buy-button {
  padding: 10px 15px;
  background-color: #FA344C;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;  /*Hindrer at teksten brytes */
  height: 40px !important;
  width: 60px !important;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.buy-button:hover {
  background-color: #011278;
}

/* RESPONSIVT: Juster layout pÃ¥ smÃ¥ skjermer */
@media (max-width: 600px) {
  .buy-form-container fieldset {
    flex-direction: column;
    align-items: flex-start;
  }

  .buy-quantity-container {
    margin-right: 0;
  }

  .buy-button {
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }
}

/* MÃ¥ ha dette for Ã¥ fÃ¥ bilder til Ã¥ synes for tilbehÃ¸r */
.product-card-accessories {
	opacity: 1!important;
    color: #1B1C1E;
    padding: 10px;
	display: inline-block;
    overflow: visible;
}

.small-product-list-image {
    display: inline-block !important;
	background-color: #ffffff;
	opacity: 0.999!important;
	padding: 5px;
}

.small-product-list-item {
	opacity: 0.999!important;
}

.lightgallery {
	border: 0px solid black !important;
}

.logo-container {
	padding-top: 5px;
	padding-bottom: 5px;
}


/*Lagerstatus */

.product__stock--info {
  background-color: #fff !important;
  color: #02AA20 !important; /* grÃ¸nn farge  */
  padding: 0 !important;
}

/* GJÃR IKON OG TEKST GRÃNN VED PÃ LAGER */
.product__stock i,
.product__stock--count,
.product__stock--label {
  color: #02AA20;
}

.product__stock--no-stock .product__stock--info {
  color: #FA344C !important; /* rÃ¸d */
}

.product__stock--no-stock i,
.product__stock--no-stock .product__stock--label {
  color: #FA344C !important;
}

.product__stock--info {
  display: flex;
  align-items: center;
  gap: 4px; /* litt luft mellom ikon, tall og tekst */
  white-space: nowrap;
}

.product__stock-count {
  margin-left: 4px;
}

/* Skjul "Opprette produktpakke" */
.product-card-icon a[title="Legg produktet til i en produktpakke"] {
  display: none;
}

/*Skjul breadcrumbs*/
.ag-breadcrumbs {
  display: none;
}


/* =============================================================================================================================
					PRODUCT ALTERNATIVES
   ============================================================================================================================= */

/* ===============================
   PRISVISNING â ENGANGS OG MND
   =============================== */

/* Pristekst-stil */
.price-without-monthly .price-text,
.price-without-monthly .price-text::before {
  font-size: 2rem !important;
  font-weight: 500;
  color: #011278 !important;
}

.price-monthly .price-text {
  font-size: 1.5rem;
  font-style: italic;
  color: #FA344C;
}

.product-card-price.price-without-monthly > span,
.product-card-price.price-monthly > span {
  display: block;
  color: #1b1c1e;
  font-size: 0.8125rem;
  margin-bottom: 0.25rem;
}




/* ===============================
   DESKTOP LAYOUT
   =============================== */

/* === PRICE ROW: align kjÃ¸psblokka mot selve prisen, ikke labelen === */

@media (min-width: 768px) {
  .product-card .price-row {
    display: grid !important;
    grid-template-columns: auto auto;   /* pris + kjÃ¸psblokk */
    align-items: flex-start !important;
    column-gap: 12px !important;        /* passe mellomrom */
  }

  .product-card .price-row > .price-container {
    margin: 0 !important;
  }

  .product-card .price-row > .product-card-buy-button.buy-form-container {
    margin: 0 !important;
    align-self: flex-start !important;
    position: relative !important;
    top: 25px !important;               /* <-- juster opp/ned pÃ¥ Ã¸yemÃ¥l */
  }

  .product-card .price-row .product-card-prices-list h6.product-price {
    margin: 0 !important;
  }
}


/* Mobil: behold kolonne-layout */
@media (max-width: 767px) {
  .product-card .price-row {
    display: flex !important;
    flex-direction: column !important;
    gap: .5rem !important;
  }
  .product-card .price-row > .product-card-buy-button.buy-form-container {
    align-self: stretch !important;
    position: static !important; /* nullstill */
    top: auto !important;
  }
}



/* Skjul kun bildet for "Ingen"-alternativet (value=0) */
.product-option-container .product-options-label label:has(.product-option-selector[type="radio"][value="0"]) img {
  display: none !important;
}

/* Samme typografi som de andre radene */
.product-option-container .product-options-label
  label:has(.product-option-selector[type="radio"][value="0"]) {
  font: inherit;                 /* arver fonten */
  color: #1b1c1e;                /* samme farge som resten */
  font-size: 0.8rem !important;
  line-height: 1 !important;
  font-weight: 400 !important;
}

/* Kompenser for skjult 40x40-bilde: 40px + 6px luft */
.product-option-container .product-options-label
  label:has(.product-option-selector[type="radio"][value="0"])
  .product-options-input {
  margin-right: 4px !important;
}

.product-option-container .product-options-label label {
  font: inherit;                 /* arver fonten */
  color: #1b1c1e;                /* samme farge som resten */
  font-size: 0.8rem !important;
  line-height: 1 !important;
  font-weight: 400 !important;
}

.product-option-container {
	padding-top: 2px !important;
	padding-bottom: 2px !important;
}


/*============UnngÃ¥ scrolling =============== */

/* SlÃ¥ av scroll anchoring der innholdet oppdateres */
.product-option-group-items,
.product-options,
.product-card-prices-list,
.accordion-content {
  overflow-anchor: none !important;
}

/* UnngÃ¥ smooth-anim pÃ¥ autoscroll (mindre merkbart hopp om noe slipper igjennom) */
html {
  scroll-behavior: auto;
}

/*================== Price format in accordion ================== */

/* Normaliser prisen i hÃ¸yrekolonnen uansett markup */
.product-option-container .product-options-price,
.product-option-container .product-options-price .price-text,
.product-option-container h6.product-price.price,
.product-option-container h6.product-price .price-text {
  display: block!important;
  font-size: 0.9375rem!important;   /* ~15px â justÃ©r til Ã¸nsket */
  font-weight: 500!important;
  line-height: 1.2!important;
  color: #1b1c1e!important;
  white-space: nowrap!important;
}

/* Hvis Netset har byttet til ren tekstnode (ingen .price-text): */
.product-option-container .product-options-price:not(:has(.price-text)) {
  /* sÃ¸rg for samme spacing/align som H6-varianten */
  margin: 0; 
  text-align: right;      /* hvis du vil hÃ¸yrejustere tallene */
}

/* ======================= Product options container formating (horizontal adjustment) ================= */


/* 1) Jevn padding i hele accordion-innholdet (top + bottom) */
.accordion-content {
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}

/* 2) Fjern framework-gaps i radene, og lag en konsekvent mellomromsregel */
.product-option-group-items .product-option { 
  margin: 0 !important; 
  padding: 0 !important;
}

.product-option-group-items .product-option-container {
  display: flex;
  align-items: center;
  gap: 12px;                /* avstand mellom kolonnene */
  margin: 0 !important;     /* nullÃ©r variasjoner */
  padding: 6px 0;           /* uniform vertikal luft i hver rad */
}

/* Lik avstand mellom radene â ingen ekstra pÃ¥ fÃ¸rste/siste */
.product-option-group-items .product-option-container + .product-option-container {
  border-top: 0 !important;  /* om tema legger pÃ¥ */
  margin-top: 0 !important;
}

/* 3) NÃ¸ytraliser Foundation padding i underkolonner */
.product-option-group-items .product-option-container > .columns {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
}

/* 4) Kolonnelogikk: label vokser, lager/antall/pris er faste â stabil linje */
.product-option-group-items .product-option-container > .product-options-label { 
  flex: 1 1 auto; 
  min-width: 0; 
}

.product-option-group-items .product-option-container > .columns:has(.product__stock) { 
  flex: 0 0 130px;           /* lager */
}

.product-option-group-items .product-option-container > .product-option-qty { 
  flex: 0 0 120px;           /* antall */
}

.product-option-group-items .product-option-container > .product-options-price {
  flex: 0 0 130px;           /* pris */
  text-align: right;
  display: flex;
  align-items: center;
  min-height: 28px;
}

/* 5) Stram opp antall-boksen, slik at minus/input/pluss linjer likt */
.product-option-qty-container {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.product-option-qty-container .qty-input { 
  width: 60px; 
  text-align: center; 
  margin: 0; 
}
.product-option-qty-container .change-qty {
  width: 24px; min-width: 24px;
  display: inline-flex; align-items: center; justify-content: center;
}
.product-option-qty-container .change-qty:empty { display: none; }
.product-option-qty-container .change-qty i { line-height: 1; display: block; }

/* 6) Fjern mikromarginer i pris/label som skaper âekstraâ hÃ¸yde i fÃ¸rste/siste rad */
.product-option-container h6.product-price,
.product-option-container .price-text,
.product-option-container .product-options-label > label {
  margin: 0 !important;
  line-height: 1.2;
}

.change-qty {
	cursor: pointer;
}




/* =============================================================================================================================
					PRODUCT LISTS
   ============================================================================================================================= */

/* Filters */

.product-list-filters label {
    color: #0f1237;
}
.product-list-filters h5 {
    font-weight: 700;
    margin-bottom: 25px;
    color: #263379!important;
    font-family: 'Raleway', sans-serif;
}

a.button.product-list-category-button:hover {
background-color: #011278;
}

.product-list-category-selected > .product-list-category-button {
background-color: #011278 !important;
color: white !important;
}

.product-list-category-button {
transition: background-color 0.2s ease, color 0.2s ease;
}

/* Remove manufacturer in product lists */
span.prodlist__manufacturer {
    color: #FA344C;
	display: none !important;
}
.pagination .current {
    background-color: #263379;
	border-radius:5px;
}
a.product-list__title-link {
	color: #1B1C1E!important;
	font-family: 'Raleway', sans-serif;
}

.product-list-container .prodlist-row__content-wrapper {
  flex: 0 0 500px !important;
  max-width: 500px !important;
  max-height: 75px !important;
  padding-left: 10px;
}

.product-list-container .prodlist-row__content-wrapper .product-list__details {
  padding-top: 0px !important;
  margin: 0px !important;
}


/* Begrens bredden pÃ¥ kjÃ¸psomrÃ¥det */
.product-list-container .buy-form {
  width: 200px !important;
  padding-left: 20px;
}

/* KjÃ¸pswrapper: Ã©n linje */
.product-list-container .prodlist-row__buy-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.4rem;
}

/* Bilde max stÃ¸rrelse */
.prodlist-row__img-wrapper {
  width: 150px;
  height: 120px;
  display: block;
  overflow: hidden;
  text-align: center; /* sentrerer inline-block-elementer */
}

.prodlist-row__img-wrapper img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: inline-block;
}

/* KjÃ¸psknapp */
.product-list-container .buy-button {
  height: 40px !important;
  width: 60px !important;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-list-container .prodlist-row {
  display: flex;
  align-items: center;
  height: 100%; /* sÃ¸rg for at raden tar full hÃ¸yde */
}

.product-list-container .buy-form {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%; /* fyll hÃ¸yden til raden */
}

@media (min-width: 640px) {
    .product-list-category-button, .product-list-category-button:focus, .product-list-category-button:hover {
        float: none;
        width: 90%;
        white-space: normal;
    }
}

.product-list-categories .product-list-category-selected .product-list-category-button {
	color: #ffffff;
}
.product-list-categories .product-list-category-selected .product-list-category-selected {
	color: #ffffff;
}

.prodlist-row__price {
  height: 75px;
  display: flex !important;
  align-items: center !important;
  justify-content: right !important; /* valgfritt: midtstiller ogsÃ¥ horisontalt */
}

.prodlist-row__price .product-price.price .price-text {
  color: #011278;
  font-size: 1.1rem !important;
  line-height: 1;
}

.prodlist-row__price .product-price.price {
	padding: 0 !important;
	margin: 0 !important;
	display: flex;
	align-items: center;
	height: 100%;
}

.product-card-image img {
  max-height: 250px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: inline-block;
}

@media (max-width: 600px) {
  /* KjÃ¸psknapp + antall pÃ¥ produktlister */
  .buy-form-container fieldset {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .buy-button {
    width: 100% !important;
    margin-top: 0.5rem;
    text-align: center;
  }

  /* Bildejustering i produktlister */
  .prodlist-row__img-wrapper {
    width: 100%;
    height: auto;
    text-align: center;
  }

  .prodlist-row__img-wrapper img {
    max-height: 150px;
  }

  /* Produktinfo/tekst i lister */
  .product-list-container .prodlist-row__content-wrapper {
    max-width: 100% !important;
    flex: 1 1 100% !important;
  }
  
  /* Produktpris i produktlister */
  .prodlist-row__price {
    justify-content: flex-start !important;
    padding-left: 0 !important;
    height: auto;
    margin-top: 0.5rem;
  }
}


/* =============================================================================================================================
					COOKIEBANNER
   ============================================================================================================================= */

#cc--main {
--cc-text: #121212;
--cc-toggle-on: #10b981;   /* grÃ¸nn when ON */
--cc-toggle-off: #9ca3af;  /* grÃ¥ when OFF */
}

#cc--main #s-c-bn {
  background: white !important;
  color: black !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

#cc--main #s-c-bn:focus,
#cc--main #s-c-bn:active {
  outline: none !important;
  box-shadow: none !important;
}

#cc--main .c-bn {
  background: #011278 !important;
  color: white !important;
}

#cc--main .c-bn:hover,
#cc--main .c-bn:focus {
  background: #FA344C !important;
}

/* Toggle/switch (pÃ¥/av) */
#cc--main input.c-tgl + .c-tg { 
  /* bakgrunnen til sporet */
  background: var(--cc-toggle-off) !important;
}
#cc--main input.c-tgl:checked + .c-tg {
  background: var(--cc-toggle-on) !important;
}

button[data-cc="c-settings"] {
  display: none !important;
}

/* =============================================================================================================================
					ADMIN MENU & BOX (logged in as)
   ============================================================================================================================= */

/* Admin-menu */

.menu-bar-item.view-settings-menu-desktop > .menu-bar-item-label {
  font-size: 0; /* Skjul opprinnelig tekst */
  position: relative;
}

.menu-bar-item.view-settings-menu-desktop > .menu-bar-item-label::before {
  content: "Admin";
  font-size: 1rem; /* Juster til vanlig stÃ¸rrelse */
  font-style: italic;
  font-weight: bold;
  color: #FA344C;
  position: relative;
}


/* Vanlig visning (fÃ¸r scroll) */
body.is-admin .logged-in-info {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Boksen */
body.is-admin .logged-in-info-text {
  display: inline-flex;
  align-items: center;
  padding: 3px 6px;
  border: 2px solid #ef3b4c;
  border-radius: 5px;
  background-color: #fcf803;
  font-size: 1.1rem;
  font-weight: bold;
  color: #ef3b4c;
  gap: 6px;
  white-space: normal;
  max-width: 100%;
  overflow-wrap: anywhere;
  box-sizing: border-box;
  text-align: center;
}

/* Sticky-container (skjult som standard) */
body.is-admin .logged-in-info-sticky {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 75px; /* header-hÃ¸yde */
  width: 100%;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

/* Boksen inni sticky */
body.is-admin .logged-in-info-sticky .logged-in-info-text {
  pointer-events: auto;
  margin: 0 auto;
  background-color: #fcf803;
  border: 2px solid #ef3b4c;
  border-radius: 5px;
  padding: 3px 6px;
  display: inline-flex;
  align-items: center;
  font-size: 1.1rem;
  font-weight: bold;
  color: #ef3b4c;
  gap: 6px;
  white-space: normal;
  max-width: 90%;
  text-align: center;
}

/* Tekst og logg ut */
body.is-admin .logged-in-info-text__prefix {
  font-weight: normal;
  color: #333;
}
body.is-admin .logged-in-info-text__label {
  font-weight: bold;
  color: #ef3b4c;
}
body.is-admin .inline-logout {
  padding-left: 10px;
  color: #011278;
  font-style: italic;
  border-left: 1px solid #011278;
}
body.is-admin .inline-logout:hover {
  opacity: 0.75;
  text-decoration: underline;
}


/* Skjul sÃ¸k nÃ¥r sticky */
body.is-admin.header-is-fixed .product-search {
  display: none !important;
}


/* Skjul sticky nÃ¥r vanlig */
body.is-admin .logged-in-info-sticky {
  display: none !important;
}

/* Skjul original nÃ¥r scrollet */
body.is-admin.header-is-fixed .logged-in-info {
  display: none !important;
}

/* Vis sticky nÃ¥r scrollet */
body.is-admin.header-is-fixed .logged-in-info-sticky {
  display: flex!important;
}

/* NÃ¥r admin er aktiv og "logget inn som"-boksen vises */
body.is-admin .row:has(.logged-in-info) {
  display: flex;
  align-items: center;
  padding-top: 0 !important;
  padding-bottom: 5px !important;
  margin-top: 0 !important;
  margin-bottom: 15px !important;
  min-height: unset !important; /* ikke tving hÃ¸yde */
}

/* Reduser hÃ¸yde pÃ¥ .row.header nÃ¥r admin er aktiv */
body.is-admin .row.header {
  padding-top: 0px !important;
  padding-bottom: 0px !important;
  margin-bottom: 0px !important;
  max-height: 105px!important;
}
   
   
/* =============================================================================================================================
					CHECKOUT
   ============================================================================================================================= */

/* Produktformular i checkout (styres ogsÃ¥ av JavaScript) */

.basket-product-form {
  display: none;
}

.basket-product-form-headers {
  display: none;
}

[id^="product-form-modal-"] legend h4 {
  display: none;
}

[id^="product-form-modal-"] .close-button {
  display: none;
}

[id^="product-form-modal-"] .row-form {
  display: flex;
  flex-direction: column; /* Vertikal stabling */
  align-items: flex-start;
  gap: 0;
  border: none;
  margin-bottom: 0rem;
}

[id^="product-form-modal-"] .product-form-field {
  flex: 1;
  min-width: 0;
  padding-left: 2rem;
  width: 100%;
}

[id^="product-form-modal-"] .product-form-field label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  cursor: text;
}

[id^="product-form-modal-"] .product-form-field .input-label {
  display: block;
  margin-bottom: 0rem;
  white-space: nowrap;
}

[id^="product-form-modal-"] .product-form-field input[type="text"] {
  display: block;
  width: 500px;
  padding: 0.5rem;
  box-sizing: border-box;
  position: relative;
  z-index: 10;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  line-height: 1.4;
}

[id^="product-form-modal-"] .product-forms-save {
  padding: 0.5rem 1rem;
  white-space: nowrap;
  margin-left: 1rem;
  margin-top: 0rem;
  margin-bottom: 10px;
}

.product-forms input[required]:invalid {
  border: 2px solid red;
}

@media (max-width: 600px) {
/* Produktskjema i checkout */
  [id^="product-form-modal-"] .product-form-field input[type="text"] {
    width: 100%;
    max-width: 100%;
  }

  [id^="product-form-modal-"] .product-form-field {
    padding-left: 1rem;
  }

  [id^="product-form-modal-"] .product-forms-save {
    margin-left: 0;
    width: 100%;
  }
  
  /* Lagre-knapp i produktskjema */
  [id^="product-form-modal-"] .product-forms-save {
    margin-top: 1rem;
  }
}

/* =============================================================================================================================
					CUSTOM LOGIN FORM
   ============================================================================================================================= */
.login-form {
	max-width: 600px;
}

.forgot-password-form {
	max-width: 600px;
}

/* === LOGIN POPUP CLEANED & CENTERED === */

/* Skjul original login-form med mindre popup er Ã¥pen */
body:not(.login-overlay-open) .login-container {
  display: none !important;
}

/* Overlay som dekker hele skjermen */
#customLoginOverlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Panelet (popup-boksen) */
.custom-login-panel {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  max-width: 480px;
  width: 90%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  position: relative;
  box-sizing: border-box;
  text-align: center;
}

/* Lukke-knappen */
.custom-login-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #333;
}

/* Brekk Netset sin styling for login-container */
#customLoginOverlay .login-container {
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  visibility: visible !important;
  display: block !important;
  box-sizing: border-box;
}

/* Midtstill inputs med container-bredde */
#customLoginOverlay .login-form,
#customLoginOverlay form#loginform {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0;
}

#customLoginOverlay .login-form label {
  width: 100%;
  max-width: 320px;
}

#customLoginOverlay input[type="text"],
#customLoginOverlay input[type="password"],
#customLoginOverlay input[type="email"],
#customLoginOverlay select {
  width: 100%;
  max-width: 320px;
  padding: 0.6rem 0.75rem;
  font-size: 1rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

/* Labels */
#customLoginOverlay label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  text-align: left;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

/* Knapper */
#customLoginOverlay .login-form-button,
#customLoginOverlay .login-form-forgot-password,
#customLoginOverlay .login-form-register {
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  margin-right: 0.5rem;
  margin-top: 0.5rem;
  cursor: pointer;
  display: inline-block;
  white-space: nowrap;
}

/* Farger pÃ¥ knapper */
#customLoginOverlay .login-form-forgot-password,
#customLoginOverlay .login-form-register {
  background: #ef3b4c;
  color: white;
}

/* NÃ¥r login knappen er deaktivert (fÃ¸r input) */
#customLoginOverlay .login-form-button:disabled,
#customLoginOverlay .login-form-button.element-disabled {
  background: #ef3b4c;
  color: white;
  cursor: not-allowed;
}

/* NÃ¥r login knappen er aktiv (etter gyldig input) */
#customLoginOverlay .login-form-button:not(:disabled):not(.element-disabled) {
  background: #ef3b4c;
  color: white;
  cursor: pointer;
}

/* Introtekst over skjema */
#customLoginOverlay .login-intro-text p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #333;
  line-height: 1.4;
}

/* Hjelpetekst under skjema */
#customLoginOverlay .login-help-text p {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #333;
  line-height: 1.4;
  font-style: italic;
}


/* =============================================================================================================================
					????
   ============================================================================================================================= */
   
li.menu-bar-desktop-categories-menu-item.active a {
    color: #fff;
}


/* Skjul underprodukter merket av scriptet */
.order-history .basket-items .product-with-stock.bundle-child {
  display: none !important;
}


