/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */



/* =========================================================
 * STRAUSSbar - Mein Konto Design-Angleichung an Sales-Tunnel
 * (helle Modal-Flaeche wie im Sales-Tunnel, nicht die dunkle Seite)
 * ========================================================= */
body.woocommerce-account {
  --sob-card: #EDEDED;
  --sob-card-border: #D6D6D9;
  --sob-field-bg: #FFFFFF;
  --sob-field-border: #CBCBCE;
  --sob-text: #1A1A1C;
  --sob-text-dim: #5A5A5E;
  --sob-accent: #8FB84E;
  --sob-accent-dark: #12170A;
}

body.woocommerce-account .woocommerce {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--sob-text);
}

/* Navigation */
body.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li {
  margin: 0;
}
body.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: block;
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--sob-text-dim);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .3px;
  text-transform: uppercase;
  background: transparent;
  transition: background .15s, color .15s;
}
body.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
  background: var(--sob-card);
  color: var(--sob-text);
}
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
  background: var(--sob-accent);
  color: var(--sob-accent-dark);
}

/* Content card wrapper */
body.woocommerce-account .woocommerce-MyAccount-content {
  background: var(--sob-card);
  border: 1px solid var(--sob-card-border);
  border-radius: 14px;
  padding: 28px 32px;
}

/* Headings & text */
body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3 {
  color: var(--sob-text);
  font-weight: 600;
}
body.woocommerce-account .woocommerce-MyAccount-content p,
body.woocommerce-account .woocommerce-MyAccount-content label {
  color: var(--sob-text-dim);
}
body.woocommerce-account .woocommerce-MyAccount-content > p > a,
body.woocommerce-account .woocommerce-MyAccount-content mark {
  color: var(--sob-accent);
  background: none;
}

/* Form fields */
body.woocommerce-account input[type="text"],
body.woocommerce-account input[type="email"],
body.woocommerce-account input[type="password"],
body.woocommerce-account input[type="tel"],
body.woocommerce-account select,
body.woocommerce-account textarea {
  background: var(--sob-field-bg) !important;
  border: 1px solid var(--sob-field-border) !important;
  border-radius: 8px !important;
  color: var(--sob-text) !important;
  padding: 10px 12px !important;
  font-size: 14px !important;
  box-sizing: border-box;
}
body.woocommerce-account fieldset {
  border: 1px solid var(--sob-card-border);
  border-radius: 10px;
  padding: 18px;
  margin: 20px 0;
}
body.woocommerce-account fieldset legend {
  padding: 0 8px;
  color: var(--sob-text-dim);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Buttons */
body.woocommerce-account .button,
body.woocommerce-account input[type="submit"] {
  background: var(--sob-accent) !important;
  color: var(--sob-accent-dark) !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 11px 22px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  text-transform: uppercase;
  letter-spacing: .5px;
  cursor: pointer;
  transition: opacity .15s;
}
body.woocommerce-account .button:hover,
body.woocommerce-account input[type="submit"]:hover {
  opacity: .88;
}
body.woocommerce-account a.woocommerce-button.view,
body.woocommerce-account a.button.view {
  background: transparent !important;
  border: 1px solid var(--sob-field-border) !important;
  color: var(--sob-text) !important;
}

/* Sekundaere Buttons (Abbrechen etc.) dezenter als Speichern */
body.woocommerce-account #sb-ab-cancel {
  background: transparent !important;
  border: 1px solid var(--sob-field-border) !important;
  color: var(--sob-text) !important;
}

/* Orders table */
body.woocommerce-account table.woocommerce-orders-table,
body.woocommerce-account table.shop_table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  background: transparent;
}
body.woocommerce-account table.woocommerce-orders-table thead th,
body.woocommerce-account table.shop_table thead th {
  color: var(--sob-text-dim);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--sob-card-border);
  padding: 10px 12px;
  text-align: left;
}
body.woocommerce-account table.woocommerce-orders-table tbody td,
body.woocommerce-account table.shop_table tbody td {
  padding: 12px;
  border-bottom: 1px solid var(--sob-card-border);
  color: var(--sob-text);
  font-size: 13px;
}
body.woocommerce-account table.woocommerce-orders-table tbody tr:last-child td,
body.woocommerce-account table.shop_table tbody tr:last-child td {
  border-bottom: none;
}
body.woocommerce-account .woocommerce-orders-table__cell-order-status {
  color: var(--sob-text);
  font-weight: 600;
}

/* Native Adresse-Tab: zwei Spalten */
body.woocommerce-account .woocommerce-Addresses,
body.woocommerce-account .u-columns {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
body.woocommerce-account .u-columns .u-column1,
body.woocommerce-account .u-columns .u-column2 {
  flex: 1 1 260px;
  float: none !important;
  width: auto !important;
}
body.woocommerce-account .woocommerce-Address-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  gap: 12px;
}
body.woocommerce-account .woocommerce-Address-title h2,
body.woocommerce-account .woocommerce-Address-title h3 {
  font-size: 16px;
  margin: 0;
  font-weight: 600;
  color: var(--sob-text);
}
body.woocommerce-account .woocommerce-Address-title .edit {
  font-size: 12px;
  color: var(--sob-accent);
  text-decoration: none;
  white-space: nowrap;
}
body.woocommerce-account address {
  background: var(--sob-field-bg);
  border: 1px solid var(--sob-card-border);
  border-radius: 10px;
  padding: 16px 18px;
  font-style: normal;
  color: var(--sob-text);
  font-size: 13px;
  line-height: 1.6;
  display: block;
}

/* Checkbox / radio accents */
body.woocommerce-account input[type="checkbox"],
body.woocommerce-account input[type="radio"] {
  accent-color: var(--sob-accent);
}

/* Notices (info/message/error) */
body.woocommerce-account .woocommerce-info,
body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-error,
body.woocommerce-account .woocommerce-notices-wrapper .woocommerce-info {
  background: var(--sob-field-bg) !important;
  border: 1px solid var(--sob-card-border) !important;
  color: var(--sob-text) !important;
  border-radius: 10px !important;
  /* Links Platz fuer das absolut positionierte WooCommerce-Icon reservieren,
     sonst liegt es auf dem ersten Buchstaben (wie bei .woocommerce-order-pay geloest). */
  padding: 14px 18px 14px 48px !important;
  font-size: 13px !important;
  list-style: none;
  position: relative !important;
}
body.woocommerce-account .woocommerce-info::before,
body.woocommerce-account .woocommerce-message::before,
body.woocommerce-account .woocommerce-error::before {
  color: var(--sob-accent) !important;
  left: 18px !important;
  top: 15px !important;
  margin: 0 !important;
}
body.woocommerce-account .woocommerce-error::before {
  color: #C0392B !important;
}
/* WooCommerce verweist fuer Info-Notices auf \e028; in der mitgelieferten Font-Datei
   liegt dort ein leerer Rahmen (CSS und Font aus verschiedenen Versionsstaenden).
   \e016 ist das Ausrufezeichen im Kreis und passt zum Hinweis-Charakter. */
body.woocommerce-account .woocommerce-info::before {
  content: "\e016" !important;
}
body.woocommerce-account .woocommerce-error {
  border-color: #c0392b !important;
}

/* Adressbuch-Karten (mu-plugin) an helle Flaeche anpassen */
body.woocommerce-account .sb-ab-card {
  background: var(--sob-field-bg) !important;
  border: 1px solid var(--sob-card-border) !important;
  color: var(--sob-text) !important;
}
body.woocommerce-account .sb-ab-card.is-default {
  border-color: var(--sob-accent) !important;
}


/* Plain-Buttons ohne .button-Klasse (z.B. Adressbuch Bearbeiten/Loeschen) im hellen Konto-Bereich lesbar machen */
body.woocommerce-account .woocommerce-MyAccount-content button:not(.button) {
  color: var(--sob-text) !important;
  border-color: var(--sob-field-border) !important;
  background: var(--sob-field-bg) !important;
}


/* =========================================================
 * STRAUSSbar - Mein Konto: linke Navigation in helle Flaeche integrieren
 * Nav + Content teilen sich jetzt eine gemeinsame helle Karte statt
 * Nav lose auf dem dunklen Seitenhintergrund
 * ========================================================= */
body.woocommerce-account .woocommerce {
  display: flex;
  align-items: stretch;
  background: var(--sob-card);
  border: 1px solid var(--sob-card-border);
  border-radius: 14px;
  overflow: hidden;
}
body.woocommerce-account .woocommerce-MyAccount-navigation {
  float: none;
  width: 240px;
  flex: 0 0 240px;
  box-sizing: border-box;
  padding: 28px 20px;
  border-right: 1px solid var(--sob-card-border);
}
body.woocommerce-account .woocommerce-MyAccount-content {
  float: none;
  width: auto;
  flex: 1 1 auto;
  box-sizing: border-box;
  background: none;
  border: none;
  border-radius: 0;
}
@media (max-width: 767px) {
  body.woocommerce-account .woocommerce {
    flex-direction: column;
  }
  body.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 100%;
    flex: 1 1 auto;
    border-right: none;
    border-bottom: 1px solid var(--sob-card-border);
    padding: 16px 20px;
  }
}


/* =========================================================
 * STRAUSSbar - Mein Konto: Bestellungen-Tabelle modernisieren
 * Kompaktere Zeilen, keine Gitter-Linien, Status als Farb-Punkt
 * ========================================================= */
body.woocommerce-account table.woocommerce-orders-table {
  border: none;
  border-collapse: collapse;
  width: 100%;
}
body.woocommerce-account table.woocommerce-orders-table thead th {
  background: none;
  border: none;
  border-bottom: 1px solid var(--sob-card-border);
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--sob-text-dim);
  text-align: left;
}
body.woocommerce-account table.woocommerce-orders-table tbody td {
  background: none;
  border: none;
  border-bottom: 1px solid var(--sob-card-border);
  padding: 9px 14px;
  font-size: 13px;
  color: var(--sob-text);
  vertical-align: middle;
}
body.woocommerce-account table.woocommerce-orders-table tbody tr:last-child td {
  border-bottom: none;
}
body.woocommerce-account table.woocommerce-orders-table tbody tr:hover td {
  background: rgba(143, 184, 78, 0.07);
}
body.woocommerce-account table.woocommerce-orders-table .woocommerce-orders-table__cell-order-number a {
  font-weight: 600;
  color: var(--sob-accent);
  text-decoration: none;
}
body.woocommerce-account table.woocommerce-orders-table .woocommerce-orders-table__cell-order-date {
  color: var(--sob-text-dim);
}
body.woocommerce-account table.woocommerce-orders-table .woocommerce-orders-table__header-order-total,
body.woocommerce-account table.woocommerce-orders-table .woocommerce-orders-table__cell-order-total,
body.woocommerce-account table.woocommerce-orders-table .woocommerce-orders-table__header-order-actions,
body.woocommerce-account table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions {
  text-align: right;
}
body.woocommerce-account table.woocommerce-orders-table .woocommerce-orders-table__cell-order-status {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .2px;
  color: var(--sob-text-dim);
}
body.woocommerce-account table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .button {
  padding: 7px 16px;
  font-size: 11px;
  letter-spacing: .3px;
}

