/* =============================================================================
   bb-kasse.css — Kasse-Design 2026-10-29 (Owner: „state of the art, Vorbild parfumdreams“)
   Laedt NUR auf /Warenkorb (PAGE_WARENKORB, body[data-page="3"]) und /Bestellvorgang
   (PAGE_BESTELLVORGANG, body.is-checkout) — Einbindung in layout/header.tpl direkt NACH
   bb-blocking.min.css (blockierend, eigene Datei, filemtime-Cachebuster). Grund: das Buendel
   ist global; die Kasse braucht ~48 KB roh (~9 KB gzip), die keine andere Seite braucht, und ein eigenes Blatt
   ist mit EINER Zeile zurueckzurollen, ohne das Buendel neu zu bauen.
   Kaskade: gleiche Selektor-Praefixe wie bb-rasta.css Kap. 9 / N193 (2), spaeter geladen ->
   gewinnt bei gleicher Spezifitaet. Nur Rasta-Tokens (--bb-*), Textgruen #15803d (AA),
   Ziele >= 44 px, kein Dunkelmodus, keine Fonts/Ressourcen von aussen.
   Raster: grauer Seitengrund (--bb-bg-2), weisse Karten, links Inhalt, rechts klebende
   Uebersichtskarte (ab 992 px); mobil eine Spalte, Warenkorb als aufklappbare Leiste oben.
   Markup: checkout/inc_steps.tpl (Schrittleiste + .bb-korb), checkout/step5_confirmation.tpl
   (Rechtssatz neben dem Knopf, Gewaehrleistungskarte, Zahlart-Knoepfe .bb-za), sonst Core.
   Rollback: Link in header.tpl entfernen (bzw. Datei loeschen) + templates_c/Sweet leeren.
   ========================================================================== */

/* ---------- 0. Grund + Tokens ---------- */
body.is-checkout,
body[data-page="3"] {
  --k-card: var(--bb-surface);
  --k-line: var(--bb-line);
  --k-line-soft: var(--bb-line-2);
  --k-feld: rgba(23, 21, 14, .24);
  --k-text-2: var(--bb-ink-2);
  --k-gruen-text: #15803d;
  --k-cta: var(--bb-g-action);
  --k-r: 16px;
  --k-r-sm: 10px;
  --k-schatten: 0 1px 2px rgba(23, 21, 14, .04), 0 10px 28px -20px rgba(23, 21, 14, .28);
  background: var(--bb-bg-2);
}
body.is-checkout #main-wrapper,
body.is-checkout #content-wrapper,
body.is-checkout #result-wrapper,
body[data-page="3"] #main-wrapper,
body[data-page="3"] #content-wrapper,
body[data-page="3"] #content { background: transparent; }

/* Karten-Grundform (Kasse) */
body.is-checkout #checkout .card,
body.is-checkout #checkout #customer,
body.is-checkout #checkout .checkout-shipping-form fieldset {
  background: var(--k-card);
  border: 1px solid var(--k-line);
  border-radius: var(--k-r);
  box-shadow: var(--k-schatten);
}
body.is-checkout #checkout .card-header,
body.is-checkout #checkout .cardheader {
  background: transparent;
  border-bottom: 1px solid var(--k-line-soft);
  padding: 16px 22px;
}
body.is-checkout #checkout .card-body,
body.is-checkout #checkout .cardbody { padding: 20px 22px 22px; }
body.is-checkout #checkout .checkout-confirmation-heading,
body.is-checkout #checkout .card-header {
  font-family: var(--bb-font-body); font-size: 19px; font-weight: 700; line-height: 1.25;
  letter-spacing: -.005em; text-transform: none; color: var(--bb-ink); margin: 0;
}
body.is-checkout #checkout { max-width: 1180px; padding-top: 4px; padding-bottom: 64px; }
body.is-checkout #checkout h1,
body.is-checkout #checkout .h1 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; margin: 0 0 18px; }

/* ---------- 1. Schrittleiste (nav.checkout-steps.bb-steps, eigenes Markup) ---------- */
body.is-checkout #checkout nav.checkout-steps.bb-steps {
  display: block; margin: 10px auto 30px; padding: 0; border: 0; background: none; overflow: visible;
  max-width: 520px;
}
body.is-checkout #checkout nav.checkout-steps.bb-steps--3 { max-width: 680px; }
.bb-steps__liste {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column;
}
body.is-checkout #checkout .checkout-steps .bb-step { position: relative; text-align: center; min-width: 0; padding: 0; }
/* gestrichelter Verbinder vom vorigen Punkt zu diesem, mit Luft um die Punkte */
body.is-checkout #checkout .checkout-steps .bb-step + .bb-step::before {
  content: ""; position: absolute; top: 15px; left: calc(-50% + 26px); right: calc(50% + 26px);
  border-top: 2px dashed rgba(23, 21, 14, .22); height: 0;
}
body.is-checkout #checkout .checkout-steps .bb-step.is-current::before,
body.is-checkout #checkout .checkout-steps .bb-step.is-done::before { border-top-style: solid; border-top-color: var(--k-gruen-text); }
.bb-step__ziel {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 4px; color: inherit; text-decoration: none;
}
a.bb-step__ziel:hover .bb-step__text { text-decoration: underline; text-underline-offset: 3px; }
a.bb-step__ziel:focus-visible { outline: 2px solid var(--k-gruen-text); outline-offset: 3px; border-radius: 8px; }
.bb-step__punkt {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 32px; height: 32px; border-radius: 50%;
  font-family: var(--bb-font-body); font-weight: 700; font-size: 14px; line-height: 1;
  background: var(--k-card); color: var(--k-text-2); border: 2px solid rgba(23, 21, 14, .28);
}
.bb-step__punkt svg { width: 14px; height: 14px; display: block; }
.bb-step.is-current .bb-step__punkt { background: var(--k-cta); border-color: var(--k-cta); color: #fff; box-shadow: 0 0 0 4px rgba(20, 122, 59, .14); }
.bb-step.is-done .bb-step__punkt { background: var(--k-card); border-color: var(--k-gruen-text); color: var(--k-gruen-text); }
body.is-checkout #checkout .checkout-steps .bb-step .step-text {
  display: block; margin: 0; font-family: var(--bb-font-body); font-size: 13.5px; font-weight: 500;
  line-height: 1.3; color: var(--k-text-2); letter-spacing: 0;
}
body.is-checkout #checkout .checkout-steps .bb-step.is-current .step-text { color: var(--bb-ink); font-weight: 700; }
.bb-step__kurz { display: none; }
@media (max-width: 575.98px) {
  body.is-checkout #checkout nav.checkout-steps.bb-steps { margin: 4px auto 18px; }
  .bb-step__lang { display: none; }
  .bb-step__kurz { display: inline; }
  body.is-checkout #checkout .checkout-steps .bb-step .step-text { font-size: 12.5px; }
  .bb-step__punkt { width: 28px; height: 28px; font-size: 13px; }
  body.is-checkout #checkout .checkout-steps .bb-step + .bb-step::before { top: 13px; left: calc(-50% + 22px); right: calc(50% + 22px); }
}

/* ---------- 2. Zwei-Spalten-Raster (Schritt 1 + Fallback Schritt 2: #checkout traegt .bb-korb) ---------- */
@media (min-width: 992px) {
  body.is-checkout #checkout:has(> .bb-korb) {
    display: grid; grid-template-columns: minmax(0, 1fr) 372px; column-gap: 28px; align-items: start;
  }
  body.is-checkout #checkout:has(> .bb-korb) > * { grid-column: 1; min-width: 0; }
  body.is-checkout #checkout:has(> .bb-korb) > nav.checkout-steps { grid-column: 1 / -1; }
  body.is-checkout #checkout:has(> .bb-korb) > .bb-korb {
    grid-column: 2; grid-row: 2 / span 12; position: sticky; top: 96px; margin: 0; /* Kassen-Kopf klebt, 79 px */
  }
}

