/* Statische Kategorien-Filter-Liste mit Akkordeon */
.category-filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-filter-sublist {
  margin-left: 4px;
  margin-top: 2px;
  margin-bottom: 2px;
  padding-left: 0;
}

.category-filter-item {
  padding: 2px 0;
}

.category-filter-item.has-children {
  position: relative;
}

/* Akkordeon-Header (Zeile mit Name und Pfeil) */
.category-filter-header {
  margin: 0;
  padding: 0;
}

.category-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0px 0;
  gap: 8px;
}

.navbar .navbar-nav .nav-item .nav-link.active {
  opacity: 1;
}

.navbar .navbar-nav .dropdown .dropdown-menu.nav-submenu > li .mega-menu-link.active {
  color: #de1c24 !important;
  font-weight: 500 !important;
}

/* Link zum Kategorienamen (linksbündig) */
.category-filter-header .category-filter-link {
  flex: 1;
  text-align: left;
  margin: 0;
  padding: 0;
}

/* Aktive Links hervorheben */
.category-filter-link.active, .category-filter-item.active a.category-filter-link.active, .category-filter-item.active {
  color: #de1c24 !important;
  font-weight: 600 !important;
}

.category-filter-item.active > .category-filter-header {
  background-color: rgba(222, 28, 36, 0.05) !important;
  border-left: 3px solid #de1c24 !important;
  padding-left: 8px;
  margin-left: -8px;
}

/* Sicherstellen, dass aktive Links auch bei Hover sichtbar bleiben */
.category-filter-item.active .category-filter-link:hover,
.category-filter-link.active:hover {
  color: #de1c24 !important;
}

/* Pfeil-Button (rechtsbündig) */
.category-filter-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: #00225C;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.category-filter-toggle:hover {
  color: #CF142B;
}

.category-filter-toggle:focus {
  outline: none;
  color: #CF142B;
}

.category-filter-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.category-filter-toggle[aria-expanded="true"] .category-filter-toggle-icon {
  transform: rotate(90deg);
}

.category-filter-toggle-icon svg {
  width: 12px;
  height: 12px;
  color: currentColor;
  transition: color 0.2s ease;
}

/* Kollabierbarer Bereich für Unterkategorien */
.category-filter-content {
  margin-left: 2px;
  margin-top: 2px;
  padding-left: 0;
  display: none;
  overflow: hidden;
  transition: max-height 0.2s ease, opacity 0.2s ease;
  max-height: 0;
  opacity: 0;
}

.category-filter-content.show {
  display: block;
  max-height: 5000px;
  opacity: 1;
}

/* Direkter Link (für Kategorien ohne Unterkategorien) */
.category-filter-link {
  display: block;
  color: #00225C;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.5;
  padding: 4px 0;
  transition: color 0.2s ease;
  cursor: pointer;
}

.category-filter-link:hover {
  color: #CF142B;
  text-decoration: none;
}

.category-filter-link:visited {
  color: #00225C;
}

.category-filter-sublist .category-filter-link {
  padding-top: 4px;
  padding-bottom: 4px;
  padding-left: 0;
  font-weight: 400;
  font-size: 14px;
}

/* Ebene 3+ kompakter darstellen */
.category-filter-sublist .category-filter-sublist {
  margin-left: 6px;
}

.category-filter-sublist .category-filter-sublist .category-filter-link {
  font-size: 14px;
  line-height: 1.4;
  padding: 4px 0;
}

.category-filter-sublist .category-filter-sublist .category-filter-sublist {
  margin-left: 10px;
}

.category-filter-sublist .category-filter-sublist .category-filter-sublist .category-filter-link {
  font-size: 13px;
  line-height: 1.35;
  padding: 3px 0;
}

@media (max-width: 767px) {
  .category-filter-sublist {
    margin-left: 3px;
  }

  .category-filter-link {
    font-size: 15px;
    line-height: 1.4;
  }

  .category-filter-sublist .category-filter-link {
    font-size: 14px;
  }

  .category-filter-sublist .category-filter-sublist {
    margin-left: 5px;
  }

  .category-filter-sublist .category-filter-sublist .category-filter-sublist {
    margin-left: 8px;
  }

  .category-filter-sublist .category-filter-sublist .category-filter-link {
    font-size: 13px;
  }
}

/* Sidebar: Titel über den Filter-Blöcken (PHP: p.single-filter-widget--title; JS: .filter-accordion__header) */
.single-filter-widget--title {
  display: block;
  font-size: 17px;
  color: rgba(0, 34, 92, 1);
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 7px;
  /* wie früher h2 in main.css, damit Umstellung von h2 auf p gleiche Zeilenhöhe behält */
  line-height: 36px;
}

/* Algolia Filter Accordion Styles */
.filter-accordion {
  margin-bottom: 20px;
}

.filter-accordion__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  padding: 8px 0;
}

.filter-accordion__icon {
    font-size: 38px;
    line-height: 1;
    margin-left: 12px;
    color: #A5A6AA;
  transition: transform 0.25s ease;
}

.filter-accordion__content {
  margin-top: 8px;
  overflow: hidden;
  transition: height 0.25s ease;
}

/* Algolia Refinement List Styles */
.ais-RefinementList-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ais-RefinementList-item {
  padding: 6px 0;
}

.ais-RefinementList-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  width: 100%;
}

.ais-RefinementList-checkbox {
  margin-right: 10px;
  flex-shrink: 0;
}

.ais-RefinementList-labelText {
  flex: 1;
  text-align: left;
}

.ais-RefinementList-count {
  margin-left: auto;
  padding-left: 12px;
  color: #999;
  font-size: 0.9em;
  flex-shrink: 0;
}

/* Range Slider Styles */
.custom-range-slider {
  margin: 20px 0;
}

.ais-RangeSlider-handle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--base-color, #279cb6);
  cursor: pointer;
}

.ais-RangeSlider-tooltip {
  background: var(--base-color, #279cb6);
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
}

input.ais-RefinementList-checkbox {
  border-color: rgba(221, 221, 221, 1);
}

/* Produktkachel Styling entsprechend dem Bild */
.single-product__content .title .product-name {
  font-size: 1.25rem;
  font-weight: 500;
  color: rgba(0, 34, 92, 1);
  text-decoration: none;
}

.single-product__content .sub-category {
  font-size: 1rem;
  font-weight: normal;
  color: #a0aec0;
  margin: 4px 0;
}

.single-product__content .price {
  margin-top: 8px;
}

.single-product__content .price .original-price {
  color: #a0aec0;
  text-decoration: line-through;
  font-weight: normal;
  font-size: 1rem;
  margin-left: 8px;
}

.single-product__content .price .discounted-price + .original-price {
  margin-left: 8px;
}

.single-product__content .price .discounted-price {
  color: rgba(0, 34, 92, 1);
  font-weight: 500;
  font-size: 1rem;
}

/* Product Detail Page - Image Layout */
.product-image-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #e5e7eb;
  border-radius: 15px;
  overflow: hidden;
  background: #ffffff;
  padding: 10px;
}

.product-image-container {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.product-main-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  aspect-ratio: 1 / 1;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: high-quality;
}

.product-thumbnails-container {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 10px 0 0 0;
  margin-top: 10px;
}

.product-thumbnails-container .swiper {
  max-width: 100%;
}

.product-thumbnail {
  width: 60px;
  height: 60px;
  object-fit: contain;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 4px;
  transition: border-color 0.3s ease;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: high-quality;
}

/* .product-thumbnail:hover,
.product-thumbnail.swiper-slide-thumb-active {
  border-color: #279cb6;
} */

/* Thumbnail-Spur: kein gap / kein margin-right:0 — Swiper steuert Abstand über spaceBetween (inline margin) */
.product-thumbnails-container .swiper-wrapper {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0;
}

.product-thumbnails-container .swiper-slide {
  border-color: #e5e7eb;
  border-radius: 15px;
  padding: 10px;
}

.shop-product__title h1 {
  color: #00225C!important;
  font-size: 27px;
  line-height: 34px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

div#product_price span.original-price-detail, div#product_price span.discounted-price-detail {
  font-size: 31px;
  font-weight: 400;
}

div#product_price span.original-price-detail {
  font-size: 22px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .product-thumbnail {
    width: 50px;
    height: 50px;
  }

  .product-image-wrapper {
    border-radius: 0;
  }

  /* Produkttitel: mehr Zeilenabstand auf schmalen Viewports */
  .shop-product__title h1,
  .shop-product__title .h2 {
    line-height: 2.7 !important;
  }
}

/* Product Detail Page - Price Styling */
.shop-product__price .original-price-detail {
  color: #a0aec0;
  text-decoration: line-through;
  font-weight: normal;
  font-size: 1.25rem;
  margin-left: 8px;
}

.shop-product__price .discounted-price-detail + .original-price-detail {
  margin-left: 8px;
}

#product_price .discounted-price del {
  display: inline-block;
  margin-left: 8px;
}

.discounted-price + .price-old,
.price-old {
  display: inline-block;
  margin-left: 8px;
}

.cart-products td.product-price .cart-current-price {
  color: #333333;
  font-weight: 600;
}

.cart-products td.product-price .cart-original-price {
  display: inline-block;
  margin-left: 8px;
  color: #7e7e7e;
}

