/* Gutscheineingabe in der Warenkorbvorschau. Die Funktion stammt aus Ceres. */
.basket-preview-wrapper .kb-preview-coupon {
  display: block;
  box-sizing: border-box;
  flex: 0 0 auto;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  margin: 0 0 .75rem;
  padding: 0;
  border: 1px solid #d9d4cf;
  border-radius: .25rem;
  color: #3f362e;
}

.basket-preview-wrapper .kb-preview-coupon__toggle {
  appearance: none;
  display: flex;
  align-items: center;
  gap: .4rem;
  width: 100%;
  min-height: 44px;
  padding: .65rem .75rem;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  overflow-wrap: anywhere;
}

.basket-preview-wrapper .kb-preview-coupon__toggle::before {
  content: "\25B8";
  flex: 0 0 auto;
}

.basket-preview-wrapper .kb-preview-coupon__toggle[aria-expanded="true"]::before {
  transform: rotate(90deg);
}

.basket-preview-wrapper .kb-preview-coupon__toggle:focus-visible {
  outline: 2px solid #3f362e;
  outline-offset: 2px;
}

.basket-preview-wrapper .kb-preview-coupon__body {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 0 .75rem .75rem;
}

.basket-preview-wrapper .kb-preview-coupon__body[hidden] {
  display: none !important;
}

.basket-preview-wrapper .kb-preview-coupon__body .input-group {
  position: relative;
  width: 100%;
  max-width: 100%;
  flex-wrap: wrap;
  gap: .5rem;
}

.basket-preview-wrapper .kb-preview-coupon__body .form-control {
  flex: 1 1 9rem;
  min-width: 0;
  min-height: 44px;
  border-radius: .25rem;
}

.basket-preview-wrapper .kb-preview-coupon__body .input-group-btn {
  display: block;
  margin: 0;
}

.basket-preview-wrapper .kb-preview-coupon__body .btn {
  min-height: 44px;
  white-space: normal;
  border-radius: .25rem;
}

/* Warenkorbdaten werden beim ersten Abruf der Ceres-Sitzung geladen. */
html[data-kb-basket-initializing] .control-basket > .toggle-basket-preview {
  position: relative;
}

html[data-kb-basket-initializing] .control-basket > .toggle-basket-preview > :is(span.mr-2, span.badge),
html[data-kb-basket-initializing] :is(.widget-basket-totals, .page-content.basket, .basket-preview-wrapper) .cmp-totals dd {
  visibility: hidden;
}

html[data-kb-basket-initializing] .control-basket > .toggle-basket-preview::after {
  content: "…";
  position: absolute;
  inset-inline-end: .75rem;
}

:is(.widget-basket, .page-content.basket, .basket-preview-wrapper)
  div:has(> .loading.d-table.w-100) > div:first-child > div > .h5.py-3 {
  display: none;
}

/* === Anpassungen Barriere === */
.alert-danger {
  background-color: #f1aeb5; /* satteres Rotrosa */
  color: #000000; /* echtes Schwarz */
  font-size: 1rem;
  line-height: 1.6;
  padding: 1rem 1.25rem;
  border-radius: 6px;
}

.alert-danger strong {
  display: none; /* entfernt die "0" */
}

.alert-danger .close {
  color: #000000 !important;
  font-size: 1.2rem;
}

.category-unit-price {
  color: #3f362e !important;
}
/* Gesamten Text innerhalb .vat dunkel setzen */
.vat,
.vat * {
  color: #3f362e !important;
}

/* Speziell für den Versandkosten-Link */
.vat a.text-appearance,
.vat a.text-appearance:visited,
.vat a.text-appearance:hover,
.vat a.text-appearance:focus {
  color: #3f362e !important;
  text-decoration: underline !important;
}

/* Optional: Wenn .text-muted gesetzt ist, trotzdem Farbe überschreiben */
.vat.text-muted,
.vat.text-muted * {
  color: #3f362e !important;
}

a.thumb-title {
  color: #3f362e !important;
  font-size: 1rem !important;
  line-height: 1.4;
  text-decoration: underline;
  margin-bottom: 0.5rem;
}

a.thumb-title.small {
  font-size: 1rem !important;       /* wieder normale Größe */
  line-height: 1.5 !important;      /* etwas größerer Zeilenabstand */
}

.badge-success {
  color: #1a1a1a !important; /* dunkler Text */
}

/* === Barrierefreiheit=== */
/* Button: Zurück zum Shop */
.accessibility-backlink {
  background: #3f362e;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  font-weight: bold;
}

/* Impressum- und Datenschutz-Links */
.accessibility-footer-links {
  text-align: center;
  margin-top: 1.5rem;
}
.accessibility-footer-links a {
  margin: 0 1rem;
  text-decoration: underline;
  color: #3f362e;
}

/* Artikelpaket-Badge ausblenden */
.badge-bundle.bg-info {
display: none !important;
}

/*Warenkorbvorschau vs TrustBadge*/

.menu-is-visible div[id^="trustbadge-container-"],
.basket-open div[id^="trustbadge-container-"]{
   display:none !important
}

/* Streichpreis entfernen */
.crossprice {
    text-decoration: none !important;
}

/*Doofinder Icons ausblenden*/
.dfd-guided-filters-card img {
    display: none !important;
    visibility: hidden !important;
}

/* STEP WRAPPER */
.checkout-stepper.horizontal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px auto;
  max-width: 800px;
  padding: 0 20px;
  position: relative;
}