/* ---------- 3. Warenkorb-Karte .bb-korb (rechts; mobil aufklappbare Leiste) ---------- */
body.is-checkout #checkout .bb-korb {
  margin: 0 0 16px; background: var(--k-card); border: 1px solid var(--k-line);
  border-radius: var(--k-r); box-shadow: var(--k-schatten); position: relative;
}
.bb-korb > summary.bb-korb__kopf {
  display: flex; align-items: center; gap: 4px 12px; flex-wrap: wrap;
  min-height: 56px; padding: 12px 48px 12px 18px; cursor: pointer; list-style: none; position: relative;
}
.bb-korb > summary.bb-korb__kopf::-webkit-details-marker { display: none; }
.bb-korb > summary.bb-korb__kopf::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--bb-ink); border-bottom: 2px solid var(--bb-ink); transform: rotate(45deg); transition: transform .2s;
}
.bb-korb[open] > summary.bb-korb__kopf::after { transform: rotate(-135deg); margin-top: -2px; }
.bb-korb > summary.bb-korb__kopf:focus-visible { outline: 2px solid var(--k-gruen-text); outline-offset: 2px; border-radius: var(--k-r); }
.bb-korb__titel { font-family: var(--bb-font-body); font-weight: 700; font-size: 17px; color: var(--bb-ink); }
.bb-korb__anzahl { font-weight: 500; color: var(--k-text-2); }
.bb-korb__kurz { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--bb-ink); }
.bb-korb__inhalt { padding: 0 18px 16px; border-top: 1px solid var(--k-line-soft); }
.bb-korb__liste { list-style: none; margin: 0; padding: 0; }
.bb-korb__pos {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 0 12px; align-items: start;
  padding: 14px 0; border-bottom: 1px solid var(--k-line-soft);
}
.bb-korb__bild {
  width: 56px; height: 56px; border-radius: var(--k-r-sm); background: var(--k-card);
  border: 1px solid var(--k-line-soft); display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.bb-korb__bild img, .bb-korb__bild picture { max-width: 52px; max-height: 52px; width: auto; height: auto; object-fit: contain; display: block; }
.bb-korb__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bb-korb__marke { font-size: 12.5px; font-weight: 600; color: var(--k-text-2); letter-spacing: .01em; }
.bb-korb__name { font-size: 14.5px; font-weight: 600; line-height: 1.3; color: var(--bb-ink); overflow-wrap: anywhere; }
.bb-korb__menge { font-size: 13px; color: var(--k-text-2); }
.bb-korb__preis { font-weight: 700; font-size: 14.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bb-korb__summen { margin: 12px 0 0; }
.bb-korb__zeile { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; font-size: 15px; }
.bb-korb__zeile dt { font-weight: 500; margin: 0; }
.bb-korb__zeile dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.bb-korb__hinweis { margin: 2px 0 0; font-size: 12.5px; color: var(--k-text-2); }
.bb-korb .freeship-message-body { margin: 12px 0 0; padding: 10px 12px; background: var(--bb-bg-2); border-radius: var(--k-r-sm); font-size: 13px; }
.bb-korb .freeship-message-body a { color: inherit; text-decoration: none; }
.bb-korb .freeship-message-body .progress { height: 6px; margin-top: 8px; background: rgba(23, 21, 14, .10); border-radius: 999px; }
.bb-korb .freeship-message-body .progress-bar { background: var(--k-cta); border-radius: 999px; }
.bb-korb__aendern {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px;
  color: var(--k-gruen-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
}
.bb-korb__aendern:hover { color: var(--bb-ink); }
@media (min-width: 992px) {
  /* Desktop: immer offen (inc_steps.tpl setzt [open] vor dem ersten Paint), Kopf ist nur Ueberschrift */
  .bb-korb > summary.bb-korb__kopf { cursor: default; padding: 18px 96px 14px 20px; min-height: 0; }
  .bb-korb > summary.bb-korb__kopf::after,
  .bb-korb__kurz { display: none; }
  .bb-korb__titel { font-size: 19px; }
  .bb-korb__inhalt { padding: 0 20px 18px; }
  .bb-korb__aendern { position: absolute; top: 8px; right: 20px; margin: 0; }
}

/* ---------- 4. Schritt 1: Anmelden / Gast ---------- */
body.is-checkout #checkout #register-customer { display: flex; flex-direction: column; gap: 16px; margin: 0; }
body.is-checkout #checkout #register-customer > .col { flex: none; width: 100%; max-width: 100%; padding: 0; }
body.is-checkout #checkout #existing-customer .card { margin: 0 !important; }
body.is-checkout #checkout #existing-customer .card-header { font-size: 17px; }
@media (min-width: 768px) {
  body.is-checkout #checkout #order_register_or_login fieldset {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 14px;
  }
  body.is-checkout #checkout #order_register_or_login fieldset > .customer-login-buttons { grid-column: 1 / -1; margin-bottom: 0; }
}
body.is-checkout #checkout .customer-login-buttons .form-row { align-items: center; row-gap: 8px; }
/* Anmelden = Nebenweg: dunkel statt Gruen, damit „Kundendaten abschicken“ der eine kraeftige CTA bleibt */
body.is-checkout #checkout .customer-login-buttons .btn-primary { min-height: 48px; padding: 12px 22px; background: var(--bb-ink); box-shadow: none; font-size: 14px; }
body.is-checkout #checkout .customer-login-buttons .btn-primary:hover { background: var(--k-cta); }
body.is-checkout #checkout #register-customer > #customer.col { padding: 24px 26px 26px; }
@media (max-width: 575.98px) { body.is-checkout #checkout #register-customer > #customer.col { padding: 20px 16px 22px; } }
body.is-checkout #checkout #customer h1.checkout-step-title { font-size: 22px; margin: 0 0 6px; }
body.is-checkout #checkout #customer .required-info { font-size: 13px; color: var(--k-text-2); margin: 4px 0 6px; }
body.is-checkout #checkout #customer .h3,
body.is-checkout #checkout .checkout-shipping-form .h2 {
  font-family: var(--bb-font-body); font-size: 16px; font-weight: 700; text-transform: none; letter-spacing: 0;
  margin: 18px 0 10px; padding: 0; color: var(--bb-ink);
}
/* Feldbloecke buendig unter die Ueberschriften (Core rueckt col-md-11 ein) */
body.is-checkout #checkout #customer .row.justify-content-center,
body.is-checkout #checkout #customer .register-form-account.row { margin-left: 0; margin-right: 0; }
body.is-checkout #checkout #customer .row.justify-content-center > .col,
body.is-checkout #checkout #customer .register-form-account > .col,
body.is-checkout #checkout #customer .inc-shipping-address > .col { flex: 0 0 100%; max-width: 100%; padding-left: 0; padding-right: 0; }
body.is-checkout #checkout #customer .form-row { margin-left: -6px; margin-right: -6px; }
body.is-checkout #checkout #customer .form-row > .col { padding-left: 6px; padding-right: 6px; }
body.is-checkout #checkout #customer .inc-shipping-address { margin-left: 0; margin-right: 0; }
body.is-checkout #checkout #customer .register-form-account-unreg-wrapper,
body.is-checkout #checkout #customer .register-form-shipping-address-wrapper { padding-top: 4px; }
body.is-checkout #checkout #customer .custom-control { display: flex; align-items: center; min-height: 44px; }
body.is-checkout #checkout #customer .custom-control-label { font-size: 15px; }
body.is-checkout #checkout #customer .checkout-button-row { margin: 14px 0 0; }
body.is-checkout #checkout #customer .checkout-button-row > .col { flex: 0 0 100%; max-width: 100%; padding: 0; }
body.is-checkout #checkout #customer .checkout-register-form-buttons-privacy { text-align: left; font-size: 13px; margin-bottom: 10px; }
body.is-checkout #checkout #customer .checkout-register-form-buttons-privacy a {
  display: inline-flex; align-items: center; min-height: 44px; color: var(--k-gruen-text); text-decoration: underline; text-underline-offset: 3px;
}

/* Felder: weiss, ruhige Linie, gruener Fokus (Label-Slide bleibt Core) */
body.is-checkout #checkout .form-control,
body.is-checkout #checkout .custom-select {
  min-height: 52px; background-color: var(--k-card); border: 1.5px solid var(--k-feld); border-radius: var(--k-r-sm);
  font-size: 16px; padding: 13px 14px;
}
body.is-checkout #checkout .custom-select { padding-right: 40px; }
body.is-checkout #checkout textarea.form-control { min-height: 92px; }
body.is-checkout #checkout .form-control:focus,
body.is-checkout #checkout .custom-select:focus {
  background-color: var(--k-card); border-color: var(--k-gruen-text);
  box-shadow: 0 0 0 3px rgba(21, 128, 61, .18);
}
body.is-checkout #checkout .form-group { margin-bottom: 14px; }
body.is-checkout #checkout input:-webkit-autofill,
body.is-checkout #checkout input:-webkit-autofill:hover,
body.is-checkout #checkout input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 100px #fffdf3 inset; box-shadow: 0 0 0 100px #fffdf3 inset;
}
body.is-checkout #checkout .twitter-typeahead .tt-hint { background-color: var(--k-card) !important; }
body.is-checkout #checkout .label-slide .col-form-label,
body.is-checkout #checkout .label-slide label.col-form-label { background: var(--k-card); color: var(--k-text-2); }

/* Knoepfe der Kasse: EIN kraeftiger CTA (gruen), Rest ruhig */
body.is-checkout #checkout .btn-primary,
body[data-page="3"] #result-wrapper #cart-checkout-btn {
  background: var(--k-cta); color: #fff; border: 0; border-radius: 999px;
  font-family: var(--bb-font-mono); font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase;
  min-height: 56px; padding: 15px 26px; box-shadow: 0 6px 16px -8px rgba(20, 122, 59, .55);
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
body.is-checkout #checkout .btn-primary:hover,
body[data-page="3"] #result-wrapper #cart-checkout-btn:hover {
  background: var(--bb-ink); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(23, 21, 14, .5);
}
body.is-checkout #checkout .btn-primary:focus-visible,
body[data-page="3"] #result-wrapper #cart-checkout-btn:focus-visible { outline: 3px solid var(--bb-y); outline-offset: 2px; }
body.is-checkout #checkout .btn-outline-primary,
body.is-checkout #checkout .btn-secondary {
  background: transparent; border: 0; color: var(--bb-ink); min-height: 44px; padding: 10px 12px;
  font-family: var(--bb-font-body); font-weight: 600; font-size: 15px; letter-spacing: 0; text-transform: none;
  text-decoration: underline; text-underline-offset: 3px; border-radius: var(--k-r-sm);
}
body.is-checkout #checkout .btn-outline-primary:hover { background: rgba(23, 21, 14, .05); color: var(--bb-ink); }
/* „Aendern“-Links in Kartenkoepfen: Text statt Mono-Unterstrich, 44 px Ziel */
body.is-checkout #checkout .card-header .btn-link,
body.is-checkout #checkout .checkout-shipping-form-change .btn-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px; margin: -8px -4px;
  border: 0; font-family: var(--bb-font-body); font-weight: 600; font-size: 14.5px; letter-spacing: 0; text-transform: none;
  color: var(--k-gruen-text); text-decoration: underline; text-underline-offset: 3px;
}
body.is-checkout #checkout .card-header .btn-link { background: transparent; }
body.is-checkout #checkout .card-header .btn-link .checkout-confirmation-change { display: inline !important; }
body.is-checkout #checkout .card-header .btn-link .fa,
body.is-checkout #checkout .card-header .btn-link .fas { display: none; }
body.is-checkout #checkout .card-header .checkout-confirmation-change { text-transform: none; }
body.is-checkout #checkout .btn-link.customer-login-buttons-forgot {
  display: inline-flex; align-items: center; min-height: 44px; border: 0; padding: 0;
  font-family: var(--bb-font-body); font-weight: 600; letter-spacing: 0; text-transform: none; font-size: 14.5px;
  color: var(--k-gruen-text); text-decoration: underline; text-underline-offset: 3px;
}

