/* ========== 变量 ========== */
:root {
  /* Yoga 主题色 */
  --yg-sage:    #B8C4B8;   /* 鼠尾草绿：主强调色 */
  --yg-sage-d:  #9CAE9C;   /* 深鼠尾草绿 */
  --yg-cream:   #F5F5F0;   /* 米白：页面背景 */
  --yg-dark:    #1a1a1a;   /* 深墨：标题/正文深色 */
  --yg-dark-70: #3D3D3D;
  --yg-gray:    #6b7280;   /* 中灰：副文本 */
  --yg-gray-l:  #9ca3af;   /* 浅灰 */
  --yg-line:    rgba(0,0,0,0.06);
  /* 通用 Planoi 变量（S2~S5 兼容用） */
  --pl-yellow: var(--yg-sage);      /* 黄色映射到鼠尾草绿 */
  --pl-yellow-dark: var(--yg-sage-d);
  --pl-ink: var(--yg-dark);
  --pl-gray: var(--yg-gray);
  --pl-gray-light: #F3F4F6;
  --pl-gray-border: #E8E8E8;
  --pl-white: #FFFFFF;
  --pl-pink: #E8B4B8;
  --pl-green: #7A9B7E;
  --pl-brown: #8B5A3C;
  --pl-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --pl-trans: 0.35s var(--pl-ease);
  /* Hisab 兼容变量（S2 价格徽章用） */
  --hs-dark: var(--yg-dark);
  --hs-lime: var(--yg-sage);        /* 荧光绿映射到鼠尾草绿 */
  --hs-white: #ffffff;
  --hs-white-70: rgba(255,255,255,0.7);
}

.nov-home { background: var(--yg-cream); }

/* ============================================================
   S1: 三栏极简 Hero (pl-hero4)
   · 左栏 ~40%：大标题 + 副标题 + 黑色胶囊 CTA
   · 中栏 ~35%：产品大图 + 部分边框装饰
   · 右栏 ~25%：三张小卡片（在线课堂 / App下载 / 社交链接）
   ============================================================ */
.pl-hero4 {
  position: relative;
  background: var(--yg-cream);
  padding: 60px 0 80px;
  overflow: hidden;
}

.pl-hero4 .uk-container-expand {
  max-width: 1400px;
  padding: 0 40px;
}

.pl-hero4__inner {
  display: flex;
  align-items: stretch;
  gap: 25px;
  min-height: 600px;
}

/* === 左栏：文字区 === */
.pl-hero4__text {
  flex: 0 0 38%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pl-hero4__title {
  font-size: 64px;
  font-weight: 700;
  color: var(--yg-dark);
  line-height: 1.05;
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}

.pl-hero4__desc {
  font-size: 16px;
  color: var(--yg-gray);
  line-height: 1.7;
  margin: 0 0 40px;
  max-width: 420px;
}

/* 黑色胶囊 CTA 按钮 */
.pl-hero4__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yg-dark);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none !important;
  padding: 16px 32px;
  border-radius: 999px;
  transition: all var(--pl-trans);
}
.pl-hero4__cta i {
  font-size: 18px;
  transition: transform 0.3s var(--pl-ease);
}
.pl-hero4__cta:hover {
  background: var(--yg-sage-d);
}
.pl-hero4__cta:hover i {
  transform: translateX(6px);
}

/* === 中栏：产品大图 + 部分边框装饰 === */
.pl-hero4__media {
  flex: 0 0 35%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 装饰性部分边框框架（固定宽高 420×560） */
.pl-hero4__frame {
  position: relative;
  width: 420px;
  height: 560px;
  max-width: 100%;
  background: var(--yg-sage);
  /* 四角部分边框效果 */
  padding: 24px;
}
.pl-hero4__frame::before,
.pl-hero4__frame::after {
  content: '';
  position: absolute;
  width: 32px;
  height: 32px;
  border: 2px solid var(--yg-dark);
  pointer-events: none;
}
/* 左上角边框 */
.pl-hero4__frame::before {
  top: -8px;
  left: -8px;
  border-right: none;
  border-bottom: none;
}
/* 右下角边框 */
.pl-hero4__frame::after {
  bottom: -8px;
  right: -8px;
  border-left: none;
  border-top: none;
}

.pl-hero4__frame-inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.pl-hero4__frame-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* === 右栏：三张小卡片堆叠 === */
.pl-hero4__cards {
  flex: 0 0 23%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: stretch;
  height: 100%;
}

/* 通用卡片样式 */
.pl-hero4__card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  text-decoration: none !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  transition: transform var(--pl-trans), box-shadow var(--pl-trans);
  min-height: 120px;
}
.pl-hero4__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

