/* 77 SELECT V4 brand layer. Display-only overrides. */
:root {
  --qqsc-v4-blue: #2877bd;
  --qqsc-v4-cyan: #42b7c1;
  --qqsc-v4-blue-soft: #edf8fc;
  --qqsc-v4-line: #d9edf3;
  --qqsc-v4-ink: #174a73;
  --qqsc-v4-muted: #718795;
  --qqsc-v4-price: #ef8d55;
  --qqsc-v4-gradient: linear-gradient(120deg, #42b7c1 0%, #2877bd 100%);
}

html,
body {
  background: #f7fbfd !important;
  color: var(--qqsc-v4-ink);
  max-width: 100% !important;
  min-width: 0 !important;
}

html body {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* PC storefront header and all pages that reuse its shell. */
.navCon .textPic,
.navCon .textPic .icon {
  align-items: center !important;
  display: flex !important;
  height: 78px !important;
  justify-content: flex-start !important;
  width: 190px !important;
}

.navCon .textPic .icon img,
.navCon .textPic img {
  content: url('/static/77select-v7-lockup.svg?v=202611191200') !important;
  height: 56px !important;
  max-height: 56px !important;
  object-fit: contain !important;
  object-position: left center !important;
  width: 190px !important;
}

/* Older staged storefront sheets load after this file. The extra scope keeps
   the selected transparent lockup authoritative without changing layout code. */
html body .navCon .textPic .icon img,
html body .navCon .textPic img {
  content: url('/static/77select-v7-lockup.svg?v=202611191200') !important;
  height: 56px !important;
  max-height: 56px !important;
  max-width: 190px !important;
  object-fit: contain !important;
  object-position: left center !important;
  width: 190px !important;
}

html body .navCon .textPic,
html body .navCon .textPic .icon {
  height: 78px !important;
  width: 190px !important;
}

.navCon .search .bnt,
.navCon .search button,
.navCon .search .search-btn {
  background: var(--qqsc-v4-gradient) !important;
  border-color: transparent !important;
}

.nav,
.nav .navCon,
.headerss,
.headerss .headerCon,
.footer,
.footerCon {
  background: #fff !important;
  border-color: var(--qqsc-v4-line) !important;
}

.nav a:hover,
.nav .active,
.headerss a:hover,
.headerss .font-color,
.font-color,
.color-blue,
.color-primary,
.text-primary {
  color: var(--qqsc-v4-blue) !important;
}

.color-red,
.price,
.price * {
  color: var(--qqsc-v4-price) !important;
}

button[type='submit'],
.btn-primary,
.button-primary,
.el-button--primary,
.login button,
.register button {
  background: var(--qqsc-v4-gradient) !important;
  border-color: transparent !important;
  box-shadow: 0 8px 18px rgba(40, 119, 189, .16) !important;
}

.qqsc-brand-intro,
.qqsc-brand-intro--hero {
  background: var(--qqsc-v4-gradient) !important;
  box-shadow: 0 16px 32px rgba(40, 119, 189, .15) !important;
}

.qqsc-role-card:first-child,
.qqsc-role-card:hover,
.qqsc-category-mega-group:hover > .qqsc-category-mega-group__link,
.qqsc-category-mega-child:hover > .qqsc-category-mega-child__link,
.qqsc-category-mega-leaf:hover {
  background: var(--qqsc-v4-blue-soft) !important;
  color: var(--qqsc-v4-blue) !important;
}

.qqsc-category-mega-menu,
.qqsc-category-mega-detail {
  border-color: var(--qqsc-v4-line) !important;
  border-top-color: var(--qqsc-v4-cyan) !important;
}

/* Login/register surfaces: bright and consistent with the V4 mark. */
.login,
.register,
.page-account,
.page-account .container,
.register_main {
  background: #f7fbfd !important;
}

.login .header .icon img,
.page-account-top-logo img,
.qqsc-auth-brand__logo {
  content: url('/static/77select-v7-lockup.svg?v=202611191200') !important;
  object-fit: contain !important;
}

.login .header .icon img {
  height: 56px !important;
  max-height: 56px !important;
  width: 190px !important;
}

.login .header .icon {
  width: 190px !important;
  height: 56px !important;
  display: flex !important;
  align-items: center !important;
  background: url('/static/77select-v7-lockup.svg?v=202611191200') center / contain no-repeat !important;
}

.login .header .icon img {
  opacity: 0 !important;
}

.login .header .name {
  display: none !important;
}

.page-account-top-logo img,
.qqsc-auth-brand__logo {
  height: auto !important;
  max-height: 56px !important;
  width: 190px !important;
}

.page-account-container,
.register .whiteBg {
  background: #fff !important;
  border: 1px solid var(--qqsc-v4-line) !important;
  box-shadow: 0 18px 48px rgba(40, 119, 189, .09) !important;
}

/* The legacy storefront login dialog has its own pseudo-element logo. Keep
   the cart login surface on the same transparent lockup as the auth pages. */
.login-count .wrapper-count::before {
  width: 260px !important;
  height: 56px !important;
  background-image: url('/static/77select-v7-lockup.svg?v=202611191200') !important;
  background-position: center !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
}

.login input:focus,
.register input:focus,
.el-input__inner:focus {
  border-color: var(--qqsc-v4-cyan) !important;
  box-shadow: 0 0 0 3px rgba(66, 183, 193, .14) !important;
}

/* Console and merchant app: keep their dense work layout. */
#app .layout-navbars-breadcrumb-index::before {
  background: url('/static/77select-v7-square.svg?v=202611191200') center / contain no-repeat !important;
  flex-basis: 68px !important;
  height: 60px !important;
  min-width: 68px !important;
}

#app img[alt='logo'],
#app img[src*='77-select-horizontal'],
#app img[src*='77select-horizontal'] {
  content: url('/static/77select-v7-square.svg?v=202611191200') !important;
  height: 84px !important;
  max-height: 84px !important;
  object-fit: contain !important;
  width: 84px !important;
}

