﻿/* 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_US/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: #FFDDAD;
  --bf-ivory: #F7F2E6;
  --bf-nav-active: #EED5A8;

  /* Banner 文案配色 */
  --color-text1: #E8C97A;
  --color-textH1: #FFDDAD;
  --color-textH1-span: #FFDDAD;
  --color-textH2: #E10600;
  --color-textH2-bg: transparent;

  /* 导航色 */
  --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: #FFDDAD;
  --color-coupon: #FFDDAD;
  --coupon-p1: #FFDDAD;
  --coupon-p2: #FFDDAD;
  --coupon-p3: #1A140C;
  --coupon-p3-bg: #F7F2E6;
  --coupon-bd: #C6A36A;
  --coupon-img-display: block;

  /* 商品区与按钮色 */
  --NY-title: #1A140C;
  --sell-text: #1A140C;
  --buy-btn: #1A140C;
  --buy-btn-hover: #000000;
  --more-btn: #D9B374;
  --more-btn-text: #1A140C;
  --more-btn-border: #D9B374;

  /* 其他可配置属性：区块标题压在深色标题图上，用金色 */
  --free-title: #FFDDAD;
  --title-bg: #FFDDAD;
  --title-transform: translate(-50%, -70%);
}

#module,
#module .module_bg {
  background-color: #0b0b0b;
}

#module img{
  margin: inherit;
}

#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.4vw;
  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;
  border-bottom: 0;
  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: transparent;
  color: #FEE485;
  -webkit-text-fill-color: #FEE485;
  font-weight: 800;
  padding: 0;
  line-height: 1.15;
  border-radius: 0;
  font-size: 1.7vw;
}

#module .Wb_textH2 span,
#module .Wb_textH2 .Wb_textH2_p1 {
  color: #FEE485;
  -webkit-text-fill-color: #FEE485;
  font-weight: 900;
  font-size: inherit;
}

#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: #E10600;
}

@media screen and (max-width: 1460px) {
  #module .Wb_textH2 {
    font-size: 1.8vw;
  }
  #module .Wb_textH2 span {
    font-size: 2.2vw;
    color: #E10600;
  }
}

@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: 8vw;
    margin: 0 auto 2vw;
    padding: 0;
  }
  #module .module_banner .module_banner_text .Wb_textH2 span {
    font-size: 10.4vw;
  }
  #module .Wb_text1,
  #module .Wb_text2 {
    font-size: 6.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 .NY_price span {
  color: #E10600;
}
#module .NY_buy_btn a {
  background: #fff;
  color: #1A140C;
  border: 1px solid #1A140C;
  border-radius: 999px;
}
#module .NY_buy_btn a:hover {
  background: #1A140C;
  color: #F6E7C4;
  border-color: #1A140C;
}
#module .NY_More a {
  color: #1A140C;
  background: #D9B374;
  border-color: #D9B374;
}

#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 solid #D9B374;
  background: transparent;
  color: #FFDDAD;
  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: #D9B374;
  color: #1A140C;
  border-style: solid;
  border-color: #D9B374;
}
#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;
  }
  #module a.pair-card{
    width: 100%;
  }
}

#module .banner-buy{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1vw;
  padding: 0.45vw 1.6vw;
  border: 1px solid #F6E7C4;
  border-radius: 999px;
  color: #F6E7C4;
  font-size: 1vw;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}