/* Status-Farbpunkt (nur Desktop, um mobile data-title-Labels nicht zu ueberschreiben) */
@media (min-width: 768px) {
  body.woocommerce-account table.woocommerce-orders-table .woocommerce-orders-table__cell-order-status::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-right: 7px;
    background: var(--sob-text-dim);
    vertical-align: middle;
  }
  body.woocommerce-account table.woocommerce-orders-table tr.woocommerce-orders-table__row--status-completed .woocommerce-orders-table__cell-order-status { color: #4a7a2e; }
  body.woocommerce-account table.woocommerce-orders-table tr.woocommerce-orders-table__row--status-completed .woocommerce-orders-table__cell-order-status::before { background: var(--sob-accent); }

  body.woocommerce-account table.woocommerce-orders-table tr.woocommerce-orders-table__row--status-processing .woocommerce-orders-table__cell-order-status { color: #3a6ea5; }
  body.woocommerce-account table.woocommerce-orders-table tr.woocommerce-orders-table__row--status-processing .woocommerce-orders-table__cell-order-status::before { background: #5b8fd4; }

  body.woocommerce-account table.woocommerce-orders-table tr.woocommerce-orders-table__row--status-on-hold .woocommerce-orders-table__cell-order-status,
  body.woocommerce-account table.woocommerce-orders-table tr.woocommerce-orders-table__row--status-pending .woocommerce-orders-table__cell-order-status { color: #a5760a; }
  body.woocommerce-account table.woocommerce-orders-table tr.woocommerce-orders-table__row--status-on-hold .woocommerce-orders-table__cell-order-status::before,
  body.woocommerce-account table.woocommerce-orders-table tr.woocommerce-orders-table__row--status-pending .woocommerce-orders-table__cell-order-status::before { background: #e0a530; }

  body.woocommerce-account table.woocommerce-orders-table tr.woocommerce-orders-table__row--status-cancelled .woocommerce-orders-table__cell-order-status,
  body.woocommerce-account table.woocommerce-orders-table tr.woocommerce-orders-table__row--status-refunded .woocommerce-orders-table__cell-order-status { color: #8c8c90; }
  body.woocommerce-account table.woocommerce-orders-table tr.woocommerce-orders-table__row--status-cancelled .woocommerce-orders-table__cell-order-status::before,
  body.woocommerce-account table.woocommerce-orders-table tr.woocommerce-orders-table__row--status-refunded .woocommerce-orders-table__cell-order-status::before { background: #b5b5b8; }

  body.woocommerce-account table.woocommerce-orders-table tr.woocommerce-orders-table__row--status-failed .woocommerce-orders-table__cell-order-status { color: #b3261e; }
  body.woocommerce-account table.woocommerce-orders-table tr.woocommerce-orders-table__row--status-failed .woocommerce-orders-table__cell-order-status::before { background: #d1264a; }
}


/* =========================================================
 * STRAUSSbar - Mein Konto: Bestellungen-Tabelle, Korrektur
 * (Bestellnummer-Zelle ist technisch <th>, nicht <td> - eigene
 * Klasse .woocommerce-orders-table__cell deckt th+td gemeinsam ab.
 * Anzeigen-Button braucht !important, da Basis-Button-Regel
 * padding bereits mit !important setzt)
 * ========================================================= */
body.woocommerce-account table.woocommerce-orders-table .woocommerce-orders-table__cell {
  background: none;
  border: none;
  border-bottom: 1px solid var(--sob-card-border);
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 400;
  text-align: left;
  color: var(--sob-text);
  vertical-align: middle;
}
body.woocommerce-account table.woocommerce-orders-table tbody tr:last-child .woocommerce-orders-table__cell {
  border-bottom: none;
}
body.woocommerce-account table.woocommerce-orders-table tbody tr:hover .woocommerce-orders-table__cell {
  background: rgba(143, 184, 78, 0.07);
}
body.woocommerce-account table.woocommerce-orders-table .woocommerce-orders-table__cell-order-total,
body.woocommerce-account table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions {
  text-align: right;
}
body.woocommerce-account table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .button {
  padding: 7px 16px !important;
  font-size: 11px !important;
  letter-spacing: .3px !important;
}


/* =========================================================
 * STRAUSSbar - Mein Konto: Aktionen-Zelle fuer mehrere Buttons
 * ("Ansehen" + "Nochmal bestellen") sauber nebeneinander ausrichten
 * ========================================================= */
body.woocommerce-account table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}


/* Status-Farben fuer die beiden zusaetzlichen Gateway-Status (payment-issue, check-payment) */
@media (min-width: 768px) {
  body.woocommerce-account table.woocommerce-orders-table tr.woocommerce-orders-table__row--status-payment-issue .woocommerce-orders-table__cell-order-status { color: #b3261e; }
  body.woocommerce-account table.woocommerce-orders-table tr.woocommerce-orders-table__row--status-payment-issue .woocommerce-orders-table__cell-order-status::before { background: #d1264a; }

  body.woocommerce-account table.woocommerce-orders-table tr.woocommerce-orders-table__row--status-check-payment .woocommerce-orders-table__cell-order-status { color: #a5760a; }
  body.woocommerce-account table.woocommerce-orders-table tr.woocommerce-orders-table__row--status-check-payment .woocommerce-orders-table__cell-order-status::before { background: #e0a530; }
}


/* =========================================================
 * STRAUSSbar - Mein Konto: Status-Farben weiter differenzieren
 * (Zahlung pruefen / In Wartestellung / Bezahlung ausstehend
 * hatten bisher dieselbe Amber-Farbe - jetzt 3 eigene Farben)
 * ========================================================= */
@media (min-width: 768px) {
  body.woocommerce-account table.woocommerce-orders-table tr.woocommerce-orders-table__row--status-on-hold .woocommerce-orders-table__cell-order-status {
    color: #1f7a7a;
  }
  body.woocommerce-account table.woocommerce-orders-table tr.woocommerce-orders-table__row--status-on-hold .woocommerce-orders-table__cell-order-status::before {
    background: #4fb3b3;
  }

  body.woocommerce-account table.woocommerce-orders-table tr.woocommerce-orders-table__row--status-check-payment .woocommerce-orders-table__cell-order-status {
    color: #6a4c93;
  }
  body.woocommerce-account table.woocommerce-orders-table tr.woocommerce-orders-table__row--status-check-payment .woocommerce-orders-table__cell-order-status::before {
    background: #9b7fd4;
  }
}

/* =========================================================
 * STRAUSSbar - Mein Konto: Aktionen-Spalte neu strukturiert
 * "Ansehen" oben, alle weiteren Buttons (per JS in .sob-actions-row
 * gruppiert) als eigene Zeile nebeneinander darunter. Sorgt fuer
 * gleichmaessigere Zeilenhoehen als das vorherige freie Wrapping.
 * ========================================================= */
body.woocommerce-account table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 6px;
}
body.woocommerce-account table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .sob-actions-row {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 8px;
}


/* =========================================================
 * STRAUSSbar - Header: Angemeldet-Status-Punkt am Konto-Icon
 * Reines CSS, kein JS: WordPress setzt bei eingeloggten Usern
 * automatisch die Body-Klasse "logged-in" (Kern-Verhalten,
 * verifiziert per Fetch ohne/mit Cookies). Kleiner gruener Punkt
 * oben rechts am Icon, mit dunklem Ring passend zur Header-Farbe
 * (#1A1A1A), analog zum roten Warenkorb-Mengen-Badge.
 * ========================================================= */
.elementor-element-1eab6da a {
  position: relative;
}
body.logged-in .elementor-element-1eab6da a::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8FB84E;
  border: 2px solid #1A1A1A;
  box-sizing: content-box;
}


/* =========================================================
 * STRAUSSbar - Mein Konto: nummerierte Pagination der Bestellungen-Liste
 * Eigene Klasse .sob-orders-pagination (kollidiert nicht mit .woocommerce-pagination).
 * Optik an die linke Konto-Navigation angeglichen (aktive Seite = Akzent-Pille).
 * ========================================================= */
body.woocommerce-account .sob-orders-pagination {
  margin-top: 20px;
}
body.woocommerce-account .sob-orders-pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  border: 0;
}
body.woocommerce-account .sob-orders-pagination ul.page-numbers li {
  margin: 0;
  padding: 0;
  border: 0;
}
body.woocommerce-account .sob-orders-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  color: var(--sob-text-dim);
  background: transparent;
  text-decoration: none;
  transition: background .15s, color .15s;
}
body.woocommerce-account .sob-orders-pagination a.page-numbers:hover {
  background: var(--sob-card);
  color: var(--sob-text);
}
body.woocommerce-account .sob-orders-pagination .page-numbers.current {
  background: var(--sob-accent);
  color: var(--sob-accent-dark);
  font-weight: 600;
}
body.woocommerce-account .sob-orders-pagination .page-numbers.dots {
  min-width: 0;
  padding: 0 2px;
  background: transparent;
  color: var(--sob-text-dim);
}
body.woocommerce-account .sob-orders-pagination .page-numbers.prev,
body.woocommerce-account .sob-orders-pagination .page-numbers.next {
  font-size: 18px;
  color: var(--sob-text);
}


/* =========================================================
 * STRAUSSbar - Mein Konto: nummerierte Pagination der Bestellungen-Liste
 * Eigene Klasse .sob-orders-pagination (kollidiert nicht mit .woocommerce-pagination).
 * Optik an die linke Konto-Navigation angeglichen (aktive Seite = Akzent-Pille).
 * ========================================================= */
body.woocommerce-account .sob-orders-pagination {
  margin-top: 20px;
}
body.woocommerce-account .sob-orders-pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  border: 0;
}
body.woocommerce-account .sob-orders-pagination ul.page-numbers li {
  margin: 0;
  padding: 0;
  border: 0;
}
body.woocommerce-account .sob-orders-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  color: var(--sob-text-dim);
  background: transparent;
  text-decoration: none;
  transition: background .15s, color .15s;
}
body.woocommerce-account .sob-orders-pagination a.page-numbers:hover {
  background: var(--sob-card);
  color: var(--sob-text);
}
body.woocommerce-account .sob-orders-pagination .page-numbers.current {
  background: var(--sob-accent);
  color: var(--sob-accent-dark);
  font-weight: 600;
}
body.woocommerce-account .sob-orders-pagination .page-numbers.dots {
  min-width: 0;
  padding: 0 2px;
  background: transparent;
  color: var(--sob-text-dim);
}
body.woocommerce-account .sob-orders-pagination .page-numbers.prev,
body.woocommerce-account .sob-orders-pagination .page-numbers.next {
  font-size: 18px;
  color: var(--sob-text);
}


/* =========================================================
 * STRAUSSbar - Mein Konto: Bestellansicht (view-order) reparieren
 * Gleicher Bug wie zuvor bei edit-address: riesige geerbte H2-Groesse
 * (56px) auf "Rechnungsadresse"/"Lieferadresse"/"Bestelldetails" fuehrte
 * zu optisch ueberlappendem Text. Ausserdem: Bestelldetails-Tabelle und
 * "Zusaetzliche Informationen" (USt-IdNr.) bekommen jetzt dieselbe
 * weisse Karten-Optik wie die Adress-Boxen (<address> Tag, Regel 28).
 * ========================================================= */
body.woocommerce-account .woocommerce-order-details__title,
body.woocommerce-account .woocommerce-column__title {
  font-size: 16px;
  margin: 0 0 10px;
  font-weight: 600;
  color: var(--sob-text);
}
body.woocommerce-account .wc-block-order-confirmation-additional-fields-wrapper h2,
body.woocommerce-account .wc-block-order-confirmation-additional-fields-wrapper h3 {
  font-size: 16px;
  margin: 0 0 10px;
  font-weight: 600;
  color: var(--sob-text);
}

body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details {
  background: var(--sob-field-bg);
  border: 1px solid var(--sob-card-border);
  border-radius: 10px;
  border-collapse: collapse;
  overflow: hidden;
  width: 100%;
  margin-bottom: 20px;
}
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details th,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td {
  background: none;
  border: none;
  border-bottom: 1px solid var(--sob-card-border);
  padding: 10px 14px;
  font-size: 13px;
  color: var(--sob-text);
}
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details thead th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--sob-text-dim);
  font-weight: 600;
}
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tr:last-child td {
  border-bottom: none;
}

body.woocommerce-account .wc-block-order-confirmation-additional-fields-wrapper {
  background: var(--sob-field-bg);
  border: 1px solid var(--sob-card-border);
  border-radius: 10px;
  padding: 16px 18px;
  margin-top: 20px;
}


/* =========================================================
 * STRAUSSbar - Bestellansicht: Wunschlieferdatum-Box
 * (Card-Optik wie Adress-/Zusatzfelder-Boxen; Fallback-Werte, falls die
 *  --sob-*-Variablen ausserhalb von body.woocommerce-account nicht greifen.)
 * ========================================================= */
.sob-delivery-date-box,
.sob-customer-note-box,
.sob-sepa-box{
  background: var(--sob-field-bg, #FFFFFF);
  border: 1px solid var(--sob-card-border, #D6D6D9);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 24px 0;
}
.sob-delivery-date-box h2,
.sob-customer-note-box h2,
.sob-sepa-box h2{
  font-size: 15px;
  line-height: 1.3;
  margin: 0 0 6px;
  color: var(--sob-text, #1A1A1C);
}
.sob-delivery-date-box p,
.sob-customer-note-box p{
  margin: 0;
  font-size: 14px;
  color: var(--sob-text, #1A1A1C);
}
/* SEPA-Kachel: Hinweistext + Kontodaten (Label links, Wert rechts). */
.sob-sepa-box .sob-sepa-instr{
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--sob-text-dim, #5A5A5E);
}
.sob-sepa-box .sob-sepa-data{
  width: 100%;
  border-collapse: collapse;
}
.sob-sepa-box .sob-sepa-data th,
.sob-sepa-box .sob-sepa-data td{
  border: none;
  padding: 4px 0;
  font-size: 14px;
  vertical-align: top;
}
.sob-sepa-box .sob-sepa-data th{
  text-align: left;
  font-weight: 400;
  color: var(--sob-text-dim, #5A5A5E);
  white-space: nowrap;
  padding-right: 16px;
}
.sob-sepa-box .sob-sepa-data td{
  text-align: right;
  font-weight: 600;
  color: var(--sob-text, #1A1A1C);
}
/* Erste Karte (Danke-Seite) als Tabellenkopf: fette Ueberschriften, horizontale
   Linie darunter, Werte darunter, zentriert. Ersetzt die ul.woocommerce-order-overview. */
body.woocommerce-order-received table.sob-overview{
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 28px;
  background: var(--sob-field-bg);
  border: 1px solid var(--sob-card-border);
  border-radius: 10px;
  overflow: hidden;
}
body.woocommerce-order-received table.sob-overview th,
body.woocommerce-order-received table.sob-overview td{
  background: transparent;
}
body.woocommerce-order-received table.sob-overview th{
  text-align: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .4px;
  font-weight: 700;
  color: var(--sob-text);
  padding: 16px 20px 10px;
  border: 0;
  border-bottom: 1px solid var(--sob-card-border);
}
body.woocommerce-order-received table.sob-overview td{
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--sob-text);
  padding: 12px 20px 16px;
  border: 0;
}
/* Mobil: Uebersicht passt in die Breite, Datum bricht nicht um. */
@media (max-width: 600px){
  body.woocommerce-order-received table.sob-overview th{ padding: 14px 6px 8px; font-size: 10px; letter-spacing: .2px; }
  body.woocommerce-order-received table.sob-overview td{ padding: 10px 6px 14px; font-size: 13px; white-space: nowrap; }
}



/* =========================================================
 * STRAUSSbar - Bestellbestaetigung (Order-Received / "Danke"-Seite)
 * Design an den Fallback-Sales-Tunnel angeglichen (Post 26, Widget
 * 02ae11b): helle Karte (--sob-card) auf der dunklen Seite, analog zu
 * .sob-panel im Tunnel und zur bereits bestehenden Mein-Konto-Karte
 * (.woocommerce-MyAccount-content). Diese Seite traegt aber
 * body.woocommerce-order-received statt body.woocommerce-account,
 * daher eigener Block inkl. eigener --sob-*-Variablen (dort nur unter
 * body.woocommerce-account definiert).
 * ========================================================= */
body.woocommerce-order-received {
  --sob-card: #EDEDED;
  --sob-card-border: #D6D6D9;
  --sob-field-bg: #FFFFFF;
  --sob-field-border: #CBCBCE;
  --sob-text: #1A1A1C;
  --sob-text-dim: #5A5A5E;
  --sob-accent: #8FB84E;
  --sob-accent-dark: #12170A;
}

/* Gesamte Seite als eine Karte, wie .sob-panel im Sales-Tunnel */
body.woocommerce-order-received .woocommerce {
  background: var(--sob-card);
  border: 1px solid var(--sob-card-border);
  border-radius: 14px;
  padding: 28px 32px;
  max-width: 900px;
  margin: 40px auto;
}

/* Dank-Text */
body.woocommerce-order-received .woocommerce-thankyou-order-received {
  color: var(--sob-text);
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 24px;
}

/* Zahlung fehlgeschlagen - eigene Karte im order-received-Design */
body.woocommerce-order-received .sob-payment-failed {
  background: var(--sob-field-bg);
  border: 1px solid var(--sob-card-border);
  border-left: 4px solid #C0392B;
  border-radius: 10px;
  padding: 22px 24px;
  margin: 0;
}
body.woocommerce-order-received .sob-pf-title {
  font-size: 20px;
  font-weight: 600;
  color: #B3261E;
  margin: 0 0 10px;
}
body.woocommerce-order-received .sob-pf-text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--sob-text);
  margin: 0 0 18px;
}
body.woocommerce-order-received .sob-pf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 16px;
}
body.woocommerce-order-received .sob-pf-btn {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.3;
}
body.woocommerce-order-received .sob-pf-btn--primary {
  background: var(--sob-accent);
  color: var(--sob-accent-dark);
}
body.woocommerce-order-received .sob-pf-btn--primary:hover {
  filter: brightness(0.95);
}
body.woocommerce-order-received .sob-pf-btn--ghost {
  background: transparent;
  color: var(--sob-text);
  border: 1px solid var(--sob-card-border);
}
body.woocommerce-order-received .sob-pf-btn--ghost:hover {
  border-color: var(--sob-text-dim);
}
body.woocommerce-order-received .sob-pf-help {
  font-size: 13px;
  color: var(--sob-text-dim);
  margin: 0;
}
body.woocommerce-order-received .sob-pf-help a {
  color: var(--sob-accent);
  text-decoration: none;
}
body.woocommerce-order-received .sob-pf-help a:hover {
  text-decoration: underline;
}

/* Bestell-Kurzuebersicht (Bestellnummer/Datum/E-Mail/Gesamt/Zahlungsart),
   wie ein sob-addr-box/sob-input-Feld im Tunnel */
body.woocommerce-order-received ul.woocommerce-order-overview {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 32px;
  list-style: none;
  margin: 0 0 28px;
  padding: 18px 20px;
  background: var(--sob-field-bg);
  border: 1px solid var(--sob-card-border);
  border-radius: 10px;
}
body.woocommerce-order-received ul.woocommerce-order-overview li {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--sob-text-dim);
  margin: 0;
}
body.woocommerce-order-received ul.woocommerce-order-overview li strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--sob-text);
  margin-top: 3px;
}
/* Zahlungsart wird bereits in den Bestelldetails genannt -> aus der oberen
   Uebersichtskarte entfernen (analog E-Mail). */
body.woocommerce-order-received ul.woocommerce-order-overview li.woocommerce-order-overview__payment-method {
  display: none;
}
/* Da die Zahlungsart-Zeile ausgeblendet ist (bleibt aber :last-of-type), traegt
   GESAMT sonst weiter den WC-Core-Trenner (border-right) -> hier entfernen, damit
   kein ueberfluessiger Trenner nach dem jetzt letzten sichtbaren Eintrag steht. */
body.woocommerce-order-received ul.woocommerce-order-overview li.woocommerce-order-overview__total {
  border-right: none;
  padding-right: 0;
}

/* Ueberschriften: Haupttitel groesser (wie .sob-panel h2), Spalten-
   Titel klein/dezent (wie .sob-field-label im Tunnel) */
body.woocommerce-order-received .woocommerce-order-details__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--sob-text);
  margin: 28px 0 14px;
}
body.woocommerce-order-received .woocommerce-column__title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--sob-text-dim);
  margin: 0 0 8px;
}
body.woocommerce-order-received .wc-block-order-confirmation-additional-fields-wrapper h2,
body.woocommerce-order-received .wc-block-order-confirmation-additional-fields-wrapper h3 {
  font-size: 16px;
  margin: 0 0 10px;
  font-weight: 600;
  color: var(--sob-text);
}

