/* ========================================
   颜色变量定义 - 基于JOYSEW logo配色
   ======================================== */
:root {
  --joysew-primary: #2c5aa0;      /* 深蓝灰色 - logo中JSEW字母颜色 */
  --joysew-secondary: #4a9d9c;      /* 青绿色 - logo中OY字母颜色 */
  --joysew-accent: #5bb5b3;         /* 浅青绿色 */
  --joysew-dark: #1e3a5f;          /* 更深的蓝灰色 */
  --joysew-light: #e8f4f8;         /* 浅蓝灰色背景 */
  --joysew-gradient: linear-gradient(135deg, #2c5aa0, #4a9d9c);
}

/* ========================================
   重置和基础样式
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.5;
  color: #333;
  overflow-x: hidden;
}

/* ========================================
   HTML结构层级样式
   ======================================== */

/* 头部容器样式 - 防止闪动 */
#header-container {
  min-height: 80px;
  transition: opacity 0.2s ease;
}

#header-container.loading {
  opacity: 0.7;
}

#header-container.loaded {
  opacity: 1;
}

/* HEADER 头部区域 */
.header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999999;
  height: 80px;
}

.header .container {
  /* max-width: 1200px; */
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* LOGO区域 */
.header .logo-section {
  flex: 0 0 auto;
}

.header .logo-link {
  text-decoration: none;
  display: block;
  transition: opacity 0.3s ease;
}

.header .logo-link:hover {
  opacity: 0.8;
}

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

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

.header .logo-img {
  height: 50px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}


/* NAVIGATION 导航区域 */
.header .navigation {
  flex: 1;
  display: flex;
  justify-content: center;
}

.header .nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.header .nav-item {
  position: relative;
}

.header .nav-link {
  text-decoration: none;
  color: #374151;
  font-weight: 500;
  font-size: 14px;
  padding: 10px 0;
  position: relative;
  transition: color 0.3s ease;
  display: block;
}

/* 下拉菜单链接样式 */
.header .dropdown .nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header .nav-link:hover,
.header .nav-link.active {
  color: #1f2937;
}

.header .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #1f2937;
}

/* 下拉菜单 */
.header .dropdown {
  position: relative;
  z-index: 999999;
}

.header .dropdown-menu {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 999999;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  border: 1px solid #e5e7eb;
}

.header .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header .dropdown-link {
  display: block;
  padding: 12px 20px;
  color: #374151;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.header .dropdown-link:hover {
  background: #f8fafc;
  color: #1f2937;
  border-left-color: var(--joysew-primary);
  padding-left: 25px;
}

/* 下拉菜单箭头 - 使用div实现 */
.header .dropdown-arrow {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid #6b7280;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.header .dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* HEADER ACTIONS 头部右侧功能区 */
.header .header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 0 0 auto;
}

.header .search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.header .search-input {
  padding: 8px 35px 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 20px;
  font-size: 14px;
  width: 200px;
  outline: none;
  transition: border-color 0.3s ease;
}

.header .search-input:focus {
  border-color: var(--joysew-primary);
}

.header .search-icon {
  position: absolute;
  right: 12px;
  color: #6b7280;
  cursor: pointer;
}

.header .cart-icon,
.header .filter-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.header .cart-icon:hover,
.header .filter-icon:hover {
  background: #e5e7eb;
}

.header .cart-icon i,
.header .filter-icon i {
  color: #374151;
  font-size: 16px;
}

/* MAIN 主要内容区域 */
.main-content {
  position: relative;
}

/* HERO SECTION 英雄区域 */
.main-content .hero-section {
  position: relative;
  overflow: hidden;
}

.main-content .hero-background {
  height: calc(100vh - 80px);
  width: 100%;
  background-image: url("./images/home/bg1.jpg");
  background-size: cover;
  background-position: center center;
  /* background-attachment: fixed; */
  background-repeat: no-repeat;
}