/* ---------- 5. Fallback Schritt 2 (Versand-/Zahlungsart, Core-Formular) ---------- */
body.is-checkout #checkout .checkout-shipping-form > .row.checkout-steps { display: flex; flex-direction: column; gap: 16px; margin: 0; }
body.is-checkout #checkout .checkout-shipping-form > .row.checkout-steps > .col { flex: none; max-width: 100%; width: 100%; padding: 0; }
body.is-checkout #checkout .checkout-shipping-form fieldset { padding: 18px 22px 20px; margin: 0; }
body.is-checkout #checkout .checkout-shipping-form .h2 { margin-top: 0; font-size: 19px; }
body.is-checkout #checkout .checkout-shipping-form fieldset hr { display: none; }
body.is-checkout #checkout .checkout-shipping-form .checkout-shipping-form-change { background: var(--bb-bg-2); border-radius: var(--k-r-sm); padding: 6px 12px; font-size: 14px; margin-bottom: 12px; }
body.is-checkout #checkout .checkout-shipping-form .checkout-shipping-form-options,
body.is-checkout #checkout .checkout-shipping-form .checkout-payment-options { border: 0; padding: 0; margin: 0; }
body.is-checkout #checkout .checkout-shipping-form .checkout-payment-method { margin-bottom: 8px; padding: 0; }
body.is-checkout #checkout .checkout-shipping-form .custom-radio {
  display: flex; align-items: center; width: 100%; min-height: 56px; margin: 0 0 8px; padding: 10px 14px 10px 44px;
  border: 1px solid var(--k-feld); border-radius: 12px; background: var(--k-card);
}
body.is-checkout #checkout .checkout-shipping-form .custom-radio:has(input:checked) { border-color: var(--k-gruen-text); box-shadow: 0 0 0 1px var(--k-gruen-text) inset; }
body.is-checkout #checkout .checkout-shipping-form .custom-radio .custom-control-label { width: 100%; }
body.is-checkout #checkout .checkout-shipping-form .checkout-payment-method img { max-height: 32px; width: auto; }
body.is-checkout #checkout .checkout-shipping-form .checkout-button-row { margin: 4px 0 0; }
body.is-checkout #checkout .checkout-shipping-form .checkout-button-row > .col { padding: 0; }
@media (min-width: 768px) {
  body.is-checkout #checkout .checkout-shipping-form .checkout-button-row > .col.order-md-2 { padding-left: 8px; }
}

/* ---------- 6. Zusammenfassung „Pruefen & bezahlen“ (#order-confirm) ----------
   Raster ohne Template-Kopie: .row-eq-height und form#complete_order werden per display:contents
   aufgeloest; ihre Karten sind Rasterzellen. Links Adresse/Versand+Zahlung/Kommentar/Gewaehrleistung,
   rechts (klebend) Positionen + Summen + Rechtssatz + CTA. Das Formular bleibt im DOM unveraendert
   (Absenden, Hidden-Felder, Validierung), nur seine Box entfaellt. */
body.is-checkout #checkout #order-confirm { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 0; }
body.is-checkout #checkout #order-confirm > .row,
body.is-checkout #checkout #order-confirm > form#complete_order { display: contents; }
body.is-checkout #checkout #order-confirm > .row > .col {
  flex: none; width: auto; max-width: none; padding: 0; margin: 0 0 16px; min-width: 0;
}
body.is-checkout #checkout #order-confirm > .row > .col > .card { height: auto; margin: 0; }
body.is-checkout #checkout #order-confirm > form#complete_order > .row { margin: 0 0 16px; min-width: 0; }
body.is-checkout #checkout #order-confirm > form#complete_order > .row > .order-submit { flex: none; max-width: 100%; width: 100%; padding: 0; }
@media (min-width: 992px) {
  body.is-checkout #checkout #order-confirm { grid-template-columns: minmax(0, 1fr) 400px; column-gap: 28px; align-items: start; }
  body.is-checkout #checkout #order-confirm > * { grid-column: 1; }
  body.is-checkout #checkout #order-confirm > h1,
  body.is-checkout #checkout #order-confirm > .alert { grid-column: 1 / -1; }
  body.is-checkout #checkout #order-confirm > .row > .col,
  body.is-checkout #checkout #order-confirm > form#complete_order > * { grid-column: 1; }
  body.is-checkout #checkout #order-confirm > form#complete_order > .row {
    grid-column: 2; grid-row: 2 / span 14; position: sticky; top: 96px;
  }
}

/* 6.1 Adresse */
body.is-checkout #checkout .checkout-confirmation-billing-address .card-header .row { flex-wrap: nowrap; }
body.is-checkout #checkout .checkout-confirmation-billing-address .card-body .row > .col { margin-bottom: 4px; }
body.is-checkout #checkout #order-confirm .title { font-size: 13px; font-weight: 700; color: var(--k-text-2); letter-spacing: .01em; }
body.is-checkout #checkout #order-confirm .inc-billing-address,
body.is-checkout #checkout #order-confirm .inc-delivery-address { font-size: 15px; line-height: 1.5; margin: 6px 0 0; }
@media (max-width: 767.98px) {
  body.is-checkout #checkout #order-confirm .inc-billing-address,
  body.is-checkout #checkout #order-confirm .inc-delivery-address { font-size: 14.5px; line-height: 1.45; margin-bottom: 10px; }
}
body.is-checkout #checkout #order-confirm #billing-address p,
body.is-checkout #checkout #order-confirm #shipping-method p { margin-bottom: 0; }

