/*
Theme Name: Motoforge
Description: Custom theme for Motoforge
Version: 2.0.0
Author: AleyBrown
*/

/* ── LIGHT MODE (Default – Apple-inspired) ── */
:root {
  --mf-bg:        #F5F5F7;
  --mf-black:     #F5F5F7;
  --mf-ink:       #FFFFFF;
  --mf-surface:   #FFFFFF;
  --mf-surface-2: #E8E8ED;
  --mf-line:      rgba(0, 0, 0, 0.08);
  --mf-line-strong: rgba(179, 144, 71, 0.5);
  --mf-gold:      #b39047;
  --mf-gold-2:    #c9a55a;
  --mf-gold-dark: #80652f;
  --mf-text:      #1D1D1F;
  --mf-text-2:    #6E6E73;
  --mf-muted:     #86868B;
  --mf-soft:      rgba(0, 0, 0, 0.28);
  --mf-font:      'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mf-radius:    18px;
  --mf-radius-sm: 12px;
  --mf-wrap:      1180px;
  --mf-hero-wrap: 1180px;
  --mf-shadow:    0 2px 4px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.07);
  --mf-shadow-lg: 0 4px 8px rgba(0,0,0,.06), 0 24px 60px rgba(0,0,0,.12);
}

/* ── DARK MODE (opt-in via [data-theme="dark"]) ── */
:root[data-theme="dark"] {
  --mf-bg:        #030303;
  --mf-black:     #030303;
  --mf-ink:       #080808;
  --mf-surface:   #111111;
  --mf-surface-2: #1A1A1A;
  --mf-line:      rgba(255, 255, 255, 0.08);
  --mf-line-strong: rgba(179, 144, 71, 0.44);
  --mf-text:      #F5F5F7;
  --mf-text-2:    rgba(255,255,255,0.7);
  --mf-muted:     rgba(255, 255, 255, 0.5);
  --mf-soft:      rgba(255, 255, 255, 0.3);
  --mf-shadow:    0 2px 4px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.5);
  --mf-shadow-lg: 0 4px 8px rgba(0,0,0,.4), 0 24px 60px rgba(0,0,0,.7);
}

:root[data-theme="dark"] .mf-header__logo,
:root[data-theme="dark"] .mf-footer__logo,
:root[data-theme="dark"] .mf-footer__brand img {
  filter: none;
}

:root:not([data-theme="dark"]) .mf-header__logo,
:root:not([data-theme="dark"]) .mf-footer__logo,
:root:not([data-theme="dark"]) .mf-footer__brand img {
  filter: invert(1);
}

* { box-sizing: border-box; }

html {
  background: var(--mf-bg);
  color: var(--mf-text);
  font-family: var(--mf-font);
  line-height: 1.5;
}

body {
  margin: 0;
  background: var(--mf-bg);
  color: var(--mf-text);
  font-family: var(--mf-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.motoforge-theme { min-width: 320px; }

a { color: inherit; }

img {
  display: block;
  max-width: 100%;
}

button, input, select { font: inherit; }

.mf-shell {
  overflow: hidden;
  background: var(--mf-bg);
}

.mf-container {
  width: min(calc(100% - 40px), var(--mf-wrap));
  margin: 0 auto;
}

.mf-topbar { display: none; }

.mf-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  gap: 18px;
}

.mf-header {
  position: relative;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--mf-line);
  background: var(--mf-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.mf-header__inner {
  display: flex;
  align-items: center;
  min-height: 56px;
  gap: 28px;
  position: relative;
}

.mf-header__brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  color: var(--mf-text);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.mf-header__logo {
  width: 180px;
  height: auto;
}

.mf-header__mark {
  color: var(--mf-gold);
}

.mf-header__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  flex: 1 1 auto;
  position: relative;
  padding-right: 20px;
  margin-right: -14px;
}

.mf-header__nav::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 18px;
  background-color: var(--mf-line);
}


.mf-header__nav a {
  color: var(--mf-text);
  opacity: 0.88;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.mf-header__nav a:hover {
  color: var(--mf-gold);
  opacity: 1;
}

.mf-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex-wrap: nowrap;
}

.mf-header__actions .mf-icon-btn,
.mf-header__actions .mf-cart-wrapper,
.mf-account-link {
  flex: 0 0 auto;
}

/* Hamburger — default hidden (desktop), shown on mobile via 980px breakpoint */
.mf-menu-toggle {
  display: none;
  flex: 0 0 auto;
  background: none;
  border: 1px solid var(--mf-line);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--mf-text);
  transition: border-color .2s, background .2s;
}
.mf-menu-toggle:hover { border-color: var(--mf-text); background: rgba(255,255,255,.04); }

.mf-header__actions .mf-account-link {
  min-width: 0;
}

.mf-account-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--mf-text);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.mf-account-link:hover {
  color: var(--mf-gold);
}

.mf-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--mf-text);
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.mf-icon-btn:hover {
  border-color: var(--mf-line-strong);
  color: var(--mf-gold);
}

/* ═══════════════════════════════════════════
   MINI CART — Click-toggle popover
═══════════════════════════════════════════ */
.mf-cart-wrapper {
  position: relative;
  display: inline-flex;
}

.mf-cart-trigger {
  position: relative;
}

.mf-cart-count {
  position: absolute;
  top: -2px;
  right: -6px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--mf-gold);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.mf-cart-popover {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 1050;
  width: 360px;
  padding: 0;
  border: 1px solid var(--mf-line);
  border-radius: 16px;
  background: var(--mf-surface);
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.98);
  transform-origin: top right;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  overflow: hidden;
}

.mf-cart-popover.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Minicart inner layout */
.mf-minicart__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--mf-line);
}

.mf-minicart__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--mf-text);
  letter-spacing: .3px;
}

.mf-minicart__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--mf-gold);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

.mf-minicart__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--mf-line);
  color: var(--mf-muted);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.mf-minicart__close:hover {
  background: rgba(255,255,255,.12);
  color: var(--mf-text);
}

.mf-minicart__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 40px 24px;
  color: var(--mf-muted);
  text-align: center;
}
.mf-minicart__empty p { margin: 0; font-size: 14px; }

.mf-minicart__items {
  display: flex;
  flex-direction: column;
  max-height: 280px;
  overflow-y: auto;
  padding: 16px 20px;
  gap: 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--mf-line) transparent;
}

.mf-minicart__item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mf-minicart__item-img {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--mf-bg);
  border: 1px solid var(--mf-line);
}
.mf-minicart__item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mf-minicart__item-info {
  flex: 1;
  min-width: 0;
}

.mf-minicart__item-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mf-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 0 3px;
}
.mf-minicart__item-name a {
  color: inherit;
  text-decoration: none;
}
.mf-minicart__item-name a:hover { color: var(--mf-gold); }

.mf-minicart__item-meta {
  font-size: 11.5px;
  color: var(--mf-muted);
}

/* VIN pill in minicart */
.mf-minicart__item-vin {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin: 3px 0 0;
}
.mf-minicart__vin-label {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mf-muted);
}
.mf-minicart__vin-value {
  font-size: 9.5px;
  font-weight: 600;
  color: var(--mf-gold);
  background: rgba(179,144,71,0.1);
  border: 1px solid rgba(179,144,71,0.2);
  border-radius: 3px;
  padding: 1px 5px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  letter-spacing: 0.04em;
}

/* Actions column: price + remove */
.mf-minicart__item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}
.mf-minicart__item-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255,68,68,0.08);
  color: #ff4444;
  transition: background .15s, color .15s;
  text-decoration: none;
}
.mf-minicart__item-remove:hover {
  background: rgba(255,68,68,0.18);
  color: #cc0000;
}

.mf-minicart__item-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--mf-gold);
  white-space: nowrap;
}

.mf-minicart__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-top: 1px solid var(--mf-line);
  font-size: 13px;
  color: var(--mf-muted);
}
.mf-minicart__total strong {
  color: var(--mf-text);
  font-size: 15px;
  font-weight: 800;
}

.mf-minicart__actions {
  display: flex;
  gap: 8px;
  padding: 14px 20px;
  border-top: 1px solid var(--mf-line);
}
.mf-minicart__actions .mf-btn { flex: 1; justify-content: center; }

/* ═══════════════════════════════════════════
   BUTTON UTILITIES
═══════════════════════════════════════════ */
.mf-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 18px;
  height: 40px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .18s, color .18s, border-color .18s, opacity .18s;
}
.mf-btn--sm { height: 34px; padding: 0 14px; font-size: 12px; border-radius: 7px; }
.mf-btn--gold {
  background: var(--mf-gold);
  color: #fff;
  border-color: var(--mf-gold);
}
.mf-btn--gold:hover { opacity: .88; }
.mf-btn--outline {
  background: transparent;
  color: var(--mf-text);
  border-color: var(--mf-line);
}
.mf-btn--outline:hover { border-color: var(--mf-gold); color: var(--mf-gold); }
.mf-btn--ghost {
  background: transparent;
  color: var(--mf-muted);
  border-color: var(--mf-line);
}
.mf-btn--ghost:hover { color: var(--mf-text); border-color: rgba(255,255,255,.2); }


.mf-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--mf-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--mf-text);
}

/* Mobile menu action row helper */
.mf-mobile-cart-link { display: none; }

body.mf-mobile-nav-open { overflow: hidden; }

.mf-menu-toggle[aria-expanded="true"] {
  background: var(--mf-gold);
  color: #fff;
  border-color: var(--mf-gold);
}
.mf-hero {
  position: relative;
  min-height: 680px;
  padding: 86px 0 34px;
  background: #030303;
  color: #ffffff;
  /* Force dark theme for hero */
  --mf-black: #030303;
  --mf-ink: #080808;
  --mf-surface: #111111;
  --mf-surface-2: #171717;
  --mf-line: rgba(255, 255, 255, 0.08);
  --mf-line-strong: rgba(179, 144, 71, 0.44);
  --mf-text: #ffffff;
  --mf-muted: rgba(255, 255, 255, 0.58);
  --mf-soft: rgba(255, 255, 255, 0.38);
}

.mf-hero__inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--mf-hero-wrap));
  margin: 0 auto;
}

.mf-hero__grid {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  align-items: center;
  gap: 42px;
}

.mf-hero__content {
  max-width: 420px;
}

.mf-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #f5f0e5;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mf-hero__title {
  max-width: 420px;
  margin: 24px 0 28px;
  color: var(--mf-text);
  font-size: clamp(38px, 4.1vw, 54px);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.03;
}

.mf-hero__title span {
  color: inherit;
}

.mf-hero__meta {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 800;
}

.mf-hero__copy {
  max-width: 420px;
  margin: 0 0 32px;
  color: var(--mf-muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}

.mf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--mf-radius);
  background: var(--mf-gold);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.mf-btn:hover {
  background: #c19d50;
  transform: translateY(-1px);
}

.mf-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.22);
}

.mf-btn--ghost:hover {
  border-color: var(--mf-gold);
  background: rgba(179, 144, 71, 0.1);
}

.mf-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.mf-hero__visual {
  position: relative;
  min-height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.035);
  background:
    radial-gradient(circle at 50% 47%, rgba(179, 144, 71, 0.13), transparent 25rem),
    #010101;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  isolation: isolate;
}

.mf-hero__visual::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.42), transparent 30%, transparent 72%, rgba(0, 0, 0, 0.6));
  content: "";
}

.mf-hero__wheel {
  position: absolute;
  top: 50%;
  right: 6%;
  width: min(620px, 91%);
  max-height: 94%;
  object-fit: contain;
  transform: translateY(-50%);
  filter: drop-shadow(0 28px 60px rgba(0, 0, 0, 0.78));
}

.mf-hero__product-card {
  display: none;
}

.mf-hero__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: rgba(179, 144, 71, 0.85);
  cursor: pointer;
  transform: translateY(-50%);
}

.mf-hero__arrow--prev {
  left: -42px;
}

.mf-hero__arrow--next {
  right: -42px;
}

.mf-hero__dots {
  position: absolute;
  left: 50%;
  bottom: -34px;
  display: flex;
  gap: 11px;
  transform: translateX(-50%);
}

.mf-hero__dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(179, 144, 71, 0.2);
}

.mf-hero__dots .is-active {
  background: var(--mf-gold);
}

.mf-hero__product-label {
  margin: 0 0 6px;
  color: var(--mf-gold);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mf-hero__product-title {
  margin: 0;
  color: var(--mf-text);
  font-size: 20px;
  line-height: 1.15;
}

.mf-hero__product-copy {
  margin: 8px 0 0;
  color: var(--mf-muted);
  font-size: 13px;
}

.mf-fitment {
  margin-top: 72px;
  padding: 30px 36px;
  border: 1px solid var(--mf-line);
  border-radius: 12px;
  background: rgba(25, 25, 25, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.mf-fitment__tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  margin: 0 0 24px;
}

.mf-fitment__tab {
  color: var(--mf-muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

.mf-fitment__tab:hover,
.mf-fitment__tab.active {
  color: var(--mf-text);
}

.mf-fitment__form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 16px;
}

.mf-fitment__field {
  width: 100%;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid var(--mf-line);
  border-radius: 8px;
  background: var(--mf-surface);
  color: var(--mf-text);
  font-size: 15px;
  font-weight: 500;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M6%209L12%2015L18%209%22%20stroke%3D%22%23b39047%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mf-fitment__field:focus {
  border-color: var(--mf-gold);
  box-shadow: 0 0 0 1px var(--mf-gold);
}

.mf-fitment__submit {
  min-height: 52px;
  padding: 0 40px;
  border: 0;
  border-radius: 8px;
  background: var(--mf-gold);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.mf-fitment__submit:hover {
  background: var(--mf-gold-dark);
}

.mf-fitment__submit:active {
  transform: translateY(1px);
}


.mf-trust {
  background: var(--mf-surface);
  border-top: 1px solid var(--mf-line);
  border-bottom: 1px solid var(--mf-line);
}

.mf-trust__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 86px;
  padding: 58px 0;
}

.mf-trust__item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
}

.mf-trust__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--mf-gold);
}

.mf-trust__title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 850;
}

.mf-trust__copy {
  margin: 0;
  color: var(--mf-muted);
  font-size: 13px;
}

.mf-section {
  padding: 78px 0;
  background: var(--mf-black);
}

.mf-section--compact {
  padding-top: 0;
}

.mf-section--raised {
  background: var(--mf-surface);
}

.mf-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.mf-section__title {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
}

.mf-moto-grid {
  display: grid;
  grid-template-columns: 1fr 1.9fr;
  gap: 18px;
}

.mf-feature-tile,
.mf-feature-tile-wide {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: var(--mf-radius);
  background: var(--mf-surface-2);
}

.mf-feature-tile--chain {
  min-height: 480px;
}

.mf-feature-tile-wide {
  grid-column: span 2;
}

.mf-feature-tile img,
.mf-feature-tile-wide img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  opacity: 0.86;
  transform: scale(1.02);
}

.mf-feature-tile__body {
  position: absolute;
  inset: auto 0 0;
  padding: 22px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82));
}

.mf-feature-tile__eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.mf-feature-tile__title {
  margin: 0 0 8px;
  font-size: 20px;
}

.mf-feature-tile__copy {
  max-width: 320px;
  margin: 0 0 14px;
  color: var(--mf-muted);
  font-size: 13px;
}

.mf-feature-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.mf-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.mf-product {
  min-width: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.mf-product__media {
  position: relative;
  aspect-ratio: 1 / 1;
  margin-bottom: 14px;
  background: #f7f7f7;
}

.mf-product__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
}

.mf-product__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 9px;
  background: var(--mf-gold-2);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
}

.mf-product__power {
  display: inline-flex;
  margin: 0 0 10px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--mf-gold-2);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
}

.mf-product__name {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.35;
}

.mf-product__price {
  margin: 0 0 8px;
  color: var(--mf-gold);
  font-weight: 850;
}

.mf-product__old-price {
  color: var(--mf-soft);
  text-decoration: line-through;
}

.mf-product__meta {
  min-height: 44px;
  margin: 0 0 16px;
  color: var(--mf-soft);
  font-size: 12px;
}

.mf-product__action {
  display: flex;
  justify-content: center;
  padding: 12px 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.mf-reward {
  position: relative;
  overflow: hidden;
  padding: 86px 0;
  background: #050505;
  text-align: center;
}

.mf-reward::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.84)),
    var(--mf-reward-image, none) center / cover;
  content: "";
  opacity: 0.7;
}

.mf-reward__inner {
  position: relative;
  z-index: 1;
}

.mf-reward__title {
  margin: 12px 0 10px;
  font-size: clamp(28px, 4vw, 48px);
}

.mf-reward__copy {
  margin: 0 auto 22px;
  max-width: 540px;
  color: var(--mf-muted);
}

/* ── FOOTER ── */
.mf-footer {
  background: var(--mf-surface);
  border-top: 1px solid var(--mf-line);
  color: var(--mf-text);
}

.mf-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  padding: 56px 0 48px;
}

.mf-footer__brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.mf-footer__logo {
  width: 160px;
  height: auto;
  display: block;
}

.mf-footer__slogan {
  margin: 0;
  font-size: 13px;
  color: var(--mf-muted);
  line-height: 1.6;
  max-width: 220px;
}

.mf-footer__heading {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--mf-text);
}

.mf-footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mf-footer__links a {
  font-size: 13px;
  color: var(--mf-muted);
  text-decoration: none;
  transition: color .2s;
}
.mf-footer__links a:hover { color: var(--mf-gold); }

.mf-footer__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mf-footer__info span,
.mf-footer__info a {
  font-size: 13px;
  color: var(--mf-muted);
  text-decoration: none;
  transition: color .2s;
}
.mf-footer__info a:hover { color: var(--mf-gold); }

.mf-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--mf-line);
}

.mf-footer__copy {
  font-size: 12px;
  color: var(--mf-muted);
}

.mf-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.mf-footer__legal a {
  font-size: 12px;
  color: var(--mf-muted);
  text-decoration: none;
  transition: color .2s;
}
.mf-footer__legal a:hover { color: var(--mf-gold); }

@media (max-width: 900px) {
  .mf-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .mf-footer__grid { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 32px; }
  .mf-footer__bottom { flex-direction: column; align-items: flex-start; }
}


.mf-shop,
.mf-pdp {
  background: var(--mf-black);
  color: var(--mf-text);
}

.mf-shop-hero,
.mf-pdp-hero {
  padding: 58px 0 44px;
  border-top: 1px solid var(--mf-line);
  background:
    radial-gradient(circle at 80% 18%, rgba(179, 144, 71, 0.1), transparent 28rem),
    linear-gradient(180deg, #050505 0%, #030303 100%);
}

.mf-shop-hero__inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 44px;
  align-items: end;
}

.mf-shop-hero__title,
.mf-pdp-title {
  margin: 24px 0 16px;
  color: var(--mf-text);
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.02;
}

.mf-shop-hero__copy,
.mf-pdp-short {
  max-width: 620px;
  color: var(--mf-muted);
  font-size: 15px;
  line-height: 1.6;
}

.mf-shop-hero__panel {
  display: grid;
  gap: 9px;
  padding: 20px;
  border: 1px solid var(--mf-line);
  background: rgba(255, 255, 255, 0.035);
}

.mf-shop-hero__panel span {
  color: var(--mf-gold);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mf-shop-hero__panel a {
  color: var(--mf-text);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.mf-shop-search {
  padding: 0 0 44px;
  background: var(--mf-black);
}

.mf-fitment--shop {
  margin-top: 0;
}

.mf-shop-listing {
  padding: 36px 0 84px;
  background: var(--mf-black);
  color: var(--mf-text);
}

.mf-shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  color: var(--mf-text);
  font-size: 14px;
  font-weight: 700;
}

.mf-shop-toolbar select {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  color: #222;
}

.mf-shop-card__badge,
.mf-pdp-sale {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  padding: 7px 12px;
  background: var(--mf-gold);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
}

  font-weight: 800;
}

.mf-shop-card__cats,
.mf-pdp-cats {
  margin: 0 0 8px;
  color: var(--mf-gold);
  font-size: 12px;
  font-weight: 850;
}

.mf-shop-card__cats a,
.mf-pdp-cats a {
  color: inherit;
  text-decoration: none;
}

.mf-shop-card__title {
  min-height: 58px;
  margin: 0 0 10px;
  color: #242424;
  font-size: 17px;
  line-height: 1.28;
}

.mf-shop-card__title a {
  color: inherit;
  text-decoration: none;
}

.mf-shop-card__price {
  margin-bottom: 16px;
  color: var(--mf-gold);
  font-size: 16px;
  font-weight: 850;
}

.mf-shop-card__price del,
.mf-pdp-price del {
  color: rgba(0, 0, 0, 0.38);
  font-weight: 600;
}



.mf-breadcrumb {
  margin-bottom: 30px;
  color: var(--mf-soft);
  font-size: 12px;
}

.mf-breadcrumb a {
  color: var(--mf-muted);
  text-decoration: none;
}

.mf-pdp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 540px;
  gap: 54px;
  align-items: start;
}

.mf-pdp-gallery {
  position: relative;
}

.mf-pdp-gallery__main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 560px;
  background: #fff;
}

.mf-pdp-gallery__main img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  padding: 34px;
}

.mf-pdp-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.mf-pdp-gallery__thumbs span {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background: #fff;
}

.mf-pdp-gallery__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.mf-pdp-trust {
  display: grid;
  gap: 10px;
  max-width: 300px;
  margin-top: -126px;
  margin-left: 18px;
  position: relative;
  z-index: 2;
}

.mf-pdp-trust span {
  padding: 10px 13px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.94);
  color: #2b2b2b;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.mf-pdp-summary {
  padding-top: 12px;
}

.mf-pdp-price {
  margin: 24px 0;
  color: var(--mf-gold);
  font-size: 28px;
  font-weight: 850;
}

.mf-pdp-specs {
  display: grid;
  margin: 24px 0;
  border-top: 1px solid var(--mf-line);
}

.mf-pdp-specs div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid var(--mf-line);
  color: var(--mf-muted);
  font-size: 13px;
}

.mf-pdp-specs strong {
  color: var(--mf-text);
  text-align: right;
}

.mf-pdp-fitment,
.mf-pdp-cart,
.mf-pdp-benefits {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--mf-line);
  background: rgba(255, 255, 255, 0.035);
}

.mf-pdp-fitment h2 {
  margin: 0 0 8px;
  font-size: 16px;
}

.mf-pdp-fitment p {
  margin: 0 0 14px;
  color: var(--mf-muted);
  font-size: 13px;
}

