/**
 * Bootstrap 5 compatibility overrides.
 *
 * Loaded after Bootstrap 5 so these win. Neutralizes BS5 classes that collide
 * with Drupal core markup.
 */

/* Bootstrap 5 added a `.placeholder` skeleton-loader class that collides with
 * Drupal core's <em class="placeholder"> used for %placeholders in messages
 * (e.g. the max-quantity notice). Reset it back to plain emphasized text. */
em.placeholder,
.messages em.placeholder {
  display: inline;
  min-height: auto;
  min-width: auto;
  vertical-align: baseline;
  cursor: inherit;
  background-color: transparent;
  opacity: 1;
  border-radius: 0;
  font-style: italic;
  animation: none;
}
