/* The old Elementor animation has a -80px tablet/mobile margin from its former theme. */
@media (max-width: 1024px) {
  .ecc-generic-content .ecc-animation-section {
    margin-top: 0 !important;
  }
  .ecc-generic-content .elementor-top-section:has(.elementor-widget-slider_revolution) {
    margin-top: 0 !important;
  }
}
/* Keep the existing pink quick-access bar when its plugin is active; show one bar. */
@media (max-width: 767px) {
  body.ecc-has-legacy-quickbar .ecc-mobile-bar {
    display: none !important;
  }
  body:has(.eccm-quickbar) .ecc-mobile-bar {
    display: none !important;
  }
  body.ecc-has-legacy-quickbar {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }
  body:has(.eccm-quickbar) {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }
  body .eccm-quickbar {
    width: min(350px, calc(100vw - 32px));
    padding: 6px;
    gap: 6px;
    border-radius: 20px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  }
  body .eccm-quickbar__link {
    aspect-ratio: auto;
    height: 46px;
    min-height: 46px;
    border-radius: 14px;
  }
  body .eccm-quickbar__icon {
    width: 23px;
    height: 23px;
  }
}