/* EINZELNER SCHRITT */
.checkout-stepper .step {
  text-align: center;
  flex: 1;
  position: relative;
}

/* KREIS */
.checkout-stepper .step-circle {
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  background-color: #ccc;
  color: #fff;
  display: inline-block;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 8px;
}

/* TITEL UNTER DEM KREIS */
.checkout-stepper .step-title {
  display: block;
  font-size: 0.9rem;
  color: #666;
}

/* AKTIVER SCHRITT */
.checkout-stepper .step.active .step-circle {
  background-color: #3f362e; /* kräftiges Kletterbude-Rot */
}

.checkout-stepper .step.active .step-title {
  color: #3f362e;
  font-weight: 600;
}

/* LINIEN ZWISCHEN DEN SCHRITTEN */
.checkout-stepper .step::after {
  content: "";
  position: absolute;
  top: 20px;
  right: -50%;
  width: 100%;
  height: 2px;
  background-color: #ccc;
  z-index: -1;
}

.checkout-stepper .step:last-child::after {
  display: none;
}

/* AKTIVER SCHRITT VERBINDET ZU NÄCHSTEM */
.checkout-stepper .step.active::after {
  background-color: #3f362e;
}

/*Text Footer weiss*/

.white-text,
.white-text * {
  color: white !important;
  fill: white !important; /* für SVGs */
}

/* Aktive (ausgewählte) Zahlungsart */
.method-list-item input[type="radio"]:checked + label {
  border: 2px solid #3f362e; /* Kletterbude-braun */
  background-color: #e2dfdc;
  box-shadow: 0 0 8px rgba(230, 57, 70, 0.4);
  border-radius: 6px;
  display: block;
  transform: scale(1.01);
}

/* Optional: kleines Icon oder Haken rechts oben */
.method-list-item input[type="radio"]:checked + label::before {
  content: "✔";
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  color: #3f362e; /* Kletterbude-braun*/
  font-weight: bold;
}
.method-list-item label {
  position: relative;
}

/* === Kaufen-Button allgemein === */
.kletterbude-buy-btn {
  background-color: #6f6051; /* Kletterbude-Braun */
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 14px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  display: block;
  width: 100%;
  text-align: center;
}

/* Hover- und Aktivzustände */
.kletterbude-buy-btn:hover {
  background-color: #5a4e43; /* etwas dunkler beim Hover */
  border-color: #564c42;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.kletterbude-buy-btn:active {
  transform: scale(0.98);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

/* Icon im Button */
.kletterbude-buy-btn button.btn i {
  font-size: 1.2rem;
  margin-right: 10px;
  vertical-align: middle;
  transition: transform 0.3s ease;
}
.kletterbude-buy-btn button.btn i::before {
  font-family: "Font Awesome 5 Free", "FontAwesome", sans-serif;
}
.kletterbude-buy-btn button.btn:hover i {
  transform: translateX(4px);
}
.kletterbude-buy-btn button.btn {
  background-color: #3f362e;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 14px 24px;
  border: 2px solid #2a2520;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  width: 100%;
  text-align: center;
  display: block;
}

.kletterbude-buy-btn button.btn:hover {
  background-color: #2f2823;
  border: 2px solid #2a2520;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.kletterbude-buy-btn button.btn:active {
  transform: scale(0.98);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

/* === Ratepay-Infobox (bei Rechnungskauf Privatkunden) === */
.paypal-payuponinvoice-legal-notice {
  font-size: 0.9rem;
  line-height: 1.4;
  background-color: #f3f3f3;
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
  border: 1px solid #ddd;
  color: #333;
}

.paypal-payuponinvoice-legal-notice a {
  color: #3f362e; /* Kletterbude-Braun */
  text-decoration: underline;
}

/* Optional: kleiner Abstand über dem Button */
.widget-place-order .btn.kletterbude-buy-btn {
  margin-top: 8px;
}

/* Glossar Kletterwandbau*/
#glossar dl {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  #glossar dt {
    font-weight: bold;
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 0.2rem;
  }
  #glossar dd {
    margin-left: 0;
    padding-left: 1rem;
    border-left: 3px solid #eee;
    color: #555;
    font-size: 0.95rem;
  }
  .glossar-buchstabe {
    font-size: 1.4rem;
    margin-top: 2rem;
    color: #1a1a1a;
    border-bottom: 2px solid #ccc;
    padding-bottom: 0.2rem;
  }
  @media (min-width: 768px) {
    #glossar dl {
      flex-direction: row;
      flex-wrap: wrap;
    }
    #glossar dt, #glossar dd {
      width: 48%;
    }
    #glossar dt {
      margin-top: 0;
    }
  }
section[id] {
  scroll-margin-top: 200px; /* oder z. B. 80px, je nach Headerhöhe */
}
/* === weiße Schrift Header Grafik === */
.text-white {
    color: #ffffff !important;
  }

/* === Vertrag widerrufen=== */
#kb-withdrawal-cta-wrap {
  width: 100% !important;
  margin: 24px 0 20px 0 !important;
  padding: 18px 16px !important;
  box-sizing: border-box !important;
  text-align: center !important;
  border-top: 1px solid rgba(255,255,255,0.25) !important;
  border-bottom: 1px solid rgba(255,255,255,0.25) !important;
}