/* Match the legacy merchant login selector specificity so its old lockup
   cannot win after the V4 stylesheet is loaded. */
body:has(.index_bg) #app img[alt='logo'],
body:has(.page-account) #app img[alt='logo'] {
  content: url('/static/77select-v7-square.svg?v=202611191200') !important;
  height: 84px !important;
  max-height: 84px !important;
  max-width: 84px !important;
  object-fit: contain !important;
  width: 84px !important;
}

/* Compiled console/merchant shells render the platform mark from these
   merchant cookie classes. Store logos and user avatars stay untouched. */
#app .layout-logo-medium-img,
#app .layout-logo-size-img {
  content: url('/static/77select-v7-square.svg?v=202611191200') !important;
  object-fit: contain !important;
}

#app .layout-logo-medium-img,
#app .layout-logo-size-img {
  height: 44px !important;
  max-height: 44px !important;
  width: 44px !important;
}

/* Storefront header: use the same V4 mark as a transparent lockup so the
   white page header does not make the logo look like a pasted card. */
body:has(.qqsc-brand-intro) .navCon .textPic .icon img,
body:has(.qqsc-brand-intro) .navCon .textPic img {
  content: url('/static/77select-v7-lockup.svg?v=202611191200') !important;
  filter: none !important;
  height: 56px !important;
  max-height: 56px !important;
  object-fit: contain !important;
  object-position: left center !important;
  width: 190px !important;
}

body:has(.qqsc-brand-intro) .navCon .textPic,
body:has(.qqsc-brand-intro) .navCon .textPic .icon {
  height: 78px !important;
  width: 190px !important;
}

#app .el-menu-item.is-active,
#app .el-submenu.is-active > .el-submenu__title,
#app .el-tabs__item.is-active,
#app .el-link--primary {
  color: var(--qqsc-v4-blue) !important;
}

