/** Shopify CDN: Minification failed

Line 57:0 Unexpected "}"
Line 1607:0 Expected "}" to go with "{"

**/
/* ===========================================================
   MAB PDP v3 – Produkt-Hero (sections/mab-product-hero.liquid)

   Designsystem (siehe docs/pdp-redesign.md):
   Farben   Ink #1d1d1f · Body #2c2c2e · Muted #6b6b73 · Border #d9d4ce
            Line #e8e4df · Surface #f7f5f2 · Brand #d61f23 · Success #1a7f37
   Typo     Preis 28/600 · H1 22/600 · UI 14/500 · Label 13/500 · Meta 12
   Rundung  8 px Controls · 12 px Karten und Bildflächen
   Höhe     48 px für Button, Dropdown, Mengenfeld
   Raster   Container 1280 · Galerie 5 / Info 4 / Kaufbox 3 (von 12)
   =========================================================== */

.pdp3 {
  --p3-ink: #1d1d1f;
  --p3-body: #2c2c2e;
  --p3-muted: #6b6b73;
  --p3-border: #d9d4ce;
  --p3-line: #e8e4df;
  --p3-surface: #f7f5f2;
  --p3-brand: #d61f23;
  --p3-brand-hover: #b8161a;
  --p3-success: #1a7f37;
  --p3-radius: 8px;
  --p3-radius-lg: 12px;
  --p3-control: 48px;
  padding-top: var(--pt, 8px);
  padding-bottom: var(--pb, 24px);
  color: var(--p3-ink);
}

@media (min-width: 768px) {
  .pdp3 {
    padding-top: var(--sm-pt, 16px);
    padding-bottom: var(--sm-pb, 32px);
  }
}

.pdp3 *,
.pdp3 *::before,
.pdp3 *::after {
  box-sizing: border-box;
}

/* ---------- Raster ---------- */
.pdp3__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

}

@media (min-width: 768px) {
  .pdp3__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-areas:
      'media info'
      'media buy';
    gap: 24px 40px;
    align-items: start;
  }
  .pdp3__media { grid-area: media; }
  .pdp3__info { grid-area: info; }
  .pdp3__buy { grid-area: buy; }
}

@media (min-width: 1024px) {
  .pdp3__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(300px, 3fr);
    grid-template-areas: 'media info buy';
    gap: 40px;
  }
}

@media (min-width: 1280px) {
  .pdp3__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) 340px;
    gap: 48px;
  }
}

/* ---------- Galerie ---------- */
.pdp3__media {
  min-width: 0;
}

.pdp3__media-sliders {
  position: relative;
}

/* Galerie und Kaufbox scrollen mit der Seite. Beim Scrollen übernimmt die
   Sticky-Kaufleiste am unteren Rand (product-buy-bar). */
.pdp3__media-sliders {
  position: relative; /* Bezug für den HEINE-Garantie-Badge */
  top: auto;
}

.pdp3 .product-media-slider .product-media,
.pdp3 .product-media-slider .product-media .media {
  border-radius: var(--p3-radius-lg);
  overflow: hidden;
}

.pdp3 .product-media-slider .media {
  background: var(--p3-surface);
}

/* Thumbnails: schmale Spalte links, Hauptbild rechts */
@media (min-width: 1024px) {
  .pdp3 .media-sliders.thumbnails-next-to {
    flex-direction: row;
    gap: 16px;
  }
  .pdp3 .thumbnails-next-to .product-thumbnails-slider {
    width: 64px;
    flex: 0 0 64px;
    order: 1;
  }
  .pdp3 .thumbnails-next-to .product-media-slider {
    order: 2;
    width: calc(100% - 80px);
    flex: 1 1 auto;
    min-width: 0;
  }
  .pdp3 .thumbnails-next-to .product-thumbnails-slider .gridy-track {
    grid: auto-flow 64px / auto;
    gap: 8px;
  }
}

.pdp3 .thumbnail-btn {
  border: 1px solid var(--p3-line);
  border-radius: var(--p3-radius);
  background: var(--p3-surface);
  overflow: hidden;
  padding: 0;
  transition: border-color 0.15s ease;
}

.pdp3 .thumbnail-btn:hover {
  border-color: var(--p3-muted);
}

.pdp3 .thumbnail-btn.active {
  border-color: var(--p3-ink);
}

