
.flex-box {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
img {
  max-width: 100%;
  height: auto;
}
body {
  background-color: #e3e3ff;
  position: relative;
}
/* 不能用 overflow:hidden，否则会成为滚动容器，导致 .bundle_pos 的 sticky 失效 */
.box {
  position: relative;
}

/* ---------- banner ---------- */
.banner {
  position: relative;
  background: #2b0b67;
  line-height: 0;
}
.banner picture {
  display: block;
}
.banner .senta {
  display: block;
  width: 100%;
  height: auto;
}
/* 倒计时（按断点分段缩放，基准 1920 设计稿） */
.countdown {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  display: flex;
  line-height: 1;
}
.countdown .num,
.countdown .label {
  color: #fff;
  text-align: center;
}
.countdown .num {
  font-size: 54px;
  font-weight: bold;
  line-height: 56px;
  letter-spacing: 2px;
}
.countdown .label {
  font-size: 18px;
  line-height: 22px;
  margin-top: 4px;
}
.countdown .countdown_item {
  width: 96px;
  height: 100px;
  box-sizing: border-box;
  padding-top: 4px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
  text-align: center;
}
.countdown .countdown_item + .countdown_item {
  margin-left: 19px;
}
@media (max-width: 1600px) {
  .countdown {
    bottom: 33px;
  }
  .countdown .countdown_item + .countdown_item {
    margin-left: 16px;
  }
  .countdown .countdown_item {
    width: 80px;
    height: 83px;
    padding-top: 3px;
    border-radius: 8px;
  }
  .countdown .num {
    font-size: 45px;
    line-height: 47px;
  }
  .countdown .label {
    font-size: 15px;
    line-height: 18px;
    margin-top: 3px;
  }
}
@media (max-width: 1400px) {
  .countdown {
    bottom: 30px;
  }
  .countdown .countdown_item + .countdown_item {
    margin-left: 14px;
  }
  .countdown .countdown_item {
    width: 72px;
    height: 75px;
  }
  .countdown .num {
    font-size: 40px;
    line-height: 42px;
  }
  .countdown .label {
    font-size: 14px;
    line-height: 17px;
  }
}
@media (max-width: 1200px) {
  .countdown {
    bottom: 26px;
  }
  .countdown .countdown_item + .countdown_item {
    margin-left: 12px;
  }
  .countdown .countdown_item {
    width: 62px;
    height: 65px;
    border-radius: 7px;
  }
  .countdown .num {
    font-size: 35px;
    line-height: 36px;
  }
  .countdown .label {
    font-size: 12px;
    line-height: 15px;
  }
}
@media (max-width: 1000px) {
  .countdown {
    bottom: 22px;
  }
  .countdown .countdown_item + .countdown_item {
    margin-left: 10px;
  }
  .countdown .countdown_item {
    width: 53px;
    height: 57px;
    padding-top: 2px;
    border-radius: 6px;
  }
  .countdown .num {
    font-size: 30px;
    line-height: 31px;
  }
  .countdown .label {
    font-size: 11px;
    line-height: 13px;
    margin-top: 2px;
  }
}
@media (max-width: 920px) {
  .countdown {
    bottom: 20px;
  }
  .countdown .countdown_item + .countdown_item {
    margin-left: 10px;
  }
  .countdown .countdown_item {
    width: 48px;
    height: 50px;
  }
  .countdown .num {
    font-size: 26px;
    line-height: 28px;
  }
  .countdown .label {
    font-size: 11px;
    line-height: 13px;
  }
}

.bundle_pos {
  position: sticky;
  top: 0;
  z-index: 11;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
  background: #e3e3ff;
}
.bundle_pos .center {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.bundle_pos a {
  display: inline-block;
  width: 360px;
  height: 74px;
  line-height: 74px;
  margin: 12px 16px;
  border-radius: 40px;
  background: #cec1ff;
  box-sizing: border-box;
  font-size: 24px;
  font-weight: bold;
  color: #222;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.bundle_pos a:hover,
.bundle_pos a.active {
  background: #230886;
  color: #fff;
}

.h2_title {
  display: block;
  width: 770px;
  max-width: 100%;
  height: auto;
  margin: 64px auto 24px;
}
.h2_title#part1 {
  margin-top: 42px;
}

.bundle_box {
  position: relative;
}
.bundle {
  position: relative;
  display: flex;
  justify-content: space-between;
  box-sizing: border-box;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 30px;
  background: #fff;
  border-radius: 20px;
}
.bundle > .off {
  position: absolute;
  top: -36px;
  right: -28px;
  width: 168px;
  height: 144px;
  pointer-events: none;
}
.bundle > .off-50 {
  background: url(/img/halloween-sale-2026/50-off.png) center / 100% 100% no-repeat;
}
.bundle .bundle_left {
  width: 408px;
  max-width: 100%;
}
.bundle .bundle_left img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.bundle .bundle_right {
  width: 562px;
  max-width: 100%;
}
.bundle .title {
  font-size: 40px;
  font-weight: bold;
  line-height: 48px;
  color: #333;
}
.bundle .info {
  margin-top: 6px;
  font-size: 20px;
  line-height: 24px;
  color: #222;
}
.bundle ul {
  display: flex;
  flex-wrap: wrap;
  margin-top: 24px;
}
.bundle ul li {
  display: flex;
  align-items: center;
  width: 50%;
  margin-bottom: 20px;
  font-size: 20px;
  line-height: 24px;
  color: #222;
}
.bundle ul li img {
  flex: none;
  width: 60px;
  height: 60px;
  margin-right: 16px;
}
.bundle .price {
  display: flex;
  align-items: baseline;
  margin: 0 0 24px;
}
.bundle .price del {
  margin-right: 12px;
  font-size: 20px;
  color: #222;
}
.bundle .price span {
  font-size: 40px;
  font-weight: bold;
  line-height: 1;
  color: #ff342f;
}
.bundle .buy_btn {
  justify-content: flex-start;
}
.bundle .buy_btn a + a {
  margin-left: 20px;
}
.bundle .buy_btn a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 56px;
  border-radius: 8px;
  background: #ff342f;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  transition: opacity 0.2s;
}
.bundle .buy_btn a:hover {
  opacity: 0.88;
}
.bundle .buy_btn a i {
  display: inline-block;
  width: 28px;
  height: 28px;
  margin-right: 10px;
}
.bundle .buy_btn a.win_buy i {
  background: url(/img/halloween-sale-2026/windows.svg) center / contain no-repeat;
}
.bundle .buy_btn a.mac_buy i {
  background: url(/img/halloween-sale-2026/mac.svg) center / contain no-repeat;
}

/* ---------- 40% 热卖 bundle ---------- */
.sale {
  width: 100%;
  overflow: hidden;
}
.sale_inner {
  max-width: 1190px;
  margin: 0 -20px;
  justify-content: center;
}
.sale_item {
  position: relative;
  box-sizing: border-box;
  width: 350px;
  min-height: 410px;
  margin: 0 20px 40px;
  padding: 50px 37px 30px;
  background: url(/img/halloween-sale-2026/2-bg.png) center / 100% 100% no-repeat;
  text-align: center;
  color: #fff;
}
.sale_item::before {
  content: '';
  position: absolute;
  top: -10px;
  right: -10px;
  width: 84px;
  height: 72px;
  background: url(/img/halloween-sale-2026/40-off.png) center / 100% 100% no-repeat;
  pointer-events: none;
}
.sale_item .sale_top {
  display: block;
  width: 162px;
  height: 60px;
  margin: 0 auto;
}
.sale .title {
  margin-top: 18px;
  font-size: 16px;
  font-weight: bold;
  line-height: 20px;
  color: #fff;
  text-align: center;
}
.sale .info {
  margin-top: 6px;
  font-size: 14px;
  line-height: 20px;
  color: #fff;
  text-align: center;
}
.sale .text {
  max-width: 280px;
  margin: 10px auto 10px;
  font-size: 14px;
  line-height: 20px;
  color: #fff;
  text-align: center;
}
.sale .price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin: 8px 0 20px;
}
.sale .price span {
  margin-right: 8px;
  font-size: 40px;
  font-weight: bold;
  line-height: 1;
  color: #ffee00;
}
.sale .price del {
  font-size: 14px;
  color: #fff;
}
.sale .buy_btn {
  justify-content: center;
}
.sale .buy_btn a + a {
  margin-left: 10px;
}
.sale .buy_btn a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 126px;
  height: 40px;
  border-radius: 6px;
  background: #ff342f;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border: 1px solid #FFFFFF;
  transition: opacity 0.2s;
}
.sale .buy_btn a:hover {
  opacity: 0.88;
}
.sale .buy_btn a i {
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-right: 6px;
}
.sale .buy_btn a.win_buy i {
  background: url(/img/halloween-sale-2026/windows.svg) center / contain no-repeat;
}
.sale .buy_btn a.mac_buy i {
  background: url(/img/halloween-sale-2026/mac.svg) center / contain no-repeat;
}