/* 6.2 Versand + Zahlart-Knoepfe (N193 (3); vorher Inline-<style> in step5_confirmation.tpl) */
.bb-za-versand {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 10px; align-items: baseline;
  padding: 12px 14px; background: var(--bb-bg-2); border-radius: 12px;
}
.bb-za-versand > p:first-child { grid-row: 1 / span 2; }
.bb-za-versand .title { font-size: 13px; }
.bb-za-versand p { margin: 0 !important; font-size: 15px; }
.bb-za-versand .small { font-size: 13px !important; color: var(--k-text-2) !important; }
.bb-za-wahl { margin: 16px 0 0; padding: 0; border: 0; }
.bb-za-wahl legend { font-size: 13px; font-weight: 700; color: var(--k-text-2); margin: 0 0 8px; padding: 0; border: 0; width: auto; letter-spacing: .01em; }
/* N224 M1 (13.11.): keine Vorauswahl — Hinweis, wenn ohne gewaehlte Zahlart bestellt wird */
.bb-za__pflicht { margin: 0 0 8px; padding: 10px 12px; border-radius: var(--k-r-sm); background: #fdecec; color: #9b1c1c; font-size: 15px; font-weight: 600; line-height: 1.35; }
.bb-za__pflicht[hidden] { display: none; }
.bb-za-wahl--pflicht .bb-za__opt[aria-pressed=false] { border-color: #b42318; }
/* N224 M11 R2 (14.11.): Rueckkehr nach Zahlungsabbruch — Meldung sitzt in der Zahlartwahl, gescheiterte Zahlart gestrichelt markiert */
.bb-za-wahl .alert { margin: 0 0 10px; }
.bb-za-wahl .bb-za__opt.bb-za__opt--fehl { border-style: dashed; border-color: #b42318; }   /* Spezifitaet > .bb-za__opt (steht weiter unten) */
.bb-za-wahl .bb-za__opt--fehl .bb-za__name { color: var(--k-text-2); }
.bb-za__liste { display: flex; flex-direction: column; gap: 8px; }
.bb-za__form { margin: 0; }
.bb-za__opt {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; margin: 0; padding: 10px 14px;
  border: 1px solid var(--k-feld); border-radius: 12px; background: var(--k-card); color: inherit;
  text-align: left; font: inherit; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.bb-za__opt:hover { border-color: rgba(23, 21, 14, .5); }
.bb-za__opt:focus-visible { outline: 2px solid var(--k-gruen-text); outline-offset: 2px; }
.bb-za__opt[aria-pressed=true] { border-color: var(--k-gruen-text); box-shadow: 0 0 0 1px var(--k-gruen-text) inset; background: #f6fbf7; }
.bb-za__haken { flex: none; width: 22px; height: 22px; border: 2px solid rgba(23, 21, 14, .35); border-radius: 50%; position: relative; background: var(--k-card); }
.bb-za__opt[aria-pressed=true] .bb-za__haken { border-color: var(--k-gruen-text); background: var(--k-gruen-text); }
.bb-za__opt[aria-pressed=true] .bb-za__haken::after {
  content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.bb-za__logo { flex: none; display: flex; align-items: center; justify-content: center; width: 64px; height: 32px; overflow: hidden; color: var(--k-text-2); font-size: 20px; }
.bb-za__logo img { max-width: 64px; max-height: 32px; width: auto; height: auto; object-fit: contain; }
.bb-za__text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.bb-za__name { font-weight: 700; font-size: 15px; }
.bb-za__hinweis { color: var(--k-text-2); font-size: 13px; }
.bb-za__preis { flex: none; font-weight: 700; white-space: nowrap; }
@media (max-width: 575.98px) {
  .bb-za__logo { width: 48px; }
  .bb-za__logo img { max-width: 48px; }
  .bb-za__opt { gap: 10px; padding: 10px 12px; }
}

/* 6.3 Kommentar / Gutschein / Guthaben */
body.is-checkout #checkout #panel-edit-comment.min-h-card,
body.is-checkout #checkout #panel-edit-coupon.min-h-card { min-height: 0; }
body.is-checkout #checkout #comment { min-height: 84px; resize: vertical; }

/* 6.4 Gewaehrleistung (EU-Pflichtinformation): eigene Karte, volle Lesegroesse, Link zur Vollansicht */
body.is-checkout #checkout .bb-gewaehr { margin: 0 0 16px; }
body.is-checkout #checkout .bb-gewaehr .card-body { padding: 16px; }
.bb-gewaehr .warranty-label-checkout { margin: 0; }
.bb-gewaehr__bild { display: block; max-width: 665px; margin: 0 auto; border-radius: var(--k-r-sm); overflow: hidden; }
.bb-gewaehr__bild img { display: block; width: 100%; height: auto; }
.bb-gewaehr__voll {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-size: 14px;
  color: var(--k-gruen-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
}

/* 6.5 Rechte Karte: Positionen + Summen + Rechtssatz + CTA (alles in #panel-submit-order, im Formular) */
body.is-checkout #checkout #panel-submit-order {
  background: var(--k-card); border: 1px solid var(--k-line); border-radius: var(--k-r); box-shadow: var(--k-schatten);
  padding: 0 0 18px;
}
body.is-checkout #checkout .checkout-confirmation-items .card-products { border: 0; box-shadow: none; border-radius: var(--k-r) var(--k-r) 0 0; background: transparent; margin: 0; }
body.is-checkout #checkout .card-products > .card-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px 12px; }
body.is-checkout #checkout .card-products > .card-body { padding: 0 20px; margin: 0 !important; }
body.is-checkout #checkout .card-products > .card-header { margin: 0 !important; }
body.is-checkout #checkout .card-products .checkout-items-header,
body.is-checkout #checkout .card-products .checkout-items-header-hr,
body.is-checkout #checkout .card-products .checkout-items-item > .col-12,
body.is-checkout #checkout .card-products .checkout-items-item-vat { display: none !important; }
body.is-checkout #checkout .card-products .checkout-items-item {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 2px 12px; margin: 0;
  padding: 14px 0; border-bottom: 1px solid var(--k-line-soft); align-items: start;
}
body.is-checkout #checkout .card-products .checkout-items-item > .col {
  flex: none; width: auto; max-width: none; padding: 0; margin: 0; grid-column: 2; text-align: left; font-size: 13px; color: var(--k-text-2);
}
body.is-checkout #checkout .card-products .checkout-items-item > .checkout-items-item-image-wrapper {
  grid-column: 1; grid-row: 1 / span 4; width: 56px; height: 56px; border: 1px solid var(--k-line-soft);
  border-radius: var(--k-r-sm); display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--k-card);
}
body.is-checkout #checkout .card-products .checkout-items-item-image-wrapper img { max-width: 52px; max-height: 52px; width: auto; height: auto; object-fit: contain; }
body.is-checkout #checkout .card-products .checkout-items-item > .checkout-items-item-main { grid-row: 1; color: var(--bb-ink); font-size: 14.5px; }
body.is-checkout #checkout .card-products .checkout-items-item > .price-col {
  grid-column: 3; grid-row: 1; text-align: right; font-size: 14.5px; font-weight: 700; color: var(--bb-ink);
  font-family: var(--bb-font-body); font-variant-numeric: tabular-nums;
}
body.is-checkout #checkout .card-products .cart-items-name { font-weight: 600; line-height: 1.3; color: var(--bb-ink); text-decoration: none; overflow-wrap: anywhere; }
body.is-checkout #checkout .card-products .checkout-items-item-main ul { margin-top: 3px !important; font-size: 12.5px; color: var(--k-text-2); line-height: 1.45; }
body.is-checkout #checkout .card-products .checkout-items-item .text-nowrap-util { white-space: nowrap; }
body.is-checkout #checkout .card-products .checkout-items-item-price-single,
body.is-checkout #checkout .card-products .checkout-items-item-quantity { display: inline-block; }
/* Menge + Stueckpreis als eine leise Zeile: „Anzahl: 2 · Stückpreis: 2,00 €“ */
body.is-checkout #checkout .card-products .checkout-items-item > .checkout-items-item-quantity { grid-row: 2; }
body.is-checkout #checkout .card-products .checkout-items-item > .checkout-items-item-price-single { grid-row: 3; }
body.is-checkout #checkout .card-products .checkout-items-item > .checkout-items-item-quantity,
body.is-checkout #checkout .card-products .checkout-items-item > .checkout-items-item-price-single { text-align: left !important; line-height: 1.45; margin: 0; }
body.is-checkout #checkout .card-products .checkout-items-item .checkout-items-item-title { display: inline !important; margin-right: 3px; }
/* Positionen ohne Bild (Versand, Zahlungsgebuehr, Gutschein …): eine Summenzeile */
body.is-checkout #checkout .card-products .checkout-items-item:not(.type-1):not(.type-3) { grid-template-columns: minmax(0, 1fr) auto; padding: 10px 0; }
body.is-checkout #checkout .card-products .checkout-items-item:not(.type-1):not(.type-3) > .checkout-items-item-image-wrapper,
body.is-checkout #checkout .card-products .checkout-items-item:not(.type-1):not(.type-3) > .checkout-items-item-quantity,
body.is-checkout #checkout .card-products .checkout-items-item:not(.type-1):not(.type-3) > .checkout-items-item-price-single { display: none !important; }
body.is-checkout #checkout .card-products .checkout-items-item:not(.type-1):not(.type-3) > .checkout-items-item-main { grid-column: 1; font-size: 15px; }
body.is-checkout #checkout .card-products .checkout-items-item:not(.type-1):not(.type-3) > .price-col { grid-column: 2; font-weight: 600; }
/* Summen */
body.is-checkout #checkout .card-products .checkout-items-total-wrapper { margin: 0; justify-content: stretch; }
body.is-checkout #checkout .card-products .checkout-items-total { flex: 0 0 100%; max-width: 100%; padding: 12px 0 4px; }
body.is-checkout #checkout .card-products .checkout-items-total .row { margin: 0; align-items: baseline; }
body.is-checkout #checkout .card-products .checkout-items-total .row > .col { padding: 0; }
body.is-checkout #checkout .card-products .checkout-items-total hr { display: none; }
body.is-checkout #checkout .card-products .checkout-items-total .tax { order: 2; font-size: 13px; color: var(--k-text-2); }
body.is-checkout #checkout .card-products .checkout-items-total { display: flex; flex-direction: column; }
body.is-checkout #checkout .card-products .checkout-items-total-total { order: 1; font-size: 19px; font-weight: 800; color: var(--bb-ink); }
body.is-checkout #checkout .card-products .checkout-items-total-total .price-col { font-family: var(--bb-font-body); font-variant-numeric: tabular-nums; }
body.is-checkout #checkout .card-products .checkout-items-total .price-col { font-family: var(--bb-font-body); }
/* Rechtssatz (vom Template hierher verschoben) + CTA */
body.is-checkout #checkout #panel-submit-order > .card { border: 0; box-shadow: none; background: transparent; margin: 0; }
body.is-checkout #checkout #panel-submit-order > .card > .card-body { padding: 8px 20px 0; }
body.is-checkout #checkout #panel-submit-order .checkout-confirmation-legal-notice { font-size: 13px; line-height: 1.5; color: var(--k-text-2); margin: 0 !important; }
body.is-checkout #checkout #panel-submit-order .checkout-confirmation-legal-notice a { color: var(--bb-ink); text-decoration: underline; text-underline-offset: 2px; padding: 12px 0; margin: -12px 0; }
body.is-checkout #checkout #panel-submit-order .checkout-button-row { margin: 12px 0 0; padding: 0 20px; }
body.is-checkout #checkout #panel-submit-order .checkout-button-row > .col { flex: 0 0 100%; max-width: 100%; padding: 0; margin: 0 !important; }
body.is-checkout #checkout #panel-submit-order .checkout-button-row > .col.order-1 { order: 1; }
body.is-checkout #checkout #panel-submit-order .checkout-button-row > .col.order-2 { order: 2; }
body.is-checkout #checkout #panel-submit-order .checkout-button-row .btn-outline-primary { width: 100%; margin-top: 6px; }
body.is-checkout #checkout #panel-submit-order #complete-order-button { margin: 0; }
body.is-checkout #checkout #panel-submit-order .button-row-mb { margin-bottom: 0; }
@media (max-width: 575.98px) {
  body.is-checkout #checkout #panel-submit-order #complete-order-button { font-size: 14px; letter-spacing: .03em; padding: 15px 14px; }
}

/* ---------- 7. Warenkorb (/Warenkorb, body[data-page="3"]) ---------- */
body[data-page="3"] #content .container.basket { max-width: 1180px; padding-top: 8px; }
body[data-page="3"] #content .basket > .row { margin-left: -14px; margin-right: -14px; }
body[data-page="3"] #content .basket > .row > .col { padding-left: 14px; padding-right: 14px; }
/* Konto neu Paket 10 (14.11.2026): ab 992 px steht der Container mit 12 px Innenabstand (Mobil 14/16). -14 px Row-Rand ragte dort 2 px aus dem Fenster (Seitenbreite +2 bei 992-~1500 px). Inhalt bleibt an derselben Stelle (12 + 12 = 14 - 2 + 14). Rollback: diese vier Zeilen. */
@media (min-width:992px){
body[data-page="3"] #content .basket > .row { margin-left: -12px; margin-right: -12px; }
body[data-page="3"] #content .basket > .row > .col { padding-left: 12px; padding-right: 12px; }
}
body[data-page="3"] #result-wrapper h1.basket-heading,
body[data-page="3"] h1.basket-heading {
  font-family: var(--bb-font-body); font-weight: 800; font-size: clamp(26px, 3vw, 34px); letter-spacing: -.01em;
  text-transform: none; line-height: 1.15; margin: 4px 0 18px;
}
body[data-page="3"] .basket-items > .cart-items-header,
body[data-page="3"] .basket-items .cart-items-body > .col-12 { display: none !important; }
body[data-page="3"] .basket-items { display: flex; flex-direction: column; gap: 12px; }
/* Position = Karte: Bild | Inhalt */
body[data-page="3"] .basket-items .cart-items-body {
  display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 0 20px; margin: 0;
  padding: 18px 20px; background: var(--k-card); border: 1px solid var(--k-line); border-radius: var(--k-r); box-shadow: var(--k-schatten);
}
body[data-page="3"] .basket-items .cart-items-body > .col { flex: none; width: auto; max-width: none; padding: 0; min-width: 0; }
body[data-page="3"] .basket-items .cart-items-body > .cart-items-image {
  width: 112px; height: 112px; border-radius: 12px; border: 1px solid var(--k-line-soft); overflow: hidden;
  display: flex; align-items: center; justify-content: center; background: var(--k-card);
}
body[data-page="3"] .basket-items .cart-items-image img { max-width: 104px; max-height: 104px; width: auto; height: auto; object-fit: contain; border-radius: 0; }
/* Inhalt: Marke · Name · Art.-Nr. · Stueckpreis links; Menge, Preis, Entfernen rechts */
body[data-page="3"] .basket-items .cart-items-body > .col > .row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(88px, auto); gap: 0 20px; margin: 0; align-items: start;
}
body[data-page="3"] .basket-items .cart-items-body > .col > .row > .col {
  flex: none; width: auto; max-width: none; padding: 0; margin: 0; grid-column: 1; order: 3; min-width: 0;
}
body[data-page="3"] .basket-items .cart-items-product-data,
body[data-page="3"] .basket-items .cart-items-product-data > ul { display: contents; }
body[data-page="3"] .basket-items .cart-items-product-data li { grid-column: 1; order: 3; font-size: 13px; color: var(--k-text-2); line-height: 1.5; }
body[data-page="3"] .basket-items .cart-items-product-data li.manufacturer {
  order: 1; font-size: 0; line-height: 1; margin-bottom: 6px;
}
body[data-page="3"] .basket-items .cart-items-product-data li.manufacturer .values {
  font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--k-text-2); line-height: 1.3;
}
body[data-page="3"] .basket-items .cart-items-body > .col > .row > .cart-items-product { order: 2; margin-bottom: 4px; }
body[data-page="3"] .basket-items .cart-items-name {
  font-family: var(--bb-font-body); font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--bb-ink); text-decoration: none; overflow-wrap: anywhere;
}
body[data-page="3"] .basket-items .cart-items-name:hover { text-decoration: underline; text-underline-offset: 3px; }
body[data-page="3"] .basket-items .cart-items-single-price { order: 4; font-size: 13px; color: var(--k-text-2); margin-top: 2px; }
body[data-page="3"] .basket-items .cart-items-single-price .cart-items-price-text { display: inline !important; margin-right: 4px; }
body[data-page="3"] .basket-items .cart-items-body > .col > .row > .cart-items-quantity { grid-column: 2; grid-row: 1 / span 3; order: 0; }
body[data-page="3"] .basket-items .cart-items-body > .col > .row > .cart-items-price {
  grid-column: 3; grid-row: 1 / span 2; order: 0; text-align: right; padding-top: 10px;
}
body[data-page="3"] .basket-items .cart-items-price .cart-items-price-text { display: none !important; }
body[data-page="3"] .basket-items .cart-items-price .price_overall {
  font-family: var(--bb-font-body); font-size: 18px; font-weight: 800; color: var(--bb-ink); font-variant-numeric: tabular-nums; white-space: nowrap;
}
body[data-page="3"] .basket-items .cart-items-body > .col > .row > .cart-items-delete {
  grid-column: 3; grid-row: 3 / span 3; order: 0; justify-self: end; align-self: end; text-align: right;
}
body[data-page="3"] .basket-items .cart-items-delete-button {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 2px; border: 0;
  font-family: var(--bb-font-body); font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none;
  color: var(--k-text-2); text-decoration: underline; text-underline-offset: 3px; background: none;
}
body[data-page="3"] .basket-items .cart-items-delete-button:hover { color: var(--bb-r-action); }
body[data-page="3"] .basket-items .cart-items-delete-button .fas { font-size: 13px; text-decoration: none; }
/* Mengen-Stepper — FIX „:“ statt Zahl: das Feld war 44 px breit (bb-rasta.css „Warenkorb-/Modal-Stepper“),
   behielt aber Bootstraps .form-control-Innenabstand 0,75rem 1,25rem (20 px je Seite) bei box-sizing:border-box
   -> 4 px Inhaltsbreite; die Ziffer (Space Mono, ~10 px) wurde bis auf zwei Punkte abgeschnitten.
   Jetzt: Feld 48 px, Innenabstand 0, Ziffern Hanken Grotesk tabellarisch, Knoepfe 44 x 44. */
