
/* Editorial surfaces in dark mode. Keep the existing article structure. */
body.site_s3.theme-dark :is(.detail.blog, .detail.news) .content-text {
  --am-editorial-text: #e4dee8;
  --am-editorial-accent: #dfb8f0;
  --am-editorial-surface: #27232b;
  --am-editorial-border: #493d50;
}
body.site_s3.theme-dark :is(.detail.blog, .detail.news) .content-text
  :is(.am-editorial[data-oil-site="aromat"], .am-order-delay) {
  background: transparent !important;
  color: var(--am-editorial-text) !important;
}
body.site_s3.theme-dark :is(.detail.blog, .detail.news) .content-text
  :is(.am-editorial[data-oil-site="aromat"], .am-order-delay)
  :is(.am-mp, .article-toc, .am-stats__item, .fw-panel, .am-panel, .oil-faq__item,
      .am-oil-nav, .am-oil-nav__card, .am-author, .am-delay-note, .am-season-table th, .am-season-table td) {
  background: var(--am-editorial-surface) !important;
  border-color: var(--am-editorial-border) !important;
  color: var(--am-editorial-text) !important;
  box-shadow: none !important;
}
body.site_s3.theme-dark :is(.detail.blog, .detail.news) .content-text
  :is(.am-editorial[data-oil-site="aromat"], .am-order-delay)
  :is(p, li, dt, dd, figcaption, .am-stats__txt, .am-oil-nav__body > span:not(.am-oil-nav__btn)) {
  color: var(--am-editorial-text) !important;
}
body.site_s3.theme-dark :is(.detail.blog, .detail.news) .content-text
  :is(.am-editorial[data-oil-site="aromat"], .am-order-delay)
  :is(h2, h3, h4, .am-mp__title, .article-toc__title, .am-stats__num, .am-oil-nav__title,
      .oil-faq__question, figcaption b, .am-author__name,
      a:not(.am-buy-btn, .am-link-button, .am-oil-nav__card)) {
  color: var(--am-editorial-accent) !important;
}
body.site_s3.theme-dark :is(.detail.blog, .detail.news) .content-text
  :is(.am-editorial[data-oil-site="aromat"], .am-order-delay)
  :is(.am-mp, .am-delay-note) {
  border-left-color: #a372bb !important;
}
body.site_s3.theme-dark #headerfixed .logo img {
  filter: brightness(1.65);
}
@media (min-width: 360px) and (max-width: 420px) {
  body.site_s3 #mobileheader .logo img {
    max-width: 96px;
  }
}

/* Legacy editorial components share the dark palette. */
body.site_s3.theme-dark :is(.detail.blog, .detail.news) .content-text
  :is(.am-quiz-cta, .am-tip, .am-tt-box, .am-az-tools, .am-az-item, .am-az-note,
      .am-season-table, .am-season-table caption, .am-season-table tr, .am-author,
      .am-news-note, .amr-stat, .amr-tip, .amr-warn, .amr table td, .amr-faq details) {
  background: var(--am-editorial-surface) !important;
  border-color: var(--am-editorial-border) !important;
  color: var(--am-editorial-text) !important;
}
body.site_s3.theme-dark :is(.detail.blog, .detail.news) .content-text
  :is(.am-oil-nav__body b, .am-tip__title, .am-quiz-cta strong, .am-az-lat, .am-az-k, .am-author__name) {
  color: var(--am-editorial-accent) !important;
}
body.site_s3.theme-dark .detail.blog .content-text
  :is(.am-quiz-cta > a, .am-oil-nav__btn, a.am-az-buy) {
  background: #6d3a80 !important;
  color: #fff !important;
}
body.site_s3.theme-dark .detail.blog .content-text
  :is(.am-az-chip, .am-az-tools input, a.am-buy-btn, a.am-link-button) {
  background: #35283d !important;
  border-color: #775781 !important;
  color: #f1d6fa !important;
}
body.site_s3.theme-dark .detail.blog .content-text
  :is(.am-az-chip[aria-pressed="true"], .am-az-chip.active, .am-az-chip.is-active) {
  background: #6d3a80 !important;
  color: #fff !important;
}
body.site_s3.theme-dark .detail.news .content-text
  :is(.am-news, .amr) :is(p, li, td, summary, .am-news-note) {
  color: var(--am-editorial-text) !important;
}
body.site_s3.theme-dark .detail.news .content-text
  :is(.am-news, .amr) :is(h2, h3, h4, a:not(.amr-btn)):not(.amr-hero *) {
  color: var(--am-editorial-accent) !important;
}

