/**
 * PureWatches Homepage — 移动优先 Rem 布局
 * ═══════════════════════════════════════════════════════════════
 *
 * Rem 基准策略
 * ──────────────────────────────────────────────────────────────
 * • 不修改 html font-size，保持浏览器默认 16px = 1rem
 * • 静态尺寸（border / icon / gap）直接使用 rem
 * • 动态尺寸（font-size / padding）使用 clamp(min, vw, max)
 * • 媒体查询断点全部使用 rem（min-width 优先）
 *
 * 断点参考
 * ──────────────────────────────────────────────────────────────
 *   移动端（默认）      < 37.5rem  (600px)
 *   小平板  sm         37.5rem    (600px)
 *   平板    md         48rem      (768px)
 *   桌面    lg         64rem      (1024px)
 *   宽屏    xl         80rem      (1280px)
 * ═══════════════════════════════════════════════════════════════
 */

/* ──────────────────────────────────────────────────────────────
   1. 设计令牌（CSS 自定义属性 + Astra 全局变量联动）
   ────────────────────────────────────────────────────────────── */
:root {
  /* 主色 —— 读取 Astra 后台调色板，后台改色全局生效 */
  --pw-accent: var(--ast-global-color-0, #c9a84c);
  --pw-accent-green: #61CE70;
  --pw-accent-dark: var(--ast-global-color-1, #a8863a);
  --pw-accent-rgb: 201, 168, 76;

  /* 背景层次 */
  --pw-dark: #f5f7f7;

  /* 边框 */
  --pw-border: rgba(var(--pw-accent-rgb), 0.22);
  --pw-border-hover: rgba(var(--pw-accent-rgb), 0.55);

  /* 字体 —— 读取 Astra 全局字体设置 */
  --pw-font-body: var(--ast-body-font-family, "Inter", sans-serif);
  --pw-font-heading: var(--ast-heading-font-family, "Inter", sans-serif);

  /* 圆角 */
  --pw-radius: 0.125rem; /* 2px */

  /* 过渡 */
  --pw-trans: 0.28s cubic-bezier(0.4, 0, 0.2, 1);

  /* 流体间距 token */
  --pw-section-py: clamp(3rem, 8vw, 6rem);
  --pw-container-px: clamp(1rem, 5vw, 4rem);
  --pw-gap: clamp(0.75rem, 2.5vw, 1.5rem);
}

/* ──────────────────────────────────────────────────────────────
   2. 全局基础（作用域锁在 #pw-homepage，不污染 Astra 主题）
   ────────────────────────────────────────────────────────────── */
#pw-homepage {
  font-family: var(--pw-font-body);
  color: #e5e7eb;
  background: var(--pw-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

#pw-homepage *,
#pw-homepage *::before,
#pw-homepage *::after {
  box-sizing: border-box;
}

#pw-homepage a {
  color: inherit;
  text-decoration: none;
}

#pw-homepage img {
  display: block;
  max-width: 100%;
}

#pw-homepage .ast-container {
  max-width: 100%;
  padding: 0;
}

/* Astra 容器全局修复 */
.ast-container {
  display: block !important;
}

/* ──────────────────────────────────────────────────────────────
   3. VIDEO HERO BANNER
   ────────────────────────────────────────────────────────────── */

/* section 容器：占满视口高度，flex 居中子容器 */
.pw-vbanner {
  position: relative;
  width: 100%;
  min-height: 20rem;
  overflow: hidden;
  background: var(--pw-dark);
  display: flex;
  justify-content: center;
}

/* Layer 1: 视频包裹
 *   ≤1260px：16:9 视频
 *   >1260px：3:1  视频（by media query below）
 */
.pw-vbanner__video-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

@media (min-width: 78.8125rem) { /* 1261px */
  .pw-vbanner__video-wrap {
    aspect-ratio: 3 / 1;
  }
}

/* 封面图：<picture> 绝对定位覆盖整个 wrap，浮在视频（z-index:0）上方 */
.pw-vbanner__poster {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  transition: opacity 0.7s ease;
}

.pw-vbanner__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 视频播放后：封面图淡出，露出底层视频 */
.pw-vbanner__video-wrap.is-playing .pw-vbanner__poster {
  opacity: 0;
  pointer-events: none;
}

/* 视频：绝对定位填满 wrap */
.pw-vbanner__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transform: translateZ(0);
  will-change: transform;
}

/* Layer 2: 全宽渐变遮罩 */
.pw-vbanner__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* Layer 3: 文案内容，绝对定位浮于遮罩上方
 *   移动端 & PC：左下角
 */
.pw-vbanner__inner {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  width: 100%;
  padding-inline: var(--pw-container-px);
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

/* 文案区：移动端全宽，PC 限宽 */
.pw-vbanner__content {
  max-width: min(100%, 36rem);
  margin-inline: 0;
}

/* 按钮组 */
.pw-vbanner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.5rem, 2vw, 1rem);
  animation: pw-fade-up 0.9s 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.pw-vbanner__arrow {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
  margin-inline-start: 0.35rem;
  transition: transform var(--pw-trans);
}

