/* Plum, heather and warm stone. Photographs and product colours stay untouched. */
html[data-theme="dark"] {
  color-scheme:dark;
  --ink:#f4eef5; --muted:#c6baca; --purple:#c9a8ef; --primary:#c9a8ef;
  --purple-deep:#e4cff7; --lavender:#342a3d; --line:#66576f;
  --paper:#241d2c; --wash:#17141c;
}
html[data-theme="dark"] :is(body,.mirts-site,.mobile-home) { background:var(--wash); color:var(--ink); }
html[data-theme="dark"] :is(.site-header,.site-footer,.mobile-flyout,.site-nav,.cookie-consent) { background:#211b29; color:var(--ink); border-color:var(--line); }
html[data-theme="dark"] #mirtsSite :is(.event-merch-concept,.catalog-overview,.legal-hero,.legal-document,.ai-workspace,.ai-workspace-grid,.ai-preview,.ai-preview-empty,.constructor-preview-panel,.constructor-controls,.constructor-stage,.portfolio-card,.product-card,.product-detail-card,.product-detail-description,.tshirt-comparison,.catalog-overview-card,.filter-panel,.contact-card,.about-card,.checkout-panel,.order-summary) {
  background:var(--paper); color:var(--ink); border-color:var(--line);
}
html[data-theme="dark"] #mirtsSite :is(.event-merch-steps li,.event-step,.event-actions,.product-design-choices>a,.ai-dialog,.ai-result,.ai-upload,.ai-print-settings,.ai-scenario-picker,.ai-preview dl,.ai-reference-draft,.ai-reference-upload,.ai-design-step,.ai-workspace-step,.ai-production-note,.ai-dtf-studio-page .is-fixed-technology select) {
  background:#302637; color:var(--ink); border-color:var(--line);
}
html[data-theme="dark"] #mirtsSite :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),textarea,select) {
  background:#1d1824; color:var(--ink); border-color:#80708a; caret-color:#e4cff7;
}
html[data-theme="dark"] #mirtsSite :is(input,textarea)::placeholder { color:#b5a8bd; opacity:1; }
html[data-theme="dark"] #mirtsSite :is(input,textarea,select):focus-visible { outline:2px solid #c9a8ef; outline-offset:3px; }
html[data-theme="dark"] #mirtsSite :is(.eyebrow,.product-tier-note,.breadcrumbs,.site-hours,.footer-column,.footer-legal,.legal-document p,.legal-hero p,.ai-preview-empty p,.event-merch-copy p) { color:var(--muted); }
html[data-theme="dark"] #mirtsSite :is(h1,h2,h3,h4,label,.product-detail-price strong,.product-color-row-title,.ai-preview h3,.ai-dialog h3,.footer-column>b) { color:var(--ink); }
html[data-theme="dark"] #mirtsSite :is(.button,.ai-dialog-actions>button:first-child,.ai-trial-tools button,.ai-preview nav button,.product-quantity-counter button,.site-icon-link,.theme-toggle,.site-menu-toggle) {
  background:#3e2e50; color:#f4eef5; border-color:#8e77a1;
}
html[data-theme="dark"] #mirtsSite :is(.button,.ai-dialog-actions>button:first-child,.ai-trial-tools button,.ai-preview nav button):hover { background:#503c65; color:#fff; }
html[data-theme="dark"] #mirtsSite :is(button,a,input,select,textarea):focus-visible { outline:2px solid #e0c0ff; outline-offset:3px; }
html[data-theme="dark"] #mirtsSite :is(.ai-preview nav button.active,.button.primary,.product-detail-actions button) { background:#725190; color:#fff; border-color:#c9a8ef; }
html[data-theme="dark"] #mirtsSite :is(.event-merch-concept .event-hero-promo,.event-discount,.product-detail-price [data-product-old-price]+[data-product-unit-price],.catalog-card-current-price) { color:#ffc291; }
html[data-theme="dark"] #mirtsSite :is(.event-deadline-dialog,.event-email-dialog,.product-order-dialog,.product-media-dialog,dialog) { background:#241d2c; color:var(--ink); border-color:#80708a; box-shadow:0 20px 70px #0008; }
html[data-theme="dark"] dialog::backdrop { background:#0d0912b3; }
html[data-theme="dark"] #mirtsSite :is(table,thead,tbody,th,td) { border-color:var(--line); }
html[data-theme="dark"] #mirtsSite :is(thead,.tshirt-comparison thead,.ai-workspace-step-title) { background:#342a3d; color:#e4cff7; }
html[data-theme="dark"] #mirtsSite :is(th,td) { color:var(--ink); }
html[data-theme="dark"] .site-footer a:hover { color:#e4cff7; }
html[data-theme="dark"] #mirtsSite :is(.button,button):disabled { opacity:.6; }

#siteMaxContact {
  width: min(28rem, calc(100% - 2rem));
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--paper);
  color: var(--ink);
}
#siteMaxContact::backdrop { background: #170d22a6; }
#siteMaxContact form { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
#siteMaxContact h2 { margin: 0; }
#siteMaxContact input { width: 100%; border: 1px solid var(--line); border-radius: .55rem; padding: .55rem .75rem; }
.site-max-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.site-max-actions :is(a, button), .site-max-close {
  padding: .5rem .75rem;
  border: 1px solid var(--line);
  border-radius: .55rem;
  background: var(--lavender);
  color: var(--ink);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}
.site-max-status:not(:empty) { display: block; margin-top: .65rem; }
.hero-channel-links button.channel-max { cursor: pointer; }
.hero-channel-links button.channel-max img { width: 24px; height: 24px; object-fit: contain; }
