/* Reset & base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  margin: 0;
}

main {
    max-width:1200px;
      margin: auto;
}

img{
    max-width:100%;
}

.row{
    margin-left:0 !important;
    margin-right:0 !important;
}

.usp-box-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  padding: 10px 0;
  text-align: center;
  max-width: 1200px;
  margin: auto;
}
.usp-item-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.usp-item-top img {
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
}
.usp-item-top h3 {
  font-size: 14px;
  color: #00386e;
  margin: 0;
}

@media (max-width: 990px) {
  .usp-box-top {
    display: none;
  }
}


/* USP Icons Row */
.usp-bar{
  width: 100%;
  background-color: #f2f6fa;
  padding: 15px 10px;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: center;
}
.usp-container {
  display: grid;
  gap: 50px;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1200px;
}

@media (max-width: 900px) {
  .usp-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 427px) {
  .usp-container {
    grid-template-columns: 1fr;
  }
}

.usp-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #00386e;
  font-size: 13px;
  width: 100%;
}

.usp-item img {
  height: 30px;
  margin-bottom: 6px;
}



/* Desktop Header */
.header-desktop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  padding: 10px 20px;
  gap: 20px;
}

/* Mobile Header */
.header-mobile {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 10px 15px;
  max-width: 100%;
}
.header-mobile .logo {
  display: flex;
  justify-content: flex-start;
}
.header-mobile .search-box {
  width: 100%;
}
.header-icons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.burger {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* Common header elements */
.header-desktop .logo img,
.header-mobile .logo img {
  max-height: 50px;
}
.header-icons {
  gap: 15px;
}

/* Navigation */
nav {
  background: white;
  color: black;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  padding: 10px 0;
  position: relative;
  max-width: 1200px;
  margin: auto;
}

.nav > .dropdown {
  position: relative;
  z-index: 9;
}

/* Add SVG arrow to dropdown links */
.nav > .dropdown > a {
  color: black;
  text-decoration: none;
  font-weight: 500;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 0;
  position: relative;
}

/* Show arrow only if .dropdown-content exists */
.nav > .dropdown:has(.dropdown-content) > a::after {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IS0tIFVwbG9hZGVkIHRvOiBTVkcgUmVwbywgd3d3LnN2Z3JlcG8uY29tLCBHZW5lcmF0b3I6IFNWRyBSZXBvIE1peGVyIFRvb2xzIC0tPgo8c3ZnIHdpZHRoPSI4MDBweCIgaGVpZ2h0PSI4MDBweCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTEyLjcwNzEgMTQuNzA3MUMxMi4zMTY2IDE1LjA5NzYgMTEuNjgzNCAxNS4wOTc2IDExLjI5MjkgMTQuNzA3MUw2LjI5Mjg5IDkuNzA3MTFDNS45MDIzNyA5LjMxNjU4IDUuOTAyMzcgOC42ODM0MiA2LjI5Mjg5IDguMjkyODlDNi42ODM0MiA3LjkwMjM3IDcuMzE2NTggNy45MDIzNyA3LjcwNzExIDguMjkyODlMMTIgMTIuNTg1OEwxNi4yOTI5IDguMjkyODlDMTYuNjgzNCA3LjkwMjM3IDE3LjMxNjYgNy45MDIzNyAxNy43MDcxIDguMjkyODlDMTguMDk3NiA4LjY4MzQyIDE4LjA5NzYgOS4zMTY1OCAxNy43MDcxIDkuNzA3MTFMMTIuNzA3MSAxNC43MDcxWiIgZmlsbD0iIzAwMDAwMCIvPgo8L3N2Zz4=');
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
  margin-left: auto;
}

/* Flip arrow on hover ONLY if there's a dropdown */
.nav > .dropdown:has(.dropdown-content):hover > a::after {
  transform: rotate(180deg);
}

/* Flip arrow on hover (dropdown open) */
.dropdown:hover > a::after {
  transform: rotate(180deg);
}

.nav > .dropdown > a:hover,
.nav > a:hover {
  color: #00589f;
}

/* Dropdown animation */
.dropdown-content {
  display: block;
  position: absolute;
  background: #ffffff;
  top: 100%;
  left: 0;
  min-width: 220px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  z-index: 10;

  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: all 0.3s ease;
}

/* Show on hover */
.dropdown:hover .dropdown-content {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-content a {
  display: block;
  padding: 10px 16px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
}

.dropdown-content a:hover {
  color: #00589f;
}

/* Submenu inside dropdown */
.submenu {
  position: relative;
}

.submenu {
  position: relative;
}

/* Parent link with static arrow */
.submenu > a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 16px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
}

/* Static arrow icon (no animation) */
.submenu > a::after {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IS0tIFVwbG9hZGVkIHRvOiBTVkcgUmVwbywgd3d3LnN2Z3JlcG8uY29tLCBHZW5lcmF0b3I6IFNWRyBSZXBvIE1peGVyIFRvb2xzIC0tPgo8c3ZnIHdpZHRoPSI4MDBweCIgaGVpZ2h0PSI4MDBweCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTEyLjcwNzEgMTQuNzA3MUMxMi4zMTY2IDE1LjA5NzYgMTEuNjgzNCAxNS4wOTc2IDExLjI5MjkgMTQuNzA3MUw2LjI5Mjg5IDkuNzA3MTFDNS45MDIzNyA5LjMxNjU4IDUuOTAyMzcgOC42ODM0MiA2LjI5Mjg5IDguMjkyODlDNi42ODM0MiA3LjkwMjM3IDcuMzE2NTggNy45MDIzNyA3LjcwNzExIDguMjkyODlMMTIgMTIuNTg1OEwxNi4yOTI5IDguMjkyODlDMTYuNjgzNCA3LjkwMjM3IDE3LjMxNjYgNy45MDIzNyAxNy43MDcxIDguMjkyODlDMTguMDk3NiA4LjY4MzQyIDE4LjA5NzYgOS4zMTY1OCAxNy43MDcxIDkuNzA3MTFMMTIuNzA3MSAxNC43MDcxWiIgZmlsbD0iIzAwMDAwMCIvPgo8L3N2Zz4=');
  background-size: contain;
  background-repeat: no-repeat;
  transform: rotate(-90deg);
}

/* Submenu panel (hover in from the side) */
.submenu .dropdown-sub {
  display: block;
  position: absolute;
  left: 100%;
  top: 0;
  min-width: 200px;
  background: #fff;
  border-left: 1px solid #ddd;

  opacity: 0;
  transform: translateX(-10px);
  pointer-events: none;
  transition: all 0.3s ease;
}

/* Show submenu */
.submenu:hover .dropdown-sub {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

/* Responsive — Mobile Navigation */
@media (max-width: 1080px) {
  .desktop-nav {
    display: none;
  }
  .mobile-nav {
    display: flex;
  }
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid #ccc;
  width: 100%;
}

.mobile-nav .menu-item {
  border-bottom: 1px solid #eee;
}

.menu-label {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  cursor: pointer;
  font-weight: bold;
  color: #00386e;
}

.mobile-nav .submenu {
  display: none;
  flex-direction: column;
  padding-left: 20px;
  background: #f8f8f8;
}

.mobile-nav .submenu a {
  padding: 8px 16px;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #eaeaea;
}

.mobile-nav .submenu .submenu {
  padding-left: 20px;
  background: #f0f0f0;
}

.open > .submenu {
  display: flex;
}


/* Footer */
footer {
  background: #fff;
  padding: 40px 20px 20px;
}
.footer {
  max-width: 1200px;
  margin: auto;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}
.footer-col {
  flex: 1 1 200px;
}
.footer-col h4 {
  color: #00386e;
  font-size: 16px;
  margin-bottom: 12px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col li {
  margin-bottom: 8px;
}
.footer-col a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
}
.footer-col a:hover {
  text-decoration: underline;
}
.footer-logo {
  font-weight: bold;
  font-size: 20px;
  color: #00386e;
  margin-bottom: 10px;
}

/* --- Search Box --- */
.search-wrapper {
  position: relative;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  z-index: 10;
}

.search-box {
  display: flex;
  height: 36px;
  overflow: hidden;
  color: white;
  background-color: #0061aa;
  border-radius: 0;
}

.search-box input {
  flex: 1;
  padding: 8px 15px;
  font-size: 14px;
  border: none;
  background-color: #0061aa;
  color: white;
  outline: none;
}

.search-btn {
  background-color: #005288;
  border: none;
  padding: 0 12px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

#results-container {
  position: absolute;
  background: #f5faff;
  border: 1px solid #b4d2e8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  max-height: 500px;
  overflow-y: auto;
  padding: 10px;
  display: none;
  box-sizing: border-box;
  width:100%;
}

/* --- Individual Result Styling --- */
.result {
  display: flex;
  background: #ffffff;
  border: 1px solid #d3e3f1;
  margin-bottom: 10px;
  padding: 8px;
  gap: 10px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.result:hover {
  background-color: #edf7ff;
}

.result-image img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border: 1px solid #ccc;
}

.result-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: Arial, sans-serif;
  color: #003366;
  flex: 1;
}

.result-headline {
  font-weight: bold;
  font-size: 15px;
  color: #003366;
}

.result-description {
  font-size: 13px;
  color: #444;
}

.result-itemnumber {
  font-size: 12px;
  color: #666;
  font-style: italic;
}

.stock-result {
  font-size: 12px;
  color: #1a4f2e;
}

.stock-result i {
  color: #1a4f2e;
}

.result-price {
  font-weight: bold;
  font-size: 14px;
  color: #0074c1;
}

.result-read-more a {
  display: none;
}

/* Cart */
.cart {
  position: relative;
}
.cart a {
  display: flex;
  align-items: center;
}
.cart img {
  height: 24px;
}
.cart-count {
  background: #0061aa;
  color: #fff;
  font-size: 12px;
  border-radius: 50%;
  padding: 2px 6px;
  position: absolute;
  top: -6px;
  right: -10px;
}

/* Responsive - Mobil under 632px */
@media (max-width: 1080px) {
  .header-desktop {
    display: none;
  }

  .header-mobile {
    display: flex;
  }

  .burger {
    display: block;
  }

  .nav {
    display: none;
  }
  .mobile-nav {
    display: flex;
  }

  .search-box input {
    width: 130px;
  }

  .footer-grid {
    flex-direction: column;
    gap: 20px;
  }

  .usp-bar {
    gap: 20px;
  }
}


/* Searchbar spreader to align search box + cart + burger horizontally in mobile */
.searchbar-spreader {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.searchbar-spreader .search-box {
  flex: 1;
}

.searchbar-spreader .header-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Mobilvisning aktiveret op til 1024px */
@media (max-width: 1080px) {
  .header-desktop {
    display: none;
  }

  .header-mobile {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 15px;
    max-width: 100%;
  }

  .header-mobile .logo {
    display: flex;
    justify-content: flex-start;
  }

  .searchbar-spreader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
  }

  .searchbar-spreader .search-box {
    flex: 1;
    display: flex;
  }

  .header-icons {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .burger {
    display: block;
  }

  .nav {
    display: none;
  }

  .mobile-nav {
    display: flex;
  }
}

/* Mobil header container */
.header-mobile {
  display: none;
  flex-direction: column;
  padding: 10px 15px;
  max-width: 100%;
}

/* Logo øverst */
.header-mobile .logo {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 10px;
}

/* Searchbar, cart og burger på samme linje */
.searchbar-spreader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

/* Søgefelt */
.search-box {
  display: flex;
  flex: 1;
  height: 36px;
  background-color: #0061aa;
  border-radius: 4px;
  overflow: hidden;
}
.search-box input {
  border: none;
  padding: 8px 12px;
  flex: 1;
  outline: none;
  font-size: 14px;
  color: white;
  background-color: #0061aa;
}
.search-box input::placeholder {
  color: white;
  opacity: 1;
}
.search-btn {
  background: #468ebe;
  border: none;
  padding: 0 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ikoner */
.header-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Kurv */
.cart {
  position: relative;
}
.cart a {
  display: flex;
  align-items: center;
}
.cart img {
  height: 24px;
}
.cart-count {
  background: #0061aa;
  color: #fff;
  font-size: 12px;
  border-radius: 50%;
  padding: 2px 6px;
  position: absolute;
  top: -6px;
  right: -10px;
}

/* Burger-menu */
.burger {
  font-size: 24px;
  cursor: pointer;
}

/* RESPONSIVT BREAKPOINT */
@media (max-width: 1080px) {
  .header-desktop {
    display: none;
  }

  .header-mobile {
    display: flex;
  }

  .nav {
    display: none;
  }

  .mobile-nav {
    display: flex;
  }
  
    .submenu > a::after {
  content: "";
  display: none;
  width: 15px;
  height: 15px;
  background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IS0tIFVwbG9hZGVkIHRvOiBTVkcgUmVwbywgd3d3LnN2Z3JlcG8uY29tLCBHZW5lcmF0b3I6IFNWRyBSZXBvIE1peGVyIFRvb2xzIC0tPgo8c3ZnIHdpZHRoPSI4MDBweCIgaGVpZ2h0PSI4MDBweCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTEyLjcwNzEgMTQuNzA3MUMxMi4zMTY2IDE1LjA5NzYgMTEuNjgzNCAxNS4wOTc2IDExLjI5MjkgMTQuNzA3MUw2LjI5Mjg5IDkuNzA3MTFDNS45MDIzNyA5LjMxNjU4IDUuOTAyMzcgOC42ODM0MiA2LjI5Mjg5IDguMjkyODlDNi42ODM0MiA3LjkwMjM3IDcuMzE2NTggNy45MDIzNyA3LjcwNzExIDguMjkyODlMMTIgMTIuNTg1OEwxNi4yOTI5IDguMjkyODlDMTYuNjgzNCA3LjkwMjM3IDE3LjMxNjYgNy45MDIzNyAxNy43MDcxIDguMjkyODlDMTguMDk3NiA4LjY4MzQyIDE4LjA5NzYgOS4zMTY1OCAxNy43MDcxIDkuNzA3MTFMMTIuNzA3MSAxNC43MDcxWiIgZmlsbD0iIzAwMDAwMCIvPgo8L3N2Zz4=');
  background-size: contain;
  background-repeat: no-repeat;
  transform: rotate(-90deg);
}
}

/* Mobil header */
.header-mobile {
  display: flex;
  flex-direction: column;
  padding: 10px 15px;
  gap: 10px;
}

/* Logo */
.header-mobile .logo img {
  max-height: 50px;
}

/* Container med søgning + ikoner */
.searchbar-spreader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  width: 100%;
}

/* Søgefelt */
.search-box {
  display: flex;
  flex: 1;
  height: 36px;
  background-color: #0061aa;
  border-radius: 4px;
  overflow: hidden;
}
.search-box input {
  border: none;
  padding: 8px 12px;
  flex: 1;
  outline: none;
  font-size: 14px;
  color: white;
  background-color: #0061aa;
}
.search-box input::placeholder {
  color: white;
}
.search-btn {
  background: #468ebe;
  border: none;
  padding: 0 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ikoner */
.header-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Kurv */
.cart {
  position: relative;
}
.cart-count {
  background: #0061aa;
  color: white;
  font-size: 12px;
  border-radius: 50%;
  padding: 2px 6px;
  position: absolute;
  top: -6px;
  right: -10px;
}

/* Burger */
.burger {
  font-size: 24px;
  cursor: pointer;
}

/* Responsiv synlighed */
@media (min-width: 1080px) {
  .header-mobile {
    display: none;
  }
}
@media (max-width: 1080px) {
  .header-desktop {
    display: none;
  }
}


/* -------------------------------------
   Header: Desktop & Mobile (Tablet)
   ------------------------------------- */

/* 1) Desktop header (bredere end 1024px) */
.header-desktop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  padding: 10px 20px;
  gap: 20px;
}

/* 2) Mobile/Tablet header (op til 1024px) */
.header-mobile {
  display: none;                 /* skjult på desktop */
  flex-direction: column;
  padding: 10px 15px;
  gap: 10px;
  max-width: 100%;
  margin: auto;
}

/* Logo altid synlig */
.header-desktop .logo img,
.header-mobile .logo img {
  max-height: 50px;
}

/* 3) Searchbar-spreader rækker */
.searchbar-spreader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

/* Search-box-styling */
.searchbar-spreader .search-box,
.header-desktop .search-box {
  display: flex;
  flex: 1;
  height: 36px;
  background-color: #0061aa;
  border-radius: 4px;
  overflow: hidden;
  max-width: 100%;
}
.searchbar-spreader .search-box input,
.header-desktop .search-box input {
  border: none;
  padding: 8px 12px;
  flex: 1;
  outline: none;
  font-size: 14px;
  color: #fff;
  background-color: #0061aa;
}
.searchbar-spreader .search-box input::placeholder {
  color: #fff;
}
.searchbar-spreader .search-btn,
.header-desktop .search-btn {
  background: #468ebe;
  border: none;
  padding: 0 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ikon-rækken i searchbar-spreader */
.header-icons {
  display: flex;
  align-items: center;
  gap: 12px;
  width: auto;
}

/* Kurv */
.cart {
  position: relative;
}
.cart img {
  height: 24px;
}
.cart-count {
  background: #0061aa;
  color: #fff;
  font-size: 12px;
  border-radius: 50%;
  padding: 2px 6px;
  position: absolute;
  top: -6px;
  right: -10px;
}

/* Burger-menu */
.burger {
  font-size: 24px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

/* -------------------------------------
   Responsivt breakpoint
   ------------------------------------- */
@media (max-width: 1080px) {
  /* Skjul desktop-header, vis mobil-header */
  .header-desktop {
    display: none;
  }
  .header-mobile {
    display: flex;
  }

  /* Skjul desktop-nav, vis burger og mobil-nav */
  .nav {
    display: none;
  }
  .mobile-nav {
    display: flex;
  }
}

.basket-notifier-container.hidden {
    display: none;
}

/* -------------------------------------
   Breadcrumbs
   ------------------------------------- */
.breadcrumb-bar {
  font-family: 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  color: #333;
  padding: 10px;
}

.breadcrumb_start {
  font-weight: 500;
  color: #777;
  margin-right: 5px;
}

.breadcrumbs_links a {
  color: #0077cc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.breadcrumbs_links a:hover {
  color: #005fa3;
  text-decoration: underline;
}

.breadcrumbs_links {
  word-break: break-word;
}

/* -------------------------------------
   Products
   ------------------------------------- */

.product_container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  padding: 20px;
  background: #f5f5f5;
}

.product-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  margin-left: 16px;
   margin-right: 16px;
}

.single-product {
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 4px; /* less rounded */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease;
}

.single-product:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.single-product-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0; /* changed from 16px to 0 */
}

.image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px; /* Adjust to match card layout */
  padding: 12px;
  border-bottom: 1px solid #eee;
  overflow: hidden;
  position: relative;
}

