.pp-trustbar{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  justify-content:center;
  align-items:center;

  margin-top: 8px !important;
  margin-bottom: 26px !important; /* <-- MER LUFT NEDÅT */

}


.section_element[data-qb-element="custom"]{
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.pp-trustbar__item{
  font-size:14px;
  line-height:1.35;
  padding:7px 12px;
  border-radius:999px;
  background:#ffffff;
  box-shadow:0 1px 2px rgba(0,0,0,.04);
  white-space: nowrap;
}

@media (max-width: 700px){
  .pp-trustbar__item{ white-space: normal; }
}

/* =========================
   Steg 5 – Kategorisida: Hitta rätt
   ========================= */

.pp-chooser{
  margin: 6px 0 22px;
  width: 100%;  
  padding: 16px;
  border: 1px solid rgba(0,0,0,.05);
  border-radius: 18px;
  background: #f9faf9;
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
}


.pp-chooser__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:12px;
}

.pp-chooser__title{
  margin:0;
  font-size:18px;
}

.pp-chooser__sub{
  margin:6px 0 0;
  font-size:14px;
  opacity:.85;
}

.pp-chooser__cta{
  display:inline-block;
  padding:10px 14px;
  border-radius: 12px;
  text-decoration:none;
  background: rgba(0,0,0,.06);
  font-weight:600;
  white-space:nowrap;
}

.pp-chooser__grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:10px;
}

.pp-chooser__card{
  display:block;
  padding:12px 12px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  text-decoration:none;
  background:#f9faf9;
  font-size:14px;
  line-height:1.35;
}

.pp-chooser__card span{
  opacity:.85;
}

.pp-chooser__card:hover{
  border-color: rgba(0,0,0,.18);
}

@media (max-width: 900px){
  .pp-chooser__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Steg 6 – Trygghet i varukorg (sidebar) */
.pp-cart-trust{
  margin: 10px 0 12px;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  background: #f9faf9;
  font-size: 13px;
  line-height: 1.35;
}

.pp-cart-trust > div + div{
  margin-top: 6px;
}

/* Fix: totalrad ska ligga helt i footer */
.sidebar-cart-footer h5{
  margin-top: 0;
  margin-bottom: 8px !important;
  padding-top: 12px;
  background: transparent;
}

/* --- Cart footer: gör totalraden ren & hel --- */
.sidebar-cart-footer{
  background: transparent !important;
}

.sidebar-cart-footer h5{
  background: #ffffff !important;
  margin: 0 !important;
  padding: 12px 12px !important;
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.sidebar-cart-footer h5,
.sidebar-cart-footer h5 span{
  color: #111 !important;
}

/* Checkout trustbox */
.pp-checkout-trust{
  margin: 10px 0 12px;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  background: #f9faf9;
  font-size: 13px;
  line-height: 1.35;
}
.pp-checkout-trust > div + div{ margin-top: 6px; }

/* Microcopy under TILL KASSAN */
.pp-cart-microcopy{
  margin: 10px 0 2px;
  font-size: 12.5px;
  line-height: 1.35;
  opacity: .9;
}

.pp-cart-microcopy__line{
  display:block;
}

.pp-cart-microcopy__line + .pp-cart-microcopy__line{
  margin-top: 4px;
}
/* Fri frakt-trigger i sidokorg */
.pp-free-ship{
  margin: 10px 0 12px;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  background: #ffffff;
}

.pp-free-ship__text{
  font-size: 13px;
  line-height: 1.3;
  margin-bottom: 8px;
}

.pp-free-ship__bar{
  height: 8px;
  border-radius: 999px;
  background: rgba(0,0,0,.08);
  overflow: hidden;
}

.pp-free-ship__fill{
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: #4fa372;
  transition: width .25s ease;
}

.pp-free-ship.is-free .pp-free-ship__fill{
  width: 100% !important;
}


.pp-pdp-microcopy{
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.35;
  opacity: .8;
}

/* Mini-upsell i varukorg (diskret) */
.pp-cart-upsell{
  margin: 10px 0 12px;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 14px;
  background: #fff;
  display: none;              /* visas bara via .is-show */
  gap: 10px;
  align-items: flex-start;
}

.pp-cart-upsell.is-show{
  display: flex !important;   /* säkrar mot andra regler */
}

.pp-cart-upsell__icon{
  font-size: 18px;
  line-height: 1;
  margin-top: 2px;
}

.pp-cart-upsell__title{
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 2px;
}

.pp-cart-upsell__sub{
  font-size: 12.5px;
  line-height: 1.35;
  opacity: .92;
}

.pp-cart-upsell__link{
  display: inline-block;
  margin-left: 6px;
  text-decoration: underline;
}

/* Bekräftelse i varukorg (visas vid 2+ sorter) */
.pp-cart-confirm{
  margin: 10px 0 12px;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 14px;
  background: #fff;
  display: none;              /* visas bara via .is-show */
  gap: 10px;
  align-items: flex-start;
}

.pp-cart-confirm.is-show{
  display: flex !important;   /* säkrar mot andra regler */
}

.pp-cart-confirm__icon{
  font-size: 18px;
  line-height: 1;
  margin-top: 2px;
}

.pp-cart-confirm__title{
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 2px;
}

.pp-cart-confirm__sub{
  font-size: 12.5px;
  line-height: 1.35;
  opacity: .92;
}


/* Confirm-box (när 2+ sorter finns) */
.pp-cart-confirm{
  margin: 10px 0 12px;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 14px;
  background: #fff;
  display: none;              /* viktigt */
  gap: 10px;
  align-items: flex-start;
}

.pp-cart-confirm.is-show{
  display: flex;
}

.pp-cart-confirm__icon{
  font-size: 18px;
  line-height: 1;
  margin-top: 2px;
}

.pp-cart-confirm__title{
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 2px;
}

.pp-cart-confirm__sub{
  font-size: 12.5px;
  line-height: 1.35;
  opacity: .92;
}

/* FIX: felplacerade cart-actions utanför #sidebarCart */
body > a.w-100,
body > a.btn.btn-block.color-text-base[data-dismiss="modal"] {
  display: none !important;
}

/* Dölj sidomenyn överallt */
[data-qb-area="sidesection"],
.sidebar {
  display: none !important;
}

/* Mobilmeny – aktiv länk */
#sidebarLeft .mobile-nav-link.is-active{
  font-weight: 700;
  opacity: 1;
}

/* Mobilmeny – caret (pil) */
#sidebarLeft .mobile-menu-caret::after{
  content: "›";
  display: inline-block;
  transform: rotate(0deg);
  transition: transform .18s ease;
  font-size: 18px;
  opacity: .6;
}

/* När dropdown är öppen (aria-expanded=true) – rotera pilen */
#sidebarLeft a[aria-expanded="true"] .mobile-menu-caret::after{
  transform: rotate(90deg);
  opacity: .9;
}