.mf-pdp-fitment label,
.mf-pdp-fitment span {
  display: grid;
  gap: 7px;
  color: var(--mf-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.mf-pdp-fitment input {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--mf-line);
  background: #fff;
  color: #111;
}

.mf-pdp-cart form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.mf-pdp-cart table.variations {
  flex-basis: 100%;
  width: 100%;
  margin: 0 0 12px;
  border: 0;
}

.mf-pdp-cart table.variations tr {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.mf-pdp-cart table.variations th,
.mf-pdp-cart table.variations td {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.mf-pdp-cart table.variations label {
  color: var(--mf-muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mf-pdp-cart table.variations select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--mf-line);
  background: #fff;
  color: #111;
}

.mf-pdp-cart .reset_variations {
  display: inline-flex;
  margin-top: 8px;
  color: var(--mf-gold);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.mf-pdp-cart .single_variation_wrap {
  flex-basis: 100%;
}

.mf-pdp-cart .woocommerce-variation {
  margin-bottom: 12px;
  color: var(--mf-muted);
  font-size: 13px;
}

.mf-pdp-cart .woocommerce-variation-price {
  color: var(--mf-gold);
  font-size: 20px;
  font-weight: 850;
}

.mf-pdp-cart .woocommerce-variation-add-to-cart {
  display: flex;
  gap: 10px;
}

.mf-pdp-cart .quantity input {
  width: 64px;
  min-height: 46px;
  border: 1px solid var(--mf-line);
  background: #fff;
  color: #111;
  text-align: center;
}

.mf-pdp-cart .single_add_to_cart_button {
  flex: 1;
  min-height: 46px;
  border: 0;
  background: var(--mf-gold);
  color: #fff;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mf-pdp-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mf-pdp-benefits span {
  color: var(--mf-muted);
  font-size: 12px;
}

.mf-pdp-content {
  padding: 72px 0;
  background: #f5f5f4;
  color: #161616;
}

.mf-pdp-content__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
}

.mf-pdp-copy,
.mf-pdp-side > div {
  padding: 28px;
  background: #fff;
}

.mf-pdp-copy h2,
.mf-pdp-side h2 {
  margin: 0 0 16px;
  font-size: 22px;
}

.mf-pdp-copy {
  color: #4b4b4b;
  font-size: 15px;
  line-height: 1.75;
}

.mf-pdp-side {
  display: grid;
  gap: 18px;
  align-content: start;
}

.mf-pdp-side p,
.mf-pdp-side li {
  color: #555;
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 980px) {
  .mf-header__nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1500;
    background: var(--mf-surface);
    padding: 0;
    gap: 0;
    flex-direction: column;
    align-items: stretch;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.mf-mobile-nav-open .mf-header__nav,
  .mf-header__nav.is-open {
    display: flex;
  }

  /* backdrop-filter erzeugt Containing Block → fixed-Nav wird relativ zum Header.
     Deshalb bei offenem Menü abschalten. */
  body.mf-mobile-nav-open .mf-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* ── Mobile Nav: Top bar with close ── */
  .mf-header__nav::before {
    content: 'Menü';
    display: flex;
    align-items: center;
    padding: 20px 24px;
    font-size: 18px;
    font-weight: 900;
    color: var(--mf-text);
    letter-spacing: -.01em;
    border-bottom: 1px solid var(--mf-line);
    flex-shrink: 0;
  }

  /* ── Mobile Nav Items ── */
  .mf-header__nav > .mfh-mega,
  .mf-header__nav > .mfh-cat-mega,
  .mf-header__nav a,
  .mf-header__nav > a {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    justify-content: flex-start;
    padding: 16px 24px;
    border-bottom: 1px solid var(--mf-line);
    font-size: 16px;
    font-weight: 700;
    color: var(--mf-text);
    text-decoration: none;
    transition: background .15s, color .15s;
  }

  .mf-header__nav > a:active,
  .mf-header__nav > .mfh-mega a:active {
    background: rgba(179,144,71,.06);
  }

  .mf-header__nav > :last-child {
    border-bottom: none;
  }

  .mf-header__nav .mfh-mega__dropdown,
  .mf-header__nav .mfh-info-dropdown,
  .mf-header__nav .mfh-cat-mega {
    position: static;
    width: 100%;
    margin-top: 0;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    border: none;
    border-top: 1px solid var(--mf-line);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mf-header__nav .mfh-mega__dropdown {
    display: none;
  }

  .mfh-mega:hover .mfh-mega__dropdown,
  .mfh-mega:hover > .mfh-mega__dropdown {
    display: none;
  }

  /* ── Mobile Warenkorb-Link im Menü ── */
  .mf-mobile-cart-link {
    display: flex !important;
    align-items: center;
    gap: 12px;
    color: var(--mf-text);
    text-decoration: none;
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 700;
    border-top: 1px solid var(--mf-line);
    margin-top: auto;
    background: rgba(179,144,71,.04);
  }
  .mf-mobile-cart-link svg {
    color: var(--mf-gold);
  }
  .mf-mobile-cart-link:hover,
  .mf-mobile-cart-link:active {
    color: var(--mf-gold);
    background: rgba(179,144,71,.08);
  }

  /* ── Hamburger-Button sichtbar — links ── */
  .mf-menu-toggle {
    display: inline-flex;
    order: -1;
  }

  .mf-header__brand {
    order: 0;
    flex: 1 1 auto;
  }

  .mf-header__nav {
    order: 1;
  }

  .mf-header__actions {
    order: 2;
    gap: 10px;
  }

  .mf-header__inner {
    justify-content: space-between;
  }

  .mf-header__nav::after {
    display: none;
  }
  .mf-header__nav > .mfh-mega__toggle svg {
    margin-left: auto;
    color: var(--mf-muted);
  }
  .mf-header__nav a[href="#"] {
    display: none;
  }

  /* ── Header-Actions auf Mobile: nur Theme-Toggle weg ── */
  .mf-header__actions .mf-theme-toggle {
    display: none !important;
  }

  .mf-header__actions .mf-account-link span {
    display: none;
  }

  .mf-header__actions .mf-cart-wrapper {
    display: inline-flex !important;
    flex-shrink: 0;
  }


  .mf-hero {
    min-height: auto;
    padding-top: 56px;
  }

  .mf-hero__inner {
    width: min(calc(100% - 32px), var(--mf-hero-wrap));
  }

  .mf-hero__grid {
    grid-template-columns: 1fr;
  }

  .mf-hero__visual {
    min-height: 340px;
  }

  .mf-hero__arrow {
    display: none;
  }

  .mf-fitment__form {
    grid-template-columns: 1fr 1fr;
  }

  .mf-fitment__submit {
    grid-column: 1 / -1;
  }

  .mf-trust__grid,
  .mf-products {
    grid-template-columns: repeat(2, 1fr);
  }

  .mf-moto-grid,
  .mf-footer__grid,
  .mf-newsletter,
  .mf-shop-hero__inner,
  .mf-pdp-grid,
  .mf-pdp-content__grid {
    grid-template-columns: 1fr;
  }

  .mf-shop .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mf-pdp-gallery__main {
    min-height: 420px;
  }

  .mf-pdp-trust {
    max-width: none;
    margin: 12px 0 0;
  }

  .mf-pdp-benefits {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .mf-container {
    width: min(calc(100% - 28px), var(--mf-wrap));
  }

  .mf-topbar__inner {
    justify-content: center;
    text-align: center;
  }

  .mf-topbar__inner span:first-child {
    display: none;
  }

  /* (Header-Icons werden bereits bei 980px gehandhabt) */

  .mf-hero__visual {
    min-height: 300px;
  }

  .mf-header__inner {
    min-height: 82px;
  }

  .mf-header__logo {
    width: 188px;
  }

  .mf-hero {
    padding-top: 44px;
  }

  .mf-kicker {
    min-height: 36px;
    padding: 0 18px;
    font-size: 12px;
  }

  .mf-hero__title {
    margin: 22px 0 24px;
    font-size: clamp(42px, 14vw, 58px);
  }

  .mf-hero__meta {
    font-size: 15px;
  }

  .mf-hero__copy {
    font-size: 15px;
  }

  .mf-btn {
    min-height: 50px;
    padding: 0 22px;
    font-size: 12px;
  }

  .mf-fitment {
    margin-top: 36px;
    padding: 22px;
  }

  .mf-fitment__tabs {
    justify-content: flex-start;
    gap: 14px;
  }

  .mf-fitment__tab {
    font-size: 12px;
  }

  .mf-fitment__form,
  .mf-trust__grid,
  .mf-feature-stack,
  .mf-products,
  .mf-shop .products {
    grid-template-columns: 1fr;
  }

  .mf-shop-hero,
  .mf-pdp-hero {
    padding: 36px 0 30px;
  }

  .mf-shop-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .mf-shop-card {
    padding: 22px 18px;
  }

  .mf-pdp-gallery__main {
    min-height: 320px;
  }

  .mf-pdp-gallery__main img {
    padding: 18px;
  }

  .mf-pdp-cart form.cart {
    flex-direction: column;
  }

  .mf-pdp-cart table.variations tr,
  .mf-pdp-cart .woocommerce-variation-add-to-cart {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .mf-pdp-cart .quantity input {
    width: 100%;
  }

  .mf-feature-tile--chain {
    min-height: 360px;
  }

  .mf-feature-tile-wide {
    grid-column: span 1;
  }

  .mf-section__head,
  .mf-footer__payments-inner,
  .mf-newsletter__form {
    align-items: flex-start;
    flex-direction: column;
  }

  .mf-newsletter__form input,
  .mf-newsletter__form button {
    width: 100%;
  }
}

/* ═══════════════════════════════════════════════
   HERO – Drossel Focus (trust row, no visual panel)
═══════════════════════════════════════════════ */
.mf-hero__trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  color: var(--mf-muted);
  font-size: 13px;
  font-weight: 700;
}

.mf-hero__trust-row span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mf-hero__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 40%, rgba(179,144,71,0.07), transparent 36rem),
    linear-gradient(160deg, #030303 0%, #0d0d0d 100%);
  pointer-events: none;
}

/* ═══════════════════════════════════════════════
   CATEGORY CARDS
═══════════════════════════════════════════════ */
.mf-cats {
  background: var(--mf-surface);
  border-top: 1px solid var(--mf-line);
  border-bottom: 1px solid var(--mf-line);
}

.mf-cats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--mf-line);
  padding: 0;
}

.mf-cat-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 32px 28px;
  background: var(--mf-surface);
  text-decoration: none;
  transition: background 0.2s ease;
}

.mf-cat-card:hover {
  background: var(--mf-surface-2);
}

.mf-cat-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(179,144,71,0.12);
  color: var(--mf-gold);
}

.mf-cat-card__title {
  margin: 0;
  font-size: 18px;
  font-weight: 850;
  color: var(--mf-text);
}

.mf-cat-card__sub {
  margin: 0;
  font-size: 13px;
  color: var(--mf-muted);
  line-height: 1.5;
  flex: 1;
}

.mf-cat-card__arrow {
  color: var(--mf-gold);
  font-size: 18px;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.mf-cat-card:hover .mf-cat-card__arrow {
  transform: translateX(4px);
}

/* ═══════════════════════════════════════════════
   MAKE / HERSTELLER BADGES
═══════════════════════════════════════════════ */
.mf-make-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.mf-make-badge {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background: transparent;
  color: rgba(255,255,255,0.82);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.mf-make-badge:hover {
  border-color: var(--mf-gold);
  background: rgba(179,144,71,0.1);
  color: var(--mf-gold);
}

/* ═══════════════════════════════════════════════
   POPULAR MODEL LINKS
═══════════════════════════════════════════════ */
.mf-popular-models {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding: 18px 0;
  border-top: 1px solid var(--mf-line);
}

.mf-popular-models__label {
  margin: 0;
  color: var(--mf-soft);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  width: 100%;
}

.mf-model-link {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mf-model-link:hover {
  color: var(--mf-gold);
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE – new sections
═══════════════════════════════════════════════ */
@media (max-width: 960px) {
  .mf-cats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .mf-cats__grid {
    grid-template-columns: 1fr;
  }

  .mf-cat-card {
    padding: 22px 20px;
  }

  .mf-hero__trust-row {
    flex-direction: column;
    gap: 10px;
  }
}

/* ═══════════════════════════════════════════════
   PLACEHOLDER PRODUCT MEDIA
═══════════════════════════════════════════════ */
.mf-product__media--placeholder {
  background: var(--mf-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mf-product__placeholder-icon {
  width: 64px;
  height: 64px;
  opacity: 0.8;
}

/* ═══════════════════════════════════════════════════════════════
   SHOP PAGE — FULL DARK MODE
═══════════════════════════════════════════════════════════════ */

.woocommerce, .woocommerce-page, .mf-shop {
  background: var(--mf-black);
  color: var(--mf-text);
}

.mf-shop {
  min-height: 100vh;
  background: var(--mf-black);
}

/* ── Shop Hero ── */
.mf-shop-hero {
  padding: 56px 0 40px;
  background: var(--mf-black);
  border-bottom: 1px solid var(--mf-line);
}

.mf-shop-hero__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
}

.mf-shop-hero__title {
  margin: 12px 0 10px;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.mf-shop-hero__copy {
  margin: 0;
  color: var(--mf-muted);
  font-size: 14px;
  max-width: 460px;
  line-height: 1.6;
}

.mf-shop-hero__panel {
  min-width: 200px;
  padding: 22px 24px;
  border: 1px solid var(--mf-line-strong);
  border-radius: 6px;
  background: rgba(179, 144, 71, 0.06);
}

.mf-shop-hero__panel span {
  display: block;
  margin-bottom: 12px;
  color: var(--mf-gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mf-shop-hero__panel a {
  display: block;
  padding: 7px 0;
  border-bottom: 1px solid var(--mf-line);
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.mf-shop-hero__panel a:last-child { border-bottom: 0; }

.mf-shop-hero__panel a:hover {
  color: var(--mf-gold);
  padding-left: 6px;
}

/* ── Fitment / search bar ── */
.mf-shop-search {
  padding: 32px 0;
  background: var(--mf-surface);
  border-bottom: 1px solid var(--mf-line);
}

/* ── Listing area ── */
.mf-shop-listing {
  padding: 48px 0 80px;
  background: var(--mf-black);
}

.mf-shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--mf-line);
}

.mf-shop-toolbar .woocommerce-result-count {
  margin: 0;
  color: var(--mf-muted);
  font-size: 13px;
}

.mf-shop-toolbar__right { display: flex; align-items: center; gap: 12px; }

/* Sort dropdown ── dark */
.woocommerce-ordering select,
.mf-shop-toolbar select {
  height: 40px;
  padding: 0 36px 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--mf-radius);
  background: var(--mf-surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23b39047' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  color: var(--mf-text);
  font-size: 13px;
  font-weight: 700;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.woocommerce-ordering select:focus,
.mf-shop-toolbar select:focus {
  border-color: var(--mf-gold);
}

/* ── WooCommerce product loop override ── */
.woocommerce ul.products,
ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  background: transparent !important;
}

/* ── Premium dark product card ── */
.mf-shop-card {
  display: flex;
  flex-direction: column;
  border-radius: 6px;
  background: var(--mf-surface);
  border: 1px solid var(--mf-line);
  overflow: hidden;
  position: relative;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.mf-shop-card:hover {
  border-color: rgba(179, 144, 71, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
}

.mf-shop-card__media {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--mf-ink);
  overflow: hidden;
  text-decoration: none;
}

.mf-shop-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: transform 0.35s ease;
}

.mf-shop-card:hover .mf-shop-card__media img {
  transform: scale(1.05);
}

.woocommerce-placeholder-img {
  background: #080808 !important;
  padding: 20px;
  opacity: 0.25;
}

.mf-shop-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 3px;
  background: var(--mf-gold);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mf-shop-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 18px 18px;
  border-top: 1px solid var(--mf-line);
}

.mf-shop-card__cats {
  margin: 0 0 5px;
  color: var(--mf-gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mf-shop-card__cats a {
  color: inherit;
  text-decoration: none;
}

.mf-shop-card__power {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 8px;
  padding: 3px 10px;
  border: 1px solid rgba(179, 144, 71, 0.35);
  border-radius: 999px;
  color: var(--mf-gold);
  font-size: 11px;
  font-weight: 800;
  width: fit-content;
}

.mf-shop-card__title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  flex: 1;
}

.mf-shop-card__title a {
  color: var(--mf-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.mf-shop-card__title a:hover {
  color: var(--mf-gold);
}

.mf-shop-card__price {
  margin: 0 0 14px;
}

.mf-shop-card__price .price,
.mf-shop-card__price .woocommerce-Price-amount {
  color: var(--mf-gold) !important;
  font-size: 16px !important;
  font-weight: 900 !important;
}

.mf-shop-card__price del .woocommerce-Price-amount {
  color: var(--mf-soft) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

.mf-shop-card__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--mf-radius);
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.mf-shop-card__link:hover {
  border-color: var(--mf-gold);
  background: rgba(179, 144, 71, 0.1);
  color: var(--mf-gold);
}

/* ── Empty state ── */
.mf-shop-empty {
  padding: 80px 0;
  text-align: center;
  color: var(--mf-muted);
}

/* ── Pagination dark ── */
.mf-shop-pagination { margin-top: 48px; }

.mf-shop-pagination .woocommerce-pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mf-shop-pagination .woocommerce-pagination li a,
.mf-shop-pagination .woocommerce-pagination li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--mf-line);
  border-radius: var(--mf-radius);
  background: var(--mf-surface);
  color: var(--mf-text);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.mf-shop-pagination .woocommerce-pagination li a:hover {
  border-color: var(--mf-gold);
  background: rgba(179, 144, 71, 0.1);
  color: var(--mf-gold);
}

.mf-shop-pagination .woocommerce-pagination li span.current {
  border-color: var(--mf-gold);
  background: var(--mf-gold);
  color: #fff;
}

/* ── WC overrides: nuke white ── */
.woocommerce .woocommerce-ordering { float: none; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .mfh-products-grid,
  .mfh-grid,
  .woocommerce ul.products,
  ul.products,
  .mfh-shop .products,
  .mfh-products {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .mf-shop-hero__inner { grid-template-columns: 1fr; }

  .mfh-products-grid,
  .mfh-grid,
  .woocommerce ul.products, 
  ul.products,
  .mfh-shop .products,
  .mfh-products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .mfh-products-grid,
  .mfh-grid,
  .woocommerce ul.products,
  ul.products,
  .mfh-shop .products,
  .mfh-products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ═══════════════════════════════════════════════
   HOMEPAGE DUMMY PRODUCT CARDS
═══════════════════════════════════════════════ */

.mf-dummy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.mf-dummy-card {
  display: flex;
  flex-direction: column;
  border-radius: 6px;
  background: var(--mf-surface);
  border: 1px solid var(--mf-line);
  overflow: hidden;
  position: relative;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.mf-dummy-card:hover {
  border-color: rgba(179, 144, 71, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
}

.mf-dummy-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--mf-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mf-dummy-card__media--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.mf-dummy-card:hover .mf-dummy-card__media--img img {
  transform: scale(1.05);
}

.mf-dummy-card__svg {
  width: 70%;
  height: 70%;
  opacity: 0.9;
}

.mf-dummy-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 3px;
  background: var(--mf-gold);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.mf-dummy-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px 16px 16px;
  border-top: 1px solid var(--mf-line);
}

.mf-dummy-card__name {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--mf-text);
  flex: 1;
}

.mf-dummy-card__price {
  margin: 0 0 12px;
  color: var(--mf-gold);
  font-size: 15px;
  font-weight: 900;
}

.mf-dummy-card__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--mf-radius);
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.mf-dummy-card__cta:hover {
  border-color: var(--mf-gold);
  background: rgba(179, 144, 71, 0.1);
  color: var(--mf-gold);
}

@media (max-width: 960px) {
  .mf-dummy-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .mf-dummy-grid { grid-template-columns: 1fr; }
}

/* ── WooCommerce Pages (Cart, Checkout, My Account) Overrides ── */
.woocommerce {
  color: var(--mf-text);
}

/* Notices */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  background: var(--mf-surface) !important;
  border-top: 3px solid var(--mf-gold) !important;
  color: var(--mf-text) !important;
  border-radius: var(--mf-radius) !important;
  padding: 16px 20px 16px 50px !important;
  margin-bottom: 24px !important;
  position: relative;
}
.woocommerce-error { border-top-color: #ff4444 !important; }
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
  color: var(--mf-gold) !important;
  font-family: inherit !important;
  position: absolute;
  left: 20px;
  top: 18px;
}
.woocommerce-error::before { color: #ff4444 !important; }

/* Forms & Inputs */
.woocommerce form .form-row {
  margin-bottom: 20px;
}
.woocommerce form .form-row label {
  color: var(--mf-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  display: inline-block;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .select2-container .select2-selection--single {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--mf-line);
  border-radius: var(--mf-radius);
  background: var(--mf-black) !important;
  color: var(--mf-text) !important;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.woocommerce .select2-container .select2-selection--single {
  display: flex;
  align-items: center;
}
.woocommerce .select2-dropdown {
  background: var(--mf-surface) !important;
  border-color: var(--mf-line) !important;
  color: var(--mf-text) !important;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  border-color: var(--mf-gold);
  box-shadow: 0 0 0 1px var(--mf-gold);
}
.woocommerce form .form-row textarea {
  height: auto;
  min-height: 120px;
  padding: 16px;
  resize: vertical;
}

/* Buttons */
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 32px;
  background: var(--mf-gold) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--mf-radius) !important;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: opacity 0.2s ease, transform 0.1s ease;
  cursor: pointer;
}
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover {
  opacity: 0.9;
}
.woocommerce button.button:active,
.woocommerce a.button:active,
.woocommerce input.button:active {
  transform: translateY(1px);
}
.woocommerce button.button:disabled,
.woocommerce button.button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Tables (Cart, Checkout, Account) */
.woocommerce table.shop_table {
  border: 1px solid var(--mf-line) !important;
  border-radius: var(--mf-radius) !important;
  border-collapse: separate !important;
  background: var(--mf-surface);
}
.woocommerce table.shop_table th {
  background: rgba(0, 0, 0, 0.2);
  color: var(--mf-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 16px !important;
  border-bottom: 1px solid var(--mf-line) !important;
}
.woocommerce table.shop_table td {
  padding: 16px !important;
  border-bottom: 1px solid var(--mf-line) !important;
  color: var(--mf-text);
  vertical-align: middle;
}
.woocommerce table.shop_table tbody tr:last-child td {
  border-bottom: none !important;
}
.woocommerce-cart table.cart img {
  width: 64px;
  border-radius: 4px;
}
.woocommerce-cart table.cart td.actions .coupon .input-text {
  width: 200px;
  height: 48px;
  margin-right: 12px;
  border-radius: var(--mf-radius);
}

/* Cart Totals & Checkout Order Review */
.cart-collaterals .cart_totals,
.woocommerce-checkout .woocommerce-checkout-review-order,
#order_review {
  background: transparent;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

/* If these blocks are already inside our outer card, keep only one card layer */
.mf-cart-page .cart_totals,
.mf-cart-page .cart_totals table,
.mf-checkout-page #order_review,
.mf-checkout-page #order_review table,
.mf-checkout-page .woocommerce-checkout-review-order,
.mf-checkout-page .woocommerce-checkout-review-order table {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.cart_totals h2,
#order_review_heading {
  display: none !important;
}
.woocommerce-checkout #payment {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-top: 16px;
}
.woocommerce-checkout #payment ul.payment_methods {
  border-bottom-color: var(--mf-line) !important;
}
.woocommerce-checkout #payment div.payment_box {
  background: var(--mf-surface) !important;
  color: var(--mf-muted) !important;
}
.woocommerce-checkout #payment div.payment_box::before {
  border-bottom-color: var(--mf-surface) !important;
}

/* My Account Navigation */
.woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  background: var(--mf-surface);
  border: 1px solid var(--mf-line);
  border-radius: var(--mf-radius);
  overflow: hidden;
}
.woocommerce-MyAccount-navigation ul li {
  border-bottom: 1px solid var(--mf-line);
}
.woocommerce-MyAccount-navigation ul li:last-child {
  border-bottom: none;
}
.woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 16px 20px;
  color: var(--mf-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s, color 0.2s;
}
.woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-MyAccount-navigation ul li.is-active a {
  background: rgba(179, 144, 71, 0.1);
  color: var(--mf-gold);
}

/* My Account Layout — handled by .mf-account-grid, kill WC defaults */
.woocommerce-account .woocommerce {
  float: none !important;
  width: 100% !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
  float: none;
  width: 100%;
}

/* Cart & Checkout Layouts */
/* WC cart and checkout — let our templates handle layout (mf-cart-grid / mf-checkout-grid) */
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce form.checkout {
  display: block !important;
  float: none !important;
  width: 100% !important;
}
.woocommerce-cart .woocommerce .woocommerce-cart-form,
.woocommerce-cart .woocommerce .cart-collaterals,
.woocommerce-checkout .woocommerce #customer_details,
.woocommerce-checkout .woocommerce #order_review_heading,
.woocommerce-checkout .woocommerce #order_review {
  float: none !important;
  width: 100% !important;
  box-sizing: border-box;
}
/* Kill WC's float-based two-column billing/review layout completely */
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review {
  display: block !important;
  float: none !important;
  width: 100% !important;
  clear: both;
}

/* ── VIN / Variation data pills (Minicart, Cart row, Checkout review) ── */
/* WC outputs item data as <dl class="variation"> */
dl.variation,
.wc-item-meta {
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
dl.variation dt,
.wc-item-meta dt {
  display: inline;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mf-muted);
  margin: 0;
  padding: 0;
  float: none;
  width: auto;
}
dl.variation dd,
.wc-item-meta dd {
  display: inline;
  font-size: 11px;
  font-weight: 600;
  color: var(--mf-gold);
  background: rgba(179,144,71,0.1);
  border: 1px solid rgba(179,144,71,0.2);
  border-radius: 4px;
  padding: 1px 7px;
  margin: 0 0 0 4px;
}
dl.variation dt::after { content: ':'; }
dl.variation p { margin: 0; display: inline; }
/* Minicart specific */
.woocommerce-mini-cart-item dl.variation dt,
.woocommerce-mini-cart-item dl.variation dd {
  font-size: 10px;
}
/* Checkout order review table */
.woocommerce-checkout-review-order-table dl.variation dt,
.woocommerce-checkout-review-order-table dl.variation dd {
  font-size: 11px;
}

/* ── Minicart Overrides ── */
.widget_shopping_cart,
.woocommerce-mini-cart {
  color: var(--mf-text);
}
.widget_shopping_cart_content .woocommerce-mini-cart {
  padding: 0;
  margin: 0;
  list-style: none;
}
.widget_shopping_cart_content .woocommerce-mini-cart__empty-message {
  padding: 24px 0;
  text-align: center;
  color: var(--mf-muted);
}
.widget_shopping_cart_content .woocommerce-mini-cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--mf-line);
}
.widget_shopping_cart_content .woocommerce-mini-cart-item:last-child {
  border-bottom: none;
}
.widget_shopping_cart_content .woocommerce-mini-cart-item a.remove {
  color: #ff4444 !important;
  background: transparent !important;
  font-size: 20px;
  line-height: 1;
  text-decoration: none;
  font-weight: 400;
  margin-right: 8px;
}
.widget_shopping_cart_content .woocommerce-mini-cart-item a.remove:hover {
  color: #cc0000 !important;
}
.widget_shopping_cart_content .woocommerce-mini-cart-item img {
  width: 60px;
  height: auto;
  border-radius: 4px;
}
.widget_shopping_cart_content .woocommerce-mini-cart-item .quantity {
  color: var(--mf-muted);
  font-size: 13px;
  display: block;
  margin-top: 4px;
}
.widget_shopping_cart_content .woocommerce-mini-cart__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--mf-line);
  border-bottom: 1px solid var(--mf-line);
  margin: 0 0 20px;
  font-weight: 800;
  font-size: 16px;
  color: var(--mf-text);
}
.widget_shopping_cart_content .woocommerce-mini-cart__total strong {
  font-weight: 800;
}
.widget_shopping_cart_content .woocommerce-mini-cart__buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
}
.widget_shopping_cart_content .woocommerce-mini-cart__buttons a.button {
  width: 100%;
  margin: 0;
  background: var(--mf-surface) !important;
  color: var(--mf-text) !important;
  border: 1px solid var(--mf-line) !important;
}
.widget_shopping_cart_content .woocommerce-mini-cart__buttons a.checkout {
  background: var(--mf-gold) !important;
  color: #fff !important;
  border-color: var(--mf-gold) !important;
}

