@media (max-width: 767px) {
  html.ms-product-zoom-open shopify-chat,
  html.ms-cart-panel-open shopify-chat,
  body:has([data-ms-product-zoom-modal]:not([hidden])) shopify-chat {
    display: none !important;
  }
}
