/* === Upsell Step (Step 6) === */
.upsell-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
  gap:12px;
  margin-top:12px;
}
.upsell-card{
  display:flex;
  flex-direction:column;
  border:1px solid #e6e6e6;
  border-radius:8px;
  overflow:hidden;
  background:#fff;
  transition:box-shadow .15s ease, transform .15s ease;
}
.upsell-card:hover{
  box-shadow:0 6px 20px rgba(0,0,0,.06);
  transform:translateY(-1px);
}
.upsell-card.is-disabled{
  opacity:.6;
  pointer-events:none;
}

.upsell-media{
  aspect-ratio: 16/10;
  background:#f7f7f7;
  overflow:hidden;
}
.upsell-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.upsell-body{
  padding:12px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.upsell-title{
  font-weight:600;
  line-height:1.2;
}
.upsell-meta.small{
  font-size:.85rem;
  color:#777;
}

.qty-ctrl{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-top:4px;
}
.qty-btn{
  width:36px;
  height:36px;
  border:1px solid #ddd;
  border-radius:9px;
  background:#fafafa;
  font-size:20px;
  line-height:1;
  cursor:pointer;
}
.qty-btn:hover{ background:#f0f0f0; }
.qty-btn[disabled]{ opacity:.5; cursor:not-allowed; }
.qty-num{
  min-width:28px;
  text-align:center;
  font-weight:600;
}

/* kleines rundes "i" */
.info-btn {
  background-color: #202936;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
  cursor: pointer;
  margin-left: 8px;
}
.info-btn:hover { background-color: #39455a; }

/* Vollflächiger weißer Hintergrund (keine Transparenz) */
.info-overlay {
  position: fixed;
  inset: 0;
  background: #fff;            /* explizit WEISS, nicht transparent */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* Das kleine Popup-Fenster */
.info-modal {
  background: #fff;
  color: #000;
  border-radius: 10px;
  padding: 20px;
  width: min(420px, 90%);
  max-height: 80vh;
  overflow: auto;
  position: relative;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

/* Inhalt formatiert Zeilenumbrüche aus DB */
.info-content { white-space: pre-wrap; }

/* Schließen (X) */
.info-close {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 20px;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}