/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* SEO: 视觉隐藏但对搜索引擎可见 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 全局样式 */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
  /* 隐藏全局滚动条 */
  -webkit-scrollbar: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* 可点击元素样式 */
a,
button,
.btn,
.category-item,
.product-item,
.menu-item-content,
.mobile-dropdown-toggle,
.thumbnail-item,
.product-actions button {
  cursor: pointer;
}

.container {
  /* max-width: 1200px; */
  justify-content: space-between;
  margin: 0 auto;
  padding: 0 20px;
  /* 隐藏滚动条 */
  -webkit-scrollbar: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* 头部样式 */
.header {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px  7.5vw;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 100px;
  width: auto;
}

.nav ul {
  display: flex;
  list-style: none;
}

.nav ul li {
  margin-left: 55px;
}

.nav ul li a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav ul li a:hover,
.nav ul li a.active {
  color: #5aae25;
}

/* 移动端菜单 */
.mobile-menu {
  display: none;
}

.menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 5px 0;
  transition: 0.3s;
}

.menu-btn.menu-open span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-btn.menu-open span:nth-child(2) {
  opacity: 0;
}

.menu-btn.menu-open span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* 移动端导航 */
.mobile-nav {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  transform: translateY(-150%);
  z-index: 99;
}
.mobile-nav.nav-open {
  transform: translateY(0);
  display: block;
}

.mobile-nav ul {
  flex-direction: column;
  padding: 20px 0;
  list-style: none;
}

.mobile-nav ul li {
  margin: 10px 0;
  text-align: center;
}

