/* BS24 Extra-Zentrale LAB 0.9.0 – Frontend-Abgleich mit Order Lite 0.9.9.160.154 */

/* WooCommerce-Varianten im Produkt-Popup ohne den alten Außentitel "Größe wählen".
   Die eigentlichen Varianten bleiben selbstverständlich sichtbar und auswählbar. */
.bs24-product-popup-body .bs24-product .bs24-wc-variations-toggle{
  display:none!important;
}
.bs24-product-popup-body .bs24-product .bs24-wc-variations,
.bs24-product-popup-body .bs24-product .bs24-wc-variations-panel,
.bs24-product-popup-body .bs24-product .bs24-wc-variations-panel[hidden]{
  display:block!important;
}
.bs24-product-popup-body .bs24-product .bs24-wc-variations{
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
  padding:0!important;
  margin:0 0 14px!important;
}
.bs24-product-popup-body .bs24-product .bs24-wc-variations-panel{
  padding:0!important;
}

/* Zentral-Gruppen benutzen nur ihr eigenes Icon + ihren Namen im Kopf.
   Alte Order-Lite-Pseudo-Icons dürfen nicht zusätzlich davor erscheinen. */
.bs24-product-popup-body .bs24-extras-toggle span::before,
.bs24-product-popup-body .bs24-extras-toggle::before{
  content:none!important;
  display:none!important;
}
.bs24-product-popup-body .bs24-extras-toggle{
  color:#111827!important;
}
.bs24-product-popup-body .bs24-extras-toggle span{
  color:inherit!important;
  line-height:1.25!important;
}

/* Gerichtsvarianten: Text immer lesbar. */
.bs24-dish-variant-toggle,
.bs24-dish-variant-toggle > span{
  color:#111827!important;
}
.bs24-dish-variant-toggle em{
  color:#fff!important;
  background:#ff6b2c!important;
  padding:4px 10px!important;
  border-radius:999px!important;
  white-space:nowrap!important;
}

/* 0.9.2 – Zentral-Titel: exakt EIN eigenes Icon + Gruppenname. */
.bs24-product-popup-body .bs24-extra-group[data-source-group-id^="central_"]
  .bs24-central-title::before{
  content:none!important;
  display:none!important;
}

/* 0.9.4 Konflikt-Fix: LAB-Frontend-Stile bleiben strikt im Order-Lite Produkt-Popup.
   Verfügbarkeitschecker, Haupt-Akkordeons und andere Dialoge werden nicht verändert. */


/* 0.9.15 / OrderLite 160.160:
   Gespeicherte Zwei-Spalten-Wahl der Extra-Zentrale auch im echten Bestellfenster. */
.bs24-product-popup-body .bs24-extra-group.bs24-central-cols-2,
.bs24-product-popup-body .bs24-extra-group[data-columns="2"],
.bs24-extras-panel .bs24-extra-group.bs24-central-cols-2,
.bs24-extras-panel .bs24-extra-group[data-columns="2"]{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:0 14px!important;
  width:100%!important;
  box-sizing:border-box!important;
}
.bs24-product-popup-body .bs24-extra-group.bs24-central-cols-2 > .bs24-extra-row,
.bs24-product-popup-body .bs24-extra-group[data-columns="2"] > .bs24-extra-row,
.bs24-extras-panel .bs24-extra-group.bs24-central-cols-2 > .bs24-extra-row,
.bs24-extras-panel .bs24-extra-group[data-columns="2"] > .bs24-extra-row{
  min-width:0!important;
  width:100%!important;
  box-sizing:border-box!important;
}
.bs24-product-popup-body .bs24-extra-group.bs24-central-cols-2 > .bs24-extra-group-title,
.bs24-product-popup-body .bs24-extra-group.bs24-central-cols-2 > .bs24-extra-notice,
.bs24-product-popup-body .bs24-extra-group.bs24-central-cols-2 > .bs24-extra-shared-limit,
.bs24-product-popup-body .bs24-extra-group.bs24-central-cols-2 > .bs24-menu-size-hint,
.bs24-product-popup-body .bs24-extra-group[data-columns="2"] > .bs24-extra-group-title,
.bs24-product-popup-body .bs24-extra-group[data-columns="2"] > .bs24-extra-notice,
.bs24-product-popup-body .bs24-extra-group[data-columns="2"] > .bs24-extra-shared-limit,
.bs24-product-popup-body .bs24-extra-group[data-columns="2"] > .bs24-menu-size-hint{
  grid-column:1/-1!important;
}

