/* =========================================================

   SHANTI-DOG – ZUSÄTZLICHES CSS (OPTIMIERT & BEREINIGT)
   Theme: hello-elementor-child
   Version: 3.2 – Alle Mobile-Fixes, Trust-Elemente, Varianten-Label
   Datum: 2026-03-14
   Basis: Version 3.1 (2026-03-12)

========================================================= */

/* =========================================================
   0) CSS CUSTOM PROPERTIES
========================================================= */

:root {
  /* Markenfarben */
  --sd-green: #42c420;
  --sd-green-hover: rgba(65, 195, 33, 0.69);
  --sd-green-dark: #3ab01c;
  --sd-green-cta: #5bbf18;
  --sd-orange-sale: #ffad01;
  --sd-orange-line: #f28a00;

  /* Textfarben */
  --sd-black: #000000;
  --sd-gray: #666;
  --sd-gray-light: #999;
  --sd-gray-hover: #4a4a4a;
  --sd-white: #ffffff;

  /* Hintergründe */
  --sd-bg-page: #fdf9eb;
  --sd-bg-variation: #f7f3e8;
  --sd-bg-tile: #f3f5f7;
  --sd-bg-card: #ffffff;

  /* Schatten */
  --sd-shadow-card: 0 2px 10px rgba(0, 0, 0, 0.06);
  --sd-shadow-card-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
  --sd-shadow-badge: 0 3px 8px rgba(0, 0, 0, 0.25);

  /* Radien */
  --sd-radius-card: 12px;
  --sd-radius-btn: 10px;
  --sd-radius-img: 10px;

  /* Elementor-Overrides */
  --e-global-color-primary: var(--sd-black);
  --e-global-color-secondary: var(--sd-black);
  --e-global-color-text: var(--sd-black);
  --e-global-color-accent: var(--sd-black);
}

/* =========================================================
   1) GLOBAL / BASIS
========================================================= */

.elementor-kit-7 a {
  color: var(--sd-black);
  font-family: "Roboto", Sans-serif;

}

.elementor-widget-text-editor a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.page-site-header {
  display: none;
}

body.woocommerce,
body.woocommerce-page {
  background-color: var(--sd-bg-page);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.wc-block-components-product-metadata {
  font-size: 16px !important;
}

/* =========================================================
   2) TYPOGRAFIE / HEADINGS
========================================================= */

body h1 {
  color: var(--sd-green) !important;
}

body h2,
body h3,
body h4,
body h5,
body h6,
body h1 a,
body h2 a,
body h3 a,
body h4 a,
body h5 a,
body h6 a {
  color: var(--sd-black) !important;
}

body h1 a:hover,
body h2 a:hover,
body h3 a:hover,
body h4 a:hover,
body h5 a:hover,
body h6 a:hover {
  color: var(--sd-gray-hover);
}

.elementor .elementor-heading-title,
.elementor .elementor-heading-title a {
  color: var(--sd-green) !important;
}

.elementor-widget-heading .elementor-heading-title a:hover {
  color: var(--sd-black);
}

.entry-title,
.entry-title a,
.widget-title,
.widgettitle {
  color: var(--sd-black) !important;
}

/* =========================================================
   3) BUTTONS
========================================================= */

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background-color: var(--sd-green) !important;
  color: var(--sd-white) !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: var(--sd-radius-btn) !important;
  padding: 12px 24px !important;
  font-weight: 600 !important;
  transition: background-color 0.3s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background-color: var(--sd-green-hover) !important;
  color: var(--sd-white) !important;
}

/* =========================================================
   4) SHOP / PRODUKTARCHIVE
========================================================= */

.woocommerce-result-count,
.woocommerce-ordering {
  float: none !important;
  display: inline-block;
  margin-bottom: 20px;
}

/* --- Grid Layout --- */

ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 26px !important;
  list-style: none !important;
  margin: 0;
  padding: 0 20px !important;
  width: 100% !important;
  overflow: visible;
}

ul.products::before,
ul.products::after {
  display: none !important;
  content: none !important;
}

/* --- Responsive Grid --- */

@media (max-width: 1199px) {
  ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 22px !important;
  }
}

@media (max-width: 1023px) {
  ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px !important;
    padding: 0 12px !important;
  }
}

@media (max-width: 767px) {
  ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding: 0 8px !important;
  }
}

/* --- Produktkarten --- */

ul.products li.product {
  float: none !important;
  clear: none !important;
  width: auto !important;
  margin: 0;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  text-align: center !important;
  background: var(--sd-bg-card) !important;
  border: 1px solid rgba(0, 0, 0, 0.2) !important;
  border-radius: var(--sd-radius-card) !important;
  box-shadow: var(--sd-shadow-card) !important;
  box-sizing: border-box;
  overflow: visible;
  position: relative;
  z-index: 1 !important;
  min-width: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 16px !important;
}

ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--sd-shadow-card-hover) !important;
}

ul.products li.product,
ul.products li.product * {
  min-width: 0;
}

ul.products li.product a.woocommerce-LoopProduct-link {
  display: block !important;
  flex: 0 0 auto !important;
  padding: 0;
  text-align: center !important;
}

ul.products li.product a img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  border-radius: var(--sd-radius-img) !important;
  margin-bottom: 12px !important;
}