.mobile-nav ul li a {
  color: #333333;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

/* 主要内容样式 */
.main {
  min-height: calc(100vh - 200px);
}

/* 英雄区域 */
.hero {
  width: 100%;
  height: 50vh;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  position: relative;
  padding: 20px 0;
}

/* Banner轮播 */
.hero-carousel {
  width: 100%;
  height: 50vh;
  position: relative;
  overflow: hidden;
}

.hero-carousel .carousel-inner {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-carousel .carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.hero-carousel .carousel-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-carousel .carousel-item.active {
  opacity: 1;
  z-index: 1;
}

.hero-carousel .carousel-link {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 2;
}

.hero-carousel .carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-carousel .indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.hero-carousel .indicator:hover {
  background: rgba(255, 255, 255, 0.8);
}

.hero-carousel .indicator.active {
  background: #fff;
  transform: scale(1.2);
}

.hero-carousel .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  border: none;
  padding: 15px 12px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s;
}

.hero-carousel .carousel-btn:hover {
  background: rgba(0, 0, 0, 0.6);
}

.hero-carousel .carousel-prev {
  left: 15px;
}

.hero-carousel .carousel-next {
  right: 15px;
}

/* 产品页面 Hero Section */
.products-hero {
  height: 50vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.products-hero .hero-content h1 {
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Contact Page Styles */
.contact-hero {
  height: auto;
  min-height: 55vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}

.contact-hero .hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.contact-hero h1 {
  font-size: 3rem;
  margin: 0;
  color: #fff;
}

.contact-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.contact-content {
  width: 90%;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin: auto;
}

.contact-form {
  flex: 1;
  min-width: 250px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form .form-group {
  margin: 0;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #e0e0e0;
  font-size: 14px;
  transition: border-color 0.3s;
  box-sizing: border-box;
  font-family: inherit;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
  outline: none;
  border-color: #4CAF50;
}

.contact-form .form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form .btn {
  background-color: #4CAF50;
  color: white;
  padding: 12px 30px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
  align-self: center;
  width: 100%;
  max-width: 200px;
  font-family: inherit;
}

.contact-form .btn:hover {
  background-color: #45a049;
}

.contact-info {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: left;
}

.contact-info .office-info {
  display: block;
  flex: none;
  min-width: auto;
  gap: 0;
}

.contact-info .office-info h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #333;
  text-transform: none;
  letter-spacing: normal;
}

.contact-info .office-info p {
  margin: 6px 0;
  color: #666;
  line-height: 1.8;
  font-size: 14px;
}

/* News Page Styles */
.news-hero {
  height: 50vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.news-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}

.news-hero .hero-content {
  position: relative;
  z-index: 1;
}

.news-hero .hero-content h1 {
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}

/* News Section */
.news-section {
  width: 100%;
  padding: 80px 0;
  background-color: #f9f9f9;
}

/* News List */
.news-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 8vw;
}

.news-item {
  display: flex;
  margin-bottom: 50px;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.news-image {
  flex: 0 0 40%;
  overflow: hidden;
  min-height: 200px;
  background-color: #e0e0e0;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
  transform: scale(1.05);
}

.news-image .placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
}

.news-content {
  flex: 0 0 60%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-date {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
  font-weight: 500;
}

.news-content h3 {
  font-size: 1.5rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.4;
}

.news-excerpt {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 25px;
  flex: 1;
}

.read-more {
  font-size: 14px;
  color: #006600;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pagination {
  margin-top: 40px;
  text-align: center;
}

/* Customization Page Styles */
.customization-hero {
  height: 50vh;
  background-size: cover;
  background-position: bottom center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  margin-bottom: 20px;
  padding: 0 10px;
  position: relative;
}

.customization-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}

.customization-hero .hero-content {
  position: relative;
  z-index: 1;
}

.customization-hero .hero-content h1 {
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}

/* Main Layout */
.customization-layout {
  display: flex;
  gap: 20px;
  padding: 5vh 12vh;
}

/* Sidebar */
.customization-layout .sidebar {
  width: 12vw;
  min-width: 180px;
  flex-shrink: 0;
  overflow: visible;
}

.category-list {
  border-radius: 4px;
  margin-bottom: 30px;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
}

.menu-container {
  border-radius: 4px;
  overflow: visible;
  margin-bottom: 20px;
}

.menu-header {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  background-color: #dde9f7;
  font-weight: 500;
  font-size: 16px;
  color: #303133;
  margin-bottom: 1vh;
}

.blue-circle {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #409EFF;
  margin-right: 10px;
  flex-shrink: 0;
}

.menu-list {
  list-style: none;
  list-style-type: none;
  padding: 0;
  margin: 0;
  background-color: #fff;
  counter-reset: none;
}

.menu-list li {
  list-style: none;
  list-style-type: none;
  counter-increment: none;
}

.menu-list li::before {
  content: none;
  display: none;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  border-bottom: 1px solid #e8e8e8;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  color: #606266;
  position: relative;
  touch-action: manipulation;
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item:hover {
  background-color: #f5f7fa;
}

.menu-item-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex: 1;
}

.menu-item-content span {
  font-size: 14px;
  color: #303133;
}

.arrow-icon {
  color: #c0c4cc;
  font-size: 12px;
  margin-left: 10px;
  flex-shrink: 0;
}

.has-submenu {
  position: relative;
}

.submenu {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  width: 200px;
  background-color: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 10px 0;
  margin: 0;
  z-index: 1000;
}

.has-submenu:hover .submenu {
  display: block;
}

.menu-item.active .submenu {
  display: block;
}

.submenu-item {
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  color: #606266;
}

.submenu-item:hover {
  background-color: #f5f7fa;
  color: #409EFF;
}

/* 菜单选中高亮 */
.submenu-item.selected {
  background-color: #ecf5ff;
  color: #409EFF;
  font-weight: 500;
  border-left: 3px solid #409EFF;
}

.menu-item.selected {
  background-color: #f0f7ff;
}

.menu-item.selected .menu-item-content span {
  color: #409EFF;
  font-weight: 500;
}

.customization-layout .sidebar .contact-info {
  width: 100%;
  min-width: 180px;
  height: 20vh;
  min-height: 200px;
  background-size: cover;
  background-position: left center;
  border-radius: 4px;
  font-size: 14px;
  text-align: left;
  color: #606266;
  overflow: hidden;
  position: relative;
}

.customization-layout .sidebar .contact-info .left {
  width: 55%;
  height: 100%;
  padding: 8px;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(3px);
}

.customization-layout .sidebar .contact-info h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #303133;
}

.customization-layout .sidebar .contact-info p {
  margin-bottom: 10px;
  line-height: 1.5;
  font-size: 14px;
}

.customization-layout .sidebar .contact-info p:nth-of-type(4),
.customization-layout .sidebar .contact-info p:nth-of-type(5),
.customization-layout .sidebar .contact-info p:nth-of-type(6) {
  font-weight: 500;
}

.customization-layout .sidebar .contact-info br {
  display: none;
}

/* Main Content */
.customization-layout .main-content {
  flex: 1;
}

.product-display {
  margin-bottom: 40px;
}

/* Product Preview */
.product-preview {
  border-radius: 10px;
  width: 100%;
}

.preview-image-container {
  width: 100%;
  padding: 0 10px;
}

#selectedImagesContainer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  width: 100%;
  padding: 0;
}

/* 单个图片时占满容器 */
#selectedImagesContainer.single-image {
  grid-template-columns: 1fr;
}



#selectedImagesContainer.single-image .preview-img-container {
  height: 100%;
  max-height: none;
}

#selectedImagesContainer.single-image .preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
}

.selected-image {
  border: 1px solid #eaeaea;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  background-color: white;
}

.selected-image .preview-img-container {
  height: 25vh;
  min-height: 150px;
  max-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  overflow: hidden;
}

.preview-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: transform 0.3s ease;
}

.selected-image:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.preview-img:hover {
  /* transform: scale(1.05); */
}

.customization-layout .main-content .product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 30px;
  padding: 0 10px;
}

/* 产品网格单个图片时占满容器 */
.customization-layout .main-content .product-grid.single-image {
  grid-template-columns: 1fr;
}

.customization-layout .main-content .product-grid.single-image .product-card {
  height: 80vh;
  min-height: 500px;
}

.customization-layout .main-content .product-grid.single-image .product-image {
  height: 100%;
  max-height: none;
  padding: 0;
}

