label {
  cursor: pointer;
  user-select: none;
}

.FrontpageofferBadge {
  display: flex;
  align-items: center;
  justify-content: center;
}

.FrontpageofferText div {
  padding: 0;
  margin: 10px 0;
}

.mmnavbar > a:first-child {
  padding-left: 0;
}

.categoryPage {
  padding: 0 !important;
  margin: 0 !important;
}

.categoryContent {
  margin-top: 1.5em;
  padding-top: 1em;
}

/* front boxes */
.front-boxes {

}

.front-boxe {
  position: relative;
}

.front-boxe a:hover {
  text-decoration: none;
}

.front-boxe-bg {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding-bottom: 25%;
}

.front-boxe-content {
  text-align: center;
  padding: 30px 0 0 0;
}

.front-boxe-text {
  font-size: 30px;
  font-weight: bold;
  color: #fff;
  margin: 60px 0;
}

.front-boxe-button {
  border: solid 1px #fff;
  border-radius: 2px;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  display: inline;
  align-self: flex-end;
  margin: 0 auto;
  padding: 5px 7px;
}

/* product */

.product-gallery .owl-nav {
  position: absolute;
  right: 0;
  left: 0;
  top: 50%;
}

.product-gallery .owl-theme .owl-controls .owl-nav .owl-prev, .product-gallery .owl-theme .owl-controls .owl-nav .owl-next {
  border-radius: 9999px;
  width: 4rem;
  height: 4rem;
  padding: 0 0 1px 0;
  font-weight: bold;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-gallery .owl-prev {
  position: absolute;
  left: 0;
  top: 50%;
}

.product-gallery .owl-next {
  position: absolute;
  right: 0;
  top: 50%;
}

.product-gallery .item {
  text-align: center;
  margin: 0 .5rem;
}

.product-gallery .item img {
  max-width: 100%;
  width: 100%;
  height: auto;
  max-height: 90vh;
}

/* recipes */
.recipe-sizes {
  margin-bottom: 1rem;
}
.recipe-list-cat {
  padding: 10px 0;
}

.recipe-list-price {
  padding: 0 5px;
  font-weight: bold;
  font-size: 18px;
  color: #000;
  height: 52px;
}

.recipe-list-price small {
  white-space: nowrap;
  text-decoration: line-through;
}

.recipe-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

.recipe-item > div {
  margin: 0 15px;
}

.recipe-name {
  flex-grow: 1;
}

.recipe-price {
  text-align: right;
}

.recipe-price small {
  text-decoration: line-through;
}

.recipe-stock {
  font-size: 85%;
}

.recipe-add-to-cart, .recipe-only-add-to-cart {
  font-size: 13px;
}

.recipe-total-price {
  display: inline-block;
  font-weight: bold;
  font-size: 14px;
}

/* Vejl. pris / Din pris */
.prevPrice {
  display: block;
  font-style: italic;
  font-size: 12px;
  color: #948F8C;
  white-space: nowrap;
  text-decoration: none;
}

.prevPrice del {
  text-decoration: none;
}

.offers .h4price {
  display: block;
  font-weight: 700 !important;
  font-size: 15px !important;
  color: #333 !important;
  white-space: nowrap;
}

.infoBox .prevPrice {
  font-style: italic;
  font-size: 15px;
  text-align: right;
  text-decoration: none;
}

.product-select .infoBox .price {
  font-size: 1.3em !important;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .infoBox .prevPrice {
    text-align: left;
  }
}

/* ===================================================== */
/* Søgning - opdateret 2026-10                           */
/* ===================================================== */

/* Computer/tablet: søgefelt i headeren */
#sitehead-sitesearch form {
  margin: 0;
}

#sitehead-sitesearch .autocomplete {
  display: flex;
  align-items: stretch;
  margin-top: 12px;
}

#sitehead-sitesearch .dtsearch {
  flex: 1 1 auto;
  width: 100% !important;
  display: block !important;
  height: 46px;
  margin-top: 0;
  padding: 0 20px;
  font-size: 16px;
  color: #333;
  border: 2px solid #36535B;
  border-right: 0;
  border-radius: 23px 0 0 23px;
  box-shadow: none;
}