ul.products li.product .woocommerce-loop-product__title {
  text-align: center !important;
  padding: 0 10px !important;
  margin: 12px 0 8px !important;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  font-size: 1rem !important;
  font-weight: 600 !important;
  min-height: 3.2em;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

ul.products li.product .price {
  text-align: center !important;
  padding: 0 10px !important;
  margin: 0 0 12px !important;
  color: var(--sd-black) !important;
  font-weight: bold !important;
  font-size: 1.1rem !important;
}

ul.products li.product a.button {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  float: none !important;
  margin: auto auto 0 !important;
  padding: 12px 18px !important;
  border-radius: var(--sd-radius-btn) !important;
  background-color: var(--sd-green) !important;
  color: var(--sd-white) !important;
  width: auto !important;
  max-width: calc(100% - 32px) !important;
}

ul.products li.product a.button:hover {
  background-color: var(--sd-green-hover) !important;
}

@media (max-width: 767px) {
  ul.products li.product a.button {
    width: calc(100% - 32px) !important;
  }
}

/* =========================================================
   5) ANGEBOTS-BADGE / SALE-BADGE
========================================================= */

ul.products li.product .onsale {
  position: absolute !important;
  top: -18px !important;
  right: -18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 28px !important;
  min-width: 80px !important;
  background-color: var(--sd-orange-sale) !important;
  color: var(--sd-white) !important;
  font-size: 0.5rem !important;
  font-weight: bold !important;
  padding: 0 0.5em !important;
  border-radius: 50px !important;
  box-shadow: var(--sd-shadow-badge) !important;
  transform: rotate(5deg) !important;
  text-transform: uppercase !important;
  white-space: nowrap;
  line-height: 1;
  z-index: 10 !important;
}

@media (max-width: 480px) {
  ul.products li.product .onsale {
    top: -12px !important;
    right: -12px !important;
    height: 24px !important;
    min-width: 72px !important;
    font-size: 0.5rem !important;
    padding: 0 0.5em !important;
  }
}

/* =========================================================
   6) PREIS-FARBEN
========================================================= */

ul.products li.product .price,
ul.products li.product .price .amount,
ul.products li.product .price .amount bdi,
ul.products li.product .price .amount .woocommerce-Price-currencySymbol {
  color: var(--sd-black) !important;
}

.wc-block-components-product-price,
.wc-block-components-product-price .wc-block-components-product-price__value {
  color: var(--sd-black) !important;
}

/* =========================================================
   7) WARENKORB – DESKTOP-ANSICHT (KOMPAKT & ELEGANT)
========================================================= */

body.woocommerce-cart .woocommerce-cart-form {
  margin-bottom: 30px;
}

body.woocommerce-cart .woocommerce-cart-form table.shop_table {
  width: 100%;
  border-collapse: collapse;
  background: var(--sd-bg-card);
  border-radius: var(--sd-radius-card);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

body.woocommerce-cart .shop_table thead th {
  background: #f7f7f7;
  padding: 14px 12px;
  text-align: center;
  font-weight: 600;
  border-bottom: 2px solid #e5e5e5;
  font-size: 0.95rem;
}

body.woocommerce-cart .shop_table tbody td {
  padding: 16px 12px;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
}

body.woocommerce-cart .shop_table.cart thead th.product-remove,
body.woocommerce-cart .shop_table.cart td.product-remove {
  display: none;
}

body.woocommerce-cart .shop_table.cart td.product-thumbnail {
  width: 100px;
  text-align: center;
  padding: 12px 8px;
}

body.woocommerce-cart .shop_table.cart td.product-thumbnail img {
  max-width: 80px;
  width: 80px;
  height: auto;
  border-radius: 8px;
}

body.woocommerce-cart .shop_table.cart td.product-name {
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  padding-left: 16px;
  position: relative;
}

body.woocommerce-cart .shop_table.cart td.product-name .custom-remove-link-mobile {
  display: block;
  margin-top: 8px;
}

body.woocommerce-cart .shop_table.cart td.product-name .custom-remove-link-mobile a.custom-remove-link {
  font-size: 11px;
  color: var(--sd-gray-light);
  text-decoration: none;
  font-weight: 400;
}

body.woocommerce-cart .shop_table.cart td.product-name .custom-remove-link-mobile a.custom-remove-link:hover {
  color: #d00;
  text-decoration: underline;
}

body.woocommerce-cart .shop_table.cart td.product-name .cart-item-short-desc {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--sd-gray);
  margin-top: 6px;
  line-height: 1.4;
}

body.woocommerce-cart .shop_table.cart td.product-name .cart-item-short-desc strong,
body.woocommerce-cart .shop_table.cart td.product-name .cart-item-short-desc b {
  font-weight: 400;
}

body.woocommerce-cart .shop_table.cart td.product-price {
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
}

body.woocommerce-cart .shop_table.cart td.product-price .shantidog-vat-suffix {
  display: block;
  font-size: 10px !important;
  color: var(--sd-gray) !important;
  font-weight: 400 !important;
  margin-top: 4px !important;
  text-align: center !important;
  white-space: nowrap;
}

body.woocommerce-cart .shop_table.cart thead th.product-price,
body.woocommerce-cart .shop_table.cart thead th.product-quantity,
body.woocommerce-cart .shop_table.cart thead th.product-subtotal {
  text-align: center;
}

body.woocommerce-cart .shop_table.cart td.product-quantity {
  text-align: center;
}

body.woocommerce-cart .shop_table.cart td.product-quantity .quantity {
  margin: 0 auto;
  display: inline-block;
}

body.woocommerce-cart .shop_table.cart td.product-subtotal {
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--sd-black);
}

.woocommerce-cart .shop_table.cart .quantity input.qty {
  width: 55px;
  padding: 6px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
}

/* =========================================================
   8) WARENKORB – MOBILE-ANSICHT (Kompakt & Clean)
========================================================= */