.customization-layout .main-content .product-grid.single-image .product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
}

.customization-layout .main-content .product-card {
  border: 1px solid #eaeaea;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  background-color: white;
}

.customization-layout .main-content .product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.customization-layout .main-content .product-image {
  height: 25vh;
  min-height: 150px;
  max-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  overflow: hidden;
  padding: 10px;
}

.customization-layout .main-content .product-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 20px;
}

@media (max-width: 1200px) {
  .hero {
    min-height: 80vh;
  }

  .customization-layout .main-content .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }

  .customization-layout .main-content .product-image {
    height: 22vh;
  }
  
  #selectedImagesContainer {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
}

@media (max-width: 992px) {
  .customization-layout {
    flex-direction: column;
    padding: 2vh 2vh;
    gap: 20px;
    background-color: #f8f9fa;
  }

  .customization-layout .sidebar {
    width: 100%;
    min-width: auto;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
  }

  /* 移动端禁用hover效果，改用点击切换 */
  .has-submenu:hover .submenu {
    display: none !important;
  }

  .menu-container {
    border-radius: 6px;
    overflow: hidden;
  }

  .menu-header {
    background-color: #409EFF;
    color: white;
    padding: 12px 15px;
    font-weight: 600;
    font-size: 16px;
  }

  .menu-list {
    margin: 0;
    padding: 0;
  }

  .menu-item {
    border-bottom: 1px solid #f0f0f0;
  }

  .menu-item:last-child {
    border-bottom: none;
  }

  .menu-item-content {
    padding: 12px 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .menu-item-content:hover {
    background-color: #f5f7fa;
  }

  .arrow-icon {
    color: #909399;
    font-size: 12px;
  }

  .submenu {
    position: static;
    width: 100%;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background-color: #fafafa;
    margin: 0;
    padding: 0;
  }
  
  .menu-item.active .submenu {
    display: block !important;
  }
  
  .submenu-item {
    padding: 10px 25px;
    font-size: 14px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
  }
  
  .submenu-item:hover {
    background-color: #e6f7ff;
    border-left-color: #409EFF;
    color: #409EFF;
  }

  .customization-layout .main-content {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    overflow: hidden;
  }

  .customization-layout .main-content .product-display {
    overflow: hidden;
    width: 100%;
  }

  .customization-layout .main-content .preview-image-container {
    width: 100%;
    padding: 0;
    overflow: hidden;
  }

  .customization-layout .main-content img {
    max-width: 100%;
    height: auto;
  }

  .customization-layout .main-content .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .customization-layout .main-content .product-image {
    height: 25vh;
    border-radius: 6px;
    overflow: hidden;
  }

  .product-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  }

  .product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  #selectedImagesContainer {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .customization-layout .sidebar .contact-info {
    width: 100%;
    min-width: auto;
    height: 30vh;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
  }

  .customization-layout .sidebar .contact-info .left {
    width: 60%;
    min-width: auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
  }

  .customization-layout .sidebar .contact-info h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #303133;
    border-bottom: 2px solid #409EFF;
    padding-bottom: 8px;
    display: inline-block;
  }

  .customization-layout .sidebar .contact-info p {
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.6;
  }
}



@media (max-width: 480px) {
  .hero {
    min-height: 60vh;
    background-position: center 20%;
    background-size: 100% 100%;
  }

  /* 图层结构响应式设计 - 小屏手机 */
  .layer-image-container {
    max-height: 250px;
  }

  .layer-image-all,
  .layer-image-specific {
    max-width: 100%;
    max-height: 250px;
  }

  .layer-info {
    padding: 15px;
  }

  .layer-info h3 {
    font-size: 1.1rem;
  }

  .layer-info li {
    font-size: 0.85rem;
  }
}

/* ============================================
   Product Detail Page Styles
   ============================================ */

