/*
Theme Name: Damina Performance
Theme URI: https://damina-performance.de
Author: WeAreWeblabs
Author URI: https://weareweblabs.com
Description: Custom WordPress theme for Damina Performance – Premium Alufelgen
Version: 1.0.0
Text Domain: damina
Requires at least: 6.0
Requires PHP: 8.0
License: Proprietary
*/

/* ═══════════════════════════════════════════════
   Design Tokens / Custom Properties
   ═══════════════════════════════════════════════ */
:root {
  --dm-bg-primary: #0a1017;
  --dm-bg-secondary: #111822;
  --dm-bg-footer: #070c12;
  --dm-bg-white: #ffffff;
  --dm-bg-light: #f1f3f5;
  --dm-bg-card-light: #f8f9fa;
  --dm-text-white: #ffffff;
  --dm-text-dark: #0a1017;
  --dm-text-muted-light: rgba(255,255,255,0.4);
  --dm-text-muted-dark: rgba(0,0,0,0.4);
  --dm-text-sub-light: rgba(255,255,255,0.55);
  --dm-text-sub-dark: rgba(0,0,0,0.5);
  --dm-border-light: rgba(255,255,255,0.08);
  --dm-border-dark: rgba(0,0,0,0.06);
  --dm-accent-red: #e50000;
  --dm-accent-red-light: #FF3E3E;
  --dm-accent-red-dark: #C41C1C;
  --dm-radius-sm: 8px;
  --dm-radius-md: 12px;
  --dm-radius-lg: 16px;
  --dm-radius-xl: 20px;
  --dm-container: 1200px;
  --dm-font-primary: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* ═══════════════════════════════════════════════
   Reset & Base
   ═══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--dm-font-primary); background-color: var(--dm-bg-primary); color: var(--dm-text-white); overflow-x: hidden; line-height: 1.6; }
::selection { background: var(--dm-accent-red); color: #fff; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* Material Symbols */
.material-symbols-rounded {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'liga';
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ═══════════════════════════════════════════════
   Container
   ═══════════════════════════════════════════════ */
.dm-container {
  width: 100%;
  max-width: var(--dm-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ═══════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════ */
.dm-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid var(--dm-border-light);
}
.dm-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 24px;
  max-width: var(--dm-container);
  margin: 0 auto;
}
.dm-header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.dm-header__logo img {
  width: 44px; height: 44px;
  object-fit: contain;
}
.dm-header__logo-text {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #fff;
}
.dm-header__nav {
  display: flex;
  gap: 28px;
}
.dm-header__nav a {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}
.dm-header__nav a:hover { color: #fff; }
.dm-header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
/* B2B Toggle */
.dm-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dm-toggle__label {
  font-size: 12px;
  font-weight: 700;
  transition: color 0.3s;
}
.dm-toggle__label--active { color: #fff; }
.dm-toggle__label--inactive { color: rgba(255,255,255,0.35); }
.dm-toggle__track {
  width: 40px; height: 22px;
  border-radius: 11px;
  background: rgba(255,255,255,0.15);
  position: relative;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.1);
  transition: background 0.3s;
}
.dm-toggle__track.is-active { background: rgba(255,255,255,0.3); }
.dm-toggle__thumb {
  position: absolute;
  top: 2px; left: 2px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.3s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.dm-toggle__track.is-active .dm-toggle__thumb { left: 19px; }
.dm-header__icon {
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  font-size: 20px;
  transition: color 0.2s;
}
.dm-header__icon:hover { color: #fff; }

/* Mobile menu toggle */
.dm-header__hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
.dm-hero {
  position: relative;
  height: 85vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  padding-top: 80px;
}
.dm-hero__bg {
  position: absolute;
  inset: 0;
}
.dm-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.dm-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(10,16,23,0.95) 10%, rgba(10,16,23,0.6) 45%, transparent 100%),
    linear-gradient(to top, #0a1017 0%, transparent 30%);
}
.dm-hero__content {
  position: relative;
  z-index: 10;
  padding: 0 24px;
  max-width: var(--dm-container);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
}
.dm-hero__text {
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: auto;
  flex-shrink: 0;
}
.dm-hero__badge {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.dm-hero__title {
  font-size: clamp(48px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
  text-transform: uppercase;
}
.dm-hero__desc {
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 40px;
  max-width: 480px;
  line-height: 1.7;
  font-weight: 400;
}
.dm-hero__ctas {
  display: flex;
  gap: 16px;
}
.dm-btn-primary {
  padding: 16px 32px;
  border-radius: var(--dm-radius-md);
  background: #fff;
  color: var(--dm-text-dark);
  border: none;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(255,255,255,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.dm-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255,255,255,0.2);
}
.dm-btn-secondary {
  padding: 16px 32px;
  border-radius: var(--dm-radius-md);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: background 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.dm-btn-secondary:hover { background: rgba(255,255,255,0.1); }

/* ═══════════════════════════════════════════════
   BENEFITS
   ═══════════════════════════════════════════════ */
.dm-benefits {
  padding: 80px 24px;
}
.dm-benefits__title {
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 40px;
  letter-spacing: 0.5px;
}
.dm-benefits__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.dm-benefit-card {
  background: var(--dm-bg-secondary);
  border: 1px solid var(--dm-border-light);
  border-radius: var(--dm-radius-sm);
  padding: 32px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  transition: border-color 0.3s ease;
}
.dm-benefit-card:hover { border-color: rgba(255,255,255,0.2); }
.dm-benefit-card__icon {
  width: 64px; height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dm-benefit-card__icon .material-symbols-rounded {
  font-size: 40px;
  color: rgba(255,255,255,0.7);
}
.dm-benefit-card__text {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
  white-space: pre-wrap;
}

/* ═══════════════════════════════════════════════
   QUALITY FEATURES
   ═══════════════════════════════════════════════ */
.dm-quality {
  padding: 100px 24px;
  background: var(--dm-bg-white);
}
.dm-quality__tag {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dm-text-muted-dark);
  margin-bottom: 12px;
}
.dm-quality__title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--dm-text-dark);
}
.dm-quality__desc {
  text-align: center;
  font-size: 16px;
  color: var(--dm-text-sub-dark);
  margin-bottom: 64px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.dm-quality__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.dm-feature-card {
  background: var(--dm-bg-card-light);
  border: 1px solid var(--dm-border-dark);
  border-radius: var(--dm-radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.3s ease;
}
.dm-feature-card:hover { border-color: rgba(0,0,0,0.15); }
.dm-feature-card__icon {
  width: 48px; height: 48px;
  border-radius: var(--dm-radius-md);
  background: rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}
.dm-feature-card__icon .material-symbols-rounded {
  font-size: 24px;
  color: var(--dm-text-dark);
}
.dm-feature-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dm-text-dark);
}
.dm-feature-card__desc {
  font-size: 14px;
  color: var(--dm-text-sub-dark);
  line-height: 1.7;
  margin: 0;
}

/* ═══════════════════════════════════════════════
   PREMIUM SERIES
   ═══════════════════════════════════════════════ */
.dm-premium {
  padding: 40px 24px 100px;
}
.dm-premium__title {
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 40px;
  letter-spacing: 0.5px;
}
.dm-premium__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.dm-product-card {
  background: #ffffff;
  border-radius: var(--dm-radius-md);
  border: 1px solid rgba(0,0,0,0.08);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.dm-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}
.dm-product-card__img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.dm-product-card__img img {
  width: 95%; height: 95%;
  object-fit: contain;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.15));
}
.dm-product-card__name {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--dm-text-dark);
  text-align: center;
}
.dm-product-card__details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.dm-product-card__sizes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.dm-size-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #f0f2f5;
  font-size: 11px;
  font-weight: 700;
  color: var(--dm-text-dark);
}
.dm-product-card__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.dm-product-card__et {
  display: flex;
  align-items: center;
  gap: 4px;
}
.dm-product-card__et .material-symbols-rounded {
  font-size: 14px;
  color: rgba(0,0,0,0.4);
}
.dm-product-card__et span {
  font-size: 12px;
  font-weight: 600;
  color: rgba(0,0,0,0.6);
}
.dm-meta-divider {
  width: 1px; height: 12px;
  background: rgba(0,0,0,0.1);
}
.dm-product-card__colors {
  display: flex;
  align-items: center;
  gap: 4px;
}
.dm-color-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.1);
}
.dm-btn-dark {
  width: 100%;
  padding: 14px;
  border-radius: var(--dm-radius-sm);
  background: var(--dm-text-dark);
  border: 1px solid var(--dm-text-dark);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  margin-top: auto;
  transition: background 0.2s, color 0.2s;
  text-align: center;
  text-decoration: none;
  display: block;
}
.dm-btn-dark:hover { background: transparent; color: var(--dm-text-dark); }