@media (max-width: 768px) {
  body.woocommerce-cart .shop_table.cart thead {
    display: none !important;
  }

  body.woocommerce-cart .shop_table.cart,
  body.woocommerce-cart .shop_table.cart tbody {
    display: block !important;
  }

  body.woocommerce-cart .shop_table.cart tbody tr {
    display: grid !important;
    grid-template-columns: 90px 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 0 14px;
    grid-template-areas:
      "thumbnail name"
      "price price"
      "quantity quantity"
      "subtotal subtotal";
    background: var(--sd-bg-card);
    border: 1px solid #ddd;
    border-radius: var(--sd-radius-btn);
    padding: 14px;
    margin-bottom: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  }

  body.woocommerce-cart .shop_table.cart tbody td {
    display: none !important;
    padding: 0;
    border: none !important;
    margin: 0;
  }

  body.woocommerce-cart .shop_table.cart tbody td.product-thumbnail {
    display: block !important;
    grid-area: thumbnail;
  }

  body.woocommerce-cart .shop_table.cart tbody td.product-thumbnail::before {
    display: none;
    content: none !important;
  }

  body.woocommerce-cart .shop_table.cart tbody td.product-thumbnail img {
    width: 90px !important;
    height: 90px !important;
    object-fit: cover;
    border-radius: 8px;
    display: block;
  }

  body.woocommerce-cart .shop_table.cart tbody td.product-name {
    display: block !important;
    grid-area: name;
    text-align: left !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    line-height: 1.3;
  }

  body.woocommerce-cart .shop_table.cart tbody td.product-name::before {
    display: none;
    content: none !important;
  }

  body.woocommerce-cart .shop_table.cart tbody td.product-name a {
    display: block;
    color: var(--sd-black);
    text-decoration: none;
  }

  body.woocommerce-cart .shop_table.cart tbody td.product-name .custom-remove-link-mobile {
    display: block;
    margin-top: 6px;
  }

  body.woocommerce-cart .shop_table.cart tbody td.product-name .custom-remove-link-mobile a {
    font-size: 12px !important;
    color: #c00 !important;
    text-decoration: underline;
    font-weight: 400 !important;
  }

  body.woocommerce-cart .shop_table.cart tbody td.product-price {
    display: flex !important;
    grid-area: price;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0 8px 0 !important;
    border-top: 1px solid #eee !important;
    margin-top: 10px !important;
  }

  body.woocommerce-cart .shop_table.cart tbody td.product-price::before {
    content: "Preis:" !important;
    font-weight: 700 !important;
    color: #333 !important;
    font-size: 0.9rem !important;
  }

  body.woocommerce-cart .shop_table.cart tbody td.product-price .shantidog-vat-suffix {
    display: none;
  }

  body.woocommerce-cart .shop_table.cart tbody td.product-quantity {
    display: flex !important;
    grid-area: quantity;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0 !important;
    border-top: 1px solid #eee !important;
  }

  body.woocommerce-cart .shop_table.cart tbody td.product-quantity::before {
    content: "Anzahl:" !important;
    font-weight: 700 !important;
    color: #333 !important;
    font-size: 0.9rem !important;
  }

  body.woocommerce-cart .shop_table.cart tbody td.product-quantity .quantity {
    margin: 0;
  }

  body.woocommerce-cart .shop_table.cart tbody td.product-quantity .quantity input {
    width: 50px !important;
    padding: 6px !important;
    text-align: center;
  }

  body.woocommerce-cart .shop_table.cart tbody td.product-subtotal {
    display: flex !important;
    grid-area: subtotal;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0 0 0 !important;
    border-top: 1px solid #eee !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    color: var(--sd-black) !important;
  }

  body.woocommerce-cart .shop_table.cart tbody td.product-subtotal::before {
    content: "Gesamt:" !important;
    font-weight: 700 !important;
    color: #333 !important;
    font-size: 0.9rem !important;
  }

  body.woocommerce-cart .shop_table.cart tbody td.product-subtotal .shantidog-vat-suffix {
    display: none;
  }
}

/* =========================================================
   9) WARENKORB SUMMEN & CHECKOUT-BUTTON
========================================================= */

.cart-collaterals {
  width: 100%;
  margin: 40px 0 20px 0;
  clear: both;
}

.cart-collaterals .cart_totals {
  display: none;
}