.pdp3 .thumbnail-btn.active::after {
  box-shadow: inset 0 0 0 1px var(--p3-ink);
  border-radius: var(--p3-radius);
}

.pdp3 .thumbnail-btn .media {
  border-radius: 0;
}

/* Mobile: Galerie randlos, Punkte statt Thumbnails */
@media (max-width: 767px) {
  .pdp3 .product-media-slider .product-media,
  .pdp3 .product-media-slider .product-media .media {
    border-radius: 0;
  }
  .pdp3 .product-media-slider .media.natural img {
    max-height: 78vw;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    object-fit: contain;
  }
}

/* ---------- Info-Spalte ---------- */
.pdp3__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

@media (min-width: 1024px) {
  .pdp3__info {
    gap: 18px;
    padding-top: 4px;
  }
}

@media (max-width: 767px) {
  .pdp3__info {
    padding: 0;
  }
}

.pdp3 .product-vendor {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.3;
}

/* Marke erkennbar als Link: Pfeil dahinter, Unterstreichung beim Hover */
.pdp3 .product-vendor__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--p3-ink);
  text-decoration: underline;
  text-decoration-color: var(--p3-border);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  border: 0;
  transition: text-decoration-color 0.15s ease, color 0.15s ease;
}

.pdp3 .product-vendor__link::after {
  content: '';
  width: 12px;
  height: 12px;
  flex: none;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6b73' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") no-repeat center / 12px 12px;
}

.pdp3 .product-vendor__link:hover {
  color: var(--p3-brand);
  text-decoration-color: var(--p3-brand);
}

.pdp3__title {
  margin: 0;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--p3-ink);
  text-wrap: pretty;
}

@media (min-width: 768px) {
  .pdp3__title {
    font-size: 24px;
    line-height: 1.28;
  }
}

.pdp3__title .product-title__variant {
  font-weight: 500;
  color: var(--p3-muted);
}

/* Bewertung + Kennzahlen in einer Zeile */
.pdp3__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--p3-muted);
}

.pdp3__rating-link {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  border-radius: 4px;
}

.pdp3__rating-link:empty {
  display: none;
}

.pdp3__rating-link:hover .sp-badge__count {
  color: var(--p3-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pdp3__rating-link:focus-visible {
  outline: 2px solid var(--p3-ink);
  outline-offset: 2px;
}

.pdp3__meta .sp-badge {
  margin: 0;
  gap: 6px;
  cursor: pointer;
}

.pdp3__meta .sp-badge__stars svg {
  width: 14px;
  height: 14px;
}

.pdp3__meta .sp-badge__rating {
  font-size: 13px;
  font-weight: 600;
  color: var(--p3-ink);
}

.pdp3__meta .sp-badge__count,
.pdp3__meta .sp-badge__link {
  font-size: 13px;
  color: var(--p3-muted);
}

.pdp3__meta .sp-badge__divider {
  display: none;
}

.pdp3__meta .product-meta-line {
  margin: 0;
}

.pdp3__meta .product-meta-line__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: var(--p3-muted);
}

.pdp3__meta .product-meta-line__item {
  display: inline-flex;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.pdp3__meta .product-meta-line__item::before {
  display: none;
}

.pdp3__meta .product-meta-line__item dt,
.pdp3__meta .product-meta-line__item dd {
  margin: 0;
  font-weight: 400;
  color: inherit;
}

/* Auf einen Blick */
.pdp3__bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--p3-line);
}

.pdp3__bullets-heading {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--p3-ink);
}

.pdp3__bullet-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--p3-body);
}

.pdp3__bullet-list li {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.pdp3__bullet-list li::before {
  display: none;
}

.pdp3__bullet-list svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--p3-success);
}

.pdp3__details-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: 2px;
  min-height: 32px;
  font-size: 14px;
  font-weight: 500;
  color: var(--p3-ink);
  text-decoration: none;
}

.pdp3__details-link svg {
  width: 14px;
  height: 14px;
}

.pdp3__details-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Kaufbox ---------- */
.pdp3__buy {
  min-width: 0;
}

.pdp3__buy {
  position: static;
}

.pdp3__buybox {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 24px 20px;
  border: 1px solid var(--p3-line);
  border-radius: var(--p3-radius-lg);
  background: #fff;
}

