.mb { max-width: 820px; margin: 0 auto; }
.mb-step { margin: 18px 0; }
.mb-card {
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 16px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,.06);
}
.mb-title { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.mb-note { display:block; margin-top: 10px; opacity: .75; }
.mb-choice {
  display: flex;
  gap: 12px;
  flex-direction: column;
  justify-content: center; 
}
.mb-card .mb-note { text-align: center; }
.mb-choice-btn {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.15);
  background: #f7f7f7;
  cursor:pointer;
  font-weight: 600;
}
.mb-choice-btn:hover { filter: brightness(.98); }
.mb-select, .mb-input {
  width: 100%;
  max-width: 520px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.18);
}
.mb-switch { display:flex; gap:10px; align-items:center; font-weight: 600; }
.mb-actions { display:flex; gap:12px; flex-wrap:wrap; justify-content: center;}
.mb-primary { padding: 12px 14px; border-radius: 14px; cursor:pointer; font-weight:800; }
.mb-summary { margin-top: 12px; padding: 12px; background:#f6f6f6; border-radius: 12px; min-height: 80px; }
.mb-ready { border-left: 6px solid rgba(0,0,0,.2); }
.is-hidden { display:none; }

.mb-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mb-retailer-head{
  --logo: 112px;

  display: grid;
  grid-template-columns: var(--logo) minmax(0, 520px);
  gap: 16px;
  align-items: center;

  justify-content: center;   /* centers the whole two-column block */
  text-align: center;
}

.mb-retailer-logo-wrap{
  width: var(--logo);
  height: var(--logo);
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  display: grid;
  place-items: center;
  padding: 6px;
}

.mb-retailer-logo{ width: 100%; height: 100%; object-fit: contain; display:block; }

.mb-retailer-body{ max-width: 520px; }

.mb-retailer-name{ margin-bottom: 4px; }
.mb-retailer-addr{ opacity: .85; }

.mb-page-subhead {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.4;
  color: rgba(0,0,0,.72);
}

.mb-page-subhead-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.mb-page-subhead-name {
  display: block;
  margin-top: 2px;
  font-size: 18px;
  font-weight: 800;
  color: #000;
}

@media (max-width: 640px) {
  .mb-grid { grid-template-columns: 1fr; }
}

.mb-card-btn {
  text-align: left;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  border-radius: 16px;
  padding: 12px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,.06);
}

.mb-card-btn:hover { transform: translateY(-1px); }

.mb-choice-btn:hover {
  background: #efefef;
}

.mb-choice-btn.is-selected,
.mb-card-btn.is-selected {
  background: #f0f0f0;
  border-color: rgba(0,0,0,.25);
  box-shadow: 0 0 0 3px rgba(0,0,0,.15);
}


.mb-step.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}


.mb-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.08);
  background: #f6f6f6;
}

.mb-card-label {
  margin-top: 10px;
  font-weight: 800;
  font-size: 16px;
}

.mb-inline-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef3d8;
  color: #4f6228;
  font-size: 12px;
  font-weight: 700;
  vertical-align: middle;
}

.mb-results { margin-top: 10px; display: grid; gap: 10px; }
.mb-result {
  text-align: left;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0,0,0,.04);
}
.mb-result:hover { transform: translateY(-1px); }
.mb-result.is-selected { background: #f0f0f0; border-color: rgba(0,0,0,.25); }

/* product cards */
.mb-products-2{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 640px) {
  .mb-products-2 { grid-template-columns: 1fr; }
}

.mb-product{
  display:flex;
  gap:14px;
  align-items:center;
  margin: 14px 0;
  justify-content:center;
}

.mb-prod-card{
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 16px;
  background: #fff;
  position: relative;
  padding: 12px;
  cursor:pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,.06);
  text-align:left;
}
.mb-prod-card.static{ cursor: default; }
.mb-prod-card:hover{ transform: translateY(-1px); }

.mb-prod-card.is-selected{
  background: #f0f0f0;
  border-color: rgba(0,0,0,.25);
  box-shadow: 0 0 0 3px rgba(0,0,0,.15);
}

.mb-prod-img{
  width:100%;
  height:auto;
  display:block;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.08);
  background:#f6f6f6;
  margin-bottom: 10px;
  max-height: 220px;
  object-fit: contain;
}


.mb-privacy{
  margin-top: 12px;
  display: flex;
  justify-content: center;   /* 👈 center the whole block */
  align-items: flex-start;
  gap: 10px;
  text-align: center;
}