/* ═══════════════════════════════════════════════
   BRAND SELECTOR
   ═══════════════════════════════════════════════ */
.dm-brands {
  background: var(--dm-bg-light);
  padding: 80px 24px;
  color: #000;
}
.dm-brands__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--dm-bg-secondary);
  margin-bottom: 32px;
}
.dm-brands__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.dm-brand-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--dm-radius-sm);
  padding: 24px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.dm-brand-card:hover {
  border-color: #c0c8d1;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.dm-brand-card__logo {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dm-brand-card__logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%) opacity(70%);
  transition: filter 0.3s;
}
.dm-brand-card:hover .dm-brand-card__logo img { filter: grayscale(0%) opacity(100%); }
.dm-brand-card__name {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
}

/* ═══════════════════════════════════════════════
   GALLERY
   ═══════════════════════════════════════════════ */
.dm-gallery {
  padding: 100px 24px;
  background: var(--dm-bg-primary);
}
.dm-gallery__tag {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dm-text-muted-light);
  margin-bottom: 12px;
}
.dm-gallery__title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 48px;
  color: #fff;
}
.dm-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.dm-gallery__item {
  position: relative;
  border-radius: var(--dm-radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--dm-bg-secondary);
  border: 1px solid rgba(255,255,255,0.06);
}
.dm-gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 0.5s ease, opacity 0.3s ease;
}
.dm-gallery__item:hover img {
  transform: scale(1.05);
  opacity: 1;
}

/* ═══════════════════════════════════════════════
   ABOUT + FAQ
   ═══════════════════════════════════════════════ */
