/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Aug 10 2026 | 20:09:38 */
/* ============================================================
   IT24 – Produktdetailseite CLEAN FINAL
   Produktlayout · Galerie · Kaufbox · Varianten · Tabs · Zubehör · Frage zum Produkt
   Stand: 2026-06-17
   ============================================================ */

/* ============================================================
   0. BASIS / SEITENLAYOUT
   ============================================================ */

body.single-product .content-area,
body.single-product .site-main {
  background: #ffffff;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

body.single-product div.product,
body.single-product .woocommerce-tabs,
body.single-product .it24-product-accessories {
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.single-product div.product::after {
  content: "";
  display: table;
  clear: both;
}

body.single-product .woocommerce-breadcrumb,
body.single-product nav.woocommerce-breadcrumb {
  font-size: 0.82rem;
  color: #5A6272;
  margin-bottom: 22px;
}

body.single-product .woocommerce-breadcrumb a,
body.single-product nav.woocommerce-breadcrumb a {
  color: #5A6272;
  text-decoration: none;
}

body.single-product .woocommerce-breadcrumb a:hover,
body.single-product nav.woocommerce-breadcrumb a:hover {
  color: #1C1E26;
}

body.single-product div.product div.images,
body.single-product div.product div.summary {
  box-sizing: border-box !important;
  margin-bottom: 36px;
}

/* ============================================================
   1. PRODUKTBILD / GALERIE / VORSCHAUBILDER
   ============================================================ */

body.single-product div.product div.images .woocommerce-product-gallery {
  min-height: 560px !important;
  background:
    radial-gradient(circle at 88% 10%, rgba(245,196,0,0.06), transparent 24%),
    linear-gradient(145deg, #ffffff 0%, #F7F8FA 100%);
  border: 1px solid #EDEEF2;
  border-radius: 16px;
  padding: 18px 18px 16px;
  box-shadow: 0 8px 28px rgba(28,30,38,0.045);
}

body.single-product div.product div.images .woocommerce-product-gallery__wrapper {
  margin: 0;
}

body.single-product div.product div.images .woocommerce-product-gallery__image {
  background: #ffffff;
  border: 1px solid #EDEEF2;
  border-radius: 14px;
  overflow: hidden;
}

body.single-product div.product div.images .woocommerce-product-gallery__image a {
  display: flex;
  align-items: center;
  justify-content: center;
}

body.single-product div.product div.images .woocommerce-product-gallery__image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

body.single-product .woocommerce-product-gallery__trigger {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #D6D9E0;
  box-shadow: 0 4px 14px rgba(28,30,38,0.08);
}

/* Echte WooCommerce-Thumbnails */
body.single-product .flex-control-thumbs,
body.single-product div.product div.images .flex-control-thumbs,
body.single-product div.product .woocommerce-product-gallery ol.flex-control-nav.flex-control-thumbs {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 14px !important;
  width: 100% !important;
  margin: 18px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.single-product .flex-control-thumbs li,
body.single-product div.product div.images .flex-control-thumbs li,
body.single-product div.product .woocommerce-product-gallery ol.flex-control-nav.flex-control-thumbs > li {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  height: auto !important;
  float: none !important;
  clear: none !important;
  flex: none !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.single-product .flex-control-thumbs img,
body.single-product div.product div.images .flex-control-thumbs img,
body.single-product div.product .woocommerce-product-gallery ol.flex-control-nav.flex-control-thumbs > li > img {
  display: block !important;
  width: 100% !important;
  height: 112px !important;
  min-height: 112px !important;
  max-height: 112px !important;
  object-fit: contain !important;
  box-sizing: border-box !important;
  padding: 10px !important;
  background: #ffffff !important;
  border: 1px solid #D6D9E0 !important;
  border-radius: 12px !important;
  opacity: 1 !important;
  outline: none !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

body.single-product .flex-control-thumbs img.flex-active,
body.single-product .flex-control-thumbs img:hover,
body.single-product div.product div.images .flex-control-thumbs img.flex-active,
body.single-product div.product div.images .flex-control-thumbs img:hover {
  border-color: #F5C400 !important;
  box-shadow: 0 0 0 2px rgba(245,196,0,0.22) !important;
}

/* ============================================================
   2. KAUFBOX / SUMMARY ALLGEMEIN
   ============================================================ */

body.single-product div.product div.summary {
  min-height: 560px !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(247,248,250,0.96)),
    linear-gradient(30deg, rgba(139,152,168,0.055) 12%, transparent 12.5%, transparent 87%, rgba(139,152,168,0.055) 87.5%),
    linear-gradient(150deg, rgba(139,152,168,0.055) 12%, transparent 12.5%, transparent 87%, rgba(139,152,168,0.055) 87.5%);
  background-size: auto, 44px 76px, 44px 76px;
  border: 1px solid #EDEEF2;
  border-radius: 16px;
  padding: 34px 36px !important;
  box-shadow: 0 8px 28px rgba(28,30,38,0.06);
}

body.single-product div.product .product_title {
  font-family: var(--it24-font-headline);
  color: #5A6272 !important;
  font-size: clamp(1.55rem, 1.95vw, 2.25rem) !important;
  font-weight: 520 !important;
  line-height: 1.16 !important;
  letter-spacing: -0.012em !important;
  margin: 0 0 18px !important;
}

body.single-product div.product p.price,
body.single-product div.product span.price {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  width: fit-content !important;
  margin: 0 0 20px !important;
  padding: 11px 18px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #FFF8CC 0%, #ffffff 100%) !important;
  border: 1px solid rgba(245,196,0,0.85) !important;
  box-shadow: 0 6px 18px rgba(245,196,0,0.14) !important;
  color: #1C1E26 !important;
  font-family: var(--it24-font-headline) !important;
  font-size: 1.12rem !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
}

body.single-product div.product p.price::after,
body.single-product div.product span.price::after,
body.single-product div.product p.price:empty,
body.single-product div.product span.price:empty {
  display: none !important;
  content: none !important;
}

body.single-product div.product p.price .amount,
body.single-product div.product span.price .amount {
  color: #1C1E26 !important;
}

body.single-product .it24-price-from {
  color: #5A6272 !important;
  font-size: 0.8rem !important;
  font-weight: 800 !important;
  text-transform: lowercase !important;
  letter-spacing: 0.05em !important;
  margin-right: 3px !important;
}

body.single-product div.product .summary .legal-price-info,
body.single-product div.product .summary .wc-gzd-additional-info,
body.single-product div.product .summary .woocommerce-price-suffix {
  display: block !important;
  margin: 0 0 20px !important;
  color: #5A6272 !important;
  font-size: 0.9rem !important;
  line-height: 1.45 !important;
}

body.single-product div.product .woocommerce-product-details__short-description {
  color: #2E3344;
  font-size: 0.98rem !important;
  line-height: 1.65 !important;
  margin: 0 0 22px !important;
}

body.single-product div.product .woocommerce-product-details__short-description p {
  margin-bottom: 0;
}

/* ============================================================
   3. EINFACHE PRODUKTE
   ============================================================ */

body.single-product div.product.product-type-simple form.cart {
  display: grid !important;
  grid-template-columns: 58px minmax(170px, 1fr) minmax(180px, 1fr) !important;
  gap: 8px !important;
  align-items: stretch !important;
  margin-top: 24px !important;
}

body.single-product div.product.product-type-simple form.cart .quantity {
  grid-column: 1 !important;
  width: 58px !important;
  margin: 0 !important;
}

body.single-product div.product.product-type-simple form.cart .quantity input.qty {
  width: 58px !important;
  min-height: 48px !important;
}

body.single-product div.product.product-type-simple form.cart .single_add_to_cart_button {
  grid-column: 2 !important;
  width: 100% !important;
  min-height: 48px !important;
}

body.single-product div.product.product-type-simple form.cart .it24-product-question-button {
  grid-column: 3 !important;
  width: 100% !important;
  min-height: 48px !important;
}

/* ============================================================
   4. VARIANTENPRODUKTE
   ============================================================ */

body.single-product div.product.product-type-variable div.summary {
  padding: 32px 34px !important;
}

body.single-product div.product.product-type-variable .product_title {
  font-size: clamp(1.45rem, 1.75vw, 2.05rem) !important;
}

body.single-product div.product.product-type-variable form.variations_form {
  margin-top: 8px !important;
}

body.single-product div.product.product-type-variable table.variations {
  width: 100%;
  margin: 0 0 14px !important;
  border: 0 !important;
}

body.single-product div.product.product-type-variable table.variations tbody,
body.single-product div.product.product-type-variable table.variations tr,
body.single-product div.product.product-type-variable table.variations th,
body.single-product div.product.product-type-variable table.variations td {
  display: block;
  width: 100%;
  border: 0 !important;
  padding: 0 !important;
}

body.single-product div.product.product-type-variable table.variations th.label {
  margin: 0 0 10px !important;
}

body.single-product div.product.product-type-variable table.variations th.label label {
  display: block;
  font-family: var(--it24-font-headline);
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  color: #2E3344 !important;
  margin: 0 !important;
}

body.single-product div.product.product-type-variable table.variations td.value {
  display: grid !important;
  gap: 8px !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.single-product div.product.product-type-variable table.variations td.value label {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  min-height: 42px !important;
  width: 100%;
  margin: 0 !important;
  padding: 8px 12px !important;
  background: #ffffff !important;
  border: 1px solid #D6D9E0 !important;
  border-radius: 8px !important;
  color: #2E3344 !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  cursor: pointer;
  transition: all 0.16s ease;
}

body.single-product div.product.product-type-variable table.variations td.value label:hover {
  border-color: #F5C400 !important;
  background: #FFFDF0 !important;
}

body.single-product div.product.product-type-variable table.variations td.value label:has(input[type="radio"]:checked) {
  border-color: #F5C400 !important;
  background: #FFF8CC !important;
  box-shadow: 0 0 0 2px rgba(245,196,0,0.14) !important;
}

body.single-product div.product.product-type-variable table.variations td.value label input[type="radio"] {
  width: 15px;
  height: 15px;
  accent-color: #F5C400;
  flex: 0 0 auto !important;
  margin: 0 !important;
}

body.single-product div.product.product-type-variable table.variations td.value label .amount,
body.single-product div.product.product-type-variable table.variations td.value label bdi {
  margin-left: auto !important;
  color: #006F46 !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
}

body.single-product div.product.product-type-variable table.variations select {
  min-height: 44px !important;
  width: 100%;
  border: 1px solid #D6D9E0 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #2E3344 !important;
  font-size: 0.9rem !important;
  padding: 9px 12px !important;
}

body.single-product div.product.product-type-variable table.variations select:focus {
  border-color: #F5C400 !important;
  box-shadow: 0 0 0 3px rgba(245,196,0,0.16) !important;
  outline: none !important;
}

body.single-product div.product.product-type-variable .reset_variations {
  display: inline-flex;
  margin-top: 8px;
  font-size: 0.78rem;
  color: #5A6272;
  text-decoration: underline;
}

/* Die sichtbare Variationsbox wird per JS entfernt; CSS ist nur Fallback */
body.single-product div.product.product-type-variable .woocommerce-variation.single_variation,
body.single-product div.product.product-type-variable .single_variation {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  box-shadow: none !important;
}

body.single-product div.product.product-type-variable .woocommerce-variation-add-to-cart {
  display: grid !important;
  grid-template-columns: 58px minmax(170px, 1fr) minmax(180px, 1fr) !important;
  gap: 8px !important;
  align-items: stretch !important;
  width: 100% !important;
  margin-top: 22px !important;
}

body.single-product div.product.product-type-variable .woocommerce-variation-add-to-cart .quantity {
  grid-column: 1 !important;
  width: 58px !important;
  margin: 0 !important;
}

body.single-product div.product.product-type-variable .woocommerce-variation-add-to-cart .quantity input.qty {
  width: 58px !important;
  min-height: 48px !important;
}

body.single-product div.product.product-type-variable .woocommerce-variation-add-to-cart .single_add_to_cart_button {
  grid-column: 2 !important;
  width: 100% !important;
  min-height: 48px !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

body.single-product div.product.product-type-variable .woocommerce-variation-add-to-cart .it24-product-question-button {
  grid-column: 3 !important;
  width: 100% !important;
  min-height: 48px !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

/* ============================================================
   5. WARENKORB / BUTTONS / META ALLGEMEIN
   ============================================================ */

body.single-product div.product form.cart .quantity input.qty {
  text-align: center;
  border: 1px solid #D6D9E0;
  border-radius: 7px !important;
  background: #ffffff;
  font-size: 1rem !important;
}

body.single-product div.product form.cart .single_add_to_cart_button,
body.single-product .it24-product-question-button {
  white-space: nowrap !important;
  word-break: normal !important;
  line-height: 1.1 !important;
}

body.single-product div.product form.cart .single_add_to_cart_button {
  border-radius: 8px !important;
  padding: 0 12px !important;
  background: #F5C400 !important;
  border: 2px solid #F5C400 !important;
  color: #1C1E26 !important;
  opacity: 1 !important;
  font-family: var(--it24-font-headline) !important;
  font-size: 0.78rem !important;
  font-weight: 850 !important;
  letter-spacing: 0.035em !important;
  text-transform: uppercase !important;
}

body.single-product div.product form.cart .single_add_to_cart_button:hover {
  background: #DDB000 !important;
  border-color: #DDB000 !important;
}

body.single-product div.product form.cart .single_add_to_cart_button.disabled,
body.single-product div.product form.cart .single_add_to_cart_button:disabled {
  background: #F7D95A !important;
  border-color: #F7D95A !important;
  color: #5A6272 !important;
  opacity: 1 !important;
  cursor: not-allowed !important;
}

body.single-product .it24-product-question-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px !important;
  border: 2px solid #D6D9E0 !important;
  background: #ffffff !important;
  color: #1C1E26 !important;
  font-family: var(--it24-font-headline) !important;
  font-size: 0.78rem !important;
  font-weight: 850 !important;
  letter-spacing: 0.035em !important;
  text-transform: uppercase !important;
  cursor: pointer;
  transition: all 0.18s ease;
  padding: 0 12px !important;
}

body.single-product .it24-product-question-button:hover {
  border-color: #F5C400 !important;
  background: #FFF8CC !important;
}

body.single-product .ppc-button-wrapper,
body.single-product .wc-stripe-payment-request-wrapper,
body.single-product .paypal-button-container {
  margin-top: 18px !important;
  opacity: 0.92;
}

body.single-product div.product .product_meta {
  margin-top: 22px !important;
  padding-top: 16px !important;
  border-top: 1px solid #EDEEF2;
  color: #8B98A8;
  font-size: 0.76rem !important;
  line-height: 1.5;
}

body.single-product div.product .product_meta span {
  display: block;
}

body.single-product div.product .product_meta a {
  color: #5A6272;
}

/* ============================================================
   6. FRAGE-ZUM-PRODUKT MODAL / FORMULAR
   ============================================================ */

.it24-product-question-modal {
  display: none;
}

.it24-product-question-modal.is-open {
  display: block;
}

.it24-product-question-modal__overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(28,30,38,0.55);
}

.it24-product-question-modal__box {
  position: fixed;
  z-index: 9999;
  left: 50%;
  top: 50%;
  width: min(660px, calc(100% - 32px)) !important;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  transform: translate(-50%, -50%);
  background: #ffffff;
  border-radius: 16px !important;
  border: 1px solid #D6D9E0;
  box-shadow: 0 20px 70px rgba(28,30,38,0.25);
  padding: 32px 36px !important;
}

.it24-product-question-modal__close {
  position: absolute;
  right: 16px;
  top: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid #D6D9E0;
  border-radius: 999px;
  background: #ffffff;
  color: #1C1E26;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.it24-product-question-modal__close:hover {
  background: #FFF8CC;
  border-color: #F5C400;
}

.it24-product-question-modal h3 {
  color: #5A6272 !important;
  font-family: var(--it24-font-headline);
  font-size: 1.45rem !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  margin: 0 44px 18px 0 !important;
}

.it24-product-question-modal__product {
  background: linear-gradient(135deg, #ffffff 0%, #F7F8FA 100%);
  border: 1px solid #EDEEF2;
  border-left: 4px solid #F5C400;
  border-radius: 12px !important;
  padding: 16px 18px !important;
  margin-bottom: 24px !important;
}

.it24-product-question-modal__product strong {
  display: block;
  color: #1C1E26;
  font-family: var(--it24-font-headline);
  font-size: 0.96rem;
  line-height: 1.35;
  margin-bottom: 6px;
}

.it24-product-question-modal__product span,
.it24-product-question-modal__product a {
  display: block;
  font-size: 0.82rem;
  color: #5A6272;
  line-height: 1.45;
  word-break: break-word;
}

body.single-product .it24-product-question-modal form.it24-product-question-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  width: 100% !important;
}

body.single-product .it24-product-question-modal .it24-product-question-field,
body.single-product .it24-product-question-modal form.it24-product-question-form > label:not(.it24-product-question-form__privacy) {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #2E3344 !important;
  font-size: 0.86rem !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
}

body.single-product .it24-product-question-modal .it24-product-question-field label {
  display: block !important;
  width: 100% !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
  color: #2E3344 !important;
  font-size: 0.86rem !important;
  font-weight: 600 !important;
}

body.single-product .it24-product-question-modal input[type="text"],
body.single-product .it24-product-question-modal input[type="email"],
body.single-product .it24-product-question-modal textarea {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 46px !important;
  box-sizing: border-box !important;
  margin: 7px 0 0 !important;
  padding: 11px 13px !important;
  border: 1px solid #D6D9E0 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #1C1E26 !important;
  font-size: 0.95rem !important;
  line-height: 1.45 !important;
}

body.single-product .it24-product-question-modal .it24-product-question-field input,
body.single-product .it24-product-question-modal .it24-product-question-field textarea {
  margin-top: 0 !important;
}

body.single-product .it24-product-question-modal textarea {
  min-height: 150px !important;
  resize: vertical !important;
}

body.single-product .it24-product-question-modal input:focus,
body.single-product .it24-product-question-modal textarea:focus {
  outline: none !important;
  border-color: #F5C400 !important;
  box-shadow: 0 0 0 3px rgba(245,196,0,0.18) !important;
}

body.single-product .it24-product-question-modal .it24-product-question-form__privacy {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 2px 0 2px !important;
  padding: 0 !important;
  color: #5A6272 !important;
  font-size: 0.84rem !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
}

body.single-product .it24-product-question-modal .it24-product-question-form__privacy input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  margin: 2px 0 0 !important;
  flex: 0 0 auto !important;
}

body.single-product .it24-product-question-modal .it24-product-question-form__privacy span {
  display: block !important;
}

body.single-product .it24-product-question-modal .it24-product-question-form__privacy a {
  color: #1C1E26 !important;
  text-decoration: underline !important;
}

body.single-product .it24-product-question-modal .it24-product-question-submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  min-width: 210px !important;
  min-height: 46px !important;
  padding: 0 26px !important;
  border-radius: 7px !important;
  background: #F5C400 !important;
  border: 2px solid #F5C400 !important;
  color: #1C1E26 !important;
  font-family: var(--it24-font-headline) !important;
  font-size: 0.84rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  box-shadow: 0 5px 14px rgba(245,196,0,0.18) !important;
  cursor: pointer;
}

body.single-product .it24-product-question-modal .it24-product-question-submit:hover {
  background: #DDB000 !important;
  border-color: #DDB000 !important;
}

body.it24-modal-open {
  overflow: hidden;
}

/* ============================================================
   7. TABS / BESCHREIBUNG / TECHNISCHE DATEN
   ============================================================ */

body.single-product .woocommerce-tabs {
  clear: both;
  margin-top: 34px !important;
  padding: 30px 28px 34px !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.92), rgba(247,248,250,0.96)),
    linear-gradient(30deg, rgba(139,152,168,0.075) 12%, transparent 12.5%, transparent 87%, rgba(139,152,168,0.075) 87.5%),
    linear-gradient(150deg, rgba(139,152,168,0.075) 12%, transparent 12.5%, transparent 87%, rgba(139,152,168,0.075) 87.5%);
  background-size: auto, 44px 76px, 44px 76px;
  border: 1px solid #EDEEF2;
  border-radius: 18px;
  box-shadow: 0 10px 34px rgba(28,30,38,0.045);
}

body.single-product .woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
  border: 0 !important;
}

body.single-product .woocommerce-tabs ul.tabs::before,
body.single-product .woocommerce-tabs ul.tabs::after,
body.single-product .woocommerce-tabs ul.tabs li::before,
body.single-product .woocommerce-tabs ul.tabs li::after {
  display: none !important;
}

body.single-product .woocommerce-tabs ul.tabs li {
  border: 1px solid #D6D9E0 !important;
  background: #ffffff !important;
  border-radius: 9px !important;
  box-shadow: 0 3px 10px rgba(28,30,38,0.035);
  margin: 0 !important;
  padding: 0 !important;
}

body.single-product .woocommerce-tabs ul.tabs li.active {
  background: #FFF8CC !important;
  border-color: #F5C400 !important;
}

body.single-product .woocommerce-tabs ul.tabs li a {
  display: inline-flex !important;
  padding: 10px 17px !important;
  color: #5A6272 !important;
  font-family: var(--it24-font-headline);
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

body.single-product .woocommerce-tabs ul.tabs li.active a {
  color: #1C1E26 !important;
}

body.single-product .woocommerce-Tabs-panel {
  background: rgba(255,255,255,0.97) !important;
  border: 1px solid #EDEEF2 !important;
  border-radius: 16px !important;
  padding: 32px 34px !important;
  color: #2E3344;
  box-shadow: 0 8px 26px rgba(28,30,38,0.045) !important;
}

body.single-product #tab-description > h2:first-child,
body.single-product .woocommerce-Tabs-panel--description > h2:first-child {
  display: none !important;
}

body.single-product #tab-additional_information > h2:first-child,
body.single-product .woocommerce-Tabs-panel--additional_information > h2:first-child {
  color: #5A6272 !important;
  font-size: clamp(1.25rem, 1.45vw, 1.75rem) !important;
  font-weight: 500 !important;
  line-height: 1.22 !important;
  margin: 0 0 22px !important;
}

body.single-product #tab-description h2,
body.single-product #tab-description h3,
body.single-product .woocommerce-Tabs-panel--description h2,
body.single-product .woocommerce-Tabs-panel--description h3 {
  color: #2E3344 !important;
  font-size: clamp(1.12rem, 1.28vw, 1.5rem) !important;
  font-weight: 600 !important;
  line-height: 1.26 !important;
  margin: 28px 0 14px !important;
  padding-left: 14px !important;
  border-left: 4px solid #F5C400 !important;
}

body.single-product #tab-description h2:first-of-type,
body.single-product .woocommerce-Tabs-panel--description h2:first-of-type {
  margin-top: 0 !important;
}

body.single-product #tab-bedienungsanleitung h2,
body.single-product .woocommerce-Tabs-panel h2 {
  color: #5A6272;
}

body.single-product .woocommerce-Tabs-panel p {
  max-width: 980px;
  color: #2E3344 !important;
  font-size: 0.95rem !important;
  line-height: 1.72 !important;
  margin-bottom: 16px !important;
}

body.single-product .woocommerce-Tabs-panel ul {
  max-width: 980px;
  margin: 14px 0 24px !important;
  padding: 0 !important;
  list-style: none !important;
}

body.single-product .woocommerce-Tabs-panel ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: #2E3344 !important;
  font-size: 0.94rem !important;
  line-height: 1.62 !important;
}

body.single-product .woocommerce-Tabs-panel ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  background: #F5C400;
  border-radius: 50%;
}