/* 缩略图卡片：纯图片 */
.pl-hero4__card--thumb {
  padding: 0;
  min-height: 0;
  overflow: hidden;
  flex: 0 0 176px;
  height: 176px;
}
.pl-hero4__card--thumb .pl-hero4__card-img {
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
}
.pl-hero4__card--thumb .pl-hero4__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--pl-ease);
}
.pl-hero4__card--thumb:hover .pl-hero4__card-img img {
  transform: scale(1.08);
}

/* 卡片1：带图片的在线课堂 */
.pl-hero4__card-img {
  width: 100%;
  height: 120px;
  border-radius: 12px;
  overflow: hidden;
  margin: -8px -8px 12px;
}
.pl-hero4__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pl-hero4__card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  justify-content: center;
}
.pl-hero4__card-body--row {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

/* Live Now 徽章 */
.pl-hero4__card-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(184, 196, 184, 0.2);
  color: var(--yg-sage-d);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  align-self: flex-start;
}
.pl-hero4__card-badge i {
  font-size: 13px;
}

.pl-hero4__card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--yg-dark);
  line-height: 1.3;
}

/* App 下载图标行 */
.pl-hero4__card-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pl-hero4__card-icons i {
  font-size: 22px;
  color: var(--yg-dark);
  transition: color var(--pl-trans);
}
.pl-hero4__card-icons i:hover {
  color: var(--yg-sage-d);
}

/* 社交链接图标行 */
.pl-hero4__social {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pl-hero4__social i {
  font-size: 18px;
  color: var(--yg-dark);
  transition: color var(--pl-trans);
}
.pl-hero4__social i:hover {
  color: var(--yg-sage-d);
}

/* === 响应式 === */
@media (max-width: 1199px) {
  .pl-hero4__title { font-size: 48px; }
  .pl-hero4__inner { gap: 32px; }
  .pl-hero4__text { flex: 0 0 40%; }
  .pl-hero4__media { flex: 0 0 32%; }
  .pl-hero4__cards { flex: 0 0 26%; }
}

@media (max-width: 959px) {
  .pl-hero4 { padding: 40px 0 60px; }
  .pl-hero4__inner {
    flex-direction: column;
    gap: 40px;
    min-height: auto;
  }
  .pl-hero4__text,
  .pl-hero4__media,
  .pl-hero4__cards {
    flex: none;
    width: 100%;
  }
  .pl-hero4__media {
    max-width: 480px;
    margin: 0 auto;
  }
  .pl-hero4__cards {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .pl-hero4__card {
    flex: 1 1 calc(33.333% - 11px);
    min-width: 200px;
  }
  .pl-hero4__title { font-size: 36px; }
  .pl-hero4__desc { font-size: 14px; }
}

@media (max-width: 639px) {
  .pl-hero4 { padding: 32px 0 48px; }
  .pl-hero4 .uk-container-expand { padding: 0 20px; }
  .pl-hero4__title { font-size: 28px; }
  .pl-hero4__cards {
    flex-direction: column;
  }
  .pl-hero4__card {
    flex: none;
    min-width: 0;
  }
  .pl-hero4__frame { padding: 16px; width: 100%; height: 420px; }
  .pl-hero4__frame::before,
  .pl-hero4__frame::after {
    width: 24px;
    height: 24px;
  }
}

/* ============================================================
   S2: Popular Products — 左文+右卡片轮播（对照效果图）
   · 左栏：分类胶囊 + 大标题 + 副标题
   · 右栏：全屏图卡片 + 渐变遮罩 + 顶角徽章 + 底部白色按钮
   ============================================================ */
.pl-shop {
  display: flex;
  gap: 48px;
  padding: 0 0 60px;
  background: var(--yg-cream);
  align-items: center;
  overflow: hidden;
}

/* === 左栏 === */
.pl-shop__side {
  flex: 0 0 28%;
  display: flex;
  flex-direction: column;
}

/* 分类胶囊 */
.pl-shop__pills {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}
.pl-shop__pill {
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  background: #ffffff;
  color: #6b7280;
  transition: all var(--pl-trans);
}
.pl-shop__pill.is-active {
  background: var(--yg-dark);
  color: #ffffff;
}
.pl-shop__pill:hover:not(.is-active) {
  color: var(--yg-dark);
}

/* 标题 */
.pl-shop__title {
  font-size: 40px;
  font-weight: 700;
  color: var(--yg-dark);
  line-height: 1.1;
  margin: 0 0 24px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

/* 副标题 */
.pl-shop__subtitle {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.6;
  margin: 0 0 32px;
  max-width: 240px;
}

/* 圆形箭头按钮 */
.pl-shop__nav {
  display: flex;
  gap: 12px;
}
.pl-shop__nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #d1d5db;
  background: #222;
  color: var(--yg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all var(--pl-trans);
}
.pl-shop__nav-btn i { font-size: 20px; }
.pl-shop__nav-btn:hover {
  background: var(--yg-dark);
  color: #ffffff;
  border-color: var(--yg-dark);
}

/* === 右栏：横向滚动轨道 === */
.pl-shop__track {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 40px 8px 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}
.pl-shop__track:active { cursor: grabbing; }
.pl-shop__track::-webkit-scrollbar { display: none; }

/* === 卡片 === */
.pl-shop__card {
  position: relative;
  flex: 0 0 300px;
  height: 400px;
  border-radius: 24px;
  overflow: hidden;
  scroll-snap-align: start;
  text-decoration: none !important;
  transition: transform var(--pl-trans);
}
.pl-shop__card:hover {
  transform: translateY(-4px);
}

/* 全屏图 */
.pl-shop__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.pl-shop__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--pl-ease);
}
.pl-shop__card:hover .pl-shop__media img {
  transform: scale(1.08);
}

/* 渐变遮罩 */
.pl-shop__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, transparent 30%, transparent 50%, rgba(0,0,0,0.7) 100%);
  pointer-events: none;
}

