/* Keep the desktop logo stable when GeneratePress switches to its sticky header. */
#sticky-navigation .sticky-navigation-logo img {
  width: 217px;
  height: 55px;
  padding: 0;
  object-fit: contain;
  transition: none;
}

/* Popup templates are emitted in the HTML, as on WordPress, but start hidden. */
.elementor-location-popup {
  display: none;
}

.dialog-message > .elementor-location-popup {
  display: block;
}

/* Keep Elementor's selectors and per-popup CSS responsible for dimensions and colors. */
.migration-popup-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  padding: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.migration-popup-modal .dialog-widget-content {
  position: relative;
  max-width: 100%;
  max-height: 100%;
}

.migration-popup-modal .dialog-message {
  max-width: 100vw;
  max-height: 100vh;
  overflow: auto;
}

.migration-popup-modal .dialog-close-button {
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 20px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  line-height: 1;
  cursor: pointer;
}

.migration-popup-modal .dialog-close-button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

/* Shared on-demand chat and original mobile logo proportions. */
.mob-menu-logo-holder img.mob-standard-logo { width: auto; }
body .clinic-chat-launcher {
  position: fixed; right: 20px; bottom: 20px; z-index: 9998;
  display: grid; place-items: center; box-sizing: border-box;
  width: 60px; height: 60px; min-width: 60px; min-height: 60px;
  padding: 14px; border: 0; border-radius: 50%;
  background: #bba14f; color: #171717; box-shadow: 0 4px 14px #0003; cursor: pointer;
}
.clinic-chat-launcher.is-unavailable { width: auto; min-width: 130px; border-radius: 30px; }
.clinic-chat-launcher:focus-visible { outline: 3px solid #171717; outline-offset: 3px; }
.clinic-chat-launcher[aria-busy="true"] { opacity: .7; cursor: progress; }