/* 移动端：按钮纵向堆叠撑满宽度 */
@media (max-width: 37.5rem) {
  .pw-vbanner__actions {
    flex-direction: column;
    width: 100%;
  }
  .pw-vbanner__actions .pw-btn-ghost {
    width: 100%;
    justify-content: center;
  }
}

/* ──────────────────────────────────────────────────────────────
   4. 按钮系统
   ────────────────────────────────────────────────────────────── */
.pw-btn-ghost {
  display: inline-flex;
  align-items: center;
  background: var(--pw-accent-green);
  color: rgba(255, 255, 255, 1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--pw-radius);
  padding: clamp(0.625rem, 2vw, 0.875rem) clamp(1.25rem, 4vw, 2rem);
  font-weight: 500;
  font-size: clamp(0.625rem, 1.8vw, 0.75rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color var(--pw-trans),
    border-color var(--pw-trans),
    background var(--pw-trans);
}

.pw-btn-ghost:hover {
  border-color: var(--pw-border-hover);
  background: var(--pw-accent-green);
  opacity: 0.6;
}

/* ──────────────────────────────────────────────────────────────
   5. 动效关键帧
   ────────────────────────────────────────────────────────────── */

/* 主标题：模糊消散 + 上移 + 缩放，制造冲击感入场 */
@keyframes pw-title-enter {
  from {
    opacity: 0;
    transform: translateY(2.5rem) scale(0.9);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* 副标题：下方淡入上移 */
@keyframes pw-fade-up {
  from { opacity: 0; transform: translateY(1.25rem); }
  to   { opacity: 1; transform: translateY(0); }
}


/* 标题下划线从左向右展开 */
@keyframes pw-line-in {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 1; }
}

/* ──────────────────────────────────────────────────────────────
   6. Banner 标题区块（banner-title-contaniner）
      位于 .pw-vbanner 下方，背景与页面一致（#f5f7f7）
   ────────────────────────────────────────────────────────────── */
.banner-title-contaniner {
  max-width: 80rem;
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 2.5rem) var(--pw-container-px) clamp(1rem, 3vw, 1.75rem);
  text-align: center;
}

/* 主标题：冲击感入场动效 */
.banner-title-contaniner .pw-vbanner__title {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #111827;
  text-shadow: none;
  position: relative;
  display: inline-block;
  margin-bottom: 0.3em;
  /* 入场：模糊→清晰 + 上移 + 缩放，0.7s 完成，曲线弹性收尾 */
  animation: pw-title-enter 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* 主标题底部金色装饰线，随标题入场后延迟展开 */
.banner-title-contaniner .pw-vbanner__title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.15em;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--pw-accent) 0%,
    rgba(var(--pw-accent-rgb), 0.15) 100%
  );
  border-radius: 2px;
  transform-origin: left;
  animation: pw-line-in 0.6s 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* 副标题：深金色，延迟淡入 */
.banner-title-contaniner .pw-vbanner__subtitle {
  display: block;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-top: clamp(0.75rem, 2vw, 1rem);
  margin-bottom: 0;
  color: var(--pw-accent-dark);
  /* 入场延迟 0.35s，确保主标题先登场 */
  animation: pw-fade-up 0.6s 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ──────────────────────────────────────────────────────────────
   7. 优势卡片区块（.pw-advance）
      移动端：2×2 网格
      PC（≥64rem）：4列单行
   ────────────────────────────────────────────────────────────── */
.pw-advance {
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  padding: clamp(2rem, 5vw, 3rem) clamp(1rem, 4vw, 2rem);
}

.pw-advance__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  max-width: 80rem;
  margin-inline: auto;
  background: rgba(0, 0, 0, 0.07); /* 间隔线色 */
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 0.5rem;
  overflow: hidden;
}

/* 每张卡片 */
.pw-advance__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: clamp(1.5rem, 4vw, 2rem) clamp(1rem, 3vw, 1.5rem);
  background: #fff;
  transition: background 0.2s ease;
}

.pw-advance__card:hover {
  background: #fafaf8;
}

/* 图标容器：金色圆形背景 */
.pw-advance__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(var(--pw-accent-rgb), 0.1);
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.pw-advance__card:hover .pw-advance__icon-wrap {
  background: rgba(var(--pw-accent-rgb), 0.18);
  transform: translateY(-2px);
}

.pw-advance__icon {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  display: block;
}