.mb-privacy label{
  margin: 0;
  cursor: pointer;
}

.mb-privacy span{
  display: inline-block;
}


.mb-prod-info{ text-align:left; }
.mb-prod-title{ font-weight: 900; font-size: 16px; }
.mb-prod-sub{ opacity:.75; margin-top:6px; }
.mb-prod-price{ margin-top:8px; font-weight: 900; }

.mb-qty{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}
.mb-select-small{ max-width: 120px; }



.mb-products-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}

@media (max-width: 720px) {
  .mb-products-3 {
    grid-template-columns: 1fr;
  }
}

.mb-prod-card.toggle {
  cursor: pointer;
}

.mb-prod-card.toggle.is-selected {
  border-color: rgba(0,0,0,.35);
  box-shadow: 0 0 0 3px rgba(0,0,0,.18);
}


.mb-choice-btn.is-disabled,
.mb-primary.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}



/* Dicsounts */
.mb-price-old {
  text-decoration: line-through;
  opacity: 0.5;
  font-size: 14px;
}

.mb-price-new {
  font-weight: 900;
  font-size: 20px;
}

.mb-badge {
  margin-top: 4px;
  display: inline-block;
  padding: 4px 8px;
  border-radius: 8px;
  background: #e8f5e9;
  color: #1b5e20;
  font-weight: 800;
  font-size: 12px;
}

/* Towbar Card */
.mb-towbar-card {
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
  background: #fff;
  cursor: pointer;
}

.mb-towbar-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.mb-towbar-title { font-weight: 900; font-size: 20px; }
.mb-towbar-sub { opacity: .7; margin-top: 4px; }
.mb-towbar-body { margin-top: 12px; }
.mb-towbar-cta { margin-top: 12px; }

/* Center a single card inside the 2-col grid */
.mb-products-2.is-single{
  grid-template-columns: minmax(0, 420px); /* one column, fixed max width */
  justify-content: center;                  /* centers the grid track */
}

.mb-products-2.is-single .mb-prod-card{
  width: 100%;
}

.mb-prod-card.is-forced {
  cursor: default;
  box-shadow: none;
}
.mb-prod-card.is-forced::after {
  content: "✓";
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 18px;
}


/* Breakdance: remove giant spacing above/below configurator on product 1723 */
body.single-product.postid-1723 .bde-section-1724-138,
body.single-product.postid-1723 .bde-section-1724-101{
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Some Breakdance builds put padding on the inner container instead */
body.single-product.postid-1723 .bde-section-1724-138 > .section-container,
body.single-product.postid-1723 .bde-section-1724-101 > .section-container{
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* If there is still a “gap” between the two sections, kill it here */
body.single-product.postid-1723 .bde-section-1724-138{
  padding-bottom: 0 !important;
}
body.single-product.postid-1723 .bde-section-1724-101{
  padding-top: 0 !important;
}

/* Mobile: turn the 4 columns into a swipeable row */
@media (max-width: 767px) {
  body.single-product.postid-1723 .bde-section-1724-138 .bde-columns-1724-139 {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 14px !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }

  body.single-product.postid-1723 .bde-section-1724-138 .bde-column-1724-140,
  body.single-product.postid-1723 .bde-section-1724-138 .bde-column-1724-141,
  body.single-product.postid-1723 .bde-section-1724-138 .bde-column-1724-142,
  body.single-product.postid-1723 .bde-section-1724-138 .bde-column-1724-143 {
    flex: 0 0 85% !important;      /* card width */
    max-width: 85% !important;
    scroll-snap-align: start;
  }

  /* Optional: reduce “Beinhaltet” text density on mobile */
  body.single-product.postid-1723 .bde-section-1724-138 .ee-imagebox-text {
    font-size: 14px;
    line-height: 1.35;
  }
}

/* Keep automatic transitions within the questionnaire, not lower-page content. */
html.minnid-configurator-page { overflow-anchor:none; }
html.minnid-configurator-page #minnid-builder-root,
html.minnid-configurator-page #system-demo { overflow-anchor:none; }
#minnid-builder-root #step-towbar .mb-explainer { display:flex;justify-content:center;margin:8px 0; }
#minnid-builder-root #step-towbar .mb-explainer-img {
 display:block;width:auto;max-width:100%;height:clamp(100px,24svh,220px);object-fit:contain;
}
#minnid-builder-root #step-towbar .mb-card > br { display:none; }
#minnid-builder-root #step-towbar .mb-choice { margin-top:12px; }