body[data-page="3"] .basket .qty-wrapper { margin: 0 !important; max-width: none; }
body[data-page="3"] .basket .form-counter {
  display: inline-flex; flex-wrap: nowrap; align-items: stretch; width: auto; max-width: none; height: 46px;
  border: 1.5px solid var(--k-feld); border-radius: 999px; background: var(--k-card); overflow: hidden;
}
body[data-page="3"] .basket .form-counter .input-group-prepend,
body[data-page="3"] .basket .form-counter .input-group-append { margin: 0; }
body[data-page="3"] .basket .form-counter .btn {
  width: 44px; min-width: 44px; height: 43px; padding: 0; border: 0; border-radius: 0; background: transparent;
  color: var(--bb-ink); display: inline-flex; align-items: center; justify-content: center; font-size: 13px;
}
body[data-page="3"] .basket .form-counter .btn:hover { background: var(--bb-bg-2); }
body[data-page="3"] .basket .form-counter .btn:focus-visible { outline: 2px solid var(--k-gruen-text); outline-offset: -3px; }
body[data-page="3"] .basket .form-counter input.quantity {
  flex: 0 0 48px; width: 48px; min-width: 48px; height: 43px; padding: 0; border: 0; border-radius: 0;
  background: transparent; text-align: center; box-shadow: none;
  font-family: var(--bb-font-body); font-size: 17px; font-weight: 700; color: var(--bb-ink); font-variant-numeric: tabular-nums;
  -moz-appearance: textfield; appearance: textfield;
}
body[data-page="3"] .basket .form-counter input.quantity::-webkit-outer-spin-button,
body[data-page="3"] .basket .form-counter input.quantity::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
body[data-page="3"] .basket .form-counter input.quantity:focus { outline: 2px solid var(--k-gruen-text); outline-offset: -3px; }

/* Bestelluebersicht rechts: eine Karte, Reihenfolge Ueberschrift · Versandfrei · Summen+CTA · Punkte · Versandrechner */
body[data-page="3"] .cart-summary {
  display: flex; flex-direction: column; gap: 14px; padding: 22px;
  background: var(--k-card); border: 1px solid var(--k-line); border-radius: var(--k-r); box-shadow: var(--k-schatten);
}
body[data-page="3"] .cart-summary > .basket-heading {
  order: 0; display: block !important; margin: 0; font-family: var(--bb-font-body); font-size: 20px; font-weight: 800;
  letter-spacing: -.005em; text-transform: none; line-height: 1.2;
}
body[data-page="3"] .cart-summary > .freeship-message-body { order: 1; }
body[data-page="3"] .cart-summary > .basket-summary { order: 2; }
body[data-page="3"] .cart-summary > .bb-bonus { order: 3; }
body[data-page="3"] .cart-summary > form,
body[data-page="3"] .cart-summary > .shipping-calculator-form { order: 4; }
body[data-page="3"] .cart-summary > * { margin: 0; }
body[data-page="3"] .cart-summary .freeship-message-body {
  padding: 12px 14px; background: var(--bb-bg-2); border-radius: 12px; font-size: 14px; line-height: 1.4;
}
body[data-page="3"] .cart-summary .freeship-message-body a { color: inherit; text-decoration: none; }
body[data-page="3"] .cart-summary .freeship-message-body .progress { height: 6px; margin-top: 10px; background: rgba(23, 21, 14, .10); border-radius: 999px; }
body[data-page="3"] .cart-summary .freeship-message-body .progress-bar { background: var(--k-cta); border-radius: 999px; }
body[data-page="3"] .cart-summary .basket-summary { background: transparent; border: 0; box-shadow: none; border-radius: 0; }
body[data-page="3"] .cart-summary .basket-summary > .card-body { display: flex; flex-direction: column; padding: 0; background: transparent; }
body[data-page="3"] .cart-summary .basket-summary .row { margin: 0; align-items: baseline; }
body[data-page="3"] .cart-summary .basket-summary .row > .col { padding: 0; }
body[data-page="3"] .cart-summary .basket-summary .basket-summary-total {
  order: 1; font-family: var(--bb-font-body); font-size: 19px; font-weight: 800; padding: 4px 0 2px; border: 0;
}
body[data-page="3"] .cart-summary .basket-summary .basket-summary-total .price-col { font-variant-numeric: tabular-nums; }
body[data-page="3"] .cart-summary .basket-summary .shipping-costs { order: 2; font-size: 13px; color: var(--k-text-2); }
body[data-page="3"] .cart-summary .basket-summary .shipping-costs small { font-size: 13px; }
body[data-page="3"] .cart-summary .basket-summary .shipping-costs a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
body[data-page="3"] .cart-summary .basket-summary .tax,
body[data-page="3"] .cart-summary .basket-summary .total-net,
body[data-page="3"] .cart-summary .basket-summary .customer-credit { order: 3; font-size: 13px; color: var(--k-text-2); }
body[data-page="3"] .cart-summary .basket-summary #cart-checkout-btn { order: 5; width: 100%; margin: 14px 0 0; display: flex; align-items: center; justify-content: center; }
body[data-page="3"] .cart-summary .basket-summary .card-body > :not(.row):not(#cart-checkout-btn) { order: 6; }
body[data-page="3"] .cart-summary .bb-bonus-card { border-radius: 12px; padding: 14px 16px; }
body[data-page="3"] .cart-summary .bb-bonus-num { font-size: 1.6rem; }
body[data-page="3"] .cart-summary .bb-bonus-sub { font-size: 14px; margin: 4px 0 0; }
body[data-page="3"] .cart-summary .bb-bonus-actions { margin-top: 10px; }
body[data-page="3"] .cart-summary .shipping-calculator-main .card { background: transparent; border: 1px solid var(--k-line-soft); border-radius: 12px; margin: 0 !important; }
body[data-page="3"] .cart-summary .shipping-calculator-main .card-header { background: transparent; border: 0; padding: 0; }
body[data-page="3"] .cart-summary .shipping-calculator-main .card-header .btn-link {
  display: flex; align-items: center; min-height: 48px; padding: 8px 14px; border: 0; width: 100%;
  font-family: var(--bb-font-body); font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--bb-ink); text-align: left;
}
@media (min-width: 992px) {
  body[data-page="3"] .cart-summary.sticky-top { position: sticky; top: 146px; z-index: 2; } /* Shop-Kopf klebt, 130 px */
}
@media (max-width: 767.98px) {
  body[data-page="3"] #content .container.basket { padding-left: 12px; padding-right: 12px; }
  body[data-page="3"] .basket-items .cart-items-body { grid-template-columns: 76px minmax(0, 1fr); gap: 0 14px; padding: 14px; }
  body[data-page="3"] .basket-items .cart-items-body > .cart-items-image { width: 76px; height: 76px; }
  body[data-page="3"] .basket-items .cart-items-image img { max-width: 70px; max-height: 70px; }
  body[data-page="3"] .basket-items .cart-items-body > .col > .row { grid-template-columns: minmax(0, 1fr) auto; gap: 0 10px; }
  body[data-page="3"] .basket-items .cart-items-name { font-size: 15px; }
  /* Menge links, Preis rechts in einer Fusszeile; Entfernen oben rechts */
  body[data-page="3"] .basket-items .cart-items-body > .col > .row > .cart-items-quantity { grid-column: 1; grid-row: auto; order: 8; margin-top: 10px; }
  body[data-page="3"] .basket-items .cart-items-body > .col > .row > .cart-items-price { grid-column: 2; grid-row: auto; order: 9; align-self: center; padding-top: 10px; }
  body[data-page="3"] .basket-items .cart-items-body > .col > .row > .cart-items-delete { grid-column: 1 / -1; grid-row: auto; order: 10; justify-self: start; align-self: start; }
  body[data-page="3"] .basket-items .cart-items-delete-button { min-height: 44px; }
  body[data-page="3"] .cart-summary { margin-top: 8px; padding: 18px; }
}