@media (min-width: 1024px) {
  .pdp3__buybox {
    padding: 28px;
  }
}

/* Preis: groß, MwSt.-Hinweis dezent daneben, Nettozeile darunter */
.pdp3__price-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pdp3__price .price {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 8px;
}

.pdp3__price .price .flex {
  order: 0;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.pdp3__price .price-item--regular,
.pdp3__price .price-item--sale {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-size: 32px !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--p3-ink) !important;
}

.pdp3__price .price__regular .price-item--regular::after,
.pdp3__price .price__sale .price-item--sale::after {
  content: 'inkl. MwSt.';
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--p3-muted);
  vertical-align: baseline;
  white-space: nowrap;
}

.pdp3__price .price--on-sale .price__regular {
  display: none;
}

.pdp3__price s.price-item--regular {
  font-size: 16px !important;
  font-weight: 400 !important;
  color: var(--p3-muted) !important;
  text-decoration: line-through;
}

.pdp3__price .price--on-sale .price-item--sale {
  color: var(--p3-brand) !important;
}

.pdp3__price .price-net {
  order: 2;
  flex-basis: 100%;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--p3-muted);
}

.pdp3__price .price-net__amount {
  font-size: 15px !important;
  font-weight: 500;
  color: var(--p3-body);
}

.pdp3__price .price-net__tax-note {
  font-size: 13px !important;
  color: var(--p3-muted) !important;
}

.pdp3__price .unit-price {
  order: 1; /* Grundpreis in der Bruttozeile hinter "inkl. MwSt." */
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--p3-muted);
  white-space: nowrap;
}

.pdp3__price .unit-price.hidden {
  display: none !important;
}

.pdp3__price .price__tax,
.pdp3__price .product__tax {
  margin: 0;
  font-size: 13px;
  color: var(--p3-muted);
}

.pdp3__price .unit-price .price-item {
  font-size: 13px !important;
  font-weight: 400 !important;
  letter-spacing: 0;
  color: var(--p3-muted) !important;
}

.pdp3 .product-pack-info {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--p3-body);
}

.pdp3 .product-pack-info__label {
  color: var(--p3-muted);
}

.pdp3 .installment {
  margin: 0;
}

.pdp3 .installment:empty {
  display: none;
}

/* Staffelpreise */
.pdp3 [data-volume-discount-table] {
  margin: 0 0 16px;
}

.pdp3 [data-volume-discount-table] table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.pdp3 [data-volume-discount-table] th,
.pdp3 [data-volume-discount-table] td {
  padding: 6px 0;
  border-bottom: 1px solid var(--p3-line);
  text-align: left;
}

.pdp3 [data-volume-discount-table] th {
  font-weight: 500;
  color: var(--p3-muted);
}

/* Varianten */
.pdp3__variants {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pdp3 .product-form__input {
  margin: 0;
}

.pdp3 .product-form__input .form__label,
.pdp3 .product-form__input legend {
  display: block;
  margin: 0 0 8px;
  padding: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--p3-body);
  line-height: 1.4;
}

/* Dropdown: Label oben, Feld 48 px, dünner Rahmen.
   Hohe Spezifität + !important, weil mab-pdp-premium.css das
   Dropdown global (variant-radios …) mit !important stylt. */
.pdp3 variant-radios .product-form__input--dropdown,
.pdp3 variant-selects .product-form__input--dropdown {
  margin: 0 !important;
}

.pdp3 variant-radios .product-form__input--dropdown .field.select,
.pdp3 variant-selects .product-form__input--dropdown .field.select {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 100% !important;
  min-height: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  --font-size: 14px;
}

.pdp3 variant-radios .product-form__input--dropdown .field__label,
.pdp3 variant-selects .product-form__input--dropdown .field__label {
  display: block !important;
  position: static;
  transform: none;
  order: 0;
  margin: 0 0 8px;
  padding: 0;
  font-size: 13px !important;
  font-weight: 500;
  opacity: 1;
  color: var(--p3-body);
  line-height: 1.4;
  pointer-events: auto;
}