/* Extra Notice overrides (like ul.woocommerce-error lists and store notices) */
ul.woocommerce-error {
  list-style: none;
  margin: 0 0 24px !important;
  padding: 16px 20px 16px 50px !important;
  background: var(--mf-surface) !important;
  border-top: 3px solid #ff4444 !important;
  color: var(--mf-text) !important;
  border-radius: var(--mf-radius) !important;
  position: relative;
}
ul.woocommerce-error::before {
  content: "!" !important;
  position: absolute;
  left: 20px;
  top: 18px;
  color: #ff4444 !important;
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
}
ul.woocommerce-error li {
  margin: 0;
  padding: 0;
}
.woocommerce-store-notice,
p.demo_store {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 10px 20px;
  background: var(--mf-gold);
  color: #fff;
  text-align: center;
  z-index: 99999;
  font-size: 13px;
  font-weight: 700;
}
.woocommerce-store-notice a {
  color: #fff;
  text-decoration: underline;
}
.woocommerce-store-notice a.woocommerce-store-notice__dismiss {
  float: right;
  text-decoration: none;
  font-size: 20px;
  line-height: 1;
  margin-top: -3px;
}

/* ══════════════════════════════════════════════════
   MF HOMEPAGE v2 — Apple/FF-Wheels inspired
══════════════════════════════════════════════════ */

/* Scroll Reveal */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.rv.is-v { opacity: 1; transform: none; }

/* Shared Typography */
.mfh-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--mf-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.mfh-sec-title {
  margin: 0 0 4px;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
  color: var(--mf-text);
}
.mfh-sec-link {
  white-space: nowrap;
  color: var(--mf-gold);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity .2s;
}
.mfh-sec-link:hover { opacity: .7; }

/* Buttons */
.mfh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity .2s, transform .1s;
}
.mfh-btn:active { transform: scale(.98); }
.mfh-btn--fill { background: var(--mf-gold); color: #fff; border: 2px solid transparent; }
.mfh-btn--fill:hover { opacity: .88; }
.mfh-btn--outline { background: transparent; color: var(--mf-text); border: 2px solid var(--mf-line); }
.mfh-btn--outline:hover { border-color: var(--mf-gold); color: var(--mf-gold); }
.mfh-btn--white { background: #fff; color: #1D1D1F; border: 2px solid transparent; }
.mfh-btn--outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.35); }
.mfh-btn--outline-white:hover { border-color: #fff; }

/* ── HERO BENTO ── */
.mfh-hero {
  padding: calc(var(--mf-header-h, 0px) + 24px) 0 40px;
  background: var(--mf-bg);
}

/* Outer: [main-card] [sidebar 280px] */
.mfh-hero__bento {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 20px;
  align-items: stretch;
}

/* Inner main card: [text 380px] [slider 1fr] */
.mfh-hero__main-card {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 0;
  align-items: stretch;
  background: var(--mf-surface);
  border: 1px solid var(--mf-line);
  border-radius: var(--mf-radius);
  overflow: hidden;
  min-height: 440px;
  box-shadow: var(--mf-shadow);
}

/* Text column */
.mfh-hero__text {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0;
}
.mfh-hero__title {
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1.1;
  color: var(--mf-text);
}
.mfh-hero__copy {
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--mf-muted);
}
.mfh-hero__actions { display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px; margin-top: 20px; padding-top: 0; }
.mfh-hero__actions .mfh-btn { width: auto; flex: 1 1 220px; }


/* Slider column */
.mfh-hero__image {
  position: relative;
  overflow: hidden;
  background: #0d0d0d;
  isolation: isolate;
  border-radius: var(--mf-radius);
  /* The outer card clips with overflow:hidden but explicit radius ensures
     the image is fully rounded even if stacking context changes */
}
/* Top-left dark vignette — exactly like FF */
.mfh-hero__image::before {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 0% 0%, rgba(0,0,0,.22) 0%, transparent 70%);
}

/* Slides — crossfade */
.mfh-hero__slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity .8s cubic-bezier(.4,0,.2,1);
  z-index: 0;
}
.mfh-hero__slide.is-active { opacity: 1; z-index: 1; }
.mfh-hero__slide:first-of-type { opacity: 1; }
.mfh-hero__slide img,
.mfh-hero__image > img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  min-height: 420px;
}

/* Dots — top-left (FF style) */
.mfh-hero__dots {
  position: absolute; top: 16px; left: 16px; z-index: 20;
  display: flex; gap: 6px; align-items: center;
}
.mfh-hero__slide-label {
  font-size: 11px; font-weight: 500; color: rgba(255,255,255,.7);
  margin-left: 8px; letter-spacing: .01em;
  transition: opacity .2s ease;
  white-space: nowrap;
}
.mfh-hero__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.5); border: 1.5px solid rgba(255,255,255,.8);
  cursor: pointer; padding: 0;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  position: relative; overflow: hidden;
}
.mfh-hero__dot.is-active {
  width: 26px; border-radius: 4px;
  background: #fff; border-color: #fff;
}
.mfh-hero__dot.is-active::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,0,0,.15);
  animation: mfh-dot-progress 3.8s linear forwards;
  transform-origin: left;
  border-radius: 4px;
}
@keyframes mfh-dot-progress {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Trust pills — bottom (FF style glassmorphism) */
.mfh-hero__trust {
  position: absolute; bottom: 16px; left: 16px; right: 16px;
  display: flex; gap: 8px; flex-wrap: wrap; z-index: 10;
}
.mfh-trust-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 13px; border-radius: 980px;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.3);
  font-size: 11px; font-weight: 600; color: #fff;
}
.mfh-trust-pill svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Right sidebar */
.mfh-hero__sidebar { display: flex; flex-direction: column; gap: 10px; }


/* Hero Sidebar Cards */
.mfh-hero__sidebar { display: flex; flex-direction: column; gap: 10px; justify-content: space-between; }
.mfh-side-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  background: var(--mf-surface);
  border: 1px solid var(--mf-line);
  border-radius: var(--mf-radius);
  box-shadow: var(--mf-shadow);
  text-decoration: none;
  color: var(--mf-text);
  transition: box-shadow .2s, border-color .2s, transform .15s;
  flex: 1;
}
.mfh-side-card:hover { border-color: var(--mf-line-strong); box-shadow: var(--mf-shadow-lg); z-index: 2; transform: translateY(-2px); }
.mfh-side-card__icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(179,144,71,.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--mf-gold); flex-shrink: 0;
}
.mfh-side-card__info { flex: 1; min-width: 0; }
.mfh-side-card__name { display: block; font-size: 14px; font-weight: 800; }
.mfh-side-card__sub  { display: block; font-size: 12px; color: var(--mf-muted); margin-top: 2px; }
.mfh-side-card__arrow { color: var(--mf-muted); flex-shrink: 0; }

/* 5th card — neutral dark variant */
.mfh-side-card--gold {
  background: var(--mf-text);
  border-color: var(--mf-text);
  color: var(--mf-bg);
}
.mfh-side-card--gold .mfh-side-card__icon {
  background: rgba(128,128,128,.15);
  color: var(--mf-bg);
}
.mfh-side-card--gold .mfh-side-card__name { color: var(--mf-bg); }
.mfh-side-card--gold .mfh-side-card__sub  { color: var(--mf-bg); opacity: 0.7; }
.mfh-side-card--gold .mfh-side-card__arrow { color: var(--mf-bg); opacity: 0.5; }
.mfh-side-card--gold:hover { opacity: .88; box-shadow: var(--mf-shadow-lg); transform: translateY(-2px); }

/* ── SECTIONS ── */
.mfh-section { padding: 80px 0; background: var(--mf-bg); }
.mfh-section--alt { background: var(--mf-bg); }
.mfh-sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  gap: 16px;
}

/* Make Pills */
.mfh-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.mfh-pill {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 16px;
  background: var(--mf-surface);
  border: 1px solid var(--mf-line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mf-text);
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.mfh-pill:hover { border-color: var(--mf-gold); color: var(--mf-gold); }

/* Product Cards Grid */
.mfh-products-grid,
.mfh-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.mfh-grid--3 { grid-template-columns: repeat(3, 1fr); }

.mfh-card {
  display: flex;
  flex-direction: column;
  background: var(--mf-surface);
  border: 1px solid var(--mf-line);
  border-radius: var(--mf-radius);
  box-shadow: var(--mf-shadow);
  text-decoration: none;
  color: var(--mf-text);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.mfh-card:hover { box-shadow: var(--mf-shadow-lg); transform: translateY(-3px); }
.mfh-card__media {
  position: relative;
  aspect-ratio: 1/1;
  background: var(--mf-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.mfh-card__media--img { background: #fff; }
.mfh-card__media--img img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.mfh-card__badge {
  position: absolute;
  top: 10px; left: 10px;
  background: rgba(179,144,71,0.08);
  color: var(--mf-gold);
  border: 1px solid rgba(179,144,71,0.25);
  font-size: 10px; font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  letter-spacing: .04em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.mfh-card__placeholder { width: 60%; height: auto; opacity: .7; }
.mfh-card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; gap: 4px; }
.mfh-card__type { font-size: 11px; font-weight: 700; color: var(--mf-muted); text-transform: uppercase; letter-spacing: .06em; }
.mfh-card__name { margin: 0; font-size: 15px; font-weight: 800; line-height: 1.3; flex: 1; }
.mfh-card__price { margin: 4px 0 0; color: var(--mf-gold); font-size: 14px; font-weight: 800; }
.mfh-card__cta {
  display: block;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--mf-line);
  font-size: 12px; font-weight: 700;
  color: var(--mf-gold);
  letter-spacing: .04em;
}

/* ── SHOWCASE ── */
.mfh-showcase { padding: 80px 0; background: var(--mf-bg); }
.mfh-showcase__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.mfh-showcase__images { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.mfh-showcase__img--main { border-radius: var(--mf-radius); object-fit: cover; width: 100%; }
.mfh-showcase__img--sub  { border-radius: var(--mf-radius); object-fit: cover; width: 100%; margin-top: 40px; }
.mfh-showcase__copy { margin: 16px 0 28px; font-size: 16px; line-height: 1.7; color: var(--mf-muted); }
.mfh-showcase__stats { display: flex; gap: 32px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--mf-line); }
.mfh-stat-val { display: block; font-size: 28px; font-weight: 900; color: var(--mf-text); letter-spacing: -.02em; }
.mfh-stat-lbl { display: block; font-size: 12px; font-weight: 600; color: var(--mf-muted); margin-top: 2px; }

/* ── FEATURES ── */
.mfh-features { padding: 80px 0; background: var(--mf-bg); }
.mfh-feats { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; }
.mfh-feat {
  padding: 36px 32px;
  background: var(--mf-surface);
  border: 1px solid var(--mf-line);
  border-radius: var(--mf-radius);
  box-shadow: var(--mf-shadow);
}
.mfh-feat__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(179,144,71,.1);
  color: var(--mf-gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.mfh-feat__title { margin: 0 0 10px; font-size: 18px; font-weight: 800; color: var(--mf-text); }
.mfh-feat__desc  { margin: 0; font-size: 14px; line-height: 1.65; color: var(--mf-muted); }

/* ── FAQ ── */
.mfh-faq { padding: 80px 0; background: var(--mf-bg); }
.mfh-faq__card {
  background: #fff;
  border: 1px solid var(--mf-line);
  border-radius: var(--mf-radius);
  padding: 60px;
}
.mfh-faq__grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: start;
}
.mfh-faq__sub { margin: 16px 0 0; font-size: 15px; color: var(--mf-muted); line-height: 1.6; }
.mfh-faq__list { display: flex; flex-direction: column; }
.mfh-faq__item { border-bottom: 1px solid var(--mf-line); }
.mfh-faq__item:first-child { border-top: 1px solid var(--mf-line); }
.mfh-faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 18px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  color: var(--mf-text);
}
.mfh-faq__icon { flex-shrink: 0; color: var(--mf-gold); transition: transform .25s; }
.mfh-faq__item.is-open .mfh-faq__icon { transform: rotate(45deg); }
.mfh-faq__a { display: none; padding-bottom: 18px; }
.mfh-faq__item.is-open .mfh-faq__a { display: block; }
.mfh-faq__a p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--mf-muted); }

/* ── CTA ── */
.mfh-cta { padding: 80px 0; background: var(--mf-bg); }
.mfh-cta__card {
  background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 50%, #1a1108 100%);
  border-radius: var(--mf-radius);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.mfh-cta__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 0%, rgba(179,144,71,.18), transparent 60%);
  pointer-events: none;
}
.mfh-cta__card .mfh-kicker { color: var(--mf-gold); }
.mfh-cta__title { margin: 0 0 16px; font-size: clamp(32px,5vw,52px); font-weight: 900; color: #fff; letter-spacing: -.02em; }
.mfh-cta__copy  { margin: 0 0 36px; font-size: 16px; color: rgba(255,255,255,.65); }

/* ── Dark Mode Adjustments ── */
[data-theme="dark"] .mfh-section,
[data-theme="dark"] .mfh-section--alt,
[data-theme="dark"] .mfh-hero,
[data-theme="dark"] .mfh-features,
[data-theme="dark"] .mfh-showcase,
[data-theme="dark"] .mfh-faq,
[data-theme="dark"] .mfh-cta { background: var(--mf-black); }
[data-theme="dark"] .mfh-faq__card { background: var(--mf-surface); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .mfh-products-grid,
  .mfh-grid,
  ul.products,
  .woocommerce ul.products,
  .mfh-shop .products,
  .mfh-cat-grid,
  .mfh-cat-grid--4,
  .mfh-products {
    grid-template-columns: repeat(2,1fr);
  }
  .mfh-hero__bento { grid-template-columns: 1fr; }
  .mfh-hero__main-card { grid-template-columns: 1fr; }
  .mfh-hero__sidebar { display: grid; grid-template-columns: 1fr 1fr; }
  .mfh-showcase__grid { grid-template-columns: 1fr; gap: 40px; }
  .mfh-feats { grid-template-columns: 1fr; }
  .mfh-faq__grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (min-width: 481px) and (max-width: 1024px) {
  .mfh-side-card {
    padding: 16px;
  }
}
@media (max-width: 640px) {
  .mfh-hero__sidebar { grid-template-columns: 1fr; }
  .mfh-grid--3 { grid-template-columns: 1fr; }
  .mfh-faq__card { padding: 32px 24px; }
  .mfh-cta__card { padding: 48px 24px; }
  .mfh-hero__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* ── Category Cards (Leistung section) ── */
.mfh-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.mfh-cat-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 24px;
  background: var(--mf-surface);
  border: 1px solid var(--mf-line);
  border-radius: var(--mf-radius);
  text-decoration: none;
  color: var(--mf-text);
  transition: border-color .2s, transform .15s;
  position: relative;
}
.mfh-cat-card:hover { border-color: var(--mf-line-strong); transform: translateY(-1px); }
.mfh-cat-card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(179,144,71,.09);
  color: var(--mf-gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.mfh-cat-card__badge {
  display: inline-block;
  padding: 3px 10px;
  background: var(--mf-gold);
  color: #fff;
  font-size: 11px; font-weight: 800;
  border-radius: 999px;
  width: fit-content;
}
.mfh-cat-card__title { margin: 0; font-size: 16px; font-weight: 800; }
.mfh-cat-card__sub   { margin: 0; font-size: 13px; color: var(--mf-muted); line-height: 1.4; }
.mfh-cat-card__arrow {
  margin-top: auto;
  padding-top: 12px;
  font-size: 16px;
  color: var(--mf-gold);
  font-weight: 700;
}

/* ── Tech Cards (Fahrzeugtechnik section) ── */
.mfh-cat-grid--4 { grid-template-columns: repeat(4, 1fr); }
.mfh-tech-card {
  display: flex;
  flex-direction: column;
  background: var(--mf-surface);
  border: 1px solid var(--mf-line);
  border-radius: var(--mf-radius);
  box-shadow: var(--mf-shadow);
  text-decoration: none;
  color: var(--mf-text);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.mfh-tech-card:hover { box-shadow: var(--mf-shadow-lg); transform: translateY(-3px); }
.mfh-tech-card__img {
  height: 180px;
  background: var(--mf-surface-2);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.mfh-tech-card__img--placeholder { background: var(--mf-surface-2); }
.mfh-tech-card__img img { width: 100%; height: 100%; object-fit: cover; }
.mfh-tech-card__body { padding: 20px; }
.mfh-tech-card__badge {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(179,144,71,.12);
  color: var(--mf-gold);
  font-size: 11px; font-weight: 800;
  border-radius: 999px;
  margin-bottom: 8px;
}
.mfh-tech-card__name { margin: 0 0 4px; font-size: 15px; font-weight: 800; }
.mfh-tech-card__sub  { margin: 0; font-size: 13px; color: var(--mf-muted); }

/* ── Responsive additions ── */
@media (max-width: 1024px) {
  .mfh-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .mfh-cat-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .mfh-cat-grid { grid-template-columns: 1fr; }
  .mfh-cat-grid--4 { grid-template-columns: 1fr 1fr; }
  .mfh-hero__image { min-height: 260px; }
  .mfh-hero__slide img { height: 240px; }
}


/* ── Tabs ── */
.mfh-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .mfh-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
    margin-left: -12px;
    margin-right: -12px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .mfh-tabs::-webkit-scrollbar {
    display: none;
  }
  .mfh-tabs .mfh-tab {
    flex-shrink: 0;
    white-space: nowrap;
  }
}
.mfh-tab {
  height: 34px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1.5px solid var(--mf-line);
  background: transparent;
  color: var(--mf-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}
.mfh-tab:hover { border-color: var(--mf-line-strong); color: var(--mf-text); }
.mfh-tab.is-active {
  background: var(--mf-text);
  border-color: var(--mf-text);
  color: var(--mf-bg);
  font-weight: 700;
}
.mfh-tab-panel { display: none; }
.mfh-tab-panel.is-active { display: block; }
.mfh-tab-footer { margin-top: 24px; }

/* Empty state */
.mfh-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  color: var(--mf-muted);
}
.mfh-empty-state p { margin: 0; font-size: 15px; }

@media (max-width: 1024px) {
  .mfh-hero__bento { grid-template-columns: 1fr; }
  .mfh-hero__main-card { grid-template-columns: 1fr; }
  .mfh-hero__sidebar { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .mfh-hero__sidebar { grid-template-columns: 1fr; }
  .mfh-hero__slide img { height: 260px; }
}


/* ═══════════════════════════════════════════════
   WOOCOMMERCE — Shop Archive
   ═══════════════════════════════════════════════ */

/* Shop Hero */
.mfh-shop-hero {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--mf-surface); border: 1px solid var(--mf-line);
  border-radius: var(--mf-radius); padding: 40px 48px;
  box-shadow: var(--mf-shadow); gap: 32px; flex-wrap: wrap;
}
.mfh-shop-hero__back {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 500; color: var(--mf-gold);
  text-decoration: none; margin-bottom: 8px; transition: gap .2s;
}
.mfh-shop-hero__back:hover { gap: 8px; }
.mfh-shop-hero__title {
  font-size: clamp(26px, 3.5vw, 38px); font-weight: 800;
  letter-spacing: -.02em; line-height: 1.1; color: var(--mf-text); margin: 0;
}
.mfh-shop-hero__desc {
  font-size: 15px; line-height: 1.6; color: var(--mf-muted); margin: 8px 0 0; max-width: 400px;
}
.mfh-shop-hero__actions { display: flex; gap: 10px; flex-shrink: 0; }

/* Toolbar */
.mfh-shop-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.mfh-shop-toolbar__count { font-size: 13px; color: var(--mf-muted); }
.mfh-shop-toolbar__count .woocommerce-result-count { margin: 0; font-size: inherit; color: inherit; }

/* Product Grid */
ul.products,
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Shop Card */
.mfh-shop-card {
  background: var(--mf-surface); border: 1px solid var(--mf-line);
  border-radius: var(--mf-radius); overflow: hidden;
  box-shadow: var(--mf-shadow);
  transition: box-shadow .3s, transform .3s, border-color .3s;
  display: flex; flex-direction: column;
  list-style: none !important; margin: 0 !important; padding: 0 !important;
  float: none !important; width: auto !important;
}
.mfh-shop-card:hover { box-shadow: var(--mf-shadow-lg); transform: translateY(-4px); border-color: var(--mf-line-strong); }
.mfh-shop-card__link {
  display: flex; flex-direction: column; flex: 1;
  text-decoration: none; color: inherit;
}
.mfh-shop-card__img {
  position: relative; aspect-ratio: 1; background: #fff;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.mfh-shop-card__img img {
  width: 100%; height: 100%; object-fit: contain; padding: 16px;
  transition: transform .5s ease;
}
.mfh-shop-card:hover .mfh-shop-card__img img { transform: scale(1.06); }

/* Badge row: top-left chip stack */
.mfh-shop-card__badges {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  display: flex; flex-direction: column; gap: 6px;
}
.mfh-shop-card__badge {
  display: inline-block; font-size: 10px; font-weight: 700;
  padding: 4px 10px; border-radius: 30px;
  letter-spacing: .05em; text-transform: uppercase;
  line-height: 1.2;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.mfh-shop-card__badge--sale {
  color: #b91c1c !important;
  border-color: rgba(239,68,68,.25) !important;
}
.mfh-shop-card__badge--kba {
  color: #966d14 !important;
  border-color: rgba(179,144,71,.3) !important;
}
.mfh-shop-card__badge--euro {
  color: #15803d !important;
  border-color: rgba(34,197,94,.3) !important;
}

/* Stock badge: top-right */
.mfh-shop-card__stock-badge {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 30px;
  letter-spacing: .05em; text-transform: uppercase;
  line-height: 1.2;
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.mfh-shop-card__stock-badge--in   { color: #15803d !important; border: 1px solid rgba(34,197,94,.3) !important; }
.mfh-shop-card__stock-badge--low  { color: #c2410c !important; border: 1px solid rgba(249,115,22,.3) !important; }
.mfh-shop-card__stock-badge--out  { color: #b91c1c !important; border: 1px solid rgba(239,68,68,.3) !important; }
.mfh-shop-card__stock-badge--back { color: #4338ca !important; border: 1px solid rgba(99,102,241,.3) !important; }

.mfh-shop-card__body {
  padding: 20px; display: flex; flex-direction: column; gap: 4px; flex: 1;
  border-top: 1px solid var(--mf-line);
}
.mfh-shop-card__cat {
  font-size: 11px; font-weight: 600; color: var(--mf-gold);
  letter-spacing: .04em; text-transform: uppercase;
}
.mfh-shop-card__title {
  font-size: 14px; font-weight: 700; color: var(--mf-text); margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  line-height: 1.4em; height: 4.6em;
}
.mfh-shop-card__price {
  font-size: 16px; font-weight: 700; color: var(--mf-text); margin-top: 4px;
  display: flex; gap: 8px; align-items: baseline;
}
.mfh-shop-card__price del { color: var(--mf-muted); font-weight: 400; font-size: 13px; order: 2; }
.mfh-shop-card__price ins { text-decoration: none; color: var(--mf-text); order: 1; }
.mfh-shop-card__tax-note {
  font-size: 10px; color: var(--mf-muted); margin-top: 2px;
  font-weight: 400; letter-spacing: .01em;
}
.mfh-shop-card__cta {
  padding: 14px 20px; text-align: center; font-size: 13px; font-weight: 600;
  color: var(--mf-gold); border-top: 1px solid var(--mf-line);
  transition: background .2s, color .2s;
}
.mfh-shop-card:hover .mfh-shop-card__cta { background: var(--mf-text); color: var(--mf-bg); }

/* Fact Badge — subtle inline pill with icon */
.mfh-shop-card__fact {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  margin-top: 8px;
}
.mfh-shop-card__fact .material-symbols-rounded {
  font-size: 15px;
}
.mfh-shop-card__fact--drossel {
  background: rgba(179,144,71,.1);
  color: var(--mf-gold);
}
.mfh-shop-card__fact--mofa {
  background: rgba(74,98,116,.1);
  color: #5e7f94;
}
.mfh-shop-card__fact--tiefer {
  background: rgba(45,106,79,.1);
  color: #40916c;
}
.mfh-shop-card__fact--hoeher {
  background: rgba(56,97,140,.1);
  color: #38618c;
}

/* Pagination */
/* ── Load More Button ── */
.mfh-load-more {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 48px 0 0; text-align: center;
}
.mfh-load-more__btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 40px; border-radius: 12px;
  font-size: 15px; font-weight: 700; cursor: pointer;
  color: var(--mf-text); background: var(--mf-surface);
  border: 1.5px solid var(--mf-line);
  font-family: var(--mf-font);
  transition: all .25s ease;
  letter-spacing: .01em;
}
.mfh-load-more__btn:hover {
  background: var(--mf-text); color: var(--mf-bg);
  border-color: var(--mf-text);
}
.mfh-load-more__btn.is-loading .mfh-load-more__label { opacity: .5; }
.mfh-load-more__btn.is-loading .mfh-load-more__spinner {
  display: inline-block; width: 16px; height: 16px;
  border: 2px solid var(--mf-line); border-top-color: var(--mf-gold);
  border-radius: 50%; animation: mfh-spin .6s linear infinite;
}
.mfh-load-more__spinner { display: none; }
@keyframes mfh-spin { to { transform: rotate(360deg); } }
.mfh-load-more__count {
  font-size: 13px; color: var(--mf-muted); font-weight: 500;
}
.mfh-load-more__bar {
  width: 200px; height: 3px; border-radius: 2px;
  background: var(--mf-line); overflow: hidden;
}
.mfh-load-more__bar-fill {
  height: 100%; background: var(--mf-gold);
  border-radius: 2px; transition: width .4s ease;
}

/* Responsive grid */
@media (max-width: 1024px) {
  .mfh-products-grid,
  .mfh-grid,
  ul.products,
  .woocommerce ul.products,
  .mfh-shop .products,
  .mfh-products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .mfh-shop-hero { padding: 32px; }
}
@media (max-width: 768px) {
  .mfh-products-grid,
  .mfh-grid,
  ul.products,
  .woocommerce ul.products,
  .mfh-shop .products,
  .mfh-products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .mfh-shop-hero { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .mfh-shop-hero__actions { width: 100%; }
  .mfh-shop-hero__actions .mfh-btn { flex: 1; text-align: center; }
}
@media (max-width: 480px) {
  .mfh-products-grid,
  .mfh-grid,
  ul.products,
  .woocommerce ul.products,
  .mfh-shop .products,
  .mfh-products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}


/* ═══════════════════════════════════════════════
   WOOCOMMERCE — Single Product
   ═══════════════════════════════════════════════ */

/* Breadcrumb */
.mfh-breadcrumb {
  font-size: 13px; color: var(--mf-muted); margin-bottom: 8px;
}
.mfh-breadcrumb a { color: var(--mf-muted); text-decoration: none; transition: color .2s; }
.mfh-breadcrumb a:hover { color: var(--mf-text); }
.mfh-breadcrumb__sep { margin: 0 6px; opacity: .4; }

/* PDP Grid */
.mfh-pdp-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}

/* Gallery card */
.mfh-pdp-gallery { padding: 24px; align-self: start; position: relative; }
.mfh-pdp-gallery__main {
  position: relative; aspect-ratio: 1; display: flex;
  align-items: center; justify-content: center;
  background: var(--mf-bg); border-radius: var(--mf-radius);
  cursor: default; overflow: hidden;
}
.mfh-pdp-gallery__main img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform .3s;
}

/* Gallery badges — positioned on the gallery card, NOT inside __main */
.mfh-pdp-gallery__badges {
  position: absolute; top: 14px; left: 14px;
  z-index: 3; pointer-events: none;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 5px;
}
.mfh-pdp-sale {
  font-size: 10px; font-weight: 800;
  background: #ef4444; color: #fff;
  padding: 4px 12px; border-radius: 6px; text-transform: uppercase;
  pointer-events: auto;
}
.mfh-pdp-badge {
  font-size: 10px; font-weight: 800;
  padding: 4px 10px; border-radius: 6px; text-transform: uppercase;
  pointer-events: auto;
}
.mfh-pdp-badge--kba {
  background: rgba(179,144,71,.12); color: var(--mf-gold);
  border: 1px solid rgba(179,144,71,.25);
}
.mfh-pdp-badge--euro {
  background: rgba(37,99,235,.08); color: #2563eb;
  border: 1px solid rgba(37,99,235,.2);
}
.mfh-pdp-gallery__thumbs {
  display: flex; gap: 8px; margin-top: 12px;
}
.mfh-pdp-thumb {
  width: 64px; height: 64px; border-radius: 10px;
  border: 2px solid transparent; background: var(--mf-bg);
  padding: 4px; cursor: pointer; transition: border-color .2s;
}
.mfh-pdp-thumb img { width: 100%; height: 100%; object-fit: contain; }
.mfh-pdp-thumb.is-active,
.mfh-pdp-thumb:hover { border-color: var(--mf-gold); }

/* Info card */
.mfh-pdp-info { padding: 36px; display: flex; flex-direction: column; }
.mfh-pdp-info__cat {
  font-size: 11px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--mf-gold); margin-bottom: 6px;
}
.mfh-pdp-info__title {
  font-size: clamp(22px, 3vw, 30px); font-weight: 800;
  color: var(--mf-text); margin: 0 0 6px; letter-spacing: -.02em;
}
.mfh-pdp-info__desc {
  font-size: 14px; line-height: 1.6; color: var(--mf-muted);
  margin: 0 0 12px; max-width: 400px;
}
.mfh-pdp-info__sku {
  font-size: 11px; color: var(--mf-muted); margin-bottom: 20px;
}
.mfh-pdp-info__price-row {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 4px;
}
.mfh-pdp-info__tax-note {
  font-size: 12px; color: var(--mf-muted); font-weight: 400;
  padding-bottom: 20px; margin-bottom: 20px;
  border-bottom: 1px solid var(--mf-line);
}
.mfh-pdp-info__price { font-size: 28px; font-weight: 800; color: var(--mf-text); }
.mfh-pdp-info__price del { color: var(--mf-muted); font-weight: 400; font-size: 18px; }
.mfh-pdp-info__price ins { text-decoration: none; }
.mfh-pdp-info__stock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.mfh-stock-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mfh-stock-dot--green  { background: #22c55e; }
.mfh-stock-dot--orange { background: #f97316; }
.mfh-stock-dot--gold   { background: var(--mf-gold); }
.mfh-stock-dot--red    { background: #ef4444; }
.mfh-stock-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--mf-muted);
}

/* ── Biketown-style spec highlights (below price) ── */
.mfh-pdp-specs-quick {
  margin: 16px 0 20px;
  padding: 0;
}
.mfh-pdp-specs-quick__row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid var(--mf-line);
  font-size: 13px;
  line-height: 1.4;
}
.mfh-pdp-specs-quick__row:last-child { border-bottom: none; }
.mfh-pdp-specs-quick__chevron {
  flex-shrink: 0;
  color: var(--mf-gold);
  display: flex;
  align-items: center;
  margin-top: 1px;
}
.mfh-pdp-specs-quick__label {
  font-weight: 700;
  color: var(--mf-text);
  white-space: nowrap;
}
.mfh-pdp-specs-quick__value {
  margin-left: auto;
  text-align: right;
  color: var(--mf-muted);
  font-weight: 400;
  word-break: break-word;
}


/* Cart form */
.mfh-pdp-cart { margin-bottom: 20px; }
.mfh-pdp-cart form.cart { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
/* VIN field injected via hook sits on its own row */
.mfh-pdp-cart form.cart .mfh-pdp-vin-inline { flex: 0 0 100%; margin: 0 0 4px !important; }
.mfh-pdp-cart .quantity .qty {
  width: 56px; padding: 12px 8px; text-align: center;
  border-radius: 10px; border: 1.5px solid var(--mf-line);
  font-size: 14px; font-weight: 700; font-family: inherit;
  background: var(--mf-surface); color: var(--mf-text);
}
.mfh-pdp-cart .single_add_to_cart_button {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 10px; font-size: 14px; font-weight: 700;
  background: var(--mf-text) !important; color: var(--mf-bg) !important;
  border: none; cursor: pointer; transition: opacity .2s; font-family: inherit;
  text-transform: uppercase; letter-spacing: .04em;
}
.mfh-pdp-cart .single_add_to_cart_button:hover { opacity: .85; }

/* Trust line */
.mfh-pdp-trust-line {
  display: flex; align-items: center; gap: 0; flex-wrap: wrap;
  font-size: 12px; color: var(--mf-muted); padding-top: 4px;
}
.mfh-pdp-trust-line span { display: inline-flex; align-items: center; gap: 4px; }
.mfh-pdp-trust-line svg { color: var(--mf-gold); }
.mfh-pdp-trust-sep { margin: 0 10px; opacity: .3; }

/* Detail tabs */
.mfh-pdp-tabs {
  display: flex; gap: 4px; margin-bottom: 28px;
  border-bottom: 1.5px solid var(--mf-line);
}
.mfh-pdp-tab {
  background: none; border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0; padding: 14px 24px;
  font-size: 14px; font-weight: 600;
  color: var(--mf-muted); cursor: pointer;
  font-family: inherit; margin-bottom: -1.5px;
  transition: color .15s;
}
.mfh-pdp-tab.is-active { border-bottom-color: var(--mf-gold); color: var(--mf-text); font-weight: 700; }
.mfh-pdp-tab:hover { color: var(--mf-text); }

/* Specs table */
.mfh-pdp-specs-table { width: 100%; border-collapse: collapse; }
.mfh-pdp-specs-table tr { border-bottom: 1px solid var(--mf-line); }
.mfh-pdp-specs-table tr:last-child { border-bottom: none; }
.mfh-spec-l { padding: 14px 0; font-size: 14px; font-weight: 600; color: var(--mf-muted); width: 180px; }
.mfh-spec-r { padding: 14px 0; font-size: 14px; font-weight: 600; color: var(--mf-text); }

/* Description */
.mfh-pdp-desc-content { font-size: 15px; line-height: 1.8; color: var(--mf-muted); max-width: 100%; }

/* ── Dynamic Description styling ── */
.mf-dynamic-desc {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 8px 0;
}
.mf-dynamic-desc__section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mf-dynamic-desc__section h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--mf-text);
  margin: 0;
  padding-left: 12px;
  border-left: 3px solid var(--mf-gold);
  line-height: 1.2;
}
.mf-dynamic-desc__p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--mf-muted);
  margin: 0;
}
.mf-dynamic-desc__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}
.mf-dynamic-desc__bullets li {
  font-size: 14px;
  color: var(--mf-muted);
  position: relative;
  padding-left: 20px;
  line-height: 1.5;
}
.mf-dynamic-desc__bullets li::before {
  content: "✓";
  color: var(--mf-gold);
  position: absolute;
  left: 0;
  font-weight: 700;
}
.mf-dynamic-desc__meta-box {
  background: var(--mf-bg);
  border: 1px solid var(--mf-line);
  border-radius: 8px;
  padding: 16px;
  margin-top: 4px;
}
.mf-dynamic-desc__meta-box strong {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mf-text);
  margin-bottom: 6px;
}
.mf-dynamic-desc__meta-val {
  font-size: 14px;
  color: var(--mf-gold);
  font-weight: 600;
  margin: 0;
}
.mf-dynamic-desc__alert {
  display: flex;
  gap: 16px;
  background: rgba(179, 144, 71, 0.05);
  border: 1px dashed rgba(179, 144, 71, 0.3);
  border-radius: 10px;
  padding: 20px;
}
.mf-dynamic-desc__alert-icon {
  color: var(--mf-gold);
  display: flex;
  align-items: flex-start;
}
.mf-dynamic-desc__alert-icon .material-symbols-rounded {
  font-size: 28px;
}
.mf-dynamic-desc__alert-content {
  font-size: 14px;
  line-height: 1.6;
  color: var(--mf-muted);
  flex: 1;
}
.mf-dynamic-desc__alert-content strong {
  color: var(--mf-text);
}
.mf-dynamic-desc__accordion-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--mf-bg);
  border: 1px solid var(--mf-line);
  border-radius: 8px;
  padding: 14px 20px;
  color: var(--mf-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: background .2s, color .2s;
  font-family: inherit;
}
.mf-dynamic-desc__accordion-btn:hover {
  background: var(--mf-line);
  color: var(--mf-text);
}
.mf-dynamic-desc__accordion-btn .material-symbols-rounded {
  transition: transform 0.25s ease;
}
.mf-dynamic-desc__accordion-panel {
  border: 1px solid var(--mf-line);
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  margin-top: -8px;
}
.mf-dynamic-desc__fallback-content {
  font-size: 14px;
  line-height: 1.7;
  color: var(--mf-muted);
}
.mf-dynamic-desc__fallback-content p {
  margin: 0 0 1em;
}
.mf-dynamic-desc__fallback-content p:last-child {
  margin-bottom: 0;
}

/* Responsive PDP */
@media (max-width: 768px) {
  .mfh-pdp-grid { grid-template-columns: 1fr; }
  .mfh-pdp-info { padding: 24px; }
  .mfh-pdp-gallery { padding: 16px; }
  .mfh-pdp-cart form.cart { flex-direction: column; }
}

/* ═══ WooCommerce Global Overrides ═══ */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background: var(--mf-surface) !important;
  border: 1px solid var(--mf-line) !important;
  border-left: 3px solid var(--mf-gold) !important;
  border-radius: var(--mf-radius) !important;
  color: var(--mf-text) !important;
  padding: 16px 20px 16px 52px !important;
  font-size: 14px !important;
  box-shadow: var(--mf-shadow) !important;
  position: relative !important;
  list-style: none !important;
}
.woocommerce-error {
  border-left-color: #ef4444 !important;
}
.woocommerce-info {
  border-left-color: var(--mf-gold) !important;
}
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
  font-family: 'Material Symbols Rounded' !important;
  font-weight: normal !important;
  font-style: normal !important;
  font-size: 20px !important;
  line-height: 1 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  word-wrap: normal !important;
  white-space: nowrap !important;
  direction: ltr !important;
  -webkit-font-smoothing: antialiased !important;
  position: absolute !important;
  left: 18px !important;
  top: 16px !important;
  display: inline-block !important;
}
.woocommerce-message::before {
  content: "check_circle" !important;
  color: #22c55e !important;
}
.woocommerce-info::before {
  content: "info" !important;
  color: var(--mf-gold) !important;
}
.woocommerce-error::before {
  content: "error" !important;
  color: #ef4444 !important;
}



