/* ===================================
    CSS Variables - 占位变量
   =================================== */
:root {
  /* --------------------------------------------------------
     中性默认色（占位）
     灰度系主色 + 中性背景/文字，仅作占位，
     项目启动后替换为正式品牌色。
     -------------------------------------------------------- */

  /* 主色调 */
  --color-primary: #4b5563;
  --color-primary-hover: #374151;
  --color-primary-light: #e5e7eb;
  --color-secondary: #6b7280;
  --color-secondary-hover: #4b5563;

  /* 文字颜色 */
  --color-text-heading: #111827;
  --color-text-body: #1a1a1a;
  --color-text-secondary: #6b7280;
  --color-text-muted: #9ca3af;

  /* 边框与分割 */
  --color-border: #e5e7eb;
  --color-border-light: #f3f4f6;

  /* 背景色 */
  --color-bg-primary: #ffffff;
  --color-bg-secondary: #f9fafb;
  --color-bg-tertiary: #f3f4f6;
  --color-bg-card: #ffffff;

  /* 链接与交互 */
  --color-link: #4b5563;
  --color-link-hover: #374151;

  /* 覆盖层 */
  --color-overlay-dark: rgba(17, 24, 39, 0.75);

  /* 标签/徽章背景 */
  --color-tag-bg: #f3f4f6;
  --color-tag-bg-hover: #e5e7eb;

  /* 社交媒体颜色（平台官方品牌色，非项目主色，按需替换） */
  --color-social-facebook: #1877F2;
  --color-social-twitter: #1DA1F2;
  --color-social-linkedin: #0A66C2;
  --color-social-whatsapp: #25D366;
  --color-social-pinterest: #BD081C;
  --color-social-email: #4b5563;

  /* 通用白（彩色背景上的对比文字） */
  --color-white: #ffffff;

  /* 浅遮罩（Mobile 导航，区别于 Modal 的深遮罩） */
  --color-overlay-light: rgba(0, 0, 0, 0.4);

  /* 阴影色 */
  --color-shadow-sm: rgba(0, 0, 0, 0.05);
  --color-shadow-md: rgba(0, 0, 0, 0.1);
  --color-modal-shadow: rgba(17, 24, 39, 0.5);

  /* Modal 专属 */
  --color-modal-close-bg: rgba(255, 255, 255, 0.85);
  --color-modal-panel-from: #111827;
  --color-modal-panel-to: #1f2937;
  --color-modal-text-muted: rgba(255, 255, 255, 0.82);
  --color-modal-text-soft: rgba(255, 255, 255, 0.92);
  --color-modal-accent: #fbbf24;

  /* 强调色（金色，用于“View All”等强调链接与图标底色） */
  --accent-gold: #fbbf24;

  /* 固定页头高度（导航栏 80px），供首屏留白与锚点偏移引用 */
  --header-height: 80px;
}

/* ===================================
    Layout - 布局样式（通用）
   =================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Section - 通用区块容器
   页面由多个 section 垂直堆叠而成，统一控制上下间距。
   用法：<section class="section"><div class="container">...</div></section>
   变体：
   - .section--sm / .section--lg：紧凑 / 宽松间距
   - .section--gray / .section--dark：浅灰 / 深色背景，用于交替分块
   - .section--center：内容水平居中（标题组常用）
*/
.section {
  padding: 4rem 0;
}
.section--sm { padding: 2.5rem 0; }
.section--lg { padding: 6rem 0; }

.section--gray { background: var(--color-bg-secondary); }
.section--dark { background: var(--color-text-heading); color: var(--color-white); }

.section--center .container {
  text-align: center;
}

/* 响应式：移动端收紧间距 */
@media (max-width: 768px) {
  .section { padding: 2.5rem 0; }
  .section--sm { padding: 1.5rem 0; }
  .section--lg { padding: 4rem 0; }
}

/* ===================================
    Animations - 滚动显示动画（通用）
   =================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.animate-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fade-up 0.6s ease forwards;
}

.animate-right {
  opacity: 0;
  transform: translateX(20px);
  animation: fade-left 0.6s ease forwards;
}

.animate-scale {
  opacity: 0;
  transform: scale(0.95);
  animation: scale-in 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

@keyframes fade-up {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-left {
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scale-in {
  to { opacity: 1; transform: scale(1); }
}

/* ===================================
    Buttons - 按钮样式（通用）
   =================================== */