/* ---------- 30% 单品 ---------- */
.single {
  width: 100%;
  padding-bottom: 100px;
  overflow: hidden;
}
.single_product {
  max-width: 1114px;
  margin: 0 -17px;
  justify-content: center;
}
.single_product li {
  position: relative;
  box-sizing: border-box;
  width: 337px;
  margin: 0 17px 34px;
  padding: 20px 24px;
  background: #fff;
  border-radius: 10px;
  color: #222;
}
.single_product li::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 115px;
  height: 29px;
  background: url(/img/halloween-sale-2026/30-off.png) center / 100% 100% no-repeat;
  pointer-events: none;
}
.single_product li .top {
  display: flex;
  align-items: center;
}
.single_product li .top img {
  flex: none;
  width: 60px;
  height: 60px;
  border-radius: 12px;
}
.single_product li .top > div {
  padding-left: 12px;
}
.single_product li .top .title {
  font-size: 16px;
  font-weight: bold;
  line-height: 20px;
  color: #222;
}
.single_product li .top .con {
  margin-top: 4px;
  font-size: 14px;
  line-height: 18px;
  color: #222;
}
.single_product li p.info {
  min-height: 66px;
  margin: 8px 0 8px;
  font-size: 14px;
  line-height: 22px;
  color: #222;
}
.single_product li .price {
  display: flex;
  align-items: baseline;
  margin: 0 0 18px;
}
.single_product li .price span {
  margin-right: 8px;
  font-size: 40px;
  font-weight: bold;
  line-height: 1;
  color: #ff342f;
}
.single_product li .price del {
  font-size: 14px;
  color: #666;
}
.single_product li .buy_btn {
  justify-content: flex-start;
}
.single_product li .buy_btn a + a {
  margin-left: 8px;
}
.single_product li .buy_btn a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 126px;
  height: 40px;
  border-radius: 8px;
  background: #ff342f;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  transition: opacity 0.2s;
}
.single_product li .buy_btn a:hover {
  opacity: 0.88;
}
.single_product li .buy_btn a i {
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-right: 6px;
}
.single_product li .buy_btn a.win_buy i {
  background: url(/img/halloween-sale-2026/windows.svg) center / contain no-repeat;
}
.single_product li .buy_btn a.mac_buy i {
  background: url(/img/halloween-sale-2026/mac.svg) center / contain no-repeat;
}
.single_product li .tax {
  margin-top: 10px;
  font-size: 14px;
  line-height: 20px;
  color: #666;
}

