.section-best-sellers {
    width: 100%;
    margin-top: var(--bz-bs-title-mt, 24px);
    padding: 0 80px;
}

.section-best-sellers_title {
    text-align: center;
    font-size: 34px;
    color:#17325C;
    line-height: 43px;
    width: 100%;
}

.section-best-sellers_title svg {
    height: 50px;
    width: auto;
    max-width: 92%;
}

.section-best-sellers_title img {
    width: 100%;
    height: 100%;
    max-height: 45px;
    object-fit: contain;
}

.section-best-sellers_tabs {
    margin-top: var(--bz-bs-tabs-mt, 20px);
}

.section-best-sellers_tabs .nav-tabs .nav-link {
    border: none;
    font-size: 20px;
    font-weight: 400;
    color: #000;
}

.section-best-sellers_tabs .nav-tabs .nav-link.active {
    border-bottom: 3px solid #7d2898;
    color: #7d2898;
}

.section-best-sellers .center-slider {
  justify-content: center;
}

@media screen and (max-width: 1200px) {
  .section-best-sellers {
  }
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
  .section-best-sellers {
    padding: 0;
    margin-top: var(--bz-bs-title-mt-m, 14px);
  }

  .section-best-sellers_title {
    font-size: 24px;
    line-height: auto;
      min-height: 32px;
    height: auto;
  }

    .section-best-sellers_title svg {
      height: 29px;
      width: auto;
      max-width: 90%;
    }

  .section-best-sellers_tabs {
    margin-top: var(--bz-bs-tabs-mt-m, 12px);
  }
}

/* ════════════════════════════════════════════════════════════════
   新增热卖板块（Best Sellers #1790073490926d7bf0e1）
   1) 按钮与卸妆液板块统一：静态黑底白字 → 悬浮白底黑字
   2) 板块上间距收紧：标题 60px→24px，标签 58px→20px
   2026-09-23
   ════════════════════════════════════════════════════════════════ */
#shopline-section-template--index__1790073490926d7bf0e1 .snippet-product-card-second_button-component .btn.btn-outline-primary {
  background-color: #000000 !important;
  color: #FFFFFF !important;
  border-color: #000000 !important;
}

#shopline-section-template--index__1790073490926d7bf0e1 .snippet-product-card-second_button-component .btn.btn-outline-primary:hover,
#shopline-section-template--index__1790073490926d7bf0e1 .snippet-product-card-second_button-component .btn.btn-outline-primary:focus {
  background-color: #FFFFFF !important;
  color: #000000 !important;
  border-color: #000000 !important;
}

/* 内联变量写在 .section-best-sellers 自身上，必须直接命中该元素并直接设 margin */
#shopline-section-template--index__1790073490926d7bf0e1 .section-best-sellers {
  margin-top: 24px !important;
}

#shopline-section-template--index__1790073490926d7bf0e1 .section-best-sellers_tabs {
  margin-top: 20px !important;
}

@media screen and (max-width: 959px) {
  #shopline-section-template--index__1790073490926d7bf0e1 .section-best-sellers {
    margin-top: 16px !important;
  }
  #shopline-section-template--index__1790073490926d7bf0e1 .section-best-sellers_tabs {
    margin-top: 12px !important;
  }
}

/* ── 轮播：一屏正好 5 张，第 6 张靠箭头翻出（2026-09-23）──
   容器 1280px ÷ 5 = 256px/张；卡片 242px + 左右 margin 7px = 256px
   scroll-snap 保证翻页停在卡片边界，不会切掉半张 */
#shopline-section-template--index__1790073490926d7bf0e1 .component-products-slider_slider {
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  /* 原为 center：6 张卡居中溢出，两边各切 128px，中间只剩 4 张完整 */
  justify-content: flex-start !important;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

#shopline-section-template--index__1790073490926d7bf0e1 .slider__slide {
  scroll-snap-align: start;
}

#shopline-section-template--index__1790073490926d7bf0e1 .snippet-product-card-second {
  margin-left: 7px !important;
  margin-right: 7px !important;
}

/* 窄屏按容器宽度自然减少数量，不强制 5 张 */
@media screen and (max-width: 959px) {
  #shopline-section-template--index__1790073490926d7bf0e1 .component-products-slider_slider {
    max-width: 100% !important;
  }
}