/* ═══════════════════════════════════════════════
   PAGE LAYOUT WRAPPERS
   ═══════════════════════════════════════════════ */

.mfh-page-wrap {
  padding-bottom: 80px;
}

/* Archive sections */
.mfh-shop-archive-hero {
  padding: 40px 0 0;
}
.mfh-shop-toolbar-wrap {
  padding: 24px 0 0;
}
.mfh-shop-grid-wrap {
  padding: 24px 0 0;
}
.mfh-empty-state {
  text-align: center; padding: 80px 0;
}
.mfh-empty-state p { font-size: 18px; font-weight: 600; color: var(--mf-muted); margin-bottom: 20px; }

/* PDP sections */
.mfh-pdp-breadcrumb-bar {
  padding: 28px 0 0;
}
.mfh-pdp-hero-wrap {
  padding: 16px 0 0;
}
.mfh-pdp-details-wrap {
  padding: 24px 0 0;
}

/* Stock dot */
.mfh-pdp-stock-dot {
  width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex-shrink: 0;
}


/* ═══════════════════════════════════════════════
   WOOCOMMERCE — Cart (Legacy Shortcode)
   ═══════════════════════════════════════════════ */

/* Cart page wrapper */
.woocommerce-cart .mfh-page-wrap,
.woocommerce-cart .entry-content { padding: 40px 0 80px; }

/* 2-col layout: cart form left, totals right */
.woocommerce-cart .woocommerce {
  display: flex !important;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
}
.woocommerce-cart .woocommerce::before,
.woocommerce-cart .woocommerce::after { display: none !important; }
.woocommerce-cart .woocommerce-notices-wrapper { flex: 0 0 100%; }
.woocommerce-cart .woocommerce-cart-form { flex: 1 1 0; min-width: 0; }
.woocommerce-cart .cart-collaterals { flex: 0 0 380px; min-width: 0; }

/* Cart table */
.woocommerce table.shop_table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  border: 1px solid var(--mf-line); border-radius: var(--mf-radius);
  overflow: hidden; background: var(--mf-surface);
}
.woocommerce table.shop_table thead { background: var(--mf-bg); }
.woocommerce table.shop_table th {
  padding: 14px 16px; font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--mf-muted); border: none; text-align: left;
}
.woocommerce table.shop_table td {
  padding: 16px; font-size: 14px; color: var(--mf-text);
  border-top: 1px solid var(--mf-line); vertical-align: middle;
  background: var(--mf-surface);
}
.woocommerce table.shop_table .product-remove { width: 44px; text-align: center; }
.woocommerce table.shop_table .product-thumbnail { width: 80px; }
.woocommerce table.shop_table .product-quantity { width: 110px; }
.woocommerce table.shop_table .product-price,
.woocommerce table.shop_table .product-subtotal { width: 100px; text-align: right; font-weight: 700; }
.woocommerce table.shop_table td.product-name a {
  color: var(--mf-text); font-weight: 600; text-decoration: none;
}
.woocommerce table.shop_table td.product-name a:hover { color: var(--mf-muted); }
.woocommerce table.shop_table img {
  width: 60px; height: 60px; object-fit: contain;
  border-radius: 8px; background: var(--mf-bg);
}
/* Remove button */
.woocommerce a.remove {
  color: var(--mf-muted) !important; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 6px; text-decoration: none;
  transition: background .2s, color .2s;
}
.woocommerce a.remove:hover { background: rgba(239,68,68,.08); color: #ef4444 !important; }

/* Coupon + Update actions */
.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 !important; padding: 10px 14px !important;
  border-radius: 8px !important; border: 1.5px solid var(--mf-line) !important;
  background: var(--mf-bg) !important; color: var(--mf-text) !important;
  font-size: 13px !important; font-family: inherit !important;
}
.woocommerce table.shop_table .coupon input[type="text"]:focus { border-color: var(--mf-gold) !important; outline: none !important; }

/* Qty input */
.woocommerce .quantity .qty {
  width: 60px; padding: 9px 8px; text-align: center;
  border-radius: 8px; border: 1.5px solid var(--mf-line);
  font-size: 14px; font-weight: 700; background: var(--mf-bg);
  color: var(--mf-text); font-family: inherit;
}

/* Cart totals */
.woocommerce .cart_totals {
  background: var(--mf-surface); border: 1px solid var(--mf-line);
  border-radius: var(--mf-radius); padding: 28px;
  box-shadow: var(--mf-shadow);
}

/* In our custom card layout, don't restyle these with a nested card */
.mf-cart-page .woocommerce .cart_totals,
.mf-checkout-page .woocommerce .woocommerce-checkout-review-order {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.woocommerce .cart_totals h2 {
  font-size: 18px; font-weight: 800; color: var(--mf-text); margin: 0 0 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 var(--mf-line); 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: var(--mf-muted); text-align: left; }
.woocommerce .cart_totals .order-total th { font-size: 15px; color: var(--mf-text); font-weight: 800; }
.woocommerce .cart_totals .order-total td { font-weight: 800; font-size: 22px; color: var(--mf-text); }
.woocommerce .cart_totals .woocommerce-Price-amount { color: var(--mf-text); }

/* Proceed to checkout */
.wc-proceed-to-checkout { padding-top: 16px; }
.wc-proceed-to-checkout a.checkout-button,
.wc-proceed-to-checkout .checkout-button {
  display: block !important; width: 100% !important;
  padding: 16px 28px !important; border-radius: 10px !important;
  background: var(--mf-text) !important; color: var(--mf-bg) !important;
  font-size: 15px !important; font-weight: 700 !important;
  text-align: center; text-decoration: none; text-transform: uppercase;
  letter-spacing: .04em; border: none !important;
  transition: opacity .2s !important; box-sizing: border-box !important;
}
.wc-proceed-to-checkout a.checkout-button:hover { opacity: .85 !important; }

/* Cart responsive */
@media (max-width: 768px) {
  .woocommerce-cart .woocommerce { flex-direction: column; }
  .woocommerce-cart .cart-collaterals { flex: none; width: 100%; }
}


/* ═══════════════════════════════════════════════
   WOOCOMMERCE — Checkout (Legacy Shortcode)
   ═══════════════════════════════════════════════ */

/* Checkout 2-col layout */
.woocommerce-checkout .woocommerce {
  display: flex !important;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
}
.woocommerce-checkout .woocommerce::before,
.woocommerce-checkout .woocommerce::after { display: none !important; }
.woocommerce-checkout .woocommerce-notices-wrapper { flex: 0 0 100%; }
#customer_details { flex: 1 1 0; min-width: 0; }
#order_review_heading,
#order_review { flex: 0 0 380px; min-width: 0; }
#order_review_heading {
  font-size: 18px; font-weight: 800; color: var(--mf-text); margin: 0 0 16px;
}

/* Field styling */
.woocommerce-checkout .form-row { margin-bottom: 16px; }
.woocommerce-checkout .form-row label {
  display: block; font-size: 12px; font-weight: 600; color: var(--mf-muted);
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px;
}
.woocommerce-checkout .form-row .required { color: #ef4444; }
.woocommerce-checkout .form-row input[type="text"],
.woocommerce-checkout .form-row input[type="email"],
.woocommerce-checkout .form-row input[type="tel"],
.woocommerce-checkout .form-row input[type="number"],
.woocommerce-checkout .form-row input[type="password"],
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
  width: 100% !important; padding: 12px 16px !important;
  border-radius: 10px !important; border: 1.5px solid var(--mf-line) !important;
  background: var(--mf-surface) !important; color: var(--mf-text) !important;
  font-size: 14px !important; font-family: inherit !important;
  box-sizing: border-box !important; transition: border-color .2s !important;
  outline: none !important;
}
.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus { border-color: var(--mf-gold) !important; }
/* Checkout field helpers */
.woocommerce-checkout .mfh-billing-name-field {
  clear: both;
}
.woocommerce-checkout .mfh-billing-name-separator,
.woocommerce-checkout .mf-billing-name-separator {
  grid-column: 1 / -1;
  width: 100%;
  height: 1px;
  background: var(--mf-line);
  opacity: .5;
  margin: 10px 0 18px;
}
.woocommerce-checkout .mfh-half {
  width: calc(50% - 8px) !important;
}
.woocommerce-checkout .mfh-company-toggle {
  margin-top: 12px;
  padding-top: 0;
  border-top: 0;
}

.woocommerce-checkout .mfh-company-toggle .mfh-company-toggle-label {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--mf-muted);
  text-decoration: none;
  transition: color .15s;
  cursor: pointer;
}

.woocommerce-checkout .mfh-company-toggle .mfh-company-toggle-label::before {
  content: '+';
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
  color: var(--mf-gold);
  font-weight: 700;
}

.woocommerce-checkout .mfh-company-toggle .mfh-company-toggle-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.woocommerce-checkout .mfh-company-toggle label:hover,
.woocommerce-checkout .mfh-company-toggle.mf-company-open .mfh-company-toggle-label,
.woocommerce-checkout .mfh-company-toggle .mfh-company-toggle-input:checked + label {
  color: var(--mf-text);
}

.woocommerce-checkout .mfh-company-toggle.mf-company-open .mfh-company-toggle-label::before,
.woocommerce-checkout .mfh-company-toggle .mfh-company-toggle-input:checked + label::before {
  content: '-';
}

.woocommerce-checkout .mfh-company-toggle .mfh-company-toggle-input:focus + label {
  outline: 1px dashed var(--mf-gold);
  outline-offset: 4px;
}

.woocommerce-checkout .mfh-company-toggle .input-checkbox {
  display: none !important;
  width: 16px;
  height: 16px;
  margin: 0;
}
.woocommerce-checkout .mfh-company-dependent.mfh-company-hidden,
.woocommerce-checkout .mfh-country-hidden {
  display: none !important;
}
.woocommerce-checkout .col2-set {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.woocommerce-checkout .col2-set::before,
.woocommerce-checkout .col2-set::after { display: none !important; }
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 { width: 100% !important; float: none !important; }

/* Section headings */
.woocommerce-checkout h3 {
  font-size: 18px; font-weight: 800; color: var(--mf-text); margin: 0 0 20px;
  padding-bottom: 12px; border-bottom: 1px solid var(--mf-line);
}

/* Order review table */
#order_review .shop_table {
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 24px;
}
#order_review .shop_table th {
  background: transparent;
  color: var(--mf-muted);
}

/* Payment section */
#payment {
  background: transparent !important;
  border: none !important;
  border-radius: 0;
  padding: 0;
  margin-top: 16px;
}
#payment .payment_methods { list-style: none; padding: 0; margin: 0 0 20px; }
#payment .payment_methods li { padding: 12px 0; border-bottom: 1px solid var(--mf-line); }
#payment .payment_methods li:last-child { border-bottom: none; }
#payment .payment_methods label { font-size: 14px; font-weight: 600; color: var(--mf-text); cursor: pointer; }
#payment .payment_box { padding: 12px 0 4px; font-size: 13px; color: var(--mf-muted); line-height: 1.5; }

/* Place order button */
#place_order {
  display: block !important; width: 100% !important;
  padding: 16px 28px !important; border-radius: 10px !important;
  background: var(--mf-text) !important; color: var(--mf-bg) !important;
  font-size: 15px !important; font-weight: 700 !important;
  text-align: center; text-transform: uppercase; letter-spacing: .04em;
  border: none !important; cursor: pointer !important;
  transition: opacity .2s !important; font-family: inherit !important;
}
#place_order:hover { opacity: .85 !important; }

