/* Keep the shared public header stable on cart pages. The cart body has broad
   selectors and is loaded after the web theme header styles. */
body > .edit-header,
body > #header,
body > .edit-header #header {
  position: relative;
  z-index: 100;
  width: 100%;
  min-height: 75px;
  background: #fff;
  color: #252b3a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  letter-spacing: 0;
  line-height: normal;
}

html,
body {
  margin: 0 !important;
  padding-top: 0 !important;
}

body > .edit-header,
body > #header,
body > .edit-header #header,
body > .edit-header #header .header-container,
body > #header .header-container {
  top: 0 !important;
  margin-top: 0 !important;
}

body > .edit-header #header *,
body > #header * {
  box-sizing: border-box;
}

body > .edit-header #header .header-bottom,
body > #header .header-bottom {
  min-height: 75px;
  height: 75px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  z-index: 9999;
}

body > .edit-header #header .header-logo-outer,
body > #header .header-logo-outer {
  width: 300px;
  margin: 0;
  padding: 0;
  flex: 0 0 300px;
}

body > .edit-header #header .header-logo-outer .header-logo,
body > #header .header-logo-outer .header-logo {
  display: block;
  height: 45px;
  line-height: 45px;
  background-size: cover;
}

body > .edit-header #header .header-logo-outer .header-logo img,
body > #header .header-logo-outer .header-logo img {
  display: inline-block;
  width: auto;
  height: 45px;
  max-width: 180px;
  object-fit: contain;
  vertical-align: middle;
}

body > .edit-header #header .header-nav,
body > #header .header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  left: 0;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  height: 75px;
  margin: 0;
  padding: 0 28px;
}

body > .edit-header #header .header-nav-scroll,
body > #header .header-nav-scroll {
  position: relative;
  overflow: hidden;
  min-width: 0;
  width: auto;
  max-width: 620px;
  display: flex;
  justify-content: center;
}

body > .edit-header #header .header-nav-list,
body > #header .header-nav-list {
  display: inline-block;
  position: relative;
  float: none;
  z-index: 1;
  height: 75px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0;
  list-style: none;
}

body > .edit-header #header .header-nav-list > li,
body > #header .header-nav-list > li {
  display: inline-block;
  margin: 0;
  padding: 0 16px;
  height: 75px;
  vertical-align: top;
  list-style: none;
}

body > .edit-header #header .header-nav-list > li:first-child,
body > #header .header-nav-list > li:first-child {
  padding-left: 0;
}

body > .edit-header #header .header-nav-list > li > a,
body > #header .header-nav-list > li > a {
  display: block;
  height: 75px;
  margin: 0;
  padding: 0;
  color: #263244;
  font-size: 14px;
  font-weight: 500;
  line-height: 75px;
  white-space: nowrap;
  text-decoration: none;
}

body > .edit-header #header .header-tools,
body > #header .header-tools {
  display: flex;
  flex: 0 0 300px;
  align-items: center;
  justify-content: flex-end;
  width: 300px;
  min-width: 300px;
  height: 75px;
  margin: 0;
  padding: 0;
}

body > .edit-header #header .header-tools-right,
body > #header .header-tools-right {
  display: flex;
  align-items: center;
  height: 18px;
  margin: 0 16px 0 16px;
  padding: 0;
  list-style: none;
}

body > .edit-header #header .header-tools-right > li,
body > #header .header-tools-right > li {
  display: inline-block;
  float: none;
  height: 18px;
  margin: 0 0 0 16px;
  padding: 0;
  line-height: 18px;
  list-style: none;
}

body > .edit-header #header .header-tools-right > li:first-child,
body > #header .header-tools-right > li:first-child {
  margin-left: 0;
}

body > .edit-header #header .header-tools-right > li > a,
body > #header .header-tools-right > li > a {
  display: block;
  height: 18px;
  margin: 0;
  padding: 0;
  color: #263244;
  font-size: 14px;
  line-height: 18px;
  white-space: nowrap;
  text-decoration: none;
}

body > .edit-header #header .header-tools-right > li.header-register,
body > #header .header-tools-right > li.header-register {
  height: 74px;
  margin-left: 16px;
}

body > .edit-header #header .header-tools-right > li.header-register > a,
body > #header .header-tools-right > li.header-register > a {
  height: 74px;
  padding: 0 25px;
  color: #fff;
  line-height: 74px;
}

body > .edit-header #header .header-tools-right > li.header-shopping-cart,
body > #header .header-tools-right > li.header-shopping-cart {
  height: 18px;
  padding-left: 12px;
  border-left: 1px solid #dfe1e6;
  font-size: 0;
  line-height: 18px;
  white-space: nowrap;
}