.btn-primary {
  background: var(--color-primary, #4b5563);
  color: var(--color-white);
  padding: 1.25rem 2.5rem;
  display: inline-block;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--color-primary-hover, #374151);
  transform: translateY(-2px);
}

.btn-outline {
  background: var(--color-primary, #4b5563);
  color: var(--color-white);
  border: 1px solid var(--color-primary, #4b5563);
  padding: 1.25rem 2.5rem;
  display: inline-block;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.btn-outline:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* ===================================
    Card - 卡片样式（通用）
   =================================== */
.card {
  background-color: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px var(--color-shadow-sm);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

a:hover .card {
  transform: translateY(-5px);
  border-color: var(--color-border);
  box-shadow: 0 10px 15px -3px var(--color-shadow-md);
}

/* ===================================
    Breadcrumb Styles 面包屑组件（通用）
   =================================== */
.wxkn-breadcrumb-wrapper {
  padding: 0.75rem 0;
  background-color: var(--color-bg-primary);
  border-bottom: 1px solid var(--color-border);
}

.wxkn-breadcrumb-wrapper--has-container {
  padding: 0.75rem 0;
}

.wxkn-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  margin-left: 1rem;
}

.wxkn-breadcrumb-wrapper--has-container .wxkn-breadcrumb {
  margin-left: 0;
}

.wxkn-breadcrumb a {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.wxkn-breadcrumb a:hover {
  color: var(--color-primary, #4b5563);
}

.wxkn-breadcrumb a:focus-visible {
  outline: 2px solid var(--color-primary, #4b5563);
  outline-offset: 2px;
}

.wxkn-breadcrumb-separator {
  color: var(--color-text-muted);
  margin: 0 0.75rem;
  user-select: none;
}

.wxkn-breadcrumb-current {
  color: var(--color-text-heading);
  font-weight: 600;
}

.wxkn-breadcrumb--light .wxkn-breadcrumb a {
  color: var(--color-text-secondary);
}

.wxkn-breadcrumb--light .wxkn-breadcrumb a:hover {
  color: var(--color-primary, #4b5563);
}

.wxkn-breadcrumb--light .wxkn-breadcrumb-separator {
  color: var(--color-text-muted);
}

.wxkn-breadcrumb--light .wxkn-breadcrumb-current {
  color: var(--color-text-heading);
}

.wxkn-breadcrumb--compact {
  padding: 0.5rem 0;
  margin-bottom: 0.75rem;
  border-bottom: none;
}

.wxkn-breadcrumb--compact .wxkn-breadcrumb {
  font-size: 13px;
}

.wxkn-breadcrumb--compact .wxkn-breadcrumb-separator {
  margin: 0 0.5rem;
}

.wxkn-breadcrumb--float {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 0;
  background: none;
  border: none;
}

.wxkn-breadcrumb--float .wxkn-breadcrumb {
  font-size: 14px;
  letter-spacing: 0.05em;
  margin-left: 0;
}

.wxkn-breadcrumb--float .wxkn-breadcrumb a {
  color: var(--color-text-secondary);
}

.wxkn-breadcrumb--float .wxkn-breadcrumb a:hover {
  color: var(--color-primary, #4b5563);
}

.wxkn-breadcrumb--float .wxkn-breadcrumb-separator {
  color: var(--color-text-muted);
  margin: 0 8px;
}

.wxkn-breadcrumb--float .wxkn-breadcrumb-current {
  color: var(--color-text-heading);
}

@media (max-width: 767px) {
  .wxkn-breadcrumb-wrapper {
    padding: 0.5rem 0;
  }

  .wxkn-breadcrumb {
    font-size: 13px;
    margin-left: 0;
  }

  .wxkn-breadcrumb-separator {
    margin: 0 0.5rem;
  }

  .wxkn-breadcrumb--float {
    bottom: 12px;
  }

  .wxkn-breadcrumb--float .wxkn-breadcrumb {
    font-size: 13px;
  }

  .wxkn-breadcrumb--float .wxkn-breadcrumb-separator {
    margin: 0 6px;
  }
}

/* ===================================
    Prose - 内容排版样式（通用）
   =================================== */
.prose {
  color: var(--color-text-body);
  line-height: 1.8;
}

.prose h2, .prose h3, .prose h4 {
  color: var(--color-text-heading);
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
}

.prose p {
  margin-bottom: 1.5rem;
}

.prose ul, .prose ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose blockquote {
  border-left: 4px solid var(--color-secondary);
  padding-left: 1.5rem;
  font-style: italic;
  color: var(--color-text-heading);
  margin: 2rem 0;
}

.prose img {
  margin: 2.5rem 0;
}

.prose a {
  color: var(--color-link, #4b5563);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.3s ease;
}

.prose a:hover {
  color: var(--color-link-hover, #374151);
}

/* ===================================
    Single Product Page - 产品详情页
   =================================== */
.single-product-page {
  background: var(--color-bg-primary);
  padding-top: var(--header-height, 80px);
}

/* ---- S01 首屏 ---- */
.product-hero {
  padding: 3rem 0;
  background: var(--color-bg-primary);
  border-bottom: 1px solid var(--color-border-light);
}

@media (min-width: 768px) {
  .product-hero { padding: 5rem 0; }
}

.product-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .product-hero__inner {
    flex-direction: row;
    gap: 5rem;
  }
}

.product-hero__gallery { width: 100%; }

.product-hero__info {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 1024px) {
  .product-hero__gallery,
  .product-hero__info { width: 50%; }
}

/* ---- 主图库 ---- */
.product-gallery__stage {
  position: relative;
  background: var(--color-bg-primary);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border: 1px solid var(--color-border-light);
  padding: 2rem;
}

.product-gallery__view {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-gallery__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-gallery__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: none;
}

.product-gallery__video.is-open { display: block; }

.product-gallery__video-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-gallery__play {
  position: absolute;
  inset: 0;
  z-index: 20;
  width: 100%;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: background 0.3s ease;
}

.product-gallery__play:hover { background: rgba(0, 0, 0, 0.4); }

.product-gallery__play-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px var(--color-shadow-md), 0 4px 6px -4px var(--color-shadow-md);
  transition: transform 0.3s ease;
}

.product-gallery__play:hover .product-gallery__play-icon { transform: scale(1.1); }

.product-gallery__play-icon svg {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
  margin-left: 0.25rem;
}

.product-gallery__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 30;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.product-gallery__close.is-open { display: flex; }
.product-gallery__close:hover { background: rgba(0, 0, 0, 0.7); }
.product-gallery__close svg { width: 24px; height: 24px; color: var(--color-white); }

.product-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  box-shadow: 0 4px 6px -1px var(--color-shadow-md);
  transition: opacity 0.3s ease, background 0.2s ease;
}

.product-gallery__nav--prev { left: 1rem; }
.product-gallery__nav--next { right: 1rem; }
.product-gallery__stage:hover .product-gallery__nav { opacity: 1; }
.product-gallery__nav:hover { background: var(--color-white); }
.product-gallery__nav svg { width: 24px; height: 24px; color: var(--color-text-heading); }

/* ---- 缩略图 ---- */
.product-thumbs { position: relative; }

.product-thumbs__track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-behavior: smooth;
}

.thumbnail-item {
  flex-shrink: 0;
  width: 96px;
  aspect-ratio: 4 / 3;
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.thumbnail-item:hover { border-color: var(--color-primary); }
.thumbnail-item.is-active { border: 2px solid var(--color-primary); }
.thumbnail-item img { width: 100%; height: 100%; object-fit: contain; }

.product-thumbs__nav {
  position: absolute;
  top: 50%;
  z-index: 10;
  width: 32px;
  height: 32px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px var(--color-shadow-md);
}

.product-thumbs__nav:hover { background: var(--color-bg-secondary); }
.product-thumbs__nav--prev { left: 0; transform: translate(-0.5rem, -50%); }
.product-thumbs__nav--next { right: 0; transform: translate(0.5rem, -50%); }
.product-thumbs__nav svg { width: 16px; height: 16px; color: var(--color-text-secondary); }

/* ---- S01 首屏文案 ---- */
.product-hero__title {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 1rem;
}

.product-hero__subtitle {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
}

.product-highlights { margin-bottom: 2.5rem; }

.product-highlights__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: 0.5rem;
}

.product-highlights__rule {
  width: 100%;
  height: 1px;
  background: var(--color-border);
  margin-bottom: 1rem;
}

.product-highlights__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.product-highlights__list li + li { margin-top: 1rem; }

.product-highlights__list li svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.product-highlights__list li span {
  color: var(--color-text-secondary);
  font-weight: 500;
}

.product-hero__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .product-hero__actions { flex-direction: row; }
}

.product-hero__actions .btn-primary {
  text-align: center;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* ---- S02 / S03 详情 ---- */
.product-detail {
  padding: 4rem 0;
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
}

@media (min-width: 768px) {
  .product-detail { padding: 6rem 0; }
}

.product-detail__inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  position: relative;
  align-items: flex-start;
}

@media (min-width: 1024px) {
  .product-detail__inner { flex-direction: row; }
}

.product-detail__main { width: 100%; }

@media (min-width: 1024px) {
  .product-detail__main { width: 66.6667%; }
}

.product-detail__card {
  background: var(--color-bg-primary);
  padding: 2rem;
  border: 1px solid var(--color-border-light);
  border-radius: 2px;
  box-shadow: 0 1px 2px 0 var(--color-shadow-sm);
}

@media (min-width: 768px) {
  .product-detail__card { padding: 3rem; }
}

.product-detail__prose { max-width: none; }
.product-detail__prose a { color: var(--color-primary); }
.product-detail__prose img {
  border-radius: 6px;
  box-shadow: 0 1px 2px 0 var(--color-shadow-sm);
}
.product-detail__prose table {
  width: 100%;
  font-size: 0.875rem;
  border-collapse: collapse;
}
.product-detail__prose th {
  background: var(--color-bg-secondary);
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--color-text-heading);
  border-bottom: 1px solid var(--color-border);
}
.product-detail__prose td {
  padding: 1rem;
  border-bottom: 1px solid var(--color-border-light);
  color: var(--color-text-secondary);
}

/* ---- S02 参数表 ---- */
.product-spec-title { font-size: 28px; }
.product-spec-title--flush { margin-top: 0; }

.product-table-wrap {
  overflow-x: auto;
  margin: 2rem 0;
}

.product-table {
  width: 100%;
  text-align: left;
  border-collapse: collapse;
}

.product-table th {
  background: var(--color-bg-secondary);
  padding: 1rem;
  font-weight: 600;
  color: var(--color-text-heading);
  border-bottom: 1px solid var(--color-border);
}

.product-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--color-border-light);
}

.product-table__key {
  font-weight: 500;
  color: var(--color-text-heading);
}

.product-table__val { color: var(--color-text-secondary); }

.product-detail__divider {
  margin: 3rem 0;
  border: none;
  border-top: 1px solid var(--color-border);
}

/* ---- S03 图文详情（Z 形布局）---- */
.product-z-title { font-size: 24px; }

.product-zrow {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  margin: 2rem 0;
}

@media (min-width: 768px) {
  .product-zrow { flex-direction: row; }
  .product-zrow--reverse { flex-direction: row-reverse; }
}

.product-zrow__media { width: 100%; }
.product-zrow__text { width: 100%; }

@media (min-width: 768px) {
  .product-zrow__media { width: 50%; }
  .product-zrow__text--half { width: 50%; }
}

.product-zrow__text-block { margin: 2rem 0; }

.product-zrow__video {
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 2px 0 var(--color-shadow-sm);
}

.product-zrow__img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 1px 2px 0 var(--color-shadow-sm);
}

.product-zrow__divider {
  margin: 0;
  border: none;
  border-top: 1px solid var(--color-border);
}

/* ---- 右侧悬浮询盘表单 ---- */
.product-detail__aside {
  width: 100%;
  position: sticky;
  top: 6rem;
  z-index: 10;
}

@media (min-width: 1024px) {
  .product-detail__aside { width: 33.3333%; }
}

.product-form-card {
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  padding: 2rem;
  border-radius: 2px;
  box-shadow: 0 25px 50px -12px var(--color-shadow-md);
}

.product-form-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 0.5rem;
}

.product-form-card__text {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

/* ---- S04 相关产品 ---- */
.product-related {
  padding: 4rem 0;
  border-top: 1px solid var(--color-border);
}

@media (min-width: 768px) {
  .product-related { padding: 6rem 0; }
}

.product-related__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.product-related__title {
  margin-bottom: 0;
  font-size: 1.875rem;
}

@media (min-width: 768px) {
  .product-related__title { font-size: 2.25rem; }
}

.product-related__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .product-related__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .product-related__grid { grid-template-columns: repeat(4, 1fr); }
}

.link-accent {
  color: var(--accent-gold);
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.link-accent:hover { opacity: 0.7; }

.product-related__viewall {
  display: none;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .product-related__viewall { display: inline-flex; }
}

.product-related__viewall-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.product-related__viewall-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(251, 191, 36, 0.1);
  transition: background 0.2s ease;
}

.product-related__viewall-link:hover .product-related__viewall-icon {
  background: rgba(251, 191, 36, 0.2);
}

.product-related__viewall-icon svg { width: 20px; height: 20px; }

.product-related__viewall-mobile {
  display: flex;
  justify-content: center;
  padding-top: 2rem;
}

@media (min-width: 768px) {
  .product-related__viewall-mobile { display: none; }
}

.product-card-bento__media {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 260px;
}

.product-card-bento__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
}