.image-container .slick-slider,
.image-container .slick-list,
.image-container .slick-track,
.image-container .slick-slide {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100% !important;
  width: 100% !important;
}

.image-container img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.info-container {
  margin-bottom: auto; /* pushes footer down */
  margin-top: 10px;
}

.info-container h2 {
  font-size: 16px;
  margin: 0 0 10px;
  font-weight: 600;
  color: #222;
}

.info-container h2 a {
  text-decoration: none;
  color: inherit;
}

.info-container h2 a:hover {
  color: #00589f;
}

.info-container font {
  font-size: 15px;
  color: #00589f;
  font-weight: bold;
}

.product-footer {
  margin-top: auto;
}

.product-footer a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: linear-gradient(to right, #00589f, #0071c8);
  color: white;
  padding: 12px;
  font-weight: 600;
  text-decoration: none;
  border-top: 1px solid #00477d;
  border-radius: 0 0 6px 6px;
  overflow: hidden;
  transition: background 0.4s ease;
}

/* Fade out the actual text on hover */
.product-footer a .button-text {
  transition: opacity 0.4s ease;
}

.product-footer a:hover .button-text {
  opacity: 0;
}

/* Slide-in Font Awesome arrow */
.product-footer a::after {
  content: '\f061';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  color: white;
  font-size: 16px;
  z-index: 2;
  transition: left 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}

