
header-drawer {
  justify-self: start;
  margin-left: -1.2rem;
}

@media screen and (min-width: 990px) {
  header-drawer {
    display: none;
  }
}

.menu-drawer-container {
  display: flex;
}

.list-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-menu--inline {
  display: inline-flex;
  flex-wrap: wrap;
}

summary.list-menu__item {
  padding-right: 2.7rem;
}

.list-menu__item {
  display: flex;
  align-items: center;
  line-height: 1.3;
}

.list-menu__item--link {
  text-decoration: none;
  padding-bottom: 1rem;
  padding-top: 1rem;
  line-height: 1.8;
}

@media screen and (min-width: 750px) {
  .list-menu__item--link {
    padding-bottom: 0.5rem;
    padding-top: 0.5rem;
  }
}

summary.menu-drawer__menu-item > a.list-menu__item {
  padding: 0;
}

/* --- MOBILE: kill horizontal scroll & clamp wide elements --- */
@media (max-width: 768px) {
  /* never allow horizontal scroll */
  html, body { max-width: 100%; overflow-x: hidden !important; }

  /* anything that might be full-bleed */
  .announcement-bar, .site-header, .header, .main, .content, .page-width,
  .container, .wrapper, .footer {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow-x: hidden !important;
  }

  /* cap media & logos */
  img, svg, video { max-width: 100% !important; height: auto !important; }

  /* fix components that hang outside cards/grids */
  .product-card, .product-item, .card { overflow: hidden !important; }
  .badge--floating, .badge-floating, .badge,
  .product-card [class*="plus"], .product-item [class*="plus"] {
    right: 8px !important; left: auto !important;  /* stop overflow to the left */
  }

  /* themes that use 100vw on mobile (causes overflow on iOS) */
  [style*="100vw"], .full-bleed { width: 100% !important; }
}