body > .edit-header #header .header-tools-right > li.header-shopping-cart > a,
body > #header .header-tools-right > li.header-shopping-cart > a {
  display: inline-block;
  height: 18px;
  padding: 0;
  border: 0;
  line-height: 18px;
  vertical-align: top;
}

body > .edit-header #header .header-tools-right > li.header-shopping-cart img,
body > #header .header-tools-right > li.header-shopping-cart img {
  width: auto;
  max-width: none;
  height: 18px;
  vertical-align: top;
}

body > .edit-header #header .header-menu-mb,
body > #header .header-menu-mb {
  flex: 0 0 auto;
}

body > .edit-header #footer,
body > #footer {
  position: relative;
  z-index: 90;
}

body > .edit-header #footer .header-dropdown-product .dropdown-product-wrapper,
body > #footer .header-dropdown-product .dropdown-product-wrapper {
  display: block !important;
  grid-template-columns: none !important;
  width: min(1180px, calc(100vw - 72px)) !important;
  height: auto !important;
  min-height: 420px !important;
  max-height: min(72vh, 560px) !important;
  overflow: hidden !important;
}

body > .edit-header #footer .header-dropdown-product .dropdown-product-wrapper-right,
body > #footer .header-dropdown-product .dropdown-product-wrapper-right {
  width: 100% !important;
  min-width: 0 !important;
  padding: 24px 30px !important;
}

body > .edit-header #footer .header-dropdown-product .dropdown-product-content.show,
body > #footer .header-dropdown-product .dropdown-product-content.show {
  display: block !important;
  grid-template-columns: none !important;
}

body > .edit-header #footer .header-dropdown-product .dropdown-product-content-middle,
body > #footer .header-dropdown-product .dropdown-product-content-middle {
  width: 100% !important;
  min-width: 0 !important;
}

body > .edit-header #footer .header-dropdown-product .dropdown-product-content-middleb,
body > #footer .header-dropdown-product .dropdown-product-content-middleb {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  column-gap: 42px !important;
  row-gap: 24px !important;
  max-height: min(58vh, 430px) !important;
  padding-right: 10px !important;
  overflow: auto !important;
}

body > .edit-header #footer .header-dropdown-product .dropdown-product-module,
body > #footer .header-dropdown-product .dropdown-product-module {
  width: auto !important;
  min-width: 0 !important;
}

body > .edit-header #footer .header-dropdown-product .dropdown-product-module-wrapper,
body > #footer .header-dropdown-product .dropdown-product-module-wrapper {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
}

body > .edit-header #footer .header-dropdown-product .dropdown-product-item,
body > #footer .header-dropdown-product .dropdown-product-item {
  max-width: none !important;
  min-width: 0 !important;
  flex: none !important;
}

@media (max-width: 1180px) {
  body > .edit-header #footer .header-dropdown-product .dropdown-product-wrapper,
  body > #footer .header-dropdown-product .dropdown-product-wrapper {
    width: calc(100vw - 28px) !important;
  }

  body > .edit-header #footer .header-dropdown-product .dropdown-product-content-middleb,
  body > #footer .header-dropdown-product .dropdown-product-content-middleb {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 32px !important;
  }
}

/* The product menu is mounted inside #header on Cart pages. */
@media (min-width: 1024px) {
  #header .header-dropdown-product .dropdown-product-wrapper {
    width: min(1160px, calc(100vw - 56px)) !important;
    min-height: 0 !important;
    max-height: min(72vh, 500px) !important;
  }
  #header .header-dropdown-product .dropdown-product-wrapper-right { padding: 16px 20px 18px !important; }
  #header .header-dropdown-product .link-searcher { height: 38px !important; margin-bottom: 14px !important; }
  #header .header-dropdown-product .link-searcher-input { height: 36px !important; font-size: 13px !important; }
  #header .header-dropdown-product .dropdown-product-content-middleb {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    column-gap: 18px !important;
    row-gap: 14px !important;
    max-height: min(58vh, 390px) !important;
  }
  #header .header-dropdown-product .dropdown-product-module-title { min-height: 30px !important; padding: 0 0 5px 10px !important; font-size: 13px !important; line-height: 18px !important; }
  #header .header-dropdown-product .dropdown-product-module-wrapper { grid-template-columns: 1fr !important; gap: 2px !important; padding-top: 4px !important; }
  #header .header-dropdown-product .dropdown-product-item { min-height: 34px !important; padding: 7px 9px !important; border-radius: 4px !important; }
  #header .header-dropdown-product .dropdown-product-item-title { font-size: 12px !important; line-height: 17px !important; }
  #header .header-dropdown-product .dropdown-product-item-desc { font-size: 11px !important; line-height: 15px !important; }
}

