/* ============================================
   产品详情组件
============================================ */
.junhua-goods-read-section {
  padding-bottom: 3.75rem;
  /* background: var(--bg-color-white); */
}

/* 面包屑导航 */
.junhua-goods-read-breadcrumb > .container {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  flex-wrap: wrap;
  padding-top: var(--spacing-5xl);
  padding-bottom: var(--spacing-5xl);
  font-size: var(--font-size-base);
  line-height: 1.15;
  background-color: #fff;
}

.junhua-goods-read-breadcrumb .junhua-breadcrumb-link {
  color: var(--primary-color);
  text-decoration: none;
  transition: opacity var(--transition-base);
  text-transform: capitalize;
}

.junhua-goods-read-breadcrumb .junhua-breadcrumb-link:hover {
  opacity: 0.8;
}

.junhua-goods-read-breadcrumb .junhua-breadcrumb-separator {
  display: flex;
  align-items: center;
}

.junhua-goods-read-breadcrumb .junhua-breadcrumb-current {
  color: var(--text-color-strong);
}

/* 主内容区 */
.junhua-goods-read-wrapper {
  width: 100%;
}

.junhua-goods-read-row {
}

.junhua-goods-read-row > .container {
  /* display: flex; */
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--spacing-5xl);
  padding-bottom: var(--spacing-5xl);
  background-color: #fff;
}

/* 左侧图片区 */
.junhua-goods-read-gallery {
  flex-shrink: 0;
  display: flex;
  gap: var(--spacing-md);

  /* width: 500px; */
}

/* 小图轮播导航 */
.junhua-spec-list {
  /* display: flex; */
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto;
  width: 5rem;
  height: 25rem;
  align-items: center;
  gap: var(--spacing-sm);
}

.junhua-spec-arrow-web {
  width: 100%;
  height: 1rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-color-white);
  border: 0.5px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  color: var(--text-color-gray-400);
  padding: 0;
}

.junhua-spec-arrow-mobile {
  display: none;
  width: 1rem;
  height: 100%;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  background: var(--bg-color-white);
  border: 0.5px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  color: var(--text-color-gray-400);
  padding: 0;
}

.junhua-spec-arrow .iconfont {
  font-size: var(--font-size-mini);
}

.junhua-spec-arrow:hover {
  background: var(--bg-color-tertiary);
  border-color: rgba(0, 0, 0, 0.1);
}

.junhua-spec-swiper-wrapper {
  flex: 1;
  overflow: hidden;
  height: 100%;
}

.junhua-spec-swiper {
  width: 100%;
  height: 100%;
}

.junhua-spec-swiper .swiper-slide {
  width: 100%;
  height: auto;
}

.junhua-spec-item {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  /* background: #6c8490; */
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-base);
  border: var(--border-width-medium) solid transparent;
}

.junhua-spec-item:hover,
.junhua-spec-item.active {
  border-color: var(--primary-color);
}

.junhua-spec-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 大图显示 */
.junhua-main-image {
  width: 25rem;
  aspect-ratio: 1;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.junhua-main-image .junhua-main-image-link {
  display: block;
  width: 100%;
  height: 100%;
}

.junhua-main-image .junhua-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: pointer;
}

/* 视频播放图标 */
.junhua-main-image .junhua-video-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 4rem;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-base);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.junhua-main-image .junhua-video-icon:hover {
  color: var(--primary-color);
  transform: translate(-50%, -50%) scale(1.1);
}

/* 隐藏的图片链接用于画廊 */
.junhua-main-image .junhua-hidden-image {
  display: none !important;
}

/* 右侧产品信息区 */
.junhua-goods-read-info {
  flex: 1;
  background: url('https://okki-shop.oss-cn-hangzhou.aliyuncs.com/templates/shop-default/58cc3137-1e12-4434-85b8-a46287305ec0-e%201951.png')
    no-repeat;
  background-size: 10.5rem;
  background-position: right bottom;
}

.junhua-info-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3xl);
}

.junhua-product-title {
  font-family: var(--font-family);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-h3);
  line-height: 1.15;
  color: var(--text-color-strong);
  margin: 0;
}

.junhua-product-subtitle {
  font-family: var(--font-family);
  font-weight: var(--font-weight-normal);
  font-size: var(--font-size-small);
  line-height: 1.15;
  color: var(--text-color-gray-600);
  margin: 0;
}

.junhua-divider {
  width: 100%;
  height: var(--border-width-thin);
  background: var(--border-color-default);
}

.junhua-product-rich_desc,
.junhua-product-rich_desc * {
  font-family: var(--font-family);
  font-weight: var(--font-weight-normal);
  font-size: var(--font-size-tiny);
  line-height: 2.1;
  color: var(--text-color-strong);
}

