/**
 * CSS pour masquer le panier dans l'en-tête tout en préservant sa fonctionnalité ailleurs
 */

/* Masquer complètement #_desktop_cart dans le header */
.header-nav.tablet-h #_desktop_cart,
.header-nav.tablet-h .header-right #_desktop_cart,
header #_desktop_cart,
#header #_desktop_cart,
.header-right #_desktop_cart {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
}

/* Assurer que le panier est toujours fonctionnel ailleurs */
body > #_desktop_cart,
.flex-header-container #_desktop_cart,
#wrapper #_desktop_cart {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  pointer-events: auto !important;
}