@media (max-width: 720px) {
  body > .edit-header #footer .header-dropdown-product .dropdown-product-content-middleb,
  body > #footer .header-dropdown-product .dropdown-product-content-middleb {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 1023px) {
  body > .edit-header #header .header-bottom,
  body > #header .header-bottom {
    height: 110px;
    min-height: 110px;
    align-items: flex-start;
  }

  body > .edit-header #header .header-nav,
  body > #header .header-nav {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    height: 50px;
    margin: 0;
    padding: 0 3%;
  }

  body > .edit-header #header .header-nav-list,
  body > #header .header-nav-list,
  body > .edit-header #header .header-nav-list > li,
  body > #header .header-nav-list > li {
    height: 50px;
  }

  body > .edit-header #header .header-nav-list > li > a,
  body > #header .header-nav-list > li > a {
    height: 50px;
    line-height: 50px;
  }
}

@media (max-width: 768px) {
  body > .edit-header #header,
  body > #header {
    min-height: 58px;
  }

  body > .edit-header #header .header-bottom,
  body > #header .header-bottom {
    height: 58px;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
  }

  body > .edit-header #header .header-logo-outer,
  body > #header .header-logo-outer {
    flex: 0 1 auto;
    width: auto;
    max-width: calc(100% - 96px);
    height: 58px;
    display: flex;
    align-items: center;
  }

  body > .edit-header #header .header-logo-outer .header-logo,
  body > #header .header-logo-outer .header-logo {
    height: 32px;
    line-height: 32px;
  }

  body > .edit-header #header .header-logo-outer .header-logo img,
  body > #header .header-logo-outer .header-logo img {
    height: 32px;
    max-width: 168px;
  }

  body > .edit-header #header .header-nav,
  body > #header .header-nav,
  body > .edit-header #header .header-search,
  body > #header .header-search {
    display: none;
  }

  body > .edit-header #header .header-tools,
  body > #header .header-tools {
    height: 58px;
    min-width: 0;
    width: auto;
    flex: 0 0 auto;
    padding: 0;
    position: static;
  }

  body > .edit-header #header .header-tools-right,
  body > #header .header-tools-right {
    height: 100%;
    width: auto;
    margin: 0 44px 0 0;
    position: relative;
    z-index: 2;
  }

  body > .edit-header #header .header-tools-right > li,
  body > #header .header-tools-right > li {
    display: none !important;
  }

  body > .edit-header #header .header-tools-right > li.header-login-mobile,
  body > #header .header-tools-right > li.header-login-mobile,
  body > .edit-header.logined #header .header-tools-right > li.header-user,
  body.logined > #header .header-tools-right > li.header-user,
  body > .edit-header #header .header-tools-right > li.header-user,
  body > #header .header-tools-right > li.header-user {
    display: block !important;
  }

  body > .edit-header #header .header-tools-right > li.header-login-mobile,
  body > #header .header-tools-right > li.header-login-mobile {
    height: 24px;
    margin: 0;
    padding: 0 8px;
    line-height: 24px;
  }

  body > .edit-header #header .header-menu-mb,
  body > #header .header-menu-mb {
    display: inline-block !important;
    position: fixed !important;
    top: 0;
    right: 12px;
    z-index: 30010;
    width: 36px;
    height: 58px;
    padding: 23px 9px 15px !important;
    margin: 0;
    font-size: 0;
    line-height: 58px;
    text-align: center;
    cursor: pointer;
  }

  body > .edit-header #header .header-menu-mb span,
  body > #header .header-menu-mb span {
    display: block;
    width: 18px;
    height: 2px;
    margin-bottom: 3px;
    border-radius: 3px;
    background: #252b3a;
  }
}

