/* v1.9.50: mobile contact controls with an in-app-browser-safe email path. */
@media (max-width: 980px) {
  body.zl-v022 .zl-floating-contact__item--email {
    display: none;
  }

  body.zl-v022 .zl-floating-contact__item--wechat {
    display: grid;
  }
}

.zl-mobile-contact-dialog {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px 16px calc(72px + env(safe-area-inset-bottom));
  background: rgba(6, 30, 50, .62);
}

.zl-mobile-contact-dialog[hidden] {
  display: none !important;
}

.zl-mobile-contact-sheet {
  width: min(440px, 100%);
  padding: 22px;
  border: 1px solid #d7e3ee;
  border-radius: 18px;
  background: #fff;
  color: #123f68;
  box-shadow: 0 18px 48px rgba(5, 37, 65, .28);
}

.zl-mobile-contact-sheet h3 {
  margin: 0 0 8px;
  color: #123f68;
  font-size: 22px;
  line-height: 1.35;
}

.zl-mobile-contact-sheet p {
  margin: 0 0 18px;
  overflow-wrap: anywhere;
  color: #526f88;
  font-size: 16px;
  line-height: 1.55;
}

.zl-mobile-contact-value {
  display: block;
  margin-top: 5px;
  color: #123f68;
  font-size: 18px;
  font-weight: 800;
}

.zl-mobile-contact-sheet .zl-mobile-contact-feedback {
  margin: -6px 0 14px;
  padding: 10px 12px;
  border-radius: 9px;
  background: #eef6fd;
  color: #315e83;
  font-size: 13px;
  line-height: 1.5;
}

.zl-mobile-contact-sheet .zl-mobile-contact-feedback:empty {
  display: none;
}

.zl-mobile-contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.zl-mobile-contact-actions a,
.zl-mobile-contact-actions button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #2f78be;
  border-radius: 10px;
  background: #fff;
  color: #1e629f;
  cursor: pointer;
  font: 700 14px/1.3 Arial, sans-serif;
  text-align: center;
  text-decoration: none;
}

.zl-mobile-contact-actions .is-primary {
  border-color: #f78a1d;
  background: #f78a1d;
  color: #fff;
}

.zl-mobile-contact-actions [hidden] {
  display: none !important;
}

.zl-mobile-contact-actions .is-close {
  grid-column: 1 / -1;
  border-color: #d7e3ee;
  color: #526f88;
}

.zl-mobile-contact-actions.is-copy-only {
  grid-template-columns: 1fr;
}

.zl-mobile-contact-actions.is-copy-only .is-close {
  grid-column: auto;
}

body.zl-mobile-contact-open {
  overflow: hidden;
}

@media (min-width: 981px) {
  .zl-mobile-contact-dialog {
    display: none !important;
  }
}