body.woocommerce-cart .wc-proceed-to-checkout {
  text-align: center;
  margin: 20px auto 15px auto;
  width: 100%;
  display: block;
  clear: both;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
  display: inline-block !important;
  width: auto !important;
  max-width: 500px !important;
  min-width: 400px !important;
  padding: 20px 60px !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  text-align: center !important;
  background-color: var(--sd-green) !important;
  color: var(--sd-white) !important;
  border-radius: var(--sd-radius-btn) !important;
  margin: 0 auto !important;
  border: none !important;
  box-shadow: 0 3px 10px rgba(66, 196, 32, 0.3) !important;
  transition: all 0.3s ease;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover {
  background-color: var(--sd-green-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(66, 196, 32, 0.4) !important;
}

@media (max-width: 768px) {
  .cart-collaterals .cart_totals {
    margin-top: 20px;
  }

  body.woocommerce-cart .wc-proceed-to-checkout {
    text-align: center;
    padding: 0 15px;
    margin: 15px auto;
  }

  body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    display: block !important;
    width: 90% !important;
    max-width: 100% !important;
    min-width: auto !important;
    margin: 0 auto;
    padding: 18px 30px !important;
    font-size: 20px !important;
  }
}

/* =========================================================
   10) MWST-HINWEISE (GLOBAL)
========================================================= */

.shantidog-vat-suffix {
  display: block;
  font-size: 10px;
  line-height: 1.3;
  color: var(--sd-gray);
  font-weight: 400;
  margin-top: 4px;
  white-space: normal;
  text-align: left;
}

.woocommerce div.product .shantidog-vat-suffix {
  display: block;
  font-size: 11px;
  color: var(--sd-gray);
  margin: 4px auto 0 auto;
  max-width: fit-content;
  text-align: left;
  line-height: 1.4;
}

.woocommerce ul.products li .shantidog-vat-suffix,
.woocommerce-page ul.products li .shantidog-vat-suffix {
  display: block;
  font-size: 10px;
  margin-top: -6px;
  text-align: center;
}

.shantidog-bonus-price,
.shantidog-bonus-price + .shantidog-vat-suffix,
.shantidog-bonus-price .shantidog-vat-suffix {
  display: inline-block;
  vertical-align: baseline;
  margin-top: 0;
}

.shantidog-bonus-price .shantidog-vat-suffix,
.shantidog-bonus-price + .shantidog-vat-suffix {
  font-size: 10px;
  color: var(--sd-gray);
  margin-left: 6px;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .shantidog-vat-suffix {
    font-size: 9px;
  }

  body.woocommerce-cart .shop_table.cart tbody td.product-price .shantidog-vat-suffix {
    margin-top: -4px;
  }

  .woocommerce div.product .shantidog-vat-suffix {
    margin-top: -3px;
  }

  .woocommerce ul.products li .shantidog-vat-suffix {
    margin-top: -4px;
  }

  .shantidog-bonus-price .shantidog-vat-suffix,
  .shantidog-bonus-price + .shantidog-vat-suffix {
    font-size: 9px;
    margin-left: 5px;
  }
}

/* =========================================================
   11) BONUS-ARTIKEL
========================================================= */

.bonus-details-link {
  display: block;
  margin-top: 8px;
  font-size: 0.9em;
  text-align: center;
  color: #555;
  text-decoration: underline;
}

.bonus-details-link:hover {
  color: var(--sd-black);
}

/* =========================================================
   12) PRODUKTDETAILSEITE – SHANTI-DOG LAYOUT
========================================================= */

.shantidog-brand-header {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  margin-top: 0;
  margin-bottom: -15px;
}

.shantidog-brand-header .brand-logo img {
  max-width: 80px;
  height: auto;
  opacity: 0.9;
}

.product-brand-logo {
  margin: 4px 0 10px;
}

.product-brand-logo img {
  max-width: 80px;
  opacity: 0.85;
  height: auto;
}

.single-product .product .summary h1.product_title {
  text-align: left;
  font-size: 2.2rem;
  margin-top: 0;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-size: 2.8rem !important;
  font-weight: 700 !important;
  color: var(--sd-black) !important;
  margin-bottom: 0 !important;
  text-align: center !important;
  display: block !important;
  line-height: 0.9;
}

.woocommerce div.product p.price .amount,
.woocommerce div.product span.price .amount {
  font-size: 2.8rem !important;
  font-weight: 700 !important;
  color: var(--sd-black) !important;
  line-height: 0.9;
}

.woocommerce div.product .shantidog-vat-suffix,
.woocommerce div.product .shantidog-vat-suffix-product-page {
  display: block;
  font-size: 12px !important;
  color: var(--sd-gray) !important;
  margin: 5px 0 30px 215px !important;
  font-weight: 400 !important;
  text-align: left !important;
  line-height: 1.2;
  padding: 0;
}

.woocommerce div.product .shantidog-vat-suffix a,
.woocommerce div.product .shantidog-vat-suffix-product-page a {
  font-size: 12px !important;
  color: var(--sd-gray) !important;
  text-decoration: underline;
}

@media (max-width: 782px) {
  .woocommerce div.product .shantidog-vat-suffix,
  .woocommerce div.product .shantidog-vat-suffix-product-page,
  body.single-product .shantidog-vat-suffix {
    margin: 5px auto 30px auto !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block;
    width: 100%;
    position: relative;
    left: 0;
  }
}

@media (min-width: 769px) {
  .woocommerce div.product .shantidog-vat-suffix .owney-info-icon,
  .woocommerce div.product .shantidog-vat-suffix-product-page .owney-info-icon {
    top: -2px;
  }
}

.woocommerce-breadcrumb {
  margin-top: 15px !important;
  margin-bottom: 20px !important;
  font-size: 0.9rem;
  color: var(--sd-gray-light);
}

.woocommerce div.product .product_meta {
  font-size: 0.85rem;
  color: var(--sd-gray-light);
  padding: 0;
  border-top: 1px solid #eee;
  margin-top: 0 !important;
}

.woocommerce div.product .product_meta > span {
  display: block;
  margin-bottom: 6px;
}

.woocommerce div.product .product_meta a {
  color: var(--sd-gray);
  text-decoration: none;
}

.woocommerce div.product .product_meta a:hover {
  color: var(--sd-black);
  text-decoration: underline;
}

.woocommerce div.product .product_meta .tagged_as {
  display: none;
}

/* Warenkorb-Button: zentriert und größer */
.woocommerce div.product form.cart:not(.variations_form) {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 16px 0 !important;
  flex-wrap: wrap !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
  padding: 16px 48px !important;
  font-size: 1.1rem !important;
}

/* Variable Produkte: nur Button-Bereich zentrieren */
.woocommerce div.product form.cart.variations_form .woocommerce-variation-add-to-cart {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 16px 0 !important;
}

/* --- Related Products --- */

.related.products ul.products li.product .price {
  display: inline-block !important;
  text-align: center !important;
  padding: 0 10px !important;
  margin: 0 auto !important;
  position: relative;
}

.related.products ul.products li.product .price .amount {
  display: inline-block !important;
}

.related.products ul.products li.product .shantidog-vat-suffix {
  display: block;
  text-align: left !important;
  padding: 0;
  margin: 2px 0 12px 0 !important;
  position: relative;
  left: 0 !important;
}

.related.products ul.products li.product {
  text-align: center !important;
}

/* --- Custom Product Meta Layout (2-Spalten-Grid) --- */

.summary > .sku_wrapper,
.woocommerce-product-details__short-description ~ .sku_wrapper {
  display: none !important;
}

.custom-product-meta {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  grid-template-rows: auto auto !important;
  gap: 10px 50px !important;
  margin: 25px 0 20px !important;
  padding: 20px 0 !important;
  border-top: 1px solid #e5e5e5 !important;
  border-bottom: 1px solid #e5e5e5 !important;
  align-items: center !important;
}

.meta-left-column,
.meta-right-column {
  display: contents !important;
}

.meta-left-column > .posted_in { grid-column: 1 !important; grid-row: 1 !important; }
.meta-left-column > .brand     { grid-column: 1 !important; grid-row: 2 !important; }
.meta-right-column > .sku_wrapper { grid-column: 2 !important; grid-row: 1 !important; }
.meta-right-column > .ean      { grid-column: 2 !important; grid-row: 2 !important; }

.custom-product-meta span {
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

.custom-product-meta a,
.custom-product-meta span span {
  display: inline !important;
}

.custom-product-meta .meta-label {
  font-weight: 600 !important;
}

@media (max-width: 768px) {
  .custom-product-meta {
    grid-template-columns: 1fr !important;
  }

  .meta-left-column > .posted_in  { grid-row: 1 !important; }
  .meta-left-column > .brand      { grid-row: 2 !important; }
  .meta-right-column > .sku_wrapper { grid-column: 1 !important; grid-row: 3 !important; }
  .meta-right-column > .ean        { grid-column: 1 !important; grid-row: 4 !important; }
}

.shantidog-product-notice ~ .custom-product-meta {
  display: flex;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 0 !important;
  border: none !important;
  padding: 8px 0 !important;
}

.shantidog-product-notice ~ .custom-product-meta .meta-left-column,
.shantidog-product-notice ~ .custom-product-meta .meta-right-column {
  display: contents;
}

.shantidog-product-notice ~ .custom-product-meta span {
  display: inline;
  margin-right: 6px !important;
}

.shantidog-product-notice ~ .custom-product-meta span:not(:last-of-type)::after {
  content: " | ";
  margin-left: 6px !important;
  color: var(--sd-gray-light) !important;
}

/* =========================================================
   13) OWNEY PREISHINWEIS MIT TOOLTIP
========================================================= */

.owney-info-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  color: var(--sd-gray);
  cursor: help;
  transition: color 0.2s ease;
  margin-left: 3px;
  vertical-align: middle;
  top: 0;
}

.owney-info-icon:hover {
  color: var(--sd-black);
}

.owney-info-icon svg {
  display: block;
  width: 12px;
  height: 12px;
}

.owney-tooltip {
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: var(--sd-white);
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 11px;
  line-height: 1.4;
  width: 280px;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  white-space: normal;
}

.owney-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #333;
}