body.site_s3.theme-dark .am-pdp {
  color: #e4dee8 !important;
}
body.site_s3.theme-dark .am-pdp
  :is(.am-pdp__intro, .am-pdp__panel, .am-pdp__faq > section, .am-pdp__note) {
  background: #27232b !important;
  border-color: #493d50 !important;
  color: #e4dee8 !important;
  box-shadow: none !important;
}
body.site_s3.theme-dark .am-pdp :is(p, li, dd, dt, figcaption, .am-pdp__pairing-volume) {
  color: #e4dee8 !important;
}
body.site_s3.theme-dark .am-pdp
  :is(h2, h3, h4, .am-pdp__eyebrow, a:not(.am-pdp__button)) {
  color: #dfb8f0 !important;
}
body.site_s3.theme-dark .am-pdp .am-pdp__button {
  background: #6d3a80 !important;
  border-color: #9562aa !important;
  color: #fff !important;
}
body.site_s3.theme-dark .am-pdp .am-pdp__button--outline {
  background: #35283d !important;
  color: #f1d6fa !important;
}

body.site_s3.theme-dark .detail.blog .content-text
  :is(.am-quiz-cta b, .am-quiz-cta span, .am-author__text p, .am-az-chips > span) {
  color: var(--am-editorial-text) !important;
}
body.site_s3.theme-dark .detail.blog .content-text :is(.am-author__text a, .am-tt-title),
body.site_s3.theme-dark .detail.news .content-text .amr-stat b {
  color: var(--am-editorial-accent) !important;
}
body.site_s3.theme-dark .am-pdp :is(p, li, h2, h3, h4) :is(strong, b, em, span) {
  color: inherit !important;
}
body.site_s3.theme-dark .am-pdp a:not(.am-pdp__button) :is(strong, b, em, span) {
  color: inherit !important;
}

/* Missing shared editorial surfaces: both themes keep their own palette. 2026-11-19. */
body.site_s3.theme-dark .detail.blog .content-text .am-editorial[data-oil-site="aromat"] {
  --am-editorial-surface-raised: #302a35;
  --am-editorial-green-surface: #21382c;
  --am-editorial-muted: #c9bfd0;
}
body.site_s3.theme-dark .detail.blog .content-text .am-editorial[data-oil-site="aromat"]
:is(.oil-quick-facts__item, .am-mp__why > div, .am-check, .am-nice-table-wrap, .am-nice-table) {
  background: var(--am-editorial-surface) !important;
  border-color: var(--am-editorial-border) !important;
  color: var(--am-editorial-text) !important;
  box-shadow: none !important;
}
body.site_s3.theme-dark .detail.blog .content-text .am-editorial[data-oil-site="aromat"] .am-mp__ok {
  background: var(--am-editorial-green-surface) !important;
  border-color: #41674e !important;
  color: var(--am-editorial-text) !important;
}
body.site_s3.theme-dark .detail.blog .content-text .am-editorial[data-oil-site="aromat"]
:is(.oil-quick-facts__value, .am-mp__why > div, .am-check p, .am-stats__txt) {
  color: var(--am-editorial-text) !important;
}
body.site_s3.theme-dark .detail.blog .content-text .am-editorial[data-oil-site="aromat"]
:is(.oil-quick-facts__label, .am-mp__why b, .am-check__t, .am-stats__num) {
  color: var(--am-editorial-accent) !important;
}
body.site_s3.theme-dark .detail.blog .content-text .am-editorial[data-oil-site="aromat"] .am-mp__okt {
  color: #c0e6c9 !important;
}
body.site_s3.theme-dark .detail.blog .content-text .am-editorial[data-oil-site="aromat"] a.am-mp__btn {
  background: #78428e !important;
  border-color: #b681c9 !important;
  color: #fff !important;
}
body.site_s3.theme-dark .detail.blog .content-text .am-editorial[data-oil-site="aromat"] a.am-mp__btn--ghost {
  background: #35283d !important;
  border-color: #9972a8 !important;
  color: #f1d6fa !important;
}
body.site_s3.theme-dark .detail.blog .content-text .am-editorial[data-oil-site="aromat"] a.am-mp__btn:hover,
body.site_s3.theme-dark .detail.blog .content-text .am-editorial[data-oil-site="aromat"] a.am-mp__btn:focus-visible {
  background: #9051a5 !important;
  color: #fff !important;
}
body.site_s3.theme-dark .detail.blog .content-text .am-editorial[data-oil-site="aromat"] .am-nice-table tbody tr {
  background: var(--am-editorial-surface) !important;
  color: var(--am-editorial-text) !important;
}
body.site_s3.theme-dark .detail.blog .content-text .am-editorial[data-oil-site="aromat"] .am-nice-table tbody tr:nth-child(even) {
  background: var(--am-editorial-surface-raised) !important;
}
body.site_s3.theme-dark .detail.blog .content-text .am-editorial[data-oil-site="aromat"] .am-nice-table tbody tr:hover {
  background: #3b2d44 !important;
}
body.site_s3.theme-dark .detail.blog .content-text .am-editorial[data-oil-site="aromat"] .am-nice-table tbody td {
  background: transparent !important;
  border-color: var(--am-editorial-border) !important;
  color: var(--am-editorial-text) !important;
}
body.site_s3.theme-dark .detail.blog .content-text .am-editorial[data-oil-site="aromat"] .am-nice-table thead th {
  background: #573167 !important;
  border-color: var(--am-editorial-border) !important;
  color: #fff !important;
}
body.site_s3.theme-dark .detail.blog .content-text .am-editorial[data-oil-site="aromat"] .am-nice-table td a {
  color: var(--am-editorial-accent) !important;
}

