/* 详情页样式 - 基于首页设计风格 */
@charset "UTF-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Nunito', 'Microsoft YaHei', sans-serif;
  color: #1D1D39;
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

.zh_container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 面包屑导航 */
.zh_breadcrumb {
  background: #EBFAE9;
  padding: 20px 0;
  margin-top: 80px;
  border-bottom: 1px solid rgba(38, 144, 27, 0.1);
}

.zh_breadcrumb_container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.zh_breadcrumb_icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.zh_breadcrumb_text {
  font-size: 14px;
  color: #535362;
}

.zh_breadcrumb_text a {
  color: #26901B;
  text-decoration: none;
  transition: color 0.3s ease;
}

.zh_breadcrumb_text a:hover {
  color: #31B923;
}

.zh_breadcrumb_text span {
  color: #1D1D39;
  font-weight: 600;
}

/* 产品预览区 */
.zh_detail_preview {
  padding: 40px 0;
}

.zh_detail_card {
  background: #EBFAE9;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(38, 144, 27, 0.1);
}

.zh_detail_header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(38, 144, 27, 0.2);
}

.zh_detail_title {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: #1D1D39;
  margin-bottom: 20px;
  line-height: 1.2;
}

.zh_detail_meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.zh_detail_tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.zh_detail_tag {
  display: inline-block;
  padding: 8px 20px;
  background: #26901B;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border-radius: 40px;
}

.zh_detail_views {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #535362;
  font-size: 14px;
}

.zh_detail_views i {
  color: #26901B;
}

/* 详情布局 */
.zh_detail_flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.zh_detail_gallery {
  position: relative;
}

.zh_detail_main_image {
  position: relative;
  width: 100%;
  height: 450px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(38, 144, 27, 0.2);
}

.zh_detail_main_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zh_detail_image_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(38, 144, 27, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.zh_detail_main_image:hover .zh_detail_image_overlay {
  opacity: 1;
}

.zh_detail_zoom_icon {
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 详情信息 */
.zh_detail_info {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(38, 144, 27, 0.1);
}

.zh_detail_info_section {
  margin-bottom: 0;
}

.zh_detail_info_title {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #1D1D39;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(38, 144, 27, 0.2);
}

.zh_detail_info_list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.zh_detail_info_list li {
  display: flex;
  align-items: flex-start;
  padding: 15px 0;
  border-bottom: 1px solid rgba(38, 144, 27, 0.1);
}

.zh_detail_info_list li:last-child {
  border-bottom: none;
}

.zh_detail_info_label {
  display: flex;
  align-items: center;
  width: 120px;
  flex-shrink: 0;
  font-size: 15px;
  color: #535362;
  font-weight: 500;
}

.zh_detail_info_value {
  flex: 1;
  font-size: 15px;
  color: #1D1D39;
  line-height: 1.6;
}

.zh_provider_actions {
  display: flex;
  align-items: center;
}

.zh_provider_link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #26901B;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 40px;
  transition: all 0.3s ease;
}

.zh_provider_link:hover {
  background: #31B923;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(38, 144, 27, 0.3);
}

/* 详情内容和侧边栏 */
.zh_detail_main {
  padding: 40px 0;
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 40px;
}

/* 详情介绍 */
.zh_detail_section {
  background: #EBFAE9;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 5px 20px rgba(38, 144, 27, 0.1);
}

.zh_detail_section_header {
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(38, 144, 27, 0.2);
}

.zh_detail_section_title {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #1D1D39;
}

.zh_detail_section_content {
  font-size: 16px;
  color: #535362;
  line-height: 1.8;
}

.zh_detail_section_content p {
  margin-bottom: 15px;
}

.zh_detail_section_content img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  margin: 20px 0;
}

.zh_detail_images {
  margin-top: 30px;
}

.zh_detail_full_image {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(38, 144, 27, 0.2);
}

/* 右侧边栏 */
.zh_detail_sidebar {
  position: sticky;
  top: 120px;
  height: fit-content;
}

.zh_sidebar_widget {
  background: #EBFAE9;
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(38, 144, 27, 0.1);
}

.zh_sidebar_widget_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(38, 144, 27, 0.2);
}

.zh_sidebar_widget_title {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #1D1D39;
  margin: 0;
}

.zh_sidebar_widget_icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.zh_sidebar_widget_content {
  width: 100%;
}

.zh_sidebar_list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.zh_sidebar_list li {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(38, 144, 27, 0.1);
}

.zh_sidebar_list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.zh_sidebar_list a {
  display: block;
  color: #535362;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.6;
  transition: all 0.3s ease;
  padding: 8px 0;
}

.zh_sidebar_list a:hover {
  color: #26901B;
  padding-left: 10px;
}

/* 推荐卡片 */
.zh_sidebar_featured {
  background: #EBFAE9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(38, 144, 27, 0.1);
}

.zh_sidebar_featured_card {
  transition: all 0.4s ease;
}

.zh_sidebar_featured_card:hover {
  transform: translateY(-5px);
}

.zh_sidebar_featured_image {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.zh_sidebar_featured_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.zh_sidebar_featured_card:hover .zh_sidebar_featured_image img {
  transform: scale(1.05);
}

.zh_sidebar_featured_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(38, 144, 27, 0.3) 100%);
}

.zh_sidebar_featured_info {
  padding: 20px;
}

.zh_sidebar_featured_title {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1D1D39;
  margin-bottom: 10px;
}

.zh_sidebar_featured_title a {
  color: #1D1D39;
  text-decoration: none;
  transition: color 0.3s ease;
}

.zh_sidebar_featured_title a:hover {
  color: #26901B;
}

.zh_sidebar_featured_meta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #535362;
  font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .zh_detail_flex {
    gap: 30px;
  }
  
  .zh_detail_title {
    font-size: 36px;
  }
}

@media (max-width: 992px) {
  .zh_detail_flex {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .zh_detail_main_image {
    height: 400px;
  }
  
  .zh_detail_main {
    grid-template-columns: 1fr;
  }
  
  .zh_detail_sidebar {
    position: static;
    margin-top: 40px;
  }
  
  .zh_detail_card,
  .zh_detail_section {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .zh_container {
    padding: 0 20px;
  }
  
  .zh_breadcrumb {
    margin-top: 70px;
    padding: 15px 0;
  }
  
  .zh_detail_preview {
    padding: 30px 0;
  }
  
  .zh_detail_card {
    padding: 25px;
  }
  
  .zh_detail_title {
    font-size: 28px;
  }
  
  .zh_detail_main_image {
    height: 300px;
  }
  
  .zh_detail_main {
    padding: 30px 0;
  }
  
  .zh_detail_section {
    padding: 25px;
  }
  
  .zh_detail_section_title {
    font-size: 24px;
  }
  
  .zh_detail_info_label {
    width: 100px;
  }
  
  .zh_sidebar_widget {
    padding: 25px;
  }
}
