/*
 * Interactive locale controls must stay outside LiteSpeed UCSS.
 * UCSS scans the initial closed state, so it cannot reliably retain the
 * [open] / .is-open declarations needed after a visitor activates a menu.
 */

body:not(.ast-header-break-point) .lalousi-language-switcher[open] summary::after,
body:not(.ast-header-break-point) .la-currency-switcher.is-open .la-currency-switcher__trigger::after {
  transform: rotate(225deg) translate(-1px, -2px);
}

body:not(.ast-header-break-point) .lalousi-language-switcher[open] .lalousi-language-switcher__panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

body:not(.ast-header-break-point) .la-currency-switcher.is-open .la-currency-switcher__trigger {
  opacity: .72;
}

body:not(.ast-header-break-point) .la-currency-switcher.is-open .la-currency-switcher__panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}

@media (min-width: 922px) {
  body:not(.ast-header-break-point) .site-below-footer-wrap[data-section="section-below-footer-builder"] .la-currency-switcher.is-open .la-currency-switcher__panel {
    transform: translate(0, 0) scale(1) !important;
  }
}

@media (max-width: 921px) {
  .lalousi-footer-mobile-language .lalousi-language-switcher[open] summary::after,
  .lalousi-footer-mobile-currency .la-currency-switcher.is-open .la-currency-switcher__trigger::after {
    transform: rotate(225deg) translate(-1px, -2px) !important;
  }

  .lalousi-footer-mobile-language .lalousi-language-switcher[open] .lalousi-language-switcher__panel {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
  }

  .lalousi-footer-mobile-currency .la-currency-switcher.is-open .la-currency-switcher__trigger {
    opacity: .72 !important;
  }

  .lalousi-footer-mobile-currency .la-currency-switcher.is-open .la-currency-switcher__panel {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate(0, 0) scale(1) !important;
  }
}