.shop-product__price .discounted-price-detail {
  color: rgba(207, 20, 43, 1);
  font-weight: bold;
  font-size: 1.25rem;
}

.shop-product__price .unavailable-price {
  color: #a0aec0;
  font-weight: normal;
  font-size: 1.25rem;
}

.shop-product__price .tax-label {
  color: #a0aec0;
  font-size: 15px;
  font-weight: normal;
  margin-top: 7px;
  display: block;
}

.shop-product__price .staffelpreise-inline-text {
  color: rgba(0, 34, 92, 1);
  font-size: 15px;
  font-weight: 500;
  margin-top: 6px;
  display: block;
  line-height: 1.4;
}

.shop-product__price-row {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 10px;
}

.shop-product__price-row .detail-price-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 0 1 auto;
  min-width: 0;
}

.shop-product__price .product-price-main-row {
  display: inline-flex;
  align-items: flex-end;
  gap: 6px;
}

/* Quantity and Cart Button Layout */
.quantity-cart-wrapper {
  display: flex;
  align-items: end;
  gap: 20px;
  margin-bottom: 30px;
}

.quantity-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quantity-section .shop-product__block__title {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: rgba(0, 34, 92, 1);
  /* combined.css setzt .shop-product__block__title flex-basis 25%/100px — in Flex-Zeilen sonst riesiger Abstand zum Feld */
  flex-basis: auto;
  flex-grow: 0;
  width: auto;
}

.cart-button-section {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.add-to-cart-btn {
  background-color: rgba(207, 20, 43, 1) !important;
  border-color: rgba(207, 20, 43, 1) !important;
  color: white !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-weight: 500;
  border-radius: 15px;
  text-decoration: none;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
  min-width: 200px;
  height: 48px;
  box-sizing: border-box;
}

.add-to-cart-btn:hover {
  background-color: rgba(180, 15, 35, 1) !important;
  border-color: rgba(180, 15, 35, 1) !important;
  color: white !important;
  transform: translateY(-1px);
}

.add-to-cart-btn:active,
.add-to-cart-btn:focus {
  min-width: 200px;
  height: 48px;
  transform: translateY(0);
}

.add-to-cart-btn:disabled,
.add-to-cart-btn[disabled] {
  min-width: 200px;
  height: 48px;
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.add-to-cart-btn .cart-icon {
  stroke: currentColor;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

/* Quantity input styling */
.cart-plus-minus-box {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 12px 16px;
  width: 80px;
  height: 48px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: #374151;
  background-color: transparent;
  box-sizing: border-box;
}

.cart-plus-minus-box:focus {
  outline: none;
  border-color: rgba(207, 20, 43, 1);
  box-shadow: 0 0 0 3px rgba(207, 20, 43, 0.1);
}

/* Zwischen Tablet und schmalem Handy: eine Zeile wie Desktop, etwas kompakter */
@media (max-width: 768px) and (min-width: 521px) {
  .quantity-cart-wrapper {
    flex-direction: row;
    align-items: flex-end;
    flex-wrap: nowrap;
    gap: 10px;
    min-width: 0;
  }

  .quantity-section {
    align-items: flex-start;
    flex-shrink: 0;
  }

  .cart-button-section {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .add-to-cart-btn {
    min-width: 0;
    flex: 1 1 auto;
    height: 48px;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 13px;
    justify-content: center;
    overflow: hidden;
  }

  .add-to-cart-btn span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .cart-button-section .product-detail__wishlist-inline {
    flex: 0 0 48px;
  }

  .add-to-cart-btn:active,
  .add-to-cart-btn:focus,
  .add-to-cart-btn:disabled,
  .add-to-cart-btn[disabled] {
    min-width: 0;
  }
}

/* Erst auf sehr schmalen Viewports: Menge zentriert, Buttons darunter */
@media (max-width: 520px) {
  .quantity-cart-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }

  .quantity-section {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .quantity-section .shop-product__block__title {
    flex-shrink: 0;
    flex-basis: auto;
    flex-grow: 0;
    line-height: 1.2;
  }

  .quantity-section .pro-qty {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
  }

  .cart-button-section {
    width: 100%;
    display: flex;
    align-items: stretch;
    gap: 8px;
  }

  .add-to-cart-btn {
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
    height: 48px;
    justify-content: center;
    font-size: inherit;
    padding: 12px 24px;
    overflow: visible;
  }

  .add-to-cart-btn span {
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
  }

  .cart-button-section .product-detail__wishlist-inline {
    flex: 0 0 48px;
  }

  .add-to-cart-btn:active,
  .add-to-cart-btn:focus,
  .add-to-cart-btn:disabled,
  .add-to-cart-btn[disabled] {
    min-width: 0;
  }
}

/* Product Info List Styling */
.product-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 0;
}

/* Robuste Ausrichtung: fixe Label-Spalte + Wert-Spalte */
.quick-view-other-info .product-info-list .info-item:not(.info-item--staffelpreise) {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  column-gap: 14px;
  align-items: start;
}

/* Prevent horizontal page scroll from tooltip/content overflow on PDP info block */
.quick-view-other-info {
  overflow-x: hidden;
  overflow-x: clip;
}

.info-label {
  font-size: 15px;
  font-weight: 500;
  color: rgba(0, 34, 92, 1);
  flex-shrink: 0;
  flex-basis: 140px;
  min-width: 140px;
  white-space: nowrap;
  padding-right: 8px;
}

.shipping-info-tooltip-trigger {
  border: 0;
  background: transparent;
  padding: 0;
}

.shipping-info-tooltip {
  display: inline-block;
  position: relative;
  vertical-align: baseline;
  width: 18px;
  height: 18px;
  margin-left: 0px;
  top: 0;
}

.shipping-info-tooltip-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
  opacity: 1 !important;
  filter: none !important;
  -webkit-filter: none !important;
  mix-blend-mode: normal !important;
  transform: none !important;
}

.shipping-info-tooltip-fallback {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(0, 34, 92, 1);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 15px;
  text-align: center;
  display: inline-block;
}

.shipping-info-tooltip-content {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  min-width: 240px;
  max-width: min(360px, 75vw);
  padding: 14px 16px;
  border-radius: 8px;
  background: #00225c;
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  z-index: 20;
}

.shipping-info-tooltip-content::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #00225c transparent transparent transparent;
}

.shipping-info-tooltip:hover .shipping-info-tooltip-content,
.shipping-info-tooltip:focus-within .shipping-info-tooltip-content,
.shipping-info-tooltip.is-open .shipping-info-tooltip-content {
  visibility: visible;
  opacity: 1;
}

@media (min-width: 992px) {
  .shipping-info-tooltip-content {
    min-width: 520px;
    max-width: 520px;
    padding: 18px 22px;
    font-size: 14px;
    line-height: 1.45;
  }
}

/* Detailseite: Overflow-Fix im Bereich 991-1300px */
@media (min-width: 992px) and (max-width: 1300px) {
  .quick-view-other-info {
    overflow-x: clip;
  }

  .quick-view-other-info .shipping-info-tooltip-content {
    min-width: 0;
    width: max-content;
    max-width: min(420px, calc(100vw - 40px));
    left: 0;
    transform: none;
  }

  .quick-view-other-info .shipping-info-tooltip-content::after {
    left: 14px;
    transform: none;
  }
}

.shipping-info-tooltip-content p {
  margin: 0;
}

.shipping-info-tooltip-content p + p {
  margin-top: 8px;
}

.shipping-info-tooltip-content strong {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}

.info-value {
  font-size: 15px;
  font-weight: 400;
  color: rgba(0, 34, 92, 1);
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.info-value a {
  font-weight: 400;
  color: rgba(0, 34, 92, 1);
  text-decoration: none;
}

.info-value a:hover {
  text-decoration: underline;
}

/* Staffelpreise (tiered prices) table */
.info-item--staffelpreise {
  margin-top: 8px;
}
.staffelpreise-wrapper {
  width: 100%;
}
.staffelpreise-title {
  font-weight: 700;
  color: rgba(0, 34, 92, 1);
  margin-bottom: 12px;
}
.staffelpreise-subtitle {
  font-size: 13px;
  color: rgba(83, 101, 131, 1);
  margin-top: 8px;
  margin-bottom: 10px;
}
.staffelpreise-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 2px;
  background-color: transparent;
  font-size: 15px;
  color: rgba(0, 34, 92, 1);
}
.staffelpreise-table th,
.staffelpreise-table td {
  border-right: 0;
  border-bottom: 0;
  padding: 10px 14px;
  line-height: 1.35;
  text-align: left;
  vertical-align: middle;
}

/* Bootstrap table defaults überschreiben */
.staffelpreise-table > :not(caption) > * > * {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  vertical-align: middle !important;
}
.staffelpreise-table thead th {
  background-color: #f3f4f6;
  font-weight: 600;
  color: rgba(0, 34, 92, 1);
}
.staffelpreise-table tbody th {
  background-color: #fff;
  font-weight: 600;
  color: rgba(0, 34, 92, 1);
}
.staffelpreise-table tbody td {
  background-color: #fff;
  font-weight: 400;
  color: rgba(0, 34, 92, 1);
}
.staffelpreise-mobile-list {
  display: none;
}

/* Mobile adjustments for product info */
@media (max-width: 768px) {
  .info-item {
    gap: 15px;
    flex-wrap: nowrap;
  }

  .quick-view-other-info .product-info-list .info-item:not(.info-item--staffelpreise) {
    grid-template-columns: 110px minmax(0, 1fr);
    column-gap: 12px;
  }

  .info-label {
    flex-basis: 100px;
    min-width: 100px;
    white-space: nowrap;
  }

  .staffelpreise-table {
    display: none;
  }

  .staffelpreise-mobile-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .staffelpreise-mobile-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 9px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    font-size: 13px;
    line-height: 1.25;
    color: rgba(0, 34, 92, 1);
  }

  .staffelpreise-mobile-qty {
    font-weight: 600;
    white-space: nowrap;
  }

  .staffelpreise-mobile-price {
    font-weight: 500;
    white-space: nowrap;
    text-align: right;
  }
}