/* Product Header Image */
.product-header-image {
  position: relative;
  height: 50vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.product-header-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.product-header-content p {
  font-size: 1.2rem;
}

/* Single Product Section */
.single-product {
  margin: 0 auto;
  background: #fff;
  position: relative;
}

/* Breadcrumb */
.single-product .breadcrumb {
  position: absolute;
  top: 5%;
  margin-bottom: 30px;
  font-size: 0.9rem;
  color: #666;
  z-index: 10;
}

.single-product .breadcrumb a {
  color: #666;
  text-decoration: none;
}

.single-product .breadcrumb a:hover {
  color: #333;
}

/* Product Content */
.product-content {
  height: auto;
  display: flex;
  gap: 60px;
  align-items: stretch;
  margin: 0 auto;
  padding: 60px 20px;
  position: relative;
}

/* Product Image Gallery */
.product-image-gallery {
  flex: 1;
  max-width: 50%;
}

/* Main Product Image */
.product-main-image {
  max-height: 500px;
  height: 500px;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  background: white;
  padding: 10px;
}

.product-main-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* Product Thumbnails */
.product-thumbnails {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.thumbnail-item {
  flex: 1;
  min-width: 80px;
  max-width: calc(25% - 8px);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.thumbnail-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.thumbnail-item.active {
  border-color: #333;
}

.thumbnail-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Product Title Section */
.product-title-section {
  margin-bottom: 30px;
}

.product-title-section h2 {
  font-size: 1rem;
  font-weight: normal;
  color: #696969;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.product-title-section h1 {
  font-size: 1.5rem;
  color: #333;
  font-weight: normal;
  letter-spacing: -1px;
  margin: 0;
}

/* Product Information */
.product-info {
  flex: 1;
  max-width: 50%;
  text-align: left;
  padding: 30px;
  position: relative;
}

/* Product Specs */
.product-specs {
  margin-top: 5vh;
}

.spec-item {
  display: flex;
  padding-bottom: 0.5vh;
}

.spec-label {
  width: 170px;
  font-weight: 600;
  color: #333;
  flex-shrink: 0;
}

.spec-value {
  color: #666;
  flex: 1;
}

/* Product Actions */
.product-actions {
  position: absolute;
  bottom: 0;
  display: inline-block;
  color: white;
  background: #0084ff;
  border-radius: 6px;
  padding: 10px 20px;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease;
  letter-spacing: 2px;
}

.product-actions:hover {
  background: #0066cc;
}

/* Therapy Introduction Section */
.therapy-intro {
  width: 100%;
  margin: 0 auto;
  padding: 30px 0;
  background: #fff;
  background-size: cover;
  background-position: center;
  position: relative;
}

.therapy-grid {
  width: 60%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 40px;
  /* max-width: 1200px; */
}

.therapy-item {
  height: auto;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* .therapy-item:last-child {
  grid-column: span 2;
}*/

.therapy-title {
  padding: 0 15px 10px;
  margin-bottom: 15px;
  text-align: left;
  position: relative;
}

.therapy-title::after {
  content: '';
  position: absolute;
  top: 35px;
  left: 15px;
  width: 50px;
  height: 2px;
  background-color: #393d3e;
}

.therapy-title h3 {
  font-size: 1.2rem;
  margin: 0;
  color: #333;
  font-weight: bold;
}

.therapy-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 10px 15px;
  gap: 12px;
}

.therapy-content p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 0;
  margin-right: 0;
  order: 2;
}

.therapy-image {
  order: 1;
  width: 100%;
  max-width: 100%;
  margin: 0;
  text-align: center;
}

.therapy-image img {
  max-width: 100%;
  max-height: 200px;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
  object-fit: contain;
}

/* Product Benefits Section */
.product-benefits {
  padding: 60px 0;
  background-color: white;
}

.product-benefits .divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}

.product-benefits .divider .line {
  width: 160px;
  height: 2px;
  background-color: #4c4c4c;
}

.product-benefits .divider .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #4c4c4c;
  margin: 0 10px;
}

.product-benefits h2 {
  font-size: 2.5rem;
  font-weight: normal;
  margin-bottom: 40px;
  color: #333;
  text-align: center;
  text-transform: uppercase;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
}

.benefit-item {
  display: flex;
  gap: 20px;
  padding: 20px;
}

.benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #838383;
  color: #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.benefit-content h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: #393939;
  text-align: left;
}

.benefit-content p {
  font-size: 0.95rem;
  color: #666;
  margin: 0;
}

/* Responsive Design for Product Detail Page */
@media (max-width: 768px) {
  .product-header-image {
    height: 40vh;
  }
  
  .product-header-content h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }
  
  .product-header-content p {
    font-size: 0.9rem;
    padding: 0 20px;
    line-height: 1.4;
  }
  
  .single-product .breadcrumb {
    margin-top: 20px;
    position: static;
  }
  
  .product-content {
    flex-direction: column;
    height: auto;
    padding: 20px 0;
    gap: 30px;
  }
  
  .product-image-gallery {
    max-width: 100%;
    margin-bottom: 30px;
  }
  
  .product-info {
    max-width: 100%;
    text-align: center;
    padding: 20px;
  }
  
  .product-title-section h2 {
    font-size: 1rem;
  }
  
  .product-title-section h1 {
    font-size: 1.5rem;
  }
  
  .product-specs {
    margin: 30px 0;
    padding: 0 10px;
  }
  
  .spec-item {
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
  }
  
  .spec-label {
    width: auto;
    margin-bottom: 5px;
  }
  
  .product-actions {
    position: static;
    margin-top: 30px;
    right: auto;
    bottom: auto;
  }
  
  .therapy-intro {
    min-height: auto;
    padding: 30px 0;
  }
  
  .therapy-grid {
    width: 92%;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }
  
  .therapy-item:last-child {
    grid-column: span 1;
  }
  
  .therapy-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .therapy-content p {
    order: 2;
    margin-right: 0;
    font-size: 0.85rem;
  }
  
  .therapy-image {
    order: 1;
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0;
    text-align: center;
  }

  .therapy-image img {
    max-height: 160px;
    width: auto;
    margin: 0 auto;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .product-header-image {
    height: 35vh;
  }
  
  .product-header-content h1 {
    font-size: 1.5rem;
    padding: 0 15px;
  }
  
  .product-header-content p {
    font-size: 0.8rem;
    padding: 0 15px;
  }
  
  .thumbnail-item {
    max-width: calc(33.33% - 7px);
    min-width: 70px;
  }
}
.authentication{
  height: 80px ;
  width: 100% ;
  text-align: center ;
  padding: 15px 0 ;
  background: #f8f8f8 ;
  margin: 0 auto;
  display: flex ;
  align-items: center ;
  justify-content: center;
  border-top: 1px solid #eee ;
  border-bottom: 1px solid #eee;
}

