/* Only the mobile header: preserve desktop, translations and theme labels. */
body #mobile-header.mobile-header-style-3 .row-mobile-buttons {
  flex-wrap: nowrap;
  margin-left: 0;
  margin-right: 0;
  align-items: stretch !important;
}
body #mobile-header.mobile-header-style-3 .row-mobile-buttons > .col-mobile-btn {
  flex: 1 1 0%;
  width: 0;
  min-width: 0;
  padding: 0;
}
body #mobile-header.mobile-header-style-3 .row-mobile-buttons .m-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  min-height: 66px;
  width: 100%;
  padding: 8px 2px;
}
body #mobile-header.mobile-header-style-3 .row-mobile-buttons .m-nav-btn > i {
  position: relative;
  display: block;
  font-size: 24px;
  height: 28px;
  line-height: 28px;
}
body #mobile-header.mobile-header-style-3 .row-mobile-buttons .m-nav-btn > span {
  display: block;
  max-width: 100%;
  margin-top: 4px;
  font-size: 11px;
  line-height: 15px;
  text-align: center;
  overflow-wrap: anywhere;
}
body #mobile-header #mobile-cart-wrapper {
  min-width: 0;
}
body #mobile-header #mobile-header-sticky {
  /* Anchor the floating cart to the entire header, not the narrow icon. */
  position: relative;
}
body #mobile-header #mobile-header-sticky.stuck {
  position: fixed;
}
body #mobile-header .col-mobile-btn-cart.dropdown,
body #mobile-header .col-mobile-btn-cart.dropdown #mobile-cart-wrapper {
  position: static;
}
body #mobile-header .col-mobile-btn-cart.dropdown #_mobile_blockcart-content.dropdown-menu {
  position: absolute !important;
  top: 100% !important;
  right: 8px !important;
  left: auto !important;
  bottom: auto !important;
  transform: none !important;
  margin: 0 !important;
  width: min(440px, calc(100% - 16px)) !important;
  min-width: 0 !important;
  max-width: calc(100% - 16px) !important;
  z-index: 5100;
}
body #mobile-header .col-mobile-btn-cart.dropdown #blockcart-content {
  background: #fff;
  color: #24364a;
  text-align: left;
  max-height: calc(100dvh - 170px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  overscroll-behavior: contain;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .15);
}
body #mobile-header #mobile-header-sticky.stuck #blockcart-content {
  max-height: calc(100dvh - 86px) !important;
}

/* Hide only the mobile zero badge; desktop and cart contents are unchanged. */
body #mobile-header #mobile-cart-products-count:not(.vd-mobile-cart-has-products) {
  display: none !important;
}
