/**
 * WSU Omnibus - Message Appearance (story #3054)
 *
 * Serves the quiet and custom appearance presets. The default bold preset
 * ships no rules: existing installations keep the exact current look, so
 * this file is only enqueued when the preset differs from bold.
 *
 * Custom preset values arrive as --wsu-om-* custom properties emitted in
 * wp_head (Display::output_css_vars); the fallbacks here keep the theme
 * defaults for fields the owner left empty.
 */

/* Quiet: a discreet note, visually close to iworks (owner screenshot 2026-10-16). */
.wsu-omnibus__message--quiet {
  font-size: 0.85em;
  color: #757575;
}

.wsu-omnibus__message--quiet,
.wsu-omnibus__message--quiet .amount,
.wsu-omnibus__message--quiet b,
.wsu-omnibus__message--quiet strong {
  font-weight: 400;
}

/* Custom: every declaration falls back to the theme default when the
 * corresponding --wsu-om-* variable was not emitted (empty field). */
.wsu-omnibus__message--custom {
  font-size: var(--wsu-om-font-size, inherit);
  font-weight: var(--wsu-om-font-weight, inherit);
  color: var(--wsu-om-text-color, inherit);
}

.wsu-omnibus__message--custom .amount,
.wsu-omnibus__message--custom b,
.wsu-omnibus__message--custom strong {
  color: var(--wsu-om-price-color, inherit);
}

/* The theme styles .woocommerce-Price-amount directly in the product
 * summary (large bold price). Inside our message container the price
 * must follow the note typography instead - !important is required to
 * out-specify the theme's direct product-price rules. */
.wsu-omnibus__message .woocommerce-Price-amount,
.wsu-omnibus__message .woocommerce-Price-amount bdi,
.wsu-omnibus__message .woocommerce-Price-currencySymbol {
  font-size: inherit !important;
  font-weight: inherit !important;
  color: inherit !important;
}

.wsu-omnibus__message--custom .woocommerce-Price-amount {
  color: var(--wsu-om-price-color, inherit) !important;
}
