/* Mobile header: one row — menu left, logo center, search/account/cart right. No boxed icons. */

@media only screen and (max-width: 770px) {
  html:root body #header.lux-header,
  html:root body #header.page-header,
  html:root body #header {
    border-bottom: 1px solid #eee !important;
    background: #fff !important;
  }

  html:root body #header .page-header-container,
  html:root body #header.lux-header.lux-sticky .page-header-container {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    position: relative !important;
    overflow: visible !important;
    min-height: 56px !important;
    padding: 0 6px !important;
    background: #fff !important;
  }

  html:root body #header a.logo,
  html:root body #header a.logo.lux-logo,
  html:root body #header .lux-logo {
    position: absolute !important;
    left: 50% !important;
    top: 28px !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    width: auto !important;
    max-width: calc(100% - 200px) !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    background: transparent !important;
  }

  html:root body #header .lux-logo-word {
    font-size: clamp(15px, 4.4vw, 18px) !important;
    letter-spacing: 0.14em !important;
    line-height: 1 !important;
    color: #111 !important;
    white-space: nowrap !important;
  }

  html:root body #header .lux-logo-sub {
    font-size: 7px !important;
    letter-spacing: 0.2em !important;
    margin-top: 3px !important;
    color: #666 !important;
    white-space: nowrap !important;
  }

  html:root body #header .store-language-container,
  html:root body #header .header-language-background {
    display: none !important;
  }

  html:root body #header .skip-links,
  html:root body .skip-links {
    display: flex !important;
    flex: 1 1 100% !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 56px !important;
    min-height: 56px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    position: relative !important;
    z-index: 3 !important;
  }

  html:root body #header .skip-links > .skip-link.skip-nav {
    margin-right: auto !important;
  }

  html:root body #header .skip-links .account-cart-wrapper,
  html:root body #header .account-cart-wrapper {
    display: flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  html:root body #header .header-minicart {
    display: flex !important;
    flex: 0 0 44px !important;
    width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    background: transparent !important;
    border: 0 !important;
  }

  html:root body #header .skip-links > .skip-link,
  html:root body #header .skip-links .skip-link,
  html:root body #header .skip-links .skip-link.skip-nav,
  html:root body #header .skip-links .skip-link.skip-search,
  html:root body #header .skip-links .skip-link.skip-account,
  html:root body #header .skip-links .skip-link.skip-account:hover,
  html:root body #header .skip-links .skip-link.skip-account.skip-active,
  html:root body #header .skip-account,
  html:root body #header .skip-account.skip-active,
  html:root body #header .account-cart-wrapper > .skip-link,
  html:root body #header .account-cart-wrapper .skip-link.skip-account,
  html:root body #header .account-cart-wrapper .skip-link.skip-account:hover,
  html:root body #header .account-cart-wrapper .skip-link.skip-account.skip-active,
  html:root body #header .header-minicart .skip-cart,
  html:root body #header .header-minicart .skip-cart.skip-active,
  html:root body #header .skip-link.skip-active,
  html:root body #header .skip-links .skip-link.skip-nav.skip-active,
  html:root body #header .skip-links .skip-link.skip-search.skip-active {
    display: flex !important;
    flex: 0 0 44px !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    border: 0 !important;
    border-top: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    color: #111 !important;
    box-sizing: border-box !important;
  }

  html:root body #header .skip-link .label,
  html:root body #header .skip-links .skip-link .label,
  html:root body #header .header-minicart .skip-cart .label {
    display: none !important;
  }

  /* Search and account panels wrap to a full-width row below the icons */
  html:root body #header #header-search,
  html:root body #header #header-search.skip-content,
  html:root body #header #header-account,
  html:root body #header #header-account.skip-content {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    order: 10 !important;
  }
}