.dm-about {
  padding: 100px 24px;
  background: var(--dm-bg-white);
}
.dm-about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.dm-about__tag, .dm-faq__tag {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.35);
  margin-bottom: 12px;
}
.dm-about__title, .dm-faq__title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #111;
  line-height: 1.3;
}
.dm-faq__title { margin-bottom: 32px; }
.dm-about__intro {
  margin: 0 0 32px;
  font-size: 15px;
  color: rgba(0,0,0,0.55);
  line-height: 1.8;
}
/* Accordion (shared for about + faq) */
.dm-accordion__item {
  border-top: 1px solid rgba(0,0,0,0.08);
}
.dm-accordion__item:last-child {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.dm-accordion__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  background: none;
  border: none;
  color: #111;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}
.dm-faq .dm-accordion__trigger {
  font-size: 15px;
  font-weight: 600;
  padding: 20px 0;
}
.dm-accordion__trigger .material-symbols-rounded {
  color: rgba(0,0,0,0.35);
  flex-shrink: 0;
  transition: transform 0.2s;
  font-size: 22px;
}
.dm-accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.dm-accordion__content.is-open {
  max-height: 400px;
}
.dm-accordion__content ul {
  margin: 0;
  padding-left: 20px;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: rgba(0,0,0,0.55);
  line-height: 1.7;
  list-style: disc;
}
.dm-accordion__content ul li strong {
  color: rgba(0,0,0,0.75);
}
.dm-accordion__content p {
  margin: 0;
  padding-bottom: 20px;
  font-size: 14px;
  color: rgba(0,0,0,0.5);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   B2B SECTION
   ═══════════════════════════════════════════════ */
.dm-b2b {
  background: linear-gradient(180deg, #0a1017 0%, #131c28 50%, #0a1017 100%);
  padding: 100px 24px;
}
.dm-b2b__inner {
  display: flex;
  gap: 64px;
  align-items: center;
  flex-wrap: wrap;
}
.dm-b2b__text {
  flex: 1 1 440px;
}
.dm-b2b__tag {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 12px;
}
.dm-b2b__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 20px;
}
.dm-b2b__desc {
  font-size: 16px;
  color: var(--dm-text-sub-light);
  line-height: 1.7;
  max-width: 500px;
}
.dm-b2b__benefits {
  flex: 1 1 380px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.dm-b2b__benefit {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--dm-border-light);
  border-radius: var(--dm-radius-md);
  transition: border-color 0.3s, background 0.3s;
}
.dm-b2b__benefit:hover {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
}
.dm-b2b__benefit .material-symbols-rounded {
  font-size: 22px;
  color: rgba(255,255,255,0.45);
}
.dm-b2b__benefit span {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.dm-footer {
  background: var(--dm-bg-footer);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.dm-footer__inner {
  max-width: var(--dm-container);
  margin: 0 auto;
  padding: 64px 24px 0;
}
.dm-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.dm-footer__brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.dm-footer__brand-row img {
  width: 40px; height: 40px;
  object-fit: contain;
}
.dm-footer__brand-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
}
.dm-footer__slogan {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  font-style: italic;
  margin-left: 52px;
}
.dm-footer__heading {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
}
.dm-footer__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}
.dm-footer__info a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.dm-footer__info a:hover { color: rgba(255,255,255,0.9); }
.dm-footer__social {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}
.dm-footer__social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.dm-footer__social-link:hover { background: rgba(255,255,255,0.12); }
.dm-footer__social-link svg {
  width: 16px; height: 16px;
}
/* Bottom bar */
.dm-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.dm-footer__copy {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}
.dm-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.dm-footer__legal a {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.2s;
}
.dm-footer__legal a:hover { color: rgba(255,255,255,0.7); }

/* ═══════════════════════════════════════════════
   VEHICLE SELECTOR (styled via plugin, structure here)
   ═══════════════════════════════════════════════ */
.dm-vehicle-selector {
  background: rgba(20, 26, 35, 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--dm-radius-xl);
  padding: 32px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
}
.dm-vehicle-selector__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  color: rgba(255,255,255,0.9);
}
.dm-vehicle-selector__tabs {
  display: flex;
  background: rgba(0,0,0,0.4);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 32px;
  border: 1px solid rgba(255,255,255,0.03);
}
.dm-vehicle-selector__tab {
  flex: 1;
  padding: 12px 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(255,255,255,0.5);
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.dm-vehicle-selector__tab.is-active {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.dm-vehicle-selector__fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dm-select-field {
  width: 100%;
  appearance: none;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--dm-radius-md);
  padding: 16px 44px 16px 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  outline: none;
  transition: all 0.3s ease;
  font-family: inherit;
  cursor: pointer;
}
.dm-select-field:disabled {
  background: rgba(0,0,0,0.2);
  border-color: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.3);
  cursor: not-allowed;
}
.dm-select-field::placeholder { color: rgba(255,255,255,0.4); }
.dm-select-field option { background: #1a2030; color: #fff; }

.dm-input-field {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--dm-radius-md);
  padding: 16px 52px 16px 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
}
.dm-input-wrapper {
  position: relative;
}
.dm-input-tag {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.55);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 6px;
  letter-spacing: 0.05em;
  pointer-events: none;
}
.dm-vehicle-selector__hint {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}
.dm-vehicle-selector__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
}
.dm-btn-clear {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 13px;
  cursor: pointer;
  transition: color 0.2s;
}
.dm-btn-clear:hover { color: rgba(255,255,255,0.8); }
.dm-btn-find {
  padding: 14px 28px;
  border-radius: var(--dm-radius-md);
  background: linear-gradient(135deg, #FF3E3E 0%, #C41C1C 100%);
  color: #fff;
  border: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: opacity 0.2s;
}
.dm-btn-find:disabled {
  background: linear-gradient(135deg, #e5e5e5 0%, #a3a3a3 100%);
  color: var(--dm-text-dark);
  opacity: 0.5;
  cursor: not-allowed;
}

/* Searchable dropdown */
.dm-searchable-select { position: relative; width: 100%; }
.dm-searchable-select__trigger {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--dm-radius-md);
  padding: 16px 44px 16px 20px;
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: inherit;
}
.dm-searchable-select__trigger.has-value { color: #fff; }
.dm-searchable-select__trigger:disabled {
  background: rgba(0,0,0,0.2);
  border-color: rgba(255,255,255,0.05);
  cursor: not-allowed;
}
.dm-searchable-select__icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: rgba(255,255,255,0.6);
}
.dm-searchable-select__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: rgba(20, 26, 38, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--dm-radius-md);
  z-index: 1000;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  display: none;
}
.dm-searchable-select__dropdown.is-open { display: block; }
.dm-searchable-select__search {
  padding: 10px 10px 6px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.dm-searchable-select__search input {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 10px 34px 10px 12px;
  color: #fff;
  font-size: 13px;
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
}
.dm-searchable-select__options {
  max-height: 240px;
  overflow-y: auto;
}
.dm-searchable-select__option {
  display: block;
  width: 100%;
  padding: 12px 16px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
  font-family: inherit;
}
.dm-searchable-select__option:hover { background: rgba(255,255,255,0.06); }
.dm-searchable-select__option.is-selected {
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-weight: 700;
}
.dm-searchable-select__empty {
  padding: 16px;
  color: rgba(255,255,255,0.35);
  font-size: 13px;
}

/* ═══════════════════════════════════════════════
   SUBPAGE HERO (shared)
   ═══════════════════════════════════════════════ */
.dm-subpage-hero {
  position: relative;
  width: 100%;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 40px;
}
.dm-subpage-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.dm-subpage-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.dm-subpage-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0a1017 0%, rgba(10,16,23,0.7) 40%, rgba(10,16,23,0.3) 100%);
}
.dm-subpage-hero__content {
  position: relative;
  z-index: 10;
}
.dm-subpage-hero__back {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 24px;
  font-size: 14px;
  transition: color 0.2s;
}
.dm-subpage-hero__back:hover { color: #fff; }
.dm-subpage-hero__title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  color: #fff;
}
.dm-subpage-hero__title span { color: rgba(255,255,255,0.7); }
.dm-subpage-hero__desc {
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  margin: 0;
  max-width: 580px;
}

/* ═══════════════════════════════════════════════
   SHARED UTILITY
   ═══════════════════════════════════════════════ */
.dm-section-tag {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.35);
  margin-bottom: 12px;
}

/* ═══════════════════════════════════════════════
   KONTAKT PAGE
   ═══════════════════════════════════════════════ */
