/* ═══════════════════════════════════════════════
   SINGLE PRODUCT PAGE
   ═══════════════════════════════════════════════ */
body.single-product { background-color: #fff !important; }
.dm-product-hero {
  background: #fff !important;
  padding: 60px 0 64px;
}
.dm-product-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.dm-product-hero__gallery {
  position: sticky;
  top: 120px;
}
.dm-product-hero__main-img {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
  aspect-ratio: 1/1;
}
.dm-product-hero__main-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease, transform-origin 0.1s ease;
}
.dm-product-hero__main-img:not(.is-zoomed):hover img {
  transform: scale(1.03);
}
/* Zoom active state */
.dm-product-hero__main-img.is-zoomed {
  cursor: crosshair;
  overflow: hidden;
}
.dm-product-hero__main-img.is-zoomed img {
  transform: scale(2.5);
  filter: none;
}
.dm-zoom-toggle {
  /* position handled by dm-product-img-toolbar */
  z-index: 2;
}
.dm-product-hero__main-img.is-zoomed .dm-zoom-toggle {
  background: var(--dm-bg-primary);
  color: #fff;
  border-color: var(--dm-bg-primary);
}

/* Image toolbar */
.dm-product-img-toolbar {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  gap: 6px;
}
.dm-product-img-tool {
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--dm-border-mid);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  box-shadow: 0 2px 8px var(--dm-border-dark);
  color: var(--dm-text-dark);
}
.dm-product-img-tool:hover {
  background: var(--dm-bg-primary);
  color: #fff;
  border-color: var(--dm-text-dark);
}
.dm-product-img-tool .material-symbols-rounded { font-size: 20px; }

/* Thumbs */
.dm-product-hero__thumbs {
  display: flex;
  gap: 10px;
}
.dm-product-thumb {
  width: 72px; height: 72px;
  border-radius: 12px;
  border: 2px solid transparent;
  background: #f4f5f7;
  padding: 6px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.dm-product-thumb img {
  width: 100%; height: 100%;
  object-fit: contain;
}
.dm-product-thumb.is-active,
.dm-product-thumb:hover {
  border-color: var(--dm-text-dark);
}
.dm-product-thumb--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}
.dm-product-thumb--placeholder .material-symbols-rounded {
  font-size: 22px;
  color: rgba(0,0,0,0.15);
}
.dm-product-thumb--placeholder:hover {
  border-color: transparent;
}

/* Info side */
.dm-product-hero__info {
  padding-top: 8px;
}
.dm-product-hero__title-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 0 16px;
}
.dm-product-hero__title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--dm-text-dark);
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.5px;
}
.dm-product-hero__color-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.dm-product-hero__color-label {
  font-size: 14px;
  font-weight: 700;
  color: rgba(0,0,0,0.5);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.dm-color-dot--lg {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.08);
  flex-shrink: 0;
}
.dm-product-hero__excerpt {
  font-size: 15px;
  color: rgba(0,0,0,0.55);
  line-height: 1.7;
  margin: 0 0 24px;
  max-width: 480px;
}

/* Spec tags */
.dm-product-hero__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}
.dm-product-spec-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f4f5f7;
  color: var(--dm-text-dark);
  font-size: 12px;
  line-height: 1.25;
  padding: 5px 10px;
  border-radius: 8px;
}
.dm-product-spec-tag .material-symbols-rounded {
  font-size: 14px;
  opacity: 0.35;
}
.dm-product-spec-tag__name {
  font-weight: 500;
  font-size: 11px;
  color: rgba(0,0,0,0.4);
}
.dm-product-spec-tag__value {
  font-weight: 700;
  font-size: 12px;
  color: var(--dm-text-dark);
}

/* Price + Stock */
.dm-product-hero__price-block {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--dm-border-mid);
}
.dm-product-hero__price-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 6px;
}
.dm-product-hero__price {
  font-size: 32px;
  font-weight: 800;
  color: var(--dm-text-dark);
}
.dm-product-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--stock-color, #22c55e);
}
.dm-stock-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--stock-color, #22c55e);
  display: inline-block;
}
.dm-product-hero__tax-note {
  font-size: 12px;
  color: var(--dm-text-muted-dark);
}