@media (max-width: 575px) {
  .info-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 10px;
  }

  .quick-view-other-info .product-info-list .info-item:not(.info-item--staffelpreise) {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 4px;
    column-gap: 0;
  }

  .info-item:last-child {
    margin-bottom: 0;
  }

  .info-label {
    flex-basis: auto;
    min-width: 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(0, 34, 92, 0.78);
  }

  .info-value {
    width: 100%;
    font-size: 15px;
    color: rgba(0, 34, 92, 1);
    position: static;
  }

  /* Versandhinweis: unter 575px als Accordion im normalen Flow (ohne absolute) */
  /* Nicht auf Produktoptionen / Detail-Versand-Modal: display:contents würde Layout + Modal-Pfad zerstören */
  .shipping-info-tooltip:not(.option-value-info-tooltip):not(.shipping-info-tooltip--detail-modal) {
    /* Kein eigener Box-Container -> Icon bleibt inline, Content kann darunter als Block aufgehen */
    display: contents;
  }

  .shipping-info-tooltip-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    line-height: 1;
    position: relative;
    top: -1px;
  }

  .shipping-info-tooltip-icon,
  .shipping-info-tooltip-fallback {
    vertical-align: middle;
  }

  .shipping-info-tooltip:not(.shipping-info-tooltip--detail-modal) .shipping-info-tooltip-content {
    display: none;
    position: static;
    left: auto;
    top: auto;
    bottom: auto;
    transform: none;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    margin-top: 8px;
    padding: 12px 14px;
    border-radius: 8px;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    max-height: none;
    overflow: visible;
    transition: none;
    z-index: auto;
  }

  .shipping-info-tooltip:not(.shipping-info-tooltip--detail-modal) .shipping-info-tooltip-content::after {
    display: none;
  }

  /* Auf Mobile kein Hover-Tooltip, nur Toggle per Icon */
  .shipping-info-tooltip:not(.shipping-info-tooltip--detail-modal):hover .shipping-info-tooltip-content,
  .shipping-info-tooltip:not(.shipping-info-tooltip--detail-modal):focus-within .shipping-info-tooltip-content {
    display: none;
  }

  .shipping-info-tooltip:not(.shipping-info-tooltip--detail-modal).is-open .shipping-info-tooltip-content {
    display: block;
  }
}

/* Checkout Complete - Address Alignment */
.checkout-address-row {
  display: flex;
  align-items: stretch;
}

/* .checkout-address-col {
  display: flex;
  flex-direction: column;
} */

@media (min-width: 992px) {
  .checkout-address-col {
    height: 100%;
  }
}

/* Checkout Complete / Order Detail - Table Product Column: max. Breite erste Zelle */
.table-order-products th:first-child,
.table-order-products td:first-child {
  max-width: 660px;
}
.table-order-products tbody td:first-child {
  white-space: initial;
}

/* Order Detail - Product Image Square */
.order-detail-product-image {
  width: 100px;
  height: 100px;
  object-fit: contain;
  aspect-ratio: 1 / 1;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 5px;
}

/* Category Info Styles */
.category-info-description {
  text-align: left !important;
  font-size: 16px !important;
  font-family: inherit !important;
  line-height: 1.6 !important;
}

.category-info-description p,
.category-info-description div,
.category-info-description span,
.category-info-description strong,
.category-info-description b,
.category-info-description em,
.category-info-description i,
.category-info-description a {
  text-align: left !important;
  font-size: 16px !important;
  font-family: inherit !important;
}

/* Überschreibe inline font-size Styles */
.category-info-description p[style*="font-size"],
.category-info-description span[style*="font-size"],
.category-info-description div[style*="font-size"],
.category-info-description strong[style*="font-size"],
.category-info-description b[style*="font-size"],
.category-info-description *[style*="font-size"] {
  font-size: 16px !important;
}

/* Überschreibe inline font-family Styles */
.category-info-description p[style*="font-family"],
.category-info-description span[style*="font-family"],
.category-info-description div[style*="font-family"],
.category-info-description strong[style*="font-family"],
.category-info-description b[style*="font-family"],
.category-info-description *[style*="font-family"] {
  font-family: inherit !important;
}

.category-info-description img {
  display: block;
  margin: 0 auto;
}

/* Checkout Complete - Product Image Square */
/* .checkout-product-image {
  width: 100px;
  height: 100px;
  object-fit: contain;
  aspect-ratio: 1 / 1;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 5px;
} */

/* Product Cards - Square Images */
.product-card .card-image {
  aspect-ratio: 1 / 1;
  height: auto;
  padding-bottom: 0;
}

.product-card .card-image figure {
  aspect-ratio: 1 / 1;
  height: auto;
  width: 100%;
  padding-bottom: 0;
}

.product-card .card-image figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  top: auto;
  left: auto;
  transform: none;
}

/* Checkout Complete - Table Responsive Mode Earlier */
@media (max-width: 1200px) {
  .table-responsive.table-order-products-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .table-responsive .table-order-products {
    min-width: 700px;
  }

  .table-order-products th {
    font-size: 14px;
    padding: 12px 10px !important;
  }

  .table-order-products td {
    font-size: 14px;
    padding: 12px 10px !important;
  }
}

@media (max-width: 992px) {
  .table-responsive .table-order-products {
    min-width: 650px;
  }

  .table-order-products th {
    font-size: 13px;
    padding: 10px 8px !important;
  }

  .table-order-products td {
    font-size: 13px;
    padding: 10px 8px !important;
  }
}

/* Shipping and Return Cards */
/* .shipping-return-cards {
  max-width: 630px;
} */

.shipping-return-divider {
  width: 100%;
  border-top: 2px dashed #d1d5db;
  margin-bottom: 30px;
}

.info-cards-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.info-card {
  flex: 1;
  min-width: 280px;
  background: #ffffff;
  border: 2px dashed #d1d5db;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 15px;
  transition: border-color 0.3s ease;
}

.info-card:hover {
  border-color: #00225C;
}

.info-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.info-card-icon svg {
  width: 32px;
  height: 32px;
}

.info-card-text {
  font-size: 14px;
  line-height: 1.5;
  color: #374151;
  text-align: center;
  width: 100%;
}

.info-card-text strong {
  color: #00225C;
  font-weight: 600;
}

/* Mobile adjustments for cards */
@media (max-width: 768px) {
  .info-cards-row {
    flex-direction: column;
    gap: 15px;
  }

  .info-card {
    min-width: auto;
    width: 100%;
  }
}

/* Action Buttons Row (Weiterempfehlen, Drucken, Fragen) */
.action-buttons-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 32px;
  margin-bottom: 30px;
}

.action-button-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #00225C;
  font-size: 15px;
  font-weight: 500;
  transition: opacity 0.2s ease;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.action-button-link:hover {
  opacity: 0.9;
}

.action-button-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  object-fit: contain;
}

.action-button-label {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .action-buttons-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* Product Inquiry Modal */
#productInquiryModal .modal-header {
  border-bottom: 1px solid #dee2e6;
}

#productInquiryModal .modal-title {
  color: #00225C;
  font-weight: 600;
}

#productInquiryModal .modal-title.options-title,
.accessories-modal .modal-title.options-title {
  font-size: 22px;
  line-height: 1.3;
  margin-bottom: 0;
}

.product-inquiry-form .form-label {
  font-weight: 400;
  color: rgba(0, 34, 92, 1);
  font-size: 17px;
  line-height: 25px;
}

.product-inquiry-form .form-control {
  border-radius: 4px;
}

.product-inquiry-form .form-control:focus {
  border-color: #00225C;
  box-shadow: 0 0 0 0.2rem rgba(0, 34, 92, 0.15);
}

