/* Premier Element Group centralized Crisp launcher */
.crisp-client {
  --crisp-customization-default-button-horizontal: 8px !important;
  --crisp-customization-default-button-vertical: 28px !important;
  --crisp-customization-mobile-button-horizontal: 10px !important;
  --crisp-customization-mobile-button-vertical: 90px !important;
}

.crisp-client [data-full-view] [data-is-failure="false"] {
  transform: scale(1.14) !important;
  transform-origin: bottom right !important;
}

.peg-live-chat-pill {
  position: fixed;
  right: 104px;
  bottom: calc(48px + env(safe-area-inset-bottom, 0px));
  z-index: 1000002;
  min-width: 154px;
  height: 54px;
  padding: 0 16px 0 13px;
  border: 1px solid rgba(184, 146, 42, .48);
  border-radius: 999px;
  background: rgba(255, 255, 255, .97);
  color: #17130d;
  box-shadow: 0 12px 30px rgba(30, 22, 7, .16), 0 3px 10px rgba(184, 146, 42, .12);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  font-family: "Jost", "DM Sans", Arial, sans-serif;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px) scale(.97);
  transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  -webkit-tap-highlight-color: transparent;
}

.peg-live-chat-pill:hover,
.peg-live-chat-pill:focus-visible {
  border-color: rgba(184, 146, 42, .9);
  box-shadow: 0 14px 34px rgba(30, 22, 7, .2), 0 4px 14px rgba(184, 146, 42, .2);
  outline: none;
  transform: translateY(-1px);
}

.peg-live-chat-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d5ad35, #b8922a);
  color: #fff;
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  box-shadow: 0 3px 8px rgba(184, 146, 42, .26);
}

.peg-live-chat-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.peg-live-chat-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
}

.peg-live-chat-copy strong {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #20190d;
  white-space: nowrap;
}

.peg-live-chat-copy strong::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #b8922a;
  box-shadow: 0 0 0 3px rgba(184, 146, 42, .13), 0 0 8px rgba(184, 146, 42, .2);
}

html.peg-crisp-online .peg-live-chat-copy strong::before {
  background: #28a66a;
  box-shadow: 0 0 0 3px rgba(40, 166, 106, .14), 0 0 8px rgba(40, 166, 106, .28);
}

.peg-live-chat-label-live { display: none; }
.peg-live-chat-label-away { display: inline; }
html.peg-crisp-online .peg-live-chat-label-live { display: inline; }
html.peg-crisp-online .peg-live-chat-label-away { display: none; }

.peg-live-chat-status {
  margin-top: 5px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .01em;
  color: #74684e;
  white-space: nowrap;
}

html.peg-crisp-ready:not(.peg-crisp-open) .peg-live-chat-pill {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

html.peg-crisp-open .peg-live-chat-pill {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 768px) {
  .crisp-client [data-full-view] [data-is-failure="false"] {
    transform: scale(1.05) !important;
  }

  .peg-live-chat-pill {
    right: 94px;
    bottom: calc(104px + env(safe-area-inset-bottom, 0px));
    min-width: 112px;
    height: 42px;
    padding: 0 12px 0 10px;
    gap: 7px;
  }

  .peg-live-chat-icon {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .peg-live-chat-icon svg {
    width: 14px;
    height: 14px;
  }

  .peg-live-chat-copy strong { font-size: 11px; }
  .peg-live-chat-status { display: none; }
}

@media (max-width: 360px) {
  .peg-live-chat-pill {
    right: 88px;
    min-width: 104px;
    padding: 0 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .peg-live-chat-pill { transition: none; }
}
