﻿/* module.html 配置覆盖文件
 * 使用方式：在 public.css 等基础样式之后引入。
 */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  /* 背景配置 */
  --bg-img: url("https://resource.xp-pen.com/img/active_list/BlackFriday26/bg.jpg");
  --bg-color: #0b0b0b;

  /* 主色板 */
  --color-white: #fff;
  --color-black: #111111;
  --color-dark: #1A140C;
  --color-red: #D3111E;
  --color-light-gray: #F6F1E4;
  --bf-gold: #D9B374;
  --bf-gold-text: #F8E4C1;
  --bf-cream: #F6E7C4;
  --bf-ivory: #F7F2E6;
  --bf-nav-active: #EED5A8;

  /* Banner 文案配色 */
  --color-text1: #E8C97A;
  --color-textH1: #F6E7C4;
  --color-textH1-span: #F6E7C4;
  --color-textH2: #111111;
  --color-textH2-bg: #FFFFFF;

  /* 导航色 */
  --color-navbg: #D9B374;
  --nav-active-bg: #EED5A8;
  --nav-text: #1A140C;
  --nav-active-color: #1A140C;

  /* 倒计时色 */
  --coutdown-title: #E1C08C;
  --coutdown-number: #1A140C;
  --coutdown-number-bg: #FDF4CE;

  /* 优惠券色 */
  --coupon-title: #F6E7C4;
  --color-coupon: #F6E7C4;
  --coupon-p1: #F6E7C4;
  --coupon-p2: #F6E7C4;
  --coupon-p3: #1A140C;
  --coupon-p3-bg: #F7F2E6;
  --coupon-bd: #C6A36A;
  --coupon-img-display: block;

  /* 商品区与按钮色 */
  --NY-title: #1A140C;
  --sell-text: #1A140C;
  --buy-btn: #2C1701;
  --buy-btn-hover: #000000;
  --more-btn: #C6A36A;
  --more-btn-text: #1A140C;
  --more-btn-border: #1A140C;

  /* 其他可配置属性 */
  --free-title: #E1C08C;
  --title-bg: #060400;
  --title-transform: translate(-50%, -50%);
}

#module,
#module .module_bg {
  background-color: #0b0b0b;
}

#module .module_banner_text {
  width: 34vw;
  left: 4.5vw;
  text-align: center;
}

#module .banner-info-item,
#module .banner-info-item-bg {
  text-align: center;
}

#module .Wb_text1,
#module .Wb_text2 {
  font-size: 1.15vw;
  color: var(--bf-gold-text);
  -webkit-text-fill-color: var(--bf-gold-text);
  -webkit-text-stroke: 0;
  paint-order: normal;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-shadow: none;
  filter: none;
}

#module .Wb_text2{
  padding-bottom: 0.5vw;
  border-bottom: 0.18vw solid;
  display: inline-block;
}

#module .Wb_textH1 {
  font-family: "Montserrat", sans-serif !important;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
  font-size: 4.6vw;
  line-height: 1.3;
  letter-spacing: 0.03em;
  margin: 0.4vw 0 0.8vw;
  color: var(--bf-cream);
  background: none;
  -webkit-text-fill-color: var(--bf-cream);
  -webkit-text-stroke: 0;
  paint-order: normal;
  filter: none;
  text-shadow: none;
  background: linear-gradient(-72deg, #E1C08B 16.748046875%, #FBEFD1 50.4638671875%, #E1C08B 77.9052734375%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#module .Wb_textH2 {
  background: #F8E4C1;
  color: #111;
  font-weight: 800;
  padding: 0.35vw 1.6vw;
  line-height: 1.15;
  border-radius: 0;
  font-size: 1.35vw;
}

#module .Wb_textH2 span,
#module .Wb_textH2 .Wb_textH2_p1 {
  color: #111;
  -webkit-text-fill-color: #111;
  font-weight: 900;
}

#module #Ch2020_countdown_2 .Ch2020_cd_title {
  color: var(--bf-gold-text);
  font-weight: 500;
  letter-spacing: 0.04em;
}

#module #Ch2020_countdown_2 .Ch2020_seperator {
  color: var(--bf-ivory);
}

#module #Ch2020_countdown_2 span {
  background: var(--bf-ivory);
  color: #1A140C;
  border-radius: 0.45vw;
  font-weight: 700;
}


#module .module_title_bg img{
  max-width: 100%;
}

#module .module_title span{
  margin-top: 0;
}

@media screen and (min-width: 481px) {
  #module .Wb_text1,
  #module .Wb_text2 {
    font-size: 1.4vw;
  }
  #module .Wb_textH1 {
    font-size: 4.6vw;
  }
  #module .banner-info-item-bg {
    margin: 0 0 0.8vw;
  }
}

@media screen and (max-width: 1460px) {
  :root{
    --spacing-6xl: 3vw;
  }
}