#kb-withdrawal-cta,
#kb-withdrawal-cta:link,
#kb-withdrawal-cta:visited,
#kb-withdrawal-cta:hover,
#kb-withdrawal-cta:active,
#kb-withdrawal-cta:focus {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 46px !important;
  padding: 11px 24px !important;
  box-sizing: border-box !important;
  background-color: #ffffff !important;
  color: #38342d !important;
  -webkit-text-fill-color: #38342d !important;
  border: 2px solid #d6b35a !important;
  border-radius: 4px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25) !important;
}

#kb-withdrawal-cta span {
  color: #38342d !important;
  -webkit-text-fill-color: #38342d !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-decoration: none !important;
}

#kb-withdrawal-cta:hover,
#kb-withdrawal-cta:focus {
  background-color: #f7f2e4 !important;
  text-decoration: underline !important;
  outline: 3px solid rgba(214,179,90,0.65) !important;
  outline-offset: 3px !important;
}

/* === Produkthighlights / Produktdetails === */

/* Hervorhebung der Highlight-Box */
.kb-product-highlights {
  border-left: 4px solid #3f362e !important;
}

/* Highlights auf Tablet/Desktop zweispaltig */
.kb-product-highlights .product-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem 2rem;
  margin: 0;
  padding-left: 1.25rem;
}

/* Listenmarker in Kletterbude-Braun */
.kb-product-highlights .product-highlights li::marker {
  color: #3f362e;
}

/* Aufklappbare Zusatzinformationen als interaktiv erkennbar */
.kb-product-details summary {
  cursor: pointer;
}

/* Kein unnötiger Abstand nach dem letzten Element
   eines längeren Text-/HTML-Feldes */
.kb-long-property-content > :last-child {
  margin-bottom: 0;
}