#app .el-button--primary,
#app .el-button--primary:focus,
#app .el-button--primary:hover {
  background: var(--qqsc-v4-gradient) !important;
  border-color: transparent !important;
}

@media screen and (max-width: 767px) {
  .navCon .textPic,
  .navCon .textPic .icon {
    height: 62px !important;
    max-width: 156px !important;
    width: 156px !important;
  }

  .navCon .textPic .icon img,
  .navCon .textPic img {
    content: url('/static/77select-v7-lockup.svg?v=202611191200') !important;
    height: 46px !important;
    max-height: 46px !important;
    width: 156px !important;
  }

  html body .navCon .textPic .icon img,
  html body .navCon .textPic img {
    content: url('/static/77select-v7-lockup.svg?v=202611191200') !important;
    height: 46px !important;
    max-height: 46px !important;
    max-width: 156px !important;
    width: 156px !important;
  }

  html body .navCon .textPic,
  html body .navCon .textPic .icon {
    height: 62px !important;
    max-width: 156px !important;
    width: 156px !important;
  }

  #app .layout-navbars-breadcrumb-index::before {
    flex-basis: 56px !important;
    height: 52px !important;
    min-width: 56px !important;
  }

  #app img[alt='logo'],
  #app img[src*='77-select-horizontal'],
  #app img[src*='77select-horizontal'] {
    height: 68px !important;
    max-height: 68px !important;
    width: 68px !important;
  }

  #app .layout-logo-medium-img,
  #app .layout-logo-size-img {
    height: 44px !important;
    max-height: 44px !important;
    width: 44px !important;
  }

  .login .header .icon img {
    height: 46px !important;
    max-height: 46px !important;
    width: 156px !important;
  }

  .login .header .icon {
    width: 156px !important;
    height: 46px !important;
  }

  /* On narrow screens the retail menu becomes one column. Do not retain the
     desktop rail width or allow a hidden horizontal scrollbar to clip leaves. */
  html body .qqsc-category-mega-menu,
  html body .qqsc-category-mega-menu__body,
  html body .qqsc-category-mega-detail,
  html body .qqsc-category-mega-child,
  html body .qqsc-category-mega-leaves {
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

  html body .qqsc-category-mega-menu__body {
    width: 100% !important;
  }

  html body .qqsc-category-mega-group,
  html body .qqsc-category-mega-detail {
    width: 100% !important;
  }

  html body .qqsc-category-mega-child {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
  }

  html body .qqsc-category-mega-child__link,
  html body .qqsc-category-mega-leaf {
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
  }
}

/* Category menu: replace the legacy dark hover state with the light retail
   hierarchy used by the storefront. Data, links and navigation behavior stay
   unchanged; these rules only control the visible states. */
html body .navCon .categoryBtn,
html body .navCon .categoryBtn:hover,
html body .navCon .categoryBtn:focus,
html body .categoryMain .list > *:first-child,
html body .categoryMain .list > *:first-child:hover,
html body .categoryMain .list > *:first-child:focus {
  background: #56c7b6 !important;
  border-color: #56c7b6 !important;
  color: #fff !important;
}

html body .categoryMain,
html body .categoryMain .list,
html body .categoryMain .categoryCount {
  box-shadow: none !important;
}

html body .categoryMain .categoryBtn,
html body .categoryMain .list > *:first-child {
  outline: none !important;
  box-shadow: inset 0 -3px 0 #42b7c1 !important;
}

html body .categoryMain .categoryBtn:hover,
html body .categoryMain .list > *:first-child:hover,
html body .categoryMain .categoryBtn:focus,
html body .categoryMain .list > *:first-child:focus {
  box-shadow: inset 0 -3px 0 #2877bd !important;
}

html body .qqsc-category-mega-menu,
html body .qqsc-category-mega-menu__body,
html body .qqsc-category-mega-group,
html body .qqsc-category-mega-child,
html body .qqsc-category-mega-leaves,
html body .qqsc-category-mega-detail,
html body .qqsc-home-category-menu {
  background: #fff !important;
  color: #284b5f !important;
}