/* 标题 */
.pw-advance__title {
  margin: 0;
  font-size: clamp(0.7rem, 1.2vw, 0.8rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a1a1a;
  line-height: 1.3;
}

/* 描述 */
.pw-advance__desc {
  margin: 0;
  font-size: clamp(0.78rem, 1.1vw, 0.875rem);
  color: rgba(0, 0, 0, 0.55);
  line-height: 1.6;
}

/* PC：4列单行 */
@media (min-width: 64rem) {
  .pw-advance__inner {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ──────────────────────────────────────────────────────────────
   8. 内容区块布局（#pw-homepage-content）
      移动端：单列堆叠
      PC（≥64rem）：图文双列，奇数图左文右，偶数文左图右
   ────────────────────────────────────────────────────────────── */
.pw-homepage-content {
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: var(--pw-container-px);
  font-family: var(--pw-font-body);
  -webkit-font-smoothing: antialiased;
}

/* 每个区块：移动端单列 */
.pw-content-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  padding-block: clamp(2.5rem, 6vw, 3rem);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.pw-content-section:last-child {
  border-bottom: none;
}

/* PC：双列，图文各占一半 */
@media (min-width: 64rem) {
  .pw-content-section {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(3rem, 0, 5rem);
  }

  /* 图片在格子内限宽缩小，margin auto 使其居中 */
  .pw-cs__media {
    max-width: clamp(14rem, 26vw, 24rem);
    margin-inline: auto;
  }

  /* reverse 变体：图片移到右侧（order 交换） */
  .pw-content-section--reverse .pw-cs__media {
    order: 2;
  }
  .pw-content-section--reverse .pw-cs__text {
    order: 1;
  }
}

/* 媒体列：占位背景 + 图片铺满 */
.pw-cs__media {
  border-radius: 0.5rem;
  overflow: hidden;
  background: #e8eaec;
  aspect-ratio: 3 / 4;
}

.pw-cs__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 文字列：垂直弹性布局 */
.pw-cs__text {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pw-cs__text h2 {
  font-family: var(--pw-font-heading);
  font-size: clamp(1.4rem, 2vw, 1.4rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #111827;
  margin: 0;
}

/* 顶部标签：深金色大写小字 */
.pw-cs__text .summary {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pw-accent-dark);
  margin: 0;
}
@media (min-width: 64rem) {
  .pw-cs__text .summary{
    font-size: 0.7rem;
  } 
  
}
/* 摘要引语：稍大、深色 */
.pw-cs__text .short-desc {
  font-size: 1.1rem;
  font-weight: 500;
  color: #374151;
  margin: 0;
  line-height: 1.65;
}

/* 正文段落 */
.pw-cs__text .content {
  font-size: 1rem;
  line-height: 1.85;
      background: #f9f9f9;
    padding: 0.5rem 0.8rem;
}

.pw-cs__text .content p {
  margin: 0 0 0.75em;
}

.pw-cs__text .content p:last-child {
  margin-bottom: 0;
}

.pw-cs__text .content strong {
  color: #374151;
  font-weight: 600;
}

/* ── 手机端：图片按比例缩小 + 文本截断 + Read More 按钮 ── */
@media (max-width: 63.9375rem) {

  /* 图片限宽居中，高度随 aspect-ratio 3/4 自动收缩 */
  .pw-cs__media {
    max-width: clamp(12rem, 72vw, 20rem);
    margin-inline: auto;
  }

  /* 文本区折叠：约 3 行高度，底部白色渐变遮罩 */
  .pw-cs__text .content {
    position: relative;
    max-height: 5rem;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .pw-cs__text .content::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 2.5rem;
    background: linear-gradient(to bottom, transparent, #fff);
    pointer-events: none;
    transition: opacity 0.25s;
  }

  /* 展开态：移除高度限制和遮罩 */
  .pw-cs__text .content.is-expanded {
    max-height: 60rem;
  }

  .pw-cs__text .content.is-expanded::after {
    opacity: 0;
  }
}

/* 按钮行：Read More + WhatsApp 同行排列 */
.pw-actions-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

/* WhatsApp 按钮取消自身的 margin-top（由容器统一控制） */
.pw-actions-row .pw-btn-whatsapp {
  margin-top: 0;
}

/* Read More 按钮：桌面端隐藏，手机端显示 */
.pw-read-more {
  display: none;
}

@media (max-width: 63.9375rem) {
  .pw-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0;
    padding: 0.8rem 1rem 0.8rem 0.875rem;
    background: #fff;
    border: 1.5px solid var(--pw-accent-dark);
    border-radius: 2rem;
    color: var(--pw-accent-dark);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(168, 134, 58, 0.15);
    transition:
      background 0.22s ease,
      color 0.22s ease,
      box-shadow 0.22s ease,
      transform 0.18s ease;
  }

  .pw-read-more:active {
    transform: scale(0.96);
  }

  /* CSS 绘制的 chevron 箭头 */
  .pw-read-more::after {
    content: '';
    display: inline-block;
    width: 0.45rem;
    height: 0.45rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-0.1rem);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
  }

  /* 展开态：背景填充 + 箭头翻转 */
  .pw-read-more.is-expanded {
    background: var(--pw-accent-dark);
    color: #fff;
    box-shadow: 0 4px 12px rgba(168, 134, 58, 0.3);
  }

  .pw-read-more.is-expanded::after {
    transform: rotate(225deg) translateY(0.1rem);
    border-color: #fff;
  }
}

/* WhatsApp 咨询按钮 */
.pw-btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.25rem;
  padding: 0.5rem 1rem;
  background: #25D366;
  color: #fff;
  border-radius: 2rem;     /* 胶囊形 */
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-decoration: none;
  transition:
    background var(--pw-trans),
    transform var(--pw-trans),
    box-shadow var(--pw-trans);
}

.pw-btn-whatsapp svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  fill: #fff;
}

.pw-btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
  color: #fff;
}

.pw-btn-whatsapp:active {
  transform: translateY(0);
  box-shadow: none;
}

/* ──────────────────────────────────────────────────────────────
   8. Astra 主题冲突修复
   ────────────────────────────────────────────────────────────── */
