/* MJT 2026 — Dark mode component overrides */

[data-theme="dark"] .mjt-shape-wave {
  color: var(--mjt-color-bg);
}

/* Global dark polish: shared surfaces, forms, tables */
[data-theme="dark"] .mjt-section--alt {
  background: color-mix(in srgb, var(--mjt-color-bg-alt) 82%, var(--mjt-color-bg));
}

[data-theme="dark"] .mjt-value-card,
[data-theme="dark"] .mjt-rewards-card,
[data-theme="dark"] .mjt-faq,
[data-theme="dark"] .mjt-collection-card,
[data-theme="dark"] .mjt-search-head,
[data-theme="dark"] .mjt-search-toolbar__select {
  background: var(--mjt-color-surface-elevated);
  border-color: var(--mjt-color-border);
}

[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not(.mjt-btn),
[data-theme="dark"] select,
[data-theme="dark"] textarea {
  background: var(--mjt-color-input-bg);
  border-color: color-mix(in srgb, var(--mjt-color-border) 84%, transparent);
  color: var(--mjt-color-text);
}

/* Header search: beat global dark input rule (higher :not specificity) */
[data-theme="dark"] .mjt-header-search input[type="search"]:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not(.mjt-btn),
[data-theme="dark"] .mjt-header-search {
  background: var(--mjt-color-surface);
  border-color: var(--mjt-color-border);
  color: var(--mjt-color-text);
}
[data-theme="dark"] .mjt-header-search input[type="search"]:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not(.mjt-btn) {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}

[data-theme="dark"] table,
[data-theme="dark"] th,
[data-theme="dark"] td {
  border-color: var(--mjt-color-border);
}

[data-theme="dark"] th {
  background: color-mix(in srgb, var(--mjt-color-surface-elevated) 88%, var(--mjt-color-bg));
}

/* Hero slider dark mode */
[data-theme="dark"] .mjt-hero-slider--woodmart {
  background: transparent;
}

[data-theme="dark"] .mjt-hero-slide {
  --mjt-hero-bg: color-mix(in srgb, var(--mjt-color-surface-elevated) 72%, var(--mjt-color-bg));
  --mjt-hero-bg-soft: color-mix(in srgb, var(--mjt-color-surface-elevated) 86%, var(--mjt-color-bg-alt));
  --mjt-hero-bg-accent: color-mix(in srgb, var(--mjt-color-accent) 20%, var(--mjt-color-bg-alt));
  --mjt-hero-text: var(--mjt-color-text);
  --mjt-hero-muted: color-mix(in srgb, var(--mjt-color-text-muted) 92%, #fff);
  --mjt-hero-btn-bg: var(--mjt-color-accent);
  --mjt-hero-btn-text: var(--mjt-color-text-inverse);
}

[data-theme="dark"] .mjt-hero-slide__category-pill {
  background: color-mix(in srgb, var(--mjt-color-surface-elevated) 85%, var(--mjt-color-bg));
  border-color: color-mix(in srgb, var(--mjt-color-border) 90%, transparent);
}

[data-theme="dark"] .mjt-hero-slide__count {
  background: color-mix(in srgb, var(--mjt-color-surface-elevated) 74%, transparent);
  border-color: color-mix(in srgb, var(--mjt-color-border) 70%, transparent);
}

[data-theme="dark"] .mjt-hero-slide__discover-icon {
  background: color-mix(in srgb, var(--mjt-color-surface-elevated) 90%, transparent);
  color: var(--mjt-color-text);
}

[data-theme="dark"] .mjt-hero-slide__frame {
  background: color-mix(in srgb, var(--mjt-color-surface-elevated) 88%, #101012);
  filter:
    drop-shadow(0 28px 42px rgba(0, 0, 0, 0.45))
    drop-shadow(0 10px 22px rgba(0, 0, 0, 0.32));
}

[data-theme="dark"] .mjt-hero-slide__dot-cluster-item {
  background: color-mix(in srgb, var(--mjt-color-accent) 55%, #f2ece4);
}

[data-theme="dark"] .mjt-hero-slider__arrow {
  background: color-mix(in srgb, var(--mjt-color-surface-elevated) 92%, var(--mjt-color-bg));
  color: var(--mjt-color-text-muted);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .mjt-hero-slider__arrow:hover {
  color: var(--mjt-color-text);
}

[data-theme="dark"] .mjt-hero-slider__dots {
  background: color-mix(in srgb, var(--mjt-color-surface-elevated) 95%, var(--mjt-color-bg));
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.34);
}

[data-theme="dark"] .mjt-hero-slider__dot {
  background: color-mix(in srgb, var(--mjt-color-text-muted) 56%, transparent);
}

[data-theme="dark"] .mjt-hero-slider__dot.is-active {
  background: var(--mjt-color-text);
}

/* Header search overlay dark mode */
[data-theme="dark"] .mjt-search-overlay {
  background: color-mix(in srgb, #050507 82%, transparent);
  backdrop-filter: blur(4px);
}

[data-theme="dark"] .mjt-search-overlay__inner {
  padding: 0.9rem;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--mjt-color-border) 92%, transparent);
  background: linear-gradient(160deg, color-mix(in srgb, var(--mjt-color-surface-elevated) 90%, #0f1012), color-mix(in srgb, var(--mjt-color-bg-alt) 78%, #0b0c0e));
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.46);
}

[data-theme="dark"] .mjt-search-form {
  padding: 0.35rem;
  border: 1px solid color-mix(in srgb, var(--mjt-color-border) 92%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--mjt-color-surface-elevated) 86%, #141518);
}

[data-theme="dark"] .mjt-search-form input[type="search"] {
  background: transparent;
  border: 0;
  color: var(--mjt-color-text);
}

[data-theme="dark"] .mjt-search-form input[type="search"]::placeholder {
  color: color-mix(in srgb, var(--mjt-color-text-muted) 88%, #d8d8d8);
}

[data-theme="dark"] .mjt-search-form .mjt-btn {
  box-shadow: none;
}

[data-theme="dark"] .mjt-search-overlay .mjt-header-search__results {
  border: 1px solid color-mix(in srgb, var(--mjt-color-border) 86%, transparent);
  border-radius: 14px;
  background: color-mix(in srgb, var(--mjt-color-surface-elevated) 92%, #101114);
}

[data-theme="dark"] .mjt-search-result {
  border-bottom-color: color-mix(in srgb, var(--mjt-color-border) 82%, transparent);
}

[data-theme="dark"] .mjt-search-result:hover {
  background: color-mix(in srgb, var(--mjt-color-bg-alt) 70%, #18191c);
}

[data-theme="dark"] .mjt-page-hero--premium {
  background: linear-gradient(180deg, var(--mjt-color-bg-dark) 0%, var(--mjt-color-bg) 100%);
}

[data-theme="dark"] .mjt-page-hero--accent .mjt-page-hero__frame,
[data-theme="dark"] .mjt-page-hero--warm .mjt-page-hero__frame,
[data-theme="dark"] .mjt-page-hero--light .mjt-page-hero__frame,
[data-theme="dark"] .mjt-page-hero--premium:not(.mjt-page-hero--dark) .mjt-page-hero__frame {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 82% 18%, rgba(215, 184, 122, 0.14) 0%, transparent 40%),
    radial-gradient(circle at 12% 88%, rgba(122, 15, 24, 0.22) 0%, transparent 45%),
    linear-gradient(135deg, #1a1210 0%, #2d1818 48%, #3d1f1f 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .mjt-page-hero--premium:not(.mjt-page-hero--dark) .mjt-page-title,
[data-theme="dark"] .mjt-page-hero--premium:not(.mjt-page-hero--dark) h1 {
  color: #fff;
}

[data-theme="dark"] .mjt-page-hero--premium:not(.mjt-page-hero--dark) .mjt-page-lead {
  color: rgba(255, 255, 255, 0.82);
}

[data-theme="dark"] .mjt-page-hero--premium:not(.mjt-page-hero--dark) .mjt-page-hero__badge {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.14);
}

[data-theme="dark"] .mjt-page-hero--premium:not(.mjt-page-hero--dark) .mjt-page-hero__badge-dot {
  background: var(--mjt-color-gold);
  box-shadow: 0 0 0 4px rgba(215, 184, 122, 0.2);
}

[data-theme="dark"] .mjt-page-hero--premium:not(.mjt-page-hero--dark) .mjt-page-hero__chips li {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .mjt-page-hero--premium:not(.mjt-page-hero--dark) .mjt-page-hero__icon-wrap {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

[data-theme="dark"] .mjt-page-hero--premium:not(.mjt-page-hero--dark) .mjt-page-hero__scribble {
  border-color: rgba(255, 255, 255, 0.16);
}

[data-theme="dark"] .mjt-home-brands {
  background:
    radial-gradient(circle at 10% 0%, color-mix(in srgb, var(--mjt-color-gold) 8%, transparent), transparent 42%),
    radial-gradient(circle at 92% 18%, color-mix(in srgb, var(--mjt-color-accent) 10%, transparent), transparent 40%),
    linear-gradient(180deg, var(--mjt-color-bg-dark) 0%, var(--mjt-color-bg) 100%);
}

[data-theme="dark"] .mjt-home-brand-card {
  background: linear-gradient(160deg, var(--mjt-color-surface-elevated) 0%, color-mix(in srgb, var(--mjt-color-bg-alt) 80%, var(--mjt-color-surface)) 100%);
  border-color: color-mix(in srgb, var(--mjt-color-border) 90%, transparent);
}

[data-theme="dark"] .mjt-home-brand-card__logo {
  filter: brightness(0) invert(1);
  opacity: 0.94;
}

[data-theme="dark"] .mjt-home-brand-card:hover .mjt-home-brand-card__logo {
  opacity: 1;
}

[data-theme="dark"] .mjt-highlight {
  background: linear-gradient(155deg, var(--mjt-color-surface), var(--mjt-color-surface-elevated));
  border-color: var(--mjt-color-border);
  box-shadow: var(--mjt-shadow-card);
}

[data-theme="dark"] .mjt-highlight__icon-wrap {
  background: var(--mjt-color-accent-soft);
  border-color: color-mix(in srgb, var(--mjt-color-accent) 26%, transparent);
}

[data-theme="dark"] .mjt-stats-strip,
[data-theme="dark"] .mjt-stats-strip--premium {
  background: linear-gradient(135deg, #0e0e10 0%, #2a1416 48%, #3d1a1c 100%);
  color: var(--mjt-color-text);
  border: 1px solid color-mix(in srgb, var(--mjt-color-border) 80%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
[data-theme="dark"] .mjt-stats-strip__value {
  color: color-mix(in srgb, var(--mjt-color-gold) 88%, #fff);
}
[data-theme="dark"] .mjt-stats-strip__label {
  color: var(--mjt-color-text-muted);
  opacity: 1;
}

[data-theme="dark"] .mjt-about-storyband {
  background: linear-gradient(145deg, var(--mjt-color-surface), var(--mjt-color-surface-elevated));
  border-color: var(--mjt-color-border);
}

[data-theme="dark"] .mjt-financing-immersive__icon {
  background: var(--mjt-color-accent-soft);
}

[data-theme="dark"] .mjt-about-visit__map iframe,
[data-theme="dark"] .mjt-contact__map iframe {
  filter: invert(0.92) hue-rotate(180deg) contrast(0.92);
}

[data-theme="dark"] .mjt-page-testimonial,
[data-theme="dark"] .mjt-testimonial-card {
  border: 1px solid var(--mjt-color-border);
  background: var(--mjt-color-surface-elevated);
}

[data-theme="dark"] .mjt-contact__form-wrap input:not([type="submit"]):not(.mjt-btn),
[data-theme="dark"] .mjt-contact__form-wrap textarea,
[data-theme="dark"] .mjt-contact__form-card input:not([type="submit"]):not(.mjt-btn),
[data-theme="dark"] .mjt-contact__form-card textarea,
[data-theme="dark"] .mjt-contact__form-wrap .wpcf7-form input[type="text"],
[data-theme="dark"] .mjt-contact__form-wrap .wpcf7-form input[type="email"],
[data-theme="dark"] .mjt-contact__form-wrap .wpcf7-form input[type="tel"],
[data-theme="dark"] .mjt-contact__form-wrap .wpcf7-form textarea {
  border-color: color-mix(in srgb, var(--mjt-color-border) 80%, #fff);
  background: var(--mjt-color-input-bg);
}

[data-theme="dark"] .mjt-review-summary,
[data-theme="dark"] .mjt-review-list .comment_container,
[data-theme="dark"] .mjt-product-reviews__form-wrap {
  background: var(--mjt-color-surface-elevated);
  border-color: var(--mjt-color-border);
}

@media (prefers-color-scheme: dark) {
  [data-theme="auto"] .mjt-shape-wave {
    color: var(--mjt-color-bg);
  }

  [data-theme="auto"] .mjt-section--alt {
    background: color-mix(in srgb, var(--mjt-color-bg-alt) 82%, var(--mjt-color-bg));
  }

  [data-theme="auto"] .mjt-value-card,
  [data-theme="auto"] .mjt-rewards-card,
  [data-theme="auto"] .mjt-faq,
  [data-theme="auto"] .mjt-collection-card,
  [data-theme="auto"] .mjt-search-head,
  [data-theme="auto"] .mjt-search-toolbar__select {
    background: var(--mjt-color-surface-elevated);
    border-color: var(--mjt-color-border);
  }

  [data-theme="auto"] input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not(.mjt-btn),
  [data-theme="auto"] select,
  [data-theme="auto"] textarea {
    background: var(--mjt-color-input-bg);
    border-color: color-mix(in srgb, var(--mjt-color-border) 84%, transparent);
    color: var(--mjt-color-text);
  }

  [data-theme="auto"] .mjt-header-search input[type="search"]:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not(.mjt-btn),
  [data-theme="auto"] .mjt-header-search {
    background: var(--mjt-color-surface);
    border-color: var(--mjt-color-border);
    color: var(--mjt-color-text);
  }
  [data-theme="auto"] .mjt-header-search input[type="search"]:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not(.mjt-btn) {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
  }

  [data-theme="auto"] table,
  [data-theme="auto"] th,
  [data-theme="auto"] td {
    border-color: var(--mjt-color-border);
  }

  [data-theme="auto"] th {
    background: color-mix(in srgb, var(--mjt-color-surface-elevated) 88%, var(--mjt-color-bg));
  }

  [data-theme="auto"] .mjt-hero-slider--woodmart {
    background: transparent;
  }

  [data-theme="auto"] .mjt-hero-slide {
    --mjt-hero-bg: color-mix(in srgb, var(--mjt-color-surface-elevated) 72%, var(--mjt-color-bg));
    --mjt-hero-bg-soft: color-mix(in srgb, var(--mjt-color-surface-elevated) 86%, var(--mjt-color-bg-alt));
    --mjt-hero-bg-accent: color-mix(in srgb, var(--mjt-color-accent) 20%, var(--mjt-color-bg-alt));
    --mjt-hero-text: var(--mjt-color-text);
    --mjt-hero-muted: color-mix(in srgb, var(--mjt-color-text-muted) 92%, #fff);
    --mjt-hero-btn-bg: var(--mjt-color-accent);
    --mjt-hero-btn-text: var(--mjt-color-text-inverse);
  }

  [data-theme="auto"] .mjt-hero-slide__category-pill {
    background: color-mix(in srgb, var(--mjt-color-surface-elevated) 85%, var(--mjt-color-bg));
    border-color: color-mix(in srgb, var(--mjt-color-border) 90%, transparent);
  }

  [data-theme="auto"] .mjt-hero-slide__count {
    background: color-mix(in srgb, var(--mjt-color-surface-elevated) 74%, transparent);
    border-color: color-mix(in srgb, var(--mjt-color-border) 70%, transparent);
  }

  [data-theme="auto"] .mjt-hero-slide__discover-icon {
    background: color-mix(in srgb, var(--mjt-color-surface-elevated) 90%, transparent);
    color: var(--mjt-color-text);
  }

  [data-theme="auto"] .mjt-hero-slide__frame {
    background: color-mix(in srgb, var(--mjt-color-surface-elevated) 88%, #101012);
    filter:
      drop-shadow(0 28px 42px rgba(0, 0, 0, 0.45))
      drop-shadow(0 10px 22px rgba(0, 0, 0, 0.32));
  }

  [data-theme="auto"] .mjt-hero-slide__dot-cluster-item {
    background: color-mix(in srgb, var(--mjt-color-accent) 55%, #f2ece4);
  }

  [data-theme="auto"] .mjt-hero-slider__arrow {
    background: color-mix(in srgb, var(--mjt-color-surface-elevated) 92%, var(--mjt-color-bg));
    color: var(--mjt-color-text-muted);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  }

  [data-theme="auto"] .mjt-hero-slider__arrow:hover {
    color: var(--mjt-color-text);
  }

  [data-theme="auto"] .mjt-hero-slider__dots {
    background: color-mix(in srgb, var(--mjt-color-surface-elevated) 95%, var(--mjt-color-bg));
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.34);
  }

  [data-theme="auto"] .mjt-hero-slider__dot {
    background: color-mix(in srgb, var(--mjt-color-text-muted) 56%, transparent);
  }

  [data-theme="auto"] .mjt-hero-slider__dot.is-active {
    background: var(--mjt-color-text);
  }

  [data-theme="auto"] .mjt-search-overlay {
    background: color-mix(in srgb, #050507 82%, transparent);
    backdrop-filter: blur(4px);
  }

  [data-theme="auto"] .mjt-search-overlay__inner {
    padding: 0.9rem;
    border-radius: 18px;
    border: 1px solid color-mix(in srgb, var(--mjt-color-border) 92%, transparent);
    background: linear-gradient(160deg, color-mix(in srgb, var(--mjt-color-surface-elevated) 90%, #0f1012), color-mix(in srgb, var(--mjt-color-bg-alt) 78%, #0b0c0e));
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.46);
  }

  [data-theme="auto"] .mjt-search-form {
    padding: 0.35rem;
    border: 1px solid color-mix(in srgb, var(--mjt-color-border) 92%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--mjt-color-surface-elevated) 86%, #141518);
  }

  [data-theme="auto"] .mjt-search-form input[type="search"] {
    background: transparent;
    border: 0;
    color: var(--mjt-color-text);
  }

  [data-theme="auto"] .mjt-search-form input[type="search"]::placeholder {
    color: color-mix(in srgb, var(--mjt-color-text-muted) 88%, #d8d8d8);
  }

  [data-theme="auto"] .mjt-search-form .mjt-btn {
    box-shadow: none;
  }

  [data-theme="auto"] .mjt-search-overlay .mjt-header-search__results {
    border: 1px solid color-mix(in srgb, var(--mjt-color-border) 86%, transparent);
    border-radius: 14px;
    background: color-mix(in srgb, var(--mjt-color-surface-elevated) 92%, #101114);
  }

  [data-theme="auto"] .mjt-search-result {
    border-bottom-color: color-mix(in srgb, var(--mjt-color-border) 82%, transparent);
  }

  [data-theme="auto"] .mjt-search-result:hover {
    background: color-mix(in srgb, var(--mjt-color-bg-alt) 70%, #18191c);
  }

  [data-theme="auto"] .mjt-page-hero--premium {
    background: linear-gradient(180deg, var(--mjt-color-bg-dark) 0%, var(--mjt-color-bg) 100%);
  }

  [data-theme="auto"] .mjt-page-hero--accent .mjt-page-hero__frame,
  [data-theme="auto"] .mjt-page-hero--warm .mjt-page-hero__frame,
  [data-theme="auto"] .mjt-page-hero--light .mjt-page-hero__frame,
  [data-theme="auto"] .mjt-page-hero--premium:not(.mjt-page-hero--dark) .mjt-page-hero__frame {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.1);
    background:
      radial-gradient(circle at 82% 18%, rgba(215, 184, 122, 0.14) 0%, transparent 40%),
      radial-gradient(circle at 12% 88%, rgba(122, 15, 24, 0.22) 0%, transparent 45%),
      linear-gradient(135deg, #1a1210 0%, #2d1818 48%, #3d1f1f 100%);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  }

  [data-theme="auto"] .mjt-page-hero--premium:not(.mjt-page-hero--dark) .mjt-page-title,
  [data-theme="auto"] .mjt-page-hero--premium:not(.mjt-page-hero--dark) h1 {
    color: #fff;
  }

  [data-theme="auto"] .mjt-page-hero--premium:not(.mjt-page-hero--dark) .mjt-page-lead {
    color: rgba(255, 255, 255, 0.82);
  }

  [data-theme="auto"] .mjt-page-hero--premium:not(.mjt-page-hero--dark) .mjt-page-hero__badge {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.14);
  }

  [data-theme="auto"] .mjt-page-hero--premium:not(.mjt-page-hero--dark) .mjt-page-hero__badge-dot {
    background: var(--mjt-color-gold);
    box-shadow: 0 0 0 4px rgba(215, 184, 122, 0.2);
  }

  [data-theme="auto"] .mjt-page-hero--premium:not(.mjt-page-hero--dark) .mjt-page-hero__chips li {
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
  }

  [data-theme="auto"] .mjt-page-hero--premium:not(.mjt-page-hero--dark) .mjt-page-hero__icon-wrap {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
  }

  [data-theme="auto"] .mjt-page-hero--premium:not(.mjt-page-hero--dark) .mjt-page-hero__scribble {
    border-color: rgba(255, 255, 255, 0.16);
  }

  [data-theme="auto"] .mjt-home-brands {
    background:
      radial-gradient(circle at 10% 0%, color-mix(in srgb, var(--mjt-color-gold) 8%, transparent), transparent 42%),
      radial-gradient(circle at 92% 18%, color-mix(in srgb, var(--mjt-color-accent) 10%, transparent), transparent 40%),
      linear-gradient(180deg, var(--mjt-color-bg-dark) 0%, var(--mjt-color-bg) 100%);
  }

  [data-theme="auto"] .mjt-home-brand-card {
    background: linear-gradient(160deg, var(--mjt-color-surface-elevated) 0%, color-mix(in srgb, var(--mjt-color-bg-alt) 80%, var(--mjt-color-surface)) 100%);
    border-color: color-mix(in srgb, var(--mjt-color-border) 90%, transparent);
  }

  [data-theme="auto"] .mjt-home-brand-card__logo {
    filter: brightness(0) invert(1);
    opacity: 0.94;
  }

  [data-theme="auto"] .mjt-highlight {
    background: linear-gradient(155deg, var(--mjt-color-surface), var(--mjt-color-surface-elevated));
    border-color: var(--mjt-color-border);
    box-shadow: var(--mjt-shadow-card);
  }

  [data-theme="auto"] .mjt-highlight__icon-wrap {
    background: var(--mjt-color-accent-soft);
    border-color: color-mix(in srgb, var(--mjt-color-accent) 26%, transparent);
  }

  [data-theme="auto"] .mjt-stats-strip,
  [data-theme="auto"] .mjt-stats-strip--premium {
    background: linear-gradient(135deg, #0e0e10 0%, #2a1416 48%, #3d1a1c 100%);
    color: var(--mjt-color-text);
    border: 1px solid color-mix(in srgb, var(--mjt-color-border) 80%, transparent);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }
  [data-theme="auto"] .mjt-stats-strip__value {
    color: color-mix(in srgb, var(--mjt-color-gold) 88%, #fff);
  }
  [data-theme="auto"] .mjt-stats-strip__label {
    color: var(--mjt-color-text-muted);
    opacity: 1;
  }

  [data-theme="auto"] .mjt-about-storyband {
    background: linear-gradient(145deg, var(--mjt-color-surface), var(--mjt-color-surface-elevated));
    border-color: var(--mjt-color-border);
  }

  [data-theme="auto"] .mjt-financing-immersive__icon {
    background: var(--mjt-color-accent-soft);
  }

  [data-theme="auto"] .mjt-about-visit__map iframe,
  [data-theme="auto"] .mjt-contact__map iframe {
    filter: invert(0.92) hue-rotate(180deg) contrast(0.92);
  }

  [data-theme="auto"] .mjt-page-testimonial,
  [data-theme="auto"] .mjt-testimonial-card {
    border: 1px solid var(--mjt-color-border);
    background: var(--mjt-color-surface-elevated);
  }

  [data-theme="auto"] .mjt-contact__form-wrap input:not([type="submit"]):not(.mjt-btn),
  [data-theme="auto"] .mjt-contact__form-wrap textarea,
  [data-theme="auto"] .mjt-contact__form-card input:not([type="submit"]):not(.mjt-btn),
  [data-theme="auto"] .mjt-contact__form-card textarea,
  [data-theme="auto"] .mjt-contact__form-wrap .wpcf7-form input[type="text"],
  [data-theme="auto"] .mjt-contact__form-wrap .wpcf7-form input[type="email"],
  [data-theme="auto"] .mjt-contact__form-wrap .wpcf7-form input[type="tel"],
  [data-theme="auto"] .mjt-contact__form-wrap .wpcf7-form textarea {
    border-color: color-mix(in srgb, var(--mjt-color-border) 80%, #fff);
    background: var(--mjt-color-input-bg);
  }

  [data-theme="auto"] .mjt-review-summary,
  [data-theme="auto"] .mjt-review-list .comment_container,
  [data-theme="auto"] .mjt-product-reviews__form-wrap {
    background: var(--mjt-color-surface-elevated);
    border-color: var(--mjt-color-border);
  }
}

/* Checkout & cart — dark mode readability */
[data-theme="dark"] .woocommerce-checkout .form-row select,
[data-theme="dark"] .woocommerce-checkout .form-row select option {
  background-color: var(--mjt-color-input-bg);
  color: var(--mjt-color-text);
  color-scheme: dark;
}

[data-theme="dark"] .mjt-payplan-strip {
  background: color-mix(in srgb, var(--mjt-color-accent) 14%, var(--mjt-color-surface-elevated));
  border-color: color-mix(in srgb, var(--mjt-color-accent) 30%, var(--mjt-color-border));
}

[data-theme="dark"] .mjt-payplan-compact {
  background: color-mix(in srgb, var(--mjt-color-accent) 12%, var(--mjt-color-surface-elevated));
  border-color: color-mix(in srgb, var(--mjt-color-accent) 28%, var(--mjt-color-border));
}
[data-theme="dark"] .mjt-payplan-compact__text {
  color: var(--mjt-color-text-muted);
}

/* Affirm dark mode — classic widget + Stripe PMME */
[data-theme="dark"] .affirm-as-low-as,
[data-theme="dark"] .affirm-as-low-as text,
[data-theme="dark"] .affirm-ala-text {
  color: #FFFFFF !important;
}

[data-theme="dark"] .affirm-ala-description-text {
  color: #CCCCCC !important;
}

[data-theme="dark"] .affirm-modal-trigger {
  color: #00d0ff !important;
  text-decoration: underline !important;
}

[data-theme="dark"] .p-CondensedSinglePromotionView--ContentImage,
[data-theme="dark"] .p-CondensedSinglePromotionView--Message .p-Logo,
[data-theme="dark"] .p-CondensedSinglePromotionView--Message-text {
  margin-right: 4px;
  color: #FFFFFF !important;
}

[data-theme="dark"] .p-CondensedSinglePromotionView--LearnMoreText,
[data-theme="dark"] .p-CondensedSinglePromotionView--LearnMore {
  display: inline-block;
  color: #00d0ff !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

.mjt-affirm-fallback,
.mjt-stripe-affirm-promo {
  display: none !important;
}

@media (prefers-color-scheme: dark) {
  [data-theme="auto"] .affirm-as-low-as,
  [data-theme="auto"] .affirm-as-low-as text,
  [data-theme="auto"] .affirm-ala-text {
    color: #FFFFFF !important;
  }

  [data-theme="auto"] .affirm-ala-description-text {
    color: #CCCCCC !important;
  }

  [data-theme="auto"] .affirm-modal-trigger {
    color: #00d0ff !important;
    text-decoration: underline !important;
  }

  [data-theme="auto"] .p-CondensedSinglePromotionView--ContentImage,
  [data-theme="auto"] .p-CondensedSinglePromotionView--Message .p-Logo,
  [data-theme="auto"] .p-CondensedSinglePromotionView--Message-text {
    margin-right: 4px;
    color: #FFFFFF !important;
  }

  [data-theme="auto"] .p-CondensedSinglePromotionView--LearnMoreText,
  [data-theme="auto"] .p-CondensedSinglePromotionView--LearnMore {
    display: inline-block;
    color: #00d0ff !important;
    text-decoration: underline !important;
    text-underline-offset: 2px;
  }
}


[data-theme="dark"] .mjt-trust-mini {
  background: var(--mjt-color-surface-elevated);
  border-color: var(--mjt-color-border);
}

[data-theme="dark"] .mjt-review-order__thumb {
  background: var(--mjt-color-surface-elevated);
  border-color: var(--mjt-color-border);
}

[data-theme="dark"] .mjt-checkout__order-card {
  background: var(--mjt-color-surface);
}

[data-theme="dark"] .mjt-review-order th,
[data-theme="dark"] .mjt-review-order td {
  background: transparent !important;
  color: var(--mjt-color-text);
}

[data-theme="dark"] .mjt-review-order .cart-subtotal th,
[data-theme="dark"] .mjt-review-order .order-total th,
[data-theme="dark"] .mjt-review-order thead th {
  color: var(--mjt-color-text-muted);
}

[data-theme="dark"] .mjt-review-order .order-total td,
[data-theme="dark"] .mjt-review-order .order-total .amount,
[data-theme="dark"] .mjt-review-order .order-total .woocommerce-Price-amount {
  color: var(--mjt-color-text);
}

@media (prefers-color-scheme: dark) {
  [data-theme="auto"] .woocommerce-checkout .form-row select,
  [data-theme="auto"] .woocommerce-checkout .form-row select option {
    background-color: var(--mjt-color-input-bg);
    color: var(--mjt-color-text);
    color-scheme: dark;
  }

  [data-theme="auto"] .mjt-payplan-strip {
    background: color-mix(in srgb, var(--mjt-color-accent) 14%, var(--mjt-color-surface-elevated));
    border-color: color-mix(in srgb, var(--mjt-color-accent) 30%, var(--mjt-color-border));
  }

  [data-theme="auto"] .mjt-payplan-compact {
    background: color-mix(in srgb, var(--mjt-color-accent) 12%, var(--mjt-color-surface-elevated));
    border-color: color-mix(in srgb, var(--mjt-color-accent) 28%, var(--mjt-color-border));
  }

  [data-theme="auto"] .mjt-trust-mini {
    background: var(--mjt-color-surface-elevated);
    border-color: var(--mjt-color-border);
  }

  [data-theme="auto"] .mjt-review-order__thumb {
    background: var(--mjt-color-surface-elevated);
    border-color: var(--mjt-color-border);
  }
}

/* ── Commerce dark mode: mini-cart, payment, Select2, forms ── */
[data-theme="dark"] .mjt-mini-cart__shipping .mjt-free-ship__text,
[data-theme="dark"] .mjt-mini-cart__shipping-text,
[data-theme="dark"] .mjt-free-ship__text {
  color: var(--mjt-color-text) !important;
}

[data-theme="dark"] .woocommerce-checkout #payment .payment_box,
[data-theme="dark"] .mjt-checkout-payment .wc_payment_method .payment_box,
[data-theme="dark"] .mjt-payment-methods--add .payment_box {
  background: var(--mjt-color-surface-elevated) !important;
  border-color: var(--mjt-color-border);
  color: var(--mjt-color-text);
}

[data-theme="dark"] .woocommerce-checkout #payment .payment_box label,
[data-theme="dark"] .woocommerce-checkout #payment .form-row > label,
[data-theme="dark"] .woocommerce-checkout #payment .form-row label,
[data-theme="dark"] .mjt-checkout-payment .payment_box label,
[data-theme="dark"] .mjt-payment-methods--add .payment_box label,
[data-theme="dark"] .wc-stripe-upe-element ~ label,
[data-theme="dark"] #wc-stripe-upe-form label,
[data-theme="dark"] .wc-payment-form label,
[data-theme="dark"] .woocommerce-SavedPaymentMethods-saveNew label {
  color: #FFFFFF !important;
}

[data-theme="dark"] .woocommerce-checkout #payment .wc_payment_method,
[data-theme="dark"] .mjt-checkout-payment .wc_payment_method {
  background: var(--mjt-color-surface);
  border-color: var(--mjt-color-border);
}

[data-theme="dark"] .woocommerce-checkout #payment .wc_payment_method:has(input:checked),
[data-theme="dark"] .mjt-checkout-payment .wc_payment_method:has(input:checked) {
  border-color: color-mix(in srgb, var(--mjt-color-accent) 45%, var(--mjt-color-border));
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

/* Affirm / BNPL payment method — logos, copy, and nested shells */
[data-theme="dark"] .woocommerce-checkout #payment .payment_box,
[data-theme="dark"] .mjt-checkout-payment .wc_payment_method .payment_box {
  background: color-mix(in srgb, var(--mjt-color-surface-elevated) 92%, #000) !important;
  border: 0 !important;
  border-top: 1px solid var(--mjt-color-border) !important;
  box-shadow: none !important;
  outline: none !important;
  color: var(--mjt-color-text-muted) !important;
}

[data-theme="dark"] .woocommerce-checkout #payment .payment_box::before,
[data-theme="dark"] .woocommerce-checkout #payment .payment_box::after,
[data-theme="dark"] .mjt-checkout-payment .payment_box::before,
[data-theme="dark"] .mjt-checkout-payment .payment_box::after {
  content: none !important;
  display: none !important;
  border: none !important;
}

[data-theme="dark"] .woocommerce-checkout #payment .payment_box p,
[data-theme="dark"] .woocommerce-checkout #payment .payment_box span,
[data-theme="dark"] .woocommerce-checkout #payment .payment_box li,
[data-theme="dark"] .woocommerce-checkout #payment .payment_box strong,
[data-theme="dark"] .woocommerce-checkout #payment .payment_box a,
[data-theme="dark"] .mjt-checkout-payment .payment_box p,
[data-theme="dark"] .mjt-checkout-payment .payment_box span,
[data-theme="dark"] .mjt-checkout-payment .payment_box li,
[data-theme="dark"] .mjt-checkout-payment .payment_box strong {
  color: var(--mjt-color-text-muted) !important;
}

[data-theme="dark"] .woocommerce-checkout #payment .payment_box a {
  color: color-mix(in srgb, var(--mjt-color-accent) 70%, #fff) !important;
}

[data-theme="dark"] .woocommerce-checkout #payment .payment_box > div,
[data-theme="dark"] .woocommerce-checkout #payment .payment_box > section,
[data-theme="dark"] .woocommerce-checkout #payment .payment_box [class*="affirm"],
[data-theme="dark"] .woocommerce-checkout #payment .payment_box [class*="Affirm"],
[data-theme="dark"] .woocommerce-checkout #payment .payment_box [class*="message"],
[data-theme="dark"] .woocommerce-checkout #payment .payment_box [class*="notice"],
[data-theme="dark"] .woocommerce-checkout #payment .payment_box [class*="redirect"] {
  background: transparent !important;
  background-color: transparent !important;
  border-color: var(--mjt-color-border) !important;
  box-shadow: none !important;
  outline: none !important;
  color: var(--mjt-color-text-muted) !important;
}

/* Payment icons: never invert card brands (Visa/MC/etc). Affirm title text is enough. */
[data-theme="dark"] .mjt-payment-method__icons img,
[data-theme="dark"] .woocommerce-checkout #payment .wc_payment_method > label img,
[data-theme="dark"] .woocommerce-checkout #payment .payment_method > label img,
[data-theme="dark"] .mjt-checkout-payment .wc_payment_method > label img {
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}

[data-theme="dark"] .mjt-payment-method__icons,
[data-theme="dark"] .woocommerce-checkout #payment .wc_payment_method > label .mjt-payment-method__icons {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-inline-start: 0.4rem;
  vertical-align: middle;
}

[data-theme="dark"] .mjt-payment-method__icons img,
[data-theme="dark"] .woocommerce-checkout #payment .wc_payment_method > label .mjt-payment-method__icons img {
  background: none !important;
  padding: 0 !important;
  max-height: 22px;
  width: auto;
  box-sizing: content-box;
  box-shadow: none !important;
}

/* "+N" more-cards badge */
[data-theme="dark"] .mjt-payment-method__icons > span,
[data-theme="dark"] .woocommerce-checkout #payment .wc_payment_method > label .mjt-payment-method__icons > span {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 1.7rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 4px;
  background: color-mix(in srgb, var(--mjt-color-surface-elevated) 70%, #fff) !important;
  color: var(--mjt-color-text) !important;
  border: 1px solid var(--mjt-color-border);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  opacity: 1 !important;
}

/* Affirm redirect copy icons only (inside payment_box), not card logos */
[data-theme="dark"] .woocommerce-checkout #payment li[class*="affirm"] .payment_box svg {
  filter: brightness(0) invert(1);
  opacity: 0.88;
}

/* Stripe / WooCommerce inherited classes (.Text--redirect etc.) — beat plugin CSS */
[data-theme="dark"] .woocommerce-checkout #payment .Text,
[data-theme="dark"] .woocommerce-checkout #payment .Text--redirect,
[data-theme="dark"] .woocommerce-checkout #payment .RedirectText,
[data-theme="dark"] .woocommerce-checkout #payment .Label,
[data-theme="dark"] .woocommerce-checkout .Text,
[data-theme="dark"] .woocommerce-checkout .Text--redirect,
[data-theme="dark"] .woocommerce-checkout .RedirectText,
[data-theme="dark"] .woocommerce-checkout .Label,
[data-theme="dark"] .payment_box .Text,
[data-theme="dark"] .payment_box .Text--redirect,
[data-theme="dark"] .payment_box .RedirectText,
[data-theme="dark"] .payment_box .Label {
  color: #FFFFFF !important;
}

[data-theme="dark"] .woocommerce-checkout #payment .payment_box svg path,
[data-theme="dark"] .woocommerce-checkout #payment .payment_box svg circle,
[data-theme="dark"] .woocommerce-checkout #payment .payment_box svg rect {
  stroke: currentColor;
  fill: currentColor;
  color: var(--mjt-color-text-muted);
}

[data-theme="dark"] .payment_method_affirm > label,
[data-theme="dark"] li[class*="payment_method"][class*="affirm"] > label {
  color: var(--mjt-color-text) !important;
}

[data-theme="dark"] .StripeElement,
[data-theme="dark"] .wc-stripe-elements-field,
[data-theme="dark"] .stripe-card-group,
[data-theme="dark"] .wc-stripe-card-field,
[data-theme="dark"] .wc-stripe-iban-element-field,
[data-theme="dark"] .wc-stripe-upe-element,
[data-theme="dark"] .PaymentElement,
[data-theme="dark"] .woocommerce-checkout .wc-stripe-upe-element,
[data-theme="dark"] #payment .wc-stripe-upe-form,
[data-theme="dark"] .wc-stripe-upe-form,
[data-theme="dark"] #wc-stripe-upe-form {
  background: #181818 !important;
  border: 1px solid #333333 !important;
  border-radius: 10px !important;
  color: #ffffff !important;
  padding: 14px 16px;
}

[data-theme="dark"] .wc-stripe-elements-field.focused,
[data-theme="dark"] .wc-stripe-card-field.focused,
[data-theme="dark"] .StripeElement--focus,
[data-theme="dark"] .wc-stripe-upe-element:focus-within {
  border-color: #8f1d1d !important;
  box-shadow: 0 0 0 3px rgba(143, 29, 29, 0.25) !important;
}

/* Select2 — selection + dropdown (appended to body) */
[data-theme="dark"] .select2-container--default .select2-selection--single {
  background-color: var(--mjt-color-input-bg) !important;
  border-color: var(--mjt-color-border) !important;
  color: var(--mjt-color-text);
  min-height: 48px;
  display: flex !important;
  align-items: center;
}
[data-theme="dark"] .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--mjt-color-text) !important;
  line-height: 1.35 !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
}
[data-theme="dark"] .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100% !important;
  top: 0 !important;
  display: flex;
  align-items: center;
}
[data-theme="dark"] .select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: var(--mjt-color-text-muted) !important;
}
[data-theme="dark"] .select2-dropdown {
  background-color: var(--mjt-color-surface-elevated) !important;
  border-color: var(--mjt-color-border) !important;
  color: var(--mjt-color-text);
  overflow: hidden;
}
[data-theme="dark"] .select2-container--default .select2-search--dropdown {
  background: var(--mjt-color-surface-elevated);
  padding: 0.5rem;
}
[data-theme="dark"] .select2-container--default .select2-search--dropdown .select2-search__field {
  background: var(--mjt-color-input-bg) !important;
  border-color: var(--mjt-color-border) !important;
  color: var(--mjt-color-text) !important;
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
}
[data-theme="dark"] .select2-container--default .select2-results__option {
  background: transparent;
  color: var(--mjt-color-text);
  padding: 0.55rem 0.75rem;
}
[data-theme="dark"] .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable,
[data-theme="dark"] .select2-container--default .select2-results__option--highlighted[aria-selected],
[data-theme="dark"] .select2-container--default .select2-results__option--highlighted[data-selected] {
  background-color: var(--mjt-color-accent) !important;
  color: #fff !important;
}
[data-theme="dark"] .select2-container--default .select2-results__option[aria-selected="true"],
[data-theme="dark"] .select2-container--default .select2-results__option[data-selected="true"] {
  background-color: color-mix(in srgb, var(--mjt-color-accent) 22%, var(--mjt-color-surface-elevated));
  color: var(--mjt-color-text);
}
[data-theme="dark"] .select2-container--default .select2-results > .select2-results__options {
  max-height: 220px;
}

/* Checkout / account native selects + labels */
[data-theme="dark"] .woocommerce-checkout .form-row > label,
[data-theme="dark"] .woocommerce-checkout .form-row label:not(.checkbox):not(.woocommerce-form__label-for-checkbox),
[data-theme="dark"] .mjt-address-form label,
[data-theme="dark"] .woocommerce-address-fields label {
  color: var(--mjt-color-text-muted) !important;
}

[data-theme="dark"] .woocommerce-checkout .form-row .input-text,
[data-theme="dark"] .woocommerce-checkout .form-row textarea,
[data-theme="dark"] .woocommerce-checkout .form-row select,
[data-theme="dark"] .mjt-address-form .input-text,
[data-theme="dark"] .mjt-address-form select {
  background-color: var(--mjt-color-input-bg) !important;
  border-color: var(--mjt-color-border) !important;
  color: var(--mjt-color-text) !important;
  color-scheme: dark;
}

[data-theme="dark"] .woocommerce-checkout .form-row select option,
[data-theme="dark"] .mjt-address-form select option {
  background-color: var(--mjt-color-input-bg);
  color: var(--mjt-color-text);
}

[data-theme="dark"] .mjt-shipping-calc,
[data-theme="dark"] .mjt-cart-totals .mjt-shipping-calc {
  background: var(--mjt-color-surface);
  border-color: var(--mjt-color-border);
}

[data-theme="dark"] .mjt-shipping-method {
  background: var(--mjt-color-surface);
  border-color: var(--mjt-color-border);
}
[data-theme="dark"] .mjt-shipping-method.is-selected,
[data-theme="dark"] .mjt-shipping-method:has(.shipping_method:checked) {
  background: color-mix(in srgb, var(--mjt-color-accent) 12%, var(--mjt-color-surface));
  border-color: color-mix(in srgb, var(--mjt-color-accent) 45%, var(--mjt-color-border));
}
[data-theme="dark"] .mjt-shipping-method__icon {
  background: var(--mjt-color-bg-alt);
}
[data-theme="dark"] .mjt-shipping-method__label::before {
  background: var(--mjt-color-surface);
  border-color: var(--mjt-color-border);
}

[data-theme="dark"] .mjt-place-order {
  border-color: var(--mjt-color-border);
  background: color-mix(in srgb, var(--mjt-color-surface) 94%, transparent);
}

@media (prefers-color-scheme: dark) {
  [data-theme="auto"] .mjt-mini-cart__shipping .mjt-free-ship__text,
  [data-theme="auto"] .mjt-mini-cart__shipping-text,
  [data-theme="auto"] .mjt-free-ship__text {
    color: var(--mjt-color-text) !important;
  }

  [data-theme="auto"] .woocommerce-checkout #payment .payment_box,
  [data-theme="auto"] .mjt-checkout-payment .wc_payment_method .payment_box,
  [data-theme="auto"] .mjt-payment-methods--add .payment_box {
    background: color-mix(in srgb, var(--mjt-color-surface-elevated) 92%, #000) !important;
    border: 0 !important;
    border-top: 1px solid var(--mjt-color-border) !important;
    box-shadow: none !important;
    outline: none !important;
    color: var(--mjt-color-text-muted) !important;
  }

  [data-theme="auto"] .woocommerce-checkout #payment .payment_box::before,
  [data-theme="auto"] .woocommerce-checkout #payment .payment_box::after,
  [data-theme="auto"] .mjt-checkout-payment .payment_box::before,
  [data-theme="auto"] .mjt-checkout-payment .payment_box::after {
    content: none !important;
    display: none !important;
  }

  [data-theme="auto"] .woocommerce-checkout #payment .payment_box p,
  [data-theme="auto"] .woocommerce-checkout #payment .payment_box span,
  [data-theme="auto"] .woocommerce-checkout #payment .payment_box li,
  [data-theme="auto"] .woocommerce-checkout #payment .payment_box strong,
  [data-theme="auto"] .mjt-checkout-payment .payment_box p,
  [data-theme="auto"] .mjt-checkout-payment .payment_box span {
    color: var(--mjt-color-text-muted) !important;
  }

  [data-theme="auto"] .woocommerce-checkout #payment .Text,
  [data-theme="auto"] .woocommerce-checkout #payment .Text--redirect,
  [data-theme="auto"] .woocommerce-checkout #payment .RedirectText,
  [data-theme="auto"] .woocommerce-checkout #payment .Label,
  [data-theme="auto"] .woocommerce-checkout .Text,
  [data-theme="auto"] .woocommerce-checkout .Text--redirect,
  [data-theme="auto"] .woocommerce-checkout .RedirectText,
  [data-theme="auto"] .woocommerce-checkout .Label,
  [data-theme="auto"] .payment_box .Text,
  [data-theme="auto"] .payment_box .Text--redirect,
  [data-theme="auto"] .payment_box .RedirectText,
  [data-theme="auto"] .payment_box .Label {
    color: #FFFFFF !important;
  }

  [data-theme="auto"] .mjt-payment-method__icons img,
  [data-theme="auto"] .woocommerce-checkout #payment .wc_payment_method > label img,
  [data-theme="auto"] .woocommerce-checkout #payment .payment_method > label img,
  [data-theme="auto"] .mjt-checkout-payment .wc_payment_method > label img {
    filter: none !important;
    opacity: 1 !important;
    mix-blend-mode: normal !important;
  }

  [data-theme="auto"] .mjt-payment-method__icons img,
  [data-theme="auto"] .woocommerce-checkout #payment .wc_payment_method > label .mjt-payment-method__icons img {
    background: none !important;
    padding: 0 !important;
    max-height: 22px;
    width: auto;
    box-sizing: content-box;
    box-shadow: none !important;
  }

  [data-theme="auto"] .mjt-payment-method__icons > span,
  [data-theme="auto"] .woocommerce-checkout #payment .wc_payment_method > label .mjt-payment-method__icons > span {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 1.7rem;
    height: 1.35rem;
    padding: 0 0.35rem;
    border-radius: 4px;
    background: color-mix(in srgb, var(--mjt-color-surface-elevated) 70%, #fff) !important;
    color: var(--mjt-color-text) !important;
    border: 1px solid var(--mjt-color-border);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
    opacity: 1 !important;
  }

  [data-theme="auto"] .woocommerce-checkout #payment li[class*="affirm"] .payment_box svg {
    filter: brightness(0) invert(1);
    opacity: 0.88;
  }

  [data-theme="auto"] .woocommerce-checkout #payment .payment_box label,
  [data-theme="auto"] .woocommerce-checkout #payment .form-row > label,
  [data-theme="auto"] .woocommerce-checkout #payment .form-row label,
  [data-theme="auto"] .mjt-checkout-payment .payment_box label,
  [data-theme="auto"] .mjt-payment-methods--add .payment_box label,
  [data-theme="auto"] #wc-stripe-upe-form label,
  [data-theme="auto"] .wc-payment-form label {
    color: #FFFFFF !important;
  }

  [data-theme="auto"] .StripeElement,
  [data-theme="auto"] .wc-stripe-elements-field,
  [data-theme="auto"] .stripe-card-group,
  [data-theme="auto"] .wc-stripe-card-field,
  [data-theme="auto"] .wc-stripe-iban-element-field,
  [data-theme="auto"] .wc-stripe-upe-element {
    background: #181818 !important;
    border: 1px solid #333333 !important;
    border-radius: 10px !important;
    color: #ffffff !important;
    padding: 14px 16px;
  }

  [data-theme="auto"] .wc-stripe-elements-field.focused,
  [data-theme="auto"] .wc-stripe-card-field.focused,
  [data-theme="auto"] .StripeElement--focus,
  [data-theme="auto"] .wc-stripe-upe-element:focus-within {
    border-color: #8f1d1d !important;
    box-shadow: 0 0 0 3px rgba(143, 29, 29, 0.25) !important;
  }

  [data-theme="auto"] .select2-container--default .select2-selection--single {
    background-color: var(--mjt-color-input-bg) !important;
    border-color: var(--mjt-color-border) !important;
    min-height: 48px;
    display: flex !important;
    align-items: center;
  }
  [data-theme="auto"] .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--mjt-color-text) !important;
    line-height: 1.35 !important;
    display: flex;
    align-items: center;
  }
  [data-theme="auto"] .select2-dropdown {
    background-color: var(--mjt-color-surface-elevated) !important;
    border-color: var(--mjt-color-border) !important;
    color: var(--mjt-color-text);
  }
  [data-theme="auto"] .select2-container--default .select2-search--dropdown .select2-search__field {
    background: var(--mjt-color-input-bg) !important;
    border-color: var(--mjt-color-border) !important;
    color: var(--mjt-color-text) !important;
  }
  [data-theme="auto"] .select2-container--default .select2-results__option {
    color: var(--mjt-color-text);
  }
  [data-theme="auto"] .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable,
  [data-theme="auto"] .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--mjt-color-accent) !important;
    color: #fff !important;
  }

  [data-theme="auto"] .woocommerce-checkout .form-row > label,
  [data-theme="auto"] .mjt-address-form label {
    color: var(--mjt-color-text-muted) !important;
  }
  [data-theme="auto"] .woocommerce-checkout .form-row .input-text,
  [data-theme="auto"] .woocommerce-checkout .form-row select,
  [data-theme="auto"] .mjt-address-form .input-text,
  [data-theme="auto"] .mjt-address-form select {
    background-color: var(--mjt-color-input-bg) !important;
    border-color: var(--mjt-color-border) !important;
    color: var(--mjt-color-text) !important;
    color-scheme: dark;
  }
}