html body .qqsc-category-mega-group:hover,
html body .qqsc-category-mega-child:hover {
  background: #fff !important;
}

html body .qqsc-category-mega-menu {
  border-color: #d9edf3 !important;
  border-top: 3px solid #42b7c1 !important;
  box-shadow: 0 16px 34px rgba(40, 119, 189, .14) !important;
}

html body .qqsc-category-mega-menu__title {
  background: #f7fbfd !important;
  border-bottom-color: #e6f2f5 !important;
  color: #2877bd !important;
}

html body .qqsc-category-mega-group__link {
  background: #fff !important;
  border-radius: 5px !important;
  color: #284b5f !important;
  font-weight: 650 !important;
}

html body .qqsc-category-mega-group:hover > .qqsc-category-mega-group__link,
html body .qqsc-category-mega-group:focus-within > .qqsc-category-mega-group__link {
  background: #e9f8f5 !important;
  color: #2877bd !important;
}

html body .qqsc-category-mega-detail {
  border-color: #d9edf3 !important;
  border-left: 3px solid #42b7c1 !important;
  box-shadow: 10px 12px 28px rgba(40, 119, 189, .10) !important;
}

html body .qqsc-category-mega-child__link {
  background: #f7fbfd !important;
  border-radius: 4px !important;
  color: #174a73 !important;
  font-weight: 650 !important;
}

html body .qqsc-category-mega-child:hover > .qqsc-category-mega-child__link,
html body .qqsc-category-mega-child:focus-within > .qqsc-category-mega-child__link {
  background: #e9f8f5 !important;
  color: #2877bd !important;
}

html body .qqsc-category-mega-leaves {
  border-top-color: #edf5f7 !important;
}

html body .qqsc-category-mega-leaf {
  background: #fff !important;
  border-radius: 4px !important;
  color: #59717a !important;
}

html body .qqsc-category-mega-leaf:hover,
html body .qqsc-category-mega-leaf:focus-visible {
  background: #e9f8f5 !important;
  color: #2877bd !important;
}

html body .qqsc-category-mega-group__link::after,
html body .qqsc-category-mega-child__link::after {
  color: #ef8d55 !important;
}

html body .qqsc-home-category-menu a {
  background: #fff !important;
  border-bottom-color: #edf5f7 !important;
  color: #59717a !important;
}

html body .qqsc-home-category-menu a:hover,
html body .qqsc-home-category-menu a:focus-visible {
  background: #e9f8f5 !important;
  color: #2877bd !important;
}

/* The legacy storefront still renders the click-open state as .category>.sort.
   Keep that real category tree, but give it the same light retail treatment as
   the mega menu so click and hover states cannot fall back to black/red. */
html body .categoryMain .category > .sort,
html body .categoryMain .category > .sort > .item,
html body .categoryMain .category > .sort > .item:hover,
html body .categoryMain .category > .sort > .item:focus-within {
  background: #fff !important;
  color: #284b5f !important;
}

html body .categoryMain .category > .sort {
  border: 1px solid #d9edf3 !important;
  box-shadow: 0 16px 34px rgba(40, 119, 189, .14) !important;
}

html body .categoryMain .category > .sort > .item {
  border-bottom: 1px solid #edf5f7 !important;
  min-height: 45px !important;
  padding: 0 16px !important;
}

html body .categoryMain .category > .sort > .item:hover,
html body .categoryMain .category > .sort > .item:focus-within {
  background: #e9f8f5 !important;
  color: #2877bd !important;
}

html body .categoryMain .category > .sort > .item .icon-you {
  color: #ef8d55 !important;
}

/* Retail mega-navigation layout: a full-width white panel with a vertical
   level-one rail and a wide, row-based level-two/level-three detail panel. */
html body .qqsc-category-mega-menu {
  max-height: min(560px, calc(100vh - 120px)) !important;
  padding: 10px !important;
  width: min(1180px, calc(100vw - 32px)) !important;
}