#sitehead-sitesearch .dtsearch:focus {
  border-color: #36535B;
  box-shadow: none;
  outline: 0;
}

#sitehead-sitesearch .btn-dtsearch {
  flex: 0 0 auto;
  height: 46px;
  padding: 0 24px;
  border: 0;
  border-radius: 0 23px 23px 0;
  background: #36535B;
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  vertical-align: top !important;
}

#sitehead-sitesearch .btn-dtsearch:hover,
#sitehead-sitesearch .btn-dtsearch:focus {
  background: #2a434a;
  color: #fff !important;
}

#sitehead-sitesearch .btn-dtsearch .fa {
  color: #fff !important;
  margin-right: 4px;
}

/* Forslagsliste (computer og mobil) */
.autocomplete-items {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 10001;
  max-height: 70vh;
  overflow-y: auto;
  text-align: left;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.autocomplete-items div,
.autocomplete-items div:hover {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: auto;
}

.autocomplete-items div.ac-head,
.autocomplete-items div.ac-head:hover {
  padding: 8px 16px 6px;
  font-size: 12px;
  font-weight: 700;
  color: #8a7f7b;
  background: #f7f2f1;
}

.autocomplete-items a.ac-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  line-height: 1.3;
  color: #333 !important;
  text-decoration: none;
  cursor: pointer;
}

.autocomplete-items a.ac-item:hover,
.autocomplete-items a.ac-item:focus,
.autocomplete-items a.ac-item.ac-active {
  background: #f4eeed;
  color: #333 !important;
  text-decoration: none;
}

.autocomplete-items .ac-thumb {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin: 0;
  float: none;
  object-fit: contain;
  border-radius: 6px;
  background: #f6f6f6;
}

.autocomplete-items .ac-info {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}

.autocomplete-items .ac-name {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
}

.autocomplete-items .ac-count {
  font-weight: 400;
  color: #888;
}

.autocomplete-items .ac-stock {
  margin-top: 2px;
  font-size: 12px;
}

.autocomplete-items .ac-stock.is-in {
  color: #3b7a3b;
}

.autocomplete-items .ac-stock.is-out {
  color: #b06a2b;
}

.autocomplete-items .ac-price {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  text-align: right;
  white-space: nowrap;
}

.autocomplete-items .ac-price s {
  font-size: 12px;
  color: #999;
}

.autocomplete-items .ac-price b {
  font-size: 14px;
  color: #222;
}

.autocomplete-items a.ac-all {
  justify-content: center;
  border-bottom: 0;
  font-weight: 700;
  color: #36535B !important;
}

.autocomplete-items div.ac-empty,
.autocomplete-items div.ac-empty:hover {
  padding: 14px 16px;
  color: #777;
}

/* Mobil: søgning i fuld skærm */
.page-search .search-chips {
  display: none;
}

@media (max-width: 767px) {
  .page-search.search-open {
    top: 0 !important;
    bottom: 0;
    margin-top: 0;
    padding: 14px 0 24px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 10050;
    border-bottom: 0;
    box-shadow: none;
  }

  body:has(.page-search.search-open) {
    overflow: hidden;
  }

  .page-search .col-md-12 {
    position: relative;
    padding-right: 70px;
  }

  .page-search .input-group {
    display: flex;
    width: 100%;
  }

  .page-search .input-group .form-control {
    flex: 1 1 auto;
    width: 100%;
    height: 46px;
    padding: 0 18px;
    font-size: 16px;
    border: 2px solid #36535B;
    border-right: 0;
    border-radius: 23px 0 0 23px !important;
    box-shadow: none;
  }

  .page-search .input-group-btn {
    display: block;
    width: auto;
  }

  .page-search .input-group-btn .btn {
    height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 0 23px 23px 0 !important;
    background: #36535B;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
  }

  .page-search a.search-close {
    position: absolute;
    top: 0;
    right: 15px;
    width: 50px;
    line-height: 46px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #36535B !important;
    text-decoration: none;
  }

  .page-search .autocomplete-items {
    position: static;
    margin: 14px -70px 0 0;
    max-height: none;
    box-shadow: none;
  }

  .page-search.search-open .search-chips {
    display: block;
    margin: 22px -70px 0 0;
  }

  .page-search:has(.autocomplete-items) .search-chips,
  .page-search:has(input:not(:placeholder-shown)) .search-chips {
    display: none;
  }

  .page-search .search-chips-title {
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #8a7f7b;
  }

  .page-search a.search-chip {
    display: inline-block;
    margin: 0 6px 8px 0;
    padding: 8px 14px;
    font-size: 14px;
    color: #36535B !important;
    text-decoration: none;
    background: #fff;
    border: 1px solid #d6c6c3;
    border-radius: 20px;
  }
}