body.single-product .woocommerce-Tabs-panel table {
  width: 100%;
  margin: 18px 0 22px;
  font-size: 0.9rem;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  overflow: hidden;
  border: 1px solid #D6D9E0 !important;
  border-radius: 12px;
  background: #ffffff;
}

body.single-product .woocommerce-Tabs-panel table th,
body.single-product .woocommerce-Tabs-panel table td {
  border-top: 0 !important;
  border-left: 0 !important;
  border-right: 1px solid #EDEEF2 !important;
  border-bottom: 1px solid #EDEEF2 !important;
  padding: 11px 13px !important;
  text-align: left;
  vertical-align: top;
}

body.single-product .woocommerce-Tabs-panel table th {
  background: #F7F8FA !important;
  color: #2E3344 !important;
  font-weight: 700 !important;
}

body.single-product .woocommerce-Tabs-panel table th:last-child,
body.single-product .woocommerce-Tabs-panel table td:last-child {
  border-right: 0 !important;
}

body.single-product #tab-additional_information table.shop_attributes th,
body.single-product .woocommerce-Tabs-panel--additional_information table.shop_attributes th {
  width: 220px;
  background: #F7F8FA !important;
  color: #1C1E26 !important;
  font-weight: 700 !important;
}

body.single-product #tab-additional_information table.shop_attributes td,
body.single-product .woocommerce-Tabs-panel--additional_information table.shop_attributes td {
  color: #2E3344 !important;
  font-style: normal !important;
}

