/* Beauté Omar 2.0 – Shop allgemein: WooCommerce-Hinweise (Warenkorb, Produktseite, Kasse) */

/* Hinweise als kompakte Karte: dunkler Text auf Weiß (Flatsome: Grün auf Hellblau, zu wenig Kontrast) */
body.bo-redesign .woocommerce-notices-wrapper:empty {
  display: none;
}
body.bo-redesign .message-wrapper {
  margin: 0;
  padding: 12px 0 0;
  background: transparent;
}
body.bo-redesign .message-wrapper .message-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  width: 100%;
  margin: 0 auto;
  padding: 10px 16px;
  border: 1px solid var(--bo-line);
  border-left: 3px solid #3d7a3a;
  border-radius: var(--bo-radius);
  color: var(--bo-ink) !important;
  background: var(--bo-white);
  font-size: 14px;
  line-height: 1.5;
  text-align: left !important;
}
body.bo-redesign .message-wrapper .message-container > i {
  flex: none;
  color: #3d7a3a;
}
body.bo-redesign .woocommerce-error.message-wrapper .message-container,
body.bo-redesign .woocommerce-error .message-container {
  border-left-color: #b42318;
}
body.bo-redesign .woocommerce-error .message-container > i {
  color: #b42318;
}
body.bo-redesign .woocommerce-info.message-wrapper .message-container {
  border-left-color: var(--bo-ink);
}
body.bo-redesign .woocommerce-info .message-container > i {
  color: var(--bo-ink);
}
/* „Warenkorb anzeigen“ in der Meldung als Textlink rechts */
body.bo-redesign .message-container .button.wc-forward {
  order: 3;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
  min-height: 0;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: var(--bo-accent-dark) !important;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-decoration: underline;
  text-transform: uppercase;
}

/* „Vorrätig“ (Lagerstatus-Plugin): Grün mit genug Kontrast – vorher 2,9:1 */
body.bo-redesign .woo-custom-stock-status.in_stock_color,
body.bo-redesign.woocommerce div.product .woo-custom-stock-status.in_stock_color {
  color: #3d7a3a !important;
}

/* ---------- Bestellschritte (Warenkorb, Kasse, Bestätigung) ---------- */
/* Flatsomes eigene Schritt-Leiste (erscheint auf dem englischen Warenkorb) – die Bestellschritte ersetzen sie */
body.bo-redesign .checkout-page-title {
  display: none;
}

.bo-steps ol {
  counter-reset: bo-steps;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  font-size: 14px;
}
.bo-steps__item {
  counter-increment: bo-steps;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--bo-muted);
}
.bo-steps__item::before {
  content: counter(bo-steps);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--bo-line);
  border-radius: 50%;
  font-size: 13px;
}
.bo-steps__item.is-current {
  color: var(--bo-ink);
  font-weight: 500;
}
.bo-steps__item.is-current::before {
  border-color: var(--bo-ink);
  background: var(--bo-ink);
  color: var(--bo-white);
}
.bo-steps__item.is-done::before {
  content: "✓";
  border-color: #3d7a3a;
  color: #3d7a3a;
}
.bo-steps__item a {
  color: var(--bo-ink) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- Warenkorb-Seite ---------- */
/* weiße Seite statt hellblauem Verlauf der alten Seitenhülle */
body.bo-redesign.woocommerce-cart #wrapper {
  background-image: none !important;
}
/* auch auf Produktseite und Katalog: sonst scheint der Verlauf hinter Hinweisen
   („… wurde deinem Warenkorb hinzugefügt“) oberhalb der weißen Inhaltsfläche durch */