.main-content .hero-overlay {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("./images/home/bg1.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* 产品展示 */
.main-content .product-display {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 50px;
  z-index: 10;
}

.main-content .main-product {
  position: relative;
}

.main-content .product-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

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

.main-content .alternative-product {
  position: relative;
}

/* 英雄文字 */
.main-content .hero-text {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
}

.main-content .hero-title {
  font-size: 4rem;
  font-weight: bold;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 2px;
  text-align: center;
}

/* FLOATING SIDEBAR 浮动侧边栏 */
.main-content .floating-sidebar {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
}

.main-content .floating-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.main-content .floating-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 15px 12px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 80px;
  text-align: center;
}

.main-content .floating-btn:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.main-content .floating-btn i {
  font-size: 20px;
  color: #374151;
}

.main-content .floating-btn span {
  font-size: 12px;
  color: #6b7280;
  font-weight: 500;
}

.main-content .carousel-control {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.main-content .carousel-control:hover {
  background: white;
  transform: scale(1.1);
}

.main-content .carousel-control i {
  color: #374151;
  font-size: 14px;
}

/* ========================================
   产品列表页面样式
   ======================================== */

/* BREADCRUMB SECTION 面包屑区域 */
.breadcrumb-section {
  padding: 20px 20px;
  margin-top: 40px;
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
  z-index: 10;
}

.breadcrumb-section .breadcrumb {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #6b7280;
}

.breadcrumb-section .breadcrumb-main {
  color: var(--joysew-primary);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
  position: relative;
  z-index: 11;
}

.breadcrumb-section .breadcrumb-main:hover {
  color: var(--joysew-dark);
  text-decoration: underline;
}

.breadcrumb-section .breadcrumb-separator {
  margin: 0 8px;
  color: #9ca3af;
}

.breadcrumb-section .breadcrumb-sub {
  color: #f59e0b;
  font-weight: 600;
}

/* PRODUCTS SECTION 产品区域 */
.products-section {
  padding: 30px 0 80px;
}

.products-section .products-grid {
  display: grid;
  grid-template-columns: repeat(6, calc(16.6667% - 13.3333px));
  gap: 20px;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.products-section .product-card {
  background: white;
  border-radius: 12px;
  overflow: visible;
  cursor: pointer;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.products-section .product-image {
  width: 100%;
  min-height: 200px;
  height: 100%;
  overflow: hidden;
  position: relative;
}

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

/* 产品图片懒加载样式 */
.product-image-lazy {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-image-lazy.loaded {
  opacity: 1;
}

.product-image-lazy.loading {
  opacity: 0.5;
}

.product-image-lazy.error {
  opacity: 0.3;
}

/* 图片占位符 */
.product-image-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 2rem;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.product-image-placeholder i {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

/* 加载状态指示器 */
.product-image-lazy.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #2c5aa0;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  z-index: 2;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.products-section .product-info {
  padding: 15px 10px;
  text-align: center;
}

.products-section .product-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: #374151;
  margin: 0;
  line-height: 1.3;
}

/* ========================================
   产品气泡框样式（独立组件）
   ======================================== */
.product-tooltip {
  position: fixed;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  display: none;
  z-index: 9999;
  min-width: 300px;
  max-width: 400px;
  pointer-events: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.product-tooltip.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.tooltip-content {
  padding: 20px;
}

.tooltip-header {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.details-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
  /* text-align: center; */
}

.tooltip-body {
  text-align: left;
}

/* .product-specs {
  margin-bottom: 20px;
} */

.spec-item {
  display: flex;
  /* margin-bottom: 8px; */
  font-size: 0.9rem;
}

.spec-label {
  font-weight: 600;
  color: #374151;
  /* min-width: 80px; */
  margin-right: 10px;
}

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

.product-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}


.product-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: #059669;
}

/* 气泡框箭头 */
.tooltip-arrow {
  position: absolute;
  width: 0;
  height: 0;
  border: 8px solid transparent;
}

.product-tooltip[data-arrow="left"] .tooltip-arrow {
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  border-left-color: white;
  border-right: none;
}

.product-tooltip[data-arrow="right"] .tooltip-arrow {
  left: -16px;
  top: 50%;
  transform: translateY(-50%);
  border-right-color: white;
  border-left: none;
}

.product-tooltip[data-arrow="top"] .tooltip-arrow {
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  border-top-color: white;
  border-bottom: none;
}

.product-tooltip[data-arrow="bottom"] .tooltip-arrow {
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  border-bottom-color: white;
  border-top: none;
}

/* EMPTY STATE 空状态 */
.products-section .empty-state {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  padding: 40px 20px;
}

.products-section .empty-state-content {
  text-align: center;
  max-width: 500px;
}

.products-section .empty-state-icon {
  font-size: 4rem;
  color: #d1d5db;
  margin-bottom: 20px;
}

.products-section .empty-state-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 10px;
}

.products-section .empty-state-message {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 30px;
  line-height: 1.6;
}

.products-section .empty-state-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.products-section .btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.products-section .btn-primary {
  background: var(--joysew-primary);
  color: white;
}

.products-section .btn-primary:hover {
  background: var(--joysew-secondary);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(74, 157, 156, 0.3);
}

.products-section .btn-secondary {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
}

.products-section .btn-secondary:hover {
  background: #e5e7eb;
  color: #1f2937;
}

/* ========================================
   产品详情页样式
   ======================================== */
.product-detail-main {
  height: calc(100vh - 80px);
  background: white;
}

/* 产品详情页logo样式 */
.product-detail-main .header .logo-img {
  height: 60px;
  max-width: 250px;
}


.product-detail-container {
  display: flex;
  /* align-items: center; */
  height: 100%;
}

/* 左侧产品信息侧边栏 */
.product-info-sidebar {
  width: 400px;
  background: white;
  padding: 40px 30px;
  border-right: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
}

.product-detail-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 30px;
  line-height: 1.4;
}

.product-specs {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.product-specs .spec-item {
  display: flex;
  /* flex-direction: column; */
  gap: 5px;
}

.product-specs .spec-label {
  font-weight: 600;
  color: #374151;
  font-size: 0.9rem;
}

.product-specs .spec-value {
  color: #1f2937;
  font-size: 1rem;
  line-height: 1.4;
}

/* 右侧产品展示区域 */
.product-display-area {
  flex: 1;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 40px;
  height: 100%;
}

.main-product-image {
  position: relative;
  /* max-width: 500px; */
  height: calc(100% - 160px);
  width: 100%;
  /* margin-bottom: 30px; */
  box-sizing: border-box;
}

.main-product-image {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #f8fafc;
  user-select: none;
  cursor: default;
}

.main-product-image img {
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.2s ease;
  cursor: default;
  transform-origin: center center;
  display: block;
  margin: 0 auto;
}

.main-product-image:hover {
  cursor: grab;
}

.main-product-image:active {
  cursor: grabbing;
}


.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-arrow:hover {
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-50%) scale(1.05);
}

.nav-arrow-right {
  right: 20px;
}

.nav-arrow i {
  color: #6b7280;
  font-size: 14px;
}

/* 缩略图画廊 */
.thumbnail-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
  justify-content: center;
}

.thumbnail-item {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.thumbnail-item:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.thumbnail-item.active {
  border-color: var(--joysew-primary);
  box-shadow: 0 0 0 2px rgba(44, 90, 160, 0.2);
}

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

/* ========================================
   联系我们页面样式
   ======================================== */
.contact-section {
  padding: 60px 0 80px;
  background: #f8fafc;
  min-height: calc(100vh - 80px);
}

.contact-header {
  text-align: center;
  margin-bottom: 50px;
}

.contact-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 15px;
}