/* Mobil: genveje til hele udvalget (under "Se hele udvalget") */
@media (max-width: 767px) {
  .page-search .search-chips-title-all {
    margin-top: 14px;
  }

  .page-search a.search-chip-wide {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-right: 0;
    padding: 11px 16px;
    font-weight: 700;
  }

  .page-search a.search-chip-wide span {
    font-size: 18px;
    line-height: 1;
  }
}

/* Rabatkodefelt i indkøbskurven (2026-10-20)
   Alt er afgrænset til .template-cart, som kun findes på kurvsiden (basket.html).
   Kassen (address.html) og minikurven (module-offcanvas-cart.html) påvirkes ikke. */

/* Overskrift over feltet */
.template-cart .basket-voucher-section::before {
  content: "\f02b\00a0\00a0Har du en rabatkode?";
  display: block;
  margin-bottom: 6px;
  font-family: FontAwesome, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: bold;
  color: #36535B;
}

/* Den grå "Rabatkode:"-etiket skjules, overskriften erstatter den */
.template-cart .basket-voucher-section .input-group-addon {
  display: none;
}

/* Feltet */
.template-cart .basket-voucher-section #voucher {
  height: 40px;
  font-size: 16px;
  border: 1.5px solid #36535B;
  border-right: 0;
  border-radius: 5px 0 0 5px;
  box-shadow: none;
}

.template-cart .basket-voucher-section #voucher:focus {
  border-color: #36535B;
  box-shadow: 0 0 0 2px rgba(54, 83, 91, .2);
}

/* Indløs-knappen */
.template-cart .basket-voucher-section #vourcherSubmit {
  height: 40px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: bold;
  color: #fff;
  background: #36535B;
  border: 1.5px solid #36535B;
  border-radius: 0 5px 5px 0;
}

.template-cart .basket-voucher-section #vourcherSubmit:hover,
.template-cart .basket-voucher-section #vourcherSubmit:focus {
  color: #fff;
  background: #2a434a;
  border-color: #2a434a;
}

/* "Opdater indkøbskurven" lidt mere afdæmpet, så den ikke konkurrerer med Indløs */
.template-cart #opdate {
  height: 40px;
  color: #777;
}

/* Computer og iPad: knappen flugter med feltet under den nye overskrift */
@media (min-width: 768px) {
  .template-cart #opdate {
    margin-top: 26px;
  }
}

/* Godkendt rabatkode: grøn med flueben */
.template-cart .basket-voucher,
.template-cart .basket-voucher.text-success {
  color: #1d6b3a;
}

.template-cart .basket-voucher .pull-left::before {
  content: "\f058\00a0";
  font-family: FontAwesome;
}

/* Mobil: større felt, så det er nemt at ramme */
@media (max-width: 767px) {
  .template-cart .basket-voucher-section {
    margin-top: 14px;
  }

  .template-cart .basket-voucher-section #voucher,
  .template-cart .basket-voucher-section #vourcherSubmit {
    height: 46px;
  }
}

/* Centreret menubar på computer (2026-10-29): menuen står i midten; dropdown-indhold forbliver venstrestillet */
#menudesktop{text-align:center}
#menudesktop > ul.nav.navbar-nav{float:none;display:inline-block;vertical-align:top}
#menudesktop .mmdropdown-content{text-align:left}