body.bo-redesign:is(.single-product, .bo-catalog-body) #wrapper {
  background-image: none !important;
}
body.bo-redesign.woocommerce-cart .row-divided > .col + .col {
  border-left: 0 !important;
}
body.bo-redesign.woocommerce-cart h1 {
  margin: 8px 0 18px;
  font-size: clamp(2rem, 4vw, 2.6rem) !important;
}
body.bo-redesign.woocommerce-cart table.cart thead th {
  padding: 0 8px 12px;
  border-bottom: 1px solid var(--bo-line);
  color: var(--bo-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
}
body.bo-redesign.woocommerce-cart table.cart td {
  padding: 18px 8px;
  border-bottom: 1px solid var(--bo-line);
  color: var(--bo-ink);
  font-size: 15px;
  vertical-align: middle;
}
body.bo-redesign.woocommerce-cart table.cart .product-name a {
  color: var(--bo-ink) !important;
  font-size: 16px;
}
body.bo-redesign.woocommerce-cart table.cart .product-name .stock {
  margin: 4px 0 0;
  font-size: 13px;
}
body.bo-redesign.woocommerce-cart table.cart .product-thumbnail img {
  width: 88px;
  border-radius: var(--bo-radius);
  background: #f7f8fc;
}
body.bo-redesign.woocommerce-cart table.cart a.remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--bo-line) !important;
  border-radius: 50%;
  background: none !important;
  color: var(--bo-muted) !important;
  font-size: 18px !important;
  line-height: 1;
}
body.bo-redesign.woocommerce-cart table.cart a.remove:hover {
  border-color: #b42318 !important;
  color: #b42318 !important;
}
body.bo-redesign.woocommerce-cart table.cart td.actions {
  padding-top: 20px;
  border-bottom: 0;
}
/* „Einkauf fortsetzen“ als Textlink – der einzige große Button ist „Weiter zur Kasse“ */
body.bo-redesign.woocommerce-cart .button-continue-shopping.button.primary {
  min-height: 44px;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: var(--bo-ink) !important;
  font-size: 15px !important;
  letter-spacing: 0 !important;
  text-decoration: underline;
  text-transform: none !important;
  text-underline-offset: 3px;
}

/* Mengenfeld als Pille (Warenkorb und Mini-Warenkorb) */
body.bo-redesign :is(.woocommerce-cart-form, #cart-popup) .ux-quantity {
  display: inline-flex;
  align-items: center;
  height: 44px;
  margin: 0;
  border: 1px solid var(--bo-line);
  border-radius: var(--bo-radius-pill);
  background: var(--bo-white);
  overflow: hidden;
}
body.bo-redesign :is(.woocommerce-cart-form, #cart-popup) .ux-quantity__button {
  min-width: 36px;
  height: 100%;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--bo-ink) !important;
}
body.bo-redesign :is(.woocommerce-cart-form, #cart-popup) .ux-quantity input.qty {
  width: 40px;
  height: 100%;
  margin: 0 !important;
  border: 0 !important;
  background: transparent;
  box-shadow: none !important;
}

/* Summe als Karte, am Desktop beim Scrollen sichtbar */
body.bo-redesign.woocommerce-cart .cart-sidebar {
  padding: 24px !important;
  border: 1px solid var(--bo-line);
  border-radius: var(--bo-radius);
  background: #f6f9fb;
}
@media (min-width: 850px) {
  body.bo-redesign.woocommerce-cart .cart-sidebar {
    position: sticky;
    top: 110px;
  }
}
body.bo-redesign.woocommerce-cart .cart_totals > table:first-of-type th {
  padding: 0 0 12px;
  border-bottom: 1px solid var(--bo-line);
  color: var(--bo-ink);
  font-family: var(--bo-font-head) !important;
  font-size: 1.35rem !important;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
body.bo-redesign.woocommerce-cart .cart_totals .shop_table :is(th, td) {
  padding: 12px 0;
  border-bottom: 1px solid var(--bo-line);
  color: var(--bo-ink);
  font-size: 15px;
  font-weight: 400;
}
body.bo-redesign.woocommerce-cart .cart_totals .order-total :is(th, td) {
  padding-top: 16px;
  border-bottom: 0;
  font-size: 18px;
  font-weight: 500;
}
body.bo-redesign .cart_totals .order-total .includes_tax {
  display: block;
  color: var(--bo-muted);
  font-size: 12px;
  font-weight: 400;
}
body.bo-redesign.woocommerce-cart .shipping__list_item {
  border: 1px solid var(--bo-line) !important;
  border-radius: var(--bo-radius);
  background: var(--bo-white);
}
body.bo-redesign.woocommerce-cart .shipping__list_item:has(input:checked) {
  border-color: var(--bo-ink) !important;
}
body.bo-redesign.woocommerce-cart .woocommerce-shipping-destination {
  color: var(--bo-muted);
  font-size: 13px;
}
body.bo-redesign.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
  width: 100%;
  min-height: 52px;
  margin-bottom: 12px;
  font-size: 14px !important;
  letter-spacing: 0.1em;
}
body.bo-redesign.woocommerce-cart .ux-cart-coupon {
  margin-top: 20px;
}
body.bo-redesign.woocommerce-cart .ux-cart-coupon .widget-title {
  color: var(--bo-ink);
  font-family: var(--bo-font-head) !important;
  font-size: 1.1rem;
  letter-spacing: 0;
  text-transform: none;
}
body.bo-redesign.woocommerce-cart .ux-cart-coupon input#coupon_code {
  min-height: 48px;
  border: 1px solid var(--bo-line);
  border-radius: var(--bo-radius);
  box-shadow: none;
}
body.bo-redesign.woocommerce-cart .ux-cart-coupon button {
  min-height: 48px;
  border: 1px solid var(--bo-ink) !important;
  border-radius: var(--bo-radius-pill);
  background: transparent !important;
  color: var(--bo-ink) !important;
}

