/* SANFAYA realm contrast patch, 12 November 2026.
   Shared chrome uses the existing navigation state only. Leaving UG restores
   the original theme automatically. No navigation, commerce or layout changes. */
#sf-verborgenes-reich.sf-realm-approved {
  --sf-text: #f6ecd9;
  --sf-muted: #c3cbd0;
}
/* Theme-wide heading declarations must not paint rose/black on the dark realm. */
#sf-verborgenes-reich.sf-realm-approved h1,
#sf-verborgenes-reich.sf-realm-approved h2,
#sf-verborgenes-reich.sf-realm-approved h3,
#sf-verborgenes-reich.sf-realm-approved h4,
#sf-verborgenes-reich.sf-realm-approved h5,
#sf-verborgenes-reich.sf-realm-approved h6 {
  color: #f6ecd9 !important;
}
#sf-verborgenes-reich.sf-realm-approved .intro h1 em {
  color: #d9b77c !important;
}
body[data-sf-view="ug"] {
  color-scheme: dark;
  --sf-cream: #070f18;
  --sf-rose: #10202b;
  --sf-surface: #10202b;
  --sf-text: #f6ecd9;
  --sf-muted: #c3cbd0;
  --sf-border: #53616b;
  --sf-gold: #d9b77c;
  --sf-gold-hover: #ead3a7;
  background: #070f18 !important;
  color: #f6ecd9;
}
/* Explicit backgrounds also cover hardcoded pink theme rules and footer gaps. */
body[data-sf-view="ug"] .sf-header,
body[data-sf-view="ug"] .sf-main,
body[data-sf-view="ug"] .sf-footer {
  background: #070f18 !important;
  color: #f6ecd9 !important;
  border-color: #53616b !important;
}
body[data-sf-view="ug"] .sf-header-inner,
body[data-sf-view="ug"] .sf-footer-grid,
body[data-sf-view="ug"] .sf-copyright {
  background: transparent !important;
  color: #c3cbd0 !important;
  border-color: #53616b !important;
}
body[data-sf-view="ug"] .sf-header a,
body[data-sf-view="ug"] .sf-header button,
body[data-sf-view="ug"] .sf-header summary,
body[data-sf-view="ug"] .sf-logo-fallback,
body[data-sf-view="ug"] .sf-logo-fallback strong,
body[data-sf-view="ug"] .sf-footer h3,
body[data-sf-view="ug"] .sf-footer a {
  color: #f6ecd9 !important;
}
body[data-sf-view="ug"] .sf-footer p,
body[data-sf-view="ug"] .sf-footer li,
body[data-sf-view="ug"] .sf-footer small {
  color: #c3cbd0 !important;
}
body[data-sf-view="ug"] .sf-search-form,
body[data-sf-view="ug"] .sf-search-form input,
body[data-sf-view="ug"] .sf-search-form select,
body[data-sf-view="ug"] .sf-search-form option,
body[data-sf-view="ug"] .sf-search-form button,
body[data-sf-view="ug"] .sf-language-menu nav,
body[data-sf-view="ug"] .sf-mobile-panel {
  background: #10202b !important;
  color: #f6ecd9 !important;
  border-color: #53616b !important;
}
body[data-sf-view="ug"] .sf-search-form input::placeholder {
  color: #c3cbd0 !important;
  opacity: 1;
}
body[data-sf-view="ug"] .sf-language-menu summary {
  background: #10202b !important;
  border-color: #d9b77c !important;
}
body[data-sf-view="ug"] .sf-language-menu nav a:hover,
body[data-sf-view="ug"] .sf-language-menu nav a:focus-visible {
  background: #263947 !important;
  color: #f6ecd9 !important;
}
body[data-sf-view="ug"] .sf-footer a:hover {
  color: #d9b77c !important;
}
body[data-sf-view="ug"] .sf-cart-count {
  background: #d9b77c !important;
  color: #070f18 !important;
}
body[data-sf-view="ug"] .sf-header a:focus-visible,
body[data-sf-view="ug"] .sf-header button:focus-visible,
body[data-sf-view="ug"] .sf-header input:focus-visible,
body[data-sf-view="ug"] .sf-header select:focus-visible,
body[data-sf-view="ug"] .sf-header summary:focus-visible,
body[data-sf-view="ug"] .sf-footer a:focus-visible {
  outline: 3px solid #8fe1ef;
  outline-offset: 3px;
}
/* Follow-up: the live boutique sheet uses an ID-specific !important rule.
   Keep the same ID and add only the UG state, so EG remains unchanged. */
html body[data-sf-view="ug"] .sf-header #sf-product-search {
  color: #f6ecd9 !important;
  caret-color: #f6ecd9;
}
html body[data-sf-view="ug"] .sf-header #sf-product-search::placeholder {
  color: #c3cbd0 !important;
  opacity: 1;
}