.authentication img {
  max-width: 100%;
  max-height: 50px ;
  height: 40px;
  width: auto ;
  object-fit: contain;
  margin: 0 auto;
  display: block ;
}
.box {
  background-size: cover;
  box-sizing: border-box;
  min-height: 100vh;
}

.category {
  height: auto;
  min-height: 70vh;
  padding: 40px 0;
  background-size: cover;
  background-position: center;
}

.category h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2rem;
  text-transform: uppercase;
  color: #1b271e;
  letter-spacing: 2px;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
}

.divider .line {
  width: 260px;
  height: 2px;
  background-color: #4c4c4c;
}

.divider .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #4c4c4c;
  margin: 0 10px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 25px;
  margin: 0 auto;
  padding: 0 5vw;
}

/* 首页分类网格布局（没有"全部"项） */
.category-item:nth-child(1),
.category-item:nth-child(2),
.category-item:nth-child(3) {
  grid-column: span 2;
  grid-row: 1;
}

.category-item:nth-child(4),
.category-item:nth-child(5) {
  grid-column: span 2;
  grid-row: 2;
}

.category-item:nth-child(6),
.category-item:nth-child(7) {
  grid-column: span 1.5;
  grid-row: 2;
}


.category-item {
  text-align: center;
  padding: 60px 20px;
  transition: all 0.3s ease;
  height: auto;
  min-height: 28vh;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.product-item {
  cursor: pointer;
}

.category-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.category-item h3 {
  font-size: 1.1rem;
  color: white;
  position: relative;
  z-index: 10;
  margin-top: 15vh;
  line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.trending-products {
  height: auto;
  background-size: cover;
  background-position: center;
}

.trending-products .container {
  position: relative;
  z-index: 2;
}

.trending-products h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2rem;
  color: #333333;
  text-transform: uppercase;
  letter-spacing: 2px;
}


/* 首页产品网格（trending products） */
.trending-products .products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 75px;
  margin: 0 auto;
  padding: 0 3vw;
}

.trending-products .product-item {
  height: 45vh;
  background: transparent;
  text-align: center;
  position: relative;
  background-color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

/* 产品页面 Product Series Section */
.product-series-section {
  width: 100%;
  padding: 80px 0;
  background-color: #f9f9f9;
}

.series-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  margin-bottom: 4vh;
}

.series-header h2 {
  flex: 1;
  font-size: 1.8rem;
  font-weight: 500;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* 产品页面产品网格 */
.product-series-section .products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin: 0 auto;
  padding: 20px 8vw;
  min-height: 80vh;
}

.product-series-section .product-item {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: all 0.3s ease;
  padding: 20px;
  cursor: pointer;
}

.product-series-section .product-image {
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  overflow: hidden;
}

.product-series-section .product-img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
}

.product-series-section .product-item h3 {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  margin-bottom: 10px;
}

.product-series-section .product-item h3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background-color: #cccccc;
}

.product-series-section .product-code {
  font-size: 12px;
  margin-top: 15px;
  color: #666;
}

/* 首页产品项的特殊样式（带shape和product-title） */
.trending-products .shape {
  width: 100%;
  height: 20px;
  background-color: #003300;
  position: relative;
  margin-bottom: 15px;
}

.trending-products .shape::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 10px solid #003300;
}

.trending-products .product-image {
  /* width: 80%; */
  margin: 0vh auto;
  /* height: 30vh; */
  /* max-height: 30vh; */
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: #f9f9f7; */
  /* padding: 20px; */
  overflow: hidden;
}

.trending-products .product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.trending-products .product-title {
  color: #333;
  font-weight: bold;
  display: inline-block;
  text-align: center;
  padding: 10px 20px;
}

.trending-products .title-line {
  margin: 3px 0;
  font-size: 0.9rem;
  line-height: 1.2;
}

.shape {
  width: 100%;
  height: 20px;
  background-color: #003300;
  position: relative;
  margin-bottom: 15px;
}

.shape::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 10px solid #003300;
}

.product-image {
  width: 80%;
  margin: 3vh auto;
  height: 30vh;
  max-height: 30vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: #f9f9f7; */
  /* padding: 20px; */
  overflow: hidden;
}

.product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.placeholder {
  font-size: 14px;
  color: #666;
}

