/* Prestige LiveChat chrome — 2026-09-16 v3 icon-only FAB
   Wide "Chat with us live!" lives inside iframe#chat-widget-minimized — hide it.
   Custom #prestige-chat-fab opens LiveChat maximize. */

#chat-widget-container {
  pointer-events: none !important;
}
#chat-widget-container > *,
#chat-widget-container iframe,
iframe[src*="livechatinc"],
iframe[src*="cdn.livechat"] {
  pointer-events: auto !important;
}

/* Hide ONLY the minimized launcher iframe (not the open chat window) */
html.prestige-lc-shown:not(.prestige-lc-open) iframe#chat-widget-minimized {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  max-width: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  position: fixed !important;
  right: 0 !important;
  bottom: 0 !important;
}

/* Our icon-only launcher */
#prestige-chat-fab {
  position: fixed;
  z-index: 2147483000;
  right: max(14px, env(safe-area-inset-right, 0px));
  bottom: max(18px, env(safe-area-inset-bottom, 0px));
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  background: #c8f135;
  color: #0a151c;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  -webkit-tap-highlight-color: transparent;
}
html.prestige-lc-shown:not(.prestige-lc-open) #prestige-chat-fab {
  display: inline-flex;
}
html.prestige-lc-open #prestige-chat-fab {
  display: none !important;
}
#prestige-chat-fab svg {
  width: 26px;
  height: 26px;
  display: block;
}
#prestige-chat-fab:focus-visible {
  outline: 2px solid #0a151c;
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .lead-form,
  .service-request,
  #service-request,
  #contact-request {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
  }
}