.owney-info-icon:hover .owney-tooltip {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 480px) {
  .owney-tooltip {
    width: 220px;
    font-size: 10px;
  }
}

/* =========================================================
   14) BLOG-POSTS AUSBLENDEN & ELEMENTOR POST CARDS
========================================================= */

article.post-7028,
article.post-7026,
article.post-7032,
.elementor-post.post-7028,
.elementor-post.post-7026,
.elementor-post.post-7032 {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden;
  position: absolute !important;
  left: -9999px !important;
}

.elementor-widget-posts .elementor-post__thumbnail:not(.woocommerce *) {
  width: 100% !important;
  height: 250px !important;
  overflow: hidden;
  position: relative;
}

.elementor-widget-posts .elementor-post__thumbnail:not(.woocommerce *) img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}

.elementor-widget-posts .elementor-post__title:not(.woocommerce-loop-product__title) {
  min-height: 4.5em;
  line-height: 1.4;
  margin: 1em 0 0.5em 0 !important;
  display: block !important;
}

@media (max-width: 768px) {
  .elementor-widget-posts .elementor-post__thumbnail:not(.woocommerce *) {
    height: 200px !important;
  }
}

/* =========================================================
   15) WARENKORB – ITEM META (Variation/Lieferzeit)
========================================================= */

body.woocommerce-cart .shop_table.cart dl.variation,
body.woocommerce-cart .shop_table.cart .wc-item-meta {
  font-size: 0.9rem !important;
  font-weight: 400 !important;
  color: var(--sd-gray) !important;
  margin-top: 6px !important;
}

body.woocommerce-cart .shop_table.cart dl.variation dt,
body.woocommerce-cart .shop_table.cart dl.variation dd,
body.woocommerce-cart .shop_table.cart .wc-item-meta li,
body.woocommerce-cart .shop_table.cart .wc-item-meta p {
  font-weight: 400 !important;
  margin: 0;
  padding: 0;
}

body.woocommerce-cart .shop_table.cart dl.variation dt::after,
body.woocommerce-cart .shop_table.cart .wc-item-meta dt::after {
  content: '' !important;
  display: none !important;
}

body.woocommerce-cart .shop_table.cart dl.variation dt:empty,
body.woocommerce-cart .shop_table.cart .wc-item-meta dt {
  display: none !important;
}

body.woocommerce-cart .shop_table.cart dl.variation,
body.woocommerce-cart .shop_table.cart .wc-item-meta,
.woocommerce-cart-form .wc-item-meta,
table.cart .wc-item-meta {
  font-size: 0 !important;
}

body.woocommerce-cart .shop_table.cart dl.variation dd,
body.woocommerce-cart .shop_table.cart .wc-item-meta dd,
body.woocommerce-cart .shop_table.cart .wc-item-meta p,
.woocommerce-cart-form .wc-item-meta dd,
.woocommerce-cart-form .wc-item-meta p,
table.cart .wc-item-meta dd,
table.cart .wc-item-meta p {
  font-size: 0.9rem !important;
  color: var(--sd-gray) !important;
  font-weight: 400 !important;
}

body.woocommerce-cart .shop_table.cart td.product-name,
body.woocommerce-cart .shop_table.cart td.product-name *,
body.woocommerce-cart .shop_table.cart .wc-item-meta strong,
body.woocommerce-cart .shop_table.cart .wc-item-meta b,
body.woocommerce-cart .shop_table.cart dl.variation strong,
body.woocommerce-cart .shop_table.cart dl.variation b,
body.woocommerce-cart .shop_table.cart td.product-name strong {
  font-weight: 400 !important;
}

/* =========================================================
   16) PRODUKTSICHERHEIT TAB & LEGAL PRICE INFO VERSTECKEN
========================================================= */

.woocommerce-tabs .wc-tab#tab-product_safety,
.woocommerce-tabs ul.tabs li.product_safety_tab,
.woocommerce-tabs .wc-tab#tab-produktsicherheit,
.woocommerce-tabs ul.tabs li.produktsicherheit_tab {
  display: none !important;
}

.woocommerce div.product .summary p.price ~ p:first-of-type {
  display: none;
}

.woocommerce div.product .summary > p.price,
.woocommerce div.product .summary > p.stock,
.woocommerce div.product .summary > p.woocommerce-product-details__short-description {
  display: block;
}

.woocommerce div.product .legal-price-info,
.woocommerce div.product .legal-price-info .shipping-costs-info,
.woocommerce div.product .wc-gzd-additional-info.shipping-costs-info {
  display: none !important;
}

/* =========================================================
   17) GALLERY EXPAND BUTTON
========================================================= */

.gallery-expand-item {
  list-style: none !important;
  margin: 8px 0 !important;
  padding: 0 !important;
}

.gallery-expand-btn {
  width: 100% !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: var(--sd-radius-btn) !important;
  padding: 12px 24px !important;
  font-weight: 600 !important;
  transition: background-color 0.3s ease;
  cursor: pointer;
  font-size: 14px;
  text-align: center;
  display: inline-block !important;
  outline: none !important;
}