/* Checkout responsive */
@media (max-width: 900px) {
  .woocommerce-checkout .woocommerce { flex-direction: column; }
  .woocommerce-checkout .col2-set { grid-template-columns: 1fr; }
  #order_review_heading, #order_review { flex: none; width: 100%; }
}

/* ── All WC buttons unified ── */
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button {
  display: inline-flex !important; align-items: center !important;
  justify-content: center !important; gap: 6px !important;
  padding: 10px 20px !important; border-radius: 8px !important;
  background: var(--mf-text) !important; color: var(--mf-bg) !important;
  font-size: 13px !important; font-weight: 700 !important;
  border: none !important; cursor: pointer !important;
  font-family: inherit !important; text-decoration: none !important;
  transition: opacity .2s !important;
}
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button:hover { opacity: .85 !important; }

/* ── WC notices (cart/checkout specific) ── */
.woocommerce-cart .woocommerce-message,
.woocommerce-checkout .woocommerce-message {
  margin-bottom: 24px;
}

/* ─ WooCommerce Page Layout (via page.php) ─ */
.mfh-woo-page-hero {
  padding: 40px 0 0;
}
.mfh-woo-page-title {
  font-size: clamp(28px, 4vw, 44px); font-weight: 800;
  letter-spacing: -.02em; line-height: 1.1; color: var(--mf-text); margin: 0;
}
.mfh-woo-page-content {
  padding: 32px 0 80px;
}
/* Ensure WC output inherits theme colors */
.mfh-woo-page-content .woocommerce { color: var(--mf-text); }

/* ═══════════════════════════════════════════════
   ARCHIVE — Hero Card (new)
   ═══════════════════════════════════════════════ */

.mfh-arc-hero-wrap  { padding: 28px 0 0; }
.mfh-arc-toolbar-wrap { padding: 20px 0 0; }
.mfh-arc-grid-wrap  { padding: 20px 0 60px; }

/* ── FF-Wheels style cinematic hero card ── */
.mfh-arc-hero {
  position: relative;
  border-radius: var(--mf-radius, 16px);
  overflow: hidden;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 8px 40px rgba(0,0,0,.18);
}

/* Background image layer */
.mfh-arc-hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 6s ease;
  z-index: 0;
}
.mfh-arc-hero:hover .mfh-arc-hero__bg { transform: scale(1.03); }

/* Dark gradient overlay */
.mfh-arc-hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.25) 0%,
    rgba(0,0,0,.5) 50%,
    rgba(0,0,0,.88) 100%
  );
}

/* Top bar — absolutely positioned so it doesn't push content */
.mfh-arc-hero__topbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px;
}
.mfh-arc-hero__back {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,.85); font-size: 13px; font-weight: 600;
  text-decoration: none; background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.15);
  padding: 6px 14px; border-radius: 999px;
  transition: background .2s, color .2s;
}
.mfh-arc-hero__back:hover { background: rgba(255,255,255,.22); color: #fff; }
.mfh-arc-hero__back-placeholder { display: block; }
.mfh-arc-hero__count-badge {
  background: rgba(255,255,255,.12); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.9); font-size: 12px; font-weight: 700;
  padding: 5px 14px; border-radius: 999px; letter-spacing: .02em;
}

/* Bottom content block */
.mfh-arc-hero__content {
  position: relative; z-index: 2;
  padding: 24px 28px 28px;
  text-align: left;
  margin-top: auto;   /* push to bottom of flex column */
}
.mfh-arc-hero__title {
  font-size: clamp(22px, 3vw, 36px); font-weight: 800;
  letter-spacing: -.025em; color: #fff; margin: 0 0 6px;
  text-align: left;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.mfh-arc-hero__desc {
  font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.72);
  margin: 0 0 14px;
}

/* Trust pills */
.mfh-arc-hero__trust {
  display: flex; gap: 8px; flex-wrap: wrap;
  align-items: center;
}
.mfh-arc-trust-pill {
  display: inline-block;
  background: rgba(255,255,255,.12); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.9); font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 999px; letter-spacing: .02em;
  white-space: nowrap;
}

/* Bottom bar: pills left — filter right (single line) */
.mfh-arc-hero__bottom-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.mfh-arc-hero__bottom-bar .mfh-arc-hero__trust {
  flex: 0 0 100%;
}
.mfh-arc-hero__bottom-bar .mfh-arc-vf {
  flex: 1 1 100%;
  min-width: 0;
}

/* ── Custom Searchable Dropdown (mfh-csd) ── */
.mfh-csd {
  position: relative;
  min-width: 140px;
}
.mfh-csd.is-disabled { opacity: .45; pointer-events: none; }

/* Trigger button — larger, light bg, dark text */
.mfh-csd__trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; padding: 11px 14px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255,255,255,.6);
  border-radius: 10px;
  color: #111; font-size: 14px; font-weight: 600; font-family: inherit;
  cursor: pointer; text-align: left;
  transition: background .18s, border-color .18s;
  white-space: nowrap;
}
.mfh-csd__trigger:hover,
.mfh-csd.is-open .mfh-csd__trigger {
  background: #fff;
  border-color: rgba(179,144,71,.6);
}
.mfh-csd.is-disabled .mfh-csd__trigger {
  background: rgba(255,255,255,.18);
  color: rgba(255,255,255,.75);
  border-color: rgba(255,255,255,.25);
  cursor: not-allowed;
}
.mfh-csd.is-disabled .mfh-csd__chev { color: rgba(255,255,255,.5); }
.mfh-csd__label { flex: 1; overflow: hidden; text-overflow: ellipsis; }
.mfh-csd__chev {
  width: 15px; height: 15px; flex-shrink: 0; opacity: .5; color: #333;
  transition: transform .2s;
}
.mfh-csd.is-open .mfh-csd__chev { transform: rotate(180deg); }

/* Dropdown panel — light */
.mfh-csd__panel {
  display: none;
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 9999;
  min-width: 220px; max-width: 300px;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.14);
  overflow: hidden;
  animation: csdDrop .15s ease;
}
.mfh-csd.is-open .mfh-csd__panel { display: block; }
@keyframes csdDrop {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Search input — light */
.mfh-csd__search-wrap {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 13px;
  border-bottom: 1px solid #f0f0f0;
}
.mfh-csd__search-wrap svg { width: 14px; height: 14px; flex-shrink: 0; opacity: .35; color: #333; }
.mfh-csd__search {
  flex: 1; background: none; border: none; outline: none;
  color: #111; font-size: 13px; font-family: inherit;
  padding: 0;
}
.mfh-csd__search::placeholder { color: #aaa; }

/* Options list — light */
.mfh-csd__list {
  list-style: none; margin: 0; padding: 6px 0;
  max-height: 230px; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: #ddd transparent;
}
.mfh-csd__opt {
  padding: 9px 14px; font-size: 13px; color: #222;
  cursor: pointer; transition: background .1s;
}
.mfh-csd__opt:hover { background: #f5f5f5; }
.mfh-csd__opt.is-selected { color: #8a6a1f; font-weight: 700; background: #fdf7eb; }
.mfh-csd__opt.is-hidden { display: none; }



.mfh-arc-vf__row {
  display: grid;
  align-items: end;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.mfh-arc-vf__field {
  display: flex; flex-direction: column;
  min-width: 0;
}
.mfh-arc-vf__field--action {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
}

.mfh-arc-vf__label {
  font-size: 10px; font-weight: 700; color: rgba(255,255,255,.6);
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 5px;
}
.mfh-arc-vf__wrap { position: relative; }
.mfh-arc-vf__sel {
  width: 100%; padding: 10px 34px 10px 13px; appearance: none;
  border-radius: 9px; border: 1.5px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.1); backdrop-filter: blur(8px);
  color: #fff; font-size: 13px; font-weight: 500; font-family: inherit;
  transition: border-color .2s, background .2s; cursor: pointer;
}
.mfh-arc-vf__sel:disabled { opacity: .45; cursor: not-allowed; }
.mfh-arc-vf__sel:focus { border-color: var(--mf-gold); outline: none; background: rgba(255,255,255,.15); }
.mfh-arc-vf__sel option { background: var(--mf-surface); color: var(--mf-text); }

.mfh-arc-vf__chev {
  position: absolute; right: 11px; top: 50%; transform: translateY(-50%);
  width: 14px; height: 14px; pointer-events: none;
  stroke: rgba(255,255,255,.6);
}
.mfh-arc-vf__submit {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  padding: 11px 28px; border-radius: 10px; border: none;
  background: var(--mf-gold); color: #fff;
  font-size: 14px; font-weight: 700; font-family: inherit;
  transition: filter .2s, transform .15s; white-space: nowrap;
  min-width: max-content;
}
.mfh-arc-vf__submit:hover { filter: brightness(1.1); transform: translateY(-1px); }

.mfh-arc-vf__clear {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 11px 16px; border-radius: 10px;
  background: rgba(255,255,255,.6); border: 1.5px solid rgba(0,0,0,.08);
  color: #444; font-size: 13px; font-weight: 600; font-family: inherit;
  text-decoration: none; white-space: nowrap;
  transition: background .18s, color .18s;
}
.mfh-arc-vf__clear:hover { background: rgba(239,68,68,.12); color: #dc2626; border-color: rgba(239,68,68,.3); }

.mfh-arc-vf__pills {
  display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px;
}
.mfh-arc-vf__pill {
  background: rgba(179,144,71,.25); border: 1px solid rgba(179,144,71,.4);
  color: #fff; font-size: 11px; font-weight: 600;
  padding: 3px 10px; border-radius: 999px;
}

@media (max-width: 768px) {
  .mfh-arc-hero { min-height: 380px; }
  .mfh-arc-hero__topbar { padding: 14px 20px; }
  .mfh-arc-hero__content { padding: 20px 20px 24px; }
  .mfh-arc-hero__title { font-size: 22px; }

  .mfh-arc-vf__row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .mfh-arc-vf__field {
    min-width: 0;
    overflow: hidden;
  }

  /* Shrink the CSD triggers to fit 3-col */
  .mfh-arc-vf__row .mfh-csd {
    min-width: 0;
  }
  .mfh-arc-vf__row .mfh-csd__trigger {
    padding: 10px 8px;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mfh-arc-vf__row .mfh-csd__chev {
    flex-shrink: 0;
    width: 12px; height: 12px;
  }

  /* Action field (Suchen + Reset) spans full width below the 3 selects */
  .mfh-arc-vf__field--action {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin-top: 4px;
  }
  .mfh-arc-vf__submit {
    flex: 1;
    justify-content: center;
    padding: 12px 16px;
  }
  .mfh-arc-vf__clear {
    flex: 0 0 auto;
  }
}

/* ═══════════════════════════════════════════════
   ARCHIVE — Category Slider
   ═══════════════════════════════════════════════ */

.mfh-cat-slider-wrap {
  padding: 20px 0 14px;
  position: relative;
}
/* Right-edge fade — overlays the end of the scroll track */
.mfh-cat-slider-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  /* account for .mf-container padding so the fade sits at the visual edge */
  width: clamp(60px, 8vw, 120px);
  pointer-events: none;
  background: linear-gradient(to right, color-mix(in srgb, var(--mf-bg) 0%, transparent), var(--mf-bg));
  z-index: 2;
}

/* The scrollable track */
.mfh-cat-slider {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 0 4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;        /* Firefox */
}
.mfh-cat-slider.has-open {
  /* no overflow change needed — popup is position:fixed */
}
.mfh-cat-slider::-webkit-scrollbar { display: none; }

/* Individual category card — horizontal pill */
.mfh-cat-slider .mfh-cat-card {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  width: auto;
  padding: 14px 16px 14px 12px;
  background: var(--mf-surface);
  border: 1.5px solid var(--mf-line);
  border-radius: 10px;
  text-decoration: none;
  color: var(--mf-text);
  scroll-snap-align: start;
  white-space: nowrap;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  position: relative;
}
.mfh-cat-slider .mfh-cat-card:hover {
  border-color: var(--mf-gold);
  transform: translateY(-1px);
}
.mfh-cat-slider .mfh-cat-card.is-active {
  border-color: var(--mf-gold);
  background: rgba(179,144,71,.08);
}

/* Thumbnail circle — small, left side */
.mfh-cat-slider .mfh-cat-card__img {
  width: 36px; height: 36px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: var(--mf-bg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border: 1.5px solid var(--mf-line);
  transition: border-color .2s;
}
.mfh-cat-slider .mfh-cat-card:hover .mfh-cat-card__img,
.mfh-cat-slider .mfh-cat-card.is-active .mfh-cat-card__img {
  border-color: var(--mf-gold);
}
.mfh-cat-card__img--empty { color: var(--mf-muted); }
.mfh-cat-card__img--empty svg { opacity: .45; width: 16px; height: 16px; }

/* Label — single line, no wrap */
.mfh-cat-slider .mfh-cat-card__label {
  font-size: 13px; font-weight: 600;
  color: var(--mf-text);
  line-height: 1;
  white-space: nowrap;
  letter-spacing: -.01em;
}
.mfh-cat-slider .mfh-cat-card.is-active .mfh-cat-card__label { color: var(--mf-gold); }

/* Count pill */
.mfh-cat-slider .mfh-cat-card__count {
  font-size: 10px; font-weight: 700;
  color: var(--mf-muted);
  background: var(--mf-bg);
  border: 1px solid var(--mf-line);
  border-radius: 999px;
  padding: 1px 7px;
  line-height: 1.7;
  flex-shrink: 0;
}
.mfh-cat-slider .mfh-cat-card.is-active .mfh-cat-card__count {
  background: rgba(179,144,71,.15);
  border-color: rgba(179,144,71,.3);
  color: var(--mf-gold);
}

/* Badge pill (A1/A2/ABE) */
.mfh-cat-card__badge {
  font-size: 9px; font-weight: 800; letter-spacing: 0.04em;
  color: var(--mf-gold);
  background: rgba(179,144,71,.12);
  border: 1px solid rgba(179,144,71,.25);
  border-radius: 4px;
  padding: 1px 5px;
  line-height: 1.6;
  flex-shrink: 0;
  text-transform: uppercase;
}

/* Chevron for expandable cards */
.mfh-cat-card__chevron {
  flex-shrink: 0;
  color: var(--mf-muted);
  transition: transform .2s;
  display: flex; align-items: center;
}
.mfh-cat-card__chevron .material-symbols-rounded { font-size: 16px; }
.mfh-cat-card-wrap.is-open .mfh-cat-card__chevron { transform: rotate(180deg); }
.mfh-cat-card-wrap.is-open .mfh-cat-card {
  border-color: var(--mf-gold);
  background: rgba(179,144,71,.08);
}

/* Card wrapper for sub-category support */
.mfh-cat-card-wrap {
  position: relative;
  flex-shrink: 0;
}

/* ── Sub-category popup (position:fixed via JS) ── */
.mfh-cat-sub {
  display: none;
  position: fixed;
  z-index: 9999;
  background: var(--mf-surface);
  border: 1.5px solid var(--mf-gold);
  border-radius: 12px;
  padding: 6px;
  min-width: 200px;
  box-shadow: 0 12px 32px rgba(0,0,0,.35), 0 0 0 1px rgba(179,144,71,.1);
  animation: mfCatSubIn .15s ease;
}
.mfh-cat-card-wrap.is-open .mfh-cat-sub { display: flex; flex-direction: column; gap: 2px; }

/* Arrow */
.mfh-cat-sub::before {
  content: '';
  position: absolute;
  top: -6px;
  left: var(--arrow-left, 50%);
  transform: translateX(-50%) rotate(45deg);
  width: 11px; height: 11px;
  background: var(--mf-surface);
  border-top: 1.5px solid var(--mf-gold);
  border-left: 1.5px solid var(--mf-gold);
}

@keyframes mfCatSubIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Sub links — styled like mini category cards */
.mfh-cat-sub__link {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px; font-weight: 600;
  color: var(--mf-text);
  text-decoration: none;
  transition: background .15s, border-color .15s;
  white-space: nowrap;
  border: 1px solid transparent;
}
.mfh-cat-sub__link:hover {
  background: rgba(179,144,71,.08);
  border-color: rgba(179,144,71,.2);
}
.mfh-cat-sub__link.is-active {
  background: rgba(179,144,71,.12);
  border-color: rgba(179,144,71,.3);
  color: var(--mf-gold);
}
.mfh-cat-sub__link small {
  font-size: 10px; font-weight: 700;
  color: var(--mf-muted);
  background: var(--mf-bg);
  border: 1px solid var(--mf-line);
  border-radius: 999px;
  padding: 1px 7px;
  line-height: 1.7;
}
.mfh-cat-sub__link:hover small {
  border-color: rgba(179,144,71,.3);
  color: var(--mf-gold);
}

/* Mobile */
@media (max-width: 480px) {
  .mfh-cat-slider .mfh-cat-card { padding: 12px 14px 12px 10px; }
  .mfh-cat-slider .mfh-cat-card__img { width: 30px; height: 30px; }
  .mfh-cat-slider .mfh-cat-card__label { font-size: 12px; }
  .mfh-cat-sub { min-width: 170px; }
}


/* Fix empty first slot in WC grid */
ul.products::before,
ul.products::after,
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none !important; content: none !important; }

/* Kill ALL WC float/clear on product items — Grid handles layout */
ul.products li.product,
.woocommerce ul.products li.product {
  float: none !important;
  clear: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}


/* ═══════════════════════════════════════════════
   SINGLE PRODUCT — New components
   ═══════════════════════════════════════════════ */

/* Express checkout */
.mfh-pdp-express { margin-bottom: 16px; }
.mfh-pdp-express__label {
  display: block; font-size: 11px; font-weight: 700; color: var(--mf-muted);
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px;
}
.mfh-pdp-express__btns { display: flex; gap: 8px; }
.mfh-pdp-express__btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 16px; border-radius: 8px; border: 1.5px solid var(--mf-line);
  background: var(--mf-surface); color: var(--mf-text); font-size: 13px; font-weight: 700;
  cursor: pointer; font-family: inherit; transition: border-color .2s, background .2s;
}
.mfh-pdp-express__btn:hover { border-color: var(--mf-text); background: var(--mf-bg); }
.mfh-pdp-express__btn--paypal { color: #003087; }
.mfh-pdp-express__btn--gpay { color: var(--mf-text); }
.mfh-pdp-express__divider {
  display: flex; align-items: center; gap: 12px; margin-top: 12px;
  font-size: 11px; color: var(--mf-muted);
}
.mfh-pdp-express__divider::before,
.mfh-pdp-express__divider::after { content: ''; flex: 1; height: 1px; background: var(--mf-line); }

/* VIN input */
/* Old VIN block styles (kept for possible re-use) */
.mfh-pdp-vin { display: none; }

/* Compact inline VIN field */
.mfh-pdp-vin-inline {
  margin: 16px 0 14px;
  position: relative;
}
.mfh-pdp-vin-inline__input {
  width: 100%; box-sizing: border-box;
  padding: 11px 44px 11px 14px; border-radius: 10px;
  border: 1.5px solid var(--mf-line); background: var(--mf-surface);
  color: var(--mf-text); font-size: 13px; font-family: monospace;
  letter-spacing: .08em; text-transform: uppercase;
  transition: border-color .2s;
}
.mfh-pdp-vin-inline__input:focus { border-color: var(--mf-gold); outline: none; }
.mfh-pdp-vin-inline__input::placeholder { color: var(--mf-muted); font-family: inherit; font-size: 12px; text-transform: none; letter-spacing: 0; }

/* Tooltip trigger — sits absolute inside the input wrapper */
.mfh-pdp-vin-tip {
  position: absolute; right: 12px; top: 50%;
  transform: translateY(-50%);
  width: 20px; height: 20px;
  cursor: pointer; outline: none;
}

/* Info dot */
.mfh-pdp-vin-tip__dot {
  display: block; width: 10px; height: 10px;
  border-radius: 50%; background: var(--mf-gold);
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}


/* Tooltip bubble */
.mfh-pdp-vin-tip__bubble {
  display: none;
  position: absolute; bottom: calc(100% + 10px); right: 0;
  width: 280px; background: #111; color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: 14px 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
  font-size: 12px; line-height: 1.6; z-index: 9999;
  pointer-events: none;
}
.mfh-pdp-vin-tip__bubble strong { display: block; color: #fff; font-size: 13px; margin-bottom: 8px; }
.mfh-pdp-vin-tip__bubble p { margin: 0 0 6px; }
.mfh-pdp-vin-tip__bubble p:last-child { margin: 0; }

/* Arrow */
.mfh-pdp-vin-tip__bubble::after {
  content: ''; position: absolute; top: 100%; right: 6px;
  border: 6px solid transparent; border-top-color: #111;
}

/* Show on hover / focus */
.mfh-pdp-vin-tip:hover .mfh-pdp-vin-tip__bubble,
.mfh-pdp-vin-tip:focus .mfh-pdp-vin-tip__bubble { display: block; }


/* Icon Trust Badges */
.mfh-pdp-badges {
  display: flex; gap: 0; margin-top: 20px;
  border: 1px solid var(--mf-line); border-radius: 10px; overflow: hidden;
}
.mfh-pdp-badge {
  flex: 1; display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  border-right: 1px solid var(--mf-line);
}
.mfh-pdp-badge:last-child { border-right: none; }
.mfh-pdp-badge svg {
  width: 22px; height: 22px; flex-shrink: 0;
  stroke: var(--mf-gold); color: var(--mf-gold);
}
.mfh-pdp-badge span { font-size: 12px; font-weight: 600; color: var(--mf-text); line-height: 1.35; }
.mfh-pdp-badge small { font-size: 11px; font-weight: 400; color: var(--mf-muted); display: block; }

@media (max-width: 480px) {
  .mfh-pdp-badges { flex-direction: column; }
  .mfh-pdp-badge { border-right: none; border-bottom: 1px solid var(--mf-line); }
  .mfh-pdp-badge:last-child { border-bottom: none; }
}

/* Tab count pill */
.mfh-pdp-tab__count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--mf-gold); color: #000; font-size: 10px; font-weight: 800;
  border-radius: 999px; margin-left: 4px;
}

/* Fitment table */
.mfh-fitment-table-wrap {
  overflow-x: auto; border-radius: 8px;
  border: 1px solid var(--mf-line);
}
.mfh-fitment-table {
  width: 100%; border-collapse: collapse; font-size: 13px; min-width: 700px;
}
.mfh-fitment-table thead { background: var(--mf-bg); }
.mfh-fitment-table th {
  padding: 12px 14px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--mf-muted); text-align: left;
  border-bottom: 1px solid var(--mf-line); white-space: nowrap;
}
.mfh-fitment-table td {
  padding: 11px 14px; color: var(--mf-text); font-weight: 500;
  border-bottom: 1px solid var(--mf-line); vertical-align: middle;
}
.mfh-fitment-table tbody tr:last-child td { border-bottom: none; }
.mfh-fitment-table tbody tr:nth-child(even) { background: var(--mf-bg); }
.mfh-fitment-table tbody tr:hover { background: rgba(179,144,71,.05); }


/* ═══════════════════════════════════════════════
   ARCHIVE HERO — Vehicle Filter Box
═══════════════════════════════════════════════ */

/* Hero layout: text left, filter right */
.mfh-arc-hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 960px) {
  .mfh-arc-hero { grid-template-columns: 1fr; }
}

.mfh-arc-hero__filter-box {
  background: var(--mf-bg);
  border: 1px solid var(--mf-line);
  border-radius: 14px;
  padding: 24px;
}
.mfh-vf-header {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--mf-text);
  margin-bottom: 16px;
}
.mfh-vf-header svg { color: var(--mf-gold); flex-shrink: 0; }

.mfh-vf-form {}
.mfh-vf-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 10px;
  align-items: end;
}
@media (max-width: 1200px) {
  .mfh-vf-row { grid-template-columns: 1fr 1fr; }
  .mfh-vf-field--action { grid-column: span 2; }
}
@media (max-width: 600px) {
  .mfh-vf-row { grid-template-columns: 1fr; }
  .mfh-vf-field--action { grid-column: auto; }
}

.mfh-vf-label {
  display: block; font-size: 11px; font-weight: 700; color: var(--mf-muted);
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px;
}
.mfh-vf-select-wrap { position: relative; }
.mfh-vf-select {
  width: 100%; padding: 11px 36px 11px 14px; appearance: none;
  border-radius: 9px; border: 1.5px solid var(--mf-line);
  background: var(--mf-surface); color: var(--mf-text);
  font-size: 13px; font-weight: 500; font-family: inherit;
  transition: border-color .2s; cursor: pointer;
}
.mfh-vf-select:focus { border-color: var(--mf-gold); outline: none; }
.mfh-vf-select:disabled { opacity: .45; cursor: not-allowed; }
.mfh-vf-chevron {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  width: 14px; height: 14px; color: var(--mf-muted); pointer-events: none;
}

.mfh-vf-field--action {
  display: flex; flex-direction: column; gap: 6px;
}
.mfh-vf-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 20px; border-radius: 9px;
  background: var(--mf-text); color: var(--mf-bg);
  font-size: 13px; font-weight: 700; font-family: inherit;
  border: none; cursor: pointer; white-space: nowrap;
  transition: opacity .2s;
}
.mfh-vf-submit:hover { opacity: .82; }
.mfh-vf-clear {
  font-size: 12px; color: var(--mf-muted); text-decoration: none; text-align: center;
  transition: color .2s;
}
.mfh-vf-clear:hover { color: #ef4444; }

/* Active filter pills below the form */
.mfh-vf-active-pills {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--mf-line);
}
.mfh-vf-pill {
  display: inline-flex; align-items: center;
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700;
  background: rgba(179,144,71,.12); color: var(--mf-gold);
  border: 1px solid rgba(179,144,71,.3);
}