.product-card-bento__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  background: var(--color-bg-primary);
  flex: 1;
}

.product-card-bento__title { margin-bottom: 1rem; }

.product-card-bento__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.product-tag {
  padding: 0.125rem 0.5rem;
  background: var(--color-bg-tertiary);
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.single-product-page .card-overlay-arrow svg { width: 24px; height: 24px; }

.single-product-page .text-body p {
  margin-bottom: 1.5rem;
  color: var(--color-text-secondary);
}

.single-product-page .text-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.single-product-page .text-body h2,
.single-product-page .text-body h3,
.single-product-page .text-body h4 {
  color: var(--color-text-heading);
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
}

.single-product-page .text-body h2 { font-size: 1.75rem; }
.single-product-page .text-body h3 { font-size: 1.5rem; }
.single-product-page .text-body h4 { font-size: 1.25rem; }

.single-product-page .text-body ul,
.single-product-page .text-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  color: var(--color-text-secondary);
}

.single-product-page .text-body ul { list-style-type: disc; }
.single-product-page .text-body ol { list-style-type: decimal; }
.single-product-page .text-body li { margin-bottom: 0.5rem; }

.single-product-page .product-card-bento {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.single-product-page .product-card-title {
  color: var(--color-text-heading);
  transition: color 0.3s ease;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  text-align: left;
}

.single-product-page .card-overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.single-product-page .product-card-bento:hover .card-overlay {
  opacity: 1;
}

.single-product-page .card-overlay-arrow {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transform: translate(0, 12px);
  opacity: 0;
  transition: all 0.35s ease;
}

.single-product-page .product-card-bento:hover .card-overlay-arrow {
  transform: translate(0, 0);
  opacity: 1;
}

.single-product-page .form-card-hover {
  position: relative;
  overflow: hidden;
}

.single-product-page .form-card-hover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: var(--color-secondary);
  transition: width 0.5s ease;
}