html body .qqsc-category-mega-menu__body {
  display: block !important;
  max-height: min(480px, calc(100vh - 178px)) !important;
  overflow-y: auto !important;
  overflow-x: visible !important;
  padding: 6px 0 0 !important;
}

html body .qqsc-category-mega-group {
  width: 228px !important;
}

html body .qqsc-category-mega-group__link {
  min-height: 38px !important;
  padding: 0 14px !important;
}

html body .qqsc-category-mega-detail {
  display: none !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
  left: calc(var(--qqsc-menu-left, 16px) + 238px) !important;
  max-height: min(456px, calc(100vh - 190px)) !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  padding: 6px 16px !important;
  position: fixed !important;
  top: calc(var(--qqsc-menu-top, 220px) + 48px) !important;
  width: calc(var(--qqsc-menu-width, 1180px) - 270px) !important;
}

html body .qqsc-category-mega-group:hover > .qqsc-category-mega-detail,
html body .qqsc-category-mega-group:focus-within > .qqsc-category-mega-detail,
html body .qqsc-category-mega-menu[data-open='true'] .qqsc-category-mega-group:first-child > .qqsc-category-mega-detail {
  display: grid !important;
}

html body .qqsc-category-mega-child {
  align-items: center !important;
  border-bottom: 1px solid #edf5f7 !important;
  display: grid !important;
  gap: 14px !important;
  grid-template-columns: 176px minmax(0, 1fr) !important;
  min-height: 54px !important;
  padding: 4px 0 !important;
}

html body .qqsc-category-mega-child__link {
  background: #f7fbfd !important;
  color: #174a73 !important;
  justify-content: flex-start !important;
  min-height: 34px !important;
  padding: 0 10px !important;
}

html body .qqsc-category-mega-child__link::after {
  display: none !important;
}

