/**
 * TrySafeStore 首页 1:1 视觉（Dawn 风格）— 与官方 CDN 图一致
 * 类前缀 ts-
 * 字体由 index.html 的 Google Fonts 链接加载
 */
.ts-clone-page {
  --ts-ink: #121212;
  --ts-muted: #5c5c5c;
  --ts-bg: #ffffff;
  --ts-bg-subtle: #f3f3f3;
  --ts-accent: #a9eef4;
  --ts-radius: 0.3rem;
  --ts-page: 1200px;
  --ts-font: 'Archivo', system-ui, sans-serif;
  --ts-font-display: 'Bricolage Grotesque', var(--ts-font);
  font-family: var(--ts-font);
  color: var(--ts-ink);
  background: var(--ts-bg);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

.ts-clone-page *,
.ts-clone-page *::before,
.ts-clone-page *::after {
  box-sizing: border-box;
}

.ts-clone-page img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.ts-clone-page a {
  color: inherit;
}
/* 顶栏公告（沿用 #bassinAnnounce* id；与主导航分离开 scroll，见 .ts-header__sticky） */
/* 子页会额外引入 bassin-home.css（4 条/25% 宽）；须用 .bassin-announce 嵌套提高特异性，保证仅 2 条轮播时轨道=200%、每格=50% */
.ts-clone-page .bassin-announce {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  position: relative;
  z-index: 1;
  touch-action: pan-y;
  background: linear-gradient(180deg, #e8fbfd, #d4f5f9);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  /* 与首页一致；压过子页中 bassin-home.css 的 clamp/700 字重 */
  color: var(--ts-ink, #121212);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: normal;
  font-family: var(--ts-font, 'Archivo', system-ui, sans-serif);
}
.ts-clone-page .bassin-announce .bassin-announce__viewport {
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  max-width: 70vw;
  position: relative;
  display: block;
}
/* 与 JS：translateX(-idx*100/n %) 相对轨道宽度；视口宽 V，轨道 n·V，每格 V */
.ts-clone-page .bassin-announce .bassin-announce__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  flex-shrink: 0;
  width: calc(100% * var(--bassin-announce-n, 2));
  min-height: 100%;
  height: auto;
  will-change: transform;
  transition: transform 0.45s ease;
}
.ts-clone-page .bassin-announce .bassin-announce__slide,
.ts-clone-page #bassinAnnounceTrack .bassin-announce__slide {
  box-sizing: border-box;
  flex: 0 0 calc(100% / var(--bassin-announce-n, 2));
  max-width: none;
  text-align: center;
  margin: 0;
  padding: 0.4rem 0.25rem;
  white-space: nowrap;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.35;
  color: var(--ts-ink, #121212);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: normal;
  font-family: var(--ts-font, 'Archivo', system-ui, sans-serif);
}
.ts-clone-page .bassin-announce .bassin-announce__arrow {
  background: none;
  border: none;
  padding: 0.2rem;
  cursor: pointer;
  color: #333;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  /* 子页 bassin-home 在窄屏把 .bassin-announce 压成 0.7rem；与首页仅加载 trysafestore 时保持 0.8rem 一致 */
  .ts-clone-page .bassin-announce,
  .ts-clone-page .bassin-announce .bassin-announce__slide,
  .ts-clone-page #bassinAnnounceTrack .bassin-announce__slide {
    font-size: 0.8rem;
    font-weight: 500;
  }
}

/* 头部：#bassinAnnounceBar 留在 header 内但随页滚动；只让主导航条 sticky（避免双高 sticky + 全局 header 规则冲突） */
.ts-header {
  position: static;
  z-index: auto;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}
.ts-header__sticky {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}
.ts-header__row1 {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  max-width: var(--ts-page);
  margin: 0 auto;
  padding: 0.55rem 1rem;
  min-height: 56px;
  gap: 0.5rem;
}
.ts-header__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--ts-radius);
}
.ts-header__menu:hover,
.ts-header__ic:hover {
  background: var(--ts-bg-subtle);
}
.ts-header__logo {
  text-align: center;
}
.ts-header__logo img {
  max-height: 48px;
  width: auto;
  display: inline-block;
}
.ts-header__actions {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.ts-header__ic {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--ts-ink);
  border-radius: var(--ts-radius);
}
.ts-header__login {
  display: none;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.35rem 0.4rem;
  text-decoration: none;
}
@media (min-width: 600px) {
  .ts-header__login {
    display: inline;
  }
}
.ts-header__row2 {
  display: none;
  max-width: var(--ts-page);
  margin: 0 auto;
  padding: 0 1rem 0.6rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
@media (min-width: 990px) {
  .ts-header__row2 {
    display: block;
  }
  .ts-header__menu {
    display: none;
  }
}
.ts-header__row2 ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ts-header__row2 a {
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.ts-header__row2 a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* 首屏轮播：第 1 张左品蓝+右图；第 2 张左浅灰#f2f2f2+右图+青药丸（与参考图分栏一致） */
.ts-hero {
  position: relative;
  z-index: 0;
  background: #0c0c0c;
  overflow: hidden;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.ts-hero__viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 2.25 / 1;
  max-height: min(46vh, 30rem);
  min-height: 8.5rem;
  box-sizing: border-box;
  overflow: hidden;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  cursor: grab;
}
.ts-hero__viewport.is-grabbing {
  cursor: grabbing;
}
.ts-hero__track {
  display: flex;
  height: 100%;
  width: 200%;
  will-change: transform;
  transition: transform 0.4s ease;
}
@media (prefers-reduced-motion: reduce) {
  .ts-hero__track {
    transition: none;
  }
}
.ts-hero__slide {
  position: relative;
  flex: 0 0 50%;
  width: 50%;
  min-width: 0;
  min-height: 0;
  height: 100%;
}
.ts-hero__slide.is-active {
  z-index: 0;
}
.ts-hero__card {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}
.ts-clone-page a.ts-hero__card--split-blue {
  color: #fff;
}
.ts-clone-page a.ts-hero__card--split-toy {
  color: #121212;
}
.ts-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 40%;
  display: block;
}
/* —— 第 1 张：与参考图一致，左半区品蓝、文案+药丸左对齐并垂直居中，右半人物图 */
.ts-hero__card--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 0;
  height: 100%;
}
.ts-hero__card--split .ts-hero__title {
  font-family: var(--ts-font-display);
}
.ts-hero__split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  box-sizing: border-box;
  padding: 1.5rem 1.15rem 1.5rem 1.4rem;
  text-align: left;
  min-height: 0;
}
.ts-hero__card--split-blue .ts-hero__split-copy {
  background: #2189c1;
}
.ts-hero__card--split-toy .ts-hero__split-copy {
  background: #f2f2f2;
}
@media (min-width: 750px) {
  .ts-hero__split-copy {
    padding: 1.6rem 1.35rem 1.6rem 1.6rem;
  }
}
@media (min-width: 990px) {
  .ts-hero__split-copy {
    padding-left: max(1.5rem, calc((100vw - var(--ts-page)) / 2 + 0.75rem));
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}
.ts-hero__card--split-blue .ts-hero__title {
  max-width: 14ch;
  font-size: clamp(1.1rem, 2.6vw, 1.75rem);
  line-height: 1.2;
  margin: 0 0 0.4rem;
  color: #fff;
  text-shadow: none;
  font-weight: 700;
}
.ts-hero__card--split-blue .ts-hero__line {
  margin: 0 0 0.9rem;
  max-width: 20rem;
  font-size: clamp(0.78rem, 1.4vw, 0.95rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: none;
  font-weight: 400;
}
.ts-hero__card--split-toy .ts-hero__title {
  max-width: 16ch;
  font-size: clamp(1.05rem, 2.4vw, 1.7rem);
  line-height: 1.2;
  margin: 0 0 0.35rem;
  color: #121212;
  text-shadow: none;
  font-weight: 700;
}
.ts-hero__card--split-toy .ts-hero__line {
  margin: 0 0 0.85rem;
  max-width: 22rem;
  font-size: clamp(0.75rem, 1.3vw, 0.95rem);
  line-height: 1.45;
  color: #5c5c5c;
  text-shadow: none;
  font-weight: 400;
}
.ts-hero__cta-pill {
  display: inline-block;
  margin-top: 0.1rem;
  padding: 0.55rem 1.4rem;
  background: #fff;
  color: #121212;
  font-size: 0.86rem;
  font-weight: 600;
  border-radius: 9999px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  pointer-events: none;
}
.ts-hero__cta-pill--accent {
  background: #a8ebf0;
  color: #121212;
  box-shadow: none;
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 0.5rem 1.35rem;
}
.ts-hero__split-pic {
  position: relative;
  min-height: 0;
  overflow: hidden;
}
.ts-hero__card--split-blue .ts-hero__split-pic {
  background: #1a5f88;
}
.ts-hero__card--split-toy .ts-hero__split-pic {
  background: #e8e8e8;
}
.ts-hero__card--split-blue .ts-hero__img {
  object-position: 58% 42%;
}
.ts-hero__card--split-toy .ts-hero__img {
  object-position: 52% 48%;
}
/* 小屏：整图 + 底部渐变叠字（分蓝 / 浅灰两套，避免「半图半块」裁切） */
@media (max-width: 749px) {
  .ts-hero__card--split-blue,
  .ts-hero__card--split-toy {
    display: block;
    position: relative;
  }
  .ts-hero__card--split-blue .ts-hero__split-pic,
  .ts-hero__card--split-toy .ts-hero__split-pic {
    position: absolute;
    inset: 0;
    width: 100%;
    order: 0;
    max-height: none;
    aspect-ratio: auto;
  }
  .ts-hero__card--split-blue .ts-hero__split-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    min-height: 0;
    background: linear-gradient(
      to top,
      #2189c1 0%,
      #2189c1d9 15%,
      rgba(33, 137, 193, 0.55) 45%,
      rgba(33, 137, 193, 0) 100%
    );
    justify-content: flex-end;
    padding: 1.4rem 1.15rem 1rem 1.2rem;
  }
  .ts-hero__card--split-toy .ts-hero__split-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    min-height: 0;
    background: linear-gradient(
      to top,
      #f2f2f2 0%,
      #f2f2f2e6 18%,
      rgba(242, 242, 242, 0.55) 48%,
      rgba(242, 242, 242, 0) 100%
    );
    justify-content: flex-end;
    padding: 1.35rem 1.15rem 1rem 1.2rem;
  }
  .ts-hero__card--split-blue .ts-hero__img {
    object-position: 50% 24%;
  }
  .ts-hero__card--split-toy .ts-hero__img {
    object-position: 48% 42%;
  }
  .ts-hero__card--split-blue .ts-hero__title {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  }
  .ts-hero__card--split-blue .ts-hero__line {
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  }
  .ts-hero__card--split-toy .ts-hero__title {
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.4);
  }
  .ts-hero__card--split-toy .ts-hero__line {
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
  }
}
.ts-btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  background: var(--ts-accent);
  color: var(--ts-ink);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--ts-radius);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
}
.ts-btn:hover {
  background: #8ee4ed;
  transform: translateY(-1px);
}
/* 横幅、分栏里纯 ts-btn：窄版药丸、随内容宽度、水平居中 */
.ts-banner__overlay .ts-btn,
.ts-split__text .ts-btn:not(.ts-btn--secondary) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: max-content;
  max-width: min(100%, 16rem);
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.86rem;
  line-height: 1.2;
  box-sizing: border-box;
}