.page-template-home-page .entry-title,
.page-template-home-page .ast-breadcrumbs-wrapper {
  display: none;
}

/* ──────────────────────────────────────────────────────────────
   9. Brand Grid Section
   ────────────────────────────────────────────────────────────── */
.pw-brands-section {
  padding: 4rem 1.5rem;
  background: #0a0a0a;
}

.pw-brands-section__title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 2.5rem;
}

/* 4 列网格，品牌超过 8 个时第三行末格为"查看全部"按钮 */
.pw-brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ── 品牌卡片基础 ── */
.pw-brand-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
  text-decoration: none;
  background-image: var(--pw-brand-bg);
  background-size: cover;
  background-position: center;
  background-color: #1a1a1a;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 暗色遮罩层，增强文字可读性 */
.pw-brand-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.05) 40%,
    rgba(0, 0, 0, 0.55) 100%
  );
  transition: background 0.3s ease;
  z-index: 1;
}

.pw-brand-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.pw-brand-card:hover::before {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.1) 40%,
    rgba(0, 0, 0, 0.65) 100%
  );
}

/* ── 品牌名称：左上角 ── */
.pw-brand-card__name {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  padding: 0.6rem 0.8rem;
  font-size: clamp(0.75rem, 1.2vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
  font-size: 1.5rem;
}
/* 手机端 */
@media (max-width: 63.9375rem) {
  .pw-brand-card__name {
    font-size: 1.2rem;
  }
}

/* ── 产品数量：底部居中 ── */
.pw-brand-card__count {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 0.4rem 0.9rem 0.7rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.75);
}

/* ── 查看全部按钮卡片 ── */
.pw-brand-card--view-all {
  background-image: none;
  background-color: #111;
  border: 1px solid rgba(197, 160, 89, 0.35);
  justify-content: center;
  align-items: center;
}

.pw-brand-card--view-all::before {
  display: none;
}

.pw-brand-card--view-all:hover {
  border-color: #c5a059;
  background-color: #161616;
}

.pw-brand-card__view-all-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c5a059;
  transition: color 0.2s ease;
}

.pw-brand-card--view-all:hover .pw-brand-card__view-all-label {
  color: #d4b06a;
}

.pw-brand-card__view-all-label svg {
  width: 1.4rem;
  height: 1.4rem;
  stroke: currentColor;
}

/* ── PC 端：显示 desktop 按钮，隐藏 mobile 按钮 ── */
.pw-brand-va--mobile {
  display: none;
}

/* ── 响应式 ── */
@media (max-width: 900px) {
  .pw-brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .pw-brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .pw-brands-section {
    padding: 2.5rem 1rem;
  }

  /* 手机端：隐藏第 10、11 个品牌卡片（View All 按钮不受影响） */
  .pw-brands-grid .pw-brand-card:not(.pw-brand-card--view-all):nth-child(n+10) {
    display: none;
  }

  /* 手机端：隐藏 PC 专用 View All，显示移动专用 View All */
  .pw-brand-va--desktop {
    display: none;
  }

  .pw-brand-va--mobile {
    display: flex;
  }
}

/* ──────────────────────────────────────────────────────────────
   10. Horizontal Timeline Section
   ────────────────────────────────────────────────────────────── */
.pw-tl-section {
  padding: 5rem 1.5rem 4rem;
  background: #fff;
  overflow: hidden;
}

/* ── Header ── */
.pw-tl-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.pw-tl-header h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #111;
  margin: 0 0 0.6rem;

}

.pw-tl-header p {
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.42);
  letter-spacing: 0.04em;
  margin: 0;
    color: #0067FF;
    opacity: 0.5;
}

/* ── Step Track ── */
.pw-tl-track {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 760px;
  margin: 0 auto 3rem;
  padding: 0 0.5rem;
}

/* 背景连接线 */
.pw-tl-track__line {
  position: absolute;
  top: 1.1rem;
  left: calc(0.5rem + 1.1rem);
  right: calc(0.5rem + 1.1rem);
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
}

/* 进度填充线 */
.pw-tl-track__progress {
  height: 100%;
  background: linear-gradient(90deg, #0067FF, #3d8eff);
  width: 0%;
  transition: width 0.35s ease;
}

/* ── Step Dot ── */
.pw-tl-dot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  outline: none;
}

.pw-tl-dot__ring {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, 0.18);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.35);
  letter-spacing: 0.02em;
  transition:
    border-color 0.25s ease,
    background   0.25s ease,
    color        0.25s ease,
    box-shadow   0.25s ease,
    width        0.25s ease,
    height       0.25s ease,
    font-size    0.25s ease;
}

.pw-tl-dot__label {
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.35);
  transition: color 0.25s ease;
  white-space: nowrap;
}

/* Active dot */
.pw-tl-dot--active .pw-tl-dot__ring {
  border-color: #0067FF;
  background: #0067FF;
  color: #fff;
  /* 放大激活节点 */
  width: 2.8rem;
  height: 2.8rem;
  font-size: 0.78rem;
  box-shadow: 0 0 0 5px rgba(0, 103, 255, 0.15), 0 4px 12px rgba(0, 103, 255, 0.3);
}

.pw-tl-dot--active .pw-tl-dot__label {
  color: #0055d4;
  font-weight: 700;
}