/* Vertrauen unter „Weiter zur Kasse“ */
.bo-cart-trust {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--bo-line);
  list-style: none;
  color: var(--bo-ink);
  font-size: 13px;
  line-height: 1.45;
}
.bo-cart-trust li {
  position: relative;
  margin: 0;
  padding-left: 22px;
}
.bo-cart-trust li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #3d7a3a;
  font-weight: 500;
}
.bo-cart-trust a {
  color: var(--bo-ink) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Dazu passt */
.bo-cart-cross {
  margin-top: var(--bo-section);
}

/* Abstand zum Footer wie auf den übrigen Seiten: Flatsomes Innenabstände fallen weg */
body.bo-redesign:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .page-wrapper,
body.bo-redesign:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .page-wrapper > .row > .col {
  padding-bottom: 0;
}
body.bo-redesign:is(.woocommerce-cart, .woocommerce-checkout) .page-wrapper .woocommerce {
  padding-bottom: var(--bo-section);
}
body.bo-redesign.woocommerce-checkout form.checkout,
body.bo-redesign.woocommerce-checkout form.checkout > .row > .col:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Kasse-Balken nur auf dem Handy (Optik von .bo-sticky-cart aus bo-product.css) */
.bo-sticky-checkout .bo-sticky-cart__price .includes_tax {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 400;
}
.bo-sticky-checkout .bo-sticky-cart__price :is(strong, .amount, .amount *) {
  color: var(--bo-white) !important;
}
@media (min-width: 850px) {
  .bo-sticky-checkout {
    display: none !important;
  }
}

/* ---------- Mini-Warenkorb (Seitenleiste) ---------- */
#cart-popup .cart-popup-title .heading-font {
  color: var(--bo-ink);
  font-family: var(--bo-font-head) !important;
  font-size: 1.5rem;
  letter-spacing: 0;
  text-transform: none !important;
}
#cart-popup .cart-popup-title .is-divider {
  max-width: 40px;
  height: 2px;
  background: var(--bo-brand);
}
#cart-popup .woocommerce-mini-cart-item > a:not(.remove) {
  color: var(--bo-ink) !important;
  font-size: 15px;
}
#cart-popup .woocommerce-mini-cart__total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--bo-line);
  color: var(--bo-ink);
  font-size: 16px;
}
#cart-popup .woocommerce-mini-cart__buttons {
  display: grid;
  gap: 10px;
}
#cart-popup .woocommerce-mini-cart__buttons .button {
  width: 100%;
  min-height: 48px;
  margin: 0 !important;
  border-radius: var(--bo-radius-pill) !important;
  font-size: 13px !important;
  letter-spacing: 0.1em;
}
#cart-popup .woocommerce-mini-cart__buttons .button:not(.checkout) {
  border: 1px solid var(--bo-ink) !important;
  background: transparent !important;
  color: var(--bo-ink) !important;
}
#cart-popup .woocommerce-mini-cart__buttons .button.checkout {
  border: 1px solid var(--bo-btn) !important;
  background: var(--bo-btn) !important;
  color: var(--bo-white) !important;
}
#cart-popup .woocommerce-mini-cart__buttons .button.checkout:hover {
  border-color: var(--bo-btn-hover) !important;
  background: var(--bo-btn-hover) !important;
}