/* 通用区段 */
.ts-page-width {
  max-width: var(--ts-page);
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.ts-rte {
  text-align: center;
  padding: 2rem 0 0.5rem;
}
/* Dawn: rich text section padding 约 30/40px 顶、9/12px 底 */
.ts-rte--dawn {
  padding: 1.9rem 0 0.5rem;
}
@media (min-width: 750px) {
  .ts-rte--dawn {
    padding: 2.5rem 0 0.75rem;
  }
}
.ts-rte h2 {
  font-family: var(--ts-font-display);
  font-size: clamp(1.4rem, 3.5vw, 1.85rem);
  font-weight: 600;
  margin: 0 0 0.6rem;
}
.ts-rte--dawn h2 {
  font-size: clamp(1.85rem, 4.2vw, 2.45rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  max-width: min(26rem, 92vw);
  margin-left: auto;
  margin-right: auto;
  padding: 0 0.5rem;
  text-wrap: balance;
}
@supports not (text-wrap: balance) {
  .ts-rte--dawn h2 {
    text-wrap: wrap;
  }
}
.ts-rte p {
  color: var(--ts-muted);
  line-height: 1.6;
  max-width: 46rem;
  margin: 0 auto;
  font-size: 0.88rem;
}
.ts-rte--dawn p {
  font-size: 0.875rem;
}

/* 分类卡：单列一行一个（非 2×2 / 四列） */
.ts-collect {
  padding: 0.5rem 0 2rem;
}
.ts-collect__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0 1rem;
  max-width: var(--ts-page);
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 750px) {
  .ts-collect__grid {
    gap: 0.85rem;
  }
}
.ts-collect__item a {
  display: block;
  text-decoration: none;
  color: var(--ts-ink);
  background: var(--ts-bg);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--ts-radius);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.15s;
}
.ts-collect__item a:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.ts-collect__item figure {
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  background: #eee;
}
.ts-collect__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ts-collect__item h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  margin: 0;
  padding: 0.65rem 0.4rem 0.85rem;
  font-family: var(--ts-font-display);
}
.ts-collect__arr {
  display: inline-block;
  font-weight: 500;
  opacity: 0.55;
  font-size: 0.9em;
  transform: translateY(0.05em);
  transition: transform 0.2s, opacity 0.2s;
}
.ts-collect__item a:hover .ts-collect__arr {
  transform: translate(2px, 0.05em);
  opacity: 0.9;
}