body.single-product #tab-additional_information table.shop_attributes td p,
body.single-product .woocommerce-Tabs-panel--additional_information table.shop_attributes td p {
  margin: 0 !important;
  max-width: none !important;
  line-height: 1.5 !important;
}

body.single-product #tab-bedienungsanleitung a,
body.single-product .woocommerce-Tabs-panel a[href$=".pdf"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  background: #F5C400;
  border: 2px solid #F5C400;
  border-radius: 7px;
  color: #1C1E26 !important;
  font-family: var(--it24-font-headline);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none !important;
  box-shadow: 0 5px 14px rgba(245,196,0,0.18) !important;
}

body.single-product #tab-bedienungsanleitung a:hover,
body.single-product .woocommerce-Tabs-panel a[href$=".pdf"]:hover {
  background: #DDB000;
  border-color: #DDB000;
}

/* ============================================================
   8. EMPFOHLENES ZUBEHÖR
   ============================================================ */

body.single-product section.related {
  display: none !important;
}

body.single-product .it24-product-accessories {
  margin-top: 46px !important;
  padding-top: 32px !important;
  border-top: 1px solid #EDEEF2;
}

body.single-product .it24-product-accessories__head {
  margin-bottom: 24px;
}

body.single-product .it24-product-accessories__head h2 {
  color: #5A6272 !important;
  font-size: clamp(1.25rem, 1.45vw, 1.75rem) !important;
  font-weight: 500 !important;
  line-height: 1.22 !important;
  letter-spacing: -0.01em;
  margin: 0 0 8px !important;
}