.bottom_ads {
  display: none !important;
}

/* ---------- 装饰图 ---------- */
.bg_img {
  position: absolute;
  pointer-events: none;
}
.bg_img1 {
  left: 39px;
  top: 827px;
  width: 305px;
  height: 362px;
  background: url(/img/halloween-sale-2026/vignette-sugar.png) center / 100% 100%
    no-repeat;
}
.bg_img2 {
  right: 101px;
  top: 1513px;
  width: 217px;
  height: 244px;
  background: url(/img/halloween-sale-2026/vignette-ghost.png) center / 100% 100%
    no-repeat;
}
.bg_img3 {
  left: 104px;
  bottom: 310px;
  width: 176px;
  height: 199px;
  background: url(/img/halloween-sale-2026/gift-box-pic.png) center / 100% 100%
    no-repeat;
}

/* ---------- 促销结束遮罩（样式同 christmas-sale-2025） ---------- */
.endMask {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 12;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  text-align: center;
}
.endMask.show {
  display: block;
}
.maskInner {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-sizing: border-box;
  width: 100%;
  max-width: 736px;
  padding: 130px 80px 50px;
  border-radius: 20px;
  background: url(/img/special-offer/bg.png) center / 100% 100% no-repeat;
}
.maskInner > img {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  width: 374px;
  height: 208px;
}
.maskInner h2 {
  width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 0;
  font-size: 48px;
  font-weight: bold;
  line-height: 60px;
  color: #fff;
  text-align: center;
}
.maskInner .title {
  margin: 12px auto 32px;
  font-size: 20px;
  font-weight: bold;
  line-height: 27px;
  color: #fff;
  text-align: center;
}
.maskInner .jump {
  display: block;
  width: 220px;
  height: 48px;
  margin: 0 auto;
  border-radius: 40px;
  background: #ff7700;
  font-size: 20px;
  font-weight: bold;
  line-height: 48px;
  color: #fff;
  text-decoration: none;
}
@media (max-width: 1400px) {
  .bg_img {
    display: none;
  }
}
@media (max-width: 1200px) {
  .sale_inner {
    max-width: 100%;
    margin: 0;
    padding: 0 15px;
    box-sizing: border-box;
  }
  .bundle {
    width: calc(100% - 30px);
  }
  .single_product {
    max-width: calc(100% + 34px);
  }
}
@media (max-width: 1140px) {
  .single_product {
    max-width: 780px;
  }
  .bundle {
    flex-direction: column;
    align-items: center;
    width: 96%;
  }
  .bundle .bundle_left {
    width: 408px;
    max-width: 80%;
  }
  .bundle .bundle_right {
    width: 100%;
    max-width: 562px;
    margin-top: 30px;
  }
  .bundle > .off {
    zoom: 0.8;
  }
  .bundle_pos {
    position: fixed;
    top: auto;
    bottom: 0;
    width: 100%;
  }
  .bundle_pos .center {
    width: 100%;
  }
  .bundle_pos a {
    width: fit-content;
    min-width: 0;
    height: 48px;
    line-height: 48px;
    margin: 12px;
    padding: 0 18px;
    background: transparent;
    font-size: 20px;
  }
  .bundle_pos a:hover,
  .bundle_pos a.active {
    background: #230886;
  }
  .h2_title#part1 {
    margin-top: 30px;
  }
}
@media (max-width: 920px) {
  .sale_item {
    width: 330px;
    min-height: 390px;
    padding: 42px 30px 24px;
  }
  .h2_title {
    margin: 50px auto 20px;
  }
  .maskInner {
    max-width: 90%;
    padding: 30px;
  }
  .maskInner > img {
    display: none;
  }
  .maskInner h2 {
    font-size: 32px;
    line-height: 44px;
  }
  .maskInner .title {
    margin: 12px auto 20px;
  }
}
@media (max-width: 760px) {
  .bundle {
    padding: 24px;
  }
  .bundle .title {
    font-size: 28px;
    line-height: 36px;
  }
  .bundle .info {
    font-size: 16px;
    line-height: 22px;
  }
  .bundle ul li {
    width: 100%;
    font-size: 16px;
  }
  .bundle ul li img {
    width: 48px;
    height: 48px;
    margin-right: 12px;
  }
  .bundle .price del {
    font-size: 16px;
  }
  .bundle .price span {
    font-size: 34px;
  }
  .bundle .buy_btn a + a {
    margin-left: 12px;
  }
  .bundle .buy_btn a {
    min-width: 0;
    flex: 1;
    height: 48px;
    font-size: 16px;
  }
  .single {
    padding-bottom: 70px;
  }
  .single_product {
    max-width: calc(100% + 24px);
    margin: 0 -12px;
  }
  .single_product li {
    margin: 0 12px 24px;
  }
  .sale_inner {
    max-width: calc(100% + 30px);
    margin: 0 -15px;
  }
  .sale_item {
    margin: 0 15px 30px;
  }
}
@media (max-width: 630px) {
  .bundle_pos a {
    height: 36px;
    line-height: 36px;
    margin: 3px;
    padding: 0 10px;
    font-size: 14px;
  }
  .h2_title {
    margin: 36px auto 16px;
  }
  .sale_item {
    width: 100%;
    max-width: 350px;
    margin: 0 auto 30px;
  }
  .sale_item::before {
    zoom: 0.85;
  }
  .single_product li {
    width: 100%;
    max-width: 337px;
    margin: 0 auto 24px;
  }
}
@media (max-width: 600px) {
  .banner {
    height: 220px;
    overflow: hidden;
  }
  .banner picture {
    height: 100%;
  }
  .banner .senta {
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .countdown {
    bottom: 10px;
  }
  .countdown .countdown_item + .countdown_item {
    margin-left: 10px;
  }
  .countdown .countdown_item {
    width: 64px;
    height: 60px;
    padding-top: 3px;
    border-radius: 8px;
  }
  .countdown .num {
    font-size: 28px;
    line-height: 32px;
    letter-spacing: 1px;
  }
  .countdown .label {
    font-size: 13px;
    line-height: 16px;
    margin-top: 2px;
  }
}
@media (max-width: 460px) {
  .banner {
    height: 200px;
  }
  .countdown {
    bottom: 8px;
  }
  .countdown .countdown_item + .countdown_item {
    margin-left: 8px;
  }
  .countdown .countdown_item {
    width: 58px;
    height: 50px;
  }
  .countdown .num {
    font-size: 26px;
    line-height: 28px;
  }
  .countdown .label {
    font-size: 11px;
    line-height: 14px;
  }
  .bundle_pos a {
    height: 32px;
    line-height: 32px;
    margin: 2px;
    padding: 0 6px;
    font-size: 12px;
  }
  .bundle .buy_btn {
    flex-wrap: wrap;
  }
  .bundle .buy_btn a {
    flex: none;
    width: 100%;
  }
  .bundle .buy_btn a + a {
    margin: 8px 0 0;
  }
  .single_product li .top {
    display: block;
  }
  .single_product li .top > div {
    padding-left: 0;
  }
  .single_product li .top .title {
    margin-top: 12px;
  }
  .single_product li .buy_btn {
    flex-wrap: wrap;
  }
  .single_product li .buy_btn a,
  .single_product li .buy_btn a + a {
    margin: 4px;
  }
  .sale .buy_btn {
    flex-wrap: wrap;
  }
  .sale .buy_btn a,
  .sale .buy_btn a + a {
    margin: 4px;
  }
  .maskInner .jump {
    width: 180px;
    height: 44px;
    line-height: 44px;
    font-size: 18px;
  }
}