/* Keep search, login and more controls on one optical baseline on phones. */
@media (max-width: 768px) {
  body > .edit-header #header .header-tools,
  body > #header .header-tools {
    display: flex !important;
    align-items: center !important;
    height: 58px !important;
  }

  body > .edit-header #header .header-tools-right,
  body > #header .header-tools-right {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 2px !important;
    height: 40px !important;
    margin: 0 42px 0 0 !important;
  }

  body > .edit-header #header .header-menu-search-mb,
  body > #header .header-menu-search-mb {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 40px !important;
    width: 40px !important;
    height: 40px !important;
    margin: 0 2px 0 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
  }

  body > .edit-header #header .header-menu-search-mb .header-icon-search,
  body > #header .header-menu-search-mb .header-icon-search {
    display: block !important;
    width: 16px !important;
    height: 16px !important;
    border: 2px solid #252b3a !important;
    border-radius: 50% !important;
    position: relative !important;
  }

  body > .edit-header #header .header-menu-search-mb .header-icon-search::after,
  body > #header .header-menu-search-mb .header-icon-search::after {
    content: "" !important;
    position: absolute !important;
    right: -5px !important;
    bottom: -3px !important;
    width: 7px !important;
    height: 2px !important;
    background: #252b3a !important;
    transform: rotate(45deg) !important;
  }

  body > .edit-header #header .header-tools-right > li.header-shopping-cart,
  body > #header .header-tools-right > li.header-shopping-cart,
  body > .edit-header #header .header-tools-right > li.header-login-mobile,
  body > #header .header-tools-right > li.header-login-mobile {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    line-height: 1 !important;
  }

  body > .edit-header #header .header-tools-right > li.header-shopping-cart > a,
  body > #header .header-tools-right > li.header-shopping-cart > a,
  body > .edit-header #header .header-tools-right > li.header-login-mobile > a,
  body > #header .header-tools-right > li.header-login-mobile > a {
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    line-height: 1 !important;
  }

  body > .edit-header #header .header-tools-right > li.header-shopping-cart .shopping-cart-text,
  body > #header .header-tools-right > li.header-shopping-cart .shopping-cart-text {
    display: none !important;
  }

  body > .edit-header #header .header-tools-right > li.header-shopping-cart .shopping-cart-icon img,
  body > #header .header-tools-right > li.header-shopping-cart .shopping-cart-icon img {
    width: 20px !important;
    height: 20px !important;
    object-fit: contain !important;
  }

  body > .edit-header #header .header-menu-mb,
  body > #header .header-menu-mb {
    top: 0 !important;
    right: 10px !important;
    width: 40px !important;
    height: 58px !important;
    padding: 20px 10px 16px !important;
    display: inline-flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 3px !important;
    line-height: 1 !important;
  }

  body > .edit-header #header .header-menu-mb span,
  body > #header .header-menu-mb span {
    width: 18px !important;
    height: 2px !important;
    margin: 0 !important;
  }
}

body > .zdyhome {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
}

body > .zdyhome + #header,
body > .zdyhome + .edit-header #header {
  margin-top: 0 !important;
  top: 0 !important;
}

body > .zdyhome .index_zs_banner,
body > .zdyhome .index_zs_banner a,
body > .zdyhome .index_zs_banner img {
  display: block;
  margin: 0 !important;
  padding: 0 !important;
}

/* Match cart header geometry to the public web header, 20260817. */
body > .edit-header,
body > #header,
body > .edit-header #header {
  top: 0 !important;
  margin-top: 0 !important;
}

body > .edit-header #header .header-bottom,
body > #header .header-bottom {
  height: 75px !important;
  min-height: 75px !important;
  justify-content: space-between !important;
  padding: 0 0 0 3% !important;
}

body > .edit-header #header .header-logo-outer,
body > #header .header-logo-outer {
  flex: 0 0 auto !important;
  width: auto !important;
  margin: 0 !important;
}

body > .edit-header #header .header-logo-outer .header-logo,
body > #header .header-logo-outer .header-logo {
  display: inline-flex !important;
  align-items: center !important;
}

body > .edit-header #header .header-logo-outer .header-logo img,
body > #header .header-logo-outer .header-logo img {
  max-width: 190px !important;
  max-height: 45px !important;
}

body > .edit-header #header .header-nav,
body > #header .header-nav {
  flex: 1 1 auto !important;
  justify-content: flex-start !important;
  left: 0 !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 60px !important;
}

body > .edit-header #header .header-nav-scroll,
body > #header .header-nav-scroll {
  width: auto !important;
  max-width: none !important;
  justify-content: flex-start !important;
}

body > .edit-header #header .header-tools,
body > #header .header-tools {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 300px !important;
}

@media (max-width: 1023px) {
  body > .edit-header #header .header-bottom,
  body > #header .header-bottom {
    height: 110px !important;
    min-height: 110px !important;
    align-items: flex-start !important;
  }

  body > .edit-header #header .header-nav,
  body > #header .header-nav {
    top: 60px !important;
    width: 100% !important;
    height: 50px !important;
    padding: 0 3% !important;
  }
}

@media (max-width: 768px) {
  body > .edit-header #header .header-bottom,
  body > #header .header-bottom {
    height: 58px !important;
    min-height: 58px !important;
    align-items: center !important;
    padding: 0 16px !important;
  }

  body > .edit-header #header .header-logo-outer .header-logo img,
  body > #header .header-logo-outer .header-logo img {
    max-width: 168px !important;
    max-height: 32px !important;
  }

  body > .edit-header #header .header-tools,
  body > #header .header-tools {
    min-width: 0 !important;
  }
}