/* ═══════════════════════════════════════════════
   TOOLBAR — Modern sort + attribute filter
═══════════════════════════════════════════════ */

.mfh-shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  /* no background, no border — just bare layout */
  padding: 4px 0;
}

/* Left: result count */
.mfh-shop-toolbar__count {
  font-size: 13px; font-weight: 600; color: var(--mf-muted);
  white-space: nowrap;
}
.mfh-shop-toolbar__count .woocommerce-result-count {
  margin: 0; font-size: inherit; color: inherit;
}

/* Middle: attribute filter pills */
.mfh-shop-toolbar__attrfilters {
  flex: 1 1 auto;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.mfh-attr-filter {
  display: flex; align-items: center; flex-wrap: wrap; gap: 5px;
}
.mfh-attr-filter__label {
  font-size: 11px; font-weight: 700; color: var(--mf-muted);
  text-transform: uppercase; letter-spacing: .05em;
  white-space: nowrap; padding-right: 2px;
}
.mfh-attr-filter__pills { display: flex; flex-wrap: wrap; gap: 4px; }
.mfh-attr-pill {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
  border: 1.5px solid var(--mf-line);
  color: var(--mf-muted); text-decoration: none;
  transition: border-color .18s, color .18s, background .18s;
  white-space: nowrap;
}
.mfh-attr-pill:hover { border-color: var(--mf-text); color: var(--mf-text); }
.mfh-attr-pill.is-active {
  border-color: var(--mf-gold); color: var(--mf-gold);
  background: rgba(179,144,71,.08);
}

/* Left group: AI btn + search + active tags */
.mfh-shop-toolbar__left {
  display: flex; align-items: center; gap: 8px;
  flex: 1; min-width: 0;
}
.mfh-shop-toolbar__active-filters {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.mfh-active-filter-tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(179,144,71,.1); border: 1px solid rgba(179,144,71,.3);
  color: var(--mf-gold); font-size: 11px; font-weight: 700;
  text-decoration: none; transition: background .18s;
}
.mfh-active-filter-tag:hover { background: rgba(179,144,71,.2); }
.mfh-active-filter-tag span { font-size: 14px; line-height: 1; opacity: .7; }

/* Right: Sort Popover */
.mfh-sort-popover { position: relative; }
.mfh-sort-popover__trigger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px;
  border: 1.5px solid var(--mf-line); background: var(--mf-surface);
  color: var(--mf-muted); cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.mfh-sort-popover__trigger:hover,
.mfh-sort-popover.is-open .mfh-sort-popover__trigger {
  border-color: var(--mf-gold); color: var(--mf-gold); background: rgba(179,144,71,.06);
}
.mfh-sort-popover__trigger .material-symbols-rounded { font-size: 20px; }
.mfh-sort-popover__panel {
  display: none; position: absolute; top: calc(100% + 8px); right: 0;
  z-index: 50; min-width: 220px;
  background: var(--mf-surface); border: 1px solid var(--mf-line);
  border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.12);
  padding: 8px 0; animation: mfhFadeIn .15s ease;
}
.mfh-sort-popover.is-open .mfh-sort-popover__panel { display: block; }
.mfh-sort-popover__title {
  padding: 8px 16px 6px; font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; color: var(--mf-muted);
}
.mfh-sort-popover__list { list-style: none; margin: 0; padding: 0; }
.mfh-sort-popover__opt {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 16px; font-size: 13px; font-weight: 500;
  color: var(--mf-text); text-decoration: none;
  transition: background .15s;
}
.mfh-sort-popover__opt:hover { background: var(--mf-bg); }
.mfh-sort-popover__opt.is-active {
  color: var(--mf-gold); font-weight: 700;
}
@keyframes mfhFadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 640px) {
  .mfh-shop-toolbar {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }
  .mfh-shop-toolbar__left {
    flex: 1; min-width: 0; overflow: hidden;
  }
  .mfh-shop-toolbar__right {
    flex-shrink: 0;
  }
}

/* ── Toolbar Right group ── */
.mfh-shop-toolbar__right {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}

/* ── AI Search Button ── */
.mfh-ai-search-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 0 12px; height: 36px; border-radius: 8px;
  border: 1.5px solid var(--mf-line);
  background: transparent;
  color: var(--mf-muted);
  font-size: 12px; font-weight: 600; font-family: inherit;
  cursor: pointer; flex-shrink: 0;
  transition: border-color .2s, color .2s, background .2s;
  white-space: nowrap;
}
.mfh-ai-search-btn .material-symbols-rounded { font-size: 16px; }
.mfh-ai-search-btn:hover {
  border-color: var(--mf-text);
  color: var(--mf-text);
  background: rgba(255,255,255,.03);
}
@media (max-width: 480px) {
  .mfh-ai-search-btn__label { display: none; }
  .mfh-ai-search-btn { padding: 0 8px; border-radius: 10px; }
}

/* ── Grid / List Switcher ── */
.mfh-grid-switcher {
  display: flex; gap: 0;
  border: 1.5px solid var(--mf-line);
  border-radius: 8px;
  overflow: hidden;
}
.mfh-grid-switcher__btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: transparent; border: none;
  color: var(--mf-muted);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.mfh-grid-switcher__btn + .mfh-grid-switcher__btn {
  border-left: 1.5px solid var(--mf-line);
}
.mfh-grid-switcher__btn:hover { color: var(--mf-text); }
.mfh-grid-switcher__btn.is-active {
  background: var(--mf-text);
  color: var(--mf-bg);
}

/* ── List View ── */
/* Desktop: single column, horizontal cards */
@media (min-width: 769px) {
  .mfh-view-list ul.products,
  .mfh-view-list .woocommerce ul.products {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .mfh-view-list .mfh-shop-card { flex-direction: row; }
  .mfh-view-list .mfh-shop-card__link { flex-direction: row; }
  .mfh-view-list .mfh-shop-card__img {
    width: 160px; min-width: 160px; max-width: 160px;
    min-height: auto; border-radius: 0;
  }
  .mfh-view-list .mfh-shop-card__body {
    flex: 1; display: flex; flex-direction: column; justify-content: center;
    padding: 16px 20px;
  }
  .mfh-view-list .mfh-shop-card__cta { display: none; }
}
/* Mobile: list view still uses 2-col grid, normal card layout */
.mfh-view-list .mfh-shop-card__fact {
  position: static; width: auto; max-width: 180px;
  border-radius: 6px; margin: 8px 0 0;
  font-size: 11px; padding: 4px 10px;
}
@media (max-width: 768px) {
  .mfh-view-list .mfh-shop-card__img {
    width: 110px; min-width: 110px; max-width: 110px;
  }
  .mfh-view-list .mfh-shop-card__body { padding: 12px 14px; }
}

/* ═══════════════════════════════════════════════
   Mega menu (base)
═══════════════════════════════════════════════ */
.mfh-mega { position: relative; }
.mfh-mega__toggle {
  display: flex; align-items: center; gap: 5px;
  white-space: nowrap;
}
.mfh-mega::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 24px;
  z-index: 99;
}

.mfh-mega__dropdown {
  position: absolute;
  top: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--mf-surface);
  border: 1px solid var(--mf-line);
  border-radius: 14px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.10);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 100;
  overflow: hidden;
}
:root[data-theme="dark"] .mfh-mega__dropdown {
  box-shadow: 0 12px 48px rgba(0,0,0,0.6);
}
.mfh-mega:hover .mfh-mega__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ── Unified Kategorien Mega ── */
/* Right-anchor to prevent overflow on right side */
.mfh-cat-mega {
  width: 960px;
  max-width: calc(100vw - 32px);
  padding: 0 !important;
  left: auto !important;
  right: -16px;
  transform: translateY(10px) !important;
}
.mfh-mega:hover .mfh-cat-mega {
  transform: translateY(0) !important;
}
.mfh-cat-mega__inner {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 340px;
}

/* Sidebar (left tabs) */
.mfh-cat-mega__sidebar {
  background: var(--mf-bg);
  border-right: 1px solid var(--mf-line);
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mfh-cat-mega__tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--mf-text);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  border-left: 3px solid transparent;
}
.mfh-cat-mega__tab:hover,
.mfh-cat-mega__tab.is-active {
  background: var(--mf-surface);
  color: var(--mf-gold);
  border-left-color: var(--mf-gold);
}
.mfh-cat-mega__tab svg {
  opacity: 0.4;
  transition: opacity 0.15s, transform 0.15s;
}
.mfh-cat-mega__tab:hover svg,
.mfh-cat-mega__tab.is-active svg {
  opacity: 1;
  transform: translateX(2px);
}

/* Panels (right content) */
.mfh-cat-mega__panels {
  position: relative;
  padding: 24px;
}
.mfh-cat-mega__panel {
  display: none;
}
.mfh-cat-mega__panel.is-active {
  display: block;
  animation: mfCatFadeIn 0.2s ease;
}
@keyframes mfCatFadeIn {
  from { opacity: 0; transform: translateX(6px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Subcategory cards (right panel — horizontal wide cards) */
.mfh-cat-mega__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.mfh-cat-mega__card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 8px 12px 8px 8px;
  border-radius: 10px;
  border: 1px solid var(--mf-line);
  background: var(--mf-bg);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.mfh-cat-mega__card:hover {
  border-color: var(--mf-gold);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transform: translateY(-1.5px);
}
.mfh-cat-mega__card-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--mf-surface);
  flex-shrink: 0;
  border: 1.5px solid var(--mf-line);
  transition: border-color 0.2s;
}
.mfh-cat-mega__card:hover .mfh-cat-mega__card-img {
  border-color: var(--mf-gold);
}
.mfh-cat-mega__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.mfh-cat-mega__card:hover .mfh-cat-mega__card-img img {
  transform: scale(1.08);
}
.mfh-cat-mega__card-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  text-align: left;
}
.mfh-cat-mega__card-title {
  color: var(--mf-text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}
.mfh-cat-mega__card-sub {
  font-size: 10px;
  font-weight: 500;
  color: var(--mf-muted);
  line-height: 1.3;
  opacity: 0.85;
}
.mfh-cat-mega__card-count {
  font-size: 10px;
  font-weight: 600;
  color: var(--mf-muted);
}

/* Info panel (landing page links) */
.mfh-cat-mega__info-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.mfh-cat-mega__info-link {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0 8px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s;
}
.mfh-cat-mega__info-link:hover {
  background: var(--mf-bg);
}
.mfh-cat-mega__info-title {
  grid-column: 1;
  font-size: 13px;
  font-weight: 600;
  color: var(--mf-text);
  line-height: 1.3;
}
.mfh-cat-mega__info-sub {
  grid-column: 1;
  font-size: 11px;
  color: var(--mf-muted);
  margin-top: 1px;
}
.mfh-cat-mega__info-link svg {
  grid-column: 2;
  grid-row: 1 / -1;
  color: var(--mf-muted);
  opacity: 0;
  transition: opacity 0.15s, transform 0.15s;
}
.mfh-cat-mega__info-link:hover svg {
  opacity: 1;
  transform: translateX(3px);
}

@media (max-width: 1060px) {
  .mfh-mega__dropdown.mfh-cat-mega { left: 0; right: 0; }
}
@media (max-width: 900px) {
  .mfh-mega__dropdown.mfh-cat-mega {
    position: fixed !important;
    left: 16px !important;
    right: 16px !important;
    width: auto !important;
    max-width: calc(100vw - 32px) !important;
    top: auto;
    transform: translateY(10px) !important;
    max-height: 80vh;
    overflow-y: auto;
  }
  .mfh-mega:hover > .mfh-mega__dropdown.mfh-cat-mega { transform: translateY(0) !important; }
  .mfh-cat-mega__inner { grid-template-columns: 1fr; }
  .mfh-cat-mega__sidebar {
    flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--mf-line);
    padding: 8px 12px; gap: 4px;
  }
  .mfh-cat-mega__tab { white-space: nowrap; padding: 8px 14px; border-left: none; border-bottom: 2px solid transparent; font-size: 12px; }
  .mfh-cat-mega__tab.is-active { border-bottom-color: var(--mf-gold); border-left-color: transparent; }
  .mfh-cat-mega__tab svg { display: none; }
  .mfh-cat-mega__cards { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .mfh-cat-mega__card { padding: 6px 10px 6px 6px; gap: 8px; border-radius: 8px; }
  .mfh-cat-mega__card-img { width: 36px; height: 36px; }
  .mfh-cat-mega__card-title { font-size: 11px; }
  .mfh-cat-mega__card-count { font-size: 9px; }
  .mfh-cat-mega__info-list { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════
   PDP — Detail refinements
═══════════════════════════════════════════════ */

/* 2-line short description clamp */
.mfh-pdp-info__desc--clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* VIN required state */
.mfh-pdp-vin--required {
  border-color: rgba(179,144,71,.4);
  background: rgba(179,144,71,.04);
}
.mfh-pdp-vin--required .mfh-pdp-vin__label { color: var(--mf-text); }
.mfh-pdp-vin__req {
  color: #ef4444; font-weight: 800; margin-left: 2px;
}
.mfh-pdp-vin--required .mfh-pdp-vin__input:invalid {
  border-color: rgba(239,68,68,.5);
}

/* WooCommerce Qty stepper — override default */
.woocommerce .quantity { display: flex !important; align-items: center; gap: 0; }
.woocommerce .quantity .qty {
  width: 52px !important; text-align: center !important;
  border-radius: 0 !important; border-left: none !important; border-right: none !important;
  -moz-appearance: textfield;
  padding: 10px 0 !important;
  font-weight: 700 !important; font-size: 15px !important;
  background: var(--mf-surface) !important; color: var(--mf-text) !important;
  border-top: 1.5px solid var(--mf-line) !important;
  border-bottom: 1.5px solid var(--mf-line) !important;
}
.woocommerce .quantity .qty::-webkit-inner-spin-button,
.woocommerce .quantity .qty::-webkit-outer-spin-button { -webkit-appearance: none; }
.mfh-qty-wrap {
  display: flex !important; align-items: stretch; border: 1.5px solid var(--mf-line);
  border-radius: 9px; overflow: hidden;
}
.mfh-qty-wrap .qty {
  border: none !important; border-radius: 0 !important;
}
.mfh-qty-minus,
.mfh-qty-plus {
  width: 38px; display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 300; cursor: pointer;
  background: var(--mf-bg); color: var(--mf-text);
  border: none; transition: background .15s;
  flex-shrink: 0; user-select: none;
}
.mfh-qty-minus:hover, .mfh-qty-plus:hover { background: var(--mf-surface); }

/* Override WC quantity wrapper to use our stepper layout */
.mfh-pdp-cart .woocommerce form.cart .quantity {
  border: 1.5px solid var(--mf-line); border-radius: 9px; overflow: hidden;
  background: var(--mf-bg);
}
.mfh-pdp-cart .woocommerce form.cart .quantity input.qty {
  background: transparent !important; border: none !important;
  width: 48px !important; padding: 10px 4px !important;
  font-size: 15px !important; font-weight: 700 !important;
}

/* Express buttons below cart — compact divider label */
.mfh-pdp-express { margin-top: 12px; }
.mfh-pdp-express .mfh-pdp-express__divider {
  margin-bottom: 8px; margin-top: 0;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
}
.mfh-pdp-express__btns { gap: 6px; }

/* ═══════════════════════════════════════════════
   HEADER MEGA MENU
═══════════════════════════════════════════════ */
.mfh-mega {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}
.mfh-mega__toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--mf-text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}
.mf-header__nav > a {
  color: var(--mf-text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}
.mf-header__nav > a:hover,
.mfh-mega:hover .mfh-mega__toggle {
  color: var(--mf-gold);
}
.mfh-mega__toggle svg {
  transition: transform 0.2s;
  opacity: 0.6;
}
.mfh-mega:hover .mfh-mega__toggle svg {
  transform: rotate(180deg);
  opacity: 1;
}

/* Invisible hover bridge */
.mfh-mega::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 24px;
  z-index: 99;
}

.mfh-mega__dropdown {
  position: absolute;
  top: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 720px;
  max-width: 90vw;
  background: var(--mf-surface);
  border: 1px solid var(--mf-line);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 100;
  padding: 24px;
  pointer-events: none;
}
:root[data-theme="dark"] .mfh-mega__dropdown {
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

.mfh-mega:hover .mfh-mega__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Kategorien mega: position relative to header container, not nav item */
.mfh-mega--unified {
  position: static !important;
}
/* Hover bridge for static parent — attach to the toggle link */
.mfh-mega--unified .mfh-mega__toggle {
  position: relative;
}
.mfh-mega--unified .mfh-mega__toggle::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 28px;
  z-index: 99;
}
.mfh-mega__dropdown.mfh-cat-mega {
  width: 780px !important;
  max-width: calc(100vw - 32px) !important;
  padding: 0 !important;
  left: 0 !important;
  right: auto !important;
  top: 100%;
  transform: translateY(10px);
  border-radius: 0 0 14px 14px;
  box-sizing: border-box;
  pointer-events: none !important;
}
.mfh-mega:hover > .mfh-mega__dropdown.mfh-cat-mega {
  transform: translateY(0);
  pointer-events: auto !important;
}

.mfh-mega__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 16px;
}

.mfh-mega__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s;
}
.mfh-mega__card:hover {
  background: var(--mf-bg);
}

.mfh-mega__img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 6px;
  overflow: hidden;
  background: var(--mf-bg);
  border: 1px solid var(--mf-line);
}
.mfh-mega__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.mfh-mega__card:hover .mfh-mega__img img {
  transform: scale(1.05);
}

.mfh-mega__title {
  color: var(--mf-text);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
}

/* ── Info Dropdown (Informationen nav) ─────────────── */
.mfh-info-dropdown { width: 520px !important; padding: 0 !important; }
.mfh-info-dropdown__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.mfh-info-dropdown__group {
  padding: 20px 24px;
  display: flex; flex-direction: column; gap: 2px;
}
.mfh-info-dropdown__group:first-child {
  border-right: 1px solid var(--mf-line);
}
.mfh-info-dropdown__label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mf-muted);
  padding: 0 10px 8px;
  margin-bottom: 2px;
}
.mfh-info-dropdown__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--mf-text);
  transition: background 0.2s;
}
.mfh-info-dropdown__link:hover {
  background: var(--mf-bg);
}
.mfh-info-dropdown__link svg {
  flex-shrink: 0;
  color: var(--mf-gold);
  opacity: 0.85;
}
.mfh-info-dropdown__link span {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}
.mfh-info-dropdown__link small {
  font-size: 11px;
  font-weight: 400;
  color: var(--mf-muted);
  margin-top: 1px;
}

@media (max-width: 768px) {
  .mfh-info-dropdown { width: 100% !important; }
  .mfh-info-dropdown__inner { grid-template-columns: 1fr; }
  .mfh-info-dropdown__group:first-child { border-right: none; border-bottom: 1px solid var(--mf-line); }
}

/* ═══════════════════════════════════════════
   CART PAGE
═══════════════════════════════════════════ */
.mf-cart-page {
  padding: 48px 0 80px;
  min-height: 60vh;
}

.mf-cart-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  align-items: start;
}

@media (max-width: 900px) {
  .mf-cart-grid { grid-template-columns: 1fr; }
}

/* Card component */
.mf-card {
  background: var(--mf-surface);
  border: 1px solid var(--mf-line);
  border-radius: 16px;
  overflow: hidden;
}

.mf-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--mf-line);
  background: var(--mf-surface-2);
}

.mf-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--mf-text);
  margin: 0;
}

.mf-card__subtitle {
  font-size: 12px;
  font-weight: 400;
  color: var(--mf-muted);
  margin-left: 4px;
}

.mf-card__body {
  padding: 20px 22px;
}

/* Cart items list */
.mf-cart-items {
  display: flex;
  flex-direction: column;
}

.mf-cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--mf-line);
}
.mf-cart-item:last-child { border-bottom: none; }

.mf-cart-item__img {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--mf-bg);
  border: 1px solid var(--mf-line);
}
.mf-cart-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mf-cart-item__img a {
  display: block;
  width: 100%;
  height: 100%;
}

.mf-cart-item__info {
  flex: 1;
  min-width: 0;
}

.mf-cart-item__name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--mf-text);
  text-decoration: none;
  margin: 0 0 6px;
  line-height: 1.3;
}
.mf-cart-item__name:hover { color: var(--mf-gold); }

/* Qty stepper */
.mf-qty-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--mf-line);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 8px;
  background: var(--mf-bg);
}

.mf-qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  color: var(--mf-text);
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: background .15s;
}
.mf-qty-btn:hover { background: rgba(255,255,255,.07); }

.mf-qty-input {
  width: 40px;
  height: 32px;
  border: none;
  border-left: 1px solid var(--mf-line);
  border-right: 1px solid var(--mf-line);
  background: transparent;
  color: var(--mf-text) !important;
  -webkit-text-fill-color: var(--mf-text) !important;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 0;
  outline: none;
  -moz-appearance: textfield;
}
.mf-qty-input::-webkit-inner-spin-button,
.mf-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* Price + remove */
.mf-cart-item__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.mf-cart-item__price {
  font-size: 15px;
  font-weight: 800;
  color: var(--mf-gold);
  white-space: nowrap;
}

.mf-cart-item__remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--mf-line);
  color: var(--mf-muted);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.mf-cart-item__remove:hover {
  background: rgba(220,50,50,.12);
  border-color: rgba(220,50,50,.3);
  color: #f87171;
}

/* Cart actions bar */
.mf-cart-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  border-top: 1px solid var(--mf-line);
  background: var(--mf-surface-2);
  flex-wrap: wrap;
}

.mf-coupon {
  display: flex;
  gap: 8px;
  flex: 1;
  min-width: 200px;
}

.mf-coupon input[type="text"] {
  flex: 1;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--mf-line);
  border-radius: 7px;
  background: var(--mf-bg);
  color: var(--mf-text);
  font-size: 13px;
  outline: none;
  transition: border-color .15s;
}
.mf-coupon input[type="text"]:focus { border-color: var(--mf-gold); }
.mf-coupon input[type="text"]::placeholder { color: var(--mf-muted); }

/* Cart empty state */
.mf-cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 80px 24px;
  text-align: center;
  color: var(--mf-muted);
}
.mf-cart-empty h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--mf-text);
  margin: 0;
}
.mf-cart-empty p {
  font-size: 14px;
  color: var(--mf-muted);
  margin: 0;
}

/* Trust pills */
.mf-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.mf-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 99px;
  border: 1px solid var(--mf-line);
  background: rgba(255,255,255,.03);
  font-size: 12px;
  font-weight: 600;
  color: var(--mf-muted);
}
.mf-trust-pill svg { flex-shrink: 0; opacity: .7; }

/* WooCommerce totals override */
.mf-cart-page .cart_totals h2,
.mf-cart-page .cart_totals table th {
  color: var(--mf-text);
  font-family: inherit;
}
.mf-cart-page .cart_totals {
  float: none;
  width: 100%;
}
.mf-cart-page .cart_totals table {
  width: 100%;
  border: none;
  border-collapse: collapse;
  font-size: 14px;
  color: var(--mf-muted);
}
.mf-cart-page .cart_totals table tr { border-bottom: 1px solid var(--mf-line); }
.mf-cart-page .cart_totals table tr:last-child { border-bottom: none; }
.mf-cart-page .cart_totals table th,
.mf-cart-page .cart_totals table td {
  padding: 12px 0;
  background: transparent;
  border: none;
  vertical-align: middle;
}
.mf-cart-page .cart_totals table .order-total th,
.mf-cart-page .cart_totals table .order-total td {
  color: var(--mf-text);
  font-weight: 700;
  font-size: 16px;
}
.mf-cart-page .cart_totals table .order-total .amount {
  color: var(--mf-gold);
}
.mf-cart-page .cart_totals .wc-proceed-to-checkout a.checkout-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  margin-top: 16px;
  background: var(--mf-gold);
  color: #fff;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  transition: opacity .18s;
}
.mf-cart-page .cart_totals .wc-proceed-to-checkout a.checkout-button:hover {
  opacity: .88;
}

/* ═══════════════════════════════════════════════════════════════
   WOO PAGE — mf-woo-content is our self-managed container inside
   WC templates. The WC .woocommerce wrapper is reset to full width.
═══════════════════════════════════════════════════════════════ */
.mf-woo-content {
  padding: 44px 0 100px;
  background: var(--mf-black);
  min-height: 60vh;
}

/* WC injects <div class="woocommerce"> — force full width */
.mf-woo-content .woocommerce,
.woocommerce-page .mf-woo-content {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}

/* ── Slim WC hero (Warenkorb / Kasse) ── */
.mfh-woo-hero {
  background: var(--mf-black);
  border-bottom: 1px solid var(--mf-line);
  padding: 44px 0 32px;
}

.mfh-woo-hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.mfh-woo-hero__title {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--mf-text);
  margin: 0 0 4px;
  line-height: 1.1;
}

.mfh-woo-hero__sub {
  font-size: 14px;
  color: var(--mf-muted);
  margin: 0;
}