/* ---------- Buttons mit Mindesthöhe: Text mittig ----------
   Flatsome setzt den Text per Zeilenhöhe – bei 48–56 px hohen Buttons rutscht er nach oben */
body.bo-redesign :is(.wc-proceed-to-checkout .checkout-button, .ux-cart-coupon button, #cart-popup .woocommerce-mini-cart__buttons .button, #place_order, form.checkout_coupon button) {
  display: flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1.2 !important;
  text-align: center;
}

/* ---------- Kasse ---------- */
body.bo-redesign.woocommerce-checkout #wrapper {
  background-image: none !important;
}
body.bo-redesign.woocommerce-checkout h1 {
  margin: 8px 0 18px;
  font-size: clamp(2rem, 4vw, 2.6rem) !important;
}
body.bo-redesign.woocommerce-checkout form.checkout h3:not(#ship-to-different-address) {
  margin: 0 0 16px;
  color: var(--bo-ink);
  font-family: var(--bo-font-head) !important;
  font-size: 1.4rem !important;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none !important;
}
body.bo-redesign.woocommerce-checkout #ship-to-different-address {
  font-size: 15px !important;
  letter-spacing: 0;
  text-transform: none !important;
}
/* Felder: klare Rahmen, gut treffbar, sichtbarer Fokus */
body.bo-redesign.woocommerce-checkout form.checkout :is(input.input-text, select, textarea),
body.bo-redesign.woocommerce-checkout form.checkout .select2-container .select2-selection {
  min-height: 52px;
  border: 1px solid var(--bo-line);
  border-radius: var(--bo-radius);
  background-color: var(--bo-white);
  box-shadow: none;
  font-size: 16px;
}
body.bo-redesign.woocommerce-checkout form.checkout textarea {
  min-height: 120px;
}
body.bo-redesign.woocommerce-checkout form.checkout :is(input.input-text, select, textarea):focus {
  border-color: var(--bo-ink);
  box-shadow: 0 0 0 1px var(--bo-ink);
}
body.bo-redesign.woocommerce-checkout form.checkout :is(label.checkbox, .woocommerce-form__label-for-checkbox) {
  color: var(--bo-ink);
  font-weight: 400 !important;
  line-height: 1.5;
}
body.bo-redesign.woocommerce-checkout .woocommerce-form-coupon-toggle .showcoupon {
  color: var(--bo-accent-dark) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}
body.bo-redesign.woocommerce-checkout form.checkout_coupon :is(input.input-text, button) {
  min-height: 48px;
  border-radius: var(--bo-radius);
}
body.bo-redesign.woocommerce-checkout form.checkout_coupon button {
  border: 1px solid var(--bo-ink) !important;
  border-radius: var(--bo-radius-pill);
  background: transparent !important;
  color: var(--bo-ink) !important;
}