/* 左图右文 */
.ts-split {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  margin: 0;
}
@media (min-width: 750px) {
  .ts-split {
    grid-template-columns: 1fr 1fr;
  }
  .ts-split--rev .ts-split__text,
  .ts-split--dawn-rev .ts-split__text {
    order: -1;
  }
}
/* 首条 split（Group_1）：文案列黑底白字 */
.ts-split--dawn-rev .ts-split__text {
  background: #121212;
  color: #fff;
}
.ts-split--dawn-rev .ts-split__text h2 {
  color: #fff;
}
.ts-split--dawn-rev .ts-split__text p {
  color: rgba(255, 255, 255, 0.9);
}
.ts-split--dawn-rev .ts-btn--secondary {
  align-self: center;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.9);
  background: transparent;
}
.ts-split--dawn-rev .ts-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
}
.ts-split__img img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}
.ts-split__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 1.25rem;
  background: #f3fddc;
}
.ts-split__text h2 {
  font-family: var(--ts-font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin: 0 0 0.75rem;
}
.ts-split__text p {
  color: var(--ts-muted);
  line-height: 1.6;
  margin: 0 0 1rem;
  font-size: 0.95rem;
}
.ts-btn--secondary {
  background: transparent;
  border: 1px solid var(--ts-ink);
  align-self: flex-start;
}

/* Fruit 分栏：浅粉底 #F4DFE3、文居中、暖粉 CTA（对齐参考图） */
.ts-split--fruit .ts-split__text--center-pink,
.ts-split__text--center-pink {
  background: #f4dfe3;
  text-align: center;
  align-items: center;
  padding: 2.5rem 1.35rem 2.25rem;
}
.ts-split__text--center-pink h2 {
  color: #1a1f2e;
  font-weight: 700;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}
.ts-split__text--center-pink p {
  color: #3d4a5c;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.ts-split__text--center-pink .ts-btn {
  background: #e86b6b;
  color: #fff;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-top: 0.25rem;
}
.ts-split__text--center-pink .ts-btn:hover {
  background: #d85a5a;
  color: #fff;
  transform: translateY(-1px);
}

/* 区标题 + 商品 2 列网格（2×2 起，多行续排） */
.ts-prod-block {
  padding: 2rem 0 1.5rem;
  background: var(--ts-bg);
}
.ts-prod-block--alt {
  background: #fafafa;
}
.ts-prod-block__head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 1.25rem;
  padding: 0 1rem;
}
.ts-prod-block__head h2 {
  font-family: var(--ts-font-display);
  font-size: clamp(1.4rem, 3.2vw, 1.9rem);
  margin: 0 0 0.4rem;
}
.ts-prod-block__head p {
  margin: 0;
  color: var(--ts-muted);
  font-size: 0.92rem;
}
.ts-prod-block__head p.ts-prod-block__head-sm {
  font-size: 0.8rem;
  line-height: 1.45;
}
/* 商品两列；提高权重，并用 !important 防全局样式盖掉 grid */
body.ts-clone-page .ts-prod-block .ts-prod-strip[role="list"],
body.brand-layout.ts-clone-page .ts-prod-strip[role="list"],
body.ts-clone-page .ts-prod-block .ts-prod-strip,
body.ts-clone-page .ts-prod-strip,
.ts-prod-block .ts-prod-strip,
.ts-prod-strip {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-auto-flow: row;
  column-gap: 0.85rem;
  row-gap: 1.1rem;
  align-items: start;
  padding: 0 1rem 0.5rem;
  max-width: var(--ts-page);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}
