/* =========================================================================== */
/* Product recommendations                                                     */
/* =========================================================================== */

/* BB Recommendations Modal */
.bbprm-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
}
.bbprm-modal.is-open { display: block; }

.bbprm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.bbprm-dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(860px, calc(100% - 24px));
  max-height: 60vh;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  overflow: hidden; /* wichtig: Header + Body sauber */
  display: flex;
  flex-direction: column;
}

.bbprm-header {
  background: var(--bg-dark);
  color: #fff;
  text-transform: uppercase;
  padding: 14px 18px;
  font-weight: 800;
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bbprm-close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  opacity: .85;
}
.bbprm-close:hover { opacity: 1; }

.bbprm-intro {
  padding: 12px 18px 0 18px;
  font-size: 14px;
  line-height: 1.45;
  color: #222;
}

.bbprm-body {
  padding: 12px 18px 18px 18px;
  overflow: auto;          /* nur Liste scrollt */
  flex: 1 1 auto;
}

.bbprm-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bbprm-item {
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 12px;
}

.bbprm-note {
  font-weight: 700;
  margin: 0 0 10px 0;
}

.bbprm-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  align-items: start;
}

.bbprm-img {
  width: 92px;
  height: 92px;
  border-radius: 10px;
  overflow: hidden;
  background: #f3f3f3;
}
.bbprm-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bbprm-title {
  font-weight: 800;
  margin: 0 0 6px 0;
  line-height: 1.25;
}

.bbprm-desc {
  margin: 0;
  color: #333;
  font-size: 13px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;      /* 2-3 Zeilen */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bbprm-bottom {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.bbprm-price {
  font-weight: 800;
  white-space: nowrap;
}

.bbprm-btn {
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  background: #111;
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.bbprm-btn[disabled] { opacity: .6; cursor: not-allowed; }

body.bbprm-lock { overflow: hidden; }