body.single-product .it24-product-accessories__head p {
  color: #5A6272 !important;
  font-size: 0.92rem !important;
  line-height: 1.55;
  margin: 0;
}

body.single-product .it24-product-accessories .up-sells > h2 {
  display: none !important;
}

body.single-product .it24-product-accessories ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 22px !important;
  margin: 24px 0 0 !important;
  padding: 0 !important;
}

body.single-product .it24-product-accessories ul.products li.product {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  width: auto !important;
  float: none !important;
  clear: none !important;
  min-height: 520px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 18px 16px 20px !important;
  background:
    radial-gradient(circle at 88% 12%, rgba(245,196,0,0.08), transparent 26%),
    linear-gradient(145deg, #ffffff 0%, #F7F8FA 100%);
  border: 1px solid #D6D9E0;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(28,30,38,0.05);
  overflow: hidden !important;
  transform: none !important;
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

body.single-product .it24-product-accessories ul.products li.product:hover {
  transform: none !important;
  border-color: rgba(245,196,0,0.75);
  box-shadow: 0 12px 28px rgba(28,30,38,0.10);
}

body.single-product .it24-product-accessories ul.products li.product a.woocommerce-LoopProduct-link {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  height: auto !important;
  text-decoration: none !important;
}

body.single-product .it24-product-accessories ul.products li.product img {
  width: 100% !important;
  height: 230px !important;
  object-fit: contain !important;
  margin: 0 0 18px !important;
  background: #ffffff;
  border-radius: 10px;
}

body.single-product .it24-product-accessories ul.products li.product .woocommerce-loop-product__title {
  display: block !important;
  min-height: 104px !important;
  max-height: none !important;
  overflow: visible !important;
  color: #2E3344 !important;
  font-family: var(--it24-font-headline);
  font-size: 0.86rem !important;
  font-weight: 560 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.004em;
  margin: 0 0 12px !important;
  padding: 0 !important;
}

body.single-product .it24-product-accessories ul.products li.product .price {
  display: block !important;
  color: #1C1E26 !important;
  font-family: var(--it24-font-headline);
  font-size: 0.92rem !important;
  font-weight: 750 !important;
  margin: 0 0 14px !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

body.single-product .it24-product-accessories ul.products li.product .button,
body.single-product .it24-product-accessories ul.products li.product a.button,
body.single-product .it24-product-accessories ul.products li.product .add_to_cart_button {
  position: static !important;
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  translate: none !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  min-height: 40px !important;
  margin: auto 0 0 !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 7px !important;
  background: #F5C400 !important;
  border: 1px solid #F5C400 !important;
  color: #1C1E26 !important;
  font-family: var(--it24-font-headline) !important;
  font-size: 0.74rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  transition: background 0.18s ease, border-color 0.18s ease !important;
}

body.single-product .it24-product-accessories ul.products li.product:hover .button,
body.single-product .it24-product-accessories ul.products li.product:hover a.button,
body.single-product .it24-product-accessories ul.products li.product:hover .add_to_cart_button {
  position: static !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  translate: none !important;
  margin-top: auto !important;
}

body.single-product .it24-product-accessories ul.products li.product .button:hover,
body.single-product .it24-product-accessories ul.products li.product a.button:hover,
body.single-product .it24-product-accessories ul.products li.product .add_to_cart_button:hover {
  background: #DDB000 !important;
  border-color: #DDB000 !important;
}

/* ============================================================
   9. RESPONSIVE
   ============================================================ */

@media (max-width: 1250px) {
  body.single-product div.product.product-type-simple form.cart,
  body.single-product div.product.product-type-variable .woocommerce-variation-add-to-cart {
    grid-template-columns: 54px minmax(150px, 1fr) minmax(160px, 1fr) !important;
    gap: 7px !important;
  }

  body.single-product div.product.product-type-simple form.cart .quantity,
  body.single-product div.product.product-type-variable .woocommerce-variation-add-to-cart .quantity,
  body.single-product div.product.product-type-simple form.cart .quantity input.qty,
  body.single-product div.product.product-type-variable .woocommerce-variation-add-to-cart .quantity input.qty {
    width: 54px !important;
  }

  body.single-product div.product form.cart .single_add_to_cart_button,
  body.single-product .it24-product-question-button {
    font-size: 0.74rem !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    letter-spacing: 0.03em !important;
  }
}

@media (max-width: 1024px) {
  body.single-product div.product div.summary {
    padding: 24px !important;
  }

  body.single-product .flex-control-thumbs,
  body.single-product div.product div.images .flex-control-thumbs,
  body.single-product div.product .woocommerce-product-gallery ol.flex-control-nav.flex-control-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  body.single-product .flex-control-thumbs img,
  body.single-product div.product div.images .flex-control-thumbs img,
  body.single-product div.product .woocommerce-product-gallery ol.flex-control-nav.flex-control-thumbs > li > img {
    height: 92px !important;
    min-height: 92px !important;
    max-height: 92px !important;
  }

  body.single-product .it24-product-accessories ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body.single-product .it24-product-accessories ul.products li.product {
    min-height: 500px !important;
  }

  body.single-product .it24-product-accessories ul.products li.product img {
    height: 210px !important;
  }
}

@media (max-width: 767px) {
  body.single-product .site-main,
  body.single-product .content-area {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  body.single-product div.product,
  body.single-product .woocommerce-tabs,
  body.single-product .it24-product-accessories {
    max-width: 100% !important;
  }

  body.single-product div.product div.images .woocommerce-product-gallery,
  body.single-product div.product div.summary {
    min-height: 0 !important;
  }

  body.single-product div.product div.summary {
    padding: 22px 18px !important;
    border-radius: 12px;
  }

  body.single-product div.product .product_title {
    font-size: 1.45rem !important;
  }

  body.single-product div.product div.images .woocommerce-product-gallery {
    padding: 12px;
    border-radius: 12px;
  }

  body.single-product .flex-control-thumbs,
  body.single-product div.product div.images .flex-control-thumbs,
  body.single-product div.product .woocommerce-product-gallery ol.flex-control-nav.flex-control-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 9px !important;
  }

  body.single-product .flex-control-thumbs img,
  body.single-product div.product div.images .flex-control-thumbs img,
  body.single-product div.product .woocommerce-product-gallery ol.flex-control-nav.flex-control-thumbs > li > img {
    height: 74px !important;
    min-height: 74px !important;
    max-height: 74px !important;
    padding: 6px !important;
    border-radius: 9px !important;
  }

  body.single-product div.product.product-type-simple form.cart,
  body.single-product div.product.product-type-variable .woocommerce-variation-add-to-cart {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  body.single-product div.product.product-type-simple form.cart .quantity,
  body.single-product div.product.product-type-simple form.cart .quantity input.qty,
  body.single-product div.product.product-type-simple form.cart .single_add_to_cart_button,
  body.single-product div.product.product-type-simple form.cart .it24-product-question-button,
  body.single-product div.product.product-type-variable .woocommerce-variation-add-to-cart .quantity,
  body.single-product div.product.product-type-variable .woocommerce-variation-add-to-cart .quantity input.qty,
  body.single-product div.product.product-type-variable .woocommerce-variation-add-to-cart .single_add_to_cart_button,
  body.single-product div.product.product-type-variable .woocommerce-variation-add-to-cart .it24-product-question-button {
    width: 100% !important;
    grid-column: 1 !important;
    flex: 1 1 auto !important;
  }

  .it24-product-question-modal__box {
    padding: 24px 18px !important;
  }

  body.single-product .it24-product-question-modal .it24-product-question-submit {
    width: 100% !important;
    min-width: 0 !important;
  }

  body.single-product .woocommerce-tabs {
    padding: 22px 16px 26px !important;
    border-radius: 14px;
  }

  body.single-product .woocommerce-Tabs-panel {
    padding: 22px 18px !important;
  }

  body.single-product .woocommerce-tabs ul.tabs {
    gap: 7px !important;
  }

  body.single-product .woocommerce-tabs ul.tabs li a {
    padding: 9px 12px !important;
    font-size: 0.78rem !important;
  }

  body.single-product #tab-additional_information table.shop_attributes th,
  body.single-product #tab-additional_information table.shop_attributes td,
  body.single-product .woocommerce-Tabs-panel--additional_information table.shop_attributes th,
  body.single-product .woocommerce-Tabs-panel--additional_information table.shop_attributes td {
    display: block;
    width: 100%;
  }

  body.single-product #tab-additional_information table.shop_attributes th,
  body.single-product .woocommerce-Tabs-panel--additional_information table.shop_attributes th {
    border-bottom: 0 !important;
    padding-bottom: 4px !important;
  }

  body.single-product #tab-additional_information table.shop_attributes td,
  body.single-product .woocommerce-Tabs-panel--additional_information table.shop_attributes td {
    padding-top: 4px !important;
  }

  body.single-product .woocommerce-Tabs-panel table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  body.single-product .it24-product-accessories ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  body.single-product .it24-product-accessories ul.products li.product {
    min-height: auto !important;
    padding: 14px 12px 15px !important;
  }

  body.single-product .it24-product-accessories ul.products li.product img {
    height: 170px !important;
  }

  body.single-product .it24-product-accessories ul.products li.product .woocommerce-loop-product__title {
    min-height: auto !important;
    font-size: 0.84rem !important;
  }
}

@media (max-width: 460px) {
  body.single-product .it24-product-accessories ul.products {
    grid-template-columns: 1fr !important;
  }

  body.single-product .it24-product-accessories ul.products li.product img {
    height: 180px !important;
  }
}
/* ============================================================
   IT24 – Empfohlenes Zubehör / Kadence Hover-Button FIX
   Button-Wrapper neutralisieren
   ============================================================ */

/* Alle typischen Kadence/WooCommerce Action-Wrapper im Zubehörbereich sichtbar machen */
body.single-product .it24-product-accessories ul.products li.product .product-action-wrap,
body.single-product .it24-product-accessories ul.products li.product .kadence-product-action-wrap,
body.single-product .it24-product-accessories ul.products li.product .woo-product-action-wrap,
body.single-product .it24-product-accessories ul.products li.product .product-action-area,
body.single-product .it24-product-accessories ul.products li.product .product-footer,
body.single-product .it24-product-accessories ul.products li.product .entry-footer {
  position: static !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  translate: none !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  height: auto !important;
  max-height: none !important;
  margin: auto 0 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

/* Auch beim Hover nichts bewegen */
body.single-product .it24-product-accessories ul.products li.product:hover .product-action-wrap,
body.single-product .it24-product-accessories ul.products li.product:hover .kadence-product-action-wrap,
body.single-product .it24-product-accessories ul.products li.product:hover .woo-product-action-wrap,
body.single-product .it24-product-accessories ul.products li.product:hover .product-action-area,
body.single-product .it24-product-accessories ul.products li.product:hover .product-footer,
body.single-product .it24-product-accessories ul.products li.product:hover .entry-footer {
  position: static !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  translate: none !important;
  inset: auto !important;
  margin: auto 0 0 !important;
}

/* Button selbst dauerhaft sichtbar */
body.single-product .it24-product-accessories ul.products li.product .product-action-wrap a.button,
body.single-product .it24-product-accessories ul.products li.product .kadence-product-action-wrap a.button,
body.single-product .it24-product-accessories ul.products li.product .woo-product-action-wrap a.button,
body.single-product .it24-product-accessories ul.products li.product a.button,
body.single-product .it24-product-accessories ul.products li.product .button,
body.single-product .it24-product-accessories ul.products li.product .add_to_cart_button {
  position: static !important;
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  translate: none !important;
  width: 100% !important;
  min-height: 40px !important;
  margin: 12px 0 0 !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 7px !important;
  background: #F5C400 !important;
  border: 1px solid #F5C400 !important;
  color: #1C1E26 !important;
  font-family: var(--it24-font-headline) !important;
  font-size: 0.74rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
}

/* Karteninhalt als Spalte, damit Button unten bleibt */
body.single-product .it24-product-accessories ul.products li.product {
  display: flex !important;
  flex-direction: column !important;
  min-height: 540px !important;
}

body.single-product .it24-product-accessories ul.products li.product .entry-content-wrap,
body.single-product .it24-product-accessories ul.products li.product .product-details,
body.single-product .it24-product-accessories ul.products li.product .woocommerce-loop-product__link,
body.single-product .it24-product-accessories ul.products li.product a.woocommerce-LoopProduct-link {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
}

/* Hover darf Karte und Inhalt nicht nach oben bewegen */
body.single-product .it24-product-accessories ul.products li.product,
body.single-product .it24-product-accessories ul.products li.product:hover,
body.single-product .it24-product-accessories ul.products li.product .entry-content-wrap,
body.single-product .it24-product-accessories ul.products li.product:hover .entry-content-wrap {
  transform: none !important;
  translate: none !important;
  top: auto !important;
  bottom: auto !important;
}
/* ============================================================
   IT24 – Zubehörkarten Abstände Preis / MwSt. / Versand reduzieren
   ============================================================ */

/* Preis und Germanized-Hinweise in Zubehörkarten kompakter */
body.single-product .it24-product-accessories ul.products li.product .price {
  margin: 0 0 6px !important;
  padding: 0 !important;
  line-height: 1.2 !important;
}

/* Germanized Zusatzinfos direkt unter dem Preis */
body.single-product .it24-product-accessories ul.products li.product .wc-gzd-additional-info,
body.single-product .it24-product-accessories ul.products li.product .legal-price-info,
body.single-product .it24-product-accessories ul.products li.product .tax-info,
body.single-product .it24-product-accessories ul.products li.product .shipping-costs-info {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #5A6272 !important;
  font-size: 0.78rem !important;
  line-height: 1.35 !important;
}

/* Falls Germanized die Infos als einzelne p-Tags ausgibt */
body.single-product .it24-product-accessories ul.products li.product p.wc-gzd-additional-info,
body.single-product .it24-product-accessories ul.products li.product p.legal-price-info,
body.single-product .it24-product-accessories ul.products li.product p.tax-info,
body.single-product .it24-product-accessories ul.products li.product p.shipping-costs-info {
  margin: 0 !important;
  padding: 0 !important;
}

/* Abstand vor dem Warenkorbbutton kleiner */
body.single-product .it24-product-accessories ul.products li.product .button,
body.single-product .it24-product-accessories ul.products li.product a.button,
body.single-product .it24-product-accessories ul.products li.product .add_to_cart_button {
  margin-top: 10px !important;
}

/* Wenn der Button durch Flex nach unten gedrückt wird, das verhindern */
body.single-product .it24-product-accessories ul.products li.product .product-action-wrap,
body.single-product .it24-product-accessories ul.products li.product .kadence-product-action-wrap,
body.single-product .it24-product-accessories ul.products li.product .entry-footer {
  margin-top: 10px !important;
}

/* Titelbox etwas niedriger, damit alles kompakter wirkt */
body.single-product .it24-product-accessories ul.products li.product .woocommerce-loop-product__title {
  min-height: 86px !important;
  margin-bottom: 10px !important;
}

/* Zubehörkarte insgesamt nicht unnötig hoch */
body.single-product .it24-product-accessories ul.products li.product {
  min-height: 500px !important;
}
/* ============================================================
   IT24 – Warenkorbbutton Produktseite klickbar machen
   ============================================================ */

body.single-product div.product form.cart,
body.single-product div.product form.variations_form,
body.single-product div.product .single_variation_wrap,
body.single-product div.product .woocommerce-variation-add-to-cart {
  position: relative !important;
  z-index: 10 !important;
  pointer-events: auto !important;
}

body.single-product div.product form.cart .single_add_to_cart_button,
body.single-product div.product .woocommerce-variation-add-to-cart .single_add_to_cart_button {
  position: relative !important;
  z-index: 30 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

body.single-product div.product form.cart .quantity,
body.single-product div.product form.cart .quantity input.qty {
  position: relative !important;
  z-index: 25 !important;
  pointer-events: auto !important;
}

/* Frage-zum-Produkt Button darf den Warenkorbbutton nicht überlagern */
body.single-product .it24-product-question-button {
  position: relative !important;
  z-index: 20 !important;
  pointer-events: auto !important;
}

/* Modal darf nur klickbar sein, wenn es wirklich offen ist */
body.single-product .it24-product-question-modal:not(.is-open),
body.single-product .it24-product-question-modal:not(.is-open) * {
  pointer-events: none !important;
}
/* ============================================================
   IT24 – WooCommerce Hinweis nach Warenkorb schöner
   Erfolgsmeldung / Warenkorb anzeigen
   ============================================================ */

body.single-product .woocommerce-notices-wrapper {
  max-width: 1180px !important;
  margin: 0 auto 26px !important;
}

body.single-product .woocommerce-message,
body.single-product .woocommerce-info,
body.single-product .woocommerce-error {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 22px !important;
  min-height: 72px !important;
  margin: 18px 0 26px !important;
  padding: 18px 22px 18px 26px !important;
  background:
    linear-gradient(135deg, #ffffff 0%, #F7F8FA 100%) !important;
  border: 1px solid #D6D9E0 !important;
  border-left: 5px solid #F5C400 !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 26px rgba(28,30,38,0.07) !important;
  color: #2E3344 !important;
  font-size: 0.96rem !important;
  line-height: 1.45 !important;
}

/* Standard WooCommerce Icon/Before entfernen */
body.single-product .woocommerce-message::before,
body.single-product .woocommerce-info::before,
body.single-product .woocommerce-error::before {
  display: none !important;
  content: none !important;
}

/* Button rechts */
body.single-product .woocommerce-message .button,
body.single-product .woocommerce-info .button,
body.single-product .woocommerce-error .button {
  order: 2 !important;
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 46px !important;
  padding: 0 26px !important;
  margin: 0 !important;
  border-radius: 8px !important;
  background: #F5C400 !important;
  border: 2px solid #F5C400 !important;
  color: #1C1E26 !important;
  font-family: var(--it24-font-headline) !important;
  font-size: 0.86rem !important;
  font-weight: 850 !important;
  letter-spacing: 0.055em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: 0 5px 14px rgba(245,196,0,0.18) !important;
}

body.single-product .woocommerce-message .button:hover,
body.single-product .woocommerce-info .button:hover,
body.single-product .woocommerce-error .button:hover {
  background: #DDB000 !important;
  border-color: #DDB000 !important;
}

/* Text nicht zu breit drücken */
body.single-product .woocommerce-message {
  overflow: hidden !important;
}

/* Mobile */
@media (max-width: 767px) {
  body.single-product .woocommerce-message,
  body.single-product .woocommerce-info,
  body.single-product .woocommerce-error {
    display: block !important;
    padding: 18px 18px 20px !important;
  }

  body.single-product .woocommerce-message .button,
  body.single-product .woocommerce-info .button,
  body.single-product .woocommerce-error .button {
    width: 100% !important;
    margin-top: 14px !important;
  }
}