.gallery-expand-btn.button-disabled {
  background-color: #e0e0e0 !important;
  color: var(--sd-gray-light) !important;
}

.gallery-expand-btn.button-disabled:hover {
  background-color: #d0d0d0 !important;
}

.gallery-expand-btn.button-active {
  background-color: var(--sd-green) !important;
  color: var(--sd-white) !important;
}

.gallery-expand-btn.button-active:hover {
  background-color: var(--sd-green-hover) !important;
  color: var(--sd-white) !important;
}

.gallery-expand-btn:focus {
  outline: none !important;
  box-shadow: none !important;
}

.flex-control-thumbs li.gallery-hidden {
  overflow: hidden;
}

/* =========================================================
   18) UMFANG-SELECT (OPTISCH WIE FARBE)
========================================================= */

.woocommerce div.product form.cart .variations,
.custom-umfang {
  background: var(--sd-bg-variation);
  padding: 16px;
  border-radius: 8px;
}

.woocommerce div.product form.cart .variations {
  margin-bottom: 12px;
}

.custom-umfang {
  display: table !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 12px 0 !important;
  position: relative;
}

.custom-umfang label {
  display: table-cell !important;
  padding: 16px !important;
  font-weight: 600 !important;
  vertical-align: middle !important;
  width: 80px !important;
}

.custom-umfang select {
  display: table-cell !important;
  padding: 0.5em 1em !important;
  margin: 16px !important;
  vertical-align: middle !important;
  background-color: var(--sd-white) !important;
  border: 1px solid var(--sd-black) !important;
  border-radius: 4px !important;
  font-size: 1em !important;
  line-height: 1.5 !important;
  height: 48px !important;
  box-sizing: border-box !important;
  width: 94% !important;
  color: #222;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.custom-umfang select:hover,
.custom-umfang select:focus {
  border-color: var(--sd-gray-light);
  outline: none;
  box-shadow: none;
}

.custom-umfang::after {
  content: "▾";
  position: absolute;
  right: 14px;
  top: 52%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--sd-gray);
  font-size: 14px;
}

.custom-umfang select option[value=""] {
  color: #777;
}

.woocommerce div.product form.cart .variations select,
.custom-umfang select {
  background-color: var(--sd-white);
  height: 48px !important;
}

.woocommerce div.product form.cart .variations label,
.custom-umfang label {
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}

.woocommerce div.product form.cart .variations th.label {
  vertical-align: middle !important;
}

.woocommerce div.product form.cart .variations tr.attribute_pa_umfang td.value,
.woocommerce div.product form.cart .variations tr.attribute_pa_umfang select {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

.woocommerce div.product form.cart .variations tr.attribute_pa_umfang td {
  padding-right: 0 !important;
}

/* =========================================================
   19) AMAZON + PRINTFUL BOXEN
========================================================= */

.sd-amz-banner {
  max-width: 1100px;
  margin: 40px auto;
  border: 1px solid #e7edf2;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  background: var(--sd-white);
  text-decoration: none;
  display: block;
  color: #0b0f14;
}

.sd-amz-banner h2,
.sd-amz-banner h3 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
}

.sd-amz-line {
  height: 6px;
  background: var(--sd-orange-line);
  border-radius: 999px;
  margin-bottom: 22px;
}

.sd-amz-banner .sd-amz-grid {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 20px !important;
  margin-top: 20px !important;
}

.sd-amz-banner .sd-amz-tile {
  background: var(--sd-bg-tile) !important;
  border-radius: 18px !important;
  padding: 18px 10px !important;
  height: 90px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
}

.sd-amz-banner .sd-ico {
  font-size: 18px;
  line-height: 1;
}

.sd-amz-banner .sd-lbl {
  display: block;
  text-align: left;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.15;
  min-height: 2.3em;
}

.sd-amz-cta,
.sd-printful-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sd-green-cta);
  color: var(--sd-white) !important;
  height: 72px;
  padding: 0 40px;
  border-radius: 28px;
  font-weight: 700;
  font-size: 20px;
  text-decoration: none !important;
  line-height: 1;
  letter-spacing: 0.2px;
  width: min(100%, 1100px);
  margin: 0 auto;
}

.sd-amz-cta span,
.sd-printful-cta span {
  position: relative;
  top: -2px;
}

@media (max-width: 980px) {
  .sd-amz-banner .sd-amz-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 520px) {
  .sd-amz-banner {
    padding: 16px;
  }

  .sd-amz-banner .sd-amz-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .sd-amz-banner .sd-amz-tile {
    flex-direction: column !important;
    height: auto !important;
    padding: 12px 6px !important;
    gap: 4px !important;
  }

  .sd-amz-banner .sd-ico {
    font-size: 20px;
  }

  .sd-amz-banner .sd-lbl {
    text-align: center;
    font-size: 11px;
    min-height: auto;
  }

  .sd-amz-cta,
  .sd-printful-cta {
    font-size: 18px;
    height: 64px;
  }
}

/* =========================================================
   20) CRP – CONTEXTUAL RELATED POSTS (WIE WOO-PRODUKTKARTEN)
========================================================= */

.crp_related > ul {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 26px !important;
  list-style: none !important;
  padding: 0 20px !important;
  margin: 0 !important;
  width: 100% !important;
}