#module .acc-module{
  background: #fff;
  border-radius: 0.78125vw;
  margin-bottom: var(--spacing-md);
  padding-bottom: 1.2vw;
}
#module .acc-module > .NY_big,
#module .acc-module .NY_middlebox{
  background: transparent;
  margin-bottom: 0;
  box-shadow: none;
}
#module .acc-module > .NY_big{
  border-radius: 0;
  padding-bottom: 0.4vw;
}
#module .acc-tip{
  margin: 0 0 12px;
  text-align: center;
  color: #9A9A9A;
  font-size: 14px;
}
#module .pair-row{
  display: flex;
  flex-wrap: wrap;
  gap: 1%;
  margin: 0 1.2vw;
}
#module .pair-row.more-deals{
  margin: 0;
}
#module a.pair-card{
  display: flex;
  align-items: center;
  gap: 0.625vw;
  width: 49.5%;
  box-sizing: border-box;
  /* padding: 0.625vw 0.938vw; */
  background: #F3F6FB;
  border-radius: 0.469vw;
  color: inherit;
  text-decoration: none;
}
#module .pair-card.pink{ background: #F8F0F4; }
#module .pair-card.full{ width: 100%; }
#module .pair-card img{
  width: 10.399vw;
  height: auto;
  flex: none;
}
#module .pair-tag{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 1.172vw;
  padding: 0 0.625vw;
  background: #FFFFFF;
  border-radius: 0.391vw;
  color: #0F0F0F;
  font-size: 0.82vw;
  font-weight: 400;
  line-height: 1;
}
#module .pair-name{
  display: block;
  margin: 0.938vw 0;
  color: #2D1801;
  font-size: 0.938vw;
  font-weight: bold;
  line-height: 1.2;
}
#module .pair-desc{
  display: block;
  margin: 0 0 0.313vw;
  color: #666;
  font-size: 0.625vw;
  line-height: 1.4;
}
#module .pair-link{
  display: block;
  margin: 0;
  color: #0F0F0F;
  font-size: 0.703vw;
  font-weight: 400;
  line-height: 1.3;
}
#module .perk-wrap{
  position: relative;
  padding: 0;
}
#module .perk-swiper{ overflow: hidden; }
#module .perk-swiper .swiper-button-prev,
#module .perk-swiper .swiper-button-next{
  width: 2.5vw !important;
  height: 2.5vw !important;
  margin-top: -1.25vw;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.3) !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  color: #FFFFFF !important;
}
#module .perk-swiper .swiper-button-prev{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E") !important;
}
#module .perk-swiper .swiper-button-next{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E") !important;
}
#module .perk-swiper .swiper-button-prev::after,
#module .perk-swiper .swiper-button-next::after{
  content: '' !important;
}
#module .perk-swiper .swiper-slide img{
  width: 100%;
  height: auto;
  display: block;
}
#module .bf-terms{
  margin: 0.391vw auto 1.563vw;
  padding: 2.6042vw;
  color: #E8D7A8;
  text-align: left;
  background-color: #131313;
  margin-top: 1.8229vw;
}
#module .bf-terms h2{
  margin: 0 0 0.625vw;
  color: #E8C97A;
  font-size: 1.563vw;
  font-weight: 700;
  text-align: left;
}
#module .bf-terms h3{
  margin: 0.625vw 0 0.234vw;
  color: #E8C97A;
  font-size: 0.938vw;
  font-weight: 700;
}
#module .bf-terms p{
  margin: 0 0 0.234vw;
  color: #E8D7A8;
  font-size: 0.938vw;
  line-height: 1.6;
}
@media screen and (max-width: 780px){
  #module .banner-buy{
    margin-top: 3vw;
    padding: 1.6vw 5vw;
    font-size: 3.4vw;
  }
  #module .pair-row{
    gap: 3.2vw 0;
  }
  #module a.pair-card{
    width: 100%;
    gap: 3.2vw;
    /* padding: 3.2vw 4vw; */
    border-radius: 2.133vw;
  }
  #module .pair-card img{ width: 33vw; }
  #module .pair-tag{
    height: 4vw;
    padding: 0 2.4vw;
    border-radius: 1.333vw;
    font-size: 2.8vw;
  }
  #module .pair-name{
    margin: 3.2vw 0;
    font-size: 3.2vw;
  }
  #module .pair-desc{ font-size: 2.667vw; }
  #module .pair-link{ font-size: 2.4vw; }
  #module .bf-terms{
    max-width: 92vw;
    margin: 2.667vw auto 5.333vw;
    padding: 1.333vw 2.667vw 4vw;
  }
  #module .bf-terms h2{
    margin-bottom: 2.133vw;
    font-size: 5.333vw;
  }
  #module .bf-terms h3{
    margin: 3.2vw 0 1.067vw;
    font-size: 3.2vw;
  }
  #module .bf-terms p{
    margin-bottom: 1.067vw;
    font-size: 3.2vw;
  }
  #module .perk-swiper .swiper-button-prev,
  #module .perk-swiper .swiper-button-next{
    width: 8.533vw !important;
    height: 8.533vw !important;
    margin-top: -4.267vw;
  }
}
@media screen and (max-width: 480px){
  #module .M-content_begin .NY_smallbox:last-child{
    width: 100%;
  }
  #module .M-content_more1,
  #module .M-content_more2{
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  #module .M-content_more1::-webkit-scrollbar,
  #module .M-content_more2::-webkit-scrollbar{
    display: none;
  }
  #module .M-content_more1{
    margin-bottom: var(--spacing-md);
  }
  #module .M-content_more1 .NY_smallbox,
  #module .M-content_more2 .NY_smallbox{
    flex: 0 0 calc((100% - 1%) / 1.5);
    width: calc((100% - 1%) / 1.5);
    box-sizing: border-box;
    margin-bottom: 0;
    scroll-snap-align: start;
  }
}