.product-inquiry-form .hero-flag__button {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

.product-inquiry-form .inquiry-submit-spinner {
  display: none;
  align-items: center;
  justify-content: center;
}

.product-inquiry-form .inquiry-submit-spinner.is-visible {
  display: inline-flex;
}

.product-inquiry-form .hero-flag__button:disabled {
  opacity: 1;
  background: #001B5E;
  color: #fff;
  cursor: wait;
}

.product-inquiry-form .inquiry-submit-spinner .spinner-border {
  width: 14px;
  height: 14px;
  border-width: 2px;
}

/* Product Options Styling */
.product-options {
  margin-bottom: 40px;
}

.options-title {
  font-size: 18px;
  font-weight: 600;
  color: rgba(0, 34, 92, 1);
  margin-bottom: 20px;
}

.accessories-main-product-warning {
  border: 0;
  color: #cf142b;
  border-radius: 6px;
  background: #fff5f6;
  padding: 10px 12px;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.4;
}

.option-group {
  margin-bottom: 20px;
}

.accessories-list {
  display: grid;
  gap: 16px;
}

.accessories-bottom-divider {
  margin-top: 32px;
  margin-bottom: 28px;
}

.accessory-item {
  display: grid;
  gap: 0;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.accessory-item-main {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto auto;
  grid-template-areas:
    "image title title title"
    "image price qty cart";
  column-gap: 12px;
  row-gap: 10px;
  align-items: center;
  width: 100%;
  min-width: 0;
}

.accessory-item-image {
  grid-area: image;
  width: 72px;
  height: 72px;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.accessory-item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.accessory-item-title {
  grid-area: title;
  display: block;
  width: 100%;
  min-width: 0;
  color: #00225c;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.3;
}

.accessory-item-price-wrap {
  grid-area: price;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  justify-self: start;
}

.accessory-item-price {
  white-space: nowrap;
  font-weight: 600;
  color: #CF142B;
}

.accessory-item-price .discounted-price,
.accessory-item-price .main-price {
  color: #CF142B;
}

.accessory-tier-inline-text {
  margin-top: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #536583;
}

.accessory-note-panel {
  padding-left: 82px;
  padding-top: 0;
  margin: 0;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .35s ease, opacity .25s ease, padding-top .25s ease, margin-top .25s ease;
}

.accessory-note-panel.is-open {
  margin-top: 10px;
  opacity: 1;
}

.accessory-note-title {
  font-size: 13px;
  font-weight: 600;
  color: #00225c;
  margin-bottom: 6px;
}

.accessory-note-body {
  font-size: 13px;
  color: #425168;
  line-height: 1.45;
}

.accessory-note-body > *:last-child {
  margin-bottom: 0;
}

.accessory-item-extra {
  padding-left: 82px;
  margin-top: 10px;
}

.accessory-item-extra:empty {
  display: none;
}

.accessory-options {
  display: grid;
  gap: 8px;
  margin-bottom: 8px;
}

.accessory-option-label {
  font-size: 13px;
  color: #536583;
  margin-bottom: -4px;
}

.accessory-quantity-tools {
  grid-area: qty;
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 10px;
}

.accessory-quantity-stepper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(237, 239, 244, 1);
  border-radius: 15px;
  padding: 10px 13px;
}

.accessory-quantity-input {
  border: 0;
  width: 60px;
  min-width: 60px;
  height: 28px;
  margin-bottom: 0;
  padding: 0 8px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  background: transparent;
}

.accessory-quantity-input:focus {
  outline: none;
}

.accessory-quantity-input::-webkit-outer-spin-button,
.accessory-quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.accessory-quantity-input[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.accessory-qty-btn {
  border: 0;
  background: transparent;
  padding: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 500;
  color: #333;
  line-height: 1;
  cursor: pointer;
}

.accessory-qty-btn:hover {
  color: #00225c;
}

.accessory-note-toggle {
  border: 0;
  background: transparent;
  padding: 0;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.accessory-note-toggle .shipping-info-tooltip-icon,
.accessory-note-toggle .shipping-info-tooltip-fallback {
  width: 18px;
  height: 18px;
}

.accessory-quantity-recommendation {
  grid-column: 3 / 4;
  grid-row: 3;
  justify-self: center;
  margin-top: -6px;
  font-size: 12px;
  color: rgba(83, 101, 131, 1);
  white-space: nowrap;
}

.accessory-error {
  display: none;
  color: rgba(207, 20, 43, 1);
  font-size: 13px;
  margin-top: 6px;
}

.accessory-error.visible {
  display: block;
}

.accessory-option-input.is-invalid {
  border-color: #d1d5db;
  box-shadow: none;
}

.accessory-add-btn {
  border: 0;
  background: transparent;
  padding: 0;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  grid-area: cart;
  justify-self: end;
  align-self: center;
}

/* Zubehör-Warenkorb: Markenblau (nicht Teaser-Grau von .single-product__cart-icon); liegt oft visuell bei Staffelpreis-Zeile */
.accessory-add-btn.single-product__cart-icon {
  position: static;
  right: auto;
  top: auto;
  bottom: auto;
  left: auto;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #001b5e !important;
  padding: 8px;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.accessory-add-btn.single-product__cart-icon svg path {
  stroke: #ffffff !important;
  transition: stroke 0.2s ease;
}

.accessory-add-btn.single-product__cart-icon:hover:not(:disabled):not(.is-disabled-by-main-product) {
  background-color: #00225c !important;
  transform: none !important;
}

.accessory-add-btn.single-product__cart-icon:hover:not(:disabled):not(.is-disabled-by-main-product) svg path {
  stroke: #ffffff !important;
}

.accessory-add-btn.is-disabled-by-main-product,
.accessory-add-btn:disabled {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  pointer-events: none;
}

.accessory-add-btn.single-product__cart-icon svg,
.accessory-add-btn.single-product__cart-icon .spinner-border {
  margin: 0 auto;
}

.accessory-add-btn.single-product__cart-icon .spinner-border {
  color: #ffffff;
}

.accessories-modal .modal-body {
  max-height: 65vh;
}

.accessories-modal-copy {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 12px;
}

.accessories-modal-intro {
  color: #00225c;
  font-weight: 500;
}

.accessories-modal-note {
  color: rgba(0, 34, 92, 1);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.accessories-modal-copy .btn {
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  padding: 12px 20px;
  text-decoration: none;
  transition: background .2s ease;
  font-weight: 500;
  border: none;
}

.accessories-modal-copy .btn-base-color {
  background: #001B5E !important;
  color: #fff !important;
}

.accessories-modal-copy .btn-base-color:hover {
  background: #00225C !important;
  color: #fff !important;
}

.accessories-modal-copy .btn-alt-color {
  background: #CF142B !important;
  color: #fff !important;
}

.accessories-modal-copy .btn-alt-color:hover {
  background: #b41124 !important;
  color: #fff !important;
}

.accessories-modal .modal-dialog {
  width: min(calc(100vw - 60px), 1400px);
  max-width: min(calc(100vw - 60px), 1400px);
  margin: 30px auto;
}

.accessories-modal .modal-content {
  max-height: calc(100vh - clamp(16px, 4vh, 48px));
}

.accessories-modal .modal-body {
  max-height: calc(100vh - 180px);
  overflow-y: auto;
}

@media (max-width: 767px) {
  /* Preis-Wrapper: Kinder werden direkte Grid-Kinder → Staffelpreis kann unten über volle Breite */
  .accessory-item-price-wrap {
    display: contents;
  }

  .accessory-item-main {
    grid-template-columns: 56px minmax(0, 1fr) auto auto;
    grid-template-areas: none;
    column-gap: 10px;
    row-gap: 8px;
    align-items: center;
  }

  .accessory-item-image {
    width: 56px;
    height: 56px;
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
  }

  .accessory-item-title {
    font-size: 18px;
    line-height: 1.25;
    grid-column: 2 / -1;
    grid-row: 1;
  }

  .accessory-item-price {
    font-size: 18px;
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    align-self: center;
  }

  .accessory-quantity-tools {
    grid-column: 3;
    grid-row: 2;
    justify-self: center;
  }

  .accessory-add-btn {
    grid-column: 4;
    grid-row: 2;
    justify-self: end;
    align-self: center;
  }

  /* Direkt unter dem Mengenfeld (gleiche Grid-Spalte wie .accessory-quantity-tools) */
  .accessory-quantity-recommendation {
    grid-column: 3;
    grid-row: 3;
    justify-self: center;
    align-self: start;
    margin-top: 4px;
    margin-bottom: 0;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .accessory-tier-inline-text {
    grid-column: 1 / -1;
    grid-row: 4;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 12px;
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid #e5e7eb;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    justify-self: stretch;
    align-self: start;
  }

  .accessory-item-main:not(:has(.accessory-quantity-recommendation)) .accessory-tier-inline-text {
    grid-row: 3;
    margin-top: 4px;
  }

  .accessory-note-panel { padding-left: 66px; }
  .accessory-quantity-stepper {
    padding: 8px 10px;
    border-radius: 12px;
  }
  .accessory-quantity-input {
    width: 44px;
    min-width: 44px;
    justify-self: center;
  }
  .accessory-item-extra { padding-left: 66px; }
}

/* Sehr schmal: Hauptpreis eigene Zeile, Menge + Warenkorb darunter */
@media (max-width: 425px) {
  .accessory-item-main {
    grid-template-columns: 48px minmax(0, 1fr) auto auto;
    column-gap: 8px;
    row-gap: 8px;
  }

  .accessory-item-image {
    width: 48px;
    height: 48px;
    grid-column: 1;
    grid-row: 1 / span 3;
    align-self: start;
  }

  .accessory-item-title {
    grid-column: 2 / -1;
    grid-row: 1;
  }

  .accessory-item-price {
    grid-column: 2 / -1;
    grid-row: 2;
    justify-self: start;
    align-self: center;
    font-size: 17px;
  }

  .accessory-quantity-tools {
    grid-column: 2 / 4;
    grid-row: 3;
    justify-self: start;
  }

  .accessory-add-btn {
    grid-column: 4;
    grid-row: 3;
    justify-self: end;
    align-self: center;
  }

  .accessory-quantity-recommendation {
    grid-column: 2 / 4;
    grid-row: 4;
    justify-self: start;
    margin-top: 2px;
  }

  .accessory-tier-inline-text {
    grid-column: 1 / -1;
    grid-row: 5;
    margin-top: 6px;
    padding-top: 8px;
  }

  .accessory-item-main:not(:has(.accessory-quantity-recommendation)) .accessory-tier-inline-text {
    grid-row: 4;
    margin-top: 4px;
  }

  .accessory-note-panel {
    padding-left: 56px;
  }

  .accessory-item-extra {
    padding-left: 56px;
  }
}

.option-field-error {
  display: none;
  color: rgba(207, 20, 43, 1);
  font-size: 13px;
  margin-top: 6px;
  font-weight: 500;
}

.option-field-error.visible {
  display: none;
}

.option-text-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.option-text-min {
  flex-shrink: 0;
}

.option-char-counter {
  flex-shrink: 0;
  text-align: right;
}

span.option-char-counter.small {
  font-size: 0.775em;
}

.option-label {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: rgba(0, 34, 92, 1);
  margin-bottom: 8px;
}

.mandatory-asterisk {
  color: rgba(207, 20, 43, 1);
  font-weight: bold;
  margin-left: 2px;
}

.option-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 15px;
  color: #374151;
  background-color: #ffffff;
  transition: border-color 0.3s ease;
}

.option-select:focus {
  outline: none;
  border-color: rgba(207, 20, 43, 1);
  box-shadow: 0 0 0 3px rgba(207, 20, 43, 0.1);
}

/* CMS „Produkte“-Komponente: zentrierter Titel, Shop-Kacheln (Badges wie Produktübersicht) */
.products--shop-layout .products__header--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 1.75rem;
}

.products--shop-layout .products__header-icon {
  margin-bottom: 0.35rem;
}

/* Titelzeile: feste Shop-Farbe (verhindert Abweichungen durch allgemeine Content-Link-Styles, z. B. bei .sale) */
.products--shop-layout .products-component-wrapper .single-product__content .title .product-name {
  font-size: 1.25rem;
  font-weight: 500;
  color: rgba(0, 34, 92, 1);
  text-decoration: none;
}

.products--shop-layout .products-component-wrapper .single-product__content .title a.product-name:hover,
.products--shop-layout .products-component-wrapper .single-product__content .title a.product-name:focus {
  color: rgba(0, 34, 92, 1);
}

.products--shop-layout .shop-product-wrap .single-product__image > a.image-wrap {
  display: block;
  width: 100%;
}

.products--shop-layout .shop-product-wrap .single-product__image > a.image-wrap img {
  width: 100%;
  max-width: 100% !important;
  height: auto;
  margin: 0;
}

/* Shop overlay slots on product cards */
.shop-product-wrap .single-product__floating-badges {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.product-image-container .single-product__floating-badges {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}

.shop-product-wrap .single-product__floating-badges .overlay-badge {
  position: absolute;
  min-width: 99px;
  max-width: calc(100% - 24px);
  padding: 5px 13px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shop-product-wrap .single-product__floating-badges span {
  border-radius: 7px !important;
}

.product-image-container .single-product__floating-badges .overlay-badge {
  position: absolute;
  min-width: 112px;
  max-width: calc(100% - 24px);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shop-product-wrap .single-product__floating-badges .overlay-slot-1 {
  top: 8px;
  left: 8px;
  background: #5A6E7D;
  color: #fff;
}

.product-image-container .single-product__floating-badges .overlay-slot-1 {
  top: 8px;
  left: 8px;
  background: #5A6E7D;
  color: #fff;
}

.shop-product-wrap .single-product__floating-badges .overlay-slot-2 {
  top: 8px;
  right: 8px;
  background: #555F69;
  color: #fff;
}

.product-image-container .single-product__floating-badges .overlay-slot-2 {
  top: 8px;
  right: 8px;
  background: #555F69;
  color: #fff;
}

.shop-product-wrap .single-product__floating-badges .overlay-slot-3 {
  bottom: 8px;
  left: 8px;
  color: #464646;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.product-image-container .single-product__floating-badges .overlay-slot-3 {
  bottom: 8px;
  left: 8px;
  color: #464646;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Detail page: badges in one row below main image */
.product-image-container .single-product__floating-badges.detail-floating-badges {
  position: static;
  inset: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  pointer-events: auto;
}

.product-image-container .single-product__floating-badges.detail-floating-badges .overlay-badge {
  position: static;
  min-width: 0;
  max-width: 100%;
}

.product-image-container .single-product__floating-badges.detail-floating-badges .overlay-slot-3 {
  order: 1;
}

.product-image-container .single-product__floating-badges.detail-floating-badges .overlay-slot-1 {
  order: 2;
}

.product-image-container .single-product__floating-badges.detail-floating-badges .overlay-slot-2 {
  order: 3;
}

.shop-product-wrap .single-product__floating-badges .overlay-quality-icon,
.product-image-container .single-product__floating-badges .overlay-quality-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex: 0 0 auto;
}

.shop-product-wrap .single-product__floating-badges .overlay-quality-preiswert {
  background: var(--overlay-quality-preiswert-bg, #F2EFE6);
}

.product-image-container .single-product__floating-badges .overlay-quality-preiswert {
  background: var(--overlay-quality-preiswert-bg, #F2EFE6);
}

.shop-product-wrap .single-product__floating-badges .overlay-quality-standard {
  background: var(--overlay-quality-standard-bg, #CDCDCD);
}

.product-image-container .single-product__floating-badges .overlay-quality-standard {
  background: var(--overlay-quality-standard-bg, #CDCDCD);
}

.shop-product-wrap .single-product__floating-badges .overlay-quality-premium {
  background: var(--overlay-quality-premium-bg, #ECE2C8);
}

.product-image-container .single-product__floating-badges .overlay-quality-premium {
  background: var(--overlay-quality-premium-bg, #ECE2C8);
}

.shop-product-wrap .single-product__floating-badges .overlay-slot-3:not(.overlay-quality-preiswert):not(.overlay-quality-standard):not(.overlay-quality-premium) {
  background: var(--overlay-quality-default-bg, #CDCDCD);
}

.product-image-container .single-product__floating-badges .overlay-slot-3:not(.overlay-quality-preiswert):not(.overlay-quality-standard):not(.overlay-quality-premium) {
  background: var(--overlay-quality-default-bg, #CDCDCD);
}

.shop-product-wrap .single-product__content .price-badges-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0 0;
  flex-wrap: wrap;
}

.shop-product__price-row .price-badges-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px 0;
  flex-wrap: wrap;
}

.shop-product-wrap .single-product__content .price-hit-badge,
.shop-product-wrap .single-product__content .price-discount-badge {
  display: inline-block;
  margin: 0;
  padding: 5px 11px;
  border-radius: 6px;
  color: #fff;
  font-size: 14.3px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
}

.shop-product__price-row .price-hit-badge,
.shop-product__price-row .price-discount-badge {
  display: inline-block;
  margin: 0;
  padding: 6px 12px;
  border-radius: 6px;
  color: #fff;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
}

.shop-product-wrap .single-product__content .price-hit-badge {
  background: #CF142B;
}

.shop-product__price-row .price-hit-badge {
  background: #CF142B;
}

.shop-product-wrap .single-product__content .price-discount-badge {
  background: #CF142B;
}

.shop-product__price-row .price-discount-badge {
  background: #CF142B;
}

.shop-product-wrap .single-product__content .last-pieces-indicator {
  margin: 8px 0 0 0;
}

.shop-product__price-row .last-pieces-indicator {
  margin: 0 0 8px 0;
}

/* Detailseite: gleiche Overlay-/Badge-Optik wie Algolia-Kacheln */
#product_recommendations_area .single-product__floating-badges,
#product_similar_articles_area .single-product__floating-badges,
#product_history_area .single-product__floating-badges {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}

#product_recommendations_area .single-product__floating-badges .overlay-badge,
#product_similar_articles_area .single-product__floating-badges .overlay-badge,
#product_history_area .single-product__floating-badges .overlay-badge {
  position: absolute;
  display: inline-block !important;
  min-width: 99px;
  max-width: calc(100% - 24px);
  padding: 5px 13px;
  border-radius: 3px !important;
  font-size: 14.4px !important;
  line-height: 1.2 !important;
  font-weight: 400 !important;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 !important;
}

#product_recommendations_area .single-product__floating-badges .overlay-slot-1,
#product_similar_articles_area .single-product__floating-badges .overlay-slot-1,
#product_history_area .single-product__floating-badges .overlay-slot-1 {
  top: 8px;
  left: 8px;
  background: #5A6E7D;
  color: #fff;
}

#product_recommendations_area .single-product__floating-badges .overlay-slot-2,
#product_similar_articles_area .single-product__floating-badges .overlay-slot-2,
#product_history_area .single-product__floating-badges .overlay-slot-2 {
  top: 8px;
  right: 8px;
  background: #555F69;
  color: #fff;
}

#product_recommendations_area .single-product__floating-badges .overlay-slot-3,
#product_similar_articles_area .single-product__floating-badges .overlay-slot-3,
#product_history_area .single-product__floating-badges .overlay-slot-3 {
  bottom: 8px;
  left: 8px;
  color: #464646;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
}

#product_recommendations_area .single-product__floating-badges .overlay-quality-icon,
#product_similar_articles_area .single-product__floating-badges .overlay-quality-icon,
#product_history_area .single-product__floating-badges .overlay-quality-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex: 0 0 auto;
}

#product_recommendations_area .single-product__floating-badges .overlay-quality-preiswert,
#product_similar_articles_area .single-product__floating-badges .overlay-quality-preiswert,
#product_history_area .single-product__floating-badges .overlay-quality-preiswert {
  background: var(--overlay-quality-preiswert-bg, #F2EFE6);
}

#product_recommendations_area .single-product__floating-badges .overlay-quality-standard,
#product_similar_articles_area .single-product__floating-badges .overlay-quality-standard,
#product_history_area .single-product__floating-badges .overlay-quality-standard {
  background: var(--overlay-quality-standard-bg, #CDCDCD);
}

#product_recommendations_area .single-product__floating-badges .overlay-quality-premium,
#product_similar_articles_area .single-product__floating-badges .overlay-quality-premium,
#product_history_area .single-product__floating-badges .overlay-quality-premium {
  background: var(--overlay-quality-premium-bg, #ECE2C8);
}

#product_recommendations_area .single-product__floating-badges .overlay-slot-3:not(.overlay-quality-preiswert):not(.overlay-quality-standard):not(.overlay-quality-premium),
#product_similar_articles_area .single-product__floating-badges .overlay-slot-3:not(.overlay-quality-preiswert):not(.overlay-quality-standard):not(.overlay-quality-premium),
#product_history_area .single-product__floating-badges .overlay-slot-3:not(.overlay-quality-preiswert):not(.overlay-quality-standard):not(.overlay-quality-premium) {
  background: var(--overlay-quality-default-bg, #CDCDCD);
}

#product_recommendations_area .single-product__content .price-badges-row,
#product_similar_articles_area .single-product__content .price-badges-row,
#product_history_area .single-product__content .price-badges-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0;
  flex-wrap: wrap;
}

#product_recommendations_area .single-product__content .price-hit-badge,
#product_recommendations_area .single-product__content .price-discount-badge,
#product_similar_articles_area .single-product__content .price-hit-badge,
#product_similar_articles_area .single-product__content .price-discount-badge,
#product_history_area .single-product__content .price-hit-badge,
#product_history_area .single-product__content .price-discount-badge {
  display: inline-block;
  margin: 0;
  padding: 5px 11px;
  border-radius: 6px;
  color: #fff;
  font-size: 14.3px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  background: #CF142B;
}

#product_recommendations_area .single-product__content .last-pieces-indicator,
#product_similar_articles_area .single-product__content .last-pieces-indicator,
#product_history_area .single-product__content .last-pieces-indicator {
  margin: 8px 0 0 0;
}

#product_recommendations_area .single-product__content .last-pieces-label,
#product_similar_articles_area .single-product__content .last-pieces-label,
#product_history_area .single-product__content .last-pieces-label {
  color: #00225C;
  font-size: 15px;
  line-height: 1.2;
  margin-bottom: 4px;
}

#product_recommendations_area .single-product__content .last-pieces-label strong,
#product_similar_articles_area .single-product__content .last-pieces-label strong,
#product_history_area .single-product__content .last-pieces-label strong {
  font-weight: 700;
}

#product_recommendations_area .single-product__content .last-pieces-bar,
#product_similar_articles_area .single-product__content .last-pieces-bar,
#product_history_area .single-product__content .last-pieces-bar {
  width: 100%;
  height: 6px;
  background: #E5E5E5;
  border-radius: 999px;
  overflow: hidden;
}

#product_recommendations_area .single-product__content .last-pieces-bar-fill,
#product_similar_articles_area .single-product__content .last-pieces-bar-fill,
#product_history_area .single-product__content .last-pieces-bar-fill {
  display: block;
  height: 100%;
  background: #0E3A7B;
}

.shop-product-wrap .single-product__content .last-pieces-label {
  color: #00225C;
  font-size: 15px;
  line-height: 1.2;
  margin-bottom: 4px;
}

.shop-product__price-row .last-pieces-label {
  color: #00225C;
  font-size: 15px;
  line-height: 1.2;
  margin-bottom: 4px;
}

.shop-product-wrap .single-product__content .last-pieces-label strong {
  font-weight: 700;
}

.shop-product__price-row .last-pieces-label strong {
  font-weight: 700;
}

.shop-product-wrap .single-product__content .last-pieces-bar {
  width: 100%;
  height: 6px;
  background: #E5E5E5;
  border-radius: 999px;
  overflow: hidden;
}

.shop-product__price-row .last-pieces-bar {
  width: 100%;
  height: 6px;
  background: #E5E5E5;
  border-radius: 999px;
  overflow: hidden;
}

.shop-product-wrap .single-product__content .last-pieces-bar-fill {
  display: block;
  height: 100%;
  background: #0E3A7B;
}

.shop-product__price-row .last-pieces-bar-fill {
  display: block;
  height: 100%;
  background: #0E3A7B;
}

#detailLastPiecesIndicator {
  max-width: 420px;
}

#detailLastPiecesIndicator .last-pieces-label {
  color: #00225C;
  font-size: 15px;
  line-height: 1.2;
  margin-bottom: 4px;
}