/* Mobile cart header actions: search, account, menu. */
@media (max-width: 768px) {
  body > .edit-header #header .header-tools,
  body > #header .header-tools {
    position: absolute !important;
    top: 0 !important;
    right: 52px !important;
    display: flex !important;
    width: 80px !important;
    min-width: 80px !important;
    height: 58px !important;
    gap: 0 !important;
  }

  body > .edit-header #header .header-tools-right,
  body > #header .header-tools-right {
    display: flex !important;
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    gap: 0 !important;
  }

  body > .edit-header #header .header-tools-right > li.header-shopping-cart,
  body > #header .header-tools-right > li.header-shopping-cart {
    display: none !important;
  }

  body > .edit-header #header .header-tools-right > li.header-user,
  body > #header .header-tools-right > li.header-user {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    cursor: pointer !important;
  }

  body > .edit-header #header .header-user .header-user-avator,
  body > #header .header-user .header-user-avator {
    display: block !important;
    float: none !important;
    width: 28px !important;
    height: 28px !important;
    margin: 0 !important;
    border: 1px solid #d8dee9 !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    background: #f4f6f9 !important;
  }

  body > .edit-header #header .header-user .header-user-name,
  body > #header .header-user .header-user-name {
    display: none !important;
  }

  body > .edit-header #header .header-user .header-user-info,
  body > #header .header-user .header-user-info {
    position: fixed !important;
    top: 56px !important;
    right: 8px !important;
    left: auto !important;
    width: min(300px, calc(100vw - 16px)) !important;
    max-height: calc(100vh - 68px) !important;
    overflow-y: auto !important;
    padding: 8px 0 !important;
    border: 1px solid #e5e9f0 !important;
    border-radius: 6px !important;
    background: #fff !important;
    box-shadow: 0 12px 32px rgba(22, 34, 51, 0.18) !important;
    z-index: 40000 !important;
  }

  body > .edit-header #header .header-user.header-user-info-show .header-user-info,
  body > #header .header-user.header-user-info-show .header-user-info,
  body > .edit-header #header .header-user.show .header-user-info,
  body > #header .header-user.show .header-user-info {
    display: block !important;
  }

  body > .edit-header #header .header-user-info-list,
  body > #header .header-user-info-list {
    margin: 0 !important;
    padding: 0 !important;
    color: #263244 !important;
  }

  body > .edit-header #header .header-user-info-list a,
  body > #header .header-user-info-list a {
    color: #263244 !important;
  }
}

/* Final mobile cart actions and account panel, 20260820. */
.cl-cart-account-mobile-head,
.cl-cart-account-stat em {
  display: none;
}

.cl-cart-account-stat em {
  font-style: normal;
}