.product-footer a:hover::after {
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
}

/* Wash-over background */
.product-footer a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: skewX(-20deg);
  z-index: 1;
  transition: left 0.6s ease;
  pointer-events: none;
}

.product-footer a:hover::before {
  left: 125%;
}


/* Container positioning */
.custom-fav-div {
  top: 10px;
  right: 10px;
  z-index: 5;
}

/* Favorite button — targets ALL buttons inside .custom-fav-div */
.custom-fav-div .add-to-favourites {
  background-color: #0071c8 !important;
  color: #fff !important;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 14px;
  line-height: 1.2;
  transition: background 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

/* Add star before the button label */
.custom-fav-div .add-to-favourites::before {
  content: "★ ";
  color: gold;
  font-size: 16px;
  margin-right: 4px;
}

/* Hover effect */
.custom-fav-div .add-to-favourites:hover {
  background-color: #00589f !important;
  cursor: pointer;
}


/* Price container */
.custom-price-wrapper {
  margin-top: 10px;
  font-size: 15px;
  color: #333;
}

.custom-prices-with-vat p {
  margin: 0;
}

.price-with-vat {
  font-weight: 600;
  color: #00589f;
}

.price-without-vat {
  font-size: 13px;
  color: #777;
}

/* Stock and order number */
.custom-stock-info {
  margin: 16px;
  font-size: 13px;
  color: #444;
  display: flex;
  flex-direction: column;
}

.stock-info-group {
    margin-top: 0;
    margin-bottom: 0.1rem;
}

.custom-stock-info i {
  margin-right: 5px;
  color: #00589f;
}

.order-number {
  color: #999;
  font-style: italic;
  font-size: 12px;
}

.single-product[data-discount] {
  position: relative; /* Ensure relative positioning */
}

.single-product[data-discount]::before {
  content: attr(data-discount) "% RABAT";
  position: absolute;
  top: 10px;
  left: 10px;
  background: #e63946;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  padding: 4px 6px;
  border-radius: 4px;
  z-index: 10;
  pointer-events: none;
  box-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

.single-product[data-discount="0"]::before {
  content: none;
}

.kp-banner-bg{
background-color:#0061aa;
align-items: center;
color:white;
 font-family: "Rubik", Sans-serif;
 font-size: 16px;
 font-weight: 500;
 padding: 2rem 1rem;
}

.mobile-nav {
  position: absolute;
  left: 0;
  width: 100%;
  background: white;
  z-index: 1000;
  display: none;
  flex-direction: column;
  border-top: 1px solid #ccc;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.accordion {
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
  font-family: sans-serif;
}
.accordion-item {
  border-bottom: 1px solid #eee;
}
.accordion-button {
  background-color: #f8faff;
  padding: 1rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: none;
  width: 100%;
  text-align: left;
}
.accordion-button:hover {
  background-color: #eef4fa;
}

.accordion-item.active .accordion-content {
  display: block;
}

.accordion-item.active .accordion-content {
  max-height: 1000px; /* stort nok til at vise alt indhold */
  padding: 1rem;
}


.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  color: #005fa3; /* mørkere blå når aktiv */
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  background-color: #fff;
  line-height: 1.6;
  opacity: 0;
  transition: max-height 0.5s ease, padding 0.3s ease, opacity 0.4s ease;
}

.accordion-item.active .accordion-content {
  max-height: 1000px; /* stort nok til indhold */
  padding: 1rem;
  opacity: 1;
}

.accordion-icon {
  font-weight: bold;
  font-size: 1.2rem;
  color: #007bcd;
  display: inline-block;
  transition: transform 0.4s ease, color 0.4s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  color: #005fa3;
}

/* Access control */
.access-menu {
  background: #f9fafb;
  border: none;
  padding: 0;
  margin: 0;
  font-family: system-ui, sans-serif;
}

.access-menu-title h4 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  padding: 12px 16px;
  margin: 0;
  border-bottom: 1px solid #eee;
  background: #fff;
}