.crp_related > ul > a.crp_link {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  text-align: center !important;
  background: var(--sd-bg-card) !important;
  border: 1px solid rgba(0, 0, 0, 0.2) !important;
  border-radius: var(--sd-radius-card) !important;
  box-shadow: var(--sd-shadow-card) !important;
  padding: 16px !important;
  text-decoration: none !important;
  color: var(--sd-black) !important;
  overflow: hidden !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.crp_related > ul > a.crp_link:hover {
  transform: translateY(-4px);
  box-shadow: var(--sd-shadow-card-hover) !important;
}

.crp_related > ul > a.crp_link figure {
  margin: 0 !important;
  padding: 0 !important;
}

.crp_related img.crp_thumb,
.crp_related > ul > a.crp_link figure,
.crp_related > ul > a.crp_link img.crp_thumb {
  border-radius: var(--sd-radius-img) !important;
}

.crp_related img.crp_thumb {
  width: 100% !important;
  height: 180px !important;
  object-fit: cover !important;
  display: block !important;
  margin-bottom: 12px !important;
}

.crp_related .crp_title {
  display: block !important;
  margin: 12px 0 0 !important;
  padding: 0 10px !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  hyphens: auto !important;
  min-height: 3.2em;
}

@media (max-width: 1199px) {
  .crp_related > ul { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

@media (max-width: 1023px) {
  .crp_related > ul { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 767px) {
  .crp_related > ul { grid-template-columns: 1fr !important; }
}

/* =========================================================
   21) VARIANTEN-LABEL + MOBILE OVERRIDES
========================================================= */

/* Variantenname-Label im Produktbild (global) */
.sd-variant-label {
  position: absolute;
  bottom: 2px;
  left: 8px;
  color: #000;
  font-size: 0.6rem;
  font-weight: 600;
  z-index: 10;
  pointer-events: none;
}

/* --- MOBILE PRODUKT-GRID OVERRIDE (HOHE SPEZIFITÄT) ---
   Muss am Ende stehen, damit es alle vorherigen Regeln überschreibt. */

@media (max-width: 767px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding: 0 8px !important;
  }

  .woocommerce ul.products li.product {
    padding: 8px !important;
    overflow: hidden !important;
  }

  /* Titel klein genug für 2 Spalten */
  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 0.65rem !important;
    min-height: auto !important;
    margin: 6px 0 4px !important;
    padding: 0 2px !important;
    line-height: 1.3 !important;
  }

  .woocommerce ul.products li.product .price {
    font-size: 0.85rem !important;
    margin-bottom: 4px !important;
  }

  .woocommerce ul.products li.product .shantidog-vat-suffix {
    font-size: 8px !important;
  }

  /* zzgl. Versandkosten & Lieferzeit im Grid verstecken */
  .woocommerce ul.products li.product .legal-price-info,
  .woocommerce ul.products li.product .wc-gzd-additional-info,
  .woocommerce ul.products li.product .shipping-costs-info,
  .woocommerce ul.products li.product .delivery-time-info {
    display: none !important;
  }

  .woocommerce ul.products li.product a.button {
    padding: 8px 10px !important;
    font-size: 0.75rem !important;
    max-width: 100% !important;
    width: calc(100% - 16px) !important;
    border-radius: 8px !important;
  }

  /* Preise in "Ähnliche Produkte" mobil kleiner */
  .related.products ul.products li.product .price,
  .related.products ul.products li.product .price .amount {
    font-size: 0.85rem !important;
  }

  /* Site-Logo im Header größer auf Mobil */
  .elementor-widget-image img.wp-image-25 {
    width: 90% !important;
    max-width: 280px !important;
  }

  /* Gallery Expand Button mobil kleiner */
  .gallery-expand-btn {
    font-size: 10px !important;
    padding: 10px 10px !important;
  }

  /* Dropdowns auf Mobil kleiner + einheitliche Pfeile */
  .woocommerce div.product form.cart .variations select,
  .custom-umfang select {
    font-size: 0.85rem !important;
    height: 42px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 12px !important;
    padding-right: 36px !important;
  }

  .woocommerce div.product form.cart .variations label,
  .custom-umfang label {
    font-size: 0.85rem !important;
  }

  /* Alten Text-Pfeil vom custom-umfang entfernen */
  .custom-umfang::after {
    display: none !important;
  }

  /* Preis auf Produktseite mobil kleiner */
  .woocommerce div.product p.price,
  .woocommerce div.product span.price,
  .woocommerce div.product p.price .amount,
  .woocommerce div.product span.price .amount {
    font-size: 2rem !important;
  }

  /* Markenlogo neben Preis: nicht überlappen */
  .shantidog-brand-header {
    margin-bottom: 5px !important;
  }

  /* Platz für Variantenlabel unter dem Bild */
  .flex-viewport {
    padding-bottom: 24px !important;
  }

  /* Produktmeta mobil kompakt */
  .woocommerce div.product .product_meta,
  .custom-product-meta {
    font-size: 0.7rem !important;
    line-height: 1.3 !important;
    margin: 8px 0 !important;
    padding: 8px 0 !important;
    gap: 4px !important;
  }

  .woocommerce div.product .product_meta > span {
    margin-bottom: 2px !important;
  }

  .custom-product-meta span {
    line-height: 1.2 !important;
    font-size: 0.7rem !important;
  }
}

/* =========================================================
   22) PRODUKT-EXTRAS (TRUST + LERNBOX)
========================================================= */

.sd-product-extras {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e5e5e5;
}

/* Was erwartet dich? */
.sd-learn-box {
  margin-bottom: 20px;
}

.sd-learn-box h4 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: var(--sd-black);
}

.sd-learn-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sd-learn-box ul li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #333;
}

.sd-learn-box ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--sd-green);
  font-weight: 700;
}

/* Trust-Badges – dezent */
.sd-trust-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.sd-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #ddd;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #333;
}

.sd-trust-icon {
  font-size: 1.1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

/* Bewertungen */
.sd-rating-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid #e5e5e5;
}

.sd-rating-box .star-rating {
  font-size: 0.9rem;
}

.sd-rating-text {
  font-size: 0.85rem;
  color: var(--sd-gray);
}

@media (max-width: 767px) {
  .sd-trust-badges {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .sd-trust-item {
    font-size: 0.7rem;
    padding: 8px 10px;
  }
}

/* =========================================================
   23) PRODUKTBESCHREIBUNG UNTER GALERIE (DOWNLOAD-THEMEN)
========================================================= */

.sd-product-description {
  clear: both !important;
  float: none !important;
  width: 100% !important;
  display: block !important;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
  padding: 20px 0;
  border-top: 1px solid #e5e5e5;
  margin-top: 0;
  overflow: hidden;
}

.sd-product-description p {
  margin-bottom: 12px;
}

.sd-product-description strong {
  color: var(--sd-black);
}

body.product_cat-themen .custom-product-meta {
  margin-bottom: 0 !important;
  padding-bottom: 10px !important;
}

/* Produktmeta Desktop: einzeilig, einheitliche Schrift */
.woocommerce div.product .product_meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-size: 0.75rem !important;
  color: var(--sd-gray-light);
}