.product-title {
  color: #333;
  font-weight: bold;
  display: inline-block;
  text-align: center;
  padding: 10px 20px;
}

.title-line {
  margin: 3px 0;
  font-size: 0.9rem;
  line-height: 1.2;
}

/* Features Section */
.features-container {
  margin: 0 auto;
  padding: 5vh 10vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.features-title {
  text-align: center;
  margin-bottom: 50px;
      margin-top: 50px;

  /* color: white; */
}

.features-title h2 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 15px;

  text-transform: uppercase;
  letter-spacing: 2px;
   color: #333;

}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  /* gap: 20px; */
  margin: 3vh 0;
  z-index: 2;
}

.feature-item {
  width: 100%;
  padding: 30px 20px;
  color: white;
  text-align: center;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.3s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.feature-item h3 {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  z-index: 2;
  color: white;
}

.feature-item p {
  font-size: 0.85rem;
  line-height: 1.5;
  position: relative;
  z-index: 2;
}

/* Layer Structure Section */
.layer-structure {
  background-size: 100% 100%;
  background-position: center;
  position: relative;
  padding: 60px 0 0;
}

.layer-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
}

.layer-title {
  text-align: center;
}

.layer-title h2 {
  font-size: 2rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #333;
}

.layer-content {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.95);
}

.layer-image-container {
  flex: 0 0 800px;
  height: auto;
  position: relative;
  overflow: hidden;
}

.layer-image-all {
  width: 100%;
  height:  100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.5s ease;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* 响应式设计 */
  max-width: 100%;
  max-height: 100%;
}

.layer-image-all.active {
  opacity: 1;
}

.layer-image-all:not(.active) {
  opacity: 0;
}

.layer-image-specific {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 2;
  /* 响应式设计 */
  max-width: 100%;
  max-height: 100%;
}

.layer-image-specific.active {
  opacity: 1;
}

.layer-highlight.active {
  opacity: 1;
}

.layer-info {
  flex: 1;
  padding: 40px;
  border-radius: 8px;
}

.layer-info h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 25px;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.layer-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.layer-info li {
  font-size: 1rem;
  line-height: 2.2;
  color: #555;
  position: relative;
}

.layer-info li.active {
  font-weight: bold;
  color: #333;
}

/* Company Introduction Section */
.company-intro {
  background-color: #1a6fa0;
  background-size: cover;
  background-position: center;
  padding: 80px 0 0 0;
}

.company-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.company-content {
  color: white;
  padding: 60px;
}

.company-content h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.company-content p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Footer */
.footer {
  width: 100%;
  color: #333;
  background-color: #222222;
}

.footer .container {
  padding: 0;
}

.footer-content {
  height: auto;
  min-height: 30vh;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding: 40px 5vw;
}

.footer .logo {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex: 0 0 auto;
}

.footer .logo-img {
  max-width: 200px;
  height: auto;
}

.footer-info {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex: 1;
  min-width: 0;
}

.office-info {
  display: flex;
  gap: 40px;
  flex: 2;
  min-width: 0;
}

.office-info-item {
  flex: 1;
  min-width: 150px;
}

.quick-links {
  flex: 1;
  min-width: 150px;
}