.dm-kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: flex-start;
}
.dm-kontakt-form-title {
  font-size: 32px;
  font-weight: 700;
  color: #0a1017;
  margin-bottom: 40px;
}
.dm-kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.dm-kontakt-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.dm-form-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.45);
  margin-bottom: 8px;
  display: block;
}
.dm-form-input {
  width: 100%;
  padding: 16px 20px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  font-size: 15px;
  color: #0a1017;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
  font-family: inherit;
}
.dm-form-input:focus { border-color: #0a1017; }
.dm-form-textarea { resize: vertical; min-height: 160px; }
.dm-form-hint {
  font-size: 12px;
  color: rgba(0,0,0,0.4);
  margin-top: 6px;
}
.dm-btn-submit {
  width: 100%;
  padding: 18px;
  border-radius: 10px;
  background: #0a1017;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 1px solid #0a1017;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.dm-btn-submit:hover { background: #1a2a3a; }
.dm-kontakt-success-box {
  background: #f0faf4;
  border: 1px solid rgba(0,180,80,0.2);
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
}

/* Info cards */
.dm-info-card {
  background: #f8f9fa;
  border-radius: 16px;
  padding: 36px 32px;
  border: 1px solid rgba(0,0,0,0.06);
}
.dm-info-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.dm-info-card__header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0a1017;
  margin: 0;
}
.dm-info-card__bar {
  width: 4px; height: 20px;
  background: #0a1017;
  border-radius: 2px;
}
.dm-info-card__rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dm-info-card__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
}
.dm-info-card__day   { font-size: 14px; font-weight: 700; color: #0a1017; flex-shrink: 0; }
.dm-info-card__time  { font-size: 14px; color: rgba(0,0,0,0.5); text-align: right; }
.dm-info-card__footer {
  border-top: 1px solid rgba(0,0,0,0.06);
  margin-top: 20px;
  padding-top: 20px;
}
.dm-info-card__footer p {
  font-size: 13px;
  color: rgba(0,0,0,0.45);
  line-height: 1.7;
  margin: 0;
}
.dm-info-card__details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dm-info-card__link-bold {
  font-size: 15px;
  color: #0a1017;
  font-weight: 700;
  text-decoration: none;
}
.dm-info-card__link-bold:hover { text-decoration: underline; }
.dm-info-card__link {
  font-size: 14px;
  color: #0a1017;
  font-weight: 600;
  text-decoration: none;
}
.dm-info-card__link:hover { text-decoration: underline; }
.dm-info-card__social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.dm-info-card__social-btn {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a1017;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.dm-info-card__social-btn:hover {
  background: #0a1017;
  color: #fff;
  border-color: #0a1017;
}

/* ═══════════════════════════════════════════════
   FELGENÜBERSICHT PAGE
   ═══════════════════════════════════════════════ */
.dm-felgen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 32px;
}
.dm-felgen-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 32px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
}
.dm-felgen-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.dm-felgen-card__img {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  margin-bottom: 24px;
}
.dm-felgen-card__img img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.1));
}
.dm-felgen-card__name {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
  color: #0a1017;
  text-align: center;
}
.dm-felgen-card__sizes {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}
.dm-felgen-size-pill {
  background: #f4f5f7;
  color: #0a1017;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}
.dm-btn-felgen {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  background: #0a1017;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s;
  text-align: center;
  text-decoration: none;
  display: block;
  margin-top: 32px;
}
.dm-btn-felgen:hover { background: #222; }

/* ═══════════════════════════════════════════════
   KONFIGURATOR PAGE
   ═══════════════════════════════════════════════ */
.dm-konfig-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 64px;
}
.dm-konfig-step {
  display: flex;
  align-items: center;
  gap: 6px;
}
.dm-konfig-step__line {
  flex: 1;
  width: 40px;
  height: 1px;
  background: rgba(0,0,0,0.1);
  transition: background 0.3s;
  margin-right: 8px;
}
.dm-konfig-step.is-done .dm-konfig-step__line,
.dm-konfig-step.is-active .dm-konfig-step__line { background: #0a1017; }
.dm-konfig-step__dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,0.06);
  color: rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  transition: all 0.3s;
}
.dm-konfig-step.is-done .dm-konfig-step__dot,
.dm-konfig-step.is-active .dm-konfig-step__dot {
  background: #0a1017;
  color: #fff;
}
.dm-konfig-step__label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(0,0,0,0.3);
  white-space: nowrap;
}
.dm-konfig-step.is-done .dm-konfig-step__label,
.dm-konfig-step.is-active .dm-konfig-step__label { color: #0a1017; }

.dm-konfig-panel__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}
.dm-konfig-panel__title {
  font-size: 32px;
  font-weight: 700;
  color: #0a1017;
  margin: 0;
}
.dm-konfig-search {
  background: #f4f5f7;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  padding: 12px 40px 12px 16px;
  color: #0a1017;
  font-size: 14px;
  outline: none;
  width: 260px;
  box-sizing: border-box;
  font-family: inherit;
}
.dm-konfig-search-wrap { margin-bottom: 20px; }
.dm-konfig-brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}
.dm-konfig-brand-btn {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 24px 12px 18px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  text-align: center;
  transition: all 0.2s;
  font-family: inherit;
}
.dm-konfig-brand-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.1);
  border-color: rgba(0,0,0,0.15);
}
.dm-konfig-brand-btn img {
  width: 56px; height: 56px;
  object-fit: contain;
}
.dm-konfig-brand-btn span {
  font-size: 12px;
  font-weight: 700;
  color: #0a1017;
}
.dm-konfig-option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 8px;
}
.dm-konfig-option-btn {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  padding: 14px 18px;
  cursor: pointer;
  color: #0a1017;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: all 0.15s;
  font-family: inherit;
}
.dm-konfig-option-btn:hover {
  border-color: rgba(0,0,0,0.2);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}
.dm-konfig-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f4f5f7;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  color: #0a1017;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  flex-shrink: 0;
}
.dm-konfig-chip::after {
  content: '✕';
  color: rgba(0,0,0,0.3);
  margin-left: 2px;
}

/* ═══════════════════════════════════════════════
   GUTACHTEN MODAL
   ═══════════════════════════════════════════════ */
.dm-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.dm-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,16,23,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.dm-modal__content {
  position: relative;
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 860px;
  max-height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 40px 80px rgba(0,0,0,0.25);
}
.dm-modal__header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  flex-shrink: 0;
}
.dm-modal__header-img {
  width: 64px; height: 64px;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.dm-modal__header-text { flex: 1; }
.dm-modal__close {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #f4f5f7;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #0a1017;
  transition: background 0.2s;
  flex-shrink: 0;
}
.dm-modal__close:hover { background: #e8e9eb; }
.dm-modal__tabs {
  display: flex;
  border-bottom: 2px solid rgba(0,0,0,0.07);
  padding: 0 32px;
  flex-shrink: 0;
}
.dm-modal__tab {
  background: transparent;
  color: rgba(0,0,0,0.4);
  border: none;
  border-bottom: 2px solid transparent;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  margin-bottom: -2px;
}
.dm-modal__tab.is-active {
  color: #0a1017;
  font-weight: 700;
  border-bottom-color: #bf0711;
}
.dm-modal__tab:hover:not(.is-active) { color: rgba(0,0,0,0.7); }
.dm-modal__body {
  overflow-y: auto;
  padding: 32px;
  flex: 1;
}
.dm-gutachten-pcd-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f4f5f7;
  color: #0a1017;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.dm-gutachten-cert-count {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
  color: rgba(0,0,0,0.45);
  font-size: 12px;
  font-weight: 600;
}
.dm-pdf-badge {
  display: inline-flex;
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: #bf0711;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.05em;
}
.dm-pdf-badge--sm {
  width: 18px; height: 18px;
  border-radius: 4px;
  font-size: 7px;
}
.dm-gutachten-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #fafafa;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  color: #0a1017;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}
.dm-gutachten-link:hover {
  border-color: #bf0711;
  background: rgba(191,7,17,0.03);
}
.dm-gutachten-link span { flex: 1; }
.dm-gutachten-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 8px;
  padding-left: 4px;
}