@media (max-width: 768px) {
  body > .edit-header #header .header-logo-outer,
  body > #header .header-logo-outer {
    display: none !important;
  }

  body > .edit-header #header .header-tools,
  body > #header .header-tools {
    position: absolute !important;
    top: 9px !important;
    right: 58px !important;
    display: flex !important;
    align-items: center !important;
    width: 80px !important;
    min-width: 80px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    z-index: 30011 !important;
  }

  body > .edit-header #header .header-menu-search-mb,
  body > #header .header-menu-search-mb,
  body > .edit-header #header .header-tools-right,
  body > #header .header-tools-right,
  body > .edit-header #header .header-tools-right > li.header-user,
  body > #header .header-tools-right > li.header-user,
  body > .edit-header #header .header-menu-mb,
  body > #header .header-menu-mb {
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  body > .edit-header #header .header-menu-search-mb,
  body > #header .header-menu-search-mb,
  body > .edit-header #header .header-tools-right,
  body > #header .header-tools-right,
  body > .edit-header #header .header-tools-right > li.header-user,
  body > #header .header-tools-right > li.header-user {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 40px !important;
    gap: 0 !important;
    border: 0 !important;
    line-height: 1 !important;
  }

  body > .edit-header #header .header-menu-search-mb,
  body > #header .header-menu-search-mb {
    cursor: pointer !important;
  }

  body > .edit-header #header .header-tools-right,
  body > #header .header-tools-right {
    list-style: none !important;
  }

  body > .edit-header #header .header-tools-right > li.header-shopping-cart,
  body > #header .header-tools-right > li.header-shopping-cart,
  body > .edit-header #header .header-shopping-cart,
  body > #header .header-shopping-cart {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    position: absolute !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
  }

  body > .edit-header #header .header-user .header-user-avator,
  body > #header .header-user .header-user-avator {
    display: block !important;
    float: none !important;
    width: 30px !important;
    height: 30px !important;
    margin: 0 !important;
    border: 1px solid #d8dee9 !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    background: #f4f6f9 !important;
    cursor: pointer !important;
  }

  body > .edit-header #header .header-user .header-user-avator img,
  body > #header .header-user .header-user-avator img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  body > .edit-header #header .header-user .header-user-name,
  body > #header .header-user .header-user-name {
    display: none !important;
  }

  body > .edit-header #header .header-menu-mb,
  body > #header .header-menu-mb {
    position: fixed !important;
    top: 9px !important;
    right: 10px !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    line-height: 1 !important;
    z-index: 30012 !important;
  }

  body > .edit-header #header .header-menu-mb span,
  body > #header .header-menu-mb span {
    width: 18px !important;
    height: 2px !important;
    margin: 0 !important;
  }

  body > .edit-header #header .header-user .header-user-info,
  body > #header .header-user .header-user-info {
    position: fixed !important;
    top: 64px !important;
    right: 8px !important;
    left: auto !important;
    width: min(340px, calc(100vw - 16px)) !important;
    max-height: calc(100vh - 76px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #dfe5ee !important;
    border-radius: 6px !important;
    background: #fff !important;
    box-shadow: 0 16px 40px rgba(22, 34, 51, 0.2) !important;
    cursor: default !important;
    z-index: 40000 !important;
  }

  body > .edit-header #header .header-user.header-user-info-show .header-user-info,
  body > #header .header-user.header-user-info-show .header-user-info,
  body > .edit-header #header .header-user.show .header-user-info,
  body > #header .header-user.show .header-user-info {
    display: block !important;
  }

  body > .edit-header #header .cl-cart-account-mobile-head,
  body > #header .cl-cart-account-mobile-head {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    min-height: 72px !important;
    padding: 14px 14px 12px !important;
    border-bottom: 1px solid #edf0f4 !important;
    background: #f8fafc !important;
  }

  body > .edit-header #header .cl-cart-account-mobile-head > img,
  body > #header .cl-cart-account-mobile-head > img {
    flex: 0 0 44px !important;
    width: 44px !important;
    height: 44px !important;
    border: 1px solid #dfe5ee !important;
    border-radius: 50% !important;
    background: #fff !important;
    object-fit: cover !important;
  }

  body > .edit-header #header .cl-cart-account-mobile-identity,
  body > #header .cl-cart-account-mobile-identity {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  body > .edit-header #header .cl-cart-account-mobile-identity strong,
  body > #header .cl-cart-account-mobile-identity strong {
    display: block !important;
    overflow: hidden !important;
    color: #172033 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 22px !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body > .edit-header #header .cl-cart-account-mobile-identity a,
  body > #header .cl-cart-account-mobile-identity a {
    display: inline-block !important;
    margin-top: 3px !important;
    color: #087443 !important;
    font-size: 12px !important;
    line-height: 18px !important;
  }

  body > .edit-header #header .cl-cart-account-close,
  body > #header .cl-cart-account-close {
    flex: 0 0 32px !important;
    width: 32px !important;
    height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #526071 !important;
    font-size: 25px !important;
    font-weight: 300 !important;
    line-height: 30px !important;
    text-align: center !important;
    cursor: pointer !important;
  }

  body > .edit-header #header .header-user-info-list,
  body > #header .header-user-info-list {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 10px 12px 12px !important;
    color: #263244 !important;
    list-style: none !important;
  }

  body > .edit-header #header .header-user-info-list > li,
  body > #header .header-user-info-list > li {
    float: none !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }

  body > .edit-header #header .header-user-info-list > .header-user-info-item-account,
  body > #header .header-user-info-list > .header-user-info-item-account,
  body > .edit-header #header .header-user-info-list > .header-user-info-split,
  body > #header .header-user-info-list > .header-user-info-split {
    display: none !important;
  }

  body > .edit-header #header .cl-cart-account-balance,
  body > #header .cl-cart-account-balance {
    grid-column: 1 / -1 !important;
    padding: 0 2px 10px !important;
  }

  body > .edit-header #header .cl-cart-account-balance > a,
  body > #header .cl-cart-account-balance > a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 44px !important;
    padding: 0 12px !important;
    border: 1px solid #e6ebf2 !important;
    border-radius: 5px !important;
    background: #f7f9fc !important;
    color: #263244 !important;
    font-size: 13px !important;
    text-decoration: none !important;
  }

  body > .edit-header #header .cl-cart-account-balance .yue,
  body > #header .cl-cart-account-balance .yue {
    color: #172033 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
  }

  body > .edit-header #header .cl-cart-account-stat,
  body > #header .cl-cart-account-stat {
    grid-column: span 2 !important;
    padding: 2px !important;
  }

  body > .edit-header #header .cl-cart-account-stat > a,
  body > #header .cl-cart-account-stat > a {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 68px !important;
    padding: 8px 4px !important;
    border: 1px solid #edf0f4 !important;
    border-radius: 5px !important;
    background: #fff !important;
    color: #526071 !important;
    text-align: center !important;
    text-decoration: none !important;
  }

  body > .edit-header #header .cl-cart-account-stat b,
  body > #header .cl-cart-account-stat b {
    display: none !important;
  }

  body > .edit-header #header .cl-cart-account-stat span,
  body > #header .cl-cart-account-stat span {
    position: static !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 0 3px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #1967d2 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 22px !important;
  }

  body > .edit-header #header .cl-cart-account-stat em,
  body > #header .cl-cart-account-stat em {
    display: block !important;
    color: #667085 !important;
    font-size: 12px !important;
    line-height: 18px !important;
    white-space: nowrap !important;
  }

  body > .edit-header #header .cl-cart-account-link,
  body > #header .cl-cart-account-link {
    grid-column: span 3 !important;
    padding: 8px 2px 0 !important;
  }

  body > .edit-header #header .cl-cart-account-link > a,
  body > #header .cl-cart-account-link > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    padding: 0 8px !important;
    border: 1px solid #e6ebf2 !important;
    border-radius: 5px !important;
    color: #344054 !important;
    font-size: 13px !important;
    text-decoration: none !important;
  }

  body > .edit-header #header .cl-cart-account-link-wide,
  body > #header .cl-cart-account-link-wide {
    grid-column: 1 / -1 !important;
  }

  body > .edit-header #header .header-user-info-list > .logout,
  body > #header .header-user-info-list > .logout {
    grid-column: 1 / -1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-top: 10px !important;
    padding: 10px 4px 0 !important;
    border-top: 1px solid #edf0f4 !important;
  }

  body > .edit-header #header .header-user-info-list > .logout .bottom-username,
  body > #header .header-user-info-list > .logout .bottom-username {
    min-width: 0 !important;
    overflow: hidden !important;
    color: #526071 !important;
    font-size: 12px !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body > .edit-header #header .header-user-info-list > .logout .logout-btn,
  body > #header .header-user-info-list > .logout .logout-btn {
    flex: 0 0 auto !important;
    margin-left: 12px !important;
    color: #c43232 !important;
    font-size: 13px !important;
    text-decoration: none !important;
  }

  body > .edit-header #header .header-user-info-list a,
  body > #header .header-user-info-list a {
    box-sizing: border-box !important;
  }
}