.contact-subtitle {
  font-size: 1.1rem;
  color: #6b7280;
  margin: 0;
}

.contact-content {
  display: flex;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto;
}

/* 联系信息卡片 */
.contact-info-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
}

.contact-info-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 25px;
  text-align: center;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #f3f4f6;
}

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

/* Email Cards Styles */
.email-cards {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.email-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease;
  flex: 1;
  min-width: 0;
}

.email-card:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.card-header {
  background: #f8fafc;
  padding: 6px 10px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.8rem;
  font-weight: 500;
  color: #6b7280;
  border-radius: 6px 6px 0 0;
}

.main-office .card-header {
  background: #ebf2f8;
  color: #6b7280;
  border-bottom-color: #e5e7eb;
}

.hk-office .card-header {
  background: #f6fef5;
  color: #6b7280;
  border-bottom-color: #e5e7eb;
}

.card-content {
  padding: 12px;
}

.card-content a {
  color: #2c5aa0;
  text-decoration: none;
  font-size: 0.9rem;
  word-break: break-all;
}

.card-content a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--joysew-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  color: white;
  font-size: 16px;
}

.contact-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-label {
  font-weight: 600;
  color: #374151;
  font-size: 0.9rem;
}

.contact-value {
  color: #1f2937;
  font-size: 1rem;
  line-height: 1.4;
}

.contact-value a {
  color: var(--joysew-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-value a:hover {
  color: var(--joysew-dark);
  text-decoration: underline;
}


/* ========================================
   关于我们页面样式
   ======================================== */
.about-section {
  padding: 60px 0 80px;
  background: #f8fafc;
  min-height: calc(100vh - 80px);
}

.about-header {
  text-align: center;
  margin-bottom: 50px;
}

.about-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 15px;
}

.about-subtitle {
  font-size: 1.1rem;
  color: #6b7280;
  margin: 0;
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
}

/* ABOUT SECTION PARTS */
.about-section-part {
  margin-bottom: 80px;
  background: white;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
}

.additional-content {
  text-align: center;
  padding: 40px 20px;
}

.additional-content h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 20px;
}

.additional-content p {
  font-size: 1.1rem;
  color: #6b7280;
  line-height: 1.6;
}

/* SECTION HEADER STYLE */
.section-header {
  position: relative;
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c5aa0;
  margin: 0;
  letter-spacing: 1px;
  position: relative;
  z-index: 2;
}

.section-header .background-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 8rem;
  font-weight: 900;
  color: rgba(44, 90, 160, 0.1);
  z-index: 1;
  user-select: none;
  pointer-events: none;
}

.about-intro {
  margin-bottom: 60px;
  background: white;
  padding: 50px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.intro-text {
  display: block;
}

.intro-text h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 20px;
}

.intro-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 15px;
}

.intro-image {
  float: right;
  margin: 0 0 15px 20px;
  max-width: 400px;
  width: 100%;
}

.intro-image img {
  width: 100%;
  height: auto;
}

.about-features {
  display: grid;
  
  gap: 30px;
  margin-bottom: 60px;
  justify-items: center;
  .feature-card-first-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .feature-card-second-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}


.feature-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--joysew-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.feature-icon i {
  color: white;
  font-size: 24px;
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 15px;
}

.feature-card p {
  color: #6b7280;
  line-height: 1.6;
  font-size: 0.95rem;
}

.feature-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.feature-card li {
  color: #6b7280;
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
}

.feature-card li:before {
  content: "•";
  color: #2c5aa0;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

/* Our Mission Section */
.about-mission {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
  border-left: 4px solid #2c5aa0;
}

.mission-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 15px;
}

.mission-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #4b5563;
  margin: 0;
}

/* ESG Vision Section */
.esg-vision-section {
  margin-bottom: 60px;
  padding: 40px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background-color: white;
}

.esg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 40px;
}

.esg-card {
  background: white;
  padding: 25px;
  padding-top: 50px;
  border: 1px solid #e5e7eb;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  height: 250px;
  box-sizing: border-box;
}


.esg-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  font-size: 20px;
  color: white;
  position: absolute;
  top: 0px;
  left: 20px;
  background-color: white;
  transform: translate(-0%, -50%);
  overflow: hidden;
  img {
    height: 80%;
    object-fit: contain;
    object-position: center;
  }
}

.esg-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 15px;
  margin-top: 10px;
}

.esg-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.esg-card li {
  color: #6b7280;
  line-height: 1.5;
  font-size: 0.7rem;
  margin-bottom: 8px;
  position: relative;
}

/* ESG Card Colors */
.esg-card.carbon-emission {
  background-color: #009944;
  color: white;
}

.esg-card.carbon-emission h3,
.esg-card.carbon-emission li {
  color: white;
}

.esg-card.carbon-emission li:before {
  color: rgba(255, 255, 255, 0.8);
}

.esg-card.care-planet {
  background-color: #f08201;
  color: white;
}

.esg-card.care-planet h3,
.esg-card.care-planet li {
  color: white;
}

.esg-card.care-planet li:before {
  color: rgba(255, 255, 255, 0.8);
}

.esg-card.care-people {
  background-color: #18869b;
  color: white;
}

.esg-card.care-people h3,
.esg-card.care-people li {
  color: white;
}

.esg-card.care-people li:before {
  color: rgba(255, 255, 255, 0.8);
}

.esg-card.social-responsibility {
  background-color: #5b9128;
  color: white;
}

.esg-card.social-responsibility h3,
.esg-card.social-responsibility li {
  color: white;
}

.esg-card.social-responsibility li:before {
  color: rgba(255, 255, 255, 0.8);
}