.pw-tl-dot:not(.pw-tl-dot--active):hover .pw-tl-dot__ring {
  border-color: rgba(0, 103, 255, 0.55);
  color: rgba(0, 0, 0, 0.65);
}

.pw-tl-dot:focus-visible .pw-tl-dot__ring {
  box-shadow: 0 0 0 3px rgba(0, 103, 255, 0.4);
}

/* ── Viewport（卡片区） ── */
.pw-tl-viewport {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  touch-action: pan-y;
}

/*
 * Grid 叠放方案：所有 slide 占同一网格单元格。
 * 彻底避免 absolute/relative 混用导致的布局叠加 bug。
 */
.pw-tl-track-slides {
  display: grid;
  grid-template-columns: 1fr;
}

/* ── Slide 卡片 ── */
.pw-tl-slide {
  grid-column: 1;
  grid-row: 1;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  padding: 2rem 2rem 1.5rem;
  opacity: 0;
  pointer-events: none;
  transform: translateX(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
  will-change: transform, opacity;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.06),
    0 8px 24px rgba(0, 0, 0, 0.08);
  /* 防止不可见 slide 影响容器高度 */
  visibility: hidden;
}

.pw-tl-slide--active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(0) !important;
}

/* 进入动画起始位置 */
.pw-tl-slide--enter-right { transform: translateX(56px); }
.pw-tl-slide--enter-left  { transform: translateX(-56px); }

/* 离开动画目标位置 */
.pw-tl-slide--exit-left  { transform: translateX(-56px); }
.pw-tl-slide--exit-right { transform: translateX(56px); }

/* ── Slide 内部两列布局 ── */
.pw-tl-slide__inner {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 2rem;
  align-items: start;
}

.pw-tl-slide__text {
  min-width: 0;
}

/* ── 图片区 ── */
.pw-tl-slide__media {
  flex-shrink: 0;
}

.pw-tl-slide__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.pw-tl-slide__img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 2px dashed rgba(0, 103, 255, 0.25);
  border-radius: 6px;
  background: rgba(0, 103, 255, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: rgba(0, 103, 255, 0.4);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: default;
}

.pw-tl-slide__img-placeholder svg {
  width: 2.8rem;
  height: 2.8rem;
  stroke: currentColor;
}

.pw-tl-slide__step {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0067FF;
  margin-bottom: 0.5rem;
}

.pw-tl-slide__title {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 700;
  color: #111;
  margin: 0 0 0.75rem;
  line-height: 1.35;
}

.pw-tl-slide__summary {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: rgba(0, 0, 0, 0.45);
  margin: 0 0 0.8rem;
  font-style: italic;
}

.pw-tl-slide__short {
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.7);
  margin: 0 0 0.5rem;
}

/* ── 详情折叠区 ── */
.pw-tl-slide__detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.pw-tl-slide__detail p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.55);
  margin: 0.8rem 0 0;
}

/* ── 底部 Footer ── */
.pw-tl-slide__footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}

/* View More 按钮 */
.pw-tl-slide__more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0055d4;
  transition: color 0.2s ease;
  outline: none;
}

.pw-tl-slide__more:hover { color: #0067FF; }

.pw-tl-slide__more:focus-visible {
  outline: 1px dashed #0067FF;
  outline-offset: 3px;
  border-radius: 2px;
}

.pw-tl-slide__more-icon {
  width: 0.9rem;
  height: 0.9rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.pw-tl-slide__more-icon--open {
  transform: rotate(180deg);
}

/* CTA WhatsApp */
.pw-tl-slide__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border-radius: 2rem;
  background: #25d366;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.pw-tl-slide__cta:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
  color: #fff;
}

.pw-tl-slide__cta svg {
  width: 0.95rem;
  height: 0.95rem;
  fill: #fff;
  flex-shrink: 0;
}

/* ── 底部导航 ── */
.pw-tl-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.pw-tl-nav__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #f0eeeb;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.5);
  transition:
    border-color 0.2s ease,
    color        0.2s ease,
    background   0.2s ease;
  outline: none;
}

.pw-tl-nav__btn svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  flex-shrink: 0;
}

.pw-tl-nav__btn:hover:not(:disabled) {
  border-color: #0067FF;
  color: #0067FF;
  background: rgba(0, 103, 255, 0.07);
}

.pw-tl-nav__btn:disabled {
  opacity: 0.25;
  cursor: default;
}

.pw-tl-nav__btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(0, 103, 255, 0.35);
}

.pw-tl-nav__counter {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: rgba(0, 0, 0, 0.4);
  min-width: 3rem;
  text-align: center;
}

/* ──────────────────────────────────────────────────────────────
   11. Lazy Image Loading
   ────────────────────────────────────────────────────────────── */

/* 骨架屏流光动画 */
@keyframes pw-skeleton-shimmer {
  0%   { background-position: -400% 0; }
  100% { background-position:  400% 0; }
}

/* ── 内容区图片：默认透明，加载完成后渐入 ── */
.pw-cs__media img.pw-lazy {
  opacity: 0;
  transition: opacity 0.38s ease;
}

.pw-cs__media img.pw-lazy.is-loaded {
  opacity: 1;
}