/* Adressboxen (natives <address> Tag) */
body.woocommerce-order-received address {
  background: var(--sob-field-bg);
  border: 1px solid var(--sob-card-border);
  border-radius: 10px;
  padding: 16px 18px;
  font-style: normal;
  color: var(--sob-text);
  font-size: 13px;
  line-height: 1.6;
  display: block;
}
/* Rechnungsadresse + Lieferadresse/Abholort auf gleiche Hoehe: Spalten als Flexbox
   (gleiche Breite, stretch), <address> fuellt die Spaltenhoehe -> beide Karten gleich hoch. */
body.woocommerce-order-received .woocommerce-customer-details .col2-set,
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns--addresses {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
body.woocommerce-order-received .woocommerce-customer-details .col2-set > .woocommerce-column {
  flex: 1 1 240px;
  float: none;
  width: auto;
  margin: 0;
  display: flex;
  flex-direction: column;
}
body.woocommerce-order-received .woocommerce-customer-details .col2-set > .woocommerce-column address {
  flex: 1 1 auto;
}

/* Bestelldetails-Tabelle */
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details {
  background: var(--sob-field-bg);
  border: 1px solid var(--sob-card-border);
  border-radius: 10px;
  border-collapse: collapse;
  overflow: hidden;
  width: 100%;
  margin-bottom: 20px;
}
/* Harter Reset zuerst: WooCommerce/Theme-Standardrahmen auf th/td entfernen,
   sonst entstehen mit border-collapse:collapse teils doppelte/fehlende
   Linien (Mischung aus Default-Rahmen und eigenem border-bottom). */
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details th,
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td {
  border: none;
  border-bottom: 1px solid var(--sob-card-border);
  background: none;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--sob-text);
  text-align: left;
}
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details thead th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--sob-text-dim);
  font-weight: 600;
}
/* Zeilenlabels im Tabellenfuss (Zwischensumme/Lieferung/Gesamt/Zahlungsart/
   Anmerkung) sind <th>-Zellen, hatten bisher keine eigene Regel und erbten
   die helle Textfarbe der dunklen Seite (Kontrast ca. 1.5:1 auf Weiss). */
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details tfoot th {
  font-weight: 600;
  color: var(--sob-text);
}
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details tr:last-child th,
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details tr:last-child td {
  border-bottom: none;
}

/* Produktzeile: Menge vor den Produktnamen, Bild/Menge/Name als Flex-Reihe */
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name {
  display: flex;
  align-items: center;
  gap: 12px;
}
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name .german-market-product-image {
  order: 1;
  float: none;
  flex-shrink: 0;
}
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name strong.product-quantity {
  order: 2;
  flex-shrink: 0;
  color: var(--sob-text-dim);
  font-weight: 600;
}
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name a {
  order: 3;
  /* Der geerbte helle Gruenton (Linkfarbe der dunklen Seite) hatte auf
     Weiss nur ca. 1.7:1 Kontrast - hier ein dunkleres Gruen mit ca. 6:1. */
  color: #4E6824;
  font-weight: 500;
  text-decoration: none;
}
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name a:hover {
  text-decoration: underline;
}

/* Zusaetzliche Felder (z. B. USt-IdNr.) */
body.woocommerce-order-received .wc-block-order-confirmation-additional-fields-wrapper {
  background: var(--sob-field-bg);
  border: 1px solid var(--sob-card-border);
  border-radius: 10px;
  padding: 16px 18px;
  margin-top: 20px;
}

@media (max-width: 767px) {
  body.woocommerce-order-received .woocommerce {
    margin: 16px;
    padding: 20px;
  }
}


/* =========================================================
 * STRAUSSbar - order-pay ("Erneut bezahlen") im Karten-Design
 * (analog Danke-Seite / Sales-Tunnel: helle Karte auf der dunklen Seite)
 * ========================================================= */