.ts-pcard {
  min-width: 0;
}
.ts-pcard a {
  text-decoration: none;
  color: var(--ts-ink);
  display: block;
}
.ts-pcard__img {
  aspect-ratio: 1;
  background: #f0f0f0;
  border-radius: var(--ts-radius);
  overflow: hidden;
  margin-bottom: 0.45rem;
}
.ts-pcard__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ts-pcard__title {
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.35;
  margin: 0 0 0.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ts-pcard__price {
  font-size: 0.78rem;
  color: var(--ts-muted);
  margin: 0;
  line-height: 1.35;
}
/* 数据库匹配后：原价（划线）+ 现价，由 script.js 写入 span */
.ts-pcard__price-compare {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: #9ca3af;
  color: #9ca3af;
  font-weight: 400;
  margin-right: 0.25rem;
  white-space: nowrap;
}
.ts-pcard__price-current {
  color: #c00;
  font-weight: 600;
  white-space: nowrap;
}

/* 全宽横幅 */
.ts-banner {
  position: relative;
  line-height: 0;
}
.ts-banner img {
  width: 100%;
  max-height: 82vh;
  object-fit: cover;
}
.ts-banner__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem 1.25rem;
  /* 整体压暗，便于白字阅读 */
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.58) 45%,
    rgba(0, 0, 0, 0.52) 100%
  );
}
.ts-banner__overlay > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  max-width: 38rem;
}
@media (min-width: 750px) {
  .ts-banner__overlay > div {
    gap: 1.35rem;
  }
}
.ts-banner__overlay h2 {
  color: #fff;
  font-family: var(--ts-font-display);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.85),
    0 2px 24px rgba(0, 0, 0, 0.65);
}
.ts-banner__overlay p {
  color: rgba(255, 255, 255, 0.96);
  margin: 0;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.5;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.75);
}