.access-menu-options ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.access-menu-options li + li {
  border-top: 1px solid #eee;
}

.access-menu-options a {
  display: block;
  padding: 12px 16px;
  color: #222;
  text-decoration: none;
  transition: background-color 0.2s ease;
  font-size: 14px;
  background: #fff;
}

.access-menu-options a:hover {
  background-color: #f0f4f8;
  color: #00589f;
}

.access-menu-options a.active {
  background-color: #e6f2ff;
  color: #00589f;
  font-weight: 600;
}

.access-menu .row {
  margin-left: 0;
  margin-right: 0;
}

.access-menu .col-md-12 {
  padding-left: 0;
  padding-right: 0;
}

.col-md-3.access-menu {
  padding-left: 0;
  padding-right: 0;
  max-height: 225px;
}

/* Default btn */
.btn.btn-default {
  background-color: #f8f9fa;
  color: #333;
  border: 1px solid #ccc;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn.btn-default:hover {
  background-color: #e2e6ea;
  border-color: #bbb;
  color: #00589f;
  text-decoration: none;
}

.btn.btn-default:focus,
.btn.btn-default:active {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 88, 159, 0.2);
  background-color: #d9dee2;
  border-color: #aaa;
  color: #003e74;
}

/*search function til mobil ver.*/