.single-product-page .form-card-hover:hover::before {
  width: 100%;
}

.single-product-page .section-product-matrix {
  background: transparent;
}

/* ===================================
    Single Post Page - 博客详情页
   =================================== */
.single-post-page {

}

.single-post-page .single-post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 992px) {
  .single-post-page .single-post-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.single-post-page .single-post-main {
  padding-top: 100px;
  background-color: var(--color-bg-secondary);
}

.single-post-page .single-post-section {
  padding-top: 2rem;
}

.single-post-page .post-content .post-featured-image {
  margin-bottom: 2rem;
}

.single-post-page .post-content .post-featured-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.single-post-page .post-content .post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.single-post-page .post-content .post-cat-label {
  color: var(--color-primary, #4b5563);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.single-post-page .post-content .post-date-label {
  color: var(--color-text-muted);
  font-size: 13px;
}

.single-post-page .post-content .post-title {
  color: var(--color-text-heading);
  margin-bottom: 2rem;
  font-size: 32px;
  line-height: 1.3;
  font-weight: 700;
}

.single-post-page .post-content .post-body {
  color: var(--color-text-body);
  line-height: 1.8;
  font-size: 16px;
}

/* 正文基础排版（the_content 输出裸标签，需主题提供样式）*/
.single-post-page .post-content .post-body p {
  margin: 0 0 1.5rem;
}

.single-post-page .post-content .post-body h2,
.single-post-page .post-content .post-body h3,
.single-post-page .post-content .post-body h4 {
  color: var(--color-text-heading);
  margin: 2.75rem 0 1.25rem;
  font-weight: 700;
  line-height: 1.35;
}

.single-post-page .post-content .post-body h2 { font-size: 1.75rem; }
.single-post-page .post-content .post-body h3 { font-size: 1.375rem; }
.single-post-page .post-content .post-body h4 { font-size: 1.125rem; }

.single-post-page .post-content .post-body ul,
.single-post-page .post-content .post-body ol {
  margin: 0 0 1.5rem;
  padding-left: 1.5rem;
}

.single-post-page .post-content .post-body ul { list-style-type: disc; }
.single-post-page .post-content .post-body ol { list-style-type: decimal; }
.single-post-page .post-content .post-body li { margin-bottom: 0.5rem; }

.single-post-page .post-content .post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 0 0 1.5rem;
}

.single-post-page .post-content .post-body a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.single-post-page .post-content .post-body a:hover {
  color: var(--color-text-heading);
}

.single-post-page .post-content .post-body blockquote {
  margin: 0 0 1.5rem;
  padding: 1rem 1.5rem;
  border-left: 4px solid var(--color-primary);
  background: var(--color-bg-tertiary);
  border-radius: 0 8px 8px 0;
  color: var(--color-text-secondary);
  font-style: italic;
}

.single-post-page .post-content .post-body blockquote p:last-child {
  margin-bottom: 0;
}

.single-post-page .post-content .post-tags {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.single-post-page .post-content .post-tags .tags-label {
  color: var(--color-text-heading);
  font-size: 14px;
  font-weight: 600;
  margin-right: 0.5rem;
}

.single-post-page .post-content .post-tags a {
  color: var(--color-primary, #4b5563);
  background: var(--color-tag-bg);
  font-size: 13px;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
}

.single-post-page .post-content .post-tags a:hover {
  background: var(--color-tag-bg-hover);
}

.single-post-page .post-content .post-share {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  margin-bottom: 2rem;
  border-top: 1px dashed var(--color-border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.single-post-page .post-content .post-share .share-label {
  color: var(--color-text-heading);
  font-size: 14px;
  font-weight: 600;
}

.single-post-page .post-content .post-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-bg-tertiary);
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: all 0.2s ease;
}

.single-post-page .post-content .post-share a:hover {
  transform: translateY(-2px);
}

.single-post-page .post-content .post-share a svg {
  width: 18px;
  height: 18px;
}

.single-post-page .post-content .post-share a.share-facebook:hover {
  background-color: var(--color-social-facebook);
  color: var(--color-white);
}

.single-post-page .post-content .post-share a.share-twitter:hover {
  background-color: var(--color-social-twitter);
  color: var(--color-white);
}

.single-post-page .post-content .post-share a.share-linkedin:hover {
  background-color: var(--color-social-linkedin);
  color: var(--color-white);
}

.single-post-page .post-content .post-share a.share-whatsapp:hover {
  background-color: var(--color-social-whatsapp);
  color: var(--color-white);
}

.single-post-page .post-content .post-share a.share-pinterest:hover {
  background-color: var(--color-social-pinterest);
  color: var(--color-white);
}

.single-post-page .post-content .post-share a.share-email:hover {
  background-color: var(--color-social-email);
  color: var(--color-white);
}

.single-post-page .post-content .post-share a.share-copy:hover {
  background-color: var(--color-text-heading);
  color: var(--color-white);
}

/* Meta: author link next to date */
.single-post-page .post-content .post-meta-separator {
  color: var(--color-text-muted);
  font-size: 13px;
}

.single-post-page .post-content .post-author-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-heading);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.single-post-page .post-content .post-author-link:hover {
  color: var(--color-primary);
}

.single-post-page .post-content .post-author-link .post-author-avatar-sm {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--color-border);
}

/* Author Card (end of article) */
.single-post-page .post-content .post-author-card {
  margin-top: 2rem;
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: var(--color-bg-tertiary);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

@media (min-width: 600px) {
  .single-post-page .post-content .post-author-card {
    gap: 1.75rem;
    padding: 2.25rem;
  }
}

.single-post-page .post-content .post-author-card-avatar {
  flex-shrink: 0;
  display: block;
}

.single-post-page .post-content .post-author-card-avatar .author-avatar-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-bg-card);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

@media (min-width: 600px) {
  .single-post-page .post-content .post-author-card-avatar .author-avatar-img {
    width: 88px;
    height: 88px;
  }
}

.single-post-page .post-content .post-author-card-body {
  display: flex;
  flex-direction: column;
}

.single-post-page .post-content .post-author-card-label {
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.single-post-page .post-content .post-author-card-name {
  color: var(--color-text-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: color 0.2s ease;
}

.single-post-page .post-content .post-author-card-name:hover {
  color: var(--color-primary);
}

.single-post-page .post-content .post-author-card-role {
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 600;
  margin-top: 0.25rem;
}

.single-post-page .post-content .post-author-card-bio {
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin-top: 0.75rem;
}

.single-post-page .post-content .post-author-card-viewall {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.single-post-page .post-content .post-author-card-viewall svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.single-post-page .post-content .post-author-card-viewall:hover svg {
  transform: translateX(3px);
}

/* Table of Contents (auto H2 outline) */
.single-post-page .post-content .post-toc {
  margin: 0 0 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--color-bg-tertiary);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.single-post-page .post-content .post-toc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.single-post-page .post-content .post-toc-title {
  color: var(--color-text-heading);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.single-post-page .post-content .post-toc-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
  padding: 0;
}

.single-post-page .post-content .post-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.15rem;
  counter-reset: toc;
}

.single-post-page .post-content .post-toc[aria-expanded="false"] .post-toc-list {
  display: none;
}

.single-post-page .post-content .post-toc-list li {
  counter-increment: toc;
}

.single-post-page .post-content .post-toc-list a {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.single-post-page .post-content .post-toc-list a::before {
  content: counter(toc, decimal-leading-zero);
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 12px;
  flex-shrink: 0;
}

.single-post-page .post-content .post-toc-list a:hover,
.single-post-page .post-content .post-toc-list a.is-active {
  color: var(--color-primary);
  background: var(--color-bg-card);
  border-left-color: var(--color-primary);
}

.single-post-page .post-content .post-toc-list a:hover::before,
.single-post-page .post-content .post-toc-list a.is-active::before {
  color: var(--color-primary);
}

/* 锚点偏移：固定页头不遮挡滚到的标题 */
.single-post-page .post-content .post-body h2 {
  scroll-margin-top: calc(var(--header-height, 90px) + 30px);
}

/* Sidebar */
.single-post-page .post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 100px;
  align-self: start;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.single-post-page .post-sidebar .sidebar-widget {
  padding: 1.5rem;
}

.single-post-page .post-sidebar .sidebar-widget h4 {
  color: var(--color-text-heading);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border-light);
}

.single-post-page .related-posts-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.single-post-page .related-posts-sidebar .related-item {
  display: flex;
  gap: 0.75rem;
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border-light);
  transition: background 0.2s;
}

.single-post-page .related-posts-sidebar .related-item:last-child {
  border-bottom: none;
}

.single-post-page .related-posts-sidebar .related-item:hover {
  background: var(--color-border-light);
}

.single-post-page .related-posts-sidebar .related-thumb {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
}

.single-post-page .related-posts-sidebar .related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-post-page .related-posts-sidebar .related-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
}

.single-post-page .related-posts-sidebar .related-title {
  color: var(--color-text-heading);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}

.single-post-page .related-posts-sidebar .related-date {
  color: var(--color-text-muted);
  font-size: 13px;
}

/* ===== Exit-Intent Modal ===== */
.wxkn-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.wxkn-modal.is-open { opacity: 1; visibility: visible; }

.wxkn-modal__overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay-dark);
  backdrop-filter: blur(4px);
}

