/* 七澄 / 77 SELECT PC shell stage 16.
   Visual-only container correction: unify the legacy header, nav and content grid. */
:root {
  --qqsc-shell-width: 1280px;
  --qqsc-shell-gutter: 24px;
}

html,
body {
  overflow-x: hidden !important;
}

/* Full-width bands; their inner content shares one centered editorial grid. */
.headerss,
.header,
.nav,
.footer {
  width: 100% !important;
}

.headerss .min_wrapper_1200,
.headerss .headerCon,
.nav.min_wrapper_1200,
.nav .navCon,
.footer .wrapper_1200,
.footer .min_wrapper_1200,
.index.wrapper_1200,
.index > .wrapper,
.index > .categoryMain > .wrapper_1200 {
  box-sizing: border-box !important;
  width: min(var(--qqsc-shell-width), calc(100% - (var(--qqsc-shell-gutter) * 2))) !important;
  max-width: var(--qqsc-shell-width) !important;
  min-width: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.headerss .headerCon {
  display: flex !important;
  align-items: center !important;
}

.nav .navCon {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.index.qqsc-brand-stage3-mounted {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

.index.qqsc-brand-stage3-mounted > .wrapper,
.index.qqsc-brand-stage3-mounted > .categoryMain,
.index.qqsc-brand-stage3-mounted > .categoryMain > .wrapper_1200 {
  box-sizing: border-box !important;
  width: min(var(--qqsc-shell-width), calc(100% - (var(--qqsc-shell-gutter) * 2))) !important;
  max-width: var(--qqsc-shell-width) !important;
  min-width: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.index.qqsc-brand-stage3-mounted .qqsc-brand-intro {
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Keep product bands aligned with the hero instead of inheriting the old left rail. */
.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;
}

@media screen and (max-width: 900px) {
  :root {
    --qqsc-shell-gutter: 12px;
  }

  .headerss .min_wrapper_1200,
  .headerss .headerCon,
  .nav.min_wrapper_1200,
  .nav .navCon,
  .footer .wrapper_1200,
  .footer .min_wrapper_1200,
  .index.wrapper_1200,
  .index > .wrapper,
  .index > .categoryMain,
  .index > .categoryMain > .wrapper_1200 {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

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