/* Why us：单条轮播 + 底栏 ‹ 1/4 › */
.ts-why {
  padding: 2.5rem 1rem 2rem;
  text-align: center;
  background: #fff;
}
.ts-why h2 {
  font-family: var(--ts-font-display);
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  margin: 0 0 1.25rem;
}
.ts-why__grid {
  max-width: 24rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.ts-why__viewport {
  position: relative;
  width: 100%;
  min-height: 12.5rem;
  overflow: hidden;
}
.ts-why__slides {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  width: 100%;
  min-height: 12.5rem;
}
.ts-why__slide {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  pointer-events: none;
  z-index: 0;
  transform: translateZ(0);
}
.ts-why__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  pointer-events: auto;
}
.ts-why__slide-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.5rem 1rem 0.75rem;
  width: 100%;
  max-width: 20rem;
  margin: 0 auto;
}
.ts-why__slide-inner img {
  width: 5.5rem;
  height: 5.5rem;
  object-fit: contain;
  flex-shrink: 0;
}
.ts-why__slide-inner h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  color: #2c2c2c;
  line-height: 1.3;
}
.ts-why__nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
  padding: 0.2rem 0 0.15rem;
  width: 100%;
}
.ts-why__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  color: #333;
  font-size: 0.9rem;
  line-height: 1;
  border-radius: var(--ts-radius);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s;
}
.ts-why__arrow:hover {
  background: #f5f5f5;
  border-color: rgba(0, 0, 0, 0.2);
}
.ts-why__arrow:focus-visible {
  outline: 2px solid var(--ts-accent);
  outline-offset: 2px;
}
.ts-why__fraction {
  font-size: 0.68rem;
  font-weight: 500;
  color: #444;
  min-width: 1.65rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
.ts-why__cur {
  color: #121212;
}

/* 页脚：深灰底、多列网格、左对齐列表、底栏版权分色
   （盖过 style.css 的 `footer` 与 .ts-clone-page a 的特指度竞争） */
body.ts-clone-page footer.ts-footer {
  --ts-foot-bg: #1c1c1c;
  --ts-foot-link: #f5f5f5;
  --ts-foot-muted: #d4d4d4;
  display: block;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  background: var(--ts-foot-bg);
  color: #fff;
  margin: 0;
  margin-top: 0;
  padding: 0;
  border: none;
  border-top: none;
  clear: both;
  position: relative;
  z-index: 0;
  overflow: visible;
}
footer.ts-footer .ts-footer__inner,
.ts-footer__inner {
  max-width: min(72rem, 100%);
  margin: 0 auto;
  padding: 2.25rem 1.25rem 1.75rem;
  text-align: left;
  box-sizing: border-box;
}
.ts-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.65rem 2rem;
  align-items: start;
}
.ts-footer__lead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
}
.ts-footer__brand {
  display: inline-block;
  line-height: 0;
  margin: 0;
  align-self: center;
  padding: 0.5rem 0.85rem;
  background: #1c1c1c;
  color: #fff;
}
.ts-footer__brand img {
  max-height: 48px;
  width: auto;
  height: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
  /* 原图为深色时在黑底上转为浅色，接近「白字」效果 */
  filter: brightness(0) invert(1);
}
.ts-footer__block {
  width: 100%;
  text-align: left;
}
/* 覆盖 style.css 全局 `nav { display:flex; justify-content:space-between }`，
   否则页脚里 h2 与链接列表会横排拉开、标题相对整列垂直居中，显得杂乱 */