.office-info-item h3, .quick-links h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.info-label {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-value {
  display: block;
  color: #8e8e8e;
  line-height: 1.5;
  font-size: 13px;
}

.quick-links ul {
  list-style: none;
  padding: 0;
}

.quick-links li {
  margin-bottom: 12px;
}

.quick-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.quick-links a:hover {
  color: #4CAF50;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #555;
  color: #999;
  font-size: 12px;
  padding: 20px 5vw;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .category-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .category-item:nth-child(1),
  .category-item:nth-child(2),
  .category-item:nth-child(3) {
    grid-column: span 2;
    grid-row: 1;
    margin-top: 50px;
  }

  .category-item:nth-child(4),
  .category-item:nth-child(5),
  .category-item:nth-child(6),
  .category-item:nth-child(7) {
    grid-column: span 1;
    grid-row: 2;
  }
}

@media (max-width: 768px) {
  .header .container {
    padding: 15px 20px;
  }
  
  .nav {
    display: none;
  }
  
  .mobile-menu {
    display: block;
  }
  
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 0;
  }

  /* 图层结构纵向排列 */
  .layer-content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }
  
  .footer .logo-img {
    max-width: 150px;
  }
  
  .footer-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: auto;
    gap: 30px;
  }
  
  .office-info {
    flex-direction: column;
    gap: 30px;
    width: 100%;
    max-width: 300px;
  }

  .office-info-item, .quick-links {
    margin-top: 0;
    min-width: auto;
    width: 100%;
  }
  
  .category h2,
  .trending-products h2 {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 3vw;
  }

  .category-item {
    padding: 5vh 1.5vh;
    min-height: 25vh;
  }

  .category-item h3 {
    font-size: 1rem;
    color: white;
    position: relative;
    z-index: 10;
    margin-top: 15vh;
    line-height: 1.4;
  }
  
  /* 所有分类项各占一行 */
  .category-item:nth-child(1),
  .category-item:nth-child(2),
  .category-item:nth-child(3),
  .category-item:nth-child(4),
  .category-item:nth-child(5),
  .category-item:nth-child(6),
  .category-item:nth-child(7) {
    grid-column: span 2;
    grid-row: auto;
    margin-top: 0;
  }

  .news-hero .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .news-section {
    padding: 50px 0;
  }
  
  .news-list {
    padding: 20px 5vw;
  }
  
  .news-item {
    flex-direction: column;
    margin-bottom: 30px;
  }
  
  .news-image,
  .news-content {
    flex: 0 0 100%;
  }
  
  .news-image {
    height: 200px;
  }
  
  .news-content {
    padding: 20px;
  }
  
  .news-content h3 {
    font-size: 1.2rem;
  }

  .customization-layout {
    flex-direction: column;
    padding: 1vh 0.5vh;
    gap: 15px;
  }

  .customization-layout .sidebar {
    width: 100%;
    min-width: auto;
  }

  .category-list {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 10px;
  }

  .menu-header {
    padding: 10px 12px;
    font-size: 15px;
  }

  .menu-item {
    padding: 10px 12px;
    font-size: 13px;
  }

  .customization-layout .sidebar .contact-info {
    width: 100%;
    min-width: auto;
    height: 25vh;
    background-position: center;
  }

  .customization-layout .sidebar .contact-info .left {
    width: 40%;
    min-width: 150px;
    padding: 12px;
  }

  .customization-layout .sidebar .contact-info h3 {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .customization-layout .sidebar .contact-info p {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .customization-layout .main-content .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }

  .customization-layout .main-content .product-image {
    height: 22vh;
  }

  .product-image {
    height: 200px;
  }
  
  /* Product Grid Optimization for Tablets */
  .products-grid {
    gap: 40px;
    margin-bottom: 30px;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
  
  .product-item {
    height: 40vh;
  }
  
  .product-image {
    height: 25vh;
    max-height: 25vh;
  }
  
  .products-hero .hero-content h1 {
    font-size: 2.2rem;
  }

  .product-series-section {
    padding: 50px 0;
  }

  .series-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .product-series-section .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    padding: 20px 5vw;
  }

  .product-series-section .product-item {
    height: auto;
    overflow: visible;
  }

  .trending-products .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 0 3vw;
        margin-bottom: 30px;

  }
  
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
  }
  
  .layer-structure,
  .company-intro {
    padding: 60px 0 0 0;
  }

  /* .layer-content 样式已在媒体查询开头定义 */
  .layer-image-container {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    min-height: 300px;
  }

  .layer-info {
    padding: 20px;
    width: 100%;
  }

  .layer-info h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }

  .layer-info li {
    font-size: 0.9rem;
    margin-bottom: 15px;
    padding-left: 20px;
  }
  .layer-image {
    min-height: 300px;
    background-size: contain;
    background-position: center;
    order: 1;
  }

  .layer-info {
    width: 100%;
    padding: 30px 0;
    background: rgba(255, 255, 255, 0.95);
    order: 2;
  }

  .layer-title h2 {
    font-size: 1.5rem;
    color: #333;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  }

  .company-content h2 {
    font-size: 1.5rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  }

  .layer-info h3 {
    font-size: 1.3rem;
    color: #333;
  }

  .layer-info li {
    font-size: 0.9rem;
    margin-bottom: 16px;
    color: #555;
  }
.layer-info li.active {
  font-weight: bold;
  color: #333;
}
  .company-intro {
    padding: 30px 0 0 0;
  }
  .company-content {
    padding: 15px;
  }

  .company-content p {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .category-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .category-item:nth-child(1),
  .category-item:nth-child(2),
  .category-item:nth-child(3),
  .category-item:nth-child(4),
  .category-item:nth-child(5),
  .category-item:nth-child(6),
  .category-item:nth-child(7) {
    grid-column: span 1;
    grid-row: auto;
    margin-top: 0;
  }

  .category h2,
  .trending-products h2 {
    font-size: 1.4rem;
    margin-bottom: 25px;
  }

  .category-item {
    padding: 40px 10px;
    min-height: 15vh;
  }

  .category-item h3 {
    font-size: 0.9rem;
    padding: 10px;
  }
  
  .products-hero .hero-content h1 {
    font-size: 1.8rem;
  }

  .product-series-section .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    padding: 20px 5vw;
  }

  .product-series-section .product-item {
    height: auto;
    overflow: visible;
  }

  .trending-products .products-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .product-item {
    height: 40vh;
  }

  .product-image {
    height: 22vh;
    max-height: 22vh;
  }

  .title-line {
    font-size: 0.9rem;
    margin: 3px 0;
  }

  .contact-hero {
    height: 200px;
    min-height: 200px;
  }
  
  .contact-hero h1 {
    font-size: 1.5rem;
  }
  
  .contact-section {
    padding: 40px 0;
  }
  
  .contact-content {
    gap: 20px;
  }
  
  .contact-info {
    gap: 20px;
  }
  
  .contact-form .form-group textarea {
    min-height: 120px;
  }

  .news-hero .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .news-image {
    height: 160px;
  }
  
  .news-content h3 {
    font-size: 1.1rem;
  }
  
  .news-excerpt {
    font-size: 0.9rem;
  }

  .customization-hero {
    height: 40vh;
    margin-bottom: 10px;
    padding: 0 5px;
  }

  .customization-hero .hero-content h1 {
    font-size: 1.8rem;
  }

  .customization-layout {
    flex-direction: column;
    padding: 1vh 0.5vh;
    gap: 15px;
  }

  .customization-layout .sidebar {
    width: 100%;
    min-width: auto;
  }

  .customization-layout .main-content .product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .customization-layout .main-content .product-image {
    height: 20vh;
    min-height: 150px;
  }

  .customization-layout .main-content .product-img {
    padding: 10px;
  }

  .customization-layout .sidebar .contact-info {
    height: 35vh;
  }

  .customization-layout .sidebar .contact-info .left {
    width: 100%;
    min-width: auto;
    height: auto;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.85);
  }

  .customization-layout .sidebar .contact-info h3 {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .customization-layout .sidebar .contact-info p {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .submenu-item {
    padding: 6px 15px;
    font-size: 11px;
  }

  .selected-image .preview-img-container {
    height: 20vh;
    min-height: 150px;
  }
  
  .preview-img {
    padding: 10px;
  }
  
  #selectedImagesContainer {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .layer-structure,
  .company-intro {
    padding: 40px 0 0 0;
  }

  .layer-title {
    margin-bottom: 40px;
  }

  .layer-title h2 {
    font-size: 1.2rem;
    padding: 0 10px;
    color: #333;
  }

  .company-content h2 {
    font-size: 1.2rem;
    padding: 0 10px;
    color: #fff;
  }

  .layer-image {
    min-height: 250px;
    background-size: contain;
    background-position: center;
  }

  .layer-info {
    padding: 20px 15px;
    background: rgba(255, 255, 255, 0.98);
  }

  .layer-info h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }

  .layer-info li {
    font-size: 0.85rem;
    margin-bottom: 12px;
    padding-left: 20px;
  }
.layer-info li.active {
  font-weight: bold;
  color: #333;
}
  .company-content {
    padding: 15px;
  }

  .company-content p {
    font-size: 0.85rem;
    margin-bottom: 15px;
    line-height: 1.6;
  }

  .company-content p:last-child {
    margin-bottom: 0;
  }
  /* 确保在小屏手机上背景图正确显示 */
}

