/**
 * Ticket 6.2.0-D — Icones header panier et compte harmonisees (SVG dedies).
 * Scope strict : #header et #mh-sticky uniquement.
 */

/* Logo desktop : SVG vectoriel, ratio naturel 5.32:1 → 213×40 px */
#header .desktop-header-main #header_logo {
  align-self: center;
  flex-shrink: 0;
}

#header #header_logo img.logo {
  height: 40px !important;
  width: auto !important;
  max-width: none !important;
  margin-top: 0 !important;
  display: block;
}

/* Logo mobile : dimensions prod (mobile-style1 = 130px de large) */
@media screen and (max-width: 767px) {
  header .mobile-condensed-header #mh-sticky .mobile-h-logo {
    padding: 6px 4px !important;
  }

  header .mobile-condensed-header #mh-sticky .mobile-h-logo img.logo {
    height: 24px !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 auto !important;
    display: block;
  }

  header .mobile-condensed-header #mh-sticky.sticked .mobile-h-logo img.logo {
    height: 40px !important;
    width: auto !important;
    max-width: none !important;
  }

  header .mobile-condensed-header #mh-sticky .mobile-main-bar .right-group {
    gap: 12px !important;
    align-items: center;
  }

  header .mobile-condensed-header #mh-sticky .mh-button.mh-user {
    margin-left: 4px;
  }

  header .mobile-condensed-header #mh-sticky .mh-button > span {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
}

#header .shopping_cart .icon-container,
#header .header_user_info .icon-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

#header .pz-header-icon,
#mh-sticky .pz-header-icon {
  display: block;
  line-height: 0;
  flex-shrink: 0;
}

#header .pz-header-icon img,
#mh-sticky .pz-header-icon img {
  display: block;
  width: 30px;
  height: 30px;
}

#header .shopping_cart > a,
#header .header_user_info > a {
  display: inline-flex;
  justify-content: center;
}

/* Alignement vertical panier / compte comme en prod */
@media screen and (min-width: 768px) {
  #header .header_user_info {
    margin-top: 37px;
  }
}