#detailLastPiecesIndicator .last-pieces-label strong {
  font-weight: 700;
}

#detailLastPiecesIndicator .last-pieces-bar {
  width: 100%;
  height: 6px;
  background: #E5E5E5;
  border-radius: 999px;
  overflow: hidden;
}

#detailLastPiecesIndicator .last-pieces-bar-fill {
  display: block;
  height: 100%;
  background: #0E3A7B;
}

.cart-button-section .product-detail__wishlist-inline {
  position: static;
  top: auto;
  right: auto;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  padding: 12px;
  border-radius: 15px;
  box-sizing: border-box;
  flex: 0 0 48px;
}

.cart-button-section .product-detail__wishlist-inline svg {
  width: 20px;
  height: 20px;
}

.option-select:invalid,
.option-select.is-invalid {
  border-color: #d1d5db;
  box-shadow: none;
}

.option-text-input.is-invalid,
.option-number-input.is-invalid {
  border-color: #d1d5db;
  box-shadow: none;
}

/* FilePond Upload-Feld Styling */
.option-upload-input {
  width: 100%;
}

.filepond--root {
  font-family: inherit;
  margin-bottom: 0;
  --panel-background-color: #ffffff;
  --panel-border-color: #d1d5db;
}

.filepond--panel-root {
  background-color: transparent !important;
  border: 2px dashed #d1d5db;
  border-radius: 8px;
  transition: border-color 0.3s ease;
  padding: 12px 16px;
}