.pdp3 variant-radios .product-form__input--dropdown .field__input,
.pdp3 variant-selects .product-form__input--dropdown .field__input {
  order: 1;
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: var(--p3-control) !important;
  min-height: var(--p3-control) !important;
  margin: 0 !important;
  padding: 0 44px 0 14px !important;
  border: 1px solid var(--p3-border) !important;
  border-radius: var(--p3-radius) !important;
  background: #fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px 16px !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--p3-ink);
  line-height: calc(var(--p3-control) - 2px) !important;
  white-space: nowrap !important;
  overflow: hidden;
  text-overflow: ellipsis;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.pdp3 variant-radios .product-form__input--dropdown .field__input:hover,
.pdp3 variant-radios .product-form__input--dropdown .field__input:focus,
.pdp3 variant-selects .product-form__input--dropdown .field__input:hover,
.pdp3 variant-selects .product-form__input--dropdown .field__input:focus {
  border-color: var(--p3-ink) !important;
  outline: none;
}

.pdp3 variant-radios .product-form__input--dropdown .field.select svg,
.pdp3 variant-selects .product-form__input--dropdown .field.select svg {
  display: none !important;
}

/* Pills */
.pdp3 .product-form__input {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.pdp3 .product-form__input legend.form__label {
  display: block !important;
  width: 100%;
  margin: 0 0 2px;
  padding: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--p3-body);
  line-height: 1.4;
}

.pdp3 .product-form__input legend.form__label strong {
  font-weight: 400;
  color: var(--p3-muted);
}

.pdp3 .product-form__input input[type='radio'] + label {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 1px solid var(--p3-border) !important;
  border-radius: var(--p3-radius) !important;
  background: #fff !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.3;
  color: var(--p3-ink) !important;
  box-shadow: none !important;
  transform: none !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pdp3 .product-form__input input[type='radio'] + label:hover {
  border-color: var(--p3-muted) !important;
  background: #fff !important;
}

.pdp3 .product-form__input input[type='radio']:checked + label {
  border-color: var(--p3-ink) !important;
  box-shadow: inset 0 0 0 1px var(--p3-ink) !important;
  background: #fff !important;
  color: var(--p3-ink) !important;
}

.pdp3 .product-form__input input[type='radio']:focus-visible + label {
  box-shadow: 0 0 0 3px rgba(29, 29, 31, 0.2) !important;
}

.pdp3 .product-form__input input[type='radio'].disabled + label {
  color: var(--p3-muted) !important;
  border-style: dashed !important;
  opacity: 0.7;
}

/* Menge + Button */
.pdp3__form {
  display: block;
}

.pdp3 .product-form__buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pdp3 .add-to-cart-container.with-quantity-input {
  --quantity-width: 112px;
  gap: 10px;
  grid-template-columns: var(--quantity-width) minmax(0, 1fr);
}

.pdp3 quantity-input,
.pdp3 .quantity {
  --height: var(--p3-control);
  --width: 112px;
  border: 1px solid var(--p3-border);
  border-radius: var(--p3-radius);
  background: #fff;
}

.pdp3 .quantity__button {
  min-width: 36px;
  color: var(--p3-ink);
}

.pdp3 .quantity__button svg {
  width: 1.4rem;
  height: 1.4rem;
}

.pdp3 .quantity__input {
  font-size: 15px;
  font-weight: 500;
  color: var(--p3-ink);
  border: 0;
  background: transparent;
}

.pdp3 .product-form__submit {
  width: 100%;
  min-height: var(--p3-control);
  padding: 0 20px;
  border: 0;
  border-radius: var(--p3-radius) !important;
  background: var(--p3-brand);
  color: #fff;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  box-shadow: none;
  transition: background-color 0.15s ease;
}

.pdp3 .product-form__submit:hover:not([disabled]) {
  background: var(--p3-brand-hover);
  color: #fff;
}

.pdp3 .product-form__submit[disabled] {
  background: var(--p3-line);
  color: var(--p3-muted);
  cursor: not-allowed;
}

.pdp3 .product-form__submit span {
  font-weight: 600;
}

.pdp3 .product-form__submit span::before,
.pdp3 .product-form__submit span::after {
  display: none !important;
}

.pdp3__preorder-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--p3-radius);
  background: var(--p3-surface);
  font-size: 13px;
  line-height: 1.45;
  color: var(--p3-body);
}

.pdp3__preorder-icon {
  flex: 0 0 auto;
  display: inline-flex;
  width: 18px;
  height: 18px;
  color: var(--p3-ink);
}

.pdp3__preorder-icon svg {
  width: 100%;
  height: 100%;
}