/* Kleinen Aufblitz-/Transition-Effekt beim Öffnen der zentralen Accordion-Auswahl vermeiden. */
.bs24-product-popup-body .bs24-extras,
.bs24-product-popup-body .bs24-extras-panel,
.bs24-product-popup-body .bs24-extras-toggle{
  transition:none!important;
  animation:none!important;
}


/* v0.9.9.160.163 – LIVE 2-SPALTEN-HARD-FIX
   Die Einstellung data-columns="2" wird im echten Produkt-Popup zwingend
   zweispaltig gerendert. Die Regel liegt bewusst ganz am Dateiende. */
.bs24-product-popup-body .bs24-product .bs24-extras-panel .bs24-extra-group[data-columns="2"],
.bs24-product-popup .bs24-extras-panel .bs24-extra-group[data-columns="2"],
.bs24-extras-panel .bs24-extra-group[data-columns="2"]{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-auto-flow:row!important;
  gap:0 14px!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
.bs24-product-popup-body .bs24-product .bs24-extras-panel .bs24-extra-group[data-columns="2"] > .bs24-extra-row,
.bs24-product-popup .bs24-extras-panel .bs24-extra-group[data-columns="2"] > .bs24-extra-row,
.bs24-extras-panel .bs24-extra-group[data-columns="2"] > .bs24-extra-row{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
}
.bs24-extra-group[data-columns="2"] > .bs24-extra-group-title,
.bs24-extra-group[data-columns="2"] > .bs24-extra-notice,
.bs24-extra-group[data-columns="2"] > .bs24-extra-shared-limit,
.bs24-extra-group[data-columns="2"] > .bs24-extra-limit-hint,
.bs24-extra-group[data-columns="2"] > .bs24-menu-size-hint,
.bs24-extra-group[data-columns="2"] > .bs24-extra-divider{
  grid-column:1/-1!important;
}


/* v0.9.9.160.165 – echte Extra-Zeilen in eigenem Spalten-Container */
.bs24-extra-options-grid{
  width:100%!important;
  box-sizing:border-box!important;
}
.bs24-extra-options-grid[data-columns="1"]{
  display:block!important;
}
.bs24-extra-options-grid[data-columns="2"]{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:0 14px!important;
  align-items:start!important;
}
.bs24-extra-options-grid[data-columns="2"] > .bs24-extra-row{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  box-sizing:border-box!important;
}
.bs24-extra-options-grid[data-columns="2"] > .bs24-extra-divider{
  grid-column:1/-1!important;
}


/* v0.9.9.160.166 – Doppel-Grid-Fix
   Außen volle Breite. Nur .bs24-extra-options-grid teilt die echten Extra-Zeilen. */
.bs24-product-popup-body .bs24-extra-group[data-columns="2"],
.bs24-product-popup .bs24-extra-group[data-columns="2"],
.bs24-extras-panel .bs24-extra-group[data-columns="2"],
.bs24-extra-group[data-columns="2"]{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  grid-template-columns:none!important;
}
.bs24-extra-group[data-columns="2"] > .bs24-extra-options-grid[data-columns="2"]{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:0 16px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
.bs24-extra-group[data-columns="2"] > .bs24-extra-options-grid[data-columns="2"] > .bs24-extra-row{
  display:grid!important;
  grid-template-columns:22px minmax(0,1fr) auto!important;
  column-gap:8px!important;
  align-items:center!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
.bs24-extra-group[data-columns="2"] > .bs24-extra-options-grid[data-columns="2"] .bs24-extra-label{
  min-width:0!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:auto!important;
}
.bs24-extra-group[data-columns="2"] > .bs24-extra-options-grid[data-columns="2"] .bs24-extra-price{
  white-space:nowrap!important;
}


/* v0.9.9.160.167 – Extra-Zentrale vollständig von alten OrderLight-Spaltenregeln getrennt */
.bs24-extra-group.bs24-central-live{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  grid-template-columns:none!important;
  column-count:auto!important;
}
.bs24-extra-group.bs24-central-live > .bs24-extra-options-grid{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
.bs24-extra-group.bs24-central-live > .bs24-extra-options-grid[data-central-columns="1"]{
  display:block!important;
}
.bs24-extra-group.bs24-central-live > .bs24-extra-options-grid[data-central-columns="2"]{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:0 18px!important;
  align-items:start!important;
}
.bs24-extra-group.bs24-central-live > .bs24-extra-options-grid[data-central-columns="2"] > .bs24-extra-row{
  display:grid!important;
  grid-template-columns:22px minmax(0,1fr) auto!important;
  gap:8px!important;
  align-items:center!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:10px 0!important;
  box-sizing:border-box!important;
}
.bs24-extra-group.bs24-central-live > .bs24-extra-options-grid[data-central-columns="1"] > .bs24-extra-row{
  display:grid!important;
  grid-template-columns:22px minmax(0,1fr) auto!important;
  gap:10px!important;
  align-items:center!important;
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
.bs24-extra-group.bs24-central-live .bs24-extra-check{
  grid-column:1!important;
  width:18px!important;
  height:18px!important;
  margin:0!important;
  order:0!important;
}
.bs24-extra-group.bs24-central-live .bs24-extra-label{
  grid-column:2!important;
  min-width:0!important;
  width:auto!important;
  white-space:normal!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
  order:0!important;
}
.bs24-extra-group.bs24-central-live .bs24-extra-price{
  grid-column:3!important;
  white-space:nowrap!important;
  justify-self:end!important;
  order:0!important;
}
.bs24-extra-group.bs24-central-live .bs24-extra-divider{
  grid-column:1/-1!important;
}

/* 0.9.23 / OrderLite 160.168 – Extra-Zentrale stabil: nur 1 Spalte */
.bs24-extra-group.bs24-central-live,
.bs24-extra-group.bs24-central-live > .bs24-extra-options-grid,
.bs24-extra-group.bs24-central-live > .bs24-extra-options-grid[data-central-columns="1"],
.bs24-extra-group.bs24-central-live > .bs24-extra-options-grid[data-central-columns="2"]{
  display:block!important;
  grid-template-columns:none!important;
  column-count:1!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
}
.bs24-extra-group.bs24-central-live .bs24-extra-row{
  display:grid!important;
  grid-template-columns:22px minmax(0,1fr) auto!important;
  gap:10px!important;
  align-items:center!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  box-sizing:border-box!important;
}
.bs24-extra-group.bs24-central-live .bs24-extra-label{
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
  min-width:0!important;
}


/* 0.9.24 / OrderLite 160.169 – FINALER EINSPALTEN-HARD-RESET */
html body .bs24-product-popup-body .bs24-extra-group.bs24-central-live,
html body .bs24-product-popup .bs24-extra-group.bs24-central-live,
html body .bs24-extra-group.bs24-central-live{
  display:block!important;
  grid-template-columns:none!important;
  column-count:1!important;
  columns:auto!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
html body .bs24-extra-group.bs24-central-live > .bs24-extra-options-grid,
html body .bs24-extra-group.bs24-central-live > .bs24-extra-options-grid[data-central-columns="1"],
html body .bs24-extra-group.bs24-central-live > .bs24-extra-options-grid[data-central-columns="2"]{
  display:block!important;
  grid-template-columns:none!important;
  column-count:1!important;
  columns:auto!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
}
html body .bs24-extra-group.bs24-central-live > .bs24-extra-options-grid > .bs24-extra-row{
  display:grid!important;
  grid-template-columns:22px minmax(0,1fr) auto!important;
  grid-column:auto!important;
  gap:10px!important;
  align-items:center!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  box-sizing:border-box!important;
}
html body .bs24-extra-group.bs24-central-live .bs24-extra-label{
  display:block!important;
  grid-column:2!important;
  width:auto!important;
  min-width:0!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
}
html body .bs24-extra-group.bs24-central-live .bs24-extra-price{
  grid-column:3!important;
  width:auto!important;
  white-space:nowrap!important;
  justify-self:end!important;
}

/* v0.9.9.160.172 – EXTRAS FINAL: Haken | Name links | Preis rechts
   1 oder 2 Spalten, je nach Einstellung der Gruppe (data-columns).
   :not(#bs24-x) hebt die Regeln bewusst über alle älteren Spalten-/Reihenregeln. */
html body .bs24-extra-group:not(#bs24-x){
  display:block!important;grid-template-columns:none!important;column-count:auto!important;columns:auto!important;
  width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;
}
html body .bs24-extra-group:not(#bs24-x) > .bs24-extra-options-grid{
  display:block!important;grid-template-columns:none!important;column-count:auto!important;columns:auto!important;
  width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;box-sizing:border-box!important;
}
html body .bs24-extra-group:not(#bs24-x) > .bs24-extra-options-grid[data-columns="2"]{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-flow:row!important;
  column-gap:22px!important;row-gap:0!important;align-items:stretch!important;
}
html body .bs24-extra-group:not(#bs24-x) > .bs24-extra-options-grid > .bs24-extra-row{
  display:grid!important;grid-template-columns:20px minmax(0,1fr) auto!important;grid-template-rows:auto!important;
  grid-column:auto!important;column-gap:10px!important;row-gap:4px!important;align-items:center!important;justify-items:stretch!important;
  flex-direction:row!important;direction:ltr!important;text-align:left!important;
  width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:9px 0!important;
  border:0!important;border-bottom:1px solid #eef0f3!important;box-sizing:border-box!important;cursor:pointer!important;
}
html body .bs24-extra-group:not(#bs24-x) > .bs24-extra-options-grid > .bs24-extra-row > .bs24-extra-check{
  grid-column:1!important;grid-row:1!important;justify-self:start!important;align-self:center!important;order:0!important;
  position:static!important;float:none!important;width:18px!important;height:18px!important;min-width:18px!important;margin:0!important;
}
html body .bs24-extra-group:not(#bs24-x) > .bs24-extra-options-grid > .bs24-extra-row > .bs24-extra-label{
  grid-column:2!important;grid-row:1!important;justify-self:stretch!important;order:0!important;
  display:block!important;position:static!important;float:none!important;width:auto!important;max-width:none!important;min-width:0!important;
  margin:0!important;padding:0!important;text-align:left!important;white-space:normal!important;
  overflow-wrap:break-word!important;word-break:normal!important;hyphens:auto!important;line-height:1.3!important;
}
html body .bs24-extra-group:not(#bs24-x) > .bs24-extra-options-grid > .bs24-extra-row > .bs24-extra-price{
  grid-column:3!important;grid-row:1!important;justify-self:end!important;order:0!important;
  position:static!important;float:none!important;width:auto!important;min-width:0!important;max-width:none!important;
  margin:0!important;padding:0!important;text-align:right!important;white-space:nowrap!important;
}
html body .bs24-extra-group:not(#bs24-x) > .bs24-extra-options-grid > .bs24-extra-row > .bs24-extra-qty{
  grid-column:2 / -1!important;grid-row:2!important;justify-self:end!important;margin:0!important;padding:0!important;
}
html body .bs24-extra-group:not(#bs24-x) > .bs24-extra-options-grid > .bs24-extra-row > .bs24-extra-qty[hidden]{display:none!important}
/* Hinweistext: eigene Zeile über die volle Breite, ohne Haken und Preis */
html body .bs24-extra-group:not(#bs24-x) > .bs24-extra-options-grid > .bs24-extra-divider{
  display:block!important;grid-column:1 / -1!important;width:100%!important;max-width:100%!important;
  margin:10px 0 0!important;padding:10px 0 4px!important;border:0!important;border-top:1px solid #e5e7eb!important;
  background:transparent!important;color:#111827!important;font-size:13px!important;font-weight:800!important;line-height:1.35!important;
  text-align:left!important;white-space:normal!important;overflow-wrap:break-word!important;
}
html body .bs24-extra-group:not(#bs24-x) > .bs24-extra-options-grid > .bs24-extra-divider:first-child{
  margin-top:0!important;padding-top:4px!important;border-top:0!important;
}
/* Sehr schmale Handys: automatisch 1 Spalte, damit nichts gequetscht wird */
html body .bs24-extra-group:not(#bs24-x) > .bs24-extra-options-grid[data-columns="2"]{column-gap:16px!important}
html body .bs24-extra-group:not(#bs24-x) > .bs24-extra-options-grid[data-columns="2"] > .bs24-extra-row{grid-template-columns:18px minmax(0,1fr) auto!important;column-gap:7px!important}
@media (max-width:359px){
  html body .bs24-extra-group:not(#bs24-x) > .bs24-extra-options-grid[data-columns="2"]{display:block!important;grid-template-columns:none!important}
}