/* Varianten als getrennte Zeilen: Farben, Zoll, ET */
.dm-product-hero__variants-inline {
  --dm-swatch-px: 46px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin: 4px 0 16px;
}
.dm-product-hero__variant-row {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
}
.dm-product-hero__variants-inline .dm-product-hero__variant-swatches {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  max-width: none !important;
}
.dm-product-hero__variants-inline .dm-variant-swatch-link--photo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--dm-swatch-px);
  height: var(--dm-swatch-px);
  flex-shrink: 0;
  position: relative;
  box-sizing: border-box;
  border-radius: 50%;
  overflow: visible;
}
.dm-product-hero__variants-inline .dm-variant-swatch-img-wrap {
  display: block;
  width: var(--dm-swatch-px);
  height: var(--dm-swatch-px);
  border-radius: 50%;
  overflow: hidden;
  box-sizing: border-box;
  border: 2px solid rgba(0, 0, 0, 0.14);
  background: #eceef1;
  transition: border-color 0.2s;
}
/* Produktfoto wirkt größer: leicht reinzoomen (Assets haben oft Rand im PNG) */
.dm-product-hero__variants-inline .dm-variant-swatch-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.14);
  transform-origin: center center;
}
.dm-product-hero__variants-inline .dm-variant-swatch-link--photo.is-active .dm-variant-swatch-img-wrap {
  border-color: rgba(0, 0, 0, 0.14);
}
/* Auswahlring mit Abstand zum Swatch (nicht am Bild klebend) */
.dm-product-hero__variants-inline .dm-variant-swatch-link--photo.is-active {
  outline: 2px solid #111827;
  outline-offset: 5px;
}
.dm-product-hero__variants-inline .dm-variant-swatch-img-wrap--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8eaee;
}
.dm-product-hero__variants-inline .dm-variant-swatch-img-wrap--fallback .dm-color-dot {
  width: 22px;
  height: 22px;
}
.dm-product-hero__variants-inline .dm-product-hero__size-variants {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.dm-product-hero__variants-inline .dm-product-hero__et-variants {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.dm-product-hero__variants-inline .dm-variant-size-link {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--dm-swatch-px);
  width: var(--dm-swatch-px);
  height: var(--dm-swatch-px);
  padding: 0;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.02em;
  border: 2px solid rgba(0, 0, 0, 0.14);
  background: #eceef1;
  color: var(--dm-text-dark);
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, outline 0.2s;
  overflow: visible;
}
.dm-product-hero__variants-inline .dm-variant-size-link.is-active {
  border-color: rgba(0, 0, 0, 0.14);
  background: #fff;
  outline: 2px solid #111827;
  outline-offset: 5px;
}
.dm-product-hero__variants-inline .dm-variant-size-link:hover:not(.is-active) {
  border-color: rgba(0, 0, 0, 0.28);
  background: #f5f6f8;
}
.dm-product-hero__variants-inline .dm-variant-size-link.is-disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
  background: #f3f4f6;
  border-color: rgba(0, 0, 0, 0.12);
  color: rgba(0, 0, 0, 0.45);
}
.dm-product-hero__variants-inline .dm-variant-swatch-link--photo:hover:not(.is-active) .dm-variant-swatch-img-wrap {
  border-color: rgba(0, 0, 0, 0.28);
}
.dm-product-hero__variants-inline .dm-variant-swatch-link--photo:focus-visible,
.dm-product-hero__variants-inline .dm-variant-size-link:focus-visible {
  outline: 2px solid #111827;
  outline-offset: 5px;
}

/* Quantity + ATC */
.dm-product-hero__actions {
  margin-bottom: 32px;
}
.dm-product-atc-form {
  display: flex;
  gap: 12px;
  align-items: stretch;
}
.dm-qty-control {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  border: 1.5px solid var(--dm-border-mid);
  overflow: hidden;
  flex-shrink: 0;
}
.dm-qty-btn {
  width: 36px; height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dm-text-dark);
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  transition: background 0.15s;
  padding: 0;
  user-select: none;
}
.dm-qty-btn:hover { background: #f4f5f7; }
.dm-qty-btn:active { background: #ebedf0; }
.dm-qty-btn .material-symbols-rounded { font-size: 18px; }
.dm-qty-input {
  width: 36px;
  text-align: center;
  border: none;
  border-left: 1.5px solid var(--dm-border-mid);
  border-right: 1.5px solid var(--dm-border-mid);
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  color: var(--dm-text-dark);
  outline: none;
  font-family: inherit;
  -moz-appearance: textfield;
  appearance: textfield;
}
.dm-qty-input::-webkit-inner-spin-button,
.dm-qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}
.dm-btn-add-to-cart {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--dm-bg-primary);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  font-family: inherit;
  letter-spacing: 0.3px;
}
.dm-btn-add-to-cart:hover {
  background: #1a2a3a;
  transform: translateY(-1px);
}
.dm-btn-add-to-cart .material-symbols-rounded { font-size: 20px; }