/* Bestellübersicht als Karte (wie die Summe im Warenkorb) */
body.bo-redesign.woocommerce-checkout .col-inner.is-well {
  padding: 24px !important;
  border: 1px solid var(--bo-line);
  border-radius: var(--bo-radius);
  background: #f6f9fb;
  box-shadow: none;
}
body.bo-redesign.woocommerce-checkout .woocommerce-checkout-review-order-table thead th {
  padding: 0 0 10px;
  border-bottom: 1px solid var(--bo-line);
  color: var(--bo-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
}
body.bo-redesign.woocommerce-checkout .woocommerce-checkout-review-order-table :is(tbody, tfoot) :is(th, td) {
  padding: 12px 0;
  border-bottom: 1px solid var(--bo-line);
  color: var(--bo-ink);
  font-size: 15px;
  font-weight: 400;
}
body.bo-redesign.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total :is(th, td) {
  padding-top: 16px;
  border-bottom: 0;
  font-size: 18px;
  font-weight: 500;
}
body.bo-redesign.woocommerce-checkout .shipping__list_item {
  border: 1px solid var(--bo-line) !important;
  border-radius: var(--bo-radius);
  background: var(--bo-white);
}
body.bo-redesign.woocommerce-checkout .shipping__list_item:has(input:checked) {
  border-color: var(--bo-ink) !important;
}

/* Zahlungsarten */
body.bo-redesign.woocommerce-checkout #payment ul.wc_payment_methods {
  margin: 16px 0 0;
  padding: 0;
  border-top: 1px solid var(--bo-line);
}
body.bo-redesign.woocommerce-checkout #payment li.wc_payment_method {
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--bo-line);
}
body.bo-redesign.woocommerce-checkout #payment li.wc_payment_method > label {
  color: var(--bo-ink);
  font-size: 15px;
  font-weight: 500;
}
body.bo-redesign.woocommerce-checkout #payment .payment_box {
  margin: 12px 0 0;
  padding: 14px;
  border: 1px solid var(--bo-line);
  border-radius: var(--bo-radius);
  background: var(--bo-white);
  color: var(--bo-ink);
  font-size: 14px;
}
body.bo-redesign.woocommerce-checkout #payment .payment_box::before {
  display: none;
}
body.bo-redesign.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
  margin-top: 16px;
  font-size: 14px;
}
body.bo-redesign.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper a {
  color: var(--bo-ink) !important;
  text-decoration: underline;
}
/* „Zahlungspflichtig bestellen“ (Text gesetzlich vorgegeben) im Markenorange */
body.bo-redesign.woocommerce-checkout #place_order {
  width: 100%;
  min-height: 56px;
  margin: 8px 0 0;
  border: 1px solid var(--bo-btn) !important;
  border-radius: var(--bo-radius-pill) !important;
  background: var(--bo-btn) !important;
  color: var(--bo-white) !important;
  font-size: 15px !important;
  letter-spacing: 0.1em;
}
body.bo-redesign.woocommerce-checkout #place_order:hover {
  border-color: var(--bo-btn-hover) !important;
  background: var(--bo-btn-hover) !important;
}
body.bo-redesign.woocommerce-checkout .woocommerce-privacy-policy-text p {
  margin: 14px 0 0;
  color: var(--bo-muted);
  font-size: 13px;
  line-height: 1.5;
}

/* ---------- Danke-Seite (Bestellbestätigung, woocommerce/checkout/thankyou.php) ---------- */
body.bo-redesign .bo-thanks {
  max-width: 760px;
  margin: 0 auto;
  padding: 8px 0 clamp(32px, 5vw, 56px);
  color: var(--bo-ink);
}
.bo-thanks__head {
  margin: 8px 0 28px;
}
.bo-thanks__icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 0 14px;
  border-radius: 50%;
  background: #e8f2e7;
  color: #3d7a3a;
}
body.bo-redesign.woocommerce-checkout .bo-thanks__title {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 2.6rem) !important;
  line-height: 1.12;
}
/* WooCommerce-/Flatsome-Hinweisoptik (grün, Rahmen) für den Einleitungstext aufheben */
body.bo-redesign .bo-thanks .bo-thanks__lead {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--bo-ink);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  text-align: left;
}
.bo-thanks__lead strong {
  font-weight: 500;
  overflow-wrap: anywhere;
}
.bo-thanks__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
}
.bo-thanks__actions .bo-btn {
  margin: 0;
}

/* Eigene Listen ohne Flatsome-Einzug (.col-inner ol li / ul li bekommen dort margin-left) */
body.bo-redesign .bo-thanks :is(.bo-thanks__steps, .bo-thanks__products, .bo-thanks__guides) {
  margin: 0;
  padding: 0;
  list-style: none;
}
body.bo-redesign .bo-thanks :is(.bo-thanks__steps, .bo-thanks__products, .bo-thanks__guides) > li {
  margin: 0;
}