/* Verfügbarkeit (Variante E): eine Zeile mit Punkt, darunter der Verkäufer zentriert */
.pdp3__status {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--p3-line);
}

.pdp3 .product-delivery {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 13px;
  line-height: 1.5;
}

.pdp3 .product-delivery__icon {
  display: none;
}

.pdp3 .product-delivery__content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-width: 0;
  font-size: 0; /* blendet den "–"-Textknoten des Snippets aus */
  line-height: 1.5;
}

.pdp3 .product-delivery__status {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--p3-ink);
  white-space: nowrap;
}

.pdp3 .product-delivery__status::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

.pdp3 .product-delivery__status--stock {
  color: var(--p3-success);
}

.pdp3 .product-delivery__status--backorder {
  color: #b86e00;
}

.pdp3 .product-delivery__dates {
  order: 3;
  flex-basis: 100%;
  display: block;
  margin-top: 2px;
  padding-left: 16px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--p3-muted);
}

.pdp3 .product-delivery__dates:empty {
  display: none;
}

.pdp3 .product-delivery__info-trigger {
  order: 2;
  position: relative;
  display: block;
  flex: none;
  width: 16px;
  height: 16px;
  margin-left: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  font-size: 0; /* das "i" im Snippet wird durch das Icon ersetzt */
  line-height: 0;
  color: var(--p3-muted);
  cursor: help;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6b73' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4.5M12 8h.01'/%3E%3C/svg%3E") no-repeat center / 16px 16px;
  transition: opacity 0.15s ease;
}

.pdp3 .product-delivery__info-trigger:hover,
.pdp3 .product-delivery__info-trigger:focus {
  opacity: 0.75;
  outline: none;
}

.pdp3 .product-delivery__tooltip {
  font-size: 12px;
  line-height: 1.5;
  text-align: left;
}

.pdp3__seller {
  text-align: left;
}

.pdp3 .seller-line {
  display: block;
  margin: 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--p3-muted);
}

.pdp3 .seller-line__icon {
  display: none;
}

.pdp3 .seller-line__name,
.pdp3 .seller-line__name a {
  white-space: nowrap;
  font-weight: 500;
  color: var(--p3-ink);
  text-decoration: none;
  border: 0;
}

.pdp3 .seller-line__name a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Extras: Beipackzettel, Leasing, Apps */
.pdp3__extras {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pdp3__extra:empty {
  display: none;
}

.pdp3__extra--leaflet {
  padding-top: 14px;
  border-top: 1px solid var(--p3-line);
}

.pdp3 .leaflet-pdf-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--p3-muted);
}

.pdp3 .leaflet-pdf-wrapper a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--p3-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pdp3 .leaflet-pdf-wrapper a svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.pdp3 .leaflet-pdf-wrapper p {
  margin: 0;
}

/* ---------- Sticky-Kaufleiste ---------- */
.product-buy-bar .product-form__submit {
  border-radius: var(--p3-radius, 8px) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 600 !important;
}

.product-buy-bar .product-form__submit span::before,
.product-buy-bar .product-form__submit span::after {
  display: none !important;
}

/* ---------- Breadcrumb (App-Block, alle Produktseiten) ---------- */
body.template-product .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  box-sizing: border-box;
  width: var(--container-inner-width, 1280px);
  max-width: 100%;
  margin: 20px auto 0;
  padding: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  color: #6b6b73;
  white-space: normal;
  overflow: visible;
}

body.template-product .breadcrumb a,
body.template-product .breadcrumb a:link,
body.template-product .breadcrumb a:visited {
  color: #6b6b73;
  text-decoration: none !important;
  border-bottom: 0 !important;
  transition: color 0.15s ease;
}