.wxkn-modal__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 5fr 6fr;
  width: min(960px, 94vw);
  max-height: 88vh;
  background: var(--color-bg-card);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 60px -15px var(--color-modal-shadow);
  transform: translateY(12px) scale(0.98);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.wxkn-modal.is-open .wxkn-modal__dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.wxkn-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: var(--color-modal-close-bg);
  color: var(--color-text-heading);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.wxkn-modal__close:hover { background: var(--color-white); transform: rotate(90deg); }

.wxkn-modal__left {
  background: linear-gradient(135deg, var(--color-modal-panel-from) 0%, var(--color-modal-panel-to) 100%);
  color: var(--color-white);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.wxkn-modal__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-modal-accent);
  margin-bottom: 16px;
}
.wxkn-modal__title {
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 18px;
}
.wxkn-modal__title em {
  color: var(--color-modal-accent);
  font-style: normal;
}
.wxkn-modal__lede {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-modal-text-muted);
  margin: 0 0 24px;
}
.wxkn-modal__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wxkn-modal__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--color-modal-text-soft);
}
.wxkn-modal__list li::before {
  content: "✓";
  color: var(--color-modal-accent);
  font-weight: 700;
  flex-shrink: 0;
}

.wxkn-modal__right {
  padding: 48px 44px;
  overflow-y: auto;
  background: var(--color-bg-card);
}
.wxkn-modal__form-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--color-text-heading);
}
.wxkn-modal__form-sub {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin: 0 0 24px;
}

