/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Mega-menu trigger: active state + caret rotation (toggled by the
   `megamenu` Stimulus controller via the `is-active` class). */
.mm-trigger.is-active {
  background-color: var(--color-warm-200);
}

.mm-caret {
  transition: transform 0.15s ease;
}

.mm-trigger.is-active .mm-caret {
  transform: rotate(180deg);
}
