/* Presentation roles only. Artwork, paper specimens, PDF and emails keep their palettes. */
:root { color-scheme: dark; --mt-feedback-shadow: 0 8px 24px #00000014, 0 2px 6px #0000000a; --mt-grid-start: #8a9481; --mt-grid-middle: #a0aa91; --mt-grid-end: #b2c39c; --mt-grid-opacity: .65; --mt-grid-pulse-opacity: .12; }

html[data-theme="light"] {
  --mt-menu-control-bg: var(--mt-surface);
  --mt-cart-badge-bg: var(--mt-paper-ink);
  --mt-cart-badge-ink: var(--mt-paper);
  --mt-hero-hover-shadow: drop-shadow(0 3px 6px #22261e14);
  color-scheme: light;

  --wp--preset--color--background: #f2f0e9;
  --wp--preset--color--surface: #e5e4dc;
  --wp--preset--color--surface-raised: #eceae3;
  --wp--preset--color--border: #c8c9bf;
  --wp--preset--color--text: #22261e;
  --wp--preset--color--text-muted: #62685c;
  --wp--preset--color--text-subtle: #62685c;
  --wp--preset--color--success-background: #e2f6d2;
  --wp--preset--color--success-text: #4e713b;
  --mt-link: #6f3ac8;
  --mt-focus: #6f3ac8;
  --mt-selection-border: #628e3e;
  --mt-control-border: #929789;
  --mt-control-focus: #6f3ac8;
  --mt-field-hover: #dedcd4;
  --mt-field-focus: #eceae3;
  --mt-error-border: #d97851;
  --mt-error-bg: #fce9df;
  --mt-error-text: #9b3e20;
  --mt-ui-text: #22261e;
  --mt-ui-muted: #62685c;
  --mt-ui-subtle: #62685c;
  --mt-ui-border: #c8c9bf;
  --mt-ui-control-border: #929789;
  --mt-ui-surface: #e5e4dc;
  --mt-ui-raised: #eceae3;
  --mt-ui-selected: #e2f6d2;
  --mt-ui-error-text: #9b3e20;
  --mt-ui-error-bg: #fce9df;
  --mt-ui-error-border: #d97851;
  --mt-ui-warning-text: #785b1a;
  --mt-hero-center: #f2f0e9;
  --mt-hero-mid: #f2f0e9;
  --mt-hero-edge: #f2f0e9;
  --mt-hero-dots: #22261e24;
  --mt-grid-start: #77816f;
  --mt-grid-middle: #89937c;
  --mt-grid-end: #9aa78a;
  --mt-grid-opacity: .55;
  --mt-grid-pulse-opacity: .10;
  --mt-cart-scrim: #22261e99;
  --mt-cart-shadow: -12px 0 32px #22261e1f;
  --mt-account-field: #f2f0e9;
  --mt-feedback-shadow: 0 8px 24px #22261e14, 0 2px 6px #22261e0a;
  --mt-interaction-strong: #6f3ac8;
  --mt-interaction-border: #929789;
  --mt-interaction-soft: rgb(111 58 200 / 8%);
}


/* Supplied logos have a light fill; a CSS mask preserves their exact alpha geometry. */
html[data-theme="light"] .mt-logo a { position: relative; }
html[data-theme="light"] .mt-logo a::before { position: absolute; inset: 0; content: ""; background: var(--mt-text); mask: url("../images/MTsoP.webp") center / contain no-repeat; pointer-events: none; }
html[data-theme="light"] .mt-logo img { opacity: 0; }
html[data-theme="light"] .mt-home-logo { filter: brightness(0); }

@media (max-width: 980px) {
  .mt-header-inner > .mt-account-links { order: 2; margin-left: auto; }
}