/* Cart footer mirrors the login footer without reusing the header dropdown's #footer id. */
.footer.cl-auth-footer {
  display: block !important;
  position: static !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 18px 20px !important;
  background: #f5f8fc !important;
  color: #667085 !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  box-sizing: border-box !important;
}

.footer.cl-auth-footer .widthLimit,
.footer.cl-auth-footer .footer-content {
  width: min(1180px, 100%) !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.footer.cl-auth-footer .footer-content {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
  font-size: 12px !important;
  line-height: 1.8 !important;
}

.footer.cl-auth-footer a {
  color: #667085 !important;
  text-decoration: none !important;
}

.footer.cl-auth-footer .copyrightDiv,
.footer.cl-auth-footer .cl-auth-records,
.footer.cl-auth-footer #laws {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  margin: 0 !important;
}

.footer.cl-auth-footer .otherLinkDiv,
.footer.cl-auth-footer #laws > span {
  margin: 0 !important;
}

.footer.cl-auth-footer #laws > span {
  display: inline-flex !important;
}

@media (max-width: 768px) {
  .footer.cl-auth-footer .footer-content,
  .footer.cl-auth-footer .copyrightDiv,
  .footer.cl-auth-footer .cl-auth-records,
  .footer.cl-auth-footer #laws {
    justify-content: center !important;
    text-align: center !important;
  }
}

