/* Extra social network icons with original brand assets, scoped to WP-Sell Chat. */
#wscm-root .wscm-contact.is-youtube .wi,
#wscm-root .wscm-contact.is-aparat .wi {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
#wscm-root .wscm-contact.is-youtube .wi {
    background-image:url('../raei-floating-social/youtube.png');
}
#wscm-root .wscm-contact.is-aparat .wi {
    background-image:url('../raei-floating-social/aparat.png');
}
/* The active Nexo mobile bar raises --wscm-bottom to 92px (or 166px with buybar);
   the existing chat widget consumes this variable for the launcher and peek.
   Keep launcher above navigation without changing the full-screen chat panel. */
@media(max-width:1023px){
 body.nx-has-bnav #wscm-root {
    --wscm-bottom:var(--nx-float-bottom,92px);
 }
}

/* Raei brand support chat: coherent green palette, only the chat widget.
   The Nexo theme and social service colors remain untouched. */
#wscm-root.wscm {
    --w-primary: #168651;
    --w-primary-rgb: 22, 134, 81;
    --w-grad: linear-gradient(125deg, #116b45 0%, #18955b 55%, #26ad77 100%);
}
/* Legacy plugin elements that use Nexo's own gradient instead of --w-grad. */
#wscm-root .wscm-product-help__icon,
#wscm-root .wscm-product-help__btn.is-primary {
    background: var(--w-grad);
}
#wscm-root .wscm-account__kind {
    background: rgba(var(--w-primary-rgb), .10);
    color: var(--w-primary);
}

/* Make desktop + tablet support launcher identical to mobile: icon-only round button. */
#wscm-root.wscm .wscm-launcher {
  width: 58px !important;
  min-width: 58px !important;
  max-width: 58px !important;
  height: 58px !important;
  min-height: 58px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  border-radius: 50% !important;
  color: #fff !important;
}
#wscm-root.wscm .wscm-launcher__label {
  display: none !important;
}
#wscm-root.wscm .wscm-launcher__icon {
  display: grid !important;
  place-items: center !important;
  width: 42px !important;
  height: 42px !important;
  margin: 0 !important;
  flex: 0 0 42px;
  background: none !important;
  color: #fff !important;
}
#wscm-root.wscm .wscm-launcher__icon .wi {
  width: 23px !important;
  height: 23px !important;
  margin: 0 !important;
  color: #fff !important;
}