.dm-product-out-of-stock {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  background: #f4f5f7;
  border-radius: 12px;
  color: var(--dm-text-sub-dark);
  font-size: 14px;
  font-weight: 600;
}

/* Payment icons */
/* Express Checkout */
.dm-express-checkout {
  margin-bottom: 24px;
}
.dm-express-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.dm-express-divider::before,
.dm-express-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--dm-border-mid);
}
.dm-express-divider span {
  font-size: 12px;
  font-weight: 600;
  color: rgba(0,0,0,0.3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.dm-express-buttons {
  display: flex;
  gap: 8px;
}
.dm-express-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1.5px solid var(--dm-border-mid);
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.dm-express-btn:hover {
  border-color: rgba(0,0,0,0.2);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transform: translateY(-1px);
}
.dm-express-btn svg { display: block; }
.dm-express-btn--klarna { background: #FFB3C7; border-color: #FFB3C7; }
.dm-express-btn--klarna:hover { border-color: #ff8da8; }

/* Compact Info Bar (Fahrzeug + Gutachten + Versand) */
.dm-product-info-bar {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 12px 16px;
  background: #f8f9fa;
  border: 1px solid var(--dm-border-mid);
  border-radius: 12px;
}
.dm-info-bar__item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
}
.dm-info-bar__item:first-child { padding-left: 0; }
.dm-info-bar__item:last-child { padding-right: 0; }
.dm-info-bar__item .material-symbols-rounded {
  font-size: 18px;
  color: var(--dm-text-dark);
  flex-shrink: 0;
  opacity: 0.5;
}
.dm-info-bar__item strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--dm-text-dark);
  line-height: 1.3;
}
.dm-info-bar__item span {
  font-size: 10px;
  color: rgba(0,0,0,0.4);
  line-height: 1.3;
}
.dm-info-bar__item span a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.dm-info-bar__divider {
  width: 1px;
  height: 28px;
  background: var(--dm-border-mid);
  flex-shrink: 0;
}

/* Product Details / Tabs — white, integrated */
.dm-product-details {
  background: #fff;
  padding: 0 0 80px;
  border-top: 1px solid var(--dm-border-dark);
}
.dm-product-tabs__nav {
  display: flex;
  gap: 4px;
  margin-bottom: 32px;
  padding-top: 32px;
  border-bottom: 2px solid var(--dm-border-dark);
}
.dm-product-tabs__btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dm-text-muted-dark);
  cursor: pointer;
  transition: all 0.15s;
  margin-bottom: -2px;
  font-family: inherit;
}
.dm-product-tabs__btn.is-active {
  color: var(--dm-text-dark);
  font-weight: 700;
  border-bottom-color: var(--dm-text-dark);
}
.dm-product-tabs__btn:hover:not(.is-active) { color: rgba(0,0,0,0.7); }
.dm-product-tab-panel {
  display: none;
}
.dm-product-tab-panel.is-active {
  display: block;
}
.dm-product-tab-text {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(0,0,0,0.65);
  max-width: 720px;
}

/* Specs 2-column grid */
.dm-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}
.dm-specs-table {
  width: 100%;
  border-collapse: collapse;
}
.dm-specs-table tr { border-bottom: 1px solid var(--dm-border-dark); }
.dm-specs-table tr:last-child { border-bottom: none; }
.dm-specs-table td {
  padding: 14px 0;
  font-size: 14px;
}
.dm-specs-table td:first-child {
  font-weight: 600;
  color: rgba(0,0,0,0.45);
  width: 180px;
}
.dm-specs-table td:last-child {
  font-weight: 600;
  color: var(--dm-text-dark);
}

/* Gutachten download items */
.dm-gutachten-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dm-gutachten-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #f8f9fb;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  transition: box-shadow 0.2s;
}
.dm-gutachten-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.dm-gutachten-item__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(191,7,17,0.06);
  border-radius: 10px;
}
.dm-gutachten-item__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dm-gutachten-item__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--dm-text-dark);
}
.dm-gutachten-item__meta {
  font-size: 12px;
  color: rgba(0,0,0,0.4);
}
.dm-gutachten-item__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  background: none;
  color: var(--dm-text-dark);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .3px;
  transition: all 0.2s;
  flex-shrink: 0;
  cursor: pointer;
}
.dm-gutachten-item__btn:hover {
  background: var(--dm-text-dark);
  color: #fff;
  border-color: var(--dm-text-dark);
}
.dm-gutachten-item__btn .material-symbols-rounded {
  font-size: 16px;
}