/* ── Step indicator ── */
.mfh-woo-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}

.mfh-woo-step {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--mf-muted);
  opacity: .45;
}

.mfh-woo-step.is-active { color: var(--mf-text); opacity: 1; }
.mfh-woo-step.is-done   { color: var(--mf-gold);  opacity: .8; }

.mfh-woo-step__dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--mf-line);
  color: var(--mf-muted);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mfh-woo-step.is-active .mfh-woo-step__dot {
  background: var(--mf-gold);
  color: #fff;
}

.mfh-woo-step.is-done .mfh-woo-step__dot {
  background: var(--mf-gold);
  color: #fff;
}

.mfh-woo-step__sep {
  color: var(--mf-line);
  font-size: 16px;
  font-weight: 300;
}

@media (max-width: 640px) {
  .mfh-woo-steps { display: none; }
}

/* ═══════════════════════════════════════════════════
   CHECKOUT PAGE
═══════════════════════════════════════════════════ */
.mf-checkout-page {
  padding: 40px 0 80px;
}

/* ── Bento cards (FF Wheels pattern adapted for dark theme) ── */
.mf-card {
  background: var(--mf-surface);
  border: 1px solid var(--mf-line);
  border-radius: 14px;
  overflow: hidden;
}
.mf-card__header {
  padding: 20px 22px;
  border-bottom: 1px solid var(--mf-line);
  display: flex;
  align-items: center;
  gap: 14px;
}
.mf-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--mf-text);
  margin: 0;
}

/* Trust badges */
.mf-trust-row {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.mf-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--mf-muted);
}
.mf-trust-pill svg { width: 13px; height: 13px; flex-shrink: 0; }

/* Force WC checkout sections to not fight our grid */
.mf-checkout-page #customer_details,
.mf-checkout-page #order_review,
.mf-checkout-page #order_review_heading {
  float: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ── Coupon toggle banner (rendered by WC before the form) ── */
.mf-checkout-page .woocommerce-form-coupon-toggle,
.mf-checkout-page .blockui-coupon-toggle {
  margin-bottom: 24px;
}

.mf-checkout-page .woocommerce-info {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--mf-line);
  background: var(--mf-surface);
  color: var(--mf-muted);
  font-size: 13px;
  border-left: none;
  margin: 0 0 24px;
  list-style: none;
}
.mf-checkout-page .woocommerce-info::before { display: none; }
.mf-checkout-page .woocommerce-info a {
  color: var(--mf-gold);
  text-decoration: none;
  font-weight: 600;
}
.mf-checkout-page .woocommerce-info a:hover { text-decoration: underline; }

/* ── Coupon form (expanded) ── */
.mf-checkout-page .checkout_coupon {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--mf-line);
  border-radius: 12px;
  background: var(--mf-surface);
  margin: 0 0 24px;
}
.mf-checkout-page .checkout_coupon input[type="text"] {
  flex: 1;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--mf-line);
  border-radius: 8px;
  background: var(--mf-bg);
  color: var(--mf-text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.mf-checkout-page .checkout_coupon input[type="text"]:focus {
  border-color: var(--mf-gold);
}
.mf-checkout-page .checkout_coupon button {
  height: 40px;
  padding: 0 18px;
  background: var(--mf-gold);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: opacity .15s;
  white-space: nowrap;
}
.mf-checkout-page .checkout_coupon button:hover { opacity: .85; }

/* ── The form itself — block layout, our grid div handles columns ── */
.mf-checkout-page form.checkout.woocommerce-checkout {
  display: block !important;
}

/* ── Card body padding ── */
.mf-card__body {
  padding: 20px 22px;
}

/* ── WC outputs a h3 "Billing details" inside billing action — hide it ── */
.mf-checkout-page .woocommerce-billing-fields > h3,
.mf-checkout-page .woocommerce-shipping-fields > h3,
.mf-checkout-page .woocommerce-additional-fields > h3 {
  display: none;
}

.mf-checkout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  align-items: start;
  overflow: visible;
}

.mf-checkout-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0; /* prevent grid blowout */
}

.mf-checkout-right {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

/* WC review order table — reset internal floats */
.mf-checkout-right .woocommerce-checkout-review-order-table,
.mf-checkout-right table.shop_table {
  width: 100% !important;
  float: none !important;
  border-collapse: collapse;
}
.mf-checkout-right table.shop_table thead th { display: none; }
.mf-checkout-right table.shop_table .cart_item td {
  display: block;
  border: none;
  padding: 4px 0;
}
.mf-checkout-right table.shop_table .cart_item .product-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--mf-text);
}
.mf-checkout-right table.shop_table .cart_item .product-name .quantity {
  color: var(--mf-muted);
  font-weight: 400;
}
.mf-checkout-right table.shop_table .cart_item .product-total {
  font-size: 14px;
  font-weight: 700;
  color: var(--mf-text);
  text-align: left;
}
/* Order totals table */
.mf-checkout-right .woocommerce-checkout-payment { margin-top: 16px; }
.mf-checkout-right table.shop_table.woocommerce-checkout-review-order-table tr.cart-subtotal td,
.mf-checkout-right table.shop_table.woocommerce-checkout-review-order-table tr.order-total td,
.mf-checkout-right table.shop_table.woocommerce-checkout-review-order-table tr.tax-rate td {
  display: table-cell !important;
}

@media (max-width: 900px) {
  .mf-checkout-grid { grid-template-columns: 1fr; }
  .mf-checkout-right { position: static; }
}

/* Card number badge */
.mf-card__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--mf-gold);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.mf-card__desc {
  font-size: 12px;
  color: var(--mf-muted);
  margin: 2px 0 0;
}

/* Ship toggle link */
.mf-ship-toggle-wrap {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--mf-line);
}

.mf-ship-toggle-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--mf-muted);
  text-decoration: none;
  transition: color .15s;
}
.mf-ship-toggle-link:hover { color: var(--mf-text); }
.mf-ship-toggle-link svg { flex-shrink: 0; }

/* ═══════════════════════════════════════════════════
   WC FORM FIELDS — Cart, Checkout, My Account
═══════════════════════════════════════════════════ */

/* Labels */
.mf-checkout-page .woocommerce-billing-fields .form-row label,
.mf-checkout-page .woocommerce-shipping-fields .form-row label,
.mf-checkout-page .woocommerce-additional-fields .form-row label,
.mfh-woo-page-content .woocommerce form .form-row label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--mf-muted);
  text-transform: uppercase;
  letter-spacing: .6px;
  margin: 0 0 6px;
}

/* Inputs + Textarea + Select */
.mf-checkout-page .input-text,
.mf-checkout-page select,
.mf-checkout-page textarea,
.mfh-woo-page-content .woocommerce .input-text,
.mfh-woo-page-content .woocommerce select,
.mfh-woo-page-content .woocommerce textarea {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--mf-line);
  border-radius: 9px;
  background: var(--mf-bg);
  color: var(--mf-text) !important;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}
.mf-checkout-page textarea,
.mfh-woo-page-content .woocommerce textarea {
  height: auto;
  min-height: 100px;
  padding: 12px 14px;
  resize: vertical;
}
.mf-checkout-page .input-text:focus,
.mf-checkout-page select:focus,
.mf-checkout-page textarea:focus,
.mfh-woo-page-content .woocommerce .input-text:focus,
.mfh-woo-page-content .woocommerce select:focus,
.mfh-woo-page-content .woocommerce textarea:focus {
  border-color: var(--mf-gold);
  box-shadow: 0 0 0 3px rgba(179,144,71,.15);
}
.mf-checkout-page .input-text::placeholder,
.mf-checkout-page textarea::placeholder {
  color: var(--mf-muted);
  opacity: .7;
}

/* Form row layout — float-based (FF Wheels pattern) */
.mf-checkout-page .form-row { margin-bottom: 14px; }
.mf-checkout-page .form-row-first,
.mf-checkout-page .form-row-last { width: 48% !important; }
.mf-checkout-page .form-row-first { float: left !important; clear: left !important; }
.mf-checkout-page .form-row-last  { float: right !important; clear: right !important; }
.mf-checkout-page .form-row-wide  { width: 100% !important; clear: both !important; }
.mf-checkout-page #billing_postcode_field.form-row-wide,
.mf-checkout-page #billing_postcode_field {
  width: 48% !important;
  float: left !important;
  clear: none !important;
}
.mf-checkout-page #billing_city_field.form-row-wide,
.mf-checkout-page #billing_city_field {
  width: 48% !important;
  float: right !important;
  clear: none !important;
}
.mf-checkout-page .mf-name-divider-row {
  border-bottom: 1px solid var(--mf-line);
  padding-bottom: 14px;
  margin-bottom: 18px;
}
.mf-checkout-page .form-row::after { content: ''; display: table; clear: both; }
.mf-checkout-page .woocommerce-input-wrapper { width: 100%; }

.mf-checkout-page .mf-checkout-hidden-field {
  display: none !important;
}

.mf-checkout-page .mf-business-field { display: none !important; }
.mf-checkout-page.mf-business-customer .mf-business-field { display: block !important; }

@media (max-width: 600px) {
  .mf-checkout-page .form-row-first,
  .mf-checkout-page .form-row-last {
    width: 100% !important;
    float: none !important;
    clear: both !important;
  }
}

/* Validation */
.mf-checkout-page .woocommerce-input-wrapper { width: 100%; }
.mf-checkout-page .form-row.woocommerce-invalid .input-text,
.mf-checkout-page .form-row.woocommerce-invalid select {
  border-color: #f87171;
}
.mf-checkout-page .form-row .woocommerce-error {
  font-size: 12px;
  color: #f87171;
  margin: 4px 0 0;
  display: block;
}

/* ── Checkout order review ── */
.mf-checkout-page .woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.mf-checkout-page .woocommerce-checkout-review-order-table th,
.mf-checkout-page .woocommerce-checkout-review-order-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--mf-line);
  color: var(--mf-muted);
  background: transparent;
}
.mf-checkout-page .woocommerce-checkout-review-order-table th {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
}
.mf-checkout-page .woocommerce-checkout-review-order-table .product-name {
  color: var(--mf-text);
  font-weight: 600;
}
.mf-checkout-page .woocommerce-checkout-review-order-table .order-total td,
.mf-checkout-page .woocommerce-checkout-review-order-table .order-total th {
  border-bottom: none;
  color: var(--mf-text);
  font-weight: 700;
  font-size: 16px;
  padding-top: 14px;
}
.mf-checkout-page .woocommerce-checkout-review-order-table .order-total .amount {
  color: var(--mf-gold);
}

/* ── Payment box ── */
.mf-checkout-page #payment {
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin-top: 16px;
}
.mf-checkout-page #payment .wc_payment_methods {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mf-checkout-page #payment .wc_payment_methods li {
  padding: 12px 14px;
  border: 1px solid var(--mf-line);
  border-radius: 10px;
  background: var(--mf-bg);
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition: border-color .15s;
}
.mf-checkout-page #payment .wc_payment_methods li:has(input:checked) {
  border-color: var(--mf-gold);
}
.mf-checkout-page #payment .wc_payment_methods label {
  font-size: 14px;
  font-weight: 600;
  color: var(--mf-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: none;
  letter-spacing: 0;
}
.mf-checkout-page #payment .payment_box {
  background: transparent;
  border: none;
  padding: 0;
  font-size: 13px;
  color: var(--mf-muted);
}

/* ── Place order button ── */
.mf-checkout-page #place_order,
.mf-checkout-page #payment #place_order {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  margin-top: 20px;
  background: var(--mf-gold) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .18s;
  font-family: inherit;
}
.mf-checkout-page #place_order:hover,
.mf-checkout-page #payment #place_order:hover { opacity: .88; }

/* ── WC Notices on checkout ── */
.mf-checkout-page .woocommerce-error,
.mf-checkout-page .woocommerce-message,
.mfh-woo-page-content .woocommerce-notices-wrapper .woocommerce-error,
.mfh-woo-page-content .woocommerce-notices-wrapper .woocommerce-message {
  padding: 14px 18px 14px 50px !important;
  border-radius: 10px;
  font-size: 13px;
  list-style: none;
  margin: 0 0 20px;
  position: relative !important;
}
.mf-checkout-page .woocommerce-error,
.mfh-woo-page-content .woocommerce-notices-wrapper .woocommerce-error {
  background: rgba(248,113,113,.1);
  border: 1px solid rgba(248,113,113,.3);
  color: #fca5a5;
  border-left: 3px solid #ef4444 !important;
}
.mf-checkout-page .woocommerce-message,
.mfh-woo-page-content .woocommerce-notices-wrapper .woocommerce-message {
  background: rgba(34,197,94,.08);
  border: 1px solid rgba(34,197,94,.25);
  color: #86efac;
  border-left: 3px solid #22c55e !important;
}
.mf-checkout-page .woocommerce-message::before,
.mf-checkout-page .woocommerce-error::before,
.mfh-woo-page-content .woocommerce-notices-wrapper .woocommerce-message::before,
.mfh-woo-page-content .woocommerce-notices-wrapper .woocommerce-error::before {
  left: 16px !important;
  top: 13px !important;
}



/* ═══════════════════════════════════════════════════
   GERMANIZED (WC GZD) — Checkout Overrides
   Targets all injected Germanized elements in checkout
   to prevent layout/color conflicts with our dark theme.
═══════════════════════════════════════════════════ */

/* 1. Kill GZD's blue/tinted order-payment heading */
.mf-checkout-page #order_payment_heading,
.mf-checkout-page h3#order_payment_heading {
  display: none !important; /* WC already renders the card title "Deine Bestellung" */
}

/* 2. GZD injects a wc-gzd-checkout-payment-select-table wrapper — reset it */
.mf-checkout-page .wc-gzd-checkout-payment-select-table,
.mf-checkout-page #payment-method {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

/* 3. GZD checkbox placeholders in order review & payment — dark-theme consistent */
.wc-gzd-checkbox-placeholder {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 8px 0 0 !important;
}
.wc-gzd-checkbox-placeholder .woocommerce-form__label-for-checkbox {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: var(--mf-muted) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  line-height: 1.5 !important;
  cursor: pointer;
}
.wc-gzd-checkbox-placeholder .woocommerce-form__label-for-checkbox a {
  color: var(--mf-gold) !important;
  text-decoration: underline;
}
.wc-gzd-checkbox-placeholder input[type="checkbox"] {
  flex-shrink: 0;
  margin: 2px 0 0 !important;
  width: 14px !important;
  height: 14px !important;
  accent-color: var(--mf-gold);
}
/* GZD asterisk / required indicator */
.wc-gzd-checkbox-placeholder .required { color: #ef4444 !important; }

/* 4. GZD injects a data-service / data-download checkbox wrapper — ensure full-width */
.mf-checkout-page .woocommerce-billing-fields__field-wrapper > .wc-gzd-checkbox-placeholder,
.mf-checkout-page .woocommerce-shipping-fields__field-wrapper > .wc-gzd-checkbox-placeholder {
  clear: both !important;
  width: 100% !important;
  float: none !important;
}

/* 5. GZD revocation/terms block in #order_review — reset bg */
#order_review .woocommerce-checkout-payment {
  background: transparent !important;
}
#order_review > .woocommerce-checkout-payment > .wc-gzd-checkbox-placeholder {
  padding: 0 !important;
  background: transparent !important;
}

.mf-cart-page .cart_totals {
  float: none;
  width: 100%;
}
.mf-cart-page .cart_totals table {
  width: 100%;
  border: none;
  border-collapse: collapse;
  font-size: 14px;
  color: var(--mf-muted);
}
.mf-cart-page .cart_totals table tr { border-bottom: 1px solid var(--mf-line); }
.mf-cart-page .cart_totals table tr:last-child { border-bottom: none; }
.mf-cart-page .cart_totals table th,
.mf-cart-page .cart_totals table td {
  padding: 12px 0;
  background: transparent;
  border: none;
  vertical-align: middle;
}
.mf-cart-page .cart_totals table .order-total th,
.mf-cart-page .cart_totals table .order-total td {
  color: var(--mf-text);
  font-weight: 700;
  font-size: 16px;
}
.mf-cart-page .cart_totals table .order-total .amount {
  color: var(--mf-gold);
}
.mf-cart-page .cart_totals .wc-proceed-to-checkout a.checkout-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  margin-top: 16px;
  background: var(--mf-gold);
  color: #fff;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  transition: opacity .18s;
}
.mf-cart-page .cart_totals .wc-proceed-to-checkout a.checkout-button:hover {
  opacity: .88;
}

/* ═══════════════════════════════════════════════════════
   CATEGORY LANDING PAGES  (template-category-landing.php)
═══════════════════════════════════════════════════════ */

/* ── Hero ── */
/* ── Info Cards (replaces text wall) ── */
.mf-clp-infocards { padding: 64px 0; background: var(--mf-bg); }
.mf-clp-infocards__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.mf-clp-infocards__item {
  background: var(--mf-surface);
  border: 1px solid var(--mf-line);
  border-radius: 16px;
  padding: 32px 28px;
  transition: border-color .25s, transform .2s;
}
.mf-clp-infocards__item:hover {
  border-color: rgba(207,175,112,.3);
  transform: translateY(-2px);
}
.mf-clp-infocards__num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(207,175,112,.1);
  font-size: 13px; font-weight: 900;
  color: var(--mf-gold);
  margin-bottom: 16px;
}
.mf-clp-infocards__title {
  font-size: 16px;
  font-weight: 800;
  color: var(--mf-text);
  margin: 0 0 10px;
  letter-spacing: -.01em;
}
.mf-clp-infocards__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--mf-muted);
  margin: 0;
}
.mf-clp-infocards__desc strong {
  color: var(--mf-text);
  font-weight: 700;
}

/* ── USPs ── */
.mf-clp-usps { background: var(--mf-bg); padding: 64px 0; }


/* ── Info Section ── */
.mf-clp-info { padding: 80px 0; background: var(--mf-bg); }
.mf-clp-info__grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: start;
}
.mf-clp-info__body {
  margin-top: 20px;
}
.mf-clp-info__body p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--mf-muted);
  margin: 0 0 14px;
}
.mf-clp-info__body h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--mf-text);
  margin: 28px 0 12px;
}
.mf-clp-info__body ul,
.mf-clp-info__body ol {
  margin: 0 0 16px;
  padding-left: 24px;
}
.mf-clp-info__body li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--mf-muted);
  margin-bottom: 6px;
}
.mf-clp-info__body li strong {
  color: var(--mf-text);
}
.mf-clp-info__actions { margin-top: 24px; }
.mf-clp-info__card {
  background: var(--mf-surface);
  border: 1px solid var(--mf-line);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  position: sticky;
  top: 100px;
}
.mf-clp-info__card-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(207,175,112,.1);
  margin-bottom: 16px;
}
.mf-clp-info__card-icon svg { color: var(--mf-gold); }
.mf-clp-info__card-stat {
  font-size: 36px; font-weight: 900;
  color: var(--mf-text);
  line-height: 1;
}
.mf-clp-info__card-label {
  font-size: 14px; color: var(--mf-muted); margin-top: 4px;
}
.mf-clp-info__card-makes {
  margin-top: 16px;
  font-size: 13px; font-weight: 700; color: var(--mf-gold);
  text-transform: uppercase; letter-spacing: .04em;
}

/* ── Modellsuche ── */
.mf-clp-modelsearch {
  padding: 64px 0;
  background: var(--mf-bg);
}
.mf-clp-modelsearch__card {
  background: var(--mf-surface);
  border: 1px solid var(--mf-line);
  border-radius: 20px;
  padding: 48px 40px;
}
.mf-clp-modelsearch__header {
  text-align: center;
  margin-bottom: 32px;
}
.mf-clp-modelsearch__sub {
  font-size: 15px;
  color: var(--mf-muted);
  margin-top: 8px;
  line-height: 1.6;
}
.mf-clp-modelsearch__form {
  display: flex;
  gap: 16px;
  align-items: flex-end;
}
.mf-clp-modelsearch__field {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mf-clp-modelsearch__field label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--mf-muted);
}
.mf-clp-modelsearch__select {
  appearance: none;
  background: var(--mf-bg);
  border: 1px solid var(--mf-line);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--mf-text);
  cursor: pointer;
  transition: border-color .2s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.mf-clp-modelsearch__select:focus {
  outline: none;
  border-color: var(--mf-gold);
}
.mf-clp-modelsearch__select:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.mf-clp-modelsearch__form .mfh-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  white-space: nowrap;
}
.mf-clp-modelsearch__results {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--mf-line);
}
.mf-clp-modelsearch__results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.mf-clp-modelsearch__product {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--mf-bg);
  border: 1px solid var(--mf-line);
  border-radius: 12px;
  padding: 14px;
  text-decoration: none;
  transition: border-color .2s, transform .15s;
}
.mf-clp-modelsearch__product:hover {
  border-color: var(--mf-gold);
  transform: translateY(-2px);
}
.mf-clp-modelsearch__product img {
  width: 56px; height: 56px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--mf-surface);
  flex-shrink: 0;
}
.mf-clp-modelsearch__product-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.mf-clp-modelsearch__product-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--mf-text);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mf-clp-modelsearch__product-price {
  font-size: 13px;
  font-weight: 800;
  color: var(--mf-gold);
}
.mf-clp-modelsearch__results-empty {
  text-align: center;
  padding: 24px;
}
.mf-clp-modelsearch__results-empty p {
  font-size: 14px;
  color: var(--mf-muted);
}
.mf-clp-modelsearch__results-empty a {
  color: var(--mf-gold);
  text-decoration: underline;
}

/* ── So funktioniert's ── */
.mf-clp-steps {
  padding: 64px 0;
  background: var(--mf-bg);
}
.mf-clp-steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
  position: relative;
}
.mf-clp-steps__grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 12px);
  right: calc(12.5% + 12px);
  height: 2px;
  background: linear-gradient(90deg, var(--mf-line), var(--mf-gold) 50%, var(--mf-line));
  z-index: 0;
}
.mf-clp-steps__item {
  text-align: center;
  position: relative;
  z-index: 1;
}
.mf-clp-steps__number {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mf-gold), hsl(38, 60%, 55%));
  color: #000;
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(207,175,112,.3);
}
.mf-clp-steps__title {
  font-size: 15px;
  font-weight: 800;
  color: var(--mf-text);
  margin: 0 0 8px;
}
.mf-clp-steps__desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--mf-muted);
  margin: 0;
}

/* ── Gesetzliche Grundlagen ── */
.mf-clp-legal {
  padding: 64px 0;
  background: var(--mf-bg);
}
.mf-clp-legal__card {
  background: var(--mf-surface);
  border: 1px solid var(--mf-line);
  border-radius: 20px;
  padding: 48px 40px;
}
.mf-clp-legal__intro {
  font-size: 15px;
  line-height: 1.7;
  color: var(--mf-muted);
  margin: 16px 0 28px;
}
.mf-clp-legal__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -8px;
  padding: 0 8px;
}
.mf-clp-legal__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.mf-clp-legal__table thead th {
  background: rgba(207,175,112,.08);
  color: var(--mf-gold);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid var(--mf-line);
  white-space: nowrap;
}
.mf-clp-legal__table tbody td {
  padding: 12px 16px;
  color: var(--mf-text);
  border-bottom: 1px solid var(--mf-line);
  vertical-align: top;
}
.mf-clp-legal__table tbody tr:last-child td {
  border-bottom: none;
}
.mf-clp-legal__table tbody tr:hover {
  background: rgba(207,175,112,.03);
}
.mf-clp-legal__table tbody td strong {
  color: var(--mf-gold);
  font-weight: 800;
}
.mf-clp-legal__footnote {
  font-size: 12px;
  color: var(--mf-muted);
  margin-top: 16px;
  line-height: 1.5;
}

/* ── Hersteller Grid ── */
.mf-clp-makes { padding: 64px 0; background: var(--mf-bg); }
.mf-clp-makes__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 36px;
}
.mf-clp-makes__item {
  display: flex;
  align-items: center; justify-content: center;
  padding: 14px 12px;
  background: var(--mf-surface);
  border: 1px solid var(--mf-line);
  border-radius: 10px;
  font-size: 13px; font-weight: 700;
  color: var(--mf-text);
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.mf-clp-makes__item:hover {
  border-color: var(--mf-gold);
  background: rgba(207,175,112,.06);
  color: var(--mf-gold);
}

/* ── Products ── */
.mf-clp-products { padding: 64px 0; background: var(--mf-bg); }

/* ── Trust ── */
.mf-clp-trust { padding: 64px 0; background: var(--mf-bg); }
.mf-clp-trust__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mf-clp-trust__item {
  background: var(--mf-surface);
  border: 1px solid var(--mf-line);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
}
.mf-clp-trust__item h4 {
  margin: 14px 0 8px;
  font-size: 16px; font-weight: 800;
  color: var(--mf-text);
}
.mf-clp-trust__item p {
  margin: 0;
  font-size: 13px; line-height: 1.6;
  color: var(--mf-muted);
}

/* ── CTA ── */
.mf-clp-cta { padding: 80px 0; background: var(--mf-bg); }
.mf-clp-cta__card {
  background: linear-gradient(135deg, rgba(207,175,112,.12), rgba(207,175,112,.04));
  border: 1px solid rgba(207,175,112,.2);
  border-radius: 20px;
  padding: 56px 40px;
  text-align: center;
}
.mf-clp-cta__title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  color: var(--mf-text);
  margin: 12px 0;
}
.mf-clp-cta__copy {
  font-size: 15px;
  color: var(--mf-muted);
  margin: 0 0 28px;
  line-height: 1.6;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .mf-clp-infocards__grid { grid-template-columns: 1fr; }
  .mf-clp-infocards__item { padding: 24px 20px; }
  .mf-clp-info__grid { grid-template-columns: 1fr; gap: 32px; }
  .mf-clp-info__card { position: static; }
  .mf-clp-trust__grid { grid-template-columns: 1fr; }
  .mf-clp-makes__grid { grid-template-columns: repeat(2, 1fr); }
  .mf-clp-cta__card { padding: 36px 20px; }
  .mf-clp-modelsearch__card { padding: 28px 20px; }
  .mf-clp-modelsearch__form { flex-direction: column; }
  .mf-clp-modelsearch__results-grid { grid-template-columns: 1fr; }
  .mf-clp-steps__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .mf-clp-steps__grid::before { display: none; }
  .mf-clp-legal__card { padding: 28px 20px; }
  .mf-clp-legal__table { font-size: 12px; }
  .mf-clp-legal__table thead th,
  .mf-clp-legal__table tbody td { padding: 8px 10px; }
}