/* 顶左：分类胶囊 */
.pl-shop__badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--yg-dark);
  background: rgba(255,255,255,0.9);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

/* 顶右：价格 */
.pl-shop__dur {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}
.pl-shop__dur i { font-size: 14px; }

/* 底部信息 + 按钮 */
.pl-shop__bottom {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.pl-shop__bottom-text {
  flex: 1;
  min-width: 0;
}
.pl-shop__name {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pl-shop__desc {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 白色胶囊按钮 */
.pl-shop__btn {
  flex-shrink: 0;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 700;
  color: var(--yg-dark);
  background: #ffffff;
  border-radius: 999px;
  white-space: nowrap;
}

/* === 响应式 === */
@media (max-width: 1199px) {
  .pl-shop__side { flex: 0 0 30%; padding-left: 24px; }
  .pl-shop__title { font-size: 32px; }
  .pl-shop__card { flex: 0 0 280px; height: 360px; }
}

@media (max-width: 959px) {
  .pl-shop {
    flex-direction: column;
    gap: 32px;
    padding: 40px 0;
  }
  .pl-shop__side {
    flex: none;
    width: 100%;
    padding: 0 24px;
  }
  .pl-shop__track {
    width: 100%;
    padding: 8px 24px 8px 0;
  }
  .pl-shop__card { flex: 0 0 260px; height: 340px; }
}

@media (max-width: 639px) {
  .pl-shop__side { padding: 0 16px; }
  .pl-shop__title { font-size: 26px; }
  .pl-shop__pills { gap: 8px; }
  .pl-shop__pill { padding: 6px 14px; font-size: 12px; }
  .pl-shop__track { padding: 8px 16px 8px 0; }
  .pl-shop__card { flex: 0 0 240px; height: 320px; }
  .pl-shop__name { font-size: 16px; }
}



.pl-feat {
  display: flex;
  align-items: stretch;
  min-height: 640px;
  background: var(--pl-white);
  overflow: hidden;
}

/* === 左侧：全出血产品场景图 === */
.pl-feat__image {
  flex: 0 0 60%;
  position: relative;
  overflow: hidden;
}

.pl-feat__image a {
  display: block;
  width: 100%;
  height: 100%;
}

.pl-feat__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 640px;
  transition: opacity 0.5s var(--pl-ease);
}

/* === 右侧：白底信息区 === */
.pl-feat__panel {
  flex: 0 0 40%;
  background: var(--pl-white);
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 标题 */
.pl-feat__name {
  font-size: 32px;
  font-weight: 700;
  color: var(--pl-ink);
  margin: 0 0 12px;
  line-height: 1.2;
}

/* 描述 */
.pl-feat__desc {
  font-size: 14px;
  color: var(--pl-gray);
  line-height: 1.6;
  margin: 0 0 56px;
  max-width: 360px;
}

/* === 变体缩略图（横向排列，左对齐） === */
.pl-feat__thumbs {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.pl-feat__thumb {
  width: 72px;
  height: 72px;
  padding: 0;
  border: 2px solid transparent;
  background: var(--pl-gray-light);
  cursor: pointer;
  overflow: hidden;
  transition: all var(--pl-trans);
}

.pl-feat__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pl-feat__thumb.is-active {
  border-color: var(--pl-ink);
}

.pl-feat__thumb:hover {
  border-color: var(--pl-yellow);
}

/* === 价格区：标签在上，价格在下 === */
.pl-feat__pricebox {
  margin-bottom: 40px;
}

.pl-feat__pricelabel {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--pl-ink);
  margin-bottom: 8px;
}

.pl-feat__price {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--pl-ink);
  line-height: 1;
}

/* === 黄色方形圆角箭头按钮 === */
.pl-feat__arrows {
  display: flex;
  gap: 16px;
}

.pl-feat__arrow {
  width: 52px;
  height: 52px;
  background: var(--pl-yellow);
  border: none;
  border-radius: 8px;
  color: var(--pl-ink);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--pl-trans);
}

.pl-feat__arrow:hover {
  background: var(--pl-yellow-dark);
  transform: translateY(-2px);
}

.pl-feat__arrow i {
  font-size: 20px;
}
.pl-collage {
  display: flex;
  align-items: stretch;
  gap: 64px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 40px;
  background: var(--pl-white);
}

/* === 左侧标题信息区 === */
.pl-collage__side {
  flex: 0 0 25%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pl-collage__title {
  font-size: 36px;
  font-weight: 700;
  color: var(--pl-ink);
  line-height: 1.15;
  margin: 0 0 16px;
}

.pl-collage__sub {
  font-size: 12px;
  color: var(--pl-gray);
  line-height: 1.5;
  margin: 0 0 40px;
}

.pl-collage__arrows {
  display: flex;
  gap: 12px;
}
.pl-collage__arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--pl-gray-border);
  background: var(--pl-white);
  color: var(--pl-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all var(--pl-trans);
}
.pl-collage__arrow i { font-size: 18px; }
.pl-collage__arrow:hover {
  border-color: var(--pl-ink);
  background: var(--pl-ink);
  color: var(--pl-white);
}

/* === 右侧产品卡片网格 === */
.pl-collage__grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* 卡片：白底 + 轻微投影 + 圆角 */
.pl-collage__card {
  background: var(--pl-white);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: transform var(--pl-trans), box-shadow var(--pl-trans);
}
.pl-collage__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* 产品图：正方形，居中 */
.pl-collage__media {
  width: 100%;
  aspect-ratio: 1/1;
  background: var(--pl-gray-light);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pl-collage__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--pl-ease);
}
.pl-collage__card:hover .pl-collage__media img { transform: scale(1.06); }