/* Category Filter Bar */
.dm-cat-filters {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--dm-border-mid);
}
.dm-cat-filters__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.dm-cat-filters__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--dm-text-dark);
  margin-right: 4px;
}
.dm-cat-filters__label .material-symbols-rounded { font-size: 18px; opacity: 0.4; }
.dm-filter-dropdown { position: relative; }
.dm-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dm-text-dark);
  background: #fff;
  border: 1.5px solid var(--dm-border-mid);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.dm-filter-btn:hover { border-color: rgba(0,0,0,0.2); }
.dm-filter-btn.is-active { border-color: var(--dm-text-dark); background: #f8f9fa; }
.dm-filter-btn .material-symbols-rounded { font-size: 16px; opacity: 0.4; transition: transform 0.2s; }
.dm-filter-btn.is-active .material-symbols-rounded { transform: rotate(180deg); }
.dm-filter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--dm-text-dark);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  margin-left: 2px;
}
.dm-filter-panel {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  max-height: 280px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--dm-border-mid);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  padding: 8px;
  z-index: 100;
}
.dm-filter-panel.is-open { display: block; }
.dm-filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  color: var(--dm-text-dark);
  transition: background 0.1s;
}
.dm-filter-option:hover { background: #f4f5f7; }
.dm-filter-option input[type="checkbox"] {
  width: 16px; height: 16px;
  border-radius: 4px;
  border: 1.5px solid rgba(0,0,0,0.2);
  cursor: pointer;
  accent-color: var(--dm-text-dark);
  flex-shrink: 0;
}
.dm-filter-option small {
  margin-left: auto;
  font-size: 11px;
  color: rgba(0,0,0,0.3);
  font-weight: 500;
}
.dm-filter-count {
  font-size: 12px;
  font-weight: 600;
  color: rgba(0,0,0,0.4);
  margin-left: 4px;
}
.dm-filter-reset {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(0,0,0,0.5);
  background: #f4f5f7;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}
.dm-filter-reset:hover { background: #ebedf0; color: var(--dm-text-dark); }
.dm-filter-reset .material-symbols-rounded { font-size: 14px; }

/* Alternative Felgen section */

.dm-product-alternatives {
  background: #f8f9fa;
  padding: 80px 0;
}
.dm-product-alternatives .dm-section-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--dm-text-dark);
  letter-spacing: -0.5px;
}

/* Alternative Felgen — Karten: kurzer Titel (wie Produkt-Hero) + Farbe wie Einzelseite */
.dm-product-alternatives .dm-shop-grid--alt .dm-shop-card__name {
  font-size: 15px;
  line-height: 1.3;
  margin-bottom: 8px;
}
.dm-product-alternatives .dm-shop-card__color-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 10px;
  flex-wrap: wrap;
  width: 100%;
}
.dm-product-alternatives .dm-shop-card__color-label {
  font-size: 12px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Alt products grid — horizontal cards */
.dm-alt-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.dm-alt-product-card {
  background: #fff;
  border: 1px solid var(--dm-border-mid);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  position: relative;
}
.dm-alt-product-card:hover {
  border-color: rgba(0,0,0,0.15);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.dm-alt-product-card__img {
  width: 100%;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.dm-alt-product-card__img img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.06));
}
.dm-alt-product-card__body {
  text-align: center;
}
.dm-alt-product-card__name {
  font-size: 16px;
  font-weight: 800;
  color: var(--dm-text-dark);
  margin: 0 0 4px;
  letter-spacing: 0.3px;
}
.dm-alt-product-card__variants {
  font-size: 12px;
  color: rgba(0,0,0,0.4);
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
}
.dm-alt-product-card__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--dm-text-dark);
}
.dm-alt-product-card__price .woocommerce-Price-amount {
  font-weight: inherit;
  color: inherit;
}
.dm-alt-product-card__arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 18px;
  color: rgba(0,0,0,0.15);
  transition: color 0.2s;
}
.dm-alt-product-card:hover .dm-alt-product-card__arrow {
  color: var(--dm-text-dark);
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — Single Product
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .dm-product-hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .dm-product-hero__gallery { position: static; }
  .dm-product-hero { padding: 32px 0 40px; }
  .dm-alt-products-grid { grid-template-columns: repeat(2, 1fr); }
  .dm-specs-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .dm-product-hero { padding: 24px 0 32px; }
  .dm-product-hero__inner { gap: 24px; }
  .dm-product-hero__title { font-size: 22px; }
  .dm-product-hero__price { font-size: 24px; }
  .dm-product-hero__specs { gap: 5px; margin-bottom: 18px; }
  .dm-product-spec-tag { font-size: 11px; padding: 4px 8px; border-radius: 7px; }
  .dm-product-spec-tag__name { font-size: 10px; }
  .dm-product-spec-tag__value { font-size: 11px; }
  .dm-product-spec-tag .material-symbols-rounded { font-size: 13px; }
  .dm-product-hero__price-block { margin-bottom: 20px; padding-bottom: 20px; }
  .dm-product-hero__actions { margin-bottom: 20px; }
  .dm-product-hero__excerpt { font-size: 13px; margin-bottom: 16px; }
  /* Info bar: 50/50 row, compact */
  .dm-product-info-bar { flex-direction: row; gap: 0; padding: 8px 10px; }
  .dm-info-bar__divider { width: 1px; height: 24px; flex-shrink: 0; }
  .dm-info-bar__item { padding: 2px 8px !important; gap: 6px; }
  .dm-info-bar__item .material-symbols-rounded { font-size: 16px; }
  .dm-info-bar__item strong { font-size: 11px; }
  .dm-info-bar__item span { font-size: 9px; }

  /* ATC: always one row, short label */
  .dm-product-atc-form { flex-direction: row; gap: 8px; }
  .dm-btn-add-to-cart { padding: 12px 16px; font-size: 13px; }
  .dm-btn-add-to-cart .dm-atc-label-full { display: none; }
  .dm-btn-add-to-cart .dm-atc-label-short { display: inline; }

  /* Shop grid (alt) on product page */
  .dm-shop-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }
  .dm-product-tabs__nav {
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-top: 16px;
    margin-bottom: 20px;
  }
  .dm-product-tabs__nav::-webkit-scrollbar { display: none; }
  .dm-product-tabs__btn { padding: 10px 14px; font-size: 13px; white-space: nowrap; flex-shrink: 0; }
  .dm-product-details { padding: 0 0 40px; }
  .dm-alt-products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .dm-alt-product-card { padding: 14px; }
  .dm-product-alternatives { padding: 40px 0; }
  .dm-product-hero__thumbs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .dm-product-thumb { width: 56px; height: 56px; flex-shrink: 0; }
}
@media (max-width: 480px) {
  .dm-alt-products-grid { grid-template-columns: 1fr; }
  .dm-product-hero__main-img { padding: 12px; }
  .dm-product-hero__title { font-size: 20px; }
  .dm-shop-grid { grid-template-columns: 1fr !important; }
}