.filepond--panel-root::after {
  background-color: transparent !important;
}

.filepond--drop-label {
  color: #374151;
  font-size: 15px;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start !important;
  text-align: left !important;
  padding: 0 !important;
}

/* FilePond Browse-Button im Drop-Label */
.filepond--drop-label [class^="filepond--browser"],
.filepond--drop-label [class*=" filepond--browser"],
.filepond-browse-button {
  margin-left: 0 !important;
  justify-content: center;
  padding: 12px;
}

.filepond--drop-label.filepond--drop-label label {
  padding: 12px!important;
}

.filepond-browse-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: #f3f4f6;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #00225C;
  font-size: 14px;
  font-weight: 400;
  margin-left: 0;
}

.filepond-browse-button:hover {
  background-color: #e5e7eb;
}

.filepond-browse-button svg {
  flex-shrink: 0;
}

/* Option Remark Styling */
.option-remark {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
  margin-top: 4px;
}

.option-remark a {
  color: rgba(207, 20, 43, 1);
  text-decoration: underline;
}

.option-remark a:hover {
  color: rgba(207, 20, 43, 0.8);
}

/* Image-Auswahl Styling (display="image") */
.option-image-select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  /* Verhindert horizontales Herausdrücken (z. B. bei is-invalid / langer Beschriftung) */
  overflow-x: hidden;
}

.option-image-select.is-invalid {
  border: 0;
  border-radius: 0;
  padding: 0;
  outline: none;
  box-shadow: none;
  background-image: none;
}

.option-image-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 8px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.option-image-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: #ffffff;
  height: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.option-image-card:hover {
  border-color: rgba(207, 20, 43, 0.5);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.option-image-card.selected {
  border-color: rgba(0, 34, 92, 1);
  background-color: rgba(0, 34, 92, 0.05);
  box-shadow: 0 0 0 3px rgba(0, 34, 92, 0.1);
}

.option-image-wrapper {
  width: 100%;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}

.option-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.option-image-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
  width: 100%;
  min-width: 0;
  margin-top: auto;
  flex: 0 0 auto;
}

.option-image-name {
  font-size: 14px;
  font-weight: 500;
  color: rgba(0, 34, 92, 1);
  line-height: 1.25;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
}