/* 信息区 */
.pl-collage__info {
  flex: 1;
  margin-bottom: 20px;
}
.pl-collage__name {
  font-size: 16px;
  font-weight: 600;
  color: var(--pl-ink);
  margin: 0 0 6px;
  line-height: 1.3;
}
.pl-collage__year {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--pl-gray);
  margin-bottom: 8px;
}
.pl-collage__price {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--pl-ink);
}

/* === 底部按钮区 === */
.pl-collage__action {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

/* 黄色长条 pill 按钮（第一张卡片） */
.pl-collage__pill {
  flex: 1;
  background: var(--pl-yellow);
  color: var(--pl-ink) !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none !important;
  text-align: center;
  padding: 14px 20px;
  border-radius: 999px;   /* 完全圆角 pill */
  transition: background var(--pl-trans);
}
.pl-collage__pill:hover { background: var(--pl-yellow-dark); }

/* 圆形"+"按钮：黄色圆环+白底+黑色+号 */
.pl-collage__plus {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--pl-yellow);
  background: var(--pl-white);
  color: var(--pl-ink);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
  transition: all var(--pl-trans);
}
.pl-collage__plus i { font-size: 20px; line-height: 1; }
.pl-collage__plus:hover {
  background: var(--pl-yellow);
  color: var(--pl-ink);
  transform: rotate(90deg);
}

