/**
 * MaStore Live Chat — UI/UX PRO MAX Edition (v2)
 * Glassmorphism, Luxury Dark/Light Accents, Micro-animations, Mobile Sheet, Scroll Lock & Complete Overlay Auto-Suppression
 */

:root {
  --mlc-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mlc-primary: #0b0c10;
  --mlc-primary-gradient: linear-gradient(135deg, #121318 0%, #060709 100%);
  --mlc-accent: #000000;
  --mlc-online: #10b981;
  --mlc-online-glow: rgba(16, 185, 129, 0.45);
  --mlc-tg: #229ed9;
  --mlc-tg-gradient: linear-gradient(135deg, #2aabee 0%, #229ed9 100%);
  --mlc-bg-panel: rgba(255, 255, 255, 0.98);
  --mlc-border: rgba(0, 0, 0, 0.08);
  --mlc-border-glass: rgba(255, 255, 255, 0.8);
  --mlc-text-main: #0f172a;
  --mlc-text-muted: #64748b;
  --mlc-bubble-in: #ffffff;
  --mlc-bubble-in-text: #0f172a;
  --mlc-bubble-out: linear-gradient(135deg, #18181b 0%, #09090b 100%);
  --mlc-bubble-out-text: #ffffff;
  --mlc-shadow-panel: 0 24px 70px -12px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(0, 0, 0, 0.08);
  --mlc-shadow-fab: 0 12px 32px -4px rgba(0, 0, 0, 0.38), 0 4px 12px rgba(0, 0, 0, 0.15);
  --mlc-radius-panel: 24px;
  --mlc-radius-bubble: 18px;
  --mlc-ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── BODY SCROLL LOCK (PC & MOBILE) ──────────────────────────────────────── */
body.mlc-scroll-locked,
html.mlc-scroll-locked {
  overflow: hidden !important;
  overscroll-behavior: contain !important;
}

#mastore-live-chat {
  display: block !important;
  position: fixed !important;
  z-index: 2147483000 !important;
  bottom: 0 !important;
  right: 0 !important;
  pointer-events: none !important;
  font-family: var(--mlc-font) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#mastore-live-chat.is-chat-open,
#mastore-live-chat.is-open {
  z-index: 2147483647 !important;
}

#mastore-live-chat * {
  box-sizing: border-box !important;
}

/* ── FAB BUTTON & TEASER ─────────────────────────────────────────────────── */
.mlc-fab-wrapper {
  position: fixed !important;
  right: 22px !important;
  bottom: 24px !important;
  z-index: 2147483010 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  pointer-events: auto !important;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease !important;
}

.mlc-teaser {
  position: relative !important;
  background: #ffffff !important;
  color: #0f172a !important;
  padding: 10px 16px 10px 14px !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 30px -4px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.05) !important;
  margin-bottom: 12px !important;
  max-width: 260px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  cursor: pointer !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(12px) scale(0.92) !important;
  transition: all 0.4s var(--mlc-ease-spring) !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  pointer-events: auto !important;
}

.mlc-teaser.is-visible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
}

.mlc-teaser::after {
  content: "" !important;
  position: absolute !important;
  bottom: -6px !important;
  right: 24px !important;
  width: 12px !important;
  height: 12px !important;
  background: #ffffff !important;
  transform: rotate(45deg) !important;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.04) !important;
}

.mlc-teaser__avatar {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: #000 !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  flex-shrink: 0 !important;
  border: 2px solid #10b981 !important;
}

.mlc-teaser__close {
  position: absolute !important;
  top: -6px !important;
  right: -6px !important;
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  background: #000000 !important;
  color: #ffffff !important;
  border: 0 !important;
  font-size: 11px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  opacity: 0.8 !important;
  transition: opacity 0.2s !important;
}
.mlc-teaser__close:hover { opacity: 1 !important; }

.mlc-fab {
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  background: var(--mlc-primary-gradient) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: var(--mlc-shadow-fab) !important;
  cursor: pointer !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.35s var(--mlc-ease-spring), box-shadow 0.35s var(--mlc-ease-spring), background 0.3s !important;
  outline: none !important;
  padding: 0 !important;
  pointer-events: auto !important;
}