body.woocommerce-order-pay {
  --sob-card: #EDEDED;
  --sob-card-border: #D6D6D9;
  --sob-field-bg: #FFFFFF;
  --sob-field-border: #CBCBCE;
  --sob-text: #1A1A1C;
  --sob-text-dim: #5A5A5E;
  --sob-accent: #8FB84E;
  --sob-accent-dark: #12170A;
}
/* Gesamte WC-Flaeche als eine helle Karte */
body.woocommerce-order-pay .woocommerce {
  background: var(--sob-card);
  border: 1px solid var(--sob-card-border);
  border-radius: 14px;
  padding: 28px 32px;
  max-width: 760px;
  margin: 40px auto;
  color: var(--sob-text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
body.woocommerce-order-pay .woocommerce h1,
body.woocommerce-order-pay .woocommerce h2,
body.woocommerce-order-pay .woocommerce h3 { color: var(--sob-text); }

/* Hinweis-/Fehlermeldung oben (Zahlung abgebrochen/fehlgeschlagen) */
body.woocommerce-order-pay .woocommerce-error,
body.woocommerce-order-pay .woocommerce-info,
body.woocommerce-order-pay .woocommerce-message {
  background: var(--sob-field-bg) !important;
  border: 1px solid var(--sob-card-border) !important;
  border-left: 4px solid #C0392B !important;
  border-radius: 10px !important;
  color: var(--sob-text) !important;
  padding: 15px 18px 15px 48px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  list-style: none !important;
  margin: 0 0 22px !important;
  box-shadow: none !important;
  position: relative !important;
}
body.woocommerce-order-pay .woocommerce-error::before,
body.woocommerce-order-pay .woocommerce-info::before,
body.woocommerce-order-pay .woocommerce-message::before {
  color: #C0392B !important;
  left: 18px !important;
  top: 16px !important;
  margin: 0 !important;
}
body.woocommerce-order-pay .woocommerce-notices-wrapper a { color: #4E6824; }

/* Order-Tabelle — identisch zu den Mail-/order-received-Vorlagen (.sob-order-table) */
body.woocommerce-order-pay table.sob-order-table {
  background: var(--sob-field-bg);
  border: 1px solid var(--sob-card-border);
  border-radius: 10px;
  border-collapse: collapse;
  overflow: hidden;
  width: 100%;
  margin: 0 0 24px;
  color: var(--sob-text);
}
body.woocommerce-order-pay .sob-order-table th,
body.woocommerce-order-pay .sob-order-table td {
  border: none;
  background: none;
  padding: 12px 0;
  font-size: 14px;
  color: var(--sob-text);
  text-align: left;
  vertical-align: middle;
}
body.woocommerce-order-pay .sob-order-table td:first-child,
body.woocommerce-order-pay .sob-order-table th:first-child { padding-left: 18px; }
body.woocommerce-order-pay .sob-order-table td:last-child,
body.woocommerce-order-pay .sob-order-table th:last-child { padding-right: 18px; }
body.woocommerce-order-pay .sob-order-table thead th {
  color: var(--sob-text); font-weight: 600; font-size: 13px;
  border-bottom: 1px solid var(--sob-card-border); padding-bottom: 10px;
}
body.woocommerce-order-pay .sob-order-table th.sob-ot-price,
body.woocommerce-order-pay .sob-order-table td.sob-ot-price { text-align: right; white-space: nowrap; padding-left: 16px; }
body.woocommerce-order-pay .sob-order-table th.sob-ot-thumb,
body.woocommerce-order-pay .sob-order-table td.sob-ot-thumb { width: 48px; padding-right: 12px; }
body.woocommerce-order-pay .sob-order-table td.sob-ot-thumb img { border-radius: 6px; display: block; width: 48px; height: 48px; object-fit: cover; }
body.woocommerce-order-pay .sob-order-table td.sob-ot-prod { font-weight: 400; }
body.woocommerce-order-pay .sob-order-table td.sob-ot-prod a { color: #4E6824; text-decoration: none; font-weight: 500; }
body.woocommerce-order-pay .sob-order-table .sob-ot-qtyprefix { font-weight: 700; color: var(--sob-text); white-space: nowrap; }
body.woocommerce-order-pay .sob-order-table .sob-ot-meta { font-weight: 400; color: var(--sob-text-dim); font-size: 13px; margin-top: 2px; }
body.woocommerce-order-pay .sob-order-table tbody td { border-bottom: 1px solid var(--sob-card-border); }
body.woocommerce-order-pay .sob-order-table td.sob-ot-price .amount,
body.woocommerce-order-pay .sob-order-table .sob-ot-total-value .amount { font-weight: 700; color: var(--sob-text); }
body.woocommerce-order-pay .sob-order-table .product-tax,
body.woocommerce-order-pay .sob-order-table .wgm-tax,
body.woocommerce-order-pay .sob-order-table .includes_tax,
body.woocommerce-order-pay .sob-order-table small,
body.woocommerce-order-pay .sob-order-table .tax_label {
  display: block; white-space: nowrap; line-height: 1.4;
  font-size: 12px; color: var(--sob-text-dim); font-weight: 400; margin: 4px 0 0;
}
/* Aufgeteilte USt (7%/19%): GMs <br class=wgm-break> mit display:block wuerde doppelt umbrechen */
body.woocommerce-order-pay .sob-order-table .wgm-break { display: none; }
body.woocommerce-order-pay .sob-order-table td.sob-ot-price .product-tax .amount,
body.woocommerce-order-pay .sob-order-table .sob-ot-total-value .wgm-tax .amount,
body.woocommerce-order-pay .sob-order-table .sob-ot-total-value .includes_tax .amount { font-weight: 400; }
body.woocommerce-order-pay .sob-order-table tfoot .sob-ot-total-label { font-weight: 600; color: var(--sob-text); text-align: left; }
body.woocommerce-order-pay .sob-order-table tfoot .sob-ot-total-value { text-align: right; white-space: nowrap; font-weight: 600; }
body.woocommerce-order-pay .sob-order-table tfoot .sob-ot-total-first th,
body.woocommerce-order-pay .sob-order-table tfoot .sob-ot-total-first td { padding-top: 14px; }
body.woocommerce-order-pay .sob-order-table tfoot tr:last-child th,
body.woocommerce-order-pay .sob-order-table tfoot tr:last-child td { padding-bottom: 4px; }

/* Zahlungsmethoden */
body.woocommerce-order-pay ul.payment_methods,
body.woocommerce-order-pay ul.wc_payment_methods {
  list-style: none; margin: 0 0 20px; padding: 0; border: none;
  /* Abstand zwischen den Zahlarten robust ueber gap (li-margin wird von WC/ppcp ueberschrieben) */
  display: flex; flex-direction: column; gap: 16px;
}
body.woocommerce-order-pay ul.payment_methods li {
  background: var(--sob-field-bg);
  border: 1px solid var(--sob-card-border);
  border-radius: 10px;
  margin: 0;
  padding: 14px 16px;
  list-style: none;
  cursor: pointer;
  transition: .15s;
  /* Flex: Radio + Label in einer Zeile (Label fuellt -> ganze Flaeche klickbar),
     Payment-Box umbricht darunter auf volle Breite. */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
}
body.woocommerce-order-pay ul.payment_methods li:hover { border-color: #9a9a9e; }
/* Ausgewaehlte Zahlart hervorheben (wie im Tunnel: gruener Rand + hellgruener BG) */
body.woocommerce-order-pay ul.payment_methods li:has(input[type=radio]:checked) {
  border-color: var(--sob-accent);
  background: rgba(143, 184, 78, 0.15);
}
body.woocommerce-order-pay ul.payment_methods li > label {
  color: var(--sob-text); font-weight: 500; font-size: 14px; cursor: pointer;
  flex: 1 1 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin: 0;
}
body.woocommerce-order-pay ul.payment_methods li input[type=radio] {
  accent-color: var(--sob-accent); margin-right: 10px; flex: 0 0 auto;
}
/* Zahlart-Logos (PayPal/SEPA via woocommerce_gateway_icon, Kreditkarte via secupay) einheitlich rechts */
body.woocommerce-order-pay ul.payment_methods li > label img {
  height: 22px; width: auto; margin: 0; flex: 0 0 auto; display: inline-block; vertical-align: middle;
}
/* Payment-Box unter Radio+Label auf voller Breite */
body.woocommerce-order-pay ul.payment_methods li > .payment_box { flex: 0 0 100%; width: 100%; }

/* PayPal-Smart-Button (silber) auf hellem Grund umranden, damit er erkennbar ist.
   border-radius:999px -> Pille (Radius = Hoehe/2, passt sich der Buttonhoehe an). */
body.woocommerce-order-pay #ppc-button-ppcp-gateway {
  border: 1px solid #9a9a9e;
  border-radius: 999px;
  padding: 2px;
  box-sizing: border-box;
  background: var(--sob-field-bg);
}

/* SEPA-Zustimmungen im order-pay-SEPA-Formular (Mandat + Fristverkuerzung) */
body.woocommerce-order-pay .sob-op-consents { margin: 14px 0 2px; display: flex; flex-direction: column; gap: 10px; }
body.woocommerce-order-pay .sob-op-consent {
  display: flex; gap: 8px; align-items: flex-start;
  font-size: 12px; line-height: 1.45; color: var(--sob-text); cursor: pointer; font-weight: 400;
}
body.woocommerce-order-pay .sob-op-consent input[type=checkbox] {
  margin-top: 2px; flex-shrink: 0; accent-color: var(--sob-accent); width: auto;
}
body.woocommerce-order-pay .sob-op-consent .required { color: #C0392B; }
body.woocommerce-order-pay .sob-op-error {
  margin: 12px 0 0; padding: 10px 14px; border-radius: 8px;
  background: rgba(192,57,43,0.08); border: 1px solid rgba(192,57,43,0.35);
  color: #C0392B; font-size: 13px; line-height: 1.45;
}
/* Payment-Box (Beschreibung + Zahlfelder) neutral in die weisse Option einbetten */
body.woocommerce-order-pay .payment_box {
  background: transparent !important;
  color: var(--sob-text-dim) !important;
  border: none !important;
  border-radius: 0 !important;
  margin: 12px 0 0 !important;
  padding: 0 !important;
  font-size: 13px;
  box-shadow: none !important;
}
body.woocommerce-order-pay .payment_box::before { display: none !important; }
body.woocommerce-order-pay .payment_box p { color: var(--sob-text-dim); }
body.woocommerce-order-pay .payment_box label { color: var(--sob-text); font-size: 13px; }
/* Zahlfelder (IBAN, Kontoinhaber, BIC ...) */
body.woocommerce-order-pay .payment_box input[type=text],
body.woocommerce-order-pay .payment_box input[type=email],
body.woocommerce-order-pay .payment_box input[type=tel],
body.woocommerce-order-pay .payment_box input[type=number],
body.woocommerce-order-pay .payment_box select {
  background: var(--sob-field-bg);
  border: 1px solid var(--sob-field-border);
  border-radius: 8px;
  color: var(--sob-text);
  padding: 10px 12px;
  font-size: 15px;
  width: 100%;
  box-sizing: border-box;
  margin-top: 4px;
}
body.woocommerce-order-pay .payment_box input:focus,
body.woocommerce-order-pay .payment_box select:focus { border-color: var(--sob-accent); outline: none; }

/* Bezahlen-Button */
body.woocommerce-order-pay #order_review #payment div.form-row,
body.woocommerce-order-pay .form-row.place-order { margin-top: 8px; }
body.woocommerce-order-pay #place_order,
body.woocommerce-order-pay button#place_order {
  background: var(--sob-accent) !important;
  color: var(--sob-accent-dark) !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 13px 26px !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  cursor: pointer;
  box-shadow: none !important;
  text-shadow: none !important;
}
body.woocommerce-order-pay #place_order:hover,
body.woocommerce-order-pay button#place_order:hover { filter: brightness(0.95); }
/* Zahlungsbereich: purpurstichigen WC/Theme-Hintergrund entfernen -> Optionen liegen
   frei auf der hellen Karte (wie im Tunnel). */
body.woocommerce-order-pay #payment {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}
body.woocommerce-order-pay #payment > .form-row,
body.woocommerce-order-pay #payment .place-order { padding: 0 !important; }
/* AGB/Terms-Text hatte weisse (dunkle-Seite-)Schrift -> auf hellem BG unlesbar. Dunkel setzen. */
body.woocommerce-order-pay .woocommerce-terms-and-conditions-wrapper,
body.woocommerce-order-pay .wc-terms-and-conditions,
body.woocommerce-order-pay .woocommerce-terms-and-conditions-checkbox-text,
body.woocommerce-order-pay label.woocommerce-form__label-for-checkbox,
body.woocommerce-order-pay #payment .form-row,
body.woocommerce-order-pay #payment label { color: var(--sob-text) !important; }
body.woocommerce-order-pay .woocommerce-terms-and-conditions-checkbox-text a,
body.woocommerce-order-pay #payment a { color: #4E6824 !important; font-weight: 500; }
body.woocommerce-order-pay #payment input[type=checkbox] { accent-color: var(--sob-accent); }
body.woocommerce-order-pay .validate-required label .required { color: #C0392B; }

/* Login-Formular auf order-pay UND order-received (erscheint, wenn die Bestellung einem
   Kundenkonto gehört und der Besucher nicht eingeloggt ist) - Karten-Design statt WC-Standard
   (dunkle Felder). Beide Body-Klassen definieren die --sob-*-Variablen. */
body.woocommerce-order-pay form.woocommerce-form-login,
body.woocommerce-order-received form.woocommerce-form-login {
  background: var(--sob-field-bg);
  border: 1px solid var(--sob-card-border);
  border-radius: 10px;
  padding: 22px 22px 18px;
  margin: 0 0 8px;
  color: var(--sob-text);
  max-width: 100%;
}
body.woocommerce-order-pay form.woocommerce-form-login p,
body.woocommerce-order-pay form.woocommerce-form-login label,
body.woocommerce-order-received form.woocommerce-form-login p,
body.woocommerce-order-received form.woocommerce-form-login label {
  color: var(--sob-text) !important;
}
body.woocommerce-order-pay form.woocommerce-form-login label,
body.woocommerce-order-received form.woocommerce-form-login label {
  font-size: 13px; font-weight: 500; display: block; margin: 0 0 4px;
}
body.woocommerce-order-pay form.woocommerce-form-login input[type=text],
body.woocommerce-order-pay form.woocommerce-form-login input[type=email],
body.woocommerce-order-pay form.woocommerce-form-login input[type=password],
body.woocommerce-order-received form.woocommerce-form-login input[type=text],
body.woocommerce-order-received form.woocommerce-form-login input[type=email],
body.woocommerce-order-received form.woocommerce-form-login input[type=password] {
  background: var(--sob-field-bg) !important;
  border: 1px solid var(--sob-field-border) !important;
  border-radius: 8px !important;
  color: var(--sob-text) !important;
  padding: 10px 12px !important;
  font-size: 15px;
  width: 100%;
  box-sizing: border-box;
}
body.woocommerce-order-pay form.woocommerce-form-login button[type=submit],
body.woocommerce-order-pay form.woocommerce-form-login .woocommerce-form-login__submit,
body.woocommerce-order-received form.woocommerce-form-login button[type=submit],
body.woocommerce-order-received form.woocommerce-form-login .woocommerce-form-login__submit {
  background: var(--sob-accent) !important;
  color: var(--sob-accent-dark) !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 10px 22px !important;
  font-weight: 600 !important;
  text-transform: none;
  cursor: pointer;
  box-shadow: none;
}
body.woocommerce-order-pay form.woocommerce-form-login .woocommerce-form-login__rememberme,
body.woocommerce-order-pay form.woocommerce-form-login .woocommerce-form-login__rememberme span,
body.woocommerce-order-received form.woocommerce-form-login .woocommerce-form-login__rememberme,
body.woocommerce-order-received form.woocommerce-form-login .woocommerce-form-login__rememberme span {
  color: var(--sob-text) !important; font-weight: 400;
}
body.woocommerce-order-pay form.woocommerce-form-login input[type=checkbox],
body.woocommerce-order-received form.woocommerce-form-login input[type=checkbox] { accent-color: var(--sob-accent); }
body.woocommerce-order-pay .woocommerce-LostPassword a,
body.woocommerce-order-pay form.woocommerce-form-login a,
body.woocommerce-order-received .woocommerce-LostPassword a,
body.woocommerce-order-received form.woocommerce-form-login a { color: #4E6824 !important; font-weight: 500; }

@media (max-width: 767px) {
  body.woocommerce-order-pay .woocommerce { margin: 16px; padding: 20px; }
}


/* =========================================================
 * STRAUSSbar - Mein Konto: "Abmelden" losgeloest am unteren Rand der Navigation
 * (Sidebar wird per align-items:stretch auf Inhaltshoehe gestreckt, daher schiebt
 *  margin-top:auto den Logout-Punkt ans untere Ende; Trennlinie zur optischen Abloesung.)
 * ========================================================= */
body.woocommerce-account .woocommerce-MyAccount-navigation {
  display: flex;
  flex-direction: column;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul {
  flex: 1 1 auto;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--sob-card-border);
}


/* =========================================================
 * STRAUSSbar - Mein Konto: Dashboard-Ueberblick (Karten im --sob-*-Look)
 * ========================================================= */
body.woocommerce-account .sob-dash-hello {
  font-size: 15px;
  color: var(--sob-text);
  margin: 0 0 18px;
}
body.woocommerce-account .sob-dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
body.woocommerce-account .sob-dash-card {
  background: var(--sob-field-bg);
  border: 1px solid var(--sob-card-border);
  border-radius: 10px;
  padding: 16px 18px;
}
body.woocommerce-account .sob-dash-orders {
  grid-column: 1 / -1;
}
body.woocommerce-account .sob-dash-card h3 {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--sob-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: .3px;
}
body.woocommerce-account a.sob-dash-link {
  font-size: 12px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--sob-accent-dark);
  background: var(--sob-accent);
  padding: 3px 10px;
  border-radius: 8px;
  text-decoration: none;
}
body.woocommerce-account .sob-dash-address {
  font-style: normal;
  font-size: 14px;
  color: var(--sob-text);
  line-height: 1.5;
}
body.woocommerce-account .sob-dash-payment,
body.woocommerce-account .sob-dash-account {
  font-size: 14px;
  color: var(--sob-text);
  margin: 0;
  line-height: 1.5;
}
body.woocommerce-account .sob-dash-dim {
  color: var(--sob-text-dim);
  font-size: 13px;
}
body.woocommerce-account .sob-dash-empty {
  color: var(--sob-text-dim);
  font-size: 14px;
  margin: 0;
}
/* Bestellliste */
body.woocommerce-account .sob-dash-orderlist {
  list-style: none;
  margin: 0;
  padding: 0;
}
body.woocommerce-account .sob-dash-orderrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--sob-card-border);
}
body.woocommerce-account .sob-dash-orderrow:last-child {
  border-bottom: none;
}
body.woocommerce-account a.sob-dash-ordernr {
  font-weight: 600;
  color: var(--sob-text);
  text-decoration: none;
  min-width: 72px;
}
body.woocommerce-account a.sob-dash-ordernr:hover {
  color: var(--sob-accent-dark);
}
body.woocommerce-account .sob-dash-orderdate {
  font-size: 13px;
  color: var(--sob-text-dim);
}
body.woocommerce-account .sob-dash-orderstatus {
  font-size: 13px;
  color: var(--sob-text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
body.woocommerce-account .sob-dash-ordertotal {
  margin-left: auto;
  font-weight: 600;
  color: var(--sob-text);
}
body.woocommerce-account .sob-dash-orderstatus .sob-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #b5b5b8;
  display: inline-block;
  flex: 0 0 auto;
}
/* Status-Farben – identisch zur Bestelltabelle */
body.woocommerce-account .sob-status--completed .sob-dot { background: var(--sob-accent); }
body.woocommerce-account .sob-status--processing .sob-dot { background: #5b8fd4; }
body.woocommerce-account .sob-status--on-hold .sob-dot,
body.woocommerce-account .sob-status--pending .sob-dot,
body.woocommerce-account .sob-status--check-payment .sob-dot { background: #e0a530; }
body.woocommerce-account .sob-status--cancelled .sob-dot,
body.woocommerce-account .sob-status--refunded .sob-dot { background: #b5b5b8; }
body.woocommerce-account .sob-status--failed .sob-dot,
body.woocommerce-account .sob-status--payment-issue .sob-dot { background: #d1264a; }


/* =========================================================
 * STRAUSSbar - Dashboard: Buttons (Passwort aendern / Vertrag widerrufen)
 * Farben mit !important gegen Theme-Link-Styles abgesichert.
 * ========================================================= */
body.woocommerce-account .sob-dash-btnrow {
  margin: 4px 0 0;
}
body.woocommerce-account a.sob-dash-btn {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 8px;
  text-decoration: none;
  background: var(--sob-accent) !important;
  color: var(--sob-accent-dark) !important;
  border: 1px solid var(--sob-accent);
  transition: border-color .15s;
}
body.woocommerce-account a.sob-dash-btn:hover,
body.woocommerce-account a.sob-dash-btn:focus {
  background: var(--sob-accent) !important;
  color: var(--sob-accent-dark) !important;
  border-color: var(--sob-accent-dark);
}
body.woocommerce-account a.sob-dash-btn--ghost {
  background: #fff !important;
  color: var(--sob-text) !important;
  border: 1px solid var(--sob-field-border);
}
body.woocommerce-account a.sob-dash-btn--ghost:hover,
body.woocommerce-account a.sob-dash-btn--ghost:focus {
  background: #fff !important;
  color: var(--sob-text) !important;
  border-color: var(--sob-text);
}


/* =========================================================
 * STRAUSSbar - Dashboard: Nachjustierung
 * - mehr Abstand zwischen Text und Button
 * - "Wechseln"-Links als kompaktes Icon
 * ========================================================= */
body.woocommerce-account .sob-dash-btnrow {
  margin-top: 14px;
}
body.woocommerce-account a.sob-dash-iconlink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--sob-accent) !important;
  color: var(--sob-accent-dark) !important;
  border: 1px solid var(--sob-accent);
  text-decoration: none;
  transition: border-color .15s;
}
body.woocommerce-account a.sob-dash-iconlink:hover,
body.woocommerce-account a.sob-dash-iconlink:focus {
  background: var(--sob-accent) !important;
  color: var(--sob-accent-dark) !important;
  border-color: var(--sob-accent-dark);
}
body.woocommerce-account a.sob-dash-iconlink svg {
  width: 15px;
  height: 15px;
  display: block;
}


/* =========================================================
 * STRAUSSbar - Dashboard: Buttons (Passwort / Vertrag widerrufen) auf gleiche Hoehe.
 * Karten werden Flex-Spalten; der Button-Absatz wird ans untere Ende geschoben
 * (margin-top:auto). Da benachbarte Grid-Karten gleich hoch sind, liegen beide
 * Buttons auf identischer Hoehe. padding-top sichert einen Mindestabstand zum Text.
 * ========================================================= */
body.woocommerce-account .sob-dash-card {
  display: flex;
  flex-direction: column;
}
body.woocommerce-account .sob-dash-btnrow {
  margin-top: auto;
  padding-top: 14px;
}


/* =========================================================
 * STRAUSSbar - Dashboard: Wechsel-Icon deaktiviert (nur eine Adresse dieses Typs).
 * Gleiche Maße/Form wie das aktive Icon, aber ausgegraut und nicht klickbar.
 * ========================================================= */
body.woocommerce-account .sob-dash-iconlink--disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--sob-card-border) !important;
  color: var(--sob-text-dim) !important;
  border: 1px solid var(--sob-card-border) !important;
  opacity: .5;
  cursor: default;
  pointer-events: none;
  vertical-align: middle;
  text-decoration: none;
}
body.woocommerce-account .sob-dash-iconlink--disabled svg {
  width: 15px;
  height: 15px;
  display: block;
}


/* =========================================================
 * STRAUSSbar - Dashboard: deaktiviertes Wechsel-Icon soll den title-Tooltip zeigen.
 * pointer-events:none hatte den nativen Tooltip unterdrückt. Der <span> ist ohnehin
 * kein Link -> Maus-Events wieder zulassen, aber optisch weiter als "inaktiv" markieren.
 * ========================================================= */
body.woocommerce-account .sob-dash-iconlink--disabled {
  pointer-events: auto;
  cursor: not-allowed;
}


/* =========================================================
 * STRAUSSbar - Dashboard: sofort erscheinender Tooltip fuer das deaktivierte
 * Wechsel-Icon (statt des verzoegerten nativen title-Tooltips). Nutzt data-tooltip.
 * ========================================================= */
body.woocommerce-account .sob-dash-iconlink--disabled {
  position: relative;
}
body.woocommerce-account .sob-dash-iconlink--disabled[data-tooltip]:hover::after,
body.woocommerce-account .sob-dash-iconlink--disabled[data-tooltip]:focus::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--sob-accent-dark, #12170A);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  width: max-content;
  max-width: 200px;
  text-align: center;
  white-space: normal;
  padding: 6px 9px;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.22);
  z-index: 20;
  pointer-events: none;
}
body.woocommerce-account .sob-dash-iconlink--disabled[data-tooltip]:hover::before,
body.woocommerce-account .sob-dash-iconlink--disabled[data-tooltip]:focus::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 3px);
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--sob-accent-dark, #12170A);
  z-index: 20;
  pointer-events: none;
}