/* Lead form inside the modal */
.wxkn-form { display: flex; flex-direction: column; gap: 14px; }
.wxkn-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wxkn-form__field { display: flex; flex-direction: column; gap: 6px; }
.wxkn-form__field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-secondary);
}
.wxkn-form__field input,
.wxkn-form__field textarea,
.wxkn-form__field select {
  width: 100%;
  padding: 11px 13px;
  font-size: 14px;
  font-family: inherit;
  color: var(--color-text-heading);
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  box-sizing: border-box;
}
.wxkn-form__field input:focus,
.wxkn-form__field textarea:focus,
.wxkn-form__field select:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-bg-primary);
  box-shadow: 0 0 0 3px var(--color-shadow-md);
}
.wxkn-form__field textarea { min-height: 90px; resize: vertical; }
.wxkn-form__submit {
  margin-top: 8px;
  padding: 14px;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.wxkn-form__submit:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px var(--color-shadow-md);
}
.wxkn-form__note {
  font-size: 11px;
  color: var(--color-text-muted);
  text-align: center;
  margin: 10px 0 0;
}

@media (max-width: 768px) {
  .wxkn-modal__dialog {
    grid-template-columns: 1fr;
    width: 100vw;
    max-height: 100vh;
    border-radius: 0;
  }
  .wxkn-modal__left { display: none; }
  .wxkn-modal__right { padding: 60px 22px 32px; }
  .wxkn-form__row { grid-template-columns: 1fr; }
}


