/* Reflow-Kategorienleiste: Hintergrund entfernen */

[data-reflow-type="category-list"] > .reflow-category-list.ref-horizontal-bar, [data-reflow-type="category-list"] > .reflow-category-list.ref-horizontal-bar > ul.ref-categories, [data-reflow-type="category-list"] > .reflow-category-list.ref-horizontal-bar > ul.ref-categories > li.ref-category {
  background: transparent !important;
}

/* Reflow: Variation und Menge nebeneinander */

.ref-product-controls .ref-variant {
  display: inline-block;
  vertical-align: bottom;
  margin: 0 0.75rem 0.75rem 0;
}

.ref-product-controls > [data-reflow-quantity] {
  display: inline-block;
  vertical-align: bottom;
  margin-bottom: 0.75rem;
  position: relative;
  top: 20px;
}

/* Dezente Rahmen */

.ref-product-controls .ref-field-variants, .ref-product-controls .ref-quantity-widget {
  border: 1px solid #495057;
  border-radius: 4px;
  background-color: transparent;
  color: #dee2e6;
}

/* Mengenregler */

.ref-product-controls .ref-quantity-widget .ref-decrease, .ref-product-controls .ref-quantity-widget .ref-increase {
  border-color: #495057;
}

/* Produktname in Kanit */

.ref-product-data h2.ref-name {
  font-family: 'Kanit', sans-serif;
  font-weight: 400;
}

/* Variation und Mengenregler bündig ausrichten */

.ref-product-controls > [data-reflow-quantity] {
  vertical-align: bottom;
  transform: translateY(7px);
}

/* Kategorien besser lesbar */

.ref-product-data .ref-categories {
  color: #9ca3af;
}

/* Variantenauswahl */

.ref-product-controls .ref-field-variants {
  height: 42px;
  box-sizing: border-box;
  border: 1px solid #495057;
  border-radius: 4px;
}

/* Mengenregler */

.ref-product-controls .ref-quantity-widget {
  display: flex;
  align-items: stretch;
  height: 42px;
  box-sizing: border-box;
  border: 1px solid #495057;
  border-radius: 4px;
  overflow: hidden;
}

/* Minus / Plus / Eingabefeld */

.ref-product-controls .ref-quantity-widget .ref-decrease, .ref-product-controls .ref-quantity-widget .ref-increase, .ref-product-controls .ref-quantity-widget input {
  height: 100%;
  box-sizing: border-box;
}

/* Vorherige vertikale Verschiebung entfernen */

.ref-product-controls > [data-reflow-quantity] {
  transform: none;
  vertical-align: bottom;
}

/* Checkboxen */

.ref-product-controls .ref-personalization-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  border: 1px solid #495057;
  border-radius: 3px;
  background-color: transparent;
  vertical-align: middle;
  cursor: pointer;
  accent-color: #0d8cdb;
}

/* Aktivierte Checkbox */

.ref-product-controls .ref-personalization-checkbox:checked {
  appearance: auto;
  -webkit-appearance: auto;
  accent-color: #0d8cdb;
}

/* Warenkorb-Button */