body.template-product .breadcrumb a:hover {
  color: #1d1d1f;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

body.template-product .breadcrumb a:last-of-type {
  color: #1d1d1f;
  font-weight: 500;
}

body.template-product .breadcrumb span,
body.template-product .breadcrumb .breadcrumb__sep_plus3 {
  color: #c4bfb8;
}

/* Home als Haus-Icon */
body.template-product .breadcrumb a:first-of-type {
  display: inline-flex;
  align-items: center;
  width: 16px;
  height: 18px;
  font-size: 0;
  line-height: 0;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6b73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5'/%3E%3Cpath d='M5 9.5V21h14V9.5'/%3E%3Cpath d='M10 21v-6h4v6'/%3E%3C/svg%3E") no-repeat center / 16px 16px;
}

body.template-product .breadcrumb a:first-of-type:hover {
  opacity: 0.7;
}

/* Smartphone: nur die letzte Kategorie als Zurück-Link */
@media (max-width: 767px) {
  body.template-product .breadcrumb {
    gap: 0;
    margin-top: 12px;
  }
  body.template-product .breadcrumb > * {
    display: none;
  }
  body.template-product .breadcrumb > a:last-of-type {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: auto;
    height: auto;
    min-height: 32px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    color: #1d1d1f;
    background: none;
  }
  body.template-product .breadcrumb > a:last-of-type::before {
    content: '';
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 6-6 6 6 6'/%3E%3C/svg%3E") no-repeat center / 14px 14px;
  }
}

/* ===========================================================
   Frequently Bought Together (App: Frequently Bought, Code Black Belt)
   Variante C: Liste mit Mini-Bildern, Summenzeile unten.
   Die App setzt Inline-Styles, daher !important.
   =========================================================== */
body.template-product [id$="__frequently_bought"] {
  box-sizing: border-box;
  width: var(--container-inner-width, 1280px);
  max-width: 100%;
  margin: 8px auto 0;
  padding: 32px 0 8px;
  border-top: 1px solid #e8e4df;
}

body.template-product [id$="__frequently_bought"]:empty {
  display: none;
}

body.template-product .cbb-frequently-bought-container {
  display: flex !important;
  flex-direction: column;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  font-family: inherit !important;
  color: #1d1d1f;
}

body.template-product .cbb-frequently-bought-title {
  order: 0;
  margin: 0 0 8px !important;
  font-family: inherit !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: #1d1d1f !important;
}

body.template-product .cbb-frequently-bought-discount-message-container {
  order: 1;
}

body.template-product .cbb-frequently-bought-discount-message {
  padding: 0 0 8px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #1a7f37 !important;
}

/* Liste zuerst, Summenzeile danach */
body.template-product .cbb-frequently-bought-selector-list {
  order: 2;
  margin: 0 !important;
  padding: 0 !important;
}

body.template-product .cbb-frequently-bought-recommendations-container {
  order: 3;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 16px;
}

/* Bilderreihe: nur sichtbar, solange das Skript nicht gelaufen ist */
body.template-product .cbb-frequently-bought-products {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.template-product .mab-fbt-ready .cbb-frequently-bought-products {
  display: none !important;
}

body.template-product .cbb-frequently-bought-product {
  display: inline-flex !important;
  align-items: center;
  margin: 0 !important;
}

body.template-product .cbb-frequently-bought-product-image-link,
body.template-product .cbb-frequently-bought-product-image {
  float: none !important;
  margin: 0 !important;
  width: 96px !important;
  height: 96px !important;
  border-radius: 8px !important;
}

body.template-product .cbb-frequently-bought-plus-icon {
  float: none !important;
  width: 28px !important;
  height: 96px !important;
  line-height: 96px !important;
  font-family: inherit !important;
  font-size: 18px !important;
  color: #c4bfb8 !important;
  text-shadow: none !important;
}

/* Zeilen */
body.template-product .cbb-frequently-bought-selector-list > li {
  display: flex !important;
  align-items: center;
  gap: 14px;
  margin: 0 !important;
  padding: 10px 0 !important;
  border-bottom: 1px solid #f0ece7;
  font-size: 14px;
  line-height: 1.5;
  color: #2c2c2e;
}

body.template-product .cbb-frequently-bought-selector-list > li:last-child {
  border-bottom: 0;
}

body.template-product .cbb-frequently-bought-selector-input {
  flex: none;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  accent-color: #1d1d1f;
  cursor: pointer;
}

body.template-product .mab-fbt-thumb {
  flex: none;
  display: block;
  width: 56px;
  height: 56px;
  border: 1px solid #ece7e1;
  border-radius: 8px;
  background: #fff center / 84% no-repeat;
}

body.template-product .cbb-frequently-bought-selector-list > li > span.translatable,
body.template-product .cbb-frequently-bought-selector-link {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 !important;
  font-weight: 400 !important;
  color: #1d1d1f !important;
  text-decoration: none !important;
}

body.template-product .cbb-frequently-bought-selector-link:hover .cbb-frequently-bought-selector-label-name {
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.template-product .cbb-frequently-bought-selector-label-name {
  display: inline !important;
  margin: 0 !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: #1d1d1f !important;
}

body.template-product .cbb-frequently-bought-this-item-label {
  font-weight: 500 !important;
}

body.template-product .cbb-recommendations-variant-select {
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 180px !important;
  min-width: 180px !important;
  max-width: 180px !important;
  height: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  margin: 0 !important;
  padding: 0 32px 0 10px !important;
  line-height: 34px !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
  text-overflow: ellipsis;
  border: 1px solid #d9d4ce !important;
  border-radius: 8px !important;
  background: #fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 14px 14px !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #1d1d1f !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  cursor: pointer;
}

body.template-product .cbb-frequently-bought-selector-label-regular-price,
body.template-product .cbb-frequently-bought-selector-label-sale-price {
  flex: 0 0 110px;
  margin: 0 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #1d1d1f !important;
  text-align: right;
}

body.template-product .cbb-frequently-bought-selector-label-compare-at-price {
  flex: 0 0 auto;
  margin: 0 !important;
  font-size: 13px !important;
  color: #9a9aa0 !important;
}

/* Summenzeile */
body.template-product .cbb-frequently-bought-form {
  display: flex !important;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin: 0 !important;
  padding: 16px 20px !important;
  border-radius: 10px;
  background: #f7f5f2;
}

body.template-product .cbb-frequently-bought-total-price-box {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
  margin: 0 !important;
}

body.template-product .cbb-frequently-bought-total-price-text {
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #6b6b73 !important;
}

body.template-product .cbb-frequently-bought-total-price-sale-price,
body.template-product .cbb-frequently-bought-total-price-regular-price {
  margin: 0 !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em;
  color: #1d1d1f !important;
}

body.template-product .cbb-frequently-bought-total-price-was-price {
  margin: 0 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #9a9aa0 !important;
}

body.template-product .cbb-frequently-bought-error {
  flex-basis: 100%;
  margin: 0 !important;
  padding: 10px 12px !important;
  border-radius: 8px !important;
  background: #fdecec !important;
  color: #8a1c1c !important;
  font-size: 13px !important;
}

body.template-product .cbb-frequently-bought-add-button {
  min-height: 44px !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 12px 20px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #d61f23 !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  line-height: 1.3 !important;
  text-transform: none !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

body.template-product .cbb-frequently-bought-add-button:hover {
  background: #b8161a !important;
}

body.template-product .cbb-frequently-bought-add-button span {
  color: #fff !important;
}

/* Smartphone */
@media (max-width: 767px) {
  body.template-product [id$="__frequently_bought"] {
    padding: 24px 0 0;
  }
  body.template-product .cbb-frequently-bought-selector-list > li {
    flex-wrap: wrap;
    gap: 8px 12px;
  }
  body.template-product .mab-fbt-thumb {
    width: 48px;
    height: 48px;
  }
  body.template-product .cbb-frequently-bought-selector-list > li > span.translatable,
  body.template-product .cbb-frequently-bought-selector-link {
    flex: 1 1 calc(100% - 100px);
  }
  body.template-product .cbb-recommendations-variant-select {
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    margin-left: 74px !important;
  }
  body.template-product .cbb-frequently-bought-selector-label-regular-price,
  body.template-product .cbb-frequently-bought-selector-label-sale-price {
    flex: 1 1 auto;
    min-width: 0;
  }
  body.template-product .cbb-frequently-bought-form {
    flex-direction: column;
    align-items: stretch;
  }
  body.template-product .cbb-frequently-bought-add-button {
    width: 100% !important;
  }
}

/* ---------- Produkt-Slider auf dem Smartphone ----------
   Gilt für "Zubehör & Alternativen" (.product-related) und die
   Shopify-Empfehlungen "Ähnliche Produkte". Beide zeigen eine Karte mit
   rund 70 % Breite plus Anriss der nächsten, mit identischer Typografie. */
@media (max-width: 767px) {
  .product-related__header {
    padding-left: var(--container-margin, 16px);
    padding-right: var(--container-margin, 16px);
  }
  .product-related .slide-peek.grid-cols-1,
  body.template-product [id$="__the-product-recommendations"] .slide-peek.grid-cols-1 {
    --slide-items-width: 70%;
  }
  .product-related .card--product .card-body,
  body.template-product [id$="__the-product-recommendations"] .card--product .card-body {
    padding: 14px 16px 16px !important;
  }
  /* Titel: 15 px, bis zu 3 Zeilen */
  .product-related .card--product .card-title,
  .product-related .card--product .card-body h3.card-title,
  body.template-product [id$="__the-product-recommendations"] .card--product .card-title,
  body.template-product [id$="__the-product-recommendations"] .card--product .card-body h3.card-title {
    font-size: 15px !important;
    line-height: 1.35 !important;
    font-weight: 500 !important;
    -webkit-line-clamp: 3 !important;
    min-height: 0 !important;
    margin-bottom: 6px !important;
    overflow-wrap: anywhere;
  }
  .product-related .card--product .card-body .price,
  .product-related .card--product .card-body .price-wrapper,
  body.template-product [id$="__the-product-recommendations"] .card--product .card-body .price,
  body.template-product [id$="__the-product-recommendations"] .card--product .card-body .price-wrapper {
    padding-top: 4px !important;
  }
  .product-related .card--product .price .flex,
  body.template-product [id$="__the-product-recommendations"] .card--product .price .flex {
    flex-wrap: wrap;
  }
  /* Bruttopreis 20 px; "inkl. MwSt." bleibt in der Zeile, darf aber umbrechen */
  .product-related .card--product .price__regular .price-item--regular,
  .product-related .card--product .price__sale .price-item--last,
  body.template-product [id$="__the-product-recommendations"] .card--product .price__regular .price-item--regular,
  body.template-product [id$="__the-product-recommendations"] .card--product .price__sale .price-item--last {
    font-size: 20px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    letter-spacing: -0.01em !important;
  }
  .product-related .card--product .price__regular .price-item--regular::after,
  .product-related .card--product .price__sale .price-item--sale::after,
  body.template-product [id$="__the-product-recommendations"] .card--product .price__regular .price-item--regular::after,
  body.template-product [id$="__the-product-recommendations"] .card--product .price__sale .price-item--sale::after {
    font-size: 12px !important;
    margin-left: 5px !important;
  }
  /* Nettopreis 14 px, darf umbrechen */
  .product-related .card--product .price-net,
  body.template-product [id$="__the-product-recommendations"] .card--product .price-net {
    flex-wrap: wrap !important;
    white-space: normal !important;
    gap: 3px 5px !important;
    margin-top: 4px !important;
  }
  .product-related .card--product .price-net__amount,
  body.template-product [id$="__the-product-recommendations"] .card--product .price-net__amount {
    font-size: 14px !important;
  }
  .product-related .card--product .price-net__tax-note,
  body.template-product [id$="__the-product-recommendations"] .card--product .price-net__tax-note {
    font-size: 11px !important;
  }
}

.product-related__title {
  font-weight: 600 !important;
}

/* "Ähnliche Produkte" (Shopify-Empfehlungen): Überschrift und Abstand wie bei "Passendes Zubehör" */
body.template-product [id$="__the-product-recommendations"] .section-header {
  margin-bottom: 16px;
}
body.template-product [id$="__the-product-recommendations"] .section-header h2 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0;
}
@media (min-width: 768px) {
  body.template-product [id$="__the-product-recommendations"] .section-header h2 {
    font-size: 24px;
  }
}

/* ---------- Smartphone: Reihenfolge im Hero (muss nach den Basisregeln stehen) ---------- */
/* Smartphone: Marke, Titel, Kennzahlen, dann Kaufbox, dann "Auf einen Blick" */
@media (max-width: 767px) {
  .pdp3__grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .pdp3__media { order: 0; margin-bottom: 20px; }
  .pdp3__info { display: contents !important; }
  .pdp3__info > .product-vendor { order: 1; margin-bottom: 10px; }
  .pdp3__info > .pdp3__title { order: 2; margin-bottom: 12px; }
  .pdp3__info > .pdp3__meta { order: 3; margin-bottom: 20px; }
  .pdp3__buy { order: 4; margin-bottom: 8px; }
  .pdp3__info > .pdp3__bullets { order: 5; margin-top: 20px; padding-top: 20px; }
  .pdp3__info > .pdp3__details-link { order: 6; margin: 8px 0 4px; }
