/* =================================================== * CUSTOM CSS CODE BELOW * =================================================== */ 
.icon-count {
    background: #bdd1cb;
}

.navbar-checkout-btn, .product-btn-addcart {
    color: #ffffff;
    background: #bdd1cb;
    transition: all 0.2s ease-in-out;
}

.login .btn {
    background: #bdd1cb;
    border-color: #bdd1cb;
    color: #fff;
}

.text-soldout, .nav-link.active, .color-primary, .color-primary:hover, .nav-link.active, .product-grid-header-show.active, a, .product-grid-header-show.active:hover {
    color: #594f4d;
}

/* Kundklubb / Poäng (produktsida) */
.detail-option .loyalty-box {
  background: #f9f3ea;            /* ljus bas */
  border: 1px solid rgba(90, 78, 75, 0.15);
  border-left: 4px solid #bdd1cb; /* accent */
  border-radius: 10px;
  padding: 10px 12px;
  
  /* Dölj företagskund vid registrering */
#customer-type-company {
  display: none;
}

label[for="customer-type-company"] {
  display: none;
}
  margin-top: 6px;
  margin-bottom: 6px;
}

.detail-option .loyalty-title {
  color: #5a4e4b;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.detail-option .loyalty-title::before {
  content: "★";
  color: #5a4e4b;
  opacity: 0.9;
  font-size: 12px;
}

.detail-option .loyalty-text {
  color: #5a4e4b;
  opacity: 0.9;
  margin-top: 2px;
  line-height: 1.3;
}

.detail-option .product-loyalty-points {
  display: inline-block;
  background: #bdd1cb;
  color: #5a4e4b;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  margin: 0 2px;
  transform: translateY(-1px);
}

/* Liten hover så den "poppar" utan att störa */
.detail-option .loyalty-box:hover {
  transform: translateY(-1px);
  transition: transform 160ms ease, box-shadow 160ms ease;
  box-shadow: 0 8px 22px rgba(90, 78, 75, 0.10);
}

/* Mobil: lite tajtare */
@media (max-width: 576px) {
  .detail-option .loyalty-box {
    padding: 9px 10px;
    border-radius: 9px;
  }
}

/* Dölj företagskund */
input#customer-type-company {
  display: none;
}

input#customer-type-company + span {
  display: none;
}

input#customer-type-company {
  display: none !important;
}

label:has(#customer-type-company) {
  display: none;
}

/* Rundande hörn*/
.swiper-container {
    border-radius: 15px;
}
.banner {
    border-radius: 15px;
}

/* ===== Kundklubb box (premium) ===== */
.loyalty-cart-box{
  background: #f9f3ea;
  border: 1px solid rgba(90,78,75,.14);
  border-left: 6px solid #bdd1cb;
  border-radius: 14px;
  padding: 12px 14px;
  margin-top: 14px;
  margin-bottom: 14px;
  box-shadow: 0 10px 26px rgba(90,78,75,.10);
  transform: translateZ(0);
}

.loyalty-cart-title{
  color: #5a4e4b;
  font-weight: 900;
  letter-spacing: .2px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* liten ikon */
.loyalty-cart-title::before{
  content: "✦";
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #bdd1cb;
  color: #5a4e4b;
  font-weight: 900;
  line-height: 22px;
  text-align: center;
  font-size: 12px;
}

.loyalty-cart-text{
  color:#5a4e4b;
  opacity:.95;
  line-height:1.35;
  font-size: 0.92rem;
}

/* Poäng-bubblan: mer “pop” */
.cart-loyalty-points{
  display: inline-block;
  background: #bdd1cb;
  color: #5a4e4b;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 999px;
  margin: 0 4px;
  box-shadow: 0 8px 18px rgba(90,78,75,.18);
  border: 1px solid rgba(90,78,75,.10);
  transform: translateY(-1px);
}

/* Extra rad tydlig */
.loyalty-cart-text br + *{
  display: inline-block;
  margin-top: 6px;
}

/* Mobil: lite tajtare */
@media (max-width: 576px){
  .loyalty-cart-box{
    padding: 11px 12px;
    border-radius: 12px;
  }
}

/* Styling av pris */
#price-block {
  margin-bottom: 14px;
}

#price-block .product-price {
  font-size: 2.3rem;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
}

#price-block .product-before-price {
  font-size: 1rem;
  opacity: 0.7;
  margin-right: 10px;
}

@media (max-width: 991.98px) {
  #price-block .product-price {
    font-size: 2.6rem;
  }

  #price-block .product-before-price {
    display: block;
    margin-bottom: 4px;
    margin-right: 0;
  }
}


/* Styling av cookiebanner */
#cc_div #cm {
    background-color: #f9f3ea !important;
    color: #5b4f51 !important;
}

/* Första knappen */
#cc_div #cm_btns button:first-child,
#cc_div #cs_buttons button:first-child {
    background-color: #5b4f51 !important;
    border-color: #5b4f51 !important;
    color: #ffffff !important;
}

/* Andra knappar om du vill matcha bättre */
#cc_div #cm_btns button,
#cc_div #cs_buttons button {
    border-radius: 6px;
}

/* Header i varukorgen */
.cartbox-header {
  position: relative;
  padding: 18px 20px 14px;
}

.cartbox-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 44px;
  gap: 12px;
}

.cartbox-title {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  padding-right: 50px; /* så den inte krockar med X */
}

.cartbox-continue-shopping {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: #5b4f51;
  background: rgba(91, 79, 81, 0.08);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.cartbox-continue-shopping:hover {
  background: #5b4f51;
  color: #fff;
}

.cartbox-continue-shopping:hover {
  background: #5b4f51;
  color: #fff;
  text-decoration: none;
}

.cartbox-continue-shopping:focus {
  outline: none;
  background: #5b4f51;
  color: #fff;
  text-decoration: none;
}

/* Mobil */
@media (max-width: 575.98px) {
  .cartbox-header {
    padding: 16px 16px 12px;
  }

  .cartbox-header-inner {
    padding-right: 38px;
    gap: 10px;
  }

  .cartbox-title {
    font-size: 1.7rem;
  }

  .cartbox-continue-shopping {
    padding: 6px 10px;
    font-size: 12px;
  }
}