html body .qqsc-category-mega-leaves {
  border-top: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body .qqsc-category-mega-leaf {
  border-right: 1px solid #e5f0f3 !important;
  border-radius: 0 !important;
  min-height: 27px !important;
  padding: 0 14px !important;
}

@media screen and (max-width: 900px) {
  html body .qqsc-category-mega-menu {
    width: calc(100vw - 20px) !important;
  }

  html body .qqsc-category-mega-detail {
    left: 0 !important;
    min-height: 0 !important;
    position: relative !important;
    top: 0 !important;
    width: 100% !important;
  }

  html body .qqsc-category-mega-child {
    grid-template-columns: 132px minmax(0, 1fr) !important;
  }
}

/* Final narrow-screen overrides must come after the desktop retail layout. */
@media screen and (max-width: 900px) {
  html body .nav .navCon {
    grid-template-columns: 108px minmax(0, 1fr) !important;
  }

  html body .navCon .textPic,
  html body .navCon .textPic .icon {
    max-width: 108px !important;
    width: 108px !important;
  }

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

  html body .qqsc-category-mega-menu,
  html body .qqsc-category-mega-menu__body,
  html body .qqsc-category-mega-group,
  html body .qqsc-category-mega-detail,
  html body .qqsc-category-mega-child,
  html body .qqsc-category-mega-leaves {
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
    width: 100% !important;
  }

  html body .qqsc-category-mega-child {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body .qqsc-category-mega-child__link,
  html body .qqsc-category-mega-leaf {
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
  }
}

@media screen and (max-width: 430px) {
  html body .nav .navCon {
    grid-template-columns: 92px minmax(0, 1fr) !important;
  }

  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;
  }
}

/* Stage 42: the restored platform login uses its own Vue login shell. Keep
   the auth behavior untouched while bringing its presentation into the same
   light, transparent 77 SELECT system as the storefront and H5 login. */
html body .page-account {
  background: linear-gradient(135deg, #eefafd 0%, #f8fbfd 56%, #edf8f8 100%) !important;
}

html body .page-account::before,
html body .page-account::after {
  display: none !important;
}

html body .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 .page-account-top {
  height: auto !important;
  padding: 40px 0 24px !important;
}

html body .page-account-top-logo {
  width: 260px !important;
  height: 76px !important;
  margin: 0 auto !important;
}

html body .page-account-top-logo img {
  width: 260px !important;
  height: 76px !important;
  max-width: 100% !important;
  object-fit: contain !important;
  content: url('/h5/static/brand/77select-auth-lockup-v6.svg?v=202611191220') !important;
  background: transparent !important;
}

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

html body .page-account .login-form .el-input__inner:focus {
  border-color: #42b7c1 !important;
  box-shadow: 0 0 0 3px rgba(66, 183, 193, .12) !important;
}

html body .page-account .login-form .el-button {
  border-radius: 9px !important;
  box-shadow: 0 8px 18px rgba(40, 119, 189, .16) !important;
}

html body .page-account .labelPic {
  opacity: .86 !important;
  filter: saturate(.72) hue-rotate(8deg) !important;
}

@media screen and (max-width: 520px) {
  html body .page-account-container {
    width: calc(100% - 32px) !important;
    margin: 16px auto !important;
  }

  html body .page-account-top-logo,
  html body .page-account-top-logo img {
    width: min(260px, 72vw) !important;
  }
}

/* Keep the homepage brand, category band and product grid on one centered
   desktop column; legacy product sections otherwise stretch independently. */
.index.qqsc-brand-stage3-mounted {
  box-sizing: border-box !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: min(1280px, calc(100vw - 48px)) !important;
  min-width: 0 !important;
  width: min(1280px, calc(100vw - 48px)) !important;
}

.index.qqsc-brand-stage3-mounted > .wrapper,
.index.qqsc-brand-stage3-mounted > .categoryMain,
.index.qqsc-brand-stage3-mounted > .categoryMain > .wrapper_1200,
.index.qqsc-brand-stage3-mounted .page4,
.index.qqsc-brand-stage3-mounted .publicTitle,
.index.qqsc-brand-stage3-mounted .goodsList,
.index.qqsc-brand-stage3-mounted .goods-list {
  box-sizing: border-box !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: min(1280px, calc(100vw - 48px)) !important;
  width: min(1280px, calc(100vw - 48px)) !important;
}

.index.qqsc-brand-stage3-mounted .qqsc-brand-intro {
  box-sizing: border-box !important;
  display: grid !important;
  gap: 24px !important;
  grid-template-columns: minmax(260px, 0.86fr) minmax(0, 1.14fr) !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  min-width: 0 !important;
  width: 100% !important;
}

.index.qqsc-brand-stage3-mounted .qqsc-brand-intro__copy,
.index.qqsc-brand-stage3-mounted .qqsc-role-grid,
.index.qqsc-brand-stage3-mounted .qqsc-role-card {
  box-sizing: border-box !important;
  min-width: 0 !important;
  width: 100% !important;
}

.index.qqsc-brand-stage3-mounted .qqsc-brand-intro__copy {
  flex: initial !important;
}

.index.qqsc-brand-stage3-mounted .qqsc-role-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

@media screen and (max-width: 900px) {
  .index.qqsc-brand-stage3-mounted {
    max-width: 100% !important;
    width: 100% !important;
  }

  .index.qqsc-brand-stage3-mounted > .wrapper,
  .index.qqsc-brand-stage3-mounted > .categoryMain,
  .index.qqsc-brand-stage3-mounted > .categoryMain > .wrapper_1200,
  .index.qqsc-brand-stage3-mounted .page4,
  .index.qqsc-brand-stage3-mounted .publicTitle,
  .index.qqsc-brand-stage3-mounted .goodsList,
  .index.qqsc-brand-stage3-mounted .goods-list {
    max-width: 100% !important;
    width: 100% !important;
  }

  .index.qqsc-brand-stage3-mounted .qqsc-brand-intro {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Clean category navigation: keep hierarchy and hover behavior while
   removing decorative arrows, boxed links and pane dividers. */
html body .qqsc-category-mega-group__link::after,
html body .qqsc-category-mega-child__link::after,
html body .categoryMain .category > .sort > .item .icon-you {
  content: none !important;
  display: none !important;
}

html body .qqsc-category-mega-group__link,
html body .qqsc-category-mega-child__link,
html body .qqsc-category-mega-leaf {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

html body .qqsc-category-mega-group__link,
html body .qqsc-category-mega-child__link {
  background: transparent !important;
  justify-content: flex-start !important;
}

html body .qqsc-category-mega-group:hover > .qqsc-category-mega-group__link,
html body .qqsc-category-mega-group:focus-within > .qqsc-category-mega-group__link,
html body .qqsc-category-mega-child:hover > .qqsc-category-mega-child__link,
html body .qqsc-category-mega-child:focus-within > .qqsc-category-mega-child__link,
html body .qqsc-category-mega-leaf:hover,
html body .qqsc-category-mega-leaf:focus-visible {
  background: #f4fafb !important;
  color: var(--qqsc-v4-blue) !important;
}

html body .qqsc-category-mega-detail {
  background: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html body .qqsc-category-mega-child {
  border-bottom: 1px solid #edf3f5 !important;
}

html body .qqsc-category-mega-leaf {
  border-left: 0 !important;
  border-right: 0 !important;
}

/* Stage 34 final storefront alignment. Keep the existing HTML loader intact;
   this higher-specificity rule removes the homepage-only legacy logo split. */
html body .navCon .textPic .icon img,
html body .navCon .textPic img,
html body .login .header .icon img,
html body .page-account-top-logo img,
html body .qqsc-auth-brand__logo,
html body .login-count .wrapper-count::before {
  content: url('/h5/static/brand/77select-h5-lockup-v5.svg?v=202611191420') !important;
  background-image: url('/h5/static/brand/77select-h5-lockup-v5.svg?v=202611191420') !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  filter: none !important;
}

html body:has(.qqsc-brand-intro) .navCon .textPic .icon img,
html body:has(.qqsc-brand-intro) .navCon .textPic img {
  content: url('/h5/static/brand/77select-h5-lockup-v5.svg?v=202611191420') !important;
  background-image: url('/h5/static/brand/77select-h5-lockup-v5.svg?v=202611191420') !important;
  filter: none !important;
}

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

html body .headerss,
html body .headerss .headerCon,
html body .nav,
html body .nav .navCon,
html body .footer,
html body .footerCon {
  background: #fff !important;
  border-color: #d9edf3 !important;
}

html body .nav .search .bnt,
html body .nav .search button,
html body .nav .search .search-btn,
html body button[type='submit'],
html body .btn-primary,
html body .button-primary,
html body .login button,
html body .register button {
  background: linear-gradient(120deg, #42b7c1 0%, #2877bd 100%) !important;
  border-color: transparent !important;
  color: #fff !important;
}

html body .nav .cartNum,
html body .nav .cartNum.on,
html body .nav .cartNum.on:hover {
  background: #fff !important;
  border-color: #d9edf3 !important;
  color: #174a73 !important;
}

html body .nav .cartNum .iconfont,
html body .nav a:hover,
html body .nav .active,
html body .headerss a:hover,
html body .color-blue,
html body .color-primary,
html body .text-primary {
  color: #2877bd !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 {
    width: 108px !important;
    max-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 {
    width: 92px !important;
    max-width: 92px !important;
  }
}

/* Stage 42 final order: this must remain after legacy logo overrides. */
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-top-logo {
  height: 76px !important;
  width: 260px !important;
}

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

/* Keep the merchant shell on the same transparent horizontal lockup. */
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;
}

/* One final asset for the public PC header as well. */
html body .navCon .textPic .icon img,
html body .navCon .textPic img,
html body .login .header .icon img,
html body .page-account-top-logo 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;
}