.option-image-price {
  font-size: 13px;
  color: rgba(207, 20, 43, 1);
  font-weight: 600;
  line-height: 1.2;
  margin-top: 6px;
  white-space: nowrap;
  flex: 0 0 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.option-image-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Radio-Buttons Styling (display="radio") */
.option-radio-select {
  width: 100%;
}

.option-radio-select.is-invalid {
  border: 0;
  border-radius: 0;
  padding: 0;
}

.option-radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.option-radio-item {
  position: relative;
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: #ffffff;
}

.option-radio-item:hover {
  border-color: rgba(207, 20, 43, 0.5);
  background-color: #f9fafb;
}

.option-radio-item.selected {
  border-color: rgba(0, 34, 92, 1);
  background-color: rgba(0, 34, 92, 0.05);
}

/* Pflichtfelder: keine rote Invalid-Markierung (Stern reicht) */
.form-control.is-invalid,
.was-validated .form-control:invalid {
  /* border-color: #d1d5db !important; */
  background-image: none !important;
  box-shadow: none !important;
}

.form-control.is-invalid:focus,
.was-validated .form-control:invalid:focus,
.form-select.is-invalid:focus,
.was-validated .form-select:invalid:focus {
  border-color: rgba(0, 34, 92, 1) !important;
  box-shadow: 0 0 0 3px rgba(0, 34, 92, 0.08) !important;
}

.option-radio-input {
  width: 20px;
  height: 20px;
  margin: 0;
  margin-right: 12px;
  cursor: pointer;
  flex-shrink: 0;
  accent-color: rgba(207, 20, 43, 1);
}

.option-radio-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}

.option-radio-left {
  display: flex;
  align-items: center;
  flex: 1;
}

/* wie .option-label (margin-bottom: 8px), nur bei Radio-Zeilen */
/* .option-radio-item .option-radio-left {
  margin-bottom: 8px;
} */

.option-radio-name {
  font-size: 15px;
  font-weight: 500;
  color: rgba(0, 34, 92, 1);
}

.option-radio-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.option-radio-middle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  flex: 0 0 auto;
}

.option-radio-price {
  font-size: 15px;
  color: rgba(207, 20, 43, 1);
  font-weight: 600;
  white-space: nowrap;
}

/* Responsive Anpassungen */
@media (max-width: 1200px) {
  .option-image-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Detailseite Tablet/Small-Desktop: verhindert horizontales Herausdruecken */
@media (min-width: 992px) and (max-width: 1300px) {
  .option-radio-content {
    min-width: 0;
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .option-radio-left {
    min-width: 0;
    flex: 1 1 auto;
  }

  .option-radio-name {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .option-radio-middle {
    padding: 0 6px;
  }

  .option-radio-right {
    margin-left: auto;
  }
}

@media (max-width: 992px) {
  .option-image-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Größerer Abstand zwischen Optionsblöcken: schlägt Bootstrap .mb-3 (1rem !important) */
@media (max-width: 991px) {
  .option-group.mb-3 {
    margin-bottom: 3rem !important;
  }
}

@media (max-width: 768px) {
  .option-image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .option-image-wrapper {
    height: 120px;
  }

  .option-image-card {
    padding: 10px;
  }

  .option-radio-item {
    padding: 10px 12px;
  }

  .option-radio-input {
    width: 18px;
    height: 18px;
    margin-right: 10px;
  }

  /* Overlay-Badge unter die Zeile (nur mobil) */
  .option-radio-content {
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    column-gap: 12px;
    row-gap: 8px;
    min-width: 0;
  }

  .option-radio-left {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
  }

  .option-radio-right {
    order: 2;
    margin-left: auto;
  }

  .option-radio-middle {
    order: 3;
    flex: 1 1 100%;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    padding: 4px 0 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .option-radio-middle .option-value-inline-badge {
    font-size: 11px;
    padding: 3px 8px;
    max-width: 100%;
    margin-left: 0;
  }

  .option-radio-middle .option-value-recommendation--radio-inline {
    margin-right: 4px;
  }

  .option-radio-name {
    font-size: 14px;
  }

  .option-radio-price {
    font-size: 14px;
  }
}

.filepond--label-action {
  color: rgba(207, 20, 43, 1);
  text-decoration: underline;
  cursor: pointer;
  font-weight: 500;
}

.filepond--panel-root:hover {
  border-color: rgba(207, 20, 43, 0.5);
}

.filepond--root.filepond--hopper {
  border-color: rgba(207, 20, 43, 1);
}

/* FilePond Item Panel (hochgeladene Datei) */
.filepond--item-panel {
  background-color: #ffffff !important;
  border-radius: 6px;
}

.filepond--item-panel::after {
  background-color: #ffffff !important;
}

.filepond--item {
  border-radius: 6px;
  background-color: #ffffff !important;
  padding: 0;
}

/* FilePond wenn Datei vorhanden - kompakteres Layout */
.filepond--root .filepond--list {
  margin-top: 10px;
}

.filepond--image-preview-wrapper,
.filepond--image-preview {
  background-color: #ffffff !important;
  border-radius: 6px;
}

.filepond--root .filepond--credits {
  display: none; /* FilePond Credits ausblenden */
}

/* FilePond Buttons */
.filepond--file-action-button {
  background-color: rgba(207, 20, 43, 0.1);
  border-radius: 50%;
  transition: all 0.2s ease;
}

.filepond--file-action-button:hover {
  background-color: rgba(207, 20, 43, 0.2);
}

.filepond--file-action-button svg {
  color: rgba(207, 20, 43, 1);
}

.filepond--file-action-button.filepond--action-remove-item {
  background-color: rgba(207, 20, 43, 0.8);
}

.filepond--file-action-button.filepond--action-remove-item:hover {
  background-color: rgba(207, 20, 43, 1);
}

.filepond--file-action-button.filepond--action-remove-item svg {
  color: #ffffff !important;
}

.filepond--file-action-button.filepond--action-remove-item:hover svg {
  color: #ffffff !important;
}

/* FilePond Image Preview */
.filepond--image-preview-wrapper {
  background-color: #ffffff;
}

.filepond--image-preview {
  background-color: #ffffff;
}

/* FilePond Progress */
.filepond--file-status-main {
  color: rgba(0, 34, 92, 1);
  font-weight: 500;
}

.filepond--file-info-main,
.filepond--file-info-sub {
  color: rgba(0, 34, 92, 1) !important;
}

.filepond--file-icon {
  color: rgba(0, 34, 92, 1) !important;
}

.filepond--loading-indicator {
  color: rgba(207, 20, 43, 1);
}

.filepond--file {
  border: 1px solid rgba(0, 34, 92, 1);
}

/* Hochgeladenes Bild im Warenkorb */
.uploaded-image-preview img {
  display: block;
  margin-top: 8px;
}

.uploaded-file-preview {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #f8f9fb;
  color: rgba(0, 34, 92, 1);
  width: fit-content;
  max-width: 100%;
}

.uploaded-file-icon::before {
  content: "\f15b";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-style: normal;
}

.uploaded-file-name {
  line-height: 1.2;
  word-break: break-word;
}

.uploaded-file-link {
  color: inherit;
  text-decoration: underline;
}

.uploaded-file-link:hover {
  color: rgba(207, 20, 43, 1);
}

.upload-filetype-pdf .uploaded-file-icon::before {
  content: "\f1c1";
}

.upload-filetype-doc .uploaded-file-icon::before,
.upload-filetype-docx .uploaded-file-icon::before {
  content: "\f1c2";
}

.customer-options-mini img {
  display: block;
  margin-top: 5px;
}

/* Disabled Add to Cart Button */
.add-to-cart-btn.btn-disabled,
.add-to-cart-btn:disabled {
  background-color: #d1d5db;
  border-color: #d1d5db;
  color: #6b7280;
  cursor: not-allowed;
  opacity: 0.6;
}

.add-to-cart-btn.btn-disabled:hover,
.add-to-cart-btn:disabled:hover {
  background-color: #d1d5db;
  border-color: #d1d5db;
  color: #6b7280;
  transform: none;
}

/* Mobile adjustments for options */
@media (max-width: 768px) {
  .options-title {
    font-size: 16px;
  }

  .option-label {
    font-size: 14px;
  }

  .option-select,
  .option-text-input {
    font-size: 14px;
    padding: 10px 14px;
  }

  /* FilePond mobile adjustments */
  .filepond-browse-button {
    width: 100%;
    justify-content: center;
    font-size: 13px;
    padding: 10px 14px;
  }

  .filepond--panel-root {
    padding: 12px 16px;
  }
}

/* Product Description Styling */
.shop-product__long-desc {
  color: rgba(83, 101, 131, 1);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
}

.shop-product__long-desc h1,
.shop-product__long-desc h2,
.shop-product__long-desc h3,
.shop-product__long-desc h4,
.shop-product__long-desc h5,
.shop-product__long-desc h6 {
  color: rgba(0, 34, 92, 1);
  font-weight: 500;
  margin-top: 32px;
  margin-bottom: 20px;
}

.shop-product__long-desc h1:first-child,
.shop-product__long-desc h2:first-child,
.shop-product__long-desc h3:first-child,
.shop-product__long-desc h4:first-child,
.shop-product__long-desc h5:first-child,
.shop-product__long-desc h6:first-child {
  margin-top: 0;
}

.shop-product__long-desc h2 {
  font-size: 24px;
}

.shop-product__long-desc h3 {
  font-size: 20px;
}

.shop-product__long-desc h4 {
  font-size: 18px;
}

.shop-product__long-desc p {
  color: rgba(83, 101, 131, 1);
  font-weight: 400;
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.7;
}

.shop-product__long-desc ul,
.shop-product__long-desc ol {
  color: rgba(0, 34, 92, 1);
  font-weight: 400;
  font-size: 15px;
  margin-bottom: 24px;
  margin-top: 8px;
  padding-left: 20px;
}

.shop-product__long-desc ul li,
.shop-product__long-desc ol li {
  color: rgba(0, 34, 92, 1);
  font-weight: 400;
  font-size: 15px;
  margin-bottom: 12px;
  line-height: 1.7;
  list-style: initial;
}

.shop-product__long-desc ul li::marker,
.shop-product__long-desc ol li::marker {
  color: rgba(0, 34, 92, 1);
}

.shop-product__long-desc strong,
.shop-product__long-desc b {
  color: rgba(0, 34, 92, 1);
  font-weight: 500;
}

.shop-product__long-desc a {
  color: rgba(0, 34, 92, 1);
  text-decoration: underline;
}

.shop-product__long-desc a:hover {
  color: rgba(207, 20, 43, 1);
}

/* Benefits List Styling */
.benefits-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 32px;
  margin-top: 16px;
}

.benefits-list li {
  color: rgba(0, 34, 92, 1);
  font-weight: 400;
  font-size: 15px;
  margin-bottom: 16px;
  padding-left: 24px;
  position: relative;
  line-height: 1.7;
}

.benefits-list li::before {
  content: "✓";
  color: rgba(0, 34, 92, 1);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

/* Mobile adjustments for description */
@media (max-width: 768px) {
  .shop-product__long-desc {
    font-size: 14px;
  }

  .shop-product__long-desc h2 {
    font-size: 20px;
  }

  .shop-product__long-desc h3 {
    font-size: 18px;
  }

  .shop-product__long-desc h4 {
    font-size: 16px;
  }

  .shop-product__long-desc p,
  .shop-product__long-desc ul,
  .shop-product__long-desc ol,
  .shop-product__long-desc li {
    font-size: 14px;
  }
}

/* Navigation: Aktive Links hervorheben */
.nav-item.active .nav-link,
.nav-link.active,
.nav-item.active .nav-link-with-submenu {
  color: #de1c24 !important;
  font-weight: 600 !important;
}

.nav-item.active {
  position: relative;
}

.nav-item.active::after {
  display: none;
}

/* Mobile Navigation: Aktive Links */
.mobile-accordion-item.active .mobile-accordion-header-link,
.mobile-accordion-header-link.active {
  color: #de1c24 !important;
  font-weight: 600 !important;
}

/* Header Dropdown: Aktive Unterkategorien hervorheben */
.mega-menu-link.active {
  color: #de1c24 !important;
  font-weight: 600 !important;
}

.mobile-submenu-item.active a,
.mobile-submenu-item.active .mobile-submenu-link {
  color: #de1c24 !important;
  font-weight: 600 !important;
}

/* Shop: Sidebar darf in Flex-Row nicht schrumpfen (sonst „zerdrückte“ Filter) */
@media only screen and (min-width: 992px) {
  .products-container-inner .page-sidebar {
    flex-shrink: 0;
  }

  /* .product-list hatte width: calc(100% - 360px) für Side-by-Side ohne Wrapper; innerhalb .shop-products-main volle Breite */
  .products-container-inner .shop-products-main .product-list {
    width: 100%;
    max-width: 100%;
  }
}

/* Nur leere Algolia-Trefferliste (Shop-Kategorie / Suche): Meldung zentriert, Abstand oben */
#hits > span.shop-hits-empty-message.fade-in-results {
  display: block;
  box-sizing: border-box;
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 2rem 1rem 0;
  text-align: center;
}

/* Shop-Kategorie: Toolbar (Ergebniszeile, Sortierung, Raster) — in externem CSS,
   damit es nicht von fehlerhaftem <style> in Kategorie-HTML aus Sylius abhängt. */
.shop-products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: nowrap;
}

.shop-results-summary {
  color: #5f6a78;
  font-size: 14px;
  white-space: nowrap;
  flex: 0 1 auto;
  min-width: 0;
}

.shop-products-toolbar-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
  min-width: 0;
}

.shop-grid-icons {
  display: none;
  background: #edf1f5;
  border-radius: 12px;
  padding: 5px;
  gap: 4px;
  height: 44px;
  box-sizing: border-box;
  align-items: center;
}

.shop-grid-icons a {
  color: #b8c0cc;
  background: transparent;
  border-radius: 8px;
  width: 36px;
  height: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.2s ease;
}

.shop-grid-icons a.active {
  color: #00225c;
  background: #ffffff;
}

.shop-grid-icons a img {
  width: 20px;
  height: 20px;
  display: block;
}

.shop-grid-icon-svg {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.shop-grid-icon-svg svg {
  width: 20px;
  height: 20px;
  display: block;
  shape-rendering: geometricPrecision;
}

.shop-grid-icon-svg svg path,
.shop-grid-icon-svg svg rect,
.shop-grid-icon-svg svg circle,
.shop-grid-icon-svg svg ellipse,
.shop-grid-icon-svg svg polygon,
.shop-grid-icon-svg svg polyline,
.shop-grid-icon-svg svg line {
  fill: currentColor !important;
}

.shop-grid-icon-svg svg [fill="none"],
.shop-grid-icon-svg svg [style*="fill:none"] {
  fill: none !important;
}

.shop-grid-icon-svg svg [stroke="none"],
.shop-grid-icon-svg svg [style*="stroke:none"] {
  stroke: none !important;
}

.shop-grid-icon-svg svg g,
.shop-grid-icon-svg svg [opacity] {
  opacity: 1 !important;
}

@media (min-width: 1600px) {
  .shop-grid-icons {
    display: flex;
    gap: 8px;
  }

  #hits.shop-grid-mode-three > .single-product-wrapper {
    flex: 0 0 33.3333% !important;
    max-width: 33.3333% !important;
  }

  #hits.shop-grid-mode-four > .single-product-wrapper {
    flex: 0 0 25% !important;
    max-width: 25% !important;
  }
}

.shop-products-toolbar-sort {
  display: flex;
  align-items: center;
}

#sort-by.shop-products-toolbar-sort-field {
  position: relative;
  background: #edf1f5;
  border-radius: 12px;
  min-width: 280px;
  height: 44px;
  overflow: hidden;
}