/* ===================================
   Header / Navigation - 全站导航
   =================================== */
.wxkn-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.wxkn-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.wxkn-nav__logo {
  display: block;
  flex-shrink: 0;
}

.wxkn-nav__logo img {
  height: 24px;
  width: auto;
}

.wxkn-nav__menu {
  display: none;
  height: 100%;
}

@media (min-width: 768px) {
  .wxkn-nav__menu {
    display: flex;
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .wxkn-nav__menu {
    gap: 2.5rem;
  }
}

.wxkn-nav__item {
  position: relative;
  height: 100%;
}

.wxkn-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  height: 100%;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #000;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.wxkn-nav__link:hover {
  opacity: 0.5;
}

.wxkn-nav__link svg {
  width: 16px;
  height: 16px;
}

.wxkn-nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 100%;
  width: max-content;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.5rem);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.wxkn-nav__item:hover .wxkn-nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.wxkn-nav__dropdown-panel {
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border-light);
  box-shadow: 0 20px 25px -5px var(--color-shadow-md), 0 8px 10px -6px var(--color-shadow-md);
}

.wxkn-nav__dropdown-link {
  display: block;
  padding: 0.75rem 1.5rem;
  font-size: 15px;
  font-weight: 700;
  color: #000;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.wxkn-nav__dropdown-link + .wxkn-nav__dropdown-link {
  border-top: 1px solid var(--color-border-light);
}