/* Smartphone: Highlights einspaltig */
@media (max-width: 767.98px) {
  .kb-product-highlights .product-highlights {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   PASST DAS PRODUKT ZU DIR?
   ========================================================= */

.kb-fit-advice-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem 2rem;
}

/* Überschriften der beiden Beratungsbereiche */

.kb-fit-advice-content strong {
  display: block;
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

/* Listen zurücksetzen */

.kb-fit-advice-content ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.kb-fit-advice-content li {
  position: relative;
  margin: 0 0 0.6rem;
  padding-left: 1.6rem;
  line-height: 1.45;
}

.kb-fit-advice-content li:last-child {
  margin-bottom: 0;
}

/* Positiver Bereich */

.fit-advice__positive strong {
  color: #315c3a;
}

.fit-advice__positive li::before {
  content: "";
  position: absolute;
  top: 0.25rem;
  left: 0.2rem;

  width: 0.5rem;
  height: 0.85rem;

  border-right: 2px solid #315c3a;
  border-bottom: 2px solid #315c3a;

  transform: rotate(45deg);
}

/* Bereich „Weniger passend“ */

.fit-advice__limitations strong {
  color: #6b4f42;
}

.fit-advice__limitations li::before {
  content: "";
  position: absolute;
  top: 0.72rem;
  left: 0.15rem;

  width: 0.75rem;
  height: 2px;

  background-color: #6b4f42;
}

/* Dezente Trennung auf größeren Bildschirmen */

@media (min-width: 768px) {

  .fit-advice__limitations {
    padding-left: 1.5rem;
    border-left: 1px solid #dee2e6;
  }
}

/* Mobile Darstellung */

@media (max-width: 767.98px) {

  .kb-fit-advice-content {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .fit-advice__limitations {
    padding-top: 1.25rem;
    border-top: 1px solid #dee2e6;
  }
}

/* =========================================================
   Produktseiten-Inhaltsbereiche

   - normale Accordions
   - Produktdetails-Vorschau
   - Beschreibungsvorschau
   ========================================================= */

/* ---------------------------------------------------------
   Gemeinsame Trennung der Inhaltsbereiche
   --------------------------------------------------------- */

.kb-product-accordion,
.kb-description-preview {
  border-top: 1px solid #dee2e6;
}

/* ---------------------------------------------------------
   NORMALES ACCORDION

   Technische Daten
   EU Verantwortlicher
   --------------------------------------------------------- */

.kb-product-accordion-heading {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.4;
}

.kb-product-accordion-toggle {
  appearance: none;
  -webkit-appearance: none;

  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  min-height: 48px;

  margin: 0;
  padding: 1rem 0;

  border: 0;
  background: transparent;

  color: inherit;
  font: inherit;
  font-weight: 600;
  text-align: left;

  cursor: pointer;
}

.kb-product-accordion-toggle::after {
  content: "";

  width: 0.65rem;
  height: 0.65rem;

  margin-left: 1rem;

  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;

  transform: rotate(45deg);

  flex: 0 0 auto;

  transition: transform 0.2s ease;
}

.kb-product-accordion-toggle[aria-expanded="true"]::after {
  transform: rotate(225deg);
}

.kb-product-accordion-toggle:focus-visible {
  outline: 2px solid #3f362e;
  outline-offset: 3px;
}

.kb-product-accordion-content {
  padding: 0.25rem 0 1.5rem;
}

.kb-product-accordion-content[hidden] {
  display: none !important;
}

.kb-product-accordion-content > :last-child {
  margin-bottom: 0;
}

/* ---------------------------------------------------------
   GEMEINSAMER "MEHR ANZEIGEN"-BUTTON

   Produktdetails + Beschreibung
   --------------------------------------------------------- */

.kb-preview-toggle {
  appearance: none;
  -webkit-appearance: none;

  display: inline-flex;
  align-items: center;

  min-height: 44px;

  margin: 0.75rem 0 0;
  padding: 0.5rem 0;

  border: 0;
  background: transparent;

  color: #3f362e;
  font: inherit;
  font-weight: 600;
  text-align: left;

  cursor: pointer;
}

.kb-preview-toggle::after {
  content: "";

  width: 0.55rem;
  height: 0.55rem;

  margin-left: 0.65rem;

  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;

  transform: rotate(45deg);

  flex: 0 0 auto;

  transition: transform 0.2s ease;
}

.kb-preview-toggle[aria-expanded="true"]::after {
  transform: rotate(225deg);
}

.kb-preview-toggle:hover {
  text-decoration: underline;
}

.kb-preview-toggle:focus-visible {
  outline: 2px solid #3f362e;
  outline-offset: 3px;
}

/* ---------------------------------------------------------
   BESCHREIBUNGSVORSCHAU
   --------------------------------------------------------- */

.kb-description-preview-content {
  padding-top: 0.25rem;
}

.kb-description-preview-content > :last-child,
.kb-description-preview-text {
  margin-bottom: 0;
}

.kb-description-full[hidden],
.kb-description-preview-content[hidden] {
  display: none !important;
}

.kb-description-full > :last-child {
  margin-bottom: 0;
}

/* ---------------------------------------------------------
   Vollbreite Aktionszeile:
   „Ganze Beschreibung anzeigen“
   --------------------------------------------------------- */

.kb-description-preview .kb-description-toggle {
  appearance: none;
  -webkit-appearance: none;

  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  min-height: 48px;

  margin: 0.75rem 0 0;
  padding: 1rem 0;

  border: 0;
  border-radius: 0;
  background: transparent;

  color: var(--primary, #3c3531);
  font: inherit;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;

  cursor: pointer;
}

/* Pfeil der Beschreibungszeile */

.kb-description-preview .kb-description-toggle::after {
  content: "";

  width: 0.65rem;
  height: 0.65rem;

  margin: 0 0.15rem 0 1rem;

  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;

  transform: rotate(45deg);

  flex: 0 0 auto;

  transition: transform 0.2s ease;
}

/* Geöffneter Zustand */

.kb-description-preview
.kb-description-toggle[aria-expanded="true"]::after {
  transform: rotate(225deg);
}

/* Interaktionszustände */

.kb-description-preview .kb-description-toggle:hover {
  color: var(--primary, #3c3531);
  background-color: rgba(0, 0, 0, 0.025);
  text-decoration: none;
}

.kb-description-preview .kb-description-toggle:focus-visible {
  outline: 2px solid #3f362e;
  outline-offset: 3px;
}

/* ---------------------------------------------------------
   REDUZIERTE BEWEGUNG
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

  .kb-product-accordion-toggle::after,
  .kb-preview-toggle::after,
  .kb-description-preview .kb-description-toggle::after {
    transition: none;
  }
}

.kb-product-accordion [hidden],
.kb-product-details-preview [hidden],
.kb-description-preview [hidden] {
  display: none !important;
}
/* =========================================================
   Produkt-Accordions "Bewertung" und "Frage zum Artikel":
   ShopBuilder-Abstände des äußeren Rasters entfernen,
   damit geschlossene Accordions dieselbe Höhe haben wie
   "Technische Daten" und "EU Verantwortlicher".
   ========================================================= */

.kb-product-accordion.widget-grid.widget-two-col {
    margin-bottom: 0 !important;
}

.kb-product-accordion.widget-grid.widget-two-col > .widget-inner:first-child {
    padding-bottom: 0 !important;
}

/* =========================================================
   ARTIKELDETAILSEITE – KAUFBEREICH
   Voraussetzung:
   CSS-Klasse "kb-product-main" am äußeren 60/40-Raster
   ========================================================= */

/* ---------------------------------------------------------
   1. Grundaufbau: Galerie und Kaufbereich
   --------------------------------------------------------- */

.kb-product-main {
    align-items: flex-start;
}

.kb-product-main > .widget-inner {
    min-width: 0;
}

/* ---------------------------------------------------------
   2. Leere optionale Widgets
   --------------------------------------------------------- */

.kb-product-main .kb-product-tags:empty,
.kb-product-main .kb-product-order-properties:empty,
.kb-product-main .kb-product-rating:has(> div:empty),
.kb-product-main .kb-product-bundle:has(> div > div:empty),
.kb-product-main .kb-product-contact:has(.widget-inner:empty) {
    display: none;
}

/* ---------------------------------------------------------
   3. Herstellerlogo
   --------------------------------------------------------- */

.kb-product-main .kb-product-brand-widget {
    margin: 0 0 4px;
}

.kb-product-main .kb-product-brand-widget .widget-inner {
    padding: 0;
}

.kb-product-main .kb-product-brand {
    display: flex;
    align-items: center;
    min-height: 64px;
}

.kb-product-main .kb-product-brand a {
    display: inline-flex;
    align-items: center;
    min-height: 64px;
}

.kb-product-main .kb-product-brand img {
    display: block;
    width: auto;
    height: auto;
    max-width: 180px;
    max-height: 52px;
    object-fit: contain;
}

.kb-product-main .kb-product-brand__name {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
}

/* ---------------------------------------------------------
   4. Produktname, Bewertung und Tags
   --------------------------------------------------------- */

.kb-product-main .kb-product-title {
    margin: 0 0 5px;
}

.kb-product-main .kb-product-title .widget-inner {
    padding: 0;
}

.kb-product-main .kb-product-title h1,
.kb-product-main .kb-product-title .h1 {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.2;
}

.kb-product-main .kb-product-rating {
    margin: 0 0 6px;
}

.kb-product-main .kb-product-tags {
    margin: 0 0 8px;
}

/* ---------------------------------------------------------
   5. Artikelnummer und Artikel-ID
   --------------------------------------------------------- */

.kb-product-main .kb-product-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    align-items: start;
    gap: 3px 16px;
    margin: 0 0 12px;
    padding: 0;
}

.kb-product-main .kb-product-meta.row {
    margin-right: 0;
    margin-left: 0;
}

.kb-product-main .kb-product-meta > .widget-inner {
    width: 100%;
    min-width: 0;
    max-width: none;
    padding-right: 0;
    padding-left: 0;
}

.kb-product-main .kb-product-number,
.kb-product-main .kb-product-id {
    margin: 0;
    color: #3f362e;
    font-size: 0.75rem;
    line-height: 1.35;
}

.kb-product-main .kb-product-number {
    overflow-wrap: anywhere;
}

.kb-product-main .kb-product-id {
    white-space: nowrap;
}

.kb-product-main .kb-product-number .widget-inner,
.kb-product-main .kb-product-id .widget-inner {
    margin: 0;
    padding: 0;
}

.kb-product-main .kb-product-number p,
.kb-product-main .kb-product-id p {
    margin: 0;
}

/* ---------------------------------------------------------
   6. Artikelpaket
   --------------------------------------------------------- */

.kb-product-main .kb-product-bundle {
    margin: 0 0 12px;
}

/* ---------------------------------------------------------
   7. Varianten: Dropdown, Boxen und Bilder
   --------------------------------------------------------- */

.kb-product-main .kb-product-attributes {
    margin: 0 0 12px;
}

.kb-product-main .kb-product-attributes [data-testing="attribute-name"] {
    color: #343a40;
    font-weight: 600;
}

.kb-product-main .kb-product-attributes select {
    min-height: 42px;
}

/* Große Plenty-Innenabstände der Variantenboxen reduzieren */

.kb-product-main .kb-product-attributes .v-s-boxes {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

/* ---------------------------------------------------------
   8. Bestellmerkmale und Bestelleigenschaften
   --------------------------------------------------------- */

.kb-product-main .kb-product-order-properties {
    margin: 0 0 12px;
}

.kb-product-main .kb-product-order-properties .order-property-slider {
    margin-bottom: 0 !important;
}

.kb-product-main .kb-product-order-properties .order-property-slider-inner {
    width: 100%;
}

.kb-product-main .kb-product-order-properties fieldset {
    min-width: 0;
    margin: 0;
}

.kb-product-main .kb-product-order-properties fieldset > .pt-2 {
    padding-top: 8px !important;
}

.kb-product-main .kb-product-order-properties legend {
    margin-bottom: 4px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.kb-product-main .kb-product-order-properties legend + p {
    margin-bottom: 8px;
    font-size: 0.875rem;
    line-height: 1.4;
}

.kb-product-main .kb-product-order-properties label {
    font-weight: 600;
}

.kb-product-main .kb-product-order-properties input,
.kb-product-main .kb-product-order-properties select {
    min-height: 42px;
}

.kb-product-main .kb-product-order-properties textarea {
    min-height: 90px;
}

/* ---------------------------------------------------------
    9. Staffelpreise
   --------------------------------------------------------- */

/*
 * Das äußere Widget erhält keinen eigenen Abstand.
 * So erzeugt ein leeres Plenty-Widget keine sichtbare Lücke.
 */

.kb-product-main .kb-product-tier-prices {
    margin: 0;
}

/*
 * Der Abstand wird erst gesetzt, wenn Plenty innerhalb
 * des Widgets tatsächlich Staffelpreisinhalte ausgibt.
 */

.kb-product-main
.kb-product-tier-prices
.widget-inner
> div {
    margin: 0 0 12px;
}

.kb-product-main .kb-product-tier-prices .widget-inner {
    padding: 0;
}

.kb-product-main
.kb-product-tier-prices
.graduated-prices-table {
    width: 100%;
    margin: 4px 0 0;
}

.kb-product-main
.kb-product-tier-prices
.graduated-prices-table td {
    padding: 3px 0;
    line-height: 1.35;
}

.kb-product-main
.kb-product-tier-prices
.graduated-prices-table td:last-child {
    text-align: right;
    color: #343a40;
    font-weight: 600;
}

/* Das vom Plenty-Widget ausgegebene abschließende <br> ausblenden */

.kb-product-main .kb-product-tier-prices br {
    display: none;
}

/* ---------------------------------------------------------
   10. Aktionshinweis
   --------------------------------------------------------- */

.kb-product-main .kb-product-promotion {
    margin: 0 0 10px;
}

.kb-product-main .kb-product-promotion-content {
    margin: 0;
}

.kb-product-main .kb-product-promotion-content .widget-inner {
    padding: 0;
}

/* Entfernt einen direkt im Codewidget hinterlegten oberen Abstand */

.kb-product-main
.kb-product-promotion-content
> .widget-inner
> div {
    margin-top: 0 !important;
}

.kb-product-main .kb-product-promotion-content .alert {
    margin: 0;
    padding: 9px 12px;
    line-height: 1.35;
}

/* ---------------------------------------------------------
   11. Preis, Inhalt und Grundpreis
   --------------------------------------------------------- */

.kb-product-main .kb-product-price {
    margin: 0 0 8px;
}

/* Überschreibt my-3 aus dem Plenty-Preiswidget */

.kb-product-main .kb-product-price .base-price {
    margin-top: 4px !important;
    margin-bottom: 6px !important;
    font-size: 0.8rem;
    line-height: 1.4;
}

.kb-product-main .kb-product-price .base-price-value {
    font-weight: 600;
}

/* Lieferbarkeit direkt unter dem Preis kompakter darstellen */

.kb-product-main
.kb-product-price
+ .widget-availability {
    margin: 0 0 10px;
}

/* ---------------------------------------------------------
   12. Warenkorb und Wunschliste
   --------------------------------------------------------- */

.kb-product-main .kb-product-add-to-cart {
    margin: 0 0 5px;
}

.kb-product-main .kb-product-add-to-cart button,
.kb-product-main .kb-product-add-to-cart .btn-primary {
    min-height: 44px;
}

.kb-product-main .kb-product-wishlist {
    margin: 0;
}

/* Sichtbare Tastaturfokussierung */

.kb-product-main .kb-product-add-to-cart button:focus-visible,
.kb-product-main .kb-product-add-to-cart .btn:focus-visible,
.kb-product-main .kb-product-wishlist button:focus-visible,
.kb-product-main .kb-product-wishlist a:focus-visible {
    outline: 3px solid #005fcc;
    outline-offset: 2px;
}

/* ---------------------------------------------------------
   13. Trennlinie nach der Wunschliste
   --------------------------------------------------------- */

.kb-product-main .kb-buybox-divider {
    margin-top: 12px;
    margin-bottom: 10px;
    border-top-color: #dedede;
}

/* ---------------------------------------------------------
   14. MwSt., Versandkosten und Streichpreishinweis
   --------------------------------------------------------- */

.kb-product-main .kb-product-price-note {
    margin: 0 0 18px;
    color: #5f6368;
    font-size: 0.75rem;
    line-height: 1.4;
}

.kb-product-main .kb-product-price-note .widget-inner {
    padding: 0;
}

.kb-product-main .kb-product-price-note__content {
    margin: 0;
}

.kb-product-main .kb-product-price-note p {
    margin: 0 0 3px;
}

.kb-product-main .kb-product-price-note p:last-child {
    margin-bottom: 0;
}

.kb-product-main .kb-product-price-note a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.kb-product-main .kb-product-price-note a:hover {
    color: #212529;
}

/* ---------------------------------------------------------
   15. Vorteile mit SVG-Icons
   --------------------------------------------------------- */

.kb-product-main .kb-product-benefits-widget {
    margin: 0;
}

.kb-product-main .kb-product-benefits-widget .widget-inner {
    padding: 0;
}

.kb-product-main .kb-product-benefits {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kb-product-main .kb-product-benefit {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    line-height: 1.35;
}

.kb-product-main .kb-product-benefit__icon {
    display: inline-flex;
    flex: 0 0 20px;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: #403a36;
}

.kb-product-main .kb-product-benefit__icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---------------------------------------------------------
   16. Optionales Kontakt-/WhatsApp-Widget
   --------------------------------------------------------- */

.kb-product-main .kb-product-contact {
    margin: 10px 0 0;
}

/* ---------------------------------------------------------
   17. Mobile Darstellung
   --------------------------------------------------------- */

@media (max-width: 767.98px) {

    .kb-product-main .kb-product-brand,
    .kb-product-main .kb-product-brand a {
        min-height: 56px;
    }

    .kb-product-main .kb-product-brand img {
        max-width: 160px;
        max-height: 46px;
    }

    .kb-product-main .kb-product-title {
        margin-bottom: 5px;
    }

    .kb-product-main .kb-product-meta {
        gap: 3px 12px;
        margin-bottom: 10px;
    }

    .kb-product-main .kb-product-bundle,
    .kb-product-main .kb-product-attributes,
    .kb-product-main .kb-product-order-properties {
        margin-bottom: 10px;
    }

.kb-product-main
.kb-product-tier-prices
.widget-inner
> div {
    margin-bottom: 10px;
}

    .kb-product-main .kb-product-price-note {
        font-size: 0.725rem;
    }

    .kb-product-main .kb-product-benefits {
        gap: 8px;
    }

    .kb-product-main .kb-product-benefit {
        align-items: flex-start;
    }

    .kb-product-main .kb-product-benefit__icon {
        margin-top: 1px;
    }
}

/* =========================================================
   Sprung zu den Produktbewertungen
   ========================================================= */

.kb-product-rating {
    cursor: pointer;
}

.kb-product-rating:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.kb-product-reviews {
    scroll-margin-top: 200px;
}

/* =========================================================
   TEXTLINKS IN INHALTSBEREICHEN

   Unterstrichen werden nur Links innerhalb von Fließtext
   und erklärenden Inhalten. Navigation, Produktkarten,
   Breadcrumbs, Buttons und Footer-Linklisten bleiben
   unverändert.
   ========================================================= */

.category-description a,
.kb-product-details a,
.kb-description-preview a,
.kb-product-highlights a,
.kb-fit-advice a,
.kb-product-note a,
.form-check-label a {
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

/* Unterstreichung auch in allen Interaktionszuständen erhalten */

.category-description a:hover,
.category-description a:focus,
.category-description a:active,
.kb-product-details a:hover,
.kb-product-details a:focus,
.kb-product-details a:active,
.kb-description-preview a:hover,
.kb-description-preview a:focus,
.kb-description-preview a:active,
.kb-product-highlights a:hover,
.kb-product-highlights a:focus,
.kb-product-highlights a:active,
.kb-fit-advice a:hover,
.kb-fit-advice a:focus,
.kb-fit-advice a:active,
.kb-product-note a:hover,
.kb-product-note a:focus,
.kb-product-note a:active,
.form-check-label a:hover,
.form-check-label a:focus,
.form-check-label a:active {
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 2px;
}
/* Kletterbude: GARAN + Checkout. */
/* Gewährleistung im Checkout: Vorschaubild wiederherstellen */

.widget-guarantee-notice a.text-appearance {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.widget-guarantee-notice a.text-appearance::before {
  content: "";
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 95 / 100;
  margin-bottom: 0.5rem;

  background-image: url("https://cdn03.plentyone.com/9hwwm7o3ef2l/plugin/5/ceres/images/guarantee_notice/guarantee_notice_DE.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.widget-guarantee-notice a.text-appearance:focus-visible {
  outline: 2px solid #3f362e;
  outline-offset: 4px;
}
/* GARAN im Checkout: aufgeklapptes Label vergrößern */

.page-checkout .guarantee-label-container {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.page-checkout .guarantee-label-container .guarantee-label-collapse {
  box-sizing: border-box;

  width: 480px !important;
  max-width: 100% !important;

  margin: 10px 0 0 auto;
  padding: 12px;

  border: 1px solid #cfc7bb;
  background-color: #fff;
}

.page-checkout .guarantee-label-container .guarantee-label-full-image {
  display: block;

  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}
/* GARAN auf der Artikelseite */
.kb-product-main .widget-guarantee-label {
  margin: 12px 0 0;
  max-width: 100%;
}

.kb-product-main .widget-guarantee-label .guarantee-badge-toggle {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  width: auto;
  max-width: 100%;
  min-height: 44px;
  color: #342d25;
  text-align: left;
  cursor: pointer;
}

.kb-product-main .widget-guarantee-label .guarantee-badge-image {
  display: block;
  flex: 0 1 240px;
  width: 240px !important;
  max-width: 100% !important;
  height: auto !important;
}

/* Zusatz am Button, ausserhalb der offiziellen Grafik */
.kb-product-main .guarantee-badge-toggle::after {
  content: "Garantielabel anzeigen";
  font-size: 14px;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.kb-product-main .guarantee-badge-toggle[aria-expanded="true"]::after {
  content: "Garantielabel schließen";
}

html:lang(en) .kb-product-main .guarantee-badge-toggle::after {
  content: "Show guarantee label";
}

html:lang(en) .kb-product-main .guarantee-badge-toggle[aria-expanded="true"]::after {
  content: "Close guarantee label";
}

/* Vollansicht: vorhandene Spaltenbreite nutzen */
.kb-product-main .widget-guarantee-label .guarantee-label-collapse {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid #cfc7bb;
  background-color: #fff;
}

.kb-product-main .widget-guarantee-label .guarantee-label-full-image {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}

/* Dein direkt folgendes Code-Widget mit Klasse kb-garan-links */
.kb-product-main .widget-code.kb-garan-links {
  display: none;
  margin: 4px 0 16px;
  padding: 0;
}

.kb-product-main .widget-guarantee-label + .widget-code.kb-garan-links {
  display: block;
}

/* Auch bei einem leeren GARAN-Widget den Link ausblenden */
@supports selector(:has(*)) {
  .kb-product-main .widget-guarantee-label:not(:has(.guarantee-badge-image))
  + .widget-code.kb-garan-links {
    display: none;
  }
}

.kb-product-main .widget-code.kb-garan-links > .widget-inner {
  margin: 0;
  padding: 0;
  background: transparent;
}

.kb-product-main .kb-garan-links a {
  display: inline-block;
  max-width: 100%;
  padding: 6px 0;
  color: #342d25;
  font-size: 15px;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.kb-product-main .kb-garan-links a:hover {
  text-decoration-thickness: 2px;
}

.kb-product-main .guarantee-badge-toggle:focus-visible,
.kb-product-main .kb-garan-links a:focus-visible {
  outline: 3px solid #1854a5;
  outline-offset: 4px;
}

/* CHECKOUT: aeusserer Rahmen am bereits vorhandenen Widget */
.widget-guarantee-notice {
  box-sizing: border-box;
  min-width: 0;
  margin: 24px 0;
  padding: 20px;
  border: 3px solid #4d4338;
  border-left-width: 7px;
  border-radius: 6px;
  background-color: #fbf8f0;
}

@media (max-width: 575.98px) {
  .widget-guarantee-notice {
    margin: 18px 0;
    padding: 14px;
  }
}

@media (min-width: 992px) {
  /* Logobereich nicht unnötig verbreitern */
  .navbar.megamenu .brand-wrapper {
    flex-grow: 0 !important;
  }

  /* Im Desktop-Markenmenü nur Marken anzeigen */
  .main-navbar-collapsable
  .mainmenu > li.ddown > a[href$="/marken"] + ul .level2 {
    display: none;
  }

  /* Abstände zwischen den Marken verringern */
  .main-navbar-collapsable
  .mainmenu > li.ddown > a[href$="/marken"] + ul .collapse-inner {
    padding-bottom: .25rem;
  }

  .main-navbar-collapsable
  .mainmenu > li.ddown > a[href$="/marken"] + ul .level1 > a {
    display: block;
    padding: .5rem 0;
    line-height: 1.4;
  }

  /* Markenmenü beim Navigieren per Tastatur öffnen */
  .main-navbar-collapsable
  .mainmenu > li.ddown:focus-within > a[href$="/marken"] + ul {
    display: block;
    visibility: visible;
    opacity: 1;
    z-index: 1090;
    overflow-y: auto;
  }

  /* Tastaturfokus sichtbar machen */
  .main-navbar-collapsable
  .mainmenu > li.ddown > a[href$="/marken"]:focus-visible,
  .main-navbar-collapsable
  .mainmenu > li.ddown > a[href$="/marken"] + ul .level1 > a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -2px;
  }
}
/* Zahlungsarten: Diese Regeln gelten nur innerhalb von .kb-zahlungsarten. */
.kb-zahlungsarten [id] {
  scroll-margin-top: 200px;
}
.kb-zahlungsarten a[href] {
  text-decoration: underline;
  text-underline-offset: 0.15em;
  overflow-wrap: anywhere;
}
.kb-zahlungsarten a[href]:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}
.kb-zahlungsarten section {
  margin-top: 2rem;
}
.kb-zahlungsarten .kb-zahlungsarten-uebersicht {
  list-style: none;
  padding-left: 0;
}
.kb-zahlungsarten .kb-zahlungsarten-uebersicht > li + li {
  margin-top: 1rem;
}
.kb-zahlungsarten .kb-zahlungsarten-uebersicht > li > strong {
  display: block;
}
.kb-zahlungsarten .kb-zahlungsarten-uebersicht a {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  max-width: 100%;
  min-height: 44px;
  margin: 0.25rem 0.25rem 0.25rem 0;
  padding: 0.5rem 0.75rem;
  border: 1px solid currentColor;
  border-radius: 0.25rem;
}

/* Opt-in für Fließtext in Ratgebern und auf Service-Seiten. */
.kb-content a[href]:not(.btn, [role="button"]) {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.kb-content a[href]:focus-visible,
.kb-footer-links .list-unstyled > li > a[href]:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

/* Opt-in für die Footer-Linklisten auf Touchgeräten und schmalen Displays. */
@media (pointer: coarse), (max-width: 767.98px) {
    .kb-footer-links .list-unstyled > li > a[href] {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 0.375rem 0;
    }
}
.kb-cart-properties-source[hidden] {
  display: none !important;
}

.kb-cart-properties {
  min-width: 0;
  margin: 0.45rem 0;
  border: 1px solid #ded8d0;
  border-radius: 0.3rem;
  background: #faf8f5;
  color: #342d26;
  font-size: 0.875rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.kb-cart-properties__title {
  margin: 0;
  padding: 0.45rem 0.65rem;
  font-weight: 700;
}

.kb-cart-properties > summary {
  display: list-item;
  box-sizing: border-box;
  min-height: 44px;
  padding-block: 0.7rem;
  cursor: pointer;
}

.kb-cart-properties__body {
  padding: 0 0.65rem 0.55rem;
}

.kb-cart-properties__group + .kb-cart-properties__group {
  margin-top: 0.45rem;
  padding-top: 0.45rem;
  border-top: 1px solid #ded8d0;
}

.kb-cart-properties__group-name {
  margin: 0 0 0.2rem;
  font-weight: 700;
}

.kb-cart-properties dl,
.kb-cart-properties dd,
.kb-cart-properties dd p,
.kb-cart-properties dd ul,
.kb-cart-properties dd ol {
  margin: 0;
}

.kb-cart-properties dl > div + div {
  margin-top: 0.16rem;
}

.kb-cart-properties dt,
.kb-cart-properties dd {
  display: inline;
}

.kb-cart-properties dd:not(:empty)::before {
  content: " – ";
}

.kb-cart-properties a[href] {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.kb-cart-properties :is(summary, a[href]):focus-visible {
  outline: 2px solid #60431f;
  outline-offset: 2px;
}

/* Produktbilder innerhalb des bestehenden quadratischen Karussellrahmens. */
@supports (width: 1cqw) and (height: 1cqh) {
  #kjv-image-carousel.single-carousel .prop-1-1 > a {
    display: grid;
    place-items: center;
    container-type: size;
  }

  #kjv-image-carousel.single-carousel .prop-1-1 > a > .kjv-zoom-image-container {
    /* Das Widget schreibt Mindesthöhe und Maximalhöhe als Inline-Styles. */
    width: max-content !important;
    max-width: 100cqw;
    min-height: 0 !important;
    max-height: 100cqh !important;
  }

  #kjv-image-carousel.single-carousel .prop-1-1 > a > picture,
  #kjv-image-carousel.single-carousel .prop-1-1 > a > .kjv-zoom-image-container > picture {
    display: block;
  }

  #kjv-image-carousel.single-carousel .prop-1-1 > a > img,
  #kjv-image-carousel.single-carousel .prop-1-1 > a > picture > img,
  #kjv-image-carousel.single-carousel .prop-1-1 > a > .kjv-zoom-image-container > picture > img {
    width: auto;
    height: auto;
    max-width: 100cqw;
    max-height: 100cqh;
    margin: 0;
    object-fit: contain;
  }
}

.kb-image-gallery img.pswp__img {
  object-fit: contain;
}
