/* Native mobile header. Desktop and tablet keep their existing source tree. */
@media (min-width:768px) {
  html body #header .mobile-header-version { display:none !important; }
}

@media (max-width:767px) {
  html body.macinfo-native-mobile-active #header > .desktop-header-version { display:none !important; height:0 !important; min-height:0 !important; overflow:hidden !important; }
  html body.macinfo-native-mobile-active #header > .mobile-header-version { display:block !important; }
  html body.macinfo-native-mobile-active.macinfo-native-header-scrolled:not(.macinfo-native-header-live) #header { background:rgba(249,249,252,.78) !important; -webkit-backdrop-filter:blur(10px) saturate(130%) !important; backdrop-filter:blur(10px) saturate(130%) !important; }
  html body.macinfo-native-mobile-active.macinfo-native-header-scrolled:not(.macinfo-native-header-live) #header .mobile-header-version { background:transparent !important; }
  html body.macinfo-native-mobile-active:not(.macinfo-native-header-live) #macinfo-tablet-menu-panel { background:#f9f9fc !important; }
  html body.macinfo-native-mobile-active:not(.macinfo-native-header-live).macinfo-native-cart-open #header .mobile-header-version .cart-dropdown,
  html body.macinfo-native-mobile-active:not(.macinfo-native-header-live).macinfo-native-cart-open #header .mobile-header-version .cart-dropdown-wrapper,
  html body.macinfo-native-mobile-active:not(.macinfo-native-header-live).macinfo-native-cart-open #header .mobile-header-version .cart-items,
  html body.macinfo-native-mobile-active:not(.macinfo-native-header-live).macinfo-native-cart-open #header .mobile-header-version .cart-product-line { background:#f9f9fc !important; }
  /* Keep the product frame away from the drawer edge without resizing it. */
  html body.macinfo-native-mobile-active:not(.macinfo-native-header-live).macinfo-native-cart-open #header .mobile-header-version .cart-items { padding:0 12px !important; }
  html body.macinfo-native-mobile-active:not(.macinfo-native-header-live).macinfo-native-cart-open #header .mobile-header-version .cart-product-line { display:grid !important; grid-template-columns:70px minmax(0,1fr) 24px !important; column-gap:12px !important; row-gap:0 !important; padding:12px 0 !important; }
  html body.macinfo-native-mobile-active:not(.macinfo-native-header-live).macinfo-native-cart-open #header .mobile-header-version .cart-product-line .product-image { display:flex !important; flex:0 0 70px !important; align-items:center !important; justify-content:center !important; width:70px !important; height:56px !important; min-width:70px !important; max-width:70px !important; overflow:hidden !important; }
  html body.macinfo-native-mobile-active:not(.macinfo-native-header-live).macinfo-native-cart-open #header .mobile-header-version .cart-product-line .product-image img { display:block !important; width:100% !important; height:100% !important; max-width:100% !important; object-fit:contain !important; }
  html body.macinfo-native-mobile-active:not(.macinfo-native-header-live).macinfo-native-cart-open #header .mobile-header-version .cart-product-line .product-infos { min-width:0 !important; margin-left:20px !important; }
  html body.macinfo-native-mobile-active:not(.macinfo-native-header-live) #header .mobile-header-version .mobile-display-left { display:none !important; }
  html body.macinfo-native-mobile-active:not(.macinfo-native-header-live) #header .mobile-header-version .sticky-background { display:none !important; pointer-events:none !important; }
  html body.macinfo-native-mobile-active:not(.macinfo-native-header-live) #header .mobile-header-version .shopping-cart-module { margin-left:12px !important; transform:translateY(-2px) !important; }
  html body.macinfo-native-mobile-active:not(.macinfo-native-header-live) #header .mobile-header-version .cart-products-count { transform:translate(0,11px) !important; font-size:8px !important; }
  html body.macinfo-native-mobile-active:not(.macinfo-native-header-live) #header .mobile-header-version .cart-total-value { transform:translateY(0) !important; }
  html body.macinfo-native-mobile-active:not(.macinfo-native-header-live) #header .mobile-header-version .cart-tax-label { transform:translateY(1px) !important; }
  html body.macinfo-native-mobile-active:not(.macinfo-native-header-live) #header .mobile-header-version .macinfo-account-control { position:relative !important; z-index:2 !important; }
  html body.macinfo-native-mobile-active:not(.macinfo-native-header-live) #header .mobile-header-version .macinfo-account-trigger { width:100% !important; transform:translate(-1px,8px) !important; }
  html body.macinfo-native-mobile-active:not(.macinfo-native-header-live) #header .mobile-header-version .macinfo-account-trigger .material-icons::before { transform:translateY(-8px); }
  html body.macinfo-native-mobile-active:not(.macinfo-native-header-live) #header .mobile-header-version .mobile-menu-icon { transform:translateX(9px) !important; }
  html body.macinfo-native-mobile-active:not(.macinfo-native-header-live).macinfo-native-cart-open #header .mobile-header-version .blockcart.cart-preview .cart-dropdown:has(.cart-items) { top:35px !important; right:-30px !important; left:auto !important; width:min(360px,calc(100vw - 24px)) !important; min-width:min(360px,calc(100vw - 24px)) !important; margin:0 !important; }
  html body.macinfo-native-mobile-active:not(.macinfo-native-header-live) #header .mobile-header-version .cart-design { position:relative !important; display:inline-flex !important; align-items:center !important; justify-content:center !important; width:16px !important; height:45px !important; }
  html body.macinfo-native-mobile-active:not(.macinfo-native-header-live) #header .mobile-header-version .cart-design::before { display:block !important; width:12px !important; height:10px !important; content:'' !important; transform:translateY(2px) !important; border:1.5px solid #435160 !important; border-radius:2px 2px 3px 3px !important; }
  html body.macinfo-native-mobile-active:not(.macinfo-native-header-live) #header .mobile-header-version .cart-design::after { position:absolute !important; top:15px !important; left:5px !important; display:block !important; width:6px !important; height:4px !important; content:'' !important; border:1.5px solid #435160 !important; border-bottom:0 !important; border-radius:4px 4px 0 0 !important; }
  html body.macinfo-native-mobile-active:not(.macinfo-native-header-live) #header .mobile-header-version .cart-design > i.fa { display:none !important; }
  html body.macinfo-native-mobile-active:not(.macinfo-native-header-live) #header .mobile-header-version .macinfo-mobile-cart-icon { display:none !important; }
  html body.macinfo-native-mobile-active:not(.macinfo-native-header-live) #header .mobile-header-version .macinfo-mobile-cart-icon path { fill:none !important; stroke:#435160 !important; }
}