.esg-card.sustainable-materials {
  background-color: #184bae;
  color: white;
}

.esg-card.sustainable-materials h3,
.esg-card.sustainable-materials li {
  color: white;
}

.esg-card.sustainable-materials li:before {
  color: rgba(255, 255, 255, 0.8);
}

.esg-card.care-products {
  background-color: #337c70;
  color: white;
}

.esg-card.care-products h3,
.esg-card.care-products li {
  color: white;
}

.esg-card.care-products li:before {
  color: rgba(255, 255, 255, 0.8);
}

.esg-card.transparent-traceability {
  background-color: #009944;
  color: white;
}

.esg-card.transparent-traceability h3,
.esg-card.transparent-traceability li {
  color: white;
}

.esg-card.transparent-traceability li:before {
  color: rgba(255, 255, 255, 0.8);
}

.esg-card.supply-chain-governance {
  background-color: #a7741b;
  color: white;
}

.esg-card.supply-chain-governance h3,
.esg-card.supply-chain-governance li {
  color: white;
}

.esg-card.supply-chain-governance li:before {
  color: rgba(255, 255, 255, 0.8);
}

/* CERTIFICATIONS SECTION */
.certifications-section {
  margin-top: 80px;
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border-radius: 20px;
}

.certifications-header {
  position: relative;
  text-align: center;
  margin-bottom: 50px;
}

.certifications-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c5aa0;
  margin: 0;
  letter-spacing: 1px;
  position: relative;
  z-index: 2;
}

.background-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 8rem;
  font-weight: 900;
  color: rgba(44, 90, 160, 0.1);
  z-index: 1;
  user-select: none;
  pointer-events: none;
}

.certifications-image {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.certifications-img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
}


/* ========================================
   Showroom页面样式
   ======================================== */
.showroom-section {
  padding: 60px 0 ;
  background: #f8fafc;
  min-height: calc(100vh - 80px);
  width: 100%;
}

.showroom-header {
  text-align: center;
  margin-bottom: 50px;
}

.showroom-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 15px;
}

.showroom-subtitle {
  font-size: 1.1rem;
  color: #6b7280;
  margin: 0;
}

.showroom-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.showroom-item {
  position: relative;
  overflow: hidden;
  background: white;
}


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


.showroom-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 60%,
    rgba(0, 0, 0, 0.7) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}


.showroom-info {
  color: white;
}

.showroom-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.showroom-info p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
}


/* 空状态 */
.showroom-empty {
  text-align: center;
  padding: 60px 20px;
  color: #6b7280;
}

.showroom-empty i {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #d1d5db;
}

.showroom-empty h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #374151;
}