/* 独立"+"按钮（第二、三张卡片）：右对齐 */
.pl-collage__plus--solo {
  margin-left: auto;
}

/* VIEW DETAILS 文字按钮（带边框，非第一张卡片） */
.pl-collage__view {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--pl-ink) !important;
  text-decoration: none !important;
  padding: 14px 20px;
  border: 1px solid var(--pl-gray-border);
  border-radius: 999px;
  transition: all var(--pl-trans);
}
.pl-collage__view i {
  font-size: 14px;
  transition: transform 0.3s var(--pl-ease);
}
.pl-collage__view:hover {
  background: var(--pl-ink);
  color: var(--pl-white) !important;
  border-color: var(--pl-ink);
}
.pl-collage__view:hover i {
  color: var(--pl-yellow);
  transform: translateX(4px);
}

/* ============================================================
   S4: 错落式杂志网格 — 不等高卡片
   ============================================================ */
.pl-mag {
  padding: 80px 0;
  background: var(--pl-white);
}

.pl-mag__head {
  text-align: center;
  margin-bottom: 56px;
}

.pl-mag__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--pl-yellow-dark);
  margin-bottom: 12px;
  display: inline-block;
}

.pl-mag__title {
  font-size: 36px;
  font-weight: 700;
  color: var(--pl-ink);
  margin: 0;
}

/* CSS Grid 错落布局 */
.pl-mag__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 200px;
  gap: 20px;
}

/* 5个卡片错落排列 */
.pl-mag__card--1 {
  grid-column: 1/4;
  grid-row: 1/3;
}

/* 大图左上 */
.pl-mag__card--2 {
  grid-column: 4/7;
  grid-row: 1/2;
}

/* 小图右上 */
.pl-mag__card--3 {
  grid-column: 4/6;
  grid-row: 2/3;
}

/* 中图右中 */
.pl-mag__card--4 {
  grid-column: 6/7;
  grid-row: 2/3;
}

/* 小图右下 */
.pl-mag__card--5 {
  grid-column: 1/7;
  grid-row: 3/4;
}

/* 全宽底图 */

.pl-mag__card {
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
  background: var(--pl-gray-light);
  transition: transform var(--pl-trans);
}

.pl-mag__card:hover {
  transform: scale(0.98);
}

.pl-mag__media {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.pl-mag__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--pl-ease);
}

.pl-mag__card:hover .pl-mag__media img {
  transform: scale(1.06);
}

/* 信息层：浮在底部 */
.pl-mag__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

.pl-mag__name {
  font-size: 16px;
  font-weight: 600;
  color: var(--pl-white);
  margin: 0 0 4px;
}

.pl-mag__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--pl-yellow);
}

.pl-mag__foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
}

.pl-dots2 {
  display: flex;
  gap: 8px;
}

.pl-dots2__dot {
  width: 8px;
  height: 8px;
  background: var(--pl-gray-border);
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--pl-trans);
}

.pl-dots2__dot.is-active {
  background: var(--pl-yellow);
  width: 28px;
  border-radius: 4px;
}

/* ============================================================
   S5: 全宽沉浸式促销条 — 背景图 + 居中文字
   ============================================================ */
.pl-immersive {
  position: relative;
  height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pl-immersive__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.pl-immersive__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pl-immersive__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.45);
}

/* ============================================================
   S3: Product Grid — 非对称产品网格（对照效果图）
   · 3 列 3 行 CSS Grid
   · 左列：3 张产品卡片
   · 中列：Hero Banner（跨2行）+ 1 张产品卡片
   · 右列：1 张产品卡片 + 1 张大卡片（跨2行）
   ============================================================ */
.pl-grid {
  padding: 20px 0 60px;
  background: var(--yg-cream);
}

.pl-grid__box {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  grid-template-rows: 280px 280px 280px;
  grid-template-areas:
    "c1 hero c5"
    "c2 hero c7"
    "c3 c4  c7";
  gap: 16px;
}

/* 网格区域映射 */
.pl-grid__cell--c1 { grid-area: c1; }
.pl-grid__cell--c2 { grid-area: c2; }
.pl-grid__cell--c3 { grid-area: c3; }
.pl-grid__cell--c4 { grid-area: c4; }
.pl-grid__cell--c5 { grid-area: c5; }
.pl-grid__cell--c7 { grid-area: c7; }
.pl-grid__hero { grid-area: hero; }