/* 询盘按钮 */
.junhua-inquiry-action {
  display: flex;
}

.junhua-inquiry-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md) var(--spacing-2xl);
  background: var(--primary-color);
  color: var(--text-color-white);
  font-family: var(--font-family);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-base);
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: all var(--transition-base);
  border: 1px solid transparent;
  cursor: pointer;
}

.junhua-inquiry-btn:hover {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
  text-decoration: none;
}

@media screen and (max-width: 767px) {
  .junhua-spec-list {
    grid-template-columns: auto 1fr auto;
    grid-template-rows: 1fr;
    width: 100%;
    height: 5rem;
  }
  .junhua-spec-arrow-mobile {
    display: flex;
  }

  .junhua-spec-arrow-web {
    display: none;
  }

  .junhua-spec-swiper .swiper-slide {
    width: auto;
    height: 100%;
  }
  .junhua-goods-read-gallery {
    width: 100%;
    flex-direction: column-reverse;
    align-items: center;
  }

  .junhua-goods-read-row > .container {
    grid-template-columns: 1fr;
  }
   .junhua-detail-content img {
    width: 100%!important;
   }
  .junhua-main-image {
    width: 100%;
  }
}

/* ============================================
   Material & Performance Highlights 组件
============================================ */
.junhua-goods-highlights-section {
  padding: var(--spacing-7xl) 0;
  background: var(--bg-color-light);
}

/* 标题区域 */
.junhua-highlights-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-3xl);
  margin-bottom: var(--spacing-7xl);
}

.junhua-highlights-title-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-3xl);
}

.junhua-highlights-light-title {
  color: var(--primary-color);
}

.junhua-highlights-title {
  font-family: var(--font-family);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-h2);
  line-height: 1.15;
  text-align: center;
  color: var(--text-color-strong);
  margin: 0;
}

.junhua-highlights-subtitle {
  font-family: var(--font-family);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-base);
  line-height: 1.15;
  text-align: center;
  color: var(--text-color-strong);
  margin: 0;
  max-width: 93.75rem;
}

/* 特性卡片网格 */
.junhua-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-7xl);
}

.junhua-highlight-card {
  position: relative;
  aspect-ratio: 490 / 280;
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-color-white);
}

.junhua-highlight-image {
  width: 100%;
  height: 100%;
}

.junhua-highlight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.junhua-highlight-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-base);
  background: rgba(0, 0, 0, 0.4);
}

.junhua-highlight-title {
  font-family: var(--font-family);
  font-weight: var(--font-weight-normal);
  font-size: var(--font-size-small);
  line-height: 1.15;
  text-align: center;
  color: var(--text-color-white);
  margin: 0;
}

/* 详细说明区域 */
.junhua-highlights-details {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4xl);
}

.junhua-detail-content {
  display: flex;
  justify-content: center;
  padding:10px var(--spacing-7xl);
  height: 100%;
  /* max-height: 20rem; */
}

.junhua-detail-content:nth-last-of-type(2n + 1) {
  flex-direction: row-reverse;
}

.junhua-detail-content:nth-last-of-type(2n + 1)
  .junhua-detail-content-rich-text {
  padding-left: 0px;
  padding-right: var(--spacing-7xl);
}