/* ═══════════════════════════════════════════════════
   MATERIAL SYMBOLS — Ensure icon font renders correctly
   (applies globally so .material-symbols-rounded works
    in Kontakt, Account, and other template parts)
═══════════════════════════════════════════════════ */
.material-symbols-rounded {
  font-family: 'Material Symbols Rounded', sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Kontakt card icon — gold tint, contained in box */
.mf-card__icon {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(179, 144, 71, 0.12);
  color: var(--mf-gold);
  font-size: 24px;
  flex-shrink: 0;
}
.mf-card__icon.material-symbols-rounded {
  font-size: 24px;
}

/* ═══════════════════════════════════════════════════
   MY ACCOUNT PAGE
═══════════════════════════════════════════════════ */

/* Section wrapper */
.mf-account-section {
  padding: 40px 0 80px;
  background: var(--mf-bg);
}

/* Logout button in hero */
.mfh-account-logout {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mf-muted);
  text-decoration: none;
  border: 1px solid var(--mf-line);
  padding: 8px 16px;
  border-radius: 8px;
  transition: color 0.2s, border-color 0.2s;
}
.mfh-account-logout .material-symbols-rounded { font-size: 16px; }
.mfh-account-logout:hover { color: #ef4444; border-color: rgba(239,68,68,0.3); }

/* Bento grid: sidebar nav | content */
.mf-account-grid {
  /* Outer wrapper — no grid here, the .woocommerce child handles it */
}
.woocommerce-account .mf-account-grid .woocommerce:has(.woocommerce-MyAccount-navigation) {
  display: grid !important;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: start;
}

/* ── Account Navigation Sidebar ── */
.woocommerce-MyAccount-navigation {
  background: var(--mf-surface);
  border: 1px solid var(--mf-line);
  border-radius: 12px;
  padding: 8px;
  position: sticky;
  top: 100px;
  float: none !important;
  width: auto !important;
}
.woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.woocommerce-MyAccount-navigation li { margin: 0; }
.woocommerce-MyAccount-navigation li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--mf-muted);
  text-decoration: none;
  transition: all 0.15s ease;
}
.woocommerce-MyAccount-navigation li a:hover {
  background: rgba(207,175,112,.08);
  color: var(--mf-text);
}
.woocommerce-MyAccount-navigation li.is-active a {
  color: var(--mf-gold);
  background: rgba(207,175,112,.1);
  font-weight: 700;
}
/* Logout */
.woocommerce-MyAccount-navigation li.wc-item-login-out {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--mf-line);
}
.woocommerce-MyAccount-navigation li.wc-item-login-out a { color: var(--mf-muted); }
.woocommerce-MyAccount-navigation li.wc-item-login-out a:hover { color: #ef4444; background: rgba(239,68,68,0.06); }

/* ── Account Content Card ── */
.woocommerce-MyAccount-content {
  background: var(--mf-surface);
  border: 1px solid var(--mf-line);
  border-radius: 12px;
  padding: 32px 36px;
  min-height: 300px;
  float: none !important;
  width: 100% !important;
}

/* Notices full width */
.mf-account-grid .woocommerce-notices-wrapper {
  grid-column: 1 / -1;
}
/* Kill WC clearfix */
.mf-account-grid .woocommerce::before,
.mf-account-grid .woocommerce::after { display: none !important; }

/* ── Dashboard content enrichment ── */
.woocommerce-MyAccount-content > p:first-child {
  font-size: 15px;
  line-height: 1.7;
  color: var(--mf-muted);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--mf-line);
  margin-bottom: 24px;
}
.woocommerce-MyAccount-content > p:first-child a {
  color: var(--mf-gold);
  font-weight: 600;
  text-decoration: none;
}
.woocommerce-MyAccount-content > p:first-child a:hover {
  text-decoration: underline;
}

/* ── Account select/textarea styling ── */
.woocommerce-MyAccount-content select {
  width: 100%;
  padding: 14px 18px;
  background: var(--mf-bg);
  border: 1px solid var(--mf-line);
  border-radius: 8px;
  color: var(--mf-text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  appearance: none;
  cursor: pointer;
}
.woocommerce-MyAccount-content fieldset {
  border: 1px solid var(--mf-line);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 20px;
}
.woocommerce-MyAccount-content fieldset legend {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--mf-gold);
  padding: 0 8px;
}

/* ── Edit Address Form ── */
.woocommerce-address-fields .form-row {
  margin-bottom: 16px;
}
.woocommerce-address-fields label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mf-muted);
  margin-bottom: 6px;
}
.woocommerce-address-fields .form-row-first,
.woocommerce-address-fields .form-row-last {
  float: none !important;
  width: 100% !important;
}
.woocommerce-address-fields .woocommerce-input-wrapper {
  display: block;
}

/* ── Account Content Typography ── */
.woocommerce-MyAccount-content p {
  color: var(--mf-muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 16px;
}
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--mf-text);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.woocommerce-MyAccount-content table {
  width: 100%;
  border-collapse: collapse;
}
.woocommerce-MyAccount-content table th,
.woocommerce-MyAccount-content table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--mf-line);
  font-size: 13px;
  color: var(--mf-text);
  text-align: left;
}
.woocommerce-MyAccount-content table th {
  font-weight: 700;
  color: var(--mf-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--mf-line);
  color: var(--mf-text);
  text-decoration: none;
  transition: all 0.15s;
}
.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a:hover {
  border-color: var(--mf-gold);
  color: var(--mf-gold);
}

/* Address blocks */
.woocommerce-Addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.woocommerce-Addresses::before,
.woocommerce-Addresses::after { display: none !important; }
.woocommerce-Address {
  background: var(--mf-bg);
  border: 1px solid var(--mf-line);
  border-radius: 10px;
  padding: 20px 24px;
}
.woocommerce-Address address { color: var(--mf-muted); font-size: 14px; line-height: 1.7; font-style: normal; }

/* ── Login / Register form on My Account (not logged in) ── */
.woocommerce-account:not(.logged-in) .mf-account-section { padding: 48px 0 80px; }
.woocommerce-account:not(.logged-in) .mf-account-grid .woocommerce { grid-template-columns: 1fr; max-width: 480px; }
.woocommerce-account:not(.logged-in) .woocommerce-MyAccount-navigation { display: none; }
.woocommerce-account:not(.logged-in) .woocommerce-MyAccount-content { padding: 36px 40px; }

/* WC form in account */
.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}
.woocommerce-account .woocommerce-form__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mf-muted);
  margin-bottom: 6px;
}
.woocommerce-account .woocommerce-Input,
.woocommerce-account input[type="text"],
.woocommerce-account input[type="email"],
.woocommerce-account input[type="password"] {
  width: 100% !important;
  padding: 14px 18px !important;
  background: var(--mf-bg) !important;
  border: 1px solid var(--mf-line) !important;
  border-radius: 8px !important;
  color: var(--mf-text) !important;
  font-size: 14px !important;
  font-family: inherit !important;
  outline: none !important;
  transition: border-color 0.2s !important;
  box-sizing: border-box !important;
}
.woocommerce-account input:focus { border-color: var(--mf-gold) !important; }
.woocommerce-account .woocommerce-button,
.woocommerce-account button[type="submit"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 28px !important;
  background: var(--mf-gold) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s !important;
  margin-top: 8px;
}
.woocommerce-account button[type="submit"]:hover { background: var(--mf-gold-dark) !important; }
.woocommerce-account .lost_password a { color: var(--mf-muted); font-size: 13px; text-decoration: none; }
.woocommerce-account .lost_password a:hover { color: var(--mf-gold); }

/* Notices */
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-error,
.woocommerce-account .woocommerce-info {
  background: var(--mf-surface) !important;
  border: 1px solid var(--mf-line) !important;
  border-left: 3px solid var(--mf-gold) !important;
  border-radius: 8px !important;
  padding: 14px 18px !important;
  font-size: 14px;
  color: var(--mf-text);
  margin-bottom: 20px;
  list-style: none;
}
.woocommerce-account .woocommerce-error { border-left-color: #ef4444 !important; }
.woocommerce-account .woocommerce-message::before,
.woocommerce-account .woocommerce-info::before,
.woocommerce-account .woocommerce-error::before { display: none !important; }

/* Responsive */
@media (max-width: 768px) {
  .woocommerce-account .mf-account-grid .woocommerce:has(.woocommerce-MyAccount-navigation) { grid-template-columns: 1fr !important; }
  .woocommerce-MyAccount-navigation { position: static; }
  .woocommerce-MyAccount-navigation ul { flex-direction: row; flex-wrap: wrap; }
  .woocommerce-MyAccount-navigation li a { padding: 7px 12px; font-size: 12px; }
  .woocommerce-Addresses { grid-template-columns: 1fr; }
  .woocommerce-MyAccount-content { padding: 24px 20px; }
  .woocommerce-account:not(.logged-in) .mf-account-grid .woocommerce { max-width: 100%; }
}

/*
 * Homepage / Header / Fahrzeug-Filter responsive hardening
 * Ziel: 1024 / 768 / 390 / 320
 */
@media (max-width: 1024px) {
  .mf-container { width: min(calc(100% - 32px), var(--mf-wrap)); }

  .mf-header__inner { gap: 16px; }
  .mf-header__logo { width: 160px; }

  .mfh-hero__bento,
  .mfh-showcase__grid,
  .mfh-faq__grid,
  .mfh-grid,
  .mfh-cat-grid,
  .mfh-cat-grid--4,
  .mfh-shop .products,
  .mfh-cat-mega__cards,
  .mfh-sec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mfh-hero {
    padding-top: 30px;
  }

  .mfh-hero__text { padding: 28px 24px; }

  .mfh-hero__main-card {
    grid-template-columns: 1.1fr 1fr;
    gap: 0;
    min-height: 360px;
  }

  .mfh-hero__image {
    min-height: 360px;
  }

  .mfh-hero__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
  }

  .mfh-hero__actions .mfh-btn { min-height: 50px; }

  .mfh-side-card { min-height: 120px; }

  .mfh-arc-vehicle-filter,
  .mfh-csd {
    max-width: 100%;
  }

  .mfh-csd__panel { max-height: 280px; overflow: auto; }
  .mfh-csd__list { max-height: 230px; overflow: auto; }
}

@media (max-width: 768px) {
  .mf-container { width: min(calc(100% - 22px), var(--mf-wrap)); }

  /* Header-Icons: schon bei 980px gehandhabt, hier nur Hamburger-Button-Styling */
  .mf-menu-toggle {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--mf-line);
  }

  .mf-header__inner { justify-content: space-between; min-height: 60px; gap: 10px; }
  .mf-header__logo { width: 150px; }
  .mf-topbar__inner { justify-content: center; text-align: center; }
  .mf-topbar__inner span:first-child { display: none; }

  .mfh-hero { padding-top: 24px; overflow-x: hidden; }
  .mfh-hero__bento { gap: 14px; }
  .mfh-hero__bento,
  .mfh-hero__main-card {
    grid-template-columns: 1fr;
  }
  .mfh-hero__sidebar {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
  .mfh-hero__image {
    min-height: 250px;
  }
  .mfh-hero__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 10px;
  }
  .mfh-hero__actions .mfh-btn {
    width: 100%;
    justify-self: stretch;
    min-height: 52px;
  }
  .mfh-side-card {
    padding: 16px;
  }
  .mfh-kicker { min-height: 36px; padding: 0 14px; font-size: 12px; }
  .mfh-hero__title { font-size: clamp(36px, 9vw, 52px); line-height: 1.06; }

  .mfh-sec-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .mfh-sec-title { font-size: clamp(24px, 7vw, 34px); line-height: 1.1; }
  .mfh-grid:not(.mfh-products-grid),
  .mfh-grid--3,
  .mfh-arc-vehicle-filter,
  .mfh-trust__grid,
  .mfh-products,
  .mfh-faq__grid,
  .mfh-showcase__grid,
  .mfh-shop-hero__inner,
  .mf-pdp-content__grid,
  .mfh-shop-hero {
    grid-template-columns: 1fr !important;
  }

  .mfh-tab-panel,
  .mfh-pdp-content__grid {
    display: block;
    width: 100%;
    max-width: 100%;
  }

  .mfh-tab {
    padding: 0 12px;
    height: 40px;
    font-size: 13px;
  }

  .mfh-cat-slider .mfh-cat-card {
    width: auto;
  }

  .mfh-card,
  .mfh-featured-card,
  .mfh-cat-card,
  .mfh-tech-card {
    width: 100%;
    min-width: 0;
  }

  .mfh-cat-mega__cards,
  .mfh-cat-mega__sidebar,
  .mfh-mega__grid,
  .mfh-info-dropdown__inner {
    grid-template-columns: 1fr;
  }

  .mfh-csd__trigger,
  .mfh-arc-vf .mfh-btn,
  .mfh-side-card,
  .mfh-cat-card,
  .mfh-tech-card {
    width: 100%;
    min-height: 44px;
  }

  .mfh-faq__card,
  .mfh-cta__card,
  .mfh-showcase__copy,
  .mfh-sec-head {
    padding-left: 0;
    padding-right: 0;
  }

  .mfh-faq__card { padding: 28px 18px; }
  .mfh-cta__card { padding: 36px 20px; }

  ul.products,
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .mf-shell,
  .mfh-arc-vf,
  .mfh-shop-hero,
  .mfh-card__body,
  .mfh-faq__list,
  .mfh-faq__item,
  .mfh-arc-vehicle-filter {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .mf-container,
  .mfh-arc-vf {
    width: min(calc(100% - 16px), var(--mf-wrap));
  }

  .mfh-side-card {
    padding: 16px !important;
  }

  .mfh-side-card__name,
  .mfh-side-card__sub {
    white-space: normal;
  }

  .mfh-btn { min-height: 50px; padding-inline: 18px; }
  .mfh-hero__copy,
  .mfh-showcase__copy,
  .mfh-cat-card__sub,
  .mfh-card__price,
  .mfh-faq__a p,
  .mfh-cta__copy {
    font-size: 14px;
  }

  .mfh-hero__slide img,
  .mfh-showcase__img--main,
  .mfh-showcase__img--sub {
    width: 100%;
    height: auto;
  }

  .mfh-hero__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
  }
}

@media (max-width: 360px) {
  .mf-container { width: 100%; padding-left: 8px; padding-right: 8px; }
  .mf-header__logo { width: 130px; }
  .mfh-kicker { font-size: 11px; }
  .mfh-sec-title { font-size: 30px; }
  .mfh-hero__actions .mfh-btn {
    min-height: 50px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  /* Touch-friendly min-sizes */
  .mf-menu-toggle,
  .mf-cart-trigger {
    min-height: 44px;
    min-width: 44px;
  }
  .mf-cart-popover {
    right: 0;
    left: auto;
    min-width: min(360px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
  }
}

@media (max-width: 768px) { .mfh-feats { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 480px) { .mfh-feats { grid-template-columns: 1fr; } }

@media (max-width: 768px) { .mfh-pdp-grid { grid-template-columns: 1fr; } }

@media (max-width: 480px) {
  .mfh-faq__card { padding: 24px 16px; }
  .mfh-cta__card { padding: 32px 16px; }
  .mfh-cta__title { font-size: clamp(28px, 8vw, 36px); }
}

/* Sidebar: 1 Card pro Zeile auf Mobile — wird bereits in 768px Block gehandhabt */

@media (max-width: 640px) {
  .mfh-hero__trust { gap: 6px; }
  .mfh-trust-pill { font-size: 10px; padding: 3px 8px; }
}

@media (max-width: 768px) { .mfh-cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .mfh-cat-grid { grid-template-columns: 1fr; } }

@media (max-width: 640px) {
  .mfh-tab-panel .mfh-grid,
  .mfh-tab-panel .mfh-products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }
}

/* ── Cart VIN editor ── */
.mfh-cart-vin-edit-wrapper {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mfh-cart-vin-edit-wrapper label {
  font-size: 10px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: var(--mf-muted) !important;
}
.mfh-cart-vin-edit-field {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 280px;
  width: 100%;
}
.mfh-cart-vin-input {
  width: 100% !important;
  background: var(--mf-bg) !important;
  border: 1px solid var(--mf-line) !important;
  border-radius: 6px !important;
  padding: 8px 32px 8px 12px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--mf-gold) !important;
  font-family: inherit !important;
  text-transform: uppercase;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box !important;
}
.mfh-cart-vin-input:focus {
  border-color: var(--mf-gold) !important;
  box-shadow: 0 0 0 2px rgba(179, 144, 71, 0.15) !important;
  outline: none !important;
}
.mfh-cart-vin-clear {
  position: absolute;
  right: 10px;
  background: none !important;
  border: none !important;
  color: var(--mf-muted) !important;
  font-size: 12px !important;
  cursor: pointer;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s;
  height: 20px;
  width: 20px;
}
.mfh-cart-vin-clear:hover {
  color: var(--mf-text) !important;
}

/* ═══ ULTIMATE GRID FIX — last-wins specificity ═══ */
.mfh-arc-grid-wrap ul.products,
.mfh-arc-grid-wrap .woocommerce ul.products,
body .woocommerce ul.products.columns-4,
body ul.products.columns-4 {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
}
@media (max-width: 1100px) {
  .mfh-arc-grid-wrap ul.products,
  .mfh-arc-grid-wrap .woocommerce ul.products,
  body .woocommerce ul.products.columns-4,
  body ul.products.columns-4 {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (max-width: 768px) {
  .mfh-arc-grid-wrap ul.products,
  .mfh-arc-grid-wrap .woocommerce ul.products,
  body .woocommerce ul.products.columns-4,
  body ul.products.columns-4 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}
/* List view override — only desktop */
@media (min-width: 769px) {
  .mfh-view-list.mfh-arc-grid-wrap ul.products,
  .mfh-view-list.mfh-arc-grid-wrap .woocommerce ul.products {
    grid-template-columns: 1fr !important;
  }
}

/* ═══ TOOLBAR LIVE SEARCH ═══ */
.mfh-toolbar-search {
  flex: 1 1 0; min-width: 0; position: relative;
}
.mfh-toolbar-search__input {
  width: 100%; height: 36px; box-sizing: border-box;
  padding: 0 14px 0 36px;
  border: 1.5px solid var(--mf-line);
  border-radius: 8px;
  background: var(--mf-surface);
  font-size: 12px; font-weight: 500; font-family: inherit;
  color: var(--mf-text);
  transition: border-color .2s, box-shadow .2s;
}
.mfh-toolbar-search__input::placeholder { color: var(--mf-muted); }
.mfh-toolbar-search__input:focus {
  border-color: var(--mf-gold); outline: none;
  box-shadow: 0 0 0 3px rgba(179,144,71,.1);
}
.mfh-toolbar-search__icon {
  position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  font-size: 16px; color: var(--mf-muted); pointer-events: none;
}


/* ═══════════════════════════════════════════════════
   THANK YOU PAGE
   ═══════════════════════════════════════════════════ */

.mf-thankyou-wrap {
  padding: 48px 0 80px;
}

/* ── Success Banner ── */
.mf-thankyou-success {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--mf-surface);
  border: 1px solid var(--mf-line-strong);
  border-radius: var(--mf-radius);
  padding: 28px 32px;
  margin-bottom: 28px;
  box-shadow: var(--mf-shadow);
}
.mf-thankyou-success__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(179,144,71,0.1);
  border: 1px solid rgba(179,144,71,0.25);
  color: var(--mf-gold);
}
.mf-thankyou-success__title {
  margin: 0 0 6px;
  font-size: clamp(22px,3vw,28px);
  font-weight: 850;
  color: var(--mf-text);
}
.mf-thankyou-success__subtitle {
  margin: 0;
  font-size: 14px;
  color: var(--mf-text-2);
  line-height: 1.6;
}

/* ── Meta Pills ── */
.mf-thankyou-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.mf-thankyou-meta__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 160px;
  background: var(--mf-surface);
  border: 1px solid var(--mf-line);
  border-radius: var(--mf-radius-sm);
  padding: 14px 18px;
}
.mf-thankyou-meta__label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: var(--mf-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.mf-thankyou-meta__label svg { opacity: .6; }
.mf-thankyou-meta__value {
  font-size: 14px;
  font-weight: 700;
  color: var(--mf-text);
}

/* ── 2-column grid ── */
.mf-thankyou-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: flex-start;
}
@media (max-width: 860px) {
  .mf-thankyou-grid { grid-template-columns: 1fr; }
}

/* ── Items list ── */
.mf-thankyou-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mf-thankyou-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--mf-line);
}
.mf-thankyou-item:last-child { border-bottom: none; }
.mf-thankyou-item__img {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--mf-surface-2);
  border: 1px solid var(--mf-line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mf-thankyou-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mf-thankyou-item__info { flex: 1; min-width: 0; }
.mf-thankyou-item__name {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mf-text);
  line-height: 1.4;
}
.mf-thankyou-item__qty {
  margin: 0;
  font-size: 12px;
  color: var(--mf-muted);
}
.mf-thankyou-item__fgn {
  margin: 5px 0 0;
  display: flex;
  align-items: center;
  gap: 5px;
}
.mf-vin-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mf-muted);
}
.mf-vin-value {
  font-size: 11px;
  font-weight: 600;
  color: var(--mf-gold);
  background: rgba(179,144,71,0.08);
  border: 1px solid rgba(179,144,71,0.2);
  border-radius: 4px;
  padding: 1px 6px;
  font-family: 'SF Mono', 'Fira Code', monospace;
}
.mf-thankyou-item__total {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--mf-text);
  text-align: right;
}

/* ── Totals ── */
.mf-thankyou-totals {
  border-top: 1px solid var(--mf-line);
  margin-top: 4px;
  padding-top: 4px;
}
.mf-thankyou-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  font-size: 13px;
  color: var(--mf-text-2);
  border-bottom: 1px solid var(--mf-line);
}
.mf-thankyou-total-row:last-child { border-bottom: none; }
.mf-thankyou-total-row.is-grand {
  font-size: 16px;
  font-weight: 800;
  color: var(--mf-text);
  padding: 14px 0 8px;
}

/* ── Sidebar ── */
.mf-thankyou-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── Address ── */
.mf-thankyou-address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mf-text-2);
}
.mf-thankyou-address__phone,
.mf-thankyou-address__email {
  font-size: 13px;
  color: var(--mf-muted);
}

/* ── Actions ── */
.mf-thankyou-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── Failed state ── */
.mf-thankyou-failed {
  text-align: center;
  padding: 60px 24px;
  background: var(--mf-surface);
  border: 1px solid var(--mf-line);
  border-radius: var(--mf-radius);
}
.mf-thankyou-failed__icon { margin-bottom: 16px; }
.mf-thankyou-failed h2 { margin: 0 0 8px; font-size: 24px; font-weight: 800; color: var(--mf-text); }
.mf-thankyou-failed p { color: var(--mf-muted); margin: 0 0 24px; }
.mf-thankyou-failed__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── WooCommerce Banküberweisung-Block ── */
.woocommerce-order-details,
.woocommerce-bacs-bank-details {
  background: var(--mf-surface);
  border: 1px solid var(--mf-line);
  border-radius: var(--mf-radius-sm);
  padding: 20px 24px;
  margin-bottom: 16px;
}
.woocommerce-bacs-bank-details h2,
.woocommerce-order-details h2 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--mf-text);
}
.woocommerce-bacs-bank-details ul.wc-bacs-bank-details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px,1fr));
  gap: 12px;
}
.woocommerce-bacs-bank-details ul.wc-bacs-bank-details li {
  background: var(--mf-surface-2);
  border-radius: 10px;
  padding: 12px 14px;
}
.woocommerce-bacs-bank-details ul.wc-bacs-bank-details li span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--mf-muted);
  margin-bottom: 4px;
}
.woocommerce-bacs-bank-details ul.wc-bacs-bank-details li strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--mf-text);
}

/* Mobile */
@media (max-width: 640px) {
  .mf-thankyou-wrap { padding: 28px 0 60px; }
  .mf-thankyou-success { flex-direction: column; text-align: center; padding: 24px; }
  .mf-thankyou-meta__item { flex: 1 1 140px; }
  .mf-thankyou-grid { gap: 16px; }
}

