/* One grid row with one clipped child. Do not animate arbitrary max-heights
 * or fade readable text. Only enhanced mobile panels receive these rules. */
@media (max-width: 767px) {
  html body #elika-global-shell-footer#elika-global-shell-footer[data-elika-motion="9612"] :is(.egs-footer-panel, .egs-footer-legal) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: 0fr !important;
    align-items: stretch !important;
    width: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    overflow: hidden !important;
    opacity: 1 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: grid-template-rows 260ms cubic-bezier(.2, 0, 0, 1), visibility 0s linear 260ms !important;
  }
  html body #elika-global-shell-footer#elika-global-shell-footer[data-elika-motion="9612"] .is-open > :is(.egs-footer-panel, .egs-footer-legal) {
    grid-template-rows: 1fr !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transition: grid-template-rows 260ms cubic-bezier(.2, 0, 0, 1), visibility 0s !important;
  }
  html body #elika-global-shell-footer#elika-global-shell-footer[data-elika-motion="9612"] .elika-footer-reveal {
    min-width: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }
  html body #elika-global-shell-footer#elika-global-shell-footer[data-elika-motion="9612"] .elika-footer-reveal-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    margin: 0 !important;
    padding: 0 0 24px !important;
  }
  html body #elika-global-shell-footer#elika-global-shell-footer[data-elika-motion="9612"] .egs-footer-legal .elika-footer-reveal-content {
    gap: 12px !important;
    padding: 0 24px 24px !important;
  }
  html body #elika-global-shell-footer#elika-global-shell-footer[data-elika-motion="9612"] .egs-footer-toggle b {
    transition: transform 260ms cubic-bezier(.2, 0, 0, 1) !important;
  }
}
/* These wrappers are animation-only: preserve the desktop footer structure. */
@media (min-width: 768px) {
  html body #elika-global-shell-footer#elika-global-shell-footer[data-elika-motion="9612"] :is(.elika-footer-reveal, .elika-footer-reveal-content) {
    display: contents !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  html body #elika-global-shell-footer#elika-global-shell-footer[data-elika-motion="9612"] :is(.egs-footer-panel, .egs-footer-legal, .egs-footer-toggle b) {
    transition: none !important;
  }
}