/* ═══════════════════════════════════════════════
   SHOP PAGE
   ═══════════════════════════════════════════════ */
.dm-shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.dm-shop-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.dm-shop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}
.dm-shop-card__img {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.dm-shop-card__img img {
  width: 95%; height: 95%;
  object-fit: contain;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.15));
}
.dm-shop-card__pcd {
  position: absolute;
  top: 0; right: 0;
  background: #f0f2f5;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: #0a1017;
  letter-spacing: 1px;
  z-index: 10;
}
.dm-shop-card__name {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #0a1017;
  text-align: center;
}
.dm-shop-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.dm-shop-skeleton {
  height: 400px;
  background: rgba(0,0,0,0.05);
  border-radius: 12px;
  animation: dmPulse 2s infinite;
}
@keyframes dmPulse {
  0% { opacity: 1; }
  50% { opacity: 0.4; }
  100% { opacity: 1; }
}

/* ═══════════════════════════════════════════════
   HEADER POPOVERS
   ═══════════════════════════════════════════════ */
.dm-header__icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  color: inherit;
}
.dm-header__icon-btn .material-symbols-rounded {
  font-size: 22px;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.dm-header__icon-btn:hover .material-symbols-rounded { color: #fff; }
.dm-popover-wrap {
  position: relative;
}
.dm-cart-badge {
  position: absolute;
  top: -6px; right: -8px;
  background: var(--dm-accent-red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.dm-popover {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 320px;
  background: rgba(18, 24, 34, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.06);
  padding: 24px;
  z-index: 9999;
  display: none;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s;
}
.dm-popover.is-open {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.dm-popover__arrow {
  position: absolute;
  top: -6px;
  right: 12px;
  width: 12px; height: 12px;
  background: rgba(18,24,34,0.97);
  border-top: 1px solid rgba(255,255,255,0.1);
  border-left: 1px solid rgba(255,255,255,0.1);
  transform: rotate(45deg);
}

/* Account popover */
.dm-popover__user {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.dm-popover__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dm-popover__greeting {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin: 0;
}
.dm-popover__greeting strong { color: #fff; }
.dm-popover__links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dm-popover__links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.dm-popover__links a .material-symbols-rounded {
  font-size: 18px;
  color: rgba(255,255,255,0.4);
}
.dm-popover__links a:hover {
  background: rgba(255,255,255,0.06);
  color: #fff;
}
.dm-popover__footer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.dm-popover__logout {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  color: rgba(255,100,100,0.8);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.15s;
}
.dm-popover__logout .material-symbols-rounded { font-size: 18px; }
.dm-popover__logout:hover { background: rgba(255,100,100,0.08); }
.dm-popover__header-text { margin-bottom: 20px; }
.dm-popover__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dm-popover__input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
}
.dm-popover__input::placeholder { color: rgba(255,255,255,0.35); }
.dm-popover__input:focus { border-color: rgba(255,255,255,0.3); }
.dm-popover__btn-primary {
  display: block;
  width: 100%;
  padding: 12px;
  background: #fff;
  color: #0a1017;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s;
}
.dm-popover__btn-primary:hover { background: rgba(255,255,255,0.9); }
.dm-popover__btn-secondary {
  display: block;
  width: 100%;
  padding: 12px;
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s;
  box-sizing: border-box;
}
.dm-popover__btn-secondary:hover { border-color: rgba(255,255,255,0.4); color: #fff; }
.dm-popover__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  color: rgba(255,255,255,0.25);
  font-size: 12px;
}
.dm-popover__divider::before,
.dm-popover__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.08);
}

/* Mini cart */
.dm-mini-cart__title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
}
.dm-mini-cart__items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 240px;
  overflow-y: auto;
  margin-bottom: 16px;
}
.dm-mini-cart__item {
  display: flex;
  gap: 12px;
  align-items: center;
}
.dm-mini-cart__item-img {
  width: 48px; height: 48px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  overflow: hidden;
  flex-shrink: 0;
}
.dm-mini-cart__item-img img { width: 100%; height: 100%; object-fit: cover; }
.dm-mini-cart__item-name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 2px;
}
.dm-mini-cart__item-qty {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin: 0;
}
.dm-mini-cart__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}
.dm-mini-cart__total strong { color: #fff; }
.dm-mini-cart__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dm-mini-cart__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  text-align: center;
}

/* ═══════════════════════════════════════════════
   WOOCOMMERCE OVERRIDES
   ═══════════════════════════════════════════════ */