.showroom-empty p {
  font-size: 1rem;
  margin: 0;
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 768px) {
  .header .container {
    flex-direction: row;
    height: 80px;
    padding: 10px 20px;
    align-items: center;
  }

  .header .logo-section {
    flex: 0 0 auto;
    margin-right: 15px;
  }

  .header .logo-img {
    height: 40px;
    width: auto;
    max-width: 150px;
  }

  .header .navigation {
    order: 2;
    flex: 1;
    margin-top: 0;
    overflow: hidden;
  }

  .header .nav-menu {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding: 5px 0;
    align-items: center;
  }

  /* 隐藏滚动条但保持滚动功能 */
  .header .nav-menu::-webkit-scrollbar {
    display: none;
  }

  /* 确保导航项有最小宽度，防止被压缩 */
  .header .nav-item {
    flex-shrink: 0;
  }

  .header .nav-link {
    white-space: nowrap;
    padding: 8px 6px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
  }

  /* 移动端下拉菜单样式 */
  .header .dropdown-menu {
    position: fixed !important;
    top: calc(80px + 10px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid #e5e7eb !important;
    background: white !important;
    border-radius: 8px !important;
    margin-top: 0 !important;
    display: none !important;
    z-index: 999999 !important;
    max-height: 200px !important;
    overflow-y: auto !important;
  }

  .header .dropdown:hover .dropdown-menu,
  .header .dropdown.active .dropdown-menu {
    display: block !important;
  }

  .header .dropdown-link {
    padding: 10px 15px;
    font-size: 13px;
    border-left: none;
    border-bottom: 1px solid #f3f4f6;
  }

  .header .dropdown-link:last-child {
    border-bottom: none;
  }

  .header .dropdown-link:hover {
    background: #f8fafc;
    color: #1f2937;
    border-left: none;
    padding-left: 15px;
  }

  .header .header-actions {
    order: 2;
    margin-top: 10px;
  }

  .header .search-input {
    width: 150px;
  }

  .main-content .hero-title {
    font-size: 2.5rem;
  }

  .main-content .product-display {
    flex-direction: column;
    gap: 20px;
  }

  .main-content .product-image {
    width: 250px;
    height: 320px;
  }

  .main-content .floating-sidebar {
    right: 10px;
  }

  .main-content .floating-btn {
    min-width: 60px;
    padding: 10px 8px;
  }

  .main-content .floating-btn span {
    font-size: 10px;
  }

  /* 产品网格移动端样式 */
  .products-section .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0 20px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }

  .products-section .product-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .products-section .product-image {
    height: 180px;
    width: 100%;
  }

  .products-section .product-info {
    padding: 10px 5px;
  }

  .products-section .product-title {
    font-size: 0.8rem;
  }

  /* 空状态移动端样式 */
  .products-section .empty-state {
    min-height: 300px;
    padding: 20px 10px;
  }

  .products-section .empty-state-icon {
    font-size: 3rem;
  }

  .products-section .empty-state-title {
    font-size: 1.25rem;
  }

  .products-section .empty-state-message {
    font-size: 0.9rem;
  }

  .products-section .empty-state-actions {
    flex-direction: column;
    gap: 10px;
  }

  .products-section .btn {
    padding: 10px 20px;
    font-size: 13px;
  }

  /* 移动端悬停详情样式 */
  .products-section .product-hover-details {
    padding: 15px;
  }

  .products-section .details-title {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .products-section .spec-item {
    font-size: 0.8rem;
    margin-bottom: 6px;
  }

  .products-section .spec-label {
    min-width: 60px;
    margin-right: 8px;
  }


  .products-section .product-price {
    font-size: 1rem;
  }

  /* 移动端气泡框样式 */
  .product-tooltip {
    min-width: 280px;
    max-width: 320px;
  }

  .tooltip-content {
    padding: 15px;
  }

  .tooltip-header {
    padding-bottom: 10px;
    margin-bottom: 10px;
  }

  .details-title {
    font-size: 1rem;
  }

  /* 产品详情页移动端样式 */
  .product-detail-main {
    height: auto;
    min-height: calc(100vh - 80px);
  }

  .product-detail-container {
    flex-direction: column;
    height: auto;
  }

  .product-info-sidebar {
    width: 100%;
    padding: 25px 20px;
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
    order: 2;
  }

  .product-detail-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }

  .product-specs {
    gap: 12px;
  }

  .product-specs .spec-item {
    flex-direction: column;
    gap: 3px;
  }

  .product-specs .spec-label {
    font-size: 0.85rem;
  }

  .product-specs .spec-value {
    font-size: 0.9rem;
  }

  .product-display-area {
    padding: 20px;
    order: 1;
    height: auto;
    min-height: 50vh;
  }

  .main-product-image {
    max-width: 100%;
    height: 300px;
    margin-bottom: 20px;
  }

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

  .nav-arrow {
    width: 35px;
    height: 35px;
  }

  .nav-arrow-right {
    right: 15px;
  }

  .nav-arrow-left {
    left: 15px;
  }

  .nav-arrow i {
    font-size: 12px;
  }

  .thumbnail-gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    justify-content: center;
  }

  .thumbnail-item {
    width: 60px;
    height: 60px;
  }

  /* 联系我们页面移动端样式 */
  .contact-section {
    padding: 40px 0 60px;
  }

  .contact-header {
    margin-bottom: 30px;
    padding: 0 20px;
  }

  .contact-title {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .contact-subtitle {
    font-size: 1rem;
  }

  .contact-content {
    padding: 0 20px;
    max-width: 100%;
  }

  .contact-info-card {
    padding: 25px 20px;
    border-radius: 8px;
  }

  .contact-info-header h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }

  .contact-item {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 20px 0;
    align-items: center;
  }

  .contact-icon {
    align-self: center;
    width: 45px;
    height: 45px;
  }

  .contact-icon i {
    font-size: 18px;
  }

  .contact-text {
    gap: 8px;
  }

  .contact-label {
    font-size: 1rem;
    font-weight: 700;
  }

  .contact-value {
    font-size: 1.1rem;
  }

  .email-cards {
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
  }
  
  .email-card {
    flex: none;
    border-radius: 6px;
  }
  
  .card-header {
    font-size: 0.85rem;
    padding: 8px 12px;
    font-weight: 600;
  }
  
  .card-content {
    padding: 12px;
  }
  
  .card-content a {
    font-size: 0.9rem;
    word-break: break-all;
  }

  /* 关于我们页面移动端样式 */
  .about-section {
    padding: 40px 0 60px;
  }

  .about-header {
    margin-bottom: 30px;
    padding: 0 20px;
  }

  .about-title {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .about-subtitle {
    font-size: 1rem;
  }

  .about-content {
    padding: 0 20px;
  }

  .about-section-part {
    margin-bottom: 40px;
    padding: 25px 20px;
    border-radius: 8px;
  }

  .section-header h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  
  .section-header .background-text {
    font-size: 4rem;
    opacity: 0.1;
  }

  .about-intro {
    padding: 25px 20px;
    margin-bottom: 40px;
  }

  .intro-text {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
  }

  .intro-text p {
    margin-bottom: 15px;
  }

  .intro-image {
    float: none;
    margin: 0 auto 20px auto;
    max-width: 280px;
    display: block;
    text-align: center;
  }

  .intro-image img {
    max-width: 100%;
    border-radius: 8px;
  }

  .about-features {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }

  /* 移动端取消特殊布局，所有卡片都占满整行 */
  .about-features .feature-card:nth-child(1),
  .about-features .feature-card:nth-child(2),
  .about-features .feature-card:nth-child(3),
  .about-features .feature-card:nth-child(4),
  .about-features .feature-card:nth-child(5) {
    grid-column: 1;
    justify-self: stretch;
    width: 100%;
  }

  /* 移动端feature-card行布局 */
  .feature-card-first-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-card-second-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-card {
    padding: 25px 20px;
    border-radius: 8px;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
  }

  .feature-icon i {
    font-size: 20px;
  }

  .feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }

  .feature-card ul {
    padding-left: 20px;
  }

  .feature-card li {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 8px;
  }

  .about-mission {
    padding: 25px 20px;
    margin-bottom: 30px;
    border-radius: 8px;
  }

  .mission-header h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
  }

  .mission-content p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .esg-vision-section {
    padding: 25px 20px;
    margin-bottom: 40px;
    border-radius: 8px;
  }

  .esg-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
  }

  .esg-card {
    padding: 20px 15px;
    height: auto;
    min-height: 200px;
    border-radius: 8px;
  }

  .esg-icon {
    width: 50px;
    height: 50px;
    top: 10px;
    left: 15px;
  }

  .esg-icon img {
    height: 70%;
  }

  .esg-card h3 {
    font-size: 1rem;
    margin-top: 15px;
    margin-bottom: 12px;
  }

  .esg-card ul {
    padding-left: 0;
  }

  .esg-card li {
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 6px;
    padding-left: 15px;
  }

  .certifications-section {
    margin-top: 30px;
    padding: 25px 20px;
    border-radius: 8px;
  }

  .certifications-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .certifications-image {
    padding: 0;
  }

  .certifications-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }

  /* Showroom页面移动端样式 */
  .showroom-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 15px;
    width: 100%;
  }

  .showroom-title {
    font-size: 2rem;
  }

  .showroom-item {
    aspect-ratio: 1/1;
  }
}