.wxkn-nav__dropdown-link:hover {
  background: #2957b3;
  color: var(--color-white);
}

.wxkn-nav__cta {
  display: none;
  flex-shrink: 0;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: background 0.2s ease;
}

@media (min-width: 768px) {
  .wxkn-nav__cta {
    display: inline-block;
  }
}

.wxkn-nav__cta:hover {
  background: var(--color-primary-hover);
}

.wxkn-nav__hamburger {
  position: relative;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: #000;
  transition: color 0.2s ease;
}

@media (min-width: 768px) {
  .wxkn-nav__hamburger {
    display: none;
  }
}

.wxkn-nav__hamburger:hover {
  color: var(--color-primary);
}

.wxkn-nav__hamburger svg {
  width: 24px;
  height: 24px;
}

/* Mobile Navigation */
.wxkn-mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: var(--color-overlay-light);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.wxkn-mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.wxkn-mobile-nav-inner {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 380px;
    height: 100%;
    background: var(--color-bg-primary);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.wxkn-mobile-nav.active .wxkn-mobile-nav-inner {
    transform: translateX(0);
}

.wxkn-mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 80px;
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
}

.wxkn-mobile-nav-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0 32px;
}

/* Mobile Nav Groups (accordion) */
.wxkn-mobile-nav-group {
    border-bottom: 1px solid var(--color-border-light);
}

.wxkn-mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 24px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-body);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.wxkn-mobile-nav-toggle i,
.wxkn-mobile-nav-toggle svg {
    transition: transform 0.3s ease;
    width: 16px;
    height: 16px;
}

.wxkn-mobile-nav-toggle.active {
    background-color: var(--color-primary, #4b5563);
    color: var(--color-white);
}

.wxkn-mobile-nav-toggle.active i,
.wxkn-mobile-nav-toggle.active svg {
    transform: rotate(180deg);
}

.wxkn-mobile-subnav {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background-color: var(--color-bg-tertiary);
}

.wxkn-mobile-subnav.active {
    max-height: 800px;
}

.wxkn-mobile-subnav-link {
    display: block;
    padding: 16px 24px 16px 36px;
    font-size: 15px;
    color: var(--color-text-body);
    font-weight: 700;
    text-decoration: none;
    border-top: 1px solid var(--color-border-light);
    transition: color 0.2s ease;
    white-space: nowrap;
}

.wxkn-mobile-subnav-link:hover {
    color: var(--color-primary, #4b5563);
}

/* Mobile Nav Simple Links */
.wxkn-mobile-nav-link {
    display: block;
    padding: 16px 24px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-body);
    text-decoration: none;
    border-bottom: 1px solid var(--color-border-light);
}

/* Mobile CTA */
.wxkn-mobile-cta {
    display: block;
    margin: 20px 24px;
    padding: 14px 0;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-white);
    background: var(--color-secondary);
    text-decoration: none;
    transition: background 0.2s ease;
}

.wxkn-mobile-cta:hover {
    background: var(--color-secondary-hover);
}

/* Mobile Nav Header Logo & Close */
.wxkn-mobile-nav-logo-link {
    display: block;
}

.wxkn-mobile-nav-logo-link img {
    height: 20px;
    width: auto;
}

.wxkn-mobile-nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: #000;
    transition: color 0.2s ease;
}

.wxkn-mobile-nav-close:hover {
    color: var(--color-primary);
}

.wxkn-mobile-nav-close svg {
    width: 24px;
    height: 24px;
}

/* ===================================
    Back to Top - 返回顶部浮动按钮
    风格对齐：cubic-bezier(0.4,0,0.2,1)、hover translateY(-2px)、
    focus 2px/2px、卡片级中性阴影、断点 767px；主色引用 --color-primary / --color-primary-hover。
   =================================== */
.gb-back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    box-shadow: 0 4px 6px -1px var(--color-shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gb-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.gb-back-to-top:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px var(--color-shadow-md);
}

.gb-back-to-top:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.gb-back-to-top svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 767px) {
    .gb-back-to-top {
        right: 16px;
        bottom: 16px;
        width: 46px;
        height: 46px;
    }
    .gb-back-to-top svg {
        width: 22px;
        height: 22px;
    }
}