/* Mobil søgefelt */
.search-box-mobile {
  display: flex;
  background-color: #0061aa;
  border-radius: 4px;
  overflow: hidden;
  height: 36px;
  width: 100%;
}

.search-box-mobile input {
  flex: 1;
  padding: 8px 12px;
  border: none;
  outline: none;
  font-size: 14px;
  background-color: #0061aa;
  color: #fff;
}

.search-box-mobile input::placeholder {
  color: #fff;
  opacity: 0.8;
}

.search-box-mobile .search-btn {
  background: #005288;
  border: none;
  padding: 0 12px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

#mobile-results-container {
  display: none;
  background: #fff;
  border: 1px solid #b4d2e8;
  max-height: 500px;
  overflow-y: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  margin-top: 5px;
  padding: 10px;
  position: absolute;
  width: calc(100% - 30px);
  top: 170px;
}

/*video i tomt kurv*/

.empty-basket video {
  width: 100%;
  max-width: 100%;
  display: block;
  margin: 30px 0;
  user-select: none;
}

.frontpage-slider {
    margin: 0 -15px
}

.frontpage-slider .slick-slider,.frontpage-slider div:first-child {
    margin-bottom: 0!important;
    border: none!important
}

.slider-img {
    width: 100vw;
    max-width: 100vw;
    height: auto;
    display: block;
    object-fit: cover;
    margin: 0;
    padding: 0;
}

/*Elektronik submenu i submenu*/
.submenu > a[href="/computer-tilbehoer_12672.html"] + .dropdown-sub {
  right: 100% !important;
  left:auto;
    
}