@media (max-width: 480px) {
  .showroom-gallery {
    grid-template-columns: 1fr;
    gap: 15px;
    width: 100%;
  }

  /* 产品页面超小屏幕适配 */
  .products-section {
    padding: 20px 0 60px;
  }

  .products-section .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 15px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }

  .products-section .product-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .products-section .product-image {
    height: 160px;
    width: 100%;
  }

  .products-section .product-info {
    padding: 8px 5px;
  }

  .products-section .product-title {
    font-size: 0.75rem;
    line-height: 1.2;
  }

  /* 空状态超小屏幕样式 */
  .products-section .empty-state {
    min-height: 250px;
    padding: 15px 10px;
  }

  .products-section .empty-state-icon {
    font-size: 2.5rem;
  }

  .products-section .empty-state-title {
    font-size: 1.1rem;
  }

  .products-section .empty-state-message {
    font-size: 0.85rem;
  }

  .products-section .empty-state-actions {
    flex-direction: column;
    gap: 8px;
  }

  .products-section .btn {
    padding: 8px 16px;
    font-size: 12px;
  }

  /* 移动端气泡框超小屏幕样式 */
  .product-tooltip {
    min-width: 250px;
    max-width: 280px;
  }

  .tooltip-content {
    padding: 12px;
  }

  .tooltip-header {
    padding-bottom: 8px;
    margin-bottom: 8px;
  }

  .details-title {
    font-size: 0.9rem;
  }

  .spec-item {
    font-size: 0.75rem;
    margin-bottom: 4px;
  }

  .spec-label {
    min-width: 50px;
    margin-right: 6px;
  }

  .product-price {
    font-size: 0.9rem;
  }

  /* 产品详情页超小屏幕适配 */
  .product-detail-main {
    height: auto;
    min-height: calc(100vh - 80px);
  }

  .product-detail-container {
    flex-direction: column;
    height: auto;
  }

  .product-info-sidebar {
    width: 100%;
    padding: 20px 15px;
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
    order: 2;
  }

  .product-detail-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }

  .product-specs {
    gap: 10px;
  }

  .product-specs .spec-item {
    flex-direction: column;
    gap: 2px;
  }

  .product-specs .spec-label {
    font-size: 0.8rem;
  }

  .product-specs .spec-value {
    font-size: 0.85rem;
  }

  .product-display-area {
    padding: 15px;
    order: 1;
    height: auto;
    min-height: 40vh;
  }

  .main-product-image {
    max-width: 100%;
    height: 250px;
    margin-bottom: 15px;
  }

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

  .nav-arrow {
    width: 30px;
    height: 30px;
  }

  .nav-arrow-right {
    right: 10px;
  }

  .nav-arrow-left {
    left: 10px;
  }

  .nav-arrow i {
    font-size: 10px;
  }

  .thumbnail-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    justify-content: center;
  }

  .thumbnail-item {
    width: 50px;
    height: 50px;
  }

  /* 超小屏幕下拉菜单优化 */
  .header .dropdown-menu {
    position: fixed !important;
    top: calc(80px + 8px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-height: 150px !important;
    overflow-y: auto !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    border-radius: 6px !important;
    z-index: 999999 !important;
  }

  .header .dropdown-link {
    padding: 8px 12px;
    font-size: 12px;
  }
}

/* 加载状态样式 */
.loading-state {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: #6b7280;
  font-size: 16px;
}

.loading-state i {
  margin-right: 10px;
  font-size: 18px;
}

/* 缩略图分页样式 */
.thumbnail-gallery-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.thumbnail-nav-btn {
  background: var(--joysew-primary);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.thumbnail-nav-btn:hover:not(:disabled) {
  background: var(--joysew-dark);
  transform: scale(1.1);
}

.thumbnail-nav-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  opacity: 0.5;
}

.thumbnail-page-info {
  text-align: center;
  margin-top: 10px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
}

@media (max-width: 480px) {
  .header .nav-menu {
    gap: 10px;
  }

  .header .nav-link {
    font-size: 12px;
  }

  .main-content .hero-title {
    font-size: 2rem;
  }

  .main-content .product-image {
    width: 200px;
    height: 260px;
  }

  .main-content .floating-sidebar {
    right: 5px;
  }
}

/* ABOUT US SECTION */
.about-us-section {
  padding: 80px 0;
  background: #f8fafc;
}

.about-us-header {
  text-align: center;
}

.about-us-header a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.about-us-header a:hover {
  color: #4a9d9c;
}

.about-us-header h2 {
  font-size: 3rem;
  font-weight: 700;
  color: #2c5aa0;
  margin: 0;
  letter-spacing: 2px;
  transition: color 0.3s ease;
}

/* SHOWROOM SECTION */
.showroom-section {
  padding-top: 80px;
  background: #ffffff;
}

.showroom-header {
  text-align: center;
  margin-bottom: 60px;
}

.showroom-header a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.showroom-header a:hover {
  color: #4a9d9c;
}

.showroom-header h2 {
  font-size: 3rem;
  font-weight: 700;
  color: #2c5aa0;
  margin: 0;
  letter-spacing: 2px;
  transition: color 0.3s ease;
}

