.msr_card__media {
  position: relative;
}

.msr_discount_badge {
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 5;
  background: #e53935;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  padding: 10px 12px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.18);
  pointer-events: none;
}
.bb-search-block {
  padding: 18px 14px;
}

.bb-search-card {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  max-width: 760px;
  margin: 0 auto;
}

.bb-search-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px;
}

.bb-search-form {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.bb-search-input {
  flex: 1;
  border: 1px solid rgba(0,0,0,0.14);
  border-radius: 12px;
  padding: 12px 12px;
  font-size: 14px;
  outline: none;
  background: #fff;
}

.bb-search-input:focus {
  border-color: rgba(0,0,0,0.28);
}

.bb-search-btn {
  border: 0;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--bg-dark);
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
}

.bb-search-popular {
  margin-top: 10px;
  font-size: 12px;
  opacity: 0.75;
}

/* Optional: auf sehr kleinen Screens untereinander */
@media (max-width: 420px) {
  .bb-search-form {
    flex-direction: column;
  }
  .bb-search-btn {
    width: 100%;
  }
}

.bb-search-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Reihe 1 */
.bb-search-row--main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.bb-search-input {
  width: 100%;
  min-width: 0;
}

.bb-search-btn {
  white-space: nowrap;
  padding: 12px 18px;
  border-radius: 12px;
}

/* Reihe 2 */
.bb-search-row--filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
}

.bb-search-check {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  white-space: nowrap;
}

.bb-search-field {
  min-width: 220px;
}

.bb-search-select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
}

.bb-search-price {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.bb-search-price input[type="number"] {
  width: 92px;
  padding: 8px 10px;
  border-radius: 10px;
}

.bb-search-price-label {
  font-weight: 600;
  margin-right: 4px;
}

/* Mobile */
@media (max-width: 640px) {
  .bb-search-row--main {
    grid-template-columns: 1fr;
  }
  .bb-search-btn {
    width: 100%;
  }
  .bb-search-field {
    min-width: 100%;
  }
}

.bb-switch1 {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

/* echte Checkbox verstecken */
.bb-switch1 input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Switch-Hintergrund */
.bb-switch1-slider {
  position: relative;
  width: 44px;
  height: 24px;
  background: #d1d5db;           /* grau OFF */
  border-radius: 999px;
  transition: background 0.25s ease;
}

/* Switch-Knopf */
.bb-switch1-slider::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.25s ease;
}

/* ON-Zustand */
.bb-switch1 input:checked + .bb-switch1-slider {
  background: #22c55e;           /* grün ON */
}

.bb-switch1 input:checked + .bb-switch1-slider::before {
  transform: translateX(20px);
}

/* Label */
.bb-switch1-label {
  font-size: 14px;
  white-space: nowrap;
}

.bb-price-max {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.bb-range {
  width: 220px;
}

.bb-range-value {
  font-weight: 600;
  min-width: 70px;
  text-align: right;
}