body.ts-clone-page footer.ts-footer nav.ts-footer__block {
  display: block;
  max-width: none;
  margin: 0;
  padding: 0;
  justify-content: initial;
  align-items: initial;
}
.ts-footer__heading {
  font-family: var(--ts-font);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #fff;
  margin: 0 0 0.5rem;
}
.ts-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.05rem;
}
body.ts-clone-page .ts-footer .ts-footer__list a {
  display: inline-block;
  text-decoration: none;
  color: var(--ts-foot-link) !important;
  font-size: 0.9rem;
  line-height: 1.65;
  padding: 0.1rem 0;
}
body.ts-clone-page .ts-footer .ts-footer__list a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
  color: #fff !important;
}
body.ts-clone-page .ts-footer a.ts-footer__link--current {
  text-decoration: underline;
  text-underline-offset: 0.2em;
  color: #fff !important;
}
body.ts-clone-page .ts-footer a.ts-footer__brand {
  color: #fff !important;
  text-decoration: none;
}
.ts-footer__mission-text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ts-foot-muted);
  max-width: 38rem;
  text-align: left;
}
.ts-footer__bottom {
  text-align: center;
  font-size: 0.88rem;
  margin: 0;
  padding: 1.1rem 1rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--ts-foot-bg);
  line-height: 1.4;
}
.ts-footer__copy-year {
  color: #7dd3fc;
  font-weight: 500;
  margin-right: 0.15rem;
}
body.ts-clone-page .ts-footer a.ts-footer__copy-name {
  color: #f97316 !important;
  font-weight: 600;
  text-decoration: none;
}
body.ts-clone-page .ts-footer a.ts-footer__copy-name:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
  color: #fb923c !important;
}
footer.ts-footer .ts-footer__bottom,
.ts-footer__bottom {
  width: 100%;
  box-sizing: border-box;
  display: block;
}
body.ts-clone-page footer.ts-footer p.ts-footer__mission-text {
  color: var(--ts-foot-muted);
}
/* 平板：两列链接 + 通栏品牌与使命 */
@media (min-width: 36rem) and (max-width: 59.9375rem) {
  .ts-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .ts-footer__lead {
    grid-column: 1 / -1;
    align-items: center;
    justify-content: center;
  }
  .ts-footer__grid > nav:nth-of-type(1) {
    grid-column: 1;
  }
  .ts-footer__grid > nav:nth-of-type(2) {
    grid-column: 2;
  }
  .ts-footer__mission {
    grid-column: 1 / -1;
  }
  .ts-footer__mission-text {
    max-width: 42rem;
  }
}
/* 桌面：四列一行（品牌+社交 | 客服 | 菜单 | 使命） */
@media (min-width: 60rem) {
  .ts-footer__grid {
    grid-template-columns: minmax(11rem, 1.05fr) minmax(9rem, 0.95fr) minmax(9rem, 0.95fr) minmax(12rem, 1.15fr);
    column-gap: 2rem;
  }
  .ts-footer__lead {
    grid-column: 1;
    flex-direction: column;
    align-items: center;
  }
  .ts-footer__grid > nav:nth-of-type(1) {
    grid-column: 2;
  }
  .ts-footer__grid > nav:nth-of-type(2) {
    grid-column: 3;
  }
  .ts-footer__mission {
    grid-column: 4;
  }
}