#module .module_nav {
  gap: 0;
  background: var(--bf-gold);
}

#module .module_nav .nav-list {
  color: var(--nav-text);
  font-weight: 600;
  background: transparent;
}

#module .NY_big .NY_big_tag{
  font-weight: bold;
}

#module .Wb_textH2 span {
  font-size: 3vw;
  vertical-align: baseline;
  margin-left: 0.25vw;
  color: #111;
}

@media screen and (max-width: 1460px) {
  #module .Wb_textH2 {
    font-size: 1.8vw;
  }
  #module .Wb_textH2 span {
    font-size: 2.2vw;
  }
}

@media screen and (max-width: 480px) {
  #module .module_banner_text {
    width: 92%;
    left: 50%;
    top: 12vw;
    transform: translateX(-50%);
  }
  #module .module_banner .module_banner_text .Wb_textH1 {
    font-size: 12vw;
    margin: 2vw 0;
  }
  #module .module_banner .module_banner_text .Wb_textH2 {
    font-size: 4.2vw;
    margin: 0 auto 2vw;
    padding: 1.6vw 5vw;
  }
  #module .module_banner .module_banner_text .Wb_textH2 span {
    font-size: 5.4vw;
  }
  #module .Wb_text1,
  #module .Wb_text2 {
    font-size: 3.4vw;
  }
  #module #Ch2020_countdown_2 span {
    border-radius: 1.6vw;
  }
}


#module .module_coupon .module_coupon_item::before, #module .module_coupon .module_coupon_item::after{
  display: none;
}

#module .module_coupon .module_coupon_item{
  border: none;
  border-radius: 0;
  padding: 0;
  background: none;
}

/* 优惠券轮播：一排一张 */
#module .swiper-coupon{
  width: 100%;
  margin-top: var(--spacing-60);
  overflow: hidden;
  box-sizing: border-box;
}
#module .swiper-coupon .swiper-slide img{
  width: 100%;
  height: auto;
}
#module .swiper-coupon .swiper-pagination-coupon{
  bottom: 0;
}
#module .swiper-coupon .swiper-pagination-bullet{
  background: #cfcfcf;
  opacity: 1;
}
#module .swiper-coupon .swiper-pagination-bullet-active{
  background: #fff;
  box-shadow: 0 0 0 1px #333;
}
@media screen and (max-width: 480px){
  #module .swiper-coupon{
    margin: 0 0 20px;
  }
}

/* 市场部活动：左侧对齐 module_inner，右侧铺满 */
#module .swiper-activity{
  --activity-content-width: 54.688vw;
  width: calc(50% + var(--activity-content-width) / 2);
  margin: 0 0 40px calc(50% - var(--activity-content-width) / 2);
  padding-bottom: 36px;
  overflow: hidden;
  box-sizing: border-box;
}
#module .swiper-activity .swiper-slide a{
  display: block;
}
#module .swiper-activity .swiper-slide img{
  width: 100%;
  height: auto;
  border: 1px solid #fff;
  box-sizing: border-box;
}
#module .swiper-activity .swiper-pagination-activity{
  bottom: 0;
}
#module .swiper-activity .swiper-pagination-bullet{
  background: #cfcfcf;
  opacity: 1;
}
#module .swiper-activity .swiper-pagination-bullet-active{
  background: #fff;
  box-shadow: 0 0 0 1px #333;
}
@media screen and (max-width: 1460px){
  #module .swiper-activity{
    --activity-content-width: min(98%, 95.89vw);
  }
}
@media screen and (max-width: 1024px){
  #module .swiper-activity{
    --activity-content-width: 95%;
  }
}
@media screen and (max-width: 480px){
  #module .swiper-activity{
    width: 100%;
    margin: 0 0 24px;
    --activity-content-width: 100%;
  }
}

/* Tab 切换：胶囊按钮 + 面板显隐 */
#module .tab-group{
  width: 100%;
  margin: 20px 0 10px;
}
#module .tab-buttons{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 20px;
  margin-bottom: 24px;
}
#module .tab-button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 28px;
  box-sizing: border-box;
  border-radius: 999px;
  border: 1px dashed #000;
  background: transparent;
  color: #000;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  user-select: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
#module .tab-button.active{
  background: #000;
  color: #fff;
  border-style: solid;
  border-color: #000;
}
#module .tab-panels .tab-content{
  display: none;
}
#module .tab-panels .tab-content.active{
  display: block;
}
@media screen and (max-width: 480px){
  #module .tab-buttons{
    gap: 10px 12px;
  }
  #module .tab-button{
    min-height: 36px;
    padding: 6px 16px;
    font-size: 13px;
  }
  #module .module_title span{
    margin-top: 0;
  }
  #module .module_title_bg .module_title{
    line-height: 1;
  }
}