.mlc-fab:hover {
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.45), 0 0 0 2px rgba(255, 255, 255, 0.2) !important;
}

.mlc-fab:active {
  transform: translateY(0) scale(0.96) !important;
}

.mlc-fab__icon-chat,
.mlc-fab__icon-close {
  position: absolute !important;
  transition: transform 0.35s var(--mlc-ease-spring), opacity 0.3s !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.mlc-fab__icon-chat svg,
.mlc-fab__icon-close svg {
  width: 28px !important;
  height: 28px !important;
  stroke: #ffffff !important;
  fill: none !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.mlc-fab__icon-close {
  opacity: 0 !important;
  transform: rotate(-90deg) scale(0.5) !important;
}

#mastore-live-chat.is-chat-open .mlc-fab__icon-chat,
#mastore-live-chat.is-open .mlc-fab__icon-chat {
  opacity: 0 !important;
  transform: rotate(90deg) scale(0.5) !important;
}

#mastore-live-chat.is-chat-open .mlc-fab__icon-close,
#mastore-live-chat.is-open .mlc-fab__icon-close {
  opacity: 1 !important;
  transform: rotate(0) scale(1) !important;
}

.mlc-fab__dot {
  position: absolute !important;
  top: 4px !important;
  right: 4px !important;
  width: 14px !important;
  height: 14px !important;
  border-radius: 50% !important;
  background: var(--mlc-online) !important;
  border: 2.5px solid #0b0c10 !important;
  box-shadow: 0 0 10px var(--mlc-online-glow) !important;
}

.mlc-fab__dot::after {
  content: "" !important;
  position: absolute !important;
  inset: -4px !important;
  border-radius: 50% !important;
  background: var(--mlc-online-glow) !important;
  animation: mlc-pulse 2s infinite ease-out !important;
}

@keyframes mlc-pulse {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

.mlc-fab__badge {
  position: absolute !important;
  top: -4px !important;
  left: -4px !important;
  background: #ef4444 !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  height: 20px !important;
  min-width: 20px !important;
  padding: 0 6px !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4) !important;
  transform: scale(0) !important;
  transition: transform 0.3s var(--mlc-ease-spring) !important;
}

.mlc-fab__badge.is-visible {
  transform: scale(1) !important;
}

/* ── MAIN CHAT PANEL (PRO MAX GLASS) ─────────────────────────────────────── */
.mlc-panel {
  position: fixed !important;
  right: 24px !important;
  bottom: 100px !important;
  width: 385px !important;
  height: 620px !important;
  max-height: calc(100vh - 120px) !important;
  background: var(--mlc-bg-panel) !important;
  backdrop-filter: blur(28px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(190%) !important;
  border-radius: var(--mlc-radius-panel) !important;
  border: 1px solid var(--mlc-border-glass) !important;
  box-shadow: var(--mlc-shadow-panel) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  z-index: 2147483646 !important;
  pointer-events: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(24px) scale(0.95) !important;
  transform-origin: bottom right !important;
  transition: opacity 0.35s var(--mlc-ease-spring), transform 0.35s var(--mlc-ease-spring), visibility 0.35s !important;
}

#mastore-live-chat.is-chat-open .mlc-panel,
#mastore-live-chat.is-open .mlc-panel,
#mastore-live-chat .mlc-panel.is-open,
.mlc-panel.is-open {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1) !important;
}

/* ── HEADER ──────────────────────────────────────────────────────────────── */
.mlc-header {
  background: #0b0c10 !important;
  color: #ffffff !important;
  padding: 16px 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  position: relative !important;
  flex-shrink: 0 !important;
  z-index: 10 !important;
  pointer-events: auto !important;
  border-top-left-radius: var(--mlc-radius-panel) !important;
  border-top-right-radius: var(--mlc-radius-panel) !important;
}

.mlc-header__row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
}