.showroom-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0 20px;
}

.showroom-item {
  position: relative;
  width: 100%;
  overflow: hidden;
  cursor: pointer;
}

.showroom-item a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.showroom-image {
  position: relative;
}

.showroom-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


.showroom-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  padding: 40px;
  text-align: center;
}


.showroom-overlay h3 {
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 20px 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  letter-spacing: 1px;
}

.showroom-overlay p {
  color: white;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  max-width: 400px;
}

/* CATEGORIES SECTION */
.categories-section {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.category-item {
  position: relative;
  height: 50vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  transition: transform 0.3s ease;
  display: block;
  text-decoration: none;
  color: inherit;
}

.category-item:hover {
  transform: scale(1.02);
}

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease;
}

.category-item:hover .category-overlay {
  background: rgba(0, 0, 0, 0.5);
}

.category-overlay h3 {
  color: white;
  font-size: 4rem;
  font-weight: 700;
  text-align: center;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  letter-spacing: 3px;
}

.mens {
  background-image: url("./images/home/mens.jpg");
}

.womens {
  background-image: url("./images/home/womens.jpg");
}

.kids {
  background-image: url("./images/home/kids.jpg");
}

/* ========================================
   DESIGNS SECTION
   ======================================== */
.designs-section {
  padding: 80px 0;
}

.designs-header {
  text-align: center;
  margin-bottom: 60px;
}

.designs-header h2 {
  font-size: 3rem;
  font-weight: 700;
  color: #2c5aa0;
  margin: 0;
  letter-spacing: 3px;
}

.designs-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 0 20px;
}

.design-card {
  position: relative;
  background: white;
  overflow: hidden;
  cursor: pointer;
}



.design-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.design-image .design-overlay{
  text-align: center;
}


/* 响应式设计 */
@media (max-width: 1024px) {
  .designs-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  .designs-header h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .designs-section {
    padding: 60px 0;
  }
  
  .designs-gallery {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }
  
  .designs-header h2 {
    font-size: 2rem;
  }
  
  .design-card {
    aspect-ratio: 3/2;
  }
  
  .design-overlay {
    padding: 10px;
  }
  
  .design-title {
    font-size: 1.2rem;
  }
  
  .design-subtitle {
    font-size: 1rem;
  }
}

/* ========================================
   DESIGN DETAIL SECTION
   ======================================== */
.design-detail-section {
  padding: 40px 0 80px;
  background: #f8fafc;
  min-height: calc(100vh - 80px);
}

.design-detail-header {
  text-align: center;
  margin-bottom: 40px;
}

.design-detail-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c5aa0;
  margin: 0 0 10px 0;
  letter-spacing: 2px;
}

.design-detail-header p {
  font-size: 1.1rem;
  color: #6b7280;
  margin: 0;
  font-weight: 500;
}

.design-detail-content {
  padding: 0 20px;
}

.design-images-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.design-image-item {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}


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