#sort-by.shop-products-toolbar-sort-field::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 12px;
  height: 12px;
  pointer-events: none;
  transform: translateY(-50%);
  background-color: #00225c;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2 4l4 4 4-4' fill='none' stroke='%2300225C' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2 4l4 4 4-4' fill='none' stroke='%2300225C' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
}

#sort-by.shop-products-toolbar-sort-field select,
#sort-by.shop-products-toolbar-sort-field select.form-select {
  width: 100% !important;
  height: 100% !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-bottom: 0 !important;
  border-radius: 12px !important;
  padding: 0 42px 0 22px !important;
  font-size: 15px !important;
  color: #5f6a78 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  outline: none !important;
  cursor: pointer;
  box-shadow: none !important;
}

#sort-by.shop-products-toolbar-sort-field select:focus,
#sort-by.shop-products-toolbar-sort-field select.form-select:focus {
  outline: none !important;
  box-shadow: none !important;
  border: 0 !important;
}

#sort-by.shop-products-toolbar-sort-field select::-ms-expand {
  display: none;
}

@media (max-width: 575.98px) {
  .shop-products-toolbar .shop-results-summary {
    display: none;
  }

  .shop-products-toolbar-controls {
    width: 100%;
    flex: 1 1 100%;
    justify-content: stretch;
  }

  .shop-products-toolbar-sort {
    width: 100%;
  }

  #sort-by.shop-products-toolbar-sort-field {
    width: 100%;
    min-width: 0;
  }
}

/*
 * Bewertungen: „Bewertung abgeben“ — gleiches Navy wie Detail/Zubehör (#001b5e),
 * nicht var(--base-color) (Kirby acentcolor kann z. B. Rot sein).
 * flex:1 aus combined.css aufheben, sonst volle Breite + wahrgenommene „falsche“ Fläche.
 */
#productAccordion #collapseReviews a.btn.btn-base-color.btn-review-add {
  flex: 0 1 auto !important;
  width: auto;
  max-width: 100%;
  background-color: #001b5e !important;
  color: #fff !important;
  border: 1px solid #001b5e !important;
}

#productAccordion #collapseReviews a.btn.btn-base-color.btn-review-add:hover,
#productAccordion #collapseReviews a.btn.btn-base-color.btn-review-add:focus,
#productAccordion #collapseReviews a.btn.btn-base-color.btn-review-add:active {
  background-color: transparent !important;
  color: #001b5e !important;
  border-color: #001b5e !important;
}

@media (max-width: 767px) {
  #productAccordion #collapseReviews a.btn.btn-base-color.btn-review-add {
    margin-bottom: 1.5rem;
  }

  #productAccordion #collapseReviews #accordionRatingShare {
    margin-top: 8px;
  }
}

/* Ähnliche Artikel / zuletzt angesehen: ohne extra Row-Padding (ps/pe-15px) bündig mit Accordion; Desktop ≥992 unverändert */
@media (max-width: 991px) {
  #product_recommendations_area .container-fluid > .row.m-0,
  #product_history_area .container-fluid > .row.m-0 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #product_recommendations.row,
  #product_history_wrapper.row {
    row-gap: 12px;
    column-gap: 12px;
  }
}