/* ── Timeline 图片包裹层 ── */
.pw-tl-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  background: #e8eaec;
}

/* 骨架屏状态：流光扫过 */
.pw-tl-img-wrap--loading {
  background: linear-gradient(
    90deg,
    #e8eaec 25%,
    #f4f5f7 50%,
    #e8eaec 75%
  );
  background-size: 400% 100%;
  animation: pw-skeleton-shimmer 1.4s ease-in-out infinite;
}

/* img 覆盖整个 wrapper，默认透明 */
.pw-tl-img-wrap > .pw-tl-slide__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: unset;
  border-radius: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* 加载完成后淡入 */
.pw-tl-img-wrap > .pw-tl-slide__img.is-loaded {
  opacity: 1;
}

/* ── 响应式 ── */
@media (max-width: 600px) {
  .pw-tl-section {
    padding: 3.5rem 1rem 3rem;
  }

  .pw-tl-slide {
    padding: 1.5rem 1.25rem 1.25rem;
  }

  /* 手机端：单列，图片区移至文字上方 */
  .pw-tl-slide__inner {
    grid-template-columns: 1fr;
  }

  .pw-tl-slide__media {
    order: -1;
  }

  /* 手机端步骤标签隐藏，只保留数字圆点 */
  .pw-tl-dot__label {
    display: none;
  }

  .pw-tl-track {
    max-width: 100%;
    padding: 0 0.25rem;
  }
}

/* ──────────────────────────────────────────────────────────────
   12. FAQ Section
   ────────────────────────────────────────────────────────────── */

.pw-faq-section {
  padding-block: var(--pw-section-py);
}

.pw-faq-inner {
  max-width: 48rem;
  margin-inline: auto;
  padding-inline: var(--pw-container-px);
}

/* ── Header ── */
.pw-faq-header {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.pw-faq-section__title {
  font-family: var(--pw-font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
  margin: 0 0 0.5rem;
  position: relative;
  display: inline-block;
}

/* 金色装饰线，复用 banner-title 同款 */
.pw-faq-section__title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.2em;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--pw-accent) 0%,
    rgba(var(--pw-accent-rgb), 0.15) 100%
  );
  border-radius: 2px;
  transform-origin: left;
  animation: pw-line-in 0.6s 0.2s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.pw-faq-section__subtitle {
  display: block;
  margin: 1rem 0 0;
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  color: rgba(0, 0, 0, 0.45);
  letter-spacing: 0.04em;
}

/* ── List 容器 ── */
.pw-faq-list {
  display: flex;
  flex-direction: column;
}

/* ── 单条 FAQ ── */
.pw-faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  transition: background var(--pw-trans);
}

.pw-faq-item:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

/* ── <details> / <summary> 重置 ── */
.pw-faq-details > summary {
  list-style: none;
}

.pw-faq-details > summary::-webkit-details-marker {
  display: none;
}

/* ── Question 行（summary 内层） ── */
.pw-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
  cursor: pointer;
  user-select: none;
  outline: none;
}

.pw-faq-question:focus-visible {
  outline: 1px dashed var(--pw-accent);
  outline-offset: 4px;
  border-radius: 2px;
}

.pw-faq-question__text {
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  font-weight: 600;
  color: #1f2937;
  line-height: 1.4;
  transition: color var(--pw-trans);
}

/* 展开态：问题文字变为金色 */
.pw-faq-details[open] .pw-faq-question__text {
  color: var(--pw-accent-dark);
}

/* ── Chevron 图标 ── */
.pw-faq-icon {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  stroke: rgba(0, 0, 0, 0.3);
  transition: transform var(--pw-trans), stroke var(--pw-trans);
}

.pw-faq-details[open] .pw-faq-icon {
  transform: rotate(180deg);
  stroke: var(--pw-accent-dark);
}

/* 鼠标悬停时预响应 */
.pw-faq-details:not([open]) .pw-faq-question:hover .pw-faq-question__text {
  color: #374151;
}

.pw-faq-details:not([open]) .pw-faq-question:hover .pw-faq-icon {
  stroke: rgba(0, 0, 0, 0.55);
}

/* ── 答案区 ── */
.pw-faq-answer {
  padding-bottom: 1.25rem;
  animation: pw-faq-in 0.2s ease both;
}

@keyframes pw-faq-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pw-faq-answer p {
  font-size: clamp(0.875rem, 1.3vw, 0.925rem);
  line-height: 1.8;
  color: rgba(0, 0, 0, 0.55);
  margin: 0;
  padding-right: 2rem; /* 避免与 chevron 列重叠 */
}

/* ── CTA 行 ── */
.pw-faq-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
}

.pw-faq-cta .pw-btn-whatsapp {
  margin-top: 0;
  padding: 0.6rem 1.5rem;
}

/* ── 响应式 ── */
@media (max-width: 37.5rem) {
  .pw-faq-question {
    padding: 1rem 0;
  }

  .pw-faq-question__text {
    font-size: 0.875rem;
  }

  .pw-faq-answer p {
    font-size: 0.85rem;
    padding-right: 0;
  }
}

/* ══════════════════════════════════════════════════════════════
   SECTION · CUSTOMER VOICES
   水平滚动评论卡片列表
   ══════════════════════════════════════════════════════════════ */

