/* Keep the launcher clear of open site menus and dialogs. */
html:has([data-mobile-menu][open], dialog[open], .fancybox-is-open) :is(#jvLabelWrap, .__jivoMobileButton),
html:has([data-mobile-menu][open], dialog[open], .fancybox-is-open) :is(#jvLabelWrap, .__jivoMobileButton) * {
  visibility: hidden !important;
}

/* Magnific Popup moves the active request form into its content container. */
body:has(.mfp-content .km-request-modal) > jdiv {
  display:none !important;
}

/* Leave 12 px between the cart confirmation and the Jivo launcher. */
@media (min-width:901px) {
  .km-cart-notice {
    right:calc(20px + 65px + 12px);
    bottom:max(20px, var(--km-cookie-height, 0px));
  }
}
@media (max-width:900px) {
  .km-cart-notice {
    bottom:max(calc(65px + 65px + 12px), var(--km-cookie-height, 0px));
  }
}