@media screen and (max-width: 767px) {
  .junhua-detail-content {
    flex-direction: column !important;
    max-height: 100%;
    gap: var(--spacing-2xl);
    padding: 0px;
  }

  .junhua-detail-content-rich-text {
    padding: var(--spacing-2xl) !important;
  }

  .junhua-highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.junhua-detail-content img {
  width: 40%;
  object-fit: contain;
  display: inline-block;
  /* background-color: #fff; */
}
.junhua-detail-content-rich-text {
  margin: 0;
  padding-left: var(--spacing-7xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 统一设置所有h标签字号 */
.junhua-detail-content-rich-text h1,
.junhua-detail-content-rich-text h2,
.junhua-detail-content-rich-text h3,
.junhua-detail-content-rich-text h4,
.junhua-detail-content-rich-text h5,
.junhua-detail-content-rich-text h6 {
  font-size: var(--font-size-h4);
  font-family: var(--font-family);
  font-weight: var(--font-weight-bold);
  line-height: 1.15;
  color: var(--text-color-strong);
}

/* oem start */
/* ========================================
   Junhua OEM Partner Section
======================================== */
.junhua-oem-partner-section {
  width: 100%;
  /* background-color: var(--bg-color-light); */
  padding: var(--spacing-9xl) 0;
}

.junhua-oem-partner-container {
}

/* ========================================
   Header Area
======================================== */
.junhua-oem-partner-header {
  text-align: center;
  margin-bottom: var(--spacing-5xl);
}

.junhua-oem-partner-title {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
  color: var(--text-color-strong);
  line-height: var(--line-height-subtitle);
  margin: 0 0 var(--spacing-4xl) 0;
  text-align: center;
}

.junhua-oem-partner-title-highlight {
  color: var(--primary-color);
}

.junhua-oem-partner-subtitle {
  font-size: var(--font-size-h5);
  font-weight: var(--font-weight-bold);
  color: var(--text-color-strong);
  line-height: var(--line-height-subtitle);
  margin: 0;
  text-align: center;
}

/* ========================================
   Card List
======================================== */
.junhua-oem-partner-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-2xl);
}

.junhua-oem-partner-card {
  background-color: var(--bg-color-white);
  border-bottom: var(--border-width-thin) solid var(--border-color-lightest);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}

.junhua-oem-partner-card-image {
  width: 100%;
  height: auto;
  overflow: hidden;
  flex-shrink: 0;
}

.junhua-oem-partner-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.junhua-oem-partner-card-content {
  padding: 1.5rem var(--spacing-2xl);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.junhua-oem-partner-card-title {
  font-size: var(--font-size-h5);
  font-weight: var(--font-weight-bold);
  color: var(--text-color-strong);
  line-height: var(--line-height-subtitle);
  margin: 0;
  min-height: 2em;
  display: -webkit-box;
  /* -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis; */
}

.junhua-oem-partner-card-description {
  font-size: var(--font-size-tiny);
  font-weight: var(--font-weight-normal);
  color: var(--text-color-strong);
  line-height: var(--line-height-relaxed);
  margin: 0;
  display: -webkit-box;
}

/* back top */
.junhua-back-top {
  position: fixed;
  right: 10px;
  top: 50%;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  width: 2rem;
  height: 2rem;
  min-width: 36px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 767px) {
  .junhua-oem-partner-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* oem end */

/* category info  */

/* ========================================
   分类优势展示组件样式
   ======================================== */

.junhua-category-advantage-section {
  width: 100%;
  /* background: var(--bg-color-white); */
  padding: var(--spacing-9xl) 0;
}

.junhua-category-advantage-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-4xl);
}

/* ========================================
   标题区域
   ======================================== */

.junhua-category-advantage-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-4xl);
  max-width: var(--container-width-xl);
  width: 100%;
}

.junhua-category-advantage-title {
  font-family: var(--font-family);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-h2);
  line-height: var(--line-height-title);
  text-align: center;
  color: var(--text-color-strong);
  margin: 0;
}

.junhua-category-advantage-title-highlight {
  color: var(--primary-color);
}

.junhua-category-advantage-subtitle {
  font-family: var(--font-family);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-base);
  line-height: var(--line-height-title);
  text-align: center;
  color: var(--text-color-strong);
  margin: 0;
}

/* ========================================
   分类标签导航
   ======================================== */

.junhua-category-advantage-tabs {
  width: 100%;
  display: flex;
  justify-content: center;
}

.junhua-category-advantage-tabs-container {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs);
  background: var(--bg-color-tertiary);
  border-radius: var(--border-radius-circle);
  overflow: scroll;
}

.junhua-category-advantage-tabs-container {
  /* 1. 核心：隐藏滚动条，但保留滚动功能 */
  scrollbar-width: none; /* Firefox 专用 */
  -ms-overflow-style: none; /* IE/Edge 旧版专用 */
  overflow: auto; /* 保留滚动功能，不要设为 hidden */
}
.junhua-category-advantage-tabs-container::-webkit-scrollbar {
  display: none; /* 直接隐藏滚动条元素 */
  width: 0; /* 兜底：设置宽度为0 */
  height: 0; /* 横向滚动条需加这个 */
}

.junhua-category-advantage-tabs-container {
  overflow-x: auto; /* 横向滚动 */
  overflow-y: hidden; /* 隐藏纵向滚动 */
  white-space: nowrap; /* 子元素不换行（横向滚动需加） */
}

.junhua-category-advantage-tab {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--spacing-lg) var(--spacing-5xl);
  gap: var(--spacing-md);
  background: transparent;
  border: none;
  border-radius: var(--border-radius-circle);
  font-family: var(--font-family);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-base);
  line-height: var(--line-height-title);
  color: var(--bg-color-charcoal);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.junhua-category-advantage-tab:hover {
  background: var(--primary-color-light);
}

.junhua-category-advantage-tab.is-active {
  background: var(--primary-color);
  color: var(--text-color-white);
}

/* ========================================
   内容区域
   ======================================== */

.junhua-category-advantage-content {
  width: 100%;
  position: relative;
}

.junhua-category-advantage-content-item {
  display: none;
  width: 100%;
}

.junhua-category-advantage-content-item.is-active {
  display: block;
}