.pw-voices-section {
  background: #f8f8f6;
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2.5rem, 6vw, 3.5rem);
  overflow: hidden;
}

.pw-voices-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 3rem);
}

/* ── Header ── */
.pw-voices-header {
  text-align: center;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.pw-voices-title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.pw-voices-sub {
  font-size: 0.9375rem;
  color: #6b7280;
  margin: 0;
}

/* ── Scrolling track ── */
.pw-voices-carousel {
  position: relative;
}

/* 左右渐变遮罩，提示可继续滚动 */
.pw-voices-carousel::before,
.pw-voices-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0.75rem;  /* 与 track padding-bottom 对齐 */
  width: 3.5rem;
  z-index: 1;
  pointer-events: none;
}

.pw-voices-carousel::before {
  left: 0;
  background: linear-gradient(to right, #f8f8f6 0%, transparent 100%);
}

.pw-voices-carousel::after {
  right: 0;
  background: linear-gradient(to left, #f8f8f6 0%, transparent 100%);
}

/* ── Floating nav buttons ── */
.pw-voices-nav {
  position: absolute;
  top: calc(50% - 0.375rem);  /* 补偿 track padding-bottom 的一半 */
  transform: translateY(-50%);
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .14), 0 0 0 1px rgba(0, 0, 0, .06);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pw-accent-dark, #a8863a);
  transition: background 0.2s ease, color 0.2s ease,
              box-shadow 0.2s ease, opacity 0.2s ease,
              transform 0.2s ease;
}

.pw-voices-nav--prev { left:  -0.75rem; }
.pw-voices-nav--next { right: -0.75rem; }

.pw-voices-nav:hover {
  background: var(--pw-accent, #c9a84c);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(201, 168, 76, .38);
  transform: translateY(-50%) scale(1.08);
}

.pw-voices-nav:disabled {
  opacity: 0;
  pointer-events: none;
}

.pw-voices-nav svg {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

.pw-voices-track {
  display: flex;
  gap: clamp(0.75rem, 2vw, 1rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.75rem;           /* room for scrollbar */
  margin-bottom: clamp(1.5rem, 4vw, 2rem);

  /* 隐藏滚动条，但保留滚动能力 */
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 168, 76, .35) transparent;
}

.pw-voices-track::-webkit-scrollbar {
  height: 4px;
}

.pw-voices-track::-webkit-scrollbar-track {
  background: transparent;
}

.pw-voices-track::-webkit-scrollbar-thumb {
  background: rgba(201, 168, 76, .4);
  border-radius: 2px;
}

/* ── Review card ── */
.pw-vc-card {
  flex: 0 0 200px;
  scroll-snap-align: start;
  background: #ffffff;
  border-radius: 0.75rem;
  border: 1px solid rgba(0, 0, 0, .07);
  box-shadow: 0 1px 4px rgba(0,0,0,.05), 0 4px 12px rgba(0,0,0,.04);
  overflow: hidden;
  transition: box-shadow 0.22s ease, transform 0.22s ease;
  display: flex;
  flex-direction: column;
}

.pw-vc-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,.09), 0 12px 28px rgba(0,0,0,.07);
  transform: translateY(-3px);
}

/* Card image */
.pw-vc-card__img {
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: #f0f0ee;
  line-height: 0;
  flex-shrink: 0;
}

.pw-vc-card__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.pw-vc-card:hover .pw-vc-card__img img {
  transform: scale(1.05);
}

/* Card body */
.pw-vc-card__body {
  padding: 0.75rem 0.875rem 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
}

/* Stars */
.pw-vc-stars {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  line-height: 1;
}

.pw-vc-star {
  display: block;
  width: 0.8125rem;
  height: 0.8125rem;
  fill: #d1d5db;
  flex-shrink: 0;
}

.pw-vc-star--on {
  fill: #f5a623;
}

/* Author & date */
.pw-vc-card__author {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pw-vc-card__date {
  font-size: 0.725rem;
  color: #9ca3af;
}

/* ── Footer: buttons ── */
.pw-voices-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.pw-voices-footer .pw-btn-whatsapp {
  margin-top: 0;
}

.pw-voices-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pw-accent-dark, #a8863a);
  border: 1.5px solid var(--pw-accent-dark, #a8863a);
  border-radius: 2rem;
  padding: 0.6rem 1.25rem;
  text-decoration: none;
  transition: background 0.22s ease, color 0.22s ease;
  white-space: nowrap;
}

.pw-voices-view-all svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  transition: transform 0.22s ease;
}

.pw-voices-view-all:hover {
  background: var(--pw-accent-dark, #a8863a);
  color: #fff;
}

.pw-voices-view-all:hover svg {
  transform: translateX(3px);
}

/* ── Mobile: narrower cards ── */
@media (max-width: 37.5rem) {
  .pw-vc-card {
    flex: 0 0 160px;
  }

  .pw-vc-card__img {
    height: 130px;
  }

  .pw-voices-nav--prev { left:  0.25rem; }
  .pw-voices-nav--next { right: 0.25rem; }
}


/* ═══════════════════════════════════════════════════════════════
   SECTION · PRODUCT SECTIONS  (Best Sellers / New Arrivals)
   ═══════════════════════════════════════════════════════════════ */

/* ── Section 容器 ── */
.pw-products-section {
  padding: var(--pw-section-py) var(--pw-container-px);
  background: #fff;
}

.pw-products-section__inner {
  max-width: 90rem;
  margin: 0 auto;
}

/* ── 标题行：左侧大标题 + 右侧 View All ── */
.pw-products-section__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.pw-products-section__title {
  font-family: var(--pw-font-heading);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

/* ── View All 链接 ── */
.pw-products-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pw-accent-dark, #a8863a);
  white-space: nowrap;
  text-decoration: none;
  transition: color var(--pw-trans), gap var(--pw-trans);
}

.pw-products-view-all svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  transition: transform var(--pw-trans);
}

.pw-products-view-all:hover { color: var(--pw-accent, #c9a84c); }
.pw-products-view-all:hover svg { transform: translateX(3px); }

/* ── 网格布局：移动端 2 列换行 ── */
.pw-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--pw-gap);
}

@media (min-width: 37.5rem) and (max-width: 63.9375rem) {  /* sm–md: 3 列 */
  .pw-products-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── PC 端（≥ 1024px）：单行水平滚动 ── */
@media (min-width: 64rem) {
  .pw-products-section__inner {
    /* 允许滚动轨道溢出容器内边距 */
    overflow: hidden;
  }

  .pw-products-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    /* 左右各留一丁点 padding，让首末卡片阴影不被裁剪 */
    padding-bottom: 0.75rem;
    /* 滚动吸附：每次停在卡片起始边 */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* 滚动条：细条，与主题色协调 */
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--pw-accent-rgb), 0.35) transparent;
  }

  /* Webkit 滚动条细化 */
  .pw-products-grid::-webkit-scrollbar        { height: 4px; }
  .pw-products-grid::-webkit-scrollbar-track  { background: transparent; }
  .pw-products-grid::-webkit-scrollbar-thumb  {
    background: rgba(var(--pw-accent-rgb), 0.35);
    border-radius: 2px;
  }
  .pw-products-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--pw-accent-rgb), 0.65);
  }

  /* 每张卡片固定宽度，不收缩 */
  .pw-product-card {
    flex: 0 0 clamp(180px, 20%, 220px);
    scroll-snap-align: start;
  }
}