.mlc-header__info {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.mlc-header__avatar-box {
  position: relative !important;
  width: 44px !important;
  height: 44px !important;
}

.mlc-header__avatar {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #27272a 0%, #09090b 100%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  color: #fff !important;
  letter-spacing: -0.5px !important;
}

.mlc-header__status-dot {
  position: absolute !important;
  bottom: 0 !important;
  right: 0 !important;
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  background: var(--mlc-online) !important;
  border: 2px solid #0b0c10 !important;
}

.mlc-header__meta {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

.mlc-header__title {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.mlc-header__badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 15px !important;
  height: 15px !important;
  background: #3b82f6 !important;
  border-radius: 50% !important;
  color: #fff !important;
  font-size: 9px !important;
}

.mlc-header__subtitle {
  font-size: 12px !important;
  color: rgba(255, 255, 255, 0.7) !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.mlc-header__actions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  z-index: 20 !important;
  pointer-events: auto !important;
}

.mlc-btn-icon {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 0 !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  touch-action: manipulation !important;
  transition: background 0.2s, transform 0.2s !important;
  padding: 0 !important;
}

.mlc-btn-icon:hover,
.mlc-btn-icon:active {
  background: rgba(255, 255, 255, 0.24) !important;
  transform: scale(1.06) !important;
}

.mlc-btn-icon svg {
  width: 20px !important;
  height: 20px !important;
  stroke: currentColor !important;
  fill: none !important;
  stroke-width: 2 !important;
  pointer-events: none !important;
}

/* ── BODY & MESSAGES ─────────────────────────────────────────────────────── */
.mlc-body {
  flex: 1 1 auto !important;
  padding: 16px 16px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.6) 0%, rgba(241, 245, 249, 0.85) 100%) !important;
  scroll-behavior: smooth !important;
  pointer-events: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

.mlc-body::-webkit-scrollbar {
  width: 5px !important;
}
.mlc-body::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.12) !important;
  border-radius: 4px !important;
}

.mlc-date-divider {
  align-self: center !important;
  background: rgba(0, 0, 0, 0.05) !important;
  color: var(--mlc-text-muted) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  padding: 4px 10px !important;
  border-radius: 12px !important;
  margin: 4px 0 !important;
  letter-spacing: 0.2px !important;
}

.mlc-msg-row {
  display: flex !important;
  flex-direction: column !important;
  max-width: 84% !important;
  animation: mlc-msg-in 0.3s var(--mlc-ease-spring) forwards !important;
}

@keyframes mlc-msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mlc-msg-row.is-in {
  align-self: flex-start !important;
}

.mlc-msg-row.is-out {
  align-self: flex-end !important;
}