.woocommerce div.product .product_meta > span {
  display: inline !important;
  margin-bottom: 0 !important;
  font-size: 0.75rem !important;
}

.woocommerce div.product .product_meta > span:not(:last-child)::after {
  content: " | ";
  margin-left: 12px;
  color: #ccc;
}

.woocommerce div.product .product_meta a {
  font-size: 0.75rem !important;
}

/* "Ähnliche Produkte" Überschrift kleiner + Trennlinie */
.related.products > h2,
.related.products > h3 {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  margin-bottom: 8px !important;
}

.related.products::before {
  content: "";
  display: block;
  height: 6px;
  background: var(--sd-orange-line);
  border-radius: 999px;
  margin-bottom: 22px;
}

/* Kurzbeschreibung bei Download-Themen verstecken */
.product_cat-themen .woocommerce-product-details__short-description {
  display: none !important;
}

/* Produktmeta bei Download-Themen: kompakt einzeilig */
.woocommerce div.product .product_meta.custom-product-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0 !important;
  margin: 8px 0 !important;
  padding: 8px 0 !important;
  border-top: 1px solid #e5e5e5 !important;
  border-bottom: none !important;
}

.woocommerce div.product .product_meta.custom-product-meta .meta-left-column,
.woocommerce div.product .product_meta.custom-product-meta .meta-right-column {
  display: contents !important;
}

.woocommerce div.product .product_meta.custom-product-meta span {
  display: inline !important;
  font-size: 0.7rem !important;
  margin-right: 6px !important;
  line-height: 1.6 !important;
}

.woocommerce div.product .product_meta.custom-product-meta > .meta-left-column > span::after {
  content: " | ";
  margin-left: 6px;
  color: #ccc;
}

.woocommerce div.product .product_meta.custom-product-meta > .meta-right-column > span:last-child::after {
  content: none;
}

/* Rechte Spalte bei Download-Themen verdichten */
/* Rechte Spalte verdichten */
.woocommerce div.product .sd-product-extras {
  margin-top: 10px !important;
  padding-top: 10px !important;
}

.woocommerce div.product .sd-learn-box {
  margin-bottom: 12px !important;
}

.woocommerce div.product .sd-learn-box ul li {
  padding: 3px 0 3px 24px !important;
  font-size: 0.85rem !important;
}

.woocommerce div.product .sd-trust-badges {
  margin-bottom: 12px !important;
}

.woocommerce div.product .sd-trust-item {
  padding: 8px 10px !important;
}

.shop-section .woocommerce {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Hinweise im Shop grün */
.woocommerce-info {
    background-color: #42c420 !important;
    color: #fff !important;
    border-top-color: #38a819 !important;
}
.woocommerce-info a {
    color: #fff !important;
    text-decoration: underline !important;
}
.woocommerce-info::before {
    color: #fff !important;
}

/* Erfolgsmeldungen ebenfalls grün */
.woocommerce-message {
    background-color: #42c420 !important;
    color: #fff !important;
    border-top-color: #38a819 !important;
}
.woocommerce-message a {
    color: #fff !important;
}
.woocommerce-message::before {
    color: #fff !important;
}

/* Footer: Rechtliches */
.sd-footer-legal {
    text-align: left;20px
    margin: 0;
    padding: 11px 0 0 0;
}

.sd-footer-legal .sd-footer-heading {
    color: #42c420 !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    margin: 0 0 26px 0 !important;
    padding: 0 !important;
}

.sd-footer-legal a,
.sd-footer-legal a:visited,
.elementor-kit-7 .sd-footer-legal a,
.elementor-kit-7 .sd-footer-legal a:visited {
    display: block !important;
    color: rgba(255, 255, 255, 0.79) !important;
    font-family: "Roboto", Sans-serif !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    margin: 0 0 10px 0 !important;
    text-align: left !important;
}

.sd-footer-legal a:last-child {
    margin-bottom: 0 !important;
}

.sd-footer-legal a:hover,
.elementor-kit-7 .sd-footer-legal a:hover {
    color: #42c420 !important;
    text-decoration: none !important;
}

@media (max-width: 767px) {
    .sd-footer-legal {
        padding: 0 !important;
        margin: 0 !important;
    }

    .elementor-element-ef9eb82 {
        margin-top: -80px !important;
    }
}

/* Kasse: Grossschrift erzwingen */
.expansible-section__toggle-plus--coupon_code--639538,
.fc-expansible-form-section .expansible-section__toggle-plus {
    text-transform: capitalize;
}

/* Header: stabile Höhe, Logo darf leicht ins Hero-Bild ragen */
.elementor-location-header,
.site-header {
  position: relative;
  z-index: 20;
  background: #ffffff;
}

.elementor-location-header {
  min-height: 90px;
  margin-bottom: 0;
  overflow: visible;
}

/* Logo leicht nach unten ziehen */
.elementor-location-header img.wp-image-25 {
  position: relative;
  top: 4px;
  z-index: 30;
}

/* READ MORE - Akademie */
.sd-readmore-text {
    max-height: 8.5em;
    overflow: hidden;
}
.sd-readmore.open .sd-readmore-text {
    max-height: 2000px;
    transition: max-height 0.5s ease;
}
.sd-readmore-link {
    color: #42c420;
    font-weight: bold;
    cursor: pointer;
    display: inline-block;
    margin-top: 0;
}
.sd-readmore-less {
    display: none;
}
.sd-readmore.open .sd-readmore-less {
    display: inline;
}

/* BUTTON Interessiert? */
.sd-seminar-button {
    display: inline-flex;
    align-items: center;
    background: #42c420;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none !important;
    margin-top: 12px;
    font-size: 14px;
    gap: 10px;
}
.sd-seminar-button:hover {
    background: #35a018;
}
.sd-seminar-icon {
    width: 32px;
    height: 32px;
    filter: invert(1);
}

/* Mobiler Abstand Beratungsseite */
@media (max-width: 768px) {
    #elementor-tab-content-2583 {
        margin-bottom: 40px !important;
    }
}