/* ---------- 8. N221 PD-WK (08.11.2026): Positionskarte mobil (M-A5-12) + Warenkorb ohne Reload (M-A5-11, JS
   js/bb-kaufstrecke.js) ----------
   Karte: Bild 64 | Marke, Name (hoechstens 3 Zeilen), Daten; Fusszeile Stepper links, Preis rechts; Entfernen oben
   rechts (44 px, Ist-Text). 200 % Text (PC-05): Spalten min-width 0, Kopfzeile und Summenzeilen umbrechbar.
   Zustaende: [data-bb-ausstehend] = Wunsch noch nicht bestaetigt (Preis gedimmt), .bb-pos__meldung = Korrektur/
   „nicht uebernommen“ an der Position, #bb-korb-meldung = Ansage am Ort (entfernt / wird geprueft). */
@media (max-width: 767.98px) {
  body.is-mobile[data-page="3"] .basket-items .cart-items-body { grid-template-columns: 64px minmax(0, 1fr); gap: 0 12px; }
  body.is-mobile[data-page="3"] .basket-items .cart-items-body > .cart-items-image { width: 64px; height: 64px; border-radius: 10px; }
  body.is-mobile[data-page="3"] .basket-items .cart-items-image img { max-width: 60px; max-height: 60px; }
  body.is-mobile[data-page="3"] .basket-items .cart-items-name {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
  }
  body.is-mobile[data-page="3"] .basket-items .cart-items-body > .col > .row > .cart-items-delete {
    grid-column: 2; grid-row: 1 / span 2; order: 0; justify-self: end; align-self: start; margin: -10px -4px 0 0;
  }
  body.is-mobile[data-page="3"] .basket-items .cart-items-delete-button { min-height: 44px; min-width: 44px; justify-content: flex-end; }
  body.is-mobile[data-page="3"] h1.basket-heading { overflow-wrap: anywhere; }
  body.is-mobile[data-page="3"] .cart-summary .basket-summary .row > .col { min-width: 0; overflow-wrap: anywhere; }
}
body[data-page="3"] .basket-items .cart-items-body[data-bb-ausstehend] .price_overall { opacity: .45; transition: opacity .15s; }
body[data-page="3"] .bb-pos__meldung {
  grid-column: 1 / -1; order: 11; margin-top: 8px; padding: 8px 10px; border-radius: 10px;
  background: var(--bb-c-error-bg, #fdecea); color: var(--bb-c-error, #8a1c1c); font-size: 14px; line-height: 1.35;
}
body[data-page="3"] .bb-pos__meldung[hidden], body[data-page="3"] .bb-korb-meldung[hidden] { display: none; }
body[data-page="3"] .bb-korb-meldung {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; padding: 10px 14px;
  border-radius: 12px; background: var(--bb-bg-2); font-size: 15px; line-height: 1.35;
}
body[data-page="3"] .bb-korb-meldung .bb-btn { margin-left: auto; }
body[data-page="3"] #cart-checkout-btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
body[data-page="3"] #cart-checkout-btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

/* ---------- 9. N221 WK.3 (08.11.2026): Kasse-Leiste, Kasse Schritt 1, Zahlart, Uebersicht kompakt ----------
   Alles nur im Mobil-Dokument (body.is-mobile, serverseitig per UA); Desktop 1280 bleibt Ist. Texte = Ist (Sprachvariablen
   bzw. woertlich aus dem Summenblock). Markup: basket/index.tpl (Traeger Kasse-Leiste), checkout/step0_login_or_register.tpl
   (Login-Knopf), checkout/step5_confirmation.tpl (Adresse einmal, Kommentar <details>, Zahlart-SVG), JS bb-kaufstrecke.js §7.
   Rollback: diesen Abschnitt loeschen (Datei laedt nur auf Warenkorb + Bestellvorgang). */

/* 9.1 Warenkorb: „Zur Kasse“ 56 px + Kontrast (A5-043: die Regel in §4 verlangt #result-wrapper, den es hier nicht gibt) */
body.is-mobile[data-page="3"] .cart-summary #cart-checkout-btn,
body.is-mobile[data-page="3"] .bb-kasse-leiste .bb-kl__knopf {
  display: flex; align-items: center; justify-content: center; background: var(--k-cta); color: #fff; border: 0; border-radius: 999px;
  font-family: var(--bb-font-mono); font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase;
  min-height: 56px; padding: 15px 26px; text-decoration: none; box-shadow: 0 6px 16px -8px rgba(20, 122, 59, .55);
}
body.is-mobile[data-page="3"] .cart-summary #cart-checkout-btn:focus-visible,
body.is-mobile[data-page="3"] .bb-kasse-leiste .bb-kl__knopf:focus-visible { outline: 3px solid var(--bb-ink); outline-offset: 2px; }
/* A5-047: Summenblock 768-991 (Tablet, Telefon quer) nicht klebend */
@media (min-width: 768px) and (max-width: 991.98px) {
  body.is-mobile[data-page="3"] .cart-summary { position: static !important; top: auto; }
}

/* 9.2 Kasse-Leiste (M-A5-13): Zwischensumme | Zur Kasse, darunter der Versandhinweis; feste Unterkante, Quelle 'kasse'
   bei bbUnten (Dock weicht). Quer (max-height 500) aus = V-3 Q-b. */
.bb-kasse-leiste[hidden] { display: none !important; }
@media (max-width: 991.98px) {
  body.is-mobile .bb-kasse-leiste {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030;
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; row-gap: 2px;
    padding: 8px max(12px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    background: var(--bb-surface, #fff); border-top: 1px solid var(--bb-line); box-shadow: 0 -8px 20px -14px rgba(23, 21, 14, .45);
  }
  body.is-mobile .bb-kl__text { display: flex; flex-direction: column; min-width: 0; gap: 1px; }
  body.is-mobile .bb-kl__summe { font-family: var(--bb-font-body); font-size: 16px; font-weight: 800; line-height: 1.25; color: var(--bb-ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
  body.is-mobile .bb-kl__versand { font-size: 12.5px; line-height: 1.3; color: var(--bb-muted-text); overflow-wrap: anywhere; }
  body.is-mobile .bb-kl__versand[hidden] { display: none; }
  body.is-mobile .bb-kl__versand a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
  body.is-mobile[data-page="3"] .bb-kasse-leiste .bb-kl__knopf { min-height: 48px; padding: 12px 18px; font-size: 14px; letter-spacing: .04em; white-space: nowrap; }
  body.is-mobile .bb-kasse-leiste .bb-kl__knopf[aria-busy="true"] { opacity: .7; pointer-events: none; }
  body.is-mobile .bb-kasse-leiste .bb-kl__knopf[aria-disabled="true"] { opacity: .45; pointer-events: none; }
  html[data-bb-dock] body.is-mobile[data-page="3"]:has(.bb-kasse-leiste) { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}
@media (orientation: landscape) and (max-height: 500px) { body.is-mobile .bb-kasse-leiste { display: none !important; } }

/* 9.3 Kasse Schritt 1 (M-A5-14) */
/* Login-Aufklapper als <button> (A5-060) */
body.is-mobile.is-checkout #checkout .bb-login__kopf { padding: 0; margin: 0; border: 0; font: inherit; }
body.is-mobile.is-checkout #checkout .bb-login__schalter {
  display: flex; align-items: center; width: 100%; min-height: 56px; padding: 12px 48px 12px 22px; position: relative;
  background: transparent; border: 0; border-radius: var(--k-r); text-align: left; cursor: pointer;
  font-family: var(--bb-font-body); font-size: 17px; font-weight: 700; line-height: 1.25; color: var(--bb-ink);
}
body.is-mobile.is-checkout #checkout .bb-login__schalter::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--bb-ink); border-bottom: 2px solid var(--bb-ink); transform: rotate(45deg); transition: transform .2s;
}
body.is-mobile.is-checkout #checkout .bb-login__schalter[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: -2px; }
body.is-mobile.is-checkout #checkout .bb-login__schalter:focus-visible { outline: 2px solid var(--k-gruen-text); outline-offset: 2px; }
body.is-mobile.is-checkout #checkout .bb-login .collapse.show,
body.is-mobile.is-checkout #checkout .bb-login .collapsing { border-top: 1px solid var(--k-line-soft); }
/* Pflichtstern + Label-Lage an PLZ/Ort (A5-064): Typeahead legt die Eingabe in eine Huelle, der Geschwister-Selektor
   input[required] + label des Themes greift dort nicht. Desktop hat denselben Defekt; dort wirkt die Regel ohne .is-mobile
   (bewusst nicht in WK.3: Desktop 1280 bleibt Ist) */
body.is-mobile.is-checkout .label-slide .form-group .twitter-typeahead:has(> input.tt-input[required]) + .col-form-label::after { content: "*"; color: var(--bb-r-ink); }
body.is-mobile.is-checkout .label-slide .form-group .twitter-typeahead:has(> input.tt-input:placeholder-shown:not(:focus)) ~ label {
  top: calc(.5 * (1.5em + 2px + 1.5rem)); font-size: 1rem;
}
/* Checkbox-Labels 44 px (A5-067), Kontrollfeld eckig wie eine Checkbox */
body.is-mobile.is-checkout #checkout #customer .custom-checkbox .custom-control-label { display: flex; align-items: center; min-height: 44px; padding-top: 0; }
body.is-mobile.is-checkout #checkout #customer .custom-checkbox .custom-control-label::before,
body.is-mobile.is-checkout #checkout #customer .custom-checkbox .custom-control-label::after { top: 50%; margin-top: -9px; border-radius: 4px; }
/* Feldpaare (A5-084): Vorname|Nachname, Strasse|Nr., PLZ|Ort — mobil zweispaltig, Land ganze Breite */
@media (max-width: 767.98px) {
  body.is-mobile.is-checkout #checkout #customer .form-row { flex-wrap: wrap; }
  body.is-mobile.is-checkout #checkout #customer .form-row > .col:has(#firstName),
  body.is-mobile.is-checkout #checkout #customer .form-row > .col:has(#lastName) { flex: 0 0 50%; max-width: 50%; }
  body.is-mobile.is-checkout #checkout #customer .form-row > .col:has(#city) { flex: 1 1 0; max-width: none; min-width: 0; }
  body.is-mobile.is-checkout #checkout #customer .form-row > .col:has(#postcode) { flex: 0 0 128px; max-width: 128px; }
  body.is-mobile.is-checkout #checkout #customer .form-row > .col:has(#postcode) { order: 1; }
  body.is-mobile.is-checkout #checkout #customer .form-row > .col:has(#city) { order: 2; }
  body.is-mobile.is-checkout #checkout #customer .form-row > .col:has(#streetnumber) ~ .col:not(:has(#postcode)):not(:has(#city)) { flex: 0 0 100%; max-width: 100%; }
}
/* Strasse | Hausnummer erst ab 360 px nebeneinander („Hausnummer *“ braucht ~148 px, sonst gekuerzt).
   Owner 08.11. abends: Paar bleibt, aber die Photon-Vorschlagsliste (.bb-ac, absolut im .form-group der Strasse) reicht ueber
   die ganze Zeile bis zur rechten Kante der Hausnummer (+148 px = Spalte Nr. inkl. Rinne) - sonst 180 statt 328 px schmal. */
@media (min-width: 360px) and (max-width: 767.98px) {
  body.is-mobile.is-checkout #checkout #customer .form-row > .col:has(#street) { flex: 1 1 0; max-width: none; min-width: 0; }
  body.is-mobile.is-checkout #checkout #customer .form-row > .col:has(#streetnumber) { flex: 0 0 148px; max-width: 148px; }
  body.is-mobile.is-checkout #checkout #customer .form-row > .col:has(#street) .bb-ac { right: auto; width: calc(100% + 148px); }
}

/* 9.4 Kassenkopf: Fortschritt kompakt (A5-085) — Punkt und Text in einer Zeile (~44 statt ~70 px) */
@media (max-width: 575.98px) {
  body.is-mobile.is-checkout #checkout nav.checkout-steps.bb-steps { margin: 0 auto 4px; }
  body.is-mobile.is-checkout #checkout .checkout-steps .bb-step .bb-step__ziel { flex-direction: row; justify-content: center; gap: 6px; min-height: 44px; }
  body.is-mobile.is-checkout #checkout .checkout-steps .bb-step + .bb-step::before { top: 21px; left: calc(-50% + 64px); right: calc(50% + 64px); }
  body.is-mobile.is-checkout .bb-step__punkt { width: 24px; height: 24px; font-size: 12px; }
  body.is-mobile.is-checkout #checkout .checkout-confirmation > h1 { font-size: 22px; margin: 0 0 6px; }
}

/* 9.5 Uebersicht kompakt (M-A5-16, A5-073/078): ein Innenrand, Adresse einmal und als Fliesstext, Kommentar zu,
   Gewaehrleistung kleiner (aspect-ratio, A5-068), Rechtssatz 14,5 px (A5-077) */
@media (max-width: 767.98px) {
  body.is-mobile.is-checkout #checkout #order-confirm .card-header { padding: 12px 16px; }
  body.is-mobile.is-checkout #checkout .card-products .checkout-items-item.type-1 { padding: 12px 0; }
  body.is-mobile.is-checkout #checkout .card-products .checkout-items-item-main ul { line-height: 1.35; }
  body.is-mobile.is-checkout .bb-za__liste { gap: 6px; }
  body.is-mobile.is-checkout #checkout #order-confirm .card-body { padding: 14px 16px 16px; }
  body.is-mobile.is-checkout #checkout #order-confirm > .row > .col { margin-bottom: 10px; }
  body.is-mobile.is-checkout #checkout .bb-za-wahl { margin-top: 12px; }
  body.is-mobile.is-checkout #checkout .bb-za-versand { padding: 10px 14px; }
  body.is-mobile.is-checkout #checkout #order-confirm .checkout-confirmation-billing-address .card-body .row > .col { flex: 0 0 100%; max-width: 100%; margin: 0; }
  body.is-mobile.is-checkout #checkout #order-confirm .checkout-confirmation-billing-address .card-body p { margin: 0; }
  body.is-mobile.is-checkout #checkout #order-confirm .inc-billing-address,
  body.is-mobile.is-checkout #checkout #order-confirm .inc-delivery-address { margin: 2px 0 8px; }
  body.is-mobile.is-checkout #checkout #order-confirm .inc-billing-address,
  body.is-mobile.is-checkout #checkout #order-confirm .inc-delivery-address { display: flex; flex-wrap: wrap; column-gap: .3em; }
  body.is-mobile.is-checkout #checkout #order-confirm .inc-billing-address li:not(:last-child)::after,
  body.is-mobile.is-checkout #checkout #order-confirm .inc-delivery-address li:not(:last-child)::after { content: ","; }
  body.is-mobile.is-checkout .bb-adr-gleich { margin: 0; font-size: 14.5px; color: var(--k-text-2); }
  /* Kommentar als <details> */
  body.is-mobile.is-checkout #checkout details.bb-kommentar > summary.card-header {
    display: flex; align-items: center; min-height: 52px; list-style: none; cursor: pointer; position: relative; padding-right: 48px; border-bottom: 0;
  }
  body.is-mobile.is-checkout #checkout details.bb-kommentar > summary::-webkit-details-marker { display: none; }
  body.is-mobile.is-checkout #checkout details.bb-kommentar > summary::after {
    content: ""; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
    border-right: 2px solid var(--bb-ink); border-bottom: 2px solid var(--bb-ink); transform: rotate(45deg); transition: transform .2s;
  }
  body.is-mobile.is-checkout #checkout details.bb-kommentar[open] > summary { border-bottom: 1px solid var(--k-line-soft); }
  body.is-mobile.is-checkout #checkout details.bb-kommentar[open] > summary::after { transform: rotate(-135deg); margin-top: -2px; }
  body.is-mobile.is-checkout #checkout details.bb-kommentar > summary:focus-visible { outline: 2px solid var(--k-gruen-text); outline-offset: 2px; border-radius: var(--k-r); }
  /* Gewaehrleistung: Bild 160 px breit mit festem Seitenverhaeltnis (kein Sprung), Vollansicht-Link daneben */
  body.is-mobile.is-checkout #checkout .bb-gewaehr .card-body { display: flex; align-items: center; gap: 14px; padding: 12px 16px; }
  body.is-mobile.is-checkout .bb-gewaehr__bild { flex: 0 0 160px; max-width: 160px; margin: 0; }
  body.is-mobile.is-checkout .bb-gewaehr__bild img { aspect-ratio: 1219 / 1668;   /* warranty_de.jpg 1219 x 1668 */ width: 100%; height: auto; }
  body.is-mobile.is-checkout .bb-gewaehr__voll { margin: 0; font-size: 15px; line-height: 1.35; }
  /* Fix-Runde 1 (Owner 08.11. abends): Gewaehrleistung als einzeilige Link-Karte (Template step5, mobil) */
  body.is-mobile.is-checkout #checkout .bb-gewaehr.bb-gewaehr--link { margin: 0 0 10px; padding: 0; }
  body.is-mobile.is-checkout #checkout .bb-gewaehr__karte {
    display: flex; align-items: center; min-height: 52px; padding: 10px 44px 10px 16px; position: relative;
    font-family: var(--bb-font-body); font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--bb-ink);
    text-decoration: underline; text-underline-offset: 3px; border-radius: var(--k-r);
  }
  body.is-mobile.is-checkout #checkout .bb-gewaehr__karte::after {
    content: ""; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px; margin-top: -5px;
    border-right: 2px solid var(--bb-ink); border-top: 2px solid var(--bb-ink); transform: rotate(45deg);
  }
  body.is-mobile.is-checkout #checkout .bb-gewaehr__karte:focus-visible { outline: 2px solid var(--k-gruen-text); outline-offset: 2px; }
  body.is-mobile.is-checkout #checkout #panel-submit-order .checkout-confirmation-legal-notice { font-size: 14.5px; line-height: 1.45; }
  body.is-mobile.is-checkout #checkout #panel-submit-order .card-products > .card-header { padding: 14px 16px 10px; }
  body.is-mobile.is-checkout #checkout #panel-submit-order .card-products > .card-body,
  body.is-mobile.is-checkout #checkout #panel-submit-order > .card > .card-body,
  body.is-mobile.is-checkout #checkout #panel-submit-order .checkout-button-row { padding-left: 16px; padding-right: 16px; }
  /* Rechtssatz-Karte: kein zweiter Kopfabstand (die allgemeine 14/16-Regel oben traf auch sie) */
  body.is-mobile.is-checkout #checkout #order-confirm #panel-submit-order > .card:not(.card-products) > .card-body { padding-top: 4px; padding-bottom: 0; }
  body.is-mobile.is-checkout #checkout #panel-submit-order .checkout-button-row { margin-top: 10px; }
}