.mlc-msg-bubble {
  padding: 12px 15px !important;
  border-radius: var(--mlc-radius-bubble) !important;
  font-size: 13.5px !important;
  line-height: 1.45 !important;
  word-break: break-word !important;
  position: relative !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

.mlc-msg-row.is-in .mlc-msg-bubble {
  background: #ffffff !important;
  color: var(--mlc-bubble-in-text) !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  border-bottom-left-radius: 4px !important;
}

.mlc-msg-row.is-out .mlc-msg-bubble {
  background: var(--mlc-bubble-out) !important;
  color: var(--mlc-bubble-out-text) !important;
  border-bottom-right-radius: 4px !important;
}

.mlc-msg-meta {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  margin-top: 4px !important;
  font-size: 10.5px !important;
  color: var(--mlc-text-muted) !important;
}

.mlc-msg-row.is-out .mlc-msg-meta {
  justify-content: flex-end !important;
}

/* ── QUICK FAQ CHIPS ─────────────────────────────────────────────────────── */
.mlc-quick-chips {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  padding: 4px 0 8px 0 !important;
  margin-top: 4px !important;
}

.mlc-chip {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  padding: 7px 12px !important;
  border-radius: 14px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.2s var(--mlc-ease-spring) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.mlc-chip:hover {
  background: #000000 !important;
  color: #ffffff !important;
  border-color: #000000 !important;
  transform: translateY(-1.5px) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12) !important;
}

/* ── FOOTER & INPUT ──────────────────────────────────────────────────────── */
.mlc-footer {
  padding: 12px 14px !important;
  background: #ffffff !important;
  border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
  pointer-events: auto !important;
}

.mlc-input-capsule {
  display: flex !important;
  align-items: flex-end !important;
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 20px !important;
  padding: 6px 6px 6px 14px !important;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s !important;
}

.mlc-input-capsule:focus-within {
  background: #ffffff !important;
  border-color: #000000 !important;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06) !important;
}

.mlc-textarea {
  flex: 1 !important;
  border: 0 !important;
  background: transparent !important;
  outline: none !important;
  font-family: inherit !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  color: #0f172a !important;
  resize: none !important;
  max-height: 100px !important;
  min-height: 22px !important;
  padding: 3px 0 !important;
}

.mlc-textarea::placeholder {
  color: #94a3b8 !important;
}

.mlc-send-btn {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: #000000 !important;
  color: #ffffff !important;
  border: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: transform 0.2s, opacity 0.2s, background 0.2s !important;
  flex-shrink: 0 !important;
}

.mlc-send-btn:disabled {
  background: #e2e8f0 !important;
  color: #94a3b8 !important;
  cursor: not-allowed !important;
  transform: scale(0.92) !important;
}

.mlc-send-btn:not(:disabled):hover {
  transform: scale(1.08) !important;
  background: #18181b !important;
}

.mlc-send-btn svg {
  width: 16px !important;
  height: 16px !important;
  fill: currentColor !important;
}

.mlc-footer__tg-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  font-size: 11.5px !important;
  color: #64748b !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
}

.mlc-footer__tg-link:hover {
  color: #229ed9 !important;
}

.mlc-footer__tg-link svg {
  width: 14px !important;
  height: 14px !important;
  fill: currentColor !important;
}

/* ── SCRIM & OVERLAY ─────────────────────────────────────────────────────── */
.mlc-scrim {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  z-index: 2147483640 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.35s ease, visibility 0.35s ease !important;
  pointer-events: none !important;
}