/* Global */
.woocommerce { color: #0a1017; }
.dm-woo-content {
  background: #fff;
  padding: 60px 0 100px;
  min-height: 50vh;
}
.woocommerce-checkout .dm-woo-content { padding: 0; }

/* ── Inputs ── */
.woocommerce input[type="text"],
.woocommerce input[type="email"],
.woocommerce input[type="password"],
.woocommerce input[type="tel"],
.woocommerce input[type="number"],
.woocommerce input[type="search"],
.woocommerce input[type="url"],
.woocommerce select,
.woocommerce textarea,
.woocommerce-Input {
  width: 100%;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  font-size: 14px;
  color: #0a1017;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
  font-family: inherit;
}
.woocommerce input:focus,
.woocommerce select:focus,
.woocommerce textarea:focus { border-color: #0a1017; }
.woocommerce label {
  font-size: 13px;
  font-weight: 600;
  color: #0a1017;
  display: block;
  margin-bottom: 6px;
}
.woocommerce label .required { color: #bf0711; }
.woocommerce label .optional { font-weight: 400; color: rgba(0,0,0,0.35); font-size: 12px; }
.woocommerce .form-row { margin-bottom: 16px; }
.woocommerce .form-row-first,
.woocommerce .form-row-last { width: 48%; }
.woocommerce .form-row-first { float: left; }
.woocommerce .form-row-last { float: right; }
.woocommerce .form-row-wide { width: 100%; clear: both; }
.woocommerce .form-row::after { content: ''; display: table; clear: both; }

/* ── ALL Buttons ── */
.woocommerce button[type="submit"],
.woocommerce .button,
.woocommerce input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce .button.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 10px;
  background: #0a1017 !important;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: inherit;
  line-height: 1.4;
}
.woocommerce button[type="submit"]:hover,
.woocommerce .button:hover,
.woocommerce a.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button:hover,
.woocommerce input[type="submit"]:hover { background: #1a2a3a !important; }
.woocommerce .button:disabled,
.woocommerce button:disabled { opacity: 0.5; cursor: not-allowed; }
/* Proceed to checkout */
.wc-proceed-to-checkout a.checkout-button {
  display: block !important;
  width: 100%;
  padding: 18px !important;
  border-radius: 12px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  text-align: center;
}

/* ── My Account ── */
.woocommerce-account .dm-woo-content .woocommerce {
  display: block;
  overflow: visible !important;
}
.woocommerce-account .dm-woo-content .woocommerce:has(.woocommerce-MyAccount-navigation) {
  display: grid !important;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: flex-start;
}
/* Notices span full width in grid */
.woocommerce-account .woocommerce-notices-wrapper {
  grid-column: 1 / -1;
}
/* Kill WooCommerce clearfix pseudo-elements — they become unwanted grid children */
.woocommerce-account .dm-woo-content .woocommerce::before,
.woocommerce-account .dm-woo-content .woocommerce::after {
  display: none !important;
}

/* Login/Register forms */
.woocommerce-form-login,
.woocommerce-form-register {
  max-width: 480px;
  margin: 0 auto;
  padding: 48px 40px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
}
.woocommerce-form-login h2,
.woocommerce-form-register h2 {
  font-size: 22px;
  font-weight: 800;
  color: #0a1017;
  margin-bottom: 24px;
}

/* Account Nav */
.woocommerce-MyAccount-navigation { float: none !important; width: auto !important; }
.woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 8px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #f8f9fa;
  border-radius: 12px;
}
.woocommerce-MyAccount-navigation li { margin: 0; }
.woocommerce-MyAccount-navigation li a {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(0,0,0,0.55);
  text-decoration: none;
  transition: all 0.2s;
}
.woocommerce-MyAccount-navigation li a:hover { background: rgba(0,0,0,0.04); color: #0a1017; }
.woocommerce-MyAccount-navigation li.is-active a { background: #0a1017; color: #fff; }
/* Account content */
.woocommerce-MyAccount-content { float: none !important; width: 100% !important; min-height: 300px; }
.woocommerce-MyAccount-content p { font-size: 15px; color: rgba(0,0,0,0.6); line-height: 1.7; }
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 { font-size: 20px; font-weight: 700; color: #0a1017; margin-bottom: 16px; }
.woocommerce-Addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.woocommerce-Addresses::before,
.woocommerce-Addresses::after { display: none !important; }
.woocommerce-Address { background: #f8f9fa; padding: 24px; border-radius: 12px; }
/* Fix WooCommerce col2-set clearfix breaking grids */
.woocommerce .col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.woocommerce .col2-set::before,
.woocommerce .col2-set::after { display: none !important; }
.woocommerce .col2-set .col-1,
.woocommerce .col2-set .col-2 { width: 100% !important; float: none !important; }

/* ── Cart Page ── */
.woocommerce-cart .dm-woo-content .woocommerce { max-width: 100%; }

/* Cart table */
.woocommerce table.shop_table {
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}
.woocommerce table.shop_table thead { background: #f4f5f7; }
.woocommerce table.shop_table th {
  padding: 14px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.45);
  border: none;
}
.woocommerce table.shop_table td {
  padding: 16px;
  border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 14px;
  color: #0a1017;
  vertical-align: middle;
}
/* Compact columns */
.woocommerce table.shop_table .product-remove { width: 40px; text-align: center; }
.woocommerce table.shop_table .product-thumbnail { width: 70px; }
.woocommerce table.shop_table .product-quantity { width: 100px; }
.woocommerce table.shop_table .product-price,
.woocommerce table.shop_table .product-subtotal { width: 100px; text-align: right; }
.woocommerce table.shop_table td.product-name a {
  color: #0a1017; font-weight: 600; text-decoration: none;
}
.woocommerce table.shop_table td.product-name a:hover { color: rgba(0,0,0,0.6); }
.woocommerce table.shop_table img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }

/* Actions row (coupon + update) */
.woocommerce table.shop_table td.actions {
  padding: 16px;
  text-align: right;
}
.woocommerce table.shop_table td.actions::before,
.woocommerce table.shop_table td.actions::after { display: none !important; }
.woocommerce table.shop_table .coupon {
  float: left;
  display: flex;
  align-items: center;
  gap: 8px;
}
.woocommerce table.shop_table .coupon label { display: none; }
.woocommerce table.shop_table .coupon input[type="text"] {
  width: 180px;
  padding: 10px 14px;
  font-size: 13px;
}
.woocommerce table.shop_table .coupon .button {
  padding: 10px 18px !important;
  font-size: 12px !important;
}
.woocommerce table.shop_table button[name="update_cart"] {
  padding: 10px 18px !important;
  font-size: 12px !important;
}

/* Cart totals */
.woocommerce .cart_totals {
  max-width: 400px;
  margin-left: auto;
  margin-top: 40px;
  background: #f8f9fa;
  border-radius: 16px;
  padding: 28px;
}
.woocommerce .cart_totals h2 {
  font-size: 18px; font-weight: 800; color: #0a1017; margin-bottom: 20px;
}
.woocommerce .cart_totals table {
  border: none;
  border-collapse: collapse;
  width: 100%;
}
.woocommerce .cart_totals th,
.woocommerce .cart_totals td {
  padding: 12px 0;
  font-size: 14px;
  border-top: 1px solid rgba(0,0,0,0.06);
  background: transparent;
}
.woocommerce .cart_totals tr:first-child th,
.woocommerce .cart_totals tr:first-child td { border-top: none; }
.woocommerce .cart_totals th {
  font-size: 13px; font-weight: 600; color: rgba(0,0,0,0.5); text-align: left;
}
.woocommerce .cart_totals .order-total th {
  font-size: 15px; color: #0a1017; font-weight: 800;
}
.woocommerce .cart_totals .order-total td { font-weight: 800; font-size: 20px; }
.woocommerce .cart_totals .order-total td .woocommerce-Price-amount { color: #0a1017; }

/* Qty input */
.woocommerce .quantity .qty {
  width: 56px; padding: 8px; text-align: center; border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.12); font-size: 14px;
}
/* Remove button */
.woocommerce a.remove {
  color: #bf0711 !important;
  font-size: 18px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  transition: background 0.2s;
}
.woocommerce a.remove:hover { background: rgba(191,7,17,0.06); }

/* Proceed to checkout */
.wc-proceed-to-checkout { padding-top: 16px; }
.wc-proceed-to-checkout a.checkout-button {
  display: block !important;
  width: 100%;
  padding: 18px !important;
  border-radius: 12px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  text-align: center;
}

/* ── Notices ── */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  padding: 16px 20px !important;
  border-radius: 10px !important;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(0,0,0,0.06) !important;
  list-style: none;
  background: #f8f9fa !important;
  color: #0a1017;
}
.woocommerce-message { border-left: 4px solid #00b450 !important; }
.woocommerce-info { border-left: 4px solid #0a1017 !important; }
.woocommerce-error { border-left: 4px solid #bf0711 !important; }
.woocommerce-error li { margin: 0; }
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before { display: none !important; }
.woocommerce-message a,
.woocommerce-info a { color: #0a1017; font-weight: 700; }
.woocommerce-info .button,
.woocommerce-message .button {
  padding: 10px 20px !important;
  font-size: 12px !important;
  margin-left: 12px;
}

/* ── Breadcrumb ── */
.woocommerce-breadcrumb { font-size: 13px; color: rgba(0,0,0,0.4); margin-bottom: 24px; }
.woocommerce-breadcrumb a { color: rgba(0,0,0,0.5); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: #0a1017; }

/* ── Privacy Text / Payment Error ── */
.woocommerce-checkout .woocommerce-privacy-policy-text {
  font-size: 12px;
  color: rgba(0,0,0,0.45);
  line-height: 1.6;
  margin-top: 16px;
}
.woocommerce-checkout .woocommerce-privacy-policy-text a {
  color: #0a1017;
  font-weight: 600;
}
.woocommerce-checkout #payment .woocommerce-error,
.woocommerce-checkout #payment .woocommerce-info {
  font-size: 13px;
  padding: 14px 16px !important;
}

/* ── Responsive WooCommerce ── */
@media (max-width: 768px) {
  .woocommerce-account .dm-woo-content .woocommerce { grid-template-columns: 1fr; }
  .woocommerce-MyAccount-navigation ul { flex-direction: row; flex-wrap: wrap; }
  .woocommerce-Addresses { grid-template-columns: 1fr; }
  .woocommerce .form-row-first,
  .woocommerce .form-row-last { width: 100%; float: none; }
  .woocommerce table.shop_table td.actions { flex-direction: column; align-items: stretch; }
  .woocommerce table.shop_table .coupon { width: 100%; }
  .woocommerce table.shop_table .coupon input[type="text"] { width: 100%; flex: 1; }
}


/* ═══════════════════════════════════════════════
   CHECKOUT PAGE
   ═══════════════════════════════════════════════ */

/* Step indicator (inside subpage hero) */
.dm-checkout-steps {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}
.dm-checkout-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.3);
}
.dm-checkout-step span {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}
.dm-checkout-step.is-active { color: #fff; }
.dm-checkout-step.is-active span {
  background: #fff;
  color: #0a1017;
}
.dm-checkout-step.is-done { color: rgba(255,255,255,0.5); }
.dm-checkout-step.is-done span {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
.dm-checkout-step__line {
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.1);
}
.dm-checkout-step__line.is-done { background: rgba(255,255,255,0.3); }

/* Hide WooCommerce's own billing/shipping headings (we have our own section headers) */
.dm-checkout-section__body > h3,
.dm-checkout-section__body > .woocommerce-billing-fields h3,
.dm-checkout-section__body > .woocommerce-shipping-fields h3 {
  display: none;
}

/* Coupon notice inside checkout */
.dm-checkout-wrap .woocommerce-info,
.dm-checkout-wrap .woocommerce-message {
  background: #f8f9fa;
  border: 1px solid rgba(0,0,0,0.06);
  border-left: 4px solid #0a1017;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 14px;
  color: #0a1017;
}
.dm-checkout-wrap .woocommerce-info::before,
.dm-checkout-wrap .woocommerce-message::before { display: none; }
.dm-checkout-wrap .woocommerce-info a,
.dm-checkout-wrap .woocommerce-message a {
  color: #0a1017;
  font-weight: 700;
}

/* Layout */
.dm-checkout-wrap {
  padding: 48px 24px 100px;
  background: #fff;
  min-height: 60vh;
}
.dm-checkout-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: flex-start;
}
.dm-checkout-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.dm-checkout-right {
  position: sticky;
  top: 100px;
}

/* Section cards */
.dm-checkout-section {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}
.dm-checkout-section__header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.dm-checkout-section__number {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #0a1017;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}
.dm-checkout-section__title {
  font-size: 18px;
  font-weight: 700;
  color: #0a1017;
  margin: 0 0 2px;
}
.dm-checkout-section__desc {
  font-size: 13px;
  color: rgba(0,0,0,0.4);
  margin: 0;
}
.dm-checkout-section__body {
  padding: 28px;
}
/* Fix WC form rows inside sections */
.dm-checkout-section__body .form-row {
  margin-bottom: 18px;
}
.dm-checkout-section__body h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0a1017;
  margin-bottom: 20px;
}
/* Checkout form fields — elevated CI style */
.dm-checkout-section__body input[type="text"],
.dm-checkout-section__body input[type="email"],
.dm-checkout-section__body input[type="tel"],
.dm-checkout-section__body input[type="password"],
.dm-checkout-section__body input[type="number"],
.dm-checkout-section__body select,
.dm-checkout-section__body textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: #0a1017;
  background: #fafafa;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  outline: none;
  box-sizing: border-box;
}
.dm-checkout-section__body input:focus,
.dm-checkout-section__body select:focus,
.dm-checkout-section__body textarea:focus {
  border-color: #0a1017;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(10,16,23,0.06);
}
.dm-checkout-section__body label {
  font-size: 13px;
  font-weight: 600;
  color: #0a1017;
  margin-bottom: 6px;
  display: block;
}
.dm-checkout-section__body label .required { color: #bf0711; }
.dm-checkout-section__body label .optional {
  font-weight: 400; color: rgba(0,0,0,0.35); font-size: 12px;
}
.dm-checkout-section__body select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
/* Checkbox rows */
.dm-checkout-section__body .woocommerce-form__label-for-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.dm-checkout-section__body input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: #0a1017;
  flex-shrink: 0;
}
/* Form row widths inside checkout sections */
.dm-checkout-section__body .form-row-first {
  float: left;
  width: 48%;
}
.dm-checkout-section__body .form-row-last {
  float: right;
  width: 48%;
}
.dm-checkout-section__body .form-row-wide {
  clear: both;
  width: 100%;
}
.dm-checkout-section__body .form-row::after {
  content: '';
  display: table;
  clear: both;
}
/* Override Woo's col2-set inside our layout */
.dm-checkout-form .col2-set { display: contents; }
.dm-checkout-form .col2-set .col-1,
.dm-checkout-form .col2-set .col-2 { display: contents; }
.dm-checkout-form #billing_country_field,
.dm-checkout-form #shipping_country_field { display: block; }

/* Order review card */
.dm-checkout-order-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.06);
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.dm-checkout-order-card__title {
  font-size: 20px;
  font-weight: 800;
  color: #0a1017;
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* Order review table — override cart shop_table styles */
.woocommerce-checkout-review-order-table {
  width: 100% !important;
  border-collapse: collapse;
  margin-bottom: 0;
  border: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
}
.woocommerce-checkout-review-order-table thead { background: transparent !important; }
.woocommerce-checkout-review-order-table thead th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.4);
  padding: 0 0 12px;
  text-align: left;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.woocommerce-checkout-review-order-table thead th:last-child { text-align: right; }
.woocommerce-checkout-review-order-table td {
  padding: 14px 0;
  font-size: 14px;
  color: #0a1017;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.woocommerce-checkout-review-order-table td:last-child {
  text-align: right;
  font-weight: 600;
}
.woocommerce-checkout-review-order-table .product-name {
  font-weight: 500;
}
.woocommerce-checkout-review-order-table .product-name .product-quantity {
  color: rgba(0,0,0,0.4);
}
.woocommerce-checkout-review-order-table tfoot th {
  padding: 14px 0;
  font-size: 14px;
  font-weight: 600;
  color: #0a1017;
  text-align: left;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.woocommerce-checkout-review-order-table tfoot td {
  text-align: right;
  font-weight: 700;
}
.woocommerce-checkout-review-order-table tfoot .order-total th,
.woocommerce-checkout-review-order-table tfoot .order-total td {
  font-size: 18px;
  font-weight: 800;
  padding-top: 20px;
  border-bottom: none;
  border-top: 2px solid rgba(0,0,0,0.08);
}

/* Shipping methods in review */
.woocommerce-checkout-review-order-table .shipping td { text-align: left; }
.woocommerce-checkout-review-order-table .shipping ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.woocommerce-checkout-review-order-table .shipping li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 13px;
}
.woocommerce-checkout-review-order-table .shipping input[type="radio"] {
  accent-color: #0a1017;
}

/* Payment section — kill WooCommerce default background */
#payment,
.woocommerce-checkout #payment,
.woocommerce-checkout-payment {
  background: transparent !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
}
#payment::before,
#payment::after { display: none !important; }

/* Payment methods */
.wc_payment_methods {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wc_payment_method {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.wc_payment_method:has(input:checked) {
  border-color: #0a1017;
}
.wc_payment_method label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #0a1017;
}
.wc_payment_method label img {
  max-height: 24px;
  width: auto;
}
.wc_payment_method input[type="radio"] {
  accent-color: #0a1017;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.wc_payment_method .payment_box {
  padding: 16px 18px 16px 48px;
  background: #f8f9fa !important;
  font-size: 13px;
  color: rgba(0,0,0,0.55);
  line-height: 1.6;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.wc_payment_method .payment_box::before,
.wc_payment_method .payment_box::after {
  display: none !important;
  border: none !important;
}
.wc_payment_method .payment_box p { margin: 0; }
/* Override WooCommerce payment box inline/theme colors */
#payment .payment_methods li .payment_box {
  background: #f8f9fa !important;
}
#payment .payment_methods li .payment_box::before {
  display: none !important;
}

/* Place order */
.dm-checkout-order-card #place_order,
.woocommerce #place_order {
  width: 100%;
  padding: 18px;
  border-radius: 12px;
  background: #0a1017;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 24px;
  transition: background 0.2s;
}
.dm-checkout-order-card #place_order:hover,
.woocommerce #place_order:hover { background: #1a2a3a; }

/* Terms */
.woocommerce-terms-and-conditions-wrapper {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(0,0,0,0.5);
}
.woocommerce-terms-and-conditions-wrapper a {
  color: #0a1017;
  font-weight: 600;
}
.woocommerce-privacy-policy-text { font-size: 12px; color: rgba(0,0,0,0.4); line-height: 1.6; }

/* Coupon on checkout */
.checkout_coupon {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.checkout_coupon .input-text {
  flex: 1;
}

/* ═══════════════════════════════════════════════
   Animations
   ═══════════════════════════════════════════════ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ═══════════════════════════════════════════════
   Scrollbar
   ═══════════════════════════════════════════════ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dm-bg-secondary); }
::-webkit-scrollbar-thumb { background: #222; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--dm-accent-red); }

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .dm-benefits__grid { grid-template-columns: repeat(3, 1fr); }
  .dm-quality__grid { grid-template-columns: repeat(2, 1fr); }
  .dm-premium__grid { grid-template-columns: repeat(2, 1fr); }
  .dm-shop-grid, .dm-shop-skeleton-grid { grid-template-columns: repeat(2, 1fr); }
  .dm-brands__grid { grid-template-columns: repeat(4, 1fr); }
  .dm-about__inner { grid-template-columns: 1fr; gap: 48px; }
  .dm-footer__grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .dm-header__nav { display: none; }
  .dm-header__hamburger { display: block; }
  .dm-header__nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px; left: 0; right: 0;
    background: rgba(10,16,23,0.98);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--dm-border-light);
  }
  .dm-hero { min-height: 500px; height: auto; padding: 120px 0 60px; }
  .dm-hero__content { flex-direction: column; gap: 32px; }
  .dm-hero__text { margin-left: 0; max-width: 100%; }
  .dm-vehicle-selector { max-width: 100%; }
  .dm-benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .dm-quality__grid { grid-template-columns: 1fr; }
  .dm-premium__grid { grid-template-columns: 1fr; }
  .dm-checkout-grid { grid-template-columns: 1fr; }
  .dm-checkout-right { position: static; }
  .dm-shop-grid, .dm-shop-skeleton-grid { grid-template-columns: 1fr; }
  .dm-popover { width: calc(100vw - 48px); right: -60px; }
  .dm-brands__grid { grid-template-columns: repeat(3, 1fr); }
  .dm-gallery__grid { grid-template-columns: 1fr; }
  .dm-b2b__inner { flex-direction: column; gap: 40px; }
  .dm-kontakt-grid { grid-template-columns: 1fr; gap: 48px; }
  .dm-kontakt-form__row { grid-template-columns: 1fr; }
  .dm-konfig-search { width: 100%; }
  .dm-konfig-brand-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
  .dm-subpage-hero { min-height: 380px; }
}
@media (max-width: 480px) {
  .dm-benefits__grid { grid-template-columns: 1fr 1fr; }
  .dm-brands__grid { grid-template-columns: repeat(2, 1fr); }
  .dm-hero__ctas { flex-direction: column; }
}