/* 响应式设计 */
@media (max-width: 768px) {
  .design-detail-section {
    padding: 20px 0 60px;
  }
  
  .design-detail-header h1 {
    font-size: 2rem;
  }
  
  .design-detail-header p {
    font-size: 1rem;
  }
  
  .design-detail-content {
    padding: 0 15px;
  }
  
  .design-images-gallery {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* CONTACT INFO SECTION */
.contact-info-section {
  background: linear-gradient(90deg, #e8f4fd 0%, #f0f9f0 100%);
  padding: 60px 0;
  border-top: 1px solid #e5e7eb;
}

.contact-info-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  position: relative;
}

.contact-info-container::before {
  content: '';
  position: absolute;
  left: 33.33%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #d1d5db;
}

.contact-info-container::after {
  content: '';
  position: absolute;
  left: 66.66%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #d1d5db;
}

.contact-column {
  text-align: left;
  padding: 0 20px;
}

.contact-column h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-column p {
  font-size: 1rem;
  color: #374151;
  margin: 0 0 12px 0;
  line-height: 1.5;
}

.contact-column p:last-child {
  margin-bottom: 0;
}

.brand-logo {
  margin-top: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.logo-waves {
  width: 100%;
  height: 60px;
  background: url("./logo-joysew.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 4px;
  position: relative;
}

.brand-logo span {
  font-size: 1rem;
  font-weight: 600;
  color: #6b7280;
  letter-spacing: 2px;
}

/* FACTORY SECTION */
.factory-section {
  padding: 80px 0;
  background: #f8fafc;
  min-height: 100vh;
}

.factory-header {
  text-align: center;
  margin-bottom: 60px;
}

.factory-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  /* color: #2c5aa0; */
  margin: 0 0 20px 0;
  letter-spacing: 2px;
}

.factory-header p {
  font-size: 1.2rem;
  color: #6b7280;
  margin: 0;
}

.factory-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.country-section {
  margin-bottom: 50px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.country-header {
  background: linear-gradient(135deg, #2c5aa0 0%, #4a9d9c 100%);
  padding: 20px 30px;
  color: white;
}

.country-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 1px;
}

.factory-table {
  overflow-x: auto;
}

.factory-table table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

.factory-table th {
  background: #f8fafc;
  color: #374151;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 15px 12px;
  text-align: left;
  border-bottom: 2px solid #e5e7eb;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.factory-table td {
  padding: 15px 12px;
  border-bottom: 1px solid #e5e7eb;
  color: #374151;
  font-size: 0.9rem;
  line-height: 1.5;
}

.factory-table tr:hover {
  background: #f8fafc;
}

.factory-table tr:last-child td {
  border-bottom: none;
}

/* Factory Table Responsive */
@media (max-width: 768px) {
  .factory-header h1 {
    font-size: 2rem;
  }
  
  .factory-header p {
    font-size: 1rem;
  }
  
  .country-header h2 {
    font-size: 1.2rem;
  }
  
  .factory-table th,
  .factory-table td {
    padding: 10px 8px;
    font-size: 0.8rem;
  }
  
  .factory-table th {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .factory-section {
    padding: 40px 0;
  }
  
  .factory-header h1 {
    font-size: 1.5rem;
  }
  
  .country-header {
    padding: 15px 20px;
  }
  
  .country-header h2 {
    font-size: 1rem;
  }
  
  .factory-table th,
  .factory-table td {
    padding: 8px 6px;
    font-size: 0.75rem;
  }
}
/* Showroom Responsive */
@media (max-width: 768px) {
  .about-us-header h2 {
    font-size: 2rem;
  }
  
  .showroom-header h2 {
    font-size: 2rem;
  }
  
  .showroom-content {
    grid-template-columns: 1fr;
  }
  
  .showroom-item {
    height: 50vh;
  }
  
  .showroom-overlay h3 {
    font-size: 2rem;
  }
  
  .showroom-overlay p {
    font-size: 1rem;
  }
  
  .category-overlay h3 {
    font-size: 3rem;
  }
  
  .category-item {
    height: 40vh;
  }
}

@media (max-width: 480px) {
  .about-us-header h2 {
    font-size: 1.5rem;
  }
  
  .showroom-header h2 {
    font-size: 1.5rem;
  }
  
  .showroom-item {
    height: 40vh;
  }
  
  .showroom-overlay h3 {
    font-size: 1.5rem;
  }
  
  .showroom-overlay p {
    font-size: 0.9rem;
  }
  
  .showroom-overlay {
    padding: 20px;
  }
  
  .category-overlay h3 {
    font-size: 2rem;
  }
  
  .category-item {
    height: 20vh;
  }
  
  .contact-info-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .contact-info-container::before,
  .contact-info-container::after {
    display: none;
  }
  
  .contact-column {
    text-align: center;
    padding: 0 10px;
  }
  
  .contact-column h4 {
    font-size: 1.1rem;
  }
  
  .contact-column p {
    font-size: 0.9rem;
  }

  /* 联系我们页面超小屏幕适配 */
  .contact-section {
    padding: 30px 0 50px;
  }

  .contact-header {
    margin-bottom: 25px;
    padding: 0 15px;
  }

  .contact-title {
    font-size: 1.8rem;
  }

  .contact-subtitle {
    font-size: 0.9rem;
  }

  .contact-content {
    padding: 0 15px;
  }

  .contact-info-card {
    padding: 20px 15px;
  }

  .contact-info-header h2 {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }

  .contact-item {
    padding: 15px 0;
    gap: 10px;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
  }

  .contact-icon i {
    font-size: 16px;
  }

  .contact-label {
    font-size: 0.9rem;
  }

  .contact-value {
    font-size: 1rem;
  }

  .email-cards {
    gap: 10px;
  }
  
  .card-header {
    font-size: 0.8rem;
    padding: 6px 10px;
  }
  
  .card-content {
    padding: 10px;
  }
  
  .card-content a {
    font-size: 0.85rem;
  }

  /* 关于我们页面超小屏幕适配 */
  .about-section {
    padding: 30px 0 50px;
  }

  .about-header {
    margin-bottom: 25px;
    padding: 0 15px;
  }

  .about-title {
    font-size: 1.8rem;
  }

  .about-subtitle {
    font-size: 0.9rem;
  }

  .about-content {
    padding: 0 15px;
  }

  .about-section-part {
    margin-bottom: 30px;
    padding: 20px 15px;
  }

  .section-header h2 {
    font-size: 1.6rem;
    margin-bottom: 12px;
  }
  
  .section-header .background-text {
    font-size: 3rem;
  }

  .about-intro {
    padding: 20px 15px;
    margin-bottom: 30px;
  }

  .intro-text {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .intro-image {
    max-width: 250px;
    margin-bottom: 15px;
  }

  .about-features {
    gap: 15px;
    margin-bottom: 30px;
  }

  .about-features .feature-card:nth-child(1),
  .about-features .feature-card:nth-child(2),
  .about-features .feature-card:nth-child(3),
  .about-features .feature-card:nth-child(4),
  .about-features .feature-card:nth-child(5) {
    grid-column: 1;
    justify-self: stretch;
    width: 100%;
  }

  /* 超小屏幕feature-card行布局 */
  .feature-card-first-row {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 15px;
  }

  .feature-card-second-row {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 15px;
  }

  .feature-card {
    padding: 20px 15px;
  }

  .feature-icon {
    width: 45px;
    height: 45px;
    margin-bottom: 12px;
  }

  .feature-icon i {
    font-size: 18px;
  }

  .feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }

  .feature-card li {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 6px;
  }

  .about-mission {
    padding: 20px 15px;
    margin-bottom: 25px;
  }

  .mission-header h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }

  .mission-content p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .esg-vision-section {
    padding: 20px 15px;
    margin-bottom: 30px;
  }

  .esg-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 25px;
  }

  .esg-card {
    padding: 30px 12px;
    min-height: 180px;
  }

  .esg-icon {
    width: 45px;
    height: 45px;
    top: 8px;
    left: 12px;
  }

  .esg-card h3 {
    font-size: 0.95rem;
    margin-top: 12px;
    margin-bottom: 10px;
  }

  .esg-card li {
    font-size: 0.75rem;
    line-height: 1.3;
    margin-bottom: 5px;
    padding-left: 12px;
  }

  .certifications-section {
    margin-top: 25px;
    padding: 20px 15px;
  }

  .certifications-section h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
  }

  .certifications-img {
    border-radius: 6px;
  }
}