/* 移动端汉堡菜单：侧栏 + 遮罩。复选框在 body 上；侧栏在 #site-footer-mount 内时仍用 ~ 指向该挂载点 */
.brand-nav-drawer-input:checked ~ .brand-nav-drawer-panel,
.brand-nav-drawer-input:checked ~ #site-footer-mount .brand-nav-drawer-panel {
  transform: translateX(0);
  visibility: visible;
}
.brand-nav-drawer-input:checked ~ .brand-nav-drawer-backdrop,
.brand-nav-drawer-input:checked ~ #site-footer-mount .brand-nav-drawer-backdrop {
  opacity: 1;
  pointer-events: auto;
}
.brand-nav-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  cursor: pointer;
}
body.ts-clone-page nav.brand-nav-drawer-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: min(20rem, 88vw);
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 3.25rem 0 1.5rem;
  display: block;
  background: #fff;
  z-index: 999;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.1);
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform 0.28s ease, visibility 0.28s;
  box-sizing: border-box;
}
.brand-nav-drawer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
/* 非首页：侧栏主菜单略向右，避免贴齐左缘 */
body.ts-clone-page:not([data-nav="home"]) .brand-nav-drawer-list {
  padding-left: 0.75rem;
  padding-right: 0.25rem;
  box-sizing: border-box;
}
.brand-nav-drawer-list li {
  margin: 0;
  padding: 0;
}
.brand-nav-drawer-link {
  display: block;
  padding: 0.85rem 1.25rem;
  font-family: var(--ts-font);
  font-size: 1rem;
  font-weight: 500;
  color: #121212;
  text-decoration: none;
  line-height: 1.35;
  transition: background 0.15s ease;
}
.brand-nav-drawer-link:hover {
  background: #f3f3f3;
}
body.ts-clone-page:not([data-nav="home"]) .brand-nav-drawer-link {
  padding-left: 1.5rem;
  padding-right: 1.35rem;
}
.brand-nav-drawer-link--current,
.brand-nav-drawer-link[aria-current='page'] {
  background: #e8e8e8;
}
.brand-nav-drawer-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 8px;
  color: #333;
  margin: 0;
}
.brand-nav-drawer-close:hover {
  background: #f0f0f0;
}

/* 购物车抽屉在 style.css 中，避免冲突 */
.ts-clone-page .cart-drawer {
  z-index: 100;
}