/* Compact enterprise product menu for desktop Cart pages. */
@media (min-width: 1024px) {
  body > .edit-header #footer .header-dropdown-product .dropdown-product-wrapper,
  body > #footer .header-dropdown-product .dropdown-product-wrapper {
    width: min(1160px, calc(100vw - 56px)) !important;
    min-height: 0 !important;
    max-height: min(72vh, 500px) !important;
    border: 1px solid #e6ebf2 !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 18px 44px rgba(16, 24, 40, .14) !important;
  }

  body > .edit-header #footer .header-dropdown-product .dropdown-product-wrapper-right,
  body > #footer .header-dropdown-product .dropdown-product-wrapper-right {
    padding: 16px 20px 18px !important;
  }

  body > .edit-header #footer .header-dropdown-product .link-searcher,
  body > #footer .header-dropdown-product .link-searcher {
    height: 38px !important;
    margin: 0 0 14px !important;
    border: 1px solid #dfe5ee !important;
    border-radius: 5px !important;
    background: #f8fafc !important;
  }

  body > .edit-header #footer .header-dropdown-product .link-searcher-input,
  body > #footer .header-dropdown-product .link-searcher-input {
    height: 36px !important;
    padding: 0 42px 0 12px !important;
    font-size: 13px !important;
  }

  body > .edit-header #footer .header-dropdown-product .dropdown-product-content-middleb,
  body > #footer .header-dropdown-product .dropdown-product-content-middleb {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    column-gap: 18px !important;
    row-gap: 14px !important;
    max-height: min(58vh, 390px) !important;
    padding: 0 4px 2px 0 !important;
  }

  body > .edit-header #footer .header-dropdown-product .dropdown-product-module,
  body > #footer .header-dropdown-product .dropdown-product-module {
    padding: 0 !important;
  }

  body > .edit-header #footer .header-dropdown-product .dropdown-product-module-title,
  body > #footer .header-dropdown-product .dropdown-product-module-title {
    display: flex !important;
    align-items: center !important;
    min-height: 30px !important;
    padding: 0 0 5px 10px !important;
    color: #172033 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 18px !important;
    border-bottom: 1px solid #edf0f4 !important;
  }

  body > .edit-header #footer .header-dropdown-product .dropdown-product-module-wrapper,
  body > #footer .header-dropdown-product .dropdown-product-module-wrapper {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 2px !important;
    padding-top: 4px !important;
  }

  body > .edit-header #footer .header-dropdown-product .dropdown-product-item,
  body > #footer .header-dropdown-product .dropdown-product-item {
    display: block !important;
    min-height: 34px !important;
    padding: 7px 9px !important;
    border-radius: 4px !important;
    color: #344054 !important;
    background: transparent !important;
    transition: background-color .16s ease, color .16s ease !important;
  }

  body > .edit-header #footer .header-dropdown-product .dropdown-product-item:hover,
  body > #footer .header-dropdown-product .dropdown-product-item:hover {
    background: #f2f6fb !important;
    color: #155eef !important;
  }

  body > .edit-header #footer .header-dropdown-product .dropdown-product-item-title,
  body > #footer .header-dropdown-product .dropdown-product-item-title {
    overflow: hidden !important;
    margin: 0 !important;
    color: inherit !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 17px !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body > .edit-header #footer .header-dropdown-product .dropdown-product-item-desc,
  body > #footer .header-dropdown-product .dropdown-product-item-desc {
    overflow: hidden !important;
    margin: 1px 0 0 !important;
    color: #98a2b3 !important;
    font-size: 11px !important;
    line-height: 15px !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
}

/* 20260820-1330: use the desktop search glyph on the mobile cart header. */
@media (max-width: 768px) {
  body > .edit-header #header .header-menu-search-mb .header-icon-search,
  body > #header .header-menu-search-mb .header-icon-search {
    display: block !important;
    position: static !important;
    width: 18px !important;
    height: 18px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzI1MkIzQSIgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBkPSJNOC44NzQgMTcuNzQ5QzMuOTgxIDE3Ljc0OSAwIDEzLjc2OCAwIDguODc0IDAgMy45ODEgMy45OCAwIDguODc0IDBzOC44NzUgMy45OCA4Ljg3NSA4Ljg3NGMwIDQuODk1LTMuOTgxIDguODc1LTguODc1IDguODc1em0wLTE2LjMxYy00LjEgMC03LjQzNiAzLjMzNi03LjQzNiA3LjQzNnMzLjMzNiA3LjQzNiA3LjQzNiA3LjQzNiA3LjQzNi0zLjMzNiA3LjQzNi03LjQzNi0zLjMzNS03LjQzNi03LjQzNi03LjQzNnoiLz48cGF0aCBkPSJNMTkuMTMzIDE5Ljg1MmEuNzE4LjcxOCAwIDAxLS41MS0uMjFsLTQuNDEzLTQuNDE0YS43Mi43MiAwIDAxMS4wMi0xLjAxN2w0LjQxMyA0LjQxNGEuNzIuNzIgMCAwMS0uNTEgMS4yMjd6Ii8+PC9nPjwvc3ZnPg==) center / 18px 18px no-repeat !important;
  }

  body > .edit-header #header .header-menu-search-mb .header-icon-search::after,
  body > #header .header-menu-search-mb .header-icon-search::after {
    content: none !important;
    display: none !important;
  }
}

/* 20260820-1502: mobile configure title strip meets the compact 58px header. */
@media (max-width: 768px) {
  body > .edit-header {
    min-height: 58px !important;
    height: 58px !important;
  }
  body > .edit-header #header,
  body > .edit-header #header .header-bottom {
    min-height: 58px !important;
    height: 58px !important;
  }
}