#mastore-live-chat.is-chat-open .mlc-scrim,
#mastore-live-chat.is-open .mlc-scrim,
#mastore-live-chat .mlc-scrim.is-on,
.mlc-scrim.is-on {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* ── RESPONSIVENESS & MOBILE EXCELLENCE ──────────────────────────────────── */
@media (max-width: 1024px) {
  .mlc-fab-wrapper {
    right: 16px !important;
    bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

@media (max-width: 640px) {
  .mlc-panel {
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 90vh !important;
    max-height: 90vh !important;
    border-radius: 24px 24px 0 0 !important;
    border-bottom: 0 !important;
    transform: translateY(100%) !important;
  }

  .mlc-header {
    padding: 14px 16px !important;
    border-top-left-radius: 24px !important;
    border-top-right-radius: 24px !important;
  }

  #mastore-live-chat.is-chat-open .mlc-panel,
  #mastore-live-chat.is-open .mlc-panel,
  #mastore-live-chat .mlc-panel.is-open,
  .mlc-panel.is-open {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
  }

  .mlc-fab-wrapper {
    right: 14px !important;
    bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .mlc-fab {
    width: 56px !important;
    height: 56px !important;
  }

  .mlc-btn-icon {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
  }

  .mlc-textarea {
    font-size: 16px !important; /* Prevents auto-zoom on iOS */
  }

  .mlc-footer {
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* ── STRICT HIGHEST-PRECEDENCE SUPPRESSION RULES ────────────────────────── */
body.drawer-open #mastore-live-chat:not(.is-chat-open) .mlc-fab-wrapper,
body.popup-enable #mastore-live-chat:not(.is-chat-open) .mlc-fab-wrapper,
body.popup-open #mastore-live-chat:not(.is-chat-open) .mlc-fab-wrapper,
body.mfp-open #mastore-live-chat:not(.is-chat-open) .mlc-fab-wrapper,
html.mfp-ready #mastore-live-chat:not(.is-chat-open) .mlc-fab-wrapper,
html.mp-fs #mastore-live-chat:not(.is-chat-open) .mlc-fab-wrapper,
body.mp-fs #mastore-live-chat:not(.is-chat-open) .mlc-fab-wrapper,
body.mc-drawer-open #mastore-live-chat:not(.is-chat-open) .mlc-fab-wrapper,
body.msc-open #mastore-live-chat:not(.is-chat-open) .mlc-fab-wrapper,
body.msd-open #mastore-live-chat:not(.is-chat-open) .mlc-fab-wrapper,
body.msh-open #mastore-live-chat:not(.is-chat-open) .mlc-fab-wrapper,
body:has(.drawer.active) #mastore-live-chat:not(.is-chat-open) .mlc-fab-wrapper,
body:has(.drawer.is-open) #mastore-live-chat:not(.is-chat-open) .mlc-fab-wrapper,
body:has(.msd-sheet.is-open) #mastore-live-chat:not(.is-chat-open) .mlc-fab-wrapper,
body:has(.msd-sheet.active) #mastore-live-chat:not(.is-chat-open) .mlc-fab-wrapper,
body:has(.msd-sheet[aria-hidden="false"]) #mastore-live-chat:not(.is-chat-open) .mlc-fab-wrapper,
body:has(.msd-search.is-open) #mastore-live-chat:not(.is-chat-open) .mlc-fab-wrapper,
body:has(.msd-search[aria-hidden="false"]) #mastore-live-chat:not(.is-chat-open) .mlc-fab-wrapper,
body:has(.msc-drawer.is-open) #mastore-live-chat:not(.is-chat-open) .mlc-fab-wrapper,
body:has(.msc-drawer.active) #mastore-live-chat:not(.is-chat-open) .mlc-fab-wrapper,
body:has(.msh-mega.is-open) #mastore-live-chat:not(.is-chat-open) .mlc-fab-wrapper,
body:has(.popup-screen.active) #mastore-live-chat:not(.is-chat-open) .mlc-fab-wrapper,
body:has(.quickview:not(.mfp-hide)) #mastore-live-chat:not(.is-chat-open) .mlc-fab-wrapper,
body:has(.mcs.is-open) #mastore-live-chat:not(.is-chat-open) .mlc-fab-wrapper,
body:has([data-mcs].is-open) #mastore-live-chat:not(.is-chat-open) .mlc-fab-wrapper,
body:has(.mcs-panel) .mcs.is-open ~ #mastore-live-chat:not(.is-chat-open) .mlc-fab-wrapper,
body:has(.mcs:not([hidden])) #mastore-live-chat:not(.is-chat-open) .mlc-fab-wrapper,
body:has(.size-guide:not([hidden])) #mastore-live-chat:not(.is-chat-open) .mlc-fab-wrapper,
body:has([id*="size-guide"]:not([hidden])) #mastore-live-chat:not(.is-chat-open) .mlc-fab-wrapper,
body:has([class*="size-guide"].is-open) #mastore-live-chat:not(.is-chat-open) .mlc-fab-wrapper,
body:has(.mp-gallery.is-full) #mastore-live-chat:not(.is-chat-open) .mlc-fab-wrapper,
body:has([data-mp-gallery].is-full) #mastore-live-chat:not(.is-chat-open) .mlc-fab-wrapper,
body:has(.pswp--open) #mastore-live-chat:not(.is-chat-open) .mlc-fab-wrapper,
body:has(.pswp--visible) #mastore-live-chat:not(.is-chat-open) .mlc-fab-wrapper,
#mastore-live-chat.is-suppressed:not(.is-chat-open) .mlc-fab-wrapper,
#mastore-live-chat.is-suppressed:not(.is-chat-open) .mlc-fab,
#mastore-live-chat.is-suppressed:not(.is-chat-open) .mlc-teaser {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(24px) scale(0.7) !important;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease !important;
}