/* Eckdaten: Bestellnummer, Datum, Summe, Zahlungsart */
body.bo-redesign .bo-thanks ul.bo-thanks__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 36px;
  padding: 0;
  border: 1px solid var(--bo-line);
  border-radius: var(--bo-radius);
  background: var(--bo-line);
  list-style: none;
  overflow: hidden;
}
@media (min-width: 700px) {
  body.bo-redesign .bo-thanks ul.bo-thanks__facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
body.bo-redesign .bo-thanks ul.bo-thanks__facts li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  float: none;
  margin: 0;
  padding: 14px 18px;
  border: 0;
  background: #f6f9fb;
  color: var(--bo-ink);
  font-size: 15px;
  line-height: 1.4;
  text-transform: none;
}
.bo-thanks__fact-label {
  color: var(--bo-muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
body.bo-redesign .bo-thanks ul.bo-thanks__facts strong {
  display: block;
  color: var(--bo-ink);
  font-size: 16px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
body.bo-redesign .bo-thanks ul.bo-thanks__facts strong :is(.amount, .amount *) {
  color: inherit;
  font-weight: inherit;
}

/* Zahlungshinweise der Zahlungsart (z. B. Bankverbindung bei Überweisung) */
.bo-thanks__payment {
  margin: 0 0 36px;
  padding: 20px 22px;
  border: 1px solid var(--bo-line);
  border-left: 3px solid var(--bo-ink);
  border-radius: var(--bo-radius);
}
.bo-thanks__payment > :first-child {
  margin-top: 0;
}
.bo-thanks__payment > :last-child {
  margin-bottom: 0;
}
body.bo-redesign .bo-thanks__payment h2 {
  margin: 0 0 10px;
  font-size: 1.3rem !important;
}

.bo-thanks__section {
  margin: 0 0 40px;
}
body.bo-redesign .bo-thanks .bo-thanks__h2,
body.bo-redesign .bo-thanks__details :is(.woocommerce-order-details__title, .woocommerce-column__title) {
  margin: 0 0 16px;
  color: var(--bo-ink);
  font-size: 1.6rem !important;
  line-height: 1.2;
  text-transform: none;
}

/* So geht es weiter: drei Schritte untereinander in einem Kasten, Nummer links */
.bo-thanks__steps {
  counter-reset: bo-thanks;
  border: 1px solid var(--bo-line);
  border-radius: var(--bo-radius);
}
.bo-thanks__step {
  counter-increment: bo-thanks;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: 16px;
  padding: 18px 20px;
}
.bo-thanks__step + .bo-thanks__step {
  border-top: 1px solid var(--bo-line);
}
.bo-thanks__step > * {
  grid-column: 2;
}
.bo-thanks__step::before {
  content: counter(bo-thanks);
  grid-column: 1;
  grid-row: 1 / span 2;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bo-ink);
  color: var(--bo-white);
  font-size: 13px;
}
body.bo-redesign .bo-thanks__step-title {
  margin: 2px 0 4px;
  font-size: 1.15rem !important;
  line-height: 1.3;
}
.bo-thanks__step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}
.bo-thanks :is(.bo-thanks__step, .bo-thanks__help, .bo-thanks__guides) a {
  color: var(--bo-accent-dark) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Bestelldetails (WooCommerce): Tabelle und Adressen */
.bo-thanks__details {
  margin: 0 0 40px;
}
.bo-thanks__details .woocommerce-order-details {
  margin: 0 0 32px;
}
.bo-thanks__details table.shop_table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
}
.bo-thanks__details table.shop_table :is(th, td) {
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--bo-line);
  color: var(--bo-ink);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
  vertical-align: top;
}
.bo-thanks__details table.shop_table :is(th, td):last-child {
  text-align: right;
}
.bo-thanks__details table.shop_table thead th {
  padding-top: 0;
  color: var(--bo-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.bo-thanks__details table.shop_table tfoot tr:last-child :is(th, td) {
  border-bottom: 0;
  font-size: 17px;
  font-weight: 500;
}
.bo-thanks__details table.shop_table a {
  color: var(--bo-ink) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.bo-thanks__details table.shop_table small,
.bo-thanks__details table.shop_table .includes_tax {
  display: block;
  color: var(--bo-muted);
  font-size: 13px;
  font-weight: 400;
}
.bo-thanks__details .woocommerce-columns--addresses {
  display: grid;
  gap: 16px;
}
@media (min-width: 600px) {
  .bo-thanks__details .woocommerce-columns--addresses {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.bo-thanks__details .woocommerce-columns--addresses::before,
.bo-thanks__details .woocommerce-columns--addresses::after {
  display: none;
}
.bo-thanks__details .woocommerce-column {
  width: auto !important;
  max-width: none !important;
  float: none !important;
  margin: 0;
  padding: 0;
}
body.bo-redesign .bo-thanks__details .woocommerce-column__title {
  font-size: 1.2rem !important;
}
.bo-thanks__details address {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid var(--bo-line);
  border-radius: var(--bo-radius);
  color: var(--bo-ink);
  font-size: 15px;
  font-style: normal;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.bo-thanks__details address p {
  margin: 6px 0 0;
}

/* Für einen guten Start: gekaufte Produkte und passende Ratgeber */
.bo-thanks__products {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bo-thanks__product {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--bo-line);
  border-radius: var(--bo-radius);
}
.bo-thanks__product img,
.bo-thanks__ph {
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: var(--bo-radius);
  background: var(--bo-surface);
  object-fit: cover;
}
.bo-thanks__product-name {
  margin: 0;
  font-family: var(--bo-font-head) !important;
  font-size: 1.15rem;
  line-height: 1.3;
}
.bo-thanks__product .bo-link {
  padding: 4px 0 0;
}
body.bo-redesign .bo-thanks__sub {
  margin: 28px 0 10px;
  font-size: 1.15rem !important;
}
.bo-thanks__guides {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--bo-line);
}
.bo-thanks__guides li {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--bo-line);
  font-size: 15px;
  line-height: 1.5;
}
/* darunter folgt die Linie über dem Kontakt */
.bo-thanks__guides li:last-child {
  border-bottom: 0;
}

.bo-thanks__help {
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--bo-line);
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- EU-Hinweis gesetzliche Gewährleistung ---------- */
.bo-warranty-link {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.bo-pp__warranty {
  margin: 0;
  font-size: 13px;
}
.bo-pp__warranty .bo-warranty-link {
  color: var(--bo-muted) !important;
}
.bo-warranty-checkout {
  margin: 12px 0 0;
  font-size: 14px;
}
.bo-warranty-checkout .bo-warranty-link {
  color: var(--bo-ink) !important;
}
.bo-legal-dialog {
  width: min(640px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--bo-radius);
  background: var(--bo-white);
  color: var(--bo-ink);
  overflow: auto;
}
.bo-legal-dialog::backdrop {
  background: rgba(31, 42, 51, 0.72);
}
.bo-legal-dialog__head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 8px 8px 20px;
  border-bottom: 1px solid var(--bo-line);
  background: var(--bo-white);
}
.bo-legal-dialog__title {
  margin: 0;
  font-size: 1.25rem !important;
}
.bo-legal-dialog__close {
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--bo-ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.bo-legal-dialog__close:hover {
  background: var(--bo-surface);
}
.bo-legal-dialog img {
  display: block;
  width: 100%;
  height: auto;
}
.bo-legal-dialog__link {
  margin: 0;
  padding: 12px 20px 18px;
  font-size: 14px;
}
.bo-legal-dialog__link a {
  color: var(--bo-ink) !important;
  text-decoration: underline;
}

/* ---------- Warenkorb, Kasse, Konto: Raster wie auf allen anderen Seiten ---------- */
/* Die Standardvorlage nutzt Flatsomes Zeile (1080 px, Spalte mit 15 px Rand). Kopfzeile und .bo-container sind
   1200 px mit 32 px Rand: ohne Ausgleich stand der Inhalt 43 px weiter innen als Logo und übrige Seiten. */
@media (min-width: 850px) {
  body.bo-redesign.page-template-default #content > .row-main {
    max-width: var(--bo-max);
    padding: 0 calc(32px - 15px);
  }
  /* Meldungen sind Flatsome-Container mit 1080 px und stünden sonst eingerückt in der breiteren Zeile */
  body.bo-redesign.page-template-default #content .message-wrapper .message-container {
    max-width: none;
  }
}

/* Leerer Warenkorb: Hinweis als ruhiger Satz bündig unter der Überschrift, Knopf darunter
   (statt Meldungskasten über die volle Breite und mittigem Knopf) und unten der übliche Abschnittsabstand */
body.bo-redesign.woocommerce-cart .woocommerce > .text-center:has(.wc-empty-cart-message) {
  padding: 0;
  text-align: left;
}
body.bo-redesign .wc-empty-cart-message .message-wrapper {
  padding: 0;
}
body.bo-redesign .wc-empty-cart-message .message-wrapper .message-container {
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-size: 18px;
}
body.bo-redesign.woocommerce-cart .return-to-shop {
  margin: 20px 0 0;
}