/* DM20 video play btn — inherits dm-product-img-tool, only needs opacity transition */
#dm-video-play-btn { transition: background 0.15s, opacity 0.3s ease; }
#dm-video-play-btn .material-symbols-rounded { font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24; }


/* ═══════════════════════════════════════════════
   ABE STATUS CHIPS — Product page compat badge
   ═══════════════════════════════════════════════ */

/* ABE chip (Eintragungsfrei / Mit Eintragung) */
.dm-abe-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px 5px 7px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3px;
  margin-top: 6px;
}
.dm-abe-chip .material-symbols-rounded { font-size: 14px; }
.dm-abe-chip--free  { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.dm-abe-chip--free  .material-symbols-rounded { color: #22c55e; }
.dm-abe-chip--entry { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.dm-abe-chip--entry .material-symbols-rounded { color: #d97706; }

/* Gutachten PDF button inside compat badge */
.dm-gutachten-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 7px 14px 7px 10px;
  border-radius: 8px;
  border: 1.5px solid rgba(0,0,0,0.12);
  background: #fff;
  color: var(--dm-text-dark);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .3px;
  transition: all 0.15s;
}
.dm-gutachten-btn:hover {
  background: var(--dm-text-dark);
  color: #fff;
  border-color: var(--dm-text-dark);
}
.dm-gutachten-btn .material-symbols-rounded { font-size: 15px; }

/* Small inline link in the status bar */
.dm-gutachten-inline-btn {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 8px;
  padding: 2px 8px 2px 5px;
  background: rgba(0,0,0,0.05);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--dm-text-dark);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
}
.dm-gutachten-inline-btn:hover { background: rgba(0,0,0,0.1); }
.dm-gutachten-inline-btn .material-symbols-rounded { font-size: 13px; }