/* 9.6 Zahlart (M-A5-15 Rest): Zeile Haken | Logo-Slot 48 px (wie live, Anbieterbilder unveraendert; Owner 08.11.: Viva-Bild
   bleibt) | Name | Aufpreis, darunter der Hinweis 15 px ueber die volle Kartenbreite (A5-079). Symbole fuer Zahlarten ohne
   Bild als SVG (A5-063). Reihenfolge fest im Plugin (A5-069). */
.bb-za__symbol { width: 22px; height: 22px; display: block; }
body.is-mobile .bb-za__opt {
  display: grid; grid-template-columns: 22px 48px minmax(0, 1fr) auto; column-gap: 10px; row-gap: 2px; align-items: center;
  grid-template-areas: "haken logo name preis" "hinweis hinweis hinweis hinweis"; min-height: 52px; padding: 8px 14px;
}
body.is-mobile .bb-za__haken { grid-area: haken; }
body.is-mobile .bb-za__logo { grid-area: logo; justify-content: center; width: 48px; height: 24px; }
body.is-mobile .bb-za__logo img { max-width: 48px; max-height: 24px; width: auto; height: auto; object-fit: contain; }
body.is-mobile .bb-za__text { display: contents; }
body.is-mobile .bb-za__name { grid-area: name; font-size: 15px; line-height: 1.3; }
body.is-mobile .bb-za__hinweis { grid-area: hinweis; font-size: 15px; line-height: 1.4; }
body.is-mobile .bb-za__preis { grid-area: preis; }