/* Additional legacy article components, shared dark palette. 2026-11-19. */
body.site_s3.theme-dark .detail.blog .content-text .am-editorial[data-oil-site="aromat"]
:is(.am-qf-card, .am-product-link, .am-mini-product__media, .alert.alert-s1) {
  background: var(--am-editorial-surface) !important;
  border-color: var(--am-editorial-border) !important;
  color: var(--am-editorial-text) !important;
  box-shadow: none !important;
}
body.site_s3.theme-dark .detail.blog .content-text .am-editorial[data-oil-site="aromat"]
:is(.am-qf-card__text, .am-qf-value, .am-product-link span, .am-product-link strong, .alert.alert-s1 p) {
  color: var(--am-editorial-text) !important;
}
body.site_s3.theme-dark .detail.blog .content-text .am-editorial[data-oil-site="aromat"]
:is(.am-qf-card__num, .am-qf-label, .alert.alert-s1 strong) {
  color: var(--am-editorial-accent) !important;
}

/* Disclosure panels and the aroma-family filter share the article palette. */
body.site_s3.theme-dark .detail.blog .content-text .am-editorial[data-oil-site="aromat"]
:is(.am-disclosure-block, .am-mx-tools input, button.am-mx-btn) {
  background: var(--am-editorial-surface) !important;
  border-color: var(--am-editorial-border) !important;
  color: var(--am-editorial-text) !important;
  box-shadow: none !important;
}
body.site_s3.theme-dark .detail.blog .content-text .am-editorial[data-oil-site="aromat"]
:is(.am-disclosure-block__title, .am-mx-fam, .am-mx-empty) {
  color: var(--am-editorial-accent) !important;
}
body.site_s3.theme-dark .detail.blog .content-text .am-editorial[data-oil-site="aromat"] .am-mx-tools input::placeholder {
  color: #c9bfd0 !important;
  opacity: 1;
}
body.site_s3.theme-dark .detail.blog .content-text .am-editorial[data-oil-site="aromat"] button.am-mx-btn:is(.is-on,:hover) {
  background: #78428e !important;
  border-color: #b681c9 !important;
  color: #fff !important;
}
body.site_s3.theme-dark .detail.blog .content-text .am-editorial[data-oil-site="aromat"]
:is(.am-mx-tools input, button.am-mx-btn):focus-visible {
  outline: 2px solid #dfb8f0;
  outline-offset: 3px;
}
body.site_s3.theme-dark .detail.blog .content-text .am-editorial[data-oil-site="aromat"] .am-mx-table tr:target td {
  background: #3b2d44 !important;
}