/* ============================================
   News Detail Page Styles
   ============================================ */

/* News Detail Hero Section */
.news-detail-hero {
  height: 50vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.news-detail-hero .hero-content h1 {
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* News Detail Content */
.news-detail-content {
  width: 100%;
  padding: 80px 0;
  background-color: #f9f9f9;
}

.news-detail-content .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 8vw;
}

.back-to-list {
  font-size: 14px;
  color: #006600;
  font-weight: 500;
  margin-bottom: 30px;
  cursor: pointer;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.back-to-list:hover {
  color: #004d00;
  text-decoration: underline;
}

.news-detail-wrapper {
  background: white;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.news-detail-header {
  margin-bottom: 30px;
}

.news-detail-date {
  font-size: 16px;
  color: #666;
  margin-bottom: 15px;
  font-weight: 500;
}

.news-detail-header h2 {
  font-size: 2rem;
  font-weight: 500;
  color: #333;
  line-height: 1.4;
  margin: 0;
}

.news-detail-image {
  margin-bottom: 40px;
  text-align: center;
}

.news-detail-image .detail-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.news-detail-text {
  font-size: 1rem;
  color: #333;
  line-height: 1.8;
}

.news-detail-text p {
  margin-bottom: 25px;
}

.news-detail-text p:last-child {
  margin-bottom: 0;
}

/* Responsive Design for News Detail */
@media (max-width: 768px) {
  .news-detail-hero {
    height: 40vh;
  }
  
  .news-detail-hero .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .news-detail-content {
    padding: 50px 0;
  }
  
  .news-detail-content .container {
    padding: 0 5vw;
  }
  
  .news-detail-wrapper {
    padding: 25px;
  }
  
  .news-detail-header h2 {
    font-size: 1.5rem;
  }
  
  .news-detail-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .news-detail-hero {
    height: 35vh;
  }
  
  .news-detail-hero .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .news-detail-wrapper {
    padding: 20px;
  }
  
  .news-detail-header h2 {
    font-size: 1.3rem;
  }
  
  .news-detail-text {
    font-size: 0.85rem;
  }
  .layer-structure,
  .company-intro {
    background-attachment: scroll;
    background-size: cover;
  }
}

/* 全局链接和按钮样式 */
a,
button,
.category-item,
.product-item,
.menu-btn {
  cursor: pointer;
}

/* 输入元素保持文本光标 */
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  cursor: text !important;
}