/* 9.7 Kassen-Fuss = Rechtslink-Zeile (A5-075): nur „Gesetzliche Informationen“ (aufgeklappt, Ziele 44 px), Widerruf,
   Fussnote (Preisangabe), Kontakt, Datenschutz-Einstellungen. Ratgeber, Newsletter und Infoboxen entfallen in der Kasse. */
@media (max-width: 991.98px) {
  body.is-mobile.is-checkout #footer .bb-ratgeber-footer,
  body.is-mobile.is-checkout #footer #footer-boxes > .col:not(:has(a[href$="/AGB"])) { display: none !important; }
  body.is-mobile.is-checkout #footer #footer-boxes > .col:has(a[href$="/AGB"]) .box-normal-link,
  body.is-mobile.is-checkout #footer #footer-boxes > .col:has(a[href$="/AGB"]) .box-normal-hr,
  body.is-mobile.is-checkout #footer #footer-boxes > .col:has(a[href$="/AGB"]) .productlist-filter-headline { display: none !important; }
  body.is-mobile.is-checkout #footer #footer-boxes > .col:has(a[href$="/AGB"]) .collapse { display: block !important; height: auto !important; }
  body.is-mobile.is-checkout #footer #footer-boxes > .col:has(a[href$="/AGB"]) ul { display: flex; flex-direction: row !important; flex-wrap: wrap; gap: 0 14px; margin: 0; padding: 0; }
  body.is-mobile.is-checkout #footer #footer-boxes > .col:has(a[href$="/AGB"]) .nav-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 2px; }
  body.is-mobile.is-checkout #footer .withdrawal-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
  body.is-mobile.is-checkout #copyright a,
  body.is-mobile.is-checkout #copyright button { display: inline-flex; align-items: center; min-height: 44px; }
}

/* ============================================================================================================
   10 N224 M4–M7 (13.11.2026, Owner 12./13.11., Kanzlei-Go laut Owner): „Pruefen & bezahlen“ mobil —
      Zahlart, Bestellblock (Summe, Rechtssatz, Knopf), darunter die Artikel. Nur Mobil-Dokument (body.is-mobile).
      Rollback: Abschnitt 10 loeschen (Template-Teile siehe step5_confirmation.tpl / inc_order_items.tpl).
   ============================================================================================================ */
@media (max-width: 991.98px) {
  /* M4 Reihenfolge: Adresse, Kommentar, Versand + Zahlart | Formular: Gewaehrleistung, Bestellblock, Artikelliste */
  /* Spalten der .row und das Formular liegen im selben Raster (#order-confirm > .row = display: contents): beide ordnen */
  body.is-mobile.is-checkout #checkout #order-confirm > .row > #shipping-method { order: 2; }
  body.is-mobile.is-checkout #checkout #order-confirm > form#complete_order > * { order: 3; }   /* das Formular selbst ist display: contents (Z. 321) */
  body.is-mobile.is-checkout #checkout #panel-submit-order { display: flex; flex-direction: column; }
  body.is-mobile.is-checkout #checkout #panel-submit-order > .card-products { order: 5; margin-top: 16px !important; border-top: 1px solid var(--k-line-soft) !important; border-radius: 0 !important; }
  body.is-mobile.is-checkout #checkout #panel-submit-order > .checkout-button-row { margin-top: 10px; }
  body.is-mobile.is-checkout #checkout .bb-best__summe {
    display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0; padding: 14px 16px 6px;
    font-size: 19px; font-weight: 800; color: var(--bb-ink); font-variant-numeric: tabular-nums;
  }
  /* M7 Titel, die das Layout schon sagt: Seitentitel nur fuer Screenreader, Kartenkopf „Versand- und Zahlungsart“ entfaellt */
  body.is-mobile.is-checkout #checkout #order-confirm > h1 {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
  body.is-mobile.is-checkout #checkout .checkout-confirmation-shipping > .card-header { display: none; }
  /* M4 Artikelzeilen kompakt: Artikelnummer und Stueckpreis raus, Hersteller/Merkmale in einer Zeile */
  body.is-mobile.is-checkout #checkout .card-products .checkout-items-item.type-1 { padding: 10px 0; }
  body.is-mobile.is-checkout #checkout .card-products .checkout-items-item-main ul > li.sku,
  body.is-mobile.is-checkout #checkout .card-products .checkout-items-item > .checkout-items-item-price-single { display: none !important; }
  body.is-mobile.is-checkout #checkout .card-products .checkout-items-item-main ul > li { display: inline; }
  body.is-mobile.is-checkout #checkout .card-products .checkout-items-item-main ul > li:not(.sku) ~ li::before { content: " · "; }
  /* M5 Mengenwahl in der Artikelzeile */
  body.is-mobile.is-checkout #checkout .card-products .checkout-items-item > .bb-km {
    display: inline-flex !important; align-items: stretch; width: max-content; margin-top: 6px; grid-row: 2;
    border: 1px solid var(--k-feld); border-radius: 999px; background: var(--k-card); overflow: hidden;
  }
  body.is-mobile.is-checkout #checkout .bb-km__b {
    flex: none; width: 44px; min-height: 40px; padding: 0; border: 0; background: transparent; color: var(--bb-ink);
    font: inherit; font-size: 20px; line-height: 1; cursor: pointer;
  }
  body.is-mobile.is-checkout #checkout .bb-km__b:focus-visible,
  body.is-mobile.is-checkout #checkout .bb-km__n:focus-visible { outline: 2px solid var(--k-gruen-text); outline-offset: -2px; }
  body.is-mobile.is-checkout #checkout .bb-km__n {
    flex: none; width: 44px; min-height: 40px; padding: 0; border: 0; background: transparent; color: var(--bb-ink);
    text-align: center; font: inherit; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield;
  }
  body.is-mobile.is-checkout #checkout .bb-km__n::-webkit-outer-spin-button,
  body.is-mobile.is-checkout #checkout .bb-km__n::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
  body.is-mobile.is-checkout #checkout .card-products[aria-busy=true] { opacity: .55; pointer-events: none; }
  .bb-km-form { display: none; }
  /* M6 Gewaehrleistung als Aufklapper: Pfeil dreht, Bild in voller Kartenbreite */
  body.is-mobile.is-checkout #checkout details.bb-gewaehr--klapp > summary { list-style: none; cursor: pointer; text-decoration: none; }
  body.is-mobile.is-checkout #checkout details.bb-gewaehr--klapp > summary::-webkit-details-marker { display: none; }
  body.is-mobile.is-checkout #checkout details.bb-gewaehr--klapp > summary::after { transform: rotate(135deg); margin-top: -7px; }
  body.is-mobile.is-checkout #checkout details.bb-gewaehr--klapp[open] > summary::after { transform: rotate(-45deg); margin-top: -2px; }
  body.is-mobile.is-checkout #checkout .bb-gewaehr__klappbild { padding: 0 12px 12px; cursor: pointer; }
  body.is-mobile.is-checkout #checkout .bb-gewaehr__klappbild img { display: block; width: 100%; height: auto; aspect-ratio: 1219 / 1668; border-radius: var(--k-r-sm); }
}