.ref-product-controls > .ref-button {
  background-color: #0d8cdb;
  border: 1px solid #0d8cdb;
  border-radius: 4px;
  color: #fff;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* Hover */

.ref-product-controls > .ref-button:hover {
  background-color: #0a72b3;
  border-color: #0a72b3;
  color: #fff;
}

/* Tastaturfokus */

.ref-product-controls > .ref-button:focus-visible, .ref-product-controls .ref-personalization-checkbox:focus-visible {
  outline: 2px solid #0d8cdb;
  outline-offset: 3px;
}

/* ========================================   REFLOW – PREISE   ======================================== */

/* Hauptpreis in Info-Blau */

.ref-product-data > .ref-price {
  font-size: 1.35rem;
  font-weight: 600;
  color: #0d8cdb;
}

/* Personalisierungs-Aufpreise */

.ref-product-controls .ref-personalization .ref-price {
  font-size: 0.9rem;
  font-weight: 400;
  color: #adb5bd;
}

/* ========================================   REFLOW – PERSONALISIERUNG   ======================================== */

/* Optionsbezeichnungen */

.ref-product-controls .ref-personalization-label {
  font-size: 0.9rem;
  font-weight: 400;
  color: #adb5bd;
}

/* Zusatzhinweise */

.ref-product-controls .ref-instructions {
  font-size: 0.75rem;
  line-height: 1.3;
  color: #808b96;
  margin: 0.2rem 0 0.5rem;
}

/* Abstände zwischen Optionen */

.ref-product-controls .ref-personalization {
  margin-bottom: 0.35rem;
}

/* ========================================   REFLOW – ARTIKELBESCHREIBUNG   ======================================== */

.ref-product-data .ref-description {
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Absätze kompakter */

.ref-product-data .ref-description p {
  line-height: 1.4;
  margin: 0 0 0.75rem;
}

/* Leere Absätze aus dem Reflow-Editor entfernen */

.ref-product-data .ref-description p:has( > br:only-child) {
  display: none;
}

/* Letzten Absatz ohne zusätzlichen Abstand */

.ref-product-data .ref-description p:last-child {
  margin-bottom: 0;
}

/* ========================================   REFLOW – PRODUKTDETAILS FINAL   ======================================== */

.ref-product-data {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1.25rem;
  align-content: start;
}

/* Produktname und Kategorie */

.ref-product-data > .ref-name, .ref-product-data > .ref-categories {
  grid-column: 1 / -1;
}

/* Reflow-Wrapper öffnen */

.ref-product-data > [data-reflow-type="add-to-cart"], .ref-product-controls {
  display: contents;
}

/* Hauptpreis */

.ref-product-data > .ref-price {
  grid-column: 1;
  grid-row: 3;
  align-self: center;
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  color: #0d8cdb;
}

/* Warenkorb-Button */

.ref-product-controls > .ref-button {
  grid-column: 2;
  grid-row: 3;
  justify-self: start;
  align-self: center;
  margin: 0;
}

/* Variation und Menge */

.ref-product-controls > .ref-variant, .ref-product-controls > [data-reflow-quantity] {
  grid-row: 4;
}

/* Variation */

.ref-product-controls > .ref-variant {
  grid-column: 1;
  margin-right: 0.75rem;
}

/* Mengenregler */

.ref-product-controls > [data-reflow-quantity] {
  grid-column: 2;
  justify-self: start;
  transform: none;
}

/* Personalisierung */

.ref-product-controls > .ref-personalization-holder {
  grid-column: 1 / -1;
  grid-row: 5;
}

/* Beschreibung */

.ref-product-data > .ref-description {
  grid-column: 1 / -1;
  grid-row: 6;
}

/* Personalisierungsbereich */

.ref-product-controls .ref-personalization-holder {
  border-top: 1px solid #343a40;
  border-bottom: 1px solid #343a40;
  padding: 0.85rem 0;
  margin: 0.75rem 0 1rem;
}

/* Optionen */

.ref-product-controls .ref-personalization {
  margin-bottom: 0.35rem;
}

.ref-product-controls .ref-personalization:last-child {
  margin-bottom: 0;
}

/* Produktmerkmale */

.ref-product-data .ref-description ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.5rem;
  list-style-type: disc;
}

/* Einzelne Merkmale */

.ref-product-data .ref-description li {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0.3rem;
  color: #ced4da;
}

/* Dezente blaue Aufzählungspunkte */

.ref-product-data .ref-description li::marker {
  color: #0d8cdb;
}

/* Kompakte Beschreibung */

.ref-product-data .ref-description p {
  font-size: 0.9rem;
  line-height: 1.45;
  margin-bottom: 0.75rem;
}

/* ========================================   REFLOW – TEXTHERVORHEBUNGEN   ======================================== */

/* Fettgedruckte Texte in der Beschreibung */

.ref-product-data .ref-description strong, .ref-product-data .ref-description b {
  font-weight: 700;
  color: #f1f3f5;
}

/* Beschreibung allgemein */

.ref-product-data .ref-description {
  font-family: 'Kanit', sans-serif;
  font-weight: 400;
}

/* Produktmerkmale */

.ref-product-data .ref-description ul {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Aufzählungspunkte */

.ref-product-data .ref-description li::marker {
  color: #0d8cdb;
}

/* ========================================   REFLOW – TYPOGRAFIE & ABSTÄNDE   ======================================== */

/* Hervorgehobene Texte 3 px größer */

.ref-product-data .ref-description strong {
  font-size: calc(1em + 3px);
  font-weight: 700;
  color: #f1f3f5;
}

/* Kursive Hinweise etwas dezenter */

.ref-product-data .ref-description em {
  color: #9ca3af;
  font-style: italic;
}

/* Variation und Mengenregler nach unten rücken */

.ref-product-controls > .ref-variant, .ref-product-controls > [data-reflow-quantity] {
  margin-top: 12px;
}

/* Reflow – Produkt-Badges */

.ref-promo-badge {
  background-color: #263C4B !important;
  color: #A9D9F5 !important;
  border: 1px solid #426B85;
  border-radius: 4px;
}

/* Warenkorb-Button im Produktkatalog */

.reflow-product-list .product-list-add-to-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  background-color: #0d8cdb;
  border: 1px solid #0d8cdb;
  border-radius: 6px;
  font-size: 0;
  line-height: 1;
  color: #fff;
}

/* Einkaufswagen-Icon */

.reflow-product-list .product-list-add-to-cart::before {
  content: "\f07a";
  font-family: "FontAwesome";
  font-size: 19px;
  font-weight: normal;
}

/* Hover */

.reflow-product-list .product-list-add-to-cart:hover {
  background-color: #0a72b3;
  border-color: #0a72b3;
  color: #fff;
}

