/* Bull Pack Links */
.bm-packlinks{ margin:1rem 0; }
.bm-packlinks__title{ font-weight:600; font-size:14px; margin-bottom:.5rem; }
.bm-packlinks__list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:2px; }
.bm-packlinks__item{ margin:0; }
.bm-packlinks__link{
  display:flex; align-items:center; gap:10px;
  padding:6px 8px; border:1px solid #eef0f1; border-radius:6px;
  color:inherit; text-decoration:none; font-size:13px; line-height:1.2;
  transition:background .15s, border-color .15s;
}
.bm-packlinks__link:hover{ background:#fafbfc; border-color:#dce0e3; }
.bm-packlinks__img{ width:40px; height:40px; object-fit:cover; border-radius:4px; flex:0 0 auto; }
.bm-packlinks__name{ flex:1 1 auto; }
.bm-packlinks__price{ font-weight:600; white-space:nowrap; }

/* ============================================================================
   "Køb som pakke & spar" — buy-box upsell (displayBmPackLinksSidebar)
   Compact bleed-slider under the add-to-cart button. 3 cards visible, contained
   (no full-bleed), green savings-led styling for conversion.
   ========================================================================== */
.bm-plx{
  margin:14px 0 6px;
  padding:12px 12px 14px;
  border:1px solid #d9efe0;
  border-radius:14px;
  background:linear-gradient(180deg,#f2fbf6 0%,#ffffff 62%);
}
.bm-plx__head{
  display:flex; align-items:center; gap:10px; margin-bottom:10px;
  padding-inline:0; /* override .bs-slider__head if it carries grid padding */
}
.bm-plx__icon{
  flex:0 0 auto; width:34px; height:34px; display:grid; place-items:center;
  border-radius:50%; background:#16A34A; color:#fff;
}
.bm-plx__icon .ph-i{ width:19px; height:19px; }
.bm-plx__headtext{ display:flex; flex-direction:column; line-height:1.15; min-width:0; flex:1 1 auto; }
.bm-plx__title{ font-size:14px; font-weight:700; color:#0f172a; }
.bm-plx__upto{ font-size:13px; font-weight:800; color:#16A34A; }
.bm-plx__nav{ display:flex; gap:6px; flex:0 0 auto; }
.bm-plx__arrow{
  width:28px; height:28px; border-radius:50%; border:1px solid #d6e6dc;
  background:#fff; color:#0f172a; display:grid; place-items:center; cursor:pointer;
  transition:background .15s, border-color .15s, color .15s;
}
.bm-plx__arrow:hover{ background:#16A34A; border-color:#16A34A; color:#fff; }
.bm-plx__arrow .ph-i{ width:15px; height:15px; }

/* Contain the theme bleed-slider inside the buy box + show ~3 cards. */
.bm-plx .bleed-slider{
  width:auto; margin-inline:0;
  --bs-edge:0; --bs-gap:8px;
  --bs-slide:calc((100% - (2 * var(--bs-gap))) / 3);
  padding-block:.35rem; margin-block:-.35rem;
}
.bm-plx__slide{ list-style:none; }

.bm-plx-card{
  display:flex; flex-direction:column; height:100%;
  border:1px solid #eef0f1; border-radius:10px; overflow:hidden;
  background:#fff; text-decoration:none; color:inherit;
  transition:border-color .15s, box-shadow .15s, transform .15s;
}
.bm-plx-card:hover{ border-color:#16A34A; box-shadow:0 6px 16px rgba(16,163,74,.14); transform:translateY(-2px); }
.bm-plx-card__media{ display:block; position:relative; aspect-ratio:1/1; background:#f7f7f5; }
.bm-plx-card__img{ width:100%; height:100%; object-fit:cover; display:block; }
.bm-plx-card__save{
  position:absolute; top:6px; left:6px; z-index:2;
  background:#16A34A; color:#fff; font-size:11px; font-weight:800;
  padding:3px 7px; border-radius:999px; line-height:1; white-space:nowrap;
  box-shadow:0 2px 6px rgba(0,0,0,.18);
}
.bm-plx-card__body{ padding:8px 8px 10px; display:flex; flex-direction:column; gap:4px; flex:1 1 auto; }
.bm-plx-card__name{
  font-size:12px; line-height:1.25; color:#0f172a; text-decoration:none;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
  transition:color .15s;
}
.bm-plx-card__name:hover{ color:#16A34A; }
.bm-plx-card__prices{ margin-top:auto; display:flex; align-items:baseline; gap:6px; flex-wrap:wrap; }
.bm-plx-card__now{ font-size:15px; font-weight:800; color:#0f172a; }
.bm-plx-card__now--sale{ color:#16A34A; }
.bm-plx-card__cur{ font-size:.7em; font-weight:700; }
.bm-plx-card__was{ font-size:12px; color:#9aa3ab; text-decoration:line-through; }

/* Add-to-cart — full-width green pill, matches the buy-box CTA. */
.bm-plx-card__buy{
  margin-top:8px;
  width:100%; display:flex; align-items:center; justify-content:center; gap:6px;
  padding:8px 8px; border:0; border-radius:999px; cursor:pointer;
  background:#16A34A; color:#fff; font-size:12px; font-weight:800; line-height:1;
  white-space:nowrap; overflow:hidden;
  transition:background .15s, transform .08s, box-shadow .15s, opacity .15s;
}
.bm-plx-card__buy:hover{ background:#128a3e; box-shadow:0 4px 12px rgba(16,163,74,.28); }
.bm-plx-card__buy:active{ transform:translateY(1px); }
.bm-plx-card__buy.is-loading{ opacity:.6; pointer-events:none; }
.bm-plx-card__buy .ph-i{ width:15px; height:15px; flex:0 0 auto; }
.bm-plx-card__soldout{
  margin-top:8px; display:block; text-align:center;
  padding:8px; border-radius:999px; background:#f1f3f5; color:#9aa3ab;
  font-size:12px; font-weight:700; line-height:1;
}

/* Narrower buy-box / tablets: keep ~3 but allow a touch of peek. */
@media (max-width:1280px){
  .bm-plx .bleed-slider{ --bs-slide:calc((100% - (2 * var(--bs-gap))) / 2.6); }
}
@media (max-width:767px){
  .bm-plx .bleed-slider{ --bs-gap:10px; --bs-slide:calc((100% - (2 * var(--bs-gap))) / 2.3); }
}