/* 产品卡片 */
.pl-grid__card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none !important;
  transition: transform var(--pl-trans), box-shadow var(--pl-trans);
}
.pl-grid__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.pl-grid__media {
  flex: 1;
  overflow: hidden;
  min-height: 0;
}
.pl-grid__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--pl-ease);
}
.pl-grid__card:hover .pl-grid__media img {
  transform: scale(1.06);
}

.pl-grid__info {
  padding: 12px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}
.pl-grid__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--yg-dark);
  margin: 0;
  flex: 1 1 100%;
  line-height: 1.3;
}
.pl-grid__cat {
  font-size: 11px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pl-grid__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--yg-dark);
  margin-left: auto;
}

/* Hero Banner Carousel */
.pl-grid__hero {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}
.pl-grid__hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--pl-ease), visibility 0.6s;
  z-index: 0;
}
.pl-grid__hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.pl-grid__hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.pl-grid__hero-text {
  position: relative;
  z-index: 1;
  padding: 40px;
  max-width: 50%;
}
.pl-grid__hero-pre {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 8px;
}
.pl-grid__hero-pre::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.5);
  margin-top: 8px;
}
.pl-grid__hero-title {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  margin: 0 0 24px;
  text-transform: uppercase;
}
.pl-grid__hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 28px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: #ffffff;
  color: var(--yg-dark) !important;
  border-radius: 999px;
  text-decoration: none !important;
  transition: all var(--pl-trans);
}
.pl-grid__hero-btn:hover {
  background: var(--yg-dark);
  color: #ffffff !important;
}

/* 轮播指示点 */
.pl-grid__dots {
  position: absolute;
  bottom: 20px;
  left: 40px;
  z-index: 3;
  display: flex;
  gap: 8px;
}
.pl-grid__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all var(--pl-trans);
}
.pl-grid__dots span.is-active {
  background: #ffffff;
  width: 24px;
  border-radius: 999px;
}

/* 响应式 */
@media (max-width: 1199px) {
  .pl-grid__box {
    grid-template-rows: 240px 240px 240px;
  }
  .pl-grid__hero-title { font-size: 28px; }
}

@media (max-width: 959px) {
  .pl-grid__box {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "hero hero"
      "c1 c2"
      "c3 c4"
      "c5 c7";
  }
  .pl-grid__hero { min-height: 280px; }
  .pl-grid__hero-text { max-width: 60%; }
}

@media (max-width: 639px) {
  .pl-grid__box {
    grid-template-columns: 1fr;
    grid-template-areas:
      "hero"
      "c1"
      "c2"
      "c3"
      "c4"
      "c5"
      "c7";
  }
  .pl-grid__hero { min-height: 240px; }
  .pl-grid__hero-text { max-width: 100%; padding: 24px; }
  .pl-grid__hero-title { font-size: 24px; }
}

.pl-immersive__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 0 20px;
}

.pl-immersive__tag {
  display: inline-block;
  background: var(--pl-yellow);
  color: var(--pl-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 8px 16px;
  margin-bottom: 24px;
}

.pl-immersive__title {
  font-size: 42px;
  font-weight: 700;
  color: var(--pl-white);
  margin: 0 0 20px;
  line-height: 1.15;
}

.pl-immersive__desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin: 0 0 36px;
}

.product-wrap {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 60px 40px;
  background-color: #f9f9f9;
}

.product-left {
  min-width: 240px;
}

.product-left h2 {
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.1;
}

.product-left p {
  color: #666;
  margin-bottom: 32px;
}

/* 覆盖uikit默认箭头样式 */
.product-nav-buttons .uk-slidenav {
  border: 1px solid #aaa;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  color: #333;
}

.product-card {
  text-align: center;
  padding: 20px;
  background: #fff;
}

.product-card img {
  max-height: 220px;
  object-fit: contain;
}

.product-card h3 {
  font-size: 32px;
  margin: 16px 0 8px;
}

.product-card .sub-text {
  color: #777;
  margin-bottom: 12px;
}

.product-card .price {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 24px;
}

.btn-yellow {
  background-color: #ffd000;
  border-radius: 999px;
  padding: 14px 32px;
  border: 0;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.circle-plus {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #ffd000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-weight: bold;
}