.junhua-category-advantage-content-background {
  width: 100%;
  max-width: var(--container-width-xl);
  margin: 0 auto;
  background: var(--bg-color-secondary);
  border-radius: 0;
}

.junhua-category-advantage-content-layout {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, 1fr);
  position: relative;
}

/* ========================================
   左侧：产品图片
   ======================================== */

.junhua-category-advantage-image-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.junhua-category-advantage-image {
  width: 100% !important;
  height: 100% !important;
  display: block;
  object-fit: cover;
}

/* ========================================
   右侧：详细信息
   ======================================== */

.junhua-category-advantage-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: var(--spacing-6xl);
  position: relative;
}

.junhua-category-advantage-info-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
  width: 100%;
  position: relative;
  z-index: 2;
}

.junhua-category-advantage-content-title {
  font-family: var(--font-family);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-h4);
  line-height: var(--line-height-title);
  color: var(--primary-color);
  margin: 0;
}

.junhua-category-advantage-description {
  font-family: var(--font-family);
  font-weight: var(--font-weight-normal);
  font-size: var(--font-size-small);
  line-height: var(--line-height-title);
  color: var(--text-color-strong);
  margin: 0;
}

/* ========================================
   特性列表
   ======================================== */

.junhua-category-advantage-features {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  list-style: none;
  padding: 0;
  margin: 0;
}

.junhua-category-advantage-feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-base);
  padding-left: var(--spacing-4xl);
  position: relative;
}

.junhua-category-advantage-feature-bullet {
  position: absolute;
  left: 0;
  top: var(--spacing-xs);
  width: 7px;
  height: 7px;
  background: var(--bg-color-charcoal);
  border-radius: 3.5px;
  flex-shrink: 0;
}

.junhua-category-advantage-feature-text {
  font-family: var(--font-family);
  font-weight: var(--font-weight-normal);
  font-size: var(--font-size-small);
  line-height: var(--line-height-title);
  color: var(--bg-color-charcoal);
}

/* ========================================
   装饰元素
   ======================================== */

.junhua-category-advantage-img {
  position: absolute;
  right: var(--spacing-3xl);
  bottom: var(--spacing-3xl);
  width: 12rem !important;
  height: 12rem !important;
  z-index: 0;
  pointer-events: none;
}

/* ========================================
   响应式设计 - 平板
   ======================================== */

@media (max-width: 1024px) {
}

@media (max-width: 576px) {
  .junhua-category-advantage-content-layout {
    grid-template-columns: 1fr;
  }
}

/* category info */

/* params */

.junhua-parameter-section {
}

.junhua-parameter-section-header {
  margin-bottom: var(--spacing-7xl);
}
.junhua-parameter-section-title {
  font-family: var(--font-family);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-h2);
  line-height: 1.15;
  text-align: center;
  color: var(--text-color-strong);
  margin: 0;
}

.junhua-parameter-section-title-highlight {
  color: var(--primary-color);
}

.junhua-parameter-records {
  display: flex;
  overflow: scroll;
  scrollbar-width: none; /* Firefox 专用 */
  -ms-overflow-style: none; /* IE/Edge 旧版 */
}

.junhua-parameter-records::-webkit-scrollbar {
  display: none; /* 直接隐藏滚动条元素 */
  width: 0; /* 兜底：设置宽度为0 */
  height: 0; /* 隐藏水平滚动条（如需） */
}

.junhua-parameter-record {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: max-content auto;
  align-items: center;
}

.junhua-parameter-record.hide {
  display: none;
}

.junhua-parameter-show-more {
  color: var(--text-color-gray-600);
  text-transform: capitalize;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-base);
  background: #fff;
  font-size: var(--font-size-small);
  font-family: var(--font-family);
}

.junhua-parameter-show-more .iconfont {
  font-size: 10px;
}

.junhua-parameter-record-label,
.junhua-parameter-record-value {
  padding: var(--spacing-base) 0.8rem;
  border: 1px solid #e7e7e7;
  text-align: center;
  width: 100%;
}

.junhua-parameter-record-label {
  color: var(--text-color-strong);
  font-size: var(--font-size-small);
  font-family: var(--font-family);
  font-weight: var(--font-weight-bold);
  background: #f8f8f8;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
}

.junhua-parameter-record-value {
  color: var(--text-color-strong);
  font-size: var(--font-size-small);
  font-family: var(--font-family);
  height: 100%;
  background-color: #fff;
}

@media screen and (max-width: 576px) {
  .junhua-parameter-show-more {
    display: flex;
  }
  .junhua-parameter-records {
    flex-direction: column;
    overflow: hidden;
  }
  .junhua-parameter-record {
    grid-template-columns: 1fr 1fr;
  }

  .junhua-parameter-record-label {
    height: 100%;
  }
}

/* params end */