/* 移动端隐藏超出 mob_count 的卡片（PHP 写入 pw-product-card--mob-hidden） */
@media (max-width: 63.9375rem) {
  .pw-product-card--mob-hidden { display: none; }
}

/* ── 商品卡片外壳 ── */
.pw-product-card {
  position: relative;
  border-radius: var(--pw-radius);
  overflow: hidden;
  background: #fafafa;
  border: 1px solid rgba(0, 0, 0, 0.07);
  transition: box-shadow var(--pw-trans), transform var(--pw-trans);
}

.pw-product-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.pw-product-card__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* ── 折扣徽章（左上角红标） ── */
.pw-product-card__badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 2;
  background: #e53e3e;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.2rem 0.45rem;
  border-radius: 2px;
  line-height: 1.4;
  pointer-events: none;
}

/* ── 图片容器（1:1 正方形，aspect-ratio 兼容降级） ── */
.pw-product-card__img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #efefef;
}

.pw-product-card__img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.3s ease;
  opacity: 0;          /* 懒加载前透明，加载完成后由 is-loaded 恢复 */
}

.pw-product-card__img-wrap img.is-loaded {
  opacity: 1;
}

.pw-product-card:hover .pw-product-card__img-wrap img {
  transform: scale(1.04);
}

/* 无图占位 */
.pw-product-card__no-img {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #e8e8e8 25%, #d8d8d8 100%);
}

/* ── 卡片文字区 ── */
.pw-product-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.75rem;
}

.pw-product-card__title {
  font-size: clamp(0.75rem, 1.4vw, 0.875rem);
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.45;
  margin: 0;
  /* 超出 2 行省略 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── 价格区 ── */
.pw-product-card__price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: auto;
  padding-top: 0.35rem;
}

/* 划线原价 */
.pw-product-card__price--regular {
  font-size: 0.75rem;
  color: #aaa;
  text-decoration: line-through;
  font-style: normal;
}

.pw-product-card__price--regular .woocommerce-Price-amount { color: inherit; }

/* 促销价（红色加粗） */
.pw-product-card__price--sale {
  font-size: 0.925rem;
  font-weight: 700;
  color: #c53030;
  text-decoration: none;
  font-style: normal;
}

.pw-product-card__price--sale .woocommerce-Price-amount { color: inherit; }

/* 无促销时的单价 */
.pw-product-card__price--only {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--pw-accent-dark, #a8863a);
}

.pw-product-card__price--only .woocommerce-Price-amount { color: inherit; }

/* ── 上架日期 ── */
.pw-product-card__date {
  font-size: 0.68rem;
  color: #bbb;
  margin-top: 0.25rem;
}

/* ── 移动端微调 ── */
@media (max-width: 37.5rem) {
  .pw-product-card__body  { padding: 0.5rem; }
  .pw-product-card__title { -webkit-line-clamp: 2; font-size: 0.72rem; }
  .pw-products-section    { padding-left: 0.75rem; padding-right: 0.75rem; }
}
