/* Final visual QA layer. Presentation only; no business selectors or APIs. */

html body .navCon .textPic .icon img,
html body .navCon .textPic img,
html body .login .header .icon img,
html body .qqsc-auth-brand__logo {
  background: transparent !important;
  content: url('/h5/static/brand/77select-auth-lockup-v6.svg?v=202611191220') !important;
  object-fit: contain !important;
}

/* The legacy PC shell can repaint its img src after the stylesheet loads.
   Make the approved lockup authoritative at the header slot itself so a
   refresh cannot bring back the old underline/marker artwork. */
html body .navCon .textPic .icon {
  background: url('/static/77select-pc-lockup-v7.svg?v=202611191410') left center / 205px 58px no-repeat !important;
}

html body .navCon .textPic .icon img,
html body .navCon .textPic img {
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Match the legacy homepage :has(...) specificity that otherwise wins over
   the generic header rule after a refresh. */
html body:has(.qqsc-brand-intro) .navCon .textPic,
html body:has(.qqsc-brand-intro) .navCon .textPic .icon {
  background: url('/static/77select-pc-lockup-v7.svg?v=202611191410') left center / 205px 58px no-repeat !important;
}

html body:has(.qqsc-brand-intro) .navCon .textPic .icon img,
html body:has(.qqsc-brand-intro) .navCon .textPic img {
  background: transparent !important;
  content: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Use the same compact lockup on public PC login headers. */
html body .login .header .icon {
  background: url('/static/77select-pc-lockup-v7.svg?v=202611191410') left center / 205px 58px no-repeat !important;
  height: 68px !important;
  width: 220px !important;
}

html body .login .header .icon img {
  content: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

@media screen and (max-width: 1100px) and (min-width: 768px) {
  html body:has(.qqsc-brand-intro) .navCon .textPic,
  html body:has(.qqsc-brand-intro) .navCon .textPic .icon {
    background-size: 180px 51px !important;
    width: 190px !important;
  }
}

html body .navCon .textPic,
html body .navCon .textPic .icon,
html body .navCon .textPic .icon img,
html body .navCon .textPic img {
  max-width: 190px !important;
  width: 190px !important;
  height: 56px !important;
  max-height: 56px !important;
}

html body #app .layout-navbars-breadcrumb-index::before {
  background: url('/h5/static/brand/77select-auth-lockup-v6.svg?v=202611191220') center / contain no-repeat !important;
  flex: 0 0 108px !important;
  height: 52px !important;
  min-width: 108px !important;
  width: 108px !important;
}

html body:has(.page-account) .index_bg,
html body:has(.page-account) .page-account {
  background: linear-gradient(135deg, #eefafd 0%, #f8fbfd 56%, #edf8f8 100%) !important;
  opacity: 1 !important;
}

html body:has(.page-account) .page-account-container {
  background: rgba(255, 255, 255, .94) !important;
  border: 1px solid #d9edf3 !important;
  border-radius: 16px !important;
  box-shadow: 0 18px 48px rgba(40, 119, 189, .12) !important;
}

html body:has(.page-account) .page-account-top {
  height: auto !important;
  padding: 40px 0 24px !important;
}

html body:has(.page-account) .page-account-top-logo,
html body:has(.page-account) .page-account-top-logo img,
html body:has(.page-account) #app img[alt='logo'],
html body:has(.page-account) #app img[src*='77-select-horizontal'],
html body:has(.page-account) #app img[src*='77select-horizontal'] {
  background: transparent !important;
  content: url('/h5/static/brand/77select-auth-lockup-v6.svg?v=202611191220') !important;
  height: 76px !important;
  max-height: 76px !important;
  max-width: 260px !important;
  object-fit: contain !important;
  width: 260px !important;
}

html body:has(.page-account) .page-account .login-form .el-input__inner {
  background: #f7fbfd !important;
  border: 1px solid #d9edf3 !important;
  border-radius: 9px !important;
  color: #174a73 !important;
}

html body:has(.page-account) .page-account .login-form .el-button {
  background: linear-gradient(120deg, #42b7c1 0%, #2877bd 100%) !important;
  border-color: transparent !important;
  border-radius: 9px !important;
  color: #fff !important;
}

@media screen and (max-width: 900px) {
  html body .navCon .textPic,
  html body .navCon .textPic .icon,
  html body .navCon .textPic .icon img,
  html body .navCon .textPic img {
    max-width: 108px !important;
    width: 108px !important;
    height: 46px !important;
    max-height: 46px !important;
  }
}

@media screen and (max-width: 430px) {
  html body .navCon .textPic,
  html body .navCon .textPic .icon,
  html body .navCon .textPic .icon img,
  html body .navCon .textPic img {
    max-width: 92px !important;
    width: 92px !important;
  }
}

/* Mobile storefront navigation: retain the existing links without exposing
   the legacy horizontal scrollbar from the old fixed-width list. */
@media screen and (max-width: 767px) {
  html body .categoryMain,
  html body .categoryMain .list {
    box-sizing: border-box !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
    scrollbar-width: none !important;
    width: 100% !important;
  }

  html body .categoryMain::-webkit-scrollbar,
  html body .categoryMain .list::-webkit-scrollbar {
    display: none !important;
    height: 0 !important;
    width: 0 !important;
  }

  html body .categoryMain .list {
    display: flex !important;
  }

  html body .nav .categoryMain .list > * {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-align: center !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
}
