/* Keep the existing Chaty destinations and direct-channel interaction. */
#chaty-widget-0 .chaty-widget.right-position {
  width: 50px !important;
  height: 112px !important;
  right: calc(24px + env(safe-area-inset-right, 0px)) !important;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px)) !important;
  transition: opacity .2s ease;
}
#chaty-widget-0 .chaty-channels,
#csaas-channels-0 { width: 50px !important; height: 112px !important; }
#csaas-channels-0 { gap: 12px !important; }
#csaas-channels-0 .Whatsapp-channel-link { order: -1; }
#chaty-widget-0 .chaty-i-trigger,
#chaty-widget-0 .chaty-cta-button { display: none !important; }
#csaas-channels-0 .chaty-channel,
#csaas-channels-0 a.chaty-link,
#csaas-channels-0 .chaty-icon,
#csaas-channels-0 .chaty-svg {
  width: 50px !important;
  height: 50px !important;
  min-width: 50px !important;
  max-width: 50px !important;
  box-shadow: none !important;
}
#csaas-channels-0 .chaty-svg {
  display: grid !important;
  place-items: center;
  border-radius: 50%;
  background: #8CBEFF !important;
}
#csaas-channels-0 .Phone-channel .chaty-svg { background: #285FE5 !important; }
#csaas-channels-0 .chaty-svg > svg { width: 38px !important; height: 38px !important; }
#csaas-channels-0 .color-element { fill: transparent !important; }
#csaas-channels-0 .Whatsapp-channel path { fill: #08192C !important; stroke: #08192C !important; }
#csaas-channels-0 a.chaty-link { overflow: visible; }
#csaas-channels-0 a.chaty-link::before { display: none !important; }
#csaas-channels-0 a.chaty-link::after {
  display: block !important;
  position: absolute !important;
  inset: 50% calc(100% + 9px) auto auto !important;
  width: max-content !important;
  height: auto !important;
  margin: 0 !important;
  padding: 5px 10px !important;
  border: 1px solid #8CBEFF33;
  border-radius: 18px;
  background: #0B1D31 !important;
  color: #EDF4FF !important;
  box-shadow: none !important;
  opacity: 1 !important;
  visibility: inherit !important;
  transform: translateY(-50%) !important;
  font: 400 14px/22px 'Greta Arabic', sans-serif !important;
  text-align: center;
  white-space: nowrap;
  direction: rtl;
}
#csaas-channels-0 a.Whatsapp-channel::after { content: 'واتساب بلان'; }
#csaas-channels-0 a.Phone-channel::after { content: 'اتصل بنا'; }
#csaas-channels-0 a.chaty-link:focus-visible { outline: 2px solid #8CBEFF; outline-offset: 4px; }
#csaas-channels-0 a.Whatsapp-channel:is(:hover, :focus-visible) .chaty-svg { background: #B4D5FF !important; }
#csaas-channels-0 a.Phone-channel:is(:hover, :focus-visible) .chaty-svg { background: #477EFF !important; }
html:not(.planlic-chaty-revealed) body:is(.home, .page-id-96787) #chaty-widget-0 .chaty-widget,
html.planlic-chaty-footer-visible #chaty-widget-0 .chaty-widget {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
html:not(.planlic-chaty-revealed) body:is(.home, .page-id-96787) #chaty-widget-0 .chaty-widget *,
html.planlic-chaty-footer-visible #chaty-widget-0 .chaty-widget * {
  visibility: hidden !important;
  pointer-events: none !important;
}
@media (max-width: 767px) {
  #chaty-widget-0 .chaty-widget.right-position {
    right: calc(16px + env(safe-area-inset-right, 0px)) !important;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px)) !important;
    width: 46px !important;
    height: 104px !important;
  }
  #chaty-widget-0 .chaty-channels,
  #csaas-channels-0 { width: 46px !important; height: 104px !important; }
  #csaas-channels-0 .chaty-channel,
  #csaas-channels-0 a.chaty-link,
  #csaas-channels-0 .chaty-icon,
  #csaas-channels-0 .chaty-svg {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
  }
  #csaas-channels-0 a.chaty-link:not(:focus-visible)::after { display: none !important; }
  #csaas-channels-0 a.chaty-link:focus-visible::after { font-size: 12px !important; padding: 4px 8px !important; }
  html:is(.planlic-chaty-form-visible, .planlic-chaty-field-focused) #chaty-widget-0 .chaty-widget,
  html:is(.planlic-chaty-form-visible, .planlic-chaty-field-focused) #chaty-widget-0 .chaty-widget * {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  #chaty-widget-0 .chaty-widget.right-position { transition: none; }
}
