/* 4-Block Layout */
.bb-grid-50-50, .bb-grid-60-40{
  display:grid; gap:16px; width:100%;
}
.bb-grid-50-50{ grid-template-columns: 1fr 1fr; }
.bb-grid-60-40{ grid-template-columns: 1.5fr 1fr; }
@media (max-width: 900px){
  .bb-grid-50-50, .bb-grid-60-40{ grid-template-columns:1fr; }
}

/* Order items with thumbnails */
.bb-order-item{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:12px 0;
  border-bottom:1px solid rgba(0,0,0,.06);
}
.bb-order-item-left{
  display:flex; gap:12px; min-width:0;
}
.bb-order-thumb{
  width:56px; height:56px; border-radius:12px;
  background:rgba(0,0,0,.05);
  overflow:hidden; flex:0 0 auto;
}
.bb-order-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.bb-order-title{ font-weight:600; line-height:1.2; }
.bb-order-meta{ opacity:.7; font-size:.92rem; }

/* Switch */
.checkout-switch{ display:flex; align-items:flex-start; gap:12px; cursor:pointer; user-select:none; position:relative; }
.checkout-switch input{ position:absolute; opacity:0; pointer-events:none; }
.checkout-switch-slider{
  width:46px; height:26px; border-radius:999px; background:#d9d9d9;
  position:relative; flex:0 0 auto; margin-top:2px; transition: background .15s ease;
}
.checkout-switch-slider:before{
  content:''; position:absolute; width:22px; height:22px; border-radius:50%;
  left:2px; top:2px; background:#fff; box-shadow:0 1px 2px rgba(0,0,0,.25);
  transition: transform .15s ease;
}
.checkout-switch input:checked + .checkout-switch-slider{ background:#111; }
.checkout-switch input:checked + .checkout-switch-slider:before{ transform: translateX(20px); }
.checkout-switch-label{ line-height:1.25; }

/* Force this content to span full width in typical two-column wrappers */
.bb-fullwidth{ width:100%; grid-column:1 / -1; }

.bb-row {
  grid-column: 1 / -1;
}

.checkout-summary-box h2,
.bb-row h2 {
  text-transform: uppercase;
  font-size: 1.3em;
}
.page-kasse .checkout-inner { row-gap: 16px; }

.bb-row > .checkout-summary-box,
.bb-row > .bb-grid-50-50,
.bb-row > .bb-grid-60-40 {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.bb-header-box{
  grid-column: 1 / -1 !important;
  width: auto !important;
  max-width: 100% !important;
  position: static !important;
  transform: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  left: auto !important;
  right: auto !important;
  min-width: 0 !important;
}

/* 1) Jede Section-Zeile soll über beide checkout-inner Spalten gehen */
.checkout-inner > .bb-row{
  grid-column: 1 / -1 !important;
  width: 98%;
  min-width: 0;
}

/* Eure bisherigen Grids weiter nutzen */
.bb-grid-50-50, .bb-grid-60-40{ display:grid; gap:16px; width:100%; }
.bb-grid-50-50{ grid-template-columns: 1fr 1fr; }
.bb-grid-60-40{ grid-template-columns: 1.5fr 1fr; }

@media (max-width: 900px){
  .bb-grid-50-50, .bb-grid-60-40{ grid-template-columns: 1fr; }
}

.bb-modal-backdrop{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.45);
  z-index:99999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
}
.bb-modal{
  width:min(520px, 100%);
  background:#fff;
  border-radius:18px;
  box-shadow:0 12px 30px rgba(0,0,0,.25);
  overflow:hidden;
}
.bb-modal-header{ padding:18px 18px 0; }
.bb-modal-body{ padding:12px 18px 18px; line-height:1.35; }
.bb-modal-footer{ padding:0 18px 18px; display:flex; justify-content:flex-end; }
.bb-btn{
  border:0;
  border-radius:999px;
  padding:10px 16px;
  font-weight:700;
  cursor:pointer;
  background-color: #f9cb5c;
}

.bb-modal-header h3 {
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1.3em;
  color: #a00000;
  margin-bottom: 0;
}