/* =========================================================
 * STRAUSSbar - Bestellbestätigung/Bestelldetails: Zustimmungs-Sektion.
 * Eigene Karte mit garantiert dunklem Text auf hellem Hintergrund (Fallbacks),
 * damit auf der dunklen Order-Received-Seite ausreichend Kontrast besteht –
 * analog zur .sob-delivery-date-box. Wirkt auf Bestellbestätigung UND
 * Mein-Konto-Bestelldetails.
 * ========================================================= */
.straussbar-consents-box {
  background: var(--sob-field-bg, #FFFFFF);
  border: 1px solid var(--sob-card-border, #D6D6D9);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 24px 0 0;
}
.straussbar-consents-box h2 {
  font-size: 15px;
  line-height: 1.3;
  margin: 0 0 8px;
  color: var(--sob-text, #1A1A1C);
}
.straussbar-consents-box ul {
  margin: 0;
  padding-left: 18px;
}
.straussbar-consents-box li {
  font-size: 14px;
  line-height: 1.5;
  color: var(--sob-text, #1A1A1C);
}

/* =========================================================
 * STRAUSSbar - Bestellbestätigung/Bestelldetails: Grußkartentext-Container.
 * Eigene Karte mit garantiert dunklem Text auf hellem Hintergrund (Fallbacks),
 * damit auf der dunklen Order-Received-Seite ausreichend Kontrast besteht.
 * ========================================================= */
.straussbar-greeting-box {
  background: var(--sob-field-bg, #FFFFFF);
  border: 1px solid var(--sob-card-border, #D6D6D9);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 24px 0 0;
}
.straussbar-greeting-box h2 {
  font-size: 15px;
  line-height: 1.3;
  margin: 0 0 6px;
  color: var(--sob-text, #1A1A1C);
}
.straussbar-greeting-box p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--sob-text, #1A1A1C);
}

/* =========================================================
 * STRAUSSbar - Mein Konto (view-order): Produktzeile wie auf der Bestellbestätigung
 * (Menge vor den Produktnamen, Bild/Menge/Name als Flex-Reihe). Die order-received-
 * Regeln greifen nur auf body.woocommerce-order-received; hier dasselbe für
 * body.woocommerce-account.
 * ========================================================= */
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name {
  display: flex;
  align-items: center;
  gap: 12px;
}
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name .german-market-product-image {
  order: 1;
  float: none;
  flex-shrink: 0;
}
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name strong.product-quantity {
  order: 2;
  flex-shrink: 0;
  font-weight: 600;
}
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name a {
  order: 3;
  font-weight: 500;
  text-decoration: none;
}
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name a:hover {
  text-decoration: underline;
}

/* =========================================================
 * STRAUSSbar - Mein Konto (view-order): Produktzeile wie auf der Bestellbestätigung
 * (Menge vor den Produktnamen, Bild/Menge/Name als Flex-Reihe). Die order-received-
 * Regeln greifen nur auf body.woocommerce-order-received; hier dasselbe für
 * body.woocommerce-account.
 * ========================================================= */
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name {
  display: flex;
  align-items: center;
  gap: 12px;
}
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name .german-market-product-image {
  order: 1;
  float: none;
  flex-shrink: 0;
}
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name strong.product-quantity {
  order: 2;
  flex-shrink: 0;
  font-weight: 600;
}
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name a {
  order: 3;
  font-weight: 500;
  text-decoration: none;
}
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name a:hover {
  text-decoration: underline;
}


/* =========================================================
 * STRAUSSbar - Mein Konto (ausgeloggt): Login-/Registrieren-Container.
 * Die Formulare liegen in #customer_login .u-column1/.u-column2 OHNE eigenen
 * Hintergrund -> auf der dunklen Seite standen dunkler Text/Labels kontrastarm.
 * Als helle Karten mit dunklem Text (Fallbacks) -> garantierter Kontrast.
 * ========================================================= */
body.woocommerce-account #customer_login.u-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: flex-start;
}
body.woocommerce-account #customer_login .u-column1,
body.woocommerce-account #customer_login .u-column2 {
  flex: 1 1 300px;
  min-width: 0;
  background: var(--sob-field-bg, #FFFFFF);
  border: 1px solid var(--sob-card-border, #D6D6D9);
  border-radius: 12px;
  padding: 22px 24px;
  box-sizing: border-box;
  color: var(--sob-text, #1A1A1C);
}
body.woocommerce-account #customer_login h2,
body.woocommerce-account #customer_login label,
body.woocommerce-account #customer_login p,
body.woocommerce-account #customer_login a {
  color: var(--sob-text, #1A1A1C);
}
body.woocommerce-account #customer_login .woocommerce-LostPassword a {
  color: var(--sob-accent-dark, #12170A);
  text-decoration: underline;
}

/* =========================================================
 * STRAUSSbar - Login-Screen (ausgeloggt): grauen Wrapper entfernen + beide
 * Boxen (Anmelden/Registrieren) gleich groß. Der .woocommerce-Wrapper ist als
 * graue Karte für die EINGELOGGTE Ansicht (Nav + Inhalt) gedacht; auf der
 * Login-Seite (body ohne .logged-in) soll er neutral/transparent sein.
 * ========================================================= */
body.woocommerce-account:not(.logged-in) .woocommerce {
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
  display: block !important;
  padding: 0 !important;
}
body.woocommerce-account:not(.logged-in) #customer_login.u-columns {
  align-items: stretch;
}
body.woocommerce-account:not(.logged-in) #customer_login .u-column1,
body.woocommerce-account:not(.logged-in) #customer_login .u-column2 {
  flex: 1 1 0 !important;
}

/* =========================================================
 * STRAUSSbar - Login-Screen: Abstand zwischen Checkbox und Text
 * (Datenschutz-Checkbox im Registrieren-Container). Label als Flex-Zeile mit Gap,
 * Checkbox an der ersten Textzeile ausgerichtet.
 * ========================================================= */
body.woocommerce-account #customer_login .woocommerce-form__label-for-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
body.woocommerce-account #customer_login .woocommerce-form__label-for-checkbox input[type="checkbox"] {
  margin: 3px 0 0 0;
  flex-shrink: 0;
}

/* =========================================================
 * STRAUSSbar - Login-Screen: Checkbox mittig zur ERSTEN Textzeile.
 * Überschreibt den vorherigen Flex/oben-Ansatz: Label wieder inline (block),
 * Checkbox inline mit vertical-align:middle -> sitzt vertikal mittig auf der
 * ersten Zeile; 10px Abstand zum Text bleibt.
 * ========================================================= */
body.woocommerce-account #customer_login .woocommerce-form__label-for-checkbox {
  display: block !important;
  align-items: initial !important;
  gap: 0 !important;
}
body.woocommerce-account #customer_login .woocommerce-form__label-for-checkbox input[type="checkbox"] {
  display: inline-block !important;
  vertical-align: middle !important;
  margin: 0 10px 0 0 !important;
}
body.woocommerce-account #customer_login .woocommerce-form__label-for-checkbox > span {
  vertical-align: middle !important;
}

/* =========================================================
 * STRAUSSbar – View-Order (Konto-Bestellansicht): Artikelbezeichnungen
 * schwarz statt grün und ohne Link-/Hover-Verhalten (nicht klickbar).
 * ========================================================= */
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name a,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.woocommerce-table__product-name a,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name a:hover,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.woocommerce-table__product-name a:hover,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name a:focus {
  color: var(--sob-text, #1A1A1C) !important;
  text-decoration: none !important;
  pointer-events: none !important;
  cursor: default !important;
}

/* =========================================================
 * STRAUSSbar – Bestellbestätigung (order-received): Variantengröße rechts
 * Die Größe (ul.wc-item-meta) hatte keine eigene Regel und stand durch die
 * Flex-order-Reihenfolge sogar links vor dem Bild. Jetzt rechts ausgerichtet.
 * Bild bleibt links (order:1), pro Bestellposition eine Zeile -> Vorschaubilder
 * bleiben bei mehreren Artikeln untereinander gestapelt.
 * ========================================================= */
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name {
  flex-wrap: wrap;
}
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name ul.wc-item-meta {
  order: 4;
  margin: 0 0 0 auto;      /* nach rechts schieben */
  padding: 0;
  list-style: none;
  text-align: right;
  flex-shrink: 0;
  font-size: 12px;
  color: var(--sob-text-dim);
}
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name ul.wc-item-meta li {
  margin: 0;
  list-style: none;
}
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name ul.wc-item-meta .wc-item-meta-label {
  font-weight: 600;
  margin-right: 4px;
}
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name ul.wc-item-meta p {
  display: inline;
  margin: 0;
}

/* =========================================================
 * STRAUSSbar – Bestellbestätigung (order-received) UND Konto-Bestellansicht
 * (view-order): Variantenmerkmal (Größe) DIREKT UNTER dem Artikelnamen.
 * Grid: Bild links (über beide Zeilen), Menge, Name oben, Größe darunter.
 * Pro Position eine Tabellenzeile -> Bilder bleiben untereinander gestapelt.
 * ========================================================= */
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name {
  display: grid !important;
  grid-template-columns: auto auto 1fr;
  grid-template-areas:
    "img qty name"
    "img qty meta";
  align-items: center;
  column-gap: 12px;
  row-gap: 2px;
}
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name .german-market-product-image,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name .german-market-product-image {
  grid-area: img;
}
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name strong.product-quantity,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name strong.product-quantity {
  grid-area: qty;
}
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name > a,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name > a {
  grid-area: name;
  align-self: end;
}
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name ul.wc-item-meta,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name ul.wc-item-meta {
  grid-area: meta;
  align-self: start;
  order: 0 !important;
  margin: 0 !important;
  padding: 0;
  list-style: none;
  text-align: left;
  font-size: 12px;
  color: var(--sob-text-dim);
}
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name ul.wc-item-meta li,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name ul.wc-item-meta li { margin: 0; list-style: none; }
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name ul.wc-item-meta p,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name ul.wc-item-meta p { display: inline; margin: 0; }
/* OHNE Variantenmerkmal (keine wc-item-meta): einzeilige Reihe, Artikelname vertikal
   zentriert zu Bild + Menge (sonst reserviert die leere Meta-Zeile Platz und der Name
   rutscht nach oben). :has() = moderne Browser. */
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name:not(:has(ul.wc-item-meta)),
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name:not(:has(ul.wc-item-meta)) {
  grid-template-areas: "img qty name" !important;
}
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name:not(:has(ul.wc-item-meta)) > a,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name:not(:has(ul.wc-item-meta)) > a {
  align-self: center;
}


/* =========================================================
 * STRAUSSbar - Responsive Content-Breite-System (2026-07-23)
 * Einheitliche Breakpoints (als Konstanten dokumentiert, da @media kein var() kann):
 *   Mobile     <= 767        Tablet     768 - 1024
 *   Laptop     1025 - 1366   Desktop    1367 - 1919
 *   Widescreen 1920 - 2559   Ultrawide  >= 2560
 *
 * Elementor-Boxed-Container: --content-width = min(100%, var(--container-max-width)).
 * Basis kommt aus Kit #6 (post-6.css) auf .e-con:
 *   Desktop 1440 / Tablet 1024 / Mobile 767  (Elementor-nativ, nach unten).
 * Hier NUR die oberen Stufen ergaenzt: wir heben --container-max-width an,
 * NICHT --content-width direkt. Container mit eigener Breite (z.B. 1280px, 90%-Hero;
 * Spezifitaet 0,3,0) setzen --content-width selbst und bleiben unberuehrt -
 * nur die Default-Container (min(100%,1440)) skalieren mit.
 * ========================================================= */
@media (min-width: 1920px) {   /* Widescreen */
  .e-con { --container-max-width: 1600px; }
}
@media (min-width: 2560px) {   /* Ultrawide */
  .e-con { --container-max-width: 1800px; }
}

/* =========================================================
 * Tunnel-Footer: "Zurueck"-Button auf gleiche Hoehe wie die
 * Weiter-/Aktions-Buttons bringen. .sob-btn-back war intrinsisch
 * ~71px (Alt-Regel), .sob-btn-next/-secondary sind 45px -> in
 * jeder Zurueck+Weiter-Zeile (Extras/Adressen/Versand/Zahlarten/
 * Bestellen) sichtbarer Hoehenversatz. Gilt tunnelweit.
 * ========================================================= */
.sob-panel .sob-footer .sob-btn-back {
  height: 45px;
  min-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-top: 0;
  padding-bottom: 0;
  line-height: normal;
}
/* Leere Extras-Meldung reserviert sonst ~18px und schiebt die
 * rechten Buttons aus der Linie mit "Zurueck". Nur bei echter
 * Meldung (z.B. Bestandsfehler) einblenden. */
#sob-extras-msg:empty { display: none; }

/* ---------------------------------------------------------------------------
 * Lange Zeichenketten in Fliesstexten umbrechen (01.08.2026)
 *
 * In den Rechtstexten stehen ungekuerzte URLs, z.B.
 * https://www.paypal.com/de/webapps/mpp/ua/privacy-full (510px breit). Ohne
 * Umbruchregel sprengen sie auf schmalen Geraeten die Spalte und erzeugen
 * horizontalen Scroll: /datenschutz/ 634px statt 491px, /impressum/ 539px.
 *
 * Elementor bietet dafuer keine Einstellung, deshalb eine eigene Regel.
 * Bewusst zweigeteilt: "anywhere" nur fuer Links (bricht notfalls mitten im
 * Wort, was bei URLs richtig ist), "break-word" fuer Fliesstext – das laesst
 * die intrinsische Breitenberechnung von Flex/Grid unberuehrt.
 * --------------------------------------------------------------------------- */
.elementor-widget-text-editor,
.elementor-widget-theme-post-content,
.page-content {
	overflow-wrap: break-word;
}
.elementor-widget-text-editor a,
.elementor-widget-theme-post-content a,
.page-content a {
	overflow-wrap: anywhere;
}

/* ---------------------------------------------------------------------------
 * Footer mobil (01.08.2026)
 *
 * Reihenfolge (Kontakt, Filialen, Info, Connect) und die tel:/mailto:-Links
 * stehen nativ in den Elementor-Daten der Fussszeile 673. Hier nur, was Elementor
 * nicht anbietet: Mindesthoehe der Tap-Ziele und die Trennung der Abschnitte.
 *
 * Gemessen vorher: 17 Footer-Links mit 24–35px Hoehe. WCAG 2.2 (2.5.8) fordert
 * mindestens 24px; 44px sind fuer sichere Daumenbedienung etabliert.
 * --------------------------------------------------------------------------- */
@media (max-width: 767px) {
	.elementor-location-footer .elementor-icon-list-item > a,
	.elementor-location-footer .elementor-icon-list-item > span,
	.elementor-location-footer .elementor-nav-menu a {
		min-height: 32px;
		display: flex;
		align-items: center;
	}

	/* Trennlinien zwischen den gestapelten Abschnitten – deutlicher als beim ersten
	   Versuch (#303234 = 1,35:1 zum Grund war kaum sichtbar), jetzt #484B4E mit
	   1,98:1 und mehr Luft davor und danach.
	   Merke: Die Footer-Reihe ist "e-con-full" und hat KEIN .e-con-inner, die
	   Spalten sind direkte Kinder (anders als die boxed Kopfzeile). */
	.elementor-location-footer .elementor-element-857f4bb > .e-con {
		border-top: 1px solid #484B4E;
		padding-top: 28px;
		margin-top: 22px;
	}
	/* Sichtbar zuerst steht die Kontakt-Spalte – nicht :first-child, denn die
	   Flex-Reihenfolge aendert nur die Darstellung, nicht die DOM-Reihenfolge. */
	.elementor-location-footer .elementor-element-ef4017e {
		border-top: 0 !important;
		margin-top: 0 !important;
		padding-top: 0 !important;
	}

	/* Die sieben Rechtstext-Links sind kurze Woerter und liessen die halbe Breite
	   leer – einspaltig kostete das rund 150px Footer-Hoehe. Zweispaltig bleibt die
	   Abschnitts-Stapelung erhalten, nur die Liste nutzt den Platz. */
	.elementor-location-footer .elementor-element-8e07cd8 .elementor-nav-menu {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 16px;
	}
	.elementor-location-footer .elementor-element-8e07cd8 .elementor-nav-menu a {
		overflow-wrap: anywhere;
	}
	/* Unter 430px ist eine Spalte schmaler als „Widerrufsbelehrung" –
	   bei 320px ragte die zweite Spalte ueber den Rand (seitliches Scrollen), bei 390px brach
	   das Wort mitten im Wort um. Dort wieder einspaltig. */
	@media (max-width: 429px) {
		.elementor-location-footer .elementor-element-8e07cd8 .elementor-nav-menu {
			grid-template-columns: minmax(0, 1fr);
		}
	}
}

/* ---------------------------------------------------------------------------
 * Filialen im Footer verweisen auf Google Maps (01.08.2026)
 *
 * Ohne Kennzeichnung sehen die Eintraege wie reiner Text aus – auf dem Handy gibt
 * es keinen Hover, der es verraten wuerde. Ein dezenter Pfeil signalisiert, dass
 * der Verweis die Seite verlaesst; die Farbe wechselt zusaetzlich beim Beruehren.
 * Der Pfeil ist rein dekorativ, die Vorlesefunktion nutzt das aria-label am Link
 * (nativ in den Elementor-Daten hinterlegt).
 * --------------------------------------------------------------------------- */
/* Statt des Textpfeils dasselbe Symbol wie im Termin-Popup (Kasten mit Pfeil),
   eingefaerbt im Marken-Gruen. Umgesetzt als Maske, damit die Farbe aus dem
   Token kommt und nicht im SVG festgeschrieben ist. */
.elementor-location-footer .elementor-element-6a7c069 .elementor-icon-list-text::after {
	content: "";
	display: inline-block;
	width: 11px;
	height: 11px;
	margin-left: 7px;
	background-color: var(--sb-green, #A3D65C);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M10 14 21 3'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M10 14 21 3'/%3E%3C/svg%3E") no-repeat center / contain;
}
.elementor-location-footer .elementor-element-6a7c069 a:hover .elementor-icon-list-text,
.elementor-location-footer .elementor-element-6a7c069 a:focus-visible .elementor-icon-list-text {
	color: var(--sb-green, #A3D65C);
}
.elementor-location-footer .elementor-element-6a7c069 a:focus-visible {
	outline: 2px solid var(--sb-green, #A3D65C);
	outline-offset: 3px;
}

/* ---------------------------------------------------------------------------
 * German-Market-Widerrufsbutton zentrieren (01.08.2026)
 *
 * Das Element haengt direkt am <body> (nach dem Footer, auf jeder Seite) und wird
 * als display:inline ausgeliefert. Solange die Beschriftung in eine Zeile passt,
 * zentriert text-align sie korrekt – bricht sie auf schmalen Geraeten um, zerfaellt
 * die Inline-Box in mehrere Zeilenkaesten und der Button wirkt linksbuendig.
 * inline-block macht daraus einen einzelnen Kasten, den text-align zuverlaessig
 * mittig setzt, unabhaengig von der Zeilenzahl.
 * --------------------------------------------------------------------------- */
.german-market-withdrawal-button-wrap {
	text-align: center;
	padding: 0 16px 28px;
}
.german-market-withdrawal-button-wrap .german-market-withdrawal-button {
	display: inline-block;
	max-width: 100%;
	box-sizing: border-box;
	text-align: center;

	/* German Market liefert ein Blaugrau (#32373C) aus, das zu nichts auf der Seite
	   passt. Stattdessen Site-CI: dunkler Grund, gruene Schrift und gruener Rahmen
	   im Duktus der uebrigen Buttons (Kanten 0, Versalien, Montserrat 500).
	   Kontrast Gruen auf Dunkel: 10,22:1 – beim Hover invertiert, ebenfalls 10,22:1. */
	background-color: var(--e-global-color-primary, #1A1A1A) !important;
	color: var(--sb-green, #A3D65C) !important;
	border: 1px solid var(--sb-green, #A3D65C) !important;
	border-radius: 0 !important;
	text-transform: uppercase;
	letter-spacing: .15rem;
	font-weight: 500;
	padding: 15px 35px !important;
	text-decoration: none;
	transition: background-color .18s ease, color .18s ease;
}
.german-market-withdrawal-button-wrap .german-market-withdrawal-button:hover,
.german-market-withdrawal-button-wrap .german-market-withdrawal-button:focus-visible {
	background-color: var(--sb-green, #A3D65C) !important;
	color: var(--e-global-color-primary, #1A1A1A) !important;
}

/* Sammelbestellung (Danke-Seite/Bestellansicht): Artikel je Paket in grauer Box */
body .woocommerce-order-details table.woocommerce-table--order-details tr.sob-pkg-boxed td { background: #F4F4F5 !important; border-bottom: 0 !important; }
body .woocommerce-order-details table.woocommerce-table--order-details tr.sob-pkg-boxed td:first-child { padding-left: 14px; }
body .woocommerce-order-details table.woocommerce-table--order-details tr.sob-pkg-boxed td:last-child { padding-right: 14px; }
body .woocommerce-order-details table.woocommerce-table--order-details tr.sob-pkg-first td { padding-top: 14px; }
body .woocommerce-order-details table.woocommerce-table--order-details tr.sob-pkg-last td { padding-bottom: 14px; }
body .woocommerce-order-details table.woocommerce-table--order-details tr.sob-pkg-first td:first-child { border-top-left-radius: 12px; }
body .woocommerce-order-details table.woocommerce-table--order-details tr.sob-pkg-first td:last-child { border-top-right-radius: 12px; }
body .woocommerce-order-details table.woocommerce-table--order-details tr.sob-pkg-last td:first-child { border-bottom-left-radius: 12px; }
body .woocommerce-order-details table.woocommerce-table--order-details tr.sob-pkg-last td:last-child { border-bottom-right-radius: 12px; }
body .woocommerce-order-details table.woocommerce-table--order-details tr.sob-pkg-gap td { padding: 0; height: 8px; border: 0; background: none !important; }
/* Handy: Zeile wird zur Karte – Name oben, Preis darunter rechts, damit der Name nicht mitten im Wort bricht */
@media (max-width: 600px) {
	body .woocommerce-order-details table.woocommerce-table--order-details tr.sob-pkg-boxed { display: block; background: #F4F4F5; }
	body .woocommerce-order-details table.woocommerce-table--order-details:has(tr.sob-pkg-boxed), body .woocommerce-order-details table.woocommerce-table--order-details:has(tr.sob-pkg-boxed) thead, body .woocommerce-order-details table.woocommerce-table--order-details:has(tr.sob-pkg-boxed) tbody, body .woocommerce-order-details table.woocommerce-table--order-details:has(tr.sob-pkg-boxed) tfoot { display: block; width: 100%; }
	body .woocommerce-order-details table.woocommerce-table--order-details:has(tr.sob-pkg-boxed) thead tr, body .woocommerce-order-details table.woocommerce-table--order-details:has(tr.sob-pkg-boxed) tfoot tr { display: grid; grid-template-columns: 1fr auto; }
	body .woocommerce-order-details table.woocommerce-table--order-details:has(tr.sob-pkg-boxed) tfoot tr > :only-child { grid-column: 1 / -1; }
	body .woocommerce-order-details table.woocommerce-table--order-details:has(tr.sob-pkg-boxed) tbody tr.sob-order-pkg-head, body .woocommerce-order-details table.woocommerce-table--order-details:has(tr.sob-pkg-boxed) tbody tr.sob-order-pkg-head th, body .woocommerce-order-details table.woocommerce-table--order-details:has(tr.sob-pkg-boxed) tbody tr.sob-pkg-gap, body .woocommerce-order-details table.woocommerce-table--order-details:has(tr.sob-pkg-boxed) tbody tr.sob-pkg-gap td { display: block; }
	body .woocommerce-order-details table.woocommerce-table--order-details tr.sob-pkg-boxed td { display: block; width: auto; }
	body .woocommerce-order-details table.woocommerce-table--order-details tr.sob-pkg-boxed td.product-name { display: grid; padding: 10px 12px 2px; column-gap: 10px; grid-template-columns: 52px auto 1fr; }
	body .woocommerce-order-details table.woocommerce-table--order-details tr.sob-pkg-boxed td.product-total { padding: 0 12px 10px; text-align: right; }
	body .woocommerce-order-details table.woocommerce-table--order-details tr.sob-pkg-boxed td.product-name .german-market-product-image,
	body .woocommerce-order-details table.woocommerce-table--order-details tr.sob-pkg-boxed td.product-name .german-market-product-image img { width: 52px; height: 52px; }
	body .woocommerce-order-details table.woocommerce-table--order-details tr.sob-pkg-boxed td.product-name > a { text-transform: none; letter-spacing: 0; word-break: normal; overflow-wrap: break-word; hyphens: none; }
	body .woocommerce-order-details table.woocommerce-table--order-details tr.sob-pkg-first { border-radius: 12px 12px 0 0; }
	body .woocommerce-order-details table.woocommerce-table--order-details tr.sob-pkg-last { border-radius: 0 0 12px 12px; }
	body .woocommerce-order-details table.woocommerce-table--order-details tr.sob-pkg-first.sob-pkg-last { border-radius: 12px; }
}
@media (max-width: 600px) {
	body .woocommerce-order-details table.woocommerce-table--order-details tr.sob-pkg-boxed td.product-total, body .woocommerce-order-details table.woocommerce-table--order-details tr.sob-pkg-boxed td.product-total * { text-align: right; }
}

/* =========================================================
 * Mobil: Bestelltabellen (25.10.2026)
 * - Bestellansicht/Danke-Seite: Produktname brach Buchstabe für Buchstabe um (3-Spalten-Grid, Name nur 13 px breit)
 *   -> Zelle untereinander: Bild, Menge, Name.
 * - „Bezahlen“-Seite: Bestelltabelle ragte rechts über den grauen Kasten hinaus (nowrap-Zellen).
 * ========================================================= */
@media (max-width: 767px) {
  body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name,
  body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name .german-market-product-image,
  body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name .german-market-product-image {
    order: 1;
    width: 56px;
    height: 56px;
  }
  body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name .german-market-product-image picture,
  body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name .german-market-product-image picture,
  body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name .german-market-product-image img,
  body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name .german-market-product-image img {
    display: block;
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 6px;
  }
  body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name strong.product-quantity,
  body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name strong.product-quantity {
    order: 2;
    white-space: nowrap;
  }
  body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name a,
  body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name a {
    order: 3;
    overflow-wrap: break-word;
    margin: 0;
    padding: 0;
    text-indent: 0;
  }
  body.woocommerce-order-pay table.sob-order-table {
    width: 100%;
    max-width: 100%;
  }
  body.woocommerce-order-pay table.sob-order-table th,
  body.woocommerce-order-pay table.sob-order-table td {
    white-space: normal !important;
    overflow-wrap: anywhere;
    min-width: 0;
  }
}

/* Mobil: Aktionen-Buttons der Bestellansicht dürfen nicht mitten im Wort umbrechen */
@media (max-width: 767px) {
  body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tfoot tr:last-child .button,
  body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tfoot tr:last-child .woocommerce-button {
    display: block;
    width: 100%;
    margin: 0 0 8px;
    text-align: center;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: normal;
    hyphens: none;
    font-size: 13px;
    letter-spacing: .05em;
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Bezahlen-Seite: „Zurück zur Bestellung“ als ruhiger Zweit-Button (wie „Zurück“ im Bestellablauf) */
body.woocommerce-order-pay .sb-pay-back .button {
  background: #FFFFFF;
  color: var(--sob-text, #1A1A1C);
  border: 1px solid #B5B5B9;
  border-radius: 8px;
  box-shadow: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 12px 22px;
}
body.woocommerce-order-pay .sb-pay-back .button:hover {
  background: #F3F3F4;
}
body.woocommerce-order-pay .sb-pay-back-top a {
  color: #4E6824;
  font-weight: 600;
  text-transform: none;
  text-decoration: none;
}
body.woocommerce-order-pay .sb-pay-back-top a:hover { text-decoration: underline; }

/* Danke-Seite mobil: Karte mit Bestellnummer/Datum/Gesamtsumme ragte rechts aus dem grauen Kasten (nowrap-Zellen) */
@media (max-width: 767px) {
  body.woocommerce-order-received table.sob-overview {
    width: 100%;
    max-width: 100%;
    table-layout: fixed;
  }
  body.woocommerce-order-received table.sob-overview th,
  body.woocommerce-order-received table.sob-overview td {
    white-space: normal !important;
    overflow-wrap: anywhere;
    padding-left: 6px;
    padding-right: 6px;
  }
}

/* =========================================================
 * Mobil: Karten bündig, Schrift bleibt in den Karten, ruhige Buttons (25.10.2026, nach Handy-Fotos)
 * ========================================================= */
@media (max-width: 767px) {
  /* Kopfzeile der Übersichtskarte: „Bestellnummer“ nicht mitten im Wort umbrechen */
  body.woocommerce-order-received table.sob-overview th {
    font-size: 9.5px;
    letter-spacing: .02em;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
  /* Rechnungs-/Lieferadresse: gleiche Breite und Kante wie alle anderen Karten */
  body.woocommerce-order-received .woocommerce-customer-details .col2-set,
  body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns--addresses,
  body.woocommerce-account .woocommerce-customer-details .col2-set,
  body.woocommerce-account .woocommerce-customer-details .woocommerce-columns--addresses {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column,
  body.woocommerce-account .woocommerce-customer-details .woocommerce-column {
    width: 100% !important;
    float: none !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
  }
  body.woocommerce-order-received .woocommerce-customer-details address,
  body.woocommerce-account .woocommerce-customer-details address {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    overflow-wrap: anywhere;
  }
  /* „Ihre Zustimmungen“: Badge oben, Text darunter – nichts läuft aus der Karte */
  .straussbar-consents-box li {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .straussbar-consents-box li > span {
    max-width: 100%;
    overflow-wrap: anywhere;
    hyphens: auto;
  }
  /* Aktionen: ruhige Zweit-Buttons mit Abstand, nicht zusammenfließend */
  body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tfoot tr:last-child .button,
  body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tfoot tr:last-child .woocommerce-button,
  body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details tfoot tr:last-child .button,
  body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details tfoot tr:last-child .woocommerce-button {
    display: block;
    width: 100%;
    margin: 0 0 12px;
    background: #FFFFFF;
    color: var(--sob-text, #1A1A1C);
    border: 1px solid #B5B5B9;
    border-radius: 8px;
    box-shadow: none;
    text-align: center;
    white-space: normal;
    word-break: keep-all;
    hyphens: none;
    font-size: 13px;
    letter-spacing: .05em;
    padding: 12px 10px;
  }
  body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tfoot tr:last-child .button:last-child,
  body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details tfoot tr:last-child .button:last-child {
    margin-bottom: 0;
  }
}

/* =========================================================
 * Bezahlen-Seite: PayPal-Button direkt im PayPal-Kasten (statt ganz unten)
 * ul/form-row werden „aufgelöst“, damit der PayPal-Button optisch unmittelbar unter dem PayPal-Chip sitzt.
 * ========================================================= */
body.woocommerce-order-pay #payment {
  display: flex;
  flex-direction: column;
}
body.woocommerce-order-pay #payment > ul.wc_payment_methods,
body.woocommerce-order-pay #payment > .form-row {
  display: contents;
}
body.woocommerce-order-pay #payment > .form-row > * { order: 20; }
body.woocommerce-order-pay #payment li.payment_method_ppcp-gateway { order: 1; margin-bottom: 0; }
body.woocommerce-order-pay #payment .ppc-button-wrapper { order: 2; }
body.woocommerce-order-pay #payment li.wc_payment_method:not(.payment_method_ppcp-gateway) { order: 3; }
/* Chip und Button wirken wie ein Kasten */
body.woocommerce-order-pay #payment li.payment_method_ppcp-gateway:has(input:checked) {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  margin-bottom: 0;
}
body.woocommerce-order-pay #payment li.payment_method_ppcp-gateway:has(input:checked) + li { margin-top: 0; }
body.woocommerce-order-pay #payment .ppc-button-wrapper {
  margin: -1px 0 14px;
  padding: 12px 16px 16px;
  background: #E1E6D6;
  border: 1px solid #8FB84E;
  border-top: 0;
  border-radius: 0 0 10px 10px;
}

/* Bestelltabellen (Danke-Seite + Mein Konto): Artikelname neutral statt grün/Versalien, Produktbild nicht klickbar
 * (Klick führte zur Produktseite mit der WooCommerce-Galerie). */
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name > a,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name > a {
  color: var(--sob-text, #1A1A1C) !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-weight: 500;
  text-decoration: none;
  margin-left: 0;
  padding-left: 0;
}
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name > a:hover,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name > a:hover {
  text-decoration: underline;
}
body.woocommerce-order-received .woocommerce-order-details .german-market-product-image a,
body.woocommerce-account .woocommerce-order-details .german-market-product-image a {
  pointer-events: none;
  cursor: default;
}
body.woocommerce-order-pay .sb-pay-consent-note { margin-top: 18px !important; }

/* Mobil: „1 × Pink Power“ in einer Zeile unter dem Bild, linksbündig */
@media (max-width: 767px) {
  body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name,
  body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name {
    flex-direction: row !important;
    flex-wrap: wrap;
    align-items: baseline !important;
    gap: 8px 6px !important;
  }
  body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name .german-market-product-image,
  body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name .german-market-product-image {
    flex: 0 0 100%;
    align-self: flex-start;
  }
  body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name > a,
  body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name > a,
  body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name > strong.product-quantity,
  body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name > strong.product-quantity {
    align-self: auto !important;
  }
}

/* Mobil: Bild links, daneben Artikelname und „1 ×“ untereinander (endgültig, überschreibt die Flex-Varianten oben) */
@media (max-width: 767px) {
  body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name,
  body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name {
    display: grid !important;
    grid-template-columns: 56px minmax(0, 1fr) !important;
    grid-template-areas: "img name" "img qty" !important;
    gap: 2px 12px !important;
    align-items: center !important;
  }
  body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name .german-market-product-image,
  body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name .german-market-product-image {
    grid-area: img;
    flex: none;
    align-self: center;
  }
  body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name > a,
  body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name > a {
    grid-area: name;
    align-self: end !important;
  }
  body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name > strong.product-quantity,
  body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name > strong.product-quantity {
    grid-area: qty;
    align-self: start !important;
    color: var(--sob-text-dim, #5A5A5E);
  }
}

/* Mobil: Spezifität des „ohne Variantenmerkmal“-Falls (:not(:has(...))) übertreffen */
@media (max-width: 767px) {
  body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name:not(:has(ul.wc-item-meta)),
  body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name:not(:has(ul.wc-item-meta)) {
    grid-template-areas: "img name" "img qty" !important;
  }
  body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name:has(ul.wc-item-meta),
  body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name:has(ul.wc-item-meta) {
    grid-template-columns: 56px minmax(0, 1fr) !important;
    grid-template-areas: "img name" "img meta" "img qty" !important;
  }
  body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name:not(:has(ul.wc-item-meta)) > a,
  body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name:not(:has(ul.wc-item-meta)) > a {
    align-self: end !important;
  }
}

/* Mobil: Bild oben, darunter in einer Zeile „1 × Pink Power“ */
@media (max-width: 767px) {
  body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name,
  body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name,
  body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name:not(:has(ul.wc-item-meta)),
  body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name:not(:has(ul.wc-item-meta)),
  body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name:has(ul.wc-item-meta),
  body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name:has(ul.wc-item-meta) {
    grid-template-columns: auto minmax(0, 1fr) !important;
    grid-template-areas: "img img" "qty name" ". meta" !important;
    gap: 8px 6px !important;
    align-items: baseline !important;
  }
  body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name .german-market-product-image,
  body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name .german-market-product-image {
    align-self: start;
  }
  body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name > a,
  body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name > a,
  body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name:not(:has(ul.wc-item-meta)) > a,
  body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name:not(:has(ul.wc-item-meta)) > a {
    align-self: baseline !important;
  }
  body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name > strong.product-quantity,
  body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name > strong.product-quantity {
    align-self: baseline !important;
    color: var(--sob-text, #1A1A1C);
    font-weight: 500;
  }
}

/* Menge „1 ×“ und Artikelname brechen nicht auseinander (auf allen Breiten) */
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name strong.product-quantity,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name strong.product-quantity {
  white-space: nowrap;
}
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.product-name > a,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name > a {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
