/* Forest and sage sampled from the Spa Royale printed price list. */
[data-visual-theme="royal-midnight"] {
  color-scheme: dark;
  --brand-forest: #0f2013;
  --brand-sage: #96ae8d;
  --brand-cream: #f5eee1;
  --brand-muted: #becdb9;
  --brand-line: rgba(150, 174, 141, .34);
  --green: var(--brand-forest);
  --green-2: #1c3021;
  --olive: var(--brand-sage);
  --sage: var(--brand-sage);
  --sage-pale: #243b29;
  --ivory: #192d1e;
  --ivory-deep: var(--brand-forest);
  --sand: #53634e;
  --gold: var(--brand-sage);
  --gold-light: var(--brand-sage);
  --ink: var(--brand-cream);
  --muted: var(--brand-muted);
  --white: #fffaf1;
  --line: var(--brand-line);
  --shadow: 0 32px 85px rgba(0, 0, 0, .38);
  --action-fill: var(--brand-sage);
  --action-text: var(--brand-forest);
  --action-hover: var(--brand-cream);
}

[data-visual-theme="royal-midnight"] body {
  background: var(--brand-forest);
  color: var(--ink);
}

[data-visual-theme="royal-midnight"] ::selection {
  background: var(--action-fill);
  color: var(--action-text);
}

[data-visual-theme="royal-midnight"] :is(.site-header, .royal-hero, .royal-feeling, .royal-gifting, .page-hero, .final-cta, .mobile-book-bar) {
  color: var(--ink);
}

[data-visual-theme="royal-midnight"] :is(.site-header, .royal-hero, .royal-feeling, .royal-gifting, .royal-collection, .final-cta, .mobile-book-bar, .site-footer, .campaign-footer),
[data-visual-theme="royal-midnight"] .royal-hero__frame::before,
[data-visual-theme="royal-midnight"] .royal-hero__frame::after {
  background: var(--brand-forest);
}

[data-visual-theme="royal-midnight"] :is(.royal-hero h1, .royal-wing__arrow) {
  color: var(--ink);
}

[data-visual-theme="royal-midnight"] :is(.royal-utility, .royal-hero__heading > p:last-child, .royal-hero__foot > p span, .royal-caption, .royal-gifting__copy > p:not(.royal-kicker)) {
  color: var(--muted);
}

[data-visual-theme="royal-midnight"] :is(.royal-visit, .royal-gift-card, .lp-location, .lp-final, .live-contact, .catalog-help) {
  background: var(--ivory);
  color: var(--ink);
}

/* The flyer uses sage behind a full menu column. Apply the same contrast to
   selected sections and the booking selection, with forest text and actions. */
[data-visual-theme="royal-midnight"] :is(
  .royal-invitation, .royal-escapes, .catalog-section[id="body"],
  .catalog-section[id="full-package-menu"], .lp-options, .find-us, .enquiry-selection
) {
  color-scheme: light;
  --ink: var(--brand-forest);
  --muted: #263b2b;
  --olive: var(--muted);
  --gold: var(--brand-forest);
  --gold-light: var(--brand-forest);
  --line: rgba(15, 32, 19, .34);
  --action-fill: var(--brand-forest);
  --action-text: var(--brand-cream);
  --action-hover: #243b29;
  background: var(--brand-sage);
  color: var(--ink);
}

/* Forest cards on sage keep the packages visually grouped with their prices. */
[data-visual-theme="royal-midnight"] :is(
  .catalog-section[id="full-package-menu"] .catalog-package-card,
  .lp-options .lp-offer
) {
  color-scheme: dark;
  --ink: var(--brand-cream);
  --muted: var(--brand-muted);
  --olive: var(--brand-sage);
  --gold: var(--brand-sage);
  --gold-light: var(--brand-sage);
  --line: var(--brand-line);
  --action-fill: var(--brand-sage);
  --action-text: var(--brand-forest);
  --action-hover: var(--brand-cream);
  background: var(--brand-forest);
  color: var(--ink);
}

[data-visual-theme="royal-midnight"] .find-us__map {
  background: transparent;
}

[data-visual-theme="royal-midnight"] :is(
  .royal-invitation h2 em, .royal-section-head h2 em, .royal-escapes__content h2 em,
  .royal-visit h2 em, .royal-menu-index, .royal-package-menu > a > span:last-child,
  .royal-visit__crest .royal-crown, .live-card-number, .catalog-options strong
) {
  color: var(--gold-light);
}

[data-visual-theme="royal-midnight"] :is(.catalog-collection-tabs a[aria-current], .button--solid, .royal-button, .button--ivory, .treatment-card__image > span) {
  background: var(--action-fill);
  border-color: var(--action-fill);
  color: var(--action-text);
}

[data-visual-theme="royal-midnight"] :is(.button--solid, .royal-button, .button--ivory):hover {
  background: var(--action-hover);
  border-color: var(--action-hover);
  color: var(--action-text);
}

[data-visual-theme="royal-midnight"] .button--outline {
  border-color: var(--action-fill);
  color: var(--action-fill);
}

[data-visual-theme="royal-midnight"] .button--outline:hover,
[data-visual-theme="royal-midnight"] .header-actions > .button:hover,
[data-visual-theme="royal-midnight"] .footer-socials a:hover,
[data-visual-theme="royal-midnight"] .footer-socials a:focus-visible {
  background: var(--action-fill);
  border-color: var(--action-fill);
  color: var(--action-text);
}

[data-visual-theme="royal-midnight"] .header-actions > .button {
  background: transparent;
  border-color: var(--gold);
  color: var(--ink);
}

[data-visual-theme="royal-midnight"] :is(a, button):focus-visible {
  outline: 2px solid var(--action-fill);
  outline-offset: 4px;
}

[data-visual-theme="royal-midnight"] .enquiry-panel {
  background: var(--ivory);
  border-color: var(--line);
}

[data-visual-theme="royal-midnight"] .enquiry-form :is(input, select, textarea) {
  background: var(--brand-forest);
  color: var(--ink);
  border-color: #84977b;
}

[data-visual-theme="royal-midnight"] .enquiry-form :is(input, textarea)::placeholder {
  color: var(--muted);
  opacity: 1;
}

[data-visual-theme="royal-midnight"] .enquiry-form select option {
  background: var(--brand-forest);
  color: var(--ink);
}

[data-visual-theme="royal-midnight"] .enquiry-message[data-status="error"] {
  background: #2c211c;
  border-color: #d5a287;
  color: var(--ink);
}

[data-visual-theme="royal-midnight"] :is(.enquiry-message[data-status="success"], .enquiry-success) {
  background: var(--green-2);
  border-color: var(--brand-sage);
  color: var(--ink);
}

[data-visual-theme="royal-midnight"] .enquiry-form button[disabled] {
  opacity: 1;
  background: var(--brand-sage);
  color: var(--brand-forest);
}
